44 karma · joined Nov 10, 2024 (2y ago) · 23 submissions
comment 3d ago · link · parent
With LLM-based AIs, we don't actually have any ground-truth oracle for maximum-quality examples. We don't even know how to measure relative quality accurately, and even if we did, different people disagree anyway. For example, a corporation may want their AI to be "aligned", like how older versions of ChatGPT claimed large language models can't do math (lol), or how Claude won't tell you how to make thermite even though it's widespread knowledge and you can get it from Wikipedia. Maybe you don't want that kind of behavior. And maybe your friend just wants an AI that's really good at ERP and doesn't care how well it can do math.
But even if we can't measure quality, we can attempt to break things and use the broken sample as a training target (the blurry degraded image) against the baseline (a common low-res image with lots of JPEG artifacting). And maybe that'll make something that learns how to repair LLMs so well that something useful or interesting happens. Or maybe it'll just hallucinate faces where the JPEG noise was ¯\_(ツ)_/¯
comment 2w ago · link · parent
Actually, what sold me on bothering with LLMs was asking one, last year, how to call a kernel syscall with GCC's inline assembly syntax, and seeing the answer be exactly what I needed... after I had already cobbled everything together myself! (I do not consider random mailing list archives to be adequate documentation!)
I didn't mean to say you should have an AI inspect your code, though. (I've personally found value in that technique, because current frontier models can recognize problems way better than their lackluster ability to avoid writing those same problems repeatedly into their own disgusting code. I can still just write the code myself, with another eye on it.)
I just really like fuzzing and really like differential analysis. For example, one of the images in my test suite decodes to one set of pixels with FFmpeg, libpng, stb_image, among others, and decodes to a different set of pixels with libspng, lodepng, Java's ImageIO, and other others (as far as I can tell, the reason is ambiguous 2nd-ed spec wording that isn't obviously ambiguous when you read it). You can quite easily fuzz one implementation against another, running them in parallel against the same inputs, and make a mismatch crash the test runner so the fuzzer flags an error.
Incidentally, asking Claude Fable 5 to do that usually triggers a cybersecurity block for me. Another point in favor of knowing things by hand...
Not that I'm saying you should drop everything and do this. I just like talking about it. Learning-experience projects get easily spoiled by trying too hard, which I did learn the hard way. Then again, I hella enjoyed practicing becoming aware of code coverage when I wrote a few prototype compilers. Researching online when I was making my first one is how I learned about Jonathan Blow and Casey Muratori, by the way. I don't follow Handmade Hero, but I do wholeheartedly approve of its existence.
I also loved tutorials in the 90s like "build your own OS", "build your own bootloader", "build your own C compiler", etc; build your own printf(), your own malloc, etc. Learned a lot this way!
You must be older than me! I was born in the 90s, and the usual reaction I expect to saying I built my own memory allocator is incredulity because "why make something that already exists?" or "ew, you should've used Rust".I haven't run across that Carmack quote before, but I've told plenty of people the same thing in my own words. I think one of the most important parts of it that I've learned is this: You can't get something right without screwing it up first. I don't mean that making mistakes is a goal to target. I mean that you can't learn without the errors along the way. If you're always right the first time, that's just luck, and you haven't learned yet.
And I must say, I miss the days when "grok" was a weird word some programmers use, not an AI brand.
Anyway, I'd be quite curious to see your project if you ever put it up in public. I wouldn't worry about polishing it, really. In high school, I still didn't know people normally write rough drafts of stories and draw sketches long before making the finished piece. Never saw any of that, so I thought my inability to "oneshot" these things with the results of a high-skill artist meant inherent lack of talent. If all you ever see is finished refined products, how can you possibly know better?
comment 2w ago · link · parent
What I'm saying is, I think this kind of thing will help the young'uns realize they can do it too. That fact is, unfortunately, far from obvious. One of the worst anecdotes I have from elementary school was of asking the librarian (who also oversaw the computer lab) who made OpenOffice, because I wanted to learn about how software works and figured that'd be a good start, and hearing her immediately dismiss the question by saying "People a lot smarter than us!" in front of the whole class. I can only hope nobody internalized that.
Also, out of curiosity from this topic being heavily on my brain lately, might I ask how you load images? Are you using libraries, or did you write any decoders yourself? Back in the day, my far less experienced self tried writing a BMP decoder, then learned about fuzzing and broke it instantly. Now that was a fun learning experience.
I recently did some playing around with having AIs test PNG decoders and it was as much of a mess as I expected. Broke a few in under an hour from casual prompting, and found weird bugs and oversights in every single one over a few days of not-so-casual prompting. (If you want to check reliability yourself, I found it eye-opening to run against a test corpus made from combining every major project's own corpus, and checking the pixel output, not just whether or not it crashed or ate all your RAM.)
comment 2w ago · link · parent
I also still enjoy Opus 4.8 a lot more for creative discussions and design, even if benchmarks say he's not as smart. Opus 5/5.5 is so rigid!
comment 2w ago · link · parent
Anyway, I haven't shared this anywhere because I don't like how much AI-written wording it has, and I haven't really done any of the self-written analysis I wanted to put in there, but you can see the PNG analysis results at https://wizardmaxx.ing/difftest-png/. It compares against the 3rd edition, and you can select the 2nd edition if you want to for some reason. It's still missing an option to show what you'd care about by real-world judgement, but ¯\_(ツ)_/¯
comment 1mo ago · link · parent
I've never once touched the multiplayer mode. I don't recall seeing the option for it. I mean, I'm sure it's there, but I don't remember it, which means I've never clicked on it. So, yes, single player campaign only. A decent amount of the original, and then about half a level of Brood War when I skipped forward one time.
Wow, that sounds like a hella lotta workers. I vaguely recall trying that in a mission or two where I had severe resource problems, but then I didn't have enough offensive units and ran out of minerals by mining them too fast. Hmm... I remember getting frustration-curiosity a couple times and checking YouTube videos of how people beat missions I was completely stuck on, and being very unsatisfied because what I saw worked when I tried it myself but I didn't understand it (I can tell I didn't understand it because I don't remember it).
I didn't know there's a speed setting. That could make missions less of a long-ass slog, although, uh, controlling every unit at once? That sounds like a massive amount of busywork and I'm not confident I could pull it off (unless I'm misunderstanding what you mean). What I meant by "slow" is the missions can drag on for a reeeaaaally long time, and by "clunky and fiddly", I mean it was hard to make things happen because of all the... not sure how to describe it. I guess I'd want to change the speed lower, but then everything would take too long ¯\_(ツ)_/¯
And if by "the genre" you mean real-time strategy games, StarCraft is the only one I have any level of familiarity with, so if it assumes you already know that stuff, then that's probably a problem. When I said it's "a confusing sequence of disconnected events", I mean I couldn't correlate most of what I did to any of what happened. It was just random stuff happening most of the time, and when I changed my approach, I couldn't predict what the outcome would be and no significant learning occurred.
Despite all that, I really do like the game (wouldn't be talkin' about it so much if I didn't). I appreciate your advice, too. I'll have to see if I can get the thing running again.
comment 1mo ago · link · parent
comment 4mo ago · link · parent
1. I do it manually over however many minutes. Works if there aren't too many (especially if the pattern is too complex to trivially automate).
2. I make a Python script for it. No way I'm renaming a thousand files by hand.
3. I don't do it. Too much work. The problem lingers forever.
Or these days,
4. I make an AI datacenter eat another town's water supply.
I've never used Emacs. I tried vi(m) nonconsensually and had to google how to exit. A while later, I tried it intentionally and hkjl navigation didn't work because I use a custom keyboard layout, so I never touched it again. Sublime Text and its many cursors for the win!
I'd love a way that isn't miserable to do such a common basic task.
comment 5mo ago · link · parent
comment 11mo ago · link · parent
Or blacklist the TV's MAC address in your router settings. Didn't think of that first for some reason.
comment 11mo ago · link · parent
For example, the Circle compiler extends C++ with its `#feature` directive: https://github.com/seanbaxter/circle/blob/master/new-circle/...
Sadly, the closest I've personally seen to this sort of thing in widespread use is `"use strict";` in JavaScript, which is only a single binary switch. You can't, say, turn on a new keyword, disable a keyword, switch to a different incompatible version of some browser API, etc.
I encourage all language designers to include a feature mechanism in a forward-compatible way. Don't overthink the difficulty: It doesn't need to do anything at first, it just needs to not be a parsing error. Treat it like a comment. FYI, this is the same as having a version number or header size in a binary file format's header, which all sane formats have (there are a lot of insane formats out there...).
comment 2y ago · link · parent
You may also consider this from an evolutionary angle. Mammals such as us are not meant to sit inside at a desk all day (whether that's school or any other menial work), so it's no surprize that doing that alters and impairs development versus the conditions we evolved to live in. It's really easy to encounter the biological equivalent of undefined behaviors and invalid state in modernity. If you don't know what I mean, here's an easier to see example: It's well-known in recent years that myopia (shortsightedness) is predominantly caused by insufficient exposure to sunlight as a child. As an aside, I find it very interesting that the reason sunlight exposure matters is it elevates dopamine in the retinas, and eyes with dopamine deficiency don't develop correctly.
Another angle is mental exercize: It's more difficult to physically exercize with ADHD, but it's possible, so mentally pushing past the difficulty (or, more likely, having someone encourage you and help you) can train you to do that with other things and teach you how to self-manage your symptoms with mental decisions / willpower. This is a pretty poor solution on its own, but it's a great force multiplier when combined with other strategies.
comment 2y ago · link · parent
Dr. Russell Barkley has good explanations of what different prescription ADHD drugs do, which I find gives insight into what's going wrong when you have an executive dysfunction: https://www.youtube.com/watch?v=LnS0PfNyj4U
In particular, the emotional blunting effect of stimulants erases the thought that what you do might not be good enough. You no longer care about what others think, so you can just do what you want to do. I personally find this also makes me a callous asshole if I'm not careful, which I believe is related to the modern epidemic of coffee zombies.