Writing HTML sucks and No-code doesn't help
We can do better than writing HTML manually, but there are no developer-focused solutions.
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 14,544 posts.
We can do better than writing HTML manually, but there are no developer-focused solutions.
The data on the page is presented in a hierarchichal structure. The movie page contains a director, a list of genres, a list of actors, and each actor in the list contains a list of characters they played in the movie. You can't sensibly fit all of this into a single flat structure like a relation.
Modularity is a crucial concept when designing and creating software. Independent of whether our chosen architecture style is to have a single unit of deployment - Monolith or multiple units of deployment - Microservices/Services. It is a quality that should be treated completely independent of how many deployable…
Many developers today have no idea what programming was like in the 80s.
A good programmer is someone who can write large programs that have a high probability of being correct.
PHP 8.2 has a new randomizer engine, readonly classes, disjunctive normal form types, redacted parameters, performance improvements, and more.
I wrote a blog post a while ago complaining about Gradle, mostly from a position of ignorance: I had never really taken the time to properly learn the tool and I was frustrated while trying to stumble my way through working with it. But luckily, my company encourages learning and experimentation so I was given an…
For the past few years I’ve followed the evolution of Rust with interest. Rust is a new systems programming language (like C or C++) with greater emphasis on...
These notes are based on the August 27 2018 design draft for generic types in Go2.
Using the right tool for the right job
I've been porting the AndroidX collection library to Kotlin multiplatform to experiment with binary compatibility, performance, tooling, and the different memory models. Some of the data structures in the library use array-based binary trees to store elements. The Java code has a lot of shifts to replace power-of-two…
Code can really be written with any text editor that you're comfortable with. I tend to use Vim for quick edits and writing notes, and on L...
Picture this, the year is 1996. You find yourself frustrated with the incumbent search engines like AltaVista, which primarily does a content-based search (it'll give you an article on "Hotels for Chickens" if you search "Hotels" because the word matches). There's gotta be a better way, right? Well, in hindsight, of…
When you write Python code, please make sure that you don’t have side‐effects in your module imports. It breaks things and makes people sad.
Note: Thanks for all the great comments and feedback here and on Hacker News . Please keep them coming. I learned a ton and I am sure others will also.
I thought about this one for a couple of years, then wrote it up, and left it untouched for another couple of years.
As a rule, "sophisticated" progrmming is pretty boring - optimizing the unnecessary to speed up the uninteresting. Here, however, is an incredibly sophisticated package intended for fun and games. The more you know about software, the more astounded you will become as you read this.
Sure, we all pretend to know them, but rarely do we think they apply to us. Your manager certainly doesn't...
The fundamental units of computation available to users today are not the same as they were 20 years ago. When users had at most a few cores on a single CPU, it made complete sense that every program was written with the assumption that it would only run on a single core.
Enums are one of the most popular features in Rust. An enum is a type whose value is one of a specified set of variants.
I spent past three weeks working on refactoring and fixing legacy code…
Every time we see people look at PostgreSQL and MySQL on the internet it falls into a flame war fast. I think that a large part of the pr...
Python-based calculations, especially those that use NumPy, can run much faster by using the Numba library.
Doom 3 was released in 2004, which I can't believe was a decade ago. Great game, atmospheric and scary, and a worthy successor of the first two games in the series. Several years after the initial release, in 2011, Doom 3's source code was published on Github. It can be fun to poke around the repository to learn how…
The official site of Zhenghao He, a software engineer and a TypeScript/JavaScript enthusiast.
At my university, one of our internal software systems allows a professor to submit a revision to a course. The professor might change the content or the objectives of the course. In a university, professors have extensive freedom regarding course content. As long as you reasonably meet the course objectives, you can…