Nuno Cruces

Results 166 comments of Nuno Cruces

No. I will note that what you're trying to do here is fraught with issues. I hope you've read [sqlite.org/howtocorrupt.html](https://sqlite.org/howtocorrupt.html), especially the entire section 2; also [this](https://github.com/sqlite/sqlite/blob/b74eb0/src/os_unix.c#L1073-L1161).

Thanks for the report. Are these Go (managed/garbage collected) memory allocs, or memory usage? I guess what I'm asking is how are these collected? Also, is there a way to...

@tsmethurst I saw your [pre-release](https://github.com/superseriousbusiness/gotosocial/releases/tag/v0.17.0-rc1). Is this issue resolved?

For modernc you want: ```go db, err := sql.Connect("sqlite", "file:test.db?_pragma=foreign_keys(on)") ```

I think I came up with a nice API for this in my SQLite driver, which could be implemented for this driver as well: https://github.com/ncruces/go-sqlite3/blob/main/ext/blobio/blob_test.go This would require wrapping the...

I'm… not sure I want to add this. This feature has no parallel in other OSes, and is generally somewhat frowned upon. Have you tried `Attach` to ensure your dialog...

No it _most definitely_ should not be default. `MB_SYSTEMMODAL` doesn't just bring a dialog forward, it keeps it on top of everything else, no matter what, preventing interaction with whatever...

Latest version always includes `MB_SETFOREGROUND`. Hopefully that's good enough, otherwise I'll reconsider. Hope you don't mind.

Should not happen anymore since [`[email protected]`](https://github.com/tetratelabs/wazero/releases/tag/v1.8.2) (the compiler should be automatically disabled on chips that do not support the instructions).

From inside the library. See [this](https://github.com/nalgeon/redka/blob/3bd13a68543afbbfb3c9925b8d01784850f6cd3d/internal/sqlx/db.go#L105-L140) for a good example. The default pragmas used are things like: ``` "journal_mode": "wal", "synchronous": "normal", "temp_store": "memory", "mmap_size": "268435456", "foreign_keys": "on", ```