located at http://github.com/nakkaya/clojure-stub/tree/master
Just clone and run ant setup.
--
Nurullah Akkaya
nurul...@nakkaya.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To po
have a clojure project stub at,
http://github.com/nakkaya/clojure-stub
That will let you build a executable jar.
running ant deps will download the clojure.jar and clojure-contrib.jar
running ant setup will create the required sources to create a hello
world application.
running ant compile wil
hear your feedback on the code.
Regards...
--
Nurullah Akkaya
http://nakkaya.com
--
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 -
check this out,
http://github.com/nakkaya/clojure-stub
it will create a bare bones Hello World! application, that you can
build on top of, including an ant task for creating a jar file for
your application.
Regards,
--
Nurullah Akkaya
http://nakkaya.com
On Mon, Dec 28, 2009 at 12:57 PM, Joop
cribe 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
>
Freenodes new policy to fight spam.
You need to register your nick.
http://www.wikihow.com/Register-a-User-Name-on-F
> The name of your library
clodiuno
> Library home page URL
http://nakkaya.com/clodiuno.markdown
> Your name
Nurullah Akkaya
> Category (db, web, UI, parsing etc)
Physical Computing
> License
Beerware Revision 42
> A one-paragraph description. Include 3rd party d
- please be patient 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
>
Using this,
http://paste.lisp.org/display/67182
would allow you
If you just want max in each group you can use,
(map #(apply max %) [[1 2 3] [2 5 1] [4 2 6]])
this will give you,
(3 5 6)
Regards,
--
Nurullah Akkaya
http://nakkaya.com
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to
%)
(partition 3 (apply interleave [[1 2 3] [2 5 1] [4 2 6]])))
will give you,
(4 5 6)
Regards,
--
Nurullah Akkaya
http://nakkaya.com
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroup
l return a java.lang.Class then you can pass it to the
function,
(.getFeed service url (get-class "AccountFeed"))
Hope it helps...
--
Nurullah Akkaya
http://nakkaya.com
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to thi
:reload-all tubes.download))
src/ needs to be in your classpath.
Regards,
--
Nurullah Akkaya
http://nakkaya.com
--
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 post
Which version of hiccup?
there was a bug discussed in compojure mailing list couple of days ago,
where hiccup pre compilation fails when there are vars inside maps.
http://groups.google.com/group/compojure/browse_thread/thread/d512a04a08aaa64f#
0.2.2 fixes this issue.
--
Nurullah Akkaya
http
(let [url (ClassLoader/getSystemResource "META-INF/MANIFEST.MF")
manifest (java.util.jar.Manifest. (.openStream url))]
(println (.entrySet (.getMainAttributes manifest
ClassLoader/getSystemResource does allow you to get rid of
Class/forName...
--
Nurullah Akkaya
http://n
t and start
processing in its own thread. Each URL is written to disk using a
UUID.
http://gist.github.com/399127
Cheers...
--
Nurullah Akkaya
http://nakkaya.com
On Wed, May 12, 2010 at 9:29 PM, nickikt wrote:
> Hallo all,
>
> A friend of mine ask if there is a smart way to get th
Yes but AFAIK you only get availableProcessors + 2 threads with pmap
which is fine when the task is CPU bound but for downloading web pages
most of the time will be lost at waiting for I/O so having more
threads would speed things up.
Regards...
--
Nurullah Akkaya
http://nakkaya.com
On Thu
here,
http://nakkaya.com/2009/11/12/mp4-conversion-for-mac-os-x-and-linux/
Regards...
--
Nurullah Akkaya
http://nakkaya.com
On Thu, May 27, 2010 at 5:24 PM, Martin Roberts
wrote:
> I was hoping to listen/view the clojure screen casts on my daily
> commute on my ipod. I have got t
.@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 receiving emails from it, send an
> em
>- Is there a way to compile C++ code at runtime? This would be
>essential for the REPL and for Macros.
>
>
> Let me know if anyone has any thoughts on the matter.
>
> Thanks
>
--
Nurullah Akkaya
http://nakkaya.com
--
You received this message because you are subscrib
(defn countdown [& {:keys [from]
:or {from 10}}]
(println from)
(when (pos? from)
(recur {:from (dec from)})))
Passing {:from (dec from)} instead of :from (dec from) works.
Regards...
--
Nurullah Akkaya
http://nakkaya.com
On Sun, Jun 6, 2010 at 2:2
the length of the
sequence at compile time we apply str
to the sequence
(apply str '("code" "code" "code"))
which basically expands to,
(str "code" "code" "code")
then you get,
"codecodecode"
--
Nurullah Akkaya
http:/
w))
Hope it helps...
--
Nurullah Akkaya
http://nakkaya.com
On Wed, Jul 7, 2010 at 5:47 PM, uap12 wrote:
> Hi!
> I try to make a printout witch vill have year 1999->2010 and every
> week
> Eg.
> Year=1999 Week=1
> Year=1999 Week=2
> Year=1999 Week=3
> Year=1999 Week=
Panel.
Hope this helps...
--
Nurullah Akkaya
http://nakkaya.com
On Sat, Jul 24, 2010 at 4:11 PM, Mate Toth wrote:
> Hi,
>
> my problem is that during execution my presentation java applet is
> flashing. There are many components which paint to a JPanel using it's
> Graphics (.ge
s/cd/E17409_01/javase/tutorial/uiswing/painting/closer.html
--
Nurullah Akkaya
http://nakkaya.com
--
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 ar
Hi Ivan,
I have a project called Clodiuno which allows you to control an
Arduino board using either serial or TCP/IP protocol, that may give
you a head start,
http://github.com/nakkaya/clodiuno/blob/master/src/clodiuno/firmata.clj
http://nakkaya.com/clodiuno.html
Regards...
--
Nurullah Akkaya
Is there a particular reason for not using Bouncy Castle[1]. Instead of
forcing users to install gpg lein can generate and/or upload the key.
[1] http://www.bouncycastle.org/
--
Nurullah Akkaya
http://nakkaya.com
On Mon, Nov 19, 2012 at 10:08 PM, Lee Hinman wrote:
>
> Jeff Heon
B.jar and
make Minim.jar depend on A and B then when you add Minim as your
dependency in project.clj it will pull A, B and Minim.
Regards...
--
Nurullah Akkaya
http://nakkaya.com
On Wed, Oct 13, 2010 at 12:52 AM, Vilson Vieira wrote:
> Hello,
> I want to create a Clojure wrapper for Min
I have a simple library that mimics newLISP's net-eval command, which
will allow you to evaluate expressions in parallel on remote network
nodes,
http://nakkaya.com/net-eval.html
Regards...
--
Nurullah Akkaya
http://nakkaya.com
On Sat, Jan 8, 2011 at 4:12 AM, Nick Zbinden wrote:
&g
Hi Nick,
You can reach me from this email.
If you have a patch, you can send a pull request or email it directly.
Regards...
--
Nurullah Akkaya
http://nakkaya.com
On Wed, Jan 12, 2011 at 1:13 AM, Nick Zbinden wrote:
>> I have a simple library that mimics newLISP's net-eval com
No need for wget etc,
For core you can download from,
https://github.com/clojure/clojure/tree/gh-pages
For contrib,
https://github.com/clojure/clojure-contrib/tree/gh-pages
Just click on download...
Regards...
--
Nurullah Akkaya
http://nakkaya.com
On Mon, Jan 24, 2011 at 5:55 PM, Ken
You can use map to get your new sequence of pairs, the turn it into a hash-map
using into,
(->> {:first "john" :last "smith" :age 25}
(map #(let [[k v] %]
(if (string? v)
[k (.toUpperCase v)] [k v])))
(into {}))
Best,
--
Nurullah Akkaya
http://nakkaya.com
On Tuesd
30 matches
Mail list logo