Shai Almog (@debugagent) header
Shai Almog (@debugagent) profile picture

There are 1k+ Java Champions, but only one guy whose candidacy was withdrawn. Co-founder of Codename One, bull in china shop & infamous a*hole (unintentionally)

Joined August 2021
A Form kept in a field dies with the process, and no other device can rebuild it. Codename One's continuity API checkpoints the route stack plus a small state map, then restores it after login: locally, via Apple Handoff, or through your own relay. codenameone.com/blog/continu…
20
Flowcharts, node editors with typed ports, and Kanban boards with WIP limits are now core Codename One components. Automatic layouts, swim lanes, undo and JSON save, painted directly so thousands of nodes pan and zoom on a phone. No web view. codenameone.com/blog/diagram…
41
A delivery form needs one address, not the whole address book. Codename One's ContactPicker opens the system picker on Android and iOS and returns only the fields the user selected, with no contacts permission. codenameone.com/blog/private…
35
Fieldline is an MIT-0 field service template for Codename One: routes on a map, signatures, a Gantt dispatch board, and a seeded plain-Java scheduler whose tests assert no hard constraint breaks across 25 random cities. codenameone.com/blog/field-s…
49
A WeakReference that never clears is a strong reference with extra steps. ParparVM's collector clears weak referents and ranks soft ones by last get(). Cache benchmark: 97.44% hits at 82.1 MB, vs 87.99% at 91.0 MB when flushing on memory pressure. codenameone.com/blog/parparv…
59
Splat, caught on replay: a 4v4 paintball match on the desktop and its instant replay. The backend referees every match and rewinds to what the shooter saw before it counts a hit. It's a Java template that ships to Steam. codenameone.com/blog/ship-yo…
106
Write an invoice PDF on the phone and on the server with the same Java classes. View it with a pure-Java renderer that draws the same pixels on iOS, Android, desktop and web, open encrypted files, and print, with no per-platform branch. codenameone.com/blog/generat…
54
On Catalyst, Codename One drew each extra Mac window into an image and copied it: about 33 MB per 4K BGRA surface. The default Mac build targets AppKit instead, with an NSWindow and its own CAMetalLayer per window, NSMenu and NSTextInputClient. codenameone.com/blog/native-…
73
One customer seeing another's invoices crashes nothing and fails no test. It usually comes from one query missing WHERE tenant_id = ?. Codename One's Java backend filters every ORM query by tenant and blocks native SQL unless you opt in for one call. codenameone.com/blog/multi-t…
2
1
131
Maven can't find recent Codename One releases? New versions are published to the Codename One repository, not Maven Central. Add it under <repositories> and <pluginRepositories>: Maven resolves plugins from a separate list. codenameone.com/blog/maven-c…
1
1
3
150
Codename One's DataGrid scrolls a million rows and paints only the visible ones. Workbook turns it into a spreadsheet: XLSX, ODS and CSV in and out, 402 Excel functions that recalculate live, and formula completion as you type. codenameone.com/blog/a-milli…
52