This is embarassing. ;-) 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 new members are moderated - please be patient with your
first post.
To unsubscribe
sb (StringBuilder.)]
(if (not (= x -1))
(.toString sb)
(recur (.append sb (char x)) (.read bfr))
#'user/pt%%
user> (pt%% ribs)
""
Which makes no sense to me...
-- Hank
--
You received this message because you are subscribed to the Google
Groups
(if (not (= x -1))
(.toString sb1)
(recur (.read bfr) (.append sb (char x)))
#'user/pt34
user> (pt34 ribs)
""
I still get no beef (err, ribs). Doesn't print anything either.
Weird. Just weird.
-- Hank
--
You received this message because you ar
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 new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email
gt; (pt8 ribs)
Execution error (IllegalArgumentException) at java.lang.Character/toChars
(Character.java:8572).
Not a valid Unicode code point: 0x
The file used is sufficiently small so that we can walk the bytes using
jshell:
jshell> FileReader afr = new FileReader("/home/hank/sourc
2021-12-25, 21:11:46 UTC-3, LaurentJ wrote:
"Hi,
Your loop/recur usage is wrong, your error may be because your loop has no
halting condition."
Hi Laurent --
I actually took inspiration from one of the sources you posted:
(import '(javax.sound.sampled AudioSystem AudioFormat$Encoding))
(let
Thanks, Harold.
You see, that was an exercise in Java interop - I know about slurp, but I
was trying to understand what was going on there.
-- Hank
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email
ter/toChars (.read bfr
(recur val))
; when finished...
(.toString ct)))
Harder then it seemed at first sight...
-- Hank
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this grou
Hello --
Sometimes I see a notation that uses a prefix "-", as in:
user> (def -a (atom []))
#'user/-a
Is there a special meaning/convention regarding this use of a hyphen prefix?
TIA
-- Hank
--
You received this message because you are subscribed to the Google
Groups "Cloju
00220: 6167 6e69 6e67 6172 2065 6c6c 6572 2069 agningar eller i
0230: 2066 c3b6 7273 c3a4 6b72 696e 6773 6272 f..rs..kringsbr
0240: 616e 7363 6865 6e0a anschen.
Any ideas?
TIA
-- Hank
--
You received this message because you are subscribed to the Google
Groups
UTC+10, Hank wrote:
Hi Ron,
Different concern from the above so another post. :) Do you think Pulsar
can help make Oz-style dataflow
concurrencyhttp://en.wikipedia.org/wiki/Oz_(programming_language)#Dataflow_variables_and_declarative_concurrencya
reality on the JVM? As discussed
Pulsar need to
instrument system classes/the runtime library to do its thing?
Cheers
-- hank
On Saturday, July 20, 2013 1:49:55 AM UTC+10, pron wrote:
Featuring: distributed actors, supervisors, fiber-blocking IO, and an
implementation of core.async.
Read the announcement
herehttp
that a lack of lightweight
threads on the JVM doesn't make this feasible just yet.
Cheers
-- hank
On Saturday, July 20, 2013 1:49:55 AM UTC+10, pron wrote:
Featuring: distributed actors, supervisors, fiber-blocking IO, and an
implementation of core.async.
Read the announcement
herehttp
Hi Alan,
Only saw your answer now, somehow Google groups didn't notify me. Thanks
for clarifying.
-- hank
--
--
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
enough to produce something that
scales in complexity and performance while having plenty real-world
scenarios to test their schemes against at their disposal.
Cheers
-- hank
On Wednesday, February 20, 2013 6:33:56 PM UTC+11, Alan Dipert wrote:
Hi all,
We recently released a ClojureScript library
I opened a bug report, let's see what the pros have to say on this:
http://dev.clojure.org/jira/browse/CLJ-1119
--
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
be more generic.
Christophe
On Mon, Dec 3, 2012 at 10:37 AM, Hank ha...@123mail.org wrote:
I opened a bug report, let's see what the pros have to say on this:
http://dev.clojure.org/jira/browse/CLJ-1119
--
You received this message because you are subscribed
(NO_SOURCE_FILE:1)
= lazy
Exception user/fn--733 (NO_SOURCE_FILE:1)
Same exception over and over again as it should be. I stared at the
implementations of 'map' and lazy-seq/LazySeq for some hours but I really
can't see it.
Cheers
-- hank
--
You received this message because you
://clojure.org/lazy), this is related to the undocumented :once keyword
on function calls. Maybe that interferes with macros? Or maybe I'm barking
up the wrong tree.
-- hank
On Monday, 3 December 2012 00:58:08 UTC+11, Hank wrote:
I'm mapping a function that throws an exception over
I am not aware of any clojure book
that alerts you to that.
Also, maybe the implementation of map function should catch your exception
internally and produce a null, and return a sequence of nulls?
-Julian
On Sunday, December 2, 2012 5:58:08 AM UTC-8, Hank wrote:
I'm mapping a function
According to Wikipedia, Clojure provides explicit progression-of-time
constructs: http://en.wikipedia.org/wiki/Clojure
Anyone any clue which constructs are meant by that? The term doesn't even
resolve on Google outside the Clojure context.
--
You received this message because you are
facts, don't change data in place
idea by keeping revisions of the data structures.
All in all very exciting to see this confluence of ideas.
-- hank
On Tuesday, 6 March 2012 05:46:12 UTC+11, kovasb wrote:
Since not everyone reads twitter or hacker news, http://datomic.com/
has been updated
Thanks for writing, I think this here sums it up nicely:
Maybe all of this is possible. After all an human can do it manually.
I have a background in machine learning/artificial intelligence ...
and yes I can see those things come in handy here.
But I see it as more a research topic than
much along those lines other than
isolated problems being tackled -- the question here rather being:
What's the furthest the the envelope can be pushed in terms of co-
opting the Blub world?
Hank
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post
Mauve has more RAM? :)
On Sep 29, 9:46 pm, David Nolen dnolen.li...@gmail.com wrote:
ClojureScript?
David
--
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
There isn't an easy solution right now but I think it's worth the
effort producing something there. You might want to join the
discussion over here: http://groups.google.com/group/clojure/t/5da63583815b6102
--
You received this message because you are subscribed to the Google
Groups Clojure
On Sep 30, 8:35 am, Nicolas bousque...@gmail.com wrote:
Clojure has native interoperability with JVM CLR.
Right, this is machine interop. What about people interop? How can a
Clojure programmer interoperate with a Ruby programmer? Can I chuck
some Clojure code into Google translate
On Sep 29, 9:11 am, Hank h...@123mail.org wrote:
Mauve has more RAM? :)
On Sep 29, 9:46 pm, David Nolen dnolen.li...@gmail.com wrote:
ClojureScript?
David
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email
Just replying to my own post here:
Something like Linj (https://github.com/xach/linj /
http://www.doiserbia.nb.rs/img/doi/1820-0214/2008/1820-02140802019L.pdf)
and the corresponding Jnil go into the right direction.
--
You received this message because you are subscribed to the Google
Groups
Thanks, but from what I can see, they enable machine interop, not
people interop. Instead of cross-platform, can you do cross-community?
On Sep 30, 10:00 am, Raoul Duke rao...@gmail.com wrote:
Hank,
it ain't Clojure so this might be irrelevant to you, but some
interesting cross-platform
I think the major obstacle is likely to be the difference in idioms.
Any substantial idiomatic piece of Clojure is going to be almost
impossible to automatically translate to _idiomatic_ code in another
high-level language that uses different idioms.
That could very well turn out to be the
Addendum: Just as an example, for this here ...
Would it even be idiomatic Java to always have classes full of only
static methods?
... the Java-ists have an idiom (design pattern) called singleton.
They're not static methods but once-instance classes.
--
You received this message because
On Sep 30, 2:58 pm, Sean Corfield seancorfi...@gmail.com wrote:
On Thu, Sep 29, 2011 at 11:24 PM, Hank h...@123mail.org wrote:
Would it even be idiomatic Java to always have classes full of only
static methods?
... the Java-ists have an idiom (design pattern) called singleton.
They're
are scared of what might happen, you are free to use a language
with more secure documentation pages. Seesh.
Hank
On Sat, Jun 27, 2009 at 7:55 PM, Four of Seventeenfsevent...@gmail.com wrote:
On Jun 27, 6:32 pm, J. McConnell jdo...@gmail.com wrote:
On Jun 27, 2009, at 12:28 PM, Four of Seventeen
On Mon, Apr 20, 2009 at 9:13 AM, Sean Devlin francoisdev...@gmail.com wrote:
Okay, I'm willing to bet this crowd has already seen this:
http://www.sun.com/third-party/global/oracle/index.jsp
Any thoughts on how this affects Clojure?
No effect.
--
blog: whydoeseverythingsuck.com
Writing a TIM is definitely the way to go, It's a place to hide the glue
until both Terracotta and Clojure catches up with each other.
uhhh what is a TIM?
Thanks
Hank
--
blog: whydoeseverythingsuck.com
--~--~-~--~~~---~--~~
You received
How does one make a standard clojure based class file or jar file without
embedding clojure source files.
Hank
--
blog: whydoeseverythingsuck.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Clojure group
On Thu, Jan 29, 2009 at 7:28 PM, Greg Harman ghar...@gmail.com wrote:
Hank:
I have looked at TC in the past, and took another look today at your
suggestion. Terracotta certainly seems to have promise feature-wise,
but I have to admit it's a heavier solution than I had been thinking
As has been discussed on this list before, it seems to me the basis for this
should be terracotta, which handles much (most?) of the heavy lifiting
required for this kind of task. Have you looked at it?
On Thu, Jan 29, 2009 at 9:15 AM, Greg Harman ghar...@gmail.com wrote:
One of Clojure's big
?
Hank
On Tue, Jan 27, 2009 at 3:20 PM, dreish dresweng...@dreish.org wrote:
java -server is not the default on Macs. It makes a huge difference
for Clojure.
% java -jar clojure.jar
Clojure
user= (time (reduce #(+ %1 %2 (if (odd? %1) -1 0)) (range 1000)))
Elapsed time: 11793.18 msecs
40 matches
Mail list logo