Thanks Mark,
I think that worked!!
Sunil.
On Sat, Feb 25, 2012 at 10:54 AM, Mark Rathwell wrote:
> Try this (you need to wrap the return val of helper in lazy-seq also):
>
> (defn pair-sequences-by
> ([seq-1 seq-2 f1 f2]
> "s1 and s2 are guaranteed to be strictly monotonically increasing
>
If you create a namespace with associated vars interactively in the repl, and
subsequently try to use that functionality in other namspaces with
clojure.core/use, an exception is thrown:
FileNotFoundException Could not locate cljsh/docs__init.class or
cljsh/docs.clj on classpath: clojure.
Why listen to music when you could read lyrics? Watching a well-performed
talk is about making an emotional connection with the storyteller. Go read
the "I have a dream" speech, then watch the video. They're both powerful,
but the performance trumps the script.
(Please don't troll me on the exampl
Try this (you need to wrap the return val of helper in lazy-seq also):
(defn pair-sequences-by
([seq-1 seq-2 f1 f2]
"s1 and s2 are guaranteed to be strictly monotonically increasing
whith respect to f1 and f2 as keys respectively.
The return value is pairs of elements e1 from s1 and e2 fro
That's a nice summary, and is part of what I'm hoping to enable with nREPL.[1]
I started with it trying to provide a tool-agnostic REPL backend, but I quickly
wanted to get past the rigid text orientation of that medium. Yes, Clojure
forms are always read as text, and that's the dominant mediu
Hi,
this video showed up on my G+ stream about a week ago and it was /fun/ to
watch.
I think most of the people around here will be more intrigued by the first
half, which has a focus on programming.
Side-note: this is one of the (few) video presentations that just can't be
translated to text
I'd like to present you with an small library for working with
Blueprints-enabled graph databases in Clojure:
https://github.com/eduardoejp/clj-blueprints
Have fun!
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to
I've finally signed and scanned my video release, for my short talk on Cascade.
http://dl.dropbox.com/u/39927208/conj-video-release.pdf
On Mon, Dec 27, 2010 at 10:08 AM, Alan Dipert wrote:
> Hi everyone,
> We've just released the next Conj video, Luke VanderHart's talk on
> Clojure Zippers: http
I had a look at the java.jmx code and worked out and tested s simple
fix:
diff --git a/src/main/clojure/clojure/java/jmx.clj b/src/main/clojure/
clojure/java/jmx.clj
index 128e516..3d291a3 100644
--- a/src/main/clojure/clojure/java/jmx.clj
+++ b/src/main/clojure/clojure/java/jmx.clj
@@ -203,9 +203
That's a great talk, and a great basic principle: that creators need
an immediate connection to their creation.
I realized this has also been my side project for the last few months,
though mostly in "hammock phase".
I think the foundational technology we need, as a community, is an
"html5 repl".
Thanks for bringing the discussion back on track. That's a great list of
contexts & links.
David
On Fri, Feb 24, 2012 at 4:27 PM, Raju Bitter wrote:
> Thanks for posting the link. I've been following Bret Victor's blog
> and the stuff he has been doing for some time.
>
> Bret has built some very
Thanks for posting the link. I've been following Bret Victor's blog
and the stuff he has been doing for some time.
Bret has built some very impressive UIs using OpenLaszlo, and he is a
fan of the technology and the expressiveness of the LZX language for
building UIs. OpenLaszlo was created by bunc
> On Fri, Feb 24, 2012 at 2:19 PM, Marco Abis wrote:
>> First: sorry, my reply was meant to be sent to you only, not the list
>>> Because it was described as "a talk". That means the bulk of the
>>> actually meaningful content in it comes from someone's lips flapping.
>>> That can be rendered as t
This solution, I think, does not do more map first than needed, avoids
computing len and pieces more than once, uses nthnext to avoid extra cost
of drop and computes the example
(first (second (split-at-subsequence [1 2] (range
(defn split-at-subsequence [mark input]
(when-let [sequenc
Envoyé de mon iPhone
Le 24 févr. 2012 à 19:29, Damien Lepage a écrit :
Hi Everyone,
You may have seen this already, if not I believe it's worth investing 1h of
your life:
http://vimeo.com/36579366
That's already a good candidate for the technical talk of the year, if not
the decade IMO.
Ok, I'
On Feb 24, 2012, at 1:51 PM, Daniel E. Renfer wrote:
> Ken Wesson was noted for having strong opinions as was a noted hater of
> videos where text will do.
He was also the only guy who would post replies with just "you're welcome" as
the body. Until Cedric, that is...
--
You received this mess
Sorry, I certainly didn't intend to start such a heated debate ;o)
Hopefully some of you appreciate the link but you're all free to ignore.
The truth is, no matter the media, there are too many interesting things
and you need to choose.
I had this video in my todo list for a week before I took the
I need a braille version, any volunteer ?
BTWY, what was the initial subject of this thread ?
I'm half-joking here, welcome back Mr Wesson.
:
Mr Smith
> Perhaps someone will volunteer to transcribe it and post that. You know,
> maybe someone who can type quickly and prefers text. :-)
>
Perhaps someone will volunteer to transcribe it and post that. You know, maybe
someone who can type quickly and prefers text. :-)
I've done that for one of Rich's earlier talks posted as video. It takes time,
and I'm not volunteering for this one.
Andy
On Feb 24, 2012, at 11:57 AM, Cedric Gr
On Fri, Feb 24, 2012 at 2:51 PM, Daniel E. Renfer wrote:
> On 02/24/2012 02:42 PM, Cedric Greevey wrote:
>> OK. I googled the group archives. Seems there was a Ken Wesson active
>> on the list for a while, but he disappeared a couple of months before
>> I joined. I'm not sure why people think I mi
Bringing this back on topic, I watched the video. Wow! was it worth
it. This guy has some pretty mind-blowing demos. I highly recommend
this, I'm going to have to sit down soon and code up a clone of his
"binary search tree" demo.
Timothy
--
You received this message because you are subscribed t
On 02/24/2012 02:42 PM, Cedric Greevey wrote:
> On Fri, Feb 24, 2012 at 2:25 PM, Jay Fields wrote:
>> On Fri, Feb 24, 2012 at 2:12 PM, Cedric Greevey wrote:
>>> On Fri, Feb 24, 2012 at 2:06 PM, gaz jones wrote:
Are you Ken Wesson with a new account?
>>> Who?
>>>
>>> Wait. Surely you don't t
@cedric: I think you've made your point. I know you're not asking for advice,
but I think the constructive thing would have been to ask: "Could you please
provide more context? Are there slides available of this talk?" If you want to
rant about this "newfangled video contraption", this list is n
On Fri, Feb 24, 2012 at 2:43 PM, Alan Malloy wrote:
> Why would you (remove nil? (map f coll))? That's what keep is for:
> (keep f coll).
Why would you (remove nil? (map f coll))? Because you didn't know
about keep, obviously. :)
--
You received this message because you are subscribed to the Go
Why would you (remove nil? (map f coll))? That's what keep is for:
(keep f coll).
On Feb 24, 11:20 am, Cedric Greevey wrote:
> On Fri, Feb 24, 2012 at 2:17 PM, JuanManuel Gimeno Illa
>
> wrote:
> > What I don't understand of your solution is the (map seq (step pieces))
> > because for me it is c
On Fri, Feb 24, 2012 at 2:25 PM, Jay Fields wrote:
> On Fri, Feb 24, 2012 at 2:12 PM, Cedric Greevey wrote:
>> On Fri, Feb 24, 2012 at 2:06 PM, gaz jones wrote:
>>> Are you Ken Wesson with a new account?
>>
>> Who?
>>
>> Wait. Surely you don't think that it's not possible for more than one
>> pe
On Fri, Feb 24, 2012 at 2:25 PM, Jay Fields wrote:
> On Fri, Feb 24, 2012 at 2:12 PM, Cedric Greevey wrote:
>> On Fri, Feb 24, 2012 at 2:06 PM, gaz jones wrote:
>>> Are you Ken Wesson with a new account?
>>
>> Who?
>>
>> Wait. Surely you don't think that it's not possible for more than one
>> pe
On Fri, Feb 24, 2012 at 2:12 PM, Cedric Greevey wrote:
> On Fri, Feb 24, 2012 at 2:06 PM, gaz jones wrote:
>> Are you Ken Wesson with a new account?
>
> Who?
>
> Wait. Surely you don't think that it's not possible for more than one
> person to prefer text to video as a way of disseminating verbal
On Fri, Feb 24, 2012 at 2:19 PM, Marco Abis wrote:
> First: sorry, my reply was meant to be sent to you only, not the list
>> Because it was described as "a talk". That means the bulk of the
>> actually meaningful content in it comes from someone's lips flapping.
>> That can be rendered as text, e
On Fri, Feb 24, 2012 at 2:17 PM, JuanManuel Gimeno Illa
wrote:
> What I don't understand of your solution is the (map seq (step pieces))
> because for me it is clear that each of the sequences generated by step is a
> seq, so why do you need to seq it?
It's the combination of (remove nil? (map se
First: sorry, my reply was meant to be sent to you only, not the list
> Actually, it would have taken an hour, and writing the email took much less.
...
> Because it was described as "a talk". That means the bulk of the
> actually meaningful content in it comes from someone's lips flapping.
> Th
nah it's possible i guess, but he's the only other person i've ever
seen type an essay about it on this forum in reply to someone posting
a link to a video. also, he posts and yours are very similar and he
disappeared shortly before you arrived. AND YOU WOULD HAVE GOT AWAY
WITH IT IF IT WASNT FOR T
On Fri, Feb 24, 2012 at 2:13 PM, Marco Abis wrote:
>> What does video get you that text or HTML+images couldn't get you?
>
> watching the video would answer the question and would have probably
> taken you less time than writing this email...
Actually, it would have taken an hour, and writing the
El viernes 24 de febrero de 2012 18:46:03 UTC+1, Cedric Greevey escribió:
>
> On Fri, Feb 24, 2012 at 11:30 AM, JuanManuel Gimeno Illa wrote:
>
> > I think it would be better to create the lazy-seq over a function that
> uses
> > the pieces in order to not to explode input with partition-all and
> What does video get you that text or HTML+images couldn't get you?
watching the video would answer the question and would have probably
taken you less time than writing this email...
> Not worth what you lose, IMO
how can you know if you haven't watched the video?
--
Marco Abis
--
You rece
On Fri, Feb 24, 2012 at 2:06 PM, gaz jones wrote:
> Are you Ken Wesson with a new account?
Who?
Wait. Surely you don't think that it's not possible for more than one
person to prefer text to video as a way of disseminating verbal
information over the internet, given all of text's advantages in s
Are you Ken Wesson with a new account?
On Fri, Feb 24, 2012 at 1:00 PM, Cedric Greevey wrote:
> On Fri, Feb 24, 2012 at 1:29 PM, Damien Lepage wrote:
>> Hi Everyone,
>>
>> You may have seen this already, if not I believe it's worth investing 1h of
>> your life:
>> http://vimeo.com/36579366
>>
>>
On Fri, Feb 24, 2012 at 1:29 PM, Damien Lepage wrote:
> Hi Everyone,
>
> You may have seen this already, if not I believe it's worth investing 1h of
> your life:
> http://vimeo.com/36579366
>
> That's already a good candidate for the technical talk of the year, if not
> the decade IMO.
What is it
Hi Everyone,
You may have seen this already, if not I believe it's worth investing 1h of
your life:
http://vimeo.com/36579366
That's already a good candidate for the technical talk of the year, if not
the decade IMO.
Ok, I'm getting a bit too enthusiastic here but this is so inspiring.
After wat
On Fri, Feb 24, 2012 at 11:30 AM, JuanManuel Gimeno Illa
wrote:
> Maybe this version is clearer:
>
> (defn split-at-subsequence [mark input]
> (when-let [sequence (seq input)]
> (let [len (count mark)
> pieces (partition-all len 1 sequence)
> [fst rs
One variation making the lazy-sequence only over the pieces:
(defn split-at-subsequence [mark input]
(let [len (count mark)
split-at-subseq (fn split-at-subseq [pieces]
(when (seq pieces)
(let [[fst rst] (sp
Maybe this version is clearer:
(defn split-at-subsequence [mark input]
(when-let [sequence (seq input)]
(let [len (count mark)
pieces (partition-all len 1 sequence)
[fst rst] (split-with #(not= mark %) pieces)
head (map first fst)
One implementation using only one recursive function and the sequence
library:
(defn split-at-subsequence [mark input]
(when-let [sequence (seq input)]
(let [len (count mark)
pieces (partition-all len 1 sequence)
[fst rst] (split-with #(not= mark %)
http://mametipsum.herokuapp.com/
I wrote this to teach myself Clojure. The code is on GitHub:
https://github.com/tvaughan/mametipsum. Thanks for Clojure. I enjoyed it.
Any comments are appreciated.
-Tom
--
You received this message because you are subscribed to the Google
Groups "Clojure" gr
The 2012 CUFP call for presentations is out:
http://cufp.org/cufp-2012-call-presentations
The program committee is hoping for better representation from the
Clojure community this year, so if you've got something interesting to
say about Clojure, please submit a proposal!
--Chouser
--
You recei
you can use the *compile-files* flag
if you need to differentiate compiling versus running contexts.
This will be useful if you use AOT to create class files for later packaging.
This flag is useful to avoid global code chunks to run when they create
side effects (runtime inits, ...). You do not w
46 matches
Mail list logo