Show newer

One of the big downsides to being a hosted language like is that, regardless of how awesomely stable the ideology with the language itself, you can't avoid problems if your host decides to make breaking changes. I am still doing damage control on the painful 9+ , where they decided it was time to shrink Java's core library and various dependent packages broke.

I am at a loss in my app. I've loaded a dependency which has cljc code and works fine in other apps of mine. But now when I load it in cljs, it is all nil. Kondo reads it and knows, eg, function signatures for it, but any effort to use it from the repl is just a lot of nil. I have restarted the repl multiple times, but no dice. "type" on any of it, even the NS declaration, is "nil". But Kondo knows it fine. What!?

RT @ericdallo
More than 1000 Nubank Clojure services/libraries already use clojure-lsp (and clj-kondo under the hood) as the linter for formatting, clean-ns, and diagnostics 🎉

Listening to a webdev podcast I enjoy, whenever the show runners bring up Typescript (all the time), I mentally substitute specs.

Finally used fnil in : to extend a function to support nil case without NPE-ing you! My use: a function that needs to handle strings, collections, or nil, and doesn't know which it will get.

I oversaw the creation of a app for room five years ago. It has been good, and has been in heavy use since then -- but suddenly has some issues, probably from logic -- and I desperately want a a la .

The data coming through the pipeline on one view was missing a crucial piece. It was sweet to be able to add it to the back-end function that is gathering the data, evaluate the form, and boom! It was there for my front-end view as soon as I used my usual endpoint.

I have my to both a file and database. It appears to just STOP after a few minutes of operation -- but we have no idea why. Restarting fixes it for a few minutes. WHY?

RT @fndriven
To Dos:
- Hammock time and think about ...
- ... how to create a XTDB query (Datalog) programmatically

RT @fndriven
In the past weeks I had fun with biff. It taught me a ton abt backend programming. I upgraded my project several times with no problems. Only problem was me trying to fight the framework bc I'm only used to do SPAs. Time to remove the printlns. biffweb.com/

RT @borkdude
Rich Hickey's view on static types as a modeling language (similar to UML):

youtu.be/2V1FtfBDsLU?t=3965

I have had several problems lately where I never come to understand a "why?" but have a good work-around.

In reagent (react), why was stuff having bizarre browser focus errors if I PASSED a value from my front-end DB, but fine if I gave it the info to retrieve that value itself?

RT @SeanCorfield
Shout out to Ning Sun sunng for github.com/sunng87/ring-jetty9 great Ring adapter for Jetty 11 w/WebSockets (despite the 9 in the name). Very responsive OSS maintainer!

Show older
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.