[00:29] <Azelphur> Afternoonings night lurkers! Lets play figure out how DD-WRT's web panel works
[00:30] <Azelphur> I want to modify it, it seems to have normal pages in asp, for example http://dd-wrt/Status_Bandwidth.asp yet when I do find / | grep Status_Bandwith.asp I find nothing
[00:30] <Azelphur> what is this madness?
[00:39] <hamitron> are the pages stored individually on the device?
[00:39] <Azelphur> hamitron: well is find / | grep Status_Bandwith.asp returns nothing, It's obviously stored someplace weird
[00:39] <Azelphur> s/is/if
[00:40]  * hamitron is trying to remember his router password
[00:40] <Azelphur> I mean it's gotta be on there someplace, but as to where :s
[00:40] <Azelphur> wow :P
[00:40] <ali1234> dd-wrt uses asp???
[00:41] <Azelphur> ali1234: seems so, all the pages are *.asp :/
[00:41] <ali1234> i recommend dump dd-wrt and use openwrt instead. everything is configured through text files
[00:41] <Azelphur> my device isn't supported/working with openwrt
[00:41] <hamitron> aren't they merging?
[00:41] <Azelphur> also text files...no?
[00:41] <ali1234> that's crazy talk
[00:41] <ali1234> dd-wrt is based on openwrt
[00:41] <Azelphur> I like a web interface
[00:42] <hamitron> by merge, I mean working towards more compatibility
[00:42] <hamitron> I read it somewhere random :/
[00:42] <ali1234> it's not really asp. i don't know why they do that
[00:43] <Azelphur> oh
[00:43] <Azelphur> what is it then?
[00:43] <ali1234> just some CGIs
[00:43] <hamitron> html
[00:43] <ali1234> like everything else
[00:43] <Azelphur> I see
[00:43] <Azelphur> ali1234: but isn't CGI just an interface to execute <insert language here>
[00:43] <ali1234> yes
[00:43] <ali1234> well, technically no
[00:43] <Azelphur> lol
[00:44] <Azelphur> so what language are they using?
[00:44] <Azelphur> http://svn.dd-wrt.com:8000/dd-wrt/browser/src/router/kromo/cisco_wrt54g_en/Status_Bandwidth.asp?rev=8018
[00:44] <ali1234> CGI is a way to run an executable and send the stdout as the web page
[00:44] <ali1234> so yes, but not in the way you think
[00:44] <Azelphur> ahh
[00:44] <ali1234> it's impossible to tell what they are really using by looking at the resulting web page
[00:45] <ali1234> so, in CGI, your "webpage" can be a C binary that does printf("<html>.....");
[00:45] <Azelphur> yea
[00:45] <ali1234> in languages like php or asp you write a normal html file and then embed code into it
[00:45] <Azelphur> I played with CGI before :)
[00:45] <ali1234> so then the php file has to be processed by another interpreter
[00:45] <ali1234> or the asp file
[00:45] <hamitron> cat /etc/www
[00:46] <Azelphur> hamitron: wall of crazyness
[00:46] <ali1234> you can use php through cgi but nobody does it, instead the web server has built in knowledge of certain file types
[00:46] <Azelphur> :)
[00:46] <ali1234> but CGI can use any type of binary that uses stdin and stdout
[00:47] <ali1234> this makes it *much* simpler
[00:47] <Azelphur> indeed, :)
[00:47] <ali1234> php/asp etc is not suitable for running on a tiny router with only 16mb or whatever
[00:47] <Azelphur> that I do get
[00:47] <Azelphur> ali1234: I'm trying to add per-computer live bandwith graphs
[00:48] <hamitron> imo /etc/www looks like a beast of a script
[00:48] <Azelphur> I can already get at the transfer rates per-computer
[00:48] <Azelphur> hamitron: yea, what is that? :S
[00:48] <hamitron> Azelphur: how?
[00:48] <Azelphur> hamitron: I looked into the source for http://code.google.com/p/wrtbwmon/ it does some stuff with iptables
[00:48] <hamitron> ah, manually
[00:48] <Azelphur> I could just run the iptables command every second to get KB/sec
[00:48] <hamitron> :)
[00:49] <hamitron> tbh, I need the daily download for each client more
[00:49] <ali1234> well, that actually is some kind of interpreted scripting language
[00:49] <ali1234> (the svn link)
[00:49] <ali1234> so you need to find what interprets it... look at the web server config to find this
[00:50] <hamitron> httpd maybe?
[00:50] <Azelphur> god alone knows where that is at :p
[00:50] <Azelphur> yea, it's called httpd
[00:50] <hamitron> in /usr/sbin
[00:50] <hamitron> iirc
[00:51] <Azelphur> hamitron: /usr/sbin/
[00:51] <hamitron> ali1234: you find openwrt better?
[00:51] <Azelphur> but no config
[00:51] <ali1234> openwrt has a really nice CGI scripting tool that uses shell scripts
[00:51] <ali1234> it has a simple webif too but why use it?
[00:51] <ali1234> just edit the config files, it's much easier
[00:52] <Azelphur> I prefer the web UI
[00:52] <hamitron> dd-wrt I feel is broken
[00:52] <hamitron> :/
[00:52] <Azelphur> ali1234: http://www.dd-wrt.com/wiki/index.php/MyPage I could use this
[00:52] <hamitron> setting up multiple vlan was a pain
[00:52] <Azelphur> but I wonder if I can do the live graphs like on the bandwith page through it
[00:53] <ali1234> thing about "live" graphs is you need to store history somehow
[00:53] <Azelphur> ali1234: I'd use openwrt as I say but my router isn't supported :(
[00:53] <hamitron> :/
[00:53] <Nafallo> tomato is quite good for graphs and such.
[00:53] <hamitron> wrt54gl \o/
[00:53] <Azelphur> WRT610N v1 is WIP, WRT610N v2 isn't even on the list yet
[00:53] <Nafallo> really nice webif to
[00:53] <ali1234> so get the source of dd-wrt kernel and patch it into openwrt buildroot...
[00:54] <ali1234> also i suspect the list is way out of date and it actually works just fine
[00:54]  * hamitron now worries about Azelphur having to jtag, after the arduino experience
[00:54] <Azelphur> I see :p
[00:54] <Azelphur> hamitron: my router has unbricking :D
[00:55] <ali1234> actually, all routers have unbricking
[00:55] <ali1234> unless you wipe the unbricking
[00:55] <Azelphur> my router has super easy unbricking
[00:55] <ali1234> aka bootloader
[00:55] <Azelphur> press button insert firmware tada your unbricked
[00:55] <ali1234> yeah, they *all* do that to some degree
[00:55] <Azelphur> hehe
[00:55] <hamitron> well, I am still scared ;/
[00:55] <ali1234> you just have to figure out, 1. which button, 2. when to press it, 3. how to supply firmware
[00:56] <Azelphur> http://www.dd-wrt.com/wiki/index.php/Linksys_WRT610N#Recovery_.28Unbricking.29
[00:56] <Azelphur> :D
[00:57] <ali1234> well the v1 has very obvious serial and jtag ports
[00:57]  * hamitron spanks Azelphur
[00:57] <hamitron> you got me considering modifying the /etc/www file now :/
[00:58] <ali1234> why do that when you can just run another httpd on another port and using another set of files?
[00:58] <ali1234> like some files on a usb stick, or a sd card if you don't have usb
[00:58] <hamitron> hmmm
[00:59] <hamitron> don't I need to hard mod it?
[00:59] <ali1234> for sd card? sure
[00:59] <hamitron> for usb too
[00:59] <ali1234> you need to patch the kernel too, but it's easy
[00:59] <ali1234> if you have usb it will just work
[00:59] <hamitron> the hard part is reasoning with other users on my network when their internet goes down ;)
[01:00] <hamitron> females are violent :/
[01:00] <ali1234> this is why you have two routers
[01:00] <hamitron> suppose
[01:01] <hamitron> :)
[01:02] <hamitron> what I really want to do is monitor users usage, then if they go above 250Mb in 24 hours, reduce them to 64kbps
[01:02] <hamitron> :D
[01:02] <ali1234> i would just change my ethernet mac address and carry on ... heh
[01:03] <hamitron> with mac filtering
[01:03] <hamitron> ;/
[01:03] <ali1234> i would change it to *your* mac address, and bump you off the network
[01:03] <hamitron> suppose I could count data per port?
[01:03] <ali1234> not really
[01:04] <ali1234> you could do data per destination though
[01:04] <ali1234> then if the person really likes some website that you hate... this would work
[01:04] <hamitron> like facebook
[01:04] <hamitron> :)
[01:04] <ali1234> exactly
[01:04] <ali1234> except that most things on facebook are embedded
[01:05] <hamitron> I can't get the QoS and filtering stuff working from the web interface
[01:05] <hamitron> :/
[01:07] <hamitron> ali1234: lucky for me, I don't have you on my network
[01:07] <hamitron> ;/
[01:07] <hamitron> so basic mac filtering and stuff is enough
[01:08] <Nafallo> at least as far as you know...
[01:08] <hamitron> true
[01:08] <hamitron> :)
[01:08] <hamitron> maybe all my users just act dumb
[01:09] <hamitron> or maybe I am dumb and what they say is beyond my understanding
[01:13] <hamitron> Azelphur: 43624 line script
[01:13] <hamitron> :s
[01:13] <Azelphur> lol
[02:16] <lazarus_> bleh stupid internet
[02:16] <hamitron> yes
[07:30] <AlanBell> morning all
[07:33] <Apacheuk> morning
[07:39] <screen-x> morning :)
[07:39] <exobuzz> mornin
[07:39] <screen-x> wheres bigcalm? now it really is friday
[07:40] <screen-x> I'm slightly concerned about the snow and my flight later, but james_w says it'll be ok.
[07:41] <screen-x> morning exobuzz  :)
[07:46] <_H> does anyone know anything better than http://git.gnome.org/browse/dia/ as http://git.gnome.org/browse/dia/ is not being developed [this programme is for drawing plans and I need a plan for my flat so I can dsort out the electrics water and flooring. - I think its called a floor plan]
[07:47] <MooDoo> hello all
[07:48] <_H> MooDoo: hoi
[07:48] <exobuzz> _H, http://www.sweethome3d.com/index.jsp ?
[07:49] <exobuzz> can do a nice 3d one ;-)
[07:52] <screen-x> _H: I'd use inkscape, but thats a general vector graphics program, rather than a specific diagramming thing.
[07:55] <exobuzz> could use google sketchup also perhaps
[07:56] <AlanBell> bug 181912
[07:57] <AlanBell> !info sweethome3d
[07:58] <exobuzz> didnt know it was packaged. should install that cheers
[07:59] <AlanBell> I looked into it a while back when it wasn't packaged
[07:59] <AlanBell> ended up using the ikea kitchen planner tool through wine
[07:59] <AlanBell> which nearly worked
[07:59] <AlanBell> _H: tell us how you get on with it
[08:01] <exobuzz> i tried it before and it was pretty cool.. a few friends have used it
[08:02] <exobuzz> useful to envisage how many arcade machines and pinball tables you could fit into your house, if all the useless crap like sofas, tables and beds were removed
[08:04] <screen-x> exobuzz: haha
[08:05] <screen-x> I'd like a garrage to put a 19" rack in :)
[08:09] <exobuzz> :)
[08:09] <MooDoo> screen-x: i've got the perfect garage, persuading my wife to let me do it is a different matter :D
[08:09] <exobuzz> i wouldnt say no.
[08:10] <screen-x> MooDoo: If it got "all my wires and stuff" out the house, it would be approved :p
[08:10] <exobuzz> MooDoo, i know that one. i had a perfect space for "star trek tng pinball table - and i found one for a decent price". and the "boss" instead wanted an oak dining table (cost more than the pinball). and much less useful too
[08:10] <MooDoo> screen-x: luckily i'm all wireless :)  well apart from the router to the garage where my servers are now, but that cable goes outside
[08:11]  * exobuzz sometimes brings lots of 8 bit computers downstairs and leaves them lying about to wind the boss up
[08:11] <screen-x> exobuzz: thats asking for trouble
[08:11] <MooDoo> i can't leave anything around like that, my 2 year old will wreck it :D
[08:12] <exobuzz> right now. im winning.. since i bought a synth and its living on her dining table.. along with lots of other junk of mine. mwahahaha
[08:12] <exobuzz> MooDoo, spectrums are "almost" childproof
[08:12] <screen-x> exobuzz: maybe time for some relationship counselling?
[08:13] <exobuzz> i got a 1.8 year old... she does mess up my tv and hifi though
[08:13] <exobuzz> screen-x, probably.. :)
[08:13] <exobuzz> and ive given up with the cds/dvd in any particular order.
[08:13] <MooDoo> exobuzz: wait till she want's to play with "daddys pooter"
[08:14] <exobuzz> MooDoo, how do you explain that keys do better when they are not hit. also that my delicate lcd screen is not a touchscreen!
[08:14] <screen-x> MooDoo: you should show her android app inventor, to see if it really is easy enough for a 2yr old
[08:15] <MooDoo> exobuzz: with a bribe of course, you say "want this choclate" :D
[08:15] <MooDoo> screen-x: mine is a him :)
[08:15] <exobuzz> MooDoo, this is mine when she was a little smaller. http://malus.exotica.org.uk/~buzz/learning64.jpg ignore the bloke with morning hair in the background.
[08:15] <MooDoo> awww bless :D
[08:16] <exobuzz> get em on the 8 bitters..
[08:16] <screen-x> I forgot how large those C64s were
[08:16] <MooDoo> i had a mac ibook he liked to play with, i didn't mind him bashing that about a bit :D
[08:16] <exobuzz> MooDoo, look even bigger here http://www.exotica.org.uk/mediawiki/files/d/d2/Natalie_on_c64.jpg
[08:17] <MooDoo> lol awesome :D
[08:17] <exobuzz> MooDoo, macs sometimes need bashing
[08:18] <exobuzz> and the users ;-)
[08:18] <MooDoo> hehe
[08:19] <exobuzz> http://www.youtube.com/watch?v=f2g3EDC6YuA
[08:39] <screen-x> I wish you could specify a port for a service in DNS, that would make loads of sense.
[08:45] <screen-x> \o/ Bitshifter
[08:47] <bigcalm> Mornin' all
[08:48] <MooDoo> morning
[08:51] <screen-x> yo bigcalm, friday!
[08:51] <bigcalm> TTFCIF \o/
[08:51] <screen-x> 37 <screen-x> wheres bigcalm? now it really is friday
[08:51] <bigcalm> I will not reveal the meaning in here though
[08:51] <bigcalm> Heh
[08:54] <screen-x> big old flakes coming down now ☃ time
[08:54] <MooDoo> nothing here
[08:55] <screen-x> MooDoo: where are you ? Please say somewhere near london..
[08:56] <MooDoo> screen-x: lol no i'm not, nottingham
[08:56] <screen-x> hmm /me consults uksnow.benmash.co.uk
[08:57] <MooDoo> screen-x: benmarsh :p
[08:59] <screen-x> heh
[08:59] <screen-x> looks like the snow is mostly in the west :D
[09:01] <exobuzz> i fancy fish and chips
[09:01] <MooDoo> going to snow tomorrow more and more though
[09:01] <exobuzz> guess it's a bit early
[09:06] <andylockran> it's good morning fro me, and good morning from him.
[09:06] <andylockran> Howdy guys
[09:06] <screen-x> Hi andylockrans
[09:06] <andylockran> you good?
[09:07] <screen-x> yeah, quite a bit of snow here, hoping it'll be ok to get up to london later..
[09:07] <screen-x> you?
[09:07] <andylockran> we're fine thanks
[09:07] <screen-x> :p
[09:07] <andylockran> though one of us is feeling a little hazy
[09:07] <popey> hmm, half the team missing this morning
[09:07] <andylockran> bit like an out-of-body (not-in-body) experience
[09:07] <popey> xmas do last night
[09:07] <popey> morning btw
[09:07] <andylockran> ah, typical :P
[09:08] <andylockran> morning popester
[09:08] <screen-x> morning popey
[09:08] <screen-x> dancing on the desks last night?
[09:08] <MooDoo> morning
[09:08] <popey> not i
[09:08] <popey> I didnt go
[09:09] <popey> good morning victorp
[09:10]  * czajkowski waves GOOD MORNING FOLKS!
[09:10]  * TheOpenSourcerer says hello
[09:10] <nperry> Morning all
[09:11] <MooDoo> czajkowski: oi where your aloha?
[09:11] <screen-x> aloha czajkowski
[09:11] <nperry> Tiny bit of snow on the floor here and people are going 30mph WHY!
[09:11] <nperry> Its not like its much...
[09:12] <screen-x> nperry: somone drove into my wife at ~25mph in the snow, and wrote off our car :(
[09:12] <MooDoo> bugger
[09:12] <screen-x> to be fair, it is 10 years old, so insurance would write it off for a scratch.
[09:12] <victorp> hi popey
[09:13] <nperry> screen-x: ouch bad times.
[09:13] <nperry> screen-x: But yeah any knock on a 10 year old car is wrote off, same as mine... but then again mine was a head on at 30mph each
[09:13] <TheOpenSourcerer> screen-x: An Ocado van forced me into a ditch last Monday on sheet ice. Luckily my old volvo seems to have not been affected by it apart from a couple of scratches.
[09:14] <screen-x> nperry: we've had our fair share of incidents the past few months! But heres to a great 2011 :)
[09:14] <nperry> I agree
[09:14]  * nperry charges my coffee in the air :-)
[09:15] <screen-x> TheOpenSourcerer: glad you're ok...
[09:16] <czajkowski> some very sore heads in this office today
[09:17] <jpds> czajkowski: Ice isn't that slippery.
[09:17] <czajkowski> jpds: oh but it is.
[09:17] <MooDoo> czajkowski: including yours?
[09:18] <czajkowski> nope all good
[09:18] <MooDoo> czajkowski: drink moar next time ;)
[09:19] <czajkowski> not when I've to work the next day, I tend to actually use my brain and know that I'll die in pain today if I dod
[09:19] <MooDoo> czajkowski: ah there is that......
[09:20] <MooDoo> czajkowski: oh yeah....poke  :)
[09:22] <popey> morning kazade
[09:28] <gord> the great thing about working from home is that if your password suddenly magically does not work (because you have caps lock on) there is no IT department to call up and make you look really stupid
[09:28] <screen-x> gord: VPN is the solution to that particular problem :)
[09:28] <gord> i also totally did not just spend a few minutes trying to figure out why my ssh private key would not unlock
[09:28] <kazade> morning popey
[09:29] <kazade> anyone got snow?
[09:29] <andylockran> kazade: a little in brum this morning
[09:29] <andylockran> car frozen
[09:29] <andylockran> then passenger door decided to unfreeze on the M42
[09:29] <kazade> heh
[09:29] <Darael> gord: because you have caps lock on, or, sometimes, because you've been SSHing to several machines and got the passwords confused.
[09:30] <MooDoo> kazade: zip here in nottingham
[09:30] <kazade> nothing here in Pinner (nw London)
[09:30] <Apacheuk> more ice than snow.... the dog nearly got his tongue stuck to a bench aka Dumb and Dumber :)
[09:32] <andylockran> :)
[09:32] <kazade> I see you don't have anything either popey :)
[09:33]  * kazade ponders writing a del.icio.us clone
[09:33] <kazade> Canonical should make a social bookmarking service :)
[09:33] <kazade> that uses the U1 single signon
[09:34] <popey> :) kazade
[09:34] <popey> co-workers still not in
[09:34] <MooDoo> popey: more work, or just peace and quiet
[09:35] <popey> well, one who currently is here is giving me the details of his "snip"
[09:35] <andylockran> sohaha
[09:35] <popey> I'd rather the rest turned up and told us about the drunken antics last night
[09:36] <andylockran> quite
[09:37] <andylockran> MooDoo: you about?
[09:38] <MooDoo> andylockran: only in body
[09:40] <daubers> Morning
[09:40] <screen-x> \o daubers
[09:41] <Flashtek> o/
[09:44] <kazade> o/ daubers
[09:44] <Flashtek> so, who has snow ?
[09:46] <popey> http://popey.com/webcam/ gentle dusting here
[09:47] <andylockran> ah, that's nice
[09:47] <andylockran> colleague turned up to the office with bacon butty for me
[09:47] <andylockran> perfec'
[09:47] <andylockran> (in the style of the Darling buds of May)
[09:52] <screen-x> Flashtek 4/10 here, large fluffy flakes
[09:53] <nperry> screen-x: where are you
[09:54] <screen-x> nperry: cardiff
[09:55] <MartijnVdS> didn't that explode last year?  8-)
[09:55] <screen-x> MartijnVdS: cardiff??
[09:56]  * screen-x has just anaesthetised his lip, very odd sensation
[09:56] <czajkowski> screen-x: why ?
[09:57] <screen-x> czajkowski:  bonjela for uber mouth ulcer.
[09:57] <exobuzz> try it on other body parts as an experiment perhaps? :)
[09:58] <exobuzz> or not.
[09:58] <screen-x> I'll take the latter option
[09:58] <exobuzz> that would be my choice too, but then I thought to offer up both for fairness
[10:00] <exobuzz> bah. first game from humble indie bundle complaints about my opengl. .. never again ati.. never again
[10:01] <exobuzz> Braid needs a OpenGL 3.x video card + proprietary drivers (AMD/Ati or Nvidia). .. hmm.. need an upgrade then.
[10:02] <czajkowski> ohhh yummy bonjela
[10:02] <screen-x> it hurt for the first 30 seconds!
[10:03] <andylockran> czajkowski: you a fan?
[10:03] <andylockran> http://www.facebook.com/search.php?q=bonjela&init=quick&tas=search_preload#!/group.php?gid=2233195172
[10:04] <nperry> screen-x: must mean that the snow is on the way us more then :)
[10:04] <nperry> +likely
[10:10] <MartijnVdS> screen-x: yes, Cardiff.. I saw it on BBC last year.. program called "Torchwood" or something? ;)
[10:10] <screen-x> oh, I haven't watched that, did they blow up cardiff? how exciting!
[10:11] <jpds> screen-x: They torched the wood in Cardiff.
[10:12] <Apacheuk> anyone seen the video of the iphone app that translates signs on the fly? I waiting for when I put a fish in my ear
[10:13] <MartijnVdS> they have translation of sign language now?
[10:13] <Apacheuk> MartijnVdS: sort of :) http://bit.ly/dOhbPh
[10:14] <MartijnVdS> Apacheuk: translating to/from sign language would rock even harder imho :)
[10:14] <Apacheuk> not convinced yet tho, looks like it would be very easy to fake
[10:14] <MartijnVdS> Then we could tell when the lady on TV is actually calling for a deaf uprising 8-)
[10:22] <popey> zoiks, co-workers have arrived with harrowing stories from last night
[10:22] <popey> glad I didn't go
[10:23] <andylockran> harrowing?
[10:23] <xyzee> Hi. I am trying to enable personal file sharing on a lap top, but the option to install required software is greyed out. please help
[10:33] <screen-x> xyzee: try system > administration > package manager > reload
[10:33] <screen-x> synaptic package manager
[10:37] <czajkowski> Heavy snow falling
[10:37] <popey> where?
[10:38] <czajkowski> Bath
[10:38] <czajkowski> coming down pretty heavy
[10:38] <popey> ah
[10:39] <nperry> czajkowski: Yes that means its coming by way :)
[10:39] <nperry> I give it 10mins before it starts coming down
[10:40] <screen-x> pretty much stopped here
[10:41] <czajkowski> nperry: less of the being happy mister!
[10:41] <nperry> czajkowski: I love snow, get to play :)
[10:42] <nperry> Best thing I ever brought was my 4x4 :-)
[10:43] <nperry> Oh what did I say
[10:43] <andylockran> yeah, I've borrowed the Landy today to get from Brum to Notts
[10:43] <nperry> Its just starting here
[10:44] <nperry> Brum had some?
[10:44] <screen-x> mmm a RRS would be rather handy right now
[10:44] <nperry> I just spoke to my brother and he hasn't got any
[10:44] <andylockran> yesh
[10:45] <andylockran> South Brum, Solihull.
[10:45] <nperry> Hes in Redditch
[10:45] <andylockran> not far then,.
[10:46] <nperry> I use to live there before I moved down to the country :/
[10:46] <nperry> Thats one big snow cloud above
[10:49] <nperry> Wish I didn't salt our yard now :(
[10:50] <Apacheuk> hopefully it'll snow a bit here and I can go out and play/rescue people :) http://picasaweb.google.com/lh/photo/9fFDc60Vr0qCam8DZhtlxpDVZlj5bZiH1LapO3lWH8I?feat=directlink
[10:50] <xyzee> screen-x reload what?
[10:51] <screen-x> xyzee: there is a reload button, in there, it does the equivalent of a "sudo apt-get update" which refreshes the package lists.
[10:51] <screen-x> That should make the required samba packages available to install through the sharing dialog
[10:52] <Flashtek> Mingalaba
[10:52] <czajkowski> nperry: big flurries coming down here now
[10:55] <daubers> What a swine!
[10:55] <screen-x> is it flying daubers?
[10:56] <daubers> No! I've got a natty partition on my laptop, and grubs just helpfully concactenated all my previous linux versions into a "previous linux versions" menu, missing my maverick install!
[10:57] <czajkowski> oh pretty cool http://www.engadget.com/2010/12/16/google-maps-5-0-hits-android-includes-new-3d-map-view-and-offli/
[10:57] <popey> yeah, looks nice
[10:58] <screen-x> I think the offline feature is only for routes, I couldn't find a way of caching specific areas for offline use.
[10:58] <Flashtek> screen-x: I did..
[10:58] <xyzee> screen-x: hum, I reloaded software lists and gnome-user-share, but no joy
[11:01] <daubers> I think I may have hit 686076
[11:01] <daubers> ish
[11:01] <daubers> bug 686076
[11:02] <andylockran> is there a way to chmod leaving the current permission as is..
[11:03] <andyc> Hi all
[11:03] <andyc> Anyone have any experience with NFS4 and LDAP?
[11:03] <andylockran> i.e. I want to change a group of files to be group rwx.. without altering their current permissions
[11:03] <andylockran> andyc: in what context?
[11:03] <screen-x> andylockran: chmod g+rwx
[11:03] <popey> andylockran: g+rwg
[11:03] <andylockran> screen-x: affects no other perms?
[11:03] <andylockran> qls
[11:03] <popey> s/rwg/rwx
[11:03] <popey> yes
[11:03] <czajkowski> nperry: stopped
[11:04] <popey> the g+ means group
[11:04] <andylockran> perfect
[11:04] <andylockran> u+ means user?
[11:04] <popey> ya
[11:04] <popey> guess what w+ means ;)
[11:04] <andyc> I have a server which exports nfs shares, and also is my LDAP server
[11:04] <andyc> When I mount shares on the client, I get owner/group as nobody/nogroup
[11:04] <andyc> When authenticating as LDAP
[11:05] <screen-x> popey: I didn't know 'w' worked, I always use 'o'
[11:05] <andyc> I have had it fixed for a while by making the server an LDAP client - But I'm a little unsure about whether the LDAP server should also be a client
[11:06] <andyc> I would prefer to keep users on the server limited to root and a local user
[11:06] <screen-x> andyc: you can specify an ldap filter for users that can login
[11:06] <screen-x> so you can restrict to member of a group.
[11:07] <screen-x> Also need to make sure that you can login to the ldap server when ldap is down...
[11:07] <andyc> So I could run the client on the server but just restrict it so actually noone can log into the server via ldap?
[11:07] <screen-x> you could do, or restrict it to an admin group
[11:07] <andyc> Yeah sure
[11:07] <andyc> Hmm
[11:08] <andylockran> popey: w+  = anyWon?
[11:08] <andyc> Thanks screen-x
[11:09] <andylockran> yeah, for ldap logins when server is down, check out nsswitch.conf
[11:09] <screen-x> chmod w+w doesn't work.. o+w does though..
[11:09] <andylockran> there's a NOTFOUND parameter if it can't find the ldap server, and there's also ldap excluded users from lookup.
[11:10] <andylockran> which means if you have a user on the server, it'll never check ldap for it, just let you log right in as teh localuser account (whereas without that option.. it'll look up a user in ldap first... etc)
[11:10] <davmor2> popey: is w+ Wotevvvvva?
[11:11] <andyc> Thanks andylockran I'll have a play with that later
[11:11]  * czajkowski kicks davmor2 and goes back to work 
[11:12] <davmor2> czajkowski: Hello you alcofrolic :P
[11:12] <czajkowski> I was being sociable!
[11:13] <andyc> While on the subject of LDAP - I have given my LDAP server a new hostname, and recreated certs etc,and auth works fine through a tty.  However when loging in through gdm, It authenticates but then doesn't go any further - No panels etc pop up in Gnome - it was al working before changing the hostname
[11:14] <andyc> I assume this is something to do with pam and gdm
[11:14] <andyc> Does anyone know if this caches somewhere or if there is a cache I can clear?
[11:14] <andyc> It happened on all my clients - one of which I just gave up with and reinstalled but there must be an easier way to resolve this...
[11:16] <andyc> I was going to put a post on the Ubuntu forum if no one knew off hand an easy solution here
[11:16] <davmor2> czajkowski: That's the new name for it is it ;)
[11:16] <nperry> Damm, snow is stopping here to :(
[11:17] <czajkowski> nperry: :)
[11:17] <andyc> Sunny here in Plymouth :)
[11:20] <Apacheuk> andyc: I think you had a few flakes last night though? I normally work in Plymouth, in fact weather permitting will be down there next week
[11:20] <Flashtek> andyc: where in Plymouth ?
[11:26] <andylockran> fantastic
[11:26] <czajkowski> http://hypatia.ca/2010/12/sunsets-arent-delicious/  for folks who were looking at a delicious alternative, a possible one may be developed
[11:26] <andylockran> our 'log analysis howto' wiki page is called 'Scatology'
[11:27] <andylockran> andyc you rebooted?
[11:27] <andylockran> ah
[11:27] <andylockran> nscd
[11:28] <andylockran> that might need restarting (I think that's correct)
[11:28] <andylockran> that cache's user data
[11:28] <andylockran> not sure if it's still used
[11:29] <directhex> nscd sucks
[11:29] <directhex> basically, the nscd supplied with libc is unfit for purpose
[11:29] <directhex> apt:unscd is a vastly less broken implementation
[11:30] <czajkowski> .c
[11:30] <directhex> you want to use a nscd of some kind if any of your nss values are being read from a network - NIS, LDAP, etc
[11:33] <Flashtek> andyc: I am in Saltash
[11:34] <Apacheuk> Flashtek: I stay in Saltash when I'm down there
[11:36] <Flashtek> Apacheuk: sweet.. PL12 4TA
[11:36] <Apacheuk> not sure of the post code, but its off New Road
[11:37] <Apacheuk> Adit Lane I think its called
[11:41] <andyc> andylockran: Yeah it's all been rebooted
[11:41] <andyc> Not really sure whats up I'm not at home atm so can't check the logs
[11:41] <andyc> It authenticates fine but gnome just doesn't start properly
[11:42] <andylockran> ok, would have to take a closer look
[11:43] <Apacheuk> we got snow now...
[11:45] <andyc> Flashtek: Working in PML so right on the front
[11:46] <andyc> Apacheuk: Yeah we had some snow last night and a small blizzard this morning but now it's sunny
[11:47] <Apacheuk> andyc: I was just talking to someone in the office and he's gutted, he supposed to fly home to Newcastle for the weekend and the flight has been cancelled.... but sunshine in Plymouth
[11:51] <andylockran> my little bro is meant to be travelling down from Newcastle today to be home for Christmas
[11:52] <andyc> screen-x: With regards that user filtering... Will that stop users authenticating with LDAP but still list all LDAP users when I type getent passwd?
[11:53] <brobostigon> morning all,
[11:53] <andyc> I think the issue I had was that idmapd wasn't working when the server didn't know about the users/groups
[11:53] <andyc> Hence I made the server a client as well
[11:54] <andyc> morning brobostigon
[11:54] <brobostigon> morning andyc
[11:55] <andylockran> andyc, that depends how you setup the filter
[11:55] <andylockran> whether you filter out all users except ones you want to login,
[11:56] <andylockran> or whether you set the base to all the users, then just allow 1 group login rights.
[11:56] <daubers> If I have a server running kvm, what do I need to do to be able to route into the virtal servers?
[11:56] <andyc> Is it sensible to have an LDAP server acting as a client of itself?
[11:56] <andyc> That doesn't make much sense
[11:56] <andyc> But should the box the server is running on also run an LDAP client?
[11:57] <andyc> It's the only way I found of fixing the idmapd issue
[11:58] <andyc> Never mind I think I'm getting my head in a twist over very little
[12:02] <andyc> Infact I don't know why I didn't want the server running an LDAP client - it makes far more sense when I think about it...
[12:03] <andylockran> or whether you set the base to all the users, then just allow 1 group login rights.
[12:04] <andyc> Yeah - probably admin I guess
[12:04]  * daubers kicks self
[12:08] <kazade> Snow just moved up to about 5/10
[12:08] <MartijnVdS> it's 6/10 here
[12:10] <kazade> ok, it's definitely settling now
[12:11] <andyc> It has almost all melted here now :'(
[12:15] <kazade> right... where has everything outside my window disappeared/
[12:15] <kazade> ?
[12:16] <kazade> all I see is white!
[12:16]  * kazade checks the popey cam
[12:17] <ubuntuuk-planet> [Jamie Bennett] Linaro, a winning idea - http://www.linuxuk.org/2010/12/linaro-a-winning-idea/
[12:20] <cyber-cafe05> j
[12:20] <gord> i'm getting graze.com boxes 3 days late these days =\ time to unsubscribe i guess
[12:21] <bigcalm> gord: you realise that this is the busy time for Royal Mail?
[12:21] <Apacheuk> OH no :) works VPN has just gone down.... can't connect and its still snowing here
[12:22] <gord> bigcalm, i don't see why that affects me subscribing or not, i dont' get fruit at all anymore and the boxes are very late, thus i don't want to pay for it
[12:22] <czajkowski> gord: factor in snow
[12:22] <bigcalm> Fair enough
[12:22] <jpds> gord: Go to Tesco's for fruit?
[12:22] <gord> if things get busy, you hire more people, you make things work well or you lose customers, ala, me
[12:22] <czajkowski> jpds: potentially
[12:23] <bigcalm> gord: you're blaming Graze for Royal Mail's work load
[12:23] <jpds> czajkowski: Debatable, actually.
[12:23] <gord> bigcalm, i'm blaming graze for choosing to use royal mail
[12:23]  * bigcalm shrugs
[12:24] <czajkowski> jpds: possibly
[12:43]  * popey pokes kirrus 
[12:50] <czajkowski> I may swing for nationalexpress
[12:51] <Azelphur> I think I've become evil, http://forums.alliedmods.net/showthread.php?p=1372474
[12:51] <Azelphur> post #4 \o/
[12:54] <czajkowski> http://twitpic.com/3gqee6
[12:56] <Apacheuk> can I set up a crontab entry as root and have it run a particular command as a different user?
[12:58] <X3N> yes
[12:59]  * daubers has the worlds _weirdest_ routing problem
[12:59] <X3N> should be able to do that with something like su -c user command
[13:00] <daubers> I can ping everything except the router, and I can't get out of the building...
[13:01] <Nafallo> daubers: stop blocking icmp type 8 on the router?
[13:02] <daubers> Nafallo: Everything else behind the router can get out though
[13:02] <daubers> and ping the router
[13:02] <daubers> Ah ha!
[13:03] <daubers> for some reason the default gatewat had a metric of 100 on it
[13:03] <daubers> stupid thing
[13:04] <Flashtek> daubers: kick it
[13:05] <daubers> Now if only I could figure out why the stupid guests aren't using the bridge correctly...
[13:08] <Flashtek> cause they is muppets ?
[13:08] <daubers> GAHHHH
[13:08] <daubers> Bring the whole thing down, restart it and it's fine
[13:08] <daubers> stupid blasted thing
[13:09] <Flashtek> lol
[13:20] <sam_010203> anyone home?
[13:20] <Flashtek> no
[13:20] <sam_010203> cant get in cos of the snow?
[13:20] <sam_010203> :)
[13:20] <Flashtek> the door is blocked..
[13:21] <Flashtek> you'll have to speak up, there is too much snow..
[13:21] <sam_010203> really???  Flashtek  where u at?
[13:21] <Flashtek> Plymouth
[13:21] <sam_010203> WHERE ARE YOU AT?
[13:21] <sam_010203> lol
[13:21] <sam_010203> cool
[13:21] <Flashtek> PLYMOUTH !
[13:21] <sam_010203> IS THAT IN THE UK?
[13:21] <sam_010203> lol
[13:23] <sam_010203> anyway  i come for a reason...
[13:23] <sam_010203> is there any nice irc chat clients that have smilies and coloured text and stuff out there?  im using ......Xchat gnome now  and its all so ugly.
[13:24] <sam_010203> and i didnt like Xchat.
[13:29] <andyc> I use irssi but I'm afraid it doesn't have smileys
[13:30] <brobostigon> it does have smileys, :) , ascii, nothing flashy,
[13:31] <sam_010203> ohh
[13:31] <dwatkins> I use irssi because it doesn't have smileys.
[13:32] <brobostigon> dwatkins: i use irssi, and types this smiley in irssi :)
[13:32] <brobostigon> typed*
[13:32] <dwatkins> I prefer to not have 8 ) translated in logfiles.
[13:32] <sam_010203> :)
[13:32] <sam_010203> yeah but i want smilies~~~
[13:32] <sam_010203> make the chat look so much cooler lol
[13:33] <brobostigon> sam_010203: irssi does acsii smileys,  not picture smileys.
[13:33] <dwatkins> I don't see the need for graphical smileys, but if you want them, go ahead and use a client which has them, sam_010203 :)
[13:33] <sam_010203> dwatkins,   thats what im looking for.
[13:33] <brobostigon> brb, getting some crumpet. hungry.
[13:34] <dwatkins> sam_010203: ugly is quite subjective - I quite liked xchat; depends on your OS as well, of course.
[13:35] <sam_010203> dwatkins,   if aesthetics where not important we would all be using the same themes given way back in ubuntu 9.   i just want something that looks a little better than a banking terminal. lol
[13:35] <sam_010203> are you guys all using ubuntu??????  stupid question I know.....
[13:35] <dwatkins> Beauty is in the eye of the beholder. I quite like the terminal, so I would reccomend irssi.
[13:36] <brobostigon> sam_010203: debian sid here, right now.
[13:36]  * dwatkins goes in search of a bank terminal
[13:37] <sam_010203> I seem to get mac windows users think im a geek cos i use linux (and I cant after years of using ubuntu, code my way out of a paper bag) and people who use linux think im a noob cos im using ubuntu...  MEH!
[13:37] <sam_010203> dwatkins,   lol....   do u remember the old cash machine green screens?  thats what xchat reminds me of.
[14:07] <andylockran> do Virgin use DPI ?
[14:07] <andylockran> and if so, can I find out connections that are on it.
[14:07] <bigcalm> dpi?
[14:07] <andylockran> deep packet inspection
[14:07] <bigcalm> Oh, no idea
[14:08] <Darael> andylockran: Craft suspicious packets and send them out, see which ones get investigated?
[14:22] <andylockran> :p
[14:52] <knightwise> afternoon!
[14:57] <AlanBell> ivanka: do you have an ubuntu wiki page?
[14:57] <brobostigon> afternoonings knightwise
[15:00] <knightwise> hey brobostigon how are you
[15:00] <knightwise> $hey AlanBell
[15:01] <brobostigon> knightwise: could be better, how about you? was just going to boot into a natty daily live usbfor playing.
[15:01] <knightwise> Fighting SAMSUNG KIES to upgrade the firmware on my GalaxyS
[15:01] <knightwise> $
[15:01] <brobostigon> brb
[15:06] <knightwise> Aarg
[15:06] <knightwise> Fuuuuu you stupid galaxy S upgrade program ...
[15:09] <brobostigon> o/
[15:22] <Azelphur> lol, VFast has no antenna near me :(
[15:22] <Azelphur> my brother wants to send them a mail asking them to attach an antenna to the block of flats just around the corner :D
[15:25] <marsilainen> hello
[15:25] <marsilainen> I have a virtual server running ubuntu server edition
[15:25] <marsilainen> there are 3 IPs allocated to that server
[15:26] <marsilainen> following the documentation of my hosting provider these are setup as eth0, eth0:0, and eth0:1
[15:26] <marsilainen> is there a way to get iptables to set rules to act on only one of those interfaces?
[15:26] <marsilainen> if I create a rule and try to say the interface should be eth0:1 then it seems to balk
[15:29] <bigcalm> marsilainen: this might help: http://www.mail-archive.com/psyche-list@redhat.com/msg10872.html
[15:29] <marsilainen> bigcalm: ah, I see - I think that should work for me, many thanks
[15:30] <bigcalm> There is also app-firewall-advanced, might be of interest
[15:34] <ivanka> AlanBell: a very empty one :-)
[15:35] <ivanka> AlanBell: why?
[15:39] <czajkowski> ivanka: I suspect he's going to poke you re membership
[15:40] <ivanka> czajkowski: I really should do it, shouldn't I?
[15:41] <czajkowski> ivanka: aye you should :)
[15:43] <czajkowski> ivanka: see pm :)
[15:56] <john_doe_azerb> hi guys
[15:56] <john_doe_azerb> I'm a c++ developer from Azerbaijan currently studying in Germany
[15:57] <john_doe_azerb> :D
[15:57] <john_doe_azerb> checking my chazZilla client app
[15:57] <john_doe_azerb> write something please
[15:57] <john_doe_azerb> if you can read me
[15:57] <john_doe_azerb> :D
[15:57] <bigcalm> .
[15:57] <Lcawte> hm, ubuntuuk-planet is cool, anyone have any idea of the source/whatever?
[15:58] <davmor2> john_doe_azerb: No sorry can't see a thing honest Gov'nor
[15:58]  * popey tickles john_doe_azerb 
[15:58] <john_doe_azerb> haha :D
[15:59] <popey> Lcawte: its an eggdrop bot which runs on the ubuntu uk loco server
[15:59] <john_doe_azerb> thx guys
[15:59] <john_doe_azerb> seems to work now
[15:59] <czajkowski> popey: you're very affectionate today :)
[16:00] <Lcawte> popey: any idea on the module or whatever? Or is it core?
[16:00]  * popey lobs a snowball at czajkowski 
[16:00] <popey> Lcawte: poke Daviey - he set it up
[16:00] <Lcawte> Daviey: poke. ^
[16:00] <Daviey> Lcawte: The planet bot?
[16:00] <Daviey> ubuntuuk-planet ?
[16:00] <bigcalm> czajkowski: did you sort out PhoneyExpress?
[16:00] <Lcawte> yup
[16:00] <john_doe_azerb> over & out
[16:01] <Daviey> Lcawte / popey : That was X3N that set it up :)
[16:01] <popey> hah
[16:01] <Daviey> i just know how to start the damn thing :)
[16:01] <popey> :D
[16:01] <popey> you know more than me then
[16:01] <Daviey> <-- shoulders slope :)
[16:01] <bigcalm> Eggdrops are fun
[16:01] <bigcalm> Though scripting is in TCL
[16:01] <Daviey> Eggdrop sucks, hard.
[16:01]  * davmor2 drops a shovel full of snow popey's back,  Oi you trying to get me fired it's my job to pick czajkowski I thought we had the roles nice and clear ;)
[16:01] <popey> ah, my bad
[16:02] <Lcawte> X3N: poke ^ (after the module that ubuntuuk-planet runs)
[16:02] <czajkowski> bigcalm: nopes site still is giving errors, ringing them to tel them their system was broken was entertaining
[16:02] <czajkowski> popey: :p
[16:02] <bigcalm> You could write an irssi perl script to parse the planet feed every X minutes.
[16:03] <czajkowski> davmor2: oi oi sharing
[16:03] <czajkowski> bigcalm: my old job was testing I saw lots and lots of tcl error codes! a lot uglier
[16:03]  * davmor2 positions self on the roof of czajkowski's build after rolling the worlds biggest snowball
[16:03] <bigcalm> czajkowski: I never bothered to get my head around TCL. Think I'll keep it that way ;)
[16:04] <czajkowski> smart
[16:04]  * Daviey TCL's bigcalm 
[16:04]  * bigcalm wibbles
[16:04] <czajkowski> davmor2: I'll rename this channel to torture channel!
[16:04] <bigcalm> Gritter has just gone down the road, yay
[16:05] <davmor2> bigcalm: Yay! except for all the salty paint scratches that have just been inflicted on all the cars
[16:06] <bigcalm> davmor2: I keep my car on the drive way ;)
[16:06] <Lcawte> eww, 2x 1GB ram chips are not a nice price
[16:06]  * davmor2 gives czajkowski a hug being as it's close to Christmas and all that
[16:07] <diplo> popey, (112 quid once you get the cash back) - I'm interested? ?? Where how do you get the cash back as it's £200 onthe site you linked to
[16:07] <popey> read the page?
[16:07] <popey> it has a link to hp site
[16:08] <diplo> lol big pink bit and i totally missed it
[16:08] <diplo> Sorry :D
[16:08] <popey> :)
[16:08] <popey> np
[16:09] <diplo> Hmm can i find £212 before the 31st dec though :(
[16:09] <diplo> I suppose the credit card could take another small bashing
[16:16] <X3N> what's up?
[16:16] <popey> X3N: Lcawte was asking about source for the ubuntuuk-planet bot
[16:16] <X3N> oh right
[16:18] <X3N> it's an eggdrop and a script called rss-synd http://labs.wizzer-it.com/
[16:18] <X3N> seems that their website is no longer
[16:20] <X3N> I can send it on if needed
[17:31] <victorp> hi all - added this wiki recently to explain a bit more what we do in certification. https://wiki.ubuntu.com/certification - feedback will good
[17:40] <OmNomSequitur> victorp: how was your breakfast?
[17:41] <victorp> good, some time back really
[17:41] <czajkowski> victorp: lotta pages on certifcation already https://wiki.ubuntu.com/Home?action=fullsearch&context=180&value=certification&titlesearch=Titles
[17:42] <victorp> czajkowski - lots of pages with certification in the title yes
[17:42] <victorp> not many talking about Ubuntu Certified - really
[17:49] <AlanBell> victorp: is this Chris Kenyon's area?
[17:50] <victorp> AlanBell - he does the comercial side of selling the accounts
[17:51] <victorp> my team does the engineering side of testing it , and making sure that all those systems keep working with SRUs and so on
[17:53] <AlanBell> cool
[17:53] <AlanBell> we need to get more of that kind of information out
[17:53] <AlanBell> it is *so* hard to buy a computer in the UK with Ubuntu or nothing
[17:54] <victorp> I agree! :)
[17:54] <victorp> yes, it is
[17:54] <victorp> atleast this should point out to which ones you can buy and know that they would work ok
[17:54] <AlanBell> we talk to Chris and he tells us all this wonderful stuff that is going on at the OEM level in taiwan, and in the UK the retailers refuse to trade with people who want Ubuntu
[17:55] <AlanBell> anyhow I have to pop out for a while o/
[17:55] <victorp> thanks for the feedback!
[17:57] <kirrus> popey: you poked me?
[18:08] <tvbuntu> Hello people.I want to modify a mencoder script.Do have some of you time to help me?
[19:04] <davmor2> AlanBell: no it isn't what you do is buy bits, put it together have a better pc for a similar price and install what you want on it ;)
[19:12]  * czajkowski trips davmor2 up 
[19:12] <popey> kirrus: yeah, saw your tweet about MOTU / Ubuntu server
[19:23] <kirrus> popey: yup. There's a reason why I stopped trying to persuade work to switch to Ubuntu Server :(
[19:23] <kirrus> I've also been pushed before to try using a support contract, but there's no way I'm going to be able to persuade them to use something we should be able to maintain ourselves
[19:25] <AlanBell> davmor2: good luck with that if you want a laptop
[19:45] <knightwise> hey everyone
[19:51] <knightwise> hey airballman
[19:53] <davmor2> AlanBell: With laptops it's who you know :D
[20:04] <DanielRM> Hello all.
[20:08] <DanielRM> Hmm, minor fail there. Got this channel mixed up with politics-uk and tried changing the topic.
[20:08] <DanielRM> Thankfully ChanServ's a bit more intelligent than me.
[20:18] <dutchie> hmm, why does the iplayer think i have javascript disabled
[20:36] <Craig_Dem> I have that same problem but on mac.
[20:36] <Craig_Dem> Are you running chrome dev?
[20:38] <dutchie> yes
[20:40] <Craig_Dem> Must be a bug then
[20:45] <Azelphur> TOTALPEAK=$((${TOTALPEAK}+${PEAKUSAGE_IN}000+${PEAKUSAGE_OUT}000))
[20:45] <Azelphur> why would this freeze my sh script? :(
[20:46] <dutchie> not expecting this to be the cause, but wouldn't ${PEAKUSAGE_IN}*1000 make much more sense?
[20:46] <dutchie> and/or look sane
[20:46] <Azelphur> I didn't write most of this, I'm just hacking it a bit :p
[20:47] <Azelphur> and he uses 000 throughout the script
[20:47] <Azelphur> so might as well stick the same
[20:49] <Azelphur> dutchie: ah your right, the 000 was killing it
[20:55] <_H> "sorry the product doesn't have ubuntu as an operating system " says dell sales we where talking about a Inspiron Zino
[20:58] <Azelphur> dutchie: I'm still having issues
[20:59] <dutchie> Azelphur: i'm not some bash scripting guru, just a lucky guess at something that looked odd ;)
[20:59] <Azelphur> http://pastebin.com/w6VkX2Ya
[20:59] <Azelphur> oh :p
[20:59] <Azelphur> the totalpeak stuff is causing breakage :(
[20:59] <Azelphur> "syntax error: 0++" at the last line of the file if I have the TOTALPEAK stuff in there
[21:04] <ali1234> rewrite it in python geez
[21:04] <dogmatic69> anyone know why i cant install openjdk-6-jre-headless, i get thing like "Failed to fetch .... 404 <some ip address>" about 10x
[21:04] <Azelphur> ali1234: python on DD-WRT? :P
[21:04] <dogmatic69> ubuntu 10.10 x64 server
[21:04] <ali1234> then rewrite it in C
[21:04] <Azelphur> ali1234: I think I found the problem, the second TOTALPEAK line is being evaluated to "0++"
[21:04] <Azelphur> so those variables arn't working
[21:04] <Azelphur> yet they work fine in the echo line :/
[21:05] <ali1234> is that shell code... building javascript code?
[21:05] <ali1234> that's horrible
[21:05] <Azelphur> ali1234: I didn't write it
[21:05] <Azelphur> I'm just doing a small mod
[21:05] <ali1234> this is why you never write code like this in the first place
[21:05] <Azelphur> lol
[21:05] <ali1234> even a small change is a nightmare
[21:06] <Azelphur> ali1234: so any idea?
[21:06] <ali1234> no. just rewrite it properly
[21:07] <Azelphur> >.>
[21:11] <ali1234> actually i do have some idea
[21:11] <ali1234> the snippet is building a string which is a javascript statement by joining a bunch of other strings together
[21:11] <ali1234> thats why its just 000
[21:11] <ali1234> you need to escape everything appropiatly for what you wantit to do
[21:12] <Azelphur> ali1234: the javascript isn't failing, the shell script is
[21:12] <ali1234> yes
[21:12] <Azelphur> oh
[21:12] <ali1234> TOTALPEAK=0
[21:12] <Azelphur> so I can't add them together because they are strings?
[21:12] <ali1234> the other two equal ""
[21:12] <Azelphur> I need to integerize them
[21:12] <Azelphur> I see
[21:13] <Azelphur> any idea how I'd convert them to ints?
[21:13] <ali1234> "0"+"+"+""+"+"+"" = "0++"
[21:13] <ali1234> i wouldn't
[21:13] <ali1234> i'd let the javascript do it
[21:13] <Azelphur> ah ok
[21:13] <ali1234> make sure the others have a valid value
[21:14] <ali1234> then it will evalute to "0+0+0" which javascript will see and turn back into int 0
[21:14] <ali1234> but only if the resulting javascript doesn't have quotes around it
[21:14] <ali1234> because javascript is weakly typed
[21:15] <Azelphur> hehe
[21:15] <ali1234> basically just put all the shell variables into javascript variables and then write the logic in javascript
[21:16] <ali1234> this would involve completely rewriting the script though
[21:17] <ali1234> but it would at least make more sense
[21:18] <ali1234> i would probably go one step further and have this script deliver the variables as xml, and then make the javascript page separately. it could then update in near real time too
[21:19] <ali1234> i have some code that does this somewhere.........
[21:20] <Azelphur> hehe
[21:20] <ali1234> might have lost it in the great HD crash of '08 though
[21:29] <ali1234> hmm i hope i didn't lose it, some bits of that code were quite good
[21:31]  * popey tickles MattJ with a prosody install on his server
[21:31] <MattJ> Jabber \o/
[21:31] <MattJ> Oh
[21:31] <MattJ> Prosody \o/
[21:33] <popey> MattJ: is there much config to do?
[21:34] <popey> if i just want a room or two for home internal use?
[21:34] <MattJ> Change VirtualHost "localhost" to VirtualHost "yourmachinename"
[21:34] <MattJ> and ditto for the conference.example.com -> conference.yourmachinename
[21:35] <MattJ> Everything should "just work"
[21:36] <MattJ> and you'll want http://prosody.im/doc/creating_accounts
[21:36] <popey> ta
[21:38] <ikonia> prosody ?
[21:38] <MattJ> Jabber/XMPP server
[21:40] <ali1234> how lightweight is it? can it run on a machine with 8mb of ram?
[21:40] <MattJ> People run it on routers
[21:41] <ikonia> a 2.6 kernel needs more than 8mb of ram
[21:41] <ali1234> who needs 2.6?
[21:41] <MattJ> :P
[21:41] <ali1234> also, that's false
[21:41] <ikonia> I disagree
[21:44] <ali1234> it seems that openwrt has packages for it anyway, that's pretty lightweight then...
[21:50] <DanielRM> Hmmm, anyone fancy helping me with MySQL?
[21:50] <Azelphur> !ask | DanielRM
[21:50] <Azelphur> :p
[21:51] <DanielRM> Azelphur: cheeky beggar. :P
[21:51] <DanielRM> I'm trying to do a global search and replace of a string within a single database anyway.
[21:52] <Azelphur> no idea :P
[21:52] <ikonia> single database ?
[21:52] <ikonia> every row of every table ?
[21:52] <DanielRM> ikonia: yes.
[21:52] <ikonia> I would export it to a dump file, and use sed on it
[21:52] <ikonia> then re-import it
[21:52] <ali1234> me too
[21:52] <popey> me too :)
[21:53] <popey> mysqldump is handy
[21:53] <ali1234> sure is AOL in here
[21:53] <DanielRM> Heh, thought that might be the answer. Tried googling the question and most people ran away from it.
[21:53] <ikonia> AOL ?
me too</AOL>
[21:54] <ali1234> http://en.wikipedia.org/wiki/Me_too
[21:54] <ali1234> even has wikipedia page
[21:54] <popey> blimey
[21:54] <DanielRM> AOL would be 'teen girls' going ASL every moment, surely?
[21:54] <DanielRM> Or driving people mad with the Eternal September.
[21:55] <ali1234> "me too" was a specific kind of phenomenon where trolls would post "i have a 1GB ftp site who wants access?" on usenet, with obvious results
[21:55] <ali1234> ie every post from the third onwards was "me too"
[21:57] <ali1234> of course there were no actual teen girls on the internet at this time, and 1GB was considered to be a very large amount of data
[21:57] <dutchie> sigh, offlineimap seems to be hanging again
[21:58] <popey> dunno what you're doing that I'm not but I find offlineimap on 10.10 to be very reliable
[21:58] <dutchie> are you using folders with 30000 messages in?
[21:58] <dutchie> maybe i am Doing It Wrong
[21:59] <popey> dunno, how would I check?
[21:59] <dutchie> i might just leave it for a bit and see if it sorts it out
[21:59] <popey> I'm syncing my gmail which has about 3GB mail in it
[22:00] <ging> 3 gebillion emails?
[22:00] <DanielRM> Ach. Didn't realise mysqldump dumped to stdout.
[22:01] <popey> hehe
[22:01] <DanielRM> Given the amount of data that was quite painful for my tty.
[22:01] <popey> CTRL+C surely?
[22:02] <ali1234> can take a whle on a remote server
[22:02] <DanielRM> ali1234 got it in one.
[22:03] <DanielRM> Using putty in Windows at the moment.
[22:04] <DanielRM> Dumped to a file now anyway.
[22:05] <DanielRM> Now to sed the database, get the site down for maintenance and upload the new file.
[22:08] <DanielRM> Yay, that's done it.
[23:03] <Azelphur> Yay, my additions to wrtbwmon are working, http://dl.dropbox.com/u/3832397/screenshots/December%202010/2010-12-17-215241_976x436_scrot.png
[23:03] <Azelphur> \o/
[23:24] <bigcalm> Which one is the bandwidth abuser?
[23:25] <Azelphur> bigcalm: apparently nobody, as you can see everyone is using more or less the same amount
[23:25] <bigcalm> Stop watching TV?
[23:25] <Azelphur> haha