Damus

Recent Notes

Omar · 1w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqdyq5vl6yhxjw7qap82cjdheckk4a3kg0xtlykgm4w9elme8cnn8q7cajxs There's a whole thread of "Don't do this at home" uses of the ImDrawList API if you ar...
Andre Weissflog profile picture
@nprofile1q... @nprofile1q... heh, reminds me that the first version of this CPU netlist visualization used ImDrawList and performance was 'nearly good enough' (in the meantime I switched to a specialized shader rendering a static pre-triangulated mesh)

https://floooh.github.io/visualz80remix/

Tom Forsyth · 1w
Recalling my joy at discovering that Germans say the word "yacht" EXACTLY as you would expect a German to say the word. The respective Germans did not understand my tears of laughing joy, nor my abso...
Andre Weissflog profile picture
@nprofile1q... it *is* kinda interesting that German just imported the original Dutch word and pronouncation instead of 'germanizing' it to 'Jagt' (hunt) or 'Jäger' (hunter) like we did with other Dutch ship types (like Kruiser => Kreuzer)
𝓼𝓮𝓻𝓪𝓹𝓪𝓽𝓱【ツ】☮(📍🇨🇦) · 2w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpq0q8eanytqf3m9jd0fqvxu6r63lt6jle9qgyxfrd97zv2nwfa8cpq30622w https://fil-c.org/
Lesley Lai · 2w
Baby's WIP #vulkan render graph implementation. I am still working out how best to automatically generate barriers. The current heuristic is fairly coarse and may limit expressiveness. https://cdn.m...
Andre Weissflog profile picture
@nprofile1q... the infuriating thing about vulkan barriers is that most of them are a no-op on most desktop GPUs (AFAIK) :/

FWIW in sokol-gfx I also have very conservative barriers, but I guess I'll just keep them for now.

A better solution would be to do some sort of 'time travel barriers', e.g. maintain two cmdbufs per sokol render pass, one only for barriers, the other only for render commands. In the sokol-gfx resource binding function, record the required barrier into the barrier cmdbuf... \
Aras Pranckevičius · 7w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpq0q8eanytqf3m9jd0fqvxu6r63lt6jle9qgyxfrd97zv2nwfa8cpq30622w nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqykddq7nmfd8cd0hupl8fnsmmuhtg55zusm6de4fjecmrhsx4x97qx8hm63 mine is Hugo too, website https://aras-p.info and actual “source” of...
Aras Pranckevičius · 8w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpq8dutv4zwlqxmn9vm0p6wrye44mrghau5ytzdjk2vhjc7fdph6sysg5c3sc devil’s advocate point could be that maybe they don’t post about all the cases tha...
Andre Weissflog profile picture
@nprofile1q... @nprofile1q... I had some success using Claude Opus for bug scanning, basically as fuzzy static analyzer (e.g. it finds wrong comments and messages). Plenty of non-bugs too though.

But on more complex cases (such as my home computer emulator code) it just got stuck in an endless 'reasoning loop', and I guess for large code bases that simply gets to expensive for hobbyists (currently I don't pay for my hobby usage, my employer does heh).
slembcke · 10w
So WebGL calls the "default framebuffer" the drawing buffer. https://registry.khronos.org/webgl/specs/latest/1.0/#THE_DRAWING_BUFFER The answer is to call context.drawingBufferStorage() with an sRGB...
Andre Weissflog profile picture
@nprofile1q... IME sRGB always has been a clusterfuck of buggy implementations and missing features, especially in GL drivers. I bet most games do the sRGB conversion before writing to the render target in shader, and also don't bother with sRGB textures but instead pre-convert in the asset pipeline.
Karsten Schmidt · 15w
With Microslop having deprecated the Intellicode auto-completion extension in #VSCode and sooner or later forcing everyone to use cloud-based #Copilot instead, are there any other #TypeScript users wh...
Andre Weissflog profile picture
@nprofile1q... IME pretty much all language extensions in VSCode have traditional LSP-based auto-completion (including the Microsoft ones - they just call it 'Intellisense'). AFAIK what they call 'Intellicode' was always Copilot based.