Slashdot Mirror


User: jamsho

jamsho's activity in the archive.

Stories
0
Comments
7
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 7

  1. use state machines and context objects on Object-Oriented 'Save Game' Techniques? · · Score: 3, Interesting

    Globals are simply a first order abstraction when it comes to storing a program's state.

    They get unwieldly fairly fast - as soon as you start hitting any complexity.

    Try state machines (see GOF) and lots of singleton classes with 'Context' in the name.

    The state machines and context objects can save their own state as the change - and read the state back in as necessary. They can save their state to an in-memory object or straight to a database whether it be a file or otherwise. A 'load' would just work the other way...

    Just how I'd approach it.... (it and about anything else non-trivial ....)

  2. To the other extreme with NDEBUG/assert() on Environment Variables - Dev/Test/Production? · · Score: 1

    Couldn't get the production build team to set -DNEBUG because it hadn't been done on development/test builds. SEI level whatever!

    No amount of explaining or arguing could do it: the idea just broke their concept of software production, plain and simple.

    Just had to pull the assert()s out.

  3. Title WRONG! - to OpenOffice, not Linux on French Police Migrating To Linux · · Score: 3, Informative


    "French police to switch to OpenOffice
    The French police are planning to switch from Microsoft Office to OpenOffice, the French industry news service Toolinux reports. By the end of January some 35,000 PCs and workstations are to be equipped with the open source office suite; by this summer the number is to reach 80,000. The French police expect to be able to cut costs amounting to more than two million euros by this move. (Robert W. Smith) /
    (jk/c't)"

  4. Are McAfee & Norton the Real Targets? on Microsoft Releases Malicious Software Removal Tool · · Score: 1

    Microsoft up to its old tricks. No way for an OS provider to behave.

    Has to be said though, McAfee and Norton largely exist only thanks to the failings of Redmond's OS.

  5. Open University & Lawrence Lessig too.... on Privacy Concerns Moving Into The Mainstream · · Score: 1

    The OU have a 10 week course based on The Future of Ideas.

    http://www3.open.ac.uk/courses/bin/p12.dll?C01iT18 2

    This will help mainstream more slashdot concerns. The OU - a truly fantastic and original resource - it really is.

  6. Pertinent Quotes from Article on Ted Turner's Beef With Big Media · · Score: 1

    re FCC change in number of stations and audience reach caps (upwards) in 1996:

    "But seeing these rules changed was like watching someone knock down the ladder I had already climbed"

    re Corporate Power to control the news in the market:

    "Naturally, corporations say they would never suppress speech. But it's not their intentions that matter; it's their capabilities. Consolidation gives them more power to tilt the news and cut important ideas out of the public debate. And it's precisely that power that the rules should prevent."

    re the future:

    "At this late stage, media companies have grown so large and powerful, and their dominance has become so detrimental to the survival of small, emerging companies, that there remains only one alternative: bust up the big conglomerates"

    and

    "Politically, big media may again be on the wrong side of history--and up against a country unwilling to lose its independents"

  7. Re:Debugging configure on Debugging Configure · · Score: 2, Interesting

    If configure fails the first thing to do is rm -R <the sources dir>, unpack sources and try again.... this can clean up some bugs involving the temporary files and the cache configure creates when it's run.... especially if you've run configure inside that source tree before.

    Infact I NEVER run configure in the same source tree twice (still smarting after bitter 2 days debugging experience that got resolved by doing exactly the above ... :)