News for hackers. Stuff that matters.

CodeWithCoffee

Re:Why you should use OpenGL and not DirectX on Thursday December 05, 2013 @09:00AM (#6854367)
> OpenGL != OpenGL ES != WebGL

Whilst technically true, WebGL is designed to have API compatibility with OpenGL ES (2), which in turn is based off of OpenGL (2). OpenGL ES 3 and WebGL 2 are beginning to emerge and are based off of OpenGL 3. In my experience shaders that work with WebGL will also work with OpenGL ES 2 and OpenGL 2.1. Equivalent versions tend to use the same concepts. On the other hand, code written for desktop (v3+) won't work on mobile, because the desktop version is one version ahead of mobile (and I imagind that it will be for several more versions).

Re:Why don't more people play video games? on Sunday December 01, 2013 @02:57AM (#6826556)
Another key factor is that watching TV/movies is a fairly passive activity - whilst you do have to concentrate on what is going on, you don't have to think particularly hard about it.

On the other hand, video gaming can be a fairly active activity (depending on the game) because you far more in control over what is happening and you have to make decisions. For some people, this makes it very dull because they don't find having to think about what they are doing relaxing, whereas for other people watching TV is dull because they aren't doing anything.

Re:Programming Language Checklist on Saturday November 23, 2013 @02:49AM (#6785607)
If I search for 'go' then I'll get http://golang.org as the second result after the Wikipedia article for the game, however I find that if I'm searching for almost anything to do with Go I'll have to type 'golang' instead, because otherwise Google seems to interpret it as a verb.
Re:Apple’s iOS7 Native JavaScript Bridge on Friday November 22, 2013 @02:22PM (#6783088)
I would be interested to know how that whitelist is implemented. I would suspect that the default apps (Safari, Mail, iTunes, etc) are compiled to use a custom implementation of UIWebView that uses JIT (which would completely prevent Chrome from using JIT), but it would be interesting if there is a switch (perhaps by a plist key) that Apple could flip, so a few selected apps could get access without the need to do compile against private libraries.
Re:A simple starting point for 2D JavaScript games on Sunday November 17, 2013 @05:17AM (#6748329)
Modules. NPM is the largest JavaScript dependency manager, and it is one of the easiest to install (because it comes with Node).
Re:About the new iWork for Mac: Features and compatibility on Wednesday November 06, 2013 @01:37PM (#6684455)
It's also no different to what they've done in the past when they are launching a brand new product; the first iPhone was announced about five months before its release.
Probably because of the changes that they made to Skitch 2 - they removed loads of features (which have been slowly added back).

http://discussion.evernote.com/topic/29802-i-advise-skitch-c...

Re:Ask HN: Did HN's SSL certificate just change? on Sunday November 03, 2013 @06:22AM (#6662827)
I've been having problems getting on the site for the last couple of days - CloudFlare has been throwing a 520 error a lot (in the UK, server is London). Could this be related?
Re:AFNetworking 2.0 on Friday September 27, 2013 @02:04PM (#6458500)
I've been playing around with it for the part couple of weeks or so since his original announcement and it is really awesome - if you aren't already using it, or you're using AFNetworking 1.x in your apps I highly recommend using 2.0 - the serialization and session stuff has made the API not only more streamlined, but helps create really nice code.
I must admit I have done that, however I never really extended it very far. I think I was just trying to animate really complex bar charts really quickly.
Re:Tetra for iOS - my new Letterpress-inspired board game app on Thursday August 22, 2013 @03:28PM (#6259480)
I think that is probably a sensible way of doing it - it did seem a bit extreme that Letterpress is pure OpenGL. How much do you rely on QuartzCore/Core Animation rather than regular UIKit animation?