[00:43] does anyone know an algorithm to detect sequences when the input has error? [00:43] eg given the sequence 012345012345012345 and i want to split it on 0 [00:44] but sometimes the zero is a 2 instead [00:44] and sometimes there's randomly a 9 in there for no reason [00:50] hat are you processing the input with, ali1234? bash, C, perl? [00:50] python. not that it matters [00:51] that was only an example [00:51] the real thing is more complex [00:51] but in the end i have a sequence of numbers where the errors are extremely easy for ahuman to spot [00:51] I guess you'd have to process it character by character and compare each one in turn to the previous one. [00:52] it would probably be a single line of bash with {i:j:1} syntax [00:52] each character has to be looked at in context [00:52] it has to handle a string like 01234501121301230012341234 [00:53] that should return 12345,1,12,13,123,,1234,1234 [00:53] oh and it also has to handle 12354 and return 12354 as a single unit [00:53] not 1235,4 [00:54] there are ambiguities [00:54] so there needs to be a weighting system that decides whether the sequence has gone over the threshold of starting a new substring [00:54] now, i could sit and write an algorithm to do this [00:54] but it usually turns out someone already did it [00:54] hence the question [00:55] the substrings here are about 26 bytes long [00:55] sometimes a few bytes will go missing [00:56] sometimes extra random garbage is added [00:56] $ echo "01234501121301230012341234" | awk -F '0' '{print $1" "$2" "$3" "$4}' [00:56] sometimes both happens and it is the right length but in the wrong order [00:56] splitting on 0 is not an option [00:56] sometimes the 0 gets lost [00:57] the only rule is that the substring will mostly increase at a linear rate [00:57] ah, so each section consists of increasing digits? [00:57] and be approximately 26 bytes long +/1 about 3 bytes [00:58] it doesn't only consist of increasing digital [00:58] sometimes there might be an incorrect 0 in the middle of it [00:58] it may go 0123406789 [00:58] the second 0 there is obviously meant to be a 5 [00:58] i need the algorithm to figure that out too [00:58] I suspect you're just going to have to process it character by character, comparing each one to the previous one [00:58] comparing to the previous char is not enough [00:59] it might go 0123430789 [00:59] I'm confused as to what the sequence is,. [00:59] it's just a sequence of bytes [00:59] from 0 to 26 [00:59] I mean what the rules are. [00:59] there are no rules [01:00] the corruption is random [01:00] what about when the numbers are right? [01:00] the rules of the original signal are simple. you just split whenever you see a zero [01:00] what is correct? [01:00] correct is 0, then 25 of any other byte [01:01] however in practice it is nearly always 0 then 1-25 [01:01] the corruption randomly removes, inserts, and shuffles any bytes, including the 0s [01:05] maybe i can do it in two passes [01:05] any character 1 more than the previous and 1 less than the next is assumed to be correct [01:05] then work backwards to figure out what is up with the others [01:06] the problem is with rewinding the algorithm [01:07] did i mention the sequence is approximately 440000 characters long? [01:13] oh my [01:38] when i create a new user on my server i use {sudo chmod 0750 /home/username} to allow privacy. how do i extend the same privacy to the base system files. My concern is that users can traverse, list and read the base system files such as /etc or places where ssh keys are stored. It this normal nominal securty? [01:39] oh dear it's been a long night let me try that again. when i create a new user on my server i use {sudo chmod 0750 /home/username} to allow privacy. how do i extend the same privacy to the base system files? My concern is that users can traverse, list and read the base system files such as /etc or places where ssh keys are stored. is this normal nominal securty? [01:46] daev: I like how you said the same thing twice, but only changed 2 characters ^_^ (the '.' -> '?' and "It" -> "is"), I'm sure others knew what you meant :) [01:47] ali1234: if I could remember the name of such an algorithm, I'd help you find one... but sadly my memory is failing me on that one. [01:49] ali1234: I have an interesting question for you... have you noticed using the fullscreen hack you made for the browser... that each time you load up chrome, it says "Would you like to set chrome as your default browser?" despite the fact that it already is the default browser... [01:50] if I take away the preloader for your library, it doesn't ask this... but if you add it in, it does... its rather odd [01:50] do you think its because a checksum is failing somewhere... or just chrome genuinely being stupid [01:53] daev: I think you need the linux hardened channel or 'SE Linux' for that. [02:26] dwatkins: you mean #selinux ? [02:26] or possibly just simply ##security [02:27] I love alis, she lists channels so nicely :) [02:31] right, missed torchwood this week... time to watch :) (thanks get-iplayer!) [02:33] oh yeah, forgot that was back, ta [02:44] heh ^_^ [02:44] currently on episode 6 at the moment [07:12] good morning everyone. [07:20] hi brobostigon [07:21] hi MartijnVdS [07:22] * MartijnVdS has a fresh pot of Darjeeling tea [07:22] yummy. [07:22] * brobostigon has fresh coffee [08:08] Morning [08:08] morning popey [08:08] \o popey [08:21] Moring [08:21] Morning, even [08:21] Mooring ;) [08:23] morning mgdm [08:41] http://i.imgur.com/W694w.jpg <-- water rabbit [08:42] yes, that's what my head needed at 9am on a weekend :( [08:44] funny feeling I'm going to be stuck in windows for much longer than I planned on - http://dl.dropbox.com/u/23042/awhile.png [08:44] Apparently, you should visit swtor.com :) === denny- is now known as denny [09:43] morning all... if I'm doing a dist upgrade from maverick to natty, can I tell it *not* to uninstall certain packages? my gf wants to stick with openoffice for now, as she has a heavily customized setup, but the installer removes it [09:44] andrewclegg: i doubt she'll notice much difference [09:44] andrewclegg: but google "apt pinning" [09:44] https://help.ubuntu.com/community/PinningHowto [09:45] actually when she went from 10.04 to 10.10 it blew away lots of her settings, and that was OOo -> OOo ! [09:45] but thanks, I'll check that out [09:46] http://wiki.debian.org/AptPreferences [09:47] I'm thinking Holding rather than Pinning, because OOo and natty's LibreOffice are distinct packages... right? [09:47] well I'll test it and see [10:26] omg, I just notices on Oneiric: [10:28] if you minimize a window, a bright "flash" goes around the icon [10:28] It sort-of looks like it's licking its lips after eating something (it's just a bright flash, but the movement looks like that :) [10:30] and this is why I'm a fan of the dutch stance on recreational drugs ;) [10:30] shauno: no really! [10:53] Hehe === duanedes1gn is now known as duanedesign [12:10] hello , i need help. [12:10] i've litte problem with Ubu. [12:24] what is it [12:35] my Ubuntu not work ...., im run Ubuntu from Live CD and type in termina "sudo mount /dev/sda5 / && mount /dev/sda6 /home" , so later i type "/sudo gedit /etc/modprobe.d/blacklist.conf " , and a'm trying to blacklist sp5100_tco drive. I click SAVE.... but after reboot not working , a'm again loock to blacklist.conf , and this driver is not blacklister ( not saving) What i wrong do?. [12:36] driver* [12:38] i've SP5100 TCO time : mmio adress 0xfec00-00f0 in use , none guidance in the network does not help me, how to fix it, or what U do something wrong. [13:00] pure: why do you need to use the live cd? [13:01] becuasde my OS dont boot... [13:01] so i try repair it from Live CD. [13:01] you need to blacklist the module to fix it? [13:02] google and ubuntu forums talk : "yes" [13:02] http://ubuntuforums.org/showthread.php?t=166624&page=2 [13:03] create a new file called blacklist-local.conf in /etc/modprobe.d ? [13:03] and put your blacklist line in that? [13:03] but i do it from Live CD, because from HDD cannot wirte commands....-.- ( blackscreen) from CTRL++ALT+F1~F12 cannot write commands [13:04] yup , nothing work [13:04] what do you mean "nothing work" ? [13:04] i'm not have any idead [13:04] did you try creating a new file ? [13:06] after select OS from boot i'm see only black screen with "_" in left top..... [13:06] pure, can you boot into recovery mode [13:07] not [13:07] stop in 8 sec [13:07] 7.1 [13:08] [7.1XXXXX} SP5100 TCO timmer: mmio adresss 0xfec000fo in use [13:08] big bang! [13:09] big bang? [13:09] big bang - big boom [13:10] As in, you computer literally exploded? [13:10] my os exploded huh :D [13:11] what kind of hardware do you have? [13:12] PC / CPU AMD Athlon 245 X2 X64 , GPu: gf nv250GTS DK1G , 6gb ram ddr3... :P [13:12] hdd over 3tb [13:12] hdds* [13:13] I don't know athlon numbers, but you might need UEFI if your startup disk is >2TB, I think [13:14] No no i have 3x 1tb + 1x 80gb [13:14] ah [13:14] when i create a new user on my server i use {sudo chmod 0750 /home/username} to allow privacy. how do i extend the same privacy to the base system files? My concern is that users can traverse, list and read the base system files such as /etc or places where ssh keys are stored. is this normal nominal securty? [13:14] when ubuntu is in 80gb hdd :D [13:14] daev: the SSH private key is already protected [13:14] daev: it's only readable by root (check "ls -l") [13:14] how? [13:14] daev: -rw------- 1 root root 1679 2011-08-04 18:26 ssh_host_rsa_key [13:15] my ubu dont loading splash.... idk why! , why he do this! ;( [13:15] pure: Which version of Ubuntu are you trying? Have you tried a different version? [13:15] pure: Are you starting from CD? From USB stick? [13:15] 11.04 ^^ [13:16] um trying to repair from Live CD , and Ubuntu has been installed from CD. [13:16] but if the live CD doesn't start, it sounds like the CD is broken [13:16] No no...i;m trying to boot from HDD [13:17] Grub is loading ... itks.. omy when i select " Linux ubuntu ........ -pae" ... i'm see only "black screen' and white "_" on left top and nothing more... [13:17] Uhrm.. you just said you were using the live CD [13:17] to repair... [13:18] Are you using the live CD to start (and repair) or are you booting from the HDD? [13:18] Does the live CD work? [13:18] becuase i;m must editing files from /dev/sda5 ( "/ " [13:18] Live work... men! .... [13:19] My Ubuntu is creazy! , yesterday on midnight working! , today not working... [13:19] !pm > daev [13:19] daev, please see my private message [13:19] "SP5100 TCO timer: mmio address 0xfec000f0 already in use".... and Ubuntu not starting... [13:20] pure: Yes, you've said that before, you don't have to keep on repeating [13:20] apologies lubotu3 & MartijnVdS, i was unaware of the protocol [13:20] I just checked what you said and that's true. ssh_host_rsa_key.pub is readable and has roots key in there. but root should be disabled so that's ok. otherwise.... is it ok for users to have free roam of reading system files? I know a portion of them must be readable for certain services to work properly for the user. but is there anything a rogue could use to breach security? [13:21] daev: no, /etc/ssh/ssh_host_rsa_key.pub is the server's key [13:21] daev: wait. [13:21] Becuase all possibles of repairs in Google not helping me ..... so , now i dont know how to repair it [13:21] daev: .pub are the public keys, those are public -- look up public key cryptography -- the private keys (without .pub) are not readable by normal users, only root. [13:22] pure: Are older kernels listed in grub? Have you tried one of them? [13:22] not [13:22] i've only one kelner :P. + recovery [13:22] pure: OK, did you do anything that might have caused this? [13:22] Did it ever work? [13:23] pure: You could try this page: https://wiki.ubuntu.com/DebuggingKernelBoot [13:23] Not , omly only turn off PC , and go to Sleep.... when i'm get up and power on my PC... i got this messanges [13:24] pure: it could be a hardware problem, I don't know. You could try resetting the BIOS to defaults, I guess [13:24] MartijnVdS, thanks for clearing that up for me. not to insult the devs intelligence but is there anything to be concerned about is a user goes looking thorugh /... to find information. could it lead to a breach? [13:25] -i'm sure it's very secure from default. but if i am missing a step i'd love to know thanks :( [13:25] :)** [13:25] daev: The default permissions are considered "safe" (private keys for everything are unreadable) [13:25] daev: but if you really want to, for some daemons, you can make them more strict [13:26] But it also contains useful information for users -- and config files that are read when they log in, for example [13:27] i didn't want to go into chroot incase it prevents services from being used correctly without faff. is default security enough to keep then from finding a way to trick the system do you think? thanks [13:27] daev: It really depends -- are you going to provide shell accounts to the general public? [13:27] daev: or just some friends/coworkers? [13:28] very good point :) [13:29] Also, don't forget to keep your security patches up to date [13:30] no. if any guest accounts were given they would be very restricted. but my concern is any users who, although have no SUDO rights, might try to violate the server some day. Thanks for the advice, i'm always concious of sec patches [13:31] daev: those users will always exist, and you'll want to look at "hardening" in that case [13:31] daev: also, something like logwatch that emails you "strange" (or unexpected) log messages (if they are found) every night [13:31] is hardening the terminology used by the scene? [13:32] that sounds useful, thank you [13:32] daev: Hardening is used by the security people [13:32] daev: https://wiki.ubuntu.com/Security/Features [13:32] daev: https://wiki.ubuntu.com/Security/Features#Userspace_Hardening [13:32] MartijnVdS, it's always a pleasure to speak with someone who's in the zone, thank you. [14:12] hi [14:13] \o GirlyGirl [14:50] wondering if the touchbook will be dirt cheap in the uk...not likely :( [14:50] touchbook? [14:51] yeah,the awesome tablet hp just canned [14:52] in the states i've heard of reductions from $400 to $99 [14:54] touchpad [14:58] yeh I was hoping for that to be cheap - I'm sure it can't be hard to squeeze Android or Ubuntu onto it [15:01] they seem to be down to 291 - but you can get other similar spec tablets for less [15:09] * penguin42 wonders how I tell G+ suggestions I really am not interested in adding someone [15:09] I block [15:09] czajkowski: Well I haven't added them to any circles, so I don't need to block - but I just want to influence the suggestion [15:10] ah, select the victim and click remove [15:18] penguin42: where are they 291? [15:24] Afternoon [15:27] can't work out if this guy is deliberately trolling: http://www.amazon.co.uk/review/R17B5Q1XPFEOH0/ref=cm_cr_pr_cmt?ie=UTF8&ASIN=B004TB0EXY&nodeID=&tag=&linkCode=#wasThisHelpful [15:28] gave the eee pad 1/5 because it doesn't run MS software [15:30] sounds like a valid point to me. I mean, who doesn't use publisher?! [15:30] it is a completely valid point [15:31] but complaining about it is about as useful as me complaining about unity [15:31] 99% of people don't care [15:31] they only want facebook and youtube [15:31] and, the android youtube app is massively better than anything else [15:32] these new UIs are great if you only want to go on the internet, listen to music, and look at pictures [15:33] they are worthless (all of them) if you want to do anything productive [15:33] but it isn't a problem because most people never do anything productive [15:33] it's only a problem for the minority that does [16:11] czajkowski: thanks, looks like it's working at last :-) [17:12] hmm, I just logged out of my system, and logged back in again... and on logging out I noticed "I/O error" or something along those lines (it flashed very quickly, so didn't get chance to read it...) [17:13] where are those kind of messages stored? [17:13] (log file wise) [17:13] so I can see what's up... [17:13] dmesg [17:13] Might have some info [17:14] You may have luck with /var/log/messages [17:14] wow, looks like there's a lot of bad stuff on here [17:14] :( [17:15] "2:3:1: cannot get freq at ep 0x82" [17:15] Time for a new drive and back up what you can while you can [17:15] "sd 12:0:0:0: rejecting I/O to offline device" [17:15] "Buffer I/O error on device sde1, logical block 7306752" [17:16] Yes, that's not healthy [17:16] I don't even know which one sde1 is [17:16] Might be an SD card or such? [17:16] Or an external disk [17:17] no SD card reader on this thing [17:17] A USB drive? [17:17] and no external drive plugged in [17:17] opening up gparted to see if I can work it out from there [17:18] (also, gnome panels hasn't loaded up for some reason - good thing I've got terminal set to a mod4+T) [17:18] I don't have any sde devices... [17:18] interesting... [17:18] could that be why I'm getting errors? [17:20] *shrug* [17:21] http://www.hazrpg.co.uk/ubuntu/dmesg.txt [17:21] so glad I'm use to using the terminal a bit more, cos that's the only thing I've really got access to at the minute :P [17:22] I think that should have copied over right [17:24] not quite understanding what the /var/log/messages stuff means [17:25] seems like the same happens each time I reboot the system [17:25] oh wait, heh wrong system [17:31] the dmesg.txt is the right system however [17:32] i wish i understood what any of that means [17:38] sr0 is usually the CD/DVD drive correct? [17:40] hmm, I just realised, sde would have been when I plugged my phone... [17:40] that means the SD card in my phone needs replaced :( [17:51] How long have you had the card in your phone? [18:02] [Andrew] Creative ZEN Stone Tango Icon - http://whyareyoureadingthisurl.wordpress.com/2011/08/20/creative-zen-stone-tango-icon/ [18:25] I've just realised I still have those files from the Global Jam we did of installing natty [18:26] On your phone? === ricco is now known as Guest44944 [18:45] if i acidentally deleted a file while firefox was downloading it, can i undelete it? [18:45] firefox still has the fd open [18:45] but the link in /proc shows (deleted) [18:45] can i do some hardlink trickery or something? [18:47] you can try cp /proc/whatever/fd/whatever tosomewhereelse [18:47] i'd have to catch it exactly when the download finishes [18:47] ut before ff closes the fd [18:48] http://www.barricane.com/undelete-open-file-from-inode [18:48] :) [18:49] ah, if i use tail [18:49] i will get the whole thing [18:49] perfect [18:50] tail -f -c +0 > whatever [18:55] paste.ubuntu.com down? [18:55] or rather, not working? [18:55] http://paste.ubuntu.com/671188/ [19:10] evening all. back home after yet another week in [19:13] evenin' all.. back home from yet another stint away [while the lucky ones were at Ogg]... only 1 extra injury [anyone know if superglue is actually *better* than stiches ;) ....but sooo quiet here tonight - so ... boo! [19:15] boo [19:17] wiggle wiggle [19:17] wobble wobble [19:19] waggle waggle (a bit late) [19:26] ;D === jtn is now known as Guest91227 [19:51] awesome, someone made a tool that rips firmwares from the nokia care server [21:33] i find it highly ironic that the software use to crack nokia phones comes with a hardware DRM device to stop people pirating it [21:34] lol [21:35] yeah people think its ok to crack other peoples software but don't want em to crack theirs [21:35] i can see the irony in that too [21:40] the most ironic part is that they thought it would actually work, given their customer base [21:41] yeah [21:42] thing is I support freedom etc but I still want to proterct my IP e.g photos, however i release stuff under creative commons [21:42] i just want to downgrade my nokia to the old working firmware [21:43] nokia won't allow it, not even with their service tools [21:43] this software claims it can do it [21:43] but we'll see [21:43] * hamitron wants to reflash his ngage qd [21:43] just so it starts [21:43] ;) [21:43] i am sure it's possible [21:43] oh it's possible [21:44] they just use doing things like that as an excuse to invalidate the warranty [21:44] the nokia service software performs the reflash but the phone won't boot after [21:44] you have to cold flash it back to newest firmware [21:44] they must have updated the bootloader with a new signing key [21:46] hamitron: what is wrong with your ngage? [21:46] white screen of death [21:46] :( [21:46] how did that happen? [21:46] it is a known fault [21:46] makes a change from blue screen eh [21:46] so... get phoenix and do a cold flash? [21:46] can't make it worse [21:47] indeed [21:47] just scared [21:47] ;) [21:47] phoenix is safe [21:47] I got a normal ngage as a spare for now [21:47] well, I need a cable I think [21:48] just the normal usb cable [21:48] no, the cable with pins to go inside [21:48] wut [21:48] i doubt you need that [21:49] from what I've read, I do [21:49] there is too much rubbish on forums [21:49] well, the QD doesn't have a USB connector either [21:50] :D [21:50] so i can assume not [21:50] how do you copy files on to it? [21:50] bluetooth or mmc reader [21:50] that sucks :( [21:51] the normal ngage has a USB connector, but that is only for writing to the MMC too [21:51] :/ [21:51] I've read I need some special box to flash it [21:51] but also seen some simple circuits [22:23] http://www.youtube.com/watch?v=IfeyUGZt8nk [22:29] still don't have my pre3. dhl are worthless ¬_¬ [22:30] yup they are [22:31] directhex: Given that HP have just canned them, that's about to be a rareity [22:31] penguin42: indeed. i am the telephone hipster! [22:39] using exim4 with dovecot (its 80% functional).. i would like to setup virtual domains with virtual mailboxes. are there any good tutorials ? [22:40] will there be lots of HP tablets going cheap now? [22:41] popey: Someone said that in the US they're going for $99 - I wish that was true here [22:41] popey: in the US. trying to find someone to do a bulk import [22:42] they were going for $99 - they are all gone now [22:42] there was meant to be a LOT of back stock to clear [22:42] wow, sshd uses up a lot of cpu when you are copying over at 11mb/s [22:43] encryption is hard, let's go shopping [22:45] oh and great i forgot to remove the / from a tab complete so rsync spewed the entire contents of that directory all over the output directory :( [23:02] congratulations on reapproval! === Hornet- is now known as Hornet