Indexable structures for easier lookup and retrieve

2016-07-19 Thread Olek
Hi! Often through the software development I bump into structures defining specification/manifest/configuration of some Unit (service/process/transformation/configuration). >From my observation I've noticed the repeating pattern in software development for consuming above. We star with a stru

Re: Learning Google's Map Reduce with Clojure

2016-07-01 Thread Olek
statically typed language is a win. On Wednesday, 29 June 2016 22:20:57 UTC+2, Olek wrote: > > Hi! > > I was refreshing my knowledge from Google's Map Reduce. > I've decided to code some examples in Clojure since it is my favorite > language. > Here is the code fro

Learning Google's Map Reduce with Clojure

2016-06-29 Thread Olek
Hi! I was refreshing my knowledge from Google's Map Reduce. I've decided to code some examples in Clojure since it is my favorite language. Here is the code from the learning process https://github.com/naleksander/mapreduce I guess that it is time now to code it in Scala *wink* Btw. if I were

Too over complicated

2016-06-18 Thread Olek
Hi! I've back to Clojure env. after 3 years of absence. I have started to code in my best language ever and was hit by some difficulties with the simplest things on earth I remember when I first dived into language and started coding in it. After 4 months of heavy doc/forum/irc usage I was able

Clojure in Scripting Engine JSR-223

2016-05-10 Thread Olek
Is Clojure compilant with scripting engine API (JSR-223)? Last notes are from 2009. Thanks in advance, Olek -- 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 post

Re: Schemas for DSLs on top of Clojure

2016-04-30 Thread Olek
ntraints using > something like https://github.com/plumatic/schema > > On Friday, April 29, 2016 at 1:10:29 PM UTC-5, Olek wrote: >> >> Hi! >> >> Clojure data structures can express tree data structures, same as in XML >> what is ideal for DSL. Especia

Schemas for DSLs on top of Clojure

2016-04-29 Thread Olek
possibility is missing for Clojure. Do you have any ready tool for that or do I have to create one? Thanks in advance, Olek -- 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

Re: Lazy evaluation of arguments

2016-04-26 Thread Olek
e, Apr 26, 2016 at 2:23 PM, Olek > > wrote: > >> Yes, the delay and force does the job. Now it would be nice to hide delay >> declaration in arguments destruction as already proposed: >> >> (den mycrazyif [ statement ~onsuccess ~onfailure ] ; nonsuccess and on

Re: Lazy evaluation of arguments

2016-04-26 Thread Olek
xprs! An ancient technology from a > by-gone age: https://en.wikipedia.org/wiki/Fexpr > > On Tue, Apr 26, 2016 at 2:23 PM, Olek > > wrote: > >> Yes, the delay and force does the job. Now it would be nice to hide delay >> declaration in arguments destruction as alrea

Re: Lazy evaluation of arguments

2016-04-26 Thread Olek
e) I reach for `delay` and `force`. > > On Tuesday, 26 April 2016 16:41:08 UTC+1, Olek wrote: >> >> Hi! >> >> In short: >> >> I have noticed that in most cases I use macros only for lazy arguments >> evaluation. Why not to make something to use

Lazy evaluation of arguments

2016-04-26 Thread Olek
uld just implement it in arguments destruction so you can use constructs like: (defn mycrazyif [ statement ~onsuccess ~onfailure ] (if statement ; just evalutated with mycrazyif call @onsucess ; deref block in case of success @onfailure)) ; deref block in case of failure W

Re: Stable clojure.xml/parse

2016-04-02 Thread Olek
jure.xml already uses SAX: it just > supplies a content handler that builds the clojure structures > clojure.xml/parse returns. > > > > On Friday, April 1, 2016 at 10:39:10 AM UTC-5, Olek wrote: >> >> Hi! >> >> I need a stable clojure.xml/parse. >> Un

Stable clojure.xml/parse

2016-04-01 Thread Olek
also there are such business requirements. Do you know how to achieve that (do I have write SAX parser?! ;-( )? It would be good if the outputting data structure was the same as for clojure.xml/parse (or I will just transform it to desired form). Thanks in advance! Olek -- You received this me

Re: Homoiconicity in Clojure - the broken promise

2015-08-27 Thread Olek
}) ] :elseifs [ ] :else nil}) On Thursday, 27 August 2015 16:16:17 UTC+2, James Reeves wrote: > > On 27 August 2015 at 10:31, Olek > > wrote: >> >> Today I fall into: >> >> java.lang.RuntimeException: j

Homoiconicity in Clojure - the broken promise

2015-08-27 Thread Olek
e the problem for me, not me for the case of stupid 64kb method limit. Thanks in advance, Olek -- 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 member

Clojure, WEB and Enterprise development

2015-08-05 Thread Olek
Hi! I was using Clojure for a long time. It has been used for private and commercial projects (sniffed by me and hated by others). Now it has been abandoned. It's not giving me any money nor there is no agreement in peers to use it. But... I think that Clojure has a future. Datomic is read

Re: Is Clojure Simple?

2011-10-25 Thread Olek
Yes, Easy to track. Nevertheless this definition passes Rich's list. -- 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

Re: ClojureScript Presentation - video

2011-07-26 Thread Olek
Agree, the same for ipod/ipad devs. Youtube is defacto standard for contet publishing, due to wide support. -- 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

Matching balanced text?

2011-03-04 Thread Olek
Hi! I would like to parse text like "some ${mpw${next}abc} tata" in order to find all ${...} occurrences. What is interesting that in that string there are nested ${ ... } expressions. Is there any way to easily reg-ex (or parse) such groups in Clojure? I have checked perl reg-ex and here is the

Yield implementation

2011-02-22 Thread Olek
Hi, I know that it is not a lispy way, but most of us come from imperative Java world, and if there is anyone who needs python/ruby yield here it is: http://bit.ly/ejQrLl and the example usage is: http://bit.ly/ekBHr0 Cheers, Olek -- You received this message because you are subscribed to the

Stream not closed when reading clojure-version

2011-02-15 Thread Olek
Hi, In 1.2 (line core.clj:5466) and 1.3 (line core.clj:5911) versions of Clojure, opened stream for reading clojure-version is not closed what causes problems in JEE env. Cheers, Olek -- You received this message because you are subscribed to the Google Groups "Clojure" group. To po

Re: ANN: Textmash - another IDE for Clojure

2011-02-13 Thread Olek
ding?). So the plugins API would solve real problems. Regards, Olek On 12 Lut, 06:16, Shantanu Kumar wrote: > On Feb 12, 8:26 am, Olek wrote: > > > Hi! > > > What is the status of paredit.clj in TextMash? Do you have any time > > for integration? > > I have moved

Re: ANN: Textmash - another IDE for Clojure

2011-02-11 Thread Olek
Hi! What is the status of paredit.clj in TextMash? Do you have any time for integration? I have moved project to lein in case anyone care. Editor pane is pretty much advanced, but still missing: encoding support, files managment, text transformations, multiple repl support and evaluation, brackets

Re: ANN: Textmash - another IDE for Clojure

2011-02-07 Thread Olek
t, 00:01, Laurent PETIT wrote: > Hi Olek, > > I haven't found time to work more on it lately, but checked the > current status of the codebase today. > It appears that all new work is going into Textmash2, a rewrite in > Clojure, if I understand it correctly ? > > I

Re: ANN: Sisyphus - mapreduce implemented in Clojure

2011-01-26 Thread Olek
text on the WIKI, so thanks for your question. On 26 Sty, 01:18, kovas boguta wrote: > Hi Olek, > > Could you explain how this differs from Hadoop in concept and in > execution? Thanks. > > > > > > > > On Tue, Jan 25, 2011 at 2:26 PM, Olek wrote: >

ANN: Sisyphus - mapreduce implemented in Clojure

2011-01-25 Thread Olek
Hi! It is nice to announce that Sisyphus - the google's mapreduce implemented in Clojure - has been released. Here are the sources: https://github.com/njoanna/Sisyphus Some comments are still in polish but they will be gradually replaced with english version. Right now there are 5 tasks (zadanie

Re: ANN: Textmash - another IDE for Clojure

2011-01-23 Thread Olek
Yes, make a branch. I seen many people are using "leiningened", so it is a good (main stream) choice, especially that your parts of code are written in Clojure. The layout of menus is made in pl/olek/textmash/menu/ WorkspaceMenu.java. I have also started TextMash2 which is going to b

Re: ANN: Textmash - another IDE for Clojure

2011-01-23 Thread Olek
Pros: 1. Yes, it uses Swing. I have even stared writting it in Clojure, but startup time was too long, not acceptable for lightweight text editor. 2. Yes, it is. I've carefully studied Mac's TextEdit, NetBeans and Eclipse and merged theirs ideas. Cons: 1. Yeah, I haven't implemented highligting ye

Re: ANN: Textmash - another IDE for Clojure

2011-01-23 Thread Olek
I have added you to committers group, so you can commit your work. Later I will switch to github since SVN with its "central repository" scenario is not very useful in situation where I'm lack of time. On 23 Sty, 00:28, Laurent PETIT wrote: > Hello again Olek, > >

Re: ANN: clojurejs -- a Clojure (subset) to Javascript translator

2011-01-18 Thread Olek
Nice work, maybe something like GWT but written in Clojure, will knock to ours doors. On 11 Sty, 06:09, Ram Krishnan wrote: > Hi all, > > I've just released a stable version of `clojurejs' -- an > unimaginatively named Clojure library for translating a Clojure subset > language to Javascript. >

ANN: Textmash - another IDE for Clojure

2011-01-18 Thread Olek
Hi, Here is a link: http://code.google.com/p/textmash/ Some time ago I have written it in order to help accomplish a task of creating some paraller processing system written entirely in Clojure (it was the map reduce framework from Google). It was also used with success in other tasks, like edi