Come on, to do the things you mention requires an improvement in the economy, and a computer is the perfect way to do that. As well as displaying language so they can practise reading, there are an endless amount of websites which teach information and skills.
In first world countries, putting on your CV "I learned it on the internet" won't hold much water, but in Ghana where the average person is less science-savvy than your 6 year old kid, it will bring them forward in leaps and bounds.
There are endless examples of this working in other countries. Unfortunately I am late for work so can't find links, but maybe someone else can... Nepal and Jordan come to mind quickly.
This might be useful for game programming. Instead of creating dozens of event handlers for my gui-based state game, and having lots of enums and switch statements everywhere and really getting lost in spaghetti, I could make one of these statecharts and code a FSM for it.
Is there a good visual representation of states that is more efficient than listing them out in words? (sort of like flowcharts are easier to look at than "IF (blah) GOTO (blah) ELSE (blah)")
It seemed to me that they were saying that quantum spin may actually be a case of this spin they have discovered, rather than as some 'weird' phenomenon that has been observed but nobody really knows where it comes from.
As the article says, if they had developed a pole as you suggest then there would have been some translational motion between the spheres (ie. they would have moved closer or further from each other). As this was not observed, the researchers eliminated this as a possibility.
Actually the spinning balls aren't electrocuted, they just have a potential (no circuit). This has probably happened to you but the force is so small you wouldn't have noticed
has got to be Weekly World News. This fake news site seems to have its stories pop up on other non-fake sites, eg. Yahoo and Fark.
I guess that, unlike the Onion, the stories are more designed for hoaxness than for humorous effect, so they might skip by someone not paying attention?
gets() lets the user type as much as they like. But in your program you can only have allocated a set size for the password (eg 100 bytes). So if they type for long enough they can go past the end of the password space, and their typing will start overwriting other parts of memory. If they know what they are doing they can type the right control characters and give themself a root shell.
It's a problem when you have programmers who don't understand buffers, using a language without buffer checking.
I cannot think of a reason someone would use memcmp(,,strlen()) instead of strcmp() . It's inconceivable that they would have learned about mem functions but not string functions. Can you?
You seem to be complaining about documentation here.. if a function does anything possibly dangerous (eg. assuming \0) you should mention that in the documentation (or arrange that it's obvious from naming or style conventions). But surely this argument applies to both cases. At least with the template you have access to all the code, rather than the derived case where the original code may not even be given (just a header and a library).
Well you're basically arguing that functional languages are better than C++ . Which is rubbish, each has its own place.
BTW how often do I use casts in C++? (ignoring dynamic_cast which is an integral part of polymorphism) umm, once a month? If you design well, as you keep going on about, you won't need weird casts all over the place.
This is CmdrTaco we're talking about here
Come on, to do the things you mention requires an improvement in the economy, and a computer is the perfect way to do that. As well as displaying language so they can practise reading, there are an endless amount of websites which teach information and skills.
In first world countries, putting on your CV "I learned it on the internet" won't hold much water, but in Ghana where the average person is less science-savvy than your 6 year old kid, it will bring them forward in leaps and bounds.
There are endless examples of this working in other countries. Unfortunately I am late for work so can't find links, but maybe someone else can... Nepal and Jordan come to mind quickly.
Yeah and what you gonna do when you need to add a line between 3 and 4 huh?
This might be useful for game programming. Instead of creating dozens of event handlers for my gui-based state game, and having lots of enums and switch statements everywhere and really getting lost in spaghetti, I could make one of these statecharts and code a FSM for it.
Is there a good visual representation of states that is more efficient than listing them out in words? (sort of like flowcharts are easier to look at than "IF (blah) GOTO (blah) ELSE (blah)")
They're saving that for the version with support for internet toilet roll holder
As long as you don't create an email server -- they don't allow unprintable characters
seriously, enough with the crap jokes. back to the crapflooding.
aah i'm on a roll
now we can cut out the middle man and feed CNN.com straight down the bowl!
This is the same Wilkes-Barre as in the club who developed the Traxler variation in chess.
an ass that hangs from your neck?
is this an asshat you can take off and put on again later without losing it? Great idea!
The name 'UNIX' is copyrighted by AT&T, or something.
It seemed to me that they were saying that quantum spin may actually be a case of this spin they have discovered, rather than as some 'weird' phenomenon that has been observed but nobody really knows where it comes from.
As the article says, if they had developed a pole as you suggest then there would have been some translational motion between the spheres (ie. they would have moved closer or further from each other). As this was not observed, the researchers eliminated this as a possibility.
Actually the spinning balls aren't electrocuted, they just have a potential (no circuit). This has probably happened to you but the force is so small you wouldn't have noticed
And McReceiver labs? :D
If there's only 1 input to the ball (ie. a wire) how can voltage be applied to it?
or are there wires coming off the bottoms of the balls too?
The article points to it being useful in gaining further understandings (eg. at the quantum level).
BTW, if something is spinning then you can extract energy from it by applying friction
has got to be Weekly World News. This fake news site seems to have its stories pop up on other non-fake sites, eg. Yahoo and Fark.
I guess that, unlike the Onion, the stories are more designed for hoaxness than for humorous effect, so they might skip by someone not paying attention?
gets() lets the user type as much as they like. But in your program you can only have allocated a set size for the password (eg 100 bytes). So if they type for long enough they can go past the end of the password space, and their typing will start overwriting other parts of memory. If they know what they are doing they can type the right control characters and give themself a root shell.
It's a problem when you have programmers who don't understand buffers, using a language without buffer checking.
Maybe you can answer my question for me then -- why on earth would you use memcmp(,,strlen()) instead of strcmp() ?
I cannot think of a reason someone would use memcmp(,,strlen()) instead of strcmp() . It's inconceivable that they would have learned about mem functions but not string functions. Can you?
Ternary output :)
Darwin beat you to it, dude
You seem to be complaining about documentation here .. if a function does anything possibly dangerous (eg. assuming \0) you should mention that in the documentation (or arrange that it's obvious from naming or style conventions). But surely this argument applies to both cases. At least with the template you have access to all the code, rather than the derived case where the original code may not even be given (just a header and a library).
Well you're basically arguing that functional languages are better than C++ . Which is rubbish, each has its own place.
BTW how often do I use casts in C++? (ignoring dynamic_cast which is an integral part of polymorphism) umm, once a month? If you design well, as you keep going on about, you won't need weird casts all over the place.