Re: [SLUG] Error in Time() command

2010-05-26 Thread Ian Wienand
On Sun, May 23, 2010 at 2:02 AM, tenz...@iinet.net.au tenz...@iinet.net.au wrote: I'm seeking a preferably citeable reference to the amount of error in the returned result from a Time() command. I want to be able to quote the level of error in timing the execution speed of my project. A

Re: [SLUG] Issues creating/imporing vms with ESXi

2009-04-15 Thread Ian Wienand
On Wed, Apr 15, 2009 at 10:13:42AM +0800, Hongduc Nguyen wrote: By any chance has anyone encountered the error message 'A general system error occurred - Internal error' during the creation/import of a VM via the VMware infastructure client? This type of question is best asked on the VMware

Re: [SLUG] Ubuntu gcc version problem

2008-10-27 Thread Ian Wienand
On Mon, Oct 27, 2008 at 11:38:15PM +1100, david wrote: When I run vmware-config.pl I get the following warning message: Your kernel was built with gcc version 4.2.3, while you are trying to use /usr/bin/gcc version 4.2.4. What version am I running? Should I care? vmware-config.pl gives dire

Re: [Fwd: Re: [SLUG] IOWait definition]

2008-10-09 Thread Ian Wienand
On Fri, Oct 10, 2008 at 05:50:52AM +0800, Adrian Chadd wrote: I've never seen IOWAIT for NFS client traffic (ie, traffic from an NFS client talking to an NFS server) but who knows, this is linux.. I would say this doesn't count to iowait either; see fs/nfs/pagelist.c:nfs_wait_on_request() -- it

Re: [SLUG] olympics viewing

2008-08-12 Thread Ian Wienand
On Tue, Aug 12, 2008 at 2:52 PM, Luke Vanderfluit [EMAIL PROTECTED] wrote: Does anyone know of a site where I can watch the olympics using a linux (non-windows) codec? As much as flash is a Linux codec, you could try the instructions for viewing on Youtube at [1] [1]

Re: [SLUG] Filesystem which allows online fsck?

2008-06-11 Thread Ian Wienand
On Wed, Jun 11, 2008 at 8:24 PM, Erik de Castro Lopo [EMAIL PROTECTED] wrote: Does anyone know of a Linux filesystem which allows online fsck on a disk that is currently mounted read/write? I remember ChunkFS talking about this: http://www.valhenson.org/chunkfs/ Maybe you could take a LVM

Re: [SLUG] USB speakers play everything but web served files

2008-03-04 Thread Ian Wienand
On Tue, Mar 04, 2008 at 08:13:41PM +1100, Mark wrote: I assume I am missing some iceweasel plug in, but everything seems to be there any pointers? If you see the video then you've got the flash plugin installed OK. You might like to try installing the pulseaudio sound server (if it's not

Re: [SLUG] Tuesday afternoon shell command optimisation party!

2007-12-20 Thread Ian Wienand
On Thu, Dec 20, 2007 at 09:22:49PM +1100, Jamie Wilkinson wrote: I love Ians posts only because he includes L1 and L2 cache hits in every one. If only you would share the command that gave you these numbers. The numbers come from the CPU performance counters. I use the perfmon tools [1] to

Re: [SLUG] Tuesday afternoon shell command optimisation party!

2007-12-18 Thread Ian Wienand
On Wed, Dec 19, 2007 at 12:34:02AM +1100, Rick Welykochy wrote: No sir! But shell usually wins. On my 1 GHz / 1 GB powerbook, the python one-liner I just submitted runs 5 x faster than the original. I think C usually wins, the version below is 25 times faster than the python version (from

Re: [SLUG] Tuesday afternoon shell command optimisation party!

2007-12-18 Thread Ian Wienand
On Wed, Dec 19, 2007 at 02:51:34PM +1100, Matthew Hannigan wrote: Here's one in lex; ripped off from the flex info page. I'd be interested in its performance compared to straight C. No doubt worse, just curious how much worse. Similar to the Python version [EMAIL PROTECTED]:/tmp$

Re: [SLUG] switching debian architecture in place?

2007-11-14 Thread Ian Wienand
On Thu, Nov 15, 2007 at 05:47:11PM +1100, Amos Shapira wrote: Is there a way to switch over to amd64 system without re-installing the system from scratch? I'm happy to be proved wrong but I think a re-install would be much easier. If I had to do it, I would probably use debootstrap to create a

Re: [SLUG] tidy/lint for Apache httpd.conf?

2007-10-30 Thread Ian Wienand
On Wed, Oct 31, 2007 at 02:51:24PM +1100, Sonia Hamilton wrote: Anyone seen a 'tidy/lint' like program similar to tidy [1] for cleaning up/indenting Apache httpd.conf files? Try opening it in emacs apache mode (if it doesn't already, type M-x apache-mode) then indent all lines with M-C-\ -i --

Re: [SLUG] Help with strace - WinDev HyperFile Server

2007-05-24 Thread Ian Wienand
On Mon, May 21, 2007 at 10:45:08AM +1000, Simon Wong wrote: Can anyone shed a glimmer of light on what the strace trace means? clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7da9928) = 19927 --- SIGCHLD (Child exited) @ 0 (0) ---

Re: [SLUG] AMD based computers.

2007-03-12 Thread Ian Wienand
On Tue, Mar 13, 2007 at 11:54:08AM +1100, Visser, Martin wrote: Having two near equal sized competitors in the CPU market ensures that progress is aggressively pursued. If by size you mean performance, maybe, but IIRC Intel still produces something close to 80% of the x86 market. -i -- SLUG -

Re: [SLUG] dns lookup with host works, other apps doesn't.

2007-02-20 Thread Ian Wienand
On Wed, Feb 21, 2007 at 01:24:01PM +1100, Erik de Castro Lopo wrote: Anybody have any explanation for this weird behaviour? No, but I bet the strace/ltrace output would give a good clue as to where the problem was happening. -i -- SLUG - Sydney Linux User's Group Mailing List -

Re: [SLUG] Error in executing mount command

2006-11-28 Thread Ian Wienand
On Wed, Nov 29, 2006 at 01:18:41PM +1100, Leslie Katz wrote: mount -o loop /home/leslie/Desktop/sdb.img /mnt/directory mount: you must specify the filesystem type The file system probably starts after the partition table in your dump of the disk. Try mounting it with an one block offset, e.g.

[SLUG] NSLU2 USB Power/Serial Port Board

2006-11-08 Thread Ian Wienand
Hi, A few of the smart cookies at ERTOS/UNSW have designed a great little add-on board for the Linksys NSLU2 (also known as a Slug -- http://www.nslu2-linux.org/). It gives you a serial port, a remote reset and allows the device to be powered over USB -- and it all fits inside the standard case!

Re: [SLUG] apt- bittorrent

2006-11-07 Thread Ian Wienand
On Wed, Nov 08, 2006 at 01:02:07AM +1100, Ken Foskey wrote: I am sure someone has thought about this. Yes, I know Shehjar (cc'd) has thought about it an implemented a version; I'm sure he'd love to talk about it :) -i -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/

Re: [SLUG] Creating a really really simple .deb package

2006-11-06 Thread Ian Wienand
On Sat, Nov 04, 2006 at 11:09:34PM +1100, Jeremy Visser wrote: I would like to know how to create a Debian package that consists of one file, not generated by source. I have tried using a Makefile that just copies files and running it with CheckInstall, but have failed to get it to recognise

Re: [SLUG] Some Thoughts Regarding Spam

2006-11-05 Thread Ian Wienand
On Mon, Nov 06, 2006 at 11:40:14AM +1100, Robert Thorsby wrote: There is also another new one (which is present on a number of mailing lists) that commences with an image. The only ones spamassassin has missed for me lately is a bunch of stock scam image based ones with random text. I heartily

Re: [SLUG] NSLU2 Stories

2006-10-30 Thread Ian Wienand
On Wed, Oct 25, 2006 at 04:22:27PM +1000, Simon Males wrote: It's been brought to my attention that the Linksys NSLU2 runs Linux and that there are projects in existence creating custom firmware. It also runs L4 quite nicley; if you're looking for a challenge you could shadow the advanced

Re: [SLUG] Microtouch USB touch screen X/Y axis swapped

2006-10-24 Thread Ian Wienand
On Tue, Oct 24, 2006 at 03:33:33PM +0930, Glen Turner wrote: If that still sucks you'll need to swap the axises in X11 as the input layer doesn't allow such niceness. I've found the evtest program (download latest from)

Re: [SLUG] Re-running X autoconfiguration on Ubuntu

2006-10-09 Thread Ian Wienand
On Mon, Oct 09, 2006 at 07:43:52PM +1000, Mary Gardiner wrote: 2. dpkg-reconfigure xorg-server at any time, if you want to semi-manually configure things and answer a lot of semi-compehensible questions Up the priority so you only see things you have to answer, e.g. dpkg-reconfigure

Re: [SLUG] How to force which device is eth0?

2006-08-20 Thread Ian Wienand
On Mon, Aug 21, 2006 at 09:19:13AM +1000, Simon Wong wrote: Can anyone offer any advice on how to force which hardware is eth0? I think you have two options; firstly is the ifrename package, which reads /etc/iftab. The other option is you can give your cards static names with udev, and then

Re: [SLUG] DHCP client vs sendmail

2006-08-08 Thread Ian Wienand
On Wed, Aug 09, 2006 at 11:58:45AM +1000, Peter Miller wrote: In my case, the value of YOUR_ISP_UPSTREAM_MAILSERVER depends on which firewall I'm behind, since all the ISPs in question gate client connections as being from their own customers' IP addresses, not the whole Internet. So one size

Re: [SLUG] Re: Thread distribution on an SMP box

2006-06-27 Thread Ian Wienand
On Tue, Jun 27, 2006 at 05:05:43PM +1000, David Hart wrote: AMD has taken out some very interesting patents whereby certain process scheduling operations are moved from the OS into silicon From reading that patent and a related paper [1] it seems that the speculative execution on another

Re: [SLUG] Thread distribution on an SMP box

2006-06-25 Thread Ian Wienand
On Mon, Jun 26, 2006 at 01:55:16PM +1000, Carlo Sogono wrote: I would like to find out how Linux distributes processes in an SMP-enabled box with n CPUs. Will the kernel move a process from one CPU to another if another CPU is idle? It may do. Keeping processes close to where they last run

Re: [SLUG] Ubuntu : bypassing fsck when booting on battery

2006-06-13 Thread Ian Wienand
On Wed, Jun 14, 2006 at 01:19:59PM +1000, Martin Pool wrote: I think this is caused by the fact that fsck runs from rcS and acpid is started from rc0 (i.e. later), and so the acpi modules are not loaded in time to tell fsck to hold off. Loading the acpi module manually before the

Re: [SLUG] CRAMFS little vs big endian...

2006-06-13 Thread Ian Wienand
On Tue, Jun 13, 2006 at 06:05:09PM +1000, James Gray wrote: Anyone know how (if) it is possible to do the byte-reordering?? [of a cramfs file system] $ apt-get install cramfsswap -i -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs:

Re: [SLUG] How to build a kernel on debian (with modules enabled)

2006-06-12 Thread Ian Wienand
On Sun, Jun 11, 2006 at 12:23:28PM +, Paul Davies wrote: Problem: I can't boot the kernel (2.6.15-1) with modules enabled (using DEBIAN) Reason: My ram disk boot image is not being recognised (not attached to an existing device). Paul, My suggestion is ditch the RAM disk; if you

Re: [SLUG] Ubuntu : bypassing fsck when booting on battery

2006-06-09 Thread Ian Wienand
On Fri, Jun 09, 2006 at 08:50:59AM +1000, Erik de Castro Lopo wrote: I even tried rebooting and booting on battery and I get the same result, it still thinks is on AC power. This is a Dell Latittude X1, same as Rob's. FWIW, this works fine (i.e. I get the expected behaviour of no fsck on

Re: [SLUG] Ubuntu : bypassing fsck when booting on battery

2006-06-09 Thread Ian Wienand
On Fri, Jun 09, 2006 at 05:06:50PM +1000, Erik de Castro Lopo wrote: Did you install dapper straight up or install breezy and then dist-upgrade? I'm pretty sure I even installed the one before breezy, upgraded it to breezy and then upgraded again to dapper. I'm afraid I'm one of those

Re: [SLUG] citrix scroll bars do not go back up

2006-05-18 Thread Ian Wienand
On Fri, May 19, 2006 at 11:07:43AM +1000, Ken Foskey wrote: I have citrix installed and it has grey scroll bars, It uses the motif libraries. The problem I am getting is that I can scroll down but not back up using the scroll bars. I have seen this problem with another program as well, vnc

Re: [SLUG] Inatlling a compiled subversion and removing the packaged one - how to fix dependencies.

2006-05-06 Thread Ian Wienand
On Fri, May 05, 2006 at 11:32:18PM +1000, Mike Lake wrote: My machine has this: ~$ ls -l /dev/uran* cr--r--r-- 1 root root 1, 9 Jun 20 2002 /dev/urandom ~$ ls -l /dev/ran* crw-rw-rw- 1 root root 1, 8 Jun 20 2002 /dev/random Why is one writable by all and the other not ? I think

Re: [SLUG] Inatlling a compiled subversion and removing the packaged one - how to fix dependencies.

2006-05-05 Thread Ian Wienand
On Fri, May 05, 2006 at 05:01:11PM +1000, Michael Lake wrote: The make install for the compiled subversion I think will go into /usr/local/ But I need to remove the subversion that was put on via apt-get which is in /usr/bin/ and /usr/lib etc otherwise there will be clashes and things will

Re: [SLUG] LG LW 65 Laptop x.org screen res problems

2006-04-23 Thread Ian Wienand
Mon Mon, Apr 24, 2006 at 10:51:38AM +1000, Menno Schaaf wrote: I helped a friend install Ubuntu (5.10) on her laptop this weekend, but couldn't get X to display in the native resolution (1280x800). It's using the i810 driver, and defaults back to 1024x768. If it's anything like my Dell X1, try

Re: [SLUG] apt-get update and pgp keys

2006-04-13 Thread Ian Wienand
On Thu, Apr 13, 2006 at 11:10:10PM +1000, Steve Kowalik wrote: I doubt the key in question is on the keyservers. It's located at http://ftp-master.debian.org/ziyi_key_2006.asc Or just install the debian-archive-keyring package -i signature.asc Description: Digital signature -- SLUG - Sydney

Re: [SLUG] software for screencasts

2006-04-11 Thread Ian Wienand
On Tue, Apr 11, 2006 at 03:57:46PM +1000, Julio Cesar Ody wrote: does anyone has a recommendation for a software to make screencasts (for GNU/Linux)? What I want is the hability to broadcast my desktop via GAIM/MSN. I think you might mean taking your screen and encoding it into some sort of

Re: [SLUG] [chat] NFS Shares.

2006-03-21 Thread Ian Wienand
On Tue, Mar 21, 2006 at 08:25:04PM +1100, cmyers wrote: Im mounting 5 drives (it takes between 5 - 10 minutes) to mount all the drives. Is there something else I should be looking at? or doing? to get them to mount quicker? Are you sure you're not loosing packets? I've seen issues where

Re: [SLUG] Latex, layout of maths answer

2006-03-13 Thread Ian Wienand
On Tue, Mar 14, 2006 at 01:43:58PM +1100, Terry Collins wrote: Okay, how do you layout an answer for something as simple as sqrt(175)-17**2 in latex? I'd do it something like \begin{eqnarray*} a = \sqrt{175} - 17^2 \\ = 13.22 - 289 \\ = -275.78. \\ \end{eqnarray*}

[SLUG] Free AlphaPC 164

2006-02-27 Thread Ian Wienand
Free to good home * AlphaPC 164 * 433Mhz Alpha 21164 Processor * 128Mb RAM * 18Gig Quantum Atlas 10K SCSI drive * Pioneer SCSI CD * Archive 4326xx SCSI tape drive (DDS-2?) with a whole bunch of tapes * Inbuilt IDE controller - takes normal IDE disks. * IDE hard drive cage (modified

Re: [SLUG] Free AlphaPC 164

2006-02-27 Thread Ian Wienand
On Tue, Feb 28, 2006 at 12:12:20PM +1100, Ian Wienand wrote: Free to good home Thanks, it has found a new home :) -i signature.asc Description: Digital signature -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq

Re: [SLUG] How to discover which modules unnecessary

2006-02-23 Thread Ian Wienand
On Fri, Feb 24, 2006 at 10:09:36AM +0800, [EMAIL PROTECTED] wrote: Actually this is mostly just a waste of effort. Config swap and let the system swap out all the bits it does not need. Ahh, what if you compile your SCSI driver as a module, and the pages containing its code are put onto a SCSI

Re: [SLUG] Dell Latitude D510 with a hard drive that does morse code...

2006-02-12 Thread Ian Wienand
On Mon, Feb 13, 2006 at 07:43:54AM +1100, Anthony O'Hara wrote: Booting Gentoo results in an odd beeping noise coming from the hard drive.. It just sits there making a very quiet and subtle morse code noise over and over and over again. I don't think it is your hard drive, there was a period

Re: [SLUG] FTP directory synchronisation

2006-02-12 Thread Ian Wienand
On Mon, Feb 13, 2006 at 10:44:14AM +1100, Raphael Kraus wrote: I'm wanting to perform FTP synchronisation (similar to rsync) - i.e. a local and remote directory are made up to date at a set schedule. I use weex for just this; a poor man's rsync http://weex.sourceforge.net/ -i signature.asc

Re: [SLUG] Re: pentium M series

2005-12-19 Thread Ian Wienand
On Tue, Dec 20, 2005 at 02:06:11AM +, Dave Airlie wrote: I've heard chat on lkml about using alternatives (the kernel ones) to do this.. basically at build time you construct a table of every spinlock call and patch them all up at CPU hotplug or kernel boot time... Sounds like magic to

Re: [SLUG] Re: pentium M series

2005-12-18 Thread Ian Wienand
On Mon, Dec 19, 2005 at 12:34:33PM +1100, Visser, Martin wrote: I just googled for benchmark performance linux kernel i386 versus i686 and found nothing of any import. I am just wondering if anyone has bothered doing this. It would be nice to know what the tradeoff is between performance and

Re: [SLUG] memcmp versus strncmp

2005-12-12 Thread Ian Wienand
On Mon, Dec 12, 2005 at 07:57:00PM +1100, Ken Foskey wrote: Enforcing standards with gcc -ansi is a bad idea it looks like :-( This draws in the gcc builtins and they do not perform as well. You are buliding with optimisation on right (-03 or similar)? If you want fast memcmp() do it on an

Re: [SLUG] memcmp versus strncmp

2005-12-11 Thread Ian Wienand
On Fri, Dec 09, 2005 at 11:56:14PM +1100, Ken Foskey wrote: This is an unexpected statistic... Subroutine using massive number of matches: strcmp(x,y) 1.87 seconds strncmp(x,y,6) 1.63 seconds memcmp(x,y,6) 5.85 seconds Ignoring the other code it is a huge overhead for using memcmp on

Re: [SLUG] Linux on a Dell Latitude X1

2005-12-08 Thread Ian Wienand
On Thu, Dec 08, 2005 at 11:17:51PM +1100, Erik de Castro Lopo wrote: Some might remember that I was looking at getting a new laptop recently. Well I ended up with a Dell Latitude X1, installed ubuntu Hoary, dist-upgraded to Breezy to get X working properly and I'm now running E17 But does it

Re: [SLUG] C Gurus

2005-11-22 Thread Ian Wienand
On Tue, Nov 22, 2005 at 10:12:07PM +1100, Crossfire wrote: IIRC, ANSI C[1] makes no guaranty as to the lifetime of literal strings when their enclosing scope finishes. I'm fairly sure ANSI C does, C99 definitely does And not all literal strings are 'static' as my code demonstrated. String

Re: [SLUG] Via EPIA MII 1.2GHz Nehemiah + SUSE 10 ssh compatability issue

2005-11-16 Thread Ian Wienand
On Wed, Nov 16, 2005 at 03:11:18PM +1100, Grant Parnell - EverythingLinux wrote: Not sure if anyone else has used SuSE 9.3 or SuSE 10 on a Via EPIA MII with 1.2GHZ CPU but we have a machine here that's segfaulting when running ssh-keygen for example but runs fine otherwise. We have tried

Re: [SLUG] Via EPIA MII 1.2GHz Nehemiah + SUSE 10 ssh compatability issue

2005-11-16 Thread Ian Wienand
On Thu, Nov 17, 2005 at 02:01:05PM +1100, Grant Parnell - EverythingLinux wrote: On Thu, 17 Nov 2005, Ian Wienand wrote: Try running with LD_ASSUME_KERNEL=2.4.0 and that would bump you back to non-optimised libraries which might help. No change. Oh well. Run it under gdb and find out

Re: [SLUG] Linux hosting in Australia?

2005-11-13 Thread Ian Wienand
On Sun, Nov 13, 2005 at 01:08:27PM +1100, Peter Chubb wrote: Or redwoodvirtual.com? I've *heard* that things can get a bit slow as the machines are loaded pretty high; however they certainly have good low end prices. When I looked into them around a month ago they were not accepting new

Re: [SLUG] latex question

2005-10-24 Thread Ian Wienand
On Tue, Oct 25, 2005 at 12:37:07PM +1000, Taryn East wrote: I'm writing a template for an invoice that we will send to the customer. It's in landscape format and has a lefthand section (with all the details fo the order and price etc - which the customer keeps) and a righthand section (which

Re: [SLUG] latex question

2005-10-24 Thread Ian Wienand
On Tue, Oct 25, 2005 at 02:04:40PM +1000, Taryn East wrote: only now the column-widths are not controlled in th way they were for the tabular environment :( yes, multicol doesn't do column widths. any other ideas? Looking back at your original example, Latex is assuming you are using a

Re: [SLUG] Strange results from df

2005-10-13 Thread Ian Wienand
On Fri, Oct 14, 2005 at 10:54:05AM +1000, Roger Barnes wrote: [EMAIL PROTECTED]:~/$ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1114879816 109103408 0 100% /mnt/seagate I can copy files onto the disk and the Used number goes up, but the

Re: [SLUG] Driver query

2005-10-05 Thread Ian Wienand
On Thu, Oct 06, 2005 at 08:53:39AM +0800, James wrote: Program_ 3(ABC TV Sydney AC3 , 545, 512, A660, 256) Totally unrelated to Linux, but ... I've never noticed these channels before. Does that AC3 refer to Dobly Digital, and does this mean those channels are actually broadcasting

Re: [SLUG] Gentoo getting better

2005-10-04 Thread Ian Wienand
On Wed, Oct 05, 2005 at 10:45:33AM +1000, [EMAIL PROTECTED] wrote: We've got it running on AMD64, PIII, PIV and P-M all tuned and boy does it make a difference. Distros I've compared are Ubuntu on a PIV and Debian on AMD64. It is faster than both standard installs if compiled for the platform.

Re: [SLUG] Your top-ten linux desktop apps

2005-09-29 Thread Ian Wienand
On Thu, Sep 29, 2005 at 07:39:51PM +1000, O Plameras wrote: With C on 64-bit your number will not be a problem as an integer. C integer is size 8 bytes = 64 bits. So 2 exponent 64 less 1 can be handled. This isn't correct; there are two main models for 64 bit computing. LP64 where longs and

Re: [SLUG] Your top-ten linux desktop apps

2005-09-29 Thread Ian Wienand
On Thu, Sep 29, 2005 at 09:42:41PM +1000, O Plameras wrote: This should be 8 bytes = 64 bits. So 2 exponent (64-1) - 1 = max int size in 64 bit machine. I think you missed my point. An int is still only 32 bits on a 64 bit machine. On a 64 bit machine running Linux a long will be 64 bits,

Re: [SLUG] Your top-ten linux desktop apps

2005-09-29 Thread Ian Wienand
On Thu, Sep 29, 2005 at 09:59:26PM +1000, O Plameras wrote: It is easy to check if one has a 64-bit machine. I'm curious to know. Have a look at the AMD64 ABI, for example http://www.x86-64.org/documentation/abi.pdf Figure 3.1 gives you the size of types. -i signature.asc Description:

Re: [SLUG] Your top-ten linux desktop apps

2005-09-29 Thread Ian Wienand
On Thu, Sep 29, 2005 at 10:40:47PM +1000, O Plameras wrote: The only change from 32-bit to 64-bit machine as far as data type sizes are concerned is 'long'. Changed from 4 to 8 bytes. This resolves the argument comprehensively. This means that there is going to be minimal improvements from

Re: [SLUG] Your top-ten linux desktop apps

2005-09-29 Thread Ian Wienand
On Fri, Sep 30, 2005 at 08:01:59AM +1000, [EMAIL PROTECTED] wrote: Actually, just checking one 64 bit machine would not be enough. If you stick to Linux and gcc then you get fairly consistent results but C is bigger than gcc (only slightly). I'd suggest it is the other way around; gcc

Re: [SLUG] Output from 64 bit machine

2005-09-29 Thread Ian Wienand
On Fri, Sep 30, 2005 at 10:22:33AM +1000, Benno wrote: (Of course using printf then becomes a real bitch...) What's wrong with the PRI macros in inttypes.h? -i signature.asc Description: Digital signature -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription

Re: [SLUG] great code to learn from - request

2005-09-21 Thread Ian Wienand
On Wed, Sep 21, 2005 at 03:55:06PM +1000, Benno wrote: On Wed Sep 21, 2005 at 13:09:52 +1000, Taryn East wrote: what nobody else is going to bite? :( I think this is because great code is code is due to the absence of suckiness rather than the presence of brilliance. At least IMHO.[1]

Re: [SLUG] Accidental mouse gestures in Firefox driving me insane.

2005-09-21 Thread Ian Wienand
On Wed, Sep 21, 2005 at 04:42:49PM +1000, Mike MacCana wrote: Firefox keeps randomly going back. It seems to be some kind of mouse gesture triggered by my trackpad. I'd like to disable gestures in FF completely. Do you have horizontal scrolling on your trackpad? The same thing happened to me

Re: [SLUG] MRTG Demo data source

2005-09-12 Thread Ian Wienand
On Mon, Sep 12, 2005 at 10:22:06PM +1000, Richard Hayes wrote: I need to do a demo of signal graphing, so I though I would use MRTG. ... What non-SNMP / MIB2 data sources are available? It's very easy to plug an arbitrary non SNMP data source into MRTG. The output just needs to be in the

Re: [SLUG] Lappies with preinstalled Linux (was Partitioning software)

2005-09-08 Thread Ian Wienand
On Thu, Sep 08, 2005 at 03:55:45PM +1000, Dean Hamstead wrote: oh well just thought i would reply on my ibook running only debian linux connected via aiport card. *shrug* You, like myself, probably hit the sweet spot with Apple laptops where we have the Ornico wireless (just Airport,

Re: [SLUG] serial to ethernet

2005-09-04 Thread Ian Wienand
On Mon, Sep 05, 2005 at 11:48:09AM +1000, Richard Hayes wrote: I know there are connectors that will do it but I am trying to do it with software to reduce the need for hardware. I'm not sure exactly what you are after; it might just require netcat and a pipe to /dev/ttyS0. If it's for

Re: [SLUG] Bash Question - Redirection of output determined by Variable name

2005-08-04 Thread Ian Wienand
On Thu, Aug 04, 2005 at 03:00:49PM +1000, [EMAIL PROTECTED] wrote: The $J substitution into the last command works fine but the $R bit, which attempts to redirect the output to a file, does not. Bash seems to interpret the bit as part of the command rather than a redirection instruction.

Re: [SLUG] Increasing the number of Inodes?

2005-07-21 Thread Ian Wienand
On Fri, Jul 22, 2005 at 10:49:11AM +1000, Terry Collins wrote: I've googled, man tunefs others, read the HOWTOs but I am none the wiser as to how I can increase the umber of available inodes in a partition. You can't. From mke2fs -i bytes-per-inode Specify the bytes/inode ratio.

Re: [SLUG] Re: Why XML bites and why it is NOT a markup language

2005-06-10 Thread Ian Wienand
On Fri, Jun 10, 2005 at 10:17:16AM +0100, Rev Simon Rumble wrote: Actually, if the initial spec had said all HTML pages MUST be valid XML or the browser MUST give an error and make no attempt at rendering it and this had been honoured by NCSA and Nutscrape, the web would be in a much better

Re: [SLUG] gnome-panel gone in Debian-unstable/Metacity

2005-06-09 Thread Ian Wienand
On Thu, Jun 09, 2005 at 09:39:03PM +1200, Adam Bogacki wrote: Trying 'apt-get -f install gnome-panel' as root gives me a long string of unmet dependencies which won't cut'n paste from gnome-terminal. Is this something affecting other Debian unstable users at the moment, or just me ? There

Re: [SLUG] Newlines in environment variables

2005-05-29 Thread Ian Wienand
On Mon, May 30, 2005 at 11:30:48AM +1000, Peter Hardy wrote: xmessage -nearmouse $message Now, running this script with bash compresses $message to a single line, while zsh keeps the newlines intact. So I'm wondering how to achieve the same thing with bash. Quote $message, as in $ xmessage

Re: [SLUG] error processing ndtpd

2005-05-25 Thread Ian Wienand
On Wed, May 25, 2005 at 09:42:00PM +1200, Adam Bogacki wrote: I've poked around and am still a bit confused. I've attached it to see if you can spot anything. Inspection isn't really going to help in this case. You need to run it (as root, since that's what dpkg does) on your machine with the

Re: [SLUG] error processing ndtpd

2005-05-24 Thread Ian Wienand
On Tue, May 24, 2005 at 09:20:42PM +1200, Adam Bogacki wrote: Hi, I keep getting the following error message. Setting up ndtpd (3.1.5-6.3) ... Ydpkg: error processing ndtpd (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while

Re: [SLUG] error processing ndtpd

2005-05-24 Thread Ian Wienand
On Wed, May 25, 2005 at 11:22:22AM +1200, Adam Bogacki wrote: Ian Wienand wrote: Try running /var/lib/dpkg/ntpd.post with bash -x and see where it's failing. Thanks, but my /var/lib/dpkg does not include 'ntpd.post' Wow, I suck; two errors in the one line. What I really meant was /var/lib

Re: [SLUG] error processing ndtpd

2005-05-24 Thread Ian Wienand
On Wed, May 25, 2005 at 03:27:44PM +1200, Adam Bogacki wrote: Anyway, the general concept is to find the script that is being run and trace it. Thanks again but I can't find the ntp daemon (presumably ntpd) in /var/lib/dpkg Alright, I just reread your message and noticed that you're

Re: [SLUG] automake

2005-03-06 Thread Ian Wienand
On Mon, Mar 07, 2005 at 10:50:38AM +1100, Ian Su wrote: I would like to get automake to install some .h files in $(top_srcdir)/include prior to compiling the objects for my project. However, there doesn't appear to be any way to do this elegantly. If I add the rules to all-local, it gets

Re: [SLUG] Finding .so's path from inside the .so at runtime?

2005-02-24 Thread Ian Wienand
On Fri, Feb 25, 2005 at 11:17:48AM +1100, [EMAIL PROTECTED] wrote: Is there a standard way for a .so file to find where it was loaded from? from man dl_iterate_phdr The info argument is a structure of the following type: struct dl_phdr_info { ElfW(Addr)dlpi_addr;

Re: [SLUG] Howcome I Have suspicious headers?

2005-02-23 Thread Ian Wienand
On Thu, Feb 24, 2005 at 10:37:09AM +1100, Luke Skywalker wrote: I tried to send a post, but I got a message saying I have suspicious headers. This is not the list you are looking for ... this is not the list I'm looking for ... You will email [EMAIL PROTECTED] with these problems ... I will

Re: [SLUG] Prblem with bash and rsync

2005-02-09 Thread Ian Wienand
On Thu, Feb 10, 2005 at 10:40:45AM +1100, Jobst Schmalenbach wrote: COMMAND=$RSYNC -rlptgoD --delete --delete-excluded --exclude .snapshot --exclude \Temporary Internet Files\ /$d/ $TARGET if [ $DEBUG == 1 ]; then $ECHO $COMMAND; fi $COMMAND Try using eval around this, e.g. eval $COMMAND

Re: [SLUG] Controlling address space layout

2005-01-17 Thread Ian Wienand
On Tue, Jan 18, 2005 at 01:28:51PM +1100, Benno wrote: It would be convenient for my current project if there was some way to specify where in VM the dynamic libraries ended up. You can use prelink to put shared libraries to specific virtual addresses with the --reloc-only option. -i [EMAIL

Re: [SLUG] Compile tutorial

2004-11-28 Thread Ian Wienand
On Sun, Nov 28, 2004 at 12:27:00AM +1100, Rod Butcher wrote: Sluggers, can somebody point me to a tutorial on the various components in software building (newbie-comprehensible) :- You'll need to understand the general concept of makefiles http://www.gnu.org/software/make/manual/make.html and

Re: [SLUG] mrtg logs

2004-11-18 Thread Ian Wienand
On Fri, Nov 19, 2004 at 07:05:56AM +1100, Ben Donohue wrote: I'm yet to find this by RTFM but what produces the log file that MRTG makes it's graphs from? MRTG produces the log file. You would usually have mrtg setup in a cron job that runs every so often, which polls the devices and

[SLUG] Stripping Recevied: Headers on bounce

2004-11-17 Thread Ian Wienand
Hi, I often bounce email from mutt to remote addresses and every now and then will get back some sort of too many hops or to many forwards message (especially from Hotmail). I want some way to strip the Received: headers when I bounce the message via mutt. Anyone done that before? My initial

[SLUG] Remote scp access

2004-11-08 Thread Ian Wienand
On Tue, Nov 09, 2004 at 10:07:20AM +1100, Michael Lake wrote: Michael Lake wrote: 4. Other ways ? What's the easist way to allow the new user to use windows scp but not browse the filesystem. Reading up on chroot jails it seems that they are not trivial to setup. I deleted the previous

Re: [SLUG] Re: Remote scp access

2004-11-08 Thread Ian Wienand
On Tue, Nov 09, 2004 at 04:13:11PM +1100, Michael Lake wrote: Also one problem with scponly is that to use the chroot features you have to make it suid and the authors warns of this. Which is why I installed it in a separate ssh chroot; but I have the luxury of having full access and

Re: [SLUG] updating gaim apt-get

2004-10-05 Thread Ian Wienand
On Wed, Oct 06, 2004 at 08:47:58AM +1000, Gareth Smith wrote: To use msn I need version 0.69 or greater, the only version of gaim I can get is 0.58 and I can't run msn on this version as they say on http://gaim.sourceforge.net/faq.php#q66 That looks like the version from Debian stable. You

Re: [SLUG] installing amsn error

2004-10-04 Thread Ian Wienand
On Tue, Oct 05, 2004 at 12:11:12PM +1000, Gareth Smith wrote: #apt-get install amsn Sorry, but the following packages have unmet dependencies: kde: Depends: kdebase-audiolibs but it is not going to be installed or kdebase3-audiolibs but it is not installable Often with

Re: [SLUG] Mutt and html messages

2004-09-20 Thread Ian Wienand
On Mon, Sep 20, 2004 at 05:12:01PM +1000, Alexander Samad wrote: I seem to recieve a lot of email from corporate users whos client send me text and html version of the email, is there any way to tell mutt that the text version is the prefered version, right now I have to go through and delete

Re: [SLUG] Elementary symlink question

2004-09-13 Thread Ian Wienand
On Mon, Sep 13, 2004 at 04:04:43PM +1000, Matthew Davidson wrote: lrwxrwxrwx 1 mdavids mdavids 12 2004-09-13 15:52 application - version/0.3/ -rw-r--r-- 1 mdavids mdavids0 2004-09-13 15:43 file drwxr-sr-x 5 mdavids mdavids 4096 2004-09-13 15:51 version [EMAIL PROTECTED]:~/test$ cd

Re: [SLUG] Elementary symlink question

2004-09-13 Thread Ian Wienand
On Tue, Sep 14, 2004 at 09:58:59AM +1000, Matthew Davidson wrote: Funny; I've always assumed that the system treated a directory symlink as a real directory that just happens to have exactly the same contents as some other directory. I suppose I'd never put myself in a situation to find out

Re: [SLUG] Debian sarge on vmware

2004-09-12 Thread Ian Wienand
On Mon, Sep 13, 2004 at 10:17:30AM +1000, Robert Tillsley wrote: Now I installed xfree68, but there is no X in that folder. Can anyone give me an idea of where to start troubleshooting? Sounds like you missed a package; try apt-get install x-window-system -i [EMAIL PROTECTED]

Re: [SLUG] start scripts on Debian

2004-09-08 Thread Ian Wienand
On Thu, Sep 09, 2004 at 10:38:22AM +1000, David wrote: * --enable-[redhat/suse/gentoo/cobalt/netbsd/fhs] This option helps netatalk to determine where to install the start scripts. Can anyone suggest which option out of these might work for Debian. Or any other

Re: [SLUG] Rebuild hda

2004-07-28 Thread Ian Wienand
On Thu, Jul 29, 2004 at 12:52:19PM +1000, Simon Bryan wrote: I could of course just disconnect the second HDD until the first is re-built, but felt there had to be a more logical method. Nothing could be *more* logical that removing a drive with sensitive data during a re-install. Even if you

Re: Need to be root to install plugins. was Re: [SLUG] Firebird Googlesearch to do Australia?

2004-07-14 Thread Ian Wienand
On Thu, Jul 15, 2004 at 11:05:26AM +1000, Michael Lake wrote: I just installed Firefox yesterday on my PowerBook and when I go to install plugins it just crashes and exits. Firefox 0.8 has a problem on Power where installing any extension will just crash. Firefox 0.9 is in unstable now

Re: [SLUG] Networking advice please.

2004-07-13 Thread Ian Wienand
On Wed, Jul 14, 2004 at 01:04:44PM +1000, bill wrote: I have 3 pc's networked to an ethernet switch, which is connected to the 'Net via a modem router. All works well. Is it a four port switch? Often those things have 5 ports, but only four can be active at the same time (the extra port can

Re: [SLUG] souces.list for packages stored locally

2004-06-14 Thread Ian Wienand
On Tue, Jun 15, 2004 at 12:05:43PM +1000, David wrote: What entry should I put in my sources.list for packages that are stored locally If it's just one or two debs you need to use dpkg-scanpackages to greate a Packages.gz file. Explained at

  1   2   >