[00:00] yup, tried that [00:01] doesn't apply to the latest version [00:01] there is no music.db === xnox_ is now known as xnox === triple-clones is now known as tripleclones === jpds is now known as Guest71062 === Azelphur_ is now known as Azelphur === Lcawte|Away is now known as Lcawte === Lcawte is now known as Lcawte|Away [08:16] ... 185GB done... === zmoylan-1i is now known as zmoylan-pi [09:05] Hey popey :) Mah Dell arrived yesterday ! [09:23] morning boys and girls. [09:28] hey brobostigon [09:28] how are you today [09:28] * SuperEngineer bites tongue & withholds comments re punctuality etc. ;) [09:28] mornng knightwise [09:28] knightwise: not bad, and you? [09:29] doin ok :) Just updated the bios on my XPS13 :) [09:29] :) [09:29] its working very very well. better then I expected. popey , if you still haven't decided on a laptop , this one comes highly recommended [09:31] comes highly recommended from our residant tech journalist. [09:31] Moi ? Tech journalist ? :) [09:31] I am but a meager poor humble podaster. [09:31] :) blogger etc. [09:32] Perhaps .. but as a user i'm also very pleased with it. [09:33] :) [09:33] After i allmost melted my mac mini last time i was kinda fed up on running ubuntu on non supported hardware (not ubuntu's fault) and I was looking for something small to take with me [09:35] gonna give it a run for its money next week , taking it with me on the field [09:36] i find something similer on my nexus4, with android it tends to get extremly hot, however with ubuntu touch and sailfish, it tends to run much cooler. [09:36] knightwise: worth knowing, thanks! [09:37] you got the non-touch one though? [09:37] popey: correct. The matte screen is gorgeous, the "scaling" is just right and the battery life is like this thing is running on plutonium pallets [09:38] yeah, i want touch [09:38] That is gonna eat into your batterylife... the extra resolution is pretty awesome .. but a lot of open source apps have a hard time with upscaling [09:39] battery isn't important to me [09:39] my laptop spends more than 99% of its live on my desk [09:40] I got the extra power companion with it (1200mamp) [09:40] i saw someone take a thinkpad x1 carbon and put a proper touchpad on it with real buttons [09:40] which appeals to me [09:43] That I do miss , real buttons :( [09:43] Hated the ones on type cover of the surface pro 1 [09:44] and the one one the type cover for the Surface pro 3 ... just arent there .. at all [09:44] I should be used to it by know. Havent had buttons on the macs for years but ... i donno , feels different on a pc [09:52] * popey fiddles with ddrescue parameters [09:52] that's a LOT faster [09:52] 135MB/s vs 5MB/s [09:54] popey: Coolz [09:54] tweaky-weaky can give you some huge performance increases [10:12] there :) Surface pro 1 and Chromebook put up for sale. [10:16] \o/ ddrescue already approaching in 10 minutes what it took 10 hours to do last night === lan3y is now known as Laney === Laney is now known as Guest38885 === Guest38885 is now known as Laney === Flashtek_ is now known as Flashtek [14:18] oh god, they're teaching AIs to read by training it on the Daily Mail: http://www.technologyreview.com/view/538616/google-deepmind-teaches-artificial-intelligence-machines-to-read/ [14:42] tr -d [:punct:] <- how do i say "all punctuation except for ' (apostrophe)" [14:46] have you tried something like [^':punct:] ? [14:47] hmm, doesn't work [15:09] penguin42: https://stackoverflow.com/questions/21294466/tr-utility-add-exceptions-to-bracket-expression-punct but it's the ugliest regex I've seen in some time [15:09] let's step back a bit [15:10] I meant ali1234 ^ [15:10] what i actually want to do is take unicode on stdin, replace any number of characters which aren't a-zA-Z0-9' with a single newline, and write result to stdout [15:11] ali1234: stdin and stdout are only bytestreams. Unicode in what encoding? [15:11] moreati: Somewhere between interesting and YEUCH [15:11] moreati: utf8 of course [15:11] hmm, there are some tools that work in whatever lang is dont they? [15:12] ali1234: you'd be surprised how often people don't understand that question [15:12] actually i wouldn't [15:13] even more generally, i want to split a long text file into "words" [15:13] but filter out punctuation and unicode smilies [15:14] for example: ヽ༼ຈل͜ຈ༽ノヽ is not a word [15:14] the only punctionation i want to keep is apostrophes eg "it's" [15:20] ali1234: Could you tighten your definition of word. Do you care about internationalisation at all? Some of the characters in your example are part of a word, according to the Unicode standard. [15:21] my definition of a word is anything an american teenager might type that represents a word [15:21] What about: Café? ру́сский? 汉语? [15:22] okay [15:22] Café = yes, but unlikely [15:22] the others = no [15:22] ali1234: I'm thinking word is probably defined in the locale but I'm not sure [15:22] but it has to also match stuff like "lolz" [15:22] ali1234: Does fmt handle utf-8 ? [15:22] i dunno, what's a fmt? [15:22] ali1234: Old Unix command [15:23] lets be lazy then: regexp's \w in ASCII mode [15:23] ali1234: try piping some text through fmt -1 [15:24] kinda works [15:37] so fmt works pretty well [15:37] it splits words reliably at least it seems to [15:37] LOL....Dude, <- this is two words [15:40] ali1234: Yeh it's mostly used for splitting lines at say 70-80 character formatting, but using fmt -1 is an old trick, I just didn't know how well it worked on utf [15:41] (and when I say old trick, I'd bet at least 20 years old, probably 30) [15:42] ali1234: how close does this get https://gist.github.com/moreati/d0b950b6594d4a4b9b58 run it with python split.py outfile [15:45] ali1234: oops,I missed the negation. Corrected now [15:57] moreati: what python version? [15:57] ali1234: python 2.x [15:59] sre_constants.error: unbalanced parenthesis [15:59] line = re.sub(line, r"\s+", "\n") [16:00] ali1234: try revision 5 https://gist.github.com/moreati/d0b950b6594d4a4b9b58 [16:01] seems pretty good === Lcawte|Away is now known as Lcawte === Hornet- is now known as Hornet [19:40] eben ink [20:45] https://www.dropbox.com/s/g2dkz62z6jpgkuu/IMG_20150621_180043.jpg?dl=0 [20:45] huzzah to a full covering at last \o/ [20:45] have to screw 'em back down again soon === Matthew is now known as daubers [21:36] daftykins: porn? [21:36] * diddledan actually clicks the link [21:38] daftykins: yup, that's porn alright! :-p [21:38] hooray for porn [21:38] gardener's porn [21:38] directhex: he gave it a good seeing to [21:39] directhex: he covered it all-over [21:39] directhex: I hear he's gonna screw it down tomorrow [22:15] i knew that was coming :P [22:24] daftykins: any such utterances with me around is likely to invoke double ententre and innuendo [22:26] indeed! [23:24] g'night mr.dan et al (: