HNHacker News
TopNewBestAskShowJobs

psranga

561 karma · joined February 20, 2007

submissionscomments
psranga··on Peg/leg - recursive-descent parser generators for C
Excellent link. Thanks!
psranga··on Undo Send in Gmail
Probably not. They say that if your browser crashes or you close the browser immediately after hitting send, the email still gets sent.
psranga··on Undo Send in Gmail
Lots of people have pointed out several possible improvements to this feature. Now if we could anticipate these things with a few minutes of contemplation (each), I'm sure Google would have come up with the same list of gripes.

But obviously, they did some tradeoff analysis and decided to do what they did.

Now, from a technical standpoint, the fact that they implemented this feature in the present way results in some information of their internal infrastructure and engineering organization to leak through.

The 5 second, non-configurable timeout should allow us to speculate a little bit on what Gmail's architecture is.

The only reason I can think of is that maybe the undo operation results in a scan over all queued email for all users. This is obviously an expensive operation, so maybe they cannot easily increase this delay with their current architecture. They'll have to add per-user queues on their servers. Maybe that's too big an engineering project at present.

What do you think?

Microsoft Outlook has had a sophisticated version of this for a long time. I know a guy who had set up Outlook to send all his email 30 min after he hit send. You can even schedule a message for sending at an arbitrary time (i.e., per-message level granularity of send delay).

For instance, the Microsoft Outlook implementation of this feature essentially implies that each client can queue up emails for later delivery on the server and later interrogate this queue in a sophisticated way (i.e., it's not fire and forget).

psranga··on Poll of Facebook Users Finds 94% Hate Redesign
For what it's worth, I like the new layout.

In particular, I like that I can just type whatever I want as a status message instead of Facebook deciding that my message should be 'XYZ is <fill in>".

psranga··on Are short methods actually worse?
Forcing yourself to write short methods forces you to design your solution cleanly. I wasn't a fan of short methods, until I observed a master programmer's (who was also a co-worker) work for a while. After I adopted this style, I've found my own code improving. Ymmv.
psranga··on Your take on Twitter...Fad or the Future?
Long term trend. Status update is the #1 feature I/my network use on Facebook. I use things like "Notes" only because there's a char limit in status update.

And I use Facebook instead of Twitter only because most of my network uses FB and not twitter.

I'm unsure if Twitter itself will make it big, but twitter-style updates are going to be big.

psranga··on Ask HN: CTO vs. VP of Engineering
You're being marginalized. But I'm not sure if you're capable of being VPE but are being passed over because the CEO wants to bring in a buddy or because you are genuinely extremely unsuited for the job.

If you don't want to be marginalized, fight to get the VPE position. If you're going to get fired or further marginalized for fighting, you might as well learn now so that you'll win next time. If you get VPE, learn the skills required to be a great VPE and prove him wrong. Ask point blank for the position and find out why the CEO thinks you're unsuitable for VPE.

For some reason suits think management is not learnable/teachable. You sound smart; it's quite possible you'll be able to learn the required skills.

IMHO, people who think management is about "people skills" and "politics" are the clueless ones. Read up "High Output Management" by Andy Grove, a hard-core geek if ever there was one. He turned out to be an amazing manager too. Bill Gates, even harder-core nerd also turned out be an amazing manager.

To my mind, management is more similar to programming than to party planning (where people skills are really required). The manager's job is to set up systems and processes which will result in maximum output. To do this, you need to be analytical, quantitative, data-driven, open to being proven wrong etc. Do you see how you've been practicing all of these skills as a techie? Do the same for a proper manager's job skills and you'll see the overlap.

As an aside, I think all managers should have some individual responsibility also. Otherwise they will be tempted to create problems that can be 'solved' to justify their existence.

Re: "politics is not your strong suit" comments: you're expect things to work rationally but they seem to be irrational. Being techie who's always open to the possibility that you might be wrong, you're getting a second opinion to check your conclusions. Nothing wrong with that; that's a strength.

psranga··on Git is the next Unix
Git is great and it blew and expanded my mind.

But I have some questions for the the experts. Is git really a fantastic achievement, or is the praise for git coming from people who are not experts in source control (+)?

Based on my cursory readings, it appears that the concepts Git uses (dag, everything is a node, tree snapshotting etc) existed in Bitkeeper.

(+): I ask this because I've repeatedly found that what looks like a big conceptual leap to outsiders is actually a gradual evolution. Examples: I first thought RISC was a big leap, but on reading up the technical papers later, I realized that it was made of lots of innovations by lots of people.

psranga··on Implementing SCRUM - story of a Seedcamp winner
What I meant is that the SCRUM inventors are telling you in great detail how to run the technical side of a software business. Not that it's telling the developer how to implement something.
psranga··on Implementing SCRUM - story of a Seedcamp winner
"You separate the business from the development. You need a product guy, interested in features that will move the product fwd. He is called the product owner. He keeps a file (an excel works best) - a product backlog - with all the features, called user stories. They are organized by priority. The development team is run by a project manager. His role is to move the top priority user stories from product backlog to the sprint backlog and break them in atomic tasks that are distributed to your developers."

"break them into atomic tasks": I didn't think this sort of hyper-specialization would work in a fast-paced environment. It seems to treat developers as just English-to-C++ translators.

My experience has been that specifying in great detail HOW to do things (as SCRUM does for s/w development) doesn't work as well as specifying WHAT to do and letting people figure out how to do it, but holding them accountable for results. The latter style will naturally result in the evolution of automated systems such as regressions, quantitative user feedback, beta progam etc to ensure that the work got done and quality is maintained.

One should have some structure and avoid reinventing the wheel, but I'm skeptical of detailed recipes like this.

psranga··on Why functional programming doesn't catch on
Interesting. Thanks for the link to your report.
psranga··on Why Do Enterprise Applications Suck?
I was just going to say, "enterprise software sucks because the people who approve its purchase dont use them". This is a great elaboration of that point.
psranga··on Why functional programming doesn't catch on
I've tried to learn FP a few times, but I never understood the advantages. Most recently, I opened up Armstrong's Erlang book.

The power of Erlang seems to be due to the fact that processes and crashes are part of the language, and the language makes it fast and simple to create processes and handle crashes. This (esp the process part) can be implemented in a non-functional language.

It wasn't obvious to me why the functional nature of Erlang gave it any power.

It seems to me that things like the Erlang book example where they provide reliability to any arbitrary app can be implemented in C++ using a base class + virtual methods.

I would appreciate any "killer articles" which will make me "get it".

psranga··on Business lessons from India's dabbawalas (99.9999% accuracy)
Article sounds condescending.

Did the "management gurus" compare that alleged accuracy to FedEx's and USPS's? A person who you know takes a low-value article and coordinates with approx 10 others to deliver it within a few miles by sheparding it on a commuter train. Wow, brilliant! Compare this to Fedex and USPS where hundreds of random strangers cooperate to safely deliver very high value goods through bureaucratic hurdles like customs across countries reliably. Or the systems the USPS has to prevent theft of high-value articles like DVDs, million+ of which are mailed every day.

← PreviousPage 8 of 8