hjertnes.blog

#

05.09.2018 18:05

Liked: redux-api-middleware - npm

#

05.09.2018 18:05

Liked: My blog is a mess and I’m fine with that – Jack Baty

#

05.09.2018 18:04

Liked: object-path - npm

#

05.09.2018 18:04

Liked: npryce/adr-tools: Command-line tools for working with Architecture Decision Records

#

05.09.2018 18:04

Liked: [[http://thinkrelevance.com/blog/2011/11/15/documenting-architecture-decisions][Blog

Documenting Architecture Decisions Relevance]]

#

05.09.2018 18:03

Liked: caisah/emacs.dz: Awesome emacs config files

Fuji Lens Setup

05.09.2018 10:00

-8mm For when I want to capture it all -23mm For snapshots and landscapes -35mm More or less the same as the 23, only that I want a little bit more control of bokeh or what is in the frame -50mm For portraits.

I love my lenses, and the output I get from them. But I think I want to get a zoom, especially for traveling. The problem is that zooms are kind of heavy, but it is a pain to change primes a lot.

So, I guess I will get one. The one I like the best of the for sale lenses for Fuji is the 18-135mm.

Morning charging ritual.

04.09.2018 10:00

Batteries are a pain in the ass. And I am getting kind of sick of them. Every morning when I get into the office I plug in my iPhone and my Apple Watch, then I start to charge the right AirPod, then the left. Before I then charge the case once my iPhone is close to a 100% charge. And then you have my Laptop and my Switch.

When that is charged I re plug my iPhone and leave it there for as much of the day as possible.

I think all of this charging crap have to be improved in some way sooner rather than later. Battery life in general should be improved, but I doubt that will happen. But what I hope will happen is that the time it takes to charge stuff will become much faster, and that it is easier and cheaper to use stuff like contact charging.

I’d love to have some kind of surface on my whole desk that could charge at least all the portable stuff. Either that or some modular docking systems that can be customized for what every you need.

Pedestal development using emacs.

03.09.2018 10:00

Pedestal is my current favourite backend development library for Clojure. I find it a lot cleaner than Ring for various reasons that I’m going to get into in a future blog post.

This is how I do pedastal development: I start my dev eniornment, usually IntelliJ+Cursive or Emacs+Cider; because VSCode doesn’t have any good plugins yet.

Then I run (def serv (run-dev)) in the repl and you have a running dev server. Then the repl should pick up on file changes, but it does not work that well with all editors. Or that is at least my personal experience. Seems like some editors don’t send the proper notifications or something.

Anyways, when I launch the repl in iTerm and edit with VS Code updates are detected without me doing anything. But, if you use emacs or Cursive you need to tell the editor to evaluate the file you are editing before you see the changes. In Cusrive it is CMD SHift H, and it is M-x cider-load-buffer and the changes should show up more or less immediatly.

If you want the full story, you have to run cider-jack-in to start the repl, and then cider-switch-to-repl-buffer to get the buffer and then I run (def serv (run-dev)), and cider-load-buffer each time something changes (full: cider-jack-in, cider-switch-to-repl-buffer, cider-load-buffer)

Where I buy stationary in 2018.

03.09.2018 10:00

Historically I have been buying from Goulet and JetPens. The reason is simple, they had the most stuff, with the most affordable overall pricing.

Back when I got into this crap in 2013, there was not anyone selling that kind of stuff in Norway. And the companies in Europe ended up being as expensive and same shipping times as the American ones after shipping, customs etc.

So I just went for the ones that had the most stuff. And the best websites. I tried to do most of my shopping at Goulet, because I love how they are doing everything.

Then about a year and a half ago I was made aware of a Norwegian site selling the kind of stuff I loved. So I wrote a blog post, got an e-mail. And have been doing most of my shopping there since then.

I have also gotten some stuff for free, for the purpose of revewing them or gotten nice discounts.

These days I try to do all my shopping at Tudos. Because I want to support them as much as possible. And because everything is simpler when they are inside Norway. Cheaper shipping and no import / customs fees.

Even though they might be more expensive when you compare product A and B; the result are much closer the identical when you look at how it looks by the time you get the product.

And it is so nice to not having to plan weeks in advnace to make sure you always have inks and notebooks.

In other words, I get stuff from Tudos if they can sell it to me. And the little I need that they can’t get me are mostly bought from Pencils.com.