Re: [Factor-talk] Factor 0.97 now available

2014-11-03 Thread Dave Spanton
Great work.

On Mon, Nov 3, 2014 at 12:46 AM, John Benediktsson mrj...@gmail.com wrote:

 If birds can glide for long periods of time, then... why can’t I? -
 Orville Wright

 I'm very pleased to announce the release of Factor 0.97! You can
 find download links on the Factor website:

 http://factorcode.org

 This release is brought to you with over 1,400 commits by the following
 individuals:

 Alex Vondrak, Andrew Pennebaker, Benjamin Pollack, Björn Lindqvist, CW
 Alston, Doug Coleman, Erik Charlebois, Fred Alger, Iskander Sitdikov,
 John
 Benediktsson, Jon Harper, Loryn Jenkins, Paul Woolcock, Roc King,
 Samuel
 Tardieu, Steven Stewart-Gallus, and @Profpatsch

 Besides some bug fixes and library improvements, I want to highlight the
 following changes:

 * Support for more color spaces including LAB, LCH, LUV, RYB, xyY, XYZ,
 and YUV
 * Support for SSL on windows
 * Some new checksum implementations and performance improvements
 * Cross-platform C library finder
 * Client for IMAP protocol
 * Support for MessagePack encoding and decoding
 * Support for uuencoding and uudecoding
 * Support for terminfo database files
 * Support for tzinfo files
 * Support for in-place sorting (using Quicksort)
 * Bindings for ZeroMQ and Python
 * Runner for Applescript (including definition support)
 * Performance improvement to printf and support for vprintf
 * Support saving images in GTK, Cocoa, and Windows backends
 * Generative Modeling Language
 * Lots of documentation added to the compiler
 * Many, many improvements to the FUEL emacs mode

 Some possible backwards compatibility issues:

 * Fixed mask? in math.bitwise to be more correct
 * Fixed bias in Mersenne Twister random number generator
 * Better support for shebang (no longer need a space after #!)
 * io-error now lives in the libc vocabulary
 * sender stubs in cocoa.messages now named by method signature
 * filter now allocates length of seq, not exemplar.
 * Removed make-assoc in favor of explicit get's.

 For more details, please see the full announcement at:

 http://re-factor.blogspot.com/2014/11/factor-097-now-available.html


 --

 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk


--
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Factor 0.97 now available

2014-11-03 Thread Stanislav Paskalev
Great job! :)

Stanislav Paskalev

On Mon, Nov 3, 2014 at 11:46 AM, Dave Spanton davespan...@gmail.com wrote:

 Great work.

 On Mon, Nov 3, 2014 at 12:46 AM, John Benediktsson mrj...@gmail.com
 wrote:

 If birds can glide for long periods of time, then... why can’t I? -
 Orville Wright

 I'm very pleased to announce the release of Factor 0.97! You can
 find download links on the Factor website:

 http://factorcode.org

 This release is brought to you with over 1,400 commits by the following
 individuals:

 Alex Vondrak, Andrew Pennebaker, Benjamin Pollack, Björn Lindqvist, CW
 Alston, Doug Coleman, Erik Charlebois, Fred Alger, Iskander Sitdikov,
 John
 Benediktsson, Jon Harper, Loryn Jenkins, Paul Woolcock, Roc King,
 Samuel
 Tardieu, Steven Stewart-Gallus, and @Profpatsch

 Besides some bug fixes and library improvements, I want to highlight the
 following changes:

 * Support for more color spaces including LAB, LCH, LUV, RYB, xyY, XYZ,
 and YUV
 * Support for SSL on windows
 * Some new checksum implementations and performance improvements
 * Cross-platform C library finder
 * Client for IMAP protocol
 * Support for MessagePack encoding and decoding
 * Support for uuencoding and uudecoding
 * Support for terminfo database files
 * Support for tzinfo files
 * Support for in-place sorting (using Quicksort)
 * Bindings for ZeroMQ and Python
 * Runner for Applescript (including definition support)
 * Performance improvement to printf and support for vprintf
 * Support saving images in GTK, Cocoa, and Windows backends
 * Generative Modeling Language
 * Lots of documentation added to the compiler
 * Many, many improvements to the FUEL emacs mode

 Some possible backwards compatibility issues:

 * Fixed mask? in math.bitwise to be more correct
 * Fixed bias in Mersenne Twister random number generator
 * Better support for shebang (no longer need a space after #!)
 * io-error now lives in the libc vocabulary
 * sender stubs in cocoa.messages now named by method signature
 * filter now allocates length of seq, not exemplar.
 * Removed make-assoc in favor of explicit get's.

 For more details, please see the full announcement at:

 http://re-factor.blogspot.com/2014/11/factor-097-now-available.html


 --

 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk




 --

 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk


--
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Factor 0.97 now available

2014-11-03 Thread Björn Lindqvist
Hurra!

Any plans for 0.98 or, dare I say it, 1.0? Factor feels like a very
solid language to me and it's just lacking in polish.


-- 
mvh/best regards Björn Lindqvist

--
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Factor 0.97 now available

2014-11-03 Thread John Benediktsson
We've been brainstorming a few things. Not sure how much of it will be done and 
in what order, but some of the features I'd like us to work on:

- new parser to allow parsing cross-platform vocabularies without loading them 
and development of useful refactoring tools 

- improve compiler for performance of fixnums, loops, and generic dispatch, 
possibly leveraging LLVM

- faster namespace variables (which are used in a lot of places) using a 
different lookup algorithm

- unification of core and basis to allow using higher level language features 
earlier in the bootstrap process

And more vocabularies and libraries, etc. Plus we love contributions so if 
anyone else has some ideas here, we'd love to hear. 

Best,
John.


 On Nov 3, 2014, at 3:23 AM, Björn Lindqvist bjou...@gmail.com wrote:
 
 Hurra!
 
 Any plans for 0.98 or, dare I say it, 1.0? Factor feels like a very
 solid language to me and it's just lacking in polish.
 
 
 -- 
 mvh/best regards Björn Lindqvist
 
 --
 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk

--
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Factor-talk Digest, Vol 102, Issue 2

2014-11-03 Thread Ala'a Mohammad
Thanks a lot

On Mon, Nov 3, 2014 at 3:09 PM,
factor-talk-requ...@lists.sourceforge.net wrote:
 Send Factor-talk mailing list submissions to
 factor-talk@lists.sourceforge.net

 To subscribe or unsubscribe via the World Wide Web, visit
 https://lists.sourceforge.net/lists/listinfo/factor-talk
 or, via email, send a message with subject or body 'help' to
 factor-talk-requ...@lists.sourceforge.net

 You can reach the person managing the list at
 factor-talk-ow...@lists.sourceforge.net

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Factor-talk digest...


 Today's Topics:

1. Re: Factor 0.97 now available (John Benediktsson)
2. Re: Factor 0.97 now available (Dave Spanton)
3. Re: Factor 0.97 now available (Stanislav Paskalev)


 --

 Message: 1
 Date: Sun, 2 Nov 2014 20:11:53 -0800
 From: John Benediktsson mrj...@gmail.com
 Subject: Re: [Factor-talk] Factor 0.97 now available
 To: factor-talk@lists.sourceforge.net
 factor-talk@lists.sourceforge.net
 Message-ID:
 CAKkuUiaTp_GLZMv4P=jt-dwomx9uommv4ao8g680ltged+t...@mail.gmail.com
 Content-Type: text/plain; charset=utf-8

 Do you have a /usr/lib/libgtk-x11-2.0.so.0?

 On Sun, Nov 2, 2014 at 8:00 PM, mr wzrd wzr...@gmail.com wrote:

  Got this error after downloading and unpacking the 0.97 tarball ...

 $ ./factor
 Cannot resolve C library function
 Library: DLL /usr/lib/libgtk-x11-2.0.so.0
 Symbol: gtk_init
 DlError: none
 See http://concatenative.org/wiki/view/Factor/Requirements
 (U) Quotation: [ c-to-factor - ]
 Word: c-to-factor
 (U) Quotation: [ [ catchstack* push ] dip call - catchstack* pop* ]
 (O) Word: command-line-startup
 (O) Method: M\ gtk-ui-backend (with-ui)
 (U) Quotation: [
 OBJ-CURRENT-THREAD special-object error-thread set-global
 current-continuation - error-continuation set-global
 [ original-error set-global ] [ rethrow ] bi
 ]

 Pretty sure Factor was running before.

 Then I realized that maybe I should have unpacked the 0.97 tarball into a
 different directory than $HOME/Downloads/factor, where 0.96 was residing.

 Unpacked the 0.97 tarball into its own directory,
 $HOME/Downloads/factor-0.97.

 Still had a 0.96 tarball sitting around.

 So I unpacked it into $HOME/Downloads/factor-0.96.

 From there, ./factor brings up the listener just fine.

 From $HOME/Downloads/factor-0.97, ./factor causes the aforementioned error.

   - mrw

 On 11/02/2014 07:46 PM, John Benediktsson wrote:

  If birds can glide for long periods of time, then... why can?t I? -
 Orville Wright

  I'm very pleased to announce the release of Factor 0.97! You can
 find download links on the Factor website:

  http://factorcode.org

  ...




 --

 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk


 -- next part --
 An HTML attachment was scrubbed...

 --

 Message: 2
 Date: Mon, 3 Nov 2014 09:46:42 +
 From: Dave Spanton davespan...@gmail.com
 Subject: Re: [Factor-talk] Factor 0.97 now available
 To: factor-talk@lists.sourceforge.net
 Message-ID:
 cal6a+mrda_o+tkmxduquzo625c2yuvyzhmqxhhzuhufsd8p...@mail.gmail.com
 Content-Type: text/plain; charset=utf-8

 Great work.

 On Mon, Nov 3, 2014 at 12:46 AM, John Benediktsson mrj...@gmail.com wrote:

 If birds can glide for long periods of time, then... why can?t I? -
 Orville Wright

 I'm very pleased to announce the release of Factor 0.97! You can
 find download links on the Factor website:

 http://factorcode.org

 This release is brought to you with over 1,400 commits by the following
 individuals:

 Alex Vondrak, Andrew Pennebaker, Benjamin Pollack, Bj?rn Lindqvist, CW
 Alston, Doug Coleman, Erik Charlebois, Fred Alger, Iskander Sitdikov,
 John
 Benediktsson, Jon Harper, Loryn Jenkins, Paul Woolcock, Roc King,
 Samuel
 Tardieu, Steven Stewart-Gallus, and @Profpatsch

 Besides some bug fixes and library improvements, I want to highlight the
 following changes:

 * Support for more color spaces including LAB, LCH, LUV, RYB, xyY, XYZ,
 and YUV
 * Support for SSL on windows
 * Some new checksum implementations and performance improvements
 * Cross-platform C library finder
 * Client for IMAP protocol
 * Support for MessagePack encoding and decoding
 * Support for uuencoding and uudecoding
 * Support for terminfo database files
 * Support for tzinfo files
 * Support for in-place sorting (using Quicksort)
 * Bindings for ZeroMQ and Python
 * Runner for Applescript (including definition support)
 * Performance improvement to printf and support for vprintf
 * Support saving images in GTK, Cocoa, and Windows backends
 * Generative Modeling Language
 * 

Re: [Factor-talk] Factor 0.97 now available

2014-11-03 Thread mr wzrd

Don't have /usr/lib/libgtk-x11-2.0.so.0.

On 11/02/2014 11:11 PM, John Benediktsson wrote:

Do you have a /usr/lib/libgtk-x11-2.0.so.0?

On Sun, Nov 2, 2014 at 8:00 PM, mr wzrd wzr...@gmail.com 
mailto:wzr...@gmail.com wrote:


Got this error after downloading and unpacking the 0.97 tarball ...

$ ./factor
Cannot resolve C library function
Library: DLL /usr/lib/libgtk-x11-2.0.so.0
Symbol: gtk_init
DlError: none
See http://concatenative.org/wiki/view/Factor/Requirements
(U) Quotation: [ c-to-factor - ]
Word: c-to-factor
(U) Quotation: [ [ catchstack* push ] dip call - catchstack* pop* ]
(O) Word: command-line-startup
(O) Method: M\ gtk-ui-backend (with-ui)
(U) Quotation: [
OBJ-CURRENT-THREAD special-object error-thread set-global
current-continuation - error-continuation set-global
[ original-error set-global ] [ rethrow ] bi
]

Pretty sure Factor was running before.

Then I realized that maybe I should have unpacked the 0.97 tarball
into a different directory than $HOME/Downloads/factor, where 0.96
was residing.

Unpacked the 0.97 tarball into its own directory,
$HOME/Downloads/factor-0.97.

Still had a 0.96 tarball sitting around.

So I unpacked it into $HOME/Downloads/factor-0.96.

From there, ./factor brings up the listener just fine.

From $HOME/Downloads/factor-0.97, ./factor causes the
aforementioned error.

  - mrw

On 11/02/2014 07:46 PM, John Benediktsson wrote:

If birds can glide for long periods of time, then... why can’t
I? - Orville Wright

I'm very pleased to announce the release of Factor 0.97! You can
find download links on the Factor website:

http://factorcode.org

...




--

___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
mailto:Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk




--


___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


--
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Factor 0.97 now available

2014-11-03 Thread John Benediktsson
Okay, we switched to using alien.libraries.finder to look for C libraries 
instead of hard-coding their paths. Sounds like there is something about your 
setup that is not able to work. Would it be easier to help us debug it or would 
you like me to show you how to revert GTK to its previous behavior?  Or both?

Sorry it's not working!

Thanks,
John.


 On Nov 3, 2014, at 11:24 AM, mr wzrd wzr...@gmail.com wrote:
 
 Don't have /usr/lib/libgtk-x11-2.0.so.0.
 
 On 11/02/2014 11:11 PM, John Benediktsson wrote:
 Do you have a /usr/lib/libgtk-x11-2.0.so.0?
 
 On Sun, Nov 2, 2014 at 8:00 PM, mr wzrd wzr...@gmail.com wrote:
 Got this error after downloading and unpacking the 0.97 tarball ...
 
 $ ./factor
 Cannot resolve C library function
 Library: DLL /usr/lib/libgtk-x11-2.0.so.0
 Symbol: gtk_init
 DlError: none
 See http://concatenative.org/wiki/view/Factor/Requirements
 (U) Quotation: [ c-to-factor - ]
 Word: c-to-factor
 (U) Quotation: [ [ catchstack* push ] dip call - catchstack* pop* ]
 (O) Word: command-line-startup
 (O) Method: M\ gtk-ui-backend (with-ui)
 (U) Quotation: [
 OBJ-CURRENT-THREAD special-object error-thread set-global
 current-continuation - error-continuation set-global
 [ original-error set-global ] [ rethrow ] bi
 ]
 
 Pretty sure Factor was running before.
 
 Then I realized that maybe I should have unpacked the 0.97 tarball into a 
 different directory than $HOME/Downloads/factor, where 0.96 was residing.
 
 Unpacked the 0.97 tarball into its own directory, 
 $HOME/Downloads/factor-0.97.
 
 Still had a 0.96 tarball sitting around.
 
 So I unpacked it into $HOME/Downloads/factor-0.96.
 
 From there, ./factor brings up the listener just fine.
 
 From $HOME/Downloads/factor-0.97, ./factor causes the aforementioned error.
 
   - mrw
 
 On 11/02/2014 07:46 PM, John Benediktsson wrote:
 If birds can glide for long periods of time, then... why can’t I? - 
 Orville Wright
 
 I'm very pleased to announce the release of Factor 0.97! You can
 find download links on the Factor website:
 
 http://factorcode.org
 
 ...
 
 
 --
 
 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk
 
 
 
 
 --
 
 
 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk
 
 --
 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk
--
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Factor 0.97 now available

2014-11-03 Thread mr wzrd


On 11/03/2014 03:05 PM, John Benediktsson wrote:
Okay, we switched to using alien.libraries.finder to look for C 
libraries instead of hard-coding their paths.


Seems logical.


Sounds like there is something about your setup that is not able to work.


Setup here is pretty mundane.

Ubuntu 14.04, with Openbox window-manager.

Installed Ubuntu with a minimum-install-cd, and then pulled in necessary 
packages over the network with apt-get.


Before unpacking Factor 0.96, I copied and pasted an apt-get command 
from somewhere in factorcode.org, which installed the necessary packages 
for factor.


The command is now ...

sudo apt-get install libc6-dev libpango1.0-dev libx11-dev libgl1-mesa-dev

... at http://concatenative.org/wiki/revision/2023 .

Seem to remember, though, that the command included more packages before.

After running the command just now, tried again to open the listener in 
0.97.


Got the same error message.

Would it be easier to help us debug it or would you like me to show 
you how to revert GTK to its previous behavior?  Or both?


Both sounds fun.


Sorry it's not working!


It's ok.  If a great coding idea comes to me, 0.96 is still working.

Sorry that Algol took over the world in 1960!


Thanks,
John.



Cheers,
mrw



On Nov 3, 2014, at 11:24 AM, mr wzrd wzr...@gmail.com 
mailto:wzr...@gmail.com wrote:



Don't have /usr/lib/libgtk-x11-2.0.so.0.

On 11/02/2014 11:11 PM, John Benediktsson wrote:

Do you have a /usr/lib/libgtk-x11-2.0.so.0?

On Sun, Nov 2, 2014 at 8:00 PM, mr wzrd wzr...@gmail.com 
mailto:wzr...@gmail.com wrote:


Got this error after downloading and unpacking the 0.97 tarball ...

$ ./factor
Cannot resolve C library function
Library: DLL /usr/lib/libgtk-x11-2.0.so.0
Symbol: gtk_init
DlError: none
See http://concatenative.org/wiki/view/Factor/Requirements
(U) Quotation: [ c-to-factor - ]
Word: c-to-factor
(U) Quotation: [ [ catchstack* push ] dip call - catchstack* pop* ]
(O) Word: command-line-startup
(O) Method: M\ gtk-ui-backend (with-ui)
(U) Quotation: [
OBJ-CURRENT-THREAD special-object error-thread set-global
current-continuation - error-continuation set-global
[ original-error set-global ] [ rethrow ] bi
]

Pretty sure Factor was running before.

Then I realized that maybe I should have unpacked the 0.97
tarball into a different directory than $HOME/Downloads/factor,
where 0.96 was residing.

Unpacked the 0.97 tarball into its own directory,
$HOME/Downloads/factor-0.97.

Still had a 0.96 tarball sitting around.

So I unpacked it into $HOME/Downloads/factor-0.96.

From there, ./factor brings up the listener just fine.

From $HOME/Downloads/factor-0.97, ./factor causes the
aforementioned error.

  - mrw

On 11/02/2014 07:46 PM, John Benediktsson wrote:

If birds can glide for long periods of time, then... why can’t
I? - Orville Wright

I'm very pleased to announce the release of Factor 0.97! You can
find download links on the Factor website:

http://factorcode.org

...




--

___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
mailto:Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk




--


___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


--
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net 
mailto:Factor-talk@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/factor-talk



--


___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


--
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Factor 0.97 now available

2014-11-03 Thread John Benediktsson
Ok, if you look at the top of gtk.ffi vocabulary, you'll see the new way we
look for libraries:


 gtk {
{ linux gtk-x11-2.0 }
{ windows libgtk-win32-2.0-0 }
} os of [ find-library cdecl add-library ] when*
 

You can test how well the find-library mechanism works by trying it in your
listener:

IN: scratchpad gtk-x11-2.0 find-library .
/usr/lib/libgtk-x11-2.0.so.0

If you want to revert back to the old mechanism, you can replace that new
way with this old way:


 gtk {
{ [ os windows? ] [ libgtk-win32-2.0-0.dll cdecl add-library ] }
{ [ os macosx? ] [ drop ] }
{ [ os unix? ] [ libgtk-x11-2.0.so cdecl add-library ] }
} cond


Hopefully this can get you up and running on the 0.97 release, but I would
like to figure out why our find-library isn't working on Ubuntu 14.04.

Thanks,
John.


On Mon, Nov 3, 2014 at 6:39 PM, mr wzrd wzr...@gmail.com wrote:


 On 11/03/2014 03:05 PM, John Benediktsson wrote:

 Okay, we switched to using alien.libraries.finder to look for C libraries
 instead of hard-coding their paths.


 Seems logical.

  Sounds like there is something about your setup that is not able to work.


 Setup here is pretty mundane.

 Ubuntu 14.04, with Openbox window-manager.

 Installed Ubuntu with a minimum-install-cd, and then pulled in necessary
 packages over the network with apt-get.

 Before unpacking Factor 0.96, I copied and pasted an apt-get command from
 somewhere in factorcode.org, which installed the necessary packages for
 factor.

 The command is now ...

 sudo apt-get install libc6-dev libpango1.0-dev libx11-dev libgl1-mesa-dev

 ... at http://concatenative.org/wiki/revision/2023 .

 Seem to remember, though, that the command included more packages before.

 After running the command just now, tried again to open the listener in
 0.97.

 Got the same error message.

  Would it be easier to help us debug it or would you like me to show you
 how to revert GTK to its previous behavior?  Or both?


 Both sounds fun.

  Sorry it's not working!


 It's ok.  If a great coding idea comes to me, 0.96 is still working.

 Sorry that Algol took over the world in 1960!

  Thanks,
 John.


 Cheers,
 mrw



 On Nov 3, 2014, at 11:24 AM, mr wzrd wzr...@gmail.com wrote:

   Don't have /usr/lib/libgtk-x11-2.0.so.0.

 On 11/02/2014 11:11 PM, John Benediktsson wrote:

 Do you have a /usr/lib/libgtk-x11-2.0.so.0?

 On Sun, Nov 2, 2014 at 8:00 PM, mr wzrd wzr...@gmail.com wrote:

  Got this error after downloading and unpacking the 0.97 tarball ...

 $ ./factor
 Cannot resolve C library function
 Library: DLL /usr/lib/libgtk-x11-2.0.so.0
 Symbol: gtk_init
 DlError: none
 See http://concatenative.org/wiki/view/Factor/Requirements
 (U) Quotation: [ c-to-factor - ]
 Word: c-to-factor
 (U) Quotation: [ [ catchstack* push ] dip call - catchstack* pop* ]
 (O) Word: command-line-startup
 (O) Method: M\ gtk-ui-backend (with-ui)
 (U) Quotation: [
 OBJ-CURRENT-THREAD special-object error-thread set-global
 current-continuation - error-continuation set-global
 [ original-error set-global ] [ rethrow ] bi
 ]

 Pretty sure Factor was running before.

 Then I realized that maybe I should have unpacked the 0.97 tarball into a
 different directory than $HOME/Downloads/factor, where 0.96 was residing.

 Unpacked the 0.97 tarball into its own directory,
 $HOME/Downloads/factor-0.97.

 Still had a 0.96 tarball sitting around.

 So I unpacked it into $HOME/Downloads/factor-0.96.

 From there, ./factor brings up the listener just fine.

 From $HOME/Downloads/factor-0.97, ./factor causes the aforementioned
 error.

   - mrw

 On 11/02/2014 07:46 PM, John Benediktsson wrote:

  If birds can glide for long periods of time, then... why can’t I? -
 Orville Wright

  I'm very pleased to announce the release of Factor 0.97! You can
 find download links on the Factor website:

  http://factorcode.org

   ...




 --

 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk




 --



 ___
 Factor-talk mailing 
 listFactor-talk@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/factor-talk



 --

  ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk



 --



 ___
 Factor-talk mailing 
 listFactor-talk@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/factor-talk




 

Re: [Factor-talk] Factor 0.97 now available

2014-11-03 Thread mr wzrd

On 11/03/2014 11:54 PM, John Benediktsson wrote:
Ok, if you look at the top of gtk.ffi vocabulary, you'll see the new 
way we look for libraries:



 gtk {
{ linux gtk-x11-2.0 }
{ windows libgtk-win32-2.0-0 }
} os of [ find-library cdecl add-library ] when*
 



Actually, mine says ...


 gtk {
{ linux gtk-x11-2.0 }
{ windows libgtk-win32-2.0-0 }
 } os of [ find-library cdecl add-library ] [ drop ] if*


You can test how well the find-library mechanism works by trying it in 
your listener:


IN: scratchpad gtk-x11-2.0 find-library .
/usr/lib/libgtk-x11-2.0.so.0


Is find-library new to 0.97?  Didn't work in the 0.96 listener.



If you want to revert back to the old mechanism, you can replace that 
new way with this old way:



 gtk {
{ [ os windows? ] [ libgtk-win32-2.0-0.dll cdecl add-library ] }
{ [ os macosx? ] [ drop ] }
{ [ os unix? ] [ libgtk-x11-2.0.so 
http://libgtk-x11-2.0.so cdecl add-library ] }

} cond




Tried that and got the same error.

Should I be working with the compiled Factor?

Hopefully this can get you up and running on the 0.97 release, but I 
would like to figure out why our find-library isn't working on Ubuntu 
14.04.




Intuition tells me that it's not a problem with the 0.97 release, but 
with the Linux configuration here.


Do you know which package in apt-get is associated with the file, 
libgtk-x11-2.0.so?


  - mrw


--
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Factor 0.97 now available

2014-11-03 Thread Doug Coleman
Try this from factor.sh:

udo apt-get --yes install libc6-dev libpango1.0-dev libx11-dev xorg-dev
libgtk2.0-dev gtk2-engines-pixbuf libgtkglext1-dev wget git git-doc rlwrap
clang gcc make screen tmux libssl-dev

On Nov 3, 2014 9:17 PM, mr wzrd wzr...@gmail.com wrote:

  On 11/03/2014 11:54 PM, John Benediktsson wrote:

 Ok, if you look at the top of gtk.ffi vocabulary, you'll see the new way
 we look for libraries:

   
  gtk {
  { linux gtk-x11-2.0 }
 { windows libgtk-win32-2.0-0 }
 } os of [ find-library cdecl add-library ] when*
  


 Actually, mine says ...

 
  gtk {
 { linux gtk-x11-2.0 }
 { windows libgtk-win32-2.0-0 }
  } os of [ find-library cdecl add-library ] [ drop ] if*
 

   You can test how well the find-library mechanism works by trying it in
 your listener:

  IN: scratchpad gtk-x11-2.0 find-library .
 /usr/lib/libgtk-x11-2.0.so.0


 Is find-library new to 0.97?  Didn't work in the 0.96 listener.


  If you want to revert back to the old mechanism, you can replace that
 new way with this old way:

  
  gtk {
 { [ os windows? ] [ libgtk-win32-2.0-0.dll cdecl add-library ] }
 { [ os macosx? ] [ drop ] }
 { [ os unix? ] [ libgtk-x11-2.0.so cdecl add-library ] }
 } cond
 


 Tried that and got the same error.

 Should I be working with the compiled Factor?

   Hopefully this can get you up and running on the 0.97 release, but I
 would like to figure out why our find-library isn't working on Ubuntu 14.04.


 Intuition tells me that it's not a problem with the 0.97 release, but with
 the Linux configuration here.

 Do you know which package in apt-get is associated with the file,
 libgtk-x11-2.0.so?

   - mrw




 --

 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk


--
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk