rg/
>
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
>
>
>
> On 4/17/16, 9:58 AM, "Kyle R. Burton" on behalf of
> kyle.bur...@gmail.com
> > wrote:
>
>
>
> Forgot the link (though it shouldn
Forgot the link (though it shouldn't matter):
[1] https://clojars.org/com.github.kyleburton/repl-from-java
On Sun, Apr 17, 2016 at 12:57 PM, Kyle R. Burton
wrote:
> Hi,
>
> I just published a project [1] to clojars and neglected to use an
> organization. I don't real
Hi,
I just published a project [1] to clojars and neglected to use an
organization. I don't really want to claim a top-level name for the
project. Is there a way to unpublish, remove or otherwise deprecate a
project that I've pushed to clojars.org? Sorry if it's obvious and I'm not
seeing it in
There are at least two companies in Philadelphia that use Clojure:
* Relay Network (their engineering office is in center city Philly)
* RJ Metrics
I don't know if either is looking for interns, I think both are hiring. I
used to be at Relay and can put you in touch with people there. I've neve
At the last company I was with I used sloccount [1] to analyze the
codebase. I concatenated all the clj files to a .lisp file so sloccount
could analyze it. I was curious about the cost estimate that sloccount
performs to see how the team measured up (size varied from 2 to 7 over 5
years). When
Sorry about the '0.1.0', I had indeed found that in the project.clj.
Is there anything I can do to help w/the round of work?
Regards,
Kyle
On Fri, Aug 7, 2015 at 5:12 PM, Alex Miller wrote:
> I don't where the 0.1.0 number is coming from, but yes there are plans to
> do a round of work on cor
Is there a new release planned for core.async anytime in the near future?
The docs show some functionality that's not in the current release [1].
Specifically offer! [2] which looks like it's slated for 0.1.0 (love to
switch to that from alts+timeout).
Are there (perhaps) tasks that need a dev? (
clj-xpath is a library for working with XML and XPath in Clojure.
This release [1] addresses an issue reported by Louis Nyffenegger [2].
This release changes the default features enabled in the XML parser to
improve security - see the bug for a link to hte OWASP vulnerability.
Best Regards,
Kyl
On Wed, Jan 30, 2013 at 10:18 AM, Marek Šrank wrote:
> The most simple thing would be to change the default value of *read-eval*
> to false...
>
>
Understanding that this may break existing code (how much?), I think it
would reflect well on the community to make decisions to improve safety and
sec
All,
We run a Clojure group out of our company's office. We want to put
together a hack night where we work on something meaningful. To that end I
thought I'd put that question to the wider community: what could be
valuable to the community for us to work on? The group has a pretty varied
amoun
On Tue, Nov 20, 2012 at 10:35 AM, Mark Rathwell wrote:
> You can contact the maintainers at the address found at the bottom of [1]
> and ask them to remove the clj-xpath group, but you probably don't want to
> do that if anyone is using the library.
>
>
Thanks for the link. I have no idea if anyo
> The Leiningen coordiates are:
>>
>> [org.clojars.kyleburton/clj-**xpath "1.3.3"]
>>
>>
> Just curious, why isn't that just [clj-xpath "1.3.3"]? Searching clojars,
> you seem to have uploaded 1.3.0 a while back...
>
>
That was a mistake. I didn't want to claim a global 'clj-xpath' namespace
on
> Dependency information is at the very bottom of the document? How are
> newcomers
> supposed to find it? Please make it more visible.
>
Good point. I've moved the dependency info up towards the top of the
README.
Thanks for the feedback.
Best Regards,
Kyle
--
Twitter: @kyleburton
Github:
clj-xpath is a library that makes it easier to with XPath from Clojure.
I've never announced this library before (or any for that matter). Someone
recently sent me a pull request to fix an issue in the README (during the
Conj) so I thought I'd announce it to solicit feedback.
The Leiningen coord
Please contact me off list if anyone is interested in purchasing either of
them.
I contacted the organizers and they are transferable.
I'm sorry I'm not going to be able to make it.
Best Regards,
Kyle
--
Twitter: @kyleburton
Blog: http://asymmetrical-view.com/
Fun: http://snapclean.me/
--
Y
I encountered a deadlock on one of our production systems (one out of
3) last night. Looking at a thread dump of the JVM, there are several
(over 200) threads that are all waiting on a
java.util.concurrent.locks.ReentrantLock from Keyword.intern.
I've put up the thread dump and information about
> I'm not personally using this but people I trust recommend it highly.
> It has a free option plus fairly reasonable monthly options.
>
> http://www.pingdom.com/
We use a similar service: cloudkick
We have some custom plugins that we've written for it (to monitor
RabbitMQ consumers and queue siz
> (defmacro foo [fname & body]
> `(defn ~fname []
> (let [~'log (~'makeLogger "~fname")]
> ~@body)))
You may be able to do this as:
(defmacro foo [fname & body]
`(defn ~fname []
(let [~'log (~'makeLogger ~(str fname))]
~@body)))
Macros can call other functions - so
>> I'm particularly interested in:
>> - new user groups or suggestions for the community page
>> - stuff that is just wrong or out of date
Philly Clojure Language Club:
http://groups.google.com/group/phl-clojure-language-club
Kyle
--
Twitter: @kyleburton
Blog: http://asymmetrical-view.com/
Fun:
> If I have a seq of NameValuePair (a class in Apache HttpClient), how
> do I get an array of that type (NameValuePair[])? I've tried a few
> things but always got Object[].
Two quick ways are make-array and into-array:
(make-array String 10)
(into-array String ["this" "that"])
These both
Andrew,
Several of us are car pooling down from Philly and should be arriving
some time between 6 and 8pm. I will be hoping to drop off our bags
and get dinner somewhere and otherwise be social with other
conferencegoers. Are there any recommendations for dinner the night
before? Any social eve
As far as I can tell, contrib.sql's functions do not use database
cursors (at least for PostgreSQL, again as far as I can tell). For
result sets that are larger than you'd like to load into the running
process, but rather step through the results and have them fetched on
demand from the server, I'
> This is fantastic! Does it work reliably for most JDBC drivers? Some
> drivers may not implement meta data API very well, and some drivers
> may have their own idiosyncrasies. You can perhaps setup a GitHub
> project and push to Clojars if this doesn't get into contrib any time
> soon.
I have ma
I've written some sql helper functions that will do things like list
the objects in the database and describe a table. I've found these
handy when doing interactive development as I don't have to jump over
to another app to see what the make up of tables are. I've also used
it in some scenarios w
>> For another point of view: take a look at what Brian Marick's been
>> doing with a framework called Midje to do outside-in TDD. It helps you
>> mock out function dependencies and might get you where you want to go.
>> It's just maturing now but I found his blog posts illuminating.
>
> I'll be do
We created a Philadelphia Clojure Langauge Club. The google group is here:
http://groups.google.com/group/phl-clojure-language-club
We're actually meeting again tomorrow night, but don't have any formal
plans beyond that. We had one lunch meeting, a hack night, and a
pseudo presentation night.
A lunch club sounded like a great idea, so I'm organizing one for
Monday the 30th in the Philadelphia suburbs - I've also created a
google group for coordination. If anyone's able to make it, please
drop an email to the list so I know how many to expect.
http://groups.google.com/group/phl-clojure-
http://news.ycombinator.com/item?id=1636515
Or Direct link:
http://asymmetrical-view.com/2010/08/26/how-were-deploying-our-clojure-applications.html
I thought others might find reading this valuable, I'm sure there are other
ways to do this, it's working for me for now.
Regards,
Kyle
--
> When I say that it supports the RFC I mean that the library should be
> able to read any file that follows that standard. It might (and it
> does) read files that do not follow the standard. Here are some
> examples:
>
> 1) quotes can appear anywhere, not only as the first and last
> character in
> I've added my work on the csv reader/writer library to github
> (http://github.com/jonase/cljcsv). Please let me know If anyone finds
> it useful.
Thanks for the implementation, I'm very encouraged that you followed
the RFC (I've seen lots of implementations that haven't).
I took a quick look a
Hello,
We've been using Clojure and JRuby on a project at work. For that
project we've got libraries we implemented in clojure and an
application in JRuby - so that we can call the clojure libraries from
the JRuby code I wrote a library, JRClj, to make api easier to deal
with. The project is ins
> The name of your library
clj-xpath
> Library home page URL
http://github.com/kyleburton/clj-xpath
> Your name
Kyle Burton
> Category (db, web, UI, parsing etc)
XML Processing, XPath
> License
EPL
> A one-paragraph description. Include 3rd party dependencies if any.
Simplified XPath Lib
,
Kyle
On Wed, Feb 24, 2010 at 10:44 AM, Krešimir Šojat wrote:
> Hi,
>
> On Feb 24, 2:59 pm, "Kyle R. Burton" wrote:
>> I've written an XPath library in clojure that wraps the Java api to
>> make it easier to use from clojure [1]. What is the process for
>
I've written an XPath library in clojure that wraps the Java api to
make it easier to use from clojure [1]. What is the process for
submitting libraries for inclusion on the clojure library page? I'm
also not sure if the community feels this is worth including but I
thought I'd offer it to see if
pdate your blog post, what do you think?
>
>
> Thanks both for replies!
> Lukas
>
> On 1/26/2010 6:16 PM, Kyle R. Burton wrote:
>>>
>>> I've setup slime to remote repl according to
>>> http://asymmetrical-view.com/2009/08/20/emacs-slime-remot
> I've setup slime to remote repl according to
> http://asymmetrical-view.com/2009/08/20/emacs-slime-remote-repl.html
> So far so good (there are some issues, but that other time).
>
> There is a problem with reconnecting to the remote machine after the
> connection is broken (running on wifi). I h
Hello,
I was wondering if anyone else had run into these issues or might know
what we're experiencing.
Our project is using the maven clojure plugin (works superbly) and
swank. We have a long running service that both runs a swank listener
and a Repl when it starts (so we can connect to and inte
Hello all,
We needed to use xpath at work, and though zip-filter is nice, it
isn't actually xpath and that's what we wanted in this case - so we
wrote a little wrapper library to make using xpath from Clojure
simpler. I've put the library up on github here:
http://github.com/kyleburton/clj-xp
> Does all this work with cycles, Java arrays, etc.?
It will work with anything that implements the Serializable interface
in Java. Arrays do implement that interface, as do all the
primitives. With respect to cycles, I'd suspect it does, but would
test it. If you have a repl handy it should
On Mon, Aug 10, 2009 at 10:42 PM, Kyle R. Burton wrote:
>> Is there a way to do binary serialization of Clojure/Java values?
>> ASCII (read) and (write) are nice, but they are wasting space,
>> truncating floats and are probably slow compared to binary
>> serialization.
&
On Mon, Aug 10, 2009 at 10:31 PM, fft1976 wrote:
>
> Is there a way to create a Java class (not instance) in Clojure
> without writing actual Java? e.g.
>
> public class person {
> public string name;
> public int num_children;
> public double weight;
> }
Yes, tho perhaps not according to the
> Is there a way to do binary serialization of Clojure/Java values?
> ASCII (read) and (write) are nice, but they are wasting space,
> truncating floats and are probably slow compared to binary
> serialization.
The following utility functions have worked in many cases for me:
(defn object->file
I wrote a basic quartz adapter for calling clojure functions by
submitting a job to call a clojure function by namespace/name or
submitting a closure. My write-up is here:
http://asymmetrical-view.com/2009/05/19/quartz-and-clojure.html
The example quartz code is in my github sandbox:
http://
I think your ls showed it, the jar name is clojure-1.0.0.jar, so the
java -cp argument should point to that instead:
java -cp clojure-1.0.0.jar clojure.lang.Repl
Kyle
On Sat, Jun 6, 2009 at 6:17 PM, darrell wrote:
>
> Any ideas ?
> Mac OS-X
>
> ~/Downloads/clojure_1.0.0$ java -cp clojure.ja
I map produces a lazy sequence, time doesn't force it, if you wrap it
in either a dorun or doall, you should get what you expect:
user> (time (map #(Thread/sleep %) '(1000 1000 1000)))
"Elapsed time: 0.156 msecs"
(nil nil nil)
user> (time (doall (map #(Thread/sleep %) '(1000 1000 1000
"Elapse
I realize this is late notice (didn't think of it till now), there is
a Clojure talk tonight at the Philadelphia Java Users Group - to
attend you'll need to RSVP (see: http://phillyjug.jsync.com/ to sign
up).
The announcement is below.
Regards,
Kyle
Agenda:
6:30 – 7:00 Grab a good seat, some
"Clojure and The Robot Apocalypse"
Also, I posed those to hackernews in the hope of increasing advocacy
for both that event (which it turns out I can't make) and for Clojure.
The main site is: http://www.phillyemergingtech.com/
The hackernews posts are:
http://news.ycombinator.com/item?id=5318
Shawn,
Clojure Box works well, I'd like to make a feature request: can you
add paredit [1]? Including it in the distribution (perhaps with it
disabled) would be great.
Thanks for putting it together.
Kyle
[1] http://www.emacswiki.org/cgi-bin/wiki/ParEdit
--
--
On Mon, Mar 16, 2009 at 12:31 AM, Scott Fraser wrote:
>
> I have taken Larry's "Game of Life" example that he originally posted
> here:
>
> http://groups.google.com/group/clojure/msg/fdfc88f1ba95bdee
>
> ...and updated it to use all the CPU's your JVM has access to...
Scott,
Your changes indeed
> I have gotten your example to work with a bit of reading and
> modification (and thank you, I was after an example http server, this
> got me going):
A bit more hacking and it's possible to add/replace handlers after the
server has been started:
(import
'(java.io IOException OutputStream)
'
(. Executors newCachedThreadPool))
(. server start)
(print "server listening on port: ")
(println port)
server))
(def server (start-server 8080))
;; (.stop server 0)
Regards,
Kyle R. Burton
--~--~-~--~~~---~--~~
You received this message becaus
I was wondering, since Emacs knows the file name (or at least the
buffer name) and line number it's sending a form from, and Clojure
represents that as meta-data (I think), could C-x C-e send that along
somehow wrapped in a form that sets these particular values for the
form that was shipped over?
I have no idea how much effort it would be, but I've found the common
lisp pcond library to be useful for pattern matching and a few other
use cases:
http://www.cliki.net/pcond
I'd also like to see support for value based as well as structural
shape based pattern matching.
Regards,
Kyle
On
t; (resolve 'map)
#'clojure.core/map
user=>
--
Resolve finds a standard name, but it finds it in clojure.core. I'm
not sure what to try next, this implies to me that the Repl is active,
but somehow didn't get bootstrapped?
Any help, advice, questions or suggestions are appr
> Thanks for the macro. =)
> The str function is really a good replacement for interpolation.
Yes, thank you for the macro. I anticipate using this approach (I'm
accustomed to it from Ruby, Perl and JScheme), but wanted to support a
way of stopping the parser (by backslashing the opening brace:
http://clojure.org/special_forms
shows:
(def mult
(fn this
([] 1)
([x] x)
([x y] (. clojure.lang.Num (multiply x y)))
([x y & more]
(apply this (this x y) more
and should probably be referencing clojure.lang.Numbers.
Thanks,
Kyle
--~--~-~--~-
56 matches
Mail list logo