Hi all,
the corona virus is a bummer and it keeps me occupied more than is good for me, I guess.
Since I am unhappy with some infos on the web (some are really nice!), because I want to see different numbers and charts. So, I used the opportunity to try out Amber for real. Here it is:
It is still bare and simple, but here I can get a better picture of the development of this crisis.
Especially, I wanted to see how the case increases develops (how fast is the increase increasing).
I look at Italy, Germany and especially, the US. This is scary!
From today until Sunday, there will be a virtual hackaton from the German government [1]. I want to participate and will work on this. Anybody interested? You can apply until 14 o'clock GMT. (And yes, I know that it is stupid that Germany does it on its own, but better than nothing!).
Technicalities (for people who want to play with the source):
Everything is open and under MIT licence.
1. There is a small VisualWorks program loading the data from the John-Hopkins-University, transforming them and saving the data as JSON. The package is [CoViD19] in the public store.
2. The app is in Amber Smalltalk and the html is done with Silk.
Silk is very exciting and makes web programming fun again. I am completely enthusiastic about it :-) !
Unfortunately, setting up the development environment is a bit complicated, because I issued a pull request[2] for an addition to Silk which is not incorporated yet.
Therefore, after you did all the normal setup, you need to replace the Silk source files in ./node_modules\@ambers\silk\src with the files in [3].
Also, I disabled my dev buttons in the app. To open Helios, the browser, you have to enter
require('amber/helpers').popupHelios()
in the browser console of the dev tools.
Happy hacking and good luck to everybody,
Christian
[1] https://wirvsvirushackathon.org/
Correction: the pull request was integrated in Amber, so the setup should now be straight forward. Just update amber.
--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to amber-lang+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/amber-lang/011601d5fead%24c506eb60%244f14c220%24%40smalltalked-visuals.com.
Thanks!
No, orange are the confirmed cases, green the recovered und red, as you guessed, the deaths.
And yes, there should be an explanation or legend for it.
I will put that into the GitHub issues.
Thank you,
Christian
Von: David Mason <dma...@ryerson.ca>
Gesendet: Freitag, 20. März 2020 15:11
An: amber...@googlegroups.com; esug...@lists.esug.org; Christian Haider <christia...@smalltalked-visuals.com>
Betreff: Re: [Esug-list] [amber-lang] [ANN] CoViD-19 Charts prototype
Very cool, Christian! (Very scary, too, since nobody but China has crested)
Red is obviously deaths. I’m guessing green is confirmed cases and orange is presumed cases? It would be helpful if the graphs gave that key.
Thanks
../Dave
_______________________________________________
Esug-list mailing list
Esug...@lists.esug.org
http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org