Posts by Lars-Erik Road
🚀 Orange ORM v5 is out! 🍊
Breaking:
•getAll removed → use getMany (same signature)
•getOne(filter, ...) removed → move filter to strategy.where
New:
•ExpressJS before/after hooks for RLS
•SQLite user-defined functions
•Enums support
orange-orm.io
Brought an old mocking framework back from the dust and gave it new life — now with TypeScript types. 🚀🧪 #typescript #testing #mocking
github.com/alfateam/a/
Drafting the architecture for local-first sync in Orange ORM:
SQLite + OPFS on the client,
WAL-safe writes,
per-table changelogs,
trigger-based delta capture,
push/pull with conflict strategies,
and a thin server applying changes atomically.
I just published A Love Letter to Every Developer Who’s Written a ‘Quick Setup Guide’ medium.com/p/a-love-let...
Native dependencies in npm are becoming an anti-pattern. Yes, Rust/Go binary is fast, but you're trading away:
Cross-platform compatibility nightmares
Larger attack surface for supply chain attacks
Build complexity that breaks in CI/prod
Pure JS may be slower, but it's portable
Just published orange-orm@4.7.14
-Improved performance for SQL Server
github.com/alfateam/ora...
#node
#orm
#mssql
From the latest create-vue .
WTF, this is asking for trouble.
Breaking changes ahead !!
Can someone please make a Vite-like tool that:
-has ZERO config except for custom proxy
-works out-of-the-box for TS/Vue/Svelte/React
-works out-of-the-box for server side
-has ZERO breaking changes for the next 10 yrs
-no extra plugins for basics
Is that too much to ask?
Can someone please make a js linter that:
-have ZERO config except own rules
-have ZERO breaking changes for the next 10 years
-requires NO extra packages (even for own rules)
-works for js, ts, vue, svelte and tsx out-of-the-box
-is not binary (no postinstall !)
I don't care about the extra MBs
wtf: esbuild runs esbuild.exe on postinstall !!
Running postinstall script is considered unsafe in the npm supply chain. There is no need for esbuild to be a binary dependency.
I always turn postinstall off by having ignore-scripts=true in .npmrc.
github.com/evanw/esbuil...
“Everyone’s chasing sexy AI solutions while ignoring boring, profitable niches in their own backyard 🏠
For a solo indie dev, a ‘small’ niche market can still mean thousands of customers and solid revenue.
What’s too small for big companies = perfect size for you.
Just built my iOS app using @voltbuilder.bsky.social — no Xcode, no certificates hell, no Mac required.
An amazing product
Orange ORM, v4.7.12 is out.
-bugfix for Bun: Race Condition After Transaction Commit
github.com/alfateam/ora...
#bun #orm #typescript #postgres #postgreSql
I just released Orange ORM v4.7.11
Support for bigint
github.com/alfateam/ora...
Sjokkmelding:
Vibbekoding fører til usikker kode. 🙃
* 40 prosent lekker sensitive data
* 20 prosent gir full tilgang til databasen
* Prøver du å tette hullene, gjør AI-en det motsatte
Open source is a recurring marathon.
No medal, no crowd, just new issues and weird edge cases.
But somehow, it’s still worth showing up.
See you at the starting line next month.
I am so fed up with n-column grid systems, there's a simpler way.
CSS Grid handles it natively — no breakpoints, no utility classes.
This creates a responsive grid that adjusts the number of columns based on available space. No media queries needed.
A whole conference dedicated to Vite?!!
Me: I just want to know why it broke this time — then go back to pretending Vite doesn’t exist.
@viteconf.org
Cc @pglite.dev
I am very happy to announce that Orange ORM now supports PGlite 😀!
github.com/alfateam/ora...
Just released Orange ORM v.4.6.0 🥳
-Support for Bun and Deno
-Using built in sqlite for Node 22 and later
github.com/alfateam/ora...