Re: [racket-dev] Enhancement to the syntax system?

2014-05-13 Thread Marijn Schouten (hkBst)
I realize this is a very old thread, but the behavior of Racket has not changed since. On 03-05-14 23:29, Marijn Schouten (hkBst) wrote: > On 07/10/2012 05:03 PM, Matthew Flatt wrote: >> At Tue, 10 Jul 2012 10:51:57 -0400, Eli Barzilay wrote: >>> 20 minutes ago, Marijn wrote:

Re: [racket-dev] Enhancement to the syntax system?

2014-05-03 Thread Marijn Schouten (hkBst)
On 07/10/2012 05:03 PM, Matthew Flatt wrote: > At Tue, 10 Jul 2012 10:51:57 -0400, Eli Barzilay wrote: >> 20 minutes ago, Marijn wrote: >>> >>> It seems to me that both these results cannot be correct >>> simultaneously, but I'll await the experts

Re: [racket-dev] racket-5.3.[34] compilation failure SIGSEGV MAPERR si_code 1 fault

2013-08-20 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14-06-13 11:39, Marijn wrote: > Hi list, > > racket-5.3.3 and 5.3.4 are today both failing to compile for me > with: > > raco setup: in r5rs/private raco setup: in > typed-racket/optimizer SIGSEGV MAPERR si_code 1 fault o

[racket-dev] racket-5.3.[34] compilation failure SIGSEGV MAPERR si_code 1 fault

2013-06-14 Thread Marijn
EGV MAPERR error and got some other mentions of the problem dating back a long time, but no-one seemed to have any clue what was going on. Marijn [1]:https://bugs.gentoo.org/show_bug.cgi?id=471978 -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.20 (GNU/Linux) Comment: Using GnuPG wit

Re: [racket-dev] using Racket to build an image-based Lisp: feasible?

2013-03-06 Thread Marijn
tage is there to using images over source code for saving, loading and exchange? Or is what you're describing also possible using source code instead of images and then looks something like the ideas of Bret Victor (http://worrydream.com)? Marijn -BEGIN PGP SIGNATURE- Version: GnuPG

Re: [racket-dev] `math' compilation time !!!

2013-02-28 Thread Marijn
t; complaints, `matrix-norm' would have contained a time bomb.) Should -0.0 really be a Nonnegative-Real? Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlEwYUEACgkQp/VmCx0OL2xag

Re: [racket-dev] Testing whether a procedure gets collected

2012-12-06 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01-12-12 18:45, Neil Toronto wrote: Rather than a guarantee (or a probabilistic estimate) of actual collection, could the garbage collector's opinion of what is or isn't garbage be exposed somehow? Marijn -BEGIN PGP SIGNATURE---

Re: [racket-dev] Racket doesn't compile without cairo

2012-11-12 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11-11-12 18:06, Eli Barzilay wrote: > Yesterday, Neil Toronto wrote: >> On 11/09/2012 08:33 AM, Eli Barzilay wrote: >>> >>> Marijn: if this is a problem, you might get around it by >>> avoiding the documenta

Re: [racket-dev] Racket doesn't compile without cairo

2012-11-12 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09-11-12 16:33, Eli Barzilay wrote: > Four hours ago, Sam Tobin-Hochstadt wrote: >> On Fri, Nov 9, 2012 at 4:57 AM, Marijn wrote: >>> I've had a report that building racket without X doesn't work >>> if cairo

[racket-dev] Racket doesn't compile without cairo

2012-11-09 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I've had a report that building racket without X doesn't work if cairo is not installed. Presumably in this mode it should not need cairo, right? Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using

Re: [racket-dev] racket/gui performance problem when using lots of items in table-panels

2012-11-09 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19-07-12 16:59, Marijn wrote: > Hi, > > I've been having some performance problems when using lots of items > in table-panels[1]. Switching tabs when running the following > example exhibits the problem. Can anything be done ab

[racket-dev] internal error when saving as

2012-11-09 Thread Marijn
cket/collects/mred/private/wx/common/queue.rkt:633:3 Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlCcx/oACgkQp/VmCx0OL2wXAwCgj2eQdHigcUG99E8nz72DGmEw iXUAni72AhlCzSkjEZp2uE29Nus3FaEb =Nt5Z

Re: [racket-dev] racket/gui performance problem when using lots of items in table-panels

2012-07-20 Thread Marijn
the first tab is not blank but lets you specify the number of rows and columns of the table of buttons on tab 2. Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAJCm0ACgkQp/VmCx0OL2y6y

[racket-dev] racket/gui performance problem when using lots of items in table-panels

2012-07-19 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I've been having some performance problems when using lots of items in table-panels[1]. Switching tabs when running the following example exhibits the problem. Can anything be done about it? Marijn #lang racket/gui ;(require (planet wil

Re: [racket-dev] Enhancement to the syntax system?

2012-07-10 Thread Marijn
`(let ((x 1)) #,stx)) (define-syntax (m stx) (syntax-case stx () ((_) #`(let ((x 2)) #,(f #'x))) )) (m) it now produces 1 instead of the expected 2. It seems to me that both these results cannot be correct simultaneously, but I'll await the experts' opinion on that.

Re: [racket-dev] current-*-port

2012-05-07 Thread Marijn
as well. In conclusion, some options are: ~error-port @error-port ~error-port~ @error-port@ Just some random thoughts, Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+n4hUACgkQp/VmCx0OL2

Re: [racket-dev] implicit begin for define-syntax-rule

2012-05-07 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04-05-12 21:54, Vincent St-Amour wrote: > I don't think that's what Marijn was suggesting. > > I understood it as: > > (define-syntax-rule (define-complex real-name imag-name rhs) > (define real-name (real-part rhs))

[racket-dev] implicit begin for define-syntax-rule

2012-05-03 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, would it make sense for define-syntax-rule to have an implicit begin such that it could accept multiple forms for the template? Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http

Re: [racket-dev] platform dependence with tab-panel callback

2012-03-12 Thread Marijn
It's possible that you were hoping to have the callback invoked > more often on Windows, instead of less often on Gtk, but > `racket/gui' is meant to invoke callbacks only in response to user > actions. Not really; all I was looking for was the consistency that you've n

[racket-dev] platform dependence with tab-panel callback

2012-03-05 Thread Marijn
er ways to tickle this difference that don't rely on that: any effectful callback would exhibit the difference. Is it possible to remove this platform-dependent difference? Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://

Re: [racket-dev] very unhelpful beginner language error message, possible fix proposed

2012-02-13 Thread Marijn
he function name. How about changing the message such that it complains about a shortage of parentheses without stating that there are none? - - expected a function call, but there is an open parenthesis missing before this function name Or maybe formulate it in a positive way to encourage the user

Re: [racket-dev] problem with require and frtime

2012-01-20 Thread Marijn
t a keyword is a value which evaluates to itself, like a constant, whereas symbols are produced by quoting identifiers. The difference manifesting when multiple-evaluation comes into play: what is the value of the value of ... Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/L

Re: [racket-dev] problem with require and frtime

2012-01-19 Thread Marijn
On 18-01-12 17:47, Matthew Flatt wrote: > At Wed, 18 Jan 2012 12:02:10 +0100, Marijn wrote: >> I would expect both forms to work. This is a reduction of a different >> problem possibly caused by these issues here. So I tried to cut down my program to a reasonably sized test-case wh

[racket-dev] problem with require and frtime

2012-01-18 Thread Marijn
srfi/1) leads to ```module: identifier already imported from: frtime at: third in: srfi/1''' error. I would expect both forms to work. This is a reduction of a different problem possibly caused by these issues here. Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (G

Re: [racket-dev] FrTime propagation bug

2012-01-13 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12-01-12 18:27, Gregory Cooper wrote: > Hi Marijn, > > The value-now/sync procedure waits for propagation to complete > before reading a signal's value. Would something like the > following suit your purposes? > >

Re: [racket-dev] racket unlinking bigloo lib

2012-01-12 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10-01-12 15:25, Matthew Flatt wrote: > At Tue, 10 Jan 2012 11:31:19 +0100, Marijn wrote: >> Racket calls `ldconfig -n /usr/lib' in the course of doing `make >> install' and this causes one of bigloo's shared object

Re: [racket-dev] FrTime propagation bug

2012-01-12 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11-01-12 21:26, Gregory Cooper wrote: > Hi Marijn, > > FrTime propagates changes asynchronously. When send-event returns, > there's no guarantee that the event has finished propagating > through the system. And in general,

[racket-dev] FrTime propagation bug

2012-01-11 Thread Marijn
t. `b' is the behavior produced by holding the last value seen on `a'. After the value 3 arrives on `a', `b' should hold to 3. But it doesn't unless you ``help'' frtime a bit... Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/Linux)

Re: [racket-dev] application:current-app-name not appearing in Help menu

2012-01-11 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27-12-11 11:04, Marijn wrote: > Hi, > > the docs for application:current-app-name say that it is used in > the Help menu, but that doesn't seem to work for the following > program: > > > #lang racke

Re: [racket-dev] Racket home page proposal [and 1 more messages]

2012-01-11 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 22-12-11 10:02, Marijn wrote: > On 21-12-11 18:57, Eli Barzilay wrote: >>> Since I'm talking, I might as well mention my personal opinion >>> on the strong points of racket (besides the (non-)obvious ones >>&g

Re: [racket-dev] installing XREPL

2012-01-11 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19-12-11 16:50, Marijn wrote: > Hi, > > XREPL is said to be able to edit your .racketrc in the docs, but > apparently doesn't cope well with that file not existing yet: > > $ racket Welcome to Racket v5.2.0.7. >> (r

Re: [racket-dev] XREPL and readline-6.*

2012-01-11 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19-12-11 16:45, Marijn wrote: > Hi, > > just tried out XREPL and it turns out it complains about not > finding libreadline.so.5: > > $ racket Welcome to Racket v5.2.0.7. >> (require xrepl) > ; Warning: no readline supp

Re: [racket-dev] check-syntax (require plot) hangs drracket

2012-01-11 Thread Marijn
bug seems to have been caused by the recently fixed locale bug (that caused .1 to be read as .0) and works fine now. At least it doesn't hang drracket any more. Without screenshots it is hard to say whether it does what is expected. Anyway, I'm just glad it is working now, Marijn

[racket-dev] racket unlinking bigloo lib

2012-01-10 Thread Marijn
inked. I don't think racket should be calling ldconfig. On the other hand, I am not sure that I know of any good reason why calling ldconfig should cause that unlink to happen (which isn't saying very much). Could it be that bigloo also does something funny here? Marijn [1]:https://b

Re: [racket-dev] no capturing groups in regexp-split? [was Re: [PATCH] add regexp-split]

2011-12-30 Thread Marijn
ing by supporting this though, since you can always use a non-capturing group, but I do agree that it can be considered an inappropriate extension of the meaning of regexp-split. I'll be sure to raise these issues on the guile list. > We've talked semi-recently abou

[racket-dev] require does not recognize filenames with '>' in them

2011-12-29 Thread Marijn
d module-path string at: "file-with-lo>ng-name" in: (require "file-with-lo>ng-name") === context === /usr/lib64/racket/collects/racket/private/reqprov.rkt:243:14: transform-simple /usr/lib64/racket/collects/racket/private/reqprov.rkt:222:2 Marijn -

[racket-dev] no capturing groups in regexp-split? [was Re: [PATCH] add regexp-split]

2011-12-29 Thread Marijn
p-split "([^0-9])" "123+456*/") '("123" "456" "" "") should it be considered a bug in racket that it doesn't support capturing groups in regexp-split? Without the capturing group the results are identical: >

Re: [racket-dev] .1 evaluates to 0.0 [was Re: plot doesn't plot (inexact->exact: no exact representation for +nan.0)]

2011-12-29 Thread Marijn
cale stack to become ``seeded'' (due to postulated unmatched push/pop). BTW Perhaps coccinelle (http://coccinelle.lip6.fr/) can help identify (and automatically fix) the unmatched uses of the locale stack. Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GN

Re: [racket-dev] .1 evaluates to 0.0 [was Re: plot doesn't plot (inexact->exact: no exact representation for +nan.0)]

2011-12-29 Thread Marijn
t crazy for thinking the bug might > discriminate against people whose first language isn't English? > Laurent speaks French and I think Marijn speaks Dutch. Locales are a beautiful thing, but they also cause many many weird issues... but it is ever so annoying to see a numeric date and

Re: [racket-dev] .1 evaluates to 0.0 [was Re: plot doesn't plot (inexact->exact: no exact representation for +nan.0)]

2011-12-29 Thread Marijn
p_c_numeric_locale(loc); } Hi Matthew, you're certainly on the right track. I tried starting drracket in this way: LC_ALL="en_US.UTF-8" drracket & and almost all symptoms were gone. Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/Linux) Comment

[racket-dev] .1 evaluates to 0.0 [was Re: plot doesn't plot (inexact->exact: no exact representation for +nan.0)]

2011-12-27 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24-12-11 16:23, Matthew Flatt wrote: > At Wed, 14 Dec 2011 16:49:23 +0100, Marijn wrote: >> #lang racket (* .1 pi) >> >> produces 0.0 reliably in a freshly started drracket even when >> rerunning it, but: &

[racket-dev] frame:editor-mixin not happy with a text%

2011-12-27 Thread Marijn
e get-area-container)) (send root-frame show #t) Marijn [1]:http://docs.racket-lang.org/framework/Frame.html?q=default%20key%20bindings&q=menu-bar#%28def._%28%28lib._framework/main..rkt%29._frame~3aeditor-mixin%29%29 -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/Linux) Comment:

[racket-dev] application:current-app-name not appearing in Help menu

2011-12-27 Thread Marijn
) (define root-frame (new (frame:standard-menus-mixin frame:basic%) (label (application:current-app-name)) (width 200) (height 200) )) (send root-frame show #t) Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.

Re: [racket-dev] Racket home page proposal [and 1 more messages]

2011-12-22 Thread Marijn
ons without inverting control flow Racket: Racket is a unique general-purpose programming language with strong support for domain-specific languages, that enables you to do unified native GUI programming for Windows, OS X and Linux, and let's you write web applications without inverting control

Re: [racket-dev] Racket home page proposal

2011-12-21 Thread Marijn
out yet, if the times comes I would definitely try racket for this first. Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7xoPkACgkQp/VmCx0OL2x6QACfdjGoHJZzG7JTy

[racket-dev] installing XREPL

2011-12-19 Thread Marijn
n't open "libreadline.so.5" (libreadline.so.5: cannot open shared object file: No such file or directory)) - -> ,install! file-size: file not found: "/home/marijn/.racketrc" - -> and indeed it doesn't get created: $ cat ~/.racketrc cat: /home/marijn/.racketrc: No s

[racket-dev] XREPL and readline-6.*

2011-12-19 Thread Marijn
dline.so.5: cannot open shared object file: No such file or directory)) - -> that makes sense as my installed and the current upstream readline version is 6.2. Any chance that could be fixed? Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuP

Re: [racket-dev] check-syntax (require plot) hangs drracket

2011-12-15 Thread Marijn
g-term solution, but I'm curious to > see if it improves things for you at least. Hi Robby, I'm sorry to disappoint again, but there was no change to the observed behavior. Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Moz

Re: [racket-dev] feature request: gcd, lcm for rationals

2011-12-14 Thread Marijn
-rational 2/3 2/3) 2/3 but what about: > (gcd-rational 2/3 2/3 2/3) 2/3 > (lcm-rational 2/3 2/3 2/3) 4/9 is that 4/9 the intended result? Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARE

Re: [racket-dev] plot doesn't plot (inexact->exact: no exact representation for +nan.0)

2011-12-13 Thread Marijn
Not that I have noticed. Also the numeric tests seem to complete without any errors. Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7nYwcACgkQp/VmCx0OL2zukQCfekGL3loK

Re: [racket-dev] check-syntax (require plot) hangs drracket

2011-12-13 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06-12-11 23:14, Robby Findler wrote: > I've pushed a change that I think (hope) fixes this. > > Robby Hi Robby, I'm sorry to disappoint, but the issue is still there with this morning's master. Marijn -BEGIN PGP SIGNA

[racket-dev] plot doesn't plot (inexact->exact: no exact representation for +nan.0)

2011-12-06 Thread Marijn
trying to determine the cause via private email. Matthew, has any of the data I provided so far pointed you anywhere? Otherwise is there something else I can do to help debug? Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - htt

Re: [racket-dev] check-syntax (require plot) hangs drracket

2011-12-06 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24-11-11 09:51, Marijn wrote: > Hi Robby, > > On 23-11-11 13:10, Robby Findler wrote: >> I'm not seeing that under ubuntu 10.04 using the version of >> Racket from this morning. Is there possibly something else that >&

Re: [racket-dev] regexp-split produces immutable cons when rnrs/base-6 is required

2011-11-28 Thread Marijn
gt; port, rather than reading a line and then doing a "regexp-split" on > the line. The latter way is a Perl idiomatic way of parsing a > language like this, and that way will also work in Racket, but > there are arguably better ways. Thanks, I had no idea.

[racket-dev] regexp-split produces immutable cons when rnrs/base-6 is required

2011-11-25 Thread Marijn
; given '("m") but $ echo "m" | racket -e '(require rnrs/base-6) (car (list (read-line (current-input-port))))' "m" so apparently regexp-split is the culprit, Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using

Re: [racket-dev] check-syntax (require plot) hangs drracket

2011-11-24 Thread Marijn
e/wx/common/freeze.rkt:9:0 internal-error /usr/lib64/racket/collects/mred/private/wx/common/freeze.rkt:36:0 core6 this internal error is repeated some dozen more times. Marijn > On Wed, Nov 23, 2011 at 1:53 AM, Marijn wrote: > In the latest git master, check-syntax button is freezing d

[racket-dev] check-syntax (require plot) hangs drracket

2011-11-22 Thread Marijn
console. Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7MppAACgkQp/VmCx0OL2yThQCbBswXbYafdokzgEqZPQXtb7SG R/UAn2aLiKOgyLXu5Ui7Eh8oB/gvB9Yy =eqRj -END PGP SIGNATURE

Re: [racket-dev] while resizing drawing into a canvas is off

2011-10-21 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/20/11 20:30, Robby Findler wrote: > On Thu, Oct 20, 2011 at 11:34 AM, Marijn wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> >> Hi Robby, >> >> On 10/20/11 18:15, Robby Findler wrote: >>&g

Re: [racket-dev] while resizing drawing into a canvas is off

2011-10-20 Thread Marijn
doesn't have a menu, when used in a complete application there probably will be menus, and I'm planning to check out what the framework provides. However, I don't understand the logic of menus that bring about key bindings for editors. Marijn -BEGIN PGP SIGNATURE- Version:

Re: [racket-dev] while resizing drawing into a canvas is off

2011-10-20 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/20/11 18:12, Matthew Flatt wrote: > At Thu, 20 Oct 2011 17:58:08 +0200, Marijn wrote: >>>> Another thing. How do you enable simple >>>> select/copy/cut/paste behavior with standard key-bindings in >>>> a

Re: [racket-dev] while resizing drawing into a canvas is off

2011-10-20 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/20/11 14:53, Matthew Flatt wrote: > At Thu, 20 Oct 2011 11:16:59 +0200, Marijn wrote: >> Could you perhaps comment on the slowness of the cursor appearing >> in a clicked cell? It seems to have something to do with the >

Re: [racket-dev] while resizing drawing into a canvas is off

2011-10-20 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Matthew, On 10/18/11 17:10, Matthew Flatt wrote: > At Tue, 18 Oct 2011 16:32:54 +0200, Marijn wrote: >> the attached program draws a grid in a canvas and paints a few of >> the cells so created. When resizing the window, t

Re: [racket-dev] wrong line marked as source of error?

2011-10-19 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Robby, On 10/18/11 17:58, Robby Findler wrote: > On Tue, Oct 18, 2011 at 8:39 AM, Marijn wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> >> On 10/18/11 14:09, Robby Findler wrote: >>> Oh, and one more com

Re: [racket-dev] while resizing drawing into a canvas is off

2011-10-19 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/18/11 17:10, Matthew Flatt wrote: > At Tue, 18 Oct 2011 16:32:54 +0200, Marijn wrote: >> the attached program draws a grid in a canvas and paints a few of >> the cells so created. When resizing the window, the grid is also >>

[racket-dev] while resizing drawing into a canvas is off

2011-10-18 Thread Marijn
the drawing is off and the colored cells do not properly correspond to the drawn grid. You can see this especially well if you hold down the mouse button after resizing. When releasing it the grid lines will change position to match up once more with the colorings. Marijn #lang racket/gui

Re: [racket-dev] wrong line marked as source of error?

2011-10-18 Thread Marijn
it didn't show anything outside my one file. > On Tue, Oct 18, 2011 at 6:36 AM, Marijn wrote: >> Hi list, >> >> while running some code I'm working on, I noticed that the error >> message reported and the expression highlighted as the source of >>

Re: [racket-dev] Creating executables still broken

2011-10-05 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/04/11 20:59, Matthew Flatt wrote: > I think I found the problem. Can you try the latest version? Thanks Matthew, everything seems to work now. > At Tue, 04 Oct 2011 09:42:53 +0200, Marijn wrote: On 10/03/11 > 17:07, Matthew Fl

Re: [racket-dev] Creating executables still broken

2011-10-04 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/03/11 17:07, Matthew Flatt wrote: > At Mon, 03 Oct 2011 16:10:15 +0200, Marijn wrote: >> creating executables is still broken and seems now to cause lots >> of memory allocation causing my system to start thrashing... > > I

[racket-dev] Creating executables still broken

2011-10-03 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi list, creating executables is still broken and seems now to cause lots of memory allocation causing my system to start thrashing... $ cat hello.rkt #lang racket (print "hello") $ raco exe -o hello hello.rkt [.starts thrashing.] Mari

Re: [racket-dev] Adding the new plot library [was: Re: Plot?]

2011-09-30 Thread Marijn
;m confused now. That bug talks about a bundled zlib, while Eli says this is about: ``keeping the C code that was ripped out of gnuplot.'' which would IIUC be a violation of gnuplot's license. Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/Linux)

Re: [racket-dev] list-box% not properly sized

2011-09-16 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/08/11 11:16, Marijn wrote: > Hi Matthew, > > On 09/01/11 10:31, Marijn wrote: >> Hi list, >> >> list-box%es are not properly sized; the following code: > > I think you pushed a patch to change this. Currently

Re: [racket-dev] creating executables

2011-09-16 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/05/11 10:03, Marijn wrote: > Hi Vincent, > > On 09/02/11 19:33, Vincent St-Amour wrote: >> At Fri, 02 Sep 2011 09:15:20 +0200, Marijn wrote: >>> I just tried with latest git and nothing has changed for me. >>&g

[racket-dev] internal error while debugging (plus startup error)

2011-09-14 Thread Marijn
think). This is with a git racket of 12 Sept on amd64 Linux. Marijn standard-module-name-resolver: expected argument of type ; given #"/usr/lib64/racket/collects/drracket/private/syncheck/online-comp.rkt" === context === standard-module-name-resolver /usr/lib64/racket/collects/d

Re: [racket-dev] weird (memory?) bug using (dis)similar require mechanisms

2011-09-12 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Matthew, On 09/10/11 22:49, Matthew Flatt wrote: > At Fri, 09 Sep 2011 12:29:13 +0200, Marijn wrote: >> this racket bug was discovered when I was trying out geiser >> which starts programs in a way that exposes this bug. The pr

Re: [racket-dev] Weird bug in Typed Racket predicate for Float 0.0

2011-09-12 Thread Marijn
Now > I'm really curious as to what's going on here! With last week's code I get: eq? 0.0 #f eqv? 0.0 #t Float? #t Float-Or-Integer? #f but with this morning's git version: eq? 0.0 #f eqv? 0.0 #t Float? #t Float-Or-Integer? #t on amd64 Gentoo GNU/Linux, HTH, Marijn -

Re: [racket-dev] distributing native code

2011-09-09 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/09/11 09:33, John Clements wrote: > [*] See earlier thread where the general consensus was that it was > not possible to make a Racket version of this run less than (IIRC) > 5x slower than C. What is the subject of that thread

[racket-dev] weird (memory?) bug using (dis)similar require mechanisms

2011-09-09 Thread Marijn
del (new button% (parent h) (label "del") (callback (λ (b e) (send parent delete-child v))) )) v) (for-each (λ (v) (create-item v items)) '("1" "2" "3")) (new button% (parent f) (label "append") (callback (λ (b e) (cre

Re: [racket-dev] list-box% not properly sized

2011-09-08 Thread Marijn
Hi Matthew, On 09/01/11 10:31, Marijn wrote: > Hi list, > > list-box%es are not properly sized; the following code: I think you pushed a patch to change this. Currently the list-box as coded below has a minimum size of three items. Unfortunately the scroll bar seems to have a minimum s

Re: [racket-dev] creating executables

2011-09-05 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Vincent, On 09/02/11 19:33, Vincent St-Amour wrote: > At Fri, 02 Sep 2011 09:15:20 +0200, Marijn wrote: >> I just tried with latest git and nothing has changed for me. >> Neither the wrong message, nor the failing executable. >

Re: [racket-dev] drRacket Close/Close tab

2011-09-02 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Robby, On 09/02/11 14:33, Robby Findler wrote: > On Fri, Sep 2, 2011 at 2:50 AM, Marijn wrote: >> But anyway, the test for whether the platform is Gtk seems to be >> faulty, because now I'm seeing the ``Windows/OS X''

Re: [racket-dev] drRacket Close/Close tab

2011-09-02 Thread Marijn
ts restriction on partial matches, by using wildcards to extend to full match). I'm sure other people have more/better ideas. > Please let me know if you spot any problems. No problems, just work in progress (as is all software) ;P Thanks for working on this! Marijn -BEGIN PGP SIGNATU

Re: [racket-dev] drRacket Close/Close tab

2011-09-02 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Matthew, On 09/01/11 16:41, Marijn wrote: > On 09/01/11 16:29, Matthew Flatt wrote: >> At Thu, 1 Sep 2011 09:14:47 -0500, Robby Findler wrote: >>> On Wed, Aug 31, 2011 at 3:30 AM, Marijn >>> wrote: >>>>>

Re: [racket-dev] creating executables

2011-09-02 Thread Marijn
t and nothing has changed for me. Neither the wrong message, nor the failing executable. Marijn > At Thu, 01 Sep 2011 16:24:02 +0200, Marijn wrote: >> > Hi list, > > when creating executables from racket, when I choose (the > defaults) standalone based on racket, it will say &

Re: [racket-dev] drRacket Close/Close tab

2011-09-01 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/01/11 16:29, Matthew Flatt wrote: > At Thu, 1 Sep 2011 09:14:47 -0500, Robby Findler wrote: >> On Wed, Aug 31, 2011 at 3:30 AM, Marijn >> wrote: >>>> I like the idea of adding shift, but I've changed thin

Re: [racket-dev] drRacket Close/Close tab

2011-09-01 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/01/11 16:14, Robby Findler wrote: > On Wed, Aug 31, 2011 at 3:30 AM, Marijn wrote: >>> I like the idea of adding shift, but I've changed things so >>> that instead of the w shortcut going away, the close menu item &g

[racket-dev] creating executables

2011-09-01 Thread Marijn
o run like this: $ ./hello read failed to read all 885878182 bytes from file /home/marijn/racketzooi/./hello Aborted My test program: #lang racket (print "hello") This is on amd64 Linux with a racket from a day old. Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18

[racket-dev] editor-canvas% not visually distinguished

2011-09-01 Thread Marijn
efine text (new text%)) (new editor-canvas% (parent root) (editor text) (min-width 40) (min-height 50)) (send root show #t) produces the attached screenshot on my system, Marijn <> signature.asc Description: OpenPGP digital signature _ For l

[racket-dev] list-box% not properly sized

2011-09-01 Thread Marijn
"C3" "44" "five" "6" "seven" "OO" (send root show #t) results in the attached screenshot. Marijn <> signature.asc Description: OpenPGP digital signature _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev

Re: [racket-dev] drRacket Close/Close tab

2011-09-01 Thread Marijn
ng C-t for backward compatibility. I concur with Eli completely. Given that Ctrl+R is currently bound to ``Replace'' which is disabled by default (!) it seems silly not to bind it to Run (which apparently is important enough to have its own button). Marijn -BEGIN PGP SIGNATURE-

Re: [racket-dev] drRacket Close/Close tab

2011-08-31 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/25/11 19:30, Robby Findler wrote: > On Thu, Aug 25, 2011 at 9:12 AM, Marijn wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> >> Hi Robby, >> >> On 08/25/11 14:13, Robby Findler wrote: >>>

Re: [racket-dev] drRacket Close/Close tab

2011-08-25 Thread Marijn
en confused by this if the visual cue in the menus had actually moved as intended. Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5WWFkACgkQp/VmCx0OL2wk7ACeJlGCYy3qeuZaYlK3e8oGIU/

[racket-dev] drRacket Close/Close tab

2011-08-25 Thread Marijn
in many terminal emulators (like LXTerminal, Konsole, Gnome Terminal) Ctrl+Shift+w means close tab. Close Program (usually called Quit) is bound to Ctrl+Q (Firefox) or Ctrl+Shift+Q (terminal emulators). Could drRacket follow these keybindings? Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0

[racket-dev] non-existing files in drRacket recent file list

2011-08-25 Thread Marijn
for me in most cases I'd prefer for the file to disappear from the list. Alternatively the list could be checked for no-longer-existing files on startup or when opening it from the menu. What do you think? Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Usi

Re: [racket-dev] [plt] Push #23267: master branch updated

2011-08-17 Thread Marijn
braces and it will absorb (and need) a semicolon, so that it won't break your if-statements. You can read more about it here: https://www.securecoding.cert.org/confluence/display/seccode/PRE10-C.+Wrap+multi-statement+macros+in+a+do-while+loop HTH, Marijn -BEGIN PGP SIGNATURE- Versio

Re: [racket-dev] strange/wrong placement and sizing in racket/gui

2011-08-16 Thread Marijn
> I noticed that text-fields are now missing their right border. Might be > related to your fix. > > Marijn There seems to be some positioning error, as text-fields are now displayed on top of their labels. Sample program: #lang racket/gui (define root (new frame% (label "Te

Re: [racket-dev] strange/wrong placement and sizing in racket/gui

2011-08-16 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/16/11 10:43, Marijn wrote: > On 08/13/11 15:01, Matthew Flatt wrote: >> At Thu, 11 Aug 2011 14:20:23 +0200, Marijn wrote: >>> On 06/21/11 09:50, Marijn wrote: >>>> On 06/20/11 18:29, Matthew Flatt wrote: >>&g

Re: [racket-dev] strange/wrong placement and sizing in racket/gui

2011-08-16 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/13/11 15:01, Matthew Flatt wrote: > At Thu, 11 Aug 2011 14:20:23 +0200, Marijn wrote: >> On 06/21/11 09:50, Marijn wrote: >>> On 06/20/11 18:29, Matthew Flatt wrote: >>>> I think I've found the problem and pu

Re: [racket-dev] strange/wrong placement and sizing in racket/gui

2011-08-11 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/21/11 09:50, Marijn wrote: > On 06/20/11 18:29, Matthew Flatt wrote: >> I think I've found the problem and pushed a fix. > > Thanks for the quick fix Matthew! 1) 2) and 3) are now working fine > :) but I do believe border

Re: [racket-dev] strange/wrong placement and sizing in racket/gui

2011-06-21 Thread Marijn
tton% (parent vp3) (label "button") (horiz-margin 5))) (send root show #t) produces the attached window with just a button, but no borders for any of the panels... Marijn <> signature.asc Description: OpenPGP digital signature

[racket-dev] strange/wrong placement and sizing in racket/gui

2011-06-20 Thread Marijn
lt, since they are only to prevent flickering due to too frequent on-screen resizing. 4) Finally, it seems that (style '(border)) doesn't work for me when I add it on the line marked ** as a property of the vertical-panel. All this (tested) on Linux. Marijn -BEGIN PGP SIGNA

  1   2   >