Re: [racket] DrRacket/Ubuntu 12.04 LT

2013-05-09 Thread Patrick King
A while ago, I said "Still having a hard time catching Racket or Ubuntu "in the act"... One thing that seems to happen fairly consistently is that I end up waiting a lot on the background syntax expansion. Sometimes Racket recovers. Sometimes it crashes (or perhaps Ubuntu is shutting it down -- it

Re: [racket] DrRacket/Ubuntu 12.04 LTS

2013-05-02 Thread Patrick King
e, and you >> are >> welcome to change it and/or distribute copies of it under certain >> conditions. >> Type "show copying" to see the conditions. >> There is absolutely no warranty for GDB. Type "show warranty" for >> details. >> Thi

Re: [racket] DrRacket/Ubuntu 12.04 LTS

2013-04-27 Thread Patrick King
; return. Then you should get a stack trace, at least. > > Robby > > > On Sat, Apr 27, 2013 at 4:39 PM, Patrick King wrote: > >> On Sat, Apr 27, 2013 at 5:02 PM, Robby Findler < >> ro...@eecs.northwestern.edu> wrote: >> >>> I'm not sure how

Re: [racket] DrRacket/Ubuntu 12.04 LTS

2013-04-27 Thread Patrick King
On Sat, Apr 27, 2013 at 5:02 PM, Robby Findler wrote: > I'm not sure how to better communicate with ubuntu, but if you run > drracket from a shell / terminal window then there might be some output in > that window after the crash happens that might be a hint. > > pking@pk-Aspire-5733Z:~/Source$ ./

[racket] DrRacket/Ubuntu 12.04 LTS

2013-04-27 Thread Patrick King
New to modern Linux, screwing up Racket for far too long... DrRacket is hanging repeatedly for me under Ubuntu... the screen will darken and the program will become unresponsive. It eventually dies, Ubuntu tries to report the problem, and fails. FWIW, Firefox often exhibits similar behaviour when

Re: [racket] Windows to Ubuntu quirk

2013-04-19 Thread Patrick King
On Fri, Apr 19, 2013 at 12:36 AM, Eli Barzilay wrote: > Three hours ago, Patrick King wrote: > > It really was a > > simple cut & paste of the whole directory tree, and the use of case > > higher up the tree doesn't seem to cause any problem. > > Windows is &

Re: [racket] Windows to Ubuntu quirk

2013-04-18 Thread Patrick King
ivate" in Linux. It really was a simple cut & paste of the whole directory tree, and the use of case higher up the tree doesn't seem to cause any problem. Must I manually build the directories, and copy just the files? Any ideas of where Windows cruft might hide after the cut and paste?

[racket] Windows to Ubuntu quirk

2013-04-18 Thread Patrick King
I have broken free of Bill Gates' shackles, as I have threatened to do for so long, installing Ubuntu alongside Windows with fairly minimal drama. However, when I copied and pasted my existing source code tree over to the Linux side, code like this... #lang racket/base ; Source/Project/Private/fi

Re: [racket] 5.3.3, Scribble, (Scriblogify?), Plot, and Google's BlogSpot

2013-03-20 Thread Patrick King
On Wed, Mar 20, 2013 at 2:31 PM, Ryan Culpepper wrote: > If I change the definition of my-space in your document to just use > make-base-eval, then it works for me. I suspect the problem is that your > evaluator's namespace doesn't have file/convertible attached, whereas the > result of make-base

Re: [racket] 5.3.3, Scribble, (Scriblogify?), Plot, and Google's BlogSpot

2013-03-20 Thread Patrick King
On Mon, Mar 18, 2013 at 8:45 PM, Ryan Culpepper wrote: > Can you provide a small, self-contained test file? > Yes. > #lang scribble/manual > @title{Problems Uploading Scribbled Plots} > @author{SlowThought} > @(require racket/sandbox > racket/vector > scribble/eval) >

[racket] 5.3.3, Scribble, (Scriblogify?), Plot, and Google's BlogSpot

2013-03-18 Thread Patrick King
I had things uploading smoothly to BlogSpot via Scriblogify, but since 5.3.3, my plots don't find their way to Picassa as they did, and my posts only hint at the underlying beauty, showing stuff like ' (object:2d-plot-snip% ...)' instead. Help. Racket Users list: http://lis

Re: [racket] the most functional man in the world

2013-01-07 Thread Patrick King
Must everything be a precisely aimed and politically correct advertisement? Half the charm of the bit (as the bit it parodies) is that it doesn't try to recruit, it just tries to reinforce the beliefs of the believers! Who will say "I won't program in Racket because they have sexist ads"? Far fewer

[racket] Responsibility & Etiquette (was Scriblogify Error -- I'm baaack!)

2012-11-02 Thread Patrick King
On Sat, Oct 27, 2012 at 11:19 AM, Matthias Felleisen wrote: > > On Oct 26, 2012, at 10:38 PM, Patrick King wrote: > > I was way too optimistic, and way too ashamed to bother the community > again. > > > > This should never be the case. > I disagree. The reason my p

Re: [racket] Scriblogify Error -- I'm baaack!

2012-11-02 Thread Patrick King
t; (sandbox-output 'string) > (sandbox-error-output 'string) > #:requires '("../Private/my-racket-mod.rkt" >(f 1 2)) > > I didn't actually try that with `raco scribblogify', but I got the > errors that

[racket] Scriblogify Error -- I'm baaack!

2012-10-26 Thread Patrick King
When last I wrote on my problems with Scriblogify, I attributed them to Windows 7 security... I was way too optimistic, and way too ashamed to bother the community again. I have found a couple smoking guns since then, and found that they, too, had nothing to do with my problem. The following is rep

[racket] OK, it wasn't Scriblogify

2012-09-21 Thread Patrick King
I've been complaining about errors like this: C:\Users...\Source\SlowFlight\Blog>raco scriblogify 12-09-15.scrbl file-or-directory-modify-seconds: `read' access denied for C:\Users...\Source\SlowFlight\private\test-private.rkt ... and blaming scriblogify or raco, because I wasn't getting the erro

Re: [racket] scriblogify/module+ quirk?

2012-09-20 Thread Patrick King
Oops, pardon the failure to edit the subject. -- Forwarded message -- From: Patrick King Date: Thu, Sep 20, 2012 at 7:00 PM Subject: Re: users Digest, Vol 85, Issue 50 To: users@racket-lang.org I recently said: > On Sun, 16 Sep 2012 13:06:42 -0400, Ryan Culpepper >

Re: [racket] users Digest, Vol 85, Issue 50

2012-09-20 Thread Patrick King
I recently said: > On Sun, 16 Sep 2012 13:06:42 -0400, Ryan Culpepper > wrote: > > > >On 09/15/2012 11:05 PM, Patrick King wrote: > > > Windows 7, latest 64 bit Racket, latest Scriblogify from Planet. > > > > > > C:\...\Source\SlowFlight\Blog>r

Re: [racket] scriblogify/module+ quirk?

2012-09-17 Thread Patrick King
On Sun, 16 Sep 2012 13:06:42 -0400, Ryan Culpepper wrote: > >On 09/15/2012 11:05 PM, Patrick King wrote: > > Windows 7, latest 64 bit Racket, latest Scriblogify from Planet. > > > > C:\...\Source\SlowFlight\Blog>raco scriblogify -p SlowFlight > 12-09-15.scrbl > &

[racket] scriblogify/module+ quirk?

2012-09-15 Thread Patrick King
Windows 7, latest 64 bit Racket, latest Scriblogify from Planet. C:\...\Source\SlowFlight\Blog>raco scriblogify -p SlowFlight 12-09-15.scrbl file-or-directory-modify-seconds: `read' access denied for C:\...\Source\SlowFlight\private\test-private.rkt The scribble file renders fine from within DrRa

[racket] state of math expressions in Scribble?

2012-07-10 Thread Patrick King
Oops, forgot to edit the subject line. On Thu, Jul 5, 2012 at 4:58 PM, Jens Axel S?gaard > wrote: > > > > To: Danny Yoo > > Cc: Racket mailing list > > Subject: Re: [racket] state of math expressions in Scribble? > > > > Prabhalar Ragde's code from > > > > http://con.racket-lang.org/pr-slides.p

Re: [racket] users Digest, Vol 83, Issue 19

2012-07-10 Thread Patrick King
On Thu, Jul 5, 2012 at 4:58 PM, Jens Axel S?gaard wrote: > > To: Danny Yoo > Cc: Racket mailing list > Subject: Re: [racket] state of math expressions in Scribble? > > Prabhalar Ragde's code from > > http://con.racket-lang.org/pr-slides.pdf > > works quite well. Code ready to use in: > > https:/

Re: [racket] What math do you want to do in Racket?

2012-07-01 Thread Patrick King
Stats and linear algebra will be welcome, gamma function, too. I also find myself rolling my own integration functions. On Sat, Jun 30, 2012 at 8:44 PM, Neil Toronto wrote: > Being a glutton for punishment, I've decided to write a `math' > collection to be shipped with Racket... > > I know what

Re: [racket] users Digest, Vol 82, Issue 52

2012-06-15 Thread Patrick King
On Fri, Jun 15, 2012 at 12:00 PM, wrote: > > 2. Re: H264 Codec in Racket (Neil Toronto) > On 06/14/2012 07:32 PM, Anurag Mendhekar wrote: > > This, along with other complexities in the standard, cause h264 code to > > be mostly hideous, although video coding is based on very elegant > > mathemat

[racket] scribble/lp: comments stripped, how to stop?

2012-05-02 Thread Patrick King
A few weeks ago, Deren wrote (among other things) "I have finally started learning scribble for use in literate programming to break away from noweb for Racket. It's quite excellent, I am glad to be making the switch. Thank everyone for their work. I miss the math of latex but it isn't a dealbreak

Re: [racket] Poll: Does anybody besides Doug use 'plot'?

2011-10-01 Thread Patrick King
First, I apologize. I play "catch up" on the weekends with this list, and sometimes find myself responding to threads that have long ago gone far afield... Second, sarcasm is used far to little in this field. Instead of "plot/compat", call it "plot/old". When "plot3000" comes along, then the geez

[racket] What a world (was Poll: Does anybody besides Doug use 'plot'?)

2011-10-01 Thread Patrick King
On Fri, 30 Sep 2011 12:05:23 -0500, Robby Findler wrote: >On Fri, Sep 30, 2011 at 12:01 PM, John Clements > wrote: >>?In my world, a change will fall into the "yes, racket is a rapidly changing language" bin; >> it's not unusual for much of my old code to be broken. > >I realize this is a meta ques

Re: [racket] Poll: Does anybody besides Doug use 'plot'?

2011-10-01 Thread Patrick King
Yes I do. Keep it somewhere for compatibility while I learn the latest greatest. -Pat _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Scribble and Contracts

2011-08-01 Thread Patrick King
eval-factory' within > DrRacket (or some other context where `racket/gui/base' is loaded), > then the factory couldn't attach modules from an internal namespace to > the new evaluators that it creates. > > At Sun, 31 Jul 2011 18:36:49 -0500, Patrick King wrote: > >

[racket] Scribble and Contracts

2011-07-31 Thread Patrick King
While trying to scribble some documentation, I came across what seems to be a bug involving contracts and scribble's interaction form. my-module.scrbl: #lang scribble/manual @(require scribble/eval) When I introduce contracts into "my-module.rkt", the following lines... @(define my-eval (make-e

[racket] Price of RackUnit

2011-07-06 Thread Patrick King
I find myself doing stuff like... #lang racket (require rackunit) (provide my-function ...) ; My code (define (my-function ...) ...) ... ; My tests ... (check* ...) ... ; * in the wildcard sense ... so that I never evade testing my code. Does another developer end up testing my code? A user?

Re: [racket] Planet Documentation in Windows

2011-05-20 Thread Patrick King
Works like a charm. Now the errors are clearly mine. Aargh! On Thu, May 19, 2011 at 5:52 PM, Robby Findler wrote: > I've pushed a fix for the next release. In the meantime, here's a diff > that should do the same for you. > > Thanks, > Robby > > diff --git a/collects/planet/private/planet-shared.

[racket] Planet Documentation in Windows

2011-05-19 Thread Patrick King
The following... C>raco planet fileinject slowthought math.plt 1 0 = Installing math.plt on Thu, 19 May 2011 18:4:7 = fprintf: expects type as 2nd argument, g iven: "raco setup: Unpacking archive from C:\\DOCUME~1\\Patrick\\MYDOCU~1\\SOURC E\\MY-PLA~1\\math.plt"; other ar

Re: [racket] Style and Performance question

2011-05-11 Thread Patrick King
extra opinions and to summarize the discussion... At Mon, 9 May 2011 18:38:41 -0500, Patrick King wrote: > I now show the "approved" solution, and my... For generic arithmetic on values other than fixnums, the local binding is likely worthwhile, mostly because it avoids repeated box

[racket] Style and Performance question

2011-05-09 Thread Patrick King
I was working through a problem at Programming Praxis, and was happy to find that my solution closely matched the "approved" solution, but I noted a fairly big difference in our styles, and I thought I'd seek the community's feedback.

Re: [racket] eval, namespaces, and the REPL

2010-12-04 Thread Patrick King
No, I hadn't. Helps me do what want, but I still don't fully grok why it is so. Obviously, more reflection is required ;) Thanks, Matt On Dec 4, 2010 7:19 AM, "Matthew Flatt" wrote: At Sat, 4 Dec 2010 05:43:06 -0600, Patrick King wrote: > Why is it that > > (eval

[racket] eval, namespaces, and the REPL

2010-12-04 Thread Patrick King
Why is it that (eval '(+ 1 2)) works fine in the REPL, but blow up in a source file? Yes, I've grokked that there are 2 different namespaces, but why should it be so? And how do I express "use the namespace of the file you're in"? Thanks Pat _ F

Re: [racket] New Blog Plugs Racket

2010-11-28 Thread Patrick King
On Sat, Nov 27, 2010 at 11:00 AM, TatiCarvalho wrote > > Patrick King writes: > > >Does anybody know an easy way to preserve formatting (especially > > indentation) > when cutting and pasting from DrRacket to blogspot? > > give it a try here: > http://formatmy

Re: [racket] New Blog Plugs Racket

2010-11-24 Thread Patrick King
Yesterday, I wrote Does anybody know an easy way to preserve formatting > (especially indentation) when cutting and pasting from DrRacket to > blogspot? > Duh, I should just scribble it! > TIA > > Pat > YW (idiot) Pat _ For list-related admini

[racket] New Blog Plugs Racket

2010-11-23 Thread Patrick King
I've started a blog at http://slow-thought.blogspot.com. It's only peripherally about programming, but I will be posting scraps of code from time to time. Does anybody know an easy way to preserve formatting (especially indentation) when cutting and pasting from DrRacket to blogspot? TIA Pat ___

Re: [racket] Literate Programming and Scribble

2010-09-11 Thread Patrick King
On Thu, Sep 9, 2010 at 10:31 PM, Eli Barzilay wrote: > > On Sep 9, Karl Winterling wrote: > > > There's MathJax (http://www.mathjax.org) > > MathJax is the best solution I've seen so far -- but it's kind of > cheating... "If we can't get broad support for renering math, we'll > do it ourselves.

Re: [racket] Literate Programming and Scribble

2010-09-09 Thread Patrick King
On Thu, Sep 9, 2010 at 4:23 PM,Deren Dohoda wrote: > I am sorry to ask such introductory questions, but it's killing me to > see "literate programming" in Racket while finding myself unable to > use it. I love noweb and all, but I am writing a literate Racket > program and, well, I'd like to use