hjertnes.blog

#

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

The ArchLinux Wiki

25.05.2018 02:00

There are a few Linux resources out there that is beyond awesome, and shows that there are good parts of the world. Where a community come together and make something amazing. The Arch Linux Wiki is one of them. When I want to find out to do something on Linux, the Arch Wiki always come to the rescue. I use it even when I’m trying to do it on other distros or operating systems.

How to fix C# Auto complete in VS Code and Emacs.

24.05.2018 02:00

There are times when the auto complete for C# and .NET Core stops working in editors that use the OmniServer auto complete engine. For me it is Emacs and Visual Studio Code.

Visual Studio Code will give you a hint when it starts, while Emacs will just fail. The problem is that they can’t locate the “dotnet” command. The place you need to start is that you start a Terminal with your shell of choice and make sure that it works there. If it does type “which dotnet” and copy the output.

Then you type sh and enter. Test it there, this is the place where it should fail. There are two ways you can fix it, either by adding the folder where the dotnet binary is located in to the path, or if you are lazy like me by doing something like “ln -s /usr/local/share/dotnet/dotnet /usr/local/bin/dotnet”.

And that should do the trick. As long as you can run the command “dotnet” in sh it should be available anywhere.

#

23.05.2018 02:00

New camera bag

OmniFocus vs Things

23.05.2018 02:00

The big GTD question on a Mac is Things or OmniFocus?

They are both very good, and I think which one is the right for you depends a lot of your personal preferences. It was a time in the middle where it was a very easy pick because Things used a shit load of time to get their sync act together.

Things is a little bit easier to get started with, while OmniFocus is a power tool. I have used both, multiple times over the years.

Things look a lot better. But it is a little bit too far in the eye candy over usability in some areas. It does for example drive me nuts that it takes noticeable longer to add a task to Things versus OF.

OmniFocus on the other side is a little bit more nerdy, and it takes a while to get into it. But when you do, it is a power users dream. It is awesome.

Python rant.

22.05.2018 02:00

Python is solid language, with a lot of good libraries, framework and a lot of great documentation. This makes it an obvious choice for a number of things, everything from command line programs to Web Development because of stuff like Flask, Django and Jinja.

But there are a number of problems with the language that makes it a poor fit for larger things, even with the addition of type hints. Because Python is a language where developer productivity is very important. But you have almost no validation of the code before loading it into the runtime. Like types and pre flight checks. This means that you need to write way more unit and integration tests than you would with a typed language.

I’m probably going to continue with Python for some stuff, because it is so easy. But I’m not going to write any work stuff in it. Because of types, and because Python almost makes it a priority to make sure it is impossible to follow functional programming concepts.

The reason I often go with Django for a little bit larger stuff at home is that it is so easy to put together some models, add unit testing to them and get something that works. And flask is perfect for some small api’s. But I think Clojure is the future for my Projects.

Bye Facebook

21.05.2018 02:00

The 29th of March was the day I finally did something I should have done a long time ago.

I deleted my Instagram accounts and my Facebook account.

The only thing I used Facebook for was to chat with a handful of people, and I just moved those conversations over to other venues like SMS, Keybase and E-mail.

It will be long go by the time I publish this, and it feels great. To delete it might not be much, but it is the most drastic thing I can do to show Facebook that I do not like what they are doing. And it is not just the recent scandals. Google and Facebook does a lot of the same stuff. But they seem to be better about not crossing the line and surprising us as much. And you can use them without having an account.

Finding out what I enjoy to use

21.05.2018 02:00

The Ink Smudge from day one have been about finding the stuff I enjoy to use. I have not always succeeded at that, but that have been the goal.

I’m not a collector, I just want to have some good inks, some good notebooks and some good pens and pencils that works for me. And just use it.

It all started with Moleskine and Pilot G2’s. Then I got into the Retro 51, and then the Pilot Metropolitan and Lamy Safari. And then I started to use Leuchtturm1917 and expensive fountain pens.

But at the end of the day the only thing I care about is finding what works the best for me.

Fountain pens works the best for me, if it is long form. And pencils works the best for shorter stuff. Leuchtturm1917 is the thing I like the best for larger notebook, and Nock.co’s pocket sized notebooks are awesome. Pilot Iroshizuku inks are the thing that works the best for me. And I guess I just started my journey into pencils, but I really feel like after five years I have landed on where I want to be with fountain pens.

Goodbye DayOne

21.05.2018 02:00

I finally moved the rest of my stuff out of Day One. It’s a great app, but not for me anymore.

If others like me would like to do so, but want to maintain the creation date as exif data in the image, you can use this python script.