New
The latest blog posts to take off on Hacker News. 679 posts.
The Rise of "Worse is Better"
Previous: Lisp's Apparent Failures Up: Lisp's Apparent Failures Next: Good Lisp Programming is Hard
What every programmer should know about time
This is a trade-off: you can't represent a leap second, and your time is guaranteed to go backwards. On the other hand, every day has exactly 86,400 seconds, and you don't need a table of all previous and future leap seconds in order to format Unix time as human-preferred hours-minutes-seconds.
Faster JavaScript parsing
Over the past year or so I’ve almost doubled the speed of SpiderMonkey’s JavaScript parser. I did this by speeding up both the scanner ( bug 564369 , bug 584595 , bug 588648 , bug 639420 , bug 645598 ) and the parser ( bug 637549 ). I used patch stacks in several of those bugs, and so in those six bugs I actually…
Lambdas in C
Today, I learned that gcc C has supported lambda functions since at least version 3.0.4. I wish I had known sooner.
Sublime Text 2: Beta
Since the first public Alpha at the end of January, there have been 12 new releases, and many more dev builds. On average, that's a new version every two weeks for the past five months. During this time, Sublime Text 2 has made great strides in functionality, and a correspondingly large increase in users. Sublime Text…
Django Advice
For the past year and a half or so I've been working full-time at Dumbwaiter Design doing Django development. I've picked up a bunch of useful tricks along the way that help me work, and I figured I'd share them.
How to improve your programming skills
Learning new programming languages will expose you to new ways of thinking; especially if the new language uses a paradigm which you aren’t yet familiar with. Many of the ways of thinking that you will learn can be applied to languages that you already know, and you might even want to start using the new language for…
Global Interpreter Lock, or how to kill it
People that listened to my (Armin Rigo) lightning talk at EuroPython know that suddenly, we have a plan to remove the Global Interpreter Loc...
“Let's settle this in a Ruby programming contest”
Introducing Codebrawl, a Ruby and open source programming contest website
The protocol-relative URL
Update 2014.12.17: Now that SSL is encouraged for everyone and doesn’t have performance concerns , this technique is now an anti-pattern . If the asset you need is available on SSL, then always use the https:// asset.
Things you (probably) didn't know about xargs
If you’ve spent any amount of time at a Unix command line you’ve probably already seen xargs . In case you haven’t, xargs is a command used to execute commands based on arguments from standard input.
Profiling Go Programs
How to use Go's built-in profiler to understand and optimize your programs.
10000 things all CS students should do before graduating
It’s Commencement time! So I thought I’d compile a list of 1010 10000 things I believe all ICS students should have done (by themselves) by the time they get their diplomas. With luck, students have come across some of these in courses. Most likely, that won’t happen, so students need to make time for extra-curricular…
Announcing my first e-book "Awk One-Liners Explained"
Buy it now for just $19.99 Hello everyone! I have awesome news – I just wrote my first e-book ever. It's called Awk One-Liners Explained and it's based on the Awk One-Liners Explained article series that I wrote here on my blog a few years ago and that has been read over 2,000,000 times. I went through all the...