#define catchall \
else if (cur_env__ = cur_env__->prev_env, free(ne__), 1)
#define endtry \
} while (0)
#define throw(e) longjmp(cur_env__->env, (e))
And then you would define cur_env__ in a module somewhere. OK it's not exactly 20 lines, and I don't know that you could get something really generic and useful in 20 lines (unless your lines are 100 characters long I guess, hee hee). Preferrably you would carry around something else in the struct exc_env_t, like a string or an object or something that would help describe the exception. There are a few other problems here, but nothing that wouldn't be completely and utterly trivial to implement. BTW a sample usage might be:
Uhh you severely missed his point. Even though you have an account, you're
no less anonymous than an AC. Perhaps if your username were "Harold
Thompson from Houston, TX" you might have a case. As it stands, the
difference in anonymity between you or me or an AC is pretty much zero.
Personally I'd prefer teachers/professors actually teaching instead of going
from textbooks all the time, but I guess that's not quite as profitable. On
the plus side, eBooks would be many times easier to copy than paper books,
so I could end up saving money after all.
Yes, this is due to Windows and X Windows sucking ass. AFAIK, both do
graphical measurements in pixels, which is all but useless. OpenStep,
Berlin, Mac OS X's GUI (which is more or less OpenStep I guess) and probably
many others do measurements in real world units (e.g. millimetres, points,
inches), which makes things a lot more logical.
Right now, the only dual-monitor support is in X:(. Well, there is
dual-headed MDA support in the kernel, but I think that's only monochrome
text, so its use is pretty limited.
But yeah. I don't really like X, so if video goodness (such as
dual-headedness) were to be added to the kernel, I'd be happy.
Without a licence, you have no way to legally use/copy a piece of software.
When you download Mozilla, you will be forced to accept a licence before
using it, as is with any other piece of software. That licence will
*either* be the MPL or the GPL. If you accept the terms of the licence you
are given, then you can use the software.
Uhh this is no more off-topic than Cowpland leaving Corel. If you like to
read about Corel more than you like to read about Anime, filter out the
"anime" category but leave the "Corel" category.
To my knowledge, there aren't any real CDs printed yet. Right now, you have
to bootstrap from Linux. There are instructions at http://www.pick.ucam.org/~mcv21/hurd.html .
Basically what you do is:
partition (if you put the Hurd and Linux on the same partition, things
will get messed, because the Hurd does a lot of cool stuff with inodes to
make changes persistent)
get dpkg and a bunch of.debs
"cross-install" the.debs onto the Hurd partition (there is a shell
script for this)
make a GRUB bootdisk (BTW GRUB is by far the coolest x86 bootloader I've
ever seen)
I suppose a CD would be nice (it would save quite a bit of download time if
you're on dial-up), but, quite frankly, I don't think anyone would buy it:D
Damn straight! Oh wait a second, I just realised that "/.ers" aren't a
single entity.
Really, though, it is a stupid site. I don't care one way or the other if
it stays up or not, but anyone who buys from there is utterly and completely
stupid. Most doctors will send you their thesis for free, and those who
don't will send you their thesis for the cost of reproduction. If not, then
this really would fall under the "abandonware" article that Slashdot posted
recently.
The part about "reselling" is completely orthogonal to the part of VPNs. Here what you want:
without limiting the generality of the foregoing, the service is for personal and
non-commercial use only and [the] customer agrees not to use the service for
operation as an internet service provider, a server site for ftp, telnet, rlogin, e-mail
hosting, "web hosting" or other similar applications, for any business enterprise including,
but not limited to, those in competition with the service, or as an end-point on a non-comcast
local area network or wide area network, or in conjunction with a vpn (virtual private
network) or a vpn tunneling protocol;
That said, it's probably wise to just ignore the policy. I would suspect fully 100% of @home
subscribers are breaking at least two of the rules mentioned there; if they're not, they're
wasting their money. It seems that @home (at least in my part of the world) only gets annoyed
when you start using up obscene amounts of bandwidth (e.g. around 1GB/day
regularly/constantly).
WTF dude? Why does it always have to be Microsoft vs. Unix? There are
other software companies out there. There are other operating systems out
there. Windows sucks. Unix sucks. Let's call the whole thing off.
Your assertion that Unix is not meant to be used by beginners is completely false. Maybe Unix is not meant to be *administered* by beginners; I'll concede that. But Unix was meant to be used in large corporate or academic settings to allow non-engineers the previlege of sharing some of that new fangled processing time. I'm sure Unix wouldn't be so bad if people would give up the idea that they can learn everything from a book (people are usually more helpful), but that's not to say that trying to make Unix better is pointless because "it's always sucked" (to paraphrase you).
Actually, if you're referring to when they announced the G4 Cube, they were down because they were busy updating the site (uploading Quicktime clips and whatnot), not because of heavy load. Though I'm sure there was a huge load.
There are some instances where your POSIX.1 buddies come in handy, though. e.g. "uh oh I just realised that I didn't update my email address on my old pages. I need to change my email address from joe_smith@m1.example.com to joe_smith@example.com on all my pages. But there are so many of them!". A quick "for i in *.html ; do sed 's/joe_smith@m1\.example\.com/joe_smith@example\.c om/g' < $i >._ && mv._ $i ; done" would take care of that.
Okay that example was a bit contrived, too. But any time you have to do a lot of similar (yet slightly uncommon) tasks to a large number of files that can be categorised, Unix will be your friend. Doing repetitive tasks is what computers were made for anyway, right?
No kidding. This is outrageous. How am I suppose to whore if I don't get any karma. If this continues for much longer people might have to start making thought-out and meaningful posts.
Just off the top of my head, here's something you could do for (non-threadsafe) error handling in C:
/* maybe put in a diagnostic here? */ \
:)
#include
#include
extern struct exc_env_t {
struct exc_env_t *prev_env;
jmp_buf env;
} *cur_env__;
#define try \
do { \
int jvr__; \
struct exc_env_t *ne__; \
\
ne__ = malloc(sizeof *ne__); \
assert(ne__);
\
ne__->prev_env = cur_env__; \
cur_env__ = ne__; \
\
jvr__ = setjmp(cur_env__->env); \
if (jvr__ == 0)
#define catch(e) \
else if (jvr__ == (e) && (cur_env__ = cur_env__->prev_env, \
free(ne__), 1))
#define catchall \
else if (cur_env__ = cur_env__->prev_env, free(ne__), 1)
#define endtry \
} while (0)
#define throw(e) longjmp(cur_env__->env, (e))
And then you would define cur_env__ in a module somewhere. OK it's not exactly 20 lines, and I don't know that you could get something really generic and useful in 20 lines (unless your lines are 100 characters long I guess, hee hee). Preferrably you would carry around something else in the struct exc_env_t, like a string or an object or something that would help describe the exception. There are a few other problems here, but nothing that wouldn't be completely and utterly trivial to implement. BTW a sample usage might be:
try
throw(error_super_cool);
catchall {
try {
some_function();
another_that_might_throw_an_exception();
} catchall
exit(1);
endtry;
} endtry;
I think I saw something like this on Freshmeat once, but wasn't very impressed with it for one reason or another. Anyway, hope this helps.
Hope Slashdot formats it well
Uhh you severely missed his point. Even though you have an account, you're no less anonymous than an AC. Perhaps if your username were "Harold Thompson from Houston, TX" you might have a case. As it stands, the difference in anonymity between you or me or an AC is pretty much zero.
Personally I'd prefer teachers/professors actually teaching instead of going from textbooks all the time, but I guess that's not quite as profitable. On the plus side, eBooks would be many times easier to copy than paper books, so I could end up saving money after all.
Yes, this is due to Windows and X Windows sucking ass. AFAIK, both do graphical measurements in pixels, which is all but useless. OpenStep, Berlin, Mac OS X's GUI (which is more or less OpenStep I guess) and probably many others do measurements in real world units (e.g. millimetres, points, inches), which makes things a lot more logical.
Actually here name was Ada Byron. Lovelace was her nickname. IINM.
But yeah. I don't really like X, so if video goodness (such as dual-headedness) were to be added to the kernel, I'd be happy.
The GPL forbids the licensee changing its terms. The licence holder (i.e. Netscape) can do whatever the hell it wants, no matter what the GPL says.
At least that's the way I understand it.
Uhh this is no more off-topic than Cowpland leaving Corel. If you like to read about Corel more than you like to read about Anime, filter out the "anime" category but leave the "Corel" category.
Umm no, that's false. Being Canadian, I was forced to learn French in school, and I am now anything but bilingual.
I suppose a CD would be nice (it would save quite a bit of download time if you're on dial-up), but, quite frankly, I don't think anyone would buy it :D
It is available. It's usable, though I can't get apt-get to work for some, and the application support is a bit limited.
The GPL would be protected from being sold? What kind of glue are you on?
Really, though, it is a stupid site. I don't care one way or the other if it stays up or not, but anyone who buys from there is utterly and completely stupid. Most doctors will send you their thesis for free, and those who don't will send you their thesis for the cost of reproduction. If not, then this really would fall under the "abandonware" article that Slashdot posted recently.
without limiting the generality of the foregoing, the service is for personal and non-commercial use only and [the] customer agrees not to use the service for operation as an internet service provider, a server site for ftp, telnet, rlogin, e-mail hosting, "web hosting" or other similar applications, for any business enterprise including, but not limited to, those in competition with the service, or as an end-point on a non-comcast local area network or wide area network, or in conjunction with a vpn (virtual private network) or a vpn tunneling protocol;
That said, it's probably wise to just ignore the policy. I would suspect fully 100% of @home subscribers are breaking at least two of the rules mentioned there; if they're not, they're wasting their money. It seems that @home (at least in my part of the world) only gets annoyed when you start using up obscene amounts of bandwidth (e.g. around 1GB/day regularly/constantly).
ogglame foo.mp3 foo.ogg
(ogglame is an encoder/transcoder)
Thank you, mister grade 3 science teacher.
You were impressed by a poorly presented lie?
WTF dude? Why does it always have to be Microsoft vs. Unix? There are other software companies out there. There are other operating systems out there. Windows sucks. Unix sucks. Let's call the whole thing off.
Your assertion that Unix is not meant to be used by beginners is completely false. Maybe Unix is not meant to be *administered* by beginners; I'll concede that. But Unix was meant to be used in large corporate or academic settings to allow non-engineers the previlege of sharing some of that new fangled processing time. I'm sure Unix wouldn't be so bad if people would give up the idea that they can learn everything from a book (people are usually more helpful), but that's not to say that trying to make Unix better is pointless because "it's always sucked" (to paraphrase you).
Actually, if you're referring to when they announced the G4 Cube, they were down because they were busy updating the site (uploading Quicktime clips and whatnot), not because of heavy load. Though I'm sure there was a huge load.
There are some instances where your POSIX.1 buddies come in handy, though. e.g. "uh oh I just realised that I didn't update my email address on my old pages. I need to change my email address from joe_smith@m1.example.com to joe_smith@example.com on all my pages. But there are so many of them!". A quick "for i in *.html ; do sed 's/joe_smith@m1\.example\.com/joe_smith@example\.c om/g' < $i > ._ && mv ._ $i ; done" would take care of that.
Okay that example was a bit contrived, too. But any time you have to do a lot of similar (yet slightly uncommon) tasks to a large number of files that can be categorised, Unix will be your friend. Doing repetitive tasks is what computers were made for anyway, right?
No kidding. This is outrageous. How am I suppose to whore if I don't get any karma. If this continues for much longer people might have to start making thought-out and meaningful posts.
A simpler language.
That's why we have code-checkers. Like lclint, and -Wenum-clash on g++ et al? Ya? Making it a requirement of the language is just plain weird.