Re: [Factor-talk] What exactly is the retain stack?

2014-05-15 Thread Slava Pestov
can't for my life figure out what its purpose is or why anyone ever would want one when there is a perfectly good data stack already available. I only found these two posts by Slava Pestov about it: http://article.gmane.org/gmane.comp.lang.factor.general/1931/match=retain+stack http://factor

Re: [Factor-talk] Work done already on graph processing

2011-10-10 Thread Slava Pestov
Hi Michael, Take a look at the 'digraphs' and 'graphviz' vocabularies in extra/. Slava On Fri, Oct 7, 2011 at 8:28 AM, Michael Clagett mclag...@hotmail.com wrote: Hi -- Just want to know what libraries might already be out there with graph processing stuff in them.  Don't want to reinvent

Re: [Factor-talk] conditional combinator proposal

2011-09-30 Thread Slava Pestov
Hi Michele, On Fri, Sep 30, 2011 at 2:53 PM, Michele Pes mp8...@rambler.ru wrote: To achieve this, I wrote this word: : when-drop ( obj question-quot: ( obj -- ? ) true-quot: ( obj -- ) -- )    -rot dupd call swapd [ call ] [ 2drop ] if ; inline Here is a simpler version that doesn't use

Re: [Factor-talk] Can't get Space Invaders to run

2011-09-20 Thread Slava Pestov
Hi John, On Tue, Sep 20, 2011 at 2:45 PM, John Porubek jporu...@gmail.com wrote: Thanks for the response. So I was barking up the wrong tree, huh? Nothing new there. Good thing I asked the question. Isn't there some way I can use Factor's built-in debugging support to at least tell me which

Re: [Factor-talk] Understanding FFI

2011-09-14 Thread Slava Pestov
Hi Joe, On Wed, Sep 14, 2011 at 6:10 PM, Joe Groff arc...@gmail.com wrote: The compiler wouldn't break acquire/release semantics when optimizing around pthread_mutex_* calls, would it? It shouldn't. It doesn't even re-order loads and stores to alien data right now. Slava

Re: [Factor-talk] bootstrap error

2011-09-13 Thread Slava Pestov
Hi Joe, Did you actually check that Factor bootstraps with your patch? It looks like it tries to call dlerror before it's been compiled. It's a chicken and egg problem. You'll need to move dlerror into the VM to fix this. On Tue, Sep 13, 2011 at 9:53 AM, Joe Groff arc...@gmail.com wrote: On

Re: [Factor-talk] bootstrap error

2011-09-13 Thread Slava Pestov
On Tue, Sep 13, 2011 at 11:47 AM, Joe Groff arc...@gmail.com wrote: Factor bootstrapped fine here. Is there a nondeterministic compile order issue? We talked on IM and it looks like it's only broken on Windows. Also there are some other problems with the build from my recent changes to

Re: [Factor-talk] frequency of vocabularies

2011-09-11 Thread Slava Pestov
Hi Patrick, These are very interesting stats, thanks! Slava On Sun, Sep 11, 2011 at 1:42 PM, Patrick Mc(avery patr...@spellingbeewinnars.org wrote: Like other languages with large libraries, it takes time to learn them and it is not always obvious what they do. I am trying to focus on

Re: [Factor-talk] Mixed up about deployment

2011-09-09 Thread Slava Pestov
Hi Patrick, On Fri, Sep 9, 2011 at 5:22 AM, Patrick Mc(avery patr...@spellingbeewinnars.org wrote: With factor, what is happening during deployment? Is there an interpreter built into it's own executable like py2exe? : http://www.py2exe.org/ When you run the Factor VM binary named 'factor',

Re: [Factor-talk] Mixed up about deployment

2011-09-09 Thread Slava Pestov
Hi Michael, On Fri, Sep 9, 2011 at 10:59 AM, Michael Clagett mclag...@hotmail.com wrote: One quick clarification, if you would be so kind.  Isn't it true that even after the image file is loaded there is still an interpreter present (as with Forth) that can permit subsequent interpretation of

Re: [Factor-talk] Wikipedia error?

2011-09-09 Thread Slava Pestov
Hi Patrick, On Fri, Sep 9, 2011 at 10:18 AM, Patrick Mc(avery patr...@spellingbeewinnars.org wrote: Thanks Slava for your last answer! I just noticed something on wikipedia that might be an error: The Java version of Factor was replaced by a version written in C and Factor Isn't it written

Re: [Factor-talk] Graphviz gvplugin_list and dlls for Windows

2011-09-07 Thread Slava Pestov
Hi Alexander, On Wed, Sep 7, 2011 at 5:32 PM, Alexander James Vondrak ajvond...@csupomona.edu wrote: on Windows and Mac. If we can find a fix for these problems, we can release Factor .95 soon. Well, that seems like a trivial library to block a release for... We can't make a release until

Re: [Factor-talk] Unused USE's

2011-09-02 Thread Slava Pestov
Hi Joe, On Fri, Sep 2, 2011 at 12:05 PM, Joe Groff arc...@gmail.com wrote: On Sep 2, 2011, at 11:06 AM, John Benediktsson wrote: Is there a way to tell for a given vocabulary what is USE'd, but not required (i.e., unused imports)? The only way I know is to remove a vocab's imports then

[Factor-talk] Gtk UI backend in master

2011-08-30 Thread Slava Pestov
Hi all, I've merged Philipp fix for glib.ffi, and Anton's workaround for the gdk pixbuf binding. Now the UI opens and seems to work. Thanks guys for looking at this! Anton tells me he has a real fix coming up soon. The problem is that certain functions get the wrong return type, but we're not

Re: [Factor-talk] TryRuby, etc.

2011-08-28 Thread Slava Pestov
Hi John, On Sun, Aug 28, 2011 at 3:07 PM, John Porubek jporu...@gmail.com wrote: As a newcomer, I have to agree somewhat. It's frustrating when examples from Help don't work because Factor has changed since the help was written. However, even with errors (inconsistencies?) Factor's Help

Re: [Factor-talk] Factor GUI fails w/ cairo error

2011-08-27 Thread Slava Pestov
Hi Matt, On Sat, Aug 27, 2011 at 12:00 PM, Matt Gushee m...@gushee.net wrote: A couple of details that could be important: my desktop computer is rather [ahem] embarrassingly old ... so it doesn't have SSE2. Therefore I can't use a prebuilt package. I built factor last Sunday using the  

Re: [Factor-talk] Merged native-image-loader branch

2011-08-27 Thread Slava Pestov
Hi Joe, On Sat, Aug 27, 2011 at 4:05 PM, Joe Groff arc...@gmail.com wrote: I updated and merged my old native-image-loader branch, which makes Factor use the native Cocoa/Win32 facilities for loading images, along with Philipp Brueschweiler's gtk-image-loader branch that adds the same

Re: [Factor-talk] Merged native-image-loader branch

2011-08-27 Thread Slava Pestov
, 2011, at 5:15 PM, Slava Pestov wrote: Hi Joe, I saw you merged your changes. However bootstrap fails on Linux now: I thought you said you tested them... Regardless, I also went ahead and moved the pure Factor image libraries to extra/ as you suggested. -Joe

[Factor-talk] native-image-loader load error

2011-08-27 Thread Slava Pestov
Hi Anton, Joe merged Blei's native-image-loader work, unfortunately the gtk UI backend doesn't bootstrap anymore and I can't figure out the problem. Do you think you'll find some time to take a look at it? It looks like glib.ffi and gobject.ffi both define GError now, and glib.ffi and

Re: [Factor-talk] Relative vocab roots

2011-08-26 Thread Slava Pestov
Hi John, On Fri, Aug 26, 2011 at 8:39 AM, John Benediktsson mrj...@gmail.com wrote: Why are you prepending vocab-base-directory to all the roots, rather than just putting the current directory in the list of vocab-roots and keeping the other logic the same? B A prepend-path (and A B

Re: [Factor-talk] Relative vocab roots

2011-08-25 Thread Slava Pestov
Hi Joe, This looks good. I assume you tested it :-) My only objection is the name vocab-base-directory. Is there a better name for this? On Thu, Aug 25, 2011 at 3:04 PM, Joe Groff arc...@gmail.com wrote: Here's a patch to have the vocab loader save Factor's initial current directory at

Re: [Factor-talk] Relative vocab roots

2011-08-25 Thread Slava Pestov
On Thu, Aug 25, 2011 at 7:46 PM, Joe Groff arc...@gmail.com wrote: This looks good. I assume you tested it :-) My only objection is the name vocab-base-directory. Is there a better name for this? I'm not crazy about the name either, but I couldn't think of anything better. My other choice

Re: [Factor-talk] TryRuby, etc.

2011-08-24 Thread Slava Pestov
I can't load that link right now, but IIRC this is just the old Factor 0.72 docs in PDF format. On Wed, Aug 24, 2011 at 1:00 PM, Andrew Pennebaker andrew.penneba...@gmail.com wrote: Note that this handbook is not a tutorial... --Forward to the Factor Developer's Handbook It's still a valuable

Re: [Factor-talk] No word named “--” found in current vocabulary search path

2011-08-24 Thread Slava Pestov
Hi Andrew, You're using the old convention (from handbook.pdf? :-) ) Please review recent docs: http://docs.factorcode.org/content/article-inference.html http://docs.factorcode.org/content/article-effects.html Slava On Wed, Aug 24, 2011 at 3:02 PM, Andrew Pennebaker andrew.penneba...@gmail.com

Re: [Factor-talk] webapps.todo

2011-08-22 Thread Slava Pestov
Hi Martin, On Mon, Aug 22, 2011 at 11:56 AM, Martin Saurer martin.sau...@bluewin.ch wrote: I tried it with the factor 0.94 build from factorcode.org = no success I tried it with an own clean build of 0.94 = no success When I build the latest version using factor.cmd latest, I end up with a

Re: [Factor-talk] USE/USING and scripting

2011-08-20 Thread Slava Pestov
Hi Andrew, On Sat, Aug 20, 2011 at 12:42 AM, Andrew Pennebaker andrew.penneba...@gmail.com wrote: I agree, we should prefer USING for all imports. Why does Factor still have USE when USING is more comprehensive? USE: is mostly intended for interactive use. In the listener, USE: foo is more

Re: [Factor-talk] USE/USING and scripting

2011-08-19 Thread Slava Pestov
Hi Andrew, On Fri, Aug 19, 2011 at 8:26 AM, Andrew Pennebaker andrew.penneba...@gmail.com wrote: Is there an import command that doesn't require moving my files into the Factor work directory? I like version controlling my scripts and it would be a pain to copy them from my git directory over

Re: [Factor-talk] USE/USING and scripting

2011-08-19 Thread Slava Pestov
Hi Andrew, On Fri, Aug 19, 2011 at 8:30 PM, Andrew Pennebaker andrew.penneba...@gmail.com wrote: It would really be neat if you didn't have to use INCLUDE/INCLUDING for user code and USE/USING for Factor's standard library code. Well, using vocabulary roots you can use USING: for everything.

Re: [Factor-talk] please unsubscribe

2011-08-18 Thread Slava Pestov
Please visit https://lists.sourceforge.net/lists/listinfo/factor-talk to unsubscribe. On Thu, Aug 18, 2011 at 10:28 AM, Robert Hotto bobho...@gmail.com wrote: -- Bob -- Get a FREE DOWNLOAD! and learn more about

Re: [Factor-talk] Factor UI crashes in Mac OS X Lion

2011-08-18 Thread Slava Pestov
Also try this: \ menu-run-files see On Thu, Aug 18, 2011 at 4:22 PM, Joe Groff arc...@gmail.com wrote: On Aug 18, 2011, at 4:12 PM, Andrew Pennebaker wrote: DATA STACK: T{ words:undefined ui.backend.cocoa.tools:menu-run-files } CALL STACK: frame: 11c4a6fc8 executing: ( callback

Re: [Factor-talk] Idiomatic way of selecting multiple elements from array

2011-08-18 Thread Slava Pestov
On Tue, Aug 16, 2011 at 4:57 PM, Larry Coleman all.are.wond...@gmail.com wrote: This works, but I'm pretty sure it's not idiomatic factor, and I'll need to do something similar at least twice more, so there must be a better way: TUPLE: item-info longitude latitude speed ; C: item-info

Re: [Factor-talk] Scrollable gadgets

2011-08-16 Thread Slava Pestov
Hi Rupert, Try using a track gadget instead. On Sun, Aug 14, 2011 at 2:52 PM, Rupert Swarbrick rswarbr...@gmail.com wrote: Hi, I'm trying to write some UI code in Factor and have got a little stuck with making gadgets scrollable. I've got a pack which contains several panes (10, in fact),

Re: [Factor-talk] json.writer: jsvar-encode? dynamic variable to control jsvar-encode substitution

2011-07-10 Thread Slava Pestov
Thanks Dave, I've merged your changes. On Mon, Jul 4, 2011 at 9:11 PM, otoburb otob...@gmail.com wrote: Hi, As per the discussion in the channel, I tweaked json.writer so that it now takes a dynamic variable to determine whether to perform substitution of dashes into underscores for

Re: [Factor-talk] HTTP methods OPTIONS, TRACE, HEAD

2011-06-03 Thread Slava Pestov
Thanks, merged. On Tue, May 24, 2011 at 7:10 PM, otoburb otob...@gmail.com wrote: Hi Slava, Docs added for HTTP HEAD, OPTIONS, DELETE and TRACE methods, located at git://github.com/otoburb/factor.git Thanks, Dave On Fri, May 20, 2011 at 9:39 PM, Slava Pestov sl...@factorcode.org wrote

Re: [Factor-talk] Gtk bindings on Windows and Mac OS X

2011-06-03 Thread Slava Pestov
(my special environment variable with custom paths) and from gir-1.0 in XDG_DATA_DIRS (if defined) or in /usr/local/share/ and /usr/share/). 2011/5/21 Slava Pestov sl...@factorcode.org: Anton, Any thoughts on this? On Thu, Apr 7, 2011 at 12:09 PM, Slava Pestov sl...@factorcode.org wrote

Re: [Factor-talk] tools for memory profiling?

2011-06-03 Thread Slava Pestov
Hi Kartik, On Mon, May 30, 2011 at 12:59 PM, Kartik Agaram a...@akkartik.com wrote: I'm curious: what do people for profiling memory use of factor programs? Unfortunately there isn't much, other than the words in tools.memory. The low level debugger also has a way to find and list references

Re: [Factor-talk] newbie question again: how to put a sequence (or array) back onto stack

2011-05-20 Thread Slava Pestov
Joe, How can you forget about sequences.product, which you yourself wrote :-) USING: math.ranges sequences.product ; 5 [ 1 3 [a,b] ] replicate [ . ] product-each Slava On Fri, May 20, 2011 at 10:10 AM, Joe Groff arc...@gmail.com wrote: On May 20, 2011, at 9:45 AM, Zhe Hu wrote: Thanks a lot

Re: [Factor-talk] HTTP methods OPTIONS, TRACE, HEAD

2011-05-20 Thread Slava Pestov
Hi Dave, Can you please add some docs? Thanks, Slava On Thu, May 12, 2011 at 4:29 AM, otoburb otob...@gmail.com wrote: Hi, I made some minor updates to http.client with the addition of HTTP OPTIONS, TRACE and HEAD methods. This can be pulled from git://github.com/otoburb/factor.git

Re: [Factor-talk] Gtk bindings on Windows and Mac OS X

2011-05-20 Thread Slava Pestov
Anton, Any thoughts on this? On Thu, Apr 7, 2011 at 12:09 PM, Slava Pestov sl...@factorcode.org wrote: On Thu, Apr 7, 2011 at 2:52 AM, Anton Gorenko ex.rzr...@gmail.com wrote: I can return .girs back but I don't think that it's a really good idea. Maybe we should mark these vocabs

Re: [Factor-talk] Pull request: math.primes:nprimes

2011-05-20 Thread Slava Pestov
Thanks, merged. On Fri, May 20, 2011 at 3:42 AM, Samuel Tardieu s...@rfc1149.net wrote: My students asked for a nprimes word. Here it is.   Sam The following changes since commit 4f8e8e6613be53786c9e72730b5577a9d2176247:   Add math.primes:nprimes (2011-05-20 12:38:27 +0200) are available

Re: [Factor-talk] newbie: understanding inline and call

2011-05-07 Thread Slava Pestov
On Sat, May 7, 2011 at 4:50 PM, Matt Edlefsen matt.edlef...@gmail.com wrote: Makes sense.  I changed contains-any? to MACRO: contains-any? ( elts -- quot ) seqcontain-seq '[ _ 1|| ] ; But that only works if elts is literal, so I changed it back to the call( version. You can use any? instead

Re: [Factor-talk] newbie: understanding inline and call

2011-05-06 Thread Slava Pestov
Hi Matt, On Fri, May 6, 2011 at 6:51 PM, Matt Edlefsen matt.edlef...@gmail.com wrote: As for mapping instead of reducing, the issue I ran into was that map seems to try to wrap the result in the same sequence type that the input was. That works great for vectors, but when the sequence is a

Re: [Factor-talk] system-alert in gtk bindings

2011-04-16 Thread Slava Pestov
. No problem when running in terminal. At Wed, 13 Apr 2011 22:48:52 +0600, Anton Gorenko wrote: Hi Slava, Thanks for your fix. Both system-alert and gtk-samples.hello-world work well. I will try to reproduce this problem. Anton 2011/4/13 Slava Pestov sl...@factorcode.org: Hi Anton, I

Re: [Factor-talk] system-alert in gtk bindings

2011-04-13 Thread Slava Pestov
in the e-mail. Any ideas? Slava On Thu, Apr 7, 2011 at 3:03 PM, Slava Pestov sl...@factorcode.org wrote: Hi Anton, Try this: Yo Hello system-alert On my Linux 32-bit VM at least, this opens a blank dialog, and the Factor UI window does not refresh until I close the dialog. I guess there's

Re: [Factor-talk] Parsing factor-rc and update vocab-roots

2011-04-10 Thread Slava Pestov
Hi Martial, You can use for this. /my/path add-vocab-root USE: foo.bar ... Slava On Sun, Apr 10, 2011 at 2:26 AM, Martial Boniou hond...@gmx.com wrote: Hi, I recently discover the need to add my own vocabulary outside the *work* directory. Say, for a vocab like '/my/path/foo/bar', I

[Factor-talk] Gtk bindings on Windows and Mac OS X

2011-04-07 Thread Slava Pestov
Hi Anton, Can you take a look at the latest Mac OS X and Windows build reports? http://builds.factorcode.org/report?os=winntcpu=x86.32 http://builds.factorcode.org/report?os=macosxcpu=x86.32 Slava -- Xperia(TM) PLAY

Re: [Factor-talk] Gtk bindings on Windows and Mac OS X

2011-04-07 Thread Slava Pestov
On Thu, Apr 7, 2011 at 2:52 AM, Anton Gorenko ex.rzr...@gmail.com wrote: I can return .girs back but I don't think that it's a really good idea. Maybe we should mark these vocabs with 'not loaded' tag? The problem with marking them as not loaded is that the build farm won't test them, and we

[Factor-talk] system-alert in gtk bindings

2011-04-07 Thread Slava Pestov
Hi Anton, Try this: Yo Hello system-alert On my Linux 32-bit VM at least, this opens a blank dialog, and the Factor UI window does not refresh until I close the dialog. I guess there's a problem with the event loop here. Slava

Re: [Factor-talk] Pull Request

2011-04-06 Thread Slava Pestov
Hi Philipp, I've merged your gtk-game-input branch. I've also merged Anton's latest Gtk changes. Slava 2011/4/6 Philipp Brüschweiler ble...@gmail.com: Hi Slava and everyone else As I'm still waiting for the non-gtk native image loader branch to be merged, and people were keeping mentioning

Re: [Factor-talk] Pull request

2011-04-06 Thread Slava Pestov
/otoburb/factor/commit/ef79f32ec987d0bd51b0a97a069e24ea68161e2c Thanks, Dave On Sun, Apr 3, 2011 at 6:52 PM, Slava Pestov sl...@factorcode.org wrote: Hi, I don't like this fix. Why don't we do the old way where if $DISPLAY is not set, it runs the tty listener, otherwise it runs the UI

Re: [Factor-talk] Pull request

2011-04-03 Thread Slava Pestov
Hi, I don't like this fix. Why don't we do the old way where if $DISPLAY is not set, it runs the tty listener, otherwise it runs the UI listener? Slava On Thu, Mar 31, 2011 at 9:01 PM, otoburb otob...@gmail.com wrote: This should fix the issue that I was having when compiling and

Re: [Factor-talk] Strange behaviour of odd?

2011-04-03 Thread Slava Pestov
The problem is that '1 bitand' is transformed into 'fixnum 1 fixnum-bitand' by the compiler. To fix this properly, we would need a new integerfixnum word which behaves like fixnum but only accepts fixnums and bignums as input. Then compiler optimizations could emit this word instead of fixnum in

Re: [Factor-talk] Presentation for the Dutch Forth Interest Group

2011-03-31 Thread Slava Pestov
On Wed, Mar 30, 2011 at 9:27 AM, Leon Konings fac...@koningssoftware.com wrote: I have been looking at the slides that where used for some presentations in the past. I would like very much to use some of these slides for my own presentation. Could you give me the permission to do so? Of

Re: [Factor-talk] More improved Vim syntax file

2011-03-25 Thread Slava Pestov
Thanks, merged! On Sun, Mar 20, 2011 at 5:01 PM, Keita Haga keitah...@mail.com wrote: Hi Slava, I have a few patches of Vim syntax file. Add support for special characters. I put patches into 'vim' branch at my GitHub https://github.com/keitahaga/factor as usual. Thank you very much Factor

Re: [Factor-talk] Factor image snapshots

2011-03-20 Thread Slava Pestov
The problem with snapshotting the state of the UI with all open windows and gadgets is that it gets really tricky for gadgets with associated native resources, like fonts, vertex buffers, textures, and so on. Squeak doesn't run into this difficulty because it renders to a framebuffer and

Re: [Factor-talk] game.input no longer works on X11 (possibly due to gtk backend)

2011-03-17 Thread Slava Pestov
Hi Philipp, I tried to merge your branch but there were a number of conflicts. Can you please rebase the code on top of the latest sources and push to a new branch? Slava 2011/3/15 Philipp Brüschweiler ble...@gmail.com: On Mon, 14 Mar 2011 17:43:36 -0700 Joe Groff arc...@gmail.com wrote:

Re: [Factor-talk] game.input no longer works on X11 (possibly due to gtk backend)

2011-03-14 Thread Slava Pestov
I saw talk in the channel about Blei's new Gtk-based game.input implementation, however I didn't see anything in github.com/Blei/factor. Is there a git repo with these patches available anywhere? Slava On Mon, Mar 14, 2011 at 5:43 PM, Joe Groff arc...@gmail.com wrote: kenanb in #concatenative

Re: [Factor-talk] Minor changes

2011-03-13 Thread Slava Pestov
Hi otoburb, I'm not a fan of https://github.com/otoburb/factor/commit/eb374e4a81d52a7d577bf108c4a7843eb62f781f. What about this? SYNTAX: HOLIDAY-NAME: scan-word holiday word-prop [ scan-word [ scan-object ] dip ] dip set-at ; Or this SYNTAX: HOLIDAY-NAME: [let scan-word holiday

Re: [Factor-talk] Update readme, and tweak the Vim syntax file

2011-03-05 Thread Slava Pestov
Thank you. I've merged your patches. On Sat, Mar 5, 2011 at 5:39 AM, Keita Haga keitah...@mail.com wrote: Hi Slava, I fixed readme.html and Vim syntax file. Patches are available in 'readme' and 'vim' branch at https://github.com/keitahaga/factor Thank you, Keita

Re: [Factor-talk] Gtk binding load errors

2011-03-05 Thread Slava Pestov
outdated in some Linux distributions). Anton 2011/3/1 Slava Pestov sl...@factorcode.org: Hi Anton, Vocabs in clutter.* and gstreamer.* don't load. Can you make a fix? Slava -- Free Software Download: Index

[Factor-talk] Gtk binding load errors

2011-02-28 Thread Slava Pestov
Hi Anton, Vocabs in clutter.* and gstreamer.* don't load. Can you make a fix? Slava -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the

[Factor-talk] Gtk bindings merged

2011-02-27 Thread Slava Pestov
Hi Anton, I've merged your Gtk bindings into the master repository. Slava -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast

Re: [Factor-talk] bun_zipper.ply file expected by bunny and gpu.demos.bunny demos is missing

2011-02-25 Thread Slava Pestov
On Fri, Feb 25, 2011 at 12:23 PM, Joe Groff arc...@gmail.com wrote: Hey guys, if you try to run gpu.demos.bunny it pulls a 138-byte 404 page and quietly dies. It looks like http://factorcode.org/slava/bun_zipper.ply no longer exists. Did it get moved along with the image files at some point?

Re: [Factor-talk] Factor's documentation fixes

2011-02-25 Thread Slava Pestov
Thanks, merged. On Wed, Feb 23, 2011 at 1:56 PM, Keita Haga keitah...@mail.com wrote: Hi Slava, I fixed some documentation. Patches are available in 'doc-fixes' branch at https://github.com/keitahaga/factor Thank you, Keita

Re: [Factor-talk] Minor documentation fixes

2011-02-14 Thread Slava Pestov
Thanks, merged. On Sun, Feb 6, 2011 at 3:35 AM, Keita Haga keitah...@mail.com wrote: Hi Slava, I have some patches for you. Patches are available in 'doc-fixes' branch at https://github.com/keitahaga/factor I hope that helps. Thank you, Keita

Re: [Factor-talk] Stream wrappers

2011-01-28 Thread Slava Pestov
On Thu, Jan 27, 2011 at 9:43 PM, Fred Alger ph...@cowlabs.net wrote: I'm on the verge of writing a stream-wrappers vocabulary to handle this kind of approach, but I wanted to explain the problem as I see it to the list and see if I've just missed something totally essential about how Factor

Re: [Factor-talk] Merging gtk bindings and UI backend

2011-01-28 Thread Slava Pestov
Thanks for the fixes, Anton. It sounds like the code is ready to merge now. I'll test it out and let you know how it goes. Slava On Thu, Jan 27, 2011 at 12:26 PM, Anton Gorenko ex.rzr...@gmail.com wrote: Hi Slava, 2010/12/21 Slava Pestov sl...@factorcode.org: Hi Anton, Sorry for the late

Re: [Factor-talk] Fixed some documentation

2011-01-28 Thread Slava Pestov
Thanks, I've merged your changes. On Tue, Jan 18, 2011 at 11:13 AM, Keita Haga keitah...@mail.com wrote: Hi Slava, Sorry to bother you again. Additionally, I fixed a few documentation. Patches are available in 'doc-fixes' branch at https://github.com/keitahaga/factor Hope that helps.

Re: [Factor-talk] Merging gtk bindings and UI backend

2011-01-28 Thread Slava Pestov
On Thu, Jan 27, 2011 at 12:26 PM, Anton Gorenko ex.rzr...@gmail.com wrote: There are 2 places where we can decrease size of the deployed image: - stripping gobject-introspection.types:type-infos global variable in tools.deploy.shaker = up to 500kB on 64-bit. - xml.errors and xml.traversal use

Re: [Factor-talk] nths' output class

2011-01-28 Thread Slava Pestov
Hi Jon, I've pushed this change. Slava On Mon, Jan 17, 2011 at 12:48 PM, Jon Harper jon.harpe...@gmail.com wrote: Hi, shouldn't nths output a sequence of the same class as the original sequence ? Something like  : nths ( indices seq -- seq' ) -    [ nth ] curry map ; +    [ [ nth ] curry

Re: [Factor-talk] Fixed some documentation

2011-01-17 Thread Slava Pestov
Thanks, merged. On Fri, Jan 14, 2011 at 9:36 AM, Keita Haga keitah...@mail.com wrote: Hi, I fixed some documentation. Patches are available in 'doc-fixes' branch at https://github.com/keitahaga/factor It's mostly typo fixes. Hope that helps. Thank you, Keita

Re: [Factor-talk] Minor fixes to documentation

2011-01-08 Thread Slava Pestov
Merged, thanks. Slava On Sat, Jan 8, 2011 at 7:21 AM, Keita Haga keitah...@mail.com wrote: Hi Slava, Sorry to bother you again. Additionally, I fixed several documentation. Patches are available in 'doc-fixes' branch at https://github.com/keitahaga/factor Hope that helps. Thank you,

Re: [Factor-talk] Fixed several documentation

2011-01-05 Thread Slava Pestov
Thank you very much for working on Factor's documentation! Not many people have :-) On Wed, Jan 5, 2011 at 12:51 AM, Keita Haga keitah...@mail.com wrote: Hi, I've read many articles from Factor documentation during the New Year's vacation. Thanks to wonderful articles written by Factor

Re: [Factor-talk] Size of Collections

2010-12-27 Thread Slava Pestov
Hi John, We tend to add generic words to protocols on an as-needed basis, however getting the size of a set seems like a reasonable requirement. I propose adding GENERIC: cardinality ( set -- n ) Would you like to try your hand at this, or should I work on it? Slava On Sun, Dec 26, 2010 at

Re: [Factor-talk] Planet Factor

2010-12-26 Thread Slava Pestov
Thanks, I've added it. As for the other blogs, I don't have a problem with non-Factor content on there, as long as its interesting. Slava On Sun, Dec 26, 2010 at 10:32 AM, Samuel Tardieu s...@rfc1149.net wrote: Slava, could you add the Factor section of my blog to planet Factor?   Name: An

Re: [Factor-talk] Factor DLS2010 Paper

2010-12-23 Thread Slava Pestov
On Thu, Dec 23, 2010 at 5:18 AM, Jon Harper jon.harpe...@gmail.com wrote: You can always open the file for reading and then read the lines that you want :  data.txt utf8 [ A ] with-file-reader where A can call readln or read to read the file lines. For example,  data.txt utf8 [ 10 [ readln ]

Re: [Factor-talk] Patches for documentation

2010-12-23 Thread Slava Pestov
Thanks, merged. On Wed, Dec 22, 2010 at 1:44 PM, Keita Haga keitah...@mail.com wrote: Hi, I fixed some Factor documentation. The patches is in 'doc-fixes' branch at https://github.com/keitahaga/factor If you want, please merge it. Thank you. Keita

Re: [Factor-talk] Merging gtk bindings and UI backend

2010-12-21 Thread Slava Pestov
Hi Anton, Sorry for the late reply; the code looks almost ready to merge. Some comments: - It needs an update for recent changes to alien.c-types. 'int' is 'int ref', and '*int' is 'int deref', same for void*. - Button presses still don't send the right events on 32-bit - The I/O code should be

Re: [Factor-talk] Improved gedit integration and add Kate/KWrite integration

2010-12-18 Thread Slava Pestov
Hi Keita, I've merged your doc-fixes branch. The editor support looks fine, however editors.kate and editors.kwrite are almost identical. Why don't you have the editors.kwrite vocabulary just depend on editors.kate, and set the kwrite-path global in a top-level form? In general the editors.*

Re: [Factor-talk] Merging gtk bindings and UI backend

2010-12-08 Thread Slava Pestov
). Horrible days... Could you check my fixes on 32 bit system? Anton 2010/10/15 Slava Pestov sl...@factorcode.org: On Wed, Oct 13, 2010 at 10:22 PM, Anton Gorenko ex.rzr...@gmail.com wrote: What is the fep? I think that integer types must have the same behaviour on 32 and 64 bit systems

Re: [Factor-talk] Some documentation fixes

2010-12-01 Thread Slava Pestov
Thank you for the patches, I've merged them in. On Tue, Nov 30, 2010 at 10:41 AM, Keita Haga keitah...@mail.com wrote: Hi, Slava. I have read Factor's documents and recognized some wrong parts. so, I fixed the documents and put this patches in 'doc-fixes' branch at

Re: [Factor-talk] load-all

2010-11-16 Thread Slava Pestov
Hi Shaping, A top-level form in the site-watcher vocabulary makes calls to initialize a SQLite database. Since you do not have SQLite installed, you get this error when the vocabulary is loaded. You can either not call load-all, ignore the error, or install SQLite. Slava On Tue, Nov 16, 2010 at

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

2010-11-13 Thread Slava Pestov
Hi Joe, Thanks for the bug report. I've pushed fixes for both issues. However there are still cases where 1 /f and float give different results, eg ( scratchpad ) 60179602826890858042495329276589127743 [ 1 /f .h ] [ float .h ] bi 1.6a315bfb1e4bfp125 1.6a315bfb1e4cp125 Which result is more

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

2010-11-13 Thread Slava Pestov
) 60179602826890858042495329276589127743 1 /f doublebits .h 47c6a315bfb1e4bf ( scratchpad ) 60179602826890858042495329276589127743 float doublebits .h 47c6a315bfb1e4c0 Slava On Sat, Nov 13, 2010 at 4:05 PM, Slava Pestov sl...@factorcode.org wrote: Hi Joe, Thanks for the bug report. I've pushed fixes for both issues

Re: [Factor-talk] let, let* |

2010-11-11 Thread Slava Pestov
Hi Jeff, [let is defined in the locals vocabulary, and [let* is gone now. If you saw an old blog post talking about [let and [let*, chances are it uses the old syntax for [let too. Nowadays, we do this: :: foo ( -- z ) 5 : x 6 : y x y + ; Slava On Thu, Nov 11, 2010 at 7:10 PM, Jeff

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

2010-11-10 Thread Slava Pestov
On Wed, Nov 10, 2010 at 8:00 PM, Slava Pestov sl...@factorcode.org wrote: The tetris.exe left on the disk would simply exit with no GUI generated. I'll test deployment out and let you know if I find any problems. Jeff, Can you try with the latest development binary for Windows, instead

Re: [Factor-talk] Vocabulary browser; class browser

2010-11-07 Thread Slava Pestov
Hi Shaping, It's not like the Smalltalk browser, but have you seen the vocabulary browser in the help system? Try this in the listener: sequences about You can browse nested vocabularies too, for example try io about Slava On Sun, Nov 7, 2010 at 4:17 AM, Shaping shap...@charter.net wrote:

Re: [Factor-talk] Working style; default font; preferred text styler with REPL

2010-11-06 Thread Slava Pestov
On Fri, Nov 5, 2010 at 1:18 AM, Shaping shap...@charter.net wrote: Should nearly working, nearly tested vocabularies go in unmaintained? No, because unmaintained is not a vocabulary root. It is more of a graveyard and source of ideas for future projects. Slava

Re: [Factor-talk] error in (split) stack effect declaration

2010-11-06 Thread Slava Pestov
Hi, You're right, since it just passes the quotation to find-from there's no reason to make the stack effect more restricted than it is. I've changed it. Slava On Sat, Nov 6, 2010 at 9:15 AM, Yu Nakagawa nakshi...@gmail.com wrote: Hi, I was trying to use split-when with ( x x -- x x ) quote,

Re: [Factor-talk] alien.c-types removal

2010-10-25 Thread Slava Pestov
On Mon, Oct 25, 2010 at 2:08 PM, Doug Coleman doug.cole...@gmail.com wrote: ! the old way : get-source-param ( source param -- value )    0 uint dup [ alGetSourcei ] dip *uint ; ! the new way : get-source-param ( source param -- value )    0 uint ref dup [ alGetSourcei ] dip uint deref ;

Re: [Factor-talk] factorcode.org migration

2010-10-22 Thread Slava Pestov
On Thu, Oct 21, 2010 at 7:41 PM, Adam hiat...@gmail.com wrote: Slava, Windows x86 and x86-64 clean build download links are still down and the 'Latest clean build' list a build from October but the front page/download link still references a build from September . I'll let Doug deal with

Re: [Factor-talk] sequences.product

2010-10-22 Thread Slava Pestov
Hi Jon, I've applied your patch. In the future, please make commit messages a bit more descriptive (eg, sequences.product: clean up) Slava On Tue, Oct 19, 2010 at 9:35 AM, Jon Harper jon.harpe...@gmail.com wrote: Hi, attached is a patch that cleans up sequences.product a bit. Feel free to

Re: [Factor-talk] Structures and TYPEDEF bug

2010-10-14 Thread Slava Pestov
Is this really a bug? 'new' and 'boa' don't work with ALIAS:d classes either. On Thu, Oct 14, 2010 at 12:58 AM, Anton Gorenko ex.rzr...@gmail.com wrote: It's impossible to create a typedeffed structure with struct-boa: ( scratchpad ) STRUCT: struct1 { x int } ; ( scratchpad ) TYPEDEF: struct1

Re: [Factor-talk] Merging gtk bindings and UI backend

2010-10-14 Thread Slava Pestov
On Wed, Oct 13, 2010 at 10:22 PM, Anton Gorenko ex.rzr...@gmail.com wrote: What is the fep? I think that integer types must have the same behaviour on 32 and 64 bit systems. On 64 bit int has [ fixnum ] in its unboxer-quot slot, so it's possible to run 1.0 2.5 1 1 cairo_rectangle_int_t

Re: [Factor-talk] Merging gtk bindings and UI backend

2010-10-13 Thread Slava Pestov
Hi Anton, I took a look at the latest gtk bindings code. It looks good but needs a few fixes. I think once you fix these problems, we should merge it as soon as its minimally usable, so that it can get more testing from users. - basis/pango/cairo/cairo.factor references 'cairo.pango.ffi'.

Re: [Factor-talk] ch-upper? recent meaning change

2010-10-08 Thread Slava Pestov
Hi Samuel, The word was added by mistake and has been removed. You can use the following words: ascii:letter? ascii:LETTER? unicode.categories:letter? unicode.categories:LETTER? On Fri, Oct 8, 2010 at 12:46 PM, Samuel Tardieu s...@rfc1149.net wrote: In change

Re: [Factor-talk] (no subject)

2010-10-06 Thread Slava Pestov
Hi John, Sorry for the late response. The 'edit' word takes a 'defspec' which is shorthand for definition specifier. An example of a definition specifier is a word. For example, entering the following at the listener will open the definition of the 'append' word in Factor's standard library: \

Re: [Factor-talk] factorcode.org migration

2010-10-04 Thread Slava Pestov
On Mon, Oct 4, 2010 at 1:08 PM, Adam hiat...@gmail.com wrote: Clicking a link for a clean build or .94 shows a page that has the text 'Logo' where the normal factorcode logo should be. Thanks Adam, this should now be fixed.

Re: [Factor-talk] factorcode.org migration

2010-10-04 Thread Slava Pestov
Hi Jon, The docs site should now work properly. Slava On Sun, Oct 3, 2010 at 3:08 AM, Jon Harper jon.harpe...@gmail.com wrote: Hi, . searches in docs.factorcode.org return 500 Internal server error . Most article return a 404 error, for example  

Re: [Factor-talk] Merging gtk bindings and UI backend

2010-09-30 Thread Slava Pestov
On Wed, Sep 29, 2010 at 11:34 PM, Anton Gorenko ex.rzr...@gmail.com wrote: Hi Slava! http://github.com/ex-rzr/factor/commit/c10b435da4a79520ba978da01f727a96d0825e45 gobject-introspection.tests, extra/clutter, extra/gstreamer are broken. Could you review my code before the merge? I will do

  1   2   3   4   5   6   7   8   9   >