[JOB] Clojure Job Posting

2013-10-22 Thread Michael Lim
Hi, 

We are a  Singapore-based company that specializing social media analytics 
and insights, and we are looking to hire people for the role of system 
engineer, ideally someone who knows Clojure. 

Systems Engineer 
=== 
- 2+ years software development experience 
- Knowledge of Java, Python, Clojure, Ruby, or any functional languages 
- Knowledge of machine learning, data analysis techniques or Hadoop will be 
a plus 
- Candidates who possess knowledge of functional languages will be looked 
upon favourably 

We are looking for a systems engineer to help develop and advance our 
cutting edge social analytics backend. 

If you live and breathe backend systems, are passionate about working with 
Big Data or machine learning algorithms, and excel in an agile open 
environment, JamiQ may be for you. This job would ideally be on-site, but 
remote working is also a possibility. 

Please email me at michael.lim [at] jamiq.com if you are interested.

Thanks,
Michael

-- 
-- 
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 this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[ANN] antizer 0.2.0

2017-06-29 Thread Michael Lim


https://github.com/priornix/antizer


Antizer  has just been released. It is 
a ClojureScript library implementing Ant Design  React 
components for Reagent and Rum.

Ant Design is an enterprise-class UI design language and React-based 
implementation with the following features:

   - An enterprise-class UI design language for web applications.
   - A set of high-quality React components out of the box.
   - Extensive API documentation and examples.

Examples and Documentation

   - 
   
   Reagent Demo 
   
   - 
   
   Rum Demo 
   - 
   
   Antizer Documentation https://priornix.github.io/antizer/latest/
   - 
   
   API Documentation https://priornix.github.io/antizer/latest/api/
   
Github project: https://github.com/priornix/antizer

-- 
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 this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Problems loading Clojure core in Nutch plugin

2012-10-01 Thread Michael Lim
Hi there,

I am trying to implement a Nutch plugin in Clojure 1.3. It works correctly 
in Nutch standalone mode, but not in Nutch distributed (Hadoop) mode. I 
have made the plugin inherit from Nutch's HtmlParser class, as follows. 

---
(ns test_plugin.core)

(gen-class 
  :name test_plugin.core.Parser
  :implements [org.apache.nutch.parse.HtmlParseFilter]
  :prefix "parser-")

;; required by nutch to exist
(defn parser-setConf [this conf])

;; required by nutch to exist
(defn parser-getConf [this])

-

Hadoop was then run with the following command:

hadoop jar apache-nutch-1.5.1.job org.apache.nutch.parse.ParserChecker 
-libjars /home/foobar/test-plugin/test-plugin-standalone.jar 
"http://nutch.apache.org";

* apache-nutch-1.5.1.job is a Hadoop job file created by Nutch that 
consists of the Nutch configuration files, plugins, etc. 
* The libjars option is required by Hadoop so that it can pick up on the 
3rd party jars (eg: Clojure etc)

The error that I get when I run Nutch in distributed mode is as follows:

Exception in thread "main" java.lang.ExceptionInInitializerError
at clojure.core__init.__init0(Unknown Source)
at clojure.core__init.(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at clojure.lang.RT.loadClassForName(RT.java:2030)
at clojure.lang.RT.load(RT.java:417)  
at clojure.lang.RT.load(RT.java:398)  
at clojure.lang.RT.doInit(RT.java:434)
at clojure.lang.RT.(RT.java:316)
at clojure.lang.Namespace.(Namespace.java:34)
at clojure.lang.Namespace.findOrCreate(Namespace.java:176)
at clojure.lang.Var.internPrivate(Var.java:149)
at test_plugin.core.Parser.(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at 
org.apache.nutch.plugin.Extension.getExtensionInstance(Extension.java:160)
at 
org.apache.nutch.parse.HtmlParseFilters.(HtmlParseFilters.java:59)
at 
org.apache.nutch.parse.html.HtmlParser.setConf(HtmlParser.java:289)
at 
org.apache.nutch.plugin.Extension.getExtensionInstance(Extension.java:162)
at 
org.apache.nutch.parse.ParserFactory.getParsers(ParserFactory.java:132)
at org.apache.nutch.parse.ParseUtil.parse(ParseUtil.java:71)
at org.apache.nutch.parse.ParserChecker.run(ParserChecker.java:101)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.nutch.parse.ParserChecker.main(ParserChecker.java:138)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
Caused by: java.lang.IllegalStateException: Attempting to call unbound fn: 
#'clojure.core/refer
at clojure.lang.Var$Unbound.throwArity(Var.java:43)
at clojure.lang.AFn.invoke(AFn.java:39)
at clojure.lang.Var.invoke(Var.java:401)
at clojure.lang.RT.doInit(RT.java:447)
at clojure.lang.RT.(RT.java:316)
... 33 more

Any ideas why? 

Thanks,
Michael

-- 
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 this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Bug with ClojureScript keyword? function

2012-01-08 Thread Michael Lim
Hi,

Is this a bug with ClojureScript's keyword? function? On the REPL, the
return value of the function is fine.

ClojureScript:cljs.user> (keyword? :foobar)
true
ClojureScript:cljs.user> (string? :foobar)
false

However, when the following is compiled to JavaScript, the output is
not as expected:

(js/alert (keyword? :foobar))
=> false
(js/alert (string? :foobar))
=> true

The actual JavaScript output is:

alert.call(null,cljs.core.keyword_QMARK_.call(null,"�'foobar"));
alert.call(null,cljs.core.keyword_QMARK_.call(null,"�'foobar"));

Is this a bug, or something that is to be expected?

Thanks!

-- 
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 this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Bug with ClojureScript keyword? function

2012-01-09 Thread Michael Lim
Apologies, there was a typo in my original email, what I meant to say
was that:

(js/alert (keyword? :foobar))
output result => false
was compiled to =>
alert.call(null,cljs.core.keyword_QMARK_.call(null," 'foobar"));

(js/alert (string? :foobar))
output result => true
was compiled to =>
alert.call(null,cljs.core.string_QMARK_.call(null," 'foobar"));

The actual object that was passed to both clj.core.string_QMARK_  and
keyword_QMARK_ is a string with a 3 character bytestring of hex values
0xef 0xb7 0x90, followed by quote ' and the keyword string (foobar in
this case).

Is this a bug in the conversion of the clojure keyword to the
JavaScript object?

On Jan 9, 4:50 am, Michael Fogus  wrote:
> In the compiled code it looks like the call to keyword? Is happening in
> both cases.  Wires are definitely crossed, but it's unclear where.  Are you
> certain that the ClojureScript shown is the same code that gets compiled?

-- 
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 this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en