Fork me on GitHub
#luminus
<
2018-02-19
>
minikomi03:02:57

I'm trialing using h2/hugsql, and wondering how people aggregate results in many-to-many or one-to-many queries. Do you pull together the rows in clojure, or do something tricky using group_concat.. or a combination of both?

owenrh09:02:10

hi, I’m running my uberjar as follows java -jar -Xmx64m acme.jar to try and minimise the Java heap, as it’s deployed on a very small box. The OS is telling me that it’s actually running at ~ 200mb. Could it be that Immutant isn’t respecting the heap size? Any other ideas?

lepistane21:02:25

i recently got project that is simple accounting software i wanted to have login secure and my routes protected and also documents protected since there are going to be quite a bit of invoice uploads what do you suggest me do? i made app reading the book (2nd edition clj web dev) but it uses basic auth. I am hesitant do use that because even i (with my limited knowledge) could hack that. Are there any examples of apps which use good authorization and authentication system? Should i just not bother and should just use oauth2 ? This projects starts simple but it has a lot of room to expand which possible roles and rules in the future so i dont want to limit myself at the start. Any suggestions?

yogthos21:02:29

I don't think oauth is really necessary in most situations

yogthos21:02:14

What specific concerns do you have with authentication?

lepistane23:02:28

i feel like if i put basic auth (like you describe in the book) someone could listen for outgoing requests see post with user:pass encoded 64bit and could get get into the app i'd like to do something that is simple and does better job of securing than basic auth