New
The latest blog posts to take off on Hacker News. 1,013 posts.
Co-routines as an alternative to state machines (2009)
When you have to traverse some sort of a nested data structure (say, a binary tree), one approach is to create a stack that remembers where in the tree you are. Another, much more elegant approach, is to write the function recursively. A recursive function employs the machine stack used to implicitly implement…
Porting 600k Map Views to OpenStreetMap/MapBox
This past week, we here at DoubleMap made a big change that users probably won’t notice. Instead of Google Maps, all of our public maps are …
JavaScript Promises in Wicked Detail
GOPAY303 adalah platform game digital yang menyediakan strategi pola RTP paling ajaib saat ini. Menyajikan analisis akurat, navigasi kencang, dan aksesibilitas ramah mobile 24 jam.
When TDD Doesn't Work
Over the years many people have complained about the so-called “religiosity” of some of the proponents of Test Driven Development. The recent brouhaha over TDD has, once again, brought these complaints to the fore. So I thought it would be a good idea to talk about when TDD does not work.
What's New in Mercurial 3.0
HgLab is a powerful self-hosted Mercurial Server and Repository Management for Windows with Push and Pull server, Active Directory and LDAP integration, built-in Pushlog and other goodies
Programming Sucks
E very friend I have with a job that involves picking up something heavier than a laptop more than twice a week eventually finds a way to slip something like this into conversation: “Bro, 1 [1] you don’t work hard. I just worked a 4700-hour week digging a tunnel under Mordor with a screwdriver.”
Become a better programmer with programming challenges
When I went to university me and some friends spent time on practising algorithm implementations for the national programming contests that ...
Rust for C++ programmers – part 4: unique pointers
Rust is a systems language and therefore must give you raw access to memory. It does this (as in C++) via pointers. Pointers are one area w...
Uncle Bob on DHH: Monogamous TDD
“Test-first fundamentalism is like abstinence-only sex ed: An unrealistic, ineffective morality campaign for self-loathing and shaming.”
Parsing English with 500 lines of Python (2013)
A syntactic parser describes a sentence’s grammatical structure, to help another application reason about it. Natural languages introduce many unexpected ambiguities, which our world-knowledg…
Your REST API should come with a client
Why your API needs a vendor approved client.
Software Checklist
During the second World War, fighter pilots would scramble to take off. As they bumbled down the grass runway, engines open at full throttle, trying to take off on a short, bumpy track with a full load of fuel and ammunition, their heart would stop when the engine mis-fired. Was the fuel mix too rich, or too lean?…
Syntax extensions and regular expressions for Rust
WARNING: 2018-04-12 : The code snippets for this post are no longer available. This is just as well anyway, since they all depended on an unstable internal compiler interface, which hasn’t existed for years.
Go: Best Practices for Production Enviroments
Best practices for writing Go code, from the halcyon days of its youth.
The JavaScript Problem
It makes many aspects of JavaScript sane and convenient, and you get a compilation check that verifies syntax, however it still suffers greatly from weak-typing.
Learning Racket #2: Macros, Macros and a Bit of Modules
https://web.archive.org/web/20201121162125/https://artyom.me/learning-racket-2
How I wrote Game Programming Patterns
Update 2014/04/28: In case you missed the link, the web site for my book is gameprogrammingpatterns.com .
What's left of NoSQL?
What’s left of NoSQL if they start adding ACID and SQL support?
My new favorite vim/tmux bug
This week, I'm grateful that my coworkers know to come grab me if something seriously weird is going on, because it...
Great Programmers (2004)
I've seen a lot of discussion of great programmers, usually centering on how to find them, but usually what people really want to know is how to become one. Since I'm widely considered to be a great programmer, I'll give some advice. First of all there's raw coding ability. For this, practice makes…