Correction: the pull request was integrated in Amber, so the setup should now be straight forward. Just update amber.
Von: amber-lang@googlegroups.com <amber-lang@googlegroups.com> Im Auftrag von Christian Haider
Gesendet: Freitag, 20. M��rz 2020 12:51
An: esug-list@lists.esug.org; amber-lang@googlegroups.com; vwnc@cs.uiuc.edu
Betreff: [amber-lang] [ANN] CoViD-19 Charts prototype
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/
[2] https://lolg.it/herby/silk/pulls/11
[3] https://covidcrt.uber.space/Silk.zip
--
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+unsubscribe@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.