Remove why-you-want-async
article thumbnail

Why you might want async in your project

Hacker News

There is a common sentiment I’ve seen over and over in the Rust community that I think is ignorant at best and harmful at worst.

115
115
article thumbnail

Bliki: Legacy Seam

Hacker News

His definition: “a seam is a place where you can alter behavior in your program without editing in that place”. Instead we want to introduce a stub , so we can provide a canned and deterministic response for each of the testing scenarios. Here's an example of where a seam would be handy. ShippingServices) { this.#soleInstance

126
126
professionals

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

Svelte tutorial: create a super-fast app with KeyLines

Cambridge Intelligence

As a plain JavaScript SDK, KeyLines plays nicely with whichever front-end frameworks and components you prefer. I tried it for myself and wanted to share what I’d learned, so here’s a Svelte tutorial on how to integrate with KeyLines to build a simple graph visualization app. Graph from 2022.stateofjs.com

article thumbnail

Build a podcast question & answer application using Rivet and AssemblyAI

AssemblyAI

Ironclad recently announced they are open-sourcing Rivet , their IDE for developing AI applications, and we announced the AssemblyAI plugin for Rivet so you can transcribe audio and use LeMUR in Rivet. You'll then call these two graphs from a Node.js Alternatively, you can configure the ASSEMBLYAI_API_KEY environment variable.

article thumbnail

Why Not document.write()?

Hacker News

You may have also seen that there’s very little explanation as to why. This is why not all blocking scripts block during their download phase—they may have been fetched by the Preload Scanner before they were actually needed, thus in a non-blocking manner. What About Async Snippets? document.write() is so harmful.

179
179
article thumbnail

The Ultimate Guide to Java Virtual Threads

Hacker News

We used virtual.threads.playground , but we can use any name we want. Why Virtual Threads? To overcome the problems of callbacks, reactive programming, and async/await strategies were introduced. Also, the async/await approach, such as Kotlin coroutines, has its own problems. playground { requires jdk. getLogger ( App.

181
181
article thumbnail

Home Screen Advantage

Hacker News

But Apple knows it has native stores right where it wants them. Apple's interpretation of the DMA appears to be that features not available on March 6th don't need to be shared with competitors, and it doesn't want to share web apps. The proposals are maximally onerous, but you don't have to take my word for it; here's Mozilla: We are.

181
181