Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "messiness"
-
If I died, I would have one regret.
I once worked in a code base whose messiness would make an oil spill in the fucking pacific ocean look like spilled milk on the floor in comparison.
Naturally, it had bugs. Oh BOY did it have bugs. Most of them were taken care of well enough. Or about as well as anyone insane enough to work in that code could.
There was just this one bug, which I still (un)fondly call "my bug of 2 years". It. Just. Didn't. Make. Sense.
It was written in JavaScript. Naturally. Which by itself, is the metaphorical programming language equivalent of a pile of horse manure. But this bug. It was the guano icing on top of the horse manure cake which is JavaScript.
I LITERALLY spent 2 years trying to find a solution. I woke up at night, thinking of explanations. I had dreams about fixing the damn thing. And I never did.
On the day I left the job, I had to pass it on to a friend (who hasn't solved the fucker yet either).
I hated that bug with all my heart. But..
Now that I think back, all the books I read, all the docs that I scoured, every non working fix I coded and every failed efforts I made on it, eventually made me a better programmer.
So cherish your bugs and issues. Sometimes, they come, not to hurt you, but to help you grow (unless you use JS, those bugs just wanna fuck you).3 -
I hate the Windows vs Linux posts and the Windows sucks posts but god dammit...
With Windows 7 becoming older and older with less and less things supporting it (latest thing is the new Oculus Dash) I yet again decided to try out Windows 10 to see if I should finally upgrade from a reasonably stable system.
So I make a virtual machine out of my physical one and boot it up in VMWare... I upgrade to Windows 10 to check it out it's kind of janky, but I attribute the jankiness to the messiness of running my physical machine in a VM... I continue with the setup process and suddenly, I only see a black screen and a cursor...
I notice VMware is hinting at not being able to connect to the monitor... I realise that, while everything is black and I can't even open Task Manager, I can still see the Ctrl-alt-delete screen so I'm fairly certain at this point it's the VGA driver, still thinking it's probably VMware...
I boot up into safe mode and I try to open up Device manager to uninstall the driver, it won't open (no error or anything, just doesn't open)...
I try opening up devices in the settings and see that the display device is giving an error, try to uninstall it from there, but it freezes the settings app, every time..
I try to uninstall VMware tools as that's where the driver is, click on remove or uninstall whatever the button says and guess what, it freezes the settings app....
I try to open task manager to kill it and task manager is not responding...
(╯°□°)╯︵ ┻━┻
fuck it, I'm done...1 -
Am I the only one who after some hour of frustration in the first part of the day, when it comes to do other things later on, feel messy and unable to pursue other things well?2
-
"Delete all code!" That should be the mantra!
Was watching some stuff from destroyallsoftware.com. Not entirely convinced. So I should cook up my own shit.
So here is how the argument goes:
There's quite some negativity in the term "legacy" software. Partly it may be the envy to software that runs on actual machines and is not that phantasm, that perfect first lines on a greenfield project until it gets messed up as it has to put up with all the real world messiness. But the negativity it deserves is actually for the code that we cannot get rid of. This ugly class or function that soaked all the complexity and functionality so it defies any positive change. And always when it appears on your screen, it irks you, enrages you, makes you punch the screen, because you can almost feel the distaste physically. - *That* is the definition of "legacy" in its true negativity. No software should be like that. On the contrary. Every line should be replaceable, dispensable, disposable. At the verge to deletable. Because you know: the best code is no code.
This is where my hatred of code could get productive: Delete all the wretched, loathsome stuff and replace it, with something that just sucks less and can be thrown away any time. Don't expect beauty or perfect design. It'll never finish.3 -
From a little bit heated discussion I want to extract this: One big pain in the ass is the human to computer interface. Maybe it's the natural vs. formal language divide, but there's a mismatch deeper than between object and relational models that no ORM can failingly fix.
The whole point of the discussion was on such a point where some wanted an interface more human friendly and I stubbornly insisted on the way it is simple for the computer system. Like not too much human messiness should invade machine. One argument sounded as if human words were like unicode code points which meaning doesn't depend on its representation.
That's raising red flags to me: Nonono, natural language is too messy, keep it out. This poor machine could have been so clean and well designed and we already stacked up so much entropy we still dare to call OS,..
Dunno, what's your stance? Still hoping that your shell one day will be able to process our poor standard English? Or do you think, like me, all those failed attempts show there's a gap you should not even touch?5