Re: [ANN] permissions - role & permission based access control

2016-10-10 Thread larry google groups
A minor pet peeve of mine, but is it possible to attach prime numbers to the roles, and to then decipher the roles from the factors of the total? Using strings or keywords for permissions often strikes me as inefficient. Assuming: create -- 2 read -- 3 update -- 5 delete -- 7 bulk-erase

Re: [?] cljs-devtools vs. dirac DevTools

2016-10-10 Thread Antonin Hildebrand
Hi, I'm the author of both tools. cljs-devtools is essential and you should start with it if you are developing under Chrome. It presents ClojureScript data structures when you print them via console.log. cljs-devtools must be configured as a library included in your project/app. Dirac is a

Re: Just quick review - "idiomaticy" check (Selection sort)

2016-10-10 Thread Mark Engelberg
Doesn't seem fair to use a sort algorithm in the implementation of selection sort. Besides, sort is an n*logn operation, so you don't want to (first (sort-by second ...)) anyway. Instead, choose (apply min-key second ...). Only catch is you need to make sure you don't pass an empty list, or it

Re: Clojure + ClojureScript + Electron + Om.Next + Boot and ProtoRepl on Atom to co-exist?

2016-10-10 Thread pat . killean
FWIW I removed the CSP from atom and now have figwheel running inside atom and its awesome On Friday, October 7, 2016 at 8:25:18 PM UTC-4, Ray King wrote: > > Thanks for all the direct and public replies so far, we take great > reassurance from them. > > Recapping the constraints: > > We have

Re: Just quick review - "idiomaticy" check (Selection sort)

2016-10-10 Thread Steve Miner
> On Oct 10, 2016, at 6:50 AM, Rastko Soskic wrote: > > I am specially interested in better way for processing input which shrinks > after each step. Vectors have some nice properties if your action is mostly at the end. The peek and pop functions are useful for

[JOB] Mastodon C looking for Clojure and Devops

2016-10-10 Thread Bruce Durling
Hi! My company, Mastodon C is looking for people who like clojure and devops. The details on the job are here: http://www.mastodonc.com/hiring/2016/09/23/delivery-manager.html We're based in London, but happy to work with remote people in the UK. cheers, Bruce CTO Mastodon C -- You received

[ANN] codox-klipse-theme 0.0.1- Clojure[script] automatically generated live documentation

2016-10-10 Thread Yehonathan Sharvit
https://github.com/viebel/codox-klipse-theme codox is a great tool for generating API documentation from Clojure or ClojureScript source code. With the klipse theme for codox, you can make your codox documentation live and interactive powered by the KLIPSE

Re: Just quick review - "idiomaticy" check (Selection sort)

2016-10-10 Thread Rastko Soskic
Yeah you are right, it is simpler, I just wanted to avoid usage of any sort* function, I've probably gone too far :) *split-at* is cool reminder :) totally forgot about it :) Thanks! On Monday, October 10, 2016 at 3:33:16 PM UTC+2, Moe Aboulkheir wrote: > > Here's an example w/ iterate & a

Re: Just quick review - "idiomaticy" check (Selection sort)

2016-10-10 Thread Moe Aboulkheir
Here's an example w/ iterate & a simpler 'smallest': (defn- smallest [xs] (->> xs (map-indexed vector) (sort-by second) first)) (defn selection-sort [s] (->> (iterate (fn [[acc xs]] (let [[i x] (smallest xs) [l r] (split-at i xs)] [(conj acc x)

[ANN] permissions - role & permission based access control

2016-10-10 Thread Torsten Uhlmann
I'd like to announce the first preview of "permissions"- a small library to handle role and permission based access control in web applications. Github: https://github.com/tuhlmann/permissions Clojars: https://clojars.org/agynamix/permissions Permissions is heavily inspired and modeled after

Just quick review - "idiomaticy" check (Selection sort)

2016-10-10 Thread Rastko Soskic
Hi, I thought perhaps asking on IRC instead here - but chose here anyway :) I am doing just some exercises in scope of various algorithms, data structures etc. Currently, in scope is *selection sort*. I came up of this implementation in Clojure (original examples are in Python and Ruby where

Re: Neanderhal 0.8.0 released - includes Windows build

2016-10-10 Thread Dragan Djuric
You're right - matrix inversion is on the TODO list. However, in most cases when you think you need matrix inverse (which is very computationally expensive), you actually need some factorization (which is computationally expensive, but less than the whole inversion). Factorizations are, though,

Re: Neanderhal 0.8.0 released - includes Windows build

2016-10-10 Thread Sungjin Chun
It seems that matrix inversion routine is not in the current version of neanderthal or I cannot find what it is. However, some interesting routines like axpy (I've no experience on BLAS/LAPACK) are fresh (positively) to me :-) Thank you. On Monday, October 10, 2016 at 2:10:27 PM UTC+9, Dragan

Best style for clojure.spec and namespaced keywords?

2016-10-10 Thread David Goldfarb
I'm starting to dive into clojure.spec, which is a strong motivation for me to finally appreciate and use namespaced keywords -- an aspect of Clojure that I've ignored until now. I don't have a good sense of style re how to namespace keywords, especially in standalone projects. I'm inclined to