=== aalston_ is now known as Symmetria [06:01] hi barrydk and everyone else [06:01] inetpro included of course === Guest84289 is now known as thatgraemeguy [06:24] hi thatgraemeguy [06:25] g'day [06:30] Morning everyone [06:41] oh my, hello oom Kilos [06:41] and good mornings to everyone else as well [06:41] lol [06:41] dag boetie [07:18] Morning even [07:18] hi Squirm [07:49] http://lists.clug.org.za/pipermail/clug-work/2015-August/001359.html <-- I think this email got stuck in a time warp somewhere and just got released 15 years late [07:50] haha [07:53] wait what,t hey are upgrading to win2k? :P [07:54] yeah [07:54] and samba 3 [07:54] which is nearly as old [07:55] this guy is clearly a time traveller [07:55] rlfl [07:55] rofl [08:01] thatgraemeguy: saw that too [08:42] Good morning [08:44] hi gremble deegee === qwebirc72736 is now known as Padroni [09:37] hi [10:20] hey Padroni [10:34] Hiiiiiiii [10:35] phew, awfully chatty in here today [10:36] why? [12:35] hmm... ballie nap time methinks [13:27] hi guys [13:27] who's coming tonight for the Drupal meetup? [13:35] cyrilb: SubOracle might [13:35] cyrilb: I'm in Cape Town [13:41] OK [14:30] omfg [14:31] someone set fire to a buss here [14:32] I feel at home then [14:32] it looks like Paris [14:32] Busses are on fire in Paris? [14:35] lol [14:36] Where is here, where the bus is on fire, GnikLlort? [14:36] @gremble some people express their angry feelings that way [14:36] George [14:37] https://encrypted.google.com/search?q=paris+bus+burning&hl=en&source=lnms&tbm=isch&sa=X&ved=0CAgQ_AUoAmoVChMI4vfruq-1xwIVhNIaCh1hRARb&biw=1329&bih=686 [14:42] I'm not sure whether it is appropriate. However, I should not comment, I have not tried it yet. [14:43] I'm listening to the audiobook Metamorphosis of Kafka, it is quite good [14:55] ffs [14:56] Thy closed off half of the city [14:56] now night shift are going to be late [14:56] George is tiny though. You can probably feel the fire over most parts of the city :P [14:57] tbh yea lmfao [14:57] but city is getting bigger [17:02] have to work a damn dubble [17:17] How is everyone? [17:50] good and you Squirm [17:50] ? [17:51] you been scarce lately [17:56] Yeah, but am doing well [18:02] evening all and night all. sleep tight [18:03] * Kilos tired kinda. you all be good [18:26] superfly: how difficult is it to format a string to become an array of 5 or 6 items that are then stored in a numpy array? [18:27] kulelu88: are you going to be doing the conversion to an array? [18:29] superfly: the issue is that some parts of the string need to be converted first. for eg. the first item is the datetime, which I am converting into a datetime object, then I need to split out the 5 other parts so that they are detected properly [18:31] kulelu88: datetime.isoformat() [18:31] and then the iso8601 (i think) module [18:32] kulelu88: I'm not entirely sure what you're trying to do [18:34] superfly: I have a log file, which I want to convert (each line) into a set of 6 objects in an array, then I will store each array of 6 objects into a giant array [18:36] sounds simple enough, what's the problem? [18:38] superfly: well it's not so simple due to the formatting of each line. would regex work best for identifying each piece of the string? [18:38] *each piece of the line/string ? [18:39] kulelu88: http://image.slidesharecdn.com/regexpsecrets-130228042149-phpapp02/95/regexp-secrets-6-638.jpg?cb=1362026041 [18:39] having said that... I do use regex [18:39] hahaha [18:39] regex is shit, but i use it sometimes [18:40] kulelu88: can you give me a copy of a couple of lines? [18:40] sure. let me format it though, otherwise my boss may smash me [18:49] superfly: https://pastee.org/xndce [18:56] superfly: please don't be writing any code, this is a learning experience for me :P [18:56] naw, I got stuck watching an indian movie... [18:57] which one? haha [18:58] https://www.youtube.com/watch?v=NVfScHifIi4 [19:00] that doesn't look too hard to parse [19:00] I'd separate by space, then join the first two and parse using iso8601 [19:00] lmao, thats a tamil movie I think [19:00] it's a spoof comedy [19:01] just watched a bit of it, but I (obviously) can't follow [19:02] no subtitles? [19:02] couldn't find any [19:02] reminds me of Kung Fu Hustle and Shaolin Soccer [19:02] o/ [19:02] Kung Fu Hustle was legendary [19:03] superfly: how would you handle the last part, as the message may contain spaces? [19:05] gremble: \o [19:06] consume the log bit by bit, and when you have the info divided by spaces, spit the rest out as a "rest" [19:07] kulelu88: something like that [19:07] however, it's probably a bit easier to use regex ;-) [19:08] One day I will be able to use regex :P [19:09] I use regex to filter through DB output. I hate the \ format so I preferably use the . format [19:10] Don't you filter db output with your SQL commands? [19:10] ^(\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d) (.*?)-(.*?) (.*?) (.*?): (.*)$ [19:10] gremble: not when you need to download DB dumps and scan them manually [19:10] Ah [19:10] I used \d multiple times because it's less than writing \d{2} - takes up 5 chars instead of 4 [19:11] the weird part about superflys regex is that I understand it :D [19:11] :"""""""""""D [19:11] Ya, that is not difficult [19:12] Since regex is turing complete, I am quite sure you can get more complex versions of it [19:12] :P [19:12] more complex regex #fml [19:14] by the way guys, if you ever want a free SSL certificate, use https://www.startssl.com/ [19:14] you gotta jump through a couple of hoops to get there, but it's worth not paying truckloads of money for a stupid text file [19:15] doesn't komodo sell them for $2 per year now? [19:15] Bleh reminds me I have to update my bolg [19:18] bolg? [19:18] :P [19:19] kulelu88: do you really want an already compromised certificate? [19:20] NSA compromised? superfly [19:20] Precompromised seems like it saves you the trouble of having it compromised yourself [19:20] :P [19:20] nope, Comodo had a security breach about 2 years ago, and didn't tell anyone about it [19:20] it came out months later [19:21] wouldn't they then be obliged to pay that $1 million dollar thing SSL certificates offer? [19:21] The Dutch government had purchased all their certs from Comodo, and immediately revoked them all and bought new ones from somewhere else... [19:22] security on the internet is so complicated [19:22] SSH, SSL, PGP and yet none of it is 100% secure [19:25] theoretically, we try it to be sound, but unfortunately it is implemented by people that make mistakes. So most of the time it is not the protocol that is broken, but the implementation. Meaty bits are the squishy bits [19:25] PEBKAC [19:27] I think once you understand cryptography in programming, you have reached a zenith of knowledge :P [19:28] I'll let you know [19:28] :P [19:30] meh, cryptography is more math than programming [19:31] is the biggest weakness in SSH your passphrase? [19:32] not at all [20:54] Pasphrase? People don't just use keys these days? [20:55] perhaps... [20:58] I have a key and a passphrase for the key [20:59] if a key is stolen, having a passphrase helps, no? [21:36] I think my PC just upgraded to Plasma 5... [21:37] You think so? [21:37] mmmm [21:37] I did an update && upgrade, it borked [21:37] and then I did a fix and I'm continuing another upgrade [21:38] and I saw a whole lot of my packages being removed, and a whole lot more being installed which said "libkf5" or something -- kde frameworks 5 [21:38] gremble: I'm on Debian unstable [21:39] the upgrade to systemd was similar [21:40] I can't even remember my upgrade to systemd it was sort of "congrats, running systemd now. Remember to update your init scripts to units" [21:40] I don't know what I'll do when LTS 14.04 ends [21:40] Move to the next lts? [21:40] im not going near systemd [21:41] systemd is easy [21:41] so I have no qualms [21:41] and bloated [21:41] You're running a full ubuntu distro [21:41] I don't think the bloat is that much worse [21:41] :P [21:42] Unless you are running LFS on embedded, bloat is not really such a big deal [21:42] The main concern is probably binary logging and thus the corruptability of the logs [21:42] the lack of choice bugs me. [21:42] I dont want it, but its been forced on to everyone through a split vote of 5 people [21:43] Just uninstall it and pin SysV or init or runrc, runit, upstart or whatever your heart desires? [21:43] you can't without breaking it [21:43] or so i've heard [21:43] You can. Unless you want to use gnome [21:43] gnome requires systemd [21:44] gnome is from gnu right? [21:44] Nope [21:44] Gnome is from the gnome foundation [21:44] kulelu88: Did you know that before systemd, ubuntu used upstart and you in fact couldn't use anything but upstart? [21:44] but less on that flame war. have people been joining tuxlug? [21:45] nope [21:45] Just me and inetpro [21:45] haha [21:45] DalekSec: not until now [21:45] ubuntu also wanted to do mir [21:45] and tell everyone with their X and wayland to f right off [21:45] :P [21:46] The more I learn about Ubuntu, the more I dislike a lot of what they do. if they want to be Red Hat, they should go fullswing at it [21:46] gremble: Wants to do Mir, still activly developed, perhaps targetting the phone more but nevertheless. And it wasn't quite like that, no. [21:48] I may be slightly hyperbolic :P [21:48] mathematicians... pssshhtt [21:49] Let's not go off on a tangent [21:51] whoa DalekSec is an Ubuntu member :P [21:51] As are plenty of others. [21:52] I think the pertinent question is, is whether DalekKhan is [21:53] Caan even [21:55] dalek is an awesome name. [21:56] Not if I exterminated him. [21:56] If you're true to canon, you did [21:56] and I was sad [21:57] The reality is, Canonical has a point with Mir. Wayland has been in development for twice as long as Mir, and they're not even halfway close to as complete. [21:58] AND, Wayland is basically an integrated X server and client [21:58] I thought I would have wayland by the next time I reinstall and I didn't. So I'm getting used to having X around for a while still :P [21:58] gremble: I don't think you understand... do you remember XFree86 ? [21:59] sjoe, look at the time, I need to go to bed [21:59] I don't know. Chances are that it is before my time [21:59] xD [21:59] gremble: X.org was forked from XFree86 because XFree86 was not going anywhere, and some of the developers wanted development to move faster. [22:00] Looong before my time then [22:00] And everyone got excited because, "finally, we're going to have a less useless windowing system" [22:00] yeah. we've been waiting. [22:00] so Mir and Wayland are improvements on X? [22:00] So is windowing such a difficult problem? [22:00] then a pocket of X.org devs said, "this architecture sucks! let's make a better X"... and so we're still waiting for Wayland [22:01] gremble: no. this is what's ridiculous. [22:01] sounds like over-engineering then [22:01] and why I'm actually really interested in Mir. Canonical might have cheesed people off, but I completely understand WHY. [22:02] anyway, I must head to bed [22:02] So. Let's make our own. We'll call it Xaymirland [22:02] Cheers superfly [22:03] gremble: thats probably how most (marginal) software efforts start. "fuck these guys, let me roll my own" [22:03] It is indeed [22:03] Look at neovim :P [22:03] There's security benefits to Mir/Wayland, I'd think Ubuntu/Canonical wants more control over it because of the phone, but the CLA isn't going to help. There's benefits and drawbacks to Mir/Wayland. [22:04] DalekSec: what is wrong with X itself? where is the architecture flawed? [22:05] I know I can't use 2 different "views" on 2 connected screens, but that is an artificial X-issue that a manual fix can get around [22:47] I am going to do the sleep thing now, before I stay up too late [22:47] Cheers guys