HNHacker News
TopNewBestAskShowJobs

pranjalv123

582 karma · joined September 21, 2011

http://pranj.al
submissionscomments
pranjalv123··on Formlabs: High Resolution 3D Printer
However, the build volume (5"x5") is significantly smaller than most FDM printers, and it's significantly slower, as I understand.
pranjalv123··on Quantum physics at a distance
It's not FTL. Quantum teleportation is like this:

Alice shows Carol and Bob a red ball and a blue ball, and two empty boxes. Without showing Carol and Bob which ball goes in which box, Alice puts a ball in each box and gives one box to Bob and the other to Carol. Carol is an astronaut going to Mars, and they've agreed to open their boxes when she gets there.

Fast forward 6 months later, Carol is on Mars, and she opens her box and sees a red ball. Immediately, without any speed-of-light delay from Earth, Carol knows what Bob will see in his box when he opens it. Note how there's no "useful" information transferred faster than the speed of light - Carol and Bob can't use this to make any useful decisions.

The quantum version is weirder because the balls are in a superposition of red and blue until one of the two opens the box - but there's still no useful information transferred faster than light.

pranjalv123··on No single benchmark for the web
I'd also be skeptical of a benchmark created by a company that has a pretty big dog in the fight.
pranjalv123··on Fixing your own laptop, and the importance of do-it-yourself to society
Your time is only wasted if you get no enjoyment or satisfaction out of changing your own faucet or fixing your own leaky pipe.
pranjalv123··on Copyright Holders Punish Themselves With Crazy DMCA Takedowns
So basically, this is a way for movie/music studios to remove bad reviews from the public eye?
pranjalv123··on Shen: The future direction
Correct me if I'm wrong, but didn't the recent Oracle v. Google lawsuit determine that language specifications aren't copyrightable?
pranjalv123··on Grass linked to Texas cattle deaths
First of all, the grass wasn't even genetically modified. The grass (Tifton 85) is a hybrid between two other grasses [http://www.tifton.uga.edu/fat/tifton85.htm]. Secondly, even if it was, this headline is absurd. It's a widely-used strain of grass, used on this plot for 15 years, so the suggestion that the genetic modification is somehow responsible for killing the cows is absurd.

See also: http://www.examiner.com/article/gmo-food-hybrid-poison-grass....

pranjalv123··on What Guide Books Tell Foreign Visitors to the U.S.
Yes!

http://en.wikipedia.org/wiki/Filler_%28linguistics%29#Filler...

pranjalv123··on Linux 3.4 kernel released
Ubuntu 12.04 runs kernel 3.2.
pranjalv123··on Apple iPhone charger teardown: quality in an tiny expensive package
Noisy power supplies interfere with capacitive touchscreens so you can't use the phone while it's charging.
pranjalv123··on Why The US Can Beat China: The Facts About SpaceX Costs
It's more like $15bn inflation adjusted (source: http://en.wikipedia.org/wiki/Budget_of_NASA)
pranjalv123··on A Baby Quantum Internet Was Born Today
Actually, a bunch of commercial quantum crypto systems were hacked a few years ago, in spite of being "theoretically unhackable". The details are at http://www.techrepublic.com/blog/security/quantum-hacking-cr..., but basically you can convince avalanche diodes that they're only receiving one photon by blinding them, and this lets you bypass the security inherent to the No-Cloning theorem and the Uncertainty Principle that quantum crypto relies on .
pranjalv123··on A Baby Quantum Internet Was Born Today
The cool thing about quantum mechanics is that a man-in-the-middle attach won't work!

The reason for this is the Heisenberg Uncertainty Principle, which states that there are certain attributes of a particle where we can't know both of them perfectly. The classic example of this is position and energy.

The relevant attributes here, though, are angular momentum (spin) in the "left/right" and "up/down" directions. Think of a particle as two arrows, one pointed either left or right, and the other pointed either up or down. The Heisenberg Uncertainty Principle states that if I know with 100% accuracy that a particle is pointed left (or right), I can't know anything about if it's pointed up or down, and vice versa. In fact, if I measure the left/rightness of a particle, the up/downness gets set randomly to be either of them.

So quantum communication works more or less like this: We agree that left and up correspond to a 1, and right and down correspond to a zero. So if I want to send a 1, I randomly choose a either a left or an up, and send it to you. Then, on your end, you randomly choose an axis to measure on, and after I've measured, we tell each other (through a public channel) which axis we measured on. If we agree, we use the bit, otherwise, we throw it away.

Ok, so now, what if Eve comes in the middle and steals our electron, reads it, and sends it again. Well, she doesn't know what axis to measure on! So if I send it on the up/down axis, Eve measures it on the right/left axis, and you measure it on the up/down axis, you have a 50% chance of getting a wrong answer. So if we take a few bits at random and publish them, we can get a pretty good idea if someone's snooping.

Also, Eve can't copy our particle, because if she could, she could read one axis from one particle and the second from the other, which would violate the Uncertainty Principle (this result is known as the No-Cloning theorem).

pranjalv123··on Surf Air: Unlimited Flights for $1k/mo
The problem with this seems that the only people who will buy this are the people who spend more than $1k/mo on flights, so they'll end up having a really hard time making money. But I'd love to be proven wrong.
pranjalv123··on Chrome Multitask Mode
This is especially useful if you're on a laptop, especially a ThinkPad with the pointing stick. If you're doing something like Photoshop, it's nice to have one pointer near the tools and another near the work surface - it makes switching tools much faster (especially if you don't know the keyboard shortcuts that well.)
pranjalv123··on Exposed: YouPorn passwords in all their plain-text glory
I saw this as well - there are a lot of strange passwords that occur frequently. I suspect that people make bots all with the same password, though I don't know what they're used for.
pranjalv123··on Hack your way through Stripe's Capture the Flag
I'm getting a Remote Host Identification Changed error, did you guys change your certificate or is someone trying to MITM me?
pranjalv123··on Why Don't Americans Elect Scientists?
Angela Merkel was a physicist before she entered politics, but you have to take into account two things:

1) She was heavily involved in politics while a student and researcher.

2) Even more importantly, she came into politics right after the fall of the Berlin Wall - right after they threw away all the old career politicians. At this point, she abandoned her scientific career to fill this enormous vacuum.

Thatcher got a bachelor's degree in Chemistry, but within three years of graduating college she was in politics and another three years later she had a law degree, I don't think I'd call her a "scientist leader".

I'll admit my ignorance about the Chinese Communist party. But that whole system is very different, especially because the leaders don't need to get elected, so it's a much more technocratic system in general. In the US, there's a difference between people who come up with new policies and the politicians who get them implemented, I suspect this is less true in China.

pranjalv123··on Why Don't Americans Elect Scientists?
I think the really big factor here is that scientists don't want to go into politics! Maybe I'm painting the world with an overly broad brush here, but politics and science approach the truth in exactly opposite ways.

I'm not going to say that politics is a game of lies, because it's not, but politicians essentially invent the truth as they go along. It's similar in some ways to law or the humanities, where the truth is very much a matter of interpretation, there's a case to be made for each side, and no one is ever objectively "wrong". Right and wrong are entirely a matter of personal opinion.

On the other hand, science is, in the limit, entirely objective. A physical theory can be objectively shown to be incorrect. Scientists can defend their theories, but fundamentally have to accept it if their theory is disproved, or else they become irrelevant. There was a great link earlier today on HN that talked about how the smartest people are the ones who are most skeptical of their own ideas. That's great in science, but if you don't believe yourself totally in politics, no one else will.

This means that scientists, who presumably study under and work with other scientists for decades, think in this scientific mindset. This makes them totally unsuited for the world of politics (and of course, vice versa). Politicians can't admit they were wrong, because that means that they'll probably be wrong again, and no one will vote for someone who's wrong. Case in point: Mitt Romney and universal healthcare.

I'll also make another point that a lot of people miss: Being a politician is roughly as difficult as being a scientist. If we expect our best politicians to get an advanced degree in something like business or law (things related to the process of running a nation) or to spend a long time working in politics or on social issues, why do we think that scientists with no such training will make good politicians? We certainly don't expect most law school grads to do much more than wash bottles in the lab.

pranjalv123··on Why I use DuckDuckGo and You Should Too
I've been using DDG for the past 2 weeks or so. First, the bad: 1. It's really slow. Latency is usually on the order of seconds, as opposed to 100s of milliseconds on Google. 2. Results could be better. Roughly 80-90% of the time I find what I'm looking for, but the rest of the time Google does much better (note: it's possible that DDG is getting queries that Google misses).

Now, the good: 1. The one-box is really, really good. A lot of the time, I'm searching for domain-specific queries, especially when I'm coding. DDG brings up a one-box with something like a stack-overflow link and often has exactly the code snippet I'm looking for. 2. I don't have to give more information to google. Admittedly, they already get my email and stuff, but at least this way I'm spreading my information so no one has absolutely all of it.

Finally, the things that are in principle useful but I don't use much: 1. Bang commands. Seriously, I'm not going to type !cplusplus to search cplusplus.com, I'll just click the first link. I also can't remember all of them. I do use !g, !image, and !video, but mainly because they take me to a better search engine. 2. The search suggestions in the top right. It's a good idea, but I don't have the cognitive capacity to keep track of those in addition to the search results.

pranjalv123··on Why Python is Important for You
Yep, I agree with you - although every error should be expressible as a type error, languages like Coq where this is actually possible make writing usable code pretty difficult. I think there's a pretty wide range of middle ground, ranging from C++ to Haskell, where you get the benefit of static types without making it really difficult to write working code.
pranjalv123··on Why Python is Important for You
I think the proper way to do this is through the use of interfaces (Java), abstract superclasses (C++), or typeclasses (Haskell, etc.). These give you the benefits of polymorphism, e.g. you can pass anything that implements "read" to a function that processes input in a given way, but also gives you the compile time typechecking that helps you avoid bugs.
pranjalv123··on Why Python is Important for You
My biggest problem with Python is that projects larger than a given size tend to become unmaintainable rather quickly.

This is in large part because of the lack of strong typing and type annotations; if you aren't the only author or can't keep the codebase in your head, it takes real effort to figure out what a function does. Even the type annotations provided in a language like Java or C++ make this task much easier, not to mention languages with real strong type systems like Haskell.

That's not to say that building large systems in Python is impossible, but it takes a lot more effort and documentation that it would in other languages.

pranjalv123··on DIY transcranial Direct Current Stimulation (tDCS) device
This is really cool. I've been thinking of building something like this, and it's great to see a DIY writeup - last time I checked, there wasn't much out there.
pranjalv123··on Sentiment Classification using Machine Learning Techniques
Hi, It's been licensed under GPLv2.
← PreviousPage 3 of 3