What profilers are you using?

2009-02-06 Thread Sergio
I have been trying out the YourKit profiler and I think it's great. However, my evaluation license is going to expire soon and being a student I can't purchase (even the academic) license right now. I have tried profiler4j and it is usable but it isn't working 100% right with clojure (in my case)

Re: What profilers are you using?

2009-02-06 Thread Sergio
rk McGranaghan wrote: > > > You can use the Early Access version of YourKit: it does not require a > > license key and in my experience works great: > > >http://www.yourkit.com/eap/index.jsp > > > - Mark > > > On Thu, Feb 5, 2009 at 10:47 PM, Sergio w

Re: Speed issues vs. Python

2009-03-12 Thread Sergio
You should profile your code. A cousin of mine was solving a problem from programmingchallenges.com in C++. I wrote a solution in Clojure. At the beginning, my version was astronomically slower. After profiling, I reduced it to about 2x slower. After modifying it to use Java arrays, it actually b

Re: What profilers are you using?

2009-03-12 Thread Sergio
I don't have trouble connecting from Emacs. I just added (setq swank-clojure-extra-vm-args (list "- Dcom.sun.management.jmxremote=true" ) to my clojure swank configuration. On Mar 12, 10:47 am, Scott Jaderholm wrote: > On Sat, Feb 7, 2009 at 8:16 AM, David Powell wrote: > > > Newer versions of

Performance tips for Clojure

2009-03-12 Thread Sergio
Hi! I have been programming in clojure for a few months now. I really like the language. Something that I have noted is that it is very easy to write slow Clojure code. After doing some programming and spending time optimizing things, I decided to write on my blog some points on how to write effic

Re: Performance tips for Clojure

2009-03-13 Thread Sergio
was converting the vector to a seq and that was O(n), but you just told me that converting vector to seq is O(n). On Mar 13, 12:49 am, Chouser wrote: > On Fri, Mar 13, 2009 at 2:18 AM, Sergio wrote: > > > There are a couple of obvious ones, but also some others that I > > haven

Problemm with JComponent

2010-02-28 Thread Sergio Arbeo
Hi, all: I'm learning Clojure through porting Magick4J to clojure, I call it rinzelight. I'm having problems to port the display method ( http://github.com/Serabe/RMagick4J/blob/master/Magick4J/src/magick4j/MagickImage.java#L271 ). http://github.com/Serabe/rinzelight/blob/master/src/rinzelight/di

Help with proxy method

2010-03-31 Thread Sergio Arbeo
I'm porting some code from Java to Clojure but I'm still stuck porting a JComponent. The original code is here: http://github.com/Serabe/RMagick4J/blob/master/Magick4J/src/magick4j/MagickImage.java#L282 It is quite simple, I just need it to display an image. I implemented the JComponent using the

Re: Filtering lazy sequence on itself - Eratosthenes Sieve

2015-11-04 Thread Sergio Rupena
n memory but won’t overflow otherwise. Sergio On 04 Nov 2015, at 15:44, Matthew Ulrich wrote: > All - > > I'm trying to generate a lazy sequence of primes using Erastosthenes Sieve > (from Abelson & Sussman) and am encountering some issues with lazy sequence. > &g

[ANN] Nimrod: logs-based metrics server

2011-07-18 Thread Sergio Bossa
Enjoy, Sergio B. -- Sergio Bossa http://www.linkedin.com/in/sergiob -- 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 pa

Re: Code structure/design problems

2011-07-28 Thread Sergio Bossa
r of the previously cited articles wrote another piece about that, which seems to be more pragmatic: http://prog21.dadgum.com/54.html BTW, I'd also like to know what others think too. Cheers, Sergio B. On Thu, Jul 28, 2011 at 8:44 AM, Oskar wrote: > On Jul 27, 5:07 pm, Benny Tsai wrote: >

Protocols as a way to improve modularity?

2011-08-30 Thread Sergio Bossa
a clear identification of the exported functions, but we also have more typing (protocol+record/type definition) and possibly non-polymorphic use of protocols. What are your thoughts about that? Thanks! Cheers! Sergio B. -- Sergio Bossa http://www.linkedin.com/in/sergiob -- You received thi

Re: Protocols as a way to improve modularity?

2011-08-30 Thread Sergio Bossa
orts", but I agree my reasoning could have sounded a bit like that. Thanks for your feedback! Sergio B. -- Sergio Bossa http://www.linkedin.com/in/sergiob -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send

[ANN] Nimrod 0.3: log-based metrics server

2011-12-02 Thread Sergio Bossa
://groups.google.com/group/nimrod-user Sergio B. -- Sergio Bossa http://www.linkedin.com/in/sergiob -- 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 m

[ANN] rinzelight 0.0.2

2010-10-17 Thread Sergio Arbeo
Hi there, I've just released rinzelight 0.0.2, an image library for Clojure. It is my first clojure library, so please, comment, report bugs and ask for features. More info in the README and in here: http://www.serabe.com/2010/10/17/introducing-rinzelight-0-0-2/ http://github.com/Serabe/rinzelig

Dot special form problem.

2010-10-18 Thread Sergio Arbeo
Hello, everyone, I'm having problems with the dot special form. First things first, I have src-out defined this way: http://gist.github.com/632852 Then, I have problems using that function as an argument for a macro: http://gist.github.com/632849 Evaluation aborted throws an exception, shown i

Re: Dot special form problem.

2010-10-18 Thread Sergio Arbeo
So sorry. Now it is working. Don't know why though. -- http://sergio.arbeo.net http://www.serabe.com -- 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

Re: Dot special form problem.

2010-10-18 Thread Sergio Arbeo
On 18 October 2010 22:05, Kevin Downey wrote: > clojure works something like reader -> macro expansion -> compiler (eval) -> > run > > the exception you are seeing means that your macro expansion contains > a form that the compiler doesn't know how to generate code for. for > example if your macr

[ANN] rinzelight 0.0.3

2010-10-31 Thread Sergio Arbeo Rodríguez
ities. And the more important feature of all: documentation! Find it here: http://github.com/Serabe/rinzelight/wiki Cheers, Sergio -- 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