Re: [JOB] Remote Clojure Dev 2 month quick project 20-40 hours per week

2018-03-15 Thread Buck Ryan
Hi Art, This is right up my alley. I have four years of experience with Clojure and have used it to build a variety of applications, including ones that interact with Kafka. I would love to talk more - you can reach me at b...@buckryan.com Thanks! On Wednesday, March 14, 2018 at 2:01:14 PM

Re: [ANN] Book "The Clojure Standard Library - Annotated Reference"

2016-12-07 Thread Ryan Fowler
tant :unknown case w/ int :line-separator ​I think I understand why this doesn't work but it feels like it should work. And without prior knowledge, I don't think I would assume that constants don't work. ​Ryan​ On Wed, Dec 7, 2016 at 4:57 PM, Alex Miller wrote: > This

Re: Clojure as a first programming language?

2016-12-01 Thread Ryan Waters
It's a question simply stated with an answer that depends on a lot of things. And, as is often the case with the person giving an answer, without asking other people I can only relate it to my own experiences with clojure and programming in general. The fun and freeing thing about clojure is the f

[ANN] data.xml 0.1.0-beta2

2016-08-28 Thread Ryan Senior
data.xml is a Clojure contrib library that parses and emits XML. Github: https://github.com/clojure/data.xml Changelog: https://github.com/clojure/data.xml/blob/master/CHANGES.md Information on updating the dependency is here . 0.1.0-beta2

Re: lein repl and own functions

2016-07-14 Thread Ryan Fowler
you might find success with putting some injections in your ~/.lein/profiles.clj file. {:user {:injections [(defn foo[] (println "foo"))]}} On Thu, Jul 14, 2016 at 1:13 PM, Cecil Westerhof wrote: > 2016-07-14 20:06 GMT+02:00 Timothy Baldridge : > >> There probably is, since the user.clj file c

Re: instrumenting clojure.core

2016-06-12 Thread Ryan Fowler
ink this is the right choice and I'm looking forward to seeing the details. My gut says that the better error messages alone are going to help significantly in convincing colleagues to work through learning Clojure. Awesome work so far. Ryan -- You received this message because you are subs

instrumenting clojure.core

2016-06-12 Thread Ryan Fowler
Is there an effort to write specs for Clojure's core namespaces? Apologies if this has already been addressed. I've been tinkering with trivial (and probably wrong) fdefs on clojure.core/map and clojure.core/identity. It seems that the spec exception messages are way better than what we have now.

Re: [ANN] HugSQL 0.4.0 release

2016-02-15 Thread Ryan Fowler
Great release, Curtis! I'm looking forward to cleaning up some of my composition hacks. On Mon, Feb 15, 2016 at 8:04 AM, Curtis Summers < curtis.summ...@layerware.com> wrote: > I'm happy to announce the 0.4.0 release of HugSQL. > > HugSQL is a Clojure library for embracing SQL in your projects.

Re: Scripting with Clojure / "slow" boot time

2016-02-11 Thread Ryan Fowler
On Tue, Feb 9, 2016 at 12:36 PM, Alex Miller wrote: > I'm doing some research on slow Clojure boot time and would be interested > in collecting info about example use cases where it's been a problem for > people. > ​The following snippet helps me visualize load times. It might be helpful to othe

Re: java.lang.NoSuchFieldError: __thunk__0__

2016-01-25 Thread Ryan Fowler
I just submitted http://dev.clojure.org/jira/browse/CLJ-1886 I was able to narrow down the problem space a little bit, but it's still gnarly. Ryan On Mon, Jan 25, 2016 at 4:27 AM, Nicola Mometto wrote: > Can you log this issue in clojure's JIRA? > > On Friday, January 15,

java.lang.NoSuchFieldError: __thunk__0__

2016-01-15 Thread Ryan Fowler
I've got a head-scratcher. A combination of aot compiling, ring-jetty, slf4j-timbre, timbre and core.async causes "java.lang.NoSuchFieldError: __thunk__0__" I've created a repo that reproduces the problem for me, but I'm out of my depth at this point. Unfortunately I couldn't seem to get rid of a

Re: [Clojurescript] .getElementById returns NULL

2016-01-03 Thread Ryan Fowler
On Sun, Jan 3, 2016 at 8:04 PM, Nathan Smutz wrote: > > (.log js/console (. js/document getElementById "test-content")) > > ​I suspect you need something more like this: ​ (.log js/console (.getElementById js/document "test-content"))​ -- You received this message because you are subscribe

[ANN] data.xml 0.1.0-beta1

2015-12-23 Thread Ryan Senior
rt. Docs on using namespaces can be found in the README <https://github.com/clojure/data.xml#namespace-support>. Huge shout-out to Herwig Hochleitner for doing this work! Namespace support was an often requested but difficult to implement feature. This fills a big gap in what the library ca

[ANN] Boot 2.5

2015-12-16 Thread Ryan Neufeld
Great upgrades! Keep up the good work. -- 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 unsubscr

Re: clojure / H2 interop problem

2015-12-08 Thread Ryan Waters
That works! I guess I haven't had to import an inner class before. Thanks. On Tue, Dec 8, 2015 at 9:09 AM, Alex Miller wrote: > You probably want TransactionStore$Transaction - that's how the jvm refers > to inner classes. > > > On Tuesday, December 8, 2015 at 9:06

clojure / H2 interop problem

2015-12-08 Thread Ryan Waters
atabase/h2database/blob/master/h2/src/main/org/h2/mvstore/db/TransactionStore.java I was using the following test code as a point of reference: https://github.com/h2database/h2database/blob/master/h2/src/test/org/h2/test/store/TestTransactionStore.java Thank you, Ryan -- You received this m

HP Fortify Security Scanner and Clojure

2015-10-21 Thread ryan medlin
A customer requires that we scan our clojure projects with this tool: http://www8.hp.com/us/en/software-solutions/static-code-analysis-sast/ They must get some meaningful report from this. So I thought, well why don't I compile and then decompile the class files and then scan those to at least

Announcing Clojure Remote — Clojure's first remote conference

2015-09-09 Thread Ryan Neufeld
Hey folks, I'm pleased to announce Clojure will have its first remote conference next February. Visit http://www.clojureremote.com to sign up for announcements and help shape the conference. -Ryan Neufeld -- You received this message because you are subscribed to the Google Groups &qu

Recommendations for a schema-based data language for use in Hadoop?

2015-08-04 Thread Ryan Schmitt
Hi Clojure people, I'm currently working on some problems in the big data space, and I'm more or less starting from scratch with the Hadoop ecosystem. I was looking at ways to work with data in Hadoop, and I realized that (because of how InputFormat splitting works) this is a use case where it'

Re: easy clojure.core.cache interaction

2015-06-11 Thread Ryan Waters
he function had the work being done within the agent which would have killed parallelized I/O for me (in a separate project). On Thu, Jun 11, 2015 at 9:32 PM, Ryan Waters wrote: > https://gist.github.com/rwat/4abcebcb4cfae956f382 > > I've enjoyed using clojure.core.cache for caching

easy clojure.core.cache interaction

2015-06-11 Thread Ryan Waters
make it a habit to name things in that style. I would appreciate any feedback / recommendations for improvement. Thank you, Ryan -- 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

RFC: Collider: Clojure's collections for Java developers

2015-06-10 Thread Ryan Schmitt
I've been developing a library that wraps Clojure's collections for use in Java 8 development: https://github.com/rschmitt/collider http://rschmitt.github.io/collider/javadoc/ Like my other major Java project, DynamicObject , the goal here is two-fold

Re: About transients no longer being safe in 1.7-alpha2

2015-06-08 Thread Ryan Schmitt
Will someone remember to update http://clojure.org/transients once 1.7.0 is released? On Monday, November 3, 2014 at 1:57:58 AM UTC-8, Daniel Marjenburgh wrote: > > Hi, > > I just want to address this issue (CLJ-1498 > ). It was accepted in > 1.7-alp

Re: Edn, Fressian, Transit: which of these formats have a future?

2015-03-20 Thread Ryan Schmitt
Thanks for this breakdown; a lot of what you're saying about Transit is stuff I had inferred from prior announcements, but it's still enlightening to see an explicit comparison to Edn and Fressian. On Sunday, March 15, 2015 at 7:51:55 PM UTC-7, Alex Miller wrote: > > Hi Ryan, &

Re: Edn, Fressian, Transit: which of these formats have a future?

2015-03-20 Thread Ryan Schmitt
; described. > > It has a number of other features (compression, encryption) that I may end > up using. It has given attention to backwards compatibility, and there is a > mode to turn this backwards compatibility off if it is not required. > > Lucas > > > > On 16

Edn, Fressian, Transit: which of these formats have a future?

2015-03-15 Thread Ryan Schmitt
I'm the author of dynamic-object , an open source library that makes Clojure's data modeling power available to Java programmers. This includes features like serialization and deserialization. I'll copy this small usage example from the README to give

problems using leiningen on Ubuntu 14.10 (and solved)

2015-03-14 Thread Ryan Waters
is fix. - - - Sidenote - I had an unrelated problem with wget and curl connecting to /any/ SSL website under Debian Jessie, even with 'ca-certificates' package installed. That's just lame. Anyway, I hope this helps save somebody some time and/or bumps up google search results for

[ANN] chic-text 0.2.0 - Helpful functions for formatting console output

2015-03-07 Thread Ryan McGowan
chic-text is a library of functions that formats strings for console output. It allows content to be specified in columns (sequence of strings) or functions of a collection (one function per column, one item in the collection per row). It even defines a summa

Re: State of Simulation Testing Survey - 2015

2015-03-07 Thread Ryan Neufeld
Hey again, I just wanted to let everyone know that I've published the results of the 2015 Simulation Testing survey. You can find them here: http://www.rkn.io/2015/03/07/state-of-sim-testing-results/ -Ryan On Tuesday, February 3, 2015 at 8:40:14 PM UTC-6, Ryan Neufeld wrote: > >

ANN: fixturex, A library for creating and using fixtures

2015-02-07 Thread Ryan McGowan
Fixturex is a library of functions and macros for using and creating fixtures. It is particularly useful when namespace level fixtures are not specific enough. I'd be happy for any feedback/contribution. Thanks! - Main - http://www.ryanmcg.com/fixturex/ - API - http://www.ryanmcg.com/fixt

State of Simulation Testing Survey - 2015

2015-02-03 Thread Ryan Neufeld
sed on February 20th, I'll tally and report upon the results on my blog. If you've considered, implemented or even out-right rejected simulation testing, I'm curious to hear more from you: http://bit.ly/state-of-sim-testing-2015 Thanks for your time, Ryan Neufeld -- You received this

vertigo question

2015-01-27 Thread Ryan Waters
ich isn't accepted by mystruct, compiling:(form-init1370835477311955482.clj:1:38) - - - - I originally ran into this when using vc/over within vc/doreduce. I'm using vertigo 0.1.3. Thanks! Ryan -- You received this message because you are subscribed to the Google Groups "Clojure

Re: Pedestal comparison to Sente/HTTPKit

2015-01-26 Thread Ryan Neufeld
Glad to hear you enjoyed the video. Anyone taking a look at Pedestal should feel free to hit us up on our Google Group (https://groups.google.com/forum/#!forum/pedestal-users) should they have any questions. On Monday, January 26, 2015 at 4:00:56 PM UTC-6, Mike Haney wrote: > > Forgot to mentio

Re: #db/id[:db.part/db] throws an exception

2014-12-17 Thread Ryan Neufeld
There are still some errors in there. My bad. Someone came in with a pull request and I'll test it works. Generally all the code should have worked originally--I tested every recipe--but I may have missed one or two. -Ryan > On Dec 17, 2014, at 1:02 AM, edw...@kenworthy.in

Re: #db/id[:db.part/db] throws an exception

2014-12-16 Thread Ryan Neufeld
Yeah, we shouldn't be telling you to use reader literals like that. Preferred is a call to (d/tempid ...). I'm updating the code now (https://github.com/clojure-cookbook/clojure-cookbook/blob/master/06_databases/6-11_schema.asciidoc) On Tuesday, December 16, 2014 2:01:00 PM UTC-6, edw...@kenwort

Re: clojure.edn won't accept clojure.java.io/reader? How to work around this and why isn't this documented anywhere?

2014-12-09 Thread Ryan Schmitt
Can anyone come up with an example of a case where the call to clojure.edn/read leaves an unread character in the PushbackReader? Looking briefly at the EdnReader source, I only see cases where the pushback buffer is used internally, in order to save a character that is later consumed during th

Re: clojure.edn won't accept clojure.java.io/reader? How to work around this and why isn't this documented anywhere?

2014-12-09 Thread Ryan Schmitt
> > It turns out there are some subtle issues which can cause incorrect >> behavior were clojure.core/read to blindly wrap a PushbackReader around its >> argument: >> https://groups.google.com/d/msg/clojure/_tuypjr2M_A/W1EcEbMUg_cJ >> > > That sounds like magic. The user wrapping a PushbackReade

[ANN] Clara Rules 0.7.0 Released

2014-11-28 Thread Ryan Brush
m my obviously biased perspective I think that's because Clara is maturing into a good alternative to other JVM-based production rule engines. I suspect most members of this group would rather write Clojure than in a DSL specific to some rule engine...which is what Clara aims to do. Best, Ryan

Re: [ANN] Cryogen - Static Site Generator

2014-11-22 Thread Ryan McGowan
Pretty cool. I'll have to compare it with incise in detail later. On Thursday, November 13, 2014 1:27:44 PM UTC-8, Carmen La wrote: > > Check out my first project! As the title says, it's a static site > generator :) > > Blog post: http://carmenla.me/blog/posts/1

[ANN] Stray - An alternative routing library for Compojure

2014-10-12 Thread Kelker Ryan
Repo: https://github.com/runexec/stray StrayStray is an alternative routing library for Compojure;; Leiningen Dependency [stray "1.01"] (ns example (:require [stray.core :refer [router]])) (def routes {:public {:index-page {:http/path "/" :http/method :GET

Re: [ANN] async-sockets - work with sockets using core.async channels

2014-10-12 Thread Ryan Waters
I was just starting to use Sente [1] (which relies on httpkit [2]) and this conversation is a real eye opener. Unless a person uses a library that supports backpressure, as mentioned earlier, your transport-concern-made-opaque-because-of-core-async must become an application-level concern. The fa

[ANN] PossibleDB 0.1 - Serverside DataScript

2014-09-26 Thread Kelker Ryan
PossibleDBPossibleDB is a Datomic Database Server clone built with DataScript, RethinkDB, Clojure, ClojureScript, and NodeJS.warning: highly alphaYou can see PossibleDB in action @ http://vimeo.com/107237345PossibleDB Server1) git clone https://github.com/runexec/PossibleDB2) cd PossibleDB/possible

[ANN] Strap 0.1.0

2014-09-10 Thread Kelker Ryan
Strap is a faster Clojure project builder https://github.com/runexec/strap $ time strap.js my-project om compojure prismatic/om-tools secretary https://clojars.org/repo/prismatic/om-tools/maven-metadata.xml https://clojars.org/repo/om/om/maven-metadata.xml https://clojars.org/repo/compojure/comp

Re: How do you typecast and insert a Postgres enum value using Clojure JDBC?

2014-08-18 Thread Ryan Neufeld
For posterity, you should create a PGobject object. See instructions how in http://naiquevin.github.io/using-postgresqls-enum-types-with-korma.html On Wednesday, February 6, 2013 2:59:14 AM UTC-6, James Thornton wrote: > > For example, here is a product table in PostgreSQL with status as an enum:

Re: [ANN] Clara 0.6.0

2014-07-28 Thread Ryan Brush
like to hear ideas on Clara's direction, and of course contributions are welcome. -Ryan On Monday, July 28, 2014 11:37:36 AM UTC-5, Alan Moore wrote: > > Awesome - thanks for the update! > > Does the storm example work with the new version? > > Alan > > -- You received t

[ANN] Clara 0.6.0

2014-07-27 Thread Ryan Brush
time on some simple tooling to make rules in Clojure easier to create, explore, and understand. Also, please feel free to post any questions or suggestions for Clara here. Thanks! -Ryan -- You received this message because you are subscribed to the Google Groups "Clojure" group.

[ANN] Grimoire 0.2.0

2014-07-11 Thread Ryan Neufeld
This is fantastic! Thanks for all the hard work you've put in. -- 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

Puppet Labs is hiring Clojure developers

2014-07-11 Thread Ryan Senior
Hi, everyone! Puppet Labs [0][1] builds open source and commercial systems automation tools. We're in every major linux distribution, and we're managing literally millions of systems at a wide variety of shops (from Google to GitHub to Spotify to CERN to SpaceX to NYSE ...). Even if you've not

Re: [ANN] Initial release of dynamic-object: a library to bring Clojure data (and metadata) to Java

2014-06-26 Thread Ryan Schmitt
is would also avoid concerns about security / risk of > "eval" functionality etc. > > Also - I assume you are familiar with edn-java ( > https://github.com/bpsm/edn-java)? It would be good to make sure your > work is aligned with this > > On Thursday, 26 June 2014 07:

Re: Style-question: self-named attribute getters?

2014-06-26 Thread Ryan Schmitt
Most Clojure libraries I've seen only give you a handful of namespaces. I would expect a moderately large Clojure library to expose, say, half a dozen at most. Remember that Clojure has no concept of star imports, even for Java classes, and imports will generally be qualified somehow (e.g. cloj

[ANN] Initial release of dynamic-object: a library to bring Clojure data (and metadata) to Java

2014-06-25 Thread Ryan Schmitt
I've published the first releases of dynamic-object to Maven. dynamic-object (https://github.com/rschmitt/dynamic-object) is an effort to bring the flexibility and power of Clojure data and the Edn data language to Java developers in the most direct way possible. This library is intended to ser

Re: Style-question: self-named attribute getters?

2014-06-25 Thread Ryan Schmitt
/20130927-ns-organization.md On Wednesday, June 25, 2014 8:37:26 PM UTC-7, Mark P wrote: > > Thanks Ryan, Mike and James for your comments and info. Ryan I will > follow up the links you posted. > > In the meantime, a request for some clarification... > > I have read / w

Re: Style-question: self-named attribute getters?

2014-06-25 Thread Ryan Schmitt
In object-oriented programming, encapsulation is always and everywhere regarded as a highly significant design virtue, but the Clojure people have a bit of a different assessment, particularly when it comes to information. In one talk, Rich Hickey pointed out that encapsulation is for hiding im

Re: Understanding when compilation occurs - for function producing functions

2014-06-22 Thread Ryan Schmitt
> Okay. Functions as values. Go look at the IFn interface, >> >> https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/IFn.java. >> >> >> > > Thanks for the link - this helps! When the clojure compiler generates a > class type that conforms to this interface, does it generate a

Help with basic macros

2014-06-22 Thread Ryan Yogan
Hi, I am trying to understand macros and I am having trouble with the basics, I am working through some koans and I am stuck, an explanation not just a solution would be amazing. I would like to create a macro that can provide the following (if-else (> 5 2)) => nil (if-else (> 5 2) :then 'sure

Re: RFC: dynamic-object, a library for working with Clojure data in Java

2014-06-19 Thread Ryan Schmitt
UTC-7, Atamert Ölçgen wrote: > > Absolutely. I don't believe consumers (of open source projects) are > entitled to anything anyway. I think it's a cool project and I hope it gets > the attention. > > > > On Tue, Jun 17, 2014 at 1:02 AM, Ryan Schmitt > wrote

Re: RFC: dynamic-object, a library for working with Clojure data in Java

2014-06-16 Thread Ryan Schmitt
se) more > people would use it and you might get more feedback then. You can always > change interfaces, conventions etc. > > > > On Mon, Jun 16, 2014 at 3:09 AM, Ryan Schmitt > wrote: > >> Set, Util, and List are actually just interfaces, and Clojure'

Re: RFC: dynamic-object, a library for working with Clojure data in Java

2014-06-15 Thread Ryan Schmitt
tion interfaces, but then I read that they're made > immutable when passed to the builder. I assume they're recursively > converted to persistent representations. > > It reminded me of Guava's immutable classes a little. (Not persistent, no > serialization) > &

RFC: dynamic-object, a library for working with Clojure data in Java

2014-06-15 Thread Ryan Schmitt
I've been developing a library to bring Clojure data to Java developers. By "Clojure data" I mean both Clojure's persistent immutable data structures *and* serialized Edn data. I wanted access to Clojure's capabilities without having to use Clojure<->Java interop directly or make use of downcas

Re: [ANN] Clojure RETE implementation - CLIPS-like expert system shell. New version 4.3

2014-05-14 Thread Ryan Brush
I'm less familiar with Waltz. It looks like a good way to exercise some worst-case scenarios in the rule engines as well. Like Ms Manners I don't think this is a very representative usage pattern but it could expose problems in extreme cases. -Ryan On Wednesday, May 14, 2014 8:28:4

Re: [ANN] Clojure RETE implementation - CLIPS-like expert system shell. New version 4.3

2014-05-14 Thread Ryan Brush
Micro-benchmarking is full of pitfalls, so your mileage may vary. -Ryan -- 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 pa

[ANN] Clojure RETE implementation - CLIPS-like expert system

2014-05-13 Thread Ryan Brush
. There are some opportunities to do more fine-grained sharing of parts of rule constraints, but that's an optimization we haven't gotten to yet. :) -Ryan -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, s

Re: [ANN] Clojure RETE implementation - CLIPS-like expert system shell. New version 4.3

2014-05-13 Thread Ryan Brush
It's cool to see different approaches to Rete in Clojure. I think a solid implementation could really disrupt Drools. Why would I want to write in a limited rule language if I can get rule-like semantics and the expressiveness of Clojure at the same time? Of course I'm going to be biased toward

Re: Clojure Cookbook is out

2014-03-31 Thread Ryan Neufeld
Wow, that’s crazy, 4/30!? I’m not sure what’s going on there, but if you want it way sooner, try O’Reilly. -Ryan  On March 31, 2014 at 8:44:43 PM, Marcus Blankenship (mar...@creoagency.com) wrote: Ok, cool.  Amazon just sent me a note offering to cancel my pre-order of the book, saying they

Re: Clojure Cookbook is out

2014-03-31 Thread Ryan Neufeld
Should be out any day now. The O’Reilly store has been selling them in print for almost a week, and our release date was supposed to be the 24th… -Ryan  On March 31, 2014 at 8:37:16 PM, Marcus Blankenship (mar...@creoagency.com) wrote: Cool! I just tried to buy this on Amazon and it’s not

Re: probably a noobie question: apparent memory leak

2014-03-29 Thread Ryan Waters
rrb-vector/subvec, which > produces a new vector containing the appropriate subrange of the input > vector (in contrast to clojure.core/subvec, which returns a view on the > input vector). > > [1] https://github.com/clojure/core.rrb-vector > > > On Saturday, March 29, 2014 8:42:25

Re: probably a noobie question: apparent memory leak

2014-03-29 Thread Ryan Waters
Mar 29, 2014 at 10:07 AM, Aaron Cohen wrote: > > > On Sat, Mar 29, 2014 at 10:09 AM, Ryan Waters wrote: > >> I have some code that blows up the heap and I'm not sure why. I've >> reduced it down to the following. >> >> I've tried to make sure t

probably a noobie question: apparent memory leak

2014-03-29 Thread Ryan Waters
I have some code that blows up the heap and I'm not sure why. I've reduced it down to the following. I've tried to make sure the atom doesn't have boundless growth and I didn't think 'while' hangs on to the head of sequences so I'm embarrassed to say I'm stumped. (defn leaks-memory [] (let

Re: Clojure Cookbook is out

2014-03-21 Thread Ryan Neufeld
Thanks everyone, it was a blast working on the book. Until next Thursday, you can get 50% off the digital version of the book with the coupon *WKCLJUR <http://bit.ly/cc-wkcljr>* -Ryan On Thursday, March 20, 2014 10:23:36 AM UTC-4, Thomas wrote: > > woooh > > More good

[ANN] New Caribou Release: Version 0.14.0

2014-03-05 Thread Ryan Spangler
Hello Clojure People, Happy to announce the release of a new version of Caribou! http://let-caribou.in/ There are a lot of improvements in this latest release. We have tried to incorporate all of the feedback we have received since its initial release (which has been massive!). A small sele

Re: Using Apache Daemon with Clojure

2014-02-09 Thread Ryan Neufeld
Hey Aaron, I've responded on GitHub where you entered an issue: https://github.com/clojure-cookbook/my-daemon/issues/1 -Ryan On Sunday, February 9, 2014 11:25:21 AM UTC-5, Aaron France wrote: > > > Hi, > > I'm following the Clojure Cookbook blogpost[1] in order

[ANN] clara-rules 0.4 released

2014-02-06 Thread Ryan Brush
The 0.4.0 release of Clara is up on Clojars. The github page is at [1]. The theme of this release is "rules as data", which I wrote about at [2]. In a nutshell, all rules and the Rete network itself are defined by well-defined data structures (via Prismatic Schema), which opens a lot of doors:

Re: Should predicates always have one argument?

2014-02-04 Thread Ryan
[maps validator] > (let [valid? (partial validator)] > (map valid? maps))) > > On Friday, January 31, 2014 11:44:38 AM UTC-5, Ryan wrote: >> >> Hello, >> >> I am wondering if all my predicates should be one argument functions >> because I run into a couple

Should predicates always have one argument?

2014-01-31 Thread Ryan
the clojure way? What are my alternatives? Should I just use a different function name which does not have a question mark at the end that implies that is a predicate? Cheers, Ryan -- You received this message because you are subscribed to the Google Groups "Clojure" group. To po

Re: [ANN] Stasis - not another static site framework

2014-01-23 Thread Ryan McGowan
Thanks! I agree. I think they both have there uses as things stand right now. Maybe Incise could even use Stasis as a lib to build its more elaborate > features on top of? I was thinking the same thing. Unfortunately, I think there are a few blockers right now (serving is done very differentl

Re: [ANN] Stasis - not another static site framework

2014-01-23 Thread Ryan McGowan
Very minimalist. I appreciate that. As the author of incise I'd like to point out a few things though. :) 1. You did not specifically say that incise forced some sort of templating option though it was implied (along with the other static site generators). Incise does not force any suc

Re: pre-conditions on >!

2014-01-21 Thread Kelker Ryan
Can't you just test the value before placing a value in a channel?  22.01.2014, 16:27, "t x" :Hi,## Question:  For a channel, is it possible to put a pre-condition of sorts on a channel?  For example:  (let [chan (async/chan 100)]    (set-pre-condition! chan even?)    (put! chan 1) ;; exception thr

Re: Best way to loop a map of maps

2014-01-21 Thread Ryan
Thank you for your input Thomas. All replies have definitely been very useful :) Cheers, Ryan On Tuesday, December 10, 2013 1:57:38 PM UTC+2, Thomas Heller wrote: > > Oh nvm, just saw that it was suggested before. > > But maybe this is new: > > (def m > {"outerKey

Re: [ANN] incise 0.1.0 - An extensible static site generator

2014-01-14 Thread Ryan McGowan
e as many dependencies as possible from incise-core. Thanks, Ryan On Tue, Jan 14, 2014 at 12:26 AM, Jan Herich wrote: > Hello Ryan, > > Thank you for the project, i was always missing a good static site > generator written in clojure ! > You took some interesting design decisions wit

[ANN] incise 0.1.0 - An extensible static site generator

2014-01-13 Thread Ryan McGowan
a big deal. - https://github.com/RyanMcG/incise-example-project - super simple example project - http://www.ryanmcg.com/incise-example-project/ - and its generated output Thanks, Ryan McGowan -- -- You received this message because you are subscribed to the Google Groups "

Re: go "kill infinite loop"

2014-01-13 Thread Kelker Ryan
Maybe something like this? (go-loop [c (chan)] (let [x (: > On Mon Jan 13 18:11:10 2014, t x wrote: > >>  Consider the following code block: >> >>  (defn make-stupid [] >>    (go (loop [] >>  (recur >> >>  (def x (make-stupid)) >> >>  ;; ... is there a way to kill this infinite go-lo

In your opinion, what's the best, and what's the worst aspects of using Clojure?

2013-12-27 Thread Kelker Ryan
In your opinion, what's the best, and what's the worst aspects of using 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

Re: [ANN] Hoplon: web applications in Clojure and ClojureScript

2013-12-20 Thread Ryan Spangler
> > The hlisp part of Hoplon - the compiler bit that converts HTML to >> ClojureScript - was designed and implemented specifically to avoid having >> to do this. It's our opinion (and experience) that admission of the DOM as >> a data structure instead of a piece of the program introduces trem

Re: Parsing large XML files

2013-12-17 Thread Ryan Senior
ps://github.com/kyleburton/clj-xpath. Briefly looking at the code, it looks like it's using DOM parsing, so it would consume heap. You could bump your max heap (-Xmx from the command line) if you had the extra memory and weren't worried about the docs getting larger. -Ryan On Tue, Dec

Re: [ANN] - jMonkeyEngine3 game dev for Clojure

2013-12-12 Thread Kelker Ryan
n thread "LWJGL Renderer Thread" java.lang.UnsatisfiedLinkError: > Can't load library: /.../jme-test/liblwjgl.dylib > > I see that it's under /.../jme-test/target/native/macosx > > On Thu, Dec 12, 2013 at 3:40 PM, Kelker Ryan wrote: >> As far as I know, I've cr

[ANN] - jMonkeyEngine3 game dev for Clojure

2013-12-12 Thread Kelker Ryan
 As far as I know, I've created the first lein template that allows you to run jMonkeyEngine3  from Clojure without any configuration. Create a projectlein new jme3 Download depscd ; lein deps Run the demolein run Game Engine:  http://jmonkeyengine.org/Github: https://github.com/runexec/clj-jme3 

Re: Best way to loop a map of maps

2013-12-10 Thread Ryan
I've seen postwalk and prewalk but never really played around with them so I will give it a shot. Thanks for your input! Ryan On Tuesday, December 10, 2013 10:29:51 AM UTC+2, Jeroen van Dijk wrote: > > Don't forget about the option of walking over a map by using > cloju

[ANN] Static Prime - Alpha 2

2013-12-08 Thread Kelker Ryan
Static Prime is a static website editor and server written in Clojure and ClojureScript. Visual Documentation Video Demo (Vimeo) Video Demo (Dailymotion)Supportsin browser mouse only layout arrangementdynamic template loading for static filesstatic site indexmultiple adminshtml and markdown editing

Re: require & :require

2013-12-06 Thread Kelker Ryan
I believe one is a directive and the other is a function.:require doesn't need the values to be quoted (:require xyz)require needs values to be quoted so that they're not evaluated when passed as arguments (require 'xyz)I could be wrong though.  06.12.2013, 18:17, "BillZhang" :hi all,What's the dif

Re: How would I do this in Clojure?

2013-12-05 Thread Kelker Ryan
user> (def a-blah (atom [1 2 3]))#'user/a-blahuser> (defn blah [] (let [x (first @a-blah)] (swap! a-blah rest) x))#'user/blahuser> (blah)1user> (blah)2user> (blah)3user> (blah)nil  06.12.2013, 03:46, "David Simmons" :Hi I'd like to be able to define a function that is passed a vector of items and r

Re: Best way to loop a map of maps

2013-12-05 Thread Ryan
Thanks guys for the useful answers :) Ryan On Wednesday, December 4, 2013 1:27:57 AM UTC+2, James Ferguson wrote: > > `update-in` could be helpful, depending on what exactly you're doing. > > (doseq [keyA keys, keyB otherkeys] > (update-in m [keyA keyB] some-function)) >

Best way to loop a map of maps

2013-12-03 Thread Ryan
ly nested iterations/traversal of map of maps? Thank you for any replies! Ryan -- -- 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

Re: Any elegant solutions for this problem?

2013-12-01 Thread Ryan
Nice James, I like it :) Ryan On Sunday, December 1, 2013 10:02:32 PM UTC+2, James Reeves wrote: > > There's also: > > (->> xs > (partition-by string?) > (partition 2) > (mapcat (fn [[[s] xs]] (for [x xs] [s x] > > > - James >

Re: Any elegant solutions for this problem?

2013-12-01 Thread Ryan
Haha, no worries, it happens :) That seems to work nice as well! Ryan On Sunday, December 1, 2013 9:36:47 PM UTC+2, john walker wrote: > > I swear english is my first language. This one isn't elegant, but at least > you know you aren't alone: > > (->>

Re: Any elegant solutions for this problem?

2013-12-01 Thread Ryan
I need (("foo" 1) ("bar" 10) ("bar" 20) ("clown" 5)) Ryan. On Sunday, December 1, 2013 9:21:14 PM UTC+2, john walker wrote: > > Sorry, I spoke without seeing that you were aware of partition-by. Here's > one that isn't vectorized. &

Any elegant solutions for this problem?

2013-12-01 Thread Ryan
Hi all, I have a vector which contains an unknown number of repetitions of the following pattern: String, followed by 1 or more integers For example: String Integer String Integer Integer String Integer Integer Integer String Integer What I am trying to do is to create a vector of pairs which

Re: I need a vector not a list?

2013-11-30 Thread Kelker Ryan
Vectors are mostly for speed and maintaining value sequence order. Try this => (vec (reverse [1 2 3]))Not this => (apply vector (reverse [1 2 3]))As an alternative you can do this => (into [] (reverse [1 2 3]))You can always use mapv when calling fun for each coll object.Try this => (mapv #(* 2 %)

[ANN] Clara 0.3.0: Rete in ClojureScript

2013-11-29 Thread Ryan Brush
issues via github. -Ryan -- -- 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 unsubs

Re: Releasing Static Prime: A static website editor and server written in Clojure and ClojureScript.

2013-11-27 Thread Kelker Ryan
There's now a video demo of this project at www.dailymotion.com/video/x17pggk_high-resolution-static-prime-a-static-website-editor-and-server-written-in-clojure-and-clojurescrip_tech  27.11.2013, 18:50, "Kelker Ryan" :Static PrimeA static website editor and server written

Releasing Static Prime: A static website editor and server written in Clojure and ClojureScript.

2013-11-27 Thread Kelker Ryan
Static PrimeA static website editor and server written in Clojure and ClojureScript. Visual Documentation Supportsin browser mouse only layout arrangementdynamic template loading for static filesstatic site indexmultiple adminshtml and markdown editingwrite, edit, delete pages -- -- You receiv

  1   2   3   4   >