Private
Public Access
Processed 38 URLs from the user's list. 1 was already in the corpus (2072194202851549432). 9 were duplicates within the new batch (same post IDs at different anchor URLs); removed those. This commit contains the 27 unique new threads. Content spans the Jul 2026 era and is mostly Lottes's Linux development environment bringup work: - 1674757854471806977: 'Nothing Oriented Programming' (NOP) philosophy - 1990260050485797063: reversed projection matrices - 2030722033286328426: STP conspiracy theory - 2058166883044516181: 'crap-o-grammers' C++ bloat-ware critique - 2060191401883619479: relevant timestamp article - 2060730425929080874: CPU clock code (TSC) - 2061123768429211767: no-debugger-debug + mmap log pre-history - 2061416116694442141: Windows thread priority - 2061933917137932437: mmap'd page file - 2061937134756380682: Windows HIGHEST_PRIORITY_CLASS - 2062031187023982879: back running 640x480 on VGA CRTs - 2064858927829745887: on Linux now (SteamOS) - 2065804972378243476: nanorc done + iPhone font issue - 2065832746757341482: cross compilation up - 2065872197147578751: @axelgneiting bypassing libc - 2066184005632786736: Linux mlockall - 2070337342854832468: why not pselect/ppoll/epoll_pwait2 - 2070734717825986566: deterrant to ALSA = parsing through snd_pcm_open - 2071415096304193820: aplay to actually play a wave file - 2071706805114216559: 'ALSA hell month continues' - 2071937360288235902: Linux thread priority code - 2072135292115427728: Linux doesn't allow priority increase by default - 2072445315370590266: 'Wine workarounds - I could just detect' - 2072506103401754653: snd_pcm_sw_params for ALSA - 2072804183992922296: starting on WDM/KS audio for WIN32 - 2073096069529907441: re-trying WASAPI - 2073110092447203466: CPP_(obj) for mmdeviceapi Cleanup: removed 9 duplicate dirs (same posts at different anchor URLs), script temp files, and the '1857803914604618029' which was already a duplicate of '1857820858162753661' (mmap log canonical).
260 lines
9.9 KiB
JSON
260 lines
9.9 KiB
JSON
{
|
|
"root_post_id": "2071706805114216559",
|
|
"posts": [
|
|
{
|
|
"post_id": "2071706805114216559",
|
|
"author": "NOTimothyLottes",
|
|
"handle": "NOTimothyLottes",
|
|
"text": "ALSA hell month continues: remember it might be \"open source\" but it is definitely \"closed documentation\" [those docs are securely trapped in the minds of the authors]. Now that I have aplay playing a sound, it's time for garbage sifting through STRACE to see what is going on ...",
|
|
"timestamp": "2026-06-29 21:26:07",
|
|
"media_urls": [
|
|
"https://pbs.twimg.com/media/HMAt1GiXAAAoahX?format=png&name=orig"
|
|
],
|
|
"reply_to_id": null,
|
|
"quote_of_id": null,
|
|
"metrics": {
|
|
"reply_count": 3,
|
|
"repost_count": 0,
|
|
"like_count": 21,
|
|
"view_count": 1713
|
|
}
|
|
},
|
|
{
|
|
"post_id": "2071710958397898929",
|
|
"author": "NOTimothyLottes",
|
|
"handle": "NOTimothyLottes",
|
|
"text": "For devs working on linux, strace is a good friend, besides reverse engineering undocumented crap, it's useful to run on your own app as a bug test, like look what this idiot [me] did with nanosleep()",
|
|
"timestamp": "2026-06-29 21:42:37",
|
|
"media_urls": [
|
|
"https://pbs.twimg.com/media/HMAx0PmW0AAdUAy?format=png&name=orig"
|
|
],
|
|
"reply_to_id": "2071706805114216559",
|
|
"quote_of_id": null,
|
|
"metrics": {
|
|
"reply_count": 1,
|
|
"repost_count": 0,
|
|
"like_count": 4,
|
|
"view_count": 362
|
|
}
|
|
},
|
|
{
|
|
"post_id": "2071714384225681440",
|
|
"author": "NOTimothyLottes",
|
|
"handle": "NOTimothyLottes",
|
|
"text": "In my ALSA interface I war-dial the possible /dev/snd/pcm devices instead of just listing the directory. It's a lot easier in source code.",
|
|
"timestamp": "2026-06-29 21:56:14",
|
|
"media_urls": [
|
|
"https://pbs.twimg.com/media/HMA1CA9XIAAwRAB?format=png&name=orig"
|
|
],
|
|
"reply_to_id": "2071710958397898929",
|
|
"quote_of_id": null,
|
|
"metrics": {
|
|
"reply_count": 1,
|
|
"repost_count": 0,
|
|
"like_count": 1,
|
|
"view_count": 286
|
|
}
|
|
},
|
|
{
|
|
"post_id": "2071714528635527401",
|
|
"author": "Alex Burrows",
|
|
"handle": "AlexABPerson",
|
|
"text": "@NOTimothyLottes Have you actually reached out to said developers and offered to start a documentation effort/ask them some questions about things? It seems a little unfair to be rage posting about this all the time when the point is you (and me, and everyone) have the power to make it better.",
|
|
"timestamp": "2026-06-29 21:56:48",
|
|
"media_urls": [],
|
|
"reply_to_id": "2071706805114216559",
|
|
"quote_of_id": null,
|
|
"metrics": {
|
|
"reply_count": 2,
|
|
"repost_count": 0,
|
|
"like_count": 0,
|
|
"view_count": 62
|
|
}
|
|
},
|
|
{
|
|
"post_id": "2071715941688258752",
|
|
"author": "NOTimothyLottes",
|
|
"handle": "NOTimothyLottes",
|
|
"text": "Using 'strace' showed another bug in my setting schedule priority code (I didn't yet validate that code and check for errors). Definitely my ALSA test app shows ZERO errors in ALSA system calls, but doesn't actually play anything. Broken without errors = crappy API.",
|
|
"timestamp": "2026-06-29 22:02:25",
|
|
"media_urls": [
|
|
"https://pbs.twimg.com/media/HMA2LibWMAAMW3O?format=png&name=orig"
|
|
],
|
|
"reply_to_id": "2071714384225681440",
|
|
"quote_of_id": null,
|
|
"metrics": {
|
|
"reply_count": 1,
|
|
"repost_count": 0,
|
|
"like_count": 1,
|
|
"view_count": 113
|
|
}
|
|
},
|
|
{
|
|
"post_id": "2071716495667708051",
|
|
"author": "NOTimothyLottes",
|
|
"handle": "NOTimothyLottes",
|
|
"text": "In theory a good API, SNDRV_PCM_IOCTL_PREPARE would fail if the next SNDRV_PCM_IOCTL_WRITEI_FRAMES wouldn't accept the write. And that WRITEI should also fail instead of pass and setting .result=0 (of the snd xferi structure).",
|
|
"timestamp": "2026-06-29 22:04:37",
|
|
"media_urls": [],
|
|
"reply_to_id": "2071715941688258752",
|
|
"quote_of_id": null,
|
|
"metrics": {
|
|
"reply_count": 1,
|
|
"repost_count": 0,
|
|
"like_count": 1,
|
|
"view_count": 131
|
|
}
|
|
},
|
|
{
|
|
"post_id": "2071717187623030935",
|
|
"author": "NOTimothyLottes",
|
|
"handle": "NOTimothyLottes",
|
|
"text": "The best I can guess thus far is that the aplay app goes through some HW_REFINE ioctls before setting the HW_PARAMS, and perhaps the \"magic missing thing\" is in that process.",
|
|
"timestamp": "2026-06-29 22:07:22",
|
|
"media_urls": [
|
|
"https://pbs.twimg.com/media/HMA3sGVXwAAVDMT?format=png&name=orig"
|
|
],
|
|
"reply_to_id": "2071716495667708051",
|
|
"quote_of_id": null,
|
|
"metrics": {
|
|
"reply_count": 1,
|
|
"repost_count": 0,
|
|
"like_count": 0,
|
|
"view_count": 216
|
|
}
|
|
},
|
|
{
|
|
"post_id": "2071718568899624987",
|
|
"author": "NOTimothyLottes",
|
|
"handle": "NOTimothyLottes",
|
|
"text": "@AlexABPerson Haha I could start that with an email: hello godly ALSA dev, as a vintage pee-on programmer from the stone age, I was trying to ignore your advice about using the user-space API and thus needing GPL, and instead using the undocumented IOCTLs of the kernel driver directly ...",
|
|
"timestamp": "2026-06-29 22:12:52",
|
|
"media_urls": [],
|
|
"reply_to_id": "2071714528635527401",
|
|
"quote_of_id": null,
|
|
"metrics": {
|
|
"reply_count": 1,
|
|
"repost_count": 0,
|
|
"like_count": 0,
|
|
"view_count": 59
|
|
}
|
|
},
|
|
{
|
|
"post_id": "2071720126966034812",
|
|
"author": "NOTimothyLottes",
|
|
"handle": "NOTimothyLottes",
|
|
"text": "@AlexABPerson But on a serious note, I mostly shit post for the entertainment, because once in a while I actually learn something from a response. And often documenting the process might help someone else too ...",
|
|
"timestamp": "2026-06-29 22:19:03",
|
|
"media_urls": [],
|
|
"reply_to_id": "2071718568899624987",
|
|
"quote_of_id": null,
|
|
"metrics": {
|
|
"reply_count": 1,
|
|
"repost_count": 0,
|
|
"like_count": 1,
|
|
"view_count": 31
|
|
}
|
|
},
|
|
{
|
|
"post_id": "2071725181576319370",
|
|
"author": "NOTimothyLottes",
|
|
"handle": "NOTimothyLottes",
|
|
"text": "Best docs on REFINE that I've found yet is indirectly through this. Note tinyalsa doesn't seem to use this interface other than through pcm_params_get(), not the interative process seen in aplay strace. Maybe because tinyalsa is for android (different drivers)",
|
|
"timestamp": "2026-06-29 22:39:08",
|
|
"media_urls": [
|
|
"https://pbs.twimg.com/media/HMA-CDAXEAAw9ns?format=jpg&name=orig"
|
|
],
|
|
"reply_to_id": "2071717187623030935",
|
|
"quote_of_id": null,
|
|
"metrics": {
|
|
"reply_count": 2,
|
|
"repost_count": 0,
|
|
"like_count": 0,
|
|
"view_count": 167
|
|
}
|
|
},
|
|
{
|
|
"post_id": "2071741638162956648",
|
|
"author": "Alex Burrows",
|
|
"handle": "AlexABPerson",
|
|
"text": "@NOTimothyLottes That's fair, thank you for the honest reply! It *is* interesting to see a lot of these sorts of inner workings, and I definitely sympathise with the \"I can't believe it works like this\" feeling 😂 Stuff does have a tendency to get like that huh",
|
|
"timestamp": "2026-06-29 23:44:32",
|
|
"media_urls": [],
|
|
"reply_to_id": "2071720126966034812",
|
|
"quote_of_id": null,
|
|
"metrics": {
|
|
"reply_count": 0,
|
|
"repost_count": 0,
|
|
"like_count": 0,
|
|
"view_count": 20
|
|
}
|
|
},
|
|
{
|
|
"post_id": "2071759816725311959",
|
|
"author": "NOTimothyLottes",
|
|
"handle": "NOTimothyLottes",
|
|
"text": "SNDRV_PCM_IOCTL_HW_REFINE\nIf send out a zeroed snd_pcm_hw_params, the ioctl will fail. There is a special magic sauce to the structure that must be initialized correctly before you can even fetch hardware parameters. It's high level skill in Obfuscation. See *_any( in ALSA src",
|
|
"timestamp": "2026-06-30 00:56:46",
|
|
"media_urls": [
|
|
"https://pbs.twimg.com/media/HMBePMXXwAE5_1M?format=png&name=orig"
|
|
],
|
|
"reply_to_id": "2071725181576319370",
|
|
"quote_of_id": null,
|
|
"metrics": {
|
|
"reply_count": 1,
|
|
"repost_count": 0,
|
|
"like_count": 1,
|
|
"view_count": 96
|
|
}
|
|
},
|
|
{
|
|
"post_id": "2071760520852410838",
|
|
"author": "NOTimothyLottes",
|
|
"handle": "NOTimothyLottes",
|
|
"text": "magiz/\nclear snd_pcm_hw_params\nset masks[0 ... 2].bits[0]=~0\nset intervals[0 ... 11].max=~0\nset rmask=~0\nset info=~0",
|
|
"timestamp": "2026-06-30 00:59:34",
|
|
"media_urls": [],
|
|
"reply_to_id": "2071759816725311959",
|
|
"quote_of_id": null,
|
|
"metrics": {
|
|
"reply_count": 1,
|
|
"repost_count": 0,
|
|
"like_count": 1,
|
|
"view_count": 101
|
|
}
|
|
},
|
|
{
|
|
"post_id": "2071767401411084399",
|
|
"author": "NOTimothyLottes",
|
|
"handle": "NOTimothyLottes",
|
|
"text": "The rmask and cmask use bit indexed by the DEFINE so \n1<<SNDRV_PCM_HW_PARAM_{thing}",
|
|
"timestamp": "2026-06-30 01:26:54",
|
|
"media_urls": [],
|
|
"reply_to_id": "2071760520852410838",
|
|
"quote_of_id": null,
|
|
"metrics": {
|
|
"reply_count": 1,
|
|
"repost_count": 0,
|
|
"like_count": 1,
|
|
"view_count": 344
|
|
}
|
|
},
|
|
{
|
|
"post_id": "2071769518246953293",
|
|
"author": "NOTimothyLottes",
|
|
"handle": "NOTimothyLottes",
|
|
"text": "Hats off to Abramo Bagnara of the ALSA project for the worst kernel system interface I have ever used in my life. This refinement required just to configure an audio device is a master class on the worst way to do something. And still have a few hours left in reverse engineering",
|
|
"timestamp": "2026-06-30 01:35:19",
|
|
"media_urls": [],
|
|
"reply_to_id": "2071767401411084399",
|
|
"quote_of_id": null,
|
|
"metrics": {
|
|
"reply_count": 0,
|
|
"repost_count": 0,
|
|
"like_count": 1,
|
|
"view_count": 322
|
|
}
|
|
}
|
|
],
|
|
"source_url": "https://x.com/NOTimothyLottes/status/2071706805114216559"
|
|
} |