HNHacker News
TopNewBestAskShowJobs

state_machine

1,223 karma · joined September 20, 2010

http://davidt.io
submissionscomments
state_machine··on Send money with Gmail
Stripe has amazing support, even proactively reaching out when weird things happen:

Got a 500 error back from their API once and had an email from one of their engineers in my inbox almost immediately after to find out what happened and resolve it (my http lib was using stale DNS).

state_machine··on Traceroute from a Norwegian Airlines airplane
This (Air-to-Ground) is what Gogo does, using EV-DO Rev A.

http://en.wikipedia.org/wiki/Gogo_Inflight_Internet

Last couple flights I've usually seen latency between 300ms and 3500ms, 8-10% packet loss. They also seem to use Squid proxy, which doesn't understand WebSockets.

state_machine··on Introducing Graph Search
You're describing foursquare.
state_machine··on Using Scala to handle exponential growth at a startup
answered below in https://news.ycombinator.com/item?id=4939788
state_machine··on Using Scala to handle exponential growth at a startup
As someone who has used Lift in production on a non-trivial webapp for the last 18 months, and has used Play 1 and 2 in both Java and Scala for side projects, I would not recommend Lift.

The "the-view-is-the-controller" approach encourages a messy blend of logic and presentation, with lots of HTML ending up in your Scala code.

It's stateful in the extreme, using opaque callback identifiers to identify serialized closures, so rather than having a nice, clean, easy to reason about boundry between your app and the outside world (your routes file, controller methods, whatever), any code anywhere could be invoked by someone clicking something in their browser.

Validation now needs to be enforced in the models, since you no longer have a single place to check it as it comes in. It goes beyond that and embeds rendering logic in models, which have to toForm method which generates HTML.

The extreme statefulness also means you lose everything when you roll a server, you need sticky sessions, you spend way too much time GC'ing and you need far more RAM/user.

state_machine··on Using Scala to handle exponential growth at a startup
There is also Lift, one of the early scala web frameworks, but after using it for over a year, I'd say stay away.
state_machine··on Tumblr just dropped out of DNS
Incidentally, this means every startup (and some of the bigger kids) that hosts its status page on Tumblr is missing a status page at the moment... eg: http://status.twitter.com
state_machine··on Gmail.com was down
fwiw, gmail's imap servers seem fine -- I'm still getting emails in sparrow.
state_machine··on Vice leaves EXIF location in Guatemala on photo of McAfee
Considering the guy is is/was a computer security researcher, I wouldn't put it past them to have planted this.
state_machine··on E-Ink Case Turns the Back of Your Phone Into a Second Screen
> There is a micro-USB charging port on your popSLATE that passes charge through to your phone so you don't have to take the cover off.

Almost as appealing as the screen is that I could charge my phone with any Micro USB cord, instead of these $20 Lightning cables.

state_machine··on The Magazine
To what industry is The Economist specific?
state_machine··on Live air traffic of the world
Pretty, though, just to nit-pick since I happen to be sitting on a plane, seems to be not quite live: http://cl.ly/image/002u2g152Y0T
state_machine··on Delta Refuses to Let Passenger Fly Over Shirt (and Race)
I sure hope we're entitled to free speech.
state_machine··on Privilege Escalation/VM-to-Host Vulnerability on Intel 64 bit CPUs
Cached: http://www.kb.cert.org.nyud.net/vuls/id/649219
state_machine··on Facebook closes at $38.23 first day NASDAQ trading, above IPO price $38.00
This is the greenshoe option at work:

When the price is determined, the shares are ready to publicly trade. The underwriter has to ensure that these shares do not trade below the offering price.

If the underwriter finds there is a possibility of the shares trading below the offering price, they can exercise the greenshoe option.

http://www.investopedia.com/articles/optioninvestor/08/green...

state_machine··on Head of Time Warner Cable Unfamiliar With Apple's AirPlay
Yes.

First, despite the simplification of the cables, physically connecting it can still be a challenge, for example if there's no convenient place to put a laptop within 6' of the TV. And power for the laptop there too.

Second, once its connected, it's no certainty that the external display will be correctly detected or set to the correct resolution. Is the picture streched? When you hit full-screen, does it only show on the laptop? Is sound going over HDMI too? Tinkering with settings and troubleshooting a multi-monitor setup can be intimidating for the "average consumer".

Even if you get everything setup, many laptops do no come with remote controls, and long HDMI cables are uncommon.

I've owned or own a Roku, a TV which had USB and could play anything FFMPEG could read, a PS3 with netflix and recently an AppleTV+iPad.

I'd consider myself reasonably technically inclined and have had an HDMI cable which comfortably reached my couch for quite awhile but I still use that as a last resort for content I can't play some other way.

state_machine··on The ugly side of Kickstarter
"I’m going to go ahead and call it: We’re a few months away from the first Kickstarter scam or controversy. There is too much money at stake and too little critical thinking at the moment, and that’s an inviting situation for people looking to make a quick buck."
state_machine··on California Proposes Rules For Autonomous Cars
DARPA Urban Challenge (2007): http://www.google.com/search?tbm=vid&q=darpa+urban+chall...

Several teams competed, entering driverless cars which interacted with each other and some vehicles operated by real people on a closed course. Carnegie Mellon's Boss car completed all the DARPA conditions and won the grand prize.

state_machine··on Recap on our Anti-SOPA Campaign: 15,000 Faxes Sent to Congress
I sent one of those.

I was surprised when I got an email the next day from my congressman thanking me for contacting them and promising a longer reply once they caught up on their backlog.

Whether they OCR'ed it or had some intern doing data entry, either way, they at least extracted my email address from the fax and emailed me, giving me the feeling someone noticed it.

state_machine··on A Perl Regular Expression That Matches Prime Numbers
Beware: Depending on your backtracking limits, at some point the regex will start deciding numbers are prime that aren't.

http://zmievski.org/2010/08/the-prime-that-wasnt

state_machine··on Facebook settles with FTC, under privacy watch for 20 years
The best part is when you get to the footer and see: "Like the FTC on Facebook".
state_machine··on Grove.io: Hosted, Searchable IRC Chat For Teams
> chat itself is no service anymore

And yet lots of shops pay 37signals for Campfire

state_machine··on Show HN: IMDb Top 250 available on Netflix Instant
Unfortunately, you can't section off separate streaming queues though.
state_machine··on Carnegie Mellon creates fund to invest in its recent graduates
I graduated from CMU yesterday:

I'd say skip the job fairs: In four years, I never considered attending one because they are mostly perceived as boring among your likely target demographic.

Some companies come and give talks about their infrastructure or technology -- these were always what got me excited and interested. I also really enjoyed a few of the competitions and challenges (like Facebook's and Yahoo's).

Just being on campus and doing events which give students a taste of the excitement of creating something would probably generate much more interest than you're seeing now.

I already knew I wanted to work at a startup a year ago, so I had to actively ignore the constant recruiting from the big names while putting effort into chasing down leads with startups. Had I not already known what I wanted (from past internships), it would have been much easier to just sit back and take the pitches which came my way.

Bottom line: come woo us with talks about the cool stuff you do. Send your engineers along too to talk shop with us. Run hack sessions and showcase the winning apps. Show us how much more fun we'd have doing things your way, as opposed to Microsoft's, and you'll have the students you want lining up to apply.

state_machine··on Lodsys explains in-app patent warning letters sent to iOS developers
Attention Anonymous: a new target for your roving DDoS has made itself available. Get to work.
state_machine··on Should Smallpox Be Put To Death?
It was probably easier to get rid the first time than it would be a second time given the increase in air travel and density in population centers that has occurred since then.
state_machine··on News:yc was rejected from the App Store
If you're not going to be on the app store any time soon, those of us who have not chosen to pay the $99 to compile code for the devices we own might really appreciate an ipa.

I completely understand if you'd rather wait and see if you can get revenue from it before making that choice, but just know that you do have an eager and ready audience if you decide to pursue other means of distribution.

state_machine··on Your New TV Ruins Movies (about LCDs and motion smoothing)
Another offender is Netflix on the PS3: The PS3 has a 24p mode (for Blueray playback) but the Netflix app appears run at 60Hz.
state_machine··on Buying Copyrights, Then Patrolling the Web for Infringement
Actually, according to Ars, it looks like they're not even buying the rights, as in the exclusive rights, as enumerated by the copyright acts (which, importantly, do not include a specific the right to sue).

http://arstechnica.com/tech-policy/news/2011/04/righthaven-r...

state_machine··on Bill Gates On Nuclear Energy: Compared To Coal, It Is Still Safer
It's not like coal's figures have deaths attributable to massive CO2 emissions dramatically changing the climate over the next couple centuries factored into them either.
← PreviousPage 2 of 3Next →