Petr Hejl (@phejl) profile picture

@java developer. Ex-Sun, ex-@oracle, @PhraseSuite these days.

Joined June 2008
Photo by Petr Hejl (@phejl)Photo by Petr Hejl (@phejl)Photo by Petr Hejl (@phejl)Photo by Petr Hejl (@phejl)Photo by Petr Hejl (@phejl)Photo by Petr Hejl (@phejl)Photo by Petr Hejl (@phejl)Photo by Petr Hejl (@phejl)Photo by Petr Hejl (@phejl)
Got tired of running a pile of containers just to show my family tree to relatives, so I made Kwatern: a single-binary, read-only web viewer for Gramps exports. It has fan charts, maps and privacy for living people, and runs in about 100 MB of RAM. github.com/PetrHejl/kwatern
2
35
Petr Hejl retweeted
Posledních jedenáct let života vystřihoval Prahu z papíru. Když sháněl peníze, aby ji mohl dokončit, dostal vždycky odpověď: ne. Antonín Langweil chtěl být umělcem, ale neuživil se. Pracoval jako sluha v knihovně v Klementinu a po večerech chodil Prahou se skicákem. Vzdálenosti měřil kroky. Doma pak lepil z papíru dům po domě, každou fasádu, každý dvorek. Jen komínů je na modelu devět tisíc. Lidé ho měli za podivína. V roce 1833 model vystavil na Hradě při návštěvě císaře a sebral odvahu požádat o podporu. Neuspěl. Lepil dál, až do roku 1837, kdy ve 46 letech zemřel. Nové Město už nestihl. Vdova pak prosila dalšího císaře, aby model koupil. Ten ho vzal za symbolickou cenu a daroval muzeu. Celoživotní dílo se vešlo do devíti beden. Pak přišla asanace. Z domů, které Langweil vymodeloval, dnes 960 nestojí. Jediné místo, kde tehdejší Praha přežila, je jeho model. Dílo, o které tehdy nikdo nestál, má dnes nevyčíslitelnou hodnotu. Jen jeho digitální kopie stála 12,5 milionu korun. A teď si ji můžete prohlédnout zdarma. Muzeum Prahy spustilo 3D verzi, v níž porovnáte tehdejší Prahu s dnešní. Běží normálně v prohlížeči. Najděte si svou oblíbenou ulici. A pak se podívejte, co stálo na místě Pařížské. 👉 langweil.geoportalpraha.cz Disclaimer: sám jsem nedávno slepil model Staroměstské radnice, takže v obdivu k Langweilovi nejsem úplně nezaujatý. 😀
15
111
12
701
43,474
Petr Hejl retweeted
Did you know that GraalVM provides automatic metadata for many popular Java libraries, so you can have a smooth experience with Native Image out of the box? — 1200+ libraries 📚 — 18K+ tested versions ✅ — 2M+ tested LOC 🤯 More details soon!👀 github.com/oracle/graalvm-re…
9
25
2,727
Petr Hejl retweeted
- Meet James Gosling - Creator of Java - Built his first computer from scratch as a teenager - Loved math, science, and tinkering with electronics - Preferred experimenting on his own rather than traditional classroom learning - joined Sun Microsystems and noticed a major problem - Programming languages were complex, unsafe, and hardware-dependent - Code couldn’t run easily across different machines - Many projects failed due to system incompatibility - got Frustrated with these limitations - Created a new language called “Oak” - They wanted simple, catchy, and energetic name - The team was drinking coffee during brainstorming ☕ - so Later they renamed it to Java - he wrote the original Java compiler and virtual machine himself - designed it to be Simple, Secure, Platform-independent - it became one of the most influential programming languages in history - Widely used in: Web applications, Android apps, Enterprise systems, Banking software - Adopted by millions of developers worldwide - earned the nickname as “Father of Java” - literally changed how software is built across the world. Absolute legend.
65
332
24
2,421
169,721
Petr Hejl retweeted
trivago runs a GraphQL gateway handling 9,000+ req/s per subgraph. After migrating to GraalVM Native Image, they: — eliminated warm-up — reduced replicas from 43 to 12 — cut CPU usage Learn more about their migration process and recommendations: medium.com/graalvm/inside-tr…
18
4
159
120,907
There are a handful of things that will remain hardwired into your memory until the end of days: How to ride a bike. Your first love. The sound of a 90s boot sequence.
94
432
32
2,782
105,211
Petr Hejl retweeted
Netflix's opinion on @java #java @JavaOne #netflix #javaone
9
105
5
682
31,527
Finský programátor Linus Torvalds představil 14.března 1994 na Helsinské univerzitě verzi 1.0.0 operačního systému Linux se 176 250 řádky kódu, první stabilní verzi. mirrors.edge.kernel.org/pub/…
12
23
1
355
12,350
Petr Hejl retweeted
Replying to @aditiitwt
I'm this old! Go figure huh?
33
3
1
119
3,717
Petr Hejl retweeted
You may be old But are you this old
1,034
153
119
2,554
130,760
Petr Hejl retweeted
34 years ago today (6 March 1992), Dana Scully was assigned to “assist” Fox Mulder on The X‑Files. The truth is still out there… 🛸 #TheXFiles #Xfiles
20
448
51
2,258
51,764
Software engineers: Context switching kills productivity. Also software engineers: I'm now managing 19 AI agents and doing 1800 commits a day. We’ve spent years complaining that managers who expect a quick 5-minute chat ruin our focus for the next hour. But a ping from an agent every few minutes, that’s ok? We celebrated Paul Graham’s essay “Maker’s Schedule, Manager’s Schedule” in which he argued: “When you're operating on the maker's schedule, meetings are a disaster. A single meeting can blow a whole afternoon, by breaking it into two pieces each too small to do anything hard in.” Now we see software engineers claiming huge productivity gains from hordes of AI agents, celebrating thousands of commits per day from their 19 agents. Either context switching was never really the problem, and we oversold our need for deep focus. Or we're not actually reviewing 1800 commits a day. If we couldn't context switch before, we're not managing 19 agents. We're blindly trusting them. That’s not engineering, it’s gambling.
267
184
42
2,074
183,194
Replying to @glcst @elonmusk
An “AI to create the binary directly” is infeasible due to the probabilistic nature of LLMs. A compiler needs to be 100% correct even when dealing with programs with billions of operations.
1
18
511
I've been saying for a long time that most software is built inefficiently by factor 10x, as nobody is incentivized to optimize. Ready to raise this 100x with folks shipping AI generated code without understanding it.
19
12
2
197
10,199
With the rapid adoption of LLM-based coding agents, well-defined APIs and extensive test suites for those APIs are becoming more critical then ever. It's what allows you to to let agents (and yourself) iterate fearlessly on the implementation, without breaking clients.
2
11
1,631
Trying out the upcoming Spring Boot 4 + @GraalVM 👀 A complete Spring Boot web service: — compiles to native in 33.8s (quick build mode) ⚡️ — starts in 0.034s 🎉 🚀🚀🚀
9
25
2
295
16,728
Some of y’all never had to edit a config.sys file to get a game to run and it shows 😆😜
411
235
52
2,978
128,310
JOHN CARPENTER directing a fight scene from Big Trouble In Little China (1986).
4
36
1
277
35,850