Live data from Hacker News

SQLite File Format Viewer

sqlite-internal.pages.dev

41–45 of 45 posts

Re: SQLite File Format Viewer

#42
post #39

I tried with a simple database, and it just shows me a blank screen. The console in developer tools shows an exception (both in Firefox and Chromium): index-CGfYebmt.js:85 Uncaught RangeError: Offset is outside the bounds of the DataView at DataView.prototype.getUint32 ( ) at R0 (index-CGfYebmt.js:85:4683) at X0 (index-CGfYebmt.js:85:7966) at index-CGfYebmt.js:85:8157 at Array.map ( ) at Q0 (index-CGfYebmt.js:85:8150…

Probably I might made mistake somewhere in my parser. Do you have small reproducible database with no sensitive database and add to the https://github.com/invisal/sqlite-internal/issues I will try to fix it

Issue created: https://github.com/invisal/sqlite-internal/issues/3

Re: SQLite File Format Viewer

#43
post #18

Earlier quoted context omitted.

I really want a data format that is effectively binary JSON. What is the subset of all of the features of SQLite that makes either a read-only or an updatable data set that is compact. But better searchability than a streaming parser.

Have you tried MessagePack[0]? 0: https://msgpack.org/index.html

I would probably just use bson or gRPC. As o clarified elsewhere, I means JSON as an analogy. I want something that can be scanned and queried cheaply.

Re: SQLite File Format Viewer

#44
post #28
post #18

Earlier quoted context omitted.

I really want a data format that is effectively binary JSON. What is the subset of all of the features of SQLite that makes either a read-only or an updatable data set that is compact. But better searchability than a streaming parser.

MongoDB's BSON?

Mongo sits on a throne of lies and I will never condone anyone using it for any purpose except to make a joke.

Re: SQLite File Format Viewer

#45
post #39

I tried with a simple database, and it just shows me a blank screen. The console in developer tools shows an exception (both in Firefox and Chromium): index-CGfYebmt.js:85 Uncaught RangeError: Offset is outside the bounds of the DataView at DataView.prototype.getUint32 ( ) at R0 (index-CGfYebmt.js:85:4683) at X0 (index-CGfYebmt.js:85:7966) at index-CGfYebmt.js:85:8157 at Array.map ( ) at Q0 (index-CGfYebmt.js:85:8150…

Probably I might made mistake somewhere in my parser. Do you have small reproducible database with no sensitive database and add to the https://github.com/invisal/sqlite-internal/issues I will try to fix it

Fixed now!
Post reply on HN