[Factor-talk] Does renderer method column-titles need a scroller ?

2023-09-29 Thread Georg Simon
---
IN: items

USING: accessors kernel models ui ui.gadgets.scrollers
ui.gadgets.tables ;

MAIN-WINDOW: main { { pref-dim { 300 100 } } }
{ { "aaa" "bbb" } }  trivial-renderer 

>>gadgets ;

M: trivial-renderer column-titles drop { "A" "B" } ;
---
works as expected. But without scroller column titles disappear:
---
IN: items

USING: accessors kernel models ui ui.gadgets.scrollers
ui.gadgets.tables ;

MAIN-WINDOW: main { { pref-dim { 300 100 } } }
{ { "aaa" "bbb" } }  trivial-renderer 
! 
>>gadgets ;

M: trivial-renderer column-titles drop { "A" "B" } ;
-------
Thanks, Georg


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


Re: [Factor-talk] font sizes in browser und listener

2023-09-22 Thread Krisztián Schaffer
Thanks, I have joined the Discord server and will seek help there if needed.

John Benediktsson  ezt írta (időpont: 2023. szept. 21.,
Cs, 18:33):

> Yes, and we would be happy to help assist.
>
> A fair amount of developer conversation takes place on the Discord server,
> if you want more real-time chats about it.  Or on the Github issue I just
> opened:
>
> https://github.com/factor/factor/issues/2876
>
>
>
> On Sep 21, 2023, at 9:00 AM, Krisztián Schaffer <
> schaffer.kriszt...@gmail.com> wrote:
>
> *Is that something a newcomer can do?*
>
> Hello,
>
> This is my first post here.
>
> I've admired Factor for years, and reading its documentation once helped
> me grasp the concept of refactoring. However, I've never really used it.
>
> Do you think this issue would be a good starting point?
>
> Thanks,
> Krisztián
>
> John Benediktsson  ezt írta (időpont: 2023. szept. 21.,
> Cs, 17:24):
>
>> I suspect if you put those font lines in your .factor-boot-rc and
>> bootstrap it will all look good. We must be caching the default font in
>> places and need that to all be responsive to changes.
>>
>> On Thu, Sep 21, 2023 at 8:22 AM Georg Simon  wrote:
>>
>>> Yes restart and yes new listener window.
>>>
>>> For instance I can start the listener and enter "today".
>>> I get an error message with two tiny lines.
>>> I choose "Use the calendar vocabulary" and get some more tiny messages.
>>>
>>> Am Thu, 21 Sep 2023 08:04:48
>>> -0700 schrieb John Benediktsson :
>>>
>>> > Did you restart Factor after saving? Or open a new listener window?
>>> >
>>> > I noticed the tips of the day at the top don’t properly grow in size
>>> > and that needs to be fixed.
>>> >
>>> >
>>> >
>>> > > On Sep 21, 2023, at 7:19 AM, Georg Simon 
>>> > > wrote:
>>> > >
>>> > > Thank you, much better now.
>>> > > Only the messages printed by the listener are still tiny.
>>> > >
>>> > > Am Tue, 19 Sep 2023 06:27:45 -0700
>>> > > schrieb John Benediktsson :
>>> > >
>>> > >> The quickest way is to change the default-font-size in the fonts
>>> > >> vocab to be larger.
>>> > >>
>>> > >> IN: fonts
>>> > >> CONSTANT: default-font-size 36
>>> > >> “help.stylesheet” reload
>>> > >> save
>>> > >>
>>> > >>
>>> > >>> On Sep 19, 2023, at 12:56 AM, Georg Simon 
>>> > >>> wrote:
>>> > >>>
>>> > >>> Using now 2560x1600 pixels I would like to change all font sizes
>>> > >>> permanently, menu bar and search field included.
>>> > >>>
>>> > >>> Thanks, Georg
>>> > >>>
>>> > >>>
>>> > >>> ___
>>> > >>> 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
>>>
>>>
>>>
>>> ___
>>> 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
>
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] how to join the Discord server (was: font sizes in browser und listener)

2023-09-21 Thread Vivien Moreau

Hi,

Le 21/09/2023 à 19:46, CW Alston a écrit :

Hi -- Just joined Discord! How do I find the Factor server there?


This link should work: https://discord.gg/QxJYZx3QDf

--
Vivien (jmiven)


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


Re: [Factor-talk] font sizes in browser und listener

2023-09-21 Thread John Benediktsson
https://discord.gg/QxJYZx3QDfOn Sep 21, 2023, at 10:48 AM, CW Alston  wrote:Hi -- Just joined Discord! How do I find the Factor server there?On Thu, Sep 21, 2023 at 9:33 AM John Benediktsson <mrj...@gmail.com> wrote:Yes, and we would be happy to help assist.  A fair amount of developer conversation takes place on the Discord server, if you want more real-time chats about it.  Or on the Github issue I just opened:https://github.com/factor/factor/issues/2876On Sep 21, 2023, at 9:00 AM, Krisztián Schaffer <schaffer.kriszt...@gmail.com> wrote:Is that something a newcomer can do?Hello,This is my first post here.I've admired Factor for years, and reading its documentation once helped me grasp the concept of refactoring. However, I've never really used it.Do you think this issue would be a good starting point?Thanks,KrisztiánJohn Benediktsson <mrj...@gmail.com> ezt írta (időpont: 2023. szept. 21., Cs, 17:24):I suspect if you put those font lines in your .factor-boot-rc and bootstrap it will all look good. We must be caching the default font in places and need that to all be responsive to changes. On Thu, Sep 21, 2023 at 8:22 AM Georg Simon <georg.si...@auge.de> wrote:Yes restart and yes new listener window.

For instance I can start the listener and enter "today".
I get an error message with two tiny lines. 
I choose "Use the calendar vocabulary" and get some more tiny messages.

Am Thu, 21 Sep 2023 08:04:48
-0700 schrieb John Benediktsson <mrj...@gmail.com>:

> Did you restart Factor after saving? Or open a new listener window?
> 
> I noticed the tips of the day at the top don’t properly grow in size
> and that needs to be fixed. 
> 
> 
> 
> > On Sep 21, 2023, at 7:19 AM, Georg Simon <georg.si...@auge.de>
> > wrote:
> > 
> > Thank you, much better now.
> > Only the messages printed by the listener are still tiny.
> > 
> > Am Tue, 19 Sep 2023 06:27:45 -0700
> > schrieb John Benediktsson <mrj...@gmail.com>:
> >   
> >> The quickest way is to change the default-font-size in the fonts
> >> vocab to be larger.
> >> 
> >> IN: fonts
> >> CONSTANT: default-font-size 36
> >> “help.stylesheet” reload
> >> save
> >> 
> >>   
> >>> On Sep 19, 2023, at 12:56 AM, Georg Simon <georg.si...@auge.de>
> >>> wrote:
> >>> 
> >>> Using now 2560x1600 pixels I would like to change all font sizes
> >>> permanently, menu bar and search field included.
> >>> 
> >>> Thanks, Georg
> >>> 
> >>> 
> >>> _______
> >>> 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



___
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 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
-- ~ Memento Amori
___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


Re: [Factor-talk] font sizes in browser und listener

2023-09-21 Thread CW Alston
Hi -- Just joined Discord! How do I find the Factor server there?

On Thu, Sep 21, 2023 at 9:33 AM John Benediktsson  wrote:

> Yes, and we would be happy to help assist.
>
> A fair amount of developer conversation takes place on the Discord server,
> if you want more real-time chats about it.  Or on the Github issue I just
> opened:
>
> https://github.com/factor/factor/issues/2876
>
>
>
> On Sep 21, 2023, at 9:00 AM, Krisztián Schaffer <
> schaffer.kriszt...@gmail.com> wrote:
>
> *Is that something a newcomer can do?*
>
> Hello,
>
> This is my first post here.
>
> I've admired Factor for years, and reading its documentation once helped
> me grasp the concept of refactoring. However, I've never really used it.
>
> Do you think this issue would be a good starting point?
>
> Thanks,
> Krisztián
>
> John Benediktsson  ezt írta (időpont: 2023. szept. 21.,
> Cs, 17:24):
>
>> I suspect if you put those font lines in your .factor-boot-rc and
>> bootstrap it will all look good. We must be caching the default font in
>> places and need that to all be responsive to changes.
>>
>> On Thu, Sep 21, 2023 at 8:22 AM Georg Simon  wrote:
>>
>>> Yes restart and yes new listener window.
>>>
>>> For instance I can start the listener and enter "today".
>>> I get an error message with two tiny lines.
>>> I choose "Use the calendar vocabulary" and get some more tiny messages.
>>>
>>> Am Thu, 21 Sep 2023 08:04:48
>>> -0700 schrieb John Benediktsson :
>>>
>>> > Did you restart Factor after saving? Or open a new listener window?
>>> >
>>> > I noticed the tips of the day at the top don’t properly grow in size
>>> > and that needs to be fixed.
>>> >
>>> >
>>> >
>>> > > On Sep 21, 2023, at 7:19 AM, Georg Simon 
>>> > > wrote:
>>> > >
>>> > > Thank you, much better now.
>>> > > Only the messages printed by the listener are still tiny.
>>> > >
>>> > > Am Tue, 19 Sep 2023 06:27:45 -0700
>>> > > schrieb John Benediktsson :
>>> > >
>>> > >> The quickest way is to change the default-font-size in the fonts
>>> > >> vocab to be larger.
>>> > >>
>>> > >> IN: fonts
>>> > >> CONSTANT: default-font-size 36
>>> > >> “help.stylesheet” reload
>>> > >> save
>>> > >>
>>> > >>
>>> > >>> On Sep 19, 2023, at 12:56 AM, Georg Simon 
>>> > >>> wrote:
>>> > >>>
>>> > >>> Using now 2560x1600 pixels I would like to change all font sizes
>>> > >>> permanently, menu bar and search field included.
>>> > >>>
>>> > >>> Thanks, Georg
>>> > >>>
>>> > >>>
>>> > >>> ___
>>> > >>> 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
>>>
>>>
>>>
>>> ___
>>> 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
>


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


Re: [Factor-talk] font sizes in browser und listener

2023-09-21 Thread John Benediktsson
Yes, and we would be happy to help assist.  

A fair amount of developer conversation takes place on the Discord server, if 
you want more real-time chats about it.  Or on the Github issue I just opened:

https://github.com/factor/factor/issues/2876



> On Sep 21, 2023, at 9:00 AM, Krisztián Schaffer 
>  wrote:
> 
> Is that something a newcomer can do?
> 
> Hello,
> 
> This is my first post here.
> 
> I've admired Factor for years, and reading its documentation once helped me 
> grasp the concept of refactoring. However, I've never really used it.
> 
> Do you think this issue would be a good starting point?
> 
> Thanks,
> Krisztián
> 
> John Benediktsson mailto:mrj...@gmail.com>> ezt írta 
> (időpont: 2023. szept. 21., Cs, 17:24):
>> I suspect if you put those font lines in your .factor-boot-rc and bootstrap 
>> it will all look good. We must be caching the default font in places and 
>> need that to all be responsive to changes. 
>> 
>> On Thu, Sep 21, 2023 at 8:22 AM Georg Simon > <mailto:georg.si...@auge.de>> wrote:
>>> Yes restart and yes new listener window.
>>> 
>>> For instance I can start the listener and enter "today".
>>> I get an error message with two tiny lines. 
>>> I choose "Use the calendar vocabulary" and get some more tiny messages.
>>> 
>>> Am Thu, 21 Sep 2023 08:04:48
>>> -0700 schrieb John Benediktsson >> <mailto:mrj...@gmail.com>>:
>>> 
>>> > Did you restart Factor after saving? Or open a new listener window?
>>> > 
>>> > I noticed the tips of the day at the top don’t properly grow in size
>>> > and that needs to be fixed. 
>>> > 
>>> > 
>>> > 
>>> > > On Sep 21, 2023, at 7:19 AM, Georg Simon >> > > <mailto:georg.si...@auge.de>>
>>> > > wrote:
>>> > > 
>>> > > Thank you, much better now.
>>> > > Only the messages printed by the listener are still tiny.
>>> > > 
>>> > > Am Tue, 19 Sep 2023 06:27:45 -0700
>>> > > schrieb John Benediktsson mailto:mrj...@gmail.com>>:
>>> > >   
>>> > >> The quickest way is to change the default-font-size in the fonts
>>> > >> vocab to be larger.
>>> > >> 
>>> > >> IN: fonts
>>> > >> CONSTANT: default-font-size 36
>>> > >> “help.stylesheet” reload
>>> > >> save
>>> > >> 
>>> > >>   
>>> > >>> On Sep 19, 2023, at 12:56 AM, Georg Simon >> > >>> <mailto:georg.si...@auge.de>>
>>> > >>> wrote:
>>> > >>> 
>>> > >>> Using now 2560x1600 pixels I would like to change all font sizes
>>> > >>> permanently, menu bar and search field included.
>>> > >>> 
>>> > >>> Thanks, Georg
>>> > >>> 
>>> > >>> 
>>> > >>> ___
>>> > >>> 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 
>>> > >> <mailto: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 
>>> > <mailto: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 <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] font sizes in browser und listener

2023-09-21 Thread Krisztián Schaffer
*Is that something a newcomer can do?*

Hello,

This is my first post here.

I've admired Factor for years, and reading its documentation once helped me
grasp the concept of refactoring. However, I've never really used it.

Do you think this issue would be a good starting point?

Thanks,
Krisztián

John Benediktsson  ezt írta (időpont: 2023. szept. 21.,
Cs, 17:24):

> I suspect if you put those font lines in your .factor-boot-rc and
> bootstrap it will all look good. We must be caching the default font in
> places and need that to all be responsive to changes.
>
> On Thu, Sep 21, 2023 at 8:22 AM Georg Simon  wrote:
>
>> Yes restart and yes new listener window.
>>
>> For instance I can start the listener and enter "today".
>> I get an error message with two tiny lines.
>> I choose "Use the calendar vocabulary" and get some more tiny messages.
>>
>> Am Thu, 21 Sep 2023 08:04:48
>> -0700 schrieb John Benediktsson :
>>
>> > Did you restart Factor after saving? Or open a new listener window?
>> >
>> > I noticed the tips of the day at the top don’t properly grow in size
>> > and that needs to be fixed.
>> >
>> >
>> >
>> > > On Sep 21, 2023, at 7:19 AM, Georg Simon 
>> > > wrote:
>> > >
>> > > Thank you, much better now.
>> > > Only the messages printed by the listener are still tiny.
>> > >
>> > > Am Tue, 19 Sep 2023 06:27:45 -0700
>> > > schrieb John Benediktsson :
>> > >
>> > >> The quickest way is to change the default-font-size in the fonts
>> > >> vocab to be larger.
>> > >>
>> > >> IN: fonts
>> > >> CONSTANT: default-font-size 36
>> > >> “help.stylesheet” reload
>> > >> save
>> > >>
>> > >>
>> > >>> On Sep 19, 2023, at 12:56 AM, Georg Simon 
>> > >>> wrote:
>> > >>>
>> > >>> Using now 2560x1600 pixels I would like to change all font sizes
>> > >>> permanently, menu bar and search field included.
>> > >>>
>> > >>> Thanks, Georg
>> > >>>
>> > >>>
>> > >>> _______
>> > >>> 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
>>
>>
>>
>> ___
>> 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] font sizes in browser und listener

2023-09-21 Thread John Benediktsson
I suspect if you put those font lines in your .factor-boot-rc and bootstrap
it will all look good. We must be caching the default font in places and
need that to all be responsive to changes.

On Thu, Sep 21, 2023 at 8:22 AM Georg Simon  wrote:

> Yes restart and yes new listener window.
>
> For instance I can start the listener and enter "today".
> I get an error message with two tiny lines.
> I choose "Use the calendar vocabulary" and get some more tiny messages.
>
> Am Thu, 21 Sep 2023 08:04:48
> -0700 schrieb John Benediktsson :
>
> > Did you restart Factor after saving? Or open a new listener window?
> >
> > I noticed the tips of the day at the top don’t properly grow in size
> > and that needs to be fixed.
> >
> >
> >
> > > On Sep 21, 2023, at 7:19 AM, Georg Simon 
> > > wrote:
> > >
> > > Thank you, much better now.
> > > Only the messages printed by the listener are still tiny.
> > >
> > > Am Tue, 19 Sep 2023 06:27:45 -0700
> > > schrieb John Benediktsson :
> > >
> > >> The quickest way is to change the default-font-size in the fonts
> > >> vocab to be larger.
> > >>
> > >> IN: fonts
> > >> CONSTANT: default-font-size 36
> > >> “help.stylesheet” reload
> > >> save
> > >>
> > >>
> > >>> On Sep 19, 2023, at 12:56 AM, Georg Simon 
> > >>> wrote:
> > >>>
> > >>> Using now 2560x1600 pixels I would like to change all font sizes
> > >>> permanently, menu bar and search field included.
> > >>>
> > >>> Thanks, Georg
> > >>>
> > >>>
> > >>> ___
> > >>> 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
>
>
>
> ___
> 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] font sizes in browser und listener

2023-09-21 Thread Georg Simon
Yes restart and yes new listener window.

For instance I can start the listener and enter "today".
I get an error message with two tiny lines. 
I choose "Use the calendar vocabulary" and get some more tiny messages.

Am Thu, 21 Sep 2023 08:04:48
-0700 schrieb John Benediktsson :

> Did you restart Factor after saving? Or open a new listener window?
> 
> I noticed the tips of the day at the top don’t properly grow in size
> and that needs to be fixed. 
> 
> 
> 
> > On Sep 21, 2023, at 7:19 AM, Georg Simon 
> > wrote:
> > 
> > Thank you, much better now.
> > Only the messages printed by the listener are still tiny.
> > 
> > Am Tue, 19 Sep 2023 06:27:45 -0700
> > schrieb John Benediktsson :
> >   
> >> The quickest way is to change the default-font-size in the fonts
> >> vocab to be larger.
> >> 
> >> IN: fonts
> >> CONSTANT: default-font-size 36
> >> “help.stylesheet” reload
> >> save
> >> 
> >>   
> >>> On Sep 19, 2023, at 12:56 AM, Georg Simon 
> >>> wrote:
> >>> 
> >>> Using now 2560x1600 pixels I would like to change all font sizes
> >>> permanently, menu bar and search field included.
> >>> 
> >>> Thanks, Georg
> >>> 
> >>> 
> >>> ___
> >>> 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



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


Re: [Factor-talk] font sizes in browser und listener

2023-09-21 Thread Georg Simon
Thank you, much better now.
Only the messages printed by the listener are still tiny.

Am Tue, 19 Sep 2023 06:27:45 -0700
schrieb John Benediktsson :

> The quickest way is to change the default-font-size in the fonts
> vocab to be larger.
> 
> IN: fonts
> CONSTANT: default-font-size 36
> “help.stylesheet” reload
> save
> 
> 
> > On Sep 19, 2023, at 12:56 AM, Georg Simon 
> > wrote:
> > 
> > Using now 2560x1600 pixels I would like to change all font sizes
> > permanently, menu bar and search field included.
> > 
> > Thanks, Georg
> > 
> > 
> > ___
> > 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] font sizes in browser und listener

2023-09-19 Thread John Benediktsson
The quickest way is to change the default-font-size in the fonts vocab to be 
larger.

IN: fonts
CONSTANT: default-font-size 36
“help.stylesheet” reload
save


> On Sep 19, 2023, at 12:56 AM, Georg Simon  wrote:
> 
> Using now 2560x1600 pixels I would like to change all font sizes
> permanently, menu bar and search field included.
> 
> Thanks, Georg
> 
> 
> _______
> 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.99 now available

2023-08-29 Thread Jon Harper
Congratz on the release ! It's very nice to see the continued
involvement in Factor :)
Jon

On Thu, Aug 24, 2023 at 6:30 PM John Benediktsson  wrote:
>
> "I hear and I forget. I see and I remember. I do and I understand." - 
> Confucius
>
> I’m very pleased to announce the release of Factor 0.99! You can find download
> links on the Factor website:
>
> https://factorcode.org
>
> This release is brought to you with over 4,100 commits by the following
> individuals:
>
> Abtin Molavi, Ales Huzik, Alex null Maestas, Alexander Ilin, Alexandre
> Rousseau, Aleksander Sabak, Arnaut Daniel, Ashish Kurmi, Benjamin Pollack,
> Cat Stevens, Cecilia Knäbchen, Chris Double, Craig Allen, Dave Carlton,
> David Flores, David Mindlin, Doug Coleman, Dusk Banks, Fred Alger,
> Giftpflanze, Ikko Ashimine, Jack Lucas, John Benediktsson, Jon Harper,
> Justin Hill, KUSUMOTO Norio, Keldan Chapman, Kevin Cope, Konrad Hinsen, 
> Kye
> Shi, Mark Sweeney, Mohamed Akram, Nandeeka Nayak, Niklas Larsson, Raghu
> Ranganathan, Rudi Grinberg, Samuel Tardieu, Sebastian Strobl, Sergii
> Fesenko, Silvio Mayolo, Steve Ayerhart, Zoltán Kéri, @Capital-EX,
> @inivekin, @mariari, @nicolas-p, @nomennescio, @timor
>
> Besides some bug fixes and library improvements, I want to highlight the
> following changes:
>
>   * Added a Guided Tour of Factor
>   * Upgraded to Unicode 15
>   * The fixups vocabulary makes upgrading easier when words are renamed
>   * Windows binaries now include OpenSSL 3.1.2 and SQLite 3.42.0 for 
> convenience
>   * Re-added some support for FreeBSD
>   * Improved non-English text entry on macOS
>   * Removed support for 32-bit macOS
>   * File editors are now specified using EDITOR: syntax
>   * Switched to newer ucrtbase.dll on Windows
>   * Support disassembly using Capstone in addition to Udis86
>   * String literals must be separated by whitespace — "hello"length and
> "foo""bar"append are no longer accepted by the parser
>   * The fry and locals syntax words are now in syntax for use in all 
> vocabularies
>   * Any word can be referred to by it’s fully-qualified name (e.g., math:+ or
> xml.writer:pprint-xml)
>   * The Emacs “FUEL” and VIM plugins have been updated
>
> Some possible backwards compatibility issues:
>
>   * Moved colors.constants and colors.hex to colors vocabulary
>   * Merged io.binary.fast into io.binary
>   * Merged io.directories.{hierarchy,search} into io.directories
>   * Merged io.encodings.utf16n into io.encodings.utf16
>   * Renamed math.ranges to ranges
>   * Renamed ranges words from [a,b] to [a..b]
>   * Changed FUNCTION: syntax to not require a semi-colon at the end
>   * Renamed exists? to file-exists?
>   * Renamed vector dot product from v. to vdot
>   * Renamed short to index-or-length
>   * Renamed various sorting words to be more simple
>   * Improved icons and other UI images on retina displays
>   * URL query strings only split on ampersand (?a=b=d) not semi-colon 
> (?a=b;c=d)
>   * Renamed some words in interval-sets to prefix interval-…
>   * Renamed contents to read-contents
>   * Renamed lines to read-lines
>   * Renamed selections to all-selections
>   * Renamed intersection to intersect-all
>   * Merged json.reader and json.writer into json vocabulary
>   * Merged bson.reader and bson.writer into bson vocabulary
>   * Moved talks to separate factor-talks repository
>   * Renamed ui.backend.gtk to ui.backend.gtk2 to prepare for newer GTK support
>
> For more details, please see the full announcement at:
>
> https://re.factorcode.org/2023/08/factor-0-99-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] Factor 0.99 now available

2023-08-24 Thread John Benediktsson
"I hear and I forget. I see and I remember. I do and I understand." - Confucius

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

https://factorcode.org

This release is brought to you with over 4,100 commits by the following
individuals:

Abtin Molavi, Ales Huzik, Alex null Maestas, Alexander Ilin, Alexandre
Rousseau, Aleksander Sabak, Arnaut Daniel, Ashish Kurmi, Benjamin Pollack,
Cat Stevens, Cecilia Knäbchen, Chris Double, Craig Allen, Dave Carlton,
David Flores, David Mindlin, Doug Coleman, Dusk Banks, Fred Alger,
Giftpflanze, Ikko Ashimine, Jack Lucas, John Benediktsson, Jon Harper,
Justin Hill, KUSUMOTO Norio, Keldan Chapman, Kevin Cope, Konrad Hinsen, Kye
Shi, Mark Sweeney, Mohamed Akram, Nandeeka Nayak, Niklas Larsson, Raghu
Ranganathan, Rudi Grinberg, Samuel Tardieu, Sebastian Strobl, Sergii
Fesenko, Silvio Mayolo, Steve Ayerhart, Zoltán Kéri, @Capital-EX,
@inivekin, @mariari, @nicolas-p, @nomennescio, @timor

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

  * Added a Guided Tour of Factor
  * Upgraded to Unicode 15
  * The fixups vocabulary makes upgrading easier when words are renamed
  * Windows binaries now include OpenSSL 3.1.2 and SQLite 3.42.0 for convenience
  * Re-added some support for FreeBSD
  * Improved non-English text entry on macOS
  * Removed support for 32-bit macOS
  * File editors are now specified using EDITOR: syntax
  * Switched to newer ucrtbase.dll on Windows
  * Support disassembly using Capstone in addition to Udis86
  * String literals must be separated by whitespace — "hello"length and
"foo""bar"append are no longer accepted by the parser
  * The fry and locals syntax words are now in syntax for use in all 
vocabularies
  * Any word can be referred to by it’s fully-qualified name (e.g., math:+ or
xml.writer:pprint-xml)
  * The Emacs “FUEL” and VIM plugins have been updated

Some possible backwards compatibility issues:

  * Moved colors.constants and colors.hex to colors vocabulary
  * Merged io.binary.fast into io.binary
  * Merged io.directories.{hierarchy,search} into io.directories
  * Merged io.encodings.utf16n into io.encodings.utf16
  * Renamed math.ranges to ranges
  * Renamed ranges words from [a,b] to [a..b]
  * Changed FUNCTION: syntax to not require a semi-colon at the end
  * Renamed exists? to file-exists?
  * Renamed vector dot product from v. to vdot
  * Renamed short to index-or-length
  * Renamed various sorting words to be more simple
  * Improved icons and other UI images on retina displays
  * URL query strings only split on ampersand (?a=b=d) not semi-colon 
(?a=b;c=d)
  * Renamed some words in interval-sets to prefix interval-…
  * Renamed contents to read-contents
  * Renamed lines to read-lines
  * Renamed selections to all-selections
  * Renamed intersection to intersect-all
  * Merged json.reader and json.writer into json vocabulary
  * Merged bson.reader and bson.writer into bson vocabulary
  * Moved talks to separate factor-talks repository
  * Renamed ui.backend.gtk to ui.backend.gtk2 to prepare for newer GTK support

For more details, please see the full announcement at:

https://re.factorcode.org/2023/08/factor-0-99-now-available.html



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


Re: [Factor-talk] Vocabulary sorting.slots disappeared ?

2023-05-30 Thread John Benediktsson
It was proposed to rename to sorting.specification, as part of a sorting cleanup:sorting.specification vocabulary - Factor Documentationdocs.factorcode.orgOn May 30, 2023, at 5:10 AM, Georg Simon  wrote:InFactor 0.99 x86.64 (2165, heads/master-b0f39e3617, Feb 16 202217:53:17) [GCC 11.2.0] on linuxI use compare-slots from sorting.slotsNow inFactor 0.99 x86.64 (2210, heads/master-d3f152ca06, May 28 202300:36:35) [GCC 11.3.0] on linuxI can no longer find it.Thanks, Georg___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] Vocabulary sorting.slots disappeared ?

2023-05-30 Thread Georg Simon
In

Factor 0.99 x86.64 (2165, heads/master-b0f39e3617, Feb 16 2022
17:53:17) [GCC 11.2.0] on linux

I use compare-slots from sorting.slots


Now in

Factor 0.99 x86.64 (2210, heads/master-d3f152ca06, May 28 2023
00:36:35) [GCC 11.3.0] on linux

I can no longer find it.


Thanks, Georg


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


Re: [Factor-talk] Factor for micro controllers?

2023-05-16 Thread Razetime
no, none that I know of, at least. an arm64 backend is in progress (visible
on a branch in github), and that should be of help to run factor on
microcontrollers that support it.

On Tue, May 16, 2023 at 10:31 AM Martin Hohmann-Marriott <
martin.hohmann-marri...@united-scientists.org> wrote:

> Hi
>
> I was wondering if someone is working on a Factor implementation for micro
> controllers (e.g. Esp32-C3, RPiPico) ? any leads?
>
> Cheers,
> Martin
> ___
> 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] Factor for micro controllers?

2023-05-15 Thread Martin Hohmann-Marriott



Hi

I was wondering if someone is working on a Factor implementation for 
micro controllers (e.g. Esp32-C3, RPiPico) ? any leads?


Cheers,
Martin___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Handling keyboard input

2023-03-21 Thread Jon Harper
Hi,
in terminals, the application interacts with text streams (0 stdin,  1
stdout,  2 stderr, and optionally others with higher numbers) so all
you can get is text (including control characters). You can find
documentation here
https://docs.factorcode.org/content/article-streams.html . You should
be able to write a program to solve
https://rosettacode.org/wiki/Keyboard_input/Obtain_a_Y_or_N_response
from https://docs.factorcode.org/content/article-stream-examples.html
for example.
This is very mature.

To work with keyboard key codes (which can represent modifiers like
control or alt) in the terminal, you need a more general library.
Factor has ncurses bindings which look like it should work on windows
mac and linux: https://docs.factorcode.org/content/vocab-curses.html
if that's what you're looking for.

To work with keyboard key codes in a graphical window, you can use the
UI support in the library:
https://docs.factorcode.org/content/article-ui.html and more precisely
https://docs.factorcode.org/content/article-ui-gestures.html and
https://docs.factorcode.org/content/article-keyboard-gestures.html .
You can get a feel of what kind of event you can receive by running
the run-gesture-logger from extra/gesture-logger/gesture-logger.factor
. Here's the output from a short session I just did:

(random pressing keys on my keyboard and moving the cursor with the
focus on the the black window opened by factor to have focus on it:

T{ key-down }
T{ key-up { mods { A+ } } }
lose-focus
gain-focus
lose-focus
gain-focus
T{ key-down }
T{ key-up { mods { C+ } } }
T{ key-down }
T{ key-down { sym "A" } }
T{ key-up { sym "A" } }
T{ key-up }
T{ key-down }
T{ key-up }
T{ key-down { sym "D" } }
T{ key-up { sym "D" } }
T{ key-down { sym "A" } }
T{ key-up { sym "A" } }
T{ key-down }
T{ key-up }
T{ key-down { sym "RET" } }
T{ key-up { sym "RET" } }
T{ key-down { sym "BACKSPACE" } }
T{ key-up { sym "BACKSPACE" } }
mouse-enter
motion
motion
motion
motion
motion
mouse-leave
lose-focus
)

Hope that helps, feel free to ask more questions !

Cheers,
Jon

On Mon, Mar 20, 2023 at 4:58 PM Cleverson Casarin Uliana
 wrote:
>
> Hi,
> Have you implemented keyboard handling in a terminal like the Windows
> command prompt? In the factor library, there is e.g. extra/key-handlers,
> but it seems quite sparse.
>
> In Rosetta Code there is no related tasks implemented as well; see for
> example the Keyboard Input related tasks at:
> https://rosettacode.org/w/index.php?title=Category:Programming_Tasks=Four+is+magic#mw-pages
>
> I'd like something similar to 8th in this respect, see:
> https://8th-dev.com/manual.html#key-codes
>
> P.S.: Apologies to the moderator for sending a message from the wrong
> address earlier.
>
> Greetings,
> Cleverson
>
>
> ___
> 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] Handling keyboard input

2023-03-20 Thread Cleverson Casarin Uliana

Hi,
Have you implemented keyboard handling in a terminal like the Windows 
command prompt? In the factor library, there is e.g. extra/key-handlers, 
but it seems quite sparse.


In Rosetta Code there is no related tasks implemented as well; see for 
example the Keyboard Input related tasks at:

https://rosettacode.org/w/index.php?title=Category:Programming_Tasks=Four+is+magic#mw-pages

I'd like something similar to 8th in this respect, see:
https://8th-dev.com/manual.html#key-codes

P.S.: Apologies to the moderator for sending a message from the wrong 
address earlier.


Greetings,
Cleverson


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


Re: [Factor-talk] OpenGL3.0+

2022-10-13 Thread George Cherevichenko
Examples
https://github.com/George66/Factor/tree/main/OpenGL3.2%2B%20examples

пт, 21 мая 2021 г. в 23:26, George Cherevichenko <
george.chereviche...@gmail.com>:

> Is there an example? A rotating triangle would be enough.
>
> George
>
_______
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Does calendar.format vocabulary need the UI ?

2022-10-03 Thread Georg Simon
This .factor-rc fixed it :

USING:
calendar kernel namespaces timers tools.scaffold
ui ui.tools.browser ui.tools.listener
;
"Georg Simon" developer-name set-global

[ ui-running? [ "DejaVu Sans Mono" 18 set-listener-font ] when ]
.1 seconds later drop

[ ui-running? [ browser-window ] when ]
1 seconds later drop

I do not know why but at least it is fixed.

Thank you,
Georg.

Am Mon, 3 Oct 2022 10:10:06 -0700
schrieb John Benediktsson :

> You might want to wrap those with ui-running? [ … ] when
> 
> And see if that fixes it?
> 
> On Mon, Oct 3, 2022 at 9:58 AM Georg Simon 
> wrote:
> 
> > .factor-rc
> > ---
> > USING:
> > calendar kernel namespaces timers tools.scaffold
> > ui.tools.browser ui.tools.listener
> > ;
> > "Georg Simon" developer-name set-global
> >
> > [ "DejaVu Sans Mono" 18 set-listener-font ] .1 seconds later drop
> >
> > [ browser-window ] 1 seconds later drop
> > ---
> > and no .factor-boot-rc
> >
> > Thanks,
> > Georg.
> >
> > Am Mon, 3 Oct 2022 09:25:06 -0700
> > schrieb John Benediktsson :
> >  
> > > I'm not aware of any dependency, and I can't reproduce it on
> > > linux or macOS just now.
> > >
> > > I opened an issue on GitHub to investigate:
> > >
> > > https://github.com/factor/factor/issues/2697
> > >
> > > Do you have any UI code in your .factor-rc or .factor-boot-rc?
> > >
> > > Thanks,
> > > John.
> > >
> > > On Mon, Oct 3, 2022 at 5:15 AM Georg Simon 
> > > wrote:
> > >  
> > > > Factor 0.99 x86.64 (2165, heads/master-b0f39e3617, Feb 16 2022
> > > > 17:53:17) [GCC 11.2.0] on linux
> > > >  
> > 
> >  
> > > > I tried to narrow down my problem.
> > > >
> > > > For this I run two slightly different scripts
> > > > which only load a vocabulary.
> > > >
> > > > For the second script Factor reports an error :
> > > >  
> > 
> >  
> > > > ~/factor/work/test_script$ cat test_script.factor
> > > > IN: test_script
> > > > USING: calendar ;
> > > > ~/factor/work/test_script$ factor-lang test_script.factor
> > > > ~/factor/work/test_script$
> > > >  
> > 
> >  
> > > > ~/factor/work/test_script$ cat test_script.factor
> > > > IN: test_script
> > > > USING: calendar.format ;
> > > > ~/factor/work/test_script$ factor-lang test_script.factor
> > > > Error in thread 33 (Timer, [ ~timer~ timer-loop ]):
> > > >
> > > > UI not running
> > > >
> > > > (U) [ set-namestack init-catchstack self quot>> call => stop ]
> > > > (O) timer-loop
> > > > (O) run-timer
> > > > (O) set-listener-font
> > > > (O) graft
> > > > (O) (queue-graft)
> > > > (O) graft-queue
> > > > (O) M\ object throw
> > > > (U) [
> > > > OBJ-CURRENT-THREAD special-object error-thread
> > > > set-global current-continuation => error-continuation set-global
> > > > [ original-error set-global ] [ rethrow ] bi
> > > > ]
> > > > ~/factor/work/test_script$
> > > >  
> > 
> >  
> > > >
> > > >
> > > > ___
> > > > 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] Does calendar.format vocabulary need the UI ?

2022-10-03 Thread John Benediktsson
You might want to wrap those with ui-running? [ … ] when

And see if that fixes it?

On Mon, Oct 3, 2022 at 9:58 AM Georg Simon  wrote:

> .factor-rc
> ---
> USING:
> calendar kernel namespaces timers tools.scaffold
> ui.tools.browser ui.tools.listener
> ;
> "Georg Simon" developer-name set-global
>
> [ "DejaVu Sans Mono" 18 set-listener-font ] .1 seconds later drop
>
> [ browser-window ] 1 seconds later drop
> ---
> and no .factor-boot-rc
>
> Thanks,
> Georg.
>
> Am Mon, 3 Oct 2022 09:25:06 -0700
> schrieb John Benediktsson :
>
> > I'm not aware of any dependency, and I can't reproduce it on linux or
> > macOS just now.
> >
> > I opened an issue on GitHub to investigate:
> >
> > https://github.com/factor/factor/issues/2697
> >
> > Do you have any UI code in your .factor-rc or .factor-boot-rc?
> >
> > Thanks,
> > John.
> >
> > On Mon, Oct 3, 2022 at 5:15 AM Georg Simon 
> > wrote:
> >
> > > Factor 0.99 x86.64 (2165, heads/master-b0f39e3617, Feb 16 2022
> > > 17:53:17) [GCC 11.2.0] on linux
> > >
> 
> > > I tried to narrow down my problem.
> > >
> > > For this I run two slightly different scripts
> > > which only load a vocabulary.
> > >
> > > For the second script Factor reports an error :
> > >
> 
> > > ~/factor/work/test_script$ cat test_script.factor
> > > IN: test_script
> > > USING: calendar ;
> > > ~/factor/work/test_script$ factor-lang test_script.factor
> > > ~/factor/work/test_script$
> > >
> 
> > > ~/factor/work/test_script$ cat test_script.factor
> > > IN: test_script
> > > USING: calendar.format ;
> > > ~/factor/work/test_script$ factor-lang test_script.factor
> > > Error in thread 33 (Timer, [ ~timer~ timer-loop ]):
> > >
> > > UI not running
> > >
> > > (U) [ set-namestack init-catchstack self quot>> call => stop ]
> > > (O) timer-loop
> > > (O) run-timer
> > > (O) set-listener-font
> > > (O) graft
> > > (O) (queue-graft)
> > > (O) graft-queue
> > > (O) M\ object throw
> > > (U) [
> > > OBJ-CURRENT-THREAD special-object error-thread set-global
> > > current-continuation => error-continuation set-global
> > > [ original-error set-global ] [ rethrow ] bi
> > > ]
> > > ~/factor/work/test_script$
> > >
> ----
> > >
> > >
> > > ___
> > > 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] Does calendar.format vocabulary need the UI ?

2022-10-03 Thread Georg Simon
.factor-rc
---
USING:
calendar kernel namespaces timers tools.scaffold
ui.tools.browser ui.tools.listener
;
"Georg Simon" developer-name set-global

[ "DejaVu Sans Mono" 18 set-listener-font ] .1 seconds later drop

[ browser-window ] 1 seconds later drop
---
and no .factor-boot-rc

Thanks,
Georg.

Am Mon, 3 Oct 2022 09:25:06 -0700
schrieb John Benediktsson :

> I'm not aware of any dependency, and I can't reproduce it on linux or
> macOS just now.
> 
> I opened an issue on GitHub to investigate:
> 
> https://github.com/factor/factor/issues/2697
> 
> Do you have any UI code in your .factor-rc or .factor-boot-rc?
> 
> Thanks,
> John.
> 
> On Mon, Oct 3, 2022 at 5:15 AM Georg Simon 
> wrote:
> 
> > Factor 0.99 x86.64 (2165, heads/master-b0f39e3617, Feb 16 2022
> > 17:53:17) [GCC 11.2.0] on linux
> > 
> > I tried to narrow down my problem.
> >
> > For this I run two slightly different scripts
> > which only load a vocabulary.
> >
> > For the second script Factor reports an error :
> > 
> > ~/factor/work/test_script$ cat test_script.factor
> > IN: test_script
> > USING: calendar ;
> > ~/factor/work/test_script$ factor-lang test_script.factor
> > ~/factor/work/test_script$
> > 
> > ~/factor/work/test_script$ cat test_script.factor
> > IN: test_script
> > USING: calendar.format ;
> > ~/factor/work/test_script$ factor-lang test_script.factor
> > Error in thread 33 (Timer, [ ~timer~ timer-loop ]):
> >
> > UI not running
> >
> > (U) [ set-namestack init-catchstack self quot>> call => stop ]
> > (O) timer-loop
> > (O) run-timer
> > (O) set-listener-font
> > (O) graft
> > (O) (queue-graft)
> > (O) graft-queue
> > (O) M\ object throw
> > (U) [
> > OBJ-CURRENT-THREAD special-object error-thread set-global
> > current-continuation => error-continuation set-global
> > [ original-error set-global ] [ rethrow ] bi
> >     ]
> > ~/factor/work/test_script$
> > ------------
> >
> >
> > ___
> > 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] Does calendar.format vocabulary need the UI ?

2022-10-03 Thread John Benediktsson
I'm not aware of any dependency, and I can't reproduce it on linux or macOS
just now.

I opened an issue on GitHub to investigate:

https://github.com/factor/factor/issues/2697

Do you have any UI code in your .factor-rc or .factor-boot-rc?

Thanks,
John.

On Mon, Oct 3, 2022 at 5:15 AM Georg Simon  wrote:

> Factor 0.99 x86.64 (2165, heads/master-b0f39e3617, Feb 16 2022 17:53:17)
> [GCC 11.2.0] on linux
> 
> I tried to narrow down my problem.
>
> For this I run two slightly different scripts
> which only load a vocabulary.
>
> For the second script Factor reports an error :
> 
> ~/factor/work/test_script$ cat test_script.factor
> IN: test_script
> USING: calendar ;
> ~/factor/work/test_script$ factor-lang test_script.factor
> ~/factor/work/test_script$
> 
> ~/factor/work/test_script$ cat test_script.factor
> IN: test_script
> USING: calendar.format ;
> ~/factor/work/test_script$ factor-lang test_script.factor
> Error in thread 33 (Timer, [ ~timer~ timer-loop ]):
>
> UI not running
>
> (U) [ set-namestack init-catchstack self quot>> call => stop ]
> (O) timer-loop
> (O) run-timer
> (O) set-listener-font
> (O) graft
> (O) (queue-graft)
> (O) graft-queue
> (O) M\ object throw
> (U) [
> OBJ-CURRENT-THREAD special-object error-thread set-global
> current-continuation => error-continuation set-global
> [ original-error set-global ] [ rethrow ] bi
> ]
> ~/factor/work/test_script$
> --------
>
>
> ___
> 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] Does calendar.format vocabulary need the UI ?

2022-10-03 Thread Georg Simon
Factor 0.99 x86.64 (2165, heads/master-b0f39e3617, Feb 16 2022 17:53:17)
[GCC 11.2.0] on linux

I tried to narrow down my problem. 

For this I run two slightly different scripts
which only load a vocabulary.

For the second script Factor reports an error :

~/factor/work/test_script$ cat test_script.factor 
IN: test_script
USING: calendar ;
~/factor/work/test_script$ factor-lang test_script.factor 
~/factor/work/test_script$
 
~/factor/work/test_script$ cat test_script.factor 
IN: test_script
USING: calendar.format ;
~/factor/work/test_script$ factor-lang test_script.factor 
Error in thread 33 (Timer, [ ~timer~ timer-loop ]):

UI not running

(U) [ set-namestack init-catchstack self quot>> call => stop ]
(O) timer-loop
(O) run-timer
(O) set-listener-font
(O) graft
(O) (queue-graft)
(O) graft-queue
(O) M\ object throw
(U) [
OBJ-CURRENT-THREAD special-object error-thread set-global
current-continuation => error-continuation set-global
[ original-error set-global ] [ rethrow ] bi
]
~/factor/work/test_script$
 


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


Re: [Factor-talk] The Listener's interface and screen readers

2022-08-18 Thread Cleverson

Hi John, thanks for willing to help.

Yes, you can expose relevant information to screen readers via APIs. 
Please see for details:

https://github.com/nvaccess/nvda/blob/master/devDocs/technicalDesignOverview.md

Best,
Cleverson

Em 18/08/2022 16:25, John Benediktsson escreveu:

Hello!

We do support a command line interface, you can run that from a command prompt, 
or power shell, by doing:

factor -run=listener

It is also possible the factor.com is command line and the factor.exe is the 
graphical listener.

Unfortunately, for the user interface, we currently have it rendered using 
OpenGL and custom controls, and I’m unsure about screen readers — it might be 
equivalent to trying to use a screen reader with a game interface.

If we can improve it for you, we would like to. I am not very familiar with how 
screen readers work, but would love to learn. Maybe there are APIs we can call 
that can provide descriptors of what our user interface controls can do.

Thanks,
John.


On Aug 18, 2022, at 11:11 AM, Cleverson  wrote:
Hello all,

Is anyone here aware of screen reading software, that is software which helps 
blind people to use the computer by speaking aloud information that is on the 
screen? You can see an example here:
www.nvaccess.org

I'd like to learn factor, so I of course need to use its listener feature in 
order to enter commands. However, the screen reader linked above, called NVDA, 
isn't able to interact well with the listener's user interface. Is ot OpenGL?

Normally, screen readers like NVDA are able to interact well with console 
applications, such as the Windows command prompt (cmd) or PowerShell, which 
make use of standard controls (or widgets) for console applications in Windows. 
So, it appears that the UI you chose for the Listener are implementing some 
custom control that isn't being recognized by NVDA.

My suggestion is that you could offer a way to choose an alternative interface, 
lets say a command line option, which would select the standard UI offered by 
the system for console applications.

Thanks and best,
Cleverson


___
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] The Listener's interface and screen readers

2022-08-18 Thread John Benediktsson
Hello!

We do support a command line interface, you can run that from a command prompt, 
or power shell, by doing:

factor -run=listener

It is also possible the factor.com is command line and the factor.exe is the 
graphical listener.

Unfortunately, for the user interface, we currently have it rendered using 
OpenGL and custom controls, and I’m unsure about screen readers — it might be 
equivalent to trying to use a screen reader with a game interface. 

If we can improve it for you, we would like to. I am not very familiar with how 
screen readers work, but would love to learn. Maybe there are APIs we can call 
that can provide descriptors of what our user interface controls can do. 

Thanks,
John.

> On Aug 18, 2022, at 11:11 AM, Cleverson  wrote:
> Hello all,
> 
> Is anyone here aware of screen reading software, that is software which helps 
> blind people to use the computer by speaking aloud information that is on the 
> screen? You can see an example here:
> www.nvaccess.org
> 
> I'd like to learn factor, so I of course need to use its listener feature in 
> order to enter commands. However, the screen reader linked above, called 
> NVDA, isn't able to interact well with the listener's user interface. Is ot 
> OpenGL?
> 
> Normally, screen readers like NVDA are able to interact well with console 
> applications, such as the Windows command prompt (cmd) or PowerShell, which 
> make use of standard controls (or widgets) for console applications in 
> Windows. So, it appears that the UI you chose for the Listener are 
> implementing some custom control that isn't being recognized by NVDA.
> 
> My suggestion is that you could offer a way to choose an alternative 
> interface, lets say a command line option, which would select the standard UI 
> offered by the system for console applications.
> 
> Thanks and best,
> Cleverson
> 
> 
> ___
> 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] The Listener's interface and screen readers

2022-08-18 Thread Cleverson

Hello all,

Is anyone here aware of screen reading software, that is software which 
helps blind people to use the computer by speaking aloud information 
that is on the screen? You can see an example here:

www.nvaccess.org

I'd like to learn factor, so I of course need to use its listener 
feature in order to enter commands. However, the screen reader linked 
above, called NVDA, isn't able to interact well with the listener's user 
interface. Is ot OpenGL?


Normally, screen readers like NVDA are able to interact well with 
console applications, such as the Windows command prompt (cmd) or 
PowerShell, which make use of standard controls (or widgets) for console 
applications in Windows. So, it appears that the UI you chose for the 
Listener are implementing some custom control that isn't being 
recognized by NVDA.


My suggestion is that you could offer a way to choose an alternative 
interface, lets say a command line option, which would select the 
standard UI offered by the system for console applications.


Thanks and best,
Cleverson


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


Re: [Factor-talk] gml graphics vocabs unit tests fail

2022-06-12 Thread John Benediktsson
There's an issue with the tests not using what they need -- this works:

"gml" load
"gml" test

On Sun, Jun 12, 2022 at 12:21 AM CW Alston  wrote:

> Hi -
> Experimenting with Slava's ``gml'' (Generative Modeling Language)
> 3D graphics vocabs in ``resource:extra'', I ran into a glitch involving
> unit tests.
> Some vocabs in the gml directory don't get loaded via
> ``load-child-vocabs'':
> gml.coremath, gml.geometry, & gml.modeling -- thus unit-tests fail.
> I'm running
> Factor 0.99 x86.64 (2166, heads/master-96743eeca4, May 28 2022 23:43:06)
> [Clang (GCC Apple LLVM 13.1.6 (clang-1316.0.21.2.5))] on macosx
>
> IN: scratchpad USE: gml "gml" test ! tests fail
>
> -Crafted a workaround using ``find-vocab-root'' to
> fix gml vocabs loading issue:
>
> IN: scratchpad auto-use
> "gml" [ find-vocab-root ] keep ! ( -- "resource:extra" "gml" )
> append-path! ( -- path ) get gml vocab parent directory
> directory-entries [ directory? ] filter
> [ name>> "gml." prepend ] map
> [ file-extension "examples" = ] reject ! skip gml code examples directory
> [ require ] each  ! load all relevant vocabs
> "gml" test  ! now all tests succeed
>
> -Is there a better, more direct solution?
> Thanks for any advice,
> ~ CW Alston
> --
> *~ Memento Amori*
> _______
> 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] gml graphics vocabs unit tests fail

2022-06-12 Thread CW Alston
Hi -
Experimenting with Slava's ``gml'' (Generative Modeling Language)
3D graphics vocabs in ``resource:extra'', I ran into a glitch involving
unit tests.
Some vocabs in the gml directory don't get loaded via ``load-child-vocabs'':
gml.coremath, gml.geometry, & gml.modeling -- thus unit-tests fail.
I'm running
Factor 0.99 x86.64 (2166, heads/master-96743eeca4, May 28 2022 23:43:06)
[Clang (GCC Apple LLVM 13.1.6 (clang-1316.0.21.2.5))] on macosx

IN: scratchpad USE: gml "gml" test ! tests fail

-Crafted a workaround using ``find-vocab-root'' to
fix gml vocabs loading issue:

IN: scratchpad auto-use
"gml" [ find-vocab-root ] keep ! ( -- "resource:extra" "gml" )
append-path! ( -- path ) get gml vocab parent directory
directory-entries [ directory? ] filter
[ name>> "gml." prepend ] map
[ file-extension "examples" = ] reject ! skip gml code examples directory
[ require ] each  ! load all relevant vocabs
"gml" test  ! now all tests succeed

-Is there a better, more direct solution?
Thanks for any advice,
~ CW Alston
-- 
*~ Memento Amori*
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Port on Z80 computers.

2021-11-24 Thread Chris Double
On Wed, Nov 24, 2021 at 9:30 PM yves gerey  wrote:
>
> I'd like to port a lightweight language to a Z80-based computer older than 
> you (the Amstrad CPC 6128), and to CP/M as well if there is interest.

A while back I played with using Factor to create and upload Z80 code
to an MP3 player. I wrote about it here:

https://bluishcoder.co.nz/2006/09/16/writing-your-own-mp3-player-firmware.html
https://bluishcoder.co.nz/2006/09/17/factor-code-to-upload-to-s1-mp3-player.html

While I don't think a port of Factor to Z80 would be a realistic task
at this stage, it'd make a great environment or remote development of
Z80 code and uploading to devices.

-- 
https://bluishcoder.co.nz


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


Re: [Factor-talk] Port on Z80 computers.

2021-11-24 Thread Jon Harper
Hi Yves,
Unfortunately, I think that factor is not the language you are looking for.

Although it has the same concatenative style as forth, it's not at all
a lightweight language like forth. The runtime requires an OS for many
things. It's a general purpose high level language with garbage
collection, cooperative threading, many functional programming
operations, runtime JIT code generation, etc.

I'd be very surprised if you could run it on anything with less than
64Mb of ram (I personally ran it on a robotino which had linux and
256Mb of ram, and there it ran great). So targeting a 4MHz cpu with
128 kb of ram is out of reach I'm afraid.
Cheers,
Jon

On Wed, Nov 24, 2021 at 9:30 AM yves gerey  wrote:
>
> Bonjour, noob here, but [Z80 connaisseur](http://orgams.wikidot.com/)!
>
> I'd like to port a lightweight language to a Z80-based computer older than 
> you (the Amstrad CPC 6128), and to CP/M as well if there is interest.
> * Sub-goal: porting a vm.
> * Main-goal: having the whole toolchain on the native machine (no 
> cross-compilation)
> More context 
> [here](https://www.pouet.net/topic.php?which=12155=1#c571455).
>
> Factor is a pretty interesting candidate. My main concern is that it wouldn't 
> be high-level enough! If I had to juggle with the stack, I might do it in 
> assembler directly.
>
> My first questions are:
> - Is there already related work? (my google-fu wasn't strong enough)
> - Is anyone interested to work on that with me? (I'm an outgoing introvert, 
> according to my dog). Following Erdòs, I believe that programming is the 
> perfect social activity for asocials (ok, just kidding, I don't mean to 
> reinforce stereotypes).
>
> Cheers!
>
> --
> --
> λves
> ___
> 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] Port on Z80 computers.

2021-11-24 Thread yves gerey
Bonjour, noob here, but [Z80 connaisseur](http://orgams.wikidot.com/)!

I'd like to port a lightweight language to a Z80-based computer older than
you (the Amstrad CPC 6128), and to CP/M as well if there is interest.
* Sub-goal: porting a vm.
* Main-goal: having the whole toolchain on the native machine (no
cross-compilation)
More context [here](
https://www.pouet.net/topic.php?which=12155=1#c571455).

Factor is a pretty interesting candidate. My main concern is that it
wouldn't be high-level enough! If I had to juggle with the stack, I might
do it in assembler directly.

My first questions are:
- Is there already related work? (my google-fu wasn't strong enough)
- Is anyone interested to work on that with me? (I'm an outgoing introvert,
according to my dog). Following Erdòs, I believe that programming is the
perfect social activity for asocials (ok, just kidding, I don't mean to
reinforce stereotypes).

Cheers!

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


Re: [Factor-talk] Compiler

2021-08-24 Thread dgpdx
OK, thanks.
—
don

> On Aug 24, 2021, at 14:53, John Benediktsson  wrote:
> 
> Probably 2022.
> 
> On Tue, Aug 24, 2021 at 2:33 PM dgpdx  <mailto:dgroves...@gmail.com>> wrote:
> I’d love to use factor.  Any idea when the port to arm64 will be completed?
> —
> don
>  
> 
>> On Aug 24, 2021, at 14:29, John Benediktsson > <mailto:mrj...@gmail.com>> wrote:
>> 
>> Contributions are welcome!
>> 
>> (Also questions, if you have any.)
>> 
>> On Tue, Aug 24, 2021 at 2:17 PM George Cherevichenko 
>> mailto:george.chereviche...@gmail.com>> 
>> wrote:
>> Thank you. I think, I understand stack-checker now. The problem 
>> (stack-effect checking) is very close to "typization" in lambda-calculi, but 
>> Pestov set types to "loop" and "while". I'll think about it:)
>> 
>> вт, 24 авг. 2021 г. в 21:59, John Benediktsson > <mailto:mrj...@gmail.com>>:
>> You can see some curry declared and then defined as part of bootstrap in:
>> 
>> https://github.com/factor/factor/blob/master/core/bootstrap/primitives.factor#L289
>>  
>> <https://github.com/factor/factor/blob/master/core/bootstrap/primitives.factor#L289>
>> 
>> 
>> 
>> On Wed, Aug 18, 2021 at 3:01 PM George Cherevichenko 
>> mailto:george.chereviche...@gmail.com>> 
>> wrote:
>> Hi
>> Where are definitions of "curry" and "compose"? I can't find them in 
>> kernel.factor
>> Is it a trick of compiler? For example, "dip" is defined as
>> : dip ( x quot -- x ) swap [ call ] dip ;
>> "because the compiler special-cases them".
>> What is "namespaces:set" in compiler.factor?
>> _______
>> Factor-talk mailing list
>> Factor-talk@lists.sourceforge.net <mailto:Factor-talk@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/factor-talk 
>> <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 
>> <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 
>> <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 
>> <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 
> <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] Compiler

2021-08-24 Thread John Benediktsson
Probably 2022.

On Tue, Aug 24, 2021 at 2:33 PM dgpdx  wrote:

> I’d love to use factor.  Any idea when the port to arm64 will be completed?
> —
> don
>
>
> On Aug 24, 2021, at 14:29, John Benediktsson  wrote:
>
> Contributions are welcome!
>
> (Also questions, if you have any.)
>
> On Tue, Aug 24, 2021 at 2:17 PM George Cherevichenko <
> george.chereviche...@gmail.com> wrote:
>
>> Thank you. I think, I understand stack-checker now. The problem
>> (stack-effect checking) is very close to "typization" in lambda-calculi,
>> but Pestov set types to "loop" and "while". I'll think about it:)
>>
>> вт, 24 авг. 2021 г. в 21:59, John Benediktsson :
>>
>>> You can see some curry declared and then defined as part of bootstrap in:
>>>
>>>
>>> https://github.com/factor/factor/blob/master/core/bootstrap/primitives.factor#L289
>>>
>>>
>>>
>>> On Wed, Aug 18, 2021 at 3:01 PM George Cherevichenko <
>>> george.chereviche...@gmail.com> wrote:
>>>
>>>> Hi
>>>> Where are definitions of "curry" and "compose"? I can't find them in
>>>> kernel.factor
>>>> Is it a trick of compiler? For example, "dip" is defined as
>>>> : dip ( x quot -- x ) swap [ call ] dip ;
>>>> "because the compiler special-cases them".
>>>> What is "namespaces:set" in compiler.factor?
>>>> ___
>>>> 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
>
>
> ___
> 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] Compiler

2021-08-24 Thread dgpdx
I’d love to use factor.  Any idea when the port to arm64 will be completed?
—
don
 

> On Aug 24, 2021, at 14:29, John Benediktsson  wrote:
> 
> Contributions are welcome!
> 
> (Also questions, if you have any.)
> 
> On Tue, Aug 24, 2021 at 2:17 PM George Cherevichenko 
> mailto:george.chereviche...@gmail.com>> 
> wrote:
> Thank you. I think, I understand stack-checker now. The problem (stack-effect 
> checking) is very close to "typization" in lambda-calculi, but Pestov set 
> types to "loop" and "while". I'll think about it:)
> 
> вт, 24 авг. 2021 г. в 21:59, John Benediktsson  <mailto:mrj...@gmail.com>>:
> You can see some curry declared and then defined as part of bootstrap in:
> 
> https://github.com/factor/factor/blob/master/core/bootstrap/primitives.factor#L289
>  
> <https://github.com/factor/factor/blob/master/core/bootstrap/primitives.factor#L289>
> 
> 
> 
> On Wed, Aug 18, 2021 at 3:01 PM George Cherevichenko 
> mailto:george.chereviche...@gmail.com>> 
> wrote:
> Hi
> Where are definitions of "curry" and "compose"? I can't find them in 
> kernel.factor
> Is it a trick of compiler? For example, "dip" is defined as
> : dip ( x quot -- x ) swap [ call ] dip ;
> "because the compiler special-cases them".
> What is "namespaces:set" in compiler.factor?
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net <mailto:Factor-talk@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/factor-talk 
> <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 
> <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 
> <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] Compiler

2021-08-24 Thread John Benediktsson
Contributions are welcome!

(Also questions, if you have any.)

On Tue, Aug 24, 2021 at 2:17 PM George Cherevichenko <
george.chereviche...@gmail.com> wrote:

> Thank you. I think, I understand stack-checker now. The problem
> (stack-effect checking) is very close to "typization" in lambda-calculi,
> but Pestov set types to "loop" and "while". I'll think about it:)
>
> вт, 24 авг. 2021 г. в 21:59, John Benediktsson :
>
>> You can see some curry declared and then defined as part of bootstrap in:
>>
>>
>> https://github.com/factor/factor/blob/master/core/bootstrap/primitives.factor#L289
>>
>>
>>
>> On Wed, Aug 18, 2021 at 3:01 PM George Cherevichenko <
>> george.chereviche...@gmail.com> wrote:
>>
>>> Hi
>>> Where are definitions of "curry" and "compose"? I can't find them in
>>> kernel.factor
>>> Is it a trick of compiler? For example, "dip" is defined as
>>> : dip ( x quot -- x ) swap [ call ] dip ;
>>> "because the compiler special-cases them".
>>> What is "namespaces:set" in compiler.factor?
>>> _______
>>> 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] Compiler

2021-08-24 Thread George Cherevichenko
Thank you. I think, I understand stack-checker now. The problem
(stack-effect checking) is very close to "typization" in lambda-calculi,
but Pestov set types to "loop" and "while". I'll think about it:)

вт, 24 авг. 2021 г. в 21:59, John Benediktsson :

> You can see some curry declared and then defined as part of bootstrap in:
>
>
> https://github.com/factor/factor/blob/master/core/bootstrap/primitives.factor#L289
>
>
>
> On Wed, Aug 18, 2021 at 3:01 PM George Cherevichenko <
> george.chereviche...@gmail.com> wrote:
>
>> Hi
>> Where are definitions of "curry" and "compose"? I can't find them in
>> kernel.factor
>> Is it a trick of compiler? For example, "dip" is defined as
>> : dip ( x quot -- x ) swap [ call ] dip ;
>> "because the compiler special-cases them".
>> What is "namespaces:set" in compiler.factor?
>> _______
>> 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] Compiler

2021-08-24 Thread John Benediktsson
You can see some curry declared and then defined as part of bootstrap in:

https://github.com/factor/factor/blob/master/core/bootstrap/primitives.factor#L289



On Wed, Aug 18, 2021 at 3:01 PM George Cherevichenko <
george.chereviche...@gmail.com> wrote:

> Hi
> Where are definitions of "curry" and "compose"? I can't find them in
> kernel.factor
> Is it a trick of compiler? For example, "dip" is defined as
> : dip ( x quot -- x ) swap [ call ] dip ;
> "because the compiler special-cases them".
> What is "namespaces:set" in compiler.factor?
> _______
> 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] The original mailing list

2021-08-20 Thread dgpdx
That’s too bad, it was a nice group.
—
don

> On Aug 20, 2021, at 15:36, M. Edward (Ed) Borasky  wrote:
> 
> Unless the maintainers of the Yahoo list took active steps to migrate
> it, it died when Yahoo killed Yahoo Groups.
> 
> On Fri, Aug 20, 2021 at 1:13 PM dgpdx  wrote:
>> 
>> This is the factor-talk mail list, I’m asking about the original 
>> concatenative mail list that was hosted by Yahoo.
>> It seems to have disappeared.
>> —
>> don
>> 
>> 
>>> On Aug 20, 2021, at 12:37, Benjamin Pollack  wrote:
>>> ng
>>> On Fri, Aug 20, 2021, at 14:25, dgpdx wrote:
>>>> Does the original concatenative mail list still exist. If so, where is it?
>>> 
>>> Unless I'm rather fundamentally miisunderstanding your question: you're on 
>>> it.
>>> 
>>> 
>>> _______
>>> 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
> 
> 
> 
> -- 
> Borasky Research Journal https://www.znmeb.mobi
> 
> Markovs of the world, unite! You have nothing to lose but your chains!
> 
> 
> ___
> 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] The original mailing list

2021-08-20 Thread M. Edward (Ed) Borasky
Unless the maintainers of the Yahoo list took active steps to migrate
it, it died when Yahoo killed Yahoo Groups.

On Fri, Aug 20, 2021 at 1:13 PM dgpdx  wrote:
>
> This is the factor-talk mail list, I’m asking about the original 
> concatenative mail list that was hosted by Yahoo.
> It seems to have disappeared.
> —
> don
>
>
> > On Aug 20, 2021, at 12:37, Benjamin Pollack  wrote:
> > ng
> > On Fri, Aug 20, 2021, at 14:25, dgpdx wrote:
> >> Does the original concatenative mail list still exist. If so, where is it?
> >
> > Unless I'm rather fundamentally miisunderstanding your question: you're on 
> > it.
> >
> >
> > ___
> > 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



-- 
Borasky Research Journal https://www.znmeb.mobi

Markovs of the world, unite! You have nothing to lose but your chains!


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


Re: [Factor-talk] The original mailing list

2021-08-20 Thread dgpdx
This is the factor-talk mail list, I’m asking about the original concatenative 
mail list that was hosted by Yahoo.
It seems to have disappeared.
—
don


> On Aug 20, 2021, at 12:37, Benjamin Pollack  wrote:
> ng
> On Fri, Aug 20, 2021, at 14:25, dgpdx wrote:
>> Does the original concatenative mail list still exist. If so, where is it?
> 
> Unless I'm rather fundamentally miisunderstanding your question: you're on it.
> 
> 
> ___
> 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] A new concatenative language (CL)

2021-08-20 Thread Benjamin Pollack
On Fri, Aug 20, 2021, at 14:04, dgpdx wrote:
> I’m aware of that. I would be implementing in C but the gcc port to arm64 
> also isn’t finished.

I feel like there might be a misunderstanding here. The Factor compiler is 
itself written in Factor. The VM is in C++, true, but that's honestly the 
easiest part of moving to a new architecture. If you're interested in joining 
the arm64 effort, you might find you can be quite comfy contributing 
meaningfully while staying entirely in Factor.


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


Re: [Factor-talk] The original mailing list

2021-08-20 Thread Benjamin Pollack
On Fri, Aug 20, 2021, at 14:25, dgpdx wrote:
> Does the original concatenative mail list still exist. If so, where is it?

Unless I'm rather fundamentally misunderstanding your question: you're on it.


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


[Factor-talk] The original mailing list

2021-08-20 Thread dgpdx
Does the original concatenative mail list still exist. If so, where is it?
—
don

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


Re: [Factor-talk] A new concatenative language (CL)

2021-08-20 Thread dgpdx
I’m aware of that. I would be implementing in C but the gcc port to arm64 also 
isn’t finished.
—
don

> On Aug 20, 2021, at 11:01, John Benediktsson  wrote:
> 
> Factor works fine using Rosetta. 
> 
> The arm64 port of Factor hasn’t been finished yet.
> 
> 
>> On Aug 20, 2021, at 11:00 AM, dgpdx  wrote:
>> 
>> Hi, all —
>> 
>> I cannot use factor as it is only for Intel architecture and I use arm64 on 
>> a MacBook Pro.
>> 
>> So, I’m implementing a CL in Julia, called jacl. It’s at the basics level 
>> with lots of work yet 
>> to do and I’m wondering if any interested parties would like to contribute. 
>> If so, send me an 
>> email and I’ll send you the source code and documentation. jacl Is open 
>> source.
>> —
>> don
>> 
>> PS - Is the concatenative mail list still active? I looked but couldn’t find 
>> itce
>> 
>> ___
>> 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] A new concatenative language (CL)

2021-08-20 Thread John Benediktsson
Factor works fine using Rosetta. 

The arm64 port of Factor hasn’t been finished yet.


> On Aug 20, 2021, at 11:00 AM, dgpdx  wrote:
> 
> Hi, all —
> 
> I cannot use factor as it is only for Intel architecture and I use arm64 on a 
> MacBook Pro.
> 
> So, I’m implementing a CL in Julia, called jacl. It’s at the basics level 
> with lots of work yet 
> to do and I’m wondering if any interested parties would like to contribute. 
> If so, send me an 
> email and I’ll send you the source code and documentation. jacl Is open 
> source.
> —
> don
> 
> PS - Is the concatenative mail list still active? I looked but couldn’t find 
> itce
> 
> _______
> 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] A new concatenative language (CL)

2021-08-20 Thread dgpdx
Hi, all —

I cannot use factor as it is only for Intel architecture and I use arm64 on a 
MacBook Pro.

So, I’m implementing a CL in Julia, called jacl. It’s at the basics level with 
lots of work yet 
to do and I’m wondering if any interested parties would like to contribute. If 
so, send me an 
email and I’ll send you the source code and documentation. jacl Is open source.
—
don

PS - Is the concatenative mail list still active? I looked but couldn’t find 
itce

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


[Factor-talk] Compiler

2021-08-18 Thread George Cherevichenko
Hi
Where are definitions of "curry" and "compose"? I can't find them in
kernel.factor
Is it a trick of compiler? For example, "dip" is defined as
: dip ( x quot -- x ) swap [ call ] dip ;
"because the compiler special-cases them".
What is "namespaces:set" in compiler.factor?
_______
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Strange using of variables

2021-06-30 Thread John Benediktsson
Sometimes it's nice to not have to define a separate state variable,
counter is the most often case that I've seen but there are others.

On Tue, Jun 29, 2021 at 6:02 AM George Cherevichenko <
george.chereviche...@gmail.com> wrote:

> The vocab stack-checker/values line 7
>
> :  ( -- value ) \  counter ;
>
> Why do Pestov use  \  (the name of a function) as a variable?
>
> The vocab stack-checker/recursive-state line 7
>
> TUPLE: recursive-state quotations inline-words ;
> :  ( -- state ) recursive-state new ; inline
>  recursive-state set-global
>
> Why do Pestov use "recursive-state" (the name of a tuple) as a variable?
>
> George
>
> _______
> 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] Strange using of variables

2021-06-29 Thread George Cherevichenko
The vocab stack-checker/values line 7

:  ( -- value ) \  counter ;

Why do Pestov use  \  (the name of a function) as a variable?

The vocab stack-checker/recursive-state line 7

TUPLE: recursive-state quotations inline-words ;
:  ( -- state ) recursive-state new ; inline
 recursive-state set-global

Why do Pestov use "recursive-state" (the name of a tuple) as a variable?

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


Re: [Factor-talk] OpenGL 3.3 + Factor, the result

2021-06-22 Thread George Cherevichenko
Else we have an error "unknown-image-extension"
https://www.mail-archive.com/factor-talk@lists.sourceforge.net/msg08655.html

вт, 22 июн. 2021 г. в 22:45, John Benediktsson :

> Why do you have to use platform specific image loader?
>
> On Tue, Jun 22, 2021 at 12:44 PM George Cherevichenko <
> george.chereviche...@gmail.com> wrote:
>
>> https://pastebin.com/faGJUH6v
>> https://www.imagevenue.com/ME13J21P
>> Put it to a new vocab "sphere" and run. If you will use deploy-tool,
>> change the line163 (write "1.jpg" instead of "vocab:sphere/1.jpg") and add
>> one of the lines
>> USE: images.loader.gdiplus (for Windows)
>> USE: images.loader.gtk(for Linux)
>> USE: images.loader.cocoa(for MacOS)
>> And put 1.jpg to the folder with the result!
>> ___
>> 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] OpenGL 3.3 + Factor, the result

2021-06-22 Thread John Benediktsson
Why do you have to use platform specific image loader?

On Tue, Jun 22, 2021 at 12:44 PM George Cherevichenko <
george.chereviche...@gmail.com> wrote:

> https://pastebin.com/faGJUH6v
> https://www.imagevenue.com/ME13J21P
> Put it to a new vocab "sphere" and run. If you will use deploy-tool,
> change the line163 (write "1.jpg" instead of "vocab:sphere/1.jpg") and add
> one of the lines
> USE: images.loader.gdiplus (for Windows)
> USE: images.loader.gtk(for Linux)
> USE: images.loader.cocoa(for MacOS)
> And put 1.jpg to the folder with the result!
> _______
> 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] OpenGL 3.3 + Factor, the result

2021-06-22 Thread George Cherevichenko
https://pastebin.com/faGJUH6v
https://www.imagevenue.com/ME13J21P
Put it to a new vocab "sphere" and run. If you will use deploy-tool, change
the line163 (write "1.jpg" instead of "vocab:sphere/1.jpg") and add one of
the lines
USE: images.loader.gdiplus (for Windows)
USE: images.loader.gtk(for Linux)
USE: images.loader.cocoa(for MacOS)
And put 1.jpg to the folder with the result!
_______
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Am I in the listener?

2021-06-22 Thread John Benediktsson
You can tell if you are running with the ui versus the command-line with
"ui-running?".

If you want to see if the listener is open, you can find it's window:

[ listener-gadget? ] find-window

And if you want to get a listener, opening one if it is not open, just call:

get-listener




On Tue, Jun 22, 2021 at 8:33 AM George Cherevichenko <
george.chereviche...@gmail.com> wrote:

> How can my program know is it running in the listener or as .exe?
>
> George
> _______
> 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] Am I in the listener?

2021-06-22 Thread Abraham Palmer
Is it cheating to just use the "environment" vocabulary and pass in an
indicator that way? I'm new with Factor so don't know of any fancier ways
to reflect on the source/type of the running code.
--Abraham

On Tue, Jun 22, 2021 at 11:32 AM George Cherevichenko <
george.chereviche...@gmail.com> wrote:

> How can my program know is it running in the listener or as .exe?
>
> George
> _______
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>


-- 
http://boxturtlebakery.com
(919)357-6034
abra...@boxturtlebakery.com
___________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] Am I in the listener?

2021-06-22 Thread George Cherevichenko
How can my program know is it running in the listener or as .exe?

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


Re: [Factor-talk] Loading images

2021-06-12 Thread George Cherevichenko
https://pastebin.com/VzSZAxVy
Simplest possible loading get
"bad-stack-effect
word load
got ( -- )
expected ( -- x ) "

https://pastebin.com/ggtF5DZu
Slightly more complex loading after deploy-tool get
"unknown-image-extension"
https://www.imagevenue.com/ME13HP4U

Win10 x64

George

пт, 11 июн. 2021 г. в 20:20, George Cherevichenko <
george.chereviche...@gmail.com>:

> Hi
> "C:\\1.jpg" load-image
> perfectly works in the listener, but throws  "unknown-image-extension" in
> the executable file (obtained with the help of deploy-tool). Why?
>
> George
>
_______
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] Loading images

2021-06-11 Thread George Cherevichenko
Hi
"C:\\1.jpg" load-image
perfectly works in the listener, but throws  "unknown-image-extension" in
the executable file (obtained with the help of deploy-tool). Why?

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


Re: [Factor-talk] OpenGL3.0+

2021-06-02 Thread George Cherevichenko
A simple example with matrices
https://pastebin.com/5S5Lf17E

George

ср, 2 июн. 2021 г. в 03:53, George Cherevichenko <
george.chereviche...@gmail.com>:

> A problem. In OpenGL3.0+ we have to sent a matrix to a shader
> float matrix[ ] = {any-16-elements-array};
> glUniformMatrix4fv(... , matrix);
> I try to do the same in Factor
> {any-16-elements-array} alien.c-types:float >c-array glUniformMatrix4fv
> and get an OpenGL error. Then I try
> {any-16-elements-array} alien.c-types:float >c-array >c-ptr
> glUniformMatrix4fv
> and get an OpenGL error too.
>
> George
>
>
> вт, 1 июн. 2021 г. в 23:21, George Cherevichenko <
> george.chereviche...@gmail.com>:
>
>> How to turn a Factor's 4X4 matrix to C array (I need a pointer float*) in
>> column-major order?
>> https://en.wikipedia.org/wiki/Row-_and_column-major_order
>> Thank you.
>>
>> George
>>
>> сб, 29 мая 2021 г. в 21:37, George Cherevichenko <
>> george.chereviche...@gmail.com>:
>>
>>> Simple examples without matrices.
>>> Triangle with glDrawArrays
>>> https://pastebin.com/QNgGuM2B
>>> Rectangle with glDrawElements
>>> https://pastebin.com/cxDvwyqj
>>>
>>> George
>>>
>>> сб, 29 мая 2021 г. в 02:56, :
>>>
>>>> "Generic word my-tuple-field<< does not define a method for the fixnum
>>>> class. Dispatching on object: 1"
>>>> What does it mean?
>>>>
>>>>
>>>> It means you called `1 obj >>my-tuple-field` instead of `obj 1
>>>> >>my-tuple-field`.
>>>>
>>>> ‐‐‐ Original Message ‐‐‐
>>>> On Saturday, May 29th, 2021 at 1:47 AM, George Cherevichenko -
>>>> george.chereviche...@gmail.com
>>>> 
>>>> wrote:
>>>>
>>>> "Generic word my-tuple-field<< does not define a method for the fixnum
>>>> class. Dispatching on object: 1"
>>>> What does it mean?
>>>> Now I can draw with glDrawArrays.
>>>>
>>>> George
>>>>
>>>> сб, 22 мая 2021 г. в 17:16, Ken Causey :
>>>>
>>>>> First I should be clear that I claim no special knowledge.  I'm more
>>>>> of an interested observer and occasional dabbler with Factor.
>>>>>
>>>>> However, a quick grep turned up these areas that may help further at
>>>>> least in the form of example code:
>>>>>
>>>>> https://github.com/factor/factor/tree/master/basis/opengl
>>>>> https://github.com/factor/factor/tree/master/extra/bunny
>>>>> https://github.com/factor/factor/tree/master/extra/cuda
>>>>> https://github.com/factor/factor/tree/master/extra/gpu
>>>>> https://github.com/factor/factor/tree/master/extra/grid-meshes
>>>>> https://github.com/factor/factor/tree/master/extra/model-viewer
>>>>>
>>>>> On Sat, May 22, 2021 at 8:01 AM George Cherevichenko <
>>>>> george.chereviche...@gmail.com> wrote:
>>>>>
>>>>>> There are three lines of the code which I cannot write in Factor
>>>>>>
>>>>>> glBufferData(GL_ARRAY_BUFFER, sizeof(vertices), vertices, 
>>>>>> GL_STATIC_DRAW);
>>>>>> glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 3 * sizeof(GLfloat), 
>>>>>> (GLvoid*)0);
>>>>>>  glEnableVertexAttribArray(0);
>>>>>>
>>>>>> I wanted to use "with-gl-buffer" or "with-vertex-array" from Factor's 
>>>>>> opengl vocabulary. Are there examples of using these commands?
>>>>>>
>>>>>> George
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> сб, 22 мая 2021 г. в 00:46, Doug Coleman :
>>>>>>
>>>>>>> It's just C ffi calls right?
>>>>>>>
>>>>>>> On Fri, May 21, 2021 at 4:38 PM George Cherevichenko <
>>>>>>> george.chereviche...@gmail.com> wrote:
>>>>>>>
>>>>>>>>   It is VERY outdated. I need OpenGL3.0+
>>>>>>>>
>>>>>>>> https://learnopengl.com/code_viewer.php?code=getting-started/hellotriangle
>>>>>>>>
>>>>>>>> https://hsto.org/files/709/5ad/69c/7095ad69c2a5431083ec84dc25b35cdb.png
>&

Re: [Factor-talk] OpenGL3.0+

2021-06-01 Thread George Cherevichenko
A problem. In OpenGL3.0+ we have to sent a matrix to a shader
float matrix[ ] = {any-16-elements-array};
glUniformMatrix4fv(... , matrix);
I try to do the same in Factor
{any-16-elements-array} alien.c-types:float >c-array glUniformMatrix4fv
and get an OpenGL error. Then I try
{any-16-elements-array} alien.c-types:float >c-array >c-ptr
glUniformMatrix4fv
and get an OpenGL error too.

George


вт, 1 июн. 2021 г. в 23:21, George Cherevichenko <
george.chereviche...@gmail.com>:

> How to turn a Factor's 4X4 matrix to C array (I need a pointer float*) in
> column-major order?
> https://en.wikipedia.org/wiki/Row-_and_column-major_order
> Thank you.
>
> George
>
> сб, 29 мая 2021 г. в 21:37, George Cherevichenko <
> george.chereviche...@gmail.com>:
>
>> Simple examples without matrices.
>> Triangle with glDrawArrays
>> https://pastebin.com/QNgGuM2B
>> Rectangle with glDrawElements
>> https://pastebin.com/cxDvwyqj
>>
>> George
>>
>> сб, 29 мая 2021 г. в 02:56, :
>>
>>> "Generic word my-tuple-field<< does not define a method for the fixnum
>>> class. Dispatching on object: 1"
>>> What does it mean?
>>>
>>>
>>> It means you called `1 obj >>my-tuple-field` instead of `obj 1
>>> >>my-tuple-field`.
>>>
>>> ‐‐‐ Original Message ‐‐‐
>>> On Saturday, May 29th, 2021 at 1:47 AM, George Cherevichenko -
>>> george.chereviche...@gmail.com
>>> 
>>> wrote:
>>>
>>> "Generic word my-tuple-field<< does not define a method for the fixnum
>>> class. Dispatching on object: 1"
>>> What does it mean?
>>> Now I can draw with glDrawArrays.
>>>
>>> George
>>>
>>> сб, 22 мая 2021 г. в 17:16, Ken Causey :
>>>
>>>> First I should be clear that I claim no special knowledge.  I'm more of
>>>> an interested observer and occasional dabbler with Factor.
>>>>
>>>> However, a quick grep turned up these areas that may help further at
>>>> least in the form of example code:
>>>>
>>>> https://github.com/factor/factor/tree/master/basis/opengl
>>>> https://github.com/factor/factor/tree/master/extra/bunny
>>>> https://github.com/factor/factor/tree/master/extra/cuda
>>>> https://github.com/factor/factor/tree/master/extra/gpu
>>>> https://github.com/factor/factor/tree/master/extra/grid-meshes
>>>> https://github.com/factor/factor/tree/master/extra/model-viewer
>>>>
>>>> On Sat, May 22, 2021 at 8:01 AM George Cherevichenko <
>>>> george.chereviche...@gmail.com> wrote:
>>>>
>>>>> There are three lines of the code which I cannot write in Factor
>>>>>
>>>>> glBufferData(GL_ARRAY_BUFFER, sizeof(vertices), vertices, GL_STATIC_DRAW);
>>>>> glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 3 * sizeof(GLfloat), 
>>>>> (GLvoid*)0);
>>>>>  glEnableVertexAttribArray(0);
>>>>>
>>>>> I wanted to use "with-gl-buffer" or "with-vertex-array" from Factor's 
>>>>> opengl vocabulary. Are there examples of using these commands?
>>>>>
>>>>> George
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> сб, 22 мая 2021 г. в 00:46, Doug Coleman :
>>>>>
>>>>>> It's just C ffi calls right?
>>>>>>
>>>>>> On Fri, May 21, 2021 at 4:38 PM George Cherevichenko <
>>>>>> george.chereviche...@gmail.com> wrote:
>>>>>>
>>>>>>>   It is VERY outdated. I need OpenGL3.0+
>>>>>>>
>>>>>>> https://learnopengl.com/code_viewer.php?code=getting-started/hellotriangle
>>>>>>>
>>>>>>> https://hsto.org/files/709/5ad/69c/7095ad69c2a5431083ec84dc25b35cdb.png
>>>>>>>
>>>>>>> George
>>>>>>>
>>>>>>> пт, 21 мая 2021 г. в 23:42, Ken Causey :
>>>>>>>
>>>>>>>> https://github.com/factor/factor/tree/master/extra/nehe
>>>>>>>>
>>>>>>>> On Fri, May 21, 2021 at 3:27 PM George Cherevichenko <
>>>>>>>> george.chereviche...@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Is there an example? A rotating triangle would be enough.
>>>

Re: [Factor-talk] OpenGL3.0+

2021-06-01 Thread George Cherevichenko
How to turn a Factor's 4X4 matrix to C array (I need a pointer float*) in
column-major order?
https://en.wikipedia.org/wiki/Row-_and_column-major_order
Thank you.

George

сб, 29 мая 2021 г. в 21:37, George Cherevichenko <
george.chereviche...@gmail.com>:

> Simple examples without matrices.
> Triangle with glDrawArrays
> https://pastebin.com/QNgGuM2B
> Rectangle with glDrawElements
> https://pastebin.com/cxDvwyqj
>
> George
>
> сб, 29 мая 2021 г. в 02:56, :
>
>> "Generic word my-tuple-field<< does not define a method for the fixnum
>> class. Dispatching on object: 1"
>> What does it mean?
>>
>>
>> It means you called `1 obj >>my-tuple-field` instead of `obj 1
>> >>my-tuple-field`.
>>
>> ‐‐‐ Original Message ‐‐‐
>> On Saturday, May 29th, 2021 at 1:47 AM, George Cherevichenko -
>> george.chereviche...@gmail.com
>>  wrote:
>>
>> "Generic word my-tuple-field<< does not define a method for the fixnum
>> class. Dispatching on object: 1"
>> What does it mean?
>> Now I can draw with glDrawArrays.
>>
>> George
>>
>> сб, 22 мая 2021 г. в 17:16, Ken Causey :
>>
>>> First I should be clear that I claim no special knowledge.  I'm more of
>>> an interested observer and occasional dabbler with Factor.
>>>
>>> However, a quick grep turned up these areas that may help further at
>>> least in the form of example code:
>>>
>>> https://github.com/factor/factor/tree/master/basis/opengl
>>> https://github.com/factor/factor/tree/master/extra/bunny
>>> https://github.com/factor/factor/tree/master/extra/cuda
>>> https://github.com/factor/factor/tree/master/extra/gpu
>>> https://github.com/factor/factor/tree/master/extra/grid-meshes
>>> https://github.com/factor/factor/tree/master/extra/model-viewer
>>>
>>> On Sat, May 22, 2021 at 8:01 AM George Cherevichenko <
>>> george.chereviche...@gmail.com> wrote:
>>>
>>>> There are three lines of the code which I cannot write in Factor
>>>>
>>>> glBufferData(GL_ARRAY_BUFFER, sizeof(vertices), vertices, GL_STATIC_DRAW);
>>>> glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 3 * sizeof(GLfloat), 
>>>> (GLvoid*)0);
>>>>  glEnableVertexAttribArray(0);
>>>>
>>>> I wanted to use "with-gl-buffer" or "with-vertex-array" from Factor's 
>>>> opengl vocabulary. Are there examples of using these commands?
>>>>
>>>> George
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> сб, 22 мая 2021 г. в 00:46, Doug Coleman :
>>>>
>>>>> It's just C ffi calls right?
>>>>>
>>>>> On Fri, May 21, 2021 at 4:38 PM George Cherevichenko <
>>>>> george.chereviche...@gmail.com> wrote:
>>>>>
>>>>>>   It is VERY outdated. I need OpenGL3.0+
>>>>>>
>>>>>> https://learnopengl.com/code_viewer.php?code=getting-started/hellotriangle
>>>>>>
>>>>>> https://hsto.org/files/709/5ad/69c/7095ad69c2a5431083ec84dc25b35cdb.png
>>>>>>
>>>>>> George
>>>>>>
>>>>>> пт, 21 мая 2021 г. в 23:42, Ken Causey :
>>>>>>
>>>>>>> https://github.com/factor/factor/tree/master/extra/nehe
>>>>>>>
>>>>>>> On Fri, May 21, 2021 at 3:27 PM George Cherevichenko <
>>>>>>> george.chereviche...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Is there an example? A rotating triangle would be enough.
>>>>>>>>
>>>>>>>> George
>>>>>>>> ___
>>>>>>>> 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
>>>>>
>>>> ___
>>>> 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] OpenGL3.0+

2021-05-29 Thread George Cherevichenko
Simple examples without matrices.
Triangle with glDrawArrays
https://pastebin.com/QNgGuM2B
Rectangle with glDrawElements
https://pastebin.com/cxDvwyqj

George

сб, 29 мая 2021 г. в 02:56, :

> "Generic word my-tuple-field<< does not define a method for the fixnum
> class. Dispatching on object: 1"
> What does it mean?
>
>
> It means you called `1 obj >>my-tuple-field` instead of `obj 1
> >>my-tuple-field`.
>
> ‐‐‐ Original Message ‐‐‐
> On Saturday, May 29th, 2021 at 1:47 AM, George Cherevichenko -
> george.chereviche...@gmail.com
>  wrote:
>
> "Generic word my-tuple-field<< does not define a method for the fixnum
> class. Dispatching on object: 1"
> What does it mean?
> Now I can draw with glDrawArrays.
>
> George
>
> сб, 22 мая 2021 г. в 17:16, Ken Causey :
>
>> First I should be clear that I claim no special knowledge.  I'm more of
>> an interested observer and occasional dabbler with Factor.
>>
>> However, a quick grep turned up these areas that may help further at
>> least in the form of example code:
>>
>> https://github.com/factor/factor/tree/master/basis/opengl
>> https://github.com/factor/factor/tree/master/extra/bunny
>> https://github.com/factor/factor/tree/master/extra/cuda
>> https://github.com/factor/factor/tree/master/extra/gpu
>> https://github.com/factor/factor/tree/master/extra/grid-meshes
>> https://github.com/factor/factor/tree/master/extra/model-viewer
>>
>> On Sat, May 22, 2021 at 8:01 AM George Cherevichenko <
>> george.chereviche...@gmail.com> wrote:
>>
>>> There are three lines of the code which I cannot write in Factor
>>>
>>> glBufferData(GL_ARRAY_BUFFER, sizeof(vertices), vertices, GL_STATIC_DRAW);
>>> glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 3 * sizeof(GLfloat), 
>>> (GLvoid*)0);
>>>  glEnableVertexAttribArray(0);
>>>
>>> I wanted to use "with-gl-buffer" or "with-vertex-array" from Factor's 
>>> opengl vocabulary. Are there examples of using these commands?
>>>
>>> George
>>>
>>>
>>>
>>>
>>>
>>>
>>> сб, 22 мая 2021 г. в 00:46, Doug Coleman :
>>>
>>>> It's just C ffi calls right?
>>>>
>>>> On Fri, May 21, 2021 at 4:38 PM George Cherevichenko <
>>>> george.chereviche...@gmail.com> wrote:
>>>>
>>>>>   It is VERY outdated. I need OpenGL3.0+
>>>>>
>>>>> https://learnopengl.com/code_viewer.php?code=getting-started/hellotriangle
>>>>> https://hsto.org/files/709/5ad/69c/7095ad69c2a5431083ec84dc25b35cdb.png
>>>>>
>>>>> George
>>>>>
>>>>> пт, 21 мая 2021 г. в 23:42, Ken Causey :
>>>>>
>>>>>> https://github.com/factor/factor/tree/master/extra/nehe
>>>>>>
>>>>>> On Fri, May 21, 2021 at 3:27 PM George Cherevichenko <
>>>>>> george.chereviche...@gmail.com> wrote:
>>>>>>
>>>>>>> Is there an example? A rotating triangle would be enough.
>>>>>>>
>>>>>>> George
>>>>>>> ___
>>>>>>> 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
>>>>
>>> ___
>>> 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] OpenGL3.0+

2021-05-28 Thread sf . alexilin
> "Generic word my-tuple-field<< does not define a method for the fixnum class. 
> Dispatching on object: 1"
> What does it mean?

It means you called `1 obj >>my-tuple-field` instead of `obj 1 
>>my-tuple-field`.

‐‐‐ Original Message ‐‐‐
On Saturday, May 29th, 2021 at 1:47 AM, George Cherevichenko - 
george.chereviche...@gmail.com 
 wrote:

> "Generic word my-tuple-field<< does not define a method for the fixnum class. 
> Dispatching on object: 1"
> What does it mean?
> Now I can draw with glDrawArrays.
>
> George
>
> сб, 22 мая 2021 г. в 17:16, Ken Causey :
>
>> First I should be clear that I claim no special knowledge. I'm more of an 
>> interested observer and occasional dabbler with Factor.
>>
>> However, a quick grep turned up these areas that may help further at least 
>> in the form of example code:
>>
>> https://github.com/factor/factor/tree/master/basis/opengl
>> https://github.com/factor/factor/tree/master/extra/bunny
>> https://github.com/factor/factor/tree/master/extra/cuda
>> https://github.com/factor/factor/tree/master/extra/gpu
>> https://github.com/factor/factor/tree/master/extra/grid-meshes
>> https://github.com/factor/factor/tree/master/extra/model-viewer
>>
>> On Sat, May 22, 2021 at 8:01 AM George Cherevichenko 
>>  wrote:
>>
>>> There are three lines of the code which I cannot write in Factor
>>>
>>> glBufferData(
>>>
>>> GL_ARRAY_BUFFER,
>>>
>>> sizeof
>>>
>>> (vertices), vertices, GL_STATIC_DRAW);
>>>
>>> glVertexAttribPointer(
>>>
>>> 0
>>>
>>> ,
>>>
>>> 3
>>>
>>> ,
>>>
>>> GL_FLOAT
>>>
>>> ,
>>>
>>> GL_FALSE
>>>
>>> ,
>>>
>>> 3
>>>
>>> *
>>>
>>> sizeof
>>>
>>> (
>>>
>>> GLfloat
>>>
>>> ), (GLvoid*)
>>>
>>> 0
>>>
>>> );
>>>
>>> glEnableV
>>>
>>> ertexAttribArray(
>>>
>>> 0
>>>
>>> );
>>>
>>> I wanted to use "with-gl-buffer" or "with-vertex-array" from Factor's 
>>> opengl vocabulary. Are there examples of using these commands?
>>>
>>> George
>>>
>>> сб, 22 мая 2021 г. в 00:46, Doug Coleman :
>>>
>>>> It's just C ffi calls right?
>>>>
>>>> On Fri, May 21, 2021 at 4:38 PM George Cherevichenko 
>>>>  wrote:
>>>>
>>>>> It is VERY outdated. I need OpenGL3.0+
>>>>> https://learnopengl.com/code_viewer.php?code=getting-started/hellotriangle
>>>>> https://hsto.org/files/709/5ad/69c/7095ad69c2a5431083ec84dc25b35cdb.png
>>>>>
>>>>> George
>>>>>
>>>>> пт, 21 мая 2021 г. в 23:42, Ken Causey :
>>>>>
>>>>>> https://github.com/factor/factor/tree/master/extra/nehe
>>>>>>
>>>>>> On Fri, May 21, 2021 at 3:27 PM George Cherevichenko 
>>>>>>  wrote:
>>>>>>
>>>>>>> Is there an example? A rotating triangle would be enough.
>>>>>>>
>>>>>>> George
>>>>>>> ___
>>>>>>> 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
>>>
>>> ___
>>> 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] OpenGL3.0+

2021-05-28 Thread George Cherevichenko
"Generic word my-tuple-field<< does not define a method for the fixnum
class. Dispatching on object: 1"
What does it mean?
Now I can draw with glDrawArrays.

George

сб, 22 мая 2021 г. в 17:16, Ken Causey :

> First I should be clear that I claim no special knowledge.  I'm more of an
> interested observer and occasional dabbler with Factor.
>
> However, a quick grep turned up these areas that may help further at least
> in the form of example code:
>
> https://github.com/factor/factor/tree/master/basis/opengl
> https://github.com/factor/factor/tree/master/extra/bunny
> https://github.com/factor/factor/tree/master/extra/cuda
> https://github.com/factor/factor/tree/master/extra/gpu
> https://github.com/factor/factor/tree/master/extra/grid-meshes
> https://github.com/factor/factor/tree/master/extra/model-viewer
>
> On Sat, May 22, 2021 at 8:01 AM George Cherevichenko <
> george.chereviche...@gmail.com> wrote:
>
>> There are three lines of the code which I cannot write in Factor
>>
>> glBufferData(GL_ARRAY_BUFFER, sizeof(vertices), vertices, GL_STATIC_DRAW);
>> glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 3 * sizeof(GLfloat), 
>> (GLvoid*)0);
>>  glEnableVertexAttribArray(0);
>>
>> I wanted to use "with-gl-buffer" or "with-vertex-array" from Factor's opengl 
>> vocabulary. Are there examples of using these commands?
>>
>> George
>>
>>
>>
>>
>>
>>
>> сб, 22 мая 2021 г. в 00:46, Doug Coleman :
>>
>>> It's just C ffi calls right?
>>>
>>> On Fri, May 21, 2021 at 4:38 PM George Cherevichenko <
>>> george.chereviche...@gmail.com> wrote:
>>>
>>>>   It is VERY outdated. I need OpenGL3.0+
>>>>
>>>> https://learnopengl.com/code_viewer.php?code=getting-started/hellotriangle
>>>> https://hsto.org/files/709/5ad/69c/7095ad69c2a5431083ec84dc25b35cdb.png
>>>>
>>>> George
>>>>
>>>> пт, 21 мая 2021 г. в 23:42, Ken Causey :
>>>>
>>>>> https://github.com/factor/factor/tree/master/extra/nehe
>>>>>
>>>>> On Fri, May 21, 2021 at 3:27 PM George Cherevichenko <
>>>>> george.chereviche...@gmail.com> wrote:
>>>>>
>>>>>> Is there an example? A rotating triangle would be enough.
>>>>>>
>>>>>> George
>>>>>> ___
>>>>>> 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
>>>
>> ___
>> 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] OpenGL3.0+

2021-05-22 Thread Ken Causey
First I should be clear that I claim no special knowledge.  I'm more of an
interested observer and occasional dabbler with Factor.

However, a quick grep turned up these areas that may help further at least
in the form of example code:

https://github.com/factor/factor/tree/master/basis/opengl
https://github.com/factor/factor/tree/master/extra/bunny
https://github.com/factor/factor/tree/master/extra/cuda
https://github.com/factor/factor/tree/master/extra/gpu
https://github.com/factor/factor/tree/master/extra/grid-meshes
https://github.com/factor/factor/tree/master/extra/model-viewer

On Sat, May 22, 2021 at 8:01 AM George Cherevichenko <
george.chereviche...@gmail.com> wrote:

> There are three lines of the code which I cannot write in Factor
>
> glBufferData(GL_ARRAY_BUFFER, sizeof(vertices), vertices, GL_STATIC_DRAW);
> glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 3 * sizeof(GLfloat), 
> (GLvoid*)0);
>  glEnableVertexAttribArray(0);
>
> I wanted to use "with-gl-buffer" or "with-vertex-array" from Factor's opengl 
> vocabulary. Are there examples of using these commands?
>
> George
>
>
>
>
>
>
> сб, 22 мая 2021 г. в 00:46, Doug Coleman :
>
>> It's just C ffi calls right?
>>
>> On Fri, May 21, 2021 at 4:38 PM George Cherevichenko <
>> george.chereviche...@gmail.com> wrote:
>>
>>>   It is VERY outdated. I need OpenGL3.0+
>>>
>>> https://learnopengl.com/code_viewer.php?code=getting-started/hellotriangle
>>> https://hsto.org/files/709/5ad/69c/7095ad69c2a5431083ec84dc25b35cdb.png
>>>
>>> George
>>>
>>> пт, 21 мая 2021 г. в 23:42, Ken Causey :
>>>
>>>> https://github.com/factor/factor/tree/master/extra/nehe
>>>>
>>>> On Fri, May 21, 2021 at 3:27 PM George Cherevichenko <
>>>> george.chereviche...@gmail.com> wrote:
>>>>
>>>>> Is there an example? A rotating triangle would be enough.
>>>>>
>>>>> George
>>>>> _______
>>>>> 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
>>
> ___
> 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] OpenGL3.0+

2021-05-22 Thread George Cherevichenko
There are three lines of the code which I cannot write in Factor

glBufferData(GL_ARRAY_BUFFER, sizeof(vertices), vertices, GL_STATIC_DRAW);
glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 3 * sizeof(GLfloat),
(GLvoid*)0);
 glEnableVertexAttribArray(0);

I wanted to use "with-gl-buffer" or "with-vertex-array" from Factor's
opengl vocabulary. Are there examples of using these commands?

George






сб, 22 мая 2021 г. в 00:46, Doug Coleman :

> It's just C ffi calls right?
>
> On Fri, May 21, 2021 at 4:38 PM George Cherevichenko <
> george.chereviche...@gmail.com> wrote:
>
>>   It is VERY outdated. I need OpenGL3.0+
>> https://learnopengl.com/code_viewer.php?code=getting-started/hellotriangle
>> https://hsto.org/files/709/5ad/69c/7095ad69c2a5431083ec84dc25b35cdb.png
>>
>> George
>>
>> пт, 21 мая 2021 г. в 23:42, Ken Causey :
>>
>>> https://github.com/factor/factor/tree/master/extra/nehe
>>>
>>> On Fri, May 21, 2021 at 3:27 PM George Cherevichenko <
>>> george.chereviche...@gmail.com> wrote:
>>>
>>>> Is there an example? A rotating triangle would be enough.
>>>>
>>>> George
>>>> ___
>>>> 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
>
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] OpenGL3.0+

2021-05-21 Thread Doug Coleman
It's just C ffi calls right?

On Fri, May 21, 2021 at 4:38 PM George Cherevichenko <
george.chereviche...@gmail.com> wrote:

>   It is VERY outdated. I need OpenGL3.0+
> https://learnopengl.com/code_viewer.php?code=getting-started/hellotriangle
> https://hsto.org/files/709/5ad/69c/7095ad69c2a5431083ec84dc25b35cdb.png
>
> George
>
> пт, 21 мая 2021 г. в 23:42, Ken Causey :
>
>> https://github.com/factor/factor/tree/master/extra/nehe
>>
>> On Fri, May 21, 2021 at 3:27 PM George Cherevichenko <
>> george.chereviche...@gmail.com> wrote:
>>
>>> Is there an example? A rotating triangle would be enough.
>>>
>>> George
>>> ___
>>> 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] OpenGL3.0+

2021-05-21 Thread George Cherevichenko
  It is VERY outdated. I need OpenGL3.0+
https://learnopengl.com/code_viewer.php?code=getting-started/hellotriangle
https://hsto.org/files/709/5ad/69c/7095ad69c2a5431083ec84dc25b35cdb.png

George

пт, 21 мая 2021 г. в 23:42, Ken Causey :

> https://github.com/factor/factor/tree/master/extra/nehe
>
> On Fri, May 21, 2021 at 3:27 PM George Cherevichenko <
> george.chereviche...@gmail.com> wrote:
>
>> Is there an example? A rotating triangle would be enough.
>>
>> George
>> ___________
>> 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] OpenGL3.0+

2021-05-21 Thread Ken Causey
https://github.com/factor/factor/tree/master/extra/nehe

On Fri, May 21, 2021 at 3:27 PM George Cherevichenko <
george.chereviche...@gmail.com> wrote:

> Is there an example? A rotating triangle would be enough.
>
> George
> ___
> 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] OpenGL3.0+

2021-05-21 Thread George Cherevichenko
Is there an example? A rotating triangle would be enough.

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


Re: [Factor-talk] May 5th

2021-05-12 Thread CW Alston
Co-sign that thanks for posting the video!
Great to see interest in Factor spreading, &
I’ll learn a lot from their work.
Cheers!
~ cw

On Wed, May 12, 2021 at 10:04 PM Sankaranarayanan Viswanathan <
rationalrev...@gmail.com> wrote:

> Thank you for the video! I enjoyed watching it, and they've done a great
> job going over their work on compression and http2 support.
>
> - Sankar
>
> On Wed, May 12, 2021 at 4:47 PM John Benediktsson 
> wrote:
>
>> For anyone that missed the session, or is interested in looking at the 20
>> minute video portion of their presentation, you can look here:
>>
>> https://www.youtube.com/watch?v=lGWMNK5C5go
>>
>> Best,
>> John.
>>
>> On Tue, Apr 20, 2021 at 9:04 AM John Benediktsson 
>> wrote:
>>
>>> Hi everyone,
>>>
>>> We have a team of college students from Harvey Mudd College working on
>>> some improvements to the Factor web frameworks, specifically implementing a
>>> Factor native GZIP vocabulary and a HTTP/2 web server.
>>>
>>> They are going to discuss and present their results on May 5th at 9am
>>> PST online via a Zoom session. It would be nice if anyone with interest
>>> would come and listen and perhaps ask them about their work and future
>>> steps.
>>>
>>> Please write me back directly if you would like an invitation to this
>>> session.
>>>
>>> Best,
>>> John.
>>>
>> ___
>> 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
>
-- 
*~ Memento Amori*
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] May 5th

2021-05-12 Thread Sankaranarayanan Viswanathan
Thank you for the video! I enjoyed watching it, and they've done a great
job going over their work on compression and http2 support.

- Sankar

On Wed, May 12, 2021 at 4:47 PM John Benediktsson  wrote:

> For anyone that missed the session, or is interested in looking at the 20
> minute video portion of their presentation, you can look here:
>
> https://www.youtube.com/watch?v=lGWMNK5C5go
>
> Best,
> John.
>
> On Tue, Apr 20, 2021 at 9:04 AM John Benediktsson 
> wrote:
>
>> Hi everyone,
>>
>> We have a team of college students from Harvey Mudd College working on
>> some improvements to the Factor web frameworks, specifically implementing a
>> Factor native GZIP vocabulary and a HTTP/2 web server.
>>
>> They are going to discuss and present their results on May 5th at 9am PST
>> online via a Zoom session. It would be nice if anyone with interest would
>> come and listen and perhaps ask them about their work and future steps.
>>
>> Please write me back directly if you would like an invitation to this
>> session.
>>
>> Best,
>> John.
>>
> _______
> 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] May 5th

2021-05-12 Thread John Benediktsson
For anyone that missed the session, or is interested in looking at the 20
minute video portion of their presentation, you can look here:

https://www.youtube.com/watch?v=lGWMNK5C5go

Best,
John.

On Tue, Apr 20, 2021 at 9:04 AM John Benediktsson  wrote:

> Hi everyone,
>
> We have a team of college students from Harvey Mudd College working on
> some improvements to the Factor web frameworks, specifically implementing a
> Factor native GZIP vocabulary and a HTTP/2 web server.
>
> They are going to discuss and present their results on May 5th at 9am PST
> online via a Zoom session. It would be nice if anyone with interest would
> come and listen and perhaps ask them about their work and future steps.
>
> Please write me back directly if you would like an invitation to this
> session.
>
> Best,
> John.
>
___________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] May 5th

2021-04-29 Thread CW Alston
Hi John,

I'm interested in learning about the Harvey Mudd projects.

Thanks,
CW (Charles Alston)

On Sun, Apr 25, 2021 at 2:57 AM Sankaranarayanan Viswanathan <
rationalrev...@gmail.com> wrote:

> Hello John,
>
> I'm interested in participating as well.
>
> Thanks!
> Sankar
>
> On Thu, Apr 22, 2021 at 2:57 PM Jon Harper  wrote:
>
>> sure ! How long have they been working on it ? How much time do they have
>> left ?
>> Jon
>>
>> On Thu, Apr 22, 2021 at 1:51 AM cat via Factor-talk
>>  wrote:
>> >
>> > I'm interested!
>> >
>> >
>> >
>> > ‐‐‐ Original Message ‐‐‐
>> > On Tuesday, April 20, 2021 12:04 PM, John Benediktsson <
>> mrj...@gmail.com> wrote:
>> >
>> > Hi everyone,
>> >
>> > We have a team of college students from Harvey Mudd College working on
>> some improvements to the Factor web frameworks, specifically implementing a
>> Factor native GZIP vocabulary and a HTTP/2 web server.
>> >
>> > They are going to discuss and present their results on May 5th at 9am
>> PST online via a Zoom session. It would be nice if anyone with interest
>> would come and listen and perhaps ask them about their work and future
>> steps.
>> >
>> > Please write me back directly if you would like an invitation to this
>> session.
>> >
>> > Best,
>> > John.
>> >
>> >
>> > ___
>> > 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
>


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


Re: [Factor-talk] May 5th

2021-04-25 Thread Sankaranarayanan Viswanathan
Hello John,

I'm interested in participating as well.

Thanks!
Sankar

On Thu, Apr 22, 2021 at 2:57 PM Jon Harper  wrote:

> sure ! How long have they been working on it ? How much time do they have
> left ?
> Jon
>
> On Thu, Apr 22, 2021 at 1:51 AM cat via Factor-talk
>  wrote:
> >
> > I'm interested!
> >
> >
> >
> > ‐‐‐ Original Message ‐‐‐
> > On Tuesday, April 20, 2021 12:04 PM, John Benediktsson 
> wrote:
> >
> > Hi everyone,
> >
> > We have a team of college students from Harvey Mudd College working on
> some improvements to the Factor web frameworks, specifically implementing a
> Factor native GZIP vocabulary and a HTTP/2 web server.
> >
> > They are going to discuss and present their results on May 5th at 9am
> PST online via a Zoom session. It would be nice if anyone with interest
> would come and listen and perhaps ask them about their work and future
> steps.
> >
> > Please write me back directly if you would like an invitation to this
> session.
> >
> > Best,
> > John.
> >
> >
> > ___
> > 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] May 5th

2021-04-22 Thread Jon Harper
sure ! How long have they been working on it ? How much time do they have left ?
Jon

On Thu, Apr 22, 2021 at 1:51 AM cat via Factor-talk
 wrote:
>
> I'm interested!
>
>
>
> ‐‐‐ Original Message ‐‐‐
> On Tuesday, April 20, 2021 12:04 PM, John Benediktsson  
> wrote:
>
> Hi everyone,
>
> We have a team of college students from Harvey Mudd College working on some 
> improvements to the Factor web frameworks, specifically implementing a Factor 
> native GZIP vocabulary and a HTTP/2 web server.
>
> They are going to discuss and present their results on May 5th at 9am PST 
> online via a Zoom session. It would be nice if anyone with interest would 
> come and listen and perhaps ask them about their work and future steps.
>
> Please write me back directly if you would like an invitation to this session.
>
> Best,
> John.
>
>
> ___
> 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] May 5th

2021-04-21 Thread cat via Factor-talk
I'm interested!

‐‐‐ Original Message ‐‐‐
On Tuesday, April 20, 2021 12:04 PM, John Benediktsson  wrote:

> Hi everyone,
>
> We have a team of college students from Harvey Mudd College working on some 
> improvements to the Factor web frameworks, specifically implementing a Factor 
> native GZIP vocabulary and a HTTP/2 web server.
>
> They are going to discuss and present their results on May 5th at 9am PST 
> online via a Zoom session. It would be nice if anyone with interest would 
> come and listen and perhaps ask them about their work and future steps.
>
> Please write me back directly if you would like an invitation to this session.
>
> Best,
> John.___________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] May 5th

2021-04-21 Thread Jeremy Heiler
I am interested!

On Tue, Apr 20, 2021 at 12:05 PM John Benediktsson  wrote:

> Hi everyone,
>
> We have a team of college students from Harvey Mudd College working on
> some improvements to the Factor web frameworks, specifically implementing a
> Factor native GZIP vocabulary and a HTTP/2 web server.
>
> They are going to discuss and present their results on May 5th at 9am PST
> online via a Zoom session. It would be nice if anyone with interest would
> come and listen and perhaps ask them about their work and future steps.
>
> Please write me back directly if you would like an invitation to this
> session.
>
> Best,
> John.
> ___________
> 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] May 5th

2021-04-20 Thread Dave Carlton
Interested
—
Dave Carlton
da...@polymicro.net




> On Apr 20, 2021, at 11:04, John Benediktsson  wrote:
> 
> Hi everyone,
> 
> We have a team of college students from Harvey Mudd College working on some 
> improvements to the Factor web frameworks, specifically implementing a Factor 
> native GZIP vocabulary and a HTTP/2 web server.
> 
> They are going to discuss and present their results on May 5th at 9am PST 
> online via a Zoom session. It would be nice if anyone with interest would 
> come and listen and perhaps ask them about their work and future steps.
> 
> Please write me back directly if you would like an invitation to this session.
> 
> Best,
> John.
> _______
> 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] May 5th

2021-04-20 Thread John Benediktsson
Hi everyone,

We have a team of college students from Harvey Mudd College working on some
improvements to the Factor web frameworks, specifically implementing a
Factor native GZIP vocabulary and a HTTP/2 web server.

They are going to discuss and present their results on May 5th at 9am PST
online via a Zoom session. It would be nice if anyone with interest would
come and listen and perhaps ask them about their work and future steps.

Please write me back directly if you would like an invitation to this
session.

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


Re: [Factor-talk] Should we default to main?

2020-12-07 Thread Benjamin Pollack
On Sun, Dec 6, 2020, at 15:44, John Benediktsson wrote:
> We need to figure that out. 
> 
> bi/bi*/bi@
> tri/tri*/tri@
> cleave/spread/apply
> 
> It might make more sense to have a numerical syntax instead of words or 
> better yet would be to only have cleave/spread/apply and have shorter 
> symbolic syntax for it. 
> 
> Plenty of places where [ foo ] keep bar seems to look cleaner than [ foo ] [ 
> bar ] bi and I’d rather we had more consistency and fewer tokens possibly. 

I'm speaking purely for myself, but even to the extent I might agree in the 
narrow case of [ foo ] [ bar ] bi versus [ foo ] keep bar, the relationship 
between bi/bi*/bi@ and tri/tri*/tri@ I think is important, and can cause me to 
lean for bi in many cases even where a keep sequence might arguably be clearer.

That said, if cleave/spread/apply didn't feel so "heavy", I'd definitely be 
fine ditching the bi/tri families in favor of the generics. Your point on 
syntax might work. It also might honestly not feel heavy in practice, even 
today; it'd be interesting to try going a couple weeks using *only* 
cleave/spread/apply directly and see if it actually makes my code worse.___________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] How to validate different formats in an array?

2020-12-07 Thread Jon Harper
You can see some solutions for AoC problems on the factor pastebin:
https://paste.factorcode.org/
For day4, there are 2 examples, using 1&& (
https://docs.factorcode.org/content/word-1&&,combinators.short-circuit.html)
or EBNF semantic actions (
https://docs.factorcode.org/content/article-peg.ebnf.semantic-action.html
).
Please add your own :)



Jon

On Mon, Dec 7, 2020 at 5:18 AM Woosuk Kwak  wrote:
>
> Thanks, call(...) is exactly what I needed. And yes, that's the intended 
> stack effect, and 2all? works for my purpose.
>
> It would be helpful if the help page for 'call' mentions 'call(' as an 
> alternative where it doesn't work.
>
> On Mon, Dec 7, 2020, 12:05 PM John Benediktsson  wrote:
>>
>> You should be able to call dynamic quots by specifying their stack effect in 
>> the call, assuming your quotations take one input and produce a Boolean
>>
>> [ call( elt — ? ) ] 2map
>>
>> Or even use 2all? If you want to know if an input array passes all the tests.
>>
>>
>>
>> > On Dec 6, 2020, at 6:11 PM, bubbler9...@gmail.com wrote:
>> >
>> > 
>> > Hi,
>> >
>> > I'm currently solving problems on Advent of Code 2020 
>> > (adventofcode.com/2020) and Rosalind (rosalind.info) in Factor.
>> > I encountered an interesting problem in AoC2020 Day4 Part2: the main part 
>> > of the problem is, given an array of 7 strings, validate them for seven 
>> > different conditions, i.e. test item 0 for condition 0, item 1 for 
>> > condition 1, etc.
>> > I initially thought pushing an array of 7 functions and doing "[ call ] 
>> > 2map" should work, but it didn't. I "solved" the problem by extracting the 
>> > 7 strings on the stack (using "7 firstn"), using spread, and collecting 
>> > them back (using "7 narray"). Is there a better way to achieve this?
>> >
>> > The full code can be found here: 
>> > github.com/Bubbler-4/factor-problem-solving/blob/main/aoc2020/day4/day4.factor
>> > _______
>> > 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] How to validate different formats in an array?

2020-12-06 Thread Woosuk Kwak
Thanks, call(...) is exactly what I needed. And yes, that's the intended
stack effect, and 2all? works for my purpose.

It would be helpful if the help page for 'call' mentions 'call(' as an
alternative where it doesn't work.

On Mon, Dec 7, 2020, 12:05 PM John Benediktsson  wrote:

> You should be able to call dynamic quots by specifying their stack effect
> in the call, assuming your quotations take one input and produce a Boolean
>
> [ call( elt — ? ) ] 2map
>
> Or even use 2all? If you want to know if an input array passes all the
> tests.
>
>
>
> > On Dec 6, 2020, at 6:11 PM, bubbler9...@gmail.com wrote:
> >
> > 
> > Hi,
> >
> > I'm currently solving problems on Advent of Code 2020 (
> adventofcode.com/2020) and Rosalind (rosalind.info) in Factor.
> > I encountered an interesting problem in AoC2020 Day4 Part2: the main
> part of the problem is, given an array of 7 strings, validate them for
> seven different conditions, i.e. test item 0 for condition 0, item 1 for
> condition 1, etc.
> > I initially thought pushing an array of 7 functions and doing "[ call ]
> 2map" should work, but it didn't. I "solved" the problem by extracting the
> 7 strings on the stack (using "7 firstn"), using spread, and collecting
> them back (using "7 narray"). Is there a better way to achieve this?
> >
> > The full code can be found here:
> github.com/Bubbler-4/factor-problem-solving/blob/main/aoc2020/day4/day4.factor
> > ___
> > 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] How to validate different formats in an array?

2020-12-06 Thread John Benediktsson
You should be able to call dynamic quots by specifying their stack effect in 
the call, assuming your quotations take one input and produce a Boolean 

[ call( elt — ? ) ] 2map

Or even use 2all? If you want to know if an input array passes all the tests. 



> On Dec 6, 2020, at 6:11 PM, bubbler9...@gmail.com wrote:
> 
> 
> Hi,
> 
> I'm currently solving problems on Advent of Code 2020 (adventofcode.com/2020) 
> and Rosalind (rosalind.info) in Factor.
> I encountered an interesting problem in AoC2020 Day4 Part2: the main part of 
> the problem is, given an array of 7 strings, validate them for seven 
> different conditions, i.e. test item 0 for condition 0, item 1 for condition 
> 1, etc.
> I initially thought pushing an array of 7 functions and doing "[ call ] 2map" 
> should work, but it didn't. I "solved" the problem by extracting the 7 
> strings on the stack (using "7 firstn"), using spread, and collecting them 
> back (using "7 narray"). Is there a better way to achieve this?
> 
> The full code can be found here: 
> github.com/Bubbler-4/factor-problem-solving/blob/main/aoc2020/day4/day4.factor
> ___
> 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] How to validate different formats in an array?

2020-12-06 Thread bubbler9903

Hi,

I'm currently solving problems on Advent of Code 2020 
(adventofcode.com/2020) and Rosalind (rosalind.info) in Factor.
I encountered an interesting problem in AoC2020 Day4 Part2: the main 
part of the problem is, given an array of 7 strings, validate them for 
seven different conditions, i.e. test item 0 for condition 0, item 1 
for condition 1, etc.
I initially thought pushing an array of 7 functions and doing "[ call ] 
2map" should work, but it didn't. I "solved" the problem by extracting 
the 7 strings on the stack (using "7 firstn"), using spread, and 
collecting them back (using "7 narray"). Is there a better way to 
achieve this?


The full code can be found here: 
github.com/Bubbler-4/factor-problem-solving/blob/main/aoc2020/day4/day4.factor


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


Re: [Factor-talk] Should we default to main?

2020-12-06 Thread John Benediktsson
We need to figure that out. 

bi/bi*/bi@
tri/tri*/tri@
cleave/spread/apply

It might make more sense to have a numerical syntax instead of words or better 
yet would be to only have cleave/spread/apply and have shorter symbolic syntax 
for it. 

Plenty of places where [ foo ] keep bar seems to look cleaner than [ foo ] [ 
bar ] bi and I’d rather we had more consistency and fewer tokens possibly. 



> On Dec 6, 2020, at 10:39 AM, kevin  wrote:
> 
> 
> I'm curious, what does higher level cleave/spread/apply syntax look like?
> 
>> On Fri, Dec 4, 2020 at 9:48 AM John Benediktsson  wrote:
>> I’ve always been excited to release 0.99 and then either 0.100 or 0.999 
>> depending on my mood. :-)
>> 
>> We have various improvements under way, and would love some contributions if 
>> anyone has interest and time. It’s unclear how long they will all take. 
>> 
>> Some examples:
>> 
>> - ARM support
>> - Cross compilation
>> - Lexer improvements which enables some better syntax and cross-platform 
>> parsing
>> - Native integer types
>> - Better concurrency primitives
>> - Higher level cleave/spread/apply syntax to improve readability
>> - Multiple dispatch
>> - Library improvements like HTTP/2 support
>> 
>> But as with any open source, much of this is driven by the interests and 
>> needs of contributors and users. 
>> 
>> Feel free to post additional ideas that you’d like to see and we can add it 
>> to the list. 
>> 
>> Best,
>> John.
>> 
>> 
>> 
>> 
>>> On Fri, Dec 4, 2020 at 7:40 AM Dave Carlton  wrote:
>>> Speaking of which, what is the defintion of Factor 1.0? 
>>> 
>>> Would be nice to get us to that milestone.
>>> —
>>> Dave Carlton
>>> da...@polymicro.net
>>> 
>>> 
>>> 
>>> 
>>>> On Dec 4, 2020, at 09:06, John Benediktsson  wrote:
>>>> 
>>>> This whole thing is funny. Let’s postpone a discussion until after we have 
>>>> Factor working on ARM. :-)
>>>> 
>>>> 
>>>>>> On Dec 4, 2020, at 6:24 AM, sf.alexi...@spamgourmet.com wrote:
>>>>>> 
>>>>> 
>>>>> If I were to become a master of computer science or a master in a craft, 
>>>>> that would mean I've mastered it.
>>>>> 
>>>>> It doesn't mean someone got enslaved in the process.
>>>>> 
>>>>> 
>>>>> 
>>>>> ‐‐‐ Original Message ‐‐‐
>>>>>> On Friday, December 4, 2020 3:21 PM, Alexander Ilin 
>>>>>>  wrote:
>>>>>> 
>>>>>> Right. I'm a master of philosophy, but I don't want to be main of 
>>>>>> philosophy.
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> ‐‐‐ Original Message ‐‐‐
>>>>>>> On Friday, December 4, 2020 8:34 AM, SJain via Factor-talk - 
>>>>>>> factor-talk@lists.sourceforge.net 
>>>>>>>  
>>>>>>> wrote:
>>>>>>> 
>>>>>>> IMHO, master is such an honourable word. Ex. Master of a school or 
>>>>>>> college, Headmaster is quite common in UK.
>>>>>>> 
>>>>>>> SJain
>>>>>>> 
>>>>>>>> On 3 December 2020 3:56:01 AM IST, Benjamin Pollack 
>>>>>>>>  wrote:
>>>>>>>>> On Wed, Dec 2, 2020, at 16:56, Dave Carlton wrote:
>>>>>>>>> I'm getting cranky in my old age. Aplogies. 
>>>>>>>>> 
>>>>>>>>> Just don't have time for PC.
>>>>>>>> 
>>>>>>>> Well, the good news is we thankfully run just fine on Mac, and there's 
>>>>>>>> ongoing work to add ARM support so you could use a tablet or Android 
>>>>>>>> phone instead.
>>>>>> 
>>>>> 
>>>>> ___
>>>>> 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
> ___
> 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] Should we default to main?

2020-12-06 Thread kevin
I'm curious, what does higher level cleave/spread/apply syntax look like?

On Fri, Dec 4, 2020 at 9:48 AM John Benediktsson  wrote:

> I’ve always been excited to release 0.99 and then either 0.100 or 0.999
> depending on my mood. :-)
>
> We have various improvements under way, and would love some contributions
> if anyone has interest and time. It’s unclear how long they will all take.
>
> Some examples:
>
> - ARM support
> - Cross compilation
> - Lexer improvements which enables some better syntax and cross-platform
> parsing
> - Native integer types
> - Better concurrency primitives
> - Higher level cleave/spread/apply syntax to improve readability
> - Multiple dispatch
> - Library improvements like HTTP/2 support
>
> But as with any open source, much of this is driven by the interests and
> needs of contributors and users.
>
> Feel free to post additional ideas that you’d like to see and we can add
> it to the list.
>
> Best,
> John.
>
>
>
>
> On Fri, Dec 4, 2020 at 7:40 AM Dave Carlton  wrote:
>
>> Speaking of which, what is the defintion of Factor 1.0?
>>
>> Would be nice to get us to that milestone.
>> —
>> Dave Carlton
>> da...@polymicro.net
>>
>>
>>
>>
>> On Dec 4, 2020, at 09:06, John Benediktsson  wrote:
>>
>> This whole thing is funny. Let’s postpone a discussion until after we
>> have Factor working on ARM. :-)
>>
>>
>> On Dec 4, 2020, at 6:24 AM, sf.alexi...@spamgourmet.com wrote:
>>
>> 
>> If I were to become a master of computer science or a master in a craft,
>> that would mean I've mastered it.
>>
>> It doesn't mean someone got enslaved in the process.
>>
>>
>>
>> ‐‐‐ Original Message ‐‐‐
>> On Friday, December 4, 2020 3:21 PM, Alexander Ilin <
>> alex.i...@protonmail.com> wrote:
>>
>> Right. I'm a master of philosophy, but I don't want to be main of
>> philosophy.
>>
>>
>>
>> ‐‐‐ Original Message ‐‐‐
>> On Friday, December 4, 2020 8:34 AM, SJain via Factor-talk -
>> factor-talk@lists.sourceforge.net <
>> sf.alexilin.f5f5b45d28.factor-talk#lists.sourceforge@ob.0sg.net>
>> wrote:
>>
>> IMHO, master is such an honourable word. Ex. Master of a school or
>> college, Headmaster is quite common in UK.
>>
>> SJain
>>
>> On 3 December 2020 3:56:01 AM IST, Benjamin Pollack <
>> benja...@bitquabit.com> wrote:
>>
>>> On Wed, Dec 2, 2020, at 16:56, Dave Carlton wrote:
>>>
>>> I'm getting cranky in my old age. Aplogies.
>>>
>>> Just don't have time for PC.
>>>
>>>
>>> Well, the good news is we thankfully run just fine on Mac, and there's
>>> ongoing work to add ARM support so you could use a tablet or Android phone
>>> instead.
>>>
>>
>>
>> _______
>> 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
>
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] Discord server for Factor

2020-12-05 Thread Zoltán Kéri via Factor-talk
Hello. If any of you use Discord, you are free to join my Factor Discord 
server. If there already is one, let me know. Invite link: 
https://discord.gg/BcKCjqPr7e___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Introducing myself.

2020-12-05 Thread Gordon Charlton
Thank you for the lovely welcome. I hope you enjoy playing with Quackery. I've 
had a lot of pleasure putting it together over the last two years.

I don't think I'll be a frequent contributor to factor-talk - learning About 
Factor is on my to-do list, but at the moment I've been browsing the list 
archives and it's all just whooshing right over my head.

I do, however, hope to be a regular contributor to concatenative.org - in the 
New Year. The Quackery Crew are looking for an increased online presence for 
Quackery in wiki form, and it looks like the perfect place to give them a team 
project to work on. (This is me giving you an opportunity to let me know if 
that wouldn't be appropriate, btw.)

The good news in that respect is that I found the wiki sandpit - so I won't be 
cluttering up the "recent edits" with a dozen "fixed typo's" in future. Sorry 
about that. 

Bests, Gordon

> On 5 Dec 2020, at 02:46, John Benediktsson  wrote:
> 
> Hi Gordon,
> 
> Welcome!  I read your wiki page and bookmarked Quackery to play with later. 
> Looks neat!
> 
> Thanks for sharing!
> 
> Best,
> John.
> 
>> On Dec 4, 2020, at 6:40 PM, Gordon Charlton  
>> wrote:
>> 
>> 
>> Hi, 
>> 
>> I just added a page to concatenative.org so I figure it would be polite to 
>> introduce myself here. (I'm new to this editing wikis thing and don't want 
>> to inadvertently step on toes).
>> 
>> So, Hi! I'm Gordon, and this is the page I added. I hope that's OK. :-)
>> 
>> https://concatenative.org/wiki/view/Quackery
>> 
>> Gordon Charlton
>> (More than you ever needed or wanted to know about me, here...
>>  https://www.facebook.com/gordon.charlton/ )
>> _______
>> 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] Introducing myself.

2020-12-04 Thread John Benediktsson
Hi Gordon,

Welcome!  I read your wiki page and bookmarked Quackery to play with later. 
Looks neat!

Thanks for sharing!

Best,
John.

> On Dec 4, 2020, at 6:40 PM, Gordon Charlton  wrote:
> 
> 
> Hi, 
> 
> I just added a page to concatenative.org so I figure it would be polite to 
> introduce myself here. (I'm new to this editing wikis thing and don't want to 
> inadvertently step on toes).
> 
> So, Hi! I'm Gordon, and this is the page I added. I hope that's OK. :-)
> 
> https://concatenative.org/wiki/view/Quackery
> 
> Gordon Charlton
> (More than you ever needed or wanted to know about me, here...
>  https://www.facebook.com/gordon.charlton/ )
> _______
> 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] Introducing myself.

2020-12-04 Thread Gordon Charlton
Hi,

I just added a page to concatenative.org so I figure it would be polite to
introduce myself here. (I'm new to this editing wikis thing and don't want
to inadvertently step on toes).

So, Hi! I'm Gordon, and this is the page I added. I hope that's OK. :-)

https://concatenative.org/wiki/view/Quackery

Gordon Charlton
(More than you ever needed or wanted to know about me, here...
 https://www.facebook.com/gordon.charlton/ )
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Should we default to main?

2020-12-04 Thread John Benediktsson
I’ve always been excited to release 0.99 and then either 0.100 or 0.999
depending on my mood. :-)

We have various improvements under way, and would love some contributions
if anyone has interest and time. It’s unclear how long they will all take.

Some examples:

- ARM support
- Cross compilation
- Lexer improvements which enables some better syntax and cross-platform
parsing
- Native integer types
- Better concurrency primitives
- Higher level cleave/spread/apply syntax to improve readability
- Multiple dispatch
- Library improvements like HTTP/2 support

But as with any open source, much of this is driven by the interests and
needs of contributors and users.

Feel free to post additional ideas that you’d like to see and we can add it
to the list.

Best,
John.




On Fri, Dec 4, 2020 at 7:40 AM Dave Carlton  wrote:

> Speaking of which, what is the defintion of Factor 1.0?
>
> Would be nice to get us to that milestone.
> —
> Dave Carlton
> da...@polymicro.net
>
>
>
>
> On Dec 4, 2020, at 09:06, John Benediktsson  wrote:
>
> This whole thing is funny. Let’s postpone a discussion until after we have
> Factor working on ARM. :-)
>
>
> On Dec 4, 2020, at 6:24 AM, sf.alexi...@spamgourmet.com wrote:
>
> 
> If I were to become a master of computer science or a master in a craft,
> that would mean I've mastered it.
>
> It doesn't mean someone got enslaved in the process.
>
>
>
> ‐‐‐ Original Message ‐‐‐
> On Friday, December 4, 2020 3:21 PM, Alexander Ilin <
> alex.i...@protonmail.com> wrote:
>
> Right. I'm a master of philosophy, but I don't want to be main of
> philosophy.
>
>
>
> ‐‐‐ Original Message ‐‐‐
> On Friday, December 4, 2020 8:34 AM, SJain via Factor-talk -
> factor-talk@lists.sourceforge.net <
> sf.alexilin.f5f5b45d28.factor-talk#lists.sourceforge@ob.0sg.net>
> wrote:
>
> IMHO, master is such an honourable word. Ex. Master of a school or
> college, Headmaster is quite common in UK.
>
> SJain
>
> On 3 December 2020 3:56:01 AM IST, Benjamin Pollack <
> benja...@bitquabit.com> wrote:
>
>> On Wed, Dec 2, 2020, at 16:56, Dave Carlton wrote:
>>
>> I'm getting cranky in my old age. Aplogies.
>>
>> Just don't have time for PC.
>>
>>
>> Well, the good news is we thankfully run just fine on Mac, and there's
>> ongoing work to add ARM support so you could use a tablet or Android phone
>> instead.
>>
>
>
> _______
> 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] Should we default to main?

2020-12-04 Thread Dave Carlton
Speaking of which, what is the defintion of Factor 1.0? 

Would be nice to get us to that milestone.
—
Dave Carlton
da...@polymicro.net




> On Dec 4, 2020, at 09:06, John Benediktsson  wrote:
> 
> This whole thing is funny. Let’s postpone a discussion until after we have 
> Factor working on ARM. :-)
> 
> 
>> On Dec 4, 2020, at 6:24 AM, sf.alexi...@spamgourmet.com wrote:
>> 
>> 
>> If I were to become a master of computer science or a master in a craft, 
>> that would mean I've mastered it.
>> 
>> It doesn't mean someone got enslaved in the process.
>> 
>> 
>> 
>> ‐‐‐ Original Message ‐‐‐
>> On Friday, December 4, 2020 3:21 PM, Alexander Ilin 
>>  wrote:
>> 
>>> Right. I'm a master of philosophy, but I don't want to be main of 
>>> philosophy.
>>> 
>>> 
>>> 
>>> ‐‐‐ Original Message ‐‐‐
>>> On Friday, December 4, 2020 8:34 AM, SJain via Factor-talk - 
>>> factor-talk@lists.sourceforge.net 
>>>  wrote:
>>> 
>>>> IMHO, master is such an honourable word. Ex. Master of a school or 
>>>> college, Headmaster is quite common in UK.
>>>> 
>>>> SJain
>>>> 
>>>> On 3 December 2020 3:56:01 AM IST, Benjamin Pollack 
>>>>  wrote:
>>>> On Wed, Dec 2, 2020, at 16:56, Dave Carlton wrote:
>>>>> I'm getting cranky in my old age. Aplogies. 
>>>>> 
>>>>> Just don't have time for PC.
>>>> 
>>>> Well, the good news is we thankfully run just fine on Mac, and there's 
>>>> ongoing work to add ARM support so you could use a tablet or Android phone 
>>>> instead.
>>> 
>> 
>> ___________
>> 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] Should we default to main?

2020-12-04 Thread John Benediktsson
This whole thing is funny. Let’s postpone a discussion until after we have 
Factor working on ARM. :-)


> On Dec 4, 2020, at 6:24 AM, sf.alexi...@spamgourmet.com wrote:
> 
> 
> If I were to become a master of computer science or a master in a craft, that 
> would mean I've mastered it.
> 
> It doesn't mean someone got enslaved in the process.
> 
> 
> 
> ‐‐‐ Original Message ‐‐‐
>> On Friday, December 4, 2020 3:21 PM, Alexander Ilin 
>>  wrote:
>> 
>> Right. I'm a master of philosophy, but I don't want to be main of philosophy.
>> 
>> 
>> 
>> ‐‐‐ Original Message ‐‐‐‐‐‐‐
>>> On Friday, December 4, 2020 8:34 AM, SJain via Factor-talk - 
>>> factor-talk@lists.sourceforge.net 
>>>  wrote:
>>> 
>>> IMHO, master is such an honourable word. Ex. Master of a school or college, 
>>> Headmaster is quite common in UK.
>>> 
>>> SJain
>>> 
>>>> On 3 December 2020 3:56:01 AM IST, Benjamin Pollack 
>>>>  wrote:
>>>>> On Wed, Dec 2, 2020, at 16:56, Dave Carlton wrote:
>>>>> I'm getting cranky in my old age. Aplogies. 
>>>>> 
>>>>> Just don't have time for PC.
>>>> 
>>>> Well, the good news is we thankfully run just fine on Mac, and there's 
>>>> ongoing work to add ARM support so you could use a tablet or Android phone 
>>>> instead.
>> 
> 
> ___
> 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] Should we default to main?

2020-12-04 Thread sf . alexilin
If I were to become a master of computer science or a master in a craft, that 
would mean I've mastered it.

It doesn't mean someone got enslaved in the process.

‐‐‐ Original Message ‐‐‐
On Friday, December 4, 2020 3:21 PM, Alexander Ilin  
wrote:

> Right. I'm a master of philosophy, but I don't want to be main of philosophy.
>
> ‐‐‐ Original Message ‐‐‐
> On Friday, December 4, 2020 8:34 AM, SJain via Factor-talk - 
> factor-talk@lists.sourceforge.net 
>  wrote:
>
>> IMHO, master is such an honourable word. Ex. Master of a school or college, 
>> Headmaster is quite common in UK.
>>
>> SJain
>>
>> On 3 December 2020 3:56:01 AM IST, Benjamin Pollack  
>> wrote:
>>
>>> On Wed, Dec 2, 2020, at 16:56, Dave Carlton wrote:
>>>
>>>> I'm getting cranky in my old age. Aplogies.
>>>>
>>>> Just don't have time for PC.
>>>
>>> Well, the good news is we thankfully run just fine on Mac, and there's 
>>> ongoing work to add ARM support so you could use a tablet or Android phone 
>>> instead.___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Should we default to main?

2020-12-04 Thread sf . alexilin
Right. I'm a master of philosophy, but I don't want to be main of philosophy.

‐‐‐ Original Message ‐‐‐
On Friday, December 4, 2020 8:34 AM, SJain via Factor-talk - 
factor-talk@lists.sourceforge.net 
 wrote:

> IMHO, master is such an honourable word. Ex. Master of a school or college, 
> Headmaster is quite common in UK.
>
> SJain
>
> On 3 December 2020 3:56:01 AM IST, Benjamin Pollack  
> wrote:
>
>> On Wed, Dec 2, 2020, at 16:56, Dave Carlton wrote:
>>
>>> I'm getting cranky in my old age. Aplogies.
>>>
>>> Just don't have time for PC.
>>
>> Well, the good news is we thankfully run just fine on Mac, and there's 
>> ongoing work to add ARM support so you could use a tablet or Android phone 
>> instead.___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] font size in help browser

2020-12-03 Thread support
On Fri, Nov 27, 2020 at 7:52 PM John Benediktsson  wrote:

> The easiest way, I suppose, to change all the font sizes is to increase
> this constant, and then refresh help.stylesheet, and restart:
>
> https://docs.factorcode.org/content/word-default-font-size,fonts.html
>
> We have a patch to make this a bit easier, but currently several of our
> libraries like the help system start by basing their font sizes on that
> default value.  I’d like that to hit master soon.
>
> You can also Ctrl +/- in the help browser to change font sizes.
>
>
The Crtl +/- thing doesn't appear to work for me either in windows nor linux


> Best,
> John.
>
> On Nov 27, 2020, at 7:48 PM, support  wrote:
>
> 
> Hi everyone.
>
> I was wondering how would I change the font size in the help browser and
> generally the IDE under Windows.
>
> I don't really want to have to change the font size in all the other
> unrelated windows.
>
> TIA,
> -Kevin
> ___
> 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] Should we default to main?

2020-12-02 Thread Benjamin Pollack
On Wed, Dec 2, 2020, at 16:56, Dave Carlton wrote:
> I'm getting cranky in my old age. Aplogies. 
> 
> Just don't have time for PC.

Well, the good news is we thankfully run just fine on Mac, and there's ongoing 
work to add ARM support so you could use a tablet or Android phone instead._______
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Should we default to main?

2020-12-02 Thread Dave Carlton
I'm getting cranky in my old age. Aplogies. 

Just don't have time for PC.
—
Dave Carlton
da...@polymicro.net <mailto:da...@polymicro.net>




> On Dec 2, 2020, at 14:56, John Benediktsson  <mailto:mrj...@gmail.com>> wrote:
> 
> Hi Dave,
> 
> I really don't disagree with you that much, however there is likely going to 
> be an increasing shift to main over the next few years, here's some 
> background by GitHub on the topic:
> 
> https://github.com/github/renaming <https://github.com/github/renaming>
> 
> And some information about the change to support init.defaultBranch in git 
> 2.28:
> 
> https://github.blog/2020-07-27-highlights-from-git-2-28/ 
> <https://github.blog/2020-07-27-highlights-from-git-2-28/>
> 
> There is no need to rush into a rename... If anyone feels strongly, we can 
> even delay it or discuss it further.  Ideally, it won't impact anyone except 
> the core developers since we can maintain a master branch that mirrors main 
> (rather than the other way around) if we commit to the rename at some point.  
> In addition, "fixing" other language uses like whitelist/blacklist to 
> allowlist/blocklist is pretty much a resolved topic for most projects, 
> whether they've had direct feedback about offensive language or not.
> 
> I wonder when it's not going to be PC to refer to algorithms like STONITH.
> 
> Best,
> John.
> 
> 
> 
> 
> 
> On Wed, Dec 2, 2020 at 12:38 PM Dave Carlton  <mailto:da...@polymicro.net>> wrote:
> I see no reason to change existing project to use this stupid convention. If 
> you want to use main for new projects, fine, but why take time and effort to 
> fit into a new PC paradyme is asinine. Whats this world ocming to? 
> master/slave, master/client in context of CS in no way reflects upon slavery 
> in the south IMHO. Put on your big guy shorts or big girl panties as the case 
> may be and get on with your life, its too short for this kind of PC shite.
> 
> 
> —
> Dave Carlton
> da...@polymicro.net <mailto:da...@polymicro.net>
> 
> 
> 
> 
>> On Dec 2, 2020, at 10:30, Zoltán Kéri via Factor-talk 
>> > <mailto:factor-talk@lists.sourceforge.net>> wrote:
>> 
>> Dear Lord, I am so sorry that this is a thing today. The main reason for the 
>> change is the word's ties to slavery, except the term within this context 
>> has absolutely nothing to do with slavery. It is a bullshit move from 
>> whoever keeps pushing it, they have zero context-awareness. Welp.
>> 
>> ‐‐‐ Original Message ‐‐‐
>> On Wednesday, December 2, 2020 4:53 PM, Benjamin Pollack 
>> mailto:benja...@bitquabit.com>> wrote:
>> 
>>> I noticed that we've got both main and master branches at this point. 
>>> Should I be pushing to main or to master? Do we have a workflow, or we're 
>>> just keeping them in sync for now?
>>> 
>>> Factor-talk mailing list
>>> Factor-talk@lists.sourceforge.net <mailto:Factor-talk@lists.sourceforge.net>
>>> https://lists.sourceforge.net/lists/listinfo/factor-talk 
>>> <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 
>> <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 
> <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


  1   2   3   4   5   6   7   8   9   10   >