Re: [ANN] Planck 1.0 - Bootstrapped ClojureScript OS X REPL
Awesome. Starts almost instantly! Btw, in order to get a command-line editor at the repl, I run: rlwrap -m \ planck Not sure if there's some other way, but that works fine. rlwrap has a lot of nice features, esp. multi-line edit in your editor of choice. M. On Friday, July 31, 2015 at 2:23:24 PM UTC-4, Mike Fikes wrote: Happy to announce that Planck 1.0 is available: http://planck.fikesfarm.com -- 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] Counterclockwise - Clojure plugin for Eclipse
Nice update, I like auto-indent. I ran into one small glitch on OSX, which is that the shortcut for toggling between unrestricted and strict/paredit mode wasn't working for me at first. Going to Preferences - General - Keys : Switch Edit mode, and deleting then re-applying the Alt-D fixed it. Just in case anyone else runs into that. M. On Thursday, October 10, 2013 9:36:01 AM UTC-4, Laurent PETIT wrote: Hi, a new version of Counterclockwise, the Clojure plugin for the Eclipse IDE, has just been released. Hot new features - auto indentation as you type - available as a Standalone Product: Download, Unzip, Code! - many bug fixes including (hopefully) stability improvements Install = - Software update site for installing into an existing Eclipse: http://updatesite.ccw-ide.org/stable/ Standalone product for: - Windows 64 bits: http://updatesite.ccw-ide.org/branch/master/master-0.20.0.STABLE001/products/ccw-win32.win32.x86_64.zip - Windows 32 bits: http://updatesite.ccw-ide.org/branch/master/master-0.20.0.STABLE001/products/ccw-win32.win32.x86.zip - Linux 64 bits: http://updatesite.ccw-ide.org/branch/master/master-0.20.0.STABLE001/products/ccw-linux.gtk.x86_64.zip - Linux 32 bits: http://updatesite.ccw-ide.org/branch/master/master-0.20.0.STABLE001/products/ccw-linux.gtk.x86.zip - OS X 64 bits: http://updatesite.ccw-ide.org/branch/master/master-0.20.0.STABLE001/products/ccw-macosx.cocoa.x86_64.zip Create a folder, unzip the product inside this folder, and double click on the Counterclockwise executable! (only pre-requisite: Java 7 in your path) Release Note == https://code.google.com/p/counterclockwise/wiki/ReleaseNotes#Version_0.20.0 Cheers, -- Laurent Petit -- -- 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/groups/opt_out.
Re: Why is clojure so powerful?
I see Arrogance of Abstraction can be borrowed free (today only I think) by Kindle users with Amazon prime. On Friday, September 13, 2013 10:36:14 AM UTC-4, John Hyaduck wrote: Have you made the free version available yet? I would like to read it and review. John Hyaduck On Wednesday, September 4, 2013 5:32:01 PM UTC-4, Tomislav Tomšić wrote: I suspect, there are numerous possible ways to answer that question. One can ignore it, others would care to offer superficial, no it isn't, but I guess, few would answer, it is because clojure is the member of the Lisp family of programming languages. Which immediately invites predictable question. Why is Lisp so powerful? I guesstimate, there are three possible responses on that question. One is to ignore it, second one is to take it as encouragement for further inquiry, and the third one is to say something along the following lines: “It is because of the lists, dummy. Lisp is built on lists.” Very well then, why are lists so powerful? Yes, there is answer(s), but as I hope we all know, every answer opens the door for new questions and problems. In other words, we have an, hopefully clear and self-understandable, answer to why is Lisp so powerful, but we are now facing numerous, previously unimaginable choices and opportunities to improve Lisp further, which is the reason why I am putting this message here, in the group dedicated to the new and continually improving member of Lisp programming family. I hope to solve and clarify as many as I can, but it demands time and other resources, which is why I decided to put answer(s) and reasons for them in a book. It is called “Arrogance of Abstraction”, and it is available through Amazon. Amazon allows, even encourages authors, to put an effort to contact audience. In other words, it will be available for free download from Amazon at following days this month: 2013-09-08 and 2013-09-13. I haven't decided yet at what other days will be available for download. If you have an advice, feel free to put it here. Thank you for your patience Tomislav Tomsic -- -- 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/groups/opt_out.
Re: how to get SHA1 of a string?
I used a widely accepted pattern: SHA2+Salt+Iteration, that's been used many times, e.g. in Jasypt http://www.jasypt.org/ so I think that aspect of it is pretty conservative, and virtually all the algorithm's strength lies within the SHA implementation itself - so my opportunity to screw up via this wrapper is limited. Still, crypto is hard, and subtle flaws can be introduced in unexpected ways. I agree: just use bcrypt. M. On Tuesday, March 5, 2013 1:52:46 AM UTC-5, FrankS wrote: Hi Mark, Thanks for sharing! I like the approach of hiding all the interaction with the java.security.MessageDigest library, and returning the pair of matching digestverify functions - it will avoid many mistakes. As far as the presented algorithm is concerned, it may be more prudent to stick with bcrypt and friends though… Regards, Frank. On Mar 4, 2013, at 7:32 PM, Mark C cham...@netscape.net javascript: wrote: For another cut at a hashing interface, you may want to look at one I made specifically for passwords. You make a password hasher by passing in algorithm, salt length, and iterations, and you get back a map containing a pair of complementary functions: one that digests, the other that verifies. https://gist.github.com/mchampine/868342 Example: Digester/verifier pair using SHA-256 with 16 bytes salt and 10k iterations (def strongPWHasher (pwfuncs SHA-256 16 1)) ; make the digester/verifier pair (def hashed-pw ((strongPWHasher :digest) mysecret)) ; hash the password ((strongPWHasher :verify) mysecret hashed-pw); verify it M. On Monday, March 4, 2013 6:46:07 PM UTC-5, FrankS wrote: Larry, What I can advise though, is to look at my library code and it may give you different perspectives. Furthermore, copy, borrow, and steal what you like and make it your own. -FS. On Mar 4, 2013, at 3:17 PM, Frank Siebenlist frank.si...@gmail.com wrote: If your code is for production… do not use my code! It's pretty much written over the weekend and it's security code, meaning that it deserves much more scrutiny than ordinary code. As mentioned in the readme, it's more an educational exercise, although it was good to see you struggling as it validated my concerns about the java library's approach ;-) Don't even know if I'm willing to maintain it either… Sorry for the bad news - I was just trying to sollicit feedback about alternative interfaces for the secure hashing. Regards, FrankS. On Mar 4, 2013, at 3:09 PM, larry google groups lawrenc...@gmail.com wrote: Frank, Any idea when you might release your code in a stable form? I am using this code at work so I am nervous about using code that is still marked SNAPSHOT. Lein reminds me not to use a SNAPSHOT: Could not find metadata org.clojars.franks42:clj.security.message- digest:0.1.0-SNAPSHOT/maven-metadata.xml in central (http:// repo1.maven.org/maven2) Could not find metadata org.clojars.franks42:clj.security.message- digest:0.1.0-SNAPSHOT/maven-metadata.xml in central-proxy (https:// repository.sonatype.org/content/repositories/centralm1/) Retrieving org/clojars/franks42/clj.security.message-digest/0.1.0- SNAPSHOT/maven-metadata.xml (1k) from https://clojars.org/repo/ Could not find artifact org.clojars.franks42:clj.security.message- digest:pom:0.1.0-20130304.220822-1 in central ( http://repo1.maven.org/ maven2) Retrieving org/clojars/franks42/clj.security.message-digest/0.1.0- SNAPSHOT/clj.security.message-digest-0.1.0-20130304.220822-1.pom (3k) from https://clojars.org/repo/ Retrieving org/clojure/clojure/1.5.0/clojure-1.5.0.pom (6k) from http://repo1.maven.org/maven2/ Retrieving org/clojars/franks42/clj.security.message-digest/0.1.0- SNAPSHOT/clj.security.message-digest-0.1.0-20130304.220822-1.jar (6k) from https://clojars.org/repo/ Compiling 1 source files to /Users/lkrubner/projects/multi-platform- data-visualization/mpdv-clojure/target/classes Release versions may not depend upon snapshots. Freeze snapshots to dated versions or set the LEIN_SNAPSHOTS_IN_RELEASE environment variable to override. On Mar 4, 4:55 pm, Frank Siebenlist frank.siebenl...@gmail.com wrote: Glad Larry has working code now... As I mentioned before in this thread, I'm working on this functional interface for the message-digesting/secure-hashing, and this whole discussion reads like a use case for the why? ;-) It proofs to me that there may be real value in a more user-friendly approach than the one offered by java.security.MessageDigest. So instead of writing: (let [... nonce-as-bytes (.getBytes nonce) created-as-bytes (.getBytes created) secret-as-bytes (.getBytes
Re: Clojure 1.5 print-table, org-mode babel, and org-mode HTML gen
Very cool. Great looking doc! I just installed LaTeX and TeXworks so it's off to play. (Other than incanter I already have the rest working, including nrepl - though I have to start up nrepl with nrepl-jack-in. Is that what you were planning on doing? It would be cool to have it launched by the first compile!). On Sunday, March 3, 2013 6:03:51 PM UTC-5, greg r wrote: Here's a little project I worked on: https://github.com/Greg-R/incanterchartcustom I'm just now learning git, so I hope the files are intact in the repository. I cloned to another machine and they appear to be OK. The Incanter chart PDF document shows what is possible with regard to documenting code and showing a nice export result. The repository also includes the source .org file. In theory, if you have everything set up correctly you can reproduce the PDF document exactly. Since it is generating PDF charts, there are lots of side-effects and whatever directory you are running in will get filled up with the chart files. I used LaTeX snippets within the org file to include the chart graphics in the exported tex file and thus the eventual PDF. I don't use C-c C-e p. This doesn't always work, and I prefer C-c C-e l which exports the .tex file only. I open the .tex file with the Texworks application which has worked really well for me for editing LaTeX documents. Texworks has the ability to jump between the PDF and the .tex file and vice-versa, which makes troubleshooting much easier. I did a bunch of data processing for work using org, Clojure, and Incanter to produce reports in PDF. I created several Leiningen projects to attack various aspects of the data manipulation. Then within Clojure code blocks in org, the various namespaces are used to process data at the appropriate points in the document. None of the output was inserted directly into the org file. That turned out to be impractical as some of the generated documents were hundreds of pages long. The Clojure/Incanter code chunks generated .tex files which were included in the exported output via LaTeX code blocks. Really in this case the org-babel system operated more as a document/code organizer than as a programming system. But what an organizer it is!!! I saved hundreds, maybe thousands of man hours of manual document generating. There were several technologies to learn to get it all to work in harmony: Clojure Incanter Emacs (24.2) (including some Elisp in the .emacs file) org babel Leiningen LaTeX Texworks nrepl (this will require some extra stuff in the .emacs file to get babel to work) It took a lot of work, but I think the org-babel system is really worth it! Regards, Greg On Saturday, March 2, 2013 11:52:07 PM UTC-5, Mark C wrote: Worked like a charm. Thanks! Babel is fun. I really like the idea of being able to code in multiple languages in one document - and have return values from one feed another. And I just found out you can include TeX too - just starting to play with that. I'd love to hear more about how you use clojure and org mode together. Mark -- -- 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/groups/opt_out.
Re: Clojure 1.5 print-table, org-mode babel, and org-mode HTML gen
This is a very helpful example. Along similar lines, I was thinking it would be cool to have a document of 4clojure problems/solutions/tests. I haven't used tangle/weave yet, which would be pretty useful for that. I think it would be a great learning resource to create an org-based book of best of idiomatic Clojure solutions to all 4clojure (or Euler) problems and solutions. As long as you don't get too mired in what constitutes best :) Btw, it would be interesting to see the resulting pdf from you Kata doc.. M. On Monday, March 4, 2013 2:25:42 PM UTC-5, Gary Johnson wrote: +1 for org-babel. I put together an example project solving the Potter Kata on github several months ago, so if someone is looking for some examples of how you might do LP with org-babel, take a look at it here: https://github.com/lambdatronic/org-babel-example Happy hacking, ~Gary On Sunday, March 3, 2013 6:03:51 PM UTC-5, greg r wrote: Here's a little project I worked on: https://github.com/Greg-R/incanterchartcustom I'm just now learning git, so I hope the files are intact in the repository. I cloned to another machine and they appear to be OK. The Incanter chart PDF document shows what is possible with regard to documenting code and showing a nice export result. The repository also includes the source .org file. In theory, if you have everything set up correctly you can reproduce the PDF document exactly. Since it is generating PDF charts, there are lots of side-effects and whatever directory you are running in will get filled up with the chart files. I used LaTeX snippets within the org file to include the chart graphics in the exported tex file and thus the eventual PDF. I don't use C-c C-e p. This doesn't always work, and I prefer C-c C-e l which exports the .tex file only. I open the .tex file with the Texworks application which has worked really well for me for editing LaTeX documents. Texworks has the ability to jump between the PDF and the .tex file and vice-versa, which makes troubleshooting much easier. I did a bunch of data processing for work using org, Clojure, and Incanter to produce reports in PDF. I created several Leiningen projects to attack various aspects of the data manipulation. Then within Clojure code blocks in org, the various namespaces are used to process data at the appropriate points in the document. None of the output was inserted directly into the org file. That turned out to be impractical as some of the generated documents were hundreds of pages long. The Clojure/Incanter code chunks generated .tex files which were included in the exported output via LaTeX code blocks. Really in this case the org-babel system operated more as a document/code organizer than as a programming system. But what an organizer it is!!! I saved hundreds, maybe thousands of man hours of manual document generating. There were several technologies to learn to get it all to work in harmony: Clojure Incanter Emacs (24.2) (including some Elisp in the .emacs file) org babel Leiningen LaTeX Texworks nrepl (this will require some extra stuff in the .emacs file to get babel to work) It took a lot of work, but I think the org-babel system is really worth it! Regards, Greg On Saturday, March 2, 2013 11:52:07 PM UTC-5, Mark C wrote: Worked like a charm. Thanks! Babel is fun. I really like the idea of being able to code in multiple languages in one document - and have return values from one feed another. And I just found out you can include TeX too - just starting to play with that. I'd love to hear more about how you use clojure and org mode together. Mark -- -- 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/groups/opt_out.
Re: how to get SHA1 of a string?
For another cut at a hashing interface, you may want to look at one I made specifically for passwords. You make a password hasher by passing in algorithm, salt length, and iterations, and you get back a map containing a pair of complementary functions: one that digests, the other that verifies. https://gist.github.com/mchampine/868342 Example: Digester/verifier pair using SHA-256 with 16 bytes salt and 10k iterations (def strongPWHasher (pwfuncs SHA-256 16 1)) ; make the digester/verifier pair (def hashed-pw ((strongPWHasher :digest) mysecret)) ; hash the password ((strongPWHasher :verify) mysecret hashed-pw); verify it M. On Monday, March 4, 2013 6:46:07 PM UTC-5, FrankS wrote: Larry, What I can advise though, is to look at my library code and it may give you different perspectives. Furthermore, copy, borrow, and steal what you like and make it your own. -FS. On Mar 4, 2013, at 3:17 PM, Frank Siebenlist frank.si...@gmail.comjavascript: wrote: If your code is for production… do not use my code! It's pretty much written over the weekend and it's security code, meaning that it deserves much more scrutiny than ordinary code. As mentioned in the readme, it's more an educational exercise, although it was good to see you struggling as it validated my concerns about the java library's approach ;-) Don't even know if I'm willing to maintain it either… Sorry for the bad news - I was just trying to sollicit feedback about alternative interfaces for the secure hashing. Regards, FrankS. On Mar 4, 2013, at 3:09 PM, larry google groups lawrenc...@gmail.comjavascript: wrote: Frank, Any idea when you might release your code in a stable form? I am using this code at work so I am nervous about using code that is still marked SNAPSHOT. Lein reminds me not to use a SNAPSHOT: Could not find metadata org.clojars.franks42:clj.security.message- digest:0.1.0-SNAPSHOT/maven-metadata.xml in central (http:// repo1.maven.org/maven2) Could not find metadata org.clojars.franks42:clj.security.message- digest:0.1.0-SNAPSHOT/maven-metadata.xml in central-proxy (https:// repository.sonatype.org/content/repositories/centralm1/) Retrieving org/clojars/franks42/clj.security.message-digest/0.1.0- SNAPSHOT/maven-metadata.xml (1k) from https://clojars.org/repo/ Could not find artifact org.clojars.franks42:clj.security.message- digest:pom:0.1.0-20130304.220822-1 in central (http://repo1.maven.org/ maven2) Retrieving org/clojars/franks42/clj.security.message-digest/0.1.0- SNAPSHOT/clj.security.message-digest-0.1.0-20130304.220822-1.pom (3k) from https://clojars.org/repo/ Retrieving org/clojure/clojure/1.5.0/clojure-1.5.0.pom (6k) from http://repo1.maven.org/maven2/ Retrieving org/clojars/franks42/clj.security.message-digest/0.1.0- SNAPSHOT/clj.security.message-digest-0.1.0-20130304.220822-1.jar (6k) from https://clojars.org/repo/ Compiling 1 source files to /Users/lkrubner/projects/multi-platform- data-visualization/mpdv-clojure/target/classes Release versions may not depend upon snapshots. Freeze snapshots to dated versions or set the LEIN_SNAPSHOTS_IN_RELEASE environment variable to override. On Mar 4, 4:55 pm, Frank Siebenlist frank.siebenl...@gmail.com wrote: Glad Larry has working code now... As I mentioned before in this thread, I'm working on this functional interface for the message-digesting/secure-hashing, and this whole discussion reads like a use case for the why? ;-) It proofs to me that there may be real value in a more user-friendly approach than the one offered by java.security.MessageDigest. So instead of writing: (let [... nonce-as-bytes (.getBytes nonce) created-as-bytes (.getBytes created) secret-as-bytes (.getBytes secret) digest (.digest (doto (java.security.MessageDigest/getInstance sha1) .reset (.update nonce-as-bytes) (.update created-as-bytes) (.update secret-as-bytes))) …] my library lets you write: (let [… digest (md/digest :sha-1 :utf-8 nonce created secret) …] and the advantages of the more functional approach is much more than just saving a few lines of code! Although it still needs some more work, any feedback on https://github.com/franks42/clj.security.message-digest; is much appreciated. Regards, FrankS. On Mar 4, 2013, at 1:31 PM, larry google groups lawrencecloj...@gmail.com wrote: I finally got this to work. Many thanks for all of the help that I was given here. The final, winning combination was: (let [username (get-in @um/interactions [:omniture-api- credentials
Re: Clojure 1.5 print-table, org-mode babel, and org-mode HTML gen
Worked like a charm. Thanks! Babel is fun. I really like the idea of being able to code in multiple languages in one document - and have return values from one feed another. And I just found out you can include TeX too - just starting to play with that. I'd love to hear more about how you use clojure and org mode together. Mark On Saturday, March 2, 2013 10:18:18 AM UTC-5, greg r wrote: Try adding :results value raw to your options. Here is what the org manual says: The results are interpreted as raw Org mode code and are inserted directly into the buffer. If the results look like a table they will be aligned as such by Org mode. org is a fantastic environment for playing with Clojure. I've got a lot done with it. Regards, Greg On Friday, March 1, 2013 11:29:17 PM UTC-5, Mark C wrote: Sorry in advance if this doesn't turn out to be a clojure-specific problem, but this seemed like a reasonable place to ask.. Context: I'm a heavy org-mode user, so Mike Fogus' recent usesthis posthttp://mike.fogus.usesthis.com/mentioning org-mode babel was quite interesting. I got babel working fine (for clojure, elisp, sh) then recalled that print-table in Clojure 1.5 outputs in org-mode compatible table format. Awesome. So naturally I'd like to generate nice looking tables using something like: #+begin_src clojure :exports both (with-out-str (print-table [{:a 1 :b 2 :c 3} {:b 5 :a 7 :c dog}])) #+end_src (Using with-out-str is needed because print-table of course returns nil) But what I get when generating HTML (via C-c C-e b) is not a table, but the literal text of the table markup. I.e. compiling the above source block yeilds: #+RESULTS: clojure-org-table : : | :a | :c | :b | : |+-+| : | 1 | 3 | 2 | : | 7 | dog | 5 | This makes sense. But how might one go about getting an HTML table generated? I can edit the results show above and add some attributes before HTML generation, e.g. #+CAPTION: This is a table with lines around and between cells #+ATTR_HTML: border=2 rules=all frame=border | :a | :c | :b | |+-+| | 1 | 3 | 2 | | 7 | dog | 5 | This yields a nice looking table in HTML, but I would like to eliminate this manual step. Any ideas?? Thanks, Mark -- -- 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/groups/opt_out.
Re: Interesting Light Table post
This release is a big step forward. I still struggle a little with the editor (the new vim mode is great but I really want Emacs bindings), but one nice use of LT is doing 4clojure problems. For each problem, define the function __, then paste tests right from the 4clojure problem page. Your function passes when you get all true results. Looks great! https://lh5.googleusercontent.com/-e6V3cGR87gw/UTDC6qUa9yI/AUs/xmZMbZ1cPyA/s1600/Screen+Shot+2013-03-01+at+9.31.03+AM.png On Thursday, February 28, 2013 11:54:56 AM UTC-5, Erlis Vidal wrote: Hey guys, this is in the top of Hacker News right now, it looks very nice: http://www.chris-granger.com/2013/02/27/light-table-030-experience/ I was thinking a lot after reading the thread Why is this so difficult that maybe what we need is a dedicated IDE, something that's built with the clojure workflow in mind, I don't know... maybe this is the missing piece, who knows. I was thinking also on how cool would be to have something like the Smalltalk environment but a la clojure... I'm really excited about this project. Good job Chris! -- -- 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/groups/opt_out.
Clojure 1.5 print-table, org-mode babel, and org-mode HTML gen
Sorry in advance if this doesn't turn out to be a clojure-specific problem, but this seemed like a reasonable place to ask.. Context: I'm a heavy org-mode user, so Mike Fogus' recent usesthis posthttp://mike.fogus.usesthis.com/mentioning org-mode babel was quite interesting. I got babel working fine (for clojure, elisp, sh) then recalled that print-table in Clojure 1.5 outputs in org-mode compatible table format. Awesome. So naturally I'd like to generate nice looking tables using something like: #+begin_src clojure :exports both (with-out-str (print-table [{:a 1 :b 2 :c 3} {:b 5 :a 7 :c dog}])) #+end_src (Using with-out-str is needed because print-table of course returns nil) But what I get when generating HTML (via C-c C-e b) is not a table, but the literal text of the table markup. I.e. compiling the above source block yeilds: #+RESULTS: clojure-org-table : : | :a | :c | :b | : |+-+| : | 1 | 3 | 2 | : | 7 | dog | 5 | This makes sense. But how might one go about getting an HTML table generated? I can edit the results show above and add some attributes before HTML generation, e.g. #+CAPTION: This is a table with lines around and between cells #+ATTR_HTML: border=2 rules=all frame=border | :a | :c | :b | |+-+| | 1 | 3 | 2 | | 7 | dog | 5 | This yields a nice looking table in HTML, but I would like to eliminate this manual step. Any ideas?? Thanks, Mark -- -- 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/groups/opt_out.
Re: Boston meetup Jan 11?
Boston Clojure Group: http://www.meetup.com/Boston-Clojure-Group/ On Jan 7, 12:16 pm, Eric Kobrin erl...@gmail.com wrote: Jeff posted this in a separate thread. We'll be hosting ameetupon the 13th: 1st Boston ClojureMeetup Date: Thursday, January 13th, 2011 Location: Akamai Technologies 8 Cambridge Center Conference Room 200D Cambridge, MA 02142 (Corner of Broadway and Galileo Galilei) Akamai Technologies will be hosting the first Boston ClojureMeetupon Thursday, January 13th. This will be an opportunity for local Clojure enthusiasts to gather and discuss topics of interest to the Clojure community. For this first meeting, Jeffrey Straszheim will be presenting his Dataflow library from Clojure Contrib. Please forward this meeting invitation to anyone you know who might be interested. Agenda: 6:30 7:00 Informal Meet Greet 7:00 7:15 Introduction - Eric Kobrin 7:15 7:30 FutureMeetupTopics and Locations 7:40 8:00 Dataflow in Clojure - Jeffrey Straszheim 8:00 - Drinks at CBC on your own If you have any questions, please contact: Eric Kobrin ekob...@akamai.com 617-444-3951(office) 786-261-7093(cell) On Jan 6, 1:50 pm, rob levy r.p.l...@gmail.com wrote: I'm also going to Boston Coding Dojo tonight. The ClojureMeetupis going to be at Akamai, a week from tonight's dojo, which I'm looking forward to:http://groups.google.com/group/clojure/browse_thread/thread/821248c3d... On Thu, Dec 30, 2010 at 9:34 PM, Alyssa Kwan alyssa.c.k...@gmail.comwrote: Hi! You would be more than welcome at the Boston Coding Dojo (http:// www.meetup.com/boston-coding-dojo/). We meet every other Thursday at First Church in Boston, in Boston's Back Bay on Marlborough St. In January, we are meeting on 1/6 and 1/20, so nothing on the week of 1/9, I'm afraid. What kind of meeting do you have in mind? I could certainly recommend some restaurants that are more conducive to conversation. If you are looking for a space to hack, I can certainly check with the church for availability; we meet in a lovely chapel with plenty of room. It would cost $75 for the space for the night. There's also the Workbar (http://www.workbarboston.com), which is pricier and a little more cramped... :). Everyone on the list should also check out Boston Software Craftsmanship (http://groups.google.com/group/boston-software- craftsmanship/). Their next meeting is on 1/24 and is on monads (http://gathers.us/events/jan-boston-software-craftsmanship-meeting). Thanks! Alyssa On Dec 30, 1:52 pm, dysinger t...@dysinger.net wrote: 10 of us from Sonian are going to converge on Boston the week of Jan 9. It's always awesome to meet other Clojure hackers. I propose we meet up somewhere central(ish) Jan 11 @ 7-9pm-ish. We have room at our company headquarters in Dedham but that might be a hike for some people. Any other places we could meet/greet hack for an hour or two central to Boston? -- 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.comclojure%2bunsubscr...@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 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
Re: Boston meetup Jan 11?
Btw, I notice there are 10 people near Boston waiting for a Clojure meetup. http://clojure.meetup.com/members/us/ma/boston/ It might be worth creating a meetup to let them know this is happening. M. On Dec 30 2010, 1:52 pm, dysinger t...@dysinger.net wrote: 10 of us from Sonian are going to converge on Boston the week of Jan 9. It's always awesome to meet other Clojure hackers. I propose we meet up somewhere central(ish) Jan 11 @ 7-9pm-ish. We have room at our company headquarters in Dedham but that might be a hike for some people. Any other places we could meet/greet hack for an hour or two central to Boston? -- 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
Re: Dead easy start with Clojure on windows
Found the link here: http://bitbucket.org/kasim/clojurew/get/tip.zip Kasim - thanks for the quick start. Worked fine. Maybe add a readme? M. On Apr 17, 5:35 am, Zmitro Lapcjonak idob...@gmail.com wrote: On Apr 15, 1:51 am, Kasim ktu...@gmail.com wrote: Here are what you need to get started: 1. Download ClojureW.zip and Unzip to a folder 0. Try to find the link to download. -- Zmitro Lapcionak -- 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 athttp://groups.google.com/group/clojure?hl=en -- 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