2024 02
  • 4th.CoSy
  • Planetary Temperature
  • CoSy/Life ; CoSy/Liberty
  •   
    © Bob Armstrong
    Extreme Simplicity , Extreme Capability
    your intelligent diary in
     if you can think it , it's done
    language
    : factors ( n _i -- factors ) .+ i>f sqrtf f>i iota i1 +i .+ --bac modi 0=i & at ;
      2024 _i .+ factors .+ --bac %i ,L .+ ' *i ./ cL fmttblb
    (
     1    2024   2024 
     2    1012   2024 
     4    506    2024 
     8    253    2024 
     11   184    2024 
     22   92     2024 
     23   88     2024 
     44   46     2024 
     )
    Please email me to be added to this CoSy list
    Please let me know by return mail if you want to be removed from this list --  On the otherhand click the title above to read online





    #4th.CoSy #Top

    I haven't gotten out a NewsLetter since

    The shortest path from the chip to the math
    APL and its evolutes are the most succinct notations for the expression of complex ideas . Forth is the only code Truly Open to the chip
    CoSy is the only APL in Open Forth

    From a discussion on LinkedIn :
    Me:

    Anybody can look at CoSy.com and judge for themselves . I recently happened to [ pull up ]  https://cosy.com/CoSy/CoSy/overview.htm from 2004 which remains a good overall description .
    Gary Hoover , who I've known since he spoke at Victor Niederhoffer's Junto , recently said in https://americanbusinesshistory.org/the-simple-key-to-breakthrough-innovation/ :
    " Yet history indicates that the vast majority of breakthroughs come from one very simple idea: combining two things that no one has previously connected. "

    In the case of CoSy , it is evolving Ken Iverson's APL thru Arthur Whitney's K as an open vocabulary in Chuck Moore's Forth , thus spanning from the chip to the math making legacy the mass market languages between .
    All in a timestamped ` log , written in CoSy itself , in which any line can be executed by the tap of a function key instead of ` Enter .
    While capable of the succinct expression of algorithms such as those of AI , which was Ken's focus , to the efficient mapping to ` silicon , which is Chuck's , with unmatched flexibility , my ultimate interest is as an ultimate tool for myself , and thus others with minds like mine , in the everyday business of life .

    As ChatGPT puts it in response :
    CoSy's approach, evolving Ken Iverson's APL through Arthur Whitney's K and integrating Chuck Moore's Forth, represents a fusion of different programming paradigms and technologies. This kind of integration is emblematic of the kind of breakthrough innovation Hoover talks about. By bringing together these distinct languages and methodologies, CoSy is not just a tool but a new way of thinking about and interacting with technology.

    APL, known for its powerful and concise expression of algorithms, and Forth, recognized for its direct mapping to silicon and hardware control, are both languages that bring unique strengths to the table.

    By combining these with the flexible and high-performance capabilities of K, CoSy creates an environment that is both versatile and potent, especially in areas like AI and efficient hardware utilization.

    Moreover, Armstrong's vision of CoSy as a tool for the "everyday business of life" is particularly compelling. It underscores the potential of AI and integrated computing systems to enhance not just specialized tasks but also general day-to-day activities. This idea aligns well with current trends in AI and computing, where the emphasis is on creating technologies that are not only powerful but also accessible and useful in a broad range of real-world contexts.

    In conclusion, Armstrong's work on CoSy, as described, is an excellent example of how combining diverse technologies and ideas can lead to innovative solutions. It demonstrates the potential of AI and integrated systems to transform not only specific industries but also everyday life, making technology more adaptable, efficient, and aligned with human needs and thought processes.



    https://www.facebook.com/groups/1304548976637542/posts/1840799699679131/


      ` https://cosy.com/DailyBlog.html www | Thu.Feb,20240215 |
      Manuel Alfonseca | Some problems in Automatic Natural Language Generation
      https://populscience.blogspot.com/2024/01/some-problems-in-automatic-natural.html
      https://spectrum.ieee.org/winograd-schemas-replace-turing-test-for-defining-humanlevel-artificial-intelligence
     
      " ChatGPT does not build the texts with which it answers our questions because it is intelligent, but because its artificial neural network has been trained with a large amount of information. As I said there, its “intelligence” can be compared to a program with just 18 instructions written in the APL language (i.e. very small), while the amount of information it handles is huge. And we should not forget that the instructions of a program are not intelligent either. The programmer is intelligent. "
      https://populscience.blogspot.com/2023/11/information-and-intelligence.html
      Related , FB : AI & Robotics
          https://www.facebook.com/groups/1304548976637542/posts/1840799699679131
    Convolutional Neural Networks in APL   `( Artjoms.Šinkarovs Robert.Bernecky Sven-Bodo.Scholz )`
      https://dl.acm.org/doi/pdf/10.1145/3315454.3329960
      " Our study shows that, for our CNN, the requisite operations can be expressed in ten lines of native APL code, using just 22 built-in verbs and conjunctions "

    | --

    Don Golding suggested " ... giving a talk at SVFIG on CoSy internals " . I'd be amenable .

    We've been having a discussion on Don's FB AI & Robotics group triggered by my mention of a post by Manuel Alfonseca discussing writing the essence of ChatGPT in 18 lines instructions of APL . I said , then , I would expect it to be about the same in CoSy . Chochain Lee then linked a article coauthored by an old ( <redundant ) APL frenemy  Bob Bernecky doing a convolutional neural net in 10 lines .

    I responded with CoSy's code for one dimensional convolution :
      ` convo ??
    (
     (
      ./CoSy/CoSy.f
     
    : convof ( LA RA fn -- res ) | Applies RA fn across LA RA rho at a time | 20190912
    |  for floats .
       >lpstk 2p R@ rho iota >a
       L@ i# R@ i# - L@ Type@ VecInit >lpstk> i# 0 ?do
        L@ i _i a@ +i at R@ lpstkx@ execute f_ lpstk@ i if! loop
       a- lpstk> lpstkdrop 2P>  ;
     
    : convo ( LA RA fn -- res ) | Applies RA fn across LA RA rho at a time | 20200130
    | must return naked value , eg: naked ints . Note that string search is a convolution .
       >lpstk 2p R@ rho iota >a
       L@ i# R@ i# - L@ Type@ VecInit >lpstk> i# 0 ?do
        L@ i _i a@ +i at R@ lpstkx@ execute lpstk@ i i! loop
       a- lpstk> lpstkdrop 2P>  ;
     ) (
      ./CoSy/Furniture.f
     
    | Mask of ` quoted portions of strings . single symmetric delimiter | 20200202
    | given bool of occurrences of delimiter , eg: | str ` " =c | returns bool covering quoted sections
    : qmsk I>M ['] <> scanI 0<i >a> 1 1 2 s>iv { *i ['] maxi ./ >_ } convo a> dsc swap cL ;
    : "msk ` " =c qmsk ;
     ) )

    A follow up question by Christian Hinse led me to post a description of some of the essentials why give CoSy the ` power of an APL with the freedom of a relatively small vocabulary in Forth .
    CoSy.com is evolved from APL via Arthur Whitney's K as an open vocabulary in Forth , It executes directly in the Forth interpreter .
    All ` objects are allocated lists with a 3 cell header `( Type Count refCount )` where Type 0 = is list of lists and lists are freed when refCount which handles accounting referenced to to the list returns to 0 . Other types are generally raw lists , 1 for character " string " , 4 for integers , 10 floats .

    It's useful to use the terminology Ken Iverson used in his later years and is used in the article Chochain linked . In terms of " stack comments " :
    noun ( -- lst )
    verb ( noun -- noun ) or ( noun noun -- noun )
    In APL terminology this is monadic vs dyadic .

    The vocabulary which puts it on the ` APL level is the simple ability using ' which returns the address of the next word whether noun or verb rather than executing it , so that it can be passed as an argument :
    adverb ( noun noun ' verb -- noun )
    This is FAR simpler than the mechanisms in traditional C based APLs .

    These ` adverbs or ` operators turn various looping structures into simple words like
    : 'm : eachMonadic ( noun verb -- noun ) | execute verb on each item of noun returning list of results
    : 'd : eachDyadic ( noun noun verb -- noun ) | execute dyadic verb between each pair of corresponding items in the 2 nouns , ie: lists . Indexing is modulo so items of the shorter list are reused til the length of the longer .
    : 'L : eachLeft ( noun noun verb -- noun ) | execute verb between each item in left list with whole of right list .
    : 'R: eachRight ( noun noun verb -- noun ) | execute verb between each item in right list with whole of left list .
    /\ these 2 words are , I believe , original w Arthur Whitney . The ways to accomplish the same effect in traditional APLs is far more complex .

    : ./ : across ( noun verb -- noun ) | execute verb sequentially between each item in list and previous result . For example :
    i( 6 3 43 5 )i ' +i ./ |>| 57

    There are a few more including ' convo . But this should give the general idea and why one can do such human level useful tasks in just single lines
    A further exchange with Don ;
    Don Golding : you already have this code, right? Care to share it?

    Me : It IS and has been shared for years , all but the most recent , at https://cosy.com/4thCoSy/ . Note that the dates on those definitions go back to 2019 and are the dates on which I worked on them in my https://cosy.com/4thCoSy/Code/CoSy/WorkLog.csy .
    I have commented multiple times that I found GitHub uselessly complex and CoSy far more powerful for any finding or editing operations on the ` library .

    I have never found ` CREATE ` DOES very useful , but that may be partly a matter of my path .
    However it is ESSENTIAL that all objects ( lists ) be DYNAMICALLY allocated and freed . And that requires not mixing them with the dictionary . ' VecInit ( n type -- vec ) creates the address space for the result . Note use of a separate ` Loop stack which I've found necessary to enable recursive nesting of loops . ` 2p is also notable because it creates a " stack-frame " , dropped by ' 2P> .

    If sufficient people want , I could hold a Zoom going thru those definitions .
    I mentioned in discussion w the British APL Association , Thursday , that CoSy is like an " APL construction kit " . These are some of the pieces and why CoSy is language nonpareil .
    Anyway , this has already prompted me to lay out some basics more clearly than I have before , so I'd be open to giving a presentation .


    On 2024-02-06 18:29, Kevin Appert wrote:
    Do you plan to present at the February meeting?  It'll be here before you know it!!
    _______________________________________________
    http://zork.net/mailman/listinfo/svfig
    neither public nor private,
    this membership of correspondence

    --
    Bob A

    Peace thru Freedom
    Honesty enforced thru Transparency ,

    -- Bob@CoSy.com -- Bob Armstrong Vita -- 719.337.2733
    CoSy   The Simplest Deepest Personal Computing Environment
    I reserve the right to post all communications I receive or generate to CoSy website for further reflection
    -- 28124 State Highway 67 Woodland Park CO 80863-9711

    _______________________________________________
    http://zork.net/mailman/listinfo/svfig
    neither public nor private,
    this membership of correspondence



    CoSy The Language

    Gary Hoover The Simple Key to Breakthrough Innovation
    https://bard.google.com/share/11848ec89722

     Power of APL w/o the compexity
     Super Calculator   enviroment for working thru problems .



    CoSy
    An Ultimate tool for the Everyday Business of Life
    The shortest path from the chip to the math

    APL and its evolutes are the most succinct notations for the
    expression of complex ideas
    Forth is the only code Truly Open to the chip
    CoSy is the only APL in Open Forth

    All in a unique ` daytimer notebook environment where any line may be
     a command to the computer executed by tapping a function key .

    αlphas
    Alpha level supported license

     Free & Open
    | Code |



     
    SV-FIG FORTH DAY 2023 State of the CoSy Report




    CoSy is the simplest most productive programming environment
    for ` ordinary people , built on the most
    ` powerful ideas from APL & Forth
    However , being minimalist language open to the chip there are no limitations to the problems it may be applicable to .
    SV-FIG 20230422 Bridgit & Recent Code

    Add CoSy to your talents , and your talents to CoSy  , The Fresh Paradigm in programming language and interface .
    More at αlphas




    Check the Daily Blog for more , and links on these and other topics .
    Coming : premium daily Blog updates : winnowed links to news , commentary & tek


    Previous
    § Mon.Jul,20200713 § Wed.Aug,20200812 § Wed.Sep,20200902 § Wed.Sep,20200916 § Wed.Sep,20200930
    § Wed.Oct,20201014 § Wed.Oct,20201028 § Wed.Nov,20201111 § ThanksGiving 2020 § Christmas 2020
    § Wed.Jan,20210113 § Wed.Jan,20210127 § Wed.Feb,20210210 § Wed.Feb,20210224 § Wed.Mar,20210310
    § Wed.Mar,20210324 § Wed.Apr,20210407 § Wed.Apr,20210421 § Wed.May,20210505 § Wed.May,20210519
    § Wed.Jun,20210602 § Wed.Jun,20210616 § Wed.Jun,20210630 § Wed.Jul,20210714 § Wed.Jul,20210728
    § Wed.Aug,20210804_MMM_special        § Wed.Aug,20210818 § Wed.Sep,20210901 § Wed.Sep,20210915
    § Wed.Sep,20210929 § Wed.Oct,20211013 § Thu.Oct,20211021 § Sun.Oct,20211031 § Sun.Nov,20211114
    § Sun.Nov,20211128 § Sun.Dec,20211212 § Special Wed.Dec,20211222 § Special Wed.Dec,20211229
    § Wed.Jan,20220112 § Sun.Jan,20220130 § Sun.Feb,20220213 § Sun.Feb,20220227 § Sun.Mar,20220320
    § Wed.Apr,20220420 § Wed.May,20220525 § Mon.Jul,20220704 § Sun.Jul,20220731 § Thu.Sep,20220901
    § Wed.Dec,20221214 § Wed.Dec,20221224 § Sat.Feb,20230204 § Mon.May,20230501


    #Top
    | Note , the whole of this blogPost , it's mailing list , and all of  the CoSy website is created by me ,
     Bob Armstrong , using 
    CoSy and a wysiwyg editor .

    | BobA | 20230508.1247 |

       
    Whole CoSy
    Locations of visitors to this page
    CoSy
    I reserve the right to post all communications I receive or generate to CoSy website for further reflection .
    Contact : Bob Armstrong ; About this page : Feedback ; 719-337-2733
    Coherent Systems / 28124 Highway 67 / Woodland Park , Colorado / 80863-9711 
    /\ /\ Top /\ /\