by Flankk · 4y ago · 0 comments
Whew, savage.
The code was at times almost poetic, but a nightmare to debug.
At least some of this sounds very plausible.
Urn memory urn = urns[i][u];
Ilk memory ilk = ilks[i];
// ilk has been initialised
require(ilk.rate != 0, "Vat/ilk-not-init");
urn.ink = add(urn.ink, dink);
urn.art = add(urn.art, dart);
ilk.Art = add(ilk.Art, dart);
int dtab = mul(ilk.rate, dart);
uint tab = mul(ilk.rate, urn.art);https://etherscan.io/address/0x35d1b3f3d7966a1dfe207aa4514c1...
(kiddng, do whatever you want, but I wouldn't work on that code)
I also knew another hyper smart chap who used to argue passionately for meaningless identifiers - his argument was that you couldn't actually represent anything meaningful about what an identifier was for in a short name so why try? Mind you, he was a MUMPS developer.
So you need to know if some obscure name is the name of a star, galaxy, or a nebula, in order to know if it's a router, firewall, or server.
Still better than naming shit after greek philosophers.
Sitting logged in to server00831 from laptop firstlastname2016 all days is just soulcrushing.
I thought I was being quite daring when the lab where I worked got a load of DEC Alpha workstations and I named them after Martian surface features as I'd just read Red Mars.
All of my WiFi networks begin with Aardvark (shows up first in the network list) and all of my iOS devices are Aardwolf (shows up after Aardvark when used as a hotspot).
MU-TH-UR 6000, HAL 9000, Multivac, Deep Thought, Earth, etc
We would have got away with it due to the general lack of external code reviews but our boss heard us discussing a bug that involved one of them.
[0] https://www.reddit.com/r/programming/comments/24g6al/i_have_...
That said, even as shortly back in the 90s, mental illness was still ridiculed and something to be ashamed of, at least we've made progress in that area these days.
The 90s were weird I guess?