Clojure documentation for offline use?

2009-02-18 Thread Oliver
to rely on scraping. Many thanks, Oliver --~--~-~--~~~---~--~~ 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 To unsubscribe from this group, s

Documentation of clojure.string/split is confusing

2021-01-12 Thread Oliver
n to be unambiguous. I've also looked up a few documentations in other languages. Those that limit the number of "splits" in my sense (number of matches at which to split) use the word "splits", those with a behaviour similar to that of Clojure explicitly talk about

Re: Documentation of clojure.string/split is confusing

2021-01-13 Thread Oliver
-clojure-string-split-strips-trailing-delimiters > > (which is the ask.clojure question corresponding to that last ticket). > Votes really do matter in our prioritization! > > Alex > > On Tuesday, January 12, 2021 at 2:17:28 PM UTC-6 oliver...@gmail.com > wrote: > >&

problems with gen-class :exposes-methods

2011-08-26 Thread Oliver
at compile time? (My assumption would have been that in a Lisp dialect it would get expanded even at compile-time.) 2) Why does only the format { } work for the map? What is the I tried to read the definition of the gen-class macro, but it is beyond me on my first week of Clojure. ;-) Thank you i

Re: Embedding a REPL

2009-12-08 Thread Oliver Kaiser
Have you seen this post: http://ianp.org/2009/04/embedding-clojure-part-2/ ? I haven't tried this, but it looks like what you are asking. Regards, tok -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@google

Re: mapmap

2009-12-17 Thread Avital Oliver
Erik, My experience is that you should only use filter/map if you either have a pre-existing function or you want to use a _very_ short closure (using #()). For any other case the code becomes unmanageable and then I feel that using for is the wiser choice. I hope that they are just as efficient,

Re: Parenthesis Inference

2009-12-19 Thread Avital Oliver
It seems that noone has brought up the amazing paredit mode for emacs which gives you keyboard commands for s-expression structure manipulation. It also makes sure you never get your close parenthesis wrong. I use it and can't imagine writing any medium+-complexity code without it. On Dec 19, 2009

Re: Parentheses

2009-12-20 Thread Avital Oliver
+ Paredit -- http://wave.theWE.net http://twitter.com/theWE_ On Sat, Dec 19, 2009 at 10:17 PM, ddyer wrote: > Parens are really a non-issue once you are using an editor > that counts them and highlights matching appropriately. > > -- > You received this message because you are subscribed to t

Re: Design/structure for a game loop in clojure

2013-05-20 Thread George Oliver
On Sunday, May 19, 2013 6:02:23 PM UTC-7, Daniel Wright wrote: > > thoughts/guidance appreciated! > > You might get something out of http://clojurefun.wordpress.com/2013/03/ -- "In this (somewhat extended) post I’m going to describe my experiences using Clojure for the 7DRL challenge – with di

Re: Game logic with Clojure

2014-06-23 Thread George Oliver
On Monday, June 23, 2014 12:54:56 PM UTC-7, Majen Ful wrote: > > > Could you give me some tips and lead me to the right things to do. > > There's also this often referenced series of posts that might help, http://prog21.dadgum.com/23.html -- You received this message because you are subscrib

Re: [ANN] Grimoire 0.2.0

2014-07-11 Thread George Oliver
Great UI improvement, nice 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 unsubscribe fro

Re: [ANN] Grimoire: up to date Clojure web docs

2014-07-11 Thread George Oliver
> > > I'd also love to see a custom domain for this as well. I'm happy to pay > for it if no one else will. How about clj-docs.org or clj-doc.org (which > are available)? I do see clojuredoc.org is available but could easily be > confused with clojuredocs.org > There's also clojure-doc.org.

[ANN] re-graph 0.1.13 - the GraphQL client for Clojure/script

2020-06-02 Thread Oliver Hine
Hi everyone, I'm pleased to announce the release of re-graph 0.1.13 . re-graph is a GraphQL client for Clojurescript and Clojure with re-frame bindings and support for queries, subscriptions and mutations over websocket or HTTP. Many thanks to @loomis

[ANN] superlifter 0.1.2 - DataLoader for Clojure and now Clojurescript

2020-06-18 Thread Oliver Hine
Hi everyone, I am pleased to announce the second release of superlifter . Superlifter is an implementation of DataLoader for Clojure. This release *adds support for*: - Clojurescript! - A debounced trigger that

[ANN] kamera 0.1.2 - visual testing with devcards integration

2020-07-27 Thread Oliver Hine
Hi everyone, I'm pleased to announce the 0.1.2 release of kamera which aims to make screenshots more consistent and moves away from webfolder/cdp4j, which is a breaking change but important as cdp4j did not have good license terms for general use. Instead, clj

Re: [ANN] kamera 0.1.2 - visual testing with devcards integration

2020-07-27 Thread Oliver Hine
Correction, this was the 0.1.3 release! On Monday, 27 July 2020 at 10:24:03 UTC+1 Oliver Hine wrote: > Hi everyone, > > I'm pleased to announce the 0.1.2 release of kamera > <https://github.com/oliyh/kamera> which aims to make screenshots more > consistent and moves

[ANN] martian 0.1.13 - now supports OpenAPI v3

2020-08-24 Thread Oliver Hine
Hi everyone, I am pleased to announce the release of martian 0.1.13 Martian provides an abstraction allowing you to describe the HTTP endpoints that you call without methods, urls and query parameters leaking into your application code, allowing you to work with pure Clojure data. It builds on

[ANN] pedestal-api 0.2.0 release - Swagger for pedestal

2016-06-09 Thread Oliver Hine
Hi everyone, After the release of pedestal 0.5.0 I have updated pedestal-api to make it compatible with the breaking changes. Also in this release: - Better content negotiation - Support for query parameters that are all optional

Re: [ANN] pedestal-api 0.2.0 release - Swagger for pedestal

2016-06-09 Thread Oliver Hine
Cheers Paul, for pedestal and your help! On Thursday, 9 June 2016 20:18:01 UTC+1, Paul deGrandis wrote: > > Congrats! > -- 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

[ANN] angel-interceptor 0.3.0 - express relations between Pedestal interceptors

2016-06-10 Thread Oliver Hine
Hi all, Following on from the release of pedestal 0.5.0 I'm pleased to say that angel-interceptor is now compliant as of v0.3.0, available now on Clojars. Cheers Oliy -- You received this message because you are subscribed to the Google Groups "Clo

Re: Thoughts on clojure.spec

2016-07-11 Thread Oliver George
> Do you find it frustrating that there's no way to turn on instrumentation > of function outputs for manual testing? Yes. In particular when I'm refactoring code and want to know when I'm returning something surprising. I haven't yet had much success with spec generators for CLJS / UI

Re: [ANN] http-kit 2.2.0 final is out

2016-07-12 Thread Oliver Hine
This is awesome work, thank you to you and all the contributors. On Tuesday, 12 July 2016 07:55:09 UTC+1, Peter Taoussanis wrote: > > On Clojars, and GitHub at: https://github.com/http-kit/http-kit/releases > > This release was put together with the help of (23!) individual > contributors. > > En

[ANN] pedestal-api 0.3.0 release - better Swagger compliance

2016-07-12 Thread Oliver Hine
Hi all, pedestal-api is a library for building APIs on the pedestal web server. It implements the parts of HTTP that are useful for APIs and allows you to document your handlers and middleware using idiomatic Clojure and generate a compliant Swagger specification. This 0.3.0 release contains i

[ANN] Introducing Martian - simplify your Clojure/script HTTP clients

2016-07-18 Thread Oliver Hine
Hi everyone, I'm very excited to introduce *Martian*, a Clojure/script HTTP client wrapper which simplifies HTTP calls without surrendering control to an opaque library. Find it on Github and Clojars now: https://github.com/oliyh/martian It uses Swagger descriptions to name operations,

Re: Thoughts on clojure.spec

2016-07-18 Thread Oliver George
the > Google Groups "Clojure" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/clojure/jcVnjk1MOWY/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > clojure+unsubscr...@googlegroups.com. > For mor

Re: Two suggestions re: core.spec, `ns`, and clojure 1.9alpha11

2016-08-22 Thread Oliver George
I'm interested to see any discussion regarding this point. No doubt translating spec data into more friendly formats has been discussed. Getting the data right is clojure's problem. That's the concrete foundation and building blocks required for tooling. Seems like Rich has done spectacular

[ANN] Advanced Martian usage

2016-11-10 Thread Oliver Hine
Hi all, I wrote a blog post on some more advanced use of Martian, a library for abstracting HTTP integration with other systems. All these use cases leverage the fact that Martian separates your data (the *what*) from the HTTP implementation details (the *how*) and lets you get on with connect

Re: [ANN] Advanced Martian usage

2016-11-10 Thread Oliver Hine
compojure, call the handlers (which I should have > spec’ed) > and have them called with random test.check data and verify that return > “okish” > > I am aware of this being a huge oversimplification, with lots of pitfalls > and undefined behaviours, but I still find it an int

[ANN] re-learn: data-driven tutorials for educating users of your reagent/re-frame app

2017-01-11 Thread Oliver Hine
Hi everyone, I have released re-learn , a library for writing and displaying tutorials to your users on your reagent/re-frame application with the following aims: - Display "lessons" on the UI right next to the elements they describe - Define the lessons

[ANN] pedestal-api 0.3.1

2017-01-20 Thread Oliver Hine
I have released a small update to pedestal-api , a library for building APIs on the pedestal webserver. This release makes it compatible with pedestal 0.5.2, which contains a security fix for a vulnerability fixed in ring 0.5.1

Re: slackpocalypse? next steps?

2017-05-25 Thread Oliver George
Purely technical feature comparison seems good for shortlisting options. How about making a selection criteria that the solution has been proven itself as a primary platform by one of the communities we admire. Possible benefits: * Subtle features inherent in platforms will have played a role

[ANN] re-learn 0.1.1 - data-driven tutorials for your reagent/re-frame app

2017-06-08 Thread Oliver Hine
Hi everyone, I'm pleased to announce the 0.1.1 release of re-learn , a library for writing and displaying tutorials to your users on your reagent/re-frame application. This is a non-breaking release that includes the following improvements: - Lesson positi

[ANN] martian 0.1.5 - now with bindings for re-frame

2017-08-15 Thread Oliver Hine
Hi everyone, I have just released martian 0.1.5 which includes a new library called martian-re-frame . Martian provides an abstraction allowing you to describe the HTTP endpoints that

[ANN] re-jump.el - jump to re-frame registrations in emacs

2017-11-20 Thread Oliver Hine
Hi everyone, I work a lot with re-frame because it's my favourite approach to building UIs. However, it's a bit hard to navigate around in emacs because event handlers and subscriptions are registered with keywords but CIDER doesn't let you jump to the "definition" of a keyword like you can do

Re: [ANN] re-jump.el - jump to re-frame registrations in emacs

2017-11-20 Thread Oliver Hine
Hi Juraj, Manual installation for now, I will investigate publishing to Melpa soon. Cheers -- 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 -

[ANN] pedestal-api 0.3.2

2017-12-03 Thread Oliver Hine
Hi all, I have released a small fix to pedestal-api , a library for building Swagger compatible APIs on the pedestal webserver. This release makes it compatible with pedestal 0.5.3. Cheers, Oliy -- You received this message because you are subscribed to

Re: [ANN] pedestal-api 0.3.2

2017-12-05 Thread Oliver Hine
An update to the update: please now use v0.3.4 instead! On Sunday, 3 December 2017 14:48:39 UTC, Oliver Hine wrote: > > Hi all, > > I have released a small fix to pedestal-api > <https://github.com/oliyh/pedestal-api>, a library for building Swagger > compatible APIs o

[ANN] re-graph - a GraphQL client for re-frame apps

2017-12-06 Thread Oliver Hine
Hi everyone, I have written re-graph , GraphQL client library for re-frame applications that supports - Subscriptions and queries - Websocket and HTTP transports - Apollo-compatible servers like lacinia-pedestal - Queueing websocket messages until r

[ANN] re-graph 0.1.1

2017-12-29 Thread Oliver Hine
Hi everyone, I'm pleased to announce the release of re-graph 0.1.1 . re-graph is a graphql client for Clojurescript with re-frame bindings and support for queries, subscriptions and mutations over websocket or HTTP. This release *adds suppo

[ANN] re-graph 0.1.3 - the Clojurescript graphql client is now framework agnostic

2018-01-04 Thread Oliver Hine
Hi everyone, I'm pleased to announce the release of re-graph 0.1.3 . re-graph is a graphql client for Clojurescript with re-frame bindings and support for queries, subscriptions and mutations over websocket or HTTP. This release *adds suppo

[ANN] martian 0.1.7 - UUID support

2018-02-02 Thread Oliver Hine
Hi everyone, I am pleased to announce I have just released martian 0.1.7 Martian provides an abstraction allowing you to describe the HTTP endpoints that you call without methods, urls and query parameters leaking into your application cod

[ANN] re-graph 0.1.4 - the GraphQL client for Clojurescript

2018-02-21 Thread Oliver Hine
Hi everyone, I'm pleased to announce the release of re-graph 0.1.4 . re-graph is a GraphQL client for Clojurescript with re-frame bindings and support for queries, subscriptions and mutations over websocket or HTTP. This release *adds suppo

[ANN] martian 0.1.8 - simplify your HTTP client

2018-02-28 Thread Oliver Hine
Hi everyone, I am pleased to announce the release of martian 0.1.8 Martian provides an abstraction allowing you to describe the HTTP endpoints that you call without methods, urls and query parameters leaking into your application code, allowing you to work with pure Clojure data. It builds on

Re: [ANN] martian 0.1.8 - simplify your HTTP client

2018-02-28 Thread Oliver Hine
Forgot to add the link to the repo: https://github.com/oliyh/martian On Wednesday, 28 February 2018 16:14:21 UTC, Oliver Hine wrote: > > Hi everyone, > > I am pleased to announce the release of martian 0.1.8 > > Martian provides an abstraction allowing you to describe the HTTP

Re: [ANN] martian 0.1.8 - simplify your HTTP client

2018-02-28 Thread Oliver Hine
Forgot to add the link to the repo: https://github.com/oliyh/martian -- 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

Re: Comparing and selecting web API libraries

2018-03-09 Thread Oliver Hine
Pedestal also has support for Swagger (along with coercion, validation, serialisation and more) via pedestal-api https://github.com/oliyh/pedestal-api -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googl

[ANN] re-graph 0.1.5 - the GraphQL client for Clojurescript

2018-05-13 Thread Oliver Hine
Hi everyone, I'm pleased to announce the release of re-graph 0.1.5 . re-graph is a GraphQL client for Clojurescript with re-frame bindings and support for queries, subscriptions and mutations over websocket or HTTP. - This releas

Re: Asynchronous http poll

2018-05-13 Thread Oliver Hine
Hi, Not a direct answer, but something that may help you simplify your problem: I have a general rule to avoid core.async when only one value would ever be sent down the channel. For these use cases promises are an order of magnitude simpler, giving you control of the thread of operation, simpl

[ANN] lacinia-gen - a library to generate GraphQL responses

2018-06-16 Thread Oliver Hine
Hi everyone, I'm pleased to announce the release of lacinia-gen 0.1.0 . lacinia-gen lets you generate GraphQL responses using your lacinia schema and GraphQL queries, allowing you to make your tests more rigorous in both Clojure and Clojurescript. Here's a

[ANN] doo-chrome-devprotocol - run your doo tests in Chrome without needing karma or npm

2018-07-11 Thread Oliver Hine
Hi everyone, I'm pleased to announce the release of doo-chrome-devprotocol 0.1.0 . It is doo test runner that executes your tests in Chrome. doo-chrome-devprotocol uses a java library to control Chrome using the d

Re: Front-end with Clojure Backend

2018-07-27 Thread Oliver Muellerklein
I have worked with Gary Johnson on a Clojure backend + ClojureScript frontend app. Gary is great and made this template: https://gitlab.com/lambdatronic/clojure-webapp-template It's great! I highly suggest / recommend. On Fri, Jul 27, 2018, 2:10 PM Satyam Ramawat wrote: > I want to create fron

Re: [Question] How to properly start up refs in web applications?

2018-11-17 Thread Oliver Muellerklein
ideas and get help etc. Do you use Cider? It's great. You can great a Clojure REPL as you develop. I'm not sure what the answer to your problem is. But I think Leinegein is always looking for a deps.edn file right? -Oliver On Sat, Nov 17, 2018, 2:02 PM Thais Lima wrote: > Hi, >

Re: [Question] How to properly start up refs in web applications?

2018-11-17 Thread Oliver Muellerklein
I am working with Gary Johnson. Here is a great web app dev skeleton he created. https://gitlab.com/lambdatronic/clojure-webapp-template Sat, Nov 17, 2018, 4:36 PM Oliver Muellerklein wrote: > Hello, > > I also recently started learning Clojure and got throw into developing a > w

[ANN] martian 0.1.9 - simplify your HTTP clients

2018-11-21 Thread Oliver Hine
Hi everyone, I am pleased to announce the release of martian 0.1.9 Martian provides an abstraction allowing you to describe the HTTP endpoints that you call without methods, urls and query parameters leaking into your application code, allowing you to work wit

[ANN] How to structure Clojurescript apps for simplicity and testability

2018-11-22 Thread Oliver Hine
Hi everyone, I've recently published a blog post describing the techniques I have evolved over the last 3 years for writing Clojurescript applications. It started as an explanation of why I like to use re-frame but grew to encompass the idea of separation of data and representation (the HTML la

[ANN] re-graph 0.1.6 - the GraphQL client for Clojurescript

2018-11-28 Thread Oliver Hine
Hi everyone, I'm pleased to announce the release of re-graph 0.1. 6. re-graph is a GraphQL client for Clojurescript with re-frame bindings and support for queries, subscriptions and mutations over websocket or HTTP The big change in this release is that it no

[ANN] re-graph 0.1.8 - the GraphQL client for Clojurescript

2019-03-05 Thread Oliver Hine
Hi everyone, I'm pleased to announce the release of re-graph 0.1. 8. re-graph is a GraphQL client for Clojurescript with re-frame bindings and support for queries, subscriptions and mutations over websocket or HTTP This release *fixes*: - Query and mutate

Re: [ANN] re-graph 0.1.8 - the GraphQL client for Clojurescript

2019-03-06 Thread Oliver Hine
Thanks, I hadn't considered that was anything special - I'll update the readme. I've not come across any issues with js->clj nor had any reports of any, but thanks for drawing it to my attention. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To po

[ANN] kamera - visual testing tools for Clojure with devcards integration

2019-03-22 Thread Oliver Hine
Hi everyone, I'm very excited to announce kamera , a visual testing tool for Clojure. > > When data is represented visually for a human to view you must take to > present it intuitively, accessibly and beautifully. This requires skill, > time and above all h

[ANN] locksmith 0.1.1 - idiomatic Clojure keys for GraphQL

2019-03-29 Thread Oliver Hine
Hi everyone, I'm pleased to announce the 0.1.1 release of locksmith , a library for translating (nested) data structures between Clojure idioms (kebab keys, ? suffix on booleans, keyword enums) and GraphQL as described by a lacinia schema. locksmith precalcu

[ANN] kamera 0.1.1 - visual testing with devcards integration, now with report

2019-05-03 Thread Oliver Hine
Hi everyone, I'm pleased to announce the 0.1.1 release of kamera which now generates an html / Clojurescript SPA report of the tests it has run. I have also written an introductory blog post explaining the concept and use cases: https://juxt.pro/blog/posts/vis

[ANN] martian 0.1.10 - simplify your HTTP clients

2019-06-25 Thread Oliver Hine
Hi everyone, I am pleased to announce the release of martian 0.1.10 Martian provides an abstraction allowing you to describe the HTTP endpoints that you call without methods, urls and query parameters leaking into your application code, allowing you to work with pure Clojure data. It builds on

[ANN] re-graph 0.1.9 - the GraphQL client for Clojurescript

2019-06-28 Thread Oliver Hine
Hi everyone, I'm pleased to announce the release of re-graph 0.1.9 . re-graph is a GraphQL client for Clojurescript with re-frame bindings and support for queries, subscriptions and mutations over websocket or HTTP. This release *adds support for*: - Erro

[ANN] re-graph 0.1.10 - the GraphQL client for Clojurescript and now Clojure too

2019-07-25 Thread Oliver Hine
Hi everyone, I'm pleased to announce the release of re-graph 0.1.10 . re-graph is a GraphQL client for Clojurescript - and now Clojure! - with re-frame bindings and support for queries, subscriptions and mutations over websocket or HTTP. This release *adds su

[ANN] re-graph 0.1.11 - the GraphQL client for Clojure/script

2019-10-27 Thread Oliver Hine
Hi everyone, I'm pleased to announce the release of re-graph 0.1.11 . re-graph is a GraphQL client for Clojurescript and Clojure with re-frame bindings and support for queries, subscriptions and mutations over websocket or HTTP. This release *fixes*: - So

[ANN] martian 0.1.11 - simplify your HTTP clients

2019-12-13 Thread Oliver Hine
Hi everyone, I am pleased to announce the release of martian 0.1.11 Martian provides an abstraction allowing you to describe the HTTP endpoints that you call without methods, urls and query parameters leaking into your application code, allowing you to work with pure Clojure data. It builds on

[ANN] doo-chrome-devprotocol 0.1.1 - run your doo tests in Chrome without needing karma or npm

2020-01-13 Thread Oliver Hine
Hi everyone, I'm pleased to announce the release of doo-chrome-devprotocol 0.1.1 . It is doo test runner that executes your tests in Chrome. This release *adds support for*: - Newer versions of Google Closure

[ANN] superlifter - DataLoader for Clojure

2020-02-19 Thread Oliver Hine
Hi everyone, I am pleased to announce the first release of superlifter . Superlifter is an implementation of DataLoader for Clojure. To quote from the DataLoader readme: DataLoader allows you to decouple unrelated p

[ANN] re-graph 0.1.12 - the GraphQL client for Clojure/script

2020-03-06 Thread Oliver Hine
Hi everyone, I'm pleased to announce the release of re-graph 0.1.12 . re-graph is a GraphQL client for Clojurescript and Clojure with re-frame bindings and support for queries, subscriptions and mutations over websocket or HTTP. This release in particular has

[ANN] re-learn 0.1.3 - data-driven tutorials for your reagent/re-frame app

2020-03-24 Thread Oliver Hine
Hi everyone, I'm pleased to announce the 0.1.3 release of re-learn , a library for writing and displaying tutorials to your users on your reagent/re-frame application.

Re: [ANN] superlifter - DataLoader for Clojure

2020-03-26 Thread Oliver Hine
straightforward to use. Thanks, Oliy On Saturday, 22 February 2020 02:42:54 UTC, Ag Ibragimov wrote: > > > This looks absolutely mind-blowing and incredible! Thank you! > > On Wed 19 Feb 2020 at 14:14, Oliver Hine > > wrote: > > > Hi everyone, > > > > I a

[ANN] martian 0.1.12 - now available in lite

2020-04-28 Thread Oliver Hine
Hi everyone, I am pleased to announce the release of martian 0.1.12 Martian provides an abstraction allowing you to describe the HTTP endpoints that you call without methods, urls and query parameters leaking into your application code, allowing you to work with pure Clojure data. It builds on

[ANN] carmine-streams - utilities for working with Redis streams

2020-05-22 Thread Oliver Hine
Hi everyone, I'm pleased to announce the first proper release of carmine-streams , a library for working with Redis streams in Clojure using carmine. Redis does a brilliant job of being fast with loads of features and Carmine does a brilliant job of ex

Re: cond->: Using of threading expression in tests?

2015-10-03 Thread Oliver Hine
You may also find a use for condas-> which I describe in a mini blog post here: http://blog.juxt.pro/posts/condas.html It combines cond-> and as-> which I find super useful when dealing with various fn type signatures. On Saturday, 3 October 2015 15:59:51 UTC+1, ru wrote: > > So am I! Sean, can

Re: Help with decisions in threading macros

2015-11-05 Thread Oliver Hine
See also cond-> (Clojure core) and even condas-> (http://blog.juxt.pro/posts/condas.html) Oliy -- 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 moderat

[ANN] Angel Interceptor - Rule-driven Pedestal interceptors

2015-12-10 Thread Oliver Hine
Hi everyone, I recently published angel-interceptor, a library for declaring relationships between Pedestal interceptors which allows control over order and scope without repetition or logic branching, to Github and Clojars. The rationale is described in this post: http://blog.juxt.pro/posts/a

Crossclj.info shows outdated dependencies

2016-01-19 Thread Oliver Hine
See also the lein ancient plugin for similar functionality at the command prompt. -- 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

Re: [ANN] As I was missing this kind of library in clojure I created relational_mapper for dealing with querying relational databases

2016-02-27 Thread Oliver George
Seems pretty nice to me. Like a light weight version of the Django's migrate and queryset features which build on model definitions. It seems like this would allow me to define a database schema (tables, relations and fields) as data and use it to both create the database and run select/inser

Re: [ANN] As I was missing this kind of library in clojure I created relational_mapper for dealing with querying relational databases

2016-02-28 Thread Oliver George
5617]]) [{:meeting [:venue]}] (find-one db-state :meeting #{:venue} [[:= :meeting.id 5617]]) [{:race [{:meeting [{:venue :jurisdiction}]}]}] Not prettier necessarily but allows for composing multiple queries into a request and for drilling deeper into available data. cheers, Oliver On S

Re: [ANN] As I was missing this kind of library in clojure I created relational_mapper for dealing with querying relational databases

2016-02-28 Thread Oliver George
Oops, one more. There was also a Users table (Id, Username, ...) I didn't see a way to handle join from Races to Users based on SupervisorId and AnalystId. On Monday, 29 February 2016 15:52:48 UTC+11, Oliver George wrote: > > Thanks for the details. > > I did a little exp

Re: [ANN] As I was missing this kind of library in clojure I created relational_mapper for dealing with querying relational databases

2016-02-29 Thread Oliver George
n't have a > clear idea about how to do it well yet. > > Cheers, > Krzysiek > > On Monday, February 29, 2016 at 12:54:31 PM UTC+8, Oliver George wrote: >> >> Oops, one more. >> >> There was also a Users table (Id, Username, ...) >> >>

Re: [ANN] As I was missing this kind of library in clojure I created relational_mapper for dealing with querying relational databases

2016-03-01 Thread Oliver George
gt; about the idea. > > Cheers, > Krzysiek > > On Tue, Mar 1, 2016 at 6:03 AM, Oliver George > wrote: > >> Awesome, thanks. >> >> I did a little research last night looking for techniques for turning >> recursive queries into efficient SQL queries.

[ANN] pedestal-api - A batteries-included Swagger API for Pedestal

2016-03-14 Thread Oliver Hine
e always welcome here or via GitHub. Oliver -- 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

Nicer assert by replacing the macro

2016-03-29 Thread Oliver George
Hi All This is a little script to producing nicer errors from asserts and pre/post conditions in your clojure code. Examples below, gist includes a readme with some notes. I think the pre/post conditions are the biggest win. Can anyone tell me how to do a similar "assert patch" technique for

Re: [ANN] As I was missing this kind of library in clojure I created relational_mapper for dealing with querying relational databases

2016-03-30 Thread Oliver George
an-a-table-name). > > > > @Oliver George: your example with SupervisorId, AnalystId would work now, > but have in mind that postgreSQL by default lowercases column names, so I'd > still recommend supervisor_id and analyst_id. > > Cheers, > Krzysiek > > On Tuesday, Ma

Re: Reworking :pre condition to add an error message

2016-03-30 Thread Oliver George
I look forward to pre/post conditions becoming more helpful. Truss is a good example of how things can improve. I think part of the challenge is not making the code too messy. Here's a proof of concept of how metadata in the pre/post/assert expression could be used to craft nice messages: (d

Re: [ANN] As I was missing this kind of library in clojure I created relational_mapper for dealing with querying relational databases

2016-04-04 Thread Oliver George
nt to change only one of them (probably foreign-key). I > wouldn't want him to need to define a new record with all the conventions > (foreign-key, private-key) in such case. Or did I get it wrong? > > On Thursday, March 31, 2016 at 2:59:56 AM UTC+2, Oliver George wrote: >> &

Re: Leiningen Clojure REPL in Windows doesn't accept arrow keys.

2014-05-04 Thread George Oliver
Arrow keys (left/right movement and up for history) on my lein repl in Windows XP works fine. Sounds like something on your system. -- 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 th

how to reload Clojure files while connected to Clojurescript browser repl in Emacs?

2013-09-29 Thread George Oliver
I sent this to Clojure-tools before I realized that list is not really for support questions, apologies for the crosspost. I'm hoping someone can help me fit the missing piece in this workflow: (this works) 1. nrepl-jack-in in Emacs 2. launch web server from nrepl, modify Clojure files and rel

Re: Problems starting with Clojure and Leiningen and Light Table

2013-10-01 Thread George Oliver
To add to Shantanu's directions, if you receive an error when doing mkdir in C:\ it's probably because your user account doesn't have permissions to create directories there. At that point you have two basic options: 1) use a user account with admin privileges to do all your work (not recommend

Re: how to reload Clojure files while connected to Clojurescript browser repl in Emacs?

2013-10-02 Thread George Oliver
On Sunday, September 29, 2013 8:12:23 PM UTC-7, Tim Visher wrote: Now with nrepl's ability to have multiple sessions open at once (an > ability I haven't taken any advantage of personally), you should be > able to have a JVM nrepl open _and_ a browser repl nrepl session, both > of which would

Re: how to reload Clojure files while connected to Clojurescript browser repl in Emacs?

2013-10-06 Thread George Oliver
On Sunday, October 6, 2013 1:26:21 PM UTC-7, Tim Visher wrote: > > > That sounds really cool. I was not aware that Austin could do this. Do > you have any pointers to documentation about it? Again, my model of > how the system works is that the browser _is_ the repl, so refreshing > the browse

Re: how to reload Clojure files while connected to Clojurescript browser repl in Emacs?

2013-10-06 Thread George Oliver
On Sunday, October 6, 2013 11:15:26 PM UTC-7, George Oliver wrote: > > > I could be wrong but my understanding is that the browser is just > connecting to your cljs repl which actually is in the 'clojure repl'. > Certainly if you refresh the page state built up in the

Re: cloure-mode indenting (or not)

2013-10-11 Thread George Oliver
On Friday, October 11, 2013 2:33:54 PM UTC-7, naipmoro wrote: The other strange thing, auto-indent no longer works; I have to hit the TAB > key after ENTER to get indentation. I can't believe *that* was > intentional (famous last words). So something must've broke. > I think it was intention

Re: Installing Clojure on Windows 7

2013-01-24 Thread George Oliver
On Thursday, January 24, 2013 10:22:41 AM UTC-8, Sean Corfield wrote: > > Having now setup an Emacs-bsaed dev environment on XP and multiple > Windows 8 machines, I no longer think it's as difficult as some people > make it out to be. > Sean, have you been using lein trampoline successfully

Re: Installing Clojure on Windows 7

2013-01-27 Thread George Oliver
On Saturday, January 26, 2013 7:01:34 PM UTC-8, Ravi Sundaar wrote: > > I am running into problems getting emacs (24.2) to work with clojure as > well on windows 7. I have installed leiningen fine. Clojure (1.4.0) itself > seems to be behaving. The packages seem to install fine in emacs - no >

Re: Installing Clojure on Windows 7

2013-01-29 Thread George Oliver
> On Thursday, January 24, 2013 12:56:59 PM UTC-5, > sampso...@googlemail.comwrote: >> >> Apparently installing a development environment for Clojure on Windows 7 >> is very difficult. What is the best way, that has a chance that it might >> work? >> > I just wanted to repeat the link that P

techniques to work with Java mutable collections?

2013-02-04 Thread George Oliver
Hello, I'm writing a single-threaded TCP server for a bit of fun and learning, so I'm dealing with java.nio. I'm wondering how people here like to deal with mutable Java collections from Clojure. For example, I need to use java.nio.Selector and its Set of selected-keys (the channel sockets regi

Re: Clojure Wiki

2013-02-08 Thread George Oliver
There might be some good information here to carry over, http://www.gettingclojure.com/start . -- -- 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 mode

recommended way to write loop where a binding depends on a previous 'useless binding' operation?

2013-02-11 Thread George Oliver
hi, I have a loop that looks like this, (loop [x (a-function) y (another-function)] ; another-function must be called after a-function () ; x is not used in body (recur (a-function) (another-function))) This gets the job done (my a-function is a select() call which I don't use th

  1   2   >