60 karma · joined Aug 14, 2010 (16y ago) · 37 submissions
[ my public key: https://keybase.io/fedesilva; my proof: https://keybase.io/fedesilva/sigs/fGJQ7Su1oBrrOqgigvaAEztUdAnr_pdC1TI-14bECX4 ]
comment 9y ago · link · parent
Examples of gross negligence: being dismasted in low or moderate wind conditions because lack of maintenance to the rigging and/or motor failing because of lack of a fuel filtering system, departing when conditions are obviously not favorable (wind against current in the Gulf Stream off the US coast).
There is no such thing as a clear line but it can be established for each case I think.
comment 10y ago · link · parent
Not saying it is ok to do it. Just that business will always pick the cheapest option they can get away with - that is, that does not affect the bottom line.
comment 11y ago · link · parent
You later speak of "hate" while justifying on the decision of one company your dismissal of a whole ecosystem. The chain reaction comment was tasteless and in no way looks like an opinion trying to make the platform better as a community.
If you don't like it, drop it.
Also FWIW in my experience with academics, most of them use Python, go figure.
-- EDIT
I don't usually reply to comments like this one but this time I could not resist. Sorry.
comment 11y ago · link · parent
Good for you if you rewrote it and it did solve your problems. Obviously it was not such a huge task, if it was, learning how to control those things would have been wiser.
In this specific case 'dispatchers' is what you were looking for (http://doc.akka.io/docs/akka/snapshot/scala/dispatchers.html) and it is quite flexible.
comment 12y ago · link · parent
Sometimes think I would love to have a layer between us and Java. Some sort of FFI which returned everything on an Option.
Probably too cumbersome, but still ...
comment 12y ago · link · parent
comment 12y ago · link · parent
comment 13y ago · link · parent
comment 13y ago · link · parent
One minor nitpick that can be of help when dealing with tuples: A partial function ( {case xxx => yyy} ) is a Function1 so you can use it with map and filter. This way you can deconstruct tuples into names and avoid using _1, _2, etc. { case (name, value) => blah }
https://github.com/MojoJolo/textteaser/blob/master/src/main/... could be made more readable by giving names to the tuple elements.
Thanks for publishing this code. It yields impressive results.
comment 13y ago · link · parent
Since I started writing Scala I got used to immutable data and the reverse happens to me when coding in imperative style in other langs; that I pass something and it gets "locally modified" feels awkward. Preposterous even.
Regarding Go and the "also the anti-Java" part: I really don't think so.
They have made some decisions that seem to me a reaction to c++ and that at least is similar to Java. Some of them seem simplistic not simple: for example "There is no inheritance!" (one one one) but I really don't know how implicit structural subtyping will work out in the long run.
What I really envy from Go is the "compile and link to one executable" from an ops point of view.
Time will tell.
[Edited to add envy part, and rewrite a phrase]