Re: Clojure Packaging Team BoF @DebConf - Aug 26 (Thu): 17:00 UTC (Online)

2021-08-25 Thread Chris Nuernberger
That is very cool!! On Wed, Aug 25, 2021, 6:01 PM Leandro Doctors wrote: > FYI > --Leandro > > *** > > Clojure Packaging Team BoF > Speaker: Elana Hashman > > Let’s gather the Debian Clojure community so we can find more > maintainers, discuss Clojure

Re: How to get a value of a var in Java

2021-06-18 Thread Chris Nuernberger
Vars extend IDeref so one way to get the value of a var is to call .deref on it: user> (def a) #'user/a user> (defn ab [] 1) #'user/ab user> (.deref (clojure.lang.RT/var "user" "a")) 2 user> (.deref (clojure.lang.RT/var "user" "ab")) #function[user/ab] On Fri, Jun 18, 2021 at 7:12 AM ru

Re: Routing for a non-web-app

2021-04-19 Thread Chris Nuernberger
For 'routing' specifically, if you want a more formal system we used state machines in the past and recently Clojure has a really nice additional possibility there - https://github.com/lucywang000/clj-statecharts. For general UI programming if you are using javafx then I really like cljfx -

[ANN] - libpython-clj2 beta 1

2021-03-02 Thread Chris Nuernberger
on the library for some time moving forward. Enjoy! Chris -- 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 moderated - please be patient with y

[ANN] Clojure High Performance Computing Library

2021-02-03 Thread Chris Nuernberger
and has partial JDK-16 and Graal Native support. Enjoy :-) Chris -- 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 moderated - please be patient with

Re: Calling Native C-code from Clojure

2020-12-05 Thread Chris Nuernberger
You are most welcome :-). For numerical computation, libjulia-clj <https://github.com/cnuernber/libjulia-clj> may interest you :-). On Sat, Dec 5, 2020 at 8:06 AM John Doe wrote: > Thank you Chris. It's very helpful. > > The approach you took for dtype-next is very interestin

Re: Calling Native C-code from Clojure

2020-12-04 Thread Chris Nuernberger
ype-next has no dependency on either JNA or JNR. Hope this helps, Chris On Fri, Dec 4, 2020 at 7:53 AM John Doe wrote: > Hello Everyone, > > *Motivation:* I want to invoke C-code functions from Clojure: writing > Java functions in Clojure. > > *Plan of Attack:* Rather than go with the JNI

Clojure integration with JuliaLang

2020-12-01 Thread Chris Nuernberger
. This is absolutely a hair-on-fire early release. I put this forward in order to just let everyone know it is concretely possible and to open the door for people who may be interested in helping out. https://github.com/cnuernber/libjulia-clj Enjoy, Chris -- You received this message because you

Re: Clojure as first language

2020-09-28 Thread Chris Nuernberger
> Clojure bridge * Anglican <https://probprog.github.io/anglican/index.html> - a probabilistic programming language * Bayadera <https://github.com/uncomplicate/bayadera> - MKL, GPU enhanced probabilistic programming system. Enjoy :-) On Mon, Sep 28, 2020 at 11:57 AM Baye wr

Re: Clojure as first language

2020-09-28 Thread Chris Nuernberger
tools that are specifically designed for helping people transition from Python to Clojure without needing to walk away from their Python knowledge base. Chris On Mon, Sep 28, 2020 at 11:08 AM Baye wrote: > Got it. Thanks again for your time! > > On Monday, September 28, 2020 at 8:05:32 PM UTC+3 Gary

[ANN] - tech.ml.dataset upgrades + memory map arrow blogpost

2020-08-12 Thread Chris Nuernberger
ctually see what I am working with! Much appreciation to Alex, Rich, and the team! https://techascent.com/blog/memory-mapping-arrow.html Enjoy! Chris -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to c

Re: [ANN] tech.ml.dataset - 2.0

2020-06-15 Thread Chris Nuernberger
> > > On Monday, June 15, 2020 at 5:50:52 PM UTC+1, Chris Nuernberger wrote: >> >> Good morning Clojurians :-) >> >> It is with much pride that I announce version 2.0 of tech.ml.dataset >> <https://github.com/techascent/tech.ml.dataset>, our libra

[ANN] tech.ml.dataset - 2.0

2020-06-15 Thread Chris Nuernberger
Good morning Clojurians :-) It is with much pride that I announce version 2.0 of tech.ml.dataset , our library that maps powerful concepts from libraries like Pandas and data.table into Clojure using functional paradigms. This data frame

[ANN] - libpython-clj news

2020-02-11 Thread Chris Nuernberger
Good morning Clojurians from snowy Boulder, CO - libpython-clj has been undergoing quite a bit of development. There is now extensible datafy/nav support for python modules and classes. We have much better (but still imperfect) environment support. We have a clj-template so you can use Sean

Re: interp2 for Clojure

2020-01-14 Thread Chris Nuernberger
Hey Charles, Maybe check out the apache commons-math3 interpolators: https://commons.apache.org/proper/commons-math/javadocs/api-3.6/org/apache/commons/math3/analysis/interpolation/package-summary.html On Tue, Jan 14, 2020 at 11:04 AM Charles Harvey III < charlesnhar...@gmail.com> wrote: >

Re: Can't use my macro in fuction definition

2019-10-19 Thread Chris Nuernberger
function, with no other changes, you need a switch statement that tests if x is a known type and then calls the macro with the now-known-at-compile-time literal classname. An instance function that found the constructor of x via reflection and then called that is what you want here. Chris

[ANN] Blog post about Clojure and Python Interop

2019-07-29 Thread Chris Nuernberger
We published a blog post about one specific but important tactic I used when writing libpython-clj in order to allow python to call clojure functions. I don't think this is necessary knowledge to use panthera or libpython-clj but it is a key piece to building a new binding to a C system elsewhere

Re: Clojure is a good choice for Big Data? Which clojure/Hadoop work to use?

2019-07-04 Thread Chris Nuernberger
Thad, You approach seems very promising to me for a lot of jobs. Spark runs on top of many things. As far as a clojure layer on top, what do you think about sparkling ? On Thu, Jul 4, 2019 at 8:43 AM Thad Guidry wrote: > "Batch" - doing things in

Re: Java Interop on steroids?

2019-07-03 Thread Chris Nuernberger
d the ability for > clients to specify generic type parameter values and serialization support > (the mechanics of which would need ironing out but I think should be > possible.) > > And to your point about types not known at runtime... this proxy would > support that use case on-the-

Re: Java Interop on steroids?

2019-07-02 Thread Chris Nuernberger
. It may be then important to be able to override Object methods but maybe you already can with gen-class. On Tue, Jul 2, 2019 at 7:24 PM Chris Nuernberger wrote: > eglue, > > 1. I think this is a great idea if it is really necessary. I would be in > favor of a reify++ alone to simplif

Re: Java Interop on steroids?

2019-07-02 Thread Chris Nuernberger
eglue, 1. I think this is a great idea if it is really necessary. I would be in favor of a reify++ alone to simplify things. I find reify amazing at code compression and heavily use it via type specific macros to implement interfaces that for instance support a particular primitive type. 2.

Re: Java Interop on steroids?

2019-06-22 Thread Chris Nuernberger
ngs like the Koans for the majority of the codebase and still provide a pathway for new people. That's a lot of thinking for a weekend :-). Thanks for the post it was interesting! Chris ​ On Friday, June 21, 2019 at 5:18:06 PM UTC-6, Nathan Fisher wrote: > > Storm recently moved away from Clojur

Re: Java Interop on steroids?

2019-06-21 Thread Chris Nuernberger
Sean, That is an interesting blog post. Sorry if I am not following everything but why not use the annotation support in gen-class for those types of things? https://github.com/clojure/clojure/blob/8af7e9a92570eb28c58b15481ae9c271d891c028/test/clojure/test_clojure/genclass/examples.clj#L34

[ANN] cpython bindings for clojure

2019-06-05 Thread Chris Nuernberger
Good morning Clojurians, About 2 months ago during a talk about the tech.ml systems the point was made that if we could load the python C libraries then that would provide us with a lot more libraries to draw from. In addition, I seem to remember one of the ML talks a concern about lack of

Re: Go block starvation issue

2019-04-13 Thread Chris Nuernberger
situation. On Fri, Apr 12, 2019 at 2:26 PM Ricardo Mayerhofer wrote: > Hi Chris, > Thank you very much for the thoughtful answer! > > We've been profiling CPU usage, most time currently is used in hard to > optimize operations such as into (which in turn calls reduce) e.g.: >

Re: Go block starvation issue

2019-04-12 Thread Chris Nuernberger
eparate executor, potentially lowering the thread priority. Use the go executor for blocking io only. Somewhere in there is a computational bandwidth vs. latency tradeoff. Hope this is solved and you can enjoy your weekend! Chris On Fri, Apr 12, 2019 at 12:26 PM Ricardo Mayerhofer

[ANN] General ML and ETL libraries

2019-02-27 Thread Chris Nuernberger
Clojurians, Good morning from (again) snowy Boulder! Following lots of discussion and interactions with many people around the clojure and ML worlds, TechAscent has built a foundation with the intention to allow the average clojurist to do high quality machine learning of the type they are

Re: avoiding casts with aget & friends

2019-01-30 Thread Chris Nuernberger
That is why I used 'unchecked-long' instead of 'long'. (unchecked-long (unchecked-byte 5)) Not (long (byte 5)) On Wed, Jan 30, 2019, 5:55 PM Brian Craft I haven't tried much. I'm getting the java via clj-java-decompiler.core > 'decompile' macro. > > A long cast does drop the cast (which is

Re: avoiding casts with aget & friends

2019-01-30 Thread Chris Nuernberger
does doing an unchecked cast of the return value of the aget on the byte array change things? (defn test-fn [] (let [obj-ary (object-array 10) byte-data (byte-array (range 10))] (doseq [idx (range 10)] (let [idx (int idx)] (aget

Re: [ANN] metasoarous/oz 1.5.1 - clojure dataviz updates (jupyter notebooks, markdown extensions, and static export, oh my!)

2019-01-23 Thread Chris Nuernberger
Great improvements Christopher! The markdown and Jupyter support are exactly the direction I was hoping for and we really appreciate the work. On Wed, Jan 23, 2019 at 1:26 AM Christopher Small wrote: > > Greetings > > > I'm excited to announce the release of oz 1.5.1. > >

Re: Any way to replace function body?

2019-01-19 Thread Chris Nuernberger
There has to be. Trace, profile, and debugging libraries for clojure do it all the time. I might check the source for some of those. On Sat, Jan 19, 2019 at 9:06 AM jason poage wrote: > Why would you want to overwrite a function if you need reference to the > original function? Why not just

Re: using durable-queue, works locally, get :time-out when moving to an EC2

2019-01-16 Thread Chris Nuernberger
Are you using aot? We have used that durable queue with 1.8. In fact, we have a compatibility later that allows you to move from the durable queue to an Aws queue: (mostly undocumented) https://github.com/techascent/tech.queue Is the problem possibly a difference between your compilation

ANN - tech.resource

2018-12-31 Thread Chris Nuernberger
/tech.resource It enables either stack-based resource management similar to with-open and gc-based resource management. We hope you find it useful and that it simplifies using 'off-heap' resources. Complements from cold, snowy Boulder! Chris -- You received this message because you are subscribed

Re: [ANN] deps.edn dependency viewer

2018-12-20 Thread Chris Nuernberger
Newest version - Supports Leiningen and TADA: 1. Now there is an sh script. You can just install this and use it anywhere - no plugins, no muss, no fuss. 2. More graph manipulation options - highlight, prune, focus, remove. 3. Leiningen is supported along with profiles. That being said, I am

[ANN] deps.edn dependency viewer

2018-12-18 Thread Chris Nuernberger
Clojurians-1.10.0: I recently released a small project that allows you to view the entire dependency graph of your deps.edn files. You can do this from the command line without installing anything or adding anything to your project. https://github.com/cnuernber/depsviz To do this, I had to

Re: [ANN] Clojure 1.10.0-beta8

2018-11-21 Thread Chris Nuernberger
Agreed, specifically to avoid things like this: https://github.com/tech-ascent/tech.compute/blob/master/src/tech/compute/cpu/tensor_math.clj#L45 Great timing and we will be looking forward to it! On Wed, Nov 21, 2018 at 11:09 AM Sean Corfield wrote: > This makes me smile… My first reaction to

[ANN] High Performance Numerics Compiler

2018-11-12 Thread Chris Nuernberger
Clojurians, we are happy to put forth our work bringing the TVM compiler and infrastructure to clojure. It has backends for ARM, Intel, OpenCV, Cuda, OpenGL, Vulkan, ROCm, and more. This system is currently getting state of the art performance several deep learning kernels and I demonstrate it

[ANN] Opencv bindings for clojure

2018-10-29 Thread chris
http://techascent.com/blog/opencv-love.html Enjoy :-). If we would have had this earlier then a lot of our projects would have taken considerably less time. Also note at the end where we do some vector math in unsigned byte space using the opencv image as the backing store. Chris -- You

Re: How to restrict the number of test with stest/check

2018-03-07 Thread Chris Shellenbarger
like the effect would be the same. Is there a different way that I'm supposed to consume this lazy sequence generated by stest/check? Thanks! Chris On Wednesday, August 3, 2016 at 1:46:32 PM UTC-5, Alex Miller wrote: > > As the docstring for check notes: > > "The opts map inclu

Re: Why does the `def-` not exist?

2018-03-05 Thread Chris Ford
This isn't foolproof Léo, but sometimes folks use docstrings to make that distinction i.e. if it's got a docstring it's part of the public API. Codox, for example, takes this approach when deciding what to include in generated API documentation. On 4 March 2018 at 12:50, Léo Noel

Re: Developing in Clojure with Emacs: Mastering the Keyboard

2018-03-04 Thread Chris Shellenbarger
to evaluate. On Sunday, March 4, 2018 at 8:07:14 AM UTC-6, Magomimmo wrote: > > Hi Chris, > in my past experience you have to fix more things to update > emacs-for-clojure to latest stable CIDER release (I'm currently using > emacs-prelude instead): > > In your init.el > > (ad

Re: Developing in Clojure with Emacs: Mastering the Keyboard

2018-03-04 Thread Chris Shellenbarger
at, but they do cover a lot of ground and are reasonably up-to-date. > > On 3 March 2018 at 23:11, Chris Shellenbarger <ch...@cloudrepo.io > > wrote: > >> I spent the last week learning and using Emacs and CIDER for Clojure >> Development. >> >> I've s

Re: Any better client then telnet for connecting to a socket repl server?

2018-03-03 Thread Chris Shellenbarger
Can you use NREPL? https://github.com/clojure/tools.nrepl This seems to be what most tools that provide a REPL are built on top of (Cursive, CIDER, etc). On Friday, March 2, 2018 at 7:49:45 PM UTC-6, Didier wrote: > > I want to connect to a Clojure socket repl server, but telnet is a really

Developing in Clojure with Emacs: Mastering the Keyboard

2018-03-03 Thread Chris Shellenbarger
I spent the last week learning and using Emacs and CIDER for Clojure Development. I've started to write up a lot of the lessons I've learned from doing so in the hopes that it will help some other people who attempt something similar. Anyway, if you're interested in getting started with Emacs

Key Lesson: Building CloudRepo With Clojure

2018-02-20 Thread Chris Shellenbarger
/@chris.shellenbarger/key-lesson-building-cloudrepo-with-clojure-99bc1c1c405e Thanks, Chris -- 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 moderate

Re: Trouble Running Chime Application outside for repl

2016-11-21 Thread Chris Snyder
That Solved it. Thanks for your help. added `@(promise)` and works like a charm On Monday, November 21, 2016 at 10:14:06 AM UTC-5, James Henderson wrote: > > Hi Chris, > > Thanks for posting an example - unfortunately I can't get onto it at the > moment because it seems

Trouble Running Chime Application outside for repl

2016-11-21 Thread Chris Snyder
Have a program I want to run every 5 seconds unless the previous run is not finished then I want it to wait on the previous run to finish. To do this I used a library called Chime (https://github.com/jarohen/chime). *The Problem* is the program works perfectly in repl but will not work

Re: [ANN] Leiningen 2.7.0

2016-08-30 Thread Chris Price
) > > * Run `:prep-tasks` before `lein test`, so generated test namespaces > > will be tested. (Martin Reck) > > * Better error message when attempting to do `lein run` without > > `project.clj`. (Eduardo Seabra Silva) > > * Add support for `:managed-depende

Re: [ANN] Leiningen 2.7.0

2016-08-25 Thread Chris Price
The full list of significant user changes: >> >> * Add PowerShell script for Windows users. (Brian Lalonde) >> * Run `:prep-tasks` before `lein test`, so generated test namespaces >> will be tested. (Martin Reck) >> * Better error message when attempting to do `lein run` wit

Re: clojure.spec explain feedback

2016-06-27 Thread Chris Price
On Monday, June 27, 2016 at 12:45:07 PM UTC-7, Brent Millare wrote: > > I'm playing with clojure.spec (alpha7) to validate a data structure > storing information about workout history using the following code: > > > The problem is that when using s/explain on an invalid input where the >

Re: leiningen dependency management

2016-04-09 Thread Chris Price
We run into this sort of thing quite a bit. Our solution so far has been: 1. Always use `:pedantic? :abort` in the project file. It can be annoying, but we've found that's much better to get annoying errors about version conflicts at build time than to get cryptic failures at runtime, such as

Attempt At Futures

2016-04-08 Thread Chris White
for any and all response. Once again I apologize for the not so pro code but some code is better than nothing I hope. - Chris White ( @cwgem ) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to cloj

Re: Advice getting started with concurrency and parallelism in Clojure

2016-04-07 Thread Chris White
ng me off is that none of the examples I'm finding actually shows threaded code. I guess what I'm looking for is that kind of example to see how it all fits together. > Timothy > > > On Tue, Apr 5, 2016 at 7:24 PM, Chris White <cwpr...@live.com > > wrote: > >

Advice getting started with concurrency and parallelism in Clojure

2016-04-05 Thread Chris White
deals with concurrency and parallelism? I also don't mind anything that's not specifically using Clojure but will at least help me understand the concepts behind how Clojure does it. Thanks again for any and all help! - Chris White (@cwgem) -- You received this message because you

Re: Downloading Clojure + Contrib Source

2016-04-04 Thread Chris White
On Monday, April 4, 2016 at 5:31:21 AM UTC-7, Stuart Sierra wrote: > > Hi Chris, > > No, there is no single command I know of to automatically download all of > the contrib libraries. It's something you could do with a shell script, I > expect. > > But you p

Downloading Clojure + Contrib Source

2016-04-04 Thread Chris White
everything in the clojure GitHub organization. Is there some kind of script used by developers to pull everything down into a single folder? Is there a way that all the contrib packages can be released as a single source tarball? Thanks ahead of time for any responses. - Chris White -- You

[ANN] trapperkeeper-webserver-jetty9 v1.5.1 released

2016-02-19 Thread Chris Price
Today we did a new release of puppetlabs/trapperkeeper-webserver-jetty9 to clojars. trapperkeeper-webserver-jetty9 is the main webserver component for use with our "trapperkeeper" service framework. The new release is version 1.5.1, and it includes a fix for a memory leak that would be triggered

[ANN] trapperkeeper 1.3.0 - with support for restarts via HUP

2016-02-09 Thread Chris Price
Today we released puppetlabs/trapperkeeper v1.3.0 to clojars. Trapperkeeper[1] is a Clojure framework for hosting long-running applications and services. You can think of it as a sort of "binder" for Ring applications and other modular bits of Clojure code. The major change in the release is

Re: [ldnclj] Re: Suggestions for open source contributions?

2016-02-02 Thread Chris Howe-Jones
Another open source library that has some real momentum behind it at the moment is baid-chat https://github.com/braidchat/meta/wiki . It's the Clojure Communities OSS alternative to Slack. Why is it needed? Lots of reasons that are elaborated in the

lein: managing versions of common deps / soliciting assistance on PR review

2016-01-24 Thread Chris Price
Hi, As the number of Clojure projects at our company has increased, we've ended up running into more and more frequent issues where lein's "pedantic" is alerting us to conflicting versions of transitive dependencies. Up until now we've been managing this by surgically updating the lists of

Re: Scala for-comprehension to Clojure

2015-11-26 Thread Chris Murphy
It is the same thing in Clojure. It is called a 'list comprehension' even although for form for it starts with `for` I wouldn't worry too much about the flatmap / mapcat stuff, as I think the translation should be quite direct at the higher 'comprehension' level. On Nov 26, 2015 10:12 PM, "Rastko

Re: Help with idiomatic clojure.

2015-11-12 Thread Chris Murphy
I think true and false should be swapped around, because seq and empty? are opposites, seq meaning it is not empty. On 13/11/2015 8:08 AM, Colin Yates wrote: One other minor point (if (seq some-sequence) true false) is preferred by some (I won’t say more idiomatic) than (if (empty?

Re: Processing futures and promises asynchronously

2015-10-26 Thread Chris Murphy
Here are some discussions around the issue: http://stackoverflow.com/questions/31832599/future-failure-in-clojure ~ Chris On 27/10/2015 9:46 AM, Daniel Hinojosa wrote: I am looking for a functional, non-blocking way to process the return of a future. In the Scala world, you can use map

Re: Library suggestions requested for clojure-toolbox.com

2015-10-05 Thread Chris Murphy
I found imagez <https://github.com/mikera/imagez> (with same name: imagez) to be useful for getting and setting pixels and changing the size of a raster image. It would go under the Graphics category. ~ Chris On Tuesday, 6 October 2015 06:41:11 UTC+11, James Reeves wrote: > > If yo

(= (list {'a 42}) '({'a 42})) => false ???

2015-09-26 Thread Chris Cornelison
Anyone know why these evaluate differently and are not equal? $lein repl nREPL server started on port 56056 on host 127.0.0.1 - nrepl://127.0.0.1:56056 REPL-y 0.3.5, nREPL 0.2.6 Clojure 1.6.0 Java HotSpot(TM) 64-Bit Server VM 1.8.0_31-b13 Docs: (doc function-name-here) (find-doc

Core.matrix protocols for ND4J

2015-09-24 Thread Chris V. Nicholson
Hey folks - Just wanted to flag these core.matrix protocols for ND4J, which supports n-dimensional arrays and scientific computing more generally on the JVM. https://github.com/whilo/clj-nd4j https://github.com/deeplearning4j/nd4j If you have any questions, please let us know on Gitter:

Re: [ANN] Grenada 1.0.0-rc.2

2015-08-27 Thread Chris Zheng
Hey Francesco, crossclj is a great project. I use it a lot and it’s actually the one tool that keeps references up to date. However, it’d be great if the source code is open sourced. Chris. On 26 Aug 2015, at 12:43 pm, Francesco Bellomi francesco.bell...@gmail.com wrote: Hi Chris

Re: [ANN] - New Clojure Instant Answer on DuckDuckGo

2015-08-26 Thread Chris Sims
In a similar vein, you can use ‘!clojars’ to search on Clojars directly, e.g. ‘!clojars cheshire’. —Chris On Aug 26, 2015, at 3:11 AM, Matthias Diehn Ingesman matth...@ingesman.dk wrote: That should come in handy, thanks! Matthias Den onsdag den 26. august 2015 kl. 00.04.34 UTC+2

Re: [ANN] Grenada 1.0.0-rc.2

2015-08-25 Thread Chris Zheng
be amazing to have a hoogle-like search engine for clojure. btw… is datadoc a grenada thing or a java thing? Chris Hi Chris, you can download a Datadoc JAR from https://clojars.org/repo/org/clojars/rmoehn/clojure/1.7.0+003/clojure-1.7.0+003-datadoc.jar and have a look at its contents. It's

Re: Reviewers needed for new Clojure book!

2015-08-24 Thread Chris Drane
I'd be interested. On Monday, August 24, 2015 at 2:46:06 AM UTC-4, Akhil Wali wrote: If anyone is interested in being a reviewer for a new book *Mastering Clojure* by Packt Publishing, please let me know. Reviewers will be entitled to a 6 montn subscription of PacktLib

[ANN] trapperkeeper-webserver-jetty9 v1.4.0 : initial support for websockets

2015-08-18 Thread Chris Price
Today we did a new release of puppetlabs/trapperkeeper-webserver-jetty9 to clojars. trapperkeeper-webserver-jetty9 is the main webserver component for use with our trapperkeeper service framework. The new release is version 1.4.0, and it includes some initial support for websockets. We're

Re: Decomplecting Clojure

2015-08-13 Thread Chris Ford
I enjoyed the post. It's easy for those of us who've been in the community for a while to take such things for granted and not properly explain them to new folks. One suggestion - perhaps concurrency and immutability each deserve their own section? That wouldd give you a chance to dig deeper into

Re: [ANN] Pink 0.2.0, Score 0.3.0

2015-07-30 Thread Chris Zheng
Wow, just watched the talk. I just recently inherited a USB keyboard so I'll be trying some things out with this On a seperate topic, would pink be able to do distortion effects, ie.. Plugging in an acoustic guitar and having it modulate the waveforms? On 30 Jul 2015, at 6:39, Steven Yi

Re: [ANN] `comidi`: a committee approach to defining HTTP routes

2015-07-02 Thread Chris Price
, 1 Jul 2015 at 10:45 Chris Price ch...@puppetlabs.com javascript: wrote: Hiya. We really like the syntax of compojure for defining HTTP routes, but have had some trouble with use cases where we'd really like to be able to introspect the route tree, and aren't able to do so because

Re: [ANN] `comidi`: a committee approach to defining HTTP routes

2015-07-02 Thread Chris Price
On Wednesday, July 1, 2015 at 4:35:35 PM UTC+1, Daniel Jomphe wrote: Chris, this is definitely interesting. Quickly pluggable metrics swagger trapperkeeper componentization sure are useful integrations. Doing a quick review, it surprised me a bit how many dependencies you brought

[ANN] trapperkeeper-metrics, trapperkeeper-status, et al

2015-07-01 Thread Chris Price
Howdy. Just wanted to send out some info about a few new services we've open-sourced for use with our Trapperkeeper service framework recently. trapperkeeper-metrics: https://github.com/puppetlabs/trapperkeeper-metrics This service manages configuration and life cycle of a MetricRegistry (from

[ANN] `comidi`: a committee approach to defining HTTP routes

2015-07-01 Thread Chris Price
Hiya. We really like the syntax of compojure for defining HTTP routes, but have had some trouble with use cases where we'd really like to be able to introspect the route tree, and aren't able to do so because the nested functions are pretty opaque. After spending some time trying to workaround

Re: How can I remove this nil? check from my code?

2015-05-25 Thread Chris Freeman
could be a map over an update-in instead of a loop, like: (defn prepend-hash [x] (into [{}] x)) (defn add-placeholder-to-history [us] (into {} (map #(update-in % [1 :history] prepend-hash) us))) Chris On Mon, May 25, 2015 at 5:07 PM, lawre...@waleup.com wrote: I started to write an essay

Need advice/idiom to reduce number of parameters in functions

2015-05-12 Thread Chris Wong
... sort of like a context object getting passed around. What's the Clojure's way or FP way to improve this without having 5+ parameters in almost every function? Thanks Chris -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send

Re: Does function core.async/poll! work?

2015-03-23 Thread Chris Ford
If you look on the core.async Github page https://github.com/clojure/core.async, it describes this as what you need to pull the latest alpha into your project.clj: [org.clojure/clojure 1.6.0] [org.clojure/core.async 0.1.346.0-17112a-alpha] There's also a link to a list of other versions on

Re: Deterministic macro expansion for Clojure?

2015-03-23 Thread Chris Ford
I think it's useful to think of macros as an odd form of I/O. Just as you would separate out your templating from your domain functions, separate out your defmacro from regular functions that just happen to manipulate symbols. These functions will be easier to test. On 23 March 2015 at 16:23,

DiscoMelee.com is hiring clojure devs

2015-03-23 Thread Chris FitzGerald
Hi Everyone, Disco Melee http://discomelee.com/ was founded by a group of gamers because we were frustrated with twitch's lack of social features so we decided to reinvent the concept of social streaming, basically we are making gaming social again. We are seeking backend and frontend

Are there any good libraries to work with the maildir format?

2015-03-23 Thread Chris Carpenter
I've been googling around and am having trouble finding well supported libraries for working with the maildir format. The closest clojure code I could find was: https://github.com/guns/mbwatch/blob/master/src/mbwatch/maildir.clj which is obviously very very barebones in that it only looks for

Re: [GSoC] Typed Overtone proposal

2015-03-21 Thread Chris Ford
That sounds a cool idea. One interesting challenge will be how specific you can make the types of things like unit generators, which can be used in very different ways e.g. low frequency for vibrato, high frequency for tones themselves. On 21 March 2015 at 17:14, Ambrose Bonnaire-Sergeant

Re: Typed Clojure paper draft

2015-03-14 Thread Chris Ford
function with the current dispatch value to learn new types via normal occurrence typing is almost always sufficient to type check the current defmethod body. Thanks for the feedback. Ambrose On Fri, Mar 13, 2015 at 5:20 PM, Chris Ford christophertf...@gmail.com wrote: I like the paper

Re: Typed Clojure paper draft

2015-03-13 Thread Chris Ford
I like the paper. One small piece of feedback - I didn't understand what about the multimethods section justifies the claim of surprising synergy in the introduction. Perhaps you could elaborate on the novelty? Chris El 12/03/2015 02:50, Ambrose Bonnaire-Sergeant abonnaireserge...@gmail.com

[ANN] trapperkeeper-jetty9 v1.2.0

2015-03-12 Thread Chris Price
: https://github.com/puppetlabs/trapperkeeper-webserver-jetty9/blob/master/CHANGELOG.md#120 Thanks! Chris -- 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

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3058, Enhanced REPLs, faster compile times

2015-03-10 Thread Chris McDevitt
, Chris http://dev.clojure.org/jira/browse/CLJS-1103 David On Tue, Mar 10, 2015 at 6:07 AM, Max Gonzih gon...@gmail.com wrote: Amazing update! Yay. But I just spotted one weird thing, after I pumped compiler version compilation fails for me with following error

Re: Is this the right way to prevent repetitive code

2015-02-28 Thread Chris Freeman
] [Search Quotes Java Regular Expression Not show-search-quotes-java-regex]) Chris On Feb 28, 2015 4:50 AM, Cecil Westerhof cldwester...@gmail.com wrote: I need some things that are almost the same. I solved that in this way: (def search-fields [ [Search Quotes (Case

Re: Extending the LispReader with embeded language lorms

2015-02-11 Thread Chris Ford
like a configuration file that's read at runtime. Chris On 11 February 2015 at 19:59, Henrik Heine h3nr1k.h3...@googlemail.com wrote: Hi, Am Dienstag, 10. Februar 2015 21:07:50 UTC+1 schrieb Gary Verhaegen: For the sake of completeness, in this context other users is not limited to humans

Re: Help needed with Component library

2015-02-10 Thread Chris Ford
Perhaps it would help if you posted a gist of the stacktrace you encounter? On 10 February 2015 at 20:29, Gilberto Garcia giba@gmail.com wrote: Hi All, I'm new to clojure and I'm trying to create a simple rest api to create and manages to token. I'm trying to use Stuart's component

Re: Help needed with Component library

2015-02-10 Thread Chris Ford
#toro_tokens_rest.components.database.Database{:path /tmp/dev-leveldb}, :jetty-server nil} So, I bet I'm doing something wrong. On Tue, Feb 10, 2015 at 9:45 AM, Chris Ford christophertf...@gmail.com wrote: Perhaps it would help if you posted a gist of the stacktrace you encounter? On 10 February 2015 at 20:29, Gilberto

Re: channels operations

2015-01-10 Thread Chris Freeman
channel and an updated copy of the 'played' values (in my head, [true false] or [false true]). Chris On Sat, Jan 10, 2015 at 11:53 AM, Jeremy Vuillermet jeremy.vuiller...@gmail.com wrote: Hi, I'm learning core.async with a game I'm developing. This is a one on one game where players have 5

Re: core.async go-loop questions

2014-12-21 Thread Chris Freeman
(async/close! xs-done)) ;; Without this, the consumer go-loop will never terminate. ;; Thread to notify browsers (loop [success (async/! successes)] (when-not (nil? success) (tell-your-browsers) (recur (async/! successes)) Chris -- You received this message because you

Re: core.async go-loop questions

2014-12-20 Thread Chris Freeman
thread will end before the other two threads do, and that's probably unhealthy. Chris On Sat, Dec 20, 2014 at 9:17 PM, Jonathon McKitrick jmckitr...@gmail.com wrote: I'd like to implement a thread that will send an email, then send a response via websocket to the client when the send completes

Re: more colloquial do x n times

2014-12-04 Thread Chris Freeman
; otherwise, it just returns all of the hashtags I've ever used. Let me know if you'd like to see that code. Chris On Wed, Dec 3, 2014 at 9:49 PM, Sam Raker sam.ra...@gmail.com wrote: EDIT On Wednesday, December 3, 2014 10:45:33 PM UTC-5, Sam Raker wrote: I've got a decent-sized corpus

[ANN] trapperkeeper, trapperkeeper-webserver-jetty9 1.0.0

2014-11-19 Thread Chris Price
Hi! We are excited to announce the 1.0.0 release of trapperkeeper and trapperkeeper-webserver-jetty9. Now that Puppet Labs is shipping several production apps built on the framework and we consider the API to be stable, we decided to bump the version number to 1.0.0 and ensure that we adhere to

Re: Odd bug, apparently in ring.middleware or clojure.core.memoize?

2014-11-14 Thread Chris Sims
I had a problem very similar to yours using clj-jgit - I ended up simply excluding jgit from pulling in core.memoize as a dependency: [clj-jgit 0.8.0 :exclusions [org.clojure/core.memoize]] On Nov 14, 2014, at 5:56 AM, Simon Brooke still...@googlemail.com wrote: Thank you very much

Re: ClojureScript and development workflow

2014-11-06 Thread Chris Sims
I’m not sure that the original question is still valid, as it’s over 2 years old now. I’ve had success using figwheel[1] to automatically recompile Clojurescript and send the updated js to the browser, sans reloading. [1] https://github.com/bhauman/lein-figwheel On Nov 6, 2014, at 4:57 PM,

Re: unexpected behavior catching exceptions within a go block

2014-10-28 Thread Chris Perkins
/d80d51ee29dc5e2c1117 How do you handle exceptions when processing items asynchronously from a queue? Failing preconditions throw AssertionError, which is not a subclass of Exception. That is why it's not being caught. - Chris -- You received this message because you are subscribed to the Google

  1   2   3   4   5   6   >