Happy Friday, everyone.
Happy Friday, everyone.
So this was pretty cool.
If neither request is successful I don’t have to do anything, but the user doesn’t see any errors unless they choose to take a look in the browser console.
This all worked wonderfully until I enabled SSL on the page that needs to run these tests, then it immediately fell apart.Read More →
It’s simply not true. Studies (including the source of all scientific truth: an episode of MythBusters) have proven that all areas of the brain have a function, and while the percentage that we’re “using” at any given time varies by task it can certainly exceed 10%.
One thing that seems very obvious to me without needing to cite a study about it, however, is that I certainly have unused brain capacity, and it can do amazing things when you leave it to its own devices.
As an example of what I’m talking about, I refer you to a link I posted on this very blog some time ago: Why Great Ideas Always Come in the Shower (and How to Harness Them).
In the brief commentary I added, I mentioned that never in my life have I had a good idea in a meeting. Great ideas come to me while I’m doing other things. Specifically, other things that do not take much in the way of thought and offer little in the way of distraction: things where my brain gets left to it’s own devices and has an opportunity to wander – showering, certainly, but also commuting, trying to get to sleep at the very end of the day (infuriatingly), and when I’m at the gym.
Talking of the latter one, I haven’t been to the gym for quite some time.Read More →
The journey of a thousand miles starts with a single step, in the opposite direction— Me, reflecting on some meetings I’ve had recently
Sometimes you need to take a step back and learn to walk before you try and run.
It’s been a while since I’ve posted code of any description, but I’ve been working on a couple of things recently that I’m going to make publicly available on my GitLab page (and my mirror repository at code.jnf.me)
I wrote last week about transitioning my cloud backup to Backblaze’s B2 service, and I also mentioned a feature of it that’s nice but also slightly problematic to me: it keeps an unlimited version history of all files.
That’s good, because it gives me the ability to go back in time should I ever need to, but over time the size of this version history will add up - and I’m paying for that storage.
So, I’ve written a script that will remove old versions once a newer version of the same file has reached a certain (configurable) “safe age.”
For my purposes I use 30 days, so a month after I’ve overwritten or deleted a file the old version is discarded. If I haven’t seen fit to roll back the clock before then my chance is gone.
This one I created for work. Getting data from a SharePoint list into Excel is easy, but I needed to write Excel data to a list. I assumed there’d be a VBA function that did this for me, but as it turns out I was mistaken - so I wrote one!
At the time of writing this is in “proof of concept” stage. It works, but it’s too limited for primetime (it can only create new list items, not update existing ones, and each new item can only have a single field).
Out of necessity I’ll be developing this one pretty quickly though, so check back regularly! Once it’s more complete I’ll be opening it up to community contributions.
I have no plans to add functions that read from SharePoint to this library, but once I have the basic framework down that wouldn’t be too hard to add if you’re so inclined. Just make sure you contribute back!
If you’ve been following my blog for a while, you’ll know that I’ve written a whole series of posts on my efforts to take a few Raspberry Pis and turn them into a DIY whole home audio solution.
If you’ve ever looked at the product offering within the whole home audio space, you’ll know that setting such a thing up is either cripplingly expensive, involves tearing the walls apart to run cables, or both.
Where we left off I’d put together a solution that was glorious when it worked, but that was rare. Typically the audio was either out of sync between the devices right from the get go, or quickly got that way.Read More →