<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.lang.factor.general">
    <title>gmane.comp.lang.factor.general</title>
    <link>http://blog.gmane.org/gmane.comp.lang.factor.general</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.factor.general/1435"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.factor.general/1434"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.factor.general/1423"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.factor.general/1421"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.factor.general/1417"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.factor.general/1400"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.factor.general/1397"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.factor.general/1395"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.factor.general/1391"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.factor.general/1389"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.factor.general/1381"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.factor.general/1378"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.factor.general/1361"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.factor.general/1357"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.factor.general/1352"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.factor.general/1349"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.factor.general/1348"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.factor.general/1347"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.factor.general/1342"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.factor.general/1338"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.factor.general/1435">
    <title>jamshred updates</title>
    <link>http://comments.gmane.org/gmane.comp.lang.factor.general/1435</link>
    <description>-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
Factor-talk mailing list
Factor-talk-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&lt; at &gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/factor-talk
</description>
    <dc:creator>Alex Chapman</dc:creator>
    <dc:date>2008-05-08T07:48:57</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.factor.general/1434">
    <title>deployment not working?</title>
    <link>http://comments.gmane.org/gmane.comp.lang.factor.general/1434</link>
    <description>-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
Factor-talk mailing list
Factor-talk-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&lt; at &gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/factor-talk
</description>
    <dc:creator>Alex Chapman</dc:creator>
    <dc:date>2008-05-08T07:44:06</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.factor.general/1423">
    <title>Bug in CSV parser</title>
    <link>http://comments.gmane.org/gmane.comp.lang.factor.general/1423</link>
    <description>Hi Phil,

Try parsing the following:

"foo \"bar\" bar" &lt;string-reader&gt; csv

Also perhaps lines starting with # should be ignored as comments?

Slava

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
</description>
    <dc:creator>Slava Pestov</dc:creator>
    <dc:date>2008-05-05T22:51:37</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.factor.general/1421">
    <title>git on cygwin</title>
    <link>http://comments.gmane.org/gmane.comp.lang.factor.general/1421</link>
    <description>Funny:
error: git-checkout-index: unable to create file build-support/factor.sh (Permission denied)

And now factor.sh is gone. :-)


</description>
    <dc:creator>Stefan Scholl</dc:creator>
    <dc:date>2008-05-05T07:28:14</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.factor.general/1417">
    <title>csv issue with "foo"\n</title>
    <link>http://comments.gmane.org/gmane.comp.lang.factor.general/1417</link>
    <description>Hello,

There is an issue with csv parser, where if a quoted field is followed 
immediately by newline, the newline is ignored.

The following test demonstrates the problem; and a fix.

Cheers,
Philip

diff --git a/extra/csv/csv-tests.factor b/extra/csv/csv-tests.factor
index 6ab26c7..858736a 100644
--- a/extra/csv/csv-tests.factor
+++ b/extra/csv/csv-tests.factor
&lt; at &gt;&lt; at &gt; -46,9 +46,11 &lt; at &gt;&lt; at &gt; IN: csv.tests
 [ "Year,Make,Model\n1997,Ford,E350\n2000,Mercury,Cougar" 
    &lt;string-reader&gt; csv ] named-unit-test
 
-   
+"Quoted field followed immediately by newline"
+[ { { "foo" "bar" }
+    { "1"   "2" } } ]
+[ "foo,\"bar\"\n1,2" &lt;string-reader&gt; csv ] named-unit-test
 
-   
 ! !!!!!!!!  other tests
    
 [ { { "Phil Dawes" } } ] 
diff --git a/extra/csv/csv.factor b/extra/csv/csv.factor
index 3953ce0..b1953f5 100644
--- a/extra/csv/csv.factor
+++ b/extra/csv/csv.factor
&lt; at &gt;&lt; at &gt; -31,6 +31,7 &lt; at &gt;&lt; at &gt; VAR: delimiter
   read1 dup 
   { { CHAR: "    [ , quoted-field ] }  ! " is an escaped quote
     { delimiter&gt; [ ] }                 ! end of quoted field 
+    { CHAR: \n   [ ] }
     [ 2drop skip-to-field-end ]       ! end of quoted field + padding
   } case ;


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
</description>
    <dc:creator>Philip Fominykh</dc:creator>
    <dc:date>2008-05-01T08:22:40</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.factor.general/1400">
    <title>Bug reports</title>
    <link>http://comments.gmane.org/gmane.comp.lang.factor.general/1400</link>
    <description>-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
Factor-talk mailing list
Factor-talk-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&lt; at &gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/factor-talk
</description>
    <dc:creator>Justin DeVries</dc:creator>
    <dc:date>2008-04-28T16:12:13</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.factor.general/1397">
    <title>Modernized the bunny demo; new spheres demo</title>
    <link>http://comments.gmane.org/gmane.comp.lang.factor.general/1397</link>
    <description>In git://pgdn.org/factor I went through all the old-slots-laden bunny  
demo code and cleaned it up to use new-slots. For kicks, I also added  
another OpenGL 2 demo, "spheres".

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
</description>
    <dc:creator>Joe Groff</dc:creator>
    <dc:date>2008-04-28T01:54:56</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.factor.general/1395">
    <title>git woes</title>
    <link>http://comments.gmane.org/gmane.comp.lang.factor.general/1395</link>
    <description>Hi Dan,

I've got a couple of patches and a vocab in my git repo now, but still
I'm struggling to make it work properly. I'm publishing to a public repo
on my laptop and then rsyncing that to my webspace, but get failures
pulling from the webspace where I don't from the local dir.

The webspace version is at http://phildawes.net/2008/factor.git

I was wondering if you had any suggestions, or failing that if I could
use some space on factorforge until I get the problem figured out?

Cheers,

Phil



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
</description>
    <dc:creator>Phil Dawes</dc:creator>
    <dc:date>2008-04-27T19:18:53</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.factor.general/1391">
    <title>Status of ARM-Linux?</title>
    <link>http://comments.gmane.org/gmane.comp.lang.factor.general/1391</link>
    <description>As I see on "Getting Factor" page, current status of Linux ARM port is
"Untested or outdated". I'm looking forward on getting pretty powerful
ARM-Linux handheld ( http://pandorawiki.org/Pandora ) somwhere in
2008. This leads to important question - what are your plans on
ARM-linux Factor? If there is no perspective of Factor 1.0 in my
pocket, it will be really sad.

Maxim Savchenko

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
</description>
    <dc:creator>Maxim Savtchenko</dc:creator>
    <dc:date>2008-04-24T08:58:10</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.factor.general/1389">
    <title>What is a good definition ?</title>
    <link>http://comments.gmane.org/gmane.comp.lang.factor.general/1389</link>
    <description>Hi,

I needed to get the list of all combinaisons of n elements chosen in  
a sequence.

Quite simple in fact but disturbing for a beginner.

First problem, how to know if there is already a word doing this in  
factor?
RTFM =&gt;  I read "Sequence operations" several times.
Documentation is very nice and interesting to read but it's sometime  
difficult for me to find a word doing what I want.
(Or there are too many words doing quite the same, I don't know)
Nevertheless reading definitions often give new ideas  on how to  
solve problems.

Second problem, maybe the needed word is undocumented somewhere in  
the extra directory.
In that case it's maybe simpler to rewrite than to try to find it.


With doc freshly reminded I wrote without too many difficulties the  
next two definitions  (lean back and think)


: columnize ( seq -- seq )
     [ 1array ] map
; inline

: among ( seq n -- seq )
     2dup swap length
     {
         { [ over 1 = ] [ 3drop columnize ] }
         { [ 2dup &lt; ] [ 2drop [ 1 cut ] dip
                          [ 1- among [ append ] with map  ]
                          [ among append ] 2bi
                        ] }
         { [ 2dup = ] [ 3drop 1array ] }
         { [ 2dup &gt; ] [ 2drop 2drop {  } ] }
     } cond
;

Real problems appear now. I have a solution but:
- how to be sure it's efficient ?
- if after writing it I discover word "unclip" is it useful, or more  
elegant, to reshape definition to replace "1 cut" ?
- how to be sure that my definition is readable ?
- without knowing deeply factor, how i know which part of code I must  
optimise, and how ?

The only obvious point is that there is a simpler and more idiomatic  
way to do but experience comes slowly...

JF





-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
</description>
    <dc:creator>Jean-François Bigot</dc:creator>
    <dc:date>2008-04-23T21:17:06</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.factor.general/1381">
    <title>Interesting use of 'fry'</title>
    <link>http://comments.gmane.org/gmane.comp.lang.factor.general/1381</link>
    <description>Hi all,

I'm working on the web framework and came up with this:

: render-plain-list ( seq component quot -- )
     '[ , component&gt;&gt; renderer&gt;&gt; &lt; at &gt; ] each ; inline

: render-ordered-list ( seq quot component -- )
     &lt;ol&gt; '[ &lt;li&gt; &lt; at &gt; &lt;/li&gt; ] render-plain-list &lt;/ol&gt; ; inline

: render-unordered-list ( seq quot component -- )
     &lt;ul&gt; '[ &lt;li&gt; &lt; at &gt; &lt;/li&gt; ] render-plain-list &lt;/ul&gt; ; inline

: render-list ( value renderer quot -- )
     over type&gt;&gt; {
         { +plain+     [ render-plain-list ] }
         { +ordered+   [ render-ordered-list ] }
         { +unordered+ [ render-unordered-list ] }
     } case ; inline

M: list-renderer render-view*
     [ render-view* ] render-list ;

M: list-renderer render-summary*
     [ render-summary* ] render-list ;

I think this is a pretty nice use-case for 'fry' and its hard to  
imagine how this code could be improved further.

Slava

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
</description>
    <dc:creator>Slava Pestov</dc:creator>
    <dc:date>2008-04-22T23:59:28</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.factor.general/1378">
    <title>Recursive fry</title>
    <link>http://comments.gmane.org/gmane.comp.lang.factor.general/1378</link>
    <description>Hi all,

A few people asked for this so I implemented it. You can now use fry  
directives in nested quotations:

3 1 '[ , [ , + ] map ] call
=&gt; { 1 2 3 }

This is equivalent to

  3 1 '[ , , '[ , + ] map ] call

And in fact it is implemented in this way.

Slava

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
</description>
    <dc:creator>Slava Pestov</dc:creator>
    <dc:date>2008-04-22T21:28:40</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.factor.general/1361">
    <title>Proposal: some changes to streams</title>
    <link>http://comments.gmane.org/gmane.comp.lang.factor.general/1361</link>
    <description>Hi all,

Right now we have an 'stdio' variable and various words which operate  
on it,

: read stdio get stream-read ;
: readln stdio get stream-readln ;
: write stdio get stream-write ;
: print stdio get stream-print ;

with-stream rebinds it and closes it after, with-stream* rebinds it  
without closing.

This makes for very nice and concise code, but there's one problem  
with it and that it cannot express the case where you want to read  
from one file and write to another at the same time. Instead, you need  
to do something like this,

"in.txt" utf8 &lt;file-reader&gt; [
     "out.txt" latin1 &lt;file-writer&gt; [
         &lt;duplex-stream&gt; [
             ...
         ] with-stream*
     ] with-disposal
] with-disposal

Or if you want to read from a file and print to the console in the  
same code,

stdio get
"in.txt" utf8 &lt;file-reader&gt; [
     swap &lt;duplex-stream&gt; [
         ...
     ] with-stream*
] with-disposal

This is too awkward for a language named "Factor".

I propose replacing the stdio variable with two variables, input and  
output. The with-stream combinator would still exist, and it would  
bind both, but there will be two new combinators, with-input and with- 
output. These will rebind just one of the two variables.

The stream words would change too: reader words like read, read1,  
would operate on input, and writer words like write and print would  
operate on output.

Note that these changes are pretty much backwards-compatible. Code  
using with-stream continues to work and very rarely does code access  
the stdio variable directly.

A more radical idea is to remove duplex streams altogether. Instead,  
words like &lt;process-stream&gt; and &lt;client&gt; would return a pair of  
streams, a reader and a writer. A with-streams combinator with stack  
effect ( in out quot -- ) could be used here.

Slava

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
</description>
    <dc:creator>Slava Pestov</dc:creator>
    <dc:date>2008-04-22T19:20:30</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.factor.general/1357">
    <title>rename alert</title>
    <link>http://comments.gmane.org/gmane.comp.lang.factor.general/1357</link>
    <description>Hello,

Just a little heads up for y'all. The word 'subset' will likely be renamed 
to 'filter' in the next few days.

Ed

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
</description>
    <dc:creator>Eduardo Cavazos</dc:creator>
    <dc:date>2008-04-22T08:08:52</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.factor.general/1352">
    <title>Named shufflers (rethought of "factor-way locals"idea)</title>
    <link>http://comments.gmane.org/gmane.comp.lang.factor.general/1352</link>
    <description>Idea of local storage in more factor-way still looks interesting for
me. I have followed Slava's advice about "implement and play a
little". It was interesting and not-so-hard experience. Here are
results.

If I want to dismiss annoying "stack micro-management", there is no
need for additional named stacks. Instead of it I had come to
"stack-marking named shufflers" paradigm. I'd like to show it on
simple and common (for me) example from my dns library. What if we
need "virtual" stream that incapsulates some "real" stream and simply
counts number of symbols we are reading?

TUPLE: dns-stream counter ;

: &lt;dns-stream&gt; ( stream -- stream )
0 dns-stream construct-boa tuck set-delegate ;

M: dns-stream stream-read
tuck delegate stream-read dup length
pick dns-stream-counter + rot set-dns-stream-counter ;

In realization of stream-read method we have four different shuffling
words - tuck, dup, pick and rot. It is simpliest solution I've found
with ordinal shufflers. Let's explain true meaning of used shufflers:

1) "tuck" - we need delegate of our stream, but we will need original
tuple in later processing, Lets store it for future use.
2) "dup" - we need length of data, but we also need to return data as
method exit value. Lets store it for future use.
3) "pick" - we need to recall previously saved tuple. But again, we
will need it later, so here we should use "copying" pick and not
"moving" rot.
4) "rot" - we need to recall previously saved tuple. This time it is
last occurense of this value in processing, so here we should use
"moving" rot and not "copying" pick.

That's what I'm calling "stack micro-managment". Not easy logic for
such simple task, I think. And even worse for reading. For comarsion
here is my new suggestion:

M: dns-stream stream-read
=: self
delegate stream-read =: data
length &lt;: self dns-stream-counter + &lt;: self set-dns-stream-counter
&lt;: data ;

Here I use only two different shufflers - "=: foo" and "&lt;: foo". "=:
foo" is for "mark top of the stack with foo label". And "&lt;: foo" is
for "push here value, previously marked with foo label". So we have
five encounters of this shufflers:

1) "=: self" - we need delegate of our stream, but we will need
original tuple in later processing, Lets mark it for future use with
label "self".
2) "=: data" - we need length of data, but we also need to return data
as method exit value. Lets mark it for future use with label "data".
3) first occurence of "&lt;: self" - we need to recall previously saved
tuple. Lets get it using label "self"
4) second occurence of "&lt;: self" - we need to recall previously saved
tuple. Lets get it using label "self".
5) "&lt;: data" - we need to return result of our method. Lets get it
using label "data".

Looks much more readable for me. No need for tracking of stack depth,
no need for tracking of copying/moving shufflers difference. And
meaningful labels for self-documentation. Just try it.

In attachment I included prototype realisation of this ideas. There
are two additional words for ease of use. "&gt;: foo" is synonim for "=:
drop". And "[&gt; ... ]" is synonim of "[ ... ]" with additional
capability of recalling labels, marked in outter quotation.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
Factor-talk mailing list
Factor-talk-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&lt; at &gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/factor-talk
</description>
    <dc:creator>Maxim Savtchenko</dc:creator>
    <dc:date>2008-04-22T03:36:43</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.factor.general/1349">
    <title>The Evaluate Service on MacOS X needs more vocabsready</title>
    <link>http://comments.gmane.org/gmane.comp.lang.factor.general/1349</link>
    <description>[MacOS X 10.4.11 Intel, git factor 1 or 2 days old.]

I entered "20 20 * ." in a Mac program that supports the use of
the Services menu. Marked it and after Services -&gt; Factor -&gt;
Evaluate Selection I get



&lt;interactive&gt;:1
20 20 * .
       ^
Word not found in current vocabulary search path
"delegate" f
"name"     "*"

The following restarts are available:

:1    Use the word IN: math MATH: * ( x y -- z )

Type :help for debugging help.



</description>
    <dc:creator>Stefan Scholl</dc:creator>
    <dc:date>2008-04-21T14:49:54</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.factor.general/1348">
    <title>csv parser (and git troubles)</title>
    <link>http://comments.gmane.org/gmane.comp.lang.factor.general/1348</link>
    <description>Hi Slava, Hi factor list,

I've been experimenting with git and have put a factor repository on my 
webspace which contains the csv parser vocab I wrote a few months ago.

http://phildawes.net/2008/factor.git

Unfortunately when I try to pull I get:

$ git pull http://phildawes.net/2008/factor.git
error: pick-rref: HEAD not found
No such ref HEAD at http://phildawes.net/2008/factor.git

Which I don't understand because HEAD is readable. I suspect it may be 
the same problem as here[1]. Anyway, pulling the master branch 
explicitly appears to work:

$ git pull http://phildawes.net/2008/factor.git master
Fetching refs/heads/master from http://phildawes.net/2008/factor.git 
using http
got b2e540e2a92df1cb7bf6ee15ddf678e7d14379ed
walk b2e540e2a92df1cb7bf6ee15ddf678e7d14379ed
got e136ec03c40ee883c2504726489e68498d7bf3c4
... etc...

Is this sufficient for inclusion into the main factor repo?
Also what's the usual protocol for getting stuff included into Slava's 
factor repo - do people email privately?

Thanks,

Phil

[1] http://kerneltrap.org/mailarchive/git/2007/9/4/256935



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
</description>
    <dc:creator>Phil Dawes</dc:creator>
    <dc:date>2008-04-19T20:58:49</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.factor.general/1347">
    <title>Factor in wine :-)</title>
    <link>http://comments.gmane.org/gmane.comp.lang.factor.general/1347</link>
    <description>OK, more as a joke I wanted to run a current Factor Windows
binary with wine on my MacOS 10.4 system:

$ wine factor.exe -run=listener
fixme:spoolsv:serv_main (0 0x0)
err:wgl:X11DRV_wglGetProcAddress No libGL on this box - disabling OpenGL support !
err:wgl:X11DRV_wglGetProcAddress No libGL on this box - disabling OpenGL support !
err:wgl:X11DRV_wglGetProcAddress No libGL on this box - disabling OpenGL support !
The die word was called by the library. Unless you called it yourself,
you have triggered a bug in Factor. Please report.
Starting low level debugger...
  Basic commands:
q                -- continue executing Factor - NOT SAFE
im               -- save image to fep.image
x                -- exit Factor
  Advanced commands:
[...]

.c
==== CALL STACK:
[ kernel:call threads:stop ]
0
11f1e1b
501d1f0
[ kernel:&gt;r kernel:&gt;r kernel:dup kernel:slip kernel:r&gt; kernel:r&gt; kernel:roll [ kernel:&gt;r kernel:tuck kernel:2slip kernel:r&gt; kernel:while ] [ kernel:2nip kernel:call ] kernel:if ]
3
978f4b
4fdd0f0
[ kernel:&gt;r kernel:call kernel:r&gt; ]
1
621403
4fe0090
[ io.thread:io-thread syntax:t ]
0
738e0b
501d2f0
io.thread:io-thread
f
62492b
51b37b0
io.windows.nt.backend:drain-overlapped
f
738d23
54846d0
io.windows.nt.backend:handle-overlapped
f
7a763b
5576af0
io.windows.nt.backend:lookup-callback
f
7bf6db
54bc9b0
kernel:throw
f
622903
51f3430
READY
.s
==== DATA STACK:
"ERROR_TIMEOUT"
f
"no callback in io-hash"
READY
.r
==== RETAIN STACK:
[ ]
[ ]
[ io.thread:io-thread syntax:t ]
READY


I swear! No alcohol or other drugs involved!!

</description>
    <dc:creator>Stefan Scholl</dc:creator>
    <dc:date>2008-04-19T11:22:54</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.factor.general/1342">
    <title>Broken link</title>
    <link>http://comments.gmane.org/gmane.comp.lang.factor.general/1342</link>
    <description>Hi,

Just a minor detail, the link to the factor repository in
http://factorcode.org/getfactor.fhtml is not working.

It directs to:

http://factorcode.org:8812/responder/cgi/gitweb.cgi

and I think it should go to:

http://factorcode.org/responder/cgi/gitweb.cgi

[]s,
Ricardo Boccato Alves.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
</description>
    <dc:creator>Ricardo Boccato Alves</dc:creator>
    <dc:date>2008-04-16T21:56:54</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.factor.general/1338">
    <title>Brave new world</title>
    <link>http://comments.gmane.org/gmane.comp.lang.factor.general/1338</link>
    <description>Hello,

One of the onions in Factor world (to me anyway) has been the dilemma of 
finding the "one true effect". Even when you find the supposed "one true 
effect", there are still exceptional cases which require an accompanying 
shuffle word.

Another dilemma has been finding a "grand unified theory of stack effects"; a 
sort of philosophy behind the effects which would inform the design of future 
words.

I'm going a different route, embracing the diversity of effects instead of 
rejecting it. The way down this route is to give names to each variant.

The following generic words work on sequences and tables (assocs):

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

GENERIC: at ( col key -- val )
GENERIC: of ( key col -- val )

! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

GENERIC: grab ( col key -- col val )

! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

GENERIC: is ( col key val -- col )
GENERIC: as ( col val key -- col )! "Store value as key"

! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

GENERIC: is-of ( key val col -- col )! "Key is value of this collection"
GENERIC: as-of ( val key col -- col )! "Store val as key of this collection"

! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

GENERIC: mutate-at ( col key val -- )! Mutate collection at key
GENERIC: mutate-as ( col val key -- )! Mutate collection. Store val as key.

! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

GENERIC: at-mutate ( key val col -- )
GENERIC: as-mutate ( val key col -- )

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

Those are available in 'extra/newfx'.

I also have code to make those work on tuples:

TUPLE: planet name radius solar-radius ;

&lt;planet&gt; :name "Mars" is

&lt;planet&gt; 100 :radius  as

2000 :solar-radius &lt;planet&gt; is-of

I haven't checked that in as it's even more experimental.

There's a very common pattern; that of "dup foo&gt;&gt;", i.e. a dup followed by a 
tuple reader. This is captured by the word 'grab' above. I would really like 
to call this 'pick' but...

Ed

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
</description>
    <dc:creator>Eduardo Cavazos</dc:creator>
    <dc:date>2008-04-15T09:00:29</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.factor.general/1333">
    <title>Assorted Questions</title>
    <link>http://comments.gmane.org/gmane.comp.lang.factor.general/1333</link>
    <description>-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
Factor-talk mailing list
Factor-talk-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&lt; at &gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/factor-talk
</description>
    <dc:creator>Nikhil Marathe</dc:creator>
    <dc:date>2008-04-14T07:56:33</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.lang.factor.general">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.lang.factor.general</link>
  </textinput>
</rdf:RDF>
