Algebra always confused me, as well as most math that I'd taken in school, all that unnecessary writing out of a problem that could be solved in simpler steps, by the time I got finished writing it all out I already done forgot what the hell I was doing, plus hand hurt like hell from all the writing, that's probably what I hated most about math back when I was in school.
As for the passwords thing, anything can be easy if you really take an interest in it, plus I was doing it because I was enjoying it, passwords are kind of like puzzles, I may not big on puzzle games, but I don't mind solving patterns and organizing things, and I have all the time that I want to spend on it, so I take as long as I need until I tire of it. I still gotta do some scanning, then perhaps I can share what I'd done.
Oh, with the barcode thing, quite some years back while I was working at Purplepotamus Video, I didn't have anything else better to do, it was a quiet night with very few customers, so I started wondering if there was a way to manually figure out how those numbers underneath a barcode add up.
In order to do so I used what I knew about checksums with many NES passwords (this was back when I used to crack a lot of passwords manually for various NES games...why, because I was trying to increase my knowledge, and thought it would come in handy) as a springboard to better myself in the world (so I figured). Though not always the case, the last digit would be the checksum, this is the number (or letter) which decides whether everything before it is legit, though sometimes this digit is unknown at first, as when I was working with NES passwords, but most standard barcodes do display it.
Here's an example of a real barcode, taken from my Battleship NES game box:
The Barcode (standard size seems to be 12 digits, though it can vary):
0 50047 11139 9
Add up every number starting from the one closest to the checksum (the last digit to the far right is the checksum, which in this case is an 9) going to the left, skipping over a number each time:
9+1+1+4+0+0=15
Multiply the answer of this set of numbers (the 15) by 3 (not sure why, its just what I found that makes it work):
15*3=45
Then you'll add up the next set of numbers, starting from the '3' closest to the right (10th digit), skipping over the digits which you've already used (but you will not multiply your answer by 3 as you had with the first set's sum):
3+1+7+0+5=16
Add both sums from both sets of numbers up:
45+16=61
Then add your checksum to it. If the checksum (which in this case is a 9) makes it add up to the next tenth (which for this barcode, it'd be 70), then it is correct:
61+9=70
The checksum of 9 is correct, therefore the barcode is able to be read correctly.
Haven't found any major use for this info yet, but a few people I'd shown it to while I was working at that video rental place were impressed, whom in turn wanted to show their friends just to show off.
You can make some of your own, create the first 11 digits, follow the steps, til you must find out the checksum, which would be whatever number that brings the sum of all numbers preceeding it to the next tenth. Enjoy, show off this unneccessary knowledge to your friends, impress your math teacher, show your parents that videogames aren't just mindless fun (being that I used whatever I knew about game passwords towards figuring out about the barcodes).
Not sure about letters in barcodes though, I would think they can be used, I know 'X' is used in place of a '10', I suppose they'd represent a number, just haven't come across any aside from 'X'. Also, its kinda difficult to figure out the width of each vertical band, I'd think they were representing binary (zeroes and ones) but haven't ever explored it fully.
Couple more examples:
Red Asphalt (random PS game I picked for another example)
0 40421 89153 5
3+1+8+2+0+0=14
14*3=42
5+9+1+4+4=23
23+42=65
65+5=70
The Wizard (decided to watch it now)
0 25192 93242 7
2+2+9+9+5+0=27
27*3=81
4+3+2+1+2=12
81+12=93
93+7=100
But sometimes for odd reasons a barcode don't seem to add up right, very few though, as most of them I've ever tried do work when I've applied this math to them, but this one for Happy Camper doesn't add up (unless I keep messing up my math; is this a real legit barcode or just a mock up? I'm curious now):
0 32281 81308 0
8+3+8+8+2+0=29
29*3=87
0+1+1+2+3=7
87+7=94
94+0=94? (the nearest 10th should've been 100, but that would mean the checksum would've had to be a 6, not a 0)
When I learn things I've always done so at my own pace, typically much slower than those around me, but I have to have complete interest in it, as well as be in the mood to tackle throwing new info into my brain, otherwise its just a waste of time and I end up frustrated, possibly with a headache too, and I learn nothing. Most things, as screwed up as it seems, have been a result of playing videogames, as I don't always just flat out play them as a form of mindless fun, but when I can I try to get something extra from them that I could use elsewhere, as was the case of the barcode thingy that I had learned that day, a result of my interest in solving NES password systems, which also got me to understand binary and hex as well. So when some parents back in the day used to say, "Videogames will rot your brains", or that they are mindless entertainment, they didn't have a clue. But thankfully of all things, I did not learn engrish from videogames.
-------------------------
Edited: 04/15/2009
at 10:55 AM
by Miss Clawful