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

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 http://docs.oracle.com/javase/8/docs/technotes/guides/security/spec/security-spec.doc5.html. But Clojure currently prevents this by hard-code. -- You

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

[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,

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
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-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

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 Clojure team, and you have

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: 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: 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: 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 г.,

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

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 contacted JDotSoft, they're

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

Re: Clojure, floats, ints and OpenGL

2013-09-09 Thread Alex Fowler
I believe that with some enhancements to the Clojure compiler, supporting all the JVM primitive types shouldn't be too difficult, and it would provide many benefits both in terms of overall performance and interop convenience. On Monday, 9 September 2013 21:43:12 UTC+8, Alex Fowler wrote

Re: Clojure, floats, ints and OpenGL

2013-09-09 Thread Alex Fowler
that with some enhancements to the Clojure compiler, supporting all the JVM primitive types shouldn't be too difficult, and it would provide many benefits both in terms of overall performance and interop convenience. On Monday, 9 September 2013 21:43:12 UTC+8, Alex Fowler wrote: Hello

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

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

2013-08-27 Thread Alex Fowler
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 intended to deliver clojurians from the burden of classpath hells

[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,

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

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

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

2013-07-31 Thread Alex Fowler
: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 various Java libraries

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

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

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 wasn't hte case

Re: java interop: passing int[]

2013-07-21 Thread Alex Fowler
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 UTC+4 пользователь Brian Craft написал: I'm trying to write a user function for h2. I think

Re: concat primitive arrays

2013-07-21 Thread Alex Fowler
: Is there a way to create an array with the type of another array? (type arr) returns the array type, but make-array wants the element type 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's

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: Making RPCs with Shoreleave

2013-07-20 Thread Alex Fowler
/_shoreleave) and then (binding [shoreleave.remotes.http-rpc/*remote-uri* /your-context/_shoreleave] ) around your client calls. Terje. kl. 10:50:17 UTC+2 mandag 15. juli 2013 skrev Alex Fowler følgende: Did not work.. all that is strange since I've been following the manual step-by-step

Re: java interop: passing int[]

2013-07-20 Thread Alex Fowler
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 20, 2013 2:39:06 AM UTC-7, Alex Fowler wrote: Some questions to clarify things up: Do you mean - how

Re: java interop: passing int[]

2013-07-20 Thread Alex Fowler
, 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 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

Re: Making RPCs with Shoreleave

2013-07-15 Thread Alex Fowler
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 experience with Shoreleave and I'm trying to use it's RPC

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

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:25223http://localhost:8080/js/cljs.js 1.

Re: Compiling the Android version of Clojure

2013-05-22 Thread Alex Fowler
with the lein-droid plugin? https://github.com/clojure-android/lein-droid � 22.05.2013, 05:21, Alex Fowler alex.m...@gmail.com javascript:: Nope, I am on Windows :D.. I guess I could re-write this one into a *.bat file... �looking inside the file, however, does

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

Re: Compiling the Android version of Clojure

2013-05-21 Thread Alex Fowler
://www.java2s.com/Code/Jar/a/Downloadandroid32jar.htm 22.05.2013, 04:52, Alex Fowler alex.murat...@gmail.com: 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

Re: Compiling the Android version of Clojure

2013-05-21 Thread Alex Fowler
...@yandex.comwrote: Did you run ./antsetup.sh before trying to build with ant? 22.05.2013, 05:01, Alex Fowler alex.murat...@gmail.com: 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: 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

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
, but it 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 alex.m...@gmail.com javascript:wrote: So, inspired by the latest talks

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

Re: A JMonkeyEngine3 wrapper?

2013-05-01 Thread Alex Fowler
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. I renamed the library today which might cause some trouble - just a heads up. Jonathan On Wed, May 1, 2013 at 10:08 PM, Alex Fowler alex.m

Re: Using a Java game engine in my project

2013-04-30 Thread Alex Fowler
:02, Alex Fowler alex.m...@gmail.com javascript:wrote: 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

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

Re: Using a Java game engine in my project

2013-04-30 Thread Alex Fowler
, 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.. I want to write a game with Clojure and JMonkeyEngine (http://jmonkeyengine.com/). So I take

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. Thanks

Re: Using a Java game engine in my project

2013-04-30 Thread Alex Fowler
. Copy the lib directory from the jME3 binaries into your project directory Here's an example application to get you going: https://gist.github.com/weavejester/5484183 - James On 29 April 2013 20:02, Alex Fowler alex.m...@gmail.com javascript:wrote: Hello! I have a problem, I will try

Re: Using a Java game engine in my project

2013-04-30 Thread Alex Fowler
ccw.feature.feature.groupCounterclockwise team On Tue, Apr 30, 2013 at 8:49 PM, Alex Fowler alex.m...@gmail.comjavascript: wrote: Just tried that! Very nice! Got it running with lein repl from Windows command prompt!!! However, when I fire up the repl from Eclipse CCW, I get

Re: Using a Java game engine in my project

2013-04-30 Thread Alex Fowler
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 Arguments On Tue, Apr 30, 2013 at 9:35 PM, Alex Fowler alex.m...@gmail.comjavascript: wrote: Right, I had the stable version, not beta, and Ctrl+Alt+L had

Re: Using a Java game engine in my project

2013-04-30 Thread Alex Fowler
, Alex Fowler alex.m...@gmail.comjavascript: 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... reaally strange that :) Tried removing all the Run

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