Slashdot Mirror


User: uid8472

uid8472's activity in the archive.

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

Comments · 169

  1. Re:Meta Programming Language on The History of Programming Languages · · Score: 1

    I don't think Javascript is TC.

    It most certainly is.

  2. Re:Forget Ruby. . . on iTunes 4.6, DRM, and Hymn · · Score: 1

    perl -0777 -pi.orig -e s/geID/xxID/ --, with the names of the m4a's as further arguments.

  3. Re:Room temp water cooling for processor #2 on New PowerMac G5s: Up to 2.5Ghz, Liquid Cooled · · Score: 1

    This radiator has a FAN blowing on it (as I described in my previous post). If I were to blow a fan and create a 0 degree windchill factor, would I be able to only cool the water to room temp?

    Wind chill reflects how cold the air feels to a human, not how cold the air actually is.

  4. Re:Power is not for PC on Looking Into The Power Architecture Future · · Score: 1

    Our transaction processing systems were recently moved to Java from C (Solaris on a Sunfire 6800, 8-way SPARC).

    Yes, they require more memory. This doesn't really concern us because we spend far less time tracking down dangling pointers and memory leaks now.

    FWIW, there are garbage collectors for C.

  5. Re:HTML on Programming For Terrified Adults? · · Score: 2, Insightful

    debugging is very visual and very easy.

    Debugging JavaScript? "Easy"? Yeah, and I bet there's a bridge on the East River I could be buying, too.

  6. Re:What's improved? on Mac OS X 10.4 "Tiger" Preview at WWDC · · Score: 2, Informative

    > > Garbage collection for Cocoa?

    > It's already there. It's called an autorelease pool, and it's used extensively throughout Foundation Kit.

    Er, no. Autorelease pools are nice, but they're not garbage collection. Real GC has to do with whether an object could ever be accessed, not whether it's marked as retained through manual reference-count annotations. C++ destroys non-static local variables when they go out of scope; that's not GC either.

    Now, whether Foundation/AppKit (or, really, CoreFoundation) "should" use GC instead of retain-counting is a separate issue.

  7. On my new NetBSD box: on First Ten Programs on New Install? · · Score: 1
    1. sudo
    2. zsh
    3. screen
    4. rsync
    5. perl
    6. emacs
    7. gnus
    8. teTeX
    9. gnupg
    10. gnetcat
  8. Re:mydoom source on MyDoom.C Making Its Way Across The Net · · Score: 1

    I recall reading that that actually happened many years ago, back when people would get programs off of comp.sources and such; there was one whose alleged purpose was to show a picture of a turkey on your terminal (it being close to a relevant holiday at the time), but that instead/also deleted your home directory.

  9. Re:an annoying quirk on Java SDK 1.5 'Tiger' Beta Finally Released · · Score: 1

    A friend of mine is bitching about this: if you type a list, say ArrayList, you can't use that as an argument for a function that takes a ArrayList.

    Of course not; if you could (for example) cast an ArrayList to an ArrayList, then someone could use the latter type to insert an element of class Donkey, and someone using the former type and expecting to extract an Elephant would get an unpleasant surprise. In other words, it would violate the type system. In yet other words, because ArrayList's type parameter is used in both covariant position (return value, for extraction) and contravariant position (argument, for insertion), it must therefore be invariant.

    If it were an immutable container, covariance would make sense (and likewise for contravariance and a write-only container like a typed communication channel), but I don't know if the Java 1.5 people have allowed for it.

  10. Re:Apple's in the news now... on FBI Agent Talks Crime, Macs · · Score: 1

    Show me an operating system that *doesn't* have ldd as a utility. Other than MacOS X. I know AIX, Solaris, Linux, HP-UX support that utility.

    I believe they all use ELF for their binaries. Nowadays, anyway. OS X, like NeXTSTEP before it, uses Mach-O; that it has a different set of associated tools is unsurprising.

  11. Re:They should benchmark development time on Performance Benchmarks of Nine Languages · · Score: 1

    ...static typing (as done in Java and C++) cripples your productivity.

    Fortunately, programming languages have advanced somewhat since then. In OCaml, if I declare let f x = x#quack (# being the method-call operator), then the type of f is inferred as < quack : 'a; .. > -> 'a, which is a function whose argument is an object that can quack and which returns whatever type the quack method returns. It is, of course, a type error to call f with an object that is not known to quack, and such code will not compile; yet, note the absence of any declared class or interface, or any other explicit type annotation, in the code.

  12. Re:per-process firewall on Feds Thwart Extortion Plot Against Best Buy · · Score: 1
  13. Re:See for yourself on More Details Of IBM's Blue Gene/L · · Score: 3, Funny

    My computer has 64-bit ints, you insensitive clod!

  14. Re:Distributing the Diebold memo with apt-get on Diebold Chases Links To Leaked Memos · · Score: 1

    rsync , anyone?

  15. Re:Can anybody figure out what this means? on U.S. Lists Web Sites as Terrorist Organizations · · Score: 1

    I think the legal world needs Literate Programming, then. LAWWEB, anyone?

  16. Re:Why? on Apple to Launch iTunes for Windows · · Score: 1

    I'm sure it won't be long before someone finds a workaround to extract the original AAC bitstream by leveraging Apple's own software (peeking at memory).

    If you just wanted to transcode to another format for which a QuickTime export component exists (e.g. raw AIFF, Ogg/Vorbis, ...), that can be done just with Apple's published APIs; there's even a convnient little GUI provided for selecting and configuring the export component. Of course, while one can reencode as AAC that way, the encoder that ships with QT is distinctly worse than the one they use for the iTMS originals, even with a higher bitrate, so that's not quite what you're looking for.

  17. Re:For those too lazy to RTFA on Newest Audio CD DRM Proves Ineffective · · Score: 1

    Apple was way ahead of its time here; they used the shift key as a DMCA circumvention device (hold it down during boot to disable all INITs) long before the DMCA even existed! Wow!

  18. /dev/drum on TCP/IP over Bongo Drums · · Score: 2, Funny

    This adds a whole new dimension to that old joke about /dev/drum ....

  19. Re:Reducing template bloat on Tools for Analyzing C++ Class Code Generation? · · Score: 2, Informative

    If your data type really can be static_cast'd to a void * then there's probably a much better solution to this problem in almost 90% of the cases: it's called a "better compiler".

    Alternately, it's called a vector implementation that has a partial specialization for pointers, like the example in Stroustrup.

  20. Re:Linux worms on Is Linux as Secure as We'd Like to Think? · · Score: 1

    Isn't it mathematically impossible to prove something can't be done?

    If you believe that, then find me integers p and q such that (p/q)^2 = 2.

    There's a well-known and rather old mathematical proof that that's impossible (and thus that the square root of 2 is an irrational number), but feel free to try...

  21. Re:Separate compiler from hardware? on Apple Hardware VP Defends Benchmarks · · Score: 1

    What GCC does when targeting PPC is totaly diffrent then what GCC does when targeting x86 or any other chip. The compiler 'cores' are totaly diffrent.

    Actually, a lot of the optimizations are machine-independent. Not all of them, of course, and (as I understand gcc) there are machine-dependent parameters that control whether to apply some of them, but I'd hardly call the x86 and PPC backends "total[l]y diff[e]rent".

  22. Re:Time to celebrate, everyone! on Happy Birthday, Dear DNS · · Score: 1

    First, you don't want the *. Second, it's the GTLD servers, not the root servers, that are authoritative for com., as a simple NS query will show. Thus:

    for i in a b c d e f g h i j k m; do dig @$i.gtld-servers.net com. axfr; done
  23. Re:Linux port ? on Nullsoft's Waste: Encrypted, Distributed, Mesh Net · · Score: 1

    You're trying to link C++ object files with cc instead of c++ or g++; thus libstdc++ isn't linked in and you get lots of undefined symbol errors for things like new and delete and throw. The Makefile needs to be poked at, it seems.

  24. Re:Gee Flat on Inside Microsoft's New F# Language · · Score: 1

    No, to get proper satanicness you need a tritone interval; for instance, F# to C or vice versa.

  25. Re:Ballistics correction on Old Hard Drives = Free Electricity · · Score: 1

    Dammit. I hate it when I get my ballistic knowledge from Hollywood. I guess now you are gonna tell me that I shouldn't turn my pistol sideways to get a more accurate shot like they do in all those John Woo movies.

    Well, if you got your ballistics knowledge from Unreal Tournament instead, then you'd know that turning your pistol sideways makes shots less accurate but lets you fire faster.