Re: Why is next.jdbc using my IP address?

2022-03-04 Thread Orestis Markou
You might need to quote the string with single quotes, otherwise bash will probably try and interpolate a var `$n`... > On 4 Mar 2022, at 15.58, Lawrence Krubner wrote: > > Okay, this seems to have to do with characters acting as wildcards in the > password itself. This is in the .env file: >

Re: Why is next.jdbc using my IP address?

2022-03-04 Thread Orestis Markou
The error message indicates that you connect with user `pulseuser` - is that the expected user? I would print out the configuration that you’re passing in to jdbc.next to be absolutely certain it contains the values you expect it does. When you say “cli”, do you mean a mysql client? Double

Re: Ruby on Rails similar functionality for auto-generating an API?

2022-01-08 Thread Orestis Markou
Hi, I’m not sure it’s a 100% match of what you want but https://coast.swlkr.com/ is a recent attempt at a full stack framework. Perhaps it will be useful. Best, Orestis > On 8 Jan 2022, at 6:27 AM, Laws wrote: > > In Ruby on Rails, given an existing database, it is very easy to >

Re: Routing for a non-web-app

2021-04-19 Thread Orestis Markou
As far as I know, reitit could probably do what you want. It works on ClojureScript too. > On 19 Apr 2021, at 01.58, Blake Watson wrote: > > Howdy, > > Writing a desktop app and thinking describing routes is the way to go, as far > as setting up the flow through the program. There are quite

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

2020-05-12 Thread Orestis Markou
I’m interested in this too — you can get inspiration from https://github.com/cognitect-labs/aws-api/blob/master/src/cognitect/aws/credentials.clj which does something similar for expired credentials.

Re: Component question/advice

2019-09-16 Thread Orestis Markou
I did something similar for a database connection component, that could connect to multiple databases at runtime and had to maintain internal state. I didn’t need to make the individual connections components, but this was because the DB driver handles state internally. In my case I used an

Re: [ANN] Clojure 1.10.1-beta1

2019-03-31 Thread Orestis Markou
I think the issue you are seeing is because you need to wrap the require form in a vector: (:require [trybeta.foo :refer :all]) Thanks, Orestis 31 Μαρ 2019, 4:19 μμ, ο χρήστης «Rakhim Davletkaliyev » έγραψε: > Hi Alex, > > With this beta + ClojureScript (v. 1.10.238), when trying to "refer

Google Summer of Docs

2019-03-14 Thread Orestis Markou
Google just announced “Summer of Docs” — from their Twitter: > Announcing Season of Docs, a new program that connects technical writers with > open source projects! > We hope Season of Docs will help technical writers get into developer > documentation, while also helping open source projects

Re: Using map to produce side effects, not working

2019-02-07 Thread Orestis Markou
Without having ran your code, it seems that the inner map is not wrapped in a doall, so while the outer lazy-seq is forced, the inner is not. This might be of interest to you: http://clojure-doc.org/articles/language/laziness.html If

Re: [ANN] com.walmartlabs/lacinia 0.31.0 and com.walmartlabs/lacinia-pedestal 0.11.0

2019-01-07 Thread Orestis Markou
Thanks! Don’t worry about breaking changes the spec itself is evolving so at least I have resigned myself to some breakage down the line. Very happy to hear about JVM 11 compatibility! 7 Ιαν 2019, 7:43 μμ, ο χρήστης «Howard Lewis Ship » έγραψε: > Lacinia is an open-source implementation of

Re: How does Executors/newScheduledThreadPool know how or where to parallelize work?

2019-01-02 Thread Orestis Markou
If you call future, you will be using the future threadpool which is unbounded. If you know there’s always going to be a small amount of tasks in-flight, you can safely just use future to parallelize your work, and the scheduled executor to trigger trigger the work periodically. Have a look

Re: [ANN] clj-commons - an org

2018-11-11 Thread Orestis Markou
Thank you for the initiative, I think it is very valuable. It would be ideal if this gets its own website should that it starts to get some Google juice. Also, managing to add some note to the original repo would be super helpful, if at all possible. Finally, consider applying for Clojurists

Re: clojure

2018-09-26 Thread Orestis Markou
Perhaps this talk would be useful to you? Tom Faulhaber - Creating Beautiful Spreadsheets With Data and Templates https://www.youtube.com/watch?v=qnJs79W0BDo > On 26 Sep 2018, at 9:24 AM, venkata sai wrote: > > can anyone know how to

Re: IF, WHEN or SOME

2018-09-20 Thread Orestis Markou
evens? is not a macro, therefore when you do (evens? (println “one”)), the println will be evaluated first, and its return value, nil, gets passed into the evens function. 20 Σεπ 2018, 5:44 μμ, ο χρήστης «Stephen Feyrer » έγραψε: > Hi, > > I have just been playing around with this idea and

Re: IF, WHEN or SOME

2018-09-20 Thread Orestis Markou
In addition, when is a macro, so I don’t think you can call partial on it :) 20 Σεπ 2018, 5:44 μμ, ο χρήστης «Stephen Feyrer » έγραψε: > Hi, > > I have just been playing around with this idea and I got something. > > user=> (def some-numbers ‘(2 4 6 8)) #This is my value to test later. >