[01:13] <ali1234> i'm down to 30G / 385175 files
[01:19] <shemeer> hi
[06:52] <brobostigon> good morning everyone,
[07:23] <BigRedS> Good Morning!
[07:27] <Gary> morning BigRedS
[07:28] <brobostigon> morning BigRedS and Gary
[07:29] <knightwise> hey everyone
[07:29] <brobostigon> morning knightwise
[07:30] <knightwise> hey bro
[07:30] <knightwise> how is you !
[07:31] <brobostigon> knightwise: not so bad but could be better, and you?
[07:32] <knightwise> doin ok , wish I had some time ni the day where I could actually get work done instead of having to attend meetings
[07:32] <brobostigon> :) :(
[07:54] <MooDoo> hello all
[07:54] <brobostigon> morning MooDoo
[08:16] <bigcalm> Good morning peeps :)
[08:18] <diplo> Morning all
[08:30] <JamesTait> Good morning all, happy Chocolate Pudding Day! :-D
[08:42] <bigcalm> JamesTait: thanks, I now know what I'll have at the LUG tonight
[08:42] <JamesTait> \o/
[09:05] <BigRedS> JamesTait: Aw, I see that just as I get back from the breakfast run
[09:06]  * BigRedS plans lunch
[09:06] <knightwise> hey BigRedS
[09:10] <BigRedS> Morning!
[09:49] <Azelphur> woo, internet is back, apparently an engineer came out yesterday to connect someone else and felt the desire to disconnect me \o/
[09:50] <mgdm> "Screw that Azelphur guy, I'm going to mess up his internet, muahahaha"
[09:50] <Azelphur> mgdm: yup :D
[09:51] <popey> they do that a lot
[09:51] <popey> especially virgin
[09:51] <popey> when they can't find a slot in the cabinet, they just yoink someone else out, happened to us twice
[09:51] <popey> we got plugged back into someone elses line so our phone number changed
[09:51] <mgdm> wtf
[09:52] <popey> i only found out when wifey phoned me from home and i noticed the caller id was wrong
[09:53] <Laney> if you see inside the cabinets they look pretty chaotic usually
[09:53] <Laney> pretty sure bodging in the fastest way possible is standard
[09:54] <popey> it's more prevalent on virgin because most of the engineers are contractors, and paid by number of jobs per day. so are in a hurry to get customer running then leave. they don't want a trip to the exchange to setup a new connection.
[09:56] <Laney> friend works for a landlord who owns a house which is listed
[09:56] <Laney> when they got virgin installed the engineers were ordered by their supervisor to bash the cables into the side of the house
[09:56] <Laney> promptly got bollocked by The Authorities
[09:56] <Laney> (the engineers initially went on strike but relented)
[09:57] <popey> heh
[10:25] <davmor2> morning all
[11:09] <directhex> popey, http://www.penny-arcade.com/comic
[11:11] <popey> hah
[11:16] <Azelphur> directhex: hahaha
[12:06] <mungbean> dental hygeinist this morning. oh the pain of searing gums :(
[12:07] <dwatkins> I need to floss more
[12:07] <mungbean> everyone does
[12:07] <dwatkins> I did learn recently, however, that flossing need not take ages.
[12:07] <mungbean> do it on the toilet
[12:07] <dwatkins> it's like digging the plague out from between the tooth and gum, just one scrape each side of the gap and move on
[12:08] <mungbean> grim
[12:08] <dwatkins> none of this sawing motion is necessary unless teeth are particularly close together
[12:08] <mungbean> mine are very tight fitting
[12:08] <mungbean> but i use tape instead
[12:10] <mungbean> hadn't been for 2 or 3 years so much paint required
[12:11] <popey> paint?
[12:12] <mungbean> woops, pain
[12:38] <BigRedS> ah, I wondered if you'd ended up with some back-ally tooth-whitening process
[12:39] <mungbean> i do have a gold tooth at the back though
[12:39] <popey> opulent!
[12:40] <mungbean> didn't really have much choice
[12:40] <mungbean> pull out or get a crown
[12:43] <dwatkins> I had to have a molar removed, that was fun.... for varying values of "fun"
[12:44] <mungbean> had to one above removed
[12:44] <mungbean> then i got a bonus as a dormant winsdom tooth woke up and replaced it
[13:12] <mungbean> gmail now warns you of those "i'm on holiday and lost my wallet mails"
[13:12] <mungbean> and you click to report a compromised acct
[13:13] <popey> oh nice
[13:13] <dwdorig> mungbean, Aren't all gmail accounts compromised to the NSA by default, now?
[13:14] <mungbean> i don't think the NSA ask me to send money to a hotel in the philppines though
[13:14] <dwdorig> mungbean, That's just what they want you to think.
[13:15] <mungbean> ok
[13:15] <dwdorig> mungbean, Also, looks terribly easy to build pencil into an XPI from the source tarball.
[13:17] <mungbean> with xulrunner built in?
[13:20] <dwdorig> I'll stare at you blankly at this point. Don't XPI's sort of install into Firefox?
[13:20] <mungbean> latest pencil not work with FF since v17
[13:21] <mungbean> you need to include an older xulrunner version
[13:21] <dwdorig> I always feel like I've missed about 12 versions whenever anyone mentions a Firefox version.
[13:21] <mungbean> i think latest is 22
[13:21] <dwdorig> Right, so in that case, no.
[13:30] <MartijnVdS> http://satwcomic.com/all-just-a-game
[13:30] <MartijnVdS> popey: ^
[13:38] <mungbean> its easy to get distracted and do something completely different while waiting for tomcat to start
[13:53] <advancedgarde> So, I have a USB pen drive running 12.04 that I'm using to fix some HDD's on my home server. I booted into it fine, found my raid array, installed mdadm and mounted the drives. After a reboot, the USBdrive seems to be having trouble booting and falls into busybox.
[13:55] <advancedgarde> I'm presuming its getting confused about the boot device mid boot but I don't currently have any evidence to support this.
[13:57] <advancedgarde> If I exit I get a kernel panic. I can reinstall the USB pen drive fresh but was wondering if there was a simple fix.
[13:59] <BigRedS> what does it say just before dropping into busybox?
[13:59] <BigRedS> and do you know what parameters the kernel's being passed? What's root set to?
[14:01] <advancedgarde> BigRedS, you'll have to bear with me, while I'm trying to familiarise myself with Ubuntu this summer, I still consider myself a novice.
[14:04] <advancedgarde> The message before dropping into busybox is: [drm] Initialised radeon 2.18.0 20080528 for 0000:01:00.0 on minor 0
[14:05] <advancedgarde> However, just before that I can see some mdadm ish messages.
[14:05] <advancedgarde> And since installing mdadm was the last thing I did I suspect it is related to that rather than the graphics card.
[14:06] <advancedgarde> I don't know how to find out what root is set to or how to find out what's being passed to the kernel.
[14:06] <BigRedS> ah, cool. I can't remember how extensive busybox is
[14:07] <advancedgarde> It seems fairly basic.
[14:07] <BigRedS> but you *should* be able to cat /proc/cmdline to see how the kernel was invoked. One part of it is probably something like  root=/dev/sda  . 'sd' refers basically to SATA and SCSI disks, if you've something like  root=/dev/md1  then it's trying to boot from an md array
[14:08] <BigRedS> yeah, it's incredibly minimal, which is really handy until you need a thing it hasn't got :)
[14:09] <advancedgarde> So it appears to be trying to boot from /cdrom which is what I would expect - again this is a live cd installed onto a USB.
[14:10] <advancedgarde> blkid shows the USB as being at /dev/sde1 and this appears to change from boot to boot.
[14:12] <advancedgarde> Sorry, to clarify, there is no "root=" in cat /proc/cmdline, but a "file=/cdrom"
[14:17] <BigRedS> ah, cool
[14:19] <BigRedS> I'd assumed you'd installed it differently... What would be best is to get the error messages that happen just before you're dumped in busybox
[14:21] <advancedgarde> The message immediately preceding  busybox is: [drm] Initialised radeon 2.18.0 20080528 for 0000:01:00.0 on minor 0
[14:22] <BigRedS> yeah, there should be ones before that complaining about something
[14:22] <BigRedS> shift+up might scroll upwards
[14:22] <advancedgarde> Okay, sorry I see you said error message. I'll take a look.
[14:26] <BigRedS> Ah, no worries. TBH, thinking about it, boot is one of the more tempermental and irritating bits of linux - you may find it gets frustrating and a new install is more productive than learning to hate it :)
[14:27] <advancedgarde> I am not able to scroll up. While I'm not certain what I'm looking for: "md127: detected capacity change from 0 to 4000790347776", "md127: unknown partition table", "drm: registered panic notifier"
[14:27] <advancedgarde> Some messages were omitted.
[14:28] <advancedgarde> Yup, I'm sure a clean USB live disk install would fix the problem just felt like a bit of a "fix it with a hammer and never know the problem" approach.
[14:30] <advancedgarde> So, when I have a USB live disk, it boots by copying an instance of the os into ram right? If I install packages and then reboot do these packages get copied back to the USB stick? (As this is what appears to have happened)
[14:30] <BigRedS> yeah, it's the sort of thing I'd generally advocate - fixing the problem rather than flattening it. But, equally, in your position I'd just redo it :)
[14:31] <BigRedS> I'm not sure any more, to be honest. I've been puzzled ever since liveCDs moved onto a writeable medium
[14:31] <BigRedS> probably best to wait for someone who understands livecd/liveusb better than I do :)
[14:33] <advancedgarde> When I drop out of busy box I get: /init: line352: can't open /root/dev/console: no such file
[14:34] <advancedgarde> Kernel panic - not syncing: attempting to kill init! exitcode=0x00000200
[14:36] <advancedgarde> If I remove the raid array it boots. Do you know a way of preventing it from using mdadm during boot?
[14:37] <advancedgarde> (Assuming that's the issue here)
[14:38] <advancedgarde> Oh ... According to terminal it's not installed ... Very interesting.
[14:38] <BigRedS> what's not installed? md?
[14:38] <BigRedS> there's definitely a kernel arg to get it to not do anything with md, but I can't remember what it is
[14:39] <advancedgarde> mdadm. Sorry, are mdadm and md different things?
[14:46] <BigRedS> md is the name for the whole linux-kernel-software-raid thing
[14:46] <BigRedS> mdadm is a tool used to interfere with them - "md admin" is mnemonic but I don't know if that' the etymology
[14:47] <advancedgarde> From what I know of mdadm it is.
[14:47] <advancedgarde> Okay, I understand the difference.
[14:48] <BigRedS> so, yeah, the two are generally essentially synonymous
[14:58] <funkyHat> advancedgarde: unless things have changed recently (they probably haven't), the actual live image on the USB stick doesn't get changed, a secondary (unionfs?) image is created on the USB stick and any changes you make to the live FS are stored there. Pretty sure it's safe to delete that file. I think it's in a directory called casper
[14:58] <funkyHat> It's also possible to disable that persistance if you don't want it... somehow
[14:58] <funkyHat> persistence
[15:00] <advancedgarde> I tried adding raid=noautodetect to the boot line but it had no effect. I'll look into removing Casper now.
[15:00] <advancedgarde> Boot options*
[15:50] <advancedgarde> Solution: I've switched to a machine that supports hot swapping HDDs and I've connected my raid members after boot.
[15:58] <funkyHat> I was under the impression that all SATA hosts support hot swapping
[15:59] <advancedgarde> Well, my other machine didn't seem to like it - perhaps I was missing something but the drives didn't show up after connecting ...
[15:59] <bashrc> Installing 13.04 onto my netbook...
[16:00] <funkyHat> advancedgarde: it's entirely possible that my impression is just wrong
[16:01] <advancedgarde> Is there a way to remove all files within /a that are present in directory /b?
[16:02] <bashrc> rm -rf b/a/*
[16:02] <advancedgarde> Thank you ^^
[16:02] <Seeker`> err
[16:02] <Seeker`> not sure thats what he really wants?
[16:02] <Seeker`> Did you mean all files in /a that also appear in directory /b?
[16:03] <advancedgarde> Yes I did.
[16:03] <bashrc> that would be harder
[16:04] <bashrc> I assume it would involve writing a script
[16:09] <advancedgarde> So, is there a usage of rm at the command line that will instead trash the files?
[16:11] <Seeker`> what do you mean?
[16:13] <advancedgarde> So, if I use rm in terminal, the file is removed. If I delete a file in the GUI, it is sent to the trash (which can then be emptied) Is there a command line tool for trashing?
[16:14] <Seeker`> why would you want to?
[16:14] <Seeker`> either you want the file or you don't
[16:14] <Seeker`> you shouldn't use the 'trash' for storing files you might want in a GUI :P
[16:15] <advancedgarde> Hmm, I'm going to attempt the write a script to remove some files but I'm not confident in my scripting abilities - so a way back would be nice.
[16:15] <advancedgarde> Trash was my first thought, perhaps a move would be equally good.
[16:16] <Seeker`> test out the script on files you don't really need
[16:17] <Seeker`> that, and just echo out the commands when you first write the script so you can see what it would do
[16:17] <Seeker`> rather than actually doing it
[16:17] <advancedgarde> Okay.
[16:25] <dwdorig> advancedgarde, for x in `ls b`; do echo rm a/$x; done
[16:26] <dwdorig> advancedgarde, And when you're happy that the rm commands look right, then remove the "echo" (which is printing the command instead of executing it)
[16:27] <dwdorig> advancedgarde, For yuks, you could also do: for x in b/*; do echo rm a/`basename $x`; done
[16:28] <dwdorig> advancedgarde, The latter should be faster because it's forking fewer processes (by one, so hardly the most exciting optimization in the world).
[16:30] <dwdorig> advancedgarde, If you really want to use Trash, then you could read the Trash spec and implement it in a shell script - I don't think it's hard, from what I recall. But you could also do "mv" to a temp dir, which'd be *almost* the same effect.
[16:31] <advancedgarde> Thank you dwdorig, I'm looking over what you've said now ^^. In regards to the trash, I was just curious - mv works just as well for me.
[16:31] <advancedgarde> there are only ~200 folders to check, so it could be done by hand but I'm trying to expand my knowledge or terminal so ...
[16:31] <advancedgarde> of*
[16:33] <dwdorig> advancedgarde, Right, it's not a hard bit of scripting. If you do want to do Trash, the spec is at http://standards.freedesktop.org/trash-spec/trashspec-0.8.html
[16:33] <dwdorig> advancedgarde, It might even be that one of the xdgtools can do it for you.
[16:35] <dwdorig> advancedgarde, Oh, you realise that's only checking that the file *name* is identical? If you want to check file contents, you'll want to play with diff and return codes.
[16:35] <advancedgarde> file name is sufficient for this.
[16:36] <advancedgarde> But I can see how I could have missed that ;D
[16:37] <dwdorig> Oh. I'm even credited in the trash spec. I don't remember what I suggested at all.
[17:09] <Azelphur> For anyone thinking about the move to fibre, quidco are doing £70 cashback on plusnet atm, pretty good deal.
[17:18] <advancedgarde> dwdorig. I've been having some trouble with the script because of spaces in the file name paths.
[17:20] <advancedgarde> Oh, never mind, I fixed it - just had my quotes in the wrong places.
[22:04] <ali1234> find -maxdepth 1 -type d -exec echo echo \`find {} -type f \| wc -l \` {}  \;
[22:04] <ali1234> how do i escape this properly?
[22:05] <ali1234> find -maxdepth 1 -type d -exec /bin/bash -- echo \`find {} -type f \| wc -l \` {}  \;
[22:06] <ali1234> /bin/echo: /bin/echo: cannot execute binary file
[22:06] <mgdm> can you use $() instead of the ``
[22:06] <mgdm> and escape that?
[22:06] <ali1234> maybe
[22:07] <ali1234> the idea, if it isnt clear, is to get each directory in current directory, and then count how many files are in it, then prnt the count and the directory name
[22:07] <daftykins> i just installed this distro that passes GRUB and looks like it's loading normally, then instead of X i just get the black screen with a solitary [OK] in the upper right - any ideas how to diagnose?
[22:07] <dwdorig> find -maxdepth 1 -type d -exec echo `find '{}' -type f | wc -l` '{}' \;
[22:08] <dwdorig> I think.
[22:08] <ali1234> no matter what, it won't run echo
[22:08] <mgdm> find . -type d -maxdepth 1 | xargs --replace find {} ...
[22:08] <dwdorig> But you may prefer xargs.
[22:08] <mgdm> maybe?
[22:08] <ali1234> dwdorig: that won't work, the backticks will be handled by bash before find runs
[22:08] <dwdorig> Right. :-)
[22:08] <mgdm> I'm not sure what the ... is, yet :)
[22:09] <dwdorig> ali1234, Oh, yes. Quite.
[22:09] <dwdorig> Try sh -c ?
[22:09] <ali1234> close
[22:09] <ali1234> now t just echos nothing
[22:10] <dwdorig> So find -maxdepth 1 -type d bash -c 'echo `find {} -type f | wc -l`' '{}' \;
[22:10] <ali1234> needs moar quotes
[22:10] <dwdorig> Something like that?
[22:11] <popey> Evening all
[22:11] <ali1234> find -maxdepth 1 -type d -exec /bin/bash -c "echo `find {} -type f | wc -l` {}"  \; <- this is really close to working, but now it always counts 0
[22:11] <dwdorig> for d in `find -maxdepth 1 -type d`; do echo `find '{}' -type f | wc -l` '{} \; done
[22:12] <ali1234> dwdorig: that fails if any directory name has spaces in it
[22:12] <mgdm> ali1234: for i in `find . -maxdepth 1 -type d`; do j=$(find $i -maxdepth 1 -type f | wc -l); print $j    $i; done
[22:12] <mgdm> might need to handle spaces, yes
[22:13] <mgdm> but that's probably a "$i"
[22:13] <mgdm> I'm not sure why I mixed $() and ``, but there you go
[22:13] <dwdorig> mgdm, Doesn't for seperate its args by spaces too? I can never remember.
[22:13] <mgdm> ah, yes, possibly
[22:14] <mgdm> there's a find -0 for that purpose, which might not be useful here
[22:14] <dwdorig> Yes, and xargs does a similar thing if you ask nicely.
[22:14] <ali1234> find -maxdepth 1 -type d -exec /bin/bash -c "echo \`find {} -type f | wc -l\` {}"  \; <- got it
[22:15] <dwdorig> Ah, there we go then.
[22:15] <ali1234> hmm it still fails on spaces
[22:15] <ali1234> find -maxdepth 1 -type d -exec /bin/bash -c "echo \`find '{}' -type f | wc -l\` {}"  \; | sort -rn
[22:15] <ali1234> works
[22:16] <dwdorig> I have to admit, I'm not sure why replacing ' ... ` ` ...' with " ... \` \` ... " would make a difference.
[22:16] <ali1234> who knows
[22:16] <dwdorig> Oh, maybe bash sees those too late.
[22:16] <ali1234> multiple levels of escaping going on
[22:16] <dwdorig> Anyway, bedtime.
[22:16]  * dwdorig &
[22:54] <popey> AlanBell: do you remember the name of the guy on the right (our right)?
[22:58] <AlanBell> hmm, Robert someone I think
[23:02] <AlanBell> even the science museum doesn't know https://twitter.com/sciencemuseum/status/350012008055320578
[23:03] <popey> Richard Holmes
[23:03] <popey> found it via https://twitter.com/RogerHighfield
[23:04] <daftykins> were you just at some kind of event?
[23:04] <popey> recording of The Infinite Monkey Cage
[23:04] <daftykins> ah
[23:05] <ali1234> 26GB / 212150 files :)
[23:06] <AlanBell> popey: the glove lady https://twitter.com/connellycharlie/status/350025374333276161
[23:08] <daftykins> i find i can't work radio into my life :( it's just not a medium i can pay attention to
[23:09]  * popey edited wikipedia to update it
[23:09]  * popey expects the edit to be reverted
[23:10] <MyUbuntuBlog> Can't live without radio. I need the background noise to help me work
[23:10] <popey> oh balls, I messed it up
[23:10] <ali1234> smooth
[23:12] <daftykins> ah it'd work at an office job i could imagine
[23:12] <popey> fixed!
[23:12] <popey> phew
[23:12] <popey> http://en.wikipedia.org/wiki/The_Infinite_Monkey_Cage#List_of_episodes
[23:12] <daftykins> i tend to flip out when i'm places where builder types put the local radio station on
[23:12] <popey> i dont listen to it on the radio, i listen to it as a podcast
[23:12] <MyUbuntuBlog> i prefer podcasts
[23:13] <MyUbuntuBlog> 2 hours of linux outlaws ranting is great
[23:13] <popey> It is?
[23:13] <AlanBell> nice one popey :)
[23:13] <MyUbuntuBlog> followed by a dose of the linux link tech show
[23:13] <popey> snoozeshow ☻
[23:14] <MyUbuntuBlog> they never really talk about anything on the tech show. it really is just a chit chat
[23:17] <AlanBell> night all o/
[23:18] <popey> nn