Re: Scicloj #macroexpand-2 - Connecting Clojure Data Practitioners, Startups, Consultancies, and Academic Groups

2025-07-23 Thread Daniel Slutsky
having some meaningful conversations and warm response preparing > for the macroexpand-2 gathering. > > The two main questions we will ask are: > * What are some of the main challenges for groups and individuals who use > Clojure in data projects? > * What can we do to improve t

Re: Scicloj #macroexpand-2 - Connecting Clojure Data Practitioners, Startups, Consultancies, and Academic Groups

2025-07-19 Thread Daniel Slutsky
We are having some meaningful conversations and warm response preparing for the macroexpand-2 gathering. The two main questions we will ask are: * What are some of the main challenges for groups and individuals who use Clojure in data projects? * What can we do to improve the situation? Let

Scicloj #macroexpand-2 - Connecting Clojure Data Practitioners, Startups, Consultancies, and Academic Groups

2025-07-14 Thread Siyoung Byun
Join our second macroexpand gathering <https://scicloj.github.io/docs/community/groups/macroexpand/>, a Scicloj initiative bringing together Clojurians for focused, action-oriented discussions to help Clojure grow in new domains and use cases. Using Clojure for data analysis, mo

Turning the Conference Inside Out - reflecting backward & forward on Clojure conferences and growth

2025-06-11 Thread Daniel Slutsky
Siyoung Byun and I recorded a conversation to reflect upon our approach to conference-making: https://www.youtube.com/watch?v=n6ICeRyXHsI This is a short version of a couple of longer conversations we had on these topics. We are curious to hear your thoughts at the survey: https://bit.ly

ANN: Migrating to React 19 with HSX and RFX

2025-06-02 Thread Derek Troy-West
At Factor House we recently replaced reagent and re-frame with two new libraries that allow us to migrate to React 19. 1. HSX <https://github.com/factorhouse/hsx>: a Hiccup-to-React compiler that lets us write components the way we always have, but produces pure React function components

CfP: Functional Art, Music, Modelling and Design (FARM, Deadline June 13)

2025-05-27 Thread Michael Sperber
13th ACM SIGPLAN International Workshop on Functional Art, Music, Modelling and Design (FARM) Call for Papers, Demos, and Performance Singapore, October 12 Deadline: June 13 https://2025.splashcon.org

Getting started video with Noj v2, VSCode, Calva, and Clay for data analysis

2025-05-02 Thread Daniel Slutsky
Timothy Pratley and I recorded an intro video demonstrating the use of Noj <https://scicloj.github.io/noj/>, Calva <https://calva.io/>, the new Calva Power Tools <https://marketplace.visualstudio.com/items?itemName=betterthantomorrow.calva-power-tools> extension

Call for Papers: Functional Programming for Productivity and Performance (FProPer)

2025-04-11 Thread Michael Sperber
== *** FProPer 2025 -- CALL FOR PAPERS *** Second ACM SIGPLAN Workshop on Functional Programming for Productivity and Performance 16th October 2025, Singapore Co-located with ICFP 2025

Re: SciCloj conference ad and call for presentations

2025-02-17 Thread Daniel Slutsky
the first prep session for the upcoming "SciNoj Light" conference! *About SciNoj Light: * In recent months, the Clojure toolkit for data and science has been maturing. Thus, in 2025, Scicloj can finally shift more resources into making it accessible and well-known. SciNoj Light is

Re: SciCloj conference ad and call for presentations

2025-02-07 Thread Daniel Slutsky
: > > > ** > *Call for presentations for a Clojure Data Conference* > > On February 21st at 12PM EST, we will be holding the first prep session > for the upcoming "SciNoj Light" conference! > > *About SciNoj Light: * > In recent months,

SciCloj conference ad and call for presentations

2025-02-06 Thread Melody
conference! *About SciNoj Light: * In recent months, the Clojure toolkit for data and science has been maturing. Thus, in 2025, Scicloj can finally shift more resources into making it accessible and well-known. SciNoj Light is one of the first steps in that direction. It is an online conference where

And until you get to that point, you'd be living in pain, right? - Episode 7, with Nathan Marz, Red Planet Labs

2025-01-27 Thread Viktoriia Yarosh
Hi Clojure Community, Excited to share another inspiring conversation with you. Check out the latest episode of "Clojure in product. Would you do it again?" featuring Nathan Marz, Red Planet Labs founder and Apache Storm creator. Discover how his team built a Twitter-scale app in j

Final Call: ACM Workshop on Functional Art, Music, Modelling and Design (Deadline June 1)

2024-05-23 Thread Michael Sperber
=== 12th ACM SIGPLAN International Workshop on Functional Art, Music, Modelling and Design (FARM) Call for Papers, Demos, and Performance Milan, Italy, 2nd September 2024 Deadline: June 1

Call for Papers: ACM Workshop on Functional Art, Music, Modelling and Design (Deadline June 1)

2024-04-04 Thread Michael Sperber
=== 12th ACM SIGPLAN International Workshop on Functional Art, Music, Modelling and Design (FARM) Call for Papers, Demos, and Performance Milan, Italy, 2nd September 2024 Deadline: June 1

[ANN] Simple Clojure/ClojureScript IDE based on Protege and Figwheel-main

2023-12-07 Thread ru
Dear clojure users and team! I like to present a simple IDE that use an ontology editor Protege as GUI and data modeller and ClojureScript library Figwheel-main. Project page: https://github.com/rururu/pro-figwheel It has 3 short video lessons. Enjoy, Ru -- You received this message because

Functional Art, Music, Modeling and Design (FARM 2023) Sep 8: Call for Participation

2023-08-07 Thread Michael Sperber
=== 11th ACM SIGPLAN International Workshop on Functional Art, Music, Modelling and Design (FARM) Seattle, USA, 8th September 2023 https://functional-art.org/2023

Final Call for Papers: ACM Workshop on Functional Art, Music, Modelling and Design (Deadline June 1)

2023-05-10 Thread Michael Sperber
=== 11th ACM SIGPLAN International Workshop on Functional Art, Music, Modelling and Design (FARM) Call for Papers, Demos, and Performance Seattle, Washington, USA, 8th September 2023 Deadline

2nd Call for Papers: ACM Workshop on Functional Art, Music, Modelling and Design (Deadline June 1)

2023-04-21 Thread Michael Sperber
=== 11th ACM SIGPLAN International Workshop on Functional Art, Music, Modelling and Design (FARM) Call for Papers, Demos, and Performance Seattle, Washington, USA, 8th September 2023 Deadline

Generating music with MIDI and Software Instruments - Cameron Desautels : Clojure-Asia (03/23) Online Meetup

2023-03-12 Thread Clojure Asia
Hello my fellow Clojurians! :) We will be having our Clojure-Asia Online Meetup for the month of March! :D @camdez <https://clojureverse.org/u/camdez> (Cameron Desautels) will be giving a talk involving MIDI hardware, and creating software instruments and generating music which he then

Functional Art, Music, Modeling and Design (FARM 2022) Sep 15: Call for Participation

2022-08-23 Thread Michael Sperber
=== 10th ACM SIGPLAN International Workshop on Functional Art, Music, Modelling and Design (FARM) Ljubljana, Slovenia, 15th September 2022 https://functional-art.org

Clojure Luminus framework and Single Sign On

2022-08-17 Thread Sameer Thajudin
Hi, What is the best way to implement user authentication and authorization for a Clojure Luminus application that has a front end developed using Reagent? Can the Spring security filter chain be used? Thank you. -- You received this message because you are subscribed to the Google Groups

[Final CFP] Deadline Extended! Scheme 2022, Scheme and Functional Programming Workshop 2022

2022-07-21 Thread Andy Keep
The 2022 Scheme and Functional Programming Workshop is calling for submissions. We invite high-quality papers and talk proposals about novel research results, lessons learned from practical experience in an industrial or educational setting, and even new insights on old ideas. We welcome and

[2nd CFP] Scheme 2022, 23rd Scheme and Functional Programming Workshop

2022-07-04 Thread Andy Keep
The 2022 Scheme and Functional Programming Workshop is calling for submissions. We invite high-quality papers and talk proposals about novel research results, lessons learned from practical experience in an industrial or educational setting, and even new insights on old ideas. We welcome and

CfP deadline extension June 8 - ACM Workshop on Functional Art, Music, Modelling and Design

2022-06-03 Thread Michael Sperber
=== 10th ACM SIGPLAN International Workshop on Functional Art, Music, Modelling and Design (FARM) Call for Papers, Demos, and Performance Ljubljana, Slovenia, 16th

Final CfP - ACM Workshop on Functional Art, Music, Modelling and Design - Deadline June 1

2022-05-14 Thread Michael Sperber
=== 10th ACM SIGPLAN International Workshop on Functional Art, Music, Modelling and Design (FARM) Call for Papers, Demos, and Performance Ljubljana, Slovenia, 16th

2nd CfP - ACM Workshop on Functional Art, Music, Modelling and Design - Deadline June 1

2022-04-10 Thread Michael Sperber
=== 10th ACM SIGPLAN International Workshop on Functional Art, Music, Modelling and Design (FARM) Call for Papers, Demos, and Performance Ljubljana, Slovenia, 16th

[CFP] Scheme 2022, 23rd Scheme and Functional Programming Workshop

2022-03-20 Thread Andy Keep
The 2022 Scheme and Functional Programming Workshop is calling for submissions. We invite high-quality papers and talk proposals about novel research results, lessons learned from practical experience in an industrial or educational setting, and even new insights on old ideas. We welcome and

ACM Workshop on Functional Art, Music, Modelling and Design - Call for Papers, Demos, and Performances

2022-03-13 Thread Michael Sperber
=== 10th ACM SIGPLAN International Workshop on Functional Art, Music, Modelling and Design (FARM) Call for Papers, Demos, and Performance Ljubljana, Slovenia, 16th

Re: pre and post assertions, always in the meta data?

2022-02-15 Thread Sean Corfield
of the function with ( ) for clarity so you can which metadata belongs to the function Var and which belongs to a specific arity, and you can see they are combined. I've never seen anything except :pre/:post in position three and I've never seen :pre/:post in position two (until I saw

Re: pre and post assertions, always in the meta data?

2022-02-03 Thread Laws
Hmmm, okay, I was using slingshot/try+ everywhere and then, just once, I used a plain 'try' and forgot to use the correct catch. My fault. On Thursday, February 3, 2022 at 1:56:59 PM UTC-5 Laws wrote: > > I see this old post by Fogus: > > http://blog.fogus.me/2009/12/21

pre and post assertions, always in the meta data?

2022-02-03 Thread Laws
I see this old post by Fogus: http://blog.fogus.me/2009/12/21/clojures-pre-and-post/ With this example: (defn constrained–fn [f x] {:pre [(pos? x)] :post [(= % (* 2 x))]} (f x)) But I see this modern example: https://ostash.dev/posts/2021-07-01-pre-post-conditions/ (defn func ^{:pre

a new Mac, with an old Emacs setup, and Cider won't work

2022-01-22 Thread Laws
I've a new Mac, but I copied over my old Emacs setup. Not sure if this is some kind of version conflict. I'm trying to run "cider-jack-in" for the first time on this machine and I get this error. Does anyone have a guess what this is about? Caused by: java.lang.Runti

[ANN] com.walmartlabs/lacinia 1.1 and lacinia-pedestal 1.1

2022-01-14 Thread Howard Lewis Ship
Lacinia is an open-source implementation of the GraphQL specification, in Clojure. GraphQL is an outstanding approach to getting diverse clients and servers exchanging data cleanly and efficiently. GitHub repo: https://github.com/walmartlabs/lacinia Documentation: http://lacinia.readthedocs.io

Call for Participation: Study on Visual and Interactive-Syntax in Clojure(Script)

2022-01-11 Thread Leif Andersen
The Programing Research Laboratory at Northeastern University is conducting a study on the usability of visual and interactive syntax for ClojureScript. Participation involves filling out a questionnaire and is expected to take about 30 minutes. The questionnaire consists of multiple choice

Re: What are resources to learn Clojure for beginners in Programming and get better?

2021-11-04 Thread Zeinab Zeitoun
wrote: > Thank you all, those are all wonderful replies, and they help a lot > > On Thursday, November 4, 2021 at 1:59:28 AM UTC+1 lafo...@gmail.com wrote: > >> This may seem silly at times, but I think very highly of it as a starting >> point: https://www.braveclojure.com/ >&g

Re: What are resources to learn Clojure for beginners in Programming and get better?

2021-11-04 Thread Hanekawa Tsubasa
Thank you all, those are all wonderful replies, and they help a lot On Thursday, November 4, 2021 at 1:59:28 AM UTC+1 lafo...@gmail.com wrote: > This may seem silly at times, but I think very highly of it as a starting > point: https://www.braveclojure.com/ > > Also, I suggest th

Re: What are resources to learn Clojure for beginners in Programming and get better?

2021-11-03 Thread William la Forge
This may seem silly at times, but I think very highly of it as a starting point: https://www.braveclojure.com/ Also, I suggest that you shift approaches from time to time. Clojure is unbelievably rich and supports programming methodologies that you've never hear of, as well as all the one

Re: What are resources to learn Clojure for beginners in Programming and get better?

2021-11-03 Thread Harold
> My question is, what are good resources to get better at clojure, that does not require much prior experience? > I learned a lot from, and like to recommend, the Koans: http://clojurekoans.com/ > Would be going through specific tutorials, like for example, how to write simple snak

Re: What are resources to learn Clojure for beginners in Programming and get better?

2021-11-03 Thread Jacek Schae
ng macros ... and the rest builds on top of that. Every course takes your from zero to having a finished app; including deployment. My learning style is learning by doing and all of the courses are constructed this way. We build fronted app, or backend REST API ... if this is something that could wor

What are resources to learn Clojure for beginners in Programming and get better?

2021-11-03 Thread Hanekawa Tsubasa
As in title, I am not too good of programmer, best I can do is like, write simple number guessing game, and I guess that is an elementary thing to even be able to do.. So, My question is, what are good resources to get better at clojure, that does not require much prior experience? And

[ANN] com.walmartlabs/lacinia 1.0 and lacinia-pedestal 1.0

2021-10-11 Thread Howard Lewis Ship
Lacinia is an open-source implementation of the GraphQL specification, in Clojure. GraphQL is an outstanding approach to getting diverse clients and servers exchanging data cleanly and efficiently. GitHub repo: https://github.com/walmartlabs/lacinia Documentation: http://lacinia.readthedocs.io

Open-sourced Clojure libraries for analytics and ML

2021-10-02 Thread Denis Laprise
Hi We recently open-sourced some work our team did over the last few years at Curbside / Rakuten and I wanted to share it with the Clojure community. The projects are listed at https://rakutenrewards.github.io/ and consist of the following: clojure-beam: Apache Beam clojure wrapper clojure

Re: gen-class and need for fully qualified class names

2021-10-01 Thread Elias Zaretsky
to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send

gen-class and need for fully qualified class names

2021-09-30 Thread Jon Seltzer
ups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. To view this discussion on the web visi

Re: [?] alter-var-root and *out*

2021-09-01 Thread Benedek Szilvasy
-dynamic vars too, though you should be careful with that (and usually avoid it altogether). -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are

Re: [?] alter-var-root and *out*

2021-09-01 Thread Paul Stadig
`*out*` may have a thread binding established. REPLs will often do this. If `*out*` is thread bound you should be able to use `thread-bound?` to check that and then `set!` to set it, but you have to be careful because https://clojure.atlassian.net/browse/CLJ-1077 On Wed, Sep 1, 2021 at 4:58 AM

[?] alter-var-root and *out*

2021-09-01 Thread Philos Kim
//groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. To view this discussion o

Functional Art, Music, Modeling and Design (FARM 2021) Aug 27: Call for Participation

2021-08-10 Thread Michael Sperber
== FARM 2021 9th ACM SIGPLAN International Workshop on Functional Art, Music, Modeling and Design 27 August, 2021, co-virtuel with ICFP 2021 https://functional-art.org

ACM Workshop on Functional Art, Music, Modelling and Design - 2nd Call for Papers, Demos, and Performances

2021-04-16 Thread Michael Sperber
=== 7th ACM SIGPLAN International Workshop on Functional Art, Music, Modelling and Design (FARM) Call for Papers, Demos, and Performance Virtual, 27th August

ACM Workshop on Functional Art, Music, Modelling and Design - Call for Papers, Demos, and Performances

2021-02-25 Thread Michael Sperber
=== 7th ACM SIGPLAN International Workshop on Functional Art, Music, Modelling and Design (FARM) Call for Papers, Demos, and Performance Virtual, 27th August

[ANN] com.walmartlabs/lacinia 0.38.0 and lacinia-pedestal 0.15.0

2021-01-22 Thread Howard Lewis Ship
Lacinia is an open-source implementation of the GraphQL specification, in Clojure. GraphQL is an outstanding approach to getting diverse clients and servers exchanging data cleanly and efficiently. GitHub repo: https://github.com/walmartlabs/lacinia Documentation: http://lacinia.readthedocs.io

Re: Clojure and Python Flask

2021-01-09 Thread alexandr...@gmail.com
This shouldn't be a problem - you can send all Flask responses as JSON and it will work fine in CLJS. >From Flask, have a look at https://stackoverflow.com/questions/13081532/return-json-response-from-flask-view In Clojurescript, use for instance https://github.com/r0man/cljs-http

Clojure and Python Flask

2021-01-09 Thread Pascal Dutilleul
Does somebody has experience serving ClojureScript (Re-Frame) through Python Flask? Or even better integrating a Clojure app within an existing Flask app ? I need to add a new module to an existing Flask app and I’d like at least the frontend to be ClojureScript. What are the possibilities

Re: Socket servers, threads, and redirecting error output.

2021-01-06 Thread jum...@gmail.com
Thanks Sean, the stuff with file/line and thread name was helpful! I updated my own logging-future macro(s) - here's an interesting version (logging-future+) that logs the client stacktrace at the time when it called future. I often find that much more useful that the stacktrace insid

Re: Socket servers, threads, and redirecting error output.

2021-01-05 Thread Austin Haas
ing you want. > > (defmacro logged-future > "Given a body, execute it in a try/catch and log any errors." > [& body] > (let [line (:line (meta &form)) > file *file*] > `(future > (try > ~@body > (catch Throwable t# > (println t# "Unhandled exc

Re: Socket servers, threads, and redirecting error output.

2021-01-03 Thread Sean Corfield
Austin, You might find a macro like this helpful -- just use it directly instead of future. You can replace println with whatever sort of logging you want. (defmacro logged-future "Given a body, execute it in a try/catch and log any errors." [& body] (let [line (:line (meta &

Re: Socket servers, threads, and redirecting error output.

2021-01-02 Thread Austin Haas
Ah, thanks for pointing that out. I must've overlooked your example, because I'd already written off futures. It seems like what you are suggesting, catch and print, might be about as good as I could hope for. If I don't want to block the main thread, then I don't s

Re: Socket servers, threads, and redirecting error output.

2021-01-02 Thread Justin Smith
gt; function to the socket you are listening to. >> >> I find "future" very convenient for this, it uses a pool which will >> perform better than creating Threads ad-hoc, and will capture Exceptions >> and re-throw when you deref (of course, it's up to yo

Re: Socket servers, threads, and redirecting error output.

2021-01-02 Thread Austin Haas
structure connecting the information about the failed function > to the socket you are listening to. > > I find "future" very convenient for this, it uses a pool which will > perform better than creating Threads ad-hoc, and will capture Exceptions > and re-throw when

Re: Socket servers, threads, and redirecting error output.

2021-01-02 Thread Justin Smith
ocket you are listening to. I find "future" very convenient for this, it uses a pool which will perform better than creating Threads ad-hoc, and will capture Exceptions and re-throw when you deref (of course, it's up to you to ensure you deref, or use try/catch and otherwise

Socket servers, threads, and redirecting error output.

2020-12-31 Thread Austin Haas
Problem: When I connect to a socket server and create a thread, exceptions in the thread are printed in the server's process, not the client's. I'd like them to appear in the client's process, where the thread was created. (I'm using the term "process" v

Re: Cognitect and Nubank are Sponsoring Open Source Developers

2020-12-15 Thread Peter Strömberg
d to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/clojure/5d7b0904-5d64-409b

Cognitect and Nubank are Sponsoring Open Source Developers

2020-12-15 Thread Alex Miller
roup. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/clojure/5d7b0904-5d64-409b-a98d-8099961a75e9n%40googlegroups.com.

Re: Declarative and Minimalistic Computing devroom CfP

2020-12-09 Thread Manolis Ragkousis
Hello all, The date of the submission deadline for recordings was a typo. I have updated the CfP at the wiki link https://libreplanet.org/wiki/FOSDEM2021-devroom-declarative-and-minimalistic-computing to the 7th of January. Of course keep in mind that this is not a hard deadline, and we can

Re: Scicloj meeting: Sicmutils #1 - geometry, symbolic math, and physics in Clojure(script)

2020-12-07 Thread Daniel Slutsky
Here is the meeting video: https://twitter.com/lambduhh/status/1336027036574429185 On Friday, 20 November 2020 at 01:55:25 UTC+2 Daniel Slutsky wrote: > Background and RSVP: > https://clojureverse.org/t/scicloj-meeting-sicmutils-1-geometry-symbolic-math-and-physics-in-clojure-script/ >

Declarative and Minimalistic Computing devroom CfP

2020-12-01 Thread Manolis Ragkousis
We are excited to announce a devroom on Declarative and Minimalistic Computing at FOSDEM on Sunday February 7th 2021, online! FOSDEM is one of the most important free software conferences and is hosted annually at Université libre de Bruxelles in Brussels, Belgium. Unfortunately this year FOSDEM

Scicloj meeting: Sicmutils #1 - geometry, symbolic math, and physics in Clojure(script)

2020-11-19 Thread Daniel Slutsky
Background and RSVP: https://clojureverse.org/t/scicloj-meeting-sicmutils-1-geometry-symbolic-math-and-physics-in-clojure-script/ -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com

Re: Clojure and Data Science in Healthcare #1

2020-11-02 Thread Daniel Slutsky
Here is the meeting's video: https://youtu.be/dayMZjQcVaY Note that the text chat was quite lively -- see the link at the video description. Many thanks to Sivaram Arabandi and Pier Federico Gherardini for the talks, to Lacey Kitch who kept clarifying things at the text chat, and to

Clojure and Data Science in Healthcare #1

2020-10-18 Thread Daniel Slutsky
Please register for the 1st Scicloj meeting about Clojure and Data Science in Healthcare: https://twitter.com/scicloj/status/1317948223227645954 Sunday, November 1st, 18:00-20:00 UTC. https://time.is/1800_1_Nov_2020_in_UTC/ <https://www.google.com/url?q=https://time.is/1800_1_Nov_2020_in_UTC/

[ANN] com.walmartlabs/lacinia 0.37.0 and lacinia-pedestal 0.14.0

2020-06-30 Thread Howard Lewis Ship
Lacinia is an open-source implementation of Facebook's GraphQL specification, in Clojure. GraphQL is an outstanding approach to getting diverse clients and servers exchanging data cleanly and efficiently. GitHub repo: https://github.com/walmartlabs/lacinia Documentation:

[ANN] superlifter 0.1.2 - DataLoader for Clojure and now Clojurescript

2020-06-18 Thread Oliver Hine
essage because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/clojure/98b84

A template for web apps with user auth using OWASP best practices and pedestal

2020-06-16 Thread Brandon R
Hello, I've recently been working on building a web app with authentication using specific libraries and tooling that I wanted to use. I separated that part out into a separate repo for my own reference later, and for anyone who might find it useful. https://github.com/bpringe/auth-tem

Re: first time without state - and I'm lost

2020-06-16 Thread Oleksandr Shulgin
't abstract the service invocation at a > higher layer. > > Regarding the implementation of the token store, we could initially think > of a synchronized store, like an atom, and `revise-oauth-token` would swap > its content when a refresh is required. This is inconvenient for > mult

Re: first time without state - and I'm lost

2020-06-15 Thread Ernesto
"; > >:oauth-token (revise-oauth-token token-store)}) > > > > If you find it too repetitive or fragile in your client code, you can > make a local function, but I wouldn't abstract the service invocation at a > higher layer. > > > > Regarding th

Re: first time without state - and I'm lost

2020-06-15 Thread Justin Smith
nvocation at a higher > layer. > > Regarding the implementation of the token store, we could initially think of > a synchronized store, like an atom, and `revise-oauth-token` would swap its > content when a refresh is required. This is inconvenient for multithreaded > clients

Re: first time without state - and I'm lost

2020-06-15 Thread Ernesto Garcia
nitially think of a synchronized store, like an atom, and `revise-oauth-token` would swap its content when a refresh is required. This is inconvenient for multithreaded clients, because there could be several refresh invocations going on concurrently. In order to avoid concurrent refreshes, I prop

Re: first time without state - and I'm lost

2020-06-04 Thread Gary Johnson
-> Recursions and State -> Bindings* You asked how to handle state in a functional programming language. In some situations, it may be easiest to just store stateful values in a mutable container type like a ref, agent, or atom. This is not a strictly functional approach, but these are tool

Re: [CfP] 2nd Call - 2020 Scheme and Functional Programming Workshop

2020-05-18 Thread Jason Felice
Will the actual conference will be online this year? Do you know approximately when? On Sun, May 17, 2020 at 2:15 PM Jason Hemann wrote: > Hello, > > Thank you for your attention, and my apologies for any duplication you > receive. Please find below the Call for Papers for the *202

[CfP] 2nd Call - 2020 Scheme and Functional Programming Workshop

2020-05-17 Thread Jason Hemann
Hello, Thank you for your attention, and my apologies for any duplication you receive. Please find below the Call for Papers for the *2020 Scheme and Functional Programming Workshop*. The deadline has been extended to *May 31*. Please also note that the workshop is now to be held *virtual*ly

Re: first time without state - and I'm lost

2020-05-14 Thread J.-F. Rompre
Hi @Scaramaccai, If you are starting out, it's always best to keep things as bare as possible until you discover a better way. If as you say you can save the usr/pwd, and the decision to keep or replace the token is entirely left to the token provider, then I think something lik

Re: first time without state - and I'm lost

2020-05-14 Thread J.-F. Rompre
Hi @Scaramaccai, If you are starting out, it's always best to keep things as bare as possible until you discover a better way. If as you say you can save the usr/pwd, and the decision to keep or replace the token is entirely left to the token provider, then I think something lik

Re: first time without state - and I'm lost

2020-05-14 Thread J.-F. Rompre
Hi @Scaramaccai, If you are starting out, it's always best to keepthings as bare as possible until you discover a better way. If as you say you can save the usr/pwd, and the decision to keep or replace the token is entirely left to the token provider, then I think something like the foll

Re: first time without state - and I'm lost

2020-05-14 Thread J.-F. Rompre
Hi @Scaramaccai, If you are starting out, it's always best to keepthings as bare as possible until you discover a better way. If as you say you can save the usr/pwd, and the decision to keep or replace the token is entirely left to the token provider, then I think something like the foll

Re: first time without state - and I'm lost

2020-05-14 Thread J.-F. Rompre
Hi @Scaramacci, If you are starting out, it's always best to keep things as bare as possible until you discover a better way. If as you say you can save the usr/pwd, and the decision to keep or replace the token is entirely left to the token provider, then I think something lik

Re: first time without state - and I'm lost

2020-05-13 Thread James Reeves
his group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop recei

Re: first time without state - and I'm lost

2020-05-13 Thread Matthew Downey
ent url] (maybe-update-token (:token client) (:user client) (:psw client)) (let [token @(:token client)] (do-request token url))) If you want to do the same thing, but are uncomfortable storing username and password in the record, you can close them into a function: (defrecord MyAuthHtt

first time without state - and I'm lost

2020-05-12 Thread Gerard Klijs
What helped for me was picking an existing Clojure project, and try to make changes to it. I also struggled with some things. And not declaring and mutating objects was confusing at times. But I think with this regard it helped me a lot. In my case it was an existing cljs snake game https

Re: first time without state - and I'm lost

2020-05-12 Thread Jag Gunawardana
I know that lost feeling. I came from a background of OO too. Most of the languages I'd used (C++, Java, Python, Go) had either total OO orientation, or at least pushed you into an OO way of thinking. I found that reading some Clojure books and other's code helped a lot (Joy of Clo

Re: first time without state - and I'm lost

2020-05-12 Thread Orestis Markou
ntials. Seems like a mutable internal field is fine for this use case. > On 12 May 2020, at 9:27 AM, Scaramaccai wrote: > > Hi everyone, > > I wanted to give a try to Clojure and functional programming in general but I > can't really stop thinking "object oriented"

first time without state - and I'm lost

2020-05-12 Thread Scaramaccai
Hi everyone, I wanted to give a try to Clojure and functional programming in general but I can't really stop thinking "object oriented" or "with state everywhere". After 20+ years with objects + state I guess I'm lost without them :) The first thing I want to t

Re: Deep Learning for Programmers book 0.16.0: new chapter on Multi-class classification and metrics

2020-05-10 Thread Dragan Djuric
> Deep Learning for Programmers: An Interactive Tutorial with CUDA, OpenCL, >> DNNL, Java, and Clojure >> version 0.16.0 is available at >> https://aiprobook.com/deep-learning-for-programmers?release=1.16.0&src=cgroups >> >> Why? >> >> ++ Clojure! &g

Re: Deep Learning for Programmers book 0.16.0: new chapter on Multi-class classification and metrics

2020-05-10 Thread Ali M
Why a subscription model for a book wouldn't that make the book very expensive ? On Thursday, April 2, 2020 at 6:06:33 AM UTC-4, Dragan Djuric wrote: > > Deep Learning for Programmers: An Interactive Tutorial with CUDA, OpenCL, > DNNL, Java, and Clojure > version 0.16.

Re: Conceptual difference between map and class

2020-04-05 Thread James Gatannah
"A language that doesn't affect the way you think about programming is not worth knowing." - Alan Perlis A lot clojure's culture and philosophy is centered around Rich's talks. I resisted this for a very long time. I'd rather spend 10 hours reading a book than 1

Re: Conceptual difference between map and class

2020-04-05 Thread Ernesto Garcia
In my humble opinion, main benefits of Clojure: - Development cycle: modifying and experimenting on a running program. - Treating data as maps. Direct and efficient immutability. - Macros: Though used very scarcely, it's good to know that you'll be able to extend the language from

Re: Conceptual difference between map and class

2020-04-04 Thread Brandon R
I think someone else here could give a more detailed answer, and I will just give it from my point of view. What I really like about Clojure, coming from C# and JavaScript (and toying with other languages), is the immutability, the concurrency features, the state management features, and the

Re: Conceptual difference between map and class

2020-04-03 Thread Dieter Van Eessen
Thanks, I'm currently reading the book you mentioned (Joy of Clojure). Just started on 'Types, protocols and records'... Still doubting if I should continue learning clojure. From my point of view, the only major advantages of the language so far, are 'clojurescript'

Re: HP Fortify Security Scanner and Clojure

2020-04-02 Thread 'Alex Miller' via Clojure
Most Clojure classes cannot be decompiled to Java (locals clearing is all over it and has no Java equivalent, just as one problem, there are others). Some people have tried this with Fortify and other bytecode oriented scanners but I don't know of anyone that's gotten any results

Re: HP Fortify Security Scanner and Clojure

2020-04-02 Thread Didier
ithub.com/zmsp/sonar-clojure) which uses Eastwood and Kibit that > might also be useful. > > FYI, Clojure is registered in CVE with id CVE-2015-4653 (although there > are no reports registered yet). I gather that it is useful to create at > least one such thing to make it searchable

Re: Conceptual difference between map and class

2020-04-02 Thread Dieter Van Eessen
Thanks alot for all the answers, still getting my head around the matter :) On Tuesday, March 31, 2020 at 10:41:02 AM UTC+2, Dieter Van Eessen wrote: > > Hello, > > I've got a clojure and a python piece of code. Both seem to create what > can be considered an instance of a

Deep Learning for Programmers book 0.16.0: new chapter on Multi-class classification and metrics

2020-04-02 Thread Dragan Djuric
Deep Learning for Programmers: An Interactive Tutorial with CUDA, OpenCL, DNNL, Java, and Clojure version 0.16.0 is available at https://aiprobook.com/deep-learning-for-programmers?release=1.16.0&src=cgroups Why? ++ Clojure! ++ For Programmers! + the only AI book that walks the

  1   2   3   4   5   6   7   8   9   10   >