1,191 karma · joined Oct 14, 2012 (14y ago) · 425 submissions
comment 14y ago · link · parent
CouchDB is more C++ than Erlang these days, bad example. It hasn't been mostly Erlang for a really long time. Erlang basically only does the clustering behavior, which is something Zookeeper et al. do already.
Riak is the only solid example out of those you listed, and its known for having poor raw performance, excellent availability, easy clustering, and awful usability.
comment 14y ago · link · parent
The apprentice is lax, undisciplined, and writes buggy code.
The journeyman sees all that he has wrought upon the poor world with his awful code, and immediately takes to applying every precept he can to produce rigorously engineered and stable code.
I leave it to the imaginations of others to perceive what might lay in the third step.
comment 14y ago · link · parent
They're all built with with the presumption that the person doing the frontend work (HTML, CSS, JS) will also be doing the backend (Clojure, database) coding.
This is almost never the case in my line of work.
Hiccup violates this principle by embedding the html in my Clojure and Enlive couples markup with data tightly in ways that horrify me.
The only approach I've seen that could work for more serious projects is using stencil because then the map of data you pass to the template-side is a 'contract' of sorts, but they can work with the data you pass however it works for them.
That's somewhat regrettable as I prefer Jinja-style templating to mustache, but Stencil (mustache) is the only viable alternative I've found.
I cannot possibly be the only person with a keen interest in Clojure who hasn't abandoned division of labor.
comment 14y ago · link · parent
I'm sure he's aware of it, but I doubt he took it incredibly seriously unless he has a very specific strategy in mind. He's explicitly avoiding the Dynamo model for a lot of reasons.
The mixture of composite types and mutation-centric semantics have boxed Redis in a bit, although I love using it.
Hickey was probably right. Pity Datomic is commercial.
comment 14y ago · link · parent
jedberg already asked for a compare/contrast, but let me provide some specifics I care about that you might be able to answer.
1. Is it fair to say that thanks to MVCC, running an aggregation or map-reduce job isn't going to lock the whole damn thing up like it does on MongoDB?
2. You've got a distributed system that is seemingly CP, do the availability/consistency semantics compare with HBase? Master-slave? Replication? Sharding?
3. Latency is a big one for us and is a large part of why we use ElasticSearch. How does the read-latency on RethinkDB compare with Mongo/MySQL/Redis/et al ?
comment 14y ago · link · parent
I'm now faced with either getting a little more sleep, getting to read a book series I started recently, trying to get some of my russian studies done, or maybe actually learning something about programming today.
I think I developed more as a person when I was working a 9-5. I never even got to experience the freedom of academics, because I couldn't afford to go to college.
Fuck it, I'll read another article about monad transformers and then pass out.
comment 14y ago · link · parent
I also have a long and storied history of despising ports. I'm convinced that people that actually like ports have nothing better to do with their time than compile/tweak packages.
comment 14y ago · link · parent
Scala is neat, but the time I couldn't get sbt to run because it kept running out of memory, after having had no trouble with it for months, I decided it was time to rm -rf my scala install.
I have a lot more background with Clojure (Lisps, really) anyway. I'd enjoy something with a more informative/helpful type system but Scala and Haskell are too broken, irritating, and unproductive for me.
For people like KirinDave who've crested that mountain with Haskell, more power to them.
I have to ship product ASAP and don't have time to wrangle with parser combinators just to read some XML though.
comment 14y ago · link · parent
Yes, except for Haskell. I did a fair amount of CL back in the day and I'm relatively comfortable with Clojure now...but Haskell is pain incarnate.
BSDM, pain, discipline, whips, and chains programming language of the century. That crown was stolen from Ada and covered in thorns and lambdas.
GHC: BWAHAHAHA! Infinite Types? YOU FOOL! THAT IS VERBOTEN!
On a more serious note, Haskell is fantastic until the moment you exceed its sweet spot. Once you leave that realm you have entered the world of pain, functional reactive programming, monad transformers, and true horror. The slope for "affordances" compares poorly with Lisp's knack for letting you spin a DSL or solution to a problem that reduces pain and improves expression. The laziness and space leaks are an unnecessary horror too. I'd rather something like a more powerful OCaml, given the choice.
comment 14y ago · link · parent
Nevertheless, a rundown of the gotchas and how to avoid them based on experience beyond simply running apt-get install mongodb is one of the most useful pieces on MongoDB I've seen of late.
The only new-news for me was that SSL support isn't compiled in by default. That's pretty irritating. I wonder if that applies just to 10gen's packages or also to distribution provided mongodb packages.
comment 14y ago · link · parent
Let me take a guess though:
Things you enjoy: [backend-code]
Things had to do at the startup: [buckets, frontend-code, backend-code]
Things you have to do at a big company: [backend-code]
Thus making the big-company more pleasant because you didn't enjoy frontend or bucket filling?