User:Lent/sandbox

{{User sandbox}}

__FORCETOC__

= Max Annenberg =

Max Annenberg, son of Moses Annenberg, brother of Walter Anneberg

Biographic sketch:{{Cite web|last=r2WPadmin|title=Walter Annenberg|url=https://www.immigrantentrepreneurship.org/entries/walter-annenberg/|access-date=7 December 2021|website=Immigrant Entrepreneurship|language=en-US}}

1925 Relocation to New York.

{{Cite book|access-date=7 December 2021|url=https://books.google.com/books?id=PCM9AQAAIAAJ&newbks=0&printsec=frontcover&q=max+anneberg&hl=en|work=Fourth Estate: A Weekly Newspaper for Publishers, Advertisers, Advertising Agents and Allied Interests|title=Changes in Organisation of Chicago Tribune Enterprises|date=7 November 1925|page=4|publisher=Fourth Estate Publishing Company|language=en|quote=The directorates of the different companies will remain as now consitituted with Mr. William H. Field and Mr. Max Annenberg added to that of Liberty weekly. ... Max Annenberg, circulation manager and director of circulation of the Tribune publications, will move his resident from Chicago to New York to become second vice-president and general manager of Liberty Weekly, Inc.}}

On December 7, 1941, before the news of the bombing of Pearl Harbor was made public, a public address message for Max Annenberg's chauffeur to report, has followed the message for Col. William J. Donovan to call his office immediately, with the third and final message being for military personnel to report to their bases.{{Citation|title=Polo Grounds: Pearl Harbor Attack News During NFL Game, with Announcer Arthur Daley Interview {{!}} 1941|url=https://www.youtube.com/watch?v=bj8V0V1lBnw|language=en|access-date=7 December 2021|quote=New York Giants vs. Brooklyn Dodgers (NFL) football game: Arthur Daley says second announcement was for Max Annenberg's chauffeur to report. Third announcement "Will all members of the armed services report to their unit headquarters".}}{{Cite web|last=Staff|first=S. I.|title=The Day War Came to the Polo Grounds|url=https://vault.si.com/vault/1966/10/24/the-day-war-came-to-the-polo-grounds|access-date=7 December 2021|date=24 October 1966|website=Sports Illustrated Vault {{!}} SI.com|language=en-us}}

=Introduction to interactive example=

Only some of the many sorting algorithms currently developed are known as stable. The quality that makes these algorithms stable is that when sorting on a row in a table, if the value in the column chosen to be the sort "key" is identical to another row's value in that same "key" column, the algorithm will leave the relative order of those rows unchanged. The notable sorting algorithm, Quicksort, is usually implemented lacking stability.

Mobile Browsers vs. Sortable tables

Wikipedia supports sortable tables in desktop browsers, including stable sorting by using the Shift key while clicking on the second column to be sorted. Sadly, as of February 2020, sortable Wikipedia tables only work with desktop browsers. Even mobile browsers set to "View Desktop Site/Desktop Page" mode fail to work with Javascript code which provides Wikipedia's sortable columns. Originally, mobile browsers had extremely limited hardware resources, making a full-feature browser impossible.{{Cite web|url=https://phabricator.wikimedia.org/T49858|title=? T49858 Enable jquery.tablesorter on mobile|website=phabricator.wikimedia.org|access-date=2020-02-29}} While innovative solutions such as the Wireless Application Protocol allowed more of the web to be browsed, the results were extremely varied. As mobile devices grew in power, and browser capabilities continued to grow, Wikipedia's developers and users returned to the problem, keeping in consideration extremely limited mobile devices still in widespread use around the world.{{Cite web|url=https://phabricator.wikimedia.org/T111565|title=? T111565 [EPIC] Enable mediawiki.page.ready on Minerva (collapsible templates (including infoboxes) and sortable tables)|website=phabricator.wikimedia.org|access-date=2020-02-29}}

= Icons buttons found on Column Headers =

class="wikitable sortable mw-collapsible" style="display: inline-table;"

|+ {{nowrap|Icons for sorting columns}}

! scope="col" |Icon!! Icon Name

File:Sort both.gifsort_both
File:Sort down.gifsort_down
File:Sort up.gifsort_up

The browser currently displaying this page is capable of sorting tables, the preceding icon buttons should be on each column header. If not, interactive sorting for will not work, so "No soup for you!". If the following tables show no icons in the column headers, your browser is cannot performing sorting at this time.

Stable sort by State then City

The following example has fifteen cities in seven different states.

Each state is abbreviated using the 2-letter codes used by the United States Postal Service.

=Rationale for Postal Codes=

After suffering from duplicate city names within the U.S., the Post Office made an effort to keep new duplicate names from occurring:

{{Quote|text=To help address this problem, in the 1880s the instructions on selecting new Post Office names went [...]:
Select a short name for the proposed office, which, when written, will not resemble the name of any other post office in the United States.|author=|title=What's in a (Post Office) Name? : From Aaronsburg, Pennsylvania, to Zwolle, Louisiana |source={{Cite web|url=https://about.usps.com/who-we-are/postal-history/post-office-names.pdf|title=Postal History {{!}} Post Offices and Facilities|website=about.usps.com|via=https://about.usps.com/who-we-are/postal-history/|url-status=live|archive-url=|archive-date=|access-date=2020-02-29}}}}

This was found to be too restrictive, and the Post Office removed the word United.:

{{Quote|text=In the 1890s this was relaxed:
Select a short name for the proposed office, which, when written, will not resemble the name of any other post office in the State.|author=|title=What's in a (Post Office) Name? : From Aaronsburg, Pennsylvania, to Zwolle, Louisiana|source=}}

The Postal zone introduced in 1943 helped route mail within large U.S. cities, and 1963's introduction of the ZIP Code helped improved delivery of mail to cities with the same name by first directing the mail to the correct region of the country. Standardization of the two—letter code for each state, territory and the capital district also made mail sorting easier.{{Cite web|url=https://about.usps.com/who-we-are/postal-history/state-abbreviations.htm|title=State Abbreviations - Who We Are - USPS|website=about.usps.com|access-date=2020-02-29|quote=To allow space for the ZIP Code in the last line of an address, state names needed to be abbreviated. Previously, the Post Office Department preferred that state names be written in full, to avoid confusion.|first=Historian|last=United States Postal Service|author-link=United States Postal Service|date=May 2019}}

=Example=

Two stable sorts are performed on the randomly ordered, original table.

Note that only the second sort is required to be stable to get our desired result of a list which is

alphabetical first by two—letter State code, then for each

City within the alphabetically ordered State.

=== Mobile sorting workarounds ===

While not possible on most mobile browsers, sorting can be achieve through these workarounds:

  1. Obtain a browser which wil support a Desktop site and the Javascript needed:
  2. *Android browser Kiwi {{Cite web|url=https://kiwibrowser.com/features/|title=Features|website=Kiwi Browser|language=en-US|access-date=2020-02-29}}
  3. Use a keyboard which supports a TAB key:
  4. * Bluetooth keyboard
  5. * USB keyboard via a USB On-The-Go cable
  6. * Virtual board which supports the TAB key , setting the keyboard visible, even when not on an input field
  7. Load the sortable page and verify that the column's sorting triangles are on the column titles
  8. Sort the selected primary column via:
  9. *Clicking on the column header to toggle trough ascending or descending sorting
  10. *Pressing TAB key on the keyboard, to move to the column, then pressing the Enter key.
  11. Press the TAB key or Shift and TAB key to position at the second sorting column and press Shift and Enter together.
  12. Now go and Square the Circle.
  13. *

=== Table ===

class="wikitable" style="display: inline-table;"

|+ {{nowrap|Unsorted table}}

! Row !! scope="col" |City!! {{vert header|stp=1|State}} !!

1ChicagoIL
{{ font color|blue|2}}{{font color|blue|Rockford}}{{font color|blue|IL}}
3EvanstonIL
4ChampaignIL
5DetroitMI
{{font color|green|6}}{{font color|green|New York}}{{font color|green|NY}}
7BuffaloNY
8MilwaukeeWI
9AlbanyNY
10Green BayWI
{{font color|brown|11}}{{font color|brown|Syracuse}}{{font color|brown|NY}}
{{font color|violet|12}}{{font color|violet|Rockford}}{{font color|violet|MI}}
{{font color|red|13}}| {{font color|red|Rockford}}{{font color|red|IA}}
14RockfordTN
15RockfordMN

class="wikitable sortable x-mw-collapsible x-mw-collapsed" style="display: inline-table;"

|+ Sorted Alphabetically by only State

! Old
vs.
New
Row !! City!! {{vert header|stp=1|State}}

13 → 1{{font color|red|Rockford}}{{font color|red|IA}}
2 → 2{{font color|blue|Rockford}}{{font color|blue|IL}}
3 → 3EvanstonIL
1 → 4ChicagoIL
4 → 5ChampaignIL
12 → 6{{font color|violet|Rockford}}{{font color|violet|MI}}
5 → 7DetroitMI
15 → 8RockfordMN
11 → 9{{font color|brown|Syracuse}}{{font color|brown|NY}}
6 → 10{{font color|green|New York}}{{font color|green|NY}}
7 → 11BuffaloNY
9 → 12AlbanyNY
14 → 13RockfordTN
8 → 14MilwaukeeWI
10 → 15Green BayWI

class="wikitable sortable x-mw-collapsible x-mw-collapsed" style="display: inline-table;"

|+ Sorted Alphabetically by State, then City

! Original
vs.
Sort
then
Another
stable sort!! City!! {{vert header|stp=1|State}}

13 → 1 → 1{{font color|red|Rockford}}{{font color|red|IA}}
4 → 5 → 2ChampaignIL
1 → 4 → 3ChicagoIL
3 → 3 → 4EvanstonIL
2 → 2 → 5{{font color|blue|Rockford}}{{font color|blue|IL}}
5 → 7 → 6DetroitMI
12 → 6 → 7{{font color|violet|Rockford}}{{font color|violet|MI}}
15 → 8 → 8RockfordMN
9 → 12 → 9AlbanyNY
7 → 11 → 10BuffaloNY
6 → 10 → 11{{font color|green|New York}}{{font color|green|NY}}
11 → 9 → 12{{font color|brown|Syracuse}}{{font color|brown|NY}}
14 → 13 → 13RockfordTN
10 → 15 → 14Green BayWI
8 → 14 → 15MilwaukeeWI

Note that only the second sort is required to be stable to get our

desired result, as once the rows are ordered by State, the cities can be in

any order for the current State. The second sort is 'required to be stable to keep the states in order, while alphabetizing the cities within the state.

Stable sort by City then State

In this case, when we sort by alphabetically by City, we almost have the list

we want. The problem is that there are many rows with the city of Rockford. These cities are properly between

{{font color|green|New York}}, {{font color|green|NY}}

and

{{font color|brown|Syracuse}}, {{font color|brown|NY}}, but the

States for the cities of Rockford remain in their original, non-alphabetic

order. With a second stable sort, we can sort our file, leaving all the

unique cities in their place and taking the cities with equal names, that is

the cities of Rockford, and putting them in alphabetic order by the

codes of each one's two—letter State code.

class="wikitable" style="display: inline-table;"

|+ {{nowrap|Unsorted table}}

! Row !! scope="col" |City!! {{vert header|stp=1|State}} !!

1ChicagoIL
{{ font color|blue|2}}{{font color|blue|Rockford}}{{font color|blue|IL}}
3EvanstonIL
4ChampaignIL
5DetroitMI
{{font color|green|6}}{{font color|green|New York}}{{font color|green|NY}}
7BuffaloNY
8MilwaukeeWI
9AlbanyNY
10Green BayWI
{{font color|brown|11}}{{font color|brown|Syracuse}}{{font color|brown|NY}}
{{font color|violet|12}}{{font color|violet|Rockford}}{{font color|violet|MI}}
{{font color|red|13}}| {{font color|red|Rockford}}{{font color|red|IA}}
14RockfordTN
15RockfordMN

class="wikitable sortable x-mw-collapsible x-mw-collapsed" style="display: inline-table;"

|+ Sorted Alphabetically by only City

! style="text-align:left;"|Row↘↓→
  Source
   Current!! City!! {{vert header|stp=1|State}}

9 → 1AlbanyNY
7 → 2BuffaloNY
4 → 3ChampaignIL
1 → 4ChicagoIL
5 → 5DetroitMI
3 → 6EvanstonIL
10 → 7Green BayWI
8 → 8MilwaukeeWI
6 → 9{{font color|green|New York}}{{font color|green|NY}}
12 → 10{{font color|violet|Rockford}}{{font color|violet|MI}}
13 → 11{{font color|red|Rockford}}{{font color|red|IA}}
14 → 12RockfordTN
15 → 13RockfordMN
2 → 14{{font color|blue|Rockford}}{{font color|blue|IL}}
11 → 15{{font color|brown|Syracuse}}{{font color|brown|NY}}

class="wikitable sortable x-mw-collapsible x-mw-collapsed" style="display: inline-table;"

|+ Sorted Alphabetically by City, then State

! Original
vs.
Sort
then
Another
stable sort!! City!! {{vert header|stp=1|State}}

9 → 1 → 1AlbanyNY
7 → 2 → 2BuffaloNY
4 → 3 → 3ChampaignIL
1 → 4 → 4ChicagoIL
5 → 5 → 5DetroitMI
3 → 6 → 6EvanstonIL
10 → 7 → 7Green BayWI
8 → 8 → 8MilwaukeeWI
6 → 9 → 9{{font color|green|New York}}{{font color|green|NY}}
13 → 11 → 10{{font color|red|Rockford}}{{font color|red|IA}}
2 → 14 → 11{{font color|blue|Rockford}}{{font color|blue|IL}}
12 → 10 → 12{{font color|violet|Rockford}}{{font color|violet|MI}}
15 → 13 → 13RockfordMN
14 → 12 → 14RockfordTN
11 → 15 → 15{{font color|brown|Syracuse}}{{font color|brown|NY}}

Derived from Jeffery S. Leon's Sorting Algorithms — Stability". {{Cite web|url=http://homepages.math.uic.edu/~leon/cs-mcs401-s08/handouts/stability.pdf|title=Sorting Algorithms — Stability|last=Leon|first=Jeffrey S.|date=13 January 2008|website=Department of Mathematics, Statistics, and Computer Science {{!}} University of Illinois at Chicago|url-status=live|archive-url=https://web.archive.org/web/20141127125921/http://homepages.math.uic.edu/~leon/cs-mcs401-s08/handouts/stability.pdf|archive-date=27 November 2014|access-date=28 February 2020|quote=Our sorting software might allow sorting on only one field at a time. We may 1) First sort the array A alphabetically by city. 2) Then sort the array A alphabetically by state, using a stable sorting algorithm.}}

To sort by the above tables, click on the triangle. Then hold the Shift key and click on the triangle to sort by another column, while keeping the order for the first column when values of the second column are equal.

References

Temp workspace

VisualEditor vs. Citation bot

As per the Tutorial VisualEditor, a reference https://www.mediawiki.org/wiki/Help:VisualEditor/User_guide/Citations-Full#Add_a_new_reference can be generated from an ISBN.

The resulting cite may include both an oclc parameter and a url pre-filled with a Worldcat OCLC query.

User:Citation bot will later remove the url as a duplicate.

This automatic insert of the url and later bot based removal seems counterproductive. Actually, it seems to be a automation-driven WP:EDITWAR.

= Automatic insertion of Worldcat OCLC URL =

A user may use Wikipedia:VisualEditor and an ISBN to automatic generate a filled Template:cite book.

Using VisualEditor, with example ISBN 978-0-06-246439-2 as the desired source, selecting Cite, Add a citation, Automatic, filling in the ISBN as 978-0-06-246439-2, clicking Generate, VisualEditor generates this Cite:

{{Cite book|last=Hampton, Dan,|url=https://www.worldcat.org/oclc/957504448|title=The flight : Charles Lindbergh's daring and immortal 1927 Transatlantic crossing|isbn=978-0-06-246439-2|edition=First edition|location=New York, NY|oclc=957504448}}

The rendered citation looks like this:

{{Cite book|last=Hampton, Dan,|url=https://www.worldcat.org/oclc/957504448|title=The flight : Charles Lindbergh's daring and immortal 1927 Transatlantic crossing|isbn=978-0-06-246439-2|edition=First edition|location=New York, NY|oclc=957504448}}

= Automatic removal of Worldcat OCLC URL =

When User:Citation_bot runs, it removes the url as a duplicate, resulting in this:

{{Cite book|last=Hampton, Dan,|title=The flight : Charles Lindbergh's daring and immortal 1927 Transatlantic crossing|isbn=978-0-06-246439-2|edition=First edition|location=New York, NY|oclc=957504448}}

We see this in this difference in the automatically generated, then manually edited, reformatted and expanded cite:

[https://en.wikipedia.org/w/index.php?title=Valentia_Island&diff=next&oldid=944499350 https://en.wikipedia.org/w/index.php?title=Valentia_Island&diff=next&oldid=944499350]

= Media prank victims =

https://en.wikipedia.org/w/index.php?search=Arthur+Chi%27en

https://en.wikipedia.org/w/index.php?search=bryant+gumbel+letterman

https://en.wikipedia.org/wiki/Suicide_of_Jacintha_Saldanha

Failures of Flight Recorders

  • American Flyers Flight 280 {{cquote|installed aboard Flight 280/D. The recorder assembly was recovered intact at the accident scene.

    An examination of the recorder assembly revealed that the engaging tangs of the pawl assembly were loose in the recorder housing. The pawl assembly disclosed a foreign substance determined to be from a white paperback pressure sensitive tape. Because the recorder foil drive system is dependent upon proper installation of the pawl the absence of the two engaging tangs disables the drive system. Examination of the recorder foil disclosed that it had only advanced a minute amount and was not advancing prior to or at the time of impact. Approximately 3/4 roll of unused foil remained on the supply spool at the time of removal. No readout of the altitude, indicated airspeed, vertical acceleration, or magnetic heading, during the last flight could be made.

    The operating procedure for the flight recorder required it to operate continuously from the instant the airplane commenced the takeoff roll until it had completed the landing roll. The AFAX procedures also required the flight engineer to check the operation of the recorder on each leg by listening to the test tone signal through the interphone system.}}{{cite web|url=http://aviation-safety.net/database/record.php?id=19660422-0 |title=ASN Aircraft accident Lockheed L-188C Electra N183H Ardmore Municipal Airport, OK (ADM) |publisher=Aviation-safety.net |date=1966-04-22 |accessdate=2012-12-22}}

  • Fine Air Flight 101 {{cquote|An examination of the transcribed FDR data indicated that the heading values on the tape produced a header 180 opposite of the actual takeoff heading when conversion formulas provided by Fine Air were applied.}}
  • {{cquote| Beechcraft B200 was recovered from Frederick Sound near Kake. The airplane crashed Jan. 29, 2019 while on approach to the Kake Airport. The airplane was being operated by Guardian Flight as an air ambulance flight. The pilot, flight paramedic and flight nurse were fatally injured. [...]

    The plane’s cockpit voice recorder was recovered but didn’t contain a recording of the crash flight, according to the report. Instead, the most recent audio apparently was made during a landing in Fort Yukon in 2015.}}{{Cite web|date=2020-11-19|title=Baffling details emerge in report on fatal 2019 air ambulance crash in Southeast Alaska|url=https://www.adn.com/alaska-news/aviation/2020/11/18/baffling-details-emerge-in-report-on-fatal-2019-air-ambulance-crash-in-southeast-alaska/|access-date=2020-11-24|website=Anchorage Daily News|language=en-US}}