Topics /

Software Engineering

The most popular blog posts about software engineering on Hacker News. 857 posts.

2013
428

Lifetimes of cryptographic hash functions

Quick summary of my recommendations on compare-by-hash: If you are using compare-by-hash to generate addresses for data that can be supplied by malicious users, you should have a plan to migrate to a new hash every few years. For example, BitTorrent falls into this category, but rsync doesn't. Keep in mind that new…

433

Python and the Real-time Web

I had interview for the Flask book recently and some questions were related to realtime functionality - how it works, how to integrate realtime portion with conventional WSGI applications, how to structure application code and so on.

434

Emacs users are like Terry Pratchett’s Igors

Within the constraints of the Emacs environment, there are no limits. Emacs is built upon this principle; the Lisp principle. Make some small kernel of features. A substrate. Take care to make this substrate programmable (in any language, Emacs chooses Lisp), and then build the system upon it. Let users worry about…

445

Deconstructing K&R C (2010)

Learn C The Hard Way (LCTHW) is a practical book teaching real world useful C using the same proven Learn The Hard Way method. LCTHW teaches real robust C coding and defensive programming tactics on real hardware rather than abstract machines and pedantic theory. The book emphasizes breaking your code on purpose, and…

446

Tests Are Overhyped

Let me lead off by saying that I don’t think tests are bad. I really don’t. But here’s the thing: I don’t care what your test-code ratios are. You know what the best test-code ratio is? Whatever you need to make sure your crap works while still getting product out the door.