Pages: 1
Author Topic: New Hardware  (58,621 Views)
Offline (Unknown gender) Josh @ Dreamland

Prince of all Goldfish
Developer
Joined: Feb 2008
Posts: 2,950
View profile
Posted on: August 17, 2011, 07:28:07 AM
In case you missed that MASSIVE fifteen minute downtime (longest fifteen minutes I've ever waited patiently through as CPanel did all the work)... *cough*


Let's try this over. Hello, everyone! We're on new hardware.

Everyone give a big thanks to the following:
= IsmAvatar for forking over half the price of the server
= Gary for installing the gobs of software we apparently depend on
= a2h for debugging his CSS and apparent dependency on the aforementioned software
= And of course, me, for my expedient remedy of all other aspects of this migration

Now you should be able to click a fucking wiki link without sixteen minutes of latency.
Enjoy.

@a2h: these fonts are oversized and hideous. Please fix them.
Offline (Unknown gender) polygone

Contributor
Joined: Mar 2009
Posts: 794
View profile
Reply #1 Posted on: August 17, 2011, 11:07:42 AM
Thank god, it was getting very bad before and would have likely pushed away new people visiting the site. We should really thank you and ism extra though since you're paying for it :]

Hopefully it should hold together now, right?
Offline (Unknown gender) TheExDeus

Developer
Joined: Apr 2008
Posts: 1,860
View profile
Reply #2 Posted on: August 17, 2011, 11:36:45 AM
Great. I also thank Ism and Josh for this (and Gary and a2h).

On a related note: Is there a way I could get to wiki's sql? I don't want to modify anything, but I am trying to create a manual type of thing and what I do now is get the whole page and just cut out the article. It would be a lot faster, less bandwidth intensive and easier if I could get the article from the database at the first place. Maybe some read only account could be made (is there even such a thing)?
Offline (Unknown gender) notachair

Definitely not a chair
Contributor
Joined: Feb 2008
Posts: 299
View profile
Reply #3 Posted on: August 17, 2011, 11:53:54 AM
Fixed the font stuff! Was a minor error in the asset serving script.
Offline (Unknown gender) TheExDeus

Developer
Joined: Apr 2008
Posts: 1,860
View profile
Reply #4 Posted on: August 17, 2011, 12:02:58 PM
I didn't notice anything, but I wasn't looking for anything either.
Offline (Unknown gender) notachair

Definitely not a chair
Contributor
Joined: Feb 2008
Posts: 299
View profile
Reply #5 Posted on: August 17, 2011, 12:10:12 PM
Quote from: HaRRiKiRi on August 17, 2011, 12:02:58 PM
I didn't notice anything, but I wasn't looking for anything either.

It's because my asset thingo tells your browser to cache the stylesheet for a bit =P
Offline (Unknown gender) daz

Contributor
Joined: Jul 2010
Posts: 167
View profile
Reply #6 Posted on: August 17, 2011, 02:24:11 PM
So far, it's so much faster  :v:
Offline (Unknown gender) Josh @ Dreamland

Prince of all Goldfish
Developer
Joined: Feb 2008
Posts: 2,950
View profile
Reply #7 Posted on: August 17, 2011, 02:45:53 PM
And you'll be hearing about it if this thing ever slows down, daz. Since you recommended it to us, you are implicitly liable for any and all bitching.
Offline (Unknown gender) IsmAvatar

LateralGM Developer
LGM Developer
Joined: Apr 2008
Posts: 877
View profile
Reply #8 Posted on: August 17, 2011, 06:37:58 PM
Quote from: HaRRiKiRi on August 17, 2011, 11:36:45 AM
Great. I also thank Ism and Josh for this (and Gary and a2h).

On a related note: Is there a way I could get to wiki's sql? I don't want to modify anything, but I am trying to create a manual type of thing and what I do now is get the whole page and just cut out the article. It would be a lot faster, less bandwidth intensive and easier if I could get the article from the database at the first place. Maybe some read only account could be made (is there even such a thing)?

Consider using the wiki's bot API. It won't get you direct access to the mysql, but it will bypass the parser that generates the html for the page.
http://enigma-dev.org/docs/wiki/api.php?action=query&prop=revisions&rvprop=content&rvlimit=1&format=xml&titles=<<PageTitleGoesHere>>
Offline (Unknown gender) TheExDeus

Developer
Joined: Apr 2008
Posts: 1,860
View profile
Reply #9 Posted on: August 17, 2011, 10:10:23 PM
QuoteConsider using the wiki's bot API. It won't get you direct access to the mysql, but it will bypass the parser that generates the html for the page.
http://enigma-dev.org/docs/wiki/api.php?action=query&prop=revisions&rvprop=content&rvlimit=1&format=xml&titles=<<PageTitleGoesHere>>
Thank you. I will look into this. Looks promising. Though it seems that I will somehow need to get formatting back.

edit: Who would of taught.. after several hours of checking the API and looking into ways to parse wikitext markup I came up on this:
"http://enigma-dev.org/docs/wiki/index.php?title=<<PageTitleGoesHere>>&action=render"
That returns just what I need.
Offline (Unknown gender) kkg

Member
Joined: Nov 2009
Posts: 84
View profile
Reply #10 Posted on: August 20, 2011, 04:52:54 PM
Awesome news, I got sick of literally being able to fetch a beverage whilst waiting for a page to load.
Ta for paying for the site, guys ^_^
Pages: 1