[SLUG] Australian distributor product page for Raspberry Pi (Model B)
Have at it: http://au.element14.com/raspberry-pi/raspbrry-pcba/sbc-raspberry-pi-model-b/dp/2081185 More information: http://www.rasberrypi.org/ -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Re: [activities] Slug Meeting August 2011
On Tue, Aug 23, 2011 at 14:28, commit...@slug.org.au wrote: Details Details TBA. Awesome! ... wait, wha--? ;-) How many people generally come along to SLUG these days? Any further updates re: what's on tomorrow? -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Re: [activities] Notice of Extraordinary General Meeting - Friday March 25 2011
On Fri, Mar 4, 2011 at 19:32, James Polley presid...@slug.org.au wrote: The meeting is convened to consider, and if thought fit, pass as a special resolution, several motions concerning the winding up of the association. Please submit my vote in proxy, supporting all of these motions except (3). (1) Yea (2) Yea (3) Nay (4) Yea Thanks, - Jeff -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Talk Timer
quote who=Marghanita da Cruz Can anyone recommend a talk timer? http://lightningtimer.net/ - Jeff -- Ubuntu's Bleeding Edge http://ubuntuedge.wordpress.com/ That rug really tied the room together. - The Dude, The Big Lebowski -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] today's scary thought
quote who=Del Someone asked me today, as they often ask me about things Linux, if I had a Linux replacement for their favourite journal app that they run on their (windows) PC. I asked what that journal app did, and was told: You can set it to track when you open files of various types [in other applications] and how long they are open for.. Further quizzing revealed that you can set it to record when those files were opened, saved, closed, and when and where any saved and backup copies were stored. I mentioned the security impacts of such an application, or even the fact that such an application was possible, and left it at that. Look around for Zeitgeist. :-) - Jeff -- Ubuntu's Bleeding Edge http://ubuntuedge.wordpress.com/ Acts of random. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Re: WordPress, PHP ... Re: Ubuntu 10.04
quote who=Richard Ibbotson http://constantshift.com/install-php-fpm-5-3-2-on-ubuntu-10-04-lucid- lynx/ Installed that. I hope you mean the 'php-apc' package, rather than php-fpm. Tried installing wp-super-cache yesterday. Logs show that the blog was attacked about 90 minutes later and it went offline. I don't know what that's about. Deleting wp-super-cache brought the site back up. I'll have a go at wp-cache next. wp-cache is unmaintained, wp-super-cache was forked from it and is kept up to date by the creator of WordPress MU. There's no point using wp-cache, and it is highly unlikely that there is a direct relationship between attacked and wp-super-cache. Running 'sudo a2enmod deflate' reveals that it's already running. It's already faster than it was. Doesn't mean it's active. Use 'ismyblogworking.com' to find out useful tidbits about how your blog is operating. - Jeff -- Ubuntu's Bleeding Edge http://ubuntuedge.wordpress.com/ boc i wish i could write good flames jwz boc: you can't win if you don't play -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Re: WordPress, PHP ... Re: Ubuntu 10.04
quote who=justin randell [Sun May 02 16:17:47 2010] [error] [client 10.0.0.2] PHP Warning: session_start() [a href='function.session-start'function.session- start/a]: Cannot send session cache limiter - h [Sun May 02 16:17:55 2010] [error] [client 10.0.0.2] PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /var/www/blog/wp- settings.php on line 27, referer: http://sl what that's telling you is that wordpress core code will not run on php 5.3 without throwing heaps of warnings. That is not the case, however, certainly not with WordPress 2.9 (and I'm pretty sure, all the way back to 2.7 and earlier)... in normal operation, there should be *no* warnings whatsoever running WordPress core. The second last log line, and inaccuracy of line 27 (given that call is on line 18 in WordPress 2.9), seem suspicious to me... sounds like Richard has something else running on every request? Notably session_start is not called in the WordPress codebase. Richard, you haven't turned on WP_DEBUG in wp-config.php, have you? (That would explain at least some of the notices and warnings...) - Jeff -- The Great Australian Internet Blackout http://www.internetblackout.com.au/ The Motif interface, with chunkier controls, felt more like a ghetto blaster. - Liam Quin -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] WordPress sessions [Was: WordPress, PHP]
quote who=justin randell that really got me curious, so i had a poke around the 2.9.2 code base. jeff, i'm wondering what led to a decision to reimplement php session handling in custom code? seems the code that leads to pulling the $user from a permanent store via an encrypted cookie value is exactly what sessions are for? was it a desire to use a non-file based store and an aversion to using custom session handlers? was it a desire to control the strength of the cookie hash? Most likely both... on top of that, consider WordPress's relative age, ease of installation / configuration (particularly on shared hosting platforms where the user has no control over the system), and desire to support older system components. An interesting question though, for which I'm sure there's more historical background (and rationale for not switching to PHP session handling in later versions)... I'll ask around and find out more. :-) - Jeff -- The Great Australian Internet Blackout http://www.internetblackout.com.au/ Jane Austen is the Don Burke of romantic comedy. - Andrew Bennetts -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
WordPress, PHP ... Re: [SLUG] Re: Ubuntu 10.04
quote who=Richard Ibbotson I got into Wordpress after the 2.8.3 release. Seems to be better just lately. WordPress 3.0 is going to rock (and indeed, already is, if you're comfy running pre-release). Shame the PHP stuff in Lurid Lynx 10.04 isn't quite there just yet. Maybe an update in a few weeks for Ubuntu. Seems fine here. I've been running it for a couple of months on production servers [1] for WordPress, PHP, MySQL, etc., and they're running swimmingly. Quite a few problems were shaken out of the PHP 5.3 stack before release, such as the requirement to update APC in the repo, etc. - Jeff [1] If you don't test before release, particularly with an LTS, it is much harder to say but X doesn't work! with a straight face. -- The Great Australian Internet Blackout http://www.internetblackout.com.au/ Laughter is a force for democracy. - John Cleese -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Re: WordPress, PHP ... Re: Ubuntu 10.04
quote who=Richard Ibbotson However, looking in to my.cnf and php.ini I can't see anything wrong. Doing 'sudo find / -name php.ini' finds /etc/php5/apache2/php.ini and /etc/php5/cli/php.ini. Isn't that wrong ? Can't think there should be two php.ini files in there. Yep, that's normal. Debian/Ubuntu provides separate configuration files for the various ways of running PHP (mod-apache, CGI, CLI, etc). Very handy, particularly to distinguish between your PHP scripts and web applications. Looking at http://sleepypenguin.homelinux.org/blog/ I can see that the page and the background are there. But, no written content of pictures. shrug Don't know what to do about that. Probably a theme issue. Make sure that you have the freshest version of your theme, and then start looking at your error.log - you're very likely to find indicative errors in there. - Jeff -- The Great Australian Internet Blackout http://www.internetblackout.com.au/ The ability to procrastinate is what separates us from the machines. - Chris Gregory, Desktop Magazine -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Best API/abstraction? [Was: Time Pedantry] servers?)
quote who=Jamie Wilkinson I for one am glad such pages exist. I wish the inventors of time_t had read it. So which language / library has a great abstraction for time and date stuff, helping you deal with the intricacies of this craziness? - Jeff -- The Great Australian Internet Blackout http://www.internetblackout.com.au/ We're passe with class, eh? -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: Why so snooty? Re: [SLUG] Which bank doesn't use Linux servers?
quote who=Nick Andrew On Thu, Apr 01, 2010 at 03:27:23PM +1100, Jeff Waugh wrote: Not sure what Linux has to do with this -- there's far more going on (with dates and times especially) in a complex stack of software than just the OS. Consider the amount of legacy software and multi-system integration involved in a bank's computing environment. I see it more like software superstition. Bad things might happen - we don't know, we won't (or can't) test it, and we won't (or can't) fix it. Sorry dudes, but this just sounds like Open Source snootiness from the small end of town. I want my bank to run on logic, not voodoo. ... and you say this with broad knowledge of the many and varied systems in place? There may just be an entirely sensible reason why one or more pieces of the system, at this point in its evolution, requires hand-holding or no external access during a DST changeover. Whee, Linux! is not an answer if it's an application problem - and that's being polite. Whee, Linux! might not be a useful answer for plenty of other reasons. - Jeff -- The Great Australian Internet Blackout http://www.internetblackout.com.au/ Anyway - I need something more James Bond than Banana Man, if you know what I mean... - Tom Gilbert -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Why so snooty? Re: [SLUG] Which bank doesn't use Linux servers?
quote who=Rick Welykochy Similar for Westpac: Online Banking will be unavailable due to scheduled maintenance from 02:50 to 04:15 AEST on Sunday 4 April 2010. Another one not using Linux. Not sure what Linux has to do with this -- there's far more going on (with dates and times especially) in a complex stack of software than just the OS. Consider the amount of legacy software and multi-system integration involved in a bank's computing environment. Sorry dudes, but this just sounds like Open Source snootiness from the small end of town. Seriously, just look at half the MySQL-based Open Source applications around you... Example: WordPress only gained automagically updating named timezones (rather than manual offsets) in 2.7 or 2.8. Fat load of good Linux [1] did in that case. - Jeff [1] It's not like you're talking about the Linux kernel here, either. -- The Great Australian Internet Blackout http://www.internetblackout.com.au/ I wonder how many bugs have gone unfixed due to misspellings of FIXME. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Tar backup of links
quote who=Ben Donohue how does tar handle links? I have several nested layers of folders and some of them are linked back to other folders. If I use tar to make a backup of the root folder and subfolders, does tar backup the link files or does it backup the REAL files? Such that if I do a restore, I want the link files there... not replaced with copies of the real files. Still googling for answers... is there a command switch? By default, tar will do what you've described (at both ends). If you pass --dereference or -h, it will follow the symlinks, thus archiving whatever they point to (directories or files, it'll follow them all). - Jeff -- The Great Australian Internet Blackout http://www.internetblackout.com.au/ To do: Start up a a magazine dedicated to picky grammar. Call it 'Whom Weekly'. - WzDD -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Re: Asus EeePC 1005HA
quote who=Richard Ibbotson How did you get your machine to install the BIOS update. I've found the part about ALT + F2 to start it but can't get the machine to find the USB stick. Do I have to format the USB stick as FAT16 or is just any old file system going to work ? FAT32 should be fine, but I think you have to give the file a special name. I have a DOS image on a USB stick, so I just used that. - Jeff -- The Great Australian Internet Blackout http://www.internetblackout.com.au/ boc i wish i could write good flames jwz boc: you can't win if you don't play -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Joomla
quote who=Heracles NOTE: If it is gpl, why is it not in the Ubuntu repositories? Because no one has packaged it. Probably because no one loves it. (Web stuff is fairly troublesome to package, keep updated and so on -- it ends up being easier to do it manually, sadly. Perhaps one day we'll figure this out.) - Jeff -- The Great Australian Internet Blackout http://www.internetblackout.com.au/ Patches are like Free Software love letters. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] cloud / VM storage
quote who=Del I know that VPS and cloud hosting has been discussed here quite a bit, and on the basis of that discussion we've started using Linode for some virtual services, so thanks for the recommendations for them to those who posted. However storage at Linode is very expensive -- adding additional GB is around $2 per GB per month. Does anyone have a recommendation for a VM provider where the storage space is cheap, for such things as off-site backups? Linode will soon announce a large scale storage and backup product. You might be able to trial it if you ask. :-) (Extra storage is relatively expensive at Linode because you're buying more space on your host itself, rather than from an aggregated storage platform. Sure, disk is cheap, but not when you're competing for space with other VMs on a single host! The economics of storage at Linode will change once they have the new platform in place.) - Jeff -- The Great Australian Internet Blackout http://www.internetblackout.com.au/ GNOME. Vorsprung durch Einfachheit. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Asus EeePC 1005HA
quote who=Jeff Waugh 7. What sorts of quirks have you discovered There were a few funny things going on with wifi (ath9k driver), but I'm now running lucid (what will become Ubuntu 10.04 LTS), and it's doing very well. A quick tidbit for anyone who has acquired one of these delightful netbooks: Asus has shipped a few BIOS updates, the most recent of which has improved my wifi performance/reliability considerably. Recommended update. - Jeff -- The Great Australian Internet Blackout http://www.internetblackout.com.au/ One in 10 Europeans is allegedly conceived in an Ikea bed. - BBC News, 2005 -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Asus EeePC 1005HA
quote who=Kyle 1. What you bought Asus EeePC 1005HA (bought on New Year's Day, so this is a short-term review) plus an OCZ Vertex 30GB SSD, which makes quite a difference to battery life and performance. The netbook itself was ~$450 -- great price point for what it is. 2. Are you still happy Very much so. 3. How has the battery life stood up over the 6m. 4. What sort of battery life are you getting (esp. now after 6 months) Early days yet, but the battery life on this thing is INSANE. I loved not having to cart around a power cable during linux.conf.au, even with heavy web/email usage. 5. How easy was it to get your chosen Linux up and running (this is of course relative to the person - Me. I'm no genius, but I can figure it out if I have to) Cinchy. Made an Ubuntu USB installer on my desktop, then everything on the netbook proceeded as normal. 6. How has the build quality stood up Thus far, awesome. It's the new seashell style from Asus, so it's much sleeker than the plasticky early versions. 7. What sorts of quirks have you discovered There were a few funny things going on with wifi (ath9k driver), but I'm now running lucid (what will become Ubuntu 10.04 LTS), and it's doing very well. Which processor should I be avoiding at this point? Any of the Z-series Atom CPUs (which come with GMA500 built-in graphics, an abomination without adequate FLOSS drivers). Your best bet is to get older netbooks with the N280 (better than N270) or one of the new ones with N450, if you're not optimizing for price. - Jeff -- The Great Australian Internet Blackout http://www.internetblackout.com.au/ The beanbag is a triumph of modern day eclectic colourism... - Catie Flick -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Send EOF to Browser from LAMP stack.
quote who=Peter Rundle What I would like to do is end/close the http request so that the browser gets the HTTP equivelent of an EOF but allow the php script to keep running. Now flush() does send the output to date to the browser but the browsers busy icon keeps running because the http session isn't closed until the php ends. You're very likely to find a solution to this in the WordPress code base, particularly related to the WP-Cron code (an implementation of poor man's cron, in order to run scheduled jobs based on client requests rather than exact times as with Really Proper Cron). - Jeff -- linux.conf.au 2010: Wellington, NZhttp://www.lca2010.org.nz/ Try Thunderbird, like Evolution but without all the features. - Pia Waugh -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Australian government to censor your internets
quote who=Dean Hamstead Anyone heard of actual protests? Putting together the pieces at the moment, very likely to be supported by EFA and GetUp! - I'll post here when it's announced. - Jeff -- linux.conf.au 2010: Wellington, NZhttp://www.lca2010.org.nz/ So please lets focus on preparing to beat up our neighbours instead of spending all the energy on domestic violence. - Christian Schaller on GNOME -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Australian government to censor your internets
quote who=J Brown Get real, GetUp is a set-up Watch out everyone, we have a rapper on our hands. - Jeff -- linux.conf.au 2010: Wellington, NZhttp://www.lca2010.org.nz/ Instead you're doing circle jerks with the Care Bears of Censorship. - Siduri on Slashdot -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Australian government to censor your internets
quote who=Dmitry Smirnov Not only them, but also http://www.getup.org.au/campaign/SaveTheNet But I'm afraid it might be already too late. No, this is actually a good step forward - they have now said they're going to introduce legislation next year and have released the report, so now it's very real. Not just twinkle in the eye real. Political pressure begins now. (In the next few days, details about a combined EFA/GetUp! campaign should be announced. We have from now -- hindered by end-of-year take-out-the-trash announcement of the report -- until August/September next year. We *can* fix this.) - Jeff -- linux.conf.au 2010: Wellington, NZhttp://www.lca2010.org.nz/ In addition to these ample facilities, there exists a powerful configuration tool called gcc. - Elliot Hughes, author of lwm -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Silverstone LC16M
quote who=John Clarke On Tue, Nov 17, 2009 at 10:41:45AM +1100, Mike Andy wrote: By the way what did you decide for with your IR Receiver John? I was going to buy a Silverstone LC10-E, but I now think I'll get an LC16M which includes an IR receiver (unless the DVD drive bay in the LC16M interferes with the video card, in which case I'll get the LC10-E and worry about the IR receiver later). We have the LC16M sitting under our TV. It's a great big tank, but once it's in a display stand or whatever it's fine. Lots of room for disks, an LCD, IR and front-panel control if you need them (we use a wireless keyboard now)... the only disadvantage is that it adheres to the late-2000s blue LEDs fetish. Stupid blue LEDs. - Jeff -- linux.conf.au 2010: Wellington, NZhttp://www.lca2010.org.nz/ Our 20th anniversary issue, we suspect, will be about the year of the Linux desktop. - Jon Corbet, LWN -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Pulse Audio
quote who=Heracles Sorry Daniel if I offended your favourite program. It is just that I have had to re-setup my sound several times now with each ubuntu upgrade and it has almost always been a problem that could be lain at the feet of PulseAudio. PulseAudio is awesome. We've desperately needed something like it in the Linux desktop ecosystem for a very long time. Ubuntu's integration (and lack of co-ordination with upstream) is... not so great. Sadly, this means that a huge majority of folks are not seeing PulseAudio operating at its best... and end up blaming it. Hopefully, the Ubuntu desktop developers will spend a bit of time polishing up the PulseAudio integration in their next release (an LTS, so polish is very much the focus). I suspect Daniel was reacting not to your commentary on PulseAudio in particular, but to the relevance and appropriateness of such commentary about the fruits of volunteer Open Source development in general. :-) - Jeff -- linux.conf.au 2010: Wellington, NZhttp://www.lca2010.org.nz/ Maybe you should put some shorts on or something, if you want to keep fighting evil today. - The Bowler, Mystery Men -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Power Point Document
quote who=Malcolm Johnston Is there any previewer under KDE for Microsoft Power Point documents? I know that I can reboot and run Windows, but would prefer not to. OpenOffice.org? - Jeff -- linux.conf.au 2010: Wellington, NZhttp://www.lca2010.org.nz/ Sirens dopplered in the distance. - William Gibson, Neuromancer -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] quiet computer
quote who=Ken Foskey My computer is too noisy. It is not graphics because it is not used much and when it does there is enough background noise. It is the power supply and cpu fan that kicks in with cron at 2 am in the morning. I was thinking about adding fluid cooling, is this worth it or else can I where can I get a powerful 24 hour home system that will run quietly? You can get very quiet CPU and PSU fans these days. (I've always found GPU fans to be the most problematic, because they're cheap and usually difficult to replace.) My current solution: An HTPC style case for my desktop system, which has no PSU fan at all (it uses a laptop-style power supply)... and a quietish CPU fan... which is getting louder with age. ;-) The server in the lounge room just has quiet fans, and is only audible in the dead of night, when the TV isn't on. Or when the disks go crazy. Turns out it's quite scary when the disks go crazy in the dead of night when the TV isn't on. :-) - Jeff -- linux.conf.au 2010: Wellington, NZhttp://www.lca2010.org.nz/ Ye shall be cursed to fall in love so easily, and yet be so cold of heart as never to express it. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] VPS hosting
quote who=Ashley Glenday Can anyone recommend a good, cost effective, virtual hosting provider? I'm unhappy with the host I'm using now charging to reboot the server and for data transfers in and out. Basically what I'm looking for is a server I can reboot myself (I accidently flushed iptables twice Any help is appreciated. Linode is WONDERFUL, and I recommend it wholeheartedly. Fantastic staff, very reliable and speedy servers, awesome support (the staff hang out on #linode on OFTC)... I've been using it for years now. http://www.linode.com/ If you sign up and want to give me love: http://www.linode.com/?r=600aec6926074d180920749bd113dff2016a650f :-) - Jeff -- linux.conf.au 2010: Wellington, NZhttp://www.lca2010.org.nz/ There, I did it... I defiled a timeless piece of ART! - Jim Carrey, covering I Am The Walrus -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] bash tips (tr, cut, loops, fields, records) Was: shell scripting help
quote who=Daniel Bush Writing a little utility to help me on something but having trouble. Why does f stay blank? Answer (which I think was mentioned in earlier responses): The parent shell doesn't have access to the subshell's scope. The usual way of doing this is to provide output from the loop into a variable, like this: PANTS=$(echo foo|bar | while ... echo -n $F ...) Solution: Depends on the actual task rather than the example. :-) d...@lin4:test$ echo foo|bar | awk 'BEGIN{RS=|}{ print $1 }' | while read s; do echo $s; f=$s; done; echo '$f' foo bar '' A couple of thoughts (note that I always use caps for variables for clarity)... echo foo|bar | tr '|' '\n' | while read S tr is awesome. Then, assuming the number of fields in each record is consistent (and in a real example you're probably in a loop of some kind over the records before you're in a loop over the fields): echo foo|bar | tr '|' '\n' | while read S; do echo $S # or otherwise do processing with each field done F=$(echo foo|bar | cut -d'|' -f2) cut is awesome. Another way of looking at records/fields, if that is the problem you're actually facing (beyond the simplified example): while read RECORD; do echo $RECORD | tr '|' ' ' | while read FIRSTNAME LASTNAME; do echo Welcome, Mr. $LASTNAME, done done records.txt (Instead of mucking around with tr to muck about with the record separator, you could just use the bash IFS variable, but there are some little catches with that, which are not worth going into for now.) :-) - Jeff -- linux.conf.au 2010: Wellington, NZhttp://www.lca2010.org.nz/ He'd never undressed a woman with his eyes. Perhaps army boots, school uniform, or a nightie, but never undressed. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Dreamweaver clone for Linux ?
quote who=Jeremy Visser Using WordPress as an example: two years ago, they were basically addslashes()'ing strings before concatenating them with a MySQL query. Now, they've since completely moved to a printf-style model, where they put some %s tags in a query, and pass the values as function parameters, not concatenating them. So WordPress is (as far as I can tell) completely immune to SQL injection now and in the future. 'cept for assy plugins which don't use the prepare() function... it's always the plugins which let us down. :-( - Jeff -- linux.conf.au 2010: Wellington, NZhttp://www.lca2010.org.nz/ Imagine a four million line code base that is based on C++, uses threads, a hundred shared libraries, and is over a gigabyte in size when built and then point a debugger at it that was designed to debug GNU sed. - Chris Blizzard on Mozilla -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] twitter clients
quote who=david for my sins, I have a need for twittering what's the latest trend in clients? Linux and/or Mac Gwibber is pretty sweet, if you're keen to use a FLOSS client you can fix or contribute to. Or, TweetDeck is possibly the best cross-platform (Adobe AIR based) non-Free Twitter client. - Jeff -- linux.conf.au 2010: Wellington, NZhttp://www.lca2010.org.nz/ Push the envelope, or push the daisies. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Let's agree to sue each other! Not.
quote who=Sridhar Dhanapalan Having someone to sue is already in the set of criteria used by decision makers. It's not. Show me an agreement which gives a client the opportunity to sue a vendor -- aside from breach of contract or negligence, neither of which are matters of contract. The decision makers you speak of are looking for the kind of organisation which is unlikely to fail in the first place, not one which is dumb enough to agree to be sued for failure. - Jeff -- linux.conf.au 2010: Wellington, NZhttp://www.lca2010.org.nz/ chown -R us:us yourbase -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] 40 Years of Unix
quote who=Marghanita da Cruz I am trying to figure out where Bash etc fits into Linux. Does Gnome/KDE run in a Bash shell? They are forked from a shell, mostly because startup scripts are all shell scripts. GDM (which in turn starts X) is spawned from a shell script. On pretty much every Linux distro, when you log in or run a terminal, you are typing commands into a bash shell (which you can swap for something else if you're that way inclined, but most folks use bash). The word shell sometimes refers to any kind of parent or launcher process, so that's where you might hear people refer to GNOME, KDE, progman.exe (on Windows) or dosshell.exe (aptly named) as shells. - Jeff -- linux.conf.au 2010: Wellington, NZhttp://www.lca2010.org.nz/ You gotta know when to hold 'em, know when to fold 'em, know when to walk away, and know when to run. - Kenny Rogers, The Gambler -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] 40 Years of Unix
quote who=Marghanita da Cruz Can you throw light on the demise of the unix shell? Demise?! :-) - Jeff -- linux.conf.au 2010: Wellington, NZhttp://www.lca2010.org.nz/ Patches are like Free Software love letters. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Empty Xorg.conf on 9.04 install and dual nvidia cards with 'SLI'
quote who=elliott-brennan I'm curious as to the reason why there's be an empty xorg.conf file anyway and whether the cable-connected dual nvidia cards (they're about two years old. Identical models. 512Mbs. Can't recall the exact specs) would play some part in this - though I can't think of why. An empty (or very short, generic) xorg.conf is normal these days -- X can figure out everything it needs dynamically, so only in rare circumstances does it require a serialised configuration. Sounds like you might be fighting some hardware in limbo between good FLOSS and proprietary driver support. To make sure Xorg is reconfigured once you have the proprietary drivers installed, run: sudo dpkg-reconfigure --priority=high xserver-xorg Beyond that, we're going to need to see /var/log/Xorg.0.log in order to know the exact failure. - Jeff -- linux.conf.au 2010: Wellington, NZhttp://www.lca2010.org.nz/ o/~ we all live in a yellow subroutine o/~ - auspex -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] two silly bash questions I can't find in google
quote who=david Q1. why does sed lose the first line? da...@david:~/test$ cat blah the quick brown fox jumps over the lazy dog da...@david:~/test$ cat blah | while read line ; do sed s/t/T/ ; done You want this instead: while read line; do echo $line | sed s/t/T/; done I always quote my sed expressions, and use allcaps for variables. Makes it easier to read when you're writing longer scripts. Plus you can avoid using cat if you want: while read LINE; do echo $LINE | sed 's/t/T/'; done blah read shoves input into a variable, so you need to manipulate that variable once your input is going there. A simpler way of expressing your original script without the while loop: sed 's/t/T/' blah ;-) Q2. what does the @ mean? da...@david:~$ date -d @1174306440 Mon Mar 19 23:14:00 EST 2007 It's shorthand for saying show me the human-readable date of this timestamp (seconds from the epoch). You can get more info about how to use date by reading the info page (a gnu conspiracy to confuse the fuck out of everyone by making man pages useless in favour of some emacsed-up piece of crap help viewer). :-) - Jeff -- linux.conf.au 2010: Wellington, NZ http://www.penguinsvisiting.org.nz/ Try Thunderbird, like Evolution but without all the features. - Pia Waugh -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: Fwd: [SLUG] SLUG meeting videos/slides? SYSADMINS:- LOOK AT VIDEO STORAGE
quote who=Michael Chesterton This time to the list :( Looks like there's an ugly encoding issue going on... the audio seems fine, but the video goes nuts in mplayer (and gstreamer just seems to ignore the intermediate frames -- mplayer is valiantly trying to do something useful with them). What did you use to encode the videos? - Jeff -- linux.conf.au 2010: Wellington, NZ http://www.penguinsvisiting.org.nz/ I rather think of Pat as our linguistic ornithologist here - 'Oh look, the brown noddy also nests in the mangrove!' - John Fleck -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] WordPress talk tomorrow night
Hi all, Does anyone have any particularly burning questions or issues they'd like to see covered in my WordPress talk tomorrow night? Here's the abstract to give your brain a nudge: Inside the dinky little ukelele heart of WordPress is a towering Marshall stack of grunty publishing muscle just itching to escape. Jeff will return to Sin City to take you behind the scenes of a large WordPress deployment — the all-new Crikey website — and show you heaps of stuff you can use on your own site, including: Sweet plugins, awesome theme frameworks, squeezing WordPress and your web stack for performance (much of which should be of interest to web developers of any platform), and what you can look forward to in WordPress 2.8. Reply to the list or directly to me, whichever suits your fancy. Thanks, - Jeff -- linux.conf.au 2010: Wellington, NZ http://www.penguinsvisiting.org.nz/ Not only that, but Google is fast. In fact, it's quite competitive with DNS. - Raph Levien -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] WordPress talk tomorrow night
quote who=Sridhar Dhanapalan Some ideas off the top of my head: * design and content best-practices * SEO * statistics (As in analytics?) * theming * mash-ups/integration with other services OK, will figure out how to fit some of these in. Thanks! :-) - Jeff -- linux.conf.au 2010: Wellington, NZ http://www.penguinsvisiting.org.nz/ What's up with that word though... it's like something you did to frogs in grammar school. - Ani DiFranco on bisexuality -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] WordPress talk tomorrow night
quote who=Marghanita da Cruz Guess...a question I have for Word Press is whether it uses a database and needs/generates a sitemap or all the pages are flat HTML files directly discoverable by search engines. a) yes it does use a database (MySQL) b) even if you don't add an XML sitemap (which you can if it's important for your purposes), all of the linked pages are directly discoverable by search engines c) you can use caching mechanisms to provide you with 100% file-from-disk performance if you require it (Even if your site is made up of flat HTML files, they may still not be discoverable by search engines.) - Jeff -- linux.conf.au 2010: Wellington, NZ http://www.penguinsvisiting.org.nz/ It will test your head. And your mind. And your brain, too. - Jack Black, School of Rock -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] /proc and /sys
quote who=david I'm doing a back up exercise, and google is not helping me. I've done a copy of the entire root drive using # rsync -a onto a back up drive (small because all data is on seperate drives). To what extent are /proc and /sys recreated by the system as required, and to what extent do they need to be backed-up? I hope that question makes sense. They're entirely virtual filesystems and don't need to be backed up at all. In general, you should use the -x (or --one-file-system) parameter with rsync when you're backing up -- saves backing up (and even reading) useless crap like this. - Jeff -- linux.conf.au 2010: Wellington, NZ http://www.penguinsvisiting.org.nz/ There's always a new bogeyman - every two months, there's a new axe to add to the axis of evil. - Michael Moore -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] /proc and /sys
quote who=david They're entirely virtual filesystems and don't need to be backed up at all. In general, you should use the -x (or --one-file-system) parameter with rsync when you're backing up -- saves backing up (and even reading) useless crap like this. So *that's* what -x means ;-) I've been doing: # rsync -a --exclude=/media/backupdrive / /media/backupdrive Without --exclude I get some interesting results ;-) Does the -x switch solve this problem too? It might sound naive, but I understood the file system to be everything below / Each mount point exposes a filesystem, so really you have many filesystems below / ... the obviously different ones like /proc and /sys, but also the disk you mounted for backup, /home if you have that on a different disk... So yes, rsync -ax / /media/backupdrive/ will do the right thing unless you have data mounted elsewhere which you want backed up. Always match slashes with rsync source/destination by the way. - Jeff -- linux.conf.au 2010: Wellington, NZ http://www.penguinsvisiting.org.nz/ I like your Christ, I do not like your Christians. Your Christians are so unlike your Christ. - Mahatma Gandhi -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Ubuntu 9.04 performance [Was: Sound in Ubuntu 9.04]
quote who=Daniel Bush ... nope, that didn't work either. My desktop is really sluggish too. It's the end of the road for me and 9.04. Do you happen to have an Intel video chipset? - Jeff -- linux.conf.au 2010: Wellington, NZ http://www.penguinsvisiting.org.nz/ IMO we should end the thread based on that; configurability is always the best choice when it's pretty simple to implement. - Havoc Pennington, 1998 -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Ubuntu 9.04 performance [Was: Sound in Ubuntu 9.04]
quote who=Daniel Bush ... nope, that didn't work either. My desktop is really sluggish too. It's the end of the road for me and 9.04. Do you happen to have an Intel video chipset? Yeah, it's all intel. Integrated graphics and sound. I can just about live with the sluggishness (I'm not sure if it is a lot different to 8.04 or not to be honest) but I need to talk on skype. I'm prepared to try to debug or troubleshoot if it will improve ubuntu but I'm a complete novice plus I seem to be a bit of an isolated case. The sluggishness is almost certainly related to the video driver performance regression in Ubuntu 9.04. There are some half-fixes which introduce new problems, but for most users I recommend going back to 8.10 for now. Easiest way around it, sadly. Your audio issue I'm not so sure about (Skype works okay here whether I have pulseaudio running or not, so, hrm). - Jeff -- linux.conf.au 2010: Wellington, NZ http://www.penguinsvisiting.org.nz/ I haven't been this excited since the introduction of devfs. - Mark Rosenstand on upstart-devel list -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] pulseaudio [Was: Re: microphone / skype / ubuntu 9.04 jaunty]
quote who=jam The mythtv folk are bitching that you can't nuke pulseaudio in 9.04 it is entrenched. Of course you can remove it -- just 'apt-get remove pulseaudio'. Sure, that will prompt to remove the ubuntu-desktop meta-package, but that won't make a lick of difference to your running system (it's a meta-package after all). It will only come back to bite you when you decide to upgrade - that's what the ubuntu-desktop meta-package helps with. An easy way to disable pulseaudio: touch ~/.pulse_a11y_nostart (see /usr/bin/pulse-session, used by /etc/X11/Xsession.d/70pulseaudio) - Jeff -- linux.conf.au 2010: Wellington, NZ http://www.penguinsvisiting.org.nz/ 2.4.1ac17 is full of innovations and should be used with caution. - Linux Weekly News -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Dell Latitude 2100 (for school kids) with Ubuntu - here!
Dell today announced its Latitude 2100, a netbook designed specifically for school children. It is also the first Dell product in Australia to offer the Ubuntu operating system pre-installed. ... The Latitude 2100, which features a rubberised exterior and an activity light to notify teachers when a student is using the wireless network, is the first product Dell has offered in the country featuring the alternative operating system. http://www.zdnet.com.au/news/hardware/soa/Ubuntu-to-be-offered-by-Dell-Australia/0,130061702,339296519,00.htm - Jeff -- linux.conf.au 2010: Wellington, NZ http://www.penguinsvisiting.org.nz/ -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
nginx and boa thoughts [Was: [SLUG] HTTP server recommendations?]
quote who=Erik de Castro Lopo Erik de Castro Lopo wrote: Apache, boa, lighttpd, something else? Rob Collins on irc suggested Apache so I installed that from an Ubuntu Hardy package. The setup was much easier than I remember it being. Standard HTTP and CGI worked out of the box. I would still be interested in hearing about people using other servers and their reasons. In this case, given your requirements (CGI + SSL), Apache is probably the easiest choice (particularly the Debian/Ubuntu packaging, which is nicely set up and very helpful). I've been playing with nginx in front of Apache recently, and aside from the minor problem of nginx not doing keepalive to backends, it has been great. Easy setup, really easy SSL, and for CGI I generally pass back to Apache or boa (which is a lovely little server, particularly for embedded use cases -- but it won't do SSL for you). nginx 0.7.x (which I track in my PPA) does front-end caching too, which is very handy. Just some thoughts. :-) - Jeff -- linux.conf.au 2010: Wellington, NZ http://www.penguinsvisiting.org.nz/ Toothpaste is the most important meal of the day. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] FINALISED - HD ( 1920 x 1080) monitor and Linux - advice pls.]
quote who=bill Came home and plugged it in to my KVM switch via VGA and both PCs ( Kubuntu 8.10 and Xbuntu 7.10) found it immediately at the correct resolution of 1920 x 1200 - plus he Monitor is 16:9 and 1080p. So, if the correct resolution is 1920x1200 then the monitor is not 16:9 and 1080p. :-) - Jeff -- linux.conf.au 2010: Wellington, NZ http://www.penguinsvisiting.org.nz/ Microsoft treats security vulnerabilities as public relations problems. - Bruce Schneier -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Web hosting recommendations
quote who=Mary Gardiner I've looked through the archives but haven't found a lot of relevant stuff: most people are looking for VPSes and/or hosting within Australia only. I'm after a web host for a work project. What I need: Taking into account the corrections in your followup, this sounds like a job for Dreamhost. Despite driving me absolutely batty, as a well-priced, shared hosting service for LAMPy stuff, their price to reliability ratio is hard to beat. They're very FLOSS-clueful too. - Jeff -- linux.conf.au 2010: Wellington, NZ http://www.penguinsvisiting.org.nz/ Great minds think different? -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] HD ( 1920 x 1080) monitor and Linux - advice pls.
quote who=bill I have decided to upgrade to a 24 inch monitor and after looking aroiund I se that Oz has finally caught up with overseas and that HD 1080 monitors are now available. Most wide screen computer monitors have a pixel ratio of 16:10, unlike TVs which are 16:9... thus, the usual HD resolution for computer monitors is 1920x1200, not 1920x1080. HD monitors have been available in Australia for ages, so I'm wondering if you mean something else. My problem is that such a monitor can not be run with 3 of my PCs all of which have NVidea cards which dont have high enough or the default 1920 x 1080 res available. My newest PC which has an Intel mini-itx 1.6 Atom CPU mobo only has 1 slot and that is PCI ( not PCI-E) and the onboard Intel CPU has a max res of 1600 x 1200. That doesn't sound right -- such recent video hardware should definitely be able to handle 1920x1200 (let alone 1920x1080). Perhaps you have a config issue? A few questions: * Which distro are you using? * Since plugging in your new monitor, what have you done to reconfigure X? * Are you using a DVI or VGA cable? (VGA is normal 15 pin socket, DVI has a wider socket with more interesting connecty-bits.) (You shouldn't have any trouble sorting this stuff out, btw: I have a pretty crappy nVidia GeForce 7300 GS in my TV computer, running a large, HD, wide screen TV at 1920x1080; my desktop has a bog-standard Intel built-in, which pushes pixels to a 24 1920x1200 screen via DVI, and my Atom-based EeePC can also push 1920x1200 via VGA...) - Jeff -- linux.conf.au 2010: Wellington, NZ http://www.penguinsvisiting.org.nz/ Laughter is a force for democracy. - John Cleese -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Active Directory and linux
quote who=Daniel Bush Has anyone used Active Directory for authentication/login on their linux boxes? Any thoughts and opinions on this vs having a separate ldap server? Not a lot of point duplicating the functionality or maintenance headaches, IMHO. It's relatively easy to set up AD authentication for Linux, but as is often the case, you have numerous ways to achieve your goal (ugh). You could try: * pam/nss_ldap/kerberos directly (bit challenging, sometimes brittle) * winbind (much easier, but acknowledges AD's centrality in your network architecture... sometimes that's entirely fine though) * Likewise Open (Open Source product intro to beefier enterprise stuff, seems to be nice to use, encouraged in Ubuntu land if that matters to you, but I haven't delved into it enough to know if one should be wary of codependency problems!) I'd recommend winbind as a starting point, especially if you just want to start playing around with the possibilities on a few desktop machines or file/print servers. - Jeff -- linux.conf.au 2010: Wellington, NZ http://www.penguinsvisiting.org.nz/ Laughter is a force for democracy. - John Cleese -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Defining Mainsteam
quote who=Ken Foskey Hmm discounts all my work. In one company a mere 2,000 employees got to see it. Hey if my software is used by tens of people but the results are seen by millions does that count? Nope I guess not really. I am wandering away depressed that I have squandered my life programming meaningless applications... Not sure it makes too much sense to review your life's work on Daniel's very literal argumentation... :-) - Jeff -- linux.conf.au 2010: Wellington, NZ http://www.penguinsvisiting.org.nz/ Mr Hunt also admits he does not like the expression 'diddly squat', though he will not be ruling it to be unparliamentary. - ABC News Online -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Defining Mainsteam
quote who=Morgan Storey Uhh Darwin ports... it basically gives you apt-get for mac. I am not a fan of macs but I am pretty sure it has been around for a while: http://darwinports.com/ That's an add-on, not a core part of the operating system. Really, packaging doesn't count until the entire system is built with it (or you have a versioned, consistent API/ABI core that the packaging system can sit on). - Jeff -- linux.conf.au 2010: Wellington, NZ http://www.penguinsvisiting.org.nz/ Well, you know us usability folks... We like to believe that the two aren't mutually exclusive. - Calum Benson on power and cleanliness -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Defining Mainsteam
quote who=Daniel Pittman I am curious about the how to bring AppFolders... part of your comment, though: as far as I can tell, with the exception of the Rox stuff[1] and the GNUStep people[2] no only really cares ... and those two are pretty much a niche market... There were heaps of projects playing with the idea a few years ago, one of thre notably offensive ones being autopackage. OLPC .xo packages are essentially appfolders, too. (Plus, how hard is it, seriously? Five lines of code?) Every time you're tempted to say that, hold it in and realise you probably haven't thought about it very much. It's like when clients say, it should be easy to... and suggest something that would require major architectural changes to your product... - Jeff -- linux.conf.au 2010: Wellington, NZ http://www.penguinsvisiting.org.nz/ Then it hit me: What I really want is for all edit panes in all applications to be gnuclient processes hooked to a centralized emacs gnuserver process! - Gary Murphy -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Defining Mainsteam
quote who=Daniel Pittman It's like when clients say, it should be easy to... and suggest something that would require major architectural changes to your product... Pshaw. AppFolders are only hard if you want integration with the Unix world, outside your own environment. On Linux, this is probably a goal, because otherwise you need to invent the entire desktop environment, rendering you into stagnation (hi, ROX, GNUStep, nice to see nothing much changes) because of the workload. It doesn't make AppFolders themselves even remotely difficult, though, but rather integrating them into the rest of an environment designed on different assumptions. Experimenting is fun. Reality is hard. Shipping software and supporting users means your solution has to take all kinds of other issues into account beyond it should be easy to... - Jeff -- Robot Parade http://www.robotparade.com.au/ m. +61 423 989 818 b. http://bethesignal.org/ p. +61 2 9043 2940 -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Defining Mainsteam
quote who=Daniel Pittman Experimenting is fun. Reality is hard. I notice you omitted the section of my email where, indeed, I note that this is from practical experience. Sorry, but ROX and GNUstep are experimentations. They don't have users or vendors or real systems they need to integrate with or previous version compatibility issues, etc. When I say reality, I mean products shipping and an active marketplace around them (which *can* be said for GNOME/KDE). Then the hairier issues of software support beyond hey does this stuff work? start to bite. - Jeff -- linux.conf.au 2010: Wellington, NZ http://www.penguinsvisiting.org.nz/ People who paid for bug fixes in the 3c501 driver also bought MacIIfx support contracts... - Alan Cox -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Defining Mainsteam
quote who=Ken Foskey This appears to diminish the experiments that do occur. I can agree with your generalisation however we should not minimise any effort on FOSS, even experiments. What about those scheduling experiments on the kernel, ultimately led to a major performance improvement for me personally. Yeah, I don't mean to diminish the importance of experimentation... it's a crucial part of the Open Source (scientific) process. But there is a BIIIG difference between mucking around with stuff in the lab and producing a product for Real Users. The kernel is actually a really good example... it usually takes a fairly long time between the genesis of ideas and practical, shipping functionality based on those experiments. The original point was this: it's very easy to say that's five lines of code! but it's a very rare circumstance in which a comment like that is actually correct (particularly in the Real World, which is far messier than the imagination fairy land we need to inhabit in order to innovate). - Jeff -- linux.conf.au 2010: Wellington, NZ http://www.penguinsvisiting.org.nz/ Our 20th anniversary issue, we suspect, will be about the year of the Linux desktop. - Jon Corbet, LWN -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Defining Mainsteam
quote who=Lindsay Holmwood That said, their update tool is totally broken. Case in point: you do a clean install of OS X, the software updater runs silently in the background and starts downloading the latest updates, you run the software update frontend manually, and it discards any partially completed silent downloads so far (this could be up to 1gb of updates). For all its faults, Linux distros still kick the crap out any other OS when it comes to distributing and applying updates. Funny story: I was talking to an Apple dude at OSCON a few years ago about how *nix-y Mac OS X was compared to Linux, doing evil surgery underneath OS X, stuff like that. At one point we got onto packaging, and he started asking some incredibly detailed questions about how dpkg/apt worked, how they manage consistency and modes of failure, etc. It turns out that while a big chunk of the Linux world was trying to figure out how to bring appfolders to Linux, Apple has been trying to figure out how to bring sane packaging to OS X. The grass is always greener. :-) (How much greener? Each one of those OS X updates you download is a cpio archive which is unpacked straight onto the disk.) Mac OS X... the honey-coated monkey dung of operating systems. - Jeff -- linux.conf.au 2010: Wellington, NZ http://www.penguinsvisiting.org.nz/ Self-assertive pants are filled with confidence. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] virtualisation solutions?
quote who=Sridhar Dhanapalan We're getting a new box at work to host virtual machines, and I'm trying to figure out what the best virtualisation solution might be. The specs will very likely be a dual quad-core CPU with 32GB RAM, running CentOS. I'd like to have something that: * is FOSS Check. * is easy to manage (I've got other responsibilities and don't want to be bogged down with sysadmin work) Depends on what you mean by manage, but if you're trying to avoid being a part time sysadmin, then something clicky might be best. * can preferably also run on our Fedora 8 desktops, so we can share VM images Check. * can support a wide variety of guest OSs (especially Linux, Windows and Solaris) Check. The answer is VirtualBox. :-) But if you want something nicer, use VMWare Server (free but not Free). - Jeff -- linux.conf.au 2010: Wellington, NZ http://www.penguinsvisiting.org.nz/ NASCAR is not race per se. It's just a contest about who can turn left the best. - Unknown -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] virtualisation solutions?
quote who=Sridhar Dhanapalan It still looks like having proper network bridging (so the VMs are directly on the network just like any other host) is a pain in the bum. The solutions I've seen involve performing some arcane rituals with brctl and co. Bridging is brain-meltingly simple on Debian-based systems. Quick example of /etc/network/interfaces with a single bridge set up: auto br0 iface br0 inet static address 192.168.10.200 netmask 255.255.255.0 gateway 192.168.10.1 bridge_ports eth0 eth1 eth2 ^ Only *ONE* extra line to say sudo make me a bridge, xkcd-style ;-) (There are additional parameters you can add if you want to, but they're all optional.) - Jeff -- linux.conf.au 2010: Wellington, NZ http://www.penguinsvisiting.org.nz/ The postmodern version is: If all you have is duct tape, everything starts to look like a duct. Right. When's the last time you used duct tape on a duct? - Larry Wall -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] bugzilla setup
quote who=Ken Foskey I am trying to get bugzilla3 working on my ubuntu server and it looks awful. Is there a CSS that needs to be installed to make it look nice? GNOME has one of the prettiest and most useful Bugzilla setups around; you might want to check out what they've done to it. Pretty sure it's still on Bugzilla 2.x though. Is there a better very simple web based bug tracking that I should be using? Well, pretty much anything else is simpler and easier than Bugzilla. It was really designed for very big projects with well-understood processes (such as Mozilla, where it was born, and GNOME, where it continues to thrive). Despite its warts, I quite like trac, particularly if you effectively use all of its components (wiki, bug tracker, svn viewer, basic project mgmt, etc). - Jeff -- linux.conf.au 2010: Wellington, NZ http://www.penguinsvisiting.org.nz/ I haven't been this excited since the introduction of devfs. - Mark Rosenstand on upstart-devel list -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] upgrading Ubuntu with CDs to save bandwidth?
quote who=Sonia Hamilton Last night I was trying to upgrade some Ubuntu machines using the Ubuntu CDs (rather than downloading all the packages), in order to save bandwidth. I couldn't get the upgrade to download packages off the CD; in the end I did clean installs - no big deal since /home was separate. I'm just wondering how you're supposed to do it, and more importantly, how a newbie would be supposed to do it. 8 ... snip ... 8 The only thing I can think of is that I was using the Live CDs - should I have used the Alternate CDs instead? Yes, stick an alternate CD in the drive and a dialogue will pop up asking if you'd like to use it as a source (and then upgrade). (It's not always massively useful for folks with lots of bandwidth, since you're likely to have extra stuff not represented on the install CD... But in the case of a basic Ubuntu machine installed in the field, it's pretty good. Also consider the use of a DVD image if you want the whole archive available.) - Jeff -- linux.conf.au 2010: Wellington, NZ http://www.penguinsvisiting.org.nz/ Evil will always triumph over good, because good is dumb. - Dark Helmet, Spaceballs -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] upgrading Ubuntu with CDs to save bandwidth?
quote who=Jeff Waugh quote who=Sonia Hamilton Last night I was trying to upgrade some Ubuntu machines using the Ubuntu CDs (rather than downloading all the packages), in order to save bandwidth. I couldn't get the upgrade to download packages off the CD; in the end I did clean installs - no big deal since /home was separate. I'm just wondering how you're supposed to do it, and more importantly, how a newbie would be supposed to do it. 8 ... snip ... 8 The only thing I can think of is that I was using the Live CDs - should I have used the Alternate CDs instead? Yes, stick an alternate CD in the drive and a dialogue will pop up asking if you'd like to use it as a source (and then upgrade). Salient point that I managed to skip: The alternate CD has packages on it, while the Live CD is just a great big compressed image of a filesystem... so it won't help with upgrades at all (yet [1]). - Jeff [1] Years ago there was some inspired brainstorming about ways to do this very cleverly, but I don't imagine it's on the agenda at the moment. Net connected upgrades are just so bloody convenient and simple (and ALL of the developers have fantastic net connections, of course). -- linux.conf.au 2010: Wellington, NZ http://www.penguinsvisiting.org.nz/ It is not enough for me to wear dark sunglasses and a wig. The wheelchair gives me away. People want to be photographed with me, but it can be a nuisance when I am in a hurry. - Stephen Hawking on celebrity -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] network-manager-0.7 where's the logs?
quote who=Grant Parnell In the bad old days of dialup analogue modems you could always tail -f /var/log/messages and see all the modem chatter and easily spot the problem. Darnit.. I wanna see the conversation. /var/log/daemon.log (you are probably having Red Hat / Debian brain issues!) - Jeff -- linux.conf.au 2010: Wellington, NZ http://www.penguinsvisiting.org.nz/ No pants is good pants. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Dedicated Server hosting in California - anyone with experience?
quote who=Stuart Guthrie We would love to find a trustworthy an reliable server builder company with access to a colo that I could work with to install a server similar to our configs in AU. Are you looking for dedicated or colocated? John Ferlito recommended Voxel http://www.voxel.net/ to me a while back for dedicated hosting, and they've been wonderful. I'd recommend them as highly as I do my other favourite hosting company, Linode (for UML or Xen based VPS and legendary support). They're particularly good for people who already know what they're doing, which is a difficult sweet-spot for hosting companies. Fairly certain they have a hosting facility in Arizona Bay [1]. - Jeff [1] California, as described by Bill Hicks. -- linux.conf.au 2009: Hobart, Tasmania http://marchsouth.org/ Perl - The Movie Starring 'Weird' Al Yankovic -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] .ssh/config and setting user names for hosts
quote who=Mark Walkom I know I can set a per host user or a default global username, but what if I want to set a global default and then have specific usernames for a handful of hosts? eg; User mark Host host1 Host host5 user dummy Try this: Host host5 User dummy Host * User mark - Jeff -- linux.conf.au 2009: Hobart, Tasmania http://marchsouth.org/ Wake up and smell the penguin. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Re: Netbook experiences?
quote who=Daniel Pittman I was specifically interested in the claim by the OP that the custom kernel was *faster*, and that this improved boot time, especially by virtual of removing drivers. Intel's five second boot was done on a 901, and changes to the kernel had a surprising level of impact (they got kernel boot time down to 1s). Arjan basically removed the need to load modules for anything in the initial boot process, particularly silly stuff like USB. - Jeff -- linux.conf.au 2009: Hobart, Tasmania http://marchsouth.org/ He'd never undressed a woman with his eyes. Perhaps army boots, school uniform, or a nightie, but never undressed. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] forum software advice
quote who=Voytek Eymont I'm looking at setting up forum app for an org, preferably PHP/MySQL, looking for some suggestions to narrow down the multitude of choices If you're looking for simple (rather than mind-numbingly outrageous like most forum software), bbPress is very cool. It's a cousin of WordPress, so you'll feel at home if you enjoy WordPress. http://bbpress.org/ - Jeff -- OSDC 2008: Sydney, Australiahttp://www.osdc.com.au/2008/ The grass is only greener on the other side if yours is covered with turds. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] hosted blogging account with open backend.
quote who=Ben In Mary's backup talk she mentioned that Livejournal made it easy enough to get to the posts, but not the comments. (There are unsupported methods of downloading the comments though.) Are there any systems that are better? WordPress.com is a massively hosted (and wonderfully reliable) version of WordPress. - Jeff -- OSDC 2008: Sydney, Australiahttp://www.osdc.com.au/2008/ So between a jazz musician, a murderer, and a congressperson, all called 'Dave Camp', I have a lot of pressure to be evil. - GNOME's Dave Camp -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Re: hosted blogging account with open backend.
quote who=Daniel Bush I'm trying out blogger (google). There is a RESTful api for uploading and pulling down articles and also comments (I think). I'm guessing wordpress has got similar. WordPress has an export format based on RSS called WXR (WordPress Extended RSS), which includes all kinds of goodies on top of the basic RSS of your posts. It also has a Blogger importer (among many others), which uses the REST API to suck down your posts and comments into WordPress. - Jeff -- linux.conf.au 2009: Hobart, Tasmania http://marchsouth.org/ That whole 'you complete me' thing is just tragic and totally unrealistic. Go complete yourself. - Anon -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Re: hosted blogging account with open backend.
quote who=Sonia Hamilton I found the docs a bit confusing, but I've tested it using curl. eg for POSTing a new article (something very roughly like this): Anyone know how to do the same for wordpress? Use the XMLRPC (metaweblogapi) or AtomPub support. Easiest way is to use an existing blog client, such as Drivel. - Jeff -- linux.conf.au 2009: Hobart, Tasmania http://marchsouth.org/ The Vines are the latest pretenders to the thrown. - Vines review by liv4now.com -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Add items to menu
quote who=Chris Allen I am now running Ubuntu 8.04. How do I add items to the regular menus? I had no problem with 6.06 but in 8.04, it seems to be forbidden. I think this is a GNOME issue rather than Ubuntu. Do you have the System Preferences Main Menu control panel? That'll do it, unless of course it's not working (in which case, let us know how it's breaking). :-) - Jeff -- linux.conf.au 2009: Hobart, Tasmania http://marchsouth.org/ Think video. Think text flickering over your walls. Think games at work. Think anything where a staid, link-based browser is useless. This person wrote for Ab Fab, right? - Rich Welykochy -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] network manager over writes resolv.conf
quote who=david Just upgraded to Ubuntu 8.10 (from 8.04) and now I'm losing my search domain on reboot. I'm using a static address. If I edit resolv.conf everything is good until I reboot, then resolv.conf is re-created without the search domain. Where should the search domain be stored? I thought it was in /etc/network/interfaces but apparently not according to man interfaces. Previously there was a line: dns-search kenpro.com.au I was expecting something like .gconf/system/networking but that doesn't exist and I can't find anything similar. Never edit the GConf database directly [1], use the tools. In this case, you want the Network Manager connections editor which you can find by context clicking on the Network Manager panel icon (then Edit Connections...) or System Preferences Network Configuration. Choose the wired or wireless connection you want to set a search domain for, and click Edit. To set the search domain you want the IPv4 Settings tab, static addresses, etc. Sure, some people don't like Network Manager because it pulls you out of the comfy configuration files you might be used to, but it does a whole lot of stuff for you if you don't want to bother with them anymore (or never found them easy or comfy in the first place -- ie. my Mum). Also, if you set stuff up in /etc/network/interfaces, Network Manager will ignore it... at which point the resolvconf package will be a handy way to manage your resolv.conf settings via /etc/network/interfaces. :-) - Jeff [1] Not because it's impossible to do so, but because it's almost never the easiest way to achieve your goals. -- linux.conf.au 2009: Hobart, Tasmania http://marchsouth.org/ I tried to make money ass signing, but the bottom fell out of the market. - Liam Quin -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] network manager over writes resolv.conf
quote who=david Hi Jeff... From my original post: System/Preferences/Network Configuration GUI tool fails with the following message: Updating connection failed: nm-ifupdown-connection.c.82 - connection update not supported (read only) So now that the lovely clever gui tool doesn't work, what do I do next? go back to the old fashioned config files that I was comfortable with? I can't because they are now mysteriously over-written or silently ignored! Well, a) that's not the GUI tool I directed you to (it's no longer relevant in Ubuntu 8.10, so you should uninstall it) and b) I did mention in my mail about how you can go back to the config files and NM will very happily let you do it (by ignoring the interfaces you've configured). We are being dumbed down. I'm quite happy to have simple tools for my Mum, but surely in a perfect world the simple tools would advise us what's going on under the hood. At the moment it seems to be as secret as Windows. The tools would advise you? Like Hi David's Mum, you don't care about this, and it's more than likely to confuse the fuck out of you, but I'm now editing BLAH BLAH BLINGDEE BBZZZT WIDGET. Have a nice day! As a technical user, there are certainly methods for you to better understand what is going on underneath the covers, but there's no reason to expose that machinery to users who don't give a shit. (And it's not quite as simple as generated from ...) Due to advances driven by NM, I haven't edited /e/n/i on a desktop or laptop system for years. I switch between VPNs, wired and wifi, and most recently plugged in a 3G card... and it all just works. I happen to grok what's going on under the hood, but I don't have to care about it, so I can spend more of my synapses on stuff that actually matters. Making computers do the stupid shit for us helps both we computer-interested and the non-computer-interested. That's what they're for. Meantime, I still can't permanently set my search domain. I'd encourage you to follow the actual instructions I provided. :-) [Hint: I pointed you to the NM configuration tool under System Preferences, not the old one which should no longer exist under System Administration.] - Jeff -- OSDC 2008: Sydney, Australiahttp://www.osdc.com.au/2008/ Hunch, n.: U.S. Foreign Policy. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Re: network manager over writes resolv.conf
quote who=Daniel Bush If it comes to that, there must be a way to disable network manager? If you configure an interface in /e/n/i, NM will ignore it. This, from my perspective is just works for the computer-interested. :-) I have a shell script for switching between wireless and wired modes (involving wpa_supplicant etc) on top of the ifup-ifdown-etc/network/ interfaces stuff. /e/n/i (through scripts in the wpasupplicant package) supports all of that in a really easy-to-use fashion. Check out the README.Debian file in the wpasupplicant package (and man interfaces to see how mapping works). Of course, it's way easier to get NM to do the heavy lifting for you... ;-) - Jeff -- Robot Parade http://www.robotparade.com.au/ m. +61 423 989 818 p. +61 2 9318 0284 f. +61 2 9318 2884 -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] WordCamp Sydney for WordPress lovers, Nov 29-30
Yo SLUGgers, there's some awesome stuff coming up in Sydney including RUXCON, WordCamp and OSDC! :-) - Jeff - Forwarded message from Jeff Waugh - Date: Thu, 20 Nov 2008 14:25:19 +1100 To: Linux Australia [EMAIL PROTECTED] Subject: [Linux-aus] WordCamp Sydney for WordPress lovers, Nov 29-30 Hi all, Lovers of WordPress (and blogging in general) will be pleased to know that WordCamp Australia 2008 is being held in Sydney very soon (November 29-30). Deets on the website: http://wordcamp.com.au/wordcamp-australia-2008/ The WordCamp dudes have done a great job putting together a fun event, with speakers from around the world (including WordPress project lead and founder of Automattic, Matt Mullenweg), and experts from Australia and New Zealand: * Harley Alexander * Alister Cameron * Dan Milward * Matt Mullenweg * Alex Shiels * Sarah Stokely (with awesome panelists) * Jeff Waugh * Jane Wells * David Wolf * Lightning Talks (join in!) * Unconference Mode on Sunday (join in!) * Sweet t-shirts To thank Linux Australia for supporting the event, the WordCamp organisers have made a discount code available to linux-aus readers: Deal: $15 discount from any ticket (which are already generously priced) Code: wcaupenguin Link: http://wordcamp-australia-2008.eventbrite.com/?discount=wcaupenguin Hope to see you there, - Jeff -- OSDC 2008: Sydney, Australiahttp://www.osdc.com.au/2008/ In addition to these ample facilities, there exists a powerful configuration tool called gcc. - Elliot Hughes, author of lwm - End forwarded message - -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] A command question.
quote who=Jobst Schmalenbach 2: less (and more) kill the highlighting done by grep Use less -R and *never* use more! 3: grep has to (internally) call the other processes to to the same I am already doing with pipes No, there's a massive difference between syscalls and forking processes. 4: (overly pedantic): can do more with find grep can ever do and I can decide the order of my pipes and WHAT I want to do. In some cases, yes. But most search recursively for files that contain X use cases are better served by the vastly more performant grep -r. - Jeff -- Robot Parade http://www.robotparade.com.au/ m. +61 423 989 818 p. +61 2 9318 0284 f. +61 2 9318 2884 -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] X11 Forwarding over ssh
quote who=Kyle I know I could use VNC, but; 1. I have to be able to use std ports to get thru corporate firewalls and 2. I would like to have that connection secure And as best I can tell VNC doesn't support ssh; not to mention I wouldn't know how to send it through a std port without interfering with other services on those ports. Look at the ssh man page (or Google) for port forwarding -- that will allow you to do VNC over ssh. If you have any trouble, give SLUG another call. :-) - Jeff -- Robot Parade http://www.robotparade.com.au/ m. +61 423 989 818 p. +61 2 9318 0284 f. +61 2 9318 2884 -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] A command question.
quote who=[EMAIL PROTECTED] Is there a command that finds a file containing a certain word? find and apropos don't. They work on filenames only. grep ... and you can use -r to search through files/directories recursively. - Jeff -- Robot Parade http://www.robotparade.com.au/ m. +61 423 989 818 p. +61 2 9318 0284 f. +61 2 9318 2884 -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] A command question.
quote who=Mada R Perdhana find . -exec grep www.athabasca '{}' \; -print This is massively inefficient. A better choice would be grep -rl piped to xargs. grep -rl www.athabasca | xargs sed -i 's#www.athabasca#www.bathsheba#' - Jeff -- OSDC 2008: Sydney, Australiahttp://www.osdc.com.au/2008/ It will test your head. And your mind. And your brain, too. - Jack Black, School of Rock -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Uptime logging
quote who=Rick Phillips Thank you - that's perfect. I have changed the intervals a bit to ping every 5 minutes with 1 second delay for each ping and I am already registering packet drops. It will be good evidence to wave in front of someone. Even better, install collectd and use its ping plugin -- now you can do the same thing, but with beautiful (and *SIMPLE*) graph output. :-) - Jeff -- linux.conf.au 2009: Hobart, Tasmania http://marchsouth.org/ I've been thinking: I get way too many pieces of e-mail, about 60 a day. - Microserfs -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Distro for fast web browsing on old machine.
quote who=Ben Looking for a distro that does web browsing really well with the following specs (or a way to make Ubuntu behave). I have a Celeron ~1.6GHz machine, 512MiB RAM, 80GB HDD. Ubuntu 8.04 and now 8.10 both grind almost to a halt when Firefox is running. (I think 8.10 is actually worse). There is plenty of free memory - 200+ Happens with one window open or with many. Other browsers are no better - tried Opera, same issues. CPU just hits 100% and just grinds away. Is it Firefox or X chugging on the CPU (check top)? What kind of video card and driver are you using? Firefox should be fine on a slowish machine with lots of RAM (512MB is fine). - Jeff -- OSDC 2008: Sydney, Australiahttp://www.osdc.com.au/2008/ If you want to start a debate on a subject, however, all that seems to be necessary is to involve perennial target Richard Gooch. - LWN -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Australian State May Give Students Linux Laptops
quote who=Martin Visser I read The Australian article yesterday, and while certainly promising, it also is very indefinite. In typical Slashdot fashion the could and considered in the original article become will on Slashdot A few other words I would use to describe DET's interest in Linux for student laptops may include: are, already, actively, experimenting, waiting, capable and vendor. :-) - Jeff -- linux.conf.au 2009: Hobart, Tasmania http://marchsouth.org/ The aim of the release process is to finish software, not to develop it... - Havoc Pennington -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Mail server to mail server authentication (postfix)
quote who=Erik de Castro Lopo How do I set up each end so only my authorized hosts can relay through my main server. Postfix seems to have TLS and SASL, but from my reading so far I can't really tell it these are a solution to my problem. So once you've set up authentication (a different issue altogether -- I would recommend using the dovecot integration on the server side), you need to allow authenticated hosts to connect and send: smtpd_client_restrictions = smtpd_helo_restrictions = smtpd_sender_restrictions = smtpd_recipient_restrictions = ... permit_mynetworks permit_sasl_authenticated ... (The ellipses represent the usual gumpf you put in s_r_r to protect your mail server from spammage and abuse.) - Jeff -- OSDC 2008: Sydney, Australiahttp://www.osdc.com.au/2008/ And that's what it sounds like if you *download* it! - John Linnell of They Might Be Giants -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] This is a direct attack on process
quote who=Ken Foskey Is Vista pushing people towards Linux http://www.itwire.com/content/view/20367/1090/ Pia gets a reference on page 1. I find the attacks a little personal. The arguments are well put but a little flawed. Dude. Sam Varghese. Par for the course. :-) - Jeff -- OSDC 2008: Sydney, Australiahttp://www.osdc.com.au/2008/ Free software never simply picks up its marbles and goes home. - Jonathan Corbet, LWN -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] What are the best web-based CRM systems?
quote who=Richard Hayes I am looking for a very simple crm system. Both Sugar / TigerCRM might be overkill as only need to track a small number of salespeople. Any recommendations? For an online service, try Highrise (a 37 Signals product). It's really nice and simple. - Jeff -- OSDC 2008: Sydney, Australiahttp://www.osdc.com.au/2008/ Itanium: A synthetic market-group tested plasticised square. - Jamie Wilkinson -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] DODO
quote who=James Dumay I totally recommend Internode - plans are a little more pricey but the speed is always consistent and so far I've never had to call tech support. When we connected to internode their support and sales guys have been top notch. Concur. If you care about good 'net access, there's no point going cheap and dirty (which less than adequately describes the cheapness and dirtiness of ISPs like Dodo). - Jeff -- OSDC 2008: Sydney, Australiahttp://www.osdc.com.au/2008/ Not only that, but Google is fast. In fact, it's quite competitive with DNS. - Raph Levien -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Flash displays over everything else in webpages on Linux FF
quote who=Scott Ragen I'm a little frustrated by web pages that display flash, and their popup menus that become hidden behind it. I know I could block flash, but I don't always want to do this. I have searched the web and the only solutions I have found are targeted for the web admins, and not the client browsers. Because of the way Flash works in X, it's not fixable until both Adobe and browser vendors (ie. Mozilla) sort it out. Mozilla has done their end of the task already, and some Flash implementations (such as swfdec, and possibly gnash, I'm not sure) already support it. I believe Adobe will support this in their next plugin release, but... we'll just have to wait and see. - Jeff -- OSDC 2008: Sydney, Australiahttp://www.osdc.com.au/2008/ http://www.xach.com/debian-users-are-beatniks.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Ubuntu intrepid warning
quote who=Ken Foskey I am using ubuntu intrepid right now. It is pretty flaky, evolution corrupts itself a lot right now (was working fine a couple of days ago). I can barely tell the difference between the old and new, the application that I upgraded for wont work properly anyway. There are differences and it will be worth it just not with the pain. So hold off on that update a little while longer. We're basically in the messiest period in the development cycle: post-merge, mid-feature-delivery, pre-bug-fixage. So if intrepid wasn't interesting at this point, they'd be doing something wrong. :-) - Jeff -- OSDC 2008: Sydney, Australiahttp://www.osdc.com.au/2008/ What do you give a bird when it has a headache? Parakeetamol. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] mii-tool or ethtool ?
quote who=Tony Sceats Anyone ever had mii-tool and ethtool tell them different things? As you can see the duplex setting is being reported differently (this is a Broadcom Corporation NetXtreme II BCM5706 Gigabit Ethernet (rev 02)). Does anyone know of another method to check the Duplex setting so I can verify which one is correct? ethtool is the preferred and more modern [1] of the two. - Jeff [1] Open Source translation: someone actually maintains the sucker. ;-) -- OSDC 2008: Sydney, Australiahttp://www.osdc.com.au/2008/ make: *** No rule to make target `whoopee'. Stop. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: VoIP adapter configuration was /Re: [SLUG] Thunderbird send problems
quote who=elliott-brennan One last question. How do I fix the MTU setting so I don't have to reset it each time I reboot. For my desktop this is not really a problem - it's on 24/7, but I'd rather just have it sorted. You're using sudo, so I'll assume Ubuntu if that's okay [1]. Just add an mtu parameter to your /etc/network/interfaces stanza, eg. iface eth0 inet static address 192.168.10.110 netmask 255.255.255.0 gateway 192.168.10.1 mtu 1492 - Jeff [1] This only makes sense when you think about it in terms of probability. -- OSDC 2008: Sydney, Australiahttp://www.osdc.com.au/2008/ I don't know whose brain child it was, but it was quite an ugly child. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Equivalent of Gentoo's python-updater for Debian
quote who=Michael Lake Now a colleague at work tells me that his Gentoo has a thing called python-updater that remerges python packages when upgrading python. This makes all the old packages available for an updated python. Is there such a thing for Debian? python-central (and Debian packaging guidelines for Python) does it all for you as you upgrade. Since those changes were made, and we no longer have version-specific Python library packages, I've never had to do anything manual to get a Python library to work with a particular version of Python. It just works for versions of Python that you have installed. - Jeff -- linux.conf.au 2009: Hobart, Tasmania http://marchsouth.org/ Free software never simply picks up its marbles and goes home. - Jonathan Corbet, LWN -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Debian: How do I remove a package and all it's dependencies?
quote who=Ken Foskey On Wed, 2008-07-23 at 17:17 +1000, James Polley wrote: apt-get remove $PACKAGENAME doesn't work for you? followed by apt-get autoremove You can also do autoremove in place of remove, to do it all at once. :-) - Jeff -- OSDC 2008: Sydney, Australiahttp://www.osdc.com.au/2008/ GDK (acronym): GNU's Not Unix Image Manipulation Program Tool-Kit Drawing-Kit. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] mutt procmail and mailing lists
quote who=Mary Gardiner Jeff Waugh's configs are widely used by muttering SLUGers: Yeah, I'm surprised how often I see my stupid quote style on other people's replies. :-) I should probably update those files... - Jeff -- OSCON 2008: Portland OR, USA http://conferences.oreilly.com/oscon/ We're passe with class, eh? -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] login-less logins
quote who=david I have set up so that no password is required, (U6aMy0wojraho in the encrypted shadow password does this job) but it would be better if the screen was avoided completely. a) You should disable the password rather than putting goofy text in. :-) b) Configure GDM to autologin her user (then you don't even need to worry about disabling the password). The resulting user experience will be power switch on ... (waiting) ... full desktop. * System Administration Login Window * Select the 'Security' tab * [x] Enable Automatic Login * Enter or select her user name - Jeff -- OSCON 2008: Portland OR, USA http://conferences.oreilly.com/oscon/ (Hint: IRC clients don't usually do DVD and VCD playback). - Bastien Nocera -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] composite multiple images command in imagemagick
quote who=Rick Welykochy I've always pondered where to draw the line between sys admin and programmer /analyst. Wherever you draw it, draw if very firmly. Sysadmins should not write code, Bollocks. I've yet to meet a sysadmin who does not write code. But I classify it as scripting. Yeah, that's pretty much the distinction I was assuming. I don't think those who are afraid of writing scripts (and *reading* code) can convincingly call themselves real sysadmins. :-) - Jeff -- GUADEC 2008: Istanbul, Turkey http://www.guadec.org/ boc man i rule bram boc: how do you rule? boc with authority -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Video card problem?
quote who=Heracles This is the only part of syslog that I could find that may be a clue but I am not sure how to fix it. It looks like a video or nvidia driver problem. Any ideas appreciated. Unfortunately those log items don't reflect anything about the problem you're seeing. The gdmgreeter bit is just silly GDM bugs that should be fixed and the ALSA bit is normal (and not video-related). Are you able to log in to the machine over the network when it is frozen? - Jeff -- OSCON 2008: Portland OR, USA http://conferences.oreilly.com/oscon/ I love 2001. Especially the beginning with the proto-humans screaming at each other and beating each other to death with rocks and bones. That very neatly encapsulates my whole concept of interpersonal relationships. - Branden Robinson -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] composite multiple images command in imagemagick
quote who=Rick Welykochy I've always pondered where to draw the line between sys admin and programmer /analyst. Wherever you draw it, draw if very firmly. Sysadmins should not write code, coders should not administer systems. Heinous crimes are committed when the streams are crossed! Many sys admins I work with can whip up shell scripts and are whizzes at handling utilities and such in the shell. But often they are not adept at designing software systems and implementing them. No offense, admins, but it is a different discipline. Absolutely. But the inverse is also true. :-) Which raises the question: does it require a programmer to handle and correctly execute complex command-line programs like convert, etc. as found in Imagemagick? Naw, those are pretty straightforward if you have the mind-set for them. I'd venture that ImageMagick is not exactly the most useable suite of command line tools. :-) As an aside, my brain begins weeping when I have to do something novel with iptables (another command-line monster) but I don't consider that a programming job. I get the impression many Linux admins can configure iptables in the dark without a keyboard and both hands preoccupied with beer and pizza. iptables is firewall assembly language. There are other things that provide the equivalent of portable sugary description (equivalent to C in the code ecosystem), concise object-oriented approaches (equivalent to languages such as Python), and even visual approaches (logo for firewall designers!). - Jeff -- GUADEC 2008: Istanbul, Turkey http://www.guadec.org/ GNOME, launched specifically to counter a threat to our freedom, is the free software project par excellence. - Richard Stallman -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: Compromised Linux box stories (Re: [SLUG] upgrading complicated installs)
quote who=Rick Welykochy Adrian Chadd wrote: The trouble is that the entry barrier for coding is so low, you can code without any clue. This very issue gave rise to some heated debate over on the LINK mailing list, which some of you attend. Many of us computer professionals were peeved by this low barrier to entry into the software industry. Computer software creation is not a certified profession like engineering. There are far toomany shiesters out there peddling crap software because they can. This gives rise to many many problems in IT. Yet there are so many who go nuts when the idea of accreditation is raised. :-) [This cheap shot does not indicate my support for or against the idea!] - Jeff -- OSCON 2008: Portland OR, USA http://conferences.oreilly.com/oscon/ The GPL is good. Use it. Don't be silly. - Michael Meeks -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: Compromised Linux box stories (Re: [SLUG] upgrading complicated installs)
quote who=Rev Simon Rumble This one time, at band camp, Adrian Chadd wrote: Ah, if only writing software held the same risks and building bridges. :) You mean engineers don't test their newly-built bridge by driving a dozen variously-shaped vehicles across it, before opening it up to all and sundry? No way dude, they drive a dozen variously-shaped vehicles into the harbour, then build out the sides of the bridge until the cars stop falling off! TDD for the win! - Jeff -- OSCON 2008: Portland OR, USA http://conferences.oreilly.com/oscon/ Maybe you should put some shorts on or something, if you want to keep fighting evil today. - The Bowler, Mystery Men -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html