The VG Resource

Full Version: Fix One Thing, Another Breaks.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Seems like this always happens.  


So we recently fixed the problems we were having with the dryer, and now the washing machine is having issues with the water leaking.  It doesn't stop there either.  The heater was recently fixed in the nearly 20 year old Ford explorer my mom owns, but then it started having problems with the windshield wipers.

Has this phenomenon happened to anyone here?
Well, I fixed a lunch, for my lunch break. so I think this is true
32 little bugs in the code.
32 bugs in the code.
Take one down, patch it around.
123 bugs in the code.
When I'm drawing and have to fix an error. I move the part that has an error, but then there's a break in the line I have to fix.
Unimpressed
*In GameMaker*
I add something to the codes, about to test it. Little ol' me says, oh! I better save this so I don't lose anything if it crashes! Then I find out the new code broke stuff.

Or, I make a large sprite/animation that must be consistent. Oops, some shading is off in a spot. Then I have to fix every single frame. *sigh*

Fuq
As soon as my motivation for one thing is fixed, my motivation for something else breaks.
As soon as one of my cookies break in my mouth, the other side does too.
Personally, the only kind of breaking caused by fixing that I want to see is new ground being broken as I fix up whatever project I'm working on.
Some of these replies are really painful to read, yikes
half of the things that break in your examples aren't really broken ):

Jimmy Everyposter in this topic Wrote:well my cat got FIXED the other day because she wouldnt stop making kittens!!!! needless to say the news BROKE in the neighborhood when they noticed a sharp decrease in dopey kittens all over the place!! LOL!!!

This is what it reads like. You'll notice how old it gets sort of quickly. :/



Jesus, I really can't think of any good example of this, though. It happens to me all the time at work, though with web design. ):

Yesterday, I was working on a few additional touch-ups for one of our clients (which is, in a humorous turn of events, is my former employer) and there was a request to add an additional sidebar widget for users to click on. So I make it really simple and so I can halfassedly add additional properties to it, I put it in a <span> block. Adjusting the font color worked. Adding the font size worked. Hell, even the height between each line of text worked. But for the life of me I couldn't figure out why the block of text wouldn't properly align to the center (the text was fine, but it was off-center) Puzzled as heck, I asked my boss. "What about a <div>?" he said. I felt like a moron as I trudged back to my desk and replaced the "span" with "div" and lo and behold, it worked.

Of course, now the widget above it, which was aligned just fine before (because there was nothing under it) was misaligned. Now I had to fix that.

Dammit. Blank

It's a relatively small issue in the scheme of fixing things, I know. Whatever, man ):
(02-21-2015, 12:10 PM)Kosheh Wrote: [ -> ]Some of these replies are really painful to read, yikes
half of the things that break in your examples aren't really broken ):

Way to spoil the fun live wire.... Tongue
(02-21-2015, 12:10 PM)Kosheh Wrote: [ -> ]Yesterday, I was working on a few additional touch-ups for one of our clients (which is, in a humorous turn of events, is my former employer) and there was a request to add an additional sidebar widget for users to click on.  So I make it really simple and so I can halfassedly add additional properties to it, I put it in a <span> block. Adjusting the font color worked. Adding the font size worked. Hell, even the height between each line of text worked. But for the life of me I couldn't figure out why the block of text wouldn't properly align to the center (the text was fine, but it was off-center) Puzzled as heck, I asked my boss. "What about a <div>?" he said. I felt like a moron as I trudged back to my desk and replaced the "span" with "div" and lo and behold, it worked.

Set your new div to "display: inline-block;" and you should be good to go. Spans are inline elements and divs are block-level. By default, inline elements only take up enough space to display the content, which is why your centering wasn't working. On the other hand, divs take up all available space on their line by default but you can't put things next to them. An inline-block div combines the two, letting you give it a fixed width/height while still letting other elements flow around it.

I have no specific examples for this thread but I can absolutely confirm that fixing things in web design does often break other things. Like, I'm sure the left-aligned ads that I still haven't gotten around to fixing were caused by fixing something else in the header template...