<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>Lowyat.NET: Latest topics by kramuse</title>
        <description></description>
        <link>http://forum.lowyat.net/</link>
        <lastBuildDate>Tue, 09 Jun 2026 11:35:06 +0800</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>C: Reading from file</title>
            <link>http://forum.lowyat.net/topic/349804</link>
            <description>I have a file and I need to read the first few lines from it to determine some parameters.&lt;br /&gt;&lt;br /&gt;My question is, would it be possible to read up a whole bunch of lines and then compare its value to what I am looking for?&lt;br /&gt;Here is an example of the kind of data I need to read to determine my parameters and location etc. The coordnates(unbolded) I will read after I determine where NODE_COORD_SECTION is located.&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;&lt;b&gt;NAME : xqf131&lt;br /&gt;COMMENT : Bonn VLSI data set with 131 points&lt;br /&gt;COMMENT : Uni Bonn, Research Institute for Discrete Math&lt;br /&gt;COMMENT : Contributed by Andre Rohe&lt;br /&gt;TYPE : TSP&lt;br /&gt;DIMENSION : 131&lt;br /&gt;EDGE_WEIGHT_TYPE : EUC_2D&lt;br /&gt;NODE_COORD_SECTION&lt;/b&gt;&lt;br /&gt;1 0 13&lt;br /&gt;2 0 26&lt;br /&gt;3 0 27&lt;br /&gt;..&lt;br /&gt;...&lt;br /&gt;....&lt;br /&gt;&lt;!--QuoteEnd--&gt;&lt;/div&gt;&lt;!--QuoteEEnd--&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;What would be the best way to program this? Also, how does one detect a &amp;#39;&amp;#092;n&amp;#39; or end of line? What I have in mind is&lt;br /&gt;-read in the first 1000 chars or something&lt;br /&gt;-compare string by string for wht I am looking for then read data&lt;br /&gt;-if no NODE_COORD_SECTION, meaning I have to read somemore chars&lt;br /&gt;Is this possible cuz I do not really know how to implement it in code?&lt;br /&gt;&lt;br /&gt;Really need some help here, stuck with this for a long time only made it compatible with the above data length.&lt;br /&gt;</description>
            <author>kramuse</author>
            <category>Codemasters</category>
            <pubDate>Thu, 05 Oct 2006 21:11:49 +0800</pubDate>
        </item>
        <item>
            <title>Throttling gone?</title>
            <link>http://forum.lowyat.net/topic/348356</link>
            <description>Anyone else feel the same?&lt;br /&gt;&lt;br /&gt;The last 15 minutes I have been cruising around 15-25 kBps and not a single Malaysian peer. Sometimes it fluctuates to 40 but then drops back. I checked with my friend in Seri Kembangan, he&amp;#39;s reporting 30-50 kBps. How about you guys?</description>
            <author>kramuse</author>
            <category>Networks and Broadband</category>
            <pubDate>Mon, 02 Oct 2006 18:37:49 +0800</pubDate>
        </item>
        <item>
            <title>Motorzr ad FrontPage</title>
            <link>http://forum.lowyat.net/topic/348104</link>
            <description>The same problem with astro ad previously as mentioned in this thread &amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;a href='http://forum.lowyat.net/index.php?showtopic=345564' target='_blank'&gt;http://forum.lowyat.net/index.php?showtopic=345564&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The ad covers the forum links. Cant press</description>
            <author>kramuse</author>
            <category>Feedback and Helpdesk</category>
            <pubDate>Mon, 02 Oct 2006 02:29:42 +0800</pubDate>
        </item>
        <item>
            <title>Converting 4 char to 1 integer</title>
            <link>http://forum.lowyat.net/topic/344973</link>
            <description>I am writing a hashing algortihm in C. Now the thing is, I am to read 32-bits of an incoming 48-bit MAC address. I am going to use only the least significant 32-bits for my hashing. These inputs are in HEX format.&lt;br /&gt;&lt;br /&gt;My current program reads only the 32-bits(no idea how to read the whole 48-bits and filter out the 32-bits) and storing them in a &amp;#39;char&amp;#39; array of size 4(since 1 char = 8 bits = 1 byte). The thing is, it would be easier to calculate my hash key(reducing overhead) if I am able to use it as an integer than 4 chars(although folding is a good thing).&lt;br /&gt;&lt;br /&gt;Thus my question, how to convert 4 char type data that stores HEX numbers into one integer type?&lt;br /&gt;&lt;br /&gt;And if possible, how do I read the 48-bits and filter out the 32-bits and convert into integer type.&lt;br /&gt;&lt;br /&gt;I would appreciate any help provided.</description>
            <author>kramuse</author>
            <category>Codemasters</category>
            <pubDate>Sun, 24 Sep 2006 19:49:06 +0800</pubDate>
        </item>
        <item>
            <title>Fibre Optics Internet Connection</title>
            <link>http://forum.lowyat.net/topic/341599</link>
            <description>&lt;b&gt;&lt;span style='font-size:14pt;line-height:100%'&gt;Asiaspace, Tenaga in landmark deal&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;i&gt;By Malcolm Rosario&lt;/i&gt;&lt;br /&gt;bt@nstp.com.my&lt;br /&gt;&lt;br /&gt;September 16 2006&lt;br /&gt;&lt;br /&gt;ASIASPACE DotCom Sdn Bhd, a company led by businessman Datuk Abdul Ghani Abdullah, has entered into a landmark agreement with Tenaga Nasional Bhd (TNB), enabling it to provide broadband services by using the latter&amp;#39;s fibre optic network.&lt;br /&gt;&lt;br /&gt;Business Times was told that the agreement enables Asiaspace to utilise TNB&amp;#39;s vast fibre optic network - believed to be around 10,000km - as well as its facilities to offer duct fibre services and lease line services to businesses and eventually home users.&lt;br /&gt;&lt;br /&gt;When contacted at his office in Kuala Lumpur, Asiaspace&amp;#39;s general manager Muhd Yusof Arifin confirmed that Asiaspace will be offering competitively- priced broadband services by using TNB&amp;#39;s vast fibre optic network.&lt;br /&gt;&lt;br /&gt;However, he declined to reveal the commercial arrangements between Asiaspace and TNB.&lt;br /&gt;&lt;br /&gt;Industry players believe that the TNB-Asiaspace alliance is a step in the right direction for TNB as the only way the state-owned utility company can leverage on its extensive fibre optic network is by leasing it to a Network Facilities Provider (NFP) licencee like Asiaspace and splitting the revenue.&lt;br /&gt;&lt;br /&gt;An NFP licence, issued by the Malaysian Communications and Multimedia Commission, gives the licence holder the right to provide, construct and maintain facilities like earth stations, satellite hubs, towers, poles, ducts and pits.&lt;br /&gt;&lt;br /&gt;Asiaspace is among several companies which have an NFP licence, but the former&amp;#39;s licence is a special kind that does not have restrictions, which makes it attractive to TNB.&lt;br /&gt;&lt;br /&gt;With such a licence, the door will be open for Asiaspace to penetrate further into the information and communications technology (ICT) services industry, and even become one of the members of the proposed national telecommunications infrastructure and management company.&lt;br /&gt;&lt;br /&gt;Last month, Energy, Water and Communications Minister Datuk Seri Dr Lim Keng Yaik said a telecommunications infrastructure and management company was in the works.&lt;br /&gt;&lt;br /&gt;The minister said the company may be formed with the ultimate aim of ensuring every home is wired by fibre optic that allows faster broadband Internet speed.&lt;br /&gt;&lt;br /&gt;The company, possibly to be called the National Infocomm Infrastructure Management Corp (Niimco), will be responsible for building and managing telecommunications infrastructure.&lt;br /&gt;&lt;br /&gt;While the details of Niimco have yet to be finalised, the company may be owned by a consortium that may comprise the Government, Telekom Malaysia Bhd and other industry players. The infrastructure company will become industry neutral.&lt;br /&gt;&lt;br /&gt;&amp;quot;The Government feels that there is a need for Niimco because it is the Governmen&amp;#39;s intention to bring fibre optics to homes in order to get the maximum speed available to move forward into the future,&amp;quot; a telco executive said.&lt;br /&gt;&lt;br /&gt;He said TNB, in its own right, has the required infrastructure and land base to be a big player in the ICT business.&lt;br /&gt;&lt;br /&gt;&amp;quot;TNB can utilise technologies which will enable the company to send data and voice using its existing power lines and grid,&amp;quot; the telco executive said, but added that it will need the NFP licence to do so.&lt;br /&gt;&lt;br /&gt;He said there is no disputing that Asiaspace and TNB can generate massive synergy from the business, not least in leveraging on new technologies to offer consumers high-speed broadband access to the Internet.&lt;br /&gt;&lt;br /&gt;With its huge customer base, TNB already has a captive market for a host of ICT services.&lt;br /&gt;&lt;br /&gt;------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;Taken from:&lt;br /&gt;&lt;a href='http://www.btimes.com.my/Current_News/BT/Saturday/Nation/BT583743.txt/Article/' target='_blank'&gt;&lt;u&gt;http://www.btimes.com.my/Current_News/BT/Saturday/Nation/BT583743.txt/Article/&lt;/u&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I just can&amp;#39;t wait for this. In fact, I am wondering why is Tenaga taking this step instead of offering broadband over power line communication which is basically an extension to their already available infrastructure and should give them total market dominance.&lt;br /&gt;&lt;br /&gt;</description>
            <author>kramuse</author>
            <category>Networks and Broadband</category>
            <pubDate>Sat, 16 Sep 2006 23:20:19 +0800</pubDate>
        </item>
        <item>
            <title>OUG WLAN (WiFi / WiMAX)</title>
            <link>http://forum.lowyat.net/topic/333334</link>
            <description>So I live in this taman called Overseas Union Garden off Old Klang Road neighbouring Happy Garden, Sri Petaling and Puchong.&lt;br /&gt;&lt;br /&gt;Was just wondering, if someone started an initiative to bring wireless networking to the houses of OUG, would be interested to be part of it? I am talking huge area coverage, file sharing, dedicated game servers and loads more.&lt;br /&gt;&lt;br /&gt;Depending on the budget and number of people interested this could become a reality. What say thee?&lt;br /&gt;&lt;br /&gt;Areas I have in mind which could be covered (within 1km radius):&lt;br /&gt;Taman OUG&lt;br /&gt;Bukit Indah&lt;br /&gt;Taman Yarl&lt;br /&gt;Happy Garden&lt;br /&gt;Bandar Baru Sri Petaling&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If we get a bigger omni directional antenna, maybe even(within 2km MAX radius):&lt;br /&gt;Sri Petaling&lt;br /&gt;Kampung Pasir&lt;br /&gt;Puchong (part of)&lt;br /&gt;&lt;br /&gt;Though all would depend on where the antenna is placed.&lt;br /&gt;Speak your thoughts...</description>
            <author>kramuse</author>
            <category>Networks and Broadband</category>
            <pubDate>Tue, 29 Aug 2006 10:47:51 +0800</pubDate>
        </item>
    </channel>
</rss>
