/srv/irclogs.ubuntu.com/2014/11/11/#ubuntu-za.txt

* Symmetri1 writes some code to produce an rrd of hits / second seen in an apache log file05:18
=== Symmetri1 is now known as Symmetria
Symmetriaurgh05:22
Symmetrialibrrd has to be the worst documented api on the planet05:23
Symmetriaaalston@mirror:~/temp$ gcc -o timer -L librrd file_timer.c05:40
Symmetriafile_timer.c:(.text+0x39): undefined reference to `rrd_create'05:40
Symmetriacollect2: error: ld returned 1 exit status05:40
SymmetriaARGH05:40
Symmetriarrd_create is in rrd.h so it MUST be in that library so wtf 05:40
Kilosmorning peeps05:58
Kiloshi ThatGraemeGuy 06:09
ThatGraemeGuymornings :)06:10
Symmetriaurgh06:14
Symmetriaaalston@mirror:~/temp$ cc -L/usr/lib -lrrd -o timer file_timer.c06:14
Symmetriafile_timer.c:(.text+0x41): undefined reference to `rrd_create'06:14
Symmetriacollect2: error: ld returned 1 exit status06:14
Symmetriawhat the hell that is driving me nuts06:14
Kiloseish Symmetria what you breaking06:14
Symmetriakilos Im trying to figure out why the hell it cant find that function in that library06:14
Kilosand you supposed to say morning first06:14
Symmetria:P sorry good morning06:15
SymmetriaIm just grumpy :) 06:15
Kilosgood morning, you server rocked at 2am this morning06:15
Kilosgrumpy so early in the morning doesnt bode well for the rest of the day06:16
Symmetriaholy shit 06:23
SymmetriaIm going to kill something06:23
Symmetrialook at this:06:23
Symmetriaaalston@mirror:~/temp$ gcc -L/usr/lib -lrrd -o timer file_timer.c06:23
Symmetriafile_timer.c:(.text+0x41): undefined reference to `rrd_create'06:23
Symmetriacollect2: error: ld returned 1 exit status06:23
Symmetriabroken right?06:23
Symmetrianow watch...06:23
Symmetriaaalston@mirror:~/temp$ gcc file_timer.c -L/usr/lib -lrrd -lrrd_th -o timer06:23
Symmetriaaalston@mirror:~/temp$06:23
Symmetriaits the argument order06:23
* Symmetria kills things06:23
Kilosgood you sorted it now smile and forget grumpy06:23
bduk1More almal06:25
Kiloshi bduk1 06:26
Kiloshi Spekko 06:55
Spekkohey Kilos06:55
Kiloshoe gaan dit?06:56
Spekkooraait en daar ?06:56
SpekkoWerk werk werk werk :/06:56
Kilosook goed dankie06:56
Kilosdis die lewe en daar nog baie jare voor06:56
Kilosvir jou anyway06:57
SpekkoSodapressin! :? Sigh, nah ek will aftree op 3006:57
Kiloshahaha06:57
Symmetriathere ;p in 10 minutes or so I will know if this stupid code works :P 07:00
SymmetriaIm trying to generate an RRD of how many hits / second Im getting on each mirror07:00
Kilosgood luck07:00
Symmetriaaalston@mirror:~/temp$ ./timer ubuntu.rrd /var/log/apache2/ubuntu-archive.log 30007:00
Symmetriaheh, gotta wait for a coupla updates to see if the rrd is generating properly07:00
ThatGraemeGuywhy re-invent the wheel, someone has surely written a munin plugin for apache access logs07:01
Kiloswhile you waiting start on the deb-delta server07:01
Squirmmorning07:15
Kiloshi Squirm 07:16
Symmetriaheh, wheeeeee07:51
Symmetriamy rrd generator works07:51
Symmetrianow I can graph how many log lines a second are being generated per file 07:51
Symmetriahorribly hacky way of doing things though 07:51
Symmetriaheh, take file, stat it for size, sleep X seconds, seek to old file size, recursive fgets to end of file and count the lines, divide number of lines by sleep delay = got lines per second 07:52
Symmetriashove into rrd and rinse and repeat07:52
ThatGraemeGuyyeah, like i said... that's a solved problem07:54
ThatGraemeGuymunin + apache log plugin07:54
SymmetriaThatGraemeGuy Ive found most of those things croak under huge load 07:55
Symmetriaheh particularly the other code I've got that is geo-locating addresses in the log files and producing per country graphs07:56
Symmetriaheh Im very close to having code (both front and back end) that will produce graphs of hit count per country automatically and show every country graph on a webpage07:56
Symmetriathe geo-location code is already done, its just rather horribly cpu heavy07:57
ThatGraemeGuyah a bit of "not invented here" syndrome... ;-)08:14
Kiloshi SilverCode Xethron 09:03
magespawngood day all09:30
Kiloshi magespawn 09:30
magespawnhi there Kilos09:31
Kilosha Squirm i saw your company add on tv last night09:37
Squirm:P09:37
SquirmIt's quite good09:37
Squirmsaw it for the first time last night too09:37
Kilosyeah\09:37
magespawn?09:40
Kilosfunny name company09:40
KilosSquirm, what is it again09:41
SquirmYuppieChef09:41
Kilosya haha09:41
charlgood morning09:55
charlMaaz: coffee on09:55
* Maaz puts the kettle on09:55
Kiloshi charl 09:55
charlhi Kilos 09:55
charlhow's it going09:55
Kilosgood ty and you ?09:55
charli'm good thanks09:56
MaazCoffee's ready for charl!09:59
Kiloshi gremble 10:03
grembleHey Kilos 10:07
charlhi gremble 10:24
grembleHey charl 10:38
gremblepinfo coreutils, quite a dense read10:39
Kilosoh my12:52
ThatGraemeGuy"Due to repeated cable theft in your area, Telkom has decided not to replace the cable. You will receive a letter offering you alternative solutions in 30 days."13:16
ThatGraemeGuy<insert stream of words not suitable for public consumption>13:16
Kiloseish they gonna offer you their mobile fone13:16
Kilossame happened here13:16
ThatGraemeGuyI know precisely what do do with their mobile phone13:16
Kiloslol13:17
ThatGraemeGuythey can stick it up their mobile .....13:17
ThatGraemeGuyyeah um.... anyway13:17
Kiloswhew so you have joined the land of the mobile users13:17
ThatGraemeGuyoh hell no13:17
ThatGraemeGuythat's stupidly expensive13:17
ThatGraemeGuyuncapped wireless here i come13:18
Kilosso you gonna move?13:18
Kilosoh have you got wireless nearby13:18
ThatGraemeGuyyeah there are a handful of options13:18
Kiloslucky man13:18
ThatGraemeGuyamobia seems the most reasonable, their installation is only R1k, the rest charge about R3k for installation13:19
Kiloswhat do they install by you?13:19
Kilosa tower?13:19
ThatGraemeGuynot 100% sure13:21
ThatGraemeGuysome sort of mikrotik or ubiquiti box i assume13:21
Kilosoh the same stuff the wugs use13:21
ThatGraemeGuypretty much13:22
Kilostalk to the ctwug maybe they have ideas or contacts for stuff13:22
ThatGraemeGuyctwug doesn't sell internet access13:22
Kilosthe fly is part of that wug i think13:22
Kilosoi them too13:23
ThatGraemeGuyno he isn't as far as i know13:23
ThatGraemeGuyi do know people on there but that's a private network13:23
ThatGraemeGuyi plan to get on that sometime, just where I live now there's pretty much nowhere for me to connect to13:23
Kiloseish13:24
grembleWhy don't they just replace the copper infrastructure?13:27
Kilosit just gets stolen next week again13:27
ThatGraemeGuy""Due to repeated cable theft in your area, Telkom has decided not to replace the cable."13:27
grembleYes. Those are copper cables13:27
ThatGraemeGuyI've lived here for 7+ years and this is the first time, but yes, repeated cable theft13:27
grembleReplace it with fibre13:27
Kiloshere they were stealing 3ks of cables in a night13:28
grembleThat is worthless when broken13:28
Kilossame with power lines13:28
ThatGraemeGuymeanwhile they just built a nice MSAN box around the corner from me, and I supposed they won't bother to cable that either13:28
ThatGraemeGuybunch of retards13:28
Kilossad state of affairs13:29
Kilosgremble, fibre aint cheap13:29
ThatGraemeGuyI'll see what their alternate solution is, but I'm assuming its primarily aimed at providing a voice service13:29
grembleCheaper than replacing copper13:29
grembleThatGraemeGuy: Do you know whether they will allow you out your contract with them?13:30
ThatGraemeGuymaybe their alternate service will be fibre off the fancy new MSAN, who knows13:30
Kilosno man fibre gets buried and those trench digging machines are a couple of k an hour13:30
ThatGraemeGuycontract? what contract?13:30
ThatGraemeGuyonly idiots sign contracts with telkom13:30
grembleTo get Telkom service, you have to get a contract with them13:30
ThatGraemeGuy;-p13:30
ThatGraemeGuyno you don't13:30
grembleYes. The contracts are pretty shitty13:31
grembleOh ok13:31
grembleI did not know that13:31
ThatGraemeGuyeven if there were a contract I'm pretty sure they just rendered it null and void13:31
ThatGraemeGuybut no, no contract13:31
Kiloshey ThatGraemeGuy you got a cell that does wifi walk or ride around your place till you find a signal then see if its a local hotspot there13:34
Kilosmaybe with a yagi you can connect without lots expense13:34
ThatGraemeGuyor i can just wait for them to come and do the site survey i requested13:35
Kiloslol how long ago did you request13:35
ThatGraemeGuy5 minutes13:36
Kilosoh ya wait13:36
ThatGraemeGuyyou can't just randomly connect to some wifi point13:36
Kilosmaybe theyll put a hotspot up by you13:36
ThatGraemeGuyi think there's some clash of terminology here13:37
Kilosthere was talk of the cape doing free wifi in quite a few of the areas there13:37
ThatGraemeGuyyou connect to their stations at high sites, a hotspot is a tiny, local thing by comparison13:37
Kilosoh ok13:38
ThatGraemeGuyhttp://hetznercareers.theresumator.com/apply/pI6MMR/Senior-PHP-Developers.html <--- if anyone is into that sort of thing13:39
Kilosthere was someone here some months back that said he likes php13:40
Kilosforget who13:40
Kilosdrop that info in our mailing list13:41
grembleThere are people that say that they like php out loud? I thought that by this time they would be terrified to even mention that13:42
Kiloslol13:42
grembleWhenever I read a mention about PHP it is always followed by scathing remarks13:42
Kiloswas one of the young guys that was in and out here for a while13:42
grembleDamn dem yunngens13:43
ThatGraemeGuyyeah its usually smartasses that rant on about specific tech13:44
ThatGraemeGuyphp isn't awesome but it gets the job done13:44
grembleIt is pretty much the backbone language for a lot of webtechnologies13:45
grembleIf I cared much for that sort of thing, I would probably know PHP like I know C++ :P13:45
grembleweb technologies even13:46
charlhi Cantide 14:09
ThatGraemeGuywell that's good service for a start, not even an hour passed and I've scheduled a site survey already14:12
Kiloscool14:31
Kilostelkom aint that bad14:31
ThatGraemeGuynot talking about telkom, amobia14:40
ThatGraemeGuytelkom can die in a fire, they are that bad14:40
Kilossjoe they all i have man14:41
Kilosbetter than cellc mtn and voida14:41
Kilosvoda14:41
ThatGraemeGuydon't kid yourself they are all equally terrible :)14:41
ThatGraemeGuyits fine as long as you have signal, but some day you might not and they won't care14:41
ThatGraemeGuyi'm off, byeee14:42
Symmetriawooooot 14:49
Symmetriait works :) 14:49
Kiloswell done14:49
Symmetriamy cacti is drawing me pretty hits per second graphs per apache log file 14:50
Symmetria;p14:50
grembleYou have a drawing cactus?15:03
grembleDoes it have thumbs?15:03
Squirmgremble: graphing software :P15:22
Kilos-oi15:48
Kiloshi Private_User did you say you like php?16:36
=== SDCDev is now known as wheat_
=== wheat_ is now known as sdcdev
Private_UserHi Kilos17:04
Private_UserI guess17:04
Squirmevening17:20
Squirmjust got home17:20
Squirmwork is good so far17:20
KilosPrivate_User, there is a job going17:23
* Kilos scrolls17:23
Kiloshttp://hetznercareers.theresumator.com/apply/pI6MMR/Senior-PHP-Developers.html17:24
Kiloshi gremble Squirm 17:24
inetprogood evening17:46
Kilosevening inetpro gaanit?17:46
inetprolekker17:46
Kilosmooi17:46
magespawngood evening17:57
Kiloshi magespawn 18:01
magespawnhow things Kilos?18:14
Kilossukkeling as usual magespawn 18:15
magespawnwith what now?18:15
Kilosone needs strong perseverence when you make many mistakes18:15
magespawnindeed18:16
magespawnbut those who make many mistakes learn more than others18:17
Kiloswell i started data recovery of my saved pics vids data packages etc then it filled my drive so i got help from gremble last night to send output to desktop and then whole drive filled and hung and even with hard boot couldnt login to desktop18:17
Kilosand i forget how i once before did that and deleted the excess to keep going18:18
Kilostried with live cd and it wouldnt let me delete anything18:18
Kilosso i just reinstalled18:18
Kilosthi got mixed up but18:18
Kilosthe recovery tools work only very confusing because it showed recovered 700g from a 100g partition18:20
Kilosbut the 45 pc it recovered i could see then all gone after reinstall hehe18:21
Kilossjoe18:22
magespawn_net is not healthy here tonight18:22
Kilosso i see18:23
Kiloswell i started data recovery of my saved pics vids data packages etc then it filled my drive so i got help from gremble last night to send output to desktop and then whole drive filled and hung and even with hard boot couldnt login to desktop18:23
Kilos<Kilos> and i forget how i once before did that and deleted the excess to keep going18:23
Kilostried with live cd and it wouldnt let me delete anything18:23
Kilos<Kilos> so i just reinstalled18:23
Kilosthe recovery tools work, only very confusing because it showed recovered 700g from a 100g partition18:24
Kilossjoe18:25
magespawn_Kilos most the recovery tools will recover deleted files several layers deep i think18:29
=== magespawn_ is now known as magespawn
Kilosthere shouldnt be many layers it a new drive parted at the end for storage18:30
Kiloshehe18:30
Kilosbut ill sort it, just telling you what happened18:31
magespawndid you have a look at what was recovered?18:31
Kilosya vids and pictures and lots of othere stuff. many folders full18:33
magespawndo you guys know about this http://www.gnome.org/groupon/18:34
Kilosyes i got it in mail today18:34
Kilosthem and gnome gotta fight18:35
magespawnneeds lots more storage if you going to do it all the time18:35
Kiloslol18:35
Kilosya18:35
* Kilos starts saving for a 4TB drive to do recovery on a 100 gB partition18:36
Kiloshehe18:36
KilosMaaz, seen superfly 18:36
MaazKilos: superfly was last seen 4 days, 4 hours, 57 minutes and 12 seconds ago in #ubuntu-za on freenode [2014-11-07 05:39:44 PST], and has been online on freenode since 2014-11-06 10:24:51 PST18:36
Kilossjoe18:37
magespawnbusy man18:38
Kilosyeah and i got more probs18:39
Kilosian gave an xperia18:40
Kilosdid i tell you?18:40
Kilosnow i gotta find a way to get vodafone out of it so i can use 8ta18:40
Kilosnothing ever is straight forward18:41
Kilosohi superfly wb18:43
* Squirm yawns18:46
Squirmhave to be at the office at 7 :/18:49
Squirmoh well18:49
Squirmmeans I finish at 3pm ^^18:49
Kiloslol go sleep early18:49
superflyohi18:56
magespawnKilos you mean take the sim card out19:05
magespawnSquirm wish i had those hours19:09
Kilosno magespawn i thinks it is locked to vodacom19:30
Kilosanyway gotta sleep now. will carry on tomorrow19:31
Kilossleep tight all19:31
Kilosthat includes you superfly . say hi tp the family19:31
magespawngood night all19:51

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