<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>Lowyat.NET: Latest topics by fuser</title>
        <description></description>
        <link>http://forum.lowyat.net/</link>
        <lastBuildDate>Wed, 29 Jul 2026 08:13:35 +0800</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>Where to fix xbox 360 disc drive</title>
            <link>http://forum.lowyat.net/topic/3748298</link>
            <description>Hey guys, I just realized that whenever I try to play games on my xbox, a good number of times the console will produce the &amp;quot;Disc could not be read&amp;quot; error message.&lt;br /&gt;&lt;br /&gt;Sometimes, the game was just starting and it will show the error message, sometimes, I would be playing halfway and I will get the error message. I even returned a game I just bought, and when they tested it out it ran fine, so the problem might be my disc drive.&lt;br /&gt;&lt;br /&gt;So does anyone know any places that do xbox repairs for a good price?</description>
            <author>fuser</author>
            <category>Consoles Couch</category>
            <pubDate>Sun, 18 Oct 2015 23:29:45 +0800</pubDate>
        </item>
        <item>
            <title>Possible to put both Linux and Win 7 in one drive?</title>
            <link>http://forum.lowyat.net/topic/3662027</link>
            <description>I think the title&amp;#39;s a bit misleading, but bear with me.&lt;br /&gt;&lt;br /&gt;I just bought a new 16gb drive, and I was wondering if there&amp;#39;s a way for me to place both Mint Linux and Windows 7 into that drive so I can dual-boot from either drive and do a reformat/reinstall without having to look for multiple drives, just one drive.&lt;br /&gt;&lt;br /&gt;Is there any software or ways I can do this? Most google searches I found were basically &amp;quot;How to dual-boot Windows and Linux by installing Linux from a USB Drive&amp;quot; which is not what I was looking for.</description>
            <author>fuser</author>
            <category>Software</category>
            <pubDate>Tue, 28 Jul 2015 22:40:44 +0800</pubDate>
        </item>
        <item>
            <title>Places to eat at 1 Tech Park</title>
            <link>http://forum.lowyat.net/topic/3569213</link>
            <description>So guys, I start working at 1 Tech Park in Bandar Utama tomorrow, and I was wondering is there any cheap places that I can go to for lunch? Preferably mamak or malay or halal outlets for religious reasons. I saw that Centerpoint had a few places to eat but outside the fast food outlets and the chinese place IDK where else to eat.</description>
            <author>fuser</author>
            <category>The Museum Of Kopitiam</category>
            <pubDate>Mon, 04 May 2015 20:56:28 +0800</pubDate>
        </item>
        <item>
            <title>Thinking of switching from Unifi to Maxis</title>
            <link>http://forum.lowyat.net/topic/3352013</link>
            <description>Hi, so our family is thinking of switching our internet provider from 5 Mbps Unifi to Maxis. &lt;br /&gt;&lt;br /&gt;So I&amp;#39;ve been looking around the website, and basically we&amp;#39;re going to use it largely for web browsing and video streaming mostly, without needing IPTV.&lt;br /&gt;&lt;br /&gt;So I would like to know, what package do you guys subscribe to and how is the service? Is it fast and reliable, and if I encounter problems, is there any issue in getting support?&lt;br /&gt;&lt;br /&gt;</description>
            <author>fuser</author>
            <category>Networks and Broadband</category>
            <pubDate>Wed, 17 Sep 2014 21:06:08 +0800</pubDate>
        </item>
        <item>
            <title>Issues with White and Blacklist entries in Snort</title>
            <link>http://forum.lowyat.net/topic/3214797</link>
            <description>Well, again, I was referring to &lt;a href='http://www.symmetrixtech.com/articles/016-snortinstallguide2953.pdf' target='_blank'&gt;this guide.&lt;/a&gt;&lt;br /&gt;The problem was, after I have changed the values of &lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp; var WHITE_LIST_PATH ../rules&lt;br /&gt; &amp;nbsp; &amp;nbsp; var BLACK_LIST_PATH ../rules&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;to:&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;var WHITE_LIST_PATH /usr/local/snort/rules &lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;var BLACK_LIST_PATH /usr/local/snort/rules&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;and I received the error message:&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;WARNING&amp;#58; Can&amp;#39;t find any whitelist/blacklist entries. Reputation Preprocessor disabled.&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;so I then changed it to:&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;#var WHITE_LIST_PATH /usr/local/snort/rules &lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;#var BLACK_LIST_PATH /usr/local/snort/rules&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;but when I did that, I received a new error message:&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;/usr/local/snort/etc/snort.conf&amp;#40;507&amp;#41; Undefined variable name&amp;#58; WHITE_LIST_PATH.&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;Does anyone have any idea what I did wrong here?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description>
            <author>fuser</author>
            <category>Software</category>
            <pubDate>Mon, 05 May 2014 15:27:06 +0800</pubDate>
        </item>
        <item>
            <title>Virtual Machine unable to connect to the internet</title>
            <link>http://forum.lowyat.net/topic/3170847</link>
            <description>I installed Mint Linux on VMWare player, and set the VM to use a bridged connection and to replicate a physical network state.&lt;br /&gt;&lt;br /&gt;&lt;a href='http://s1213.photobucket.com/user/xhdrx/media/nwsettings_zpsf006a547.jpg.html' target='_blank'&gt;&lt;img src='http://i1213.photobucket.com/albums/cc480/xhdrx/nwsettings_zpsf006a547.jpg' border='0' alt='user posted image' /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href='http://s1213.photobucket.com/user/xhdrx/media/nwsettings2_zpsc55caef2.jpg.html' target='_blank'&gt;&lt;img src='http://i1213.photobucket.com/albums/cc480/xhdrx/nwsettings2_zpsc55caef2.jpg' border='0' alt='user posted image' /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Initially, it worked fine, but somehow, after attempting to install Snort and restarting the VM, it could no longer connect to the internet, despite no changes were made to the VM&amp;#39;s network connection settings, like in the screenshots below:&lt;br /&gt;&lt;br /&gt;&lt;a href='http://s1213.photobucket.com/user/xhdrx/media/nwsettings4_zps1a2528d7.jpg.html' target='_blank'&gt;&lt;img src='http://i1213.photobucket.com/albums/cc480/xhdrx/nwsettings4_zps1a2528d7.jpg' border='0' alt='user posted image' /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href='http://s1213.photobucket.com/user/xhdrx/media/nwsettings5_zpsad663f40.jpg.html' target='_blank'&gt;&lt;img src='http://i1213.photobucket.com/albums/cc480/xhdrx/nwsettings5_zpsad663f40.jpg' border='0' alt='user posted image' /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href='http://s1213.photobucket.com/user/xhdrx/media/nwsettings6_zps58cb05ab.jpg.html' target='_blank'&gt;&lt;img src='http://i1213.photobucket.com/albums/cc480/xhdrx/nwsettings6_zps58cb05ab.jpg' border='0' alt='user posted image' /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I even checked Windows&amp;#39; firewall settings, but, that too appears to be unchanged.&lt;br /&gt;&lt;br /&gt;&lt;a href='http://s1213.photobucket.com/user/xhdrx/media/nwsettings3_zps3bcfff2d.jpg.html' target='_blank'&gt;&lt;img src='http://i1213.photobucket.com/albums/cc480/xhdrx/nwsettings3_zps3bcfff2d.jpg' border='0' alt='user posted image' /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Does anyone have any idea what might have caused this problem and any suggestions on how to fix this?&lt;br /&gt;&lt;br /&gt;</description>
            <author>fuser</author>
            <category>Software</category>
            <pubDate>Mon, 24 Mar 2014 12:38:55 +0800</pubDate>
        </item>
        <item>
            <title>Explorer.exe is missing for Windows 7</title>
            <link>http://forum.lowyat.net/topic/3042573</link>
            <description>Basically, what happened earlier today was that I was messing around with some Windows themes I downloaded off the Internet, and what happened was that after I tried to change the Start button using an application, Windows informed me that it could not find &amp;quot;Explorer.exe&amp;quot;&lt;br /&gt;&lt;br /&gt;So, first I restarted Windows as usual and in Safe Mode and the problem still persists. After trying the Repair Option, (if I remember correctly, I chose &amp;quot;Repair Startup Items&amp;quot;) but it still didn&amp;#39;t work out. Unfortunately, I also disabled System Restore, and didn&amp;#39;t make any images prior to this problem. I&amp;#39;m still able to read and modify the files stored in the Windows partition on my Linux partition, however.&lt;br /&gt;&lt;br /&gt;Here&amp;#39;s the error message of this problem.&lt;br /&gt;&lt;br /&gt;&lt;img src='https://fbcdn-sphotos-e-a.akamaihd.net/hphotos-ak-ash3/q71/1441183_716117411734826_345787188_n.jpg' border='0' alt='user posted image' /&gt;&lt;br /&gt;&lt;br /&gt;Does anyone have any suggestions on how to fix this?</description>
            <author>fuser</author>
            <category>Technical Support</category>
            <pubDate>Sun, 24 Nov 2013 20:51:12 +0800</pubDate>
        </item>
        <item>
            <title>Windows unable to detect USB drive partition</title>
            <link>http://forum.lowyat.net/topic/3030988</link>
            <description>Basically, what happened was that I tried to install a GhostBSD image file into my USB stick so that it can boot and run from there, and I used Image Writer, but I was unable to boot off the disk.&lt;br /&gt;&lt;br /&gt;But what happened next was when I plugged the usb stick into my computer in Windows, and I received this message:&lt;br /&gt;&lt;br /&gt;&lt;a href='http://s1213.photobucket.com/user/xhdrx/media/usbdriveproblem_zpsde9f9449.jpg.html' target='_blank'&gt;&lt;img src='http://i1213.photobucket.com/albums/cc480/xhdrx/usbdriveproblem_zpsde9f9449.jpg' border='0' alt='user posted image' /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I then decided to see what happens if I try to format, and I saw that my usb stick (an 8 GB usb drive) has been reduced to only 24 MB:&lt;br /&gt;&lt;br /&gt;&lt;a href='http://s1213.photobucket.com/user/xhdrx/media/usbdriveproblem2_zps607796b2.jpg.html' target='_blank'&gt;&lt;img src='http://i1213.photobucket.com/albums/cc480/xhdrx/usbdriveproblem2_zps607796b2.jpg' border='0' alt='user posted image' /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;and that &lt;br /&gt;&lt;br /&gt;&lt;a href='http://s1213.photobucket.com/user/xhdrx/media/usbdriveproblem3_zps76a1f4cd.jpg.html' target='_blank'&gt;&lt;img src='http://i1213.photobucket.com/albums/cc480/xhdrx/usbdriveproblem3_zps76a1f4cd.jpg' border='0' alt='user posted image' /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I then decided to look into the drive by looking at Disk Management, and I noticed this (Disk 1):&lt;br /&gt;&lt;br /&gt;&lt;a href='http://s1213.photobucket.com/user/xhdrx/media/usbdriveproblem4_zpsd57fc6e3.jpg.html' target='_blank'&gt;&lt;img src='http://i1213.photobucket.com/albums/cc480/xhdrx/usbdriveproblem4_zpsd57fc6e3.jpg' border='0' alt='user posted image' /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;When I tried to access the USB drive on my Linux partition, it was also unable to read the drive nor access the partition. I have tried plugging it on other computers, including a Windows XP computer, and I received the same error. Is there any way to solve this?</description>
            <author>fuser</author>
            <category>Technical Support</category>
            <pubDate>Thu, 14 Nov 2013 18:00:58 +0800</pubDate>
        </item>
        <item>
            <title>Server code results in compile error.</title>
            <link>http://forum.lowyat.net/topic/2855081</link>
            <description>Basically, my project is to create a multithreaded echo server, and I wrote it with C.&lt;br /&gt;&lt;br /&gt;My main problem right now is that when I compile it, it will result in this error:&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&amp;#036; gcc -o echoserver.out echoserver.c&lt;br /&gt;echoserver.c&amp;#58; In function ‘main’&amp;#58;&lt;br /&gt;echoserver.c&amp;#58;88&amp;#58;1&amp;#58; error&amp;#58; expected declaration or statement at end of input&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;The server code is right here:&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;#include &amp;#60;stdio.h&amp;#62;&lt;br /&gt;#include &amp;#60;string.h&amp;#62;&lt;br /&gt;#include &amp;#60;stdlib.h&amp;#62;&lt;br /&gt;#include &amp;#60;sys/socket.h&amp;#62;&lt;br /&gt;#include &amp;#60;arpa/inet.h&amp;#62;&lt;br /&gt;#include &amp;#60;unistd.h&amp;#62;&lt;br /&gt;#include &amp;#60;pthread.h&amp;#62;&lt;br /&gt;&lt;br /&gt;void *connection_handler&amp;#40;void *&amp;#41;;&lt;br /&gt;&lt;br /&gt;int main&amp;#40;int argc, char *argv&amp;#91;&amp;#93;&amp;#41;&lt;br /&gt;{&lt;br /&gt; &amp;nbsp; &amp;nbsp;int socket_desc, client_sock, c, *new_sock;&lt;br /&gt; &amp;nbsp; &amp;nbsp;struct sockaddr_in server, client;&lt;br /&gt; &amp;nbsp; &amp;nbsp;&lt;br /&gt; &amp;nbsp; &amp;nbsp;socket_desc = socket&amp;#40;AF_INET, SOCK_STREAM, 0&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;if&amp;#40;socket_desc == -1&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;{&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf&amp;#40;&amp;#34;Could not create socket&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt; &amp;nbsp; &amp;nbsp;puts&amp;#40;&amp;#34;Socket created&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;&lt;br /&gt; &amp;nbsp; &amp;nbsp;server.sin_family = AF_INET;&lt;br /&gt; &amp;nbsp; &amp;nbsp;server.sin_addr.s_addr = INADDR_ANY;&lt;br /&gt; &amp;nbsp; &amp;nbsp;server.sin_port = htons&amp;#40;8888&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;&lt;br /&gt; &amp;nbsp; &amp;nbsp;if&amp;#40;bind &amp;#40;socket_desc,&amp;#40;struct sockaddr *&amp;#41;&amp;amp;server, sizeof&amp;#40;server&amp;#41;&amp;#41; &amp;#60; 0&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;{&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;perror&amp;#40;&amp;#34;Bind Failed.&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return 1;&lt;br /&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt; &amp;nbsp; &amp;nbsp;puts&amp;#40;&amp;#34;Bind Completed&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;listen&amp;#40;socket_desc, 3&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;&lt;br /&gt; &amp;nbsp; &amp;nbsp;puts&amp;#40;&amp;#34;Waiting for incoming connections...&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;c = sizeof&amp;#40;struct sockaddr_in&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;&lt;br /&gt; &amp;nbsp; &amp;nbsp;puts&amp;#40;&amp;#34;Waiting for incoming connections...&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;c = sizeof&amp;#40;struct sockaddr_in&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;&lt;br /&gt; &amp;nbsp; &amp;nbsp;while&amp;#40;&amp;#40;client_sock = accept&amp;#40;socket_desc,&amp;#40;struct sockaddr *&amp;#41;&amp;amp;client, &amp;#40;socklen_t*&amp;#41;&amp;amp;c&amp;#41;&amp;#41;&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;{&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; puts&amp;#40;&amp;#34;Connection Accepted&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pthread_t sniffer_thread;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; new_sock = malloc&amp;#40;1&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; *new_sock = client_sock;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt; &amp;nbsp; &amp;nbsp;if&amp;#40;pthread_create&amp;#40;&amp;amp;sniffer_thread, NULL, connection_handler, &amp;#40;void*&amp;#41; new_sock&amp;#41;&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;{&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;perror&amp;#40;&amp;#34;Thred could not be created.&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return 1;&lt;br /&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt; &amp;nbsp; &amp;nbsp;puts&amp;#40;&amp;#34;Handler Assigned&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;&lt;br /&gt; &amp;nbsp; &amp;nbsp;if&amp;#40;client_sock &amp;#60; 0&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;{&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; perror&amp;#40;&amp;#34;Accept failed&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return 1;&lt;br /&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt; &amp;nbsp; &amp;nbsp;return 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void *connection_handler&amp;#40;void *socket_desc&amp;#41;&lt;br /&gt;{&lt;br /&gt; &amp;nbsp; &amp;nbsp; int sock = *&amp;#40;int*&amp;#41;socket_desc;&lt;br /&gt; &amp;nbsp; &amp;nbsp; int read_size;&lt;br /&gt; &amp;nbsp; &amp;nbsp; char *message, client_message&amp;#91;2000&amp;#93;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &lt;br /&gt; &amp;nbsp; &amp;nbsp; message = &amp;#34;Type the mesage and the server shall repeat it.&amp;#092;n&amp;#34;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; write&amp;#40;sock, message, strlen&amp;#40;message&amp;#41;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &lt;br /&gt; &amp;nbsp; &amp;nbsp; while&amp;#40;&amp;#40;read_size = recv&amp;#40;sock, client_message, 2000, 0&amp;#41;&amp;#41; &amp;#62; 0&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp; {&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;write&amp;#40;sock, client_message, strlen&amp;#40;client_message&amp;#41;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; }&lt;br /&gt; &amp;nbsp; &amp;nbsp; if&amp;#40;read_size == 0&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp; {&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;puts&amp;#40;&amp;#34;Client disconnected&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fflush&amp;#40;stdout&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; }&lt;br /&gt; &amp;nbsp; &amp;nbsp; else if&amp;#40;read_size == -1&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp; {&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;perror&amp;#40;&amp;#34;recv failed&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; }&lt;br /&gt; &amp;nbsp; &amp;nbsp; &lt;br /&gt; &amp;nbsp; &amp;nbsp; free&amp;#40;socket_desc&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; return 0;&lt;br /&gt;}&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve checked my code and I couldn&amp;#39;t find anything wrong with it, I think I&amp;#39;m not missing any curly brackets, and I&amp;#39;m sure I&amp;#39;ve included all the necessary headers for this. Any idea what might go wrong?&lt;br /&gt;&lt;br /&gt;Also, I&amp;#39;m compiling this using gcc on Cygwin, if that helps.</description>
            <author>fuser</author>
            <category>Codemasters</category>
            <pubDate>Wed, 19 Jun 2013 15:35:16 +0800</pubDate>
        </item>
        <item>
            <title>I can&amp;#39;t mount my Windows partition</title>
            <link>http://forum.lowyat.net/topic/2763300</link>
            <description>Well, recently I downloaded and installed Linux Mint 14 Nadia (MATE), and I installed it via the Windows installer, and while I&amp;#39;m glad that I can dual-boot&lt;br /&gt;between both OS&amp;#39;s with no problems, I am unable to access my Windows partition from Linux.&lt;br /&gt;&lt;br /&gt;The reason I want to access it, is because I want to access my music Library there (which is probably around 100 GB), but when I try to mount it,&lt;br /&gt;I would get this message:&lt;br /&gt;&lt;br /&gt;&lt;img src='http://i1213.photobucket.com/albums/cc480/xhdrx/Screenshot-UntitledWindow_zps26fe98f0.png' border='0' alt='user posted image' /&gt;&lt;br /&gt;&lt;br /&gt;When I run cat /etc/fstab, I would get the following result:&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt; &amp;nbsp; &amp;nbsp;# /etc/fstab&amp;#58; static file system information.&lt;br /&gt; &amp;nbsp; &amp;nbsp;#&lt;br /&gt; &amp;nbsp; &amp;nbsp;# Use &amp;#39;blkid&amp;#39; to print the universally unique identifier for a&lt;br /&gt; &amp;nbsp; &amp;nbsp;# device; this may be used with UUID= as a more robust way to name devices&lt;br /&gt; &amp;nbsp; &amp;nbsp;# that works even if disks are added and removed. See fstab&amp;#40;5&amp;#41;.&lt;br /&gt; &amp;nbsp; &amp;nbsp;#&lt;br /&gt; &amp;nbsp; &amp;nbsp;# &amp;#60;file system&amp;#62; &amp;#60;mount point&amp;#62; &amp;nbsp; &amp;#60;type&amp;#62; &amp;nbsp;&amp;#60;options&amp;#62; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#60;dump&amp;#62; &amp;nbsp;&amp;#60;pass&amp;#62;&lt;br /&gt; &amp;nbsp; &amp;nbsp;proc &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/proc &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; proc &amp;nbsp; &amp;nbsp;nodev,noexec,nosuid 0 &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;br /&gt; &amp;nbsp; &amp;nbsp;/host/linuxmint/disks/root.disk / &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ext4 &amp;nbsp; &amp;nbsp;loop,errors=remount-ro 0 &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;br /&gt; &amp;nbsp; &amp;nbsp;/host/linuxmint/disks/swap.disk none &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;swap &amp;nbsp; &amp;nbsp;loop,sw &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;br /&gt; &amp;nbsp; &amp;nbsp;hadri@linuxm&amp;#93;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;When I ran fdisk -l&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp;Disk /dev/sda&amp;#58; 320.1 GB, 320072933376 bytes&lt;br /&gt; &amp;nbsp; &amp;nbsp;255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors&lt;br /&gt; &amp;nbsp; &amp;nbsp;Units = sectors of 1 * 512 = 512 bytes&lt;br /&gt; &amp;nbsp; &amp;nbsp;Sector size &amp;#40;logical/physical&amp;#41;&amp;#58; 512 bytes / 512 bytes&lt;br /&gt; &amp;nbsp; &amp;nbsp;I/O size &amp;#40;minimum/optimal&amp;#41;&amp;#58; 512 bytes / 512 bytes&lt;br /&gt; &amp;nbsp; &amp;nbsp;Disk identifier&amp;#58; 0x48d47e19&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; Device Boot &amp;nbsp; &amp;nbsp; &amp;nbsp;Start &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End &amp;nbsp; &amp;nbsp; &amp;nbsp;Blocks &amp;nbsp; Id &amp;nbsp;System&lt;br /&gt; &amp;nbsp; &amp;nbsp;/dev/sda1 &amp;nbsp; * &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2048 &amp;nbsp; &amp;nbsp; &amp;nbsp;206847 &amp;nbsp; &amp;nbsp; &amp;nbsp;102400 &amp;nbsp; &amp;nbsp;7 &amp;nbsp;HPFS/NTFS/exFAT&lt;br /&gt; &amp;nbsp; &amp;nbsp;/dev/sda2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;206848 &amp;nbsp; 625137344 &amp;nbsp; 312465248+ &amp;nbsp; 7 &amp;nbsp;HPFS/NTFS/exFAT&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;</description>
            <author>fuser</author>
            <category>Linux &amp;amp; Open Source Software</category>
            <pubDate>Fri, 05 Apr 2013 17:50:00 +0800</pubDate>
        </item>
        <item>
            <title>How to delete .Trashes folder</title>
            <link>http://forum.lowyat.net/topic/2751761</link>
            <description>So, for some reason my pendrive has these two mystery folders, a blank folder with no name and a .Trashes folder.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve searched google for a solution, but all I can find is that the .Trashes folder is created when I plug it into a Mac, but the problem is, I don&amp;#39;t use a Mac, and all the computers I&amp;#39;ve plugged it into so far are Windows PCs, so this is baffling.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve tried deleting it manually and using SmadAV to remove them, but they always return.&lt;br /&gt;&lt;br /&gt;Can anyone suggest a tool I can use to remove them before I reformat my pendrive?</description>
            <author>fuser</author>
            <category>Technical Support</category>
            <pubDate>Wed, 27 Mar 2013 09:38:40 +0800</pubDate>
        </item>
        <item>
            <title>Where can I buy a microcontroller kit?</title>
            <link>http://forum.lowyat.net/topic/0</link>
            <description></description>
            <category>Hardware</category>
            <pubDate>Thu, 01 Jan 1970 07:30:00 +0800</pubDate>
        </item>
        <item>
            <title>Where can I buy a microcontroller kit?</title>
            <link>http://forum.lowyat.net/topic/2731408</link>
            <description>Hi guys, my lecturer has recently given us a project for this semester, where she wants us to buy and program a microcontroller kit as this semester&amp;#39;s project.&lt;br /&gt;&lt;br /&gt;Some of the kits she has suggested included &lt;a href='http://www.parallax.com/' target='_blank'&gt;Parallax&lt;/a&gt; and &lt;a href='http://www.arduino.cc/' target='_blank'&gt;Arduino&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Do you guys know anywhere around the Klang Valley or somewhere around Penang/Kedah/Perlis area where I can buy such a kit and how much does a kit usually cost? &lt;br /&gt;&lt;br /&gt;I would&amp;#39;ve bought it online except I don&amp;#39;t even have a maybank2u account to do so, and in the event that said kit is faulty, I want to be able to send it back and obtain a replacement unit immediately.&lt;br /&gt;&lt;br /&gt;PS: I know that this sub-section is for computer hardware, but I&amp;#39;m unable to find a sub-section dedicated to electronics in this forum, so I thought I&amp;#39;d post it here&lt;br /&gt;&lt;br /&gt;Thanks.</description>
            <author>fuser</author>
            <category>Hardware</category>
            <pubDate>Mon, 11 Mar 2013 10:03:05 +0800</pubDate>
        </item>
        <item>
            <title>Unable To Determine Problem In Java Code</title>
            <link>http://forum.lowyat.net/topic/2325751</link>
            <description>Well, basically our teacher gave us some code to show how classes and inheritance works, and to write a few programs based on the code given, but everyone in our class could never get it running. I&amp;#39;ve tried referring to my own textbook but I can&amp;#39;t seem to be able to determine where went wrong.&lt;br /&gt;&lt;br /&gt;This is our superclass:&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;package lecturer;&lt;br /&gt;import java.io.*;&lt;br /&gt;&lt;br /&gt;public class Lecturer {&lt;br /&gt;&lt;br /&gt;	public String lectId;&lt;br /&gt;	public String lectName;&lt;br /&gt;	public int noOfWorkDay;&lt;br /&gt;	public double partTimeRate = 69.75;&lt;br /&gt;	public double fullTimeRate = 109.98;&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp;public Lecturer&amp;#40;&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;{&lt;br /&gt; &amp;nbsp; &amp;nbsp;	lectId = &amp;#34;&amp;#34;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;	lectName = &amp;#34;&amp;#34;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;	noOfWorkDay = 0;&lt;br /&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp;public Lecturer&amp;#40;String lectId, String lectName, int noOfWorkDay, String workingPlace, String address&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;{&lt;br /&gt; &amp;nbsp; &amp;nbsp;	this.lectId = lectId;&lt;br /&gt; &amp;nbsp; &amp;nbsp;	this.lectName = lectName;&lt;br /&gt; &amp;nbsp; &amp;nbsp;	this.noOfWorkDay = noOfWorkDay;&lt;br /&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp;public void setLecturer&amp;#40;String lectId, String lectName, int noOfWorkDay, String workingPlace, String address&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;{&lt;br /&gt; &amp;nbsp; &amp;nbsp;	this.lectId = lectId;&lt;br /&gt; &amp;nbsp; &amp;nbsp;	this.lectName = lectName;&lt;br /&gt; &amp;nbsp; &amp;nbsp;	this.noOfWorkDay = noOfWorkDay;&lt;br /&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp;public void setLectId&amp;#40;String lectId&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;{&lt;br /&gt; &amp;nbsp; &amp;nbsp;	this.lectId = lectId;&lt;br /&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp;public void setLectName&amp;#40;String lectName&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;{&lt;br /&gt; &amp;nbsp; &amp;nbsp;	this.lectName = lectName;&lt;br /&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp;public void setNoOfWorkDay&amp;#40;int noOfWorkDay&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;{&lt;br /&gt; &amp;nbsp; &amp;nbsp;	this.noOfWorkDay = noOfWorkDay;&lt;br /&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp;public String getlectId&amp;#40;&amp;#41;{return lectId;}&lt;br /&gt; &amp;nbsp; &amp;nbsp;public String getLectname&amp;#40;&amp;#41; {return lectName;}&lt;br /&gt; &amp;nbsp; &amp;nbsp;public int getNoOfWorkDay&amp;#40;&amp;#41;{return noOfWorkDay;}&lt;br /&gt; &amp;nbsp; &amp;nbsp;public double getFullTimeRate&amp;#40;&amp;#41;{return fullTimeRate;}&lt;br /&gt; &amp;nbsp; &amp;nbsp;public double getPartTimeRate&amp;#40;&amp;#41;{return partTimeRate;}&lt;br /&gt;}&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;and LecturerFullTime:&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt;&lt;br /&gt;package lecturer;&lt;br /&gt;import java.io.*;&lt;br /&gt;&lt;br /&gt;public class LecturerPartTime extends Lecturer&lt;br /&gt;{&lt;br /&gt;	public String workingPlace;&lt;br /&gt;	public String address;&lt;br /&gt;	public double salary;&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp;public LecturerPartTime&amp;#40;&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;{&lt;br /&gt; &amp;nbsp; &amp;nbsp;	super&amp;#40;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;	workingPlace = &amp;#34;&amp;#34;;&lt;br /&gt; &amp;nbsp;address = &amp;#34;&amp;#34;;&lt;br /&gt; &amp;nbsp;salary = 0.0;&lt;br /&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp;public LecturerPartTime&amp;#40;String lectId, String lectName, int noOfWorkDay, String workingPlace,String address&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;{&lt;br /&gt; &amp;nbsp; &amp;nbsp;	super&amp;#40;lectId, lectName, noOfWorkDay&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;	this.workingPlace= workingPlace;&lt;br /&gt; &amp;nbsp; &amp;nbsp;	this.address = address;&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp;public void setLecturerPartTime&amp;#40;String lectId, String lectName, int noOfWorkDay, String workingPlace, String address&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;{&lt;br /&gt; &amp;nbsp;super.setLecturer&amp;#40;lectId, lectName, noOfWorkDay&amp;#41;;&lt;br /&gt; &amp;nbsp;this.workingPlace = workingPlace;&lt;br /&gt; &amp;nbsp;this.address = address;&lt;br /&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;br /&gt;	public void calculateSalary&amp;#40;&amp;#41;&lt;br /&gt;	{&lt;br /&gt; &amp;nbsp;salary = noOfWorkDay * partTimeRate;&lt;br /&gt;	}&lt;br /&gt;&lt;br /&gt;	public String toString&amp;#40;&amp;#41;&lt;br /&gt;	{&lt;br /&gt; &amp;nbsp;LecturerFullTime lft = new LecturerFullTime&amp;#40;&amp;#41;;&lt;br /&gt; &amp;nbsp;{&lt;br /&gt; &amp;nbsp;	return &amp;#34;Lecturer ID&amp;#58; &amp;#34; + lectId + &amp;#34;Lecturer Name&amp;#58; &amp;#34; + lectName + &amp;#34; Number of Working Days&amp;#58; &amp;#34; + noOfWorkDay&lt;br /&gt; &amp;nbsp;	+ &amp;#34;Address&amp;#58; &amp;#34; + address + &amp;#34;Salary&amp;#58; RM &amp;#34; + salary;&lt;br /&gt; &amp;nbsp;}&lt;br /&gt;	}&lt;br /&gt;}&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;and LecturerPartTime:&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;package lecturer;&lt;br /&gt;import java.io.*;&lt;br /&gt;&lt;br /&gt;public class LecturerPartTime extends Lecturer&lt;br /&gt;{&lt;br /&gt;	public String workingPlace;&lt;br /&gt;	public String address;&lt;br /&gt;	public double salary;&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp;public LecturerPartTime&amp;#40;&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;{&lt;br /&gt; &amp;nbsp; &amp;nbsp;	super&amp;#40;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;	workingPlace = &amp;#34;&amp;#34;;&lt;br /&gt; &amp;nbsp;address = &amp;#34;&amp;#34;;&lt;br /&gt; &amp;nbsp;salary = 0.0;&lt;br /&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp;public LecturerPartTime&amp;#40;String lectId, String lectName, int noOfWorkDay, String workingPlace,String address&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;{&lt;br /&gt; &amp;nbsp; &amp;nbsp;	super&amp;#40;lectId, lectName, noOfWorkDay&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;	this.workingPlace= workingPlace;&lt;br /&gt; &amp;nbsp; &amp;nbsp;	this.address = address;&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp;public void setLecturerPartTime&amp;#40;String lectId, String lectName, int noOfWorkDay, String workingPlace, String address&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;{&lt;br /&gt; &amp;nbsp;super.setLecturer&amp;#40;lectId, lectName, noOfWorkDay&amp;#41;;&lt;br /&gt; &amp;nbsp;this.workingPlace = workingPlace;&lt;br /&gt; &amp;nbsp;this.address = address;&lt;br /&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;br /&gt;	public void calculateSalary&amp;#40;&amp;#41;&lt;br /&gt;	{&lt;br /&gt; &amp;nbsp;salary = noOfWorkDay * partTimeRate;&lt;br /&gt;	}&lt;br /&gt;&lt;br /&gt;	public String toString&amp;#40;&amp;#41;&lt;br /&gt;	{&lt;br /&gt; &amp;nbsp;LecturerFullTime lft = new LecturerFullTime&amp;#40;&amp;#41;;&lt;br /&gt; &amp;nbsp;{&lt;br /&gt; &amp;nbsp;	return &amp;#34;Lecturer ID&amp;#58; &amp;#34; + lectId + &amp;#34;Lecturer Name&amp;#58; &amp;#34; + lectName + &amp;#34; Number of Working Days&amp;#58; &amp;#34; + noOfWorkDay&lt;br /&gt; &amp;nbsp;	+ &amp;#34;Address&amp;#58; &amp;#34; + address + &amp;#34;Salary&amp;#58; RM &amp;#34; + salary;&lt;br /&gt; &amp;nbsp;}&lt;br /&gt;	}&lt;br /&gt;}&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;and this is the main Class.&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;package lecturer;&lt;br /&gt;&lt;br /&gt;import java.io.*;&lt;br /&gt;import java.util.*;&lt;br /&gt;import lecturer.Lecturer;&lt;br /&gt;import lecturer.LecturerFullTime;&lt;br /&gt;import lecturer.LecturerPartTime;&lt;br /&gt;&lt;br /&gt;public class LecturerApp&lt;br /&gt;{&lt;br /&gt;	public static void main&amp;#40;String&amp;#91;&amp;#93; args&amp;#41;&lt;br /&gt;	{&lt;br /&gt; &amp;nbsp;Scanner scanner = new Scanner&amp;#40;System.in&amp;#41;;&lt;br /&gt; &amp;nbsp;String lineSeparator = System.getProperty&amp;#40;&amp;#34;line.separator&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;scanner.useDelimeter&amp;#40;lineSeparator&amp;#41;;&lt;br /&gt;&lt;br /&gt; &amp;nbsp;LecturerFullTime lft = new LecturerFullTime&amp;#40;&amp;#41;;&lt;br /&gt; &amp;nbsp;LecturerPartTime lpt = new LecturerPartTime&amp;#40;&amp;#41;;&lt;br /&gt; &amp;nbsp;int totalRecord = 10;&lt;br /&gt;&lt;br /&gt; &amp;nbsp;Lecturer Lect&amp;#91;&amp;#93; = new Lecturer&amp;#91;totalRecord&amp;#93;;&lt;br /&gt;&lt;br /&gt; &amp;nbsp;for &amp;#40;int i = 0; i &amp;#60; totalRecord; i++&amp;#41;&lt;br /&gt; &amp;nbsp;{&lt;br /&gt; &amp;nbsp;	System.out.println&amp;#40;&amp;#34;enter lecturer ID&amp;#58; &amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	String lectId = scanner.nextLine&amp;#40;&amp;#41;;&lt;br /&gt;&lt;br /&gt; &amp;nbsp;	System.out.print&amp;#40;&amp;#34;Lecturer name&amp;#58; &amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	String lectName = scanner.nextLine&amp;#40;&amp;#41;;&lt;br /&gt;&lt;br /&gt; &amp;nbsp;	System.out.print&amp;#40;&amp;#34;No of working days&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	int noOfWorkDay = Integer.parseInt&amp;#40;scanner.nextLine&amp;#40;&amp;#41;&amp;#41;;&lt;br /&gt;&lt;br /&gt; &amp;nbsp;	System.out.print&amp;#40;&amp;#34;Please make choice&amp;#58; 1 - Full Time lecturer 2 - Part Time Lecturer &amp;#58; &amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;	String choose = scanner.nextLine&amp;#40;&amp;#41;;&lt;br /&gt;&lt;br /&gt; &amp;nbsp;	switch&amp;#40;choose.String&amp;#40;0&amp;#41;&amp;#41;&lt;br /&gt; &amp;nbsp;	{&lt;br /&gt; &amp;nbsp; &amp;nbsp;case &amp;#34;1&amp;#34;&amp;#58; System.out.print&amp;#40;&amp;#34;Faculty name&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;String facultyname = scanner.nextLine&amp;#40;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;System.out.print&amp;#40;&amp;#34;Room No&amp;#58; &amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;String roomNo = scanner.nextLine&amp;#40;&amp;#41;;&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp;lft.setLecturerFullTime&amp;#40;lectId, lectName, noOfWorkDay, facultyName, roomNo&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;lft.calculateSalary&amp;#40;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;Lect&amp;#91;i&amp;#93; = lft;&lt;br /&gt; &amp;nbsp; &amp;nbsp;break;&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp;case &amp;#34;2&amp;#34;&amp;#58; System.out.print&amp;#40;&amp;#34;Working place&amp;#58; &amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;String workPlace = scanner.nextLine&amp;#40;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;System.out.print&amp;#40;&amp;#34;Address&amp;#58; &amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;String address = scanner.nextLine&amp;#40;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;lpt.setLecturerPartTime&amp;#40;lectId, lectName, noOfWorkDay, workPlace, address&amp;#41;;&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp;lpt.calculateSalary&amp;#40;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;Lect&amp;#91;i&amp;#93; = lpt;&lt;br /&gt; &amp;nbsp; &amp;nbsp;break;&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp;default&amp;#58; System.out.println&amp;#40;&amp;#34;sorry, wrong choice&amp;#34;&amp;#41;;&lt;br /&gt;&lt;br /&gt; &amp;nbsp;	}&lt;br /&gt; &amp;nbsp;}&lt;br /&gt;	}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;When I ran the main class, I get the following errors:&lt;br /&gt;&lt;br /&gt;&lt;!--QuoteBegin--&gt;&lt;div class='quotetop'&gt;QUOTE&lt;/div&gt;&lt;div class='quotemain'&gt;&lt;!--QuoteEBegin--&gt;C:&amp;#092;Users&amp;#092;fuser&amp;#092;Documents&amp;#092;Java Files&amp;#092;new Lecturer&amp;#092;LecturerApp.java:15: cannot find symbol&lt;br /&gt;symbol&amp;nbsp; : method useDelimeter(java.lang.String)&lt;br /&gt;location: class java.util.Scanner&lt;br /&gt;&amp;nbsp; scanner.useDelimeter(lineSeparator);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  ^&lt;br /&gt;C:&amp;#092;Users&amp;#092;fuser&amp;#092;Documents&amp;#092;Java Files&amp;#092;new Lecturer&amp;#092;LecturerApp.java:37: cannot find symbol&lt;br /&gt;symbol&amp;nbsp; : method String(int)&lt;br /&gt;location: class java.lang.String&lt;br /&gt;&amp;nbsp; 	switch(choose.String(0))&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ^&lt;br /&gt;C:&amp;#092;Users&amp;#092;fuser&amp;#092;Documents&amp;#092;Java Files&amp;#092;new Lecturer&amp;#092;LecturerApp.java:44: cannot find symbol&lt;br /&gt;symbol&amp;nbsp; : variable facultyName&lt;br /&gt;location: class lecturer.LecturerApp&lt;br /&gt;&amp;nbsp; &amp;nbsp; lft.setLecturerFullTime(lectId, lectName, noOfWorkDay, facultyName, roomNo);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  ^&lt;br /&gt;3 errors&lt;br /&gt;&lt;br /&gt;Process completed.&lt;br /&gt;&lt;!--QuoteEnd--&gt;&lt;/div&gt;&lt;!--QuoteEEnd--&gt;&lt;br /&gt;&lt;br /&gt;sorry for the long post, but can anyone determine what went wrong?</description>
            <author>fuser</author>
            <category>Codemasters</category>
            <pubDate>Sun, 29 Apr 2012 14:01:02 +0800</pubDate>
        </item>
        <item>
            <title>VMWare or VirtualBox?</title>
            <link>http://forum.lowyat.net/topic/2260089</link>
            <description>Hey guys, I have an assignment where we have to run Linux (either dual boot or virtualization) so I&amp;#39;m going for Virtualization.&lt;br /&gt;&lt;br /&gt;My question is, which is the better Virtualisation software for learning purposes? VMWare Player or Virtual Box? &lt;br /&gt;</description>
            <author>fuser</author>
            <category>Software</category>
            <pubDate>Sat, 10 Mar 2012 14:19:49 +0800</pubDate>
        </item>
        <item>
            <title>CD drive not working</title>
            <link>http://forum.lowyat.net/topic/2214392</link>
            <description>For some reason, my CD drive on my laptop is no longer working.&lt;br /&gt;&lt;br /&gt;It just happened like that without any prior warning, and this means I am unable to read any CDs or burn new CDs as well.&lt;br /&gt;&lt;br /&gt;Whenever I wanted to play a CD or burn a CD, My Computer will just stay there and try to read until it hangs and informs that there is no CD inside the drive, even when there is a CD inside it.&lt;br /&gt;&lt;br /&gt;When I checked device manager, it says that my CD drive is working fine. I even tried disabling and enabling it back again, as well as updating the drivers for the cd drive, but the problem still persists.&lt;br /&gt;&lt;br /&gt;&lt;img src='http://i1213.photobucket.com/albums/cc480/xhdrx/cddrive.jpg' border='0' alt='user posted image' /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src='http://i1213.photobucket.com/albums/cc480/xhdrx/cddrive-1.jpg' border='0' alt='user posted image' /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src='http://i1213.photobucket.com/albums/cc480/xhdrx/cddrive-2.jpg' border='0' alt='user posted image' /&gt;</description>
            <author>fuser</author>
            <category>Technical Support</category>
            <pubDate>Sun, 05 Feb 2012 12:35:29 +0800</pubDate>
        </item>
        <item>
            <title>Weird problem with connecting to the internet.</title>
            <link>http://forum.lowyat.net/topic/2194892</link>
            <description>So basically I have this really weird problem with my Windows 7 laptop. You see, most of the time it would be able to connect to any wired or wireless network without any problem, but there are times where no matter how I tried, I wouldn&amp;#39;t be able to connect to both wireless and wired networks. &lt;br /&gt;&lt;br /&gt;When this happens, I noticed that the connection properties will show that the autoconfiguration IPv4 address is 169.254.99.61, with a subnet address of 255.255.0.0 I have tried restarting my computer several times, disabling and enabling my network interface card and wireless receiver, but to no avail. This problem will come and go by itself, but there are times when I&amp;#39;ve restarted for more than 10 times before I can connect to a network, it&amp;#39;s just ridiculous. Like I said, this happens for both wired and wireless networks. Any ideas what might cause this? I&amp;#39;ve included some screenshots in case it will help.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This happens to almost all wired and wireless networks I&amp;#39;ve tried, sometimes there would be five or more wireless networks, and I would get the same error.&lt;br /&gt;&lt;br /&gt;Note: the first screenshot is wireless, the second one is for wired. And the last one is when I tried to diagnose the problem and that was the message I&amp;#39;ve received.&lt;br /&gt;</description>
            <author>fuser</author>
            <category>Technical Support</category>
            <pubDate>Wed, 18 Jan 2012 16:20:14 +0800</pubDate>
        </item>
        <item>
            <title>advice in getting wireless broadband</title>
            <link>http://forum.lowyat.net/topic/0</link>
            <description></description>
            <category>Networks and Broadband</category>
            <pubDate>Thu, 01 Jan 1970 07:30:00 +0800</pubDate>
        </item>
        <item>
            <title>advice in getting wireless broadband</title>
            <link>http://forum.lowyat.net/topic/2058831</link>
            <description>Hey guys, I just got transferred to UiTM Arau (in Perlis) and I&amp;#39;m staying in campus for now, the main problem is that there are limited places for internet access, and also there is no wifi in campus.&lt;br /&gt;&lt;br /&gt;so I&amp;#39;m thinking of getting a wireless broadband, preferably something that uses only a dongle so that I don&amp;#39;t have to perform any setups in my dorm room, I&amp;#39;m looking for something that I can just plug in and use immediately.&lt;br /&gt;&lt;br /&gt;So I&amp;#39;m wondering, what wireless providers are available in Perlis, and is it reliable enough for me to use everyday? and what is the usual price range for wireless broadband according to provider?</description>
            <author>fuser</author>
            <category>Networks and Broadband</category>
            <pubDate>Wed, 05 Oct 2011 12:53:07 +0800</pubDate>
        </item>
        <item>
            <title>how to install arab language for nokia e5?</title>
            <link>http://forum.lowyat.net/topic/1600296</link>
            <description>My father recently bought a nokia e5, and my father wants me to install the arabic language option for the phone.&lt;br /&gt;&lt;br /&gt;The problem is I have been googling for days but I still could not find a solution for this issue.&lt;br /&gt;&lt;br /&gt;Does anyone else knows how to install it, or is there any nokia service centers that can help me with this?&lt;br /&gt;&lt;br /&gt;</description>
            <author>fuser</author>
            <category>Mobile Phones and Tablets</category>
            <pubDate>Thu, 14 Oct 2010 21:11:25 +0800</pubDate>
        </item>
    </channel>
</rss>
