any job opportunity in China ?
2013/5/27 Functional Jobs
> Here are some functional programming job opportunities that were posted
>
> recently:
>
>
>
> Clojure Programmer at Triggit
>
> http://functionaljobs.com/jobs/148-clojure-programmer-at-triggit
>
>
>
> Cheers,
>
> Sean Murphy
>
> Functio
you can just use (every? true? '(arg1 arg2 )) or def a simple function
.
i think the Core is powerful enough.
2013/6/11 Cedric Greevey
> There's also the defmacro route:
>
> (defmacro if-and [test-expr binding & tests]
> `(let [~binding ~test-expr]
> (and ~@(concat tests [binding])))
Hi , all
I am new to Clojure.
For now , i have a piece of code :
(let [res {}]
(doseq [id [111 222 333]
num [2 3 4]]
(assoc res id num))
(count res))
i want to get the res {111 2 , 222 3 , 333 4} and count 3
but the repl return me {} and 0
i r
rom internet , i am using line-seq & doseq
to deal with the big log file lazily.
Is that right way to use clojue to deal this problem?
Any suggestions will be grateful!!!
2013/10/28 Michael Klishin
>
> 2013/10/28 Jiaqi Liu
>
>> i really don't get it.
>> Any suggest
hi , guys
I wrote the following codes to parse log files.
it's alright to parse small one.
But with big log files , i got the following error:
"OutOfMemoryError GC overhead limit exceeded clojure.core/line-seq
(core.clj:2679)"
(defn parse-file
""
[file]
(with-open [rdr (io/reader file)]
Hi,all
I want to parse big log files using Clojure.
And the structure of each line record is
"UserID,Lantitude,Lontitude,Timestamp".
My implemented steps are:
> Read log file & Get top-n user list
> Find each top-n user's records and store in separate log file
(UserID.log) .
The implement
e (lines) to the
> result of line-seq. Don't do that. Try:
> (parse-recur (line-seq rdr))
>
>
> On Tue, Nov 19, 2013 at 7:27 PM, Jiaqi Liu wrote:
>
>> Hi,all
>> I want to parse big log files using Clojure.
>> And the structure of each line record is
>>
sorry, i mean "weird"...
2013/11/20 Jiaqi Liu
> hi,Mark ,thanks for your suggestion.
> I modified the main function to :
> ;
> (defn parse-file
> ""
> [file n]
> (with-open [rdr (io/reader file)]
>
t;
> This way, the recur goes back to the main function entry point and ls is
> overwritten, so nothing is holding on to the head. Make similar changes to
> the other functions.
>
>
>
> On Tue, Nov 19, 2013 at 8:07 PM, Jiaqi Liu wrote:
>
>>
, this book is very easy for beginners to study ,
also have plenty source codes
2013/5/4 nrel...@yahoo.com
>
>
> On Saturday, May 4, 2013 2:01:48 PM UTC+8, nre...@yahoo.com wrote:
>>
>> Can anybody give me a link/websites of codes for BEGINNERS FOR CLOJURE?
>>
>
> Thanks
>
> --
> --
> You rec
10 matches
Mail list logo