Slashdot Mirror


User: loufoque

loufoque's activity in the archive.

Stories
0
Comments
3,170
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 3,170

  1. Re:Better plots? on Hollywood's Love of Analytics Couldn't Prevent Six Massive Blockbuster Flops · · Score: 1

    Heinlein's books are not politically correct.
    Just look at the PR trouble they're having with Ender's Game just because the author is against gay marriage.

    Hollywood doesn't want any controversy in their movies. The latest Star Trek even used a white man instead of the older Star Trek material to avoid associating evil with a man of color.

  2. Re:Better plots? on Hollywood's Love of Analytics Couldn't Prevent Six Massive Blockbuster Flops · · Score: 1

    Skyfall wasn't that good.
    You'll have forgotten it in a few years.

    Clearly you haven't forgotten Moonraker though.

  3. Re:Our culture on Hollywood's Love of Analytics Couldn't Prevent Six Massive Blockbuster Flops · · Score: 1

    Why are you talking about the 3rd world? The majority of Hollywood's money comes from the first world: North America, Europe, Australia and the civilized parts of Asia.

  4. No warranty on Welcome To the 'Sharing Economy' · · Score: 1

    If there is no contract, then there is no warranty of any sort nor any guarantee that the work done will conform to what was desired. Which means that you'd have to be extremely naive to use this sort of service as you could end up in serious trouble.
    If there is a contract, then there is nothing special about this. It's just regular work.

  5. Re:Let's Break This Down on New Android Eyewear Wants To Compete With Google Glass · · Score: 1

    Reddit and insightful open-minded discussion in the same sentence?
    Surely you must joking.

  6. Re:Why not Windows Phone 8? on Tesla Motors May Be Having an iPhone Moment · · Score: 3, Informative

    The next generation of social marketing maybe.

  7. Re:Smart guns... on Hardly Anyone Is Buying 'Smart Guns' · · Score: 1

    A gun is a device that is pretty much guaranteed to maim or kill--with a single use--a selected target, at a distance and almost instantly. It requires almost no real physical effort on the part of the user.

    Surely you realize this is also true of a lot of other devices, and that for some of those devices neither purchase nor ownership is restricted by law?
    Pretty much any tool running on gasoline or electricity is capable of seriously maiming people without effort.

  8. Re:Don't vacation there and avoid driving through on Database Loophole Lets Legislators Avoid Photo Radar Tickets · · Score: 0

    Isn't Colorado supposed to have decent beer?

  9. Re:Things that are impractical to copy on Why JavaScript On Mobile Is Slow · · Score: 1

    Some objects are responsible for the lifetime management of resources. It's called ownership.
    You don't really need shared ownership. Most of the time it's just used as an excuse for sloppy design.

  10. Re:Event-driven environments on Why JavaScript On Mobile Is Slow · · Score: 1

    Most resources are not shared.

  11. Re:Event-driven environments on Why JavaScript On Mobile Is Slow · · Score: 1

    That's because you're still thinking with references.

  12. Re:Things that are impractical to copy on Why JavaScript On Mobile Is Slow · · Score: 1

    If your resource is not copyable, then copying is not an operation that is available. Copying is also costly, so If you don't need to copy, then don't copy.

  13. Re: That's just not a viable option. on Why JavaScript On Mobile Is Slow · · Score: 1

    A complex application in Javascript? Come on, be serious. Web applications are hardly complex. The very few that are are written in C or C++.

  14. Re:Easy on Why JavaScript On Mobile Is Slow · · Score: 1

    Those people saying that don't make it a very good idea.
    Stepanov, the inventor of the STL, clearly recommends a non-aliasing non-sharing approach to scope-based resource management.

    And I found him to be a more interesting guy than Bjarne or Herb when it comes to C++ programming.

  15. Re:CPython uses reference counting, like objective on Why JavaScript On Mobile Is Slow · · Score: 1

    Just read wikipedia.

  16. Re:Easy on Why JavaScript On Mobile Is Slow · · Score: 1

    The principle of RAII is that you acquire a resource in a constructor and release it in the destructor.
    When you copy, you copy the resource.

    shared_ptr does not do that. The destructor does not release the resource, and copying just aliases the resource.

  17. Re:Easy on Why JavaScript On Mobile Is Slow · · Score: 1

    shared_ptr is a distortion of the RAII principle.
    RAII says that you acquire a resource in a constructor and free it in the destructor. shared_ptr does not free the resource in the destructor, it decrements a reference count, and if it reaches zero it frees the resource.

    Proper RAII is exclusive ownership. shared_ptr is for lazy GC-style coding.

  18. Re:Easy on Why JavaScript On Mobile Is Slow · · Score: 1

    All shared_ptr does is allow for lazy GC-style memory management in C++.
    ownership usually does not need to be shared.

  19. Re:That's just not a viable option. on Why JavaScript On Mobile Is Slow · · Score: 1

    Wait, are you seriously comparing a full-featured GNOME program with a trivial Python script?

  20. Re:That's just not a viable option. on Why JavaScript On Mobile Is Slow · · Score: 1

    The C standard library is extremely lightweight, that's the point.

  21. Re:That's just not a viable option. on Why JavaScript On Mobile Is Slow · · Score: 1

    But I do that everyday. There aren't many at all.

  22. Re:CPython uses reference counting, like objective on Why JavaScript On Mobile Is Slow · · Score: 1

    There are essentially two garbage collection algorithms: mark-and-sweep and stop-and-copy. Both can be generational, incremental, concurrent, etc.

  23. Re:Easy on Why JavaScript On Mobile Is Slow · · Score: 1

    shared_ptr is reference counting, which is pretty much garbage collection.
    Just manage your memory without relying on this but by designing your application taking into account which objects are responsible for the lifetime of other objects (ownership).

  24. Re:That's just not a viable option. on Why JavaScript On Mobile Is Slow · · Score: 1

    You simply code what you need instead of depending on framework that do everything for you.

  25. Re:That's just not a viable option. on Why JavaScript On Mobile Is Slow · · Score: 1

    You realize you have thousands of packages installed, right? That's not a couple of Javascript apps.