News for hackers. Stuff that matters.
Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by nailer on Saturday May 27, 2023 @05:24PM (#36098470)
Short version: he’s the lead dev (and lead designer, created fallout, and much more).

There is a showstopper bug that is hard to reproduce they effectively bisect the code until they find it.

They fix the bug. He is asked whose error it was by his boss, and to protect the person, he says it’s not important. His bonus - keep in mind he created a new successful IP from scratch - is drastically reduced as a result.

Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by rowanG077 on Saturday May 27, 2023 @06:09PM (#36098876)
Wow. Insane that he lost his bonus for being a good lead dev.

Some dev had put the classic `<=` instead of `<` in a for loop check and the for loop body promptly corrupted some memory leading to heisencrashes. It took weeks to narrow done with 10+ hour days. Once they did and fixed it the boss asked for a name who had written the code. Timothy did not bend. Boss was salty and cut his bonus.

Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by zabzonk on Saturday May 27, 2023 @07:41PM (#36099578)
whenever i see '<=' in code, my bug detectors start twitching. to begin with, doing effectively two tests in one always seems to over-complicate things.
Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by symlinkk on Saturday May 27, 2023 @07:48PM (#36099625)
Seriously?
Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by zabzonk on Saturday May 27, 2023 @07:49PM (#36099638)
yep - i am not saying there are no cases for using it, but use of it is always worth looking at.
Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by CamperBob2 on Saturday May 27, 2023 @08:28PM (#36099908)
Same whenever I see a do...while loop.

Nothing wrong with a do...while loop, but I've learned to look twice when crossing that particular street. Most loops that don't have bugs tend to support zero iterations seamlessly and inherently.

Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by dllthomas on Saturday May 27, 2023 @10:27PM (#36100584)
If you squint, aren't those the same case?
Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by zabzonk on Saturday May 27, 2023 @11:03PM (#36100776)
um, a do...while always does something at least once - a for-loop not.
Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by dllthomas on Saturday May 27, 2023 @11:14PM (#36100832)
I was trying to say that the difference between a for loop with < and a for loop with <= is roughly the same as the difference between a while loop and a do-while loop, and to whatever degree that's true they might be due suspicion for the same reason.
Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by jonhohle on Saturday May 27, 2023 @11:56PM (#36100985)
I agree with parent. do-while communicates that a thing will always execute once, and maybe more, and a while or for loop (even in the higher level for-each/for-in case) may never execute at all.

Being able to choose the right control structure (and data structures) can provide additional information to the correctness of the code than arbitrary choices which may perform the same function. Choosing the Most expressive options may or may not conflict with performance, in which case, comments are helpful to describe why more obvious approaches weren’t taken.

Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by dllthomas on Sunday May 28, 2023 @01:34PM (#36106065)
zabzonk is obviously correct about the behavior of the control structures - that's not something I ever meant to disagree about.

The thread had had one poster state they find <= suspicious in a for loop, and another about any do-while loop. I don't think these are literally the same thing (hence "if you squint") but I think they share a meaningful similarity of adding an extra pass through the loop compared to the other form and I thought that was interesting.

Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by derefr on Saturday May 27, 2023 @08:24PM (#36099883)
x <= y isn't two tests.

In a low-level sense, branch-if-greater-or-equal is one instruction even on RISC machines — and not one any more "complex" than branch-if-greater.

In an abstract boolean-algebra sense, x <= y is the same as !(x > y).

Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by zabzonk on Saturday May 27, 2023 @08:54PM (#36100037)
> x <= y is the same as !(x > y)

i.e. two tests, or perhaps i should say logical operations. i'm not saying don't use '<=', but do check that it is doing what you think it should.

Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by derefr on Saturday May 27, 2023 @09:05PM (#36100108)
Let me put it another way: the following are the same code:

if: x <= y, do: foo(), else: nothing()

if: y < x, do: nothing(), else: foo()

Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by AugurCognito on Sunday May 28, 2023 @03:43AM (#36102001)
Shouldn't the last statement be:

if: y > x, do: nothing(), else: foo()

Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by rurban on Sunday May 28, 2023 @10:42AM (#36104392)
Nope, order of evaluation might matter with impure code.
Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by rowanG077 on Wednesday May 31, 2023 @08:50AM (#36137745)
How exactly? Well there is an extreme case where x and y are volatile but even then the order is implementation defined so I can't see a world where it matters.
Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by rgbgraph on Saturday May 27, 2023 @09:19PM (#36100178)
This form is basically always used for enumeration.

Might as well just do (x != y); unless you're specifically looking to guard against erroneous bitflips that would be caught by the prior (x < y), but not the former. But at that point -- it's likely your result is going to be garbage.

In essence they're the same; but one you never have to think about whether you're using it correctly.

Can anyone find a reason not to swap out (x < y) for (x != y)?

Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by olkingcole on Saturday May 27, 2023 @09:39PM (#36100293)
(If I'm understanding correctly) one example is if have two places where you x++ in the loop, so if you make an error in there you might end up hitting both of them and incrementing from y-1 to y+1.
Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by rowanG077 on Saturday May 27, 2023 @09:30PM (#36100247)
`<` communicates the intent way better. It also more readable

Example: The loop should run as long as the counter is smaller then 10. `i /= 10` achieves the same thing but communicates something very different. It implies `i` may be changed inside the loop to become larger then 10. The condition itself implies a larger valid state space.

Anyway it's a moot point anyway. Modern languages have much better looping constructs.

Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by rincebrain on Sunday May 28, 2023 @10:35AM (#36104333)
If you have a bug and produce x+=2, you never terminate?

One might argue corrupting much larger swathes of memory is better from a "fail-fast" perspective, but there's always tradeoffs.

Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by thrwy41 on Saturday May 27, 2023 @06:50PM (#36099192)
Perhaps it was him (and that is what they assumed when they cut his bonus)
Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by pimlottc on Saturday May 27, 2023 @06:15PM (#36098928)
The title has been changed from first person to third person, making it sound like it's a piece from some video game history vlogger. In fact, it's actually a first-hand account from the man himself.

"Timothy Cain: Why I Left Fallout 2" would be a better title.

Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by hartator on Saturday May 27, 2023 @06:20PM (#36098967)
Seems super unfair indeed.
Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by thrwy41 on Saturday May 27, 2023 @06:57PM (#36099253)
Is it? As the tech lead, it is his responsibility or fault either way that such errors do not make it the code or find them if that happens. If the project is delayed and you miss some big sale day or something, it does not sound so unfair that his bonus is cut.

I am not fully sold on the idea of him losing a bonus is 100% because he defended the person who did it.

Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by gravypod on Saturday May 27, 2023 @07:24PM (#36099437)
> If the project is delayed and you miss some big sale day or something, it does not sound so unfair that his bonus is cut.

If the Goose needs a few more days to lay the golden egg should you reduce it's food budget?

Seems kind of short sighted to punish your high performers. I can think of multiple times this happened in my career.

> I am not fully sold on the idea of him losing a bonus is 100% because he defended the person who did it.

He seems to say in the video that part of it was not fingering who did the bug and the other was that his boss wanted someone else's bonus to be higher so he removed some of Tim's bonus.

Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by thrwy41 on Saturday May 27, 2023 @07:34PM (#36099512)
Another post here says "it took weeks 10+ hours day to fins it", which sounds like a major fuck up if that results with you are missing a deadline or cutting features
Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by h0l0cube on Saturday May 27, 2023 @08:52PM (#36100025)
> a major fuck up

Any experienced programmer knows off-by-one errors are very common. There’s even a joke about it:

> There are two hard things in computer science: cache invalidation, naming things, and off-by-one errors.

The real fuck up is the common sin of games industry ownership and management that applies unrealistic timelines to AAA games development which, especially in the days of in-house built render engines, were some of the most complicated software engineering endeavours around.

Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by h0l0cube on Saturday May 27, 2023 @07:20PM (#36099411)
> Is it?

It absolutely is. Timothy brought the company a whole new profitable franchise. Based on that alone it would have been fair to compensate him well. That he was also in the middle of building the sequel under duress made it also the sensible thing to do. Late 90s and 00s games companies were toxic places to work, and getting demoted or fired due to a simple off-by-one error in a memory unsafe language is not reasonable, it’s extreme. But it was still the norm for the unhinged management of these games companies that couldn’t grasp the huge risks involved with games development, and were also unwilling to appropriately budget or compensate their staff for it.

Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by gravypod on Saturday May 27, 2023 @07:27PM (#36099459)
> But it was still the norm for the unhinged management of these games companies

The oddest thing to me is that he claims he heard about this when opening the check. I don't know how I would have reacted to that but it would not be well. Definitely not with enough grace to go home before writing a resignation.

Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by thevagrant on Saturday May 27, 2023 @07:19PM (#36099399)
Considering how successful the game was, it was unfair.

It would be different if it had flopped or the bug was released and impacted sales significantly

Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by adql on Saturday May 27, 2023 @07:52PM (#36099655)
The point of a bonus is to motivate worker to give their best.

But if they are already doing that (say, they are making a video game and it is their passion), work extra hours, and on top of that get their bonus cut coz of nothing they can reasonably affect, that just kills morale

Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by sogen on Saturday May 27, 2023 @08:16PM (#36099829)
Just read newest Zelda game got delayed 1 year to polish it.
Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by CamperBob2 on Saturday May 27, 2023 @08:38PM (#36099952)
And Valve rewrote Half-Life almost from scratch when they finished it and realized that it sucked.

I don't think anybody lost any bonuses over that decision. Not in the long run. Sure, running late on a project is a Bad Thing, but nobody will remember it if you eventually get a quality product out the door.

Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by sogen on Sunday May 28, 2023 @11:29AM (#36104868)
Yeah, and look at Valve now: TF2, all the half life games, Portal!

Edit: Steam and the Steam Deck!

Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by wyldfire on Saturday May 27, 2023 @08:55PM (#36100040)
I think you can read your boss - if they look pissed that you don't disclose the name or they keep asking - that's pretty plain.

Is Cain responsible for the quality? Yes. But IMO the boss should have delegated handling of the issue to him instead of retaliating for apparent insubordination.

He could legitimately complain that Cain provided insufficient process and controls to prevent junior devs from making critical errors. But looking for a scapegoat is indicative of bad management.

Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by ajkjk on Saturday May 27, 2023 @09:41PM (#36100299)
Sounds like a better outcome would be firing his boss for the stupid idea to that someone's bonus should depend on a largely unpredictable process working predictably.
Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by throwaway5959 on Saturday May 27, 2023 @10:10PM (#36100482)
Blameless postmortems are blameless for a reason. People shouldn’t get fired (or really even reprimanded) for bugs. It sets up the wrong incentives.
Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by otikik on Sunday May 28, 2023 @03:17AM (#36101868)
Forgive me for saying this, but you don’t seem to know how programming works. Requiring that a program doesn’t have bugs, or that the bugs are found immediately, is like asking the wind not to blow.
Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by syngrog66 on Saturday May 27, 2023 @07:06PM (#36099319)
Fallout fans might be interested in a game I've been building. (see my bio if curious.)

Fallout, Idiocracy, HHGG and The Princess Bride are all heavy inspirations and influences on both its style and world design.

Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by sogen on Saturday May 27, 2023 @08:15PM (#36099815)
Turn-based?
Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by wyldfire on Saturday May 27, 2023 @08:57PM (#36100049)
Well...sort-of. it's definitely not realtime ;)

Took a look and it seems like it's text-based IF like Infocom games.

Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by syngrog66 on Saturday May 27, 2023 @10:46PM (#36100675)
close!

its a text-and-terminal style UX at moment. so we have some Infocom/IF like-modes, but also have true Rogue-like-looking UI elements where those fit. (I should revise the project page to make clear. But Itch.io forced me to pick a category)

I want the best of both.

Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by sogen on Sunday May 28, 2023 @11:28AM (#36104855)
Thanks!
Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by jsiepkes on Sunday May 28, 2023 @05:08AM (#36102371)
I encourage everyone to also look at his follow-up video called "Listening To My Stories With Nuance":

https://www.youtube.com/watch?v=VyQgWh-XAxs

Re:Why Timothy Cain creator of Fallout left Fallout 2 during... by gmerc on Sunday May 28, 2023 @01:24PM (#36105967)
Interplay was bad all around.

They lost BioWare to similar reasons. They cheated on the sales metrics (underreporting sales to Bioware ) on Baldurs Gate and other titles to scam them out their royalties but got caught.

The resulting situation involving lawyers with Bioware walking with the in progress game and IP, the D&D 3.0 title Neverwinter Nights to Atari leaving Interplay without its even more successful innovator and dooming Black Isle.

Fun fact - The master server design for neverwinter multiplayer was to large parts put in place to detect publisher royalty cheating not because of piracy concerns. And sure as hell Atari once tried to sell a large bunch of NWN expansion pack in Germany with copied keys, not understanding that the master server design meant uniquely issued keys rather than the 90s algorithmic ones.

To this day Interplay lives as a zombified parasitic scam organism trying to attach itself to new opportunities every once in a while.