Content tagged tech
So I've been having some fun recently trying to teach myself Rust. I'm not really a programmer by any stretch of the imagination (yet!) but was challenged to write a bot for a Matrix chatroom I frequent. Most of us have written bots already, so it was my time to try something.
Originally I had planned to use Python like I had done previously for my Mastodon bot, tsukumogami. However, I'd been hearing some interesting things about Rust and decided it would be a fun challenge to try and write something functional in the language.
My workplace uses Slack. Actually, let me rephrase that: some of my coworkers use Slack. The company for which I work has had some trouble committing properly to a communications platform, which has left us in something of a state of limbo when it comes to communicating with one another. Some people only use Slack, others only Skype, still more refuse to communicate by anything other than good old fashioned face-to-face or email.
I've been working with and enjoying technology most of my life. As such (and given the long history of vendor lock-in and associated cost/challenge with going without the support of major tech companies), I have a pretty significant footprint with certain tech companies. I've been with Google/Gmail/Android for many years. I have files stored up on Onedrive and Google Cloud. I have been working with Windows, ChromeOS, and even macOS and iOS at various stages as long as I have been working with computers. After some self-education I've come to the conclusion that these dependencies must end and have been on a path to rid myself of external influences.
Ever heard of Void Linux? Me neither until a little while ago. My friend had orginally introduced me to Void when I was looking at going back to Arch Linux a few years ago, stating that it was (in many ways) a vastly superior system. I was intrigued, but I ultimately ended up sticking with Arch as I was familiar with it and was unwilling to give up on using the AUR at that point.
I've Talked About it Before...
And it's finally here! After much head scratching, frustration, and eventually the building of an entirely new server, my Matrix server garappa.chat is up and running. This has been something I've talked about doing for a while as I try to get away from all bigger services in favour of hosting my own. While Mastodon and Funkwhale where considerably easier to set up, I have a feeling it will be worth it in the end.
Another Funkwhale Update
After a little bit of frustration on my side due to not following the directions properly, Tanuki Tunes is now running Funkwhale 0.18.1. The changes in this version will be mostly invisible to end-users, but include important bugfixes such as one that prevented the editing of tracks in the Django admin panel. This update has also made me aware that the site was previously running an out-of-date version of Postgresql. This has now been rectified, so the site is completely up-to-date with suggested specs.
So it's been a bit of a busy month for Baku Social. The server experienced some minor downtime at the end of December owing to high memory usage, however there doesn't seem to have been anything breeching the limits since then so fingers crossed there is no need yet to upgrade the specs of the VPS itself. I'm continuing to monitor it to ensure that nothing goes overboard, but given the low traffic both it and Tanuki Tunes seem to be managing fine for the moment.
I've been looking for a project recently to teach me some more about various technologies, specifically public cloud stuff like AWS and container tech like Docker. I have been looking to get into this stuff for a little while and even previously hosted on of my blogs on a container OS, but that was shortlived due to too many headaches with Wordpress containers. For the last few months I had also been looking for a way to replace Spotify - which I had left behind due to privacy concerns, costs, and library limitations (I listen to some... weird stuff). So when I heard about Funkwhale I decided this would be a good opportunity to give the whole Docker/Cloud thing a go.
It seems like you can't use anything these days without spending a good amount of time trying to keep up with changes to the product you're using. My partner frequently complains about apps on her phone being updated, only to find that entire sections of the UI have changed with seemingly no warning. It is a frustration, to be sure, and following mailing lists, forums, and Slack (grr) groups to keep up with everything is an exhausting experience, but it is also something that is becoming more and more necessary as we enter the age of the rolling release. One such change I've become aware of having set up my first WordPress site in a few years is the switch to Gutenberg in the upcoming WordPress 5. Never one to be left behind on such advances, I installed the plugin and started playing around with the "future of WordPress".
Let me get this off my chest right now. I hate Apple. I hate iOS. I hate macOS. I hate the software, the hardware, and the ethos of Apple. To my mind, Apple represents the very worst of the technology industry: devices which are hard to use, easy to break, and difficult to fix. Therefore, I'm never surprised when I see news stories like this one.
This post is more of a rant than anything technical. In fact, it's more of a moan born of recent frustrations. Nevertheless, this is my website. Where better to moan?
I've recently started a new job working for a software company. My day-to-day work mostly includes rifling through SQL databases and making changes as well as searching for causes of issues faced by customers. This job has me using a work-issued MacBook Air and a copy of Windows 10 running in a virtual machine. It's the setup used by every employee of the company bar one tester, who gets to use GNU/Linux.
I hate this.
As the astute among you may have noticed, this site has undergone some changes over the last couple of days. That's because I've now completely moved away from Wordpress and destroyed my old server in favour of a different provider.
Righto. This one has given me a mild headache for the last couple of days, but I've found a workable solution that allows me to set a home page for users in Chrome. You would have thought that would be really easy, right? Well, Google in its infinite wisdom has decided that conventional Windows management is for wusses. So down the rabbit hole we go.
So you want to use Microsoft Teams in your organisation, huh? Are you prepared for the pain? The lack of documentation? The feeling of utter exasperation at a company unable to properly consider the needs of enterprise customers in their new "modern" approach? Well, I'm here to share my experiences with you so that hopefully you can avoid some of the pain I had to go through in getting this all ready for our upcoming rollout.
For the past couple of weeks I've been trying out new things. New to me, anyway. And as you might expect, I'm really bad at them. Let's talk about that!
It's been a little while since I last posted here. I've been having a very busy and productive time at work. Let's jump in to some of the stuff I've learned over the past couple of weeks. Come on! It'll be fun!
Or not. Who knows? More importantly, who cares what you think? It's my blog and I WILL cry when I want to.
A Fun Experiment
I mostly seem to hang out with coders. It seems that the people with whom I most frequently interact are computer scientists or software developers. I don’t really know why, other than they are the only people crazy enough to use Riot for their day-to-day communications and chatroom facility. For this reason, I’m surrounded by programming with little to no comprehension of what is going on the majority of the time. Attempts to explain even the most basic things to me usually end up with me staring blankly and nodding my head hoping that nobody realises I’m the idiot in the room.
Let’s Clear Up Some FUD
At the moment, information on this flaw is scarce, so as always it’s best to wait until the paper is published (which EFF says will be done at 07:00 UTC on May 15th). However, there are some things we can clear up from the start.
I have lived a Windows-free life for a good long while now, using the OS only at work and leaving my home setup free of Microsoft’s influence. However, with the upcoming shift to Windows 10 in my place of work (which I will be helping to develop) and my need to study PowerShell and Hyper-V for my 70-410 exam, I decided to bite the bullet and once again load Windows 10 Professional on to my machine. This is nothing more than a brain dump of my experience on returning. Let it be known that I do not hate Windows as many Linux enthusiasts do; indeed, I’ve been very impressed with many of the advances that Microsoft has been making across their product lines. However, my experiences with it have been patchy at best.
My team recently moved away from a (frankly old and creaking) ManageEngine ServiceDesk solution to JIRA for our Helpdesk. This has been met mostly with dismay by the majority of my team, so much so that I am one of the only people in the office still excited about the upgrade. As always, there were teething issues during the initial upgrade, but a few months on everything is more or less stable and we have lots of ideas for how to evolve the product. So why do the rest of the team still bemoan the product so much?
A few years ago, I'd have been shocked to see the sort of vulnerabilities I see announced these days once a year, let alone once a month. But the rise of cybersecurity as a respected industry has led to the big companies such as Microsoft, Apple, Canonical, etc. pulling up their socks and crushing vulnerabilities in a timely manner. This is all great, except for those of us whose job it is to deploy these fixes.
AntiVirus is a necessary evil. With the world more connected than ever before, every device needs protection and tools to allow administrators oversight. Currently, the AV I work with is Sophos; cloud-based solution for Windows, Mac, and Linux. When I was working on the frontline, I quickly became aware that Sophos did not deploy during imaging as it had initially done, nor could it easily be pushed out via SCCM. We spent a long time going around to each freshly imaged machine and loading Sophos on, rebooting the machine, and logging tickets to have its policy applied. This did not sit right with me, so upon my move to the systems team I decided to have a crack at simplifying the process.
I'm a systems administrator by trade (or as I often find myself writing, a “systemd administrator” since that cancerous piece of bloatware consumes most of my troubleshooting life). It is, therefore, perhaps unsurprising that I like having control over the devices in my home. I refuse to use Apple devices apart from the one I have to use for work, I allow only GNU/Linux devices to be used on our home WiFi, and while my rooted Android phone is still somewhat lacking in end-user control, I plan to replace it with the Librem 5 when it launches.
It would be terribly naïve of me to presume that other people were so preoccupied with device control as myself. My partner, for example, is the sort of person who simply wants her computer to get out of her way when she’s using it. The slightest hint of maintenance or troubleshooting is enough to make her throw the machine down in anger and find any excuse not to continue with what she was doing. I believe that a lot of people are like this, and it is what has given rise to this wave of “easy tech”, or technology with which the user has little interaction and no ability to troubleshoot. This is a terrible thing.
No Access? No answers.
This little rant of mine was inspired in part by this article about Amazon’s Alexa and her recent spout of the giggles. For those of you who are not members and therefore cannot get past the paywalls, here is the part that piqued my interest:
You’ll just have to take [Amazon’s] explanation of misheard commands at face value: None of the processing is done client-side, there is no way for third parties to look at how Alexa devices really work, to poke around in the guts and discover causes and effects.
~ Brian Feldman
End users seem to be infatuated with devices like Alexa and Google’s Home devices. My aunt has not only got one for herself but has also inflicted one on my wholly disinterested grandmother. Quite literally, everybody and their grandma seems to have one. It’s become one of those “must-have” gadgets for which everybody clambers on Cyber Monday and Black Friday and you can see why: it allows users to interact with services they already know and love but with an even greater degree of laziness than a laptop or smartphone already affords.
There’s something very sci-fi about the idea of walking into your home and being able to turn things on and off with a simple command, about being able to talk to your very own robot butler about today’s headlines and weather. People are excited by future things, and that is why Amazon’s Alexa and her ability to order you food with a simple grunt is so appealing to so many.
But Alexa and her ilk are also sci-fi in a much darker way. I’m not talking about the fact that they suck up data like a sentient drug-addicted vacuum snorts coke at a 70s night. I’m not even talking about the notion that these devices might somehow become intelligent and launch a Skynet-style attack on humanity. My problem is far more practical: I cannot fix it when it breaks.
Amazon produced a statement claiming that the problem was the Echo devices incorrectly hearing themselves being commanded to laugh. “We are disabling the short utterance ‘Alexa, laugh.’ We are also changing Alexa’s response from simply laughter to ‘Sure, I can laugh’ followed by laughter,” the company said in a statement.
Amazon’s reported fix for the problem seems reasonable enough. Alexa is simply mishearing you, so we’ll change that command and make it so that she issues a warning when she’s about to laugh like a child in an 80s horror movie. For most users, this will satisfy. But I have to ask the question: how do I know that this is what the problem was? We now know that Alexa was reportedly mishearing commands such as “lamp” and “light” as “laugh”. And if my command history did not include any of these, or I simply did not have any connected devices like these, and it still laughed then how could I go about finding the solution?
When my computers break (which they frequently do, usually due to my actions) I have a fairly good shot at finding out what is wrong. Log files are easily accessed and read, Googling around usually brings me some sort of solution. At the end of the day, even on a Windows machine I can typically find some sort of log which will tell me exactly what happened just before the whole system fell over. Even if it’s a stupid piece of software, something will get logged. But with this new range of devices, so imprisoned by the companies which manufacture them, access is getting more and more limited for the end-user.
Take, as an example, the iPhone. While Android definitely dominates in terms of numbers, iOS remains the gold standard for many. Now, I use one of these accursed things for work and it goes wrong **constantly****. Usually, it’s something simple like WiFi dropping off every time I lock the phone then taking around 30 seconds to reconnect. If it were an Android, I could look in the system logs to find out why this was happening, but with iOS devices, I would need to own a Mac to do this. Vendor lock-in is becoming a severe issue, and devices like Google Home and Amazon Alexa, which do all of their processing server-side, present an even greater level of vendor-control and user-cuckoldry than ever before.
Insist on Control
As I said before, I know many people for whom the idea of having more involvement with their computers and the maintenance of them is a horrifying thought. After all, computers are complicated and confusing, so the less you have to do with them the better, right? Absolutely not. Here’s my unpopular opinion upon which I’m certain I will expand at a later date: computers should be hard to use. These devices should require some investment of time to come to grips with, just like using any power tool should require the wearing of correct safety equipment and following best practices. If users are stupid we are going to be in a whole heap of trouble as computers start to take over our lives more and more.
Home computers and smartphones are immensely powerful machines with which an individual can potentially do a great deal, but unfortunately most people have given away all control in favour of having a simpler time. But this attitude is incredibly wasteful. If you spend a certain amount of money on a device, you should get your money’s worth from it. Similarly, if you’re using any device for anything personal or professional, the only person who should be controlling it and interacting with your data is you.
If you have no idea how a machine works, and you have no way of fixing a problem or even finding out what the problem is or relates to, then you have wasted your money. You have bought yourself an expensive trash can and, in the end, it doesn’t even really belong to you. Sure, it sits in your house and you think it’s doing what you ask it to, but in reality you don’t know what its capabilities are nor do you know what its limitations are. That is a very sad fact.
This blog covers FreeBSD, antivirus, apple, av, azure, blog, bsd, centos, chat, chrome, code, coding, communication, computer, control, distro, efail, electricity, electronic, elementary, emacs, email, energy, federation, floss, free, free software, freebsd, fun, funkwhale, gnu, gnupg, guix, guixsd, gutenberg, hkep, hong kong, hosting, intel, internet, intune, jira, linux, lisp, mac, mail, markdown, mastodon, matrix, meltdown, microsoft, moodle, music, new year, open source, pc, perl, personal, pgp, ports, program, programming, rant, renewable, roswell, rust, sccm, security, site, social, software, songs, sophoe, spectre, sphinx, surveillance, sysadmin, t2, teams, tech, unix, update, website, windows, wordpress, work, writing