ehamberg's comments

ehamberg | 11 years ago | on: Karl Ove ­Knausgaard’s ‘My Struggle: Book 4’

I simply tried (and failed, it seems) to say that they are generally considered to be equivalent, and that it's okay to use “aa” when translating a name with “å”. Reasons for this could be not knowing how to write an ‘å’ (or Ł, đ, ç, ì, etc.) or simply not wanting to distract one's readers. I do not have an authoritative source.

ehamberg | 11 years ago | on: Karl Ove ­Knausgaard’s ‘My Struggle: Book 4’

It's acceptable (or at least “not wrong”) to use “aa” for å (and “oe” for ø/ö, “ae” for æ/ä).

While ‘å’ was made an official letter in Norwegian in 1917, it's still common to see “aa” spellings of names, and “aa” and “å” spellings are considered equivalent (fun when sorting, since ‘å’ is the last letter of the Norwegian alphabet).

ehamberg | 11 years ago | on: Wi-Fi hack creates 'no iOS zone' that cripples iPhones and iPads

An iOS device will only connect to known networks. By enabling “Ask to Join Networks” it will list networks and ask if you want to join any of them – but only if no known network is in range. This is actually less safe, in that you're just a button press away from “accessing random open networks” instead of having to go into the settings and choose a network – so it makes sense to have it default to off.

tl;rl: iOS will only join known networks – toggling this setting will make it easier to join networks when no known networks are in range.

edit: Link to the relevant section in the manual: https://help.apple.com/iphone/8/#/iph1b489c85f

ehamberg | 11 years ago | on: Show HN: Discover your ranking on GitHub

There's a bug with the city/country detection:

People with only a country as their location, e.g. “Norway” are detected as being in “Norway, United States”. :-)

ehamberg | 11 years ago | on: Prolog Programming Language (1997)

> The advantage of this approach would be allowing function overloading (similarly to C++ or Java) informally without interfaces or type classes.

I might be misunderstanding something, but how does this allow function overloading more than ordinary let-polymorphism? Functions can already have a type like, say, ∀a.a→Int. It's also quite common to do type inference in two steps where the first pass creates type variables and a list of constraints. The set of constraints are then passed to a unification algorithm, see e.g. http://www.seas.upenn.edu/~cis552/lectures/stub/FunTypes.htm....

ehamberg | 11 years ago | on: iMac with Retina 5K display

The Mac Pro has two buses, but the Macbook Pro has only one – so the fact that there are two Thunderbolt ports doesn't really help you in this case.

ehamberg | 11 years ago | on: Al-Jazari

“Nationalism teaches you take pride in shit you haven’t done and hate people you’ve never met.”

You can probably substitute any us-and-them term for “nationalism”.

ehamberg | 12 years ago | on: 9m.no – Short URLs for the Unicode Age

I had briefly used Scotty before, but never acid-state. All of this is just the result of a discussion at work where my position was “oh, come on! it's not that stupid!”, so I just chose something I though would let me get a test site up and running really quickly.

I would probably polish it a bit more if I knew it would get this much attention, but hey! – it works, and uses almost no resources on the cheapest Digital Ocean account.

I recently saw some discussion about acid-state on Reddit, and it seems that the Hackage developers have had some troubles with it: http://www.reddit.com/r/haskell/comments/26405r/storing_data...

ehamberg | 12 years ago | on: Why do Russians pour asphalt over snowed roads instead of plowing them?

The top comment has an interesting suggestion for why this is done:

  […] this is how people in local governments make money in Russia:
  
  Step 1: have a $100,000 of tax money budget for fixing the pavement on street XYZ
  Step 2: pay your nephew's 'construction company' $10,000 for the 'work' they did
  Step 3: pocket $90,000 of tax money
  Step 4: oh noes!! the road cracked AGAIN! not AGAIN!! oh well, guess gotta go fix it
  Step 5: goto Step 1	 Today 1:36am
page 1