Slashdot Mirror


User: sir99

sir99's activity in the archive.

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

Comments · 277

  1. Re:long background in C on Return of the Mac · · Score: 1

    What awful type punning!

  2. Re:Paper and technical details are here: on Tracking a Specific Machine Anywhere On The Net · · Score: 1

    I believe one of the points in the paper is that the operating systems surveyed have a seperate TSopt clock than the system clock. For example, it sounded like Linux's TSopt clock is based on jiffies, which are incremented by the hardware timer (100 Hz in linux 2.4, 1000 in 2.6). Therefore it makes no difference whether or when you run NTP, TSopt measurements will reflect the hardware timer's skew regardless.

  3. Re:Could I get some help here? on Software Patents Could Stop EU Linux Development · · Score: 1
    Without a doubt, most open-source software infringes on patents. So does most commercial software, as does any non-trivial software.


    Open Source Risk Management is a company that wants to insure companies against potential open source copyright/patent problems. Pamela Jones (of groklaw fame) and Bruce Perens are involved. OSRM released a whitepaper saying that at least 283 patents could potentially be used in litigation over the Linux kernel.

  4. Re:What about the more fundamental warnings? on True.com Wants Warnings On Personal Ads · · Score: 4, Funny

    So wait... One ounce of stuff is equivalent to 85 million tons of TNT, hence 85 million tons of TNT is equivalent to 2.3e20 tons of TNT is equivalent to 6.3e32 tons of TNT is equivalent to ... Hmm, that's a lot of TNT!

  5. Re:nope on The Return Of The Pop-Up Ad · · Score: 1

    I hate new windows too. I could never get any extension to eliminate new windows working, but I just tried this tip today and it seems to work, no extension needed. I'm not sure why, but I haven't seen any of the popups on sites people are mentioning here.

  6. Re:Progress on C++ In The Linux kernel · · Score: 1

    By your argument, Linus is unfit to develop the Linux kernel. In case you haven't noticed, Linus has been adding lots of type annotations above and beyond what C supports, and checking them with the semantic analyzer he wrote. Not only that, but it's caught lots of errors, so apparently he's not the only unfit kernel developer.

  7. Re:It's all a fad on The Extinction of the Programming Species · · Score: 1
    It sounds like my university has an identical computer graphics class to yours. I'm very disappointed. It doesn't help that our book's source code was written by an obvious amatuer (Computer Graphics Using OpenGL, 2nd ed.).

    What really bugs me is that most of my peers haven't learned to use any particular language effectively, nor have they learned the fundamentals very well. And here our intern coordinator is always raving about how much companies like our interns compared to other schools!

  8. Re:EULA vs GPL on Blizzard Stomps Bnetd in DMCA Case · · Score: 1
    Read the GPL before spouting off:
    Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.
    The GPL is a redistribution license, permitting you to do things which you otherwise legally couldn't. Whereas EULAs purport to be contracts, pertaining to use of the software and restricting fair-use rights.
  9. Re:Hate to quote a quote but... on GDI Vulnerabilities: An Open Letter to Microsoft · · Score: 5, Funny

    worse thæn useless?

  10. Re:Arch is great--it's real weaknesses on Interview with Tom Lord of Arch Revision System · · Score: 2, Informative
    Hooks are client-side-only. Since arch doesn't count on a particular storage backend or access method, it means you can't write hooks that force, for example, certain tests, or does notifications, upon commit or other actions on the tree. I think this is a more serious weakness; but to fix it might mean giving up the advantages of a server-free implementation.
    The way around this is with a patch-queue manager such as Arch-PQM. This lets you run hooks on the pqm-managed tree when you submit patches to it, effectively giving you server-side hooks.
  11. Re:Even if they offer a "download" on IBM Files for Partial Summary Judgement vs SCO · · Score: 1

    SCO also distributed 2.4.19 as recently as last August, although the link no longer works.

  12. Re:SP2 incompatible on Microsoft Lists SP2 Incompatibilities · · Score: 1

    DVDs don't "have" Macrovision. Macrovision is done by the player or the TV out chip, dependant on whether the DVD has a Macrovision "activation code." Reference.

  13. Re:KDE, Windows, GNOME, etc. on Stirring The GNOME Fires · · Score: 1

    Gnome does, assuming it's compiled for a 486. Win95 doesn't like Athlons.

  14. Re:enumerated set based operations on Favorite Programming Language Features? · · Score: 1

    If you really wanted, you could #define in <= for example, where <= would be your inclusion operator.

  15. Re:Steaming pile of... on Valve Announces Half-Life 2 Code Theft Arrests · · Score: 2, Informative
    It has happened to iD.
    Id Software, though, knows a few things about source code leaks. Several of the company's biggest games, including all of the Quake games, have seen their source code leak out. Last year, a playable build of the still-in-development Doom 3 hit the Internet.
    From here. I don't think they're confusing it with the GPL source releases, either.
  16. Re:Ob. Triumph the Insult Comic Dog quote. on New Darth Vader Costume Revealed in upcoming DVDs · · Score: 1

    See the video here, along with many more gems.

  17. Re:full C compatability? on C, Objective-C, C++... D! Future Or failure? · · Score: 1
    auto_ptr doesn't do reference counting. It maintains the invariant that only one instance of auto_ptr owns the pointer, by transferring ownership on each assignment. When the owning copy goes out of scope, the pointer is freed. The only run-time overhead should be a few pointer assignments.

    Those function calls you mention are templates; they compile away to nothing more than the equivalent operations on a pointer.

  18. Re:functional algorithms on Purely Functional Data Structures · · Score: 1
    The AC seems to have a good description of the efficiency, at least if I implemented it in the standard way. I'm not sure if the C code could be optimized much further. All that bit munging to pack the bitmap costs CPU time in exchange for lower memory usage. OTOH, the improvement in cache hit rate may make up for it.

    You can calculate an upper bound on the magnitude of the n'th prime, so you could just replace my sneaky ;-) choice of count with that.

  19. Re:functional algorithms on Purely Functional Data Structures · · Score: 1

    I'm too lazy to type it in slashdot, but I put the C version here. It seems to be slightly worse than O(n). Actually, I think I might be able to do better in Haskell using a list of the composites instead of the primes, since those can be generated as a list of multiples instead of using the modulus.

  20. Re:functional algorithms on Purely Functional Data Structures · · Score: 1
    Actually, I adapted the Haskell code from someone's thesis about stream (i.e. lazy list) algorithms, in Scheme.
    (define (sieve stream)
    (cons-stream
    (stream-car stream)
    (sieve (stream-filter
    (lambda (x)
    (not (divisible? x (stream-car stream))))
    (stream-cdr stream)))))

    (define (integers-starting-from n)
    (cons-stream n (integers-starting-from (+ n 1))))

    (define primes (sieve (integers-starting-from 2)))
  21. functional algorithms on Purely Functional Data Structures · · Score: 1
    I wrote a Sieve of Erasthones program in Haskell yesterday, and although it's amazingly short, and easy to understand (after you get your head around infinite lazy lists ;-), it's also terribly inefficient (big O-wise, it seems), at least compared to a version I wrote in C. I think it would run faster if I let the garbage collector use more memory, but I haven't looked into that.

    So, functional programmers, how to improve such a program without simply mimicking the imperative version?

    import System
    import Numeric

    x `divides` y = y `rem` x == 0

    sieve :: [Int] -> [Int]
    sieve (x:xs) = x : sieve [y | y <- xs, not (x `divides` y)]

    primes = 2: sieve [3,5..]
    -- sieve [2..] would also work

    main = do args <- getArgs
    let count = fst (head (readDec (head args))) in
    putStr ((show (take count primes)) ++ "\n")
    Slashdot ate my spaces.
  22. Re:3.1 StRd on Study Recommends Gnumeric Over MS Excel · · Score: 2, Interesting

    It looks like Gnumeric improved or stayed the same on every data point except Pidigits, Numacc2, and Origin1 (whatever those are). Note that the LRE is the negative of the log of a value less than one, so a larger LRE means a smaller relative error. It's just the number of digits that agree with the correct answer. Really bad values would even have a negative LRE.

  23. Re:Um, yeah on Is Open Source Fertile Ground for Foul Play? · · Score: 1
    Please cite some specific examples Mr. Jones.
    Not quite an example, but actions taken by the mICQ author really upset some people. He made mICQ build and work on the Debian maintainer's machine, but then fail on users' machines, and the change was made in a nice obfuscated manner. A fair number of users will probably not trust his code in the future.

    Although the Debian maintainer certainly shares some responsibility for not noticing the change.

  24. Re:Programming or CompSci on Learning Computer Science via Assembly Language · · Score: 1

    It's a little difficult to ask google about something which consists of just a letter and an asterisk, with no context, even if you know it's pronounced "a star." Unless you know something about google I don't...

  25. Re:Excuse me but... on MIT Technology Review Slams IPv6 · · Score: 3, Informative
    I think that timothy must've posted this without reading the article itself -- or I've read the wrong article -- but the article author _NEVER_ says 'untested and therefore insecure'....
    Not in those exact words, but he pretty much does. From the article:
    Yet another problem with IPv6 has to do with all of the impending security problems it will cause.... But what IPv6 boosters won't tell you, unless you press them, is that every new IPv6 nameserver, Web server, Web browser, and so on has new code--code in which security problems may lurk. Indeed, security problems with new protocol implementations are to be expected. And while some issues have been found with these new IPv6 servers, more are sure to be discovered.
    Page 2. Personally, I read the article as rather alarmist. I also find it rather unlikely that the use of NAT is currently a serious impediment to file-sharing, so I don't see the RIAA becoming concerned about IPv6.