Re: Troll in our midst - please ignore them

2009-06-29 Thread Charles
It's unfortunate when a troll has a brain and uses it for evildoing. Thank you Rich for the language, and your efforts at moderation. On Jun 29, 12:56 am, Alex Combas wrote: > On Sun, Jun 28, 2009 at 10:21 PM, CuppoJava wrote: > > > > > Thank you Denfer, > > That's a very interesting trick. I'm

Krishnamurthi's Automata in Clojure (OutOfMemoryError)

2009-11-27 Thread Charles Gordon
ang.OutOfMemoryError] I don't understand the underlying model of Clojure's runtime well enough to understand why this is occurring. I'm not getting a stack overflow error, so it seems likely that something is holding onto memory (perhaps the entire stream?). Does anyone have any insigh

Re: Krishnamurthi's Automata in Clojure (OutOfMemoryError)

2009-11-28 Thread Charles Gordon
top of the JVM. Maybe it's time for all of us to switch to the CLR! (Rich mentions that they don't have this problem in the other thread). CG. On Nov 27, 6:53 pm, Mark Triggs wrote: > Hi Charles, > > I notice I can stop your version from running out of memory with a very > small

Re: Funding Clojure 2010

2009-12-15 Thread Charles Nutter
You might find this interesting: http://www.oreillynet.com/ruby/blog/2008/03/the_ruby_mendicant_project.html Or this: http://www.modrails.com/enterprise.html There are only a handful of such efforts in the Ruby community, but when buoyed by a reasonably large and active community, it is possibl

Re: Funding Clojure 2010

2009-12-15 Thread Charles Nutter
On Dec 14, 12:19 pm, BerlinBrown wrote: > Have you ever considered working with a larger company like Oracle/ > Sun, IBM or Google in some kind of research capacity and working on > Clojure full time there?  For example, I believe the JRuby developers > worked for Sun at one point while they devel

conditional support for spec in libraries

2016-10-23 Thread Charles Loomis
The only discussion I’ve seen about providing conditional support for spec in libraries is in the old thread started by Sean Corfield for the JDBC library: https://groups.google.com/d/msg/clojure-dev/4VAlKZxiN94/tNQo_4yABAAJ Is the technique described there, the recommended best practice? Or sh

[JOB] clojure/cloud developer

2016-12-06 Thread Charles Loomis
SixSq is an SME based in Geneva, Switzerland that provides software for cloud application management. We’re looking for a Clojure developer ideally with experience with cloud technologies to work on our core platform. The full job announcement can be found here: http://sixsq.com/jobs/clojure-

Lazy Sequence Results in Stack Overflow

2015-09-23 Thread Charles Reese
I want to compute a lazy sequence of primes. Here is the interface: user=> (take 10 primes) (2 3 5 7 11 13 17 19 23 29) So far, so good. However, when I take 500 primes, this results in a stack overflow. core.clj: 133 clojure.core/seq core.

Re: [ANN] Clojure/west 2016 CFP - 1 week left!

2016-01-22 Thread Charles Nutter
Ok! Good! On Friday, January 22, 2016 at 4:45:35 PM UTC-6, Alex Miller wrote: > > Clojure/west 2016 will be Apr 15-16 in Seattle, > WA and is shaping up to be a great conference. Registration will open soon, > hopefully next week! > > The Clojure/west CFP

Re: lein: managing versions of common deps / soliciting assistance on PR review

2016-01-25 Thread Charles Loomis
For many reasons, we’re currently looking at migrating the clojure part of our large, multi-language build from maven to leiningen or boot. Because we’ve run into difficult dependency conflicts between modules in the past, maintaining central management of dependency versions is critical for u

core.async: closing a mix only when all inputs have emptied

2014-04-22 Thread Charles Duffy
Howdy -- Trying to use core.async's mix facility, one difficulty I've run into is the lack of a means to close the output channel only after al inputs have been exhausted. In the interim, I've ended up using the below instead -- which lacks some of the facilities provided by the mix interface (

Re: [ANN] New core.async release

2014-04-25 Thread Charles Duffy
The most interesting thing I've learned from this release is just how lenient old releases were in the face of erroneous code, of which I appear to have had rather a lot. :) That said, I have found at least one behavior I'm not able to understand. This works perfectly with the new core.async:

Re: I could use some help getting "nrepl-ritz" working

2013-10-03 Thread Charles Comstock
pl.el/commit/1d92c44ed6e9a75ea60233b4afb638fa38e0bcf3 Charles Comstock On Thursday, October 3, 2013 3:01:05 PM UTC-5, Stephen Cagle wrote: > > I can actually get ritz to load without error in emacs by using the > aforementioned website's instructions and then, after ritz is pulled, goin

What are effective ways to debug Clojure code?

2013-11-06 Thread Jeffrey Charles
I'm interested in hearing how people who use Clojure in production are debugging their code, particularly those who use Emacs. I am having issues quickly locating problems in my Clojure code that are identified by automated integration test failures. As an example, I had a Midje test that would

Need some Advice for my Prolog Project

2013-05-15 Thread Charles Hoskinson
I'm starting an open sourced project to port Prolog to the JVM like you guys did with LISP and I'd like to get some advice on where to start, materials to review, pitfalls to avoid, and anything else you feel would be useful to know. Could you either post here or contact me at charles.hoskin...

Layered DynamicClassLoader instances -- why?

2012-06-08 Thread Charles Duffy
Using Clojure 1.4.0, I'm inspecting the classloader stack my software is running with... and have at times noticed numerous layered DynamicClassLoader instances: (defn classloader-parents [loader] (when loader (lazy-seq (cons loader (classloader-parents (.getParent loader

Combining Complement and Not

2012-11-05 Thread Charles Comstock
Hi All, I quite like Clojure but have been confused from time to time on particular design choices. I find understanding the root cause of these decisions helps to understand the language better. As example, the fact that complement and not are separate functions has been puzzling me for a bit

Re: Combining Complement and Not

2012-11-06 Thread Charles Comstock
> > I hope that clears it up. > > Stathis > > On Monday, 5 November 2012 23:12:03 UTC, Charles Comstock wrote: >> >> Hi All, >> >> I quite like Clojure but have been confused from time to time on >> particular design choices. I find understandin

Re: A Working nrepl-ritz Setup?

2012-12-08 Thread Charles Comstock
I actually just encountered this error, and then intended to post how I fixed it as a reported issue and then forgot. So this is my current lein profile.clj {:user {:plugins [[lein-vanity "0.1.0"] [jonase/eastwood "0.0.2"] [lein-ritz "0.6.0"]] :depende

Re: A Working nrepl-ritz Setup?

2012-12-10 Thread Charles Comstock
overriding that, or if it was a problem with core nrepl. Charlie On Monday, December 10, 2012 3:59:27 AM UTC-6, Chas Emerick wrote: > > > On Dec 8, 2012, at 6:37 PM, Charles Comstock wrote: > > I still encounter some sort of issue where it appears that the > documentation que

Re: A Working nrepl-ritz Setup?

2012-12-10 Thread Charles Comstock
rlie On Monday, December 10, 2012 6:38:09 PM UTC-6, Charles Comstock wrote: > > No, that wasn't the problem, early on when I tried to use nrepl and ritz I > experimented with clojure 1.5, but as far as I know all of these issues I > encountered after switching back to 1.4. In resp

Re: JVM 7 support (invokedynamic)

2011-08-26 Thread Charles Nutter
This is the best summary of how Clojure *could* benefit from invokedynamic. Clojure doesn't dispatch as dynamically as JRuby, but there is a dynamic component...specifically, you have to go get the fn. That repeated "get" would disappear with invokedynamic, In fact, anywhere you're going after

Re: "I don't feel the absence of a debugger, because I've learnt enough that I don't ever need a debugger."

2013-05-27 Thread Charles Harvey III
If you haven't tried out Light Table, it shows you the values of local variables. It is a pretty nice feature. On Monday, May 27, 2013 5:53:16 PM UTC-4, puzzler wrote: > > I would be a lot happier with the state of Clojure debugging if, in > addition to a stacktrace, I could easily explore the

Re: OT: Github Alternatives

2014-07-01 Thread Charles Harvey III
You could abandon Git and save yourself a lot of money and pain. Start using Bazaar! http://bzrinit.com/ (http://bazaar.canonical.com/en/) "Hosting" is seriously you setting up an ftp server (sftp, ssh, scp) - whatever. There is web viewer plugin: https://launchpad.net/loggerhead. it is basica

Re: OT: Github Alternatives

2014-07-01 Thread Charles Harvey III
That is truly sad if Bzr dies out. I have had such horrible experiences with Git that I still can't understand what people like about it. Well, aside from the fact that it is not SVN and that there is github. On Tuesday, July 1, 2014 6:58:32 AM UTC-4, Thorsten Jolitz wrote: > &

Re: OT: Github Alternatives

2014-07-01 Thread Charles Harvey III
<https://www.dropbox.com/mailbox> > > On Tue, Jul 1, 2014 at 02:24 PM, Charles Harvey III >, wrote: > >> That is truly sad if Bzr dies out. I have had such horrible experiences >> with Git that I still can't understand what people like abou

Re: Am I being stupid regarding how much memory I use?

2017-11-12 Thread Charles Harvey III
Did you pull all 4 million at once? Are you doing a huge sorting operation over millions of records in memory? Then yes, you are going to use a lot of memory. There aren't many ways around it. Eclipse Collections (and others) have smaller collections than java.util. Maybe they make a difference

re-frame and material-ui

2019-10-05 Thread Charles Harvey III
Greetings, I am pretty new to ClojureScript and re-frame but it all feels right. I am trying to replicate a small React project and show just how much more awesome it will be. But it is using material-ui. I'm sure this is a normal thing. There was even a library a few years ago integrating it in

interp2 for Clojure

2020-01-14 Thread Charles Harvey III
Greetings. A current project I am working on needs to run a Bilinear Interpolation. R and Python (SciPy) have functions for this: interp2. I think this is just a fancy name for particular matrix multiplication. But I'm not really sure. Can I cobble this together in core.matrix? Incanter? Neandert

Re: interp2 for Clojure

2020-01-14 Thread Charles Harvey III
These are both fantastic. It has been 25 years since I had a serious math class (no Stats either - Set Theory, Category Theory), so this has taken me a few afternoons to wrap my head around. Spline? Cubic? Bicubic? RBF? Shephard? And that's just interpolation. Its weird that the Commons Math do

Re: Trying to understand Clojure/Java concurrency performance?

2015-10-07 Thread Charles Harvey III
Have you had a look at Chronicle? They have built up an entire infrastructure that is off-heap so there is no GC. http://chronicle.software/products/chronicle-engine/ https://github.com/OpenHFT/Chronicle-Engine There is a free version and a paid for version. They have broken it into parts so y

Re: [ANN] Yesql 0.5.1 Released.

2015-10-08 Thread Charles Harvey III
I have a question that I hope you can answer about using Yesql with Component. Currently I pass the db-spec into my endpoint and then pass it into each call to a query. Now that I can call defqueries with the db-spec, how do I send that in from component? Sorry for asking, I am new to both libr

Re: [ANN] Yesql 0.5.1 Released.

2015-10-08 Thread Charles Harvey III
db-spec with the > defqueries. You would do it when calling a query. > > (defqueries "somepath") > > (defn code [component] > (some-query {:name "Robin", :age 6} {:db (:db-spec component)})) > > torsdag 8. oktober 2015 15.34.09 UTC+2 skrev Charles Harvey III

Re: [ANN] Yesql 0.5.1 Released.

2015-10-09 Thread Charles Harvey III
Here's another crazy question... How would I use this from Java? Seriously though. I might be forced to use Java on my next project but I really like Yesql over MyBatis (the closest thing in Java Land). Has anyone done it before and can show a small example? I don't want to give up my .sql file

Re: Porting Clojure to Native Platforms

2016-04-27 Thread Charles Harvey III
You can watch Robert Virding's talk about creating Lisp Flavored Erlang (LFE). https://www.youtube.com/watch?v=Br2KY12LB2w It is really informative. It tells you a lot about Erlang and the BEAM. And it explains why LFE is not Clojure and why Clojure would not work. Virding really likes his Erl

What does Clojure get from Java 8?

2013-11-15 Thread Charles Harvey III
I had read that the Clojure team was prepping the build to work on the new JDK8 and it got me to thinking - what does Clojure get from Java 8? Will it be using some of the new features or does the compiler just need to be ready for changes in the JDK so compilation passes? Clojure already has m