Fork me on GitHub
#clojure-uk
<
2018-05-15
>
yogidevbear06:05:58

Good Moaning :male-police-officer:

peterwestmacott07:05:58

morning early birds!

otfrom07:05:28

zzzzz.....

otfrom07:05:24

I might have to start using slack via emacs again so that I can do my emojis in yasnippet

otfrom07:05:31

I'm too lazy to copy and paste

otfrom07:05:48

<insert shrug emoticon here>

dominicm07:05:18

¯\(ツ)

dominicm07:05:22

fwiw, shrug is /shrug

otfrom07:05:31

¯\(ツ)

otfrom07:05:32

but no /yay

dominicm07:05:53

obviously slack devs shrug a lot, and are rarely joyous

😆 16
alexlynham08:05:55

morrrrrrning

3Jane08:05:54

@otfrom ascii art skills from IRC days

3Jane08:05:13

but proper kaomoji defeat me

3Jane08:05:06

favourite: ᘛ⁐̤ᕐᐷ

😱 8
🐘 8
otfrom08:05:28

that is a great mouse

otfrom08:05:54

@lady3janepl on irc my emoticon game is good, but I've got emacs all the time for help there

otfrom08:05:59

I'm just laaaaaaaazy

😄 4
👍 8
3Jane08:05:02

right? looks like calligraphy

mccraigmccraig08:05:24

do you get notifs when you use emacs for irc/slack @otfrom ? can you control them ?

otfrom08:05:36

yes and yes

otfrom08:05:44

(and not too many lines of elisp)

guy09:05:57

morning!

mattford10:05:13

Anyone here use Amazonica and AWS ECS/Fargate?

alexlynham10:05:16

I've used amazonica for S3 a few times but not ECS sadly

danm10:05:31

We're using Amazonica quite heavily, but we're not doing anything with ECS. Mostly Dynamodb/S3 for us

danm10:05:42

One thing I have found is that the documentation for it is quite poor. And I couldn't get much from reading the code because it all seems to be Magic:tm: that auto-generates based on the AWS Java libs

alexlynham15:05:50

this this this

mattford10:05:09

It's more that I can't get our services which use Amazonica to pick the IAM credentials they normally do with EC2 instances, when using Fargate in place of EC2.

samoleary11:05:29

I've used this: https://github.com/abutaha/aws-es-proxy to sign requests to aws elasticsearch service locally, there might be a more generic version available to sign and query various aws services

danm10:05:22

What that has meant, however, is that often we've looked at the Java documentation and just changed camel case function names into kebab case ones and args into keywords and it's Just Worked

peterwestmacott12:05:03

I think that’s basically what Amazonica is doing iiuc.

danm12:05:22

Yeah, I have assumed the same. Thus far it hasn't caught me out 😉

danm10:05:49

In that case I'd wonder if the standard Java lib had a similar issue

maleghast11:05:51

morning All !

maleghast11:05:24

Has anyone else had weirdness in ClojureScript apps using internal routing whereby the app tries to route to the last part of the URL (which is a path parameter and therefore dynamic) mid-way through rendering the correct "view"

maleghast11:05:56

From my browser console:

Rendering Order Perfomance - Index View - 0571c710-7ebf-533a-ae4c-ab5551e40e3e
0571c710-7ebf-533a-ae4c-ab5551e40e3e:1 Failed to load resource: the server responded with a status of 404 (Not Found)

maleghast11:05:17

The first line is the "debug" in the view, showing me that I've managed to route to the correct "place" but then the app is apparently attempting to navigate again to the "location" of the order-id on the end of the URL

maleghast11:05:57

(the bit you don't see in the paste above is this:


)

maleghast11:05:14

It's like it's tried to route again...

guy11:05:39

what routing library do you use?

maleghast11:05:59

It occurs to me that I can drop the URL params and put the order id into the state atom, but I want the URLs to "work" from a dead start for a logged-in user - hence needing the order-id in the URL

maleghast11:05:14

@guy - This is accountant + Bidi

maleghast11:05:48

Bidi for the routes themselves and Accountant to handle the push states and client-side navigation from route to route

guy11:05:13

Does this happen with all your routes?

guy11:05:16

or just this one?

maleghast11:05:11

Just this one, at the moment...

guy11:05:36

So you have other routes which work fine?

guy11:05:50

or just one route and it doesnt work?

maleghast11:05:22

Yes, I have other routes where this does not seem to happen

maleghast11:05:36

other routes that "end" in a dynamic path parameter

guy11:05:43

do they also use the same pattern as /something/[uuid]

guy11:05:49

ah ok cool

maleghast11:05:41

yeah they do

yogidevbear18:05:16

What a day 😫 Had to fetch our little human from school at 10am due to a tummy bug... It's been tiring for everyone involved. Finally got some Calpol to stay down and now he's sleeping properly. Fingers crossed, he's passed the wrist of it :hand_with_index_and_middle_fingers_crossed:

otfrom18:05:57

:hugging_face:

3Jane19:05:16

Good luck, kids being sick in summer is not fun 😞

3Jane19:05:19

I have a fun utf squiggle to cheer you up: 유머 모음 (translation from reddit, therefore 100% accurate: person looks in mirror, then decides to watch TV)

seancorfield20:05:19

@lady3janepl I couldn't resist seeing what Bing/Google think that Korean actually translates as: humor collection 🙂

3Jane20:05:34

That’s what the AI wants you to think

xlevus20:05:00

My PC's translation is "four rectangles approach each other"

3Jane20:05:08

In reality? We’ve just propagated one of its secret codes to take over the world...

8