Jump to content

  • Log In with Google      Sign In   
  • Create Account

Antheus

Member Since 03 Mar 2006
Offline Last Active May 31 2012 04:03 PM

Topics I've Started

One-time pad hack

28 February 2010 - 01:31 PM

Interesting. I was under the impression that authenticator is one time pad, which should make it safe from MitM and similar attacks. Not true OTP attack, but still effective enough.
Quote:
* The next time you log in World of Warcraft, the game asks for your Authenticator code. * The virus intercepts it, send it to another server, and sends a wrong one to Blizzard = You get an error. * The people behind the virus now have a few seconds/minutes to use the "real" code while it's valid to change your password / empty your account / guild bank.

Cloud gaming

30 December 2009 - 09:12 AM

There used to be an older thread about it, but seems to have expired. Either way, here is a recent presentation. If that thing delivers half of what it promises, then things are bound to change really soon. It's marketing, but does leave an impression. It's likely the final step towards the consumer vs. professional computer separation. As soon as the workload-heavy stuff can exist in web, then home computers might as well become dumb flash boxes, or one of those GoogleOSes. With IPTV and broadband penetration, and realistic numbers (80ms), effect on piracy (both by limiting distribution, as well as removing powerful capabilities from end-user) some bean counters are probably throwing a huge party right now.

Accurate math library

20 February 2008 - 12:27 AM

Does anyone know of a perfectly accurate math library? Something that would be capable of the following:
a = 1/3;
b = a * Pi;
c = b / Pi;

c == a; // true
Obviously, it would need internal and external representation, where evaluating a would result in 0.3333333, and b = 1.047198, but would preserve adequate information internally to be able to retain precision loss for as long as needed. Needless to say, internal storage would likely need to contain full expression. Just curious, don't have any pressing need for this.

Boost::flyweight

07 February 2008 - 03:34 PM

Very interesting And, it's been accepted. Depending on how well implemented it is (well, it's good, but is it suitable), this makes component based approach considerably more practical. And, apparently even supports serialization. If anything, this is one of very practical toolkits for networked games.

[C++] template pointer to member

04 December 2007 - 08:37 PM

I have the following templates:
template < class Owner, typename Type, Type Owner::*Var >
struct Foo {}

template < class Descriptor >
struct Bar {
  typedef Descriptor::Owner owner;
  typedef Descriptor::Type type;
  typedef ??? // what is Var?
}

When used, they look something like this:
typedef Foo<MyClass, MyType, &MyClass::some_variable> FooVariable;

typedef Bar<FooVariable> BarVariable;

typename BarVariable::owner; // ok
typename BarVariable::type // ok

How can I get the pointer-to-member template parameter (Var) in BarVariable from Descriptor parameter?

PARTNERS