Re: [Hampshire] Hantslug gallery update

2009-08-01 Thread Steve Kemp
On Sat Aug 01, 2009 at 17:53:09 +0100, Alan Pope wrote:

 Mass generalisations are always wrong.

  Everybody generalises from one example, I know I do...

Steve
--
Debian GNU/Linux System Administration
http://www.debian-administration.org/


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Base OS for Xen

2009-07-15 Thread Steve Kemp
On Wed Jul 15, 2009 at 12:58:34 +0100, Dr A. J. Trickett wrote:

 The userland part of KVM is mostly Qemu which is pretty mature already
 so I'd say that while KVM is very new, it has grown up quickly and it's
 still moving forward. I get the feeling that Xen is losing ground and
 going out of fashion.

   It does seem to suffer from being so new though.  I've certainly
  seen problems where heavy network IO will take down a guest unless
  you're running a very very recent kernel.

 I think ByteMark went from User Mode Linux to KVM for their virtual
 systems and now deploy KVM rather than Xen as their default way of
 chopping a new system up. I gather that KVM is easier to work with - but
 that's just a feeling I have no objective data to back it up.

  [I work for Bytemark but I'm not saying anything that isn't already
 public!]

  Bytemark hosted for many years based upon UML, and you're correct
 that these days if you rent a virtual machine it will be KVM-based.

  We had a brief trial of Xen but didn't find it ready for the prime
 time at the point the trial occurred.  Later it did seem reliable,
 robust, and so on but we never switched to it for customer machines
 just for some of our internal systems.

  I'm with the later poster who suggested virtualisation is essentially
 a commodity at this point.  KVM looks good at the moment, and the other
 in-kernel option is Rusty's lguest - I've only toyed with that but
 again its a nice simple system with a lot of flexibility.

  Xen?  I think is destined for the sideline until it makes it fully
 into the kernel, and by then?  I think it'll be overtaken.

Steve
--
http://www.steve.org.uk/

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] PC powers itself off after grub.. any ideas?

2009-06-30 Thread Steve Kemp
On Tue Jun 30, 2009 at 17:34:48 +0100, Stephen Rowles wrote:

 I'm wondering if it might be a faulty PSU?

  I think its a tie between PSU and overheating.

 It behaves the same regardless of which kernel I select so I don't think
 it is related to any updates, typical to get a hardware failure on the PC
 that runs the telly during Wimbledon week!

  If you leave the machine shut down for an hour or so, then power it
 up does it get futher?  (If so that would point more definitively to
 overheating.)

Steve
-- 
Managed Anti-Spam Service
http://mail-scanning.com/


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Disk mounting locations

2009-06-05 Thread Steve Kemp
On Fri Jun 05, 2009 at 12:09:23 +0100, Leo wrote:

 options, as I see it, are:
 1. Mount the disk directly in /home/me/Music.
 2. Mount the disk in /mnt/Music and link /home/me/Music to it.
 3. Mount the disk in /mnt/Music and bind /home/me/Music to it.

 Is there a standard/prefered way of doing this?

  Conventionally you'd probably mount it to /mnt, or /media
 then symlink that to your preferred location.

  I have a similar disk with music, and it is mounted at
 /mnt/music.  Then I have ~/mp3/ symlinked to /mnt/music/mp3
 and similarly I have ~/ogg/ symlinked to the disk.

  The disk itself is mounted read-only, as I rarely add new
 music to it.  (I've ripped all the albums I own and I rarely
 buy new ones these days.  Sometimes I download new tunes
 but very very rarely.)

  If you plan to share the disk(s) via samba it makes sense
 to mount them somewhere global so using /mnt, or
 /home/music makes sense, but using ~me/music doesn't.

  Still at the end of the day you can choose your location
 yourself..

Steve
-- 
Managed Anti-Spam Service
http://mail-scanning.com/


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] constantly flickering LEDs on router: Solved - amid blushes

2009-05-18 Thread Steve Kemp
On Mon May 18, 2009 at 19:08:07 +0100, Daniel Pope wrote:

  Someone else would use pkill instead of the lot of it. ;)

 I use killall. What's the difference?

  On Solaris pkill does what you want, if it is available.

  On Solaris killall kills *all* processes.

  That's the kind of mistake you only make once ..

Steve
--
http://www.steve.org.uk/

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Gnome Preferred Applications in Ubuntu Intrepid

2009-04-21 Thread Steve Kemp
On Tue Apr 21, 2009 at 10:49:32 +0100, Sean Gibbins wrote:

 The obvious answer would appear to be 'System - Preferences - Preferred
 Applications', but that only displays a limited subset of applications
 and no obvious means to create your own custom rules.

  So very close ..

  Take a look at:

System | Preferences | Removable Drives  Media

  There you see a section on the first tab Blank CD and DVD disk
 with Command for audio CDs.


Steve
--
http://www.steve.org.uk/

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Recommendation on Virtualisation books

2009-04-13 Thread Steve Kemp
On Sun Apr 12, 2009 at 21:21:26 +0100, Brian Chivers wrote:

 I'm starting to look at virtualisation but I know very little about it.
 I've read a bit about Xen  KVM and have had several companies visit
 College drumming on about VMWare (very expensive but nice features)  M$
 HyperV(quite cheap for education). I would really like to stay open
 source but I need to read more about this as it'll be for business
 critical systems so stability, flexibility and easy management will be
 very important.

  The management is where most of the open solutions fall down.

  Your choices are probably going to be:

uml - obsolete
xen - heavyweight.  waning support.
qemu/kvm- fast.  regular updates.
vmware  - closed source. good reputation
openbox - ?


  UML is only useful for hosting Linux guests on a Linux host, and
 while it has performance problems it is very stable and simple to get
 started with.

  Xen is an oddity - at one point it looked like it was going to take
 the world by storm.  Since it failed to get integrated into the
 mainline kernel it has suffered a lot, and to be honest these days I'd
 ignore it as a stagnant irrelevancy.

  KVM builds upon the stunningly featureful Qemu software, and adds a
 kernel-based driver which boosts performance.  It is very easy to get
 started with, and has the bonus that if you're running a recent kernel
 you probably have over half the software you need already present.

  VMWare have made a lot of their lower-end software available for
 free, but it isn't open source.  If you only one one-ten guests then it
 works very well, but if you want to use it heavily you're going to miss
 the nice admin tools they have - as they're still commercial.

  Openbox I've never used, so I cannot comment.  But people do say nice
 things about it.

  In short if you don't care about the closed nature then VMWare has
 always had a nice reputation, and if you want to be open-source
 friendly then I'd strongly recommend KVM. (Or openbox; can't recommend
 it as I've never tried it.)

  In all cases though your biggest problem will be the admin side, tools
 to create, manage, control, and copy the guests are lacking in the open
 world.

  Right now, for example, my KVM guests are running inside GNU Screen
 which is functional but hardly very attractive.  Still for most of the
 basic tools kvm, qemu, lguest and uml the basic process is very
 similar:

1.  Create a volume dd if=/dev/zero of=path/to/disk.img bs=1024 
count=8192k

2.  Launch the software pointing at the virtual disk
 kvm -hda /var/kvm/etch64.security.build.img  ...

3.  Setup appropriate networking support.

  Each of these operations is very well documented, so you probably
 don't need a book.  Just pick one of the packages and read the
 documentation.  (VMWare/OpenBox are more GUI applications so you might
 try those first if you're hazy on the command line stuff.)

Steve
--
Managed Anti-Spam Service
http://mail-scanning.com/


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] JOB: Permanent or Contract Linux Ops Engineer (MySQL Database Specialist) | LOCATION: Reading, Berkshire

2009-04-03 Thread Steve Kemp
On Fri Apr 03, 2009 at 12:54:04 +0100, j...@camalyn.org wrote:

 hi, as I have not yet managed to find someone for the job also shown
 below I'm consequently re-posting. 

   I think there comes a point when you either admit defeat, or
  find other places to post.

   I think posting job adverts on the list is a good thing, in
  general, but this job has been posted numerous times with no
  (apparent) success - that suggests either:

* Your requirements are too tight.
* Your pay is too low.
* Your target audience isn't here.

Steve
-- 
Managed Anti-Spam Service
http://mail-scanning.com/


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Cron script spawning too many programs?

2009-03-04 Thread Steve Kemp
On Wed Mar 04, 2009 at 20:37:57 +, AdamC wrote:

 Can anyone think of a reason why when cron executes a script many more
 programs start (at least over 5), but when I run the script from a
 shell, I get the correct amount of programs running that I am
 expecting?

  1.  Cron runs.

  1a.  Cronjob finds *.torrent
  1b.  btdownloadcurses starts for each file.

  2.  Cron runs.  Again - goto 1a.

  Solution?  Make sure that you only start once for each file.  Maybe
 something like this:

  (Notice I've removed the $(ls ..) seems redundant )

#!/bin/sh
# start in correct dir
cd /home/skx/torrents/spool

# find *.torrent
for i in *.torrent; do

# if not already running start up
if [ ! -e $i.working ]; then

#create marker so this file is ignored by
# next run of cron
touch $i.working

# download
/usr/bin/btdownloadcurses $i  /dev/null 
fi
done

Steve
-- 
Stop blogforum spam
http://blogspam.net/

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Cron script spawning too many programs?

2009-03-04 Thread Steve Kemp
On Wed Mar 04, 2009 at 20:59:29 +, Alan Pope wrote:

 Or use a different tool.
 rtorrent *.torrent
 
 will open one copy of rtorrent rather than having multiple copies of a
 bittorrent client running

  Indeed.  My rtorrent installation is configured to auto-start
 any .torrent file it finds in ~/rtorrent/watch :

# ~/.rtorrentrc
#
# Watch a directory for new torrents, and stop those that have been
# deleted.
# schedule =
watch_directory,5,5,load_start=/home/skx/rtorrent/watch/*.torrent
schedule = untied_directory,5,5,stop_untied=

Steve
--

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] When I'm gone?

2009-02-04 Thread Steve Kemp
On Wed Feb 04, 2009 at 19:49:05 +, Phillip Chandler wrote:

 A) - Being morbid. When your gone, your families going to be worrying
 about other stuff. Some of you have mentioned that your wifes arnt
 technical. So my thinking is would they just give the machines away ?
 Rather than have the added worry of getting the HDD's wiped ?

  Indeed my home PC I think I'd be happy for it to rot.

  But I run services for other people and it'd be a shame for them
 to cease.  In practise most things I manage, including my company,
 would tick over without any manual intervention - but after a while
 things like SSL certificates and domain registrations would lapse.

  So there are things that I need to manage, but family photos,
 personal emails, contacts, and logins to websites wouldn't be anything
 I'd dwell on particularly..


Steve
-- 
Managed Anti-Spam Service
http://mail-scanning.com/


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Purchasing music online

2009-02-01 Thread Steve Kemp
On Sun Feb 01, 2009 at 07:30:41 +, Stephen Nelson-Smith wrote:

 Are there any other ways?

  My low-tech solution is to find new artists I like, write down their
 names and spend a few hours hunting for them for sale second hand
 in the local used music stores.

  Not sure what things are like down in Hampshire, but here in Sunny
 Edinburgh we have a few huge second-hand music shops, and it isn't
 often that I can't find what I want.  Though sometimes I'll have to
 wait a few weeks/months.

  If I *really* want a particular album I'll look for it on Ebay.

  Once I have the physical disk in my hands I'll rip it, throw away
 the jewel case and pack the disk  notes in a big box underneath my
 bed where it can gather dust.

  I suspect this isn't remotely related to the solution you want, but
 I figured I'd share regardless.

Steve
-- 
Managed Anti-Spam Service
http://mail-scanning.com/


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Steve Gibson (Was: Re: Data Recovery)

2009-01-27 Thread Steve Kemp
On Tue Jan 27, 2009 at 19:06:39 -, Vic wrote:

  SpinRite selectively disables and enables a drive's
  read caching, write caching, read-ahead buffering, on-the-fly sector
  relocation, on-the-fly error correction, dynamic servo thermal
  re-equalization, early and late ECC error correction, and other
  advanced features in modern drives.
 
 All that sounds pretty nifty - and TBH, I'm too long out of that game to
 know whether it bears any resemblance to the truth or not.

  I do not believe it can be possibly true.

  Not only do the drives, in general, not export that level of control
 such that it may be externally manipulated to do so would require a
 level of access hard to achieve even going direct.  (Given the number
 of mostly-standard but not-quite drives in existence even if you
 limit yourself to just IDE/SATA/AHCI/etc.)

  (Not sure if the tool in question runs in windows, from a bootdisk,
 or via DOS.  Obviously if it runs on top of Windows then there is
 lots of issues with any low-level utility having to undo the VxDs
 Windows sets up.  [Clearly I'm using VxDs as a hand-wave for the
 PM setup - but if you understand the reference you'll see what I mean])

 This bit is just fluff - the fact that you can sell snake oil to someone
 who is desperate enough to try anything means nothing at all.

  Indeed.  Gibson excels at snake oil.  IMHO.

Steve
-- 
Debian GNU/Linux System Administration
http://www.debian-administration.org/


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Wiki anti-spam changes

2009-01-26 Thread Steve Kemp
On Mon Jan 26, 2009 at 10:37:25 +, Dr A. J. Trickett wrote:

 I don't mind (I don't normally make changes from work) I'm just 
 curious how  204.193.45.69 tripped it, can you check the logs?

  The IP wasn't the source, the content of your page tripped the
 bayasian filter.  I've seeded your edits as ham now, so you
 might have more look now.

  (I suspect the wiki-markup is the ultimate cause because it looks
 a little different from most known-good inputs.)

Steve
-- 
Debian GNU/Linux System Administration
http://www.debian-administration.org/


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Wiki anti-spam changes

2009-01-25 Thread Steve Kemp
On Sun Jan 25, 2009 at 19:29:05 +, Adrian Bridgett wrote:

 However I've just tied it into our very own Steve Kemps's
 blogspam.net service so we'll see how that goes. 

  It wasn't really setup with wikis in mind, but I'd be very
 interested in hearing how it works out.

  Mostly it will depend on what is being fed into the tests, 
 the complete text of the edited page, or just a context diff
 representing any changes which have been applied.

  I'd expect you'd need to tweak the max-size, min-size,
 and max-link properties, but I'm sure trial and error will
 let you know if that is required.

Steve
-- 
Managed Anti-Spam Service
http://mail-scanning.com/


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Just a hi

2009-01-16 Thread Steve Kemp
On Fri Jan 16, 2009 at 15:53:56 +, piskie wrote:

 in a word - no, but I'm a forestpixie on the buntu forums -
 so it kind of fits :)
 
  This is why it is so much nicer when people use real names
 or make an introduction that actually introduces themselves.

Steve
-- 
Debian GNU/Linux System Administration
http://www.debian-administration.org/


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Apache performance tuning.

2009-01-07 Thread Steve Kemp
On Wed Jan 07, 2009 at 15:35:08 +, David Ramsden wrote:

 I'm also looking in to implementing a PHP caching system like APC.

  Might be less-effort to put squid in front of Apache...

  Also look at avoiding use of .htaccess files, disabling DNS
 lookups for logging, and similar things.

Steve
-- 
Stop blogforum spam
http://blogspam.net/

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Apache performance tuning.

2009-01-07 Thread Steve Kemp
On Wed Jan 07, 2009 at 16:43:18 +, David Ramsden wrote:

 Using squid as opposed to something like APC sounds like a better idea. 

  :)

 The website administrator has just turned off images within signatures 
 and the performance has increased significantly. So the ability to cache 
 images is attractive.

  In that case you might find moving images to a dedicated host
 and setting up pound to proxy to it would be useful.

  I did that on one site - the main site was www.example.com, and
 all images were hosted on img.example.com.

  Then I had apache running to handle the main site, nginx to handle
 just the images, and pound at the front to direct traffic to either
 localhost:80 (apache) or localhost:81 (images).

  Even with the extra processes running it was significantly faster
 than previously - although the additional complexity made it a little
 irritating.

Steve
-- 
Debian GNU/Linux System Administration
http://www.debian-administration.org/


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Apache performance tuning.

2009-01-07 Thread Steve Kemp
On Wed Jan 07, 2009 at 21:44:00 +, David Ramsden wrote:

 Unfortunately the forum software doesn't have the ability to specify a
 dedicated image host (out of the box). It'll use the main website URL
 for images.

  Then I guess ignore that suggestion then.

 But could mod_rewrite help here? Rewrite the URL to be img.domain.com,
 for any images at a certain location (i.e. /forums/customavatars/)?
 Would using mod_rewrite negate the benefits of using pound+ngnix to
 serve the image content?

  It could, but I think that any gain would be spoiled by the connect,
  redirect, re-request cycle.

  Since I learned from your later message that you're using Plesk
 I think that most of the suggestions are either going to be impractical
 or cause you future pain.  You have my sympathies.

  (Plesk takes over a system to the extent that making manual changes
 is difficult, time-consuming, and prone to extreme breakage when it
 comes to future upgrades.)

Steve
-- 
Debian GNU/Linux System Administration
http://www.debian-administration.org/


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Re-enter local bash session from remote

2008-12-23 Thread Steve Kemp
On Tue Dec 23, 2008 at 09:55:04 +, Keith Edmunds wrote:

  Is there a way of accessing an already running virtual console remotely?

 Not this time, but next time run the command under screen(1). That allows
 you to detach the job and re-attach to it later: very useful in exactly
 the circumstances you describe.

  You don't want to use screen, you want to use tscreen!

 http://www.steve.org.uk/Software/tscreen

   Ahem.

  For this situation it doesn't help, but you might have luck starting
 x11vnc over ssh with tunnelling to view your desktop.  Somehting like

ssh -X u...@home 
  -  apt-get install x11vnc
  -  x11vnc -many

   Then connect again with port forwarding to localhost to
  view your whole desktop via vnc.

  
Steve
--
Try out tscreen - My fork of GNU Screen:

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] EEE pc compatibility

2008-11-22 Thread Steve Kemp
On Sat Nov 22, 2008 at 12:03:33 +, pavithran wrote:

I am planning to buy a eee pc.
I would like to know about the compatibility of eee pc especially the 901
series in GNU /Linux distributions.

  I bought one on Thursday.  It arrived today.  It is currently
 running Debian GNU/Linux just fine :)

Though its bundled with Xandros . I would like to install debian or
gnewsense .
Do do we we get the free(gpl'ed) drivers for eee pc ?

  So far all looks good.  I'm using the RT2860-modules package to
 get the wireless working, and the camera works just fine too.

And how is the performance ? Can we do simple tasks like document
processing ( OO is slow and should obviously be slower in eee) and
probably code some PHP . Hope I could run apache with mysql on it :)

  I'm running apache on it, just because I can.  Performance isn't
 amazing, but it is good enough.

  I'm still finding the fat-finger problem the biggest downside.

Finally where do we get them in southampton ?

  Amazon?

  http://www.amazon.co.uk/ASUS-Netbook-Linux-Preloaded-White/dp/B001C9UTKO

Steve
-- 

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] What is the PC to buy ?

2008-11-17 Thread Steve Kemp
On Mon Nov 17, 2008 at 07:55:00 +, Jon Wilks wrote:

 Anyone made a recent purchase and have been happy with the value and
 service ?

  The past couple of times I've needed a new PC I've gone to 

  http://www.novatech.co.uk/

  They sell bare bundles which are just a case, a motherboard, CPU
 and some memory.  At the same time I'll order a couple of hard drives
 and a graphics card and slot those in on arrival

  The last machine I bought was this:

http://www.novatech.co.uk/novatech/specpage.html?BB-A502M

  I got these to make it complete:
http://www.novatech.co.uk/novatech/specpage.html?HIT-HD250P * 2
http://www.novatech.co.uk/novatech/specpage.html?NOV-94GT5

  Total cost around 250 quid for a lovely machine.

  (I don't use optical media; I perform my installs over the network.)

  Novatech also sell fully assembled machines and have been a pleasure
 to deal with for returns and phone support.

  Of course it depends on what kind of things you're doing with your
 system, and whether you're happy to assemble some parts yourself...

Steve
-- 
http://www.steve.org.uk/

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] OT: Part-P rant

2008-10-21 Thread Steve Kemp
On Tue Oct 21, 2008 at 13:49:10 +0100, Wayne Lee wrote:

   At one point I was using a steam engine to open my curtains, but
  more for novelty than for practicality.
 
 Some people have far too much spare time.

  I was challenged to demonstrate that my collection of engines
 were useful in some fashion!

  Mind I've spent about three weeks on a project to construct, from
 scratch, a wooden beam engine.   That's very labour intensive. For
 example it took me about five hours to make a single spoked wheel:

http://www.steve.org.uk/Images/2008/09/wheel.jpg

  I'm hoping it'll be finished by this time next year, but I'll
 not be surprised if it takes far longer..

Steve
-- 
Debian GNU/Linux System Administration
http://www.debian-administration.org/


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Has anyone ever got pasta on their computer? And a few other things

2008-10-21 Thread Steve Kemp
On Tue Oct 21, 2008 at 23:41:01 +0100, Becky Taylor wrote:

 As the title may suggest, I have - It left a big greasy mark on my 
 laptop screen. I'm ashamed to say my keyboard is filled with biscuit 
 crumbs as well... :-o

  Could be worse.  I'm an evil smoker, so my keyboards tend to get
 ash in them ..

 Also, has anyone ever been to the York Install-fest? I'm going this 
 weekend, hope it's good :)

  I was tempted, but I've already got a day-trip down to York on
 Thursday, and going down twice in one week is a little much!

Steve
--
Try out tscreen - My fork of GNU Screen:
http://www.steve.org.uk/Software/tscreen

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Why I like Perl

2008-10-15 Thread Steve Kemp
On Wed Oct 15, 2008 at 20:13:31 +0100, Stephen Rowles wrote:

 As a replacement for something like bash, I think perl is a great thing.

  Agreed.

 However for applications I hate perl! It is far to easy to write perl code
 that is impossible to read, and some of those magic perl tricks can make
 it even worse! There are so many nasty horrible things you can do with
 perl, and far to many people use them ;) (usually all of them at once if
 they possibly can!)

  Every time I hear this complaint I think of myself.  I say exactly
 the same thing about the majority of PHP code I touch - but that is
 probably because I'm cleaning up security holes.

  Honestly I don't understand why Perl has this reputation.  It is
 possible to do clever tricks in any environment interesting enough
 to be useful.  Similarly a bad coder will be a bad coder regardless
 of implementation language.

  I could give examples of bad PHP, bad C, bad C++, and many more
 without too much effort.  Similarly things that are tricks to some
 people are idiomatic expressions to others.  (e.g. the first time
 a saw Duff's Device in C, or the temp-free XOR swap trick in C.)

 I think perl is a good tool, just often mis-used for things where it
 really isn't the best tool for the job.

  I think junior developers are good, but often mis-used for applications
 which later become important ..

Steve
-- 
http://www.steve.org.uk/

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] ?on topic, ?OT? Synaptic/apt/repository problems

2008-10-14 Thread Steve Kemp
On Tue Oct 14, 2008 at 18:48:15 +0100, Lisi wrote:

 First I couldn't reload/update - on either, saying that the repositories were 
 inaccessible.  So of course I couldn't load any software.

  Please show us what you tried, and what error you received.

  apt-get should be simplest, if you run:

apt-get update
apt-get upgrade

  What error(s) do you see?

  If it is something of the form host not found or host not
 accessible then that suggests that your system cannot connect
 to the remote sites.

  I guess the obvious thing to do would be to open a web browser
 and see if you can visit http://packages.debian.org/ - or whatever
 mirror you're using.

Steve
-- 
Debian GNU/Linux System Administration
http://www.debian-administration.org/


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] remove viruses on external HDD from Linux box

2008-10-10 Thread Steve Kemp
  A pagefile isn't an executable program.  So there's no need to
 try to clean it.

  Just ignore it as a false positive.  If you're not 100% sure what
 you're doing when you mess around with writing to an NTFS volume
 corruption is the most likely result.

Steve
-- 


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--