Slashdot Mirror


User: mlamb

mlamb's activity in the archive.

Stories
0
Comments
12
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 12

  1. Reader/Writer classes in java benchmark affect res on Performance Benchmarks of Nine Languages · · Score: 2, Insightful

    By replacing the Reader/Writer classes in the java benchmark with their InputStream/OutputStream counterparts I realized a 24% IO performance boost when running the 1.4 JVM with the -server option. The Stream classes don't bother with the unicode conversions that the Reader/Writer classes do. Since the other benchmarks didn't perform unicode conversions (at least the C/C++ ones - can't speak for the other langs), this seemed like a reasonable modification.

    Curiously, without the -server option, this resulting in a 78% performance HIT.

    - Marty

  2. Isn't this a violatin of the DMCA? on Princeton Hacks Yale, Harvard Not Surprised · · Score: 1

    I'd imagine that the acceptance/rejection letters had standard copyright footers embedded within. Doesn't this mean that Princeton circumvented a security mechanism to obtain copyrighted information?

  3. Re:anonymous vs. abstract on 235,000 Software Engineers Can't Be Wrong, Right? · · Score: 1

    No need to search when you know what you're talking about.

    Again I draw attention to the quote "and yes I do know what an anonymous class is and when one would use it as opposed to in interface."

    An anonymous class is not a substitute for an interface. An abstract class can be.

  4. anonymous vs. abstract on 235,000 Software Engineers Can't Be Wrong, Right? · · Score: 1

    (from the java link in the posting):

    "I have a job," states Lyons, "and have not changed jobs in the past 5 years. I'm a Sun Certified Programmer for the Java 2 Platform. I'm working for a very large development shop, have over 10 years coding experience, 5 years in Java/OO technologies, and yes I do know what an anonymous class is and when one would use it as opposed to in interface." [emphasis added]

    Um... I think he's confusing anonymous and abstract classes, illustrating Avraamides' point quite well.

  5. Try the TINI on Computer-driven, Open Source Based HVAC Control? · · Score: 1

    It runs java, has Ethernet, RS-232, and 1-wire interfaces built in, and it's small enough to look like a normal programmable thermostat.

    http://www.ibutton.com/TINI/index.html

  6. Here's the VB for the offending search engine on MS Putting the Squeeze on Alternative Audio · · Score: 1

    Yup... looks like they accidentally left out Real.

    Public Sub cmdSearch_Click(Query as String)
    ' (snipped for brevity - this is a pretty long sub)
    else if ucase(Query) = "READING" then
    WebBrowser1.Navigate "http ://search.msn.com/results.asp?q=reading"
    else if ucase(Query) = "READY" then
    WebBrowser1.Navigate "http ://search.msn.com/results.asp?q=ready"
    else if ucase(Query) = "REALLY" then
    WebBrowser1.Navigate "http ://search.msn.com/results.asp?q=really"
    ' (more snipped)
    End Sub

  7. Holy FUD Machine, Batman! on MS XP Drops Java Support · · Score: 5

    Tightening Java security
    In a separate move affecting Java, Microsoft is tightening security settings in its new Windows and Office programs that in some cases will also disable Java programs. Microsoft's new products will now screen out Java as a possible carrier of computer viruses in e-mail and, under high-security settings, in Web-browsing software. This move, first signaled in a software "security patch" distributed last year, is part of a broader effort by Microsoft to help stamp out the spread of computer viruses.


    Finally, Microsoft is doing something to combat those horrible java-based email viruses! But will they also screen all your emails to make sure they don't contain any of that nasty GPL virus?

  8. Zen Analogy on Java as a CS Introductory Language? · · Score: 1

    The son of a master thief asked his father to teach him the secrets of the trade. The old thief agreed and that night took his son to burglarize a large house. While the family was asleep, he silently led his young apprentice into a room that contained a clothes closet. The father told his son to go into the closet to pick out some clothes. When he did, his father quickly shut the door and locked him in. Then he went back outside, knocked loudly on the front door, thereby waking the family, and quickly slipped away before anyone saw him. Hours later, his son returned home, bedraggled and exhausted. "Father," he cried angrily, "Why did you lock me in that closet? If I hadn't been made desperate by my fear of getting caught, I never would have escaped. It took all my ingenuity to get out!" The old thief smiled. "Son, you have had your first lesson in the art of burglary."

    You never truly understand memory management until you've debugged a leak, uninitialized pointer, or segfault. A hobbyist programmer may have no need to understand this, but it should be one of the first things a CS major learns.

  9. serious Gs on NASA Prototype Plane Scheduled To Attempt Mach 5+ · · Score: 1

    14 miles in 10 seconds, from a dead stop, assuming constant acceleration = 46.2Gs. Damn.

  10. Re:So why are they using Linux DNS Servers? on Linux Is Going Down · · Score: 5

    Actually, they're using NT servers. They just forgot to remove the linux identifiers from the stolen code. I'm surprised it doesn't say "Stacker".

  11. Re:This is Congress's jurisdiction on ICANN, new TLDs, and Congress? · · Score: 4

    This is exactly what the internet is all about: interstate commerce and commerce with foreign nations.

    This reminds me of a true tale of an in-duh-vidual. An American (ok, US-ian) employee and a European employee of the same company were being transferred to an office in Japan. The US-ian employee got extra relocation money for an international relocation. When the European employee asked for the same amount, he was told, "but you're already international."

    The Internet is not about interstate commerce and commerce with foreign nations. It's about commerce and communication between anyone, anwhere, regardless of who or where they are. It's specifically about not making distinctions between domestic and foreign parties in a communication.

    And last I checked, "public domain" didn't mean "U.S. domain".

    (and yes, I am a US citizen).

    - Marty

  12. Self-Describing Message on Is There Anybody Out There? · · Score: 1

    Why not define run-length encoding after the first few pages, then start compressing the rest of the message?

    Why not define colors after the explanation of waves and start using them in the message?

    Why not define image resolution after that and include bit-mapped images of locations all around the earth?

    - Marty