[JOB] Wanted Clojure/Lisp Job

2017-07-13 Thread jongwon.choi
Hi, I am in Sydney Australia, and looking for a job. My current interests and skills/abilities are: - Design and implementation of reusable team libraries using Clojure - Design and implementation of microservices with Restful API using Clojure - Design and

Practical ways to deal with 'bag-of-properties' syndrome, AKA dynamic typing?

2015-12-01 Thread jongwon.choi
Use defrecord. People still can mess by using it as map, but it is a different problem. -- 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 -

usage of "and"

2015-09-07 Thread jongwon.choi
Typo? (and cnt (pos? cnt)) -- 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: Using a dynamic var for my database connection for implicit connections+transactions

2015-07-31 Thread jongwon.choi
Cut paste from my own code base: (def ^:dynamic *db-conn*) (defmacro with-db-connection [ body] `(jdbc/with-db-connection [con# (get-db-conn)] (binding [*db-conn* con#] ~@body))) A few points. Do not give any value to the dynamic var, make it unbound and make it fail early for

Re: Advice for building backend REST services from scratch using clojure

2014-10-07 Thread jongwon.choi
With Lispy languages, you can do whatever you want without worrying too much about underlying web server, db, etc. I use my own constructors like: (define-crud-handler :employee [:path [customers cust-id sites site-id employees] :auth-required? true] {:collection {:create (employees-create

Re: Advice for building backend REST services from scratch using clojure

2014-10-07 Thread jongwon.choi
With Lispy languages, you can do whatever you want without worrying too much about underlying web server, db, etc. I use my own constructors like: (define-crud-handler :employee [:path [customers cust-id sites site-id employees] :auth-required? true] {:collection {:create (employees-create

[ANN] Dynohub: DynamoDB client + transaction layer

2014-07-02 Thread jongwon.choi
Dynohub, a Clojure DynamoDB client with transaction layer https://github.com/ozjongwon/dynohub Dynohub is a transperent DynamoDB client with a port of transaction library(https://github.com/awslabs/dynamodb-transactions) There are three layers of abstraction: * Dynohub - a plain client

Re: ns/use/require/import inconsistent an confusing

2011-11-30 Thread jongwon.choi
Even though I've written only one toy web framework in Clojure[1], (I think) I know the difference. Because there is documentation for use and ns, I'll add my own only :) I interpret (use 'ns) as Use 'ns namespace within *current* namespace - from your example, 'user'. Usually for REPL. (ns

ANN: template based web v0.1.0

2011-11-27 Thread jongwon.choi
Hello I've just released the first RC1 of my first Clojure toy project[1]. This is basically old style put tags in HTML and process such tags in your code. I copied the idea from html-template[2]. Because this is my first Clojure coding effort, there might be mistakes. Any comment and

Re: Lookup on a symbol?

2011-11-27 Thread jongwon.choi
No that doesn't make any sense, but I (think I) know what is going on there. (:a 1 2) === (get 1 :a 2) Jong-won On Nov 25, 1:35 pm, jaime xiejianm...@gmail.com wrote: But we still don't know why it behaves like this and for what reason. does (:a 1 2) returns 2 make any sense?? -- You

Re: Lookup on a symbol?

2011-11-27 Thread jongwon.choi
I'd expect the same, but in the code (https://github.com/clojure/ clojure/blob/master/src/jvm/clojure/lang/RT.java) get and getFrom do not raise any error. On Nov 24, 6:30 pm, Sean Corfield seancorfi...@gmail.com wrote: (:a 1 2) yields 2 which surprises me a bit... I'd expect an error because

Re: Getting index of char from end

2011-11-13 Thread jongwon.choi
Andreas, how're you doing? Frankly my impression of Clojure is just like this posting. You know usually with Common Lisp my common sense works - it provides more than I expect. With Clojure I have to double check because my expectation is more than Clojure provides, mostly. And it ends up being

Getting index of char from end

2011-11-11 Thread jongwon.choi
Hi I'm wondering the best way to express: (position #\a abba :from-end t) Should I use interop? (.lastIndexOf abba (int \a)) Thanks! -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to