hjertnes.blog

#

03.07.2018 02:00

The world have spent too much energy making sure white straight cis men like myself are comfortable

Why I prefer primes to zooms.

03.07.2018 02:00

You can either get a set of primes (fixed focal lengths) or one (or more) zooms to cover the same focal lengths. There are good and bad sides to both. The good thing about a zoom is that you carry less lenses and you don’t have to switch them that often. The bad thing is that they are almost always slower, and are heavier very expensive.

I used to use a 24-70mm lens on my Canon Rebel. It was a f/2.8, aka very heavy. This was the kind of lens you can forget about using with one hand. I’m not getting another one for a number of reasons.

  • I didn’t use that many different focal lengths.
  • I could get more or less the same thing with 3-4 primes
  • The primes would all of them be light enough for one handed use
  • The primes would be faster.

I always use my camera more, and bring it more places, if I use a small and light lens on it. And other people aren’t always that fund of me walking around with huge lenses for a number of reasons. There are stuff I’ll miss about not having a zoom, like more flexibility in terms of how far away / close you have to get. But I have always enjoyed small and light primes more.

#

02.07.2018 02:00

#

02.07.2018 02:00

New job 1st of September

#

02.07.2018 02:00

New mug

Priorities in Software Development

02.07.2018 02:00

There are many choices that are made during software development.

Some want to make cool stuff faster, while other want small size or support “everything”. Or stability. Some of these choices can work together, while others do not.

These choices depend on a lot of stuff. But most important they depend on the kind of product you want to build and who are going to use them.

For example, if you use React and modern web development tools like webpack, your web app’s resources will be larger, and not support every browser on the market. But you will be able to iterate much faster and cooler stuff. But that will not work if a lot of your potential users are using old devices and or older browsers.

In some cases you might not want to make your whole solution rely on JavaScript, while other times you have to do that in order to make what you want to make.

It all comes down to what priorities you and your company have.

If I were to build something for schools or enterprise I’d probably build something using Python or C# where almost everything were handled by the web server, and the JavaScript would simply be a “added bonus”. But if I were to build a really cool web app for individuals or smaller companies where it is more likely than not that they run a modern version of Chrome or Firefox, I’d probably build something entirely in JavaScript.

A web site on the other hand, like this one, is still something where I would not do too much in JavaScript, because most people don’t spend a lot time there at a time.

#

29.06.2018 02:00

Fork seems like a good alternative to Tower.

#

29.06.2018 02:00

Yay! New episode of the HelloCode podcast

#

29.06.2018 02:00

Vacation time!

Getting started with Emacs

29.06.2018 02:00

Emacs is one of the most powerful programs I have ever used. The way I usually describe it is imagine excel where the macro language is so powerful that most of excel itself is implemented in it. Others have called Emacs a “big repl”. The difficult thing about Emacs is getting started with it. Emacs is very powerful, but it isn’t optimised for beginners. I personally think that is great, because it means it have been built for those of us who spend most of our time in it.

I recommend that you start with one of the configuration systems available. At least in the beginning. Spacemacs is awesome, because it is really easy to get started with. Before you move on look at both the regular Emacs Keybindings and VIM / Evil keybindings and pick the one that appeals the most to you.