Thanks for the reply. That seems to match well with how I thought they
were supposed to work.
I'm just a little confused by the
set!, with-local-vars, functions. What are they supposed to be used
for?
-Patrick
--
You received this message because you are subscribed to the Google
Groups "Cloju
You're right. Here's a recursive example of what I was trying to do
with promise/deliver:
http://gist.github.com/284957
And with delay/force:
http://gist.github.com/284972
Nice comparison, thanks for sharing.
I suppose the one thing I like about promise/deliver is that
promises can be "w
Weekend, and East coast, either near the DC area or New York Area,
maybe Boston area is OK too.
On Jan 22, 12:36 pm, dysinger wrote:
> We will be organizing a conference in the next month for 2010
> (probably in the fall). One question I would like to ask is, given
> the conference is probably g
On Sat, Jan 23, 2010 at 7:43 PM, Richard Newman wrote:
> Use futures and promises for parallelism or dataflow-style work. Use delay
> for non-parallel, synchronous delayed execution.
You're right. Here's a recursive example of what I was trying to do with
promise/deliver:
http://gist.github.co
It works well for me on MacOS X. If Clojure were an option for me at
work, I would try Leiningen under something like Cygwin or msysgit on
Windows.
On Jan 23, 8:13 pm, Mark Engelberg wrote:
> Is Leiningen a Linux-only tool?
--
You received this message because you are subscribed to the Google
G
>> Is Leiningen a Linux-only tool?
>
> No, but Linux is much better supported than Windows right now. See this page:
>
> http://github.com/technomancy/leiningen
>
> The last question in the FAQ on that page is:
>
> Q: What about Windows?
> A: Try the bin/lein.bat script. Note that Windo
> Is Leiningen a Linux-only tool?
No, but Linux is much better supported than Windows right now. See this page:
http://github.com/technomancy/leiningen
The last question in the FAQ on that page is:
Q: What about Windows?
A: Try the bin/lein.bat script. Note that Windows support i
Is Leiningen a Linux-only tool?
--
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 your
first post.
To unsubscribe from
delay/force definitely do not do what I'm describing. What we want
to is something like a continuation as mentioned by Chouser. We want
to block the thread of execution until some point in the future when
the values become available.
I'm not sure that what you described describes what you w
Fair enough. Clearly list* isn't intended to do what you want. I'd
suggest using (into '() ...).
On Jan 23, 8:38 am, samppi wrote:
> The Clojure parser I'm writing needs to differentiate between nil and
> the empty list. It should parse "[1 2 3]" and read that as [1 2 3],
> and the same for li
The Clojure parser I'm writing needs to differentiate between nil and
the empty list. It should parse "[1 2 3]" and read that as [1 2 3],
and the same for lists, maps, and sets. If it parses "()" and reads
that nil, then it's not working correctly.
In addition, code in some other libraries I'm wri
On Jan 22, 11:58 pm, Richard Newman wrote:
> I foresee a future with a lot more time spent modifying other people's
> project files.
This is the past, the present, and the forever-after of open-source
software development.
If you need lots of libraries, you need your own Maven repository with
I successfully used Clojure, Restlet, StringTemplate, and the Simple
servlet framework to handle all traffic on www.altlaw.org. My scaling
requirements were a tad unusual -- only ~10,000 visitors per day, but
over a million pages. This was all on a single EC2 "small" instance,
also running Solr.
Jeff Rose writes:
> The future is used because they have a timeout feature when using the
> .get method.
Should there be a corresponding timeout-based `deref' function¹
("deref-within"?) for promises? Having to close a function over your
"@p" form and spawn a job on a separate thread seems like
It's still very young days for any of the Clojure web frameworks
(including -shameless plug- Cascade).
My favorite web framework (for obvious reasons) is Tapestry; there's
years and years of experience behind it to make it a very effective,
very productive, and extremely high-performance environme
I should point out that the error involves the fact that the
graphical.clj code uses items in the 'vijual namespace in an
unqualified fashion (such as the "half" function) which I would expect
would be allowed, but the compiler complains about this.
On Jan 23, 8:58 am, Conrad wrote:
> I'm stumped
I'm stumped on this error- Maybe someone in this group can help point
out my error in my clojar?
Here's the issue:
- The majority of the code in this library is in vijual.clj:
http://github.com/drcode/vijual/blob/master/src/vijual.clj
- I have a namespace under that with a file graphical.clj
Pardon, in the example above we have a 3 x 3 x 3 nested vector, not a
3 x 3 matrix!
On Jan 23, 2:45 pm, Rock wrote:
> I have a working function to slice multidimensional nested vectors a
> la MATLAB (actually more like NumPy).
>
> I'm using Konrad Hinsen's multi-array library (keep up the great w
I have a working function to slice multidimensional nested vectors a
la MATLAB (actually more like NumPy).
I'm using Konrad Hinsen's multi-array library (keep up the great work
Konrad!). Here's the code (I'm sure it can be greatly improved and
optimized):
(defn nv-subvec [x & ind]
(loop [v x
On Jan 23, 2010, at 12:04 , Boštjan Jerko wrote:
>
> On 23.1.2010, at 10:33, Edmund wrote:
>
>> East coast for we Europeans ?
>>
>> On Jan 23, 8:53 am, Christophe Grand wrote:
>>> On Sat, Jan 23, 2010 at 8:54 AM, Konrad Hinsen
>>>
>>> wrote:
On 22 Jan 2010, at 22:15, Wilson MacGyver wro
Yes, I'm getting the same error- The console functions (use 'vijual)
work fine from the clojar but the graphical functions (use
'vijual.graphical) are throwing that error. There must be something
more about clojure namespaces I'm not understanding... I'll let you
know as soon as I have it fixed.
O
>> >> I vote let's turn this into a clojure vacation, and hold it in an
>> >> exotic location.
Well, how about Johannesburg or Cape Town. Sort of equidistant from
the US, Europe, Asia and Aus. Also if you wait a month or two you can
get to watch a soccer (footie) match or three as well :).
--
Yo
On 23.1.2010, at 10:33, Edmund wrote:
> East coast for we Europeans ?
>
> On Jan 23, 8:53 am, Christophe Grand wrote:
>> On Sat, Jan 23, 2010 at 8:54 AM, Konrad Hinsen
>>
>> wrote:
>>> On 22 Jan 2010, at 22:15, Wilson MacGyver wrote:
>>
I vote let's turn this into a clojure vacation, an
On Jan 22, 1:40 pm, Krukow wrote:
> Please don't top post.
Seriously, people still complain about this? It's the default
behavior in Google Groups, so I think you just have to live with it.
Find a news reader that doesn't suck.
--
You received this message because you are subscribed to the Goo
Jeff, I'm trying to dupe the error right now
On Jan 23, 7:14 am, Jeff Rose wrote:
> Awesome! I tried it out quickly last night using leiningen. The text
> rendering worked great, but graphical seems to have a problem:
>
> user=> (use 'vijual.graphical)
> java.lang.Exception: Unable to resol
I use leiningen to download and publish libraries, but in terms of
setting up for development I use a bash script that adds whatever I
need for the project to the CLASSPATH and starts the nailgun server.
(swank for vimclojure) This seems to work pretty well, although it
would be nice if Leiningen
Awesome! I tried it out quickly last night using leiningen. The text
rendering worked great, but graphical seems to have a problem:
user=> (use 'vijual.graphical)
java.lang.Exception: Unable to resolve symbol: half in this context
(graphical.clj:60)
-Jeff
On Jan 22, 11:06 pm, Conrad wrote:
>
In a library for communicating with networked programs and devices
using Open Sound Control (OSC) messages, I use promises in combination
with futures to provide synchronous callbacks with an optional
timeout. For example, you might send a status request message to a
device and you expect an immed
On 23 Jan 2010, at 02:53, James Reeves wrote:
> On Jan 23, 2:29 am, David Cabana wrote:
>> What I'd like to get from 'tickets' is something like ( ["Alice"
>> ["foo"]] ["Bob" ["bar" "baz"]]), that is, output that ties incidents
>> to customers. So far it has eluded me.
>
> "xml->" just returns
I believe some people use HttpUnit for this purpose. It's a very full-featured
HTTP client. YMMV.
On 23 Jan 2010, at 01:25, Richard Newman wrote:
>> And as for Apache HttpComponents, it sounds like they don't grok the
>> notion that breaking backwards compatibility should only occur with a
>> m
East coast for we Europeans ?
On Jan 23, 8:53 am, Christophe Grand wrote:
> On Sat, Jan 23, 2010 at 8:54 AM, Konrad Hinsen
>
> wrote:
> > On 22 Jan 2010, at 22:15, Wilson MacGyver wrote:
>
> >> I vote let's turn this into a clojure vacation, and hold it in an
> >> exotic location.
>
> >> Otherwi
On Sat, Jan 23, 2010 at 8:54 AM, Konrad Hinsen
wrote:
> On 22 Jan 2010, at 22:15, Wilson MacGyver wrote:
>
>> I vote let's turn this into a clojure vacation, and hold it in an
>> exotic location.
>>
>> Otherwise, hey, Columbus Ohio is as good as any other city. :)
>
> My vote is for Paris, France
I'm still confused by why you'd need a list version of vec. Just
return the sequence. Whatever would consume the list should
equivalently consume the seq.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@g
I second Seattle.
On Fri, Jan 22, 2010 at 1:19 PM, ajay gopalakrishnan wrote:
> I vote for Seattle.
>
>
--
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
34 matches
Mail list logo