New
The latest blog posts to take off on Hacker News. 21,842 posts.
Django 1.9 Released
Posted by Tim Graham on Dec. 1, 2015
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...
This Week in Servo 43 (submitted via Servo itself)
What's up with Servo for the weeks of 16 Nov 2015 - 30 Nov 2015
New ELF Linker from the LLVM Project
We have been working hard for a few months now to rewrite the ELF support in lld, the LLVM linker. We are happy to announce that it has reached a significant milestone: it is now able to bootstrap LLVM, Clang, and itself and pass all tests on x86-64 Linux and FreeBSD with the speed expected of an LLVM project.
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…
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 …
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…
UUIDs generally do not meet security requirements
Some time ago, I was doing a web application penetration test, and noticed that the authentication tokens were UUIDs. This I knew was risky, and in fact if you read the UUID rfc, section 6 of it wa…
My bank has an API so I built online banking
I recently attended Mondo’s second Hackathon, and it was incredibly insightful. My first hackathon, and moreover, my first time working…
Python 3.5 type hinting in PyCharm 5
Python 3.5 introduces type hinting to help code-writing during development. Let’s take a look at this feature and show it in action.MotivationSome folks, but not all, like help from their tools
Test-Driven Development is Stupid
Blog of Agatha Mallett: A post in which I provocatively argue that test-driven design results in worse code. I cite real-world examples, discuss why these failures occur, and suggest alternatives.
Modern SQL: With – Organize Complex Queries
The WITH clause adds named subqueries to SQL queries. WITH is also known as Common Table Expression (CTE).
Breaking the fourth wall with Minecraft
Update 23/11/2015 - I’ve got many requests about the WiFi bulbs. You can find them on dx.com. Enjoy! Recently I started playing Minecraft, again. I find vanilla Minecraft somewhat boring, so I always look out for modpacks. After searching for new modpacks, I stumpled upon FTB Horizons: Daybreaker. Looking at the…
The Implementation of Functional Programming Languages (1987)
“The Implementation of Functional Languages” is a book about implementing functional programming languages using lazy graph reduction, and it divides into three parts. The first part describes how to translate a high-level functional language into an intermediate language, called the lambda calculus, incuding detailed…
Using strace to figure out how Git push over SSH works
Yesterday I was curious about how git push works over SSH. I’m getting more used to using strace to figure this kind of thing out, so I gave it a shot. If I strace pushing to this site’s repository, this shows up:
Covariance and Contravariance
Subtypes and supertypes are a common part of modern programming. Covariance and contravariance tell us where subtypes are accepted and where supertypes are accepted in place of the original type. This shows up frequently in most of the programming most of us do, but many developers are unaware of the concepts beyond a…
Python's Hidden Regular Expression Gems
Some hidden features of the Python re module and the support machinery that drives it.
The AWS SDK for Go is now 1.0
Earlier this year, my colleague Peter Moon shared our plans to launch an AWS SDK for Go. As you will read in Peter’s guest post below, the SDK is now generally available! — Jeff; At AWS, we work hard to promote and serve the developer community around our products. This is one of the reasons […]