Alexander Prinzhorn

Results 617 comments of Alexander Prinzhorn

> I suspect because it was hitting the js 'while(1)' statement, which it was able to terminate. However, when using the same code, but a regular real SQL statement that...

I think this is somewhat similar to #241, at least the response is relevant as well. Your architecture would probably benefit from storing the files in a file system and...

In that case I agree that it would be beneficial to have something like this. Joshua said: > Your app would essentially have to use a different database connection for...

I see, you want to do a single `sqlite3_blob_read` without consuming the whole thing in a single event loop step. I thought you want to read the whole blob chunk...

Wait a second, can't you just `SELECT substr(my_blob, ...)` to do the same thing and get a slice of the buffer? Is there any downside? Not sure if this would...

@fabiospampinato I'm curious if you have any experience with Electron and prebuildify? I've searched the electron-forge, electron-builder and electron-packager repos for "prebuildify" and didn't find satisfying results. My main question...

Can you please provide a minimal self-contained repro? Preferably a single JS file that only depends on `better-sqlite3` and that sets everything up using a `:memory:` db.

Is there a reason you are trying to install it globally? https://docs.npmjs.com/cli/v6/configuring-npm/folders > Install it **locally** if you're going to require() it. > Install it **globally** if you're going to...

Searching through GitHub this appears to not only affect better-sqlite3, so maybe Node 17 (or npm 8) did something funny https://github.com/npm/cli/issues/4015 https://github.com/jopemachine/alfred-chrome-workflow/issues/9 https://github.com/FirebaseExtended/action-hosting-deploy/issues/173 Can you downgrade to npm 8.1.2?

Now confident this is an npm ~bug~ feature https://github.com/npm/cli/commit/a0d35ff20aed6aab8508123eb540bc9c61fb127d