(Come to think of it, I can't even think of a counter-example where someone didn't try to control a market through control of the programming language.)
What about Bell Labs, with the original "release" of C? But perhaps that's old enough not to count. Besides, I'm not actually sure that NVIDIA are trying to control all that much... Isn't it perfectly possible to implement a Cg compiler for ATI hardware? It really ought to be, in theory. In practice, I gather ATI rather concentrate on OpenGL 2.0.
Heh. Sorry about that, I guess there's a point in having a standardized separator between message body and sig, like on Usenet... Anyway, I try to keep the code I write at work slightly more legible and straight-forward. Really!:)
I'm stumped by a one of those, so I guess you wouldn't hire me. But that's OK since I already am employed. Two observations, though:
Did you mean that that Cray instruction did an XOR? Is it a typo, or are Crays so exotic and cool they actually have a boolean operation unknown to, well, me?
There are no compiler bugs in reality. It's always my fault.:) Just this morning, I was staring at a piece of code, convinced I was seeing a compiler bug where it optimized away my if logic. I even showed it to a coworker, and he agreed. Then, later on, I spotted the spurious semicolon...
That part about the memory is weird, since the original PS2's GS already has 4 megs of RAM on the same silicon die. That's used for the frame- and depthbuffers, and to hold the texture being used to render each polygon.
"All" hardware accelerators, at least since the original 3dfx Voodoo, support non-square texture maps. What is actually required, and what you probably meant, is rectangles whose side lengths do not need to be powers of two as is otherwise required by OpenGL. The
EXT_texture_rectangle OpenGL extension, specified by Apple and NVIDIA, provides this support on recent hardware.
What you refer to as "a tuner" should probably be called "a television tuner". From my reading (I don't own one) the QCast Tuner doesn't have that, nor would I assume it to, since it's a software product. What it does is let you access, or tune in to, media made available by the server (which is called QCast Station, get it?) software. Basically, they're using the word pair "tuner/station" without a connection to television tuning or television stations. Is this an example of abstract thinking, or am I simply brilliant for not even considering the television tuning "issue" before reading the parent post?:)
Um, since other people have already corrected you on dc, I guess it's up to me to point out that you don't need to change the order of the operands with RPN. If you want to compute a+b*c, you enter "a b c * +". For different precendence, as you point out, you just change where you put the operator, but not the order of things.
Heh. I actually know the difference between von Neumann and Harvard architectures, but I still made this mistake for a few seconds. I guess it's because I read "too much" science fiction, and the concept of vN-machines occurs from time to time. They're good as a sort of "final nemesis" very-bad-concept, and the construction of such machines is often outlawed in whatever social system is being described. Just last week, I read The Wellstone by Wil McCarthy, which mentioned von Neumann machines.:)
Now, that is a needless mistake you opened your code up to. You could have easily avoided it by taking the (admittedly rather weak) help the compiler can offer you. Simply add a "sentry" value to the enumeration, that holds the number of distinct values. This is simple and "natural" when you start indexing at zero, not at one like you did. Code:
Note how I do not explicitly assign a "proper" value to the DPL_CANDIDATES sentry value, that is the point since now the compiler automatically assigns the correct value. The initial =0 assignment is optional, but nice for extreme clarity IMO. As you can see, this also removes the need to add 1 to the result, since the modulo operator will now work as intended. Um. Apologies of course if you already knew all this, I just felt like geeking out a bit.:)
"Users can move "windows" of computer information -- say, a Web page -- between the two screens or stretch them across the displays as if they were one screen."
I found myself oddly depressed on behalf of the empire that even after almost 20 years of Windows releases, mainstream press still can't refer to "a window" without explaining this esoteric concept. Ouch.
I thought about this too, and I guess the headline is designed to bring out people screaming "but this is not in America, it's in bl*dy Canada!" or something to that effect. You know, for people to shoot down with witty comments. Canada is in North America, and if there's no larger event in the US (or, I guess (although my geography was never strong) Mexico), then the headline is true.
Most Windows code already has meaningless variablenames, since they insist on using that Hungarian crap. You know, the one where every integer variable has a little 'i' prefix to help you remember what it was. I guess it all looks like for(int iI = 0; iI <; iLimit < iI++)
{... }
or something. The strings are all "pszString" or some such, for "pointer to string, zero-terminated". Isn't it handy to have all this really useful information available in every variable name?
...adjust my set? I don't see any comments, here... Maybe it's some kind of caching problem. The last time a news post was made impossible to comment, I seem to recall it being posted by michael as well. But I guess time it's just the entire/. audience being fed up with Sony, or something. Also, that time, there simply was no "Reply"-button, but I saw one now, and even clicked it, too... Weird. Cool machine though, but I wonder what resolution the reviewer is used to, if 1280x768 feels like getting more space.
No, you're not. If you turn of the pesky habit video drivers have of syncing the back-to-front switch to the vertical blanking of the monitor, you can draw many more frames per second. Of course, those frames will probably not be "whole", since the varying rendering times will cause the flips to occur mid-screen. This is known as "tearing", since it looks like the image is being torn apart. But it does allow higher actual frame rates, which in turn can allow physics etc to give a smoother game experience.
Well, maybe there's something for you on this rather giant list of SF book reviews, then. It's not mine, but belongs to some other (attractively obsessive) reader of the good stuff. My collection is modest compared to that one, but they do overlap here and there, and I tend to agree with the reviews, which is why I recommend the list to you. Good luck.
It's actually "Montezuma's Revenge", and the title is kind of funny. Not that I got the joke way back then, I remember playing it on my C128 in C64-mode, and copying each room down on graph paper for some reason. More information about the C64 version is here.
DLP = Digital light processing. A technology invented, or at least commercialized, by Texas Instruments, I believe. See www.dlp.com or something.
Oh, and I really don't think the PS2 uses a 512-pixel wide resolution. Some games might, but it's certainly not the only resolution handled by the PS2, and I'd actually be surprised if it's the default, or even the most common.
snprintf(sig, sizeof sig,/* Rest of your stuff. */);
Also, don't fall in the "sizeof is a function" trap, and put needless parens around the argument. This has been a message from your friendly neighborhood C sig advisory squad. Take care.
What about Bell Labs, with the original "release" of C? But perhaps that's old enough not to count. Besides, I'm not actually sure that NVIDIA are trying to control all that much... Isn't it perfectly possible to implement a Cg compiler for ATI hardware? It really ought to be, in theory. In practice, I gather ATI rather concentrate on OpenGL 2.0.
Heh. Sorry about that, I guess there's a point in having a standardized separator between message body and sig, like on Usenet... Anyway, I try to keep the code I write at work slightly more legible and straight-forward. Really! :)
That part about the memory is weird, since the original PS2's GS already has 4 megs of RAM on the same silicon die. That's used for the frame- and depthbuffers, and to hold the texture being used to render each polygon.
"All" hardware accelerators, at least since the original 3dfx Voodoo, support non-square texture maps. What is actually required, and what you probably meant, is rectangles whose side lengths do not need to be powers of two as is otherwise required by OpenGL. The EXT_texture_rectangle OpenGL extension, specified by Apple and NVIDIA, provides this support on recent hardware.
What you refer to as "a tuner" should probably be called "a television tuner". From my reading (I don't own one) the QCast Tuner doesn't have that, nor would I assume it to, since it's a software product. What it does is let you access, or tune in to, media made available by the server (which is called QCast Station, get it?) software. Basically, they're using the word pair "tuner/station" without a connection to television tuning or television stations. Is this an example of abstract thinking, or am I simply brilliant for not even considering the television tuning "issue" before reading the parent post? :)
Um, since other people have already corrected you on dc, I guess it's up to me to point out that you don't need to change the order of the operands with RPN. If you want to compute a+b*c, you enter "a b c * +". For different precendence, as you point out, you just change where you put the operator, but not the order of things.
So, Soviet Russia is coming back? Scary.
Heh. I actually know the difference between von Neumann and Harvard architectures, but I still made this mistake for a few seconds. I guess it's because I read "too much" science fiction, and the concept of vN-machines occurs from time to time. They're good as a sort of "final nemesis" very-bad-concept, and the construction of such machines is often outlawed in whatever social system is being described. Just last week, I read The Wellstone by Wil McCarthy, which mentioned von Neumann machines. :)
You're really smart. I admire you.
Now, that is a needless mistake you opened your code up to. You could have easily avoided it by taking the (admittedly rather weak) help the compiler can offer you. Simply add a "sentry" value to the enumeration, that holds the number of distinct values. This is simple and "natural" when you start indexing at zero, not at one like you did. Code:
:)
enum DPL { Martin_Michlmayr = 0, Branden_Robinson, Moshe_Zadka, DPL_CANDIDATES };
DPL result = rand(time(NULL)) % DPL_CANDIDATES;
Note how I do not explicitly assign a "proper" value to the DPL_CANDIDATES sentry value, that is the point since now the compiler automatically assigns the correct value. The initial =0 assignment is optional, but nice for extreme clarity IMO. As you can see, this also removes the need to add 1 to the result, since the modulo operator will now work as intended. Um. Apologies of course if you already knew all this, I just felt like geeking out a bit.
I thought about this too, and I guess the headline is designed to bring out people screaming "but this is not in America, it's in bl*dy Canada!" or something to that effect. You know, for people to shoot down with witty comments. Canada is in North America, and if there's no larger event in the US (or, I guess (although my geography was never strong) Mexico), then the headline is true.
Most Windows code already has meaningless variablenames, since they insist on using that Hungarian crap. You know, the one where every integer variable has a little 'i' prefix to help you remember what it was. I guess it all looks like
... }
for(int iI = 0; iI <; iLimit < iI++)
{
or something. The strings are all "pszString" or some such, for "pointer to string, zero-terminated". Isn't it handy to have all this really useful information available in every variable name?
...adjust my set? I don't see any comments, here... Maybe it's some kind of caching problem. The last time a news post was made impossible to comment, I seem to recall it being posted by michael as well. But I guess time it's just the entire /. audience being fed up with Sony, or something. Also, that time, there simply was no "Reply"-button, but I saw one now, and even clicked it, too... Weird. Cool machine though, but I wonder what resolution the reviewer is used to, if 1280x768 feels like getting more space.
No, you're not. If you turn of the pesky habit video drivers have of syncing the back-to-front switch to the vertical blanking of the monitor, you can draw many more frames per second. Of course, those frames will probably not be "whole", since the varying rendering times will cause the flips to occur mid-screen. This is known as "tearing", since it looks like the image is being torn apart. But it does allow higher actual frame rates, which in turn can allow physics etc to give a smoother game experience.
I can't give the exact func name, NDA and all.
:) And I also think 640x448 interlaced is the most common. It's what we're currently using, for instance.
That's OK, I can look it up at work, too.
Well, maybe there's something for you on this rather giant list of SF book reviews, then. It's not mine, but belongs to some other (attractively obsessive) reader of the good stuff. My collection is modest compared to that one, but they do overlap here and there, and I tend to agree with the reviews, which is why I recommend the list to you. Good luck.
"[...] I've tested the card with more than 35 3D games in my library--closer to 40--"
:)
Why not just say 38?
Looking at that math, you have got to be one of Enron's accountants...
It's actually "Montezuma's Revenge", and the title is kind of funny. Not that I got the joke way back then, I remember playing it on my C128 in C64-mode, and copying each room down on graph paper for some reason. More information about the C64 version is here.
Free hint from a (fresh, but still) professional: there is more in games than graphics. Yes, really.
I just want a cell phone network where frequent call drops, long wait times, and low signal strength are common.
:) *Ducks*.
Um, OK... Aha... So, well, I guess you should stay in the US, then?
DLP = Digital light processing. A technology invented, or at least commercialized, by Texas Instruments, I believe. See www.dlp.com or something.
Oh, and I really don't think the PS2 uses a 512-pixel wide resolution. Some games might, but it's certainly not the only resolution handled by the PS2, and I'd actually be surprised if it's the default, or even the most common.
Avoid redundancy. Use sizeof! Like so:
/* Rest of your stuff. */);
snprintf(sig, sizeof sig,
Also, don't fall in the "sizeof is a function" trap, and put needless parens around the argument. This has been a message from your friendly neighborhood C sig advisory squad. Take care.