This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # architecture (12)
- # aws (8)
- # bangalore-clj (1)
- # beginners (172)
- # boot (25)
- # chestnut (3)
- # cider (15)
- # cljsrn (5)
- # clojure (170)
- # clojure-india (1)
- # clojure-italy (21)
- # clojure-nl (87)
- # clojure-romania (3)
- # clojure-sg (1)
- # clojure-spec (1)
- # clojure-uk (79)
- # clojurescript (79)
- # cursive (2)
- # datomic (29)
- # dirac (26)
- # emacs (7)
- # fulcro (13)
- # jobs (4)
- # juxt (22)
- # lein-figwheel (1)
- # leiningen (2)
- # lumo (39)
- # nrepl (1)
- # off-topic (54)
- # onyx (124)
- # pedestal (1)
- # planck (4)
- # portkey (1)
- # re-frame (36)
- # reagent (2)
- # ring-swagger (8)
- # shadow-cljs (107)
- # spacemacs (1)
- # specter (25)
- # sql (7)
- # tools-deps (5)
- # vim (10)
- # yada (25)
Morning, leaning rust in the train. Code will not compile if you have a race condition, and will point exactly to the problem.
that is quite interesting. does it only work in simple cases, or also more involved race conditions ?
i'm throwing away datomic today and replacing it with postgresql -- probably going for hugsql as the interface
yep, i do really really like datomic, so in a way it's sad to do this.. but it would be a solution that mainly satisfies my nerd-interests.. operationally it's so much easier to be able to fire up a cloud-managed postgresql db
@lmergen if it will make your life easier -- you're welcome. If it doesn't -- I never said such a thing 😛
There are some things you could do terribly wrong, like putting the log in /tmp but we were quite successful running kafka in porduction, even with docker, There no also an option from Confluent to run Kafka on Kubernetes.
and when you go that way, you might as well use something like Kinesis Firehose / Google PubSub
True, I first also wanted to use Kafka for a pet project, but more because I could do something with Kafka again, and because I knew Kafka. Now it’s working far simpler and faster with Redis.
on one of the projects I worked on we used kafka and it worked reasonably well. but we didn't have a very big load though.
and I heard about horror stories as well. seems to be related to ZooKeeper from what I have heard.
At the Rabo Bank there are now moet than 50 services using it, at it contains all the transactions. But we where lucky to have months setting it up and also heavily tested it in a test environment. If you rush to production all sorts of things can go wrong.
why don’t we all focus on contributing to existing projects that are great instead of re-inventing the wheel everytime: we have dozens of “plain sql” libraries, configuration libraries, etc. let’s just make one thing great instead of diffusing the effort.
Datomic is great when you need a lot of flexibility and history. But a lot of project don’t require it.
It would be nice if you have a jpa-like libary for clojure, just have your types specced in a namespace, and maybe also spec your queries, and everything like setting the schema’s in the database, and generating the sql queries will be done automatically.
@lmergen yes, that’s totally different from my situation, where we where we started with 3 people and eventually 5, and it was clear from the start it should become a major important part of the infrastructure.
The time spent debugging hand written SQL queries is far less than these kinds of solutions in my experience. Also when you hand write you get to test these queries in pgadmin/psql or what have you and optimize, tweak them, like in a REPL. You get to use the full feature set of the database, like jsonb, etc.
I have pretty good experienced using Spring data with JPA, and something I miss in Clojure.
I did a project with Play framework once. We had a heissenbug in the ORM layer… it was gone when we upgraded Play. Never discovered the bug.
but yeah i do sometimes see these java projects with Spring and it makes a lot of things really, really easy
and these people are going full Stockholm-syndrome about it, in that it's actually a feature
Tonight a friend will visit with his Arduino board because he wants me to program something for it. Never touched Arduino before. Can I just install the Arduino IDE and then load the code via USB on my Mac?
I’m more interested if this http://datafusion.rs takes off - I’m following it closely 🙂
And we all know every program that was rewritten in from C -> C++ -> Perl -> Go will be rewritten in Rust now
Also, I’m using Alacritty as my terminal for over a few months now - so Rust is in production on my machine
hmmm I have to use Spring/Hibernate and I'd rather use Clojure/SQL I think. partly because I know it (better)