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
Photo by Shai Almog (@debugagent)Photo by Shai Almog (@debugagent)Photo by Shai Almog (@debugagent)Photo by Shai Almog (@debugagent)Photo by Shai Almog (@debugagent)Photo by Shai Almog (@debugagent)Photo by Shai Almog (@debugagent)Photo by Shai Almog (@debugagent)Photo by Shai Almog (@debugagent)Photo by Shai Almog (@debugagent)
Codename One apps now open layered Photoshop, Sketch and Figma files and render the same pixels on iOS, Android, desktop and web. Rive animations play as ordinary images, translated to Java at build time so nothing is parsed on the device. codenameone.com/blog/photosh…
79
Codename One apps can now open a Word file, edit it with spell checking and export DOCX or PDF. They can also open PowerPoint, Keynote and ODP decks, edit slides and present them with speaker notes. Same Java code on iOS, Android, desktop and web. codenameone.com/blog/word-do…
1
77
We built a Shopify clone in three days: shopper app, back office, offline point of sale, web store and an app platform, on one Java codebase. Our table lists 267 Shopify features; Bazaar fully supports about 250. Free MIT-0 source. codenameone.com/blog/full-sh…
2
124
Swap the Javadoc renderer and cited method links can break. When moving to a Java 25 doclet that emits Hugo content, Codename One checked 29,583 anchors: varargs and inherited-member links broke, and List/list collided on macOS only. codenameone.com/blog/javadoc…
54
Javadoc already knows your API. It doesn't have to build your website. This Java 25 doclet emits types and members as Hugo content, leaves Markdown comments (JDK 23+) to Hugo, and builds an API search index. Bring your own templates. codenameone.com/blog/javadoc…
85
A client books an appointment in Slate: pick a service, a day and a free time. The server's slot engine weighs providers, rooms, buffers and travel time, and a hold stops two clients getting the same slot. MIT-0 booking template in Java. codenameone.com/blog/schedul…
91
Brickyard is a Codename One game platform template with the Luau studio inside the app. Scripts run under an instruction budget, so an infinite loop is an error, not a frozen game. It opens Roblox place files, and an agent can play test over MCP. codenameone.com/blog/build-a…
1
140
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…
42
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…
55
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…
40
People think performance is about low level optimizations, but that's wrong for real world apps. Performance is about caching, batching and better logic. Platforms are already DEEPLY optimized. Doing that in native for every platform/device isn't tenable.
native rewrite does not guarantee better perf i started native rewrite for my indie app Kado, following shopify playbook: agents porting 1 screen at a time, and checked by tests + screenshots against RN app. on iphone 13, native launches faster, but scrolls 1 screen 3x worse 🧵
1
118
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…
53
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…
60
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…
121
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…
55
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-…
87
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
134
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
157
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…
53
On Android, another app can draw over your confirm screen and disguise the tap. Codename One's DeviceIntegrity BLOCK policy drops any gesture that starts fully obscured, from DOWN through UP. Android 12+ can also hide overlays. codenameone.com/blog/tapjack…
67