News for hackers. Stuff that matters.

jjsalamon

I've updated the empty state with text to make it clearer when that graph is intentionally blank
There's no units attached to those first examples so in effect there's nothing to render in the behavior over time graph. The system can still be rendered however.

In the later examples they start introducing numbers to the stock/flow nodes which then populates both graphs.

Maybe that can be made clearer somehow

I was reading Donella Meadows' "Thinking in Systems" and wanted to play with its diagrams instead of just looking at them, so I wrote a small language for them. You type a model:

  | =>inflow [water in tub: 50] =>outflow: 5 |
and get the stock-and-flow diagram, a chart of each stock over time, and an animation of the run on the diagram itself: stocks, and feedback loops pulse.

Each example has notes in its source explaining what it shows. You can also build by clicking.

It runs entirely in the browser, with no account and no backend. The whole model lives in the URL, so any diagram can be shared as a link.

The compiler is PureScript (lexer, parser evaluator) and emits a graph as JSON; the front end is TypeScript and d3, with a force layout and a fixed-step Euler simulator. It's deliberately small: numbers are plain numbers with no units, and the simulator takes simple fixed steps. It's for learning and sketching, not a replacement for Vensim or Stella.

Source (MIT): https://github.com/lorezzed/meadows

I'd welcome feedback on the language itself

Re:Power Wastage on an Idle Laptop on Tuesday March 08, 2016 @08:12PM (#11250151)
You might like this app which highlights noise :) http://www.hemingwayapp.com/
Re:Drones learn to search forest trails for lost people on Wednesday February 10, 2016 @10:12PM (#11078008)
Amazing work! Where I lived in Australia tourists often would get lost and quickly dehydrate, be at risk of hypothermia overnight or immobilize themselves by breaking a leg. Phone coverage is not good in the country so you couldn't call for help. Depending on your location, vegetation is difficult to see through for search-and-rescue spotters in the air. Once you get off trail it's not as simple as backtracking and so have to wait for help to arrive (so long as you let someone know you were hiking ahead of time).
Re:RethinkDB 2.0 is now production ready on Tuesday April 14, 2015 @09:52PM (#9378467)
Congrats guys! I've been looking forward to using Rethink.

Is windows support coming anytime?

Re:Why Free Online Classes Are Still the Future of Education on Friday September 26, 2014 @02:34PM (#8374099)
Agreed, most moocs follow a traditional method by recording lectures and posting them weekly. For a better way of learning check out udacity. Go at your own pace and is somewhat more interactive. Khan academy is also good for specific subjects.
Surveillance aside, You do realize computers can aggregate data? It doesn't take 4 million agents to look at 4 million citizens (or 2 million, or 1 million...). The data can sit there and be deciphered any number of ways.

The word game is two sides of a coin.

Re:Earth’s Water Is Older Than the Sun on Friday September 26, 2014 @01:33AM (#8371488)
>Nothing wrong with calling it out.

Says who, Jesus?

The down votes are likely from sounding entitled and looking to be offended, especially if it was as you mentioned the second comment.

Re:Earth’s Water Is Older Than the Sun on Friday September 26, 2014 @12:05AM (#8371288)
At the time of writing there is only 1 parent comment poking fun at the bible. Let's not get too delicate here.
> The average person doesn't care about government snooping.

Last week New Zealand re-elected their head office just days after government spying came to light. The majority of voters don't care. To quote another reddit thread:

> The big reveal was actually that New Zealand was conducting mass surveillance of its population when it's PM and gov't promised it wasn't.[1]

Last year New Zealand was voted 'freest country.'[2]

[1] http://www.reddit.com/r/worldnews/comments/2gf9p3/the_kim_do...

[2] http://www.fraserinstitute.org/research-news/news/display.as...

Re:Australian Government Scrambles to Authorize Mass Surveillance on Thursday September 25, 2014 @12:41PM (#8368072)
The governor general can fire the government.
Re:Australian Government Scrambles to Authorize Mass Surveillance on Thursday September 25, 2014 @12:16PM (#8367932)
Simply not having the American system doesn't default to 'fine.' Besides, Australian education is now well on its way to a similar system.
Re:Australian Government Scrambles to Authorize Mass Surveillance on Thursday September 25, 2014 @06:05AM (#8366418)
That could be changing after student fees get deregulated[1]. $50,000 for an arts degree and $100,000 for medicine. No doubt that price will go up.

Australia is actively being made dumber as we devolve in to a class system.

[1] http://www.abc.net.au/news/2014-09-23/uwa-to-hike-fees-30-pe...