Recent submissions

Comment · 3 years ago
For many people, light prevents melatonin production. Maybe not for everyone, also know an old friend in school who can sleep through bright sun right in the face.
Comment · 3 years ago
The figure is clear. There is NOTHING even comes close to replace $ in terms of volume. Remeber, also took US Dollar a long time to replace the Pound as the reserve currency.

Whenever country like Japan stops using dollar to settle oil purchase, it is another step. With currently development around the multi-polar world, it is likely not one single currency, rather several regional block reserve currencies will arise to replace the Dollar.

Comment · 3 years ago
There is the 1k jsx lib: https://nanojsx.io

Then again, if we are at this road now again, maybe they should just bring a lighter version of e4x as part of ES/JS.

Comment · 3 years ago
>I used to rant against using socket.io at every possible opportunity. The library has (had) crazy bugs in its reconnection code. In the right circumstances the library would violate ordering and delivery guarantees, or it would lie about messages being received when they hadn't been. But no matter how much I ranted about it, and no matter how many hundreds of issues there were on github, far more people used socket.io than the (much more reliable) alternatives because socket.io had a pretty website, good documentation and it was taught at coding bootcamps. I think the only reason its not as popular now is that you don't need it now that websockets are available everywhere.

That is true. So with the modern browsers now days latest Chrome/Firefox (both desktop and mobile) can support websocket seamlessly? I guess socket.io is kinda like the jquery of ws then? It will take some time to phase out.

Comment · 3 years ago
Comment · 3 years ago
>Crimes are committed all the time using phones and yet, we do not allow phone companies to monitor, record and report the content of pur phone conversations. And they can't just add a line in a terms of service, they have no legal right to do it. (Ignore the issue of Metadata, I mean the audio portions of our calls)

Are you sure about that? It is my understanding all telco traffic are monitored. Some countries may have laws that prevent real time conversation/sms to be look at for a few months.

Comment · 3 years ago
we don't really have a over population issue, unless some how we figured prolong the life span of all people in the next few decade. Countries like China will have population deflation problem in the coming decades.
Comment · 3 years ago
For sure, it doesn't matter where you put it if it is in one place. If one look at company like superbase, and their product like PostgresREST. It is just way faster way to develop API, and it will scale too. Often it is about how one 'horizontally' scale.
Comment · 3 years ago
This comes a lot from people who want to "horizontal" scaling. The camp that thinks everything should be in the middle tier (Java/C#/). Also cost on AWS is cheap for those, and expensive for RDS. In the end db will be bottle neck. Of course DevOp ppl will can also create cache layer etc to lessen the stress to the db.
Comment · 3 years ago
I linked in the sib comment. here it is again: https://stallman.org/facebook-presence.html

Keep in mind, since then FB has disabled the tor for mobile link that Stallman recommended.

Comment · 3 years ago
Of course, I should clarify, it is his recommendation if organisations who need a facebook presence, as many small businesses or event organizers struggle to not have a FB/instagram presence.
Comment · 3 years ago
Comment · 3 years ago
Glad someone mentioned this!!! It is one of good reason to self-host! And only send sneak peek to social media sites. Stallman has a recommendation similar to that on what to post to FB.

Only use social media as a notification/publishing/advertising system, post important stuff on your own site.

Comment · 3 years ago
Seen that on mattermost, it is poorly written React or other SPA. It is one of reason why SPA get so much hate around.
Comment · 3 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton