/srv/irclogs.ubuntu.com/2013/05/05/#ubuntu-uk.txt

=== sam_nazarko is now known as Guest32572
=== chalced is now known as chalcedony
shaunowhat on earth are they doing releasing debian at 3am.  how am I meant to drink to that?04:26
MartijnVdSshauno: you can't drink at 3am?06:06
SuperMattmorning08:25
dwatkinswotcher08:35
SuperMatthow do?08:38
dwatkinsgood, ta - currently re-encoding Silent Running for later viewing08:39
dwatkinshow's tricks?08:39
SuperMattall good08:39
SuperMattdid a run this morning, I'm getting faster :D08:39
dwatkinsI need to collect my bike so I can start cycling to work again.08:39
SuperMattI might have to start running before work, because it's really helping me lose weight08:40
dwatkinsI changed my diet, that made a huge difference.08:40
dwatkinsCycling helped, too, of course.08:40
SuperMattyeah, I've changed my diet too08:41
SuperMattbasically, I've reduced a lot of what I eat08:41
dwatkinsI switched to keto, seems to do the trick.08:42
SuperMattketo?08:44
dwatkinsno sugars or carbs08:44
dwatkinsessentially, I've replaced chips/rice/bread with salad08:44
SuperMattaha08:44
dwatkinsI was quite surprised how well it worked, and I don't feel hungry all the time, either.08:45
SuperMattwell my plan was to ditch the bread for sure08:49
SuperMattdidn't think about ditching rice :/08:49
dwatkinsThere's sugar and carbs in so many things, it's not easy to know what to eat.08:56
dwatkinshttp://www.amazon.co.uk/Neris-Indias-Idiot-Proof-Diet-Twig/dp/0141027436/ is appaently quite good, I've just been making it up as I go along, but will eventually get around to reading this.08:58
MartijnVdSdwatkins: The "start running 7-10km 3-4 times/week" diet worked best for me ;)09:00
dwatkinsThey seem to have brought back the l4d1 characters for the Ubuntu beta of l4d2.09:00
directhexbut bread is delicious and so is rice09:00
directhexand pasta09:00
MartijnVdSdwatkins: (started out with 1-2km ;))09:00
directhexand pots of pure gluten09:00
dwatkinsMartijnVdS: yeah, I suspect a lot of my 15 kg weight loss was due to suddenly cycling 10 miles a day ;)09:00
MartijnVdSdwatkins: yeah that tends to help :)09:01
brobostigongood morning everyone,09:25
dwatkinswotcher09:43
brobostigon?09:43
dwatkinshello in Reading-speak09:43
brobostigonah.09:43
brobostigonsome of my cousins live there.09:43
dwatkinsit's not so bad, the architecture's a bit dull compared to Edinburgh ;)09:43
brobostigontrue enough.09:43
brobostigonany ideas for an android mmo, i am bored.09:43
neuroOne where all Samsung phones get beaten to a pulp, letting other manufacturers build "proper" Android devices?09:44
neuro"You have smited 17 Samsung engineers, and replaced the ROMs on 2915 Samsung devices!  Level up!"09:45
neuroactually, quick question, guys:09:45
neurocan anyone remember the name of the package that lets you create a virtual connection to another machine beside you to "extend" your keyboard and mouse influence?09:46
neuroso your keyboard can control the machine in front of you and the machine to your right or whatever?09:46
neuroit's completely eluding me09:46
neurosince it's years since i've used it09:46
=== G4MBY is now known as PaulW2U
neuroit's not duplicity, it's not ubiquity, but it's something like that09:47
neuronever mind09:50
neurofound it09:50
neuroSynergy09:50
neuro:)09:50
directhexneuro, synergy09:55
directhexoh, wait, you foudn it09:55
neuro:)09:55
neurothanks anyway!09:55
neuroah crap, trackpad batteries nearly dead :(09:58
neurohmm brand new batteries ... "Trackpad battery level: 83%" ugh.10:00
=== MonsterKiller_ is now known as MonsterKiller
=== ikonia_ is now known as ikonia
neurooh, netsplit10:28
neurothought my broadband had borked10:28
MartijnVdSb0rkband11:58
popeyGood moaning.11:58
MartijnVdS\o popey11:59
SuperMattword.12:07
SuperMatthardly morning though, popey12:07
MartijnVdSSuperMatt: he's probably a bit lagged12:07
SuperMattyes, I guess you're right12:08
MartijnVdShttp://teespring.com/negativefeedback12:09
=== Pendulum_ is now known as Pendulum
dwatkinsI'm still not sure if Dave from EEVblog was right about his Flux Capacitor t-shirt or if he shoudn't have sold it [for money].13:00
dwatkinss/money/profit/13:05
* penguin42 wishes debootstrap would install apt by default in the 1st stage13:24
penguin42ah, so much better - bash, sanity13:33
DaraelI've had an issue - for a while, now - that appears to be triggered by the Programmer Dvorak keyboard layout.  I'm pretty sure it's some kind of bug, and it's been present in at least the last four releases.  Does anyone know what the best package to file a bug with is?13:58
Darael(Yes, I'm "anyone"-ing.  Sorry.)13:59
popeyDarael: depends where the bug manifests itself14:10
popeyDarael: what happens?14:10
bigcalmGood afternoon peeps :)14:55
MartijnVdS\o14:56
diddledano/14:56
MartijnVdSanother week, and I'll be on your side of the water :)14:57
popeyyo15:04
* penguin42 wonders if there are any SDL e-reader things for e-readers - touchscreen etc15:12
dwatkinsThere's apparently nupdf, which miht go some way to achieve what you're after, penguin42 - SDL PDF reading.15:30
penguin42ooh thanks - the android thing on this nook is crap15:31
dwatkinsno idea if it'll cmopile etc. but I'm sure it'll be fun finding out.15:31
penguin42anything will compile with a large enough hammer15:49
diddledanfor various definitions of compile15:50
penguin42nod15:50
diddledancompilation is like schroedinger's cat15:51
penguin42you only know if it worked when you try and run it?15:52
diddledanyup15:52
diddledanuntil you run it it's both correct and bad at the same time15:52
diddledanand neither too15:53
diddledanmy sister in law can't get her head around the concept - she just complains it's cruel on the cat15:53
penguin42well it might be, it might not15:54
diddledanlol15:54
penguin42diddledan: My experience is that compilers can maintain the wave function past running; especially on multithreads15:56
diddledanyeah, I can appreciate that15:56
MartijnVdSpenguin42: Schroedinger's Compiler?16:28
diddledanI've got an idea for an irc-to-jabber-and-back-again daemon which allows for full interaction between irc users and jabber MUC users with neither side necessarily being aware that the other exists (i.e. NOT an XMPP "transport", and independant of any specific implementation of IRC/XMPP servers). My question relates to people's opinion of what a suitable language would be to write it in which allows for multithreading/processin16:28
diddledang for better scalability than single-threaded implementation16:28
MartijnVdSWell, that's python out ;)16:29
MartijnVdSone of the Jabber daemons is written in erlang16:29
diddledanyeah, that's ejabberd16:30
MartijnVdShence the 'e' ;)16:30
diddledanI was thinking about going that route, but I know nothing about erlang16:30
MartijnVdSyeah I know the problem16:30
MartijnVdSyou could start with Python or Perl (yes, it does threads now)16:30
penguin42diddledan: C16:30
MartijnVdSpenguin42: C + threads = lots of thinking about threads16:31
MartijnVdSpenguin42: and not much thinking about code16:31
diddledanpenguin42, I figured that might be the case16:31
penguin42MartijnVdS: Shrug16:31
penguin42diddledan: C+pthreads in particular16:31
MartijnVdSPerl's threading has grown up in recent years16:31
MartijnVdSand speed isn't bad16:32
=== Greg__ is now known as piratorama_tech
redtapeOT | Anyone still trying to use the Auction sites today ((??)) .. I is Still tryin' to find a UK version of these .. that elusive bit of metal grill http://bit.ly/15izrvm :: Perhaps I should have given bettr instructions for you to XD my ass?18:31
^Snake^Looking for info on how long Terminal should take to partition a drive ?18:57
diddledanpartitioning is very quick. putting filesystems on the resulting partitions will be slower and resizing/moving existing filesystems will take forever and a day depending on how big they were beforehand18:59
diddledanbut Terminal doesn't do any of that itself.19:01
^Snake^what I have, an old 160Gb HDD with a 10Gb hidden Recovery partition, the Recovery partition is what I am trying to copy over to a new 500Gb HDD19:01
^Snake^Terminal seemed to cause the hard drive light to go crazy for 5 mins, now it's quiet, rarely lighting up19:02
^Snake^From reading sites, terminal shows as busy, the "ubuntu@ubuntu" has not displayed yet, showing it's finished19:02
^Snake^that was about an hour or so ago19:02
^Snake^the partition is 10Gb, but only has about 6.8Gb in use, is there any way to find out how much has been copied, or how long is left?19:05
diddledana bit of background on Terminal - that is an application which runs an interface for a "shell". the "shell" (bash usually) is an interface to running programs, but doesn't do anything itself. The command that you entered into bash is what is doing the work, not bash nor Terminal. So, what was the first word of the command you typed, as that is the program doing the work?19:05
^Snake^the line I typed into Terminal "dd if=/dev/sdb1 of=/dev/sda1 bs=1M"19:07
penguin42^Snake^: I'd expect that to take a reasonable amount of time19:07
^Snake^ok, am I looking at 2, 3, 4 or more hours, it's at least an hour or so ago it started?19:08
diddledanok, so you're using the "dd" program to copy from the first partition on disk 2 to the first partition on disk 1. You can get a readout of how much data it's copied by opening a new termianl and running the command "killall -USR1 dd"19:08
penguin42^Snake^: How big did you say the disks were?19:08
penguin42^Snake^: I'd expect it to be able to do at least 100GB/hour on a modern machine19:08
diddledanbe very careful with that command tho, because without the -USR1 or with something other than -USR1 it will stop the dd program in it's tracks19:09
diddledanso you'll have to start it again19:09
^Snake^New HDD 500Gb, old HDD 160Gb, the partition is 10Gb, but only uses approx 6.8Gb of data19:09
penguin42yeh I'd expect that to be just a few minutes for a 10GB partition19:10
^Snake^when I click the X, Terminal says there is still a process running, & from websites, it says when it's done, the prompt should read as "ubuntu@ubuntu:~$"19:11
^Snake^so far, it's just a flashing cursor19:12
^Snake^ok, opened another Terminal, typed in the command @diddledan said, "Operation not permitted"19:14
diddledanyeah, you might need to run it with sudo19:14
diddledanif you ran dd through sudo then you will19:15
diddledanin which case it's `sudo killall -USR1 dd`19:15
^Snake^if I run it with "sudo" I get no response, just a new line, if I use it without sudo, I get the "Operation not permitted. dd: no process found"19:16
diddledanthe output will be on the window where you're running dd19:17
^Snake^no change in original Terrminal, or the new one19:17
diddledansounds like dd has hung then19:17
^Snake^how to fix it?19:17
^Snake^should I click the X on the original terminal window, then ok to the warning about killing the active process?19:19
diddledantry forcing dd to close by going to the terminal where it's running and pressing ctrl+c together - if it quits it should tell you how far it got, and if it doesn't quit you know something went wonky19:21
^Snake^if I CTRL + C, all it does is "^C"19:22
diddledanok, that indicates that dd got stuck and can't quit on it's own19:22
diddledanwe can force it to die painfully by running in the other terminal the command `sudo killall -9 dd`19:23
^Snake^will that damage the old or new hard drive?19:23
diddledanit won't affect the /dev/sdb1 (where you're copying from) but it may leave /dev/sda1 (where you're copying TO) with an incomplete image of the source partition19:25
penguin42diddledan: Although if it's a dd that's stuck it's probably stuck on IO and might not die19:25
diddledanpenguin42, didn't think of that19:25
^Snake^I should be able to delete the partition if that is the case, without any problems?19:25
diddledan^Snake^, you can delete the partition, yes, but that doesn't delete any data off the disc, so there isn't really any need to do so unless you're wanting to use the space for something different19:27
diddledane.g. a differently sized partition19:27
^Snake^ok, killed the process, started up gparted, the partition is there, shows as 10Gb, but not used or unused, & flagged as possibly no file system19:30
diddledantry running `sudo fsck /dev/sda1` in a terminal and see what it says19:31
diddledano_O penguin42 what happened to the ntfs-utils (or was it -tools?) package which supplied fsck.ntfs?!19:33
^Snake^Superblock invalid, bad magic number in super-block19:33
penguin42diddledan: I don't know - never done ntfs stuff19:33
diddledanhmm19:33
diddledanok, superblock invalid suggests that the copy didn't complete before it got stuck19:34
penguin42that suggests it failed early - superblock is normally fairly early19:35
diddledanindeed19:35
^Snake^in Windows Vista / Computer Management, it showed the partitions as C & D Drive partions as NTFS, but the Recovery partion (1 = Recovery, 2 = C, 3 = D) as EISA Configuration19:35
^Snake^that is from the old hard drive19:36
diddledanthat's normal19:36
diddledanprobably type 1219:36
diddledanpartition type 12 I mean19:37
diddledanit's probably still ntfs19:37
^Snake^I'm really new to using Linux, the codes supplied on 1 website wouldn't work, so instead of copying all the partitions, I just created a single 10Gb partition, then used Terminal to transfer the data19:37
^Snake^is that a valid way to do it, or should I use some other method.19:37
^Snake^the website was refering to using the same size hdd for the old & new, but mine are way differernt in size19:38
diddledanmy preferred way to ensure that you get everything would be to boot from the ubuntu install disc and run the dd with the old disc and new disc without any 1/2/3.. suffixes so that you copy the whole disc (it doesn't matter that they're different in size as long as you're copying from the smaller to the bigger). then once that's done I'd shut down and remove the old disc and then run the ubuntu installer to install ubuntu onto19:41
diddledansome of the unoccupied space (or run gparted to mess about with partition resizing first)19:41
^Snake^the whole reason for the transfer, the old drive spectacularly crashed last weekend, could not access windows, had to reinstall, install failed, bought new drive19:41
diddledanaha, that sounds suspiciously like you'll not be able to get anything off it then19:41
^Snake^I have the old drive in an external caddy, transfering data of 3rd partition (D Drive) is working perfectly19:42
^Snake^"...data of 3rd..." is "OFF 3rd partition"19:43
n1md4hi.  just did a do-release-upgrade.  it seemed to work but i ran out of disk space whilst updating initrd. I freed some space, and ran an upgrade, and rebooted.  now I get this message on boot http://pastie.org/pastes/7805603/text19:44
diddledanensure you get all your data off the data partition before you do anything else so you know you've got everything sentimental19:44
^Snake^I know the "C" partition is not installable, but it looks like it can read & write to, definately the same with "D"19:46
^Snake^I will be removing the last of my personal data later, is there a utility to test if the hidden (Recovery) partition is also damaged?19:47
diddledanonce you've got all your photos etc safe you can try resurrecting windows again by copying the recovery partition in the same way you tried already - a nice way of watching it's progress and determining if it's hung is to run in a second terminal the command `watch sudo killall -USR1` which will run the sudo killall every 2 seconds so your dd command should output it's progress every 2 seconds in unison19:47
diddledanif you had a windows cd/dvd you might be able to get into a recovery console to run chkdsk on the recovery partition19:48
diddledanI'm thinking that you're missing the required package to check the data in linux/ubuntu (if you have it there will be a program called /sbin/fsck.ntfs which you could run - e.g. `sudo fsck.ntfs /dev/sdb1`)19:50
^Snake^I have the Recovery Console in the Hidden Partition, as well as on DVD, but it's a Samsung Recovery Solution Disc, it only gives you 2 options, install full, or install basic windows files.19:50
diddledanif you've got a dvd which will reinstall windows then I would contend that it is a duplicate of what's in the recovery partition with nothing extra in the latter so you can probably ignore the recovery partition entirely and not bother copying it19:51
^Snake^"/sbin/fsck.nfs"19:51
^Snake^the DVD doesn't install the same way as the Recovery Console on the HDD19:52
diddledantypical :-/19:52
diddledanthat sucks19:52
^Snake^using the hdd version, I can make my own backup as well, the default won't even work, from the CD/DVD, unless the hidden partition is on the drive19:53
^Snake^what is the code`sudo fsck.ntfs /dev/sdb1` to be used for19:54
^Snake^?19:54
diddledanif you have the program /sbin/fsck.ntfs then it will check the recovery partition on the old drive to see if there's any problems with it19:55
^Snake^ok, the file I found is fsck.nfs is that the same ?19:55
diddledanno, unfortunately not19:55
^Snake^I'm using "Ubuntu 12.04.2 LTS" as a Live CD19:56
^Snake^afk, bbs19:58
diddledanooh, the fsck program is replaced with /bin/ntfsck - so run `sudo ntfsck /dev/sdb1` to check the consistency of the recovery partition20:01
^Snake^back, ok20:14
^Snake^I still have the 2 instances of Terminal up, in the first or second?20:15
diddledanit doesn't matter which one20:18
^Snake^ok20:19
^Snake^says "bad jump" & "bad NTFS Magic"20:24
^Snake^& running that code on sdb2 (C Drive) shows as "Volume is dirty" ???20:25
^Snake^"Unsupported cases found" what does all that mean ???20:27
^Snake^I've just asked my daughter for her hard drive, her laptop is identical make, model, version & production date, so hopefully I can copy the hidden recovery partition off her computer20:28
diddledanbad jump and bad ntfs magic either means that the sdb1 partition is hosed and will be difficult to recover OR that the filesystem isn't ntfs20:28
diddledanthe volume is dirty means that there are possibly errors on the c drive and a more thorough check is required. unsupported cases found I'm unsure what that means20:29
^Snake^in Ubuntu, the hidden is listed as Unknown, but in Windows Vista, it's EISA Configuration20:29
^Snake^ok, thanks20:29
diddledanexcellent idea, having your daughter's disc to copy the recovery partition is probably the most reliable way to get the thing intact20:30
mungbeanwhat happens if u use all your data on giffgiaff?20:31
diddledanmungbean, the internet implodes? :-p20:31
^Snake^ROFLMAO.........20:31
^Snake^yeah, I was hoping it's just a problem with the way I was trying to copy, but I'll use her computer & run the same tests first, then try to copy the partition20:31
^Snake^if you use all your GiffGaff data, you are stuffed20:32
^Snake^until you purchase another topup20:33
^Snake^GiffGaff is NOT a good network20:33
diddledanno more data causes the internet to stop expanding and potentially start contracting until it forms a singularity20:33
^Snake^@diddledan, brilliant :-D20:33
diddledanso, for the love of all things, please don't use all your giffgaff data. the survival of humanity depends on it20:34
mungbeanhmmm20:35
mungbean7.50 one isnt showing20:35
mungbeanGG is excellent20:35
mungbeanwhy the hate?20:35
^Snake^my daughter & mom use it, it's NAFF20:36
^Snake^anyway, back to Linux/Ubuntu problems, in Wind(bl)ows, I have to use that Green tick icon to remove the external drive, what do I use in Ubuntu ?20:37
diddledanif you're not accessing the drive in any way (mounted filesystems) then you can just unplug. if you have a filesystem accessible then you can eject the disc by opening the file manager and clicking the eject icon next to the partition/disc's name20:39
mungbean^Snake^: u know its o2 right?20:40
^Snake^yes, I do20:40
diddledanor if it's shown on the launcher down the left-hand of your screen then you can right click that and click eject20:40
^Snake^it only shows when I click on the Home Folder, inside that, it shows as 2 (C & D Drives) USB Icons with the Drive Labels20:41
^Snake^D Drive had an eject icon, I clicked that, so now if I close the Home screen, I should be able to just remove it now?20:42
diddledanyes, it should be safe now20:42
^Snake^k tks20:42
mungbeanah, 7.50 goodybaf from 14th may20:47
Myrttiso, has anyone had a look at Wheezy on Viglen?20:51
Myrttiis it even possible?20:51
diddledanhmm? wheezy on viglen?20:57
Myrttiie. new Debian Stable on Viglen MPC-L20:57
diddledanaah20:57
^Snake^ok, transfered daughter's hdd into caddy, ran "sudo ntfsck /dev/sdb1" it says "Unsupported: replay_log()", "Unsupported: check_volume()", & "Unsupported cases found", but nothing is listed as bad21:09
diddledanyou should be able to just copy the partition without any problems from your daughter's disc21:12
^Snake^ok21:12
^Snake^I had a look at the code from the website earlier21:13
^Snake^the code they said to use to do the partitioning "dd if=/dev/sdb of=/dev/sda bs=512 count=1" however, when it comes to transfering the data "dd if=/dev/sdb2 of=/dev/sda2 bs=1M"21:14
^Snake^the bs=512 or 1M, that is to do with sectors, why the diff between 512K & 1Mb?21:14
shaunoI think 512 bytes, not k, because that's the size of the mbr.  which is why count=1 too21:15
^Snake^ok21:15
diddledanthe first command copies the partition table - the count=1 tells it to copy exactly 1 block of 512bytes (as shauno suggests)21:15
directhexMBR partitioning reserves the first 512 bytes of the disk for the partition table and the boot loader. hence bs=512 count=121:16
directhexfor actually transferring a bunch of data, you want bs (block size) to be a reasonably large number, so you can take advantage of things like disk cache21:17
directhextransferring 1 byte at a time is sloooooooooooooooooooooooooooowwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww21:17
^Snake^ok, I've just had a look at the Drive info, the drives (old & new are both 512 Sector Size), does it matter what the "bs=" on the second line of code?21:18
diddledan_hmm, my other machine seems to be hanging21:18
^Snake^my irc client dropped me earlier, I still can't get in on my registered ID21:19
diddledan_the bs= on the second line makes the reads more disc friendly - 1M should yeild quite a speed increase over 512 for large reads21:19
^Snake^when I bought the new HDD, it is listed as 16Mb cache21:19
shaunoI'm actualy not sure how you figure out the optimal block size for copying.  I get the logic that eating one pea at a time takes years, but trying to swallow a steak whole you just choke.21:22
diddledan_mm, steak, now there's an idea21:25
^Snake^I like your train of thought ;-)21:30
^Snake^I have been known to eat food quickly, LOL21:31
diddledan_I'm a fast eater21:31
^Snake^Don't you just hate a meal going cold before you've finished21:32
diddledan_heh, irony of ironies.. been helping you, ^Snake^ with your hard disc failure. I think mine has just died on my desktop computer21:42
diddledan_hard disc death day21:43
^Snake^lol, not good21:44
^Snake^I can be "problematic" though21:44
^Snake^I "watch sudo killall -USR1" & wondered W(hy)TF nothing is happening, forgot the "dd" at the end, DOHHH!!!!21:45
redtapeOT | Who thinks the Loco meetsy needs an evening like this one ? http://bit.ly/129Gpgk ::::::  Semore ? [rand.Xdesign/Europe Day]21:58
^Snake^well, that was fun, it looks like it's knackered my daughter's recovery console :-(22:31
diddledan_it shouldn't have touched your daughter's disc22:43
^Snake^I used "dd if=/dev/sdb of=/dev/sda bs=512 count=1"22:44
penguin42that would be a bad idea depending what the sda and sdb are22:44
^Snake^the external, daughter's hdd is sdb 160Gb, internal sda 500 Gb22:44
penguin42^Snake^: Thus you have learnt the importance of being careful with dd22:45
^Snake^I just used daughter's hdd back in her computer, it still loads windows ok, but the recovery solution sits & does nothing in bootup, but in windows, only gives option to basic or full restore, no option to make a backup22:47
^Snake^the code I used supposedly transfers a copy from external to internal, but I've just doublechecked everything I typed, it's exactly as the code on the website, so I don't know why it's overwritten with nothing?22:48
penguin42^Snake^: Be careful the sda and sdb are pretty dependent on the hardware and sometimes flip at each boot22:50
^Snake^is there anyway to restore it, or undo ?22:51
penguin42not if you've overwritten but I think that data is generally retrieavable - I'm trying to remember if that 512bytes includes partition table22:51
^Snake^is there a partition recovery program I could use ?22:57
penguin42is it a dos style partition table - I guess so on the small disks22:58
^Snake^dos style ?22:58
penguin42^Snake^: Normal BIOS partitions, not fancy EFI stuff22:58
^Snake^basic partition, not an extended, if you meaning that type22:59
penguin42no, but ok, not tried it but you could try testdisk - sounds promising22:59
=== aaronr1 is now known as aaronr
redtapeHave last rollie before you go to the land of Angletere's they said, it'll be fun they said.23:22
redtapeDamn ! on patches and spit nicorete spray till Thurs. ... just hope my 'Not one puff' policy around distant family doesn't run into a distant Auntie  havin' a stoggie round the back of the lav's23:25

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!