New
The latest blog posts to take off on Hacker News. 3,497 posts.
Evidence of fraud in an influential field experiment about dishonesty
This post is co-authored with a team of researchers who have chosen to remain anonymous. They uncovered most of the evidence reported in this post. These researchers are not connected in any way to…
A simple way to build collaborative web apps
Junyu Zhan's homepage
Speeding up atan2f
`atan2f` is an important but slow trigonometric function. In this article we'll explain how to approximate it, and implement a version 50x faster than `glibc` on batches of inputs.
The Quest for Very Wide Outlines
Brute force, gaussian blur, and Jump Flood Algorithm based outline approaches tested and compared.
South Kensington station's escalator replacement project
Deep underneath South Kensington tube station, a huge project is underway to replace all five of the station's escalators, and all of them at the same time.
Exploring Clang/LLVM optimization on programming horror
Recently, I’ve come across a not so efficient implementation of a isEven function (from r/programminghorror ).
You don’t need to work on hard problems (2020)
A lot of smart college students end up with the idea that “solving hard technical problems” is the best thing they can do with their life—probably because that’s the only thing they’ve ever been rewarded for so far.
EC2 Boot Time Benchmarking
Once I finished writing ec2-boot-bench, the natural next step was to run some tests — in particular, to see how FreeBSD compared to other operating systems used in EC2. I used the c5.xlarge instance type and tested FreeBSD releases since 11.1-RELEASE (the first FreeBSD release which can run on the c5.xlarge instance…
Object-Oriented Entity-Component-System Design
About two months ago, I decided to start developing a fresh codebase for my voxel project – something that many indie developers are probably all-too familiar with, including myself. This time around, there were three major features that I wanted to implement:
Historian suspended by Facebook after sharing document by Goebbels
To: Oversight Board Good day, My name is Igor Petrov, I am an independent historian. The list of my publications, including those for Cambridge University Press, is available at https://independent.academia.edu/IgorPetrov40 On August 6, 2021, whilst conducting archival research and working with…
Let's write a compiler, part 3: A parser
Tokenizing the source code input is a great start for our compiler. Now let's turn our attention to parsing the PL/0 grammar. Once we have finished with the parser, the front end of our compiler will be finished and we will have a PL/0 validator. This is a program that can read in PL/0 source code and inform the user…
The Queen's Duck
Brian Wigginton
Why Doesn't Software Show Up in Productivity?
Productivity growth has not been as fast as proponents of the "digital revolution" expected. Besides a short burst of higher productivity growth in the late 1990s and early 2000s (the higher slope portion), it is hard to see the impact.
Did America just lose Afghanistan because of WhatsApp?
In the middle of a conflict, good analysis is hard to come by. Because adversaries do not telegraph their plans to one another, plans depend greatly on the fact patterns surrounding their execution…
How to prevent email spoofing, using an unholy combination of silly standards
How to use SPF, DKIM, and DMARC to improve your domain's email security and limit spoofing - but written for humans.
What domain name to use for your home network
Always use the ‘.home.arpa’ top-level domain (RFC 8375), and don’t use the special-purpose ‘.local,’ or made-up undelegated domain names like ‘.lan’ or ‘.home.’
What can be learned from studying long gone development practices?
Current ideas about the best way of building a software system are heavily influenced by the ideas that captured the attention of previous generations of developers. Can anything of practical use be learned from studying long gone techniques for building software systems?
The Bullshit
Digging Out
You can list a directory containing 8M files, but not with ls
I needed to list all files in a directory, but ls , find , and os.listdir all hung. This is my story.
Why query planning for streaming systems is hard
Many groups are working on running sql queries in incremental/streaming systems . Query planning in this context is not a well understood problem. This post is a quick pointer towards the many open problems. It's not intended to be complete or authoritative, because I haven't engaged with the problem much beyond…
Why is learning functional programming so damned hard? (2019)
My Functional Programming journey was filled with dead ends, false starts, failed attempts and frustration. And I suspect that I’m not…
Rails 6 with Webpacker 6, Tailwind 2 with JIT, Postcss 8 and some default setup
It is always nice to follow a detailed guide and steps when building new rails apps. Below is a bit of guidance and step-by-step…
Porn Spam on Google Maps
User Generated Content is great, innit? As a company, I want users to submit photos, so I don't have to do any content curation. Moderation? Nah mate, stick some AI on there to filter out anything offensive and we're golden. *sigh* James Whatley (inactive)@WhatleydudeSurprised Loch Ness isn't trending tbqh.❤️ 7💬 0🔁…