Slashdot Mirror


User: Bill+Dog

Bill+Dog's activity in the archive.

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

Comments · 869

  1. Re:People hate my gotos on Beautiful Code Interview · · Score: 2, Interesting

    He said in the middle. Some sanity checks up-front that kick out on failure are permissible, beauty-wise. Just no returns in the middle of the function's main processing.

  2. Re:and if you have a slashdot account on Charging the Unhealthy More For Insurance · · Score: 2, Funny

    There's only one solution: Anti-grav boobs.

  3. Re:and if you have a slashdot account on Charging the Unhealthy More For Insurance · · Score: 1

    They give you this monopoly money for doing healthy stuff, getting checkups, and generally keeping in good condition. You can later redeem the fake money for real stuff like merchandise and vacations.

    How about junk food?

  4. A better question might be... on Monkeys and Humans Learn the Same Way · · Score: 2, Insightful

    ...what would you do if you held a flame war but no one came? Only 62 posts all day. Surely this featured on the front page was supposed to elicit hundreds of "evolution is fact", "no it isn't", "yes it is" back-and-forths. Predictably, a couple of commenters even dragged Dubya and Republicans into the "discussion", and still no sparks. As unlikely as it may have seemed, I think even the masses of dullards here might be starting to catch on to what's going on, that they're being played. If we just stop taking the bait every time, maybe we'll start getting a more interesting selection of stories.

  5. Re:GoF is a classic, of course.... on The Design of Sites, Second Edition · · Score: 1

    He must be either a dynamic typing zealot or a C++ hater. The GoF book, for those who don't know, has its examples in C++ and Smalltalk. I vaguely recall there being an occasional comment stating when one of either the class or object version of a pattern had an implementation in C++ but none was required in Smalltalk, due to its choice of typing approach.

  6. Re:Speed in options parsing? on Don't Overlook Efficient C/C++ Cmd Line Processing · · Score: 1

    Of course Java doesn't solve all programming problems, but it does solve the buffer overruns, dangling pointers and arbitrary code execution problems which plague C/C++.

    There is no "C/C++" programming language. C++ solves those with STL containers, references, and smart pointers. C++ also solves the Java problems of forgetting to release resources other than memory, such as a database connection, with its deterministic destruction and RAII idiom. So, in order of safety, from worst to best, it's C, Java, and then C++.

    To be fair, however, I must say, an awful lot of C++ programmers program it in the C way. That is, while there's really no "C/C++" programming language, tons of people nevertheless are basically programming in it! And do indeed experience all the problems you mention.

  7. Re:More Smug to come on Toyota Unveils Plug-in Hybrid Prius · · Score: 1

    And some people bought big-ass SUV's because they genuinely needed them. Doesn't change the fact that most SUV purchases of the last 10 years were probably mostly for fashion. Like purchases of hybrids today.

  8. Re:8 miles? on Toyota Unveils Plug-in Hybrid Prius · · Score: 1

    You must be referring to: "The internal combustion engine does not have any mechanical linkage to the wheels (unlike current vehicles such as the Toyota Prius), and it can run at a constant rpm for optimal efficiency." Just an optional backup generator for the batteries (if you have to travel more than 40 miles between electrical sockets), but an all-electrical drivetrain. Very cool.

  9. Re:8 miles? on Toyota Unveils Plug-in Hybrid Prius · · Score: 1

    "Hybrid" is a concept that needs to die.

    I don't know when, but exactly right -- hybrids are a temporary stopgap measure, but definitely not the end goal/where we want to land and stay for a while. Too bad Toyota doesn't understand this -- they're going full-bore for hybrids, planning by 2020 to have hybrids as the standard drivetrain and account for 100% of their cars. I sincerely hope before 2020 we've moved to a new fuel source.

  10. Re:honda has done much better than 40mpg on Toyota Unveils Plug-in Hybrid Prius · · Score: 1

    IMHO, the automakers would rather work with the oil companies to screw us all, than lighten our dependence on teh petroleum.

    A buddy of mine drives one of those 53/58 city/highway MPG Geo Metro HFI's or whatever. And they were cheap to buy, too, in their day. It's just that the automakers have figured out that they can charge a premium for high fuel economy. It's a "luxury" now. Hey, why not, if people think it's acceptable to pay two thousand dollars for a television these days, why not soak 'em when they come in to buy an economy car.

  11. Re:Please explain on Toyota Unveils Plug-in Hybrid Prius · · Score: 1

    1) Not all places are stressed at peak loads. California is one, but they are pretty much in the minority.

    Okay, but it would suck if the designers took that view and allowed an electric car to be designed and built that couldn't really work (as a commuter car) in California. There's a lot of drivers in this state, and especially in the valleys of Los Angeles, non-polluting cars are really badly needed.

    2) The prime charging time for these vehicles will be AT NIGHT, when the loads are at their least.

    But if we're really talking only 8 miles or so per charge, the prime charging times will be:
    1) At night,
    2) Late morning, after commuting to work (a socket at each parking space), and
    3) Early afternoon, after coming back from lunch.

  12. Re:I don't think it's that simple on Federal Science Gets More Politicized · · Score: 2, Insightful
    The point being that when you impatiently and foolishly expend your entire arsenal of levels of objection all in one shot, jumping right to the terms that denote the farthest extreme, complaints lose all potency. Talk with your rhetoric at 11 all the time and people stop paying attention, so you hurt your own causes.

    As to your point, wikipedia's explano seems as good as any:

    The term Axis of evil was used by United States President George W. Bush in his State of the Union Address on January 29, 2002 to describe governments that he accused of sponsoring terrorism and seeking weapons of mass destruction.
    A far cry from plastering the label on anything and everything that one doesn't like. Each side is never going to like what most of the other side does when they're in power. But one side consistently goes off-kilter in the verbiage department. The Right doesn't like Pelosi or Reid or a whole host of other left-wingers and what they do and say, but they're not called "evil", or compared to Hitler.
  13. Re:Surprised? on Federal Science Gets More Politicized · · Score: 1

    Those who do not understand history are not only doomed to repeat it but to also end up thinking that their times are somehow unique.

    And the "Bush is worst president evar" crowd asks that you please not spoil it for them. They're perfectly happy in their anger, thank you very much.

  14. Re:I don't think it's that simple on Federal Science Gets More Politicized · · Score: 1

    Evil is rarely a useful adjective.

    Only because it's been overused by the Left. Along with "draconian", and "Hitler", etc. Such words/objects of comparison used to have very distinct meanings. Sadly they've been reduced to little more than codewords of the Left for simply "me no like".

  15. Re:In related news... on Federal Science Gets More Politicized · · Score: 1

    And then at 11, stay tuned for our in-depth news special where we amaze and mystify our viewers with the fact that it is politicians who are to set policy, such as federal agency regulations, not scientists.

  16. Re:There's nothing worth watching on TV. on Will MySpace Disrupt Television? · · Score: 1

    There's nothing worth watching on TV because Murdoch owns a lot of the airwaves.
    Well at least one monkey took the bait. But apparently very few -- only ~70 posts in 4 hours on the front page. That "nobodycares" tag seems about right.

    But nice troll posting anyways, Slashdot Editor. And nice Fox News -like/sensationalism-flavored headline and closing line of the article summary: "Will MySpace Disrupt Television?" "How far can he [Murdock] take this -- and what will be the result?" I don't know, you tell me. I come here for news, not questions. If you don't know, then come back when you do. Stop trying to waste my time with inflammatory maybes.
  17. Re: Uninformed posts about leaving tabs open.. on New Web Metric Likely To Hurt Google · · Score: 1

    They should measure in some "standard session timeout value" units (with sites that use other timeout values scaling their results to it), say 20 minutes each, instead of minutes, since that's the actual granularity. Otherwise if it was just in minutes of session held, sites would set them to not expire for days on end.

  18. Re:Huh? on Bush Commutes Libby's Sentence · · Score: 2, Insightful

    From the perspective of how they differ, they're strikingly different. From the perspective of how they're the same, they're dangerously the same. For law and order, for the good of the country, we don't want people thinking that it's okay to lie under oath for any reason. First someone justifies it in their head and tries to get away with it by saying to themself it's only about sex. Then someone comes along and does the same thing under the excuse that it's only about politics. What we can't have is people deciding for themself that it's okay to deceive investigators over whatever issue(s) they feel like. Else why bother having investigations.

  19. Re:PARIS GOES TO JAIL on Bush Commutes Libby's Sentence · · Score: 1

    Yup, Bush should have commuted Paris' sentence as well. Just say no to unfair sentences. We're supposed to have equal protection under the law, which does not include "making an example" of someone by treating them more severely than others in similar circumstances. Judges are so fucked up these days, it appears that in addition to minimum sentencing standards, we also need maximum sentencing standards.

  20. Re:about Penguins on Giant Penguins Once Roamed Peru · · Score: 5, Funny

    I'm the other leading expert. All penguins do is waddle and shit.

  21. Re:Practically Silent = Damn Dangerous! on The Quest for the Car of the Future · · Score: 1

    Remember the Nazi fighter planes in WWII ?

    A little too young for that. Good point, tho (consider creating an account). Large delivery trucks emit that obnoxious beeping sound when they're in reverse gear. Maybe something like that, altho it would have to be for the forward gears as well. But that beeping is irritating -- maybe instead use ice cream truck music! :)

  22. Re:Practically Silent = Damn Dangerous! on The Quest for the Car of the Future · · Score: 1

    Yup, I almost got run over by the Prius next me, backing out of a parking spot as I was loading groceries into my (loud-ass) car. Societally we're going to have to un-learn our partially relying on being able to hear the cars around us, like we had to un-larn pumping the brakes when anti-locks went mainstream. Expect some carnage, in the meantime.

  23. Re:first post niggas! on Hilarious Antique IT Advertisements · · Score: 1

    Slashdot is treated by most people as a virtual dumpster. They come here to throw in garbage. It's just that some garbage is more popular than others. The GNAA posts serve no purpose, but then neither do all the irrational, repetitive anti-MS, anti-Bush, anti-younameit rants, of which there are a thousand times more of. At least the former category can be filtered out, but the multitudes of the latter cannot, because they get modded up. In summary, "hey I'm frosty piss" posts are worthless, and the GNAA posts are worthless and hurtful, but they are the least of this site's neuroses.

  24. Re:Don't Forget on More Guitar Hero 80s Tracks Announced · · Score: 1

    Heh. Or "Knockin' on Heaven's Door" by Guns N' Roses.

  25. Re:Comments are a code smell. on How to Keep Your Code From Destroying You · · Score: 1

    Not all intents can fit in a reasonably sized function name.

    Then the function is doing too much. A function should one thing. Refactor for higher cohesion.

    Comments are to be avoided unless absolutely necessary, for the same reason, for example, that you don't sprinkle the literal value of a buffer size throughout your code, you define it in one place, so that it's not even possible for things to get out of sync. The code is the authoritative set of documentation. A parallel set that low-level is an invitation to confusion after a period of maintenance. Not understanding the drawbacks of comments is a sign of a below average programmer.