Modern tech, retro tech, 80s/90s music & nostalgia. I live in northern England so most things I post about have a UK slant.

Elsewhere on Fedi:

  • 0 Posts
  • 17 Comments
Joined 1 year ago
cake
Cake day: June 7th, 2023

help-circle
  • It’s a little more than 100€

    It’s half as much again! If your budget is that flexible you really should have mentioned it in the original post so that people could give you a wider range of options.

    Translate it up by a couple of orders of magnitude and you get “I want to buy a car, I have €10,000 to spend” … “I found one for €15,000, it’s a little bit more but …”



  • It’s a very flexible language so can find a niche almost anywhere. I know of fintech companies that use it extensively for their back end data processing systems, and I’ve seen some really interesting stuff done with Clojure and Apache Kafka. They’re a good fit for each other - Clojure, as a lisp, is optimised for processing infinite lists of things and Kafka topics can be easily conceptualised as an infinite stream of data.

    Also, when combined with Clojurescript, it provides a single language that can be used full-stack, so could drop in anywhere that you might otherwise use Node.

    But I think one of the best things about it is the way it forces you to re-evaluate your approach to development. It’s a completely functional language so you have to throw away any preconceptions about OO and finding new ways to resolve old problems is one of the things that should be a joy for most developers, even if it has no practical application.



  • You don’t need a desktop for CAD anymore.

    Not for the raw processing power, but anyone doing serious CAD work is going to want at least a 21" monitor, relying on just the laptop screen is going to be difficult especially (and I speak as someone aged over 50 myself) as your eyes become less able to focus on fine details as you get older.

    So OP needs to decide if they’re going to want to use the machine for other things as well, in which case a laptop + external monitor might be fine, or if it’s a dedicated work/hobby CAD machine in which case why not get the desktop + monitor.


  • With flying cars we’d have the opportunity to take the human factor out of the equation, which is the cause of the vast majority of car crashes.

    Imagine we had never invented cars and trucks and highways and were just doing it now. Do you think we’d take these two ton death machines and say “let’s put them under control of an individual person, with all the distractions and fallibility and other problems we know we suffer from”? Or would be instead design a system where every single vehicle has a computer that is constantly in communication with all the other vehicles around it, and can react far quicker to any issue than a person could.

    The problem with self-driving cars is that they have to operate in a world where there are also human-driven cars, and cyclists, and pedestrians, etc. If the only things on the road were computer-controlled, it’s a completely different scenario. And that’s what we’d have with flying cars. At least I hope so!










  • Slackware. Version 3.1 if I remember rightly, with Linux kernel 2.19.x.

    It was installed from floppy disks, you needed about 10 of them to do a full install including X Windows.

    At the time (1997 or 1998) I only had dial up internet at home, so over the period of several days I brought blank floppies in to work, downloaded the relevant images and copied them on to the disks.

    I then spent most of a weekend trying to persuade an (even then elderly) PS/2 with 4 MB of RAM to become a Linux box. Got there in the end, though!



  • I can’t help with Lemmy, but I’ve been running a single-user Mastodon instance for almost a year now.

    Like you, I found that the media very quickly used up much more disk space than I anticipated. There are a few things you can do.

    You can tune how long media is stored for: some of this is done in the admin interface, but really you need to set up cron jobs to regularly run various tootctl commands. This is the crontab I use:

    SHELL=/bin/bash
    PATH=/home/mastodon/.rbenv/shims:/home/mastodon/.rbenv/bin:/usr/local/bin:/usr/bin:/bin
    
    RAILS_ENV=production
    # Remove media attachments older than 8 days
    11  19  *   *   *     cd /home/mastodon/live && time bin/tootctl media remove --days 8
    # Remove link previews older than 28 days
    22  5   *   *   *     cd /home/mastodon/live && time bin/tootctl preview_cards remove --days 28
    # Remove files not linked to any post
     3  23  *   *   0     cd /home/mastodon/live && time bin/tootctl media remove-orphans
    # Prune remote accounts that never interacted with a local user
    44  1   *   *   *     cd /home/mastodon/live && time bin/tootctl accounts prune
    
    

    You can of course choose even stricter settings but I found that no matter what I did, given that I am following approx 1,000 other Fediverse accounts it still used up more disk space than I was comfortable with.

    So I offloaded most of the media storage onto an S3-compatible service. It’s breaking the self-hosting ethos somewhat, but with Backblaze B2 I can happily store and serve several hundred GB of media files for just a couple of dollars a month. To me, that was a no-brainer.