|
On looking at it further, I've realised that what I wrote up there is a bit unfair in one respect. The information regarding whether the values are relative or absolute is actually contained in the database (in other tables). The reason why the external file is involved is that the correct output of the program may be absolute values or relative values, depending on what the external file says. All 4 combinations of conditions may in principle occur (the values are relative and should remain relative in the output, the values are relative but need to be absolute in the output, the values are absolute but need to be relative in the output, the values are absolute and should remain absolute in the output).
|
# ? Jul 16, 2020 18:39 |
|
|
# ? Jun 6, 2024 06:01 |
|
Well that makes it all better then.
|
# ? Jul 16, 2020 18:42 |
|
The application I'm replacing was built by slightly less crazy people, unfortunately they weren't really giving it the attention it deserved and so there are loads of 500-line methods that perform one database query after another and then just jam all the variables together at the end (also some of the variables inform how other variables should be interpreted). And the chief guy (who is retired now) was a subject matter expert and didn't feel the need to really document half this poo poo, so occasionally to figure out what something is for I spend time following through C++ code with single-letter variable names. I've been given free reign to rewrite this, but everything I do takes ten times as long as I think it will and I'm worried that they will get impatient and ask me why it's taking so long and the only answer I can give is "well basically everything about this is a pile of bollocks so I have to spend time figuring everything out really carefully"
|
# ? Jul 16, 2020 19:33 |
|
I wondered if we worked for the same company there for a while but there are enough differences, coupled with the fact that just lmao at us being allowed (or able) to rewrite this behemoth. Just chiming in to commiserate with a fellow "entity" table sufferer
|
# ? Jul 16, 2020 19:39 |
|
Hammerite posted:The application I'm replacing was built by slightly less crazy people, unfortunately they weren't really giving it the attention it deserved and so there are loads of 500-line methods that perform one database query after another and then just jam all the variables together at the end (also some of the variables inform how other variables should be interpreted). And the chief guy (who is retired now) was a subject matter expert and didn't feel the need to really document half this poo poo, so occasionally to figure out what something is for I spend time following through C++ code with single-letter variable names. Spend a little bit of your time documenting your efforts. Write up a TDD for the rewrite, write up some estimates, when you hit a snag and have to spend three days figuring out what a component does, document your progress. Then when someone says "why is this taking so long" you have something concrete to point to to show "yes, I'm doing work, it's taking longer than I thought, because this was completely hosed and I have to reverse engineer the entire thing"
|
# ? Jul 16, 2020 20:24 |
|
https://twitter.com/drasticactionSA/status/1284180770777636866 I would have loved to have been in that Slack after I sent this...
|
# ? Jul 17, 2020 21:00 |
|
Drastic Actions posted:https://twitter.com/drasticactionSA/status/1284180770777636866 Haha, cool! Did you come across it by accident or do you scrape for it?
|
# ? Jul 17, 2020 21:12 |
|
Here, have some vintage coding horrors: https://twitter.com/Sosowski/status/1285135003895160832
|
# ? Jul 20, 2020 20:52 |
|
That auto var made me do a double take. Very prescient.
|
# ? Jul 20, 2020 22:40 |
|
auto meant something else back then.
|
# ? Jul 20, 2020 23:06 |
|
auto is the exception to the rule of infuriating c++ syntax reuse.
|
# ? Jul 20, 2020 23:21 |
|
ultrafilter posted:auto meant something else back then. Yes, that was the joke. C has type inference, so long as the type you want is int.
|
# ? Jul 21, 2020 02:00 |
|
Coding horror technology has advanced greatly since that book was published https://twitter.com/jfbastien/status/1285390568957177856
|
# ? Jul 21, 2020 10:08 |
|
I thought Perl was the language where you could just type any old garbage and it runs
|
# ? Jul 21, 2020 10:18 |
|
Hammerite posted:I thought Perl was the language where you could just type any old garbage and it runs Not just type.
|
# ? Jul 21, 2020 10:56 |
|
Hammerite posted:I thought Perl was the language where you could just type any old garbage and it runs If you want a language explicitly designed so that any old garbage is a valid program, can I recommend Jot? https://en.wikipedia.org/wiki/Iota_and_Jot posted:Jot is the regular language consisting of all sequences of 0 and 1, Iota and the other universal combinators are in some ways nicer in that the boil Turing completeness down to a language consisting of a single operator, but I admire Jot's dedication to making any string meaningful.
|
# ? Jul 21, 2020 11:33 |
|
Something I have always wanted to wrote but is not legit code is something like thiscode:
|
# ? Jul 21, 2020 12:08 |
|
Hammerite posted:I thought Perl was the language where you could just type any old garbage and it runs Can't locate object method "any" via package "old" (perhaps you forgot to load "old"?) at main.pl line 1.
|
# ? Jul 21, 2020 14:33 |
|
https://twitter.com/afilina/status/1286418391616688130
|
# ? Jul 23, 2020 22:53 |
|
Source
|
# ? Aug 5, 2020 14:52 |
|
I see a face with a mustache.
|
# ? Aug 5, 2020 15:40 |
|
NihilCredo posted:I see a face with a mustache.
|
# ? Aug 5, 2020 15:49 |
|
What is that dev doing to their indents??
|
# ? Aug 5, 2020 16:05 |
|
Extremely cursed joke post
|
# ? Aug 5, 2020 16:12 |
|
|
# ? Aug 5, 2020 16:17 |
|
Look, most of my code is godawful for a lot of reasons, but at least I can say it's not bad because I massacred my indentation.
|
# ? Aug 5, 2020 17:32 |
|
When the new dev interprets the column line as a target rather then a suggested maximum.
|
# ? Aug 5, 2020 23:18 |
|
I see somebody installed the Arkanoid IDE plugin.
|
# ? Aug 5, 2020 23:24 |
|
What tool do you have to install to gain control of your own indentation?
|
# ? Aug 5, 2020 23:35 |
|
Ola posted:What tool do you have to install to gain control of your own indentation? gcc
|
# ? Aug 5, 2020 23:51 |
|
https://twitter.com/RichardWestenra/status/765488378951376896
|
# ? Aug 6, 2020 20:03 |
|
Missed "zip" and misspelled "qux", would not trust this guy with my metasyntactics.
|
# ? Aug 7, 2020 06:27 |
|
Zopotantor posted:Missed "zip" and misspelled "qux", would not trust this guy with my metasyntactics. I've always seen it spelled "quux"
|
# ? Aug 7, 2020 15:34 |
|
Kilson posted:I've always seen it spelled "quux" Don't forget the part where further variables get names like "quuux" and "quuuux", because when your code is incomprehensible, that means you're super smart.
|
# ? Aug 7, 2020 15:37 |
|
Quuuux Skywalker
|
# ? Aug 7, 2020 15:42 |
|
Web development in 2020: https://i.imgur.com/gHqkycX.mp4 (This is from a live TV sports website, not some local development gone wrong)
|
# ? Aug 7, 2020 19:00 |
|
Volguus posted:Web development in 2020: Good. That favicon.png need to exist. Maybe the server can produce a HTTP 204 has a passive agressive answer.
|
# ? Aug 7, 2020 19:24 |
|
All you have to do is look at the console on Chrome home page to see what a cluster gently caress things are. That page always has warnings or errors of some variety.
|
# ? Aug 7, 2020 19:40 |
|
Volguus posted:Web development in 2020: Genuinely hope this is to make the favicon animate in the tab while the user is on the site, so that it shows some sort of hideously pixelated live action because marketing knew about a place that wasn't already getting poo poo up.
|
# ? Aug 7, 2020 20:07 |
|
|
# ? Jun 6, 2024 06:01 |
|
Volmarias posted:Genuinely hope this is to make the favicon animate in the tab while the user is on the site, so that it shows some sort of hideously pixelated live action because marketing knew about a place that wasn't already getting poo poo up. I wonder if the browser would obey to a refresh header in the favicon Content-type: image/png Refresh: 0,url=favicon.png Cache-control: no-cache
|
# ? Aug 7, 2020 21:46 |