This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-04-26
Channels
- # aleph (6)
- # announcements (1)
- # babashka (18)
- # beginners (13)
- # calva (18)
- # cider (5)
- # clojure (144)
- # clojure-europe (34)
- # clojure-nl (1)
- # clojure-norway (29)
- # clojure-uk (4)
- # emacs (9)
- # etaoin (51)
- # events (1)
- # gratitude (1)
- # hyperfiddle (9)
- # lsp (4)
- # off-topic (6)
- # pathom (61)
- # rdf (1)
- # releases (3)
- # shadow-cljs (16)
- # vrac (1)
- # yada (1)
- # yamlscript (3)
I'm using ring.middleware.multipart-params
to upload a file and want to access the stream at the same time as my Ring request. Is possible without buffering into memory or a temp file?
basically no, the file data and any other multipart parameters are part of the same stream, so to decode them all the middleware has to consume the entire stream, so it needs to stick the file contents somewhere
I am a beginner at clojure and I stumbled upon this group last night. I am open to any and all clojure related resources if anyone has anything they might want to share with me. I have probably listened to 99% more Rich Hickey than most people so I have explored that already and I also read clojure for the brave and true. Outside of clojure I am also really digging into the GoF design patterns book at the recommendation of my partner who programs for a living. I have always been a hobbyist but I really want to try and get into it as a career. As far as my interests with the language and programming in general: I really enjoy UX and UI design but I would feel like I am missing out if I only worked on front end code. I like the full stack development process but I also want to specialize. It is a pipe dream but my life goal is to work on brain computer interfaces - at the very least writing applications for BCI's if I am never able to contribute to code for those types of operating systems. I am also really interested (more realistically) in how python works with clojure - I really enjoyed writing in python and I feel like the two would mesh well naturally and I often hear python being referred to as "glue", and while I can somehow sense that is true in a way, I am interested in learning more about that idea practically. Also I studied philosophy so I will drone on forever when I get going but I try not too, but that said if you just want to reach out to talk about code especially if you have things to tell me or show me related to those things I am all ears. Glad I found this channel :)
Welcome! You might find #CLR5FD4ET interesting (calling Python from Clojure) -- mostly for data science stuff, I think.
I found #CKKPVDX53 really useful to try and get a sense of how to reshape my thinking (object oriented programmer in my work life). It's not a bunch of quick answers, but I kind of had stuff seep into my brain eventually. https://clojuredesign.club/
How long have you been playing with Clojure? What's most of your programming experience in? Python? How about your partner? I ask because as much as I enjoy functional ideas and style, and can puzzle out things in the small, I found myself totally lost for the longest time on how to do any of the "obvious" things that I could do in Java (probably a lot of people here in that boat at one time or another). Knowing where you come from might help with a learning strategy
Depending on where you are on actually learning Clojure @U070BJK4FF1 you might also take a look at https://clojure.camp -- they offer free 1:1 pairing/mentoring and various beginner/student activities online (all free).
Thank you for the responses, I will look into those things: @U04RG9F8UJZ The first class I took was in C#. I used C# the most and I learned how to do a full stack using SQL with azure and angular although I have always enjoyed trying to do things without frameworks too, I was studying websockets for video applications and that is the most advanced thing I have probably done coding in C#. I most recently took a course in C last fall and plan on doing a second level course in C this coming fall. This semester I have been taking a calculus class and I started using python to make some simple things. What got me into clojure was that I listened to Bob Martin talk about code a lot and it led me to find Rich Hickey and I pretty quickly downloaded emacs and became obsessed trying to get clojure working in it. As of last Sunday I became able to write clojure on my computer and now I can't stop thinking about it lol. It is all I want to do but I have no formal professional coding experience and lots of imposter syndrome so I feel very far from doing anything serious but I know if I set my mind to it I can get there. Also my partner uses C++ for work but actually started with C. He is an endless font of knowledge but I try not to bother him too much because coding is not as much fun for him as much as it is really is a "job", which is fair since he is stuck doing it all day in an environment that isn't actually fun or interesting. He also doesn't know anything about clojure at all, but he is relatively interested when I bring it up so I still talk about it a lot lol. @U04V70XH6 I was looking at that but I didn't know how to sign up for the mentoring, I saw the "mob programming" but I didn't see anything else. I would be super interested in that honestly because I feel like I benefit a lot from tutors/shadowing.
@U070BJK4FF1 If you join the Clojure Camp Discord, you see all the regular events, but there are several additional *.clojure.camp sites for exercises, curriculum, and the my.clojure.camp where you can sign up for the mentoring sessions.
@U04V70XH6 Cool I will!
> Glad I found this channel Welcome to the coolest coding club on planet earth ✌️:skin-tone-2:😉
If one of the things you happen to like about Python is Jupyter notebooks, maybe check out https://github.com/nextjournal/clerk for a similar concept in Clojure, but more version control friendly. If it's not something you were already familiar with, I'd recommend it nevertheless for the tight feedback loop and data visualization capabilities that in my opinion could very useful for anything from having an interactive scratch pad to explore stuff, to solving hard problems where representing the data by printing it to the REPL isn't cutting it anymore
@U22465T9Q I will look into it, I am definitely a beginner with python so I don't know what Jupyter notebooks is. I will have to check out both!