NHacker Next
login
▲How Frogger 2’s source code was recovered from a destroyed tape [video]youtube.com
185 points by perching_aix 2 days ago | 58 comments
Loading comments...
tomashubelbauer 9 hours ago [-]
The source code: https://github.com/HighwayFrogs/frogger2-vss

I enjoyed skimming through this: https://github.com/HighwayFrogs/frogger2-vss/blob/main/teamS...

Jean-Papoulos 8 hours ago [-]
Line 427 makes this game NSFW !
wkat4242 42 minutes ago [-]
Which file? Now I'm curious :)
javcasas 5 hours ago [-]
This is dedicated to the people in the other thread about forbidding swearwords in code.

Take this!

secondcoming 8 hours ago [-]
Committing ASCII-art of a scantily clad woman is quite the power move.
msgodel 7 hours ago [-]
I wouldn't mind coming into the office if we were allowed to behave like this again.
GEBBL 6 hours ago [-]
I feel this was an ‘of it’s time’ thing, but I am so glad we have moved on from this. I wouldn’t enjoy working in a workplace where this was acceptable.
redeeman 2 minutes ago [-]
seriously, what makes that so bad?
msgodel 6 hours ago [-]
The consequence is that the workplace is a sterile no mans land and you're better off remote.

Like I said: if being there were actually meaningful it might make sense to be there.

MyPasswordSucks 6 hours ago [-]
It's an ASCII art of a nude woman. So what? It just seems like such a busybody thing to get one's feathers ruffled over.
gortok 6 hours ago [-]
How about ascii art of a male penis every time you opened your IDE?

The point isn’t what you (MyPasswordSucks) would find objectionable, the point is what the median would find objectionable in a professional setting. Luckily we’ve gotten away from the locker room behavior being the median and now the median is approaching good-manners behavior. This is one of the situations where the Overton window shifting makes us better as a species instead of worse.

MyPasswordSucks 4 hours ago [-]
> How about ascii art of a male penis every time you opened your IDE?

Once again: So what?

> The point isn’t what you (MyPasswordSucks) would find objectionable, the point is what the median would find objectionable in a professional setting.

I'm part of this "median" you seem to hold in such high regard. If you try to silence all data points outside your preconceived notion of what the "median" view is, then what you have there isn't a median, but just a few vocal people who happen to be on your side.

doublerabbit 5 hours ago [-]
> How about ascii art of a male penis every time you opened your IDE

I already do, it's called VSCode and it definitely operates like a phallus.

msgodel 5 hours ago [-]
I think everyone can agree women are nicer to look at. Regardless most of the developers were (and in most places even more so now) men anyway.
toxican 4 hours ago [-]
Why would you assume other men want to see that shit either? It's weird, creepy, unprofessional, and weird and creepy. Mostly weird and creepy though. Like are you so lonely and horny that you need to plaster your shit with half-naked women?
doublerabbit 45 minutes ago [-]
None of those things. I personally laugh at it for shits and giggles.

"Andy, lol."

It's not weird, nor creepy. Unprofessional maybe, but it's a developers morning shit post and humorous for its time. 1999.

Stop applying the future on to past antics.

If a women had posted a half naked man in ASCII this thread would have different tune.

jcranmer 4 hours ago [-]
Even if you restrict yourself to talking about men, asexual and gay men exist. And honestly, I suspect that such people are more common among developers than among the base population.
msgodel 4 hours ago [-]
Sure and for the sake of this minority of asexual and gay men and women we have made the office an unpleasant sterile place.
jcranmer 3 hours ago [-]
Funny that I and my coworkers have figured out how to make the office not an "unpleasant sterile place" without doing so in a way that alienates so many classes of people.
toxican 3 hours ago [-]
Oh yeah it's so unpleasant not having to see creepy and gross shit in the work place because some horny dork never grew up. Gosh won't someone please think of the incels?!
keoneflick 3 hours ago [-]
>I think everyone can agree women are nicer to look at

How is this toxic bullshit upvoted on HN. What the actual fuck. No everyone does not agree with your bullshit.

n_plus_1_acc 4 hours ago [-]
I have reported your homophobic comment.
sweezyjeezy 6 hours ago [-]
It's teenager-ish, and the kind of thing that would make people uncomfortable if they saw it at our own workplaces. We can argue about whether companies 'should' punish people for stuff like this, but I can say for sure that I don't feel like I'm missing out on much here.
bayindirh 6 hours ago [-]
I still design and add banners to my servers' MOTD to add a little fun to my day. No NSFW stuff, however.
msgodel 6 hours ago [-]
Mine is a corporate style # rectangle but instead of legal crap it just says "msgodel's laptop/vps/robot/whatever\n Be Nice!"
bayindirh 5 hours ago [-]
Mine are old BBS style banners, generally glorifying the hostname, and a small tagline for the server itself, related to its function.

A hypothetical DNS server might greet you with "All your zones belong to us!".

voidUpdate 4 hours ago [-]
Sounds like you should go and work at blizzard
Simran-B 5 hours ago [-]
Another entertaining piece by the Lego Island guy!

My takeaway is that you should choose a passion project as your hobby and put in the time to learn and do whatever is necessary to achieve your goal on your own or together with similarly motivated people rather than relying on anyone external you have to pay - things go downhill fairly often and quickly it seems. Is any business a scam to some degree nowadays?

NaOH 14 hours ago [-]
Related:

The long road to recover Frogger 2 source from tape drives - https://news.ycombinator.com/item?id=36061574 - May 2023 (213 comments)

heavensteeth 10 hours ago [-]
I'm not surprised by the data recovery company story, it feels like I only hear bad things about that industry. I remember something similar happened with LinusTechTips.
dylan604 5 hours ago [-]
I once wrote a DAM that wrote to LTO tapes just using tar. The tape was operated with forward/rewind commands from mt. Nobody needed access to the tapes until after I was no longer at the company. Apparently, they spent weeks trying to install various backup software to read the tapes, but none could. They eventually contacted me, but due to how much software they had tried to use the original computer it was attached to was no longer the OS. At that point, they asked 3rd party companies for help and eventually found someone with a drive attached to a Linux system. I was then able to walk them through how to read and extract data.

Tape storage can be an absolute nightmare. Most will do the writes, some will say they verify with a read, but few actually test with a full restore. Just because the software says it can read the tape to show you the listings does not mean it can read the files themselves. This was alluded to in TFA(TFV??) but been there done that on trying to read from a bum tape/bad write. It gets worse if you write in one tape drive and read from another also mentioned in TFV. Now I feel old just thinking about it all

CSMastermind 13 hours ago [-]
Absolutely heroic effort. And that data recovery company should go out of business.
chii 11 hours ago [-]
It is named and shamed in the comments of that video somewhere.

Data recovery companies ought to have the integrity to just say no to a job, if they cannot do it risk free. Trying and failing with the risk of damaging the original data could be very costly to the customer, even if they don't charge money - the customer's lost data could be priceless.

sllabres 12 hours ago [-]
A lot of work, but with success as reward! Makes you wonder how easy or difficult it will be in 30 years to 'recover' data from today.
dehrmann 11 hours ago [-]
> Makes you wonder how easy or difficult it will be in 30 years to 'recover' data from today.

The challenges will be different. Flash loses its charge in 30 years, most disks are encrypted, and on-site physical backups are mostly a thing of the past. The source might survive in a cloud repo, but it'll either be tied up for legal reasons or deleted when the customer stops paying the bill. But storage is cheap and getting cheaper!

rietta 5 hours ago [-]
Data not continuously copied is lost. Ironically the most future proof media is becoming increasingly rare. Those gold layer dvds may last well into the future but the readers will not be available.
nullc 3 hours ago [-]
Flash seems to lose its charge a lot faster than that, -- I found ordinary SSDs left in a closet for two years to be full of errors while matched sibling drives left in running systems were fine.
ljlolel 11 hours ago [-]
Easy. The “deleted” even overwritten data can leave ghosts even multiple layers deep (think of a clay tablet or painting with multiple inscriptions)

Encryption for 30 years ago? Trivially breakable with quantum

mjg59 9 hours ago [-]
Shor's algorithm is primarily relevant to asymmetric cryptography, and disk encryption is pretty much universally symmetric. Quantum computers do nothing to break modern disk encryption.
rjst01 11 hours ago [-]
> Encryption for 30 years ago? Trivially breakable with quantum

I wouldn't be so sure - quantum computers aren't nearly as effective for symmetric algorithms as they are for pre-quantum asymmetric algorithms.

NewsaHackO 4 hours ago [-]
I would go as far as saying anyone who mentions quantum computers breaking block encryption doesn’t know what they’re talking about.
bbarnett 10 hours ago [-]
Regardless of the parent's statement, just normal compute in 30 years, plus general vulnerabilities and weaknesses discovered, will ensure that anything encrypted today is easily readable in the future.

I can't think of anything from 30 years ago that isn't just a joke today. The same will likely be true by 2050, quantum computing or not. I wonder how many people realise this?

Even if one disagrees with my certainty, I think people should still plan for the concept that there's a strong probability it will be so. Encryption is really not about preventing data exposure, but about delaying it.

Any other view regarding encryption means disappointment.

Dylan16807 9 hours ago [-]
> I can't think of anything from 30 years ago that isn't just a joke today.

AES is only 3 years shy of 30.

If you used MD5 as a keystream generator I believe that would still be secure and that's 33 years old.

3DES is still pretty secure, isn't it? That's 44 years old.

As for today's data, there's always risk into the future but we've gotten better as making secure algorithms over time and avoiding quantum attacks seems to mostly be a matter of doubling key length. I'd worry more about plain old leaks.

bbarnett 7 hours ago [-]
I'll concede your point re: current status of some encryption. However there are loads that were comprised.

How do you tell which will fall, and which will succeed in 30 years?

All this said, I just think proper mental framing helps. Considering the value of encrypted data, in 30 years, if it is broken.

In many cases... who cares. In others, it could be unpleasant.

Dylan16807 9 minutes ago [-]
> However there are loads that were comprised.

There are a lot of interactive systems that have attacks on their key exchange or authentication. And there are hashes that have collision attacks.

But compromises that let you figure out a key that's no longer in use have not been common for a while. And even md5 can't be reversed.

I agree with you about being wary, but I think encryption itself can be one of the stronger links in the chain, even going out 30 years.

bluGill 4 hours ago [-]
30 years ago we had a good idea. Anything considered good 30 years ago - 3DES- still is. Anything not considered good has turned out not to be. We don't know what the future will hold so it is always possible someone will find a major flaw in AES, but as I write this nobody has indicated they are even close.
retrac 7 hours ago [-]
> I can't think of anything from 30 years ago that isn't just a joke today

The gold standard 30 years ago was PGP. RSA 1024 or 2048 for key exchange. IDEA symmetric cipher.

This combination is, as far as I am aware, still practically cryptographically secure. Though maybe not in another 10 or 20 years. (RSA 1024 is not that far from brute forcing with classical machines.)

rjst01 3 hours ago [-]
I was wondering exactly how hard factoring RSA-1024 would be today and found this stackexchange answer: https://crypto.stackexchange.com/a/111828

In summary, it estimates the cost at $3.5 billion using commodity hardware, and I'd expect a purpose-built system could bring that cost down by an order of magnitude.

charcircuit 10 hours ago [-]
>normal compute

You are underestimating the exponential possibilities of keys.

>plus general vulnerabilities and weaknesses discovered, will ensure that anything encrypted today is easily readable in the future.

You can't just assume that there is always going to be new vulnerabilities that cause it to be broken. It ignores that people have improved at designing secure cryptography over time.

bbarnett 7 hours ago [-]
From a security perspective, I argue ypu must assume precisely that.

An example being, destroying sensitive backup media upon its retirement, regardless of data encryption.

privatelypublic 6 hours ago [-]
Not this tripe again.

The reality is, as soon as humanity figures out how to distinguish between two values (magnetic flux, voltage, pits/lands, etc) we use it to store more data, or move it faster.

The end.

ljlolel 2 hours ago [-]
Sure but we are talking 30 year old disks so they don’t have that
bayindirh 5 hours ago [-]
Don't forget that flash drives are not accessed linearly. Your data might look linear to you, but without that sector addressing table, you're looking at noise.

On top of that static wear leveling can move all your data around when your disk is idle, and TRIM will effectively zero your unused areas when you are not looking.

So, it's a very different landscape.

jetbalsa 9 hours ago [-]
Has this been proven for flash storage? Once a flash charge is depleted its gone forever, its not like magnetic storage of old.
Cthulhu_ 10 hours ago [-]
Hard, but it depends on backup / duplication strategies; this is why e.g. the internet archive is so important, and I hope there are multiple parties doing the same thing for redundancy.
rietta 5 hours ago [-]
Hard. I am slowly writing a book set in the future where we are a “digital dark age” where little to nothing is known about our time tentatively called Professor Bitrot.
nullc 3 hours ago [-]
AFAICT the way most 'recovery' places work is that they'll recover data if there are no issues and any ordinarily skilled IT tech could also recover it. And then otherwise they'll claim it's unrecoverable. Sometimes, it seems, they'll even just claim its unrecoverable because they didn't happen to have or find a compatible drive when that's all that was needed.

I've recovered data from media a number of times a recovery company said it was unrecoverable with no particular difficulty.

chris_wot 7 hours ago [-]
Here’s a gist that might be enlightening:

https://github.com/Kneesnap/onstream-data-recovery/blob/main...