Show newer

@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.

Anyone know a better way than ducktyping for a CLJC way of writing a predicate `atom?` They are different types in CLJS (cljs.core/Atom) vs CLJ (clojure.lang.atom).

Whoa. Mastodon (qoto) has circles now? I loved Google Plus, and know those are now in Twitter, too. Are they basically persistent chatrooms?

@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)?

I'm conflicted over whether PHP being "very much alive" is a bad thing :) Unlike Clojure, it is inarguably badly designed. But by sheer inertia it has has exceeded its design and actually works well

I'm conflicted over whether PHP being "very much alive" is a bad thing :) Unlike Clojure, it is inarguably badly designed. But by sheer inertia it has has exceeded its design and actually works well

RT @jakub_tobiasz
@enunomaduro Many people still see PHP through the prism of the PHP < 7.0 era. Also, for many people, PHP = WordPress, which is poorly written for 2022 standards.

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 , 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})`

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?

I really like the feature on my instance () where I can make a list that shows posts with any of a set of hashtags. I've got one list that shows me all posts tagged or , and another that shows me anything tagged , , , , or .

@freemo

@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...

RT @pappapez
I tried how Emacs Paredit behaved around a thing. Just so that I can decide around how it should behave in Calva. Took me so much time and so many tries to just test this little thing. What a strange application Emacs is. It's like entering a separate universe.

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.