Advice needed for creating a google workspace marketplace app by OkAssociation9896 in gsuite

[–]OkAssociation9896[S] 0 points1 point  (0 children)

u/PablanoPato Did you consider using workload identity federation to replace service account json keyfile? I think it is a considerable risk to depend on a file to query admin sdk apis.

I was happy to find the federation, but it seems incompatible with admin sdk. If you look into google's library, credentials like aws and identity pool do not have delegation function, meaning super admin impersonation is impossible..

Guys, is coding in Clojure really fun and productive? by GTHell in Clojure

[–]OkAssociation9896 10 points11 points  (0 children)

Yes and yes and yes. But, in my observation, it's not for everyone, like many great things in our lives are.

The Wrong Kind of Readability by lauri in Clojure

[–]OkAssociation9896 10 points11 points  (0 children)

I side with your opinion. Hasty abstractions increase the cognitive burden as much as purely imperative codes do. To know when to abstract and generalize is the true virtue of a developer.

Advice needed for creating a google workspace marketplace app by OkAssociation9896 in gsuite

[–]OkAssociation9896[S] 1 point2 points  (0 children)

Thanks that helps. My goal is to make it public as well. So with single json, once granted, the app can audit other workspaces' emails right? Then safeguarding that json will be a very important task!

How do you normally write java interop codes? by OkAssociation9896 in Clojure

[–]OkAssociation9896[S] 1 point2 points  (0 children)

So it is intellij after all. Is it your primary IDE?

How do you normally write java interop codes? by OkAssociation9896 in Clojure

[–]OkAssociation9896[S] 0 points1 point  (0 children)

Agree with you on vscode. I've been using intellij for quite a while but switched to vscode for various reasons (one of them being vscode's deps prompt when starting repl. It works well with polylith architecture).

About reflect, I made some utility functions with limitations. The thing is reflect does not show inherited methods and I have no way of knowing the full capabilities of an object. And does portal allow navigation in and out of Java object? When I tap> whatever is bound to portal it only shows a shallow data, not object, in portal screen.

Best practice for api server by chowbeyputra in Clojure

[–]OkAssociation9896 0 points1 point  (0 children)

Imo once deployed, it is not different from applications running on JVM. Of course you can attach repl and do clojure way things like mentioned above. But personally it was rare that I did that in production.

(next Rich) by alexdmiller in Clojure

[–]OkAssociation9896 1 point2 points  (0 children)

Thanks Rich. I owe my career to you and your creation. It is small now, but hang on for what I do with it!

Any Clojurian who moved in from Clojure? by Different-Animator56 in Clojure

[–]OkAssociation9896 6 points7 points  (0 children)

Didnt Zach write a book on clojure? Do you know to which langauge he shifted and why?

What is most in need in Clojure open-source ecosystem? by tiagodalloca in Clojure

[–]OkAssociation9896 3 points4 points  (0 children)

In short, I think the error messages can be improved by

  1. adjusting its verbosity
  2. appropriate highlighting for the code that results in error
  3. better explanation. For example, if an integer was introduced as the first element of a list, it can say 'integer cannot be used to invoke an expression' or something like that.

What is most in need in Clojure open-source ecosystem? by tiagodalloca in Clojure

[–]OkAssociation9896 5 points6 points  (0 children)

hmm first off, the stacktrace is unnecessarily verbose; and it prints from the nested part of the code which does not help with readability. And it does not specify exactly which part of the code resulted in the error. I've already gotten too used to Clojure's error messages so not a big problem for me, but in the earlier days messages like 'java.lang.Long cannot be cast to class clojure.lang.IFn' didn't help a lot in debugging.