This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-04-01
Channels
- # announcements (54)
- # asami (3)
- # aws (5)
- # babashka (8)
- # beginners (64)
- # biff (27)
- # calva (11)
- # cider (41)
- # clj-otel (7)
- # cljdoc (72)
- # clojars (20)
- # clojure (159)
- # clojure-austin (3)
- # clojure-europe (143)
- # clojure-italy (1)
- # clojure-nl (5)
- # clojure-norway (3)
- # clojure-uk (3)
- # clojurescript (19)
- # community-development (1)
- # core-typed (5)
- # cursive (3)
- # datalevin (1)
- # datomic (8)
- # emacs (13)
- # fulcro (4)
- # google-cloud (4)
- # honeysql (25)
- # java (1)
- # jobs (1)
- # lambdaisland (3)
- # lsp (121)
- # off-topic (52)
- # other-languages (1)
- # re-frame (3)
- # releases (2)
- # remote-jobs (1)
- # shadow-cljs (36)
- # sql (4)
- # xtdb (36)
I have nightmares from when I used to operate clustered mongo back in my devops days about getting paged in the middle of the night about it splitbraining. I still occasionally get stackoverflow rep from https://stackoverflow.com/questions/33400607/how-do-i-rename-a-mongodb-replica-set I https://stackoverflow.com/questions/32097209/force-mongodb-to-output-strict-json documenting things I spent hours discovering about seemingly basic stuff. Suffice to say that apart from all its other issues, operating mongo at scale was not a lot of fun.
For a long time their backups weren’t transactional, so if you didn’t shut down traffic to a cluster before running a backup it was possible to make unrestorable backups
Also there was the one time they released a non-beta version in which backup/restore just…didn’t work. Like under any circumstances, it just exited with an error or something. It was fixed within a week, but still. Did not inspire confidence
Hello. There was an app I came across recently that provided a simple dashboard of all other apps that you could launch or use. If I remember right, it had an 80s like interface. I can’t remember the name, and neither am I able to search for it effectively. Does anybody know what the hell I’m talking about or do I need to go see a doctor?
The amount of work doesn't even compare. At the time, MongoDB said that one needs at least a replica to guarantee data consistency. If you apt-get install postgresql
or even mysql
, you kinda already have this data consistency. Also, MongoDB didn't have transactions, so it was consistent for a single operation; it also didn't have any kind of join, so you either had to denormalize, or everything would be joined in app space - n+1 queries were the norm, not the exception for multiple situations.
Sure, it was easier to add replicas to MongoDB than it was to add for PostgreSQL, but I mean, it's a different history between "can do it" and "need to do it"
For the past year or so, there has been some interesting ideas and libs popping up about Clojure and native code. With Java 17 offering a better way for calling native functions, which has been historically tedious, the future is now. Since Rust has often been mentioned as a great match for Clojurists, here is a basic "Hello World" example to get going, hopping it will inspire interesting projects: https://github.com/mTvare6/hello-world.rs https://github.com/mTvare6/hello-world.rs/blob/master/src/main.rs offers great insights By the way, it's blazing fast 🚀
![thisisfine](https://emoji.slack-edge.com/T03RZGPFR/thisisfine/e1af64abe6c58963.png)
I need to look into it. I'm mostly concerned with how to package it. I guess for best performance and compatibility, you need to include several native builds, for different platforms, in the jar?
That's one way, but it's memory safe you know 🚀
It could very well be But given the current state of building modern software, it's hard to tell, isn't it
Lol, I didn't check the project first. But seriously, for example with Kafka, there are basically two clients, a Java one, and one in c/c++ that's used with a lot of other languages. I think/hope it would be viable to only have a core in Rust, and a shallow binder for all other languages.
https://github.com/mTvare6/hello-world.rs/issues/166#issuecomment-958670812
@adam678 I have some Clojure + Rust code here: https://github.com/borkdude/clojure-rust-graalvm I haven't tried the Java 17 stuff yet
That's actually a legit example and a useful one 👍
oh that's funky, but not too bad. I liked the terminal one, once my eyes adjusted to the searing burning sensation.
I hope it’s okay to post here, I am not affiliated with him: Sam Aaron is running out of money for SonicPi and looking for (SonicPi-related) work. https://twitter.com/samaaron/status/1509806787544989709
He is also on Patreon, I just bumped my support to the next tier: https://www.patreon.com/m/222270/posts
tools.misc: a project like clojure.tools.logging but more general. feedback welcome! https://github.com/clj-easy/tools.misc
There was this nice blog post a few days ago about this guy who worked at Cognitect/Nubank, where they wrapped all third-party libs with their own api protocols like this. He now works for lambdaisland IIRW, where they don't. What was interesting in his article was the practical considerations about REPL-driven development. I think he said they found this kind of use for protocols hindering that.
Found it: https://philomates.github.io/articles/2022-03-24-contextualizing-clojure-in-the-small-and-large/
@U0514DPR7 He's actually kind of colleague now at Nextjournal where I also work 2 days in the week
There definitely is some appeal to tools.misc, especially once (I believe) it becomes clear which parts should be considered RFC, and which ones should be considered Stable-v1-use-it. Obviously, for now it's all RFC. 🙂
I think that tools.misc is too new and the last commit needs to be made in 2016. Then I'd consider using it 😄
@U028ART884X Sure :) But to have such a thing in 2027 we need to start now ;)
At this point I'm not sure anymore if it's April fools or not. Probably both. 😄
Also, you need to create 4872 issues. Nothing says current and maintained like an insurmountable amount of outstanding bugs!
This is some state of the art for you: https://github.com/facebook/create-react-app/ They were supposed to ship one command ("Set up a modern web app by running one command.") but look what they've done.
> There won't be bugs since there won't be implementations There's a bug in this comment, @U04V15CAJ, since you wrote in the doc that there might be default implementations. :)
BTW, in French, "défaut" means bug. So if I were not such an astute English reader, I'd understand: "there might be buggy implementations". 😄
@U04V15CAJ You could call it "tools.misc standard/blueprint" and then the implementations could remain placeholders. And then developers and companies could implement their own. And then you could monetize your effort this way. One more area for consulting.
https://github.com/mTvare6/hello-world.rs/issues/166#issuecomment-958670812
I'm glad I'm too late to announce for this week's Deref! https://twitter.com/borkdude/status/1509933579937226759
![borkdude](https://emoji.slack-edge.com/T03RZGPFR/borkdude/591529bdc79d2dbe.png)
Does it support JSON?
Does System.exit(-1)
work the same as in Java?
I think in functional languages you want to return the status. So this does that immediately and it's great that you embrace it.
I think npm
and other evil tools keep the status for themselves. Will I be able to circumvent their wrapping in some way?
Do you also plan to release a version that could call assembly-level interrupts?
this is great! I'm hard at work at a clojure that you write using XML!!
@U028ART884X yes to all of the above, it will absolutely aspire to be everything to everyone!
Yes, finally! Now I can use JavaScript to write my JavaScript, all conveniently configured with JavaScript.
nice - I was just tinkering with antlr grammer + clojure to transform vbscript into clojure code - maybe I can leverage bbjs in that hodgepodge to handle the JSCript parts
Such a good run, love the energy from the crowd :woman-mountain-biking: https://www.youtube.com/watch?v=EKKtVb5Jprc