Slashdot Mirror


User: DrSkwid

DrSkwid's activity in the archive.

Stories
0
Comments
6,376
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 6,376

  1. ok, I'll advocate mine on How to Do Everything with PHP and MySQL · · Score: 1

    Acme in 9ports for Linux

    though, naturally, I use the original plan9 version

  2. Re:To PHP or not to PHP, that is the question on How to Do Everything with PHP and MySQL · · Score: 1

    Discussions concerning what scripting / pooling / serverlet system to use has nothing to do with open source outside of the normal OSS advocacy.

    No one is in a position to tell you that you *should* learn PHP. The only people that care one way or the other what you do will be advocates/zealots of one flavour or another.

    Presuming you are a competent programmer you should learn the fundementals PHP in an hour or so, just read the docs. You could probably have written your first script in the time it took me to write this.

    That's what makes these books so laughable.

    *and* they usually teach you to write difficult to maintain / poorly scaling code.

  3. Re:I hate the title on How to Do Everything with PHP and MySQL · · Score: 1

    You are just refering to a [poor] design philosophy.

    When a site has more reads than writes it is wise to cache the output page. Thus blogging software could write out the static content when the blogger presses "submit new entry" or someone adds a comment.

    My high traffic site works kind of like that. The ratio of reads / writes is something like 1000 / 1. Thus each public facing php page has something akin to :

    <php #blog.php
    require_once "cache.php";

    $html = $cache->page("/blog.php");
    if ($html) {
    print $html;
    exit;
    }

    list($html, $cache_page) = $make_page();
    print $html;
    if ($cache_page) {
    $cache->save("/blog.php"), $html);
    }
    php>

    and in the private area something akin to :

    <php
    require_once "cache.php";

    if ($_POST("submit")) {
    $cache->clear("/blog.php")
    }
    php>

    not that exact code but I hope you get the idea

    Thus one can have loads of intense SQL going on that is only going to get run once per page change.

    I use javascript to make some pages different on every page load thus only the bits that get changed every page get run every time, good for random quotes or images banners etc. stuff that you wont mind losing too much if the client has scripting turned off.

  4. Re:Like the old saying goes on How to Do Everything with PHP and MySQL · · Score: 1

    I just memorized it, 0 keystrokes !

  5. pfft on How to Do Everything with PHP and MySQL · · Score: 1

    % cat > coolpage.php
    <html><? cool php script ?></body></html>
    ^d
    %

  6. simple on Server Room Temp Monitoring and Notifications? · · Score: 1

    switch them off on your way out

  7. Re:Microsoft may not be the problem. on Following Bill Gates' Linux Attack Money · · Score: 1

    lol, you wouldn't happen to be an American who hasn't travelled the world by any chance ?

  8. Re:OS X on Possible RSS Abuse in Longhorn · · Score: 2, Informative

    > And if you don't my asking, what's an FXP site?
    I don't mind at all, in fact I used it as a test to see if you knew much about the scene on which you are trying to comment. File eXchange Protocol http://en.wikipedia.org/wiki/FXP

    It is used by warez traders. One can transfer files between two FTP servers without any having to come to you first. One owns a (usually Windows) box, creates hidden directories with directory names that are untypeable at the terminal (using special characters) [the _vti directories are a good base for this, MCSE admins rarely look inside them and even if they do, have no idea what they are for]. One can then FXP between hosts, thus obfuscating the audit trail. One uses a base owned box to use as a file store and preserve it's bandwidth thus reducing the likelyhood of discovery. One then FXPs the warez to other owned hosts and these secondary tiers have their hostnames posted in irc for other couriers to download from and distribute.

    The other major use for owned machines is as an irc bouncer to facilitate the above.

    Microsoft Windows is targetted because it is a soft ubiquitous target, pure and simple, not because the attacker has any personal feelings about the OS.

  9. Re:OS X on Possible RSS Abuse in Longhorn · · Score: 1

    Notice that I said "part" of the reason.

    But that still doesn't make it even slightly true.

    The security of a system is not proportional to it's perception.

    Please don't take everything I say as such a literal maxim.

    What other metric should I use except that which you state ?

    Widespread use is not a provocation. People don't steal cars because there are lots of them.

    There is zero kudos for posting an FXP site if it's a Windows box. Now, posting a pwned Mac OSX IP would be far more exciting to those that care.

  10. Re:What!? on Possible RSS Abuse in Longhorn · · Score: 2, Insightful

    All data is binary, anything else is an illusion.

  11. Re:OS X on Possible RSS Abuse in Longhorn · · Score: 2, Insightful

    Even seasoned sysadmin pros will tell you that part of the reason Linux is so secure is because the public doesn't perceive it as The Enemy and script kiddies don't think it's so much fun to take apart and take out a RedHat server as a Window Server 2003 one.

    See, even seasoned sysadmin pros can be wrong.

    Linux boxes get owned every day of the week, just like any other box with exploits available.

    The perception of security has *nothing to do* with the actual security.

  12. Re:Wow... on Microsoft In Talks To Buy Claria · · Score: 3, Funny

    IE doesn't succomb, it's just having a bad hair day!

  13. Re:Dangerous on Valve Developer Wiki · · Score: 1

    The plan9 wiki got abused by spammers and page rank boosters. So it was set such that you could only edit it with wikifs.

    If Valve's gets pwned then they should probably make an editor that requires a Steam login in order to contribute.

  14. Re:Anybody else see "Demolition Man"? on Vein Patterns to Verify Identity · · Score: 1
  15. Re:I see... on Xorg and Desktop Eyecandy · · Score: 1

    quite the opposite

    I wanted to say that not everyone uses Linux *without* trolling for plan9, my experience told me that someone would just have to ask, despite it not being that relevant to the fact that nVidia's binary drivers are not the god's gift the OP said they were

    I am über-leet but that's got nothing to do with it

  16. Re:Morse slower on Morse Code on Cell Phones? · · Score: 1

    you might notice I said I only did a quick look and couldn't find them.

    "Many people proficient in morse code do not know all of these puntuations -And for good reason.... they are more cumbersome then helpful. On occaision though there is an actual need for them you can't just avoid, but one of the very reasons you don't see these listed in many ources is that they are down right scarey to people trying to learn the code."

    lol, so long as I don't have to use *your* keyboard I'll be happy =)

  17. Re:Wrong Claim on Britain's First Jedi Member of Parliament · · Score: 1

    Apostle Creed, that's this guy right ?

  18. Re:The Force is *retarded* with this one... on Britain's First Jedi Member of Parliament · · Score: 1

    so powerful you need an extra l, amazing !!

  19. Re:A couple of points: on Britain's First Jedi Member of Parliament · · Score: 1

    Who could doubt your analysis with such brilliant recollection of the events surrounding the story of the Feeding of the 5000.

  20. Re:Because this is Slashdot. on Xorg and Desktop Eyecandy · · Score: 1

    tbh i knew when i posted that ppl would ask :0

  21. Re:Don't bang a whore(Microsoft) without a condom( on Ballmer: 'We'll catch Google' · · Score: 1

    a Windows condom that is full of holes, how useful !!

  22. Re:Yeeeeah on 'DVD Jon' Breaks Google Video Lock · · Score: 1


    except it's not even definitely true

    you might run Apache with various mod_rewrite / mod_proxy rules so you can do both

  23. Re:Morse slower on Morse Code on Cell Phones? · · Score: 1

    why "clearly" ?

    I can type sms into my phone with the 12 key pad without looking at it

    I've had a look round and can't find a morse code alphabet with more than about 40 characters

    no !#$%^&*()"

    and backspace (error) is ........

  24. Re:Morse slower on Morse Code on Cell Phones? · · Score: 1

    all yours, enjoy

  25. Re:Oh, Dear. on France to Be Site of World's First Nuclear Fusion · · Score: 1

    hmm, I guess a penance for not spelling it Citroën is in order

    ok here's a picture

    and Citroën Sport's homepage

    Driver / Champions Elect 2005
    Driver / Constructors Champions 2004
    Constructors Champions 2003

    PSA who own Citroën & Peugeot have won the constructors championship every year this century

    So yes, let's hope it is better than the current crop of French engineering !!

    http://en.wikipedia.org/wiki/World_Rally_Champions hip