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

Curious if that’s because AI provides better answers?

It’s certainly not quicker answers, right?

comment 3y ago · link · parent

I came here to post this

comment 3y ago · link · parent

There's a section in the article called "Breaking Changes and Deprecations"

> TypeScript 5.0 has a minimum version requirement of at least Node.js 12.20 and later

https://devblogs.microsoft.com/typescript/announcing-typescr...

comment 3y ago · link · parent

> Typescript had experimental decorator support well before Angular Team moved from AtScript

Do you have a source for this. My memory isn't so good but I seem to remember that the Angular team pushed to get this Stage 0 proposal implemented even though the TypeScript team usually waits until Stage 2 or 3 to implement.

comment 4y ago · link · parent

The as-fetch readme says undici is faster (which is the implementation of fetch that shipped in Node.js 18).

So 7 weekly downloads sounds about right for an unknown package that is slower.

comment 4y ago · link · parent

Thanks for doing this!

I reported typescript install size issue back in 2018 and changing to modules seemed to have the biggest impact here!

https://github.com/microsoft/TypeScript/issues/23339

For anyone curious, TS 1.0 was 7MB and today it’s 65MB.

https://packagephobia.com/result?p=typescript%401.0.1%2Ctype...

Really excited to see this number move in the downward direction for a change :)

comment 4y ago · link · parent

Instead of creating a new service, it would be better if this read from https://keybase.io since those mappings already exist.

comment 4y ago · link · parent

ISR will give you static-like speeds

https://vercel.com/docs/concepts/incremental-static-regenera...

comment 4y ago · link · parent

See this issue: https://github.com/vercel/og-image/issues/148

comment 4y ago · link · parent

Yeah that or a personal website which often has links to the same person on all social networks.

comment 4y ago · link · parent

Also this https://news.ycombinator.com/item?id=14537747

comment 4y ago · link · parent

The maintainer of uBlock Origin posted a detailed comment about converting from v2 to v3 here:

https://github.com/uBlockOrigin/uBlock-issues/issues/338#iss...

It’s really worth a read to better understand the pros and cons of this new API.

comment 4y ago · link · parent

Must be a fork because I found my own commits haha

https://github.com/oracle/graaljs/commits?author=styfle

comment 4y ago · link · parent

Is GraalJS a fork of Node.js?

Because I doubt Ry would write this article if he was one of the top contributors to GraalJS which is what this graph says:

https://github.com/oracle/graaljs/graphs/contributors

comment 4y ago · link · parent

It seems odd to account for hard water in one appliance but not another.

I’ve lived in places with hard water and most people have a water softener right next to their water heater so that all water to all appliances in the house is softened.

comment 4y ago · link · parent

> after a certain time every night they insisted everyone in the family put their phones at the charging station

This is really great advice for anyone of any age. My sleep has improved a lot since I started leaving my phone downstairs while I sleep. (Bedroom is upstairs)

Instead of reading hacker news late at night, I might read a book or talk to my wife. Instead of waking up to my phone’s alarm, I wake up to an analog clock’s alarm. I have no notifications to review until I’m ready and go downstairs.

comment 4y ago · link · parent

If you want to see even more alternatives, checkout this list

https://github.com/styfle/awesome-desktop-js

comment 4y ago · link · parent

I wonder how `<canvas>` would compare to `<img src="data:image/svg..."/>` instead

79.

TypeScript 4.6(devblogs.microsoft.com ↗)

8 points · by styfle · 4y ago · discuss

comment 4y ago · link · parent

I usually need the opposite, FORCE_COLOR=1, when non-TTY is detected but I still want colors.

comment 4y ago · link · parent

Yep

Here’s an example of SVG animation https://github.com/sindresorhus/css-in-readme-like-wat

Also see https://badgen.net which is another alternative to the original post.

comment 4y ago · link · parent

The nice thing is that most games don’t _feel_ underpowered on Switch. Sure the graphics don’t look as good but it’s not laggy in the games I’ve tried.

For example: Immortals Fenyx Rising is cross platform, but it feels smooth. I would rather play on Switch than other consoles so I can occasionally play while traveling. It’s really nice to have the same game, same save point, with same controller on the TV or on the go.

comment 4y ago · link · parent

There's a relevant spec issue here https://github.com/whatwg/fetch/issues/973

comment 4y ago · link · parent

There's a relevant spec issue you can follow here https://github.com/whatwg/fetch/issues/973

comment 4y ago · link · parent

Does this mean we could have a single binary for x86_64 linux instead of two (glibc and musl)?

x86_64-unknown-linux-gnu

x86_64-unknown-linux-musl

comment 4y ago · link · parent

TS type checking is on the roadmap

https://github.com/swc-project/swc/issues/571

comment 4y ago · link · parent

Looks really interesting!

Can TinyVG be converted to other image formats, such as PNG?

comment 5y ago · link · parent

I believe this is the other thread: https://news.ycombinator.com/item?id=29440457

comment 5y ago · link · parent

Are both running the same version of iOS?
12345
18