KANA software a leading customer service solution provider recently acquired by Verint have done some recent representative polling of UK adults to check the frequency that we check our devices by age, gender and activity.
Unsurprisingly the younger you are, in general, the more frequent is your response apart from the 55-64 year olds who possibly haven't got time as they prepare for retirement!
In terms of what we are checking on various devices and their frequency the dreaded email heads the list although Twitter is up there near the top well ahead of facebook.
Scarily we apparently spend 14 days a year complaining or waiting to complain. KANA explain "The average UK adult spends a "fraughtnight" — or nearly two weeks — each year waiting for service, making complaints and using digital channels to direct their ire at companies that provide poor service.


text:
Q: Why isn't my jQuery function being executed when a value is greater than? I have a table with a row defined like this:

      @Model.Results.Seats

Edit: The table values are being updated by ajax calls to an action which is returning data to the table in a partial
I want to log to the console when the value is greater than 2, here is the jQuery code I have:
$('#to-watch')
    .change(function () {
        if ($('#to-watch').val() > 2) {
            console.log("************ WINNER ***************");
        }
    });

I have checked in Chrome debugging tools nothing is being logged to the console when the value is greater than 2 - I rarely use jQuery / JavaScript, and after some looking, haven't been able to find the answer..

Edit: I'm making the ajax call like this:
$(document).ready(function () {

    (function loop(i) {
        setTimeout(function () {
            callAjax(i);
            //console.log("works " + i);
        },
            500); // ms
        function callAjax(i) {
            $.ajax({
                url: '/Home/StartElection',
                type: 'POST',
                data: "test",
                async: true
            })
                .done(function (partialViewResult) {
                    $("#partialTable").html(partialViewResult);
                }).always(function () {
                    if (--i) loop(i);
                });
        };
    })(650);
});

A: There are a couple of problems here.

Firstly, the change event is for input fields. It will execute the callback whenever the value of the input field changes.
There is an equivalent for when any html changes, using Mutation Observers, but it's overly complex for this scenario, as you know when the html changes, and it is done via your code.

Secondly, you are attaching an event listener to #to-watch, which I assume is nested inside #partialTable. Now we already know the change event won't work anyway, but even if this was an input field, we would have the following problem:

*

*Attach listener to DOM element with #to-watch

*Make ajax call

*On return of ajax call, replace all of #partialTable with a new version of it.

*The old #to-watch element is now gone, and so is it's event listener. It can't be triggered anymore.

The solution to this is called event delegation. Meaning you attach the listener to a parent element that doesn't change, and it checks if any child elements matching the selector are changed. This means that id the child elements were changed dynamically, the listener will still work.

Then there are also the aforementioned:
$('...').text() will give you the contents of any DOM element, where as $('...').val() will give the value of an input field
JQUERY .text() docs
JQUERY .val() docs
You want to do a numerical comparison (X > Y), so you should convert the string "2" which is the text of $('#to-watch') into an integer with parseInt(x)

The solution to your problem
When you update the #partialTable, you know that the #to-watch element has received a new value, so now is the time to check it:
      function callAjax(i) {
        $.ajax({
            url: '/Home/StartElection',
            type: 'POST',
            data: "test",
            async: true
        }).done(function (partialViewResult) {
            $("#partialTable").html(partialViewResult);
            if (parseInt($('#to-watch').text()) > 2) {
              console.log("************ WINNER ***************");
            }
        }).always(function () {
            if (--i) loop(i);
        });
    };

A: Instead of val() can you please try text() in the JQuery function.

A: Please try text() .
text() - Sets or returns the text content of selected elements
html() - Sets or returns the content of selected elements (including HTML markup)
val() - Sets or returns the value of form fields

Please check the this link for DOM Insertion using Jquery

A: $(body).on('mycontentchange','#to-watch', function() {//make sure #to-watch is available in DOM while binding, or use `on` to delegate the event
    console.log('new content updated',$('#to-watch').text());
});

            .done(function (partialViewResult) {
                $("#partialTable").html(partialViewResult);
                $('#to-watch').trigger('mycontentchange');
            }).always(function () {
                if (--i) loop(i);
            });

This is just a direct answer to the question, you probably have better ways to solve the problem :) This is an overkill as @jeremy pointed out considering your continuous polling.

redpajama_set_name: RedPajamaStackExchange


text:
Int'l Emmy Awards unveils news, current affairs nominations
Israel's i24NEWS and Sweden's SVT are among the broadcasters with nominations in this year's International Emmy Awards' news and current affairs categories. The eight nominees, unveiled today (Aug.7), span six countries on ...
By Selina Chignall
Israel's i24NEWS and Sweden's SVT are among the broadcasters with nominations in this year's International Emmy Awards' news and current affairs categories.
The eight nominees, unveiled today (Aug.7), span six countries on three continents. The countries are Brazil, Israel, Malaysia, the Philippines, Sweden and the UK.
Winners will be announced at a ceremony on Oct. 5 at the Lincoln Center in New York where they will be recognized alongside their American news and documentary peers.
"In today's political climate, a free, fearless and independent media establishment is more essential than ever to the democratic process," said Bruce L. Paisner, president and CEO of the International Academy of Television Arts & Sciences. "We salute the 2017 nominees for raising much needed awareness of critical world issues and events with their outstanding broadcast journalism."
The full list of nominees, with descriptions provided by the International Academy of Television Arts & Sciences, follows below:
Inside Aleppo – Battle for Aleppo
Channel 4 News / ITN
(United Kingdom)
The battle for Aleppo was the most brutal in the five-year Syrian war. A C4 News journalist & filmmaker was inside the besieged city with unrivaled access to the horror, chaos, and civilian tragedy unfolding.
Jornal Nacional – The Ryan Lochte Scandal
Globo Comunicação e Participações S.A.
(Brazil)
A dream team of swimmers were robbed at gunpoint during the Olympics. The tale fit Rio's violent reputation and gained worldwide attention. Jornal Nacional's investigative journalists exposed the lie concocted by Ryan Lochte and discovered the real story. Lochte later confessed and apologized in an exclusive interview in Globo's New York studios.
Le Journal – Paris/Jaffa - Republican National Convention, Cleveland
(Israel)
Le Journal covers Donald Trump's investiture at the Republican National Convention in Cleveland with special correspondent David Benaym behind the scenes of the event.
TV Patrol – Super Typhoon Lawin's Trail of Damage
(Philippines)
TV Patrol: Typhoon Lawin's Trail of Destruction Super Typhoon Lawin (International Name: Haima) battered northern Philippines on October 20, 2016. It made landfall in Penablanca, Cagayan before midnight, and wreaked havoc in the provinces of Cagayan, Isabela, La Union, Ilocos Sur, and nearby areas.
101 East – Rodrigo Duterte: A President's Report Card
(Malaysia)
A ruthless crackdown on drugs, allegations of thousands of extrajudicial killings, a war of words with world leaders – Philippines' President Rodrigo Duterte is one of the most controversial leaders of our times. 101 East gets exclusive access to the man behind the headlines.
Exposure: Saudi Arabia Uncovered
Hardcash Productions / ITV / WGBH/Frontline
This film reveals the hidden reality inside one of the world's most secretive and strict Islamic regimes. Saudi Arabia is a key ally of the West, but with unprecedented access to an underground network of young activists, this film uncovers a society where opposition is beginning to take shape.
Globo Repórter – Art as Passport
In a country with so much inequality, the opportunity to learn art can transform lives. Young people in social projects in the favelas find new prospects for their families. Some have already started promising careers abroad, such as ballerina Ingrid Silva and trombonist Aline Alcantara.
Uppdrag granskning: Panamadokumenten
(Mission Investigate: The Panama Papers)
SVT / ICIJ / Syddeutsche Zeitung / Reykjavik Media / Yle / DR / NDR / RUV / Première Lignes France
The Panama Papers has become a milestone in the international fight against tax evasion and money-laundering. 400 journalists worked with the leak, including Sven Bergman and Joachim Dyfvermark. Their interview with the Icelandic Prime Minister about his offshore business was broadcast worldwide.
International Emmys
"Go Back," "5 Broken Cameras" win Int'l Emmys

redpajama_set_name: RedPajamaCommonCrawl


text:
TSA's Bomb-Detection Units Being Tested at New York City's Penn Station
by The Associated Press | February 28, 2018
NEW YORK (AP) - The Transportation Security Administration will begin testing new suicide vest-detection technology at New York City's Penn Station starting Tuesday, U.S. Sen. Chuck Schumer said. Schumer, a Democrat, pushed for the technology to be tested in New York City after a Bangladeshi immigrant injured himself setting off a crude pipe bomb strapped to his chest in December in a subway passageway near Times Square, a few blocks from Penn Station, the nation's busiest train station.
"When I made the push to bring this technology to New York City, it was because we need to put it on the fast-track and we need to perfect it, because if it works, this is where we want it: in New York City's busiest transit hubs," Schumer said Monday in a news release.
The TSA has been working on the experimental devices, known as standoff explosive detection units, since 2004 with transit agencies. The technology has also been used to secure large events like the 2014 Super Bowl and was tested by the Los Angeles Metropolitan Transportation Authority in December. It hasn't been deployed permanently at any transit hub because it's still under development.
The QinetiQ SPO-NX screening devices used in one of Los Angeles' busiest stations, the 7th Street Metro downtown, resemble white television cameras on tall tripods. The machines screen people at a distance without slowing them down. If a potential threat is detected, it will trigger an alarm on an operator's laptop. Unlike airport screening systems, the equipment projects scanning waves at people rather than having them walk through a scanner. The machines scan for metallic and non-metallic objects on a person's body.
There are several variations of the technology, Schumer said, and the TSA must help local transit agencies examine them to find the best options to thwart suicide vests and other concealed explosives as soon as possible.
Testing will evaluate the effectiveness at detecting bombs and the frequency of false alarms.


Frisuren fayl.info is the best collection of hairstyles 2015/2016 on the web. View more than Images, Foto Bilder on fayl[dot]info. Share them with your friends on Facebook, Twitter or upload your own!
This digital imagery published at February 1st, 2019 on the Frisuren Kurz category. Frisuren photo above is also labelled as frisuren fransig geschnittener bob vollem pony discussion. kurzhaarfrisuren fransig geschnitten discussion. frisuren fransig geschnitten discussion. kurzhaarfrisuren fransig geschnitten 2016 discussion.
Here is free compilation of famous motivational and inspirational quotes from famous people around the worldso make sure to read the whole post at Kurzhaarfrisuren Fransig Geschnitten Herren für Frauen Haarstrends 2019, or browse other pictures and Home by clicking on the thumbnails below.


Located in ☆ Networking - Meet and Greet started by anme.pw, Nov 9, 2018.
Hello @anme.pw .. and welcome to NamePros!
This is the meet and greet section .. so how about you tell us a bit more about yourself, where you're from, and what got you interested in domains?
Welcome @anme.pw - we're glad to have you.
Hey there, welcome to NamePros!
Hello, @anme.pw! Welcome to NP and happy domaining!


text:
Q: Array list object help (static error) import java.util.Scanner;
import java.util.ArrayList;
public class fester
{
    public static void main(String args[] )
    {

        ArrayList<BankAccount> ba = new ArrayList<BankAccount>();
        ba.add(new BankAccount("hi", 4));

    }

    class BankAccount
    {
        private String name;
        private double amount;
        public BankAccount(String name, Double amount)
        {
            this.name = name;
            this.amount = amount;
        }

        public String getName()
        {
            return this.name;
        }

        public double getAmount()
        {
            return this.amount;
        }
    }
}

I dont get problem. I tried to almost copy this
http://www.java2s.com/Code/Java/Collections-Data-Structure/Storeuserdefinedobjectsinarraylist.htm
and it works. I'm very lost, and I cant see the fundamental differences.

A: You constructed class BankAccount as nested inner class (which means that you need an object of the outer class in order to instantiate it).
Move it outside of fester and replace 4 with 4.0 it'll work:
class fester {
    public static void main(String args[]) {
        ArrayList<BankAccount> ba = new ArrayList<BankAccount>();
        ba.add(new BankAccount("hi", 4.0));
    }
}

class BankAccount {
    private String name;
    private double amount;
    public BankAccount(String name, Double amount) {
        this.name = name;
        this.amount = amount;
    }

    public String getName() {
        return this.name;
    }

    public double getAmount() {
        return this.amount;
    }
}

Comment: You should follow Java naming convention and rename fester to Fester (with a capital letter).


text:
What channel is mrn radio
What local radio station is the Nascar race on? . . . a uniquely American sport! WBF proudly presents our 36th consecutive season of broadcasting the Cup, xfinity and Truck Series, on FM 102.9, AM
How to be a good radio personality
How do you become a radio personality? To become a radio host, you can get an associate or bachelor's degree in communications, broadcasting, or journalism. If your college has an on-campus radio station, volunteer or
How much electricity does a radio use
How many watts does a radio use? Radios use between 1 watt per hour for a small AM/FM alarm clock radio to over 5 watts per hour for a larger digital radio. Compared to other
How to wire a radio in a boat
Can you put a car radio in a boat? Although it is possible to use a standard automotive stereo system in a boat, this is not recommended. Marine stereo systems are designed to be much
What radio station is bts on
Is there a radio station that plays BTS? BTS | Radio Now 92.1. Listen To New Music Friday: Keith Urban & Crying To Justin Bieber! Is there a KPOP radio station in California? KMPC (1540
«Previous Posts 1 2 3 4 5 6 … 495 Next Posts»


text:
Fred Rincon, MD, MSc: Increasing Use of Mobile Stroke Units
Fred Rincon, MD, MSc
The chief of cerebrovascular disease at Jefferson University Hospitals detailed the importance and growth of mobile stroke units.
"Not having a mobile stroke unit would make no sense. That's like if you were in the cardiac arrest world, and not having available AEDs or bystander CPR."
Paired with telemedicine, mobile stroke units have become one of the most impactful ways to treat stroke victims in a timely manner. More and more hospitals and academic centers have begun to incorporate this technology, which in effect can expand the reach that specialists have to save stroke patients on site.
Fred Rincon, MD, MSc, chief of cerebrovascular disease at Jefferson University Hospitals, described the significant impacts that mobile stroke units have had on communities in South Carolina and North Carolina, where access to comprehensive stroke centers is lacking. If a stroke patient takes more than 30 minutes to reach an emergency department, they could die, but the evolution of telemedicine and mobile stroke units can help reduce the mortality rate significantly.
In an interview with NeurologyLive, Rincon shared his perspective on why mobile stroke units will continue to prove to be the most effective way of treating stroke victims at the source.
Jefferson Health Vickie and Jack Farber Institute for Neuroscience | Videos | News | Stroke | SAP Partners


The initial stretch of 25 km of the route is identical to the circuit of 17 km. So it starts from the center of Longarone to go down towards the river Piave, go through Do gna and reach the Vajont valley. The approach to the dam takes participants to walk on the "tube-bridge" (ponte-tubo) and, after passing through the open gallery, to cross the entire of span the dam crest.
Once you reach the summit of the landslide the 25 km track separates from the 17 km track: the longest route follows the pathway crossing the landslide for its entire length to reach the place " Le Spesse" and the historical center of Erto.
The route continues up to reach the "Trui dal Sciarbon", the pathway the ancient villages of Erto and Casso, to be reunited with the 17 km track just before Casso and finally finish downhill towards the valley.


text:
Bossier Schools among those touted by Jindal for AP placement
Increase in college credits earned is greatest in state history
BATON ROUGE — Today, Governor Bobby Jindal and State Superintendent John White announced that the number of college credits earned on Advanced Placement (AP) exams has increased by more than 1,000 credits or 25 percent over the past year—the greatest individual increase in state history. Louisiana high school students scored high enough to earn college credit on 5,144 AP exams in 2013.
The credits earned by students who scored a 3, 4 or 5 on the AP exams are transferrable to nearly any college in the nation, and Louisiana leads the country in growth of number of exams taken. 10,529 students took the AP exam in 2013, which is 4,000 more students than last year.
Jindal said, "Since we took office, we have focused on reforming and improving our education system to ensure that every child in Louisiana has access to a great education. Earlier this year, we announced that Louisiana's graduation rate has reached an all-time high. Today's announcement that a growing number of our state's high school students are already earning college credit before they even leave for school is more proof that our hard work is paying off.
"By eliminating ineffective programs and investing in ones that work, we have no doubt improved outcomes for our students. While today's announcement is great news, we will not stop until every child in Louisiana has the opportunity to get a great education and the skills they need to be successful."
Promoting Advanced Placement is an aspect of Louisiana Believes, the state's plan to ensure all students are college or career ready. AP offers students the opportunity to earn college credit during high school by completing rigorous coursework and demonstrating proficiency on a national, standardized end-of-course exam. AP is a national hallmark of college-going success with research showing that students who complete AP coursework are better prepared for college-level work, are more likely to continue their education beyond their freshman year in college, and are more likely to graduate within four to five years. Students participating in AP classes also stand out in the college admissions process and are more competitive in qualifying for scholarships.
To ensure that Louisiana students are provided with the best opportunity to earn college credit through AP exams, that state has devised a strategy to support its educators and students. This strategy includes:
Linking AP results to school accountability by recognizing a passing AP score (3 to 5) as the highest level of achievement earned by a cohort graduate, earning the maximum 150 points toward the graduation index.
Providing funding to pay for test fees for all students taking AP exams who meet the criteria for low-income students and for students taking exams new to their school, because every child should have the opportunity to succeed.
Supporting the Course Choice program, which provides increased access to AP courses.
Doubling the number of teachers and administrators taking part in summer AP training, with more than 700 educators across the state participating this year.
"Advanced Placement is the highest indicator of college success, and rather than accept our past ranking of 49th, Louisiana educators and students have risen to the challenge to say that our kids are just as capable and smart as kids anywhere in this country," said State Superintendent John White.
Louisiana is poised to continue its success by working to emphasize the value of AP exams moving forward. This session, Governor Jindal signed into law legislation (SB202) that creates incentives for students to take more rigorous AP courses by giving courses approved by the state additional weight in the calculation of the TOPS GPA. TOPS GPA determines not only a student's eligibility for the TOPS award, but also for additional financial incentives. This ends the incentive to take easier courses in order to get a higher GPA, helping to contribute to the continued growth of AP in our state.
SB 202 also better aligns coursework in different programs of study—such as the Core Four Diploma course sequence and TOPS core sequence—to ensure that students going to four-year colleges have taken a true college preparatory curriculum while in high school.
In addition, Senate Resolution 49 requests the Board of Regents to develop a uniform policy regarding the acceptance of college credit hours earned through AP exams. Implementing this policy would ensure fairness and consistency for students and promotes the seamless transfer of posts-secondary credits earned by students.
Vice President of the Board of Secondary and Elementary Education Jim Garvey said, "These results are another example of Louisiana's students, teachers and schools showing us what great success they can achieve when we aim high. Today's high-demand for jobs increasingly requires at least some education beyond high school, and these students are accelerating their achievement of what we want for all children in Louisiana — a steady career and family-supporting income."
Schools across the state have emphasized the importance of AP for students and, as a result, have seen an increase in participation and success. See below for the top ten high schools for the percentage of students scoring at 3 or higher on AP exams.
School Total Students Taking AP Exams # of Students Scoring 3+ % of Students Scoring 3+
West Monroe High School 56 49 87.5%
Benjamin Franklin High School 447 375 83.9%
Haynes Academy School for Advanced Studies 172 140 81.4%
Caddo Parish Magnet High School 144 115 79.9%
Mandeville High School 182 144 79.1%
Baton Rouge Magnet High School 249 192 77.1%
Fontainebleau High School 81 59 72.8%
Lusher Charter School 193 131 67.9%
Airline High School 101 66 65.3%
Zachary High School 199 130 65.3%
Top 10 schools in AP participation.
School Total Students Taking AP Exams # of Students Scoring 3+
Benjamin Franklin High School 447 375
St. Amant High School 327 128
Pineville High School 318 46
Alfred M. Barbe High School 294 152
Baton Rouge Magnet High School 249 192
Lafayette High School 239 122
Central Lafourche High School 231 18
Sulphur High School 205 89
Hahnville High School 202 86
Zachary High School 199 130
Top 10 ten schools in performance growth from 2012 to 2013
School % of Students Scoring 3+ % of Students Scoring 3+ Change in Percent
West Monroe High School 70.5% 87.5% 17.0%
Westgate High School 0.0% 15.5% 15.5%
Woodlawn High School 20.8% 35.7% 14.9%
North DeSoto High School 0.0% 14.5% 14.5%
Zachary High School 52.8% 65.3% 12.5%
Benton High School 23.6% 35.6% 12.0%
Live Oak High School 46.7% 58.2% 11.5%
Belle Chasse High School 41.9% 52.8% 10.9%
Caddo Parish Magnet High School 71.0% 79.9% 8.9%
Sam Houston High School 17.9% 24.8% 7.0%
Schools that saw over half their students pass their AP exams
School # of Students Tested # of Students Scoring 3+ Percentage of Students Scoring 3+
Northshore High School 83 49 59.0%
Live Oak High School 98 57 58.2%
Ruston High School 102 57 55.9%
Thomas Jefferson High School for Advanced Studies 100 54 54.0%
Bolton High School 140 74 52.9%
Belle Chasse High School 53 28 52.8%
Dutchtown High School 158 83 52.5%
Alfred M. Barbe High School 294 152 51.7%
Lafayette High School 239 122 51.0%
David Specht


text:
Ruan Zhenduo (; Hepburn: Gen Shintaku; 1893–1973), was a politician in the early Republic of China who subsequently served in a number of Cabinet-level positions in the Empire of Manchukuo.

Biography
A native of Tieling, Liaoning Province, Ruan studied medicine at the Manchurian Medical College in 1913. In 1919, he went to Japan to study at the Kyoto Imperial University and graduated with a doctorate in medicine.

After his return to China in 1923, Ruan was appointed chairman of the Fentian State Medical Board, and a professor of medicine at the Northeastern University (Shenyang, China). He was also asked by the Fengtian Clique to serve as its chief army medical officer. He also held the posts of chairman of the Changchun and Jilin State Medical Boards by 1929.

In April 1932, under the new State of Manchukuo Ruan was asked to serve as Chief Secretary for Fengtian Province. He assisted Yu Jingyuan in establishing the Manchukuo Youth League and was one of the founding members of the Concordia Association. From November 1932, he served on the General Affairs State Council as Director of the Construction Bureau. In May 1935, Ruan accepted the cabinet-level post of Minister of Education of the Empire of Manchukuo, which he held to July 1937. From December 1940 to September 1942, he served as Minister of Transportation and from September 1942 to April 1944 as Minister of Finance. From April 1944 to August 1945, he served as Foreign Minister.

Following the Soviet invasion of Manchuria, Ruan was captured by Soviet Red Army and initially held in custody in Siberia, but was extradited to the People's Republic of China on July 31, 1950, where was incarcerated at the Fushun War Criminals Management Centre. He was housed with former Emperor Puyi, and helped the former emperor write his autobiography: The First Half of My Life; From Emperor to Citizen: The Autobiography of Aisin-Gioro Pu Yi. He was released by a special pardon in 1962 and found employment at the Changchun Medical Library as a librarian. He died in 1973 at the age of 81.

References

Government ministers of Manchukuo
People from Tieling
Chinese collaborators with Imperial Japan
1893 births
1973 deaths
Recipients of Chinese pardons
Chinese prisoners and detainees
People extradited from the Soviet Union
Kyoto University alumni
Diplomats of Manchukuo

redpajama_set_name: RedPajamaWikipedia


text:
Enjoy Medieval Denbighshire | A Placerville Dentist's Journey
The Guide To Medieval Wales Times
Tremeirchion
Church of Corpus Christi and St. Beuno's Well
Tremeirchion – originally 'Din Meirchion', the fortress of Meirchion the chieftain – is a pretty village on the slopes of the Clwydian Hills, overlooking the wide Vale of Clwyd. The attractive church, between the village school and the inn, has an 800-year-old yew tree for company, and was renowned for a wonder-working cross: dating mainly from the 14th and 15th centuries, it still retains many ancient features. Among the oldest, forming a seat in the porch is the interlaced 13th-century cross-slab to one Hunyd, wife of Carved. Within the fine old door, the two vestry windows display a mosaic of good late medieval stained glass, including the haloed head of St. Ann, mother of the Virgin Mary. A south window near the pulpit has unusual 17th century painted glass portraits (from the old vicarage) of James I, Charles I and John Williams, a North Walian who became successively Bishop of Lincoln and Archibishop of York and then fought alternatively for both King and Parliament during the Civil War.
In the north transept extension (added when the church was pleasantly restored in 1864) lies a mail-clad knight of about 1280, shown cross-legged and drawing his sword. Perhaps most impressive of all, byt the altar, stands the great canopied 14th-century tomb of the priest Dafydd ap Hywel ap Madog, known as Dafydd Ddu Athro o Hiraddug – 'Black David, the Teacher of Hiraddug'. Famous as a bard, writer and according to legend) a soothsaying prophet, this vicar of Tremeirchion lies beneath an elaborately cusped arch, on a tomb bedecked with shields of family heraldry and the symbols of the crucifixion (a pew in front folds down to reveal these shields). Among notable later features are a fine Georgian chest, a chained parish handbell, and a tablet to Dr. 'Dictionary' Johnson's friend Hester Thrale.
Brynbella, Mrs. Thrale's 18th-century mansion (private) stands below the village, behind a long stone wall beside the B5429. Opposite its lower gateway, in a stone enclosure by a grey-rendered house in a hollow, is Ffynnon Beuno – St. Beuno's Holy Well, 'once in great repute for healing'. As if to emphasize the link between sacred springs and the pagan Celtic head-cult, its water gushes from the mouth of a roughly caved stone head of unknown age.
Church open weekdays by appointment.
Enjoy Medieval Denbighshire
St. Beuno's Well, Tremeirchion
The Lands Between
Roofs and Rood Screens
The Power-House of Renaissance Wales
Forts and Castles
Ruthin Castle
Corwen
Owain Glyndwr's Mound
Castell Dinas Brân
The Pillar of Eliseg
Tomen-Y-Rhodwydd
Llanarmon-Yn-Iâl


The cold equations of "realism," some claim, suggest there is little scope for women taking an active and interesting role in epic stories set in fantasy worlds based in a pre-modern era. Women's lives in the past were limited, constrained, and passive, they say. To include multiple female characters in dynamic roles is to be in thrall to quotas, anachronisms, Political Correctness, and the sad spectacle and dread hyenas of wish-fulfillment.
Also this article was absolutely totally awesome and I learnt loads from it.
Kate Elliot is amazing, especially on this topic! She recommended a book on her blog called "The Secret History of the Mongol Queens" and there's at least one (possibly more) novel ideas cooking in my brain now. I just don't know enough about Mongolian culture to write it yet, even if I do decide it's an allegory. So much that can be taken into fantasy settings, and the best part is, it's all true. Chinggis may have been the Khan, but the women ruled that empire.
Anne Bonney, Mary Read, and numerous other female pirates, soldiers, highwaywomen, etc, would beg to differ. Also if you're writing fantasy, you can write it however you like; it's not constrained by the real past.


text:
Chargers History | Los Angeles Chargers - chargers.com
Roll Call: Epic in Miami
From the humid weather to overtime and everything in between, relive one of the greatest games in NFL history with the Chargers players who were there including kicker Rolf Benirschke, Hall of Famers Charlie Joiner and Dan Fouts, and more.
Epic in Miami: Chargers vs. Dolphins 1981 AFC Divisional Round Full Game
Relive the 1981 AFC Divisional Round matchup between the Chargers and Dolphins by watching this full game replay.
The Epoch of the Epic in Miami
Here are five stories from one of the most iconic Chargers wins and games in NFL history.
Photos: The Epic in Miami
Take a look back at one of the best games in NFL history, the Chargers 41-38 overtime win over the Dolphins in the AFC Divisional round on January 2, 1982 that would go down as the Epic in Miami.
Remembering Fred Dean
Former Chargers defensive end Fred Dean passed away Wednesday at the age of 68. He played for the Chargers from 1975-1981 and then the 49ers from 1981-1985. He was known for his speed, strength and quickness.
Evolution of the Chargers Uniform
A visual break down of the Chargers uniform throughout the years.
Top 10 Plays of Antonio Gates' Career
Take a look at the top 10 plays from Chargers tight end Antonio Gates' incredible career.
Chargers Icon Antonio Gates Announces Retirement Following Hall of Fame Career
NFL's all-time leader in touchdowns by a tight end will join Chargers' front office as Legends Ambassador.
TBT: 1994 AFC Championship Game
Look back at the thrilling win over the Pittsburgh Steelers in the 1994 AFC Championship game to send the Chargers to the Super Bowl.
By the Numbers: Austin Ekeler Matches Franchise Mark for Receptions in a Game
The numbers you need to know from the Chargers' Week 5 home game against the Broncos, including milestones for Ekeler, Rivers, Bosa and King
By the Numbers: Philip Rivers Passes Tom Brady in 70-Percent Completion Games for No. 3 All-Time
The numbers you need to know from the Chargers' Week 4 road win in Miami
TBT: Epic in Miami
Take a look back at the 1981 AFC Divisional game against the Miami Dolphins where Don Coryell and the Chargers came out victorious.
Bolts Honor 60 Years of Alumni on Fantennial Weekend
The Chargers celebrated Charger Greats over the weekend at the Grove in Los Angeles, as well as a half time ceremony in the home game against the Texans.
Photos: Bolts Honor Chargers Alumni During Legends Weekend
Take a look through photos from the annual Legends Weekend as the Bolts celebrate 60 season of Chargers football and the 100th season of the NFL.
By the Numbers: Philip Rivers Passed Eli Manning with his 211th Consecutive Start
The numbers you need to know from the Chargers' Week 3 game against the Texans
Week 2: By the Numbers
The numbers you need to know from the Chargers' Week 2 game in Detroit
Remembering Former Chargers Running Back Keith Lincoln
The five-time AFL All-Star passed away Saturday at the age of 80.
Happy Birthday Dan Fouts
Take a look though Dan Fouts throughout the years as we wish him a Happy Birthday.
Remembering Bob Zeman, Former LA Chargers Defensive Back
Zeman was an original member of the 1960 Los Angeles Chargers.
Notable First Round Picks Over the Years
A look at some noteworthy players the Bolts have drafted in the first round over the years.
Evolution of the Chargers Uniform Through 2019
Take a look at the visual break down of the Bolts uniform throughout history.
The Hall of Fame Case for Don Coryell
It's time for Don Coryell to take his rightful place among the legends in the Pro Football Hall of Fame.
Don Coryell - An NFL Visionary
A look back at Don Coryell, a 2019 HOF finalist, as he coached the Chargers from 1978-86.
Malcom Floyd a Finalist for Polynesian Football Hall of Fame
Floyd had a memorable 12-year career with the Bolts, catching 321 passes for 5,550 yards and 34 TDs in 121 games.
Six Former Chargers Among Nominees for Hall of Fame Class of 2019
Four players and two coaches make the list
Chargers Legends Honored During Season Opener
As part of Chargers Legends Weekend, the Bolts honored alumni at their regular season home opener against the Kanas City Chiefs.
Former Chargers Return for Legends Weekend
To help kick off the start of the new season, the Bolts are hosting former players for a special Chargers Legends Weekend.
Chargers to Honor Legends and Induct Former GM Bobby Beathard into Chargers Hall of Fame at Season Opener on Sunday
The Los Angeles Chargers will open the regular season by celebrating the team's rich history.
Bobby Beathard Takes Rightful Place in Hall of Fame
For the second-straight year, the Chargers have a member of the team's storied history enter the Pro Football Hall of Fame.
LT Shares His Hall of Fame Advice to Bobby Beathard
For the second-straight year, and third time in four summers, the Chargers will have a member of the team's storied history enter the Pro Football Hall of Fame.
Throw Back Thursday: LT's HOF Speech
Relive a powerful speech from one of the greatest Running Backs of all time.
Vincent Jackson Officially Retires
The wide receiver spent seven seasons with the Bolts earning two Pro Bowl appearances as a Charger.
Ron Mix Returns to Where It All Began
The Hall of Famer went back to his high school in El Segundo as part of the "Heart of a Hall of Famer" program.
Newly Retired Danny Woodhead Looks Back on Chargers Career
The fan-favorite spent four memorable seasons with the Bolts.
Longtime Chargers GM Bobby Beathard Elected to Hall of Fame
Beathard elected to Hall of Fame as a contributor.
Former Bolts Reminisce About "Brotherhood" During Alumni Weekend
While the win over the Browns was sweet, reminiscing about the past was even sweeter.
Witnesses to History: The Inside Story of LT's 2006 Record Shattering Season
Locker room temper tantrums. Question marks surrounding Philip Rivers. LT challenging his teammates. For the first time ever, hear the full oral history of the single greatest season of any player in NFL history.
Joey Bosa's Historic Jersey on Display in Hall of Fame
The defensive end recorded the most sacks in NFL history over a players.
LT HOF Ring Ceremony
LaDainian Tomlinson, inducted this past August into the Pro Football Hall of Fame, was presented his Pro Football Hall of Fame ring in a special on-field ceremony during halftime at the Chargers home opener.
LaDainian Tomlinson Inspires in HOF Speech
Tomlinson put on a show like never before.
Remembering LaDainian Tomlinson's Career
Former teammates and players around the league relfect on LaDainian Tomlinson's career.
Complete Chargers Draft Day Trade History
A look at every draft day trade the Bolts have ever made.
Teammates and Coaches Share Favorite LT Memories
Philip Rivers, Antonio Gates, Shaun Phillips and more recall LT in his heyday.
Re-live LT's NFL Record-Breaking TD
On December 10th, 2006, Ladainian Tomlinson scored his 29th touchdown of the season, breaking the NFL's record for touchdowns scored during a single season.
Dan Fouts Reacts to Philip Rivers Breaking His Record
What did number 14 have to say about number 17 setting the all-time franchise record for career passing yards.
Don Coryell: 1924-2010
Former players and coaches remember NFL coaching great Don Coryell, who died at the age of 85.


text: Q: How to make the user save a text box value as an image or file to their machine in html5 using jQuery What is the best way to make the user save a text box value with out the use of server side scripting . I am using html5 and jQuery . I tried printing the textbox by putting it inside an iframe with print() function of javascript and it worked , I want to know whether any other alternatives are available .


text:
Q: Calculating the origin of a rotated HTML element I'm currently dealing with an issue on how to find the initial point before an element has been rotated.
In my project, I have two divs that can't be in the same container as one another which leads to the issue I'm having.
I'm trying to calculate the initial point of an element that has already been rotated so I can correctly place another element on top of it and then apply the same rotation degrees. To make sure I have the right coordinates to work with, I have a div that stamps a little square each time the rotation occurs. The blue square for the initial point and the red square for the center point where the element is being rotated on. I thought I had the formula in the Javascript but there seems to be something off. The further I am from either 0 degrees or 180 degrees, the further away my other element drifts from where it's supposed to be. Below is the formula I currently have.

var angle = (integer passed in to the function. Example: 45)
var rotatedX = blueBox.getBoundingClientRect().left;
var rotatedY = blueBox.getBoundingClientRect().top;
var centerX = redBox.getBoundingClientRect().left;
var centerY = redBox.getBoundingClientRect().top;

var dx = rotatedX - centerX;
var dy = rotatedY - centerY;

var toRadians = (Math.PI / 180);
var dx2 = dx * Math.cos(toRadians * angle) - dy * Math.sin(toRadians * angle);
var dy2 = dx * Math.sin(toRadians * angle) + dy * Math.cos(toRadians * angle);

var initialX = dx2 + centerX;
var initialY = dy2 + centerY;

elementToRotate.style.top = initialX + "px";
elementToRotate.style.left = initialY + "px";

//This just applies the CSS transform:rotate(45deg) to the element
elementToRotate.rotateDegrees(angle);

I originally was working off of the formula here: HTML5 Canvas: Calculating a x,y point when rotated
but am having a terrible time getting my project to work properly. Any help on this is greatly appreciated. Please let me know if I need to provide any additional info.
http://jsfiddle.net/aSr7J/1/

This is the JS Fiddle of the issue.
The goal is to calculate the aqua box inside the black-outlined box. The calculation works for 0 degrees and 180 degrees and is very incorrect at 45 degrees.

A: The source of the discrepancy is how the vertical Y coordinate is measured. In the html coordinates, positive Y is downward, whereas in the mathematics, it is assumed to be upward.
To account for this, just change these two lines:
var dy = rotatedY - centerY;

to
var dy = centerY - rotatedY;

and change
var initialY = dy2 + centerY;

to
var initialY = centerY - dy2;

Here is the JSFiddle.

A: I tried a different approach, but maybe it can help you. I didn't really calculated the rotation, I just applied the same transform to the other div and calculated the offsets.
Here is my jsfiddle demo.
Note1: I wasn't sure you're using jQuery, so I didn't use it. But it would make the transform copy more easy.
Note2: I used -webkit- prefixes in my demo, so maybe you need to change those, if you use other browsers. The javascript code handles the other prefixes too.
The code is:
function alignRedToBlue() {
    var blue = document.getElementById("blue"),
        blueStyle = window.getComputedStyle(blue, null),
        red = document.getElementById("red"),
        props = ["transform", "-moz-transform","-webkit-transform", "-ms-transform", "-o-transform"],
        index, prop;
    for (index in props) {
        prop = props[index];
        red.style[prop] = blueStyle.getPropertyValue(prop);
    }
    red.style.top = blue.offsetTop + (blue.offsetHeight - red.offsetHeight) / 2 + "px";
    red.style.left = blue.offsetLeft + (blue.offsetWidth - red.offsetWidth) / 2 + "px";
}


text:
The Microsoft Blog
Microsoft revamps partner network
By Nick Eaton on November 1, 2010 at 4:30 PM
Microsoft today announced the Microsoft Partner Network — a new structure of subscription packages that give access to Microsoft software, tools, resources and support. The revamp also brings about a new membership for cloud computing, along with a new Web portal cloud partners. Microsoft finished up its 2010 Professional Developers Conference last week in Redmond. More information on the Microsoft Partner Network can be found here.


text:
package org.keycloak.adapters.jetty.core;

import org.eclipse.jetty.security.DefaultUserIdentity;
import org.eclipse.jetty.security.IdentityService;
import org.eclipse.jetty.security.LoginService;
import org.eclipse.jetty.security.ServerAuthException;
import org.eclipse.jetty.security.UserAuthentication;
import org.eclipse.jetty.security.authentication.DeferredAuthentication;
import org.eclipse.jetty.security.authentication.FormAuthenticator;
import org.eclipse.jetty.security.authentication.LoginAuthenticator;
import org.eclipse.jetty.server.Authentication;
import org.eclipse.jetty.server.Request;
import org.eclipse.jetty.server.Response;
import org.eclipse.jetty.server.UserIdentity;
import org.eclipse.jetty.server.handler.ContextHandler;
import org.eclipse.jetty.util.URIUtil;
import org.jboss.logging.Logger;
import org.keycloak.KeycloakPrincipal;
import org.keycloak.KeycloakSecurityContext;
import org.keycloak.adapters.AdapterDeploymentContext;
import org.keycloak.adapters.AdapterTokenStore;
import org.keycloak.adapters.AdapterUtils;
import org.keycloak.adapters.jetty.spi.JettyHttpFacade;
import org.keycloak.adapters.jetty.spi.JettyUserSessionManagement;
import org.keycloak.adapters.spi.AuthChallenge;
import org.keycloak.adapters.spi.AuthOutcome;
import org.keycloak.adapters.AuthenticatedActionsHandler;
import org.keycloak.adapters.spi.HttpFacade;
import org.keycloak.adapters.KeycloakConfigResolver;
import org.keycloak.adapters.KeycloakDeployment;
import org.keycloak.adapters.KeycloakDeploymentBuilder;
import org.keycloak.adapters.NodesRegistrationManagement;
import org.keycloak.adapters.PreAuthActionsHandler;
import org.keycloak.adapters.RefreshableKeycloakSecurityContext;
import org.keycloak.constants.AdapterConstants;
import org.keycloak.enums.TokenStore;
import org.keycloak.representations.adapters.config.AdapterConfig;

import javax.security.auth.Subject;
import javax.servlet.ServletContext;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletResponse;
import java.io.ByteArrayInputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.HashSet;
import java.util.Set;

/**
 * @author Bill Burke
 * @version $Revision: 1 $
 */
public abstract class AbstractKeycloakJettyAuthenticator extends LoginAuthenticator {
    public static final String TOKEN_STORE_NOTE = "TOKEN_STORE_NOTE";
    protected static final org.jboss.logging.Logger log = Logger.getLogger(AbstractKeycloakJettyAuthenticator.class);
    protected AdapterDeploymentContext deploymentContext;
    protected NodesRegistrationManagement nodesRegistrationManagement;
    protected AdapterConfig adapterConfig;
    protected KeycloakConfigResolver configResolver;
    protected String errorPage;

    public AbstractKeycloakJettyAuthenticator() {
        super();
    }

    private static InputStream getJSONFromServletContext(ServletContext servletContext) {
        String json = servletContext.getInitParameter(AdapterConstants.AUTH_DATA_PARAM_NAME);
        if (json == null) {
            return null;
        }
        return new ByteArrayInputStream(json.getBytes());
    }

    public AdapterTokenStore getTokenStore(Request request, HttpFacade facade, KeycloakDeployment resolvedDeployment) {
        AdapterTokenStore store = (AdapterTokenStore) request.getAttribute(TOKEN_STORE_NOTE);
        if (store != null) {
            return store;
        }

        if (resolvedDeployment.getTokenStore() == TokenStore.SESSION) {
            store = createSessionTokenStore(request, resolvedDeployment);
        } else {
            store = new JettyCookieTokenStore(request, facade, resolvedDeployment);
        }

        request.setAttribute(TOKEN_STORE_NOTE, store);
        return store;
    }

    public abstract AdapterTokenStore createSessionTokenStore(Request request, KeycloakDeployment resolvedDeployment);

    public void logoutCurrent(Request request) {
        AdapterDeploymentContext deploymentContext = (AdapterDeploymentContext) request.getAttribute(AdapterDeploymentContext.class.getName());
        KeycloakSecurityContext ksc = (KeycloakSecurityContext) request.getAttribute(KeycloakSecurityContext.class.getName());
        if (ksc != null) {
            JettyHttpFacade facade = new OIDCJettyHttpFacade(request, null);
            KeycloakDeployment deployment = deploymentContext.resolveDeployment(facade);
            if (ksc instanceof RefreshableKeycloakSecurityContext) {
                ((RefreshableKeycloakSecurityContext) ksc).logout(deployment);
            }

            AdapterTokenStore tokenStore = getTokenStore(request, facade, deployment);
            tokenStore.logout();
            request.removeAttribute(KeycloakSecurityContext.class.getName());
        }
    }

    public static UserIdentity createIdentity(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal) {
        Set<String> roles = AdapterUtils.getRolesFromSecurityContext(principal.getKeycloakSecurityContext());
        if (roles == null) {
            roles = new HashSet<String>();
        }
        Subject theSubject = new Subject();
        String[] theRoles = new String[roles.size()];
        roles.toArray(theRoles);

        return new DefaultUserIdentity(theSubject, principal, theRoles);
    }

    private class DummyLoginService implements LoginService {
        @Override
        public String getName() {
            return null;
        }

        @Override
        public UserIdentity login(String username, Object credentials) {
            return null;
        }

        @Override
        public boolean validate(UserIdentity user) {
            return false;
        }

        @Override
        public IdentityService getIdentityService() {
            return null;
        }

        @Override
        public void setIdentityService(IdentityService service) {

        }

        @Override
        public void logout(UserIdentity user) {

        }
    }

    @Override
    public void setConfiguration(AuthConfiguration configuration) {
        //super.setConfiguration(configuration);
        initializeKeycloak();
        // need this so that getUserPrincipal does not throw NPE
        _loginService = new DummyLoginService();
        String error = configuration.getInitParameter(FormAuthenticator.__FORM_ERROR_PAGE);
        setErrorPage(error);
    }

    private void setErrorPage(String path) {
        if (path == null || path.trim().length() == 0) {
        } else {
            if (!path.startsWith("/")) {
                path = "/" + path;
            }
            errorPage = path;

            if (errorPage.indexOf('?') > 0)
                errorPage = errorPage.substring(0, errorPage.indexOf('?'));
        }
    }

    @Override
    public boolean secureResponse(ServletRequest req, ServletResponse res, boolean mandatory, Authentication.User validatedUser) throws ServerAuthException {
        return true;
    }

    public AdapterConfig getAdapterConfig() {
        return adapterConfig;
    }

    public void setAdapterConfig(AdapterConfig adapterConfig) {
        this.adapterConfig = adapterConfig;
    }

    public KeycloakConfigResolver getConfigResolver() {
        return configResolver;
    }

    public void setConfigResolver(KeycloakConfigResolver configResolver) {
        this.configResolver = configResolver;
    }

    @SuppressWarnings("UseSpecificCatch")
    public void initializeKeycloak() {
        nodesRegistrationManagement = new NodesRegistrationManagement();

        ServletContext theServletContext = null;
        ContextHandler.Context currentContext = ContextHandler.getCurrentContext();
        if (currentContext != null) {
            String contextPath = currentContext.getContextPath();

            if ("".equals(contextPath)) {
                // This could be the case in osgi environment when deploying apps through pax whiteboard extension.
                theServletContext = currentContext;
            } else {
                theServletContext = currentContext.getContext(contextPath);
            }
        }

        // Jetty 9.1.x servlet context will be null :(
        if (configResolver == null && theServletContext != null) {
            String configResolverClass = theServletContext.getInitParameter("keycloak.config.resolver");
            if (configResolverClass != null) {
                try {
                    configResolver = (KeycloakConfigResolver) ContextHandler.getCurrentContext().getClassLoader().loadClass(configResolverClass).newInstance();
                    log.infov("Using {0} to resolve Keycloak configuration on a per-request basis.", configResolverClass);
                } catch (Exception ex) {
                    log.infov("The specified resolver {0} could NOT be loaded. Keycloak is unconfigured and will deny all requests. Reason: {1}", new Object[]{configResolverClass, ex.getMessage()});
                }
            }
        }

        if (configResolver != null) {
            deploymentContext = new AdapterDeploymentContext(configResolver);
        } else if (adapterConfig != null) {
            KeycloakDeployment kd = KeycloakDeploymentBuilder.build(adapterConfig);
            deploymentContext = new AdapterDeploymentContext(kd);
        } else if (theServletContext != null) {
            InputStream configInputStream = getConfigInputStream(theServletContext);
            if (configInputStream != null) {
                deploymentContext = new AdapterDeploymentContext(KeycloakDeploymentBuilder.build(configInputStream));
            }
        }
        if (deploymentContext == null) {
            deploymentContext = new AdapterDeploymentContext(new KeycloakDeployment());
        }
        if (theServletContext != null)
            theServletContext.setAttribute(AdapterDeploymentContext.class.getName(), deploymentContext);
    }

    private InputStream getConfigInputStream(ServletContext servletContext) {
        InputStream is = getJSONFromServletContext(servletContext);
        if (is == null) {
            String path = servletContext.getInitParameter("keycloak.config.file");
            if (path == null) {
                is = servletContext.getResourceAsStream("/WEB-INF/keycloak.json");
            } else {
                try {
                    is = new FileInputStream(path);
                } catch (FileNotFoundException e) {
                    throw new RuntimeException(e);
                }
            }
        }
        return is;
    }

    @Override
    public Authentication validateRequest(ServletRequest req, ServletResponse res, boolean mandatory) throws ServerAuthException {
        if (log.isTraceEnabled()) {
            log.trace("*** authenticate");
        }
        Request request = resolveRequest(req);
        OIDCJettyHttpFacade facade = new OIDCJettyHttpFacade(request, (HttpServletResponse) res);
        KeycloakDeployment deployment = deploymentContext.resolveDeployment(facade);
        if (deployment == null || !deployment.isConfigured()) {
            log.debug("*** deployment isn't configured return false");
            return Authentication.UNAUTHENTICATED;
        }
        PreAuthActionsHandler handler = new PreAuthActionsHandler(new JettyUserSessionManagement(request.getSessionManager()), deploymentContext, facade);
        if (handler.handleRequest()) {
            return Authentication.SEND_SUCCESS;
        }
        if (!mandatory)
            return new DeferredAuthentication(this);
        AdapterTokenStore tokenStore = getTokenStore(request, facade, deployment);
        nodesRegistrationManagement.tryRegister(deployment);

        tokenStore.checkCurrentToken();
        JettyRequestAuthenticator authenticator = createRequestAuthenticator(request, facade, deployment, tokenStore);
        AuthOutcome outcome = authenticator.authenticate();
        if (outcome == AuthOutcome.AUTHENTICATED) {
            if (facade.isEnded()) {
                return Authentication.SEND_SUCCESS;
            }

            Authentication authentication = register(request, authenticator.principal);
            AuthenticatedActionsHandler authenticatedActionsHandler = new AuthenticatedActionsHandler(deployment, facade);
            if (authenticatedActionsHandler.handledRequest()) {
                return Authentication.SEND_SUCCESS;
            }
            return authentication;

        }
        AuthChallenge challenge = authenticator.getChallenge();
        if (challenge != null) {
            challenge.challenge(facade);
        }
        return Authentication.SEND_CONTINUE;
    }

    protected abstract Request resolveRequest(ServletRequest req);

    protected JettyRequestAuthenticator createRequestAuthenticator(Request request, JettyHttpFacade facade,
                                                                   KeycloakDeployment deployment, AdapterTokenStore tokenStore) {
        return new JettyRequestAuthenticator(facade, deployment, tokenStore, -1, request);
    }

    @Override
    public String getAuthMethod() {
        return "KEYCLOAK";
    }

    protected Authentication register(Request request, KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal) {
        request.setAttribute(AdapterDeploymentContext.class.getName(), deploymentContext);
        Authentication authentication = request.getAuthentication();
        if (!(authentication instanceof KeycloakAuthentication)) {
            UserIdentity userIdentity = createIdentity(principal);
            authentication = createAuthentication(userIdentity);
            request.setAuthentication(authentication);
        }
        return authentication;
    }

    protected abstract Authentication createAuthentication(UserIdentity userIdentity);

    public static abstract class KeycloakAuthentication extends UserAuthentication {
        public KeycloakAuthentication(String method, UserIdentity userIdentity) {
            super(method, userIdentity);
        }

    }
}

redpajama_set_name: RedPajamaGithub


Wise choice property limited manages carried range of properties for clients. We understand the need of our clients because of our hands on approach based on our knowledge of the property industry.
Our vision is to be the real choice for people wanting to buy, sell or want good management services in the property industry. Our values or ethical and professional responsibility is at the heart of our customer services. We put our customers first. Our customers benefit from our ability to deliver the services we offer with our customer friendly staff, along with the extensive years of experience and knowledge.


The Waterloo Research Institute in Insurance, Securities and Quantitative Finance (WatRISQ), University of Waterloo, is pleased to invite you to the 4th International Agricultural Risk, Finance, and Insurance Conference (IARFIC), June 7-9, 2015, in Washington, DC. IARFIC is a non-profit international conference that brings together academia, government, private sector, producer groups, NGOs, and other stakeholders, to discuss critical Issues, global perspectives, best practices, and innovations within the field. The past three conferences were a tremendous success, held in 2012-Beijing, China, 2013-Vancouver, Canada, and 2014-Zurich, Switzerland, with select best papers published in special issues of Agricultural Finance Review by Emerald Group Publishing.
VENUE: Please join us for a unique reception at the House Committee on Agriculture, Longworth House Office Building. All other conference activities will be hosted at the Park Hyatt Washington, 1201 24th Street, NW, Washington, DC 20037 (parkwashington.hyatt.com) , including the keynote addresses, plenary sessions, research presentations, and gala dinner.
CO-ORGANIERS: IARFIC is co-hosted by the China Institute for Actuarial Science, China, the Central University of Finance and Economics, China, the Warren Centre for Actuarial Studies at the University of Manitoba, Canada, and the Agricultural and Applied Economics Associations, USA.
Joe Glauber, PhD, Senior Research Fellow, International Food Policy Research Institute (IFPRI), and former Chief Economist, United States Department of Agriculture (USDA), USA.
Brandon Willis, Administrator, Risk Management Agency (RMA) in the USDA's Farm and Foreign Agriculture Services, USA.
Mary Frances Miller, FCAS, MAAA, FCA, Hon FIA, CPCU, Are, AIM, Founder and Senior Consulting Actuary, Select Actuarial Services, USA.
Bruce Sherrick, Professor and Director, TIAA-CREF Centre for Farmland Research, University of Illinois at Urbana-Champaign, USA.
Joshua Woodard, Assistant Professor and Zaitz Family Sesquicentennial Faculty Fellow in Agricultural Finance and Business, Charles H. Dyson School of Applied Economics and Management, Cornell University, USA.
Big Data: technical and policy challenges. Moderated by: Barry Barnett, Professor, Department of Agricultural Economics, Mississippi State University, USA.
Improving agricultural insurance ratemaking: underlying assumptions regarding market volatility, price/yield relationships, etc. Moderated by: Calum Turvey, WI Myers Professor of Agricultural Finance, Charles H. Dyson School of Applied Economics and Management, Cornell University, USA.
China: update and innovations. Moderated by: Qiao Zhang, Professor, Chinese Academy of Agricultural Sciences, China.
Agricultural insurance and the way forward: long-term sustainablility of agricultural insurance programs, including a discussion on program design, role of government, and subsidy. Moderated by: G. Cornelis van Kooten, Professor of Economics and Canada Research Chair in Environmental Studies, University of Victoria, Canada.
*Note: Add $100 USD to registration fee after April 1, 2015. Registration fee will be charged in CAD using an approximate exchange rate of 1.20.
Wonderful and interesting information in your Website. I am impressed. Thank you so much for sharing this content.


text:
Q: Pydantic params validation with file upload I'm trying upload user data with file. I wanna do something like this, validate user data and attach file
class User(BaseModel):
    user: str
    name: str

@router.post("/upload")
async def create_upload_file(data: User, file: UploadFile = File(...)):
    print(data)
    return {"filename": file.filename}

but it doesn't work
Error: Unprocessable Entity
Response body:
{
  "detail": [
    {
      "loc": [
        "body",
        "data"
      ],
      "msg": "value is not a valid dict",
      "type": "type_error.dict"
    }
  ]
}

But if i do separate ulr all work:
class User(BaseModel):
    user: str
    name: str

@router.post("/d")
async def create(file: UploadFile = File(...)):
    return {"filename": file.filename}

@router.post("/")
def main(user: User):
    return user

How to combine all together?

A: You can't declare Body fields that you expect to receive as JSON along with Form fields, as the request will have the body encoded using application/x-www-form-urlencoded (or multipart/form-data, if files are included), instead of application/json.
You can either use Form(...) fields, Dependencies with Pydantic models, or send a JSON string using a Form field and then parse it, as described in this answer.

A: You can't have them at the same time, since pydantic models validate json body but file uploads is sent in form-data.
So they can't be used together.
If you want to do it you should do a trick.
Please check out this link to know how to use pydantic models in form data.


text:
The 2013 World Port Tournament was an international baseball competition held at the DOOR Neptunus Familiestadion in Rotterdam, the Netherlands from June 30 through July 7, 2013.  It was the 12th edition of the tournament and featured teams from Cuba, the Netherlands, Taiwan, and Curacao.

Cuba won the tournament with a 5–2 win–loss record, followed by the Netherlands (4–3), Taiwan (3–3) and Curacao (1–5).

Rosters
Cuba's roster was composed of Yulieski Gourriel, José Miguel Fernández, Guillermo Heredia Jr., Yasmani Tomás, Alexander Malleta, Erisbel Arruebarruena, Stayler Hernández, Andy Ibáñez, Eriel Sánchez, Yadiel Hernández, Frank Camilo Morejón, José Dariel Abreu, Yosvani Peraza, Pavel Quesada, Johan Moncada, Ismel Jiménez, Wilber Pérez, Vladimir Baños, Noelvis Entenza, Jorge Hernández, Raicel Iglesias and Duniel Ibarra. Yovani Aragón was the manager. Odrisamer Despaigne was to be on the team but defected shortly prior to the event.

The host Dutch team consisted of Rudy van Heydoorn, Bas Nooij, Jeffrey Arends, Jesse Aussems, Mike Duursma, Dwayne Kemp, Stijn van der Meer, Vince Rooi, Gianison Boekhoudt, Quintin de Cuba, Shaldimar Daantji, Bryan Engelhardt, Roelie Henrique, Danny Rombley, Arshwin Asjes, David Bergman, Leon Boyd, Rob Cordemans, Bayron Cornelissen, Berry van Driel, Kevin Heijstek, Diegomar Markwell, Chris Mowday and Orlando Yntema. Steve Janssen managed them.

Curaçao's roster had the following players: Sherwenne Antersijn, Quincy Ascencion, Sidney Antonia, Ramiro Balentina, Rojean Cleofa, Amir Daou, Johnny Gregorius, Raydell Isabella, Duko Jansen, Kevin Kellij, Randolph Kirindongo, Ruderly Manuel, Dienston Manuela, Quincy Martina, Edinho Meyer, Shurendell Mujica, Mirangelo Muller, Dennis Neuman, Christefer Obispo, Ulrich Snijders, Michaelangel Trinidad, Rupert Ustasia, Raywendley van Gurp and Nick Veltkamp. Johnny Balentina was their skipper.

Taiwan was composed of Jhih-Long Yang, Yi-Hsun Chen, Tsung-Hao Wang, Kuo-Yi Lin, Jung-Hao Hsieh, Sheng-Hsiung Huang, Hsien-Chih Chang, Kai-Chun Chang, Meng-Chen Fan, Chia-Hao Sung, Chia-Wei Huang, Chun-Wei Kuo, Shih-Hao Liu, Han Lin, Wei-Chih Chen, Ming-Jen Kuo, Chun-Kai Liao, Chi-Hung Hsu, Yu-Te Ho, Meng-Hsiung Yu, Ju-Liang Tai, Wang-Wei Lin, Guo-Long Luo and Po-Jung Wang.

Awards
Awards were presented to:

 Best Contact Hitter: Dwayne Kemp, Netherlands (.400)
 Best Pitcher: Ismel Jiménez, Cuba (2-0, 0.00)
 Home Run King: Alexander Malleta, Cuba (1 HR)
 MVP: Yulieski Gourriel, Cuba (.324/.360/.478, 2 R, 2 RBI)
 Most Popular Player: Dwayne Kemp, Netherlands
 Best Rookie: Stijn van der Meer, Netherlands
 Press Award: Mike Duursma, Netherlands

References

2013 in baseball
World Port Tournament
2013 in Dutch sport


This time, I've got both good news and bad news. Good News 132 custom cat emojis have been added to the site! Bad News Wolven theme is temporarily disabled; an update to it is in the works.
The dark theme is back!
Hello to all who may read this! Welcome to this new club which is open to anybody, and everybody. We all know there is a scarce amount of dear specifically for therians and otherkins to really express themselves, especially those with kintypes not common at all. So at times, we must wiggle our "creative noses" and create some things! If you have made anything that makes you more comfortable with your kin I would love to see!
I'm actually a freelance artist by trade, though business has been slow lately. I do mostly fanart, particularly of My Hero Academia lately.
How does a person know they are a wolf/otherkin?
You're absolutely making sense, Charias. You're rationally and seriously addressing a very fair and complex question. I'd also like to second the statements made by @Cipher. However, let me try to add my own peak to that "philosophical hill" - for anyone willing to follow me up there: Correct. But I think we can safely formulate an even stronger statement: none of us can know for sure exactly how any other being thinks, including other humans or other animals. That means: if I would claim to you that I would think like a human, you could still ask me to prove it and I... couldn't. Neither can you. Because there is just no standard pattern of how a human is supposed to think; even if there were such pattern, I still wouldn't know exactly how you think, so I couldn't verify that your thinking actually matches the pattern. Hence, neither of us can prove that they're thinking like a specific animal, or a human; and still, neither of us can disprove an according claim. In other words, we have to trust that everybody thinks just like they do. And that "paradox" imo leads to exactly three viable options to handle personal people's beliefs which can not be scientifically proven, e.g. the otherkin belief. I'd like to point out that I only refer to beliefs which are reasonably, consistently and persistently taken, and that are not used to reason any violence against other beings, be it mental or physical. This includes, but is not limited to, the belief in the existence of god, the belief to be transgender, or the belief to be otherkin, but e.g. excludes beliefs taken temporarily for sheer fun. Having said that, the three options are as follows: 1) We call all of these beliefs wrong 2) We trust only part of the believers, i.e. we accept only a part of the beliefs and call every person who believes otherwise either wrong or even mad 3) We trust all of the believers, i.e. we accept all of the beliefs, regardless how strange or impossible they might seem Now, in my opinon, only option 3) is acceptable. Let my try to outline why I think so. First of all, taking option (1) would essentially mean to call most of the world population wrong. Also, I think it would consequently lead to accepting only things that can be explained by science; however, science fails to explain phenomena we constantly experience. This would e.g. include the phenomenon of conciousness, or feelings like e.g. love. These things would break down to be sheer consequences of electric signals in our central nervous system, the emergence of such would be mostly unknown. In some cases, e.g. the phenomenon of "phantom limbs" as consistently reported by otherkin, not even the biological use would be known. Now, to be honest, this is a fair assumption, but it is one that I just don't want to take because it leaves far too many effects unexplained, including those I'm constantly experiencing myself and can not deny. Coming to option (2). Now, first of all, because none of the beliefs can be proven better than another, there is no rational reason to accept only part of them. For example, there is no physical observation that verifies the existence of god; on the contrary, current physics' state of knowledge rather indicates the opposite. The same is the case for a person claiming to be transgender: the physical observation indicates the opposite. And yet the same is the case for otherkin. Hence, none of these beliefs is generally more or less provable than another. Secondly, the approach of accepting a specific belief just because the people taking it are in the majority can also be no rational reason, but would simply be unfair. Finally, I'd like to point out that history shows that taking option (2) was used to reason wars against believers who were classified to have the "wrong" belief. People have died in these wars. All in all, this makes option (2) completely inacceptable for me. Which leaves only option (3): accepting all of such beliefs. Now, what does that mean? It essentially means to take a "working assumption". In science, this term denotes an assumption that needs to be taken although it can not be proven. I will make the implications clear. For example, if a person consistently and persistently claims the personal belief that god exists, and names reasons for this belief, I have no other choice but to accept the working assumption that god actually does exist for that person. If a person likewise claims to be a man in the physical body of a woman... I have no other choice than to accept that this person really is a man in the physical body of a woman. If a person likewise claims to be a wolf in the physical body of a human... I consequently have no other choice than to accept that exactly this is actually the case, as unlikely as it may seem. Now, many otherkin perfectly match the criteria of consistently, persistently and reasonably taking their belief; the previous post is a good example: @Charias explicitely names the reasons. The motivation for this belief is oftentimes not even externally triggered; many otherkin take their belief although nobody has ever explicitely told them to do so (which is, by the way, a general difference to a religion). Hence, I have no other choice than to accept that this perception is actually accurate: a person who rationally, consistently, and persistently believes to be non-physically a wolf.. is actually non-physically a wolf. As for how this can be, there are multiple explanation models. The concept of reincarnation is one of them. There are others, e.g. the multiverse hypothesis, but this is not the place to discuss them. I'd finally like to point out that the above is a personal opinion of mine which admittedly could be called quite extreme. Maybe I've made a logical mistake. Hence, I'll be more than happy to enter a discusson about it. For the time being, I wish you all the best for the treatment of the headache which emerged by studying this text !
Obviously, we never will know exactly what an animal thinks or what it feels like. We're simply interpreting our perception of the world based on what we can research about other animals, and it is by nature a human experience; just one that questions philosophically what it means to be human or nonhuman, and interprets personal experiences as being like those of something nonhuman, for however much we know of them. People who experience phantom or "ghostly" limbs of wolf paws or bat wings have an obvious nonhuman trait that they can look up and research. After that, it's moreso a journey of faith and self-understanding.


I am new to gardening and I have been actually doing really well with the garden up until now. I used organic manure and soil in my raised bed. Everything is level and my garden seems to drain quite well. I did have a little pest problem because I have lettuce and all the rain a few weeks back really made me worry but all that happened was a little white spidery looking growth under the plants in the soil appeared once the first hot day came -which I was told to throw the effected dirt away and pick the lowest leaves- and this has worked. I also sprayed some organic pesticide on my plants about 1.5 weeks ago and the small bite marks in my leaves seemed to have gone away.
I live in MA and yesterday night (WEDS.) we had a huge storm. Earlier in the day around 2:30 when the sun isn't directly on my garden I sprayed the organic pesticide on my plants again because I noticed small bite marks returning to my plants and the pesticide container said I may need to do 2 or 3 applications over the next weeks for very persistent pests. About an hour later I watered my plants (this same organic pesticide never made my plants spot with the first application)...then 9:30 comes along and theres a tornado warning and the most intense downpour I have ever seen. Prior to this my plants looked amazing and my pepper plants were growing up so quickly with nice dark green leaves. I come outside on thursday afternoon after work to check on the garden and I find these white/translucent spots ALL OVER ALL of my hot peppers, sweet yellow pepper plants and some random spotting on my lettuce varieties. It almost looked like dirt specs from far away until I got close and realized they were spots. What could this be? I don't think its burning from the pesticide because I didn't do it in direct sunlight but I could be wrong. Also, from what I looked up- and I can't find much-I don't know if it could be a nitrogen deficiency from all the rain? The spotting isn't yellow and it doesn't look like typical leaf burn- but I might be wrong. I don't think we had hail that night and the spots aren't holes- but my coworker said it looks like just leaf damage...Do you think they will recover?
Please help is this a pest of some sort? I just took care of my slugs problem with a cup of beer and now this! I'm so sad and scared for my plants! PLEASE HELP!!!
It looks like the plants have white freckles all over but when you look close the spots are actually translucent and not fully penetrated bite marks- more like the pigment is just missing and the spots are surrounded by white borders. They literally occured over night.
Last edited by crysticalll on Fri Jun 03, 2011 1:47 pm, edited 4 times in total.
I'm hoping someone with more pepper experience helps out.
Did you have an aphid problem? They spread many viruses.
White at the base after a rain, sound like it could be Southern Blight?
You know I don't think I had an aphid problem...prior to yesterday my plants (mainly lettuce) only had a few little holes eaten away by something but after I used the organic pesticide the first time it stopped. Then I noticed a few more bite marks so I sprayed the insecticide again wednesday afternoon.
if it was the insecticide that burned them...why didn't it burn my strawberries and other plants.... same goes for nitrogen burns...why would only the peppers and lettuce be effected?
Could it be possible that the rain did this to my plants or is it more likely to be some disease that occured quickly over 12 hours or so...not even that much time?
Looks like spray burn to me. I've had it happen before when I thought that I did everything right. What is the inert ingredient (carrier liquid) in your pesticide? It doesn't look like any common disease or insect damage.
Always look for the culprit before spraying so you know what you're trying to kill. Worms will be somewhere on the plant. Flea beetles will be there until they hop off when you get close. Aphids stay where they are. Holes in leaves without anything around are often from slugs-snails. slugs-snails often need a different pesticide.
Ohhh, I used the SAME product on my cucumbers and got the SAME result! Wasn't positive the EcoSmart was the culprit but I guess that settles it. It must be burning the leaves. The good news is while the leaves themselves won't recover, the damage hasn't stopped my plants from producing tons of new leaves, flowers, and cukes.
But let's you and I BOTH quit using that insect killer!!


Between a hotel and a guest house, Nimmu House is one of the best boutique hotels in Leh Ladakh - with tent and room options. Nimmu House and Ladakh have strong women's energy - most of our team members are women.
This Hotel is situated at 30 minutes from Leh by car.
A unique Bed & Breakfast designed by keeping in mind the lone female traveler or group, students, or businesswomen travelling to Jaipur, India. The idea is to offer a safe & secure comfortable home stay in Jaipur with all modern facilities.
Located in the center of Jaipur City. 15 minutes away from Airport and Railway Station.
Aura Suites is located in the millennium city of Gurgaon. Omana discovered the Litestay needs and desires of young professionals with a personalised, stylish, efficient and welcoming accommodation. One property offers women only accommodation.
We are just 3 kms from HUDA city centre metro station .5kms from Golf course road, 23 kms away from the airport .We have two properties, one located in sector 56, close to the golf course road and the other located in sector 52 closer to Gold Souk.
We are a Himalayan family from the area aiming to provide our guest the authentic experience here. We have a project for underprivileged women in the area; we support these women and their children. Meet the locals in our village programmes.
Women Oriented-Women Driven-Women Welcomed A Home stay program designed by keeping in mind the lone female traveler or a students, or a women executive Or businesswomen traveling to Jaipur, India.
An affordable guest house nestled in the quiet streets of Jaipur's up market area, Sitabari, a 5 minute drive from the airport with Durgapura railway station and Narayan Singh bus station close by.
Your health, happiness and blissful success journey begins here with us. Perfectly crafted wellness treatments executed in nature's lap. A complete Wellness Centre for your Physical, Emotional,Mental and Spiritual Health in God's own country Kerala.
We are in the cooler area of Wayanad, the green paradise nestled among the cooler mountains of the Western Ghats, forming the border world of the greener part of Kerala.
Leave the routine of your everyday life behind and experience what it's like to live on an organic fruit farm. An Organic Fruit Farm and Farmstay nestled in the serene Cumbum Valley.A short 15 minute drive from Kumily, Thekkaddy in Kerala.
Cochin International Airport: 190 Kms.The best way to get to Thekkady from any airport is by hiring a cab.The nearest railway station to Thekkady is Kottayam, located 114 kilometres.The most inexpensive way to get to Thekkady are the private bus.


text:
Q: Debugger in VS Code for C++ is not working I tried debugging my code using the debugger in VS Code for C++ and its not showing any of my variables or anything its just blank after running
It just says that breakpoint reached and exits the code
I have tried this debugging online using online compiler but the code just runs and I cannot debug anything
Can anyone tell me what I am doing wrong here or is it compiler's fault?

If you want the code its here:
#include<iostream>
#include<algorithm>
#include<vector>
using namespace std;

void spiralOrder(vector<vector<int>> &matrix){

    int left = 0;
    int right = matrix[0].size()-1;
    int top = 0;
    int bottom = matrix.size()-1;

    int direction = 0;

    while(left<=right && top<=bottom){
        // * Left --> Right
        if(direction==0){
            for(int col=0; col<=right; col++){
                cout<<matrix[top][col]<<" ";
            }
            top++;
        }

        // * Top --> Bottom
        else if(direction==1){
            for(int row=top; row<=bottom; row++){
                cout<<matrix[row][right]<<" ";
            }
            right--;
        }

        // * Right --> Left
        else if(direction==2){
            for(int col=right; col>=left; col--){
                cout<<matrix[bottom][col]<<" ";
            }
            bottom--;
        }

        // * Bottom --> Top
        else{
            for(int row=bottom; row>=top; row--){
                cout<<matrix[row][left]<<" ";
            }
            left++;
        }

        direction = (direction+1)%4;
        // 0, 1, 2, 3
    }

    return;
}

int main(){

    // ? Given an n X m Matrix 'a', return all elements of the matrix in spiral order.

    int n=3, m=3;

    // cin>>n>>m;

    // vector<vector<int>> matrix(n, vector<int> (m));
    vector<vector<int>> matrix
    {
        {1, 2, 3},
        {4, 5, 6},
        {7, 8, 9}
    };

    // for(int i=0; i<n; i++){
    //     for(int j=0; j<m; j++){
    //         cin>>matrix[i][j];
    //     }
    // }

    for(int i=0; i<n; i++){
        for(int j=0; j<m; j++){
            cout<<matrix[i][j]<<" ";
        }
        cout<<endl;
    }

    spiralOrder(matrix);

    return 0;
}

My launch.json file:
{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "C/C++ Runner: Debug Session",
      "type": "cppdbg",
      "request": "launch",
      "args": [],
      "stopAtEntry": false,
      "externalConsole": true,
      "cwd": "d:/Files/Desktop/Programming/C-plus-plus/PhysicsWallah/Lec19_2D_Array_Problems_4",
      "program": "d:/Files/Desktop/Programming/C-plus-plus/PhysicsWallah/Lec19_2D_Array_Problems_4/build/Debug/outDebug",
      "MIMode": "gdb",
      "miDebuggerPath": "gdb",
      "setupCommands": [
        {
          "description": "Enable pretty-printing for gdb",
          "text": "-enable-pretty-printing",
          "ignoreFailures": true
        }
      ]
    }
  ]
}


"If you have a friend who's quick, get out on the training pitch and get them to chase you. It's simple, but it will push you and you'll get quicker. You can also create a 1 vs 1 situation and have a team-mate run at you with the ball. As an attacking full-back I like to practise my dribbling at speed, using my pace to beat an opponent. With me being a right-back and Gareth Bale a left winger, I mark him quite a lot in training. He's my sprint trainer and he gives me a good run for my money when it comes to acceleration and deceleration.
"To build power in my legs for acceleration, I do squats and lunges as part of a mini-circuit that takes 20-30 minutes. I perform the squat with a barbell and do four sets of two or three repetitions.
I'll do the lunge wearing a 10 kilogram weighted vest. To help develop explosive strength, I spring upwards, switching legs in mid-air and landing back in the lunge position.
I'll do five lunges on each leg. These exercises fire up your glutes to improve acceleration over the first five yards.