It seems that the visual scheme I chose for the blog isn’t the most intuitive. To see comments on a post , you must click on the title to display the post and comments. Check out the posts on Brainfuck and Brainfuino especially.
Author Archives: jgpfersich
More Drafts
Posting drafts that have been lying around too long, maybe you will find them useful.
Data Science Introduction
Well, I went out on a limb and bought a book with the title “Data Science From Scratch” by Ramon Base. It’s a 155 page brief overview of the challenges of learning data science. And I’m being generous to say it’s 155 pages as the typeface is huge and the text is set doublespaced , so it’s really about a 50-70 page book.
A better use of your time is the rather extensive course at https://applieddatascience.cmp.uea.ac.uk/01/1/ch1_intro.html. It’s aimed at older students or at least, more advanced 13-14 year olds, since it’s aimed at college students from what I can tell.
Brainfuck
I found this site to be a useful brainfuck resource: https://esolangs.org/wiki/Brainfuck. But beware, the site only seems to be sporadically available, with lots of 500 error codes generated by web pages accesses.
And Another Thing
Yes, the website name implies we mostly do object oriented programming, but that hasn’t been the only paradigm that we work in. I first started playing with Clojure around 2011, and now work in Scala, and Haskell too. Scala and Clojure mostly run on top of the JVM, so it behooves you to have an updated JVM.
AI And Me
The Artificial Idiot and me aren’t a good fit. The slop code generated by what appears to be a shitty 12 year old’s code is not fit for production use. And if to try to fix it, spaghetti code results. The technical debt generated by the system will cause the reliability of the systems dependent on that code to spiral out of control almost immediately.
Any fool that advocates for AI code generation is a loser I don’t want to associate with. And thankfully, the projects I‘ve been involved with realize that AI code is something to stay away from. But I don’t know how long that will last.
One person on the fediverse is attempting to fork the Firefox code to strip out the AI slop nobody in their right mind would want. She found that part way through the exercise that AI bullshit resulted in 136,000 lines of code.
My concern is those managers who are considering AI. Do you really want to associate your code base with a system trained on bad code and bad design? I mean, AI companies used as their training data code from StackOverflow, the place where people with no business “learning” coding practices go to cheat their way through their programming classes. And another source was Github, where shit code reigns supreme. I mean, do you want your code to look like some rube’s code who just downloaded some shit book on programming and is attempting to write a program to do some bizarre task?
Edit: gotta love the shit text editing interface Jetpack, WordPress’ all in one, half baked tool provides. Worse than the web interface, but includes features that the web interface doesn’t include. But one really annoying feature is the tool that fucks up the font with no way to cancel the operation.
More Brainfuck
Still working sporadically on the Brainfuck app which will eventually end up on one of the Brainfuino hardware devices I bought from Matthew. It’s slow going coding the Brainfuck language and I always seem to get sidetracked trying to learn a language the makes Assembly language seem high level.
Time to Delve Into Tech Stuff
I got my artsy itch out of my system, I’ve spent the day creating some music, but I can’t record it because, once again, I’ve lost track of my portable Zoom H8 digital recorder and my notebook to log what I’ve done to create the piece.
I also did some prep work on some paintings I want to do instead of waiting for nightfall when there are fewer bugs to get stuck in the paint. Yeah, I paint out-of-doors. It was a lovely, not too warm day.
But the real work will be to make progress coding the Brainfuck app that I want to run on my newest acquisition, 2 Brainfuinos. Supposedly I’ll be able to run Arduino type apps on the Brainfuino. It’s a little tedious coding Brainfuck apps, but if I can get something useful to run, my creative urges will be satisfied. Because the Brainfuino doesn’t have the exact pin layout as the Arduino Uno, using commercially available hats is out if the question. Well, off to cook some dinner, then get down to business.
More Arduino Bad News
Well, the Raspberry Pi 5 I bought months ago was put into services a couple of months ago. I decided to clean up my electronics workbench and replace the old PC that still barely works using Winblows 10. So I went to download the Arduino IDE so the Pi was a full-fledged tool. Arduino (sort recently) released an update, 2.3 for some platforms, but not Linux ARM. So I use what they call legacy software.
The main thing Arduino seems to tout about the new release is “AI” integration. Sorry, if that’s all you’ve got is a shitty Idiot Assistant (AI), then I can do without the new release. I don’t need a tool with an IQ in the 80s, as my IQ is about 80% higher. Slop code doesn’t help me one bit, especially since that slop code was lifted from other users, most of which don’t know what they’re doing. And more importantly, code lifted without permission or attribution. Up yours Arduino!
I’m prepared to jettison Arduino since the news came out about selling out. As DDG says in their summary:
Arduino has been acquired by Qualcomm, which means it is now owned by a large corporation rather than being an independent entity. This change raises concerns about the future direction and independence of the Arduino platform.
No more corporate slop!
More on Brainfuino
I didn’t really get into in the last post, but the Brainfuino implements the brainfuck language in a FPGA platform emulating an Arduino Uno (sort of). Here’s a picture of what I received in the mail:

The instructions I received are somewhat minimalist, two sides of a single sheet of paper.


The terminal you use to interface with the Brainfuino is recommended on Winblows to be PuTTY, but since I interface with a Rapsberry Pi, two programs seem to be the options available. Both are installed with apt get and the programs are minicom and gtkterm. I’ve used GTKTerm and it seems to do the trick.
Some of the instructions are non-starters because you must dismantle the case to access the reset button, and I don’t have a 2mm hex key handy, that I know of.
I haven’t done much programming on the Brainfuino, as I’m still developing the software and it’s easier to develop using the tool at monocalc.com: https://monocalc.com/tool/programming/brainfuck_interpreter. More info is available about brainfuck, just use your browser. Here’s DuckDuckGo’s web page on brainfuck:

Oh, and I don’t think you’re going to find out too much about the Brainfuino, DuckDuckGo’s page is here:

I’ll look up the web info in my browser tabs and post it here, or you can use the email addresses in the docs above. The web site for the current build of the Brainfuino is https://lectronz.com/products/brainfuinov1-1.
I heard about the Brainfuino from a post Thalia made on the fediverse. My handle on the fediverse is @jaypeach53. Yeah, not a tech site, but on the fediverse you can talk to the whole fediverse from any instance.
Brainfuino
As the github site (https://github.com/kuashio/bf) says:
This product is intended as anything around brainfuck and esoteric programming languages: A joke. An elaborate joke. A geek toy.
I don’t really consider it to be a toy. Arduinos are limited devices, them being microcontrollers, not the run-of-the-mill CPUs. And they can have their uses. Dozens of devices around your home are controlled by microcontrollers. One example off the top of my head is the brain of the sprinkler controller.
I used to program in assembler, so brainfuck as a language really isn’t that foreign. So using what’s essentially an assembly language is just reawakening a dormant memory. Yeah, it’s far different than coding in a language that does much handholding, but you get used to it.
Haskell
Looks like the people that maintain the GHC toolchain need to do some work on the web presence. I decided to try to update GHC to the latest version since the tools say there’s a new version. So 5 days ago, I tried to update thru ghcup. Well, that was my intent. The ghcup process fails over and over again with network errors. The update plods along downloading at 3-4 K per second, yielding a download that’ll take hours, but then the download falls to 0K per second and eventually failing. I might write it off to bad luck, but I generally am able to download 10 to 40 or 50 meg of a 275 megabyte file and since I’m on a metered internet connection, I can only do this so long. And every time you invoke ghcup, it starts from the begining. Really annoying. They need to add restart capability if the network fails so often.
Gotta Luv Jetpack
First I bring up this website in Jetpack and it says I gave three unpublished drafts. So I review the posts and decide to publish one that’s several years out of date. Then I go back to review the other two and Jetpack says I have no drafts. WTF? Way to go Automattic, fucked up again.
Odroid XU-4 (old post)
Well, after a few months, I got some time to work on the 2 Odroid XU-4 that I bought. They have a choice of Linux or Android operating systems which you can install. I chose : Ubuntu 18.04.
The documentation only has instructions for installing on Windows or Mac. But I looked on the internet for instructions to use the dd command in Linux to flash the OS onto the SD card.
More to come…
Odroid XU -4
Here’s an updated downloads page for the XU-4

Looks like it’s time to update the OS.