HNHacker News
TopNewBestAskShowJobs

psranga

561 karma · joined February 20, 2007

submissionscomments
psranga··on C++ in Coders at Work
There are parts of all languages that I find confusing, but I'm a little puzzled by the general criticism of C++ (e.g., the __getitem__ feature of Python seems to be similar in spirit to operator overloading. Do people criticize Python too?).

IMHO, C++ is an amazing extension to C which managed to increase productivity for those tasks for which C would have been the right choice (modulo non-standard compilers).

If I were writing a performance-critical system-level program today, using C++ would be no brainer. You can fake a lot of what C++ offers with macros and function pointers in C, but lose type-safety and/or performance. I am very thankful to all the people who have brought C++ to the state it is in today.

psranga··on C++ in Coders at Work
The comment was probably referring to things like "copying stuff is expensive" or "function calls are expensive", not more specific details of the machine you run on. In C++ you use pointers/references to solve the first problem, and define header-only classes for the latter. Even if you weren't aware, basic use of the the standard library will clue you in.
psranga··on Ooc - modern object oriented c
Keep the name. I wasn't confused. Looks sweet.
psranga··on Kiln - Version Control and Code Review Software
Hosted source control for closed-source projects? I am intrigued by this idea. I would have thought this would be a small market.
psranga··on Poll: What do you think of OpenID?
Was skeptical of OpenID. Tried it for the first time yesterday to log into to answers.onstartups.com.

I'm a believer.

I used MyOpenID instead of google/yahoo etc since after reading the article about the power of google passwd that was posted here, since I expect MyOpenID to be primarily for trivial logins.

psranga··on How many Mexicans does it take to drill an oil well?
Credit card companies charge 1-2% of revenues. VC and hedge funds also charge management fees in that ballpark. I would say 1-2% of profits after deducting all operating and capital expenses is a good royalty figure.

In most countries, all mineral rights lie with the govt (I agree with this principle, btw). In the US, most mineral rights belong to the lucky owner of the land.

AFAIK in the Exxon case, the state of Alabama owned the land whose mineral had been leased to Exxon. It was proved that Exxon was systematically underpaying the state for agreed-upon royalties.

psranga··on How many Mexicans does it take to drill an oil well?
About 10 years ago, I would given some credence to such articles with simplistic solutions (privatize and fire workers) to complex problems. Now I recognize it as a potentially slanted article.

In particular foreign private oil companies have a long history of not paying adequate royalties to the countries they operate in (which is the reason they get nationalized after popular revolts). Even the US govt sued Exxon in Alabama for systematically underpaying royalties (they lost, but whatever).

I remember a memorable article circa 2002 which said China was on the brink of collapse due to bad loans held by it's state owned banks (yeah, right). Another one chided China for not given a majority of board seats in partially-privatized banks to foreign investors with small shareholdings.

psranga··on Working for startups sucks, you'll be happier working for The Man
I'm curious how they managed to dilute only the employees that left without harming everybody else. Can you please elaborate?
psranga··on Newegg’s IPO reveals the numbers behind A $2B Electronics Retailer
Good point.

In case it wasn't clear, my premium-ish parts (e.g., 80plus power supply) were cheaper than Dell's low-end-ish parts.

psranga··on Newegg’s IPO reveals the numbers behind A $2B Electronics Retailer
I was visiting folks in Washington by car for a holiday and I happened to be thinking about buying a comp at the same time. As a micro-optimization, I had Newegg ship the parts to WA and transported them back myself to CA. :)

Btw, I was surprised to find that even with premium parts, assembling a desktop yourself is cheaper unless you want the exact configs Dell etc sell.

I'm rooting for Newegg to succeed. I guess it's the Zappos for nerds. :)

psranga··on Self-employed are frozen out of mortgages
No, he didn't. "Brandon Frazier, 32, a public relations consultant, was aware of that when he borrowed $18,000 to cover expenses from buying a house in Southeast near RFK Stadium last year." The photo caption is misleading.
psranga··on Google Steps Where Many Have Stumbled: Sidewiki
Many sites already provide (1) a HUGE number of "share" buttons to post to facebook, reddit etc, and (2) the ability to comment and have it appear below the article.

If you want to comment to your immediate circle use option (1). To comment to the whole world use (2).

I don't understand the motivation behind this app. Remember Third Voice came before (1) and (2) were popular.

Google needs it's content partners for Adsense, and I'm not sure how they're going to feel about random annotations on their content.

psranga··on Facts About Entrepreneurs That Will Likely Surprise You
I replied elsewhere also: the list of industries surveyed (page 10) all seem to be high-tech.
psranga··on Facts About Entrepreneurs That Will Likely Surprise You
Paul, the article has a list of industries they surveyed (page 10). Plumbing and gas stations don't figure. They all seem to be high tech.
psranga··on Zappos responds to Andrew Wilkinson's "You're Killing Me Zappos" letter
To the Andrew: I didn't know at first I could click on the img and see a full-size page. I was wondering what I was supposed to infer from looking at a "head shot".

I like the original. He removed the shortcuts to "what's new", top sellers etc. That does not seem like an improvement. I've not shopped at Zappos but I use similar links on Newegg all the time.

Just adding gradients and whitespace is not enough to improve a site. :)

psranga··on Windows 7 is reduced to rainbows and unicorns
Where was this guy when Apple used Gandhi, MLK etc?

And he uses the most tired argument of all: "think of the children!".

Sorry, I am not persuaded.

psranga··on Fossils From Animals And Plants Are Not Necessary For Oil and Gas
I know this doesn't directly address your question. But large liquid ethane pools have been discovered on Titan. Dinosaurs certainly didn't live there; where do you suppose the carbon came from (it comes from the fusion of dying stars).
psranga··on Fossils From Animals And Plants Are Not Necessary For Oil and Gas
The most informative series I have read on the abiotic origins of oil and gas: http://www.google.com/search?q=abiotic+oil+site%3Adavesweb.c...
psranga··on Ingo Molnar: BFS vs. mainline scheduler benchmarks and measurements
I would LOVE to use a scheduler tuned for my hardware if outperformed the generic scheduler. I'm not a kernel developer, but I can imagine how the mainstream single-socket multicore case may be quite different from the multi-socket multicore case.

As I software engineer, I realize that making different schedulers for different architectures is "inefficient" (unless development/test resources are increased). But if somebody is willing to put in the time and effort to make me a scheduler that works best on my hardware, I'll gladly take it.

I have to agree with Con's remarks here. Seems like an underhanded move by Ingo to give this thing a bad reputation (and hence kill developer and beta tester interest) before it comes out. And judging by the comments here, he may have succeeded. Looks like open source has lots of politics too. :)

psranga··on Want an Unpaid Internship So You Can Get Valuable Experience ? – Screw You
Hmm, one is an equal partnership, the other isn't.

The unpaid internship law serves to give some protections to the little guy.

Btw, I really don't understand why a billionaire (?) can't afford to pay hourly minimum wages to a bunch of kids.

psranga··on Petabytes on a budget: How to build cheap cloud storage
Great stuff. Would anybody care to clarify why access is through HTTPS and not HTTP?

I presume all accesses to these pods are from within their data center? Or do they directly expose these boxes to clients (whoa!)?

psranga··on Asserting Your Social Status With Your Facebook Status
Hmm, why do you this is showing off? Maybe her friends are interested in casually following her along on her travels?
psranga··on Gmail may hand over IP addresses of journalists
The important point that Wikileaks is making is that Google has created infrastructure to keep detailed and long-lasting records of their users, but are severely constrained by California laws. Something worth considering by all of us who use "cloud services".

Btw, I think Wikileaks accurately reported on Google's actions. YMMV.

psranga··on Why C++ is not my favourite language
Note the comparison is to C, not C++. The runtime improvement came from aggressive inlining.

I'm pretty sure that C++ code (which allows templates, function objects etc) can be written to do the same.

Of course, then we'll get into discussions about whether the C++ code is "idiomatic", requires "wizardry" etc.

The biggest win I see for JIT'd dynamic languages is their ability to optimize across source files. I wish C++ had the capacity to slurp in ALL of a project's C/C++ files and compile it one pass.

In these days of 16G developer desktops, is this an unreasonable demand? :)

psranga··on Why C++ is not my favourite language
From my perspective, most of the stuff about C++ complexity rings untrue. Most people I know seem to know enough about C++ that they can produce pretty good code.

Yes, there's a lot of depth to C++ but you derive a lot of benefit from other's wizardry even if you're not a magician yourself.

Maybe this guy didn't invest as much time on C++ as he did on his other languages.

psranga··on Why C++ is not my favourite language
Ousterhout of Tcl fame has a very nice (and surprisingly old) paper about this. http://www.tcl.tk/doc/scripting.html
psranga··on AWS Multi-Factor Authentication
These keyfobs number generators are actually pretty interesting devices. The basic principle is that they generate a pseudorandom sequence of numbers. The starting seed of each device is different, and each device's seed is known to the authenticating server. Given the initial seed and the current time, the server can predict what is the number that the token will show.

Due to the properties of the pseudorandom algo, it is impossible to guess the seed by observing a token's digits.

And these sealed tokens self-destruct if tampered with. No, you can't change the batteries. :)

psranga··on It's official: NASA is a jobs program.
I don't know about you. But I'm 100% satisfied with the US/State govt services I've interacted with (IRS, USCIS, DMV, Social Security, USPS, BART).

My most horrifying experiences were with the private sector (1) to clear up identity theft that happened to me, (2) admitted inaccurate billing by a dentist.

psranga··on Zed Shaw on SF vs NYC
Almost everything I read about NYC seems to reinforce my prejudices against it. :)
psranga··on The brutal truth about America’s healthcare
You did not mention what your father's out of pocket expenses were. In the Canada example, out of pocket was $0.
← PreviousPage 5 of 8Next →