Sun.Feb,20220213
  • 4th.CoSy
  • Planetary Temperature
  • CoSy/Life ; CoSy/Liberty
  • © Bob Armstrong
    Extreme Simplicity , Extreme Capability
    your forever intelligent diary in  if you can think it , it's done  language
    | Cardioid in current CoSy .

    : cardioid 1p>  f1. $ cosf -f  >a>
      R@ cosf R@ sinf ,L   a> ' *f 'L  1P> ;

    | traditional :
    |  x = (1 – cos t) * ( cos t ) 
    |  y = (1 – cos t) * ( sin t )
    Please let me know by return mail if you want to be removed from this list

     Happy VD


    Bill Ragsdale presented a Valentine's Day challenge for this month's Silicon Valley Forth Interest Group zoom :
    February is the month for Valentine's Day. This month's challenge is to draw a heart shaped object by what ever method you have available. It might be ASCII X's, or the old Windows graphic characters, or true graphics. Let us see some variety. It might be animated to change location or size, with or without Cupid's arrow

    I didn't try any embellishments . But I did want to do something close to practical . As a heart , I chose a cardioid .

    This is a first effort at using .svg graphics on my web pages . The stale wysiwyg  Kompozer [ 20230119 | em<  : Komposer is being supported by Germans . updated link ] I use doesn't recognize these constructs , as it does not understand objects very well . But , it's better than others I've tried in other ways . So it was enough to learn how to generate a closed path and fill it . Here's the essence :

    | Cardioid , more traditional notation .
    | x = (1 – cos t) * ( cos t )
    | y = (1 – cos t) * ( sin t )

    : Tau Pi 2. _f *f ;  |
    A whole revolution .  rather than loading all ` C:/4thCoSy/CoSy/math.f .
     
     41 _iota i>f 40. _f %f Tau *f >T0>     | Generate 41 covering 0 to Tau
    0.0000 0.0250 0.0500 0.0750 0.1000 0.1250 0.1500 ...

    | Cardioid in CoSy . 
    : cardioid 1p>  f1. $ cosf -f >a>   R@ cosf R@ sinf ,L   a> ' *f 'L  1P> ;

      T0  cardioid >t0>
    (
     0.0000 0.0122 0.0465 0.0971 0.1545 0.2071 0.2423 ...
     0.0000 0.0019 0.0151 0.0495 0.1123 0.2071 0.3335 ...
     ) 
        

    | scale & translate . negative flips that axis . Note I squeezed one axis to make more heart shaped
     t0 f( -100 80 )f ' *f 'd    f( 50 120 )f ' +f 'd >t1>     

    | Idiosyncratic verb to convert format to .svg coordinate string
    : svgfmt  ' f>i 'm flip { ,/ fmtI } 'm ` , ' MV 'd  blMV ;  | format for .svg
     
       t1 reverse svgfmt >t2>     | the ' reverse flips the X and Y axes .
    120,50 120,48 121,45 123,40 128,34 136,29 146,25 ...

    I then took that last result and plugged it in to the .svg code in this source .
    I did some cleverer things which I will go into more on the SV-FIG zoom on the 26th , as well as explain why the code is significantly more complex than a polished APL because it is fundamentally operating at the raw x86 Forth level .


    On last Thu.Feb,20220210 British APL Association zoom meeting the upcoming Functional Programming Conference to be held via Zoom , March 24-26 was mentioned . Seeing their accepted speakers , altho way late , I sent a note :

    I take it your registration for presentations is closed .

    CoSy is evolved and evolving from APL via K in open to the chip Forth . About as purely functional as you can get .

    I have kindly been invited to present . Here's a blurb for my talk :

    CoSy is a new paradigm in computing language and interface . CoSy implements the abstractions of APL , evolved from the notation of applied mathematics , winnowed thru K , in open Forth . Forth is uniquely minimal and open to the underlying hardware . In fact a Forth processor takes up just a small amount of space on an FPGA .  All in an computational notebook , log , environment for dealing with the everyday business of life , written itself in CoSy .

    While at the two poles of the computing language spectrum , APL and Forth share a number of attributes :
    • Both are interactive and interpretive at the user level .
    • Both are oriented for the creation of words , vocabulary , which work together in sentences .
    • Both are functional : words are generally structured take the result of previous words and return results to be used by following words .
    • Both tend to be extremely succinct . Definitions are delimited by just a single character .
      • K |  name : { def ... }
      • Forth |  : name  def ... ;
    Forth's goal is the minimal vocabulary necessary to create a dictionary capable of extending itself .
    It is as simple as language can be :
    • a ` word is any non blank string of characters .
      Space is the prime delimiter .
    • The syntax is noun noun verb aka: RPN
    CoSy adds plurals to Forth .
    • all nouns are lists . At the Forth level they have a 3 cell header
      `( Type Count refCount )`
       
      Lists are allocated . When  ` refCount returns to 0 they are freed .
    • Indexing is modulo -- like counting on your thumb & fingers : 0 1 2 3 4 0
    CoSy's next step is attracting the fresh heads and resources to clean it up in a Forth available across the various current chips and operating systems , and to interface thru browsers and the Web .



    The Code is the Theory
    CoSy is arguably the Simplest and Hardest programming language
    Ask Me Anything
    I greatly appreciate feedback on any topic

    Add CoSy to your talents , and your talents to CoSy , The Fresh Paradigm in programming language and interface .

    To participate in CoSy  whether  mainly on the client , financial , or the programmer side , the requisite is  getting up  and running in current  CoSy
    Because the essence is language .

    I'm holding  intro  download , get it up and  running  Zoom , or other agreed recording  screen sharing  medium sessions at mutually agreed times .  I believe that for this most essential interaction  one-one , peer , interaction and permanent  recording is  best . Also included is a copy of the *.csy Job file created for our accounting , etc .

    Email me : Bob@CoSy.com to arrange a time . Mention special interests , eg: accounting , simple DB , mail lists ; or special projects ,
    Forth development ( CoSy, because at the APL level , is an extremely powerful environment for code development ) ,
    or  translating and implementing CoSy in other ( your own ) Forths . $70 .


    #PlanetaryTemperature #Top

    The Heartland ICCC14 conference was great and contains a tremendous amount of
     honest information .
    I , of course followed the Science Track .
      Naomi Seibt was the Star of the Conference
    Heartland Pres James Taylor Intro

    Heartland ICCC14 Notes




    The Heartland Institute is distributing 100,000 Climate At A Glance (CAAG) booklets to professors and schoolteachers throughout the country.



    Coming : premium daily Blog updates : winnowed links to news , commentary & tek

    As this Blog and its support in CoSy evolves , it is taking on a more significant presence . I have now added it to the CoSy front page . If you are running CoSy, the Job is downloadable at  http://cosy.com/y22/blog.csy giving you all the tools for searching , extracting , etc that the CoSy vocabulary provides .

    Error: Embedded data could not be displayed.   See online
    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 § SpecialWed.Dec,20211229
    § Wed.Jan,20220112 § Sun.Jan,20220130



    #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 | 20220214.0836 |

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