Readit News logoReadit News
genshii commented on Anthropic acquires Bun   bun.com/blog/bun-joins-an... · Posted by u/ryanvogel
Jarred · 15 days ago
I work on Bun.

Happy to answer any questions

genshii · 15 days ago
Hi Jarred, thanks for all your work on Bun.

I know that one thing you guys are working on or are at least aware of is the size of single-file executables. From a technical perspective, is there a path forward on this?

I'm not familiar with Bun's internals, but in order to get the size down, it seems like you'd have to somehow split up/modularize Bun itself and potentially JavaScriptCore as well (not sure how big the latter is). That way only the things that are actually being used by the bundled code are included in the executable.

Is this even possible? Is the difficulty on the Bun/Zig side of things, or JSC, or something else? Seems like a very interesting (and very difficult) technical problem.

genshii commented on Incus-OS: Immutable Linux OS to run Incus as a hypervisor   linuxcontainers.org/incus... · Posted by u/_kb
genshii · a month ago
I used Proxmox for years to run a fairly comprehensive homelab, and a few months ago replaced the entire thing with Incus (on a debian host, haven't tried IncusOS yet). Incus is amazing and it makes so many things so much easier compared to Proxmox.

One thing in particular is permissions in unprivileged containers. In Proxmox, you have to do a bunch of somewhat confusing ID mapping. In Incus, it's as simple as setting "shift=true".

Also the profile system in Incus is really powerful and allowed me to deduplicate a ton of config.

genshii commented on     · Posted by u/_dcez
genshii · a month ago
Maybe it's just too early in the morning for me, but I genuinely can't tell if this is satire or not.
genshii commented on Zed's Pricing Has Changed: LLM Usage Is Now Token-Based   zed.dev/blog/pricing-chan... · Posted by u/meetpateltech
morgankrey · 3 months ago
We have a significant investment underway in edit predictions. We hear you, more soon.
genshii · 3 months ago
That's great to hear, thanks!
genshii commented on Zed's Pricing Has Changed: LLM Usage Is Now Token-Based   zed.dev/blog/pricing-chan... · Posted by u/meetpateltech
genshii · 3 months ago
I'm personally looking forward to this change because I currently pay $20/month just to get edit prediction. I use Claude Code in my terminal for everything else. I do wish I could just pay for edit prediction at an even lower price, but I can understand why that's not an option.

I'm curious if they have plans to improve edit prediction though. It's honestly kind of garbage compared to Cursor, and I don't think I'm being hyperbolic by calling it garbage. Most of the time it's suggestions aren't helpful, but the 10-20% of the time it is helpful is worth the cost of the subscription for me.

genshii commented on Which NPM package has the largest version number?   adamhl.dev/blog/largest-n... · Posted by u/genshii
EdSchouten · 3 months ago
So 19494 is the largest? That's far lower than I expected. There's nobody out there that has put a date in a version number (e.g., 20250915)?
genshii · 3 months ago
There are plenty of larger ones and plenty of ones that used the date as the version, but I was mainly curious about packages that followed semver.

Any package version that didn't follow the x.y.z format was excluded, and any package that had less published versions than their largest version number was excluded (e.g. a package at version 1.123.0 should have at least 123 published versions)

genshii commented on Which NPM package has the largest version number?   adamhl.dev/blog/largest-n... · Posted by u/genshii
nosefurhairdo · 3 months ago
The "winner" just had its 3000th release on GitHub, already a few patch versions past the version referenced in this article (which was published today): https://github.com/wppconnect-team/wa-version
genshii · 3 months ago
After double-checking some things, the real winner is actually: https://github.com/nice-registry/all-the-package-names

I made a fairly significant (dumb) mistake in the logic for extracting valid semver versions. I was doing a falsy check, so if any of major/minor/patch in the version was a 0, the whole package was ignored.

The post has been updated to reflect this.

genshii commented on Which NPM package has the largest version number?   adamhl.dev/blog/largest-n... · Posted by u/genshii
whilenot-dev · 3 months ago
> Time to fetch version data for each one of those packages: ~12 hours (yikes)

The author could improve the batching in fetchAllPackageData by not waiting for all 50 (BATCH_SIZE) promises to resolve at once. I just published a package for proper promise batching last week: https://www.npmjs.com/package/promises-batched

genshii · 3 months ago
Ah this is cool, thanks!
genshii commented on Which NPM package has the largest version number?   adamhl.dev/blog/largest-n... · Posted by u/genshii
oconnore · 3 months ago
This package also seems to just have a misbehaving github action that is in a loop.
genshii · 3 months ago
Hmm yeah, I decided that one counts because the new packages have (slightly) different content, although it might be the case that the changes are junk/pointless anyway.

u/genshii

KarmaCake day183September 30, 2022View Original