News for hackers. Stuff that matters.

tnodir

Re:C++26 Disapproved on Wednesday November 04, 2026 @08:29AM (#50365256)
Zig drops LLVM for debug mode only.
> even if the server crashes, only the uncommitted transactions in the WAL are lost

I'm mainly referring to this quote.

So, you can lose committed transactions too.

> PRAGMA synchronous = NORMAL;

> In NORMAL mode, the database engine syncs to disk only at critical moments (e.g., during checkpoints) rather than at every single transaction commit. In WAL mode, this is completely safe from database corruption; even if the server crashes, only the uncommitted transactions in the WAL are lost, but the database integrity remains intact.

No, this is not safe. You can lose the latest committed transaction with this pragma.

Re:Microsoft open-sources LiteBox, a security-focused library OS on Saturday February 07, 2026 @10:39AM (#46924691)
It'll be interesting if MS allows to write e.g. WFP callout drivers via LiteBox and not requiring attestation signing. It'll still work in kernel mode, unlike NetworkExtensions in MacOS.
Re:SQLite Transactions on Friday July 19, 2024 @04:17AM (#41003358)
https://www.sqlite.org/isolation.html

"In WAL mode, SQLite exhibits "snapshot isolation".

When a read transaction starts, that reader continues to see an unchanging "snapshot" of the database file as it existed at the moment in time when the read transaction started.

Any write transactions that commit while the read transaction is active are still invisible to the read transaction, ..."

Re:Sljit: Platform independent low-level JIT compiler on Tuesday July 09, 2024 @09:15AM (#40915755)
Re:Ask HN: What apps have you created for your own use? on Wednesday December 13, 2023 @02:53AM (#38623973)
1. https://github.com/tnodir/fort - Fort Firewall for Windows 7+.

I needed:

- app groups to easily enable/disable group of programs - wildcards in program path names - efficient IP addresses blocking, as in PeerBlock - speed limiting - auto-apply program's rules to its child processes - control SvcHost services by service names - traffic statistics history

2. https://github.com/tnodir/luaplsql - LuaPlSql is a Lua Plug-In framework for PL/SQL Developer IDE.

I used it 10 years ago to write scripts in IDE for Oracle DB.

Re:Tldraw – a tiny little drawing app on Thursday November 18, 2021 @02:34AM (#29263011)
Consider adding layers.