Pages: 1
  Print  
Author Topic: New Hardware  (Read 10068 times)
Offline (Male) Josh @ Dreamland
Posted on: August 17, 2011, 02:28:07 am

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2950

View Profile Email
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.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Male) polygone
Reply #1 Posted on: August 17, 2011, 06:07:42 am

Contributor
Location: England
Joined: Mar 2009
Posts: 794

View Profile
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?
Logged
I honestly don't know wtf I'm talking about but hopefully I can muddle my way through.
Offline (Unknown gender) TheExDeus
Reply #2 Posted on: August 17, 2011, 06:36:45 am

Developer
Joined: Apr 2008
Posts: 1860

View Profile
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)?
Logged
Offline (Male) notachair
Reply #3 Posted on: August 17, 2011, 06:53:54 am

Definitely not a chair
Contributor
Joined: Feb 2008
Posts: 299

View Profile
Fixed the font stuff! Was a minor error in the asset serving script.
Logged
Offline (Unknown gender) TheExDeus
Reply #4 Posted on: August 17, 2011, 07:02:58 am

Developer
Joined: Apr 2008
Posts: 1860

View Profile
I didn't notice anything, but I wasn't looking for anything either.
Logged
Offline (Male) notachair
Reply #5 Posted on: August 17, 2011, 07:10:12 am

Definitely not a chair
Contributor
Joined: Feb 2008
Posts: 299

View Profile
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
Logged
Offline (Unknown gender) daz
Reply #6 Posted on: August 17, 2011, 09:24:11 am
Contributor
Joined: Jul 2010
Posts: 167

View Profile
So far, it's so much faster  :v:
Logged
Offline (Male) Josh @ Dreamland
Reply #7 Posted on: August 17, 2011, 09:45:53 am

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2950

View Profile Email
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.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Female) IsmAvatar
Reply #8 Posted on: August 17, 2011, 01:37:58 pm

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 877

View Profile Email
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>>
« Last Edit: August 17, 2011, 01:41:12 pm by IsmAvatar » Logged
Offline (Unknown gender) TheExDeus
Reply #9 Posted on: August 17, 2011, 05:10:23 pm

Developer
Joined: Apr 2008
Posts: 1860

View Profile
Quote
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>>
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.
« Last Edit: August 18, 2011, 03:04:23 pm by HaRRiKiRi » Logged
Offline (Male) kkg
Reply #10 Posted on: August 20, 2011, 11:52:54 am

Member
Location: Australia
Joined: Nov 2009
Posts: 84
MSN Messenger - kamikazigames@gmail.com
View Profile Email
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 ^_^
Logged
PC: Core i7-2600 @ 3.8ghz | 4x 4gb G.Skill RipjawZ DDR3-2000 | GTX580 | Win7 x64
Time is the greatest teacher, however it kills every single one of its pupils.
Pages: 1
  Print