This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # adventofcode (15)
- # announcements (8)
- # babashka (16)
- # beginners (48)
- # braveandtrue (5)
- # calva (54)
- # cider (7)
- # clara (8)
- # clj-kondo (3)
- # cljdoc (3)
- # clojure (37)
- # clojure-europe (1)
- # clojure-italy (15)
- # clojure-losangeles (2)
- # clojure-nl (15)
- # clojure-uk (6)
- # clojurescript (145)
- # community-development (53)
- # cursive (20)
- # data-science (8)
- # datomic (23)
- # duct (2)
- # emacs (22)
- # fulcro (16)
- # gorilla (7)
- # graalvm (7)
- # hoplon (1)
- # malli (7)
- # off-topic (8)
- # rewrite-clj (2)
- # ring (9)
- # spacemacs (2)
- # specter (1)
- # tools-deps (25)
- # vrac (1)
is there a clojure web framework like django that comes with and admin panel so that users can edit and publish stuff ?
@i There are no content management systems written in Clojure as far as I know.
I am in search of some library that can handle user account and session management, like django admin
Buddy? Friend? Those are the two that come to mind.
Caribou was a CMS / hash-map oriented ORM which would create pages / routes based on database entries. Sadly it lost funding and never got mainstream traction (or maybe such things are abominations and it's good it never took off)
anyway it was my first paying software job :D
@i for this specific task I used an ID stored in an aes encoded jwt token, which indexed a db with session / user info
I think most folks feel that there are lots of really good solutions out there in that space and it would be a huge amount of work to create one in Clojure so effort is better spent on other things.
what does the following java statement mean? new Foo.Bar().Baz("something") is Bar a method for the object Foo? or am I missing something here?
well I encountered this code in the wild. I'm having trouble translating it to clojure.
Speculating a bit, was awhile since I was up to date on the details... but with inner/nested classes it doesn’t seem impossible. I think you need to look at the actual thing being called, not just the calling code.
Yes, that always feels a bit awkward in Clojure to me. IIRC if you import
DenseLayer$Builder to your namespace, it will at least autocomplete in CIDER, which helps me deal with it.
is it possible to override an implementation of a protocol for a certain type/defrecord?
Other than by extending to that type, no
Morning folks! We just released a big behind-the-scenes change to Clojars - we migrated from sqlite to postgres. There shouldn't be any user-facing impact, but if you see anything odd in the UI or when deploying, please create an issue at https://github.com/clojars/clojars-web/issues. For more details about this change see: https://groups.google.com/forum/#!topic/clojars-maintainers/B5CjT8381_M
maybe related, but the response time is fairly large. about 4.72s to load the root html document
rest of the pages is fine, maybe just a query on the front page that is out of control?
Yes, it looks like the query that gets the recent jars isn't very efficient in postgres. I'll take a look. Thanks for the report!
@U0WL6FA77 See the message at the link given above for some details on why.
(that post seems to be closed off? I cannot access it at least)
Strange. I tried it again just now, and got the same message as the first time I tried -- it appears to be a public link to a message sent to a Google groups email list, which AFAIK should not require anyone to be a member of that group to read.
to me it gives an error, then redirects me to https://groups.google.com/forum/#!forum/clojars-maintainers and says I don’t have access to that.
I just changed the a visibility setting of the group about 30 seconds ago. Can you try again @UDF11HLKC?
In the settings, the posts were public, but the group itself wasn't. I changed the latter.
yep, working ^^!
I can now access that message as well as the other messages posted in the group
I just released some query optimizations and caching. Load times of the index page should be much improved.