-
Posts
740 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Everything posted by Kid Winchell
-
The only way you can figure out anything about the API at the moment is by digging through pages of forum discussion to see what does/doesn't exist. To make sure that people know what's going on, https://politicsandwar.com/api/should be an about page, with a description of every type of API page available. And maybe a blurb explaining what an API is/does because people who have no idea what they're doing are bound to click through to it at some point. Posting this in its own suggestion thread so you're forced to address it.
-
Not really, because the payouts used to be less than an 8-year-old makes with a lemonade stand. So he could increase payouts by an order of magnitude from what they were originally and baseball still wouldn't be profitable. Now it's just less not profitable.
-
Yeah, no Y2K game explosion, what gives?
-
CITY JSON API a bit sad - data there twice and HTML code
Kid Winchell replied to martbhell's topic in Tech Support
I've been meaning to complain about how data.alliancedata/nationdata/citydata was stupid. Also your bad formatting with random indentations (or lack thereof) all over the place. -
A list of all alliances would be nice, as would listing all members on the individual alliance page. Also an about page that lists all of the API pages (and probably a description of what the API is/does for people who wander there and don't know what they've found).
-
Since the nations API page serves info for every nation in the game, it's a pretty large file. Since it's in the interest of everyone for things to be as small and fast as possible, redundant things should be removed. Particularly, the url tag provides no new information (it's just a static string plus nationid, which is already given), and removing it reduces filesize by 15%. Latitude and longitude serve no functional purpose other than determining your continent, which, again, is already given. And if people want it, they can grab it from an individual nation's API page, along with other flavour stats, like their leader's title. Removing latitude and longitude reduces filesize by 10%. There are minor things, like serving the nation's rank as an integer instead of a string reduces filesize by half a percent. Indenting with two spaces instead of four reduces filesize by 15%. Or, since properly-formatted, readable JSON doesn't seem to be that big of a concern, what with the random indentations all willy-nilly, you could just serve it as compact JSON, reducing filesize by 38%. tl;dr Compared to the current filesize, removing redundant info reduces filesize by 25%, trimming spaces reduces filesize by 15%, and serving compact JSON reduces filesize by 38%. Removing redundant info and trimming spaces reduces filesize by 39%, while removing redundant info and serving compace JSON reduces filesize by an impressive 57%.
-
A giant fist smushing someone's pimply face, complete with broken glasses. And/or a giant butt.
-
If you look into Google Apps Script, you can automatically grab the webpage and parse it into a spreadsheet.
-
Mr. Lairotut is a stupid-ass name.
-
Came here to post this.
-
Or, y'know, sheepy could just properly format the JSON. Apostrophes don't need to be escaped, only quotes.
-
12/18/2015 - Politics & War Now Accepts Crypto-currency!
Kid Winchell replied to Alex's topic in Announcements & Updates
1337 h4xx0r hipsters Also if you're going to add something because paypal sucks, you should add Amazon Payments, not some alternative currency mumbo jumbo. -
Plaid or bust!
-
"This nation existed when P&W turned 1," but the cake has three candles. What kind of terrible person puts the wrong number of candles on a birthday cake?
-
MadGFX - Closed - Thank You For Your Business!
Kid Winchell replied to Aksel's topic in Free Trade Market
I''d consider it more of a cheap knock-off brand. -
Flags ain't apposed ta have textures, ya twats.
-
"It's long and it's black and I love it." - Sheepy
Kid Winchell posted a topic in General Discussion
0:44 or . -
GladGFX - Quabity Assued by Creed Bratton
Kid Winchell replied to Kid Winchell's topic in Free Trade Market
No. Everyone knows that would never happen. The Khevinist national hockey team sucks. -
MadGFX - Closed - Thank You For Your Business!
Kid Winchell replied to Aksel's topic in Free Trade Market
I certainly hope you're not referring to me. -
MadGFX - Closed - Thank You For Your Business!
Kid Winchell replied to Aksel's topic in Free Trade Market
I'm not posting in here with my shit graphics. I'm posting in here telling you to go elsewhere for them. -
MadGFX - Closed - Thank You For Your Business!
Kid Winchell replied to Aksel's topic in Free Trade Market
There's no line in my graphics shop. And it's cheaper. But that's also because it's more along the lines of "graphics". -
GladGFX - Quabity Assued by Creed Bratton
Kid Winchell replied to Kid Winchell's topic in Free Trade Market
I am a master of many things. My varied skills include such feats as having memorized the entire alphabet, in order! -
GladGFX - Quabity Assued by Creed Bratton
Kid Winchell replied to Kid Winchell's topic in Free Trade Market
I had to make sure it's properly fancy first. -
GladGFX - Quabity Assued by Creed Bratton
Kid Winchell replied to Kid Winchell's topic in Free Trade Market
Because not everyone wants to make fun of other players for no particular reason. -
We guarantee that all of our graphics will be quality, but we do not guarantee what the word preceding "quality" will be. But hey, it's cheaper than that other guy with the anger issues. Tested Monocles