News for hackers. Stuff that matters.

vbhavsar

The prevalence of jughandles in the state.
Re:IBM's Lost Decade on Monday February 03, 2020 @11:40AM (#22225827)
I don't know why people overlook the progress IBM seems to have made in the quantum computing world. Perhaps not as impressive as Google's progress but impressive none the less.
Re:The Drug of Choice for the Age of Kale on Wednesday September 07, 2016 @05:43AM (#12441942)
Very well said.
Re:Rage Against the Finite-State Machines on Sunday April 03, 2016 @08:02AM (#11415824)
We make extensive use of Akka FSMs [1]. I find their implementation to be a lot more intuitive and less verbose than the Erlang implementation. Of course, that is in large part due to Scala's succinctness and fantastic DSL support.

FSMs make it so easy to read and debug code. It helps that Akka uses an actor system (based on Erlang's actor system), which simplifies dealing with concurrency.

> However, if the dog is sitting and you pet it, we have no idea what might happen. In the Erlang world, the dog could crash (and eventually be restarted by its supervisor).

Akka FSMs have a whenUnhandled state which can handle any event that your FSMs don't explicitly handle. Also, not handling an event doesn't cause the actor to crash. The event ends up being dead lettered.

[1] http://doc.akka.io/docs/akka/snapshot/scala/fsm.html

Re:Opt out of Google using you as an ad on Friday October 11, 2013 @04:50PM (#6535862)
> The contrast with Facebook couldn't be more stark.

Wouldn't it be more stark if Google didn't do this at all?

Re:Delhi Hackathon September 2011 on Thursday September 01, 2011 @11:54AM (#2950514)
> Cost: Free*

with no corresponding *... huh?

Re:Ask HN: Ideas for weekend projects? on Sunday September 12, 2010 @09:06AM (#1683590)
You can just enter the url of the Craigslist post at the end of your mail.