my favourite computer language..
Python
3.12 is coming out soon.
i like to use the latest but i have been using 3.10 rather than 3.11
there was a program i downloaded from github that wouldn't work with 3.11. some dependency problem or something. 3.11 was too new. so i started using 3.10. it's nice.
i don't really know the difference in the very latest editions. i haven't used the walrus operator yet. or data classes. i want to, just haven't yet. i don't use type-annotation. i haven't tried the asyncio stuff. i'm quite a novice. i only just recently used the os module. i've used random and time mostly.
i started using conda for some things. it's good you can choose the python version to put in the environment. venv just uses the latest python you have. i think.. i'm kinda new to it all. bit of this, bit of that. i often just install into the base conda environment. i'm a bit messy.
3.12 is going to improve f-strings which is cool. i really like f-strings.
retro nostalgia trip..
BASIC
my first computer language
when i was about 10, my father's father died and i got $1000 from his will.
before i could think about it, i knew i wanted a commodore 64. a neighbour friend had one and it would make me wish i had one, and so would the ads on tv. that cost about $500, i think. with the rest of the money i got a tv and some furniture stuff. i should've got a disk drive but oh well.
i bought one game. it was Labyrinth. it was great.
it was so unbelievably slow loading games on tape. i could start loading a game when dinner was ready, go eat dinner, and the game would still be loading when i got back. kids today wouldn't be able to handle how slow it was. old me today couldn't.
anyway, i needed more than that one game. i didn't have much choice but to learn some BASIC. just to have some fun. luckily the library had some books, and i typed in programs from them. then modified them. i didn't get into graphics unfortunately. i got zork from somewhere, or something similar to zork maybe. and i was able to read the BASIC program. i wrote some text games of my own and that's about as far as i got.
one day i met a guy who got the same bus as me to my new school and he had a c64 too. and he had games and knew how to copy the tapes. we became good friends and i started copying games. a really cool thing at the time were double-cassette players, where you could copy tape to tape. and there was a feature called high-speed dubbing, speeding up the time. a copied tape wouldn't work straight away in the datasette. this copy-protection was bypassed by turning a screw inside the datasette that changed the tape playing speed. the screw was accessible with a small phillips-head screwdriver through a hole just to side of where you put a tape in. i can't remember exactly but something like 1 and half turns of that screw.
anyway, i stopped using BASIC except for something like mother's day where i would draw a mother's day card on the tv.
and then it was the same with the Amiga. at first it was fun playing with the Amiga BASIC. i really liked that you didn't need line numbers, and could give subroutines names. but then i met a guy who had connections to copy the latest of Amiga software. i had hundreds and hundreds of floppies and didn't really use the BASIC anymore.
and since then, all i did that was anything like programming were things like config files, dos batch files, and simple spreadsheets and databases . then later on, a little bit of html. i still hardly know any javascript. i have learnt a little bit more html, and a tiny bit of css. i'm going to learn more though. it should get easier with time and practice. the practice has been a cycle. 0 to 1 and back. that's my life.
there was a brief stint at college, where i only lasted a few months. i leaned a bit of C and assembly language, some networking, hardware stuff.. serious stresses in my life at the time made me shoot off to thailand and into a whole different life adventure. i can write a 'hello world' in C. i probably forget that even. you have to use string.h i think. a header. i forget what import is, maybe it's include. like hash include string.h.. then int main(void) i think, some curly brackets and blah, blah, bleurgh. C annoys me. "let's turn this integer into a string.." then i'm spending my day learning how to do that..
C#
i got to a point where i wanted to program again and i was going to go with C#.
it would've been an interesting alternative timeline but at the time, i had started to use linux. i liked exploring different linux distros, to try them out. at that time, i had an itch to program. i thought C# seemed good, and that it was like the default language to write for Unity. and i had a Sony Vita. there was thing called playstation mobile. and they provided a SDK which used C#. it didn't work on linux though. there was something about .NET not working. you were supposed to use a thing called mono but the latest version of .NET wasn't compatible with mono yet or something.. and then a coincidence of two things happened.
going back before the vita, around the time of the Sony PSP. it got hacked and people were making homebrew for it. i thought it would be cool to write my own game onto the PSP. i learnt how to hack the PSP myself and got into configuring, theming, installing tools and homebrew, and honestly, piracy. not just PSP games, PS1 games (tony hawk is awesome!) and emulated games like nes and sega console games. guys were using a language called Python to make homebrew. (shout out to wololo - legend). i almost tried learning it, but again, like before.. i just played games.
so yeah, i was playing with linux, had an itch, C# was annoying me, and an old friend popped up in my life again after years. he is a computer programmer. he has been since a kid. he suggested i tried Python. when he mentioned it, i remembered about the PSP, and i thought it made sense to go with that. it felt independent, as in not owned by a company like java and c# seem to be. plus linux has python built in!
and then i found dr chuck..