Slashdot Mirror


User: yerricde

yerricde's activity in the archive.

Stories
0
Comments
9,628
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 9,628

  1. inline on What is Well-Commented Code? · · Score: 1

    I discovered the hard way that sometimes a call to a routine is actually larger that the code for the routine itself, at least using code warrior for the palm.

    Does your compiler support the 'inline' keyword? If you are using C++ or C99, it supports 'inline'. If you are using 1990's C in a recent compiler, it probably supports 'inline' as an extension.

  2. Never? Not even on an embedded system? on What is Well-Commented Code? · · Score: 1

    In fact I never create a new function/method if it's only going to be called from one statement.

    Never? What about interrupt handlers, or other callback functions? Those are only going to be called from one statement, inside another function. And what if an embedded system (such as Game Boy Advance) has an area of slow memory and an area of fast memory? Sometimes, you want your main game loop to be in slow memory, with certain inner-loop functions (the audio mixer, etc.) in fast memory.

    I've seen functions broken up like this where a subfunction is called within a loop, which demonstrably sucks CPU cycles (pushing and popping registers over and over again is no way to optimise).

    Many architectures (x86, arm, mips) place the first four arguments in registers anyway.

  3. .org doesn't necessarily mean non-profit on File Swapping and the Analog Hole · · Score: 1

    > .org's are supposed to be "non-profit!"

    Like slashdot.org?

    The .org domain is not restricted to non-profit organizations. The original domain rules stated that any "organization" could buy a .org domain. Besides, even if .org were reserved for non-profits, do you see profit here?

  4. Use WINE on Linux Beta Kernel 2.5.16 Out · · Score: 1

    Does Linux support Windows yet?

    Using the WINE binary compatibility layer, an x86-based GNU/Linux system running an X11 server can run many applications designed for Microsoft Windows.

  5. Sega Genesis emulators on Linux on Linux Beta Kernel 2.5.16 Out · · Score: 3, Interesting

    Does Linux support blast processing yet??

    "Blast Processing" is the name of the sprite engine that Sega used in Sonic 2 and Sonic 3 for Sega Genesis. Here are some Genesis emulators for UNIX and Linux systems. DGen is pretty good.

  6. Hindsight on Review: U-571 · · Score: 1

    What's next a review of Episode IV? :)

    Actually, in a couple years, after Ep3 comes out, I'd like to see Slashdot review episodes 4 through 6.

  7. Mac OS X costs $800 on Personal Finance Software for Unix? · · Score: 2

    I run Quicken on Unix. I use Mac OS X.

    So you use Mac OS X. That operating system may implement most of the Single UNIX Spec, but I don't see it listed as a UNIX system.

    Either way, I don't see "go out and buy a Mac" as a cost-effective solution to the personal finance software problem. The original poster (pstreck) mentioned Wine, implying that (s)he used an x86 computer. For the price of Mac OS X (and its $799 hardware key), pstreck could just go out and buy a hard drive and a copy of Windows XP Professional and install Quicken on that.

  8. Admin a CPU by hot-swapping it on Transmeta Meets Blades · · Score: 4, Interesting

    could someone explain how a microprocessor is administered?

    In a large cluster, the question is not whether a processor has failed, but how many have failed. Such clusters generally make it possible to swap out a failed processor while the program is running. Chips that last longer will reduce the dependency on expensive technicians to keep coming in and swapping in new boards.

  9. more like Precious Moments on Transmeta Meets Blades · · Score: 1

    Does that mean that we need to evolve even bigger heads with visible veins for cooling to go beyond our current capacities? I'm thinking about Uncle Scrotor from This Island Earth, as seen in the MST3K movie, of course.

    No. The veins will probably not be too visible; otherwise, a blow to the head would be more likely to draw blood. The influence of maternal instincts will demand cute babies. I predict that by the year 802701, humanity will have evolved into at least a race that looks like Precious Moments people. (I'm not entirely sure whether, as H. G. Wells predicted, there will exist another parallel lemur-like race that lives underground and eats the PM people.)

    Mu-tant upgrades for all! Leaves only the fresh scent of pine!

    Or, after too much mutation and crossing over, pine and human genes come together and create a little wooden boy.

  10. Your BSD Is Dying parody forgets WinMX on BMG to Purchase Napster · · Score: 1

    Your parody of the classic "BSD Is Dying" story forgets 1. that Morpheus is now part of Gnutella, and 2. that WinMX has become exceedingly popular because it's essentially the same as the old Napster, but completely decentralized.

    BMG who sell another troubled OS.

    What the?

  11. Sonny Bono kills your argument on Creative Commons · · Score: 1

    copyrighted works will expire after X years after the issuing of copyright

    Yes, but if X increases at the approximate rate of one year per year (as has happened in 1976 and 1998)...

  12. (OT)In defense of Quayle on Ultra Efficient Chip Cooling Passes Boeing Tests · · Score: 1

    I presume that you spell potato this way since your former VP did...

    Myth. Fact is that former US VP Dan Quayle was substituting for a school teacher who had made out a spelling lesson plan with a mistake. Quayle merely followed the plan.

    To summarize: British "chips" == American "french fries." American "chips" == British "crisps." Geek "chips" == semiconductors. BUT notice that Pringles® potato crisps are called "crisps" worldwide.

  13. (OT)Gemdrop == Magical Drop? on Atari Announces an Official Portable 2600 System · · Score: 1

    Is that Gemdrop game anything like Magical Drop for Neo-Geo?

  14. Genesis pads work in VCS on Atari Announces an Official Portable 2600 System · · Score: 2

    Both joysticks for my 2600 are pretty much dead

    Joypads designed for the Sega Genesis console will work in an Atari 2600 console.

  15. Or use sampling like ASCAP does on Kazaa, Verizon Propose Compulsory Music Licensing · · Score: 2

    The fair way would be to track what people are downloading, and dole out the money proportionally based on that

    The American Society of Composers, Artists, and Publishers solved this scaling problem a long time ago. ASCAP takes a 24-hour sample of each radio station's airplay. Not all radio stations are monitored at the same time.

    Kazaa and Verizon could do something similar, by setting up some high-capacity super-nodes and logging all downloads started through those super-nodes. It wouldn't catch all downloads, but it would catch a significant sample from which Kazaa could compile relevant statistics and cut checks to ASCAP, SESAC, and BMI.

  16. library on Building String Instruments with No Strings? · · Score: 1

    that's the kind of unnecessary complexity

    Which is why you wrap string operations in a library. In C++'s case, this library is called STL.

  17. I've addressed this issue in Meta on Apple Introduces Xserve Rackmount Servers · · Score: 1

    I've addressed this issue in the Slashdot Meta-Discussion.

  18. Product placement in video games on AOL-Time/Warner's PVR to Skip Ad-Skipping · · Score: 1

    At least they don't put advertisement in the middle of your video-game playing... yet...

    I take it you've never played any of the Ninja Turtles games. In particular, TMNT 2 for NES had "Pizza Hut" all over it. More recently, Dole (banana company) sponsored Sega's Super Monkey Ball.

  19. Rotating media on Hard Drive Performance - ATA100 vs ATA133 · · Score: 2, Informative

    Perhaps it is simple a case of the technology being too young to actually realize the 33% expected increase in performance

    The sustained transfer rate of a hard disk cannot exceed the amount of data per cylinder times the rotation speed of the platter. In addition, HD designers are not easily going to overcome the fact that it takes a while to move the head from the inside to the outside of the platter.

  20. Motion blur on Best Mouse for Precision Gaming? · · Score: 1

    130fps on a monitor refresing at 60Hz? Every second frame gets chucked.

    Or blended. Some games can use the OpenGL accumulation buffer to render several frames and provide a motion-blur effect that tricks the eye into seeing twice the FPS.

  21. Robert O'Toole ("root") is taken on User Naming Practices? · · Score: 1

    And then I'd change my name to Robert O'Toole.

    Taken by a lawyer.

  22. You can change the font with TED on Music Meets Steganography · · Score: 1

    That is very cool, i'm impressed. The output looks like something an old dot matrix would have made. Am i right in looking at it that the text is made up like that, where each 'row' is a sin wave at some frequency?

    Correct. Look at the source code (in the zip file) to see how I did it. You can also use TED to edit the font if you want.

  23. Inverse MDCT will do it on Music Meets Steganography · · Score: 1

    I always wondered if it would be possible to do the opposite of a spectrograph.. take an image and convert it to a sound... I guess it is!

    It's actually quite easy. Do the inverse MDCT (modified discrete cosine transform, an equation similar to the discrete Fourier transform) on each column of pixels.

    If you want to put textual messages in a spectrogram, you can use this app.

  24. You may be right on Music Meets Steganography · · Score: 1

    Christian Music will have crosses, doves, and christian fish encoded into the signal, which will probably improve the music.

    You could very well be right. Simple geometric figures, such as a cross made of band-passed noise, can be used as percussion, and a line drawing of a dove can easily be hidden in a bird call (heh).

    but that, when translated to mp3, will crash your computer.

    Not possible unless a buggy MP3 encoder passes such a file to a buggy MP3 decoder. Well-written codecs don't crash.

    But you left one out: Cheesy electronic music will have the printed source code for a CSS decoder.

  25. Use 64 kbps on Music Meets Steganography · · Score: 3, Informative

    What ripping quality would preserve the face?

    Steps used in Cool Edit Pro with Fraunhofer plug-in:

    1. Rip CD
    2. Trim to face only (the face looks strange in a linear spectrograph such as the one in Cool Edit)
    3. Convert to Mono
    4. Save as Fraunhofer MP3 at 64 kbps
    5. Open MP3 in Winamp
    6. Turn on Nullsoft Tiny Visualizer and play the MP3. The face is preserved, but unfortunately, Winamp's spectral display is linear too.

    Anybody have a good link to a spectrograph program that uses a logarithmic frequency axis?


    --
    DeCSS hidden in a song's spectrogram