Re: [Factor-talk] SVG

2009-08-24 Thread Matthew Willis
Hugh, I'm pretty sure there is a Cairo binding for Factor in the Factor distribution somewhere. Matthew Willis On Aug 25, 2009, at 6:49 AM, Hugh Aguilar wrote: > I've given some more thought to the subject of slide-rule > construction. > LaTeX would work but is overly

[Factor-talk] with-x pattern

2009-05-24 Thread Matthew Willis
I find myself using the following pattern quite a bit when most of the words in a vocabulary seem to operate on a single important object: ! in a shogi vocab where most words operate on a shogi board : bg ( -- board-gadget ) board-gadget get ; : with-board-gadget ( gadget quot -- ) board-gadget

Re: [Factor-talk] OOP tutorial

2009-05-14 Thread Matthew Willis
;t need to involve dispatching and hence tend not to be methods. The point of Factor OOP (to me) is to allow one to quickly write code that does different things for different objects while not forcing one to write extra boilerplate for non-dispatching code. Have fun! Matthew Willis On May 15,

Re: [Factor-talk] Noob

2009-01-19 Thread Matthew Willis
The F2 key will reload any changed vocabularies. That will save you some time :) Matt On Jan 20, 2009, at 10:57 AM, Steve Weeks wrote: > I'm learning factor and have some of those noob questions. I can > program in quite a few languages, the usual things plus Smalltalk, > Ruby and a little F

Re: [Factor-talk] Which Emacs to use on Mac?

2009-01-12 Thread Matthew Willis
I got my emacs from here: http://atomized.org/wp-content/cocoa-emacs-nightly/ These are apparently nightly builds from emacs CVS. -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your s

[Factor-talk] onigirihouse users

2008-05-31 Thread Matthew Willis
Are any of you still using your homes and factor repositories on onigirihouse.com? I think most people have moved on to other setups, so I'd like to reclaim the box for my own use. Please let me know if you need any files from there. Thanks! Matt ---

Re: [Factor-talk] Killing frozen programs

2008-04-13 Thread Matthew Willis
board shortcut for new window, and then try to kill the thread where your problem is executing. Last time I asked about this on irc, though, the resulting factor instance was not guaranteed to be in a sane working condition.

Re: [Factor-talk] Bye Bye Tiger, Tiger Bye Bye

2008-04-13 Thread Matthew Willis
e secondary markets. That way you could always have the latest hardware for something like $200-$300 a year, and pick up any OS upgrades along with the new hardware. Just my two cents! Matthew Willis - This SF.net email is

Re: [Factor-talk] Current version doesn't compile on MacOS X 10.4.11 (Intel)

2008-04-12 Thread Matthew Willis
than that I tested it on the various configurations at the time (Tiger/Leopard and intel/ppc). My advice is to look into /usr/include and make sure that the structures exist in the forms that are written in that code. Matthew Willis Slava Pestov wrote: > We have these macros in os-macosx-

Re: [Factor-talk] Platform support

2008-03-27 Thread Matthew Willis
Your work is greatly appreciated! Thanks! Matt On Mar 27, 2008, at 6:55 PM, Slava Pestov wrote: > Hi all, > > Doug and I invested some effort into getting Factor running on > (Net|Open|Free)BSD, 32-bit and 64-bit x86, with the exception of > FreeBSD > x86-64. All unit tests pass; we'll take c

Re: [Factor-talk] FreeBSD problems

2008-03-15 Thread Matthew Willis
Wow, I was thinking they would get it out before the version 2 release :) Matt On Mar 15, 2008, at 7:15 PM, James K Smith wrote: >> Or better yet--some enterprising hacker will figure out a way to put >> their own 'app store' onto the iPhone :) > > Agree completely. Give it one year from iPhon

Re: [Factor-talk] FreeBSD problems

2008-03-15 Thread Matthew Willis
Or better yet--some enterprising hacker will figure out a way to put their own 'app store' onto the iPhone :) Matt On Mar 15, 2008, at 6:16 PM, James K Smith wrote: >> There's a bit of an issue as to whether their terms and conditions >> for >> the > > True. Also for resident apps built with

Re: [Factor-talk] A note about Dan's unicode efforts

2008-03-10 Thread Matthew Willis
: >IIRC ISO 2202 JP = Shift JIS (unless that's referring to the Microsoft >extension). But that's a little irrelevant here... > >Dan > >On Mon, Mar 10, 2008 at 7:36 AM, Matthew Willis <[EMAIL PROTECTED]> wrote: >> I REALLY don't want working with th

Re: [Factor-talk] A note about Dan's unicode efforts

2008-03-10 Thread Matthew Willis
On Monday, March 10, 2008, at 02:12PM, "Slava Pestov" <[EMAIL PROTECTED]> wrote: >Matthew Willis wrote: >> Ed, >> >> I work with different encodings of Japanese, and it's a big headache. >> The biggest part of the headache is that no one knows

Re: [Factor-talk] A note about Dan's unicode efforts

2008-03-10 Thread Matthew Willis
Ed, I work with different encodings of Japanese, and it's a big headache. The biggest part of the headache is that no one knows what encoding they are using when they make files. So, you see garbled web pages because the encoding wasn't specified in headers or was specified incorrectly,

Re: [Factor-talk] Too many things in boot stages?

2008-03-10 Thread Matthew Willis
Thanks! And, with the new build system I'm sure it will be easy to find/fix these problems in the future! Matt On Mar 10, 2008, at 12:16 AM, Slava Pestov wrote: > Matthew Willis wrote: >> Hey guys, >> >> I got to thinking about how factor git won't bootstrap o

[Factor-talk] Too many things in boot stages?

2008-03-09 Thread Matthew Willis
Hey guys, I got to thinking about how factor git won't bootstrap on freebsd (and has been in this state for a while), and I'm wondering if we don't have too many modules loaded during bootstrapping. Could we at least remove the new code from the boot stages until it is fixed for other OSe

Re: [Factor-talk] FreeBSD problems

2008-03-09 Thread Matthew Willis
those remote testers end up testing the same configurations as the build farm machines, it couldn't hurt to have more data, right? :) Later! Matt On Mar 9, 2008, at 4:49 AM, Slava Pestov wrote: > Matthew Willis wrote: >> Hey guys, >> >> Due to some recent changes, f

[Factor-talk] FreeBSD problems

2008-03-09 Thread Matthew Willis
Hey guys, Due to some recent changes, factor no longer bootstraps on FreeBSD. The problems are coming from unix.stat, which has backends for OS X and Linux only. Is there a way for other architectures to opt out? Thanks! Matt

Re: [Factor-talk] Specifying the encoding when using file-contents

2008-03-07 Thread Matthew Willis
Hey guys. What about we use the new words as Dan has made them so that we can see how effective they are? I don't see the benefit of debating this topic at length before anyone (besides Dan) has used this new system in real code. Matt! :) On Mar 7, 2008, at 7:40 PM, Daniel Ehrenberg wrote

Re: [Factor-talk] noob question on editor usage.

2007-11-04 Thread Matthew Willis
Try USE: On Nov 4, 2007, at 11:26 AM, Arie van Wingerden wrote: > Hi, > > i found this > > - edit ( defspec -- ) > Depending on the editor you are using, you must load one of the > child vocabularies of the editors vocabulary, for example > editors.emacs. > > in the documentation

[Factor-talk] Onigirihouse update

2007-11-01 Thread Matthew Willis
Hey Primes! Ed Cavazos (dharmatech) is sponsoring onigirihouse for November and December. Thanks, Ed! I've recently started an instance of git-daemon on onigirihouse, and everyone who had a repository on onigirihouse now has a symlink pointing to factor.git in their home directory. My git

Re: [Factor-talk] Onigiri

2007-04-01 Thread Matthew Willis
Hey Chris! I'm here~ :) I think that currently onigiri accepts any password for the admins realm. You can use the scaffolding system to add admin and user accounts, at which point onigiri will only accept the admin accounts. So, if I remember correctly, you just use the onigiri word to setu

Re: [Factor-talk] Missing something with my web-app

2007-03-07 Thread Matthew Willis
Your actions should be in the vocab called "furnace:mycommunity" to be picked up by furnace. Yuuki On Mar 7, 2007, at 6:01 PM, bbrown wrote: > Am I missing something with this code (and yea, I know the model is > missing), > but besides that, shouldnt I get the 'action' to get rendered. > >

Re: [Factor-talk] another smalltalk comparison

2007-03-01 Thread Matthew Willis
no sign of the "out-of-the-box" multiple dispatch functionality :) The circle is now complete; when I left you, I was but the learner, now I am the master! Yuuki ;) On Mar 1, 2007, at 10:11 PM, Eduardo Cavazos wrote: > On Thursday 01 March 2007 21:57, Matthew Willis wrote: >

Re: [Factor-talk] another smalltalk comparison

2007-03-01 Thread Matthew Willis
an example of how to use Factor's "out-of-the-box" support for multiple dispatch? Confused, Yuuki :) On Mar 1, 2007, at 8:45 PM, Eduardo Cavazos wrote: > On Thursday 01 March 2007 20:04, Matthew Willis wrote: > >> I think you're talking about "multiple dispatc

Re: [Factor-talk] another smalltalk comparison

2007-03-01 Thread Matthew Willis
Ed, I think you're talking about "multiple dispatch", which I don't think Factor supports. So, the only way to dispatch on two arguments is to build your own dispatch mechanism, I believe. Yuuki :) On Mar 1, 2007, at 7:58 PM, Eduardo Cavazos wrote: > Hello, > > As I said in my last note, i

[Factor-talk] Dharmatech has sponsored Onigirihouse for March!

2007-03-01 Thread Matthew Willis
Onigirihouse has become somewhat of a gathering place for Factor hackers and their repositories. I'm glad that I can provide this kind of support to the community, and that is worth the hosting cost in my mind, but dharmatech (Ed Cavazos) has indicated to me that the hosting is valuable to

Re: [Factor-talk] The use and abuse of variables

2007-01-11 Thread Matthew Willis
(( )) seems cool, and I look forward to playing with it. I'd like to use variables when a single word duplicates and consumes an object many times, a very common case in my programs. I suspect, however, that only one object in a word's stack effect typically needs this treatment. Is ther

[Factor-talk] Any interesting bug in TUPLE:

2007-01-06 Thread Matthew Willis
Here is the file in question, called crud.factor: REQUIRES: libs/furnace libs/sqlite libs/httpd ; USING: tuple-db sqlite namespaces prettyprint sequences kernel ; IN: crud TUPLE: foo bar baz ; foo default-mapping set-mapping SYMBOL: crud-db : open-db ( db-name -- ) sqlite-open crud-db se