HNHacker News
TopNewBestAskShowJobs

rit

1,099 karma · joined June 26, 2008

I like software that scales. In a past life, I worked at 10gen (now MongoDB, Inc.), where I maintained (and created) Casbah, the official MongoDB driver for Scala; I also created & maintained the MongoDB Hadoop Integration.

In the Scala world I've done a bunch of work on Akka, as well as a few other fun contributions.

[ my public key: https://keybase.io/rit; my proof: https://keybase.io/rit/sigs/4Jwnzfg6BAVyNZGJGciIgaLVUuxlthwJpO9XhSLunUc ]

submissionscomments
rit··on Ask HN: Why do we still have replay attacks on our cars?
In point of fact, Insurance companies have been refusing to cover some of these Kia and Hyundai cars because they're "too easy to steal". The lack of immobilizer chip apparently is the culprit.

https://www.cnn.com/2023/01/27/business/progressive-state-fa...

rit··on You can no longer purchase Kindle books through the Amazon app on Android
You also can't buy Audible books through the Audible app. I get that Google wants their cut and Amazon doesn't want to give it, but come on.
rit··on Ex-Microsoft dev used test account to swipe $10M in store credits
Supporting test credit cards in production with no fraud or risk assessment.

Do you want fraud? This is how you get fraud.

rit··on Would you hire designers and developers from Cuba?
There are still pretty heavy economic restrictions on US Citizens & companies doing business within Cuba. IIRC there is also US imposed restrictions on foreign companies who do business in the US doing business in Cuba as well. It makes for a very messy question.
rit··on KeyMe – Copy keys and solve lockouts
Yes, at the very least in Apartments in the US. Every apartment I've lived in (in several states/both coasts) has had the simple style keys. IANAL (i am not a locksmith), however.

Homeowners obviously have more choice in the locks they use, though.

rit··on Dark spot under cockpit of A-10s
That's a truly fantastic article. And a bit scary, considering I have a family member training to fly one.
rit··on Dark spot under cockpit of A-10s
I should note as well that as I recall, the Navy & Air Force ran into similar problems in Vietnam as may happen soon. They phased out most of their prop aircraft in favor of much faster jet bombers (and strategic bombers like the Aardvark that couldn't provide CAS). They ended up using carrier launched A-1 Skyhawks – an aircraft first built in 1945 – for close air support and helicopter rescue escorts (Often seen in vietnam era film as "Sandies").

Infantry support seems to be something that historically the military continues to forget until they suddenly need it, and scramble to stopgap a solution from whatever is laying around. It wouldn't be surprising if the A-10 comes back from the dead in some future conflict for just that reason.

rit··on Dark spot under cockpit of A-10s
Most drones only carry IIRC a single hellfire missile. Not particularly useful against Infantry, and a 1 shot and you're done.

An aircraft like the A10 (and a helo like the Apache, as noted below) has a huge benefit over a drone in its ability to stay on station. As also noted above, other aircraft like F16, F15, etc move fast and generally come in, take out a single target, and move out. A10 can circle, move slow, and continue taking out targets as they appear.

You may take out one or two armored vehicles visible on the battlefield, only to have more pop up over a ridge after your CAS has departed. An aircraft that can stay on station has a tremendous benefit.

Survivability of course matters in something like Close Air Support, with a long on-station time. As I recall, the armoring on the A10 is staggering (Wikipedia says 1,200 pounds (540 kg) of armor just for the cockpit and main aviation systems).

With the Apaches as well, the advent of the Longbow mast (360º radar mounted above the main rotor) after Desert Storm gives it an incredible ability to stay out of view, and pop up just long enough to get a weapon off. I believe the concern with attack helicopters though is tremendous susceptibility to fast movers, and even ground attack by RPG (Al Qaeda in Somalia perfected the art of short fuse detonation of RPG rounds near the rear stabilising rotor. See: Black Hawk Down)

rit··on Bitcoin creator Satoshi Nakamoto revealed after years of mystery?
A valid point, and one I should have noted. Mea Culpa.
rit··on Bitcoin creator Satoshi Nakamoto revealed after years of mystery?
It also talks about how after speaking to Nakamoto – who told him to leave him alone... Nakamoto's Son – who told him to leave him alone... and Nakamoto's Brother – who told him to leave him alone... The reporter still showed up at Nakamoto's home uninvited. And was surprised when the poor guy called the cops.
rit··on The Indian sanitary pad revolutionary
And specifically, sea salt tends to be low in Iodine.

"Iodine, an element essential for human health, is present only in small amounts in sea salt,[1]" (cribbed from Wikipedia)

[1]: http://pubs.acs.org/doi/full/10.1021/es0719071

rit··on The future of Fiber
San Jose is the nearest major city to Mt. View, Sunnyvale, Palo Alto & Santa Clara... they're using it as a Metro area grouping.

EDIT: Yes, these are part of the "The San Jose-Sunnyvale-Santa Clara, CA Metropolitan Statistical Area comprising Santa Clara and San Benito counties".

rit··on Russia: Hidden chips 'launch spam attacks from irons'
I suspect (this is entirely speculation) based on conversations with Hoteliers in Italy before that they find it an onerous, silly requirement.

They simply have to show that anyone they authorized to access their network was logged.

Following the letter of the law, not the spirit, as it were.

rit··on Russia: Hidden chips 'launch spam attacks from irons'
YMMV, depending on country... and how much the hotel cares about Wifi access.

Italy has strong controls related to terrorism, IIRC. The which has meant the last few times I stayed in hotels there you had to hand over your passport for photocopying to be issued Wifi passwords.

France & Germany have been a mixed bag – smaller hotels handed out per-device, per-use passes but a few nicer / chain hotels I stayed at have the standard "Open hotspot, enter your room # and name to bill to room" setup as I'd find here in the States. The UK For the most part has been fairly normalised ala US Style for me.

On the other hand, there are apparently controls over mobile internet access in France, including a (? 48 hour ?) delay in activating prepaid Data, and IIRC your passport also gets entered in the DB. Generally, I'm a prepaid-data-in-country type traveller (I have a bag of about 25 sims from various countries)... France has been a no go for that.

rit··on The genius and folly of MongoDB
I worked for 10gen (now MongoDB) for over 2 years (I left in December).

Never once while I was there did they publish a benchmark: There was a [publicly] stated company policy to not publish or comment on benchmarks.

If you have evidence otherwise (i.e. benchmarks published by the folks working on MongoDB) fine, but I take this as a deliberately inflammatory (and false) statement.

EDIT: The global write lock was removed ~last August; there is now a database level lock. Future releases will likely make that more fine grained. Additionally, the drivers no longer do "unsafe" writes, but check w/ server.. as of the same release.

rit··on The World Wants to Break Up with America's Internet
You confuse decisions by government with those of the American people.

I can assure you, as an American, I have qualms about blowing up people with anything, including drones... and I hold due process to be one of the most fundamental human rights.

rit··on Typesafe acquires Spray.io
That is already happening. We are moving Eventsourced into Akka to become "akka-persistence":

https://groups.google.com/forum/#!msg/eventsourced/B2Nx4HJB-...

rit··on Startups That Received Investment from In-Q-Tel
You mean like this one? http://www.mongodb.com/press/10gen-announces-mongodb-backup-...
rit··on Business Insider CTO Forced to Resign Following Twitter Firestorm
Exactly. And it potentially opens up legal grounds, with evidence. Every member of the protected classes he has venomously disparaged, who applied for and didn't get a job (or was fired) to claim discrimination by him.
rit··on Business Insider CTO Forced to Resign Following Twitter Firestorm
He was in a position to hire people, and expressing views that clearly indicated bias towards certain protected classes.

That alone would be cause for concern. I don't know that I"d advocate his firing, but I'd certainly question his authority to hire & fire staff based on the things he's said.

rit··on Scala School
Very differently (I'm the original author of Casbah, though I gave up maintainership a few months ago when I joined Typesafe).

Casbah was always created to be a straight MongoDB driver, with no ORM features. It has no dependencies on "external" projects other than the MongoDB Java driver, so that you can use it where-ever and write standard queries.

It has been awhile since I played with Rogue, so forgive any mistakes but the big one: Rogue is specifically built as an ORM, with integration into Lift.

Really, you are going to use Rogue vs. Lift to accomplish very different tasks. There is Salat (https://github.com/novus/salat), to provide ORM features on top of Casbah.

Pick which tool works best for your use case! I happen to think quite highly of Rogue as well, as there are some tremendously impressive features in it including detecting potential Table scans. Rogue is fairly well battle tested on the Foursquare systems, and the authors are both very, very good at what they do.

rit··on Why Snowden Asked Visitors in Hong Kong to Refrigerate Their Phones
Why would it confirm it? "Correlation does not imply causation".

He may be pulled in by the same rumours as everyone else and being overly cautious. Just because he does this doesn't indicate he has confirmed or denied the existence of a slave microphone bug.

Just that he believes strongly enough in the possibility to be cautious.

rit··on Malibu homeowners foiled by $30K Kickstarter campaign
This is a bit hyperbolic. Vigilantism refers specifically to "an individual or group undertaking law enforcement without legal authority".

Not to defend the clearly overreaching actions of the Malibu homeowners, but hiring security guards to protect what you feel is your property is not vigalantism in any sense of the word.

A homeowner has every right to hire security guards for their property. At worst, the issue here is overreaching claims on the extent of their property – something that happens among even the unwealthy.

rit··on Rust will likely not support tail call optimization
I can't answer fully for Clojure's reasons for not supporting TCO, but it will at least be fundamentally rooted in the fact that the JVM, as a platform, does NOT support TCO.

Scala is usually the language brought up as a counter argument here, but Scala has the same limitations as Clojure - the JVM can't do the TCO. Scala's compiler tries, with certain types of tail calls, to optimize via (I believe) a trampoline – it reduces those calls into a loop, so they are no longer a function call.

But, only certain types of calls (specifically, the last line of code in a recursive function must be a call to the hosting function) can be TCO in Scala. There is an annotation, scala.annotation.tailrec, which can be placed above a method you want to tail recurse.

@tailrec does not, however, "force" the compiler to do TCO – it simply forces compilation to fail if the method in question cannot be Tail Call Optimized. It's a developer hook for saying "I realize the compiler tries to do TCO where possible, but I require this method to be trampolined". If it can't be, you'll get a compilation error with details on why the TCO failed.

rit··on Homeless in Silicon Valley
this is coming up 404 now : even when you click the link to the article on the front page of the listed domain.

Anyone have a cache of the content?

rit··on Doctor 'used silicone fingers' to sign in for colleagues
You could go back even before Gattaca. In the beginning of one of Heinlein's earliest works (and one of my all time favourites), "Double Star" [http://en.wikipedia.org/wiki/Double_Star], he discusses using latex fake fingerprints to frame someone.

Book was written, I believe, in the early '50s.

rit··on US FAA Grounds Boeing 787 Over Battery Concerns
And it was Terminal 5, so that makes sense. It looks like they're not getting their 787s (and an order of 'superjumbo' A380s) until this year.

A training/demo aircraft makes sense. Not to mention free advertising people like me, sitting in a window seat, seeing that beautiful new aircraft with "DREAMLINER" painted across her body.

Granted, BA is the only Airline besides Virgin Atlantic/America where I have felt like I was treated like a human being... so convincing me to fly on them isn't that difficult.

rit··on US FAA Grounds Boeing 787 Over Battery Concerns
Just a random piece of pedantry; the article states that Poland's LOT is the only european airline operating the 787 right now.

I was at Heathrow maybe 90 days ago and British Airways had a brand new 787 (Painted in fancy "Dreamliner" dress and BA logo) parked at a gate as if it was in use. Might be that they were still demoing it/showing it off deliberately but I had the impression it was an active aircraft.

rit··on Google Maps for iOS
Apple has blocked things like "Google Voice" in the past claiming it duplicates existing functionality in the phone.

I suspect (And this is entirely speculation on my part) that if iOS Maps had not been under such a cloud of scrutiny since it launched, we might not have seen Google Maps.

With so many having major issues with iOS Maps, and Apple needing to do a lot of catch up, being seen to block a reasonable solution would be very, very bad. Especially the same week as the well publicized "Sending people into the middle of the Australian outback with no mobile reception instead of the city they put in" news on iOS Maps.

Not trying to sound conspiracy theorist here, but observing past behaviours and the likely influence of current demands.

rit··on Show HN: SQL to Mongo Query Translator
I noted v8 in my comment; it won't be a panacea. It certainly doesn't fix the encoding/decoding overhead of BSON<->JavaScript, but the JIT and multithreading will help in other areas.

Group still will not become sharding-capable with v8, either.

Page 1 of 9Next →