HNHacker News
TopNewBestAskShowJobs

ajays

3,943 karma · joined September 25, 2010

submissionscomments
ajays··on A Tale of Two Queues
I'll wait for AntiRez to chime in. It is possible that ZMQ has better performance than Redis, because the Redis server has to parse the request and then act on it, and then there's the marshalling on the client side; with ZMQ, you're just sending a command. I'm not sure if Redis has an efficient binary protocol, but having that may eliminate some of the bottleneck?
ajays··on Amazon Redshift is 10x faster and cheaper than Hadoop and Hive
Why wasn't that used in this performance comparison?

Because then the stupid headline wouldn't be so sensationalist, would it?

// I have no dog in this fight, but hate twisted claims

ajays··on Google Could Pay Apple $1B Next Year To Remain Default Search Engine On iOS
If you present users with a choice, they'll still choose Google and Apple gets nothing. Make it the default, and Apple gets a cool $1B.

"A billion here, a billion there and soon we're talking about real money" ;-)

ajays··on Paying Top Dollar for Condos, and Leaving Them Empty
More and more people are doing it too, I think. I was looking at property records, and a surprisingly large number of them were owned by various "trust"s .
ajays··on Elon Musk calls NYT review of the Tesla Model S ‘fake,’ citing vehicle log data
That makes the most sense. Imagine a Jiffy Lube style setup: you drive on to a station, robotic arms automatically remove your battery and install a new one, and you're on your way. Total time: under 2 minutes. Boom!
ajays··on Elon Musk calls NYT review of the Tesla Model S ‘fake,’ citing vehicle log data
A 1000 mile trip in a gas vehicle would require 3, maybe 4 fuel ups. I've timed my fill-ups many times, 7 minutes from off the road to back on (assuming an en-route gas station) is about the average. So, figure 28 minutes lost to fueling, vs. 4 hours. The Tesla will take at least 3.5 hours longer to make the same trip.

On the other hand: you'll be shelling out about $60 for each gas station stop; and $0 for each Supercharger stop. That adds up too, you know.

ajays··on Two Jokers Social Engineer their way into the Superbowl [video]
Site is dead, and the Coral Cache is throwing a 500 error. Anyone got a mirror?
ajays··on How the Wikileaks founder alienated his allies
It is a shame, really, that Assange is such an attention whore. His being locked up in the Ecuadorian embassy is probably the best outcome that the US could have hoped for (aside from him being in a US jail). He has no one to blame but himself; power is the strongest aphrodisiac, and he let the power and attention get to him.

WikiLeaks should try to just distance themselves from him and try to continue the work of being a conduit for safely exposing corruption and lies.

ajays··on Next Time Your Mom Says Don't Go Out in The Rain, Spray Yourself With This
I'd love to coat my toilet with this, so I never have to scrub it again. And also the insides of the plumbing pipes, so nothing gets stuck in there... :)
ajays··on Next Time Your Mom Says Don't Go Out in The Rain, Spray Yourself With This
Only if you have a white car, though. From the specs, the color of the coating is a translucent white, so that pretty much eliminates possible use on any other paint than white.

http://www.ultraeverdrystore.com/products/

ajays··on Mercator Puzzle
That's the Mercator transform for ya.
ajays··on Why Did The Media Keep The Recent Peaceful Icelandic Revolution Quiet?
Exactly. Most media feed from the same trough; and they'd do anything to maintain that status quo. Especially in these tough times, when newspapers are failing and the radio/TV business model is in dire straits thanks to alternative news sources like the Internet.
ajays··on CBS Bans SodaStream Ad
I knew I'd heard the name "SodaStream" before. The other day, walking around in the Castro in SF, I came across a bunch of protestors who were calling for a boycott of SodaStream: http://www.codepink4peace.org/section.php?id=470

As a person who hates the throwaway bottle culture of soda (and the HFCS, etc.), but who also supports middle-east peace, I'm torn here. :-/

ajays··on The Worst-Run Big City in the U.S. – San Francisco (2009)
In one word? Apathy. Too few people are really invested in SF. If you're a resident of SF, you're busy working, partying, etc. Things aren't too bad and the money is flowing easily, so you don't care.

Things could be better if there was more home ownership and people put down roots here.

ajays··on The Worst-Run Big City in the U.S. – San Francisco (2009)
MUNI is just one of the problems with SF. There are many more.

Firstly: this is a city of transplants. You'd be hard-pressed to find a native SF'an in your daily interactions. (I know just a couple, and I've been here 6 years). As a result, many of them don't vote; or if they do, they don't have the context to see through the bullshit that is put out there. They'll take a politician's word, when a long-term resident will remember that that fucker has been lying for 20 years. As a corollary to this, you can control the City if you can put together a decent-sized voting block. So, for example: the City has 25,000 employees. If you can get the City employees on your side, then their votes alone are enough to swing most elections in your favor. For example: many years ago, the MUNI drivers got the City Charter amended to guarantee that they would be at least the second-highest paid drivers in the nation! Can you even imagine the clout they had to modify a city's constitution? (Thankfully, this was repealed a couple of years ago).

Secondly: the City has a lot of money to spend. The people in power stay in power via a huge game of doing (and getting) favors. For example: the City spends over $500 million/year on various "non profits". Your non-profit won't get a dollar unless you employ "consultants" who will help you write the proposal; and these consultants are very well-connected people. And they get a ton of money for a few days work (it's not uncommon to see such consultants be on payroll making $300K at a non-profit, but noone ever sees them at work).

Thirdly: the City is exceedingly corrupt. If you know the right people, you can get away with anything. This is why you have leeches like (Slick) Willie Brown and Rose Pak running the show. They know how the system works, and make a living just by greasing the wheels and pulling strings.

This is why, during elections, I vote for the people who are the most removed from the corridors of power. Anyone who has had anything to do with the System doesn't get my vote. It may be like throwing the baby out with the bathwater, but the City needs an enema.

ajays··on Meetup, you've been bad, bad hosts
Spam them yourself, telling them to leave the group; tell them what will happen when you stop paying; and if someone still sticks around, they can face the consequences.
ajays··on Online Dating for Scientists
I disagree. Mating is deeply biological phenomenon; the rational brain has little to do with it.

For example: I'm attracted to slim women. But some of my best friends are curvy. I'm not discriminating against curvy women; it's just that I find the skinny ones more attractive, without any rational reason for it.

ajays··on OK Cupid launches Crazy Blind Date
2-3 years ago OKC tried this CBD here in SF. I tried it, but couldn't get 1 date out of it. Most of the times, there was no response; and the one time we decided to meet somewhere, she didn't show up. Then OKC shut it down.

On asking women friends, the general feeling I got was that women were much more leery of going on a blind date, figuratively, blind about the other person.

However: that was my experience with women in their 30s. Will it be the same for women in their, say, early 20s? Who knows. As it is we're seeing a massive shift in social interactions with SnapChat, FB Poke, etc. People are sexting more, for instance.

It is a good idea, which, if executed well, can have legs.

ajays··on Apple cuts orders for iPhone 5 parts on weak demand
checkout this thread on the Apple discussion forums: https://discussions.apple.com/thread/4322714 (it's already at 219 pages and counting).

There are many such threads in that forum.

ajays··on Apple cuts orders for iPhone 5 parts on weak demand
Aside: I, for one, am extremely disappointed in the iPhone5. Its WiFi sucks ass, to put it delicately. I just got back from traveling abroad, and when I'm there, I rely heavily on WiFi. My 3GS had no issues; it use to work like a champ. But the iPhone5? Lord! It couldn't hold the signal; it wouldn't log in to the (WPA2) network even though it would see it; etc. etc.

Apple's response so far? Try disable WPA2 and remove all authentication. Really?!?!

And the problem got worse after iOS 6.0.2

After seeing my issues, several friends of mine have decided to hold off upgrading till they're sure the issues are worked out (in iOS 6.1.0?). At least 1 person I know picked the Samsung instead.

Sorry to threadjack.

ajays··on In California, It’s U.S. vs. State Over Marijuana
Pot is illegal at the federal level (aka Congressional law). It's against the law to possess, sell, etc. So unfortunately the President is legally required to prosecute this.

...except when he decides not to defend a law[1] that he claims is unconstitutional.

[1] http://en.wikipedia.org/wiki/Defense_of_Marriage_Act

ajays··on The Sex Tape Litmus Test
I keep hearing this, and have taken it as gospel (I am in CA), but can someone point me to some citations? You know, just in case.... ;-)
ajays··on Google Flights
> Does anyone know exactly how this works?

Most travel agents on long-distance, well travelled routes work through consolidators. These consolidators buy tickets (or promise to buy tickets) in bulk far in advance, and then re-sell them later. This is what I've heard about segments like USA <-> India.

ajays··on Google Flights
... and ITA Matrix was bought by Google, and its latest incarnation is Google Flights.
ajays··on 125th Birthday of Ramanujan
A young George Polya, the Hungarian mathematician (and Stanford faculty) was in England once, and asked Hardy to see one of Ramanujan's notebooks. The next day, he returned the notebook in a panic, saying "there is so much in there, that I'll spend my entire life working on these proofs and never be able to do any original work". (paraphrased).

Ramanujan's accounts of how he arrived at the proofs ("the Goddess revealed it to me"), reminds me of Paul Erdos's "theory", that "God" has a big book of all possible proofs, called "The Book"; and if you're a nice mathematician, once in a while He will open the book and reveal one to you. Taking up this thread, a couple of mathematicians compiled some of the most beautiful proofs and published them as "Proofs from The Book". http://www.amazon.com/Proofs-THE-BOOK-Martin-Aigner/dp/36420...

ajays··on Charts of alcohol consumption, obesity, and physical activity in Europe
There is a flaw in the obesity chart. If you will note, the highest obesity countries are actually based on measurements; the rest of them as self-reported. If you ask a person (especially a man) if they're obese, quite a few will say "no"[1]. Mixing different measurement techniques is a no-no, and makes for flawed conclusions.

[1] http://en.wikipedia.org/wiki/Illusory_superiority

ajays··on Google Car Search
Once again, Google copies Yahoo http://autos.yahoo.com/
ajays··on India Gets its First 1Gbps Internet Connection.
"How long is this excuse going to get trotted out?"

That's a very valid question, and just like you, I also bristle at this excuse sometimes. But you have to remember: India is not a homogenous country; with 15(?) official languages, 1000 different dialects, 100s of ethnic groups, etc. it is very difficult to steer the country as one. Despite the chaos and anarchy, India is making progress. And India's progress is not a forced one like China's (which is "unstable" in an equilibrium way). India just needs a couple of smart, good leaders. Unfortunately, the cult of personality is strong in politics, and it's holding the country back.

ajays··on Poll: What's your favorite static site generator?
I just moved to Pelican, and am liking it so far, except for one thing: the lack of mobile support. The theme I'm using, tuxlite, looks great in a browser; but on smartphones, it's squint city. I'd love it if Pelican automagically generated a mobile-friendly version of the site, which could then be used by some Rewrite rules based on the browser.
ajays··on China Mafia-Style Hack Attack Drives California Firm to Brink
I stopped reading at this point:

Commercial hacker hunters -- who refer to the team as the Comment group, for the hidden program code they use known as “comments” .....

/facepalm

← PreviousPage 7 of 32Next →