The Supreme Court threw out the Arizona law that requires people to prove they are US citizens before registering to vote.
The Supreme Court ruled Monday that states cannot require would-be voters to prove they are U.S. citizens before using a federal registration system designed to make signing up easier.
The justices voted 7-2 to throw out Arizona's voter-approved requirement that prospective voters document their U.S. citizenship in order to use a registration form produced under the federal "Motor Voter" voter registration law.
Federal law "precludes Arizona from requiring a federal form applicant to submit information beyond that required by the form itself," Justice Antonia Scalia wrote for the court's majority.
The court was considering the legality of Arizona's requirement that prospective voters document their U.S. citizenship in order to use a registration form produced under the federal "motor voter" registration law. The 9th U.S. Circuit Court of Appeals said that the National Voter Registration Act of 1993, which doesn't require such documentation, trumps Arizona's Proposition 200 passed in 2004.


Confused about Green? Don't know what you need to know about Green for your business? No matter what your business, be it manufacturing or service, you need to understand the potential impact of what Green and environmental requirements will have on what you do.
"Going green" has become a popular concept in recent years, with many businesses claiming to be "green." But do you know what "green" really means? Regardless of what your beliefs are concerning sustainability and climate change, it is clear "green" is here to stay. And to remain successful in the marketplace, your business may have no other choice but to address this growing environmental concern.
Developed by Sam Windsor, Six Sigma expert and author of "An Introduction to Green Process Management," these Green Process Management seminars educate attendees about green standards and specifications. They also provide a roadmap with tools needed to lead a company in its quest to take advantage of cost reductions, improve a public image and increase sales by becoming a truly "green" company.
Check out Sam's Blog on Green Process Management.
Two class options are available. Get introduced to what Green is and many of the concepts of Green in a 2 day Introduction session. The full course is 5 days and will give you the knowledge and tools to get your organization on the path to Green.


Next, add avocado for creamy texture and richness that balances all the lighter elements you're piling on. Finish the whole thing with convenient jarred roasted red pepper, a few slices of crispy cucumber, and a shot of grassy, fragrant chives. Season, sandwich, grill, and devour.
Grilling isn't strictly necessary, but the pressure really boosts cohesion, and the toasted bread adds welcome texture. Speaking of bread and texture, be sure to choose a nice, thick, hearty loaf that will stand up to your filling (and grilling). This guy will also make a great picnic sandwich served on baguette—see the note in the recipe below.
Rinse the chickpeas in a sieve and set aside to let drain thoroughly.
Meanwhile, cut pepper into 1/2-inch-thick strips and set aside. Finely chop chives and set aside. Thinly slice cucumber and set aside.
Use a fork to mash avocado with 1 tsp lemon juice and a generous pinch salt. Set aside.
Chop parsley leaves so that no large leaves remain. Use a potato masher to mash chickpeas, parsley, olive oil, generous pinch salt, and 1 TBSP lemon juice until chickpeas are broken up.
Heat a closing countertop electric grill. To assemble one sandwich, take two slices bread. Add one-quarter of the chickpea salad to one slice and one-quarter of mashed avocado to the other slice. Atop the chickpeas, add pepper slices, chives, and cucumber slices. Sprinkle a generous pinch each salt, pepper, and dried oregano over the mashed avocado. Sandwich, grill until browned (about three minutes), and serve immediately. Repeat with remaining ingredients.
Picnic Variation: Assemble sandwiches using baguette. Do not grill. Wrap each snugly in parchment paper. Stored this way, sandwiches will keep well for 2-3 hours.


The Gift of Giving is over!
If you would like to see what great items were available, you can check them out below.
Want more stuff like Gift of Giving?
Sign up for new Envato content, updates, surveys & offers.
© 2015 Envato Pty Ltd.


text:
Billie Eilish wins Peta's 'Person of the Year' 2021
The vegan singer-songwriter, 19, is the youngest winner of Peta's Person of the Year award which she received for "championing animal rights and never staying silent about injustice".
Vegan Billie Eilish pushed for designer Oscar de la Renta to stop using fur and made history when the Met Gala exclusively served vegan meals (IAn West/PA)
Fri, 03 Dec, 2021 - 09:58
Ellie Iorizzo, Senior Entertainment Reporter PA
Billie Eilish has been named Peta's person of the year after advocating for designers to stop using fur.
Peta praised Eilish for "using her influence to push the fashion industry to recognise that cruelty is never in style" after she forced designer Oscar de la Renta to stop using fur.
Eilish, who has been vegan since the age of 12, agreed to partner with the brand wearing a custom silk-free gown to the Met Gala only if they agreed to ban fur, which it did.
The No Time To Die singer told Peta: "I find it shocking that wearing fur isn't completely outlawed at this point in 2021.
"I am so beyond thrilled that … the Oscar de la Renta team heard me on this issue and have made a change that not only makes an impact for the greater good for animals but also for our planet and environment, too."
Turkeys (Steve Parsons/PA)
As a Met Gala co-chair, Eilish also introduced exclusively vegan meals for the first time at the high profile star-studded event.
Ahead of Thanksgiving, Eilish used her influence of more than 96 million followers to encourage her fans to embrace going vegan, adding that "turkeys are some of the most gentle creatures in the world".
The Grammy Winner also launched a vegan leather Air Jordan shoe collection with Nike and her first perfume which contains no animal-derived ingredients and is not tested on animals.
She joins past winners of the annual award including Joaquin Phoenix, Carrie Johnson, Lewis Hamilton, Pamela Anderson, Pope Francis, Oprah Winfrey and the late Sir Roger Moore.
Peta founder Ingrid Newkirk said: "Billie Eilish is making sure that the party's over for meaty, milky meals as well as for leather, fur, and silk.
"Peta is happier than ever to celebrate her for seizing every opportunity to point out that vegan fashion and foods are kinder to the animals and the planet we share with them."
Movie review: The Tender Bar is a feelgood tale of talent and working-class grit triumphing
Saturday TV Tips: Who is the Masked Singer — any good guesses?
Album review: Fragments by Bonobo is a valentine to big rooms and big beats
PetaPlace: UK
Movie review: The self-referential aspects of Scream will likely prove most satisfying for fans
Scene & Heard Newsletter
Sign up for Scene & Heard, our dynamic weekly arts and culture newsletter curated by the Irish Examiner Arts Editor.
FOLLOW IRISH EXAMINER
Louise O'Neill
Strong voices, sharp writing on the issues that matter to you
Music, film art, culture, books and more from Munster and beyond.......curated weekly by the Irish Examiner Arts Editor.

redpajama_set_name: RedPajamaCommonCrawl


Feline leukemia virus (FeLV) is a disease that is highly contageous and weakens the immune system, increasing the risk of secondary infections. This virus infection is second only to trauma as the leading cause of death in cats, affecting all breeds. Males are more likely to contract the infection than females, and it is usually seen between the ages of one to six years old.
Feline leukemia is a disease that only affects cats — it cannot be transmitted to people, dogs, or other animals. FeLV is passed from one cat to another through saliva, blood, and to some extent, urine and feces. The virus does not live long outside the cat's body — probably just a few hours. Grooming and fighting seem to be the most common ways for infection to spread. Kittens can contract the disease in utero or through an infected mother's milk. The disease is often spread by apparently healthy cats, so even if a cat appears healthy, it may be be infected and able to transmit the virus.
A simple blood test can be done to see if your cat has been infected with FeLV. A positive result is not a death sentence, and your veterinarian can recommend treatment to help your cat.
New cats or kittens over eight weeks of age should be tested for the virus before being introduced to a multi-cat household. Most veterinarians counsel against introducing a new cat into a household with a FeLV-positive cat, because he or she may be at risk for contracting the infection – even with vaccination. In addition, the stress of a newcomer may adversely affect the FeLV-positive cat.
Keeping your cat indoors and away from infected cats is a sure way to prevent him from contracting FeLV. A simple vaccination and annual examinations can help keep your cat safe and healthy.
Information taken from The American Association of Feline Practitioners, PetMD, and WebMD.


text:
Join BoF Professional
Visit BoF Careers
Agenda-setting intelligence, analysis and advice for the global fashion community.
Professional Exclusives
The News in Brief
Workplace & Talent
The BoF Show with Imran Amed
The State of Fashion
Read Careers Advice
BoF 500
BoF Professional
BoF Careers
BoF Insights
BoF Events
Trusted Journalism
Retail Luxury Technology Sustainability Marketing Beauty DTC Global Markets Fashion Week Workplace & Talent
Login to your existing account
Sign up to:
Read daily fashion news
Download special reports
Sign up for essential email briefings
Follow topics of interest
Receive event invitations
How Government Regulation Could Hurt Boohoo's Ambitions
A customs investigation into forced labour allegations has brought the future of Boohoo's US business into question, in what could become a rude awakening for fashion brands everywhere.
Boohoo campaign. (Boohoo)
Rachel Deeley
A new investigation into Boohoo's labour practices has put the entire fashion industry on notice.
US Customs and Border Protection is looking into allegations made by an anti-trafficking organisation that the fast-fashion giant has relied on forced labour to produce clothes at its Leicester factories. If the allegations are proven, the regulator would have the power to put a stop to US apparel imports from the region.
That's a remote possibility, at least in the short term, and customs officials have yet to offer a timeline for their investigation. But an import ban is less far-fetched than it might have seemed even a few months ago. In January, US Customs halted imports of cotton products that could be traced to China's Xinjiang province, after reports emerged of forced labour and internment of hundreds of thousands of Uighur Muslims in the region (a claim Beijing denies).
The US Customs investigation marks an escalation after nearly a year of scrutiny over the treatment of garment workers in Leicester, a manufacturing hub in the north of England, and by Boohoo in particular. Last summer, The Sunday Times reported workers producing clothes for the brand were paid as little as £3.50 ($4.39) an hour. Boohoo commissioned an independent review, which found the company knew about the mistreatment and did "too little, too late" to address it.
The latest allegations come from Liberty Shared, an anti-trafficking group, which sent two petitions to US Customs asking that they halt imports from Boohoo and Leicester apparel factories generally — with the exception of two named facilities: Basic Premier Limited and Ethically Sourced Products Limited. In a February 22 letter reviewed by BoF, the regulator said the petitions contained enough information to trigger an investigation.
"This isn't a criminal investigation," said Duncan Jepson, Liberty Shared's managing director. "This is simply about — from a US perspective — [whether] they want these goods in their country. They've made a choice; they're not going to give it the benefit of the doubt, they're going to [act on] reasonable suspicion."
Boohoo told BoF it had not been notified by US Customs about an investigation, but said it would work with authorities "to assure them products from our supply chain meet the required standard."
"We are confident in the actions that we are taking to ensure that all of our products meet and exceed the CBP criteria on preventing the product of forced labour entering the US (or any of our markets)," the company said, adding that it had improved oversight over its Leicester factories since last year.
The investigation threatens what has become one of Boohoo's biggest markets. The US accounted for £263.6 million ($367 million) in sales last year, or about 21 percent of total revenue. Nasty Gal, an American brand Boohoo acquired in 2017, is growing fast.
There is also risk to Boohoo's reputation with its UK customers, though the brand has yet to see a significant sales impact from last year's investigations. Shares have fallen by about 4 percent since the first media reports about Liberty Shared's petition on Tuesday.
The Customs investigation has industry-wide implications. Boohoo isn't the only brand to face accusations of ties to forced labour. The problems aren't limited to fast fashion, with some luxury labels accused of mistreating workers.
Many countries have introduced regulations to pressure brands to examine their supply chains for abuses. The UK passed the Modern Slavery Act in 2015, which requires companies with an annual turnover of at least £36 million to publish yearly statements on how they address the risk of forced labour in their business operations. However, the law doesn't require companies to guarantee their supply chains are free of forced labour.
Public attention to the abuses in Xinjiang, as well as the US ban on cotton from the region, have put pressure on governments to go further. The UK government recently introduced plans to fine companies that fail to publish the annual statements required under the Modern Slavery Act. The European Commission is drafting a law to require human rights disclosures. Germany is considering fining large companies up to 2 percent of annual turnover for human rights violations.
Mostly, however, it's left to the public to force companies to clean up their supply chains, one reason the recent actions by US Customs are so noteworthy.
"Where their disclosures are inadequate, [businesses] are being called out by civil society and by investors, but that is very different to the guillotine coming down and saying, 'You shall not import the following goods,'" said Sam Eastwood, a London-based lawyer at Mayer Brown.
Fashion Says It Can Police Its Supply Chain. So Why Are There So Many Scandals?
Boohoo Faces Request for US Import Ban Over Labour Concerns
What the Latest Clampdown on Xinjiang Cotton Means for Fashion
© 2022 The Business of Fashion. All rights reserved. For more information read our Terms & Conditions
More from Sustainability
Hold the industry accountable and catalyse solutions on environment, labour and ethics.
The Marketing Challenge Behind Schiaparelli's Fur Faux Pas
The brand's hyperrealistic (but fake) animal heads sparked outrage this week, highlighting the increasingly delicate balance brands must strike between provocative marketing and shifting consumer values.
How Climate Change Is Transforming the Way We Shop
Shifting weather patterns are making shopping behaviour harder to predict, adding to inventory management challenges for brands and retailers.
Gucci Pulls Rabbit Felt Products
The company faced questions about how rabbit felt, which is made from the animal's hairs, fit with its no-fur policy.
Adidas, Activism and Fake News
This week, a spoof press release claimed Adidas had appointed a co-CEO to address rights violations in its supply chain, a sign of more disruptive and confrontational tactics from advocacy groups focused on the industry.
BoF Insights(Opens in new window)


Wakefield Civic Society will this week help to host the national convention of civic societies when over 100 representatives from across the country assemble in the city on 20th and 21st October.
The two-day event, which is based at Unity Works on Friday, 20th October before moving to Cedar Court Hotel in the evening, will bring together volunteers from across England who are committed to help improving the places in which they live. Organised by national campaign group Civic Voice, this annual event is held in a different city each year: it has previously been held in Liverpool, Chester, Canterbury and Bristol, among others.
Delegates will also get to hear from a number of national speakers including Joan Humble, chair of Civic Voice, and Laura Sandys, Vice President of Civic Voice: Laura will speak on the 50th anniversary of the Civic Amenities Act 1967, a piece of legislation that introduced the concept of Conservation Areas.
·Colin Davis, industry expert on the public realm.
One of the highlights of the convention will be a dinner at Cedar Court Hotel where there will be a performance by members of the Theatre Royal Performance Academy.


This weeks promps were perfect. I just saw Jackson Pollock paintings in Metropolitan Museum and one of the promps was to interprit his style into artjournaling page.
Now that I'm Russian and in NYC and speak Enlish, I have ben playing with Borat accent a lot. I just can't stop saying silly words like 'niiiice'. Speaking foreign language can be tiring so midnight silence is what I need.
How cool, I love how you used that comic page!


text:
Q: PHP script not inserting into pg database I am writing a basic PHP registration script with the following database:
DROP TABLE IF EXISTS authentication;
CREATE TABLE authentication (
    userID SERIAL UNIQUE REFERENCES users(userID),
    eMail TEXT PRIMARY KEY REFERENCES users(eMail),
    passwordSalt TEXT,
    hashedSalt TEXT,
    saltText TEXT,
    securityAnswer1 TEXT,
    securityAnswer2 TEXT,
    securityAnswer3 TEXT
);

and the following registration script:
<?php
  include 'https.php';

  //Create a connection to the database. If the connection fails, kill the
  //process and issue an error message
  $conn = pg_connect("host=localhost user=myusername password=mypassword dbname=mydatabase");
  if (!$conn) {
    die("Failed to connect to database.");
  }

  //If the register button is pressed..
  if (isset($_POST['submit'])) {
    //Check to make sure password+confirmation match. If not, error out.
    if ($_POST['password'] != $_POST['confirm-password']) {
      echo 'ERROR: passwords do not match
';
      echo 'Return to registration page.
';
      break;
    }

    //Then check to make sure the username doesn't already exist in the DB.
    $result = pg_prepare($conn, "duplicateUser", 'SELECT username FROM mydatabase.users WHERE username = $1');
    $result = pg_execute($conn, "duplicateUser", array($_POST['username']));
    $row = pg_fetch_assoc($result);

    //If it already exists, set match to true.
    foreach ($row as $res) {
      if ($res == $_POST['username'])
        $match = true;
    }

    //If match is true, error out.
    if ($match == true) {
      echo 'ERROR: username already in use
';
      echo 'Return to registration page.
';
      $match = false;
      break;
    }
  }
?>

<title>Registration page</title>

<form method='POST' action='registration.php'>
Username (e-mail): <input type='text' name='username' />

Password: <input type='password' name='password' />

Confirm password: <input type='password' name='confirm-password' />

<input type='submit' name='submit' value='Register' />

</form>
Return to login page.

<?php

  //If the registration button is pressed..
  if (isset($_POST['submit'])) {
    //Take the username and password, salt the password using an SHA1
    //encryption of a random number, concatenate the password to the
    //beginning of the salt, then save the SHA1 of that concatenation
    //as the hashed and salted password.
    $username = $_POST['username'];
    $confirmusername = $_POST['confirm-username'];
    $password = $_POST['password'];
    $confirmpassword = $_POST['confirm-password'];
    if ($username != $confirmusername)
        echo "Please make sure your username is consistent.";
    if ($password != $confirmpassword)
        echo "Please make sure your passwords match.";

    $salt = sha1(rand());
    $saltedPass = $password.$salt;
    $hashedSalt = sha1($saltedPass);

    //Store the username, hashed+salted password, and salt in the
    //authentication table.
    $result = pg_prepare($conn, "authentication", 'INSERT INTO mydatabase.authentication VALUES ($1, $2, $3)');
    $result = pg_execute($conn, "authentication", array($username, $salt, $hashedSalt));

    //Start the session, set the $_SESSION variables loggedin to true and
    //username to the supplied username, then redirect to index.php
    session_start();
    $_SESSION['loggedin'] = true;
    $_SESSION['username'] = $username;
    header("Location: index.php");
  }
?>

But when I get on PHPpgAdmin, the rows haven't been inserted into the database. Any ideas?
Thanks.

A: First thought is that you need to explicitly commit the transaction. This answer seems to confirms that there is no autocommit with Postgres.

A: The code should test the result of pg_prepare and pg_execute, and show or log pg_last_error() on error. Otherwise you're in the dark on any problem.
Also, since it connects to a database named mydatabase and refers to tables as mydatabase.tablename, it can be reasonably suspected that you're applying this MySQL thing of prepending the database name to the table name. It doesn't apply to Postgres. The databases of MySQL are the equivalent of schemas in PostgreSQL.
So unless you have explicitly created a postgres schema named mydatabase, try without any prefix:
INSERT INTO authentication VALUES ($1, $2, $3)

This also apply to the previous SELECT that probably fails for the same reason, and it also lacks error checking.

redpajama_set_name: RedPajamaStackExchange


text:
British India Line to visit Wensleydale Railway
20th July 2018 Sam Hewitt News
West Coast Railways supremo David Smith has agreed to send recently restored Bulleid Merchant Navy Pacific No. 35018 British India Line to the Wensleydale Railway.
The Carnforth-based locomotive is to star in the heritage line's 1940s weekends.
It is set to arrive with the railway's main line connection today (Friday, July 20), and will head trains on July 21/22.
No. 35018 British India Line arriving in Carlisle with the York to Carlisle leg of 'The Great Britain XI' on April 20. DAVID MOYLE/CREATIVE COMMONS
The Leyburn 1940s Weekend will feature the line's Evacuee Train.
No. 35018 was built as 21C18 at Eastleigh Works in 1945, and was one of the first batch of 20 Merchant Navies.
It was withdrawn in 1964 having clocked up around 956,000 miles, and sent to Barry scrapyard.
No. 35018 was bought for preservation in 1979, but it was not until it was moved to Carnforth in 2011 that the loco was fully restored.
Read more News and Features in Issue 243 of HR – on sale now!
Previous Post:Calder Valley DMU steals the show!
Next Post:Severn Valley back in steam


text:
Q: Error installing wine When I install wine, I get this. I have ubuntu 13.10. I am connected to the internet, I am posting this with the same computer. I have no proxy.
Fixed. I the source to the Main not US
ben@ben-HP-ENVY-dv4-Notebook-PC:~$ sudo apt-get install wine1.7
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  liblcms2-2:i386 winbind wine-gecko2.24 wine-gecko2.24:i386 wine-mono4.5.2
  wine1.7-amd64 wine1.7-i386:i386 winetricks
Suggested packages:
  liblcms2-utils:i386 libpam-winbind libnss-winbind dosbox:any
Recommended packages:
  wine1.5-amd64 wine1.5-i386:i386 wine-mono4.5.2:i386 wine1.5 wine1.4 wine
  cxoffice5 cxgames5
The following NEW packages will be installed:
  liblcms2-2:i386 winbind wine-gecko2.24 wine-gecko2.24:i386 wine-mono4.5.2
  wine1.7 wine1.7-amd64 wine1.7-i386:i386 winetricks
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,511 kB/156 MB of archives.
After this operation, 378 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  liblcms2-2
Install these packages without verification [y/N]? y
Err http://us.archive.ubuntu.com/ubuntu/ saucy-updates/main winbind amd64 2:3.6.18-1ubuntu3.1
  404  Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com/ubuntu/ saucy-security/main winbind amd64 2:3.6.18-1ubuntu3.1
  404  Not Found [IP: 91.189.91.14 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/s/samba/winbind_3.6.18-1ubuntu3.1_amd64.deb  404  Not Found [IP: 91.189.91.14 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

When I do it through the software center, I get this.

A: I guess the US servers were down, so what I did was I went to the software center and did Edit > Software Sources.
Then I changed it from US to Main


Australia's goods and services tax (GST) is messy. To ensure that the GST passed Parliament, a deal was brokered to exclude certain items including fresh food, education, health and child care. The reason for the carve out was to ensure that low income earners are not adversely affected by the GST on the necessities of life. Our New Zealand neighbours however, took the simpler approach and apply GST to most things, leaving the social security system to target the needs of low-income earners.


text:
4 additional temples to begin Phase 3 in coming weeksNewsroom of The Church of Jesus Christ of Latter-day Saints - Editor's note: This press release was originally published on May 7, 2020, and has been updated weekly. A complete list of temples and their status is included after the press release. Below is a list of temples changing status. Phase 1 No temples will open in Phase 1 on January 25, 2021. A total of 17 temples are in Phase 1. Phase 2 No temples will open in Phase 2 on January 25, 2021. A total of 121 temples are in Phase 2. Phase 3 No new temples will reopen in Phase 3 on January 25, 2021. A total of four...
7 teachings on racial harmony from Church leaders in the last yearLDS Living Staff - On Martin Luther King Jr. Day, we celebrate a man who dreamed of a better nation —a dream of a nation that would "rise up and live out the true meaning of its creed: We hold these truths to be self-evident, that all men are created equal." The call for equality was also echoed by Church leaders throughout last year. Here are some of the powerful teachings they shared, listed in chronological order. Elder Gary E. Stevenson "The work of forming a unified society begins in the soul . . . We fulfill the invitation of the Savior to love one...
'Never alone': The unforgettable lesson of faith I learned in Dr. Martin Luther King Jr.'s homeDanielle Christensen - This article originally ran on LDS Living in January 2020. It's a sweltering early-autumn afternoon on September 23, 2016, and my sister and I are driving through the streets of Montgomery, Alabama, on our way to the Reverend Dr. Martin Luther King Jr.'s home. Dr. King lived in Montgomery between 1954 and 1960, the same period of time as the 1955–56 bus boycott that launched the civil rights movement. At first glance, the white wooden house with a brick pathway leading to the front porch appears to be nothing out of the ordinary. Only, the charming exterior is far from your...
8 Latter-day Saint voices who helped us better understand the need for racial equalityLDS Living - The year 2020 will be remembered for many significant reasons. Among them will be the way in which the year reminded us that racial strife is not a thing of the past but something that very much still exists in our world. It is something that we at LDS Living hope will soon come to an end, but until that time, it is up to all of us to contribute to the conversation rather than attempt to silence it. As Dr. Martin Luther King Jr. said, "In the end, we will remember not the words of our enemies, but the silence...
In case you missed it: Top LDS Living articles from this weekLDS Living Staff - Here's a snapshot of what you may have missed on LDS Living this week. You can also subscribe to the LDS Living newsletter for daily inspiration right to your inbox. Featured Stories The doors we walk through (A reflection on 2020) We saw a lot of doors close in 2020—the doors to our homes, our churches, our schools. And as the months passed, many people watched their doors to opportunity swing soundly shut, often taking their optimism with it. Read more . What I learned about the limitless power of the Spirit during my virtual vacation to Church historic sites At...
'She really made a choice': What Tom Christofferson learned about love through watching his mother endure health problemsLDS Living - Members of the Church first met Tom Christofferson when he wrote his first book, That We May Be One: A Gay Mormon's Perspective on Faith & Family . The book told the story of how the love of those around him, including his immediate family, brought him back to the gospel of Jesus Christ after spending two decades away from the Church. In his new book, A Better Heart , Christofferson explores Christlike love in greater depth, but in both books there is one standout character: his mother. Christofferson told LDS Living about a family meeting the Christoffersons had a couple...
Church statement condemns recent 'violence and lawless behavior'Newsroom of The Church of Jesus Christ of Latter-day Saints - A message from the First Presidency and Quorum of the Twelve Apostles of The Church of Jesus Christ of Latter-day Saints. Principles of government that allow God's children to maintain human dignity and freedom belong to all mankind. (see Doctrine and Covenants 98:5 ) . With great concern we observe the political and cultural divisions in the United States and around the world. We condemn violence and lawless behavior, including the recent violence in Washington, D.C. and any suggestion of further violence. While The Church of Jesus Christ of Latter-day Saints is neutral in matters of party politics, we remind our...
President Ballard encourages 2021 youth conferences and camps in the US and CanadaNewsroom of The Church of Jesus Christ of Latter-day Saints - In a letter to leaders of The Church of Jesus Christ of Latter-day Saints in the United States and Canada, President M. Russell Ballard, Acting President of the Quorum of the Twelve Apostles, encouraged leaders to look for ways to reconnect with youth in 2021 through local ward or stake youth conferences and Young Women and Aaronic Priesthood camps. The For the Strength of Youth (FSY) conferences (gatherings of teenagers from dozens of congregations) are postponed in the United States and Canada until 2022. Congregational leaders should hold youth conferences and camps on a smaller (and, if need be, virtual) scale...
Lesson Helps
From the Church
Famous Mormons
Makes You Think
Mormon Life
12 unique study journals for 2021LDS Living Staff - Many of us hit reset on our study habits and set personal goals at the start of a new year. So why not refresh the way you record your thoughts with a unique new journal? Whether you're looking for a study tool to help with Come, Follow Me , a place to record your personal insights on gospel classics, or inspired prompts on the Sabbath or personal revelation, you're sure to find a journal hand-tailored to your stage of life. Doctrine and Covenants + Pearl of Great Price, Journal Edition The Doctrine and Covenants and Pearl of Great Price, Journal Edition...
25 photos of Elder Andersen that will make you love him even more
byLDS Living Staff | Aug. 09, 2020
This story was originally published by LDS Living in August 2018 and has been updated to celebrate Elder Andersen's birthday.
Elder Neil L. Andersen was born on August 9, 1951, in Logan, Utah, and grew up in Pocatello, Idaho, on a dairy farm. He was called to be a member of the First Quorum of the Seventy in 1993 and was called to the Quorum of the Twelve Apostles in 2009. He married Kathy Williams in 1975, and they are the parents of four children.
Here are some of our favorite pictures to celebrate this beloved apostle.
Elder Andersen's childhood picture. Image from Deseret News.
Elder Andersen and his family. Image from Deseret News.
Image from Deseret News.
Elder Andersen as a young man. Image from Deseret News.
► You may also like: The powerful experience Elder Andersen had with the First Vision at 16 years old
Elder Andersen served as a missionary in France. He worked until he wore holes through the soles of his shoes. Image from ChurchofJesusChrist.org.
Elder Andersen served as a mission president in France. Image from ChurchofJesusChrist.org.
Elder Andersen was married in the Salt Lake Temple in 1975. Image from ChurchofJesusChrist.org.
Elder Andersen and Mitt Romney and their wives at the Paris France Temple. Image from Facebook.
Elder Andersen at the Dodgers game. Image from Deseret News.
Elder Andersen presents retired Brazilian soccer star Pele with a sculpture representing family unity. Image from ChurchofJesusChrist.org.
Elder Andersen with his wife and his grandchildren. Image from Deseret News.
► You may also like: Elder Andersen shares how the premortal existence builds our faith today
Elder Andersen, Elder Costa, and President Nelsen in a meeting in Brazil. Image from Facebook.
Image from Facebook.
Elder Andersen visiting Congo, Africa. Image from Facebook.
Elder Andersen and Elder Clayton visiting a family who just lost their daughter in a car accident. Image from Facebook.
Elder Andersen surprising a married couple on their wedding day. Image from Deseret News.
Elder Andersen and his wife in Peru. Image from Facebook.
Elder Andersen and Elder Boyd K. Packer. Image from Deseret News.
► You may also like: Elder Andersen's counsel to missionaries questioning their worthiness
Elder Andersen at the Lisbon Portugal Temple dedication on September 15, 2019. Image from Facebook.
Elder Andersen holds a child during a member meeting in Bangkok, Thailand, on January 12, 2020. Image from Intellectual Reserve, Inc.
Fun Inside The Life Of An Apostle Elder Andersen ApostleInside The Life Of An Apostle,Elder Andersen,Apostle,Fun
Comments and feedback can be sent to feedback@ldsliving.com
INFORMATION AND INSPIRATION FOR LIVING A LATTER-DAY SAINT LIFE
Daily news, articles & videos right to your inbox.
I agree and consent to LDS Living's Privacy Policy
We keep your email private.
Church statement condemns recent 'violence and lawless behavior'
Newsroom of The Church of Jesus Christ of Latter-day Saints
See what the Tallahassee Florida Temple will look like
4 additional temples to begin Phase 3 in coming weeks
'Never alone': The unforgettable lesson of faith I learned in Dr. Martin Luther King Jr.'s home
Danielle Christensen
21 photos of Elder Bednar that will make you love him even more
LDS Living Staff
24 rare photos of President Eyring that will make you love him even more
23 photos of Elder Renlund that will make you love him even more
LDS Living
Come, Follow Me Lesson Helps
Subscribe To Print Magazine
Latter-day Saint Travel
Latter-day Saint Art
Latter-day Saint Movies
Missionary Clothing
ChurchofJesusChrist.org
Deseret Bookshelf App
Time Out for Women Events
Follow LDS Living on
Follow @ldsliving
Terms of Use©2021 LDS Living, A Division of Deseret Book Company


text:
Q: get path of recursive for loop in python here i am having a sample dataframe
test_list = [['male','pack','lower'], ['male','nonpack','upper'], ['female','pack','upper'], ['male','pack','middle'], ['female','nonpack','middle']]
df1=pd.DataFrame(test_list, columns=['gender', 'subscription', 'ageCategory'])

the output which i need is
 gender-male|subscription-pack|ageCategory-lower
 gender-male|subscription-pack|ageCategory-upper
 gender-male|subscription-pack|ageCategory-middle
 gender-male|subscription-nonpack|ageCategory-lower
 gender-male|subscription-nonpack|ageCategory-upper
 gender-male|subscription-nonpack|ageCategory-middle
 gender-female|subscription-pack|ageCategory-lower
 gender-female|subscription-pack|ageCategory-upper
 gender-female|subscription-pack|ageCategory-middle
 gender-female|subscription-nonpack|ageCategory-lower
 gender-female|subscription-nonpack|ageCategory-upper
 gender-female|subscription-nonpack|ageCategory-middle

the recursive function which I wrote to obtain the  o/p
global name_list
name_list = []
global flag
flag=1
list_tuples = []
def do_calcuations1(iteration_list, level, df1, length=None):
    global name
    global flag
    if level < 3:
        name_list.append(iteration_list[level])
        catogries = df1[iteration_list[level]].unique()
        for cata in catogries:
            name_list.append("-"+str(cata))
            df2 = df1[df1[iteration_list[level]] == cata]
            do_calcuations1(iteration_list, level + 1, df2, len(catogries))
            name_list.pop()
    else:
        if level == 3:
            print("the name from list is ", "|".join(name_list))
            info = (name, df1)
            list_tuples.append(info)
            if length == flag:
                name_list.pop()
            else:
                flag += 1
        pass
iteration_list=['gender', 'subscription', 'ageCategory']
do_calcuations1(iteration_list,0,df1)

the output that I am getting is
 gender|-male|subscription|-pack|ageCategory|-lower
  gender|-male|subscription|-pack|ageCategory|-middle
  gender|-male|subscription|-nonpack|ageCategory|-upper
  gender|-male|subscription|-female|subscription|-pack|ageCategory|-upper
  gender|-male|subscription|-female|subscription|-pack|-nonpack|ageCategory|-middle

I am trying to save each unique data frame and its path as  a tuple and appending it to a list
can anyone show me the right approach to do this, Thanks!

A: You can use pd.MultiIndex.from_product to create cartesian product of 3 columns:
s = (pd.MultiIndex.from_product([("gender-"+df1["gender"]).unique(),
                                   ("subscription-"+df1["subscription"]).unique(),
                                   ("ageCategory-"+df1["ageCategory"]).unique()],
                                  names=df1.columns)
       .to_frame(False))

print (s)

           gender          subscription         ageCategory
0     gender-male     subscription-pack   ageCategory-lower
1     gender-male     subscription-pack   ageCategory-upper
2     gender-male     subscription-pack  ageCategory-middle
3     gender-male  subscription-nonpack   ageCategory-lower
4     gender-male  subscription-nonpack   ageCategory-upper
5     gender-male  subscription-nonpack  ageCategory-middle
6   gender-female     subscription-pack   ageCategory-lower
7   gender-female     subscription-pack   ageCategory-upper
8   gender-female     subscription-pack  ageCategory-middle
9   gender-female  subscription-nonpack   ageCategory-lower
10  gender-female  subscription-nonpack   ageCategory-upper
11  gender-female  subscription-nonpack  ageCategory-middle

# As key vs value pairs:
print ({"|".join(y.iloc[0]): y for _, y in s.groupby(level=0)})


text:
Sonakshi and Bunty can get engaged in the year 2017
In the year 2012, Sonakshi Sinha's name was linked to her boyfriend Bunty Sajdeh. And she is been denying it always. Let me tell you Bunty Sajdeh is brother in law of Sohail Khan. They both are seen doing outing many times. Now again if to believe the news that then this new couple can give a new turn to this relation. According to the report, Sonakshi and Bunty can get engaged in the year 2017. Earlier also there were reports of her getting engaged. But then Sonakshi denied such reports. Well, news of their affair is coming from the year 2012. That time Sonakshi denied her affair with Bunty. Apart from this in the year 2012, Bunty started managing the endorsement deals of Sonakshi Sinha. Bunty was also seen in Sonakshi Sinha's 29th Birthday party. Arbaaz Khan confirmed Dabangg 3 Bunty before her has dated Miss Universe Sushmita Sen. He has been the manager of Virat Kohli, Shikhar Dhawan, and Rohit Sharma. Bunty even had affair news with Dia Mirza, Neha Dhupia, Sameera Reddy. Sonakshi Sinha was last seen in the film 'Akira'. This film was the flop at the box office. This film was directed by A.R Murugadoss. Sonakshi was seen in an action avatar in this film. Anurag Kashyap was seen playing a corrupt police officer in this film. Force 2 box office collection Sonakshi next will be seen in the film 'Noor'. Actors like Kanan Gill, Shibani Dandekar, Purab Kohli will also be seen in this film. This film is directed by Sunhil Sippy. You may also like :- Bollywood Movies 2017 Upcoming movies List Box office collection Superhit Movies List Top 10 Highest Grossing Movies 100 Crore Club
We should not be inspired by Indian, We are not Bollywood : Mahira Khan
Mira Rajput and Shahid Kapoor at Koffee With Karan
Varun Dhawan posted a matrimonial ad on Instagram will shock you
Working with Arshad and Naseeruddin Shah is a great experience : Sagarika Ghatge
Sunjay Dutt to be get freed from Yerawada jail on February 27
Rajinikanth's 'Kabali' enters club of 200 crores
Rajkummar Rao Bagged A Role In 'Fanney Khan' Opposite Aishwarya Rai Bachchan


I absolutely love this 100% cotton white dress. it has instantly become my favorite dress for summer. I really enjoy all the beautiful woven details you find throughout the top and bottom. The length is perfect, it shortens in the front and is slightly longer in the back. It has a loose but flattering fit, perfect for a hot summer day. Joy, is a fitting name I would give to this dress. I would definitely recommend this dress to anyone looking for tahat perfect everyday summer/beach dress.
Looking for a white sundress that is loose, comfortable, and stylish. Didn't see one in the stores!


Will Nevada Make Cannabis History This November?
All across the United States, tens of millions are getting ready to decide both the immediate and long-term future of cannabis legislation. Quite the contrary to the picture in the United Kingdom, lawmakers are putting it all in the hands of the people…as opposed to just making their minds up for them. Well, they are in nine US states, anyway, where both medical and recreational cannabis laws could be overhauled massively by the end of the year.
It's becoming apparent that both the public (in many regions) and the scientific community alike are crying out for more proactive and sensible cannabis legislation and control. 25 states have already legalized medical cannabis and there are four states where recreational pot is permitted. By the time Christmas rolls around, both of these figures might well have spiked sharply.
And for certain states, the influence legal cannabis could have on tourism may very well turn out to be spectacular. It's not as if places like Las Vegas don't already have enough magnetism for fun-seekers – imagine The Strip suddenly adding a bunch of cannabis clubs to its ranks!
While Nevada might be famous the world over for being home to 'Sin City' itself, it's not quite as lenient as you might expect when it comes to cannabis. It was back in late 2000 that medical marijuana was finally legalized in the state, after several years of frenzied campaigning and seemingly endless roadblocks. But even then, dispensaries faced so many problems getting up and running that the first didn't actually open its doors until five years later in 2015. Suffice to say, a pretty painful illustration of how red tape and bureaucracy can get in the way of these things.
So right now, prostitution and gambling are well and truly legal in Nevada, but recreational cannabis is still very much against the law in every way. It's technically decriminalized though, which means that if you're caught with modest amounts of the stuff and aren't clearly running a distribution empire, you won't necessarily get the book thrown at you…so to speak. You can still get in trouble though – a first offense by way of possession is classified as a misdemeanour, which means you won't be looking at any jail time, but you might well be lumped with a $600 fine. You'll be arrested, you'll be screened to see if you're an addict and you might be sent for involuntary rehabilitation. A second offense means up to $1,000 in fines, plus if the amount you're busted with is more than two ounces, that's up to four years in jail for you.
Nevada might not be the harshest state when it comes to cannabis-related punishments, but they've hardly been leading the charge for a liberal future, either.
However, just as is the case in another eight North American states, the people of Nevada will hit the ballot boxes in November to determine the future of cannabis state-wide. Known as Initiative Petition 1, the bill to legalize recreational cannabis has gained significant traction over recent months and seems to be heading in the right direction. In fact, it's even been said that the state's alcohol industry is backing the campaign, which given how much leverage and influence the industry has in Nevada is a big deal to say the least.
Like others, they're basically giving the local population the opportunity to decide whether recreational cannabis should be regulated and controlled in the same way as alcohol. This would mean that you'd need a license to produce and sell the stuff, though would be perfectly within your rights to buy and use it if you're over the age of 21. Suffice to say, the prospect of legalized cannabis in Nevada is the kind of thing that could see incalculable tax dollars being pumped into the state every year, both by locals and visitors alike. Indeed, it's hard to imagine how the appeal and reputation of Las Vegas alone would be transformed forever, if it suddenly became legal to smoke pot without fear of heavy fines and other punishments.
However, even those who are well and truly in favour of cannabis legalization in the state of Nevada have warned that actually getting things up and running post-vote will probably prove to be easier said than done. Going by the example set over in Colorado, it's likely that a number of teething problems will be faced along the way.
It was back in 2014 that Colorado legalized recreational cannabis, which has since become a billion-dollar annual industry of huge importance. Nevertheless, it wasn't quite a case of waking up one day and having total freedom to do what you want, where you want and how you want to do it.
"What we've seen has had a lot fewer unintended consequences than we thought would come up," said Andrew Freedman, director of Marijuana Coordination, state of Colorado.
The long and short of it being that according to Freedman, there's a lot of time and effort involved in establishing the kind of system that makes legal cannabis work for everyone.
While the new law seems relatively clear and concrete on the surface, chances are it will be the first of many to be brought before state legislators. Indeed, where recreational cannabis has already been legalized, dozens of amendments and additions to the imposed laws have been applied since the bid day itself, in order to plug holes and overcome unexpected challenges.
In the meantime, dozens of laws have gone in front of state legislators to modify, improve or fix unforeseen regulatory problems. Speaking on behalf of the Nevada Dispensary Association, executive director Riana Durett said that Nevada does at least have an advantage, in that what's taken place in Colorado to date can be used as an example to work by.
"We can get a little more of a jump start than Colorado did, we have a little bit of an advantage, but if those responsible for moving this forward don't do that, then they'll lose that opportunity," said Durett.
As far as the results of a recent poll show, recreational marijuana in the state of Nevada is supported by around 55% of the public. The eight-page initiative, if enacted, will as of January 1 next year make it legal for adults aged at least 21 to grow a maximum of six cannabis plants at home for their own personal use, while possession laws will change to allow residents to carry up to one ounce of weed or an eighth of an ounce of cannabis concentrate.
As is the case in far too many states…all of them, in fact…it's not as if everyone in Nevada is won over by the idea of cannabis legalization. Quite to the contrary in fact, opposition is proving to be both sizeable and strong. Over the last couple of weeks for example, an all-new formal campaign looking to prevent Question 2 from going ahead in November was launched. Far from another half-assed attempt to keep the public in the dark with a few random anti-cannabis slogans, this new push has none other than Gov. Brian Sandoval behind it, not to mention the organisation that represents the casino industry of Nevada.
And to say they're really pushing the most influential (if entirely contrived) point of all would be an understatement. Indeed, the group goes by the name of "Protecting Nevada's Children" – indirectly accusing anyone in favour of cannabis legalization of working against the future of Nevada's kids. Very clever.
"Nevada's future success depends on a better education system and a well-prepared workforce," said Republican former Nevada Assemblyman Pat Hickey, the campaign's spokesman.
Those involved in the campaign have so far refused to answer questions with regard to who exactly is funding the push, stating that they'll reveal all closer to the vote date itself. This has of course stirred controversy in its own right, given the fact that in so many other states it's been alcohol, tobacco and drug brands that have invested heavily in fighting cannabis legalization. Not that any of these give a damn about protecting the children of anywhere – it's all a matter of pure profiteering.
"As a father and grandfather, I've always been fearful of both the immediate and long-term effects of recreational marijuana usage," Sen. Dean Heller commented.
On the more sensible, informed and fact-backed side of the argument, supporters insist that legalized cannabis will help the state crack down on drug cartels, bring even greater numbers of tourists into the area and pump massive sums of cash into community projects, schools and so on.
"They have spent their lives believing that marijuana needs to be illegal and cannot grasp that a majority of Americans — and a majority of Nevadans — no longer do," said Coalition to Regulate Marijuana Like Alcohol spokesman, Joe Brezny.
We'll be finding out soon enough.
Do you think Nevada will legalize? Let us know below in the comments section.


Home » Blog » General » The underrepresentation of ethnic minorities in higher education: are aspirations to blame?
Young people from Black, Asian and Minority Ethnic (BAME) backgrounds are underrepresented at high status Russell Group universities. Why is this? Data from a major panel study of young people suggests it has little to do with their aspirations to apply to university, their expectations that they will get in if they do apply, or their propensity to seek information, advice and guidance on how to get there. This was the argument I presented at the Brilliant Club's inaugural conference last week, which brought together a range of researchers and practitioners to discuss how universities and schools can help pupils from low HE participation backgrounds secure places and succeed at highly selective universities.
The data suggest that young people's aspirations to go to university, and their expectations that they will get into university if they apply, aren't any lower among those from minority ethnic backgrounds (in fact, they're higher). However, the participation rates of minority ethnic groups at the UK's 24 leading universities are significantly lower than those for White young people, and the data also suggest that young people from these minority groups tend to have less positive experiences at university, and that they feel they had a less accurate picture of university before they attended.
What to make of these findings? I suggest that it might be important to look at the forms of information, advice and guidance (IAG) that young people use. In particular, I pick up on the fact that for all ethnic groups, 'friends and relatives' is by far the most popular source of IAG – a finding mirrored in an AAT report out today. It might therefore be important to target Widening Participation efforts at parents and family, alongside young people themselves. The point isn't that parents have 'low aspirations' for their children, but that if they haven't been to university themselves, they're less likely to be able to advise their children on the practicalities and benefits of higher education. Enam Ahmod, a student on the afternoon panel discussion at the Brilliant Club conference, suggested that university summer schools should be opened up to parents as well as their children. The University of Glasgow's Parents' Information Events are also a good example of how informational barriers to participation can be overcome. Underlying these efforts to widen participation, we need to keep this simple message in mind: it's about information, not aspiration.


text:
Q: Can I save up dragon souls? Can I save dragon souls or do I have to spend them before the next dragon will attack? It seems that I haven't seen a dragon in ages and I wonder if it is because I still have an unspent dragon soul?

A: You can. You need to manually unlock new shouts so they can be saved.
Dragon encounters, AFAIK, are totally random - I've got a stockpiled soul and found a dragon.


text:
La Commission communautaire commune (COCOM) règle et gère les matières communautaires communes aux deux communautés de la Région de Bruxelles-Capitale.

 La Coordinating Committee for Multilateral Export Controls (CoCom) était une organisation de la guerre froide qui visait à limiter l'accès à la technologie des pays communistes.

 Le Unified Combatant Command ou commandement de combat unifié se dit COCOM en anglais

redpajama_set_name: RedPajamaWikipedia


You may purchase a recycle bin at the Shrewsbury Health Department.
We offer a 22 gallon size bin and the cost is $11.00* (*price subject to change).
Note: You are not required to buy the Town's bin.
You may purchase your own bin at any hardware store up to a 32 gallon size (the color of the bin does not matter, it can be any color).
The Health Department can provide a free RECYCLE decal (limit of two per household).
IMPORTANT: Please DO NOT put your recyclables in any type of plastic bag.
Plastic bags are NOT recyclable.


Fairway Place resides next to the Snee Farm subdivision off of Highway 17 North and is an approximate five minute drive to the Isle of Palms beach. Several of the Fairway Place properties back up to the golf course of Snee Farm. In fact there is a golf cart path to Snee Farm from the subdivision.
Although there are no amenities in Fairway, homeowners have the option to become members of neighboring Snee Farms Club for a fee. Fairway Place consists of 36 homes which were built from around 1989 to 1997. Size of homes vary from 1200 to 2500 square feet. The expansion of Highway 17 has really hurt the value of these homes. They get a lot of road noise.


Amber is a native of Salt Lake City and considers Utah home. Compelled by her love for the mountains and her resident family and friends, she has returned to this familiar landscape between intervals in Chicago and Vancouver. She and her husband Paul currently reside in St. Andrews, Scotland where she is a Ph.D. candidate at the University of St. Andrews in Hebrew Bible.


text:
Q: When closing my app, it remains in background I created a simple autoclicker in C# VIsual Studio 2019 and when I open it and then close it with the red X in the top right it remains in background(I can see it in task manager).
I tried to make a button with the code:
private void button2_Click(object sender, EventArgs e)
{
    Application.Exit();
}

but it still doesn't work. Any help?
Here is the full code:
public partial class Form1 : Form
{
    [DllImport("user32.dll")]
    static extern short GetAsyncKeyState(Keys vKey);

    [DllImport("user32.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)]
    public static extern void mouse_event(int dwFlags, int dx, int dy, int cButtons, int dwExtraInfo);

    private const int LEFTUP = 0x0004;
    private const int LEFTDOWN = 0x0002;
    public int intervals = 100;
    public bool Click = false;
    public int parsedValue;

    public Form1()
    {
        InitializeComponent();
    }

    private void Form1_Load(object sender, EventArgs e)
    {
        CheckForIllegalCrossThreadCalls = false;
        Thread AC = new Thread(AutoClick);
        backgroundWorker1.RunWorkerAsync();
        AC.Start();
    }

    private void AutoClick()
    {
        while (true)
        {
            if(Click == true)
            {
                mouse_event(dwFlags: LEFTUP, dx: 0, dy: 0, cButtons: 0, dwExtraInfo: 0);
                Thread.Sleep(1);
                mouse_event(dwFlags: LEFTDOWN, dx: 0, dy: 0, cButtons: 0, dwExtraInfo: 0);
                Thread.Sleep(intervals);
            }
            Thread.Sleep(2);
        }
    }

    private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
    {
        while (true)
        {
            if (checkBox1.Checked)
            {
                if(GetAsyncKeyState(Keys.Down)< 0)
                {
                    Click = false;
                }
                else if(GetAsyncKeyState(Keys.Up)< 0)
                {
                    Click = true;
                }

                Thread.Sleep(1);
            }
        }
    }

    private void button1_Click(object sender, EventArgs e)
    {
        if(!int.TryParse(textBox1.Text, out parsedValue))
        {
            MessageBox.Show("Enter a number");
            return;
        }
        else
        {
            intervals = int.Parse(textBox1.Text);
        }
    }

    private void button2_Click(object sender, EventArgs e)
    {
        Application.Exit();
    }
}

A: In your code the major reason of not closing properly is that you have running threads in background which you are not stopping before exiting, apply the following changes to make it close strictly

*

*Either make the threads realize application is stopping (difficult but efficient approach)

*Tell threads to terminate automatically when app exits (easy approach)

*Force every thing to close immediately when app exits (easy but not recommended, cruel approach)

For First Approach to work use a flag instead of hardcoded true in infinite loops e.g.
private void AutoClick()
{

    while (!this.isExiting) //set this variable to true before calling Application.Exit()
    {
         if(Click == true)
         {
            mouse_event(dwFlags: LEFTUP, dx: 0, dy: 0, cButtons: 0, dwExtraInfo: 0);
            Thread.Sleep(1);
            mouse_event(dwFlags: LEFTDOWN, dx: 0, dy: 0, cButtons: 0, dwExtraInfo: 0);
            Thread.Sleep(intervals);
          }
          Thread.Sleep(2);
    }
}

For second approach to work set the IsBackground property of the thread to true so that it will stop automatically on app exit e.g.
private void Form1_Load(object sender, EventArgs e)
{
     CheckForIllegalCrossThreadCalls = false;
     Thread AC = new Thread(AutoClick);
     AC.IsBackground = true; //this will let thread close automatically on app exit
     AC.Start();
     backgroundWorker1.RunWorkerAsync();
}

For third approach to work just call Environment.Exit(Environment.ExitCode); instead of Application.Exit() e.g.
private void button2_Click(object sender, EventArgs e)
{
     //Application.Exit(); do not use this
     Environment.Exit(Environment.ExitCode); //this will forcely close everything started by your app
}


Sharing Christmas with the kids from the neighborhood was awesome.
I had the usual qualms. What if nobody comes? I need not have worried. Over 150 kids from the very youngest up to secondary school age arrived. The little ones learned to play HOT POTATO & DROP THE HANDKERCHIEF and the big kids played football, basketball and volley ball.
Cookies and juice were served, lolly pops and a small gift was given to every child under 12. A chocolate was given to the older kids after cookies and juice. Chocolate is a special treat here.
From the youngest to the oldest all had a good time.


text:
Pakistan to avail $6-8bn IMF package, says Asad Umar
IMF delegation to visit Islamabad before end of April to continue discussions on bailout package
Finance minister says World Bank to give $7.5bn to Pakistan following IMF deal
Pakistan submits compliance report to FATF for review
ISLAMABAD: Finance Minister Asad Umar said on Monday that Pakistan is all set to avail a bailout package from the International Monetary Fund (IMF) ranging between $6-8 billion.
Addressing a press conference after his return from New York, the finance minister said that Pakistan and IMF have signed a policy-level agreement and both sides have also exchanged copies of the agreement. He said that the agreement is about improvements in public sector enterprises, transmission and distribution system of electricity in public finance budget.
Talking about the meetings with IMF officials, the finance minister said that they did not ask anything about the China-Pakistan Economic Corridor (CPEC) as Pakistan had already shared the details of the project in October 2018. "When it comes to CPEC, we have nothing to hide about," he said.
Responding to a question, the finance minister said that the IMF programme would not burden the inflation-hit masses. He, however, admitted that some unpopular decisions needed to be taken to stabilise the economy and those decisions might add a little burden to the people.
He also said that the IMF programme will facilitate the agreed financial support to Pakistan from the World Bank, Asian Development Bank and International Finance Corporation. He added that following the bailout package, World Bank will also extend $7.5 billion to Pakistan, making the total financial uplift to around $15 billion. "International Finance Corporation and Asian Development Bank too will help in the same pattern," he said.
COMPLIANCE REPORT:
Talking about the Financial Action Task Force (FATF), the finance minister said that he met with FATF President Marshall Billingslea during his US visit, who assured him that the decision regarding Pakistan's position would be taken on technical grounds.
Asad Umar said that Pakistan would send its compliance report to FATF by Monday evening. He also said that a delegation of FATF would visit Pakistan in the third week of May to review the implementation efforts of Pakistan.
"I have also conveyed my reservations over India's attitude and bias. The FATF president assured us that any decision about Pakistan's position would be strictly taken on merit," he added.
Earlier, while briefing the National Assembly's Standing Committee on Finance, Revenue and Economic Affairs, which was chaired by Faizullah Kamoka, the finance minister said that the IMF package would ease off pressure from the country's foreign reserves. "External account pressure had reduced our foreign reserves to $6.6 billion by mid-January but with short-term financing from Saudi Arabia, United Arab Emirates and China, our foreign reserves increased to $10.5 billion by March end," he said.
He also said that the capital market would also improve following the IMF programme. He added that the public will not be impacted by IMF agreement and the government has no plans of raising electricity prices.
When members of the committee insisted that the minister share details about the IMF package, the finance minister said that he would share the details of the package once the staff-level agreement is signed between Pakistan and IMF.
The finance minister is set to meet Prime Minister Imran Khan and take him into confidence regarding the IMF talks.
CONSTRUCTIVE DISCUSSIONS:
Earlier on Monday, an IMF statement said that it held "constructive discussions" with Pakistani authorities during last week's spring meetings in Washington and that its mission will be visiting Pakistan "before the end of April to continue the discussions" on a bailout package.
The announcement was made by the Office of the Resident Representative of the IMF following reports that the IMF mission's visit of Pakistan for finalising the package may be delayed as both sides are still engaged in an intense discussion.
"The Pakistani authorities and IMF staff held constructive discussions during the IMF/World Bank Spring Meetings in Washington DC towards an IMF-supported programme," the IMF statement said.
"At the request of the authorities, an IMF mission will be going to Pakistan before the end of April to continue the discussions," the statement added.
The IMF agreed to a three-year bailout package for Pakistan, after a high-level delegation led by Asad Umar met with IMF and World Bank officials on the sidelines of the annual spring meeting in Washington DC.
Reportedly, the world lender did not object to an asset declaration scheme proposed by Pakistan as Pakistan had already shared a draft of the proposed scheme with the IMF and the FATF.
Previous articleSyed Dilawar Abbas assumes charge as SNGPL board chairman
Next articleGoldman Sachs reports lower profits as it eyes Main Street growth
Shoaib April 15, 2019 At 10:24 pm
Substandard techniques, approach and policy. Compulsion is no new idea.


text:
Q: How to store user content while avoiding XSS vulnerabilities I know similar questions have been asked but I am struggling to work out how to do it.
I am building a CMS, rather primitive right now, but it's as a learning exercise; in a production site, I would use an existing solution for sure.
I would like to take user input, which can be styled in a WYSIWYG editor. I would also like them to be able to insert images inline.
I understand I can store HTML in the database but how can I safely re-render this. I know there is no problem with the HTML being stored but it is my understanding that XSS become an issue if I were to just simply dump the user-generated code onto a layout template.
So the question put simply, is how can I store and safely rerender user content in cms? I am using Laravel and PHP. I also have a little knowledge of javascript if its required.

A: A good and cheap way to avoid cross-site scripting is to get your php program to entitize everything from your users' input before storing it in the database.  That is, you want to take this entry from a user
Hi there sucker! I just hacked your site.

and convert it to this before putting it into your database.
Hi there sucker! I just hacked your site.
<script>alert('You have been pwned!')</script>

When you pass < to a browser, it renders it as <, but it doesn't do anything else with it.
The htmlentities() function can do this for you. And, php's htmlspecialchars_decode() can reverse it if you need to. But you shouldn't reverse the operation unless you absolutely must do so, for example to load the document into an embedded editor for changes.
You can also choose to entitize user-furnished text after you retrieve it from your database and before you display it. If you get to the point where several people work on your code, you may want to do both for safety.
You can also render user-provided input inside
content
 tags, which tells the brower to just render the text and do nothing else with it.
(Use right-click Inspect on this very page to see how Stack Overflow handles my malicious example.)

A: For a CMS where you want to allow some tags but not others, then you want something like HTML Purifier. This will take HTML and run it against a whitelist and regenerate HTML that is safe to display back to the user.


text:
Emil Limmer, né le  à Borna et mort en  ou le  à Dresde, est un peintre allemand.

Biographie
Emil Limmer naît le  à Borna.

Il est élève de Pauwels à la Kunstakademie de Dresde. Il travaille à Dresde comme illustrateur de journaux et expose à partir de 1880.

Il meurt en  ou le  à Dresde.

Références

Annexes

Bibliographie

Liens externes

Peintre saxon
Peintre allemand du XXe siècle
Naissance en juillet 1854
Naissance à Borna (Saxe)
Naissance dans le royaume de Saxe
Décès en mars 1931
Décès à Dresde
Décès à 76 ans


The Pipa beaches are some of the most famous in Brazil. We didn't take the direct route, that would be too easy. We took a dirt road rolling up and down hills and ultimately crossing a river delta on a small wooden ferry pushed by just one guy wading through the water. The trek was worth it for we discover a few pristine beaches with clear warm water teeming with fish. And it seemed all the crowds missed these beaches, settling for the famous Pipa beach about 20km farther up the coast.


Flags For Sale Furniture and Housing (Mattress Sale Red and Blue) Flags Online Store los Angeles we are flag store sell flags online if you are looking for flag website where to buy flag pole, event flags, business flags, decorative flags, we also have large flags, outdoor flag poles our company is a site flags we have varieties like festival Flags, discount flags.We sell wholesale flags. We provide you with the services of printed flags, custom printed flags in our, flagshop we perform flag sales of great Variety.
Flags For Sale Furniture and Housing (Marble Granite Sale) Flags Online Store los Angeles we are flag store sell flags online if you are looking for flag website where to buy flag pole, event flags, business flags, decorative flags, we also have large flags, outdoor flag poles our company is a site flags we have varieties like festival Flags, discount flags.We sell wholesale flags. We provide you with the services of printed flags, custom printed flags in our, flagshop we perform flag sales of great Variety.
Flags For Sale Furniture and Housing (Hardwood Sale) Flags Online Store los Angeles we are flag store sell flags online if you are looking for flag website where to buy flag pole, event flags, business flags, decorative flags, we also have large flags, outdoor flag poles our company is a site flags we have varieties like festival Flags, discount flags.We sell wholesale flags. We provide you with the services of printed flags, custom printed flags in our, flagshop we perform flag sales of great Variety.
Flags For Sale Furniture and Housing (Ashly Blue) Flags Online Store los Angeles we are flag store sell flags online if you are looking for flag website where to buy flag pole, event flags, business flags, decorative flags, we also have large flags, outdoor flag poles our company is a site flags we have varieties like festival Flags, discount flags.We sell wholesale flags. We provide you with the services of printed flags, custom printed flags in our, flagshop we perform flag sales of great Variety.
Flags For Sale Furniture and Housing (Carpet Sale Red) Flags Online Store los Angeles we are flag store sell flags online if you are looking for flag website where to buy flag pole, event flags, business flags, decorative flags, we also have large flags, outdoor flag poles our company is a site flags we have varieties like festival Flags, discount flags.We sell wholesale flags. We provide you with the services of printed flags, custom printed flags in our, flagshop we perform flag sales of great Variety.
Flags For Sale Furniture and Housing (Cabinets Sale) Flags Online Store los Angeles we are flag store sell flags online if you are looking for flag website where to buy flag pole, event flags, business flags, decorative flags, we also have large flags, outdoor flag poles our company is a site flags we have varieties like festival Flags, discount flags.We sell wholesale flags. We provide you with the services of printed flags, custom printed flags in our, flagshop we perform flag sales of great Variety.
Flags For Sale Furniture and Housing (Flooring Orange) Flags Online Store los Angeles we are flag store sell flags online if you are looking for flag website where to buy flag pole, event flags, business flags, decorative flags, we also have large flags, outdoor flag poles our company is a site flags we have varieties like festival Flags, discount flags.We sell wholesale flags. We provide you with the services of printed flags, custom printed flags in our, flagshop we perform flag sales of great Variety.
Flags For Sale Furniture and Housing (Dining Sale) Flags Online Store los Angeles we are flag store sell flags online if you are looking for flag website where to buy flag pole, event flags, business flags, decorative flags, we also have large flags, outdoor flag poles our company is a site flags we have varieties like festival Flags, discount flags.We sell wholesale flags. We provide you with the services of printed flags, custom printed flags in our, flagshop we perform flag sales of great Variety.
Flags For Sale Furniture and Housing (Tiles) Flags Online Store los Angeles we are flag store sell flags online if you are looking for flag website where to buy flag pole, event flags, business flags, decorative flags, we also have large flags, outdoor flag poles our company is a site flags we have varieties like festival Flags, discount flags.We sell wholesale flags. We provide you with the services of printed flags, custom printed flags in our, flagshop we perform flag sales of great Variety.


text:
{| class="wikitable" style="width:98%;"
|-
! # !!  width=500|Título !! Data da Estreia


Delightful 3 bedroom villa with integral garage and stunning views, situated in a tranquil rural area, 1km from the sleepy village of los Cerricos. The village offers basic amenities including tapas bars and a shop, and there are regular delivery vans offering bread, fish, meat and frozen goods. The small town of Chirivel is a 14 minute drive and the town of Oria is a 20 minute drive.
With a total build size of 153m2, this well constructed villa has been finished to a very high standard and is set in a plot of 3940m2 with fabulous far reaching views to three sides. Access to the property is via a tarmac road with a concrete drive leading to the plot. An automatic gate with video entry opens into the gravelled plot which offers ample space for parking several vehicles.
To one side of the villa is an integral garage with automatic door which incorporates a corner fitted kitchen and a utility area with washing machine and water heater. The kitchen has marble worktops, a gas hob, sink, and an open fire place.
From a covered arched porch to the front of the villa, the front door opens into an entrance hall. To the left, an archway leads into an open plan living room with a granite breakfast bar which separates the kitchen area from the living area. The modern kitchen is fitted with granite work surfaces, ceramic hob, inset sink, dishwasher, electric tower oven, microwave, and fridge freezer.
The entrance hall also gives access to the bedrooms and bathrooms. The master bedroom is a large double room with fitted wardrobes and an ensuite shower room comprising shower cubicle, WC, bidet, and a basin set in a wooden topped vanity unit with mirror and lighting. Bedroom 2 is a double room with fitted wardrobes and a wall mounted electric radiator, and Bedroom 3 is a twin room or small double. The family bathroom comprises a full size bath, WC, and basin set in a granite topped vanity unit with mirror and lighting.
The exterior of the villa has been completely tiled, and there is top quality double glazing with wood effect persiana blinds. There is also coving and inset lighting throughout, along with speaker points in the porch (not fitted).
There are various fruit trees within the plot including nectarine, apple, cherry, peach, olive and pear.


text:
Richardson Keeps Camp Sierra Blanca's Doors Open
Updated: 7:50 AM MDT Jul 8, 2004
Gov. Bill Richardson says Camp Sierra Blanca in Ruidoso will stay open.Richardson made the announcement Wednesday during a packed town hall meeting. The Children Youth and Families Department wanted to close the facility for nonviolent teenage offenders because it was losing money, had expensive fire safety problems and housed less than half its capacity of 50. But supporters fought to keep it open, citing the facility's outstanding record of rehabilitating its inmates.
RUIDOSO, N.M. —
Gov. Bill Richardson says Camp Sierra Blanca in Ruidoso will stay open.
Richardson made the announcement Wednesday during a packed town hall meeting.
The Children Youth and Families Department wanted to close the facility for nonviolent teenage offenders because it was losing money, had expensive fire safety problems and housed less than half its capacity of 50.
But supporters fought to keep it open, citing the facility's outstanding record of rehabilitating its inmates.


text:
Essay on Instinct, and Its Physical and Moral Relations
By Thomas Hancock
hend, sufficiently shield me from the imputation of indulging a desire for barren metaphysical discussions, and of straining my inferences unnaturally in thus passing from the one consideration to the other. As to metaphysical pursuits, purely such, they must be considered to be generally unprofitable; and I should tread with reluctance on that slippery and uncertain ground, if the nature of my inquiry did not necessarily lead me to notice several of the metaphysical writings most celebrated in the present day. I do so the more willingly, because it is with the view of extracting as much as natural reason has been ready to admit, in support of what I apprehend to be one of the most important and sacred truths in the philosophy of the human mind.
It is not meant to be implied that the sublime truths of Revelation-with which, in their purest sense, I believe the views I shall take will strictly agreeabsolutely require the support of natural reason, as it is, or can be, afforded by any of the most enlightened philosophers. On the contrary, I am persuaded, that supernatural light can gain nothing by the feeble glimmering of Reason's lamp, which is the only guide of philosophy in its outward discoveries. But, as this is professedly a natural investigation; and as I mean to go a little farther than those believers in Revelation who take the Holy Scriptures as the only revealed will of God to his creature man, I shall avail myself of any admission or discovery, which, in the present as well as in former ages, philosophers may
have either stumbled upon, as it were, unwittingly; or may have been induced to make, by fair deduction; or may have received from immemorial tradition, or from that light itself which must always bear testimony to its own sufficiency and authority, when the weakness of Reason is made manifest. I shall therefore collect these outward testimonies for these special purposes.
Sir Matthew Hale in his "Primitive Origination of Mankind" has very forcibly pointed out the analogy, above adverted to, between the instincts observable in animated nature, and the original engraven instincts of the mind. His style is, indeed, a little antiquated; but the notions are clearly expressed, only that he uses the term Discursive Ratiocination' as the word Reason is used in this Essay; and he employs the latter term to denote the whole rational nature of man as distinguished from the brute. Therefore he calls them rational Instincts, in contradistinction to the animal instincts; but clearly distinguishes them from Reason, or a mere discursive faculty, by making them antecedent to its exercise. "For," he says, "though they are truths acquirable and deducible by argumentation, yet they seem to be inscribed in the very texture of the soul, antecedent to any acquisition by industry or the exercise of the discursive faculty."*—"That, as we see in brutes, there are lodged certain sensible instincts, antecedent to their imaginative or sensitive faculty, whereby they
See" Primitive origination of Mankind."
are predetermined to the good and convenience of the sensible life; so there are lodged in the very constitution of the soul certain rational instincts, connaturally engraven in il-antecedently to any discursive ratiocination, whereby it is predisposed, inclined, and biassed to the good and convenience proportionable to a rational and intellectual life."*
It is proper also to notice that in the term "rational and intellectual life of man," he comprehends his moral and religious capacities: and to the "rational instincts," he adds the epithets "speculative and moral."
I have already quoted a passage from Lord Monboddo's Ancient Metaphysics, which shews the same analogy and Dr. Hartley in his work "On Man," has compared the instinctive direction of brutes to the inspiration of the human mind.† All these authorities, therefore, justify the allusion.
I shall next consider the natural evidences or testimonies in favour of the principle in question.
Hale's Origin, cap. 2.
+"The direction in brutes, to provide for themselves and their offspring, would be a kind of inspiration, mixing itself with and helping out that part of their faculties which corresponds to Reason in us, and which is extremely imperfect in them-only this Inspiration might be called natural, as proceeding from the same stated laws of matter and motion, as the other phenomena of nature; whereas the inspiration of the sacred writers appears to be of a much higher source, so as to be termed supernatural properly, in contradistinction to all knowledge resulting from the common laws of nature. And yet it may result from some higher laws of nature. For sacred Inspiration would lose nothing of its authority, though it should appear to be within such laws, as by their fixedness might be termed nature." Hartley on Man.
SECT. II.
Of the testimonies in favour of such a principle, analogous to Instinct and superior to Reason.
Of the testimonies in favour of any moral truth or principle, when we desire to exclude all evidence but that of the most unprejudiced minds, and at the same time to reconcile that truth with the discoveries made to man by God himself with unquestionable clearness, none appear to me more striking than those of the ancient philosophers, who were totally unacquainted with a written revelation, and followed the native light of their own minds, in other words, built their conclusions upon the fundamental principles of human nature. For, whether these conclusions have been derived from a primeval revelation, by tradition, or from an internal spark of original divine light, still feebly animating the human soul, and though obscured, unextinguished, they are highly to be valued. On the subject before us, no inconsiderable authorities may be produced. My object, therefore, is simply to show, that it has been a general impression among mankind from the earliest ages down to the present time, that a principle, or guide, or light, or teacher, superior to discursive Reason, was implanted
in the human mind;-a principle which might, indeed, have the assistance of reason, the highest natural gift to man, but was antecedent to it, and above it, and had rules for government distinct from reason, evidence of another kind, and objects wholly different. For, as Reason or the natural understanding has objects-the qualities, modes, or relations of external things-fitted to its apprehension, with strict congruity between the faculty and its objects, like that subsisting between the outward senses and their natural objects, or between various other tastes and perceptions peculiar to different men, and the respective objects of these tastes; so has this principle objects, tastes, and feelings, peculiarly its own. For, to suppose that the same power of the mind may be officially engaged in ascertaining the properties of a triangle, or discovering the relations of natural things by comparison and inference, and in seeking for divine counsel in retirement, in feeling remorse for evil conduct, or in prostrating the soul in humble reverence before the throne of the Almighty Creator, would seem as incongruous as for the imagination to busy itself with the truths of geometry, or the ear to judge of the shades and beauties of colour, or the eye of odours and sounds. Every one must admit that when men of cultivated minds in different ages and nations are generally agreed in opinion upon any philosophical question, we have the strongest reason, short of revelation, to conclude, that it is founded in truth. And the opinion of a few opposed to such a


Jamberry nail wraps are made with durable materials, so smudges and streaks are never an issue, and can last for up to two weeks on fingernails and four weeks on toes. With 300+ nail wraps in an incredible variety of designs, you can customise, pair, and layer Jamberry nail wraps to create a look that's all your own—all from the comfort of your home.
In addition to nail wraps, the nail art company also offers a variety of professional nail lacquers and incredible gel enamels (UK availability tbc) for a fun way to create an accent nail or even paint those pesky pinky toes. Along with the Application Kit, Mini-Heater, and Hand & Nail Care items, Jamberry's range of products includes everything needed to pamper yourself and keep your nails looking fresh and beautiful.
For more information visit the website, like us on facebook or follow us on Instagram.


The UPRA Aubrac is in charge of defining a selection plan whose guidelines are directly related to the economic conditions of the environment of the cattle raiser.
The UPRA AUBRAC has delegated to the UNION Aubrac the application of the selection plan and the management of the Herd book.
Only those cattle that meet the standards are registered.
Bulls: at the time of registration, bulls are rated by the Herd book technicians and a blood sample is taken to guarantee its parentage and to learn its type for muscular hypertrophy (mh).
Cows: cows receive their first Herd book grade at three years, and then a definitive grade at 5 years.
The Herd Book grade corresponds to a combination of the phenotype of the animal (with respect to breed standards, docility and functional aptitudes).
(*) Proposed in 1991, IBOVAL is the method for genetic evaluation of beef cattle breeds that the information for on-farm control of features uses, from birth to weaning. The index is based on a coherent and nation-wide management of the identification and control data for on-farm features. It is applied to all the cattle stations controlled in France and Luxemburg.
-Those whose results do not allow their potential to be determined (cows with less than three births) or whose low level of quality suggests that their products should be sold as meat (not registered, with Provisional Registration Certificate, and Service Mothers, in particular).
Classification is fully used and even more pertinent when the animals belong to stations with growth control that are connected. It is this system (growth control and connection) that provides the best lessons for the cattle raiser and the breed. In effect, it allows a much more precise and complete evaluation of the potential of the animals. In this way the quality and effectiveness of the selection is improved, not only at the level of the herd, but also at the level of the breed.