[00:01] <penguin42> which one?
[00:01] <daftykins> sandybridge asus laptop, the U36SD
[00:49] <mapps> yay
[00:49] <mapps> i can now use 4od over 3g
[00:49] <mapps> 3gunrestrictor ftw
[00:51] <daftykins> 0o
[00:57] <mapps> apps sop u using them on 3g
[00:57] <mapps> wifi only like 4od
[00:57] <mapps> which is annoying if you got unlimited
[00:58] <daftykins> Apple ;)
[01:00] <Azelphur> daftykins: did you hear about my hilarity with three?
[01:00] <Azelphur> I got them to disable tethering detection on my line lol
[01:01] <daftykins> :O that's pretty impressive
[01:01] <daftykins> how'd they go for that? :D
[01:02] <diddledan> o_O
[01:02] <diddledan> three let me tether for no extra
[01:11] <Azelphur> daftykins: I found an app which sends firefox as the HTTP User agent, and called them asking to fix it
[01:11] <Azelphur> they fixed it by disabling tethering detection
[01:11] <Azelphur> tl;dr, install pvstar+ and call three if it disconnects you :P
[01:20] <mapps> haha
[01:20] <mapps> app for what is this
[01:22] <Azelphur> mapps: it's just a youtube viewing apps, but lets you do it in the background (good for music)
[01:25] <mapps> AHH
[01:26] <mapps> yea
[01:26] <mapps> thatd be awesome if we had that on ios
[01:26] <mapps> i assume its for android?
[01:27] <mapps> hmm
[01:31] <Azelphur> mapps: yup, Android
[01:31] <Azelphur> iOS isn't the greatest of things :P
[01:47] <diddledan> ios isn't the greatest?!
[01:47] <diddledan> you .. you .. thingy
[01:47] <diddledan> I can't think of a suitable slur
[01:48] <diddledan> so thingy will now be my slur of choice
[01:48] <Azelphur> lol
[02:09] <mapps> woo judge judy
[02:09] <mapps> :D
[02:36] <daftykins> nn guys, have a good week
[03:22] <mapps> nn
[06:44] <MooDoo> moening all
[06:46] <jussi> moaning MooDoo
[06:46] <bashrc_> morning
[06:48] <jussi> sigh... cold again
[06:48] <MooDoo> hayfever for me
[06:49] <jussi> MooDoo: I was talking about physical temperature, not sickness...
[06:50] <MooDoo> ah lol
[06:51] <mapps> ah hayfever sucks
[06:52] <MooDoo> yeah but i'll get some stuff for it at dinner and I'll be fine.
[06:52] <mapps> think i have that..whenever i go to my dads i cant stop sneezing..find it harder to breathe too
[06:54] <MooDoo> it's a pain in the neck if nothing else.
[07:17] <dwatkins> hey peeps
[07:18] <MooDoo> howdy dwatkins
[07:26] <dwatkins> Starting the day with a deep discussion on facebook is always fun.
[07:26] <diplo> Morning all
[07:26] <MooDoo> depends what the conversation is about
[07:27] <MooDoo> morning diplo
[07:27] <dwatkins> MooDoo: it started because I shared an image of a bunch of skeletons saying that we're all the same on the inside, whatever our race, religion or sexuality.
[07:27] <MooDoo> dwatkins: say no more :)
[07:27] <dwatkins> It's not a bad discussion, just a long one.
[07:28] <dwatkins> anyway, happy Monday people :)
[07:28] <MooDoo> :D
[07:28]  * dwatkins fires up a virtual machine and get out the big guns (wireshark)
[07:34] <mapps> what you doing dwatkins
[07:37] <dwatkins> mapps: trying to get a definitive list of all the domains used by an application in order for a whitelist specification
[07:52] <DJones> Hmmh, phone died at the weekend & had to be replaced, cheap non contract phone actually seems quite reasonable for the price
[07:53] <MooDoo> DJones: i'm suck to death of my s3 crashing, I'm tempted to just bin it
[07:53] <DJones> Hah, new test hardware for the Ubuntu phone developed http://www.theregister.co.uk/2014/04/28/chap_builds_mobe_based_on_raspberry_pi/ :)
[07:56] <DJones> MooDoo: I had a S3, then swapped with my wife once I got a N7 tablet & she needed a more reliable phone (than the Desire HD she was using), that finally died a death yesterday after getting stuck in the rom boot menu, picked up a £50 Alcatel OneTouch android phone which is pretty decent for what it is
[07:59] <MooDoo> DJones: I put cyanogen mod on it, but it's crashing every 2 mins :(
[08:01] <DJones> I was tempted to try that to see if it would rescue the phone, but decided I couldn't be bothered wasting the time to do it
[08:03]  * DJones installs 14.04 in virtualbox to try the upgrade to 14.10
[08:14] <bashrc> I'm also running cyanogen on a phone currently.  Havn't had any crashes
[08:14] <ali1234> cyanogen crashes all the time for me
[08:14] <ali1234> almost every time i get a phone call
[08:14] <ali1234> it never used to do this
[08:15] <ali1234> i think my phone is too old now and it is triggering the watchdog
[08:16] <bashrc> yes, it's probably that the memory is too limited and the oom-killer is doing its thing
[08:17] <bashrc> a bit like a problem I was having on the Beaglebone
[08:17] <ali1234> yeah that's also quite likely
[08:17] <DJones> When I come to upgrade, I might be tempted by the OnePlus One phone
[08:17] <ali1234> why would you buy anything but nexus? seriously?
[08:17] <ali1234> or maybe SGS
[08:17] <bashrc> I got a second hand nexus 4
[08:19] <DJones> ali1234: Yeah, will probably end up being a choice between Nexus 5/SGS5/HTC M8
[08:32] <Myrtti> ooh errr. Nests on Google Play. I don't know how well they work in British homes though. We got OWL installed at ours.
[08:33] <dwatkins> are we the mice?
[08:35] <MooDoo> or are we men?
[08:36] <MartijnVdS> Myrtti: it won't work in mine -- I can only turn heating up (or down) by twisting knobs on my radiators
[08:36] <Myrtti> MartijnVdS: I saw an ad for thermostats like that in telly few days back, Danfoss apparently has some fancy new kit
[08:38] <jussi> MooDoo: we are but men, ROCK ON!
[08:39] <MartijnVdS> jussi: are we human? Or are we dancer?
[08:39] <MooDoo> jussi: pic of destiny ;)
[08:51] <MooDoo> yay LPIC-1 has arrived.
[08:51] <MooDoo> book
[08:53] <popey> retro
[08:54] <MooDoo> light reading for when I've done my MS exam next month lol
[09:31] <brobostigon> morning boys and girls.
[09:32] <BigRedS> goood morning!
[09:32] <MooDoo> morning brobostigon BigRedS
[09:33] <brobostigon> morning MooDoo and BigRedS
[09:52] <Myrtti> I'd really prefer if the furry baby would jump and go sleep in his basket
[10:02] <davmor2> Morning all
[10:02] <jamieshepherd> Hi guys, up until about an hour ago the command :  route add -net 141.163.0.0 netmask 255.255.0.0 dev ppp0 would work to route traffic to my Uni's VPN from my VPS (after I do pon plymuni)
[10:02] <jamieshepherd> However, now whenever I enter this command the whole VPS freezes
[10:03] <foobarry> can any scripting wiz show me the best way to extract a givenname field from a list of gecos and sn? python does "subtract" on strings doesn't it?
[10:10] <dwatkins> jamieshepherd: perhaps something has changed on the VPN; how are you connecting to the server?
[10:12] <jamieshepherd> That's what I thought, but I can connect on my laptop fine
[10:12] <jamieshepherd> Just on my VPS, I usually write pon plymuni, followed by adding the route
[10:13] <dwatkins> how are you connecting to it, jamieshepherd?
[10:13] <jamieshepherd> And it's worked literally for the past 3 weeks, and now it's presentation day about 1hr 30 away rofl and it doesn't work
[10:13] <jamieshepherd> Sorry, how do you mean? Through a VPN
[10:13] <dwatkins> before you activate the uni VPN, yeah
[10:13] <dwatkins> ssh, vnc, console access to the virtual machine through a browser?
[10:13] <jamieshepherd> How am I connecting to the VPS? Just ssh
[10:14] <dwatkins> does the OS freeze, or just your ssh connection to it?
[10:14] <jamieshepherd> But when I add that route command nothing responds, ssh closes, websites cease to work
[10:14] <jamieshepherd> Digital Ocean lists it as "Active" still but, nothing can connect traffic wise
[10:14] <jamieshepherd> So perhaps there is a clash
[10:14] <dwatkins> I assume you're stopping your own traffic from reaching it, then.
[10:15] <jamieshepherd> Here is my ifconfig: https://gist.github.com/jamieshepherd/11367656
[10:15] <jamieshepherd> Could you see something that might be clashing here?
[10:17] <MartijnVdS> jamieshepherd: what's your local IP? Are you on the 141.163.0.0/16 network?
[10:17] <jamieshepherd> I am not no
[10:17] <jamieshepherd> Oh
[10:17] <jamieshepherd> That's a massive lie
[10:17] <jamieshepherd> I actually am
[10:17] <jamieshepherd> I'm at the Uni now.. This would make a lot of sense
[10:17] <dwatkins> perhaps the order of the routes has changed so it uses the VPN as the default when you execute the command
[10:18] <dwatkins> aha
[10:18] <MartijnVdS> jamieshepherd: It's trying to send all traffic to you over the VPN instead of directly :)
[10:18] <jamieshepherd> Ah of course, well that was dumb of me
[10:18] <dwatkins> easily sorted, though :)
[10:18] <jamieshepherd> At least i know what's causing it now, just means I can't connect to the website from the Uni I guess
[10:18] <jamieshepherd> Is there a way I could get it working for this presentation?
[10:19] <MartijnVdS> jamieshepherd: try using 'ip link', 'ip route' and 'ip addr' -- they're the "new" tools :)
[10:19] <dwatkins> whereabouts is the website, jamieshepherd?
[10:19] <jamieshepherd> Amsterdam
[10:19] <dwatkins> I mean in network terms
[10:20] <jamieshepherd> I'm sorry, I don't understand
[10:20] <dwatkins> why can't you access it directly right now?
[10:20] <jamieshepherd> Away from the Uni, i.e. not on the network
[10:20] <jamieshepherd> So anywhere else I can connect to the website, just at the Uni I cannot
[10:20] <jamieshepherd> Because of the reason MartijnVdS said I suppose
[10:20] <MartijnVdS> then don't set the route?
[10:21] <dwatkins> so you need to set the VPN as the default route?
[10:21] <dwatkins> I'm guessing here.
[10:21] <jamieshepherd> Times out without the route
[10:21] <MartijnVdS> dwatkins: you don't want that!
[10:22] <MartijnVdS> jamieshepherd: I always see how to fix network/routing things best when drawing them on a piece of paper
[10:22] <MartijnVdS> jamieshepherd: machines (nodes) as squares, with a line for each network interface
[10:22] <dwatkins> good plan
[10:23] <MartijnVdS> include your local machine, both ends of the VPN, your server, etc.
[10:23] <MartijnVdS> the website too
[10:23] <jamieshepherd> [My Machine]--connected to Uni VPN--[Uni VPN]--connected to uni VPN--[Amsterdam VPS]
[10:23] <jamieshepherd> only problem is the presentation is about an hour away
[10:24] <jamieshepherd> so was just wondering if there might be a quick fix
[10:24] <dwatkins> can you access other ports on the server?
[10:24] <MartijnVdS> jamieshepherd: also consider what the VPN is running on (the interface(s) it's using)
[10:24] <MartijnVdS> jamieshepherd: also, a real drawing works best because you can add *all* the network interfaces
[10:25] <jamieshepherd> PPTP
[10:25] <MartijnVdS> (a VPN is a connection inside a connection)
[10:26] <jamieshepherd> Well, at least I know what the problem is
[10:26] <jamieshepherd> Just don't have time to fix it before the presentation
[10:26] <jamieshepherd> So I'll just tether my phone on 3G and connect my laptop to that ;D
[10:26] <jamieshepherd> Thanks for your help anyway guys much appreciated as always <3
[10:27] <dwatkins> sounds like quite a restrictive university network
[10:27] <jamieshepherd> Yeah they're almost as clueless as me I think
[10:27] <MartijnVdS> dwatkins: A VPS sounds like a weird place to terminate a VPN to me:)
[10:27] <jamieshepherd> Pretty sure it's run by students
[10:27] <jamieshepherd> The VPS is one I own Martin
[10:27] <jamieshepherd> DigitalOcean droplet
[10:27] <jamieshepherd> Unrelated to the Uni ^
[10:27] <jamieshepherd> It's just, the database for the application has to be hosted at the Uni
[10:28] <MartijnVdS> sure.. but usually you run a VPN connection to a secured network from your local workstation
[10:28] <MartijnVdS> not from a random VPS
[10:28] <jamieshepherd> So I had to do some retarded routing from my VPS website to the database
[10:28] <jamieshepherd> Yeah the VPS hosts a website, which uses features of teh database on the Uni network
[10:28] <MartijnVdS> you could just a add a route to *just the database server*, instead of the entire /16
[11:46] <foobarry> wonder if anyone can help me approach this problem?
[11:46] <foobarry> probably with some bash script
[11:47] <MartijnVdS> foobarry: which problem was that again?
[11:47] <foobarry> need to do a large ldap modify. list of givenname fields to go with surnames
[11:47] <foobarry> i have a text file of givenname.txt and gecos.txt
[11:48] <foobarry> i want to create an ldif file that says, line by line,
[11:49] <foobarry> add a given name of the xth line gecos entry  to be the xth line of the  givenname file
[11:50] <foobarry> i can do the ldap bit, but not the bashy bit
[11:50] <foobarry> for a single file i do for x in 'cat file' do echo x done
[11:51] <MartijnVdS> foobarry: this sounds like an awk kind of job
[11:52] <dwatkins> it's handy that there are so many types of Chrome/Chromium I can install, I'm running three separate instances of it at the moment.
[11:52] <foobarry> MartijnVdS: you may be right :D
[12:04] <MartijnVdS> foobarry: or Perl, because awk is awkward :)
[12:04] <MartijnVdS> foobarry: let me whip something up :)
[12:05] <foobarry> wow cheers
[12:09] <MartijnVdS> foobarry: untested, needs modification, http://paste.ubuntu.com/7352024/
[12:10] <foobarry> great, thankyou
[12:24] <jussi> MooDoo: you about?
[12:24] <foobarry> MartijnVdS: works perfect, cheers
[12:26] <MartijnVdS> foobarry: \o/
[12:44] <dwatkins> looking at snippets of Perl like this is a good way to learn a language
[12:45] <dwatkins> I assume you used 'chomp' to remove the newline at the end of each line, MartijnVdS
[12:45] <MartijnVdS> yes
[12:46] <MartijnVdS> not really necessary if you extract the fields (using regexes or split or something) anyway.
[12:46] <dwatkins> still a good programming practise, I imagine
[12:47] <MartijnVdS> Yeah.. though I don't read a lot of text files these days ;)
[12:47] <MartijnVdS> mostly database work
[12:48] <dwatkins> I'm still learning how to do that from PHP. I assume it's not something you would do from JavaScript, though, as it's client-side.
[12:49] <MartijnVdS> dwatkins: I'm assuming there'd be a global object/API to do that
[12:49] <MartijnVdS> in "stand-alone" javascript
[12:50] <dwatkins> MartijnVdS: probably, but if I'm writing the entire site, I assume it's best to not give anything external access to the database, and have the PHP retreive data from the server itself.
[12:50] <MooDoo> jussi: wassup?
[12:50] <dwatkins> ah I see what you mean, executing a JS file directly, perhaps yeah.
[12:51] <MartijnVdS> dwatkins: yes, that does sound useful :) Except that it's still PHP :P
[12:51] <dwatkins> yeah, I imagine mostly JS is used for things like resizing a page, forms and so on, not database connectivity
[12:52] <MartijnVdS> dwatkins: have a look at nodejs and be scared ;)
[12:53] <dwatkins> MartijnVdS: I will be doing that eventually, gotta learn basic JS and jquery first.
[12:53] <MartijnVdS> dwatkins: but.. also.. you want a very thing "API" layer that does nothing but handle requests for data from a (JS) front-end
[12:53] <MartijnVdS> dwatkins: have a look at Angular :)
[12:53] <MartijnVdS> https://angularjs.org/
[12:53] <dwatkins> thin, I assume you mean ;)
[12:54] <MartijnVdS> thin, yes
[12:55] <dwatkins> interesting, thanks - I assume that's mostly about formatting the data
[12:57] <MartijnVdS> dwatkins: also about retrievign it
[12:59] <dwatkins> I'm jumping the gun a bit and assuming that you wouldn't want your users to have access to any kind of database ever, but I guess if they're just reading from it via some kind of interface that presents as http or something, that's fine
[13:01] <MartijnVdS> dwatkins: That sounds good. Except if your database has programmable access controls (like an HTTP server has -- you write the controllers that present the data to the client side :))
[13:01] <MartijnVdS> then the client side uses the HTTP output as its model
[13:01] <MartijnVdS> all very dynamic and JS and hip and modern
[13:02]  * dwatkins puts on his horn-rimmed glasses
[13:02] <dwatkins> no really, I have some on my desk (they're a prop)
[13:03] <MartijnVdS> were they.. propped up by something?
[13:04] <dwatkins> badum tschhhhhhh
[13:04] <MartijnVdS> dwatkins: Can you see PROPerly with them?
[13:04] <dwatkins> http://www.amazon.co.uk/gp/product/B0063CZWRU/
[13:35] <bigcalm> Good morning peeps :)
[13:35] <diddledan> morning
[13:56] <bashrc> morning
[13:56] <bashrc> turned out nice again
[15:58] <Azelphur> Yup, Ubuntu 14.04 is a lesson in frustration for me, copy paste doesn't even work properly any more :(
[15:58] <Azelphur> yay for the continual degradation of multi screen support \o/
[15:59] <bashrc> 14.04 seems ok to me
[16:00] <Azelphur> bashrc: yea, this bug won't affect you unless you have separate X screens
[16:02] <dwatkins> copy & paste was always a bit hit & miss for me, especially as there was never a consistent keyboard shortcut for it across all applications
[16:03] <Azelphur> yea, the way Linux handles it is a little bizarre, rather than pulling into memory it just expects the data to still be there in the original application when you paste
[16:03] <Azelphur> I've copied something out of chrome, closed the tab, then tried to paste it so many times by accident.
[16:03] <davmor2> Azelphur: wait till gnome drop middle mouse copy/paste :D
[16:03] <Azelphur> hehe
[16:03] <dwatkins> that's the thing, though - there are both Gnome and app-specific mechanisms for copying and pasting
[16:04] <Azelphur> yea
[16:04] <Azelphur> I have a feeling it's the gnome ones that are broken, I can copy from other applications (firefox) but not from gnome ones (terminal, gedit, ...)
[16:07] <bashrc> ah, so far I usually only have one screen, aothough currently I am using two
[18:08] <penguin42> hmph, that's annoying - the latest version of the newsblur android app requires Android 3, and I don't think the old one is working any more
[19:05] <popey> Dishwasher is broken. Having to wash crockery by hand. It's like the DARK AGES here! #firstworldproblems
[19:07] <penguin42> how many extra glasses/plates/takeaways have you ordered to avoid that
[19:08] <davmor2> popey: you could always just fix the dishwasher instead :D
[19:18] <popey> this evenings meal was made with only one pan ☻
[19:18] <popey> i have googled, seems the "float" is broken
[19:18] <popey> or clogged, the moter runs constantly to pump out water, even when it's empty
[19:22] <foobarry> ah
[19:22] <foobarry> i get that
[19:22] <foobarry> u have a bosch exccel by any chance?
[19:22] <foobarry> get to 0 mins and its still chugging
[19:23] <foobarry> popey: i get it quite a bit, i haven't yet had to take the side off the dishwasher yet, although soemtimes it gets bad for a whole week
[19:23] <davmor2> popey: possibly water logged float maybe
[19:24] <foobarry> usually it's either some foil/sweetcorn under the drain bit. i ensure the drainage bit at the bottom is clean completely
[19:24] <foobarry> then pour a little washing up liquid, boiling water and leave a little while
[19:24] <foobarry> then press the buttons to reset the cycle
[19:24] <foobarry> which manually drainsthe water
[19:25] <foobarry> then pour v hot water in the bottom bit again and start a hot wash without many dishes in
[19:25] <foobarry> usually it clears after a while
[19:25] <popey> no, neff
[19:26] <popey> its a built in machine though
[19:26] <popey> there's a little tap icon in the display
[19:26] <popey> I'll give that a try, thanks
[19:26] <mapps> evening
[19:26] <popey> I did pour hot water in earlier, but I think it's knotted up with cheese
[19:27] <popey> wifey cleaned the filter the other day
[19:27] <penguin42> under maintenance?
[19:27] <popey> I believe these are related
[19:27] <daftykins> built-in units can be a real son of a gun
[19:27] <daftykins> had this one in Portsmouth that nobody could work out how to remove
[19:27] <mapps> hm
[19:27] <foobarry> i tell my wife its not a waste disposal unit
[19:27] <foobarry> http://www.britmodeller.com/forums/index.php?%2Ftopic%2F234959926-airfix-124-hawker-typhoon-on-the-flight-line%2F
[19:27] <popey> i think she sufficiently dislodged cheese into the bottom
[19:28] <foobarry> wow, that is a stunning model plane
[19:28] <popey> that is impressive
[20:28] <diddledan> just got done watching white house down - I feel patriotic.
[20:31] <daftykins> diddledan: for Brits? :)
[20:31] <daftykins> or to... rather
[20:32] <diddledan> foobarry, that's impressive
[20:32] <diddledan> daftykins, unfortunately for america
[20:33] <diddledan> I dang near cried when the lil girl waved the president's flag to ward off an air strike
[20:34] <daftykins> XD
[20:39]  * diddledan looking through movies. got to the matrix. I'm trying to remember the name of the wachowski brother - for some reason Lana's name springs to mind easily but her brother I can't remember
[20:40] <diddledan> and post sexchange, are they to be referred to as "the wachowskis" or "the wachowski siblings"?
[20:44] <diddledan> wiki says it's the former - interesting bit about a netflix series they're making to debut later in the year
[20:46] <daftykins> ah yesi'd forgotten about that
[21:21] <maps|wrk> hai
[21:24] <daftykins> o hai
[21:27] <maps|wrk> sup daftykins ?
[21:34] <daftykins> not much sir
[21:34] <daftykins> just gaming
[21:50] <popey> \o/ Jabber
[21:51] <MattJ> Jabber \o/
[22:12] <Azelphur> Jabber party \o/
[22:12] <Azelphur> it has been a while :p
[22:15] <daftykins> i never get why you lot used to say that
[22:17] <popey> its a greeting
[22:19] <maps|wrk> fail to see how people love this bbc show the callcentre
[22:19] <maps|wrk> it's pretty dull, watching it on iplayer atm
[22:20] <popey> i dislike people like that so find it hard to watch
[22:21] <maps|wrk> kinda amusing when the managers say to young staff ..'youve got potential you just need to change your attitude' ./..seriously it's a call centre,
[22:23] <daftykins> what kind of people popey?
[22:27] <maps|wrk> self serving idiots that run basic companies and try to portray it off as something more than it is?
[22:27] <maps|wrk> it's a call centre that makes nuisance calls thats all..nothing more imo
[22:27] <daftykins> :/
[22:27] <daftykins> sounds terrible
[22:29] <maps|wrk> well i mean, any of us could run a call centre like that..pay people minimum wage, make nuisance calls to get people to have insulation etc and make money off the grants
[22:29] <maps|wrk> but its still..nothing more than that
[23:10] <penguin42> popey: you mean the type of call centres that lower the level to which the turing test has to reach?
[23:11] <popey> I mean, I don't like outgoing pushy people ☻
[23:11] <penguin42> yeh, me neither
[23:15] <maps|wrk> yea me too..he's the kinda clown that'd embarass you infront of everyone and tihnk it's ok
[23:15] <maps|wrk> *think