Fork me on GitHub
#lumo
<
2019-04-25
>
richiardiandrea00:04:48

can there be a but with the way lumo calls the -main function? In my logs I see

00:55:00 in main
00:55:00 after main
00:55:00 START RequestId: acb1d829-79bc-430c-be3f-2970d6a5f542 Version: $LATEST
00:55:00 Exit
00:55:00 END RequestId: acb1d829-79bc-430c-be3f-2970d6a5f542
00:55:00 REPORT RequestId: acb1d829-79bc-430c-be3f-2970d6a5f542	Init Duration: 1550.70 ms	Duration: 55.39 ms	Billed Duration: 1700 ms Memory Size: 1024 MB	Max Memory Used: 186 MB
00:55:00 RequestId: acb1d829-79bc-430c-be3f-2970d6a5f542 Process exited before completing request
00:55:02 in main
^^ why is it here again?

richiardiandrea00:04:06

there is also something else which is weird... maybe there is a reason why Grav here does this piece of dancing: https://github.com/grav/aws-lumo-cljs-runtime/blob/master/runtime.cljs#L53-L80

richiardiandrea00:04:18

(see start) called in the .then

richiardiandrea01:04:27

weird ok...that trick works in any case so I am not going to change it

richiardiandrea19:04:56

oh nooo, I have segmentation fault with the AWS sdk...

richiardiandrea19:04:01

and statically linked lumo

richiardiandrea19:04:41

also it looks like older versions of node, even the LTS, cannot be compiled anymore

richiardiandrea20:04:10

Is there a way to debug what is going on? Should I resort to gdb?

richiardiandrea20:04:57

I feel like I am rabbit holing 😁

richiardiandrea20:04:57

I can confirm it is the static build that crashes

richiardiandrea20:04:15

oh I need to build in the Amazon Docker

richiardiandrea20:04:30

that's why there is a docker container in @grav's repo

jaide21:04:53

Lumo can’t handle macros right?

richiardiandrea23:04:00

@jayzawrotny it does yes, what is the error you get?

jaide23:04:55

No errors yet, just didn’t think self-hosted clojurescript could do macros. I take it they still need to be defined in a cljc file?

richiardiandrea23:04:34

@jayzawrotny yes they do need that 😄

👌 4