Re: [Factor-talk] Problems with the Hello World and timer-serverexamples.

2010-11-11 Thread Jeff C. Britton
Thanks, both work.


However, 
factor -run=time-server

does not start the time-server.


--Jeff


>From Slava,
"

You need to do factor -run=hello-world

This file is meant to be run as a vocabulary ,not a stand-alone
script. For a stand-alone script hello world, try this:

--
USE: io
"Hello world" print
--
"


--
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Problems with the Hello World and timer-serverexamples.

2010-11-10 Thread Joe Groff
On Nov 11, 2010, at 1:47 AM, "Jeff C. Britton"  wrote:

> I am running Windows XP service pack 3.
> 
> My main concern right now is why I can not get console output from the
> hello-world.factor sample, when running from the command line.

Are you using factor.com or factor.exe? factor.exe is a windowed application 
and detaches from the console, whereas factor.com is a console application. 
Make sure you're invoking factor as "factor" or "factor.com" and not as 
"factor.exe". If you're deploying a program, make sure "Deploy Windows console 
application" is checked in the deploy-tool settings.

> No luck with the console output.
> However, I tried "tetris" deploy-tool again and it worked.
> The deploy step seem to hang on 
> 
> Loading resource:basis\cpu\x86\sse\sse.factor
> 
> It was there about 5 minutes before continuing on.
> I thought it was hung.
> Perhaps I did not wait long enough the first time.
> The tetris.exe played fine.

The consoe output from the deploy process is buffered, so you unfortunately 
don't get to see the trail of dots that are printed as the deployment 
progresses, which is why it appears frozen. As I mentioned to Shaping, future 
deploy tool runs should take less time, because the deploy tool's seed images 
will be cached from this first run.

-Joe

--
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Problems with the Hello World and timer-serverexamples.

2010-11-10 Thread Jeff C. Britton
I am running Windows XP service pack 3.

My main concern right now is why I can not get console output from the
hello-world.factor sample, when running from the command line.


Is there a command line switch I need?
Or do I need another item in the Using: declaration?
Is it not finding a .DLL?
Is there something I need to do in terms of installation? 
I simply extracted the zip file.
Do I need to get something added into the image?

Today I started all over.  I extracted the zip file into a directory
with a shorter path.

No luck with the console output.
However, I tried "tetris" deploy-tool again and it worked.
The deploy step seem to hang on 

Loading resource:basis\cpu\x86\sse\sse.factor

It was there about 5 minutes before continuing on.
I thought it was hung.
Perhaps I did not wait long enough the first time.
The tetris.exe played fine.


--Jeff

-Original Message-
From: Joe Groff [mailto:arc...@gmail.com] 
Sent: Wednesday, November 10, 2010 2:05 AM
To: factor-talk@lists.sourceforge.net
Subject: Re: [Factor-talk] Problems with the Hello World and
timer-serverexamples.

> Yes. It's not meant to be anything more than a trivial demo. If it's
not working

Er, I meant to write: If it's not working, that's a bug and we'll look
into fixing it. Jeff, what version of Windows are you using?

-Joe


--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk