Re: [racket-users] Racket GUI: text aligned to the left of other text

2020-08-11 Thread Christopher Lemmer Webber
Thanks! Yes I was looking at a route like that at first but I found that there wasn't really a way to do fancier markup like links, etc using just message% (unless I'm missing something...!) Hence my abuse of an editor that's mostly-locked (idea borrowed from the racket web browser code) ;) Jus

Re: [racket-users] Re: Racket GUI: text aligned to the left of other text

2020-08-11 Thread Christopher Lemmer Webber
Curious... thank you, I was trying to figure out what set-tabs meant. ;) Alex Harsanyi writes: > The simplest thing is to just use tabs. A line of text would be > "\tYour Message here" and an overflowing line would be "\tOverflowing > message". Yes, this will work for variable width fonts. >

Re: [racket-users] Racket GUI: text aligned to the left of other text

2020-08-11 Thread Christopher Lemmer Webber
Ah great, thank you Robby! I'll give both options a try. :) Robby Findler writes: > That code is in the framework: > https://github.com/racket/gui/blob/master/gui-lib/framework/private/text-line-numbers.rkt > > You might also consider having two text%s, one with the names and one with > the rest

[racket-users] Utah snapshots will switch to CS by default

2020-08-11 Thread Matthew Flatt
As you may know, the Racket Git repo recently switched to Racket CS as the default build. That is, if you check out the repo and `make`, then you get an in-place Racket CS build instead of Racket BC. The next step in moving toward Racket CS is to try switching the snapshot builds. Out current plan

Re: [racket-users] ARM32 binaries for CS, or building on ARM 32

2020-08-11 Thread Matthew Flatt
Ah, that makes sense. Does configuring with `--enable-mach=arm32le` work? Using "arm32le" instead of the inferred "tarm32le" avoids memory-fence instructions, so it should solve this problem, but I'm not certain the rest of the build will adapt correctly. At Tue, 11 Aug 2020 14:35:49 -0700 (PDT

Re: [racket-users] ARM32 binaries for CS, or building on ARM 32

2020-08-11 Thread Joey Eremondi
I'm on an old RPi B (maybe a B+). It's pretty ancient, so I might be pushing my luck. Here's my CPU info: pi@raspberrypi:~ $ cat /proc/cpuinfo processor: 0 model name: ARMv6-compatible processor rev 7 (v6l) BogoMIPS: 697.95 Features: half thumb fastmult vfp edsp java tls CPU impl

Re: [racket-users] ARM32 binaries for CS, or building on ARM 32

2020-08-11 Thread Matthew Flatt
Which model Pi are you using? I'm able to build on a Pi 3, so I wonder if it's a difference in processors, where the Arm32 backend is using something that it shouldn't. Whether or not that guess is right, can you try running `gdb` in the "ChezScheme" directory like this? env SCHEMEHEAPDIRS=ta

[racket-users] Third call for draft papers for IFL 2020 (Implementation and Application of Functional Languages)

2020-08-11 Thread Jurriaan Hage
Hello, Please, find below the third call for draft papers for IFL 2020. Please forward these to anyone you think may be interested. Apologies for any duplicates you may receive. best regards, Jurriaan Hage Publicity Chair of IFL ===

[racket-users] ARM32 binaries for CS, or building on ARM 32

2020-08-11 Thread Joey Eremondi
I'm wondering, does anybody have any prebuilt 32-but ARM binaries for Racket on Chez? I'm trying to run a little web-server on a raspberry pi, and I'd prefer to use the Chez version, but I can't seem to get it to build. Alternately, if anybody knows why it won't build and can help, that would

Re: [racket-users] Can Racket implement LockedMagicDoor example of MIXEDJAVA?

2020-08-11 Thread Ryan Culpepper
I don't know of a way to solve that problem using the Racket class system alone, but here is a solution that uses traits instead, which allow you to rename the hook methods after the fact so they don't collide. ;; (require racket/trait) (define secure-trait (trait (inherit nee