From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a37:9b0d:: with SMTP id d13mr11361588qke.351.1592731112909; Sun, 21 Jun 2020 02:18:32 -0700 (PDT) X-Received: by 2002:aca:57d7:: with SMTP id l206mr8527413oib.84.1592731112636; Sun, 21 Jun 2020 02:18:32 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.uzoreto.com!feeder1.cambriumusenet.nl!feed.tweak.nl!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 21 Jun 2020 02:18:32 -0700 (PDT) In-Reply-To: <16a8fd0e-6307-44dc-b2ff-dd0b220f332bo@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=118.92.60.69; posting-account=g6PEmwoAAADhFsmVm6Epjviaw4MLU0b5 NNTP-Posting-Host: 118.92.60.69 References: <6bd5d971-6101-4e9e-aac3-7c5c2a8390abo@googlegroups.com> <53c1f49f-bbf0-4cac-85a2-b790f282b279o@googlegroups.com> <16a8fd0e-6307-44dc-b2ff-dd0b220f332bo@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Not to incite a language war but apparently the Corona lockdown was based on 13 year old undocumented C-Code From: Anatoly Chernyshev Injection-Date: Sun, 21 Jun 2020 09:18:32 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:59139 List-Id: As promised, here is the code (source and binary), together with the latest= (June 20th) covid19 csv datafile: https://www.xph.co.nz/temp/XPH_Covid19_distr.zip I've checked - it does compile by just a gnatmake command. Also, I've added= some non-exhaustive comments through the code. To have a final graph outpu= t, gnuplot must be installed and be in the path. The binary will output just one curve. To get an overlay of several curves = to check whether the solution is stable I use a bunch of awkward bat files.= The curves differ in the starting day in the available dataset. This is so= mething, which could be implemented in the GUI... For technical questions (Olivier) feel free to email me, just not to clutte= r the thread. Anything else you can ask here. If needed, the updates on the data could be taken from here: https://openda= ta.ecdc.europa.eu/covid19/casedistribution/csv A new set of forecast charts (98 countries) is in a new album: https://xph.co.nz/temp/album2006/index.html Enjoy! Anatoly On Saturday, June 13, 2020 at 5:36:35 AM UTC+12, Olivier Henley wrote: > > I haven't had any requests so far to do so. You are the first one. I wi= ll publish it together with the next forecast update, and post a note in th= is thread. >=20 > That is great news. I do no know what holds you up from publishing withou= t anyone asking but I think you should always do so regardless:=20 >=20 > a) You never know who could run into it and be interested, be inspired, e= tc. >=20 > b) For any code quality, there is no reason to be reluctant or postpone a= public share IMO. I have seen countless horrors on GitHub and I would say = more than 50% of repos do not even compile. Its a jungle out there and thos= e who have time to police for reputation are ... somehow toxic. When code i= s in bad shape, I write 'Status : WIP'. It should speak for itself. >=20 > > would cater to larger public than a piece of software needed download a= nd installation. >=20 > This is true but as you said, it 'draws the attention of very few people'= in proportion to let say something like ... Facebook.=20 >=20 > In that regard, I think the attention of concerned people would be easier= to catch using an encompassing tool, even if needed to be downloaded, than= esoteric cmd switches, a constant back and forth with Excel, and a collect= ion of screenshots lying in badly named folders (nothing personal really). = I inspected the Fergusson model repo this morning and that is exactly what = they are juggling with; mastering complexity implies framing it on many dim= ensions; UX is the most overlooked yet the most successful paradigm. =20 >=20 > Finally, to keep Qt in the loop let alone for its charting capabilities, = there are ways to render it inside a web page. I do not know if it holds tr= ue in an Ada context but I'll keep digging.=20 >=20 > Ok, let us know when your code is online. Thx.