New
The latest blog posts to take off on Hacker News. 14,544 posts.
Rust's Object System
On the rust-dev mailing list, someone pointed out another “BitC retrospective” post by Jonathon Shapiro concerning typeclasses . The Rust object system provides interesting solutions to some of the problems he raises. We also manage to combine traditional class-oriented OOP with Haskell’s type classes in a way that…
PHP: A fractal of bad design
(This article has been translated into Spanish (PDF, with some additions) by Jorge Amado Soria Ramirez — thanks!) Preface I’m cranky. I complain about a lot of things. There’s a lot in the world of technology I don’t like, and that’s really to be expected—programming is a hilariously young discipline, and none of us
Master Foo and the Ten Thousand Lines
Master Foo once said to a visiting programmer: “ There is more Unix-nature in one line of shell script than there is in ten thousand lines of C. ”
Writing Browser Extensions - Comparing Firefox, Chrome and Opera
MediaPlus is a browser extension that gives users more control over media elements like video, images, games, flash, etc by allowing them t...
Depth of field blur: the Swiss army knife that improved the framerate
Depth of field blur is an effect that is used in many modern games as a cool graphics effect. A nice example of this is of course my own gam...
Github is making me feel stupid(er)
I’m approaching my fourth anniversary of using github. I should hardly have to state that it’s a wonderful service, and especially so for being kept freely available to the open source community. At the same time, I’ve noticed over the past year or so that in many ways I feel less efficient using it now than I used…
A 5 Minute Quickstart Guide to Python’s logging Module
To debug your program, you may be tempted to pepper your source code with print() calls to display the values of variables as your program runs. It's quick and easy to do this, but the problem is that once you see the values in the variables, that'll give you ideas for more places to put print() calls, then you run…
Open Letter to XSLT Fans
Michael Snoyman's personal homepage and blog, featuring writing about programming, open source, health, finance, religion, and whatever else catches his interest.
You Really Should Log Client-Side Errors
Karl Seguin's Blog - A mix of coding and creative writing
The byte order fallacy
Whenever I see code that asks what the native byte order is, it's almost certain the code is either wrong or misguided. And if the native b...
I'm Sure It Will Only Take You A Few Days To Code
“So the site’s pretty simple, all it needs to do is X, Y and Z. You seem like a good programmer so I’m sure it will only take you a few days to put it toge
Pragmatic Unicode
Unicode can be confusing. Here’s a “just the facts I need” presentation about how to handle it correctly.
57 Small Programs that Crash Compilers
I noticed there are no MSVC examples in there — was it not a targeted compiler? If so, I’m curious as to why.
This is Why You Spent All that Time Learning to Program
It's not about technology for its own sake. It's about being able to implement your ideas.
In praise of... text files and protocols
The other night I had to debug a problem where CMYK colors specified in an OmniGraffle file weren't making it into an exported PDF (or at...
Math For Programmers
Probability theory might be the most useful area for programmers, but it is also a blurry field, difficult to learn right. You might check this book for details, and there is also an free, online draft version available. The Logic of Science