Topics /
Software Engineering
The most popular blog posts about software engineering on Hacker News. 14,544 posts.
Head in the Zed Cloud
For the past five months I've been leading the efforts to rebuild Zed 's cloud infrastructure.
Hacking with Style: TrueType VT220 Font (2009)
VT220 TrueType font
Reading Other People's Code
I really enjoy reading other people’s code, it allows you see how others solve common problems, and sometimes even provide parables on what you shouldn’t do with yours. It also teaches the much needed skill of reading other people’s code. Now, ask yourself two questions: 1. how
Strong software tips from 2000 that are 100% valid today
Have you ever heard of SEMA? It’s a fairly esoteric system for measuring how good a software team is. No, wait! Don’t follow that link! It will take you about six years just to understa…
Android Security Auditing: Investigating Unauthorized Screenshots
About six months ago, I discovered something on my smartphone that horrified me: I went to undelete a file in DiskDigger, and I stumbled upon a plethora of unexpected jpegs: screenshots of my activity. Screenshots that I didn’t take. Screenshots of my conversations. Screenshots of my GPS position. And screenshots of…
Efficient C++ Programming for Modern 64-bit CPUs: Chapter 4/part 2
The cost of thread context switch, including cache invalidation, can reach up to 3 million CPU cycles RTTI can be quite expensive, with dynamic_cast being up...
You can’t beat a good compiler…. right?
It is extremely well worn conventional wisdom that for your “average” programmer, it’s pretty much impossible to beat a good optimizing compiler at writing fast code. For those who skip the “understanding” part, and jump straight into the “application” part, this rule of thumb tends to be grossly misunderstood, and…
Ruby might be faster than you think
I saw a project a couple weeks back which allows writing and running Crystal methods inline inside a Ruby file. It’s a neat project, and I don’t want to take away from it but something in the README example looked off to me. require 'crystalruby' require 'benchmark' module Fibonnaci crystalize [n:
Perceptual Image Hashing
Joe Bertolami's portfolio and blog covering artificial intelligence, game development, computer graphics, data compression, and more.
Learning to Learn
I believe the key thing that has helped me to become successful and will continue to do so, is my ability to learn how to learn about a subject and self educate. When you take ownership for the learning process, you start putting knowledge into action.
JavaScript iterator patterns
This article explores different ways to create iterators and iterable values in Javascript for dynamic sequence generation, specifically using functions, iterators, iterables and generators. It provides code examples for implementing the Fibonacci sequence with each approach.
ChibiHash: Small, Fast 64 bit hash function
Update Nov 30: I've added a version 2, which makes the benchmarks and design overview section in this article outdated. See the github repo for updated benchmarks.
Payola – A Rails engine for Stripe
A drop-in Rails engine for accepting credit card payments with Stripe
My simple knowledge management and time tracking system
I am using a very simple system for remembering commands and procedures, and for tracking what I work on. I have two plain text files called notes.txt and worktime.txt. In the notes file, I write d…
Redefining Go Functions
I once wrote a Perl subroutine that would memoize the subroutine that called it. That much was useful, but then it inserted a copy of itself into the caller, so that its callers would be memoized too. A well-placed call to aggressively_memoize could back-propagate to the whole codebase, spreading functional purity…
Making a vintage LLM from scratch
In this blog post, I will share the adventures I had creating my own LLM, from (almost) scratch, trained only on old texts. I made my own base-training and fine-tuning scripts, data processing pipelines and custom datasets. ("almost from scratch" means I did use existing programming languages and libraries, I didn't…
Mastering The Fourier Transform in One Day
The page you are looking for could not be found - sorry. You will be taken to its new location shortly.
C Programming Puzzlers
These questions originally appeared as an article on programmersheaven.com , written by Ashok K. Pathak, a researcher at Bharat Electronics Limited (CRL), Ghaziabad. They are reproduced here with minor modifications.
Generalizing JSX: Delivering on the Dream of Curried Named Parameters
We deconstruct JSX to create a new general purpose programming tool.