These are chat archives for arenanet/api-cdi

5th
Jul 2016
smiley
@codemasher
Jul 05 2016 18:45
add this to your bookmarks if you haven't already: https://zerossl.com/
do they support ACME?
I'd rather use letsencrypt and not have to worry about certificate renewals
wait do they just use letsencrypt on the backend
this makes no sense
smiley
@codemasher
Jul 05 2016 19:42
iunno, i needed it because i just have a webhosting package but i can manually add certificates
how much are you paying for the webhosting package?
smiley
@codemasher
Jul 05 2016 19:43
and it was more hassle to first get a linux vm up and install all that stuff :D
uhh, like 4€
per month
I'm paying $5/month for a t1.nano EC2 instance
just grabbed the FreeBSD AMI and installed nginx+letsencrypt.sh and pushed application binaries to it
not really that much setup IMO
but I'm like ... a sysadmin by trade I guess
smiley
@codemasher
Jul 05 2016 19:45
that's what i just ordered as upgrade :D
well, those webhosting packages are nice, like all stuff allowed and many configuration options and stuff
but now with ssl and letsencrypt, the effort for a root server may pay off
does hetzner use their own control panel or a cPanel knockoff?
smiley
@codemasher
Jul 05 2016 19:48
they have their own, 2 separate for webhosting and dedicated
yeah, not much to display on a dedicated control panel
"reboot, reimage"
smiley
@codemasher
Jul 05 2016 19:48
"reset"
yea
OVH also provides a web-based serial console iirc which is super nice
(but only for the more expensive OVH servers, not kimsurfi/soyoustart)
smiley
@codemasher
Jul 05 2016 19:49
oh well, i don't need all those toys :D
serial console is really nice when your hdd dies and your kernel panics and you need to figure out wtf is going on
which happens more often than you'd hope
Eearslya Sleiarion
@Eearslya
Jul 05 2016 19:50
I keep getting e-mails from alpharacks and they are getting extremely desperate
smiley
@codemasher
Jul 05 2016 19:50
but then again, there's nothing critical (yet) that'd run there...
Eearslya Sleiarion
@Eearslya
Jul 05 2016 19:51
They're starting to sell their "master reseller" plans which allow you to be a reseller..for resellers. It's only webhosting, but this is their top-tier master reseller package: http://puu.sh/pRpKm/197050ec6b.png
hmm, alpharacks doesn't seem to have bad prices
Eearslya Sleiarion
@Eearslya
Jul 05 2016 19:51
Yeah I wouldn't look too much at them though
hardware issues? or what
Eearslya Sleiarion
@Eearslya
Jul 05 2016 19:52
There's a good reason they're this desperate
they can't be worse than FDC
FDC literally played dominos with HDDs before installing them
Eearslya Sleiarion
@Eearslya
Jul 05 2016 19:52
I had a VPN with them at one point. Super cheap, 6GB RAM, I was happy
and/or installed broken HDDs that had been removed from other servers
Eearslya Sleiarion
@Eearslya
Jul 05 2016 19:52
Except their network was built by a two year old
eugh
that's the worst
Eearslya Sleiarion
@Eearslya
Jul 05 2016 19:53
Yeah, we're talking REGULAR 8-10 hour downtimes
that's basically soyoustart in a nutshell -- all the soyoustart servers are QoS'd to hell and back
wow what
do they not like ... provide an SLA?
Eearslya Sleiarion
@Eearslya
Jul 05 2016 19:53
Not sure tbh
I went to alpharacks because it was cheaper than ramnode
But it was not worth it
when we had a fire in the OVH datacenter they gave us half a month's cost back because of a day of downtime
or 8 hours or so of downtime, I don't recall
thankfully our rack didn't burn down
Eearslya Sleiarion
@Eearslya
Jul 05 2016 19:54
We as in ANet?
no we as in me
Eearslya Sleiarion
@Eearslya
Jul 05 2016 19:55
You have a rack to yourself? ...For what?
contracting and stuff
it's not mine persay, I just admin it
Eearslya Sleiarion
@Eearslya
Jul 05 2016 19:55
Reselling?
no, just a website thing
Eearslya Sleiarion
@Eearslya
Jul 05 2016 19:55
Ah, got it
They make the site work and go to you when the hardware's broke
pretty much
had a hdd die last month, that's always the worst
but it was past the MTBF so w/e
Eearslya Sleiarion
@Eearslya
Jul 05 2016 19:58
HDD failures are okay as long as you're RAIDed
ehhh depends on how it fails
the most recent one was basically too old and was getting bad sectors
Eearslya Sleiarion
@Eearslya
Jul 05 2016 19:59
oh no did it replicate the bad sectors
so write throughput was basically in the gutter and the MySQL slave running on it couldn't keep up with the master
Eearslya Sleiarion
@Eearslya
Jul 05 2016 19:59
Oh, also bad
yeah, ended up just patching it together with spit and duct tape and said "we should decommission this machine"
Eearslya Sleiarion
@Eearslya
Jul 05 2016 19:59
Yeah, I guess it's easier if the thing just dies quick
really should probably check my email and/or follow up on that though
yeah we migrated off those machines a year ago
not really sure why we kept 'em around
one of them (the degraded one) is running a semi-critical service which is kinda stupid
Eearslya Sleiarion
@Eearslya
Jul 05 2016 20:00
Don't most RAIDs shut down a drive if it fails SMART though?
turns out i'm not a good sysadmin either
Eearslya Sleiarion
@Eearslya
Jul 05 2016 20:00
Or is it just if the drive stops responding altogether?
never said it was RAID :D
Eearslya Sleiarion
@Eearslya
Jul 05 2016 20:00
Oh rip
the newer ones are running ZFS with 1-drive redundancy though
the old ones have all of the disk load on secondary drives
so you can shuffle stuff around if one of the secondaries fail
(and the boot drive has barely any load on it, so they typically fail after we cancel the machines)
Eearslya Sleiarion
@Eearslya
Jul 05 2016 20:05
I know a lot of systems just use USB drives for boot
that works too; all of ours have platter HDDs
hmm, for leaderboards, what's a reasonable number of entries to return by default? I'm thinking 200.
we usually store the top 1000 and there's no reason not to expose all 1000 via the API, but I don't want to do that in the normal case
so for adventures I'm thinking of putting the top 5 for each timeframe and add an additional endpoint for fetching further leaderboard entries
e.g., /v2/adventures/:id will give top 5, and if you wanted more you could fetch /v2/adventures/:id/leaderboard or something
hmm and maybe overload to also have /v2/adventures/:id/leaderboard?access_token=N to get the account's standing
though it kind of makes more sense to have a discrete endpoint for that last bit, hmm
Eearslya Sleiarion
@Eearslya
Jul 05 2016 20:25
/v2/account/adventures seems to make sense, yeah
ah derp, that's a good point
I'll do that instead :blush:
Christian
@zeeZ
Jul 05 2016 21:01
I dread the day my kimsufi hdd fails, maybe I should move back to a vps
OVH is QoS like hell because everyone uses them for either torrent seed boxes or minecraft servers
the cheap brands, that is
I was under the impression that minecraft servers were fairly low-bandwidth
the seed box thing was OVH's fault -- they never cracked down on it and basically became the place for running seed boxes and remote downloaders -- you'd be able to pretty much get anything instantly because half the swarm was in the same DC
windwarrior
@windwarrior
Jul 05 2016 22:39
minecraft is high cpu but not too much bandwith indeed
those OVH/Herzner offers are great for MC servers tho
and @adventures, just paginate them with page sizes of 200
thats consisent with what the rest of the endpoints do
windwarrior
@windwarrior
Jul 05 2016 22:44
broken link
smiley
@codemasher
Jul 05 2016 22:44
wow, they deleted quick :D
windwarrior
@windwarrior
Jul 05 2016 22:45
what did they post :'(
eugh I think I might just have a /v2/leaderboard/:id that's referenced from /v2/adventures, simply because the leaderboards are also used for other things
and they're really complicated
(and that's before the actual standings even get mixed in -_-)
Archomeda
@Archomeda
Jul 05 2016 23:42

i'm actually waiting to see

"ordering": "LessIsMore"

:D

that's in there too for adventures with timers
wait it's LessIsBetter
hmm
Archomeda
@Archomeda
Jul 05 2016 23:43
:D
is it worth the confusion to make a joke in the API
Archomeda
@Archomeda
Jul 05 2016 23:44
haha not sure :)