The === operator compares two operators to determine if they are the same value and type (sort of the same). The only reason I can think of for even _caring_ if two variables are the same variable programatically is when determining if you should delete a variable. In PHP, if you have two variables that are references, unsetting one doesn't kill the other, so this isn't a problem.
You can also compare pointers in C/C++, e.g. &a == &b. But I really think that if you ever need to use a construct like this, your program probably has design problems to begin with.
But help is on the way. ?Three completely redesigned units are currently in production,? a NASA source said. The new devices will not use the liquid-gel electrolyte system that has led to all previous units eventually breaking down. Instead, they will rely on a solid polymer electrolyte.
Delivery of the first of these units is expected ?in March or April of 2005?, the source continued. How fast they really can be completed, tested and flight-qualified remains an open question in the severely underfunded Russian space program.
In the longer term, NASA is examining the chance of speeding up a U.S.-built oxygen generator to have it available in four years, rather than the currently scheduled six years.
Re:How many licenses can fit on the head of a pin?
on
PHP Not Moving To The GPL
·
· Score: 3, Informative
Here you go. This the native FreeBSD port is built.
So, one guy uses this tool to analyse function calls in a program. Other times, it is used to analyse whether tools like Oracle or BEA are making system calls.
This is exactly what a profiler is for. Doesn't Solaris come with profiled libraries you can link your code to to do the same thing with something like gprof? Aside from the fact that this tool works with non-profiled binaries, I fail to see the revolutionary aspect.
It is 'to-do' because we hyphenate compound adjectives. A compound adjective is made up of two or more descriptive words that are intended to be used together. For instance:
A 'baby mulching machine' is a juvenile machine that mulches. A 'baby-mulching machine' is a machine that mulches babies. Similarly, unless there is a such thing as a 'to list' and a 'do list', it should be 'to-do list'.
As an ex student, I wondered about the steam tunnels a lot too. They were a sort of campus myth.
I personally know how to get from Jester East to Jester West underground, and have been in the Kinsolving dorm's basement which links to a lot of the tunnels. The Union even has caves that lead under the West Mall.
A friend of mine published a map and article in the 70s even, which should be relatively easy to find at the library in one of the old University magazines. It also described the IBM-built master grandfather clock that controlled the bells and clocks around the campus, including the tower. I would have filed a request too, if I had ever had the time.
While on the subject of UT mythos, there was also talk of an exclusive student organization setup by the administration called the 'Eyes of Texas' that was established to be the eyes and ears of the administration. They are even registered, though nobody I knew in it would every talk about what they really did: http://utdirect.utexas.edu/dsorg/detail.wb?code=00 475
We use subversion at work all the time, both for the client and the server.
For the server, it is best to setup Apache, and perhaps PHP to run websvn if you want a nice web interface. Also, install mod_auth_sspi so that you can use native NT authentication.
For the client, TortoiseSVN and AnkhSVN work great for Explorer and Visual Studio.NET integration.
All of this is native Win32. Subversion itself uses the Apache Portable runtime to work cross-platform, not Cygwin.
Commercial software does not always have to be closed source. You could develop a GPL application with commercial uses (you could even sell it), and still use the free QT under the GPL. It's a common misconception that commercial software has to be closed source / proprietary.
For instance, MySQL could bundle a QT-based query analyzer with their product, since MySQL is also GPL. That doesn't stop it from being sold and supported as a commercial product. Now, if they want to sell a version of MySQL that is under a non-GPL license, then they'll need a commercial license. But those are the rules.
A Gravis Ultrasound is a good alternative to the MT-32. It has a Dos-based MT-32 emulator, and can emulate a Soundblaster too, so you can get the best of both worlds for older games.
My PC-jr had 3 voice sound, as did my Tandy 1000 HX. The Tandy even came with music composition software for Deskmate. Thexder and Leisure Suite Larry really rocked on those machines.
The only problem was the crappy filters used on the headphone amplifier that allowed all sorts of CPU and disk drive noise to come through.
So, if you see the mouse eat the cheese, but don't know that means the cat is dead or alive, does that mean that the cat is still unknown. I guess it does. What if you think the cat is sleeping. Does that make it dead or alive?
I am using OS 10.1 right now, and pressing Apple-Tab switches applications. A little black arrow moves between apps on the launcher bar, without any extra software installed. We're getting 10.3 soon, so I can compare, but it seems like this has to be a refinement, not a new feature.
My home gateway server, a dual PII 400, has an 8-bit MGA video adapter with a Hyundai 9" Amber monitor. It works great since '87 or so. The Linux MGA virtual framebuffer even displays the dual penguin logo on boot. It is a real space saver too in my closet. It also has one of those Epson dual floppy drives, the ones with a 5 1/4" and 3 1/2" drives in one bay. Amazingly, the 5 1/4" drive is a lot faster than the 3 1/2" at writes still. You can encode an Ogg in real-time on a 5 1/4" disk, which is pretty cool. It stores about 5 minutes at 64k too.
I just set up this weekend a Compaq Prosignia with a Pentium Overdrive chip (83.5 Mhz Pentium) and an original Gravis Ultrasound from '94. Had to add some memory chips to bring the thing up to a meg, and ran some demos and played some midi on it. I can't believe how good the GUS still sounds, even if the video effects in a lot of demos seem really cheezy now (Xscreensaver has surpassed even Unreal and 2nd Reality in terms of special effects).
Oh, and I am still using the mechanical 'Laser' keyboard I got with my 286 in '92. It has two layers of converter cable to connect it to a PS/2 plug.
Oops, once we give the Dell a Trinitron monitor, its price jumped to $1,099 before rebate.
The eMac comes with a Trinitron, which adds a lot to the value and overall computer experience. I have used Dell's 19" M992 regular CRT Monitor, and trust me, it is a terrible; fuzzy, limited color range.
After I modified both the eMac and the Dell to have the same size screen, same amount of ram, same perhipherals, the total (before mail-in rebate) came to: Dell: $819 with 17" monitor and optical mouse eMac: $849 with 256mb ram
Granted, the eMac has only a 800Mhz G4 and the Dell has a 2.4Ghz P4, so the eMac will be slower in terms of raw processing power (an 800Mhz G4 is about like a 1.2Ghz P4). However, the eMac probably has better video (Radeon 7500 vs integrated Intel; neither has an AGP slot). But, for the target audience for both of these machines , home, general internet, productivity and light gaming, the eMac is still the better deal. I know which one I would buy my parents.
I just never have had a problem with speed personally, so I thought there was some other reason.
Your idea for an editor that highlights different types is a pretty good one. It's just that there are _so_ many differenty types a variable could be, no icon or color coding could possibly encompass every possibility, not to mention user-defined types. The best I can think up is to have the IDE have a show types feature, like a word processor with a show editing marks feature, as an improvement to hovering over variables.
You could then toggle code display into something like this:
This looks like casts in C, which should be easy for anyone to see. The editor could make these type flags a different color to indicate that they are virtual in the sense that they are not actually sent to the compiler as casts. If an incorrect type is passed to a function or method, then the type flags could be a different color.
By the way does HG represent a pointer to a complex type like a pointer to an object? I have seen people use objVariable, or objptrVariable, etc., but this really isn't enough to get the full benefit, since it is necessary to know exactly _what_ type of object it is. We might as well be pointing to a void.
char* filename;// This is a char* std::string filename2;// This is a string wchar_t* filename3;// This is a unicode string?
When in doubt, look at these definitions. These can go into header files too, which make a handy reference for types. Compilers are usually quite good at catching mismatches too.
Or, use a language that only has one, or at least interchangable string types:
The second result on google for 'links' is the web browser. The first result on google for 'elinks' is a derivative web browser.
The === operator compares two operators to determine if they are the same value and type (sort of the same). The only reason I can think of for even _caring_ if two variables are the same variable programatically is when determining if you should delete a variable. In PHP, if you have two variables that are references, unsetting one doesn't kill the other, so this isn't a problem.
You can also compare pointers in C/C++, e.g. &a == &b. But I really think that if you ever need to use a construct like this, your program probably has design problems to begin with.
But help is on the way. ?Three completely redesigned units are currently in production,? a NASA source said. The new devices will not use the liquid-gel electrolyte system that has led to all previous units eventually breaking down. Instead, they will rely on a solid polymer electrolyte.
Delivery of the first of these units is expected ?in March or April of 2005?, the source continued. How fast they really can be completed, tested and flight-qualified remains an open question in the severely underfunded Russian space program.
In the longer term, NASA is examining the chance of speeding up a U.S.-built oxygen generator to have it available in four years, rather than the currently scheduled six years.
Here you go. This the native FreeBSD port is built.
So, one guy uses this tool to analyse function calls in a program. Other times, it is used to analyse whether tools like Oracle or BEA are making system calls.
This is exactly what a profiler is for. Doesn't Solaris come with profiled libraries you can link your code to to do the same thing with something like gprof? Aside from the fact that this tool works with non-profiled binaries, I fail to see the revolutionary aspect.
It is 'to-do' because we hyphenate compound adjectives. A compound adjective is made up of two or more descriptive words that are intended to be used together. For instance:
A 'baby mulching machine' is a juvenile machine that mulches. A 'baby-mulching machine' is a machine that mulches babies. Similarly, unless there is a such thing as a 'to list' and a 'do list', it should be 'to-do list'.
As an ex student, I wondered about the steam tunnels a lot too. They were a sort of campus myth.
0 475
I personally know how to get from Jester East to Jester West underground, and have been in the Kinsolving dorm's basement which links to a lot of the tunnels. The Union even has caves that lead under the West Mall.
A friend of mine published a map and article in the 70s even, which should be relatively easy to find at the library in one of the old University magazines. It also described the IBM-built master grandfather clock that controlled the bells and clocks around the campus, including the tower. I would have filed a request too, if I had ever had the time.
While on the subject of UT mythos, there was also talk of an exclusive student organization setup by the administration called the 'Eyes of Texas' that was established to be the eyes and ears of the administration. They are even registered, though nobody I knew in it would every talk about what they really did: http://utdirect.utexas.edu/dsorg/detail.wb?code=0
We use subversion at work all the time, both for the client and the server.
For the server, it is best to setup Apache, and perhaps PHP to run websvn if you want a nice web interface. Also, install mod_auth_sspi so that you can use native NT authentication.
For the client, TortoiseSVN and AnkhSVN work great for Explorer and Visual Studio.NET integration.
All of this is native Win32. Subversion itself uses the Apache Portable runtime to work cross-platform, not Cygwin.
Definition 2 of Deprecate is: To belittle; depreciate. They're synonymous.
Commercial software does not always have to be closed source. You could develop a GPL application with commercial uses (you could even sell it), and still use the free QT under the GPL. It's a common misconception that commercial software has to be closed source / proprietary.
For instance, MySQL could bundle a QT-based query analyzer with their product, since MySQL is also GPL. That doesn't stop it from being sold and supported as a commercial product. Now, if they want to sell a version of MySQL that is under a non-GPL license, then they'll need a commercial license. But those are the rules.
If your brain adjusts to make pink look normal, normal then looks pink.
Ewww. Think of Paul Reiser.
Try it. It does show build errors, and only those. It's actually easier now.
A Gravis Ultrasound is a good alternative to the MT-32. It has a Dos-based MT-32 emulator, and can emulate a Soundblaster too, so you can get the best of both worlds for older games.
It worked great with Band-in-a-Box.
My PC-jr had 3 voice sound, as did my Tandy 1000 HX. The Tandy even came with music composition software for Deskmate. Thexder and Leisure Suite Larry really rocked on those machines.
The only problem was the crappy filters used on the headphone amplifier that allowed all sorts of CPU and disk drive noise to come through.
So, if you see the mouse eat the cheese, but don't know that means the cat is dead or alive, does that mean that the cat is still unknown. I guess it does. What if you think the cat is sleeping. Does that make it dead or alive?
The minix filesystem works pretty well for small drives. I think a lot of mini-linux distros use it - tomsrtbt does.
I am using OS 10.1 right now, and pressing Apple-Tab switches applications. A little black arrow moves between apps on the launcher bar, without any extra software installed. We're getting 10.3 soon, so I can compare, but it seems like this has to be a refinement, not a new feature.
My home gateway server, a dual PII 400, has an 8-bit MGA video adapter with a Hyundai 9" Amber monitor. It works great since '87 or so. The Linux MGA virtual framebuffer even displays the dual penguin logo on boot. It is a real space saver too in my closet. It also has one of those Epson dual floppy drives, the ones with a 5 1/4" and 3 1/2" drives in one bay. Amazingly, the 5 1/4" drive is a lot faster than the 3 1/2" at writes still. You can encode an Ogg in real-time on a 5 1/4" disk, which is pretty cool. It stores about 5 minutes at 64k too.
I just set up this weekend a Compaq Prosignia with a Pentium Overdrive chip (83.5 Mhz Pentium) and an original Gravis Ultrasound from '94. Had to add some memory chips to bring the thing up to a meg, and ran some demos and played some midi on it. I can't believe how good the GUS still sounds, even if the video effects in a lot of demos seem really cheezy now (Xscreensaver has surpassed even Unreal and 2nd Reality in terms of special effects).
Oh, and I am still using the mechanical 'Laser' keyboard I got with my 286 in '92. It has two layers of converter cable to connect it to a PS/2 plug.
Oops, once we give the Dell a Trinitron monitor, its price jumped to $1,099 before rebate.
The eMac comes with a Trinitron, which adds a lot to the value and overall computer experience. I have used Dell's 19" M992 regular CRT Monitor, and trust me, it is a terrible; fuzzy, limited color range.
After I modified both the eMac and the Dell to have the same size screen, same amount of ram, same perhipherals, the total (before mail-in rebate) came to:
Dell: $819 with 17" monitor and optical mouse
eMac: $849 with 256mb ram
Granted, the eMac has only a 800Mhz G4 and the Dell has a 2.4Ghz P4, so the eMac will be slower in terms of raw processing power (an 800Mhz G4 is about like a 1.2Ghz P4). However, the eMac probably has better video (Radeon 7500 vs integrated Intel; neither has an AGP slot). But, for the target audience for both of these machines , home, general internet, productivity and light gaming, the eMac is still the better deal. I know which one I would buy my parents.
std::string filename = "Hello";
if (strcmp((std::string) filename, "Monkeys")) {
}
(MonkeyObj*) monkey->eatBananas((float) j);
I just never have had a problem with speed personally, so I thought there was some other reason.
Your idea for an editor that highlights different types is a pretty good one. It's just that there are _so_ many differenty types a variable could be, no icon or color coding could possibly encompass every possibility, not to mention user-defined types. The best I can think up is to have the IDE have a show types feature, like a word processor with a show editing marks feature, as an improvement to hovering over variables.
You could then toggle code display into something like this:
(char*) filename = "Hello";
if (strcmp(filename, "Monkeys")) {
(int) i++;
(float) j = (float) j * 0.4;
}
(MonkeyObj*) monkey->eatBananas((int) i);
This looks like casts in C, which should be easy for anyone to see. The editor could make these type flags a different color to indicate that they are virtual in the sense that they are not actually sent to the compiler as casts. If an incorrect type is passed to a function or method, then the type flags could be a different color.
By the way does HG represent a pointer to a complex type like a pointer to an object? I have seen people use objVariable, or objptrVariable, etc., but this really isn't enough to get the full benefit, since it is necessary to know exactly _what_ type of object it is. We might as well be pointing to a void.
Easy:
// This is a char* // This is a string // This is a unicode string?
char* filename;
std::string filename2;
wchar_t* filename3;
When in doubt, look at these definitions. These can go into header files too, which make a handy reference for types. Compilers are usually quite good at catching mismatches too.
Or, use a language that only has one, or at least interchangable string types:
Python:
filename = str()
The BriQ fits into a drive bay, and supports an internal 2.5 drive. It has 'legacy' connectors too, but it is a PPC, not x86.