Re: How do I setup a Clojurescript REPL with emacs?

2013-07-18 Thread ktsujister
using M-x nrepl-jack-in) 3. Enter below in your nrepl (do (require 'cljs.repl.browser) (cemerick.piggieback/cljs-repl :repl-env (doto (cljs.repl.browser/repl-env :port 9000) cljs.repl/-setup))) 4. You need to show the page that has your cljs running on your browser. 5

Re: How do I setup a Clojurescript REPL with emacs?

2013-07-18 Thread Chris Bui
/blob/master/doc/tutorial-02.md in short, you'll need (repl/connect http://localhost:9000/repl;) somewhere in your clojurescript code. 2. then open nrepl in emacs(I'm using M-x nrepl-jack-in) 3. Enter below in your nrepl (do (require 'cljs.repl.browser) (cemerick.piggieback

How do I setup a Clojurescript REPL with emacs?

2013-07-17 Thread Chris Bui
I'm trying to setup an environment for Clojurescript. The problem I'm having is not knowing how to set it up so that I can connect to a Clojurescript Browser REPL from emacs, so I can evaluate forms right from the editor and have it show up in the browser. Things I've tried: I tried using

Re: How do I setup a Clojurescript REPL with emacs?

2013-07-17 Thread Kelker Ryan
I could be wrong but, I think you can use the cljs-build plugin for lein and use the repl-listen command to start a REPL server. Can you not use M-x nrepl to connect? https://github.com/emezeske/lein-cljsbuild/blob/0.3.2/doc/REPL.md#repl-listen  18.07.2013, 13:04, "Chris Bui"

Re: In what OS do you code?

2013-06-18 Thread Kelker Ryan
my project it makes little difference, especially with brew on the mac.Currently moving from vi to emacs.On Saturday, June 15, 2013 1:46:37 AM UTC+12, Erlis Vidal wrote: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 environme

Re: In what OS do you code?

2013-06-18 Thread Alan Thompson
UTC+12, Erlis Vidal wrote: 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

Re: In what OS do you code?

2013-06-18 Thread Moritz Ulrich
NixOS, a linux distribution built on a purely functional package manager at work and at home. Emacs with package.el and ~/.emacs.d/ in a git repository. On Fri, Jun 14, 2013 at 3:46 PM, Erlis Vidal er...@erlisvidal.com wrote: Hi, I'm a bit curious to know in what OS do you code. Do you prefer

Re: In what OS do you code?

2013-06-17 Thread Chris Ford
Robert, the Leiningen survey might under-report Windows-based usage of Clojure, as I think Eclipse+Counter-clockwise is especially popular there. On 17 June 2013 02:03, Robert Levy r.p.l...@gmail.com wrote: There's the State of Clojure Survey:

Re: In what OS do you code?

2013-06-17 Thread Robert Levy
from the Counterclockwise docs: the preferred way to create a new project is via the New Leiningen Project Wizard On Mon, Jun 17, 2013 at 1:33 AM, Chris Ford christophertf...@gmail.comwrote: Robert, the Leiningen survey might under-report Windows-based usage of Clojure, as I think

Re: In what OS do you code?

2013-06-17 Thread Alexandru Nedelcu
is the default JDK. I don't know why you gasp at OpenJDK, but it works great and I never had any problems with it. Plus, I trust the OpenJDK package to get more security updates than Oracle's official JDK. Seriously. I do have the official Oracle JDK 7 installed (for testing), plus early builds of JDK 8

Re: In what OS do you code?

2013-06-17 Thread Jim Cheesman
Windows 7 at work, Ubuntu at home. Both have good and bad points, I'm quite happy coding in either (once properly set up). On Friday, 14 June 2013 15:46:37 UTC+2, Erlis Vidal wrote: Hi, I'm a bit curious to know in what OS do you code. Do you prefer iOS, Linux, Windows? Why

Re: In what OS do you code?

2013-06-17 Thread Korny Sietsma
use OpenJDK 7 which is the default JDK. I don't know why you gasp at OpenJDK, but it works great and I never had any problems with it. Plus, I trust the OpenJDK package to get more security updates than Oracle's official JDK. Seriously. I do have the official Oracle JDK 7 installed

Re: In what OS do you code?

2013-06-17 Thread Angel Java Lopez
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

Re: In what OS do you code?

2013-06-17 Thread Herwig Hochleitner
lein Angel Java Lopez @ajlopez On Fri, Jun 14, 2013 at 10:46 AM, Erlis Vidal er...@erlisvidal.comwrote: 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

Re: In what OS do you code?

2013-06-17 Thread Curtis Gagliardi
anymore. On Friday, June 14, 2013 6:46:37 AM UTC-7, Erlis Vidal wrote: 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

Re: In what OS do you code?

2013-06-17 Thread dmirylenka
OS X on the working machine, Ubuntu on the servers. For my project it makes little difference, especially with *brew* on the mac. Currently moving from vi to emacs. On Saturday, June 15, 2013 1:46:37 AM UTC+12, Erlis Vidal wrote: Hi, I'm a bit curious to know in what OS do you code. Do you

Re: In what OS do you code?

2013-06-16 Thread Eric MacAdie
OT: Is there a way to download OpenJDK directly? It looks like the download page only has directions on using package managers. Perhaps I missed a link somewhere. - Eric MacAdie On Sat, Jun 15, 2013 at 8:59 PM, John Gabriele jmg3...@gmail.com wrote: On Saturday, June 15, 2013 9:40:13 PM

In what OS do you code?

2013-06-16 Thread Gregory Graham
I use Windows 8 at work, with Emacs and Windows Power Shell and bash when needed. It was easy to set up. I've been a long time Unix/Linux lover, but I've come to terms with the need to use Windows at work, and versions 7 and 8 are not bad. At home I have an old MacBook with OS X, and although

Re: In what OS do you code?

2013-06-16 Thread Robert Levy
There's the State of Clojure Survey: http://cemerick.com/2012/08/06/results-of-the-2012-state-of-clojure-survey/. I think Chas usually asks for ideas on what the questions should be, so that might be a good question to suggest next time around. The Leiningen survey asks that question and finds

Re: In what OS do you code?

2013-06-15 Thread Max Gonzih
. On Friday, June 14, 2013 4:46:37 PM UTC+3, Erlis Vidal wrote: 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

In what OS do you code?

2013-06-15 Thread Christian Sperandio
Hi, I use os x for my dev. I regularly switch between os x and linux for many years now. When my computer is too old to get a newer os x version, I switch to linux to have more usability years (I keep my computer 7-8 years). I avoid Windows the more I can because I don't like this os and I'm a

Re: In what OS do you code?

2013-06-15 Thread Mimmo Cosenza
On Jun 14, 2013, at 8:16 PM, Nico Balestra nicobales...@gmail.com wrote: What company do you work for Mimmo? Can I send my CV? :) yes you can. send it to me. I'm the boss ;-) On 14 Jun 2013 15:59, Giacomo Cosenza mimmo.cose...@gmail.com wrote: personally, I code on mac os x. in my

Re: In what OS do you code?

2013-06-15 Thread Josh Kamau
wouldnt buy a mac. I would stick to linux. josh On Sat, Jun 15, 2013 at 11:20 AM, Mimmo Cosenza mimmo.cose...@gmail.comwrote: On Jun 14, 2013, at 8:16 PM, Nico Balestra nicobales...@gmail.com wrote: What company do you work for Mimmo? Can I send my CV? :) yes you can. send it to me. I'm the boss

Re: In what OS do you code?

2013-06-15 Thread Max Penet
(and very often worthless) upgrades and I could go on like this for ages... It feels a bit like the real thing but just isn't it, so I gave up and went back to linux. On Friday, June 14, 2013 3:46:37 PM UTC+2, Erlis Vidal wrote: Hi, I'm a bit curious to know in what OS do you code. Do you

Re: In what OS do you code?

2013-06-15 Thread Christian Sperandio
(and very often worthless) upgrades and I could go on like this for ages... It feels a bit like the real thing but just isn't it, so I gave up and went back to linux. On Friday, June 14, 2013 3:46:37 PM UTC+2, Erlis Vidal wrote: Hi, I'm a bit curious to know in what OS do you code. Do you

Re: In what OS do you code?

2013-06-15 Thread Mikera
On Friday, 14 June 2013 14:46:37 UTC+1, Erlis Vidal wrote: 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! I prefer Linux for the server side. Lean, fast, great tools, open source

Re: In what OS do you code?

2013-06-15 Thread Heinz Nikolaus Gies
I personally use OS X, got used to it and it leaves me alone for most of the time to do what I want. Linux is too much hassle for me. But I guess that is a thing of taste and habit and experience with one system or the other, people using Linux will tell say the same thing just the other way

Re: In what OS do you code?

2013-06-15 Thread Softaddicts
iPad. I can do half of my work with it without carrying an extra twelve pounds of gears. You would not convince me to replace it by an Android tablet. Luc P. I personally use OS X, got used to it and it leaves me alone for most of the time to do what I want. Linux is too much hassle for me

Re: In what OS do you code?

2013-06-15 Thread Plínio Balduino
in production on clusters of small foot print ubuntu SSD based servers. However I rely extensively on my iPad for all the communication stuff, document handling and remote support. I use dropbox to exchange documents between my laptop and my iPad. I can do half of my work with it without

Re: In what OS do you code?

2013-06-15 Thread Rob Browning
Josh Kamau joshnet2...@gmail.com writes: If i could rewind time, i wouldnt buy a mac. I would stick to linux. For whatever it's worth, Debian and presumably others run just fine on some Macbooks. -- Rob Browning rlb @defaultvalue.org and @debian.org GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8

Re: In what OS do you code?

2013-06-15 Thread Korny Sietsma
How are all the Linux users handling Java installation? Using an official Oracle installer, or your package manager somehow, or something else? Or using (gasp) openJDK? I use Windows (client mandated) at work and OSX on my laptop. We use Vagrant to run virtual Linux (Centos) boxen at work, with

Re: In what OS do you code?

2013-06-15 Thread John Gabriele
On Saturday, June 15, 2013 9:40:13 PM UTC-4, Korny wrote: How are all the Linux users handling Java installation? Using an official Oracle installer, or your package manager somehow, or something else? Or using (gasp) openJDK? sudo apt-get install openjdk-7-jdk -- -- You received this

Re: In what OS do you code?

2013-06-15 Thread Softaddicts
Some folks maintain packages for the oracle JVM on the side, I do not have the repo by heart but you can search on google a combination like ubuntu+oracle+jvm and you should find the recipe. Luc P. On Saturday, June 15, 2013 9:40:13 PM UTC-4, Korny wrote: How are all the Linux users

In what OS do you code?

2013-06-14 Thread Erlis Vidal
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

Re: In what OS do you code?

2013-06-14 Thread Joseph Smith
I write code in OSX. --- Joseph Smith @solussd On Jun 14, 2013, at 8:46 AM, Erlis Vidal er...@erlisvidal.com wrote: 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

Re: In what OS do you code?

2013-06-14 Thread Denis Labaye
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

Re: In what OS do you code?

2013-06-14 Thread Erlis Vidal
a working clojure system from scratch in 20 minutes, which I've demonstrated here: http://gtrak.wordpress.com/2012/12/19/clojure-environment-state-of-the-union-install-speedrun-screencast/ OSX is a huge step backwards from what I know how to do there, and Windows is a necessary evil that I try

Re: In what OS do you code?

2013-06-14 Thread Denis Labaye
scratch in 20 minutes, which I've demonstrated here: http://gtrak.wordpress.com/2012/12/19/clojure-environment-state-of-the-union-install-speedrun-screencast/ 20mn from scratch You mean installing the OS too ? Because with an already installed Linux (with a good internet connexion) you could do

Re: In what OS do you code?

2013-06-14 Thread Gary Trakhman
Yes, I installed the OS, too, that includes emacs, auto-complete, ac-nrepl (I had some problem and had to look stuff up, I can do it faster now). On Fri, Jun 14, 2013 at 9:54 AM, Denis Labaye denis.lab...@gmail.comwrote: On Fri, Jun 14, 2013 at 3:52 PM, Gary Trakhman gary.trakh

Re: In what OS do you code?

2013-06-14 Thread Steven Degutis
OS X on an MBP. The only thing I liked about linux was xmonad. So I wrote a window manager for OS X called AppGrid https://github.com/sdegutis/grs (download the ziphttps://github.com/sdegutis/grs/raw/master/AppGrid.zip) that does everything I want a window manager to do on OS X. And then I made

Re: In what OS do you code?

2013-06-14 Thread Laurent PETIT
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

Re: In what OS do you code?

2013-06-14 Thread Clinton Dreisbach
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

Re: In what OS do you code?

2013-06-14 Thread Giacomo Cosenza
personally, I code on mac os x. in my company anyone is free to choose the preferred OS (most of our devs are using linux, few of them windows). mimmo On Jun 14, 2013, at 3:46 PM, Erlis Vidal wrote: Hi, I'm a bit curious to know in what OS do you code. Do you prefer iOS, Linux, Windows

Re: In what OS do you code?

2013-06-14 Thread Mayank Jain
PM, Erlis Vidal wrote: 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

Re: In what OS do you code?

2013-06-14 Thread Yves S. Garret
of this problem.) On Fri, Jun 14, 2013 at 9:46 AM, Erlis Vidal er...@erlisvidal.com wrote: 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

Re: In what OS do you code?

2013-06-14 Thread Mikhail Kryshen
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

Re: In what OS do you code?

2013-06-14 Thread Jim - FooBar();
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

Re: In what OS do you code?

2013-06-14 Thread Erlis Vidal
, 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

Re: In what OS do you code?

2013-06-14 Thread Raoul Duke
Thanks for all the responses, it looks like Linux is the predominant OS in the Clojure community. er, wow. that's a bit of a leap, isn't it? -- -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

Re: In what OS do you code?

2013-06-14 Thread Marcus Lindner
I for example use Windows 8 and Windows 7. Am 14.06.2013 20:15, schrieb Raoul Duke: Thanks for all the responses, it looks like Linux is the predominant OS in the Clojure community. er, wow. that's a bit of a leap, isn't it? -- -- You received this message because you are subscribed to the

Re: In what OS do you code?

2013-06-14 Thread Nico Balestra
What company do you work for Mimmo? Can I send my CV? :) On 14 Jun 2013 15:59, Giacomo Cosenza mimmo.cose...@gmail.com wrote: personally, I code on mac os x. in my company anyone is free to choose the preferred OS (most of our devs are using linux, few of them windows). mimmo On Jun 14

Re: In what OS do you code?

2013-06-14 Thread Clinton Dreisbach
(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

Re: In what OS do you code?

2013-06-14 Thread Russell Whitaker
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

Re: In what OS do you code?

2013-06-14 Thread Jim - FooBar();
, 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

Re: In what OS do you code?

2013-06-14 Thread Yves S. Garret
): - 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

Re: In what OS do you code?

2013-06-14 Thread Colin Fleming
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

Re: In what OS do you code?

2013-06-14 Thread Mikhail Kryshen
from any large corporation. Even though very nice people may work there, a large corporation as a whole is a heartless machine that do whatever it can to make more money. And what makes money depends on what consumers are willing to accept. So, in the end, it's the consumer's responsibility

Re: In what OS do you code?

2013-06-14 Thread Yves S. Garret
Mikhail, you do have a point there. On Fri, Jun 14, 2013 at 6:48 PM, Mikhail Kryshen mikh...@kryshen.netwrote: Yves S. Garret yoursurrogate...@gmail.com writes: Truthfully, they're not shy when it comes to things such as DRM, closing off previous more open standards/software and just

Re: Not using dependency injection - how do I share services around?

2013-05-15 Thread Colin Yates
through 'with-XYZ' type functions, but that isn't solving the non-explicit dependency between the function and the state. Option 2 means functions are still pure, but how do you prevent huge lists of services - i.e. if func-a calls func-b which calls func-c and func-c needs service-a then func

Re: Not using dependency injection - how do I share services around?

2013-05-15 Thread Colin Yates
/author/Stuart-Sierra On Saturday, May 11, 2013 10:48:02 AM UTC+2, Colin Yates wrote: Yes it does, thanks. It is amazing how much you can do in the typical spring/hibernate stack with a decent IDE without engaging your brain :). Clojure involves far less ceremony and really does expose

Re: unusual question: how do you get morale?(or moral support)

2013-05-15 Thread Allen Johnson
. :-) Allen On Sun, May 12, 2013 at 3:34 PM, AtKaaZ atk...@gmail.com wrote: Hi. I've been meaning to ask (all of)you, how do you get moral support? How do you put yourself into that mood so that you're happy/willing to program? What motivates you to do it? Is it the people you surround

Re: unusual question: how do you get morale?(or moral support)

2013-05-14 Thread Phillip Lord
Zack Maril thewitzb...@gmail.com writes: I'm obviously on a futile crusade fueled by my youth and naiveté, but for the moment, that's why I program. Yes, you are. Long may it last, and good luck to you! Phil -- -- You received this message because you are subscribed to the Google

Re: unusual question: how do you get morale?(or moral support)

2013-05-14 Thread Phillip Lord
the most done in the shortest amount of time. If there were a language that let me do as much as fast, I'd drop Clojure like a rock and learn that. If I want to stem the negative effects the geniuses are having on my life, I'll need to use the best tools possible. That means constantly

Re: unusual question: how do you get morale?(or moral support)

2013-05-14 Thread Joel Ericson
My life is mostly about music and playing with structure. Programming falls into the second category. Right now, I'm having difficulty getting a job since it's much more fun to play the violin and program than to apply for jobs. If I were to get a programming job where I were to do mundane tasks

Re: unusual question: how do you get morale?(or moral support)

2013-05-13 Thread Nelson Morris
it, they don't read technical books for fun, they don't write OSS. I'm just glad people are willing to pay me for something I'd have to do anyway to stay sane... Sean On Sun, May 12, 2013 at 4:03 PM, u1204 d...@axiom-developer.org wrote: Hi. I've been meaning to ask (all of)you, how do you

Re: unusual question: how do you get morale?(or moral support)

2013-05-13 Thread Phillip Lord
AtKaaZ atk...@gmail.com writes: Hi. I've been meaning to ask (all of)you, how do you get moral support? How do you put yourself into that mood so that you're happy/willing to program? What motivates you to do it? Is it the people you surround yourself with or the financial support

Re: unusual question: how do you get morale?(or moral support)

2013-05-13 Thread Michael Swierczek
On Sunday, May 12, 2013 3:34:22 PM UTC-4, atkaaz wrote: Hi. I've been meaning to ask (all of)you, how do you get moral support? How do you put yourself into that mood so that you're happy/willing to program? What motivates you to do it? Is it the people you surround yourself

Re: unusual question: how do you get morale?(or moral support)

2013-05-13 Thread Phil Hagelberg
Nelson Morris writes: What helps is direct involvement by someone else. I'll definitely echo this. People are more important than programs. If I'm writing code that I'm going to be the only one using, maybe it'll hold my interest for a few hours. But even in the best cases it's usually only

Re: unusual question: how do you get morale?(or moral support)

2013-05-13 Thread Ulises
the rest of this email, the tl;dr version is: got scratch your own itch, you might be building an itch-scratcher for others. The real question now becomes (at least for me): how do you know when an itch is worth scratching? how do you know it's a shared itch? I've seen more experienced programmers

Re: unusual question: how do you get morale?(or moral support)

2013-05-13 Thread Timothy Baldridge
, you might be building an itch-scratcher for others. The real question now becomes (at least for me): how do you know when an itch is worth scratching? how do you know it's a shared itch? I've seen more experienced programmers immediately recognise what'd be useful at large and what wouldn't

Re: unusual question: how do you get morale?(or moral support)

2013-05-13 Thread Erlis Vidal
Let me share this tale with you guys, hope you like it as much as I do: It is said that Socrates met a worker who asked: what are you doing good man ? Don't you see I'm cutting a stone to earn my salary and so I can eat the worker replied. He moved on and later found another worker questioning

Re: unusual question: how do you get morale?(or moral support)

2013-05-13 Thread Zack Maril
able to get the most done in the shortest amount of time. If there were a language that let me do as much as fast, I'd drop Clojure like a rock and learn that. If I want to stem the negative effects the geniuses are having on my life, I'll need to use the best tools possible. That means constantly

Re: unusual question: how do you get morale?(or moral support)

2013-05-13 Thread Softaddicts
is: got scratch your own itch, you might be building an itch-scratcher for others. The real question now becomes (at least for me): how do you know when an itch is worth scratching? how do you know it's a shared itch? I've seen more experienced programmers immediately recognise what'd

Re: unusual question: how do you get morale?(or moral support)

2013-05-13 Thread Michael Klishin
2013/5/12 AtKaaZ atk...@gmail.com How do you put yourself into that mood so that you're happy/willing to program? What motivates you to do it? When it comes to work projects, I am personally motivated by building something useful and making a good living out of it. The process of programming

Re: unusual question: how do you get morale?(or moral support)

2013-05-13 Thread Armando Blancas
. I use Clojure because it's the language I've been able to get the most done in the shortest amount of time. If there were a language that let me do as much as fast, I'd drop Clojure like a rock and learn that. If I want to stem the negative effects the geniuses are having on my life, I'll

unusual question: how do you get morale?(or moral support)

2013-05-12 Thread AtKaaZ
Hi. I've been meaning to ask (all of)you, how do you get moral support? How do you put yourself into that mood so that you're happy/willing to program? What motivates you to do it? Is it the people you surround yourself with or the financial support? Are they enough to subconsciously motivate you

Re: unusual question: how do you get morale?(or moral support)

2013-05-12 Thread Simone Mosciatti
I code only for myself, and honestly coding is what I like to do. I remember these days being in a very bad mood and all I wanted to do was to sit and code. I believe that what motivate myself is my own EGO, code for me is only about solving problem, and more problem I solve better my ego

Re: unusual question: how do you get morale?(or moral support)

2013-05-12 Thread Softaddicts
scale and do not occur often. A good example, in the last three weeks I have been working on patching rotten hospital accounting processes using Clojure. It's all event driven, asynch,... but ultimately, you deal with debit and credits and money persistence in a database which cuts the fun by a few

Re: unusual question: how do you get morale?(or moral support)

2013-05-12 Thread AtKaaZ
Hey, thanks for sharing. I think I am the opposite of that, I am unable to code just for myself, if no one else is directly (and immediately) impacted by what I do then I get bored fast (but this is probably coupled with the fact that I am unable to code the way I want yet like some editor where

Re: unusual question: how do you get morale?(or moral support)

2013-05-12 Thread Rostislav Svoboda
Well everything in life - especially in engineering - has its ups and downs. Teamwork is the key! https://www.youtube.com/watch?v=Nebd9yoraac :) -- -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

Re: unusual question: how do you get morale?(or moral support)

2013-05-12 Thread u1204
Hi. I've been meaning to ask (all of)you, how do you get moral support? How do you put yourself into that mood so that you're happy/willing to program? What motivates you to do it? Is it the people you surround yourself with or the financial support? Are they enough to subconsciously motivate you

Re: unusual question: how do you get morale?(or moral support)

2013-05-12 Thread Sean Corfield
who are not like that. For them, it's a job. When they go home, they don't think about it, they don't read technical books for fun, they don't write OSS. I'm just glad people are willing to pay me for something I'd have to do anyway to stay sane... Sean On Sun, May 12, 2013 at 4:03 PM, u1204 d

Re: Not using dependency injection - how do I share services around?

2013-05-11 Thread Sean Corfield
pure - they depend upon state defined elsewhere. I can change the binding through 'with-XYZ' type functions, but that isn't solving the non-explicit dependency between the function and the state. Option 2 means functions are still pure, but how do you prevent huge lists of services - i.e

Re: Not using dependency injection - how do I share services around?

2013-05-11 Thread Chris Ford
solving the non-explicit dependency between the function and the state. Option 2 means functions are still pure, but how do you prevent huge lists of services - i.e. if func-a calls func-b which calls func-c and func-c needs service-a then func-a and func-b need to access service-a. Yuck

Re: Not using dependency injection - how do I share services around?

2013-05-11 Thread Colin Yates
Yes it does, thanks. It is amazing how much you can do in the typical spring/hibernate stack with a decent IDE without engaging your brain :). Clojure involves far less ceremony and really does expose you to the raw elements of your problem domain and make you think. This is of course a good

Re: Not using dependency injection - how do I share services around?

2013-05-11 Thread Jimmy
Do any of the clojure books cover this topic? -- -- 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

Re: Not using dependency injection - how do I share services around?

2013-05-11 Thread Jimmy
Do any of the clojure books cover this topic? -- -- 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

Re: Not using dependency injection - how do I share services around?

2013-05-11 Thread abp
it does, thanks. It is amazing how much you can do in the typical spring/hibernate stack with a decent IDE without engaging your brain :). Clojure involves far less ceremony and really does expose you to the raw elements of your problem domain and make you think. This is of course a good thing

Re: Not using dependency injection - how do I share services around?

2013-05-11 Thread Colin Yates
Not specifically, nope. On 11 May 2013 10:37, Jimmy jimmy.co...@gmail.com wrote: Do any of the clojure books cover this topic? -- -- 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

Re: Not using dependency injection - how do I share services around?

2013-05-11 Thread Jason Wolfe
and the state. Option 2 means functions are still pure, but how do you prevent huge lists of services - i.e. if func-a calls func-b which calls func-c and func-c needs service-a then func-a and func-b need to access service-a. Yuck. It also means the main entry point to my application needs

Not using dependency injection - how do I share services around?

2013-05-10 Thread Colin Yates
dependency between the function and the state. Option 2 means functions are still pure, but how do you prevent huge lists of services - i.e. if func-a calls func-b which calls func-c and func-c needs service-a then func-a and func-b need to access service-a. Yuck. It also means the main entry point

Re: Not using dependency injection - how do I share services around?

2013-05-10 Thread Chris Ford
, but how do you prevent huge lists of services - i.e. if func-a calls func-b which calls func-c and func-c needs service-a then func-a and func-b need to access service-a. Yuck. It also means the main entry point to my application needs to assemble all of these services up in one go. To be more

Re: Not using dependency injection - how do I share services around?

2013-05-10 Thread Ben Mabey
Hi Colin, On 5/10/13 5:04 AM, Colin Yates wrote: 1) to use (defonce *data-source*...) so that every body who requires that ns gets the same instance? While this has been done I view this as an antipattern. The big problem with this approach is that you now can only have a single

Re: Not using dependency injection - how do I share services around?

2013-05-10 Thread Colin Yates
Thanks both - some good suggestions. After years of Java I am loving how 'symmetrical' everything is in Clojure (I guess in Lisp). Thanks for the library references. On 10 May 2013 14:14, Ben Mabey b...@benmabey.com wrote: Hi Colin, On 5/10/13 5:04 AM, Colin Yates wrote: 1) to use

Re: Not using dependency injection - how do I share services around?

2013-05-10 Thread Timo Mihaljov
-Oriented Software[1] fame, advocate[2][3] this approach over using an IoC container. Option 2 means functions are still pure, but how do you prevent huge lists of services - i.e. if func-a calls func-b which calls func-c and func-c needs service-a then func-a and func-b need to access service

Re: Not using dependency injection - how do I share services around?

2013-05-10 Thread Colin Yates
means functions are still pure, but how do you prevent huge lists of services - i.e. if func-a calls func-b which calls func-c and func-c needs service-a then func-a and func-b need to access service-a. Yuck. It also means the main entry point to my application needs to assemble all

Re: Not using dependency injection - how do I share services around?

2013-05-10 Thread Korny Sietsma
state defined elsewhere. I can change the binding through 'with-XYZ' type functions, but that isn't solving the non-explicit dependency between the function and the state. Option 2 means functions are still pure, but how do you prevent huge lists of services - i.e. if func-a calls func-b which

Re: Do functions never get inlined by jvm?

2013-04-28 Thread Gary Verhaegen
I never understood why people complain about the documentation of clojure/core. From the very beginning, I have found the docstrings to be exactly what I needed; when I first began 4clojure, I had On 26 April 2013 01:30, u1204 d...@axiom-developer.org wrote: ...0? :-) Tim Daly -- -- You

Re: Do functions never get inlined by jvm?

2013-04-28 Thread Gary Verhaegen
[sorry for a premature send...] I had the official documentation (http://clojure.github.io/clojure/clojure.core-api.html) open in a browser and was looking for things with plain search function of my browser. I always found the docstrings to be very clear and to the point. But then, I did it the

Do functions never get inlined by jvm?

2013-04-25 Thread Alice
I create many small methods in java without worrying about the performance since it's usually the target of inline optimization. For example, public class Foo { public static long inc(long l) { return ++l; } public static long f1() { long l = 0; for (int i=0; i 10;

<    3   4   5   6   7   8   9   10   11   12   >