Messages - kamahl [ switch to compact view ]

Pages: prev1 2 [3] 4 5 6 7 8 ... 10next
11
There is one potential reason that some languages (C++ springs to mind) would have a difference between !(x==y) and x!=y

When making a class in c++ (And some derived languages), you may overload the == operator.  Doing so allows you to check if two instances are equal, even if they are not references to the same instance.  The thing you have to remember is that the C++ compiler will not automatically overload the != operator for you. As such, if the programmer of a class has forgotten to include something similar to the following,
bool MyClass::operator!=(const MyClass &other) const {
    return !(*this == other);
  }
then !(x==y) will use your equality operator, while x!=y will simply check if they are the same instance.

So yes, when dealing with poorly written code, there is a difference between the two, but only in some languages, and only if the class in question wasn't implemented properly. 

12
N.A.N.Y. 2012 / [CANCELED]: Dungeon AI
« on: July 19, 2011, 05:02 AM »
Recently I have been wanting to play more D&D rather than just DMing all the time. Unfortunately nobody I know is willing to step up as a DM at the moment.   As such, I've decided to make my computer do so for me :P

Basically, DungeonAI is an application that can act as a GameMaster for D&D4E, complete with battlemap and condition/HP tracking.  

I'll probably code it in Java.  More details to come soon.

PS:  I don't actually have an internet connection right now, so I won't respond to this post for a couple days. :-[

13
Any documentatiuon on how to expose the changelog?

14
I could make this relatively easily. I have two options:
  • Have a client-only program that uses PSExec to launch your mail app
  • Make both client and serverside applications.
Having a serverside application means several things:
  • You don't need to give the software the password for your other computer.
  • It knows whether it was successful
  • It requires the server app to be running.
  • It will be more reliable than PSExec

(I assume that somebody is still interested in this app?)

15
TabRocket is a must for anyone who uses more than one computer.  It basically allows you to push a tab from one computer to another.  (Requires that you use chrome's Bookmark Sync)

Pages: prev1 2 [3] 4 5 6 7 8 ... 10next
Go to full version