Thanks for the report about the "Remove" button in the "Available for
Catalog" panel! I've pushed a repair for the next version.
Meanwhile, the "Currently Installed" panel provides another view on
installed packages, and the "Remove" button there should work.
I think Jay is working on the "mix"
I agree with Robby's explanation on just the `compile` line.
When you uncomment both lines, it's the same error as as
> (module m racket/base (define x 5))
> (require 'm)
> (module m racket/base (define x 5))
define-values: assignment disallowed;
cannot re-define a constant
constant: x
At Fri, 25 Dec 2015 22:17:21 -0800 (PST), Taro Annual wrote:
> I make "pong" game in big-bang(2hdp/universe).
> But, moving a racket(not language!) by keyboard("up", "down", ...), the
> racket
> freezes in 0.3~0.5s sometimes.
>
> I think it is due to the beginner's platform.
> What
At Fri, 25 Dec 2015 16:58:53 -0700, Leif Andersen wrote:
> That's what I thought initially too, but it didn't seem to make a
> difference when I used
> `expand-syntax-top-level-with-compile-time-evals`, although then I
> realized that perhaps a better function to use would be
>
At Sat, 26 Dec 2015 06:52:19 -0800 (PST), Taro Annual wrote:
> 2015年12月26日土曜日 21時54分52秒 UTC+9 Matthew Flatt:
> > Can you try a current snapshot to see whether it eliminates pauses?:
> >
> > http://pre.racket-lang.org/
> >
> > [...]
>
> Sorry, it doesn
At Mon, 28 Dec 2015 18:54:10 +0100, Juan Francisco Cantero Hurtado wrote:
> FYI, I also see the pauses in the game when I move the lateral bars
> (with Racket 6.3 and git HEAD). I'm using Linux and the output of racket
> only shows very small pauses.
Aha --- do you mean that bars pause, but the
e the require form, but why doesn't it
> evaluate what's needed for compile time? I thought that was the reason for
> needing require as a macro instead of a function. Or am I getting the purpose
> of compile wrong?
> >>
> >> Alex Knauth
> >>
> >>> On
gt;>
> >>
> >> On Mon, Dec 21, 2015 at 8:24 PM, Alex Knauth <alexan...@knauth.org> wrote:
> >>> I get that `compile` doesn't evaluate the require form, but why doesn't
> >>> it
> evaluate what's needed for compile time? I thought that was th
runtime_
> >>> code,
> but I thought it had to evaluate the compile-time code for it to compile the
> program?
> >>>
> >>> Am I misunderstanding what `compile` is supposed to do? Or what
> compile-time code is, or?
> >>>
> >>
--- and also whether it increases DrRacket's
footprint by too much. If you use a snapshot version of DrRacket, keep
an eye on memory use, and let us know if it's a problem.
At Wed, 2 Dec 2015 08:44:42 -0700, Matthew Flatt wrote:
> The development version of Racket now supports an incremen
With the current implementation of `scribble/lp2`, you could create a
"dummy.rkt" module
#lang racket/base
(define foo 'foo)
(define bar 'bar)
(provide (all-defined-out))
and use `(require (for-label "dummy.rkt"))` with
`@declare-exporting["dummy.rkt"]` to get hyperlinking.
But I
I've adjusted `chunk` to strip away `code:comment`, etc., and so it now
works with `scribble/comment-reader`.
A better approach in the future might be to add a `chunk` variant
that's based on `codeblock` instead of `racketblock`, but I didn't try
that.
At Fri, 18 Dec 2015 12:20:13 -0800, Matthew
Yep. I've already pushed a repair for this as prompted by your question
yesterday (but let us know if it still doesn't work right).
At Thu, 17 Dec 2015 11:22:38 -0800, Matthew Butterick wrote:
> Can't see how this would be a feature, but maybe I lack imagination: `raco
> setup` seemingly won't
Your example is similar to
(define-syntax-rule (with-x body)
(let ([x 5])
body))
(with-x x) ; => unbound identifier
That is, `import` is a binding form, just like `let`. Bindings
introduced by a hygienic macro do not capture identifiers at the
macro-use site.
If you want non-hygienic
I'm not able to replicate that problem, but I'm unclear on where
`init-editor-keymap` comes from. Is that something in your code?
The function for the `current-text-keymap-initializer` parameter really
should accept a single argument, so the contract error in the second
case below makes sense.
My guess is that you're running into an incompatibility created by the
new macro system. Something like lifting code out of an expanded
`module` form and dropping it into a different one? A change related to
submodule expansion? Or something related to the top-level namespace?
It might be an
The group code is "RKC", or you can call and mention "RacketCon 2016".
At Tue, 7 Jun 2016 15:41:33 -0600, Matthew Flatt wrote:
> Yes, I'll ping the hotel again...
>
> At Tue, 7 Jun 2016 14:21:43 -0700 (PDT), Brian Adkins wrote:
> > I noticed that the 20
Yes, I'll ping the hotel again...
At Tue, 7 Jun 2016 14:21:43 -0700 (PDT), Brian Adkins wrote:
> I noticed that the 2015 RacketCon had a "RAC" group code for the hotel. I
> already booked my hotel, but it's a changeable/cancelable reservation, so is
> there going to be a group discount for the
The GC's printer for `dump-memory-stats` is broken on Windows. It
breaks in different ways depending on the compiler used to build Racket
and for 32-bit vs. 64-bit.
I've pushed a repair for the next snapshot build --- at least for the
Utah snapshot, which uses MSVC. I'll probably have to
Based on Robby's work tracking down the problem, I've pushed a repair
for the next snapshot build. (I'm surprised that this bug escaped
detection before.)
Since the problem was in file reading, the next snapshot build will
include a repaired DrRacket that is able to read your original file.
hence, there is no way to
> deserialize the correct, new version of the _pond.
>
> I think this could only be resolved by changing the serialization so that it
> keeps all relevant information also for non-pointer content.
>
> Berthold
> > On 06 Jun 2016, at 19:22, Matthew Flatt
> I think this could only be resolved by changing the serialization so that it
> keeps all relevant information also for non-pointer content.
>
> Berthold
> > On 06 Jun 2016, at 19:22, Matthew Flatt <mfl...@cs.utah.edu> wrote:
> >
> > Yes, but I think a diffe
Yes, but I think a different protocol will be needed than for
`serializable-struct`.
With
(serializable-struct pond (depth))
it's clear that the deserializer receives a single value for the single
field (or, more generally, N values for N fields). So, it's clear how
to make a compatibility
At Mon, 6 Jun 2016 16:45:33 -0400, David Raymond Christiansen wrote:
> I'm looking for a way to check whether a mouse pointer is on top of a
> particular pict that has been drawn to a canvas%.
>
> Right now, the best I've been able to do is to render the pict to two
> off-screen bitmaps with
Providing 'hidden as `#:style` is shorthand for
(make-style #f (list 'hidden))
When you're already using `make-style`, you can add 'hidden to the list
of properties:
(title #:style (make-style #f (list 'hidden (make-body-id "beta"))) )
At Mon, 20 Jun 2016 03:47:56 -0700 (PDT), Kathi
The runtime system currently cannot call a foreign function without
suspending a future. Supporting that operation is not out of the
question, but I don't think it will be easy.
Would using places work in this case --- creating one or more places on
start-up to serve data from the C library?
At
You can adjust a port to count characters instead of bytes by using
`port-count-lines!`.
At Wed, 13 Jan 2016 12:23:24 -0800 (PST), Ben Draut wrote:
> I've been tinkering with a lexer/parser for Lambda calculus expressions. I'm
> trying to add a feature to highlight unexpected characters, rather
Can you say more about the problem with VS 2015? I have used VS 2015,
and it worked for me, although I haven't used it lately.
Did you run `nmake win32-in-place` in the top-level Git checkout, or
did you build in some other way?
If you build the part of Racket that's in the "src" directory
At Sun, 26 Jun 2016 07:31:14 -0700 (PDT), Diego Rodriguez wrote:
> Il giorno domenica 26 giugno 2016 14:33:12 UTC+2, Matthew Flatt ha scritto:
> > Can you say more about the problem with VS 2015? I have used VS 2015,
> > and it worked for me, although I haven't used it lately.
>
If you write
(struct point (x y))
then `point` is bound as syntax that both expands to the `point`
constructor and provides static information about the point` structure
(as used, for example, by `match`).
You could avoid the indirection through syntax, sacrificing static
information, by
In case it's useful to anyone, the package-build service now provides
built versions of packages though this catalog:
https://pkg-build.racket-lang.org/server/built/catalog/
Built packages can install faster than the source packages that are
provided by https://pkgs.racket-lang.org/ --- as
The documentation at
http://docs.racket-lang.org/
now includes documentation for all packages that are registered at
pkgs.racket-lang.org, instead of just the documentation for the main
distribution. Package documentation is built and updated daily.
This change means that you can search at
I think the main issue is that `htdp/bsl/runtime` changed the way it
configures the printer. Instead of setting `current-print`, it sets
`global-port-print-handler`. Meanwhile, `interaction` prints within the
sandbox only if `current-print` is changed from its default value,
which is
The pattern matcher in `syntax-case` is less powerful than the one in
`syntax-parse`. The pattern
(_ trash-left ... save-the-world . trash-right)
can match `save-the-world` only against the last item in a list --- or
against the first of the last pair for a non-list.
With `syntax-parse`, as
I think you need to use a trampoline for the module body's expansion,
where you expand only one module-body form at a time and let
`#%module-begin` finish up forms like `require` or `define-syntaxes`
before you macro continues with later forms.
The general pattern is that you have a macro
gt;
> On Thursday, January 28, 2016 at 6:06:31 AM UTC-7, Matthew Flatt wrote:
> > The pattern matcher in `syntax-case` is less powerful than the one in
> > `syntax-parse`. The pattern
> >
> > (_ trash-left ... save-the-world . trash-right)
> >
> > can ma
I recommend `find-executable-path` instead of `system` plus "which".
At Wed, 24 Feb 2016 13:34:19 +, Stephen De Gabrielle wrote:
> Thank you - very good advice - I'll have to change my pull request.
> S.
> On Wed, 24 Feb 2016 at 10:57, Norman Gray wrote:
>
> >
> >
At Tue, 23 Feb 2016 02:03:55 -0500, Neil Van Dyke wrote:
> If there are two packages, "a" and "b", in the package catalog, and the
> authors of both packages want their package's documentation to have
> hyperlinks to sections of the other package's documentation...
>
> Will that work? Is it OK
You could parse the result of `(system-type 'machine)`, but you might
just as well use a little `ffi/unsafe` binding to get
`NSAppKitVersionNumber`:
#lang racket/base
(require ffi/unsafe)
(define appkit
(ffi-lib "/System/Library/Frameworks/AppKit.framework/AppKit"))
(define
At Tue, 23 Feb 2016 11:46:37 -0500, George Neuner wrote:
> On Tue, 23 Feb 2016 08:06:34 -0700, Matthew Flatt
> <mfl...@cs.utah.edu> wrote:
>
> >At Mon, 22 Feb 2016 18:55:59 -0500, George Neuner wrote:
> >> If you suspect App Nap, have you tried disabling it for DrRac
At Tue, 23 Feb 2016 08:49:11 -0800 (PST), copycat wrote:
> If the problem is somehow related to going in and out of the drawing
> layer, is it possible to batch the updates without using dc-path% and
> draw-path%?
Another kind of batching is `draw-lines` instead of `draw-line`, but
that one
I think a pull request is the right idea.
When requests like that fall in my area of maintenance, sometimes I've
merged them, and sometimes I've suggested that a package would be
better. I thought the pull request was helpful either way.
Matthew
At Wed, 24 Feb 2016 19:37:13 -0800 (PST), Brian
At Mon, 22 Feb 2016 18:55:59 -0500, George Neuner wrote:
> If you suspect App Nap, have you tried disabling it for DrRacket?
That's worth a try, but App Nap should be disabled automatically by the
`racket/gui` library that DrRacket uses. The library calls the
`setActivationPolicy:` method of the
I see drawing times of around 60ms for "KCF new FIPG .. .dxf" on my
machine. I could reduce the time a little by calling `(get-dc)` just
once and passing it through all the drawing functions, but it looks
like a lot of the remaining time is spent crossing into and out of the
drawing layer at
The easiest way to get the right module path to refer to a
documentation section is click the section title. For example, if you
click on
XML: Parsing and Writing
then this text will appear below the title:
Link to this document with
@other-doc['(lib "xml/xml.scrbl")]
It looks like
A second problem is is that the package catalog is not supposed to
depend on that machine's uptime. That's a configuration mistake that we
will fix, too. Unfortunately, I haven't yet found a way to fix it
before the machine is back up.
At Wed, 17 Feb 2016 14:21:02 +, Sam Tobin-Hochstadt
At Wed, 17 Feb 2016 10:45:26 -0800 (PST), Brian Adkins wrote:
> On Wednesday, February 17, 2016 at 10:28:48 AM UTC-5, Ben Greenman wrote:
> > You should be able to install html-parsing now.
>
> I'm no longer getting connection refused, but now I'm getting a 403.
This should be fixed now.
--
I see the same problem on my machine with v6.4 and 6.4.0.8, and not
with v6.3.
Using `pict3d/universe` works for me in all versions, but the Pict3D
snip that's shown in DrRacket doesn't. So, I think the problem must be
due to a change since v6.3 in `racket/gui` related to GL bitmaps. I'll
cosx "Darwin Miriams-MacBook-Pro.local 14.5.0 Darwin Kernel Version
> 14.5.0: Tue Sep 1 21:23:09 PDT 2015; root:xnu-2782.50.1~1/RELEASE_X86_64
> x86_64" (x86_64-macosx/3m) (get-display-depth) = 32
>
> thanks,
>
> S.
>
>
>
>
> On Thu, Feb 18, 2016 at 11:3
There was an overflow problem in the part that tries to prepare a 64-bit
value to put into the 32-bit halves of `FILETIME`. I've pushed a
repair.
Thanks for the report and help!
At Fri, 19 Feb 2016 18:06:55 -0500, Jon Zeppieri wrote:
> Er, no. Disregard that. That'll teach me to talk about the
Your C code doesn't cooperate with the "3m" garbage collector, which is
the way Racket is built by default. For example, the object that `env`
references might be moved by the GC without the `env` variable being
updated.
See
You need
@(require (for-label racket/class))
to connect `object%` as used in your documentation to the `object%`
binding that is defined in documentation.
At Thu, 10 Mar 2016 08:15:55 -0800 (PST), Axel Schnell wrote:
> I was writing some documentation about my experiments with classes and
At Mon, 14 Mar 2016 19:43:51 -0400, Tony Garnock-Jones wrote:
> Can I rely on the truth of the following:
>
> (implies (and (fixnum? x) (fixnum? y) (= x y))
>(eq? x y))
>
> ?
Yes, that's guaranteed by the docs.
> I know I can rely on something similar for symbols.
And keywords.
At Mon, 14 Mar 2016 19:59:51 -0400, Tony Garnock-Jones wrote:
> On 03/14/2016 07:53 PM, Matthew Flatt wrote:
> > [fixnum eqness is guaranteed by the docs.
> > [...] And keywords [are also guaranteed].
> > [...] [And] Booleans, void, and characters with a scalar value under
At Sat, 12 Mar 2016 09:45:57 -0500, Matthias Felleisen wrote:
>
> > On Mar 11, 2016, at 8:01 PM, Alexis King wrote:
> >
> > The documentation for module* would seem to indicate that submodules
> > declared with module* can require their parent modules:
> >
> >> Like
At Sat, 12 Mar 2016 15:35:14 -0500, Jon Zeppieri wrote:
> I have TCP ports that I send from one place to another. I'd like the
> receiving place to be responsible for closing them. In particular, I'd like
> to make that the responsibility of a custodian in the receiving place.
>
> If I close the
> Alt+arrowright jump to end s-expr
>
> Ctrl+Arrowright
> jump to end word
>
>
>
> I'll look at your code when I have more time tomorrow or this weekend.
>
>
> Thanks again,
>
> Ber
ings.
> I also noticed that a "c:m:q" always trumps a "g:q" binding regardless of
> order.
> and a "g:q" always trumps "c:m:~g:q" (regardless of Ctrl+Alt or AltGr
> combination)
>
> Thanks for the file. For what I want, it works just fine
Thanks for looking into this problem in depth! Although I'll suggest an
alternate implementation, your patch was helpful for me to understand
the problems and goals.
To generate an event when AltGr- doesn't produce a character, I
think a better approach here is to call ToUnicode(). That seems to
At Mon, 28 Mar 2016 11:53:38 -0700, Byron Davies wrote:
> I have a single interactive pasteboard on a slideshow slide. For a learning
> task, the user needs to click on objects on the pasteboard. There’s a little
> glitch, however. The user must first click on the pasteboard to make it the
>
You were close with
((dynamic-require 'hw 'hw))
but you're missing a quote:
((dynamic-require ''hw 'hw))
When you make "base.c" as
raco ctool --c-mods base.c hw.rkt
then it's like
(module hw racket/base
(provide hw)
(define (hw) (displayln "Hello, world!")))
at a REPL, and
At Tue, 5 Apr 2016 08:42:28 -0400, Philippe Meunier wrote:
> Matthew Flatt wrote:
> >Since, as you note, units of JIT
> >generation tend to be smaller than a page, this creates trouble if
> >JITted code running in one thread is allocated on the same page as
> >JITting in
Pro tip for pirates: jump to scheme_eval().
At Tue, 5 Apr 2016 09:32:04 -0400, Philippe Meunier wrote:
> Robby Findler wrote:
> >How is it possible to generate code at runtime and also enforce W^X?
>
> Short answer: using the mprotect system call (see the second paragraph
> below).
>
> Suppose
Apr 2016 18:10:05 -0400, "John Clements" wrote:
>
> > On Apr 6, 2016, at 9:02 AM, Matthew Flatt <mfl...@cs.utah.edu> wrote:
> >
> > If the problem happens after DrRacket has been running for a while,
> > then that's good information and definitely a proble
At Thu, 07 Apr 2016 15:05:12 -0400, "'John Clements' via Racket Users" wrote:
> > On Apr 7, 2016, at 8:34 AM, Matthew Flatt <mfl...@cs.utah.edu> wrote:
> > It looks like it's not a question of running DrRacket for a while, but
> > of having multiple tabs in DrRa
When you use `system` or `process`, the immediate new process runs a
shell. The shell process then starts another one to run the command
that you give it.
I recommend using `process*` to avoid the shell process and to avoid
encoding issues when passing arguments:
(define racket
At Tue, 5 Apr 2016 10:03:59 -0400, George Neuner wrote:
> On 4/5/2016 9:50 AM, Matthew Flatt wrote:
> > Pro tip for pirates: jump to scheme_eval().
>
> Would that be possible if Racket implemented W^X?
Yes, as long as an attacker can somehow overwrite a function pointer,
W^
At Sun, 10 Apr 2016 08:18:50 -0700 (PDT), Theodor Berza wrote:
> The purpose of this project is to make a GUI Builder where the user drags
> buttons on a frame and the position of the cursor changes in the code the X
> and Y axis.
I case you haven't found it already, you might want to take a
At Sun, 10 Apr 2016 07:49:19 -0700, Matthew Butterick wrote:
> 1) When, if ever, is the `read` of a #lang invoked by Racket?
That happens if you use `read` on a file that starts `#lang`.
In that case, the `read-accept-reader` parameter must be set, as in
(parameterize ([read-accept-reader #t])
At Wed, 06 Apr 2016 11:56:51 -0400, "John Clements" wrote:
>
> > On Apr 6, 2016, at 7:35 AM, Matthew Flatt <mfl...@cs.utah.edu> wrote:
> >
> > I haven't been able to replicate the problem, so far, even though my
> > machine and installation is simi
I think `(system-type 'machine)` should use the root security guard
when trying to start "/bin/uname". I'll make that change unless someone
sees a problem with it.
At Wed, 6 Apr 2016 17:08:00 +0200, Sam Tobin-Hochstadt wrote:
> If you're getting the error in the status line, but not when you hit
I haven't been able to replicate the problem, so far, even though my
machine and installation is similar to yours.
Do you have a Racket installation on a different machine that you can
check? Whatever the problem is, my guess is that it's specific to OS X
(but that's just a guess).
Does it
At Fri, 8 Apr 2016 18:50:09 +0200, mazert wrote:
> I try to find an easy way to add the general mouse selection system
> (double click on a word will select it for example) on a text-field gui
> component.
In the case of double-click to select a word, you could implement it
via the keymap in a
Although it's documented, I can add a note to
http://docs.racket-lang.org/pkg/getting-started.html#%28part._github-deploy%29
which currently mentions branches but not subdirectories.
Are there other places where you looked that could also use a note?
At Wed, 23 Mar 2016 14:16:13 -0400, Jay
Use
https://github.com/bennn/foo.git?path=pkg
The "path=pkg" part specifies "pkg" within the repo.
At Wed, 23 Mar 2016 13:55:06 -0400, Benjamin Greenman wrote:
> I have a git repo that contains a Racket package. The repo also contains
> other folders related to the package. How do I share
If you want input and output to be together as an interaction, I
recommend using `examples` (from `scribble/example`) with `eval:alts`
to provide a result manually.
If "the same vertical line" just means "the same style of vertical
line", you could use
@nested[#:style 'code-inset
At Mon, 7 Mar 2016 18:55:15 -0700, Matthew Flatt wrote:
> (I think the documentation should say that `racketinput` uses the
> 'code-inset style, and I'll fix that.)
On closer inspection, the missing documentation seems to be that
`racketresult` doesn't use the 'code-inset style,
I see that there's a big difference in the effect of debugging mode for
this example in v6.3-v6.4 compared to earlier versions.
On my machine:
Racket DrRacket
with debugging
v6.2 ~2500 ms ~3800 ms
v6.4 ~2500 ms ~63000 ms
In both versions,
At Mon, 7 Mar 2016 03:52:39 -0800 (PST), brendan wrote:
> I'm sure I'm missing something obvious here. In the Guide, introducing syntax
> objects, it says:
>
> "Most notably, free-identifier=? determines whether two identifiers refer to
> the same binding:
>
> ...
>
> (free-identifier=? #'car
Here's a recap of a few points, now that I've spent some time
investigating the issue.
Replicating the problem and detecting debugging mode:
If you start DrRacket fresh or create a new tab and paste
(define (total n)
(for/sum ([x (in-range (+ 1 n))]) x))
(time (total 10))
I'm pretty sure this is in the "stuff happens, move on" category. The
error happens when a client abandons a connection, for example, and you
should expect all sorts of communication interruptions.
At Tue, 1 Mar 2016 09:45:03 -0500, Marc Kaufmann wrote:
> Hi,
>
> I am running a live server now,
At Sat, 2 Apr 2016 12:18:45 -0700 (PDT), Pedro Caldeira wrote:
> The way you've proposed allocates the union on the heap, is it
> possible to declare an union on the stack?
No. Racket's evaluation model doesn't include the notion of an
allocation stack that is associated with a continuation.
You
At Mon, 4 Apr 2016 17:47:15 -0400, George Neuner wrote:
> On 4/4/2016 4:57 PM, 'John Clements' via users-redirect wrote:
> > FWIW, it appears that the restriction here is much simpler;
> > specifically, pages can’t be writable and executable *simultaneously.*
> > Moreover, a comment by Matthew
I've pushed a repair for this problem.
For v6.4, I don't have a workaround except to patch
"collects/syntax/private/modcollapse-noctc.rkt"
by changing line 330 from
(normalize-submod `(submod ,(normalize-recur (cadr s)) ,@relto-submod ,@(cddr
s)))])]
to
(normalize-submod `(submod
At Thu, 31 Mar 2016 15:00:35 -0700 (PDT), Pedro Caldeira wrote:
> Hello everyone,
>
> I am trying to use a set of bindings to SDL2 and I am at loss on how to use C
> unions.
>
> If I understood correctly both make-union-type and _union procedures create a
> new ctype; but how do you actually
I agree that the spec for printing inexacts needs to be clarified.
The current output format for flonums is consistent with scanf(), at
least for non-infinity and non-NaN values, since it's produced by
sprintf("%g", ...). Using "%g" means that the number sometimes prints
with an "e..." part and
At Thu, 21 Apr 2016 08:45:13 -0700, Jordan Johnson wrote:
> Is it possible to limit the memory that raco uses for running builds (beyond
> whatever reduction I might get by using the -j option to reduce the number of
> parallel jobs)?
>
> If so, how?
Mostly, a build with a given sets of
At Thu, 21 Apr 2016 11:45:08 -0700 (PDT), Jack Firth wrote:
> The documentation for syntax properties states that if a macro sets a syntax
> property during expansion then instead of the expanded syntax having only the
> set value, it has a cons tree containing that value and any previous values
The compiler inlines the call to `aux` in `fib2` because that call is
readily apparent. It's not so apparent in the other cases that the
function `aux` is always called.
At Wed, 27 Apr 2016 06:42:03 -0700 (PDT), Jerry Jackson wrote:
> Hello all,
>
> I was experimenting a bit yesterday and
That is indeed in "undefined behavior" territory for the GUI library,
because `racket/gui` doesn't pin down what happens when widgets overlap
(including panels and buttons).
One possible fix is to add the 'hscroll style to the horizontal panel.
That change moves the program into "defined
There's not a good way to do this outside the primitives, because it's
a matter of selecting the right GTK widgets.
I've added 'hide-hscroll and 'hide-vscroll, which are like 'hscroll and
'vscroll (i.e., they allow the panel's size to be smaller than its
content) but never show the corresponding
Are you running on OS X? It's a bug in `choice%`, and I've pushed a
repair.
Unfortunately, I don't have a good workaround for the current release,
other than to ignore and revert changes to the control when it's
supposed to be disabled.
At Wed, 18 May 2016 11:22:02 -0700, Kevin Forchione wrote:
At Thu, 19 May 2016 14:30:08 +0300, Dmitry Pavlov wrote:
> Thank you so much. I am eager to try this new feature. I can not figure
> a good way to set it up on my machine.
> I have Racket 6.5 release. My first thought was "let me try this new
> package system":
>
> $ sudo raco pkg update gui
>
At Sun, 8 May 2016 21:40:04 -0700 (PDT), Jack Firth wrote:
> I'm writing a series of macros that attach metadata using syntax properties
> during expansion, and I'm attempting to write a #lang whose module-begin form
> expands the module and then inspects the metadata attached. The problem I'm
At Fri, 13 May 2016 07:35:28 -0700 (PDT), James Brown wrote:
> I want to build racket myself. Is there a guide for that?
Building from source is unlikely to help with the GUI problem, because
the build process doesn't depend on the Gtk installation. Instead, Gtk
is found and linked at run time.
At Tue, 3 May 2016 12:48:47 -0700, Matthew Butterick wrote:
> > Strangely, your Example #4 works the same as example #3, except in
> > DrRacket, where it errors.
>
> It's always nice to share puzzlement ;)
The problem is in `expand` and definition contexts. The problem doesn't
affect `compile`,
At Thu, 5 May 2016 17:32:20 -0700 (PDT), Jack Firth wrote:
> On Thursday, May 5, 2016 at 5:28:06 PM UTC-7, Matthew Flatt wrote:
> > At Thu, 5 May 2016 17:14:57 -0700 (PDT), Jack Firth wrote:
> > > Suppose I have a file in some custom language, like #lang foo, but it
> omits
At Thu, 5 May 2016 17:14:57 -0700 (PDT), Jack Firth wrote:
> Suppose I have a file in some custom language, like #lang foo, but it omits
> the #lang foo line. Is there a way I can run the racket command line program
> in a way where it says "treat this file as if it starts with the line #lang
>
libraries that way. At
> least for libraries that work within whatever implementation you might have.
> >
> >
> > On Thu, May 5, 2016 at 6:45 PM, Jack Firth <jackhfi...@gmail.com
> <mailto:jackhfi...@gmail.com>> wrote:
> > On Thursday, May 5, 2016 a
That's an oversight. I'll push an improvement.
Even with the improvement I have now, checking is not as complete as
you might like. The check ensures that an array value has (at least)
the expected number of elements and that each element's layout (in the
sense of `ctype->layout`) is as expected.
201 - 300 of 942 matches
Mail list logo