Mastodon

hjertnes.blog

Giving flickr a shot.

22.09.2019 09:01

How to share photos is a common struggle for me. I want something that does not require a lot of work or management. I just want to give it a bunch of JPEGs and let it do its job. I have tried making my own thing, multiple times, I have tried to use Micro.blog. Nothing have been what I wanted.

I tried uploaded a few photos to Flickr, because @jack, and the process was fast effortless. So I decided to give it a shot and upgraded my account, before I exported my entire Photos library and see how well it works. And I’m pretty happy about it this far. But I’m not 100% sure how I’m going to share that I upload new photos.

Maybe I’ll add the Flickr RSS feed, or maybe I’ll just post link to an album when I upload new stuff. I’m not 100% sure yet.

Likes

20.09.2019 20:33

A month without podcasts

18.09.2019 18:51

It have gone over a month since I deleted Overcast and decided to at least take a break from podcasts, and maybe quit them forever. It was a result of a slowly removing a lot of podcasts from my subscriptions over 15 months.

What I have noticed this far over this period is that I listen to a lot more music and I am discovering a lot of music I haven’t been listening to before. And of course a lot more audiobooks.

I have not missed podcasts at all, but I do feel very disconnected from the communities like the Apple Tech Podcast / Relay.fm / 5by5 world that I have been following for so long. I think the change is good, but I’m still trying to work out how things will be for me in this post podcasts phsae of my life.

Emacs: how and when

15.09.2019 12:37

How and when I use Emacs is a complicated question. I use Emacs for a lot of different things, and I use it when it is the thing that works best. In some periods I use Emacs for JavaScript development, and in other periods I use Rider and VS Code instead.

I try to set as much of the stuff I use up in a way where it is easy to use different tools together. All my editors have been configured to auto save and auto load from disk. This makes it easy to use for example VS Code and Rider at the same time.

Also: I have configured every IDE or other editor I have to use Emacs keybindings in order to make it easier to change.

If I’m writing or typing a lot, I’ll probably use Emacs, but if I’m iterating a lot, for example when writing tests / improving test coverage or doing something that some VS Code plugin makes easier I’ll use that that.

In an ideal world I’d prefer to only use Emacs. But while a lot of the tooling unfortunatly are tied to specific editors or IDE’s I chose to do things in the way that has the least friction. How I work would probably confuse most people, but it works for me.

Likes

14.09.2019 08:49

I’m going back to likes, because I didin’t like (pun intended) the “Linkes worth a click” name. I’ll see if I find a better name.

Redux like pattern with ClojureScript and Reagent

08.09.2019 10:28

I’ve written about my redux like pattern with ClojureScript and Reagent on my wiki.

Links worth a click

06.09.2019 18:05

Trying out a new name for my “Like” posts. They have really never been stuff I liked but rather links I think are worth checking out.

Old school headphones, modern iPhones.

04.09.2019 19:47

The iPhone 6s/6s Plus were the last models with a headphone jack. And the solution since than have been to either use bluetooth or a lightning to 3,5mm jack.

Bluetooth have become pretty great since the early days, but I still prefer using old school headphones for a number of reasons:

  • A lot cheaper
  • A lot moe durable (dumb headphones without electronics survive anything)
  • No delays
  • More choice

I have tested two different adapters, and this is my take on what to use based on that. I have used a few of the stock Apple ones and one from Belkin.

The Belkin ones are not as good in general, but it supports charging and listening at the same time. What’s great about the Apple one, even though it is very thin and looks like it is going to break at any point, is that it almost never disconnects even when in your pocket. This is not the case for the Belkin one.

My current preference is to use the Apple one all the time, except for when I’m also charging.

These dongles are not great, and I would prefer to get the built in jack back, but it is not all bad. It seems to me that instead of what everyone that have used any pocketable music player know, where you get connection problems close to where the jack plug is, the dongle breaks.

What I do, is somehting in the middle. I use old school headphones plus a bluetooth DAC from Fiio. It was expensive, but probably cheaper than having to replace a lot of dongles

Framework versus libraries

01.09.2019 16:54

The move away from does it all frameworks have been going on for a while now. They are usually not the go to solution in the world of React and Node; and the Clojure world aren’t fund of them either. This is a good place to start.

To understand the difference between a library and a framework you can take a look at Django, Rails, jQuery or Angular. All of them attempt to solve “everything” or a lot of different things. And as a result your app end up having dependencies to them all over the place. While if you a bunch of libraries and have good abstractions you can limit the dependencies to a third party library very effiently.

The key difference between using libraries and a framework is that you need to do more of the configuration yourself. But you often understand more about how stuff works when you do so. Also: it is often a lot easier to change what you use for X and a lot easier to upgrade dependencies. The reason for this is that let’s say you have a well designed React app, and you have a “api-module” for all the requests to the backend, and you decide to change from axios to fetch you’ll only be required to change that module. Then you just remove axios from deps are you’re done. Let’s say you wanted to do the same with jQuery, it would take forever because people on your team would continue to write code using jQuery $.get/$.post etc because it is there.

There are also things like Entity Framework that is more like a library, even though it is called a framework.

Rails or Django may still be the correct thing for you and your projects. But there are some disadvantages to it, and I think it is important to understand them. And I don’t think frameworks are the future.

Likes

30.08.2019 18:39