/srv/irclogs.ubuntu.com/2015/06/21/#ubuntu-uk.txt

m0nkey_yup, tried that00:00
m0nkey_doesn't apply to the latest version00:01
m0nkey_there is no music.db00:01
=== 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
popey... 185GB done...08:16
=== zmoylan-1i is now known as zmoylan-pi
knightwiseHey popey  :) Mah Dell arrived yesterday !09:05
brobostigonmorning boys and girls.09:23
knightwisehey brobostigon09:28
knightwisehow are you today09:28
* SuperEngineer bites tongue & withholds comments re punctuality etc. ;)09:28
brobostigonmornng knightwise09:28
brobostigonknightwise: not bad, and you?09:28
knightwisedoin ok :) Just updated the bios on my XPS13 :)09:29
brobostigon:)09:29
knightwiseits working very very well. better then I expected. popey , if you still haven't decided on a laptop , this one comes highly recommended09:29
brobostigoncomes highly recommended from our residant tech journalist.09:31
knightwiseMoi ? Tech journalist  ? :)09:31
knightwiseI am but a meager poor humble podaster.09:31
brobostigon:) blogger etc.09:31
knightwisePerhaps .. but as a user i'm also very pleased with it.09:32
brobostigon:)09:33
knightwiseAfter 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 me09:33
knightwisegonna give it a run for its money next week , taking it with me on the field09:35
brobostigoni 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
popeyknightwise: worth knowing, thanks!09:36
popeyyou got the non-touch one though?09:37
knightwisepopey: correct. The matte screen is gorgeous, the "scaling" is just right and the battery life is like this thing is running on plutonium pallets09:37
popeyyeah, i want touch09:38
knightwiseThat is gonna eat into your batterylife... the extra resolution is pretty awesome .. but a lot of open source apps have a hard time with upscaling09:38
popeybattery isn't important to me09:39
popeymy laptop spends more than 99% of its live on my desk09:39
knightwiseI got the extra power companion with it (1200mamp)09:40
popeyi saw someone take a thinkpad x1 carbon and put a proper touchpad on it with real buttons09:40
popeywhich appeals to me09:40
knightwiseThat I do miss , real buttons :(09:43
knightwiseHated the ones on type cover of the surface pro 109:43
knightwiseand the one one the type cover for the Surface pro 3 ... just arent there .. at all09:44
knightwiseI should be used to it by know. Havent had buttons on the macs for years but ... i donno , feels different on a pc09:44
* popey fiddles with ddrescue parameters09:52
popeythat's a LOT faster09:52
popey135MB/s vs 5MB/s09:52
knightwisepopey: Coolz09:54
knightwisetweaky-weaky can give you some huge performance increases09:54
knightwisethere :) Surface pro 1 and Chromebook put up for sale.10:12
popey\o/ ddrescue already approaching in 10 minutes what it took 10 hours to do last night10:16
=== lan3y is now known as Laney
=== Laney is now known as Guest38885
=== Guest38885 is now known as Laney
=== Flashtek_ is now known as Flashtek
penguin42oh 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:18
ali1234tr -d [:punct:]  <- how do i say "all punctuation except for ' (apostrophe)"14:42
penguin42have you tried something like [^':punct:] ?14:46
penguin42hmm, doesn't work14:47
moreatipenguin42: https://stackoverflow.com/questions/21294466/tr-utility-add-exceptions-to-bracket-expression-punct but it's the ugliest regex I've seen in some time15:09
ali1234let's step back a bit15:09
moreatiI meant ali1234 ^15:10
ali1234what 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 stdout15:10
moreatiali1234: stdin and stdout are only bytestreams. Unicode in what encoding?15:11
penguin42moreati: Somewhere between interesting and YEUCH15:11
ali1234moreati: utf8 of course15:11
penguin42hmm, there are some tools that work in whatever lang is dont they?15:11
moreatiali1234: you'd be surprised how often people don't understand that question15:12
ali1234actually i wouldn't15:12
ali1234even more generally, i want to split a long text file into "words"15:13
ali1234but filter out punctuation and unicode smilies15:13
ali1234for example: ヽ༼ຈل͜ຈ༽ノヽ is not a word15:14
ali1234the only punctionation i want to keep is apostrophes eg "it's"15:14
moreatiali1234: 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:20
ali1234my definition of a word is anything an american teenager might type that represents a word15:21
moreatiWhat about: Café? ру́сский? 汉语?15:21
moreatiokay15:22
ali1234Café = yes, but unlikely15:22
ali1234the others = no15:22
penguin42ali1234: I'm thinking word is probably defined in the locale but I'm not sure15:22
ali1234but it has to also match stuff like "lolz"15:22
penguin42ali1234: Does fmt  handle utf-8 ?15:22
ali1234i dunno, what's a fmt?15:22
penguin42ali1234: Old Unix command15:22
moreatilets be lazy then: regexp's \w in ASCII mode15:23
penguin42ali1234: try piping some text through  fmt -115:23
ali1234kinda works15:24
ali1234so fmt works pretty well15:37
ali1234it splits words reliably at least it seems to15:37
ali1234 LOL....Dude, <- this is two words15:37
penguin42ali1234: 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 utf15:40
penguin42(and when I say old trick, I'd bet at least 20 years old, probably 30)15:41
moreatiali1234: how close does this get https://gist.github.com/moreati/d0b950b6594d4a4b9b58 run it with python split.py <infile >outfile15:42
moreatiali1234: oops,I missed the negation. Corrected now15:45
ali1234moreati: what python version?15:57
moreatiali1234: python 2.x15:57
ali1234sre_constants.error: unbalanced parenthesis15:59
ali1234line = re.sub(line, r"\s+", "\n")15:59
moreatiali1234: try revision 5 https://gist.github.com/moreati/d0b950b6594d4a4b9b5816:00
ali1234seems pretty good16:01
=== Lcawte|Away is now known as Lcawte
=== Hornet- is now known as Hornet
diddledaneben ink19:40
daftykinshttps://www.dropbox.com/s/g2dkz62z6jpgkuu/IMG_20150621_180043.jpg?dl=020:45
daftykinshuzzah to a full covering at last \o/20:45
daftykinshave to screw 'em back down again soon20:45
=== Matthew is now known as daubers
diddledandaftykins: porn?21:36
* diddledan actually clicks the link21:36
diddledandaftykins: yup, that's porn alright! :-p21:38
directhexhooray for porn21:38
diddledangardener's porn21:38
diddledandirecthex: he gave it a good seeing to21:38
diddledandirecthex: he covered it all-over21:39
diddledandirecthex: I hear he's gonna screw it down tomorrow21:39
daftykinsi knew that was coming :P22:15
diddledandaftykins: any such utterances with me around is likely to invoke double ententre and innuendo22:24
daftykinsindeed!22:26
daftykinsg'night mr.dan et al (:23:24

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