Recent submissions

Comment · 3 months ago
Likely. I did one time a creatine loading week of 30gr a day at 100kg body weight and I had to drink 7L of water to not feel like I have a hangover.
Comment · 3 months ago
I think loading the big wordlist (279496 words as of now) is a waste of bandwidth as you only need to load permutations of the words in the selected challenge (e.g. you don't need "ABANDONEES" if you don't have a word with those letters).
Comment · 11 months ago
The links are using images instead of texts in the footer, which is well not ideal as they are not searchable.
Comment · 1 year ago
While it does not use a commonly used "framework" it uses many libraries and likely has its own custom framework.

In the past we used http://microjs.com/ and similar to find small libs to work with when we threw together marketing websites, not sure how maintained that list is nowadays but the idea is that you can make websites like lego, sometimes you don't need a whole box of Eiffel tower to make a little tree.

If your functionality is well thought out and not super complicated, don't have 10s or 100s of devs on the same project then working without a well known framework could make sense, otherwise there can be steeper learning curve when onboarding new devs, scope creep / bloat, etc that will likely cause issues down the road.

To learn about this you could try to replicate for example the mentioned Obsidian by yourself and research solutions for all the issues you run into, e.g. minimal routing, custom view renders, reactivity, performance, etc.

Comment · 1 year ago
Rationale is likely the requirements of age verification rules by UK, some US states, etc.

We could likely see a bit more of these data leaks in the future I guess, due to how there are more and more countries/states adopting this.

Comment · 1 year ago
I think all public package registries have this problem as it's not unique to npm.

The "blind" auto updating to latest versions seems to be also an issue here, simply you cannot trust it enough as there is (seemingly) no security vetting process (I mean if you get obfuscated gibberish pushed into a relatively sanely written codebase it should ring some alarms somewhere).

Normally you'd run tests after releasing new versions of your website but you cannot catch these infected parts if they don't directly influence the behavior of your functionality.

Comment · 1 year ago
Seems like people already forgot about Jia Tan.

By the way why doesn't npm have already a system in place to flag sketchy releases where most of the code looks normal and there is a newly added obfuscated code with hexadecimal variable names and array lookups for execution...

Comment · 1 year ago
You also accumulate screen time if you are using navigation while commuting, etc. I easily rack up 2 hours daily just from driving to my workplace and back home, so there are definitely some "passive" ways to increase those numbers.

I think focusing on numerical stats here is also a bit of a problem and while making these guardrails might help some people but the main issue should be addressed (overconsumption/addiction).

I wonder by reducing the screen time of the phone, how the screen time of the other devices (computer/tv/etc) changed.

Comment · 1 year ago
I just use .npmrc with save-exact=true + lockfile + manual updates, you can't be too careful and you don't need to update packages that often tbh.

Especially after the fakerjs (and other) things.

Comment · 1 year ago
Comment · 1 year ago
Comment · 1 year ago
I've been taking "Opti-Men" from Optimum Nutrition for like 10 years now and it seems to have 50mg in a (full) serving that I take.

Since B6 is water soluble doesn't it mean most of it might just leave our body if not needed? (No storage in fat)

Comment · 1 year ago
Comment · 1 year ago
I still have some ptsd from payment gateway integrations via iframes about 6-7 years ago. If you thought SPAs are bad by themselves for history tracking imagine those banking iframes randomly adding more entries via inside navigation/redirection that you have to track manually.
Comment · 1 year ago
I think web assembly can be comparable, e.g. unity/unreal/godot can compile to the browser pretty easily.

The problem is that each of these apps can be quite bloated and in the tens of MBs range not the usual single digit MB.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton