Hi
On 2 September 2012 02:02, larry google groups
lawrencecloj...@gmail.com wrote:
This is probably more of a socket and network question than a Clojure
question. I am learning Clojure and wanted to serve a web page through a
simple app, mostly to teach myself how to put together such an app
Hi!
I just wanted to watch this screencast (Clojure Sequences) as I really need
that little table which compares C#, Java and Clojure sequences. However
the video on this link seems to be like 5 seconds long instead of more than
an hour. Can you fix it? Or do you have the slides somewhere?
Hi all,
Does IPersistentStack have defined stack semantics? I'm confused
because IPersistentStack defines peek and pop and (via
IPersistentCollection) conj. I had previously expected that peek and
pop would remove from the same end that conj adds to, as happens with
lists and vectors, in order to
Confirmed. The video is indeed broken.
On Sun, Sep 2, 2012 at 3:34 PM, Andrew Rafas andras.ra...@gmail.com wrote:
Hi!
I just wanted to watch this screencast (Clojure Sequences) as I really
need that little table which compares C#, Java and Clojure sequences.
However the video on this link
I tend to like 1 better. I do not like working with vars without a good reason.
--
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
I can't fix the version posted on blip.tv, but I downloaded it over a
year ago when it was still working.
It's a 107 MB quicktime file encoded using H.264. Running time is 1
hour 14 minutes.
I could make it available somewhere, if that would help.
// Ben
On Sun, Sep 2, 2012 at 12:37 PM, Mayank
I would appreciate,
Thank you very much,
Andrew
On Sunday, September 2, 2012 4:19:10 PM UTC+1, bsmith.occs wrote:
I can't fix the version posted on blip.tv, but I downloaded it over a
year ago when it was still working.
It's a 107 MB quicktime file encoded using H.264. Running time is 1
I usually store vars to functions when developing in the REPL. The
practical difference is that when you redefine `foo' in the above
example, calls via the `actions' map will use the old function as
the function itself ist stored, while after redefining `bar' calls
through `actions' will use the
This issue best illustrates how imperative and functional thinking differ.
When I write code such as
(map not [true false])
, I implicitly think imperatively: compiler, please traverse this
collection, applying 'not to each element
I could also word my thoughts functionally: I desire the
You should be able to download it from here for the next few days:
https://dl.dropbox.com/u/8238674/clojure-sequences.mov
// Ben
On Sun, Sep 2, 2012 at 6:56 PM, Andrew Rafas andras.ra...@gmail.com wrote:
I would appreciate,
Thank you very much,
Andrew
On Sunday, September 2, 2012 4:19:10
What is the status of the Clojurescript pluggable backend? Are the latest
changes in the main trunk? Are their any plans to do this? I'd like to work
on an alternate back-end and I'd like to take advantage of this code.
Timothy
--
“One of the main causes of the fall of the Roman Empire was
On Fri, 2012-08-31 at 03:40 -0700, Peter Taoussanis wrote:
(foo) = {:x x-default :y y-default}
I.e. to merge the :or defaults over the :args binding?
Such behavior would be quite surprising; to see why, desugar :keys:
{x (expr-that-computes :x),
y (expr-that-computes :y),
z
Thanx Ben. That's the first time I've seen that preso and it really
does help things click regarding the seq abstraction!
On Sun, Sep 2, 2012 at 12:43 PM, Ben Smith-Mannschott
bsmith.o...@gmail.com wrote:
You should be able to download it from here for the next few days:
Guys,
Has anyone read about RootBeer - https://github.com/pcpratts/rootbeer1
My understanding is that it can compile Java bytecode - CUDA GPU code.
A Java class that you want to run on your CUDA GPU must subclass the
RootBeer Kernel interface.
So, I wondering what would happen if I
1)
Hello,
I want to generate non-Clojure s-expressions in Clojure code, with a nice
templating format (like syntax-quote provides), BUT with the option of
providing my own methods/functions for
resolving/processing symbols, and the ability to provide my own
methods/functions for evaluating
Hi,
I am trying to write a function which takes a list of strings, tokenize
each one, and maximise N such that the number of unique tokens in the first
N strings is less than
some number M.
I have written the following function using take-while and a pred function
with an atom to store the
Hi
Im having problems using Leiningen together with Clojure 1.4 (and 1.3) on
Windows 7. Using Leiningen version 1.5.2 I can create a new project and use
lein deps to download clojure version 1.2.1. However if I change
dependencies in project.clj to org.clojure/clojure 1.4.0, I run into
If the audience is largely Java, then
http://www.infoq.com/presentations/Clojure-Java-Interop ;
The isBlank refactoring starting at about 13:50 is worth considering as a
starting point.
On Thursday, August 30, 2012 8:53:16 AM UTC-5, Denis Labaye wrote:
On Thu, Aug 30, 2012 at 12:20 AM,
Why IPersistentList doesn't extend ISeq?
Clojure docs say:
Lists are collections. They implement the ISeq interface directly
(except for the empty list, which is not a valid seq)
At this moment EmptyList implements ISeq, but PersistentList doesn't. It
seems very strange for me.
Also
Hi,
I have a problem with read-string in Clojurescript. Reading keywords
starting with a number will fail:
(cljs.reader/read-string :123)
(cljs.reader/read-string :1abc)
Both will return following error: Uncaught TypeError: Cannot read property
'0' of null
I think this is a bug. Any
On 29 August 2012 14:08, Jonathan Lange j...@mumak.net wrote:
Just wondering if there are any conferences in Europe coming up in the
remainder of the year that would be of interest to someone interested
in Clojure?
There's FP Days in Cambridge, UK on October 25th and 26th.
I am new to Clojure, I want to know how ot run the Clooj IDE?
If it needs to install Clojure to my computer, or every time I use
java -cp /path/to/the/clojure.jar clojure.main /path/to/your/code.clj
to run my code?
--
You received this message because you are subscribed to the Google
Groups
From docs:
Lists are collections. They implement the ISeq interface directly
(except for the empty list, which is not a valid seq).
But at this time IPersistentList does not extend ISeq (but PersistentList
does). It sees a bit strange.
Also PersistentQueue implements IPersistentList.
I'm attempting to translate some exercises from the book Introduction to
Computer Simulation Methods http://sip.clarku.edu/ from Java to Clojure.
First, I packaged up the opensourcephysics source
codehttp://www.opensourcephysics.org/document/ServeFile.cfm?ID=7147DocID=2267#Doc2267and
I have a file named pong.clj, it isunder following, I want to know how can
I run it?
Thank you.
(ns example.game.pong
(:use [penumbra opengl]
[clojure.contrib.def])
(:require [penumbra [app :as app] [text :as text]]))
(def ball-width 0.03)
(def ball-height 0.03)
(def
Hi there.
I'm having a play around with ClojureScript, and I'd find it really useful
to be able to be able to create some Mockito style test spies. Ultimately,
I'd like to be able to generate a spy by reflecting over a protocol and
find out what operations it supports programatically.
However,
now if only they had a webinar that explained the utterly horrendous
leagaleze nightmare tolsoty-length terms and conditions.
On Fri, Aug 31, 2012 at 2:49 PM, John Holland jbholl...@gmail.com wrote:
This is awesome!
On Friday, August 31, 2012 4:31:38 PM UTC-4, Simone Mosciatti wrote:
A
First, IPersistentSeq is the interface, PersistentSeq is the actual class.
If you look at it a little more closely, PersistentList extends ASeq, which
is an abstract class. ASeq implements the ISeq interface. So PersistentList
does implement ISeq through its parent class.
Sorry, I meant IPersistentList and PersistentList in the first sentence of
my previous email.
On Sun, Sep 2, 2012 at 11:00 PM, Tamreen Khan histor...@gmail.com wrote:
First, IPersistentSeq is the interface, PersistentSeq is the actual class.
If you look at it a little more closely,
ClojureSphere has been updated with a new domain, refreshed index, and some
new features:
http://www.clojuresphere.com/
ClojureSphere lets you browse the dependency graph of the open source
Clojure ecosystem.
The dependency information is provides now is slightly more accurate and
useful.
Hi
If the sexp will not be evaluated from clojure code, why aren't you using a
function to generate the code instead of a macro. That avoids the namespace
resolution.
If you want to go with macros, there is a trick to turn namespace
resolution of. just unquote like this @':
Am 03.09.2012 01:07
On Fri, 2012-08-31 at 05:08 -0700, shaobohou wrote:
I have written the following function using take-while and a pred
function with an atom to store the set of unique tokens. It works
Only because in the current implementation, take-while happens to be
called in coll order, which is not a
On Fri, 2012-08-31 at 22:22 -0700, Daniel Woelfel wrote:
Caused by: java.lang.ClassNotFoundException:
org.opensourcephysics.controls.AbstractSimulation
(ns fractal.fractalapp
(:import [org.opensourcephysics.frames PlotFrame]
33 matches
Mail list logo