News for hackers. Stuff that matters.
Re:The Grug Brained Developer (2022) by switchbak on Tuesday June 17, 2025 @10:25PM (#44306116)
In the early 2000’s I whipped up a tool to convert log statements into visual swim lanes like the Chrome profiler does. That thing was a godsend for reasoning about complex parallelism.
Re:The Grug Brained Developer (2022) by EFreethought on Wednesday June 18, 2025 @01:11AM (#44306842)
Would you be willing to share this tool?
Re:The Grug Brained Developer (2022) by switchbak on Tuesday June 24, 2025 @06:27PM (#44371705)
Oh that's long lost to the trashbin of history. As I recall it was a combination of:

- Log4j + MDC's so we could get a timestamp and thread ID easily

- some python scripting

I can't remember if it was PDF or SVG, but I do remember having to choose something that would allow for huge graphs and lots of scrolling!

These days there's better options on github, but nice to see I was on a decent path.