Self-parking Car in 500 Lines of Code
Training the car to do self-parking using a genetic algorithm
Topics /
The most popular blog posts about software engineering on Hacker News. 1,020 posts.
Training the car to do self-parking using a genetic algorithm
JSON output must become the norm for application pipelining. Until then, jc can help.
Building Brainf∗ck interpreter for the 21 century, with all the best systems design practices in mind. Think of Brainf∗ck-as-a-service cloud solution!
It's well known that inheritance was invented by Simula . The History of Programming Languages session on Simula tells us the motivations behind that invention. Let's take a look.
If you're on a version of Windows 11 that is build 22000 or greater, you can ...
It's common knowledge that Rust code is slow to compile. But I have a strong gut feeling that most Rust code out there compiles much slower than it could.
I have come to the conclusion that Software Engineering is primarily a learning endeavour, the working code is rather a side effect. This quote is actually not mine but I am paraphrasing Alberto Brandolini who is making this very point in Event Storming (he was actually talking about Software Development, but I do not…
I'm a technologist with a focus in ecommerce, GenAI, and developer productivity. I enjoy building reliable and fast software, and helping others to do the same.
Picture this: Toward the end of the development cycle, your game crawls, but you don’t see any obvious hotspots in the profiler. The culprit? Random memory access patterns and constant cache misses. In an attempt to improve performance, you try to parallelize parts of the code, but it takes heroic efforts, and, in the…
At Superwall we’re building an SDK to help App Developers increase their revenue by showing the right offer to the right person at the right time. Follow me on twitter for little tips and articles like this one.
Posts and writings by Lennart Poettering
Did you know you can change Git attributes based on what folder you're in?
On March 21, Richard M. Stallman (RMS) announced that he is on the Free Software Foundation (FSF) board of directors again after having resigned in September 2019. Two days later, an open letter condemning RMS as misogynist, ableist, transphobic, intolerant, bigoted, hateful, and dangerous was published. The letter…
To understand the differences between automatic differentiation libraries, let’s talk about the engineering trade-offs that were made. I would personally say that none of these libraries are “better” than another, they simply all make engineering trade-offs based on the domains and use cases they were aiming to…
Introducing citations!
Easter egg; noun: An unexpected or undocumented feature in a piece of computer software, included as a joke or a bonus. There are no Easter eggs in curl. For the good. I've been asked about this many times. Among the enthusiast community, people seem to generally like the concept of Easter eggs and hidden treasures, ……
I’ve used F# a lot in the last 3 years and for quite some time I wanted to collect a few good starting points to venture into F# in one place. I also wanted ...
js;dr = JavaScript required; Didn’t Read. Pages that are empty without JS: dead to history (archive-org), unreliable for search results (despite any search engine claims of JS support, check it yourself), and thus ignorable. No need to waste time reading or responding. Also known as, if it’s not curlable, it’s not on…
I learned about socat a few years ago and am generally surprised more developers don’t know about it. Maybe I appreciate it all the more…
<p> Python standard library includes many great modules that can help you make your code cleaner and simpler and <code class="inline">functools</code> is d...
Recently I was doing some work decoding the new Galileo High Accuracy Service data. In short, this new service will allow Galileo (“European GPS”) users to achieve decimeter-level accuracy, which is nice. This “HAS” data is transmitted highly redundantly by making good use of Reed-Solomon encoding. To work with this…
This is a guide for starting a TypeScript project in 2021 with modern tooling. TypeScript 4 Optionally esbuild to bundle for browsers (and Node.js) Linting with typescript-eslint (tslint is deprecated) Testing with Jest (and ts-jest) Publishing a package to npm Continuous integration (GitHub Actions / GitLab CI)…
Some new minor leap second drama is coming up, and for once we can
Python is my favourite programming language. Since I discovered it in 2004, programming in Python became my favourite hobby. I've tried to l...
Caveat: Elasticsearch is a multi-purpose, distributed, battle-tested, schema-free, log and document storage engine. We’ll be replacing it with a single-purpose, relational schema, me-tested, and custom nginx access log storage engine. Knowing that, let’s begin. Find this project on Github After building my home…
This is old! When I wrote it, I was a very different person.As it turns out, growing up a bit made me care a lot less about the nuances of Rust programming.
Making the Python interpreter faster
My stack will outlive yours