On Fri, Feb 17, 2012 at 4:57 AM, abaitam wrote:
> a) All those concrete things around you look like objects that has
> properties and actions:
I don't think that's true for a lot of brand new programmers. It's
true for Java programmers because everything is an object in their
world. But I deal wi
I'll add a +1 to this. It seems like a great way to keep a stream of competent,
hireable (from a business perspective) Clojure programmers flowing. I think it
lowers some concerns for businesses considering adoption. Beyond that, even if
a student were to go and program in another language, I ha
+1, would love to help in any way I can
'(Devin Walters)
On Feb 17, 2012, at 4:41 PM, Peter Hanak wrote:
> another +1 here
>
> On Feb 14, 3:23 am, Simone Mosciatti wrote:
>> More students
>> +1
>>
>> On Feb 9, 9:54 am, Baishampayan Ghose wrote:
>>
>>
>>
>>
>>
>>
>>
>>> Alexander,
>>
I suggest simply skipping the size comparison if either side is an
instance of the class LazySeq. Even for finite seqs this saves
traversing each seq twice.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@g
another +1 here
On Feb 14, 3:23 am, Simone Mosciatti wrote:
> More students
> +1
>
> On Feb 9, 9:54 am, Baishampayan Ghose wrote:
>
>
>
>
>
>
>
> > Alexander,
>
> > A discussion is currently ongoing in the Clojure Dev mailing list.
>
> > We are still waiting for someone from Clojure/core to chim
On Fri, Feb 17, 2012 at 1:37 PM, Brandon Bloom wrote:
> The problem is dealing with with asynchronous code, right? Not capturing
>> / restoring dynamic bindings.
>>
>
> No, the problem is that there is no mechanism to capture and restore
> dynamic bindings.
>
> This is a shortcoming irrespective
> Not really viable. What if the first item is realized and the rest
> aren't?
Ah yeah - actually there are loads of reasons that it wouldn't work...
--
Dave
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to cloju
On Feb 17, 1:34 pm, David Powell wrote:
> > Lazy sequences implement java.util.List, which has a .size method.
> > clojure.lang.APersistentVector/doEquiv (and doEquals) attempts to
> > optimize when it sees it is being compared to something with a .size
> > or .count method, by comparing sizes bef
Chris Redinger and Alan Dipert are working with ConFreaks (who did the
recording) to get this fixed.
Thanks for your patience, everyone.
-Stuart Sierra
clojure.com
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to
I would like to conditionally generate log statements based on run-time checks
of various application-specific info.
I note the following:
Logging levels are specified by clojure keywords corresponding to the values
used in log4j and commons-logging:
:trace, :debug, :info, :warn, :error, :fat
On Feb 17, 2012, at 2:29 PM, Alan Malloy wrote:
> Lazy sequences implement java.util.List, which has a .size method.
> clojure.lang.APersistentVector/doEquiv (and doEquals) attempts to
> optimize when it sees it is being compared to something with a .size
> or .count method, by comparing sizes bef
> Lazy sequences implement java.util.List, which has a .size method.
> clojure.lang.APersistentVector/doEquiv (and doEquals) attempts to
> optimize when it sees it is being compared to something with a .size
> or .count method, by comparing sizes before doing the hard work of
> comparing elements.
On Fri, Feb 17, 2012 at 3:49 PM, Brent Millare wrote:
> The computation is happening server side. From what you said, I think
> XMLHttpRequest is what I need. Also from what your saying, it sounds like
> there isn't any clojurescript specifics here, its all in the realm of
> javascript. Is that ri
The computation is happening server side. From what you said, I think
XMLHttpRequest is what I need. Also from what your saying, it sounds like
there isn't any clojurescript specifics here, its all in the realm of
javascript. Is that right? This sounds like a powerful technique. What
about cons
1. You can't do GUI or game development without using Java.
A: Yes, that's true. Clojure was designed to use the vast libraries
of Java. Java documentation is superb so if you want to do anything
graphical, I'd suggest the Java tutorial and JavaFX especially for all
things graphical. It's really
>
> The problem is dealing with with asynchronous code, right? Not capturing /
> restoring dynamic bindings.
>
No, the problem is that there is no mechanism to capture and restore
dynamic bindings.
This is a shortcoming irrespective of asynchronous code.
It just so happens that such a mechani
On Feb 17, 10:54 am, Michael Gardner wrote:
> On Feb 17, 2012, at 12:32 PM, Bill Smith wrote:
>
> > It might help to know that (= (range) (range)) does not terminate either.
>
> Of course, since a pairwise sequential comparison (what I assume is going on
> under the hood) will never find a non-ma
On Feb 17, 2012, at 12:32 PM, Bill Smith wrote:
> It might help to know that (= (range) (range)) does not terminate either.
Of course, since a pairwise sequential comparison (what I assume is going on
under the hood) will never find a non-matching pair.
> It appears that the = operator wants to
CLJSH & REPLS: "cljsh" is a lightweight client that sends clojure
statements/files to a persistent repl-server "repls" for evaluation.
Release notes
Cljsh (>= 1.9.5) and repls (>= 1.9.5) have the following new features:
• cljsh automatically finds the repls-server that is started for the projec
It might help to know that (= (range) (range)) does not terminate either.
It appears that the = operator wants to fully evaluate the second argument
before comparing to the first. Since (range) is infinite, it hangs.
--
You received this message because you are subscribed to the Google
Groups
To be more clear about what I'm asking for, I'd like some simple sample
code, or a guide which provides this.
Thanks
--
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 n
When you inline expensive computations in script tags directly those will
delay loading of the page. For anything particularly expensive, I would
probably wait until the DOM is ready. If this calculation is happening
server side then prevent your script from delaying page load by
asynchronously cal
I came across something interesting while working on some code posted in
another thread: it seems (= [] (range)) does not terminate, while (= (range)
[]) does. Why is that?
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send
Hi! Long way!
To start with I would head for using webnoir+korma for starters. I think
its a better lighted up road for people to start with (eventually you could
dump the jvm after a while and run everything in node.js or something but
for now thats a risky road for someone new to the language IM
A treasure!
I will from now on start to jot down whatever I do also.
/Linus
2012/2/16 Sean Neilan
> Of course, I won't be able to write the entire Recipe Book by myself. I
> will contribute all the recipes I have discovered with test cases.
>
> On Thu, Feb 16, 2012 at 11:40 AM, Sean Neilan wr
Honestly I have no clue what to do. I'm new to javascript for webpage
building. Before even trying to learn javascript I'm just wondering the
approaches, pros/cons to do this. You'll have to elaborate a little bit, if
you don't mind.
--
You received this message because you are subscribed to t
I'm assuming you've put the script tag that waits for this computation
directly into the page?
On Fri, Feb 17, 2012 at 8:54 AM, Brent Millare wrote:
> I have web content that loads instantly except for a small section of it,
> which depends on high latency computations, that take a second to do.
On Thu, Feb 16, 2012 at 1:33 PM, Brandon Bloom wrote:
> > A robust solution can be implemented via CPS transformation
>
> Forgive me for my ignorance, but how exactly would a CPS transformation
> enable one to capture and restore the current set of dynamic bindings?
>
The problem is dealing with
I'm really new to programmIng. Started in relational database design
and got myself a SQLServer based database for which I want to create a
web based clojure/clojurescript/clojurescriptone based front end. I
started learning programming (oop) with vb.net and vs and got to
realize that to get to whe
I'm working on something like this by keeping notes on everything I've
encountered so far in Clojure 1.3.0.
Please understand that these are* personal notes* and as such are very,
very messy.
http://seanneilan.com/Clojure.html
When I have the time, I will volunteer to clean up my notes and turn
Of course, I won't be able to write the entire Recipe Book by myself. I
will contribute all the recipes I have discovered with test cases.
On Thu, Feb 16, 2012 at 11:40 AM, Sean Neilan wrote:
> I'm working on something like this by keeping notes on everything I've
> encountered so far in Clojure
> A robust solution can be implemented via CPS transformation
Forgive me for my ignorance, but how exactly would a CPS transformation
enable one to capture and restore the current set of dynamic bindings?
--
You received this message because you are subscribed to the Google
Groups "Clojure" gro
In the next interview from the (take) series, Fogus interviewes William
Byrd, which is talking about some suggestions for Clojure, Scheme and
macros and his current work, among other things
Link: http://clojure.com/blog/2012/02/16/take5-william-byrd.html
--
You received this message becaus
On Feb 16, 5:03 am, bOR_ wrote:
> Started playing with getting an within emacs clojure-based mud client, but
> puzzling a bit with parsing the incoming stream. The below works (for
> emacs+swank-clojure 1.4.0), but puts a space between every character. When
> I try to solve that (for example by
Likewise
On Feb 16, 8:43 am, Sergey Didenko wrote:
> The same here.
--
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 patient with
I have web content that loads instantly except for a small section of it,
which depends on high latency computations, that take a second to do. As of
now, since the page only loads when everything is computed, the whole page
takes a second to load. I'd like most of the page to load, then the slo
It is clear that most Clojure documentation (books, tutorials, blog posts)
address Java or other language developers. I am at chapter three of the
"Clojure Programming" book and so far I have seen many snippets of Ruby and
Python code. That's not necessarily wrong but obviously the
book assumes
Hi,
I'm trying to run ClojureScript One using CCW plugin in Eclipse. I
created a new project and imported all the source code into it. Then I
added folders to the build path that reflect the following
configuration from project.clj:
:git-dependencies [["https://github.com/clojure/clojurescript.git
It appears that when executing 'lein run' that it's examining
dependencies and/or contacting Maven repositories. This overhead is
adding a considerable amount of time to lein run. Firing things up
from the command line takes *significantly* less time (>30s vs 4-5s).
Has anyone else seen this beh
Solved it. I had to replace the "(print (take.." statement with the
following:
(doseq [c (remove #{\return} (map char (take-while #(not= % -1) (repeatedly
#(.read (.getInputStream avendar))] (print c))
--
You received this message because you are subscribed to the Google
Groups "Clojure"
40 matches
Mail list logo