• 1 Post
  • 35 Comments
Joined 1 year ago
cake
Cake day: April 30th, 2025

help-circle

  • Around 2010, I used to work at an MSP, and once had a customer that ran a custom LAMP stack website for local radio UK stations web presence. It was a bit slow, running on a dedicated physical server, but every time it snowed, the website would 500 out - because of too many requests to the “School Closures” page. The site had no caching other than Apache’s internal cache, but PHP pages could not be cached because “reasons”, and the original developer was “not available”. I optimised their MySQL indexes, increased the number of Apache workers, and it improved the render time per page and number of concurrent connections. Stress testing looked good.

    Anyway, some months later, 2AM one snowy morning, I was on call, and it went down again. This was when I discovered the school closures problem. After diagnosing, and then liaising with the customer to discuss the options, I was told “just make it work”. I ended up modifying the PHP script to add some “on spec” caching that saved the HTML to a temp file in ramdisk, and only re-ran the query-and-render code if the cached copy was more than 5 minutes old. It was hacky, but it did the trick, and I was finished by about 4 AM. This hack was later applied at their request to a number of trouble-points in the source tree, as and when things broke.

    We recommended adding a Varnish cache, and found a more generalised caching library but they wouldn’t/couldn’t authorise engineering work for this - they were running on a shoestring - and they already had the tech break-fix contract with us, and decided it was sufficient to just spot fix things as they broke rather than fix the root cause.

    I left that MSP in 2012, so I don’t know what happened after that, but as far as I know, the site could still be running… unlikely, but possible.


  • I have my blog address (which goes to my home server) in my Mastodon profile, and every time I post on Masto, my server gets a request from every Mastodon site that federates with my instance - i.e. hundreds of requests. It’s no problem for my server, because my blog is a static site, but for anything that dynamically generates every single page impression (like worpress or joomla), it could be a problem. Caching settings might help, I suppose.

    Truth is, though, I get far more traffic from vulnerability scanners and AI crawlers that don’t honour robots.txt (or aren’t yet listed).




  • There’s a lot of science behind modern screw heads, and things have moved on massively since the battle between flat and cross head screws was a thing - back in the 70’s, these were quite common, but recently, particularly on tools and gadgets, torx (6 pointed star head) is more popular, mainly because they reduce the chance of head stripping during manufacture massively. Combo screw heads were introduced into manufacturing because + head drivers are self-centring, are less strippable, and work better with powered drivers, but field repairers often only had flat head drivers. These days, I only carry one or two flat heads when I do the repair cafe, but mostly posi and philips, with a set of torx, and tiny exotic, and security bits. Most electric tools (drills, hedge trimmers, chainsaws, etc.) have torx or security torx. Electronics usually have philips or posi, occasionally torx or exotic. Electric kettles usually have mostly philips with a single exotic security head to prevent end-users from getting inside and electrocuting themselves.

    For woodwork, I usually use posidrive heads, and occasionally torx. Most posi heads will work with a philips bit, but chew up more.


  • As others have stated, Ubuntu was never a minimalist distribution.

    When Ubuntu first came out, most common CD drives could only work with CDs of a about 700Mb capacity, but assuming that the tech would keep improving, it was reasonable to suggest this. It was never because Ubuntu was touted as “lightweight”, though. Then writable DVDs became almost ubiquitous, and they eventually migrated to that. In the meantime, USB flash drives were getting cheaper, and Linux installer tech was also improving, so eventually (quite early actually) these were supported too. But this was simply a logical progression of tech development and catering to the predominant baseline capacities of storage media.

    If you want a proper minimalist, try PuppyLinux or DamnSmallLinux. If you want to run on a Raspberry Pi (or one of their other supported SBCs) try DietPi.







  • Interestingly, the music I prefer to listen to is more rocky - Punk/Grunge/Ska/Folk/Dub.

    I acquired my love of psytrance in the early noughties when I used to do henna art at festivals in the UK. We got friendly with a couple who ran a psytrance CD stall, and were very often pitched right next door, so I spent many a weekend doing henna art with their music blasting out of their PA as a backing track. One CD that was popular at the time was Virtual Memory by Alchemy, but I seldom knew who I was listening to - it never seemed to matter. Worked well for getting into “the zone” though, and it’s not distracting because I don’t find myself trying to listen to the (usually non-existent) lyrics.






  • Could be QOS or packet shaping going on at your ISP, or just throttling or congestion. Speed tests only really test for typical traffic patterns, so will give you a warped view: it certainly disagrees with your observed measurements. There are lots of factors that can affect how quickly traffic passes between two hosts on the internet, but domestic broadband is generally the worst of all worlds - you usually share bandwidth with other subscribers, and although the throughput can be quite good, the latency and error rate can be quite bad, and you can get fragmentation as frame sizes can differ between network segments, causing buffering especially when congestion is occurring. Your ISP might also have deprioritised your type of traffic, or they might be dropping packets, which causes retries, and thus slows your connection down.


  • Digital ads do not promote things I’m interested in buying. I do not see ads very often at all - I haven’t had a TV for 20+ years, I don’t go to cinemas, so I don’t even see those kinds of ads. Occasional ads on YT pop up, and I’ll skip them; if they are unskippable or too frequent, I’ll abandon the vid. I’m not on any commercial “social media”, so I don’t see ads on them either. I’ve just never liked social media - Lemmy and Mastodon are all I use these days.

    Occasionally, very, very occasionally, I’ll see a meatspace ad that I pay attention to: there’s a local alternative music collective that wheatpaste ads around in a nearby town. I actually WANT to know about these events, and I will actually go to them, and I actually sought them out in the first place. I also see ads at my local community centre, for local events. Same kind of thing.

    So how is this resistance futile?


  • Not only can you take loans against your shares, but you can pay the interest on those loans with dividends from the shares, and because they’re a loans, the cash-in-hand is not taxable, so you pay NO TAX on it. You have no “income” on paper, but you can pay people and companies with shares instead of money, shares that you can literally conjure into existence by typing numbers into a spreadsheet. Those money and shares are really useful for greasing the palms of politicians, government officials, and hangers-on so that you can get your way. You can even use this money and influence to cause riots and stoke division in society.