Note: I tested this on Windows2000, where it was seemingly impossible to copy from the command window to paste to any other window)
If you're using cmd.exe (as opposed to command.com), you just select the region of text you want to copy, and hit return. Heck, the window title changes to "Select Command Prompt", in case you don't realize it.
If you're going to read an entire file into memory, the low level open()/read()/close() calls will be fastest. If you'll be reading a few bytes at a time, streamed IO with buffering enabled will save quite a few disk hits & context switches.
The difference is that in C++ the compiler often knows the dynamic type of an object (if it's an actual object and not a pointer or reference) and can optimize away the virtual function call and replace it with a static call (or even inline the function).
This is the police. Put down the bong and come out with your hands up.
Look guys, This is the second time that you've bankrupted a company trying to give away Blender and charge money for documentation and support.
Have you noticed most (all?) of the other companies following that business model are supporting Open Source software that they didn't develop themselves?
the inline assembly would have to be swapped over as well
VC uses a more straightforward inline asm, but the C/asm code isn't optimized (and VC scans the asm for registers affected and explicitly reloads them when you're done), and accessing variables passed in registers doesn't work.
A friend of mine had a site that was slashdotted. His bandwidth got saturated, which limited the number of incoming requests, and the cpu hit (although he was on business-class cable, so he didn't have the bandwidth racksace might have).
His real problem was that his apache logs ballooned and the system became unresponsive (from the excessive IO transfer and possibly a kernel panic). After rebooting, his web server disk was so full of errors, he had to go to backup.
X-box doesn't blue screen, it green screens. Some of the preview models at game stores green screened (MS says it was due to problems with the preview models. It may have been related to overheating and bad air circulation).
It's been speculated that, in a year or two, due to falling prices and increasing volumes (and if they became a monopoly), they might be able to sell them at cost.
for those too lazy to click the link...
on
Pitch Perfect Karaoke
·
· Score: -1, Redundant
By Edmund Klamann
TOKYO (Reuters) - Some might call it Japan's biggest victory against noise pollution since pop duo Pink Lady split up two decades ago.
Karaoke sound systems provider Taito Corp said on Tuesday it had teamed up with a U.S. professor and chipmaker Analog Devices Inc on technology that could give even the most tone-deaf crooner perfect pitch.
Using the "Csound" computer music language pioneered years ago by Massachusetts Institute of Technology professor Barry Vercoe, Taito will market a system this summer that adjusts sing-along music automatically to the pitch and tempo best-suited to an individual singer.
"This is sound synthesis on software that until now was only used in experiments and research," said Hidehito Kitamura, who headed up Taito's development of the new system.
Eventually, he said, Taito may use the technology to reconfigure a singer's errant tones to the proper pitch, without otherwise altering the sound.
"We'll be moving from one new feature to the next."
That could be good news for the millions of regular patrons at Japan's karaoke bars -- both those who dread the inevitable pressure to sing even if they can't carry a tune, and those who have to listen to them.
"Karaoke is said to be an original Japanese cultural contribution, but this could take it to new levels," Keio University professor Toru Iwatake told a news conference unveiling the technology.
Tuesday's demonstration was limited to automatic tempo adjustment, particularly suited for ballads, Kitamura said.
SALES PITCH
The system will also let a singer calibrate the key automatically before a song begins, he added.
Machines now require manual pitch and tempo adjustments, which can be hard for amateur songsters to gauge and can create distortions that are difficult to sing along with.
For those confident of their vocal prowess, moreover, the new system will be able to objectively assess pitch, rhythm and skill at such voice techniques as vibrato and crescendo -- an indispensable item for the occasional karaoke competition.
Karaoke rating systems already exist, but they can only determine how closely the singer's voice matches the recorded original, not singing ability.
MIT's Vercoe, who lauded Taito for finding a way to bring the sound synthesis technology to market, said pitch correction with Csound had been demonstrated long ago. It could even convert a spoken voice into melody, in real time.
"It's in the technology. You just have to switch it on," he said.
Taito's Kitamura added that the advent of high-speed communications had also been essential for the new system.
Ten years ago, Taito pioneered Japan's popular "telecom karaoke" services, which pipe karaoke music and lyrics to pubs and night clubs via wireline networks at far less cost than maintaining an on-site disc collection.
Noting the new system would require about a hundred times or more much bandwidth than current systems, Kitamura added: "We can do this thanks to ADSL (assymetric digital subscriber lines) and fiber-to-the-home."
other options....
Java. Borland has a nice Java IDE for windows that's free for personal use.
Lcc32 - a free win32 Compiler and IDE. The source for lcc (which lcc32 is based on) is also available, and it's a neat little cross-compiler (even if the authors are now MS employees)
oh, one more benefit of java - since each class is compiled into it's own.class file, it's potentially easier to upgrade a few classes. With C, you'd need to relink, or create a new.so, or deal with dll hell.
I wrote a fairly simple game with Java recently. It was my first full-blown java application, so take my perspective as you see fit. This was also a few months ago, and I've lost interest in the project...
Executions speed wasn't an issue. But the tradeoffs java makes in order to be multi-platform were. Although the java API seems to allow tracking the mouse, with win2k (using Sun's JRE), I couldn't track the mouse while the button was being depressed. I got the mousedown and mouse up events, but I couldn't tell what happened to the mouse inbetween.
Another issue was that images would sometimes be loaded across the network in the middle of a screen redraw, causing unacceptable slowdowns, and the entire screen would be redrawn, rather than just the invalidated rectangle.
As I said, I gave up on the project before trying too hard to work around those issues. As I'm currently knee-deep in the Windows GDI API, the Java standard classes look better and better each day.
Freedom in the USA seems to be more about freedom to sue, than freedom of speach.
Fortunately for you and CmdrTaco, there's also freedom of misspelling.
If you're using cmd.exe (as opposed to command.com), you just select the region of text you want to copy, and hit return. Heck, the window title changes to "Select Command Prompt", in case you don't realize it.
If you're going to read an entire file into memory, the low level open()/read()/close() calls will be fastest. If you'll be reading a few bytes at a time, streamed IO with buffering enabled will save quite a few disk hits & context switches.
This is the police. Put down the bong and come out with your hands up.
If I'm not mistaken, he said "lots of bitfiddling and big nasty algorithms over hairy data structures", not "text processing".
But then again, you;d probably recommend Perl for embedded real time applications, too...
6 MB cache? The UltraSparc III has an 8 MB cache. Intel is still playing catch-up.
No, they're playing cache-up.
If it's Unixlike does that mean there is a port of the X Window System?
yes. Rooted and rootless.
You could just get rid of that whole icky Aqua nonsense and run an X server with something nice and minimal like icewm.
Yep. This must be slashdot.
Look guys, This is the second time that you've bankrupted a company trying to give away Blender and charge money for documentation and support. Have you noticed most (all?) of the other companies following that business model are supporting Open Source software that they didn't develop themselves?
the inline assembly would have to be swapped over as well
VC uses a more straightforward inline asm, but the C/asm code isn't optimized (and VC scans the asm for registers affected and explicitly reloads them when you're done), and accessing variables passed in registers doesn't work.
__asm
{
xchg eax,myvar
}
Try wiping your ass on a palm pilot.
A friend of mine had a site that was slashdotted. His bandwidth got saturated, which limited the number of incoming requests, and the cpu hit (although he was on business-class cable, so he didn't have the bandwidth racksace might have).
His real problem was that his apache logs ballooned and the system became unresponsive (from the excessive IO transfer and possibly a kernel panic). After rebooting, his web server disk was so full of errors, he had to go to backup.
I second a "delay displaying for xx" option.
Then, I could set the delay to a negative number and get that elusive first post!
That "journalist" deserves a +5 "funny" or a -1 "watched too many h@x0r m0vi3s"
X-box doesn't blue screen, it green screens. Some of the preview models at game stores green screened (MS says it was due to problems with the preview models. It may have been related to overheating and bad air circulation).
It's been speculated that, in a year or two, due to falling prices and increasing volumes (and if they became a monopoly), they might be able to sell them at cost.
I guess the x-box may soon be the ex-box.
By Edmund Klamann
TOKYO (Reuters) - Some might call it Japan's biggest victory against noise pollution since pop duo Pink Lady split up two decades ago.
Karaoke sound systems provider Taito Corp said on Tuesday it had teamed up with a U.S. professor and chipmaker Analog Devices Inc on technology that could give even the most tone-deaf crooner perfect pitch.
Using the "Csound" computer music language pioneered years ago by Massachusetts Institute of Technology professor Barry Vercoe, Taito will market a system this summer that adjusts sing-along music automatically to the pitch and tempo best-suited to an individual singer.
"This is sound synthesis on software that until now was only used in experiments and research," said Hidehito Kitamura, who headed up Taito's development of the new system.
Eventually, he said, Taito may use the technology to reconfigure a singer's errant tones to the proper pitch, without otherwise altering the sound.
"We'll be moving from one new feature to the next."
That could be good news for the millions of regular patrons at Japan's karaoke bars -- both those who dread the inevitable pressure to sing even if they can't carry a tune, and those who have to listen to them.
"Karaoke is said to be an original Japanese cultural contribution, but this could take it to new levels," Keio University professor Toru Iwatake told a news conference unveiling the technology.
Tuesday's demonstration was limited to automatic tempo adjustment, particularly suited for ballads, Kitamura said.
SALES PITCH
The system will also let a singer calibrate the key automatically before a song begins, he added.
Machines now require manual pitch and tempo adjustments, which can be hard for amateur songsters to gauge and can create distortions that are difficult to sing along with.
For those confident of their vocal prowess, moreover, the new system will be able to objectively assess pitch, rhythm and skill at such voice techniques as vibrato and crescendo -- an indispensable item for the occasional karaoke competition.
Karaoke rating systems already exist, but they can only determine how closely the singer's voice matches the recorded original, not singing ability.
"This assesses singing skill mathematically," Kitamura said.
MIT's Vercoe, who lauded Taito for finding a way to bring the sound synthesis technology to market, said pitch correction with Csound had been demonstrated long ago. It could even convert a spoken voice into melody, in real time.
"It's in the technology. You just have to switch it on," he said.
Taito's Kitamura added that the advent of high-speed communications had also been essential for the new system.
Ten years ago, Taito pioneered Japan's popular "telecom karaoke" services, which pipe karaoke music and lyrics to pubs and night clubs via wireline networks at far less cost than maintaining an on-site disc collection.
Noting the new system would require about a hundred times or more much bandwidth than current systems, Kitamura added: "We can do this thanks to ADSL (assymetric digital subscriber lines) and fiber-to-the-home."
also, in gcc, the -g and -O flags aren't mutually exclusive
I can hardly wait to know what to do with my kernel dump
Flush it down the toilet?
An article about nanotechnology not posted by Hemos?
I predict a duplicate story being posted within an hour.
I work with OpenVMS and NT all day long. NT is influenced by VMS, but it is absolutely not "VMS with bells on."
Lcc32 - a free win32 Compiler and IDE. The source for lcc (which lcc32 is based on) is also available, and it's a neat little cross-compiler (even if the authors are now MS employees)
This thing must set a new low for battery lifetime. I'm wondering if Tiqit isn't actually a loss-leader for Energizer batteries!
oh, one more benefit of java - since each class is compiled into it's own .class file, it's potentially easier to upgrade a few classes. With C, you'd need to relink, or create a new .so, or deal with dll hell.
I wrote a fairly simple game with Java recently. It was my first full-blown java application, so take my perspective as you see fit. This was also a few months ago, and I've lost interest in the project...
Executions speed wasn't an issue. But the tradeoffs java makes in order to be multi-platform were. Although the java API seems to allow tracking the mouse, with win2k (using Sun's JRE), I couldn't track the mouse while the button was being depressed. I got the mousedown and mouse up events, but I couldn't tell what happened to the mouse inbetween.
Another issue was that images would sometimes be loaded across the network in the middle of a screen redraw, causing unacceptable slowdowns, and the entire screen would be redrawn, rather than just the invalidated rectangle.
As I said, I gave up on the project before trying too hard to work around those issues. As I'm currently knee-deep in the Windows GDI API, the Java standard classes look better and better each day.
--lb
Freedom in the USA seems to be more about freedom to sue, than freedom of speach. Fortunately for you and CmdrTaco, there's also freedom of misspelling.