Re: [ANN] org.clojure/tools.cli 0.4.1

2018-10-05 Thread Pierre-Yves Ritschard
Thanks for tools.cli, it's a pillar of a number of our projects, present in almost all our `main.clj` files :-) On Sunday, September 23, 2018 at 11:16:34 PM UTC+2, Sean Corfield wrote: > > Alex says the auto-generation process is broken and needs to be run > manually for each project right now.

[JOB] Senior software engineer - backend at Exoscale | Switzerland or remote in Europe

2018-09-14 Thread Pierre-Yves Ritschard
Hi, For the past 6 years, critical backend systems at Exoscale have been written in Clojure and help power very large cloud workloads across several industries, even down to 10k+ core workloads for CERN. The team is spread across Europe with headquarters in Lausane, Switzerland. We're growing

[JOBS] Clojure and ClojureScript at Exoscale

2018-01-18 Thread Pierre-Yves Ritschard
Hi! Exoscale is growing fast and adding a number of Clojure and ClojureScript positions. We have been building our European cloud with Clojure since 5 years now and work on large orchestration and stream processing projects. This year marks the year where we will switch to ClojureScript for a nu

Re: What is juxt really doing?

2017-07-17 Thread Pierre-Yves Ritschard
A while back I showed how to use it for simplistic pattern matching too: http://spootnik.org/entries/2013/05/21/poor-mans-pattern-matching-in-clojure/ On Monday, July 17, 2017 at 3:10:14 AM UTC+2, lawrence...@gmail.com wrote: > > Thank you for all the responses. The examples of using juxt to sort

[ANN] net: the clojure netty companion 0.3.3-beta2

2017-01-17 Thread Pierre-Yves Ritschard
Hi, Some time ago, I followed a path which involved not depending on aleph[1] for asynchronous programming. Some bits that we use internally at Exoscale where carved out in what is now net[2]. This library aims to provide a thin layer on top of netty, staying a bit closer to netty than aleph p

Re: Libraries for dealing with DNS

2015-10-19 Thread Pierre-Yves Ritschard
Hi Kyle, If you don't mind synchronous queries, "InetAddress/getByName" will do the job just fine and use your system resolving parameters. http://docs.oracle.com/javase/6/docs/api/index.html?java/net/InetAddress.html#getByName Cheers, - pyr On Mon, Oct 19, 2015 at 9:56 AM, JvJ wrote: > DNS

Re: [ANN] Clojure 1.8.0-beta1

2015-10-16 Thread Pierre-Yves Ritschard
Hi Mike, The code at here seems to contradict you: https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/APersistentVector.java#L448-L460, as does "(key [:a :b])" in the REPL. The only limitation is that vectors need to be of size two to act as IMapEntries (otherwise an IllegalOpera

Re: component: dynamic configuration

2015-07-07 Thread Pierre-Yves Ritschard
s.google.com/forum/#!topic/clojure/2-baBp61XTs/discussion > > I recommend that system maps be kept "flat," without any nested systems. > > To prevent name clashes, you can always generate unique keys for the > components. > > –S > > > On Tuesday, Jul

Re: component: dynamic configuration

2015-07-07 Thread Pierre-Yves Ritschard
lps, but remember that components and systems are > just records, and records behave like maps. You can construct an empty > `system-map` and then `assoc` components or even `merge` other maps into it. > > –S > > > On Tuesday, July 7, 2015 at 1:00:51 PM UTC-4, Pierre-Yves

component: dynamic configuration

2015-07-07 Thread Pierre-Yves Ritschard
Hi, I've been using an approximation of what component provides in my applications for quite a while, and I'm trying to see if it's feasible to move to component, in the sake of homogeneity with the rest of the clojure world and to see if there are things that make my life easier. I have a couple

[ANN] unilog 0.7.5: logging should be easy

2015-06-05 Thread Pierre-Yves Ritschard
Hi #clojure, I just released unilog 0.7.5 (previously logconfig). Unilog provides a map-based configuration interface for logback, which will be picked up by clojure.tools.logging, log4j, JuL and commons-logging - the standard JVM logging mechanisms. If you're writing executables (daemons, batche

JDK8

2015-05-07 Thread Pierre-Yves Ritschard
Hi, There hasn't been a JDK version thread in a while and a few projects we rely on will soon require a JDK8. Are people running large apps on JDK8 and if so, which one ? I'd be intent on trying to stick with OpenJDK if at all possible. Cheers, -- You received this message because you are subsc

moving from core.async/reduce to transducers

2015-05-06 Thread Pierre-Yves Ritschard
Hi clojure, There's a thing I find myself doing often in some of my projects where I reduce over a core.async channel this way: (core.async/reduce update-fn init-state input-channel) By doing this on a stream of inbound events. When looking at doing this with transducers, it's a bit unclear how

Re: [ANN] logconfig 0.7.1

2014-10-15 Thread Pierre-Yves Ritschard
I wrote a few more words to describe the motivation behind logconfig: http://spootnik.org/entries/2014/10/15_easy-clojure-logging-set-up-with-logconfig.html On Tue, Oct 14, 2014 at 11:17 PM, Pierre-Yves Ritschard wrote: > Hi, > > While clojure.tools.logging does a great job at logging

[ANN] logconfig 0.7.1

2014-10-14 Thread Pierre-Yves Ritschard
Hi, While clojure.tools.logging does a great job at logging, writing programs in clojure involves setting up the logging, which for people not familiar with the JVM can mean a lot of head scratching before figuring out how log4j.properties work and can be fed to a JVM. logconfig was meant to help

Re: Is Korma still a good current choice for DB backend?

2014-07-23 Thread Pierre-Yves Ritschard
For the record, I never ran in any structural issue when working with clojure.java.jdbc and clojure.java.jdbc.sql. It lets you write clean and composable queries and removes takes care of the essential (escaping and the like). On Wed, Jul 23, 2014 at 11:14 AM, David Powell wrote: > I'm using

Re: [ClojureScript] ANN: core.match 0.2.0-beta2

2013-06-17 Thread Pierre-Yves Ritschard
Thank you for the AOT fixes! On Mon, Jun 17, 2013 at 7:10 AM, Ambrose Bonnaire-Sergeant < abonnaireserge...@gmail.com> wrote: > Fantastic news! > > > On Mon, Jun 17, 2013 at 1:04 PM, David Nolen wrote: > >> At long last I've come around to overhauling core.match. >> >> Changes/Fixes/Enhancements

Re: I tripped out

2013-05-06 Thread Pierre-Yves Ritschard
atkaaz, you can do this: (fn [& {:keys [arg1 arg2 arg3]}] ...) On Mon, May 6, 2013 at 10:03 PM, AtKaaZ wrote: > I agree, I'm not sure what he means xD > If you ask me, I'd rather have each arg be identified by a keyword instead > of by order > like: (somefn :arg1 "somestr" :arg3 100 :arg2 (+ 1

[ANN] jenkins-leiningen

2012-07-18 Thread Pierre-Yves Ritschard
Hi guys, I wanted this for a while so here goes: https://github.com/pyr/jenkins-leiningen. It is very simplistic and inspired from the sbt one. I posted a small blurb about it here as well: http://spootnik.org/entries/2012/07/18_a-leiningen-plugin-for-jenkins.html Cheers, - pyr -- You recei

Re: clojure.java.jmx "0.1" - problem getiing java.lang:type=Threading :AllThreadIds attribute

2012-02-23 Thread Pierre-Yves Ritschard
MBeans will let you store serialized java objects, so you can also find hashmaps, or arbitrary arrays. When you encounter cases like this one, you can extend clojure.data.json's functionnality to get the appropriate behavior (see http://spootnik.org/blog/2011/08/12/a-bit-of-protocol/ for hints) O

Re: Dynamically Loading Jar Strategy

2011-12-08 Thread Pierre-Yves Ritschard
Thanks, this clarifies why my initial tests setting the current class loader failed. On Thu, Dec 8, 2011 at 2:14 AM, Brent Millare wrote: > To better understand what's going underneath, you're just calling the addURL > method of the classloader. But since you might be evaluating this at the > rep

Re: Dynamically Loading Jar Strategy

2011-12-07 Thread Pierre-Yves Ritschard
aster/src/clojurebot/plugin.clj > > On Wed, Dec 7, 2011 at 11:53 AM, Pierre-Yves Ritschard > wrote: >> I ended up doing that, all the other approaches fail for me. >> Thanks for the confirmation. >> >> On Wed, Dec 7, 2011 at 8:12 PM, vitalyper wrote: >>> You can a

Re: Dynamically Loading Jar Strategy

2011-12-07 Thread Pierre-Yves Ritschard
feeed3?lnk=gst&q=classpath#69c0d195deeed3 > > HTH > > On Dec 7, 10:26 am, Pierre-Yves Ritschard wrote: >> Hi, >> >> I have a use case where a daemon needs to read full namespaces from an >> external jar. >> I can successfuly access the namespace in

Dynamically Loading Jar Strategy

2011-12-07 Thread Pierre-Yves Ritschard
Hi, I have a use case where a daemon needs to read full namespaces from an external jar. I can successfuly access the namespace in the jar with tools.namespace/ find-namespaces-in-jarfile, then from the jarfile, selecting appropriate entries, coercing into readers and then loading with load- reade

Re: at-at

2011-08-12 Thread Pierre-Yves Ritschard
Shameless plug, but tron provides the same kind of functionality: https://github.com/pyr/tron Cheers, - pyr On Wed, Aug 10, 2011 at 7:58 PM, David Nolen wrote: > On Wed, Aug 10, 2011 at 1:37 PM, Sam Aaron wrote: >> >> Hi, >> >> I just wanted to announce the arrival of the newly-born at-at lib