Search found 294 matches

by bbguimaraes
Sat Aug 31, 2013 4:48 am
Forum: Current Events and Science/Technology
Topic: AdBlock Starts Full-Fledged Ad Campaign
Replies: 10
Views: 10243

Re: AdBlock Starts Full-Fledged Ad Campaign

Man, I would literally kill to have a second monitor at work... I didn't have one and my boss did.. i mentioned to him and the next day when I came into work my boss's monitor was sitting on my desk. Haha. We are close to fifty devs and ops guys in a single room, so I think it would be a little dif...
by bbguimaraes
Thu Aug 29, 2013 7:22 pm
Forum: Programming Discussion
Topic: Programming Trivia Questions [HELP ME OUT!]
Replies: 7
Views: 7003

Re: Programming Trivia Questions [HELP ME OUT!]

How about this: give me the declaration of a pointer to a function that takes a pointer to a function which accepts an int, const pointer to char and a pointer to a const double and returns an array of pointers to functions that accept a const pointer to const char and returns an array of pointers t...
by bbguimaraes
Thu Aug 29, 2013 7:09 pm
Forum: Current Events and Science/Technology
Topic: AdBlock Starts Full-Fledged Ad Campaign
Replies: 10
Views: 10243

Re: AdBlock Starts Full-Fledged Ad Campaign

Man, I would literally kill to have a second monitor at work...
by bbguimaraes
Sat Aug 24, 2013 7:14 am
Forum: Game Development
Topic: [SOLVED] OpenGL Sprite sheet clipping problem
Replies: 12
Views: 5183

Re: [SOLVED] OpenGL Sprite sheet clipping problem

dandymcgee wrote:Thanks for posting the code instead of just saying, "Nevermind, I fixed it."
http://xkcd.com/979/
by bbguimaraes
Thu Aug 22, 2013 5:40 pm
Forum: General/Off-Topic
Topic: Where did it all begin for you?
Replies: 45
Views: 23614

Re: Where did it all begin for you?

Falco Girgis wrote:While these boards probably seem dead to you guys,
What!? This is the best forum on the internet! It recently got blocked at work (damn you, Trend Micro!) and made me learn how to route traffic through my personal server just to access it.
by bbguimaraes
Wed Aug 14, 2013 5:21 am
Forum: Current Events and Science/Technology
Topic: SDL 2.0.0 Released
Replies: 4
Views: 7571

Re: SDL 2.0.0 Released

That is a great example of how linux development can benefit other operating systems. Valve surely was a major driving force on this release, when they started porting steam.
by bbguimaraes
Sat Aug 03, 2013 6:45 am
Forum: General Gaming
Topic: Dear Bethesda Fans
Replies: 2
Views: 6602

Re: Dear Bethesda Fans

Noooooooooooooooooooooooooooooooooooooooooo...
by bbguimaraes
Mon Jul 22, 2013 3:05 pm
Forum: Current Events and Science/Technology
Topic: Ubuntu Edge
Replies: 1
Views: 9343

Re: Ubuntu Edge

They'd have my 600 dollars now if it wasn't for the 50% tax we pay here in Brazil when importing stuff :cry:
by bbguimaraes
Fri Jul 19, 2013 6:12 am
Forum: General Gaming
Topic: Post every time you beat a game.
Replies: 629
Views: 854625

Re: Post every time you beat a game.

My cousin showed this game to me this weekend and I thought the same thing: they went through all the trouble to implement multiple engines and they just throw it away on a 4-hour game? He said the game is worth every penny, though.
by bbguimaraes
Thu Jul 18, 2013 12:08 pm
Forum: Programming Discussion
Topic: References vs. Copy of an Object[SOLVED]
Replies: 4
Views: 5931

Re: References vs. Copy of an Object

1. It is if creating a copy of Weapon is costly (e.g. it has a 1000 element array you have to copy). Actually, if I were to answer your question as-is: yes, passing a reference to an object instead of copying it is always more "memory efficient". Most of the times, though, this memory effi...
by bbguimaraes
Sun Jul 14, 2013 2:24 pm
Forum: Programming Discussion
Topic: C++ default operator= implementation
Replies: 12
Views: 8811

Re: C++ default operator= implementation

I'm pretty sure Foo g = f; is still using the copy constructor. The rest of the post is right on, though. P.S.: yeah, just tested it: class C { public: C() {} C(const C & other); C & operator=(const C & other) {} }; int main() { C c; C d = c; } $ g++ --version; g++ -o test test.cpp g++ (...
by bbguimaraes
Wed Jul 10, 2013 12:10 pm
Forum: Programming Discussion
Topic: Very weird google chrome issue with game.
Replies: 8
Views: 4451

Re: Very weird google chrome issue with game.

Sorry to revive a semi-dying thread, but I just found this. Basically it says some applications on windows (like google chrome) lower the (global) timer interrupt interval when they are running, which may cause the behavior you're seeing.
by bbguimaraes
Tue Jul 02, 2013 6:26 am
Forum: Programming Discussion
Topic: Hoooooooly Shit (C++11)
Replies: 9
Views: 5269

Re: Hoooooooly Shit (C++11)

I also appreciated the long-needed delete, override and default keywords for method declarations. It always seemed so wrong not to have them... These are the kind of features that are trivial to implement (most of the functionality is already there in the compiler), but make a huge difference for pe...
by bbguimaraes
Mon Jul 01, 2013 3:51 pm
Forum: Programming Discussion
Topic: Hoooooooly Shit (C++11)
Replies: 9
Views: 5269

Re: Hoooooooly Shit (C++11)

It does, doesn't it? It's incredible how such a simple (if you don't consider closures, of course) feature can change the way you look at a language.

Care to share some context? :mrgreen:
by bbguimaraes
Thu Jun 27, 2013 2:02 pm
Forum: Programming Discussion
Topic: Safe Division
Replies: 12
Views: 6349

Re: Safe Division

The best part is "p_fVal1 == 0". Gotta save those FPU cycles.