Here’s a fun bit of trivia: malloc on Linux never fails [due to the obvious cause]. In this post, we’ll show that this indeed is the case, and explore why this happens. First off, what should happen? The malloc(3) manpage only says that, On error, these functions return NULL.
Escape-from-Callback-HellWho are you, and what do you do? I'm Joey Hess and I write programs. Lately I've been focusing on programs that encourage broader use of version control systems, like git.
Joe Duffy's WeblogWell, okay, there are a few, but I’m thinking about one in particular: A single string type. What’s not to love about that? Anybody who has done more than an hour’s worth of Windows programming in C++ should appreciate this feature. No more zero-terminated char* vs. length-prefixed char* vs.
Feedback LoopsSadly, I haven’t added a blog post in roughly 2.5 months. I’ve had ideas for posts, but when it came time to set pen to page (or fingers to keyboard, as teh case may be) I just haven’t had it in me. I really enjoy writing this blog, too.
Can We Live Without Backslashes?Two months ago there was a discussion in the ESS mailing list about Emacs/ESS started by Paul Johnson, who claimed "Emacs Has No Learning Curve". While this sounds impossible, he really has some good points, e.g. he encourages beginners to look at the menu. I think this is a good way to learn Emacs.
Nobody knows what to call Microsoft's ex-Metro UIBuild 2012 Microsoft says it is 100 per cent committed to its new user interface (UI) design principles, as embodied in Windows 8, even though it still hasn't come up with a meaningful name for them.
When it’s good to catch(Exception ex)When handling exceptions, the generally accepted best practice is to only catch exceptions that can be handled properly and also to catch the most specific exception type that is expected.
How Long Waiting for an Answer in StackOverflowI’m not a StackOverflow active contributor, something I recently decided should start to change. I think it’s amazing the speed an answer is given for any asked question, like freaking fast.
git add -p: The most powerful git feature you’re not using yet | John KaryThis Read-It-Later-list is just that, bookmarks of stuff I intend to read or have read. I do not necessarily agree with opinions or statements in the bookmarked articles.
This list is compiled from my Pocket list.