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 test.ch

Re: [ANN] CIDER 0.16 (Riga)

2018-01-04 Thread Timothy Washington
Here here +1. Thanks Bbatsov :) Tim On Fri, Dec 29, 2017 at 8:32 AM, Bastien Guerry wrote: > Hi Bozhidar, > > > Here's one (a bit overdue) Christmas present for all of you - a > > major update to CIDER, the popular Clojure interactive development > > environment, built on top of Emacs and nRE

Re: [ANN] trapperkeeper 1.4.1

2017-01-30 Thread Timothy Washington
ssues 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 there as well. > > >> On Mon, Jan 30, 2017 at 8:

Re: [ANN] trapperkeeper 1.4.1

2017-01-30 Thread Timothy Washington
active. > > On Mon, Jan 30, 2017 at 11:22 AM Timothy Washington > 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 last 2 substantive

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 wrote: >> >> Hi Everyo

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 post to this group,

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> wro

[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 > https://github.com/clojure-emacs/cider/releases/tag/v0.12.0 > > We've als

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 he

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 wrote: > > Kudos to Benedek Fazek

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 Projects, whether paid or ope

[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 pro

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 received this message because you are subscribed

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 into. > > > ability to set a

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, Min

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 *#de

[ANN] Bkell 0.2.1

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

[ANN] Adi 0.3.1

2015-01-05 Thread Timothy Washington
Hi all, The latest adi (0.3.1) is available on clojars . Adi is a wrapper around datomic, or "*a datomic interface*". The documentation gives a better mental model. It's still being fleshed out. But w

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 On Tue, Dec 23, 2014 at 12:48 PM, Andrey Antukh wrote: > > Hello everybody. > > I wanted to announce the first release of cuerdas. A string manipulation > library

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 416.843.9060 On Wed, Dec 17, 2014 at 8:04 PM, Matt Dean wrote: > > Tim, I enjoyed reading your post. Having recently launched an online >

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 . I wanted to distill my thinking around money, its systems, and the banking function. The post doesn't contain any computer code. But I di

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 pokin

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 details here. As for the Clojure / J

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 I'v

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. - *test

Re: Howto Load Project Namespaces in Leiningen Plugins

2014-09-01 Thread Timothy Washington
middleware [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 Washingt

Re: Howto Load Project Namespaces in Leiningen Plugins

2014-09-01 Thread Timothy Washington
n/zzz.clj on classpath: 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 Washi

Re: Howto Load Project Namespaces in Leiningen Plugins

2014-09-01 Thread Timothy Washington
ed on limited info that it was not `require`d first. > > I'll plug > https://github.com/technomancy/leiningen/blob/master/doc/PLUGINS.md#code-evaluation > and https://www.youtube.com/watch?v=uXebQ7RkhKs as containing similar > information said in different ways, in case it comes a

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 **. 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 ** is acting on, the plugin c

Re: Why is this an Exception ?

2014-08-29 Thread Timothy Washington
On Fri, Aug 29, 2014 at 3:04 PM, Ashton Kemerling 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 code. *a/bar.clj* (ns a.b

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 , I'm wondering howto make multiple log files per session. I see where you can make a RollingFileAppender. Using that, I'd also like to log to s

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) {

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 . My current stumbling block is custom generators. Of course I've combed through the docs and source

Re: using Stuarts component library correctly

2014-08-10 Thread Timothy Washington
If it helps, there's a lein plugin 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

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 . Let me know if you need anything else. Cheers Tim On Fri, Aug 8, 2014 at 5:43 PM, zcaudate wrote: > Hey Tim, > > adi's

Re: [ANN] System

2014-08-05 Thread Timothy Washington
Well this is interesting. Leiningen has a list of 3rd party plugins . I see a use for a similar list of 3rd party components . 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 , source

Re: Help Getting Sente to Work

2014-08-01 Thread Timothy Washington
can't > run on the same port. > On 30 Jul 2014 16:24, "Timothy Washington" 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 f

Re: Clojure / Core.Async Dependency Issues

2014-07-31 Thread Timothy Washington
[clojure.pprint pprint pp]])] Tim Washington Interruptsoftware.com <http://interruptsoftware.com> On Thu, Jul 31, 2014 at 1:28 PM, Timothy Washington wrote: > I'm trying the latest *clojure* and *core.async* releases on a fresh > project (lein new thi

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-alph

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 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 it) :-) > Yep,

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). Tha

Re: Help Getting Sente to Work

2014-07-27 Thread Timothy Washington
Ok, got it. It was indeed the CSRF issue. I included that middleware to fix the issue. For anyone else struggling with this, There's a *sente/example-project* with some code that uses the csrf middlewar

Help Getting Sente to Work

2014-07-25 Thread Timothy Washington
Hi all, I'm using [com.taoensso/sente "0.15.1" ], 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 fi

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 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, exactly. > > I don'

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 generic

From Maker Spaces to Seeing Spaces

2014-06-17 Thread Timothy Washington
Brett Victor posted a video 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

Re: learning to think a better way

2014-06-17 Thread Timothy Washington
Functional Geekery has a nice audio discussion 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

Lein-Midje-Doc missing some :sections

2014-05-28 Thread Timothy Washington
Hey, I'm using 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 purnam

Re: data.xml namespace aware?

2014-05-12 Thread Timothy Washington
happened to assign in code. > - You can combine xml fragments from different parts of code, without > worrying about prefix assignment. The emitter takes care of assigning xmlns > declarations. > > cheers > > > 2014-05-10 0:22 GMT+02:00 Timothy Washington : > >&

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 wrote: > Hi all, > > I've noticed

Re: Managing State Changes, using Component

2014-05-09 Thread Timothy Washington
's impossible to know 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 wrote: > >> Sorry, just

Re: data.xml namespace aware?

2014-05-09 Thread Timothy Washington
g 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

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 *:updat

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 *,

Re: data.xml namespace aware?

2014-05-06 Thread Timothy Washington
http://thing";> Tim Washington Interruptsoftware.com <http://interruptsoftware.com> On Tue, May 6, 2014 at 3:45 PM, Timothy Washington wrote: > Got a bit further here. I want to be able to get tag namespaces without a > :root tag (that includes the namespace definition). Ass

Re: data.xml namespace aware?

2014-05-06 Thread Timothy Washington
tsoftware.com <http://interruptsoftware.com> On Tue, May 6, 2014 at 3:24 PM, Timothy Washington wrote: > Hi there, > > > *A)* I'm just writing some SOAP XML, trying to use > data.xml<https://github.com/clojure/data.xml>. > This SO > thread<http://stackoverf

data.xml namespace aware?

2014-05-06 Thread Timothy Washington
Hi there, *A)* I'm just writing some SOAP XML, trying to use data.xml. This SO thread outlines how to write out namespace aware XML. But the example is for a namespace on

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 On Mon, May 5, 2014 at 3:27 PM, Stuart Sierra wrote: > At what point did you **create** the Atom in :a? Any mutable referen

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 wrote: > > Hello Timothy, > > > On Sat, May 3, 2014 at 8:49 PM, Timothy Washington wrote: > >> >> Also, have you tried confirming that only one :a is instantiated? >>> >> >>

Re: Managing State Changes, using Component

2014-05-03 Thread Timothy Washington
endant components. Seems that it's the [*:core :a*] bit that's passed to all 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. O

Managing State Changes, using Component

2014-04-30 Thread Timothy Washington
Hi all, I'm having a weird state problem with 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 th

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 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 On Mon, Apr 21, 2014 at 11:32 AM, Hussein B. wrote: > Hi, > > For a data structure such

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 On Tue, Apr 15, 2014 at 5:12 AM, Jakub Holy wro

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

2014-04-11 Thread Timothy Washington
x27;s a Clojure project we should work on! ;-) > > But really, ideas accepted about what we could use, as I don't have any... > > > > On Apr 10, 2014, at 7:23 AM, Timothy Washington > wrote: > > I'm also keen. I'm on EST (GMT - 5). Saturdays and Sund

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

[ANN] Zengarden. A Clojure library for generating CSS

2014-04-10 Thread Timothy Washington
Zengarden is a riff on Joel Holdbrooks' excellent gardenlibrary. Zengarden is a simple tool for generating CSS in Clojure. The goal is to cover most of CSS3. The spirit of the library is to have declarative s

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 On Wed, Mar 26, 2014 at 4:51 PM, Brian Muhia wrote: > Hi Josh, > I'm interested in pairing as well. I'm also bas

Re: Real World Example

2014-04-10 Thread Timothy Washington
I've also had a lot of success with Prismatic's Schemalibrary. I've found it to be a good middle ground between type hints, Protocols, etc, and a full blown type system, such as core.typed . Hth Tim Washington Interrupt

Re: Clojure Office Hours

2014-04-10 Thread Timothy Washington
Sounds great. I just sent a request. Tim Washington Interruptsoftware.com On Thu, Apr 10, 2014 at 9:43 AM, Colin Fleming wrote: > Hi Leif, > > This sounds like a very interesting project, please report back and let us > know how it went! I'd be very interested to

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 a

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 , I understand and agree with y

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 On Fri, Mar 14, 2014 at 7:13 AM, Ludwik Grodzki wrote: > Tim. > > Thank you for the William Byrd vi

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 watchedWilliam Byrd, describing just this feature in MiniKanren. As such, I expect to see this feature will be in core.logic. Di

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 g

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

2014-03-09 Thread Timothy Washington
Tim Washington Interruptsoftware.com <http://interruptsoftware.com> On Sun, Mar 9, 2014 at 12:13 PM, Moritz Ulrich 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, 20

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 (= (firs

Re: File and Project organization questions

2014-03-08 Thread Timothy Washington
Hi Brandon, Clojure For the Brave and True has a good guide on project layout and organization. Leiningen also has a guideto creating

Re: How to override the default port on 3000?

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

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 On Wed, Feb 12, 2014 at 1:13 PM, Fabien Todescato wrote: > Hi, clojure community. It is my pleasure to announce zcube[1], a Clojure > library all

Re: [ANN] garden-watch

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

Re: [ANN] garden-watch

2014-02-05 Thread Timothy Washington
Ok, that's fine. Definitely good to have both ways to tackle the problem. But I'm curious. What do you feel is being given up by watching garden files? Thanks Tim Washington Interruptsoftware.com On Wed, Feb 5, 2014 at 11:04 PM, Joel Holdbrooks wrote: > The idea

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 spent

[ANN] garden-watch

2014-02-04 Thread Timothy Washington
*garden-watch* is very similar to hiccup-watch (previous ann). But this time, we're compiling down to CSS, using the Garden

[ANN] hiccup-watch

2014-02-04 Thread Timothy Washington
*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

Re: Helping newcomers get involved in Clojure projects

2014-01-26 Thread Timothy Washington
figuration and loading mechanism. Tim Washington Interruptsoftware.com <http://interruptsoftware.com> On Sat, Jan 25, 2014 at 6:35 PM, Marcus Blankenship wrote: > I'd love to help with Stefon. I just forked it, and am trying to get it > running. Is there a mailing list fo

Re: Helping newcomers get involved in Clojure projects

2014-01-25 Thread Timothy Washington
+1 I need help building out Stefon and accompanying plugins . Tim Washington Interruptsoftware.com On Sat, Jan 25, 2014 at 1:54 PM, Bridget wrote: > OpenHatch has this great > initiati

[ANN] Stefon: A Composable Blog Engine

2014-01-25 Thread Timothy Washington
The kernel of 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: Seeking remote Clojure work

2014-01-04 Thread Timothy Washington
There are a few places you can look. - Functional Jobs // Dream Jobs for Functional Programmers - Lispjobs | A gift to Lisp hackers from Will Fitzgerald - (18) London Clojurian Jobs - Google Groups

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 Java (:gen-class, etc). But I'm just checking

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 wrote: > 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 (

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

2014-01-03 Thread Timothy Washington
ould be. > > > On Fri, Jan 3, 2014 at 8:11 PM, Jason Wolfe wrote: > >> >> >> >> On Fri, Jan 3, 2014 at 4:43 PM, Timothy Washington wrote: >> >>> The crux of the problem is that the size of *params* can be variable. >>> Only at runtime, do

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

2014-01-03 Thread Timothy Washington
#x27;re seeing an exception inside the go block, which is >>> swallowed by default: >>> >>> user> (clojure.core.async/go (println "A")) >>> #>> 46ae10a6> >>> A >>> >>> user> (clojure.core.async/go (throw (Runtim

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

2014-01-03 Thread Timothy Washington
n Fri, Jan 3, 2014 at 6:51 PM, Timothy Baldridge wrote: > 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

  1   2   3   4   >