Search results

  1. camelCase

    World G20 ends abruptly as Obama calls Putin a Jackass

    NOTE: This is satirical news, and should NOT be taken seriously. ST. PETERSBURG (The Borowitz Report)—Hopes for a positive G20 summit crumbled today as President Obama blurted to Russia’s Vladimir Putin at a joint press appearance, “Everyone here thinks you’re a jackass.” The press corps...
  2. camelCase

    Find out how your female half looks like with OkCupid!

    So, yeah. A friend got a girlfriend from OkCupid and showed me how it works and I got a crazy idea. Let's do this shit.
  3. camelCase

    PHP Error 2014: Commands out of sync; you can't run this command now

    Okay, so, I've got this school project I've been working on using my laptop as a server. However, I cannot submit it without putting it on the school's servers. My lecturer finally gave me access to it and I finally was able to start migrating my project there. After fixing a tonne of smaller...
  4. camelCase

    const char* address and string literals. Should I rely on this behaviour?

    Consider the following: class Base { public: Base (char const* s) : str (s) {} char const* str; }; class Derived : public Base { public: Derived () : Base("Test") {} }; int main () { Derived d1; Derived d2...
  5. camelCase

    Sci/Tech Scientists Condemn Destruction of Golden Rice Field Trial

    Scientists are striking back at activists who destroyed genetically modified (GM) "golden rice" plants in a test field in the Philippines last week. "It is an unconscionable criminal act to destroy a field trial conducted in accordance to international safety norms," reads an online petition...
  6. camelCase

    Useful Game Math?

    So, I've got a "Game Math and Physics" module coming up next semester. However, I'll be the only student taking it. This is because while everyone else was taking the module, I was away on an internship. Now, when everyone is on their internship.. I'll be taking "Game Math and Physics". The...
  7. camelCase

    [C++]Quick question about passing by value

    Say, I have this Utility class that only has one member variable. class SomeHelper { public: //Constructor, methods, etc. private: float someFloat; }; Would it be more efficient to pass it around by value or by reference if I don't need to modify the value of...
  8. camelCase

    Sci/Tech Obama vetoes ITC ban on older AT&T-compatible iPhones and iPads (Update: Samsung responds)

    Remember that ITC ban on the import, sale and distribution of some AT&T-compatible iPhone 3G, 3GS, 4, iPad 3G and iPad 2 3G models Samsung won in June? The Obama administration has officially vetoed the ruling. A letter issued to Irving A. Williamson, Chairman of the U.S. International Trade...
  9. camelCase

    Oblivion (2013)

    http://www.imdb.com/title/tt1483013/ Short and simple description. I watched the movie and I cried. Fuck you, Sally.
  10. camelCase

    C++ Template Problem

    All right, so it's been a long time since I used C++.. And even longer since I used templates. I understand that I may be using templates in a weird way, if you'll look at the two bits of code below, but I assure you that I have a valid reason for doing so =P I encountered a problem and...
  11. camelCase

    What, exactly, IS a computer virus?

    I know I could just Google it and get a wealth of information. Anyway, I was bored today and decided I'd try making a little virus in C#. Not particularly sophisticated at all and anyone smart enough would notice it's a virus program and not open it. I have zero knowledge about what viruses...
  12. camelCase

    World Nigerian survives two days at sea, in underwater air pocket

    Harrison Okene, 29, was on board the tug boat Jascon-4 when it capsized in heavy swells. It sank to the seabed, upside down, but Mr Harrison was trapped in an air pocket and able to breathe. Of the other 12 people on board, 10 bodies have already been found and Mr Harrison is assumed to be the...
  13. camelCase

    2D Sprite Attempts

    So, I recently got conscious about only using artworks legally. With my budget of zero, I can get CC0 or CC BY 3.0 artworks or.. Make my own. So, I decided to make my own. They look decent to me but I don't want a game where an artist plays and suddenly goes, "Look at that ugly shading...
  14. camelCase

    [Android] Mini-Game "Bally"

    Bally is a side-scrolling 2D platformer; very basic ball and platform game. Travel as far-right as possible while avoiding spikes. I've tried to make the game as screen-resolution independent as possible, so tell me if you find any weird bugs =x As proof, the screen shots are taken with an...
  15. camelCase

    What pattern is this?

    So, I had this problem where I had a class with a Vector2 instance which I wanted the class to have read-write access to internally but give other classes read access only. My original solution (which was crap) was to pass a boolean into the Vector2's constructor that would indicate if it was...
  16. camelCase

    Gaming Oculus VR co-founder, 33, killed by speeding car

    Andrew Scott Reisse, co-founder of the company that made the Oculus Rift virtual-reality headset, was struck and killed while walking in a crosswalk Thursday, ABC has reported. Andrew Scott Reisse (Credit: KABCTV) The 33-year-old co-founder and lead engineer at Oculus VR in Irvine, Calif., was...
  17. camelCase

    Code architecture and design for resource constrained environments

    So, I'm in school now where I can't access Facebook or Stack Overflow so I can't ask anyone else. There was a dispute between my lecturer and I regarding code architecture and design when developing apps for resource constrained environments (like mobile phones). My game has 112 classes. 70...
  18. camelCase

    [Java (Android)] Thread safety vs. GC

    I'm taking this module which forces us to use the Android SDK, which, "yay", is in Java. I was working on a game halfway through and realized that the frame rate was dropping as I progressed, so I ran the app through a profiler and saw that it was my Vector2 math class that was causing it...
  19. camelCase

    Sci/Tech This $22K sniper rifle comes with a WiFi server, USB ports, an iPad mini … and aims itself

    If only Duke Nukem could see this BFG. The new TrackingPoint sniper rifle doesn’t fire when you pull the trigger. Rather, it fires when it knows it will hit the target you’re aiming at. And then streams video to the included iPad mini to allow you to share your hunting or sharpshooting...
  20. camelCase

    Crime Undercover police using dead children's identities was 'common practice' at Scotland Yard

    The use of dead children’s identities to create aliases for undercover police officers was ‘common practice’, a senior officer has admitted. But none of the families of the children had been contacted by police, Chief Constable Mick Creedon said. He is investigating undercover policing...
Top