I wrote a program 14 years ago that does exactly what you describe. Back then, I was filling out college applications, and I didn't have a typewriter, but I had a dot-matrix printer hooked up to my 286. The program was written in GW-BASIC, which had a command (lprint ??) that sent characters to a parallel port. The program was able to type either a single character or a full line at a time. My programming skills were pretty poor back then, which goes to show how easy this was to do.
It's too bad that modern printers aren't quite so easy to hack.
For humans and most other higher species, there are 20 amino acids found in proteins. The 21st and 22nd, as far as this scant article seems to imply, are found only in certain types of bacteria.
Amino acids are encoded from triplets of DNA, called codons. 4^3 equals 64 possible codons. In our cells, there are 64 types of tRNA, each of which binds to a particular codon, and maps to one of 20 amino acids, plus "start" and "stop".
Now if someone found a human cell type which contains an altered tRNA that encodes for a non-standard amino acid, then THAT would be big news for us... e.g. major revisions to Biochemistry 101 texts.
Finally, only 12 of the 20 amino acids in our body are "essential". The other 8 can be synthesized from other similar amino acids. Hence, the combination of beans and rice doesn't necessarily contain all 20 amino acids, but at the very least, it has the 12 essential ones.
This may be a naive question, but why do KVM switches all have limits on video resolution?
My friend bought himself a $10 el cheapo manual 4-port switch. For some reason, it won't go past 640x480. Why the hell does it care about the signal frequency?
I have the linksys switch mentioned in the review, and it works ok, except that I've had mouse issues switching between my windows and linux boxes.
I don't think this post deserves much of a response because it is quite simply a piece of trash. What amazes me is that is got modded up "+4 insightful" instead of "-1 Flamebait", which is all it deserves for its blatant anti-semitism and misrepresentation of fact.
So many readers on slashdot, represented by the moderators here, appear to be so obsessed with the evils of establisment (whether it's Microsoft, US Govt, Israel, etc.), that they parade around any statement, fact or fiction, that demonizes the powers that be.
We often look towards simple answers for complex questions. The simple answer tendered here is to blame the Jews for September 11. I sincerely hope that the majority of readers take the time to learn historical facts and understand the absurdity of such a conclusion.
American media has more propaganda than Pravda? Is that what you think?
As a Soviet emigre, I find it insulting that you can even draw such a comparison. I have relatives who have spent years in prison in Stalinist labor camps. My parents, for most of their lives, lived in fear of speaking their minds. Do you have ANY idea what it means to live in an oppressive society?
I am completely bedazzled by the anti-american bashers who never stop for a moment to think about how lucky they are that they can bash away all they like, without fearing for their lives. There are billions of people in the world who don't have this luxury.
I'm also amazed at how many people are so thoroughly 100% cynical of US foreign policy. It's even become non-PC to think otherwise. I won't deny the prime motivator is usually economic, but I also think the world is a bit more complicated than that.
Pardon me for being one of the media-brainwashed masses.
Harry Brown is preaching isolationism and appeasement, the very same policy which resulted in WWII and, had it continued, would have allowed the Nazis to win the nuclear race, and thus, the entire war.
The US involves itself in international affairs to protect the "interest of the free world". We don't live in a closet. Just because attrocities occur in different parts of the world, does not mean that it won't eventually endanger us and those who share our philosophies.
If anything, yesterday's events may never have happened if we had finished off Sadam when we had the chance. For now, it's too early to tell if he's responsible.
The attraction of gecko feet to surfaces is due to Van der Waals forces, which are based on the principle that if two atoms are very close to each, then they will induce electrostatic dipoles in each other, thereby leading to an attraction.
This is the principle by which many types of matter are held together. For example, fluid hydrocarbons are held together loosely by Van der Waals interactions. Applying an electric field to such a fluid will not vaporize it. Likewise, a gecko's feet would probably remain stuck to a surface regardless of nearby electric fields.
I visited Visio in Seattle for a developer course about a year ago, and quite frankly, I'm not surprised that they would be bought by Microsoft, given the MS-heavy atmosphere there.
The acquisition of Visio should also strike fear into the hearts of Autodesk Inc, considering that they will now face direct competition from MS in the 3D cad market via Visio's IntelliCAD.
I'm guessing that your code consists of many small source files with some pretty hefty header files. 25 minutes sounds like a bit much for 100k lines. I've encountered the same sort of problem, but with less code.
Though I agree that VC-style pre-compiled headers would be a nice addition to GCC, I think there are ways to work around the problem.
First of all, check your dependencies and try to get rid of nested includes. For a containment hierarchy, I find that using pointers and forward class declarations (rather than explicit instances) is an effective way to avoid bloated headers. I'm willing to bet that many of your source files are including a lot of things they don't really need.
Second, try to consolidate some of your smaller source files. I know a lot of people like to code one file per class, but if you bunch together small related classes into moderate-sized source files (like 1000 lines each), it might help.
Finally, (and this is not pretty), create an alternate build option for linux whereby all your source files are compiled into a single object. This would be the quickest and most effective way to cut your total compile time by a factor of 10. Obviously, this is only an option if you're doing a complete (or major) rebuild.
I know that none of the above is really answering your question that well, but this is what I would try. I'd be curious, myself, to find better workarounds.
Btw, linux is 1.5 million lines, whereas MFC is about 150k. Plus linux is an OS, so, where low-level performance tweaks are a must, gotos are more forgivable, I suppose.
Personally, I conclude from this pointless exercise that code should not be judged by its goto count.
There definitely are mpeg encoders out there. Just do a search. I used one a couple years ago to record a CGI animation, but I don't remember where I got it from.
Does anyone know of any software for converting between different formats... like say from QT or AVi to MPEG-1(2) ? I've always been surprised how there seems to be nothing around which does that.
FYI, the vast majority of applications written are in-house hacks done by consultants and what-have-you. Commercial-grade end-user software (the kind on your Win98 box) is almost always written in C++, but if you count by number of programmers, VB wins hands down.
I don't know how far along those berliners are, but let me tell your from personal experience that OpenGL is not optimized for 2D graphics, period. I suppose if you shut off depth-buffering, alpha-blending, lighting, and a few other things, then it *can* be fast, but then it's not 3D anymore, hence defeating the original purpose of using OpenGL.
On top of that, OGL has no native support for fonts, printing, serialization, and probably a few other things that may be important for a windowing system. One of OpenGL's original design principles was to be window-system agnostic (unlike IRIS-GL), so it's kind of ironic that it's being used to create a window system.
Although I salute their effort, I think OpenGL is the wrong tool for the job. It'll probably be a decade before computers are fast enough to handle a truly 3D windowing system. Right now, I'm guessing that anything short of an Onyx won't even come close.
"The company doesn't see VaporStream being a useful tool for terrorists because it's built for one-to-one conversations, not one to a group."
Now THAT's a convincing argument.
I wrote a program 14 years ago that does exactly what you describe. Back then, I was filling out college applications, and I didn't have a typewriter, but I had a dot-matrix printer hooked up to my 286. The program was written in GW-BASIC, which had a command (lprint ??) that sent characters to a parallel port. The program was able to type either a single character or a full line at a time. My programming skills were pretty poor back then, which goes to show how easy this was to do.
It's too bad that modern printers aren't quite so easy to hack.
For humans and most other higher species, there are 20 amino acids found in proteins. The 21st and 22nd, as far as this scant article seems to imply, are found only in certain types of bacteria.
Amino acids are encoded from triplets of DNA, called codons. 4^3 equals 64 possible codons. In our cells, there are 64 types of tRNA, each of which binds to a particular codon, and maps to one of 20 amino acids, plus "start" and "stop".
Now if someone found a human cell type which contains an altered tRNA that encodes for a non-standard amino acid, then THAT would be big news for us... e.g. major revisions to Biochemistry 101 texts.
Finally, only 12 of the 20 amino acids in our body are "essential". The other 8 can be synthesized from other similar amino acids. Hence, the combination of beans and rice doesn't necessarily contain all 20 amino acids, but at the very least, it has the 12 essential ones.
This may be a naive question, but why do KVM switches all have limits on video resolution?
My friend bought himself a $10 el cheapo manual 4-port switch. For some reason, it won't go past 640x480. Why the hell does it care about the signal frequency?
I have the linksys switch mentioned in the review, and it works ok, except that I've had mouse issues switching between my windows and linux boxes.
I don't think this post deserves much of a response because it is quite simply a piece of trash. What amazes me is that is got modded up "+4 insightful" instead of "-1 Flamebait", which is all it deserves for its blatant anti-semitism and misrepresentation of fact.
So many readers on slashdot, represented by the moderators here, appear to be so obsessed with the evils of establisment (whether it's Microsoft, US Govt, Israel, etc.), that they parade around any statement, fact or fiction, that demonizes the powers that be.
We often look towards simple answers for complex questions. The simple answer tendered here is to blame the Jews for September 11. I sincerely hope that the majority of readers take the time to learn historical facts and understand the absurdity of such a conclusion.
American media has more propaganda than Pravda? Is that what you think?
As a Soviet emigre, I find it insulting that you can even draw such a comparison. I have relatives who have spent years in prison in Stalinist labor camps. My parents, for most of their lives, lived in fear of speaking their minds. Do you have ANY idea what it means to live in an oppressive society?
I am completely bedazzled by the anti-american bashers who never stop for a moment to think about how lucky they are that they can bash away all they like, without fearing for their lives. There are billions of people in the world who don't have this luxury.
I'm also amazed at how many people are so thoroughly 100% cynical of US foreign policy. It's even become non-PC to think otherwise. I won't deny the prime motivator is usually economic, but I also think the world is a bit more complicated than that.
Pardon me for being one of the media-brainwashed masses.
Harry Brown is preaching isolationism and appeasement, the very same policy which resulted in WWII and, had it continued, would have allowed the Nazis to win the nuclear race, and thus, the entire war.
The US involves itself in international affairs to protect the "interest of the free world". We don't live in a closet. Just because attrocities occur in different parts of the world, does not mean that it won't eventually endanger us and those who share our philosophies.
If anything, yesterday's events may never have happened if we had finished off Sadam when we had the chance. For now, it's too early to tell if he's responsible.
life begins after medical school.
I guess my hairy programmer's ass will forever be subhuman.
Here's a link to an article from Pravda.
The title says it all: "AMERICAN COMPUTER MEN STAND UP FOR A RUSSIAN PROGRAMMER DMITRY SKLYAROV".
What's interesting is that this story is more about our reaction to the story than about Dmitry himself.
Perhaps someone else can do some more digging for other stories.
Old japanese saying...
To sleep with nurse, one must be patient.
(Or was that confucious?)
The attraction of gecko feet to surfaces is due to Van der Waals forces, which are based on the principle that if two atoms are very close to each, then they will induce electrostatic dipoles in each other, thereby leading to an attraction.
This is the principle by which many types of matter are held together. For example, fluid hydrocarbons are held together loosely by Van der Waals interactions. Applying an electric field to such a fluid will not vaporize it. Likewise, a gecko's feet would probably remain stuck to a surface regardless of nearby electric fields.
I visited Visio in Seattle for a developer course about a year ago, and quite frankly, I'm not surprised that they would be bought by Microsoft, given the MS-heavy atmosphere there.
The acquisition of Visio should also strike fear into the hearts of Autodesk Inc, considering that they will now face direct competition from MS in the 3D cad market via Visio's IntelliCAD.
"The following references, which were not part of the November '93 version of this paper, show support for this point of view....."
So exactly which version are we looking at and how much has changed since the original?
Suddenly, the paper doesn't seem quite so remarkably "visionary" any more.
I would have had to wait until the end of May or early April
;-)
Do the months go backwards in Australia?
I'm guessing that your code consists of many small source files with some pretty hefty header files. 25 minutes sounds like a bit much for 100k lines. I've encountered the same sort of problem, but with less code.
Though I agree that VC-style pre-compiled headers would be a nice addition to GCC, I think there are ways to work around the problem.
First of all, check your dependencies and try to get rid of nested includes. For a containment hierarchy, I find that using pointers and forward class declarations (rather than explicit instances) is an effective way to avoid bloated headers. I'm willing to bet that many of your source files are including a lot of things they don't really need.
Second, try to consolidate some of your smaller source files. I know a lot of people like to code one file per class, but if you bunch together small related classes into moderate-sized source files (like 1000 lines each), it might help.
Finally, (and this is not pretty), create an alternate build option for linux whereby all your source files are compiled into a single object. This would be the quickest and most effective way to cut your total compile time by a factor of 10. Obviously, this is only an option if you're doing a complete (or major) rebuild.
I know that none of the above is really answering your question that well, but this is what I would try. I'd be curious, myself, to find better workarounds.
Couldn't resist doing this. Draw your own conclusions folks.....
maple> grep -c goto `find
97
maple> grep -c goto `find
6097
Btw, linux is 1.5 million lines, whereas MFC is about 150k. Plus linux is an OS, so, where low-level performance tweaks are a must, gotos are more forgivable, I suppose.
Personally, I conclude from this pointless exercise that code should not be judged by its goto count.
There definitely are mpeg encoders out there. Just do a search. I used one a couple years ago to record a CGI animation, but I don't remember where I got it from.
Does anyone know of any software for converting between different formats... like say from QT or AVi to MPEG-1(2) ? I've always been surprised how there seems to be nothing around which does that.
FYI, the vast majority of applications written are in-house hacks done by consultants and what-have-you. Commercial-grade end-user software (the kind on your Win98 box) is almost always written in C++, but if you count by number of programmers, VB wins hands down.
I don't know how far along those berliners are, but let me tell your from personal experience that OpenGL is not optimized for 2D graphics, period. I suppose if you shut off depth-buffering, alpha-blending, lighting, and a few other things, then it *can* be fast, but then it's not 3D anymore, hence defeating the original purpose of using OpenGL.
On top of that, OGL has no native support for fonts, printing, serialization, and probably a few other things that may be important for a windowing system. One of OpenGL's original design principles was to be window-system agnostic (unlike IRIS-GL), so it's kind of ironic that it's being used to create a window system.
Although I salute their effort, I think OpenGL is the wrong tool for the job. It'll probably be a decade before computers are fast enough to handle a truly 3D windowing system. Right now, I'm guessing that anything short of an Onyx won't even come close.
Just use ordinary copper/metallic wire. Twisted multi-strand wire outght to be a lot more flexible and resilient than plain solid wire.
My parallel-port QuickCam also turns Win95 into a slug.
I swear I will never again buy another parallel port device, EVER. From now on, it's either SCSI or USB. Does anyone know the status of USB on linux?