Show newer

It's Friday night and I am worn out with font-juggling and red asterisks... .

We ran into an issue where duplicate input was causing bizarre behavior -- filtering our things was accumulating with each filter, and certain items would continually match our filter regardless of how weird the filter was. Final answer: React (reagent) keys that were not made duplicate-safe! It was those errors we've read about for years but never seen in action.

Clojars new security things prevented me from creating a new project, and an hour of reading later and I might be getting it verified today so I can resume work. The security upgrade is a necessary thing with clojars, but it adds real persuasion to the idea that I switch to deps.edn and use direct git sha codes, cutting out the middleman. I would then need to replace the considerable tooling I have in leiningen, though...

The power of regexps and emacs. Turn copy-pasted strings into data-structures of three items. This would be much harder without lisp syntax.

Well, that was annoying. Clojure.math/floor must have an opposite, right? But contrary to normal style, I had to look up the documentation to find out why it wasn't "ceiling"

It seems that unit testing and private functions are opposed by convention in Cider and presumably other places -- a fact that can make TDD difficult since, hey -- I need to test that each line of the data spec is handled properly, but those shouldn't be exposed to library users. Solution settled on making a quasi-private namespace where we hide things that drive the main api functions -- technically still public, but documented for clients.

RT @daslu_
Recently I've been affected by mindful chats w/ @otfrom @kloimhardt @reborg @kiraemclean @TeodorHeggelund @lambduhh @metasoarous @ezmiller about community & knowledge building. Wholesome people are putting their thoughts into making things friendly. It makes me hopeful.

RT @borkdude
Dear hackers!

I've put up babashka.org/toolbox/ now which is a direct port of @weavejester 's clojure toolbox!

If you know more libs that are bb compatible, please submit a PR to the repo.

In when a function exceeds 2 sequential args it's time to consider using a map instead. In shell scripting, when bash exceeds single-level if statements, time to consider . Avoid questions like, "wait... has bash semantic whitespace?" "Do I need semicolons after every line?"

RT @dustingetz
3360 LOC for all of Photon, compiler, runtime, server, and standard library, including photon-dom (350) and photon-ui widgets (350) and including a bunch of inline RCF tests for the compiler which is too hard to factor out. + an additional 1200 LOC of language tests.

RT @RobStuttaford
So thankful that I can hotpatch servers via remote REPL in an emergency

Show older
Qoto Mastodon

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