Everyone actually uses these patterns
on
Design Patterns
·
· Score: 2
but I get the feeling that every major software project will come up with its own "design patterns", and they probably bear little resemblance to the ones in the book
The design pattersn book contains 23 patterns. It is a sign of it's greatness that since then, patterns have become a hot topic, but no-one has been able to produce a list of another 23 generic patterns as widely applicable.
In other words: You're wrong. They got most of them.
Having said that, some of these 23 are more common than others. Particularly I have coded/seen/used these ones: Abstract factory, Factory method, Singleton, Adapter, Proxy, Iterator, Observer, Visitor.
The most common of these are becoming ubquitous. Have you never used a single instance of a global var? that's a singleton, almost, and it's a good idea to go the whole hog and enforce uniqueness. Most langauges handle DB recordsets with an iterator or something very like it. Event multicast is the observer pattern.
It is possible to overuse/abuse patterns. I've seen code where a 'designer' has latched onto the 'abstract factory' pattern and used it as a 'golden hammer' (See Antipatterns - another fine book mentioned in other posts here)
I commute to work every day on the London underground (the tube). I really can't see this working. We already have "Service today is cancelled due to leaves on the track", "Service today is cancelled due to signal failure" and "service is cancelled this Sunday due to planned engineering work".
You expect this organization to maintain a hard vacuum in the tunnels? They are under constant pressure to keep costs down, and it shown in the reliability problems. It's just too damn easy to break a vacuum seal. It might work for a day, but to succeed it has to work for 100 years (yes, the London underground has been running for longer than that)
I'm not sure about Warcraft 3 but I can't imagine it requires a sophisticated engine that makes the goblins blow up in just the right way.
Actually WC3 has what looks like a few-years-ago 3D engine as the front end, and you can pan and zoom on your guys as they walk over hills, build stuff and lay into thier enemy. You can even watch your ice-wyrm gain altitude to fly over a wall.
But most of the time you don't bother, as that's not what the game is about. What the game is about is basically the same as WC1, and that's what makes it fun to play. If the game is going well, you don't have time to play with the eye-candy, you are caught up in the action. The 3d rendering of the same action just makes it this years model
How about cuban, south african, (name your favorite country here)
Since 1994, the South African government has been fairly enlightened about both the safety of it's own citizens and press freedom. I would insert 'Zimbabwe' there.
You are trolling, aren't you. In case you don't know about it, go look up Railtrack - the UK privatised rail company that recently declared bankrupcy, leaving the UK govt with the options of a bailout of closing down the rail network. They chose the bailout. The sucessor company (Network rail) is a not-for-profit co.
The question is if the hardware manufacturers will begin competing for customers by providing the very best fireware in their drives, or if they will join hands with the RIAA and the snake-oil salesmen. So far I see no decisive move in either direction.
Well, here's a good sign: DVD players here in the UK are mostly region-agile, and are often advertised as such, even in national newspapers. Retailers tend to listen to consumers more then media monopolies do, as they compete more fiercely for customers.
If you are one of the 90% who didn't read the article, THIS WORKS EVEN IF YOU AREN'T CARRYING A CELLPHONE!
hear hear!
BTW, As has been pointed out, if you are carrying a cellphone, the watchers will get both where (and I presume a sillouete of you) and who. I find the idea a bit disturbing.
This really isn't that new of a technology. I know it has been proposed here in the US on some highways to use information like the number of cellphones in an area... People can turn their cellphones off
But this is new. This can detect people who don't have cell phones. If that doesn't make sense to you, read the article again. Or just read it for the first time.
This is not tracking where your phone is. That's old hat.
This is using the cellphone signal radiation as an imaging system, like radar or x-rays. Except always on, everywhere. Anyone who walks or drives within range would be imaged.
Sure it would be low res and only show large and/or moving objects like people and cars but It's quite the panopticon. i.e. everyting everwhere is seen.
Uh, I think you misread it. I would read that as '26-year-old people with out any drug overdose, genetic or developmental abnormalities do not have heart attacks.' and draw the same conclusions: 86 straight hours gameplaying is a clear indication of....um.... genetic abnormalities... yeah, musta been some kinda mutant.
Q: Whats with all the cameras? A: transferring images uses up minutes. or kilobytes, if you're metered that way.
This AC is right on the money.
SMS, if you remember recent history, was never intended by the networks to be a killer app. However it had such overwhelming grassroots support (albeit mostly outside the USA) that the networks have climbed on the bandwagon and now produced this: a way to charge you for as much bandwidth as possible without much meaningful communication occuring.
The design pattersn book contains 23 patterns. It is a sign of it's greatness that since then, patterns have become a hot topic, but no-one has been able to produce a list of another 23 generic patterns as widely applicable.
In other words: You're wrong. They got most of them.
Having said that, some of these 23 are more common than others. Particularly I have coded/seen/used these ones: Abstract factory, Factory method, Singleton, Adapter, Proxy, Iterator, Observer, Visitor.
The most common of these are becoming ubquitous. Have you never used a single instance of a global var? that's a singleton, almost, and it's a good idea to go the whole hog and enforce uniqueness. Most langauges handle DB recordsets with an iterator or something very like it. Event multicast is the observer pattern.
It is possible to overuse/abuse patterns. I've seen code where a 'designer' has latched onto the 'abstract factory' pattern and used it as a 'golden hammer' (See Antipatterns - another fine book mentioned in other posts here)
I commute to work every day on the London underground (the tube). I really can't see this working. We already have "Service today is cancelled due to leaves on the track", "Service today is cancelled due to signal failure" and "service is cancelled this Sunday due to planned engineering work".
You expect this organization to maintain a hard vacuum in the tunnels? They are under constant pressure to keep costs down, and it shown in the reliability problems. It's just too damn easy to break a vacuum seal. It might work for a day, but to succeed it has to work for 100 years (yes, the London underground has been running for longer than that)
You are all wrong! Objects in orbit have both mass and weight....
If only there was a mod option "+1 Pedantic"
Actually WC3 has what looks like a few-years-ago 3D engine as the front end, and you can pan and zoom on your guys as they walk over hills, build stuff and lay into thier enemy. You can even watch your ice-wyrm gain altitude to fly over a wall.
But most of the time you don't bother, as that's not what the game is about. What the game is about is basically the same as WC1, and that's what makes it fun to play. If the game is going well, you don't have time to play with the eye-candy, you are caught up in the action. The 3d rendering of the same action just makes it this years model
First off, tabs, greatest thing on earth.
They are cool. I'll bet you dollars to donuts that IE7 has them.
Since 1994, the South African government has been fairly enlightened about both the safety of it's own citizens and press freedom. I would insert 'Zimbabwe' there.
Never mind US law, is this virus respecting national boundaries? no? European law gives consumers much better privacy protection...
Sometimes it's the best option. We don't have "Pointless (-1)", "Stupid (-1)", "Badly written (-1)" or "Just Plain Wrong (-1)"
Sorry, that should read bailout or closing down the rail network
Nahh. Privatize everything. It works.
You are trolling, aren't you. In case you don't know about it, go look up Railtrack - the UK privatised rail company that recently declared bankrupcy, leaving the UK govt with the options of a bailout of closing down the rail network. They chose the bailout. The sucessor company (Network rail) is a not-for-profit co.
The question is if the hardware manufacturers will begin competing for customers by providing the very best fireware in their drives, or if they will join hands with the RIAA and the snake-oil salesmen. So far I see no decisive move in either direction.
Well, here's a good sign: DVD players here in the UK are mostly region-agile, and are often advertised as such, even in national newspapers. Retailers tend to listen to consumers more then media monopolies do, as they compete more fiercely for customers.
If it's reusable code then why is the codebase size growing exponentially?
hear hear!
BTW, As has been pointed out, if you are carrying a cellphone, the watchers will get both where (and I presume a sillouete of you) and who. I find the idea a bit disturbing.
Um no, they'd have to not go anywhere where there is cellphone coverage. If you're not getting how radical this is, read the article.
But this is new. This can detect people who don't have cell phones. If that doesn't make sense to you, read the article again. Or just read it for the first time.
Informative? nope, quite the reverse.
Read the article. This is not tracking people who have cellphones, this is tracking anyone who walks past the cell mast.
Read the article. Holy crap!
This is not tracking where your phone is. That's old hat.
This is using the cellphone signal radiation as an imaging system, like radar or x-rays. Except always on, everywhere. Anyone who walks or drives within range would be imaged.
Sure it would be low res and only show large and/or moving objects like people and cars but It's quite the panopticon. i.e. everyting everwhere is seen.
Uh, I think you misread it. I would read that as '26-year-old people with out any drug overdose, genetic or developmental abnormalities do not have heart attacks.' and draw the same conclusions: 86 straight hours gameplaying is a clear indication of ....um.... genetic abnormalities ... yeah, musta been some kinda mutant.
Apple is still in business and making new machines. Commodore isn't. Survival is a prerequisite for success.
Well sure. Some of the larger asteroids, e.g. Ceres, have names.
Whoa, Deja vu! I wrote almost exactly those words over on Everything2 under the node 'Mars is barren'. hmm....
Q: Whats with all the cameras?
A: transferring images uses up minutes. or kilobytes, if you're metered that way.
This AC is right on the money.
SMS, if you remember recent history, was never intended by the networks to be a killer app. However it had such overwhelming grassroots support (albeit mostly outside the USA) that the networks have climbed on the bandwagon and now produced this: a way to charge you for as much bandwidth as possible without much meaningful communication occuring.
Yes, we should treat them as hypotheses deserving of vigourous investigation. That's how you learn. Well, it's how I debug.
Uh, no. Rather:
CDex -> for converting their CDs to Ogg...
ogg is free as in beer and speech, winamp plays them, and they sound great!
Oh, get a grip. There is a world of difference between saying 'x is like y' and saying, if I may paraphrase your hysterical bleating:
'Sorry, but yes, X IS Y. Yes, I said Y. IT WILL NEVER STOP BEING Y. Never. Ever.'
Laughs? I'm laughing right now.