One of Git's core value-adds is the ability to edit history. Unlike version control systems that treat the history as a sacred record, in git we can change history to suit our needs. This gives us a lot of powerful tools and allows us to curate a good commit history in the same way we use refactoring to uphold good software design practices. These tools can be a little bit intimidating to the novice or even intermediate git user, but this guide will help to demystify the powerful git-rebase.
This document is an attempt to be a fairly comprehensive guide to recovering from what you did not mean to do when using git. It isn't that git is so complicated that you need a large document to take care of your particular problem, it is more that the set of things that you might have done is so large that different techniques are needed depending on exactly what you have done and what you want to have happen.
On my way back to my mother's house I encountered a red cat walking on the stone wall of a bridge. I could only take one photo because it was quite restless but loved to be petted.
Soon it jumped off the wall and went into a nearby garden.
In the evening the shy calico cat returned. I fed it a thin slice of sausage and took a few photos.
No, wasps have very useful functions, one of which is to keep other insects in check. Every insect you can think of probably has some wasp that will attack it. If that wasn't the case, we'd almost certainly be using more pesticides than we already do on our farms.
Source: Wasps: If you can't love them, at least admire them - BBC News, an article by Jonathan Amos.
Knowing when to apply the rules of photography and when to break them is essential to making great images. There are times when the rules will serve you well. Follow then too closely and your work will become predictable, rigid and dead.
Here’s how the chip in each new iPhone works, and what it tells us about the future of mobile technology.
It turned out that version 2.0.0 of tumblelog has a small bug: if you
use an older version of the CommonMark Perl module the constant
OPT_UNSAFE is not defined. So I added some code that checks if this
constant exists and if not adds it.
Get version 2.0.1.
In the evening I started to read in The Watchmaker's Daughter, Glass and Steele Book 1 by C.J. Archer.
In the evening I pushed version 2.0.0 of tumblelog to GitHub. This version renders text after an image as a caption. Or, the following Markdown:
![Cat](cat.jpg) Photo of a cat resting.
Is rendered as HTML as follows:
<figure> <img alt="Cat" src="cat.jpg" /> <figcaption> Photo of a cat resting. </figcaption> </figure>
This allows for styling using CSS of both the image and the caption. You can see examples on this blog.
Imagine you’re a developer who mainly works with Go. You go to an event and, while chatting with some people, you decide to share with them the news that you wrote a small tool that does something. You claim that since you wrote it in Go, it’s fairly fast, it’s a single binary, etc. The group seems pleased with your recount and you start feeling good, but then you notice a stranger approaching from behind. A bone-chilling wind blows and you hear: “Why Go and not Rust?”
Source: Why Go and not Rust?, an article by Loris Cro.
In this post I will show you how to effectively use the pandas plot function and build plots and graphs with just one liners and will explore all the features and parameters of this function. I would be using the World Happiness index data of 2019.
In the evening I finally had a working HTML renderer with node rewriting for the upcoming version 2.0.0 of tumblelog. Read about the memory corruption issue and a work around thanks to Nick Wellnhofer in Rewriting CommonMark Nodes in Perl "right" this time.