162 karma · joined Jun 24, 2021 (5y ago) · 63 submissions
comment 2y ago · link · parent
This first post is about counting sheeps, with a design-by-contract twist.
Let me know what you guys think, it's my first blog at all, so I'm a taker for all matters of feedback, as long as it comes from the heart that is ;)
2.
Counting Sheeps with Contracts in Python(colorsofcode.ghost.io ↗)
27 points · by Leo_Germond · 2y ago · 17 comments
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 3y ago · link · parent
So the first advice is definitely not bike shedding, the second one I'm not so clear though ;)
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
First of, at the moment the effort is super asymetrical: it takes way more efforts to check a paper for image duplication than it takes to alter an existing image to add it to a paper. So the journals are losing against the counterfeiter as we speak.
What's more, it is possible to run the detection tools long after publication, which makes it harder for someone to fake images because they run the risk of being detected later on with a more advanced version of the tooling. Typically malware devs try to erase all traces of their bad deeds and to run away undetected for this exact reason. But how do you hide an already published paper?
Finally, it takes efforts to run the tools. If this effort is greater than the effort it takes to fake an image, which it is, then the cost may become prohibitive, so fakers will try to avoid faking+prechecking in favour of faking+hiding (by publishing in unchecked journals for example). That is until they group together to organize faking at scale (setting up and automating a tool like that is probably were the cost is, not running it). Faking at scale does exist, some countries practice it eagerly. So now the question becomes: do we turn a blank eye to such blatant misuse of research or do we try to take them red-handed and to ban/punish bad behavior? Not such a hard question since being on the offensive is the only scenario where we have a remote chance of stopping or at least reducing the influx of faked papers, you don't stop the mafia by ignoring them.
comment 3y ago · link · parent
That being said I'm pretty sure that Godot is about to close this gap before 2025, given the recent boost in popularity.
comment 3y ago · link · parent
A calculation that leads you to underdesign a product's safety and leaves no room for this product's safety improvement, in terms of mechanical or electronic update, is clearly not thought as being safe in that regard, regardless of the economies of scale or even low-term utilitarian goals (that would be expressed as: people spending money on a tesla would be safer in the short run, rather than using no automatic driving at all while waiting for a better product).
This is an important difference, and there is a societal choice to make here: do we (as society) want to buy now, and potentially have regrets later (when the safety of the product degrades with time, causing it to also have a record of people's deaths), or do we want to proactively force a notion of safety onto cars that is more than just being good enough at an arbitrary point in time, so that we hav more confidence over the long-term viability of that (societal) investment? As you can guess I gravitate towards the later, but of course it's a gradient, with several choices in-between, because pushing that thinking to an extreme would lead to stagnation, which would not do anything in terms of improving safety, as you noted.
comment 3y ago · link · parent
comment 3y ago · link · parent