HNHacker News
TopNewBestAskShowJobs

rohansingh

1,471 karma · joined January 15, 2012

@rohansingh

[ my public key: https://keybase.io/rohansingh; my proof: https://keybase.io/rohansingh/sigs/FYqfP0wJErPun-vsVRQ2fAEqahFzGh-6AGFTFN5MRYE ]

submissionscomments
rohansingh··on Swearing at work - a guide
Interestingly, what makes me cringe much more than any profanity is the use of gratuitous verbiage such as "such individuals". Why not just have said, "they"?
rohansingh··on Professor tells 1700 students to edit Wikipedia, 85% plagiarism rate
As far as I'm aware, no. As far as I know, while IP's are logged, users with the "checkuser" privilege need to manually search and interpret the logs during each investigation.
rohansingh··on Professor tells 1700 students to edit Wikipedia, 85% plagiarism rate
Actually, no. When Stephen Colbert asks his viewers to edit some article, it's fairly simple to lock that single article. Any collateral vandalism is easily reverted.

The problem here is much more insidious: hundreds of articles are being edited. Furthermore, though the edits are of low quality and often plagiarized, they are not so obviously vandalism that bots or editors can instantly revert them.

rohansingh··on FireMe - Who wants to get fired?
True. I considered this in my original comment. I think the reality is that anyone who is on HN or who is likely to stumble across that site almost certainly knows this though.
rohansingh··on Hello World
Also, gray text on white background. Can't read it!
rohansingh··on FireMe - Who wants to get fired?
I really don't get the point. Sure, these tweets are ostensibly public to start with. We all know that. So why this passive-aggressive approach to things, with a quote at the bottom saying, "So don't blame me, instead get responsible"?

Perhaps whoever posted these tweets doesn't care? Maybe they've already done the math on the chance of discovery? Maybe they are posting anonymously?

This isn't even the first time we've seen a compilation like this, so it's not like it's novel or anything. Seriously, what's the point?

rohansingh··on WebRTC DataChannels just hit Chrome stable
While it's not BitTorrent, I have a simple file sharing implementation and slides about data channels here: http://rohanradio.com/rtc-p2p
rohansingh··on USPS Discrimination Against Atheism?
No. Perhaps it's a smart professional and business decision to keep certain opinions to myself, but that doesn't mean that everyone has to.

And it sure as hell doesn't mean that packages that say "ATHEIST" on them should be "lost" or "delayed" by the USPS.

These guys manufacture fashion items that makes a statement. Clothing was recognized as a valid forum for freedom of expression by the US Supreme Court in Tinker v. Des Moines, all the way back in 1969.

Or do you think that everyone who makes religious jewelry or political t-shirts should also just close up shop?

rohansingh··on Sweden axes new word after Google intervenes
> It might be that the American trademark law covers what goes in a dictionary but Swedish trademark law does not

[citation needed]

rohansingh··on Sweden axes new word after Google intervenes
Nope, it's definitely trademark law. Here's Merriam-Webster's definition:

  to use the Google search engine to obtain information about (as a person)
  on the World Wide Web
The reason Google is alright with this is because it specifies that "to Google" is to use Google. That prevents the trademark from being diluted.

Similarly, Google wanted the council to declare ogooglebar as being unable to be found on Google, rather than just being unable to be found using any generic search engine.

This is a very important distinction. I imagine that if Merriam-Webster tried to define "to Google" as to use any generic search engine, Google would have lodged a similar complaint.

rohansingh··on How a UK company handled an offensive private joke
Yes, I found it completely ridiculous and offensive.

That said, I think the company acted quite well in this situation — giving the aggrieved some choices and facilitating a private meeting between all parties.

rohansingh··on EBay is about to increase its seller fees to 10%
Any plans for an Android implementation?
rohansingh··on Voyager 1 has left the solar system
Yes, it would. The heliosphere is not spherical, but the solar wind exists in all directions. The orbital plane is due to conservation of angular momentum, a completely different phenomenon.
rohansingh··on Chart.js is back online
I am able to print all the charts that appear on the home page there with Chrome. At least I can print to PDF, though I don't see why printing to paper wouldn't work just as easily.
rohansingh··on Bill Gates: Capitalism means male baldness gets more funding than malaria
> As far as malaria is concerned, DDT turns out to be real effective at killing mosquitoes, the major problem in the developing world of LOTS of infectious diseases. But those of us in the developed world got more concerned with the eagles and stuff and essentially go out of our way to keep DDT from being used even though it's use in the developing world would literally save tens of thousands of human lives.

Mosquitos have developed DDT resistance: http://en.wikipedia.org/wiki/DDT#Mosquito_resistance

In many impoverished areas it is largely ineffective as a mosquito pesticide now. If we'd use it more liberally, it's possible that resistance would have developed more quickly due to the increased selection pressure. DDT is not a silver bullet.

rohansingh··on Show HN: an app I built to help you find great beer
They stopped doing that. It's fully native now.
rohansingh··on Show HN: CropUp, Sell your _______ on _______
For the box that shows a random service, I'd recommend just making it sequential. When it randomly comes back to a service I've seen before, I assume that I've seen all the services.

For example, I got: YouTube, Tumblr, YouTube, YouTube, Twitter

rohansingh··on Why Visual Basic is (supposedly) better than C#
> It does. I'm pretty sure VB's "And" and "Or" don't short-circuit…

Interesting, didn't know that. However, I got the feeling that he wasn't talking about how the operators work so much as what they are named.

rohansingh··on A radical new way to monetize mobile applications
"The deveoper portal" -> "The developer portal"

Also I would recommend including details on how the payment part of this actually works.

rohansingh··on Why Visual Basic is (supposedly) better than C#
You're right, I was a bit short in some cases. But really, it is aggravating to have to explain why PMT() should not be a builtin in the global namespace.
rohansingh··on Why Visual Basic is (supposedly) better than C#
Sorry. Early morning over here. I guess I suffered a reading comprehension failure.
rohansingh··on Why Visual Basic is (supposedly) better than C#
Sigh. I'll actually do the job of debunking these one by one.

1. Almost every mainstream language has case-sensitivity. This avoids ambiguity by having only one right way to express a given variable. Since Visual Studio has excellent autocomplete, you don't have to repeatedly use SHIFT, and you are unlikely to accidentally mistype the variable name.

Of course, when I see an argument like, "When you accidentally leave Caps lock on, it really matters," I have trouble taking the author seriously.

2. The reason switch is different from if-else is something you can learn from any language primer. The author makes the following argument: "It’s easy to forget to type in each of these Break statements!"

In fact, it's not easy. The "break" is required by C# in any non-fallthrough cases. Not typing it will generate a compiler error. Not something you can miss.

3. Here the author makes a red herring of an argument regarding how you can use Visual Studio to setup event delegates for UI components. Apparently some paradigms are supported for VB.NET, and others for C#. Of course, what your IDE supports has nothing to do with which language is "better".

The basic argument is that you need to return to the design view to create an event delegate rather than being able to do it from code view. Of course, most experience C# writers will stay in code view and just type the following themselves:

    _myButton.OnClick += ... (tab to autocomplete new delegate and handler)
4. The author then continues to say that the comparison symbols in C# are "stupid" compared to Basic's "And", "Or", etc. This argument almost doesn't deserve to be addressed, but I'd like to point out that C# has the advantage of not overloading the assignment operator (=) with equality comparison (==). Keeping these separate prevents a common class of error.

5. The author fails to trigger autocompletion for creating a new property in C#. This is largely because he doesn't know that the way you do this in Visual Studio for C# is to type "prop <property name>" and hit TAB. The behavior is then exactly the same.

Regardless, still a comparison of IDE features rather than languages.

6. The author complains that the "PMT" function, which "calculates the annual mortgage payment for a loan", is not a builtin in C#. I am not rightly able to apprehend the kind of confusion of ideas that would provoke such a statement.

7. The author argues against needing semicolons in C# for line endings. Alright, at least this is actually about the language itself. Personally I'm not a huge fan of needing semicolons either. A style thing, but I'll let it stand.

8. The author complains that the type for a variable declaration precedes the variable name in C#. Somehow this is a major problem. Obviously just scraping the bottom of the barrel here.

9. The author complains that C# does not automatically cast enums to ints or other types. I'll leave it to other sources that talk about the pros and cons of implicit casting a la Scala.

10. The author complains that is not possibly to reinitialize arrays to a new length in C#. He admits that he has been told that, "I should be using lists and not arrays anyway." But he retorts that, "The point is that - as so often - Visual Basic makes something easier to code than C# does."

I fail to see why using a List<string> is somehow harder than string[].

In conclusion, I really have to hope that this is a joke.

rohansingh··on Dream, but don't forget to live
> "The world is passing through troublous times. The young people of today think of nothing but themselves. They have no reverence for parents or old age. They are impatient of all restraint. They talk as if they knew everything, and what passes for wisdom with us is foolishness with them."
rohansingh··on USPS to Cut Saturday Mail
I really don't understand this sort of thinking. Sure, it's a large union, but if it is providing benefits for employees while enabling an efficient postal system that delivers to everyone — even those who live in places that private services may consider unprofitable to deliver to — then what's the problem?
rohansingh··on USPS to Cut Saturday Mail
You're correct in that it was healthcare, not pension. No wonder I was having trouble finding articles that I was sure I'd read on this.

That said, the requirement, which seems to be that the USPS must fund healthcare benefits 75 years in advance, is still patently ridiculous. It is a manufactured crisis, in part.

rohansingh··on USPS to Cut Saturday Mail
I looked around for a succinct article that reported on my assertion to include with my original comment, but was unable to find one. There are a number of articles on the USPS that deal with this topic somewhere in the body though.

Just search for 'usps pension congress' and you should see articles from Reuters, The Guardian, Forbes, and others that back up this assertion.

rohansingh··on Don’t Waste Your Twenties
Well, I'm only 24, but my life seems to be taking a pretty similar route already :)

Mind if I ask where this beautiful bouldering near Paris is? Are you referring to Fontainebleau? I've really been meaning to take advantage of being in Europe and heading down there but haven't had the chance to yet. Perhaps this summer.

rohansingh··on USPS to Cut Saturday Mail
The sad thing is that the USPS is not all that bad off financially. Rather, Congress is requiring them to make completely unrealistic pension payments decades in advance, for employees who may or may not exist yet.

No other organization could operate under such a burden, and no other federal agency faces such a requirement. It makes one wonder if the requirement is in place as an attempt to kill the USPS and privatize mail delivery entirely.

rohansingh··on The NFL’s problems in one accidentally revealing ad
I prefer this comparison to the GP's since it controls for the level of medical technology. There may have been a spate of deaths in the early 20th century, but they may not have happened today.

Not to mention that a single year could be an extreme outlier.

rohansingh··on YouCompleteMe, a Fast, As-You-Type, Fuzzy-Search Code Completion Engine for Vim
Really? I found eclim to be quite slow when I was using it last year. I would wait one to two seconds for an autocomplete menu to pop up.

Fortunately I haven't had to do any Java recently.

← PreviousPage 8 of 10Next →