Slashdot Mirror


User: DavidMonks

DavidMonks's activity in the archive.

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

Comments · 8

  1. Re:What are you talking about? on Effective XML · · Score: 1

    XML is not 'just text'. It is encoded in a text-based format, agreed, but so what? The data encoded will not be used/processed/displayed as text. XML offers flexibility and a degree of naked-eye readability, but storing data in an implementation-specific manner can offer significant optimisations.

    A key example is relational data. Here, XML is inefficient, not because of verbose tags or other bloat, but because of its flexibile structure.

    Take it away, Joel:

    How does a relational database implement SELECT author FROM books? In a relational database, every row in a table (e.g. the books table) is exactly the same length in bytes, and every fields is always at a fixed offset from the beginning of the row. So, for example, if each record in the books table is 100 bytes long, and the author field is at offset 23, then there are authors stored at byte 23, 123, 223, 323, etc. What is the code to move to the next record in the result of this query? Basically, it's this:
    pointer += 100;

    One CPU instruction. Faaaaaaaaaast.

    Now lets look at the books table in XML.

    <?xml blah blah>
    <books>
    <book>
    <title>UI Design for Programmers</title>
    <author>Joel Spolsky</author>
    </book>
    <book>
    <title>The Chop Suey Club</title>
    <author>Bruce Weber</author>
    </book>
    </books>

    Quick question. What is the code to move to the next record?

    Uh...

  2. Re:Does speed matter? on Compute Google's PageRank 5 Times Faster · · Score: 3, Interesting

    Um. This is about speed of *calculation* of PageRank, not speed of delivering the calculated result to you.

    The articles and earlier postings explain this a little more fully. Anyone who can't take the time to read them really needs to learn some patience :)

    PageRanks are periodically calculated for the Web as a whole. The results are stored and served to users. (The periodic update is sometimes referred to as the GoogleDance.) PRs are not calculated on the fly.

    Hence, a speed increase could reduce Google's required hardware investment and/or allow them to update more often (and hence pick up more topical items) and/or allow them to calculate a spectrum of regionally or topically themed PRs

  3. Effective, bloodless protests on New Technology for Digital Democracy · · Score: 1

    I partly agree with legLess ("no-risk protests don't work"). Voluntarily putting yourself at risk is a potent way of showing (1) your commitment to the cause, and (2) the brutality of the system you're protesting against. Where, that is, the system is clumsy enough to be visibly brutal.

    In other cases, you can still show your commitment by making some demonstrable sacrifice. Take a day out and travel to join a demo. Everybody there (1) made an effort to get there, (2) is visible to the press and (3) has appeared in person to represent his/her views -- and so has accepted a degree of accountability.

    Votester accomplishes none of these essential things. Furthermore, as legLess says, it looks a lot like petty vandalism and so is unlikely to attract sympathy.

    The power of civil disobedience lies in attracting the support and sympathy of the wider population, not in being a nuisance to your target.

  4. McDonalds product placement? on Product Placement in Online Gaming · · Score: 1

    I wonder how much the artist behind The Simulator got paid...

  5. Re:One Time Pad != Encryption on Cryptogram: AES Broken? · · Score: 1

    Why use OTP?

    Because you can send a large quantity of key data, (handcuffed to a courier's wrist), verify they've arrived untampered with, then use them to encrypt future comms.

    If someone intercepts the OTP key data, send a new lot with, if necessary, a new courier. So what if the key's pretty large? A courier could easily carry 10s-100s of DVDs if required.

    OTP is as much a form of encryption as other methods which require secret key distribution. It isn't a public key system, that's all.

  6. Might I suggest... on Diamonds - Are They Really Worth the Cost? · · Score: 1

    ...an antique ring? Charm, uniqueness; and while its creation may or may not have involved suffering, you will not in any way be involved in causing or sponsoring that suffering.

  7. Who grants these patents!? on Under Attack by PanIP's Patent Lawyers? · · Score: 1

    These patent clerks... no Einsteins, are they?

  8. Two words... on The Computer and the Skateboard · · Score: 1