Clojure.spec for maps with dependent values

2018-06-23 Thread Timothy Washington
Hello, Is there a way to make a spec that describes a map where - i. a key can be from a set of values and - ii. the value chose is used as the key for another entry - iii. an additional map entry is added For example, if we had the maps in *A.*, we could generate them with the

Re: [ANN] trapperkeeper 1.4.1

2017-01-30 Thread Timothy Washington
per/issues also >> work. If you are seeing specific issues when running against clojure 1.9, >> it would be great if you could open a jira ticket or github issue. >> > > Also, I just made a #trapperkeeper channel on the clojurians slack, so > feel free to ask questions th

Re: [ANN] trapperkeeper 1.4.1

2017-01-30 Thread Timothy Washington
active. > > On Mon, Jan 30, 2017 at 11:22 AM Timothy Washington <twash...@gmail.com> > wrote: > >> Is trapperkeeper still actively being developed and maintained? I'm >> having trouble using trapperkeeper with the core specs in Clojure 1.9. And >> these are the

Re: [ANN] trapperkeeper 1.4.1

2017-01-29 Thread Timothy Washington
Is trapperkeeper still actively being developed and maintained? I'm having trouble using trapperkeeper with the core specs in Clojure 1.9. And these are the last 2 substantive commits that I see. - Dec 8 2016

Re: Clojure News is out

2016-07-23 Thread Timothy Washington
+1 On Tue, Jul 19, 2016 at 10:35 AM, Jacob Strength wrote: > This looks great! I was just curious though, what are the advantages of > this over say the Clojure page on reddit? To me it seems very similar. > > > On Friday, July 15, 2016 at 9:28:12 AM UTC-6, Ertuğrul Çetin

Re: Why we cannot do this now?

2016-06-25 Thread Timothy Washington
+1 On Wed, Jun 22, 2016 at 10:29 PM, Erik Assum wrote: > Using Cider and clj-refactor, you can do M-x cljr-add-project-dependency > to add (or update) a dependency. > > Erik. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To

Re: [ANN] Edneditor.com

2016-06-25 Thread Timothy Washington
Oh yes yes, that's what actually prompted this project. I use http://jsoneditoronline.org all the time, and wanted something similar for EDN. Can't wait to flesh it out some more. I'll keep you posted. Tim On Fri, Jun 24, 2016 at 1:42 AM, 'Adrian A.' via Clojure < clojure@googlegroups.com>

[ANN] Edneditor.com

2016-06-23 Thread Timothy Washington
Hey all, I've created a dead simple online tool to pretty print EDN: http://edneditor.com There's just a lot of times that I'll have a chunk of EDN that I want to pretty print, to get a better view of my data. Very rudimentary at this point - so a lot of TODOs. But have a look, let me know your

Re: [ANN] CIDER 0.12 (Seattle)

2016-04-17 Thread Timothy Washington
+1. Great work :) Tim On Sat, Apr 16, 2016 at 7:54 PM, Bozhidar Batsov wrote: > Hey everyone, > > CIDER 0.12 (Seattle) is out! It packs a lot of small improvements and bug > fixes! > > Check out the release notes here >

Re: Interest in a Full Featured Clojure Blog Engine

2016-03-27 Thread Timothy Washington
Ah just seeing this now. Duplicating a response to Nate, as I thought it was just in my inbox. While I did get some initial interest, subsequent requests for an architectural review (see here and

Re: [ANN] CIDER 0.11 Released!

2016-03-04 Thread Timothy Washington
Congratulations and thanks to all contributors. Cider really helps my daily workflow. And Common Lispers are starting to feel the heat, from cider approaching the debugging and interactivity they're used to :) Tim On Fri, Mar 4, 2016 at 4:28 AM, Phillip Lord

Re: [ANN] clojurework.com

2016-02-26 Thread Timothy Washington
+1. This looks great. Tim On Thu, Feb 25, 2016 at 9:47 AM, Daniel Higginbotham wrote: > Hi everyone, > > I've released http://clojurework.com/ in beta :) My goal for the site is > to build a quality community resource for those looking to write Clojure > for Real

[ANN] "Clojure for Finance" Published

2016-01-20 Thread Timothy Washington
Hello, I’ve been somewhat of a hermit over the last year or so. A large part of that was the time it took to author my first book. I’m very happy to announce the release of *Clojure for Finance *. I've had some good feedback from non-programmers. So I think a review from

Re: [ANN] New clojure.org!

2016-01-15 Thread Timothy Washington
+1 Looks good. On Thu, Jan 14, 2016 at 11:26 PM, Bozhidar Batsov wrote: > Great work! This was long overdue, but I'm extremely happy we made this > solid first step! > > On 15 January 2016 at 04:11, Eunmin Kim wrote: > >> Great!! >> >> -- >> You

Re: CIDER 0.10 is out!

2015-12-26 Thread Timothy Washington
On Tue, Dec 22, 2015 at 10:57 AM, Artur Malabarba wrote: > Hi Timothy, > Glad you liked it! :-) > > > The only thing I'm wondering, is if the debugger has: > > a step into function > > Not yet. :-( > For now, you can instrument in advance the function you want to step

Re: CIDER 0.10 is out!

2015-12-21 Thread Timothy Washington
Just putting CiderX through it's paces now. Reeeally great work man!! Especially the debugging support, which just works. The only thing I'm wondering, is if the debugger has: - a *step into* function - ability to set a break point in a 3rd party lib (where you can't put *#break* or

Re: Clojure project Help?

2015-12-21 Thread Timothy Washington
Hi Min, In your project - Where does it come from? A database (you mentioned a driver), csv or json file? - What does the shape of the data look like in a Clojure runtime? Is there some sample code or Clojure data structures we can look at? Tim On Mon, Dec 21, 2015 at 4:03 PM,

[ANN] Adi 0.3.1

2015-01-05 Thread Timothy Washington
Hi all, The latest adi https://github.com/zcaudate/adi (0.3.1) is available on clojars https://clojars.org/im.chit/adi. Adi is a wrapper around datomic, or *a datomic interface*. The documentation http://docs.caudate.me/adi/ gives a better mental model. It's still being fleshed out. But what's

[ANN] Bkell 0.2.1

2015-01-05 Thread Timothy Washington
Bkell https://github.com/twashing/bkell is a double-entry bookkeeping system. It provides a Shell and API for maintaining balanced records for business transactions. Clojars https://clojars.org/bkell is here. Before running the system or tests, make sure that *resource/config.edn* exists (`*cp

Re: [ClojureScript] [ANN] cuerdas 0.1.0: A string manipulation library for clojure and clojurescript.

2014-12-23 Thread Timothy Washington
Ho-haa, looks slick. I can certainly use it. Thanks for this :) Tim Washington Interruptsoftware.com http://interruptsoftware.com On Tue, Dec 23, 2014 at 12:48 PM, Andrey Antukh n...@niwi.be wrote: Hello everybody. I wanted to announce the first release of cuerdas. A string manipulation

Re: Core Banking And The Mechanics Of Money Creation

2014-12-18 Thread Timothy Washington
That's awesome. I'm glad you and your clients are seeing the benefits. Much success :) Tim Washington Interruptsoftware.com http://interruptsoftware.com 416.843.9060 On Wed, Dec 17, 2014 at 8:04 PM, Matt Dean m...@trabian.com wrote: Tim, I enjoyed reading your post. Having recently launched

Core Banking And The Mechanics Of Money Creation

2014-12-17 Thread Timothy Washington
For any dev in banking, I just wrote Core Banking And The Mechanics Of Money Creation http://thebox.ghost.io/core-banking-and-the-mechanics-of-money-creation/. I wanted to distill my thinking around money, its systems, and the banking function. The post doesn't contain any computer code. But I did

Available For Work

2014-12-05 Thread Timothy Washington
Hello My current contract is winding down, and I'm available for Clojure work, preferably remotely. I have over 14 years Software Development experience. And 5 years, directly in Clojure. That's all to say that I love it, and maximizing expressive power in general. Currently, that also means

Re: Clojure - Java

2014-11-07 Thread Timothy Washington
Hey Blake, Yeah, Clojure sits atop the JVM and has access to all its core classes. So just fire up a repl and evaluate *java.io.File/pathSeparator* or *(java.lang.Math/abs -37)* or something. You can get those Java Interop http://clojure.org/java_interop details here. As for the Clojure / Java

Re: Chestnut memory usage

2014-10-14 Thread Timothy Washington
I created my own browser-repl component (using austin). And that definitely consumed a lot of memory. I haven't used Chestnut. But I'm guessing it's browser-repl implementation (in src/clj/chestnut/dev.clj

Re: Office Hour Requests

2014-09-16 Thread Timothy Washington
Hi Bridget, and thanks for responding. Yes, I remember the discussions. I figured I would try an individual connection. And if those continue to get popular, a separate channel or ongoing resource could be set up to service that. So yeah, I hope someone's interested and available in the topics

Office Hour Requests

2014-09-14 Thread Timothy Washington
Hey all, Is anyone game for clojure office hours session. I even vaguely recall someone building a webapp that connected people who wanted to pair program. It was designed to be used on an ad-hoc basis. But I don't recall where that went. I want to focus on these things, in that order. -

Re: Howto Load Project Namespaces in Leiningen Plugins

2014-09-01 Thread Timothy Washington
On Sun, Aug 31, 2014 at 4:02 PM, Timothy Washington twash...@gmail.com wrote: Ok, So I'm trying to write a leiningen plugin that takes some namespace arguments. Let's call it *myplugin*. This is a brand new plugin, so everything else is empty, and this value is present: *{:eval-in-leiningen

Re: Howto Load Project Namespaces in Leiningen Plugins

2014-09-01 Thread Timothy Washington
: at clojure.lang.RT.load(RT.java:443) ... at clojure.lang.Compiler.load(Compiler.java:7130) ... 11 more Subprocess failed Tim Washington Interruptsoftware.com http://interruptsoftware.com On Mon, Sep 1, 2014 at 10:58 PM, Timothy Washington twash...@gmail.com wrote: Awesome, thanks

Re: Howto Load Project Namespaces in Leiningen Plugins

2014-09-01 Thread Timothy Washington
[ritz.nrepl.middleware.javadoc/wrap-javadoc ritz.nrepl.middleware.simple-complete/wrap-simple-complete inspector.middleware/wrap-inspect]}} Tim Washington Interruptsoftware.com http://interruptsoftware.com On Mon, Sep 1, 2014 at 11:17 PM, Timothy Washington twash...@gmail.com wrote

Howto Load Project Namespaces in Leiningen Plugins

2014-08-31 Thread Timothy Washington
Ok, So I'm trying to write a leiningen plugin that takes some namespace arguments. Let's call it *myplugin*. This is a brand new plugin, so everything else is empty, and this value is present: *{:eval-in-leiningen true}*. My problem happens when, in the context of the project *myplugin* is acting

Re: Why is this an Exception ?

2014-08-29 Thread Timothy Washington
On Fri, Aug 29, 2014 at 3:04 PM, Ashton Kemerling ashtonkemerl...@gmail.com wrote: Bar/baz refers to the symbol baz in the namespace bar. If you haven't created and imported bar, that's an error. Ashoton's correct. So you'd expect something like this, before being able to e=compile your

Howto Use Automat ?

2014-08-26 Thread Timothy Washington
I'm trying to use Automat to map out transitions that are either of the paths below. - There can be many claims sent to an external service. Each claim, after being sent, can be :acknowledged or :rejected. - If a claim is :acknowledged, it can then either be :accepted or :rejected.

Multiple Log Files With Timbre?

2014-08-18 Thread Timothy Washington
Using timbre https://github.com/ptaoussanis/timbre, I'm wondering howto make multiple log files per session. I see https://github.com/ptaoussanis/timbre/blob/master/src/taoensso/timbre/appenders/rolling.clj#L57-L70 where you can make a RollingFileAppender. Using that, I'd also like to log to

Re: Howto Use isComponent with Adi

2014-08-10 Thread Timothy Washington
Hey Chris, sure thing. It did seem a bit weird, and maybe I'm using it wrong. But the issue I logged, and code details, are here https://github.com/zcaudate/adi/issues/7. Let me know if you need anything else. Cheers Tim On Fri, Aug 8, 2014 at 5:43 PM, zcaudate z...@caudate.me wrote: Hey

Re: using Stuarts component library correctly

2014-08-10 Thread Timothy Washington
If it helps, there's a lein plugin https://github.com/mowat27/reloadable-app that creates a new component based app implementing the reloaded workflow. I haven't used it myself. But maybe it gets an initial version going, that you can build on. Tim Washington Interruptsoftware.com

Howto write test.check custom generators

2014-08-10 Thread Timothy Washington
Hi there, I'm trying to get my head wrapped around test.check https://github.com/clojure/test.check/. My current stumbling block is custom generators. Of course I've combed through the docs https://github.com/clojure/test.check/blob/master/doc/intro.md#record-generators and source

Re: Howto write test.check custom generators

2014-08-10 Thread Timothy Washington
Oook, this is starting to sink in. I've gotten a little farther, in that I can run quick-check with my custom generator. However, after a bunch of values had been generated, it fails on a NullPointerException. How can I know where the breakdown is happening? = (tc/quick-check 100 u/has-agroup)

Re: [ANN] System

2014-08-05 Thread Timothy Washington
Well this is interesting. Leiningen has a list of 3rd party plugins https://github.com/technomancy/leiningen/wiki/Plugins. I see a use for a similar list of 3rd party components https://github.com/stuartsierra/component. Or maybe it already exists? I already have 1 or 2 that might be useful.

Howto Use isComponent with Adi

2014-08-03 Thread Timothy Washington
Hey, I'm playing around with adi, and it looks pretty cool. But I can't seem to get isComponent to work in my adi schema. It's failing when I try to use a boolean, which was my first guess as to it's usage (see wiki https://github.com/zcaudate/adi/blob/master/wiki/schema.md, source

Re: Help Getting Sente to Work

2014-08-01 Thread Timothy Washington
. On 30 Jul 2014 16:24, Timothy Washington twash...@gmail.com wrote: -- 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

Clojure / Core.Async Dependency Issues

2014-07-31 Thread Timothy Washington
I'm trying the latest *clojure* and *core.async* releases on a fresh project (lein new thing). (defproject thing 0.1.0-SNAPSHOT :description FIXME: write description ... :dependencies [*[org.clojure/clojure 1.6.0]* *[org.clojure/core.async 0.1.303.0-886421-alpha]* ])

Re: Clojure / Core.Async Dependency Issues

2014-07-31 Thread Timothy Washington
://interruptsoftware.com On Thu, Jul 31, 2014 at 1:28 PM, Timothy Washington twash...@gmail.com wrote: I'm trying the latest *clojure* and *core.async* releases on a fresh project (lein new thing). (defproject thing 0.1.0-SNAPSHOT :description FIXME: write description ... :dependencies [*[org.clojure

Re: Help Getting Sente to Work

2014-07-30 Thread Timothy Washington
Hey Peter, Responses are inlined. On Tue, Jul 29, 2014 at 12:51 AM, Peter Taoussanis ptaoussa...@gmail.com wrote: Wrt the CSRF issue, I'll try running again without it. Out of curiosity, sure - but if you've already gone to the effort of setting up the CSRF I'd leave it in (better to have

Re: Help Getting Sente to Work

2014-07-28 Thread Timothy Washington
Hey Peter, Thanks for getting back to me. Good explanation here. Wrt the CSRF issue, I'll try running again without it. Now, a port changed fixed the issue for me. But before I passed in a *chsk-url-fn*, I was still getting a 404, even when trying with a browser (ie, using the correct port).

Re: Help Getting Sente to Work

2014-07-27 Thread Timothy Washington
rejecting your request. And I think Sente is assuming it’s setup. This was a while ago so maybe I’m not remembering it quite right. Cheers, Bob On Jul 26, 2014, at 12:33 AM, Timothy Washington twash...@gmail.com wrote: Hi all, I'm using [com.taoensso/sente 0.15.1 https://github.com

Re: How to control evaluation of code with cider

2014-07-25 Thread Timothy Washington
On Wed, Jul 23, 2014 at 10:08 PM, Brent Millare brent.mill...@gmail.com wrote: I forgot to include in the snippet, that I would do something like (def live-repl-client (cljs.repl/channel-repl repl-env)) When you say channel-repl/cider-function, do you mean user/live-repl-client? Yes,

Help Getting Sente to Work

2014-07-25 Thread Timothy Washington
Hi all, I'm using [com.taoensso/sente 0.15.1 https://github.com/ptaoussanis/sente], and having trouble connecting the client to the server. I'm sure it's something simple, but not obvious, as this is taken directly from the examples on sente's github page. Anyone seen and fixed the error in

Re: How to control evaluation of code with cider

2014-07-22 Thread Timothy Washington
Ooh, this looks interesting. Afraid I don't know enough elisp to be useful. But it looks like you're already prompting the caller for the *channel-repl/cider-function* name. Is there a reason you're not using it ( *prefix*) ? Also can I ask how / where you plan to use this? Or is it just a

Re: learning to think a better way

2014-06-17 Thread Timothy Washington
Functional Geekery has a nice audio discussion http://bit.ly/1ixqTCC with Simon Peyton Jones, one of Haskell's founders. As well as discussing computational concepts, Simon talks about bringing Computer Science as a subject, to the English National school curriculum. He also delves into what that

From Maker Spaces to Seeing Spaces

2014-06-17 Thread Timothy Washington
Brett Victor posted a video http://bit.ly/1p8dmVM for a new kind of maker space. Seeing inside behaviours, across time and across possibilities. Summary excerpt: *I think people need to work in a space that moves them away from the kinds of non-scientific thinking that you do when you can't see

Lein-Midje-Doc missing some :sections

2014-05-28 Thread Timothy Washington
Hey, I'm using lein-midje-doc http://docs.caudate.me/lein-midje-doc/, mostly to success. But I'm having a case where my documentation inside of a *against-background* block, is being ignored. I'm looking for lein-midje-doc examples that demonstrate this. But, say

Re: data.xml namespace aware?

2014-05-12 Thread Timothy Washington
about prefix assignment. The emitter takes care of assigning xmlns declarations. cheers 2014-05-10 0:22 GMT+02:00 Timothy Washington twash...@gmail.com: Thanks Herwig. I take it test_namespace.cljhttps://github.com/bendlas/data.xml/blob/master/src/test/clojure/clojure/data/xml

Using Java's XML Digital Signature API - Clojure

2014-05-09 Thread Timothy Washington
Hi all, I've noticed there's no Clojure library for doing XML Digital signatures. So I'll probably put one out there, if I can completely solve this problem. Using Java's *XML Digital Signature API http://docs.oracle.com/javase/7/docs/technotes/guides/security/xmldsig/XMLDigitalSignature.html*,

Re: Managing State Changes, using Component

2014-05-09 Thread Timothy Washington
Sorry, just reading this now. I've pivoted on that project, and that code is no longer around. We were going to store analytics data in that atom, but instead are going to do JVM and other kinds of profiling. But if you look at my first message, component *:a* would have had the atom. The

Re: data.xml namespace aware?

2014-05-09 Thread Timothy Washington
with the current data.xml impl: by taking care of xmlns attributes and prefixes yourself. I definitely want to keep compatibility with that representation. Feel free to check out my proposal branch here https://github.com/bendlas/data.xml cheers 2014-05-06 21:53 GMT+02:00 Timothy Washington twash

Re: Managing State Changes, using Component

2014-05-09 Thread Timothy Washington
for sure how that occurred. There's nothing obvious in the pseudocode you presented that would indicate where the atom is being created more than once. - James On 9 May 2014 22:49, Timothy Washington twash...@gmail.com wrote: Sorry, just reading this now. I've pivoted on that project

Re: Using Java's XML Digital Signature API - Clojure

2014-05-09 Thread Timothy Washington
This refheap link https://www.refheap.com/85304 is, so far, the Clojure code that generates the XML in fig.3. Tim Washington Interruptsoftware.com http://interruptsoftware.com On Fri, May 9, 2014 at 5:29 PM, Timothy Washington twash...@gmail.comwrote: Hi all, I've noticed there's

data.xml namespace aware?

2014-05-06 Thread Timothy Washington
Hi there, *A)* I'm just writing some SOAP XML, trying to use data.xmlhttps://github.com/clojure/data.xml. This SO threadhttp://stackoverflow.com/questions/10868050/clojure-data-xml-create-key-named-xlinkhref outlines how to write out namespace aware XML. But the example is for a namespace on an

Re: data.xml namespace aware?

2014-05-06 Thread Timothy Washington
thing:second/ /thing:first /root Tim Washington Interruptsoftware.com http://interruptsoftware.com On Tue, May 6, 2014 at 3:24 PM, Timothy Washington twash...@gmail.comwrote: Hi there, *A)* I'm just writing some SOAP XML, trying to use data.xmlhttps://github.com/clojure/data.xml. This SO

Re: data.xml namespace aware?

2014-05-06 Thread Timothy Washington
encoding=UTF-8? thing:first xmlns:thing=http://thing; thing:second/ /thing:first Tim Washington Interruptsoftware.com http://interruptsoftware.com On Tue, May 6, 2014 at 3:45 PM, Timothy Washington twash...@gmail.comwrote: Got a bit further here. I want to be able to get tag namespaces without

Re: Managing State Changes, using Component

2014-05-05 Thread Timothy Washington
Responses inlined ... On Mon, May 5, 2014 at 12:35 AM, Atamert Ölçgen mu...@muhuk.com wrote: Hello Timothy, On Sat, May 3, 2014 at 8:49 PM, Timothy Washington twash...@gmail.comwrote: Also, have you tried confirming that only one :a is instantiated? That one *:a* is not the same

Re: Managing State Changes, using Component

2014-05-05 Thread Timothy Washington
Ahh, so that was it then. Yeah, I definitely created that atom in the start method. Thanks very much. Tim Washington Interruptsoftware.com http://interruptsoftware.com On Mon, May 5, 2014 at 3:27 PM, Stuart Sierra the.stuart.sie...@gmail.comwrote: At what point did you **create** the Atom

Re: Managing State Changes, using Component

2014-05-03 Thread Timothy Washington
the components in the *'start* *'stop* functions. I say this, because when one of my dependant components updated an atom in it's own [*:local :a*], it was [*:core :a*] that reflected that change. On Wed, Apr 30, 2014 at 9:13 PM, Timothy Washington twash...@gmail.comwrote: Hi all, I'm having

Managing State Changes, using Component

2014-04-30 Thread Timothy Washington
Hi all, I'm having a weird state problem with Componenthttps://github.com/stuartsierra/component. Let's say I have a system component, like in fig.1. Starting / stopping and loading state is fine. However, let's say I have 2 other components (:updater , :reader) that use component :a. This is the

Re: multiple browsers, live.js - repl

2014-04-29 Thread Timothy Washington
Hey, I haven't tried live.js. But these tools might be of interest. - Austin https://github.com/cemerick/austin/ has the ability to *Multiple concurrent browser-REPLs can be safely used from the same project* (though I haven't yet tried this feature).

Re: Idiomatic Clojure for iterating all items of a map

2014-04-21 Thread Timothy Washington
You can simply call *seq* on your map, and get a sequence of all map entries. user (seq {:a 1 :b 2 :c 3}) ([:a 1] [:c 3] [:b 2]) Hth Tim Washington Interruptsoftware.com http://interruptsoftware.com On Mon, Apr 21, 2014 at 11:32 AM, Hussein B. hubaghd...@gmail.com wrote: Hi, For a data

Re: Clojure Office Hours

2014-04-15 Thread Timothy Washington
I just came from an office hours session, yesterday with Leif. This is good stuff guys, and a great way to learn and meet with other developers. Highly recommended. Thanks Leif Tim Washington Interruptsoftware.com http://interruptsoftware.com On Tue, Apr 15, 2014 at 5:12 AM, Jakub Holy

Re: Clojure + BDD + TDD + Pairing...

2014-04-11 Thread Timothy Washington
, ideas accepted about what we could use, as I don't have any... On Apr 10, 2014, at 7:23 AM, Timothy Washington twash...@gmail.com wrote: I'm also keen. I'm on EST (GMT - 5). Saturdays and Sundays are good for me. But weekday evenings would also work. Tim Washington Interruptsoftware.com

Re: What's the difference between -? and some- ?

2014-04-10 Thread Timothy Washington
Good question. I've been rooting around arrow land for the past few days. *some-* , now a part of clojure.core, was originally in core.incubator as *-?*. From the documentation, it's the *same as clojure.core/- but returns nil as soon as the threaded value is nil itself (thus short-circuiting any

Re: Clojure Office Hours

2014-04-10 Thread Timothy Washington
Sounds great. I just sent a request. Tim Washington Interruptsoftware.com http://interruptsoftware.com On Thu, Apr 10, 2014 at 9:43 AM, Colin Fleming colin.mailingl...@gmail.comwrote: Hi Leif, This sounds like a very interesting project, please report back and let us know how it went! I'd

Re: Real World Example

2014-04-10 Thread Timothy Washington
I've also had a lot of success with Prismatic's Schemahttps://github.com/Prismatic/schema/library. I've found it to be a good middle ground between type hints, Protocols, etc, and a full blown type system, such as core.typedhttps://github.com/clojure/core.typed . Hth Tim Washington

Re: Clojure + BDD + TDD + Pairing...

2014-04-10 Thread Timothy Washington
I'm also keen. I'm on EST (GMT - 5). Saturdays and Sundays are good for me. But weekday evenings would also work. Tim Washington Interruptsoftware.com http://interruptsoftware.com On Wed, Mar 26, 2014 at 4:51 PM, Brian Muhia iambrianmu...@gmail.comwrote: Hi Josh, I'm interested in pairing

[ANN] Zengarden. A Clojure library for generating CSS

2014-04-10 Thread Timothy Washington
Zengarden is a riff on Joel Holdbrooks' excellent gardenhttps://github.com/noprompt/gardenlibrary. Zengarden is a simple tool for generating CSS in Clojure. The goal is to cover most of CSS3https://developer.mozilla.org/en-US/docs/Web/CSS/CSS3. The spirit of the library is to have declarative

Re: [ANN] Zengarden. A Clojure library for generating CSS

2014-04-10 Thread Timothy Washington
I actually did take Joel up on his offer. But my feature requests are on the back burner for the moment. I happen to be building a product, that needs what Zengarden provides. Mainly authoring gnarly things like @import, @media queries, pseudo classes, etc, *declaratively, from edn*. That was the

Re: Garden, Thorn - Looking for contributors

2014-03-28 Thread Timothy Washington
So there's 2 points that I raised. The main one is getting the *@import*working. And I probably just need to see an example of how to do that in the API. With that, I'd probably move over to hiccup / garden. Wrt garden-watch https://github.com/twashing/garden-watch, I understand and agree with

Re: Garden, Thorn - Looking for contributors

2014-03-26 Thread Timothy Washington
Hi Joel, I think this is a good idea. We've discussed one of my pain points; particularly *Exploring Garden At Rules*. Our thread basically looked like the below (last few messages ellided). Now, for the moment, I indeed went back to *SCSS*, because *i)* it did what I wanted out of the box and

Re: Adatx - Test driven development... literally.

2014-03-14 Thread Timothy Washington
Right. Yes, it looks very interesting, and I need to research it too. Well I'm certainly keen on hearing about your results. Tim Washington Interruptsoftware.com http://interruptsoftware.com On Fri, Mar 14, 2014 at 7:13 AM, Ludwik Grodzki grod...@gmail.com wrote: Tim. Thank you for the

Re: Adatx - Test driven development... literally.

2014-03-12 Thread Timothy Washington
This looks interesting. I was hammocking a solution that could use that. But on Infoq, I recently watchedhttp://www.infoq.com/interviews/byrd-relational-programming-minikanrenWilliam Byrd, describing just this feature in MiniKanren. As such, I expect to see this feature will be in core.logic. Did

Re: Working with big datasets, merging two ordered lists by key

2014-03-10 Thread Timothy Washington
Hey Frank, Right. So I tried this loop / recur, and it runs, giving a result of *([4 nil] [3 3] [2 nil] [1 1])*. But I'm not sure how that's going to help you (although not discounting the possibility). You can simultaneously iterate through pairs of lists, to compare values. However you cannot

Re: Working with big datasets, merging two ordered lists by key

2014-03-09 Thread Timothy Washington
Hey Frank, Try opening up a repl, and running this *for* comprehension. (def user_textfile [[:id1 {:name 'Frank'}] [:id3 {:name 'Tim'}]]) (def user_database [[:id1 {:age 38}] [:id2 {:age 27}] [:id3 {:age 18}] [:id4 {:age 60}]]) (for [i user_textfile j user_database :when (=

Re: Working with big datasets, merging two ordered lists by key

2014-03-09 Thread Timothy Washington
Interruptsoftware.com http://interruptsoftware.com On Sun, Mar 9, 2014 at 12:13 PM, Moritz Ulrich mor...@tarn-vedra.de wrote: I think it would be more efficient to read one of the inputs into a map for random access instead of iterating it every time. On Sun, Mar 9, 2014 at 4:48 PM, Timothy

Re: File and Project organization questions

2014-03-08 Thread Timothy Washington
Hi Brandon, Clojure For the Brave and True http://www.braveclojure.com/ has a good guide http://www.braveclojure.com/organization/ on project layout and organization. Leiningen also has a guidehttps://github.com/technomancy/leiningen/blob/master/doc/TUTORIAL.md#leiningen-projectsto creating and

Re: How to override the default port on 3000?

2014-02-25 Thread Timothy Washington
Try this. *lein ring server-headless pick-your-port ;; port 80 usually requires root permissions* Tim Washington Interruptsoftware.com http://interruptsoftware.com On Tue, Feb 25, 2014 at 9:21 AM, action actioncao2...@gmail.com wrote: I do like this: #lein new compojure-app guestbook

Re: [ANN] zcube 0.0.1

2014-02-12 Thread Timothy Washington
+1 I can already think of a few places I'd like to try this. Looks very cool. Tim Washington Interruptsoftware.com http://interruptsoftware.com On Wed, Feb 12, 2014 at 1:13 PM, Fabien Todescato f...@infologic.fr wrote: Hi, clojure community. It is my pleasure to announce zcube[1], a Clojure

Re: [ANN] garden-watch

2014-02-06 Thread Timothy Washington
Lol, fair enough :) On Wed, Feb 5, 2014 at 11:44 PM, Joel Holdbrooks cjholdbro...@gmail.comwrote: Clojure. On Feb 5, 2014, at 8:42 PM, Timothy Washington twash...@gmail.com wrote: Ok, that's fine. Definitely good to have both ways to tackle the problem. But I'm curious. What do you feel

Re: [ANN] garden-watch

2014-02-05 Thread Timothy Washington
Hey Dave, Thanks for that heads up. I originally wanted auto-compiling for *HAML* and *SCSS*. But then thought why, when I could just use edn with *Hiccup* and *Garden*. Now, a lein-hiccup, or some auto compile tool doesn't exist to my knowledge. So *i)* I had to do that work anyways. Then I

[ANN] hiccup-watch

2014-02-04 Thread Timothy Washington
*hiccup-watch https://github.com/twashing/hiccup-watch* is just a leiningen watcher plugin that monitors for changes in your Hiccup source files. While building some web apps, I found that I like to treat my *hiccup.edn*forms as separate files. So this is akin to something like guard-haml

[ANN] garden-watch

2014-02-04 Thread Timothy Washington
*garden-watch* https://github.com/twashing/garden-watch is very similar to hiccup-watch https://github.com/twashing/hiccup-watch (previous annhttps://groups.google.com/forum/#!topic/clojure/7nglz0yz-9Q). But this time, we're compiling down to CSS, using the

Re: Helping newcomers get involved in Clojure projects

2014-01-26 Thread Timothy Washington
Washington Interruptsoftware.com http://interruptsoftware.com On Sat, Jan 25, 2014 at 6:35 PM, Marcus Blankenship mar...@creoagency.comwrote: I'd love to help with Stefon. I just forked it, and am trying to get it running. Is there a mailing list for it? On Jan 25, 2014, at 12:41 PM, Timothy

[ANN] Stefon: A Composable Blog Engine

2014-01-25 Thread Timothy Washington
The kernel of Stefon https://github.com/stefonweblog/stefon has stabilized to a point where people can start writing plugins against it. I still want to deliver *i)* a database and *ii)* webui plugin along with the core kernel. But my schedule's packed up, and I don't want to leave it too long.

Re: Helping newcomers get involved in Clojure projects

2014-01-25 Thread Timothy Washington
+1 I need help building out Stefon https://github.com/stefonweblog/stefon and accompanying plugins https://github.com/stefonweblog. Tim Washington Interruptsoftware.com http://interruptsoftware.com/ On Sat, Jan 25, 2014 at 1:54 PM, Bridget bridget.hill...@gmail.com wrote: OpenHatch has

Core.logic from Java

2014-01-04 Thread Timothy Washington
Is there an easy way to use core.logic from Java, or any other JVM language (Groovy, Scala, etc)? Of course there's the standard way of calling Clojure from Javahttp://walkwithoutrhythm.net/blog/2012/03/26/how-to-call-clojure-1-dot-3-functions-from-java/ (:gen-class, etc). But I'm just checking

Re: Seeking remote Clojure work

2014-01-04 Thread Timothy Washington
There are a few places you can look. - Functional Jobs // Dream Jobs for Functional Programmershttp://functionaljobs.com/ - Lispjobs | A gift to Lisp hackers from Will Fitzgeraldhttp://lispjobs.wordpress.com/ - (18) London Clojurian Jobs - Google

Fwd: Core.async, Rules for passing clojure vals to go block

2014-01-03 Thread Timothy Washington
Forwarding... -- Forwarded message -- From: Timothy Washington twash...@gmail.com Date: Fri, Jan 3, 2014 at 1:17 PM Subject: Re: Core.async, Rules for passing clojure vals to go block To: Shaun Gilchrist shaunxc...@gmail.com I'm using Prismatic's Schema in my code base. Now

Re: Core.async, Rules for passing clojure vals to go block

2014-01-03 Thread Timothy Washington
the issue so I can look into it further? Thanks! On Friday, January 3, 2014 10:21:16 AM UTC-8, frye wrote: Forwarding... -- Forwarded message -- From: Timothy Washington twas...@gmail.com Date: Fri, Jan 3, 2014 at 1:17 PM Subject: Re: Core.async, Rules for passing clojure vals

Re: Core.async, Rules for passing clojure vals to go block

2014-01-03 Thread Timothy Washington
at 6:51 PM, Timothy Baldridge tbaldri...@gmail.comwrote: Using a def inside a defn really shouldn't be done. Perhaps move the params to a let outside of the s/defn? Or change the def to a let? Timothy Baldridge On Fri, Jan 3, 2014 at 4:18 PM, Timothy Washington twash...@gmail.comwrote

Re: Core.async, Rules for passing clojure vals to go block

2014-01-03 Thread Timothy Washington
that demonstrates the issue so I can look into it further? Thanks! On Friday, January 3, 2014 10:21:16 AM UTC-8, frye wrote: Forwarding... -- Forwarded message -- From: Timothy Washington twas...@gmail.com Date: Fri, Jan 3, 2014 at 1:17 PM Subject: Re: Core.async, Rules

Re: Core.async, Rules for passing clojure vals to go block

2014-01-03 Thread Timothy Washington
, 2014 at 8:11 PM, Jason Wolfe ja...@w01fe.com wrote: On Fri, Jan 3, 2014 at 4:43 PM, Timothy Washington twash...@gmail.comwrote: The crux of the problem is that the size of *params* can be variable. Only at runtime, does the code match the loaded *afn*, with the passed in *params*. So I

Re: Core.async, Rules for passing clojure vals to go block

2014-01-03 Thread Timothy Washington
guys :) Tim Washington Interruptsoftware.com http://interruptsoftware.com On Fri, Jan 3, 2014 at 8:48 PM, Timothy Washington twash...@gmail.comwrote: Yes, good point. I tried apply, but the result from that is always *nil*(where there should be a value). You're right that it should work (we

  1   2   3   >