Chris Double | 2 Apr 06:11 2004
Picon

Spiffy the web server

What is the status of Spiffy? Is it usable with v1.42? I download and
tried 'make' to install it and it came up with some errors:

bash-2.05b$ ./make 
make: checking all
make:  checking spiffy
make:   checking spiffy-main.scm
make:   checking version-and-release.scm
make:    checking version
make:    checking release
make:  checking spiffy-syntax
make:  making spiffy-syntax because spiffy-syntax does not exist
sh: line 1: cd: extensions: No such file or directory
 _______ _     _ _____ _______ _     _ _______ __   _
 |       |_____|   |   |       |____/  |______ | \  |
 |_____  |     | __|__ |_____  |    \_ |______ |  \_|

Version 1, Build 42 - linux-unix-gnu-x86
(c)2000-2004 Felix L. Winkelmann
; loading -setup ...
Error: (open-input-file) can not open file: "-setup"

make: Failed to make spiffy-syntax: shell invocation failed with non-zero
return
 status
Error: shell invocation failed with non-zero return status
"cd extensions; csi -setup spiffy"
70

Chris.
(Continue reading)

Kim | 2 Apr 09:20 2004

Reading from TCP sockets and time outs

Greetings --

I am a fairly new user to Chicken, and I have been wrestling with a 
problem that I have not yet managed to figure out soley within Chicken.
I am started to suspect I may have to skip out through the FFI to solve
it.

What I would like to have are threads that can wait/block until one of
three events happen:
  1) time out
  2) Data ready to be read on a (tcp) port/file descriptor
  3) Another thread sends a message/signal to unblock the waiting thread

Right now, what I am trying is to have the thread manually set a timeout
with ##sys#thread-block-for-timeout! and the wait on the socket with
##sys#thread-block-for-i/o!, then calling (thread-yield!).  When
the thread unblocks, I am using (file-select) to check to see if the
socket had data to be read, otherwise I check for a time out.  

This does not quite seem to be working.  Ideally, I would also like
to be able to use (##sys#thread-unblock!) or something similiar to
wake up a thread that is otherwise blocked on a time out or a socket.

Suggestions or pointers would be appreciated. :)

Thank you,
Kim

--

-- 
Kim      bookwyrm <at> solluna.org                 http://solluna.org/
(Continue reading)

Category 5 | 2 Apr 17:22 2004

Re: Spiffy the web server

Chris Double's terminal wrote:

> ; loading -setup ...
> Error: (open-input-file) can not open file: "-setup"
> make: Failed to make spiffy-syntax: shell invocation failed with
> non-zero return status
> Error: shell invocation failed with non-zero return status "cd
> extensions; csi -setup spiffy"

Hi Chris,

I haven't looked at Spiffy, but of course csi -setup is now a separate
utility, chicken-setup.  Perhaps this is the only problem?

--

-- 
Chris Double | 3 Apr 09:23 2004
Picon

Continuation basd web framework

A simple continuation based web framework built on top of the HTTP egg is
available here:

  http://radio.weblogs.com/0102385/2004/04/03.html#a568

It's more a demonstration of how to do one than a production quality
server though so don't expect too much.

Chris.
--

-- 
  Chris Double
  chris.double <at> double.co.nz
tayfur | 5 Apr 07:45 2004
Picon

Big apple Mon, 05 Apr 2004 05:53:29

Добро пожаловать в ЛИНГВИСТИЧЕСКИЙ – «NEW YORK»!

Англ. язык

- является универсальным языком и важным способом общения.

- необходим любому деловому человеку.

Важен :

- в создании международных отношений,

- в написании деловой документации,

- в бизнес переговорах,

- понимании технической литературы,

- в путешествиях, аэропортах и гостиницах всего мира.

Именно поэтому вам необходима компания, имеющая опыт в преподавании ESL - program . Опытные преподаватели – лингвисты (носители языка) помогут Вам в достижении высокого уровня знаний, максимально и в короткие сроки. ESL - program является самым известным, успешным и широко распространённым методом преподавания. Использование этого метода помогло изучить англ. язык свыше 5 000. 000 иностранных студентов в США.

Мы работаем над быстрым и правильным пониманием устной речи, грамотной письменной формой и чтением, а также самое главное свободной разговорной речью .

Не откладывайте Ваш шанс на завтра, позвоните консультанты многоканальных телефонов ответят на все Ваши вопросы.

У нас малочисленные группы и удобное для Вас месторасположение!

_______________________________________________
Chicken-users mailing list
Chicken-users <at> nongnu.org
http://mail.nongnu.org/mailman/listinfo/chicken-users
Sunnan | 6 Apr 16:31 2004

SSAX error messages

Sorry to nitpick, but shouldn't SSAX:warn add a newline to its
warnings?

The problem I'm having is that I wrote the (obvious?)
almost-one-liner:

(require '(ssax utils))
(pretty-print (SSAX:XML->SXML (current-input-port) '()))
(newline)

to have an xml2sxml-utility for command-line piping. However, whenever
it emits warnings, since the newline isn't added, the following line
of output also gets written to stderr instead of stdout.

Err, I'm having trouble explaining this coherently. I hope its
understandable enough.

--

-- 
One love,
Sunnan
Kirill Lisovsky | 7 Apr 01:16 2004
Picon

Re: SSAX error messages

Hello!

Do you mean that

(require '(ssax utils))

(pretty-print (SSAX:XML->SXML (current-input-port) '()))
(display "foo")
(newline)

writes "foo" to stderr?

I've checked this code with
http://www.call-with-current-continuation.org/eggs/ssax.egg

For me it writes SXML tree and "foo" to stdout and warnings
to stderr, as intended.
Do you have a different behaviour?

Best regards,
         Kirill.

On Tue, 6 Apr 2004, Sunnan wrote:

> Sorry to nitpick, but shouldn't SSAX:warn add a newline to its
> warnings?
>
> The problem I'm having is that I wrote the (obvious?)
> almost-one-liner:
>
> (require '(ssax utils))
> (pretty-print (SSAX:XML->SXML (current-input-port) '()))
> (newline)
>
> to have an xml2sxml-utility for command-line piping. However, whenever
> it emits warnings, since the newline isn't added, the following line
> of output also gets written to stderr instead of stdout.
>
> Err, I'm having trouble explaining this coherently. I hope its
> understandable enough.
>
> --
> One love,
> Sunnan
>
>
>
> _______________________________________________
> Chicken-users mailing list
> Chicken-users <at> nongnu.org
> http://mail.nongnu.org/mailman/listinfo/chicken-users
>
WFM_Email_Gateway | 7 Apr 03:38 2004

Content violation

Content violation found in email message.

From: chicken-users <at> nongnu.org
To: sonya.cote <at> wholefoods.com

File(s): data8114.pif

Matching filename: *.pif
Sunnan | 7 Apr 12:57 2004

Re: SSAX error messages

Hello.

No, what I mean is that sometimes (not always) when it prints a
warning, it writes the particular following line of sxml to
stderr. (It's possible that the bug is in pretty-print rather than
ssax:warn).

When it warns that it skips the doctype, for example, it would also
print (part of) the first line (*TOP* (*PI* xml "version=\"1.0\"") to
stderr.

It bites me rather seldomly but I would suggest that the warnings be
newline-terminated anyway, which they aren't now.

--

-- 
One love,
Sunnan
Robin Jackson | 8 Apr 17:57 2004

Partnership proposal

Dear Mr./Mrs.

 

We saw that your web-site gets a good amount of visitors and a positive ranking on alexa.com. Due to this and other advanced features that we found on your website, we want to establish a lasting partnership with you, that could bring high revenue to both parties.

 

Seek99.com is a search engine that pays its affiliates on the amount of searches or clicks generated from their websites. By placing one or more of the features listed bellow, you will be able to gain revenue from every visitor that comes to your website. And finally the thing that distinguishes us from the rest of the industry is that we offer Daily Payments via wire transfer, paypal or check.

 

  • Banners at 2 – 8 CPC

  • Search box

  • XML or HTML feeds that pay up to 60% of the gross revenue

  • Text links

  • Direct Click Box

  • Toolbar Downloads

  • Referral program at 10% from total earnings

We can set-up for you a test account, so you can have a look at the speed and all the available features. If you have any questions please contact me by e-mail or messenger.

 

Kind regards

Robin Jackson

Phone: +351965265277

e-mail: sales <at> seek99.com

MSN: sales <at> seek99.com

_______________________________________________
Chicken-users mailing list
Chicken-users <at> nongnu.org
http://mail.nongnu.org/mailman/listinfo/chicken-users

Gmane