26 May 2020 | Computers, Programming |
ImageMagick is great. It allows your web app to process, resize, filter, and do all kinds of other nifty things with images.
Not so long ago, ImageMagick 7 was released. One of the big new features was full support for WEBP images, the new image format from Google.
Now, you might think it’s easy to just upgrade to ImageMagick 7. If you’re using a linux OS like Ubuntu, you just apt install and you’re done, right?
Well, no…
(more…)
4 June 2019 | Gizmos, How Does it Work?, Programming |
Ah yes, the Mobile Revolution!
It’s fabulous – unless you actually create web sites and other stuff that use JavaScript.
In desktop web browsers, you generally get a web inspector / debug console that lets you do all kinds of fun stuff, including debugging your JS code.
But on mobile, well, no such luck.
In fact, most mobile browsers give you absolutely nothing! Fortunately, there’s a neat trick that fixes everything.
(more…)
17 April 2018 | Computers, Programming |
In the olden days, there was only “Bash on Ubuntu on Windows 10”. This little gem gave you something like reverse WINE.
You got an Ubuntu linux install that’s running on top of the Windows kernel – with full file system access, the ability to install and run all kinds of linux command-prompty stuff like git, and even graphical linux apps like gitk.
Fast forward a few years, and things have changed…
What if you’re still running Bash on Ubuntu on Windows (Ubuntu 14.04) and you want to upgrade to the latest Ubuntu 16.04 without reinstalling everything?
Or, what if you want a different flavor of linux?
7 January 2018 | Computers, How Does it Work?, Programming, Video |
By popular demand!
Meltdown and Spectre are the recently-publicized exploits that take advantage of flaws in modern processors.
These flaws are big news, but what’s the actual scoop?
It turns out that they ARE a big deal, but with a few important caveats…
Since the exploits themselves are so technically complicated, I have tried to explain them in a simplified way without sacrificing actual useful details.
That way, you can make up your own mind as to whether or not you should run for the hills!
(more…)
21 November 2017 | Computers, Programming, Video |
Everyone knows that coders are weird people.
Interrupt them, and you often encounter a rather strange and “interesting” reaction. Why is that?
Well, it’s all about what happens in your brain when you’re programming something. It’s probably one of the hardest things to focus on, at least for me.
There’s a reason why programmers tend to work late/early hours: fewer distractions!
Fortunately, there are a couple of tricks I have taught myself over the years that can make everyone much happier.
Even if you aren’t a coder, you can still benefit from these tips!
(more…)
24 October 2017 | Do-It-Yourself, Gizmos, Programming, Video |
If you have a fuel or water tank that is either metal or colored plastic, you may have run into the same problem I had: How do you know when it’s empty?
Mechanical level gauges are nice, but not always practical or even possible. So, I went on the hunt for an ultrasonic level sensor for my fuel tank.
Alas, what’s available on the market is too expensive, not very reliable, and often goofy in terms of features. So I decided to build my own!
This ultrasound fuel gauge can be built for around $33 using a breadboard, Arduino Uno, and one of 2 different ultrasonic transceiver modules designed for use with Arduino or Raspberry Pi boards.
(more…)
3 October 2017 | Programming |
(Updated February 2021 for PikaJS 1.2)
Introducing PikaJS: a jQuery-like JavaScript library that simplifies the client-side scripting of HTML.
I had been using jQuery and PrototypeJS, and I needed to ditch PrototypeJS at long last.
My colleague Michael Franzl said, “Hey! Check out this Balalaika thing!”
So I did.
Unfortunately, Balalaika doesn’t give you many methods to do cool stuff. That’s left as an exercise for the programmer…
So, I decided to make my own jQuery, and PikaJS is the result!
(more…)
7 May 2017 | Computers, Programming |
If you’ve ever tried to open a text file in Windows that was not a Word Doc, you’ve no doubt been smacked in the face by the abomination known as Notepad.
Notepad is Windows’ built-in text editor. At this point, I think the program has not been changed since… forever. And it shows.
Notepad is slow, it has almost no features, and generally people just pray until they’re done doing what they need to do just so they can close down that flaming pile of garbage.
As it happens, there’s a great all-purpose text editor you can download for free, and it’s WAAAAY better than Notepad.
(more…)
11 February 2017 | Computers, Programming |
Many people use WordPress on a server for a blog, online stores, and so on.
It’s great software since it makes creating a “fancy website” accessible to those who are not so technically inclined – which is most of us!
There is a problem many people see when using WordPress that has become known as the WSOD, or White Screen of Death. Basically, one day you try to load any page on your WP site (including the admin pages), and all you get is a blank screen.
When this WSOD happens, there is 1 trick that I have found works better than any other…
(more…)
14 August 2016 | Computers, Programming |
You may have heard about “Bash on Ubuntu on Windows”. If not, you can check out my post on Bash for Windows 10.
First, you’ll need to make sure you have the Windows 10 Anniversary Update, which you’ve probably received automagically by now.
Then, you’ll need to manually install Bash on Ubuntu on Windows to get your bash prompt.
When you’re done, you’ll probably listen to Microsoft when they say “no GUI stuff!” on bash… But actually, you can set yourself up with a lovely development environment including git – and even gitk – right in Windows.
And it’s much easier than you might think…
(more…)
Recent Comments