[05:18] * Symmetri1 writes some code to produce an rrd of hits / second seen in an apache log file === Symmetri1 is now known as Symmetria [05:22] urgh [05:23] librrd has to be the worst documented api on the planet [05:40] aalston@mirror:~/temp$ gcc -o timer -L librrd file_timer.c [05:40] file_timer.c:(.text+0x39): undefined reference to `rrd_create' [05:40] collect2: error: ld returned 1 exit status [05:40] ARGH [05:40] rrd_create is in rrd.h so it MUST be in that library so wtf [05:58] morning peeps [06:09] hi ThatGraemeGuy [06:10] mornings :) [06:14] urgh [06:14] aalston@mirror:~/temp$ cc -L/usr/lib -lrrd -o timer file_timer.c [06:14] file_timer.c:(.text+0x41): undefined reference to `rrd_create' [06:14] collect2: error: ld returned 1 exit status [06:14] what the hell that is driving me nuts [06:14] eish Symmetria what you breaking [06:14] kilos Im trying to figure out why the hell it cant find that function in that library [06:14] and you supposed to say morning first [06:15] :P sorry good morning [06:15] Im just grumpy :) [06:15] good morning, you server rocked at 2am this morning [06:16] grumpy so early in the morning doesnt bode well for the rest of the day [06:23] holy shit [06:23] Im going to kill something [06:23] look at this: [06:23] aalston@mirror:~/temp$ gcc -L/usr/lib -lrrd -o timer file_timer.c [06:23] file_timer.c:(.text+0x41): undefined reference to `rrd_create' [06:23] collect2: error: ld returned 1 exit status [06:23] broken right? [06:23] now watch... [06:23] aalston@mirror:~/temp$ gcc file_timer.c -L/usr/lib -lrrd -lrrd_th -o timer [06:23] aalston@mirror:~/temp$ [06:23] its the argument order [06:23] * Symmetria kills things [06:23] good you sorted it now smile and forget grumpy [06:25] More almal [06:26] hi bduk1 [06:55] hi Spekko [06:55] hey Kilos [06:56] hoe gaan dit? [06:56] oraait en daar ? [06:56] Werk werk werk werk :/ [06:56] ook goed dankie [06:56] dis die lewe en daar nog baie jare voor [06:57] vir jou anyway [06:57] Sodapressin! :? Sigh, nah ek will aftree op 30 [06:57] hahaha [07:00] there ;p in 10 minutes or so I will know if this stupid code works :P [07:00] Im trying to generate an RRD of how many hits / second Im getting on each mirror [07:00] good luck [07:00] aalston@mirror:~/temp$ ./timer ubuntu.rrd /var/log/apache2/ubuntu-archive.log 300 [07:00] heh, gotta wait for a coupla updates to see if the rrd is generating properly [07:01] why re-invent the wheel, someone has surely written a munin plugin for apache access logs [07:01] while you waiting start on the deb-delta server [07:15] morning [07:16] hi Squirm [07:51] heh, wheeeeee [07:51] my rrd generator works [07:51] now I can graph how many log lines a second are being generated per file [07:51] horribly hacky way of doing things though [07:52] heh, 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] shove into rrd and rinse and repeat [07:54] yeah, like i said... that's a solved problem [07:54] munin + apache log plugin [07:55] ThatGraemeGuy Ive found most of those things croak under huge load [07:56] heh particularly the other code I've got that is geo-locating addresses in the log files and producing per country graphs [07:56] heh 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 webpage [07:57] the geo-location code is already done, its just rather horribly cpu heavy [08:14] ah a bit of "not invented here" syndrome... ;-) [09:03] hi SilverCode Xethron [09:30] good day all [09:30] hi magespawn [09:31] hi there Kilos [09:37] ha Squirm i saw your company add on tv last night [09:37] :P [09:37] It's quite good [09:37] saw it for the first time last night too [09:37] yeah\ [09:40] ? [09:40] funny name company [09:41] Squirm, what is it again [09:41] YuppieChef [09:41] ya haha [09:55] good morning [09:55] Maaz: coffee on [09:55] * Maaz puts the kettle on [09:55] hi charl [09:55] hi Kilos [09:55] how's it going [09:55] good ty and you ? [09:56] i'm good thanks [09:59] Coffee's ready for charl! [10:03] hi gremble [10:07] Hey Kilos [10:24] hi gremble [10:38] Hey charl [10:39] pinfo coreutils, quite a dense read [12:52] oh my [13:16] "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] [13:16] eish they gonna offer you their mobile fone [13:16] same happened here [13:16] I know precisely what do do with their mobile phone [13:17] lol [13:17] they can stick it up their mobile ..... [13:17] yeah um.... anyway [13:17] whew so you have joined the land of the mobile users [13:17] oh hell no [13:17] that's stupidly expensive [13:18] uncapped wireless here i come [13:18] so you gonna move? [13:18] oh have you got wireless nearby [13:18] yeah there are a handful of options [13:18] lucky man [13:19] amobia seems the most reasonable, their installation is only R1k, the rest charge about R3k for installation [13:19] what do they install by you? [13:19] a tower? [13:21] not 100% sure [13:21] some sort of mikrotik or ubiquiti box i assume [13:21] oh the same stuff the wugs use [13:22] pretty much [13:22] talk to the ctwug maybe they have ideas or contacts for stuff [13:22] ctwug doesn't sell internet access [13:22] the fly is part of that wug i think [13:23] oi them too [13:23] no he isn't as far as i know [13:23] i do know people on there but that's a private network [13:23] i plan to get on that sometime, just where I live now there's pretty much nowhere for me to connect to [13:24] eish [13:27] Why don't they just replace the copper infrastructure? [13:27] it just gets stolen next week again [13:27] ""Due to repeated cable theft in your area, Telkom has decided not to replace the cable." [13:27] Yes. Those are copper cables [13:27] I've lived here for 7+ years and this is the first time, but yes, repeated cable theft [13:27] Replace it with fibre [13:28] here they were stealing 3ks of cables in a night [13:28] That is worthless when broken [13:28] same with power lines [13:28] meanwhile they just built a nice MSAN box around the corner from me, and I supposed they won't bother to cable that either [13:28] bunch of retards [13:29] sad state of affairs [13:29] gremble, fibre aint cheap [13:29] I'll see what their alternate solution is, but I'm assuming its primarily aimed at providing a voice service [13:29] Cheaper than replacing copper [13:30] ThatGraemeGuy: Do you know whether they will allow you out your contract with them? [13:30] maybe their alternate service will be fibre off the fancy new MSAN, who knows [13:30] no man fibre gets buried and those trench digging machines are a couple of k an hour [13:30] contract? what contract? [13:30] only idiots sign contracts with telkom [13:30] To get Telkom service, you have to get a contract with them [13:30] ;-p [13:30] no you don't [13:31] Yes. The contracts are pretty shitty [13:31] Oh ok [13:31] I did not know that [13:31] even if there were a contract I'm pretty sure they just rendered it null and void [13:31] but no, no contract [13:34] hey 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 there [13:34] maybe with a yagi you can connect without lots expense [13:35] or i can just wait for them to come and do the site survey i requested [13:35] lol how long ago did you request [13:36] 5 minutes [13:36] oh ya wait [13:36] you can't just randomly connect to some wifi point [13:36] maybe theyll put a hotspot up by you [13:37] i think there's some clash of terminology here [13:37] there was talk of the cape doing free wifi in quite a few of the areas there [13:37] you connect to their stations at high sites, a hotspot is a tiny, local thing by comparison [13:38] oh ok [13:39] http://hetznercareers.theresumator.com/apply/pI6MMR/Senior-PHP-Developers.html <--- if anyone is into that sort of thing [13:40] there was someone here some months back that said he likes php [13:40] forget who [13:41] drop that info in our mailing list [13:42] There are people that say that they like php out loud? I thought that by this time they would be terrified to even mention that [13:42] lol [13:42] Whenever I read a mention about PHP it is always followed by scathing remarks [13:42] was one of the young guys that was in and out here for a while [13:43] Damn dem yunngens [13:44] yeah its usually smartasses that rant on about specific tech [13:44] php isn't awesome but it gets the job done [13:45] It is pretty much the backbone language for a lot of webtechnologies [13:45] If I cared much for that sort of thing, I would probably know PHP like I know C++ :P [13:46] web technologies even [14:09] hi Cantide [14:12] well that's good service for a start, not even an hour passed and I've scheduled a site survey already [14:31] cool [14:31] telkom aint that bad [14:40] not talking about telkom, amobia [14:40] telkom can die in a fire, they are that bad [14:41] sjoe they all i have man [14:41] better than cellc mtn and voida [14:41] voda [14:41] don't kid yourself they are all equally terrible :) [14:41] its fine as long as you have signal, but some day you might not and they won't care [14:42] i'm off, byeee [14:49] wooooot [14:49] it works :) [14:49] well done [14:50] my cacti is drawing me pretty hits per second graphs per apache log file [14:50] ;p [15:03] You have a drawing cactus? [15:03] Does it have thumbs? [15:22] gremble: graphing software :P [15:48] oi [16:36] hi Private_User did you say you like php? === SDCDev is now known as wheat_ === wheat_ is now known as sdcdev [17:04] Hi Kilos [17:04] I guess [17:20] evening [17:20] just got home [17:20] work is good so far [17:23] Private_User, there is a job going [17:23] * Kilos scrolls [17:24] http://hetznercareers.theresumator.com/apply/pI6MMR/Senior-PHP-Developers.html [17:24] hi gremble Squirm [17:46] good evening [17:46] evening inetpro gaanit? [17:46] lekker [17:46] mooi [17:57] good evening [18:01] hi magespawn [18:14] how things Kilos? [18:15] sukkeling as usual magespawn [18:15] with what now? [18:15] one needs strong perseverence when you make many mistakes [18:16] indeed [18:17] but those who make many mistakes learn more than others [18:17] well 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 desktop [18:18] and i forget how i once before did that and deleted the excess to keep going [18:18] tried with live cd and it wouldnt let me delete anything [18:18] so i just reinstalled [18:18] thi got mixed up but [18:20] the recovery tools work only very confusing because it showed recovered 700g from a 100g partition [18:21] but the 45 pc it recovered i could see then all gone after reinstall hehe [18:22] sjoe [18:22] net is not healthy here tonight [18:23] so i see [18:23] well 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 desktop [18:23] and i forget how i once before did that and deleted the excess to keep going [18:23] tried with live cd and it wouldnt let me delete anything [18:23] so i just reinstalled [18:24] the recovery tools work, only very confusing because it showed recovered 700g from a 100g partition [18:25] sjoe [18:29] Kilos most the recovery tools will recover deleted files several layers deep i think === magespawn_ is now known as magespawn [18:30] there shouldnt be many layers it a new drive parted at the end for storage [18:30] hehe [18:31] but ill sort it, just telling you what happened [18:31] did you have a look at what was recovered? [18:33] ya vids and pictures and lots of othere stuff. many folders full [18:34] do you guys know about this http://www.gnome.org/groupon/ [18:34] yes i got it in mail today [18:35] them and gnome gotta fight [18:35] needs lots more storage if you going to do it all the time [18:35] lol [18:35] ya [18:36] * Kilos starts saving for a 4TB drive to do recovery on a 100 gB partition [18:36] hehe [18:36] Maaz, seen superfly [18:36] Kilos: 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 PST [18:37] sjoe [18:38] busy man [18:39] yeah and i got more probs [18:40] ian gave an xperia [18:40] did i tell you? [18:40] now i gotta find a way to get vodafone out of it so i can use 8ta [18:41] nothing ever is straight forward [18:43] ohi superfly wb [18:46] * Squirm yawns [18:49] have to be at the office at 7 :/ [18:49] oh well [18:49] means I finish at 3pm ^^ [18:49] lol go sleep early [18:56] ohi [19:05] Kilos you mean take the sim card out [19:09] Squirm wish i had those hours [19:30] no magespawn i thinks it is locked to vodacom [19:31] anyway gotta sleep now. will carry on tomorrow [19:31] sleep tight all [19:31] that includes you superfly . say hi tp the family [19:51] good night all