New
The latest blog posts to take off on Hacker News. 1,274 posts.
TinyWM – A tiny window manager in around 50 lines of C
TinyWM is a tiny window manager that I created as an exercise in minimalism. It is also maybe helpful in learning some of the very basics of creating a window manager. It is only around 50 lines of C. There is also a Python version using python-xlib.
Exploring Error Handling Patterns in Go
One such topic that has challenged my own conceptions is how errors are handled in Go. To recap:
SQLite Release 3.25.0 adds support for window functions
A complete list of SQLite releases in a single page and a chronology are both also available. A detailed history of every check-in is available at SQLite version control site .
Code review review is the manager’s job
Code review is such a high value, high leverage team activity that every manager should ensure the process is done well.
Vue.js Tutorial for beginners
In this tutorial, you are going to learn the basics of Vue.js. While we learn, we are going to build a Todo app that will help us to put in practice what we learn.
Crystal 0.26.0 released
Crystal 0.26.0 has been released!
How to deal with dirty side effects in your pure functional JavaScript
If you start learning about functional programming, it won’t be long before you come across the idea of pure functions. And as you go on, you will discover functional programmers appear to be obsessed with them. “Pure functions let you reason about your code,” they say. “Pure functions are less likely to start a…
A Basic Just-In-Time Compiler (2015)
Monday’s /r/dailyprogrammer challenge was to write a program to read a recurrence relation definition and, through interpretation, iterate it to some number of terms. It’s given an initial term ( u(0) ) and a sequence of operations, f , to apply to the previous term ( u(n + 1) = f(u(n)) ) to compute the next term…
My Haskell Journey from C#
SUNWIN tiếp tục dẫn đầu thị trường game đổi thưởng Việt Nam với hơn 5 triệu người chơi và tỷ lệ thắng cược minh bạch.
Dijkstra's in Disguise
You can find a PDF version of this blog post here . A weighted graph is a data structure consisting of some vertices and edges, and each...
Two years with CloudFormation: lessons learned
It’s been close to two years since I started working with AWS CloudFormation, the Infrastructure as Code solution by and for AWS. With CloudFormation you can describe and provision your entire AWS infrastructure in code. The entire AWS environment I work with is provisioned through CloudFormation - we only have…
Myth Debugging: Is the Wii More Demanding to Emulate Than the GameCube?
On the Dolphin Forums, one of the more common questions that come up is "How come I can emulate this Wii game just fine but this GameCube game is slow?" While those more knowledgeable about the intricacies of emulation may roll their eyes, it does warrant some explanation. Usually when...
Worst Computer Bugs in History: Therac-25 (2017)
The Worst Computer Bugs in History is a mini series to commemorate the discovery of the first computer bug seventy years ago. Although these stories are more extreme than most software bugs engineers will encounter during their careers, they are worth studying for the insights they can offer into software development…
Vert.x native: how to run a JVM app in 10Mb of RAM
I’ve been working with GraalVM for a while now mostly on the Polyglot aspect, but some work has been done in the native image support. Today I’d like to shar...
Porting SBCL to the RISC-V
What better thing to do, during the hot, hot July days, thank something semi-mechanical involving very little brain power? With student-facing work briefly calming down (we've just about weathered the storm of appeals and complaints following the publication of exam results), and the all-too-brief Summer holidays…
Introducing Electron Fiddle
Create, share, and play with small Electron experiments.
1/0 = 0
Disclaimer 2024-12-02 Since this rant is going viral again (again (again)), some disclaimers: I wrote this six years ago to “”“win”“” an ugly Twitter fight. I’m glad I anonymized the inciting tweet and hope I’m the only person still getting grief over this. The core interesting bit— why it’s mathematically valid to…
What the interns have wrought, 2018 edition
Yet again, intern season is coming to a close, and so it’s time to look back at what the interns have achieved in their short time with us. I’m always impres...
A Guide to Python's Magic Methods (2012)
A guide to all the Magic Methods in Python
Julia 1.0
Announcing the release of Julia 1.0. The much anticipated 1.0 release of Julia is the culmination of...
Python 3 is now available on App Engine standard environment
Python 3.7 is available today in beta on the App Engine standard environment.
µUBSan: clean-room reimplementation of the Undefined Behavior Sanitizer runtime
Over the past month, I've implemented from scratch a clean-room version of the UBSan runtime. The initial motivation was the need of developing one for the purposes of catching undefined behavior reports (unspecified code semantics in a compiled executable) in the NetBSD kernel. However, since we need to write a new…