Re: Dependency management

2009-07-08 Thread Daniel
ojure community. This mail is not an attack on your work, or approach. It just triggered something that I have stumbled over too many times and I would love to see it finally resolved. I think that Gradle could be used to give you all you envisioned for Corkscrew, but in the process, you will gain so

Re: Save current namespace like a Smalltalk image

2009-07-08 Thread Daniel
ment supports wildcards since Java 1.6, they are expanded early and cannot be reevaluated during runtime :( ) More information available at: http://java.sun.com/javase/6/docs/technotes/tools/windows/classpath.html http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassLoader.html So depending on

Re: Clojure box - loading book examples from "Programming Clojure"

2009-07-09 Thread Daniel
, but according to this [3] it doesn't. Didn't check though). Hope that helps Cheers, Daniel [1] http://www.emacswiki.org/emacs/DotEmacsDotD [2] http://github.com/technomancy/emacs-starter-kit/tree/master [3] http://groups.google.com/group/clojure/browse_thread/thread/6fd17fb97f058

Re: Java STM

2009-07-13 Thread Daniel
erracotta if I ever wanted to extend Clojures STM to work across JVMs. You probably would have to think a bit harder about how you integrate the TC transactions with the ones from Clojure, since TC transactions are remote calls and therefore a lot slower,

Re: Java STM

2009-07-13 Thread Daniel
On Mon, Jul 13, 2009 at 1:36 PM, Daniel wrote: > On Mon, Jul 13, 2009 at 7:55 AM, Mark Volkmann > wrote: >> >> On Sun, Jul 12, 2009 at 7:07 PM, Vagif Verdi wrote: >>> >>> Potentially interesting library for clojurians. Java STM >>> implementation:

Re: openlg

2009-07-13 Thread Daniel
On Tue, Jul 14, 2009 at 1:09 AM, Emeka wrote: > Hello All, ztellman, > > I would like to use  git://github.com/ztellman/penumbra.git , however I > won't mind knowing the owner, too. If you create an account on github.com you can send him a message directly

Re: classloaders, modularity, packaging

2009-07-13 Thread Daniel
to have a good integration story, just to be able to leverage the vast amounts of code available. Unfortunately, I don't have anything to show for (yet) in Clojure. But I'm very interested in the discussion. I know at least the state of the JVM regarding the mentioned technologies reasonabl

Re: easiest JMX API ever, in Clojure...

2009-07-15 Thread Daniel
original process didn't enable JMX). To enable JMX the 'official' way, follow the instructions at [2] (or [3] for the JBoss specific incarnation of if). Hope that helps Cheers, Daniel [1] https://visualvm.dev.java.net/ [2] http://java.sun.com/j2se/1.5.0/docs/guide/management/age

Re: NoClassDef Issue, possibly my fault with the classloaders

2009-07-15 Thread Daniel
ithout too much effort to get you started (you can create the proper versions later). Have a look at all the PAX Utilities [1], as they can make your life so much easier. [1] http://wiki.ops4j.org/display/ops4j/Pax Cheers, Daniel On Wed, Jul 1, 2009 at 5:11 AM, BerlinBrown wrote: > > Pre Not

Re: Examining performance on the JVM

2009-07-16 Thread Daniel
that you wouldn't be able to find with JVM level tools. Don't know about a specific talk, but Intel has similar tools. Also usually a great source of information are talks from Cliff Click and other Azul people. Since they take the JVM-hardware combo to a

Re: easiest JMX API ever, in Clojure...

2009-07-16 Thread Daniel
On Thu, Jul 16, 2009 at 3:18 AM, Michael Wood wrote: > > 2009/7/15 Daniel : >> >> On Wed, Jul 15, 2009 at 3:43 AM, Michael Wood wrote: > [...] >>> I've never tried this sort of thing before, but I'm trying to connect >>> to a JBoss instance with it

Re: Clojure vectors

2009-07-16 Thread Daniel
(.addLast deque (.removeFirst deque)) (println deque) ; rot backward (.addFirst deque (.removeLast deque)) (println deque)) But then again, it's a Java collection and not a Clojure one. Cheers, Daniel --~--~-~--~~~---~--~~ You rece

Re: easiest JMX API ever, in Clojure...

2009-07-16 Thread Daniel
On Thu, Jul 16, 2009 at 10:20 PM, Michael Wood wrote: > > 2009/7/16 Daniel : >> >> On Thu, Jul 16, 2009 at 3:18 AM, Michael Wood wrote: > [...] >>> By the way, how does twiddle.sh (which appears to be a command line >>> tool for fiddling with JMX stuff in

Re: easiest JMX API ever, in Clojure...

2009-07-17 Thread Daniel
On Fri, Jul 17, 2009 at 7:59 PM, Michael Wood wrote: > > 2009/7/16 Daniel : >> >> On Thu, Jul 16, 2009 at 10:20 PM, Michael Wood wrote: > [...] >>> What I am wondering now is whether it's possible to use JBoss' RMI >>> connector/object server (o

Re: Clojure as a CGI language?

2009-07-21 Thread Daniel
ased solutions, Xen etc. to constrain ressource usage. I hope that someone is going to tackle that problem soon, there's a pile of cash waiting to be made if you can pull it off for the masses. Hope that helps. Cheers, Daniel --~--~-~--~~~---~--~~ You receive

Re: sizeof in Clojure

2009-07-21 Thread Daniel
ritten for Java, and that the data structures for Clojure might have intricacies in them, but with all that in mind, there are some gems in there if you're set to have a sizeof operator in Clojure. Have fun. Daniel --~--~-~--~~~---~--~~ You received this m

Re: Is it possible to swap in a new classloader?

2009-08-01 Thread Daniel
/etc.), which is doing classloading tricks, then the answer is going to be dependent on which container it is and how your app fits in. Cheers, Daniel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group

Re: Package manager proposal

2009-08-06 Thread Daniel
not be of interest for our problem. I personally think that the JVM ecosystem became more important because of the dependency configuration approach, since although it's painful to manage if you don't have tools, it's powerful for mixing and matching dependencies in multiple projec

Re: Package manager proposal

2009-08-06 Thread Daniel
re last time I checked, thanks for the pointer. Cheers, Daniel --~--~-~--~~~---~--~~ 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 ne

Re: Package manager proposal

2009-08-07 Thread Daniel
I think it can be simplified to just have a single fixed version in the import statement, so you have a simpler version and it doesn't change so much from the status quo). Cheers, Daniel --~--~-~--~~~---~--~~ You received this message because you

Re: Current API doc (for HEAD)

2009-08-07 Thread Daniel
'll be offline if it happens to be a rainy day ;) DVCS, local VMs (as opposed to remote servers for testing), offline docs etc. become all of a sudden extremely attractive. Cheers, Daniel --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: Can Clojure be as fast as Java?

2009-08-11 Thread Daniel
overflow.com/questions/145110/c-performance-vs-java-c (I agree with the rest of what you said, though) Cheers, Daniel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group,

Re: Can Clojure be as fast as Java?

2009-08-11 Thread Daniel
more that ratio is going to change in favor of the JIT compiler (same argument as for STM, and GC). But well, I guess we agree about the basic message ;) Cheers, Daniel PS: I didn't find any recent articles about how the Colt library or similar number crunching tools running on the JVM compa

Re: Clojure performance tests and clojure a little slower than Java

2009-08-12 Thread Daniel
which mentioned another JVM flag: -XX:+PrintOptoAssembly The original thread: http://groups.google.com/group/clojure/browse_thread/thread/314952431ec064b7?fwc=1 Hope this helps. Cheers, Daniel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

Re: Clojure performance tests and clojure a little slower than Java

2009-08-13 Thread Daniel
On Thu, Aug 13, 2009 at 10:40 AM, Glen Stampoultzis wrote: >> There was a good thread on this list some weeks ago which mentioned >> another JVM flag: >> -XX:+PrintOptoAssembly >> >> The original thread: >> >> http://groups.google.com/group/clojure/browse_thread/thread/314952431ec064b7?fwc=1 >> >

Re: Is there something special about haskell, or could "verifiability announcements" happen for purely functional Clojure programs too?

2009-08-16 Thread Daniel
ng. The documentation available in HTML on the site is a bit thin as to how they actually used Haskell and C together, check the paper: "seL4: Formal verification of an OS kernel" [2]. The actual implementation and what they prove (and not prove) can be found in section 2 - Overview.

Re: Clojure/EPL and the GPL

2009-08-29 Thread Daniel
se-slide.html Doesn't cover the EPL though. (... but also IANAL, and can't/won't advise on legal matters). Cheers, Daniel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" grou

Re: Searching the group archives

2009-08-29 Thread Daniel
google.com/advanced_search?q=&; > > Just select google groups and put clojure as the group. http://groups.google.com/advanced_search?q=&sitesearch=groups.google.com&as_ugroup=clojure Cheers, Daniel --~--~-~--~~~---~--~~ You received this message because yo

Re: Clojure for game programming?

2009-08-30 Thread Daniel
Engine, a 3D scene graph implementation on top of either LWJGL or JOGL (I think LWJGL support was first and maybe still better). Might be interesting to you, but it will not use Clojure's approach to mutability (obviously), so this as well might be a fit or not. Hope that helps, otherwise

Re: Interactive heuristic

2009-09-06 Thread Daniel
On Mon, Sep 7, 2009 at 3:10 AM, Phil Hagelberg wrote: > > Stuart Sierra writes: > >> The problem is, I think, that everyone will have a slightly different >> definition of "interactive environment."  If I run >>     java ... clojure.main path/to/file.clj >> does that count?  What about >>     jav

Re: Is knowing Java a prerequisite for using Clojure?

2009-09-17 Thread Daniel
On Thu, Sep 17, 2009 at 9:59 PM, Terrance Davis wrote: > > I'll add my two cents. > > You sound like you already program, so basic Java knowledge is useful > with Clojure, but not necessary. You can pick up what you need to know > as you learn Clojure. You will find hooks into Java are a lot more

Re: API pages

2009-12-03 Thread Daniel
Looks fine in 3.5.4. On Dec 2, 11:24 pm, Sean Devlin wrote: > Hey, the API page doesn't look right in Firefox 3.5 > > The cut off around halfway through the page. > > I think this also happens in Safari, but I'm not sure right now. > > Oh, and IE 6... YUCK! (But that's expected :)) > > Sean --

Re: another concurrency question: could there be contention for allocation (consing etc.)?

2010-03-27 Thread Daniel
r if there are more specific details on your process around, sorry for not reading them. On my machine the above settings seemed to help keeping things sane. I would be interested to know whether you had any success with the settings. If I missed anything that anyone found worthwhile, I'd be int

Getting started with open source Clojure projects

2010-03-30 Thread Daniel
-source projects? I Is there a less cumbersome way to get a load of files on the classpath than manually editing the .clojure file? How do I tell the REPL where to find response.clj so that core.clj will load? Any other advice will be much appreciated as well. Thanks, Daniel -- You received this messag

Re: Getting started with open source Clojure projects

2010-03-31 Thread Daniel
oad the source files, execute member functions, and just get a feel for what's going on internally. What sort of method do you all use for exploring open source projects? Do you just read the source code, or do you load it and test it out? Thanks, Daniel On Mar 30, 6:50 pm, Matt wrote: >

Re: My First Clojure Program -- Can Someone Critique It?

2010-05-12 Thread Daniel
I made a few minor adjustments to get it to work on Mac OS X 10.6 and posted it to: http://gist.github.com/398122 Daniel On May 9, 7:42 am, Tim Morgan wrote: > I picked up Programming Clojure by Stuart Halloway last week and am > working through the book. I'm coming from a Perl/

Re: Which GUI toolkit would you like to see wrapped in an idiomatic Clojure library?

2010-05-30 Thread Daniel
You could be really odd and write a wrapper for Edje. http://trac.enlightenment.org/e/wiki/Edje Not a serious recommendation, really. I just don't have any strong positive opinions regarding any of the others except for QT, and as you say On May 27, 10:18 am, Luke VanderHart wrote: > My si

Macro question from a clojure newbie

2010-05-30 Thread Daniel
Hi all, I'm running into a problem where I need to define several functions and/or vars inside another function, but the function has multiple definitions and they all need to have access to the inner things. This could be solved by making private functions and using partial, but this sounds like

Re: Macro question from a clojure newbie

2010-05-30 Thread Daniel
The first solution looks good. I had no idea that wrapping a defn inside of let's would leave the function exposed. Interesting. Is it considered idiomatic though? On May 30, 2:16 pm, Erik Söhnel wrote: > Hi, > > Not really mechanisms, but two Idioms will help you with your problem: > Either w

[ANN] core.rrb-vector -- RRB-Tree-based confluently persistent vectors

2013-05-31 Thread Daniel
Apologies for my lack of knowledge. My understanding was that a finger tree implementation has been in development for some time and was to provide the same benefits. Can you explain the differences between RRB trees and finger trees? Any hope of getting this project into core? -- -- You rece

Future of clojure.contrib.core/-?> macro

2013-06-10 Thread Daniel
you should also check out https://github.com/rplevy/swiss-arrows -- -- 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

[ANN] Pedestal 0.1.9 has been released

2013-06-14 Thread Daniel
Awesome, thanks for the hard work. I imagine this will require some updates to the getting started page. I'm in the process of learning how to use pedestal right now. Besides the website and sample projects on github, are there any other good resources for learning? -- -- You received this

Re: [ANN] Vertigo: fast, idiomatic C-style structs

2013-07-17 Thread Daniel
How did this affect performance in your Go AI? On Tuesday, July 9, 2013 10:56:03 PM UTC-5, Zach Tellman wrote: > > Last year, I gave a talk at the Conj on my attempt to write an AI for the > board game Go. Two things I discovered is that it was hard to get > predictable performance, but even on

Re: the snake game with core.async and swing

2013-08-04 Thread Daniel
Or quil, a processing wrapper, would be well suited to this application. -- -- 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 patie

Re: [ANN] core.typed 0.2.0 - Production Ready

2013-08-28 Thread Daniel
Excellent work. I noticed that function parameter types default to Any when not Annotated. What was the reasoning behind not mirroring this behavior for vars, and instead requiring an annotation? On Wednesday, August 28, 2013 5:28:35 PM UTC-5, Ambrose Bonnaire-Sergeant wrote: > > Hi, > > Afte

Re: [ANN] core.typed 0.2.0 - Production Ready

2013-08-29 Thread Daniel
Couldn't occurrence typing catch the error in that example, since evil-atom-reset! can only return an atom wrapping a keyword? I guess the problem I had is that the "optional typing" moniker seems misleading since it forces you to annotate vars. I had visions of gradually assigning types to va

Re: [ANN] core.typed 0.2.0 - Production Ready

2013-08-29 Thread Daniel
If you can do that, why not return the literal representation of the type hinted function? For the repl you could provide a function that interns the type-hinted function into the namespace by evaluating the literal representation first. >From there it's easy to provide something like slamhound

Re: [ANN] core.typed 0.2.0 - Production Ready

2013-08-29 Thread Daniel
s in > general, you would need to reverse macroexpansion to provide a form that > has at least a passing familiarity with the original form. Otherwise you > would get fully macroexpanded forms. > > That's a lot of work! > > > On Thu, Aug 29, 2013 at 9:56 PM, Daniel

Re: [ANN] core.typed 0.2.0 - Production Ready

2013-08-29 Thread Daniel
Yeah, it's pretty much impossible unless you limit yourself to a manageable subset of Clojure. The "easy" part I was referring to was the Leiningen plugin, not the whole kit n' caboodle. On Thursday, August 29, 2013 11:02:17 AM UTC-5, Alex Baranosky wrote: > > Imo, there's nothing "easy" about

clojure.java.jdbc connection pool example

2013-09-13 Thread Daniel
I believe Korma uses c3p0 for connection pooling right out of the box. -- -- 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

Re: ANN: ClojureScript 0.0-2719, JavaScript Dependencies

2015-01-26 Thread Daniel
Extremely happy to see you promoting cljsjs as a community solution for something equivalent to clojars. On Sunday, January 25, 2015 at 1:42:54 PM UTC-6, David Nolen wrote: > > I strongly recommend the Clojure(Script) community join forces when > packaging libraries to avoid duplicated effort an

[ANN] thi.ng collection update (CLJ/CLJS)

2015-02-25 Thread Daniel
This is incredible work. Thanks for sharing! -- 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 uns

clojure map to java instance of pojo class

2015-03-05 Thread Daniel
bean? -- 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 from this group, send email to

Preferred way to connect to embedded Immutant Message Queuing service from eg C# application?

2015-03-19 Thread Daniel
With straight HornetQ I would just use StompConnect to expose the service to the outside world and that would allow .NET clients to connect pretty easily. There's also the possibility of websockets and REST now. What is the preferred method? SO question here: http://stackoverflow.com/quest

A more flexible versio of -> ?

2015-05-04 Thread Daniel
https://github.com/rplevy/swiss-arrows -- 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 unsubscri

Why does the following Clojure code take 10x the time the C# version does? How to improve the Clojure version?

2015-05-17 Thread Daniel
Actually, I'm more than a little curious about performance optimizations to my solution as well[0]. Running Yourkit shows that most of the execution time is spent in reduce, so I've tried switching to group-by instead. Also tried replacing with iterate. Neither of these improved overall executio

Re: [ANN] Demo of the Holy Grail workflow

2015-05-21 Thread Daniel
"this video is not available" I am attempting to view on a mobile. -- 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 y

Re: [ANN] Clojure 1.7.0-RC1 now available

2015-05-26 Thread Daniel
Marshall, I'm unable to test at the moment, but if you replace (java.util.EnumSet/allOf java.util.concurrent.TimeUnit) with (iterator-seq (.iterator (java.util.EnumSet/allOf java.util.concurrent.TimeUnit))) will it work then? On Tuesday, May 26, 2015 at 6:25:04 PM UTC-5, Marshall Bockrath-Van

Re: [ANN] Clojure 1.7.0-RC1 now available

2015-05-26 Thread Daniel
Got where I could try it and instantly became very confused. Just...take a look. http://imgur.com/4LgBdCY On Tuesday, May 26, 2015 at 6:25:04 PM UTC-5, Marshall Bockrath-Vandegrift wrote: > > The difference is that the original behavior allowed room to transform the > mutated object into an ob

complex number library

2015-05-31 Thread Daniel
Criterium should probably be just a Dev dependency. -- 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.

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-06-17 Thread Daniel
Just another +1 to include a core.matrix implementation -- 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 p

Re: I want to get sha1 of a string

2014-06-29 Thread Daniel
+1 for Pandect. It's an excellent library which leverages bouncy castle and has had tons of top notch work put into it. Fast, well documented, and super easy to use. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email

Re: Using an atom for a caching map

2014-09-02 Thread Daniel
If the values in the map don't change then why not just drop the map? Implement the map as a function and memoize it eg (def f (memoize (fn [k] (calc-value k On Saturday, August 30, 2014 12:27:05 AM UTC-5, Colin Fleming wrote: > > Hi all, > > I want to use a map to cache values based on a k

[ANN] aprint (awesome print) released

2014-09-09 Thread Daniel
Looks useful. -- 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 from this group, send

Re: [ANN] om-bootstrap 0.2.6 released

2014-09-16 Thread Daniel
Good work. Although I hate to say it, It's of little use for most projects without more out-of-the-box table options eg searchable, sortable, paginated, never-ending. On Wednesday, August 27, 2014 2:05:27 PM UTC-5, Sam Ritchie wrote: > > This release adds a bunch of new active components - not

Re: [ANN] finagle-clojure: Finagle with Clojure!

2014-09-17 Thread Daniel
Very happy about this! On Tuesday, September 16, 2014 3:32:16 PM UTC-5, Sam Neubardt wrote: > > Announcing finagle-clojure, a Clojure wrapper for Finagle [1]. > > https://github.com/finagle/finagle-clojure > > Finagle is a library open sourced by Twitter for building highly > concurrent RPC ser

Re: [ANN] om-bootstrap 0.2.6 released

2014-09-17 Thread Daniel
on to keep all the existing stuff closed because the tables module > isn't fully sexed out. > > Daniel > September 16, 2014 at 7:17 AM > Good work. Although I hate to say it, It's of little use for most > projects without more out-of-the-box table options eg search

Re: [ANN]: clojure.jdbc 0.3.0 - A jdbc library for clojure (previously clj.jdbc)

2014-10-11 Thread Daniel
+1 for changing the name to something which people won't confuse with the "blessed" library. On Saturday, October 11, 2014 3:39:43 PM UTC-5, James Reeves wrote: > > The name of this library is *really* close to the "clojure.java.jdbc" > contrib library. You may want to consider changing the name

Re: Modelling in Clojure

2014-10-22 Thread Daniel
To their a wrench in the works, "keywords are functions that look themselves up in a map". Therefore, a traditional map is just as much api as data, and map values can be functions too, blurring the lines between static and computed values. So, you know, have fun with that. -- You received th

Re: extending custom data types to clojure core abstractions

2014-10-31 Thread Daniel
Brian, this may help: https://github.com/ztellman/collection-check On Tuesday, October 28, 2014 2:24:48 PM UTC-5, Brian Craft wrote: > > Following up on the thread about the massive overhead of String, I tried > writing a string collection type that stores strings as bytes, converting > to Strin

Re: lazy-seq performance

2014-12-31 Thread Daniel
The first thing that jumps out at me are the boxed numbers: 0N and 1N. I'm guessing the Clojure implementation can produce a much larger result than the python implementation can - so, apples to oranges. Probably unbox the numbers and you get much more comparable speed. Also, you should defin

Re: clojure.spec

2016-05-25 Thread Daniel
I'd love to see a blog which shows an example app leveraging core.typed, clojure.spec, and core.contracts to gradually provide greater confidence in a codebase. Sort of a step-by-step. On Monday, May 23, 2016 at 9:12:29 AM UTC-5, Rich Hickey wrote: > > Introducing clojure.spec > > I'm happy to

Re: clojure.spec

2016-05-25 Thread Daniel
I'd love to see a blog which shows an example app leveraging core.typed, clojure.spec, and core.contracts to gradually provide greater confidence in a codebase. Sort of a step-by-step with best practices. -- You received this message because you are subscribed to the Google Groups "Clojure" gr

spec performance comparison

2016-06-06 Thread Daniel
Awesome! Would be interesting to see other metrics charted eg loc, memory. -- 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

spec performance comparison

2016-06-06 Thread Daniel
Awesome! Would be interesting to see other metrics charted eg loc, memory. -- 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

spec performance comparison

2016-06-06 Thread Daniel
Awesome! Would be interesting to see other metrics charted eg loc, memory. -- 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

Re: Java like static typing for Clojure?

2016-10-20 Thread Daniel
Just curious... What do you think the primary contributing factor is for Cursive's NPEs? Java interop? -- 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

Re: Java like static typing for Clojure?

2016-10-21 Thread Daniel
> In this sort of situation, a static type system which provides universal > guarantees (this value can never be null) is more useful than a contract > system (no null values have been seen yet for the test inputs you've tried). > There's simply no way I can test all combinations, or reproduce a

Re: Java like static typing for Clojure?

2016-10-21 Thread Daniel
> In this sort of situation, a static type system which provides universal > guarantees (this value can never be null) is more useful than a contract > system (no null values have been seen yet for the test inputs you've tried). > There's simply no way I can test all combinations, or reproduce a

[ANN] lein-codeindex 0.1.0 - Easy code indexing and referencing for Emacs, Vim and other editors

2016-12-29 Thread Daniel
What is the benefit of tags over cider's go to definition functionality or docs functionality? -- 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 moderate

Re: ANN: ClojureScript 1.9.854

2017-07-30 Thread Daniel
For someone who is new to clojurescript and pretty confused by clojurescript dependency management in general, does this release obsolete cljsjs for new projects and what is the new method? On Friday, July 28, 2017 at 4:55:04 PM UTC-5, David Nolen wrote: > > ClojureScript, the Clojure compiler t

Couplet 0.1.0 – Unicode code points support for Clojure

2017-10-19 Thread Daniel
Nice! -- 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 from this group, send email to

Code behaves differently when evaluated

2017-10-25 Thread Daniel
Apologies for the poor subject header. Link to the Github Issue here. I'm running this code at the repl (pulse.core is my project ns) pulse.core=> ((-> db/queries :fns :orders-test :fn) db/*conn*) db/queries is a map defined

Re: Code behaves differently when evaluated

2017-10-25 Thread Daniel
Resolved this particular issue. It seems that evaluating the Hugsql core namespace 'overwrote' some multimethods I had defined which were somehow causing the real issue. On Wednesday, October 25, 2017 at 4:09:02 PM UTC-5, Daniel wrote: > > Apologies for the poor subject head

Loop causing OutOfMemoryError: GC overhead limit exceeded ?

2018-03-01 Thread Daniel
This code looks fine. You don't need the atoms, but I don't think that's your trouble. How do you know this code is causing the error? Unless this is all your code does, descriptions of the error suggest the memory leak might be coming from anywhere. This tight loop might trigger too many succe

Re: Why does the `def-` not exist?

2018-03-02 Thread Daniel
"University me" is yelling incredulously in my ear for saying this, but ... I have no use for private vars and private functions anymore. When that voice persuades me to evaluate a namespace for visibility I always feel like I'm over-engineering. -- You received this message because you are su

Re: Why does the `def-` not exist?

2018-03-02 Thread Daniel
I'm not advocating for it's removal though. That would be silly. -- 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

Re: How to visualise relations, bahavior and so on in functional programming ?

2018-03-07 Thread Daniel
system-vis is a start - it will inform you about the order of _state_ setup and teardown, and by virtue of that, dependencies. On Sunday, March 4, 2018 at 10:28:41 AM UTC-6, Dmitry Fomin wrote: > > Hello from future! :) > > I just wonder have you manag

Re: Comparing and selecting web API libraries

2018-03-08 Thread Daniel
Yogthos has done an excellent job with luminus-template (https://github.com/luminus-framework/luminus-template). Sets everything up how I would. Usually just need + +jetty +reagent (if writing a SPA) +auth (if doing user accounts). So far it's been a good diving board. I'm on my second in-house

Re: What is the minimal Emacs config for practical Clojure development?

2018-07-05 Thread Daniel
Luminus has a leiningen template which works out-of-the-box with Cider and figwheel. Just (start-fw) and (cljs) inside the repl. It would be nice if we could have both repls open simultaneously within emacs, but everything was super unreliable the last time I tried that. -- You received this m

Re: Clojure(Script) web apps in 2018

2018-09-17 Thread Daniel
Having built a couple of apps with Luminus (including a SPA), my vote definitely goes there. I've even been able to cherry-pick functions and project organization from the leiningen template and inject them into a cli app which had a server component. Extremely well organized and documented.

Re: [ANN] Clojure 1.10.0-RC1 (please test!)

2018-10-11 Thread Daniel
Congrats! Small suggestion. Under dependency updates it would be helpful to see the previous version eg "spec.alpha dependency to 0.2.176" -> "spec.alpha dependency from X.X.XXX to 0.2.176" On Thursday, October 11, 2018 at 10:11:45 AM UTC-5, Alex Miller wrote: > > 1.10.0-RC1 is now available

Re: (float 0.819869321599107) = 0.81986934 ?

2018-12-15 Thread Daniel
If you want more precise rounding to the 8th decimal then with-precision is available for BigDecimals. The literal representation will look just like the float you wanted. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send e

Re: Silly ns question

2019-02-17 Thread Daniel
Weird. Also I thought your file name would need an underscore. -- 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

[ANN] gooff, A KISS scheduling library inspired by Snooze

2019-11-11 Thread Daniel
gooff is a scheduling library focused on simplicity and based on Snooze. It's been in development for only 5 days, boasts a single namespace and just 600 lines. It's in need of some some tests and I'll accept contributions the usual way. Hope someone

Re: Scripting with Clojure / "slow" boot time

2016-02-10 Thread Daniel
Aside from the survey results, is it fair to say that more developers would be interested in Clojure on Android if they could use the blessed compiler? Are there any plans to look into the changes in project Skummet or breaking up the core namespace (like dunaj experimented with)? -- You recei

conditional logic implemented as pattern-matching and restructuring in the signature of the function

2016-02-10 Thread Daniel
Check out defun. I believe it does exactly what you want. Admittedly I'm not aware of its current state. https://github.com/killme2008/defun -- 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

Re: Clojure as first language

2016-02-22 Thread Daniel
> I heard feedback about a guy who learned to program in Clojure and found > Python pretty messed up afterwards. If love to read this if you can dig up a link. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to cloj

find shorter clojure code automatically

2016-03-03 Thread Daniel
You might want to check out this blog. http://blog.mattgauger.com/blog/2014/09/15/clojure-code-quality-tools/ -- 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 membe

changes in logging in 1.8?

2016-03-12 Thread Daniel
Something in profiles.clj causing the application to be evaluated? -- 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 yo

  1   2   3   4   5   6   7   8   9   10   >