New
The latest blog posts to take off on Hacker News. 1,013 posts.
How To Safely Generate A Random Number
Use urandom. That is the whole answer. Why the entropy-depletion story is a myth, and why userspace CSPRNGs are behind most of the last decade's randomness disasters.
Python Language Features and Tricks
A list of Python tips and tricks. See how many of them you already know.
It's Go Time On Linux
Some interesting changes related to timekeeping in the upcoming Go 1.3 release inspired us to take a closer look at how Go programs keep time with the help of the Linux kernel. Timekeeping is a complex topic and determining the current time isn’t as simple as it might seem at first glance.
Introducing the ‘mozjpeg’ Project
Today I’d like to announce a new Mozilla project called ‘mozjpeg’. The goal is to provide a production-quality JPEG encoder that improves compression while maintaining compatibility with the vast majority ...
What is a Web Framework?
Socolive TV phát sóng trực tiếp bóng đá hôm nay, link xem SocoliveTV sắc nét chuẩn HD. Cập nhật Lịch thi đấu, BXH, Highlight, Kết quả bóng đá mới nhất!
Postfix Code Completion in IntelliJ IDEA 13.1
A lot of people tend to think these days completion is a regular feature for every IDE. Well, that is not exactly the case. IntelliJ IDEA has already demonstrated that there is no such thing as a regu
Unyielding
Be as the reed, not the oak tree. Green threads are just threads.
The programming error that cost Mt. Gox 2609 Bitcoins
In October 2011, Mt Gox lost over 2609 bitcoins by accidentally creating transactions that can never be redeemed. (At the time, 2609 bitcoin...
New partition function record: p(10^20) computed
The partition function p ( n ) counts the number of partitions of n , i.e. the number of ways n can be written as a sum of positive integers when disregarding the order of the terms. For example, 4 has the five distinct partitions 4, 3+1, 2+2, 2+1+1, 1+1+1+1, so p (4) = 5. This week, I set a new record by computing…
Laying Out iOS UIs in Code
Software Engineer in New York specializing in Apple platforms
Why Can’t Programmers... Program?
I was incredulous when I read this observation from Reginald Braithwaite: Like me, the author is having trouble with the fact that 199 out of 200 applicants for every programming job can’t write code at all. I repeat: they can’t write any code whatsoever. The author he’s
Ten Years of Coding Horror
In 2007, I was offered $120,000 to buy this blog outright. I was sorely tempted, because that’s a lot of money. I had to think about it for a week. Ultimately I decided that my blog was an integral part of who I was, and who I eventually
In Praise of Perl 5
I have decided to do a two-part series here praising Perl in part 1 and PostgreSQL in part 2. I expect that PostgreSQL folks will get a l...
C++17: I See a Monad in Your Future
[If you prefer, you may watch the video of my talk on this topic (here are the slides).] If you thought you were safe from functional programming in your cozy C++ niche, think again! First the lamb…
How I Judge the Quality of Documentation
As a developer, you develop instincts for judging quality of code. One of my favorite interview questions is: When you look at a project’s code for the first time, what are the things you look for?...
The Emacs Problem (2005)
The Emacs Problem Stevey's Drunken Blog Rants™ Charles G. pointed out in an email discussion recently: Lisp still doesn't seem like the right language for doing text manipulation, and nothing I've seen from the Emacs libraries is making me think any differently. It sure beats the hell out of Java
To close or not to close – Void HTML elements
A blog about web and frontend development, design, 3d and music — by Mat Simon.
Racket 6.0: New package system, new doc CSS, JIT support for ARM
_posted by Ryan Culpepper_ Racket version 6.0 is now available from http://racket-lang.org/ Racket 6.0 has a new package system, including a catalog of hundreds of already-available packages. Please visit http://pkgs.racket-lang.org/ for an overview ...