Slashdot Mirror


User: david_thornley

david_thornley's activity in the archive.

Stories
0
Comments
26,427
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 26,427

  1. Re:Javascript on Ask Slashdot: What Are Some Bad Programming Ideas That Work? (infoworld.com) · · Score: 1

    You misspelled COBOL.

  2. Re:The Bubble Sort on Ask Slashdot: What Are Some Bad Programming Ideas That Work? (infoworld.com) · · Score: 1

    If you need a way to reliably sort a small list in C++, I recommend std::sort. It works, and on a small list it rarely matters what algorithm is used. If you need more performance or have some reason not to use the library sort, try insertion sort, which is usually better than bubble sort.

  3. Re:The Bubble Sort on Ask Slashdot: What Are Some Bad Programming Ideas That Work? (infoworld.com) · · Score: 1

    Which is still not an excuse to use bubblesort, since insertion sort is usually better.

  4. Re:Good enough that people won't stop doing it... on Ask Slashdot: What Are Some Bad Programming Ideas That Work? (infoworld.com) · · Score: 1

    Agile and scrum have definite advantages when done right (and what's right for one team won't be right for another) when requirements change. Continuous integration is useful, provided it doesn't take up too many resources. Devops look like they could be useful in other contexts. I'm not going to comment on server-side JS. Giving root access widely is almost certainly a bad idea. Microsoft does some good stuff and some bad stuff, and if you're deploying on Windows there's much to be said for Visual Studio.

  5. Re:Shying away from OOP(s) on Ask Slashdot: What Are Some Bad Programming Ideas That Work? (infoworld.com) · · Score: 1

    I've rarely seen overloading used to be clever, and the times I have (or have heard of it) strike me as projects that needed adult supervision. In one case, I couldn't understand how the team ever got shippable code.

    There's a fair amount of overloading in our code, since we use geometrical constructs. Points work better with operator+(), for example.

  6. Re:Domain modelling [Re:Shying away from OOP(s)] on Ask Slashdot: What Are Some Bad Programming Ideas That Work? (infoworld.com) · · Score: 1

    We have some very successful inheritance hierarchies that model certain domains. Of course, we try to figure out what will work best and aren't afraid to refactor if we need to.

  7. Re:Shying away from OOP(s) on Ask Slashdot: What Are Some Bad Programming Ideas That Work? (infoworld.com) · · Score: 1

    The goal should always be to produce less code

    No, it shouldn't. That way lies APL.

  8. Re:Bad, you want bad: on Ask Slashdot: What Are Some Bad Programming Ideas That Work? (infoworld.com) · · Score: 1

    C++ template programming is infinitely efficient at runtime.

  9. I assure you that injuries sustained when somebody else is in the wrong hurt also. I'd much prefer to not have an accident than to have one that's somebody else's fault.

  10. Re:There goes the Canada option... on Canadian Fined For Not Providing Border Agents Smartphone Password (www.cbc.ca) · · Score: 1

    I sincerely hope you're trolling here.

  11. Re:There goes the Canada option... on Canadian Fined For Not Providing Border Agents Smartphone Password (www.cbc.ca) · · Score: 1

    They aren't. You know the ones who said they'd leave the country if Obama was elected? I'm still waiting, guys.

  12. Re:Canadian Border Guards... on Canadian Fined For Not Providing Border Agents Smartphone Password (www.cbc.ca) · · Score: 1

    Shortly after we got married, we were coming back from Canada, and the customs agent asked my wife her name, which (being a little nervous) she got wrong, immediately correcting herself. Then the agent asked the dread question "Where are you from?" My wife traveled around several states when growing up, and the question is a bit ambiguous, so she gave more than one answer. Fortunately, the agent asked everyone else in the car, got consistent responses, and let us go.

  13. Re:Free Speech Must Be Stopped!!! on Former Twitter Employees: 'Abuse Problem' Comes From Their Culture Of Free Speech (buzzfeed.com) · · Score: 1

    Good imagination there. In fact, there are lots of people publicly saying things I deplore without being kicked out from wherever they are.

  14. Re:Free Speech Must Be Stopped!!! on Former Twitter Employees: 'Abuse Problem' Comes From Their Culture Of Free Speech (buzzfeed.com) · · Score: 1

    I don't get this. Free speech is where you can say what you want. To me, it does not imply that anyone needs to have to listen, or that anyone needs to help disseminate the speech. If you start saying certain things in my house, you will be asked to leave (if necessary, several times with diminishing politeness). That isn't restricting your speech, because you can keep saying whatever you like, just not in my house.

    There is indeed a problem with services like Facebook and Twitter, but I don't see that as a free speech issue. I'm always welcome to set up my own website and publish what I want.

  15. Re:Dumb on Has The NSF Automated Coding with ExCAPE? (adtmag.com) · · Score: 1

    There's no difference between what you can compute with one single processor and many parallel ones, although it's likely to affect the performance. A computer can simulate any physical (and hence any biological) process arbitrarily closely, although the performance difference can be extreme. If strong AI (behavior that apparently involves human-level intelligence) is possible for a biological machine, like a brain, it's possible for a computer.

    The arguments against AI entities generally assume that the behavior may be possible and explain why it isn't real intelligence or whatever.

    There's also the fact that it took Nature hundreds of millions of years to kludge up human intelligence, and it's not going to be easy to replicate.

  16. Re: Wrong again on Linux Developer Loses GPL Suit Against VMware (itwire.com) · · Score: 1

    I can make copies of the source code without accepting anything. I can't do it legally, but what happens is that I've copied without a valid license, as opposed to accepted a license and violated the terms.

  17. Re: Wrong again on Linux Developer Loses GPL Suit Against VMware (itwire.com) · · Score: 1

    This also means that the damages and penalties possible are those for copyright infringement, which means nobody can be forced to release their work under the GPL because they derived it from GPLed code. They can face monetary damages and be hit with injunctions in the US, but that's the extent of it.

  18. The unobtainium was buried underground. I have no idea what was in those floating mountains, but it was evidently of no particular value since nobody was trying to exploit them.

  19. We presumably could build faster aircraft today if we wanted, but we seem to have arrived at speeds that aren't practically useful.

    Warship top speed roughly peaked around WWII, after which high speed became more the domain of aircraft and became less useful tactically. Aircraft speed peaked later, but world air forces generally stopped being interested in really high top speeds (with exceptions like the MiG-25 and the SR-71), and (last I looked) were more interested in making planes do things better at supersonic speeds.

  20. Re: interstellar mission on Astronomers To Announce Discovery of a Nearby 'Earth-Like' Planet (seeker.com) · · Score: 1

    Which requires precision bouncing of lasers at a distance of over 4 light-years. Assuming we have powerful lasers with tight beams at that distance, we'd blast the separated sail way away from the rest pretty fast. All of the fancy laser targeting has to be done over 8 years before we know what's going on. I have my doubts.

  21. Re:Nice Clintonian answer. on Assange Implies Murdered DNC Staffer Was WikiLeaks' Source (washingtonpost.com) · · Score: 1

    Incessant accusations that turn out to be baseless don't make any bad things said about Clinton any more true. I see reason to suspect a conspiracy, but it could as easily be a large number of liars acting in concert without coordination.

  22. Re:Wait for the conspiracy on Hack of Democrats' Accounts Was Wider Than Believed, Officials Say (nymag.com) · · Score: 1

    That gets into interesting speculation.

    Hitler's main wartime goal was to get territory in the East, and this meant fighting the Soviets sometime. In 1941, the Soviet armored formations were scheduled to get some serious training, and since there were about 40 Soviet tank divisions that could have had a big difference on the war. Hitler also thought that the Soviet Union was a lot more fragile than it was, since what the Germans did in the first few weeks of Operation Barbarossa was more decisive than the WWI actions that cause the fall of the Tsar.

  23. Re: Clintons have killed tons of people on Assange Implies Murdered DNC Staffer Was WikiLeaks' Source (washingtonpost.com) · · Score: 1

    Snopes found a certain article, and took it apart piece by piece. They went into details of what happened, and appear to have reached the same conclusions that you did. Snopes did not claim that the pull-over was from a broken tail light, and the only explanation they gave was that Castile resembled a robbery suspect. I find it very odd that you think Snopes was deficient in not debunking every false claim made, when they provide a clear picture of what happened and why we know this.

    The important point in this case is that nobody has supported a claim that Castile did anything wrong, and he wound up shot to death, not why he was initially pulled over.

  24. Re:Russians really hate Hillary on Assange Implies Murdered DNC Staffer Was WikiLeaks' Source (washingtonpost.com) · · Score: 1

    I haven't seen ample evidence that Hillary is doing seriously wrong things that holds up under examination.

  25. Re: Clintons have killed tons of people on Assange Implies Murdered DNC Staffer Was WikiLeaks' Source (washingtonpost.com) · · Score: 1

    Okay, I know your ability with logic, if anyone who makes money on speaker fees have obviously abused political office.

    Ordinary citizens who were accused of what the Clintons have done with the same level of evidence would have no legal problems, unless someone sued for actions that don't actually constitute sexual harassment legally. Someone who did something like Hillary did with the email server might lose a security clearance and/or get fired, but jail would not be in the picture. If you disagree, please find an example of someone who has done what one of the Clintons has, without exacerbating circumstances that don't exist in the Clintons' cases, and show the jail time.