Posts

Showing posts from July, 2024

Rust Never Sleeps

Image
Go brought me to a shuddering stop. I think I may have had some environment issues because I had some early install problems. These seem to be tricky to fix, so I may come back to Go later. Meanwhile, I've been trying Rust, learning from " The Rust Programming Language ", AKA "The Rust Book." So far, the experience has been as easy as Arduino and C/C++ was when I started that journey 8 years ago. Challenging, but steady progress. And in sorting out a problem with my Rust installation, I may have hit upon the solution to my Go installation issues, too. Looks like Homebrew language installs might be a little problematic. Maybe my Homebrew install is buggered. Will come back to that, too, but after my Rust learning. So, I'm as far as Chapter 2, "Programming A Guessing Game," where the reader is guided through constructing a command line guessing game. It has been a surprisingly easy experience. Rust has a syntax like C but feels... "easier."

Removing Ollama From My Mac

The AI experiment in my "laboratory" is over. I've been running Ollama locally on my laptop, as in:- an 8G, local, offline language model, running on local, offline command line software. Don't get me started about the carbon pollution environmental disaster being created by serverside queries to AI like, "Does my partner really love me." The local-only model seemed like an affordable and accountable approach and my M1 Mac is energy efficient fast enough that even really tricky queries were sorted way under 2 minutes. The thing is, I never got a single, useful response to a query. Not one, that was fit for purpose, anyway, out of Ollama's "mouth." I figured that between my ability to describe a problem, and its probable solution, architecturally and simply, might result in useful code fragments for my various microcontroller coding and OpenSCAD design tasks. Not one. The work required to make anything useful was at least as much as designing i

Refusing to Give Up - Here I Go... Again

Image
I can't help it. The state of social media, its centralisation, its blatant disregard for all but the thinnest veneer of "privacy", the manipulation of the proletariat. I simply can't give up on creating some form of timeline-based microblog that is peer-to-peer, has persistant data for as long as the user keeps it live, serverless, securely encrypted and addressbook based. My programming skills need to level up a long way from where I'm at, though. Enter Go, Google's language, but open, standardised, apparently low-level capable and as cross-platform as C, yet simpler than C or Javascript. Early playing around with it has been very interesting, it doesn't break my brain, like JS, it seems to, by way of its module achitecture ("libraries"), less arcane and less aimed at professionals than C and seems to have broad support, but I still have a long way to go, and to that end, FreeCodeCamp just dropped a beginners Go course in in my inbox. Fingers