Here is a clearer photo. In the original (and working) graphical editor you can
select the entities to highlight them in red. The entities are weirdly cut off.
The top left arc is cut off in the middle! Have since commented out (define
draw-line ..), but the problem still persists.
--
You
Could you point to the complete code base? Thanks -- Matthias
On Mar 26, 2015, at 9:38 AM, chia kang ren kangren.c...@gmail.com wrote:
Here is a clearer photo. In the original (and working) graphical editor you
can select the entities to highlight them in red. The entities are weirdly
Thanks a lot George, for this insightful reply.
Your idea about FFI explaining 95% of the overhead looks good... but i wonder:
in this case, shouldn't we also see a high cost in bind-prepared-statement
alone?
(sorry for my sketchy english)
Thanks again,
Renaud
--
You received this message
http://pasterack.org/pastes/75790
http://pasterack.org/pastes/11360
http://pasterack.org/pastes/10455
--
You received this message because you are subscribed to the Google Groups
Racket Users group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
I'd like to typeset some Javascript code in a way similar to what pict/code
allows, but the naive approach of (code someFunc(someArg, someOtherArg))
doesn't quite work because of the reader adding whitespace in various places.
pict/code seems to be purely oriented towards working with racket
At Wed, 25 Mar 2015 17:08:56 -0700 (PDT), Steve Olsen wrote:
I was wondering if anybody could show me an example of a very simple
snip% that maybe drew a circle and had some sort of click interaction
that I could work off of.
I'll add the enclosed example to the documentation.
--
You
I use the `java-lexer` package to typeset JavaScript code:
https://github.com/stamourv/java-lexer
To turn those into picts, you can use `codeblock-pict` from
`unstable/gui/scribble`.
Vincent
At Thu, 26 Mar 2015 09:45:50 -0700 (PDT),
Jack Firth wrote:
I'd like to typeset some Javascript
Fantastic, thank you. Sidenote - I had to (require java-lexer) instead of
(require java/code) like the readme says.
--
You received this message because you are subscribed to the Google Groups
Racket Users group.
To unsubscribe from this group and stop receiving emails from it, send an email
You're all forgiven since, 1/ there's nothing to forgive, and 2/ you're of
great help with such precise and thorough answers.
I still don't know how to speed up my code, but i've learnt a lot.
Big thanks to you George, again.
--
You received this message because you are subscribed to the
How did you time the queries?
/Jens Axel
2015-03-25 15:03 GMT+01:00 Renaud rgomb...@essentiel.net:
Hi,
I'm new to Racket, and i would like to know why sqlite queries are so slow in
my test program.
This program imports some data from a text file into a simple sqlite DB. It
takes 35s
Le jeudi 26 mars 2015 19:21:11 UTC+1, Jens Axel Søgaard a écrit :
How did you time the queries?
/Jens Axel
2015-03-25 15:03 GMT+01:00 Renaud renaud:
Hi,
I'm new to Racket, and i would like to know why sqlite queries are so slow
in my test program.
This program imports some
Did you subtract the startup cost of Racket to get the time of the queries?
/Jens Axel
2015-03-26 19:29 GMT+01:00 Renaud renaud.gomb...@gmail.com:
Le jeudi 26 mars 2015 19:21:11 UTC+1, Jens Axel Søgaard a écrit :
How did you time the queries?
/Jens Axel
2015-03-25 15:03 GMT+01:00 Renaud
Le jeudi 26 mars 2015 19:37:19 UTC+1, Jens Axel Søgaard a écrit :
Did you subtract the startup cost of Racket to get the time of the queries?
/Jens Axel
I subtracted the two timings, which should get rid of everything but the query
time, and gives about 30s for raket vs. about 5s for perl.
Good catch! I just pushed a fix.
Thanks!
Vincent
At Thu, 26 Mar 2015 10:38:53 -0700 (PDT),
Jack Firth wrote:
Fantastic, thank you. Sidenote - I had to (require java-lexer) instead of
(require java/code) like the readme says.
--
You received this message because you are subscribed to
On 3/25/2015 10:03 AM, Renaud wrote:
I'm new to Racket, and i would like to know why sqlite queries are so slow in
my test program.
This program imports some data from a text file into a simple sqlite DB. It
takes 35s with the INSERT queries and 5-6s without them.
I've done the same thing
That's also what I understand, and I find this philosophy pretty appealing
too, for what it's worth.
However it still worries me as this sounds a like I'm not wearing shoes
because the problem is not your feet but the pavement; What we need is a
pavement that makes it possible to walk without
Laurent writes:
Furthermore, files and github are not chosen by Racket, so I don't
personally mind that much using a few external tools if Racket
can't do it itself (I'd still rather have Racket do it itself of
course; I want a Racket machine). What's more, whether `raco` is
I'd go one
Matthias Felleisen writes:
Neil, I wrote this paper _because_ academia perceives Racket as a cult.
Wow. I must be missing something interesting. Is there some tutorial
on the Rites of Racket? ;-)
I am in academia, but quite remote from the Racket hotspots both
thematically and
On Mar 26, 2015, at 7:42 AM, Konrad Hinsen wrote:
In my opinion, it would be interesting to develop a pedagogical
approach to the language development theme in the form of tutorials,
books, or presentations. Maybe even a teaching language with a
simplified version of syntax/parse. The goal
On 3/26/2015 10:16 AM, Renaud wrote:
Thanks a lot George, for this insightful reply.
Your idea about FFI explaining 95% of the overhead looks good... but i wonder:
in this case, shouldn't we also see a high cost in bind-prepared-statement
alone?
Hi Renaud,
I'm not sure exactly what you are
On Thu, Mar 26, 2015 at 3:56 PM, John Clements
cleme...@brinckerhoff.org wrote:
On Mar 25, 2015, at 6:55 PM, Jon Zeppieri zeppi...@gmail.com wrote:
I recently uploaded Gregor, a date and time library, to the package server.
Can I use this instead of SRFI 19? That would be wonderful.
John
This is so awesome.
Jay
On Wed, Mar 25, 2015 at 9:55 PM, Jon Zeppieri zeppi...@gmail.com wrote:
I recently uploaded Gregor, a date and time library, to the package server.
Features:
- representations for and generic operations on:
- dates
- times (as in, time-of-day)
- datetimes
At Thu, 26 Mar 2015 14:30:28 -0400,
Jon Zeppieri wrote:
On Thu, Mar 26, 2015 at 10:51 AM, Vincent St-Amour stamo...@ccs.neu.edu
wrote:
This is really cool!
Do you have plans for operations on durations?
Vincent
More vague thoughts than plans.
So-- there's a useful distinction
On Thu, Mar 26, 2015 at 4:57 PM, Vincent St-Amour stamo...@ccs.neu.edu wrote:
At Thu, 26 Mar 2015 14:30:28 -0400,
Jon Zeppieri wrote:
[ snip]
Since, IIUC, periods need to be anchored to a specific point in time,
that would make them a bit more heavyweight to create. I could see
durations
On Thu, Mar 26, 2015 at 4:13 PM, Jon Zeppieri zeppi...@gmail.com wrote:
You
can carry around a bucket that says 5 years, 3 weeks, and 40 hours,
but the precise number of seconds inside the bucket is indeterminate
until you pour it over a date-provider. (No, not a great metaphor.)
I have a
On Thu, Mar 26, 2015 at 5:27 PM, Robby Findler
ro...@eecs.northwestern.edu wrote:
On Thu, Mar 26, 2015 at 4:13 PM, Jon Zeppieri zeppi...@gmail.com wrote:
You
can carry around a bucket that says 5 years, 3 weeks, and 40 hours,
but the precise number of seconds inside the bucket is indeterminate
This is really cool!
Do you have plans for operations on durations?
Vincent
At Wed, 25 Mar 2015 21:55:31 -0400,
Jon Zeppieri wrote:
I recently uploaded Gregor, a date and time library, to the package server.
Features:
- representations for and generic operations on:
- dates
-
Matthias Felleisen writes:
Here we go:
0. open drracket
1. type (
2. hit return
3. stare at the two spaces of indentation in sheer amazement
4. relax, type )
Smile. Now you're a Racketeer.
Thanks - now I feel enlightened!
A web site is an ad.
As is a research paper.
Thanks, that clarifies the point. The manifesto maybe puts it too strictly
indeed.
On Thu, Mar 26, 2015 at 1:58 PM, Matthias Felleisen matth...@ccs.neu.edu
wrote:
Thanks for sending this, again. I was writing a response very
much along these lines when your post came in.
1. No, we cannot
Gregor shares the near-universal disdain for UTC exhibited by operating systems
and date/time libraries alike.
Seriously, though: Gregor doesn't keep UTC time, so there are no leap seconds.
I mentioned in the docs that if there's a real demand for UTC, I'll implement
it.
- Jon
On Mar 26,
On Thu, Mar 26, 2015 at 10:51 AM, Vincent St-Amour stamo...@ccs.neu.edu wrote:
This is really cool!
Do you have plans for operations on durations?
Vincent
More vague thoughts than plans.
So-- there's a useful distinction (that comes out of Joda-Time)
between a duration, which is directly
BTW, the ISO 8601 standard (I don't mean the trivial ISO 8601 date/time
format everybody knows) has done a lot on concepts you might want to
look at. Beware that ISO 8601 is big, and there is some baffling stuff
included, but you can't always tell what is important.
One thing I can tell you
I've used a library like this before
[https://github.com/jeremyw/stamp], and realized that there were two
things I didn't like about it: (1) potential ambiguity in the
(user-)chosen exemplar date/time and (2) my tendency to mistake the
exemplar date for an actual piece of data in the program. Go's
I'm confused about how local package development is supposed to work with `raco
pkg install --clone`. This is turning into a deterrent to diagnosing fixing
bugs, and an encouragement to post issues so others can fix them.
In the dark ages, one would a) fork the main Racket repo on GitHub, b)
On Thu, Mar 26, 2015 at 5:30 PM, Jon Zeppieri zeppi...@gmail.com wrote:
3 weeks and 40 hours will always have a fixed number of seconds...
And this is because Gregor isn't faithful to UTC, of course.
Otherwise, this wouldn't be true.
--
You received this message because you are subscribed to
On Thu, Mar 26, 2015 at 4:31 PM, Jon Zeppieri zeppi...@gmail.com wrote:
On Thu, Mar 26, 2015 at 5:30 PM, Jon Zeppieri zeppi...@gmail.com wrote:
3 weeks and 40 hours will always have a fixed number of seconds...
And this is because Gregor isn't faithful to UTC, of course.
Otherwise, this
On Mar 25, 2015, at 6:55 PM, Jon Zeppieri zeppi...@gmail.com wrote:
I recently uploaded Gregor, a date and time library, to the package server.
Can I use this instead of SRFI 19? That would be wonderful.
John Clements
Features:
- representations for and generic operations on:
-
On Thu, Mar 26, 2015 at 5:27 PM, Robby Findler
ro...@eecs.northwestern.edu wrote:
On Thu, Mar 26, 2015 at 4:13 PM, Jon Zeppieri zeppi...@gmail.com wrote:
You
can carry around a bucket that says 5 years, 3 weeks, and 40 hours,
but the precise number of seconds inside the bucket is indeterminate
On Thu, Mar 26, 2015 at 4:13 PM, Jon Zeppieri zeppi...@gmail.com wrote:
You
can carry around a bucket that says 5 years, 3 weeks, and 40 hours,
but the precise number of seconds inside the bucket is indeterminate
until you pour it over a date-provider. (No, not a great metaphor.)
I have a
2015-03-26 22:30 GMT+01:00 Jon Zeppieri zeppi...@gmail.com:
On Thu, Mar 26, 2015 at 5:27 PM, Robby Findler
Would 3 weeks and 40 hours always be a precise number of
seconds?
Robby
What about leap seconds?
/Jens Axel
--
You received this message because you are subscribed to the Google
On Thu, Mar 26, 2015 at 4:31 PM, Jon Zeppieri zeppi...@gmail.com wrote:
On Thu, Mar 26, 2015 at 5:30 PM, Jon Zeppieri zeppi...@gmail.com wrote:
3 weeks and 40 hours will always have a fixed number of seconds...
And this is because Gregor isn't faithful to UTC, of course.
Otherwise, this
Did you subtract the startup cost of Racket to get the time of the queries?
/Jens Axel
2015-03-26 19:29 GMT+01:00 Renaud renaud.gomb...@gmail.com:
Le jeudi 26 mars 2015 19:21:11 UTC+1, Jens Axel Søgaard a écrit :
How did you time the queries?
/Jens Axel
2015-03-25 15:03 GMT+01:00 Renaud
BTW, the ISO 8601 standard (I don't mean the trivial ISO 8601 date/time
format everybody knows) has done a lot on concepts you might want to
look at. Beware that ISO 8601 is big, and there is some baffling stuff
included, but you can't always tell what is important.
One thing I can tell you
On Thu, Mar 26, 2015 at 2:57 PM, Vincent St-Amour stamo...@ccs.neu.edu wrote:
At Thu, 26 Mar 2015 14:30:28 -0400, Jon Zeppieri wrote:
On Thu, Mar 26, 2015 at 10:51 AM, Vincent St-Amour stamo...@ccs.neu.edu
wrote:
- Is a duration data structure, distinct from some number of
nanoseconds,
On Thu, Mar 26, 2015 at 10:51 AM, Vincent St-Amour stamo...@ccs.neu.edu wrote:
This is really cool!
Do you have plans for operations on durations?
Vincent
More vague thoughts than plans.
So-- there's a useful distinction (that comes out of Joda-Time)
between a duration, which is directly
One area where a notion of Project comes in handy is with cross-file
refactoring.
E.g. Right now I am in the midst of renaming a #:keyword and resorting to
grep to find dependencies in other files. Is there a smarter existing way
of doing this kind of thing in DrRacket? Or is this a use-case for
46 matches
Mail list logo