Better HN
topnewbestaskshowjobs
Log inSign up

ramones13

120 karma · joined Oct 22, 2013 (13y ago) · 36 submissions

Submissions

comment 1y ago · link · parent

I can’t comment on this one specifically, but SVG animations take notably more CPU usage to render/animate in Chromium browsers compared to GIF or WAAPI. And they block the main thread for at least some animations.

comment 1y ago · link · parent

Software from big companies can be made with love too?

comment 1y ago · link · parent

If you ever want to go all out with a musical light show, I have some recommendations here: https://aluhrs.com/blog/holiday-lights-electronics/

For your specific question, Wally’s Lights is great, and like others have mentioned, something running WLED to control them is a great choice.

comment 1y ago · link · parent

I didn’t say don’t use libraries at all. There’s a wide spectrum between rolling your own everything and putting a massive abstraction layer framework between you and the platform.

comment 1y ago · link · parent

My experiences don’t really align with yours - most people are playing “follow the leader” with tech - “X uses Y, so we should to” and that’s it.

To your point though - use the platform. Vanilla HTML, CSS, and JS. All of that will be reusable no matter where you pivot and not lock you in to a pattern that might not work well for where you land.

comment 1y ago · link · parent

To your third point - the author would recommend doing research and prototyping with all the options you might consider based on your use-cases. He actively avoids being prescriptive in generic contexts like this because he wants to avoid arbitrary dogmatic solutions (like React tends to be).

Source: I work closely with him and have been frustrated with this stance until I saw people using Next and Remix for things like landing or contact pages.

comment 2y ago · link · parent

Cool project, a mild pet peeve with this type of thing - I have to read 75% of the README before I find out what it even does. The first bits make a huge assumption about what the reader knows.

comment 2y ago · link · parent

There’s a pretty thorough post covering this here - https://infrequently.org/2022/03/cache-and-prizes/

comment 2y ago · link · parent

I don’t need 90% of my IDE features.

For me personally, it’s a fantastic way to learn. I could definitely see people just using it and not actually learning, but to each their own.

comment 2y ago · link · parent

I’ve had a project I’ve been doing for ~6 months learning python through Copilot+ChatGPT. It feels like any other project that accrues technical debt, but that debt is just a lot weirder. It was rough at first, but refactoring has gotten a lot better recently with bigger context sizes.

comment 2y ago · link · parent

Which hits the problem pretty well, right? To do something efficiently on an iPhone, buy a Mac.

comment 2y ago · link · parent

Speedometer 3 is designed to handle the real world you describe. Edge’s post has some details - https://blogs.windows.com/msedgedev/2024/03/11/contributing-...

comment 3y ago · link · parent

"relies on Edge" is a bit inaccurate. WebView2 and Edge ship from the same codebase, and are hardlinked if they both exist, but are separate from an install/uninstall perspective.

Source: https://learn.microsoft.com/en-us/microsoft-edge/webview2/co...

comment 3y ago · link · parent

It's not Electron, it's using Edge WebView2 which is drastically different from MSHTML.dll in many ways. If you have it installed you can see the msedgewebview2.exe processes in Task Manager.

comment 3y ago · link · parent

It's not Electron, it's using Edge WebView2 - https://developer.microsoft.com/en-us/microsoft-edge/webview...

If you have it installed you can see the msedgewebview2.exe processes in Task Manager.

comment 3y ago · link · parent

You might want to check out CapacitorJS - https://capacitorjs.com/

It’s more web than RN and depending on what you’re doing might not feel as native, but it’s pretty easy to make a solid app with it.

comment 3y ago · link · parent

That seems like a lot of gross simplifications with hindsight bias.

comment 3y ago · link · parent

Metaverse? Llama? They’re doing both.

How well they’re doing those is up for debate, but they’re doing interesting stuff too.

comment 3y ago · link · parent

I also switched from Monica because of this. I love the features, but no iOS syncing was too painful of a gap.

comment 3y ago · link · parent

Talking about “actually” learning something feels very “no true Scotsman”. You could replace GPT in your comment with StackOverflow, Google, or a textbook and they’d read like the same criticism, right? Referencing something until you remember it is normal learning?

comment 3y ago · link · parent

It's pretty easy to find that the example I gave isn't gamed... A cursory search on GitHub can find a couple examples like dotenv [1] and npm's cli [2] both use it via an older version of nodejs/readable-stream [3].

There's also the classic left-pad debacle - https://github.com/left-pad/left-pad/issues/4

[1] - https://github.com/motdotla/dotenv/blob/master/package-lock....

[2] - https://github.com/npm/cli/blob/latest/package-lock.json

[3] - https://github.com/nodejs/readable-stream/

comment 3y ago · link · parent

This is how you end up with massive tech debt though right? Replacing a dependency is going to be more expensive than writing something yourself, especially if it’s been around a long time.

comment 3y ago · link · parent

You would think that, but this seven line NPM package has 68M downloads a week - https://www.npmjs.com/package/isarray

comment 3y ago · link · parent

IMO, aggressive npm install is the superset of the framework problem. We code review every line written by other developers at our company with a fine toothed comb, but will add a dependency from a massive advertising company or some dude in Russia without a second thought. It’s wild.

comment 3y ago · link · parent

If you've got specific feedback they have a GitHub repo - https://github.com/MicrosoftEdge/DevTools/issues/

comment 3y ago · link · parent

I’m guessing you’ve got a nice $1k+ dev box and high-speed internet?

comment 3y ago · link · parent

That’s part of the reason that “it’s to stop the bots” is BS. Academia and other similar uses will pay or just stop. Bots and other malicious uses will find work-arounds and just change where the game of whack-a-bot is being played.

comment 3y ago · link · parent

Nolan Lawson did a good write up comparing browsers - https://nolanlawson.com/2022/06/22/style-scoping-versus-shad...

His talk here is also a great deep dive - https://nolanlawson.com/2023/01/17/my-talk-on-css-runtime-pe...

comment 3y ago · link · parent

I helped out with this post a bit - The examples he goes through are taken from actual performance investigations done on Microsoft apps that contributed to this feature being developed.

It’s not trying to say everyone should adopt those optimizations, but intended to be a hands-on “try it out” without the reader needing to have their own app handy :)

comment 4y ago · link · parent

WebView2 updates on the same cadence as Edge. Major updates every four weeks, security updates as needed.
12