Forums › Life › Computers, Gadgets & Technology › Cowtest 2.0 ;)
A clue as to why I did this in the first place can be found in the date of the first attempt ;). Can’t remember whether I did get the code to work back then; but in those days if you forgot the #include
This means the whole thing needs to be rebooted and every user would be abruptly dsconnected, probably was yet another reason why I got slung out of there. I didn’t even intend to do that, had probably unearthed what is now known as a buffer overflow vulnerability but didn’t know what it was back then; and it showed the kernel code itself was flawed. perhaps the profs didn’t know how to fix it either and/or used a proprietary version of Unix (Linux and BSD were only just being invented then!)
Of course today a Raspberry PI is way more powerful than that minicomputer; and this one isn’t being used by anyone else at the same time.
As I know the code works I tried it on a VPS I rent elsewhere in Europe.
I wonder who else here might be able to explain why the “cow” doubles in size?
Close, but no cigar… I am unsure why ‘$’ was used as a user prompt on Unix, although DEC computers (still common then) used ‘%’ and a Unix terminal logged in as root (superuser) shows ‘#’ which are all conveniently next to each other on a most keyboards… (it is not a good idea to run new code as root unless you really have to, as its easier to screw up badly and overwrite or delete important system files and you then have to reinstall the entire operating system..)
In spite of wild currency and economy fluctuations since the 1990s, computer hardware is way cheaper than ever. So something else has doubled in size 😉
still a bit surprised that no-one here was worked out why the cow is doubled in size over these years; as this forum attracts a lot of brainy people (although I didn’t ask on Flickr as about half of my followers there would know straight away (and get the first joke as well).. its actually quite simple and you don’t need to be a coder (if you’ve built a PC over the last 20 years there is a clue)
0
Voices
2
Replies
Tags
This topic has no tags
Forums › Life › Computers, Gadgets & Technology › Cowtest 2.0 ;)