Topics /
Software Engineering
The most popular blog posts about software engineering on Hacker News. 21,834 posts.
Basic Electron Framework Exploitation
A Accenture oferece oportunidades que surgem a partir da disrupção tecnológica em todas as indústrias, em todos os países, todos os dias. Saiba mais!
Why Emacs?
Prelude
Things I hate about Rust, redux
Two years ago, I wrote a post with a handful of grievances about Rust , a language that I then (and still) consider my favorite compiled language.
Write less code, be more responsible
My thoughts on AI-assisted programming.
Less Htmx Is More
How to build great websites with htmx by learning a couple browser features alongside it.
I fixed a bug the other day
I fixed a bug that was in production for 2 years with a few lines of code.
Footguns with Postgres “at time zone 'UTC'”
And why you may need to repeat AT TIME ZONE 'UTC' twice. SUMMARY * AT TIME ZONE 'UTC' converts the data type from timestamptz to timestamp (example). * Now you are inadvertently using the timestamp without time zone (aka timestamp) data type, which is markedly discouraged. * There are tons of footguns with timestamp…
Should you ditch Spark for DuckDB or Polars?
There’s been a lot of excitement lately about single-machine compute engines like DuckDB and Polars. With the recent release of pure Python Notebooks in Microsoft Fabric, the excitement about these lightweight native engines has risen to a new high. Out with Spark and in with the new and cool animal-themed engines— is…
Using Python for Scripting
"Use the right tool" is nice in theory, but not when the tool acts a bit differently from machine to machine, and isn't always installed.
Design and Implementation of Sprites
So that we may educate as well as horrify: the internals of our new Sprites execution platform.
Not knowing the /proc file system
Overview Edit: this post was discussed on hacker news Some of the comments contained valuable reviews of the C code listed below. I’ve appended some edits after the original listing. I’ve been working quite with files and file systems on Linux recently. Mostly from the vantage point of either a shell or a python…
JIT-optimized Ruby can outperform a C extension
YJIT’s ability to improve performance by adapting to run-time behavior can increase the speed of our code in a way that dropping down to C can’t. As such, I think we should reconsider the common wisdom that “rewriting our Ruby in C” is the ideal path to performance optimization and take a serious look at “rewriting…
State of Bootstrap 4 vs. Foundation
Bootstrap 4 and Foundation 6 are the latest versions of the most widely used CSS frameworks out there. Foundation 6 is stable whereas Bootstrap 4 hasn’t been released yet. However, before you wonder why I am comparing a stable framework version vs an alpha one, let me set the record straight by saying that Bootstrap 4…
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…
[ -z $var ] works unreasonably well
There is a subreddit /r/nononoyes for videos of things that look like they’ll go horribly wrong, but amazingly turn out ok.
Broccoli Man, Remastered
A breakdown of how I used modern AI tools (Veo 3.1 and Nano Banana) to create a new version of a Google cultural classic.
The saga of the Closure compiler, and why TypeScript won
This post looks at the Closure Compiler, Google's tool from the mid-2000s for adding types to JavaScript. It looks at how its focus on minification led to very different design choices than TypeScript, and how this and a few other factors led to TypeScript becoming the ubiquitous solution for JavaScript + types. The…
Don't “let it crash”, let it heal
Don't "let it crash". Let it heal.
Code colocation is king
A simple principle to help structure code better
Our Experience Porting the YJIT Ruby Compiler to Rust
In this post, I want to give a nuanced perspective on our experience porting YJIT from C to Rust. I'll talk about the positives, but also discuss the things that we found challenging or suboptimal in our experience.
Backbone has made me a better programmer
Andy Appleton is a web developer based in Berkshire, UK.
Bard coding update with Colab exporting
Bard can now help with programming and software development tasks, across more than 20 programming languages.
Provide agents with automated feedback
Back pressure for agents You might notice a pattern in the most successful applications of agents over the last year. Projects that are able to setup structure around the agent itself, to provide it with automated feedback on quality and correctness, have been able to push them to work on longer horizon tasks. This…
Every Way to Get Structured Output from LLMs
A survey of every framework for extracting structured output from LLMs, and how they compare.