hjertnes.blog

#

31.05.2018 02:00

The Apple Password Dialog on iOS

31.05.2018 02:00

I fucking hate the “Please enter your password” dialog on iOS. It is the worst. It shows up out of nothing, with no information about why. Then it is no easy way to get the password from 1Password and enter it. Apple got to change this with the next major version of iOS.

  1. Show some kind of notification like today, but without a password field. With information about what triggered it and why.
  2. Have a place in settings where you go to enter it.

Firefox extentions

30.05.2018 02:00

Firefox finally did something they should have done a long time ago. They re-wrote their engine, and the result is that they are faster than Chrome. I’m not going into the Safari discussion here, because the Safari team have other priorities over pure speed, like for example battery life.

The result is that Firefox broke a lot of stuff as a result of it. What I’m wondering is how long it will take before plugins are updated – and how many that aren’t. And what Mozilla should do about it? Starting to hide all the stuff that aren’t compatible with the recent versions?

#

29.05.2018 02:00

My favourite thing about my “post DayOne” life is being able to journal with Org-Journal by hitting ESC SPC ojj in emacs. To journal in my text editor makes it far more likely that I do it, than when it is a separate app.

#

29.05.2018 02:00

One of the problems with digital photography is that it is so easy to end up with 30 000 pictures shot over 4 four years; and that is after you have deleted a lot of them. I have spent a lot of time the last 8 months or so trying to get rid of as much of the “noise” in that collection as possible. It will probably take a while before I get there. You get rid of 75%, then you give it some time, and repeat it until you can’t remove anything more without loosing something you really care about.

Some people think that machine learning or what ever will solve this problem. It might, for some or to some degree. But I still think we have to do the manual work of deciding what to keep or not. It requires a lot of work, like everything else worth doing.

Moving to Doom Emacs have made it simpler

29.05.2018 02:00

One of the awesome bonuses of moving my Emacs config system of choice from Spacemacs to Doom is that how I sync my configuration between systems are much simpler. Because of the difference in where your additions or modifications live in relation to the rest of the code.

In Spacemacs you have a config file: .spacemacs and then you have all the Spacemacs code in .emacs.d and a folder called “private” in the layer folder in .emacs.d where you add your stuff. Doom on the other hand (on the develop branch) has all its code in .emacs.d and all your stuff in .doom.d. What makes the doom.d folder interesting is that in its init file is where you control what modules to load, but it is also a module of itself. Which menas that you can treat it as your private modules that adds all the extra packages you want and all your configuration.

The great thing about this is that when you want to update or re-install your emacs setup on a machine, all you have to do is to is to clone Doom Emacs and clone / copy your doom.d folder. Instead of how you had to do it with spacemacs

Doom Emacs

28.05.2018 02:00

So I found something called Doom Emacs a few days ago. It is kind of like Spacemacs, a Emacs configuration system / setup with VIM keybindings.

The big selling point of doom over Spacemacs is that it loads much faster. For example on my MacBook Pro it loads in 25% of the time with similar setups.

There are multiple reasons for Doom being faster:

  • It is in general much less code, than in Spacemacs.
  • All the code in Doom uses modern methods to load Elisp code.
  • Doom uses a Makefile to install / uninstall and update packages instead of during startup
  • And you can pre-compile most modules with “make compile”.

Now. Spacemacs is much more “complete” all the built in keyboard shortcuts and command have been set up to be very intuitive and it almost always work exactly how you expect. This means that I think Spacemacs is a better place to start, than Doom. But Doom is awesome if you are afraid of configuring yourself.

Doom features a similar module system to the Spacemacs layer system. But I found it much more intuitive to use myself. Doom itself is also much more like standard emacs than Spacemacs when it comes to configuration. You can use much more code exactly how it would be using plain Emacs.

My favourite thing on the develop branch is that you have the doom code in .emacs.d and then you have your “private” module (exactly the same as other modules) located in .doom.d. This is awesome and makes it much easier to keep your settings in sync on multiple branches than with the Spacemacs structure where you have your stuff inside the Spacemacs repo.

On the pens I like

28.05.2018 02:00

Different people like different writing instruments. Some like smooth pens, while others like pens with a little bit more resistance.

I like smooth nibs. The less the friction the better it is.

I do in general also prefer broader nibs. I think they look better on the page. And I just gravitate against writing instruments that feels good to be, and look good one the page. In other words, the more ink on the page the better. Some people like a lot of ink on the page, while others don’t.

When it comes down to ink capacity I have some very strong opinions. I think pens with larger ink capacity always are more useful than those with a lower one. This is because if you write a lot with pens, you either need to have a piston filler, refill them all the time or have a lot of them. Back when I was a full time student, I loved my Lamy 2000. I filled it in the morning and I never – not once – ran out of ink during a single day. The story is another with the Pilot Metropolitan. That one never lasted more than a couple of hours.

If I’m just writing a few lines here or there then I often use my Falcon or VP. But I always go for either my Lamy 2000 or ink up one of my TWSBI Eco’s if I’m going to write a lot. Or if I need a lot of ink capacity away from home and don’t want to bring a bottle of ink.

#

26.05.2018 02:00

I might be very cynical, but I love how Billions portraits everyone as the bad guys.

Test

26.05.2018 02:00

Hello World