Re: a perl question

2011-01-04 Thread John Haxby
On 4 January 2011 14:27, Thomas Cameron wrote: > > Seriously, Mathias. These look like questions straight out of entry > level university classes. Are you asking mailing lists to do your > homework for you? > > Not cool at all. > > Especially as your supervisor may well be lurking on lists to s

Re: mpg321 in fedora 14

2010-12-29 Thread John Haxby
On 29 December 2010 13:43, paul van der meij wrote: > after a new install of fedora 14 I get a core segmentation fault when > running mpg321. > It used to work perfectly under fedora 11 > > Works perfectly for me. Perhaps all you need is a "yum update" jch -- users mailing list users@lists.fed

Re: removable device mounting stopped working

2010-12-29 Thread John Haxby
On 29 December 2010 12:34, Neal Becker wrote: > > Dec 29 07:24:11 nbecker1 kernel: [ 91.037398] USB Mass Storage support > registered. > > Dec 29 07:24:12 nbecker1 kernel: [ 92.039281] scsi 5:0:0:0: Direct-Access > Google, Inc.Nexus > One PQ: 0 ANSI: 2 > Dec 29 07:24:12 nbecker1

Re: About programing, a general question

2010-12-17 Thread John Haxby
On 17 December 2010 10:37, John Haxby wrote: > There's a good tutorial on python.org as well. > > http://docs.python.org/tutorial/ It doesn't cover basic programming concepts, and some of the terms will be unfamiliar the first time through, but it'll get you started

Re: About programing, a general question

2010-12-17 Thread John Haxby
On 17 December 2010 10:24, Parshwa Murdia wrote: > > > So C is better then? If you compare with Python, which is better place to > start with? > > > Python is a better start. It's very hard to say whether one programming language is better than another. I've written stuff in, oh, I can't rememb

Re: About programing, a general question

2010-12-17 Thread John Haxby
On 17 December 2010 10:21, Parshwa Murdia wrote: > On Fri, Dec 17, 2010 at 3:40 PM, Andrew Haley wrote: > > C is a fairly small language and C++ is a fairly large one. There is >> a significant number of people who believe that C++ is too large. >> However, many of the C++ features are useful.

Re: About programing, a general question

2010-12-17 Thread John Haxby
On 17 December 2010 09:41, Ralf Corsepius wrote: > > That said, I'd choose "C" to getting started. It's a bit of a rough ride > in the beginning, but it pays off in longer terms. > > Actually, no, C is dead easy to start but it gets really difficult really quickly. Consider these for a beginner:

Re: About programing, a general question

2010-12-17 Thread John Haxby
On 16 December 2010 17:02, Parshwa Murdia wrote: If one has to start from the scratch, from the zeroth level to do the > programing, which programing language one should start with? In the ocean of > the languages, to start with is really very typical. Can one justify it. > Some say Python but ag

Re: file system mount and umount timestamps?

2010-12-16 Thread John Haxby
On 15 December 2010 17:46, mike cloaked wrote: > > I could not find any direct way to get at the last umount time but I > wonder if this is recorded in the /var/log/messages file ? > > For ext4 (and presumable ext2 and ext3 as well) the unmount time is not recorded explicitly. However, if a file

Re: attacks, that could be prevented with iptables

2010-12-16 Thread John Haxby
On 15 December 2010 20:00, S Mathias wrote: > > 5) is there a command to get info, that how many packets went through e.g.: > the > > $IPTABLES -A OUTPUT -p tcp --dport 20:21 -j ACCEPT > or the > $IPTABLES -A OUTPUT -p tcp -m multiport --dport 80,443 -j ACCEPT > line? are there any statistics abo

Re: bash increment in a given way

2010-12-11 Thread John Haxby
On 11 December 2010 14:34, S Mathias wrote: > > but what's the "magic" for this? : > > $ MAGIC; do echo "Welcome $i times"; done > Welcome 0 times > Welcome 1 times > Welcome 4 times > Welcome 5 times > Welcome 8 times > Welcome 9 times > $ > > for i in 0 1 4 5 8 9; do -- users mailing list

Re: dd question

2010-12-10 Thread John Haxby
On 10 December 2010 03:11, Amadeus W.M. wrote: > I have a binary file with data. Each block of 48 bytes is a record. I > want to extract the first 8 bytes within each record. I'm thinking this > should be possible with dd, but gawk, perl - anything goes. It just has > to be fast, because the data

Re: Two Nouveaus Running

2010-12-06 Thread John Haxby
On 6 December 2010 18:44, Sjoerd wrote: > > > > I have an i7 processor running F14 and I see 8 instances of the radeon > driver and only one card in the system: > > 03:00.0 VGA compatible controller: ATI Technologies Inc RV730XT [Radeon HD > 4670] > > $ ps -af | grep radeon > root 155 2

Re: Init fails on FC14

2010-12-03 Thread John Haxby
On 3 December 2010 11:36, Heinz Diehl wrote: > > The same behaviour was present on all 4 machines: > booting into Gnome, opening a console, "su root", > init 3 -> nothing happens, the logout and shutdown buttons disappear > and the machine becomes unstable. This was not present in F13, which were