[racket] files using tcp

2013-04-18 Thread deepak verma
how can we send any kind of file using tcp.. can someone illustrate using a simple code. Racket Users list: http://lists.racket-lang.org/users

Re: [racket] files using tcp

2013-04-18 Thread Danny Yoo
On Thursday, April 18, 2013, deepak verma wrote: how can we send any kind of file using tcp.. can someone illustrate using a simple code. What difficulty are you having? From the questions you've asked so far, I'm getting no sense of where you're getting stuck. Can you say more? What have

Re: [racket] files using tcp

2013-04-18 Thread Erich Rast
My P2PTools package on Planet has methods for sending and receiving files over TCP. Best, Erich On Thu, 18 Apr 2013 13:32:38 +0530 deepak verma deepakverma14021...@gmail.com wrote: how can we send any kind of file using tcp.. can someone illustrate using a simple code.

Re: [racket] DRRacket right-click menu fragility in Linux.

2013-04-18 Thread Laurent
Are there any news about that bug? I miss the right-click menu very much... Laurent On Wed, Dec 5, 2012 at 5:30 AM, Neil Toronto neil.toro...@gmail.com wrote: Could what you're experiencing have anything to do with tooltips? It seems my right-click menu doesn't stay up whenever there's a

Re: [racket] files using tcp

2013-04-18 Thread deepak verma
sorry but i dont know from where to start only. On Thu, Apr 18, 2013 at 3:04 PM, Erich Rast er...@snafu.de wrote: My P2PTools package on Planet has methods for sending and receiving files over TCP. Best, Erich On Thu, 18 Apr 2013 13:32:38 +0530 deepak verma

Re: [racket] DRRacket right-click menu fragility in Linux.

2013-04-18 Thread Robby Findler
If you run gracket does the right click menu work better there? Robby On Thu, Apr 18, 2013 at 6:45 AM, Laurent laurent.ors...@gmail.com wrote: Are there any news about that bug? I miss the right-click menu very much... Laurent On Wed, Dec 5, 2012 at 5:30 AM, Neil Toronto

Re: [racket] DRRacket right-click menu fragility in Linux.

2013-04-18 Thread Laurent
Yes, apparently. In DrRacket, deactivating syntax check does not change the problem. On Thu, Apr 18, 2013 at 1:52 PM, Robby Findler ro...@eecs.northwestern.eduwrote: If you run gracket does the right click menu work better there? Robby On Thu, Apr 18, 2013 at 6:45 AM, Laurent

Re: [racket] DRRacket right-click menu fragility in Linux.

2013-04-18 Thread Tim Brown
As an aside, I changed from GNOME to KDE as my Desktop Environment -- I seem to have better luck* with the right menus on the latter. Don't know if handles menu/transient windows differently. * where luck is measure of apparent stability of the right menus. Although it doesn't seem to work any

Re: [racket] DRRacket right-click menu fragility in Linux.

2013-04-18 Thread Robby Findler
This disables check syntax tooltips. Does that help? --- a/collects/drracket/private/syncheck/gui.rkt +++ b/collects/drracket/private/syncheck/gui.rkt @@ -805,7 +805,7 @@ If the namespace does not, they are colored the unbound color. ;; syncheck:add-mouse-over-status : text pos-left

Re: [racket] DRRacket right-click menu fragility in Linux.

2013-04-18 Thread Laurent
Didn't try, but if I disable syntax check, the tooltips don't show, so I guess it's the same. I correct my previous answer: disabling syntax-check helps a little, but the mouse pointer must not move during the whole click (which is quite difficult on my touchpad). The menu stays longer, but still

Re: [racket] slideshow-latex installation problems

2013-04-18 Thread Jay McCarthy
I just updated the package to specify this, btw. Jay On Tue, Apr 16, 2013 at 10:11 AM, Matthew Flatt mfl...@cs.utah.edu wrote: I think the `slideshow-latex' package should probably have an info.rkt that contains (define setup-collects '(slideshow/latex)) so that only the slideshow/latex

Re: [racket] Cross compile to PowerPC

2013-04-18 Thread Sam Tobin-Hochstadt
On Thu, Apr 18, 2013 at 9:51 AM, Tim Brown mighty...@gmail.com wrote: We're currently working on a new package system that will let us better organize the core and make more useful layers --- but that's very much a work in progress. Can I put in a vote for an academic layer and an

Re: [racket] slideshow-latex installation problems

2013-04-18 Thread Laurent
My bad then, I didn't notice the - to / change. Indeed that works. Thanks, Laurent On Thu, Apr 18, 2013 at 3:51 PM, Jay McCarthy jay.mccar...@gmail.comwrote: On Tue, Apr 16, 2013 at 6:50 AM, Laurent laurent.ors...@gmail.com wrote: Then, I could not manage to require the package with any of

Re: [racket] Cross compile to PowerPC

2013-04-18 Thread Matthew Flatt
At Thu, 18 Apr 2013 14:51:55 +0100, Tim Brown wrote: The script (as it is) has STRIP_DEBUG=${CROSS_COMPILE}strip -S on the make install command line. I also run configure with: ./configure --disable-docs --host=$HOST \ STRIP_DEBUG=${CROSS_COMPILE}strip -S But that ${CROSS_COMPILE} bit

Re: [racket] Wikipedia redux

2013-04-18 Thread Stephen De Gabrielle
FWIW this has a good (but brief) summary of the racket enhancements. http://en.wikipedia.org/wiki/Macro_(computer_science)#Hygienic_macros The hygienic macros page has a big section devoted to strategies in languages that lack a hygienic macro system. S. On Wednesday, 17 April 2013, John

[racket] `send-url', unix and `xdg-open'

2013-04-18 Thread Diogo F. S. Ramos
Looking at `collects/net/sendurl.rkt' I see that `xdg-open' is commented out in the `all-unix-browsers' list, although it's still a key in a case in `send-url/unix'. Is there a reason to not use `xdg-open'? Racket Users list: http://lists.racket-lang.org/users

Re: [racket] `send-url', unix and `xdg-open'

2013-04-18 Thread Ryan Culpepper
On 04/18/2013 11:35 AM, Diogo F. S. Ramos wrote: Looking at `collects/net/sendurl.rkt' I see that `xdg-open' is commented out in the `all-unix-browsers' list, although it's still a key in a case in `send-url/unix'. Is there a reason to not use `xdg-open'? It doesn't work with file: URLs that

Re: [racket] Wikipedia redux

2013-04-18 Thread John Clements
On Apr 18, 2013, at 8:18 AM, Stephen De Gabrielle wrote: FWIW this has a good (but brief) summary of the racket enhancements. http://en.wikipedia.org/wiki/Macro_(computer_science)#Hygienic_macros Actually… I think you're referring to the text that I just inserted :). My bad for saying the

Re: [racket] Cross compile to PowerPC

2013-04-18 Thread Matthew Flatt
At Thu, 18 Apr 2013 14:51:55 +0100, Tim Brown wrote: The script (as it is) has STRIP_DEBUG=${CROSS_COMPILE}strip -S on the make install command line. I also run configure with: ./configure --disable-docs --host=$HOST \ STRIP_DEBUG=${CROSS_COMPILE}strip -S But that ${CROSS_COMPILE} bit

[racket] ratification vote for R7RS-small

2013-04-18 Thread William D Clinger
The Scheme Language Steering Committee (SLSC) has announced a vote on whether the ninth draft R7RS produced by Working Group 1 should be endorsed by the SLSC. Votes are due by the end of Sunday, May 13, 2013. For full instructions on how to vote, with explanation of what the vote is about,

[racket] Cross compiling Racket projects (to stand alone executables)

2013-04-18 Thread JP Verkamp
Is there documentation / a list of steps that one can follow to set up a cross compiling build process for Racket where one can build (on one system) stand along executables? For that matter, is it even possible? The only thing I've found thus far is the README on the Racket GitHub repository

Re: [racket] Cross compiling Racket projects (to stand alone executables)

2013-04-18 Thread Matthew Flatt
At Thu, 18 Apr 2013 14:58:31 -0400, JP Verkamp wrote: Is there documentation / a list of steps that one can follow to set up a cross compiling build process for Racket where one can build (on one system) stand along executables? [...] If such a thing doesn't exist right now, is it possible?

[racket] Getting unusual behavior from racket/sandbox: not truly capping memory usage?!

2013-04-18 Thread Danny Yoo
Hi everyone, My hosting provider has been telling me that my compiler server for Whalesong has been using about 1.4GB memory, but I'm _really_ confused because I've got the whole thing under a racket/sandbox constrained at 256MB. Perhaps I'm doing something wrong? Here's what the sysadmins are

[racket] Unable to use Racket for CGI...

2013-04-18 Thread Eduardo Costa
I intend to use Racket for CGI. I can use the basic language without problem. For instance, the below program works perfectly well. #! ./racket/bin/racket #lang racket ;(require plot) (display Content-Type: text/plain) (newline) (newline) (display Hello from Racket!) (newline) However, when I

Re: [racket] Unable to use Racket for CGI...

2013-04-18 Thread Neil Van Dyke
Eduardo Costa wrote at 04/18/2013 07:29 PM: I intend to use Racket for CGI. I can use the basic language without problem. For instance, the below program works perfectly well. #! ./racket/bin/racket I'm not sure that this is the cause of the problem you are seeing, but you probably want to

[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 ;

Re: [racket] Windows to Ubuntu quirk

2013-04-18 Thread Sean McBeth
Windows filesystem is not case sensitive. Well, it can be in some weird cases, but legacy wise it is not. Unix file systems absolutely are case sensitive. Your error is not surprising at all. On Apr 18, 2013 9:15 PM, Patrick King slowthou...@gmail.com wrote: I have broken free of Bill Gates'

Re: [racket] Windows to Ubuntu quirk

2013-04-18 Thread Patrick King
On Thu, Apr 18, 2013 at 9:23 PM, Sean McBeth sean.mcb...@gmail.com wrote: Windows filesystem is not case sensitive. Well, it can be in some weird cases, but legacy wise it is not. It is very good at looking like it's case sensitive, layering the descriptive filenames over the case-insensitive

Re: [racket] Windows to Ubuntu quirk

2013-04-18 Thread Eli Barzilay
Three hours ago, Patrick King wrote: I'm not particularly surprised, other than what appeared to be Private in Windows really IS Private 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.