[ANN] Ansible roles for deploying Clojure + book on using them

2017-03-14 Thread Daniel Higginbotham
Hi everyone, I'm happy to announce the release of the first Brave Clojure Quest: Deploying Your First Clojure App ...From the Shadows ! Like *Clojure for the Brave and True*, this book is free online. The larger purpose of the book is to enable deve

Exercises and projects for my on-site training course

2016-06-15 Thread Daniel Higginbotham
Hi all, I've begun offering on-site Clojure training (loving it so far!) and wanted to share the examples, exercises, and projects that we work through. I've tried to include plenty of comments and documentation

20% of job board proceeds to go to ClojureBridge

2016-05-09 Thread Daniel Higginbotham
Hey y'all, just wanted to share that starting May 16th I'll be donating 20% of jobs.braveclojure.com proceeds to ClojureBridge :) More details: https://jobs.braveclojure.com/blog/posts/bridge-donations/ Thanks, Daniel -- You received this message because you are subscribed to the Google Groups

[ANNs] growmonster and datomic-booties

2016-04-30 Thread Daniel Higginbotham
growmonster helps you write database fixtures https://github.com/flyingmachine/growmonster datomic-booties helps you stand up a datomic database in boot (create the db, migrate schema and seed data, delete and recreate the db) https://github.com/fly

Re: [ANN] Brave Clojure Jobs

2016-03-30 Thread Daniel Higginbotham
Forgot to mention - buying ads helps me afford to continue writing instructional Clojure material at http://www.braveclojure.com Thanks! Daniel On Wednesday, March 30, 2016 at 4:19:22 PM UTC-4, Daniel Higginbotham wrote: > > The first and only all-Clojure-all-the-time job board is out o

[ANN] Brave Clojure Jobs

2016-03-30 Thread Daniel Higginbotham
The first and only all-Clojure-all-the-time job board is out of beta and in production: Brave Clojure Jobs, https://jobs.braveclojure.com/. For the next 30 days, posting an ad is 50% off :) Please feel free to email me about it, nonrecurs...@gmail.com Thanks to everyone who helped with the beta

[ANN] Open Source Clojure Projects

2016-03-22 Thread Daniel Higginbotham
I've created a directory of active, open source Clojure projects at http://open-source.braveclojure.com/. Its purpose is to help people who want to improve their skills or get more involved in the community find projects that are welcoming new contributors, and to help project owners/maintainer

Re: [ANN] clojurework.com

2016-02-27 Thread Daniel Higginbotham
Thanks for all the feedback! I've made a couple dozen small improvements and switched to https (thanks letsencrypt), and should be ready to officially release within the next week or two :) I'd love for more beginner-friendly open source projects to get listed. I think even clojure and clojures

[ANN] clojurework.com

2016-02-25 Thread Daniel Higginbotham
Hi everyone, I've released http://clojurework.com/ in beta :) My goal for the site is to build a quality community resource for those looking to write Clojure for Real Projects, whether paid or open source. It features jobs/contracting work/gigs and beginner-friendly open source projects. Job

Re: [ANN][Book] Clojure for the Brave and True published, web site updated

2015-11-05 Thread Daniel Higginbotham
ping. >> >> >> >> >> On Thursday, October 22, 2015 at 7:32:57 PM UTC-4, Daniel Higginbotham >> wrote: >>> >>> Clojure for the Brave and True <http://www.braveclojure.com/> is now >>> available in print and ebook form <http://a

Re: Need help setting up Emacs for Clojure on Windows 8

2015-10-26 Thread Daniel Higginbotham
Sorry you're having trouble! Does this help? https://www.reddit.com/r/Clojure/comments/3pn3fo/clojure_for_the_brave_and_true_updated_to_match/cw8h8qy On Monday, October 26, 2015 at 1:56:15 PM UTC-4, Tina Ramsey wrote: > > I'm trying to follow the *Clojure for the Brave and True* instructions >

[ANN][Book] Clojure for the Brave and True published, web site updated

2015-10-22 Thread Daniel Higginbotham
Clojure for the Brave and True is now available in print and ebook form , and the web site has been updated to incorporate all the changes that went into the print book. The web site remains 100% free :) In case you'd like to know more abou

Re: using core.async results in page getting replaced with empty iframe

2015-08-19 Thread Daniel Higginbotham
SHOT"] [tailrecursion/castra "3.0.0-SNAPSHOT"]] I guess the next step is for me to include these in my minimal setup and see if anything breaks :) Thanks! Daniel On Wednesday, August 19, 2015 at 5:00:01 PM UTC-4, Malcolm Sparks wrote: > > Would you mind pasting the

using core.async results in page getting replaced with empty iframe

2015-08-19 Thread Daniel Higginbotham
I've found that using core.async in one of my projects results in the entire DOM getting replaced with an empty iframe when I view the site in Firefox. I'm using [org.clojure/clojure "1.7.0"] [org.clojure/clojurescript "1.7.48"] [org.clojure/core.async"0.1.346.0-17112a-alpha"] I've

Re: reducers question

2015-07-15 Thread Daniel Higginbotham
ant at > concatenating the pieces of a fold back together again. > > My guess is that for your particular use-case, pmap is going to be faster. > The reducers library shines when you start to get into situations that pmap > can't handle. > > - James > > On 15 July 20

reducers question

2015-07-14 Thread Daniel Higginbotham
I’ve been trying to better understand ways to increase the performance of Clojure programs and I’ve run into an interesting issue with using the reducers library. I’d love any help! The code I’m working on is at https://github.com/flyingmachine/quil-pix/tree/4cce95390f5ac7a206cc14a8ec5a4a2492c81

a library for writing and loading database fixtures - would love feedback

2014-12-03 Thread Daniel Higginbotham
I wrote a little (52 lines) library for writing and loading database fixtures: https://github.com/flyingmachine/vern I'd love any feedback. Could the code be more succinct? Is there a name for this kind of pattern? Do the names make sense? Thanks! Daniel -- You received this message because y

Re: multimethod, record, type, and protocol pitfalls?

2014-11-01 Thread Daniel Higginbotham
Thanks for the responses! This is very helpful. -- 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

Re: multimethod, record, type, and protocol pitfalls?

2014-10-27 Thread Daniel Higginbotham
one reads the official documentation, but one does not >> always do this first, so that wsa one pitfall I ran into. >> >> Best Regards, >> Sven >> >> Am Sonntag, 26. Oktober 2014 16:48:29 UTC+1 schrieb Daniel Higginbotham: >>> >>> What's d

multimethod, record, type, and protocol pitfalls?

2014-10-26 Thread Daniel Higginbotham
What's difficult when it comes to understanding multimethods, records, types, and protocols? I'm writing a chapter on multimethods, records, types, and protocols for the book Clojure for the Brave and True, and I'd love to hear about what kinds of pitfalls I should be sure to cover :) Thanks

"Interacting with Java", new Clojure for the Brave and True chapter

2014-10-22 Thread Daniel Higginbotham
I've written a chapter on interacting with java, http://www.braveclojure.com/java/. It a) gives an overview of what the JVM is, b) explains how to interact with Java classes and objects, and c) covers commonly-used Java classes. I'd love to hear any feedback - what works well, what's confusing

Re: Is it the right Clojure group for a newbie

2014-06-21 Thread Daniel Higginbotham
Hi Abha, Clojure for the Brave and True is directed at people who are new to Clojure but who already have some programming experience. I definitely hope you find it useful, but it might be better to start with The Little Schemer (I need to update the site to include this disclaimer). As others

Re: Effective Clojure book?

2014-06-11 Thread Daniel Higginbotham
The Clojure Cookbook is useful in this regard, http://clojure-cookbook.com/ On Wednesday, June 4, 2014 9:30:26 PM UTC-4, Mike Fikes wrote: > > Are there any books yet that prescribe best practices for Clojure, à la > Meyers or Bloch? > -- You received this message because you are subscribed to

Re: Community Interest in a Clojure Application Config Library, using Zookeeper?

2014-05-22 Thread Daniel Higginbotham
Yes, please do open source it! On Tuesday, May 20, 2014 5:33:05 PM UTC-4, Thomas Steffes wrote: > > Hey folks, > > At Room Key we're using Apache Zookeeper and a home-grown clojure library > called drcfg for real-time application configuration management. We're > debating open-sourcing drcfg and

Re: Books for learning Clojure

2014-04-23 Thread Daniel Higginbotham
"Clojure Programming" was the most useful to me when I started with Clojure (I already had a bit of Lisp experience). Kyle Kingsbury has an online series going, "Clojure from the Ground Up" (http://aphyr.com/tags/Clojure-from-the-ground-up). I'm writing a book as well, "Clojure for the Brave an

Re: braveclojure problem ( paste into emacs)

2014-04-16 Thread Daniel Higginbotham
Sorry for the confusion! As Kashyap mentioned, ctrl-y should work. You can also try your normal keyboard binding for pasting (ctrl-v or cmd-v), that might work as well. Also, if Emacs is too difficult to work with, then it's definitely ok to use whatever editor you like most :) Thanks, Daniel

Re: Concurrency, Parallelism, and State. And Zombies.

2014-03-27 Thread Daniel Higginbotham
Thanks for the positive feedback, Gary and Di :) It's very encouraging to me. 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 - pleas

Re: How did you learn Clojure?

2014-03-26 Thread Daniel Higginbotham
Chiming in a bit late, but here was my path: * Read "Land of Lisp" by Conrad Barski. This was my first real contact with lisp and functional programming. I found it challenging, but the book is well-written and the technique of teaching through writing games was perfect for me. It uses common l

Concurrency, Parallelism, and State. And Zombies.

2014-03-26 Thread Daniel Higginbotham
I've added a new chapter to Clojure for the Brave and True, "Concurrency, Parallelism, and State. And Zombies." Here's an excerpt: === In this chapter you'll learn what concurrency and parallelism are and why they matter. You'll learn about the challeng

[ANN] Liberator Templates

2013-12-21 Thread Daniel Higginbotham
Liberator Templates allows you to abstract patterns in your liberator resources so that you can define resources more consistently and concisely: https://github.com/flyingmachine/liberator-templates Hope y'all find it useful! Daniel -- -- You received this message because you are subscribed

Re: library development

2013-12-20 Thread Daniel Higginbotham
"lein install" actually installs your library ~/.m2/repository in addition to creating the pom and jar. That should be all you need to do. On Friday, December 20, 2013 9:09:32 AM UTC-5, Bob Hutchison wrote: > > Hi, > > I’m missing something. And it’s annoying me. > > Let’s say I’m working on th

Re: Who is "doing something worthwhile" in Clojure?

2013-12-19 Thread Daniel Higginbotham
> > I have done several things in my life where, at least, I am sure that > the world would not have been better off if I hadn't tried. I think this > is enough to hope for. > I'm fooling around with Weather Jerk (http://www.weatherjerk.com/) in my spare time. It uh... solves the problem of h

Re: [ANN] Brambling: Datomic (Schema) Migration library/toolkit for Clojure

2013-12-17 Thread Daniel Higginbotham
Thanks for open sourcing this! I'm not sure I'm understanding what it does correctly. It looks like it installs new attributes and creates the transactions needed to update existing entities? Is that right? So in the README example, the idea is that you're changing :message/action from a strin

Re: Clojure for the Brave and True, an online book for beginners

2013-12-16 Thread Daniel Higginbotham
I've written a chapter on namespaces and ns: http://www.braveclojure.com/organization/. I hope it clears up some of the confusion :) On Thursday, September 5, 2013 5:39:03 PM UTC-4, Bruno Kim Medeiros Cesar wrote: > > I would like to add to Roberto's request, a thorough treatment of ns would >

[ANN] Penny Black

2013-12-06 Thread Daniel Higginbotham
https://github.com/flyingmachine/penny-black Penny Black allows you to declaratively create functions which send HTML and text emails using mustache templates. It's inspired by ActionMailer. You might find it useful if you have an application that sends email :) Here's an example of defining an

Re: Clojure for the Brave and True, an online book for beginners

2013-12-02 Thread Daniel Higginbotham
lent > content/philosophy and humour :) > > It personally made my introductory Clojure learning experience a very > enjoyable one. > > Thanks Daniel and hello from London :) > > cheers > > Paddy > > On Monday, September 2, 2013 4:35:52 PM UTC+1, Daniel Higginbotha

Re: Is The Joy if Clojure up to date?

2013-12-01 Thread Daniel Higginbotham
I've been working on a book for beginners, "Clojure for the Brave and True" http://www.braveclojure.com/ Thanks, Daniel On Saturday, November 30, 2013 6:21:21 AM UTC-5, J. Pablo Fernández wrote: > > Hello, > > I have a copy of The Joy of Clojure that I bought a couple of years ago. > Is it stil

Re: My recap of Clojure/conj 2013

2013-11-21 Thread Daniel Higginbotham
Thanks, Logan! It was fun meeting you! Congrats again on winning the conj! :D Daniel On Wednesday, November 20, 2013 11:02:38 AM UTC-5, Logan Linn wrote: > > I've posted a writeup of my experience from this year's Clojure/conj and > wanted to share with those who couldn't make it: > http://log

Re: is PG's "imperative outside-in" advice any good?

2013-10-15 Thread Daniel Higginbotham
Thanks for all the responses! This discussion will definitely help me write better code. This was especially helpful: over time I've moved to using > small, private top-level functions instead because I want to focus on > the names of the _functionality_ rather than the names of intermediate

is PG's "imperative outside-in" advice any good?

2013-10-15 Thread Daniel Higginbotham
I've been going through On Lisp by Paul Graham and on page 33 he recommends against performing "intermediate" bindings. Does this advice hold for Clojure? Here are a couple examples: ;; Common Lisp (from the book) (defun bad (x) (let (y sqr) (setq y (car x)) (setq sqr (expt y 2)) (list

Re: Clojure for the Brave and True, an online book for beginners

2013-09-05 Thread Daniel Higginbotham
Thanks for all the feedback. I didn't expect there to be such polar opposite reactions to the Emacs content! Roberto - did you notice the links to vim, CCW, and sublime text 2 materials? They are at the bottom of this page: http://www.braveclojure.com/getting-started/ . I'm also curious about y

Re: Clojure for the Brave and True, an online book for beginners

2013-09-04 Thread Daniel Higginbotham
4, 2013 12:24:15 PM UTC-4, Dima Sabanin wrote: >> >> Hi Daniel, >> >> Keep up the great work! I really enjoyed the material and how it's >> presented. >> >> Thanks, >> Dima >> >> >> On Mon, Sep 2, 2013 at 11:35 AM, Daniel Higgi

Re: Clojure for the Brave and True, an online book for beginners

2013-09-04 Thread Daniel Higginbotham
On Wednesday, September 4, 2013 12:17:12 AM UTC-4, Jason Lewis wrote: > +1 for outsourcing editor infos. Is this on Github? I might be inclined to > open a pull request for Vim or LightTable. > On Sep 3, 2013 8:42 PM, "Greg" > > wrote: > >> I think it could benefit from more posts on using Cloju

Clojure for the Brave and True, an online book for beginners

2013-09-02 Thread Daniel Higginbotham
Hi all, I've been putting together http://www.braveclojure.com/ and would love feedback. I've tried to make it entertaining and super beginner-friendly. Thanks! Daniel -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send

Re: run-jetty not working in a virtualbox vm?

2013-07-13 Thread Daniel Higginbotham
at do you get? > > Haim > > > > On Sat, Jul 13, 2013 at 4:45 AM, Daniel Higginbotham > > > wrote: > >> I'm trying to start a jetty server on a virtualbox vm (ubuntu 12.04 32 >> bit) by running the following: >> >> (run-jetty #'ap

Re: run-jetty not working in a virtualbox vm?

2013-07-13 Thread Daniel Higginbotham
":join? false" so the thread will not block > until the server ends - are you doing this intentionally and blocking the > thread elsewhere? > > > On Fri, Jul 12, 2013 at 8:45 PM, Daniel Higginbotham > > > wrote: > >> I'm trying to start a jet

run-jetty not working in a virtualbox vm?

2013-07-12 Thread Daniel Higginbotham
I'm trying to start a jetty server on a virtualbox vm (ubuntu 12.04 32 bit) by running the following: (run-jetty #'app {:port (Integer. (get (System/getenv) "PORT" 8080)) :join? false}) However, I can't connect to the server. If I run "netstat -lp" the java process doesn't show up and it looks

[ANN] flyingmachine/serialize 0.1.0

2013-05-12 Thread Daniel Higginbotham
I've created my second clojar and would love any feedback: https://github.com/flyingmachine/serialize. It's a tiny library for serializing datomic entities (though maybe it should be called "mapify" instead of "serialize"). Here's an example of it in use: (defserializer ent->topic (attr :id :

Re: binding funkiness

2013-04-23 Thread Daniel Higginbotham
s >>> forces it to be printed, which is outside the scope of the binding. >>> >>> This: >>> >>> (binding [*funkybind* true] >>> (doall (map (fn [_] *funkybind*) [1 2]))) >>> >>> forces evaluation inside the binding, and does wha

binding funkiness

2013-04-22 Thread Daniel Higginbotham
I've encountered a situation where the binding function doesn't work as I expect it: user> (def ^:dynamic *funkybind* false) ;; expected user> (binding [*funkybind* true] *funkybind*) true ;;expected (binding [*funkybind* true] ((fn [] *funkybind*))) true ;;... huh? (binding [*funkybind* t

Re: Trying to understand Java better to understand Clojure better

2013-03-14 Thread Daniel Higginbotham
t a break in the > grey background would also be helpful. > > Nice post. The world needs more people willing to explain basic concepts > in a clear, un-patronising way. > > Cheers, > > Chris > > On 14 March 2013 16:06, Daniel Higginbotham > > wrote: > >>

Re: Trying to understand Java better to understand Clojure better

2013-03-14 Thread Daniel Higginbotham
This is exactly the kind of content I was looking for. Thank you! On Thursday, March 14, 2013 3:05:16 PM UTC-4, Jeremy Heiler wrote: > > On Thu, Mar 14, 2013 at 12:41 AM, Jason Lewis > > > wrote: > >> What I'd love to see is a tutorial on abstracting Java classes and >> interfaces in pure Cloju

Re: Trying to understand Java better to understand Clojure better

2013-03-14 Thread Daniel Higginbotham
Java. > > On Thursday, March 14, 2013 1:03:17 PM UTC+1, Daniel Higginbotham wrote: >> >> Thanks for the feedback, guys! It's good to know I'm on the right track. >> I've also cleaned up the formatting - thank you for pointing that out :) >> >> It seems l

Re: Trying to understand Java better to understand Clojure better

2013-03-14 Thread Daniel Higginbotham
flowed into a > single paragraph. > > On Thursday, March 14, 2013 3:58:58 AM UTC+1, Daniel Higginbotham wrote: >> >> I've been feeling like my lack of Java knowledge has been holding me back >> with Clojure, so I've started to learn it and have wri

Trying to understand Java better to understand Clojure better

2013-03-13 Thread Daniel Higginbotham
I've been feeling like my lack of Java knowledge has been holding me back with Clojure, so I've started to learn it and have written an article on how you compile and run a Java program: http://www.flyingmachinestudios.com/programming/how-clojure-babies-are-made-the-java-cycle/ . Is the infor