Re: [JOBS] Frontend Software Engineer; Merantix; AI in healthcare; Berlin

2018-01-18 Thread Torsten Uhlmann
Uh sorry, just after hitting the send button I saw that this was not a private email. Torsten. 2018-01-18 18:57 GMT+01:00 Torsten Uhlmann : > Hey, > > thanks for contacting me about this job opportunity. > Unfortunately I'm currently and for the next few month involved in

Re: [JOBS] Frontend Software Engineer; Merantix; AI in healthcare; Berlin

2018-01-18 Thread Torsten Uhlmann
Hey, thanks for contacting me about this job opportunity. Unfortunately I'm currently and for the next few month involved in client projects. I'm afraid I can not sign up for new projects. Kind Regards, Torsten Uhlmann 2018-01-18 16:50 GMT+01:00 maximilian.brandstaetter via Clojure

Re: CPU usage goes way up when closing a core.async channel with loop inside

2017-01-23 Thread Torsten Uhlmann
[x ( (do something with x) > (recur > > > > On Monday, January 23, 2017 at 10:19:00 AM UTC+1, Torsten Uhlmann wrote: >> >> I'm experiencing this weird behavior in my app- when restarting the >> components of my app some have a core.async channel a

CPU usage goes way up when closing a core.async channel with loop inside

2017-01-23 Thread Torsten Uhlmann
I'm experiencing this weird behavior in my app- when restarting the components of my app some have a core.async channel and a go-loop inside. When trying to close! these channels the cpu usage of my app goes way up, and stays up- as if the loop does some polling. I prepared a minimal example h

Re: cljc aot compilation fails on Windows

2017-01-07 Thread Torsten Uhlmann
I found it, thanks for re-motivating me! While preparing a minimal example I found that the error does not occur when using cljc and clj files, it only occured when adding cljs and lein-cljsbuild to the mix. The "wong name" was part of the error message @Alex. I was using lein-cljsbuild 1.1.4.

Re: cljc aot compilation fails on Windows

2017-01-07 Thread Torsten Uhlmann
ibe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- AGYNAMIX(R). Passionate Software. Inh. Torsten Uhlmann | Buchenweg 5 | 09380 Thalheim Phone: +49 372

Re: cljc aot compilation fails on Windows

2017-01-07 Thread Torsten Uhlmann
I guess not many people are using Windows then :) I just tried that same project on a Mac VM with case insensitive file system, where it worked flawless. Maybe someone has an idea how to investigate further? Thanks, Torsten. Am Montag, 2. Januar 2017 11:11:42 UTC+1 schrieb Torsten Uhlmann

cljc aot compilation fails on Windows

2017-01-02 Thread Torsten Uhlmann
Hi, I was trying to build my ClojureScript project on Windows 10 instead of Linux or Mac, and I run into this problem. When running "lein uberjar" with ":aot :all" for every cljc file I have in my project it reports something like: Reloading Clojure file "\robur\middleware.cljc" failed. java.

Re: Are there file watchers that can tell me when a file is done uploading?

2016-12-13 Thread Torsten Uhlmann
/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. > For more options,

Re: Are there file watchers that can tell me when a file is done uploading?

2016-12-11 Thread Torsten Uhlmann
ou 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. > For more options, visit https://groups.google.com/d/optout. > -- -- AGYNAMIX(R). Passionat

Re: [ANN] Book "The Clojure Standard Library - Annotated Reference"

2016-12-07 Thread Torsten Uhlmann
Thanks for working on this! Back in the day I had a "Java Developers Almanac" for Java 1.4 and it helped getting around the lesser used API parts, or discovering functionality I hadn't used before. Alex Miller schrieb am Do., 8. Dez. 2016 um 04:13 Uhr: > This is a good gotcha. From Clojure's p

Re: [ANN] permissions - role & permission based access control

2016-10-15 Thread Torsten Uhlmann
integer. I think using a set is just > fine. The space requirements for a small set of keywords is negligible in > the larger scheme of things. It also permits more readable code (always a > good thing) with bits of code that need to interact with it. > > > On Thursday, October 13,

Re: [ANN] permissions - role & permission based access control

2016-10-13 Thread Torsten Uhlmann
It might be premature optimization, or you could view it as a different approach, for a different usage scenario. I'm myself pretty content with the literal approach, we're using this in a fairly large application and haven't experienced any problems with regards of performance or amount of data at

Re: [ANN] permissions - role & permission based access control

2016-10-12 Thread Torsten Uhlmann
the > heaviness of Friend). > > > > > On Tuesday, October 11, 2016 at 10:16:51 AM UTC-4, Torsten Uhlmann wrote: > > Thanks for the comments! > > @larry I was reminded by your comment at how I used to use bitmasks > before, like @adrian commented. > That would only get 64

Re: [ANN] permissions - role & permission based access control

2016-10-11 Thread Torsten Uhlmann
ther than always writing this code for myself. > > > > > > > > > > On Monday, October 10, 2016 at 6:51:14 AM UTC-4, Torsten Uhlmann wrote: > > I'd like to announce the first preview of "permissions"- a small library > to handle role a

[ANN] permissions - role & permission based access control

2016-10-10 Thread Torsten Uhlmann
I'd like to announce the first preview of "permissions"- a small library to handle role and permission based access control in web applications. Github: https://github.com/tuhlmann/permissions Clojars: https://clojars.org/agynamix/permissions Permissions is heavily inspired and modeled after Apa

Re: [ANN] Elements of Clojure

2016-03-20 Thread Torsten Uhlmann
Just started reading the first chapter. It makes it even more appealing that the taught techniques are applicable to other programming languages as well. I like the angle the book presents! Torsten. Gregg Reynolds schrieb am Do., 17. März 2016 um 21:03 Uhr: > > On Mar 17, 2016 2:10 PM, "JvJ" w

Re: a project template containing clj, cljs cljc files

2016-03-06 Thread Torsten Uhlmann
Hi, I'm using a Chestnut based template in my project and it was quiet easy to add cljc support. I never used cljx bevor so I didn't know how hard or easy it would be. I read that cljc files do not have to live in their own source path but can hang around the other files. For my setup I choose to

Re: Compojure does not augment response map

2016-02-24 Thread Torsten Uhlmann
Got it, makes sense. Thanks, Gary! -- 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 your first post. To unsubscribe

Re: Compojure does not augment response map

2016-02-24 Thread Torsten Uhlmann
Thanks Gary! I haven't touched the middleware stack for a while, and I only found out about this thing when testing my routes for security. But, if response maps are supposed to be left alone, how is ring.util.response supposed to work, for instance the "not-found" function: (defn not-found "

Compojure does not augment response map

2016-02-24 Thread Torsten Uhlmann
Hi, I'm experiencing a strange behavior in my app. I'm not sure if that's because of a version update or something I broke... The Compojure version used is 1.4.0 In the past a response like this would usually work: {:status 404 :headers {} :body "Not authorized"} The map would be augmented

Re: Scala for-comprehension to Clojure

2015-11-26 Thread Torsten Uhlmann
Hi Rastko, One way of doing that would be to use the mlet macro from the Cats library: http://funcool.github.io/cats/latest/#mlet Also, there are several if-lets or when-lets out there that allow multiple bindings, I used one from https://github.com/ptaoussanis/encore I use Scala's for most of

Re: ClojureExchange ticket to give away

2015-11-17 Thread Torsten Uhlmann
The ticket is gone. Am Dienstag, 17. November 2015 11:35:36 UTC+1 schrieb Torsten Uhlmann: > > Hey, > > I have bought a ClojureExchange [1] ticket right after last years > conference, but I will not be able to participate this year. > > ClojureExchange takes place in London

ClojureExchange ticket to give away

2015-11-17 Thread Torsten Uhlmann
Hey, I have bought a ClojureExchange [1] ticket right after last years conference, but I will not be able to participate this year. ClojureExchange takes place in London from Dec. 3 - Dec. 5. I would primarily like to give the ticket to someone who would otherwise not be able to participate,

Re: [ANN][Book] Clojure Recipes published and for sale on Amazon

2015-10-22 Thread Torsten Uhlmann
Congratulations, Julian! Leonardo Borges schrieb am Do., 22. Okt. 2015 um 13:10 Uhr: > Congratulations Julian! I'll share this around! > > On Thu, Oct 22, 2015 at 9:51 PM Julian wrote: > >> My book Clojure Recipes just got published and is for sale on Amazon! >> http://clojurerecipes.net/ >> >>

Re: [:ann :book] ClojureScript Unraveled

2015-07-19 Thread Torsten Uhlmann
Just bought the book- thanks for your great efforts! Bozhidar Batsov schrieb am Mo., 20. Juli 2015 um 07:07 Uhr: > That's a really exciting project, as a lot of people are looking to get > started with ClojureScript and are finding it kind of hard because of the > lack of such resources. > > My

Re: How do I access components of a system map

2015-03-16 Thread Torsten Uhlmann
pends on your > dispatching. Check out https://github.com/danielsz/system for some > examples of using ring handlers for example. > > HTH > > > On 15 March 2015 at 17:30, Torsten Uhlmann > wrote: > > Colin, > > > > thanks for the thoughtful explanation

Re: How do I access components of a system map

2015-03-15 Thread Torsten Uhlmann
Colin, thanks for the thoughtful explanation! I still have a problem understanding the flow. Say I want to call a component function (like "get-user") from another component that depends on the database component. I still don't understand how a component function accesses it's dependencies? T

Re: How do I access components of a system map

2015-03-15 Thread Torsten Uhlmann
se' is a component which is passed to 'get-user' as an > argument. The component can be used just like any other hashmap, so > (:connection database) gets the database connection. > > On Sunday, March 15, 2015 at 4:20:35 PM UTC+1, Torsten Uhlmann wrote: >> >> Hi, &

How do I access components of a system map

2015-03-15 Thread Torsten Uhlmann
Hi, I'm tapping my toes in component land and I think I lack some conceptual understanding, probably done too much OO. Please forgive me if this is a stupid question (and I get a feel that it is)... Suppose I create a Lifecycle component with some state, say, a database component that creates

Re: Multi purpose webframework deciding between serverside generated templates and cljs SPA approach

2015-02-02 Thread Torsten Uhlmann
>>> Note that posts from new members are moderated - please be patient with >>> your first post. >>> To unsubscribe from this group, send email to >>> clojure+u...@googlegroups.com >>> For more options, visit this group at >>> http://groups.

Re: Multi purpose webframework deciding between serverside generated templates and cljs SPA approach

2015-01-30 Thread Torsten Uhlmann
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. > For more options, visit https://groups.google.com/d/optout. > -- AGYNAMIX(R). Passionate Software. Inh.

Re: [ANN] modularity.org

2015-01-08 Thread Torsten Uhlmann
roups.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,

Re: [lein] compile sass?

2014-12-24 Thread Torsten Uhlmann
lojure+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 receivin

Re: How to return a value from catch block

2014-07-13 Thread Torsten Uhlmann
You could wrap the catch expression in a do block and return something at the end of the block. That means that the other statements in the do block must produce some side effect, like logging the error message: (defn convert-to-float [a] (try (if (not= a " ") (read-string a)) (ca

Re: OT: Github Alternatives

2014-06-30 Thread Torsten Uhlmann
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 an > email to clojure+unsubscr...@googlegroups.com. &

Re: OT: Github Alternatives

2014-06-30 Thread Torsten Uhlmann
nt with > your first post. > To unsubscribe from this 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 G