Fucking ancient. This was for a Z80 based system using discreet logic for addressing and IO, constructed on a wire-wrapped board.
Fucking ancient. This was for a Z80 based system using discreet logic for addressing and IO, constructed on a wire-wrapped board.
I wish I had cat paws instead of feet.
I have programmed by looking up op codes in a table on a sheet of paper and entering the hex codes into an EPROM programmer.
An occasional hug if we are drunk enough, and I don’t want anything more than that.
Brew beer, fix motorbikes, make bird boxes, travel, walk, read, volunteer, cycle, write software, build electronics, sit in the sun with a cat on me. I can’t wait to retire.
Fuck. That does it. I’m off to BSD.
Any more info? I’d love to have my mind blown that this is real, but it’s just a video and a title.
deleted by creator
switch statements are three gotos in a trenchcoat.
Comment
They make it look like it’s cute, but when a cat sits in your keyboard they are secretly writing regex.
_ is a variable name, [] becomes 0 when converted to an integer, !![] becomes 1. The + “” + means that the integers 1, 0, 0 get converted to a string - “100”, which gets converted back to an integer because it’s in the for loop. And there’s various other horrible conversions going on to make it all work.
You can charge for FOSS software if you want.
Or this one without the “undefined” when run in a browser console:
for(_=[];_<+!![]+""+[]*[]+[]*[]-!![]-!![];_++%+(!![]+!![])?[]:console.log(_));_+!![]
Actually, I prefer this one:
for(_=[];_<+!![]+""+[]*[]+[]*[];_++%+(!![]+!![])?[]:console.log(_));
Want to print out all odd numbers from 1 to 100? Easy:
for(_=[];_<+!![]+""+[]*[]+[]*[];_++)(_%+(!![]+!![])?console.log(_):[]);
It’s hit 50% for me. Well probably more like 75% because I use WSL a lot.