Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[PHP-WIN] Re: coffee message

0 views
Skip to first unread message

Laserjetter

unread,
Dec 17, 2001, 4:18:49 PM12/17/01
to php-w...@lists.php.net
The interface could even be written in something like VisualBasic, C++ or
even QuickBasic and compiled as a DOS exe. This would let you access the
serial port and return the value of the sensor.
If you want to be really flash, a serial output could be connected to a
mains relay which could switch the coffee machine on from the computer!!!!

"Erik H. Mathy" <er...@butlerandco.com> wrote in message
news:001801c1873f$6e666be0$3700020a@erik_laptop...
> > If you had some kind of temperature sensor on the coffee pot and this
was
> > connected to a machine running Apache+PHP and an interace program, the
php
> > page could use exec() to run the interface program say every 5 seconds
to
> > retrieve the temperature and if it was above say xo it could print
"Coffee
> > ready" in the browser window (or active desktop on Win).
> > If it was a unix machine, it could send a messgae to all the networked
> > terminals in the workgroup i.e. those associated with coffe machine 1.
>
> Actually, you bring up a good point. :)
>
> But, if he's stuck with Win2k on a CMB VIC20 he might want to consider
> ditching IIS5 and going with something really small, like Xitami. He can
run
> the exec() through PHP as suggested with minimal memory/processor usage.
>
> I don't even want to consider the security aspects of a Win2K/IIS5 install
> on a nuclear installation, though! :0
>


B.A.T. Svensson

unread,
Dec 17, 2001, 4:02:08 PM12/17/01
to php-w...@lists.php.net
We are in Harrisburg...

>-----Original Message-----
>From: alain samoun [mailto:al...@sonic.net]
>Sent: Monday, December 17, 2001 10:00 PM
>To: Svensson, B.A.T. (HKG); php-w...@lists.php.net
>Subject: RE: [PHP-WIN] Re: coffee message
>
>
>Yes, actually it does as there are several COM to control the serial port.
>But your nuclear powered coffee machine would probably better be controlled
>by something that has no relation with M$, or just tell us where your
>installation is so we can move.
>A+
>Alain
>
>-----Original Message-----
>From: Svensson, B.A.T. (HKG) [mailto:B.A.T.S...@lumc.nl]
>Sent: Monday, December 17, 2001 12:55 PM
>To: php-w...@lists.php.net
>Subject: RE: [PHP-WIN] Re: coffe message
>
>
>The only thing I found about COM with php was the Component
>Object Model,
>and that doesn't really relate to the serial port, does it?
>
>>-----Original Message-----
>>From: alain samoun [mailto:al...@sonic.net]
>>Sent: Monday, December 17, 2001 9:48 PM
>>To: LaserJetter; php-w...@lists.php.net
>>Subject: RE: [PHP-WIN] Re: coffe message
>>
>>
>>Maybe also possible using some COM locally if the machine has
>>a serial port.
>>A+
>>Alain
>>
>>-----Original Message-----
>>From: LaserJetter [mailto:newsa...@saracenvsu.org.uk]
>>Sent: Monday, December 17, 2001 12:42 PM
>>To: php-w...@lists.php.net
>>Subject: [PHP-WIN] Re: coffe message
>>
>>
>>Yes, if you had a coffee machine with a network socket and
>>supporting TCP/IP
>>I can see that this would clearly be possible using sockets!!!
>>
>>
>>
>>"B.A.T. Svensson" <B.A.T.S...@lumc.nl> wrote in message
>>news:27E647E5629ED211BF78009027289C6302157D67@mail1...
>>> Is there a way for PHP to check the coffee machine if the
>>coffee is ready?
>>>
>>> Maybe someone has a sample brew for me?
>>
>>
>>
>>--
>>PHP Windows Mailing List (http://www.php.net/)
>>To unsubscribe, e-mail: php-windows...@lists.php.net
>>For additional commands, e-mail: php-wind...@lists.php.net
>>To contact the list administrators, e-mail:
>>php-lis...@lists.php.net
>>
>>
>>--
>>PHP Windows Mailing List (http://www.php.net/)
>>To unsubscribe, e-mail: php-windows...@lists.php.net
>>For additional commands, e-mail: php-wind...@lists.php.net
>>To contact the list administrators, e-mail:
>>php-lis...@lists.php.net
>>
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-windows...@lists.php.net
>For additional commands, e-mail: php-wind...@lists.php.net
>To contact the list administrators, e-mail:
>php-lis...@lists.php.net
>
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-windows...@lists.php.net
>For additional commands, e-mail: php-wind...@lists.php.net
>To contact the list administrators, e-mail:
>php-lis...@lists.php.net
>

B.A.T. Svensson

unread,
Dec 17, 2001, 4:25:09 PM12/17/01
to php-w...@lists.php.net
>If you had some kind of temperature sensor on the coffee pot and this was
>connected to a machine running Apache+PHP and an interace program, the php
>page could use exec() to run the interface program say every 5 seconds to
>retrieve the temperature and if it was above say xº it could print "Coffee

>ready" in the browser window (or active desktop on Win).
>If it was a unix machine, it could send a messgae to all the networked
>terminals in the workgroup i.e. those associated with coffe machine 1.

It is fascinating to see how this group explcitly (PHP-WIN) dedicated to M$
software warms for thge OpenSource software, and exploits the bad sides of
M$. But that's life isn't it?! We don't work with what we like to work with,
but what we got paid to work with.

Anyone doesn't running Linux/FreeBSD/NetBSD/Solaris at home raise a hand,
please.


B.A.T. Svensson

unread,
Dec 17, 2001, 4:19:49 PM12/17/01
to php-w...@lists.php.net
>I don't even want to consider the security aspects of a
>Win2K/IIS5 install on a nuclear installation, though! :0

But it uses a Motorola 6502, and that's been proven to be a secure CPU. By
the way it is Win200 and not Win2k.

Erik H. Mathy

unread,
Dec 17, 2001, 4:16:58 PM12/17/01
to php-w...@lists.php.net
> But it uses a Motorola 6502, and that's been proven to be a secure CPU. By
> the way it is Win200 and not Win2k.

Is that their new embedded server OS?

B.A.T. Svensson

unread,
Dec 17, 2001, 4:39:58 PM12/17/01
to php-w...@lists.php.net

No, that's Windoes CE (CErebral cavernous malformations), Win200 in our in
house patched version of Win3.11 cross complied on a Microbee to a Sinclair
to complain with the Temperature Monitoring System, the Containment
Environmental Monitoring System and the Non Essential Service Water System
as described in IEEE 805.

As you guys might now, we some times over do our coffee a little bit here in
Harrisburg. Therefor one guy (actually the cleaner) thought it might be a
good idea to keep it monitored by a machine instead.

Alain Samoun

unread,
Dec 17, 2001, 4:56:04 PM12/17/01
to Svensson, B.A.T. (HKG), php-w...@lists.php.net
Got to leave this interesting thread, but keep the good work, at least
win200 is more secure.
A+
Alain


-----Original Message-----
From: Svensson, B.A.T. (HKG) [mailto:B.A.T.S...@lumc.nl]
Sent: Monday, December 17, 2001 1:40 PM
To: php-w...@lists.php.net

--

Robin Bolton

unread,
Dec 17, 2001, 4:42:23 PM12/17/01
to er...@butlerandco.com, php-w...@lists.php.net
Well, technically, depending on what game you play, you may end up using an
MS operating system. Some Dreamcast games were developed using Windows CE,
and ship with the OS on the GD-ROM. All of the other games use Sega's own
OS.

As for the large amount of MS bashing/anti-bashing going on here lately, I
always got the impression that the Windows part of this list more often than
not indicated the development platform, not the deployment platform. Each OS
has its uses.

I use Windows almost exclusively for my development (albeit with Apache not
IIS), and Linux/BSD (whatever my HSP uses) for the hosting. I would suspect
that most people here are running a similar setup.

-----Original Message-----
From: Erik H. Mathy [mailto:er...@butlerandco.com]
Sent: 17-Dec-01 14:26
To: php-w...@lists.php.net
Subject: RE: [PHP-WIN] Re: coffee message

> Anyone doesn't running Linux/FreeBSD/NetBSD/Solaris at home raise a hand,
> please.

Me! I don't run anything at home. OK, a Sega Dreamcast, but it's OS doesn't
count.

Once I leave work, I don't want anything to do with computers. My
girlfriend, dog, friends, motorcycles, bicycles, family...yes.
Computers...nope!

Rygars

unread,
Dec 18, 2001, 7:55:36 AM12/18/01
to php-w...@lists.php.net
I use Mandrake 8.1 on both computers and Windows 2000 Professional at work.
- apache+php4.0.6 on linux
- iis5+php4.0.6 on windows

:)

PS: Beside that I run the program for SETI@HOME :) on linux (13h average for
a packet) and on windows (40h average for a packet). The configuration for
computer that holds linux is worse than windows' one but still the average
it is better on linux :)

----- Original Message -----
From: "Svensson, B.A.T. (HKG)" <B.A.T.S...@lumc.nl>
To: <php-w...@lists.php.net>
Sent: Monday, December 17, 2001 11:25 PM
Subject: RE: [PHP-WIN] Re: coffee message

--

Fpu Whites1

unread,
Dec 18, 2001, 5:32:45 AM12/18/01
to php-w...@lists.php.net
--- Received from FPU.WHITES1 799 3703 18-12-01 10:29

-> IN=php-w...@lists.php.net

VIC20 - fantastic machine. A proper keyboard and... and... er...

----------------------------------------------------------------------------

From: er...@butlerandco.com
To: php-w...@lists.php.net
Date: Mon, 17 Dec 2001 15:11:44 -0600
Subject: RE: [PHP-WIN] Re: coffee message

> If you had some kind of temperature sensor on the coffee pot and this was
> connected to a machine running Apache+PHP and an interace program, the php
> page could use exec() to run the interface program say every 5 seconds to

> retrieve the temperature and if it was above say xo it could print "Coffee


> ready" in the browser window (or active desktop on Win).
> If it was a unix machine, it could send a messgae to all the networked
> terminals in the workgroup i.e. those associated with coffe machine 1.

Actually, you bring up a good point. :)

But, if he's stuck with Win2k on a CMB VIC20 he might want to consider
ditching IIS5 and going with something really small, like Xitami. He can run
the exec() through PHP as suggested with minimal memory/processor usage.

I don't even want to consider the security aspects of a Win2K/IIS5 install


on a nuclear installation, though! :0

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows...@lists.php.net
For additional commands, e-mail: php-wind...@lists.php.net
To contact the list administrators, e-mail: php-lis...@lists.php.net

This e-mail may contain confidential information and/or copyright
material. This e-mail is intended for the use of the addressee
only. Any unauthorised use may be unlawful.

If you receive this e-mail by mistake please advise the sender
immediately by using the reply facility in your e-mail software.

Friends Provident Marketing Group consists of the following
companies:

Friends Provident Life and Pensions Limited.
Registered number 4096141.
Friends' Provident Unit Trust Managers Limited.
Registered number 970641
FP Life Assurance Limited.
Registered number 782698
Friends Provident Pensions Limited.
Registered number 475201
Friends Ivory & Sime Managed Pensions Funds Limited.
Registered number 1020044
Registered and Head Office of each of the above companies is at Pixham End,
Dorking, Surrey RH4 1QA.
Registered in England. Incorporated companies limited by shares.
Ivory & Sime Trustlink Limited. Registered number 151198
Registered and Head Office: One Charlotte Square, Edinburgh EH2
4DZ. Registered in Scotland. Incorporated company limited by
shares.

Companies within this Group transact life assurance, pension,
permanent health, unit trust and investment trust business

All are regulated by the Financial Services Authority.

0 new messages