Re: Clojure on iOS devices - Swift as a host?

2014-06-24 Thread Omer Iqbal
I believe you're right Colin. JavaScriptCore doesn't use the JIT compiler [1]. There might be a possibility of that changing though 1. http://phoboslab.org/log/2011/04/ios-and-javascript-for-real-this-time On Wed, Jun 25, 2014 at 6:13 AM, Colin Fleming wrote: > Mike's doing all the hard work o

Re: [GSoC 2014] Looking for mentors: cljs graphics package (in the spirit of p5.js / quil / three.js)

2014-03-14 Thread Omer Shapira
0 50 30)] > > Obviously all of this would need to be ironed out and the exact semantics > smoothed over, but what do people think in principle to a more declarative > graphics library which could then be optimised far more than manual api > calls ever could while encouraging a c

[GSoC 2014] Looking for mentors: cljs graphics package (in the spirit of p5.js / quil / three.js)

2014-03-13 Thread Omer Shapira
While I'm still learning Clojure's abstractions, I have been programming in Scheme for a long time. Anyone who wants to mentor me / chat about some ideas can reply here or find me at http://omershapira.com Thanks! Omer -- You received this message because you are subscribed to the Google G

Re: Hello, here´s a new clojur adict... with a question.

2014-01-14 Thread Omer Iqbal
(println (v 0)) (v 0) would give you the element at index 0 (println ..) would print whatever you supply as its argument. Cheers, Omer On Tue, Jan 14, 2014 at 6:44 PM, Andreas Olsson wrote: > > How can i "println" an index of a vector? > > tryed. > > (pr

Re: Clojure On Java Friendly Microcontrollers, Beaglebone, etc

2013-09-04 Thread Omer Iqbal
Another possible approach could be use clojurescript to a nodejs target. >From some cursory googling, there do seem to be node modules like https://github.com/kelly/node-i2c which offer I2C support. And I believe you might also get a better startup time. On Wed, Sep 4, 2013 at 8:35 PM, Jeremy Wri

Multiple args: opts map vs inline arguments

2013-06-17 Thread Omer Iqbal
Hey folks, What'c considered more idiomatic when having multiple, optional arguments? (defn foo1 [a b & args] (let [opts (apply hash-map args] ...)) or (defn foo2 [a b opts] ...) Cheers, Omer -- -- You received this message because you are subscribed to the Google Groups

Re: [GSoC Idea] cljs layer/dsl over express js

2013-05-02 Thread Omer Iqbal
I've been working on my proposal for this project. Here's a rough draft: https://gist.github.com/olenhad/5501208 of what I have so far. Would love some eye balls to verify if its on the right track. Its a little rushed as I just got free from exams. Cheers Omer @olenhad On Mon, Feb 2

Re: ANN: Kern 0.7.0 text parsing lib has fixes, better performance

2013-04-15 Thread Omer Iqbal
Thanks Armando! I've been using kern for a number of projects and I'm really grateful for the awesome documentation :) On Tue, Apr 16, 2013 at 12:38 AM, Armando Blancas wrote: > This is a much needed clean up and perf boost release. > > https://github.com/blancas/kern > > Function (parse-file)

Re: Persistent Data Structures for Objective-C/LLVM

2013-03-28 Thread Omer Iqbal
Most foundation objective c data structures are immutable (NSArray, NSDictionary, NSSet etc), and are most probably more performant than clojure counterparts, though terribly less elegant. However there's the clojure-scheme project ( https://github.com/takeoutweight/clojure-scheme) which compiles

Re: [GSoC Idea] cljs layer/dsl over express js

2013-02-24 Thread Omer Iqbal
entication middleware - socket.io abstraction - route filtering middleware ** Knowledge prerequisites: Familiarity with nodejs Mentor: Bodil Stokke Can someone with confluence access add it to the Project Ideas page? Thanks! Omer On Fri, Feb 15, 2013 at 7:12 AM, David Nolen wrote: > I resp

Multiple subselects, korma

2013-02-18 Thread Omer Iqbal
(subselect ...)]})) Thanks! Omer -- -- 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 from new members are moderated - please be patient with your first post. To unsubscribe f

Re: [ANN] ring-filter-routes 0.1.1 ;simple route filtering middleware

2013-02-16 Thread Omer Iqbal
Oh my bad, forgot to add the link: https://github.com/olenhad/ring-filter-routes Its on both :) On Sun, Feb 17, 2013 at 8:56 AM, Timothy Washington wrote: > Is it on github or clojars? Where can we take a look at the code? > > > Thanks > Tim > > > On Sat, Feb 16, 201

[ANN] ring-filter-routes 0.1.1 ;simple route filtering middleware

2013-02-16 Thread Omer Iqbal
Would love some feedback. I used this code in another project, and decided to publish the (very simple) middleware as a clojar in case someone else finds it useful. Cheers, Omer -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To po

[GSoC Idea] cljs layer/dsl over express js

2013-02-14 Thread Omer Iqbal
tations for the same functionality. Would love feedback on the idea! And whether can haz mentor? Cheers, Omer (@olenhad) -- -- 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 t

Clojurians in sg?

2013-02-12 Thread Omer Iqbal
Hey, any folks from Singapore here? I have heard that a couple of banks here use scala and possibly clojure, but don't know the extent. -- -- 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

Re: GSOC 2013 projects?

2013-02-11 Thread Omer Iqbal
Hey Daniel, GSOC 2013 just got announced:( http://google-opensource.blogspot.sg/2013/02/flip-bits-not-burgers-google-summer-of.html ) Would be super awesome to see clojure there :) Cheers, Omer On Fri, Feb 1, 2013 at 3:04 AM, Daniel Solano Gómez wrote: > On Thu Jan 31 11:52 2013, David No

Re: mysql auth issue when using upstart for ring

2013-02-07 Thread Omer Iqbal
Thanks Michael. That was the problem! On Thu, Feb 7, 2013 at 5:20 PM, Michael Wood wrote: > Hi > > On 7 February 2013 09:12, Omer Iqbal wrote: > > Hey, I used a similar upstart script which works fine for ring. > > However, weirdly enough, my auth with a mysql data

Re: mysql auth issue when using upstart for ring

2013-02-06 Thread Omer Iqbal
On Thursday, February 7, 2013 3:12:22 PM UTC+8, Omer Iqbal wrote: > > Hey, I used a similar upstart script which works fine for ring. [EDIT] ignore the above sentence. I was originally replying to a thread. #mybad > However, weirdly enough, my auth with a mysql database fails.

mysql auth issue when using upstart for ring

2013-02-06 Thread Omer Iqbal
Hey, I used a similar upstart script which works fine for ring. However, weirdly enough, my auth with a mysql database fails. I'm using korma to interface with the db. The problem only occurs with upstart script,, because it works fine when I run it myself. To be clearer. When I run: lein trampol

GSOC 2013 projects?

2013-01-30 Thread Omer Iqbal
mer :D* (cheers) Omer -- -- 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 from new members are moderated - please be patient with your first post. To unsubscribe from

Re: ANN Drip: A fast JVM launcher

2013-01-23 Thread Omer Iqbal
I tried the same on a ubuntu setup. Same issue as the rest I believe. :( time drip -cp ~/.m2/repository/org/clojure/clojure/1.4.0/clojure-1.4.0.jar clojure.main -e "(reduce + (range 100))" 4950 real 0m1.065s user 0m1.420s sys 0m0.068s time java -cp ~/.m2/repository/org/clojure/clojure/1.4.0/cloj

Simple FIFO cache for memoize

2013-01-22 Thread Omer Iqbal
I've been reading a bit about the STM, and here's an implementation of a FIFO cache for producing a memoized version of a function. Is it correct to use the STM in this case, or are there any drawbacks? (defn bounded-memoize "Return a bounded memoized version of fn 'f' that caches the las

lein-daemon 0.5

2013-01-16 Thread Omer Iqbal
I try "lein daemon start :ring", I get: "Exception in thread "main" java.io.FileNotFoundException: Could not locate leiningen/daemon_runtime__init.class or leiningen/daemon_runtime.clj on classpath" Any idea what's amiss? What's the current status of

Finding latest versions of clojars

2013-01-13 Thread Omer Iqbal
Hey guys, I recently decided to shift to clojure, and am loving the experience so far. However is there a method to find the latest versions of dependencies in lein2? It is rather inconvenient to search for them manually. Cheers, Omer -- You received this message because you are subscribed to

Re: Clarification on setting up Clojure, Lein and Emacs on fedora

2013-01-01 Thread Omer Iqbal
Or you could try this: https://github.com/overtone/emacs-live Contains a very good emacs conf that works out of the box. On Sunday, December 30, 2012 4:47:21 AM UTC+5, Sayth Renshaw wrote: > > Just want to make sure I get this right. I am running F18 and am setting > up clojure. > > These would

Re: NoSuchMethodError clojure.lang.Numbers.lt(ILjava/lang/Object;)Z clojure.contrib.string/drop (string.clj:121)

2012-07-02 Thread omer
he current clj file if it has the > focus. > > On Monday, July 2, 2012 10:24:38 AM UTC+2, omer wrote: >> >> hi, i'm new to clojure and i keep running in to this error! >> i'm using eclipse in win7, in addition when i press run tab, there >> supposed to

NoSuchMethodError clojure.lang.Numbers.lt(ILjava/lang/Object;)Z clojure.contrib.string/drop (string.clj:121)

2012-07-02 Thread omer
i think..) anyway, i have a .clj file i want to run but the error above doesn't let me, i have to solve this isue quickly becouse i have an excersie to deliver on time! i would approciate a quick and detailed response, very much. many thanks, omer... -- You received this message bec

Could not locate clojure/contrib/string__init.class or clojure/contrib/string.clj on classpath:

2012-06-24 Thread omer
hi i need help!!! i have a project to finish but i keep on hitting this error: Could not locate clojure/contrib/string__init.class or clojure/contrib/string.clj on classpath: i tried everything i know (which is not much) and i read tons of metiral in the net, but i still cant figure out how to

new with clojure, need help!

2012-04-26 Thread omer
hello im need to learn how to use clojure and how it works, i found some videos the helped me a bit to understand how clojure works, but i need a more basic guidence on how to install the nessecery plugins to eclipse, and what to do with them... any tutorial will do! thats... p.s. im using windows

Re: clojure.string no namespace error

2011-10-18 Thread Omer Kudat
Thanks, I think I was trying to wrong thing (don't know why I was trying to use import rather than require). -- 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 from new member

clojure.string no namespace error

2011-10-18 Thread Omer Kudat
g". Calling (all-ns) gives me a list of namespaces which does not include string, and (find-ns) doesn't find clojure.string either. Not sure what I'm doing wrong. Any pieces of wisdom? Omer -- You received this message because you are subscribed to the Google Groups "