Re: [racket] Style mistakes (was: static variables question)

2012-02-21 Thread Don Blaheta
eally* highlighted the fact that lists were fundamentally an either-or type with one branch that was a struct type. It isolated the parts and definitely helped the students focus on the recipe. It also had the benefit that the code didn't get too nested or complex, which was nice. --

[racket] DrRacket spiking CPU

2011-08-22 Thread Don Blaheta
n anything like this? Anyone have ideas where I should look next? -- -=-Don Blaheta-=-=-blahet...@blahedo.org-=-=-=-<http://www.blahedo.org/>-=- "There's safety in numbers. Large prime numbers." --John Gilmore _ For

Re: [racket] Images in Scribble?

2011-07-01 Thread Don Blaheta
TeX/HTML? How would that work? Of course some other subsystem is taking care of the actual back end, but I'm still having to produce a stream of processed data that it can accept---which kind of content (in the sense of content?) would that be? -- -=-Don Blaheta-=-dblah...@monm.edu-=-=-&

[racket] Images in Scribble?

2011-07-01 Thread Don Blaheta
like more of a near miss than something insurmountable---it's seeing the image, it's just in an "unsupported context". I see @image-element, but that's for summoning an image from an outside file; is there some other form that lets me make use of image literals? -- -=-D

Re: [racket] Integrating scribble and LaTeX

2011-06-28 Thread Don Blaheta
Quoth Matthew Flatt: > At Tue, 21 Jun 2011 15:39:06 -0500, Don Blaheta wrote: > > If I put a single > > example in a file and then run > > > >scribble --latex myfile.scrbl > > > > I get a LaTeX file that is an entire \document, not one that I can &g

Re: [racket] Integrating scribble and LaTeX

2011-06-21 Thread Don Blaheta
ad". This response feels a lot like the rightly-derided responses of "install linux!" whenever anyone asked "how to I get Windows to..." on certain message boards a few years back: unhelpful and annoying. So verbatim it is, I guess. -- -=-Don Blaheta-=-dblah...@m

[racket] Integrating scribble and LaTeX

2011-06-21 Thread Don Blaheta
the documentation that seemed relevant and couldn't find anything that did this. Where should I be looking? -- -=-Don Blaheta-=-dblah...@monm.edu-=-=-<http://www.monmsci.net/~dblaheta/>-=- I intend to live forever---so far, so good.

Re: [racket] My PLT->Racket porting experience

2011-04-20 Thread Don Blaheta
Progress! Executive summary: if your students are losing their test results window, tell them to stop minimising it. Quoth Robby Findler: > On Thu, Mar 3, 2011 at 7:33 AM, Don Blaheta wrote: > > This reminds me of a related problem my students often run into: losing > > the test

[racket] command-line racket with mred components

2011-03-04 Thread Don Blaheta
is; racket seems to somehow be differentiating based on where I'm ssh'ed in from, which is completely bizarre. I've attached the script in case that will shed light on the matter. -- -=-Don Blaheta-=-dblah...@monm.edu-=-=-<http://www.monmsci.net/~dblaheta/>-=- "They're pret

Re: [racket] My PLT->Racket porting experience

2011-03-03 Thread Don Blaheta
Quoth Robby Findler: > On Thu, Mar 3, 2011 at 7:33 AM, Don Blaheta wrote: > > I wouldn't want to see the test case window be sticky and impossible to > > send to the back, but it would be nice if it always came to front when > > you click Run and there are some failure

Re: [racket] My PLT->Racket porting experience

2011-03-03 Thread Don Blaheta
or the window. I wouldn't want to see the test case window be sticky and impossible to send to the back, but it would be nice if it always came to front when you click Run and there are some failures. [0]Well, not always. Sometimes the window resurfaces, and I don't know why.

Re: [racket] tests/eli-tester feedback (Was: Racket unit testing)

2011-02-19 Thread Don Blaheta
quot;) it's not obvious whether it's output->string or function-of-interest being tested, while in (function-of-interest 42) =?> (lambda (x) (string=? (output->string x) "fnord")) it's clearer that this is a test case for function

[racket] Happy Valentine's Day!

2011-02-14 Thread Don Blaheta
On behalf of my students, we'd all like to thank you for the lovely easter egg in today's splash screen. :) Happy Valentine's Day! -- -=-Don Blaheta-=-dblah...@monm.edu-=-=-<http://www.monmsci.net/~dblaheta/>-=- Children seldom misquote you. In fact, they usually repeat w

[racket] Highlighting in DrRacket

2011-02-07 Thread Don Blaheta
rag extends the selection. In DrRacket, it just locks in at the originally-selected ident or line. It'd be nifty if double-click-drag caused select-whole-words behaviour and triple-click-drag caused select-whole-lines, but I'd settle for the drag just extending the selection on an indivi

[racket] overlay and overlay/xy

2011-01-30 Thread Don Blaheta
ets and backwards semantics of the function. I'm trying to decide if I can just tell them to avoid overlay/xy entirely, but I don't think I can---although place-image is great, sometimes you need an offset without cropping. -- -=-Don Blaheta-=-dblah...@monm.edu-=-=-<http://www.monmsci.n

Re: [racket] Installing on Ubuntu, "command not found"

2011-01-26 Thread Don Blaheta
installed them all anyway). Everything seems to be working now. -- -=-Don Blaheta-=-dblah...@monm.edu-=-=-<http://www.monmsci.net/~dblaheta/>-=- "Drawing on my fine command of language, I said nothing." _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

[racket] Installing on Ubuntu, "command not found"

2011-01-26 Thread Don Blaheta
wouldn't have thought that would cause an incompatibility. I'm actually a bit stumped on where to look next---has anyone seen a problem like this? -- -=-Don Blaheta-=-dblah...@monm.edu-=-=-<http://www.monmsci.net/~dblaheta/>-=- "Everyone in the sciences secretly believes that mathema

Re: [racket] Plea for neologism

2010-11-24 Thread Don Blaheta
being prevented is essentially noncompositionality. To turn it around, if I hand you a compositional expression, I also hand you the syntax rule and the values of all evaluable sub-expressions, then you can 100% reliably hand back the value of the overall expression, and this seems to be the core d

Re: [racket] true vs. True in BSL

2010-11-21 Thread Don Blaheta
Quoth Matthias Felleisen: > On Nov 21, 2010, at 8:18 PM, Don Blaheta wrote: > > Quoth Matthias Felleisen: > >> I have removed the signatures from BSL precisely for reasons like that. > >> Please update to Version 5.0.2. > >> > >> Once again, apol

[racket] Top-down design, wish-lists, and testing

2010-11-21 Thread Don Blaheta
nflict (because both are trying to define the function), while it's harder for a lingering check-stub to notice that the corresponding function has a "real" function body now. Sorry, that got long; I've been thinking about this for a few months now. Let me know what y&#

Re: [racket] true vs. True in BSL

2010-11-21 Thread Don Blaheta
ester-time, but I may tell the students to upgrade their personal copies. (Is this change listed in any of the release notes for 5.0.2?) -- -=-Don blaheta-=-dblah...@monm.edu-=-=-<http://www.monmsci.net/~dblaheta/>-=- "Even on the small scale, when you look at any programming organi

[racket] true vs. True in BSL

2010-11-19 Thread Don Blaheta
ed value. at line 5, column 0 I nearly filed this as a bug, and I still claim that it is one, but once I figured out what was actually going on (and the TR connection) I figured I'd best post it here. -- -=-Don blaheta-=-dblah...@monm.edu-=-=-<http://www.monmsci.net/~dblaheta/>-=