tions..
On Wed, Nov 17, 2010 at 9:51 PM, Ken Wesson wrote:
> On Wed, Nov 17, 2010 at 9:36 PM, Victor Olteanu
> wrote:
> > Hi,
> > Please excuse my newbie ignorance - I would like to do something that
> seems
> > pretty basic, yet I couldn't figure it out yet.
>
Hi,
Please excuse my newbie ignorance - I would like to do something that seems
pretty basic, yet I couldn't figure it out yet.
I would like to call a function that is loaded in a different namespace, but
without having to load the library again in the current namespace - more
precisely:
in db.clj
d (in the Rails community) and erased all of his repos :)
Then I saw all my account's history and repos were gone, and that was scary.
Luckily, twitter quickly revealed to me that they were experiencing
problems.
Victor
On Mon, Nov 15, 2010 at 8:37 AM, Rick Moynihan wrote:
> On 15 November 20
Github is down at the moment unfortunately...
On Sun, Nov 14, 2010 at 3:27 PM, Rick Moynihan wrote:
> Hi all,
>
> When I ran some Clojure Dojo's in Dundee, we did a few group sessions
> going through labrepl and its exercises; and I thought the format
> worked well. I'm keen to do the same thing
How can people not *love* JavaScript? :) Take for example this excerpt from
'JavaScript: the Good Parts':
"The new function object is given a prototype property whose value is an
object containing a constructor property whose value is the new function
object"
(PS: that is not one of the "good par
cf. node js, I thought of mentioning this link
http://dosync.posterous.com/22397098
On Fri, Oct 29, 2010 at 11:10 PM, Santosh Rajan wrote:
> Now that server side javascript is growing with node.js, clojure on
> javascript will be usefull. Nodejs is event based and not thread based so I
> don't k
I'm trying to update a document that has an user list inside:
test.db> (def uu (fetch-one users (where (eq :name "victor"
#'test.db/uu
test.db> uu
{:password "1234", :name "victor", :_id #}
test.db> (def pp (insert projects {:name "test&qu
made "official" then we could
update those docs so other people won't run into these same issues.
Victor
On Tue, Oct 26, 2010 at 12:46 AM, Btsai wrote:
> I don't think it's a mistake or accident that spit exists in
> clojure.core. In 1.2, duck-streams became deprecat
f
Clojure...
On Mon, Oct 25, 2010 at 10:25 PM, Michael Ossareh wrote:
>
>
> On Mon, Oct 25, 2010 at 19:09, Victor Olteanu wrote:
>>
>> java.lang.IllegalStateException: spit already refers to:
>> #'clojure.contrib.duck-streams/spit in namespace: datatool.api (api.
e is:
(ns datatool.api
(:use compojure.core)
(:use hiccup.core)
(:use hiccup.page-helpers)
(:use [ring.middleware reload stacktrace file file-info])
(:use datatool.db)
(:use clojure.contrib.json)
(:use clojure.contrib.duck-streams))
Thank you,
Victor
--
You received this message becau
quot;my_datum"} :params} ...)
Thanks again!
Victor
On Fri, Sep 17, 2010 at 9:18 PM, Miki wrote:
> See http://clojure.pastebin.com/ncaULRbU (works for me).
> I've changed the POST handler to use *params* and I also think you're
> not closing the :h2 in view output
doesn't seem to be the
case, and there are no "parseString" methods that I could use instead.
Thank you,
Victor
On Fri, Sep 17, 2010 at 5:30 PM, Miki wrote:
> My *guess* it's somehow connected to the code of "view-layout" since
> it shows the representation of th
y what I entered and submitted (say I
typed the string "a").
(defn view-output [a]
(view-layout
[:h2 (str "This is what you entered: " a)))
However what I get is this:
clojure.core$...@1e731e90
Thanks in advance for your help!
Victor
--
You received this message
Some examples to illustrate this would be very welcome.
On Aug 22, 2010, at 9:17 AM, Nicolas Oury wrote:
> On Sun, Aug 22, 2010 at 11:30 AM, Belun wrote:
>> why does everything have to be a data structure ? like (operation
>> parameter parameter ...)
>
> Because it makes really easy to do me
Thanks, I like gedit too as it's fast and easy to use.
What about auto-indenting, any ideas about that?
-V
On Fri, Aug 20, 2010 at 8:30 PM, mitko wrote:
> Apparently it is not that hard to create something that does decent
> job for syntax highlighting for Clojure. It took me about 3-4 hours
>
Well so far it works, I'm just confused by some of these java
errors...
- V
On Jul 23, 7:26 am, Laurent PETIT wrote:
> And may I add that "crazy easy labrepl installation for ccw" is around the
> corner:http://github.com/smuehlst/ccw/tree/labrepl-sample-project!
&
I finally got labrepl to work with one IDE, tried with intelliJ but
didnt work, also comand line didnt work on mac os x. But Eclipse
version seems to work! Yay!
So I can't wait to start learning more about Clojure, but the road so
far is pretty bumpy... Any help in figuring out what this log4j err
I can send you something, but I don't know how to attach files here...
- V
On Jul 22, 7:09 am, Laurent PETIT wrote:
> Hello,
>
> Just a word to inform you that I've provisioned the Eclipse Market Place for
> Counterclockwise.
>
> That way, installing counterclockwise from Eclipse Helios is even
Thank you all for the input, it has made me understand some new
things.
I find node.js push for NIO as the de-facto mode of existence for web
apps interesting, and I was trying to have my cake and eat it too.
JS programming just doesn't look all that appealing.
- V
On Jul 20, 1:46 pm, Peter Schu
Hello,
I'm Coming here view PHP to RoR ro Node.js to Clojure (still
investigating) and am mostly interesting in building scalable web
applications.
I hear aleph being compared to node.js but how do the other two
frameworks compare in performance to the their counterparts, such as
express.js and s
Hi,
Just a curiosity question, I'm not sure how far off the JVM is from
running on your GPU, but I imagine that with the hundreds and even
thousands of cores, a GPU might, theoretically show us just what
Clojure can do...
--
You received this message because you are subscribed to the Google
Grou
Can conjure be used to build web app over aleph? Or what does it take
to build highly scalable web apps in clojure similar to node.js and
express.js?
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegr
e the site will grow with many people's contributions.
Victor
On Fri, Jul 9, 2010 at 4:32 AM, zkim wrote:
> Hi All,
>
> I'll try to keep this short.
>
> I've gotten a lot out of Clojure: I can honestly say that learning
> this language, and being part of this com
On Thu, Jun 25, 2009 at 3:17 AM, Emeka wrote:
> accounting software in Clojure?
> Which area of accounting will it cover?
Why, forclosures of course!
(Sorry, couldn't resist).
Cheers,
Victor.
> Emeka
>
> On Thu, Jun 25, 2009 at 3:41 AM, fft1976 wrote:
>>
>>
y of
Squeak, a
practical Smalltalk written in itself", by Dan Ingalls et al.
www.vpri.org/pdf/tr1997001_backto.pdf
Cheers,
Victor Rodriguez.
> Here's Paul Grahams paper on eval:
>
> http://lib.store.yahoo.net/lib/paulgraham/jmc.ps
>
> Get to the part where he defines eval, and l
art a
REPL from the development server.
I have got as far as starting the REPL, but I have yet to find the
time to use this setup, so there might be other "showstoppers".
Cheers,
Victor Rodriguez.
> cheers,
> Kees
> >
>
--~--~-~--~~~---~--~
[f]
"Call a function with the feeds as an argument"
...)
(defmacro with-feeds
[feeds & body]
`(call-with-feeds (fn [~feeds] ~...@body)))
Kind regards,
Victor Rodriguez.
> Approach #3: This is a good approach once you hit the limits of the
> first approach, and before
"." (I copied it), "." is part of the
> CLASSPATH as far as I can tell.
OK, but how are you specifying the classpath? From what directory do
you launch Java from? Try giving the full path to the directory
instead of ".".
Cheers,
Victor Rodrig
t"
> - on the map, at the upper left, click the blue marker icon
> - place the marker and edit the info
> - save
Shouldn't people leave their email address? Otherwise how can you get
in contact with local hackers?
Cheers,
V
heck out Magit, there is a very nice screencast
demonstrating it at
http://alexvollmer.com/index.php/2009/01/18/meet-magit/. There are
other videos about git, I recommend the ones from Linus Torvalds and
Randal Schwartz.
Cheers,
Victor Rodriguez.
> Eventually I went with tried and true sv
t;
> Does this make changing the SCM tool to Hg a real possibility? While
> this might not be such a big deal for Clojure core, I would *LOVE* an
> easy way to fork contrib, and I bet I'm not the only one.
For what it is worth, I would also like the source to be kept under Hg.
Chee
08-contest/task.html
Sounds like a fun thing to try. Could someone give a brief
description of what would be required in terms of time commitment to
participate on a team? (Sadly, spare time is hard to come by...)
Cheers,
Victor Rodriguez.
> I spent a day on last year'
sets of
private data produce the same hash... (or someone boinks the hash
value in the map).
Cheers,
Victor.
> On Wed, Apr 22, 2009 at 1:01 PM, Victor Rodriguez wrote:
>>
>> On Tue, Apr 21, 2009 at 12:01 PM, David Nolen
>> wrote:
>> > Nice post thanks for putting
ries, and I believe this supports equality
> just fine. Since we're using metadata the data travels around easily
This won't work, since metadata is not used for equality tests, isn't
that right?
Regards,
Victor Rodriguez.
> between operations.
> -- Forwarded m
rst it's a good idea for 'nth.
Probably not. I expect nth on a vector to be much faster than on a
seq. O(1) vs O(n), respectively.
Cheers,
Victor Rodriguez.
>
> [Apologies to all for the several redundant posts on this topic. I've
> been getting rejection messages from
care about the stack trace. You can even have a mutable exception
(and thus probably a bad idea) to "pop" values up the stack.
Regards,
Victor.
> control, on the nested loop thread I've added my findings...
> On Mon, Apr 13, 2009 at 4:24 PM, Victor Rodriguez wrote:
>>
ructing exceptions what is slow, not throwing or catching them.
In other words, for the amb implementation above, it might be worth
defining a "constant" exception and throwing that. (Although I'm
confused, I see in the code (.Exception "something"), shouldn't that
be
tor compiler does at least some checks on stack effects.
Cheers,
Victor Rodriguez.
> Basically, applicative languages (like C) are to Forth, what GC is to
> malloc/free and what STM is to locks: a huge step forward.
>
> I don't know what Factor people are doing. It
ct directory, and it is OK to leave the files around.
Cheers,
Victor Rodriguez.
> (2) Also have tests that read a file, and I would be much more
> comfortable not having to rely on code to write the file first.
> Doesn't feel like a unit test.
>
> (3) The macro is more co
, or are we maintaining
> Java 5 compatibility?
For what it's worth, I haven't upgraded from Tiger so I'm stuck with
Java 1.5, so I'd like to keep 1.5 compatibility.
Kind regards,
Victor Rodriguez.
> Stu
>
> >
>
--~--~-~--~~~---~--~
s, or keep its own version private.
Cheers,
Victor Rodriguez.
> - James
> >
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to clojure@googleg
x.html.
For example, the jruby folks use it, since they need to run all those
scripts needed by Ruby on Rails.
Cheers,
Victor R.
> But I found, that clojure's startup time is too bad to do that.
> So I implemented a client-server architecture which works pretty much
> like clojure&
are missing opportunities to be much more productive.
Emacs is an amazing tool, it pays to spend some time becoming
proficient with it. A good place to start is emacswiki.org.
Cheers,
Victor Rodriguez.
> Thanks!
>
> >
>
--~--~-~--~~~---~--~~
You r
>=, =, etc. are
> symbols? (I assume they are symbols because I can write (< 3 4),
> etc.)
Looks like the documentation is out of date:
user> (def <>= 3)
#'user/<>=
user> <>=
3
Cheers,
Victor R.
> >
>
--~--~-~--~~~---
(writer ~f)]
(binding [*out* w#]
~...@body)))
(with-out-as "/tmp/test.txt"
(print "hola,")
(println " crayola"))
Cheers,
Victor Rodriguez.
> Hmm - I've never written a macro, maybe I should give this a try...
>
> - Korny
>
> On We
Here is something I wrote as a Clojure learning exercise.
I have a suspicion that a serious implementation of this may exist,
please let me know if that is so!
Cheers,
Victor Rodriguez.
http://gist.github.com/82727
;;; A toy to experiment with Clojure macros.
;;;
;;; (f "1 + 2 = ~(
have a link handy for instructions, but there have been
various thread about starting clojure swank for Java, and google
*will* turn out useful info.
Cheers,
Victor.
> On 17 Mar, 23:02, Laurent PETIT wrote:
>> If you don't have a preferred environment right now, or if your preferred
>>
I think you will find it useful.
Cheers,
Victor R.
>> application, I create a thread which loads a clojure program passed on
>> the command line (I don't have the source in front of me, but if you
>> need it, I can give you a hand),
>
> That would be great.
>
>>
48 matches
Mail list logo