Re: [Factor-talk] Docs and other topics

2010-11-12 Thread Balazs Toth
Thanks! On Nov 13, 2010, at 4:34 AM, Slava Pestov wrote: > On Thu, Nov 11, 2010 at 3:09 AM, Balazs Toth wrote: >> - is Factor anywhere already used commercially? Is the making of the >> language financially efficient or only a side project currently for you >> Slava? About how reliable are the

Re: [Factor-talk] Help Browser slow

2010-11-12 Thread Slava Pestov
Hi Jeff, We've seen this same exact crash on the build farm before, while running benchmarks. It is interesting that the help browser triggers it too. I'll try and play around with the help browser to see if I can trigger it. Do you think you can narrow down a more specific series of steps? Slava

Re: [Factor-talk] Docs and other topics

2010-11-12 Thread Slava Pestov
On Thu, Nov 11, 2010 at 3:09 AM, Balazs Toth wrote: > - is Factor anywhere already used commercially? Is the making of the language > financially efficient or only a side project currently for you Slava? About > how reliable are the various features one can read about in the help? Factor develo

Re: [Factor-talk] Help opening a serial port

2010-11-12 Thread Jon Harper
> I don't know what HOOK: does HOOK: defines words that dispatch on the type of a value of a variable. See the example here http://docs.factorcode.org/content/word-HOOK__colon__,syntax.html Here it is used to provide different implementations of a word depending on the OS you are using. The error s

[Factor-talk] Help opening a serial port

2010-11-12 Thread Jeff C. Britton
I tried USE: io.serial serial new 38400 >>baud "COM1" >>path open-serial I get "Generic word open-serial does not define a method for the word class Dispatching on object: winnt" Looking at serial.factor I see HOOK: open-serial os ( serial -- serial' ) I don't know what HOOK: does --

Re: [Factor-talk] Help Browser slow

2010-11-12 Thread Jim mack
For what it's worth, I've not had the bug, but I usually browse over the internet docs. I like having multiple tabs open as I explore laterally. And, my mac doesn't seem to slow down using help, but my xp has for the last 8 months over multiple versions. On Fri, Nov 12, 2010 at 11:55 AM, Jeff C.

Re: [Factor-talk] Docs and other topics

2010-11-12 Thread Jim mack
While we're talking about what perfect looks like, I would have benefited more from actual examples. At some point we have to step up to the plate, and I've had that on my list as something I could contribute. But I'm having too much fun programming my new factor project! Make factor less intere

Re: [Factor-talk] Help Browser slow

2010-11-12 Thread Jeff C. Britton
It is slow after a fresh install. The browser appears to do some kind of caching, so going to some pages is only slow the first time. Unfortunately, this caching seems to be lost upon restart. I get this occasionally You have triggered a bug in Factor. Please report. error: 16 arg 1: 44 a

Re: [Factor-talk] Docs and other topics

2010-11-12 Thread Balazs Toth
Hi Jeff, about ..a I have found a quite good explanation in this article: http://factorcode.org/littledan/dls.pdf 2.1.3 Stack effects Cheers, Balazs On Nov 12, 2010, at 7:36 PM, Jeff C. Britton wrote: > Adding to these suggestions, I find the language reference with respect > to the syntax of

Re: [Factor-talk] Help Browser slow

2010-11-12 Thread Jeff C. Britton
I get the following after using the Help browser for a while. You have triggered a bug in Factor. Please report. error: 16 arg 1: 44 arg 2: f Starting low level debugger... Basic commands: q-- continue executing Factor - NOT SAFE im -- save image to fep.image x

Re: [Factor-talk] Docs and other topics

2010-11-12 Thread Jeff C. Britton
Adding to these suggestions, I find the language reference with respect to the syntax of stack effect comments a bit too terse. I don't understand what ..a represents. I have seen ( title/attributes -- ), and don't know if the / has meaning. I have seen ( seq -- seq') and don't know what the ' re

Re: [Factor-talk] Factor GUI

2010-11-12 Thread Jim mack
Thank you. On Fri, Nov 12, 2010 at 9:15 AM, Jon Harper wrote: > > I never have understood the exact difference between dispatcher and > > responder, but somehow still can get things working. > > A responder is any tuple that implements the call-responder* generic word. > A dispatcher is a respon

Re: [Factor-talk] Docs and other topics

2010-11-12 Thread Balazs Toth
The handbook seems indeed like what I need. I'll probably create an updated version of it from sections of the help. -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop de

Re: [Factor-talk] Factor GUI

2010-11-12 Thread Jon Harper
> I never have understood the exact difference between dispatcher and > responder, but somehow still can get things working. A responder is any tuple that implements the call-responder* generic word. A dispatcher is a responder. Its call-responder* implementation is to dispatch the request to its

Re: [Factor-talk] Factor GUI

2010-11-12 Thread Jim mack
Well, when you're doing development, any web page is an example as you're running locally. The jump would be to compile it as a stand-alone. I was impressed how easily we have an http server. Compare that to configuring IIS to run ASP pages, and I want to barf. (Yes, I know that's not apples to

Re: [Factor-talk] Furnace

2010-11-12 Thread Jim mack
Shaping, Somehow I'm missing context. When/where did you see run-fac? I just tried the part from TUPLE: to init-db and it worked on both mac and pc. Was this an error message? On Fri, Nov 12, 2010 at 12:26 AM, Shaping wrote: > Jim, can you give me more context for the bits below? I cannot

Re: [Factor-talk] Docs and other topics

2010-11-12 Thread Balazs Toth
Hi, I really hope you won't find my feedback egocentric, I simply state my opinion this way because I believe others might have the same view as me. - Linearity: absolutely. That is what I need the first time. And I mean Factor handbook / The language only - language concepts, basic combinators

[Factor-talk] bignum/f always rounds toward zero, returns 0.0 for 0/0

2010-11-12 Thread Joe Groff
A couple quick bugs in bignum-to-float division I found: - bignum/f rounds toward zero, when it should respect the floating point rounding mode, or at least round to nearest. An easy test case is to divide a bignum with more than 53 significant bits by 1: ( scratchpad ) HEX: 7f,,, >

Re: [Factor-talk] Furnace

2010-11-12 Thread Shaping
Jim, can you give me more context for the bits below? I cannot find a definition for run-fac. Shaping From: Jim mack [mailto:j...@less2do.com] Sent: 2010-November-08, 12:11 To: factor-talk@lists.sourceforge.net Subject: Re: [Factor-talk] Furnace ! This is a self contained test of cre