Slashdot Mirror


User: TuringTest

TuringTest's activity in the archive.

Stories
0
Comments
1,679
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 1,679

  1. Re:Doesn't matter in the end on Comments On Code Comments? · · Score: 1

    I think he mentioned revision control because the diffs showing how the code logic has changed should also include the diffs of updated comments to reflect those changes. Commit time is the best point to ensure that all accepted changes have been properly documented.

  2. No, ignoring the comments is sloppy. on Comments On Code Comments? · · Score: 1

    Djikstra said, "Always debug the code, not the comments". No one updates the comments. Including me.

    A guy above said that their team treats incorrect comments as a bug, and they're right in that approach. The whole point of high-level languages is to communicate with the programmer as well as with the machine; if the source code contains inconsistent instructions for the human and the computer, the program's current internal logic is flawed. Even if the binary executes without errors, changed the code won't be smooth because of those contradictions.

    While the school of 'weave' and 'tangle' from literate programming proved to be too heavyweight to be practical, the future of comments is not to ignore them, but to better integrate with the IDE. Documentation generators like Javadoc or Doxygen were a big hit because they simplified building rich sets of deep, easy-to-navigate comments. Also coding features like design-by-contract and unit testing can be thought as forms of executable comments - they don't contribute to the program business logic, but they tell the programmers about its inner stable structure.

    Programmers ignore comments not because it's the right thing to do, but because it's hard to do well. As tools for engineering comments along with code get better, we'll find programmers using them more and more during the early programming stages instead of an afterthought.

  3. +1 Insightful on Sir Tim Berners-Lee Accuses UK Government of "Draconian Internet Snooping" · · Score: 1

    Where are mod points when you need them?

  4. Re:Obfix: get rid of gender categories on The Tricky Science of Olympic Gender Testing · · Score: 2

    better idea... If it's going to be about sex, let's make it about sex.

    I'd certainly watch that olympic discipline...

  5. Re:Tech savvy: A smartphone app for a text message on Mitt Romney To Announce VP Decision Via Smartphone App · · Score: 1

    Entire app=web page. This one doesn't require more complexity than that, nor needs more resources.

  6. Re:Of all the things to hide under floorboards.... on Medieval "Lingerie" From 15th Century Castle Could Rewrite Fashion History · · Score: 2

    Beware of the Grammar Huguenots.

  7. Re:World Pride 2012 on Google Launches International Campaign For Recognition of Same-Sex Marriage · · Score: 1

    How can you be proud of something you didn't choose?

    Are you proud of your country?

  8. Re:The morbid and odd aspect... on More Details On Google Glass · · Score: 1

    Hey son, check this out, it's the exact moment you came into existence!

    But that moment is AO-rated!

  9. Re:Lolwut? on Eben Moglen: Time To Apply Asimov's First Law of Robotics To Smartphones · · Score: 1

    Personally, while I like the discussion idea of the three laws, I tend to think the order is wrong: The first law needs to be the second.

    You don't want to reverse the first and second laws, because you'd end up with a Literal Genie.

    (I linked to TV Tropes from Slashdot. Woot!)

  10. Re:Impossible on Eben Moglen: Time To Apply Asimov's First Law of Robotics To Smartphones · · Score: 1

    But it's much better than the current situation, where devices are created with goals that clearly harm their users to the benefit of the manufacturer.

    So there's room for improvement even if the result is not exactly what was present in the old SF stories; which is the point of TFA.

  11. Re:No 3G version is a deal breaker on Asus Joins High Density Display Club With New Transformer Tablet · · Score: 1

    "10â/month" should be "10 euros / month"; which I pay for a SIM card that is integrated in my low-end tablet, that nevertheless is enough for browsing without Flash.

  12. Re:No 3G version is a deal breaker on Asus Joins High Density Display Club With New Transformer Tablet · · Score: 1

    I have a cell phone, but it's barely a feature phone (with most features unused) - and I like it that way; I don't need internet access in a 2-to-4 inches screen, and I love having battery life measured in days not hours.

    One's man corner case is another's man core usage. I want a tablet with cellular connectivity, because I want to connect to the internet from the big screen of a tablet. And I don't have wifi in the commuter rail, which is the primary use I want to give to the tablet; nor at the beach, the park, or in the car when I'm in the copilot seat. Those are the places where I use my current tablet most, that's why I need the 3G. Given that it's my only 3G device, it's not an additional data service but the only one. I got a 10â/month service 500Gb (no extra charges for exceeding it, just reduced speed if I ever hit the limit), which is more than enough for a month of light internet browsing.

  13. Re:Impossible on Eben Moglen: Time To Apply Asimov's First Law of Robotics To Smartphones · · Score: 1

    You don't need AI to have an automaton that does no harm. You just need a designer willing to create a design that avoids doing harm to the full designer's ability, intead of a designer creating a deliberately harmful desig.

    As others have pointedout, so far the four freedoms of Free Software are the closest thing we have to Asimov's laws, because they're deliberately designed to protect the user.

  14. Re:No 3G version is a deal breaker on Asus Joins High Density Display Club With New Transformer Tablet · · Score: 1

    Sadly, no news of when they plan to release the 3G version in Europe, if at all. I suppose it will arrive later in the year as it happened with previous models.

  15. Re:Tech journalism please die on Asus Joins High Density Display Club With New Transformer Tablet · · Score: 1

    You can use advertisements and press release for that, where everything is awesome!

  16. No 3G version is a deal breaker on Asus Joins High Density Display Club With New Transformer Tablet · · Score: 2

    The form factor is perfect, the price seems about right, but they offer no mobile connectivity. This is a deal breaker is I want it precisely for browsing during the commute as a tablet, with the added flexibility of the keyboard and extra battery everywhere else.

    Unfortunately ASUS has been reluctant to offer 3G connectivity in all the Transformer line, first announcing that it wouldn't be a 3G version and later offering it delayed after several months. Come on guys, the high-end line should come with 3G from the beginning.

  17. Re:What an incredibly stupid argument on Japan Restarts Two of Its 50 Nuclear Reactors · · Score: 1

    The plant was not brought down by the tsunami, or at least, not sufficiently bad to cause the disaster by itself. Human stupidit had to help, and of course there was more than enough of that to be found.

    That looks like a very good reason not to build power plants that may blow up as dirty bombs if not handed properly.

  18. Re:This is hardly news on Why Young Males Are No Longer the Most Important Tech Demographic · · Score: 1

    You must be old school, Madonna is in decline - it's all Lady Gaga now.

  19. Re:Why isn't Ruby thriving, though? on Why Visual Basic 6 Still Thrives · · Score: 1

    Hear, hear!
    Programmers usually don't get this, but there will always be a need for languages that allow non-programmers to create simple automated behavior without using a formal language with strict grammar.

    Hypercard was the first to allow this, VB6 and Mosaic were its natural successors for desktop and web applications respectively, and Excel fills-in the gaps for data modelling and storage. Actually the spreadsheet is a really good programming language for this purpose, even when its automation features are limited to filters, the drag-and-increment copy, and recorded macros.

    But there is a chance that we will soon have a new successor language for this purpose. Now that Bret Victor's ideas are gaining traction and have entered conscious, having been noticed by the Slashdot crowd and Kickstarter projects, they could be the basis for a language targeted to this audience. The instant feedback loop and superposition of abstract and concrete layers are a good basis for an "everyman language".

  20. Re:The most human side of scifi... on Ray Bradbury Has Died · · Score: 1

    It has to be sad, to see the world and all meanings only in terms of true and false. You have never enjoyed evocation?

  21. Re:Beauacracy on Obama To Agencies: Optimize Web Content For Mobile · · Score: 1

    No and yes.

    It's the only reasonable position for the case that you yourself get bad luck in the future. It also happens to be how our society evolved from the lower life forms.

  22. I read the title as.... on Radiation Detecting Android Phone Coming To Japan · · Score: 1

    I read the title as someone using radiation to detect an Android Phone that is coming to Japan.

  23. Re:Why homosexualism but not incest? on 'Eco-Anarchists' Targeting Nuclear and Nanotech Workers · · Score: 1

    If everybody were homosexual, sperm dontation and inseminations would be sacred. Think about it.

  24. Re:No wonder shares are dropping on Facebook Releases Instagram Clone, Two Months After Acquisition · · Score: 3, Funny

    And this is the optimal most efficient possible solution that a free market creates, how again?

  25. Re:Beauacracy on Obama To Agencies: Optimize Web Content For Mobile · · Score: 1

    So your position is than anyone who has bas luck of any kind should drown in shit?