New
The latest blog posts to take off on Hacker News. 49,267 posts.
Python List Comprehensions Explained Visually
Sometimes a programming design pattern becomes common enough to warrant its own special syntax. Python’s list comprehensions are a prime example...
The Mysterious Aging of Astronauts
When I took Physics courses in college, I learned about how astronauts should age a tiny bit slower than us. Of course, they would be exposed to a lot more radiation so they might develop more cancers. But all in all, I would have been excited about the prospect of living in space. Then the … Continue reading The…
Faking the TCP handshake
Update: This article has been superseded by a new post which hopefully explains it more clearly: Spoofing TCP connections without sequence number prediction
Why FPGA manufacturers keep their bitstream formats secret
Every FPGA vendor keeps the bitstream format for their device secret. Only the tools provided in binary-only format by the vendor (and a select few third parties under NDA) can generate these bitstreams.
Lists
For as long as the web has been around, there have been entrepreneurs trying to build businesses around lists. And I’m having a tough time thinking of any company that has really nailed it in this category. For one thing, there are two modes of listmaking; making lists for yourself (task management) and making lists…
Perl 6 is fun
This post got a lot of discussion on Hacker News that you might find interesting. I’ve been writing a fair bit of Perl 6 lately, and my main takeaway so far is that Perl 6 is fun. Pretty much everything I love in Perl 5 is still part of Perl 6, but almost everything I hate is gone too. $Love - $Hate = $Fun; Here are…
Raspberry Pi Zero Hidden in an Xbox Controller
I like to tinker. My wife picked me up the new Raspberry Pi Zero. It's an ultra small and ridiculously cheap computer. How small and cheap? They give it away free on the cover of magazines... Terence Eden is on Mastodon@edentIf you hurry down to WHSmith in Oxford, there are still a few @TheMagP1 copies left.❤️ 3💬 0🔁…
The secret message hidden in every HTTP/2 connection
If you spy on an HTTP/2 connection starting up you'll notice that it sends an almost-but-not-quite valid HTTP request at the very start of...
Pattern: Back ends for front ends
With the advent and success of the web, the de facto way of delivering user interfaces has shifted from thick-client applications to interfaces delivered via the web, a trend that has also enabled the growth of SAAS-based solutions in general. The benefits of delivering a user interface over the web were huge …
How I stay happy making open source software
Over the past month I have become aware of multiple people either stepping away from open source or trying to figure out how not to burn out from it [1 [http://www.drmaciver.com/2015/08/throwing-in-the-towel/], 2 [http://ryanbigg.com/2015/11/open-source-work/], 3
Creating standalone Mac OS X applications with Python and py2app
In this tutorial we’ll be using py2app to create a standalone OSX application from a Python 2 or 3 source code with a simple Tkinter user interface. "py2app is a Python setuptools command which will allow you to make standalone application bundles and plugins from Python scripts. py2app is similar in purpose and…
A whirlwind tour of Go’s runtime environment variables
The Go runtime, in addition to providing the usual services of garbage collection, goroutine scheduling, timers, network polling and so forth, contains facilities to enable extra debugging output and even alter the behaviour of the runtime itself.
To defend the free web, save Mozilla
The latest version of this post, along with the blog, has moved. TL;DR: Mozilla is largely dependent on Yahoo! We must make sure it is funded by individuals’ donations and a diverse roster of…
Telegram stalking
Update 20151216: This quick post got far more attention than expected. I regret not mentioning that the leakage can easily be prevented via a setting. In practice the problem remains, users in general will have no idea about this being a relevant setting to change and will stay with the default. The best discussion on…
Must-See JavaScript Dev Tools
“JavaScript sucks for large apps because it can’t even identify the type of a variable, and it sucks for refactoring.” ~ lots of very…