Recent content by sheldonlinker

  1. S

    how do i become a cook county sherriff?

    To become sherriff: Run for office To become a deputy: You'll have to apply.
  2. S

    PHP and JavaScript Question?

    Given n as $n: for ($y=0; $y<=$n; $y+=2) { ...echo 'y' . $y . 'z'; ...for ($z=0; z<=$n; $z+=2) ......echo '' . $z . 'z'; }
  3. S

    Is it possible to test everything in a program?

    Yes. It's expensive, though. One way to do it is to put a breakpoint after every branch, and trace through code. As you see the program go through the breakpoint and execute properly, clear the breakpoint or move it down, as appropriate. When there are no more breakpoints left, every line of...
  4. S

    If I put my mobile into a closed metal case not touching the inner walls, will I...

    An incoming wave spreads its electrical energy through the conductor. Inside the box, Newton's principle tells us that the field will be uniformly distributed, and thus unsensed, because the vector sum is 0. Look up Faraday Cage.
  5. S

    What type of business entity is wikipedia?

    From Wikipedia: The Wikimedia Foundation, Inc. is a non-profit charitable organization headquartered in San Francisco, California, United States, and organized under the laws of the state of Florida, where it was initially based.
  6. S

    print button in java swing.?

    Create a button, and add it to the JPanel or whatever is holding everything. Add an item that contains an Action routine to the button. In the Action routine, do the printing.
  7. S

    print button in java swing.?

    Create a button, and add it to the JPanel or whatever is holding everything. Add an item that contains an Action routine to the button. In the Action routine, do the printing.
  8. S

    How many of you unemployed republicans will clean my house, cook and iron for $30 a day?

    Sorry, but the Democrats have made it illegal for me to work for $30 per day. It's currently $66 per day, plus Social Security employer tax, plus SUI, plus FUTA, and soon to be 8% for nameYouFavoriteDemocratCare.
  9. S

    Is it true that it's possible that a law could be passed forcing all business owners

    Yes. The House has already passed 2 such bills requiring such insurance for all employees and their dependents to age 27. Besides that, it levies a tax on many insurance plans, too. Hope and Change, they call it.
  10. S

    I need help with PHP?

    if ($i != 5) { ... } else { ... }
  11. S

    how to clean up php injection attack?

    Let's say you input a field, and the value is $value. You can't just use this field as a string like this: "DELETE FROM someFile WHERE someField='$value'" An injection attack may have a quote in the value, followed by malicious code. Names may be "O'Connor", which will also mess you up. You...
  12. S

    does the die function in php stops javascript?

    Depending on the implementation of PHP either stop your script where it is, which may cause your JavaScript not to get sent, or sent and not executed — or — will cause the partially completed page not to get sent, which will for sure prevent the JavaScript from getting sent.
  13. S

    does the die function in php stops javascript?

    Depending on the implementation of PHP either stop your script where it is, which may cause your JavaScript not to get sent, or sent and not executed — or — will cause the partially completed page not to get sent, which will for sure prevent the JavaScript from getting sent.
  14. S

    I got a ticket for not stopping at a stop sign.. now I have to go to court...?

    $1,000?! Sounds like Cruel and Unusual.
  15. S

    Riddle me this Christians, Right Wingers or anyone caring to solve this profound

    I suppose by your definition, libertarians aren't on the right. I don't think that I should be restricted from having anything that can't hurt you, or doing anything that can't hurt you. You're wrong on #4, though. The rich could make a lot of money from drugs now illegal.
Back
Top