Re: ANN: Fink-Nottle 0.1.0 (async SQS + SNS client)

2015-08-26 Thread Matthias Diehn Ingesman
Hi Moe. That looks really useful, and as far as I can tell yours is the only library for SNS. I'm considering using your library in a production app, are there any pitfalls I should be aware of? >From quickly browsing the sources, it is not clear to me what the functions declared by the defiss

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

2015-08-26 Thread Matthias Diehn Ingesman
That should come in handy, thanks! Matthias Den onsdag den 26. august 2015 kl. 00.04.34 UTC+2 skrev Rafik NACCACHE: > > Hi Guys, > > I contributed an Instant Answer to DuckDuckGo. > > > When you search for "Clojure" with a number of terms, you directly have > under the "software" tab all the pac

Re: ANN: Fink-Nottle 0.1.0 (async SQS + SNS client)

2015-08-26 Thread Matthias Diehn Ingesman
I might have missed one or two of those pieces of documentation; will take a look in the morning tomorrow. My plans are just to use the SNS parts of fink-nottle to create and delete device endpoints, and subsequently publish to them. My use case is about as basic as it gets, I think. -- You

Re: ANN: Fink-Nottle 0.1.0 (async SQS + SNS client)

2015-08-26 Thread Matthias Diehn Ingesman
I might have missed one or two of those pieces of documentation; will take a look in the morning tomorrow. My plans are just to use the SNS parts of fink-nottle to create and delete device endpoints, and subsequently publish to them. My use case is about as basic as it gets, I think. Regards,

Re: Jesus, how the heck to do anything?

2011-03-24 Thread Matthias Diehn Ingesman
Hi, You can write some lines of Clojure code in a file, and then execute it with the command 'clj '. I'm sitting on a linux box where the script to start Clojure is called 'clj', but if you don't have such or simply downloaded the zip from clojure.org, you can use this line to execute a script cal

Re: mixins/multiple inheritance

2012-02-08 Thread Matthias Diehn Ingesman
Hm, I wrote a reply yesterday figuring it would show up today (seeing as I accidentally double posted last time because it did not show up at once), but that reply seems to be lost. I see what you mean now, I think. Seeing as you will have to build your hierarchies yourself you might try someth

Re: mixins/multiple inheritance

2012-02-09 Thread Matthias Diehn Ingesman
The problem with the protocols approach is that it leads to an explosion in the number of explicitly defined records. His example was only with labels, but I can imagine he might have borders and any number of other decorations on the widgets, in which case he would need something like (defreco

Re: mixins/multiple inheritance

2012-02-06 Thread Matthias Diehn Ingesman
It sounds like a use for the decorator pattern, or am I missing something? In case I am not I have given it a shot using records and protocols: (defrecord TextField [text]) (defrecord DatetimePicker [datetimes]) (defrecord Label [text widget]) (defprotocol Renderable (render [this])) (extend-p

Re: mixins/multiple inheritance

2012-02-06 Thread Matthias Diehn Ingesman
It sounds a little like the decorator pattern would do the trick for you in this case - am I missing something? In case I am not, I have given it a shot using records and protocols: (defrecord TextField [text]) (defrecord DatetimePicker [datetimes]) (defrecord Label [text widget]) (defprotocol Re