Testing Chat IV: A New Hope

Harder, Better, Faster, Stronger.
Locked
Message
Author
Dooey Jo
Posts: 568
Joined: Mon Sep 26, 2011 8:35 am

Re: Testing Chat IV: A New Hope

#926 Post by Dooey Jo »

Holy fuck! I was trying to figure out where an event called "Fuckballs" (lol not really) in a C# plugin actually got fired from and delved into the "C++" back-end, and found some code that seemed to be relevant.

Okay so it registers the OnFuckballs member function, let's see what it does...

wait a minute

There is no OnFuckballs what the christ! Furthermore the member variable nativeFuckballsCallback that registers the function doesn't even exist either! So I meticuously scan the class definition and find something that looks vaguely related

Code: Select all

SW_CALLBACK(CFucks, Fuckballs_t, Fuckballs);
what is this shit now. Welp let's go to "macros.hpp" and find out

Code: Select all

#define SW_CALLBACK(className, assType, callbackName) \
private: \
	CCallback<className, assType, false> native##callbackName##Callback; \
	void On##callbackName (assType *assData) \
	{ \
		CServices::Instance().CallManagedCallback(ECallbackID::callbackName, assData, sizeof(assType)); \
	}
:psypop:
changes access rules creates phantom variables and functions secretly depends on completely unrelated classes that are fucking singletons assumes a global enum value will exist fuuuuuuuuuuuuuuuck
ps the CFucks class itself is also a singleton and the CServices class secretly depends back on it too.

This brittle shit will break the minute someone who didn't invent it changes anything anywhere in the whole damn codebase.
DracuLax - when even Death can't scare the shit out of you


User avatar
Flagg
Posts: 2123
Joined: Mon Sep 26, 2011 2:45 am

Re: Testing Chat IV: A New Hope

#928 Post by Flagg »

Remember The Alamo Iran Contra.
CUNTS! FOR! EYES!
The Liberal Hate Machine

User avatar
Big Orangutan
Hipster
Posts: 338
Joined: Mon May 28, 2012 8:37 pm

Re: Testing Chat IV: A New Hope

#929 Post by Big Orangutan »

*Insert Pretentious Quote Here*

User avatar
RyanThunder
Knows Best
Posts: 725
Joined: Mon Oct 03, 2011 12:18 pm

Re: Testing Chat IV: A New Hope

#930 Post by RyanThunder »

Dooey Jo wrote:Holy fuck! I was trying to figure out where an event called "Fuckballs" (lol not really) in a C# plugin actually got fired from and delved into the "C++" back-end, and found some code that seemed to be relevant.

[...]

This brittle shit will break the minute someone who didn't invent it changes anything anywhere in the whole damn codebase.
Isn't third-party code fun? :sun:

User avatar
RogueIce
#YOLO
Posts: 2089
Joined: Mon Sep 26, 2011 4:57 pm

Re: Testing Chat IV: A New Hope

#931 Post by RogueIce »

You'll have to be more specific. Unless somehow thoughts of Reagan are somehow conjured by a joke about Equestria Girls which is the current comic as of this posting.

User avatar
Oxymoron
Posts: 4167
Joined: Tue Jan 03, 2012 4:18 pm

Re: Testing Chat IV: A New Hope

#932 Post by Oxymoron »

Reagan as a father figure helping a confused woman come to term with the fact she love another woman
No.

User avatar
RogueIce
#YOLO
Posts: 2089
Joined: Mon Sep 26, 2011 4:57 pm

Re: Testing Chat IV: A New Hope

#933 Post by RogueIce »

I was talking about, y'know, maybe a link or something. But close enough I suppose.

Dooey Jo
Posts: 568
Joined: Mon Sep 26, 2011 8:35 am

Re: Testing Chat IV: A New Hope

#934 Post by Dooey Jo »

RyanThunder wrote:Isn't third-party code fun? :sun:
It's in-house code, but none of its developers are still here :poop:

Sadly we have lot of fucked up code. I was told not to use threads to make the 3DS projects not freeze when doing something because that's too dangerous. Years later I was assigned to this project and wondered where the hell are all these random reference exceptions coming from. Then I realised almost everything in the whole code is a coroutine (hundreds of functions); a thread in denial. And since it is in denial, the original developers wrote literally no code to handle race hazards (which contrary to popular belief is not only a hardware issue but more importantly a logical issue). And since it is not a RAII-enabled language, coroutine-local resources (like sounds or even other coroutines) can't automatically be cleaned up if the coroutine is stopped before reaching a point the developer assumed it would. It is a fucking mess.

I should re-write the library to make the coroutines at least take some sort of context object as a construction parameter that will always be "cleaned up" (ie. notified) whether the coroutine finishes normally or is aborted. That could fix all the bugs caused by coroutines depending on other coroutines still executing and whatnot. Too bad it's too late and we're better off patching this shit up and then silently putting it to sleep and never mentioning it again.
DracuLax - when even Death can't scare the shit out of you

User avatar
RyanThunder
Knows Best
Posts: 725
Joined: Mon Oct 03, 2011 12:18 pm

Re: Testing Chat IV: A New Hope

#935 Post by RyanThunder »

And this is why I don't work on game engines, I guess.

On the other hand, you should've seen some of the shit we got from this vendor once. Fancied himself some sort of genius. It's like he read this and used it as a guideline. It didn't even work. We're still cleaning up his mess.

User avatar
Oxymoron
Posts: 4167
Joined: Tue Jan 03, 2012 4:18 pm

Re: Testing Chat IV: A New Hope

#936 Post by Oxymoron »

RogueIce wrote:I was talking about, y'know, maybe a link or something. But close enough I suppose.
Given it develops and build (the reader's sympathy toward "Ronnie") over the course of the comic and several literal years worth of a webcomic published three times a week... That's going to be hard to pinpoint.
No.

User avatar
Veef
Posts: 2065
Joined: Mon Sep 26, 2011 4:52 am

Re: Testing Chat IV: A New Hope

#937 Post by Veef »

I find it hard to believe Shortpacked could do anything about drama right.

User avatar
Oxymoron
Posts: 4167
Joined: Tue Jan 03, 2012 4:18 pm

Re: Testing Chat IV: A New Hope

#938 Post by Oxymoron »

's'not "drama", it's just finding sympathy for a character. But I guess when you archive binge 7 years worth of webcomic some things are cast in a different light than if you've read the thing as it happened.

Anyway, this seems topical.
No.

User avatar
RogueIce
#YOLO
Posts: 2089
Joined: Mon Sep 26, 2011 4:57 pm

Re: Testing Chat IV: A New Hope

#939 Post by RogueIce »

So maybe it's just the whole raised Catholic thing, but every time someone says, "May the Force be with you," I want to reply, "And also with you."

User avatar
Oxymoron
Posts: 4167
Joined: Tue Jan 03, 2012 4:18 pm

Re: Testing Chat IV: A New Hope

#940 Post by Oxymoron »

Maybe it's because I'm not big on Star Wars, but isn't it supposed to be what they do already ?

Or did I get confused with Star Trek ?
No.

User avatar
adr
Moon Prism Power, Make Up!
Posts: 1462
Joined: Fri Sep 07, 2012 10:59 pm

Re: Testing Chat IV: A New Hope

#941 Post by adr »

i have this d program that works without libraries. all it even wants from the operating system is write, exit, and mmap

so i wondered if i reimplement those three functions would it work without the operating system?

and the answer is yes! i used grub to boot it up, and my linux executable almost just worked, just a few different linker options then grub can load it

and boom the program runs w/o the OS. while still having much of D working, including exceptions and classes

pretty nice
In the name of the moon, I will punish you!

User avatar
Flagg
Posts: 2123
Joined: Mon Sep 26, 2011 2:45 am

Re: Testing Chat IV: A New Hope

#942 Post by Flagg »

RogueIce wrote:So maybe it's just the whole raised Catholic thing, but every time someone says, "May the Force be with you," I want to reply, "And also with you."
:lol: I have the same issue.
CUNTS! FOR! EYES!
The Liberal Hate Machine

Count Chocula
Liberal
Posts: 494
Joined: Mon Dec 12, 2011 3:13 am
Location: The other left coast

Re: Testing Chat IV: A New Hope

#943 Post by Count Chocula »

Flagg wrote:
RogueIce wrote:So maybe it's just the whole raised Catholic thing, but every time someone says, "May the Force be with you," I want to reply, "And also with you."
:lol: I have the same issue.
Now we're supposed to respond, "And with your spirit." I'm still getting used to that.
"We've already had this discussion before. I treated you of barbaric caveman then." - Oxymoron

"He killed 80 people in 2 days"
"...he's adopted." - The Avengers

User avatar
Civil War Man
Posts: 367
Joined: Mon Sep 26, 2011 2:36 pm

Re: Testing Chat IV: A New Hope

#944 Post by Civil War Man »

Count Chocula wrote:
Flagg wrote:
RogueIce wrote:So maybe it's just the whole raised Catholic thing, but every time someone says, "May the Force be with you," I want to reply, "And also with you."
:lol: I have the same issue.
Now we're supposed to respond, "And with your spirit." I'm still getting used to that.
That has fairly dark implications. Instead of wishing general goodwill, now it's just goodwill for the spirit.

Count Chocula
Liberal
Posts: 494
Joined: Mon Dec 12, 2011 3:13 am
Location: The other left coast

Re: Testing Chat IV: A New Hope

#945 Post by Count Chocula »

Civil War Man wrote:
Count Chocula wrote:
Flagg wrote:
RogueIce wrote:So maybe it's just the whole raised Catholic thing, but every time someone says, "May the Force be with you," I want to reply, "And also with you."
:lol: I have the same issue.
Now we're supposed to respond, "And with your spirit." I'm still getting used to that.
That has fairly dark implications. Instead of wishing general goodwill, now it's just goodwill for the spirit.
Yeah, and now during Eucharist one of the priest's lines is "...the Blood of the new and eternal covenant, which will be poured out for you and for MANY for the forgiveness of sins.(emphasis added)"

That line used to be "It will be shed for you and for ALL so that sins may be forgiven. (emphasis added)"

The change is supposed to better match the Old Testament, but it still sounds strange. Thanks Vatican! :poop:
"We've already had this discussion before. I treated you of barbaric caveman then." - Oxymoron

"He killed 80 people in 2 days"
"...he's adopted." - The Avengers

User avatar
Jung
Posts: 365
Joined: Fri Jun 08, 2012 8:53 pm

Re: Testing Chat IV: A New Hope

#946 Post by Jung »

From SDN:
KlavoHunter wrote:No, the "After Darkness" comic is already taking care of the Pon Farr thing. They're already at New Vulcan to deal with it.
KlavoHunter wrote:the "After Darkness" comic
KlavoHunter wrote:"After Darkness"
Seriously? Is this some kind of porn, or is it supposed to be a 'serious' thing?

Cause "After Darkness" sounds hilariously like a porno title to me.

User avatar
evilsoup
Posts: 2354
Joined: Thu May 24, 2012 12:01 pm

Re: Testing Chat IV: A New Hope

#947 Post by evilsoup »

Image

User avatar
RogueIce
#YOLO
Posts: 2089
Joined: Mon Sep 26, 2011 4:57 pm

Re: Testing Chat IV: A New Hope

#948 Post by RogueIce »

Reminds me of 98% of STO Boff crews. :riker:

User avatar
Bakustra
Religious Fifth Columnist Who Hates Science, Especially Evolution
Posts: 1216
Joined: Mon Sep 26, 2011 12:32 pm
Location: Wherever I go, there are nothing but punks like you.

Re: Testing Chat IV: A New Hope

#949 Post by Bakustra »

Image

User avatar
RogueIce
#YOLO
Posts: 2089
Joined: Mon Sep 26, 2011 4:57 pm

Re: Testing Chat IV: A New Hope

#950 Post by RogueIce »

Is that referring to Spock...or Kirk? :v

Locked