NationStates Jolt Archive


NSEconomy?!?

Riegab
20-12-2004, 22:48
Um, has anyone seen this, http://nseconomy.thirdgeek.com/nseconomy.php :eek: :eek: not the site, but look, it's all well, for lack of better word, gone (in a way)!


Oh the humanity!
Riegab
20-12-2004, 22:50
Sorry if this was posted in the wrong place.
Santa Barbara
20-12-2004, 23:02
Saddening. :( I hope this doesn't permanently defeat the NSeconomy calculator. It's quite useful and handy, even if it doesn't match the UN rankings to my liking.
Riegab
20-12-2004, 23:07
I don't even see how it was possible?!?!
Aeruillin
21-12-2004, 01:38
I just noticed that too. I first thought it was a wiki-vandalizing bot, but then realized nseconomy isn't a part of the nswiki site. So I have no clue what might have happened here...

Luckily, you can still find out all your stats (though not the economy).

The data for most calculators is pulled off this XML feed:

http://www.nationstates.net/cgi-bin/nationdata.cgi/nation=YOURNATION (It's best to click "view page source" so you know what stat is what, as it's between the relevant xml tags, like: "<POPULATION>1139</POPULATION>".

It's not very graphically appealing, but the info is there, and could be parsed by anyone with basic knowledge of PHP. If I had the time this week (and the bandwidth to handle the surge of traffic), I'd make an interim parsing site and host it. However, that would have to wait until Christmas, and I guess (hope!) that the NSEconomy site is up again by then.

Edit: It appears that all the economy stats (such as GDP, per capita and Deficit/Surplus) are indeed calculated from the others somehow and not on the page themselves. So unless the formula is public, I fear that that info will be unavailable while the site is down.
SalusaSecondus
21-12-2004, 02:21
1) We aren't responsible for the calculator, thus it isn't our responsibility or really our problem.
2) I'm lending a bit of a hand anyway (Unofficially of course).
Commerce Heights
21-12-2004, 05:30
NSEconomy is back up, although I haven't finished re-uploading other things, such as the forums.

So unless the formula is public
The formulas are on my forums, which doesn't help much when those aren't working. http://terranordalis.thirdgeek.com/images/smiles/icon_wink.gif
Kwaswhakistan
21-12-2004, 05:38
It seems many sites accross the net got this same thing done to them. Supposedly it doesn't screw with your database, only the files... It's like either a phpbb exploit or a php exploit.. can't remember whch one...
Aeruillin
21-12-2004, 05:49
php has some sort of security hole discovered recently, it appears. Maybe they exploited that.

Meh, I'm just glad I ran my virus checker again just after visiting that site. Who knows how the hacked php might try to screw with your pc?

I guess then that it'd be best if they were saved at other places as well. Perhaps the NationStates Wiki.
Tuesday Heights
21-12-2004, 05:49
This is from another one of my favorite web sites:

"It appears that earlier today, RSO was victim to an automated worm which hacked into our site and planted lots of messages saying that the site had been "defaced". Many of our sections, including the forum have been affected. The homepage was also deleted but has since been restored. However, the rest of the site is still down. It has caused a big inconvenience, but rest assured that no serious damage has been done and the stuff that was overwritten will be replaced with backups that Tony has on his PC when he next comes online. RSO isn't the only site that this has happened to so if you visit another site and you see a black page with read text saying "This site has been defaced" then they too have been victim to this worm."

http://www.rachelstevensonline.com/

They had the same problem.
Kwaswhakistan
21-12-2004, 05:52
whoa... rachel stevens.. where has she been... man i used to be such a fan of the S..... ok i'll leave now
Aeruillin
21-12-2004, 05:58
At least jolt and NS themselves haven't been affected. Now *that* would have caused a fright. :P
Harlesburg
21-12-2004, 05:59
whoa... rachel stevens.. where has she been... man i used to be such a fan of the S..... ok i'll leave now
I must have missed something but shes a total babe always ranks high in FHM mmmmmmmm
There once was a time when my dollar was equal to the US :(
I had a kick arse Auto Industry now ive lost my cheese and onlyy have Lemonade :confused:
Tuesday Heights
21-12-2004, 06:08
At least jolt and NS themselves haven't been affected. Now *that* would have caused a fright. :P

I think the sites that have been hit don't have the type of "protection" sites like NationStates has.
Eridanus
21-12-2004, 06:36
What the hell are you talking about? it works perfectly for me. Here's my stats as proof:

The Lunatic Asylum of Eridanus
OOPS my karma ran over your dogma
Domestic Statistics
Government Category: Anarchy
Government Priority: Education
Economic Rating: All-Consuming
Civil Rights Rating: Superb
Political Freedoms: Superb
Income Tax Rate: 100%
Major Industry: Information Technology
National Animal: crocodile
National Currency: Alliance Credit
Total Population: 4,242,000,000
Government Budget Details
Administration: $0.00 0%
Social Welfare: $21,270,444,972,013.45 16%
Healthcare: $7,976,416,864,505.04 6%
Education: $42,540,889,944,026.89 32%
Religion & Spirituality: $0.00 0%
Defence: $0.00 0%
Law & Order: $0.00 0%
Commerce: $1,329,402,810,750.84 1%
Public Transport: $7,976,416,864,505.04 6%
The Environment: $26,588,056,215,016.81 20%
Social Equality: $23,929,250,593,515.13 18%
Eridanus Economic Statistics
Exchange Rate: 1 Alliance Credit = $1.5240
Gross Domestic Product: $132,683,490,299,353.09
GDP Per Capita: $31,278.52
Unemployment Rate: 4.42%
Consumption: $-0.02
Government Budget: $135,653,348,035,800.05
Government Expenditures: $132,940,281,075,084.05
Goverment Waste: $2,713,066,960,716.00
Exports: $15,273,615,891,919.09
Imports: $15,530,406,667,650.00
Trade Deficit: $256,790,775,730.91
0000000000Greater Freedom Economic Statistics
Gross Regional Product: $551,063,382,984,097.25
GRP Per Capita: $14,639.20
Regional Population: 37,643,000,000
Regional Average GDP: $12,524,167,795,093.12
Largest GDP: Eridanus ($133 trillion)
Smallest GDP: Being Orange ($6.27 billion)
Largest GDP Per Capita: Nicecon ($36,231)
Smallest GDP Per Capita: Rehabclinic ($73.50)
Largest Trade Surplus: The Potato Farmers ($1.25 trillion)
Largest Trade Deficit: Czechoso ($344 billion)
Kwaswhakistan
21-12-2004, 06:39
What the hell are you talking about? it works perfectly for me. Here's my stats as proof:

err yah it was just mentioned that most of it was re-uploaded, except for like the forums and stuff
AeroSpaceCity
21-12-2004, 07:12
What the hell are you talking about? it works perfectly for me. Here's my stats as proof:

The Lunatic Asylum of Eridanus
OOPS my karma ran over your dogma
Domestic Statistics
Government Category: Anarchy
Government Priority: Education
Economic Rating: All-Consuming
Civil Rights Rating: Superb
Political Freedoms: Superb
Income Tax Rate: 100%
Major Industry: Information Technology
National Animal: crocodile
National Currency: Alliance Credit
Total Population: 4,242,000,000
Government Budget Details
Administration: $0.00 0%
Social Welfare: $21,270,444,972,013.45 16%
Healthcare: $7,976,416,864,505.04 6%
Education: $42,540,889,944,026.89 32%
Religion & Spirituality: $0.00 0%
Defence: $0.00 0%
Law & Order: $0.00 0%
Commerce: $1,329,402,810,750.84 1%
Public Transport: $7,976,416,864,505.04 6%
The Environment: $26,588,056,215,016.81 20%
Social Equality: $23,929,250,593,515.13 18%
Eridanus Economic Statistics
Exchange Rate: 1 Alliance Credit = $1.5240
Gross Domestic Product: $132,683,490,299,353.09
GDP Per Capita: $31,278.52
Unemployment Rate: 4.42%
Consumption: $-0.02
Government Budget: $135,653,348,035,800.05
Government Expenditures: $132,940,281,075,084.05
Goverment Waste: $2,713,066,960,716.00
Exports: $15,273,615,891,919.09
Imports: $15,530,406,667,650.00
Trade Deficit: $256,790,775,730.91
0000000000Greater Freedom Economic Statistics
Gross Regional Product: $551,063,382,984,097.25
GRP Per Capita: $14,639.20
Regional Population: 37,643,000,000
Regional Average GDP: $12,524,167,795,093.12
Largest GDP: Eridanus ($133 trillion)
Smallest GDP: Being Orange ($6.27 billion)
Largest GDP Per Capita: Nicecon ($36,231)
Smallest GDP Per Capita: Rehabclinic ($73.50)
Largest Trade Surplus: The Potato Farmers ($1.25 trillion)
Largest Trade Deficit: Czechoso ($344 billion)

Well it was gone for a while anyways.
Shiaze
21-12-2004, 13:57
cool site :mad: :( :cool: :) :D
Aeruillin
21-12-2004, 19:52
I think there should be an XML feed for individual nations as well, not just regions. It doesn't look like a lot of additional effort...
Right thinking whites
21-12-2004, 20:07
I think there should be an XML feed for individual nations as well, not just regions. It doesn't look like a lot of additional effort...
asked and answered
Here is information on the NationiStates XML feed (http://ns.goobergunch.net/wiki/index.php/XML_feed). This is the only official source of data from NS apart from what appears on the various pages of the site. The formulas you have to work out for yourself.
Goobergunchia
21-12-2004, 20:08
For those wondering about the security of the NSwiki, I've backed up the database and I GORTed the phpBB forum that was located on another part of goobergunch.net, rendering the wiki nearly immune to this bug.

I think there should be an XML feed for individual nations as well, not just regions. It doesn't look like a lot of additional effort...

There is. (http://www.nationstates.net/cgi-bin/nationdata.cgi/nation=aeruillin)
NuMetal
21-12-2004, 21:51
Hm...php vulnarability....I wonder if thats the same thing that ended up with the Blind Guardian website being hacked
Henrytopia
21-12-2004, 22:34
Ahh so that would answer what I was experiencing last night. My NS Economy still has the wrong saying below my nation name.. I immediately hit the panic switch and cut myself offline and did a complete scan with every program I had in my arsenal. :)
Jjuulliiaann
21-12-2004, 22:49
Meh, I'm just glad I ran my virus checker again just after visiting that site. Who knows how the hacked php might try to screw with your pc?
Macs have zero viruses. There have been zero viruses for Mac OSX ever, since the day it came out in early 2000.


Switch to Mac! (http://www.apple.com/switch/)
Aeruillin
22-12-2004, 03:16
Call me a microslave, but I like to have a computer that can run most of the mainstream programs without an emulator. The additional security isn't that necessary.

MSN: Santy Worm affects phpBB sites (http://www.msnbc.msn.com/id/6742668)

Also, when I said "XML feed" I mean the one from NSEconomy, not NS. Ie, one that includes the formula-calculated stats as well. Though now that I have what appear to be the formulas (http://merit.jink.org/forums/index.php?showtopic=419), it wouldn't be that tricky to make such a converter myself. Only of course it would take more work for me than for NSEconomy because I don't have the basics set up yet.
Kwaswhakistan
22-12-2004, 12:24
Macs have zero viruses. There have been zero viruses for Mac OSX ever, since the day it came out in early 2000.

Not true, recently (a couple months ago) there was a virus for mac..... not that well known, but still the virus.. the only reason there aren't many viruses for mac, is because it just sucks so much and is used so rarely that nobody wants to take the time to make one.
Myrth
22-12-2004, 17:39
http://news.bbc.co.uk/1/hi/technology/4117711.stm
Jjuulliiaann
22-12-2004, 23:28
Not true, recently (a couple months ago) there was a virus for mac..... not that well known, but still the virus.
Not true. That was not a virus. That was a vulnerability that could have been exploited (but wasn't). Apple quickly released a fix and no virus was ever constructed. It is now impossible to make that virus, do to the fix.
. the only reason there aren't many viruses for mac, is because it just sucks so much and is used so rarely that nobody wants to take the time to make one.
That is only partly true. Apple does only have about 6% market share, but that is more than the market share of HP or Dell. Also, Microsoft is slow in telling people about vulnerabilities because it holds information until it has a fix ready, leaving people to use its software with huge security holes in it. Apple does not do that.

it just sucks so much
How? Don't tell me that Windows has more software, because for every piece of software you use, there is either a Mac version, or an equal or better program out there that does the same thing. And please don't tell me that Wintel PCs are faster, because the Mac hardware architecture uses longer processor cycles, which translates into a lower Megahertz number, but a faster speed. In recent indpendent benchmark tests, Apple computers run at a similar speed to comparable (in price) Wintel machines. And please don't tell me that Wintel computers are cheaper. For the same price, Macs have the same or better specs. If Apple made a computer for $400, it would have the same specs too. I concede that, if you are looking to a $200 computer, Wintel is the way to go, but for $1000 and up, trust me, get a Mac.

apple.com (http://apple.com/)
Kwaswhakistan
23-12-2004, 01:50
I'm just an apple hater, that's all.. I also hate windows, but not as much of course.. oh and you say it is now impossible to make a virus for apple.. not true, nothing is impossible..


more market share than dell? dell has been going uber insane with all those deals and such... how could they not be near first
Frisbeeteria
23-12-2004, 01:55
Could we move the Apple and MS love/hate fest to General, perhaps?
Jjuulliiaann
23-12-2004, 16:42
dell has been going uber insane with all those deals and such...
This doesn't necessarily give you more market share, as Apple has proven with its huge deals. Anyway, let's end this discussion.
Tuesday Heights
23-12-2004, 19:36
Could we move the Apple and MS love/hate fest to General, perhaps?

Apparently not. :rolleyes:
Parlim
23-12-2004, 20:12
Go Linux! What?

Anyway, I've never been much of a fan of the NSEconomy, as the formula used to create it was taken from a (fellow) member of the Meritocracy, and I'm not sure that credit was ever given to him, though I have seen him (Jasque) ask for it.