This much is obvious, since "to program" means "to write code".
> not use-case diagrams or class models
Again, this is obvious because you don't use use-case diagrams or class models when you code. You use them when you design. Design should come before you even write one line of code.
DirectX encompasses more than just rendering graphics on the screen. It also includes APIs for input, sound, network I/O, and more. On Windows, Q3 doesn't use the 3D rendering aspects of the API suite, but it uses the rest of it to handle everything else.
Actually no, Fox and Dana didn't have a love child. Apparently they did have sex at the end of the season finale of last season (and was confirmed in one of the episodes this season), but Dana's baby was already born by then.
How can you not follow him yet know what he is trying to communicate?
The point he was trying to make is that C pretty much allows you to cast an object of one type to some other type. The newer C++ cast operators do not.
However, if you need the freedom the older C cast operation allows, theres nothing stopping you from using them...
Just having a nakid dumb pointer point to memory allocated off the free store is generally frowned upon these days. You should wrap up the dumb pointer inside a smart pointer. The standard comes with one, std::auto_ptr. However, that one doesn't work with dynamically allocated arrays (but then again, why the hell are you using an array instead of a container?). It also has some less-than-obvious semantics involving what happens when you do a copy of the smart pointer and when you do assignment of said smart pointer.
Here, the memory allocated is automatically free'd when the scope in which the smart pointer is declared goes out-of-scope. The reason for this is pretty simple: std::auto_ptr is a stack allocated object. Destructors for stack allocated objects are guaranteed (more or less) to be called. The destructor for std::auto_ptr does the delete on the wrapped dumb pointer.
You can probably see how you can extend this mechanism to implement more advanced forms of garbage collection. In fact, the Boost library has a set of smart pointer classes which does exactly that (using reference counting).
> Can you prove otherwise? And really, what does > this have to do with the topic at hand? I > think you have some unresolved issues.
Not being able to prove that an afterlife does not exist does not mean that it does.
The fact is, Christian doctrine gives you no real reason to believe that an afterlife does exist. Given that, why should you believe it does? It is like saying I can't prove you did not murder someone, therefore you did murder someone.
> So when did a fish, of ANY kind, decide to
> jump out of the water
Mudskippers do this all the time.
> walk upright on dry land?
This statement further supports the notion that creationists of the fundamentalist variety are unable to comprehend the timescales involved in the evolution of species.
This is just pure speculation on my part, but I suspect most people who code using MFC probably didn't learn MFC because they wanted to but probably because they felt they needed to. From what I understand, MFC proficiency is still very valuable and will help you land a Windows developer position if that is what you want to do.
I'm still wondering if I should devote some time into learning MFC. I'm leaning towards "yes". I for one don't mind developing for Windows as the amount of jobs available for Windows developers are plentiful. I wish somebody could give me a straight answer if learning MFC at this point is a waste of time or not.
> Qt is supposed to be cross platform and native
> L&F
Cross platform, yes. Native L&F, no. Qt implements its own widgets across all supported platforms.
For a cross platform class library that wraps around the native widget set of the target platform check out wxWindows at http://www.wxwindows.org. Very featureful and totally free. Only downside is that while the available documentation is quite extensive, theres still a slight learning curve in getting started coding for wxWindows. The available tutorials combined with the (extremely) helpful mailing list does help to alleviate this somewhat. Truly great stuff IMHO.
My MS ForceFeedback Sidewinder Joystick worked great in Win2k (I use WinXP now). Too bad the only game I have that "requires" a joystick is Mechwarrior 4:-/. What a waste of a $100...
In the ST:TNG where Data is introduced to his android mother, Data explains that her body has the ability to appear to age just like his body can. So they already explained why Data appears to age.
- Arcadio
Re:i know i shouldn't reply to a troll, but...
on
KDE 3.0 Screenshots
·
· Score: 1
> the new windows xp user interface has a two
> styles: blubbly mess in blue, brown or silver
> or (now get this!) the original windows
> interface. all these themes are just
> microsoft's attempt to catch up with the
> aesthetics of macos x and the x window manages
> and desktops.
Actually, you can get additional themes for Windows XP. Granted, the ones I've seen so far have been pretty lame but I expect the situation to improve with time.
> Which, seeing as I had a swap partition,
> forced me to allocate an additional swap
> partition (so I stole a gigabyte from my
> Win98SE paritition 8-P).
Just so you know in the future, you could've made an additional swap file with dd(1), run mkswap(8) on it, then did a swapon(8) on the file to dynamically add more swap space in addition to your swap partition.
Radix sort with counting sort used as the stable sort procedure runs in linear time. The point is the run-time of radix sort depends on the stable sort procedure you use.
> Gee, perhaps because that was what the guy
> asked?!
Man, what in the blue hell are you talking about? You were the one who said that WinXP Home wasn't an upgrade to Win2k and that you "actually get less with XP" because of that. Which is logical: since WinXP Home is not an upgrade to Win2k it would make sense that you might "get less". Hence the "no shit Sherlock" from me.
Who is this other guy you are referring to?
At any rate, at the time of this writing your post has been modded down to "Troll" as it should be, thus renewing my faith in the Slashdot moderation system.
> When I am really programming, I write code
This much is obvious, since "to program" means "to write code".
> not use-case diagrams or class models
Again, this is obvious because you don't use use-case diagrams or class models when you code. You use them when you design. Design should come before you even write one line of code.
DirectX encompasses more than just rendering graphics on the screen. It also includes APIs for input, sound, network I/O, and more. On Windows, Q3 doesn't use the 3D rendering aspects of the API suite, but it uses the rest of it to handle everything else.
Try JEsd. It's a Java implementation of EsounD and actually works pretty well.
-Arcadio
Actually no, Fox and Dana didn't have a love child. Apparently they did have sex at the end of the season finale of last season (and was confirmed in one of the episodes this season), but Dana's baby was already born by then.
- Arcadio
How can you not follow him yet know what he is trying to communicate?
The point he was trying to make is that C pretty much allows you to cast an object of one type to some other type. The newer C++ cast operators do not.
However, if you need the freedom the older C cast operation allows, theres nothing stopping you from using them...
- Arcadio
Just having a nakid dumb pointer point to memory allocated off the free store is generally frowned upon these days. You should wrap up the dumb pointer inside a smart pointer. The standard comes with one, std::auto_ptr. However, that one doesn't work with dynamically allocated arrays (but then again, why the hell are you using an array instead of a container?). It also has some less-than-obvious semantics involving what happens when you do a copy of the smart pointer and when you do assignment of said smart pointer.
// handle exceptions
Some example code:
try {
std::auto_ptr o(new MyClass());
o->doSomethingNeat();
}
catch(...) {
}
Here, the memory allocated is automatically free'd when the scope in which the smart pointer is declared goes out-of-scope. The reason for this is pretty simple: std::auto_ptr is a stack allocated object. Destructors for stack allocated objects are guaranteed (more or less) to be called. The destructor for std::auto_ptr does the delete on the wrapped dumb pointer.
You can probably see how you can extend this mechanism to implement more advanced forms of garbage collection. In fact, the Boost library has a set of smart pointer classes which does exactly that (using reference counting).
- Arcadio
> Can you prove otherwise? And really, what does
> this have to do with the topic at hand? I
> think you have some unresolved issues.
Not being able to prove that an afterlife does not exist does not mean that it does.
The fact is, Christian doctrine gives you no real reason to believe that an afterlife does exist. Given that, why should you believe it does? It is like saying I can't prove you did not murder someone, therefore you did murder someone.
- Arcadio
> i do my remote admin using ssh, not x. i won't
> isntall x on my server because it slows it down
WTF? All you need on the server are the X runtime libs and the X clients. How they hell will that "slow it down"?
- Arcadio
> So when did a fish, of ANY kind, decide to
> jump out of the water
Mudskippers do this all the time.
> walk upright on dry land?
This statement further supports the notion that creationists of the fundamentalist variety are unable to comprehend the timescales involved in the evolution of species.
- Arcadio
> As others have said, avoid MFC like the plague
This is just pure speculation on my part, but I suspect most people who code using MFC probably didn't learn MFC because they wanted to but probably because they felt they needed to. From what I understand, MFC proficiency is still very valuable and will help you land a Windows developer position if that is what you want to do.
I'm still wondering if I should devote some time into learning MFC. I'm leaning towards "yes". I for one don't mind developing for Windows as the amount of jobs available for Windows developers are plentiful. I wish somebody could give me a straight answer if learning MFC at this point is a waste of time or not.
- Arcadio
> Qt is supposed to be cross platform and native
> L&F
Cross platform, yes. Native L&F, no. Qt implements its own widgets across all supported platforms.
For a cross platform class library that wraps around the native widget set of the target platform check out wxWindows at http://www.wxwindows.org. Very featureful and totally free. Only downside is that while the available documentation is quite extensive, theres still a slight learning curve in getting started coding for wxWindows. The available tutorials combined with the (extremely) helpful mailing list does help to alleviate this somewhat. Truly great stuff IMHO.
- Arcadio
> Nearest star is just over 3 light years away
Actually, the nearest star is just (on average) 93 million miles away!
- Arcadio
> MS doesn't have a particularly good record in
> the consumer electronics market.
But they don't have a particularly bad one either. And the hardware they do produce (mice, keyboards, joysticks) are actually pretty good.
- Arcadio
Just FYI, World Championship Wrestling was bought by the World Wrestling Federation from Time Warner/AOL.
- Arcadio
> To use your speech recognition example, if I
> had to, for example, perform a mathematical
> transform on an input waveform that represents
> a word
I think, for this example, the transform function would be a method of the word object since its performing some sort of action on it.
- Arcadio
> QT is QPL, by the way
And also GPL.
- Arcadio
My MS ForceFeedback Sidewinder Joystick worked great in Win2k (I use WinXP now). Too bad the only game I have that "requires" a joystick is Mechwarrior 4 :-/. What a waste of a $100 ...
- Arcadio
Idiot.
In the ST:TNG where Data is introduced to his android mother, Data explains that her body has the ability to appear to age just like his body can. So they already explained why Data appears to age.
- Arcadio
> the new windows xp user interface has a two
> styles: blubbly mess in blue, brown or silver
> or (now get this!) the original windows
> interface. all these themes are just
> microsoft's attempt to catch up with the
> aesthetics of macos x and the x window manages
> and desktops.
Actually, you can get additional themes for Windows XP. Granted, the ones I've seen so far have been pretty lame but I expect the situation to improve with time.
- Arcadio
> Which, seeing as I had a swap partition,
> forced me to allocate an additional swap
> partition (so I stole a gigabyte from my
> Win98SE paritition 8-P).
Just so you know in the future, you could've made an additional swap file with dd(1), run mkswap(8) on it, then did a swapon(8) on the file to dynamically add more swap space in addition to your swap partition.
- Arcadio
> UNIX has been doing bloat since before Windows > was even released - remember Motif?
Windows came out before X did.
-Arcadio
> No, radix sort is O(N log N).
Radix sort with counting sort used as the stable sort procedure runs in linear time. The point is the run-time of radix sort depends on the stable sort procedure you use.
- Arcadio
> I'm incredulous that corporations are giving
> in to the License Agreement arm-twisting
> to "upgrade" from 2K to XP.
They're not. Corporations would most likely get the "Corporate" version, which doesn't require WPA. WPA is primarily an issue for home users.
- Arcadio
> Gee, perhaps because that was what the guy
....
> asked?!
Man, what in the blue hell are you talking about? You were the one who said that WinXP Home wasn't an upgrade to Win2k and that you "actually get less with XP" because of that. Which is logical: since WinXP Home is not an upgrade to Win2k it would make sense that you might "get less". Hence the "no shit Sherlock" from me.
Who is this other guy you are referring to?
At any rate, at the time of this writing your post has been modded down to "Troll" as it should be, thus renewing my faith in the Slashdot moderation system.
Well, not really
- Arcadio