When I started using git as my VCS I skimmed the docs and git-bisect
caught my eye. I got acquainted with it rather quickly and have been using it regularly ever since. git-bisect
is a little handy git sub-command typically used to quickly narrow down the commit where a bug was introduced in a code base. It uses a simple binary search tree algorithm (BST) to test out different revisions by parting the remaining search space in half.
Do you often find yourself using “New feature”, “More” or similar short, useless and generic strings as your git commit messages? I know I did. Until I learned about semantic commit messages, that is. What are they and how can they exponentially improve your commit history and make it actually useful? I’m discussing it in this post.
A few days ago I got my new camera, a brand new Fujifilm X-S10. Since I’m coming from the Canon ecosystem I have a few EF and EF-S lenses which I like. In order to use them with my new system I also acquired the auto focus lens mount adapter Viltrox EF-FX1, which allows EF/EF-S Canon lenses to be used with Fuji-X mount mirrorless cameras. This is an adapter with electronics, so it enables not only auto focus but also aperture control and EXIF data transmission. But does it really work? Is it useful? And more importantly, is it worth the asking price of 120€? In this post I document my experience after some tests performed over a few days.
The HTML <img />
tag has this handy attribute loading="lazy"
that enables lazy image loading, so that images are only loaded whenever the user scrolls all the way down to their position. This makes page loading super-fast, and reduces the amount of wasted bandwidth, especially when browsing from page to page. In the past this was achieved by a few lines of custom JavaScript code, but it is supported by all major browsers, both for PC and mobile. It should always be used unless there’s a very good reason not to, to the point where it can probably be argued that it should be the default behavior of images.
These days almost everyone uses services like Dropbox or mega.nz to store their important files and have them accessible wherever and whenever they need them. I’m told it is not uncommon to use these external services to back up all one’s files, from photos to sensitive and private documents. Well, good news. If you actually care about your files and feel uneasy to have them all in other people’s servers, you may want to have a look at Syncthing, an open source and free (as in free beer) continuous file synchronization program that synchronizes your files between your computers without being stored or ever going through third parties. In this post I’ll talk about how it works and how to set it up to sync directories between your computers, laptops and phones.
I’ve been using the compact point-and-shoot Panasonic Lumix DMC-LX10 as my main camera of choice for the past few years. Make no mistake, it captures very high-quality pictures taking into account its 1-inch sensor size. My old DSLR, the Canon EOS 40D, still works fairly well, but it’s starting to show its age: The trigger button is hit-or-miss—even after cleaning it thoroughly with isopropyl alcohol, the camera no longer establishes a connection to a PC via USB and downloading the images is quite cumbersome as I need a special card reader for Compact Flash memory cards. Both are ancient technology by today’s standards.
So I decided to treat myself with an early Christmas present and got a mirrorless Fujifilm X-S10 with the Fujinon XC 15-45mm f/3.5-5.6 OIS PZ lens and the Viltrox EF-FX1 adatper, which just came in the mail yesterday afternoon. In this post I’m documenting my very first impressions with the camera and the accessories.