News for hackers. Stuff that matters.

ramones13

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.
Re:Microsoft Dependency Has Risks on Wednesday June 25, 2025 @07:46PM (#44382859)
Software from big companies can be made with love too?
Re:Ask HN: What are the best programmable holiday lights? on Sunday December 08, 2024 @11:26AM (#42357974)
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.

Re:If Not React, Then What? on Sunday December 01, 2024 @08:38PM (#42292287)
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.
Re:If Not React, Then What? on Sunday December 01, 2024 @02:10AM (#42286795)
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.

Re:If Not React, Then What? on Saturday November 30, 2024 @08:08PM (#42285324)
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.

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.
Re:Web Components Are Okay on Sunday September 29, 2024 @11:11AM (#41687915)
There’s a pretty thorough post covering this here - https://infrequently.org/2022/03/cache-and-prizes/
Re:AI Copilots Are Changing How Coding Is Taught on Friday May 03, 2024 @10:48PM (#40254417)
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.

Re:AI Copilots Are Changing How Coding Is Taught on Friday May 03, 2024 @09:28PM (#40254067)
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.
Which hits the problem pretty well, right? To do something efficiently on an iPhone, buy a Mac.
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-...
"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...

Re:Microsoft is removing Maps and Movies and TV from Windows 11 on Thursday November 02, 2023 @05:11PM (#38120219)
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.
Re:Microsoft is removing Maps and Movies and TV from Windows 11 on Thursday November 02, 2023 @05:10PM (#38120208)
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.

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.

Re:Threads, an Instagram App on Monday July 03, 2023 @11:29PM (#36581842)
That seems like a lot of gross simplifications with hindsight bias.
Re:Threads, an Instagram App on Monday July 03, 2023 @09:48PM (#36581149)
Metaverse? Llama? They’re doing both.

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

I also switched from Monica because of this. I love the features, but no iOS syncing was too painful of a gap.
Re:Unpredictable Black Boxes Are Terrible Interfaces on Wednesday April 05, 2023 @01:02AM (#35449508)
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?
Re:The Case for Frameworks on Wednesday February 15, 2023 @12:38AM (#34800492)
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/

Re:The Case for Frameworks on Tuesday February 14, 2023 @09:10PM (#34799154)
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.
Re:The Case for Frameworks on Tuesday February 14, 2023 @09:01PM (#34799100)
You would think that, but this seven line NPM package has 68M downloads a week - https://www.npmjs.com/package/isarray
Re:The Case for Frameworks on Tuesday February 14, 2023 @08:55PM (#34799061)
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.
Re:The New Bing with ChatGPT on Tuesday February 07, 2023 @03:14PM (#34698777)
If you've got specific feedback they have a GitHub repo - https://github.com/MicrosoftEdge/DevTools/issues/
Re:The Market for Lemons - Alex Russell on JS frontends on Sunday February 05, 2023 @12:26AM (#34662219)
I’m guessing you’ve got a nice $1k+ dev box and high-speed internet?
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.
Re:The truth about CSS selector performance on Wednesday January 18, 2023 @12:39PM (#34429985)
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...

Re:The truth about CSS selector performance on Wednesday January 18, 2023 @12:36PM (#34429929)
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 :)

Re:Microsoft is killing custom domain names in Outlook.com on Thursday November 03, 2022 @11:50PM (#33461947)
WebView2 updates on the same cadence as Edge. Major updates every four weeks, security updates as needed.

Older »