HNHacker News
TopNewBestAskShowJobs

styfle

1,940 karma · joined September 20, 2016

https://styfle.dev

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

submissionscomments
styfle··on Dark mode with web standards
I hate to be this guy, but I opened then immediately closed this website because it wasn’t in dark mode.
styfle··on What your Bluetooth devices reveal
Did you ever try to communicate with them?

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

styfle··on The Weird Concept of Branchless Programming
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

styfle··on Telo MT1
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.

styfle··on GitHub issues is almost the best notebook in the world
I liked being able to “close” the issue once I unpacked the box.
styfle··on GitHub issues is almost the best notebook in the world
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.

styfle··on GitHub issues is almost the best notebook in the world
> 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.

styfle··on GitHub issues is almost the best notebook in the world
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.

styfle··on The Cost of Being Crawled: LLM Bots and Vercel Image API Pricing
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.

styfle··on .localhost Domains
Why use that over *.localhost which has been available since 1999 (introduced in RFC 2606)
styfle··on PackagePhobia – Find the cost of adding a new dev dependency to your project
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

styfle··on PackagePhobia – Find the cost of adding a new dev dependency to your project
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

styfle··on PackagePhobia – Find the cost of adding a new dev dependency to your project
See the readme on github for a full comparison
styfle··on PackagePhobia – Find the cost of adding a new dev dependency to your project
See this issue:

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

styfle··on PackagePhobia – Find the cost of adding a new dev dependency to your project
If you find a bug, please report the issue on GitHub and I’ll take a look, thanks!
styfle··on PackagePhobia – Find the cost of adding a new dev dependency to your project
They are orthogonal tools.

Checkout the readme for a comparison against other tools.

https://github.com/styfle/packagephobia

styfle··on PackagePhobia – Find the cost of adding a new dev dependency to your project
It does apply to JS if you use a bundler that has “tree-shaking” also known as “dead code elimination”.
styfle··on PackagePhobia – Find the cost of adding a new dev dependency to your project
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.

styfle··on PackagePhobia – Find the cost of adding a new dev dependency to your project
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

styfle··on A 10x Faster TypeScript
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)

styfle··on JavaScript Temporal is coming
DurationFormat looks cool but it didn’t behave as I expected.

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

styfle··on Ghostty 1.0
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...

styfle··on "All your base are belong to us" intro to my 2004 MIT Spam Conference talk
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 :)

styfle··on Should JavaScript be split into two languages?
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...

styfle··on Should JavaScript be split into two languages?
I used BigInt to implement xxhash recently.
styfle··on Busy Status Bar
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

styfle··on Playable Counter-Strike Diffusion World Model (trained on 2x4090, 5M frames)
But does it work on macOS?

(The latest CS removed support for macOS)

styfle··on Show HN: How much is 13B euros?
13B euro is 14.31B usd, so that’s 8.62%

(still a good chunk)

styfle··on OrbStack: The fast, light, and easy way to run Docker containers and Linux
I have a machine with Colima and don’t want to bork it if I try Orbstack.

I think I used “brew install docker docker-compose colima” and then “colima start”.

Is “brew install orbstack” a drop in replacement for colima or does it install other things that might conflict?

styfle··on Chrome is entrenching third-party cookies that will mislead users
Does Google expect other browsers to just copy their list[0]?

Or are developers supposed to submit their related domains to each browser and they all have their own list to maintain?

This sounds like HSTS.

[0]: https://github.com/GoogleChrome/related-website-sets/blob/ma...

Page 1 of 15Next →