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 PR that converts the TypeScript repo from namespaces to modules
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 :)

styfle··on Find your Twitter friends on Mastodon
Instead of creating a new service, it would be better if this read from https://keybase.io since those mappings already exist.
styfle··on We improved React loading times with Next.js
ISR will give you static-like speeds

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

styfle··on Show HN: Satori – Convert HTML and CSS to SVG
See this issue: https://github.com/vercel/og-image/issues/148
styfle··on Maigret: Collect a dossier on a person by username from thousands of sites
Yeah that or a personal website which often has links to the same person on all social networks.
styfle··on Bash one-liner to produce a list of HEX color codes that read like English words
Also this https://news.ycombinator.com/item?id=14537747
styfle··on Mozilla reaffirms that Firefox will continue to support current content blockers
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.

styfle··on Dear Oracle, Please Release the JavaScript Trademark
Must be a fork because I found my own commits haha

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

styfle··on Dear Oracle, Please Release the JavaScript Trademark
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

styfle··on Interest in heat pumps has increased dramatically in recent years
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.

styfle··on The high price we pay for social media
> 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.

styfle··on Tauri 1.0 – Electron Alternative Powered by Rust
If you want to see even more alternatives, checkout this list

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

styfle··on Show HN: HN Avatars in 357 bytes
I wonder how `<canvas>` would compare to `<img src="data:image/svg..."/>` instead
styfle··on No_color
I usually need the opposite, FORCE_COLOR=1, when non-TTY is detected but I still want colors.
styfle··on Show HN: Supershields.io – smart, Lua-powered SVG status badges
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.

styfle··on The Nintendo Switch has now outsold the Wii
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.

styfle··on Fetch API has landed into Node.js
There's a relevant spec issue here https://github.com/whatwg/fetch/issues/973
styfle··on Fetch API has landed into Node.js
There's a relevant spec issue you can follow here https://github.com/whatwg/fetch/issues/973
styfle··on Porting Rust's Std to Rustix
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

styfle··on Speedy Web Compiler – a fast TypeScript/JavaScript compiler
TS type checking is on the roadmap

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

styfle··on TinyVG: A challenger to the throne of vector graphics
Looks really interesting!

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

styfle··on Web Workers API
I believe this is the other thread: https://news.ycombinator.com/item?id=29440457
styfle··on One of these JPEGs is not like the other
Are both running the same version of iOS?
styfle··on Canistilluse.com
Parody aside, we actually need something like this.

Here’s a non-exhaustive list of breaking changes to the web platform:

https://github.com/styfle/breaking-changes-web

styfle··on Deno on MDN
Also see TextEncoder or WebAssembly which shows the version support of Node.js and others

https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder...

https://developer.mozilla.org/en-US/docs/WebAssembly#browser...

styfle··on New mystery AWS product ‘Infinidash’ goes viral despite being entirely fictional
I learned the power of a fake tweet last month[1].

Some backstory: I found that Twitter’s use of emoji is not immediately recognizable because they render their own image rather than relying on the native implementation. So I tweeted what appeared to be Twitter hash flags for hex colors by using square emoji colors. I went to bed after it got 1 or 2 likes. And in the morning I found that hundreds of people thought it was real.

[1] https://twitter.com/styfle/status/1401002863787192322?s=20

styfle··on Reddit’s disrespectful design
A somewhat counterpoint to the first example in the article:

I created a Reddit account (11 years ago) without an email address and forgot the password.

Now there is no way to reset the password and recover the account.

I never bothered to create a new account so I just stopped using Reddit in most cases.

styfle··on FaceTime is coming to Android and Windows via the web
Looks like they’re using feature detection and Firefox is missing that feature

https://github.com/webcompat/web-bugs/issues/76550#issuecomm...

styfle··on Next.js 11
https://www.youtube.com/watch?v=ANikp1R8zX8
styfle··on Replit used legal threats to kill my open-source project
Indeed, there are a lot of options out there https://github.com/styfle/awesome-online-ide
← PreviousPage 3 of 15Next →