Slashdot Mirror


User: Fabb

Fabb's activity in the archive.

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

Comments · 10

  1. I do not hesitate to listen to my cables! on James Randi Posts $1M Award On Speaker Cables · · Score: 1

    From http://www.pearcable.com/sub_faq.htm#8

    8. Do I need to "Break-In" my cables?

    You may listen to your cables directly out of the box and get most of the performance immediately. However, it will take approximately 1 day for the cables to mechanically settle after they have been moved or set up for the first time, which can have an effect on the sound. Some users do report a need for our cables to "break in" over time to achieve the optimum performance. Customers must make their own decision as to how long is necessary to "break in" the cables, but do not hesitate to listen to them immediately.

  2. Re:If done well... on Getting A Handle On Vista · · Score: 1

    > [...] and BAM! [...]

    We know it is you, Steve... :)

  3. Custom Spotlight tag action? on Third Parties Already Taking Advantage of Tiger · · Score: 1

    I wonder if it's possible to develop an Automator action that would add custom Spotlight tags to files (from a dialog, clipboard, whatever).

    The Spotlight UI does not allow adding new metatags to files, but the API supports it.

  4. Re:Thunderbird spotlight plugin PLEASE on Third Parties Already Taking Advantage of Tiger · · Score: 3, Informative

    Spotlight's indexer has a file-level granularity.

    For Thunderbird messages to be indexed, searchable and retrievable, each message should be saved as an individual file.

    This is actually what Mail 2 does, and also what BeOS's mail did - you could set up live query folders that would hold mail messages based on your criteria. It's no coincidence that BFS' creator Dominic Giampaolo now works at Apple on Spotlight...

  5. Re:Why MSN will fail: on MSN Planning to Take on Google? · · Score: 1

    "CNN" search on MSN: first hit is MSNBC :)

  6. Re:Which version? on JavaScript : The Definitive Guide, 4th Edition · · Score: 1

    I don't use this kind of construct for client-side JavaScript 2.0 (only server), but this is supported (at least, haven't tested in other ones) in Mozilla 1.0 and IE 6.

  7. Re:JS != OO on JavaScript : The Definitive Guide, 4th Edition · · Score: 1
    True, JavaScript is not really recommended for large application (besides features, performance would be a problem).

    But readability is not a language feature. I know some people able to write extremely obscure (and thus stupid) code in C++.

    The original poster claimed that classes or methods could not be declared, that is why I felt compelled to answer.

    At our site we like JavaScript, it is a nice addition to our toolset. But are disciplined when it comes to coding style and conventions.

    BTW, it is possible to call superclass methods in Javascript:
    function BaseObject()
    {
    this.init();
    }

    BaseObject.prototype.init = function ()
    {
    this.value = 10;
    }

    BaseObject.prototype.method1 = function(val)
    {
    this.value = this.value + val;
    }

    DerivedObject.prototype = new BaseObject();
    DerivedObject.prototype.constructor = DerivedObject;
    DerivedObject.superclass = BaseObject.prototype;

    function DerivedObject()
    {
    this.init();
    }

    DerivedObject.prototype.init = function()
    {
    DerivedObject.superclass.init.call();

    }

    DerivedObject.prototype.method1 = function(val)
    {
    this.value = this.value * val;
    DerivedObject.superclass.method1.call(this, val);
    }
    var derived = new DerivedObject();

    derived.method1(5);

    alert(derived.value);
    (sorry for the indentation, can't figure out how to post properly indented code)

    Granted, this is not as obvious or pretty as in other languages as C++, Java, ObjectPascal or C#. But this is possible.
  8. Re:No joking, Javascript is evil. on JavaScript : The Definitive Guide, 4th Edition · · Score: 1

    I suggest you learn the language a bit more.

    There are ways to declare classes and methods, you can even achieve inheritance. Sure it's not as pretty as true OO languages, but it works, and works well.

    You can easily shot yourself in the foot, but if you are careful you can write very expressive code.

    We're using JavaScript a lot for server-side processing. And we find that the ability to define new properties on the fly help us write very readable code. For example you can easily map an XML document to the corresponding JavaScript structures, interface to a RDBMS and map the columns to variables automatically named after the column names, etc.

  9. Re:"Coup de gras"...? on al Qaeda Hacks XP? · · Score: 2, Informative

    The poster surely meant 'coup de grâce' which is French for 'grace blow'.

  10. Re:eww - emotions are the key on A "Vow of Chastity" For Game Designers · · Score: 1


    First of all, all DOGME95 movies suck.

    Have you seen them all? Have you ever seen Festen (The Celebration)?. It was one of the best '98 movies. Because there was no camera virtuosity or special effects between the spectator and the characters.

    Of course, it wouldn't work for every movie style. But it works very well to let emotions pass to the spectator.

    And this is exactly what is missing from video games: emotions. Video game making will become an art when the players will feel real emotions. Just like looking at a painting. Or listening to a moving piece of music.

    Fabrice.