Imperial College London have released their Covid-19 epidemic simulation
1–10 of 82 posts
Re: Imperial College London have released their Covid-19 epidemic simulation
#2Re: Imperial College London have released their Covid-19 epidemic simulation
#3Alumnus here, it’s Imperial College, London. It is a university (in its own right), but always goes by that name.
Re: Imperial College London have released their Covid-19 epidemic simulation
#4Re: Imperial College London have released their Covid-19 epidemic simulation
#5I'm no expert in C++ so not sure if it's meant to look like that, but that code is making my brain hurt.
Re: Imperial College London have released their Covid-19 epidemic simulation
#6Re: Imperial College London have released their Covid-19 epidemic simulation
#7I like the way InitModel() crashes (I think) if a global pointer called bmh (short for bitmap header) isn't first initialized by calling InitBMHead() from Bitmap.cpp. I guess it's obvious to academics with giant brains that InitModel() depends on a bitmap existing.
But it gets worse - the pointer is declared in CovidSim.cpp but Bitmap.cpp reaches across the module boundary to initialize it. Sweet.
Edit: I feel bad now. It's great that this code was made public. I should be encouraging that. I think academics writing code for things like this should probably take an undergrad course on software engineering. I think the one that taught me about Abstract Data Types would be most beneficial the author(s) of this code.
Re: Imperial College London have released their Covid-19 epidemic simulation
#8I'm no expert in C++ so not sure if it's meant to look like that, but that code is making my brain hurt.
Re: Imperial College London have released their Covid-19 epidemic simulation
#9I'm no expert in C++ so not sure if it's meant to look like that, but that code is making my brain hurt.
Re: Imperial College London have released their Covid-19 epidemic simulation
#10There's also a (flagged) submission on HN discussing this[3] referencing [1].
[1] (warning: possibly partisan link) https://lockdownsceptics.org/code-review-of-fergusons-model/