Re: [BUG?] loading Clojure source files from various data sources (classloading)

2015-06-03 Thread Alex Fowler
Hello again! Well, it has been well over a week already. I appreciate the answers and works by the people who suggested the workarounds and the benign question about the version of Clojure we are using from the dev team. While the proposed workarounds are interesting in themselves and their tec

Re: [BUG?] loading Clojure source files from various data sources (classloading)

2015-05-21 Thread Alex Fowler
We are using [org.clojure/clojure "1.7.0-beta3"] for desktop and [org.clojure-android/clojure "1.7.0-beta6"] for Android. By your question I assume you're refering to the fact that some of the links I have made in the original post are for clojure-android, I am sorry, apparently I mixed up the

Re: [BUG?] loading Clojure source files from various data sources (classloading)

2015-05-21 Thread Alex Fowler
I want also to add that Sun/Oracle realize the importance of loading things from other sources, read the very last paragraph of this notice . But Clojure currently prevents this by hard-code. -- You r

[BUG?] loading Clojure source files from various data sources (classloading)

2015-05-21 Thread Alex Fowler
Hello! I am developing a Java application where Clojure is used as a library. The application is required to load sources (including Clojure sources) from arbitrary locations in filesystem, internet and maybe a dozen other places. Hence I have developed corresponding classloaders for that, whic

Re: Clojure, floats, ints and OpenGL

2013-09-16 Thread Alex Fowler
Timothy, thank you very much for such a good explanation! I fully agree with you. Actually, except for a few details, that is really how I thought the things are. It is good that you describe the technical base for problems with the issue. As well as clearified the human factor. What you're saying

Re: Clojure, floats, ints and OpenGL

2013-09-14 Thread Alex Fowler
Excuse me, when I said "Vertex3f" I meant "Vector3f". суббота, 14 сентября 2013 г., 15:14:01 UTC+4 пользователь Alex Fowler написал: > > Timothy, thanks,for giving a thorough answer to my questions, I appreciate > this! As far as I understood, you did some work for

Re: Clojure, floats, ints and OpenGL

2013-09-14 Thread Alex Fowler
7) Maybe genclass and stuff can still get away as it is now, falling back to boxing and reduced number of types? Or special genclass metadata hints be introduced? Still, not everyone will use that. But those who will, could spare a couple more hints to the compiler.. -- -- You received this m

Re: Clojure, floats, ints and OpenGL

2013-09-14 Thread Alex Fowler
Timothy, thanks,for giving a thorough answer to my questions, I appreciate this! As far as I understood, you did some work for Clojure team, and you have the necessary knowledge to express a knowing opinion on what are the implications of the matter. That was one of the things I wanted to know -

Re: Clojure, floats, ints and OpenGL

2013-09-12 Thread Alex Fowler
Does somebody from the development team read this user group? Or maybe I have addressed my questions to a wrong place? -- -- 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

Re: Clojure, floats, ints and OpenGL

2013-09-09 Thread Alex Fowler
ter) on >>>> 32 bit machines (which still exist, believe it or not) >>>> - char is a pretty useful primitive type if you are doing text >>>> processing >>>> - byte is also frequently useful, especially for IO >>>> >>>> I beli

Re: Clojure, floats, ints and OpenGL

2013-09-09 Thread Alex Fowler
or not) >>>> - char is a pretty useful primitive type if you are doing text >>>> processing >>>> - byte is also frequently useful, especially for IO >>>> >>>> I believe that with some enhancements to the Clojure compiler, >>>>

Re: Logos-oriented Lisp compiled to Javascript | coect.net

2013-09-09 Thread Alex Fowler
Well.. reminds me of Scala implicits. When some people think that implicits hurt the pure essense of good, I found them to be particulary useful, especially in some scenarios that involved passing many "boring" arguments. However, with implicits you could run into troubles, hunting invisible er

Re: [ANN] nativot 0.1.0 (leiningen plugin) public beta

2013-09-09 Thread Alex Fowler
The license section of the plugin page has been updated. The established license is EPL, same as Clojure! среда, 28 августа 2013 г., 14:02:16 UTC+4 пользователь Alex Fowler написал: > > Plugin homepage: https://bitbucket.org/noncom/nativot > > As for the license: I have contac

Clojure, floats, ints and OpenGL

2013-09-09 Thread Alex Fowler
Hello! With this letter I would like to receive an answer from somebody from the development team (if anyone else has something to say, you're surely welcome :) ). I am working for a big multimedia company and recently I have been considering moving to Clojure as the main language of developme

Re: new ClojureDocs experiment

2013-09-09 Thread Alex Fowler
That's really cool! Was always wondering if there's gone be something like that ever.. Gonna be visiting often! Wish also that it'd be near clojuredocs in search results if you google like "clojure parse", but that'a a different effort, I suppose.. keep up! воскресенье, 8 сентября 2013 г., 12:0

Re: Clojure and freelancing

2013-09-09 Thread Alex Fowler
As for your question, the answer is: absolutely suitable. From my personal experience, http://www.luminusweb.net/ gives a good start. People say that Pedestal is gonna be great too, but I did not use it yet. понедельник, 9 сентября 2013 г., 0:31:13 UTC+4 пользователь Mateusz Dobek написал: > >

Re: Best way to pass through named arguments (destructured map)?

2013-09-09 Thread Alex Fowler
I would also add that in case, if you *need* to destructure the `options` map for some reason, like: `(defn search "Docstring" [mapping-type & {:keys [option-1 option-2] :as options}] (do-smth-with-option-1 ...) (apply esd/search es-index mapping-type options))` then you can use `mapply`

Re: [ANN] nativot 0.1.0 (leiningen plugin) public beta

2013-08-28 Thread Alex Fowler
Plugin homepage: https://bitbucket.org/noncom/nativot As for the license: I have contacted JDotSoft, they're kindly giving the green light! I am providing link to this post, so they can join the discussion. Also, in the next version I am going to update the plugin and include the current versi

Re: [ANN] nativot 0.1.0 (leiningen plugin) public beta

2013-08-27 Thread Alex Fowler
strictions though? Looks like > it is GPLv3 or commercial license only from the website, which rules it out > of most EPL projects I think > > On Tuesday, 27 August 2013 03:50:10 UTC+8, Alex Fowler wrote: >> >> >> hi, nativot is a leiningen plugin that is intend

Re: [ANN] nativot 0.1.0 (leiningen plugin) public beta

2013-08-26 Thread Alex Fowler
--- description --- A Leiningen plugin to jar your project with arbitrary jars, native libs and resources into main jar. Based on the wonderful JDotSoft JarClassLoader. USAGE: A. --- Create a :nativot profile in your project.clj The map is

[ANN] nativot 0.1.0 (leiningen plugin) public beta

2013-08-26 Thread Alex Fowler
hi, nativot is a leiningen plugin that is intended to deliver clojurians from the burden of classpath hells of any flavour. highlights: 1) built upon lein uberjar and jdotsoft jarclassloader 2) makes it possible to deploy clojure application that depend upon any jar-files, native libraries, bi

Re: Getting a living standalone jar with "lein uberjar" and a handful of resources

2013-07-31 Thread Alex Fowler
20:19:21 UTC+4 пользователь red...@gmail.com написал: > > On 7/31/13 4:18 AM, Alex Fowler wrote: > > I have an application which is built fine with uberjar with an exception > of > > two things which do not get incuded: > > 1) Additonal jar files (about 150Mb) from va

Getting a living standalone jar with "lein uberjar" and a handful of resources

2013-07-31 Thread Alex Fowler
I have an application which is built fine with uberjar with an exception of two things which do not get incuded: 1) Additonal jar files (about 150Mb) from various Java libraries that are not present on Clojars and that I have no power of will or time of trying to upload them there. This folder i

Re: ns defaults

2013-07-22 Thread Alex Fowler
A stray comment, but maybe it can give you some going, in a combo with :require-macros or cljs repl - http://stackoverflow.com/questions/9847013/syntax-of-require-in-the-clojurescript-repl пятница, 19 июля 2013 г., 23:03:30 UTC+4 пользователь Jozef Wagner написал: > > On Friday, July 19, 2013 4:

Re: concat primitive arrays

2013-07-21 Thread Alex Fowler
pe not the >>> array type, so >>> >>> (make-array (type arr) n) >>> >>> doesn't work as one might hope. >>> >>> >>> On Sunday, July 21, 2013 8:36:22 AM UTC-7, Alex Fowler wrote: >>>> >>>> Java'

Re: java interop: passing int[]

2013-07-21 Thread Alex Fowler
ions. > > On Saturday, July 20, 2013 9:32:50 AM UTC-7, Alex Fowler wrote: >> >> BTW, take a look >> http://blog.getprismatic.com/blog/2013/7/10/introducing-hiphip-array-fast-and-flexible-numerical-computation-in-clojure >> >> суббота, 20 июля 2013 г., 17:42:36

Re: Making RPCs with Shoreleave

2013-07-21 Thread Alex Fowler
Considering the severity of the bug that i found, i want to ask if someone is using Shoreleave's rpc without any problems? Maybe it's me missing something? Or maybe someone run into the same problem too? On Saturday, July 20, 2013 2:16:02 PM UTC+4, Alex Fowler wrote: > > That

Re: concat primitive arrays

2013-07-21 Thread Alex Fowler
Java's System.arraycopy is the fastest you can get, since it delegates execution to a function implemented in C inside JVM. Simply, this is the fastest that your computer hardware can get. All in all Java arrays meet the same difficulties and implications as C arrays and that is why concationat

Re: java interop: passing int[]

2013-07-20 Thread Alex Fowler
which looks like black magic, and I can't find this in the docs anywhere. > > On Saturday, July 20, 2013 2:39:06 AM UTC-7, Alex Fowler wrote: >> >> Some questions to clarify things up: >> >> Do you mean - how do you create that type of value or how do you >

Re: java interop: passing int[]

2013-07-20 Thread Alex Fowler
in h2, does that mean I shouldn't declare > the methods? I also found a stackoverflow answer that suggested something > like > > ["[Ljava.lang.Integer;"] > > which looks like black magic, and I can't find this in the docs anywhere. > > On Saturday, July 2

Re: Making RPCs with Shoreleave

2013-07-20 Thread Alex Fowler
ride default "/_shoreleave" in your app: (wrap-rpc > "/your-context/_shoreleave") > > and then (binding [shoreleave.remotes.http-rpc/*remote-uri* > "/your-context/_shoreleave"] ) around your client calls. > > Terje. > > > > > kl. 10:50:1

Re: java interop: passing int[]

2013-07-20 Thread Alex Fowler
Some questions to clarify things up: Do you mean - how do you create that type of value or how do you generatte a method that accepts that very type? Are you sure you need to use gen-class and not proxy or reify? суббота, 20 июля 2013 г., 7:28:03 UTC+4 пользователь Brian Craft написал: > > For

Re: Performance Patterns

2013-07-15 Thread Alex Fowler
I would definitely like to have such a reference because I often work with performance-critical code which I mostly delegate to Java. I would like to see it organized in categories for easier access, with commentaries to each case on why is this so (for example, i would suppose that aset-int sho

Re: Making RPCs with Shoreleave

2013-07-15 Thread Alex Fowler
you need to (use projectname.ajax) in your projectname.handler > page. If I remember correctly, there's also a way to specify which > namespace your remote function is in. > > On Thursday, July 11, 2013 10:42:15 PM UTC+5:45, Alex Fowler wrote: >> >> Hi all, this is my first exp

Making RPCs with Shoreleave

2013-07-11 Thread Alex Fowler
Hi all, this is my first experience with Shoreleave and I'm trying to use it's RPC mechanism to perform AJAX tasks. However, on a call to a remote procedure, I get this: ` 1. POST http://localhost:8080/_shoreleave 404 (Not Found) cljs.js:25223 1. goog

Re: Compiling the Android version of Clojure

2013-05-22 Thread Alex Fowler
> > > On Wed May 22 05:25 2013, Kelker Ryan wrote: > >What's wrong with the lein-droid plugin? > >https://github.com/clojure-android/lein-droid > >� > >22.05.2013, 05:21, "Alex Fowler" >: > > > > > Nope, I

Re: Compiling the Android version of Clojure

2013-05-21 Thread Alex Fowler
Did you run ./antsetup.sh before trying to build with ant? > > 22.05.2013, 05:01, "Alex Fowler" : > > Nope, the installation instruction in the readme of the project says > nothing about this one (i'm a newb to android development). So if I > download it, where I put

Re: Compiling the Android version of Clojure

2013-05-21 Thread Alex Fowler
/Code/Jar/a/Downloadandroid32jar.htm > > 22.05.2013, 04:52, "Alex Fowler" : > > I'm trying to build this project: > https://github.com/clojure-android/clojure with "ant" command. It sarts > working, but I get this output with errors: > > > > Bui

Compiling the Android version of Clojure

2013-05-21 Thread Alex Fowler
I'm trying to build this project: https://github.com/clojure-android/clojure with "ant" command. It sarts working, but I get this output with errors: Buildfile: C:\Users\Admin\Downloads\clojure-android\clojure-android\build.xml clean: [delete] Deleting directory C:\Users\Admin\Downloads\cl

Re: I tripped out

2013-05-05 Thread Alex Fowler
Tell us more about it. On Sunday, May 5, 2013 11:54:32 AM UTC+4, JvJ wrote: > > Is anyone else tripped out when they realize that when you write args for > a function you're basically just destructuring an arg vector? It trips > me out. -- -- You received this message because you are sub

Re: A JMonkeyEngine3 wrapper?

2013-05-04 Thread Alex Fowler
Thanks everyone for their input! I have studied all the proposed codes! Based on them I have created a proof-of-concept solution for my case. Although reading the API of Jonathan's library inspired me, I avoided looking into the code yet so as to have some personal fun (remember I am a Clojure

Re: A JMonkeyEngine3 wrapper?

2013-05-04 Thread Alex Fowler
Thanks everyone for their input! I have studied all the proposed codes! Based on them I have created a proof-of-concept solution for my case. Although reading the API of Jonathan's library inspired me, I avoided looking into the code yet so as to have some personal fun (remember I am a Clojure

Re: A JMonkeyEngine3 wrapper?

2013-05-04 Thread Alex Fowler
Thanks everyone for their input! I have studied all the proposed codes! Based on them I have created a proof-of-concept solution for my case. Although reading the API of Jonathan's library inspired me, I avoided looking into the code yet so as to have some personal fun (remember I am a Clojure

Re: A JMonkeyEngine3 wrapper?

2013-05-04 Thread Alex Fowler
Thanks everyone for their input! I have studied all the proposed codes! Based on them I have created a proof-of-concept solution for my case. Although reading the API of Jonathan's library inspired me, I avoided looking into the code yet so as to have some personal fun (remember I am a Clojure

Re: A JMonkeyEngine3 wrapper?

2013-05-02 Thread Alex Fowler
t is a real FTW and is prone to benifits like finding something you wanted to have already being implemented by someone! четверг, 2 мая 2013 г., 2:14:36 UTC+4 пользователь James Reeves написал: > > On 1 May 2013 21:08, Alex Fowler >wrote: > >> So, inspired by the latest talks

Re: A JMonkeyEngine3 wrapper?

2013-05-01 Thread Alex Fowler
should be some useful stuff in there. >>> >>> I haven't really been active on the project lately - there's a bunch of >>> other things I'd >>> like to finish first. But I intend to "finish" the library in the near >>> future.

A JMonkeyEngine3 wrapper?

2013-05-01 Thread Alex Fowler
So, inspired by the latest talks with locals, I propose starting a collective initiative on creating a full-scale wrapper for JME3. Actually, I am starting to write my Clojure project with JME3 and I feel like in a desperate need for a clojuric wrapper. So I started implementing wrappers for Ma

Re: Using a Java game engine in my project

2013-04-30 Thread Alex Fowler
> On Tue, Apr 30, 2013 at 10:01 PM, Alex Fowler > > > wrote: > >> Same thing... I have no firewall or other restrictions... Have just >> deleted the ccw folder, and now it creates the folder, but does not fetch a >> jar into it. And the error is the same... rea

Re: Using a Java game engine in my project

2013-04-30 Thread Alex Fowler
t >>> and delete all the children inside Clojure >>> things like: >>> fightingsail Leiningen >>> where fightingsail is the name of the project >>> >>> and when you try to start the REPL again, it will create a new one with >>> the correct A

Re: Using a Java game engine in my project

2013-04-30 Thread Alex Fowler
in for Eclipse)0.13.0.201304242239 > ccw.feature.feature.groupCounterclockwise team > > > On Tue, Apr 30, 2013 at 8:49 PM, Alex Fowler > > wrote: > >> Just tried that! Very nice! Got it running with "lein repl" from Windows &g

Re: Using a Java game engine in my project

2013-04-30 Thread Alex Fowler
t > 3. Create a new Leiningen project > 4. Add the following to your project.clj file: :resource-paths ["lib/*"] > 5. Copy the lib directory from the jME3 binaries into your project > directory > > Here's an example application to get you going: > > https:/

Re: memorize-clj

2013-04-30 Thread Alex Fowler
Agreed! Totally worthwhile. I even do this consciously sometimes. понедельник, 29 апреля 2013 г., 11:01:17 UTC+4 пользователь Chris Ford написал: > > Jorge, reinventing the wheel is a very worthwhile pursuit. Maybe you'll > come up with something new, and certainly you'll learn something. > > Th

Re: Using a Java game engine in my project

2013-04-30 Thread Alex Fowler
game engine as jMonkeyEngine, but > perhaps more in keeping with the Clojure "compose small standalone > libraries" philosophy. > > On Tuesday, 30 April 2013 03:02:16 UTC+8, Alex Fowler wrote: >> >> Hello! I have a problem, I will try to explain..

Re: Using a Java game engine in my project

2013-04-30 Thread Alex Fowler
Yeah, to have an option is a good idea! I just wanted to say, that I wouldn't want it to be removed completely :) As far as I understand, you're making up some library-type project.. Do you have a page or a blog where I could track the progress and be up-to-date with the current version? I thin

Re: Using a Java game engine in my project

2013-04-30 Thread Alex Fowler
s the ugly, dirty, terrible hack I've >>>> been using: >>>> >>>> 1. Download the binaries: >>>> http://www.jmonkeyengine.com/nightly/jME3_2013-04-29.zip >>>> 2. Create a new directory and extract the zip file into it >>>>

Using a Java game engine in my project

2013-04-29 Thread Alex Fowler
Hello! I have a problem, I will try to explain.. I want to write a game with Clojure and JMonkeyEngine (http://jmonkeyengine.com/). So I take their latest nightie set of jars (http://jmonkeyengine.com/nightly/) and what? I can't make use of them in my CCW/Leiningen project no matter how har