Post B5USAJU62o8WBo1D8a by roytam1
 (DIR) More posts by roytam1
 (DIR) Post #B58gEAx6pfgSlbCrjs by roytam1
       2 likes, 0 repeats
       
       trying to tell LLMs to write me a stb_image style AVIF decoder with zero-dependency, and none of them try to provide me a AV1 bitstream decoder.#AI #LLM #vibecoding
       
 (DIR) Post #B58jCSYihTIuejfj3A by mirabilos@toot.mirbsd.org
       0 likes, 0 repeats
       
       @roytam1 have you now gone over to the users of fashtech?
       
 (DIR) Post #B58jeo7Y7y8vdYTqls by roytam1
       0 likes, 0 repeats
       
       @mirabilos I don't think so, just having fun with those LLMs.
       
 (DIR) Post #B58korcs3APVMGURGa by mirabilos@toot.mirbsd.org
       1 likes, 0 repeats
       
       @roytam1 that’s still burning the planet…
       
 (DIR) Post #B58nsesJhPVkphDQVk by roytam1
       1 likes, 0 repeats
       
       @mirabilos it is. but I'm using it in minimal way, unlike those keep asking LLMs.
       
 (DIR) Post #B59MbMbRsUMtdToYDo by roytam1
       0 likes, 0 repeats
       
       and most of them just provide an ISOBMFF parser and nothing more.
       
 (DIR) Post #B59WaJA0BvAQD76zj6 by roytam1
       0 likes, 0 repeats
       
       perplexity is most aggressive one, it provided obu reading code, and also parsing code of av1c/ipco/ipma/iloc before hitting free preview limit. but still, no actual code for processing AV1 bitstream.
       
 (DIR) Post #B59iMBrDkHgUxNMTdw by roytam1
       0 likes, 0 repeats
       
       friend of mine seeing this and get interested to fire up some MCP agents trying to let AI generate some usable C files from the prompts. lets see what we will get later.
       
 (DIR) Post #B5BEXhwqAHxDMQUBXc by roytam1
       0 likes, 0 repeats
       
       got mini-av1-decoder-with-msac.tar.gz from AI, but still no valid output as it is still a stub CABAC and MSAC is not really incorporated in the code flow.
       
 (DIR) Post #B5BodGCRqGBlO8jW8u by roytam1
       0 likes, 0 repeats
       
       the copilot task is still running,
       
 (DIR) Post #B5DMVIZ8kiPw0dgMIi by roytam1
       1 likes, 0 repeats
       
       it was told the the task has ended and pushed to https://github.com/lenchan139/stb_avif , just checked and confirmed that copilot failed to generate a working AVIF decoder as well.#VibeCoding #AI #LLM #copilot
       
 (DIR) Post #B5DPIrvYGfLHmLvhjc by mawei@mastodon.social
       0 likes, 0 repeats
       
       @roytam1 LLM我只相信用来review patch...偶尔能发现有意义的bug
       
 (DIR) Post #B5DPk9VV0xrM7Wkn2G by roytam1
       0 likes, 0 repeats
       
       @mawei -讓它生多一點東西才能發現它們會在什麼地方唬爛-
       
 (DIR) Post #B5DQcHbZ7gmwsBP1Q8 by mawei@mastodon.social
       0 likes, 0 repeats
       
       @roytam1 review的时候就已经发现很多false positive了...早就知道多烂了...
       
 (DIR) Post #B5FW38yeCGPK1JkKu0 by roytam1
       0 likes, 0 repeats
       
       by dropping real world sample, about 2x of code is added by copilot. https://github.com/lenchan139/stb_avif/commit/dd34e576aa1c23cd44919a6a413027541bc4449a
       
 (DIR) Post #B5FeErvYDHCYFVOqxM by roytam1
       0 likes, 0 repeats
       
       but still, no actual pixel related decoding it done for now.
       
 (DIR) Post #B5JTFQy3bztk3sTkbw by roytam1
       0 likes, 0 repeats
       
       and my friend told me that copilot task died after telling it to start implementing intra-frame decode
       
 (DIR) Post #B5LsbuQxclJ4zSjR1U by roytam1
       0 likes, 0 repeats
       
       My friend changed to another AI agent[#], and start writing AV1 directional prediction block, it generates ~7000 lines of additions.https://github.com/lenchan139/stb_avif/commit/c6f10dd73430d4587a16d41cb5d91f295cf77f62[#] EDIT: not changed, just task died prematurely and restarted.
       
 (DIR) Post #B5NY2eMpl31gG4dBuy by roytam1
       0 likes, 0 repeats
       
       meanwhile copilot is still running the task, request-based credit system in copilot is just good for these kind of tasks.
       
 (DIR) Post #B5UFaxNf2E5e3BNmbo by roytam1
       0 likes, 0 repeats
       
       although copilot added lots of code, output image quality doesn't improve, why? https://github.com/lenchan139/stb_avif/commits/main/
       
 (DIR) Post #B5USAJU62o8WBo1D8a by roytam1
       0 likes, 0 repeats
       
       my friend told copilot to generate plan.md for further fixings. https://github.com/lenchan139/stb_avif/blob/main/plan.md
       
 (DIR) Post #B5bg8K4xcalCv2vTSC by roytam1
       0 likes, 0 repeats
       
       added more code, but still broken image. 64bit range coder doesn't work in VC2 and have to bump to VC4.
       
 (DIR) Post #B5cmuud3pIGd3mO956 by roytam1
       0 likes, 0 repeats
       
       found root cause of VC2 doesn't get properly working 64bit range coder: VC2 doesn't generate proper unsigned __int64 for immediate value, I need to write a wrapper for such case.
       
 (DIR) Post #B5cnWN2BBC3Fs5zzbk by roytam1
       0 likes, 0 repeats
       
       submitted https://github.com/lenchan139/stb_avif/pull/31/changes/cef2d5ad3130b2fd3953f4283beb730ee7ac1ba1