Slashdot Mirror


User: setagllib

setagllib's activity in the archive.

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

Comments · 1,030

  1. Re:Would be awesome... on Mono's WinForms 2.0 Implementation Completed · · Score: 1

    Like I said, I'm only talking about *popular* languages and I didn't claim it was innovative in Python. Python does it and does it well, and unlike Haskell, Python enjoys wide real-world use.

  2. Re:Would be awesome... on Mono's WinForms 2.0 Implementation Completed · · Score: 4, Informative

    LINQ is nice, except it's decades too late. Of the languages in common use today, Python and Ruby have much better alternatives to linq built in (and have had them for many years), and even new languages like Scala support similar functionality.

    Your example in Python with a list comprehension, broken down into multiple lines for clarity:

    monkeys = [
        (animal.id, animal.name, animal.birthDay)
        for animal in myAnimalsCollection
        if animal.type is monkey
    ]

    And a comprehension of multiple lists is similar:

    pairs = [
        (a, b)
        for a in range(10)
        for b in range(10)
        if b == a * 2
    ]

    You have been able to do that for many years in Python, and yet Microsoft fanatics act like it's something new and innovative.

  3. Re:too little, too late? on Mono's WinForms 2.0 Implementation Completed · · Score: 3, Insightful

    IronPython already works fine on Mono, but it doesn't have IDE support. PyDev in Eclipse is pretty nice for pure Python and Jython.

    Personally I'd rather work directly in Python/Ruby on GTK/Qt than go through an extra layer that is .NET. Maybe Anjuta could stop sucking and support Python, or Eclipse could have Glade integration.

    And while Mono's not horrible, but it's not nearly as fast as the Sun JVM, so if I want fast bytecode I'd rather use Java than C#.

  4. Re:Surely this is not the only source of entropy! on Debian Bug Leaves Private SSL/SSH Keys Guessable · · Score: 1

    OpenSSL is not from the OpenBSD camp, otherwise it would be BSD-licensed and a whole lot better. OpenSSH is from OpenBSD, yes, and a great number of its exploits in the past only affected other systems (running the pX versions).

  5. Re:A great filter on Debian Bug Leaves Private SSL/SSH Keys Guessable · · Score: 1

    How do you know it doesn't affect you? This particular case may not affect you, but security systems have had entropy weaknesses since the beginning of time. Windows has come under a lot of fire for having a pitiful entropy architecture in general, and Linux has in the past as well (Linux the kernel, that is, which is where we get /dev/random).

  6. Re:To non-IT people on Debian Bug Leaves Private SSL/SSH Keys Guessable · · Score: 1

    You need to generate a new CA if its private key is weak. Having that primary key, an attacker can sign his own certificates and have them join your PKI. Unless you're auditing every certificate authenticated against your systems, you'll never even notice. This isn't like an individual client certificate you can just revoke.

    OpenVPN, etc. are extremely vulnerable to this. In fact, all of public key cryptography hinges entirely on the secrecy of private keys, so any vulnerability which reduces the search space is a really really big deal.

    I'm very confident black hats have had this in their arsenal for a long time, leaving it unannounced while weak keys accumulate.

  7. Re:Keeping port 22 firewalled helps on Debian Bug Leaves Private SSL/SSH Keys Guessable · · Score: 1

    Only the private keys like RSA and DSA are affected. Unless you use that to protect an otherwise exposed key for cryptsetup, no, crypsetup is unrelated.

    But another way of saying this is, because of this vulnerability, everyone is potentially harmed, and many machines have probably already been exploited. The vulnerability basically reduces a very large key search space to a small one. Given your public key, an attacker could find the private key in a relatively short time.

  8. Re:but... on First Release Candidate of Wine 1.0 Released · · Score: 1

    By the same logic, QEMU implements x86 if run in interpreter mode. It doesn't implement the hardware itself, but it does implement the instruction specifications. Modern physical CPUs run a sort of VM anyway, to support more instructions on top of a leaner core and still keep light pipelines.

  9. Re:Am I the only one that on Whitehouse Emails Were Lost Due to "Upgrade" · · Score: 1

    "They've long had a history of getting corrupt as they grow in size, they're hard to search, and they don't have much in the way of built-in security controls"

    You could say that about any corporation or government.

  10. Re:Java running under Javascript... on Ruby and Java Running in JavaScript · · Score: 1

    Comparable can be better than or lesser than, as long as it's close enough to bother comparing. I think you're just trying to pick holes in my brief report of what many many Java developers have already benchmarked for their own purposes, including myself.

    What code did you compare? I said "regularly outperforms even finely optimised C/C++ code for many tasks", not *all* tasks. The plain fact is that runtime optimization can beat static optimization, and Java does it occasionally. It's safe to say that in Java 7 it will be even better, with more cases meeting or exceeding C/C++.

    And keep in mind, while C/C++ *can* be optimized manually with tedium like moving code to headers (so it can be inlined), declaring constants (so they, and their resulting code, can be inlined too), etc., at runtime in the JVM this kind of work is automatic. You generally don't have to sacrifice your cleanliness and abstraction to make Java optimize well, except in currently lacking cases like boxed primitives (which will remain boxed and therefore slow - yes, I benchmarked that too).

  11. Re:Girlfriend? on Usability Testing Hardy Heron With a Girlfriend · · Score: 1

    A true geek would use aptitude, which is much more advanced than apt-get.

    A super true geek like me aliases with sudo and favorite flags included: alias apty='sudo aptitude -rPvV'.

    A hyper geek would use zsh instead of bash, but I draw the line there.

  12. Re:Java running under Javascript... on Ruby and Java Running in JavaScript · · Score: 1

    Yes, it's much faster now. Now JVMs perform on-the-fly optimisations much like the ones C compilers do at compile time, but since they're done at runtime, they can very specifically target the runtime context like your CPU model. Even though a specific optimisation set in a static compiler can do the same or even better, at runtime you get more information and more flexibility like being able to turn off synchronization when there's no chance of contention anyway.

    Version 6 of Sun's JVM now regularly outperforms even finely optimised C/C++ code for many tasks, and cuts through layers of abstraction and encapsulation so you don't have to clutter your code to speed it up. There are still many problems left for Java's performance, but they're going away, meanwhile C/C++ still have huge problems in language design and ease of development that are *not* going away.

    As an aside, the fact that Java has constantly-on features like garbage collection, bounds checks, null pointer checks, type safety checks, JNI call checks, etc. and STILL performs comparably with C/C++ code lacking these features, is a strong sign that the JVM itself optimizes code *very* well. If you turn all of these things off it goes even faster, but as a developer I like to have as much confidence in my code's correctness as possible, and doing formal proofs isn't fun.

  13. Re:Teh Anglish be a hard language too lern on Effect of Virtual Avatars On Real-Life Behavior · · Score: 1

    Wow, I thought I was going to pop a vein until it sunk in. Well played.

  14. Re:A Service... on Coding Around UAC's Security Limitations · · Score: 1

    Sorry sorry, rushed my post and came out with IE instead of IIS. And I *know* WinNT has the same user ID switch as Unix, but the problem is that until recently even Microsoft didn't use it, so it's obvious that security engineering in the Windows world is pathetic. The exploits speak for themselves.

  15. Re:Comedy gold... on IBM's Inexpensive Notes/Domino Push Against MS · · Score: 1

    Lately I'm stuck on an IBM desktop with 512MB of RAM running Windows XP, JDK 6 and Eclipse 3.3, and I use it to develop and run AI experiments. Java's far from memory efficient compared to C/C++, but it's not nearly bad enough to offset the development effort required to write reliable, reusable C/C++.

    I can easily justify using Java software if it really does save me time and effort compared to native code counterparts. Eclipse is vastly more useful than other open IDEs like KDevelop and Anjuta, and portable as a bonus.

  16. Re:Where have I heard this before? on Coding Around UAC's Security Limitations · · Score: 1

    That's exactly right, but the difference is whether the operating system kernel knows about this, or has to have it hacked into a lower layer. Xen kernels, modified to use the Xen host interface optimally, are much more efficient and flexible than unmodified kernels. It's a whole different kind of virtualisation, and yes, I should have been more clear.

    Software works the same way - you can do it "right" by writing software intended for isolation and low privileges, or you can hack it on later at a lower layer and suffer tremendous penalties to functionality, usability and performance.

    And keep in mind, in Windows, those penalties just add on to all of the *existing* handicaps of functionality, usability and performance that have accumulated from decades of doing things wrong.

  17. Re:A Service... on Coding Around UAC's Security Limitations · · Score: 1

    Look up setuid() in POSIX standards. Go on, we'll wait.

    I can't name a single common daemon in a modern Linux system that doesn't reduce its privileges straight after opening a privileged port (at which point no attacker data can be supplied yet). Even some regular programs drop privileges where practical "just in case". In modern Unix, the system protects YOU.

    IE6's privilege requirements make an already insecure server a system-wide threat. You'd have to be incredibly ignorant to believe otherwise. It's not even a matter of opinion, it's a matter of history and hard numbers.

    In conclusion, bwahahahahahahahahhaah

  18. Re:Where have I heard this before? on Coding Around UAC's Security Limitations · · Score: 1

    Having to virtualise components of Windows just for program separation just confirms the problems exist and are not being solved correctly.

    It's like how you can't really run Linux and Windows in the same memory space, so we use machine virtualisation to carve up the memory space and trick one (or the other, or both) that they're isolated.

    It's a hack to make up for the PC architecture assumption of one kernel at a time. Xen is just another hack for the same problem.

    A disturbing amount of common Windows software makes the same mistake even in this modern day, and Vista users are suffering for it now that Microsoft is making some attempt at catching up to Unix' security model.

  19. Re:not so.. on Are C and C++ Losing Ground? · · Score: 1

    Put down the crack pipe and read http://en.wikipedia.org/wiki/Inferno_(operating_system). It's not even necessarily the first such effort, but it's incredibly "prior" art. And it's a completely working system that can run on bare hardware or on top of another system, not some MS Research project we'll never see released commercially*.

    * Besides, if Microsoft releases any new operating system, it will have to be at least as bad as Vista (for compatibility) or break all backward compatibility and compete with the ever-growing and mature Linux and MacOSX platforms. Microsoft is up shit creek - they can't maintain what they have and if they move on from it, they have to compete with others who got it much more "right" long ago.

  20. Re:What fate awaits GNU Classpath? on Sun to Fully Open Source Java · · Score: 2, Informative

    They're already merging in the form of IcedTea. However, this will be mostly unecessary when the full class library is opened.

  21. Re:How Much Really? on Microsoft Loses Appeal of "Vista-Capable" Lawsuit · · Score: 1

    When the requirements for Vista exceed the requirements for Oblivion, and the Vista experience is much more challenging and less enjoyable than Oblivion, Vista more than qualifies as a game.

  22. Re:Why is this news? Because it's Microsoft. on MSN Music DRM Servers Going Dark In September · · Score: 1

    And additionally, if you "fix" it with third-party or home-made parts, it's illegal. In fact, the tools you use to fix it may even be illegal to distribute, under the DMCA circumvention clause.

  23. Re:Internet Archive. on MSN Music DRM Servers Going Dark In September · · Score: 1, Offtopic

    The poster is twitter, whose karma has been buried very deep. It doesn't matter what he posts now, the moderation system automatically assumes it's trash. Similarly, we get +1 automatically for not being utter prats.

  24. Re:Within terms of agreement? on MSN Music DRM Servers Going Dark In September · · Score: 1

    It may not be enforceable. A lot of EULAs aren't, or aren't confirmed to be.

  25. Re:Key Storage? on Fujitsu HDD with AES 256-bit Encryption · · Score: 1

    I'm sorry, I couldn't read your post. Can you follow up by posting the key?