clojure web developer job offer

2013-01-31 Thread Vagif Verdi
Our company is looking for a full time or consultant developer. The job is to maintain and continue actively develop web application / internal webservices written in clojure. We use compojure web framework, darcs for repository. Remote work via ssh is ok. Haskell knowledge is a big plus. We h

Hiring clojure/haskell developer

2012-07-10 Thread Vagif Verdi
. All development will be ether with haskell (if libraries permit) or clojure on JVM. If interested please contact me. Regards, Vagif Verdi -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email

Language shoutout clojure code does not have types

2011-09-18 Thread Vagif Verdi
Check for example this code: http://shootout.alioth.debian.org/u64q/program.php?test=pidigits&lang=clojure&id=1 It is slower than scala 8 (!!!) times. But peppering it with types can easily bring it on par with java/ scala. Any takers ? -- You received this message because you are subscribed to

Re: Job position for haskell/clojure dev. in San Dimas, CA

2011-06-20 Thread Vagif Verdi
Sorry, forgot to mention, and i already got questions about it. No worker visa sponsorship, no relocation from abroad. US only. On Jun 20, 2:36 pm, Vagif Verdi wrote: > Anyone interested in full time employment working with haskell and > clojure in San Dimas, CA (local job only, NO telec

Job position for haskell/clojure dev. in San Dimas, CA

2011-06-20 Thread Vagif Verdi
Anyone interested in full time employment working with haskell and clojure in San Dimas, CA (local job only, NO telecommute) please let me know. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.

Re: Emacs setup - quick navigation to files and definitions

2011-06-12 Thread Vagif Verdi
What do you mean by navigation ? Slime supports jumping to function definition (Alt-.) and back (Alt-,) And this works not only in your own code but also in all contrib libraries. So what else do you need ? On Jun 12, 6:50 pm, yair wrote: > Hi, > > With swank and slime all set-up along with CDT,

Re: ANN: Logos v0.6 - Pattern matching, Tabling, Disequality Constraints, and now on Clojars

2011-04-11 Thread Vagif Verdi
Can it be used as an inference (rule) engine ? On Apr 9, 2:27 pm, David Nolen wrote: > Logos is finally in good enough shape to be worth publishing to Clojars. > There are really too many changes to enumerate here, but if you're familiar > with Prolog, Logos is now far enough along that you can

Re: Monad Lessons

2011-03-10 Thread Vagif Verdi
Jim, i assume you are familiar with haskell (monads -> haskell :)) So my question is, can you describe the difference in working with monads in dynamic language (clojure) with working with monads in haskell. >From my own experience i would say that without a firm help from typing system i would st

Re: Deflayout - define Swing UI declaratively

2011-02-03 Thread Vagif Verdi
It would be better if your macro would accept maps and vectors, because those can be prepared somewhere else and passed around as parameters. Your current macro allows only hardcoding. On Feb 3, 4:23 pm, Alexander Yakushev wrote: >  >(deflayout frame >  >{:west gamepanel >  >:east (deflayout side

Re: which IDEs are you all using?

2011-01-09 Thread Vagif Verdi
Jumping to the definition of function: Alt-. Returning back Alt-, All other (and much more) features are implemented in slime (emacs package). On Jan 9, 11:01 am, Alex Baranosky wrote: > Hi, > > I'm most used to using Intellij, since it is what I use everyday at work > programming in Java.  So m

Re: Ah-hah! Clojure is a Lisp

2010-12-19 Thread Vagif Verdi
Haskell has aha moments too. And it is not lisp. The definition of "lisp" i accept is much simpler and much more obvious: source code of the program is a valid data structure in that language. On Dec 19, 11:33 am, Tim Daly wrote: >   There have been discussions, here and elsewhere, about > whet

Re: Clojure 1.3 Alpha 4

2010-12-13 Thread Vagif Verdi
Maybe clojure should adopt linux versioning scheme, where even numbers are stable production clojure and odd numbers are development branch ? On Dec 12, 7:09 pm, Stuart Halloway wrote: > Clojure 1.3 Alpha 2 is now available at > >        http://clojure.org/downloads > >  0 Changes from 1.3 Alpha

Re: Function Design: sequence or "&" argument?

2010-11-16 Thread Vagif Verdi
On Nov 15, 8:52 am, Chris wrote: > If you have a function that needs to treat multiple arguments as a > group, what forces drive you to represent this as a single sequence > argument vs. an "&" argument?  To give a concrete example, why does > "+" work like > > (+ 1 2 3 4) > > instead of > > (+ [1

Re: Flex as a Clojure Frontend

2010-08-15 Thread Vagif Verdi
Yes, I have a flex app, talking to compojure backend via JSON. On Aug 14, 12:40 pm, nchubrich wrote: > I'm wondering if anyone has any experience developing Clojure > applications with a Flex interface, and if so, what is the best way of > going about it. > > I also wonder if anyone has used Las3

Re: Interest Inquiry

2010-07-26 Thread Vagif Verdi
Back in the days when i was using common lisp (sbcl) i used this inference engine: http://lisa.sourceforge.net/ -- 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 memb

Re: Interest Inquiry

2010-07-26 Thread Vagif Verdi
On Jul 26, 6:34 am, jim wrote: > One thing I'd like to do is implement a business rules engine in > Clojure running the Rete algorithm or something similar. Sort of a > Drools in Clojure. Wouldn't it be easier to implement clojure scripting for Drools ? As far as i know Drools allows several scri

Re: Why I have chosen not to employ clojure

2010-03-22 Thread Vagif Verdi
I'm happy that this guy self eliminated himself from clojure community. But experience tells me not to be so sure. His kind tends to come back and unfortunately is very persistent. If downloading couple of jar files and dropping them into the classpath is too much for him, then he is definitelly

Re: Zip function

2010-03-13 Thread Vagif Verdi
In clojure map works like zipWith. So you can pass to it vector if you want just plain zip: (map vector colls) That makes making a special named function unnesessary. On Mar 13, 6:55 am, Marmaduke wrote: > Hello, > > I'm new to Clojure, but in other languages, zip is a workhorse, and I > didn't

Re: ANN: Fleet — templating system

2010-02-23 Thread Vagif Verdi
Years of using ASP and JSP convinced me that writing markup and code in the same file is evil. That's why i prefer StringTemplate. It is perfectly usable with clojure and accepts clojure maps, yet it does not allow you to incorporate arbitrary code into your templates. Everyone is happy, especiall

function that converts argument into a single value vector.

2010-02-16 Thread Vagif Verdi
I often find myself creating one line helper functions that i use very often just because it is easier to write them than try to find them in contrib. Here's one: (defn- to-list [x] (if (vector? x) x [x])) This one is often needed when working with html form fields. Is there such a function in c

Re: Sessions for Ring

2010-02-03 Thread Vagif Verdi
On Feb 3, 7:18 pm, James Reeves wrote: > On Feb 3, 8:44 pm, Vagif Verdi wrote: > > This again is something that's limited to Compojure, and not > necessarily indicative of a problem with the functional approach. I agree. As long as session implementation is robust and simp

Re: Sessions for Ring

2010-02-03 Thread Vagif Verdi
On Feb 3, 3:55 pm, Mark McGranaghan wrote: > One thing that would help us a lot with choosing the right interface > for sessions is examples of session use from real application code. We > have considered simple examples like incrementing a counter and > logging in / logging out (http://gist.githu

Re: Sessions for Ring

2010-02-03 Thread Vagif Verdi
Whatever you guys chose, do not go the immutable road. Compojure took that approach and now many people (including me) are stuck with situations where they need to update session in a middle and pass it somewhere else, and they can't. Session is a data storage, just like a database. One of the str

Re: Suggestion: Get rid of "java.lang.Exception: EOF while reading.."

2010-01-27 Thread Vagif Verdi
+1 for paredit. Writing lisp without an IDE geared towards the language is miserable. Bracket matching is a must-have feature for lisp programmer. Higher in importance than anything else. On Jan 27, 9:48 am, Jarkko Oranen wrote: > You should really give paredit.el a go some time. It feels silly

Google-collections

2009-12-30 Thread Vagif Verdi
I wonder if just released http://code.google.com/p/google-collections/ google-collections java library could be of any use to clojure implementation ? They have there "High-performance immutable implementations of the standard collection types" and many other goodies. -- You received this message

Re: Clojure + Redis

2009-12-30 Thread Vagif Verdi
There are other NoSQL datastores written in java, like Voldemort. Perhaps if you investigate them, you will find one that will be much easier to integrate with clojure. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email

Re: Why use monads

2009-12-27 Thread Vagif Verdi
On Dec 22, 2:10 pm, jim wrote: > Chouser, > > You're right that maybe-comp is simpler. Once you realize that the > functions you want to compose are monadic functions under the maybe-m > monad, you get that composition for 'free', with no further mental > effort. Except different types of monads

Re: Parenthesis Inference

2009-12-18 Thread Vagif Verdi
On Dec 18, 4:59 pm, Martin Coxall wrote: > But I'm trying to think of it from the point of view of Joe Q. Coder, who > will take one look at our beloved elegant, expressive Clojure, see all the > parens and run screaming. Let James Gosling worry about Joe Q. Coder. He does a very good job at th

Re: Parenthesis Inference

2009-12-18 Thread Vagif Verdi
Welcome to the big club of people who in last 50 years came up with a "brilliant" idea to "fix" lisp. As for Ten parentheses, i do not see a single one. Noone notices starting parens because they are markers saying "this is a function". And of course noone notices ending parens because they are fo

Re: Bert Clojure Implementation

2009-12-18 Thread Vagif Verdi
FYI There a binary protocol library http://hessian.caucho.com/ It is pure java, supports all the primitives BERT has, has bindings to many languages including Python, Ruby, Erlang, even Flash. And of course because it is java, it is readily available from clojure. It also supports streaming of cou

Re: Switching off lazyness

2009-10-02 Thread Vagif Verdi
On Oct 2, 1:37 pm, Meikel Brandmeyer wrote: > You can do so by with doall: > >      (doall (map ... (filter ...))) > Unfortunately this is not true. Yo are paying penalty for lazyness in this case. Try it yourself. Write non lazy versions of map and filter and time them against standard ones

Switching off lazyness

2009-10-02 Thread Vagif Verdi
This is not a suggestion or anything, just entertaining myself with some uneducated thinking. What if all lazy functions (map filter etc) would check some global value and decide upon it lazyness ? Then we could do something like this: (eager (map ...(filter ...))) That would allow to not to

Re: clojure-mode survey

2009-09-11 Thread Vagif Verdi
I use clojure-mode with slime. But i did not use clojure-install. I also do not run clojure from within emacs. I run it via script, and then connect to it via slime-connect. I prefer it much more than clojure-install, because i have a control over where my clojure and other libraries are resided

Re: When to use macros

2009-08-30 Thread Vagif Verdi
I would argue that macros always should be syntax wrappers for functions. Coding the logic into a macro in most cases is a mistake. So first write the function that does the work. Then write a macro that simplifies a syntax to call that function. --~--~-~--~~~---~--~--

Re: How to migrate definitions to another namespace ?

2009-08-28 Thread Vagif Verdi
Thx to all. ns-unmap and remove-ns are what i need. >From my CL experience i was looking for something like unitern. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email t

How to migrate definitions to another namespace ?

2009-08-28 Thread Vagif Verdi
I often refactor my code and move some functions to new modules. Unfortunately i cannot load them, because clojure says that function with such name is already loaded from another namespace. I could not find nothing better but to close my clojure session (which means bring down the web server) and

Re: clojure vs scala

2009-08-25 Thread Vagif Verdi
On Aug 25, 7:37 pm, Alan Busby wrote: > Reducing it further, I'd be interested just to hear more about the contrast > of static typing versus macros. Which is more beneficial for different > situations and why? I fail to see how macros can be contrasted to static typeng. They are orthogonal. Her

Re: New string utilities library ready

2009-08-19 Thread Vagif Verdi
I'm using str-utils2 for a couple of months now. Do not care about the old library. --~--~-~--~~~---~--~~ 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

Re: a better reductions?

2009-08-07 Thread Vagif Verdi
On Aug 7, 1:23 am, Daniel Lyons wrote: > This is the difference between FreeBSD and NetBSD. I agree, but I also   > find it useful to crack open core and contrib to see coding examples   > and to understand algorithms. I'd suggest to include into library for teaching purposes variants of unopt

Re: enhancement request: a simple way to read a file

2009-08-07 Thread Vagif Verdi
Try contrib library duck-streams. --~--~-~--~~~---~--~~ 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

Reflection warning: reference to field getClass can't be resolved.

2009-08-04 Thread Vagif Verdi
When reflection warning is on, i get 2 warnings on every my file: reference to field getClass can't be resolved. reference to field getClassLoader can't be resolved. Is this something i should be worried about ? --~--~-~--~~~---~--~~ You received this message bec

Re: What happened to clojure.contrib web site ?

2009-08-03 Thread Vagif Verdi
On Aug 3, 6:19 pm, ataggart wrote: > Here's the well-hidden, auto-generated docs for clojure-contrib: > > http://richhickey.github.com/clojure-contrib/ > Thx. That's what i've been looking for. --~--~-~--~~~---~--~~ You received this message because you are sub

What happened to clojure.contrib web site ?

2009-08-03 Thread Vagif Verdi
There was this awesome browsable list of clojure libraries with short description of each, list of functions and even links to source. Now it all replaced with link to github. Please bring the user friendly and easily browsable documentation back! --~--~-~--~~~---~--

Re: Transient Data Structures

2009-08-03 Thread Vagif Verdi
On Aug 3, 1:52 pm, luke wrote: > So you could easily wrap an entirely functional code block > in a transform-to-transient macro that translates the functions to > their transient counterparts, and gain all the performance benefits? I do not think it would be that easy. Transient mode cannot be u

Clojure without Rich Hickey

2009-08-01 Thread Vagif Verdi
Today i saw the announcement http://groups.google.com/group/Qilang/browse_thread/thread/592773c562017d87 that the creator and maintainer of another modern lisp dialect Qi closed the shop and went to India. The effect on Qi was so drastic that the Qi community are discussing right now which langua

Re: Grails And Clojure

2009-07-19 Thread Vagif Verdi
On Jul 19, 4:19 pm, "Howard M. Lewis Ship" wrote: > You seem to have a better idea of what's going in in Cascade than I > do, and I'm the one writing it.  Please be patient. I was replying to the author of the thread who said there are 2 clojure web frameworks. Cascade could very well become a g

Re: Grails And Clojure

2009-07-19 Thread Vagif Verdi
On Jul 19, 9:49 am, Wilson MacGyver wrote: > There are already two webframework in clojure being developed.   > Compojure and cascade. While I'm eagerly waiting to see how these two   > and others will envole Not much to wait there. Compojure is quite stable and feature rich now. It is a low lev

Re: Grails And Clojure

2009-07-19 Thread Vagif Verdi
Before creating clojure Rich Hickey tried several times to marry Common Lisp and java: http://jfli.sourceforge.net/ http://foil.sourceforge.net/ http://lisplets.sourceforge.net/ He spend lots of time and effort to come to realization that something like clojure is nesessary. Maybe it is time to

Reddit discussion on lazy lists faster than eager

2009-07-15 Thread Vagif Verdi
I got into funny discussion about speed of lazy lists versus eager lists in clojure: http://www.reddit.com/r/programming/comments/91ha3/how_to_start_using_lisp_at_work/c0b44xp I did this small example to test it: user> (time (dorun (map #(+ % 1) (map #(+ % 1) (map #(+ % 1) (repeat 100 7

Java STM

2009-07-12 Thread Vagif Verdi
Potentially interesting library for clojurians. Java STM implementation: http://www.deucestm.org/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegro

Re: Questions / guidelines for adopting Clojure

2009-07-08 Thread Vagif Verdi
On Jul 7, 4:08 am, Roman Roelofsen wrote: > * Parametrization of "function groups" * > > Lets say I have a bunch of functions that provide database operations > (read, write, delete, ...). They all share information about the > database the operate on. In an OO language, I would define these > me

Re: Awkward Booleans from contrib.sql

2009-07-01 Thread Vagif Verdi
I just got an advise from IRC to use (boolean x). Problem solved :) --~--~-~--~~~---~--~~ 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 n

Awkward Booleans from contrib.sql

2009-07-01 Thread Vagif Verdi
Here's some warts, when working with boolean fields from sql databases. (if (with-db (sql-val ["select convert(bit, 0)"])) "Yes", "no") will return "Yes". This is because contrib.sql returns java Booleans, not clojure tru/false. (if (= false (with-db (sql-val ["select null"]))) "Yes", "no") wi

Re: A website written using Clojure.

2009-06-25 Thread Vagif Verdi
What server are you running it on ? Tomcat ? There's a compojure web framework that already has html combinator library. Check it out here: http://preview.compojure.org/docs --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

Re: Differences between 'compiled', 'clojure interpreted', 'clojure in a jar in classpath' and 'load'

2009-06-25 Thread Vagif Verdi
On Jun 25, 8:29 am, Stuart Sierra wrote: > So AOT-compilation makes the code slightly faster to *load* when your > application starts, because it doesn't have to compile the code on the > fly.  But Clojure compiler is very fast, so the difference is barely > noticeable. Actually i tried to load

Re: Poll for a new name for clojure eclipse plugin 'clojure-dev'

2009-06-23 Thread Vagif Verdi
Clojure, enclojure, compojure, conjure... I say enough with jure already. There are lot's of beautiful project names like Tapestry, Wicket, Hunchentoot, that do not include parts of the programming language name they are written in. How about a normal word, like "Eclair" ? --~--~-~--~---

Re: What are people using Clojure for?

2009-06-18 Thread Vagif Verdi
On Jun 18, 8:39 am, Howard Lewis Ship wrote: > I am having fun learning it by creating a simple web framework. Howard, that's interesting to hear from a Tapestry creator. I'm in a process of preparing to write a web application with clojure web framework compojure. But if you have something usa

Re: filter on sequence

2009-06-02 Thread Vagif Verdi
On Jun 2, 7:55 am, Andrew Wagner wrote: > > You can use destructuring in your predicate's arg list: > >  Not to hijack the thread but...is there some reason clojure doesn't just > just call this pattern-matching? Is it different somehow? Pattern matching matches not only structure but also value

Re: Is oracle going to make the jvm part proprietary?

2009-05-30 Thread Vagif Verdi
Fear not. G1 is in Open-JDK, so no one can forbid you use it anyway you see fit. The clause in EULA is simply a lawyer talk, to cover their asses if someone uses experimental feature in production and looses his data or crashes server. --~--~-~--~~~---~--~~ You rec

Re: Instructions for Emacs+SLIME

2009-05-30 Thread Vagif Verdi
I would greatly appreciate instructions how to setup emacs to connect to already running clojure. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegrou

Re: "Currying" / Partial Application macro

2009-05-29 Thread Vagif Verdi
On May 27, 11:57 pm, kinghajj wrote: > Example: > (def add5 ($ + 5)) > > (add5 3) I love partial application in haskell. But do not see the need for it in clojure with its succinct syntax for anonymous functions: (def add5 #(+ 5 %1)) (add5 3) Besides clojure's anonymous function syntax allo

Re: La Clojure plugin for IntelliJ IDEA updated

2009-05-20 Thread Vagif Verdi
Do you have plans to add connect/disconnect to existing running Repl over the network ? Emacs has this mode with slime and it is very handy in developing web applications. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

Re: Saving the Clojure.org webiste

2009-05-19 Thread Vagif Verdi
i saved it with wget and then fixed the files with sed to point to right resources and urls. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.

list vs vector

2009-05-15 Thread Vagif Verdi
What are the use case scenarios where one is preferable to the other in clojure ? It looks to me like vectors almost completely overtake lists for all purposes. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojur

Slime integration

2009-03-23 Thread Vagif Verdi
When i use slime with lisp, it shows me function parameters, when cursor is on a function name. But with clojure it only shows me Evaluation Aborted. Is this because that feature not implemented, or i setup something wrong ? --~--~-~--~~~---~--~~ You received this

Re: filter1 interesting?

2009-03-18 Thread Vagif Verdi
On Mar 17, 11:50 pm, Laurent PETIT wrote: > The comp function in clojure.core does just this. I know about comp function. I was talking about introducing a special syntax for it. Since one of the fundamental techniques of functional programming is composing chains of functions, clojure should h

Re: filter1 interesting?

2009-03-17 Thread Vagif Verdi
The power of functional programming is in small number of orthogonal functions. I'm afraid all these combination functions will quickly transform clojure into php. Besides it introduces several ways to do the same thing - more confusion (especially to newbies). Instead of littering the language wi

Re: filter1 interesting?

2009-03-11 Thread Vagif Verdi
Is (first (filter ..) lazy like in haskell ? I would hate to wait for filter to get all results just to throw them out and pick the first one. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post