Re: [ANN] Clojure 1.8.0-RC2

2015-12-11 Thread Alex Miller
Hey Serzh,

Rich just pushed a change to master that removes unused interns in the 
static initializers - we are doing some further testing on it before 
creating an RC but if you wanted to check it out as a snapshot, I'd be 
interested in hearing your feedback in particular as you have a specific 
need for it. 

You can see info on how to use a snapshot build of Clojure here (you need 
to add the snapshot Maven repository):
  http://dev.clojure.org/display/community/Maven+Settings+and+Repositories

Alex

On Tuesday, December 1, 2015 at 1:46:22 AM UTC-6, Serzh Nechyporchuk wrote:
>
> Hello, Alex. Thank you for your work.
>
> Direct linking is a feature that we wait for a long. We need to obfuscate 
> our code, so direct linking is really helps us.
> But I wonder, why there is keyword and symbols interning left in the 
> static initalizer in the class:
>
> L1 {
>  ldc "clojure.core" (java.lang.String)
>  ldc "float?" (java.lang.String)
>  invokestatic clojure/lang/RT 
> var((Ljava/lang/String;Ljava/lang/String;)Lclojure/lang/Var;);
>  checkcast clojure/lang/Var
>  putstatic 
> malt/utils$string_to_double.const__0:clojure.lang.Var
>  ...
> }
>
> But neither *invoke* nor *invokeStatic *doesn't use them.
> We want to get rid of this interns because they undermine code obfuscation.
>
> Thank you
>
>
> Clojure 1.8.0-RC2 is now available. *This build is a "release candidate"!* We 
>> would appreciate any and all testing you can do on your own libraries or 
>> internal projects to find problems. 
>>
>> Try it via
>>
>>- Download: 
>>https://repo1.maven.org/maven2/org/clojure/clojure/1.8.0-RC2
>>- Leiningen: [org.clojure/clojure "1.8.0-RC2"]
>>
>> Below are the changes since 1.8.0-RC1. See the full 1.8 change log here: 
>> https://github.com/clojure/clojure/blob/master/changes.md.
>>
>>- CLJ-1846  Fix 
>>VerifyError when primitive type hints are incorrect. These cases now 
>> throw 
>>compiler errors.
>>   - Example: (defn foo ^long [] 1)  (Integer/bitCount ^int (foo))
>>   - In this example, foo returns a long but is type hinted 
>>   (incorrectly) as an int. This case will now throw a compilation error. 
>> The 
>>   correct way to do this is with a cast:  (Integer/bitCount (int 
>>   (foo)))
>>- CLJ-1825  Fix 
>>compilation errors on direct linking of anonymous recursive functions
>>
>>

-- 
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
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Pilloxa, eHealth IoT startup is looking for app/backend devs. Clojure(Script) stack.

2015-12-11 Thread Viktor Eriksson
Hi!
Interested in working with Clojure on your day job?
Pilloxa is an eHealth IoT startup sprung from a research project here in 
Stockholm. We are looking for app/backend developers. Our solution solves a 
problem that, only in Sweden, causes 4000 deaths and costs 2 bn EUR per 
year.
Stack: Preliminarily Clojure on backend and ClojureScript + React Native 
for iOS/Android. 
No previous experience of Clojure required but functional experience is a 
plus. If you are interested in learning new things and excited about the 
possibility of having a great impact on people’s lives, Pilloxa will be the 
place for you. Remote is not preferred, but Stockholm is a nice city. If it 
sounds interesting, send an email to (str "recruitment" "@" "pilloxa.com") 
with a short description of yourself and your github profile.
Help us save lives! 

-- 
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
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


tiesql - Clojure sql lib to do sql stuff and more

2015-12-11 Thread Mamun
Hi All,

Find link in bellow

https://github.com/Mamun/tie/tree/master/tiesql

Clojurescript/om example 

https://github.com/Mamun/tiesql-om

Still work in progress but look forward to get your feedback.

Br,
Mamun

-- 
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
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Streamlining dev environment startup

2015-12-11 Thread Webdev Tory Anderson
Ah, very good. I see that in the new Luminus templates, and look forward to 
trying it. 

-- 
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
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Clojure community organisation

2015-12-11 Thread Devin Walters
This initiative seems overdue by a couple years. I would like to offer some
non-trivial portion of my time. Is there anywhere people could donate to
ensure this becomes a valuable and positive community reality?

On Thu, Dec 10, 2015 at 4:38 PM Alex Miller  wrote:

> I don't think we have any official position on it, but I can respond to
> various items that have been mentioned above in the thread:
>
> 1) Google Summer of Code - we (Cognitect) are again acting as a receiver
> of stipends and distributor of travel funds this year but would happily let
> another org do that instead.  Cognitect currently provides free tickets for
> GSOC students to attend once conference in the year following their
> participation, and we would be happy to continue doing so.
>
> 2) clojure.org / documentation - we are very far along in the process of
> open sourcing the content on http://clojure.org. All of the content for
> the new version of the site is available at
> http://github.com/clojure/clojure-site and open for contributions via
> pull request. There are a bunch of issues there with things to do if you
> want to help. I am spending most of my time right now finalizing the
> staging/deployment/ci infrastructure for that and it is inching ever closer
> to being ready to go live as the real site.
>
> 3) CLAs, github, jira, confluence, hudson - Cognitect does not have plans
> to give up control of these sites. Community members have rights to access
> these sites already. I have spent a fair amount of time moving towards
> hosted cloud versions of some of these in the last couple months - the work
> involved is ... painful. Once clojure.org is live, I plan to put these
> back on priority list.
>
> 4) Conferences - Cognitect has no plans to give up the organization of the
> three Clojure conferences we run (Clojure/Conj, Clojure/West, and
> EuroClojure). Other people or organizations are of course welcome and
> encouraged to create their own events - we already have great ones like
> ClojureEx, clojureD, ClojuTre, Clojure Remote, etc.
>
> 5) Clojars - seems to have had a pretty successful time in seeking
> sponsors for their ongoing support, which is great! This is a community
> resource and I'm glad to see the community supporting it.
>
> 6) ClojureBridge - now has the ability to receive funds (go donate!) and
> manage things via the Bridge Foundry.
>
> Given all that, it's not clear to me what role a Clojure community
> organization would play. I think figuring out the goal is obviously the
> important part.
>
>
>
> On Thursday, December 10, 2015 at 2:36:06 PM UTC-6, Daniel Compton wrote:
>
>> Hi Alex
>>
>> Following up on this, is there anything else you can share?
>>
>> Thanks, Daniel.
>>
> --
> 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
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ANN] Scheje - a tiny scheme on top of Clojure using Macros

2015-12-11 Thread Rafik NACCACHE
Hi everybody,

I published the scheme kernel of what we've done during the last clojure
cup and compiled it into a little project:

Scheje - https://github.com/turbopape/scheje

Scheje uses clojure macros to interpret some light scheme and evaluate it.

In fact, this version works quite decently (not the case for Clojure Cup,
unfortunately).

Now I can do my scheme stuff on Clojure :)

Rafik

-- 
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
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Streamlining dev environment startup

2015-12-11 Thread Dmitri
The recommended way to manage components in Luminus is using the mount 
library (https://github.com/tolitius/mount), it's much less intrusive than 
Component in my opinion and provides most of the same benefits without 
requiring you to structure your application around it. The latest version 
of mount has both Clojure and ClojureScript support as well. It's now 
included in the template by default in recent versions.

On Thursday, December 3, 2015 at 5:24:48 AM UTC-5, Sven Richter wrote:
>
> It definitly is compatible. It just takes some manual work. Like I said, I 
> started myself with the luminus template and implement components + other 
> stuff into it. 
> You can definitly do it and I also recommend it for the sole reason that a 
> change to the routes in compojure will lead to a restart of the repl. You 
> can circumvent that by reloading the code base. 
> It may have changed in the last two years, but then I am not up to date.
>
> Best Regards,
> Sven
>
> Am Mittwoch, 2. Dezember 2015 22:05:58 UTC+1 schrieb Webdev Tory Anderson:
>>
>> Maybe I spoke too soon when mentioning incompatibility between Luminus 
>> and Reloaded. I look forward to taking a closer look at your work!
>>
>> On Wednesday, December 2, 2015 at 1:49:20 AM UTC-7, Sven Richter wrote:
>>>
>>> Hi,
>>>
>>> I based a template on luminus myself and added some stuff. It also 
>>> contains predefined components so you don't have to add it yourself.
>>> You can look how its done here: 
>>> https://github.com/sveri/closp/tree/master/resources/leiningen/new/closp/clj/components
>>>
>>> Best Regards,
>>> Sven
>>>
>>> Am Dienstag, 1. Dezember 2015 17:43:41 UTC+1 schrieb Colin Yates:

 The general idea is to use the ‘reloaded’ pattern, so rather than `lein 
 run` you would have a function which starts and stop the system. You still 
 need to run figwheel and mongo (yay for document databases) as separate 
 processes, although I tend to do those in straight terminals rather than 
 emacs shells as they live longer than my emacs does.

 You can find more about the reloaded pattern and a prescripted approach 
 to structuring your app here: https://github.com/stuartsierra/component
 .

 I think it is fairly common to have:
  - your major building blocks as components
  - a specific dev namespace which is only on the :dev profile
  - fns in that namespace to start/stop components or the entire system

 There are some libraries which build on the component library: 
 https://github.com/danielsz/system for example.

 HTH.

 On 1 Dec 2015, at 16:26, Webdev Tory Anderson  
 wrote:

 I recently read something hinting at ways of streamlining the startup 
 process for the dev environment, so I'm hoping you good folks can give me 
 some tips. I'm developing a web app in Linux, Clojurescript/Clojure 
 (incidentally using the Luminus architecture). I use emacs (that part's 
 non-negotiable; sorry). The cumbersome startup process I usually have goes 
 like this:

 M-x shell
> mongod # start the mongo daemon
>
> M-x shell
> lein run # start the app and server
>
> M-x shell
> lein figwheel #start CLJS development
>
> (open a .clj file)
> C-c M-c  # (cider-connect)
> # insert localhost, port num, which proj. to connect to
>
>
 This is usually bearable since I only have to do it once or twice a 
 week, but it's definitely the sort of redundancy that would be nice to 
 eliminate. The "lein run" is good to have foregrounded because I can see 
 timbre statements and cleanly reboot when necessary. Figwheel, at the 
 moment, has to be foregrounded because that's where the figwheel prompt 
 ends up (I'd love to have that in Cider somehow, though). 

 Any recommendations on how to chop some of these steps off?



 -- 
 You received this message because you are subscribed to the Google
 Groups "Clojure" group.
 To post to this group, send email to clo...@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
 clojure+u...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 --- 
 You received this message because you are subscribed to the Google 
 Groups "Clojure" group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to clojure+u...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 
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 

[ANN] aatree release 0.6.1--Db-chan, Null-db-cache and LRU-db-cache

2015-12-11 Thread William la Forge
The aatree project provides fully compatible alternatives to Clojure 
sorted-map, sorted-set and vector, with several extensions:
  - AAVector supports add/drop at any point using addn and dropn.
  - AAMap and AASet implement Reversible, Counted, Indexed and Sorted
  - CountedSequence implements Counted and do not use synchronized.
  - Lazy deserialization/reserialization provides ridiculously fast 
deserialize/update/reserialize processing typical of disk access.
  - Virtual Structures that can be larger than memory.

New in Release 0.6.1:

   - Calf and Yearling now use the db chan trait in place of the db agent 
   trait by default.
   - Yearling now uses the lru db cache trait by default but also works 
   with the null db cache trait.
   
For more information about traits, see the AATree API 
.

https://github.com/laforge49/aatree#readme

On Clojars: https://clojars.org/aatree

Please feel free to comment on this project. Your participation would be 
most welcome.

-- 
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
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.