Re: Demoralising experience trying to install on Win 7

2014-10-26 Thread TP
On Sun, Oct 26, 2014 at 3:43 PM, Geoff Caplan  wrote:

> I'm pretty fluent in bash but have never had a need for the Windoze shell
> except for the odd ping and .bat file, and I'd got into the habit of
> running .bats by double-clicking. But there does seem to be a lack of focus
> and coordination on the Windows issue, and it seems unwise to assume that
> all Windows users are going to have the skills to work around broken
> scripts.


Earlier in the year I had somewhat the opposite problem. I'm very fluent
with Windows 7 command line use, so I use the free TCC/LE cmd replacement
[1]. However, lein.bat v2.3.4 broke when used from TCC/LE [2][3].

As it is presumably more likely that advanced Windows users would be
interested in trying something like Clojure, they also might know it's
better to use TCC/LE than the built-in cmd. As such any incompatibility
between lein.bat and TCC/LE should be noted somewhere along with the
probable fix mentioned in [3].

I don't know if this is no longer an issue with lein.bat because I've since
switched over to trying F# and haven't been playing with Clojure (or
leiningen or Emacs/Cider or IntelliJ/Cursive or Light Table).

[1] http://jpsoft.com/tccle-cmd-replacement.html

[2]
http://jpsoft.com/forums/threads/leiningen-broken-with-tcc-but-ok-with-cmd.4734/

[3] https://github.com/technomancy/leiningen/issues/696

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Thnx for clojureconj videos !!

2014-11-22 Thread TP
On Sat, Nov 22, 2014 at 5:09 AM, Geraldo Lopes de Souza <
geraldo...@gmail.com> wrote:

> Thank you very much for clojureconj videos !!


Not to be ungrateful, but it would be much better if all videos came with
"table of contents" that had links to the start times of each "Chapter",
"Section", "SubSection" (aka Slide) of the talk. YouTube supports this
automatically by converting text in the form of hh:mm:ss to links to that
point in the video. BTW this works even in comments so anyone can add TOCs,
but obviously it's better if the TOC is in the description.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Clojure for Desktop UI Design Application

2015-01-13 Thread TP
On Tue, Jan 13, 2015 at 10:16 AM, Mike Haney  wrote:

> Anyway, given what I know today If I had to write a desktop GUI, my first
> instinct would be Clojurescript+node-webkit


Since I'm still investigating Clojure, my first instinct when writing a
desktop GUI --- similar to what Timothy Baldridge mentions --- is to use C#
+ WPF. In particular I really like the Model-View-ViewModel architecture
enabled by the fancy data binding that XAML/WPF can do. And the relatively
new Assisticant [1] [2] seems to make that even easier (though I've haven't
actually used it yet).

Given that I'm more comfortable with .NET... for functional programming
I've started to use F# for "real work" (as opposed to toy apps/solving
koans while learning Clojure). While you can write WPF apps with F# there
is still some work to do. FsXaml [3] [4] is trying to address this need.
And while I'm still learning, it seems like F# can do React-like
"Functional Reactive Programming" [5]. Of course ClojureCLR [6] is also an
alternative for .NET-centric types but I only looked at it briefly.

I spent some time trying to grok LightTable, but the
Clojure/ClojureScript/Javascript/leiningen/Google Closure
compiler/JVM/node-webkit combo caused me to give up for now. It didn't help
that Windows support tends to be an afterthought. BTW LightTable is
seriously considering jettisoning node-webkit and switching to the github
Atom shell instead [7].

[1] http://assisticant.net/

[2] http://www.pluralsight.com/courses/clean-view-models-assisticant

[3] https://github.com/fsprojects/FsXaml

[4] Reed Copsey: New libraries for Client Side development in F#
https://www.youtube.com/watch?v=z6R85_X2ivE

[5] http://fsharpforfunandprofit.com/posts/concurrency-reactive/

[6] https://github.com/clojure/clojure-clr

[7]
https://groups.google.com/forum/#!searchin/light-table-discussion/atom$20shell$20chris$20granger

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ANN: [R User Conference]

2014-05-29 Thread TP
On Thu, May 29, 2014 at 12:21 PM, Gregg Reynolds  wrote:

> On Thu, May 29, 2014 at 1:22 AM, A  wrote:
>
>> I hope it's allright to mention here that the R User Conference is
>> happening June 30-July 3 in Los Angeles.  There are a number of ways
>> Clojure and R can be used together for statistical programming and data
>> analysis.
>>
>> Observing the R community may be insightful for the Clojure community
>> with respect to the Incanter project and other data science oriented
>> efforts in Clojure.
>>
>
> Ditto for Julia.  JuliaCon 2014  will be in Chicago
> in June.  Any other Clojurites going?  I'm mainly interested in Clojure,
> mainly because it's hard to beat it as a data integration language
> (whatever that means), but I think Julia is worth a hard look.
>
> -Gregg
>
>
> There is also the newish book "Clojure Data Analysis Cookbook" (Packt,
March 2013) by Eric Rochester [1]. I haven't read it but it covers things
like working with R, Mathematica, and Inchanter via Clojure.

[1] http://www.packtpub.com/clojure-data-analysis-cookbook/book

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Re-upload corrupted Rich Hickey video?

2014-07-16 Thread TP
Download the file via some youtube downloader. The downloaded file is not
corrupted.


On Tue, Jul 15, 2014 at 4:46 PM, Herwig Hochleitner 
wrote:

> 2014-07-16 0:18 GMT+02:00 gvim :
>
> "Clojure for Lisp Programmers Part 1" by Rich Hickey:
>>
>> http://www.youtube.com/watch?v=cPNkH-7PRTk
>>
>>  seems to have become corrupted. Can anyone re-upload the original?
>
>
> I can confirm that it's cut off at 6:35 in all resolutions. I hope
> ClojureTV still has the original.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


varying realization of a lazy-seq of strings?

2017-09-17 Thread TP

Hi,

I am writing to ask if a behavior that I find strange is a bug or 
intended? In the latter case I would like to learn why is it so.


In the REPL I see the following, that I think is OK:

user=> (def test-data (lazy-seq [(str ["ZiZi"])]))
#'user/test-data
user=> test-data
("[\"ZiZi\"]")

However, if I call "print" in between the previous 2 lines, test-data 
becomes different at the end:


user=> (def test-data (lazy-seq [(str ["ZiZi"])]))
#'user/test-data
user=> (print test-data)
([ZiZi])nil
user=> test-data
("[ZiZi]")

I found that the "binding" of  *print-readably* in the code of "print" 
makes the difference. If it is nil (as in print), I get the faulty 
value. If it is true, then I get the right (inner-quoted) value.


I learned (from e.g. Stuart Halloway at 
http://grokbase.com/t/gg/clojure/149d3t0gwh/schrodingers-cat-in-clojure) 
that mixing lazy evaluation and I/O can lead to confusing situations and 
that is normal. However here I feel that I get different values of the 
same expression depending on which action triggers its realization: if 
it is (e.g.) print, then it is realized in a faulty way: "[ZiZi]" is not 
correct, since ZiZi should be quoted inside the string by \"-s. (I know 
the missing inner quotes are not just a REPL printing issue as I 
distilled this question after spending hours to hunt down strange error 
messages in a real commercial program.) In other words it seems to me 
that having *print-readably* nil, makes the realization of this lazy-seq 
failing.


I also see that the problem disappears if I do not use lazy-seq (or 
map...) or if I code the string directly (without "str"):


user=> (def test-data (lazy-seq ["[\"ZiZi\"]"]))
#'user/test-data
user=> (print test-data)
(["ZiZi"])nil
user=> test-data
("[\"ZiZi\"]")

and

user=> (def test-data [(str ["ZiZi"])])
#'user/test-data
user=> (print test-data)
[["ZiZi"]]nil
user=> test-data
["[\"ZiZi\"]"]

I verified this behavior both in (pure, i.e. not Lein) REPL of Clojure 
1.8 and 1.9.0-alpha20.


Please help me understanding what's going on here.

Thanks,P


--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups "Clojure" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is the Learning Guide in Order?

2017-10-11 Thread TP
As a first step I would recommend this tutorial: 
https://aphyr.com/posts/301-clojure-from-the-ground-up-welcome (unless 
you are ready to buy a book).



2017-10-11 16:01 keltezéssel, Mark Nutter írta:

See also https://www.braveclojure.com/.

On Tue, Oct 10, 2017 at 9:11 PM, Tomiwa Ademidun 
mailto:tomiademi...@gmail.com>> wrote:


Hey guys,

I Finally started learning Lisp/Clojure thanks to inspiration from
the great Paul Graham's essays
. First, I wanted to say I
appreciate your work in putting together the tutorial and
clojure-docs website, its very helpful and I really appreciate all
your efforts.

After working through the introduction
, I'm
about to start the language guide
. I
was just wondering if there is a recommended order in which to
work through the guide (or should I do a tutorial and then use the
guide as a reference?). I'm assuming I should start with
functions, if so, what comes after that as I am a bit overwhelmed
by all the things I don't know :)


Thanks,
Tomiwa
-- 
You received this message because you are subscribed to the Google

Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com

Note that posts from new members are moderated - please be patient
with your first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com

For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

---
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to clojure+unsubscr...@googlegroups.com
.
For more options, visit https://groups.google.com/d/optout
.


--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient 
with your first post.

To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google 
Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to clojure+unsubscr...@googlegroups.com 
.

For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups "Clojure" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.