s about time I learn how to do that.
- Geoff
On Apr 16, 9:28 pm, Scott T wrote:
> Does anyone know of a clojure library for handling (un)packing of
> binary structures? I'm looking for something similar to perl/ruby/
> python's pack(...) function or something like OCaml
I've pushed the bytebuffer stuff into it's own repo and project and
cleaned up the documentation a bit.
See http://github.com/geoffsalmon/bytebuffer
I'd appreciate any feedback you have after trying it out.
- Geoff
--
You received this message because you are subscribed to th
URLClassLoader with the plugin classloader as the parent. This might
only work if it's running after the compile phase. Not sure of the
maven classloader intricacies here.
- Geoff
On May 16, 11:26 am, Jason Smith wrote:
> On May 16, 7:22 am, "Hugo Duncan"
> wrote:
>
simply support this, the goal
could optionally take an "entryFn" instead of "source". The entryFn
would be something like "my.ns/main-func" and would name a no-argument
function to be called.
- Geoff
On May 19, 11:44 pm, Jason Smith wrote:
> Okay, yes, what you a
specifying formats using (keyword, type) pairs and
reading and writing maps instead of bytebuffer's which specifies
formats as strings ('b' for byte, 'i' for int, and so on) and reads
and writes seqs of values.
- Geoff
On Jan 5, 5:45 pm, "Eric Schulte" wrot
What are the limitations of Clojure and Java interoperability? Are
they clearly stated somewhere?
I have been experimenting with using Clojure to test some existing
Java code (being able to do so makes a convincing argument to use it
where I work) and I've noticed that there doesn't seem to be an
m sure they'll be helpful in the
future.
On Apr 2, 11:26 pm, Stuart Halloway wrote:
> Hi Geoff,
>
> You should have no trouble using setAccessible. There are several
> demos of this in the source code for the book [1] that use
> setAccessible to check private fiel
irement to warrant that though.
thanks again!
Geoff
On Saturday, 4 April 2015 05:59:27 UTC-4, Ryo Fukumuro wrote:
>
> Hi all,
>
> I'd like to announce the release of Baum.
>
> https://github.com/rkworks/baum
>
> Baum, my first public library for Clojure, is designed to c
I just tried to upgrade a clj/cljs webapp I wrote. I got an error but it
was just a transitive dependency issue with instaparse
https://github.com/Engelberg/instaparse/issues/90.
Everything works great now that I'm using up-to-date dependencies!
On Thursday, May 21, 2015 at 11:31:16 AM UTC-5,
I'm attempting to proxy PersistentHashmap so that "get"ting an existing key
or its reverse returns the same value.
Here's the code that I have
(defn sym-key-hash-map []
(proxy [clojure.lang.PersistentHashMap] [nil 0 nil false nil]
(valAt [key]
(or (proxy-super valAt key)
bump!
On Thursday, July 24, 2014 9:52:48 PM UTC-4, Geoff Little wrote:
>
> I'm attempting to proxy PersistentHashmap so that "get"ting an existing
> key or its reverse returns the same value.
>
> Here's the code that I have
>
> (defn sym-key-hash-map []
&
rgeant wrote:
>
> Hi Geoff,
>
> You probably want a sorted-map-by:
>
> user=> (sorted-map-by (fn [a b] (or (when (every? coll? [a b]) (when (= a
> (reverse b)) 0)) -1)) [1 2] 42 [2 1] 42)
> {[1 2] 42}
>
> Thanks,
> Ambrose
>
>
> On Fri, Jul 25, 201
Is this comparator called when get is called? How does this allow calling
get on the reverse of a valid key?
Geoff
On Friday, July 25, 2014 7:58:47 PM UTC-4, Ambrose Bonnaire-Sergeant wrote:
>
> The function basically returns 0 if the keys are equivalent, or -1
> otherwise.
>
>
Hi
Wanting to get Clojure running on a Win 7 machine with no diskspace for
dual boot. It's been a demoralising experience.
I tried the Win installer linked from the Leiningen website. It failed to
download the Leiningen 1 jar - the shell simply flashed open and crashed.
Dug around the git site
>
> Hi folks
>
Thanks for the suggestions!
1. Sven - yes, I have the SDK for Java 8 and JAVA_HOME is set correctly
2. Divyansh - thanks - Clooj works on my box, but as you say it's hardly
a long-term solution...
3. Phillip - I've tried the installer, as I said, but it doesn't work.
Thanks for the tips, Jony - I've finally made it.
Here's the contrast between setting up Haskell and setting up Clojure:
*HASKELL*
1) Go to the homepage and download the Haskell Platform as an .exe
2) Install and use
*CLOJURE*
1) Go to the homepage and discover I have to go to the Leiningen si
y, 25 October 2014 15:49:21 UTC+1, Andy Fingerhut wrote:
>
> Geoff:
>
> I hesitated before replying, because I was concerned that anything I could
> say other than "we'll get right on that" will sound at best like an excuse,
> or at its worst like a dismissal. The to
ecosystem - I've been waiting 20 years
for this! Many thanks to everyone who has worked so hard to make this
possible.
Geoff
--
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
NoSQL type DBs, where the
documents themselves are quite large, rather than lots of smaller entries
joined in many tables for a relational DB.
Thanks,
Geoff
On 15/07/2011, at 5:09 PM, Timothy Washington wrote:
> I've actually tried FleetDB, and describe here, what I found. I didn'
Wouldn't a set of standard entries in a lein project file be sufficient for a
beginner?
I’m not sure that Clojure needs something as packaged as the Haskell Platform
(http://hackage.haskell.org/platform/), and it certainly should not be part of
core.
On 19/09/2011, at 4:33 PM, Stuart Hallowa
it looks useful I
can try to bring it up to date.
- Geoff
On Dec 26, 10:03 pm, mrb_bk wrote:
> I also thought I would mention that I've been hanging out in #clojure
> as mrb_bk - please hit me up if you would like to chat about this.
>
> On Dec 26, 10:08 am, mrb_bk wrote
at I needed. I'll
> let you know if it works when I try it out this afternoon -- not sure
> what kind of work needs to be done to bring it up to date.
>
> On Dec 27, 1:03 am, Geoff Salmon wrote:
>
>
>
>
>
>
>
> > Hi, does the unpack function in this library
I think I fixed the take-ulong problem, and I've pushed 0.2.0 to
clojars. Let me know if you have any problems with it.
- Geoff
On Dec 27, 12:47 pm, Geoff Salmon wrote:
> I've pushed some updates to get it running with 1.3. take-ulong is
> still broken because clojure.lang.Big
23 matches
Mail list logo