TARDIS Placeholder

Facebook Technologies, AKA Meta, AKA Those Guys Who Use Your Data to Sell Advertising, AKA Those Guys Who Just Lost a Huge Load of Money, have a new patent and things may be about to get interesting in the wearables space yet again.

Facebook isn't cool any more and users are leaving in droves. Ad revenue is down and shares are plummeting just at the point when Marky Mark Zuckerberg needs every penny he can scrape together to build "the metaverse"; a virtual world in which people can work, play, and live out a fantasy existence where Facebook remains implausibly relevant for anyone under 25.

I'm a pretty loyal Google user. Although I'm always ready to point out the more questionable aspects of their strategy to dominate the search engine space, I remain a big fan of a lot of their technology. I love my Chromebook and truly think web-based applications and a thin client-side OS are here to stay. I've always preferred cloud computing (or "client-server" as we used to call it) to thick client stuff. Computing should be cheap and accessible and Chromebooks, and free services from the likes of Google, go a long way to making that possible. It's possible to like the hammer but not the man holding it, if that makes any sense?

When running on Windows, PHP's timezones don't always play nicely with the Windows implementation of daylight savings time (DST). The code below is an easy workaround to this; simple use date("I") to work out if it is summer or not and combine this with date() and strtotime() to get the spot-on time including your GMT offset.

I'll confess, I stole this from somewhere on Stack Overflow and I'm posting it here just because it's so flipping useful I know I will need it again some day.

I've got a confession to make - I'm a log file addict. I love a good log file and I'll hold on to those bad boys for way longer than I should sometimes. Even I need to clear down the odd /logs directory every now and then though, and that's where this handy little piece of command-line-fu comes into play.

code-server is nothing short of amazing. A fully-fledged VSCode environment running in a browser means I can jump from one machine to another, including my beloved Pixelbook, with full access to my development environment and toolset. After months of subscribing to services like Codeanywhere, CodeTasty, replacing this with something under my control (and costing me not a red cent) is pretty cool.

If you're writing code to connect to a Linux server over SSH or SFTP, you may need to get the MD5 "fingerprint" of the server. It's that funny little string of numbers that appears, just once, when you connect to a server and you never see again unless it changes...

Here's a quick set of functions to search a table, search a list, search paragraphs of text, or search just about anything on a page with JQuery.

If your MySQL server is randomly falling over, you need to fix it. There's no good reason to let that nonsense continue. Sometimes though, that's easier said than done and whilst you're working on why the server keeps falling over you need something to keep bringing it back up...

Lazy loading, a web development that holds off on loading images until they are needed, is a great way to speed up your website. When the user doesn't have to wait for all of your images to load, they get a quicker response time and an improved experience.

If you're looking at this site around the time this post was made, check the footer and you should see the name of the theme as "Extended Grid". If you do, you're looking at a new(ish) theme for WordPress that I just made!

What's are RSS feeds? Well, basically they are way for websites to easily share new content using XML. RSS feeds rock. RSS readers rock. I love them. Some search engines love them. They are far superior to social media as a way to consume news and stay up to date with your favourite sites, being far more portable, private, significantly lacking in toxicity, and devoid of interference in what you see beyond the editorial choices of the site you subscribe to. They are also my go-to technology for spreading, or syndicating content. The clues in the name, you see? But it's an unavoidable truth that most people don't use RSS anymore, and get their news from social media instead. If you want to build traffic to your website, you must push your content out on social media. However, posting and reposting your content to social can be very time-consuming. With each of the major social media channels attracting a different audience demographic, you need to share your content four or more different ways in four or more different places. Not much fun. Thankfully there are lots, and I do mean lots, of services out there that can automate and schedule your social media posting for you. One of the most popular is Buffer. Confession: I like Buffer. I really do. It supports the "big four" networks, it can queue and schedule posts, and has been integrated into a range of other apps (including my favourite RSS reader, Feedly). But, there is something I really don't like about Buffer and that's the limitations it places on free accounts. Unless you're on a paid account, you can only add three social media accounts. Three, out of the big four. A limit on how many posts you could make a month or a week would be fine, but taking out 25% of the audience makes a free account, in my opinion, makes the product crippleware, rather than "freemium" for anyone serious about social media. I guess that's what Buffer want, but I've never been keen on software that limits utility in this way. So, when I rebuilt my website recently I knew I wanted to automate, as much as possible, posting my content to social media. I also had the additional challenge that I don't want to post every piece of content to every channel (my LinkedIn in followers aren't especially interested in my cakes, as far as I know). I also wanted to do it without spending any money... Enter RSS, Zapier, and just a pinch of Buffer...

Want to perform a quick, temporary, colour change on a website? Maybe you want to see what you blog theme would look like with a different colourway but don't want to edit line after line of CSS?

I get caught out by this more often than I should probably admit. MySQL, out of the box, doesn't index 3 letter words and below in full-text indexes.

Site Powered By:  Kirby, Bootstrap 5, Masonry