hjertnes.blog

Linux Backup Strategy

10.07.2018 02:00

For me, there are two different “roles” to a backup system. One is to make sure you don’t loose backups, and another is to make the process of moving from one drive or hardware to another. On my Mac I have a lot of stuff that doesn’t live in the cloud or anything like that. Which means that I need a solid backup strategy. My Linux machine on the other hand doesn’t. Everything on it is in Git, and the rest is the system.

The way I decided to back it up, is to clone the system drive with the “dd” command to an external drive. And I update it every few weeks, because the system itself doesn’t change that often.

If my drive fails now, when there have gone a few weeks since the last time I cloned it, the process of recovery would be to get a new drive, clone my backup over to it and then just update the system and the git repositories.

#

09.07.2018 02:00

How I sync my dot files

09.07.2018 02:00

DotFiles for those of you that don’t know are a term used for files and folders starting with a dot “.” (hidden files and folders on UNIX systems) that often contain configuration files and stuff like that. If you have multiple computers or just want to have them in version control, you need some kind of system for managing this.

You can either write your own script or you can use an existing system. I have tried many of them, but have ended up with a very simple strategy that works very well for me.

I keep all of my DotFiles that I care about in a git repository, and then I have a very simple shell scripts that links the files and folders to where the apps expect them to be. If something new are added I just re-run it and it overwrites the existing with new symlinks. Then I just manage the rest with git. I commit changes and push and pull. What I like about this strategy is that because of the symlinks I’m always editing the version in git and not another copy. And that all the code I need to manage it all is either Git or in a shell script that is less than 50 lines of code.

There are a number of things I have to do on the backend to get that to work though. I need to make sure that work, since I am syncing between a OS X system and a Linux system. The main thing is that I need to make some extra symlinks to make sure that some binaries and certificate folders are where they would me on a OS X system on my Linux system. And that can be a pain from time to time. But that is far more convenient than to keeping separate configs for both systems.

The KUM Master Piece.

09.07.2018 02:00

I just sharpened three pencils with my new KUM Master Piece.

I’m coming from another KUM sharpener, the “Long Point Sharpener”. The basics are the same, both have two holes to let you get a long point on your pencils.

The big difference between the two is that the Long Point is made out of plastic, while the Master Point is made out of metal; and that the Long Point is boxed in and making it easier to use when you don’t have garbage can available, while the Master Piece does not.

I would not say that the Master Piece is “better”, the perfect version would be the best from both. But the build quality of the Master Piece is awesome. I can’t really describe how good it feels in your hand. But I got the same feeling that I had the first time I twisted a Retro 51.

The thing I don’t like about the Long Point sharpener is that it is too easy to break it, if you unscrew the blades. You know plastic and metal screws are often a mess. This will not be a problem with the Master Piece.

There are not that much to say about this sharpener. It sharpens your pencils well. It is well built, and not that expensive.

#

06.07.2018 02:00

Learn edn in Y Minutes

#

06.07.2018 02:00

#

06.07.2018 02:00

#

06.07.2018 02:00

I love watching the AlphaSmart transfer text into Emacs 😍

#

06.07.2018 02:00

The AlphaSmart Neo is so cool.

Camera bags are hard.

06.07.2018 02:00

I have owned many camera bags, and I have not been very happy with any of them.

If you are looking for one bag to fit every single use case, you’ll probably be unhappy with it most of the time. Look at the gear you have, and the situations where you might need to bring it somewhere. For example If I’m not just taking my camera as is without anything extra I’m either bringing my X-Pro and some primes or my X-Pro with one lens and my Nikon FM with one lens and some batteries and rolls of 35mm film.

So I decided to have one bag that is great for just carrying two cameras and one backpack that is awesome for when I travel. Also try to find a bag that is designed the the kind of camera you have. Because one designed for full frame cameras will be huge and bulky and overkill if you just carry some small mirrorless system.

I personally go with cheaper bags, and try to have a good one for each situation. Instead of one expensive bag. Like I mentioned above, when I try to solve it all with one bag I always end up with some kind of compromise I never want to use for anything.