HNHacker News
TopNewBestAskShowJobs

hmsimha

659 karma · joined November 10, 2012

https://www.linkedin.com/in/hartsimha/

https://github.com/harts

https://github.com/hmsimha

submissionscomments
hmsimha··on Evernote cuts 47 employees and shuts down 3 offices
Google notebook was amazing! But at the very least, they did export all notebook notes to Google docs, so it wasn't like they completely binned all user data.
hmsimha··on Thimble – An online code editor
I just tried out some of my favorite shortcuts I know from Sublime (I'm not saying Sublime invented these, just that I only came to know them through using it) and found them all to work:

  - Move lines up/down with ctrl+shift+up/down  
  - Cut an entire line (ctrl+x)  
  - Multiple cursors (ctrl+alt+up/down)  
  - Comment the current line/selection (ctrl+'/')  
  - Delete the current line (shift+delete)  
  - Indent/dedent the current line/selection (ctrl+'['/']')
Still looking for the bindings to jump to matching braces/parens and to select the innermost block, but I'm sold. I'll be using this
hmsimha··on A dataset of every Reddit comment
Isn't this true only if the 3rd party apps are saving the data and/or redistributing it? Apps should be able to request data from reddit just as a normal user would through their browser, since reddit has permission to use (and serve) that content.
hmsimha··on “We have decided not to integrate the Dart VM into Chrome”
Optical typing must be like duck typing taken to the extreme. If it looks like a duck then it's a duck, dammit!
hmsimha··on “We have decided not to integrate the Dart VM into Chrome”
I know absolute fuck-all about dart, but I do know that a programming language is just a tool. At the end of the day, a good programmer should be able to learn to use the best tool for the job, even if that tool resembles a swiss army knife.

It's apparent that Javascript has taken cues from nearly every other modern programming language at this point. The leaps and bounds being made with ES6 and ES7 are simply astounding. Of course, I have no problem seeing the development of languages like Dart, Coffeescript, and Typescript that compile to javascript, but I think there's an argument to be made for the reduced need of these. The development effort being poured into them has shaped javascript, but I think what many people are realizing is that the focus doesn't need to be on creating new languages that compile to Javascript, when it can be on advancing Javascript even further.

hmsimha··on Ask HN: How would you implement a verifiable open-source web application?
I was trying to figure something like this out myself a while ago. The best solution I could come up with was a transparent Platform as a Service provider that had an option for the person(s) with access to allow anyone who wants to inspect the slug and application settings (minus any secret tokens) to do so. Essentially, it would be verifiable for any users of the application that the DNS resolves to the servers of the PaaS provider, and then from there they could look up the code deployed to the application, the Procfile, etc.

This would still require placing trust in a centralized entity though, and allow for administrators to manipulate or dump db info without the users knowing.

hmsimha··on RuboCop – A Ruby static code analyzer
The problem is this is incompatible with the current state of the JS ecosystem. NPM packages need to follow the npm style guide (though standard appears at a glance to be closer to this than anything else). jQuery modules need to follow the jQuery style guide. Many projects may already use another style guide. A large chunk of open-source javascript follows a style guide that standard is incompatible with, and new projects often have to adhere to the style guide of the platform they target as well. It would be much more useful to have a code analysis and correction tool that could enforce the rules of a target style guide.
hmsimha··on RuboCop – A Ruby static code analyzer
Looks pretty cool, but it supports a very limited set of styles. It's not really comparable to rubocop, nor is it able to enforce conformance to any of the popular style guides in full. In fact, at a glance it appears to make decisions about your code that fly in the face of many of the popular style guides (double spaces for indentation and no freaking semicolons [seriously?]).

The auto-formatting option does not clarify which of these it enforces, and one of these isn't even a style rule (always handle the err parameter in node.js).

To really rub it in, it also makes it very clear that there is no configuration! Deal with it in a way that strikes me as uncomfortably smug.

I appreciate you sharing, and I could see this being useful for running over a codebase. I might use it to convert all tabs to double spaces (since that's my preference anyway) and check to make sure there are no unused declared variables, but that might be the extent of it. But to be honest, reading the documentation here has made me really want to see a community-developed tool inspired by Rubocop.

hmsimha··on RuboCop – A Ruby static code analyzer
Rubocop is an absolute pleasure to work with, but it also helps that the ruby community seems to have a more widely-agreed upon style guide than other communities (Javascript comes to mind). There are similar tools for Javascript, and I imagine many of them are configurable as well to cover most use cases. But with the diversity of Javascript style guides and the lack of cohesiveness in the js community, it seems unlikely that many of these would be as useful as rubocop 'out-of-the-box'.

It would be amazing if a similar static code analysis tool existed with settings to conform to the most popular javascript style guides: npm, idiomatic, jQuery, etc. But even within these style guides there is a lot of 'undefined behavior', or situations that aren't explicitly described in the guides.

hmsimha··on Things which aren't magic – Flask and app.route
Came here to say this exact same thing
hmsimha··on Inferno OS
The entire concept was based off of Dante's Divine Comedy. Limbo (programming language), Styx (communications protocol), Dis (the virtual machine).. I'm pretty sure there were more.
hmsimha··on Inferno OS
Did your professor write the book used in the class? If so, we may have had class together.
hmsimha··on Firefox.html: Rebuilding Firefox UI in HTML
In addition to things mentioned by other users, a browser also enforces a security model and (nowadays) provides a Javascript engine and the browser object model, and handles HTTP and session state,
hmsimha··on Pawnmail: a free email host for custom domains
This. Gandi is a remarkably good 'no bullshit' (their motto) registrar.
hmsimha··on Demystifying the MOOC
Your comment is one of the best deconstructions of common criticisms of the potential of MOOCs that I've read. If you pastebin it (or add it to your blog if you have one) and submit it, I think it would be worthy of its own discussion. It's certainly more informed than the parent article.
hmsimha··on One Less Password
The idea seems to be that you only have to do this once, then you remain authenticated for every service that integrates with this authentication service. You don't have to remember another password or place trust in a new service not to mishandle it.

This seems like a solution that completely replaces the need for every website to manage their own user signups, which is something you still need to do even if you integrate with Google/Facebook/etc. because not everyone has an account with those and signing up for one is less trivial than having a sign-in link sent to your email.

hmsimha··on Is Kindness Physically Attractive?
Did you read the article? This is regarding an association formed by experiment subjects towards people shown to them in photographs. My quote from the article seems to be the only reference to a 30-year-later follow-up wherein subjects were again asked to rate the same people (and supposedly retained the same negative/positive association)
hmsimha··on Is Kindness Physically Attractive?
> This woman’s perception of this man’s physical attractiveness remained this intense, even after 30 years since last she had seen him!

This just came out of nowhere, without any previous or later mention of the period the study was conducted over in the article. Was it a typo? It seems like a lot can change in 30 years and I'm doubtful the subjects would even retain an association they formed with a person they rated 30 years previously.

hmsimha··on Hacker News API
Do you want to have to reload the page every time you upvote someone?
hmsimha··on Halfbike
I also noticed two different frame designs, one of which looks hard to get U-lock through, and the other may be impossible. The FAQ suggests using an 'ordinary cable-lock', which doesn't sound very safe.
hmsimha··on Halfbike
It's like they took all the worst parts of a tricycle, a unicycle, and a broom, and combined them with the inconvenience of standing up the whole time.
hmsimha··on Mozilla Brick
It looks like their following the Google model, except without needlessly pulling projects that don't gain enough traction yet serve a niche market.
hmsimha··on The Sound So Loud That It Circled the Earth Four Times
I suspect that due to variations in the earth's surface, and fluctuations in pressure due to things like air currents (and to a lesser extent perhaps even natural and man-made formations) the shock wave didn't travel uniformly in all directions, and wouldn't have been audible from the antipode.
hmsimha··on Meeting strangers in the street
I was under the impression that Ingress data would be used to augment/improve google's maps and location information.
hmsimha··on Poll: How long have you been a member of HN?
Relatively new member (less than 2 years) here. I suspect the kinds of people who have been on HN for 1000+ days and are still active commentators skew towards being fairly experienced programmers/software developers. As a result, they are among the members of this forum with more informed observations on many of the technology discussions.

As someone closer to the junior side of my career, I tend to participate less because I'm frequently out of my depth. I read the articles that catch my interest as well as their comments, but I usually don't feel the need to contribute.

hmsimha··on Hallucinogen in ‘magic mushrooms’ might have helped smokers quit
You're being downvoted because you're hitting nerves (including mine). Same as if you were to say my uncle was beaten up by a gay person, so homosexuality should be banned. I realize this isn't a fair comparison, but it works as another example of a statement that would offend people by suggesting their basic human rights be revoked (as is the current state of drug prohibition). Why is it anyone's right to impose rules on other peoples' bodies?

Alcohol leads to plenty of crimes, but look how prohibition worked out? Also, in the case of your friend who had schizophrenia triggered, does your friend know that the drug they were taking was what they believed it to be? Likely not. Another side effect of drug prohibition is that it leaves no place for quality control in the underground drugs market.

hmsimha··on Woman of 24 found to have no cerebellum in her brain
> It's interesting to note that you don't need a cerebellum to move or think, but the loss of it impairs both. Contrast this to damage to your motor cortex which can result in paralysis.

This strikes me as akin to saying that you don't need a GPU to perform graphical processing, but not having it impairs your graphical processing capability. The brain wires itself throughout a human's development to take advantage of the specialization of its components and their parallelism.

Damaging an adult's cerebellum once those connections are in place would be the equivalent of removing a GPU before trying to play a game that has been developed to rely on it.

At least that's my simplified analogy drawn from my admittedly imperfect understanding of how the human brain and computers work.

hmsimha··on Show HN: Creddle – Paper-friendly web resumes
To expand on the creator's response, all resumes appear to be printable to pdf just as you would print anything to pdf from your browser. I keep my resume as html+css and print it to PDF as needed for this very reason
hmsimha··on The Truth We Won't Admit: Drinking Is Healthy
What happens in Moderation doesn't necessarily stay in Moderation.
hmsimha··on Startup CEOs who gave up fortunes to turn employees into millionaires
> I've recently came into ownership of a certain bridge

Sorry, I'm saving my money for this sweet deal that's coming up on the Eiffel tower.

http://www.smithsonianmag.com/history/the-smoothest-con-man-...

← PreviousPage 4 of 13Next →