HNHacker News
TopNewBestAskShowJobs

dana321

300 karma · joined October 25, 2018

submissionscomments
dana321··on Don't use the greater-than sign in programming (2016)
SQL has "x between 2 and 4" (for example) which is a lot clearer.
dana321··on Ask HN: What is the best practice for reading large pieces of C code?
Start with the tests, examples and apis; at least implement a couple of parts of the api, whether a plugin, or using the code as a library depending on what the code does.

Once you understand those, read the headers of the apis you can follow the code through to the rest of the application.

Usually, a project will use 3rd party deps so you will have to understand at least the apis of those as well.

If the project uses cmake or whatever build system builder, learn it inside out. If its just a Makefile then thats simple enough to understand, follow how everything is compiled and linked together.

dana321··on PC/GEOS
The source code for the C64 version is available here too:

https://github.com/mist64/geos

dana321··on Quora User Data Compromised
I hope they mean at least pbkdf2-hmac-sha256 with sufficient rounds.
dana321··on TAWS – The Amiga Workbench Simulation
I'm a fan of the older kickstart versions, the new one doesn't have the same nostalgia for me :)
dana321··on TAWS – The Amiga Workbench Simulation
That's really impressive, i can see a lot of work has gone into it especially since it has been in development since y2k.

The source code looks really well laid-out and modular too.

dana321··on Amazon's cloud business is competing with its own customers
Somebody noticed! I thought it was just me.

Even their API interfaces are dated and cumbersome to use.

dana321··on I quit Instagram and Facebook and it made me happier
There is a black mirror episode that shows you how ludicrous it is, posting pictures and hoping someone will like them, and becoming obsessed with your score.
dana321··on Boden cross-platform framework: Native C++11, native widgets, no JavaScript
C++11 is old now, C++17 is the latest version which is pretty awesome. It is a serious undertaking just getting packages linked on a platform like windows. I took a short detour into golang, that was a few months ago; C++20 promises package management via modules instead of the old include system, all the c++ compiler vendors are working on it right now. Until then, i'll stick with go.
dana321··on Why the RDBMS is the future of distributed databases
So many implementations of this out there already, like tidb.

https://github.com/pingcap/tidb

So yes i can believe it!

dana321··on Show HN: The Reader View of Wikipedia
Needs bootstrapping!
dana321··on Show HN: The Reader View of Wikipedia
A blueprint for how the web should be.
dana321··on Go 2, here we come
Once C++ modules support comes out it will become a lot more interesting, removing the need for makefiles hopefully.

https://clang.llvm.org/docs/Modules.html

dana321··on PHP Sadness
One that was missed is the change in the way that the count function operates on a null value, its breaking backwards compatibility.

The only way to solve it is to write your own count function and call it everywhere instead.

Another problem is, if for example you are checking for a url variable to see if it exists, there's more than one way to do it - and only one of those ways is performant. Why have a special function that checks if a key exists when its slower than just checking if the entire variable exists?

I've since moved on to C++ and go, but the ubiquity of php on web hosting will bring me back to it again.

dana321··on ‘12 Monkeys’: Why Terry Gilliam’s Movie Is Relevant Today
Y2K had everyone spooked and everyone thought that all the machines would stop, looking back on it seems funny now.

https://en.wikipedia.org/wiki/List_of_dates_predicted_for_ap...

dana321··on Rot8000
籖粂 籶籸籽籱籮类 籪籽籮 粂籸籾类 籬籱籲粀籸粀籸粀籸粀粀
dana321··on Why Standing Desks Are Overrated
There are benefits to standing, for one is increased strength in the legs - just try it, it is a workout and you do burn more calories standing up than sitting down.

Increased cognitive ability is another benefit, due to the increased blood flow.

I think alternating is great, its what i tend to do.

dana321··on Don’t work “remotely”
Exactly, remote from where? Working from home is a better term.
dana321··on Ask HN: What was your best passive income in 2018?
That is awesome, well done.
dana321··on Amazon's Stealth Brands: Everything on Amazon Is Amazon
Amazon definitely focus on quantity, not quality.

Everything works.. Just and no more.

Their web interfaces and APIs are clunky, and there is a lack of any way to flag up an undelivered package.

dana321··on Linux apps running on iOS via userspace x86 emulation and syscall translation
I can see apple buying this!
dana321··on Nine years of Go
Many people write code fine without a debugger.

Break your software down into smaller components and write tests for each of them.

dana321··on Design Review: Key-Value Storage
Badger is really good, i'm using it.
← PreviousPage 12 of 12