HNHacker News
TopNewBestAskShowJobs

bencoder

788 karma · joined June 8, 2012

Contact: bencoder at gmail dt com
submissionscomments
bencoder··on PlayStation VR Will Arrive in October for $399
Head positional movement is a lot slower than rotational so this is not so bad/noticeable. Especially if the underlying game is rendered at 60hz rather than 30.
bencoder··on How we built Facebook Lite for every Android phone and network
I use this because the main facebook app had bloated to taking over 300mb of my android phone.

Unfortunately I can't get it through google play (not available in the UK) so I have to manually download and keep the apk updated. I wish they'd enable it for all countries.

The separate messenger app is also going that way, hopefully they'll eventually create a Messenger Lite app too.

bencoder··on AlphaGo beats the world champion Lee Sedol in first of five matches
I was really expecting Lee Sedol to win here. I'm very excited, and congratulations to the DeepMind team, but I'm a bit sad about the result, as a go player and as a human.
bencoder··on E-Cigarettes, as Used, Aren’t Helping Smokers Quit, Study Shows
> the volume of nicotine in the default over the shelf vaping kit...

I did the calculation myself and was shocked at how much nicotine was in the liquids, but after looking into it, I believe the nicotine absorption rate from vaping is much lower than from traditional cigarettes[0]:

> Compared to smoking one tobacco cigarette, the EC devices and liquid used in this study delivered one-third to one-fourth the amount of nicotine after 5 minutes of use. New-generation EC devices were more efficient in nicotine delivery, but still delivered nicotine much slower compared to tobacco cigarettes. The use of 18 mg/ml nicotine-concentration liquid probably compromises ECs' effectiveness as smoking substitutes; this study supports the need for higher levels of nicotine-containing liquids (approximately 50 mg/ml) in order to deliver nicotine more effectively and approach the nicotine-delivery profile of tobacco cigarettes.

[0]http://www.nature.com/articles/srep04133

bencoder··on A bad citizen in Javaland (2006)
Despite the name, I didn't see the article as taking a pop specifically at Java. It seemed more about bad OOP in general. As you say, you'll see the same patterns in every OO language.
bencoder··on A bad citizen in Javaland (2006)
There's still a lot of getters everywhere though, which seemed to me to be the bulk of the analogy.

    this.wallet = colleague.getWallet();
Code blocks are done with 4 space indentation at the start
bencoder··on Watch an AI bot play Go [video]
It's shown on TV in Korea, I believe
bencoder··on Giants of IT. The giants on whose shoulders we stand. One each day
What would be the connection?

Perhaps: Has contributed to the same software project

bencoder··on Counterintuitive economics of a chess tournament
> It's frustrating that we Hacker News citizens seem to have adopted a list of taboo topics that we aren't allowed to discuss - such as anything related to discrimination against a non-minority.

And yet the topic comes up repeatedly every time there is the slightest possible way to bring it up, even if it's completely unrelated to the article, like the grandparent's post. The original article had no mention of female prize or anything related to discrimination.

Edit: reduced hyperbole

bencoder··on Tell HN: Unicorns aren't ad-supported
I think the OP's point is that when the VC money is gone, they might have to go towards adverts in some way if they struggle to monetise otherwise, so it's too early to say that they are not ad-supported
bencoder··on Car industry 'buried report revealing US car safety flaws over fears for TTIP'
I read that, I saw the difference. Sorry I wasn't clear in my original post.

I meant: what causes the difference? Why is there such a big difference?

bencoder··on Car industry 'buried report revealing US car safety flaws over fears for TTIP'
The most interesting part of this for me is that there is a difference at all. The difference is not explained in the article.

I've never lived in the US; what is the difference between EU and US cars in this respect?

Edit for clarity: What I meant, is /why/ is there such a difference in safety? What physical differences between the cars cause that?

bencoder··on Keep Out – A WebGL Game
Great game.

There's a weird bug in the shop screen when you click left or right more than two times the 2nd+ time it seems to scroll multiple times (it actually only moves you one across, but the animation looks like it scrolls multiple times).

bencoder··on [dead]
Previous:

https://news.ycombinator.com/item?id=9726182

https://news.ycombinator.com/item?id=9980264

bencoder··on Why telephone keypads are arranged the way they are
I definitely remember (as a child in the UK) that our touch-tone phone had a pulse option that could be switched on the underside. If you flicked the switch then instead of a tone you would hear click-click-click-click when you pressed a number. This would have been in the early to mid-90s, though we were quite poor so the phone might have been older.
bencoder··on A rare condition causes a doctor to experience other people's sensations
I have the same issue, and with synaesthesia in general. In fact, my first (false) reaction is to disbelieve it when somebody tells me they have some form of it.

I am aware it's real and many people have synaesthesia but, I would guess, it's so far outside my perception of the world that my brain immediately wants to dismiss it. An interesting and somewhat annoying condition of my own brain.

bencoder··on The Little Manual of API Design (2008) [pdf]
You are, presumably, already a developer, so you already understand nesting. Perhaps a better example that a beginner could find quite reasonable after learning about start and end tags:

   <u>Underlined. <b>Bold and underlined.</u> Bold only.</b>
Why shouldn't that work?
bencoder··on Ask HN: What is the most mind blowing book you've ever read?
Permutation City, by Greg Egan. It's one of my favourites.
bencoder··on Show HN: This page exists only if someone is looking at it
An idea to make this(and the editable content suggestion in another comment) possible could be to add something to the protocol to define "previous versions" sha hashes. If you want to edit a page then create a new page which includes the sha hash of the previous versions. If you get a request for the content of a sha hash of an old version, you could suggest your sha hash as an updated version.
bencoder··on PHP: md5('240610708') == md5('QNKCDZO')
Absolutely, I was just suggesting that "you should always use the === operator" advice which I see a lot of people say(examples multiple times in this thread), does not guarantee you won't run into problems with incorrect types, and giving an explanation.

As always, you should be thinking when programming.

bencoder··on PHP: md5('240610708') == md5('QNKCDZO')
> you should probably use === by default.

unfortunately this can also backfire if your class/module is used in a different context where it gets strings instead of integers and you were just using === without really thinking about it:

We had a case where the code was something like:

  function doSomething($value) {
    if ($value === 0) {
      //do something
    } else {
      //do something else
    }
  }
This was then used in a slighly different context where $value was a string '0', it then ended up incorrectly in the //do something else block, doing the completely wrong thing. In this case the type co-erced == would have been better, and I think what the developer was expecting would be a type error due to the === but it's not a type error, it'll just fall into the else block.
bencoder··on Ask HN: What accomplishment are you most proud of?
Try playing columns 4,2,3,4,6,2,3 - seems to play always the same up to here but then sometimes plays different, but it's trivial to win after this state - the AI seems to "give up"
bencoder··on Videogame Publishers: No Preserving Abandoned Games Because “Hacking” Is Illegal
Except if your disk is damaged and you want to download a working version or get a replacement disk, then it's not just a licence, you gotta buy it again. They want it both ways
bencoder··on Did GCHQ illegally spy on you?
I feel the same, which is very concerning.
bencoder··on 0h n0 – A new game from the makers of 0h h1
I get this a lot, so many games seem to remind me of Go.

I think it's because Go is like the Lisp(or maybe just λ-calculus) of games - as my co-worker put it: remove any of the rules of go and you would no longer have a game.

bencoder··on Air Traffic Control Simulator
I think http://www.londoncontrol.com/ is the closest one out there to what you're looking for
bencoder··on E-book prices may rise as VAT law kicks in
Pretty sure they pay UK VAT on physical goods. This article is referring to the changes in VAT for digital goods.

By the way, physical books are vat-free in the UK (presumably because it is seen as a good thing to encourage people to read), whereas e-books have always been standard VAT in the UK, making e-books less competitive.

bencoder··on Space Tourism Isn’t Frivolous, or Impossible
Not disagreeing with the overall point of your comment, but:

> private chef

I can purchase a pre-prepared meal and heat it up in my microwave by pressing two buttons. That's pretty close!

bencoder··on 11:57 – A short virtual reality horror film made for Oculus Rift
3d sound in this context means when you turn your head the sound remains in the same '3d' position(so if the sound was coming from the side and you turn to face it, it now sound like it's coming from ahead), which is important for vr (with headphones). This isn't really possible with a prerecorded video file unless you have a clever player that can do the 3d transformations from the original sound channels, but I'm not aware of any that can do this yet
bencoder··on HandPose: Fully Articulated Hand Tracking
This was discussed on /r/oculus and it was suggested that Microsoft could be overdriving the infrared so it's for eye protection
← PreviousPage 5 of 9Next →