On 3/17/16, 10:47 AM, "Zach Tellman" wrote:
> I'm writing a book about Clojure, aimed at people who already know the core
> concepts, and want to use them more effectively.
Loved the free chapter. Buying a copy for everyone on my team,
Something unusual happens when I'm writing macros while in modes cider and
ClojureC with autocomplete enabled.
I have a macro derive-component (definition is too long to put in here).
When I attempt to use this macro, as follows:
;; s refers to schema.core in this context
(derive-component
>> If the app-state has changed then it starts re-rendering the UI.
That's pretty much exactly what fn-fx does in the latest version, with two
caveats: 1) there's no timer, just a watch on an atom. 2) If you properly
diff components you don't need to re-create them every time, just change
the
On Mar 17, 2016 2:10 PM, "JvJ" wrote:
>
> So far, this appears to be primarily focused on style and programming
practice. Is that going to be the primary focus of the book?
that would be a Fine Thing, imo. but maybe you should call it "Elements of
Clojure Style."
>
>
> On
I changed the link to the Leanpub one. I think the content type may have
been wrong before, which maybe Android is overly sensitive to. Glad it's
working now.
On Sat, Mar 19, 2016 at 6:24 PM Gregg Reynolds wrote:
>
> On Mar 19, 2016 4:16 PM, "Zach Tellman"
On Mar 19, 2016 4:16 PM, "Zach Tellman" wrote:
>
> The files have worked everywhere I've tried them. I've linked everything
to the Leanpub download, just to reduce any change of divergent behavior,
but I'm not sure there's more I can do. Thank you for the report, though,
I'm
On Mar 19, 2016 7:07 PM, "jjttjj" wrote:
>
> FWIW, I also tried to download the sample PDF on my Android phone (Nexus
5) and got the same error, but I tried twice more and on the third time it
just worked. So maybe just keep trying?
>
sounds like android fones have a too -
Paul, yeap, Seesaw is definitely something worth considering. Dave Ray
hasn't abandoned the project, but I sent a personal email to him asking
about the state of the project and it does seem the Seesaw is in more of a
maintenance phase than a continue to move forward and improve phase. Dave
Ray,
They are a logical consequence of the machine.
->> is a mechanical transformation taking a form (->> x (a ... w))
turning it into (a ... w x), and this same mechanical transformation is
in place when nested. You example expands in steps like:
(->> a b c (->> d e f))
(->> (b a) c (->> d e f))
ClojureScript, the Clojure compiler that emits JavaScript source code.
README and source code: https://github.com/clojure/clojurescript
Leiningen dependency information:
[org.clojure/clojurescript "1.8.34"]
There are many minor fixes in this release around bootstrapped
ClojureScript. This
=> (clojure.walk/macroexpand-all '(->> a b c (->> d e f)))
(c (b a) (f (e d)))
I was hoping that it would return
(f (e d) (c (b a)))
Can someone here explain the rationale for the current semantics?
Context: some of the queries towards the end of this post.
FWIW, I also tried to download the sample PDF on my Android phone (Nexus 5)
and got the same error, but I tried twice more and on the third time it
just worked. So maybe just keep trying?
On Saturday, March 19, 2016 at 5:47:20 PM UTC-4, Gregg Reynolds wrote:
>
>
> On Mar 19, 2016 4:16 PM, "Zach
On Thu, Mar 17, 2016 at 11:12 AM, gvim wrote:
> Better to get a foundation in Javascript, Python/Ruby and Java first then
> add Clojure later.
>
Disagree. It's easier to go from functional programming to imperative
programming than vice versa, so it is better to teach
Solved by adding the seq-library to my load
path: https://github.com/NicolasPetton/seq.el
On Saturday, 19 March 2016 15:13:40 UTC-7, JvJ wrote:
>
> I downloaded a new emacs config (
> https://github.com/clojure-emacs/example-config), and it appears to be
> using company for auto-completion.
After a rough start as a new maintainer of these libraries my personal life
has stabilized to the point where I can be an active maintainer.
I'm hoping to do more enhancements but for now I can promise that changes
to Clojure and Clojurescript that break Marginalia will be resolved and
pushed
I downloaded a new emacs config
(https://github.com/clojure-emacs/example-config), and it appears to be
using company for auto-completion. However, the autocomplete never works.
I get the following error each time:
Error while checking syntax automatically: (void-function seq-find) [2
On Mar 19, 2016 4:16 PM, "Zach Tellman" wrote:
>
> The files have worked everywhere I've tried them. I've linked everything
to the Leanpub download, just to reduce any change of divergent behavior,
but I'm not sure there's more I can do. Thank you for the report, though,
I'm
On 14 March 2016 at 19:45, Christopher Small wrote:
> I know that planck (http://planck-repl.org/) has successfully achieved
> cljs scripting capacity on OSX (and I've heard there's progress on Linux
> support as well, but am fuzzy on the details). Do you think support for
Thanks, David!
I get those warnings when compiling via "lein figwheel":
WARNING: Unknown option ':compiler-env'.
WARNING: Unknown option ':special-fns'.
WARNING: Unknown option ':warn-on-undeclared'.
Otherwise, everything seems fine.
Rangel
On Friday, March 18, 2016 at 11:04:46 AM UTC-7,
I definitely don't want to get into a pointless legal discussion! Obviously
everyone's situation- and legal interpretation thereof- is different, yadda
yadda.
Will just say in passing having gone through the language of the EPL and
other licenses with IP lawyers on a few separate occasions over
The files have worked everywhere I've tried them. I've linked everything to
the Leanpub download, just to reduce any change of divergent behavior, but
I'm not sure there's more I can do. Thank you for the report, though, I'm
sure you're not the only one seeing this.
On Sat, Mar 19, 2016 at 2:08 PM
You might have better luck asking in the cider-emacs group,
https://groups.google.com/forum/#!forum/cider-emacs
or even more active, the Gitter chat: https://gitter.im/clojure-emacs/cider
-James
On Wednesday, March 16, 2016 at 3:01:23 PM UTC-5, JvJ wrote:
>
>
>
> Something unusual happens
On Mar 19, 2016 3:46 PM, "Zach Tellman" wrote:
>
> Do you get the same error for
http://samples.leanpub.com/elementsofclojure-sample.pdf?
>
Oy. it might be the email client, who knows? when I click on the
leanpub.com link in my email client I get a "downloading" msg, then
On Mar 19, 2016 3:34 PM, "Gregg Reynolds" wrote:
>
>
> On Mar 19, 2016 3:32 PM, "Zach Tellman" wrote:
> >
> > Is this the PDF from elementsofclojure.com or leanpub.com? They should
be the same, but I just want to make sure I know all the details.
>
> the
Do you get the same error for
http://samples.leanpub.com/elementsofclojure-sample.pdf?
On Sat, Mar 19, 2016 at 1:40 PM Gregg Reynolds wrote:
>
> On Mar 19, 2016 3:34 PM, "Gregg Reynolds" wrote:
> >
> >
> > On Mar 19, 2016 3:32 PM, "Zach Tellman"
On Mar 19, 2016 3:32 PM, "Zach Tellman" wrote:
>
> Is this the PDF from elementsofclojure.com or leanpub.com? They should
be the same, but I just want to make sure I know all the details.
the former.
>
> On Sat, Mar 19, 2016 at 1:07 PM Gregg Reynolds
Is this the PDF from elementsofclojure.com or leanpub.com? They should be
the same, but I just want to make sure I know all the details.
On Sat, Mar 19, 2016 at 1:07 PM Gregg Reynolds wrote:
>
> On Mar 17, 2016 12:47 PM, "Zach Tellman" wrote:
> >
> >
For completeness:
~/clj > cat hello-inlein.clj
#!/usr/bin/env inlein
'{ :dependencies [[org.clojure/clojure "1.8.0"]] }
(println "hello world!")
~/clj > cat hello-lein-exec.clj
#!/usr/bin/env lein-exec
(println "hello world!")
--
You received this message because you are subscribed to
I understand your position (you have bosses that you have to answer to), but I
would like to thank you for reminding me to thank Rich for choosing the license
that is unfriendly to software patent litigators. here is how I look at this:
there is a wonderful free software that lots of people
On Mar 17, 2016 12:47 PM, "Zach Tellman" wrote:
>
> I'm writing a book about Clojure, aimed at people who already know the
core concepts, and want to use them more effectively. The first chapter,
"Names", is complete and can be read for free. Details can be found at
On 21/02/2016 10:45, Terje Dahl wrote:
I believe that the simplicity of Clojure's syntax in combination with
its clean functional nature and prefix notation makes it ideal as a
"first language" for anyone who wants to start programming - including,
and perhaps especially kids.
Is there anything
On Mar 19, 2016 5:33 AM, "Sam Halliday" wrote:
>
> Thanks Aleksander,
>
> However it's quite the opposite: I'd like to be able to use Clojure in
production environments but I cannot because the EPL is an extremely
dangerous licence for an IPR-heavy company to use as their
Thanks Bozhidar. I agree that the "default name" sections can be expanded
a bit, and some related rules may also fall into the second chapter. I
don't think I'll stray too far from what's in your guide.
On Sat, Mar 19, 2016 at 11:05 AM Bozhidar Batsov
wrote:
> Seems to me
Admitedly, the Apache 2.0 does have a patent retaliation clause. It's
just subtely different :-)
--
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
On Mar 19, 2016 10:51 AM, "Sam Halliday" wrote:
>
> It's got nothing to do with contributing to Clojure (the Grant of Right
> is standard in all modern free software licences). The problem is the
> patent retaliation clause, which I quote from Section 7 of the
>
We are happy to bring to the cljs community KLIPSE - a simple and
elegant online cljs compiler and evaluator.
You can give it a try here
Jason Felice writes:
> This same verbiage appears in the Apache license and the Artistic license
This is false. What I quoted is the EPL patent retaliation clause and
Apache 2.0 has no such clause. Perhaps you are thinking about the Apache
2.0's Grant of Patent clause, which is similar to EPL's
You can diff JavaFX components like that?
--
Jason Zwolak
On Thu, Mar 17, 2016 at 12:51 PM, Timothy Baldridge
wrote:
> >> If the app-state has changed then it starts re-rendering the UI.
>
> That's pretty much exactly what fn-fx does in the latest version, with two
>
I specifically know of a large corporation with a strict legal team which
has rejected React's license, but accepted both the Eclipse and Apache
public licenses. React's license has a similar but much broader clause
with respect to patents.
Sam's claim, 'I can only guess that the current use of
one word: redstone.
--
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
Seems to me that some more Clojure-specific naming rules can be
incorporated into the first chapter (e.g. like the ones we have here
https://github.com/bbatsov/clojure-style-guide/#naming). Other than this
small remark - excellent work!
On 19 March 2016 at 13:20, Val Waeselynck
Well, will disagree about some things, but agree very much about
others--probably all practical matters. Some of your remarks seem
valuable. Some don't seem relevant to me. Ah well, we're just talking
here. Not everything needs to matter.
Your point about thriving, competing libraries is
Hi Timothy,
I'm really glad to see some new commits on fn(fx)! I don't know about others,
but you'll definitely have at least one very enthusiastic user if I can get to
a point where I can use it easily for simple things, and adapt/contribute for
more complex things.
Do you think the project is
It's got nothing to do with contributing to Clojure (the Grant of Right
is standard in all modern free software licences). The problem is the
patent retaliation clause, which I quote from Section 7 of the
[EPL](http://www.eclipse.org/legal/epl-v10.html)
"If Recipient institutes patent
Can you elaborate a little more on those nightmare scenarios? From my (amateur)
reading of the EPL, it looks like the patent clauses apply to contributors to
the program. In this case, Clojure. Does developing something in Clojure force
you to release it under the EPL?
--
You received this
> On Mar 17, 2016, at 11:10 AM, blake watson wrote:
>
> On Sat, Mar 12, 2016 at 2:42 PM, Lee Spector wrote:
>
> > Is "lein new app foo" that complicated?
>
> If I understand Paul correctly—and am not just imposing my own similar
> feelings on
Hi - Looks nice.
On my computer (1-year-old Ubuntu 15.10, medium desktop from ZaReason),
inlein is a little faster than lein-exec, about 1.7x ratio:
~/clj > for xx in 1 2 3 ; do time hello-inlein.clj ; done
hello world!
hello-inlein.clj 0.64s user 0.03s system 129% cpu 0.523 total
hello world!
Zach - that's great, can't wait to read all of it!
Rangel
On Thursday, March 17, 2016 at 10:47:55 AM UTC-7, Zach Tellman wrote:
>
> I'm writing a book about Clojure, aimed at people who already know the
> core concepts, and want to use them more effectively. The first chapter,
> "Names", is
On Sat, Mar 12, 2016 at 2:42 PM, Lee Spector wrote:
> Is "lein new app foo" that complicated?
If I understand Paul correctly—and am not just imposing my own similar
feelings on him—the problem is not that "lein new app foo" is complicated,
it's that it creates a
The chapter on naming is brilliant, I rarely learned so much in so few
pages :)
So far I have found the content to be more about 'philosophical'
programming notions than Clojure specifically, but the parts about Clojure
are useful and pratical.
You may want to state more explicitly how this
It uses the same sort of logic that React does. Fn-fx creates a virtual
dom, and then diffs the previous virtual dom against the updated one. From
there you get a list of necessary updates. JavaFX has a rather uniform
property interface so applying these updates is quite simple.
On Thu, Mar 17,
Have you come across any *new* programmers who think in terms of bit
twiddling? I agree with Mark - this tends to be intuitive once you've
learned that that is all there is. This might have been the case long ago
when people started programming by learning about how CPUs work, but
computers are so
That sounds great Timothy, thanks!
On 18 March 2016 at 06:32, Timothy Baldridge wrote:
> It uses the same sort of logic that React does. Fn-fx creates a virtual
> dom, and then diffs the previous virtual dom against the updated one. From
> there you get a list of necessary
Thanks Aleksander,
However it's quite the opposite: I'd like to be able to use Clojure in
production environments but I cannot because the EPL is an extremely
dangerous licence for an IPR-heavy company to use as their language to
develop core technology. The patent retaliation clause provides
This could be React on desktop, +1 for that :)
--
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
Inline below..
Dave
On Thu, Mar 17, 2016 at 9:37 AM, Jason Zwolak wrote:
> Paul, yeap, Seesaw is definitely something worth considering. Dave Ray
> hasn't abandoned the project, but I sent a personal email to him asking
> about the state of the project and it does seem the
It would be nice to allow reload of the script from the REPL (with a
special command).
Another thing, is there a way to package the script and its dependencies
into an executable (like lein bin does)?
On Sunday, 13 March 2016 16:09:22 UTC+2, Jean Niklas L'orange wrote:
>
> Hi all Clojurians,
>
On Thursday, March 17, 2016 at 12:10:21 PM UTC-5, blake watson wrote:
>
> On Sat, Mar 12, 2016 at 2:42 PM, Lee Spector > wrote:
>
> > Is "lein new app foo" that complicated?
>
> If I understand Paul correctly—and am not just imposing my own similar
> feelings on him—the
I'm also interested in JavaFX from Clojure.
--
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
Nightcode is an IDE for beginners -- or for hipsters who think emacs and
intellij are too mainstream. Previously, it supported a subset of paredit
commands, but I've always longed for some other way to avoid misbalanced
parens, because paredit is difficult for beginners. Let's face it, Lisp has
So far, this appears to be primarily focused on style and programming
practice. Is that going to be the primary focus of the book?
On Thursday, 17 March 2016 10:47:55 UTC-7, Zach Tellman wrote:
>
> I'm writing a book about Clojure, aimed at people who already know the
> core concepts, and want
Read it and like it so far!
--
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
I've been working on a "React for JavaFX" library for some time. Sadly I
have no use for the library, so I haven't talked about it much yet. But the
newest iteration has a interface I'm pretty happy with:
https://github.com/halgari/fn-fx/blob/master/test/fn_fx/fx_dom_test.clj#L97-L145
If there
Really depends on how the brain of the programmer is wired IMHO. To some
people, the intuitive part of programming is fiddling with bits, to others
it's all about abstraction.
On Mar 17, 2016 9:32 PM, "Mark Engelberg" wrote:
> On Thu, Mar 17, 2016 at 11:12 AM, gvim
64 matches
Mail list logo