text:
Q: Why XeLaTeX and PDFLaTeX give different outputs for Beamer presentation I have 3 questions:

*

*Why does the following code (see below) give different results in XeLaTeX than PDFLaTeX?

*Which one is incorrect? (My guess is that XeLaTeX's output is incorrect.)

*How do I make the incorrect output become correct?

Here is the comparison (PDFLaTeX first, XeLaTeX second):

\documentclass[]{beamer}
\mode<presentation>{\usetheme{Madrid}}
\hypersetup{pdfpagemode=UseNone}
\title[Short Title]{The Longer Title}
\author{Author}
\institute[Institute]{Long Institute \\ \medskip \textit{email@domain.edu}}
\date{}
\begin{document}
    \begin{frame}
        \titlepage
    \end{frame}
\end{document}

The requested file lists are:
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (MiKTeX 2.9 64-bit)
 *File List*
  beamer.cls    2013/12/02 3.33 A class for typesetting presentations (rcs-revision 332bfd3ce558)
beamerbasercs.sty    2013/12/25 (rcs-revision 31cc758a62ae)
beamerbasemodes.sty    2013/09/03 (rcs-revision 768f2d98ca64)
beamerbasedecode.sty    2010/05/01 (rcs-revision efa082c6111d)
   ifpdf.sty    2011/01/30 v2.3 Provides the ifpdf switch (HO)
beamerbaseoptions.sty    2013/03/10 (rcs-revision 47431932db0d)
  keyval.sty    2014/05/08 v1.15 key=value parser (DPC)
geometry.sty    2010/09/12 v5.6 Page Geometry
  ifvtex.sty    2010/03/01 v1.5 Detect VTeX and its facilities (HO)
 ifxetex.sty    2010/09/12 v0.6 Provides ifxetex conditional
geometry.cfg
  size11.clo    2007/10/19 v1.4h Standard LaTeX file (size option)
 pgfcore.sty    2010/04/11 v3.0.0 (rcs-revision 1.7)
graphicx.sty    2014/04/25 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty    2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
    trig.sty    1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg    2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
  pdftex.def    2011/05/27 v0.06d Graphics/color for pdfTeX
infwarerr.sty    2010/04/08 v1.3 Providing info/warning/error messages (HO)
 ltxcmds.sty    2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
  pgfsys.sty    2013/11/30 v3.0.0 (rcs-revision 1.47)
  pgfrcs.sty    2013/12/20 v3.0.0 (rcs-revision 1.28)
everyshi.sty    2001/05/15 v3.00 EveryShipout Package (MS)
  pgfrcs.code.tex
  pgfsys.code.tex
pgfsyssoftpath.code.tex    2013/09/09  (rcs-revision 1.9)
pgfsysprotocol.code.tex    2006/10/16  (rcs-revision 1.4)
  xcolor.sty    2007/01/21 v2.11 LaTeX color extensions (UK)
   color.cfg    2007/01/18 v1.5 color configuration of teTeX/TeXLive
 pgfcore.code.tex
 xxcolor.sty    2003/10/24 ver 0.1
atbegshi.sty    2011/10/05 v1.16 At begin shipout hook (HO)
hyperref.sty    2012/11/06 v6.83m Hypertext links for LaTeX
hobsub-hyperref.sty    2012/04/25 v1.12 Bundle oberdiek, subset hyperref (HO)
hobsub-generic.sty    2012/04/25 v1.12 Bundle oberdiek, subset generic (HO)
  hobsub.sty    2012/04/25 v1.12 Construct package bundles (HO)
ifluatex.sty    2010/03/01 v1.3 Provides the ifluatex switch (HO)
 intcalc.sty    2007/09/27 v1.1 Expandable calculations with integers (HO)
etexcmds.sty    2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
kvsetkeys.sty    2012/04/25 v1.16 Key value parser (HO)
kvdefinekeys.sty    2011/04/07 v1.3 Define keys (HO)
pdftexcmds.sty    2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO)
pdfescape.sty    2011/11/25 v1.13 Implements pdfTeX's escape features (HO)
bigintcalc.sty    2012/04/08 v1.3 Expandable calculations on big integers (HO)
  bitset.sty    2011/01/30 v1.1 Handle bit-vector datatype (HO)
uniquecounter.sty    2011/01/30 v1.2 Provide unlimited unique counter (HO)
letltxmacro.sty    2010/09/02 v1.4 Let assignment for LaTeX macros (HO)
 hopatch.sty    2011/06/24 v1.1 Wrapper for package hooks (HO)
xcolor-patch.sty    2011/01/30 xcolor patch
atveryend.sty    2011/06/30 v1.8 Hooks at the very end of document (HO)
refcount.sty    2011/10/16 v3.4 Data extraction from label references (HO)
 hycolor.sty    2011/01/30 v1.7 Color options for hyperref/bookmark (HO)
 auxhook.sty    2011/03/04 v1.3 Hooks for auxiliary files (HO)
kvoptions.sty    2011/06/30 v3.11 Key value format for package options (HO)
  pd1enc.def    2012/11/06 v6.83m Hyperref: PDFDocEncoding definition (HO)
hyperref.cfg    2002/06/06 v1.2 hyperref configuration of TeXLive
     url.sty    2013/09/16  ver 3.4  Verb mode for urls, etc.
 hpdftex.def    2012/11/06 v6.83m Hyperref driver for pdfTeX
rerunfilecheck.sty    2011/04/15 v1.7 Rerun checks for auxiliary files (HO)
beamerbaserequires.sty    2010/05/01  (rcs-revision efa082c6111d)
beamerbasecompatibility.sty    2012/05/01  (rcs-revision 67c48b3b652d)
beamerbasefont.sty    2013/10/18  (rcs-revision 72f39e01808a)
 amssymb.sty    2013/01/14 v3.01 AMS font symbols
amsfonts.sty    2013/01/14 v3.01 Basic AMSFonts support
sansmathaccent.sty    2013/03/28
filehook.sty    2011/10/12 v0.5d Hooks for input files
beamerbasetranslator.sty    2010/06/11  (rcs-revision 85fd1cc7fc42)
translator.sty    2010/06/12 ver 1.10
translator-language-mappings.tex
beamerbasemisc.sty    2013/09/03  (rcs-revision a55719c41d85)
beamerbasetwoscreens.sty    2010/05/01  (rcs-revision efa082c6111d)
beamerbaseoverlay.sty    2013/12/25  (rcs-revision f6bd5e3805da)
beamerbasetitle.sty    2010/09/21  (rcs-revision f0446ed0b6ae)
beamerbasesection.sty    2013/06/07  (rcs-revision 60b9fe0f342f)
beamerbaseframe.sty    2013/10/02  (rcs-revision cdc8e9a3aaac)
beamerbaseverbatim.sty    2012/08/30  (rcs-revision dfdb135076b3)
beamerbaseframesize.sty    2011/09/12  (rcs-revision 70f9d8411e54)
beamerbaseframecomponents.sty    2013/10/18  (rcs-revision 5cf6c5555a45)
beamerbasecolor.sty    2010/06/06  (rcs-revision d1a9b48be06d)
beamerbasenotes.sty    2012/12/19  (rcs-revision 1686da3db3c9)
beamerbasetoc.sty    2013/05/23  (rcs-revision 0fdf5bc43be8)
beamerbasetemplates.sty    2010/05/01  (rcs-revision efa082c6111d)
beamerbaseauxtemplates.sty    2013/09/04  (rcs-revision 4ac715c499d0)
beamerbaseboxes.sty    2012/05/13  (rcs-revision 56972908a390)
beamerbaselocalstructure.sty    2013/09/04  (rcs-revision 4ac715c499d0)
enumerate.sty    1999/03/05 v3.00 enumerate extensions (DPC)
beamerbasenavigation.sty    2013/10/05  (rcs-revision 62be157fe783)
beamerbasetheorems.sty    2010/06/06  (rcs-revision 7e7cc5e53e9d)
 amsmath.sty    2013/01/14 v2.14 AMS math features
 amstext.sty    2000/06/29 v2.01
  amsgen.sty    1999/11/30 v2.0
  amsbsy.sty    1999/11/29 v1.2d
  amsopn.sty    1999/12/14 v2.01 operator names
  amsthm.sty    2004/08/06 v2.20
beamerbasethemes.sty    2010/05/01  (rcs-revision efa082c6111d)
beamerthemedefault.sty    2010/06/17  (rcs-revision d02a7cf4d8ae)
beamerfontthemedefault.sty    2012/12/19  (rcs-revision 1686da3db3c9)
beamercolorthemedefault.sty    2012/12/19  (rcs-revision 1686da3db3c9)
beamerinnerthemedefault.sty    2013/10/15  (rcs-revision 65cb471f9634)
beamerouterthemedefault.sty    2012/12/19  (rcs-revision 1686da3db3c9)
beamerthemeMadrid.sty    2010/06/17  (rcs-revision d02a7cf4d8ae)
beamercolorthemewhale.sty    2010/06/17  (rcs-revision d02a7cf4d8ae)
beamercolorthemeorchid.sty    2010/06/17  (rcs-revision d02a7cf4d8ae)
beamerinnerthemerounded.sty    2010/06/17  (rcs-revision d02a7cf4d8ae)
beamerouterthemeinfolines.sty    2012/10/16  (rcs-revision 51a8c72084af)
supp-pdf.mkii
 nameref.sty    2012/10/27 v2.43 Cross-referencing by name of section
gettitlestring.sty    2010/12/03 v1.4 Cleanup title references (HO)
translator-basic-dictionary-English.dict
translator-bibliography-dictionary-English.dict
translator-environment-dictionary-English.dict
translator-months-dictionary-English.dict
translator-numbers-dictionary-English.dict
translator-theorem-dictionary-English.dict

and
This is XeTeX, Version 3.1415926-2.5-0.9999.3 (MiKTeX 2.9 64-bit)
 *File List*
  beamer.cls    2013/12/02 3.33 A class for typesetting presentations (rcs-revision 332bfd3ce558)
beamerbasercs.sty    2013/12/25 (rcs-revision 31cc758a62ae)
beamerbasemodes.sty    2013/09/03 (rcs-revision 768f2d98ca64)
beamerbasedecode.sty    2010/05/01 (rcs-revision efa082c6111d)
   ifpdf.sty    2011/01/30 v2.3 Provides the ifpdf switch (HO)
beamerbaseoptions.sty    2013/03/10 (rcs-revision 47431932db0d)
  keyval.sty    2014/05/08 v1.15 key=value parser (DPC)
geometry.sty    2010/09/12 v5.6 Page Geometry
  ifvtex.sty    2010/03/01 v1.5 Detect VTeX and its facilities (HO)
 ifxetex.sty    2010/09/12 v0.6 Provides ifxetex conditional
geometry.cfg
  size11.clo    2007/10/19 v1.4h Standard LaTeX file (size option)
 pgfcore.sty    2010/04/11 v3.0.0 (rcs-revision 1.7)
graphicx.sty    2014/04/25 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty    2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
    trig.sty    1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg    2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
   xetex.def    2014/04/28 v4.01 LaTeX color/graphics driver for XeTeX (RRM/JK)
  pgfsys.sty    2013/11/30 v3.0.0 (rcs-revision 1.47)
  pgfrcs.sty    2013/12/20 v3.0.0 (rcs-revision 1.28)
everyshi.sty    2001/05/15 v3.00 EveryShipout Package (MS)
  pgfrcs.code.tex
  pgfsys.code.tex
pgfsyssoftpath.code.tex    2013/09/09  (rcs-revision 1.9)
pgfsysprotocol.code.tex    2006/10/16  (rcs-revision 1.4)
  xcolor.sty    2007/01/21 v2.11 LaTeX color extensions (UK)
   color.cfg    2007/01/18 v1.5 color configuration of teTeX/TeXLive
 pgfcore.code.tex
 xxcolor.sty    2003/10/24 ver 0.1
atbegshi.sty    2011/10/05 v1.16 At begin shipout hook (HO)
infwarerr.sty    2010/04/08 v1.3 Providing info/warning/error messages (HO)
 ltxcmds.sty    2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
hyperref.sty    2012/11/06 v6.83m Hypertext links for LaTeX
hobsub-hyperref.sty    2012/04/25 v1.12 Bundle oberdiek, subset hyperref (HO)
hobsub-generic.sty    2012/04/25 v1.12 Bundle oberdiek, subset generic (HO)
  hobsub.sty    2012/04/25 v1.12 Construct package bundles (HO)
ifluatex.sty    2010/03/01 v1.3 Provides the ifluatex switch (HO)
 intcalc.sty    2007/09/27 v1.1 Expandable calculations with integers (HO)
etexcmds.sty    2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
kvsetkeys.sty    2012/04/25 v1.16 Key value parser (HO)
kvdefinekeys.sty    2011/04/07 v1.3 Define keys (HO)
pdftexcmds.sty    2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO)
pdfescape.sty    2011/11/25 v1.13 Implements pdfTeX's escape features (HO)
bigintcalc.sty    2012/04/08 v1.3 Expandable calculations on big integers (HO)
  bitset.sty    2011/01/30 v1.1 Handle bit-vector datatype (HO)
uniquecounter.sty    2011/01/30 v1.2 Provide unlimited unique counter (HO)
letltxmacro.sty    2010/09/02 v1.4 Let assignment for LaTeX macros (HO)
 hopatch.sty    2011/06/24 v1.1 Wrapper for package hooks (HO)
xcolor-patch.sty    2011/01/30 xcolor patch
atveryend.sty    2011/06/30 v1.8 Hooks at the very end of document (HO)
refcount.sty    2011/10/16 v3.4 Data extraction from label references (HO)
 hycolor.sty    2011/01/30 v1.7 Color options for hyperref/bookmark (HO)
 auxhook.sty    2011/03/04 v1.3 Hooks for auxiliary files (HO)
kvoptions.sty    2011/06/30 v3.11 Key value format for package options (HO)
  pd1enc.def    2012/11/06 v6.83m Hyperref: PDFDocEncoding definition (HO)
hyperref.cfg    2002/06/06 v1.2 hyperref configuration of TeXLive
     url.sty    2013/09/16  ver 3.4  Verb mode for urls, etc.
  hxetex.def    2012/11/06 v6.83m Hyperref driver for XeTeX
   puenc.def    2012/11/06 v6.83m Hyperref: PDF Unicode definition (HO)
stringenc.sty    2011/12/02 v1.10 Convert strings between diff. encodings (HO)
rerunfilecheck.sty    2011/04/15 v1.7 Rerun checks for auxiliary files (HO)
se-ascii-print.def    2011/12/02 v1.10 stringenc: Printable ASCII characters
beamerbaserequires.sty    2010/05/01  (rcs-revision efa082c6111d)
beamerbasecompatibility.sty    2012/05/01  (rcs-revision 67c48b3b652d)
beamerbasefont.sty    2013/10/18  (rcs-revision 72f39e01808a)
 amssymb.sty    2013/01/14 v3.01 AMS font symbols
amsfonts.sty    2013/01/14 v3.01 Basic AMSFonts support
sansmathaccent.sty    2013/03/28
filehook.sty    2011/10/12 v0.5d Hooks for input files
beamerbasetranslator.sty    2010/06/11  (rcs-revision 85fd1cc7fc42)
translator.sty    2010/06/12 ver 1.10
translator-language-mappings.tex
beamerbasemisc.sty    2013/09/03  (rcs-revision a55719c41d85)
beamerbasetwoscreens.sty    2010/05/01  (rcs-revision efa082c6111d)
beamerbaseoverlay.sty    2013/12/25  (rcs-revision f6bd5e3805da)
beamerbasetitle.sty    2010/09/21  (rcs-revision f0446ed0b6ae)
beamerbasesection.sty    2013/06/07  (rcs-revision 60b9fe0f342f)
beamerbaseframe.sty    2013/10/02  (rcs-revision cdc8e9a3aaac)
beamerbaseverbatim.sty    2012/08/30  (rcs-revision dfdb135076b3)
beamerbaseframesize.sty    2011/09/12  (rcs-revision 70f9d8411e54)
beamerbaseframecomponents.sty    2013/10/18  (rcs-revision 5cf6c5555a45)
beamerbasecolor.sty    2010/06/06  (rcs-revision d1a9b48be06d)
beamerbasenotes.sty    2012/12/19  (rcs-revision 1686da3db3c9)
beamerbasetoc.sty    2013/05/23  (rcs-revision 0fdf5bc43be8)
beamerbasetemplates.sty    2010/05/01  (rcs-revision efa082c6111d)
beamerbaseauxtemplates.sty    2013/09/04  (rcs-revision 4ac715c499d0)
beamerbaseboxes.sty    2012/05/13  (rcs-revision 56972908a390)
beamerbaselocalstructure.sty    2013/09/04  (rcs-revision 4ac715c499d0)
enumerate.sty    1999/03/05 v3.00 enumerate extensions (DPC)
beamerbasenavigation.sty    2013/10/05  (rcs-revision 62be157fe783)
beamerbasetheorems.sty    2010/06/06  (rcs-revision 7e7cc5e53e9d)
 amsmath.sty    2013/01/14 v2.14 AMS math features
 amstext.sty    2000/06/29 v2.01
  amsgen.sty    1999/11/30 v2.0
  amsbsy.sty    1999/11/29 v1.2d
  amsopn.sty    1999/12/14 v2.01 operator names
  amsthm.sty    2004/08/06 v2.20
beamerbasethemes.sty    2010/05/01  (rcs-revision efa082c6111d)
beamerthemedefault.sty    2010/06/17  (rcs-revision d02a7cf4d8ae)
beamerfontthemedefault.sty    2012/12/19  (rcs-revision 1686da3db3c9)
beamercolorthemedefault.sty    2012/12/19  (rcs-revision 1686da3db3c9)
beamerinnerthemedefault.sty    2013/10/15  (rcs-revision 65cb471f9634)
beamerouterthemedefault.sty    2012/12/19  (rcs-revision 1686da3db3c9)
beamerthemeMadrid.sty    2010/06/17  (rcs-revision d02a7cf4d8ae)
beamercolorthemewhale.sty    2010/06/17  (rcs-revision d02a7cf4d8ae)
beamercolorthemeorchid.sty    2010/06/17  (rcs-revision d02a7cf4d8ae)
beamerinnerthemerounded.sty    2010/06/17  (rcs-revision d02a7cf4d8ae)
beamerouterthemeinfolines.sty    2012/10/16  (rcs-revision 51a8c72084af)
 nameref.sty    2012/10/27 v2.43 Cross-referencing by name of section
gettitlestring.sty    2010/12/03 v1.4 Cleanup title references (HO)
translator-basic-dictionary-English.dict
translator-bibliography-dictionary-English.dict
translator-environment-dictionary-English.dict
translator-months-dictionary-English.dict
translator-numbers-dictionary-English.dict
translator-theorem-dictionary-English.dict

A: Assuming you are using pdfTeX in direct PDF output mode, you are looking at having different specials and so forth here. As such, it's hard to say one result is 'right' and the other is 'wrong', more that it's expected that the two will not be identical. Choose a compilation route and stick to it!

redpajama_set_name: RedPajamaStackExchange


text:
Christian Social Party may refer to:

Christian Social Party (Austria)
Christian Social Party (Belgium)
Christian Social Party (Belgium, defunct)
Christian Social Party (Chile)
Christian Social Party (Germany)
Christian Social Union of Bavaria
Christian Socialist Party (Hungary)
Christian Social Party (Liechtenstein)
Christian Social Party (Netherlands)
Christian Social Party of Obwalden
Christian Social Party (Switzerland)
Christian Social Party (Venezuela)

See also
 Social Christian Party (disambiguation)

redpajama_set_name: RedPajamaWikipedia


With over 4,561 vehicle parking spaces, Dane County Regional Airport (msnairport.com), in Madison, Wisconsin, has your car covered while you fly. The airport's three parking areas -- a parking garage, economy "park and walk" and surface lot -- provide short and long term parking, easy access to the main terminal, and 24-hour security.
The least expensive parking option at Dane County Regional Airport is the "park and walk" economy lot, which is a 10-minute walk from the airport. Southwest of the main terminal on International Lane, the "park and walk" outdoor lot provides 883 spaces for long-term parking only. There is no shuttle service for this lot, but a walking path, which cuts through the surface lot, provides a safe route. Rates, as of publication date, are $6 per day.
The 681-space surface lot at Dane County Regional Airport is the second least expensive parking option at $8 per day, as of publication date. This non-covered lot, which only offers long-term parking, is north of the economy lot and accessible via International Lane.
Dane County Regional Airport's parking garage, also known as the parking ramp, is the only option for short-term parking, although long-term is also available at this facility. As of publication date, the first 15 minutes are free and each additional hour is approximately $1. The per-day rate for the parking garage is $10. Accessible via International Lane, the 3,047-space, four-floor parking garage connects to the main terminal with six crosswalks.
If you are picking up a traveler and do not want to leave your car while you wait, the airport provides a cell phone lot on the first exit of International Lane. With the exception of the economy "park and walk" lot, which only takes credit cards, all parking lots accept cash or credit cards. There is no charge for two-wheel-vehicle parking, which is in the parking garage. All two-wheel vehicles must be chain-locked while inside the garage.


text:
Legislation introduced in House to extend benefits to families of veterans impacted by ALS
Excerpt via U.S. House of Representatives – Gil Cisneros
Read Full Press Release: Read More
WASHINGTON, DC – Today on October 18th, Representative Gilbert R. Cisneros, Jr. (CA-39) and Representative Brian Fitzpatrick (PA-01), co-chair of the Congressional ALS Caucus, introduced the "The Justice for ALS Veterans Act of 2019." The bipartisan legislation extends benefits to the surviving spouse and family of a veteran who has passed from amyotrophic lateral sclerosis (ALS), regardless of how long the veteran had ALS.
"Survivors should not be denied a benefit others receive simply because the service-connected disease their veterans acquired made it nearly impossible for them to meet an eight-year life expectancy requirement," said Heather Ansley, PVA Associate Executive Director of Government Relations. "We thank Representatives Cisneros and Fitzpatrick for introducing this important legislation, and urge the House to pass it quickly."

redpajama_set_name: RedPajamaCommonCrawl


text:
Haryana, Governor Mr. Satyadeo Narain Arya has appealed to the people to celebrate all the festivals in the near future by staying at home
Publish Date: March 4, 2020
Haryana, Governor Mr. Satyadeo Narain Arya has appealed to the people to celebrate all the festivals in the near future by staying at home.
President Mr. Ram Nath Kovind has reiterated this during a video conferencing from New Delhi with all the Governors today. Mr. Kovind today reviewed the arrangements made by the state governments to prevent the spread of corona virus in the second video conferencing in this regard. Mr. Arya said that social distancing is the only way to protect oneself and others from the virus. Many festivals like Mahavir Jayanti, Good Friday, Baisakhi, Dr. Bhimrao Ambedar Jayanti and Parshuram Jayanti are approaching in the near future. No person should collectively celebrate a festival. Along with this, it is also necessary that people do not organize meetings and conferences and do not take any procession but celebrate the festival at their homes. The state government is also continuing an effective awareness campaign through social media, print media, radio and television to make the general public aware of social distancing. He said that no person should pay heed to the rumors related to the virus but follow the instructions given by the government from time to time.
The Governor appreciated the work of the administrative officers, doctors, paramedical staff, police personnel, sanitation workers, electricity department employees, public health departments, and bank employees during the lockdown


text:
Jodie Turner-Smith Will Serve a "Visual Feast" as Host of the British Fashion Council's Fashion Awards
Photograph by Anton Gottlob
The year 2022 will be remembered as the one when Jodie Turner-Smith become a bonafide red carpet icon. In January, she was a budding star, a model-turned-indie-actress who walked the occasional red carpet alongside her husband, Joshua Jackson. Now, eleven months later and an event doesn't start until Turner-Smith makes her entrance and the fashion sect gets a look at what's she's wearing. The peak of her rise came at the Venice Film Festival in September when Turner-Smith hit the carpet in a parade of gorgeous and unexpected gowns. In the span of a week she solidified her place as one to watch and proved her ability to take risks, her inclination toward the bold, and her love for Alessandro Michele's Gucci.
It's fitting, then, that Turner-Smith will end 2022 at the helm of the British Fashion Council's biggest event of the year. On December 5th, Turner-Smith will take the stage to host The Fashion Awards presented by Diet Coke. There, the actress will guide guests through the evening as the BFA doles out honors for Designer of the Year, Model of the Year, Independent British Brand of the Year, and more. Some of the biggest names in fashion will be in attendance, including Jonathan Anderson, Bella Hadid, and Miuccia Prada, but all eyes will be on the striking Turner-Smith. In preparation for the event, the actress chatted with W about her triumphant year on the red carpet, her most recent purchase, and what to expect from her hosting gig next Monday.
What was your reaction when you got the call from the British Fashion Council?
I was so excited and honored. I was like, "They want me to do it?" I've never gone before, so this will be my first time attending as well. What a great way to attend for the first time?
Who is exciting you in British fashion at the moment?
I'm really excited about a lot of these designers that have been nominated. There's one particular young designer that I discovered through Gucci, Bianca Saunders. I love what she's doing. I love what Nensi Dojaka is doing, I love what they're doing at Bottega [Veneta]. I'm excited to see who is going to be awarded a prize. It's always interesting to see what the zeitgeist is saying, but in my head I have some that I'm keeping my eye on.
Have you picked your look yet? Do you know what you're wearing?
I'm still deciding on all of that magic. When I hosted the Fashion Trust Arabia Awards I had five outfit changes. Five. So, at this point I feel like it's what people expect from me. It's like this wheel that's feeding itself, but I love it. It's exciting for me. I get to play dress up. I get access to such incredibly crafted, beautiful artistic clothing. I definitely like to milk that opportunity by getting to display as many personalities as possible in one night. I think hosting gives you the chance to do that.
Also, I think it adds a little bit of spice and drama to the night. Like, "What is she going to come out in next?" You want to keep the energy alive. I'm adding my own little piece of entertainment in there by giving a visual feast. So, I'm definitely going to have fun because that is always my objective. I'm going to be feeling myself, but I'm going to be having fun. I'm going to be all the way in my bag.
You had an amazing red carpet year and I'd love to take a look back on it. What were some of your favorite looks?
Oh my god. I mean, this year really went off. I have always looked forward to a certain aspect of my career as an actor, what I like to call the parade of dresses. Usually, you do that for an awards campaign, which I haven't actually had yet, but sometimes is also just a film festival, like Venice. That was so much fun and exciting. I feel like Venice was really the biggest highlight of the year, especially because it was my birthday week, it was Virgo season, the moon was full. I started out opening the festival with a film I was in, White Noise by Noah Baumbach. I couldn't have been feeling myself any more than that. Then, I got to get dressed up every day and wear fabulous things and go and see incredible films. Now the sense memory that's associated with all the dresses I wore is just so full of elation that it just puts every single look at the very tippy top.
In Christopher John Rogers at the Venice Film Festival.
Marilla Sicilia/Archivio Marilla Sicilia/Mondadori Portfolio via Getty Images
Going into that week, did you know you were going to make such a splash? Did you expect to get a lot of attention?
It sounds stupid and like I'm being naive, but I didn't even think, "Oh, I'm going to get all this press." I was more so like, "I'm about to shut it down with how good I look." For me, it was more about Venice itself and just really taking up space in that environment because I'm going to occupy my space and that feels really good to do as a Black woman. I just went there to have a really fucking good time. Then, when I saw the response in the press, I was like, "Wow, I didn't even fathom that it was going to pop this way." I didn't think about the ways in which that would open doors for me.
Over at W, we really enjoyed seeing what you showed up in everyday.
That was the element that was the most surprising to me. You don't think about the effect you're going to have on other people. In the same way art inspires people, I feel fashion can really inspire people. Even if I just make someone smile or make someone say, "Ooh, that outfit is amazing."
Can you walk me through the process of picking a look for an event?
I feel like my stylists [Wayman Bannerman and Micah McDonald] and I are in the pocket right now, which feels really good. They just get me. I'm always sending them dresses I like and then I turn up to fittings and there are pieces we've talked about as well as things that have a similar energy that I wouldn't have even picked for myself. We really just have fun. There's music playing. It's great when you have two people curating it all, you don't actually have to go look for it, it comes to you. It's absolutely amazing.
What kind of pieces do you normally find yourself gravitating towards?
I'm definitely not a wallflower. I usually go for things that exist in a bolder place. I think I have a very sensual energy and I love to feel that when I'm getting dressed up. If you look back at the things I've worn, it's all very bold. I like to color my hair. I like to wear things that make me feel powerful, and sexy, and tall. I love to be tall.
In Gucci at the Academy Gala.
Steve Granitz/FilmMagic/Getty Images
Is there any collection or designer you haven't tried yet that you're dying to wear?
You know what? I haven't worn Schiaparelli. Daniel [Roseberry], why aren't you knocking on my door? I haven't had my Schiaparelli moment. My shut it down Schiaparelli moment. I'm waiting for that.
You've been dying your hair a lot of different colors. What inspired you to do that?
I did a big chop before Venice and then, throughout the festival, every day my hairstylist would cut the hair shorter and shorter so I had a different hairstyle, a different hair length every day. And then, on the final day, I completely shaved it all off and went blonde. So once I was blonde, I was like, "Now we have to do all the colors."
What is the best fashion advice you ever received?
I don't remember a specific person giving me this advice, but I feel like the best fashion advice is just be yourself. To a certain extent. "Be yourself" is not the advice I give my husband when he dresses. Laughs.
Do you dress your husband?
No I don't, but for some reason, he dresses way better when we're in cold weather. When we're somewhere cold, suddenly he's got all these looks and outfits and I'm like, "So when we're in L.A, you want to get photographed looking homeless, but now suddenly you have all these looks? Where do they come from?"
Who's your style icon?
Oh my god, so many. Grace Jones, definitely. Bianca Jagger, Cher. I feel like I'm really inspired by fashion from awhile ago, as many people are. We're always nostalgic for the past that we were not a part of. I love old Hollywood style as well—very feminine silhouettes, but I also love super androgynous and masculine stuff. I'm all over the place. There's so many personalities in here.
Do you have one prized possession in your closet, if you had to pick one thing?
Well, right now it's this coat that I just got from Gucci. Do you want to see it? Pulls out a white and brown fur coat from Alessandro Michele's fall 2020 collection. I'm obsessed. It's just so warm, babe. I'm like, "Okay, this is my coat for winter. You'll be seeing me in this until further notice."
In Gucci (including her newly-purchased coat).
John Lamparski/Getty Images Entertainment/Getty Images
See Every Red Carpet Look From the 2023 Critics Choice Awards
No One Has Had More Red Carpet Phases Than Miley Cyrus
By Sue Williamson


text:
Q: Java Slick2D: Camera is scrolling, character moves too fast I've been playing around with Slick2D for Java and I managed to get it to display maps and have my character sprite move around.
I've tried to implement a camera that follows the player so that the map scrolls. While the map is scrolling, that characters move speed is faster than it should be (possibly due to the camera srolling it as well as it moving with the keys)
I'm stumped on how to solve it though
The camera code is something i found on the slick forums, and modified slightly to draw each layer seperatly, modifying both drawmap methods to add the layer in. I would ask on the forums but they seem dead.
This is the camera code
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package engine;

/**
 *
 * @author Ceri
 */
import java.awt.geom.Point2D;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.geom.Shape;
import org.newdawn.slick.tiled.TiledMap;

public class Camera {

    /**
     * the map used for our scene
     */
    protected TiledMap map;

    /**
     * the number of tiles in x-direction (width)
     */
    protected int numTilesX;

    /**
     * the number of tiles in y-direction (height)
     */
    protected int numTilesY;

    /**
     * the height of the map in pixel
     */
    protected int mapHeight;

    /**
     * the width of the map in pixel
     */
    protected int mapWidth;

    /**
     * the width of one tile of the map in pixel
     */
    protected int tileWidth;

    /**
     * the height of one tile of the map in pixel
     */
    protected int tileHeight;

    /**
     * the GameContainer, used for getting the size of the GameCanvas
     */
    protected GameContainer gc;

    /**
     * the x-position of our "camera" in pixel
     */
    protected float cameraX;

    /**
     * the y-position of our "camera" in pixel
     */
    protected float cameraY;

    protected Point2D.Float currentCenterPoint = new Point2D.Float(0, 0);

    /**
     * Create a new camera
     *
     * @param gc the GameContainer, used for getting the size of the GameCanvas
     * @param map the TiledMap used for the current scene
     */
    public Camera(GameContainer gc, TiledMap map) {
        this.map = map;

        this.numTilesX = map.getWidth();
        this.numTilesY = map.getHeight();

        this.tileWidth = map.getTileWidth();
        this.tileHeight = map.getTileHeight();

        this.mapWidth = this.numTilesX * this.tileWidth;
        this.mapHeight = this.numTilesY * this.tileHeight;

        this.gc = gc;
    }

    /**
     * "locks" the camera on the given coordinates. The camera tries to keep the
     * location in it's center.
     *
     * @param x the real x-coordinate (in pixel) which should be centered on the
     * screen
     * @param y the real y-coordinate (in pixel) which should be centered on the
     * screen
     * @return
     */
    public Point2D.Float centerOn(float x, float y) {
        //try to set the given position as center of the camera by default
        cameraX = x - gc.getWidth() / 2;
        cameraY = y - gc.getHeight() / 2;

        //if the camera is at the right or left edge lock it to prevent a black bar
        if (cameraX < 0) {
            cameraX = 0;
        }
        if (cameraX + gc.getWidth() > mapWidth) {
            cameraX = mapWidth - gc.getWidth();
        }

        //if the camera is at the top or bottom edge lock it to prevent a black bar
        if (cameraY < 0) {
            cameraY = 0;
        }
        if (cameraY + gc.getHeight() > mapHeight) {
            cameraY = mapHeight - gc.getHeight();
        }

        currentCenterPoint.setLocation(cameraX, cameraY);
        return currentCenterPoint;
    }

    /**
     * "locks" the camera on the center of the given Rectangle. The camera tries
     * to keep the location in it's center.
     *
     * @param x the x-coordinate (in pixel) of the top-left corner of the
     * rectangle
     * @param y the y-coordinate (in pixel) of the top-left corner of the
     * rectangle
     * @param height the height (in pixel) of the rectangle
     * @param width the width (in pixel) of the rectangle
     */
    public void centerOn(float x, float y, float height, float width) {
        this.centerOn(x + width / 2, y + height / 2);
    }

    /**
     * "locks the camera on the center of the given Shape. The camera tries to
     * keep the location in it's center.
     *
     * @param shape the Shape which should be centered on the screen
     */
    public void centerOn(Shape shape) {
        this.centerOn(shape.getCenterX(), shape.getCenterY());
    }

    /**
     * draws the part of the map which is currently focussed by the camera on
     * the screen
     */
    public void drawMap(int layer) {
        this.drawMap(0, 0, layer);
    }

    /**
     * draws the part of the map which is currently focussed by the camera on
     * the screen.

     * You need to draw something over the offset, to prevent the edge of the
     * map to be displayed below it

     * Has to be called before Camera.translateGraphics() !
     *
     * @param offsetX the x-coordinate (in pixel) where the camera should start
     * drawing the map at
     * @param offsetY the y-coordinate (in pixel) where the camera should start
     * drawing the map at
     */
    public void drawMap(int offsetX, int offsetY, int layer) {
        //calculate the offset to the next tile (needed by TiledMap.render())
        int tileOffsetX = (int) -(cameraX % tileWidth);
        int tileOffsetY = (int) -(cameraY % tileHeight);

        //calculate the index of the leftmost tile that is being displayed
        int tileIndexX = (int) (cameraX / tileWidth);
        int tileIndexY = (int) (cameraY / tileHeight);

        //finally draw the section of the map on the screen
        map.render(
                tileOffsetX + offsetX,
                tileOffsetY + offsetY,
                tileIndexX,
                tileIndexY,
                (gc.getWidth() - tileOffsetX) / tileWidth + 1,
                (gc.getHeight() - tileOffsetY) / tileHeight + 1, layer, false);
    }

    /**
     * Translates the Graphics-context to the coordinates of the map - now
     * everything can be drawn with it's NATURAL coordinates.
     */
    public void translateGraphics() {
        gc.getGraphics().translate(-cameraX, -cameraY);
    }

    /**
     * Reverses the Graphics-translation of Camera.translatesGraphics(). Call
     * this before drawing HUD-elements or the like
     */
    public void untranslateGraphics() {
        gc.getGraphics().translate(cameraX, cameraY);
    }

}

and this is how its being called
In the engine class
    public void render(GameContainer gc, Graphics g) throws SlickException {

            camera = new Camera(gc, world.map);
            camera.centerOn(player.getX(), player.getY());
            camera.drawMap(0);
            camera.drawMap(1);
            player.draw();
            camera.drawMap(2);
        }

This is how the player class is
public Player(MapClass m) throws SlickException {
        map = m;

        Image[] movementUp = {new Image("Images/Player/u1.png"), new Image("Images/Player/u2.png"), new Image("Images/Player/u3.png"), new Image("Images/Player/u4.png")};
        Image[] movementDown = {new Image("Images/Player/d1.png"), new Image("Images/Player/d2.png"), new Image("Images/Player/d3.png"), new Image("Images/Player/d4.png")};
        Image[] movementLeft = {new Image("Images/Player/l1.png"), new Image("Images/Player/l2.png"), new Image("Images/Player/l3.png"), new Image("Images/Player/l4.png")};
        Image[] movementRight = {new Image("Images/Player/r1.png"), new Image("Images/Player/r2.png"), new Image("Images/Player/r3.png"), new Image("Images/Player/r4.png")};
        int[] duration = {100, 100, 100, 100};

        up = new Animation(movementUp, duration, false);
        down = new Animation(movementDown, duration, false);
        left = new Animation(movementLeft, duration, false);
        right = new Animation(movementRight, duration, false);

        // Original orientation of the sprite. It will look right.
        sprite = right;
    }

public void update(GameContainer container, int delta) throws SlickException {
        Input input = container.getInput();
        if (input.isKeyDown(Input.KEY_UP)) {
            sprite = up;
            sprite.update(delta);
            // The lower the delta the slowest the sprite will animate.
            if (!map.isBlocked(x, y - delta * 0.1f))
                y -= delta * 0.1f;
        } else if (input.isKeyDown(Input.KEY_DOWN)) {
            sprite = down;
            sprite.update(delta);
            if (!map.isBlocked(x, y + 16 + delta * 0.1f))
                y += delta * 0.1f;
        } else if (input.isKeyDown(Input.KEY_LEFT)) {
            sprite = left;
            sprite.update(delta);
            if (!map.isBlocked(x - delta * 0.1f, y))
                x -= delta * 0.1f;
        } else if (input.isKeyDown(Input.KEY_RIGHT)) {
            sprite = right;
            sprite.update(delta);
            if (!map.isBlocked(x + 16 + delta * 0.1f, y))
                x += delta * 0.1f;
        }
    }

    public void draw() {
        sprite.draw(x, y);
    }

A: Fixed it. Moved the map draw out of the camera class into the map class. used the camera x/y created in the camera class in the map and player class


Oval shaped touches with black foil and discrete white symbols highlighted by elegant mirror effect frames. The sophisticated foil design is enhanced by a chrome-plated touch frame. The slim, oval shaped design will allow you to place the touch on even very narrow bathtub rims.
The oval touches are designed to control 3 to 4 functions. The functionality is however determined in the control box. The incorporated green LED lights up when a function is activated.
This Pad has the Universal function key which allows it be to used with variable speed control boxes.


Are you a current skydiver or have skydiving background and want to convert over to paragliding?
If you have skydived and enjoyed the time where the canopy is open and find yourself longing for extended air time, then maybe paragliding is for you. In recent years there have been some developments which have corresponded to a closer relationship between the two sports. One of these is a movement towards smaller and faster canopies that has allowed paragliding to be experienced in stronger conditions, which is often appealing to sky diving enthusiasts.
In 2007 Poliglide lead a paragliding development project called D-bagging, that was new in Australia, although it had been achieved earlier in other countries. The D-bag project shows how paragliders can be deployed similar to a static line jump in skydiving. The gap in sports gets narrower. We encourage you to read some of the comments on an international paragliding forum by sky divers that have made the switch to paragliding. Click here and scroll through. From the comments that are written by people that have converted you may get a taste for what is in front of you and what the benefits and pitfalls are.
A conversion course is aimed at utilising and building on the canopy experience that you already have . The main focus while bringing your experience over to free flying is to re frame your skills in a new context, safely and effectively.
The competency checkpoints of the course are exactly the same regardless of the experience you bring.
– The paragliding theory work book needs to be completed including the 80 MC exam.
We have experience teaching a number of former and current skydiving pilots. Our training is competency based hence it moves at your speed not at that of a rigid timetable. We don't cut corners to get you in and out quickly however we believe your experience will pay dividends which is why the course is at a discounted rate.
To qualify all you need is your 'A' licence. Have a look at our course dates in the Full certificate course program.


The DeRupo Team is one of SW Florida's most successful and respected real estate groups. The DeRupo Team combines more than 40 years of real estate experience in Residential, Commercial, and Investment real estate to meet the vast needs of their clients and has helped hundreds of buyers and sellers over nearly two decades to achieve their real estate goals. Cape Coral Luxury Home Specialist's.
Discover how easy it can be to design your own piece of paradise. Whether you have seen it in a magazine or have your own personal vision, get exactly what you want. Tundra Homes specializes in building the highest quality hurricane resistant and high performance homes. Tundra Homes will handle everything for you, from design and permitting, to 'turn-key' completion. Tundra Homes pays close attention to the little things, and goes the extra mile to find you finished products that suit your tastes and make your home unique and beautiful. Call The DeRupo Team today for a free consultation on building your home in Cape Coral, Pine Island & Fort Myers.


So last week Dave and Liam, a couple of members of Queensland based production company DCM Works came down to Melbourne for a series of meetings and sat down with myself and some of the other members of Sanspants Radio. We did a bit of recording, a bit of drinking and a bit of discussing and in the midst of it all they interviewed me for their podcast Art for Artists. The show is a worthwhile listen for anyone who's interested in pop culture or storytelling, and I really enjoyed the chance to discuss my career thus far with them. I've linked the video below; follow from there to check out more of their stuff.


You've wanted a dog for a long time now, and there's never been a better time to adopt. While you could get a new puppy, there are already thousands of dogs in need of a good home who have been abandoned for one reason or another. These dogs may be young or old, sick or healthy, but they need your love. With that said, rescue dogs can be a big responsibility. Here's what you need to know to properly socialize your new pet and give it a good home.
Socializing a dog can be difficult. Basically, the idea of socializing is to get the dog into an area with other people and pets - be it other dogs, cats, or other animals that may be in your home. Ideally, you would want to take the dog to a dog park so that it could interact with other animals in a natural setting.
But, shelter dogs do not get the benefit of weekly dog park visits. Instead, you may have to make an assessment based on the condition of the dog at the shelter, which may not be accurate since many dogs suffer from shelter stress.
Socializing, therefore, will probably have to be done on a trial basis after you've selected a dog you want to take home. At first, you may want to keep the dog at home in a safe environment to allow it to acclimate.
However, you should also be considering socializing the dog as soon as possible. As long as there are no existing aggression issues, you shouldn't have anything to worry about.
If the dog does have aggression issues, you will need to retrain the dog through obedience school or dog rehabilitation. The aim of rehabilitation is to slowly reintroduce the dog to other dogs with the ultimate goal being total integration into a large "pack" of dogs where it feels comfortable.
Shelter dogs often suffer from something called "shelter stress." This is the stress a dog experiences as a result of being taken out of its familiar surroundings and placed into a hectic environment with other dogs that may have temperaments that are different from the dog.
Shelter stress can make otherwise normal and healthy dogs anxious or aggressive. Shelter stress can also magnify small behavior problems, making it difficult to know what you're really getting yourself into.
Some facilities use a temperament test to assess the dog's personality traits, like stability, confidence, shyness, friendliness, aggressiveness, protectiveness, and play drive.
But, before you bring it home, you will have to make a determination as to whether it's safe for the dog to be in your home. A serious liability issue could arise if the temperament test does not uncover potentially dangerous behavioral problems. And, since dog bite and aggression laws vary in every state, there's no way to know what you're getting yourself into until or unless you research the law before you take on the responsibility of a shelter dog.
Even then, you'll have to keep a close eye on the dog and possibly do your own testing after a week or two of the dog being under your care.
Some dogs also just don't do well with temperament tests because they're naturally shy or more aggressive than the "average breed." Some dogs have been seriously abused so they don't respond well to certain kinds of confidence tests.
Do you have the time to train a dog? Shelter dogs sometimes require more care and attention than dogs that are purchased or adopted from a loving home. If you're a jet-setter, then a shelter dog may not be right for you.
Owning a dog is like raising a child. You must constantly watch it, train it every day, take long walks (with most breeds, except perhaps larger breeds like Mastiffs, who are inherently lazy), and spend several hours a day training, feeding, and nurturing it. It can feel like a full time job if you're not a true dog-lover.
If you've never adopted a dog before, it might be best to stick with breeds that tend to be calm or have a reputation for low-maintenance. These tend to be smaller dogs and some larger breeds that don't require much activity. Also, don't be afraid to take a shelter dog to a trusted veterinarian to have it assessed before you make a final decision.
Judge Anthony P. Calisi (ret.), has a strong background as a personal injury lawyer. He has spent over 30 years of his life helping people. Judge Calisi is a former chief felony prosecutor, and spent over a decade as a Municipal Judge in Collin County, Texas.


Star Wars has touched down in Stuttgart!!
After a grueling flight across the galaxy, passing rebel bases and a quick pit stop on Tatooine the long-awaited X-Wing and the infamous TIE fighter have finally landed in the Messe area in Stuttgart. When the pilots deboarded, they came across a group of Ghostbusters and then met up with the Power Rangers to head off for a quick lunch.
All the while, out back Chuck Norris is having an interesting discussion about White Walkers with Jamie Lannister and Euron Greyjoy. Jemma Simmons from S.H.I.E.L.D. is working her charm to recruit Colossus, a proper X-Men to her team….
Do I have your attention? All this and so much more is awaiting you at the Stuttgart Comic Con. Hang out with writers and illustrators, exchange costume building tips with cosplayers, sit and listen in at the panels, meet the stars and of course LOADS of merchandise. The Comic Con is a must see for every proper nerd.
Hollywood is represented by several high caliber actors like Chuck Norris, Chad Rook and Marina Sirtis, that is best known for her role as Counselor Diana Troy of the USS Enterprise. The German Garrison "501-Vader first" is there for fee picture ops along with the life size SW fighters. So, get your inner nerd ready and head on over, join in on the madness and have a blast!
The Con is located at the Stuttgart Trade Fair in Exhibition Hall 1 and 3, the Atrium and the Rothaus Park.
Saturday, June 30th 2018: 09.00 a.m. to 06.00 p.m.
Sonntag, July 1st 2018: 09.00 a.m. to 06.00 p.m.


text:
Q: How to submit form and show result without reload? Let's say I have two divs in a document. The first one has controlling character and the second one should be used as a preview, the result of the user work.
HTML

  <form id="workForm" action="php/create_pdf.php" method="POST">
    <input type="text" class="c" id="inputId">
      // etc...
  </form>

When the user insert some value, all these values in #workForm should be sent to create_pdf_preview.php and the result had to depict in #preview.
JS + jQuery
I tried to use .load jQuery method and actually it worked. But I don't know if I used it in right way and this solution looked unacceptable, cause there is the length limitation for the GET method and the execution was too complicated - I had to collect data to JS
`var datafield = document.getElementById("inputId").value;`

and then I could use it in .load method
$(".c").on('blur', function(){
  $("#preview").load("php/create_pdf_preview.php?data=" + datafield);
});

I know this is stupid way and also I know there are easier possibilities with AJAX or JSON, but this is still a wonderland for me and this is the reason why this question is posted. Could anyone please give me some direction? I'm not asking about any solution. Let ask me if I would evidence more details. Thank you very much.

A: Use POST for posting the data. POST can hold more data and thus you probably won't get exhausted easily with length of data.
Try -
$(".c").on('blur', function(){
    $.post( "php/create_pdf_preview.php", $( "#workForm" ).serialize())
    .done(function( data ) {
        alert( "Data posted: " + data );

        //print here
        $("#preview").html(data);
    });
});

you can find it here - http://api.jquery.com/jquery.post/
or you can use the more detailed one - -
$(".c").on('blur', function(){
  $.ajax({
      type: "POST",
      url: "php/create_pdf_preview.php",
      data: $( "#workForm" ).serialize(),
      success: function(data){
          alert( "Data posted: " + data );

          //print here
          $("#preview").html(data);
      },
      dataType: 'html' // for json response or 'html' for html response
     });
});

you can also find it here - http://api.jquery.com/jQuery.ajax/


The stumbling blocks that hinder the most recent academic examine attaining the study room are daunting: few channels to speak the result of academic examine, fewer possibilities for lecturers to take part in examine themselves, and little help for honing a systematic method of teaching.
The answer, based on Robert VanWynsberghe and Andrew C. Herman, is radical yet uncomplicated: remodel the academic establishment itself right into a laboratory for non-stop experimentation. encouraged through the pragmatist theories of John Dewey and Roberto Unger, Adaptive Education explains how colleges and universities can comprise examine methods into their actions, institutionalize a coverage of inquiry and experimentation, and make instructing an evidence-based profession.
An audacious suggestion to reform the schooling method from the floor up, Adaptive Education is a roadmap for developing an establishment that empowers academics, mom and dad, and the group to innovate, adapt, and explore.
Lifelong studying has develop into a multibillion-dollar enterprise, with greater than 60 million adults at present engaged in webinars, webcasts, in-house education, carrying on with schooling sessions, and extra. however it can be an in flux, as beginners topple old-guard firms that cannot preserve velocity with the necessity for immediate entry to fabrics and versatile supply equipment, in addition to calls for for neighborhood and connection.
Today's worldwide wisdom financial system calls for contributors and firms alike to quick adapt to new instruments and techniques. to stay aggressive, either needs to regularly improve their talents. within the usa, besides the fact that, aid for ongoing schooling lags a long way in the back of different constructed countries, making a crippling abilities hole.
This multidisciplinary quantity deals insights on oral and written language improvement and the way it occurs in literate societies. the amount covers issues from early to past due language improvement, its interplay with literacy practices, together with a number of languages, monolingual and multilingual contexts, assorted scripts, in addition to commonplace and extraordinary improvement.


Need a new MacBook Pro Battery? MacBook Air not charging?
While older Apple MacBooks and Powerbooks had easily removable batteries, recent models have specialized batteries that require opening the MacBook to replace. Replacing a MacBook battery should not be done at home (or in an unqualified shop) since the logic board is exposed and can be damaged or destroyed by careless actions or static electricity.
Also, most aftermarket batteries are not as high quality as your original MacBook battery and may have lower charge capacities, may not be tested properly, produce voltage spikes and could permanently damage your MacBook.
MacBook battery replacement should only be performed by technicians trained in Apple battery repairs.


Roselle Police Chief Richard Eddington on Friday was named head of the Mt. Prospect Police Department.
Eddington, 48, will take the department's helm July 2 at a starting salary of $97,500. Village Manager Michael Janonis, in a statement released Friday, said Eddington was selected from among 40 candidates in a nationwide search. With a staff of 102, Eddington takes the reins of a police department about twice the size of Roselle's.
He also inherits a department that has been plagued in recent years by allegations of racial profiling and has been forced to pay sizable settlements in lawsuits alleging discriminatory practices on the job.
Eddington said he would take time to assess the practices of the department but was "very confident, based on their accreditation and reputation in the area, that there won't be any significant issues that need to be immediately addressed."
He characterized racial profiling as the predominant issue in American law enforcement, "something law enforcement executives are spending significant amounts of time dealing with and addressing."
Eddington said the Mt. Prospect Police Department would continue to turn over extensive data on all traffic stops to the U.S. Department of Justice for review, a voluntary practice initiated after allegations of racial profiling surfaced.
Eddington is a 27-year veteran of the Roselle Police Department, including nine as chief. He holds a master's degree in law enforcement administration from Western Illinois University and is a graduate of the FBI National Academy.
Eddington will replace Ron Pavlock, who retired in January after 19 years as the village's police chief. Thomas Daley, who has filled in as acting chief since Pavlock's retirement, is also planning to retire.


January 16, 2018 | Upper Peninsula of Michigan Radio - Yooper News, Interviews, Pictures, and Calendar of Events - Great Lakes Radio, Inc.
Norway – The annual Wild Game Dinner will be held on Friday, January 19 beginning 5 p.m. at Grace United Methodist Church in Norway.
The event features wildlife mounts of animals and fish, many taken by sportsmen in our local area. In addition, Trophies of Grace from Wisconsin will be displaying twenty five of the largest North American whitetail mounts.
The wild game dinner will be served buffet style and also includes hors d'oeuvres, salad bar, drinks and desserts. The featured speaker will be Adam (AJ) Dudek from the Appleton Alliance Church in Appleton, Wisconsin. Dudek is a professional guide for First Adventure Flyfishing in Colorado and Wisconsin and has experience in back country trips and hunting as well.
Doors will open at 5 p.m. to view wildlife displays and to share stories with other sportsmen and followed by dinner at 6 p.m.
Ticket prices are $10. Kids under 5 are can eat for free. Tickets may be reserved by calling the church office at 563-8917. If you get the answering machine, please leave your name, phone number, and the number of tickets you need. You may pick up and pay for the tickets on the night of the Wild Game Dinner.
Negaunee – The Upper Peninsula Luge Club will host the 2018 Heikki Lunta Festival on Friday, January 19 and Saturday, January 20 in downtown Negaunee. Friday evening will begin the festival at 7 p.m. with a winter parade down Iron Street, followed by an opening ceremony at Breitung Park and live music at local establishments.
Saturday will be filled with a full schedule of events, starting at 8 a.m. to include something for everyone: Pannu Kakku breakfast, bake sale, display from the Finnish-American Heritage Center, guest speakers, an old school snowmobile show, ski jumping at Suicide Hill and luging open to public at Lucy Hill. A full line-up of Yooper Feats of Strength are also slated: Yooper Scoop Scramble, Trenary Toast Eating Contest, Ice Turkey Bowling, Big and Little Yooper Obstacle course races and new this year, Crapper Dash, Chook Chuck and Yooper-sized Foosball.
The festival will wrap up Saturday evening with a bonfire, fireworks over Old Town and live music all up and down Iron Street! For a complete list of activities and times, go to the Upper Peninsula Luge Club Facebook page.
Marquette – Tech Help Drop-in will be offered on Friday, January 19 from 4 to 5:30 p.m. in the Business Room of the Peter White Public Library.
NMU's Student Cybersecurity Association will be available to assist with laptops, tablets, e-readers, phone, email, software and other digital troubleshooting. No appointments are necessary and there is no charge.
Marquette – LEGO Club will meet on Friday, January 19 from 4:30 to 5:30 p.m. in the Youth Atrium of the Peter White Public Library.
Marquette – A celebration of life and commemoration of the 150th anniversary of the death of Bishop Fredric Baraga will be held on Friday, January 19 and Saturday, January 20 at St. Peter Cathedral in Marquette.
The celebration will begin on Friday with a Solemn Mass for the Dead at 5:30 p.m. Following the mass there will be a meal, and then a world premiere of an installment of "They Might Be Saints: Bishop Frederic Baraga" from EWTN featuring the life of Bishop Frederic Baraga. Michael O'Neill, "The Miracle Hunter," will give a presentation following the documentary.
Marquette – Preschool Storytime will be offered on Friday, January 19 from 1 to 2 p.m. in the Youth Atrium of the Peter White Public Library.
Join the fun for books, songs, crafts and more for preschool aged children. The event is free.
Ishpeming – UPAWS "Raise the Woof" Comedy Show Fundraiser will be held on Friday, January 20 from 6:30 to 10 p.m. at the River Rock Lanes and Banquet Center in Ishpeming.
Sit, stay, and laugh at the Raise the Woof Comedy Show Fundraiser to benefit the Upper Peninsula Animal Welfare Shelter. The event begins with a Taco/Nacho Bar Dinner from 6:30 to 8:30 p.m. The show begins at 8 p.m. with three outstanding comedians. There will be a candy bar for dessert.
Tickets are $20 in advance or $25 at the door for general admission. Tickets are on sale at www.eventbrite.com and also at UPAWS, 84 Snowfield Road in Negaunee Township.
For more information, go to www.upaws.org.
Crystal Falls – A Winter Family Camp will be offered Friday, January 19 through Sunday, January 21 at Lake Ellen Camp, 212 Narrow Way in Crystal Falls.
Take the opportunity to get out of your house this winter and connect as a family. play games inside, or outside. Spend special times together and meet other families. To register, or for more info call 906-542-3529 or visit lakeellencamp.com.


text:
Q: Google Map doesn't work on OpenShift I'm using Google Map API to on my website. When I run my web on local host, Google Map work well but when I deploy my web on OpenShift, Google Map doesn't work? I use java web with Tomcat
My index

    <meta http-equiv="content-type" content="text/html" />
    <meta name="author" content="lolkittens" />
    <meta charset="utf-8" />

    <title>Untitled 2</title>

My js file:
function initialize()
{
    var myCenter=new google.maps.LatLng(10.771400, 106.685844);
    var mapProp =
    {
        center:myCenter,
        zoom:17,
        mapTypeId:google.maps.MapTypeId.ROADMAP
    };
    var map=new google.maps.Map(document.getElementById("googleMap"),mapProp);
    var marker=new google.maps.Marker(
    {
      position:myCenter,
      animation:google.maps.Animation.BOUNCE
    });

    marker.setMap(map);
    var infowindow = new google.maps.InfoWindow(
    {
      content:"NHP Shop
 274/9 Võ Văn Tần P5, Q3"
    });
    //add sự kiện onclick vào google map marker
    /*google.maps.event.addListener(marker, 'click', function()
    {
      infowindow.open(map,marker);
    });*/
    infowindow.open(map,marker);
}
google.maps.event.addDomListener(window, 'load', initialize);

So please tell me what wrong with my code? Thanks so much


text:
Myanmar Violence Against Rohingyas is Ethnic Cleansing
Rohingya refugees in Cox Bazar, Bangladesh © Hafiz Johari
By Vishal Manve & Meenakshi Ganguly
In this guest edition of The Interview, Vishal Manve talks to Meenakshi Ganguly, the South Asia director of Human Rights Watch.
Rohingya Muslims, the "world's most persecuted minority," are fleeing from Rakhine State in Myanmar following a military crackdown and attacks by Buddhist nationalists. According to latest reports, approximately 370,000 Rohingyas have escaped since the violence began on August 25, with international media reporting on rising casualties, houses and villages being set on fire, and incessant usage of bullets.
Amid mounting pressure, Nobel laureate and Myanmar's de facto leader, Aung San Suu Kyi, has previously termed "genocide" too strong a term. She has also refused to accept the plight of the Rohingya community and has canceled her trip to the United Nations General Assembly this month. Suu Kyi's fellow Nobel contemporaries, including Pakistani activist Malala Yousafzai, South African rights activist Desmond Tutu and Tibetan spiritual leader the Dalai Lama, have criticized her silence. They have asked her to intervene, but regional nations such as India and China have also refused to speak out.
India's junior home minister, Kiren Rijiju, recently announced the government was planning to deport 40,000 Rohingyas from the country due to security concerns. This led to public anger as international rights groups condemned the move, which could push Rohingyas back into nefarious conditions that threaten their lives. While the government later said it would review its decision, Rijiju again made a public statement, saying that India was committed to sending back Rohingya Muslims after the situation in Myanmar returns to normalcy.
In this guest edition of The Interview, Vishal Manve talks to Meenakshi Ganguly, the South Asia director of Human Rights Watch (HRW). They discuss the humanitarian crisis faced by Rohingyas fleeing persecution and India's stand on it.
Vishal Manve: Rohingyas are facing persecution and fleeing to neighboring countries like Bangladesh and India. But upon arrival to India, they are again facing the risk of deportation. Should the Indian government reconsider its plea on humanitarian grounds?
Meenakshi Ganguly: The Rohingyas have long been a persecuted community in Myanmar. Since they are of a minority ethnicity and faith, the Burmese do not consider them citizens and would like, by fair means or foul (these days only the latter), to push them out. They seem to be succeeding. More than 370,000 Rohingya people have arrived in Bangladesh since this most security crackdown following a militant attack on August 25. That is, in the space of a few weeks, the Burmese have successfully pushed out a third of the Rohingya population. This has all the hallmarks of an ethnic cleansing.
Bangladesh already hosts over 3 to 5 lakh [300,000 to 500,000] Rohingya from previous Burmese military crackdowns, or because the Rohingya chose to leave for a more secure life. Some of them, only 40,000 of the hundreds of thousands that have fled, ended up in India.
It is unfortunate that the Indian authorities did not take the time to understand the Rohingya history of desperation before announcing their deportation. It appears now that more informed decision-makers are taking the lead.
India should protect its citizens from all security threats, but it is irresponsible to suggest that all Rohingya refugees are such a risk. As with any community, anyone that breaks the law should be prosecuted.
Manve: What message do you and HRW have for the Indian government?
Ganguly: We welcome the decision of the Indian authorities to hold back on any plans to deport the Rohingya. It is important also for the political leadership to not suggest that the 40,000 Rohingya in India are all a security risk. It places Indian authorities at risk of being accused of religious profiling since the Rohingya are Muslims. It also places the Rohingya Muslims at risk of vigilante violence, considering the spate of mob attacks and killings by groups that claim to be supporters or affiliates of the ruling BJP [Bharatiya Janata Party].
It is true that these recent crackdowns in Myanmar were sparked by a militant attack on August 25. We don't have much detail yet because the Burmese authorities have not allowed any independent investigations in Rakhine State. However, a community that has been left effectively stateless and victim to numerous abuses does try and seek refuge elsewhere. And for some, it becomes a recruiting ground for militancy.
Apart from its moral obligations to call upon the Burmese leadership and particularly the military to end these egregious abuses, it is also in India's interest to do so since it is concerned both about an in-flow of refugees and possible security implications.
Manve: India has previously accepted Tibetans, Afghans and Sri Lankan's escaping persecution in their home country, but suddenly there was a policy shift in 2016 that has since led to the current government discriminating against Muslim refugees. What's your take?
Ganguly: Yes, India has a long history of providing sanctuary to refugee communities. While the ruling BJP government repeatedly insists that it wants to pursue an equitable development policy, India is facing international criticism for attacks on Muslims and other minority communities by groups affiliated to the BJP or RSS [Rashtriya Swayamsevak Sangh]. The government insists it condemns these attacks, but any policy, including by the US administration, that suggests a particularly discriminatory approach towards Muslim refugees is unfortunate and an irresponsible populist response to a greater problem.
There have been terror attacks by Islamic extremists. But a blanket denial of sanctuary to anyone of the Muslim faith violates international principles of protecting human rights.
Manve: Can the Rohingya crisis be officially termed as "genocide" perpetrated by Myanmar's government?
Ganguly: Yes, the UN high commissioner for human rights has described this as ethnic cleansing.
Manve: How can the world help Rohingya Muslims — global leaders, countries or organizations? How can they respond to the crisis?
Ganguly: There is an immediate need for a humanitarian response to assist the refugees in Bangladesh and the hundreds of thousands, including Rakhine Buddhists and other communities, [who] are displaced in Rakhine State. The Burmese authorities insist that all the violence and arson is perpetrated by the Rohingya themselves or by militants. They offer no evidence but refuse to accept credible accounts that offer a contrary view. If the Burmese military is so sure that its hands are clean, why resist an international investigation? The international community, the UN, and other organizations should press for immediate access to humanitarian aid workers and to international investigators, including a UN fact-finding team that has been denied entry by Myanmar.
Manve: Press freedom and the adherence to global commitments, including helping refugees fleeing war, are some of the hallmarks of democratic nations with strong institutions. How can civil society in India counter the current narrative of hate and vitriol to protect rights, values and the ethos enshrined in the constitution?
Ganguly: This is a challenge to civil liberties around the world. People fearing terror attacks, or a loss of livelihood, believe that compromising on human rights will solve the problem. That is just populist rhetoric to win votes. There needs to be much more work to end the hate and suspicion that has brought the world to devastating violence in the past
Manve: Shifting from the Rohingya Muslims, recently a journalist, Gauri Lankesh, was murdered by gunmen in Bangalore. Do you think the government is not doing enough to curb Twitter trolling and threats to abusers who target journalists?
Ganguly: Instead of curbs on trolling, though unfortunate and ugly, the [Indian] government should examine the real threats and incitement to violence. It should take all steps to ensure that those that killed or conspired to kill Gauri Lankesh are brought to justice.
And India, which has long celebrated its democracy, should acknowledge that it is slipping up on protecting free speech. Criticism is no doubt unpleasant, but for a state that is committed to upholding constitutional rights, engaging with civil society always offers options for course-correction. Instead, we now see an effort to end dissent both by misusing sedition, criminal defamation, and other laws and by threats from interest groups.
Manve: The prime minister of a country who follows those promoting violence against free voices: How does this reflect on India?
Ganguly: The prime minister [Narendra Modi] has an enormous following not just on social media. His popularity ratings are high. He should use this to promote harmony [and] protect constitutional freedoms.
The views expressed in this article are the author's own and do not necessarily reflect Fair Observer's editorial policy.
Photo Credit: Hafiz Johari / Shutterstock.com
CategoriesAsia Pacific, Central & South Asia, Global Change, Global inequality news, India News, Inequality news, The Interview, World News TagsAsia news, Asian news, Aung San Suu Kyi news, Latest news, News analysis, news headlines, news today, South Asian news, world news
Fair Observer Recommends
Liberalizing India's Economy Is Critical for Global Stability
Surya Kanegaonkar • September 07, 2021
Does the World Need to Contain China?
From Virus to Vitamin • June 11, 2021
Thailand's Deep South
Ishaan Kapoor • March 29, 2021
Previous PostPrevious The Status of Refugees in India
Next PostNext Hurricane Donald Hits the Republican Party


I'll admit it; I love clothes shopping. Despite having a closet and a dresser overflowing with clothing, whenever I pass by a shop I am usually compelled to go in a browse around. While the status of my checking account is the largest influencer on whether or not I can indulge in a fashion purchase, I have become more aware of the bigger picture. The "fast-fashion" industry has a detrimental effect on our global environment, perpetuates social inequality, and continues to treat garment workers unfairly through inhumane working conditions and low wages (despite major fashion houses grossing record profits each year!).
The Netflix documentary, The True Cost, examines the various elements of the fashion industry and provides an in-depth, first-hand approach into he effects of corporate greed. Understandably, as the cost of living continues to increase and wages remain stagnant, consumers are always on the hunt for the next deal. There should be, however, more important factors to consider prior to making a purchase other than the price. The sourcing of raw materials which go into each garment has significant impacts on our planet. Toxic chemicals are used while growing cotton. Chemicals used in leather tanneries are carelessly drained into nearby rivers and streams, completely destroying the ecology and poisoning animals and people. A chemistry experiment of sorts is being conducted on the fabrics which drape our bodies. Many are coming forward with claims that toxic substances within their clothing have led to a disease diagnosis.
Millions of people in developing nations are being exploited in unsafe warehouses and sweatshops. These days, it seems that each week a story comes out of Bangladesh or India telling of building collapses, factory fires, and other horrific tales of garment worker plight. The true cost of fashion is beyond the number on the garment tag. Behind every article of clothing is a person who worked long hours in usually unfavorable conditions with little pay. Every human deserves opportunities to earn a decent living and live a life of fulfillment and dignity.
Become a conscious shopper and only buy clothes when you really need to. This will not only limit time spent aimlessly strolling through shops but will limit frivolous spending.
Purchase items from reputable sustainable and eco-friendly brands. This list provides a quick guide for 35 Fair Trade & Ethical Clothing Brands.
Support your local thrift shops and give a new life to second-hand apparel. This website will let you know which thrift shops are near you!
Stay abreast with the latest news and policies which deal with the fashion industry. Check out the Clean Clothes Campaign on ways you can contribute and make the world a better place for the world's 40 million garment workers.
What are your thoughts on the "fast-fashion" industry? Do you believe clothing manufacturers will ever be compelled to forgo their harmful practices?
As an avid documentary viewer, I have yet to come across a more profound, insightful, and thought-provoking film. This brilliantly made documentary exposes how pervasive, systematic greed and corruption have led our global economy and overall society down a slippery slope of unparalleled disparity, inequality, and environmental destruction.
Please take the time to watch this film and see for yourself.
I cannot contain my enthusiasm for this Netflix series! Each episode showcases spectacular architectural marvels throughout the world from buildings and bridges to other manmade constructions! One does not have to be an engineering-enthusiast or architecture student to appreciate this show. Each manmade wonder presented highlights the history of its design and construction, along with impressive facts and figures pertaining to the structure's design. Ancient and modern-era designs are discussed.
For me, this show is a reminder of the astonishing feats humans can accomplish once everyone works together for a common goal. These impressive architectural feats correspond to incredible human connection and genuine interests in making the world a better place.
Have you seen Netflix's Architecture Top 10 yet? Are there any similar shows that you can't stop thinking/raving about?


text:
La política lingüística és el conjunt de les polítiques dutes a terme per un Estat o una organització internacional en relació amb un o més idiomes que es parlen als territoris sota la seva sobirania, dictant lleis i estatuts en general per donar suport al seu ús, de vegades per limitar-ne l'expansió, o fins i tot per treballar en la seva erradicació. L'ús de les senyalització bilingüe és probablement l'instrument simbòlic més important de la percepció i la institucionalització de la realitat bilingüe d'un territori.

Una política lingüística pot evolucionar el cos d'un idioma mitjançant l'adopció d'un sistema d'escriptura, establir el vocabulari a través del desenvolupament de lèxics o diccionaris i determinar les regles de gramàtica i ortografia mitjançant el foment de la creació de terminologia pròpia per a limitar la influència de les llengües estrangeres en els manlleus lingüístics. També pot modificar el nom d'una llengua en funció del territori en el que es parla per tal de distingir-lo d'un altre (Moldàvia, Montenegro) o bé per diferents referències històriques i culturals (hindi/urdu, Malàisia/Indonèsia, Croàcia/Sèrbia.

Encara que en diferents nacions la història evidencia l'aplicació de polítiques lingüístiques encaminades a fomentar un idioma oficial a costa d'uns altres, en l'actualitat molts països mantenen polítiques encaminades a la protecció i promoció de llengües minoritàries i minoritzades, per entendre que la supervivència d'aquests idiomes es trobaria amenaçada.

La conservació de la diversitat cultural i lingüística al món contemporani suscita una gran preocupació entre nombrosos científics, artistes, escriptors, polítics, capdavanters de comunitats lingüístiques i defensors dels drets humans en matèria lingüística. S'estima que es troben en perill de desaparèixer en el  fins a la meitat de les 6000 llengües que es parlen actualment al planeta. L'existència i l'ús d'un idioma humà dau es veuen afectats per diversos factors, incloent la grandària de la població de parlants natius, el seu ús en la comunicació formal així com la dispersió geogràfica i el pes socioeconòmic dels seus parlants. Les polítiques lingüístiques d'àmbit nacional poden mitigar o bé exacerbar els efectes d'alguns d'aquests factors.

Tipus de polítiques lingüístiques
A continuació, una de les nombroses classificacions que es poden usar per categoritzar les polítiques lingüístiques. Va ser elaborada per Jacques Leclerc, sociolingüista de la Universitat Laval per al lloc web francòfon del CIRIAL titulat L'aménagement linguistique dans le monde creat el 1999. La recopilació, traducció i classificació de polítiques lingüístiques va començar en 1988 i va culminar amb la publicació en 1994 de Recueil des législations linguistiques dans le monde (*vols. I a VI) a la casa editora de la Universitat de Laval. L'obra, que recollia unes 470 lleis lingüístiques, així com tota la investigació que la va fer possible van ser finançades per l'Office québécois de la langue française. L'abril de 2008 el website retratava la situació i mostrava les polítiques lingüístiques a 354 estats o territoris autònoms de 194 països reconeguts.

Polítiques d'assimilació
Una política d'assimilació és aquella que aplica fortes mesures orientades a accelerar el decreixement d'una o més minories lingüístiques. L'objectiu últim d'aquestes polítiques és promoure la unitat nacional dins d'un estat (assumint la idea que l'existència d'una sola llengua al país afavoriria aquest fi). Les mesures adoptades per estats que oficialitzen aquestes polítiques poden, per exemple, prohibir l'ús social d'una determinada llengua, l'exclusió i devaluació social d'una comunitat lingüística i, en casos extrems, la repressió per la força i fins i tot el genocidi.

Cal fer una distinció entre aquestes polítiques i qualsevol altra política que afavoreixi o condueixi a l'assimilació de membres de grups minoritaris resultants de la falta d'intervenció o mesures de protecció. En la pràctica tots els estats adopten, implícitament, polítiques tendents a l'assimilació que estan dirigides a immigrants i sovint també a pobles aborígens i altres minories nacionals.

Estats que apliquen aquesta política:

Birmània, Indonèsia, Iran, Iraq, Rússia, Tailàndia, Vietnam, França, Eslovàquia

Polítiques de no-intervenció
Una política de no-intervenció consisteix a permetre la interacció normal entre comunitats lingüístiques i que l'evolució de les minories segueixi el seu curs. Gairebé invariablement això afavoreix al grup dominant. Sovint aquestes polítiques són acompanyades per mesures administratives que protegeixen certes minories.

Estats que apliquen aquesta política:

Angola, Argentina, Austràlia, Àustria, Bangladesh, Benín, Burkina Faso, Xile, República Democràtica del Congo, Costa d'Ivori, Cuba, República Txeca, Dominica, República Dominicana, Equador, Gabon, Ghana, Alemanya, Gibraltar, Guinea, Guyana, Iran- Jamaica, Japó, Liechtenstein, Mali, Nebraska, Nicaragua, Saint Kitts i Nevis, Saint Lucia, Saint Vincent i les Grenadines, El Salvador, San Marino, Aràbia Saudita, Senegal, Regne Unit, Uruguai, Veneçuela, Vermont

Polítiques d'estatut legal diferenciat
Una política que reconegui lestatut legal diferent d'una llengua en concret normalment busca permetre la coexistència dins d'un estat de múltiples comunitats lingüístiques. En general s'asseguren i de vegades promouen els drets lingüístics de la majoria alhora que es dona protecció especial a la llengua de la minoria o minories.

Estats que apliquen aquesta política:

Albània, Bòsnia i Hercegovina, Bulgària, Califòrnia, Xina, Croàcia, Estònia, Consell Europeu, Macedònia del Nord, Guatemala, Letònia, Lituània, Manitoba, Ontario, Països Baixos, Nou Mèxic, Paraguai, Quebec, Portugal, Romania, Eslovàquia, Espanya, Suècia, Gal·les, Yukon

Polítiques de promoció de l'idioma oficial
Una política que afavoreix l'idioma oficial és una política de monolingüisme. Sovint pot afavorir una llengua nacional, altres vegades afavoreix una llengua colonial de gran influència internacional. Es donen casos en què aquestes polítiques poden anar acompanyades de mesures que reconeixen i protegeixen llengües minoritàries o llengües indígenes. Aquest tipus de política pot tenir lloc en dos escenaris molt diferents: on l'idioma oficial sigui també la llengua materna de la majoria de la població, i on no ho sigui.

Estats que apliquen aquesta política són: Les illes Aland, Albània, Algèria, Andorra, l'Azerbaidjan, Brasil, Califòrnia, Cambodja, Colòmbia, Corea del Sud, Corea del Nord, Croàcia, Timor-Leste, Egipte, Eslovènia, Estònia, Filipines, Índia, Iran, Islàndia, Israel, Itàlia, Japó, Kuwait, Letònia, Líban, Lituània, Macedònia del Nord, Madagascar, Marroc, Mèxic, República de Moldàvia, Montenegro, Nepal, Perú, Polònia, Quebec, Saint-Pierre i Miquelon, Somàlia, Sri Lanka, Tunísia, Ucraïna, Uzbekistan, Vietnam Voivodina i Xipre,

Polítiques sectorials
Es diu que una política lingüística és sectorial quan concerneix només a un subconjunt dels sectors possibles considerats en conjunt per les polítiques lingüístiques d'abast general. Exemples de polítiques sectorials corrents són aquells que només tracten amb assumptes en matèria educativa, o amb la planificació de corpus, o amb l'estatus d'una llengua en l'administració pública o en el sistema judicial, etc.

Polítiques de bilingüisme o trilingüisme
Una política que afavoreix dos idiomes oficials és una política de bilingüisme. Hi ha diverses formes en què es poden aplicar aquestes polítiques.

Basades en drets individuals no territorialitzats
Una política de bilingüisme basat en drets individuals no territorialitzats reconeix els mateixos drets a tots els membres d'una comunitat lingüística en qualsevol punt que es trobin del territori nacional.

Bielorússia, Burundi, Canadà, República Centreafricana, Txad, Djibouti, Guam, Hong Kong, República d'Irlanda, Kenya, Kiribati, Malta, Nauru, Nova Brunsvic, Nova Zelanda, Territoris del Nord-oest, Noruega, Nunavut, Ruanda, Samoa, Sud-àfrica, Tanzània, Tonga, Tuvalu

Basades en drets individuals territorialitzats
Una política lingüística basada en drets individuals territorialitzats reconeix els mateixos drets a tots els membres d'una comunitat lingüística dins d'una regió específica.

Vall d'Aosta, Illes Balears, País Basc, Brandenburg, Bretanya, Catalunya, Illes Anglonormandes, Còrsega, Illes Fèroe, Finlàndia, Friül-Venècia Júlia, Galícia, Hawaii, Illa de Man, Micronèsia, Navarra, Irlanda del Nord, Nicaragua, Filipines, Sardenya, Escòcia, Sicília, Sind, Eslovènia (Comtat d'Ístria i Prekmurje), Suècia, Trentino-Tirol del Sud, Comunitat Valenciana, Gal·les.

Basades en drets territorials
Bèlgica, Camerun, Friburg, Grisons, Suïssa, Ticino, Valais, Illes Åland

Polítiques d'internacionalització lingüística
Una política d'internacionalització lingüística és aquella en la qual l'Estat exerceix supremacia sobre el codi lingüístic en ús més enllà de les seves fronteres.

Alemanya, Estats Units, França, Portugal

Polítiques estratègiques de multilingüisme
Sud-àfrica, Antilles Neerlandeses, Aruba, Austràlia - Federal Bèlgica, Belize, Comores, Etiòpia, Fiji, Gagaúsia, Hongria, Índia, Líban, Luxemburg, Malàisia, Maurici, Mauritània, Moldàvia, Namíbia, Níger, Nigèria, Pakistan, Papua Nova Guinea, Filipines, Seychelles, Singapur, Eslovènia, Sudan, Surinam, Ciutat del Vaticà, Vojvodina, Zimbabwe

Polítiques lingüístiques mixtes
Aquestes són possibles quan una Estat aplica diferents tipus de polítiques al mateix temps.
 No intervenció (idioma oficial) i polítiques sectorials per a les minories Àustria, República Txeca, Alemanya, Panamà, Tadjikistan, Estats Units

 No intervenció (idioma oficial) i polítiques d'assimilació per a les minories  Irlanda del Nord, Botswana

 Promoció de l'idioma oficial i estatus legal diferenciat per a minories  Albània, Califòrnia, Xile, Croàcia, Estònia, Kirguizistan, Letònia, Lituània, Guatemala, Macedònia del Nord, Montenegro, Romania, Eslovàquia, Quebec

 Promoció de l'idioma oficial i polítiques sectorials per a les minories  Armènia, Austràlia, Xipre, Costa Rica, Grècia, Polinèsia Francesa, Sèrbia, Tadjikistan, Togo, Zàmbia

 Promoció de l'idioma oficial i no-intervenció per a altres llengües  Lesotho, Sao Tomé i Principe, Oman, Swazilàndia, Iemen

 Promoció de l'idioma oficial, política d'assimilació i bilingüisme territorial per a les minories Bòsnia, Hong Kong, Kosovo, Pakistan, Turkmenistan, Transnístria, Vietnam - (Sèrbia)

Referències

Vegeu també
 Polítiques lingüístiques per a la immigració
 Organismes de regulació lingüística
 Institut d'Estudis Catalans
 Bòrd na Gàidhlig
 Unió de la Llengua Neerlandesa
 Foras na Gaeilge
 Oficina quebequesa de la llengua francesa
 Carta Europea de les Llengües Regionals o Minoritàries
 Any Internacional dels Idiomes
 Planificació lingüística

Bibliografia
 Shohamy, Elana (2006). Language Policy: Hidden Agendas and New Approaches. London: Routledge.
 Crawford, James. Language Policy Website.
 Bastardas-Boada, Albert (2002). "Biological and Linguistic Diversity: Transdisciplinary explorations for a Socioecology of Languages", Diverscité langues (Montréal).
 Bastardas-Boada, Albert (2002). "Política lingüística mundial a l'era de la globalització: diversitat i intercomunicació des de la perspectiva de la 'complexitat'", Noves SL. Revista de sociolingüística (Barcelona).
 Bastardas-Boada, Albert (2002). "World language policy in the era of globalization: Diversity and intercommunication from the 'complexity' perspective" , Noves SL. Revista de sociolingüística (Barcelona).
 Bastardas-Boada, Albert (2005). Cap a una sostenibilitat lingüística. Barcelona: Angle editorial. ISBN 978-84-96103-94-8.
 Bastardas-Boada, Albert (2007). "Linguistic sustainability for a multilingual humanity"  Glossa. An Interdisciplinary Journal, Vol. 2 N. 2.
 Kenan Malik "Let them die". Prospect, 2000.
 Plonka Arkadiusz, L'idée de langue libanaise d'après Sa'īd 'Aql, Paris, Geuthner, 2004 (francés), .
 Plonka Arkadiusz, "Le nationalisme linguistique au Liban autour de Sa'īd 'Aql et l'idée de langue libanaise dans la revue «Lebnaan» en nouvel alphabet", Arabica, 53 (4), 2006, pp. 423-471.

Sociolingüística


text:
package example;
//-*- mode:java; encoding:utf-8 -*-
// vim:set fileencoding=utf-8:
//@homepage@
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.util.*;
import java.util.List;
import java.util.concurrent.ExecutionException;
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.text.*;

public final class MainPanel extends JPanel {
    private static final String FILE_NAME = "example.txt";
    private final JSpinner spinner1 = new JSpinner(new SpinnerNumberModel(0, 0, 6, 1));
    private final JSpinner spinner2 = new JSpinner(new SpinnerNumberModel(2, 0, 6, 1));
    private final JLabel label      = new JLabel("2", SwingConstants.RIGHT);
    private final JTextPane jtp     = new JTextPane();
    private final JButton ok        = new JButton(new AbstractAction("Create new " + FILE_NAME) {
        @Override public void actionPerformed(ActionEvent e) {
            File file = new File(System.getProperty("java.io.tmpdir"), FILE_NAME);
            int i1 = ((Integer) spinner1.getValue()).intValue();
            int i2 = ((Integer) spinner2.getValue()).intValue();
            (new Task(file, i1, i2) {
                @Override protected void process(List<Message> chunks) {
                    if (isCancelled()) {
                        return;
                    }
                    if (!isDisplayable()) {
                        cancel(true);
                        return;
                    }
                    for (Message m: chunks) {
                        append(m);
                    }
                }
                @Override public void done() {
                    try {
                        File nf = get();
                        if (Objects.isNull(nf)) {
                            append(new Message("バックアップファイルの生成に失敗しました。", MessageType.ERROR));
                        } else if (nf.createNewFile()) {
                            append(new Message(nf.getName() + "を生成しました。", MessageType.REGULAR));
                        } else {
                            append(new Message(nf.getName() + "の生成に失敗しました。", MessageType.ERROR));
                        }
                    } catch (InterruptedException | ExecutionException | IOException ex) {
                        append(new Message(ex.getMessage(), MessageType.ERROR));
                    }
                    append(new Message("----------------------------------", MessageType.REGULAR));
                }
            }).execute();
        }
    });

    public MainPanel() {
        super(new BorderLayout());
        jtp.setEditable(false);
        StyledDocument doc = jtp.getStyledDocument();
        Style def = StyleContext.getDefaultStyleContext().getStyle(StyleContext.DEFAULT_STYLE);
        Style regular = doc.addStyle(MessageType.REGULAR.toString(), def);
        //StyleConstants.setForeground(error, Color.BLACK);
        //Style error = doc.addStyle(ERROR, regular);
        StyleConstants.setForeground(doc.addStyle(MessageType.ERROR.toString(), regular), Color.RED);
        StyleConstants.setForeground(doc.addStyle(MessageType.BLUE.toString(),  regular), Color.BLUE);

        Box box = Box.createHorizontalBox();
        box.setBorder(BorderFactory.createEmptyBorder(5, 0, 0, 0));
        box.add(Box.createHorizontalGlue());
        box.add(ok);
        box.add(Box.createHorizontalStrut(5));
        box.add(new JButton(new AbstractAction("clear") {
            @Override public void actionPerformed(ActionEvent e) {
                jtp.setText("");
            }
        }));

        JSpinner.NumberEditor editor1 = new JSpinner.NumberEditor(spinner1, "0");
        editor1.getTextField().setEditable(false);
        spinner1.setEditor(editor1);

        JSpinner.NumberEditor editor2 = new JSpinner.NumberEditor(spinner2, "0");
        editor2.getTextField().setEditable(false);
        spinner2.setEditor(editor2);

        ChangeListener cl = new ChangeListener() {
            @Override public void stateChanged(ChangeEvent e) {
                int i1 = ((Integer) spinner1.getValue()).intValue();
                int i2 = ((Integer) spinner2.getValue()).intValue();
                label.setText(String.valueOf(i1 + i2));
            }
        };
        spinner1.addChangeListener(cl);
        spinner2.addChangeListener(cl);

        label.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 16));

        //Box nbox = Box.createHorizontalBox();
        JPanel nbox = new JPanel(new GridLayout(3, 2, 5, 5));
        nbox.add(new JLabel("削除しないバックアップの数:", SwingConstants.RIGHT));
        nbox.add(spinner1);
        nbox.add(new JLabel("順に削除するバックアップの数:", SwingConstants.RIGHT));
        nbox.add(spinner2);
        nbox.add(new JLabel("合計バックアップ数:", SwingConstants.RIGHT));
        nbox.add(label);

        JScrollPane scroll = new JScrollPane(jtp);
        scroll.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
        scroll.getVerticalScrollBar().setUnitIncrement(25);

        add(nbox, BorderLayout.NORTH);
        add(scroll);
        add(box, BorderLayout.SOUTH);
        setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
        setPreferredSize(new Dimension(320, 240));
    }
    private void append(Message m) {
        StyledDocument doc = jtp.getStyledDocument();
        try {
            doc.insertString(doc.getLength(), m.text + "\n", doc.getStyle(m.type.toString()));
        } catch (BadLocationException e) {
            e.printStackTrace();
        }
    }
    public static void main(String... args) {
        EventQueue.invokeLater(new Runnable() {
            @Override public void run() {
                createAndShowGUI();
            }
        });
    }
    public static void createAndShowGUI() {
        try {
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
        } catch (ClassNotFoundException | InstantiationException
               | IllegalAccessException | UnsupportedLookAndFeelException ex) {
            ex.printStackTrace();
        }
        JFrame frame = new JFrame("@title@");
        frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
        frame.getContentPane().add(new MainPanel());
        frame.pack();
        frame.setLocationRelativeTo(null);
        frame.setVisible(true);
    }
}

enum MessageType {
    REGULAR,
    ERROR,
    BLUE;
}

class Message {
    public final String text;
    public final MessageType type;
    public Message(String text, MessageType type) {
        this.text = text;
        this.type = type;
    }
}

class Task extends SwingWorker<File, Message> {
    private final File file;
    private final int intold;
    private final int intnew;
    public Task(File file, int intold, int intnew) {
        super();
        this.file = file;
        this.intold = intold;
        this.intnew = intnew;
    }
    @Override public File doInBackground() throws IOException {
        if (!file.exists()) {
            return file;
        }

        String newfilename = file.getAbsolutePath();

        if (intold == 0 && intnew == 0) { //= backup off
            if (file.delete()) {
                return new File(newfilename);
            } else {
                publish(new Message("古いバックアップファイル削除に失敗", MessageType.ERROR));
                return null;
            }
        }

        File tmpFile = renameAndBackup(file, newfilename);
        if (Objects.nonNull(tmpFile)) {
            return tmpFile;
        }

        if (renameAndShiftBackup(file)) {
            return new File(newfilename);
        } else {
            return null;
        }
    }
    private File renameAndBackup(File file, String newfilename) throws IOException {
        boolean simpleRename = false;
        File testFile = null;
        for (int i = 1; i <= intold; i++) {
            testFile = new File(file.getParentFile(), makeBackupFileName(file.getName(), i));
            if (!testFile.exists()) {
                simpleRename = true;
                break;
            }
        }
        if (!simpleRename) {
            for (int i = intold + 1; i <= intold + intnew; i++) {
                testFile = new File(file.getParentFile(), makeBackupFileName(file.getName(), i));
                if (!testFile.exists()) {
                    simpleRename = true;
                    break;
                }
            }
        }
        if (simpleRename) {
            if (file.renameTo(testFile)) {
                publish(new Message("古い同名ファイルをリネーム", MessageType.REGULAR));
                publish(new Message(String.format("    %s -> %s", file.getName(), testFile.getName()), MessageType.BLUE));
                return new File(newfilename);
            } else {
                publish(new Message("ファイルのリネームに失敗", MessageType.ERROR));
                throw new IOException();
            }
        }
        return null;
    }
    private boolean renameAndShiftBackup(File file) {
        File tmpFile3 = new File(file.getParentFile(), makeBackupFileName(file.getName(), intold + 1));
        publish(new Message("古いバックアップファイルを削除", MessageType.REGULAR));
        publish(new Message("    del:" + tmpFile3.getAbsolutePath(), MessageType.BLUE));
        if (!tmpFile3.delete()) {
            publish(new Message("古いバックアップファイル削除に失敗", MessageType.ERROR));
            return false;
        }
        for (int i = intold + 2; i <= intold + intnew; i++) {
            File tmpFile1 = new File(file.getParentFile(), makeBackupFileName(file.getName(), i));
            File tmpFile2 = new File(file.getParentFile(), makeBackupFileName(file.getName(), i - 1));
            if (!tmpFile1.renameTo(tmpFile2)) {
                publish(new Message("ファイルのリネームに失敗", MessageType.ERROR));
                return false;
            }
            publish(new Message("古いバックアップファイルの番号を更新", MessageType.REGULAR));
            publish(new Message("    " + tmpFile1.getName() + " -> " + tmpFile2.getName(), MessageType.BLUE));
        }
        File tmpFile = new File(file.getParentFile(), makeBackupFileName(file.getName(), intold + intnew));
        publish(new Message("古い同名ファイルをリネーム", MessageType.REGULAR));
        publish(new Message("    " + file.getName() + " -> " + tmpFile.getName(), MessageType.BLUE));
        if (!file.renameTo(tmpFile)) {
            publish(new Message("ファイルのリネームに失敗", MessageType.ERROR));
            return false;
        }
        return true;
    }
    private static String makeBackupFileName(String name, int num) {
        return String.format("%s.%d~", name, num);
    }
}

redpajama_set_name: RedPajamaGithub