<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>Lowyat.NET: Latest topics by ikanez</title>
        <description></description>
        <link>http://forum.lowyat.net/</link>
        <lastBuildDate>Fri, 05 Jun 2026 04:42:19 +0800</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>segmentation fault while running C code in Cygwin</title>
            <link>http://forum.lowyat.net/topic/1294913</link>
            <description>Hi All,&lt;br /&gt;&lt;br /&gt;This is like my first posting in C here, so please don&amp;#39;t flame me &lt;!--emo&amp;:)--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /&gt;&lt;!--endemo--&gt;&lt;br /&gt;&lt;br /&gt;Currently I&amp;#39;ve been trying to run this piece of code which I&amp;#39;ve gotten off a book but keep getting a core dump when trying to run in cygwin. Tried to run in solaris, and in core dumps too - hence it must be something wrong with the code.&lt;br /&gt;&lt;br /&gt;Anyhow below is the code. It&amp;#39;s basically a unix more command. From what I know so far, is that it starts to hang when it gets to the see_more function, but i don&amp;#39;t know what wrong with it.&lt;br /&gt;&lt;br /&gt;//more version 0.2&lt;br /&gt;#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;br /&gt;#define PAGELEN 10&lt;br /&gt;#define LINELEN 512&lt;br /&gt;&lt;br /&gt;void do_more(FILE *);&lt;br /&gt;int see_more(FILE *);&lt;br /&gt;&lt;br /&gt;int main (int ac, char *av[] )&lt;br /&gt;{&lt;br /&gt;	FILE *fp;&lt;br /&gt;	if (ac == 1 ) {&lt;br /&gt;		&lt;br /&gt;		do_more (stdin);&lt;br /&gt;	}&lt;br /&gt;	else &lt;br /&gt;		&lt;br /&gt;		while ( --ac )&lt;br /&gt;			if ((fp = fopen( *++av , &amp;quot;r&amp;quot; )) &amp;#33;= NULL)&lt;br /&gt;			{ &lt;br /&gt;				do_more( fp );&lt;br /&gt;				fclose( fp );&lt;br /&gt;			}&lt;br /&gt;			else &lt;br /&gt;				exit(1);&lt;br /&gt;	return 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void do_more (FILE *fp)&lt;br /&gt;{ &lt;br /&gt;	char line[LINELEN];&lt;br /&gt;	int num_of_lines = 0;&lt;br /&gt;	int see_more(FILE *), reply;&lt;br /&gt;	FILE *fp_tty;&lt;br /&gt;	&lt;br /&gt;	//memset((FILE *) fp_tty, 0, sizeof(fp_tty));&lt;br /&gt;	//reply = 0;&lt;br /&gt;	&lt;br /&gt;	fp_tty = fopen(&amp;quot;/dev/tty&amp;quot;, &amp;quot;r&amp;quot;);&lt;br /&gt;	if (fp_tty = NULL){&lt;br /&gt;		&lt;br /&gt;		exit(1);&lt;br /&gt;	}&lt;br /&gt;	&lt;br /&gt;	while (fgets( line, LINELEN, fp)) {&lt;br /&gt;		&lt;br /&gt;		if (num_of_lines == PAGELEN ) {&lt;br /&gt;			&lt;br /&gt;			reply = see_more(fp_tty);&lt;br /&gt;			if (reply == 0) {&lt;br /&gt;				&lt;br /&gt;				break;&lt;br /&gt;			}&lt;br /&gt;			num_of_lines -= reply;&lt;br /&gt;		}&lt;br /&gt;		if (fputs(line,stdout) == EOF) {&lt;br /&gt;			&lt;br /&gt;			exit(1);&lt;br /&gt;		}&lt;br /&gt;		num_of_lines++;&lt;br /&gt;	}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;int see_more(FILE *cmd)&lt;br /&gt;{&lt;br /&gt;	int c;&lt;br /&gt;	printf (&amp;quot;&amp;#092;033[7m more? &amp;#092;033[m&amp;quot;);&lt;br /&gt;&lt;br /&gt;	while ((c = getc(cmd)) &amp;#33;=EOF)&lt;br /&gt;	{ &lt;br /&gt;		if (c == &amp;#39;q&amp;#39; )&lt;br /&gt;			return 0;&lt;br /&gt;		if (c == &amp;#39; &amp;#39; )&lt;br /&gt;			return PAGELEN;&lt;br /&gt;		if ( c == &amp;#39;&amp;#092;n&amp;#39; )&lt;br /&gt;			return 1;&lt;br /&gt;	}&lt;br /&gt;	return 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;thank you in advance.&lt;br /&gt;</description>
            <author>ikanez</author>
            <category>Codemasters</category>
            <pubDate>Fri, 15 Jan 2010 04:02:57 +0800</pubDate>
        </item>
        <item>
            <title>Laggish Linux</title>
            <link>http://forum.lowyat.net/topic/682047</link>
            <description>hi,&lt;br /&gt;&lt;br /&gt;i&amp;#39;m currently using 2 OS in my P3, 256Mb Ram PC. A Windows XP and Fedora 8.&lt;br /&gt;&lt;br /&gt;why is it that everything in windows seems to be faster - especially firefox; when compared to linux? like it would take a lot more seconds to load a webpage in linux firefox compared to windows firefox. &lt;br /&gt;&lt;br /&gt;i thought linux is much faster than windows? am i missing something here?&lt;br /&gt;&lt;br /&gt;thanks for the help&amp;#33;</description>
            <author>ikanez</author>
            <category>Linux &amp;amp; Open Source Software</category>
            <pubDate>Fri, 25 Apr 2008 15:10:48 +0800</pubDate>
        </item>
        <item>
            <title>Yum on Fedora 8</title>
            <link>http://forum.lowyat.net/topic/680370</link>
            <description>Hi there.&lt;br /&gt;&lt;br /&gt;Currently I&amp;#39;m using Fedora 8. Previously I had this problem where I couldn&amp;#39;t connect to the internet since i&amp;#39;m using my computer from behind a proxy server (back at my uni). So i kinda tinkier with everything i can get my hands on. &lt;br /&gt;&lt;br /&gt;Newho, as a result of my tinkering, now (i&amp;#39;m using streamyx) - i can&amp;#39;t get my yum to work right. don&amp;#39;t ask me what i tinkered way back then - forgotten already.&lt;br /&gt;&lt;br /&gt;If it helps, here my yum.conf file&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;[main]&lt;br /&gt;cachedir=/var/cache/yum&lt;br /&gt;keepcache=0&lt;br /&gt;debuglevel=2&lt;br /&gt;logfile=/var/log/yum.log&lt;br /&gt;exactarch=1&lt;br /&gt;obsoletes=1&lt;br /&gt;gpgcheck=1&lt;br /&gt;plugins=1&lt;br /&gt;metadata_expire=1800&lt;br /&gt;installonly_limit=2&lt;br /&gt;proxy=&lt;br /&gt;&lt;br /&gt;# PUT YOUR REPOS HERE OR IN separate files named file.repo&lt;br /&gt;# in /etc/yum.repos.d&lt;!--QuoteEnd--&gt;&lt;/div&gt;&lt;!--QuoteEEnd--&gt;&lt;br /&gt;&lt;br /&gt;and this is the error msg that i got when i tried to run some installer in pirut&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;Component: pirut&lt;br /&gt;Summary: TB76714bb2 config.py:80:__set__:ValueError: Error parsing &amp;#39;&amp;#39;: URL must be http, ftp or https not &amp;quot;&amp;quot;&lt;br /&gt;&lt;br /&gt;Traceback (most recent call last):&lt;br /&gt;&amp;nbsp; File &amp;quot;/usr/sbin/system-install-packages&amp;quot;, line 355, in &amp;lt;module&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; main()&lt;br /&gt;&amp;nbsp; File &amp;quot;/usr/sbin/system-install-packages&amp;quot;, line 348, in main&lt;br /&gt;&amp;nbsp; &amp;nbsp; pkginst = SinglePackageInstaller()&lt;br /&gt;&amp;nbsp; File &amp;quot;/usr/sbin/system-install-packages&amp;quot;, line 63, in __init__&lt;br /&gt;&amp;nbsp; &amp;nbsp; GraphicalYumBase.__init__(self, False)&lt;br /&gt;&amp;nbsp; File &amp;quot;/usr/lib/python2.5/site-packages/pirut/__init__.py&amp;quot;, line 129, in __init__&lt;br /&gt;&amp;nbsp; &amp;nbsp; plugin_types=(yum.plugins.TYPE_CORE,))&lt;br /&gt;&amp;nbsp; File &amp;quot;/usr/lib/python2.5/site-packages/yum/__init__.py&amp;quot;, line 113, in doConfigSetup&lt;br /&gt;&amp;nbsp; &amp;nbsp; errorlevel=errorlevel)&lt;br /&gt;&amp;nbsp; File &amp;quot;/usr/lib/python2.5/site-packages/yum/__init__.py&amp;quot;, line 159, in _getConfig&lt;br /&gt;&amp;nbsp; &amp;nbsp; self._conf = config.readMainConfig(startupconf)&lt;br /&gt;&amp;nbsp; File &amp;quot;/usr/lib/python2.5/site-packages/yum/config.py&amp;quot;, line 617, in readMainConfig&lt;br /&gt;&amp;nbsp; &amp;nbsp; yumconf.populate(startupconf._parser, &amp;#39;main&amp;#39;)&lt;br /&gt;&amp;nbsp; File &amp;quot;/usr/lib/python2.5/site-packages/yum/config.py&amp;quot;, line 376, in populate&lt;br /&gt;&amp;nbsp; &amp;nbsp; setattr(self, name, value)&lt;br /&gt;&amp;nbsp; File &amp;quot;/usr/lib/python2.5/site-packages/yum/config.py&amp;quot;, line 80, in __set__&lt;br /&gt;&amp;nbsp; &amp;nbsp; raise ValueError(&amp;#39;Error parsing %r: %s&amp;#39; % (value, str(e)))&lt;br /&gt;ValueError: Error parsing &amp;#39;&amp;#39;: URL must be http, ftp or https not &amp;quot;&amp;quot;&lt;br /&gt;&lt;br /&gt;Local variables in innermost frame:&lt;br /&gt;obj: [main]&lt;br /&gt;alwaysprompt: True&lt;br /&gt;assumeyes: False&lt;br /&gt;bandwidth: 0&lt;br /&gt;cachedir: &amp;#39;/var/cache/yum&amp;#39;&lt;br /&gt;commands: []&lt;br /&gt;config_file_path: &amp;#39;/etc/yum/yum.conf&amp;#39;&lt;br /&gt;debuglevel: 2&lt;br /&gt;diskspacecheck: True&lt;br /&gt;distroverpkg: &amp;#39;redhat-release&amp;#39;&lt;br /&gt;enable_group_conditionals: True&lt;br /&gt;enabled: True&lt;br /&gt;enablegroups: True&lt;br /&gt;errorlevel: 2&lt;br /&gt;exactarch: True&lt;br /&gt;exactarchlist: [&amp;#39;kernel&amp;#39;, &amp;#39;kernel-smp&amp;#39;, &amp;#39;glibc&amp;#39;, &amp;#39;kernel-hugemem&amp;#39;, &amp;#39;kernel-enterprise&amp;#39;, &amp;#39;kernel-bigmem&amp;#39;, &amp;#39;kernel-devel&amp;#39;, &amp;#39;kernel-PAE&amp;#39;, &amp;#39;kernel-PAE-debug&amp;#39;]&lt;br /&gt;exclude: []&lt;br /&gt;failovermethod: &amp;#39;roundrobin&amp;#39;&lt;br /&gt;gpgcheck: True&lt;br /&gt;group_package_types: [&amp;#39;mandatory&amp;#39;, &amp;#39;default&amp;#39;]&lt;br /&gt;http_caching: &amp;#39;all&amp;#39;&lt;br /&gt;installonly_limit: 2&lt;br /&gt;installonlypkgs: [&amp;#39;kernel&amp;#39;, &amp;#39;kernel-bigmem&amp;#39;, &amp;#39;kernel-enterprise&amp;#39;, &amp;#39;kernel-smp&amp;#39;, &amp;#39;kernel-modules&amp;#39;, &amp;#39;kernel-debug&amp;#39;, &amp;#39;kernel-unsupported&amp;#39;, &amp;#39;kernel-source&amp;#39;, &amp;#39;kernel-devel&amp;#39;, &amp;#39;kernel-PAE&amp;#39;, &amp;#39;kernel-PAE-debug&amp;#39;]&lt;br /&gt;installroot: &amp;#39;/&amp;#39;&lt;br /&gt;keepalive: True&lt;br /&gt;keepcache: False&lt;br /&gt;kernelpkgnames: [&amp;#39;kernel&amp;#39;, &amp;#39;kernel-smp&amp;#39;, &amp;#39;kernel-enterprise&amp;#39;, &amp;#39;kernel-bigmem&amp;#39;, &amp;#39;kernel-BOOT&amp;#39;, &amp;#39;kernel-PAE&amp;#39;, &amp;#39;kernel-PAE-debug&amp;#39;]&lt;br /&gt;logfile: &amp;#39;/var/log/yum.log&amp;#39;&lt;br /&gt;metadata_expire: 1800&lt;br /&gt;mirrorlist_expire: 86400&lt;br /&gt;obsoletes: True&lt;br /&gt;overwrite_groups: False&lt;br /&gt;persistdir: &amp;#39;/var/lib/yum&amp;#39;&lt;br /&gt;pluginconfpath: [&amp;#39;/etc/yum/pluginconf.d&amp;#39;]&lt;br /&gt;pluginpath: [&amp;#39;/usr/share/yum-plugins&amp;#39;, &amp;#39;/usr/lib/yum-plugins&amp;#39;]&lt;br /&gt;plugins: True&lt;br /&gt;proxy: None&lt;br /&gt;proxy_password: None&lt;br /&gt;proxy_username: None&lt;br /&gt;recent: 7&lt;br /&gt;reposdir: [&amp;#39;/etc/yum/repos.d&amp;#39;, &amp;#39;/etc/yum.repos.d&amp;#39;]&lt;br /&gt;retries: 10&lt;br /&gt;rpm_check_debug: True&lt;br /&gt;showdupesfromrepos: False&lt;br /&gt;syslog_facility: &amp;#39;LOG_DAEMON&amp;#39;&lt;br /&gt;syslog_ident: None&lt;br /&gt;throttle: 0&lt;br /&gt;timeout: 30.0&lt;br /&gt;tolerant: True&lt;br /&gt;tsflags: []&lt;br /&gt;yumversion: &amp;#39;unversioned&amp;#39;&lt;br /&gt;self: &amp;lt;yum.config.UrlOption object at 0x8adca0c&amp;gt;&lt;br /&gt;e: URL must be http, ftp or https not &amp;quot;&amp;quot;&lt;br /&gt;value: &lt;!--QuoteEnd--&gt;&lt;/div&gt;&lt;!--QuoteEEnd--&gt;&lt;br /&gt;&lt;br /&gt;is there any way i can &amp;quot;re-install yum&amp;quot; without having to reinstall fedora 8? &lt;br /&gt;&lt;br /&gt;thanks all.&lt;br /&gt;&lt;br /&gt;</description>
            <author>ikanez</author>
            <category>Linux &amp;amp; Open Source Software</category>
            <pubDate>Wed, 23 Apr 2008 12:42:36 +0800</pubDate>
        </item>
        <item>
            <title>How to do the folder thingy</title>
            <link>http://forum.lowyat.net/topic/662758</link>
            <description>hi all bloggers.&lt;br /&gt;&lt;br /&gt;i have a ques here.&lt;br /&gt;&lt;br /&gt;how can i alter my blog so that it can have like a separate folder but still under same root.&lt;br /&gt;&lt;br /&gt;e.g&lt;br /&gt;&lt;br /&gt;main site index: ikanez.blogspot.com&lt;br /&gt;-&amp;gt; for tutorial purposes: ikanez dot blogspot dot com/how-to&lt;br /&gt;&lt;br /&gt;for the time being i&amp;#39;m just using two separate blog&lt;br /&gt;1. index : ikanez dot blogspot.com&lt;br /&gt;2. tutorial : ikanez-how-to-stuff dot blogspot.com&lt;br /&gt;&lt;br /&gt;i&amp;#39;ve been using blogger for quite some time now, so i dun wana open up a new account elsewhere.&lt;br /&gt;&lt;br /&gt;can neone help? &lt;br /&gt;&lt;br /&gt;p/s: if u hadn&amp;#39;t notice, my blog is at ikanez dot blogspot dot com</description>
            <author>ikanez</author>
            <category>Content Creators, Blogmasters &amp;amp; Webmasters</category>
            <pubDate>Sun, 30 Mar 2008 17:11:54 +0800</pubDate>
        </item>
        <item>
            <title>How to become a Billing Consultant</title>
            <link>http://forum.lowyat.net/topic/659740</link>
            <description>With reference to the topic title, I&amp;#39;d like to know if any of you have any knowledge on:-&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. What a billing consultant/solution architect does?&lt;br /&gt;&lt;br /&gt;2. How does one go about on becoming one? I mean like a what&amp;#39;s the career path gonna be like. What position will I encounter along the way?&lt;br /&gt;&lt;br /&gt;3. What type of reading material should I be reading if I&amp;#39;m interested in becoming one. I realize that as I grow older, managerial knowledge will become much more important, as well as knowledge on the industry as well. Wonder if any of you have any good links/e-books/blogs/etc etc reading material that you guys/gals usually follow to gain knowledge or to keep urselves updated. &lt;br /&gt;&lt;br /&gt;4. What&amp;#39;s the life like? Sharing of experience would be nice~&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Right now I&amp;#39;ll be employed (not yet working, but soon though) as an analyst programmer at a telco company - an would like to someday reach that position. 5 years is my target. I dunno whether this is doable or not - so I guess thats open for discussion too. &lt;br /&gt;&lt;br /&gt;</description>
            <author>ikanez</author>
            <category>Jobs &amp;amp; Careers</category>
            <pubDate>Wed, 26 Mar 2008 01:59:35 +0800</pubDate>
        </item>
        <item>
            <title>Career Path in Programming</title>
            <link>http://forum.lowyat.net/topic/647010</link>
            <description>would anyone here wanna share what the career prospect is for a analyst programmer? --&amp;#62; furthermore working in telco software company&lt;br /&gt;&lt;br /&gt;just wana know how to advance my career once I become analyst programmer. the road ahead right now is quite vague for me, it would really be helpful if someone could clear this up - especially if they have the exp.&lt;br /&gt;&lt;br /&gt;my research so far has revealed several routes, such as this one:&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;analyst &amp;gt; sr. analyst&amp;gt; consultant &amp;gt; sr consultnt &amp;gt; manager &amp;gt; solution architect&lt;br /&gt;&lt;!--QuoteEnd--&gt;&lt;/div&gt;&lt;!--QuoteEEnd--&gt;&lt;br /&gt;and this&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;analyst &amp;gt; system analyst &amp;gt; sr system analyst &amp;gt; solution architect &lt;!--QuoteEnd--&gt;&lt;/div&gt;&lt;!--QuoteEEnd--&gt;&lt;br /&gt;&lt;br /&gt;it&amp;#39;d be great if you guys could share ur taken path as well. might be a gud topic for discussion. &lt;br /&gt;&lt;br /&gt;owh, n btw, after being in telco software comp for a few years, where can I later job hop? like for instance does telco operator accept people with my background? what of oil n gas industry then?</description>
            <author>ikanez</author>
            <category>Jobs &amp;amp; Careers</category>
            <pubDate>Fri, 07 Mar 2008 18:25:24 +0800</pubDate>
        </item>
        <item>
            <title>Who is in Comptel?</title>
            <link>http://forum.lowyat.net/topic/640110</link>
            <description>I just went for an interview at Comptel the other day during my uni career fair. Does anyone here have any idea what the place is like and whether its a great company or not to work at?&lt;br /&gt;&lt;br /&gt;Is anyone here from Comptel and can share their experience?&lt;br /&gt;&lt;br /&gt;Anyone here know what their salary range is?&lt;br /&gt;&lt;br /&gt;Basically please share any info on Comptel that you guys have. would appreciate it a lot and can even discuss about it here.</description>
            <author>ikanez</author>
            <category>Jobs &amp;amp; Careers</category>
            <pubDate>Wed, 27 Feb 2008 02:34:24 +0800</pubDate>
        </item>
        <item>
            <title>Career in Networking</title>
            <link>http://forum.lowyat.net/topic/632287</link>
            <description>Hi, I&amp;#39;m wondering whether which one is a better option for me right now, working for vendor, or ISP (like jaring or TM)&lt;br /&gt;&lt;br /&gt;I&amp;#39;ll be graduating in 2 months time, but still undecided as to where to exactly go.&lt;br /&gt;&lt;br /&gt;For those who are in the field, I invite y&amp;#39;all to share your experience. It&amp;#39;ll be a good reference to me and those who want to build a career in networking.&lt;br /&gt;&lt;br /&gt;</description>
            <author>ikanez</author>
            <category>Jobs &amp;amp; Careers</category>
            <pubDate>Fri, 15 Feb 2008 22:50:36 +0800</pubDate>
        </item>
        <item>
            <title>What&amp;#39;s next for me?</title>
            <link>http://forum.lowyat.net/topic/542385</link>
            <description>Hi,&lt;br /&gt;&lt;br /&gt;I&amp;#39;ll be graduating next year with a bachelor in EE. Took a lot of communication subjects. Probably will end up with a CCNP cert too by that time as I am finishing my CCNA as of this moment.&lt;br /&gt;&lt;br /&gt;I&amp;#39;d like to know what you guys think about where I should apply for a job, in terms possible companies that might be suitable for my set skills. And of course - provides a good pay. Im still undecided whether to venture into the IT industry or the telco industry - im keeping my options open i suppose.&lt;br /&gt;&lt;br /&gt;Probably you could share your experience if my situation is akin to yours.&lt;br /&gt;&lt;br /&gt;thanks.</description>
            <author>ikanez</author>
            <category>Jobs &amp;amp; Careers</category>
            <pubDate>Thu, 25 Oct 2007 21:01:19 +0800</pubDate>
        </item>
    </channel>
</rss>
