Hi,
I did some work on emacs-nexus (A Nexus Client for Emacs: released two
years ago):
I added ac-nexus.el: An auto-complete source using the Nexus Rest API.
Using this source, you can complete Artifact/Version-IDs in Leiningen
project files.
See the github repository and README.md for details
Am Samstag, 27. Juli 2013 17:30:08 UTC+2 schrieb Mikera:
> On Saturday, 27 July 2013 03:59:55 UTC+1, Jeremy Heiler wrote:
>
>> On July 26, 2013 at 10:39:47 AM, Jürgen Hötzel (jue...@hoetzel.info)
>> wrote:
>>
>> I did some memory profiling on a Clojure Applicatio
Hi Marshall,
On Fri, Jul 26, 2013 at 5:39 PM, Marshall Bockrath-Vandegrift <
llas...@gmail.com> wrote:
> Jürgen Hötzel writes:
>
> > If a symbol X is interned twice, shouldn't the second Symbol.intern(X)
> > return the previous interned symbol object?
>
> S
I did some memory profiling on a Clojure Application.
I wondered why 361000 clojure.lang.Symbols exist.
So I did some object browsing on the memory dump and found duplicate
symbols. After checking the source:
static public Symbol intern(String nsname){
int i = nsname.indexOf('/');
Hi Hugo,
On Thursday, February 28, 2013 5:11:57 PM UTC+1, Hugo Duncan wrote:
>
>
> Hi Jürgen,
>
> I was just looking for a nice filesystem watcher!
>
> Jürgen Hötzel > writes:
>
> >- Implementation of * clojure.java.io/Coercions * and *
> >cloju
Hi,
I implemented some high-level wrappers for the File(system) improvements
introducedin NIO.2/Java 7.
In particular:
- Handle filesystem events (WatchService) via a lazy *watch-se*q
- Read directories using a lazy *dir-seq*
- Implementation of * clojure.java.io/Coercions * and *
Hi,
I implemented
(defmethod (var-get #'io/do-copy) [Path Path] [#^Path input #^Path output
opts] ...)
for fast NIO2 io, but had to do the var-get workaround because do-copy is
defined private.
Jürgen
--
--
You received this message because you are subscribed to the Google
Groups "Clojur
2011/2/15 Michael Ossareh :
>
>
> On Mon, Feb 14, 2011 at 16:50, Scott Jaderholm wrote:
>>
>> On Mon, Feb 14, 2011 at 7:21 PM, Jürgen Hötzel
>> wrote:
>>>
>>> Hi,
>>>
>>> Although Emacs is a great environment for writing Clojure c
Hi,
Although Emacs is a great environment for writing Clojure code and
Leiningen/Cake makes Maven builds less painful, you still had to
switch from your Emacs environment to your web browser to search for
Maven artifacts.
emacs-nexus is a minimal (elisp-only) Nexus client to search for
artifacts
2011/1/17 Stuart Sierra
> The problem with a "seq-able?" predicate is that the definition of what is
> seq-able is often context-dependent. `seq` works on Strings, but you
> probably don't want `flatten` to turn a String into a sequence of
> characters.
>
>
Good point. There is no static atom/lis
Hi,
I came across this issue while implementing a lazy, efficient flatten that
also uses the whole sequence abstraction (flatten java arrays).
The problem with (seq x) is, that it will throw an Exception if called on
something, that cannot be coerced to sequence, so I just used sequencial?
lik
2010/10/25 Tim Webster :
> I thought that the issue might be that the concrete data still was not
> populated in my list-of-lists, unlike your literal, so I started with
> a clean environment and re-ran my repl session line by line from the
> jline history file. I could not reproduce the error. (Wh
2010/10/21 Brody Berg :
> (defn binary-search
> "Search sorted list for target using binary search technique"
Binary search is only useful on indexed data types like Clojure Vectors.
> ([m_list target]
> (if (empty? m_list)
> false
> (binary-search m_list 0 (- (
2010/10/21 andrei :
>
> (defn test []
> (let [transient-map (transient {})]
> (doseq [i (range 100)]
> (conj! transient-map {i (str i)} ))
> (persistent! transient-map)))
>
> I expect that it will produce:
>
> { 0 "0", 1 "1", 2 "2", ..., 99 "99"}
>
> but it gives only
>
> {0 "0"
2010/10/18 Dmitriy S. :
> On Oct 18, 5:46 pm, Jürgen Hötzel wrote:
>> Note the difference between "=" and "==", "=" will result in a cast to
>> the wrapped types for it's arguments.
>
> It seems that '=' is always slower than &
2010/10/18 Dmitriy S. :
> On Oct 18, 3:07 pm, Jürgen Hötzel wrote:
>> > (defn sum [arr]
>> > (loop [i (int 0) s (int 0)]
>> > (if (= i *N*) s
>>
>> ^^^
>>
>> You still doing non-primitive ops here.
>
> Indeed, I overl
Hi,
(defn sum [^ints arr]
(areduce arr i ret (int 0)
(unchecked-add-int ret (aget arr i
2010/10/18 Dmitriy S. :
>
> (defn sum [arr]
> (loop [i (int 0) s (int 0)]
> (if (= i *N*) s
^^^
You still doing non-primitive ops here. Also Check for areduce:
(defn sum [^ints
2010/10/1 Stefan Rohlfing :
> Dear Clojure Group,
>
> I wanted to expand the 'infix' macro presented in chapter 7.3.1 of
> 'Clojure in Action' to handle nested s-expressions:
>
> My first version did not work:
>
> (defmacro my-infix [expr]
> (if (coll? expr)
> (let [ [left op right] expr]
>
2010/6/11 Nathan Sorenson :
> Is there a way to fold over multiple sequences, in the same way that
> 'map' can apply a multi-parameter function over several seqs? In other
> words, is there a function like this:
There is no need for a special purpose reduce* function.
Using destructing binding as
2010/4/1 Mark Engelberg :
> printf doesn't seem to do anything inside a gen-class -main function, when
> run from the executable jar program (compiled by the latest Netbeans
> Enclojure release). Is this normal, and if so, what's the workaround?
The REPL flushes output after prompting. You need t
Hi,
2010/3/10 Brian Hurt :
> In a recent clojure:
>
> user=> (class 2147483647)
> java.lang.Integer
> user=> (class (inc 2147483647))
> java.math.BigInteger
upcasted to BigInteger because of overflow detection in IntegerOps,
even though a cast to Long would be sufficient. Also odd because of:
us
21 matches
Mail list logo