HNHacker News
TopNewBestAskShowJobs

darshan

911 karma · joined June 12, 2009

I do computery things as Darshan Computing, LLC:

http://github.com/darshan-

http://stackoverflow.com/users/1427098/darshan-computing

submissionscomments
darshan··on 15-minute writing exercise closes the gender gap in university-level physics
I did find it quite interesting that the men seemed to do worse with the values exercise than without it, and strange that the article didn't discuss this aspect. The idea I had was that if the men are subject to the same stereotype (that they are inherently better than women at physics), and then they find themselves in a class where the women are doing just as well as them, that they would lose some confidence. Since they only did slightly worse, I think this is perhaps a reasonable explanation.

If so, then I think it is ethical, because all you're doing is challenging an incorrect stereotype that was unfairly giving men a slight boost and women a significant handicap.

darshan··on 7M Downloads: Why Angry Birds Is Free on Android
Weird; I had the opposite experience when I played it for a few minutes on my friend's iPhone 4. The graphics were strangely inferior on the iPhone compared to my Nexus One. This surprised me, because I thought it was mostly an iPhone game and that Rovio viewed Android as just a secondary market.

Is your Android device not quite top of the line? I read recently that Rovio felt that they'd aimed a bit high with their required specs, and that they would focus on increasing performance on mid-range devices in the near future.

darshan··on 7M Downloads: Why Angry Birds Is Free on Android
That's relatively new, but I was glad when they changed it. To be clear, it's not "outside the US", that's Canada -- the point is that prices are now listed in local currency, including in the US.

Back to the point: while I'm pretty comfortable with translating Canadian dollars, British Pounds, or Euros to US dollars, that's about as much as I can do in my head. I'm much happier seeing ~US$1.17 than ¥99, and I'm much more likely to buy the app.

So while I can see your point, I think it was definitely a change for the better, and it probably resulted in increased sales.

darshan··on 7M Downloads: Why Angry Birds Is Free on Android
1) You don't have to set up Google Checkout on your phone, you can do it from any computer with a browser and web access. (Your phone is already associated with your Google account, so once your Google account has Google Checkout details set up, you're good to go.)

2) Carrier billing was enabled for T-Mobile several months ago. My understanding is that it will be coming to other carriers as well.

darshan··on Buddhism and Happiness: Sitting Quietly, Doing Something
If meditation is making you cranky and uncomfortable, I'd say you haven't yet found the right form of meditation for you. There are a huge number of different practices out there, and most of them strike me as self-violent and painful. Of course, they probably work well for some people; to each her own.

Personally, I've always been drawn to practices that emphasize simplicity, ease, gentleness, and acceptance in the cultivation of awareness. If I need to pee, I get up and pee; if I need to adjust my position, I adjust my position. I don't force my mind, I do the opposite: I let go of my mind and instead watch it. Thoughts come and thoughts go, and a surprising number of them are pretty funny when I'm not caught up in them.

It's truly easy because you can't do it wrong: the goal isn't to have no thoughts, be perfectly present, or have super-concentration. You will have thoughts (lots of them at first), you will have moments when you're present and moments when you're not, you will have pretty crappy concentration at first. Over time, you develop a very easy, effortless form of concentration that doesn't involve forcing anything. Concentration isn't the goal, just a pleasant byproduct.

The benefits? I feel much more centered and present, more relaxed, my mind is sharper. My mood tends to be better. To be sure, there are times when I'm cranky when I start and cranky when I finish -- we don't get to use it to force our experience to change. But by practicing being gently present, practicing accepting "this is what my experience is right now," I seem to have more pleasant moods and fewer, briefer unpleasant moods.

darshan··on Ask HN: What do you drink?
1) Buy green coffee from http://www.sweetmarias.com/

2) Roast it in a Hearthware i-Roast 2* .

3) Pull a ristretto [1] shot from a Rancilio Silvia* .

4) Enjoy!

I highly recommend home-roasting. It's fun to geek out about it and completely control the process, experiment with different roast levels and curves, etc. You get the freshest coffee in the world. If you drink coffee with any regularity, the roaster pays for itself quickly and then you're saving money on coffee [2].

* Of course other equipment can be used; I mention what I use because after a lot of research, I found these items to be the best bang-for-your-buck for beginners, and I'm quite happy with them after several years.

[1] http://en.wikipedia.org/wiki/Ristretto

[2] Assuming you like roasting, or at least don't mind it much. I think it's really fun, so it's a double win.

darshan··on Google AppEngine or Heroku?
Until the loading request (spinning up a JVM) performance issues get sorted out, I can't see any serious site running Ruby on App Engine. It's actually an awesome platform, except for one detail -- which is enormous: waiting 15+ seconds for a JVM to start up and respond to a request when either 1) your site hasn't been visited it the past 5 minutes or so, or 2) your current number of JVMs aren't sufficient, so another is needed. You're pretty much guaranteed to run into one of these scenarios regularly -- the first if your site is low-traffic and the second if your site is relatively high-traffic. Either way, users don't stick around and wait 15 seconds for a page to load.

Other than that, I like the App Engine architecture much better than Heroku's, although there's a lot to like at Heroku as well.

The good news for app engine is that Google has announced planned support for this (1) feature in their roadmap (2). Allowing us to pay to reserve an extra JVM at all times would eliminate the issue.

(1) http://code.google.com/p/googleappengine/issues/detail?id=24... (2) http://code.google.com/appengine/docs/roadmap.html

darshan··on 65,000 Android Phones Shipped Daily
It depends on how what your goals are and how much time you put into it.

In November, I was feeling annoyed that there was no easy way to see exactly what charge my phone's battery was at (at least none that were acceptable to me). I'd been curious about Android development, so I decided to "scratch my own itch". I spent 4 or 5 hours building a little app that would display my exact percentage in the tray at the top. Most of the time was spent tweaking the icon -- I'm not a graphic designer, but I eventually came up with something that looked good enough.

I decided it would be worth the $25 fee to get a developer account and share it with the world. Programming is just a little hobby of mine, so while I've been using and loving open-source software for over a decade, I've contributed very little back to the community. So I figured if one or two people a day downloaded this little utility, I could feel good about myself. I put it online and went to bed. Eight hours later, over 700 people had downloaded it.

Over the next couple of weeks, I got a lot of feature requests that I personally had no use for, and I'm a busy student, so I didn't think I had much time or energy to add a bunch of features I didn't need myself. But then my friend suggested I make a paid version of the app with the extra features. I thought that was a neat idea -- I figured that if I averaged one purchase a day, I could make $20 a month (Google takes 30%), which to me is a lot of money at this point in my life.

It didn't take long before I was averaging 15 downloads a day. It stayed there for a while, until about month and a half ago, with no explanation I'm aware of, it jumped to averaging 50/day.

I carefully and courteously respond to an average of 2-3 emails a day, and I release updates when I can find the time. But that's still not very much time put into this, and I'm making almost as much money as when I used to work full time. (I don't have a college degree and worked in retail.) The free version averages 1000 downloads a day.

darshan··on Android 2.2 (Froyo) features
The HTC Desire does, but it already works there. Most people are speculating that this is one of the "secrets" Google claims is still hiding away in the Nexus One, given that the Desire and the N1 are basically the same inside, and their Broadcom chipset's specs include FM receiver/transmitter.
darshan··on Android 2.2 (Froyo) features
You already can, although it's not per application, it's all-or-nothing. The setting is located at Market->Downloads->Menu->Notifications (at least on T-Mobile's brand of Android 1.6 -- I think it was in a slightly different place on 1.5, but it was there somewhere.)
darshan··on JavaScript Things I Wish I Knew Much Earlier In My Career
Just an FYI, in case it wasn't a typo: you mean whet, not wet.
darshan··on How to nap: Power napping without sleeping
Perhaps -- but your list of benefits matches a list of typical benefits of meditation as well. And falling asleep while meditating isn't terribly uncommon, especially when you're tired. When I first started meditating, it was a lot more than 1 out of 5 times for me.

I'm willing to overlook that every dictionary I've checked includes sleep as an essential part of what defines napping, since they all suck at defining meditation. To my mind, if we take successfully falling asleep out of the definition, a nap would still mean lying down, closing your eyes, and not engaging in a specific mental practice, but rather letting the sense of sleepiness overcome you. You might fall asleep, or you might just lie there, consumed in sleepiness for 20 minutes.

As soon as you start an exercise to control what your mind/attention does or does not do, however, you're getting into meditation territory: directing your attention to specific parts of your body and willing them to relax, directing your mind to relaxing thoughts, directing your mind away from distressing thoughts, and trying to culture a state where your mind drifts freely all qualify as meditation techniques to me.

I think intentions also matter. If you goal is to fall asleep for a while, then you probably napped, even if you didn't manage to fall asleep. If your goal is to let your mind and body relax and refresh, without preference to whether sleep happens or not, then that's meditation to me.

darshan··on How to nap: Power napping without sleeping
I teach meditation, and in my opinion, what you're doing is definitely a form of meditation. You have an intentional practice of relaxation that doesn't involve falling asleep. That's meditation.

Specifically, paragraphs like this can be found in hundreds of books on meditation:

The best way I can describe the feeling of napping is that you lie down or sit somewhere, and first focus on relaxing. Relax your muscle groups one by one, from your neck all the way down to your toes. Take a good minute or two to do this properly. Then finally you relax your thoughts. Let them drift off. It’s important to gently nudge those thoughts towards more relaxing topics – you won’t nap very well if you’re rehearsing a conversation with the boss – but at the same time, they need to largely drift on their own. Keep your eyes closed, your body relaxed, and let your thoughts meander from subject to subject without much order.

darshan··on Perelman declines 1M prize: "I have everything I want"
The whole article read like it was straight out of The Onion (a parody newspaper). The caption under the photo had me cracking up: A rare photo of bearded and reclusive genius Dr Grigory Perelman.
darshan··on Google Maps: Which Highway is Which?
This isn't really a problem, though. All you have to do is zoom in, and the ambiguity resolves itself.

The post (not exactly an "article") comes off as a silly complaint that Google Maps isn't completely perfect, without seeming to understand that something as complex as this can't be perfect. There are always going to be trade-offs, and the label locations Google Map's algorithm chose seem perfectly reasonable to me for the zoom-levels displayed.

darshan··on Photos of Bird Stomachs
From the article: "[The parents] soar out over the vast polluted ocean collecting what looks to them like food to bring back to their young."

In other words, the albatross fly over the water, and when they see small, colored things floating near the surface, they assume they're small fish or other edible things. Up until quite recently (on the scale of albatross evolution), this was a pretty safe assumption.

So, no, low intelligence and/or desperation aren't implicated; rather, it's a matter of habitat and how prey are identified.

darshan··on Linux Torvalds named most influential open source voice
With that "should end in X" idea in mind, Linus chose to name it Freax (because it was a /free/ UNIX).

When he uploaded a very early version to an FTP server at Helsinki, his friend, who administered the server, changed the directory name from "freax" to "linux", thinking the latter was a much better name. Linus at first thought it would be too egotistical to name it that, but he let the name stick. I'm glad he did.

darshan··on Small Basic: Programming Is Fun
http://en.wikipedia.org/wiki/Hackety_Hack
darshan··on The Black Damsel In Dating Distress: A Response to OkCupid's Conclusions
Coates is pointing out that there are good reasons to suspect strong sample bias. OkCupid didn't address this -- they just assumed an unbiased sample. I find Coates' argument far more compelling than OkCupid's blind assumption.

Blacks do look seriously underrepresented based on the response rates to the two questions. (Suggesting that blacks account for around 4% of OkCupid's users.) That's hardly proof of anything, but it does offer some credence to Coates' argument.

In the real world, it's often very hard to find compelling data, so we sometimes have to rely on compelling argument.

darshan··on Free second generation Android phones for qualifying developers
You mean reek rather than wreak.

(I apologize if this was just a typo -- I'm not trying to nitpick, but to inform.)

darshan··on Free second generation Android phones for qualifying developers
I think a lot of us are still on first generation Android devices. I use the emulator to make sure everything runs smoothly at higher resolutions and on newer releases of Android, but such details simply don't get as much attention since I don't interact with them day-to-day. I'm sure that when my Nexus or Droid comes, I'll focus more on those little details.

So this is a way of ensuring that the most popular apps work beautifully on the flagship phones, as well as creating some positive publicity and developer goodwill.

And of course, I'm delighted. I thought I had another 18 months to wait before I would get a better phone.

darshan··on Weight Lifting for Hackers
Indeed -- it's called eccentric contraction, and the reason you do it is that it works the same muscles in a different way. Exercise routines that combine eccentric and concentric contractions (where the muscle shortens as it contracts) are probably more effective at increasing strength than ones that focus only on concentric contractions.

This is a really big error, and I don't see how it could be a typo. Agonist ("doer") and antagonist (opposing) muscles contract simultaneously when stabilizing a joint, but when lifting weights, the antagonists of the primary action (triceps and to some extent anconeus for curls) are relaxed both during concentric and eccentric contraction of the agonists (biceps, brachialis, and to some extent brachioradialis and a few other muscles of the forearm for curls). That is to say, the author's claim is absolutely wrong.

http://en.wikipedia.org/wiki/Muscle_contraction#Eccentric_co...

darshan··on Taste test: Wal-Mart vs. Whole Foods produce
That's weird. Bananas are one of the few foods I buy organic -- specifically because they're bigger and tastier than the non-organic ones.

My guess is that the fact that the organic bananas you have access to are small and mealy has nothing to do with them being organic. Your store must just get their organic and non-organic bananas from totally different places, and the organic ones just happen to suck.

darshan··on An Adobe Flash developer on why the iPad can’t use Flash
There aren't a lot of details, but Adobe sounds confident that they've made Flash pretty usable for touchscreen Android devices.

From the second video here: http://androidandme.com/2010/02/news/adobe-teases-us-with-fl...

"From a developer perspective, there's nothing that I needed to do to ensure that my game is functioning on this [touchscreen] tablet device. It operates the same as it does on the desktop or on this tablet device. Obviously the inputs are mapped, and that's taken care of automatically by Flash player. So Flash Player is able to bring hundreds and thousands of casual games that [are] online from day one." (Emphasis mine.)

darshan··on On the Morality of Global Warming Criticism
The opening line of the article: Paul Krugman, a columnist for the New York Times and winner of a prestigious banking prize (usually mistakenly called a “Nobel”)...

What the hell? He absolutely did win a Nobel Prize (technically, the "Nobel Memorial Prize in Economic Sciences").

http://nobelprize.org/nobel_prizes/economics/laureates/2008/

darshan··on The App Store: Quality control without the quality
Google doesn't allow porno apps in the Market

Yes, that's the point. DHH isn't recommending removing all rules; he's recommending eliminating the approval process to get apps/updates into the Store. Apple would still, of course, have the ability to remove apps that violated the TOS.

The Android Market is run in just this manner, and it isn't overrun with pornography. So having rules and enforcing them but not having to pre-approve every release seems to work.

Gratuitous updates are a problem on Android.

While there do appear to be some developers pushing fake updates, I'm not sure that exactly constitutes a problem. If it ever gets out of hand, there are a lot of ways this could be managed that don't involve pre-approval.

darshan··on The App Store: Quality control without the quality
I don't see how you can be anything but completely wrong on this. Why have none of your predictions come true for the Android Market?

(Yes, it's quite a bit smaller than Apple's App Store, but it's still plenty big enough that if you were on track, we'd see evidence there.)

darshan··on HTML5 Canvas based fast painting app
He's a friend of mine; I can forward him your contact info if you wish. It would also be useful to have some idea what you want to contact him about.
darshan··on CopperLicht - fast WebGL JavaScript 3D Engine
It worked for me with chromium-bin-5.0.308.0_p37385 on 64-bit Gentoo.

The one thing I had to do (besides launching it as 'chromium-bin --no-sandbox --enable-webgl', as you mentioned) was to create a symbolic link from /usr/lib/libGL.so to /usr/lib/libGL.so.1 .

darshan··on _why the lucky stiff on The Setup
That doesn't help much, as the web server just serves the root document in that case.
← PreviousPage 3 of 4Next →