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 Show HN: TuneMachine, version control for Spotify playlists
This is ironic because Spotify's playlist backend ("playlist4") is actually implemented as a distributed version control system with automatic conflict resolution. This is what lets you edit the same playlist on multiple devices, some of which might be offline, and then have a consistent view once everything is synced. It's also what lets our CS staff revert and restore user playlists if there are any accidental or catastrophic changes.

We've just never found the demand or a reasonable UI for exposing the underlying complexity to users.

rohansingh··on Almost every Cassandra feature has some surprising behavior
Really depends on what the startup was. If it's a big data startup, then I'd put a lot of thought into based on the type of problem. If we were just building an app that needed some kind of data store, who knows, might even use something like Parse.

No need to prematurely optimize as long as you set yourself up to prevent lock-in.

rohansingh··on Almost every Cassandra feature has some surprising behavior
> The main lesson I took away from Cassandra is that battle-tested@Netflix(/other bigcorp) doesn't mean resilient and might require a engineer on standby at all times to run correctly.

This is entirely true. We are big users/consumers/fans of Cassandra at Spotify. We have approximately one crap-ton of Cassandra clusters with several metric crap-tons of data. But we have an entire team that provides support and tooling around Cassandra. We contribute upstream, and have employed core Cassandra contributors in the past.

In return we get a datastore that scales pretty much infinitely with our data sets, has performance characteristics that we are now well aware of and are able to reason about, and provides us cross-DC replication and topology-awareness. It took years to get to this point though, and to build the operational expertise required to run Cassandra. Only recently have we gotten to the point where teams are able to self-service provision their own Cassandra clusters.

This is a resilient, scalable solution, but if I were to quit tomorrow and start a five-person startup, there is no way I would consider C* as a workable solution.

rohansingh··on How to Ship a Beluga Whale via UPS
Note that he hired a team of veterinarians. Seems like the logistics expert stuck to his area of expertise and was wise enough to let other experts handle their part.
rohansingh··on GNU Hurd
Aren't these all "killer apps" for Linux?

  cp
  mv
  rm
  cat
  grep
  find
  ln
  head
  tail
rohansingh··on Why are interest rates so low?
The example you gave about Florida is actually very old, and is summed up in the "parable of the broken window": http://en.wikipedia.org/wiki/Parable_of_the_broken_window

As you can see in the Wikipedia article, there are actually many different interpretations and views on whether or not that rebuilding adds value to the economy.

rohansingh··on It’s Comcastic, Or: I Accidentally Bought a House Without Cable
Long-haul LoS can be pretty much impossible in parts of the Pacific Northwest due to the geography and ecology (read: hills and trees). The short point-to-point option with a cooperative neighbor could definitely work.
rohansingh··on Ask HN: Switching from OS X to Linux
Did you do anything for trackpad gestures? My last attempt using Linux on a MBP (~3 years ago) was abandoned because I couldn't get over not being able to do three-finger swipes, etc.
rohansingh··on App Container and Docker
Yup, saw that. I do hope you guys are able to figure it out and get things merged.
rohansingh··on App Container and Docker
Same here. It is a pretty huge PR though, without having gone through the usual design proposal process (i.e., https://github.com/docker/docker/blob/master/CONTRIBUTING.md...).
rohansingh··on Signing in to websites with SSH
We use a philosophically similar solution at Spotify: https://github.com/spotify/crtauth

The difference with crtauth is that you don't need an SSH server running in tandem, everything is handled by the crtauth library. Our main use case for this is for bots that need to access secure services.

Protocol spec: https://github.com/spotify/crtauth/blob/master/PROTOCOL.md

rohansingh··on OS X 10.10 – Source Code
> I've never seen anyone dig through VCS history to gain a better understanding of code.

git bisect, git log, and git blame are all indispensable tools. To counter your anecdote, I use them all the time and see others do so.

There's really no reason to leave dead imports in a file.

rohansingh··on Plastc Card
Not the case. For chip-and-PIN cards, the entire part of the card containing the chip needs to be inserted into a reader, as in this example: https://i.imgur.com/0nn5lpo.jpg
rohansingh··on Signaling Post-Snowden Era, New iPhone Locks Out N.S.A
The hilarious part about all this is that companies do market and sell closets that cannot be forcibly opened. This product is commonly known as a safe.
rohansingh··on Death Row – Last words of every Texas inmate executed since 1982
This one really hit me:

> The act I committed to put me here was not just heinous, it was senseless. But the person that committed that act is no longer here - I am. I'm not going to struggle physically against any restraints. I'm not going to shout, use profanity or make idle threats. Understand though that I'm not only upset, but I'm saddened by what is happening here tonight. I'm not only saddened, but disappointed that a system that is supposed to protect and uphold what is just and right can be so much like me when I made the same shameful mistake. If someone tried to dispose of everyone here for participating in this killing, I'd scream a resounding, "No." I'd tell them to give them all the gift that they would not give me...and that's to give them all a second chance. I'm sorry that I am here. I'm sorry that you're all here. I'm sorry that John Luttig died. And I'm sorry that it was something in me that caused all of this to happen to begin with. Tonight we tell the world that there are no second chances in the eyes of justice...Tonight, we tell our children that in some instances, in some cases, killing is right. This conflict hurts us all, there are no SIDES. The people who support this proceeding think this is justice. The people that think that I should live think that is justice. As difficult as it may seem, this is a clash of ideals, with both parties committed to what they feel is right. But who's wrong if in the end we're all victims? In my heart, I have to believe that there is a peaceful compromise to our ideals. I don't mind if there are none for me, as long as there are for those who are yet to come. There are a lot of men like me on death row - good men - who fell to the same misguided emotions, but may not have recovered as I have. Give those men a chance to do what's right. Give them a chance to undo their wrongs. A lot of them want to fix the mess they started, but don't know how. The problem is not in that people aren't willing to help them find out, but in the system telling them it won't matter anyway. No one wins tonight. No one gets closure. No one walks away victorious.

http://www.tdcj.state.tx.us/death_row/dr_info/beazleynapoleo...

rohansingh··on How we raised $484k on Kickstarter to make Glowing Plants
I'm confused, apparently Kickstarter has a ban on GMO rewards, but one of the rewards for your project is glowing seeds. Is that not GMO?
rohansingh··on PyPy.js: Now faster than CPython
Clean and efficient concurrency primitives? I think not? I would be very interested if that is indeed the case.
rohansingh··on Driver caught using cell phone jamming device
Really? Let's just hope nothing happens that requires someone to call 911 around you, finding themselves unable to and having emergency services be delayed.
rohansingh··on Ubuntu 14.04 LTS: the cloud platform of choice
The package name really shouldn't be lxc-docker anymore. Since v0.9, the default execution is libcontainer and not LXC. In later versions, LXC is likely to be deprioritized.
rohansingh··on Is There Anything Beyond Quantum Computing?
An object can accelerate arbitrarily, but in any reference frame it will never be traveling faster than c.

Of course, it won't collapse into a black hole, but the amount of energy needed to accelerate further will increase asymptotically.

rohansingh··on Google splits into GOOG and GOOGL today
All stop orders are canceled in case of a split. They will need to be replaced.
rohansingh··on You Got Your Web Browser in my Compiler
The unfortunate excerpts from this post that stood out for me:

> Without access to a lot of source code I can’t tell exactly what is going on, but...

> Until Microsoft fixes their compiler to not load their web browser it seems impossible to avoid this problem when doing lots of parallel builds.

In my past life developing applications and services on Windows, this scenario was too common — something is broken, you can't quite tell why because you don't have the source, and you can't do anything but wait for it to be fixed or find some hacky workarounds (which is tougher to do without the source).

This has been the real win on switching to an open source stack for me: you can take your tools apart, look inside them, and fix any issues. I know Microsoft has come further in this in the past few years, but it still sucks to be stuck in that kind of situation.

rohansingh··on Ubuntu 14.04 LTS (Trusty Tahr) Final Beta released
Nope, Python 2.7.6 is the default.
rohansingh··on Spotify – security team response time
I just checked our logs and we had a fix commit and built to stable within a day. We wouldn't wait around a week on something like this.
rohansingh··on Spotify position in support of systemd in the default init debate
The packages at release are more up-to-date, and the official backports repos are filled with newer versions.
rohansingh··on Spotify position in support of systemd in the default init debate
We're currently on Debian Squeeze so we need to move to something as Squeeze is approaching end-of-life.

If we stick with Debian, we'll find ourselves back in this situation fairly soon, since Debian's security team only supports oldstable for one year after a new stable is released (approximately — there isn't a set timeline available).

Ubuntu LTS releases, on the other hand, give us predictability and five years of support. That makes me very happy from an infrastructure standpoint. And the more up-to-date packages in Ubuntu repos make our feature devs happier, versus having to maintain backports for modern software.

rohansingh··on Spotify position in support of systemd in the default init debate
I should point out that while this is theoretically the official position of our infrastructure team here at Spotify, we've also got a lot of opinion and debate internally (like you have on any topic among a large team of engineers).

One other fun problem Spotify is going to tackle is how we're going to handle systemd vs. upstart if/when we transition from straight-up Debian to Ubuntu.

rohansingh··on Teleportation on the command line
For those who aren't familiar with it, autojump learns directories that you use often. This eliminates the need to add specific bookmarks.
rohansingh··on Spotify's mobile app finally goes free
Your functionality is unchanged. Free users who previously had no or limited mobile functionality have more functionality.
rohansingh··on Why the Web Won't Be Nirvana (1995)
There are two things to take away from this. The first is Clifford Stoll's own comment when his essay resurfaced over in 2010. The whole thing is worth reading [1], and it ends with:

> Now, whenever I think I know what’s happening, I temper my thoughts: Might be wrong, Cliff…

Secondly, while Stoll is wrong on many points in this essay, what's amazing is that he hits on things that were definitely broken or deficient in 1995 and had to be fixed to get us to where we are today:

* difficulty of reading on CRT screens

* lack of online payments infrastructure

* difficulty in searching and filtering through Web pages (i.e., search)

These were all very tough problems, and stacks of money have been minted by Amazon, PayPal, and Google by tackling them. I'm impressed by Stoll's ability to identify these problems clearly as early as 1995.

[1]: http://boingboing.net/2010/02/26/curmudgeony-essay-on.html#c...

← PreviousPage 6 of 10Next →