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

---
title: Best Hacker News posts — July 2022 | daily.dev
description: The most upvoted Hacker News posts from July 2022, curated by the daily.dev community.
canonical: https://daily.dev/sources/hn/best-of/2022/07
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/hn/best-of/2022/07
og:type: website
og:site_name: daily.dev
og:title: Best Hacker News posts — July 2022 | daily.dev
og:description: The most upvoted Hacker News posts from July 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 — July 2022

1. 1  
[](https://daily.dev/posts/defensive-css-uthcb69hj "Defensive CSS")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
Defensive CSS  
271  
14
2. 2  
[](https://daily.dev/posts/pocketbase-pocketbase-open-source-realtime-backend-in-1-file-1w-8a0z "pocketbase/pocketbase: Open Source realtime backend in 1 file")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
pocketbase/pocketbase: Open Source realtime backend in 1 file  
PocketBase is an open source Go framework/toolkit that enables you to build your own custom app specific business logic. It embeds a realtime subscriptions database with backed-in files and users management. It has a simple REST-ish API and comes with unit and integration tests.  
109  
4
3. 3  
[](https://daily.dev/posts/learn-vim-the-simple-way-ilygf8wig "Learn Vim the Simple Way")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
Learn Vim the Simple Way  
.css-1ydpsmy {display:flex;-webkit-align-items:flex-start;-moz-box-align: Flex;-ms-flex- align: Flex-start. .css-da5oxk{overflow:visible;height:100%;}.css-8w41o5{--chakra-wrap-x-spacing:0.5rem;--chakra-wrap-y-spaces: 0.5 Rem;--wrap-X-Spacing:calc(var( --chakria-warp-x) / 2);--wrake-Y- Spacing:  
97  
7
4. 4  
[](https://daily.dev/posts/codecrafters-io-build-your-own-x-master-programming-by-recreating-your-favorite-technologies-from-s-7qi2rqwnm "codecrafters-io/build-your-own-x: Master programming by recreating your favorite technologies from scratch.")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
codecrafters-io/build-your-own-x: Master programming by recreating your favorite technologies from scratch.  
This repository is a compilation of well-written, step-by-step guides for re-creating our favorite technologies from scratch. It's a great way to learn. Submissions welcome, just send a PR.Table of Contents: Build your own 3D Renderer, BitTorrent Client, Node.js bot, and more.  
93  
6
5. 5  
[](https://daily.dev/posts/tabler-tabler-tabler-is-free-and-open-source-html-dashboard-ui-kit-built-on-bootstrap-tx2tjcpod "tabler/tabler: Tabler is free and open-source HTML Dashboard UI Kit built on Bootstrap")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
tabler/tabler: Tabler is free and open-source HTML Dashboard UI Kit built on Bootstrap  
Tabler is a premium and open source dashboard template with a responsive and high-quality UI. Preview Tabler is fully responsive and compatible with all modern browsers. The only requirement is basic HTML and CSS (and some Liquid) knowledge.  
81  
2
6. 6  
[](https://daily.dev/posts/holograms-light-leaks-and-how-to-build-css-only-shaders-8z6o4fgb3 "Holograms, light-leaks and how to build CSS-only shaders")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
Holograms, light-leaks and how to build CSS-only shaders  
@media (max-width:512px. .spec-example{margin:50px 0;display:flex;justify-content:space-between;gap:2.5rem}.spec- example\_\_fixed,. spec-example\_\_static{flex:1;border:20px solid #fff;height:30rem;background-image:linear- gradient(to bottom,#000 20%,#3c5e6d 35%,#f4310e,#f58308 80%,#000)}.frame--leak .specular{z-index:0;mix-blend-mode:color-dodge; background-color  
63  
6
7. 7  
[](https://daily.dev/posts/nasa-s-webb-delivers-deepest-infrared-image-of-universe-yet-rho5dgi4p "NASA’s Webb Delivers Deepest Infrared Image of Universe Yet")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
NASA’s Webb Delivers Deepest Infrared Image of Universe Yet  
61  
7
8. 8  
[](https://daily.dev/posts/algorithms-by-jeff-erickson-oxufsih3r "Algorithms by Jeff Erickson")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
Algorithms by Jeff Erickson  
This web page contains a free electronic version of my self-published textbook Algorithms. It also includes other lecture notes I have written for various theoretical computer science classes. Anyone is welcome to download, print, use, copy, and/or distribute anything on this page, either electronically or on paper.  
50  
1
9. 9  
[](https://daily.dev/posts/why-do-so-many-brands-change-their-logos-and-look-like-everyone-else--6iyg0s4og "Why do so many brands change their logos and look like everyone else?")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
Why do so many brands change their logos and look like everyone else?  
The trend in logo design that started around 2017-2018\. Many iconic fashion companies ditched their recognizable logos and switched to a bland and very similar version of a sans serif font. The purpose of a logo is to be instantly recognizable, different, memorable, and, if possible, to refer to the brand’s values.  
43  
7
10. 10  
[](https://daily.dev/posts/prose-sh-b8adtwhwt "prose.sh")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
prose.sh  
Prose is an open-source blogging platform. There is no installation, signup is as easy as SSH'ing into our CMS. Publish your posts with one command. No ads, zero tracking, no platform lock-in. Subscriptions via RSS. 100% open source.  
42  
5
11. 11  
[](https://daily.dev/posts/logging-in-python-like-a-pro--trszeicia "Logging in Python like a PRO 🐍🌴")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
Logging in Python like a PRO 🐍🌴  
Most people don't know what to log, so they decide to log anything thinking it might be better than nothing, and end up creating just noise. I'll try to give meaningful examples, and provide a flexible rule of thumb that should be used when logging for ANY application you're ever going to build.  
30  
2
12. 12  
[](https://daily.dev/posts/tiktok-is-unacceptable-security-risk-and-should-be-removed-from-app-stores-says-fcc-rrxrajfnf "TikTok is “unacceptable security risk” and should be removed from app stores, says FCC")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
TikTok is “unacceptable security risk” and should be removed from app stores, says FCC  
FCC commissioner Brendan Carr called on Apple and Google to remove TikTok from their app stores. Carr cited several incidents as evidence that TikTok has been dodgy about its data collection practices. Michael Beckerman, VP, Head of Public Policy, Americas at TikTok, refuted a large chunk of the FCC’s claims.  
27  
2
13. 13  
[](https://daily.dev/posts/how-a-fake-job-offer-took-down-the-world-s-most-popular-crypto-game-pphd81yk "How a fake job offer took down the world’s most popular crypto game")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
How a fake job offer took down the world’s most popular crypto game  
A senior engineer at Axie Infinity was duped into applying for a job at a company that, in reality, did not exist. The engineer downloaded spyware to infiltrate Ronin’s systems. From there, hackers were able to attack and take over four out of nine validators on the Ronin network.  
24
14. 14  
[](https://daily.dev/posts/what-comes-after-git-wlxk2c5eh "What Comes After Git")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
What Comes After Git  
Git was born from the collaboration problems in the Linux kernel. Nearly a decade later, new problems arose when Kubernetes (the operating system of the cloud) brought open-source collaboration to a new level. Will a new version control system (or something that solves similar problems) spring up?  
21  
1
15. 15  
[](https://daily.dev/posts/jorgef-engineeringladders-a-framework-for-engineering-managers-krt-qlreb "jorgef/engineeringladders: A framework for Engineering Managers")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
jorgef/engineeringladders: A framework for Engineering Managers  
The framework allows software engineering managers to have meaningful conversations with their direct reports around the expectations of each position and how to plan for the next level in their career ladder. The Manager's Path: Camille Fournier does an excellent job at describing the expectations and challenges of many engineering positions. Dick Grote explains in simple terms how to define job responsibilities.  
20
16. 16  
[](https://daily.dev/posts/emoji-kitchen-browser-fbqcagjo8 "Emoji Kitchen Browser")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
Emoji Kitchen Browser  
This page lets you browse the delightful combinations of Emoji Kitchen, available in Gboard for Android. All credit goes to the Emoji kitchen team for the care they put into emoji, standards, and imaginary creatures. Source code: on GitHub. For more information on Gboard, visit the Gboard website.  
21  
2
17. 17  
[](https://daily.dev/posts/what-they-don-t-teach-you-about-sockets-jbuiuvn8b "What they don't teach you about sockets")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
What they don't teach you about sockets  
TCP does its best to get data to the other application, but in the event of a disconnect we effectively lose all of it. Developers need to decide how their application reacts to unexpected disconnects. This might not be as idiomatic on Linux, but it gives me a bit more control as an application developer.  
19
18. 18  
[](https://daily.dev/posts/how-did-rest-come-to-mean-the-opposite-of-rest--kwbmj1gbv "How Did REST Come To Mean The Opposite of REST?")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
How Did REST Come To Mean The Opposite of REST?  
REST is short for REpresentational State Transfer. Roy Fielding used the term to describe the network architecture of the world wide web. He was describing the web as it existed at that time, with HTML being exchanged over HTTP as people "surfed the web" Today, when someone uses the term REST, they are nearly always discussing a JSON-based API.  
19  
3
19. 19  
[](https://daily.dev/posts/release-it-s-alive-popcorn-official-popcorn-android-23qab-brv "Release It's Alive!!! · popcorn-official/popcorn-android")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
Release It's Alive!!! · popcorn-official/popcorn-android  
18
20. 20  
[](https://daily.dev/posts/languagetool-y0reznwbm "LanguageTool")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
LanguageTool  
The European Union and the European Regional Development Fund (ERDF) support this project by providing funding. They support the development of error detection algorithms in multilingual texts, and thedevelopment of our browser add-ons and website. Supported by the Ministry of Social Affairs, Health, Integration, and Consumer Protection.  
17
21. 21  
[](https://daily.dev/posts/tylertreat-comcast-simulating-shitty-network-connections-so-you-can-build-better-systems--bzpafc9 "tylertreat/comcast: Simulating shitty network connections so you can build better systems.")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
tylertreat/comcast: Simulating shitty network connections so you can build better systems.  
Comcast is a tool designed to simulate common network problems like latency, bandwidth restrictions, and dropped/reordered/corrupted packets. It works by wrapping up some system tools in a portable(ish) way. On BSD-derived systems such as OSX, we use tools like ipfw and pfctl to inject failure. On Linux, we using iptables and tc . Comcast is merely a thin wrapper around these controls.  
15
22. 22  
[](https://daily.dev/posts/we-don-t-do-that-here-ewofkh-hf "We Don't Do That Here")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
We Don't Do That Here  
The phrase "we don't do that here" is a way to say no: "that doesn't work for me" It turns out talking about diversity, inclusion, and even basic civil behavior can be controversial in technical spaces. If no one has told you yet, as your career progresses you will eventually become We don’t do that.”  
14  
2
23. 23  
[](https://daily.dev/posts/mgunyho-tere-terminal-file-explorer-zbgbk5wbt "mgunyho/tere: Terminal file explorer")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
mgunyho/tere: Terminal file explorer  
Tere is a terminal file explorer. It allows you to navigate to a folder efficiently using a TUI, and then prints the path to that folder when you exit. It is not a file manager, it can only be used to browse folders, not to create, rename or delete them.  
12
24. 24  
[](https://daily.dev/posts/teams-is-killing-my-mac-every-day-kewgkrlha "Teams is KILLING my Mac Every Day")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
Teams is KILLING my Mac Every Day  
Teams is murdering my MacBook Pro 16" i9 with 16GB RAM every day. It causes serious lags and randomly decides when it wants to share the screen successfully. Other times, it just shows screen but no audio or vice versa. It's infuriating and I've lost my patience!  
12  
3
25. 25  
[](https://daily.dev/posts/google-fires-blake-lemoine-engineer-who-called-its-ai-sentient-r67oqcwsi "Google Fires Blake Lemoine, Engineer Who Called Its AI Sentient")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
Google Fires Blake Lemoine, Engineer Who Called Its AI Sentient  
Blake Lemoine said he believes Google's LaMDA conversational technology is sentient. Lemoine shared the news of his firing in a taping of Big Technology Podcast on Friday. Google confirmed Lemoine’s dismissal and shared the following statement with Big Technology:“As we share in our AI Principles , we take the development of AI very seriously and remain committed to responsible innovation. So, it’t regrettable that despite lengthy engagement on this topic, Blake still chose to persistently violate clear employment and data security policies. We will continue our careful development of language models, and we wish Blake well”  
11  
3

[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/07#page","url":"https://daily.dev/sources/hn/best-of/2022/07","name":"Best Hacker News Posts — July 2022","description":"The most upvoted Hacker News posts from July 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/07#items","numberOfItems":25,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/defensive-css-uthcb69hj","name":"Defensive CSS"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/pocketbase-pocketbase-open-source-realtime-backend-in-1-file-1w-8a0z","name":"pocketbase/pocketbase: Open Source realtime backend in 1 file"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/learn-vim-the-simple-way-ilygf8wig","name":"Learn Vim the Simple Way"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/codecrafters-io-build-your-own-x-master-programming-by-recreating-your-favorite-technologies-from-s-7qi2rqwnm","name":"codecrafters-io/build-your-own-x: Master programming by recreating your favorite technologies from scratch."},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/tabler-tabler-tabler-is-free-and-open-source-html-dashboard-ui-kit-built-on-bootstrap-tx2tjcpod","name":"tabler/tabler: Tabler is free and open-source HTML Dashboard UI Kit built on Bootstrap"},{"@type":"ListItem","position":6,"url":"https://daily.dev/posts/holograms-light-leaks-and-how-to-build-css-only-shaders-8z6o4fgb3","name":"Holograms, light-leaks and how to build CSS-only shaders"},{"@type":"ListItem","position":7,"url":"https://daily.dev/posts/nasa-s-webb-delivers-deepest-infrared-image-of-universe-yet-rho5dgi4p","name":"NASA’s Webb Delivers Deepest Infrared Image of Universe Yet"},{"@type":"ListItem","position":8,"url":"https://daily.dev/posts/algorithms-by-jeff-erickson-oxufsih3r","name":"Algorithms by Jeff Erickson"},{"@type":"ListItem","position":9,"url":"https://daily.dev/posts/why-do-so-many-brands-change-their-logos-and-look-like-everyone-else--6iyg0s4og","name":"Why do so many brands change their logos and look like everyone else?"},{"@type":"ListItem","position":10,"url":"https://daily.dev/posts/prose-sh-b8adtwhwt","name":"prose.sh"},{"@type":"ListItem","position":11,"url":"https://daily.dev/posts/logging-in-python-like-a-pro--trszeicia","name":"Logging in Python like a PRO 🐍🌴"},{"@type":"ListItem","position":12,"url":"https://daily.dev/posts/tiktok-is-unacceptable-security-risk-and-should-be-removed-from-app-stores-says-fcc-rrxrajfnf","name":"TikTok is “unacceptable security risk” and should be removed from app stores, says FCC"},{"@type":"ListItem","position":13,"url":"https://daily.dev/posts/how-a-fake-job-offer-took-down-the-world-s-most-popular-crypto-game-pphd81yk","name":"How a fake job offer took down the world’s most popular crypto game"},{"@type":"ListItem","position":14,"url":"https://daily.dev/posts/what-comes-after-git-wlxk2c5eh","name":"What Comes After Git"},{"@type":"ListItem","position":15,"url":"https://daily.dev/posts/jorgef-engineeringladders-a-framework-for-engineering-managers-krt-qlreb","name":"jorgef/engineeringladders: A framework for Engineering Managers"},{"@type":"ListItem","position":16,"url":"https://daily.dev/posts/emoji-kitchen-browser-fbqcagjo8","name":"Emoji Kitchen Browser"},{"@type":"ListItem","position":17,"url":"https://daily.dev/posts/what-they-don-t-teach-you-about-sockets-jbuiuvn8b","name":"What they don't teach you about sockets"},{"@type":"ListItem","position":18,"url":"https://daily.dev/posts/how-did-rest-come-to-mean-the-opposite-of-rest--kwbmj1gbv","name":"How Did REST Come To Mean The Opposite of REST?"},{"@type":"ListItem","position":19,"url":"https://daily.dev/posts/release-it-s-alive-popcorn-official-popcorn-android-23qab-brv","name":"Release It's Alive!!! · popcorn-official/popcorn-android"},{"@type":"ListItem","position":20,"url":"https://daily.dev/posts/languagetool-y0reznwbm","name":"LanguageTool"},{"@type":"ListItem","position":21,"url":"https://daily.dev/posts/tylertreat-comcast-simulating-shitty-network-connections-so-you-can-build-better-systems--bzpafc9","name":"tylertreat/comcast: Simulating shitty network connections so you can build better systems."},{"@type":"ListItem","position":22,"url":"https://daily.dev/posts/we-don-t-do-that-here-ewofkh-hf","name":"We Don't Do That Here"},{"@type":"ListItem","position":23,"url":"https://daily.dev/posts/mgunyho-tere-terminal-file-explorer-zbgbk5wbt","name":"mgunyho/tere: Terminal file explorer"},{"@type":"ListItem","position":24,"url":"https://daily.dev/posts/teams-is-killing-my-mac-every-day-kewgkrlha","name":"Teams is KILLING my Mac Every Day"},{"@type":"ListItem","position":25,"url":"https://daily.dev/posts/google-fires-blake-lemoine-engineer-who-called-its-ai-sentient-r67oqcwsi","name":"Google Fires Blake Lemoine, Engineer Who Called Its AI Sentient"}]},{"@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":"July 2022"}]}]}
```

