From stuart.james.burns at gmail.com Fri Jan 2 20:57:54 2009 From: stuart.james.burns at gmail.com (Stuart Burns) Date: Fri, 02 Jan 2009 20:57:54 -0000 Subject: [Chester LUG] Happy new year and broken perl Message-ID: Hi Everyone, Hope everyone had a good holiday and a good new year. I'm glad to be back, having suffered extreme internet withdrawl. (Ok so internet was there, but I wasn't paying £8 an hour to surf the internet!!! So I also have a little problem with my perl code. It's almost there. Basically, there is an issue with it is not rotating through multiple pages as it should. It seems to read the first one, and then not increment, if that makes sense. So I post it here, in the hope that someone can help me, a perl wannabe. Cheers Stu #!/usr/bin/perl # variables $sites_file="sitefile.txt"; # File that holds the config $use_descriptors=1; # If this is enabled, the 3rd column alt tags will be included to enhance SEO. # Read in the details of sites that are going to be generated. open(sites, $sites_file) || die("Could not open file"); @site_array=; close(sites); foreach $site_line (@site_array){ chomp($site_line), ($site_description, $site_domain, $site_img_file_src, $site_txt_file_src, $site_html_output_dir, $site_html_output_file, $site_html_generate_meta, $site_html_style, $site_html_rows, $site_html_cols)=split(/\|/,$site_line); push(@site_desc, $site_description); push(@site_tld, $site_domain); push(@site_html_or_img_array, $site_html_style); push(@site_img_input_folder, $site_img_file_src); push(@site_link_input_array, $site_txt_file_src); push(@site_html_output_folder_array, $site_html_output_dir); push(@site_html_output_file_array, $site_html_output_file); push(@site_html_input_generate_meta_array, $site_html_generate_meta); push(@site_html_txt_or_img_array, $site_html_style); push(@site_html_rows, $site_html_rows); push(@site_html_cols, $site_html_cols); $site_inputs_count++; } print "\n\n\n" . 'Site creation tool' . "\n\n\n"; print 'Site input file: ' . $site_txt_file_src ."\n"; for ($current_site_counter = 0; $current_site_counter < $site_inputs_count; $current_site_counter++) { $data_file = @site_link_input_array[$current_site_counter]; open(DAT, $data_file) || die("Could not open file!"); @raw_data=; close(DAT); # Read in data for the page to be generated foreach $data_line (@raw_data){ chomp($data_line); ($c_jpg,$c_url,$c_descriptor)=split(/\|/,$data_line); push(@images, $c_jpg); push(@urls, $c_url); push(@descriptors, $c_descriptor); $total_input_lines++; } $site_desc_out = @site_dec[$current_site_counter]; $site_tld_out = @site_tld[$current_site_counter]; $site_html_style_out = @site_html_or_img_array[$current_site_counter]; $fulloutputpath = @site_link_input_array[$current_site_counter]; $fullimginputpath = @site_img_input_folder[$current_site_counter]; $fulloutputpath= @site_html_output_folder_array[$current_site_counter] . @site_html_output_file_array[$current_site_counter]; $rows=@site_html_rows[$current_site_counter]; $cols=@site_html_cols[$current_site_counter]; open (outputfile, ">$fulloutputpath"); print "\n\n\n" . "Running Input for: " . $site_desc[$current_site_counter] . "\n"; print "---------------------------------------------------------------------------"; print "\nImage Input folder is" . ': ' . $fullimginputpath ."\n"; print "Output file is" . ': ' . $fulloutputpath . "\n"; print outputfile '' . "\n"; print outputfile '' . "\n"; print 'Type detected as: '; if ($site_html_style_out eq 'I') { print "Images\n"; } else { print "Text\n"; } $total_images_required = $rows * $cols; for ($x = 0; $x < $rows; $x++) { print outputfile "\t" . '' . "\n"; if ($site_html_style_out eq 'I') { for ($i = 0; $i < $cols; $i++) { $random_img=int(rand($total_input_lines)); print outputfile "\t\t" . '' . "\n"; } } else { for ($i = 0; $i < $cols; $i++) { $random_img=int(rand($total_input_lines)); print outputfile "\t\t" . '' . "\n"; } } print outputfile "\t" . '' . "\n"; } print outputfile '
' . '" . '' . @images[$random_img] . '' . '
' . "\n"; print outputfile '' . "\n\n"; } print "\n\n\n" . 'Run Completed ' . "\n\n"; close (outputfile); -------------- next part -------------- An HTML attachment was scrubbed... URL: From wilp4a at hotmail.co.uk Fri Jan 2 21:16:36 2009 From: wilp4a at hotmail.co.uk (Paul Williams) Date: Fri, 02 Jan 2009 21:16:36 -0000 Subject: [Chester LUG] New year and broken and new Message-ID: Well it's the new year and time for new things. Firstly, I finally broke the 1 minute barrier solving a rubiks cube. Another broken thing is my eeepc (2g surf). I make the distinction because I have ordered an eeepc 1000H - Black XP version. Why XP you ask? Well, I need a dual boot. It cost £280 for a white linux box (160GB) or the same for an 80GB XP machine. If I pay £300 instead, I get a choice of a black (160GB) XP box or a black (160GB) linux box. Thats right - £20 more for a black linux box instead of a white one! I want black though. After a year, my white 2g looks like I've been using it in a chippy all year! So I can pay £300 for Xandros (which I'd remove), install my knock off copy of XP pro and then drag the drivers off the asus site, or pay the same and have a legal copy of XP and only have to remove the bloatware. Either way it won't be my only OS on it. I have turned my back on Ubuntu (sort of). Intrepid honked me off big style. I had disappearing toolbars, disappearing fast user switchers, broken sound drivers and (final straw) non-persistance on the graphics options. Two separate installs failed to fix all the problems. I am trialing Mandriva upstairs and Linux Mint 5 (about to upgrade to 6) on my main machine downstairs. The winner will be my linux distro on the new 1000H. So far Linux Mint is winning. My 2g surf meanwhile is going to get fixed. It stopped accepting AC - resorting to battery only. Just enough power to reset it to Xandros before they collect it. Bonus is that eeepc 700s have a 2 year warantee with Asus. My wife will use that one for meetings (although she want's XP on it!) Well that's my news Hope you all had a great christmas and new year Paul _________________________________________________________________ Get Windows Live Messenger on your Mobile http://clk.atdmt.com/UKM/go/msnnkmgl0010000001ukm/direct/01/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From biglynchy at gmail.com Thu Jan 8 16:30:08 2009 From: biglynchy at gmail.com (Dan Lynch) Date: Thu, 08 Jan 2009 16:30:08 -0000 Subject: [Chester LUG] LUG Website Message-ID: Hi folks, I was just talking to someone in our podcast forum who was interested in coming along to the LUG but said the website wasn't working and the link from lug.org.uk just takes you back to the lug.org.uk homepage. I had a quick look in Google and couldn't find the old site with the pictures of Chester anywhere. I know I've used it in the past but not for a long time, is it still alive? Anyway just thought I should pass the information on, I heard lug.org.uk had some hosting problems and I know it affected the Liverpool LUG site for a while. You might want to take a look. I gave this person all the information I could about meets and directed them to this mailing list as well. Hopefully we might see some new faces at future meets :) Happy New Year all before I forget, hope to see you all at the end of the month, I know I've missed a few meets lately so I'm gonna make a concerted effort to get there this time. See ya Dan ------------------------- linuxoutlaws.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From rcgibson at talktalk.net Tue Jan 13 21:27:48 2009 From: rcgibson at talktalk.net (Roger Gibson) Date: Tue, 13 Jan 2009 21:27:48 -0000 Subject: [Chester LUG] Free Linux Format magazines and Chester LUG In-Reply-To: References: Message-ID: <496D0751.2010101@talktalk.net> Anyone know? Crispytoed . said the following on 13/01/2009 20:27: > In the latest issue of Linux Format (I'm subscribed to it as a > Christmas present), I noticed on page 14 it said that they had printed > too many copies of LXF 113, and that they would give a free batch to > anyone attending a LUG. Would you know if anybody from Chester has > taken advantage of this? > > Thanks, > Pat > > ------------------------------------------------------------------------ > What can you do with the new Windows Live? Find out > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From les.pritchard at gmail.com Tue Jan 13 22:38:10 2009 From: les.pritchard at gmail.com (Les Pritchard) Date: Tue, 13 Jan 2009 22:38:10 -0000 Subject: [Chester LUG] Free Linux Format magazines and Chester LUG In-Reply-To: <496D0751.2010101@talktalk.net> References: <496D0751.2010101@talktalk.net> Message-ID: Hi Roger, Nobody has told me that they've done that - could you (or anyone else with a copy) get me the details of who I need to contact? Whilst I'm emailing - Dan thanks for your email about the website. I'm really not sure what's happened with it, the apache conf looks ok but I'll keep on playing with it. I've been down with shingles the last few weeks hence being quiet on the list. I hope you all had a good Christmas and New Year. I should be up and about in time for the next meet. Les On Tue, Jan 13, 2009 at 9:27 PM, Roger Gibson wrote: > Anyone know? > > Crispytoed . said the following on 13/01/2009 20:27: > > In the latest issue of Linux Format (I'm subscribed to it as a Christmas > present), I noticed on page 14 it said that they had printed too many copies > of LXF 113, and that they would give a free batch to anyone attending a LUG. > Would you know if anybody from Chester has taken advantage of this? > > Thanks, > Pat > > ------------------------------ > What can you do with the new Windows Live? Find out > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > > > _______________________________________________ > Chester mailing list > Chester at mailman.lug.org.uk > https://mailman.lug.org.uk/mailman/listinfo/chester > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From biglynchy at gmail.com Tue Jan 13 22:40:00 2009 From: biglynchy at gmail.com (Dan Lynch) Date: Tue, 13 Jan 2009 22:40:00 -0000 Subject: [Chester LUG] Free Linux Format magazines and Chester LUG In-Reply-To: References: <496D0751.2010101@talktalk.net> Message-ID: No worries Les, hope you feel better soon shingles is nasty. Take care :) Dan On Tue, Jan 13, 2009 at 10:38 PM, Les Pritchard wrote: > Hi Roger, > > Nobody has told me that they've done that - could you (or anyone else with > a copy) get me the details of who I need to contact? > > Whilst I'm emailing - Dan thanks for your email about the website. I'm > really not sure what's happened with it, the apache conf looks ok but I'll > keep on playing with it. I've been down with shingles the last few weeks > hence being quiet on the list. I hope you all had a good Christmas and New > Year. I should be up and about in time for the next meet. > > Les > > On Tue, Jan 13, 2009 at 9:27 PM, Roger Gibson wrote: > >> Anyone know? >> >> Crispytoed . said the following on 13/01/2009 20:27: >> >> In the latest issue of Linux Format (I'm subscribed to it as a Christmas >> present), I noticed on page 14 it said that they had printed too many copies >> of LXF 113, and that they would give a free batch to anyone attending a LUG. >> Would you know if anybody from Chester has taken advantage of this? >> >> Thanks, >> Pat >> >> ------------------------------ >> What can you do with the new Windows Live? Find out >> ______________________________________________________________________ >> This email has been scanned by the MessageLabs Email Security System. >> For more information please visit http://www.messagelabs.com/email >> ______________________________________________________________________ >> >> >> _______________________________________________ >> Chester mailing list >> Chester at mailman.lug.org.uk >> https://mailman.lug.org.uk/mailman/listinfo/chester >> >> > > _______________________________________________ > Chester mailing list > Chester at mailman.lug.org.uk > https://mailman.lug.org.uk/mailman/listinfo/chester > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From les.pritchard at gmail.com Mon Jan 26 22:20:14 2009 From: les.pritchard at gmail.com (Les Pritchard) Date: Mon, 26 Jan 2009 22:20:14 -0000 Subject: [Chester LUG] Social Meet Message-ID: Hi all, It feels like ages since the last one! The next one is this Thursday at the Old King's Head from 7pm. I look to have found a pub venue with WIFI access so all being well I'm hoping to have that booked for next month. See you on Thursday -------------- next part -------------- An HTML attachment was scrubbed... URL: From fgaughan at gmail.com Mon Jan 26 23:13:59 2009 From: fgaughan at gmail.com (Fintan Gaughan) Date: Mon, 26 Jan 2009 23:13:59 -0000 Subject: [Chester LUG] Barcamp Liverpool In-Reply-To: References: Message-ID: how did it go? Fintan 2008/10/29 Stuart Burns : > I booked my place. Is anyone else going and fancies a travel partner and > much coffe en route ? > > 2008/10/28 Dan Lynch >> >> Hey folks, >> >> I was sent this on the Liverpool LUG mailing list but I thought I'd pass >> it on in case anyone doesn't know. There will be a Barcamp event in >> Liverpool this December and it looks really interesting. >> >> http://www.barcampliverpool.com/ >> >> 6th-7th December >> >> Not strictly open source related more of just a general gathering for >> geeks but I'm sure there'll be plenty of Linux users in attendance and there >> is a Wii tennis tournement hehe, should be fun :) >> >> See ya >> >> Dan >> >> _______________________________________________ >> Chester mailing list >> Chester at mailman.lug.org.uk >> https://mailman.lug.org.uk/mailman/listinfo/chester >> > > > _______________________________________________ > Chester mailing list > Chester at mailman.lug.org.uk > https://mailman.lug.org.uk/mailman/listinfo/chester > > -- My Blog http://www.finllfixit.co.uk/ From biglynchy at gmail.com Mon Jan 26 23:55:21 2009 From: biglynchy at gmail.com (Dan Lynch) Date: Mon, 26 Jan 2009 23:55:21 -0000 Subject: [Chester LUG] Social Meet In-Reply-To: References: Message-ID: Sounds good, see you on Thursday. I've marked it in my diary this month as I know I've missed the last couple :) Dan On Mon, Jan 26, 2009 at 10:20 PM, Les Pritchard wrote: > Hi all, > > It feels like ages since the last one! The next one is this Thursday at > the Old King's Head from 7pm. > > I look to have found a pub venue with WIFI access so all being well I'm > hoping to have that booked for next month. > > See you on Thursday > > _______________________________________________ > Chester mailing list > Chester at mailman.lug.org.uk > https://mailman.lug.org.uk/mailman/listinfo/chester > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From biglynchy at gmail.com Tue Jan 27 00:08:55 2009 From: biglynchy at gmail.com (Dan Lynch) Date: Tue, 27 Jan 2009 00:08:55 -0000 Subject: [Chester LUG] Barcamp Liverpool In-Reply-To: References: Message-ID: The event was pretty good overall, I had a good time and met some interesting folks but there was quite a proprietary feel to it I'd say. It was sponsored by Microsoft and all the competition prizes were copies of Vista. The MS guys were nice enough and I tried to talk to them but always seemed to be getting a sales pitch on why closed software is better, I was wearing a Linux t-shirt and handing out Linux Outlaws cards all the time though. I think they thought I was going to attack them which I wasn't, they probably get that a lot :) There were some great sessions and it was worth going as I said. I like to meet people from outside our relatively small FLOSS circle who have different perspectives. There was also a lot of iPhone dev stuff as quite a few of the attendees were mobile developers. A few folks from the Liverpool LUG were there and others had even traveled from London. I think they said there were about 120 people there in the end. The organisers worked really hard and I'm glad it went well for them. There's already talk of another one being arranged for the future so keep an eye out for that. Hope that helps a bit, cheers Dan On Mon, Jan 26, 2009 at 11:13 PM, Fintan Gaughan wrote: > how did it go? > > > Fintan > > 2008/10/29 Stuart Burns : > > I booked my place. Is anyone else going and fancies a travel partner and > > much coffe en route ? > > > > 2008/10/28 Dan Lynch > >> > >> Hey folks, > >> > >> I was sent this on the Liverpool LUG mailing list but I thought I'd pass > >> it on in case anyone doesn't know. There will be a Barcamp event in > >> Liverpool this December and it looks really interesting. > >> > >> http://www.barcampliverpool.com/ > >> > >> 6th-7th December > >> > >> Not strictly open source related more of just a general gathering for > >> geeks but I'm sure there'll be plenty of Linux users in attendance and > there > >> is a Wii tennis tournement hehe, should be fun :) > >> > >> See ya > >> > >> Dan > >> > >> _______________________________________________ > >> Chester mailing list > >> Chester at mailman.lug.org.uk > >> https://mailman.lug.org.uk/mailman/listinfo/chester > >> > > > > > > _______________________________________________ > > Chester mailing list > > Chester at mailman.lug.org.uk > > https://mailman.lug.org.uk/mailman/listinfo/chester > > > > > > > > -- > > My Blog http://www.finllfixit.co.uk/ > > _______________________________________________ > Chester mailing list > Chester at mailman.lug.org.uk > https://mailman.lug.org.uk/mailman/listinfo/chester > -------------- next part -------------- An HTML attachment was scrubbed... URL: From les.pritchard at gmail.com Thu Jan 29 17:37:39 2009 From: les.pritchard at gmail.com (Les Pritchard) Date: Thu, 29 Jan 2009 17:37:39 -0000 Subject: [Chester LUG] Reminder - Social tonight at 7pm Message-ID: ...at the Old King's Head. See you there! -------------- next part -------------- An HTML attachment was scrubbed... URL: From wilp4a at hotmail.co.uk Thu Jan 29 18:55:33 2009 From: wilp4a at hotmail.co.uk (Paul Williams) Date: Thu, 29 Jan 2009 18:55:33 -0000 Subject: [Chester LUG] Reminder - Social tonight at 7pm In-Reply-To: References: Message-ID: Not going to make it. Been down with the lurgy all day. Wife the same. Kids are fine. Manic as hell. Paul Date: Thu, 29 Jan 2009 17:37:38 +0000 From: les.pritchard at gmail.com To: chester at mailman.lug.org.uk Subject: [Chester LUG] Reminder - Social tonight at 7pm ...at the Old King's Head. See you there! _________________________________________________________________ Love Hotmail?  Check out the new services from Windows Live! http://clk.atdmt.com/UKM/go/132630768/direct/01/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From iamseawolf at gmail.com Thu Jan 29 18:59:19 2009 From: iamseawolf at gmail.com (Ben Arnold) Date: Thu, 29 Jan 2009 18:59:19 -0000 Subject: [Chester LUG] Reminder - Social tonight at 7pm In-Reply-To: References: Message-ID: <9c3bfa1d0901291059k3e70b008h49c553b9fbbf47a5@mail.gmail.com> Sorry to hear that Paul, hope you're both well soon. I'll go down as soon as my dinner does the same! b 2009/1/29 Paul Williams : > Not going to make it. Been down with the lurgy all day. Wife the same. > Kids are fine. Manic as hell. > > Paul > > ________________________________ > Date: Thu, 29 Jan 2009 17:37:38 +0000 > From: les.pritchard at gmail.com > To: chester at mailman.lug.org.uk > Subject: [Chester LUG] Reminder - Social tonight at 7pm > > ...at the Old King's Head. > > See you there! > > ________________________________ > Windows Live Hotmail just got better. Find out more! > _______________________________________________ > Chester mailing list > Chester at mailman.lug.org.uk > https://mailman.lug.org.uk/mailman/listinfo/chester > > -- | seawolf | | Ben Arnold | | e-mail / msn / icq / web | | ben.arnold.inbox (at) gmail.com | | iamseawolf (at) gmail (dot) com |