Posts

8 bits of history: My first game is still available on the internet

Image
Smackeyackys excellent adventure I was somewhere around eight or nine when the 8 bit era of personal computers started getting into action. Of course down in Australia, everything was 2 years behind what was happening in the US. My first real experience of computers wasn't a fat minicomputer over an acoustic coupler, or an S100 based Altair clone, it was "Space Invaders" in the form of a cocktail cabinet at the local sports club. I was fascinated with it, and when the local Tandy stores started stocking TRS-80s and rich friends houses started getting Apple II's I blagged as much keyboard time as I could, either hanging out in the shops or fiddling around until my friends parents kicked me out. Magazines became an expensive hobby if you didn't have your own microcomputer. Eventually, a Microbee was purchased for our household and I promptly lost myself in it. Image By Suzy Jackson (Suzyj (talk)) (Transfered byArosio Stefano/Original uploaded by Bilby) - S...

GitHub actions vs. the good old Makefile

Image
Ghostbusters The story so far: shifted to a mix of Debian and Windows 11 with wsl2 as development machines, reawakened bits of my brain that I haven't used for years. Egon, this somehow reminds me of the time you tried to drill a hole in your head. Do you remember that? So, I'm sitting here at Chungus the Proliant struggling to remember the magic incantation that deployed my .NET core docker container up to AWS. Some digging through my bash history eventually uncovered it and I was on my merry way again, although I found myself in vi, staring at a blank Makefile and not quite remembering why. It was a reflex action from years ago when I was working with a small crew at a bank. Any time we came across some system that needed building on a Sun or other Unix machine, or some set of commands that were hard to remember, it had been beaten into us by our mentors to fire up an editor and make a Makefile. Years of working in IDE's on windows machines, where "make" ...

ElectronNET: cross platform GUI for .NET 5

Image
Repo Man I have been playing a bit with Cincom VisualWorks for a lot of nostalgic reasons and appreciating how good it is. However, no matter how cool and personally productive it is, as a tool for making programs for other people it has some shortcomings. If I'm going to build a cross-platform app that gets distributed to customers, I probably want to use something a little more mainstream. .NET Core is my weapon of choice and where the rest of my code base is, but it still doesn't have a cross-platform GUI solution. Electron is what VSCode uses so let's see if we can get that working with .NET. That means being a good old repo man (i.e. hitting up the repositories, not so much repossessing cars ha ha). I followed the instructions here and got ElectronNET set up on Windows 11 and on Debian Buster. On Windows, the demo worked out of the box. On Debian, I got this error message: [23059:0826/093421.418802:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper b...

Cincom VisualWorks Smalltalk: doing something useful part 3

Image
I told myself to give up, but after futzing about with Pharo and thinking about VisualWorks, I went back The Omega Man That little AWS Browser built in VisualWorks, I just couldn't let it go. I do need something more convenient to tell me things like where the target groups are in my load balancer, what the entries are in the dynamodb tables etc. without having to wade through the AWS website. It's painful (especially digging through the EC2 stuff to find the load balancer target groups). Maybe I dismissed this too early. Trialling the VisualWorks image on my debian box I realised I was constructing the command line arguments wrong, so I fixed that and got this far: So, it enumerates all the elastic load balancers in that account, enumerates the target groups and then enumerates the target health of the targets within the target group. All by encapsulating the correct commands. Not only does it save me from remembering the commands, it's more convenient than the A...

Debian Day 10: The one where things are very boring

Image
The English Patient So at day 10 I've been through a couple of bug fixing / building / testing / deploying sessions on both the Android app and the web service. Android Studio hasn't really changed much except the debugging experience is a lot better on the big HP proliant running Debian. Since my lab is up there (including the test Cassia Networks X1000 and a pile of SmartShepherd devices) this is great news. VSCode does take a little getting used to compared to Visual Studio, although that is to be expected since they are very different beasts. Every night.. I cut out my heart... But in the morning it was full again. Visual Studio has been my bread and butter for quite some time now - it seems strange to be letting it go so suddently. VSCode is not quite as polished in some ways, there are very few convenient right-click menus and most of the extensions are only available by holding ctrl-shift-p and trawling through the longest, stupidest menu I have seen in a long tim...

Pharo - not quite Smalltalk, possibly worse than VisualWorks

Image
Attack of the Killer Tomatoes Just a short one this time - it was nagging at me that I didn't try a more modern version of Smalltalk and Pharo comes up a lot in searches. Downloaded, installed, a quick test drive: We have to convince the little housewife out there that the tomato that ate the family pet is not dangerous! I was expecting it to be familiar but different and it definitely is. I thought I would start by porting over the AWS helper classes I made, which went fine (there is a JSON parser called "STONJSON" which is all caps for some reason, but works similar to the Xtream one in VisualWorks. I hit a fairly big snag though, there is no simple way to kick off an operating system process. There seems to have been some kind of fight in Pharo-land about OSProcess vs. OSSubProcess, neither of which is included in the standard image, neither of which can spawn a program on Windows(!), something which is both weird and a little frightening for a supposedly cross ...

Cincom VisualWorks Smalltalk: doing something useful part 2

Image
The Omega Man Straight up, I spent an embarrassing amount of time on this and I'm not going to go into all the details. Suffice to say, VisualWorks ancient UI painter has been a major problem for the last 30 years and it still sucks. It demos quite well and the instructional video is very informative, but like a lot of 1990s era GUI builder tools, the demos were always fantastic and the lived reality is a major pain. Here is the instructional video and I had to watch it to get anything done at all . We were warned about The End. Well, here it is The stock VisualWorks image doesn't have the good old UI painter in it, you have to add it via the Package manager. Once it's there, fire it up on a blank canvas and drop a couple of controls on there. I want a tree view and a space to dump some text (because I'm not going to fancy format anything just yet). Once you've painted up your interface, you need to stop and create somewhere to put your classes (watch the ...