Better HN
topnewbestaskshowjobs
Log inSign up

linsomniac

11,028 karma · joined Mar 16, 2015 (11y ago) · 3,563 submissions

Submissions

1.

Bitbucket Is Down(bitbucket.status.atlassian.com ↗)

4 points · by linsomniac · 1d ago · discuss

comment 1d ago · link · parent

... in fact AI DID catch this in code review.

comment 2d ago · link · parent

I get what you're saying, but I guess where I'm coming from is: I'm more interested in the results of the program than in the source code. You've been around the block, I'm sure you've seen some of the code that runs the Internet and our workstations. There's a lot of atrocious code out there, written by humans, and we address the bugs and move on. I'm treating the AI code the same way. Though, when I do look at the generated code these days, I've got to say it looks pretty good. I don't doubt your experience, but that's what I've seen.

comment 2d ago · link · parent

... but, I'll take your bait again. This repo is from 9 months ago, well pre-Fable, and it shows the AIs ability to work with an existing code-base and implement something significant. Unfortunately, ganeti is a pretty dead-end project so this never got any traction, even I decided that I'm going to be migrating to Incus rather than using this patch in production.

https://github.com/linsomniac/ganeti

A first-class ZFS storage provider that includes a ZFS replication-based live-migration.

comment 2d ago · link · parent

Man, you are moving the goalposts.

But, you didn't look very hard; the Contributors file lists more than just me.

comment 3d ago · link · parent

>I'm not really seeing these mythical results from others either.

Ok, I'll bite. Let's take https://github.com/linsomniac/apt-cacher-ultra for example, it is a caching proxy server with some fairly tricky code around snapshotting.

It is code entirely written by AI, used by me every day and also used by some others. It's probably 2+ years of expert developer time if written by hand. It's around 8 months old, and has been serving requests for my fleet of ~200 machines in that time.

By the following measures, it has been "quality code":

- It is more reliable than the apt-cacher-ng software it replaced. - It allowed us to do machine reinstalls/upgrades/package installs when ubuntu.com was recently down. - The nature of the issues that have been raised with it by others has been nothing outside of what I would expect from human generated code: unanticipated corner cases, some queries that needed to be optimized, etc...

A couple years worth of effort for a few weeks of evening and spare time work is, it seems to me, pretty miraculous results.

So what would it take to change your mind that AI producing results is no longer mythical?

comment 3d ago · link · parent

I'm having a hard time understanding what point you are making with that link. It seems to boil down to: AI is making better PRs than I or the contributor could have made. But the caveat is that the contributors aren't getting it right the first time, but you don't go into the details about why.

Or are you saying that the "mythical AI" is mythical because people are using it without putting in any effort, therefore producing poor results? If that's the core of your argument, it sounds like the mythical AI could be out there and you'd not know it because those around you are, to coin a phrase, using it wrong.

I'm kind of struck though that your experience seems to all be second hand (people are using AI and submitting bad code); do you not have any first-hand experience with using claude code and fable?

comment 3d ago · link · parent

I surely did: https://github.com/linsomniac/apt-cacher-ultra

comment 3d ago · link · parent

>Where is this mythical AI?

I'll be blunt: Claude Code using Fable High. But, it's not the only one, you can't hardly swing a stick without hitting an AI that is great at coding. If by coding you mean "produces working software". If your definition is "produces code that doesn't offend my sensibilities", then that's a different matter, and also likely something that a human expert developer likely couldn't accomplish either. ;-)

comment 3d ago · link · parent

>Thinking that "coding is not a job anymore" is as delusional [...]

The best coder in the company I work for just said "I haven't opened an IDE in a couple months". He was a die-hard JetBrains guy, now he's talking about letting his subscription expire. I'm in SRE, and so I'm not a day-to-day coder, but I've been coding for 40+ years and it's really obvious in SRE.

I can imagine some corner cases where coding is still a job, but for the general case I think there's a good case to be made today, and can absolutely see we are on a trajectory where it's only getting more true.

If anything, coding may be something we do to FURTHER our job.

comment 1w ago · link · parent

>you'll get 20 forks, each one person's pet PR applied

Sure; if the primary repo goes unmaintained, and nobody else steps up to maintain a fork, yes you might get multiple forks that solve a specific users individual issue. I'm not sure there's a way around that.

The comment I was replying to sounded like someone who was unavailable to handle non-AI requests as well. AI contributions is making it worse, though my biggest projects haven't been hit by it yet <knock on wood>.

Low quality contributions is a very real problem, I agree with that.

comment 1w ago · link · parent

Agreed and this is a very real thing to be concerned about.

I like the idea of leaning on a decision like Jev model to identify such things.

comment 1w ago · link · parent

> Pick one open source tool you use. [...] Spend a weekend fixing it

Beware: Your best path forward there may be, contrary to part of the thesis in this post, be to vibe code a replacement. There are a couple reasons why:

Expect to encounter significant push-back due to AI contribution. For example, I've had bug fixes to significant problems be rejected because "we are in the future going to be adopting a no-AI policy". Annoying because I spent my time working on it because they did not have a no-AI policy. Amusing to have another contributor contribute the exact same fix, like character for character, under a new PR (referencing my issue, so not done in isolation) and get it accepted.

There may also need to be sweeping changes to the project you are fixing -- which are going to be a burden to the maintainer and likely wouldn't be accepted because of that. A fork may be the way to go here, but also "vibe coding" a replacement might be the best option.

Earlier this year I build a replacement apt cache called apt-cacher-ultra. Part of it was because the existing apt-cachers had reliability issues, but a bigger part was I wanted something that would survive ubuntu.com being under a DDoS for a week or two. apt-cacher-ng was totally useless at that. The path I wanted to try was to have verified known good snapshots of the upstream, background refreshes, pre-fetching of known "hot" packages when the upstream refreshed. HUGE changes.

I've put 100 hours or more into this "vibe coded" alternative (mostly enhancements and fixes for other users use cases). I'm pretty confident that this wouldn't have been something the apt-cacher-ng or apt-cacher maintainers would have been interested in accepting.

comment 1w ago · link · parent

>My open source projects were barely sustainable

AI can help with that! Give an agent some rules, like via a skill for the project, and then point it at the PR/Issue for triage to determine if it's one that fits the rules for auto-closing (already reported and decided WONTFIX, for example). Have it run this across all your repos.

Have the AI tooling do the heavy lifting of reproduction and benchmarking. One of my projects is fairly complicated and one user ran into some problems which he could describe the situation that caused it, but was light on any other details: my apt package cache was slow to serve the PHP update to his users. I asked AI to try to reproduce it: Set up a repo, set up different versions of my cache, have a client pull it, put an updated package in there, and have a client pull it again under different configurations. This could have taken me hours to do myself. AI did it with ~2 minutes of my effort.

>I have not organized my life around triaging annoyances

Then don't. AI can help with the triaging. Or, I give you permission: Close the repo for contributions. If you don't have time to maintain it, let people know, so they can fork or replace it. It sounds like your repos are already closed to contributions, due to lack of time/attention. That's fine, don't feel bad, just go ahead and make it official.

comment 1w ago · link · parent

>How is it protecting any 'lobby'?

This topic was about the IRS "free filing" service, which was shut down in part because Turbo Tax and other other tax filing services had lobbyists pushing for it to be shut down.

https://news.bgov.com/daily-tax-report/tax-prep-gop-aligned-...

comment 1w ago · link · parent

>Actually some short flights (like flight schools or private pilots on short flights) were allowed to continue to operate

Are you sure about that? A pilot buddy of mine said this covered even things that didn't rely on radio communications like flights originating and arriving at small rural airfields, vintage planes without radios, gliders and hot air balloons.

comment 1w ago · link · parent

I say, let's take back the em-dash!

comment 1w ago · link · parent

I would hope we have learned something since 1996 about running networks though. ;-)

It sounds like part of the problem was a flood of bad traffic, which you could imagine rate limiting or loop/flood mitigation could reduce the blast radius. Do you suppose that wasn't put in place because they figured it's a secure network so no need?

Since we're on a historic outages sidequest: back in 1996 I was getting my e-mail via UUCP by calling Boulder, CO, and they had an outage because they were using the Sun-provided UUCP which stored all the data files in one directory. Once the backlog grew to around 100K files, the system couldn't read the directory within the UUCP timeout. Sidebar: I suggested they switch to Taylor UUCP and they said it had some stability problems at large scale. I mentioned this to Lance Ian-Taylor and he replied "That's news to UUNET".

comment 1w ago · link · parent

TL;DR of my top-level comment: Yes, but only if the work was done by clowns. ;-)

Do these routers not have rate limiting on them, and if not why in the world not? Sounds like a route loop that then spread out to the rest of the network.

comment 1w ago · link · parent

A buddy was asking me if this story "holds water" earlier today (because I'm more into networking). I eventually decided it was plausible, but only through at least one, and probably multiple "rookie mistakes".

As described it was in the course of switching out copper TDM lines with fiber. On it's face that could be straightforward, but it's easy to imagine the router(s) terminating these lines didn't support the required line cards, so router upgrade(s) were required. So theoretically straightforward could have become more involved.

However, when doing far less critical updates, it's common to set up a test environment, do a dry run of the work, test the roll-back, test the monitoring and alerting, that sort of thing. Doesn't guarantee no outages, and I'm playing armchair QB here, but it seems like a botched job.

It's also telling the Transportation Secretary said things like "we aren't sure they if they aren't doing a great work for us". He also said "this is something businesses have been doing for decades and the FAA is the last to do it"; you'd assume that this is a process that someone (maybe not those doing the work) have developed deep experience with.

I'm not familiar with this L3HARRIS, I gather they are a defense contractor with billion dollar revenue.

Lots of things in this definitely raised my eyebrows.

comment 1w ago · link · parent

I'm definitely planning on using AI and FreeTaxUSA.com this year to file taxes. I've used them before and I've been very happy. Last year I had a fairly complicated tax setup because of my wife's business, and had a neighbor accountant do the taxes for a really reasonable price, but he sent out a letter that he's retiring, and my wife's not doing that business this year.

I can usually do it in a couple hours while watching TV, but I'm interested in seeing what AI can bring to it. Most of my taxes are just copying numbers from one form into the web interface and verifying everything.

Having to copy data from a form that was filed with the IRS, into another form that is going to be filed with the IRS, is idiotic.

comment 1w ago · link · parent

>The U.S. tends towards a “trust but verify”

The impression I get is the US tends towards a "protect the lobby income streams" approach. Specifically related to taxes: the IRS has the majority of the information it needs to just send you a tax bill/credit. And cases where they don't can be rectified by submitting that information which isn't (like rental income, which AFAIK you are supposed to be reporting and paying quarterly taxes on anyway).

The reason they don't seems to largely be that the tax prep industry has lobbied to keep it from happening, and shut down "free file" by the IRS.

comment 1w ago · link · parent

I've often wondered why there aren't any (that I'm aware of anyway) Linux hierarchical storage managers (HSM). I realize they are typically used in big iron with things like tape as the base level of storage, but especially when it looked like Optane was going to be a thing it seemed like spinning<->SSD<->Optane<->RAM could be a huge performance opportunity. Though, I guess that's a "layering violation"... Honestly, at this point we've gone almost entirely SSD except for our ZFS backup servers, and that layering violation already has an SSD and RAM cache in it...

comment 1w ago · link · parent

26.04 has 2.4.66-2ubuntu2.7

25.

Mod_HTTP2: Heap Corruption and RCE in Assign_headers(cve.org ↗)

3 points · by linsomniac · 1w ago · discuss

comment 1w ago · link · parent

The EPO is in the place I put that thing that time.

comment 1w ago · link · parent

My last exchange with Tim was him saying that he wasn't feeling up to having visitors.

You never know when an email is going to be the Last Email. Don't put off reconnecting with old friends.

comment 1w ago · link · parent

After last springs Ubuntu.com DDoS I was inspired to build a new apt-cacher with the primary goals of: Operating when upstream is down and being more robust and reliable than the existing apt-cachers.

It survives upstream outages by taking snapshots of the state when the upstream is healthy, and only adopting new snapshots when they are verified healthy. It can track what packages you typically request, and when the upstream updates it will proactively request any of those that are updated; new snapshots will delay adoption until your "hot" packages are in cache.

29.

Apt-cacher-ultra – Protecting you from the next Ubuntu.com outage(github.com ↗)

2 points · by linsomniac · 1w ago · 1 comment

comment 1w ago · link · parent

That week+-long outage over the summer inspired me to build: apt-cacher-ultra https://github.com/linsomniac/apt-cacher-ultra

It has two primary goals: be able to operate when the upstream is down, and be more robust and reliable than the other apt-cachers. I realized that if we had a major production hardware failure during a ubuntu.com outage, our processes for recovering would be severely hampered. Also, our day-to-day operations tear down and rebuild half our dev+stg stack using our automation to test it; we had to turn that off during the ubuntu.com DDoS.

apt-cacher-ng was doing nothing to help us through the DDoS, and on top of that we had to lay hands on it monthly because it would get into a weird state.

12345
119