NATION

PASSWORD

NationStates issue results

A place to spoil daily issues for those who haven't had them yet, snigger at typos, and discuss ideas for new ones.

Advertisement

Remove ads

User avatar
Trotterdam
Postmaster-General
 
Posts: 10562
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Sat Jan 19, 2019 1:10 pm

Betelgeuse Alliance wrote:Option 1 (which abolishes eminent domain), shows that the economy is more likely to go upwards, as well as the rudeness. But shouldn't economy go down, since the government can't build the big economically profiting shopping complex anymore?
The improvement to the economy is likely due to the increase in economic freedom. Sure, big businesses might sometimes profit from eminent domain, but they can also be victims of it, if the government decides this place needed a hospital more than a shopping mall. Eminent domain on residential buildings can still hurt the economy because it demoralizes employees, threatens house-renting companies, and so on.

The issue wasn't always this way, but it was revamped two years ago. I think we can agree that the old version - practicing eminent domain increasing economic freedom while abolishing eminent domain decreasing economic freedom - didn't make sense.

Betelgeuse Alliance wrote:And shouldn't rudeness go down instead of up due to the fact that the government asks explicit permission to take away private property, (which I think should lead to less insults per minute, since the government doesn't do it forcefully)?
Rudeness is a derived stat, which the editors probably don't often directly assign a value to.

While your logic makes sense that oppressing people would likely lead to them having some rude words for you, I think the idea is that greater freedom means people have more leeway to speak their minds. If the government can take away people's homes at will, they'll be afraid to criticize the government for fear of some bureaucrat deciding to fudge the paperwork so that new carpark has to be built right where they live.

I am confident that these numbers correctly represent how the game currently works. If you still believe this behavior to be incorrect, please take it up with the editors.

User avatar
Sapnu puas
Spokesperson
 
Posts: 169
Founded: Jan 25, 2017
Compulsory Consumerist State

Postby Sapnu puas » Thu Jan 31, 2019 4:35 pm

Issue 224, option 3, is currently "???" and i have the option to answer it, but I'm very hesitant to confirm that option and risk losing any trout industry points.
Is it crucial to find out the fallout message?

EDIT: forgot to include the message that comes with it:
“We don’t need any of these stupid communistic welfare policies,” says Wil Locke, millionaire CEO and star of reality TV show ‘You’re Fired!’ “Living wages are unworkable! If you make workers expensive, then employers are just going to use fewer or lose profits. They should be grateful for a job, and if they don’t want to work, we should be able to boot them out and hire someone else, no questions asked. Hey, it’s not that I’m not compassionate. I’m the most compassionate person you’ll ever meet. The most!”
Last edited by Sapnu puas on Thu Jan 31, 2019 4:37 pm, edited 1 time in total.
AKA QuazzleTheQaz
Yes, I know my name is a bad joke. If you don't get it, read it upside down.

“A lot happens to a nation when you don't focus on what you desire, rather than me specifically focusing on (mainly) trout, cheese, nudity, and many other areas!”


It is worth noting that my nation does not represent my personal beliefs.

User avatar
Trotterdam
Postmaster-General
 
Posts: 10562
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Thu Jan 31, 2019 5:20 pm

Well, the thing with that one is that since it's one of the issues that existed before I started tracking effect lines, it's hard to disentangle its effect lines from those on all the other old issues. It doesn't help that a fair number of issue options are unreported variants. Over time, I've pruned many of the unassigned lines as I figured out what they're from, but there's still about a dozen left.

Looking through those now, I see an effect line that's fairly likely to be it, but I'm reluctant to assign it without confirmation. Of course, it's up to you if you want to be the one to confirm it, I won't try to force you.

I'll throw you a bone, though: if I'm right about which effect line it is, then these are the results to expect:
-1.51 to +2.53 Economy (mean +0.1947)
+0 to +70.29 Wealth Gaps (mean +8.1189)
-2.83 to +1.94 Death Rate (mean +0.1600)
-1.68 to -0 Compassion (mean -0.6624)
-14.53 to +19.4 Eco-Friendliness (mean +0.5892)
-97.76 to +143.76 Industry: Automobile Manufacturing (mean +3.1576)
-33.28 to +178.98 Industry: Cheese Exports (mean +2.6824)
-50.02 to +141.64 Industry: Basket Weaving (mean +3.2051)
-184.57 to +185.39 Industry: Information Technology (mean +5.1692)
-53.58 to +99.31 Industry: Pizza Delivery (mean +2.7444)
-25.74 to +186.71 Industry: Trout Fishing (mean +3.0215)
-196.58 to +357.59 Industry: Arms Manufacturing (mean +69.6115)
-61.61 to +86.78 Sector: Agriculture (mean +1.8561)
-61.26 to +119.55 Industry: Beverage Sales (mean +0.8880)
-107.16 to +127.68 Industry: Timber Woodchipping (mean +1.3356)
-45.94 to +75.27 Industry: Mining (mean +2.6711)
-39.78 to +69.23 Industry: Insurance (mean +2.3149)
-78.96 to +84.56 Industry: Furniture Restoration (mean +2.1609)
-97.3 to +91.23 Industry: Retail (mean +1.5967)
-72.85 to +150.86 Industry: Book Publishing (mean +3.8860)
-53.21 to +474.42 Industry: Gambling (mean +64.5460)
-205.63 to +564.75 Sector: Manufacturing (mean +75.9725)
-0.39 to -0 Government Size (mean -0.0324)
-411.02 to -0.12 Welfare (mean -67.8331)
-12.92 to +35.49 Public Healthcare (mean +1.4310)
-34.07 to +41.51 Law Enforcement (mean +1.6630)
-15.19 to +19.53 Business Subsidization (mean +0.9264)
-6.68 to -0 Income Equality (mean -1.6007)
-1.67 to -0 Niceness (mean -0.3941)
+0.14 to +12.9 Rudeness (mean +1.2338)
-3.52 to -0 Compliance (mean -0.7671)
-8.25 to -0 Safety (mean -1.2172)
-0.86 to +1.97 Lifespan (mean -0.0344)
-0.59 to +1.1 Ideological Radicality (mean +0.2201)
-46.12 to +94.8 Defense Forces (mean +3.2914)
-6.43 to -0 Pacifism (mean -1.1007)
+0 to +3.3 Economic Freedom (mean +0.7566)
-1.44 to -0 Taxation (mean -0.2626)
+0 to +3.23 Freedom From Taxation (mean +1.0905)
-114.97 to -0 Authoritarianism (mean -12.0758)
+0.01 to +3.96 Employment (mean +0.3178)
-5.88 to +15.8 Public Transport (mean +0.7564)
-74.22 to -0 Tourism (mean -8.1366)
+0 to +2.03 Weaponization (mean +0.2648)
+0 to +0.28 Obesity (mean +0.0426)
+0 to +40.89 Charmlessness (mean +4.2891)
-0.56 to +1.1 Human Development Index (mean +0.0608)
-872.05 to +1608.78 Average Income (mean +125.8390)
-41925.08 to +10.49 Average Income of Poor (mean -3690.4292)
-87.77 to +585527.18 Average Income of Rich (mean +46756.9741)
-15.11 to +52.67 Public Education (mean +2.1838)
+0 to +2.12 Crime (mean +0.4010)
-1.82 to +4.22 Foreign Aid (mean +0.1023)
-749.47 to +1702.46 Average Disposable Income (mean +357.3644)


Why are you worried about the trout industry specifically? I'm not seeing mention of any specific industry in this issue, not even with the @@MAJORINDUSTRY@@ macro. Are you sure you have the right issue?

User avatar
Sapnu puas
Spokesperson
 
Posts: 169
Founded: Jan 25, 2017
Compulsory Consumerist State

Postby Sapnu puas » Fri Feb 01, 2019 6:38 am

Trotterdam wrote:Why are you worried about the trout industry specifically? I'm not seeing mention of any specific industry in this issue, not even with the @@MAJORINDUSTRY@@ macro. Are you sure you have the right issue?

Of course you know I'm obsessed with anything trout, and after answering many different issues and observing result patterns, I've determined that whatever your website lists that's positive, Eco-Friendliness and Business Subsidization usually tend to a higher trout industry boost chance…thing. If trout is not a positive mean for any of an issue's results, I ignore it altogether. In the case of the bone you threw at me, the data seems to be in my favor.
This observation might be technically unrelated in terms of internal game operation, it all makes logical sense to me because they all relate in some way.

UPDATE: …and nothing happens to my trout industry at all, it just decreased my black market. Here's the effect line for option #3:
Boot polish is the favourite lip gloss of entry-level corporate workers.
Last edited by Sapnu puas on Fri Feb 01, 2019 6:40 am, edited 1 time in total.
AKA QuazzleTheQaz
Yes, I know my name is a bad joke. If you don't get it, read it upside down.

“A lot happens to a nation when you don't focus on what you desire, rather than me specifically focusing on (mainly) trout, cheese, nudity, and many other areas!”


It is worth noting that my nation does not represent my personal beliefs.

User avatar
Trotterdam
Postmaster-General
 
Posts: 10562
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Fri Feb 01, 2019 10:26 am

Thanks!

User avatar
Eaischpnaeieacgkque Bhcieaghpodsttditf
Minister
 
Posts: 3132
Founded: Nov 14, 2012
Ex-Nation

Postby Eaischpnaeieacgkque Bhcieaghpodsttditf » Fri Feb 01, 2019 12:19 pm

Holy crap! I never knew this existed in the first place. I am forever indebted to you Trott. I mean, holy crap dude. How long did it even take you to get all this data??????

I support insanely high tax rates, do you?
This is Bunny:
(\__/)
(='.'=)
(")_(")
Copy and paste Bunny into your signature to help him gain world domination.
☻/This is Bob, copy& paste him in
/▌ your sig so Bob can take over the
/ \ world
10 - Completly Peaceful.
9 - Peaceful.
8 - Mostly Peaceful.
7 - Small Scale Crime.
6 - Major Crime.
5 - Terrorist Acts.
4 - Small Scale War.
3 - Moderatly Problematic War.
2 - Full-Scale Conflict.
1 - Nuclear War.
0 - Apocalypse.

User avatar
Trotterdam
Postmaster-General
 
Posts: 10562
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Fri Feb 01, 2019 12:53 pm

Eaischpnaeieacgkque Bhcieaghpodsttditf wrote:Holy crap! [...] I mean, holy crap dude.
I have to wonder about this expression. Just how many people worship crap? What kind of rites does such worship entail? It seems to be a common religion...

Eaischpnaeieacgkque Bhcieaghpodsttditf wrote:How long did it even take you to get all this data??????
Well, it's largely automated, so very little in terms of human-hours.

From what I recall, actually writing the program took around a month, although remarkably little of that was spent on the core result-gathering logic. Much of it was spent on fine-tuning the user-interface to allow me to do most things that still require a manual touch with just a few clicks, and on learning how to use a database library to actually store this much data reliably and conveniently.

The current data, with a few exceptions, dates back to the last global purge, two months ago.

User avatar
Heluthsrew
Civilian
 
Posts: 1
Founded: Sep 25, 2018
Ex-Nation

Postby Heluthsrew » Tue Feb 05, 2019 2:48 pm

Hi, not sure if anyone else has noticed, but at the moment it seems like every answer to every issue in the database has "sometimes removes policy: State Surveillance" associated with it.

User avatar
Trotterdam
Postmaster-General
 
Posts: 10562
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Tue Feb 05, 2019 4:11 pm

Heluthsrew wrote:Hi, not sure if anyone else has noticed, but at the moment it seems like every answer to every issue in the database has "sometimes removes policy: State Surveillance" associated with it.
Huh.

I took a look, and it appears that the State Surveillance policy has been removed from the game. No nations have it anymore.

As a result, whatever issue a nation that previously had the policy answered next was recorded as removing the policy.

The removal appears to have happened on 10 January, circa 6 o'clock GMT. 2019-01-10 05:52:21 is when any nation was last seen having it, while 2019-01-17 05:59:25 is when any nation was last seen "losing" it (which fits since old data on nations expires after one week, since that's as long as the happenings feed lasts).

Obviously I'm not the authority to ask on why it was removed, but I'm guessing it's because of the policy's narrative unreliability, as it was really a pseudo-policy assigned to nations with very low privacy rights (even if those low privacy rights were due to the ability of corporations or other citizens to spy on each other, rather than the government doing so).

So, I deleted the policy from my database. Boom. Gone.

If the deletion was unintentional, I'll automatically reacquire the policy if and when it's revived, though of course old data on which issues affect it has been irrevocably corrupted and would have needed to be reset anyway.

User avatar
Candlewhisper Archive
Senior Issues Editor
 
Posts: 23665
Founded: Aug 28, 2015
Anarchy

Postby Candlewhisper Archive » Wed Feb 06, 2019 5:55 am

Trotterdam wrote:Obviously I'm not the authority to ask on why it was removed, but I'm guessing it's because of the policy's narrative unreliability, as it was really a pseudo-policy assigned to nations with very low privacy rights (even if those low privacy rights were due to the ability of corporations or other citizens to spy on each other, rather than the government doing so).


Yep, was a long-requested change that the techs kindly implemented for us in January.
editors like linguistic ambiguity more than most people

User avatar
Sapnu puas
Spokesperson
 
Posts: 169
Founded: Jan 25, 2017
Compulsory Consumerist State

Postby Sapnu puas » Mon Feb 11, 2019 8:43 am

Option #3 actually says this:
loans are available for students from poor families It's normal to start working life with crippling financial debt.
Also it had zero data for that choice number
AKA QuazzleTheQaz
Yes, I know my name is a bad joke. If you don't get it, read it upside down.

“A lot happens to a nation when you don't focus on what you desire, rather than me specifically focusing on (mainly) trout, cheese, nudity, and many other areas!”


It is worth noting that my nation does not represent my personal beliefs.

User avatar
Trotterdam
Postmaster-General
 
Posts: 10562
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Mon Feb 11, 2019 8:55 am

Thanks!

There being no data is a pretty good clue that it's an outdated effect line that's since been changed. So please do let me know when you find out what the current version is. There appear to be three other outdated effect lines: #79 2, #82 3, #98 1... plus two or three that I never managed to figure out which issue they were on before they were changed :(

User avatar
Sapnu puas
Spokesperson
 
Posts: 169
Founded: Jan 25, 2017
Compulsory Consumerist State

Postby Sapnu puas » Thu Feb 14, 2019 6:03 am

research into artificial intelligence has been banned
"Computers have been banned." #82.3 re-confirmed!
Edit: Oops, I put 83 by accident. URL remains the same.
Last edited by Sapnu puas on Wed Feb 20, 2019 9:23 am, edited 1 time in total.
AKA QuazzleTheQaz
Yes, I know my name is a bad joke. If you don't get it, read it upside down.

“A lot happens to a nation when you don't focus on what you desire, rather than me specifically focusing on (mainly) trout, cheese, nudity, and many other areas!”


It is worth noting that my nation does not represent my personal beliefs.

User avatar
Trotterdam
Postmaster-General
 
Posts: 10562
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Thu Feb 14, 2019 7:35 am

Sapnu puas wrote:research into artificial intelligence has been banned
"Computers have been banned." #82.3 re-confirmed!
What about the issue text? That effect line doesn't make sense for the option as currently reported. I'd ask you to give Jutsa the new text, but since you already answered the issue, it's probably too late for that.

User avatar
Sapnu puas
Spokesperson
 
Posts: 169
Founded: Jan 25, 2017
Compulsory Consumerist State

Postby Sapnu puas » Thu Feb 14, 2019 3:32 pm

Trotterdam wrote:
Sapnu puas wrote:research into artificial intelligence has been banned
"Computers have been banned." #82.3 re-confirmed!
What about the issue text? That effect line doesn't make sense for the option as currently reported. I'd ask you to give Jutsa the new text, but since you already answered the issue, it's probably too late for that.

I did a whole page search of "computers" and I didn't see any result containing that computers were banned... odd.
Edit: My national happenings does seem to show the new fallout properly.
Last edited by Sapnu puas on Thu Feb 14, 2019 3:37 pm, edited 1 time in total.
AKA QuazzleTheQaz
Yes, I know my name is a bad joke. If you don't get it, read it upside down.

“A lot happens to a nation when you don't focus on what you desire, rather than me specifically focusing on (mainly) trout, cheese, nudity, and many other areas!”


It is worth noting that my nation does not represent my personal beliefs.

User avatar
Trotterdam
Postmaster-General
 
Posts: 10562
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Thu Feb 14, 2019 11:45 pm

No, I mean this part:
3. "This is craziness!" says @@RANDOMNAME@@, a resident interviewed by the popular news show 'Talk o' the Town'. "It's just blasphemy, plain and simple! We're, like, playin' God here! It's evil, man, evil! What if they turned against us? All forms of AI should be banned, dudes."
I suspect the option now says something else.

User avatar
Candlewhisper Archive
Senior Issues Editor
 
Posts: 23665
Founded: Aug 28, 2015
Anarchy

Postby Candlewhisper Archive » Fri Feb 15, 2019 2:23 am

Hope this helps:

“This is craziness!” says Rod Mozart, a resident interviewed by the popular news show ‘Talk o’ the Town’. “It’s just blasphemy, plain and simple! We’re, like, playin’ God here! It’s evil, man, evil! What if they turned against us? All forms of computer should be banned, dudes.”

computers have been banned


I changed it a year and a half ago, as the stat and policy effects weren't consistent with the narratives. Changing the ban was the most straightforward way to fix it.
Last edited by Candlewhisper Archive on Fri Feb 15, 2019 2:24 am, edited 2 times in total.
editors like linguistic ambiguity more than most people

User avatar
Republica de Barin
Political Columnist
 
Posts: 2
Founded: Nov 27, 2013
Ex-Nation

Issue 636

Postby Republica de Barin » Thu Mar 07, 2019 7:15 pm

The issue 636 is ridiculous, is one of those extremes issues. How does beeing against cyberbulling destroy my social networks?? Someone just can say that the intervention of the state will reduce the traffic in those networks, but this is so surreal. I was trying to increase my information tech industry, and with only one issue it decreased 16%. This is unfair, I don't know why the issues have to be so extremist. Is moderation something bad here? So, in real life nobody cares about cyberbulling just because if the state try to do something, information industry will fall to the abyss?

User avatar
The Free Joy State
Senior Issues Editor
 
Posts: 16402
Founded: Jan 05, 2014
Ex-Nation

Postby The Free Joy State » Thu Mar 07, 2019 9:03 pm

Republica de Barin wrote:The issue 636 is ridiculous, is one of those extremes issues. How does beeing against cyberbulling destroy my social networks?? Someone just can say that the intervention of the state will reduce the traffic in those networks, but this is so surreal. I was trying to increase my information tech industry, and with only one issue it decreased 16%. This is unfair, I don't know why the issues have to be so extremist. Is moderation something bad here? So, in real life nobody cares about cyberbulling just because if the state try to do something, information industry will fall to the abyss?

If you're asking about your personal issue results, and not Trotterdam's unofficial offsite resource, you should ask here (in the Unusual Effect Thread), where your query has a better chance of being promptly seen by an editor.

Only Editors and other appropriate site staff have access to the backstage data here at NS.

And there is a very small loss to your IT industry programmed, just because people will frequent IT less when they want to say unpleasant things (I suppose it'll be back to old-fashioned face-to-face communication for that).

However, in raw numbers, your actual change in the industry was very small. From -4.10 to -4.77.

If you have not yet done so, I suggest you go to Settings and turn on "Show More Stats". This shows the raw numbers (percentages are often alarming).

I assure you, the team works hard to think of the most proportionate stats for each issue, and constantly review for consistency with our system.
Last edited by The Free Joy State on Thu Mar 07, 2019 9:09 pm, edited 4 times in total.
"If there's a book that you want to read, but it hasn't been written yet, then you must write it." - Toni Morrison

My nation does not represent my beliefs or politics.

User avatar
Trotterdam
Postmaster-General
 
Posts: 10562
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Thu Mar 07, 2019 9:30 pm

All I have to add is that my site did predict that the option Republica de Barin chose would reduce information technology (-637.29 to -0.18 Industry: Information Technology (mean -238.3289), -35.27 to -0.25 Scientific Advancement (mean -3.8830)), so any dissatisfaction with that result isn't my fault.

User avatar
New Stormhamer
Lobbyist
 
Posts: 15
Founded: Feb 21, 2014
Corporate Police State

Postby New Stormhamer » Wed Mar 27, 2019 2:18 pm

There is a new Issue 1187

Name:Tipping Point

"While glancing down at your doughnut receipt and trying to calculate percentages in your head, you are reminded that many service-industry employees rely on tips to supplement their income. Recently, analysts have suggested that it is the tips themselves that create the low baseline wages."

1:“Look, us restaurateurs don’t like gratuity-based economics either,” complains Declan Kidman, proprietor of trendy inner-city eatery The молотокград Pyramid. “In fact, we trialed going tip-free and incorporating the costs of a decent salary into the bill. Do you know what happened? We lost customers! A higher visible menu price, and the loss of the diners’ feeling of power, meant patrons went elsewhere! The only way to fix this is government legislation, banning tipping and regulating the industry. A national approach will level the playing field, which will be good for workers, and good for our profits.”

2:“Hi, my name’s Jyn and I’m just tickled pink to be your coffee server today!” chirps a frankly stunning barista with a huge smile on her face as she hands you a perfect cappuccino with a marshmallow on top. “Glorious RichMan, I don’t get paid a lot, but I’m more than happy to do what I can to earn your tips! It’s a great motivation to keep me working hard to make you, my customer, super-duper happy! And if good-looking ethnic-majority twenty-something tight-trousered folk like me end up earning a bit more than most, well that’s the wonderful thing about the free market! Wow, Such Storm, Much Hamer!!”

3:“There’s definitely something in what she’s saying,” suggests your brother, tossing a few small denomination coins onto the counter, to the barista’s disappointment. “Maybe we could all learn from that. I reckon it’d be good if politicians had a tiny baseline wage too, but were allowed to earn tips by pleasing the people. Or at least, by pleasing the people that are willing to show their appreciation with cold, hard cash.”

User avatar
Trotterdam
Postmaster-General
 
Posts: 10562
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Wed Mar 27, 2019 3:03 pm

Thanks, but please report new issues in this thread in the future.

User avatar
Jahass
Political Columnist
 
Posts: 5
Founded: Mar 30, 2019
Left-wing Utopia

Postby Jahass » Tue Apr 23, 2019 3:03 pm

Trotterdam: Great resource! Thanks for it! Would it be possible for you to update your result site HTML pages to have the viewport META tag, please?

Code: Select all
<meta name="viewport" content="width=device-width, initial-scale=1">


The above <meta name="" content=""> is HTML 4.01 Transitional-compliant, which your pages are set as currently. However, your Issue pages are HTML5-compliant with a few small tweaks:

  1. Required: Replace your current 4.01 Transitional DOCTYPE with <!DOCTYPE html>
  2. Required: Remove instances of align="____" on <p> tags as it's obsolete. Replace with inline CSS such as STYLE="text-align: ____;"
  3. Recommended: add lang="en-US" to <html lang="en-US">
  4. Recommended: Remove type="text/css" from the <style> tags in the head as it's not needed.

Here is Issue #0 with HTML5-compliance: https://pastebin.com/rhVMust1

Adding the viewport will increase compatibility with mobile browsers such as Firefox. Thanks for your consideration!
Last edited by Jahass on Tue Apr 23, 2019 3:04 pm, edited 1 time in total.

User avatar
Trotterdam
Postmaster-General
 
Posts: 10562
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Tue Apr 23, 2019 3:16 pm

Can you link to some documentation on what that "viewport" thing does, and maybe some before/after screenshots to explain why it's necessary? I don't want to put in code that I don't understand.

The KISS approach to website design works pretty well on conventional computers.

User avatar
Jahass
Political Columnist
 
Posts: 5
Founded: Mar 30, 2019
Left-wing Utopia

Postby Jahass » Tue Apr 23, 2019 5:11 pm

Sure thing, Trotterdam, here are some authoritative resource links:
Mozilla Developer Network wrote:The browser's viewport is the area of the window in which web content can be seen. This is often not the same size as the rendered page, in which case the browser provides scrollbars for the user to scroll around and access all the content.

Narrow screen devices (e.g. mobiles) render pages in a virtual window or viewport, which is usually wider than the screen, and then shrink the rendered result down so it can all be seen at once. Users can then pan and zoom to see different areas of the page. For example, if a mobile screen has a width of 640px, pages might be rendered with a virtual viewport of 980px, and then it will be shrunk down to fit into the 640px space.

This is done because many pages are not mobile optimized, and break (or at least look bad) when rendered at a small viewport width. This virtual viewport is a way to make non-mobile-optimized sites in general look better on narrow screen devices. (...)

Google Developer Portal wrote:Without a viewport meta tag, mobile devices render pages at typical desktop screen widths, and then scale the pages to fit the mobile screens. Setting the viewport enables you to control the width and scaling of the viewport. (...)


By setting the viewport (which is a default and expected metadata value in today's web), you enable users viewing the results with mobile devices to expand on your site using Userstyles and even improve compatibility among the different mobile browsers which are also, by default, expecting that metadata value.

Here's an example of the current view on mobile:
Image

And, after some minor CSS we can get something like this:
Image

The key CSS is to use flex-boxes to allow the table to respond as responsive to mobile devices. However, it only works in emulation at the moment without the viewport declaration. I have a proof-of-concept Userstyle available here: Dark NationStates Results (note: do not use the Official Stylish user extension which has privacy concerns, instead, use the open-source Stylus extension in Firefox or Chrome) I'm attaching the CSS in the Userstyle:
Code: Select all
@-moz-document domain("www.mwq.dds.nl") {
body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    color: #ddd;
    background-color: #222 !important;
}
a {
    color: #608dff;
    text-decoration: none;
}
a:hover {
    color: #637ab5;
    text-decoration: underline;
}
h2 {
    font-family: 'Arial' !important;
    font-weight: 400 !important;
    font-size: 26px !important;
    color: #eee !important;
    text-align: center;
}
}

@-moz-document regexp("http://www.mwq.dds.nl/ns/results/[0-9]{1,4}.html") {
table {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
}
table td:first-child {
    font-weight: bold;
}
table td {
    padding: 0.25em;
}
table tr {
    background-color: #111;
}
table tr:nth-child(odd) {
    background-color: #333;
}
table td:nth-child(2) {
    text-align: right;
}

@media screen and (max-width: 800px) {
    table tr:first-child,
    table td:nth-child(3) {
        display: none;
    }
    table tr {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        margin: 0.5em 0;
    }
    table td,
    table th {
        flex: 1 1 150px;
        border: 0.5px solid rgba(255,255,255,0.2);
    }
}
}

@-moz-document url("http://www.mwq.dds.nl/ns/results/") {
body {
    column-count: 2;
}
}


If anything, it helps future-proof your code and improves overall compatibility for the many devices that expect a site to have a viewport declaration. There may be the additional need of some minimal stying on the tables once the viewport is set to ensure the best viewing experience, but it should be minimal unless you want to flex-box the table.
Last edited by Jahass on Tue Apr 23, 2019 6:23 pm, edited 3 times in total.

PreviousNext

Advertisement

Remove ads

Return to Got Issues?

Who is online

Users browsing this forum: No registered users

Advertisement

Remove ads