HNHacker News
TopNewBestAskShowJobs

gauravk92

57 karma · joined February 4, 2012

submissionscomments
gauravk92··on Poll: Should Apple accept an app that tracks drone kills?
To be fair maybe people don't want to give out their email to everyone.
gauravk92··on AMD reveals Steamroller CPU architecture details
ARM is introducing 64 bit chipsets in less than a year or so. The power savings will be worth the switch for cloud hosts. Most devices sold already run ARM.
gauravk92··on The Two Week Problem
What did you start using instead of Vagrant? Jc.
gauravk92··on Vagrant core no longer tied to VirtualBox
They are right now in the stages of removing proprietary code towards a modular architecture. I think it's more likely they could implement libvert as a plugin. The focus isn't to make a pluggable architecture for vm emulators(libvert). But to make vagrant itself more robust, by removing it's ties to virtualbox with a plugin system.
gauravk92··on In a First, an Entire Organism Is Simulated by Software
Baby steps.
gauravk92··on EFF, Reddit, Mozilla, others launch Internet Defense League and Cat Signal
We start it, early adopters. The mass picks up on it after a few years, only if it gets started in the first place.
gauravk92··on Why the Higgs Boson Discovery Is Disappointing
Can you provide further reading on that? I'd love to find out more about how exactly dark energy "absorbed" Einstein's ideas, and I'm sure I'm not alone here.
gauravk92··on Another year of Clojure
These language enthusiasts forget that the best language is the best one for the task at hand. They'll get it eventually IMHO.
gauravk92··on Historical Chip Pricing now on Octopart
What do you suppose is after futures on wall street, just curious.
gauravk92··on Adobe Flash API ported to Dart
AS3 -> Dart -> JS, a bit much don't you think? I'm not sure who is trying to use a web stack three levels deep and dart based no less. I'm skeptical of how long dart is going to last at google, but this is definitely an impressive piece of work regardless. If it was AS3 -> JS and worked as well as it does now, i feel the web would collectively lose its shit. Unfortunately though this is tied to google, and i don't think many people want to be stuck being supported solely by google anymore.
gauravk92··on Corrupt App Store binaries crashing on launch
Not possible without rejecting the binary unfortunately. If you submitted it a day ago or so, just reject it. It'll get dropped down in the queue but if the situation calls for it, might be necessary.
gauravk92··on Make Something People Love: Lessons From a Startup Guy
Any chance you could reply saying how many requests you got for a free tshirt, for science!
gauravk92··on Debug UIWebView in your iOS app
So just infer the method name at runtime.

The static analyzer could alert a human of a dynamic performSelector call but they're still a myriad of ways to get around that as well. With just a tiny bit of obfuscation any human is simply going to dismiss analyzing the disassembly to figure out what's going on since performSelector is a valid API call. They can't remove you from being able to do things at runtime either or make only make static calls to objc_message.

Literally the only technical solution would be for them to run the app through some sort of dynamic analyze,r where it runs the code and figures out everything that's going on. There are obvious issues with such a system though even theoretically.

For example, let's say you have a variable x which has a value determined at runtime:

x = figureOutXBasedOnSomeRuntimeStuff()

if (x) { InferPrivateMethodNameAndPerform() } else { DoSomethingElse() }

The analyzer has to traverse all paths to actually know if a private method is being called but it can't just run the code once with x as true, and once with x as false. It's a dynamic environment so those actions may have radically different actions based on other variables or the user's preferences at runtime, etc. And if it simply runs the app then many code paths get missed. Maybe in the distant future the analyzer could actually play around with your app enough and possibly go through every code path that way. But by simply having it tied to a page on the Internet, you can just wait till its approved and then enable it.

So one obvious conclusion might be to have a human disassemble the app and figure out what's going on. But that's simply not economically feasible and even experienced security analysts can have a hard time figuring out what code is doing, even if you have the source code.

It's more likely overtime they will dull the sharp edges of objective c, especially for iOS. At which point the entire SDK will be structured in such a way as to not allow you to do things you aren't supposed to. But they can't prevent you from ripping llvm off of opensource.apple.com and compiling without the restrictions. In terms of a technical solution, it itself is not economically feasible. Definitely easier to just ban infringing people when they get caught, old fashioned way.

In summary it's more likely that they just don't care. Apple knows being on the app store is more valuable then using the minus button illegally (hah camera+). So they simply won't do anything about it, you can slip your app onto the app store taking full advantage of the private APIs with a bit of obfuscation and they'll most likely just let it through. They are smart enough to know realistically their efforts to enforce this rule is futile, so they probably just don't care and will simply ban you from the store (unless your app is making shit tons of money, then they'll just tell you to fix it).

I don't recommend it either but from a technical standpoint it's a very interesting puzzle of sorts.

gauravk92··on Netflix begins the deployment of their own content delivery network
You don't need the extra ram. ZFS uses it as a cache, more ram, more cache. That's about it, otherwise it doesn't use much ram.
gauravk92··on GTD sucks for creative work. Here’s an alternative system.
"To no longer worry about something requires worrying about it a lot first."
gauravk92··on A safer git checkout
Most developers learn by example. I've looked for resources on using vcs properly but the few that existed weren't very good. A great resource would be a showcase for a collection of great commits. It doesn't exist as far as I know unfortunately.
gauravk92··on Android's Overblown Fragmentation Problem
Sure it's not an issue if you think you have to support android. When in reality you just have to support the iPhone, and it doesn't have these issues.

Android support is helpful but not neccesary, like supporting IE alongside Firefox a few years ago. Sure people use IE more than any other browser (now Chrome, yes!), but that doesn't mean a lot of IE users are going to use your website in the first place.

IMHO that applies to android today, iPhone users are way more likely to buy your service in the first place so you should focus on them. No need to leave android users hanging, but clearly the platform doesn't warrant anyone's sole focus so much as basic support.

gauravk92··on Memristor RAM now cheap as chips
Their research labs have quantum computers, I'm sure they are well aware. As for pushing this to market, no hurry, they're in the business of selling silicone 8086 based processors, they'll probably keep doing that for as long as possible.
gauravk92··on Success is in NP
Can you provide further reading where OP fell short?
gauravk92··on Starting to explain P vs NP - what do *you* find confusing?
When we discuss solving whether P=NP, are we talking about a theoretical shortcut that allows us to not have to calculate everything? Or is it quantum computing that simply allows us to efficiently just compute everything because no shortcut is likely to be discovered?
gauravk92··on GitLaw: GitHub For Laws And Legal Documents - A Tourniquet For American Liberty
Bills used to not be 1000 page tomes. Special interests usually cause that bloat by lobbying for exemptions or credits in special circumstances. There's no real reason it has to be 2000 pages, it's not going to be three pages either though.
gauravk92··on Europe's space program heads to Jupiter
Most definitely true, but do you believe we are currently at the forefront of scientific exploration as we have been for the past few decades? I believe a shift has occurred, we are still the 800 pound gorilla but in 50 years, that may be a different picture. That's what I care about, the fact that our lead is waning and we're not doing much about.

If we were truly still leading the way, the supercollider we had plans for that was 3 times as powerful as the LHC would've been funded, in the 70-80's. I can't argue that point effectively though because I have read that project was plagued with issues and most likely wouldn't have been an effective use of funds, but we could've focused on fixing those issues or finding a scaled back project instead of letting it die, and leaving it to the EU.

gauravk92··on Europe's space program heads to Jupiter
Historians will look back at this time as a fundamental shift away from America as the leader of scientific exploration. It's a shame Europe is leading the search at the microscopic (LHC) and macroscopic scales (this), and we're considering reducing funding for NASA when their budget is already puny. Not to make this political, it just sucks.
gauravk92··on DCPU-16 toolchain (all in one)
The game has barely been started and the entire community is ready to go, wow. This game is going to be something else when it's released, can't wait!
gauravk92··on Ask Valve employees: How well does the flat organization work?
I would imagine no one at valve is an expert at managing backups for hundreds of machines and keeping an appropriate level of redundancy. Valve is definitely a company that is going to focus on where it can do better then others. They probably use many outside services to handle the things they don't want to have to worry about or specialize in. Other companies will handle it better because that's their focus, Gabe definitely gets that.
gauravk92··on Ask Valve employees: How well does the flat organization work?
I understand the parent comments point as well as yours. I realize this won't be an issue for most of the employees, but bad apples sneak through everywhere, it's human nature, and I specifically wanted to understand how they might handle that.
gauravk92··on Ask Valve employees: How well does the flat organization work?
Good point, I made an amendment.
gauravk92··on Ask Valve employees: How well does the flat organization work?
1. How do you handle the logical conclusion of letting your workers do whatever they want, they don't do anything? This may not apply to all employees, but it surely applies to at least one, and I wanted to know specifically how you might handle that situation.

2. What sort of system do you have to address problems with the unconditional hierarchy? For example, if an employee disagrees with Gabe, who wins and how is that handled?

UPDATE: addition to question #1

gauravk92··on Use Probability Models to Predict Pebble Sales (and win a Pebble)
As well that many people end up wanting to see if this is really going to get the support and actually happen, because only then is it really worth pledging their money.
gauravk92··on Use Probability Models to Predict Pebble Sales (and win a Pebble)
Thanks, wow kickstarter is just awesome that they offer that openly. A traditional organization I feel wouldn't.
Page 1 of 3Next →