o the Create Performance Task in Racket?
The tricky bit will be the fact that students have to able to mutate
variables (or at least understand mutating variables) and understand/use an
iterative loop construct.
Thought I would ask what others have done before I try to reinvent the
wheel.
Thanks!
Hey all,
Since leaving the classroom to work in industry (I'm currently part of the
Music Metrics team at Amazon. There are some PLT alums on the team by way
of Cal Poly-San Luis Obispo.), I've lost track of what's available in terms
of online/self-study courses.
I sing in a church choir and a ri
Actually, the bar for "Academic and technical books" seems to be covered if
it's used as a textbook by several reputable institutions.
On Mon, Nov 24, 2014 at 9:59 AM, Robby Findler
wrote:
> Bullet 4 seems achievable:
>
> https://en.wikipedia.org/wiki/Wikipedia:Notability_(books)
>
> It's liste
On Wed, Jul 2, 2014 at 3:05 PM, Matthias Felleisen
wrote:
>
>
> While I make provocative statements to launch discussions of what many
> people accept as 'givens', my actual stances are nuanced.
>
>
You can't do this. If we cannot rely on your statements as gospel truth, we
have to think about wha
I used Scala for our intro course last year, mostly because I wanted types.
I know Matthias thinks types are a horrible thing to make students deal
with first semester, but I found that students made different kinds of
mistakes than they did in Racket. When you're writing containsDoll and the
syste
On Sun, Apr 20, 2014 at 9:06 PM, Matthias Felleisen wrote:
>
> ... I will create a slimed down version of big-bang, little-poof?
>
>
I couldn't let this go by. It's probably because I'm brain-dead, but first
I wondered why Matthias was going to create a version of big-bang
specifically for the "sl
I use the Racket ppa. Hopefully, the new version will appear there
shortly. To use:
$ sudo add-apt-repository ppa:plt/racket
$ sudo apt-get update
$ sudo apt-get install racket
You have to wait a bit for the maintainer to put together the .deb
file, but I think it's worth it.
Todd
On Tue, Jan 2
Use the PPA. It makes everything happy:
$ sudo add-apt-repository ppa:plt/racket
$ sudo apt-get update
$ sudo apt-get install racket
If that doesn't work for you, let me know and I'll try reinstalling to
see if I do anything special that I don't recall at the moment.
Todd
On Thu, Jan 2, 2014 at
I just found a lovely Java expression to emphasize the inexactness of
doubles to my AP students. The problem--which I think is from
HtDP/1e--is to find the value of a bag of coins given the number of
pennies, nickels, dimes, and quarters. In BlueJ's code pad (or similar
in DrJava, jGrasp, etc.)
>
One thing that I think math education does horribly at is having
students work from the specific to the general. When we teach
functions, we say f(x) = x^2, now tell me what f(1), f(3), f(7) are.
What we don't do nearly often enough is work in the other direction.
I think a great activity with kid
I've taught programming using Racket for several years as the Intro
course in a public high school. In most states, the powers-that-be
have so little awareness of, or concern about, high school computer
science that as long as you cover the general topics listed in the
course descriptions, you're f
I have to put in a plug for Learn You a Haskell for Great Good. It's
quite entertaining and several of my high school students have managed
to work their way through most of it.
http://www.learnyouahaskell.com
Todd
On Thu, Jul 4, 2013 at 11:44 AM, Sean Kanaley wrote:
> I can't speak to ML vs. H
Whoa! I had no idea that Shriram and the rest of the Rice group were
the impetus for the distillation/clarification and naming of "The
Expression Problem." I'm continually amazed that I've had a chance to
interact with people who've had such a fundamental impact on the
field. And because I came to
In my opinion, there are two kinds of DSLs: good ones and bad ones.
Good ones feel like you're using the programming language, but it has
been tailored to the problem domain. Your intuitions about using the
language still work in the DSL, and the DSL manages to fill in the
boilerplate that would b
You can also use the PPA. It builds the 32-bit and 64-bit packages.
$ sudo add-apt-repository ppa:plt/racket
$ sudo apt-get update
$ sudo apt-get install racket
and you get notified of updates automagically!
On Wed, Jun 19, 2013 at 10:30 PM, Eli Barzilay wrote:
> 50 minutes ago, Joe Python wro
Make sure you're using
#lang racket
declared at the top of your source code and have chosen the appropriate
radio button from the Choose Language... menu. It sounds like you're stuck
in one of the teaching languages.
On Sun, Dec 9, 2012 at 4:40 PM, Geoffrey Boom wrote:
> I'm having trouble with
events and
> replaying for the creation of an animated gif is one of the standard tests
> I run. It passed on my machine a couple of weeks ago -- Matthias
>
>
>
> On Nov 8, 2012, at 9:47 AM, Todd O'Bryan wrote:
>
> > In the universe, if I use the record? option for
In the universe, if I use the record? option for big-bang, I get a bunch of
png files, but no animated gif as suggested by the documentation.
Am I doing something wrong or have I found a bug?
Thanks,
Todd
Racket Users list:
http://lists.racket-lang.org/users
Maybe signatures for the teaching languages? Maybe?
On Wed, Oct 3, 2012 at 9:37 PM, Asumu Takikawa wrote:
> On 2012-10-03 16:21:10 -0600, Danny Yoo wrote:
>> Any details on what we'll be hacking on after Racketcon?
>
> The plan is to hack on small, self-contained improvements such as
> documentat
Well, I know how I'd do it, but I don't think your professor is
teaching you the design recipe or templates, so I'm not sure how to
help you without giving away the answer.
Here's a hint. Most numbers involving natural numbers (0, 1, 2, 3,
...) have the following form:
(define f
(lambda (n)
Wolfram Alpha parses 1/2+2/3i as 1/2 + 2/(3i) and 1/2+(2/3)i as the
complex number with real part 1/2 and imaginary part 2/3.
On Wed, Aug 8, 2012 at 3:47 AM, Jens Axel Søgaard wrote:
> 2012/8/8 Matthias Felleisen :
>>
>> If it weren't against math conventions, I wouldn't mind seeing 1-i1 or
>> 1
mag].
> -Ian
> - Original Message -
> From: "Todd O'Bryan"
> To: "PLT-Scheme Mailing List"
> Sent: Monday, August 6, 2012 6:05:31 PM GMT -05:00 US/Canada Eastern
> Subject: [racket] weirdness with complex numbers
>
> I just discovered that th
I just discovered that the way you enter (and display) a number like
1/2 + (2/3)i
in Racket (and Scheme, presumably) is 1/2+2/3i.
I understand why that is, and can't think of what else to do, but has
anyone had students get confused because the form looks like the i is
in the denominator of the
Hey, now. Some of us haven't had that extra second, yet. Don't ruin it
for us. :-)
On Sat, Jun 30, 2012 at 8:44 PM, Pierpaolo Bernardi wrote:
> I want in racket all that my hp50g can do.
>
> And since you are at it, you could also port the combinatorica library
> to racket.
>
> I hope all of you
This is clearly a problem with you academic types not knowing how
things work in the real world. San Francisco is *full* of people who,
for the right price, will be happy to rifle through Mr. Dlouhy's
things until they find the videos or determine that he doesn't have
them. They might even throw in
Alternatively, draw up a contract with the authors of the parts of
Racket that you really want, which guarantees a level of service you'd
be comfortable with. You could probably get by with Eli, Matthew, and
Robby, and they could probably guarantee quick service for sufficient
amounts of money.
Ch
One of my favorites is the Halloween logo you get on October 31.
On Tue, Feb 14, 2012 at 2:10 AM, Ashok Baktha wrote:
>
> No you are not hallucinating. I got the same heart based logo when using Dr
> Racket.
>
> That is pretty cool! Thanks!
>
>
>
> On 14-Feb-2012, at 12:33, Rüdiger Asche wrote:
Before this goes too far, I just want to let everyone know that I will
never kneel to the Neils, nor go to the mat for the Matthews. Now if
Shriram announced his candidacy for supreme dictator in the
post-apocalyptic society...
:-)
Todd
On Sun, Feb 12, 2012 at 2:49 AM, Erik Dominikus
wrote:
> R
ng than programming in Racket...
>
>
> []'s
>
> Rodolfo Carvalho
>
>
>
> On Thu, Jan 26, 2012 at 21:41, Todd O'Bryan wrote:
>>
>> Yeah, I'm using the same one. I know it's worked before, so I suspect
>> I'm missing a necessary li
hat could also be an issue.
On Thu, Jan 26, 2012 at 6:29 PM, Paul Leger wrote:
> On 01/26/2012 08:05 PM, Todd O'Bryan wrote:
>>
>> I installed Racket from Jon Rafkind's Ubuntu PPA and the only font I
>> have listed in the Preferences is "Monospace."
>>
I installed Racket from Jon Rafkind's Ubuntu PPA and the only font I
have listed in the Preferences is "Monospace."
I suspect there's probably a missing library or something that will
give me access to all kinds of pretty fonts, but I'm not sure what it
might be.
Anybody have a suggestion to try?
I think Racket Noob is actually somebody from another language just
messing with people. The hotmail address, the erudite vocabulary
couched in slightly broken English, the clearly antagonistic tone...it
all adds up to a plant.
The question is who? Is it Guido? Matz? Martin Odersky? I somehow
thin
This is just a guess, but perhaps Windows has helpfully added a ".txt"
extension (or some other nonsense) to the end of your filename? You
might try looking at the file's properties, just to make sure
something weird isn't going on.
On another note, as long as your Fahrenheit->Celsius function wor
I should have been clearer. It is compile-time errors. Runtime work fine.
On Mon, Nov 14, 2011 at 3:34 PM, Danny Yoo wrote:
> On Mon, Nov 14, 2011 at 3:12 PM, Todd O'Bryan wrote:
>> One thing that annoys me about DrRacket is that, if you have an error
>> in the Definition
gt; Why don't you evaluate the require in the REPL directly?
> (The error could be in a require line, so there is no way
> of saying 'load this even if hell breaks loose').
>
>
> On Nov 14, 2011, at 3:12 PM, Todd O'Bryan wrote:
>
>> One thing that annoy
One thing that annoys me about DrRacket is that, if you have an error
in the Definitions pane, none of your required modules are loaded, so
if you try to fiddle in the Interactions window, you get "undefined"
errors. It may be that (require ...) can appear pretty much anywhere,
so I don't know if i
http://news.cnet.com/8301-1001_3-20125026-92/john-mccarthy-creator-of-lisp-programming-language-dies/
Just found this out on someone's Facebook status, of all places.
_
For list-related administrative tasks:
http://lists.racket-lang.org/listinfo/
On Mon, Oct 17, 2011 at 10:14 PM, Eli Barzilay wrote:
> A few minutes ago, Todd O'Bryan wrote:
>> On Mon, Oct 17, 2011 at 9:46 PM, Eli Barzilay wrote:
>> > There's also our own installers, which are very easy to set
>> > up. It's true that it
On Mon, Oct 17, 2011 at 9:46 PM, Eli Barzilay wrote:
> 30 minutes ago, Todd O'Bryan wrote:
>> The PPA makes things much nicer. I always have to install on:
>> - my desktop
>> - my laptop
>> - my teacher machine
>> - both servers at school, and
>> -
7;m not sure what it would be called. There is
> a 'racket nightly' thing I think but I don't have a system set up to actually
> build and upload a new .deb each night.
>
> Do you need this fix to be installed on a bunch of different computers (and
> thus need the PPA to
Jon Rafkind,
Any chance that you might put a version with Matthew's fix on the PPA
site? Also, could you make libgtkglext1 a dependency of the install so
that the OpenGL-dependent games in plt-games work?
(I wish I knew how .debs work so I could help with this instead of
just asking for stuff. I'
On Ubuntu 11.04, you need to install libgtkglext1, which I just got
around to doing.
Todd
On Fri, Sep 30, 2011 at 11:02 AM, Matthew Flatt wrote:
> At Thu, 29 Sep 2011 17:40:29 -0700 (PDT), Richard Ervin wrote:
>> I have a question. Whenever I try to use certain games in the PLT Games
>> applicat
I actually wish it weren't in there. One student discovers it, and
lots of students start using list instead of cons ... empty. That
wouldn't be a problem except that most of them don't have the
conceptual chops yet and I have to fix their confusion.
Todd
On Fri, Sep 30, 2011 at 6:05 PM, Stephen
I think he's saying you could change that to
(require plot/compat)
and it would still work.
On Fri, Sep 30, 2011 at 12:06 PM, Robby Findler
wrote:
> I have some old scripts that I used to build a paper (or maybe just
> play with some data related to the paper I'm not sure) that contain
>
> (re
I think that is, strangely enough, possible.
Look under the Help Desk and choose "Interact with DrRacket in
English." I can set DrRacket to Spanish even though my system is in
English. You have to restart DrRacket, but hopefully it works the same
in Mac OS.
Todd
On Wed, Sep 28, 2011 at 5:19 PM,
Whoops. Looks like it's not there. As Matthias notes, the Second
Edition is a work in progress and that module either isn't finished or
didn't make it into the latest build. You might try one of the nightly
builds, as I think the latest edition of the book was a little behind
the latest build of Dr
Something else to think about is how you get from one answer to the next.
For example, it looks like (distinct-trees 2) is just (distinct-trees
1) with a new tree added as both a left and right child. Ask yourself
how (distinct-trees 3) is related to (distinct-trees 2), how
(distinct-trees 4) is r
Kudos on managing this. It makes printing so much easier in my lab,
and I hadn't realized it had happened until I was going to show my
students the convoluted way we used to get 2-up printing.
Thanks!!!
Todd
_
For list-related administrative tasks:
Given how much of the Racket community--Adelphi, Brown, and
Northeastern all come to mind--has or is going to feel the effects of
Hurricane Irene, I just wanted to send best wishes and let people know
that we're thinking of you!
Todd
_
For list-rel
I realize there's huge reluctance to muck with a release before having
time to check everything, but if it's possible to fix this with a
single small change that everyone agrees is unlikely to break anything
else, might you consider releasing a 5.1.3 or 5.1.2b or 5.1.2+ or some
new version number?
Yeah. Could we just have the Language menu and Teachpacks fade away?
I've been bitten so many times by the hidden stuff that I think it's
easier to have students explicitly write
#lang htdp/bsl
(require 2htdp/image)
at the top of files. I'd prefer something like #lang beginner, but I
don't reall
I'm sure people have seen this before, but...
http://blog.whatitslikeontheinside.com/2007/11/send-in-clones.html
Who's your Mordac?
Todd
On Fri, Jul 8, 2011 at 7:07 AM, Sam Tobin-Hochstadt wrote:
>
> On Jul 8, 2011 6:13 AM, "Stephen De Gabrielle"
> wrote:
>>
>>
>> http://computinged.wordpress
(if (equal? (edition) v)
> text
> '(
>
>
> At Wed, 29 Jun 2011 10:54:50 -0400, "Todd O'Bryan" wrote:
>> Here's a non-working example:
>> -
>> #lang scribble/base
>>
>> @(define edition (make-paramet
9:54 AM, Matthew Flatt wrote:
> At Wed, 29 Jun 2011 09:47:16 -0400, "Todd O'Bryan" wrote:
>> Any thoughts on the second problem--how to unwrap a (list el1 el2 el3
>> ...) so that Scribble interprets it as el1 el2 el3 ... ?
&g
)
>
> At Wed, 29 Jun 2011 09:27:52 -0400, "Todd O'Bryan" wrote:
>> Hey all,
>>
>> I'm trying to use Scribble to create multiple forms of the same
>> document--for example, teacher and student editions of the same text.
>> Both docum
Hey all,
I'm trying to use Scribble to create multiple forms of the same
document--for example, teacher and student editions of the same text.
Both documents share a lot of content, but also have differences.
I created a parameter and function:
(define edition (make-parameter "default"))
(defin
And in contrast to clay tablets and, oh laptops, you can read things
written on paper at the beach without worrying about getting sand in
them. And sitting at the barber shop without worrying that you'll run
out of power. And in the tub without worrying that they'll get the
water muddy. Or electroc
When my students print files on a black and white printer without
turning off syntax coloring, the comments are really hard to read.
Maybe a slate gray or something? You want comments to be easily
readable and easily ignorable--that's a hard sweet spot to hit.
Todd
On Mon, Jun 20, 2011 at 11:20
I have a structure with a guard function. It works well.
However, I want to use it in a (shared ...) construct, and when the
guard runs, a value is #. I'm fine with letting the guard
accept # as a legal value, but I can't figure out any way
to test for it.
Is there such a beast, or is # untouchab
This looks shockingly like a homework problem that a teacher might
have assigned. If you'd send us that teacher's email address, we can
send the answer directly there.
But seriously, people here are very careful not to do assignments for
people. If you get stuck, they're more than willing to offer
I apologize in advance for not actually reading through your code
beyond the point where it began using constructs that I'm not familiar
with, but I will give some advice that may or may not be helpful.
You're trying to return '(x). What you're actually returning is
(x)--an application of the valu
In my on-again, off-again flirtations with the sandbox, I have hit an
error that I don't think I've seen before.
I created a sample student file with a comment box in it. When I try
to load it into a sandbox evaluator, I get the error
file-exists?: `exists' access denied for /usr/lib/racket/libcr
code is currently only in the planet server sources, I believe.
>
> Robby
>
> On Sat, Mar 19, 2011 at 6:46 AM, Jens Axel Søgaard
> wrote:
>> 2011/3/18 Todd O'Bryan :
>>> Anybody have any idea where I should look for that?
>>
>> In hindsight it might be be
If not, I guess you could put together a script that stuck
> (racketblock ...) around everything or the module-enhanced variant,
> which makes it into a scribble file and then run scribble --html on
> that.
>
> Robby
>
> On Fri, Mar 18, 2011 at 1:22 PM, Todd O'Bryan wrote:
&
rd
>
>
> Den 18/03/2011 kl. 20.42 skrev Robby Findler :
>
>> Isn't that some code you wrote?!
>>
>> Robby
>>
>> On Fri, Mar 18, 2011 at 2:28 PM, Jens Axel Søgaard
>> wrote:
>>> 2011/3/18 Todd O'Bryan :
>>>> Given that
Given that Scribble does it, I imagine that there's a way to convert a
.rkt file into something that would look similar in a web browser. Is
there a (not-too-complicated) way to convert a file in WXME format
into something I could inline in an HTML document so that it would
look reasonable. Related
I don't think they do.
I've created a compressed /usr/share directory that, if unpacked and
merged with what's already there, should register a mime type for
application-x-racket, create a menu item in Applications/Programming,
and create icons for both .rkt files and DrRacket itself.
Here's a li
Thank you. I feel better. :-)
On Sat, Feb 12, 2011 at 8:13 AM, Robby Findler
wrote:
> )
>
> On Sat, Feb 12, 2011 at 6:43 AM, Todd O'Bryan wrote:
>> And now I have unresolved tension...
>>
>> On Fri, Feb 11, 2011 at 1:20 AM, Paul Steckler wrote:
>>> I
And now I have unresolved tension...
On Fri, Feb 11, 2011 at 1:20 AM, Paul Steckler wrote:
> In case you haven't seen it:
>
> http://xkcd.com/859/
>
> -- Paul
> _
> For list-related administrative tasks:
> http://lists.racket-lang.org/listinfo/us
I think this is a bug...
#lang racket
(struct lyst (kar kdr)
#:mutable
#:transparent)
(define-struct liist (kar kdr)
#:mutable
#:transparent)
(shared ([a (lyst 7 a)])
a)
(shared ([b (make-liist 7 b)])
b)
produces
(lyst 7 #)
#0=(liist 7 #0#)
In other words, you have to use define-
It appears that image-color? from 2htdp/image returns true no matter
what string you give it.
Is there some other function that actually checks to see if a color is defined?
Todd
_
For list-related administrative tasks:
http://lists.racket-lang.
OK, I understand that the template language in (define-syntax ...)
doesn't give you access to the full panoply of Racket-ness. But I
really want to manipulate the template variables before passing them
on to the next step in the expansion. I've tried (define-for-syntax
..) and a couple of other thi
You might try installing it from the PPA that Jon Rafkind set up:
Information page: https://launchpad.net/~plt/+archive/racket
I saw something similar and the problem was that I was running 64-bit
Ubuntu and the script installs 32-bit binaries, so I needed to install
the 32-bit compatibility libr
Thanks, all! It was figuring out how to rename things on the way out
that I was having trouble with. :-)
On Tue, Jan 18, 2011 at 11:06 AM, Noel Welsh wrote:
> On Tue, Jan 18, 2011 at 3:57 PM, Todd O'Bryan wrote:
>> Is it possible to redefine primitives, like +, and then prov
Is it possible to redefine primitives, like +, and then provide them
to another module?
If so, can you also undefine primitives? Like if I wanted to make a
student language where + only accepted two arguments and the list
function was unavailable, how could I do that?
Todd
___
Thanks so much for doing this! I have ppa's for several other programs
and they're so much more convenient than having to handle upgrades and
installations manually.
On Fri, Jan 14, 2011 at 5:15 PM, Jon Rafkind wrote:
> There was a convenient button on the launchpad website (where the ppa
> lives
On Tue, Jan 11, 2011 at 5:28 AM, Noel Welsh wrote:
> On Mon, Jan 10, 2011 at 9:53 PM, Greg Hendershott
> wrote:
>>
>> What does it mean for the GC to collect a negative number of bytes?
>
> I'm ducking this one...
Clearly it means that the garbage collector thought it could throw
something out,
ere are no examples, and the things I've
tried at random haven't been at all successful.
Todd
On Mon, Jan 10, 2011 at 8:51 PM, John Clements
wrote:
>
> On Jan 10, 2011, at 10:51 AM, Todd O'Bryan wrote:
>
>> Thanks for the pointer. I had hoped to avoid making two
t; It makes it easy to define moderately complex parsers (not necessarily for
> scribble).
>
> Hope this helps,
> Laurent
> P.S. : I know Lazy-doc is probably not really suited to document packages,
> especially for a Scheme community, but I was young... ;)
>
>
> On Sat, Ja
I'm trying to do some analysis of my student's source files. Trying to
grade 90 assignments per week by brute force with no TAs just doesn't
work.
I want to pull out things like data definitions, contracts, templates,
etc., so I can auto-grade the ones that are what I expect them to be,
and quickl
t 5.0.2 window on all edges in the
> usual way.
>
> At Sun, 26 Dec 2010 10:03:38 -0500, "Todd O'Bryan" wrote:
>> Actually, I lied. It turns out that you can get a resize control in
>> the bottom left corner of the window, but that's the only place I'
I made a list of which libs you need. Unfortunately, it was a long
time ago, so I'm not going to point you to it, until I update it. (It
still talks about DrScheme.)
Here's the list of libs:
gcc
g++
libcairo2-dev
libgl1-mesa-dev
libglu1-mesa-dev
libxaw7-dev
libxext-dev
libxft-dev
libxmu-dev
libxt
Actually, I lied. It turns out that you can get a resize control in
the bottom left corner of the window, but that's the only place I've
found that works.
On Sun, Dec 26, 2010 at 10:01 AM, Todd O'Bryan wrote:
> I just installed DrRacket on Ubuntu 10.10, both from the binary a
I just installed DrRacket on Ubuntu 10.10, both from the binary and
compiled from source to be sure the problem existed in both, and I
can't resize the window. The target area for the resize controls has
always been very small (maybe a pixel or two), but I think it just
went to non-existent.
Todd
ntheses in a row and are just there to make visual parsing
easier.)
Hope that helps,
Todd
On Wed, Dec 22, 2010 at 10:22 AM, Todd O'Bryan wrote:
> Here's an algorithm for converting from "normal math" to Racket.
>
> Write your expression:
>
> people * ticket-pr
Here's an algorithm for converting from "normal math" to Racket.
Write your expression:
people * ticket-price - (number-of-shows * 20 + people * ticket-price)
Notice that I didn't put parentheses anywhere that order of operations
didn't require them.
Now, add exactly one pair of parentheses for
Todd
On Sat, Dec 18, 2010 at 10:03 PM, Todd O'Bryan wrote:
> Is there some equivalent of regexp-match* that returns a list of all
> the (non-overlapping) matches in a string.
>
> I want something like:
>
>> (regexp-match*-clusters #px"(?:^|\\s+)([A-Z])" "
Is there some equivalent of regexp-match* that returns a list of all
the (non-overlapping) matches in a string.
I want something like:
> (regexp-match*-clusters #px"(?:^|\\s+)([A-Z])" "This gets Initial CAPS, I
> hope")
'(("T" "T") (" I" "I") (" C" "C") (" I" "I"))
Any luck?
Thanks!
Todd
_
Is there some way, short of rewriting pretty-print myself, to signal
where I want line-breaks when printing an s-expr?
For example, suppose I have '(a b c d), and I'd like it displayed as:
(a b
c
d)
Is there a clever way to do that, or am I in for some work?
Todd
___
Shouldn't this be the icon for the fourth Thursday in November? :-)
http://www.cs.brown.edu/courses/cs173/2007/
Happy Thanksgiving to all the US subscribers! Happy very late
Thanksgiving to the Canadian subscribers! Happy last week of November
to everyone else.
Todd
_
This is probably mostly addressed to Eli, but sent through the list
for posterity's sake.
I have a few 64-bit servers that I need to install Racket on when new
versions come out. I've been using the i386 installer, but would like
to avoid installing the 32-bit compatibility packages, if I can.
Bu
There are really two ways of doing this problem. The way I'd probably use is
to make a list of all the *possible* divisors and then use the filter
function to pull out the actual divisors.
The way you're probably thinking of requires a helper function for the
recursion, because you need to keep tr
Note that
#lang htdp/bsl
is not quite the same as choosing the Beginning Student language from
the menu. In particular, the #lang version (which is newer and toward
which DrRacket seems to be moving, so that choosing languages and
adding teachpacks will actually be in the code, rather than some
n
I should mention, this is using the latest nightly build and I got the
error when I did
(read-assignment-file "/path/to/valid/racket/file.rkt")
Todd
On Fri, Oct 22, 2010 at 10:57 AM, Todd O'Bryan wrote:
> I'm trying to read a student program (which might include images
I'm trying to read a student program (which might include images or
not) as text, just so I can look at it.
I tried this:
#lang racket
(require wxme)
(define/contract (read-assignment-file path)
(-> (or/c string? path-string?) bytes?)
(let* ([the-path (if (path-string? path)
I know this has come up on the list before, and I've reread those
threads but am little confused.
Here's a sample student program file:
--
; volume-of-solid: number number number -> number
; given the length, w
Now I have to figure out how to get to Dallas to hear Matthias's address...
On Tue, Oct 5, 2010 at 6:57 PM, geb a wrote:
> Congratulations! It is well deserved.
>
> Dan
>
> --- On Tue, 10/5/10, Marco Morazan wrote:
>
>> From: Marco Morazan
>> Subject: Re: [plt-edu] SIGCSE AWARDS
>> To: "Viera
universe uses strings instead of symbols, now.
Try (key=? x "up"), etc.
Also, you'll need to be in Advanced language for print (or whatever
print is in Advanced Language), I think.
Todd
On Sun, Oct 3, 2010 at 9:26 PM, Shriram Krishnamurthi wrote:
> Are you using big-bang?
> ___
I think sound is still something that we don't have a good solution
for, yet. (Any college students on the list who need a little
independent study project to work on? I think there are free sound
libraries that work on Mac/Windows/Linux, but how to wire them up is a
little problematic, at least in
On Sun, Sep 19, 2010 at 8:57 PM, Shriram Krishnamurthi
wrote:
> In replying to the below, I'm not ignoring the rest of your message.
>
>> By, the way, why'd you decide on "numeq" instead of
>> "number=?".
>
> I don't think there's a good verbal choice here (though numeq is
> especially ugly). Yo
1 - 100 of 156 matches
Mail list logo