News for hackers. Stuff that matters.
Re:AWS deleted my 10-year account and all data without warning by wewewedxfgdf on Saturday August 02, 2025 @06:19PM (#44772121)
I once said to the CTO of the company I worked for "do we back up our source code"?

He said, "no, it's on github".

I said no more.

Re:AWS deleted my 10-year account and all data without warning by Dylan16807 on Saturday August 02, 2025 @06:27PM (#44772184)
If nobody has the repo checked out, what are the odds it's important?
Re:AWS deleted my 10-year account and all data without warning by bryant on Saturday August 02, 2025 @06:31PM (#44772208)
> If nobody has the repo checked out, what are the odds it's important?

Oh boy.

Tons of apps in maintenance mode run critical infrastructure and see few commits in a year.

Re:AWS deleted my 10-year account and all data without warning by Dylan16807 on Saturday August 02, 2025 @06:32PM (#44772220)
And the people using it multiple times a year delete it afterwards?
Re:AWS deleted my 10-year account and all data without warning by RealStickman_ on Saturday August 02, 2025 @06:36PM (#44772247)
relying on random local copies as a backup strategy is not a strategy.
Re:AWS deleted my 10-year account and all data without warning by bryant on Saturday August 02, 2025 @06:37PM (#44772254)
> And the people using it multiple times a year delete it afterwards?

The people wouldn't, but in the environments I'm thinking of, security policies might.

What you're leaning into is a high-risk backup strategy that would rely mostly on luck to get something remotely close to the current version back online. It's pretty reckless.

Re:AWS deleted my 10-year account and all data without warning by darkwater on Tuesday August 05, 2025 @03:10AM (#44795133)
> The people wouldn't, but in the environments I'm thinking of, security policies might.

In environments that go so far (deleting local checkouts of code out of security concerns), I bet they do have a mirror/copy of the version controlled code.

Re:AWS deleted my 10-year account and all data without warning by Lammy on Saturday August 02, 2025 @06:42PM (#44772294)
More like “none of the people who worked on it are at the company any more”
Re:AWS deleted my 10-year account and all data without warning by shakna on Saturday August 02, 2025 @08:48PM (#44773136)
They often only have a binary that you would have to reverse engineer. Source code gets lost.

To step outside just utility programs, the reason why Command & Conquer didn't have a remaster was:

> I'm not going to get into this conversation, but I feel this needs to be answered. During this project of getting the games on Steam, no source code from any legacy games showed up in the archives.

Re:AWS deleted my 10-year account and all data without warning by NewJazz on Saturday August 02, 2025 @06:32PM (#44772218)
Devs clean up their workstation sometimes. You can get fancy about deleting build artifacts or just remove the whole directory. Devs move to new machines sometimes and don't always transfer everything. Devs leave.

Software still runs, and if you don't have the source then you'll only have the binary or other build artifact.

Re:AWS deleted my 10-year account and all data without warning by OutOfHere on Saturday August 02, 2025 @06:37PM (#44772252)
You clearly haven't worked much with code over many years. When laptops change, not all existing projects get checked out.

In fact, in VSCode, one can use a project without cloning and checking it out at all.

Re:AWS deleted my 10-year account and all data without warning by Dylan16807 on Saturday August 02, 2025 @07:19PM (#44772585)
Honestly I'm just really wondering what the odds are. In particular for code that made it onto git.
Re:AWS deleted my 10-year account and all data without warning by OutOfHere on Saturday August 02, 2025 @07:25PM (#44772624)
Over the long term, the odds reach 100% that it won't be checked out. That's because people mostly only work on newer projects, and mature older ones, even if they're running in production, cease to see many/any updates. This doesn't mean that the older projects are now less important, because if they ever need to be re-deployed to production, only the source code will allow it.
Re:AWS deleted my 10-year account and all data without warning by CRConrad on Saturday August 09, 2025 @07:49AM (#44845792)
> In particular for code that made it onto git.

By “onto git”, do you mean “onto GitHub”? I really wish people would stop conflating the two.

In fact, I can't tell whether this confusion is just another symptom of, or a (major?) part of the reason for, why we're in the mess we're in.

Re:AWS deleted my 10-year account and all data without warning by Dylan16807 on Monday August 11, 2025 @06:41PM (#44870293)
I do not mean that, and I was not conflating anything.

Just making and committing to a repo at all is a step that implies a certain level of caretaking.

Re:AWS deleted my 10-year account and all data without warning by burnt-resistor on Saturday August 02, 2025 @09:02PM (#44773219)
Popularity != importance. There is plenty of absolutely critical FOSS code that receives very little maintenance and attention, yet is mission critical to society functioning efficiently. And the same happens in organizations too, with say their bootloader for firmware of hardware products.
Re:AWS deleted my 10-year account and all data without warning by gerdesj on Saturday August 02, 2025 @06:42PM (#44772296)
I would suggest your CTO needs some gentle reminders about risk management and how the cloud really works.

If your boss is that daft, its probably a sign to bail out. Remember to do your own personal due diligence. Due dill is not something that you just do for someone else: do your own! Do your own personal risk assessment. If code was lost, who would be found accountable? You or them?

EDIT: PS - I am a CTO ...

Re:AWS deleted my 10-year account and all data without warning by wewewedxfgdf on Saturday August 02, 2025 @06:46PM (#44772331)
But it's github ...... it can't be lost.

Unless github closes the account, or a hacker gets access, or a rogue employee gets mad and deletes all, or some development accident results in repo deletion, or etc etc.

Re:AWS deleted my 10-year account and all data without warning by weikju on Saturday August 02, 2025 @08:02PM (#44772859)
Gotta add AI agents to that list
Re:AWS deleted my 10-year account and all data without warning by SanjayMehta on Sunday August 03, 2025 @06:40AM (#44775587)
Or if the one employee who created the account and was paying for it on his personal credit card and then got laid off.

And no one else in the company knew what GitHub was.

Re:AWS deleted my 10-year account and all data without warning by robotnikman on Tuesday August 05, 2025 @07:13PM (#44805674)
Is there a story behind this oddly specific comment?
Re:AWS deleted my 10-year account and all data without warning by speeder on Thursday August 07, 2025 @04:16AM (#44821951)
Not op but I saw this happen kinda maliciously...

Company was founded by "visionary" CEO that is an sculptor and doesn't understand tech.

Most crucial employee is young guy hired right out of college.

Company now has 50+ developers, but the critical software is still made by that guy several years later.

Critical guy still get recent graduate salary, notices he is actually the most important person in the company, and asks for a raise.

Company denies his raise. He quits. Company hire a bunch of developers from cheap third world countries to replace him...

Company learns: 1. All software guy made a bit before he asked for a raise was on his personal, not company github. 2. The software is in other programming languages, not the one the company uses normally. 3. Everything the guy wrote since he joined the company, is extremely difficult to maintain, guy is a genius and all his code is correct, clean and well made, but his thought patterns and how they end in the code are just too different, and all people that worked with him before also were geniuses and didn't care the code was "crazy".

Note: the "other geniuses" mentioned above, also quit when other companies made them great offer and the stingy employer refused them a raise too.

Re:AWS deleted my 10-year account and all data without warning by SanjayMehta on Sunday August 10, 2025 @09:51PM (#44860110)
Was this company doing voice recognition for IVR systems, like 25 years ago?
Re:AWS deleted my 10-year account and all data without warning by SanjayMehta on Sunday August 10, 2025 @09:48PM (#44860097)
Happened where I used to work.

The guy writing scripts for a hardware test platform hosted them on a paid GitHub account.

System would pull the latest files off GitHub until the account ran out and the whole thing broke, months after he was gone.

Re:AWS deleted my 10-year account and all data without warning by OutOfHere on Saturday August 02, 2025 @06:42PM (#44772295)
I don't understand how the VC financiers got so rich while being so stupid as to hire such stupid people at the executive level, e.g. your CTO.
Re:AWS deleted my 10-year account and all data without warning by pintxo on Sunday August 03, 2025 @02:38AM (#44774569)
If only 10 out of 100 of your investments make it, does it matter if one of the 90 failed because of lacking backups? Their risk strategy is diversification of investments. Not making each investment itself bulletproof.
Re:AWS deleted my 10-year account and all data without warning by OutOfHere on Sunday August 03, 2025 @12:25PM (#44777639)
Yes, it is in effect a gamble. The issue is that this strategy doesn't really prove profitable for the majority of VCs. Less than 30% of VCs get to a unicorn or IPO deal. 46% of VCs don't profit at all. This is as per the recent post "(Only) half of senior VCs make at least one successful deal.". I am even ignoring the ones who drop out and don't contribute to the active statistics.

The strategy is about as silly as having ten babies and expecting that one of them will make it. It is what you would expect out of the worst poverty-ridden parts of Africa.

An alternative is to select and nurture your investments really well, so the rate of success is much higher. I'd like to see the script be flipped, whereby 90% of investments go on to becoming profit making, secondarily with their stable cash income being preferred to big exits.

Re:AWS deleted my 10-year account and all data without warning by klysm on Saturday August 02, 2025 @07:09PM (#44772517)
I mean it’s also on everybody’s laptop. Recovering from GitHub going away would be trivial for me
Re:AWS deleted my 10-year account and all data without warning by simondotau on Saturday August 02, 2025 @06:29PM (#44772198)
If the repo is on GitHub and two or more developers keep reasonably up-to-date checkouts on their local computers, the “3-2-1” principle of backups is satisfied.

Additionally to that, if any of those developers have a backup strategy for their local computer, those also count as a backup of that source code.

Re:AWS deleted my 10-year account and all data without warning by wewewedxfgdf on Saturday August 02, 2025 @06:40PM (#44772281)
CTO explaining that to the CEO when your source code is completely gone:

CTO: "I know our entire github repo is deleted and all our source code is gone and we never took backups, but I'm hoping the developers might have it all on their machines."

CEO: "Hoping developers had it locally was your strategy for protecting all our source code?"

CTO: "It's a sound approach and ticks all the boxes."

CEO: "You're fired."

Board Directors to CEO: "You're fired."

Re:AWS deleted my 10-year account and all data without warning by Tohsig on Saturday August 02, 2025 @07:57PM (#44772827)
Technically true, but only if we consider dev checkouts as "backups". In the majority of cases they probably are, but that's not guaranteed. The local repo copy could be in a wildly different state than the primary origin, a shallow clone, etc... While the odds of that mattering are very low, they're not zero. I personally prefer to have a dedicated mirror as a failsafe.
Re:AWS deleted my 10-year account and all data without warning by koonsolo on Saturday August 02, 2025 @07:06PM (#44772492)
The benefit of DVCS. Losing the source code from github when it's all on local computers is the least of problems.
Re:AWS deleted my 10-year account and all data without warning by burnt-resistor on Saturday August 02, 2025 @09:00PM (#44773207)
LMAO. Must be one of those MBA CTOs. At least mirror the crown jewels to bitbucket, Tarsnap, or somewhat else that has 2 weeks - 3 months worth of independent copies made daily.

If not MBA, the problem may also stem from the gradual atrophy and disrespect shown towards the sysadmin profession.