***: sga0 has quit IRC (Read error: Connection reset by peer)
   
 LT has joined #arpnetworks
   
 novae has quit IRC (Ping timeout: 265 seconds)
   
 LT has quit IRC (Quit: Leaving)
   
 novae has joined #arpnetworks
   
 novae has quit IRC (Ping timeout: 265 seconds)
   
 novae has joined #arpnetworks
   
 sga0 has joined #arpnetworks
   
 bashas has joined #arpnetworks
   bashas: hello everyone
   
 i'm asking for a good windows vps provider
   
 any suggestions?
   mnathani: bashas: budget?
   bashas: no limits
   
 but i need a good reviewed one
   
 with a good spec
   mnathani: check VPS offers at: http://www.webhostingtalk.com/forumdisplay.php?s=1c5bb91bee9812bf871e252e57078dda&f=104
   
 'good' can mean different things to different people :-)
   bashas: yes :) i know
   
 but anyway, tnx dude for ur help
   
 checking the forum
   mnathani: you are better off asking stuff like: so much RAM, managed vs Un managed etc ? Disk Space, Location
   bashas: what's managed an unmanaged? a new term to me? btw i'm a web developer
   
 and i need to host a project, it has few hits daily, but do some processing every few mins using C# threads
   mnathani: if you have to ask, you probably need managed
   
 unmanaged is like no software support from the hohst
   
 you need to take care of all software install and config
   bashas: the project aim is to download some html pages and parse them, and extract data from it and put into a sql db
   mnathani: host will only support underlying network and virtualization, power etc
   bashas: unmanaged is a shared windows u mean, right?
   
 but managed is a full windows machine with total control, am i right
   mnathani: the box will be shared, you will have total control on  your own instance
   
 admin / root access
   
 https://www.liquidweb.com/storm/vps.html
   
 those guys are pretty good
   bashas: i know they are shared, one server hosts few Virtual Machines
   mnathani: right
   
 anyway got to go
   bashas: ok np bro.
   
 thanks very much
   
 i'll try to google and understand the deep details of manage and unmanaged
   brycec: Managed: The host/provider "manages" the system, installing updates, changing settings, all the server admin stuff for you.
   
 Unmanaged: You're responsible for maintaining the server, keeping software up to date, etc.
   
 ie. your home computer is unmanaged.
   
 Whereas in a corporate environment with corporate IT, your work computer is "managed"
   
 Hope that clears things up
   BryceBot: That's what she said!!
   bashas: brycec: very useful
   
 thanks dude :)
   ***: bashas has quit IRC (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
   mercutio: is someone trying to get rid of windows users? :)
   
 i suppose if someone asks if they need manager or unmanaged they need managed.
   
 oh mnathani said that :)
   brycec: lol
   
 I dare say that a whole VPS for a small site is overkill too
   
 but I'm not too experienced in the windows hosting arena... maybe there are providers that won't allow you to run your own program periodically?
   
 (Regardless - sounds like something that a LAMP stack could easily do)
   
 Man - when a SAN runs out of disk space, servers really don't handle that well
   
 (for loose definitions of SAN and server)
   
 (KVM machines with NFS-backed storage, to be exact)
   m0unds: if it's just for a site, azure sites works well enough
   
 there's other stuff that can run asp in a similar containerized env too
   brycec: Azure has a free tier too, as I recall
   m0unds: yeah, that's how i played with it
   
 supports code repo autodeployment too (ala heroku)
   mercutio: i think background stuff could be annoying on shared windows hosting
   
 i'm paranoid about shared web hosting myself
   m0unds: background stuff?
   
 i finished building my "less complicated" fermenter controller today
   mercutio: he said about c# threads in background or something?
   m0unds: oh, probably similar to background php processes or whatever
   brycec: I figure it's roughly equivalent to a cron job
   m0unds: yeah
   
 just executing at some interval
   mercutio: does shared hosting normally let you do that?
   -: hazardous waves
   hazardous: shared windows hosting is infuriating to deal with
   m0unds: no idea, haven't ever used windows shared stuff
   hazardous: i really really dislike shared anything with asp.net
   
 because of trust level/privs
   
 and most shared hosts don't like to give full trust
   
 and for a lot of things, you have to contact the host
   
 tend to kind of just run it in a vm because effort
   m0unds: probably similar cost-wise as vm stuff keeps getting cheaper
   hazardous: the problem is that it tends to restrict your choice of hosts
   
 because windows licencing is opening schrodinger's dvd case
   brycec: (Every shared lunix host I've had lets me schedule cron jobs, fwiw)
   hazardous: that being said.. i do have a shared hosting account on a linux place i like, because they let me run my own apache/nginx/rails/python server like flask or something, and just let me use a port to reverse proxy it from frontend loadbalancer
   
 and allow compilers/installing binaries/etc
   
 but that's literally the only 1 single linux shared host i know that does that, everything else is terrible
   
 i hate cpanel/plesk/etc with a passion
   
 cpanel still claims to support python and ruby on rails, which is a massive, hilarious lie
   
 tbh i feel like the adoption of non-php web languages is partially because of control panels (and a bit on the languages themselves)
   
 php is drag and drop, and visit url
   
 that has never been, nor will it in the near future be the case for nodejs, python, ruby, [...]
   
 and without ssh access, in general, it's borderline impossible to run on shared hosting
   staticsafe: yeah
   
 PHP apps are stupid easy to deploy
   hazardous: as dumb as it is, being able to simply upload index.php and be able to visit index.php
   
 if you try to explain the concept of routes to someone that "just wants a forum"
   
 many people don't seem to be able to parse the concept of "upload index.php, and you can visit /login"
   
 so not supporting apache's single-file .htaccess rewrite thing (which is kind of inefficient since it seems to recurse every subdirectory and whatnot)
   
 as far as most of the people i deal with know, .htaccess is black magic
   BryceBot: That's what she said!!
   hazardous: the thing that pisses me off the most is that really shitty shared hosting providers are not helping
   
 like cpanel hosts that lie about having python support
   
 and then someone tries to "install a python webapp" and it fails miserably
   -: hazardous hugs BryceBot
   m0unds: by python support, they mean the host has python installed
   
 not that you can use it
   
 bahaha
   mercutio: cpanel is "the standard"
   
 it's pretty disgusting yes.
   hazardous: Posted 1 year ago
   
 Why does CPanel continue ignoring requests for supporting Python/Django
   
 laugh
   mercutio: i was surprised by how long it took me to get smokeping working with nginx
   
 nginx with fastcgi is a bit confusing.
   hazardous: at least for php, nginx + fcgi is 4 lines
   
 not so much actual cgi-bin applications
   mercutio: but i like the idea of micro vps with nginx/php/etc all seperate.
   
 this is perl
   
 you need to use fcgiwrap
   hazardous: not so much actual cgi-bin applications <- i've never actually had to run something cgi/perl
   
 like for web
   
 i think that was common maybe before i was born but idk
   m0unds: there's a few ways to plug that support into nginx
   hazardous: it's just really foreign to me as a concept
   mercutio: it was easier on ubuntu than arch linux tbh
   
 mod_perl sucks
   hazardous: reminds me
   
 what happened to gentoo
   m0unds: i used thttpd as a cgi-proxy years ago
   hazardous: wasn't it all the nerd-rage a decade ago
   m0unds: behind nginx
   hazardous: everyone seems to have moved to arch or something from what i can gather
   mercutio: i think it's still around
   
 m0unds: i've been using lighttpd for ages, but thought i'd try nginx because nginx is adding spdy support and fastopen support
   
 fastopen is really easy to enable in nginx.  in lighttpd i have a source hack.
   hazardous: nginx pisses me off with their commercial product offering
   mercutio: hazardous: why?
   m0unds: they have a commercial product offering?
   
 haha
   hazardous: i need the ability to kick out unresponsive backends for reverse proxying
   mercutio: m0unds: yeah.
   hazardous: this is commercial product only
   
 minimum few thousand a year
   
 required support contract
   m0unds: ah
   mercutio: they're still putting mroe effort into their open source offering than anyone else.
   hazardous: there is no way i can buy like "just want this module"
   
 i don't want support
   
 i just literally want one config option enabled
   
 i don't need SLA, i don't need tickets
   
 but that's totally not available to me
   
 i would happily pay like 50-100/yr just for the ability to use a few extra config options
   
 but a few thousand i can't afford
   
 defining backends to reverse proxy is free - doing anything else with them, like checking if they are online, setting randomization, removing or adding backends
   
 is a $$$$ feature only
   mercutio: so backends can hang and it can't fix it?
   
 isn't that spawnfcgi's job?
   hazardous: i have this problem in that my backends are closed-source binaries that i don't have access to, and occasionally they die
   
 i would like to run a script if one doesn't return or sends a 5xx
   
 i would also like to check periodically if they  respond
   
 so now.. i use chinese nginx
   mercutio: are you in china hazardous ?
   hazardous: no
   
 i'm in freedom-land
   mercutio: canada?
   hazardous: wow
   
 close enough
   brycec: Obviously kicking the backend can be scripted (kill $pid), so you're just missing the ability to query a specific backend directly?
   mercutio: brycec: yeh how would he know which one to kill
   hazardous: brycec: http://tengine.taobao.org/document/http_upstream_check.html
   mercutio: i wonder what happened to dtrace coming to linux
   hazardous: http://tengine.taobao.org/document/http_upstream_consistent_hash.html
   mercutio: i kind of like the idea of tracing normal programs
   hazardous: these are all bsaically nonexistent in free nginx
   mercutio: and some kind of autodetection of weird behaviour
   brycec: So it kicks it out of the nginx pool
   -: mercutio doesn't trust people to not screw up
   
 brycec trusts people to screw up
   
 hazardous greps mercutio
   mercutio: heh brycec
   hazardous: screwing up is normal human behaviour
   mercutio: error handling is often terrible on unix
   
 actualyl with software in general
   hazardous: brycec: even manually removing a backend temporarily in nginx is paid, iirc
   
 without editing configs
   
 much less having proactive health checks that let you define "after x failures, drop this out, but readd it if it starts responding later on"
   mercutio: relayd can do that btw hazardous
   
 if you have multiple servers
   brycec: Yeah - I ran across a "need" (want, really) to do that and found it only came with money
   hazardous: if you want a laugh, my primary web frontend has 9 VPNs running on top of each other
   mercutio: but if one out of 4 backends is doing it or something, and it returns 5xx on one of them i dunno how it'd handle that
   brycec: One could easily kick/restart the backend with your own script though, but it does nothing for nginx
   mercutio: if someone wrote a backend handler that also did performance monitoring etc
   
 they could probably sell it
   hazardous: capturing the 5xx and identifying where it came from is the thing for me, because i just want to drop it out of my uplinks for a while until my watchdog processes notice and restart it
   
 tengine's upstream_check thing lets you set things like timeout msec, expecting 200 OK or 302 or something, and checks ssl handshakes
   
 by default all backends are offline until they pass their first check
   
 i really wish i could just use stock nginx, i'd be happy to support their efforts and whatnot, but it's just not feasible for anything not business
   mercutio: what about sticking a wrapper program around your binarys
   hazardous: define wrapper program
   
 [they are windows binaries that listen on a port, running on remote hosts]
   mercutio: runs your cgi script, sees that it behaves
   
 has an abort if it takes too long, or if it does 5xx.
   hazardous: i have 1,539 backends
   mercutio: oh
   hazardous: lol;
   mercutio: relayd should handle that then
   BryceBot: That's what she said!!
   hazardous: the thing is.. it also returns HTTP 200 for failed requests
   mercutio: which is bsd hmm.
   hazardous: with error text in the body
   mercutio: oh
   
 that's annoying :)
   hazardous: so i also check if it returns a XML response that contains 'failed_err'
   mercutio: you could do your own monitoring script and take them out
   hazardous: there's a few failure states, one of them is named "SHOULD_NEVER_HAPPEN_RACE_CONDITION_TRAP"
   
 i've encountered that af ew times
   mercutio: are all the backends the same, you're just load balancing to them?
   hazardous: load balancing to them across vpn, every 150 or so is a different country, some are domestic-internet-only, some are only accessible from one isp
   
 tl;dr asia
   mercutio: i think your situation is complex enough that it warrants coding for it.
   hazardous: fun thing of the day, i was told that in south korea, reverse dns is illegal unless i have a south korean business licence, and it can take up to 6 months to complete the application process for a single PTR record, and that delegation of NS/PTR/CNAME is not allowed
   mercutio: wow.
   hazardous: all PTR requests have to go through KRNIC
   
 if you've ever wondered why almost no south korean ip has a PTR, well, that might explain it maybe
   mercutio: china doesn't have PTR either ?
   hazardous: china occasionally has isps that have applied for PTR for their whole netblock
   
 none of which have forward dns, most of them completely invalid
   
 lol
   
 this is basically standard for all of asia
   
 my upstream in vietnam assigns datacenter colo, dynamic adsl, dialup, voip, and iptv out of the same subnet
   
 i can pull a dynamic adsl ip from colo, from standard dhcp pool
   
 all static IPs have the reverse dns 'dynamic.vdc.vn', and this isn't editable
   
 they have several /16's that consist entirely of 'dynamic.vdc.vn' exactly, not unique ptr per ip
   
 theres also the whole "having to bribe customs and shipping officials or else your hardware gets stolen" thing
   mercutio: wow.
   
 has anyone tried the new apache httpd?
   
 err new openbsd httpd
   brycec: lol way to goof that :P
   mercutio: i'm not exactly sure why openbsd is doing their own httpd
   
 back in thttpd/boa/lighttpd/etc days there were heaps of them
   
 i jumped from boa to lighttpd myself
   BryceBot: That's what she said!!
   brycec: Same reason they do their own everything - to keep full control over it
   hazardous: openbsd made a httpd?
   mercutio: yeh based on relayd it seems.
   brycec: So more pf.conf-style syntax!
   mercutio: looks like it's pretty basic
   
 they also made their own smtpd
   
 i like relayd.
   brycec: httpd is extremely basic at this point
   hazardous: all i want/need is static file serving from a dir
   brycec: OpenSMTPD is pretty great
   mercutio: sendmailis prettty bad
   staticsafe: opensmtpd is awesome, i wish there debian/ubuntu packages for it
   
 its in sid but thats about it
   mercutio: there needs to be linux kernel with openbsd userland :)
   hazardous: that exists
   
 it's called windows
   
 :)
   
 what's the "in" orchestration tool nowadays
   
 puppet? ansible?
   
 it seems to change weekly
   brycec: puppet and chef are the big "in" ones from what I can see
   
 But there's still a lot to be said about using the right tool for the job
   
 such as ansible in my case
   staticsafe: ansible <3
   twobithacker: ansible++
   brycec: ansible++
   RandalSchwartz: ansible has some interesting advantages
   
 we interviewed them for floss
   
 along with puppet, chef, cfengine, saltstack... :)
   brycec: I needed something to do some basic script-able tasks, without reinventing the wheel myself. Ansible gives me that and a bit more. I was up and running in ~minutes, rather than the overhead of chef or puppet.
   hazardous: so the nerd portion is ansible
   
 i don't want massive overhead, custom daemons, etc
   ***: erratic has quit IRC (Ping timeout: 258 seconds)
   
 erratic has joined #arpnetworks
   
 mus1cb0x has joined #arpnetworks
   
 mus1cb0x has left "WeeChat 0.4.2"
   mnathani: hazardous: reading the scrollback, what was that shared linux host you found that let you run your own web server?
   
 This looks like a really cool position: https://ams-ix.net/about/careers--2/project-stagiair-noc
   mercutio: you going to apply mnathani ?
   mnathani: mercutio: if only I met the requirements
   
 :-)
   mercutio: i don't think it had many requirements?
   
 it sounded like it'd be a bit boring though
   
 Following this project, the internee will follow/collaborate with
   
 AMS-IX network engineers to work on
   
 it's bsaically just a testing/scripting job from what i can see
   mnathani: I suppose they would have some basic on the job training
   mercutio: it's also probably in amsterdam
   
 but yeah what they're doing sounds interesting
   
 i'm trying to add high dpi support to smokeping
   
 i got the overview looking better..
   
 but smokeping isn't saying the size for normal images when you go to the page :(  so i can't just half it.
   acf_: > isn't saying the size for normal images
   
 isn't saying it where?
   mercutio: in the html
   acf_: oh
   mercutio: it's just referencing the made image
   
 apparently the way to make high dpi work easiest, is you just define the size as half of the actual image size.
   
 and high dpi displays will show all the detial.
   acf_: got it
   
 you could mess with the image generation I guess
   BryceBot: That's what she said!!
   acf_: is it really?
   mnathani: BryceBot: no
   BryceBot: Oh, okay... I'm sorry. 'you could mess with the image generation I guess'
   mercutio: i am doubling the rrdtool created image size
   
 and want to touch smokeping as little as possible.
   BryceBot: That's what she said!!
   mercutio: BryceBot: no
   BryceBot: Oh, okay... I'm sorry. 'and want to touch smokeping as little as possible.'
   acf_: does smokeping just invoke the rrdtool command with some args?
   mercutio: i think so
   
 # HIGH DPI
   
 $xs=$xs/2;
   
 $ys=$ys/2;
   
 that in the right place fixes the overview.
   BryceBot: That's what she said!!
   mercutio: with just doubling the size in the config.
   mnathani: BryceBot: no
   BryceBot: Oh, okay... I'm sorry. 'that in the right place fixes the overview.'
   acf_: because the overview defines the size explicitly in the html?
   mercutio: it's perl generated html
   
 and overview does yes.
   
 but detail doesn't.
   
 i could try and understand the code more..
   ***: sga0 has quit IRC (Ping timeout: 245 seconds)
   acf_: mercutio: I'm editing .pm files in /usr/share/perl5/Smokeping
   
 but nothing seems to happen
   mercutio: got it
   acf_: what did you do?
   mercutio: you have to restart fcgiwrap
   
 i found that $xs{''} is used somewhere else
   
 and added in width and height with that
   
 i haven't done much perl
   acf_: cool
   mercutio: what's the difference between $xs and $xs{''}
   
 i think the smokeping code is messy :)
   
 http://pastebin.com/tPWXf0an
   acf_: curly braces are used to access hash tables?
   -: acf_ doesn't know perl either
   mercutio: http://202.49.71.24:24/smokeping/smokeping.fcgi?target=Wider.google
   
 that's got it running on it
   
 now i just need the text size bigger...
   BryceBot: That's what she said!!
   acf_: looks super tiny on my monitor :P
   
 it would be cool if rrdtool rendered svg instead of raster
   mercutio: the text or graph?
   
 i think rrdtool can
   
 i just wanted to start with something
   acf_: well, all of it
   mercutio: you mean the graph is small or the text is small?
   acf_: the text mostly
   mercutio: yeah the text is small for me too
   acf_: on my monitor, it's a bit blurry
   mercutio: the text on the left is a little small, the text in the image is tiny
   acf_: probably because of the scaling
   mercutio: i'm at 1440p
   
 but yeah the text size needs to be bumped up
   BryceBot: That's what she said!!
   acf_: I'm at 1024x768 atm
   mercutio: do you use 100% zoom?
   
 oh
   acf_: yea
   mnathani: ouch at 1024x768 acf_
   mercutio: so yeah high dpi won't help you at all
   BryceBot: That's what she said!!
   acf_: nope :P
   mercutio: still it should work without high dpi too :)
   
 it'll still be blurry a little probably
   mnathani: I just  moved down to 1 1080p display, from 2x 1280x1024 + 1x 1080p
   mercutio: i have 4k+1440p
   mnathani: Windows or *Nix?
   mercutio: 1440p on windows and 4k on linux
   
 chrome sucks on linux at 4k though
   
 text looks amazing though :)
   
 consoles are so ... nice... :)
   mnathani: white banners on right and left?
   mercutio: huh?
   mnathani: how many inches on the 4k display?
   mercutio: 28"
   
 vs 27" for 1440p
   
 it hardly looks any bigger tbh
   
 they came down in cost a lot
   mnathani: the white regions when you make the browser full screen
   mercutio: i'm using radeon 7750 for video
   
 oh i mean scrolling is slow
   
 and i haven't been able to make url bar big yet
   
 actually scrolling was slow on 1440p too
   
 it just got worse
   
 the video card should be fine...
   
 i think it's sucky open source drivers.
   acf_: I wonder if I just change all the .png s to .svg in smokeping...
   
 arrg
   
 so it seems like certain edits to Graphs.pm aren't applying
   
 I change .png to .svg everywhere, but the page still renders with .png
   
 but if I put some garbage at the top of the file, it correctly fails to load
   
 it worked!
   
 changing all png and PNG to svg and SVG in my Smokeping.pl works
   
 it displays a bit big though...
   
 adding width="$xs{''}" height="$ys{''} in the right place fixes the size...
   
 example: http://kremvax.acfsys.net/smokeping.cgi?target=Remote.googledns
   
 mercutio: how does that look on your high-dpi monitor?
   mercutio: the text looks a bit funny
   
 i think the font is just crap
   
 umm rrdtool needs a parameter to generate svg
   
 oh it is svg
   
 does it autodetect?
   
 i should try on my 4k
   
 erk
   
 can this font be changed, it's really annoying
   mnathani: mercutio: you try the proprietary driver?
   mercutio: it looks fine
   
 mnathani: nope
   
 i really don't want to use binary video driver.
   
 i suppose svg is probably better in general
   hazardous: mnathani: just read scrollback; webfaction.com
   mercutio: my pngs are smaller than your svg
   
 by 40k vs 137k
   
 i wonder what it's like if making the size even bigger
   acf_: > < mercutio> does it autodetect?
   
 '--imgformat','SVG',
   mercutio: heh i can't read the text now
   mnathani: hazardous: looks really good so far. I am surprised I have never heard of them before
   acf_: yea, can't figure out how to change the font
   
 tried adding --font to the options, didn't work afaict
   mercutio: http://202.49.71.24:24/smokeping/smokeping.fcgi?displaymode=n;start=2014-11-20%2014:28;end=now;target=Curl.garlic
   
 this to me looks kind of how i want it
   BryceBot: That's what she said!!
   mercutio: now sure how it looks for other people
   
 but yeah need to ramp up text size
   BryceBot: That's what she said!!
   mercutio: i want to change fonts too, i have this annoying 0
   
 it looks like there's a little eye poking out in the middle to the right slightly
   acf_: yea
   
 where does it get the fonts?
   
 I'm guessing not X11...
   mercutio: i have no idea
   acf_: ok so --font does work
   
 at least for changing the size
   
 but I don't know what other typefaces to give it besides monospace
   mercutio: what's eps?
   acf_: enhanced post script
   
 it's a vector format
   mercutio: do browsers support it?
   acf_: I think chromium does
   
 *encapsulated post script
   mercutio: i hate it how they double all these things up
   
 well more than double
   
 so there's more than one place to set font
   acf_: only two?
   BryceBot: That's what she said!!
   acf_: that I could find
   
 look for --imageformat
   
 * --imgformat
   
 I added
   
 '--font','DEFAULT:0:monospace',
   m0unds: mercutio: this is how it looks for me: http://i.imgur.com/YG5DTMX.png
   mercutio: i'm looking for --rigid
   
 oh it is only double for that one
   
 wow the text on the left looks terrible
   m0unds: that's on osx in chrome
   mercutio: ERROR: unknown option '--font DEFAULT:28:Times'
   
 oh
   acf_: "RRDtool uses Pango for its font handling"... cool
   m0unds: font rendering is better in safari but i don't really use safari ever
   
 don't ever use safari*
   mercutio: damnit now it doesn't fit
   acf_: oh nice Times worked
   mercutio: yeah it wokred
   
 http://202.49.71.24:24/smokeping/smokeping.fcgi?target=Wider.gmail
   
 but it all wraps !
   
 and it's all blurry
   
 not even blurry it's low res
   acf_: blur probably from dithering?
   mercutio: maybe i should stop halving the size
   acf_: that's probably causing it
   mercutio: can't the text scale?
   
 http://202.49.71.24:24/smokeping/images/Wider/sip99_last_10800.svg
   
 even that looks terrible
   acf_: woah
   mercutio: it's uhh yeah
   acf_: I think you're using a raster font..
   mercutio: that's what i meant
   
 are you not?
   acf_: let me check...
   mercutio: i should install the microsoft fonts?
   acf_: with Times: http://kremvax.acfsys.net/smokeping/images/Remote/googledns_last_10800.svg
   
 Helvetica works too
   
 this is with Debian
   
 I don't think I installed anything special..
   mercutio: oh yours is way better
   
 this is on server rather than desktop
   
 so probably has less fonts installed
   acf_: same here
   
 no X11 on that box
   mercutio: oh
   
 i'm downloading the microsoft ones
   
 your one looks fine
   
 does everything support svg these days?
   acf_: I think so
   
 find /usr/ | grep -i times
   
 turns up nothing
   
 http://en.wikipedia.org/wiki/Scalable_Vector_Graphics#Native_browser_support
   BryceBot: Scalable Vector Graphics :: Scalable Vector Graphics (SVG) is an XML-based vector image format for two-dimensional graphics with support for interactivity and animation. The SVG specification is an open standard developed by the World Wide Web Consortium (W3C) since 1999.  SVG images and their behaviors are defined in XML text files. This means that they can be searched, indexed, scripted, and compressed. As XML files, SVG images can be created a
   acf_: IE9 + suppors SVG
   mercutio: i don't care about ie i suppose :)
   acf_: everything else has supported svg for a long time
   mercutio: ok
   
 what version of windows did ie9 come in with?
   acf_: released March 14, 2011
   mercutio: /usr/share/fonts/TTF/times.ttf
   acf_: supported on Vista and above
   mercutio: gah it still looks terrible
   m0unds: haha
   
 try sans serif?
   
 or serif?
   mercutio: maybe i have to do something to register it?
   RandalSchwartz: o/~ I shot the serif ... o/~
   m0unds: RandalSchwartz: aarrrggghhhh
   
 hahahaha
   acf_: fontconfig?
   
 I can't find Times or Helvetica anywhere...
   
 fc-list | grep -i times
   
 shows nothing
   
 maybe it's using DejaVuSerif instead?
   mercutio: # fc-list | grep -i times | wc -l
   
 52
   
 # fc-list | grep -i dejavuserif | wc -l
   
 8
   
 how do i tell what it's calling rrdgraph with hmm
   acf_: DEFAULT:0:DejaVuSerif
   
 appears to show the same output as DEFAULT:0:Times
   
 so it's probably just using the DejaVu fonts
   mercutio: oh it's calling the module
   
 it definitely changes something
   
 http://202.49.71.24:24/smokeping/images/__navcache/141645903735734_1416459037_1416448200.svg
   
 i'm only setting title
   
 and only the title is ugly :)
   m0unds: yeah it is
   
 lol
   
 the rest looks ok though
   acf_: the other stuff looks like it's still monospace (Courier or whatever)
   m0unds: yeah
   mercutio: oh consolas looks better
   m0unds: looks like the default smokeping typeface
   
 consolas is my fav fixed width font
   
 i use it in putty on windows
   acf_: ah nice
   mercutio: http://202.49.71.24:24/smokeping/images/__navcache/141645913735819_1416459137_1416448320.svg
   m0unds: too big but looks clean
   mercutio: a bit big, but it looks more sane
   
 http://202.49.71.24:24/smokeping/smokeping.fcgi?displaymode=n;start=2014-11-20%2014:53;end=now;target=meh.sydmeh
   
 ok that's starting to look better
   m0unds: yeah, that looks good
   
 little big still but much better all around
   mercutio: i want the text for overview a bit smaller though
   acf_: some things broke :P
   
 http://oss.oetiker.ch/smokeping/counter.cgi/2.006010
   mercutio: i put it down a step,  now it looks too small
   acf_: http://202.49.71.24:24/smokeping/images/smokeping.svg
   
 rather
   
 it still looks super big on my screen
   mercutio: oh?
   acf_: (the 1024x768 one)
   m0unds: yeah, the last time you linked it the text at the bottom was bigger than the title
   
 it wasn't overlapping like it was before though, just big
   mercutio: http://202.49.71.24:24/myscreen.png
   
 i suppose it is kind of big
   acf_: ah. looks nice on that screen
   m0unds: yeah
   
 my macbook is pre-retina, so it's got a pretty low res display
   mercutio: i'm using cheap korean monitor
   
 qnix
   m0unds: so it's really big for me but would look fine on my workstation display i'm sure (since it's the same res as yours)
   mercutio: 1440p is actually quite a nice resolution
   
 it works ok in winodws too
   
 4k is screwy in windows
   acf_: are the Windows icons vector or at least available in many sizes?
   mercutio: but yeah the cool thing about svg is that it can scale i suppose
   
 what windows icons?
   
 i don't think they've vector
   acf_: like the taskbar ones, etc..
   mercutio: they look rpetty blocky
   acf_: I can see it would be difficult to support 1024x768 and 4k at the same time
   
 if you're just using a single scale of raster images
   
 it would be cool if they had a system where you could change the dpi without changing the visible size
   mercutio: well 1280x720 and 2560x1440 is just x2
   
 but smokeping isn't really good for 1024 across
   
 as with 1024 you don't want to show a side bar
   
 i should try on my phone
   acf_: Android?
   mercutio: yeah
   
 choosing the site on the left sucks
   
 gah
   
 it keeps crashing
   
 my phone is 720p
   acf_: crashing.. by trying to render SVG?
   mercutio: the image itself is fine
   
 it's the other page it seems it screw up on
   m0unds: worked okay for me in chrome on android
   mercutio: when there's heaps of them
   
 the overview page with heaps of them
   
 even just going to the curl page is slow
   acf_: it takes a long time to render the svg on the server?
   mercutio: gah it crashed again
   acf_: the browser is the thing crashing?
   mercutio: chrome 39
   
 the browser is crashing on android
   
 chrome 39 is what i'm using on desktop too
   
 svg on the server is fine speed wise
   
 it's the phone that's slow
   
 that server is in new zealand, so may be a bit slower for you guys
   m0unds: took 10 seconds or so to display the curl page on my phone
   
 didn't crash or anything
   mercutio: curl page showed ok
   
 it was other that crashed
   m0unds: oh, let me try that
   mercutio: then i clicked on the top curl one and it crashed again
   
 my phone only has 1gb of ram
   
 i dunno if that's why
   
 but no other chrome windows open
   m0unds: it's taking a while to show m all the graphs - i have a few missing
   mercutio: and yeh 10 seconds kind of sucks
   
 some are blank in other
   
 i haven't cleaned up this server yet :)
   
 i cleaned some of the others up abit
   m0unds: 4 seconds on my macbook
   
 10 on the phone
   acf_: which specific page?
   m0unds: "other"
   mercutio: oh it does load a little slow
   m0unds: just got the "aw snap" on my phone for "other"
   
 haha
   mercutio: m0unds: yeh that's what was happening to me
   
 and it's what the completion jumped to first
   m0unds: it loaded most of them the first time, with 3 or so missing
   
 then when i reloaded, i got "aw snap"
   mercutio: android is so stable
   m0unds: sometimes
   
 haha
   mercutio: there's only one fcgiwrap socket
   
 and it's i3 cpu
   m0unds: ah, gotcha
   mercutio: so it should have more than one
   
 well if it's going to be slow
   
 it does seem svg does generate slower than ping
   
 png
   acf_: or it's just bigger, so there is more transfer time?
   
 my phone is swapping to flash on "other" :P
   mercutio: mind you it's also bigger file size
   
 heh
   m0unds: hahaha
   mercutio: i wonder if it's just svg needs tuning in rrdtool
   
 it does look nicer, but i want to change my step time down now :)
   acf_: mercutio: do you have gzip compression enabled on your http?
   
 that would probably help a lot
   mercutio: i tried on and off before
   
 a diff day
   
 so maybe it's off
   acf_: png is binary, svg is xml
   mercutio: it was always on for /smokeping
   
 it's smokeping.fcgi i was turnig it off/on
   
 oh
   acf_: ah, ok
   mercutio: then it's not working for some reason
   
 cos i tried curl -O before
   
 grr
   
 it's huge
   
 wow
   
 it's 240k to 40k just running gzip on it
   
 why it's nginx compressing it
   
 oh i need to define it for that mime type i tink
   
 done
   
 50k rather than 40k
   
 but so be it
   
 and yeah mime type
   acf_: see any performance difference?
   mercutio: no
   
 curl --compressed -v -O   0.00s user 0.00s system 5% cpu 0.058 total
   
 curl --compressed -v -O   0.00s user 0.00s system 17% cpu 0.019 total
   acf_: loads in ~2 sec for me
   mercutio: that was non compressed first one
   
 curl --compressed -v -O   0.00s user 0.00s system 2% cpu 0.133 total
   
 oh
   
 the 133 msec vs 58 msec
   
 the 19 msec was cached
   acf_: that would make sense
   mercutio: it still seems slow :/
   acf_: yea
   mercutio: i have 1 minute expiry set
   
 cos it updates every minute
   
 i think it is a little faster
   
 but yeah if i setup the cgi to run multiple at once it'd make it seem smoother i imagine
   
 actually i don't think it'd make any difference
   
 i think the cgi creates the images
   acf_: it does
   mercutio: so the server would have to do it in parallel
   
 i wonder if there's an easy way to do that ...
   ***: sga0 has joined #arpnetworks
   mercutio: like async create graphs on various threads, wait for completion
   acf_: probably not without changing lots of code
   mercutio: yeah i don't want to touch lots of code :)
   
 the code looked scary
   
 i'm thankful for getting this far!
   acf_: yea. it's been going rather well
   mercutio: i wonder if bryce is around
   
 he's running smokeping too
   acf_: brycec: ^
   
 I think RandalSchwartz is really big on perl..
   mercutio: oh you're bryce?
   acf_: just calling him
   mercutio: oh right
   
 i think the mobile layout could be improved too
   
 actually i'm going to try on my tablet
   
 err on my crap tablet
   acf_: there is a mobile layout?
   mercutio: no
   
 that's the problem
   
 it's really annoying to select hosts on the left
   m0unds: "other" still ends up hanging on my phone
   acf_: lol yea
   mercutio: yeah i think phones have to switch back to png :)
   acf_: the smokeping web interface could really do with some improvements..
   
 I wonder how hard it would be to rewrite that part in golang or something
   mercutio: yeah i was thinking of writing my own web frotn end
   
 but it seems that the web front end is tied heavy into the backend
   acf_: that's what it looks like
   mercutio: it was one of those things that was coming to me today
   
 the other thing i want to do is quick snmp monitoring of network interfaces with ultra-quick updates
   
 like show on a web page bandwidth per second or such
   acf_: Cacti?
   
 oh without graphs you mean?
   mercutio: cacti is per minute
   
 and similar with ping too
   
 something you can go to real time to measure performance
   
 as well as doing it on command line
   
 so it'd do the actual checks with backend
   acf_: it would be cool to aggregate all that information (SNMP, SmokePing, etc...)
   m0unds: yeah
   acf_: also, this: http://stats.sunet.se/stat-q/load-map/optosunet-core,,traffic,peak
   
 super cool imo
   mercutio: chrome is spastic on my tablet
   m0unds: i use cacti for local stuff (snmp on my juniper srx and managed switch)
   mercutio: and it's not full screen
   acf_: m0unds: you have a juniper srx?
   m0unds: yeah
   acf_: I was thinking about getting one of those
   
 what model?
   m0unds: i have a SRX210HE
   acf_: what kind of forwarding performance do you get?
   mercutio: it's a nexus 7 maybe they tihnk i'm meant to be running android 5 or something
   m0unds: i haven't tested it
   
 it's rated for 800mbit/sec imix iirc
   acf_: not bad for the price tag
   m0unds: cpu utilization is a whopping 8% maxing out my 50mbit cable connection, haha
   
 yup
   
 great for learning junos too
   
 has all the features of the big units as well as layer 3 switching and stuff
   
 junos for all occasions
   
 i graph cpu utilization, flow sessions, memory usage, cf storage, temperature and my WAN bits/sec
   acf_: is there a good way to get the amount of data transferred over a given interval with Cacti?
   
 (on a specific interface)
   
 my "Total In" and "Total Out" numbers are always off..
   m0unds: ah
   mercutio: nexus 7 2012 is being very slow sohwing other in "browser"
   m0unds: mine's pretty close, it matches what i get when i query via ssh
   acf_: with svg or png?
   mercutio: svg
   acf_: hm, yea
   mercutio: oh it loaded finally
   acf_: :P
   m0unds: haha
   acf_: m0unds: the thing that disturbed me
   mercutio: it distorts the graphs heaps when scrolling too
   
 looks a bit funky
   acf_: is that the "Total In" and "Total Out" numbers for 1 week were larger than the numbers for 1 month
   mercutio: i bet it's a lot faster on my other tablet
   acf_: I guess svg s are cpu-intensive to render
   
 especially on mobile platforms..
   mercutio: yeah
   
 nexus 7 has a crap cpu
   m0unds: ...whaaaat?
   mercutio: actually i don't know if it's /that/ bad
   m0unds: that's weird
   mercutio: it's 2012 model
   m0unds: is the time right on the host and everything?
   mercutio: what do you mean?
   
 catci doesn't care about time
   
 it cares about uptime
   acf_: I saw that when I first started using Cacti
   
 I had a lot of data transferred in the last week or so
   
 and none for the rest of the month
   mercutio: did you reboot the router?
   acf_: don't think so..
   BryceBot: That's what she said!!
   mercutio: did it wrap around?
   acf_: wrap around?
   mercutio: for snmp counters
   acf_: maybe, I'm not sure
   
 just found another example
   
 "Total In: 184.35 GB" for weekly
   
 "Total In: 184.3 GB" for monthly
   
 this one wasn't that bad
   
 the volume of the other one was in MB
   
 and the numbers were off by at least several MB
   m0unds: is this a new install?
   acf_: new as of a long time ago
   m0unds: ah
   acf_: Version 0.8.8b
   
 (shipped with Debian)
   m0unds: was just curious if maybe it was averaging over a month w/only a months' worth of data or something goofy
   
 i don't even know what version i'm on
   acf_: probably it is doing something like that
   
 it says in the console when you log in
   
 in the top right
   m0unds: yeah, logging now
   
 logging in
   
 same version here, ubuntu 14.04
   acf_: added any new graphs / data sources recently?
   m0unds: nope, deleted some lately (ipv6 tunnel)
   
 haven't added any though
   acf_: http://unixcube.org/who/acf/tmp/graph_image-0.png
   
 http://unixcube.org/who/acf/tmp/graph_image-1.png
   
 (had to censor these)
   
 note the "Total In
   
 *way* bigger on the weekly one
   m0unds: huh
   
 weird
   
 oh cool, spotify got rights to some of the boards of canada b-side stuff they lost a while back
   mercutio: it does seem weird
   
 can you use sflow acf?
   
 i was distracting getting rid of the stupid borders with smokeping
   
 well rrdtool
   
 you have the silly borders too :)
   
 so is it actually spiking like that?
   acf_: yea, the spikes are real
   
 which silly borders?
   mercutio: the gray
   
 light gray and dark gray
   
 there's a line on left hand side and top and bottom and right
   
 and the background colour
   
 of the text etc
   
 i set all of them to FFFFFF
   
 BACK, CANVAS, SHADEA, SHADEB
   
 http://202.49.71.24:24/smokeping/smokeping.fcgi?target=Curl
   
 so it shows like that now
   
 i kind of want to take the rrdtool text out as well
   acf_: oh those grey borders
   mercutio: and fix the logo
   acf_: yea for that you just need to substitute png back in
   mercutio: what?
   acf_: > and fix the logo
   mercutio: oh right yeh
   acf_: the logo is a png
   mercutio: apparently you have to hack the source te romev the TOBI thingy
   
 apparently the author is cool with people doing that
   acf_: I wonder if you can reference it specifically with --font
   
 and set the font size to zero
   
 or the color to transparent
   
 or something
   mercutio: i'm just going to hack the source
   
 there's a new version that just came out
   
 but hadn't been a new version in two years
   
 doesn't seem to have changed mcuh though
   
 hmm other works fine on my good tablet
   
 and it seems fast too
   acf_: any svg generation performance change with the new version per chance?
   mercutio: didn't look like it
   
 was hoping to be haha
   
 http://oss.oetiker.ch/rrdtool/pub/CHANGES
   
 but it may mean there's a new version again soon
   
 i didn't realise rrdtool and smokeping were written by the same guy