Good Morning! "Sun is shining, the weather is sweet..." 🎶 ☀️ ☕
👋
morning
:rain_cloud:
But good for the garden
Sunny here. Going to a colleague's flat to work on some Docker setups, but I think I might leave early and go for a walk first.
mawning
Good morning!
Morning!
Guten Morgen!
Morning!
Oh, and good day
:morning:
https://c.tenor.com/iKleRQhN73cAAAAM/willy-wonka-and-the-chocolate-factory-gene-wilder.gif
@simongray, awesome. I haven’t had my yearly Copenhagen fix in soon to be two years. Missing it!
@pez Just done drinking my morning coffee in this spot 😉 hope it scratches that itch.
Hey, I’ve been there 🙂
morning
Sunny here as well
@ordnungswidrig It's Dronning Louise's Bridge AKA the hipster bridge, separating the city centre and the Nørrebro district.
I used to cycle up and down that bridge every day, sigh.
How can you get lost in Oslo?
I still don't know, but I did. It was snowing and I was tired
Oh, such a wonderful spot!
Can someone explain to me why this spot is so wonderful? I have the feeling I'm missing some point/context ;)
My family have a crush for Denmark in general and some places in particular, among those Copenhagen. We visit there often and all six of us just love walking around there and now and then stay for food, snacks, coffee, ice cream, beer, wine, whatever. We’ve been walking and pausing on Queen Louise’s bridge quite a few times. It is a beautiful place and just brings beautiful memories back for me.
Ah, thanks for clarifying! I visited Kopenhagen once, we rented a bike and, like most cities in the Netherlands, it's a good place for going by bike.
I imagine we would enjoy those places as well. 😃 Not that we bike much, but I think it correlates with things we appreciate.
Later in the trip we went to Stockholm, we had a buffet at a very nice vegetarian/vegan place at the river place called Hermans, including bbq.
Sorry, slightly off topic haha
Not off-topic, as Stockholm is in fact in Europe ☝️
Stockholm is nice too, maybe I am home blind though, because I’d move to Copenhagen on the jiffy, should my wife agree with me about it. Stockholm is not a place where you can just stroll and find random nice places to visit for food and drinks. If you know the where to go it is a different matter. Now I know about Hermans. Will check out. My daughter has started a relationship with a vegan so extra good to know about it right now. 😃
I liked Stockholm better since Kopenhagen still felt a bit like home, but Stockholm was different enough to feel like I was somewhere else
Except for the Danish language, that sounded super weird to me, probably weirder than Swedish even :)
Are there ups and downs in Copenhagen that aren't stairs in buildings?
We did it all by train. Our train went on a boat from Hamburg to Denmark, that was cool too. Although there is now a bridge instead.
Oh wait, tunnel: https://en.wikipedia.org/wiki/Fehmarn_Belt_Fixed_Link
There's the famous hill in Frederiksberg zoo 😄
I think Stockholm is quite pretty too. Went there for a conference one and visited the offices of DICE, which had a fantastic view.
but I think @pez is right that Copenhagen is more walkable/bikeable
and obviously, NL is the best at bikes stuff, but Copenhagen is pretty good
We also visited the ancient ship in Stockholm, quite impressive. Also the city hall with the golden room (which has some controversial swastika's from long before the 20th century)
Never went there, but would love to go back. It’s the Vasa something ship, right?
yes, Vasa it was
BTW the tunnel hasn’t been built yet, so the ferries are still there AFAIK. I once went to Hamburg with my friend while we were super drunk.
that didn’t really work out. Just had a hangover in Hamburg on a Sunday when everything was closed anyway.
Haha, I remember similar adventures in Leuven once. Went there with a friend, but all we did was hang out in bars and sleep in late so we missed all the touristy stuff
The view from the DICE office is super. Yes, parts of Stockholm is very beautiful. It’s just that things are so unavailable compared to more civilised places. 😃
Talking about Leuven, that's a super nice city too. If there will be a Heart of Clojure / EuroClojure / whatever-clojure there some time again, I won't hesitate to go.
Would be cool to attend Heart of Clojure - seems like everyone who went loved it
Also, a Clojure conference in Prague: count me in
Prague! Oh, that is wonderful.
I'm in love with that city
when I was a student I had a map of Prague hanging on the ceiling over my bed :P
Prague is cool too. Like most people in Copenhagen, I really love Berlin. I’m not ready to leave Copenhagen, but I definitely wouldn’t mind a couple of years in Berlin later in my life.
now the US… don’t particularly care for it.
I could also see myself living in taiwan
but only temporarily.
Yeah, Berlin's cool too, already had a few Clojure confs there too. And Prague is quite near from Berlin too ;) There is a direct train from my city to Berlin, quite convenient
As for London: it's a nice city, but way too busy for my taste.
yeah… and a bit crammed IMO
for a European city, I mean
I enjoyed my one visit there, but it was waaaaaay back in 1992
and in December
even though I got very, very lost
tho not as lost as I did in Oslo
No idea of the mechanics of getting to a a European conference now.
Morning
it is hailing here now
This Monday/Tuesday here in Blighty, supposed to be in the 20's.
time for suncream, sandals and chocolate ice cream!
well, as long as you mean England when you say Blighty
which works for me. 😄
gonna be 14 in Dundee
<https://en.wikipedia.org/wiki/Blighty>
You're all hard up'north, so even if it's -10c, I'm sure I can find people walking around in shorts, sandals, short-sleeved tee-shirts and enjoying some magnums 🙂
up there in Dundee
taps aff
precisely
Hi there, can someone please point me at a well tested (perhaps ETL) project (obviously written in Clojure)?
you mean an open source project with a good set of tests?
Correct
In a nutshell I have a couple of questions regarding testing in Clojure and in general as well: 1. How granular should I go into depth? - Should I test all functions or just “public” ones which puts each process together? - How can I test private functions (defn-)? Or should I use them? 2. What's input of testing ns? This question really depends on the previous one but still. In real world it’s a log file, but in this case I wonder if I should take a couple of examples from the file manually or use a smaller subset of the file? 3. How many different cases should I aim at?
@chokheli Taking clj-kondo and babashka as an example: I usually go with testing the entire command line invocation since that exercises all moving parts. I sometimes make unit tests for smaller parts if I want to make sure all edge cases are met. I don't use any private vars, but I use the .impl
convention of naming implementation namespaces separately from public namespaces.
I make a test for every single error that was ever reported to prevent further regressions. That's just my approach for these projects, not necessarily the best in all contexts.
anyone know/use any clj data-driven transformation libs ? i keep coming across variations on this theme: (transform <transformation-definition> <supporting-data> <input-record>) -> <output-record>
and i'd like a common language for specifying the <transformation-definition>
... recent examples include [1] building JWT claims JSONs from user and tenant data [2] similar for SAML [3] building db record maps from various CSVs [4] pulling SOAP XMLs apart to generate db record maps
I know plenty, I documented them all here: https://github.com/simongray/clojure-dsl-resources#data-matchingtransformation-dsls
and I’m working on my own https://github.com/kuhumcst/cuphic
which is also going to be some kind of Hickory-replacement, I guess
oh, that's awesome @simongray - there's loads of stuff i didn't know about there 🙂
np! I compile these lists to get an idea of what’s out there. Suggestions are always welcome.
cool - if i come across anything else, i'll let you know!
@borkdude thanks for the input!
I'll take a look at both projects (sources) 😊
@simongray If you're interested from a DSL perspective, I'm in the process of developing a DSL for executing tasks (shell, clojure, babashka, etc), a bit like make. https://github.com/babashka/babashka/issues/756
@simongray One problem currently at hand:
A basic example of a task:
{:tasks {:clean [:shell "rm" "-rf" "target"]}}
I want to be able to give a task a description and possibly more options. So I thought I can do:
{:tasks {:clean [:shell {:task/description "foo"} "rm" "-rf" "target"]}}
but this reads a bit weird, because I expect :shell
to get shell-related options and not some general task options.
One alternative I came up with:
{:tasks {:clean ^{:task/description "foo"} [:shell "rm" "-rf" "target"]}}
A bit ugly maybe, but semantically correct: the metadata is about the task. However, processing EDN with metadata, it can be done, but it might lead to confusion.
The other alternative, an explicit :task
wrapper if you want to provide options:
{:tasks {:clean [:task {:description "foo"} [:shell "rm" "-rf" "target"]]}}
(also posted in #malli because they might have had a similar challenge)