Search:

Type: Posts; User: Twey; Keyword(s):

Page 1 of 20 1 2 3 4

Search: Search took 0.19 seconds.

  1. Replies
    5
    Views
    8,446

    Weird. The closest I've seen to that was when I...

    Weird. The closest I've seen to that was when I moved a ZIP file, and it renamed itself to ‘02a02812’.

    It was part of a fairly amusing fiasco about half a decade ago, which I recorded for someone...
  2. Thread: Pack JS Files ?

    by Twey
    Replies
    8
    Views
    11,957

    There's loading speed, and there's transfer...

    There's loading speed, and there's transfer speed. A basic packer, just renaming identifiers and stripping whitespace and comments, can increase transfer speed (by making the file smaller) and also...
  3. Thread: Pack JS Files ?

    by Twey
    Replies
    8
    Views
    11,957

    That's not necessarily true. A lot of packers...

    That's not necessarily true. A lot of packers use eval(), which will actually considerably slow the loading process overall, since it's still loading the full-sized script, but with an extra...
  4. Thread: Corrupted Files

    by Twey
    Replies
    2
    Views
    6,298

    rm won't work with a folder; it's for files. You...

    rm won't work with a folder; it's for files. You probably want rm -rf.
  5. There's not much else to say about it, really :)

    There's not much else to say about it, really :)
  6. PHP does the two-pass parse model, to check for...

    PHP does the two-pass parse model, to check for functions and load them before actually executing the script. Anything except a basic function definition (includes, conditional definitions, &c.)...
  7. Replies
    1
    Views
    7,158

    <input type="text"
    onkeypress="
    return '01'
    .split()
    .indexOf(String.fromCharCode(event.which || event.keyCode))
    >= 0;
    ">
  8. Replies
    232
    Views
    250,922

    I can't say I like it. Taken individually the...

    I can't say I like it. Taken individually the pieces look nice, but they don't fit together (the taskbar with the dock, for example). Also, that big ugly Comic Sans speech balloon is just hideous. ...
  9. Replies
    232
    Views
    250,922

    Scuba-diving in the Nile?

    Scuba-diving in the Nile?
  10. Replies
    7
    Views
    14,413

    Not necessarily... percentages are fine for...

    Not necessarily... percentages are fine for textual elements as well (although it's often a good idea to set a minimum width in ems in that case).

    As Snookerman says, though, the majority of the...
  11. Replies
    232
    Views
    250,922

    Lookin' good! :) Yes, I've always preferred...

    Lookin' good! :)

    Yes, I've always preferred hardware volume. It's much more convenient.
  12. Replies
    1
    Views
    5,850

    SELECT SUM(points) AS total_points FROM...

    SELECT SUM(points) AS total_points FROM your_table WHERE user_id = '$user_id'
  13. Replies
    7
    Views
    14,413

    And for cross-browser markup that's HTML,...

    And for cross-browser markup that's HTML, preferably 4.01 Strict, not XHTML. Also, don't use pixel sizes for positioning.
  14. Replies
    27
    Views
    14,161

    It's not stupid, but it's not immoral either. ...

    It's not stupid, but it's not immoral either. It's just a big MD5 dictionary. There's nothing wrong with it. It could even be used to generate some interesting statistics about MD5. With proper...
  15. Replies
    27
    Views
    14,161

    A single-character one, yes.

    A single-character one, yes.
  16. Replies
    27
    Views
    14,161

    O(36^n) if there are no capitals — that is, the...

    O(36^n) if there are no capitals — that is, the time taken will be proportionate to the number of possible characters to the power of the length of the password. On a (my) modern PC, calculating the...
  17. Replies
    27
    Views
    14,161

    Depends. If the hash isn't in the dictionary, it...

    Depends. If the hash isn't in the dictionary, it will never be cracked. If it is, then probably only an hour or two on a fast computer — depending on the size of the dictionary, of course. Length...
  18. Replies
    2
    Views
    3,988

    Um... what makes you think this is Javascript or...

    Um... what makes you think this is Javascript or at all applicable to HTML forms? It looks like some form of Pascal.
  19. Replies
    6
    Views
    6,239

    It's not a security risk; it's just invalid...

    It's not a security risk; it's just invalid according to the standard. See RFC261614.30.
  20. Replies
    6
    Views
    6,239

    Don't. Just fix your code. register_globals is...

    Don't. Just fix your code. register_globals is obsolete for a reason: it presents several security risks. it was advised never to rely upon it, even before it was deprecated. It really should...
  21. Replies
    11
    Views
    12,629

    Thus my claim that it probably differs from...

    Thus my claim that it probably differs from person to person :)
  22. Replies
    2
    Views
    13,168

    Resolved If you've got static HTML pages, the easiest way...

    If you've got static HTML pages, the easiest way to do it is to enable MultiViews:


    Options +MultiViewsThen, for an URL /dir/foo, Apache will try to load /dir/foo.html. You can also use this to...
  23. In this case (comparing a known string with '')...

    In this case (comparing a known string with '') there isn't much difference (although it could well be more efficient) — it's just good practice.
  24. Replies
    20
    Views
    10,425

    Resolved That should be more or less fine, although from...

    That should be more or less fine, although from that snippet it looks like you're echoing markup from PHP. Don't do that — break out of PHP parsing mode. It's faster, neater, and easier.
  25. Replies
    7
    Views
    5,944

    I'm seeing a lot of things like:

    I'm seeing a lot of things like:
    <a href="javascript:showdiv('contentarea'); ajaxpage('home.html', 'contentarea'); changeZIndex(4);" title="Go to home page"...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4