The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
And also if you like resource management type things, check out the Industrial Craft[^] mod. This mod has stolen many days from my life (and it's got server-side support as well, so you can find online communities running it).
Shut down, move it to a different USB port, and reboot.
If that doesn't work, go do Device Manager and uninstall the driver, then refresh the Device Manager to reinstall it (on Weven, "Scan for Changes").
If that doesn't work, run a disc scan, to look for/repair bad sectors.
If it's still no good, then look for any software that you installed when you first got the device (if anything), and:
- Check each executable and DLL in its installation directory for dependencies (Dependency Walker is good for this), making a note of any that are outside of the device's proprietary directory (e.g. in the Windows dir/system dir/shared dirs).
- Uninstall the software, making sure that the proprietary directory it was installed to is really gone (i.e. delete it manually, if it's still there).
- Check any of the dependencies to files in other directories. If the files were made by the company that made the device. rename them (as long as the device wasn't made by Microsoft).
- You can get rid of any registry entries, too, if you do that kind of thing (if you've never edited a Win registry, leave it).
If that doesn't fix it, you'll probably have to settle for getting some new hardware.
I wanna be a eunuchs developer! Pass me a bread knife!
I have been turning away from .Net lately and looking for alternatives. I don't want to have to rewrite everything when a certain company heads into a different direction once more.
My answer is C++. I always liked its flexibility to allow you to do very low level programming just as well as very high level programming. And today I stumbled over this video[^], in which Bjarne Stroustrup answers two simple questions.
Now I know why I like C++ so much. Thanks, Bjarne.
I like C++, but I don't like what it's turning into (and how many code designs insist on the most complicated implementations.) Moreover, just because something could be represented as an object and in a hierarchy doesn't mean that it should be.
That's not limited to C++. I have encountered four different types, what architecture and class design are concerned:
1) Archi... what? (perfect chaos)
2) Get the job done and worry about future problems when they arise.
3) Must use every pattern in the book at least once in every project. And at least one or two of my own.
4) Software as a religion, with the one and only way to do things. All others lead straight to hell. (Strict order, but absolutely helpless when something happens that is not dealt with in their particular bible)
I attempt to live C++ actually.
I use to be in C programming. There was nothing about objection, overload etc.
Now I do work in C++, during for 4 months I can used to program with it.
Can somebody give some advises how to learn C++ or how can I get much progress ASAP ?
1) Learn C, especially how to write functions. A C++ object's methods work very much like C functions. You will be able to use your experience with C here.
2) Learn about object orientation by understanding the concept. The way the concepts are implemented in C++ (or any other language) are secondary at the moment. Begin with understanding what an object actually is: A data structure with attached functions to allow safe manipulation of the data inside that structure.
3) Learn the difference between a class (the definition) and objects (individual instances of a class). That will lead you to learning about the basic lifecycle of an object. Allocation of memory and automatic execution of the constructor when you create a new object with 'new', and automatic execution of the destructor and freeing memory when you destroy an object with 'delete'. Despite their somewhat scary names, constructors and destructors are just functions which are called automatically when you create or destroy objects. It's very important that you learn to use them to initialize or clean up an object.
4) Learn to use encapsulation to divide up the internal state of an object and its external interface. Other objects can only access methods or member variables of an object which you have declared as 'public'. They get no access to the members you declare to be 'private'. This way you can limit how the object's state is altered from the outside and keep it valid at all times. Limitations and restrictions may sound like a bad thing, but in reality they are your best friend.
5) Learn how to use inheritance and how to design class hierarchies. It's a powerful instrument for writing type safe code and avoiding redundancy. It is also an instrument you have to learn to play well, because it can also quickly lead to bad design.
Speaking of bad design: C++ allows classes and functions to be 'friends' of other classes. That actually means breaking the encapsulation. Like feeling the need to use 'goto', it's a sign that you should rethink your design.