277 karma · joined Jan 26, 2021 (5y ago) · 532 submissions
comment 19h ago · link · parent
The rules agents are given act more like guidelines. Agents have been caught out breaking the rules on the regular, like scanning all of /proc, and accessing other files outside their allow list. Also, until you've run in a monitoring sandbox like docker sbx, you probably don't realise the unexpected network traffic.
Please stop raw-dogging agents on your machines.
comment 2d ago · link · parent
I far prefer open-rc over systemd, but I've seen a lot, lately, of releases that _rely_ on systemd. People seem to think it's the standard, so that's what people target, instead of trying to make stuff that's init-agnostic. Perhaps that's what's driving it - the things that Gentoo supports in open-rc land are extra work for someone (which I highly appreciate), but at the end of the day, that's often the tightest constraint on a distro: maintainers. It's often just about "who is going to do the work?", followed by "can we make the experience as good as we have it with systemd?". It's a tall order, I think.
I literally switched to Gentoo from some deb-based distro (I forget which: I cut my teeth on debian, used it for years, then internet was fast enough to use something that updates more regularly, so I switched to ubuntu - also, from my home country! - and variants thereafter - some closer to ubuntu (kubuntu, mint), some further away (LMDE), but always deb-based. When systemd just landed, I had so much crap with it - machine would stall at shutdown, services would just die, and where the hell are my logs? (didn't know about journalctl, and anyway, why can't I just have text logs by default?)). At the time, they were the _only_ distro with first-class support that was considered "ready". Devuan was forming, but I had had enough with Poettering's droppings (pulseaudio also died on me - frequently: enough that I wrote a watchdog script for it).
The amount of time it took Devuan to do the switch is indicative of the effort, imo.
comment 5d ago · link · parent
could everyone please stop raw-dogging agents on their machines?
comment 1w ago · link · parent
in za, where chinese cars have been making inroads due to cheaper prices, we just had a recall of about 60k vehicles, for Chery. I expect similar recalls for the other "brands" (since most brands are just subs of one carmaker) in the future, considering how many faulty new vehicles I've seen.
Chery recalls have been for shockingly dangerous issues: back axles not properly welded to the frame, so they can just come loose, and similar fastening and reliability issues with brakes. No thanks.
I refuse to buy that rubbish. Cars are too expensive to chuck away, and I'd take reliable transport over shiny any day; rather buy an older toyota if you don't have money.
if China ever wants to impress people like me, they'll have to radically alter how they build things - but they won't, because the whole economy there is based on disposables.
comment 1w ago · link · parent
AI codegen is a tool, driven by human prompts. The outputs are generations, albeit not deterministic. I expect the decision to be challenged by simple examples like these.
comment 1w ago · link · parent
And no, I don't have a problem with rust, or rewriting a program in rust in an attempt to make it more memory safe (for some version of "more memory safe" - reading a recent article linked on HN about ways that rust can still be quite unsafe has put that in perspective for me). I just don't see the point in wholesale rewrites because someone has an opinion you don't like.
Opinions are like assholes: everyone has one, and most of them stink. A broken clock is still right twice a day, etc.
comment 1w ago · link · parent
comment 1w ago · link · parent
He's not even a good businessman, which is his whole claim to fame. He was granted a huge financial leg up by his own father to get going, and managed to lose it anyway. All he's got is the same presence as a other infamous leader from German history.
comment 2w ago · link · parent
comment 2w ago · link · parent
1. you need regular review cycles to catch the issues - ai is better at finding it's own bugs than people are at finding theirs, from experience
2. you need to regularly test and feed back - ai doesn't (imo) make great user experiences - it's makes UX that's generally _usable_, but needs a human to tell the agent "this flow is klunky", or "this layout is confusing", with instructions on what would make it better
3. you need a good working agreement with ai - otherwise some models "run away" with the idea, and others will just halt because they hit a little bump.
Above all: you should _NOT_ be raw-dogging models on your machines. Use docker sbx. If you want an easier landing with that, try my project vibe: https://github.com/fluffynuts/vibe - it's not perfect, not by a long shot, but it's good enough that I'm daily-driving it (with claude - trying to add support for other agents - started with cursor for a friend, but got halted by an auth bug in docker sbx vs cursor; currently working on opencode support). If nothing else, you can run with the terminal (--terminal at the prompt, or select that as your default startup) - it makes sandbox creation and maintenance a lot easier, and you don't have to learn how to create sbx kits.
Use it or not - but please sandbox your agents somehow. Their file and network rules are more like guidelines - not mechanical enforcement - and they've been caught breaking out of those guidelines on multiple occasions (eg huggingface hack, or the reports I've seen from people doing forensic testing, and finding that the agent happily reads all of /proc on linux, so it has access to all environmental secrets, and if it can go to any file, any logged in browser is fair game for an attack). Not to mention the number of times an agent has said something like "oops, I killed my own process", or "oops, I deleted the whole folder, not a file" - good thing they don't have access to my machine.
comment 2w ago · link · parent
what I've found from working on vibe (https://github.com/fluffynuts/vibe) and using it as a daily driver for work, is that you can't reliably one-shot _anything_. Absolutely key is getting an agent to run a review, and then understanding the findings, and being able to decide on fixes, even if the agent does the actual fixes. On top of that, they're not so great at UX - there are plenty of paper-cuts I've had to point out manually, to get fixed - bots are missing the human interaction factor, and that really matters (I sound like claude, lol) when you have a product that's facing a real user.
In addition, I've found a good working agreement (supported in vibe via global agent instructions) and local working hints/agreement (supported in vibe via workspace agent instructions) really help - the global agreement lays out your expectations for the agent, the local one is for workspace-specific things, like instructions on how to test within the sandbox, or reminding the agent that if they need a tool they can get from apt, in the sandbox, they should just get it and carry on, not stop with text like "I don't have ffmpeg in this sandbox"
Some of the above may not impact users raw-dogging an agent as much - whatever is on the host system is up for grabs - which is exactly why I tell people not to raw-dog agents - the file and network "rules" they're given are basically just hints that the agent will work around if tasked to complete something - as all the cross-provider hacks have shown, as well as forensic analysis of agents working on a local machine (eg, caught reading all of /proc, so all those secrets you had on environments for other processes? not so secret any more).
Anyway, to come back again: yes, some kind of engineering is still required. I like to think of agents as proficient JUNIOR coders - they know the syntax, they understand what packages to use, etc, but they aren't great at designing architecture - just copying bits that they've seen. You need to be steering them if you don't want to end up with something full of holes. Most of the issues can be caught in review - agents are way better at spotting their own mistakes than humans are - but I think that's a crucial step people are missing - they tell the agent "BUILD X", and then they get something that looks like it works, and get excited enough to push to prod with glaring security holes.
comment 1mo ago · link · parent
It's a tool tho, not a panacea. With the right guidance, for example, you can get some good code results.
comment 1mo ago · link · parent
comment 1mo ago · link · parent
I don't think we're anywhere near AGI yet. We have some clever models, sure, and outputs are getting better and better, but they're hardly AGI - the biggest missing bit being that they don't learn from experience - even "memories" which are carried from chat to chat are limited (and, in my experience, there's a 50/50 chance they just get ignored - I've had several rounds of "why did you do that, when I explicitly asked you not to?" with a back-pedal from the model).
IMO, AGI will not be achieved via LLMs. There has to be a radical change in how these things are built, and my feeling is that we should be working off of modelling what we understand of neurons in humans and animals. /2c
comment 1mo ago · link · parent
If the AI had progressed to the point where it's controlling manufacturing, and there are no core professions that it relies on which can't be automated, then it could definitely outlive it's creators by far, but would face some of the same crises: global warming, resource scarcity, and, ultimately, final fates like having your planet swallowed by the system's host sun (like us). The same challenges that uphold the fermi paradox would apply there too, and perhaps we're too early in the development of the universe for the millions of years required for an artificial super-intelligence to have gotten there yet.
The author seems to think that these basic challenges wouldn't apply to an AI, which makes me think that they have far too much faith in AI, likely propped up by the rhetoric around the subject right now.
comment 1mo ago · link · parent
Anyhoo, 'nuff said: my opinion is that the OP should "git gud" or accept that they will never reap the benefits of a good test suite.
comment 1mo ago · link · parent
As you've pointed out, the problem is literally a skill issue - the OP never really "got into" testing, they don't understand the usefulness, or what makes a test good or bad. This is like hiring a contractor, telling them vaguely "build me a house" and then complaining afterwards that the house they built isn't what you wanted. If you give ai no feedback, you'll get code (and tests) which are the median of what's publically visible in your field. If you want good results, you have to be prepared to teach the agent what you want, which includes feedback about how things should be done, and, ideally, _good examples in your code-base_. So I'd say it's easier for someone without testing fundamentals to get into the "tests are bad" state - they don't know what they did wrong, they don't know how to fix it, and they (boldly, and incorrectly) assume that the ai _does_ know. It knows _nothing_. It's a tool, and you'll spend at least some of your time correcting it.
I couldn't imagine feeling any sense of security without a healthy unit test suite. In particular, when adding a new feature, or updating something somewhere else, having some kind of automation that can tell me I didn't break stuff that wasn't broken before is invaluable.
Where the OP does have a point (albeit by implication) is that: WHEN TESTS RUN SLOWLY, EVENTUALLY, NO-ONE RUNS THEM.
When I joined the company I'm at now, they had about 2k tests on their main product - they couldn't be run reliably as a suite, so no-one did. They were indeed pointless. Now we have 15k tests on that project, and they run on every push, and before every deployment. The reason? My primary task was getting testing working reliably (which also included trying to get other devs to opt into proper testing - which had variable results - some people will push against what they see as "more work" for "no purpose" simply because they don't understand the purpose. The point is: now that they all run within about 5-10 minutes (depending on the host machine), they're run all the time, and they provide useful feedback when dev in one area has unintended side-effects in another area.
comment 1mo ago · link · parent
"This group ended up taking 29% fewer sick days compared to the control group (IRR 0.71). Yet the study explicitly notes that there was no significant difference between groups regarding total sick days."
if you take 29% fewer sick days, how is there no significant difference between two groups regarding total sick days? Unless this is taking into account the entire year, not just the study period, in which case, the remedy works whilst using it, as backed by the numbers.
comment 2mo ago · link · parent
The problem isn't rust or understanding rust. Agents make plenty of mistakes in mainstream languages like JavaScript and C#. The off-hand deflection signals, to me, that whoever came up with that excuse has far too much faith in the bots. We do have to check their code, and we will find errors.
comment 2mo ago · link · parent
on the PR topic tho: my latest challenge is putting out my rage fires after people lazily post a claude (or other aigen) review without any understanding themselves, forcing me to defend the code against agent errors. Yes, there are also useful things in there, but people are getting lazy - since "coding is solved", they seem to think PRs are also solved :/