Slashdot Mirror


User: Carnildo

Carnildo's activity in the archive.

Stories
0
Comments
2,487
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 2,487

  1. Re:Or process it as you get it. on Funniest IT Related Boasts You've Heard? · · Score: 1

    I had to write code for a variation on this once:

    I needed a routine to find all files on the hard drive that met certain criteria, and perform a number of operations on the result. However, some of the operations in question are *very* time-expensive (several seconds per file), and I couldn't determine if the operations were needed until after finding all the files, so I had to keep some sort of record of the search results.

    Best-case and average-case scenario for the number of files was that there would only be one or two files matching the criteria, but worst-case scenario was around 5,000 files.

    The memory record size for a file was a little over 2000 bytes, so preallocating an array for the worst-case scenario would require 10MB of memory, which is not an option, since this software would be running on computers with as little as 16MB of total RAM.

    Runtime for the item-insert and item-lookup operations is minimal compared to the other operations being performed. Which data structure would you recommend: a linked list, or a dynamically-resizing array?

  2. Re:"Expert Programmer" on Funniest IT Related Boasts You've Heard? · · Score: 1

    The "malloc()" should have clued you in that he was writing in C.

  3. Re:uspto on Several Publishers Sued for Infringing 3D Patent · · Score: 2, Informative

    The mathematical perspective transforms weren't well-understood until about the 17th century. Euclid wouldn't have had a clue about this stuff.

  4. Re:Patents Run Out, Right? on Several Publishers Sued for Infringing 3D Patent · · Score: 1

    Patents are for 20 years from the date of filing, and cannot be renewed. Trademarks are ten years from the date of first use, and can be renewed every ten years after that. Copyrights are automatically granted and perpetual.

  5. Re:Please fix the summary (spam vs SPAM) on Spam-maker Hormel Spends to Reclaim Name · · Score: 1

    Actually, Xerox has had some success with its trademark. It's been years since I've heard someone refer to the act of photocopying something as "Xeroxing". Usually, it's "copying" or "making a copy".

  6. Re:Uh-oh.. on Coating Promises Scratch-Proof CDs, DVDs, LCDs · · Score: 4, Funny

    Indestructable AOL disks.. *Shivers*

    I've heard people have good results with the application of Tesla coils to the problem.

  7. Re:I've seen this before... on Gentoo Ricer Comparison · · Score: 1

    These people give detailed tutorials on how to tweak a box without actually improving performance, but wasting a lot of time in the process.

    Wasting whose time? Mine, or the computer's? My time is valuable. The computer's time isn't. If compiling with -03 adds an hour to the compile time of a program, but knocks a second off the runtime for each usage, it's worth it. Likewise, prelinking after each update may take an hour, but if it reduces load time for KDE by 10 seconds, it's worth doing.

  8. Re:Works great on Experiences w/ Software RAID 5 Under Linux? · · Score: 1

    The only drive failure I've ever had was one that wasn't predicted by SMART: the drive spontaneously lost the ability to find track 0, and consequently, the whole drive was unreadable until the controller electronics were replaced -- not a cheap operation.

  9. Re:Next project? on World of Warcraft Closed Beta Ending · · Score: 1

    Actually, there are at least three main teams--the third is in charge of issuing DMCA threats against open source projects

    Yes, but lawyers have never been very good programmers, so it's not slowing development down significantly.

  10. Re:What about... on NSA Security Guide for Mac OS X · · Score: 2, Informative

    That part was not mentioned. However, it is not a good practice to do much of anything as an administrator, so I have to wonder if this is of any use, anyhow.

    On MacOSX, running as an administrator is not the same as running as "root". On MacOSX, running as an "administrator" is more-or-less equivalent to having "sudo" privileges on a Unix box: entering your password in a security box permits you to do certain administrator-type operations for a limited period.

  11. Re:Seems like radar passes coul dprovide elevation on Titan's Smooth Surface Baffles Scientists · · Score: 4, Informative

    I am hoping that the radar data can provide the elevation data they lack from the visual stuff.

    Looking at some of the preliminary radar data (here), there's a strip 400km long, with no more than 100 meters of height variation. That's flatter than the state of Kansas!

  12. Re:*NOT* a Free Speech and/or Patriot Act Issue on Secret Service Reads Livejournal · · Score: 1

    No, it's a freedom of religion issue. She prayed that God do something for her.

    No, it's a freedom of speech issue. A prayer is between you and God. As far as I know, God does not read Livejournal postings, so this is ordinary speech formatted as a prayer.

  13. Re:Somebody will figure it out on Caller ID Spoofing for the Masses · · Score: 1

    I assume by "USSC" you mean the United States Supreme Court? The normal abbreviation for it is "SCOTUS": Supreme Court of the United States.

  14. Re:This is so stupid on New Hominid Species Unearthed in Indonesia · · Score: 2, Informative

    everyone knows the world was created 6000 years ago.

    To be precise, on Sunday, October 23, 4004 BC, at 9:00 AM.

  15. Re:Car annoyances on Car Hacks & Mods for Dummies · · Score: 1

    More importantly, does it have instructions on the installation of big-ass spoilers on Volkswagen Bugs?

  16. Re:Not all attacks can be blocked. on DDoS Extortion Attempts On the Rise · · Score: 1

    I've found that the Proxomitron works just fine under Wine.

  17. Re:You Bastards on Verizon Taking FTTP Installation Orders · · Score: 1

    Lucky! The only DSL available in this part of the United States is 768/256 for US$79.99, and because of some wiring decisions made about 15 years ago, the only DSL available at my apartment (in the heart of downtown, no less!) is 144/144 for US$150.

  18. Re:It's Mb, not MB on Verizon Taking FTTP Installation Orders · · Score: 2, Insightful

    That's still faster than the fastest cable available around here (3Mbps/256Kbps) and much faster than the fastest DSL (768Kbps/256Kbps). It's also about a third the cost of DSL and half the cost of cable.

    I just wish they were offering it here.

  19. Re:Not all attacks can be blocked. on DDoS Extortion Attempts On the Rise · · Score: 1

    I use a combination of Opera and the Proxomitron. Privoxy should be able to do this as well, or if you're feeling geeky, you could write a filtering proxy to do this using Perl's HTTP::Proxy module.

  20. Re:Hyper-Allergenic on Hypo-Allergenic Cats Now Available for Pre-Order · · Score: 4, Informative

    However, like the old saying "One person's meat is another person's poison", I believe there is a reason for such allergy symptoms (maybe telling your body to get away from that bleeming cat?), and without this warning, I wonder if the still-allergic-to-cat person will suffer from far worse sickness because one of the cat allergens wasn't identified and removed?

    An allergy, by definition, is an inappropriate immune reaction to a harmless substance. The only thing an allergic reaction is telling you is that your immune system screwed up. Again.

  21. Re:No chance... on Nuclear Rockets Moving Along · · Score: 1

    A billion dollars' worth of liability insurance isn't cheap, no matter how remote the odds of needing a payoff are. In the current political climate, if a nuclear accident happens, no matter how minor it is, the company responsible will be facing lawsuits from everyone within a hundred miles, and will be tied up in the courts for decades.

  22. Re:I wish on Nuclear Rockets Moving Along · · Score: 1
    This technology is not already doomed because of politics...
    Care to ellaborate? I actually RTFA and this technology really has strong arguments in its favor.
    It has the word "nuclear" in the name.
  23. Re:Not all attacks can be blocked. on DDoS Extortion Attempts On the Rise · · Score: 3, Informative

    You can't block incoming referrals from a particular site? I know with my website tracking software at least, it displays the referring URL. I'd figure you could set a filter based on that info... Weird.

    I know my web browser sets the referrer URL to that of the site I'm going to, and I suspect many other people do the same thing. It prevents blacklisting based on referrer, and it has the side benefit of allowing hotlinking from Geocities and other cheap hosting.

  24. Not all attacks can be blocked. on DDoS Extortion Attempts On the Rise · · Score: 4, Funny

    You can't null-route a slashdotting.

  25. Re:Why use Water?!? on Considering Watercooling Your PC? · · Score: 1

    And how much complexity does an inline deionizer add to a watercooling system? Can you fit one in the typical computer case? What about noise? How much does it cost, both initial cost and operating cost?