This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-04-04
Channels
- # announcements (28)
- # asami (12)
- # aws (3)
- # babashka (69)
- # babashka-sci-dev (34)
- # beginners (52)
- # biff (3)
- # calva (20)
- # clj-kondo (4)
- # cljsrn (4)
- # clojars (1)
- # clojure (90)
- # clojure-czech (2)
- # clojure-europe (33)
- # clojure-nl (11)
- # clojure-norway (35)
- # clojure-seattle (1)
- # clojure-uk (5)
- # clojurescript (87)
- # cursive (10)
- # datascript (5)
- # datomic (35)
- # defnpodcast (1)
- # emacs (8)
- # events (4)
- # fulcro (1)
- # google-cloud (2)
- # graphql (2)
- # hispano (2)
- # honeysql (5)
- # hoplon (2)
- # hugsql (1)
- # jobs (7)
- # kaocha (9)
- # lsp (102)
- # meander (13)
- # observability (7)
- # off-topic (56)
- # overtone (2)
- # pathom (47)
- # podcasts-discuss (1)
- # rdf (30)
- # reagent (16)
- # reitit (1)
- # releases (2)
- # remote-jobs (26)
- # rewrite-clj (10)
- # tools-deps (4)
- # vim (5)
- # vscode (4)
- # xtdb (41)
HugSQL 0.5.2 (and followup 0.5.3) released with the following changes:
0.5.3
• cljdoc-related fixes; otherwise, same as version 0.5.2
0.5.2
• new (markdown-based) docs! (https://hugsql.org) https://github.com/layerware/hugsql/pull/131
• fix fn defs to be at compile-time https://github.com/layerware/hugsql/issues/126 (thanks https://github.com/kelvinqian00https://github.com/kelvinqian00)!)
• fix file var metadata to be a string https://github.com/layerware/hugsql/issues/137 (thanks https://github.com/gtrakhttps://github.com/gtrak))
• allow %
in keywords https://github.com/layerware/hugsql/pull/136 (thanks https://github.com/Rovanionhttps://github.com/Rovanion))
• update next.jdbc groupId https://github.com/layerware/hugsql/issues/127 (thanks https://github.com/dmarjenburghhttps://github.com/dmarjenburgh))
• update clojure.java.jdbc to 0.7.12 https://github.com/layerware/hugsql/pull/135 (thanks https://github.com/jonassvalinhttps://github.com/jonassvalin))
• markdown doc strings (for http://cljdoc.org)
• linter fixes
https://hugsql.org
@U065ZC1BP Awesome! Since a recent release of babashka, hugsql.core sqlvec fns can also be ran with that. There is a test in bb CI:
(ns hugsql.babashka-test
(:require [babashka.fs :as fs]
[clojure.test :as t :refer [deftest is]]
[hugsql.core :as hugsql]))
(def sql-file (fs/file (fs/parent *file*) "characters.sql"))
(hugsql/def-db-fns sql-file)
(hugsql/def-sqlvec-fns sql-file)
(declare characters-by-ids-specify-cols-sqlvec)
(deftest sqlvec-test
(is (= ["select name, specialty from characters\nwhere id in (?,?)" 1 2]
(characters-by-ids-specify-cols-sqlvec {:ids [1 2], :cols ["name" "specialty"]}))))
@U04V15CAJ Very cool. I love what you're doing w/ babashka! Thanks!
#babashka 0.8.0 released. Major new feature is the ability to declare pods in bb.edn
. This effort was largely driven by @cap10morgan 👏
See here for an example: https://book.babashka.org/#_pods_in_bb_edn
Full changelogs with many other improvements: https://github.com/babashka/babashka/blob/master/CHANGELOG.md#080-2022-04-04
Next Saturday, @rahul080327 will present about #babashka at NovaLug: https://www.meetup.com/novalug/events/fzklrsydcgbmb/ - feel welcome to join!

Are you interested in learning how to use Datomic? Do you have a sense of humor and enjoy free retro interactive browser based tutorials? Then you really should checkout https://max-datom.com


This is marvelous! Thanks for creating/sharing!
Reminds me of a project I helped make for a college course which was a monad tutorial with a similar retro aesthetic
very nice 👏 🙂
2 small things I'm missing:
• It would be nice if ctrl+enter
in the code editor submitted the code. (ie. so that I don't have to click RUN QUERY
button all the time)
• showing "matching paren" (for the paren then my cursor is currently placed after) would help a lot with finding unbalanced form.
I pushed an update so matching braces are now highlighted.
I find that I want to experiment a bit even after that snarky bot has concluded I might have learnt something. I think that a button that let's me evaluate ”outside” the script would do it for me. Not sure I am making sense... I'm thinking two Run buttons. One that asks for feedback from the bot/advances the story and one that just evaluates the code. Not sure how to not confuse the user with two Run buttons, but anyway. 😃

@U0508JRJC found a bit strange behavior. Adding just a single space or newline results in "unmatched delimiter". (see enclosed picture)
I think I haven't seen this yesterday although I'm very sure I used to indent the db
into its own new line.
@U02FU7RMG8M do you still have it?
Unfortunately the repo is private and the Heroku app no longer seems to work. But here is a screenshot of the front page:
Oh my god, @U0508JRJC, that prologue is the funniest thing I’ve read in ages :rolling_on_the_floor_laughing:☠️
I am glad to know it made someone chuckle 😄. You never know when you are writing something like that if it will land with the reader.
Big news 🙂 Biff is a web framework I initially released about two years ago and have been using in my own business since. I've spent the past couple months giving it a major overhaul based on my experiences with it. It's now ready to go! https://biffweb.com/p/new-release

Very cool! Been interested in combining alpine js (or a cljs equivalent) with scittle for frontend where react is overkill, this seems to validate that concept and looks like a solid stack to explore.
thanks!
nice to see more people embracing server side rendering, congratulations on the release
TIL about htmx - looks like a really interesting choice
@UE7LPTG1L For htmx, you may be interested to take a look at https://github.com/prestancedesign/babashka-htmx-todoapp Easy to run and play with. 😉
htmx (and hyperscript) are pretty great. This was a nice post about the general movement (it doesn't actually mention htmx, which is a shame, but it talks about other tools/frameworks in the same general category): https://github.com/readme/featured/server-side-languages-for-front-end