151 karma · joined Mar 24, 2012 (14y ago) · 70 submissions
comment 1y ago · link · parent
Originally as the high gods intended the whole mess was nothing but a Rolodex, a box of index cards, etc.
You see, the first line of the '%' delimited records would be a 'LAST FIRST PHONE' and the rest would be for instance 'SMITH, JOE 867-5309' on the rest would be 'wife Mary, 3 kids (Joseph, Adam, Beth), maybe address, etc.'.
The '.dat' portion created by the 'strfile' would take that file and alphabetize it and then keep the 'seek' offsets in the file for each record. This let you have a big (for the time) Rolodex with fast retrieval upon search. Binary tree and all that, plus fast read of whole record because ... binary search, read one line match or not then difference between match and next record would be bytes needed to read (minus 1 for the '%'.
Fortune 'fortune(6)' started life as an address book,The random and multiple files and all that jazz was just a bunch of repurposing that took over and became a life of it's own. Nobody uses the 'first line sort' bit of 'strfile' program. Mostly the original has vanished into the wind, I have no clue what the command line thing was to bring up the Rolodex/Index Card of somebody was.
The 'man' page doesn't do it justice, but nobody really cares, and I like many others have a '~/quotes' file that is automated and hot-key bound to selecting a bit of text and preassing a couple of keys. If you know the https://en.wikipedia.org/wiki/Reservoir_sampling thing, you dont' even need the '.dat' file for the random bit.
comment 2y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
This is all ancient knowledge and well in place back in the mid 1980's long before Linux or any of that stuff. The `man` page sections used to be different 3-ring binders all printed out sitting on a table in the computer lab. The 'sections' were just different binders of documentation. Get off my lawn!!!
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
AMIX is a whole different can of worms, they did that much later and I'd expect it was like porting between HP/UX, AIX, BSD etc. Probably pretty easy by then.
comment 4y ago · link · parent
Forth is a ball of mud that you start at the beginning and at the end you end up with a shiny turd of a https://en.wikipedia.org/wiki/Dorodango.
Forth is bottom up insted of top down. The concepts teaching/learning wise start at the bottom and lead up to the top. You can't learn that starting with Python or Fortran or C or BASIC, or even Assembler. Bottom up.
Forth might not be the best Pascal/Basic/Python learning some stuff language, but Forth is the best bits in memory to HLL "full-stack" language.
I wish your brother had done it on raw hardware instead of in Java. It is a really nice language for learning.
comment 4y ago · link · parent
The OS was close enough and wonderful under the hood. So many UNIX people bought one for home just because it was so easy to port UNIX code. I wrote Amiga apps on a Sun3/50 using Sun's compiler and just transferred the binary over to my machine. The Amiga Pascal software even had a special program included to transfer binaries over serial/parallel from a UNIX box (usually a Sun). You mostly just needed to link to a different crt.o / clib.
comment 4y ago · link · parent
comment 4y ago · link · parent
Cool idea though. At work (back in the day) we had little laminated pieces of paper crammed with important numbers, a new one every year. Came in quite handy. Having the access to the scarily high res Xerox printer I'd print out a little black book of friends phone numbers to always have around.
comment 4y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
I applied and they told me I was overqualified so I played the "starving actor" card. I do computers and stuff but need a blah blah job to pay the rent. Bagels on that mid-industrial scale are more assembly line like engineering. Cut the dough, feed it into the former, put it on a tray, freeze or proof and bake, coat with things if needed, fill boxes... it's more of just a process.
A few weeks later the boss comes out for like the third time for a gripe session complaining about all of the wastage happening during the proofing process. Engineer brain piped up and blurted out "your doing it wrong". Gah! do it this way. The boss turns to the floor manager and promptly sends him out shopping for a list of items and the next day my procedure was implemented and all was well. A week later the boss calls me into the office with the owners. They can't do much but slip me a goodly amount of cash under the table.
Not to long after I was the mix-master coming in at 3am with the boss to get the work started and prepare the days production run and we'd bash out a significant amount of product in the couple of hours that it took for the rest of the workers to come in for their shifts. Then he'd go to the office and I'd just mix up new batches of dough or go make some boxes.
Pretty much walked out every day with enough bagels to fill myself and my housemates.
I would agree in the end, that sort of "baker" is pretty much dead end. There aren't really advancement positions much beyond mix-master or floor manager, it's a sparse field.
I actually found "baker" trivially easy compared to Dev/CS work. Same with "residential dining" or "warehouse management". If it's large enough it's just another procedure/process problem that you can hack into shape just like programming.
comment 5y ago · link · parent
So, this is just to say... that places like education where people may stick around for a long while in the system and such. They probably do remember a bunch of events from even a decade ago. It's the good places that have a sense of humor or appreciation for a worthy harmless infraction. They may even be secretly proud or have some admiration.
Though I do sorta fear that I just happened to hit the tail end of old-school hackery where such things are such things are rewarded. Now get off my lawn.
comment 5y ago · link · parent