comp.lang.ada
 help / color / mirror / Atom feed
From: Anatoly Chernyshev <achernyshev@gmail.com>
Subject: Re: Not to incite a language war but apparently the Corona lockdown was based on 13 year old undocumented C-Code
Date: Sun, 21 Jun 2020 02:18:32 -0700 (PDT)	[thread overview]
Message-ID: <de3e889c-defc-4dd7-8728-af4ea242c241o@googlegroups.com> (raw)
In-Reply-To: <16a8fd0e-6307-44dc-b2ff-dd0b220f332bo@googlegroups.com>

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 output, 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 something, which could be implemented in the GUI...

For technical questions (Olivier) feel free to email me, just not to clutter the thread. Anything else you can ask here.

If needed, the updates on the data could be taken from here: https://opendata.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 will publish it together with the next forecast update, and post a note in this thread.
> 
> That is great news. I do no know what holds you up from publishing without anyone asking but I think you should always do so regardless: 
> 
> a) You never know who could run into it and be interested, be inspired, etc.
> 
> 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 those who have time to police for reputation are ... somehow toxic. When code is in bad shape, I write 'Status : WIP'. It should speak for itself.
> 
> > would cater to larger public than a piece of software needed download and installation.
> 
> This is true but as you said, it 'draws the attention of very few people' in proportion to let say something like ... Facebook. 
> 
> 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 collection 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 dimensions; UX is the most overlooked yet the most successful paradigm.    
> 
> 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 true in an Ada context but I'll keep digging. 
> 
> Ok, let us know when your code is online. Thx.

  reply	other threads:[~2020-06-21  9:18 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-11 18:49 Not to incite a language war but apparently the Corona lockdown was based on 13 year old undocumented C-Code Rick Newbie
2020-05-11 20:27 ` Niklas Holsti
2020-05-11 21:12   ` Rick Newbie
2020-05-12 20:11     ` Niklas Holsti
2020-05-12 20:53       ` Dmitry A. Kazakov
2020-05-12 21:54         ` Niklas Holsti
2020-05-12 22:15       ` Rick Newbie
2020-05-13 11:07         ` Niklas Holsti
2020-05-13 13:23           ` Rick Newbie
2020-05-13 13:45             ` Niklas Holsti
2020-05-13 14:58               ` Rick Newbie
2020-05-13 15:31                 ` Dmitry A. Kazakov
2020-05-13 15:48                   ` Niklas Holsti
2020-05-11 21:45   ` gautier_niouzes
2020-05-12 15:56     ` Niklas Holsti
2020-05-11 21:55   ` Jeffrey R. Carter
2020-05-12 19:16     ` Niklas Holsti
2020-05-12 21:27       ` Jeffrey R. Carter
2020-05-12 22:20         ` Niklas Holsti
2020-05-12 22:39           ` Jeffrey R. Carter
2020-05-13  9:36             ` Niklas Holsti
2020-05-13 13:52               ` Optikos
2020-05-13 14:05                 ` Niklas Holsti
2020-05-13 18:58                   ` Optikos
2020-05-13 20:29                     ` Niklas Holsti
2020-05-13 21:02                       ` Optikos
2020-05-13 21:48                         ` Niklas Holsti
2020-05-13 22:13                           ` Optikos
2020-05-13  9:54         ` Niklas Holsti
2020-05-13  0:25 ` Olivier Henley
2020-05-15 13:23   ` Optikos
2020-05-16  5:01 ` Anatoly Chernyshev
2020-05-28 21:45   ` Optikos
2020-06-11 17:28   ` Olivier Henley
2020-06-11 17:36     ` Olivier Henley
2020-06-11 22:43     ` Anatoly Chernyshev
2020-06-12 12:10       ` Olivier Henley
2020-06-12 12:34         ` Anatoly Chernyshev
2020-06-12 17:36           ` Olivier Henley
2020-06-21  9:18             ` Anatoly Chernyshev [this message]
2020-06-22 13:36               ` Olivier Henley
2020-05-16 22:31 ` Niklas Holsti
2020-05-16 23:54   ` Optikos
2020-05-17 15:41     ` Niklas Holsti
2020-05-17 17:38       ` Optikos
2020-05-17 18:00         ` Simon Wright
2020-05-17 20:56           ` Optikos
2020-05-17 21:20             ` Simon Wright
2020-05-17 21:45               ` Optikos
2020-05-18  7:34                 ` Simon Wright
2020-05-17 19:20         ` Niklas Holsti
2020-05-17 21:30           ` Optikos
2020-05-24 21:04 ` Bob Goddard
2020-05-31 15:01 ` Azathoth Hastur
2020-06-09  6:30 ` gautier_niouzes
2020-06-11 15:35 ` Olivier Henley
2020-06-11 15:49   ` Olivier Henley
2020-06-11 18:41     ` Anh Vo
2020-06-11 19:58       ` Olivier Henley
2020-06-11 20:41         ` Anh Vo
2020-06-11 20:47           ` Olivier Henley
2020-06-11 21:34             ` Anh Vo
2020-06-11 21:47               ` Olivier Henley
2020-06-11 21:39             ` Olivier Henley
2020-06-11 23:14               ` Anh Vo
2020-06-11 23:30                 ` Jere
2020-06-11 23:55                   ` Olivier Henley
2020-06-12  0:07                 ` Olivier Henley
2020-06-12  0:42                   ` Anh Vo
2020-06-12 11:08                     ` Olivier Henley
2020-06-12  7:03   ` gautier_niouzes
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox