action alerts

anonymous asked:

Hi! //www openpetition de/petition/unterzeichner/endgueltige-gleichstellung-der-homo-ehe have you seen this petition?? Gay marriage in Germany!! I can't link it, sorry :s

Hey dear anon, 

I’ve seen it, thanks! I didn’t sign it tho, because I don’t like that they ask for my address, I don’t like putting information like that online. 

I signed this one instead though:

and I encourage my followers to do the same! 

“Take Action”: ACJS Public Policy Committee

“Take Action”: ACJS Public Policy Committee

This is a “Take Action” Alert from the Consortium of Social Science Associations, courtesy of the ACJS Public Policy Committee.  ACJS members are encouraged to respond as they see fit.

May 29, 2015

TAKE ACTION: Urge House Members to Oppose FY 2016 Cuts to Social Science;

CJS Bill Voted on Next Week!

Last week, the House Appropriations Committee approvedthe Commerce, Justice,…

View On WordPress

iOS Fundamentals: UIAlertView and UIAlertController

Even if you’ve only dipped your toes into the world of iOS development, you almost certainly know about UIAlertView. The UIAlertView class has a simple interface and is used to present modal alerts.

Apple has deprecated UIAlertView in iOS 8 though. As of iOS 8, it is recommended to use the UIAlertController class to present action sheets and modal alerts. In this quick tip, I will show you how easy it is to transition from UIAlertView to UIAlertController.

1. Project Setup

Launch Xcode 6.3+ and create a new project based on the Single View Application template.

Name the project Alerts, set Language to Swift, and set Devices to iPhone. Tell Xcode where you’d like to store the project files and click Create.

Let’s start by adding a button to trigger an alert view. Open Main.storyboard and add a button to the view controller’s view. Set the button’s title to Show Alert and add the necessary constraints to the button to keep it in place.

Open ViewController.swift and add an action to the class implementation. Leave the action’s implementation empty for the time being. Revisit Main.storyboard and connect the  view controller's showAlert action with the button’s Touch Up Inside event.

@IBAction func showAlert(sender: AnyObject) {

2. UIAlertView

Let’s start by showing an alert view using the UIAlertView class. As I mentioned, the interface of the UIAlertView class is very simple. The operating system takes care of the nitty gritty details. This is what the updated implementation of the showAlert action looks like.

@IBAction func showAlert(sender: AnyObject) {
    // Initialize Alert View
    let alertView = UIAlertView(title: "Alert", message: "Are you okay?", delegate: self, cancelButtonTitle: "Yes", otherButtonTitles: "No")
    // Configure Alert View
    alertView.tag = 1
    // Show Alert View

The initialization is straightforward. We provide a title and a message, pass in a delegate object, a title for the cancel button, and titles for any other buttons we’d like to include.

The delegate object needs to conform to the UIAlertViewDelegate protocol. Because the  view controller will act as the alert view’s delegate, the ViewController class needs to conform to the UIAlertViewDelegate protocol.

import UIKit

class ViewController: UIViewController, UIAlertViewDelegate {

The methods of the UIAlertViewDelegate protocol are defined as optional. The method you’ll use most often is alertView(_:clickedButtonAtIndex:). This method is invoked when the user taps one of the alert view’s buttons. This is what the implementation of the alertView(_:clickedButtonAtIndex:) method could look like.

func alertView(alertView: UIAlertView, clickedButtonAtIndex buttonIndex: Int) {
    if alertView.tag == 1 {
        if buttonIndex == 0 {
            println("The user is okay.")
        } else {
            println("The user is not okay.")

Build and run the application in the iOS Simulator to see if everything is working as expected.

3. UIAlertController

The interface of UIAlertController is very different from that of UIAlertView, but Apple’s motivation to transition to the UIAlertController class makes sense once you’ve used it a few times. It’s an elegant interface that will feel familiar.

The first benefit of using the UIAlertController class is the absence of a delegate protocol to handle user interaction. This means that we only need to update the implementation of the showAlert action. Take a look at the updated implementation below.

@IBAction func showAlert(sender: AnyObject) {
    // Initialize Alert Controller
    let alertController = UIAlertController(title: "Alert", message: "Are you okay?", preferredStyle: .Alert)
    // Initialize Actions
    let yesAction = UIAlertAction(title: "Yes", style: .Default) { (action) -> Void in
        println("The user is okay.")
    let noAction = UIAlertAction(title: "No", style: .Default) { (action) -> Void in
        println("The user is not okay.")
    // Add Actions
    // Present Alert Controller
    self.presentViewController(alertController, animated: true, completion: nil)

The initialization is pretty easy. We pass in a title, a message, and, most importantly, set the preferred style to UIAlertControllerStyle.Alert or .Alert for short. The preferred style tells the operating system if the alert controller needs to be presented as an action sheet, .ActionSheet, or a modal alert, .Alert.

Instead of providing titles for the buttons and handling user interaction through the UIAlertViewDelegate protocol, we add actions to the alert controller. Every action is an instance of the UIAlertAction class. Creating an UIAlertAction is simple. The initializer accepts a title, a style, and a handler. The style argument is of type UIAlertActionStyle. The handler is a closure, accepting the UIAlertAction object as its only argument.

The use of handlers instead of a delegate protocol makes the implementation of a modal alert more elegant and easier to understand. There’s no longer a need for tagging alert views if you’re working with multiple modal alerts.

Before we present the alert controller to the user, we add the two actions by calling addAction(_:) on the alertController object. Note that the order of the buttons of the modal alert is determined by the order in which the actions are added to the alert controller.

Because the UIAlertController class is a UIViewController subclass, presenting the alert controller to the user is as simple as calling presentViewController(_:animated:completion:), passing in the alert controller as the first argument.

4. UIActionSheet

Unsurprisingly, Apple also deprecated the UIActionSheet class and the UIActionSheetDelegate protocol. As of iOS 8, it is recommended to use the UIAlertController class to present an action sheet.

Presenting an action sheet is identical to presenting a modal alert. The only difference is the alert controller’s preferredStyle property, which needs to be set to UIAlertControllerStyle.ActionSheet, or .ActionSheet for short, for action sheets.


Even though UIAlertView and UIActionSheet are deprecated in iOS 8, you can continue using them for the foreseeable future. The interface of the UIAlertController class, however, is a definite improvement. It adds simplicity and unifies the API for presenting modal alerts and action sheets. And because UIAlertController is a UIViewController subclass, the API will already feel familiar.

from Tuts+ Code



Many participants are busy tomorrow!! So we are postponing Episode Four one week! I don’t want our families to miss it… Sofia is doing some wonderful new things in it!  The music is glorious!  The result is that next week may be the largest crowd yet!


Participants will meet Mizz Performa when she adventures to her Lair under The Pond!

View On WordPress

Here is a View with warm sunlight colors on the Watchtower and desert view near the southeast entrance to Grand Canyon National Park, Arizona. The Colorado river is on the left. Image taken October 1982, in 4x5 film format. PLEASE SEE ACTION ALERT BELOW!
ACTION ALERT: Do you want a gondola to the bottom of the Grand Canyon in this view (just outside the park boundary)? Do you want a mall larger than the Mall of America (in Minnesota; largest in the world), at Tusayan on southern boundary of the Grand Canyon) depleting scarce water supplies for the Grand Canyon? This and mining threats in the park are ongoing right now! Click this link on my Facebook page to sign a petition by June 1: (Instagram doesn’t allow live links)
Another classic ©Ed Cooper Photo 🌄. I specialize in nature images that are unedited. All rights reserved. Contact info and link for economy priced prints on bio. Tag ed_cooper for a chance of a feature.
“Going to the mountains is going home” - John Muir. ______________________________________
______________________________________ by ed_cooper_photography

ACTION ALERT - No schools on toxic dumps!

HB180 (a GreenARMY bill to prevent schools from being built on toxic dumps) passed through the House and is headed to the Senate Education Committee on Thursday, June 4th. We need your help to email and call senators on this committee to ask for their support on HB180. Thank you!!

Subject:  vote “Yes” on House Bill No. 180


Dear Senators,

A school on a waste dump creates unacceptable risks for our children. For this reason, I am writing to ask the Education Committee of the Louisiana Senate to vote “Yes” on House Bill No. 180 by Representative Joe Bouie.  This amendment would require a disclosure statement attesting under the law that the land selected for a school was not formerly used for the disposal, storage or deposition of waste.

There is no safe level of lead and many other toxins found at waste dumps. Children and youth are more sensitive than adults to the damaging health effects of these toxins, which include cancer and diminished learning capacity. House Bill No. 180 recognizes that the partial removal of contaminated soil at a waste dump for the construction of a school is no guarantee against a child’s risk of exposure to toxins that would remain on site.  Given that children spend a great deal of their daily hours at school, we must ensure that no school is built on a former waste dump.

There are few laws in Louisiana addressing environmental hazards at schools. House Bill No. 180 moves our state forward with the majority of the United States, where more than 30 states have passed laws for environmental protections in the site selection, design, and construction of schools. These laws include prohibiting specific sites for school construction that pose potential health and safety risks. Children in Louisiana deserve at least the same concern and protection provided for children in the majority of states.

Please vote “Yes” on House Bill No. 180 to support our children and youth in achieving their fullest potential.

Thank you,

[Your name]

yeah ya’ll can handle all this cute, share, foster, adopt #furballs #networkingsaveslives #foster #AdoptDontShop
#nobsl #endBSL
#Repost @animal_defender_hope
#Repost @urgent_dogs
#Repost @networkadoptdontshop with @repostapp.
Professor Pit Bull: NYC To save me email ***ACTION ALERT!!! SHYLA (#A1036275) is on TONIGHT’S euthanasia list at Manhattan Animal Care and Control and will be put down after NOON TOMORROW if not adopted*** Shyla will NOT get another chance. Lets make it count this time. She was surrendered by her owner when he fell ill and couldn’t take care of her anymore. Shyla is the talk of the shelter, all of the staff and volunteers LOVE her. A volunteer writes “A very special girl I can not get out of my mind…If I was rich, if I had connections, if I was a magic fairy….Oh so I wish….I would deliver Shyla ASAP to the most wonderful people who would appreciate her virtues and be blessed by her love. Shyla is all about showing her gratitude to be out and with a human. She wiggles, gives paw, rolls on her side, then her back and kisses galore. She brings me a ball. Let’s play. She can run fast and even jumps, catches and retrieves. No guarding involved but she gets tired easily and needs to rest…Me too..We are a fine pair…We lay down in the shade. Shyla makes an excellent and cushy pillow…I could go on and on and on about Shyla who is with us as her owner became too sick to care for her. Although not fully housetrained (she might not have been taken out that often), Shyla comes with wonderful recommendations, Please share this amazing girls story. She really is one of a kind.

La «surveillance généralisée» de la NSA jugée illégale

L'agence de renseignement n'avait pas l'autorisation de collecter des millions de métadonnées téléphoniques, a jugé une cour d'appel.

Près de deux ans après les premières révélations d'Edward Snowden, la justice américaine a rendu jeudi un jugement qui vient appuyer l'action du lanceur d'alerte. Dans un document de 97 pages, un tribunal de New York a jugé que la NSA avait opéré une collecte massive des données téléphoniques des Américains sans en avoir reçu une quelconque autorisation légale. Les dispositions du Patriot Act sur lesquelles s'est appuyée la NSA pour mettre en place cette collecte «n'ont jamais été interprétées pour autoriser quelque chose qui s'approche de l'ampleur de la surveillance généralisée en question ici», écrit le juge Gerard E. Lynch.

L'action en justice contre la NSA, le FBI et la police fédérale a été engagée en 2013 par l'association de défense des libertés Aclu (American Civil Liberties Union). Il ne concerne qu'un pan des révélations de l'ancien consultant de la NSA Edward Snowden, c'est-à-dire la collecte de millions de métadonnées téléphoniques par la NSA: les numéros de téléphone des correspondants, la durée des conversations téléphoniques ou leur localisation mais pas leur contenu. Fin 2013, un tribunal de Manhattan avait estimé que ce programme était légal et constituait une réponse à la menace terroriste. L'Aclu estimait au contraire que ce programme constitue une violation massive de la vie privée sans aider outre mesure à contrer le terrorisme.

Une révision du Patriot Act

La cour d'appel ne s'est pas prononcée sur la constitutionnalité du programme, et n'a pas non plus imposé son arrêt. Elle renvoie aux débats en cours autour de la réforme du Patriot Act.

Le jugement intervient alors que les États-Unis débattent de l'extension de la fameuse loi (…)

Lire la suite sur

Les hologrammes de Star Wars dans votre salon
Le légendaire jeu du serpent revient sur smartphone
Le casque de réalité virtuelle de Facebook, Oculus Rift, arrive en 2016
Bruxelles va mieux encadrer les géants du Web
Inscrivez-vous à la newsletter du Figaro

Issac Asimov’s Harry Seldon used “psycho-history” to predict the future. Tom Cruise used “precogs” inMinority Report. And now a pro-Putin think tank is trying to divine dissident activity by mining social media.

The Center for Research in Legitimacy and Political Protest claims to have developed software that will search Russian social media posts for signs of plans by political opposition to the government to stage unapproved protests or meetings. Described by an Izvestia report as “a system to prevent mass disorder,” the software searches through social media posts once every five minutes to catch hints of “unauthorized actions” and potentially alert law enforcement to prevent them.

Public protests, rallies, marches, and meetings staged without government approval are outlawed in Russia—individuals can be fined up to about $600 (30,000 rubles) for participating in such events or sentenced to 50 hours of community service.

The software, which went live on May 18, is named “Laplace’s demon” after the theoretical all-seeing intellect that could calculate the future of the universe based on the position and state of all matter. According to the Center’s director, Yevgeny Venediktov, the software specifically monitors “politically oriented groups of social protest” at a national level, as well as local discussion platforms for specific geographic areas. “Particular attention will be paid to the number of likes and reposts in extremist groups.” Groups and user pages associated with “extremists” are tagged by volunteers, aggregated into a central database, and analyzed and filtered by sociologists and political scientists.

Venediktov told Izvestia that potential users of the system include social scientists, researchers, government officials, and law enforcement agencies. “They will be able to learn about the preparation of unsanctioned rallies long before the information will appear in the media,” Venediktov told Izvestia. Alerts about impending unapproved political action will be sent out to users in the field via a mobile application.

Currently, the software monitors user pages and groups on Facebook and Vkontakte; a Twitter extension for the system is planned by September. Twitter is a particular priority because, as Venediktov said, “We conducted a survey and found out that it is precisely this social network [that] is not only the leader among social media on the number of hosted links to extremist content, but also does not remove them at the request of Roskomnadzor (Russia’s Federal Service for Supervision of Communications).”

This zoo has abused an elephant for 26 years

Theworldhasbiggerproblems – There’s a new petition taking off on, and we think you might be interested in signing it.

Click here to sign Marie’s petition, “End Asha the elephant’s lifetime of abuse and solitude:”

The person (or organization) who started this petition is not affiliated with did not create this petition and is not responsible for the petition content.

This email was sent by to

Edit your email preferences:
Unsubscribe from these emails:

548 Market St401, USA

**TEXAS SUNDAY ACTION ALERT!!!** Stand with pro-choice legislators TOMORROW, Sunday, May 24. Share widely! Lawmakers are trying to sneak anti-choice legislation through the Legislature over this holiday weekend. Come to the Capitol TOMORROW starting at 1:00 pm to 1) oppose an amendment by Rep. Jonathan Strickland to SB 200 that removes the exemption for fetal anomalies in the ban on abortion after 20 weeks – requiring that women carry nonviable fetuses to term, putting their health and future fertility in jeopardy. 2) At 6:00 p.m. tomorrow, the Senate takes up HB 3994, a bill that endangers pregnant teens’ access to abortion and requires all women to show gov’t issued ID to gain access to abortion services. WEAR ORANGE. Meet up in the House Gallery at 1:00 p.m. At 6:00 p.m., we’ll be moving to the Senate Gallery. Follow the link below for more information.