Slashdot Mirror


User: StrawberryFrog

StrawberryFrog's activity in the archive.

Stories
0
Comments
1,475
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 1,475

  1. 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)

  2. Do you see the tube managing this? no. on Pipeline Mass Transit? · · Score: 2

    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)

  3. Re:You are all wrong! on International Space Station Turns Two · · Score: 1

    You are all wrong! Objects in orbit have both mass and weight....

    If only there was a mod option "+1 Pedantic"

  4. This year's warcraft. on The Future of PC Gaming · · Score: 2
    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

  5. tabs as a temporary advantage on Phoenix 0.4 Released · · Score: 3, Insightful

    First off, tabs, greatest thing on earth.
    They are cool. I'll bet you dollars to donuts that IE7 has them.

  6. Re:no legitimate use on Freenet 0.5 Released · · Score: 2, Insightful
    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.

  7. Re:Anyone have a kid? on First Worm with a EULA? · · Score: 1
    * Under US law, storing personally identifiable information about children is [largely] illegal


    Never mind US law, is this virus respecting national boundaries? no? European law gives consumers much better privacy protection...

  8. Ofttopic - Overrated sig on Serial ATA Technology Explained · · Score: 1
    Don't be a pussy and choose Overrated (-1).

    Sometimes it's the best option. We don't have "Pointless (-1)", "Stupid (-1)", "Badly written (-1)" or "Just Plain Wrong (-1)"

  9. Re:Privatize them! on Open Letter to FCC Chairman Powell · · Score: 1

    Sorry, that should read bailout or closing down the rail network

  10. Re:Privatize them! on Open Letter to FCC Chairman Powell · · Score: 4, Insightful

    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.

  11. Re:Which way will hardware producers go? on Felten Follower Examines Crippled Music Disks · · Score: 4, Interesting

    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.

  12. more wheels being invented. on Ballmer Sees Free Software as Enemy No. 1 · · Score: 1

    If it's reusable code then why is the codebase size growing exponentially?

  13. Where, and maybe also Who! on Tracking People Via Cell Phone · · Score: 3, Informative
    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.

  14. so what? it will still work on Tracking People Via Cell Phone · · Score: 1

    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.

  15. This *is* new. on Tracking People Via Cell Phone · · Score: 1
    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.

    Informative? nope, quite the reverse.

  16. This *is* new. on Tracking People Via Cell Phone · · Score: 1

    Read the article. This is not tracking people who have cellphones, this is tracking anyone who walks past the cell mast.

  17. panopticon on Tracking People Via Cell Phone · · Score: 4, Insightful

    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.

  18. Re:Heart attack (sheer speculation on my part) on GameToo Much...... And Die! · · Score: 1

    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.

  19. Re:Bad comparisons - Amiga? on Slate Predicts The End Of TiVo · · Score: 1
    How was the Amiga "not a success?" Sure, it's not around and popular today ... neither are Apple IIs

    Apple is still in business and making new machines. Commodore isn't. Survival is a prerequisite for success.

  20. Re:Will it stay named? on New Frozen World Found Beyond Pluto · · Score: 2

    Well sure. Some of the larger asteroids, e.g. Ceres, have names.

  21. Not original on Life on Pluto? · · Score: 1
    the life in Antarctica didn't begin there. It began in a more hospitable climate and adapted itself to those conditions over millions of years


    Whoa, Deja vu! I wrote almost exactly those words over on Everything2 under the node 'Mars is barren'. hmm....

  22. More bytes, more bucks. Mod parent up! on Nokia 6650, Super 3G Phone · · Score: 2

    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.

  23. Let's find out on New Scientist: Venus' Atmosphere Implies Life · · Score: 2

    Yes, we should treat them as hypotheses deserving of vigourous investigation. That's how you learn. Well, it's how I debug.

  24. Re:CDex on The Best of Windows Open Source Software? · · Score: 3, Interesting
    CDex -> for converting their CDs to MP3...
    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!

  25. Re:The Inevitability of Resource Wars on Ford Pulls The Plug on Electric Cars · · Score: 1

    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.