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