Slashdot Mirror


User: neoform

neoform's activity in the archive.

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

Comments · 1,385

  1. Re:wow. on Microsoft Sues and Gets Sued · · Score: 1

    Um, doesn't the US have a population closer to 295 Million?

  2. Re:TFA perpetuates myth on Windows Monoculture Myopia Revisited · · Score: 1

    yeah, that or they spend all their money on expensive marketters and management.

  3. Re:Business or Foundation on Wikipedia Won't Bow to Chinese Censors · · Score: 1

    No, they wont sue the CEO, they'll just find someone who's capabale of bringing in more money.. meaning they'll find someone who's willing to do anything to bring in the big bucks.

  4. Re:Since submitter is a lawyer ... on RIAA Says It Doesn't Have Enough Evidence · · Score: 1

    Oh yeah, i see it now.. :P

    I'm french too, but living in quebec and speaking english all day every day will pretty much make you forget those 13 years of french classes ;)

  5. Re:Flash on Judge Rules Sites Can Be Sued Over Design · · Score: 1

    Apply a 5 minute timeout on the image. It wouldn't catch everything, but it would stop a lot of it.

  6. Re:Since submitter is a lawyer ... on RIAA Says It Doesn't Have Enough Evidence · · Score: 1

    "Nul n'est sensé ignorer la loi" is french. It says something like, "No part of the law is being ignored"

  7. Re:Flash on Judge Rules Sites Can Be Sued Over Design · · Score: 1

    Using hotlink protection will easily stop that from happening.

  8. Re:Flash on Judge Rules Sites Can Be Sued Over Design · · Score: 1

    As someone who once worked for a shady company that employed many people to build bots that were automated and would make thousands of accounts and post millions of messages on many different kinds of sites, i can tell you that captchas most certainly do deter most if not all bots from doing their job. Yes, they're very anoying, but so is having to deal with massive amounts of spam (including account spam).

  9. Re:Flash on Judge Rules Sites Can Be Sued Over Design · · Score: 1

    not to mention the fact that you'd have to have thousands of them to stop determined hackers.

  10. Re:Flash on Judge Rules Sites Can Be Sued Over Design · · Score: 1

    Here's how i would do it with an image, I'd still love to hear how I'd do it with audio..

    $key = sha1(time().'skasdddsdas23'.$_SERVER['REMOTE_ADDR' ].'131asd23s');

    $length = mt_rand(CAPTCHA_CHARS_MIN, CAPTCHA_CHARS_MAX);
    $char_arr = array('A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'J', 'K', 'L', 'M', 'N', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '1', '2', '3', '4', '5', '6', '7', '8', '9');

    $captcha_code = '';

    for ($i=0; $i < $length; $i++)
    {
        $captcha_code .= $char_arr[mt_rand(0, count($char_arr) - 1)];
    }

    $img_width = 140;
    $img_height = 50;

    $handle = imagecreatetruecolor($img_width, $img_height);

    $colA = array(mt_rand(175, 255), mt_rand(175, 255), mt_rand(175, 255));
    $colB = array(mt_rand(175, 255), mt_rand(175, 255), mt_rand(175, 255));
    imagecolorgradient($handle, 0, 0, $img_width, $img_height, $colA, $colB);

    //random lines
    $num = mt_rand(30, 50);
    for ($i = 0; $i < $num; $i++)
        random_line($handle, $img_width, $img_height);

    $x = mt_rand(5, 15);

    $length = strlen($captcha['code']);
    for ($i=0; $i < $length; $i++)
    {
        apend_letter($handle, substr($code, $i, 1), $x);
    }

    header('Content-type: image/jpg');
    imagejpeg($handle);

    function apend_letter($handle, $letter, &$x)
    {
        $gitter = 40 + (mt_rand(-3, 3));
        $font = 'dirtyheadline.ttf';
        $color = imagecolorallocate($handle, mt_rand(0, 200), mt_rand(0, 200), mt_rand(0, 200));
        imagettftext($handle, 32, mt_rand(-10, 10), $x, $gitter, $color, $font, $letter);
        $x += 20 + mt_rand(-2, 6);
    }

    function imagecolorgradient($img, $x1, $y1, $width, $height, $colA, $colB)
    {
        $varC1 = ($colA[0] - $colB[0]) / $height;
        $varC2 = ($colA[1] - $colB[1]) / $height;
        $varC3 = ($colA[2] - $colB[2]) / $height;
        for($i=0; $i <= $height; $i++)
        {
            $col = imagecolorallocate($img, $colA[0] - floor($i * $varC1), $colA[1] - floor($i * $varC2),    $colA[2] - floor($i * $varC3));
            imageline($img, $x1, $y1 + $i, $x1 + $width, $y1 + $i, $col);
        }
    }

    function random_line($handle, $img_width, $img_height)
    {
        $col = imagecolorallocate($handle, mt_rand(180, 255), mt_rand(180, 255), mt_rand(180, 255));
        imageline($handle, mt_rand(0, $img_width), mt_rand(0, $img_height), mt_rand(0, $img_width), mt_rand(0, $img_height), $col);
    }

  11. Re:Flash on Judge Rules Sites Can Be Sued Over Design · · Score: 1

    And how would i easily put these soundfiles together in such a way so that a hacker wouldn't simply do hash checks of each sound and use them to identify the letter/number being said?

    as a php coder, i'd love to see what audio lib there is to do this..

  12. Re:Flash on Judge Rules Sites Can Be Sued Over Design · · Score: 2, Interesting

    Forget flash sites, have you ever tried implementing a Captcha system that was usable by the blind?

    The good news is that being compliant is not difficult nor is it expensive.

    Right.

  13. Re:PAPERLESS OFFICE on Xerox Reveals Transient Documents · · Score: 1

    Tree farming takes decades.. You're telling me that the nutrient levels in the ground don't recover after such a long period of time..?

  14. Re:Price is important on Apple Movie Store Only Serving Disney Films? · · Score: 1

    Horray, i love using Daemon Tools, Mount/Dismount each time i wanna watch something.

    Show me a way to convert a DVD to playable video file (with no loss) and i'll be happy.

  15. Re:pithy comment necessary? on Windows Vista RC1 Impresses Critics · · Score: 1

    Nah, if you're going to bash windows, it should be on it's predictable way of self destructing every 6 months that ends up needing a resintall.

  16. Re:Price is important on Apple Movie Store Only Serving Disney Films? · · Score: 1

    Copying a dvd to my computer into 1 file means i have to convert it to divx or something like that which means degraded quality.

    when they made the DVD format they didn't want people copying them and that's what's stopping me now..

  17. Re:Price is important on Apple Movie Store Only Serving Disney Films? · · Score: 2, Interesting

    Actually, I prefer the idea of having a digital copy of movies i own. DVD's get scratched very easily and stop playing properly.. I'm a bit of a backup nut so i wouldn't lose my copy either which makes it all that much more attractive.

  18. "Who's Hot" on Will Solve Captcha for Money? · · Score: 3, Interesting

    I remember seeing an example of a captcha type game a while back where you would have to pick the hottest girl out of 3 pictures in order to continue..

    problem of course is when people disagree on what's "hot"..

  19. Re:ploy to promote checkout on Google to Sell Old News Articles · · Score: 1

    Yes, but if you were to follow the RIAA's rules, since this is being redistributed in a new format (digital), it's now a new work that requires new licensing and thereby needs to be purchased since it's no longer the original work and now has renewed copyright!

    example, i buy a beethoven cd, can i then copy and pass it around? not according to them..

  20. Re:Don't worry... on Google to Sell Old News Articles · · Score: 1, Interesting

    This is old news. Nothing to see..

  21. Re:memories on Myspace to Sell MP3s From Unsigned Bands · · Score: 1

    While it might be nice to see a very large site promoting unsigned bands, there's no way i would ever give my credit card information to MySpace. With a site so horribly designed and with so many exploits.. how can they possibly be trusted to handle secure information?

  22. Re:Huh? on Target Advertising Used to Censor NY Times Article · · Score: 1

    You follow the law of the nation you're in, not the law of the nation you're from. And the NYTimes is in the U.S.

    That's why Yahoo didn't have to censor Nazi items from its auction site when the French whined about their being available. Guess what, France? Your law doesn't apply here. The French Yahoo site has to follow the law (and it does) but not the U.S. site.


    Funny how Americans say that, but then bitch and moan to countries like Russia and Sweeden when they break US copyright laws, hell they even threaten them with sanctions.

  23. Re:fair play and leverage on Google Brazil Pressured to Give Up Names · · Score: 1

    Why should a website that tries to stop illegal activity lose that status?

    If i'm a BBS admin and i see people posting kiddie porn and i take it down and ban them, i would lose my common carrier status?
    I guess by your set of rules i should just say "It's none of my business" right?

  24. Re:Useful for Vi users on War Declared on Caps Lock Key · · Score: 1

    yeah, that extra 1.5" is an unbearable distance to reach..

  25. Re:Agreed on Apple vs Microsoft- Who's the Copycat? · · Score: 1

    All of what you said.. has what to do with the quality of the product and quality of service?