Re: [ANN] Hoplon: web applications in Clojure and ClojureScript

2013-12-18 Thread Clinton Dreisbach
So excited to see this officially released! Hoplon is some cool shit.

-- Clinton


On Wed, Dec 18, 2013 at 3:05 PM, Micha Niskin micha.nis...@gmail.comwrote:

 Documentation is here: http://hoplon.io

 We continue to add documentation all the time. Serverside stuff not yet
 documented yet. Feedback welcomed!

 -- Micha Niskin and Alan Dipert

 --
 --
 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/groups/opt_out.


-- 
-- 
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/groups/opt_out.


Re: [ANN] overload-middleware 0.1.1

2013-11-17 Thread Clinton Dreisbach
People, you are not going to win a fight with a Level 65 Troll Wizard. Back
away slowly.

Rob, this is a cool library: thanks for writing it.

-- Clinton Dreisbach


On Sun, Nov 17, 2013 at 7:53 AM, Cedric Greevey cgree...@gmail.com wrote:

 So, when people here are talking about the web, they might not be talking
 about the web. Erm, okay, I guess ...


 On Sun, Nov 17, 2013 at 7:11 AM, James Reeves ja...@booleanknot.comwrote:

 On 17 November 2013 05:25, Cedric Greevey cgree...@gmail.com wrote:

 On Sat, Nov 16, 2013 at 9:35 PM, James Reeves ja...@booleanknot.comwrote:

 On 17 November 2013 01:52, Cedric Greevey cgree...@gmail.com wrote:

 The distribution will be narrow and peak at around 1 second, though,
 which may not be what you want. Of course, the OP has since indicated that
 he meant non-web uses of HTTP rather than serving web sites...


 Web services are generally considered to be part of the web, hence the
 term *web* service :)


  Well, which is it? Either it's the web, and the user will probably
 promptly hit reload if faced with a 503 error at what should be a working
 URL, or else it's not the web, and lies outside the scope of my original
 remark.


 You're going to be very confused if you keep believing that the web only
 refers to the visible parts you can access through a browser!

 When people talk about web apps, they're not necessarily talking about
 websites. You just need to use your common sense to discern what they mean.
 If someone suggests something that might seem undesirable for a user-facing
 website to have, maybe they're talking about a machine-readable web service
 instead.

 - James

 --
 --
 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/groups/opt_out.


  --
 --
 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/groups/opt_out.


-- 
-- 
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/groups/opt_out.


Re: In what OS do you code?

2013-06-14 Thread Clinton Dreisbach
I'm the opposite of Laurent (OS X at work and Linux at home) but I agree
with him. My toolchain is Java, Clojure, and Emacs, so I notice very little
difference between the two. My biggest pain point is differences in shell
scripts, mainly because OS X ships with BSD sed instead of GNU sed, which
is quite different.

-- Clinton


On Fri, Jun 14, 2013 at 10:45 AM, Laurent PETIT laurent.pe...@gmail.comwrote:

 Linux at work, OS X at home.

 But this makes no big difference, since my toolchain is java end to
 end: Eclipse, Maven.

 2013/6/14 Erlis Vidal er...@erlisvidal.com:
  Hi,
 
  I'm a bit curious to know in what OS do you code. Do you prefer iOS,
 Linux,
  Windows? Why is that? Because the tools? The environment?
 
  Thanks!
 
  --
  --
  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/groups/opt_out.
 
 

 --
 --
 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/groups/opt_out.




-- 
-- 
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/groups/opt_out.




Re: In what OS do you code?

2013-06-14 Thread Clinton Dreisbach
I think that's more like Linux is the predominant OS among people who love
to talk about their OS. In my experience, there's a lot more Mac users
than any other group.


On Fri, Jun 14, 2013 at 2:11 PM, Erlis Vidal er...@erlisvidal.com wrote:

 Hi guys!

 Thanks for all the responses, it looks like Linux is the predominant OS in
 the Clojure community.




 On Fri, Jun 14, 2013 at 2:06 PM, Jim - FooBar(); jimpil1...@gmail.comwrote:

 I use GNU/Linux exclusively as well...no other OS makes me feel in
 control :)

 Jim



 On 14/06/13 18:57, Mikhail Kryshen wrote:

 I use GNU/Linux (specifically, Fedora at home and openSUSE, which I don't
 like much compared to other distros, at work):
 - I do not trust proprietary software vendors,
 - I avoid supporting Microsoft and Apple out of ethical issues,
 - I prefer the software distribution model where software comes from a
 few trusted sources — repositories with packages verified, compiled and
 signed by the distribution's maintainers.

 Erlis Vidal er...@erlisvidal.com writes:

  Hi,

 I'm a bit curious to know in what OS do you code. Do you prefer iOS,
 Linux,
 Windows? Why is that? Because the tools? The environment?

 Thanks!

 --
 --
 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+unsubscribe@**googlegroups.comclojure%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/**group/clojure?hl=enhttp://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+unsubscribe@**googlegroups.comclojure%2bunsubscr...@googlegroups.com
 .
 For more options, visit 
 https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
 .



 --
 --
 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+unsubscribe@**googlegroups.comclojure%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/**group/clojure?hl=enhttp://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+unsubscribe@**googlegroups.comclojure%2bunsubscr...@googlegroups.com
 .
 For more options, visit 
 https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
 .



  --
 --
 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/groups/opt_out.




-- 
-- 
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/groups/opt_out.




Re: link for clojure programs

2013-05-06 Thread Clinton Dreisbach
Holy smokes, please ignore the previous email on this thread. You most
certainly do not need to read SICP (the MIT course mentioned), and in
my experience, being inculcated with Scheme will make your Clojure
code look insane, as idiomatic Clojure (insomuch as there is such a
thing) doesn't have functions nested with a butt-load of anonymous
functions.

http://clojure-doc.org is great and you should go there first. Don't
freak out about your environment just yet. Use whatever you use now,
and if you're lucky enough to use Vim or Emacs, it'll work for the
future, too.

Clojure Programming is, in my opinion, the best book out there right
now for Clojure. Check it out if you get the chance.

Do not rush into refs, atoms, agents, or any of that stuff. Just right
some simple code, learn it, and then expand. I've been writing Clojure
code for about 15 or so months, with the last six being every day
professionally and I still have never created a protocol.

Good luck! Clojure is no harder than Python, C#, or whatever you come
from, and is totally rewarding. Learning it will be a pleasure.

Best,
Clinton


On Mon, May 6, 2013 at 6:11 AM, Catonano caton...@gmail.com wrote:
 2013/5/4 nrel...@yahoo.com nrel...@yahoo.com

 Can anybody give me a link/websites of codes for BEGINNERS FOR CLOJURE?
 thanks a lot...


 There are tons of resources on line.

 But in my experience, the famous MIT course  with Abelsson and Sussman is a
 must. It´s about Scheme, not Clojure, but it´s important anyway.

 There is also a course on youtube on Scheme by another professor, from
 Stanford. That can be important too.

 Then, you have to set up an enviroinment. That´s not a subtlety, it´s a main
 concern.

 As for that, I strongly suggest the Peepcode footage about Emacs and then
 live-emacs ( https://github.com/overtone/emacs-live )

 On my shameful github account I have a little watered down game life with a
 little visual layer made with Quilt. So you can see your bot filling square
 tiles according to your strategy.

 It was an exercise from the lambda-next clojure training event. I´m not sure
 about its license but I don´t think the guys are gonna object ;-)

 It uses refs and can be a good first step in learning. The multithreading
 stuff is specific to Clojure on the Jvm, I think. It has no readme file but
 I could give you a couple of directions in order to have it up and running.

 That´s all comes to m mind at the moment ;-)

 Bye
 Catonano

 --
 --
 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/groups/opt_out.



-- 
-- 
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/groups/opt_out.




Re: New CSS library - Garden

2013-04-25 Thread Clinton Dreisbach
One interesting thing you could do, given both Garden and
ClojureScript, is package CSS frameworks like Twitter Bootstrap or
Zurb Foundation as a Clojure library. I am sorely tempted to give this
a try.

On Thu, Apr 25, 2013 at 6:12 PM, Joel Holdbrooks cjholdbro...@gmail.com wrote:
 Murtaza,

 Thanks for having a look at the library. I'll try to answer you questions as
 best as I can.


 How does Garden compare to other pre processors such as sass and less?

 There are some similarities with Garden and other CSS preprocessors. I've
 tried to bring over the ones I found most useful when using them. Nested
 selectors and declarations, parent selector references, and unit arithmetic
 are all currently available to stylesheet authors.

 The big difference and, in my opinion, the big win is you can build your
 stylesheets with regular Clojure. This gives you a lot of power and freedom
 you won't find anywhere else (AFAIK). To name just a few benefits:

 There's no file parsing or interpretation step. It's just data
 transformation.
 There's no need for any sort of special @mixin syntax or macros, you can use
 Clojure function.
 There's no need for an @include directive thanks to clojure namespaces. This
 can help you organize your stylesheet in ways (I think) are much cleaner and
 less surprising than SASS and other preprocessors.
 Thanks to Clojure, Garden (potentially) has clearer syntax than CSS which,
 if you look closely, can be pretty random in some places.

 WIth regard to the third point, if you've ever tried using the SMACSS
 approach to stylesheet authoring with a preprocessor like SASS, you can end
 up with an explosion of files and tons of @include directives. It's not fun,
 it's hard to manage, and it's difficult to see where code is coming from -
 especially when using 3rd-party libraries.

 Also can I use it in my clojurescript projects ? I mean does it have any
 java lib dependencies that would prevent it?

 It does have one small dependency on java.net.URI but I need some time to
 think about whether or not it would be worth dropping. As far as using it
 from a ClojureScript project, what sort of use case are you considering?

 What is the workflow when using Garden?

 My experience using Garden is probably close to others at this point. It's
 kind of funny in that regard. I'm building a tool and at the same time am
 learning how to use it. Personally, I create a namespace for my core
 stylesheets and separate namespaces for things like utilities and so forth
 (ie. (ns me.css (:require [me.css.button :as button])) . Then I have a call
 to function that compiles and saves the stylesheet at the bottom of the
 core stylesheets. Since I develop with Emacs and nREPL this means all I
 have to do is reload the file and the CSS is refreshed.

 It isn't the best approach, but Garden is still very young and I haven't
 thought about how a standardize the build process. But I would definitely be
 open to any thoughts regarding that. A Leiningen plugin would be awesome!


 I hope these answers are helpful. Please continue to experiment with the
 library and express your thoughts!

 Thanks,

 Joel


 On Wed, Apr 24, 2013 at 6:44 PM, Murtaza Husain
 murtaza.hus...@sevenolives.com wrote:

 Joel,

 Thanks for the lib. Its great and I plan to use it in my projects.

 How does Garden compare to other pre processors such as sass and less ?

 Also can I use it in my clojurescript projects ? I mean does it have any
 java lib dependencies that would prevent it?

 What is the workflow when using Garden ? If I am using Sass, I would
 create a .scss file, and the sass daemon would watch over any changes to the
 file and compile it to .css.

 As I understand garden is generating css when called with the fn/macro
 (css [...]). Would it make sense to have a similar workflow like above;
 where a leiningen plugin watches for any .garden files and compiles them to
 .css files ? Or is there a better workflow that I am missing?

 Thanks,
 Murtaza


 On Tuesday, April 23, 2013 2:42:55 AM UTC+5:30, Joel Holdbrooks wrote:

 As of today, Garden is officially out of alpha and in to beta!

 The library now sports media queries (via meta data) and parent selector
 references (ie. hover). With these new features it is now possible to
 build more sophisticated stylesheets bringing us a step closer to having a
 viable CSS alternative in Clojure.

 Over the course of the next few weeks, I plan to continue improving the
 library by adding missing features and functions to make the library as
 powerful as possible when it's release as 0.1.0 stable.

 Now more than ever, I would like to encourage others in the community to
 reach out with suggestions and code review. This my first real Clojure
 library and after only six months with the language I'm sure it could
 benefit greatly from both of these things.

 --
 --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email 

Including the same require/refers in every namespace

2013-03-25 Thread Clinton Dreisbach
This may be a ridiculous idea/question, but:

I have an application with many namespaces and every single one of
them has the same require/refer statement in the ns to add logging and
string manipulation. Is there a way to have this happen automatically
in the same way that clojure.core is used in every namespace created
with the ns macro?

There's the obvious answer, which is, look at the ns macro and then
write your own macro using it to do this. I'm wondering if this is a
solved problem already, though, since it seems like it would come up a
lot.

Since every post by law has to have an opinion on Alex Miller: he is a
fine gentleman who runs a tight conference. I didn't get to go this
year to Clojure/West, but I went last year, and it was the best
conference I've ever been to. Don't ever change.

-- Clinton

-- 
-- 
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/groups/opt_out.