New
The latest blog posts to take off on Hacker News. 857 posts.
FasterCGI with HHVM
Today, we are happy to announce FastCGI support for HHVM. FastCGI is a popular protocol for communication between an application server (e.g. running your PH...
What's Coming in Ember.js in 2014
Every few months, the Ember core team likes to get together to discuss issues face-to-face and set our priorities for the following quarter. This time, we all converged on Portland, Oregon...
A Great Old-Timey Game-Programming Hack
A long time ago, when I was a college undergrad, I spent some time working on computer video games. This was in the 8-bit PC era, when the gaming hardware was almost impossibly slow by today’s standards.
CSS Variables in Firefox Nightly
As reported by Cameron McCormack, Firefox Nightly (version 29) now supports CSS variables. You can get a quick overview in this short screencast: You can define variables in a ...
Don't Distract New Programmers with OOP
It's not about technology for its own sake. It's about being able to implement your ideas.
About PayPal's Node vs Java “fight”
DevOps World Virtual 2024 celebrates 20 years of Jenkins and the future of DevSecOps, embracing cloud transformation and software for the AI-era.
300ms tap delay removed on Chrome for Android
Every click interaction in mobile browsers is hampered with a 300ms delay, but that's gone in Chrome 32 for mobile-optimized sites!
How Class-based Programming Sucks (2011)
Classes encourage pervasive mutable state, provide only an indirect support for closures, and do not support algebraic data types. I'd like to fix that.
Google Removes Vital Privacy Feature From Android, Claims Release Was Accidental
Yesterday, we published a blog post lauding an extremely important app privacy feature that was added in Android 4.3. That feature allows users to install apps while preventing the app from collecting sensitive data like the user's location or address book.[caption]The App Ops interface removed in...
IntelliJ IDEA 13 Brings a Full Bag of Goodies to Android Developers
At JetBrains we're always listening to developers, and Android developers are no exception. Based on this tight feedback loop, we've made a long list of changes to our award-winning IDE which will hop
Obscure C++ Features
This page is a collection of obscure C++ features, gathered over the years as I've explored different corners of the language. C++ is very big and I'm always learning more about it. Hopefully you'll learn something from this page even if you already know C++ pretty well. The features below are roughly ordered from…
Server-generated JavaScript responses
The majority of Ajax operations in Basecamp are handled with Server-generated JavaScript Responses (SJR). It works like this: Form is submitted via a XMLHttpRequest-powered form. Server creates or updates a model object. Server generates a JavaScript response that includes the updated HTML templa…
The origin of zero-based array indexing
“Should array indices start at 0 or 1? My compromise of 0.5 was rejected without, I thought, proper consideration.” — Stan Kelly-Bootle
Learn to code like it's 1996
I’ve been meaning to write up my take on the learn to code movement for quite some time now, but for one reason or another haven’t managed to get around to it. Now that the president is endorsing Computer Science and telling Americans to learn to code, this post has jumped to the top of my priority list.
Panic Blog » The Lightning Digital AV Adapter Surprise
We’ve been doing significant testing lately with video out using various iOS devices for an upcoming project. In doing so, we waded right in the middle of a strange video out mystery. It’s time to unravel that mystery. (Chung-chung!)
Baby's First Garbage Collector
When I get stressed out and have too much to do, I have this paradoxical reaction where I escape from that by coming up with another thing to do. Usually it’s a tiny self-contained program that I can write and finish.
Writing HTTP Middleware in Go
In the context of web development, "middleware" usually stands for "a part of an application that wraps the original application, adding additional functionality". It's a concept that usually seems to be somewhat underappreciated, but I think middleware is great.
Introduction to Artificial Neural Networks – Part 1
This is the first part of a three part introductory tutorial on artificial neural networks. In this first tutorial we will discover what neural networks are, why they're useful for solving certain types of tasks and finally how they work.
Is Unicode Safe?
Unicode is just too complex to ever be secure.  — Bruce Schneier, 2000 Over the last 25 years Unicode has succeeded. It hasn't displaced all other character encodings, but it's clearly on its way there. It's supported widely enough that it's a compatible choice, new projects use it, and it's becoming the…
How can C Programs be so Reliable? (2008)
C is, today, a unique programming language. Surprisingly few people can really program in C and yet many of us have quite strong opinions about it. Buffer overflows, stack smashing, integer overflows — C has many well publicised flaws, and these terms are often bandied about confidently, even by those unfamiliar with…
The cost of dynamic vs. static dispatch in C++
A couple of years ago I wrote an article about the Curiously Recurring Template Pattern in C++ , focusing on the motivation behind it and how to implement it.