<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/sources/hn/best-of/2022/04" -->

---
title: Best Hacker News posts — April 2022 | daily.dev
description: The most upvoted Hacker News posts from April 2022, curated by the daily.dev community.
canonical: https://daily.dev/sources/hn/best-of/2022/04
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/hn/best-of/2022/04
og:type: website
og:site_name: daily.dev
og:title: Best Hacker News posts — April 2022 | daily.dev
og:description: The most upvoted Hacker News posts from April 2022, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of Hacker News — April 2022

1. 1  
[](https://daily.dev/posts/warp-the-terminal-for-the-21st-century-yganuhkmc "Warp: The terminal for the 21st century")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
Warp: The terminal for the 21st century  
A new terminal developed in Rust, I instantly fell in love when I tried it. There's just no going back from the incredible navigation workflows you can achieve with this tool. If the terminal had been invented today, this what we would get. Bravo! @warpdotdev.  
462  
59
2. 2  
[](https://daily.dev/posts/how-long-since-google-said-a-google-drive-linux-client-is-coming--ejncalvyc "How long since Google said a Google Drive Linux client is coming?")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
How long since Google said a Google Drive Linux client is coming?  
125  
11
3. 3  
[](https://daily.dev/posts/how-we-lost-54k-github-stars-httpie-blog-izxesv7dt "How we lost 54k GitHub stars – HTTPie blog")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
How we lost 54k GitHub stars – HTTPie blog  
HTTPie for Terminal is celebrating 10 years since the first commit. Gaining 54k GitHub stars and 1k+ watchers. HTTPie was among the top 80 most popular public repos on GitHub overall; in the 99.99997203 percentile. It was incredible to see this humble tool attract a community of that magnitude.  
79  
6
4. 4  
[](https://daily.dev/posts/dall-e-2-pawptm2lj "DALL·E 2")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
DALL·E 2  
We’ve been working with external experts and are previewing DALL·E 2 to a limited number of trusted users who will help us learn about the technology’s capabilities and limitations. We plan to invite more people to preview this research over time as we learn and iteratively improve our safety system.  
64  
1
5. 5  
[](https://daily.dev/posts/impressions-from-a-first-time-mac-user-qdqczxy9f "Impressions from a first-time Mac user")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
Impressions from a first-time Mac user  
Apple’s 2021 16‑inch MacBook Pro is the first Mac I’ve ever used. The machine is insanely well-built. Windows and Linux have what I would call “sane window management” The Macbook Pro has ports that any PC laptop user has had for years.  
50  
11
6. 6  
[](https://daily.dev/posts/things-i-can-t-do-on-macos-which-i-can-do-on-ubuntu-jrlrysfx4 "Things I can't do on MacOS which I can do on Ubuntu")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
Things I can't do on MacOS which I can do on Ubuntu  
Here's a partial list of everything I cannot do on a Mac, but I can do on Ubuntu. These are things which either are impossible, or require adding unsupported 3rd party software - sometimes at a cost. I've never "got" the appeal of a Mac. But I have to use one for work.  
32  
1
7. 7  
[](https://daily.dev/posts/lies-we-tell-ourselves-to-keep-using-golang--koms3-px "Lies we tell ourselves to keep using Golang")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
Lies we tell ourselves to keep using Golang  
Go is a great way to evaluate technologies, but it's far from enough to fill out the tech battle. By adopting technology that doesn't reflect the true cost of adopting that technology will very rarely reflect the cost of using it. It doesn't matter who points out that "maybe we shouldn't hit ourselves in the head with a rake repeatedly": that's no matter who it comes from.  
29  
3
8. 8  
[](https://daily.dev/posts/heaps-io-game-engine-fwvn4bf-g "Heaps.io Game Engine")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
Heaps.io Game Engine  
Heaps is built to support both 2D and 3D environments. Cross platform compilation that compiles natively to the platform you want. Full controller support that includes mouse, keyboard and gamepad support.File formats support PNG, JPG, FBX, OGG, etc.  
24  
3
9. 9  
[](https://daily.dev/posts/switching-from-pyenv-rbenv-goenv-and-nvm-to-asdf-ecbyi7jje "Switching from pyenv, rbenv, goenv and nvm to asdf")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
Switching from pyenv, rbenv, goenv and nvm to asdf  
Asdf-vm is a tool for creating virtual environments. It can be used to replace Python, Ruby, nodejs, and goenv. Asdf can be installed using git or by using the asdf package manager. You can checkout a more detailed documentation here: https://asdf-VM.com/core-manage-asdf.  
21  
2
10. 10  
[](https://daily.dev/posts/a-database-for-2022-saucazmmm "A database for 2022")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
A database for 2022  
We used to store our database in a single JSON file on disk, and then moved to etcd. Time for another change! We’re going to put everything in asingle file on disks again. We need something easier to dive into and get back out of quickly, a database similar to common development systems.  
20
11. 11  
[](https://daily.dev/posts/luanrt-youtube-js-full-featured-wrapper-around-youtube-s-private-api-bfo3jj2gf "LuanRT/YouTube.js: 🎥 full-featured wrapper around YouTube's private API")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
LuanRT/YouTube.js: 🎥 full-featured wrapper around YouTube's private API  
Innertube is an API used across all YouTube clients. It was made to simplify the internal structure of the platform and make it easy to push updates. This library takes advantage of that API, therefore providing a simple & efficient way to interact with YouTube programmatically. As of now, this is one of the most advanced & stable YouTube libraries out there.  
17
12. 12  
[](https://daily.dev/posts/textualize-ddyhqebt6 "Textualize")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
Textualize  
17
13. 13  
[](https://daily.dev/posts/i-need-to-find-an-apartment-vyk9w6gin "I Need to Find an Apartment")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
I Need to Find an Apartment  
I hate apartment hunting, I’ve tried to make it as interesting as possible. I created a pipeline with different tools and languages to scrape data from a website with the use of Puppeteer. I load data into a SQLite database using Go and visualize all the data with Python and Folium.  
17  
1
14. 14  
[](https://daily.dev/posts/300-drones-formed-a-qr-code-that-rick-rolled-dallas-on-april-fools-day-tjf1id2id "300 Drones Formed a QR Code That Rick Rolled Dallas on April Fools' Day")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
300 Drones Formed a QR Code That Rick Rolled Dallas on April Fools' Day  
17
15. 15  
[](https://daily.dev/posts/ydb-an-open-source-distributed-sql-database-c2y8m-vhb "YDB — an open-source Distributed SQL Database")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
YDB — an open-source Distributed SQL Database  
Using YDB as a database allowed Market Cart to withstand a hundredfold increase in the load on the Cart, while observing strict guarantees for response times. The migration was completed by just one developer in one month. The Cart is one of the key components of any marketplace or online store.  
15  
1
16. 16  
[](https://daily.dev/posts/the-smallest-docker-image-to-serve-static-websites-fonw0tebc "The smallest Docker image to serve static websites")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
The smallest Docker image to serve static websites  
The smallest Docker image to serve static websites is 7.77MB. It can be used to create a non-root user to own the files and run our server. The image has some neat features, like basic auth, throttling and virtual hosts. You can build and run the image by calling: docker build -t static:latest . docker run -it --rm -p 3000:3000 static: Latest.  
14  
1
17. 17  
[](https://daily.dev/posts/why-we-don-t-use-a-staging-environment-ji0ehjz74 "Why we don’t use a staging environment")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
Why we don’t use a staging environment  
Squeaky uses a flat branching process to ship code to production. We only merge code into the main branch when it is ready to go live. This means we don’t have to wait for changes to be validated in development. We believe it’s helping us to ship faster, and lower the number of issues on production.  
14  
1
18. 18  
[](https://daily.dev/posts/learn-go-with-tests-waeu6-1xj "Learn Go with Tests")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
Learn Go with Tests  
Learn test-driven development with Go. Explore the Go language by writing tests. Get a grounding with TDD. Go is a good language for learning TDD because it is a simple language to learn and testing is built-in. Learn the fundamentals by writing small tests so that you can then take your existing software design skills and ship great systems.  
13  
1
19. 19  
[](https://daily.dev/posts/the-project-with-a-single-11-000-line-code-file-kmzuctfae "The project with a single 11,000-line code file")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
The project with a single 11,000-line code file  
The project with a single 11,000-line code file. The responsibility of maintaining the project had been bounced from team to team over the years. The code followed a rough pattern of fetch some data about the user, check if some conditions are met, then do some action which repeated a thousand or so times.  
13  
2
20. 20  
[](https://daily.dev/posts/openra-openra-open-source-real-time-strategy-game-engine-for-early-westwood-games-such-as-command--1qyy0pqmo "OpenRA/OpenRA: Open Source real-time strategy game engine for early Westwood games such as Command & Conquer: Red Alert written in C# using SDL and OpenGL. Runs on Windows, Linux, *BSD and Mac OS X.")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
OpenRA/OpenRA: Open Source real-time strategy game engine for early Westwood games such as Command & Conquer: Red Alert written in C# using SDL and OpenGL. Runs on Windows, Linux, \*BSD and Mac OS X.  
OpenRA is a Libre/Free Real Time Strategy game engine supporting early Westwood classics. It is made available to you under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. EA has not endorsed this product.  
12
21. 21  
[](https://daily.dev/posts/how-i-put-my-whole-life-into-a-single-database-felix-krause-2b7h10goa "How I put my whole life into a single database · Felix Krause")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
How I put my whole life into a single database · Felix Krause  
Every single day for the last 2.5 years I tracked over 100 different data types - ranging from fitness & nutrition to social life, computer usage and weather. Since the start of this project, I collected a total of more than 380,000 data points. 100% fully open source, MIT licensed and self-hosted.  
12  
1
22. 22  
[](https://daily.dev/posts/twitter-bans-ads-that-contradict-science-on-climate-change-xtghjrvdf "Twitter bans ads that contradict science on climate change")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
Twitter bans ads that contradict science on climate change  
Twitter says it will no longer allow advertisers on its site who deny the scientific consensus on climate change. There was no indication that the change would affect what users post on the social media site. The announcement coinciding with Earth Day came hours before the European Union agreed upon a deal requiring big tech companies to vet their sites more closely for hate speech.  
12  
5
23. 23  
[](https://daily.dev/posts/the-absurd-complexity-of-server-side-rendering-yrd3z-d7c "The absurd complexity of server-side rendering")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
The absurd complexity of server-side rendering  
Server-side rendering (SSR) is a new way of rendering HTML in the browser. SSR apps are complex and error-prone, and the way we're going about it right now is terrifyingly terrifying. Rust has built a career by recognising that we need better tools to work with them.  
12
24. 24  
[](https://daily.dev/posts/nobody-wants-your-fancy-algorithm-lwvhwa9qg "Nobody wants your fancy algorithm")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
Nobody wants your fancy algorithm  
Satellite imagery companies are trying to turn their data into a one-size-fits-all derived data product and sell it as a subscription product. The juice is never worth the squeeze, says the author of this newsletter. It’s hard to be a great analytics provider, and nearly impossible to be great at both simultaneously, he says.  
10  
2

[See all Hacker News archives](/sources/hn/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/sources/hn/best-of/2022/04#page","url":"https://daily.dev/sources/hn/best-of/2022/04","name":"Best Hacker News Posts — April 2022","description":"The most upvoted Hacker News posts from April 2022, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/hn/best-of/2022/04#items","numberOfItems":24,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/warp-the-terminal-for-the-21st-century-yganuhkmc","name":"Warp: The terminal for the 21st century"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/how-long-since-google-said-a-google-drive-linux-client-is-coming--ejncalvyc","name":"How long since Google said a Google Drive Linux client is coming?"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/how-we-lost-54k-github-stars-httpie-blog-izxesv7dt","name":"How we lost 54k GitHub stars – HTTPie blog"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/dall-e-2-pawptm2lj","name":"DALL·E 2"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/impressions-from-a-first-time-mac-user-qdqczxy9f","name":"Impressions from a first-time Mac user"},{"@type":"ListItem","position":6,"url":"https://daily.dev/posts/things-i-can-t-do-on-macos-which-i-can-do-on-ubuntu-jrlrysfx4","name":"Things I can't do on MacOS which I can do on Ubuntu"},{"@type":"ListItem","position":7,"url":"https://daily.dev/posts/lies-we-tell-ourselves-to-keep-using-golang--koms3-px","name":"Lies we tell ourselves to keep using Golang"},{"@type":"ListItem","position":8,"url":"https://daily.dev/posts/heaps-io-game-engine-fwvn4bf-g","name":"Heaps.io Game Engine"},{"@type":"ListItem","position":9,"url":"https://daily.dev/posts/switching-from-pyenv-rbenv-goenv-and-nvm-to-asdf-ecbyi7jje","name":"Switching from pyenv, rbenv, goenv and nvm to asdf"},{"@type":"ListItem","position":10,"url":"https://daily.dev/posts/a-database-for-2022-saucazmmm","name":"A database for 2022"},{"@type":"ListItem","position":11,"url":"https://daily.dev/posts/luanrt-youtube-js-full-featured-wrapper-around-youtube-s-private-api-bfo3jj2gf","name":"LuanRT/YouTube.js: 🎥 full-featured wrapper around YouTube's private API"},{"@type":"ListItem","position":12,"url":"https://daily.dev/posts/textualize-ddyhqebt6","name":"Textualize"},{"@type":"ListItem","position":13,"url":"https://daily.dev/posts/i-need-to-find-an-apartment-vyk9w6gin","name":"I Need to Find an Apartment"},{"@type":"ListItem","position":14,"url":"https://daily.dev/posts/300-drones-formed-a-qr-code-that-rick-rolled-dallas-on-april-fools-day-tjf1id2id","name":"300 Drones Formed a QR Code That Rick Rolled Dallas on April Fools' Day"},{"@type":"ListItem","position":15,"url":"https://daily.dev/posts/ydb-an-open-source-distributed-sql-database-c2y8m-vhb","name":"YDB — an open-source Distributed SQL Database"},{"@type":"ListItem","position":16,"url":"https://daily.dev/posts/the-smallest-docker-image-to-serve-static-websites-fonw0tebc","name":"The smallest Docker image to serve static websites"},{"@type":"ListItem","position":17,"url":"https://daily.dev/posts/why-we-don-t-use-a-staging-environment-ji0ehjz74","name":"Why we don’t use a staging environment"},{"@type":"ListItem","position":18,"url":"https://daily.dev/posts/learn-go-with-tests-waeu6-1xj","name":"Learn Go with Tests"},{"@type":"ListItem","position":19,"url":"https://daily.dev/posts/the-project-with-a-single-11-000-line-code-file-kmzuctfae","name":"The project with a single 11,000-line code file"},{"@type":"ListItem","position":20,"url":"https://daily.dev/posts/openra-openra-open-source-real-time-strategy-game-engine-for-early-westwood-games-such-as-command--1qyy0pqmo","name":"OpenRA/OpenRA: Open Source real-time strategy game engine for early Westwood games such as Command & Conquer: Red Alert written in C# using SDL and OpenGL. Runs on Windows, Linux, *BSD and Mac OS X."},{"@type":"ListItem","position":21,"url":"https://daily.dev/posts/how-i-put-my-whole-life-into-a-single-database-felix-krause-2b7h10goa","name":"How I put my whole life into a single database · Felix Krause"},{"@type":"ListItem","position":22,"url":"https://daily.dev/posts/twitter-bans-ads-that-contradict-science-on-climate-change-xtghjrvdf","name":"Twitter bans ads that contradict science on climate change"},{"@type":"ListItem","position":23,"url":"https://daily.dev/posts/the-absurd-complexity-of-server-side-rendering-yrd3z-d7c","name":"The absurd complexity of server-side rendering"},{"@type":"ListItem","position":24,"url":"https://daily.dev/posts/nobody-wants-your-fancy-algorithm-lwvhwa9qg","name":"Nobody wants your fancy algorithm"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Sources","item":"https://daily.dev/sources"},{"@type":"ListItem","position":3,"name":"Hacker News","item":"https://daily.dev/sources/hn"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/hn/best-of"},{"@type":"ListItem","position":5,"name":"April 2022"}]}]}
```

