This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-12-16
Channels
- # adventofcode (24)
- # announcements (3)
- # aws (3)
- # babashka (16)
- # beginners (88)
- # biff (5)
- # calva (27)
- # cider (15)
- # cljs-dev (70)
- # clojure (87)
- # clojure-austin (3)
- # clojure-belgium (6)
- # clojure-europe (59)
- # clojure-nl (1)
- # clojure-norway (14)
- # clojure-uk (3)
- # clojurescript (37)
- # data-science (2)
- # datalevin (40)
- # datomic (1)
- # emacs (23)
- # events (2)
- # graalvm (13)
- # graphql (7)
- # gratitude (1)
- # holy-lambda (193)
- # inf-clojure (15)
- # lsp (27)
- # malli (9)
- # off-topic (20)
- # polylith (6)
- # reitit (29)
- # releases (2)
- # scittle (13)
- # shadow-cljs (51)
- # transit (15)
- # xtdb (29)
morning
månmån
still proper cold here... car said -5℃ on the school run
true @slipset - but do you live in a country where houses have insulation 😀 ?
In other news, I just invested in some new tubes for my road bike in preparation for warmer weather https://r2-bike.com/TUBOLITO-Tube-28-S-Tubo-Road-700C-SV-80-mm
a friend of mine had tubolitos to save weight a couple of years ago when we did the south downs way... several hours lost to repeated punctures later the conclusion was unanimous 😬. but that was mtb and in a famously flinty area - they might be fine on the road
Bore da
hey @U05390U2P - not seen you around clojurians for a while!
I've been here. I just don't always check in everyday.
I won't bore you with the details this time, but today is yet another day of me finding out 1 week before a 3-year project runs out that my colleagues have been too busy eating cake and drinking coffee and not thinking about the basic problem they had to solve.
Wow, a 3 year project! Haven't had to be involved in anything that long since 1994! Agile not a big thing in your company then?
It's a university, not a company. The lack of anything "agile" is probably the main attraction.
I'm guessing by the quotes around the word agile you've only been exposed to practices labelled agile that are perversions of the original manifesto but got to say a three year project doesn't sound like fun.
Yes, my previous job used SAFe and I still read about how horrible a place it is to work in the news. Actually, just read an article about it this morning 😛
3-year projects are actually pretty fun. You have to consider the fact that in most of these projects there is exactly 1 developer doing everything. It is extreme full stack development, but on the other hand no one is forcing bad technical decisions over your head.
I firmly believe that SAFe is bull*t and far from agile. Just a fancy label you can sell to enterprises. But culture cannot be bought…
It's not even RAD. It's just waterfall.
In our case, it was waterfall with the memory bandwidth of a gold fish and a completely hierarchical structure where blame/responsibility was somehow still factored out.
It's funny how I am always incredibly busy, always fixing a bunch of data-integration problems I shouldn't be the one fixing, but I always figured "hey, I guess everyone else is probably busy too, it's probably just hidden from me", but no, they really have been doing jack shit.
The public sector is just totally unaffected by it 😄 Hard work, productivity, results? Nah
it's really hard to see a broken system and still have to find a way to work within it. feels gross. big empathy @simongray!
Shock horror.... Clojure question... I put some things on a queue with (async/>!! to-db data)
, that seems to work fine... but how do I write a function that takes things of the queue when there is something...
(defn read-multiple []
(println "Starting loop....")
(loop [value (async/<!! to-db)]
(println "HEREREREXXXX " value)
(recur (async/<!! to-db))))
ChatGPT suggested something long these lines... but it doesn't work 😞your code looks reasonable to my first inspection @U052852ES... not behind a keyboard atm though, so i can't actually try it out
I’m no expert but I’d start with while true
if you just want something that pulls things of a channel.
This seems to be a common pattern as well when googling around:
(go (loop []
(let [val (<! in-ch)] ;; <1>
(when (pred? val) ;; <2>
(>! out-ch val))) ;; <3>
(recur)))
ok, I got it working now... had to restart the REPL. got in a funny state for some reason.
you're using the non-blocking <!
operator with go
in your example @U6T7M9DBR... @U052852ES was using the blocking <!!
operator, so he should be able to use regular looping constructs without a go
block
yeah, I got it working with a go-loop
now, and existing the function when I close the channel. that was the trick I was missing
What are you doing here asking Clojure questions!? This channel is for rants and pretty landscape photos. And saying goodmorning.
@simongray ya totally this is where ppl can hang out and let off some steam, relax, chill, etc…
(But if they shout (println "Yooooo it finally works!")
then it counts as letting off steam too lol)
@simongray joking aside though. I like how this specific channel have grown into sort of a huddle space, an organic, grounded, community-first place offering a model for engagement where one can ask questions/pose opinion about clojure (or other things) in a more relaxed, informal manner. It’s exactly what I wished :star-struck: (Esp. helpful for ppl with social/performance anxiety I think) So long, and thanks for all the fish! 🎉
good people here 🙂
the south downs were wearing an uncharacteristically snowy coat today...
@simongray joking aside though. I like how this specific channel have grown into sort of a huddle space, an organic, grounded, community-first place offering a model for engagement where one can ask questions/pose opinion about clojure (or other things) in a more relaxed, informal manner. It’s exactly what I wished :star-struck: (Esp. helpful for ppl with social/performance anxiety I think) So long, and thanks for all the fish! 🎉