Fork me on GitHub
#clojure-europe
<
2021-01-18
>
orestis07:01:32

Good morning

synthomat07:01:46

Good Morning!

djm07:01:21

šŸ‘‹

ordnungswidrig08:01:45

ā€œWarning of extreme coldā€ :thinking_face:

borkdude08:01:35

Hey guys and galls and others, What is your take on core.match? Essential or fancy? Over the weekend I got it working with babashka, which is cool. But I want more evidence that this could be useful for scripting, or that it is just a fancy feature which we could live without.

val_waeselynck15:01:27

I've barely ever used it. Almost always ended up preferring destructiring + either ordinary conditionals or polymorphism.

āž• 3
ordnungswidrig15:01:39

fancy.

šŸ’Æ 3
ordnungswidrig15:01:48

I like it but never had to use it

borkdude08:01:59

Goedemorgen btw

dharrigan09:01:38

Good Morning!

otfrom09:01:12

I've used core.match before when I've needed to check lots of things on a rest interface. Seemed OK

jkxyz09:01:54

Good morning!

šŸ‘‹ 6
thomas11:01:45

I always had the idea to use core.match for my PPC emulator... but never got round to it. seems like a cool tool though. but never used it in anger.

pez11:01:44

Can someone explain this expression with ā€œused in angerā€ to me? Iā€™ve seen it used now and then lately, but am still a bit unsure about what it means.

otfrom12:01:48

not just played with, but actually building something that will go into (or has gone into) production. It implies that the person is experienced enough with it that they've started to see some of the shortcomings and frustrations

pez12:01:34

Thanks. I havenā€™t completely missunderstood it then. What do we know about the origins/etymology of the expression?

pez12:01:35

I have to admit that the first times I saw the phrase I took it quite literally, and got very confused. šŸ˜ƒ

otfrom12:01:51

most google searches seem to show it being a military thing. used/fired in anger rather than in practice

jkxyz12:01:12

I always thought it meant to use something out of actual anger, like ā€œI used/switched to Clojure in anger at Javaā€. TIL šŸ™‚

pez12:01:30

Yeah, so until you see it used in context where it canā€™t mean thatā€¦ šŸ˜ƒ

simongray12:01:45

@pez I always just interpreted it as a strange synonym for ā€œin production codeā€

borkdude12:01:28

Unrelated: St. Anger is also one of the worst Metallica albums.

šŸ˜‚ 9
borkdude12:01:39

Except for that one with Lou Reed

pez14:01:58

Thanks for that link @orestis. Just what I needed!

simongray14:01:46

Today I have been experimenting by using a Phillips-branded wake-up light from the bedroom (that we never use) as a SAD lamp on my desk. I have to say, I feel much less tired than usual this afternoon.

šŸ’Ŗ 6
thomas15:01:43

not for the lack of trying, but does anyone have an example of loading a picture from S3 and showing it on a website? I have searched and I can get a signed URL, but that doesn't show me a picture. Any helpers would be greatly appreciated.

orestis16:01:39

I take it the issue is with mime types @thomas ?

thomas16:01:27

Not sure... when I get the signed url and set it to download, it seems I don't get the actual data.

thomas16:01:54

And when I just use the signed url as such for the image nothing happens

thomas16:01:51

actually @orestis I think you are right... having just changed a few things

mpenet16:01:57

With js you can work around that. Back in the days you could create an Image object and just set the url to whatever then use that object

thomas16:01:54

looking at the docs/google it seems that I need to do my own fetch, and convert that to an image. I'll try that later... first I have to look at dinner. ttfn

borkdude16:01:17

@thomas I did this by using the pantomime library (I think) and store the blob on s3 with metadata in a local db and then combine this to produce a link that can be shown in HTML