Slashdot Mirror


User: Daniel

Daniel's activity in the archive.

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

Comments · 973

  1. Re:I think... on The Return of Wallace and Gromit · · Score: 1

    Penguins are evil!

    All too true.

    Daniel

  2. Re:This dpesn't seem likely on Open Source Tax Products? · · Score: 2, Informative

    Apparently the IRS isn't allowed to do this because it would compete with private tax software providers. Go figure.

    Daniel

  3. Re:Shouldn't that be too bloated to test? on Too Darned Big to Test? · · Score: 4, Funny

    Even if I had fifty pears reviewing my code bugs are going to slip in because they don't fully understand what I am writing.

    Well, that's because pears can't code worth a darn. You should be using oranges. I know some people will hold out for bananas, but I've never had good luck with them; they're too fickle. Oranges will get the job done every time.

    Daniel

  4. Re:Troll? on MGM v. Grokster: Here's Why P2P is Valuable · · Score: 2, Funny

    I guess there isn't a moderation for "self-referentially ironic".

    Daniel

  5. Re:infiniband? on Linux Kernel 2.6.11 Released · · Score: 1

    If you use TeX, infinity is 10000, so they only have two orders of magnitude to go!

    Daniel

  6. Re:Booor-ing... on Significant Advance in Quantum Computing · · Score: 1

    Needless to say, to say people are sceptical of Kieu's ideas is an understatement...

    Given that you have to start by throwing out the Church-Turing thesis, I'd think that's hardly surprising.

    The halting problem for arbitrary Turing machines, with all that that would imply.
    The Riemann hypothesis.
    Goldbach's conjecture


    So.....is he planning to do this before or after he proves that integer mathematics is logically consistent? ;-)

    Daniel

  7. Re:I'm not a quantum engineer on Significant Advance in Quantum Computing · · Score: 2, Informative

    You can analyze the probability of an algorithm's success without knowing the answer it'll produce. This is a well-known technique even outside the realm of quantum computing. Here's a simple example: I have a number between 1 and 100; try to guess it. Of course, there's the standard O(log n) technique (which is probably the best one in this case!), but you could also just guess randomly until you find the number. In this case, you have a certain chance of finding the answer within, say, 200 steps (can't remember offhand but it should be fairly high). If you decide to arbitrarily terminate the search at this point, you can calculate the probability of the algorithm succeeding. Standard practice is to just prove that you have at least a 50% chance of success (at which point you can achieve an arbitrarily high chance of success by iterating the algorithm enough times) -- of course, 50% is an arbitrary number; any number above 0% would work from a theoretical point of view.

    An example of a real algorithm that works this way is primality testing. There's an easy test that returns "false" for all primes, and returns "false" or "true" with equal probability for composites. (search for "Solovay-Strassen") Since the probability of a false negative is 50% (when you have a composite) if you pick enough samples and they all fail, you can say that there's a "high probability" that the number is prime. (for instance, 256 tests will get you odds of 1/(2^256) that the answer is wrong)

    I don't pretend to understand quantum computing, but I do know that the basic processes are probabilistic, so it's not surprising that you end up with a probability of finding the right answer. Also bear in mind that there are only two (last time I checked, anyway) known algorithms for quantum computers, or at least only two that are significantly faster than the "standard" version, so it's not like QC is claimed to solve every open problem in computer science (despite what some guy above was saying).

    Daniel

  8. Re:flamebait, sure on Fan Group Creates Full-Length Discworld Movie · · Score: 1

    Hm, I would never place Anthony at the level of Pratchett, but there is one similarity that I can think of -- both of them crank out huge volumes of books that rely way too heavily on self-reference and in-jokes. I read all of the early Discworld books with great enthusiasm, but somehow I just don't enjoy PTerry's latest offerings the same way...they've gotten too formulaic and predictable for my taste. My favorite book in the series remains "Small Gods", maybe partly because it doesn't substitute references to the rest of the series for actual new content.

    Daniel

  9. Re:dv editing and Gutenburgs press on Fan Group Creates Full-Length Discworld Movie · · Score: 1

    Unfortunately, acting ability doesn't pass quite so easily. The trailer actually didn't look that bad, considering -- until the actors opened their mouths. *cringe* If that's the best line they could find in the movie...well, I'm not sure I want to see the worst.

    Daniel

  10. Re:What left? on ALA President Not Fond of Bloggers · · Score: 1

    From reading his post, I think it's quite clear: by "left" he means "evil" and by "right" he means "good". :-)

    Daniel

  11. Re:Bad, bad Microsoft.... no cookie for you! on Microsoft Blocking Wine Users From Downloads Site · · Score: 5, Insightful

    If you can hack around this, more power to you, but MS is under no legal or ethical obligation to support your efforts.

    Of course, there's a difference between not supporting your efforts, "accidentally" breaking your efforts, and actively trying to stop your efforts from working. This appears to be a pretty clear case of the third item in that list.

    Daniel

  12. Re:Well on SHA-1 Broken · · Score: 1

    But not totally awake, evidently. As I quoted, the article says BQP is disjoint from NP-complete, not NP. There's an important distinction there...

    Danieil

  13. Re:Well on SHA-1 Broken · · Score: 1

    Yeah, that's a lot more obvious now that I'm awake :P

    Daniel

  14. Re:Well You know what they say about absolute powe on Stallman Feeds Gates His Own Words · · Score: 1

    "I don't belong to any organized political party: I am a Democrat." -- forget who said this, but too true (and once you start talking about liberals it gets even worse)

  15. Re:Well on SHA-1 Broken · · Score: 1

    For instance, if QC were to become real, one can always brute-force an algorithm.

    Only if you can find a fast quantum algorithm for every hard problem. I haven't studied quantum computing much, but my understanding is that it's at least an open question whether you can even get fast solutions to all of NP, leaning towards the negative. eg: for what it's worth, Wikipedia says that "BQP is suspected to be disjoint from NP-complete and a strict superset of P, but that is not known... There is a common misconception that quantum computers can solve NP-complete problems in polynomial time. That is not known to be true, and is generally suspected to be false."

    Daniel

  16. Re:Well on SHA-1 Broken · · Score: 1

    My complexity theory may be rusty, but I could swear that the factorization problem is only conjectured to be NP-complete.

    Ok, I checked Wikipedia: if the entry is right, factorization is known (of course) to be in NP and coNP. It is not, however, known to be NP-complete or coNP-complete, and in fact it's conjectured to be neither (if it was NP-complete or coNP-complete, we would get NP=coNP, which is thought to be false). As you pointed out, it's also conjectured to be outside P, mainly because no-one can seem to find a polynomial-time algorithm for it.

    Daniel

  17. Re:Uh huh on Microsoft: The Faint Smell of Rot · · Score: 1

    Let me ask you, when someone comes up to you and says "I work at Microsoft" , what is your first reaction?

    Well, unless I happen to be visiting Redmond/Bellevue (or near a campus "career fair"), I hardly ever run into Microsoft employees. So most of the time my reaction would be a puzzled look and the query "really?"

    On the other hand, even if I do expect to possibly run into a Microsoft employee or two, I think that anyone who walks up to complete strangers and introduces themselves by announcing their place of employment (at least under any normal circumstance) is either a practical jokester or has some personal issues they need to look at, and so I guess I would react by giving them a puzzled look, saying "That's nice," and hoping they go bother someone else.

    Daniel

  18. Re:Magic on Linux Application Development · · Score: 1
    and for extra fun, use this definition instead. (I'm done now. really)
    (define make-next-char
    (lambda (get-nth-char max-idx start stride)
    (let ((final (lambda (k) (k (- start stride)))))
    (lambda ()
    (let* ((old-final final)
    (new-final #f)
    (update-final (delay (set! final new-final))))
    (let [(k (call/cc (lambda (x) x)))]
    (cond
    [(number? k) (and (< k max-idx) (get-nth-char k))]
    [else
    (set! new-final k)
    (force update-final)
    (k (+ stride (call/cc old-final)))])))))))
  19. Re:Magic on Linux Application Development · · Score: 1
    Nice try, but that's almost comprehensible ;-). Maybe we could start with something like this...continuations, macros (although I think it could use more of them), and a pointless application of basic number theory to top it off. Wacky indentation courtesy of /.'s spamfilters.

    (I thought about doing something totally ridiculous, like having the-msg be a red-black tree indexed by the Nth prime number, but then I realized that would be totally ridiculous)
    (define the-msg "H!dlrow ,olle")

    (define call/cc call-with-current-continuation)

    (define make-writer
    (lambda (next-char)
    (lambda (k)
    (let loop ((k k))
    (let ((ch (next-char)))
    (if ch
    (loop
    (begin
    (display ch)
    (call/cc
    (lambda (my-k)
    (k my-k)))))))))))

    (define make-next-char
    (lambda (get-nth-char max-idx start stride)
    (let ((retrieve (lambda args start)))
    (lambda ()
    (let ((idx #f))
    (set!
    idx
    (let ((old-retrieve retrieve))
    (let [(k (call/cc (lambda (x) x)))]
    (cond
    [(number? k)
    (and (< k max-idx) k)]
    [(not k)
    (and idx (retrieve (+ stride idx)))]
    [else
    (set! retrieve k)
    (old-retrieve #f)]))))
    (and idx (get-nth-char idx)))))))

    (define-syntax make-looper
    (syntax-rules ()
    ((make-looper idx nth-char max-idx)
    (lambda ()
    (let* ((get-nth-char (lambda (idx) nth-char))
    (next-char1 (make-next-char get-nth-char max-idx 0 2))
    (next-char2 (make-next-char get-nth-char max-idx 1 2))
    (writer-fn1 (make-writer next-char1))
    (writer-fn2 (make-writer next-char2)))
    (writer-fn1 writer-fn2))
    (newline)))))

    (define hello-world
    (make-looper idx (string-ref the-msg (remainder (* 12 idx) 13)) 13))

    (hello-world)
  20. Re:Application development? on Linux Application Development · · Score: 1

    I think programmers with Unix experience won't need this, but I read a similar book when I started writing Linux software, and it was incredibly helpful. There are a lot of things about the Linux environment that experienced programmers take for granted, but that you have to learn somewhere. Having it all in one place and presented in a logical fashion is a great time-saver. You could probably learn how UNIX processes work, for instance, by reading the manpages for fork(2), exec(2), and so on, but I doubt that's how most people do it.

    Daniel

  21. Re:...and.... on Spyware for Firefox Coming This Year? · · Score: 1

    If the user is downloading and running malicious executables, stealth Firefox extensions are the least of their worries.

    Daniel

  22. Re:Mach Microkernel vs L4 on First Program Executed on L4 Port of GNU/HURD · · Score: 1

    Of course, one reason the Hurd has encountered so much trouble is that it deviates wildly from the traditional Unix kernel design.

    Daniel

  23. Re:Benchmarks? on First Program Executed on L4 Port of GNU/HURD · · Score: 1

    That doesn't help if your graphics driver has crashed the kernel.

    Daniel

  24. Re:wrong on New Standard Keyboard · · Score: 2, Informative

    Not to mention that some shortcuts are all-too-easy to hit. After one too many accidental exits, I rebound the "quit" command to "C-c f10". (for unbelievers: the default is C-x C-c; for comparison, "save" is C-x C-s and "load" is C-x C-f)

    Daniel

  25. Re:Creating whole worlds isn't yet very natural. on Hackers, Slackers, and Shackles · · Score: 1

    The act of creating a whole world from art, sounds, abstract personalities, key events, etc, and all the interactions involved is NOT yet an act people will just do on their own, even for a large group working together. ...

    Otherwise, we'll get a lot more abstract puzzle games, but the real power of developer imagination may be lost to complexity.


    Honestly, I prefer simple puzzle and arcade games. The other type takes far too much time and work for a *game*. If I want a story I'll go read a book.

    I know I'm not typical of the market, I just had to wedge in a curmudgeonly rant. :-)

    Daniel