Re: Confusion about cljs.build.api/build

2015-06-30 Thread Zack Maril
, I imagine there is a seq? somewhere it shouldn't be but I really don't know. -Zack On Monday, June 29, 2015 at 9:29:42 PM UTC-4, Zack Maril wrote: Hello, I'm trying to use cljs.build.api/build to compile dynamically generated clojurescript into one javascript string. I've been running

Confusion about cljs.build.api/build

2015-06-29 Thread Zack Maril
Hello, I'm trying to use cljs.build.api/build to compile dynamically generated clojurescript into one javascript string. I've been running into many weird errors and I'm quite certain I'm doing something wrong. The simplest test case I've found is the following: (cljs.build.api/build '((ns

Re: help with my inefficient instaparse grammar

2014-12-03 Thread Zack Maril
Use :optimize :memory maybe? Section 10 here seems like your use case: https://github.com/Engelberg/instaparse/blob/master/docs/Performance.md Watch htop and see if you have a process that is hitting swap without the optimization. -Zack On Wednesday, December 3, 2014 1:29:23 AM UTC-5, Sunil

Re: ANN: State of Clojure 2014 Survey - please contribute!!

2014-10-14 Thread Zack Maril
-code.html I would humbly submit that you should choose your language based on the best tool for the job and then work to hire, train, and improve diversity of the community regardless of what that tool may be. Alex On Monday, October 13, 2014 1:50:13 PM UTC-5, Zack

Re: ANN: State of Clojure 2014 Survey - please contribute!!

2014-10-13 Thread Zack Maril
Next year, I would appreciate questions that measure the demographics of Clojure users be included. Out of the hundreds of people I've heard and seen talking about using Clojure, the vast majority of them have been white men. I've thought about it for a few days now and I can only think of

Re: ECHELON: Wrangling messy political data

2014-09-17 Thread Zack Maril
like help with, I’d be interested to throw at least a few weekend hours in your general direction. Cheers, Josh On Tuesday, September 16, 2014 at 20:48, Zack Maril wrote: This might be of interest to the Clojure/Datomic community: http://sunlightfoundation.com/blog/2014

ECHELON: Wrangling messy political data

2014-09-16 Thread Zack Maril
This might be of interest to the Clojure/Datomic community: http://sunlightfoundation.com/blog/2014/09/16/wrangling-messy-political-data-into-usable-information/ https://github.com/sunlightlabs/echelon I'm part of the Influence Explorer team at the Sunlight Foundation. We're building a system

Re: ECHELON: Wrangling messy political data

2014-09-16 Thread Zack Maril
, 2014 at 12:08 PM, kovas boguta kovas.bog...@gmail.com wrote: Thats very cool!! On Tue, Sep 16, 2014 at 1:48 PM, Zack Maril thewitzb...@gmail.com wrote: This might be of interest to the Clojure/Datomic community: http://sunlightfoundation.com/blog/2014/09/16/wrangling-messy-political

Re: [ANN] Grenchman, for running Clojure code quickly

2013-10-09 Thread Zack Maril
How does this vary from flatland/drip? -Zack On Tuesday, October 8, 2013 9:49:16 PM UTC-5, Phil Hagelberg wrote: When we've polled Leiningen users in the past[1], the #1 pain point people always report is its startup time. While there have been a number of strategies suggested to reduce the

Re: The Eclipse Public License is not a good license

2013-09-11 Thread Zack Maril
It may have been chosen uncarefully. Other permissive licenses better fulfill Rich Hickey's spirit. https://groups.google.com/forum/#!topic/clojure/TuojEIsu1G4 Rich Hickey choose the license himself. While you may disagree whether he made the right choice, it is highly unlikely that Rich did

Re: ANN: Potemkin 0.3.0

2013-06-19 Thread Zack Maril
We've been using Potemkin inside Titanium, Ogre, and Archimedes. It works well for importing functions, but I'm about to do a rewrite of Titanium and Ogre because of complications arising from being clever with importing dynamic vars. I would caution against trying to import dynamic vars (or

Re: Graph API

2013-06-17 Thread Zack Maril
Take a look at Tinkerpop's blueprints for a well tested Java API and Archimedes for simple graph operations in Clojure. http://www.tinkerpop.com/ https://github.com/clojurewerkz/archimedes As far as the suggested protocols go, I would suggest doing something useful with them before opening it

Re: [ANN] Instaparse 1.1.0

2013-06-16 Thread Zack Maril
That is what I meant, should have been clearer. Those reasons make sense. Thank you! -Zack On Saturday, June 15, 2013 10:41:49 PM UTC-4, puzzler wrote: On Sat, Jun 15, 2013 at 7:21 PM, Zack Maril thewi...@gmail.comjavascript: wrote: Why does instaparse not throw errors? Curious about

Re: [ANN] Instaparse 1.1.0

2013-06-15 Thread Zack Maril
Why does instaparse not throw errors? Curious about the reasoning behind this design. -Zack On Wednesday, June 12, 2013 9:46:06 AM UTC-4, JeremyS wrote: Hi puzzler, I have a project https://github.com/JeremS/cljss-core/tree/v0.4.0 that I have been meaning to be useable from Clojure and

Re: Local database recommendation?

2013-06-12 Thread Zack Maril
No. We have done nothing with laziness. If your graph doesn't change much, you could probably roll your own. If it is changing often, I'm not sure laziness would be such a good thing. One way of rolling your own could be going through and getting all the ids of the elements you want and then

Re: Local database recommendation?

2013-05-27 Thread Zack Maril
Use postgres. If it makes sense later on, then try a nosql solution. Until then, postgres will probably do 95% of what you want out of the box. -Zack On Sunday, May 26, 2013 6:20:02 PM UTC-4, Amirouche Boubekki wrote: 1) Is it structured aka. an object can have several fields possibly

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

2013-05-13 Thread Zack Maril
One of the reasons I program is because I'm furious. By most accepted metrics, I went to one of the best technical public high schools in the country. I was average there and I was taking graph theory and multivariable calculus as a senior my last semester. The smart kids though? They were

Re: [ANN] Clojars policy change

2013-05-13 Thread Zack Maril
Is the policy for SNAPSHOT artifacts still that you can overwrite as much and as often as you want? -Zack On Tuesday, May 14, 2013 3:30:19 AM UTC+4, Phil Hagelberg wrote: Phil Hagelberg writes: In the aftermath of the recent Linode intrusion[1][2], we determined that Clojars' policy of

Re: link for clojure programs

2013-05-06 Thread Zack Maril
Once I had really cut your teeth on the introductory materials, I found that reading parts of the Clojure source code can be helpful. https://github.com/clojure/clojure/blob/master/src/clj/clojure/core.clj This one file defines over half of the functions you'll be working with day to day.

Re: ANN Titanium 1.0.0-beta1 is released

2013-05-02 Thread Zack Maril
/ I'd like to thank Zack Maril for his hard work on Titanium, Archimedes and Ogre. Clojure shapes up to be a great ecosystem for data processing and graph analysis in general, in large part thanks to his efforts! 1. http://titanium.clojurewerkz.org 2. http://ogre.clojurewerkz.org -- MK

Re: [GSoC 2013] core.logic CLP(Prob)

2013-04-24 Thread Zack Maril
Lately, I've been on a bit of a jag into probabilistic programming with Clojure, specifically embedding Church inside of Clojure. The results so far are promising from a syntactic level, but, like David said, getting it to actually work is another matter entirely. I wanted to share what I've

Re: Hacker News, Clojure, and GSOC

2013-04-18 Thread Zack Maril
Some fun facts: 1. You could probably get a full history of Hacker News by carefully crawling the HNSearch API[0]. Chronically crawling the new page for links would allow you to stay in synch with Hacker News proper, and a monthly refresh of the data would probably be smart to hit anything you

Ogre, a Clojure library for querying graphs

2013-03-16 Thread Zack Maril
Gremlin is a java library that lets you query graphs (real mathematical graph theory graphs): https://github.com/tinkerpop/gremlin/wiki Ogre is a library that wraps Gremlin up all pretty like: https://github.com/zmaril/ogre OgreDocs is a website that documents just how pretty Ogre is:

Bumi, a project for loading a git repo into a Titan graph database

2013-02-21 Thread Zack Maril
https://github.com/zmaril/bumi Bumi loads a git repo into a Titan graph database[0]. You can then ask questions about the history of the project with Faunus[1]. I've successfully loaded the Linux kernel onto an AWS instance. I'm working now to start asking good questions and see if I can't

Re: Bumi, a project for loading a git repo into a Titan graph database

2013-02-21 Thread Zack Maril
UTC+4, Rich Morin wrote: On Feb 21, 2013, at 08:00, Zack Maril wrote: Bumi loads a git repo into a Titan graph database[0]. You can then ask questions about the history of the project with Faunus[1]. I've successfully loaded the Linux kernel onto an AWS instance. I'm working now

Re: abstraction on two libraries

2013-02-13 Thread Zack Maril
To do that from scratch would probably be pretty hard and not worth the effort. It would be an interesting learning experience, but for building something significant, I would recommend selecting one of the libraries and just sticking with that one at first. Hermes and Titanium are both

Re: ANN Titanium, a Clojure library on top of Titan

2013-02-12 Thread Zack Maril
Primary author of Hermes here. We've put a fair amount of work into getting transactions right from the very beginning. Try reading: https://github.com/gameclosure/hermes/wiki/Transaction-Management And: https://github.com/gameclosure/hermes/wiki/Opening-graphs I'm working on a project now

Re: How to Process Files in Background

2013-02-11 Thread Zack Maril
Is there any reason why a future wouldn't work? http://clojuredocs.org/clojure_core/clojure.core/future -Zack On Monday, February 11, 2013 8:50:03 PM UTC+4, Ari wrote: Hi, I'd like my web application to process uploaded text files in the background; in which ways can I accomplish this? I

Re: How to read a txt file?

2013-02-01 Thread Zack Maril
Look at slurp. http://clojuredocs.org/clojure_core/1.2.0/clojure.core/slurp On Friday, February 1, 2013 4:17:43 PM UTC+4, Roger75 wrote: I'd like to read a txt file using clojure. How do I do that? Any examples? -- -- You received this message because you are subscribed to the Google Groups

Re: How to solve Collatz Conjecture problem for huge numbers using clojure parallelism tricks?

2013-01-31 Thread Zack Maril
Take a look at this gist: https://gist.github.com/4688693 It uses memoize to eek out a little bit more performance. λ ~/Projects/experiments/collatz lein run Compiling collatz.core [9 19] Elapsed time: 30.236 msecs [97 118] Elapsed time: 5.532 msecs [871 178] Elapsed time: 22.529 msecs [6171

Re: ANN: rewryte.com uses clojure for automated writing feedback

2013-01-27 Thread Zack Maril
What file format does this take? I tried pdf and it barfed. On Monday, January 28, 2013 1:04:31 AM UTC+4, Ron Toland wrote: It's been eight months in the making, but rewryte.com is live! We're using Clojure on the back-end for all our data processing. Our goal is to provide quick,

Re: Blog Post: The Magic of Macros: Lighting-Fast Templating in ClojureScript

2013-01-26 Thread Zack Maril
That was seriously impressive, in terms of performance and simplicity. Way to go! Thanks for writing that up. -Zack On Tuesday, January 22, 2013 1:45:34 PM UTC-5, Aria Haghighi wrote: Hi all, I've done a follow-up post on the Prismatic blog about our dommy, our ClojureScript templating

[ANN] Hermes, wrapper around Titan (0.2.2)

2012-11-20 Thread Zack Maril
far. Documentation is admittedly sparse, but should rapidly improve within the next few weeks. It's a blast to work with and lets you build some great systems quite quickly[2]. And so. Be our guest! Be our guest! Be our guest! Please, be our guest! -Zack Maril [0] Actually, I think

Re: [ANN] Hermes, wrapper around Titan (0.2.2)

2012-11-20 Thread Zack Maril
docs will explain all of this. Thank you for the feedback! -Zacm On Tuesday, November 20, 2012 9:30:19 PM UTC-8, Michael Klishin wrote: 2012/11/21 Zack Maril thewi...@gmail.com javascript: Documentation is admittedly sparse, but should rapidly improve within the next few weeks

Re: Documenting clojure data structures

2012-10-31 Thread Zack Maril
Not sure this is exactly what you are looking for, but clojure.reflect has been helping me a ton lately. I've written a few wrappers around it that I've found quite useful: https://gist.github.com/3990888 Hope this helps! -Zack On Wednesday, October 31, 2012 2:26:38 PM UTC-7, Paul deGrandis

Re: maths, functions and solvers

2012-05-24 Thread Zack Maril
Off topic: How hard would it be to build on core.logichttps://github.com/clojure/core.logic#corelogicto do math functions? -Zack On Thursday, May 24, 2012 9:30:12 PM UTC-2, Stephen Compall wrote: On May 24, 2012 8:42 AM, jlk lachlan.kana...@gmail.com wrote: However the only way I can think

Re: GSOC Idea: Interactive documentation with autodoc

2012-03-26 Thread Zack Maril
in this. David On Sat, Mar 24, 2012 at 11:10 AM, Zack Maril thewitzb...@gmail.com wrote: Goal of project: Extend (or fork) autodoc such that it can create and run interactive documentation for any project. Example for the take function: take function Usage: (take n coll

GSOC Idea: Interactive documentation with autodoc

2012-03-24 Thread Zack Maril
Goal of project: Extend (or fork) autodoc such that it can create and run interactive documentation for any project. Example for the take function: *take*function Usage: (take n coll) Returns a lazy sequence of the first n items in coll, or all items if there are fewer than n. *Example: *

Re: GSoC: Browser-based Clojure(Script) editor

2012-03-23 Thread Zack Maril
I think you would probably have the most meaningful success if you focused on making things that let people teach themselves Clojurescript. Making the editor intuitive for beginners would be a major win. Allowing them to visualize data structures and algorithms that they have written in

Open source Clojure projects

2011-11-09 Thread Zack Maril
For many of the older languages I look at, there are big open source projects that people are working on that are making a big impact. C has linux, Javascript has jQuery and Khan Academy's frameworks, Java has their libraries, etc. etc. Are there any Clojure projects I could contribute to? I

Re: small project to learn clojure

2011-09-18 Thread Zack Maril
Confession:The best way I have found to learn a language is to pick a girl and make something that impresses her. When I was learning to use Node.js, I made a chat room for my girlfriend and I to talk in when we doing a long distance relationship. It had a sassy robot that pulled pictures of

Re: Stanford AI Class

2011-08-09 Thread Zack Maril
If you looks here, http://aima.cs.berkeley.edu/code.html, you can see that the data/code is provided in formats for Java, Lisp, Python, and just some plaintext as well. Here is his rationale, and other info, about why he switched: http://norvig.com/python-lisp.html Personally, I plan on giving it