Slashdot Mirror


User: Chapter80

Chapter80's activity in the archive.

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

Comments · 1,047

  1. Re:woohoo on Python 3.0 Released · · Score: 4, Funny
    GREAT!

    Interestingly, it IS backwards compatible in areas that you wouldn't think it should be. For instance, the following program takes the version number, adds one to it, and divides by two. You'd think it'd give a different answer between version 3 and version 2. Glad they kept this program working for me, as it's the secret production code that runs my multi-million dollar business.

    import sys
    version=int(sys.version[0])
    print (version+1)/2

    Prints 1 in either version. (on the bright side, 1/2 is now 0.5!)

  2. No battery required on Talk-Powered Cell Phones Won't Need Batteries · · Score: 5, Funny
    According to my calculations, no battery is required and this article poses an excellent solution, with a few minor modifications and innovations.

    If you assume normal human speech is about 60dB. We know dB = 10 log(I/I0) where I0 is 10^-12 W/m^2. So 60dB works out to about 10^-6 W/m^2 -- that's a microwatt per square meter. With 100% efficiency and a mike of 1 cm^2 collecting area, that's around 10^-10 W -- 0.1 nano-watts. (Thanks phliar for the calculations.)

    Then utilize this energy using recent advances in String Theory, and you have a workable solution.

    Here's a picture of a prototype.

  3. Re:Perhaps on Avoiding Mistakes Can Be a Huge Mistake · · Score: 1

    Do programmers also loose karma for being fast and lose with their spelling?

    /irony

    /wooch

  4. Re:Please on Groklaw's PJ Says SCO's Demise Greatly Exaggerated · · Score: 0, Troll
    hedge your bets. Buy dirt cheap SCO stock.

    This is not a troll.

    --

    If they're under 16, you're only allowed to do them in your head! (re: multiplication tables, too)

  5. Re:What a tool... on Groklaw Summarizes the Lori Drew Verdict · · Score: 1

    Replace Evans with "Ashley Grills" in my post.

    Your message and correction were confusing to me, so I had to (gasp) read up on it.

    To clarify for other uninformed readers like myself, Lori (the accused, who set up the fake Josh Evans account) had an 18-year old employee (Ashley Grills) who sent many of the messages posing as Josh Evans, including the (supposed) last one. Yet Lori was tried for it.

    From Wikipedia:

    At a press conference on Monday, December 3, 2007, Jack Banas, the prosecuting attorney of St. Charles County, said that Lori Drew's 18-year-old temporary employee, Ashley Grills, wrote most of the messages addressed to Meier and that she wrote the final "Josh Evans" message addressed to Meier. Grills said she wrote the final message to end the MySpace hoax and get Megan Meier to stop communicating with "Josh Evans."

  6. Re:the message on Sending Secret Messages Via Google's SearchWiki · · Score: 3, Informative

    SPOILER ALERT
    You need to read the first word of all ten messages to read the SECRET message. </duh>

  7. Re:That's no moon! on Dropped Shuttle Toolbag Filmed From Earth · · Score: 2, Informative

    I read that the tool bag was in a larger bag and the larger bag was secure. The tool bag was not secure within the larger bag (once it was opened).

  8. Kurzweil told us... on A Computer Composing and Playing Jazz · · Score: 2, Interesting

    I thought "improvise jazz" was taken off the AI wall years ago. See Kurzweil's cartoon or read about it.

  9. Re:Where's the smoke? on IRS Looking at Google/Mozilla Relationship · · Score: 1
    Yes, that's my assumption. That Google spending a ton of money on a deal to get prime real estate on a browser is a legit business expense.

    I'm also assuming that they are not buying an asset that needs to be recognized at cost (or market value) less accumulated depreciation.

    I didn't think the obvious needed to be stated. I think each of these points would be obvious in this case.

  10. My proof on E=mc^2 Verified In Quantum Chromodynamic Calculation · · Score: 5, Funny
    My proof:

    We know that e^(pi*i)=-1
    and i=Sqrt(-1)
    So, to prove that e=mc^2,
    we substitute for e, and you get
    (mc^2)^(pi*sqrt(-1))=-1 or
    (mc^2)^(sqrt(-pi^2)=-1
    mc Hammer only had 15 minutes of fame, so squaring that is 225 minutes
    If you had a pie, and you squared it off, and I took it from you, and made it round again, you'd have the square root of a negative pie squared.
    But this is pi, not pie, so we need to divide by e, which we know is 2.71828...
    So 225^(1/2.71828)=-1

    I know this worked yesterday... one moment....

  11. Re:Where's the smoke? on IRS Looking at Google/Mozilla Relationship · · Score: 3, Insightful

    And that would mean Google shouldn't be using the donation as a tax deduction.

    But there really isn't any difference from a tax perspective if a business donates money, or spends it. It all comes out of net profits, and reduces the tax.

  12. Re:Define soul. on Ray Kurzweil Wonders, Can Machines Ever Have Souls? · · Score: 1
  13. Re:Do humans have souls? on Ray Kurzweil Wonders, Can Machines Ever Have Souls? · · Score: 1
    He a point. His comment was even as Insightful. And you guys fun of him.

    If you can't intelligently to the conversation, please your comments to yourself.

  14. Re:Try Io on Ioke Tries To Combine the Best of Lisp and Ruby · · Score: 1

    Combine Lisp and Ruby, wouldn't that give you Loobie?

  15. Re:Together on Nationwide Domain Name/Yard Sign Conspiracy · · Score: 4, Funny

    Women were charged significantly less- my wife bought in blocks of 6 instead of 36.

    This is exactly why I signed up for the service posing as a woman. Cheaper.

    Unfortunately there's no checkbox for the ladies to check "Seeking Man Posing as a woman to get a better deal", so I had to resort to posing as a Lesbian.

    Wonder why I am still single.

  16. Re:Founding fathers on How We Used To Vote · · Score: 1

    To get rid of the electoral college, you would have to get rid of the States.

    Not so. There is a very creative plan to work around the Electoral College, and use the popular vote, that is a real bill in many states right now. The way the STATE bill reads, it says that, by state law, if enough states pass a similar law, ALL of the Electoral College votes for that state be cast to the winner of the NATIONAL popular vote. Read about it here.

  17. Interesting that their example didn't work! on Google Sheds Light On 'Dark Web' With PDF Search · · Score: 1
    The First Google example failed in some of their OCR. I figured that their "demo" would be scrubbed of errors - or at least they'd show you one of their better examples.

    But in their Repairing Aluminum Wiring example, the PDF reads:

    In 1972, manufacturers modified both aluminum wire and switches and outlets to improve the performance of aluminum wired connections Sale of the old style wire, switches and outlets still on dealers' shelves however, continued after 1972

    and the Google HTML reads:

    In 1972, manufacturers modified both aluminum wire and switches and outlets to improve the performance of aluminum wired connections Sale of the oÃa style wire, switches ano outlets stilf on dealers' shelves however, continued after 1972

    Maybe this IS one of their better examples.

  18. Re:MD5 Collisions... on US District Court Says Calculating a Hash Value = Search · · Score: 1
    No, my point is that if it were legal to search for hashes of porn files, then every one of us could be brought in as a suspect, because it seems to me that zillions of variants of porn can be created with different hash values such that every hash value has a corresponding porn file.

    EVERY file has a collision with SOME porn file. and it wouldn't be hard to generate them (it'd take a very long time though).

    I've been wrong before. Anyway, thanks for the back-and forth discussion. Catch you in the next thread!

  19. Re:MD5 Collisions... on US District Court Says Calculating a Hash Value = Search · · Score: 1
    rats... I bolded an error.... I meant... 4000:

    Yes, that's my theory - that you can take 4000 perv files, and generate 2^171 variations off of them, with little loss of perversion to the human eye.

  20. Re:MD5 Collisions... on US District Court Says Calculating a Hash Value = Search · · Score: 1
    I think you missed my point. Even if there are only 4000 known kiddie porn files averaging 50K (BITS!) in size, there are 200 million variations, changing just one bit. And there are almost 200 million * 50,000 changing 2 bits. And there are roughly 200 million * 50K squared changing 3 bits. and there are roughly 200 million * 50K cubed changing 4 bits. (more accurately 200M * 50K * (50K-1)* (50K-2) * (50K-3).)

    And you can repeat that math up to 1000 bits (200 million * 50K^1000). 200M is roughly 2^21. Let's convert this to exponentials of 2: 50K is roughly 2^15, and 1000 is roughly 2^10.

    So that makes our count of visual variations of kiddie porn to be 2^21*((2^15)^(2^10)), or 2^21*2^150, or 2^171, or some very very very big number. Yes, that's my theory - that you can take 40 perv files, and generate 2^171 variations off of them, with little loss of perversion to the human eye.

    Since there are only 2^128 variations of POSSIBLE hashes, and there are 2^171 files to be hashed, then it's almost certain that every possible hash value has some kiddie porn associated with it. (that is, if you have 2^128 mail slots, and 2^171 pieces of mail with random mail-slot addresses, it's near certain that almost every mail slot will have a letter).

    And since you have 100,000 files to check, against a list of 2^128 hashes, the vast vast vast majority (if not all) have collisions, you are near certainly going to have a collision. In fact, it's very likely you will have 100,000 collisions! OH NO, autoexec.bat has the same hash as some kiddie porn!

    That was my logic. I see now that I understated my case dramatically because the average size would be 50K BYTES not bits.

    Realistically, I know that you can catch a crook this way - they're too stupid to change bits, and the cops are too stupid to change bits, but I wanted to show how ridiculous it COULD be, using hashes to catch a perv.

  21. Re:MD5 Collisions... on US District Court Says Calculating a Hash Value = Search · · Score: 1
    Well, first, your math is off. 2^128, not 36^32. Both huge numbers.

    Second, say there are four-thousand known kiddie porn files of average size 50K. That's 200 Million bits of data total. Any one of those bits can be changed without any loss of it being kiddie porn. So there are your original 4000 md5 hashes, but an additional 200 Million hashes with one bit changed.

    In fact, I bet any amount of bits up to 1K random bits could be changed in any one of these files without significant loss of fidelity, such that the average juror would consider it to be kiddie porn. So now we have (approximately) 1K! * (50K choose 1K) * 4K different hashes that map to what someone would visually consider to be kiddie porn.

    Looking through your approximately 100K files on your PC, chances are near certainty* that at least ONE has the same hash as a file that would be visually considered to be kiddie porn.

    Please report to jail.

    *ok I didn't do the math, my calculator ran out of digits. But I just wanted to add in the "change a few random bits" logic.

  22. Re:Ahem ... on Brains Work Best At Age of 39 · · Score: 4, Funny

    ... they base their result on a sample of 72 persons within an age range from 23 to 80.

    What do you expect? The researcher was in his 40's. He was much better a few years back...

  23. This just in, from Fox News Network on WV Voters Say Machines Are Switching Votes · · Score: 1

    Fox News recommends that you are in West Virginia, and you want to vote Democrat, you should vote Republican, and let the machine flip it for you.

  24. Re:You're Right, Of Course on Should You Break TOS Because Work Asks You? · · Score: 5, Funny
    The proper way to document this in email is something like this:

    Boss-
    I'm able to do the data scraping and should have it up and running by the end of the day.
    - Your faithful employee

    In case you are wondering about the technical details, here they are:

    The scraping is implemented with a perl script which is activated using cron.

    We scrape the site twenty times per minute, which is a violation of their terms of service. By doing this, of course, we risk that they may shut us off at any time, or even provide us with fake data.

    The typical PHB will read the first two lines on his blackberry, and you're golden. Worst case he or she will scroll down - but the managerial brain is set to shut down at the word "perl". The word "cron" is a failsafe - in case the PHB also has ADD.

    Later when s/he comes back and says "why didn't you warn me", you can point to the text "beneath the fold" of your email.

  25. Re:damn it on Now Even Photo CAPTCHAs Have Been Cracked · · Score: 1

    Yes, but the problem that we ran into with display: none was that apparently a bug in Google Toolbar was filling it in for real users.