Re: Hi I am a new user of clojure ,I am not being able to use lein

2015-01-26 Thread Denis Fuenzalida
Hi Bis, I just tried Leiningen on a Windows 7 machine and what was simpler for me was to: * Install JDK 8 * Save lein.bat to a location where lein could be run from the command line (eg. C:\WINDOWS). * On a cmd.exe console run "lein self-install" to download lein's library. Didn't have to inst

Re: clojure don't support .clj source code file by utf-8.

2015-07-11 Thread Denis Fuenzalida
ration. My theory is that such garbage chars are the Byte Order Mark (BOM) Unicode character (https://en.wikipedia.org/wiki/Byte_order_mark) and they are not being correctly handled in Windows somewhere in the stack. I don't use Windows regularly and I never had UTF-8 issues on Linux thoug

Re: 'cljsbuild' not a task

2015-07-20 Thread Denis Fuenzalida
Hi Bernie, I think you're folliowing this tutorial, right? https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-01.md ... I learned from this tutorial a while ago but the syntax for leiningen has changed since, and while the community has tried to keep the tutorial up to date, the

Re: clojurescript introduction

2014-07-31 Thread Denis Fuenzalida
Probably you'll want something like https://github.com/swannodette/lt-cljs-tutorial which is oriented to Light-Table users and https://github.com/magomimmo/modern-cljs/tree/master/cljs-tutorial which covers other editors and IDEs. >From there, it's likely you'll want to check how to edit the D

Re: Dynamically generate jar from clojure

2014-10-18 Thread Denis Fuenzalida
Hi Arkadiusz, You're right: you should leverage on the existing functionality from Leiningen itself as much as possible. I think you'd want to follow an approach like this: - Create your Clojure-based web application, include Leiningen itself as a runtime dependency - Generate a project skelet

Re: What would be the easiest way for people's Rails app, PHP app, NodeJS app, etc, to ping my Clojure app on the same server?

2017-03-15 Thread Denis Fuenzalida
If you have several web apps in different languages, the common denominator is: they talk HTTP and probably they can consume data from 3rd party endpoints in JSON format. It could be interesting if your Clojure app was distributed as an executable Jar installer that dealt with configuring Apach

Re: Getting a password from command line and repl

2017-04-12 Thread Denis Fuenzalida
I had a look and the problem with approach #2 is that the signature of readLine expects 2 args: a format string and an array of objects to be used in the prompt. And it returns an array of chars, so you need something like: (let [console (System/console) chars (.readPassword console

Re: free online course

2015-08-31 Thread Denis Fuenzalida
I recommend Clojure for the Brave and True: http://www.braveclojure.com/ If you can clone this github repo and you are not afraid of the command line you can try: https://github.com/relevance/labrepl Denis El lunes, 31 de agosto de 2015, 8:49:46 (UTC-7), r/ Wobben escribió: > > Hello, > > I f

Re: Parens of the Dead, a Clojure + ClojureScript video series

2015-11-15 Thread Denis Fuenzalida
Thank you so much for the effort you put on these screencasts. There's so much for me to learn from them! Best, Denis El domingo, 15 de noviembre de 2015, 11:15:46 (UTC-8), Magnar Sveen escribió: > > I've made a short video series on writing a game with Clojure and > ClojureScript. The last e

Re: Any tutorials for setting up Ring/Jetty as HTTPS, reverse proxy through Apache?

2015-12-03 Thread Denis Fuenzalida
For the reverse proxy part, a Ring/Jetty app is not really different than any other web application. You need to configure Apache to use the SSL certificates and to forward requests to your application. See this tutorial: https://www.digitalocean.com/community/tutorials/how-to-use-apache-http-s

Re: [ANN] New Caribou Release: Version 0.14.0

2014-03-06 Thread Denis Fuenzalida
Congratulations to your team Ryan, I wasn't aware of Caribou until now and this release looks pretty good! the documentation is very complete, I'll be sure to try it soon. Regards, Denis El miércoles, 5 de marzo de 2014 22:24:13 UTC-3, Ryan Spangler escribió: > > Hello Clojure People, > > Hap

Re: Parsing ODT files (with Pantomime?)

2014-06-03 Thread Denis Fuenzalida
Hi Bastien, ODT files from OpenOffice/LibreOffice are just Zip files which contain a bunch of xml files and folders for the images or media which you've inserted into a document. The text itself is contained in a file called "content.xml" inside of it. There's a plain Java parser for ODT files

Re: Parsing ODT files (with Pantomime?)

2014-06-03 Thread Denis Fuenzalida
I've created a small gist which shows how to use the ODFDOM API which is much simpler to use: https://gist.github.com/dfuenzalida/a1e9755e9b2e7f638620 El martes, 3 de junio de 2014 20:58:20 UTC-4, Denis Fuenzalida escribió: > > Hi Bastien, > > ODT files from OpenOffice/LibreOf