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 2y ago · link · parent

13B euro is 14.31B usd, so that’s 8.62%

(still a good chunk)

comment 2y ago · link · parent

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?

comment 2y ago · link · parent

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...

comment 2y ago · link · parent

I did get a refund thankfully

comment 2y ago · link · parent

I haven’t bought a Windows PC in 10 years so I thought it was time to upgrade the old tower I had in the closet.

I stumbled across Mini PCs and was surprised at how cheap they were so I brought one.

Turns out they were lying about the clock speed, citing 3.4Ghz when it was actually 1.7GHz.

I contacted their support to say the description was wrong but they said it was right. Don’t buy from KAMRUI.

comment 2y ago · link · parent

I think many Americans rate 5 stars if the business met all their expectations and then remove a star for each unsatisfactory experience.

Reviews look something like “4 stars: I removed a star because...”

comment 2y ago · link · parent

You can configure tsconfig.json to read JSDoc and error on invalid types so that you effectively get the same behavior as writing typescript.

comment 2y ago · link · parent

The price of their cars did drop.

For example, look at the price of the Model Y over that time period.

https://web.archive.org/web/20221129054722/https://www.tesla...

https://web.archive.org/web/20240701220914/https://www.tesla...

comment 2y ago · link · parent

Not npm but it’s used by pnpm for awhile.

https://github.com/pnpm/pnpm/issues/1505

40.

TypeScript 5.5(devblogs.microsoft.com ↗)

7 points · by styfle · 2y ago · 3 comments

comment 2y ago · link · parent

> The rules come after the agency handed Southwest Airlines a record $140 million fine for its operational meltdown during the 2022 holiday travel season.

I was one of the travelers impacted by that meltdown. I waited hours and hours in the airport because of “delays”. One by one, every flight was cancelled. Southwest made everyone wait in a single file line to rebook their flight a week or two out (of course after Christmas). A couple days later they cancelled that flight too. So they issued vouchers. No way I would use a voucher for an airline that can’t get it together. I’m glad there will be cash refunds now so folks don’t get trapped with a bad airline.

comment 2y ago · link · parent

Don’t forget the Node.js and io.js fork. That’s one where the fork basically became the blessed branch and the two communities merged back together.

comment 2y ago · link · parent

> By adding a benchmarking script to my continuous integration and archiving the results, it was easy for me to identify when my measurements changed.

This assumes CI runs on the same machine with same hardware every time, but most CI doesn’t do that.

comment 2y ago · link · parent

This works for me, but many people who run their own business expect calls from unknown numbers since they are potential customers.

I’ve also had it backfire when my doctors office calls and they don’t use the same number that I called them from.

comment 2y ago · link · parent

This reminded me of the De Bruijn Sequence card trick.

https://sites.math.washington.edu/~billey/classes/562.winter...

comment 2y ago · link · parent

Also G+ made your email address public to your friends/circles/etc and I don’t think there was a way to disable it.

comment 2y ago · link · parent

> I'd refine some things if I were making a new language.

Which parts would you change?

comment 2y ago · link · parent

Sounds like a job for JSON Schema

https://json-schema.org

comment 2y ago · link · parent

The article doesn’t seem to support your claim.

“After the ban came into force, global concentrations of CFC-11 declined steadily until about 2012. However, last year scientists discovered the pace of that slowdown slowed by half between 2013 and 2017. Because the chemical is not naturally occurring, the change could only have been produced by new emissions.”

“If emissions do not decline, it will delay the recovery of the Antarctic ozone hole, possibly for decades”

comment 3y ago · link · parent

I think the bigger thing that’s overlooked is that nearly every item today is priced assuming the 3% fee from credit cards.

So by not using a credit card, you’re not getting the 3% cash back (or rewards equivalent) and therefore paying more.

There are a handful of places that offer a discount if you pay with cash (or rather a fee if you pay with a card) in order to make these fees clear to the buyer, but it’s becoming rare. Usually gov websites like DMV or mom/pop shops.

comment 3y ago · link · parent

No, the jet was only in the commercial (according to the documentary).

They thought they had a case since Pepsi “forgot” to put a fine-print disclaimer at the bottom like most other commercials.

comment 3y ago · link · parent

The docuseries has a lot more information than the Wikipedia article.

For example, interviews with some of the people who worked on that Pepsi commercial.

Not every movie is watched for the outcome alone :)

comment 3y ago · link · parent

Are any of the big email tools planning to add support for ActivityPub? They already have your corp domain so it feels natural. For example, I could see a future where MS Exchange has the ability to federate with Mastodon and optionally enable/disable employees through ActiveDirectory, etc.

comment 3y ago · link · parent

Very cool!

I’ve been using Vercel’s AI Playground to ask questions to multiple LLMs at once (currently supports 24, not 60 however)

https://sdk.vercel.ai

comment 3y ago · link · parent

I'm pretty sure that submitting a duplicate link is automatically turned into an upvote on the original

56.

TypeScript 5.2(devblogs.microsoft.com ↗)

47 points · by styfle · 3y ago · 12 comments

comment 3y ago · link · parent

Yeah, I wouldn’t be surprised if JXL gets implemented in Chrome after Safari and Firefox implementations are stabilized.

comment 3y ago · link · parent

Nice explanation!

Although I’m surprised there is no mention of the best solution for iterating both keys and values:

for (const [key, val] of Object.entries(obj)) { console.log(key, val) }

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

comment 3y ago · link · parent

Assuming battery tech advances, how long would you expect SF<>LA trip to take?

comment 3y ago · link · parent

“After you finish eating your Eggos, don’t forget to clean up your Legos”
12345
18