Readit News logoReadit News
Mogzol commented on JSDoc is TypeScript   culi.bearblog.dev/jsdoc-i... · Posted by u/culi
afavour · 8 days ago
ReturnType is TypeScript, no? You’re using JSDoc to express but it’s a TypeScript type.
Mogzol · 8 days ago
Isn't that the whole point of the article? For all intents and purposes, JSDoc IS TypeScript
Mogzol commented on Size of Life   neal.fun/size-of-life/... · Posted by u/eatonphil
smallerfish · 12 days ago
I like it, but the switch from metric to inches is confusing, and I think introduces a bug - there's no way a sea snail is 5-6 neurons high.
Mogzol · 12 days ago
You can change the units in the top corner. It defaults to metric for me, but if your browser language is "en-US" you get imperial by default.
Mogzol commented on Size of Life   neal.fun/size-of-life/... · Posted by u/eatonphil
arunc · 12 days ago
It was great until Sea snail appeared in inches. Transitioning from micrometer/milliliter to inches is pretty rough
Mogzol · 12 days ago
For me it appears in millimetres, but I'm in Canada not the US. I'm guessing the default is chosen based on your browser's language. You can change the units in the top right.

Edit: I checked the page's code and it does indeed set the units based on language. If your language is "en-US" you get imperial by default, everyone else gets metric.

Mogzol commented on Voyager 1 is about to reach one light-day from Earth   scienceclock.com/voyager-... · Posted by u/ashishgupta2209
gregable · a month ago
Well voyager depended on a solar system alignment that only happens every 175 years(?) so it'd be a while before we get that same advantage again. The longer it takes the further of a head start voyager gets?
Mogzol · a month ago
The headstart doesn't really matter, anything faster than Voyager will catch up eventually
Mogzol commented on Google Antigravity   antigravity.google/... · Posted by u/Fysi
CuriouslyC · a month ago
We need a VS Code fork that just exposes more interfaces, and does nothing else. Then all these forks could just use that with power extensions, and it'd force Microsoft to change its behavior.
Mogzol · a month ago
there are now 15 competing standards
Mogzol commented on Archive or Delete?   email-is-good.com/2025/11... · Posted by u/speckx
Mogzol · a month ago
I keep emails in my inbox until they are no longer relevant (which may be immediately for some emails) and then 99.9% of the time I delete them. I archive maybe a half dozen emails a year, and delete the rest.
Mogzol commented on NPM flooded with malicious packages downloaded more than 86k times   arstechnica.com/security/... · Posted by u/jnord
sroussey · 2 months ago
It’s just security theater in the end. You can just as easily put all that stuff in the package files since a package is installed to run code. You have that code then do all the sketchy stuff.

What’s needed is an entitlements system so a package you install doesn’t do runtime stuff like install crypto mining software. Even then…

Mogzol · 2 months ago
A package, especially a javascript package, is not necessarily installed to run code, at least not on the machine installing the package. Many packages will only be run in the browser, which is already a fairly safe environment compared to running directly on the machine like lifecycle scripts would.

So preventing lifecycle scripts certainly limits the number of packages that could be exploited to get access to the installing machine. It's common for javascript apps to have hundreds of dependencies, but only a handful of them will ever actually run as code on the machine that installed them.

Mogzol commented on Apple M5 chip   apple.com/newsroom/2025/1... · Posted by u/mihau
skor · 2 months ago
no escape key, that's one reason
Mogzol · 2 months ago
My 2019 MBP has a touch bar and a physical escape key, so at least some models did have one. I agree not having it would make the touch bar way worse. As it is I don't mind it.
Mogzol commented on Vectrex Mini   vectrex.com/vectrex-mini-... · Posted by u/rbanffy
aitchnyu · 2 months ago
We still get cathode ray oscilloscopes. Apparently the og has a grid screen. Wonder what it costs to get a CRT maker to get custom dimensions, phosphor colors, curvature etc?
Mogzol · 2 months ago
> We still get cathode ray oscilloscopes

Do we? I was under the impression that CRTs were not being manufactured anywhere anymore. I could definitely be wrong, but I couldn't find anything with a quick search.

Mogzol commented on Snapdragon X2 Elite ARM Laptop CPU   qualcomm.com/products/mob... · Posted by u/wmf
cmrdporcupine · 3 months ago
How's the WSL2 support on these Aarch64 Windows systems?

I'm not a huge fan of working in WSL, because I actively dislike the Windows GUI.

Mogzol · 3 months ago
I have both Ubuntu and Docker Desktop set up in WSL2 on my X Elite laptop, they both work great, no issues (at least none that I have run into).

u/Mogzol

KarmaCake day474April 20, 2016View Original