clojure-europe

For people in Europe... or elsewhere... UGT https://indieweb.org/Universal_Greeting_Time
orestis 2021-01-18T07:17:32.050800Z

Good morning

synthomat 2021-01-18T07:21:46.051100Z

Good Morning!

slipset 2021-01-18T07:22:14.051300Z

Morning!

djm 2021-01-18T07:33:21.051500Z

👋

simongray 2021-01-18T08:03:16.051700Z

morning

thomas 2021-01-18T08:10:08.051900Z

mogge

ordnungswidrig 2021-01-18T08:15:45.052200Z

“Warning of extreme cold” :thinking_face:

borkdude 2021-01-18T08:57:35.053600Z

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.

borkdude 2021-01-18T08:57:59.053800Z

Goedemorgen btw

dharrigan 2021-01-18T09:01:38.054100Z

Good Morning!

2021-01-18T09:03:35.054300Z

morning

2021-01-18T09:04:12.054800Z

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

jkxyz 2021-01-18T09:30:54.055Z

Good morning!

👋 2
thomas 2021-01-18T11:10:45.056100Z

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.

pez 2021-01-18T11:59:44.057300Z

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.

2021-01-18T12:00:48.058300Z

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

pez 2021-01-18T12:02:34.059500Z

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

pez 2021-01-18T12:03:35.060300Z

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

2021-01-18T12:05:51.061Z

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

val_waeselynck 2021-01-18T12:12:33.062Z

Morning

jkxyz 2021-01-18T12:13:12.062300Z

I always thought it meant to use something out of actual anger, like “I used/switched to Clojure in anger at Java”. TIL 🙂

pez 2021-01-18T12:19:30.063900Z

Yeah, so until you see it used in context where it can’t mean that… 😃

slipset 2021-01-18T12:23:22.064500Z

morning @matlux

borkdude 2021-01-18T12:23:47.064700Z

hey @matlux!

orestis 2021-01-18T12:33:13.065700Z

@pez https://english.stackexchange.com/questions/30939/is-used-in-anger-a-britishism-for-something is an interesting discussion

simongray 2021-01-18T12:33:45.066400Z

@pez I always just interpreted it as a strange synonym for “in production code”

borkdude 2021-01-18T12:43:28.066900Z

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

😂 3
borkdude 2021-01-18T12:43:39.067100Z

Except for that one with Lou Reed

pez 2021-01-18T14:18:58.067700Z

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

simongray 2021-01-18T14:30:46.069200Z

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.

💪 2
val_waeselynck 2021-01-18T15:20:27.069300Z

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

➕ 1
ordnungswidrig 2021-01-18T15:44:39.069500Z

fancy.

💯 1
ordnungswidrig 2021-01-18T15:44:48.069700Z

I like it but never had to use it

thomas 2021-01-18T15:57:43.071500Z

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.

orestis 2021-01-18T16:00:39.072100Z

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

thomas 2021-01-18T16:03:27.073600Z

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

thomas 2021-01-18T16:03:54.074400Z

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

thomas 2021-01-18T16:10:51.075Z

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

mpenet 2021-01-18T16:12:57.076700Z

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

thomas 2021-01-18T16:22:54.079900Z

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

borkdude 2021-01-18T16:23:17.080400Z

@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