lumo

:lumo: Standalone ClojureScript environment. Currently at version 1.9.0
richiardiandrea 2019-04-25T00:56:48.011500Z

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?

richiardiandrea 2019-04-25T00:58:06.012200Z

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

richiardiandrea 2019-04-25T00:58:18.012700Z

(see start) called in the .then

richiardiandrea 2019-04-25T01:00:27.013100Z

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

richiardiandrea 2019-04-25T19:37:56.000700Z

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

richiardiandrea 2019-04-25T19:38:01.000900Z

and statically linked lumo

richiardiandrea 2019-04-25T19:50:41.001100Z

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

richiardiandrea 2019-04-25T20:37:10.002100Z

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

richiardiandrea 2019-04-25T20:37:57.002600Z

I feel like I am rabbit holing ๐Ÿ˜

richiardiandrea 2019-04-25T20:46:57.003Z

I can confirm it is the static build that crashes

richiardiandrea 2019-04-25T20:49:15.003300Z

oh I need to build in the Amazon Docker

richiardiandrea 2019-04-25T20:49:30.003700Z

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

richiardiandrea 2019-04-25T20:50:04.003900Z

let me try that

2019-04-25T21:27:53.004200Z

Lumo canโ€™t handle macros right?

richiardiandrea 2019-04-25T23:18:00.005Z

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

2019-04-25T23:18:55.005900Z

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?

richiardiandrea 2019-04-25T23:28:34.006600Z

@jayzawrotny yes they do need that ๐Ÿ˜„

๐Ÿ‘Œ 1