Re: Modelling in Clojure

2014-10-21 Thread Mike Haney
I can't remember if someone posted this already, and the thread is too long and I am too lazy to go back and check, so I apologize if it's already been mentioned. Anyway, I found this talk very helpful when I started learning Clojure, getting used to data-oriented thinking: http://www.infoq.co

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

2014-10-26 Thread Mike Haney
I recently ran into the & args issue as well. I'm sure I read about when I was learning clojure, but it's easy to forget. -- 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 f

Idiomatic way to return a single value from an async function

2014-11-10 Thread Mike Haney
Eric Normand has an interesting article on this here: http://www.lispcast.com/core-async-code-style -- 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 mod

Re: If code is data why do we use text editors?

2014-11-15 Thread Mike Haney
Colin - I'm just curious if you have any experience with Jetbrains MPS? I was into it pretty heavily before I got into Clojure, and I've thought a lot about how to add support for Clojure to it (would be pretty straightforward, actually), but haven't had the time to pursue it or the conviction

Re: Thnx for clojureconj videos !!

2014-11-24 Thread Mike Haney
Seconding the recommendation for the Clojure Gazette. If you aren't subscribed already, just do it. It's a fantastic resource, and I am very grateful for Eric Normand and the tireless effort he puts into it. On a side note, I had the pleasure of meeting Eric at the Conj, and he is one of the

Re: [lein] compile sass?

2014-12-28 Thread Mike Haney
Cool, I'll give your fork a try. I've been using lein-shell to just run sassc directly, but it's annoying because sassc bombs if the target folder doesn't exist. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to c

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Mike Haney
I know it seems overwhelming, and if you try to keep up with all the latest "cool" libraries, -- 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 moderate

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Mike Haney
My evolution is similar to Colin's, with more SWT than Swing. And I understand where you're coming from - did Java for 15 years and C++ before that. I didn't even really learn about functional programming until about 3 years ago, and after an aborted dive into learning Scala I switched to Clo

Re: [ANN] dformat 0.1.0

2015-01-15 Thread Mike Haney
I completely agree that the order of arguments is backwards - precludes the use of 'partial'. Other than that, good job. Very clever idea. -- 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

Pedestal comparison to Sente/HTTPKit

2015-01-26 Thread Mike Haney
I haven't had a chance to really dig into Pedestal yet, but Ryan Neufeld did a video sometime back that really opened my eyes to how Pedestal works: http://youtu.be/sFT_0v-iKVQ Pedestal is primarily focused on letting you provide your services (RESTful or otherwise) while still providing some

Pedestal comparison to Sente/HTTPKit

2015-01-26 Thread Mike Haney
Forgot to mention, as far as raw performance/latency of HTTP servers go, you can find a comparison here: https://github.com/ptaoussanis/clojure-web-server-benchmarks -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email t

alternatives to component (like) systems

2015-01-27 Thread Mike Haney
I can say from experience that it's quite a bit easier to use component from the beginning than to retrofit it, plus it solves the problem of controlling startup order quite nicely (among others). If you're planning on using component anyway, you might as well bite the bullet and start with it

[ANN] cqrs-server - An opinionated CQRS/ES implementation using Onyx, Datomic, DynamoDB, Kafka and Zookeeper.

2015-02-14 Thread Mike Haney
Deon, This is outstanding. I experimented with a similar approach last summer, but struggled with a couple of things. First was what to use for the event store. I considered a few options, like using Datomic for that as well (I.e. annotate transactions and treat the sequence of transactions

[ANN][book] Clojure Reactive Programming

2015-03-24 Thread Mike Haney
This is the first new Clojure book that has looked interesting to me in some time. I just picked it up, I'll let you know my thoughts when I've had time to read through it. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send

Re: [ANN][book] Clojure Reactive Programming

2015-03-26 Thread Mike Haney
There is value in comparing approaches, minus the personal attacks. I would suggest starting a different thread, though. Bringing this back to the original topic - I'm about 25% through the book, and it is really good so far. Thank you Leonardo for writing what so far appears to be a very tim

Re: Deterministic macro expansion for Clojure?

2015-03-31 Thread Mike Haney
You also might want to check out this talk http://youtu.be/YHctJMUG8bI In part of the talk, he describes how they generate symbols deterministically to use in query fragments that can be predictably combined into Datomic queries. Different application, but mostly the same requirements as you st

Re: [ANN] Clojure Applied: From Practice to Practitioner

2015-04-08 Thread Mike Haney
I've been waiting for this since the Conj, and so far it has been worth the wait. One thing that impressed me right off the bat was the amount of content - 300 pages in this beta version. A pleasant surprise considering the recent trend of "early access" books that only have 2-3 chapters compl

Re: [ANN] Clojure Applied: From Practice to Practitioner

2015-04-08 Thread Mike Haney
Yeah, I noticed my mistake after I posted. I regularly use the kindle app and iBooks and I forgot how they represent page numbers differently. So I'll use a different, more appropriate metric - AIDKT's (Ah, I didn't know that). About 30% of the way through the book, and I'm registering 3-4 AID

Re: Help a Startup use Clojure!

2014-03-12 Thread Mike Haney
Have you considered node.js? It's fantastic for building web services, very easy to deploy (Heroku), and should scale well enough that most startups won't outgrow it (and if you do, that's a very good problem to have). You can still build your app using Clojurescript, either for the entire thin

Any experience with Cognitect?

2014-04-08 Thread Mike Haney
Cognitect (and previously Relevance) always seem to have openings for contract Clojure developers. I was wondering if anyone here has applied for and/or actually been hired for one of these positions, and was willing to share their experience? I have thought about the possibility of being a co

Re: Any experience with Cognitect?

2014-04-09 Thread Mike Haney
Thanks for the feedback. Resume updated - check Cover letter written - check Email sent - check Ego intact - pending -- 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 ne

Re: Om and core.async: Necessary together?

2014-04-09 Thread Mike Haney
David, This seems to be a different take on things than you proposed in your series of CSP articles last summer. I'm not saying that is a bad thing - if an idea doesn't pan out, it needs to be scrapped (and most of us cling to bad ideas longer than we should). I'm just curious why the change

Re: Om and core.async: Necessary together?

2014-04-10 Thread Mike Haney
Thanks for the clarification, that helps a lot. And I agree you wouldn't expose channels in the public API for a component, that's definitely an implementation detail. I have more ideas/questions on the topic, but I don't want to hijack this thread, and I probably need to spend some more hammo

Re: Real World Example

2014-04-10 Thread Mike Haney
I'm in the early stages of developing a real-world app for a customer that will use a full clojure stack. It's maybe not as sexy as all the social networking examples you see, but I think it's more representative of the types of apps most people write to satisfy real business needs. The app is

Re: Real World Example

2014-04-10 Thread Mike Haney
Yes, it's just me. Crazy, right? Like I said, I wouldn't even have attempted it without the productivity gains I've seen since I've started using clojure. Fortunately, the customer isn't in "we need this yesterday" mode (a refreshing, but rare, circumstance). -- You received this message bec

Re: Puppet Labs and Trapperkeeper

2014-04-14 Thread Mike Haney
Great timing on the new blog post. I'm ramping up on my first "real" clojure app, and have been planning to use Component for this piece. I read the first blog post yesterday and it sounded interesting, but I've pretty much locked down the stack I'm going to use (you can evaluate libraries for

Why I'm giving Clojure a try

2014-04-16 Thread Mike Haney
Welcome aboard! Fasten your seatbelt, it will be a wild (and exhilarating) ride. I'm still relatively new, but I've learned enough to know that clojure (and clojurescript and Datomic) are what I need to be focusing on. Besides all the other benefits, it's just plain fun. I haven't had this m

Re: Why I'm giving Clojure a try

2014-04-16 Thread Mike Haney
It's almost cliche to say it, but you really do get used to the parenthesis. Once you do, you won't give it a second thought, and for me at least, it's the other languages that start to look "weird" with their irregular syntax. And at least one a week I catch myself writing "(if ..." or "(for

Light table

2014-04-16 Thread Mike Haney
Lots of people use it, including me. I don't think it's a bad choice for beginners at all. The conventional wisdom seems to be that you will end up learning emacs eventually if you spend any amount of time doing clojure or lisp, so you might as well learn it from the start. That is definitel

Re: Why I'm giving Clojure a try

2014-04-16 Thread Mike Haney
Sean - funny, I used Together/J when it first came out, way before Borland bought it. It's been a long time, but I remember being quite enamored with it as well. It was certainly ahead of it's time. Then we switched to Visual Age for Java, which was pretty cool at first. Until it corrupted i

Hosting Providers

2014-04-18 Thread Mike Haney
In addition to heroku, there is Amazon Elastic Beanstalk, which lets you deploy a WAR file on EC2 without having to setup the infrastructure yourself. Both are great ways to go. I lean towards using Heroku for it's simplicity, but Amazon makes sense when you need to use other Amazon services

Re: Hosting Providers

2014-04-18 Thread Mike Haney
I know they also have Mongo and Neo4j available on Heroku, but neither of those are supported as a Datomic back end. Postgres will work with Datomic just fine, though. The only hitch with Heroku is that I'm not sure how to go about deploying a transactor. Maybe someone has done it and blogged

Re: What's clojure killer app? I don't see any.

2014-04-19 Thread Mike Haney
What's "killer" about clojure is not an app, but an idea. Simplicity. Everything else stems from that idea. Immutability, decomplecting, data first, consistent abstractions - all the things we like to talk about in clojure are really about simplicity. It's about getting all the crap out of y

Re: What's clojure killer app? I don't see any.

2014-04-20 Thread Mike Haney
I'm glad Daniel mentioned Enlive, because it's a great example of something that AFAIK is completely unique to clojure. It was one of the first libraries I dove into when I started with clojure, and I was blown away. It is such a logical approach to templating that seems so obvious in hindsigh

Dealing with edn for the first time

2014-04-20 Thread Mike Haney
1. In its simplest form, EDN is just clojure data literals. So for simple cases like configuration, just use a map: { :database-uri "some-uri" :another-param "some value" :debug-mode true } 2. You can use clojure.java.io/resource to access resources, but for config files you usually don't

When is "The Conj" this year? (eom)

2014-04-20 Thread Mike Haney
Marcus - are you planning on going? This will be my first Conj, and I'm going no matter what it takes. -- 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 a

Re: Dealing with edn for the first time

2014-04-20 Thread Mike Haney
Found the project I lifted my config code from, it's this one: https://github.com/bellkev/dacom Look through that, it should give you a good starting point. If you still have questions, feel free to ask and we'll try to help. -- You received this message because you are subscribed to the Goo

Which linux distro has intelij ?

2014-04-22 Thread Mike Haney
I've used Intellij on Arch and Ubuntu, so I know it works on those (or at least it did - I switched to a Mac 18 months ago). Intellij runs on the JVM, so it should work on any distro in theory. JetBrains has a good knowledge base and forums on their site, so you can probably find details on co

Re: Books for learning Clojure

2014-04-22 Thread Mike Haney
Yeah, JoC is my favorite clojure book, but I agree it's not the best to start with. Let me throw a couple others into the mix that haven't been mentioned yet. If you come from a solid OO background, I highly recommend Brian Marick's book "Functional Programming For the Object Oriented programm

Re: What's clojure killer app? I don't see any.

2014-04-23 Thread Mike Haney
This sounds similar to what the Cognician guys are doing. -- 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

Re: Clojure for web project? Talk me into it!

2014-04-29 Thread Mike Haney
Pedestal was developed by Cognitect and I would assume they use it on many of their consulting projects. Since future support appears be a major concern for you (rightly so), Pedestal probably fulfills that requirement better than anything else out there right now. Even if you don't need all t

Re: *** Congratulations to our GSoC 2014 students!

2014-04-29 Thread Mike Haney
Wow, lots of cool projects to look forward to. Congrats to all the GSoC students, and thank you to all their mentors. -- 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

Re: Clojure for web project? Talk me into it!

2014-04-30 Thread Mike Haney
Pedestal-app is pretty much dead, but pedestal (service) is alive and well, and that is what I was talking about. I know some people were upset when pedestal-app was put on hiatus, but I look at it a different way. Libraries like react (and its clojurescript counterparts) are changing the wa

Re: Hosting Providers

2014-05-01 Thread Mike Haney
One thing to keep in mind since he's using Datomic - there is currently no way to restrict access to the transactor, so it needs to be run behind a firewall. This can be done easily on AWS by creating a VPC where only the peer is exposed to the net. Outside of AWS, you're pretty much on your o

clojurescript: modifying function definitions

2014-05-14 Thread Mike Haney
There's a library for that - https://github.com/technomancy/robert-hooke/ -- 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

[ANN] CrossClj, a tool for cross-referencing the clojure ecosystem

2014-06-11 Thread Mike Haney
Very cool. Is there a public REST api? I ask because I'm thinking a lighttable plugin that uses this to search for dependencies and automatically add them to project.clj would be pretty easy to write and quite useful. Yes, I could use clojars directly, but this would allow more options in the

Re: [ANN] CrossClj, a tool for cross-referencing the clojure ecosystem

2014-06-11 Thread Mike Haney
I think he mentioned he was using tools.analyzer. I would also be interested in seeing the source. Pairing this with codeq could be interesting. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegrou

Programming Clojure "in the large": libraries, frameworks, oh my

2014-09-19 Thread Mike Haney
Just a note - juxt/jig isn't being maintained, and has been replaced by juxt/modular. Modular is based on Stuart Sierra's component library, and mainly consists of several pre-built components and some nice helpers for wiring and configuring components. It also plays well with juxt/ceylon, whi