Re: meta-questions - [clojure] in front of Subject line

2012-06-18 Thread Tassilo Horn
Brian Marick mar...@exampler.com writes: I have been subscribed to a couple of groups as well as other stuff and find it useful to have a Subject line prefix indicating the source of conversation. +1 -1! There's really no need to obscure subjects. For all your filtering needs, there's the

How to speed up Clojure Training for New Recruitment

2012-06-18 Thread Murtaza Husain
Hi, Just wanted to get pointers on how do you manage the training of recruits. It is difficult to find clojure talent, and we are located in India, where it is close to impossible. Also the non availability of talent becomes a hard sell to management too while introducing clojure projects. How

Re: Doseq, map-style

2012-06-18 Thread Christophe Grand
On Sun, Jun 17, 2012 at 8:59 PM, Kurt Harriger kurtharri...@gmail.comwrote: Data structure is an implementation detail... It's not. Not in clojure. It is in OO, but clojure is not an OO language, so it's not an implementation detail in clojure. That is my point, representations SHOULD be

Re: How to speed up Clojure Training for New Recruitment

2012-06-18 Thread Chris Ford
When it comes to new graduates, they'll probably latch onto Clojure just as quickly as to Java or anything else. At EuroClojure, Jon Pither and Hakan Raberg mentioned that in their mixed Java/Clojure ecosystem they train new hires on Clojure, which eventually makes them better Java programmers!

Re: meta-questions - [clojure] in front of Subject line

2012-06-18 Thread Lee Spector
On Jun 18, 2012, at 3:02 AM, Tassilo Horn wrote: There's really no need to obscure subjects. For all your filtering needs, there's the List-ID header: List-ID: clojure.googlegroups.com Here's a SIEVE snippet you can install somehow to your IMAP server to move messages to this list to

Re: How to speed up Clojure Training for New Recruitment

2012-06-18 Thread Bill Caputo
On Jun 18, 2012, at 2:11 AM, Murtaza Husain wrote: Hi, Just wanted to get pointers on how do you manage the training of recruits. It is difficult to find clojure talent, I don't hire based on knowledge, I hire based on ability/desire to *learn*. For senior people I also want the same

Re: How to speed up Clojure Training for New Recruitment

2012-06-18 Thread Murtaza Husain
Bill that is very interesting. So how do you make them learn. Do you pair them up with someone who knows on some task? I mean how do you structure learning ? Bcoz as you mentioned that put them into a team where everyone likes to share, however everyone may be working on things above them, and

Re: How to speed up Clojure Training for New Recruitment

2012-06-18 Thread Bill Caputo
On Jun 18, 2012, at 6:37 AM, Murtaza Husain wrote: Bill that is very interesting. So how do you make them learn. Haha, I don't make anyone do *anything* on my team (I'm not exaggerating). My first (and more or less last) directive as team-lead is to declare it a team of peers. We ask people

Re: clojure/java.jdbc: MySQL problem NoRouteToHostException Cannot assign requested address

2012-06-18 Thread Raju Bitter
Thanks, Sean, here's simplified test which shows the behavior: Project dependencies: :dependencies [[org.clojure/clojure 1.3.0] [org.clojure/java.jdbc 0.2.2] [mysql/mysql-connector-java 5.1.6] Code: (ns jdbc-test.core (:require [clojure.java.jdbc :as sql])

Re: meta-questions - [clojure] in front of Subject line

2012-06-18 Thread Jim - FooBar();
On 18/06/12 11:50, Lee Spector wrote: On Jun 18, 2012, at 3:02 AM, Tassilo Horn wrote: There's really no need to obscure subjects. For all your filtering needs, there's the List-ID header: List-ID:clojure.googlegroups.com Here's a SIEVE snippet you can install somehow to your IMAP server

Re: clojure/java.jdbc: MySQL problem NoRouteToHostException Cannot assign requested address

2012-06-18 Thread Raju Bitter
Ok, I found the problem. It's not related to the Clojure JDBC API, but to the number of ports opened on localhost in a very short period of time. Linux has a TIME_WAIT configuration for connections opened, and default TIME_WAIT period is set to 60s. The maximum number of open connections is

Re: How to speed up Clojure Training for New Recruitment

2012-06-18 Thread Murtaza Husain
Thanks Bill !! On Monday, June 18, 2012 5:19:06 PM UTC+5:30, Bill Caputo wrote: On Jun 18, 2012, at 6:37 AM, Murtaza Husain wrote: Bill that is very interesting. So how do you make them learn. Haha, I don't make anyone do *anything* on my team (I'm not exaggerating). My first (and

Re: meta-questions - [clojure] in front of Subject line

2012-06-18 Thread Peter Buckley
I'm wasn't saying filtering into folders was superior, I was saying having the option to filter by sender was superior to merely having the option to filter by subject. But it sounds like you already have the option, and that just isn't your workflow. Sorry that I misunderstood. I don't

Re: meta-questions - [clojure] in front of Subject line

2012-06-18 Thread Jay Fields
Personally, I'd like to have [] as well, but I've recently been educated on the opposing point of view - and I concede that your personal workflow determines what you prefer - and, it's all preferences at the end of the day (no right or wrong answer). My personal workflow would benefit from [],

Re: meta-questions - [clojure] in front of Subject line

2012-06-18 Thread Dave Kincaid
Seems like a great enhancement that Google could make. Give each subscriber this as an option. Then each of us can choose whether to add this or not to messages we see. Personally, I only read these groups on the web and seeing [clojure] in the subject of every message would be really

London Clojurians Talks Dojos

2012-06-18 Thread Bruce Durling
Fellow Clojurians, The London Clojurians are starting a series of regular meetings (talks in addition to our usual dojos) in London to try to make it easier for people to come and visit us. Our talks will be on the 1st Tuesday of the month (3 July, 7 August, 4 September) Our next talk at Skill

Re: meta-questions - [clojure] in front of Subject line

2012-06-18 Thread Tassilo Horn
Dave Kincaid kincaid.d...@gmail.com writes: [Automatic insertion of [clojure] depending on user preference] Seems like a great enhancement that Google could make. Give each subscriber this as an option. Then each of us can choose whether to add this or not to messages we see. No, that's

Re: meta-questions - [clojure] in front of Subject line

2012-06-18 Thread Jay Fields
this is also true of the ActionScript solution... let's get back on topic, tabs or spaces? On Mon, Jun 18, 2012 at 9:02 AM, Tassilo Horn tass...@member.fsf.orgwrote: Dave Kincaid kincaid.d...@gmail.com writes: [Automatic insertion of [clojure] depending on user preference] Seems like a

Re: Doseq, map-style

2012-06-18 Thread Kurt Harriger
On Jun 18, 2012, at 2:09 AM, Christophe Grand christo...@cgrand.net wrote: On Sun, Jun 17, 2012 at 8:59 PM, Kurt Harriger kurtharri...@gmail.comwrote: Data structure is an implementation detail... It's not. Not in clojure. It is in OO, but clojure is not an OO language, so it's not an

Re: Doseq, map-style

2012-06-18 Thread Timothy Baldridge
Isnt that just creating an api? Everywhere the old model exists you need to call a function to create the desired data structure and this adds another layer of complexity that needs maintained.  Not all conversions are straight forward, may require additional context of whatever introducing

Re: Doseq, map-style

2012-06-18 Thread Christophe Grand
On Mon, Jun 18, 2012 at 3:37 PM, Kurt Harriger kurtharri...@gmail.comwrote: Representations are values in Clojure, they are not mixed with behaviors like in mainstream OO. It follows that, if your representation need to change, you can write a converter function (or two if you want to convert

Re: Doseq, map-style

2012-06-18 Thread Vinzent
Yeah, I'm waiting for concrete example too. By the way, if you really need to change :area from value to deferred computation then you can just change your data structure implementation from hash-map to lazy map (i.e. a map whose values are delays deref'd on access). This would require

Re: Doseq, map-style

2012-06-18 Thread Jim - FooBar();
I wan't aware of LazyMap! My solution so far was to attach functions instead of values in maps. You 're still deferring the computation to the underlying fn...in a sense it is a getter isn't it? and you can also pass the map around to effectively get polymorphic behaviour on the fns that

Re: How to speed up Clojure Training for New Recruitment

2012-06-18 Thread Jay Fields
On Mon, Jun 18, 2012 at 3:11 AM, Murtaza Husain murtaza.hus...@sevenolives.com wrote: Hi, Just wanted to get pointers on how do you manage the training of recruits. It is difficult to find clojure talent, and we are located in India, where it is close to impossible. Also the non

Re: meta-questions - [clojure] in front of Subject line

2012-06-18 Thread Sean Corfield
On Mon, Jun 18, 2012 at 6:05 AM, Jay Fields j...@jayfields.com wrote: this is also true of the ActionScript solution... Actually, no (depending on exactly how you do it in AppleScript). At least one of the possible AppleScript solutions changes the subject for your display but does not actually

Re: Clojure Sticker

2012-06-18 Thread mstump
+1 -- 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

Re: How to go about finding a Clojure job

2012-06-18 Thread Colin Steele
Or send me yours. We're a full-on clojure shop in Charlottesville, VA. On Saturday, June 16, 2012 10:49:00 AM UTC-4, tbc++ wrote: I'm about to begin the process of looking for a new job, and would like to find one that focuses on Clojure. Can anyone suggest some good ways to go about this?

Converting String to Hashmap

2012-06-18 Thread Antix
Hi Guys, I'm very new to clojure and searching for a way to convert a given String to a Hashmap as far as this is possible. I thought already about the use of a macro, but all the different quotes are a little bit confusing for me. Is it possible to create a Hashmap or some similar structure by

Re: Converting String to Hashmap

2012-06-18 Thread Jay Fields
first of all, what gender is n? =) http://blog.jayfields.com/2011/03/clojure-eval-ing-string-in-clojure.html On Mon, Jun 18, 2012 at 11:18 AM, Antix matthias.kal...@googlemail.comwrote: Hi Guys, I'm very new to clojure and searching for a way to convert a given String to a Hashmap as far as

Re: Doseq, map-style

2012-06-18 Thread Kurt Harriger
I did not know about lazy map either… This might be exactly what I was needed. Maps with referentially transparent properties rather than fields. A way to make minor changes to map representation without adding an api in advance, introducing breaking changes, redundant properties, or

Re: Doseq, map-style

2012-06-18 Thread Kurt Harriger
On Monday, June 18, 2012 8:01:47 AM UTC-6, tbc++ wrote: Isnt that just creating an api? Everywhere the old model exists you need to call a function to create the desired data structure and this adds another layer of complexity that needs maintained. Not all conversions are

Re: clojure.inspector.inspect-table gives up when first element is nil...

2012-06-18 Thread Jim - FooBar();
the very first let binding in clojure.inspector/old-table-model should be: row1 (some #(when-not (nil? %) %) data) instead of row1 (first data) simply because it will fail if the (first data) returns nil... where do we submit minor improvements like this? Jim On 16/06/12 13:26, Jim -

Re: Converting String to Hashmap

2012-06-18 Thread Tassilo Horn
Jay Fields j...@jayfields.com writes: first of all, what gender is n? =) *N*erd! What else could it be?! Bye, Tassilo -- 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: Compiler error messages

2012-06-18 Thread Raoul Duke
On Mon, Jun 18, 2012 at 11:44 AM, Brandon Bickford bickfo...@gmail.com wrote: I was wondering if anyone was working on improving compiler error messages? For instance in a case just now when I used an undeclared variable host I received an opaque hundred line traceback.  I think it would be

Re: clojure.inspector.inspect-table gives up when first element is nil...

2012-06-18 Thread Sean Corfield
JIRA - http://dev.clojure.org/jira/browse/CLJ (since this is a core Clojure namespace). If you have a CA on file, you can create a patch and attach it to the ticket. If you don't have a CA on file, you can outline what you think needs to be done (as you have below) and someone with a CA on file

Re: Converting String to Hashmap

2012-06-18 Thread Antix
Thank you. That solution worked for me. @Tassilo: haha, yeah a nerd should definedly deserves an own gender ;D On 18 Jun., 18:44, Jay Fields j...@jayfields.com wrote: first of all, what gender is n? =) http://blog.jayfields.com/2011/03/clojure-eval-ing-string-in-clojure On Mon, Jun 18,

Re: How to speed up Clojure Training for New Recruitment

2012-06-18 Thread Devin Walters
Start a meetup group. The people who show up more than a few times with no up front promise of a job opportunity will likely be the kind of people you want to hire. (Don't tell recruiters that though, please.) In addition, it gives you an opportunity to talk to potential hires in a relaxed

Re: clojure.inspector.inspect-table gives up when first element is nil...

2012-06-18 Thread Andy Fingerhut
Agreed with everything Sean said, except I wanted to point out that making a unit test for functions that create GUI windows might be a little bit out of the beaten path of the existing unit tests. There may be a way to create a unit test that calls inspect-table with arguments that make it

Re: clojure.inspector.inspect-table gives up when first element is nil...

2012-06-18 Thread Sean Corfield
On Mon, Jun 18, 2012 at 1:30 PM, Andy Fingerhut andy.finger...@gmail.com wrote: Agreed with everything Sean said, except I wanted to point out that making a unit test for functions that create GUI windows might be a little bit out of the beaten path of the existing unit tests. Oops, I didn't

Re: clojure.inspector.inspect-table gives up when first element is nil...

2012-06-18 Thread Kevin Downey
if you are printing tables using Clojure, you should checkout doric: http://github.com/joegallo/doric On Mon, Jun 18, 2012 at 11:22 AM, Jim - FooBar(); jimpil1...@gmail.com wrote: the very first let binding in clojure.inspector/old-table-model should be: row1 (some #(when-not (nil? %) %) data)

Re: clojure.inspector.inspect-table gives up when first element is nil...

2012-06-18 Thread Jim - FooBar();
First of all thanks both of you...As far as the tests go It is ridiculously easy to reproduce the 'bad behaviour' simply by passing a seq of maps (or records) where the first element is nil...my addition simply looks for the first element that is not nil and uses that instead of 'first'. if

Re: clojure.inspector.inspect-table gives up when first element is nil...

2012-06-18 Thread Jim - FooBar();
ooops!!! I misunderstood! you meant how to verify that it is actually showing everything up on screen! sorry my bad...how is it verified at the moment? I mean whatever unit test exists now will perfectly do the job with my modified version...remember...I just changed (first data) to (some

Re: clojure.inspector.inspect-table gives up when first element is nil...

2012-06-18 Thread Sean Corfield
On Mon, Jun 18, 2012 at 3:12 PM, Jim - FooBar(); jimpil1...@gmail.com wrote: how is it verified at the moment? I didn't see any unit tests for clojure.inspector... Unfortunately i don't have a CA! Sounds like a good opportunity to fill one out and send it in! http://clojure.org/contributing

Re: Doseq, map-style

2012-06-18 Thread Softaddicts
Lets talk a bit about my world here. We created a product to link medical equipments using a variety of protocols, some talk HL7, DICOM, others have proprietary means to access data from various places. From the start we chose the richest data representation, some of it came from a few medical

clojurescript - accessing `window` from a browser repl

2012-06-18 Thread Dustin Getz
i'm using lein-cljsbuild advanced example project[1], which seems to be the simplest way to get a working clojurescript dev env with browser repl. from the browser-based cljs repl, `window` isn't defined, and third-party javascript code using window fails: ClojureScript:cljs.user

Re: clojurescript - accessing `window` from a browser repl

2012-06-18 Thread Dustin Getz
same error happens in ClojureScriptOne as well. On Monday, June 18, 2012 7:58:13 PM UTC-4, Dustin Getz wrote: i'm using lein-cljsbuild advanced example project[1], which seems to be the simplest way to get a working clojurescript dev env with browser repl. from the browser-based cljs repl,

The reverse operation of juxt

2012-06-18 Thread Herwig Hochleitner
; ## Can this be considered an essential function? (defn scat Returns a function taking a seq on which f is applied. To [scat]ter is an antonym of to [juxt]apose. [f] (partial apply f)) ; # A motivating use case from clojurescript: (def to-js Makes a js object from a map (comp

Wildcards in Leiningen Dependencies Versions

2012-06-18 Thread Murtaza Husain
Hi, Does leiningen support wildcards in dependencies version numbers ? I would usually like to use the latest version for some library, and it would be nice if I can indicate it by using a wildcard, so tat I dont need to keep checking if a new version has been released. Thanks, Murtaza --

Re: Doseq, map-style

2012-06-18 Thread Kurt Harriger
On Jun 18, 2012, at 5:35 PM, Softaddicts lprefonta...@softaddicts.ca wrote: Lets talk a bit about my world here. We created a product to link medical equipments using a variety of protocols, some talk HL7, DICOM, others have proprietary means to access data from various places. From the

Re: Wildcards in Leiningen Dependencies Versions

2012-06-18 Thread Phil Hagelberg
On Mon, Jun 18, 2012 at 5:20 PM, Murtaza Husain murtaza.hus...@sevenolives.com wrote: Does leiningen support wildcards in dependencies version numbers ? I would usually like to use the latest version for some library, and it would be nice if I can indicate it by using a wildcard, so tat I dont

Boston area Architect

2012-06-18 Thread Michael Daines
I wanted to post this job because it's still open at my company and it would be a great way to sneak Clojure in. A new project is starting up with an eye toward big data, and whoever takes the architect position will set the direction.

Re: meta-questions - [clojure] in front of Subject line

2012-06-18 Thread Andy Coolware
Hi, thx a lot for all viewpoints. I am personally a bit torn. On one hand, when I open my gmail I have hard time to distinguish between all groups I am subscribed too. When you get tens of threads updated daily, this is really handy. However, I hate to have a redundant information in Subject and

Re: Wildcards in Leiningen Dependencies Versions

2012-06-18 Thread Jason Lewis
One thing I would like to see is something like the tiddle-wakka in Ruby Gemfiles, ie, gem 'foo', '~ 1.2.3' would match 1.2.x where x 3, and so on for the most precise specified version number (major, minor, patch) It's super effective. On Jun 18, 2012 8:32 PM, Phil Hagelberg p...@hagelb.org

Re: Doseq, map-style

2012-06-18 Thread Softaddicts
The protocol profile describes the data items, their attributes and where they fit in the overall structure. The DSL is there to encode the representation from a human readable format It's not per se specific to the medical field, the same trick could be used for other standard business