While CoSy is the simplest most productive programming environment for ` ordinary people , it is built on the most ` powerful ideas from APL & Forth One of those concepts which makes APL and K which evolves from it so powerful for succinctly expressing mathematics is atomic application of verbs to simple ` atoms or ` leafs of ` nested lists . A link last Sunday to the current endeavor https://shakti.com/ of the creator of K from which CoSy evolves Arthur Whitney shows the game CoSy , having the advantage of being built in Forth rather than C can be competitive in . See the discussion on the Facebook AI & Robotics group broaching the issues of extending to GPUs . Another site also came up : https://kparc.com/ , so terse I think it must be Arthur's . It's examples of K motivated me to finally switch to the ` atomic definitions for integer functions I wrote some time ago . Unlike traditional APL or K , because CoSy is open , the recursive ` aaply adverbs are
available in their own right . Here's what this all means ( remember CoSy executing directly in Forth is RPN ) : A ` simple list is a list of integers ,
floats , characters -- all the same type of item . Verbs work directly
on them . For instance :
It's these sorts of concepts which make it reasonable to assert that a
finite element ( voxel ) model of the planet and atmosphere could be
written in a few pages of CoSy
as or more succinct than expressed in any physics textbook -- and
therefore as understandable by those with a head for it . ( I would
like to know if any non- APL languages , eg: R or Python , have any
similar capabilities . Comment
) `i 12 iota
>t0> | ' iota is a venerable APL word returning the
first n natural numbers t0 i( 1 -1
)i +i 1 0 3 2 5 4 7 6 9 8 11 10 But what about a list of integer lists . A matrix is just a list of equal length lists . for instance : t0 i( 3 4 )i take
>t1> t1 is a list of 3 integer lists each of length 4 .So , what atomic application does is recursively go down thru lists ( it could be lists of lists of integer lists , ie: 3 dimensional array ) until it finds corresponding simple leafs . Then it applies the function . So in our example : t1 i( 1 -1
)i +i ( t1 t1 *i
This is why I've described the purpose of CoSy as being Cptn Picard's Log . Useful for simply keeping timestamped notes of what you've done , or what you have coming up to do , including accounting entries for bills paid or coming up to be paid -- all seamlessly in the language here . | BobA 20220706.2334 |
If a language requires you to go to a special window , or surround your thought with lines of setup and tear down , it's wasting your time and thought .
" What we will be leaving our grandchildren
is not a planet damaged by industrial progress, but a record of
unfathomable silliness as well as a landscape degraded by rusting wind
farms and decaying solar panel arrays. "
Richard Lindzen
The hundred ton concrete & rebar plugs embedded in lands across the land will last those thousands of years . The
Heartland ICCC14 conference was great and contains a tremendous
amount of honest
information
Naomi Seibt , the anti- Greta was the Star of the Conference Heartland Pres James Taylor Intro Heartland ICCC14 Notes
In Memory of C.H. TingMy FB Minimalist Computing comment : Truly sad . Too many people I feel conversations cut off too soon . The last SV-FIG Forth Day I got to , because I was so lost , thus late , getting to the restaurant I ended up sitting between Moore & Ting . Mainly remember discussing the value of ` factoring common looping structures into ` adverbs by essentially making all lists " counted lists " . Ting was a ` polymath . His presentations on ` virial equations ( a term I had never heard before ) concerning behavior in the region of phase changes is one of those conversations unfinished . Links : forth.org/OffeteStore/OffeteStore.html forth.org/OffeteStore/1013_eForthAndZen.pdf forth.org/OffeteStore/4001-footstepsFinal.pdf https://www.facebook.com/groups/minimalistcomputing/posts/687112115712253?comment_id=688129882277143 Another unfinished conversation is about genome sequencing . This was an area , particularly when Covid hit Dr Ting did several SV-FIG presentations on . These are , as I understand it , all sequences of permutations of 4 letters . This is the sort of problem CoSy's list vocabulary , all in open Forth , is well suited for . But Dr Ting , despite being Forth master used Python for practicality . I never could entice him into CoSy . History would have been different . The 4th of July tragedy in Highland Park Illinois diverted more of my time than it might otherwise because I grew up there . I first learned of it in an email from an old Northwestern friend , Jay Weber , who still lives in the area and whose wife , Juli , also grew up in HP . But just a few emails down it was a headline in the Denver Gazette . Here are my comments in my Daily Blog to a post on Facebook : |
======================== | Tue.Jul,20220705 | ======================== | About Highland Park mass shooting https://www.facebook.com/permalink.php?story_fbid=2978475529120261&id=100008735291272 Bob Armstrong > Cassie Barton It IS where I grew up . Just blocks from Central Street . Had to look at Google Street View to recognize the scenes I saw on reports . Bob Armstrong > Cassie Barton I grew up on Vine , just east of Sheridan . Went to Elm Place . I think it was Tucker who argued that it is irrelevant to categorize these people as ` Left or ` Right . Their manifestos are generally just mash-ups of all sorts of issues and conflicts . They raise serious questions about " Red Flag " laws . The lack of due process , the right to face your accuser before judgment is dangerous aspect . But in cases like these recent ones , the flags were flying high . And they could have and should have had a hearing and their access to weapons made as difficult as possible . | 0817 | Check the Daily
Blog for more , and links on these and other topics .
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 https://cosy.com/y22/blog.csy
giving you all the tools for searching , extracting , etc that the CoSy vocabulary
provides .
|