HNHacker News
TopNewBestAskShowJobs

gauravk92

57 karma · joined February 4, 2012

submissionscomments
gauravk92··on Use Probability Models to Predict Pebble Sales (and win a Pebble)
You would need historical data then, which I doubt kick starter would provide. Only way is to check the amount and # of backers every minute, on every page, unless I'm missing something. This would be incredibly useful information for people looking to use kickstarter, but I don't think kickstarter would be too happy about that being readily available. IMHO, all the more reason to get it.
gauravk92··on Facebook’s 1st-Quarter Profit Falls 12%
Facebook also owns your social graph and that is what they exclaim proudly about the most as well. If any other service wants access to it they have to ask Facebook and they can't just take it. And if there is no Facebook integration, then theres an additional level of friction in getting new users. It's definitely a tough market to breakthrough in because of Facebook (Ask google).
gauravk92··on Web scraping: Reliably and efficiently pull data from pages that don't expect it
Xpath is good when the content is well formed, but usually doesn't work well with even slightly messed up tags. Mojolicious supports broken content much better. And it has full css3 selector support, which we all know is hands down the best way to access Dom elements.
gauravk92··on Web scraping: Reliably and efficiently pull data from pages that don't expect it
Mojolicious is exactly what you are looking for. Lazy and forgiving DOM parser, and CSS3 selector built in. I've used it for scraping a couple of sites, after trying so many different libraries ranging from curl to asihttprequest for objc to mechanize for ruby, I don't see myself trying anything else now.
gauravk92··on Of Booze and Brogrammers
Ballmer's peak has nothing to do with "the morning after." For me it's after 2-3 drinks but after 4 it's probably gone.
gauravk92··on This is the mail system
HTML definitely sucks to parse but it's definitely better then plain text. At least it's a standardized format, as well that it allows for a much better interpretation in terms of visuals without convoluting the DOM for a parser. Sort of the best of both worlds, again I know using any HTML lib sucks to a degree, even with xpath, but wouldn't it still be a step forward.

Let's standardize all email error messages to HTML. At least then a standard exists even though it will suck, most standards suck in many ways. But it's a total nightmare without any.

gauravk92··on PHP Sucks But I Like It
I'd love an experts opinion on c++11 in the realm of high performance algorithms. Considering most of the updates were instruction additions and fixes, is it really increasing speed and even worth it to use the bleeding edge for maybe some small gain where a 10 year old language is simply much more reliable?

Also, I didn't mention the updates in parallelism that were added (because they should have come earlier)...but do you think c++ is comparable to a modern concurrent language atm? Worth it over erlang?

gauravk92··on Edit scheme on your iPad via the parse tree: Lisping launched
Got a reply, awesome service. Thank you!
gauravk92··on Postgres 9.2 will feature linear read scalability up to 64 cores
Thank you! Do you have any experience with CouchDB? I'm sure you've at least of heard of erlang and all the benefits it promises, I'm considering whether to use it for a future project, I might because the JSON REST api seems convenient to use without having to worry about scale. But I haven't done testing and could use advice.
gauravk92··on Parallelism and the Limits of (programming) Languages
Arrays are usually causing problems in the parallelism world, if you're trying to modify them anyway. The standard paradigm is the actor model, you reduce your program to never actually talk to data, only act as if it were. The objects asynchronously handle messages to modify themselves, thus a message can come from anywhere.

That's one solution but the biggest hurdle most parallel codes faces is the fact that most programmers think sequentially. When you start thinking parallel, it doesn't make as much sense, and the thought degrades to a magic box that you throw work at. IMHO usually because where parallelism is an intuitive concept, the API's to take advantage of it usually suck.

gauravk92··on State of the Computer Book Market, part 4: The Languages
In that situation don't most authors use some pseudocode anyway(?) since the point isn't to be syntactically correct but to express the concept in a way that can be understood by as many people as possible.

I don't know why anyone would want to write java to express programming concepts, better left to python or ruby where real code basically looks like pseudocode.

gauravk92··on Edit scheme on your iPad via the parse tree: Lisping launched
I tried a standard (+ 5 4) with no reply. :(
gauravk92··on Ask HN: Any open source / free stock quote APIs available?
Google finance, albeit the API isn't as developed as you might expect but most everything you need is there.
gauravk92··on Starving your way to vigor: The benefits of an empty stomach
Warning: Even if this guy is a doctor, an article online isn't medical advice, always take it with a grain of salt. This just seems dangerous without proper knowledge and awareness of what's going on.
gauravk92··on Show HN: Clutch.io helps you build iOS apps fast and update them instantly
Anybody could do that with a UIWebView now, without this.

You can bypass apples static analysis as well by interpolating a selector at runtime. Camera+ did this to enable the volume button to be used for taking a picture.

I think to outright ban something like this, apple would have to see some really egregious exploitation.

gauravk92··on Postgres 9.2 will feature linear read scalability up to 64 cores
Performance is subjective, but let's dig into the performance optimization this patch includes. The update addresses an issue where to do a llseek (read) of the database, the linux kernel would lock the read, causing it to have only one output at a time. The patch removes the lock because it was unnecessary and thus the performance scales concurrently without a lock creating contention.

This kind of performance optimization isn't new, concurrency is the name of the game. Erlang is a language built around concurrency and it has some databases written in it (couchdb) that scale with more cores due to erlangs inherent capabilities. So has this kind of performance increase been seen before, yes.

gauravk92··on Mailcheck.js - How we decreased sign up confirmation email bounces by 50%
That's a worst case scenario and things could be worse if they hacked your production code base.

All data should be 256bit ssl encrypted for point to point security and asset tampering protection. After that, i doubt stripes js lib is much of a problem, it communicates in a secure tunnel from the client to stripe.

They as well say you don't have to worry about PCI compliance then because you are never handling financially sensitive data directly, only indirectly.

gauravk92··on Why did Objective-C never catch on? (Ask Slashdot, Aug 2000)
Well the entire stack is open source so no one needs to port it. I'm pretty sure that people like it because, it along with cocoa, makes iOS a great platform to develop apps for. But as for spreading objc, most of the features it has have been in dynamic languages like perl for many years longer. Perl even has objc lib bindings and much better integration in unix, albeit not necessarily for making apps.

I think the popularity of objc is hindered more by the fact that people would be moving a step back, if they were using it for something besides what it's designed for (cocoa apps).

gauravk92··on Kickstarter: rails.app
Setting up a vagrant script would be worth more. Portable development environment (Ubuntu running in a virtual box), cross platform support, easily configurable and duplicatable, and segregated from host machine.

You never know what kind of things people are doing on their machines, don't deal with that, use vagrant.

P.S. I'm sure a rails script exists for vagrant so he could just improve that with whatever he's going to do.

gauravk92··on A Conversation with Guido about Callbacks
Can you find a source for that, I'd love to read about actual performance statistics between anything and the likes ok twisted and such.
gauravk92··on Poll: What's Your Favorite Programming Language?
I'm pretty sure they mean jQuery. Coffeescript is on the list as a separate item so that can't be it. Not much popularity behind Objective J and such. Definitely one of the javascript libs, I think we can all agree the javascript language sucks.
gauravk92··on Apple's domains
I'm not too sure either, but my guess is in implied value, where without an apple and iPad and smart cover, the domain is worth $5/mo but with it, it's obvious prime Internet real estate and worth a lot more. As for how much money apple actually makes from this domain, I'm pretty confident nothing.
gauravk92··on Mailcheck.js - How we decreased sign up confirmation email bounces by 50%
Stripe does this really well using a js lib. The sensitive data thus never hits your servers and it's a much better experience for devs who don't want/have to deal with PCI compliance.
gauravk92··on Why I like lots of languages, and Go is pretty neat too
I think the language features are neat but who wants to be beholden to google and no one else. We're not even sure how much they use Go, just leave it to them I say.
gauravk92··on The New iPad's Screen Under the Microscope
They won't, because you wouldn't be able to tell the difference.
gauravk92··on CSS px is an Angular Measurement
I was at the same time telling myself that we really need to start using em more often. I have used px so many times at this point because it's more convenient for precise aligning. This is actually going to be a problem considering retina display macbooks might be coming soon.
gauravk92··on CSS px is an Angular Measurement
So basically use em, like we should have all along?
gauravk92··on Khan Academy iPad app launched
For the record I got really excited Sal might use hacker news, not sure why, but he's actually a true boss.
gauravk92··on Khan Academy iPad app launched
Thanks, checked the profile right after replying, how stupid!
gauravk92··on Khan Academy iPad app launched
Sal? Or Khan Rep? I'm just about to dive into the app but I want to know up front whether you guys have taken the online practice system and remade it for the iPad . Apple showed off stupid iBooks interactivity, like sliding to help yourself learn the stages of mitosis..., they don't get it. But if someone is leading the way, it's khan academy.
← PreviousPage 2 of 3Next →