On 2 Jan 2011, at 03:29, Sunil S Nandihalli wrote:
can I force the JIT to be called immediately for certain pieces of
code after it starts executing with out waiting for the JVM realize
it is necessary? I would not mind jitting the whole code ..
Actually I don't mind waiting a few extr
Hi,
Thanks for helping out. After using codecs rather than frames, I get
even weirder errors.
My code now gives me: java.lang.Exception: Cannot evenly divide bytes
into sequence of frames.
Hard coding the header followed by a terminating :byte works as it
should:
(decode (compile-frame [tag tst
Okay, clicked send to early. The header also contains 0-bytes, so the
repeated stops 'mid-sentence' and tries to balance things. Is there
any way Gloss can handle nested structures like this?
On Jan 2, 12:20 pm, "pepijn (aka fliebel)"
wrote:
> Hi,
>
> Thanks for helping out. After using codecs ra
thanks you all for your feedback .. but I had implemented something in
clojure which I knew would be much faster in say c++ .. and now was
regretting it .. and was really looking at all weird locations in
desperation.. but now I realized I was doing something in a very wrong
inefficient (algorithmi
On 2 Sty, 12:01, Konrad Hinsen wrote:
> On 2 Jan 2011, at 03:29, Sunil S Nandihalli wrote:
>
> > can I force the JIT to be called immediately for certain pieces of
> > code after it starts executing with out waiting for the JVM realize
> > it is necessary? I would not mind jitting the who
On Jan 1, 2011, at 2:20 AM, Ken Wesson wrote:
> I use Enclojure/NetBeans myself, but it occurred to me to check out
> the current state of its Eclipse counterpart.
>
> But I can't find it anywhere. Google returns tons of results, of
> course, but they're all third-party results except the first,
On Sun, 2 Jan 2011 05:41:08 -0800 (PST)
ajuc wrote:
> But in theory it could be posible to collect run-time data in one run,
> then JIT code at startup, using that collected data and current
> procesor architecture.
Something like this is already used in practice, it is called
Profile-Guided Opt
I finally moved on from messing around with stuff in the repl and trying to
get a firm grasp on all things clojure and dove into doing a little web
development with it. I hadn't used ring, compojure or enlive before so I
kept that functionality in the app really minimal. I'd appreciate feedback
on:
Here is my attempt. I changed the divide to use unchecked-divide-int
and explicitly cast recur values to long.
http://clojure.pastebin.com/xs79ruw1
Allen
On Sat, Jan 1, 2011 at 5:47 PM, Albert Cardona wrote:
> Hi all,
>
> I'd apreciate help on figuring out why a loop gets number boxing
> warnin
There was a bug in repeated, which is fixed now. Pull the latest from
github or clojars and let me know how it goes.
Zach
On Jan 2, 3:29 am, "pepijn (aka fliebel)"
wrote:
> Okay, clicked send to early. The header also contains 0-bytes, so the
> repeated stops 'mid-sentence' and tries to balance
Hello everyone,
Sean Allen inspired me to share the web app I've been playing with to learn
Compojure. It's codenamed Sportello and is a simple app that uses the
Google Maps API to calculate an estimated amount of miles you'll have to
travel from a certain place depending on where you live and ho
I have released version 1.0.0-alpha1 of my syntax-rules library:
http://clojars.org/org.clojars.qbg/syntax-rules. This library is also
on Github: https://github.com/qbg/syntax-rules
This library seeks to address two sources of incidental complexity
when writing macros in Clojure using defmacro: pa
On Sun, Jan 2, 2011 at 9:10 AM, Chas Emerick wrote:
> The Google Code site *is* the ccw site
Really? That is ... non-obvious.
> I'd think that, for a relatively young IDE plugin, that wouldn't be a
>"problem"
I'd think the opposite -- that's when it most needs growth in its
user-base, and user
On Sun, Jan 2, 2011 at 12:01 PM, Ken Wesson wrote:
> On Sun, Jan 2, 2011 at 9:10 AM, Chas Emerick wrote:
>> The Google Code site *is* the ccw site
> Really? That is ... non-obvious.
I'm genuinely curious: why do you think that isn't obvious?
The Project Home page there has the overview, videos,
You can change the number of times code must be run before it is
compiled with this flag:
-XX:CompileThreshold=1
The default is 1500 in the client hotspot and 1 in server
hotspot.
Of course, you should probably not muck with this unless you are
feeling kinda wild and crazy.
On Jan 1, 8
Btw, I notice there are 10 people near Boston waiting for a Clojure
meetup.
http://clojure.meetup.com/members/us/ma/boston/ It might be worth
creating a meetup to let them know this is happening.
M.
On Dec 30 2010, 1:52 pm, dysinger wrote:
> 10 of us from Sonian are going to converge on Boston
On Sun, Jan 2, 2011 at 4:31 PM, Sean Corfield wrote:
> On Sun, Jan 2, 2011 at 12:01 PM, Ken Wesson wrote:
>> On Sun, Jan 2, 2011 at 9:10 AM, Chas Emerick wrote:
>>> The Google Code site *is* the ccw site
>> Really? That is ... non-obvious.
>
> I'm genuinely curious: why do you think that isn't o
2011/1/2 Allen Johnson :
> Here is my attempt. I changed the divide to use unchecked-divide-int
> and explicitly cast recur values to long.
>
> http://clojure.pastebin.com/xs79ruw1
>
> Allen
Hi Allen,
Thanks for the effort.
What I don't understand is why one should cast to int or long at all
if
> I can't see where the variables are boxed into objects. Both the loop
> and the let declare them as primitives if they are given primitives.
> Perhaps they are already objects before they reach the inc and dec
> function calls in the recur, but if so, it's a mystery to me why.
Yeah that is inter
really nice .. I used to wonder why nobody had already written something
like this for clojure.. after I found out that scheme had all this.. Will
definitely check it out.. :)
Sunil.
On Mon, Jan 3, 2011 at 1:27 AM, Brian Goslinga wrote:
> I have released version 1.0.0-alpha1 of my syntax-rules li
On Sun, Jan 2, 2011 at 7:41 PM, Ken Wesson wrote:
> Because from its url it looks like it'll just be the code repository.
> It doesn't *seem* any more promising as the home page link than the
> github.com results you tend to get when you search for other
> Clojure-related material.
Good feedback.
On 2 Jan 2011, at 20:57, Brian Goslinga wrote:
I have released version 1.0.0-alpha1 of my syntax-rules library:
http://clojars.org/org.clojars.qbg/syntax-rules. This library is also
on Github: https://github.com/qbg/syntax-rules
Excellent, thanks! Ever since I saw a paper on syntax-rules in Sc
22 matches
Mail list logo