Stuart Marks

Java/JDK/OpenJDK developer, Oracle Corporation. The views expressed here are my own and do not necessarily reflect the views of Oracle. Also @smarks.bsky.social ; formerly @stuartmarks on Twitter.

(searchable; PMs accepted only from followers)

Stuart Marks boosted:
2026-02-07

No-as-a-Service (NaaS) is a simple API that returns a random rejection reason. Use it when you need a realistic excuse, a fun “no,” or want to simulate being turned down in style. github.com/hotheadhacker/no-as

Stuart Marks boosted:
Assn for Computing MachineryACM@mastodon.acm.org
2026-02-07

POV: You co-invented magnetic core memory and changed everyday business forever by bringing word processing and office computing into the mainstream. Happy Birthday to An Wang, one of the pioneers who made computing what it is today. #PioneerPOV #Computing

Stuart Marks boosted:
2026-02-07

Jeff Martin and myself will speak at Java One (March 17-19, Redwood Shores, CA, USA) on Java and WebAssembly. Here is a $50 discount code if you register by Feb. 9: J12026SSM

horstmann.com/presentations/20

Stuart Marks boosted:
2026-02-06

When people say Shakespeare isn't relevant to modern life it's good to have people like Sir Ian around to prove them wrong:

Stuart Marks boosted:
Cat 🐈🥗 (D.Burch) :paw:⁠:paw:catsalad@infosec.exchange
2026-02-06

When you look into the void, the void looks back...

Photo of a black doormat with two green cat eyes from a black kitty staring back. The void kitty is completely camouflaged on the rug, except for its cute eyes.
Stuart Marks boosted:
Harald Eilertsenharald@hub.volse.no
2026-02-06
==============================
Test summary
==============================
  TEST                                              TOTAL  PASS  FAIL ERROR  SKIP
  jtreg:test/hotspot/jtreg/serviceability/sa           79    72     0     0     7
==============================
TEST SUCCESS

It has taken a lot of debugging and tracing through layers of code to get to the bottom of this. From Java code to hotspot C++ code, JNI code calling back into Java in threads that deadlock if there's an exception so you don't get any info about it, into system libraries and in the end OS kernel code. Many detours along code paths that in the end made no difference. Finding the right one can be tedious work sometimes.

Once the cause of the test failures were found, the fix was of course trivial – the wrong pid (process ID) was passed to a ptrace(2) system call to fetch the registers of the specified thread in the debuggee process. The main process pid was passed instead of the thread's lwpid – lightweight process ID.

The ptrace(2) calls will sometimes fail for as of yet unknown reasons, though, so a few tests will fail intermittently. These failures does not seem to be fatal, but could result in slightly less accurate stack traces for threads currently executing native or compiled code.

As always, huge thanks to @FreeBSD Foundation for supporting this work!

#FreeBSD #OpenJDK #mywork #programming #debugging
Stuart Marks boosted:
Michael Stapelberg 🐧🐹😺zekjur@mas.to
2026-02-06

PSA: Did you know that it’s **unsafe** to put code diffs into your commit messages?

Like github.com/i3/i3/pull/6564 for example

Such diffs will be applied by patch(1) (also git-am(1)) as part of the code change!

This is how a sleep(1) made it into i3 4.25-2 in Debian unstable.

GitHub PR i3#6564, where Orestis explains how he tested the patch.GitHub .patch file for this PRDebian issue with unexpected delay — the sleep(1) call made it into the code!test with git-am(1)
Stuart Marksstuartmarks
2026-02-06

@funnymonkey Excellent advice!

Stuart Marksstuartmarks
2026-02-05

@jik Yes, because according to ancient myths and lore, whitespace at the end of a line is evil.

Stuart Marks boosted:
2026-02-05

On Tuesday, February 10, Maurice Naftalin and myself will speak at Voxxed Days CERN on "Streams—Below the Surface". horstmann.com/presentations/20

Stuart Marks boosted:
Thomas LobigTom_ofB@23.social
2026-02-05

I would have guessed bringing together @davidgerard and Ed Zitron in the same podcast is akin to closing the Demon Core and the world will vanish in a grand sarcasm explosion.

It was definitely grand, can recommend to everyone who loves British snide dropped on a topic that they hate.

linktr.ee/betteroffline (episode of Feb. 4th 2026)

Stuart Marks boosted:
2026-02-05

Some terrifically titled papers from a discovered collection of NASA research documents found in a skip

(with thanks to @JuliaRez for the original pic)

A photo of a bunch of NASA research documents, with titles like "STRUCTURAL MARGINS OBSERVED IMMEDIATELY PRIOR TO EXCEEDANCE", "PRELIMINARY ANALYSIS OF UNEXPECTED WOBBLE IN A RIGIDLY NON-WOBBLING SYSTEM", "OBSERVED PERFORMANCE OF COMPONENTS KNOWN TO HAVE BEEN INSTALLED BACKWARDS", "COGNITIVE LOAD IMPLICATIONS OF ACRONYMS REFERRING TO OTHER ACRONYMS", "THRMAL CHARACTERISTICS OF MATERIALS DESCRIBED AS 'PROBABLY INFLAMMABLE'", "ON THE REPEATED SURVIVAL OF SYSTEMS NEVER INTENDED TO WORK", "THE EFFECT OF CLIPBOARD ON PERCEIVED AUTHORITY IN TEST ENVIRONMENTS", "MECHANICAL PROPERTIES OF SUBSTANCES EXPOSED TO REPEATED MEETINGS", "ANOMALOUS RESULTS WHICH PERSIST DESPITE STRONG MANAGEMENT DISAPPROVAL", and "A PRELIMINARY ASSESSMENT OF THE MOON'S APPARENT DISINTEREST IN OUR ACTIVITIES"
Stuart Marksstuartmarks
2026-02-05

@headius Magnavox Odyssey! That’s an oldie.

Sega Game Gear!! I used to carry that on business trips to while away the time on flights, before the age of iPhones, iPads, and laptops that were powerful enough to do development work.

Stuart Marks boosted:
Ivar Grimstadivar_grimstad
2026-02-03

"Java: To infinity and beyond" kicked off by Sharat Chander at Jfokus

Stuart Marks boosted:
Information Is Beautifulinfobeautiful@vis.social
2026-02-03

Think there might be some truth in this matrix...

(creator: unknown)

A grid showing how different IT roles (Developers, Designers, Project Managers, QA, and Sysadmins) perceive each other. The matrix format uses humorous images for each intersection - like developers seeing designers as children with crayons, QA seeing everyone as problematic, and sysadmins being viewed as either chaotic or mysterious by others. The images range from professional photos to memes, creating a satirical take on tech workplace stereotypes and interdepartmental relationships
Stuart Marks boosted:
Laura Manach :bongoCat:cmconseils
2026-01-31
A side-by-side comparison meme using the Greek myth of Sisyphus. Both panels show the same ancient Greek pottery style illustration of Sisyphus pushing a large boulder up a hill. The left is labeled "How it started." and the right is labeled "How it's going."
Stuart Marksstuartmarks
2026-01-31

@mattblaze Early voting in GA began on 2020-10-12 so maybe that’s the reason for that date.

And as we all know, early voting something fraud something rigged something conspiracy so that’s the day on which all the criming would have started. (/s)

ballotpedia.org/Georgia_electi

Stuart Marks boosted:
Venkat Subramaniamvenkats
2026-01-29

I invite you to gather around at to hear my presentation on "Extending the Functional Pipeline with Gatherers". Register by Feb 9 with code J12026SSM for a $50 off.

social.ora.cl/6002h6oOr

Stuart Marks boosted:
Nicolai Parlognipafx
2026-01-27

HTTP/3 support is coming in 26. 👇🏾

Stuart Marks boosted:
John Regehrregehr
2026-01-27

anyone have a favorite reference about doing code reviews well?

asking for my class of 60 undergrads, most of whom haven't performed (or received) a serious code review

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst