Hi all,
I am attempting to use core.async to poll a service -
https://gist.github.com/ckkashyap/c8423dcfc3a3f28b67e18ae76cc13f53
Broadly, I need to hit the service endpoint with a secret to get a token
and subsequently use the token to poll for messages.
I'd appreciate any feedback on the appr
Hi,
Could someone please point me to instructions on how to create Tomcat web
apps in Clojure? I am looking for a non-lein based solution.
It will be good if that Clojure files are compiled ahead of time. Calling
eval from a JSP is not exactly what I have in mind :)
Regards,
Kashyap
--
You rece
Hi,
I am trying to use clj-http in my clojure program. I am trying to do the
whole thing in a "light-weight" manner - without creating a project and all
or using lein. Is that possible? or do I need to use Lein?
Regards,
Kashyap
--
You received this message because you are subscribed to the Go
Hi,
I am attempting to build ClojureCLR on Mac- I was wondering if anyone's
already done this.
Regards,
Kashyap
--
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 mem
gt; If you know your service will need work queues and distributed caches and
> such, you might want to use Immutant as a platform to prototype, as it
> wraps all that up with a nice bow for you.
>
> And again, if you narrow the design space somewhat, many people way more
> i
Hi,
I have the opportunity to build a set of services from scratch. I plan to
use clojure for this.
I'd like to experiment with options available out there - options such as -
what webserver, what database etc. I'd like it very much if you could share
some of your experiences in this and possibl
ar 1, 2014 at 2:48 AM, Kashyap CK >
> wrote:
> > Hi,
> > In one of the talks, Rich Hickey had mentioned something to the effect -
> >
> > "Programs are meant to state the intention of your computation to other
> > programmers/humans - as opposed to instructions
Hi,
In one of the talks, Rich Hickey had mentioned something to the effect -
"Programs are meant to state the intention of your computation to other
programmers/humans - as opposed to instructions for a machine"
He was quoting someone else actually (perhaps Knuth). I just cant seem to
get my ha
closure libraries (the approach David Nolen takes in most of his
> blog posts).
>
> DD
>
>
> (2014/02/16 23:47), Kashyap CK wrote:
> > Hi,
> >
> > It took me some time to get started with clojurescript (on
> > windows/cygwin)
> > - http://swannode
Hi,
It took me some time to get started with clojurescript (on windows/cygwin)
- http://swannodette.github.io/2013/11/07/clojurescript-101/ worked for me.
I'd like to use clojurescript to do some UI component development for
product which is built using webkit/js/jquery. I was wondering if it i
6:52 PM UTC+5:30, Philipp Meier wrote:
>
> Hi,
>
> Am Montag, 3. Februar 2014 10:26:56 UTC+1 schrieb Kashyap CK:
>>
>> (p/defparser -char-parser []
>> (p/let->> [
>> _e (optional (p/char \\) nil)
>> _c (if _e (p/token #(#{\&qu
Hi,
I tried out a double quoted string parser in parsatron. I'd appreciate it
very much if someone could review it and let me know if it looks okay.
(ns mycode.core
(:require [the.parsatron :as p]))
(p/defparser optional [p default-value]
(p/either (p/attempt p) (p/always default-value)))
te:
>
> On Tue, Jan 28, 2014 at 8:31 AM, Kashyap CK >
> wrote:
> > The attempt parser does not work as expected for me. Perhaps my
> > understanding is not correct. I the following code I was hoping that
> > parsatron would attempt to parser "hello" and
Hi,
The attempt parser does not work as expected for me. Perhaps my
understanding is not correct. I the following code I was hoping that
parsatron would attempt to parser "hello" and fail. Resulting no
consumption of input due to "attempt". However, when I run this code, the
parser fails sayin
I started exploring Parsatron - I really like the idea of building big
parsers by composing small parsers.
Looking at Gloss's api - it does not appear to help build bigger parsers by
composing smaller ones. Did I understand it right?
Regards,
Kashyap
On Tuesday, January 28, 2014 8:09:59 AM UTC
n/gloss ) and Buffy (
>> https://github.com/clojurewerkz/buffy ).
>>
>> - James
>>
>>
>> On 24 January 2014 15:08, Kashyap CK wrote:
>>
>>> Hi,
>>> I need to write a parser for MP4 - essentially, read an MP4 file and
>>> create an in-mem
Hi,
I need to write a parser for MP4 - essentially, read an MP4 file and create
an in-memory representation of its structure.
I'd appreciate it very much if I could get some suggestions on libraries
that I could use for this.
Is there a https://github.com/youngnh/parsatron like library that works
ot;D" "D# ...]]
> (keyword (str key octave
>
> Timothy
>
>
> On Fri, Jan 17, 2014 at 9:21 AM, Kashyap CK
> > wrote:
>
>> Hi,
>>
>> I am exploring javax.sound.midi using clojure and while creating keywords
>>
b.com/alexpw/8476780
>
> On Friday, January 17, 2014 10:21:52 AM UTC-6, Kashyap CK wrote:
>>
>> Hi,
>>
>> I am exploring javax.sound.midi using clojure and while creating keywords
>> for notes I wonder if I could use macros to generate the keywords -
>
Hi,
I am exploring javax.sound.midi using clojure and while creating keywords
for notes I wonder if I could use macros to generate the keywords -
(defn note-2-num [n]
(let [
m {
:C1 0
:C#1 1
:D1 2
:D#1 3
:E1 4
:F1 5
:while next-pages]
> (map segment2data (-> body (html2data) :segment
>(into []))
>
> Also note that i didn't use local binding named next, but instead i named it
> next-pages, because next
> local name could lead to surprise if you forget that you a
Thanks Mauricio ... I think I understand it now.
Regards,
Kashyap
On Monday, January 13, 2014 9:48:28 PM UTC+5:30, Mauricio Aldazosa wrote:
>
>
>
> On Mon, Jan 13, 2014 at 8:49 AM, Kashyap CK
> > wrote:
>
>>
>> I'd really appreciate it if someone could tel
Hi,
I've been dabbling with Clojure for a bit and I am really loving it!!!
I am trying to write a clojure program to download a bunch of URLs and I
was wondering what is the right way to do it -
My current implementation is as follows
(def url-sequence (map #(str "http://www.mysite.com/list.php
23 matches
Mail list logo