E_ADDR is a standard
environment variable, so all i needed to do was
(getenv "REMOTE_ADDR")
he also chastised me for not mentioning the cgi bit. :D
--
in friendship,
prad
Racket Users list:
http://lists.racket-lang.org/users
in php i can do this:
$ip=$_SERVER['REMOTE_ADDR'];
to find out what the client ip address is.
how do i do it in racket?
i looked at request-client-ip provided by
web-server/http/request-structs
but that seems to require i run the racket webserver.
--
in friend
ighttpd, maybe add a with-handlers around the failing db call
> and write it to your own log file.
>
i have never done this - sounds really interesting.
i would appreciate knowing where i can find info on how to do this.
thx!
--
in friendship,
prad
Racket Users l
th lighttpd (on
debian).
2. if #1 isn't possible for some reason, any ideas on why i can read,
but not write to the sqlite db?
--
in friendship,
prad
Racket Users list:
http://lists.racket-lang.org/users
i can keep accessing pages on the site?
--
in friendship,
prad
Racket Users list:
http://lists.racket-lang.org/users
ex.
> If you need it, there's always (regexp-replace).
>
that's what i'm doing right now using a hash table with regexp-replace.
i was just hoping someone else had done this in the past so i could
steal it. :D
--
in friendship,
prad
Racket Users list:
http://lists.racket-lang.org/users
bib tools in scriblib/autobib, but don't see these
as being able to serve my present purpose.
--
in friendship,
prad
Racket Users list:
http://lists.racket-lang.org/users
e used?
--
in friendship,
prad
Racket Users list:
http://lists.racket-lang.org/users
in friendship,
prad
Racket Users list:
http://lists.racket-lang.org/users
f course i have no access to the db).
>
> Hi Prad,
>
>
> I want to follow up on this particular issue: it's very possible that
> this particular PLaneT package was not properly compiled upon
> installation.
>
> It's very easy to have PLaneT packages half-installed
Neil Van Dyke writes:
> If you instead try the following, is that sufficiently fast:
>
> (require db/base db/sqlite3)
>
wow! thx neil!
--
in friendship,
prad
Racket Users list:
http://lists.racket-lang.org/users
e))
is there anyway to speed up the loading?
--
in friendship,
prad
Racket Users list:
http://lists.racket-lang.org/users
are there html parsers for racket?
any particular recommendations?
--
in friendship,
prad
Racket Users list:
http://lists.racket-lang.org/users
beautifully.
i'll just upgrade and all should go well!
thx for all this!!
--
in friendship,
prad
Racket Users list:
http://lists.racket-lang.org/users
Neil Toronto
writes:
> On 05/11/2012 11:44 AM, prad wrote:
>> i'm not using drscheme.
>>
>> how do i display things like
>> (object:2d-view% ...)
>> which are produced when we use plot etc.
>>
>> if i run a racket program from command line?
&g
i'm not using drscheme.
how do i display things like
(object:2d-view% ...)
which are produced when we use plot etc.
if i run a racket program from command line?
i thought there might be something like a show function, but it doesn't
seem to be in
#lang racket
--
in friend
just worked from my local
machine
3) used a public nameserver 8.8.8.8
crashes at the same number of records everytime!
so at least we've eliminated the nameserver issue.
now i'd better look at this port stuff.
--
in friendship,
prad
Racket Users list:
http://lists.racket-lang.org/users
Danny Yoo writes:
> On Sunday, May 6, 2012, prad wrote:
>
> i'm trying to understand a consistent error i'm getting while using a
> racket program to get data from a website.
>
> i'm accessing the site to download certain posts using regexp
is reasoning correct?
--
in friendship,
prad
Racket Users list:
http://lists.racket-lang.org/users
Eli Barzilay writes:
> About a minute ago, prad wrote:
>> if i run the last line in the repl, it works.
>> however, if i just try to run the program i the following error:
>>
>> compile: unbound identifier (and no #%app syntax transformer is bound)
>> at: displ
something like this?
--
in friendship,
prad
_
For list-related administrative tasks:
http://lists.racket-lang.org/listinfo/users
is simply amazing!
--
in friendship,
prad
_
For list-related administrative tasks:
http://lists.racket-lang.org/listinfo/users
Neil Van Dyke writes:
> prad wrote at 02/12/2011 08:17 PM:
>> is there a function which will convert
>> "February 12, 2011"
>> to
>> "2011-02-12"
>
> Racket search turns up "string->date" and "date->string". You ca
is there a function which will convert
"February 12, 2011"
to
"2011-02-12"
or do we need to write it ourselves?
--
in friendship,
prad
_
For list-related administrative tasks:
http://lists.racket-lang.org/listinfo/users
in the mid 80s. :D
--
in friendship,
prad
_
For list-related administrative tasks:
http://lists.racket-lang.org/listinfo/users
70s (though neither have things in this detailed
explanation or proofs!) and am looking forward to going through the
paper in the future.
--
in friendship,
prad
_
For list-related administrative tasks:
http://lists.racket-lang.org/listinfo/users
no doubt better explanations, but this is what i found on
short notice).
--
in friendship,
prad
_
For list-related administrative tasks:
http://lists.racket-lang.org/listinfo/users
On Mon, 13 Dec 2010 18:11:22 -0800
prad wrote:
> ok with some fiddling and re-reading i was able to get this to work.
> it puts out a
> ,enter (file )
> in the repl when i start it with C-u C-c C-z
>
i also found out today why i was having problems sometimes and not
others
tead of the way it is for 6.1 module_basics:
(provide rp)
(define (rp ostr lst)
(apply format ostr lst)))
which seems to be for a file to which you provide a direct path as in
(require "utils.rkt")
many thanks!
--
In friendship,
prad
... wit
ny progress after reading 6.3 module paths either. :(
--
In friendship,
prad
... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a sit
i don't pick up on things too quickly sometimes.
it's a great package as is quack - much appreciation to both you and
neil!. i look forward to using both!
many thanks for your help!
--
In friendship,
prad
... with you on your journey
Towards F
quot;)
(setq geiser-mode-smart-tab-p t)
what do i need to do to get geiser eval to be sent to the repl?
--
In friendship,
prad
... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Informatio
few days ago while going through the guide (the
make-pipe part):
file:///usr/share/racket/doc/guide/regexp-match.html
thx again!
--
In friendship,
prad
... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspira
gex a good thing to use in these situations anyway
because it's not like there's anything that's going to be thrown at
them that will stress the system out ... or is that a bad attitude?
--
In friendship,
prad
... with you on your journ
On Mon, 6 Dec 2010 19:48:14 -0700
Jay McCarthy
wrote:
> Try file->string
>
thx jay and sam!
file->string works very nicely for what i'm doing, but i'll check the
read-all out later.
interesting that now i have so many options! :D
-
racket?
(other than read-line right through to the end of the file, may be?)
or is reading it all in at one shot not considered the right way to do
it here?
--
In friendship,
prad
... with you on your journey
Towards Freedom
http://www.towardsfre
provides should enable me to get what i want in a
timely fashion.
the entire racket setup is the highest quality system we've ever
encountered.
--
In friendship,
prad
... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website
ead of what i was getting"
(tm:date 0 0 0 0 18 9 18 0)
so i can probably get it to work right eventually, but is there a way i
can modify the actual file i'm getting from planet?
--
In friendship,
prad
... with you on your journey
Towards F
ommon lisp?).
--
In friendship,
prad
... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
_
F
rce.
no problem though i think quack is just fine for me presently - i have
a lot to learn with what i have.
thank you.
--
In friendship,
prad
... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (websit
-r and i can even compile the
entire buffer without difficulty.
any thoughts on what i can do to get C-c C-c working?
--
In friendship,
prad
... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imaginati
41 matches
Mail list logo