Hmm... it may be possible to create a PS virus, after all, it is a real programming language. It may be possible to make a specific printer "catch on fire"!
I was curious about this, so I checked the source. The basic problem is that IE5 doesn't deal well with a space before the 'a' in the closing anchor tag:
As sschwarm said, there are two types of exceptions: those that signify programming errors, and those that signify external failures. In the first case, exceptions are useful because they are a much cleaner way to represent errors. Consider your square root example. If someone passes a negative value, the program has a bug. (Say we are coding in Java, which doesn't have unsigned types) How can the coder who wrote the sqrt function know what the right thing to do is? Obviously, he can't. The solution that you proposed, saying that sqrt(-9) = 3, doesn't help the programmer find the bug. C is much worse, where functions' semantics are clouded by the type of fix you present. (example: what does realloc(NULL,23) mean?) In the second case, exceptions are useful because they let you separate the code that generates the error with the code that deals with the error. When your TCP connection dies, your TCPConnection class methods can throw a ConnectionLostException, and then the UI can catch that exception and deal with it appropriately. The alternatives are to have all function calls return their error status (which obfuscates the code), or to have a global errno variable (which doesn't work for threaded apps, and is a bad design anyway. e.g. Unix signal handlers may have to save and restore errno. Finally, your argument is that exceptions are unneccessary, so they shouldn't be used. Don't forget that all of the following items are unnecessary: classes, while loops, for loops, functions, pointers. Obviously there are other important criteria.
perl -MCPAN -e shell lets you download and install whatever perl modules you want. (It only works on Unix, for windows, try Activestate's PPM). It does dependency checking etc. So you could say install HTML::Mason and it would download that package and all that it depends on, compile the C bits, and install them.
Going further OT: does python have anything comparable? -- Whether you think that you can, or that you can't, you are usually right.
moderator points expire, and they only are granted every now and then, so moderators feel obligated to use them on posts like this. -- Whether you think that you can, or that you can't, you are usually right.
you need parens around the if test. Also, you might of meant post(\%article), which would pass a reference to the hash instead of converting it into a list (Assuming that you are not using prototypes and declaring post as sub post ($) {.. }). -- Whether you think that you can, or that you can't, you are usually right.
Read the rumor at Coming Attractions. The rumor was posted on January 12, 2000, so you need to click on the "archive" link. -- Whether you think that you can, or that you can't, you are usually right.
C++ is hobbled by C pointers. You *can* get a C++ garbage collector, but it only works provided that you don't do evil things with the pointers. This is also the reason why Fortran can do much more loop unrolling etc. -- Whether you think that you can, or that you can't, you are usually right.
Calling the gc method suggests that the Java Virtual Machine expend effort toward recycling unused objects in order to make the memory they currently occupy available for quick reuse. When control returns from the method call, the Java Virtual Machine has made a best effort to reclaim space from all discarded objects. -- Whether you think that you can, or that you can't, you are usually right.
I'm pretty sure that the encryption is optional. The original poster said that you cannot burn a pirate DVD, i.e. a DVD that a major studio has protected with CSS. However, its not the case that all movies must be encrypted. -- Whether you think that you can, or that you can't, you are usually right.
is the link. I entered it as: Anchorname. SLASH translated it to
Software Engineering Economics. Apparently it can't deal with a newline between the first quote and the =. This bug probably occured because perl makes it much easier to deal with HTML on a line by line basis than with a proper HTML parser.
-- My opinions may have changed, but not the fact that I am right.
Most programmers today are employees, producing closed source commercial programs. Their job is not to write a perfect program, but to maximize some function like functionality / ( bugginess * development time). Good software is nice, but never forget that, for most commercial software, the only goal is increasing the companies revenue.
Free software tends to suck less, but only the projects that are actually being worked on. If nobody fixes the bugs, the bugs don't get fixed.
ps: Software Engineering Economics is the title of a book by Barry Boehm. I haven't read it yet, but I intend to. -- My opinions may have changed, but not the fact that I am right.
Hmm... it may be possible to create a PS virus, after all, it is a real programming language. It may be possible to make a specific printer "catch on fire"!
I was curious about this, so I checked the source. The basic problem is that IE5 doesn't deal well with a space before the 'a' in the closing anchor tag:
As sschwarm said, there are two types of exceptions: those that signify programming errors, and those that signify external failures. In the first case, exceptions are useful because they are a much cleaner way to represent errors. Consider your square root example. If someone passes a negative value, the program has a bug. (Say we are coding in Java, which doesn't have unsigned types) How can the coder who wrote the sqrt function know what the right thing to do is? Obviously, he can't. The solution that you proposed, saying that sqrt(-9) = 3, doesn't help the programmer find the bug. C is much worse, where functions' semantics are clouded by the type of fix you present. (example: what does realloc(NULL,23) mean?) In the second case, exceptions are useful because they let you separate the code that generates the error with the code that deals with the error. When your TCP connection dies, your TCPConnection class methods can throw a ConnectionLostException, and then the UI can catch that exception and deal with it appropriately. The alternatives are to have all function calls return their error status (which obfuscates the code), or to have a global errno variable (which doesn't work for threaded apps, and is a bad design anyway. e.g. Unix signal handlers may have to save and restore errno. Finally, your argument is that exceptions are unneccessary, so they shouldn't be used. Don't forget that all of the following items are unnecessary: classes, while loops, for loops, functions, pointers. Obviously there are other important criteria.
Personally, I usually just lurk. I only post a comment when I have something important to say.
You are an old skool internet hippie. Information wants to be paid for!
Here is an introduction to automake/autoconf.
--
Whether you think that you can, or that you can't, you are usually right.
lets you download and install whatever perl modules you want. (It only works on Unix, for windows, try Activestate's PPM). It does dependency checking etc. So you could say
install HTML::Mason
and it would download that package and all that it depends on, compile the C bits, and install them.
Going further OT: does python have anything comparable?
--
Whether you think that you can, or that you can't, you are usually right.
moderator points expire, and they only are granted every now and then, so moderators feel obligated to use them on posts like this.
--
Whether you think that you can, or that you can't, you are usually right.
s/^([^#]*)#.*$/$1/; # Comments? What for? instead, simply use: s/#.*$//;
--
Whether you think that you can, or that you can't, you are usually right.
No Lesstif, it uses statically-linked Motif.
--
Whether you think that you can, or that you can't, you are usually right.
NIC card.
--
Whether you think that you can, or that you can't, you are usually right.
What about Road Runner?
--
Whether you think that you can, or that you can't, you are usually right.
you need parens around the if test. Also, you might of meant post(\%article), which would pass a reference to the hash instead of converting it into a list (Assuming that you are not using prototypes and declaring post as sub post ($) { .. }).
--
Whether you think that you can, or that you can't, you are usually right.
"Premature optimization is the root of all evil."
--
Whether you think that you can, or that you can't, you are usually right.
AHH but does Jesus love Satan? How does Satan feel about that?
--
Whether you think that you can, or that you can't, you are usually right.
Correct link
--
Whether you think that you can, or that you can't, you are usually right.
Read the rumor at Coming Attractions. The rumor was posted on January 12, 2000, so you need to click on the "archive" link.
--
Whether you think that you can, or that you can't, you are usually right.
You can find that review on Ars Technica.
--
Whether you think that you can, or that you can't, you are usually right.
C++ is hobbled by C pointers. You *can* get a C++ garbage collector, but it only works provided that you don't do evil things with the pointers. This is also the reason why Fortran can do much more loop unrolling etc.
--
Whether you think that you can, or that you can't, you are usually right.
Calling the gc method suggests that the Java Virtual Machine expend effort toward recycling unused objects in order to make the memory they currently occupy available for quick reuse. When control returns from the method call, the Java Virtual Machine has made a best effort to reclaim space from all discarded objects.
--
Whether you think that you can, or that you can't, you are usually right.
I've heard "click and mortar". ughh.
--
Whether you think that you can, or that you can't, you are usually right.
I'm pretty sure that the encryption is optional. The original poster said that you cannot burn a pirate DVD, i.e. a DVD that a major studio has protected with CSS. However, its not the case that all movies must be encrypted.
--
Whether you think that you can, or that you can't, you are usually right.
http://www.amazon.com/exec/obidos/ASIN/0138221227/ qid=948810740/sr=1-3/104-3114364-8512462
is the link. I entered it as: Anchorname. SLASH translated it to
Software Engineering Economics. Apparently it can't deal with a newline between the first quote and the =. This bug probably occured because perl makes it much easier to deal with HTML on a line by line basis than with a proper HTML parser.
--
My opinions may have changed, but not the fact that I am right.
Free software tends to suck less, but only the projects that are actually being worked on. If nobody fixes the bugs, the bugs don't get fixed.
ps: Software Engineering Economics is the title of a book by Barry Boehm. I haven't read it yet, but I intend to.
--
My opinions may have changed, but not the fact that I am right.
Dammit! I knew I should have used a longer markov chain. dadadodo
--
My opinions may have changed, but not the fact that I am right.