> Espcially if 2.6 becomes an unstable piece of crap.
I can't remember any development kernel in 2.5 that was an unstable piece of crap. Despite installing most of the latest releases when they come out I have not seen a kernel crash since 1996. Are there really people who have crashes on a regular basis?
> Again.. where does this 'knowledge of life' come from?
From knowing the domain of your problems. For example, when I want to boil some rice, I put it in a pot with some water and salt and turn on the heat. What are possible improvements to this process? Somebody can come up with an "automatic rice cooker" so that I wouldn't have to remember to turn down the heat after it starts boiling or to turn it off when it is done. Somebody can come up with a better stove, that would use electricity more efficiently. Somebody can come up with rice that already comes in a "ready-to-cook" package. But why would I need any of these things? So that I could save 10 seconds of time? It is simply not worth it. So I am not even going to look for any such devices and inventions. And if I do come across one in a store (which is really the only form of advertising that the world needs), I will not buy it.
> You black t-shirts comment shows that you are > trolling... if you are going to spend the money > anyway, why not get a better product?
Because you buy the product sufficient to suit your needs, not just a "better product". Since I do not care what color my T-shirts are (I never wear them as the outermost layer), it makes no sense for me to spend more money on a better detergent just to keep them black.
> plus have to spend less money on new cloths as > the old ones will stay in better condition.
Think for a moment: when was the last time you actually "wore out" a piece of clothing? I have some clothes that are ten years old and still in reasonable shape. Most people buy clothes because they want to buy clothes, not because they need any more clothes. My mother, for instance, regularly buys me shirts, which pile up in my closet in unopened form, since I can neither return them (because I have not receipt), nor wear them (because I have too many shirts already that are in excellent condition. Can you see why I don't want to see any stupid clothes ads? Because I would never buy any. If I need new clothes I can go to the thrift shop and get good-looking clothes for almost nothing. Fashion and brand names be damned!
> 'Water splotches' are caused when you wash your car with water that contains minerals
That's why you should wash your car with rain water. Or, heck, just let the rain wash it:) I don't know where you get your car so dirty that you need to wash it on a regular basis. You offroad or something? My car only gets dirty around the wheels and on the undercarriage, where "water splotches" are simply not a problem.
> Since when does Freshmeat = the open source community?
Almost all OSS projects advertise on freshmeat, so I would say that the = is justified.
> They are a 'unix program website' with every type > of license included like proprietary stuff.
There is nothing wrong with selling your code. I would do it too if I had something anybody would buy.
> If anything you should have tried sourceforge first right?
Sourceforge is considerably slower than freshmeat and its search is far more primitive due to lack of proper categories. The slowness is actually my main gripe because on my dialup link it takes up to 30 seconds to load a single search result page, which makes the search pretty much unusable unless I already know approximately what I am looking for.
> I don't blame that on Windows, I blame it on the > respective products. So why do so many linux > review sites do the opposite?
Because when you talk about Gnome 2.6 you mean Gnome 2.6 AND all its default applications. When somebody tells you to "install Gnome" he means getting the applications too, because each desktop has its own associated suite of them. Gnome has its apps, KDE has its apps, and plain X11 has its apps, neither of which usually plays well with others. In Windows there is a very clear distinction between "Windows" and "Applications", even though "Windows" also includes little programs that come with it, like minesweeper. One does not imbue "Windows programs" with the same meaning as "Gnome programs" because every program runs on Windows.
> >No, because I always know exactly what I need and when I need it
> GOTO: Original Post, read (aka, were you born with this knowledge?)
It's called knowledge of life. I have everything I need to live comfortably. All other things are unnecessary and I find any suggestion that I waste my money on them offensive. I don't care if black T-shirts stay black; gray doesn't look that bad either. And I have never seen a "water splotch" on my car, so I have no idea why you would have them.
No, because I always know exactly what I need and when I need it. And recently, there really have been no new products. Everything is just an "upgrade" with "more features" that I don't need. So I just buy the cheapest thing I can find because "cheapest" usually means "the least features", and thus "most reliable", and also "I'm paying for the product instead of some stupid advertising that assumes I have the IQ of cloth."
I have yet to see a beautiful website. Most of them set their background to white, which hurts like a razor in the eye. Besides, I actually read the content, not gaze at the eye candy anyway. The content is more important.
> rub my eyes after looking at god-awful red-on-green text
Why are you still using the web page defined colors? That's practically the first thing I turn off in my browser preferences. That's why I never see ugly backgrounds and my text is always black.
Possessing a doctorate degree in science is not the end all be all of the world. There are a lot of people who have this degree - but could not research their way out of a wet paper bag. What business truly wants, and needs, is scientists who are creative, intelligent, resourceful, unorthodox - not just people who have the book learning.
Yeah, you can make a lot of money having this degree - but unless science is your passion, it's a waste of time - and talent.
The only part that appears to have been eaten by HTML is the foreach macro, since you have already found the execinfo header. So I'll reprint it:
#define foreach(t,i,c) for(t i = c.begin(); i != c.end(); ++ i) foreach (array::iterator, i, container)
modify (*i);
It prevents infinite loops and buffer overruns, because the range is obtained from the container, and the increment is autogenerated. I use it all the time; it is included in the uSTL library.
Here you have a travelling salesman who is trying to execute the algorithm manually! Like by actually walking it! He's one who won't put up with dumb comments like "well, when I was your age, we had to run our algorithms on punchcards; did you ever see a punchcard, kid?" or "Real men program in assembler". No, as this brave man proves it, real men program the real world! The real world rulez! Feet are the ultimate CPU: they MOV, they MULL, they ADD(uct), they DIVe, and can actually perform several of those instructions in parallel. Feet are a standard and every man, woman, and child come equipped with a dual-proc rig that delivers exceptional real-world performance. Not only that, but a multitude of software packages, created by the F/OSS (Foot Operating System Software) project, distributed under the GPL (Going Places License). Many games can be played on it, like Soccer, Foot(c)ball, Twister, and the ever popular Naked Twister. More mundane applications, like the travelling salesman problem, can be solved in finite time, as demonstrated by our Starbucks traveller, and many annoying Avon representatives.
Just because you can write it that way, does not mean you should. Should you blame makers of underware for letting you put it on over your clothes? Just because Superman can do it, does not mean you should.
> #1 Garbage collection. a.k.a. automatic memory > management. Not very sexy, but by far the single > biggest productivity boosting feature of any > language. I hate housework. It is just a waste of time.
Garbage collection does not free you from memory management. It simply converts one kind of problem into another: namely it eliminates accesses of unallocated memory, but it creates memory leaks instead. The thing is, it is not always easy to figure out when you no longer need a block of memory. That's with garbage collection it is supposed to be good practice to "free" your pointers anyway, by assigning NULL to them. Why they can't just use STL containers instead, I don't know.
> #2 No pointers, no buffer overruns, no memory > corruption. Related to the first point. Memory > corruption is just so hard track down. You can > keep your pointers
You won't have any memory corruption if you don't use arbitrary indexes to access your arrays. For example, when iterating over a container, you run your iterator from ctr.begin() to ctr.end(); no corruption possible. The other cause of memory corruption is using unverified data to directly access your arrays. That happens when you ask the user for a number and then use it to index; this is wrong in so many ways, I can't even begin to list them all. Verify your data, and you will not have any data corruption.
> #3 Stack traces. Not a language feature per se, > but it takes a lot of the drudge work out of > debugging.
#include backtrace_symbols()
> #4 Python's 'for' loop for iterating over the > contents of a list or array: > > for thing in myarray: > mutate(thing)
#define foreach(t,i,c) for(t i = c.begin(); i #5 Dictionaries, a.k.a. associative arrays. It > just makes a lot of problems much much simplier > and faster to solve.
map m;
> Sure, most other languages > have dictionaries available as a class, but when > they are seamlessly built into the language you > use them as easily as any other primitive ' > datatype.
You can use map as easily as any other primitive data type of the same category: as an array. m["january"] = 31; cout "january has " m["january"] " days" endl;
> Espcially if 2.6 becomes an unstable piece of crap.
I can't remember any development kernel in 2.5 that was an unstable piece of crap. Despite installing most of the latest releases when they come out I have not seen a kernel crash since 1996. Are there really people who have crashes on a regular basis?
> Again.. where does this 'knowledge of life' come from?
:) I don't know where you get your car so dirty that you need to wash it on a regular basis. You offroad or something? My car only gets dirty around the wheels and on the undercarriage, where "water splotches" are simply not a problem.
From knowing the domain of your problems. For example, when I want to boil some rice, I put it in a pot with some water and salt and turn on the heat. What are possible improvements to this process? Somebody can come up with an "automatic rice cooker" so that I wouldn't have to remember to turn down the heat after it starts boiling or to turn it off when it is done. Somebody can come up with a better stove, that would use electricity more efficiently. Somebody can come up with rice that already comes in a "ready-to-cook" package. But why would I need any of these things? So that I could save 10 seconds of time? It is simply not worth it. So I am not even going to look for any such devices and inventions. And if I do come across one in a store (which is really the only form of advertising that the world needs), I will not buy it.
> You black t-shirts comment shows that you are
> trolling... if you are going to spend the money
> anyway, why not get a better product?
Because you buy the product sufficient to suit your needs, not just a "better product". Since I do not care what color my T-shirts are (I never wear them as the outermost layer), it makes no sense for me to spend more money on a better detergent just to keep them black.
> plus have to spend less money on new cloths as
> the old ones will stay in better condition.
Think for a moment: when was the last time you actually "wore out" a piece of clothing? I have some clothes that are ten years old and still in reasonable shape. Most people buy clothes because they want to buy clothes, not because they need any more clothes. My mother, for instance, regularly buys me shirts, which pile up in my closet in unopened form, since I can neither return them (because I have not receipt), nor wear them (because I have too many shirts already that are in excellent condition. Can you see why I don't want to see any stupid clothes ads? Because I would never buy any. If I need new clothes I can go to the thrift shop and get good-looking clothes for almost nothing. Fashion and brand names be damned!
> 'Water splotches' are caused when you wash your car with water that contains minerals
That's why you should wash your car with rain water. Or, heck, just let the rain wash it
> Since when does Freshmeat = the open source community?
Almost all OSS projects advertise on freshmeat, so I would say that the = is justified.
> They are a 'unix program website' with every type
> of license included like proprietary stuff.
There is nothing wrong with selling your code. I would do it too if I had something anybody would buy.
> If anything you should have tried sourceforge first right?
Sourceforge is considerably slower than freshmeat and its search is far more primitive due to lack of proper categories. The slowness is actually my main gripe because on my dialup link it takes up to 30 seconds to load a single search result page, which makes the search pretty much unusable unless I already know approximately what I am looking for.
> I don't blame that on Windows, I blame it on the
> respective products. So why do so many linux
> review sites do the opposite?
Because when you talk about Gnome 2.6 you mean Gnome 2.6 AND all its default applications. When somebody tells you to "install Gnome" he means getting the applications too, because each desktop has its own associated suite of them. Gnome has its apps, KDE has its apps, and plain X11 has its apps, neither of which usually plays well with others. In Windows there is a very clear distinction between "Windows" and "Applications", even though "Windows" also includes little programs that come with it, like minesweeper. One does not imbue "Windows programs" with the same meaning as "Gnome programs" because every program runs on Windows.
> >No, because I always know exactly what I need and when I need it
> GOTO: Original Post, read (aka, were you born with this knowledge?)
It's called knowledge of life. I have everything I need to live comfortably. All other things are unnecessary and I find any suggestion that I waste my money on them offensive. I don't care if black T-shirts stay black; gray doesn't look that bad either. And I have never seen a "water splotch" on my car, so I have no idea why you would have them.
> That is, unless Microsoft talks about proprietary ... jackasses
Microsoft has something nobody else has too: 95% desktop market share.
No, because I always know exactly what I need and when I need it. And recently, there really have been no new products. Everything is just an "upgrade" with "more features" that I don't need. So I just buy the cheapest thing I can find because "cheapest" usually means "the least features", and thus "most reliable", and also "I'm paying for the product instead of some stupid advertising that assumes I have the IQ of cloth."
Outsourcing would really work here! Only instead of outsourcing link clickers, perhaps they should outsource product buyers.
"proprietary" and "patented" simply means "we have something nobody else has"
Maybe they'll finally find out that advertising really does not generate any sales. I know I have never bought anything because of an ad.
Can we all be called "math jocks" then?
They could at least allow the copyright to expire with the author.
They should have read Business 101 instead. Think of all the money they could have made by selling email addresses of all the hot girls on campus.
> If you switched everything to lynx-a-like mode
> you'd lose out on those sites that use colour well.
I have not found any sites like that yet.
> It's not so easy to read the content if some 'tard
> has chosen magenta text on a cyan background though, is it?
Exactly! Now why don't browsers just override page colors by default? You can always turn the stuff back on if you really want some eye candy.
> Did you read the article? :)
Yeah. But I just read it for the contents...
I have yet to see a beautiful website. Most of them set their background to white, which hurts like a razor in the eye. Besides, I actually read the content, not gaze at the eye candy anyway. The content is more important.
> rub my eyes after looking at god-awful red-on-green text
Why are you still using the web page defined colors? That's practically the first thing I turn off in my browser preferences. That's why I never see ugly backgrounds and my text is always black.
Possessing a doctorate degree in science is not the end all be all of the world. There are a lot of people who have this degree - but could not research their way out of a wet paper bag. What business truly wants, and needs, is scientists who are creative, intelligent, resourceful, unorthodox - not just people who have the book learning.
Yeah, you can make a lot of money having this degree - but unless science is your passion, it's a waste of time - and talent.
> I'm sure the department of homeland security could
> make brilliant use of such information!!!
For instance they could be alerted whenever someone on an airplane just opened his bowel at an unscheduled time. Fear does that to a man...
> I fail to see the point of speed runs
:)
You get higher FPS
The only part that appears to have been eaten by HTML is the foreach macro, since you have already found the execinfo header. So I'll reprint it:
#define foreach(t,i,c) for(t i = c.begin(); i != c.end(); ++ i)
foreach (array::iterator, i, container)
modify (*i);
It prevents infinite loops and buffer overruns, because the range is obtained from the container, and the increment is autogenerated. I use it all the time; it is included in the uSTL library.
Here you have a travelling salesman who is trying to execute the algorithm manually! Like by actually walking it! He's one who won't put up with dumb comments like "well, when I was your age, we had to run our algorithms on punchcards; did you ever see a punchcard, kid?" or "Real men program in assembler". No, as this brave man proves it, real men program the real world! The real world rulez! Feet are the ultimate CPU: they MOV, they MULL, they ADD(uct), they DIVe, and can actually perform several of those instructions in parallel. Feet are a standard and every man, woman, and child come equipped with a dual-proc rig that delivers exceptional real-world performance. Not only that, but a multitude of software packages, created by the F/OSS (Foot Operating System Software) project, distributed under the GPL (Going Places License). Many games can be played on it, like Soccer, Foot(c)ball, Twister, and the ever popular Naked Twister. More mundane applications, like the travelling salesman problem, can be solved in finite time, as demonstrated by our Starbucks traveller, and many annoying Avon representatives.
Just because you can write it that way, does not mean you should. Should you blame makers of underware for letting you put it on over your clothes? Just because Superman can do it, does not mean you should.
> #1 Garbage collection. a.k.a. automatic memory
> management. Not very sexy, but by far the single
> biggest productivity boosting feature of any
> language. I hate housework. It is just a waste of time.
Garbage collection does not free you from memory management. It simply converts one kind of problem into another: namely it eliminates accesses of unallocated memory, but it creates memory leaks instead. The thing is, it is not always easy to figure out when you no longer need a block of memory. That's with garbage collection it is supposed to be good practice to "free" your pointers anyway, by assigning NULL to them. Why they can't just use STL containers instead, I don't know.
> #2 No pointers, no buffer overruns, no memory
> corruption. Related to the first point. Memory
> corruption is just so hard track down. You can
> keep your pointers
You won't have any memory corruption if you don't use arbitrary indexes to access your arrays. For example, when iterating over a container, you run your iterator from ctr.begin() to ctr.end(); no corruption possible. The other cause of memory corruption is using unverified data to directly access your arrays. That happens when you ask the user for a number and then use it to index; this is wrong in so many ways, I can't even begin to list them all. Verify your data, and you will not have any data corruption.
> #3 Stack traces. Not a language feature per se,
> but it takes a lot of the drudge work out of
> debugging.
#include
backtrace_symbols()
> #4 Python's 'for' loop for iterating over the
> contents of a list or array:
>
> for thing in myarray:
> mutate(thing)
#define foreach(t,i,c) for(t i = c.begin(); i #5 Dictionaries, a.k.a. associative arrays. It
> just makes a lot of problems much much simplier
> and faster to solve.
map m;
> Sure, most other languages
> have dictionaries available as a class, but when
> they are seamlessly built into the language you
> use them as easily as any other primitive '
> datatype.
You can use map as easily as any other primitive data type of the same category: as an array.
m["january"] = 31;
cout "january has " m["january"] " days" endl;