How do you deal with the lack of generics in Go? I would like to avoid rewriting the same code for two different data types. Rust seems to handle this much better.
I want to understand how this works completely client-side without any server side support. Normally, I would expect that when I am visiting hn-scroll.netlify.com, any API calls to hacker-news.firebaseio.com would get blocked by the browser to prevent cross-origin request. But your app does work fine and the source code at https://github.com/ivancuric/hn-scroll/blob/master/src/sw.js also seems to be working fine.
How is this app able to make cross-origin request? Can someone explain the security principles behind this to me?
The interesting number paradox applies to natural numbers, not real numbers.
> Alternatively, being the smallest in the set of uninteresting numbers does not make a number interesting
You are taking this too seriously. :-) Everyone would agree that "interesting" is subjective. This is supposed to be a humorous paradox, not a mathematical fact!
This! One of my pet peeves is when someone recommends a software and then someone else looks at its GitHub commits or last release date and claims that the project is unmaintained because there has been no activity in it for a while.
Some projects do not need any maintenance. They work as is. Lack of activity does not imply bad software.
Since this article lays so much emphasis on C, I have an honest question to everyone. What is a good way for a beginner to learn C in the current time? The minefield of undefined behavior is really overwhelming to a beginner. Are there any good resources that teach C the right way with good advice and best practices to navigate the UB minefield?