FIXED!
I found in the Java Preferences - Advanced -Enable Tracing and
Enable Logging were checked.
I unchecked them and also reset all JVMs to their defaults, using the
reset button :)
And it works, my line numbers get generated by the JVM and I can debug
in NetBeans
On Sep 3, 9:12 pm, Bokeh
On 4 Sep 2009, at 07:04, Stuart Sierra wrote:
Or, more simply, Python is an interpreter, Clojure is a compiler. So
Clojure's eval actually compiles the form into Java bytecode, then
executes it.
I'd say both Python and Clojure are somewhere in between the classical
extremes of interpreter
Well, I was a little quick. NetBeans seems to work ok
but JSwat still doesn't show any line number information.
I had made sure that all JVM had been shutdown prior to my re-testing,
so go figure.
On Sep 3, 11:56 pm, Bokeh Sensei bokeh.sen...@gmail.com wrote:
FIXED!
I found in the Java
On Fri, Sep 4, 2009 at 3:25 AM, Mark Derricutt m...@talios.com wrote:
Cool, I've meaning to reply to your post about merging that into
maven-clojure-plugin but have been snowed under at $work this week. I've
never actually looked at swank but from what I understand of it it'd be darn
useful.
On Fri, Sep 4, 2009 at 9:35 AM, Fredrik Appelberg
fredrik.appelb...@gmail.com wrote:
On Fri, Sep 4, 2009 at 3:58 AM, J. McConnell jdo...@gmail.com wrote:
On Thu, Sep 3, 2009 at 12:40 PM, Fredrik Appelberg
fredrik.appelb...@gmail.com wrote:
I've just released the first tentative version
I was thinking about the capability of changing production systems on
the fly. E.g. by having an accessible repl in a running production
system.
If you have a bug in a function, you can fix it by re-def'ing it -
that is great. However, suppose you want to do a system upgrade where
you want to
You have to be prepared to deal with potential inconsistencies: a
closure (or any object) can hold a reference to the value of a
function.
(defn foo [x] (str x v1))
(def s (map foo [:a :b :c]))
(defn foo [x] (str x v2))
s ; (:av1 :bv1 :cv1)
Christophe
On Fri, Sep 4, 2009 at 10:22 AM,
On Sep 4, 11:22 am, Krukow karl.kru...@gmail.com wrote:
I was thinking about the capability of changing production systems on
the fly. E.g. by having an accessible repl in a running production
system.
If you have a bug in a function, you can fix it by re-def'ing it -
that is great. However,
2009/9/4 Jarkko Oranen chous...@gmail.com
On Sep 4, 11:22 am, Krukow karl.kru...@gmail.com wrote:
I was thinking about the capability of changing production systems on
the fly. E.g. by having an accessible repl in a running production
system.
If you have a bug in a function, you can
Don't forget about classic stuff, like rigorous testing. I've tried
updating live production systems with Rails before, and it's burned me
(Think bringing down the entire production website). Small changes
you are sure will work often have subtle implications in different
environments. A few
On Sep 4, 1:38 pm, Christophe Grand christo...@cgrand.net wrote:
You have to be prepared to deal with potential inconsistencies: a
closure (or any object) can hold a reference to the value of a
function.
OK - I realized this already for running threads, e.g., executing a
function where a var
On Sep 4, 1:38 pm, Christophe Grand christo...@cgrand.net wrote:
You have to be prepared to deal with potential inconsistencies: a
closure (or any object) can hold a reference to the value of a
function.
In some circumstances, I am careful to pass vars rather than fns, if I
know they are
On Sep 4, 1:55 am, Miron Brezuleanu mbr...@gmail.com wrote:
I'm not sure this is an interpreter/compiler issue :-) I think it is
more of a resource allocation problem, i.e. what features to add to
Clojure and when.
True, it's that Clojure does not have first-class environments, either
dynamic
On Sep 4, 4:22 am, Krukow karl.kru...@gmail.com wrote:
I was thinking about the capability of changing production systems on
the fly. E.g. by having an accessible repl in a running production
system.
This is a popular list question. The short answer is no. It might
work for correcting a
Erlang allows two versions of a module to be stored in memory at any
given time. This allows you to do hot code swapping at runtime without
taking down the running server. Clojure can obviously do the same
thing, but Erlang offers a convenient builtin mechanism for shelling
into the running
On Sep 3, 12:40 pm, Fredrik Appelberg fredrik.appelb...@gmail.com
wrote:
I've just released the first tentative version of Clojureshell. It's a
simple maven plugin that allows you to easily start a clojure REPL or run a
Swank server in the context of any maven project.
Here's a
I like Scite but I also use Linux.
Any guidance on what steps I would need to take to port just the Scite part
of ACV to linux? What specific config files?
Thanks,
On Fri, Sep 4, 2009 at 7:30 PM, Shantanu Kumar kumar.shant...@gmail.comwrote:
Not sure if I am the only one - I was not able to
Not sure if I am the only one - I was not able to make the copy-to-
REPL and execute-block-of-code work using the keyboard shortcuts
mentioned on the URL, nor using any other method. I am using Windows
XP 32-bit with JDK 1.6.0_16.
I look forward to somebody correcting me what I am doing wrong.
On Fri, Sep 4, 2009 at 3:35 AM, Fredrik Appelberg
fredrik.appelb...@gmail.com wrote:
On Fri, Sep 4, 2009 at 3:58 AM, J. McConnell jdo...@gmail.com wrote:
On Thu, Sep 3, 2009 at 12:40 PM, Fredrik Appelberg
fredrik.appelb...@gmail.com wrote:
I've just released the first tentative version
Hi,
In using the Jwt library, for which I only found examples in object
oriented languages that structure the code in class definitions and do
heavy usage of instance variables, I was in a situation where I
wondered how I could best structure my code.
With help on the IRC channel I got to a
Now I am a complete Erlang novice, but I think OTP has (some kind of)
built-in support for system upgrades. It might be worth checking out
to see if there is something we can adapt to Clojure?
There are several tiers of reliability that determine what kinds of
fixes/upgrades you can do.
Shantanu,
The copy-to-REPL and execute-block-of-code works like this:
1- it copy the selected text in scite to a temp file inside \bin\scite
\tools\SendCommand
2- call SendCommand.exe from the same folder
3- SendCommand will send the content of the temp file to the REPL,
execute it and the
Hi Ralph,
First off, nice post! We need more of these types of tutorials on GUI
in clojure, they're very useful.
On make-login-widget you can probably do a doto when you do this part:
(.addWidget layout (WLabel. Login:) 0 0 )
(.addWidget layout login-field 0 1 )
(.addWidget layout (WLabel.
I just put together some example code to demonstrate hot updates
with Clojure.
http://paste.lisp.org/display/86576
It allows you to connect to a REPL via port 12345 and dynamically
update things as necessary. To address the issue of updating multiple
definitions at once, you'd do something like
John,
If you want to use this version of SciTE in linux I can send you the
scite source and you will have to compile it.
If you don't want to compile it I can send the properties files in
order to use the lisp lexer with your standard scite version.
Let me know what you want!
On Sep 4, 12:06
Would I be able to achieve the auto-complete function with just a properties
file, without having to recompile?
On Fri, Sep 4, 2009 at 11:14 PM, Darmac dario...@gmail.com wrote:
John,
If you want to use this version of SciTE in linux I can send you the
scite source and you will have to
Yes, of course...
You need clojure.properties and clojure-keywords.properties to make
autocomplete work.
But you need to change filter.clj=... for filter.lisp because the
standard version of scite don't have a clojure lexer.
You also need clojure.api (this is the key of autocomplete)
If you
This code snippet blows up with a NullPointerException
public class TestClj {
public static void main(String[] args) throws Exception {
System.out.println( clojure.lang.Compiler.load(new
java.io.StringReader(42)) );
}
}
Exception in thread main java.lang.ExceptionInInitializerError
On Sep 4, 4:09 pm, Jonathan Tran jonnyt...@gmail.com wrote:
This code snippet blows up with a NullPointerException
public class TestClj {
public static void main(String[] args) throws Exception {
System.out.println( clojure.lang.Compiler.load(new
java.io.StringReader(42)) );
}
29 matches
Mail list logo