Re: sorted-map vs hash-map issue

2016-04-28 Thread JPatrick Davenport
Thank you for the response. Isn't that a leaky abstraction? Now all clients of rename-keys woild have to care what the key type is. At the very least both should implement Comparable and have some kind of general response for sorting. -- You received this message because you are subscribed to

sorted-map vs hash-map issue

2016-04-28 Thread JPatrick Davenport
Hello, Please explain to me what's going on here. The first code snippet causes the following error: "ClassCastException clojure.lang.Keyword cannot be cast to java.lang.String java.lang.String.compareTo (String.java:111)" The second code snippet doesn't. My understanding is that a *map* is a *

Re: Counterclockwise's Plugin Shortcuts for OS X

2015-07-08 Thread JPatrick Davenport
Adrians, Thanks for the help. Upgrading to Mars and using the master update site worked. To answer your prior question about what I installed last night. I installed the plugin for the Market Place into Eclipse Luna and I re-downloaded the stand alone OS X install. My take away is that the do

Re: Counterclockwise's Plugin Shortcuts for OS X

2015-07-07 Thread JPatrick Davenport
Okay. We're getting somewhere. Apparently the OS X stand alone version lacks the Error Console. I downloaded, deleted the old copy and installed the new. No console. I added the plugin to my current Luna install. Got the error console. java.lang.RuntimeException: No such var: p/skipped-plugin-m

Re: Counterclockwise's Plugin Shortcuts for OS X

2015-07-07 Thread JPatrick Davenport
I should > be able to help you get going, but I need a few more data points from you > in order to do that. > > > On Tuesday, July 7, 2015 at 4:31:32 PM UTC-4, JPatrick Davenport wrote: >> >> If I use command as a sub for control, Command + U E, all I get is an >>

Re: Counterclockwise's Plugin Shortcuts for OS X

2015-07-07 Thread JPatrick Davenport
If I use command as a sub for control, Command + U E, all I get is an editor tab selection popup. I double checked that I installed the plugin manager and eastwood. Both are there as per the READMEs. I'm guessing at this point the plugin manager isn't starting. I've ran Counterclockwise from the co

Counterclockwise's Plugin Shortcuts for OS X

2015-07-07 Thread JPatrick Davenport
Hello, I want to use the linter within Eclipse. I followed the instructions for both the plugin manager as well as the linter. Unfortunately I don't know the shortcut keys to run them with Eclipse in OS X. I can't find any menu options to activate these. Perhaps I'm overlooking something. What

Crazy Need: Embed JavaScript Structure in Clojure

2015-04-27 Thread JPatrick Davenport
Hello, So just to get it out: I do not want to evaluate the JavaScript, simply preserve it. I'm working on an ArangoDB driver. Part of the wonder that is ArangoDB is its ability to support transactions. This is done using JSON. Part of the REST object for a transaction is what I want to do in t

Re: tool.namespace reload not working

2015-04-10 Thread JPatrick Davenport
Apparently this is due to me calling reset when nothing had changed. I did that just to see things cycle. So not really sure why it happens, but there it is. On Friday, April 10, 2015 at 9:42:22 PM UTC-4, JPatrick Davenport wrote: > > Some more diagnostic information: 1) merging the p

Re: tool.namespace reload not working

2015-04-10 Thread JPatrick Davenport
If I move the file to the main src directory, it doesn't matter. On Friday, April 10, 2015 at 9:19:37 PM UTC-4, JPatrick Davenport wrote: > > Hello, > I'm trying to implement the Component ideology. When run something > manually with component/start-system and stop, it work

tool.namespace reload not working

2015-04-10 Thread JPatrick Davenport
Hello, I'm trying to implement the Component ideology. When run something manually with component/start-system and stop, it works fine. The main method calls component/start-system works fine too. But sadly when I try to get the user reflow to work (I copied user namespace from the README on Git

Re: Anyone Worked with NW.js and ClojureScript

2015-04-07 Thread JPatrick Davenport
in-node-webkit-build ( > https://github.com/wilkerlucio/lein-node-webkit-build) - a lein plugin to > build a shell app. > > Probably what you are looking for? > > Best, > jaju > > On Tue, Apr 7, 2015 at 4:11 PM, JPatrick Davenport > wrote: > >> Hello, >&g

Anyone Worked with NW.js and ClojureScript

2015-04-07 Thread JPatrick Davenport
Hello, I recently started looking at a project that's all about being offline. I thought about using Java + Clojure + JavaFX as my implementation path, but I fear that there's a security backlash against client side Java these days. Mulling it over, I thought, "wouldn't it be terrifying to use s

Present State Of OAuth2

2015-03-20 Thread JPatrick Davenport
Hello, I'm looking to provide OAuth2 around my services. The best I can tell is that https://github.com/pelle/clauth is state-of-the-art. It's not been actively touched for over a year. This could be do to its general awesomeness (don't fix it if it ain't borked). Is this an accurate view? I'm

Disk based caching for Clojure app

2015-03-06 Thread JPatrick Davenport
Hello, I'm been thinking about an idea for a cache layer. It's driven by two trends. Most caches are in memory. They might have fancy additions like multi-machine, but they are in-memory. The fast memory access reduces back end load and improves overall performance. It also assumes you have mem

com.stuartsierra/component & ring/compojure example

2014-10-07 Thread JPatrick Davenport
Hello, I'm trying to create a web app. I'm having the damnest time trying to figure out how to layer my application. I want to pass protocol implementations to the routes. The protocols define interacting with various data sources that I need down the way. I saw Stuart Sierra's talk about Comp

Lazy-seq that autocloses

2014-08-22 Thread JPatrick Davenport
Hello, I'm trying to create a wrapper around a JSON Rest service. I can query the service. It responds with a JSON message with the following form {"cursor" : "some id", "remaining": true, "data" : [list of documents]}. If the remaining flag is true, another API call to the cursor resource is ma