Better HN
topnewbestaskshowjobs
Log inSign up

styfle

1,940 karma · joined Sep 20, 2016 (10y ago) · 531 submissions

https://styfle.dev

[ my public key: https://keybase.io/styfle; my proof: https://keybase.io/styfle/sigs/k5Jx2P3fJ9JOZsHyU2TLChLetDsvmL2mHK7wJMj-nKk ]

Submissions

comment 4mo ago · link · parent

I hate to be this guy, but I opened then immediately closed this website because it wasn’t in dark mode.

comment 9mo ago · link · parent

Did you ever try to communicate with them?

https://en.wikipedia.org/wiki/Bluejacking

comment 1y ago · link · parent

This same blog posted yesterday and got flagged with “How I accidently created the fastest CSV parser ever made”

https://news.ycombinator.com/item?id=45400009

4.

Eliminating JavaScript cold starts on AWS Lambda(goose.icu ↗)

200 points · by styfle · 1y ago · 69 comments

comment 1y ago · link · parent

Slate is going to start closer to 28K now that the tax credit is gone (remember it’s not going into production until next year).

That said, $41K is still a big jump in comparison and it makes the Telo much closer to the price of a Model Y starting around $45K.

comment 1y ago · link · parent

I liked being able to “close” the issue once I unpacked the box.

comment 1y ago · link · parent

Correct. There’s no way you’re going to write every item inside the box on the box itself. And definitely not on every side of the box. Think cables and small items.

It only makes sense if you plan on unpacking over a year but if you unpack everything in a couple days then the system is not as useful.

comment 1y ago · link · parent

> This can be helpful even years later when you don’t unpack all boxes.

Indeed, this is one of the biggest reasons I tracked this information to begin with.

comment 1y ago · link · parent

I used GitHub issues as a form of project management to plan my wedding many years ago.

My wife was skeptical at first, but the ability to add labels, search, etc made it really easy to work together and accomplish the tasked we needed in time for the wedding.

The hardest part was creating a bookmark that links directly to the issue tracker.

Oh, I’ve also used GitHub issues to organize all the boxes in my most recent move. I would create an issue and the description would list all the contents of a box. Then I would write the issue number on the box. After moving, I could search GitHub to find that one thing I was looking for and know what box it was in.

comment 1y ago · link · parent

The article explains that they were using the old Vercel price and that the new price is much cheaper.

> On Feb 18, 2025, just a few days after we published this blog post, Vercel changed their image optimization pricing. With the new pricing we'd not have faced a huge bill.

comment 1y ago · link · parent

Why use that over *.localhost which has been available since 1999 (introduced in RFC 2606)

comment 1y ago · link · parent

Both offer a free plan but Package Phobia is sponsored meaning its on the paid plan but getting it for free.

Kinda like a skateboarder might be sponsored and get a skateboard for free even though others pay for the same item.

Package Phobia started out on the free plan but it turns out its quite popular, serving over 5 million requests per month. A cache miss (which is frequent given the cardinality of packages + versions), it can take 30 seconds to install a package and measure its size.

There's also a public API which tools like Socket use to check the size of every npm package.

https://x.com/styfle/status/1826296197566644497

comment 1y ago · link · parent

The word "publish" is from "npm publish" and I don't think there is a better term to switch to.

https://docs.npmjs.com/cli/v8/commands/npm-publish

I like your idea about showing the information below the fold so I fixed it, thanks!

https://github.com/styfle/packagephobia/pull/1069

comment 1y ago · link · parent

See the readme on github for a full comparison

comment 1y ago · link · parent

See this issue:

https://github.com/pastelsky/bundlephobia/issues/40

comment 1y ago · link · parent

If you find a bug, please report the issue on GitHub and I’ll take a look, thanks!

comment 1y ago · link · parent

They are orthogonal tools.

Checkout the readme for a comparison against other tools.

https://github.com/styfle/packagephobia

comment 1y ago · link · parent

It does apply to JS if you use a bundler that has “tree-shaking” also known as “dead code elimination”.

comment 1y ago · link · parent

True, Python has a larger std lib, but Node.js has increased a lot in the last two years.

Although it’s not so much Python that’s influencing Node.js but more like Deno and Bun that try to include everything but the kitchen sink.

comment 1y ago · link · parent

What a surprise!

I’m the author of Package Phobia and it’s been largely unchanged since 2018.

If you’re looking for more details, checkout the readme on GitHub.

Let me know if you have questions, thanks!

https://github.com/styfle/packagephobia

comment 1y ago · link · parent

Its not strange, its very common. Its called "bootstrapping".

> Bootstrapping is a fairly common practice when creating a programming language. Many compilers for many programming languages are bootstrapped, including compilers for ALGOL, BASIC, C, C#, Common Lisp, D, Eiffel, Elixir, Go, Haskell, Java, Modula-2, Nim, Oberon, OCaml, Pascal, PL/I, Python, Rust, Scala, Scheme, TypeScript, Vala, Zig and more.

https://en.wikipedia.org/wiki/Bootstrapping_(compilers)

comment 1y ago · link · parent

DurationFormat looks cool but it didn’t behave as I expected.

https://github.com/tc39/proposal-intl-duration-format/issues...

comment 1y ago · link · parent

Congratulations!

I was hoping 1.0 would mean CMD+F search would work, but looks like that was pushed back to a later release unfortunately.

https://github.com/ghostty-org/ghostty/issues/189#issuecomme...

comment 1y ago · link · parent

Incredible!

Although I couldn’t help but notice that the original says 3 “ha ha ha” but the spam conference said 4.

Yes the original subtitles have 4 but they only say 3 :)

25.

Vercel acquires Grep to accelerate code search(vercel.com ↗)

4 points · by styfle · 2y ago · 1 comment

comment 2y ago · link · parent

It’s because Google doesn’t use Node.js or any JS outside the browser, so they assume low browser usage is low usage in general which isn’t true.

https://github.com/search?q=BigInt+language%3ATypeScript&typ...

https://github.com/search?q=BigInt+language%3AJavaScript&typ...

comment 2y ago · link · parent

I used BigInt to implement xxhash recently.

comment 2y ago · link · parent

This looks really nice!

I hacked together a script to accomplish a similar thing.

In my case, I only consider myself “busy” when my camera is on, meaning no one should enter my office.

https://github.com/styfle/bluetooth-lightbulb-alert

comment 2y ago · link · parent

But does it work on macOS?

(The latest CS removed support for macOS)

12345
18