hjertnes.blog

#

27.02.2018 01:00

Just deleted Spark from my phone.

Object.entries

27.02.2018 01:00

This one is awesome.

Let’s say you have a object, and you want to loop over the keys and values of it. There is a new method on the Object prototype for this. Just run Object.entries and you’ll get a list of list

I wonder how much code could be removed with all the recent additions to the Object prototype?

#

26.02.2018 01:00

hjertnes/PinboardAdder.

#

26.02.2018 01:00

First day back at work. This might be the time to get back into standing at my desk, because it is more comfortable to stand than to sit.

#

26.02.2018 01:00

Hugo is pretty awesome. I really love that I don’t have to make up any weird hacks to make scheduling work.

#

26.02.2018 01:00

@jack have you looked at elfeed ?

#

26.02.2018 01:00

The single thing I hate reading in support communication (especially if it’s a open source project) the most: read the documentation.

Default parameters

26.02.2018 01:00

One of the first “you don’t support what??” moments with me and JavaScript was when I discovered that default parameters weren’t supported. We have managed just fine without them, but they care nice to have. And can save you a lot of work at times.

They are finally supported now.

If you only come from JavaScript, the basic idea is that you give the parameters you want to be optional a default parameter. Like in the example above.

What makes a good “street” lens

26.02.2018 01:00

I don’t think there are much “right” and “wrong” when it comes to focal lengths for shooting street. Because it all depends on your personal taste and what kind of pictures you want make.

But the standard focal lengths for street are (on a 35mm / full frame) 28mm, 35mm and 50mm. And something close to a 85mm is popular for street portraits.

The creepiness is relative to the focal length. And I personally think that zoom lenses with a very long range is kind of “not cool”. But I don’t think something like a 10-24 or a 24-70 is a problem from a creepiness perspective.

But there are few things I think is important when you are picking a lens to use in street photography. Don’t get me wrong, you can use anything.

I would get a small and light prime, with fast auto focus. Because stuff happens fast, and lenses that use a long time to focus or fiddle with zooming is the kind of thing that could cause you to loose a lot of shots.

You want fast auto focus, because good pictures come and go faster than you can shoot most of the time. The lens should be light and small because it is a pain in the ass to walk around with a huge lens for a long periods, and people notice huge lenses way more than a small prime.

A manual lens with a focus scale is also a good option. This means a lens where you see meters and feet on the focusing ring. When I do street shooting with my Nikon FM, I usually focus to a certain distance and work accordingly. Then you only walk around and change the shutter speed.

My personal preference on Fuji systems is to use their line of F2 lenses. Because they are small, great quality and have fast auto focus. I usually set them to F8, when there is enough light, and then step down whole steps until I have a combo that works.

The slowest shutter speed you can use, depends on many different things. It depends on if you have any kind of image stabilisation in your camera or lens. And it depends on how steady your hands are. But also on the camera. For example, analog or up to around 16 mega pixels, no problem using a 1/60th of a second. But I try to not go under 1/100th on my X-Pro 2 with a 24MP sensor, because I takes way less to have a blurry picture.

More pixels aren’t always better.

#

25.02.2018 01:00

hjertnes/micropub