News for hackers. Stuff that matters.

ehamberg

Re:How Google's new Logo is just 305 bytes on Friday September 04, 2015 @01:19PM (#10171726)
I'm surprised it's still being used (and a mod fixed the link now), but if you're curious, here's the discussion on 9m.no from 15 months ago: https://news.ycombinator.com/item?id=7783239 :)
Re:Karl Ove ­Knausgaard’s ‘My Struggle: Book 4’ on Sunday April 26, 2015 @05:41AM (#9441154)
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.
Re:Karl Ove ­Knausgaard’s ‘My Struggle: Book 4’ on Sunday April 26, 2015 @04:48AM (#9441055)
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).

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

Re:Show HN: Discover your ranking on GitHub on Thursday February 26, 2015 @11:28AM (#9113339)
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”. :-)

Re:Show HN: Exa, a replacement for ls written in Rust on Sunday February 22, 2015 @04:07AM (#9088794)
… and advice/advise and prophecy/prophesy. For some reason, only the latter has kept the difference in spelling between the noun and the verb in American English.
Re:Chess game in 487 bytes – new record on Wednesday January 28, 2015 @02:09AM (#8958524)
Thanks! Looks interesting. :-)
Re:Chess game in 487 bytes – new record on Tuesday January 27, 2015 @02:52PM (#8955287)
The README file is really interesting: http://lpaste.net/119343
Re:Prolog Programming Language (1997) on Sunday January 11, 2015 @06:15AM (#8869679)
> 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....

Re:Announcing LTS Haskell 1.0 on Sunday January 04, 2015 @09:04AM (#8834408)

  (S (VP avoid
         (NP (NP success)
             (PP at
                 (NP all costs)))))
vs

  (S (VP avoid
         (NP success)
         (PP at
             (NP all costs))))
Re:Secret surveillance detected in Oslo on Saturday December 13, 2014 @06:35AM (#8744939)
Norway invented everything from the Groupe Spécial Mobile group? Citation needed.
Re:iMac with Retina 5K display on Friday October 17, 2014 @03:36AM (#8469831)
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.
Re:Al-Jazari on Monday September 08, 2014 @08:18AM (#8284328)
“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”.

Re:9m.no – Short URLs for the Unicode Age on Thursday May 22, 2014 @11:08AM (#7784208)
Yes, thanks for pointing that out. This was done really quickly and I didn't expect it to get that much attention. :-)
Re:9m.no – Short URLs for the Unicode Age on Thursday May 22, 2014 @11:06AM (#7784194)
To give you a clue: This was a really quick for-fun project and I did not expect it to get this much attention. ;-)
Re:9m.no – Short URLs for the Unicode Age on Thursday May 22, 2014 @11:04AM (#7784190)
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...

Re:9m.no – Short URLs for the Unicode Age on Thursday May 22, 2014 @10:59AM (#7784172)
That was indeed a typo. Thanks!
Re:hr for your terminal on Monday February 10, 2014 @04:17PM (#7213903)
If you want a solid line, you could use U+2501 (━) from the set of box drawing characters (https://en.wikipedia.org/wiki/Box-drawing_character):

    <━> 9473, U+2501 BOX DRAWINGS HEAVY HORIZONTAL

    hr(){printf '━%.0s' $(seq $COLUMNS)}
Re:Why the World Needs OpenStreetMap on Tuesday January 07, 2014 @01:06AM (#7015913)
Can anyone recommend an iPhone app for viewing maps and getting directions? The OSM wiki lists a lot of apps [1], but they seem to be of varying quality. I'd love to be able to use something that's close in functionality and simplicity of the Google Maps app.

[1] http://wiki.openstreetmap.org/wiki/Apple_iOS

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

Older »