Slashdot Mirror


User: greg_barton

greg_barton's activity in the archive.

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

Comments · 1,968

  1. Re:Just like TRON on The Computer of 2010 · · Score: 1

    Yeah, and the "The Desktop as Desk Top" part... Remember the evil CEO's desk?

  2. Re:Troll? Facts! on A Java-Based Handheld OS · · Score: 1

    What do you mean by a "randomization"?

    double r = Math.rand(); //One line of code...

    Or, you could use two lines of code to create an object of type java.util.Random, then call various methods to get randome sequences.

    I'd like to see those 20 lines of code. Are you brave enough to post them? :-)

  3. Re:Obfuscated Perl? on 5th Annual Obfuscated Perl Contest · · Score: 1

    Ya, isn't "Obfuscated Perl" a bit redundant?

  4. Here's why it works on Java Security Hole Makes Netscape Into Web Server · · Score: 5

    This exploit is possible because of two factors.

    The first problem is that Netscape's SecurityManager does not throw a SecurityExecption when the BOServerSocket constructor creates a java.net.ServerSocket. Here's the exception thrown in IE:

    *******************************
    com.ms.security.SecurityExceptionEx[BOServerSock et.]: cannot access 8080
    at com/ms/security/permissions/NetIOPermission.check
    at com/ms/security/PolicyEngine.deepCheck
    at com/ms/security/PolicyEngine.checkPermission
    at com/ms/security/StandardSecurityManager.chk
    at com/ms/security/StandardSecurityManager.checkListe n
    at java/net/ServerSocket.
    at java/net/ServerSocket.
    at BOServerSocket.
    at BOHTTPD.init
    at com/ms/applet/AppletPanel.securedCall0
    at com/ms/applet/AppletPanel.securedCall
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.run
    at java/lang/Thread.run
    ***********************************

    After the ServerSocket is created, a SecurityException _is_ thrown whenever the BOServerSocket calls implAccept, but this Exception is easily caught. Also, by the time the Exception is thrown, the damage is already done. Here's the Exception:

    ************************************
    netscape.security.AppletSecurityException: security.Couldn't connect to '127.0.0.1' with origin from '216.61.198.249'.
    at java.lang.Throwable.(Compiled Code)
    at java.lang.Exception.(Compiled Code)
    at java.lang.RuntimeException.(Compiled Code)
    at java.lang.SecurityException.(Compiled Code)
    at netscape.security.AppletSecurityException.(Compile d Code)
    at netscape.security.AppletSecurityException.(Compile d Code)
    at netscape.security.AppletSecurity.checkConnect(Comp iled Code)
    at netscape.security.AppletSecurity.checkConnect(Comp iled Code)
    at netscape.security.AppletSecurity.checkConnect(Comp iled Code)
    at netscape.security.AppletSecurity.checkAccept(Compi led Code)
    at java.lang.SecurityManager.checkAccept(Compiled Code)
    * at java.net.ServerSocket.implAccept(Compiled Code)
    at BOServerSocket.accept_any(Compiled Code)
    at BOHTTPD.run(Compiled Code) at java.lang.Thread.run(Compiled Code)
    ************************************

    So, to recap: 1) Netscape does not throw a SecurityException when a ServerSocket is created in BOServerSocket., and 2) the connection is made by the time the exception is thrown in ServerSocket.implAccept().

    #1 is Netscape's fault. They haven't implemented their security policies correctly, specifically that a ServerSocket can't listen on a port in an unsecure applet. #2 is definately Sun's fault because the SecurityException can easily be circumvented by overloading Socket.close().

    Bravo to the grey hat for finding this!

  5. jamie's geek blinders on "Big Publishing's Worst Nightmare" · · Score: 1

    I'm sorry, jamie, but your commentary is a prime example of trying to fit human behavior into an algorithm. Hate to break it to you, but the vast majority of people do not perform a cost/benefit analysis when they perform an action. In this case many people will buy the book because they like Stephen King. They don't mind giving King a dollar because they think he's a cool guy. That little factor called "emotion" will play a part in their decision. Hard to believe! And apparently hard for you to conceive...

  6. Re:We need more cars like this on Ars Reviews Honda Insight · · Score: 1

    That's what this is for...

  7. Re:I'm sorry, back the boat up.... on Senate Judiciary Committee On Digital Music · · Score: 1

    "We traced the source of this leak to a corporation called Napster." - Lars

    Kinda like saying, "We traced the source of this leak to a corporation called Xerox."

  8. Re:The Equation for God on Calculating God · · Score: 1

    Then would the Intel equation for God be a first release Pentium I dividing by 7?

  9. Re:what to link to? on Legality Of Linking To Be Tested In Court? · · Score: 1

    A page is a file...

  10. Re:A GA or other evolving strategy will be good... on Rock-Paper-Scissors · · Score: 1

    I frikkin hate it when I don't preview the comment...

    The gene coding would be [List of opponent's last N moves][List of your last N moves][suggested move]

  11. A GA or other evolving strategy will be good... on Rock-Paper-Scissors · · Score: 1

    ...to solve this problem, especially if other entries utilize a static approach. Check out section 1.9 of Melanie Mitchell's book _An_Introduction_to_Genetic_Algorithms (MIT Press) for an interesting discussion of a evolving solution to the prisoner's dilemma. The only problem is the time constraint. :-)

    The gene coding could be something like this: where the lists consist of R|P|S for Rock|Paper|Scissors. This creates a gene space of 3^(2N+1) which isn't bad for small N. It could be made simpler if your own moves were left out of the gene space, but then you couldn't compensate for your opponent reacting to your own behavior.

    It'd be fun to see if this could be written in under 40 lines too...

  12. Re:What does this mean for Palm? on Crusoe WebPads By FIC · · Score: 1

    Ya, I know what you mean. My girlfriend, who was formerly completely computer phobic, flipped when she saw the Palm. Now it never leaves her purse. She memorized Grafiti in an hour. I was stunned...

  13. Re:Kernel times on C Faces Java In Performance Tests · · Score: 1

    Here's the link: http://java.sun.com/aboutJava/communityprocess/jsr /jsr_051_ioapis.html

  14. Just think... on Dr. Dre Might Sue Napster Users? · · Score: 1

    ...if everyone decided to counter sue...

  15. Java really is catching on! on Electronic Valves For Diesel Engines · · Score: 4

    "...electronic control will enable engines to change valve timing on the fly..."

    Why, it's a run time optimizing just in time combustor!

  16. Re:Problem not with the Technology on Summary Of Symposium On Spiritual Machines · · Score: 1

    You're really proving your "Rorschach blot" point...

  17. From the FIN page on I Pity The April Fool! · · Score: 1

    "I fully intend to
    e-mail my
    representatives,
    and I hope they
    realize the
    important impact
    that Microsoft has
    had on the
    computing
    industry alone,
    and ALL the other
    industries
    as well."

    If that ain't a joke, I don't know what is...

  18. Re:Regulation and Taxes will happen on The Internet-Have We Reached A Turning Point? · · Score: 1

    I think you may have misunderstood the post.

    Yep, but the misunderstanding has been moderated up by the oppressive liberatarian majority on this site. Ironic, no?

  19. Re:Reversing cause and effect on LonelyNet · · Score: 1

    Which is cause and which is effect?

    After hearing about this on NPR, this was my first thought, especially after listening to an interview with the researcher. He seemed awfully biased towards the "internet seperates people" attitude. Hopefully the study results are phrased like, "there is a correlation with X probability between 'lonely' behavior and internet usage," but after listening to the researcher talk, I kinda doubt it...

  20. Re:JVM performance bad on MOST platforms on Java 2 for Linux Released & Blackdown Gets Creds · · Score: 1

    What do you expect from a poster whose nick is "Kludge?"

  21. My mantra on How many hours did you work this week? · · Score: 1

    Always work hourly, never work salary...
    Always work hourly, never work salary...
    Always work hourly, never work salary...

  22. Re:Bucking the Trend: The Worst! on Sci Fi Literature 101? · · Score: 1

    Naw. _Battlefield_Earth_ by L. Ron Hubbard has to be the worst. It's the only SF book I've put down without reading the whole thing.

  23. Distributed data havens... on DeCSS Author Arrested · · Score: 1

    ...are definately the answer. Better yet, one could be built such that the data could be stored and retrieved without knowing where the data is going to or coming from. Consider this: a system gives you a list of files available and you send out a mobile agent to search for one. The file would be stored on multiple, redundant, randomly dispersed servers. Once the agent found the file it would travel to a few random servers to prevent any direct tracking, and would return to the source server of the query. (possibly dropping it's data package somewhere along the way, ensuring that highly queried data would be better distributed...)

    The data retrieval process would be slow, but it would be completely anonymous and very fault tolerant...

  24. Re:Inability to sign into a legal contract on Interview: Corel CEO Michael Cowpland Answers · · Score: 1

    What Cowpland said was, "Basically that means that someone under 18 can read the GPL licensing agreement, agree to the conditions, download the product and then not be bound by the terms and conditions of the contract." I interpret that as meaning that if someone under 18 downloaded a GPLed product they could do anything with it they please. They wouldn't have to follow the GPL at all! Talk about a hugh loophole...

  25. Puzzles! on Geek Christmas Ideas · · Score: 1

    I nearly had a fit of joy when I found this company's website: http://www.bitsandpieces.com. My favorite products are the mechanical puzzles: http://www.bitsandpieces.com/dept_main.asp?dept_id =5