Re: ANN: Pulsar 0.2.0 Released

2013-09-27 Thread Hank
ach byte code from system classes/the run time library this way. Does 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 I

Re: ANN: Pulsar 0.2.0 Released

2013-09-27 Thread Hank
on -- the key takeaway being 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.as

Re: ANN: Pulsar 0.2.0 Released

2013-09-28 Thread Hank
2013 8:38:28 PM UTC+10, Hank wrote: > > Hi Ron, > > Different concern from the above so another post. :) Do you think Pulsar > can help make Oz-style dataflow > concurrency<http://en.wikipedia.org/wiki/Oz_(programming_language)#Dataflow_variables_and_declarative_concurrency&g

Re: [ANN] Javelin, spreadsheet-like FRP for ClojureScript

2013-03-24 Thread Hank
is that Clojure folks are ambitious 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 al

Re: [ANN] Javelin, spreadsheet-like FRP for ClojureScript

2013-04-22 Thread Hank
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

Re: datomic has been announced

2012-03-05 Thread Hank
ver-side to reduce load on the network, not sure Datomic can do that. CouchDB also implements the "add 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:4

"explicit progression-of-time constructs"? (wikipedia)

2012-11-18 Thread Hank
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 subscr

exception in 'map' mutates result to nil -- bug?

2012-12-02 Thread Hank
w (Exception. #'user/lazy => lazy Exception user/fn--733 (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

Re: exception in 'map' mutates result to nil -- bug?

2012-12-02 Thread Hank
he tail call of their body" on this page: http://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: > >

Re: exception in 'map' mutates result to nil -- bug?

2012-12-02 Thread Hank
hould not do, and I would recommend > to change map function to return a null or throw -- to let you know that > your code can cause odd behavior. BTW I am not aware of any clojure book > that alerts you to that. > > Also, maybe the implementation of map function should catch

Re: exception in 'map' mutates result to nil -- bug?

2012-12-03 Thread Hank
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 mem

Re: exception in 'map' mutates result to nil -- bug?

2012-12-03 Thread Hank
for the other example. > > > So the error message may be more generic. > > > Christophe > > > > On Mon, Dec 3, 2012 at 10:37 AM, Hank wrote: > > I opened a bug report, let's see what the pros have to say on this: > http://dev.clojure.org/jira/br

producing Blub code and vv.

2011-09-29 Thread Hank
kind of way. Searching this group I haven't found 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

Re: producing Blub code and vv.

2011-09-29 Thread Hank
Mauve has more RAM? :) On Sep 29, 9:46 pm, David Nolen 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 members are moderated -

Re: Using Clojure to Generate Java Source?

2011-09-29 Thread Hank
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" gro

Re: producing Blub code and vv.

2011-09-29 Thread Hank
On Sep 30, 8:35 am, Nicolas 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 (http://google.com/translate)

Re: producing Blub code and vv.

2011-09-29 Thread Hank
ng? > > David > > On Sep 29, 9:11 am, Hank wrote: > > > > > > > > > Mauve has more RAM? :) > > > On Sep 29, 9:46 pm, David Nolen wrote: > > > > ClojureScript? > > > > David -- You received this message because you are su

Re: producing Blub code and vv.

2011-09-29 Thread Hank
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 "Cl

Re: producing Blub code and vv.

2011-09-29 Thread Hank
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 wrote: > Hank, > > it ain't Clojure so this might be irrelevant to you, but some > interesting cross-platform

Re: producing Blub code and vv.

2011-09-29 Thread Hank
> 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

Re: producing Blub code and vv.

2011-09-29 Thread Hank
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

Re: producing Blub code and vv.

2011-09-29 Thread Hank
On Sep 30, 2:58 pm, Sean Corfield wrote: > On Thu, Sep 29, 2011 at 11:24 PM, Hank 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. &g

Re: producing Blub code and vv.

2011-10-03 Thread Hank
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 eng

Re: Multi-CPU on Mac Not Exploited?

2009-01-27 Thread hank williams
thers? Hank On Tue, Jan 27, 2009 at 3:20 PM, dreish 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 t

Re: Distributed Clojure

2009-01-29 Thread hank williams
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 wrote: > > One of Clojure's big selling points (

Re: Distributed Clojure

2009-01-30 Thread hank williams
On Thu, Jan 29, 2009 at 7:28 PM, Greg Harman 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

building a class or jar file from clojure

2009-02-09 Thread hank williams
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"

Re: building a class or jar file from clojure

2009-02-09 Thread hank williams
/clojure/msg/58e3f8e5dfb876c9 > > Joshua > > > On Mon, Feb 9, 2009 at 6:52 PM, hank williams wrote: > >> How does one make a standard clojure based class file or jar file without >> embedding clojure source files. >> >> Hank >> >>

Re: building a class or jar file from clojure

2009-02-09 Thread hank williams
lol. Thanks much Jeffrey. I'm coming back soon. After the economic meltdown I needed a new thesis. I didnt think a bunch of "I told you so" posts would be tasteful so I needed a recharge. Hank On Mon, Feb 9, 2009 at 2:39 PM, Jeffrey Straszheim < straszheimjeff...@gmail.com>

Re: Clojure + Terracotta = Yeah, Baby!

2009-02-28 Thread hank williams
> > > 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 --~--~-~--~~~---~--~~

Re: Oracle and Clojure

2009-04-20 Thread hank williams
On Mon, Apr 20, 2009 at 9:13 AM, Sean Devlin 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 --~--~-~--~

Re: Oracle and Clojure

2009-04-20 Thread hank williams
e it but given the market leading position of eclipse, its hard to believe it would, big picture, make that much difference. Hank On Mon, Apr 20, 2009 at 9:50 AM, Sean Devlin wrote: > > I guess I should have stated my initial concern better.  I've had to > use several Oracle produ

Re: The API docs are gone!

2009-06-27 Thread hank williams
es. If you 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 Seventeen wrote: > > On Jun 27, 6:32 pm, "J. McConnell" wrote: >> On Jun 27, 2009, at 12

Pesky java interop bug with 0xFFFFFFF error in BuferredReader

2021-12-25 Thread Hank Lenzi
ns akutmott 0220: 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 th

What is this notation? "-a"

2021-12-25 Thread Hank Lenzi
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 "

Re: Pesky java interop bug with 0xFFFFFFF error in BuferredReader

2021-12-25 Thread Hank Lenzi
(.append ct (Character/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

Re: Pesky java interop bug with 0xFFFFFFF error in BuferredReader

2021-12-26 Thread Hank Lenzi
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

Re: Pesky java interop bug with 0xFFFFFFF error in BuferredReader

2021-12-26 Thread Hank Lenzi
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 [mp

Re: Pesky java interop bug with 0xFFFFFFF error in BuferredReader

2021-12-26 Thread Hank Lenzi
owever, the errors remains. user> (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> File

Re: What is this notation? "-a"

2021-12-27 Thread Hank Lenzi
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

Re: Pesky java interop bug with 0xFFFFFFF error in BuferredReader

2021-12-27 Thread Hank Lenzi
uilder.)] (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 me

Re: Pesky java interop bug with 0xFFFFFFF error in BuferredReader

2021-12-27 Thread Hank Lenzi
(loop [x (.read bfr) 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 be

Re: Pesky java interop bug with 0xFFFFFFF error in BuferredReader

2021-12-27 Thread Hank Lenzi
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 from