This is beautiful. The code is simple and logical. The output beautiful.I think I’m willing to learn this. Actual code to make this in NetLogo included to show you: “This model demonstrates diffusion of a quantity through a directed network. The quantity moves among nodes in the network only along established, directed links between two nodes.” ——– [code]—– directed-link-breed [active-links active-link] directed-link-breed [inactive-links inactive-link] turtles-own [ val new-val ] ; a node’s past and current quantity, represented as size links-own [ current-flow ] ; the amount of quantity that has passed through a link ; in a given step globals [ total-val ; total quantity in the system max-val ; maximum quantity held by a single node in the system max-flow ; maximum quantity that has passed through a link in the system mean-flow ; average quantity that is passing through an arbitrary ; link in the system ] ;;;;;;;;;;;;;;;;;;;;;;;; ;;; Setup Procedures ;;; ;;;;;;;;;;;;;;;;;;;;;;;; to setup clear-all set-default-shape turtles “circle” set-default-shape links “small-arrow-link” ; create the grid of nodes ask patches with [abs pxcor < (grid-size / 2) and abs pycor < (grid-size / 2)] [ sprout 1 [ set color blue ] ] ; create a directed network such that each node has a LINK-CHANCE percent chance of ; having a link established from a given node to one of its neighbors ask turtles [ set val 1 let neighbor-nodes turtle-set [turtles-here] of neighbors4 create-active-links-to neighbor-nodes [ set current-flow 0 if random-float 100 > link-chance [ set breed inactive-links hide-link ] ] ] ; spread the nodes out ask turtles [ setxy (xcor * (max-pxcor – 1) / (grid-size / 2 – 0.5)) (ycor * (max-pycor – 1) / (grid-size / 2 – 0.5)) ] update-globals update-visuals reset-ticks end ;;;;;;;;;;;;;;;;;;;;;;; ;;; Main Procedure ;;; ;;;;;;;;;;;;;;;;;;;;;;; to go ask turtles [ set new-val 0 ] ask turtles [ let recipients out-active-link-neighbors ifelse any? recipients [ let val-to-keep val * (1 – diffusion-rate / 100) ; we keep some amount of our value from one turn to the next set new-val new-val + val-to-keep ; What we don’t keep for ourselves, we divide evenly among our out-link-neighbors. let val-increment ((val – val-to-keep) / count recipients) ask recipients [ set new-val new-val + val-increment ask in-active-link-from myself [ set current-flow val-increment ] ] ] [ set new-val new-val + val ] ] ask turtles [ set val new-val ] update-globals update-visuals tick end to rewire-a-link if any? active-links [ ask one-of active-links [ set breed inactive-links hide-link ] ask one-of inactive-links [ set breed active-links show-link ] ] end ;;;;;;;;;;;;;;;;;;;;;;; ;;; Updates ;;; ;;;;;;;;;;;;;;;;;;;;;;; to update-globals set total-val sum [ val ] of turtles set max-val max [ val ] of turtles if any? active-links [ set max-flow max [current-flow] of active-links set mean-flow mean [current-flow] of active-links ] end to update-visuals ask turtles [ update-node-appearance ] ask active-links [ update-link-appearance ] end to update-node-appearance ; node procedure ; scale the size to be between 0.1 and 5.0 set size 0.1 + 5 * sqrt (val / total-val) end to update-link-appearance ; link procedure ; scale color to be brighter when more value is flowing through it set color scale-color gray (current-flow / (2 * mean-flow + 0.00001)) -0.4 1 end ; Copyright 2008 Uri Wilensky. ; See Info tab for full copyright and license.

This is beautiful. The … [read full article]

 

The question of whether a Trump era will be an Ayn Rand era is up in the air. I’m personally not a fan of Rand, although I understand why she’s been appealing to many through the decades. She gives license with the only real measure found in the words used and their definitions playing off of each other in a game of logical wordplay. With merely a dictionary and some rudimentary logic, anything can be justified. She’s known to be appealing to right-leaning business people, one of the few to celebrate the rich businessman-as-hero rather than villain. Many, although not all of Trump’s cabinet picks are those who found Rand appealing. Ivanka appears to be greatly inspired by Rand, judging by a 2007 interview where he noted her copy of one of Rand’s books is well thumbed through. Yet, I don’t think that would be the extent of the morality of a Trump presidency. The influence of Norman Vincent Peale (and those of a similar nature like Anthony Robbins and “The Secret” (Law of Attraction) are very clear and pronounced as well, and while they are also individualistic and known to be popular among business people, they’re not Randian in nature. They’re popular among many celebrities: this concept that the Universe will give you the energies you need to fulfill your goals whenever you need it is an easy one for those with success to believe in: They just have to look around and see things coming to them, not really having to pay much mind to all of the people required to make such things happen, especially the lawyers they have to clean up their messes for them. So, I dunno. I’m just putting ideas ‘out there’. I don’t have any solid conclusions.

The question of whether … [read full article]

 

NYRA is one of the groups that formed out of Y-RIGHTS, the mailing list I created in 1990 and which ran through 2001. [I ran it for 5 years and then passed it on to others who kept running it]. Here’s some of what they’ve done that showed up i n the news through the years:

NYRA is one of … [read full article]