Re: [racket-dev] in-file-lines sequence

2011-01-21 Thread Doug Williams
Thanks for the fix and suggestions. On Fri, Jan 21, 2011 at 1:37 PM, Matthew Flatt wrote: > At Fri, 21 Jan 2011 10:53:42 -0700, Doug Williams wrote: > > What is the best way to perform actions after a sequence terminates? Here > is > > a simple example that is like in-lines, but takes a path ins

[racket-dev] Out-of-range error from vector-copy

2011-01-21 Thread Neil Toronto
One of these things is not like the others: > (list-tail '(1 2 3) 3) '() > (substring "123" 3) "" > (subbytes #"123" 3) #"" > (flvector-copy (flvector 1.0 2.0 3.0) 3) # > (flvector-length (flvector-copy (flvector 1.0 2.0 3.0) 3)) 0 > (vector-copy #(1 2 3) 3) vector-copy: start index 3 out of rang

[racket-dev] saved bug reports

2011-01-21 Thread Matthias Felleisen
I wanted to say thank you for adding 'saved bug reports' -- it was so helpful while Eli's machine was 'away' -- Matthias _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev

Re: [racket-dev] MySQL connect in Racket

2011-01-21 Thread Stefan Schmiedl
On Fri, 21 Jan 2011 14:44:18 -0700 Kevin Tew wrote: > Google for plt planet mysql > > http://planet.plt-scheme.org/display.ss?package=mysql.plt > > Note that the planet web server is down right now, so the page won't > load, check it later today. > > Kevin Tew > > On 01/21/2011 02:38 PM

Re: [racket-dev] MySQL connect in Racket

2011-01-21 Thread Kevin Tew
Google for plt planet mysql http://planet.plt-scheme.org/display.ss?package=mysql.plt Note that the planet web server is down right now, so the page won't load, check it later today. Kevin Tew On 01/21/2011 02:38 PM, Insik Cho wrote: Hi racketers, I would like to build a test web serv

[racket-dev] MySQL connect in Racket

2011-01-21 Thread Insik Cho
Hi racketers, I would like to build a test web server in racket, and need to connect to MySQL dbms. Googling with keywords 'racket lang mysql connect', I couldn't get any clue. Do you have any idea? - Joe _ For list-related administrative tasks:

Re: [racket-dev] server availability

2011-01-21 Thread Matthias Felleisen
On Jan 21, 2011, at 1:33 PM, Brian Mastenbrook wrote: > Keeping a system up to date can be tricky; for "set it and forget it" systems > I tend to use the LTS version of Ubuntu with unattended-upgrades and Ksplice > for kernel security patches. There's no guarantee that you won't be affected >

Re: [racket-dev] in-file-lines sequence

2011-01-21 Thread Matthew Flatt
At Fri, 21 Jan 2011 10:53:42 -0700, Doug Williams wrote: > What is the best way to perform actions after a sequence terminates? Here is > a simple example that is like in-lines, but takes a path instead of a port. > It works, but I was wondering if there is a better way to do it. > > (define (in-f

Re: [racket-dev] server availability

2011-01-21 Thread Brian Mastenbrook
On 1/21/2011 6:22 AM, Robby Findler wrote: Thanks for the comments, Neil. Do you have any specific recommendations on how to avoid these problems? (Eli can comment more, but the current downtime is because the machine that runs planet (and a bunch of other services) was hacked and its operating

[racket-dev] (no subject)

2011-01-21 Thread Doug Williams
What is the best way to perform actions after a sequence terminates? Here is a simple example that is like in-lines, but takes a path instead of a port. It works, but I was wondering if there is a better way to do it. (define (in-file-lines path) (let ((port (open-input-file path #:mode 'text)))

Re: [racket-dev] server availability

2011-01-21 Thread Robby Findler
My apologies. I asked that the mailing list be informed, but I probably should have just done it myself. Robby On Fri, Jan 21, 2011 at 7:33 AM, Noel Welsh wrote: > The #1 thing PLT could do is tell people what is going on. I've been > waiting for two days to install Racket on a server and have o

Re: [racket-dev] [racket] server availability

2011-01-21 Thread Stefan Schmiedl
Racketeers, how much effort would it be to keep a rsync'ed copy of the files relevant for the end-user on another machine? Then you could make (require (planet...)) a bit smarter to check a list of server (mirrors) for the packages and the impact on racket users would be minimized. s. ___

Re: [racket-dev] server availability

2011-01-21 Thread Matthias Felleisen
Apologies. For whatever reason, Eli didn't inform us until a while into the disaster and when he did tell me, he may have assumed I'd inform people and I definitely assumed he'd inform people. He implied that we'd be up this morning or even last night (US ET). I have no clue what happened but w

[racket-dev] export current definitions

2011-01-21 Thread Insik Cho
Hi guys, I am working in racket console, and want to export all definitions to a file. Do you have any idea? - Joe _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev

Re: [racket-dev] server availability

2011-01-21 Thread Noel Welsh
The #1 thing PLT could do is tell people what is going on. I've been waiting for two days to install Racket on a server and have only just found out 1) the problem and 2) the ETA (unknown). N. On Fri, Jan 21, 2011 at 12:22 PM, Robby Findler wrote: > Thanks for the comments, Neil. Do you have any

Re: [racket-dev] racket-lang down?

2011-01-21 Thread YC
Looks like planet is down. On Wed, Jan 19, 2011 at 10:56 PM, Jon Rafkind wrote: > its working for me. i just submitted a bug, too. > > > _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev

Re: [racket-dev] What is handle in racket?

2011-01-21 Thread Insik Cho
I got it. Thanks Ray! - Joe On 01/21/2011 05:12 AM, Jay McCarthy wrote: 2011/1/21 Insik Cho: hi guys, I have used 'call/input-url' function frequently, whose definition is: (call/input-url URL connect handle) → any URL : url? connect : (url? . -> . input-port?) handle : (input-port? . ->

Re: [racket-dev] What is handle in racket?

2011-01-21 Thread Jay McCarthy
2011/1/21 Insik Cho : > hi guys, > > I have used 'call/input-url' function frequently, whose definition is: > > (call/input-url URL connect handle) → any > URL : url? > connect : (url? . -> . input-port?) > handle : (input-port? . -> . any) > > I coded like: > > (define a-url (string->url "http://w

[racket-dev] What is handle in racket?

2011-01-21 Thread Insik Cho
hi guys, I have used 'call/input-url' function frequently, whose definition is: (call/input-url URL connect handle) → any URL : url? connect : (url? . -> . input-port?) handle : (input-port? . -> . any) I coded like: (define a-url (string->url "http://www.google.com";)) (call/input-url a-url g

Re: [racket-dev] server availability

2011-01-21 Thread Robby Findler
Thanks for the comments, Neil. Do you have any specific recommendations on how to avoid these problems? (Eli can comment more, but the current downtime is because the machine that runs planet (and a bunch of other services) was hacked and its operating system is being re-installed now. We're not s

Re: [racket-dev] racket-lang down?

2011-01-21 Thread Noel Welsh
It's dead dead dead for me and others on IRC. N. On Thu, Jan 20, 2011 at 6:56 AM, Jon Rafkind wrote: > its working for me. i just submitted a bug, too. > > On 01/19/2011 04:44 PM, John Clements wrote: > > It looks like racket-lang.org is down. > > John ___

[racket-dev] server availability

2011-01-21 Thread Neil Van Dyke
I've noticed PLT/Racket servers down a few times over the years. I don't know how frequent the downtime is, but I could imagine downtime of the PLaneT server in particular being disconcerting to someone whose software depends on PLaneT. If anyone is thinking about server availability, for PLa

Re: [racket-dev] racket-lang down?

2011-01-21 Thread Eduardo Bellani
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 For me planet is down too. And apparently it's not just me: http://www.downforeveryoneorjustme.com/http://planet.racket-lang.org/ On 01/20/2011 07:11 AM, Jos Koot wrote: > I can't enter racket-lang.org either. > Jos > >> -Original Message-

[racket-dev] Is racket-lang.org server down?

2011-01-21 Thread Insik Cho
hi guys, is the web server down? I cannot access it. - Joe _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev

Re: [racket-dev] racket-lang down?

2011-01-21 Thread Stephen Chang
Seems like the site is down again :( On Thu, Jan 20, 2011 at 1:56 AM, Jon Rafkind wrote: > its working for me. i just submitted a bug, too. > > On 01/19/2011 04:44 PM, John Clements wrote: > > It looks like racket-lang.org is down. > > John > > > _

Re: [racket-dev] racket-lang down?

2011-01-21 Thread Jos Koot
I can't enter racket-lang.org either. Jos > -Original Message- > From: dev-boun...@racket-lang.org > [mailto:dev-boun...@racket-lang.org] On Behalf Of John Clements > Sent: 20 January 2011 00:44 > To: plt-dev Developers > Subject: [racket-dev] racket-lang down? > > It looks like racket-l

Re: [racket-dev] Building without docs

2011-01-21 Thread John Clements
On Jan 18, 2011, at 8:07 AM, Eli Barzilay wrote: > Two minutes ago, Noel Welsh wrote: >> For posterity, this works: >> >> On Mon, Jan 17, 2011 at 3:12 PM, Robby Findler >> wrote: >>> You can also set PLT_SETUP_OPTIONS to "-D" and then make install will >>> avoid building the docs. >> >> This d