BlogPost
Wed.May,20210505


  • 4th.CoSy
  • Planetary Temperature
  • CoSy/Life ; CoSy/Liberty
  •  FaceBook  ; YouTube ;
  • Parler
  • © Bob Armstrong
    CoSy is the only APL in Open to the chip Forth
    For anything from the everyday business of life to modeling the planet
    Please let me know by return mail if you want to be removed from this list
    #4th.CoSy  #PlanetaryTemperature  #misc | >  #discussion < please comment here |
    email to be added


     Tim Scott , Voice of Unity & Reason

    Strong contender to be 2nd elected Afro President

    The Battle Lines between the Rational Individual
    &
    The Intellectually and Morally Criminally Corrupt State
    have never been more sharply drawn
    | BobA | 20210503.1239 |


    Midterm goal :  Sovereign CoSy Webspaces
    A personal secure directory , programmable by you ( with the CoSy community available to trade code & insights ) in CoSy the language .
    I
    ncluding a Website , with email , capable of video , with CoSy available like eg: PHP as a resource .

    Recent interactions have made me realize the potential for a

    CoSy Box , initially Wintel minibox w CoSy  preloaded & configured , and a wireless keyboard . It's assumed one has a WiFi or HDMI connected screen .
    This harkens back to the original
    APL CoSy in the mid `80s which were generally sold bundled on a KayPro 2000 laptop . There are lots of advantages to having a known platform .

    Short term : Other heads into CoSy , a fresh & most powerful paradigm in personal computer interaction .
    • A task to align those heads . ( We may have that . )

    #4th.CoSy #Top

    The great insight and band-aid from Apollo 11 has reduced the continuing work to understand the structure and exception handling in Reva Forth into a lessor irritation versus \/ .
    I think one Saturday afternoon working with someone who knows web interfacing ( does it boil down to get and put
    thru a socket ? ) would accomplish a lot ,  I really want to get the interface off of IUP so I only have to deal with my own bugs , and am on the fast path to offering
    CoSy as a web service .


    The shortest path from the chip to the math



    Tadpole Slamp in   FORTH PROGRAMMING LANGUAGE 21st CENTURY

    Alright... time to get to something I should have gotten to a long time ago.  I'm not a forth programmer, but I have real reasons to believe it is my favorite language (although, check out rebol, a new language inspired by forth logo and scheme has GOT to be good!!).  I've got a very fundamental question, that could be interpreted as an insult but it's not.  Stacks. Is the use of the stack in forth a beloved anachronism, like cdr in scheme, or r stacks extremely useful/arguably the best data structure/memory scheme EVER, or something in between?  If not sentiment based, is there a text that shows why/how stacks rock?  A stack oriented into to forth or something?!?!
    | --
    ...
    | --

    Bob Armstrong
    Stacks are minimal -- and essentially functional .

    But to get to the useful human level the items on the stacks must generally be addresses of typed objects , of which , again , the minimal most generic is simply lists with the count of their items in the header .

    The header of a CoSy list is simply `( Type Count RefCount )` where `( ... )` returns a list of the words .
    (
    Type
    Count
    RefCount
    )

    `( Type Count RefCount )` DMP
    00D8AED0 00 00 00 00 03 00 00 00 00 00 20 00 00 00 00 00 .......... .....
    00D8AEE0 F0 7A D3 00 C8 04 D0 00 80 06 D0 00 00 00 00 00 .z..............


    Type 0 is a list of lists .

    CoSy in open Forth is more than anything else , far more ` flexible than a traditional APL , the simplicity of it's natural RPN syntax , more pleasant , dissectible and understandable .
    I'm finding the interplay between the stack and lists an unexpected synergy .
    | --

    Rod Newstrom > Bob Armstrong
    in Forth the type is implicit to the operator rather than explicit to the data. This is both a strength and a weakness iMHO.
    | --

    Bob Armstrong > Rod Newstrom
    Thus it is IMPOSSIBLE to have any ` genericity in verbs . And thus one is glued to simple chip level operations and algorithms .
    On can never possible compete with a Python much less an APL .
    That's why we see Dr Ting , for instance , using Python to do his genome analysis . My aim is to see people implement the nub of the CoSy vocabulary in the Forth of their choice leapfrogging Python .

    Ilya V. Vasilyev > Rod Newstrom
    , I haven’t. But if I am about to include registers in my CPU, at least half of them can be implemented as memory on fixed locations from the stack frame register. There are precedents. PDP-11 allowed to use any register as base or offset pointer. EBP register is flexible enough on Intel x86 architecture.
    Hardware implementation can use fast on chip memory for stack and stack frames, but locals can be implemented by software only as well.
    |--

    Bob Armstrong
    Ilya's comment on registers and this conversation makes me think of having `( Type Count refCount )` registers which are loaded in parallel with the address of the list on the stack .
    | --

    Neal Orr > Bob Armstrong
    Use <BUILDS DOES> (or CREATE DOES> ) to compile list header and data into a new named word that always uses it properly. The header may be Count, the address is built-in to the word.
    Do you have a copy of Starting Forth? It's free. It let me do in 1983 what C++ let me do in 93... more places paid for C++.
    Non-global variables are best be contained in an object with the words that use them. It is easy to make state machine objects in forth.
    Look for Download PDF, https://www.forth.com/starting-forth/
    | --

    Bob Armstrong > Neal Orr
    With all due respect , you are TOTALLY missing the wall which must be scaled between the laying out of a static dictionary in a single address space and the plateau of dynamic allocated address spaces , ie: objects , underlying an APL level language .

    The vocabulary you cite would be useful if the words took the base address of the allocated address space as a parameter rather than assuming ' here . In any case those sorts of fundamentals are at the very early vocabulary at the machine level of CoSy .

    I can't think of a good introduction to APL , and much of it becomes excessively complex . You can get a sense of the level of the vocabulary from http://www.cosy.com/K/html/kref.pdf .

    When I say " leapfrog Python " I mean it . And by implication of course C++ or any other such traditional language . ( Incidentally , you might find this email exchange with Bjarne of interest : http://www.cosy.com/language/bjarne.htm )

    Trying to think of an example . CoSy is about

      ec Words # |>| 942 | words in Reva Forth .

    Here are those header words :

      `( Type Count refCount )` >t0> # |>| 3

      t0 ' # 'm |>|
    (
    4
    5
    8
    )
      R0 ,/ |>| 4 5 8
      R0 +/ |>| 17

    ' R0
    always contains the result of the last computation .
    Probably in those few lines a dozen lists were created and freed .
    Compare the s" Hello World " in CoSy vs Python at http://www.cosy.com/CoSy/#Videos .
    Now let me see you duplicate the CoSy demo in raw Forth .


    I'm planning on ` shooting a new s" Hello World " this weekend with
    some of the lessons learned since the current one .



    #PlanetaryTemperature #Top

    CO2 , What Plants are Made of
    So so are You



    An exchange worth reading -- too long to include inline .

    EM <> Leif Asbrink , cc: Will Happer
     Re: Particles moving "up" in a gravitational field
    Correction needed at cosy.com!

    While I fully agree with your point that the three images you show should tell any sensible person ...

    ... it's the classical method of quantitative analytical physics :

    Understand the geometrically simple
    in simple but absolute quantitative relationships

    Subject:     Re: Particles moving "up" in a gravitational field
    Date:         Fri, 30 Apr 2021 17:47:36 +0000
    From:         William Happer <happer@princeton.edu>
    To:     Bob Armstrong <bob@cosy.com>, Leif Asbrink <leif@sm5bsz.com>

    Dear Bob,

    Thanks for the copy of this interesting correspondence.

    Best wishes,

    Will
    Much appreciated .






    See additional accreted comments in http://cosy.com/y21/Blog.html .


    #misc #Top
       Masks aren't ` Patriotic ,     They aren't ` Virtue signaling ,
    they are ` Submission signaling





    Ken Buck : Shootin' Straight Podcast interesting interviews with liberty minded voices
    | --
     Scroll thru  http://cosy.com/y21/blog.csy if up in CoSy , or just the text :  http://cosy.com/y21/Blog.txt or , now ,  the HTML ,  http://cosy.com/y21/Blog.html for quite a bit more.  Note , the HTML copy of the Blog is a continuing experiment in minimal HTML . Look at the source and you will see it doesn't even have a header . I currently have 6 lines in the http://cosy.com/y21/blog.csy ` state script to insert the anchors on the day lines . Next thing I'm thinking of adding a line to wake up all the  http: links .

    `nuff for now . 
    Zoom by request ( ask to see a run-thru of the image encoding )

    BobA | 20210505.2149 |



      I offer CoSy as a personal service , with a retainer/subscription . But , of course any serious potential client/partner must find CoSy understandable and usable as is . Thus a free intro Zoom to work thru any issues of getting CoSy up on your machine and assist you working thru some of the basics and discuss future priorities .

    On the other hand , If you just appreciate this blog , the PayPal button is below .
     

     
    Join the development discussion Inclusion or simply to support this most powerful language
    Access to Member simple open email list , cc not bcc . + Members archive directory

      CoSy is arguably the Simplest and Hardest programming language 
    Ask Me Anything

    There apparently have been some problems with posting . Please let me know by email if you have any

    Please post comments
    here on the Disqus below so they can be seen and discussed by all
    unless they are of a very private nature .

    Disqus allowed HTML
    comments powered by Disqus


    --

       
    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 /\ /\