Slashdot Mirror


User: DubThree

DubThree's activity in the archive.

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

Comments · 11

  1. Re:one question on Ask Slashdot: How To Avoid Working With Awful Legacy Code? · · Score: 1

    I agree. Just like in life you learn from your own mistakes and the mistakes of others. Many times I want to just rewrite the code from scratch because I think it will be faster, but in doing so I would miss opportunities to learn from others mistakes. If I make the same mistake myself, then I haven't learned and it is my fault. If I don't give myself the opportunity to learn from it then I'm more likely to repeat the error or something similar. Anyone that thinks that won't work on the code of others is someone that thinks that their shit doesn't stink. I would not consider hiring them to work for me.

  2. Re:The nice thing about Python on Book Review: Head First Python · · Score: 1

    Let me preface this by saying that I love Python and it is currently my language of choice for doing almost everything (I prefer C for things that need to be really fast). I have an anecdote regarding a whitespace issue. I had an infinite loop that was supposed to sleep after it did the work if there was work to do. The sleep was there, but it was off by one indentation so the program was consuming 100% CPU, think: {some arbitrary code...} while True: if condition: do something elif condition2: do something2 else: do something3 # if conditions aren't met sleep until there is work to do sleep interval So the sleep was in the else block causing the program to rip through CPU (fortunately there were 4 on the machine, so it was really only 25%), but the point is that things like this can be hard to see. This is a perfect example of trade-offs, IMO. You either have to deal with the scoping with extra parenthesis or you have to pay more attention to the indentation.

  3. In other news... on Fox Sues Dish Over "Auto Hop" Ad-Skipping Feature · · Score: 5, Funny

    Fox has filed suit against all electronics manufacturers that have installed a fast-forward function on digital media playing device. Audio cassette manufacturers must remove fast-forward and rewind capabilities because users could skip a recorded radio broadcast commercial by flipping the tape, rewinding, then flipping the tape again.

  4. Where's my f*#%&$ birthday? on Christmas Always On Sunday? Researchers Propose New Calendar · · Score: 1

    My birthday is May 31 which is eliminated from this calendar. I could just shift it to June 1 or I could count the days from the first day of the year and use that. Oh, and I would feel bad for all of those kids born on Xtr 1-7. What a joke.

  5. They're not using the spider's bite as therapy... on Brazilian Spider Bite May Become the Next Viagra · · Score: 1

    ... but studying the effects of its bite to perhaps create drugs for those that don't respond to normal therapy. I couldn't help but respond after reading all of these comments. I thought they were in jest at first, but now I'm convinced that they were serious responses.

  6. Re:Don't Be Too Proud Of This Technological Terror on The Tipping Point of Humanness · · Score: 1

    Good point. It's not exactly apples-to-apples. But people wouldn't have been nearly as impressed with LOTR had the CGI characters been of Polar Express caliber.

  7. LOTR on The Tipping Point of Humanness · · Score: 2

    "It may also explain why so many people hated The Polar Express."
    It may also explain why so many people loved the LOTR trilogy (Gollum).

  8. I wish... on Placebos Work -- Even Without Deception · · Score: 1

    ... I could find a doctor to prescribe me some placebo narcotics.

  9. Re:Answers. on Is Net Neutrality Really Needed? · · Score: 1

    But the problem with having regulation is that, eventually, the "keeper of the net" will become corrupt and find ways to control the flow of data and get rich doing so or worse yet be controlled by the government.

  10. Re:Why do they need to do traffic shaping? on Is Net Neutrality Really Needed? · · Score: 2

    I think you've nailed it. It pisses me off when I get poor quality on Netflix, but a speed test puts me at over 20 Mb/s. I'm thinking about switching from Comcast to a competitor because I know they're throttling Netflix. Let's let the free-market solve the problem.

  11. Re:Go electronic! on Banknotes Go Electronic To Outwit Counterfeiters · · Score: 2

    Have you ever tried to pay for crack-cocaine using a credit card or your PayPal account? It's tough. I've got to use banknotes or food stamps.