HNHacker News
TopNewBestAskShowJobs

double051

160 karma · joined February 19, 2012

meet.hn/city/us-Spokane

Socials: - x.com/JohnShaffstall

Interests: Mobile Development, AI/ML, DevOps, Gaming, Programming, Remote Work, Space Tech, Web Development

---

submissionscomments
double051··on This URL crashes Chrome/Chromium
(Error code: ssl_error_weak_server_ephemeral_dh_key)
double051··on WebGL Water
Some people are mentioning that this doesn't work on iOS, and that's because Apple doesn't have WebGL available in mobile versions of Safari.

But it is. This post by Nathan de Vries [0] shows how you can hack the UIWebView to enable WebGL contexts in your iOS apps. You have to get a little more creative these days (the compiler has gotten stricter about private types and functions), but all it takes is something like this:

    -(void)setWebGLEnabled:(BOOL)enableWebGL forWebView:(UIWebView *)uiWebView
    {
        id webDocumentView = [uiWebView performSelector:@selector(_browserView)];
        id backingWebView = [webDocumentView performSelector:@selector(webView)];
        [backingWebView performSelector:@selector(_setWebGLEnabled:)
                             withObject:[NSNumber numberWithBool:enableWebGL]];
    }
It should go without saying that code like this will not make it into the app store.

[0] http://atnan.com/blog/2011/11/03/enabling-and-using-webgl-on...

double051··on WebGL Water
Apple still doesn't have WebGL turned on by default in Safari. You can turn it on by showing the 'Develop' menu (Preferences -> Advanced -> Show Develop menu), and checking the 'Enable WebGL' option inside.

Should start working after a refresh.

double051··on Blocking Google and Facebook using Ad Block Plus and Ghostery
Ghostery is fantastic after you've set everything to get blocked automatically, but it's noisy out of the box (you have to really go through every setting to get it just right), and many websites simply break if you block some external scripts from loading.
double051··on Google Glass evangelist: It's not worth the headache
I was wearing Glass every day, all day long; I would wear it to Starbucks; I would wear it to the mall; I would wear it driving, and I would wear it at my office. There wasn't a minute I didn't have it on.

Maybe that's the problem? I wear mine in moderation and I've never had any pain problems with it on.

double051··on 3D graphics in JavaScript (no libraries)
We're being redirected to http://liveweave.com/1POv7l/index-alert.html and seeing a 404.
double051··on Ask HN: What's the worst you've ever screwed up at work?
We shipped an Android app that didn't like the way we had our HTTPS certs configured, so I had logic in there to accept the connection if the cert matched the one we had.

Two months later, the certs were expiring soon and we changed our configuration to something Android liked by default. The bad news was that our production Android app rejected the new configuration and only wanted to accept the current certs.

We ended up quickly shipping a hotfix that accepted the current and upcoming configuration a few days before the certs expired. There technically wasn't any 'downtime' as long as users updated the app, but this all took place right before 'holiday vacations', and the QA team had to test the fix while all the devs were away.

double051··on A D3 Viewer for Matplotlib Visualizations
Excellent work, and much more sane than your other way of visualizing python graphs in the browser. Great to see your stuff on Hacker News!

BTW, this is John from B&&C.

double051··on SES-8 – Falcon 9 GEO Transfer Mission
It'll have to go over 7km/s to reach low Earth orbit, and even faster still to complete it's mission to the geostationary satellite belt.

http://en.wikipedia.org/wiki/Geostationary_orbit

double051··on Long Before Trees Overtook the Land, Earth Was Covered by Giant Mushrooms
Link for the lazy: http://wowpedia.org/Zangarmarsh
double051··on What's new for developers in Android 4.4 KitKat
This is only for the WebView object embedded in Android apps. Chrome and Firefox have supported WebGL on Android for a long time.
double051··on Ask HN: What is the best technology to learn right now?
Can't go wrong with JavaScript.
double051··on Automating Card Games Using OpenCV and Python
Very cool! Provokes the thought of doing something similar for Magic: the Gathering as well.

Missed triggers no more!

double051··on Got an I/O ticket...only to have payment gateway fail?
I was able to get the Google Wallet options to appear and hit 'purchase', but the the 'purchase' POST request timed out.

Trying again, but now I'm seeing this: "Try again. We couldn't find you a ticket, but there still might be tickets left!"

double051··on Ask HN: What is the coolest JS library out there?
Three.js is a wonderful way to experiment with 3D programming.

Github repo: https://github.com/mrdoob/three.js/

Examples: http://mrdoob.github.com/three.js/

double051··on Responsive Web Design – Advanced Lesson
Interesting how this site isn't following it's own advice. The layout is awful for anyone on a phone.
double051··on How Reddit was created: ‘I wanted to make the world suck less’
They spent their time populating the site by hand because ultimately they knew that's how their users would do it.

The accounts they used weren't fake, they were just the two guys building a site with a lot of test accounts.

double051··on J2objc - A Java to iOS Objective-C translation tool and runtime
The Android NDK tools are an unholy abomination. Have you worked with it?
double051··on J2objc - A Java to iOS Objective-C translation tool and runtime
Faster, more responsive, prettier.
double051··on Space Wars - A 3D multiplayer space shooter game using CubicVR and Socket.IO
Can't connect from the US. Tried port 80 and 8080 (the linked port).
double051··on Fay -- A proper subset of Haskell that compiles to Javascript
Bytecode for the web always fails. Remember Java applets and Flash? The great thing about javascript is that it can be hand-written and compiled-to.
double051··on Bridge is a new RPC framework for building modular services
You're node broke.
double051··on Ask HN: Going from programmer to engineer
If you find yourself stuck anywhere with MVC or Django or iOS or anything else, going to http://stackoverflow.com/ will almost certainly save you time and frustration.
double051··on Clang: Defending C++ from Murphy's Million Monkeys
I use Clang everyday and the error messages, warning messages, and static analysis are really great to work with.
← PreviousPage 2 of 2