Slashdot Mirror


User: K.+S.+Kyosuke

K.+S.+Kyosuke's activity in the archive.

Stories
0
Comments
15,736
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 15,736

  1. Re:Potential Debcale on UK Wants An Electric-Vehicle Charger In Every New Home (thedrive.com) · · Score: 1

    With time-of-day pricing, this might easily be a thing in the future.

  2. Re: how are scooters even a problem? on Uber Adds Electric Scooters To Its App (cnet.com) · · Score: 1

    I would actually assume they fall into the bicycle category.

    Why? A vehicle that you have to pedal with your limbs to make it move should fall into the bicycle category. What other point would the bicycle category have?

  3. Re:Yes - Bless You on Is C++ a 'Really Terrible Language'? (gamesindustry.biz) · · Score: 1

    Its code that's almost not understandable by anyone other than the original author.

    With the corollary that the same person a year later is not "the original author" either?

  4. Re:Yes on Is C++ a 'Really Terrible Language'? (gamesindustry.biz) · · Score: 1

    The macro doesn't know it, the special operator does.

  5. Re:for once on Spiders Can Fly Hundreds of Miles Using Electricity (vice.com) · · Score: 1

    IG Nobel prize candidate?

  6. Re:Yes on Is C++ a 'Really Terrible Language'? (gamesindustry.biz) · · Score: 1

    UNWIND-PROTECT is very useful, but it is lexically scoped. Objects that need any protection require two entries, one at the allocation/initialization and one in the protection clause. This can be a source of errors (missing protection for a resource allocation) and a major pain with some macro environments.

    Could you elaborate on that? Perhaps with some more specific example.

    Stack-allocated objects run their destructors on scope exit, much like an implicit, low-cost unwind-protect.

    I'm not quite sure that unwind-protect is high cost, at least comparatively to your destructors. Aren't the principles of implementation the same? You need to cover both regular and exceptional exits in both languages, so I'm not sure there's a completely free lunch for C++ there.

    The destructor is a convenient place to update unwind semantics at all call sites

    So is a macro definition, though.

  7. Re:Yes on Is C++ a 'Really Terrible Language'? (gamesindustry.biz) · · Score: 1

    Why would I sign up for a Lisp class? The Gigamonkeys book should be enough for everyone. Well, perhaps with On Lisp and the recent public release of PAIP.

  8. Re: Greenspun's tenth rule on Is C++ a 'Really Terrible Language'? (gamesindustry.biz) · · Score: 1

    and a community that's too academic to care about the needs of real-world programmers

    I think you meant Scheme. Common Lisp is industrial, non academic. Anyway, for C++ lovers, the benefits of CL is that it is in places as dirty and ugly as C++. ;)

  9. Re:Obcious on Is C++ a 'Really Terrible Language'? (gamesindustry.biz) · · Score: 1

    Another ridiculous argument since by the time BWK wrote that book, Wirthian languages had already hit Modula-2 and were well on their way to Modula-3 and Oberon. That's like arguing that you shouldn't use Fortran by pointing out the deficiencies of Fortran 77.

  10. Re:Yes on Is C++ a 'Really Terrible Language'? (gamesindustry.biz) · · Score: 3, Interesting

    I think that's a very flawed argument. You have no control group in the form of another universe where C++ didn't gain the same popularity and the same programs were developed in an alternative language. Only then could you assess whether C++ helped you write those programs or whether it hindered you. Just because network effects, for better or worse, made most people use it in our world says little of its technical merits.

  11. Re:Yes on Is C++ a 'Really Terrible Language'? (gamesindustry.biz) · · Score: 1

    All the garbage collected languages handle RAM OK but RAM is only one type of resource. You end up explicitly closing files, etc., when you finish with them.

    ...say people who never heard of unwind-protect.

  12. Re:Yes on Is C++ a 'Really Terrible Language'? (gamesindustry.biz) · · Score: 1

    Then why don't you make people program in Common Lisp? Not only do you get even higher expressiveness and power but you still get to keep undereducated people out.

  13. Re:And yet on All-time Heat Records Are Being Set All Over the World (washingtonpost.com) · · Score: 3, Interesting

    The interesting statistics is the ratio of cold and hot records. If the trend in your noisy data is absent, you'd expect cold and hot records to be set at roughtly 1:1, regardless of your history of measurements. In reality, it currently looks like this.

  14. It probably shouldn't have been hauling it anyway. Aside from the humongous volume of water inside Ceres, Jovians moons are even closer.

  15. Fresh water is what you get when you distill the brine...

  16. Ceres: having more water than Earth... on Floating Between Mars and Jupiter, Ceres May Have More Water Than Earth (nasa.gov) · · Score: 4, Interesting

    "Ceres: having more water than Earth since at least 2005"

  17. ...equals more Cold Calls.

    Are you suggesting we might get common cold calls?

  18. Re:Interstate commerce... on Net Neutrality Makes Comeback in California; Lawmakers Agree To Strict Rules (arstechnica.com) · · Score: 1

    I keep wondering in what idiotic world does last mile connection constitute "interstate commerce". But apparently in the heads of some officials it does.

  19. Re:Did series creators or writers ever... on The BBC Is Heading To Court To Hunt Down a Doctor Who Leaker (gizmodo.com) · · Score: 1

    And by "doctors", you mean "alien expats with a narcissistic moniker they gave to themselves"? I'm sure they can.

  20. Re:A problem with this on Could Electrically Stimulating Criminals' Brains Prevent Crime? (newatlas.com) · · Score: 1

    But electrocuting peoples' brains would without a doubt prevent crime, wouldn't it?

  21. You don't need a river in general, but to cool an AP1000 unit in space, you'd need a radiator roughly 2.5 km in diameter.

  22. Yes, to the extent that you might need a high temperature reactor. Those are no fun to build.

  23. Lovely how they use the ridiculous American prices of solar installations. Sucks to be a solar-loving American, I guess.

  24. An AP1000 will be as useless to you in deep space as a solar panel.

  25. Probably good for solar power, though.