[racket] racket guide symbols example html

2011-12-31 Thread ozzloy-racket-users
collects/scribblings/guide/symbols.scrbl:31

(eval:alts @#,elem{@racketfont{#ci}}@racketvalfont{'A} #ci'A)

scribble transforms this line into html output in the guide as:
#ci’A
instead of:
#ci'A

note the quote mark is different.

when paste into drracket repl i get:
reference to an identifier before its definition: ’a
instead of:
'a

i messed with symbols.scrbl but i don't know scribble,
so i'm submitting a bug report instead of a patch.


if possible, please give a short sequence of steps to reproduce the problem:
* go to http://docs.racket-lang.org/guide/symbols.html
* search for "> #ci"
* copy example on that line into drracket repl, hit enter
* get "reference to an identifier before its definition: ’a"
* expect "'a"


version: 3718600125321001174af0fbce50ab206a0e54bf
platform: Linux i686 / Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.2
(KHTML, like Gecko) Ubuntu/11.10 Chromium/15.0.874.106 Chrome/15.0.874.106
Safari/535.2
severity: non-critical
class: documentation bug

  Racket Users list:
  http://lists.racket-lang.org/users


Re: [racket] racket guide symbols example html

2011-12-31 Thread ozzloy-racket-users
 thanks for the repair.  that was fast!

btw, i tried first to submit through drracket's bug submitter,
then through bugs.racket-lang.org

and i got:
Forbidden

You don't have permission to access /bug-report.cgi on this server.
--
Apache/2.2.15 (Fedora) Server at bugs.racket-lang.org Port 80


On Sat, Dec 31, 2011 at 19:07, Matthew Flatt  wrote:

> I've pushed a repair. Thanks for the report!
>
> At Sat, 31 Dec 2011 18:43:11 -0500, ozzloy-racket-users wrote:
> > collects/scribblings/guide/symbols.scrbl:31
> >
> > (eval:alts @#,elem{@racketfont{#ci}}@racketvalfont{'A} #ci'A)
> >
> > scribble transforms this line into html output in the guide as:
> > #ci’A
> > instead of:
> > #ci'A
> >
> > note the quote mark is different.
> >
> > when paste into drracket repl i get:
> > reference to an identifier before its definition: ’a
> > instead of:
> > 'a
> >
> > i messed with symbols.scrbl but i don't know scribble,
> > so i'm submitting a bug report instead of a patch.
> >
> >
> > if possible, please give a short sequence of steps to reproduce the
> problem:
> > * go to http://docs.racket-lang.org/guide/symbols.html
> > * search for "> #ci"
> > * copy example on that line into drracket repl, hit enter
> > * get "reference to an identifier before its definition: ’a"
> > * expect "'a"
> >
> >
> > version: 3718600125321001174af0fbce50ab206a0e54bf
> > platform: Linux i686 / Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.2
> > (KHTML, like Gecko) Ubuntu/11.10 Chromium/15.0.874.106
> Chrome/15.0.874.106
> > Safari/535.2
> > severity: non-critical
> > class: documentation bug
> > 
> >   Racket Users list:
> >   http://lists.racket-lang.org/users
>

  Racket Users list:
  http://lists.racket-lang.org/users


Re: [racket] racket guide symbols example html

2011-12-31 Thread ozzloy-racket-users
so fast!  I love it.  happy new year.  (maybe I'm drunk)

sent by phone. please forgive terseness and typos
On Dec 31, 2011 10:37 PM, "Eli Barzilay"  wrote:

> Three hours ago, ozzloy-racket-users wrote:
> >  thanks for the repair.  that was fast!
> >
> > btw, i tried first to submit through drracket's bug submitter, then
> > through bugs.racket-lang.org and i got:
> >
> > Forbidden
> >
> > You don't have permission to access /bug-report.cgi on this server.
>
> This is fixed now.
>
> --
>  ((lambda (x) (x x)) (lambda (x) (x x)))  Eli Barzilay:
>http://barzilay.org/   Maze is Life!
>

  Racket Users list:
  http://lists.racket-lang.org/users


Re: [racket] release date for RacketCon videos?

2012-03-27 Thread ozzloy-racket-users
+1

sent by phone. please forgive terseness and typos.
reasonrally.com
On Mar 27, 2012 3:55 PM, "David Vanderson" 
wrote:

> Hi,
>
> I don't want to pester too much about this, but any update?
>
> There's still a lot of interest from those of us who were unable to make
> it to RacketCon 2011.
>
> Thanks,
> Dave
>
> On 09/30/2011 09:52 AM, Sam Tobin-Hochstadt wrote:
>
>> The videos are still being processed, and I hope they will be up soon,
>> but I don't have an estimated date.
>>
>> On Fri, Sep 30, 2011 at 12:50 PM, Eric Tanter
>>  wrote:
>>
>>> Hi,
>>>
>>> It seems that the videos of RacketCon are not online yet. Is there an
>>> estimated release date?
>>>
>>> Thanks,
>>>
>>> -- Éric
>>>
>>> __**___
>>>  For list-related administrative tasks:
>>>  
>>> http://lists.racket-lang.org/**listinfo/users
>>>
>>>
>>
>>  
>  Racket Users list:
>  http://lists.racket-lang.org/**users 
>

  Racket Users list:
  http://lists.racket-lang.org/users


Re: [racket] message-box too small to display title

2012-04-25 Thread ozzloy-racket-users
i get roughly the same behavior on
ubuntu 11.10 running gnome 3
racket v5.2.1

#! /usr/bin/env racket

#lang racket/gui

(message-box "goodbye Fred" "hello world")

here's a screenshot:
http://ozzloy.lifeafterking.org/~ozzloy/title-cut-off.png

On Wed, Apr 25, 2012 at 12:53, Harry Spier wrote:

> Its Windows Vista.
>
> Also I don't know if this is also another bug.  When the message-box
> displays, the Racket logo displays not in the title bar but in the
> message area beside the text and it is about double the size as it
> appears in a top-level window frame title bar.
>
>  (I haven't yet tried Patrick suggested solution of setting
> auto-resize to #t as I did a work around of increasing the message
> size to be longer than the title).
> Thanks,
> Harry
>
> On Wed, Apr 25, 2012 at 12:01 PM, Matthias Felleisen
>  wrote:
> >
> > Strange. Works okay on my Mac. What platform?
> >
> >
> > On Apr 25, 2012, at 11:47 AM, Harry Spier wrote:
> >
> >> That displays OK
> >>
> >> but:
> >> #lang racket/gui
> >> (message-box "goodbye Fred" "hello world")
> >>
> >> displays the message box title as "goodby..." because the message box
> >> width is only wide enough to hold the message and the Racket logo
> >>
> >> Thanks,
> >> Harry
> >>
> >> On Wed, Apr 25, 2012 at 9:38 AM, Matthias Felleisen
> >>  wrote:
> >>>
> >>> Do you mean something like this:
> >>>
>  #lang racket/gui
> 
>  (message-box "good bye" "hello world")
> >>>
> >>>
> >>>
> >>>
> >>> On Apr 20, 2012, at 10:30 AM, Harry Spier wrote:
> >>>
>  I've created a simple message-box.  It expands in width to display the
>  message, but if the title is longer than the message, then the title
>  is cut-off.  Is there any way to have the message-box expand enough to
>  display the title in that case.
> 
>  Thanks,
>  Harry Spier
>  
>   Racket Users list:
>   http://lists.racket-lang.org/users
> >>>
> >
>
> 
>  Racket Users list:
>  http://lists.racket-lang.org/users
>

  Racket Users list:
  http://lists.racket-lang.org/users


Re: [racket] `def' ?

2012-05-10 Thread ozzloy-racket-users
am i the only one that thinks not having abbreviated names for anything is
good?
i like not having "def".  especially if it's going to be redundant.
i see this as a slippery slope i don't want to go down.
it annoys me when switching to other languages to have to ask: which way of
shortening "function" does this language go with?  was it "fn"? maybe "fun"?
if the language has a strict policy of not using short versions of words, i
don't have to guess.

as for "def" being easier to read than "define", that's not true.  word
frequency has more impact on reading time than word length for normal
reading.  having more aliases makes both less frequent, so adding "def"
could plausibly make reading both take longer.  most people read whole
words at a time, rather than letter-by-letter.

On Thu, May 10, 2012 at 2:56 PM, Grant Rettke  wrote:

> There is always pretty mode in Emacs.
>
> On Thu, May 10, 2012 at 1:45 PM, Ray Racine  wrote:
> > FYI for those who may not know.  Racket supports λ as an alias for
> lambda.
> >  ctrl-\ in DrRacket.
> >
> >
> > On Thu, May 10, 2012 at 1:59 PM, Nikita B. Zuev 
> wrote:
> >>
> >> +1 for `def' as alias for `define'.
> >> May I also suggest `fun' for `lambda' alias?
> >> Three letter names are the best =)
> >>
> >> (well one can always do it with require rename-in)
> >>
> >> --
> >> Regards,
> >> Nikita B. Zuev
> >> 
> >>  Racket Users list:
> >>  http://lists.racket-lang.org/users
> >
> >
> >
> > 
> >  Racket Users list:
> >  http://lists.racket-lang.org/users
> >
>
>
>
> --
> http://www.wisdomandwonder.com/
> ACM, AMA, COG, IEEE
>
> 
>  Racket Users list:
>  http://lists.racket-lang.org/users
>

  Racket Users list:
  http://lists.racket-lang.org/users


Re: [racket] `def' ?

2012-05-10 Thread ozzloy-racket-users
i didn't assert that word length has nothing to do with readability, just
that word frequency has more impact on reading time than word length.

On Thu, May 10, 2012 at 3:39 PM, Luke Vilnis  wrote:

> I can only speak for myself but I think it's a bit much to assert that
> word length has nothing to do with readability. Heck, maybe that's even
> true for you, but not for everyone. I have certainly felt it to be an
> issue. If the "define" keyword was 50 letters long it would definitely have
> an impact on my ability to read code - it seems to be an issue of degree,
> not existence.
>
> On Thu, May 10, 2012 at 3:26 PM, ozzloy-racket-users <
> ozzloy+users_racket-lang_...@gmail.com> wrote:
>
>> am i the only one that thinks not having abbreviated names for anything
>> is good?
>> i like not having "def".  especially if it's going to be redundant.
>> i see this as a slippery slope i don't want to go down.
>> it annoys me when switching to other languages to have to ask: which way
>> of shortening "function" does this language go with?  was it "fn"? maybe
>> "fun"?
>> if the language has a strict policy of not using short versions of words,
>> i don't have to guess.
>>
>> as for "def" being easier to read than "define", that's not true.  word
>> frequency has more impact on reading time than word length for normal
>> reading.  having more aliases makes both less frequent, so adding "def"
>> could plausibly make reading both take longer.  most people read whole
>> words at a time, rather than letter-by-letter.
>>
>>
>> On Thu, May 10, 2012 at 2:56 PM, Grant Rettke  wrote:
>>
>>> There is always pretty mode in Emacs.
>>>
>>> On Thu, May 10, 2012 at 1:45 PM, Ray Racine 
>>> wrote:
>>> > FYI for those who may not know.  Racket supports λ as an alias for
>>> lambda.
>>> >  ctrl-\ in DrRacket.
>>> >
>>> >
>>> > On Thu, May 10, 2012 at 1:59 PM, Nikita B. Zuev 
>>> wrote:
>>> >>
>>> >> +1 for `def' as alias for `define'.
>>> >> May I also suggest `fun' for `lambda' alias?
>>> >> Three letter names are the best =)
>>> >>
>>> >> (well one can always do it with require rename-in)
>>> >>
>>> >> --
>>> >> Regards,
>>> >> Nikita B. Zuev
>>> >> 
>>> >>  Racket Users list:
>>> >>  http://lists.racket-lang.org/users
>>> >
>>> >
>>> >
>>> > 
>>> >  Racket Users list:
>>> >  http://lists.racket-lang.org/users
>>> >
>>>
>>>
>>>
>>> --
>>> http://www.wisdomandwonder.com/
>>> ACM, AMA, COG, IEEE
>>>
>>> 
>>>  Racket Users list:
>>>  http://lists.racket-lang.org/users
>>>
>>
>>
>> 
>>  Racket Users list:
>>  http://lists.racket-lang.org/users
>>
>>
>

  Racket Users list:
  http://lists.racket-lang.org/users


Re: [racket] Can't open archived .gz file

2012-06-17 Thread ozzloy-racket-users
if it's an archived file, you might try tar -xzf 2012-June-.txt.gz
the -xz will cause tar to use gunzip to decompress, then extract.

On Sun, Jun 17, 2012 at 12:28 PM, Don Green wrote:

> Any ideas what the problem might be opening a .gz file on linux?
> Gunzip goes through the motions and overwrites the 2012-June.txt.gz file,
> creating file: 2012-June.txt.  When a text editor attempts to open this
> file, the file appears to have codes that prevent it from being
> interpretted correctly.
>
> I am able to successfully create a new text file, compress it with gzip to
> create a .gz file, then gunzip it to decompress it, and open it with a text
> editor.
>
> Something is different between the text files I create and the archived
> Racket text files.  I suspected that the problem might be that the Racket
> text files had end of line characters appropriate for Windows, not Linux,
> however I tried opening the file with OpenOffice.org Word Processor, with
> different each of the end of line options in turn.  Each time the file
> appears to have some non-ascii characters.
> Thanks.
>
> 
>  Racket Users list:
>  http://lists.racket-lang.org/users
>
>

  Racket Users list:
  http://lists.racket-lang.org/users


Re: [racket] First RacketCon 2011 video now available

2012-08-03 Thread ozzloy-racket-users
yay!

On Fri, Aug 3, 2012 at 9:56 AM, Sam Tobin-Hochstadt wrote:

> I'm very pleased to announce that the first video from RacketCon 2011,
> featuring Matthew Flatt's opening talk (and his magic 8-ball), is now
> available here: http://www.youtube.com/watch?v=wEgaVMOYLEU
>
> Additional videos will be announced when they're available.  Thanks to
> Jeff Dlouhy for taping and uploading the video.
>
> Sam
> 
>   Racket Users list:
>   http://lists.racket-lang.org/users
>

  Racket Users list:
  http://lists.racket-lang.org/users


Re: [racket] wikipedia on IDE's

2012-08-24 Thread ozzloy-racket-users
maybe you're thinking of geiser?

On Fri, Aug 24, 2012 at 11:45 AM, Matthias Felleisen
wrote:

>
> I have added a placeholder for DrRacket, Emacs Quack, and WeScheme:
>
>
> http://en.wikipedia.org/wiki/Comparison_of_integrated_development_environments#Racket
>
> Would the concerned party please fill in details? Also I am sure that I
> have overlooked another Emacs-y thing that has been announced here and
> whose name I can't recall. Would someone please add it? Thanks -- Matthias
>
>
>
> On Aug 24, 2012, at 10:52 AM, Stephen Bloch wrote:
>
> > There's a Wiki page entitled
> "Comparison_of_integrated_development_environments", indexed by language.
>  There are no entries at all for Scheme or Racket.  Since DrRacket is in
> fact quite a widely-used programming environment, somebody really should
> add this -- ideally somebody directly involved with DrRacket's development.
> >
> > Stephen Bloch
> > sbl...@adelphi.edu
> >
> >
> > 
> >  Racket Users list:
> >  http://lists.racket-lang.org/users
>
>
> 
>   Racket Users list:
>   http://lists.racket-lang.org/users
>
>

  Racket Users list:
  http://lists.racket-lang.org/users