@veer66 I wrote that predicate; it isn't in core. It works by ducktyping in a try-catch: attempt to (deref) the thing or catch error and false. I hate relying on try-catch like that, and ducktyping is not robust.
The Stack - a 3TB dataset of permissively licensed source code
https://community.libretranslate.com/t/the-stack-a-3tb-dataset-of-permissively-licensed-source-code/380
Whoa. Mastodon (qoto) has circles now? I loved Google Plus, and know those are now in Twitter, too. Are they basically persistent chatrooms? #noxp
@winenous Oh, it's been around since before "software engineering" became a thing. But logging is not something taught in beginner courses or undergrad CS courses. It is far from "hello world". It is like an extra-curricular topic.
@borkdude Hey! You're on Mastodon now! Welcome! Also, hooray for Cherry. How is it with the main tooling (hotloading, reagent, etc)?
Oh look, #cherrycljs on HN front-page :)
RT @dustingetz
What are the scalability limits of Postgres in various configurations? I.e. global record count, table record limits, number of tables, transactions per second, records per year, read scalability limits with and without read replicas, etc?
In #clojure, select-keys against a set instead of a vector must be better or worse. Does using a set actually help? `(select-keys {:foo 1} #{:foo})`
#clojure Logic: "if it's not an atom, make it one." Note that `atom?` is not in core.
I'm not ashamed but can anyone think of more elegant way to do this?
@derickflorian Yeah, I have a few of those, too. It's nice when someone has done some of the heavy lifting for you.
In that first decade of learning to code, "logging" was not a concept. Something so painfully useful that seems so simple until you dig in... #logging
@davoloid Welcome!
RT @borkdude
#ClojureScript Reimagined at @ClojureDays
Slides:
https://speakerdeck.com/borkdude/clojurescript-reimagined-dutch-clojure-days-2022
(PDF: https://www.dropbox.com/s/955jgzy6hgpx67r/dcd2022-cljs-reimagined.pdf?dl=0)
Links:
https://github.com/babashka/sci
https://github.com/babashka/nbb
https://babashka.org/scittle
https://github.com/BetterThanTomorrow/joyride
https://github.com/squint-cljs/cherry
https://github.com/squint-cljs/squint
#clojure #dcd22 https://twitter.com/jmglov/status/1586380914757894144
Full Stack Clojure web app engineer