<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
  <channel>
    <title>FYI Center :: Forum</title>
    <link>http://www.fyicenter.com/</link>
    <description>Find Your Information here! :: XOOPS Community Bulletin Board</description>
    <lastBuildDate>Wed, 25 Nov 2009 23:10:07</lastBuildDate>
    <docs>http://backend.userland.com/rss/</docs>
    <generator>CBB 3.08</generator>
    <category>Forum</category>
    <managingEditor>webmaster@fyicenter.com</managingEditor>
    <webMaster>webmaster@fyicenter.com</webMaster>
    <language>en</language>
        <image>
      <title>FYI Center :: Forum</title>
      <url>http://www.fyicenter.com/modules/newbb/images/xoopsbb_slogo.png</url>
      <link>http://www.fyicenter.com/</link>
      <width>92</width>
      <height>52</height>
    </image>
            <item>
      <title>What&#039;s Prototypes for JavaScript? [by Boch]</title>
      <link>http://www.fyicenter.com/modules/newbb/viewtopic.php?topic_id=996&amp;forum=3</link>
      <description>Developer Career Center:: What&#039;s Prototypes for JavaScript?&lt;br /&gt;
&lt;b&gt;What&#039;s Prototypes for JavaScript?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Objects have &quot;prototypes&quot; from which they may inherit fields and functions.&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;pre&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;
function movieToString() {
return(&amp;quot;title: &amp;quot;+this.title+&amp;quot; director: &amp;quot;+this.director);
}
function movie(title, director) {
this.title = title;
this.director = director || &amp;quot;unknown&amp;quot;; //if null assign to &amp;quot;unknown&amp;quot;
this.toString = movieToString; //assign function to this method pointer
}
movie.prototype.isComedy = false; //add a field to the movie&amp;#039;s prototype
var officeSpace = new movie(&amp;quot;OfficeSpace&amp;quot;);
var narnia = new movie(&amp;quot;Narni&amp;quot;,&amp;quot;Andrew Adamson&amp;quot;);
document.write(narnia.toString());
document.write(&amp;quot;
Narnia a comedy? &amp;quot;+narnia.isComedy);
officeSpace.isComedy = true; //override the default just for this object
document.write(&amp;quot;
Office Space a comedy? &amp;quot;+officeSpace.isComedy);
&amp;lt;/script&amp;gt;

&lt;/pre&gt;&lt;/code&gt;&lt;/div&gt;</description>
      <pubDate>Fri, 20 Nov 2009 19:16:28</pubDate>
      <guid>http://www.fyicenter.com/modules/newbb/viewtopic.php?topic_id=996&amp;forum=3</guid>
    </item>
        <item>
      <title>Question: Difference between a Java interface and a Java abstract class? [by Boch]</title>
      <link>http://www.fyicenter.com/modules/newbb/viewtopic.php?topic_id=985&amp;forum=3</link>
      <description>Developer Career Center:: Question: Difference between a Java interface and a Java abstract class?&lt;br /&gt;
&lt;b&gt;Question: Difference between a Java interface and a Java abstract class?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;Answer:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;   1. Methods of a Java interface are implicitly abstract and cannot have implementations. A Java abstract class can have instance methods that implements a default behavior.&lt;br /&gt;   2. Variables declared in a Java interface is by default final. A Java abstract class may contain non-final variables.&lt;br /&gt;   3. Memebers of a Java interface are public by default. A Java abstract class can have the usual flavors of class members like private, protected, etc..&lt;br /&gt;   4. Java interface should be implemented using keyword “implements”; A Java abstract class should be extended using keyword “extends”.&lt;br /&gt;   5. An interface can extend another Java interface only, an abstract class can extend another Java class and implement multiple Java interfaces.&lt;br /&gt;   6. A Java class can implement multiple interfaces but it can extend only one abstract class.&lt;br /&gt;   7. Interface is absolutely abstract and cannot be instantiated; A Java abstract class also cannot be instantiated, but can be invoked if a main() exists.&lt;br /&gt;   8. In comparison with java abstract classes, java interfaces are slow as it requires extra indirection.</description>
      <pubDate>Fri, 13 Nov 2009 18:35:05</pubDate>
      <guid>http://www.fyicenter.com/modules/newbb/viewtopic.php?topic_id=985&amp;forum=3</guid>
    </item>
        <item>
      <title>unescape(), escape() [by Boch]</title>
      <link>http://www.fyicenter.com/modules/newbb/viewtopic.php?topic_id=975&amp;forum=3</link>
      <description>Developer Career Center:: unescape(), escape()&lt;br /&gt;
&lt;b&gt;unescape(), escape()&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;These are similar to the decodeURI() and encodeURI(), but escape() is used for only portions of a URI.&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;pre&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;
var myvalue = &amp;quot;Sir Walter Scott&amp;quot;;
document.write(&amp;quot;Original myvalue: &amp;quot;+myvalue);
document.write(&amp;quot;&amp;lt;br /&amp;gt;escaped: &amp;quot;+escape(myvalue));
document.write(&amp;quot;&amp;lt;br /&amp;gt;uri part: \&amp;quot;&amp;author=&amp;quot;+escape(myvalue)+&amp;quot;\&amp;quot;&amp;quot;);
&amp;lt;/script&amp;gt;

If you use escape() for the whole URI... well bad things happen.
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;
var uri = &amp;quot;http://www.google.com/search?q=sonofusion Taleyarkhan&amp;quot;
document.write(&amp;quot;Original uri: &amp;quot;+uri);
document.write(&amp;quot;
escaped: &amp;quot;+escape(uri));
v/script&amp;gt;

&lt;/pre&gt;&lt;/code&gt;&lt;/div&gt;</description>
      <pubDate>Fri, 06 Nov 2009 20:44:37</pubDate>
      <guid>http://www.fyicenter.com/modules/newbb/viewtopic.php?topic_id=975&amp;forum=3</guid>
    </item>
        <item>
      <title>Question: Does Java garbage collection guarantee that a program will not run out of memory? [by Boch]</title>
      <link>http://www.fyicenter.com/modules/newbb/viewtopic.php?topic_id=965&amp;forum=3</link>
      <description>Developer Career Center:: Question: Does Java garbage collection guarantee that a program will not run out of memory?&lt;br /&gt;
&lt;b&gt;Question: Does Java garbage collection guarantee that a program will not run out of memory?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Answer:&lt;br /&gt;&lt;br /&gt;No. Java Programs may use up memory resources faster than they are garbage collected. A Java program can create objects that are not subject to garbage collection.</description>
      <pubDate>Fri, 30 Oct 2009 21:52:55</pubDate>
      <guid>http://www.fyicenter.com/modules/newbb/viewtopic.php?topic_id=965&amp;forum=3</guid>
    </item>
        <item>
      <title>Java garbage collection [by Boch]</title>
      <link>http://www.fyicenter.com/modules/newbb/viewtopic.php?topic_id=955&amp;forum=3</link>
      <description>Developer Career Center:: Java garbage collection&lt;br /&gt;
&lt;b&gt;Java garbage collection&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Answer:&lt;br /&gt;&lt;br /&gt;Garbage collection in Java is to discard objects that are no longer needed and to reclaim their resources. A Java object is subject to garbage collection when it is out of scope of the control flow of the program.</description>
      <pubDate>Fri, 23 Oct 2009 19:29:32</pubDate>
      <guid>http://www.fyicenter.com/modules/newbb/viewtopic.php?topic_id=955&amp;forum=3</guid>
    </item>
        <item>
      <title>C++ interviewe question,if you can work well, you will be hire at level 3 or above [by Boch]</title>
      <link>http://www.fyicenter.com/modules/newbb/viewtopic.php?topic_id=946&amp;forum=3</link>
      <description>Developer Career Center:: C++ interviewe question,if you can work well, you will be hire at level 3 or above&lt;br /&gt;
&lt;b&gt;C++ interviewe question,if you can work well, you will be hire at level 3 or above.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;I have interviewed several candidates specifically focusing on their C++ knowledge, and if there was one question that worked well to put peoples&#039; knowledge of C++ on a gradient, it was this one:&lt;br /&gt;&lt;br /&gt;Fix this memory leak as robustly as you can:&lt;br /&gt;&lt;br /&gt;void doSomething()&lt;br /&gt;{&lt;br /&gt;Foo* pFoo = new Foo();&lt;br /&gt;[do some stuff]&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;    * +1 for putting delete pFoo at the end&lt;br /&gt;    * +2 for putting pFoo in a std::auto_ptr&lt;br /&gt;    * +3 for knowing what RAII is - the concept, if not the acronym&lt;br /&gt;    * +4 for mentioning exception-safety guarantees of the auto_ptr&lt;br /&gt;    * +5 for putting pFoo in a boost:shared_ptr&lt;br /&gt;    * +6 for knowing when a shared_ptr might not be freed.&lt;br /&gt;    * +7 for talking about garbage collection techniques to fix circular references&lt;br /&gt;&lt;br /&gt;This always worked to show how long someone had been working with C++. This is one datapoint you can use to tell where you are in the scale of C++ knowledge.&lt;br /&gt;&lt;br /&gt;Edit: I would recommend someone for hire at level 3 or above.</description>
      <pubDate>Fri, 16 Oct 2009 19:37:02</pubDate>
      <guid>http://www.fyicenter.com/modules/newbb/viewtopic.php?topic_id=946&amp;forum=3</guid>
    </item>
        <item>
      <title>Question: Java finalization [by Boch]</title>
      <link>http://www.fyicenter.com/modules/newbb/viewtopic.php?topic_id=935&amp;forum=3</link>
      <description>Developer Career Center:: Question: Java finalization&lt;br /&gt;
&lt;b&gt;Question: Java finalization&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Answer:&lt;br /&gt;&lt;br /&gt;Finalization is to give an unreachable Java object the opportunity to perform any cleanup processing before the Java object is garbage collected. It happens when the Java object’s finalize() method is invoked.</description>
      <pubDate>Fri, 09 Oct 2009 17:53:31</pubDate>
      <guid>http://www.fyicenter.com/modules/newbb/viewtopic.php?topic_id=935&amp;forum=3</guid>
    </item>
        <item>
      <title>decodeURI(), encodeURI() [by Boch]</title>
      <link>http://www.fyicenter.com/modules/newbb/viewtopic.php?topic_id=925&amp;forum=3</link>
      <description>Developer Career Center:: decodeURI(), encodeURI()&lt;br /&gt;
&lt;b&gt;decodeURI(), encodeURI()&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Many characters cannot be sent in a URL, but must be converted to their hex encoding. These functions are used to convert an entire URI (a superset of URL) to and from a format that can be sent via a URI.&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;pre&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;
var uri = &amp;quot;http://www.google.com/search?q=sonofusion Taleyarkhan&amp;quot;
document.write(&amp;quot;Original uri: &amp;quot;+uri);
document.write(&amp;quot;&amp;lt;br /&amp;gt;encoded: &amp;quot;+encodeURI(uri));
&amp;lt;/script&amp;gt;
&lt;/pre&gt;&lt;/code&gt;&lt;/div&gt;</description>
      <pubDate>Fri, 02 Oct 2009 18:35:22</pubDate>
      <guid>http://www.fyicenter.com/modules/newbb/viewtopic.php?topic_id=925&amp;forum=3</guid>
    </item>
        <item>
      <title>Can an unreachable Java object become reachable again? [by Boch]</title>
      <link>http://www.fyicenter.com/modules/newbb/viewtopic.php?topic_id=917&amp;forum=3</link>
      <description>Developer Career Center:: Can an unreachable Java object become reachable again?&lt;br /&gt;
&lt;b&gt;Question: Can an unreachable Java object become reachable again?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Answer:&lt;br /&gt;&lt;br /&gt;Yes. It can happen when the Java object’s finalize() method is invoked and the Java object performs an operation which causes it to become accessible to reachable objects.</description>
      <pubDate>Thu, 17 Sep 2009 17:45:04</pubDate>
      <guid>http://www.fyicenter.com/modules/newbb/viewtopic.php?topic_id=917&amp;forum=3</guid>
    </item>
        <item>
      <title>What is new about Web services? [by Boch]</title>
      <link>http://www.fyicenter.com/modules/newbb/viewtopic.php?topic_id=907&amp;forum=3</link>
      <description>Developer Career Center:: What is new about Web services?&lt;br /&gt;
&lt;b&gt;What is new about Web services?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;People have been using Remote Procedure Calls (RPC) for some time now, and they long ago discovered how to send such calls over HTTP.&lt;br /&gt;So, what is really new about Web services? The answer is XML.&lt;br /&gt;XML lies at the core of Web services, and provides a common language for describing Remote Procedure Calls, Web services, and Web service directories.&lt;br /&gt;Prior to XML, one could share data among different applications, but XML makes this so much easier to do. In the same vein, one can share services and code without Web services, but XML makes it easier to do these as well.&lt;br /&gt;By standardizing on XML, different applications can more easily talk to one another, and this makes software a whole lot more interesting.</description>
      <pubDate>Thu, 10 Sep 2009 18:13:13</pubDate>
      <guid>http://www.fyicenter.com/modules/newbb/viewtopic.php?topic_id=907&amp;forum=3</guid>
    </item>
      </channel>
</rss>