Children do not have the right to vote, so it follows that they have no say in how they get censored.
No it doesn't Animals can't vote but they have rights too. The child's right to free speech is just that, it isn't a right to watch porno. (Though I've never heard about the ancient Romans compaling because they were involved in orgies as children).
Running multiple threads is more or less the same as running multiple processes, if you manage the threads resources well then it's fairly easy to clean up when a thread crashes. (I've made a few assumptions about core libraries being well debugged, which should hopefully be the case.)
Install a signal handler, when the thread crashes the signal handler will be called and you can stop / cleanup / verify that the stacks ok for the thread that has crashed. Fortunatly I've got some code for this....
Qt is thread-safe. What you can't do is interact with the GUI from outside the main thread, that's all. That's all!! You can have a multithreaded app so long as you run anything GUI through a mutex, that's not thread safe.
Also, when a program crashes, it simply crashes, regardless of whether it was single-threaded or multi-threaded. Killing, cancelling or otherwise suspending threads without going through their normal exit sequence is not a good programming practice.
Umm... no it doesn't it's possible to recover from a crashed thread if you manage the threads resources properly, I think it's better programming practice to give the user the opportunity to save their work.
For instance, if a thread crashes because of a div/0 or a missing NULL pointer check and the stack trace is clean there's a very good change that you can susspend the thread with little or no sideeffects (with good resource tracking it's closer to none). That's not a 100% guarantee, but it miles better than the current situation.
The biggest draw for me to the 360 is the online. MS has put together a solid online system that neither Sony or Nintendo can even come close to at this point.
Give Microsoft reputation for producing less than par network application how long do you think it's going to be before you XBox 360 is owned? I doubt that their DRM + trusted architecture is going to be bullet proof enough to prevent hackers running code.
Ok, years ago you could get all kinds of pirated software on DAT tape, software that cost much more money than most people could afford. Like today people installed and ran that pirated software, learned how to use it and when the.COM boom started they went to work for companies already knowing how to use all this expensive software. When the company turned around and asked their employees which software to use they told their boss to use the same software they got on pirated on the DAT tapes, and the companies that produced that software proffit ed. By allowing people to use/learn Qt for free Qt gain hundreds of people who already know how to use their toolkit when they enter a commercial environment.
That probably still doesn't make sense.... one day...
Also I don't believe thread safety would prevent all of Konqueror crashing if a tab in Konqueror crashed. Also I use to have the flash plugin crash all the time and it never would crash Konqueror, so there is at least some protection against plugin crashes in Konqueror.
If QT was thread safe then you could run plugins/kparts and Konqueror windows/tabs in separate threads, if the thread crashes you can just kill/susspend that thread and warn the user that their other windows may crash, so save any work and they can probably keep on going.
The reason that flash plugins don't kill the browser is because nspluginviewer runs in a separate process to Konqueror, threads would allow the plugins to run in separate threads (and possibly be pooled), Qt and KDE etc... would also be able to benefit from the new multi-core chips coming out.
And one last thing: Its Qt not QT. I use to think it was QT but its actually Qt (and pronounced Cute). Wow this is like the only time I will ever be able to correct someone's spelling... or grammar... or... whatever the hell that would be counted as!
You should look at the rest of my posts if you want an example of poor spelling and grammar, they kept me in school like a prison for years but never bothered to teach me English.
I wish I could select uneditable text (like error messages!) I wish the QT supported full reflection and serialization so that drag and drop could be fully intergated in KDE. I wish they would make QT thread safe so that when web plugins and konquerer tabs crashed they didn't take all my konqueror windows with them.
and finally I wish that new guy would read my comment.
I think KDE is a pretty good add for their toolkit, and like the pirated coppies of Adobe software when the GPLers at collage leave collage their going to go to their employers knowing how to use the QT toolkit.
unless I'm just putting something together quickly I try to make sites fully standards compliant (even down to putting in the acronym and abbreviation tags), I have a load of XML scripts that do those kind of things and check for complacency. Sometimes that breaks IE, but I suppose it was broken to start with.
The reason no one makes drivers is simple: Linus keeps changing the internals of the kernel all the time, so you can't just write a driver for 2.6.x and be done with it, you have to write one for 2.6.1, 2.6.2, 2.6.3 etc.... and then people complain when they don't compiler properly or work too well (ref ATI).
Linux will never get external people writing drivers until the kernel stabilizes a lot of it's interfaces.
WAP and text only browser are never going to look and act the same, and other browsers are all going to have their own special features. What you really need is for browsers to use the formula in the W3C standard to layout the page and interpret the HTML/XHTML/CSS etc... instead of making it up as they go along.
Don't blame me, blame the English language. Compaired to my writing errors my coding errors are non-existant, so I don't have any problems writing logically and accurately the English languages has problems letting me.
But what about that huge fissure, it sure looks like a couple of plates ripped appart, kinda the opposite of the Tibetan plateau (did the same geological even create the Mariana trench?). The plate techtonics don't have to have lasted for that long or they could be incredibly slow (Mars doesn't have a large moon) creating one big volcano and a huge trench.
There's are reason why nothing is being done about the problem, it's called Social Darwinism. I don't know what they have against accelerated, assisted evolution though.
Since medical research costs on the order of half a billion dollars minimum to research and test a new drug to approval
More and more computer simulations and electronic tests are being developed to test drugs. In the next 10-30 years I expect that there will be a broad range of tests (including genetic tests) than can be done relatively quickly for a fraction of the cost of today's testing, that should hopefully result in better, faster clinical trials significantly reducing the cost of drug development. The question is will drug prices drop when this technology becomes available?
You usually have to have a workable model and not just a theory to get a patent, and I don't think the Geeks with girls ration has improved much lately.
Yeh, fine if I'm the only one with a fixed IP but I'm not and my ISP probably uses many of the same scripts for managing their fixed IP's, so in effect there is no extra administration over that which the ISP already requires to manage themseves.
So, the things don't run themselves, but they are aldready runnning regardles of whether I have a fixed IP or a dynamic one.
Well, quite a few people and before XMLHTTPRequest existed. Basically exactly the same as AJAX but using popunders to perform cross site scripting and without the fancy name.
Lots of sites that take a Zip and house number and return the full address use pre-AJAX AJAX.
...In the direction of making patents completely and utterly useless. Now all they have to do is remove the prior art clauses and were in patent utopia.
Children do not have the right to vote, so it follows that they have no say in how they get censored.
No it doesn't Animals can't vote but they have rights too. The child's right to free speech is just that, it isn't a right to watch porno. (Though I've never heard about the ancient Romans compaling because they were involved in orgies as children).
See this post for a code sample.
8 26115
http://slashdot.org/comments.pl?sid=165711&cid=13
Running multiple threads is more or less the same as running multiple processes, if you manage the threads resources well then it's fairly easy to clean up when a thread crashes. (I've made a few assumptions about core libraries being well debugged, which should hopefully be the case.)
Install a signal handler, when the thread crashes the signal handler will be called and you can stop / cleanup / verify that the stacks ok for the thread that has crashed. Fortunatly I've got some code for this....
#define _REENTRANT
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <sys/types.h>
#include <pthread.h>
#include <unistd.h>
void *thread_function(void *);
void *thread_function2(void *);
void signal_hand(int signal );
pthread_t main_thread;
void crash(void);
int main(int argc, char* argv[]){
pthread_t thread_id[2];
signal(SIGSEGV,signal_hand);
main_thread = pthread_self();
printf("I'm thread %ld",main_thread);
printf("Creating threads\n");
pthread_create( &thread_id[0],NULL,&thread_function, NULL );
pthread_create (&thread_id[1],NULL,&thread_function2,NULL );
// pthread_join( thread_id[0], NULL);
// pthread_join( thread_id[1], NULL);
printf("Going to sleep\n");
sleep(20);
printf("Bye Bye\n");
}
void crash(void){
try{
int *a=0;
*a|=*a;
}catch(...){
printf("Caught an exception\n");
}
}
void signal_hand(int signal){
printf("Signal %d in thread %ld\n",signal,pthread_self());
if(pthread_self() == main_thread ){
exit(-1);
}else{
pthread_exit((void *)-1);
}
}
void *thread_function(void *)
{
int counter=0;
while(++counter < 10){
printf("In thread %ld\n",pthread_self());
sleep(1);
}
printf("About to SEGV\n");
crash();
printf("Done crash\n");
}
void *thread_function2(void *){
while(1){
printf("In thread %ld\n",pthread_self());
sleep(1);
}
}
Qt is thread-safe. What you can't do is interact with the GUI from outside the main thread, that's all.
That's all!! You can have a multithreaded app so long as you run anything GUI through a mutex, that's not thread safe.
Also, when a program crashes, it simply crashes, regardless of whether it was single-threaded or multi-threaded. Killing, cancelling or otherwise suspending threads without going through their normal exit sequence is not a good programming practice.
Umm... no it doesn't it's possible to recover from a crashed thread if you manage the threads resources properly, I think it's better programming practice to give the user the opportunity to save their work.
For instance, if a thread crashes because of a div/0 or a missing NULL pointer check and the stack trace is clean there's a very good change that you can susspend the thread with little or no sideeffects (with good resource tracking it's closer to none). That's not a 100% guarantee, but it miles better than the current situation.
or the freedom of speech for that matter.
Why the fuck not? It's not like a child mouthing off is going to bring down the world.
The biggest draw for me to the 360 is the online. MS has put together a solid online system that neither Sony or Nintendo can even come close to at this point.
Give Microsoft reputation for producing less than par network application how long do you think it's going to be before you XBox 360 is owned? I doubt that their DRM + trusted architecture is going to be bullet proof enough to prevent hackers running code.
Ok, years ago you could get all kinds of pirated software on DAT tape, software that cost much more money than most people could afford. .COM boom started they went to work for companies already knowing how to use all this expensive software. When the company turned around and asked their employees which software to use they told their boss to use the same software they got on pirated on the DAT tapes, and the companies that produced that software proffit ed. By allowing people to use/learn Qt for free Qt gain hundreds of people who already know how to use their toolkit when they enter a commercial environment.
Like today people installed and ran that pirated software, learned how to use it and when the
That probably still doesn't make sense.... one day...
Also I don't believe thread safety would prevent all of Konqueror crashing if a tab in Konqueror crashed. Also I use to have the flash plugin crash all the time and it never would crash Konqueror, so there is at least some protection against plugin crashes in Konqueror.
If QT was thread safe then you could run plugins/kparts and Konqueror windows/tabs in separate threads, if the thread crashes you can just kill/susspend that thread and warn the user that their other windows may crash, so save any work and they can probably keep on going.
The reason that flash plugins don't kill the browser is because nspluginviewer runs in a separate process to Konqueror, threads would allow the plugins to run in separate threads (and possibly be pooled), Qt and KDE etc... would also be able to benefit from the new multi-core chips coming out.
And one last thing: Its Qt not QT. I use to think it was QT but its actually Qt (and pronounced Cute). Wow this is like the only time I will ever be able to correct someone's spelling... or grammar... or... whatever the hell that would be counted as!
You should look at the rest of my posts if you want an example of poor spelling and grammar, they kept me in school like a prison for years but never bothered to teach me English.
I wish I could select uneditable text (like error messages!)
I wish the QT supported full reflection and serialization so that drag and drop could be fully intergated in KDE.
I wish they would make QT thread safe so that when web plugins and konquerer tabs crashed they didn't take all my konqueror windows with
them.
and finally I wish that new guy would read my comment.
I think KDE is a pretty good add for their toolkit, and like the pirated coppies of Adobe software when the GPLers at collage leave collage their going to go to their employers knowing how to use the QT toolkit.
what about aural browsers?
unless I'm just putting something together quickly I try to make sites fully standards compliant (even down to putting in the acronym and abbreviation tags), I have a load of XML scripts that do those kind of things and check for complacency. Sometimes that breaks IE, but I suppose it was broken to start with.
The reason no one makes drivers is simple: Linus keeps changing the internals of the kernel all the time, so you can't just write a driver for 2.6.x and be done with it, you have to write one for 2.6.1, 2.6.2, 2.6.3 etc.... and then people complain when they don't compiler properly or work too well (ref ATI).
Linux will never get external people writing drivers until the kernel stabilizes a lot of it's interfaces.
Are you inserting typos intenionally in order to maka a point?
Maybe, my browser highlights spelling errors so you'd think I'd bother to correct them, unless I like spelling nazis.
WAP and text only browser are never going to look and act the same, and other browsers are all going to have their own special features. What you really need is for browsers to use the formula in the W3C standard to layout the page and interpret the HTML/XHTML/CSS etc... instead of making it up as they go along.
Don't blame me, blame the English language. Compaired to my writing errors my coding errors are non-existant, so I don't have any problems writing logically and accurately the English languages has problems letting me.
Maybe I should start learning Mandarin.
But what about that huge fissure, it sure looks like a couple of plates ripped appart, kinda the opposite of the Tibetan plateau (did the same geological even create the Mariana trench?). The plate techtonics don't have to have lasted for that long or they could be incredibly slow (Mars doesn't have a large moon) creating one big volcano and a huge trench.
There's are reason why nothing is being done about the problem, it's called Social Darwinism. I don't know what they have against accelerated, assisted evolution though.
Since medical research costs on the order of half a billion dollars minimum to research and test a new drug to approval
More and more computer simulations and electronic tests are being developed to test drugs. In the next 10-30 years I expect that there will be a broad range of tests (including genetic tests) than can be done relatively quickly for a fraction of the cost of today's testing, that should hopefully result in better, faster clinical trials significantly reducing the cost of drug development. The question is will drug prices drop when this technology becomes available?
... What with that huge fisher that opened up on Mars and all the volcano's, where did they think they came from if it wasn't plate tectonics.
I will just keep on with my personal plan: suck as much value out of the system as possible and then flee the country.
That reminds me of a not so ancient proverb.
He who dies in debit has made money.
You usually have to have a workable model and not just a theory to get a patent, and I don't think the Geeks with girls ration has improved much lately.
Yeh, fine if I'm the only one with a fixed IP but I'm not and my ISP probably uses many of the same scripts for managing their fixed IP's, so in effect there is no extra administration over that which the ISP already requires to manage themseves.
So, the things don't run themselves, but they are aldready runnning regardles of whether I have a fixed IP or a dynamic one.
Well, quite a few people and before XMLHTTPRequest existed. Basically exactly the same as AJAX but using popunders to perform cross site scripting and without the fancy name.
Lots of sites that take a Zip and house number and return the full address use pre-AJAX AJAX.
...In the direction of making patents completely and utterly useless.
Now all they have to do is remove the prior art clauses and were in patent utopia.
But do they have the granularity of exchange and do they allow you to share forms &co.. for automating in house processes over email?