docs(twitter): add 1737201090058219980 corpus (NOTimothyLottes logger + multi-session design)

3-post sibling to the 1736161886079533186 VK retrospective: same public-
domain release context, Dec 2023. Covers the mmap-ring-buffer error
logger and the multi-session rationale (crash auto-reload + log
preservation, no debugger).
This commit is contained in:
ed
2026-07-26 21:21:17 -04:00
parent c271307215
commit 175bce00f3
4 changed files with 87 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

@@ -0,0 +1,30 @@
---
title: "Multi-session is nice, since the binary auto reloads in some cases (crash, etc),"
author: "NOTimothyLottes"
handle: "@NOTimothyLottes"
post_url: "https://x.com/NOTimothyLottes/status/1737201090058219980"
post_id: "1737201090058219980"
timestamp: "2023-12-19 19:59:50"
post_count: 3
reply_count: 0
repost_count: 0
like_count: 3
view_count: 742
---
# @NOTimothyLottes — Multi-session is nice, since the binary auto reloads in some cases (crash, etc),
## Post 1 (2023-12-19 19:51:05)
Working towards a public-domain release of a cleaned version of my Win32 Vulkan NV+AMD compute graphics platform. What I used last for rapid prototyping (which is also IMO fine for releasable software). Won't call it an 'Engine' because it only provides tools to hang yourself ...
## Post 2 (2023-12-19 19:56:49) — reply to Post 1
Simplified the error logger today. Memory mapped file is definitely the way to go, one atomic per message, log multiple sessions, fixed size file acts like a message ring buffer. Background thread keeps the last message updating the same line on the console (for easy debug).
![Media 1](./media/1737200333338595330_1.png)
![Media 2](./media/1737200333338595330_2.png)
## Post 3 (2023-12-19 19:59:50) — reply to Post 2
Multi-session is nice, since the binary auto reloads in some cases (crash, etc), want to see why the reload happened, so don't want to clear the log. Yes, I still don't use debuggers, this logger + runtime shader recompile is all I use personally for dev work.
@@ -0,0 +1,57 @@
{
"root_post_id": "1737201090058219980",
"posts": [
{
"post_id": "1737198887914377512",
"author": "NOTimothyLottes",
"handle": "NOTimothyLottes",
"text": "Working towards a public-domain release of a cleaned version of my Win32 Vulkan NV+AMD compute graphics platform. What I used last for rapid prototyping (which is also IMO fine for releasable software). Won't call it an 'Engine' because it only provides tools to hang yourself ...",
"timestamp": "2023-12-19 19:51:05",
"media_urls": [],
"reply_to_id": null,
"quote_of_id": null,
"metrics": {
"reply_count": 3,
"repost_count": 3,
"like_count": 47,
"view_count": 5186
}
},
{
"post_id": "1737200333338595330",
"author": "NOTimothyLottes",
"handle": "NOTimothyLottes",
"text": "Simplified the error logger today. Memory mapped file is definitely the way to go, one atomic per message, log multiple sessions, fixed size file acts like a message ring buffer. Background thread keeps the last message updating the same line on the console (for easy debug).",
"timestamp": "2023-12-19 19:56:49",
"media_urls": [
"https://pbs.twimg.com/media/GBvFvOXXMAAFLXS?format=png&name=orig",
"https://pbs.twimg.com/media/GBvFvOWX0AAxSuU?format=png&name=orig"
],
"reply_to_id": "1737198887914377512",
"quote_of_id": null,
"metrics": {
"reply_count": 1,
"repost_count": 1,
"like_count": 8,
"view_count": 1352
}
},
{
"post_id": "1737201090058219980",
"author": "NOTimothyLottes",
"handle": "NOTimothyLottes",
"text": "Multi-session is nice, since the binary auto reloads in some cases (crash, etc), want to see why the reload happened, so don't want to clear the log. Yes, I still don't use debuggers, this logger + runtime shader recompile is all I use personally for dev work.",
"timestamp": "2023-12-19 19:59:50",
"media_urls": [],
"reply_to_id": "1737200333338595330",
"quote_of_id": null,
"metrics": {
"reply_count": 0,
"repost_count": 0,
"like_count": 3,
"view_count": 742
}
}
],
"source_url": "https://x.com/NOTimothyLottes/status/1737201090058219980"
}