text:
University of Florida: Broadcast Alerts to Digital Displays
The University of Florida has used an InformaCast system for over a year to help them employ a multi-modal approach to emergency notification. In their most recent addition, the Department of Housing and Residence Education at the school has started using InformaCast to send UF Alerts to Four Winds Interactive digital displays.
In the event of an emergency, students will see a message like the one pictured, with the UF Alert logo, an alert message, and details and instructions for how they should respond.
This is all part of UF Alert, a compilation of procedures and technology that the university uses to notify the campus community in the event of an emergency. Students are educated to recognize UF Alerts as their information authority in times of crisis.
In addition to the new integration with digital signage, InformaCast helps UF Alerts reach staff and students via the school website, cell phones (via SMS text message), school email accounts, IP telephones and speakers, Twitter, and RSS feeds. The school also has a toll-free UF Rumor Control hotline that students and staff can call to obtain official information.
Read about the different ways University of Florida is using InformaCast:
University of Florida Uses InformaCast to Reach Students through Multiple Platforms
University of Florida Pleased with Speed of Emergency Alert System
UF added InformaCast software to send a message through several platforms, including email, social media and the school's website, at one time.
Article Appearing in Independent Florida Aligator on January 9th, 2012
Since fall classes ended Dec. 7, UF has used its emergency alert system on two occasions. Both times, the administration was pleased with how quickly text messages were sent to students and employees.
UF administration used the emergency system on Dec. 9 to 10 and on Dec. 20, sending a pair of messages in each incident. A message is first sent to a company that takes the message and distributes it to every wireless carrier. Then, the message is delivered to phones of students and employees registered with the emergency alert system.
Of the four messages delivered in December, the slowest reached the aggregator at 2 minutes, 1 second, said UF Emergency Management Coordinator Kenneth Allen. The fastest message reached it at 1 minute, 52 seconds.
The time represents how long it took for the last message to be sent to the aggregator, not the first one or the average time.
"Looking at it is like looking at a freight train," Allen said. "That time is how long it takes the whole train to pass by, not just the front of the train."
Allen said he is pleased with the delivery times and doesn't expect any major changes to the system. He said the university is always looking to make tweaks. However, the administration won't change its methods in light of the murder-suicide that happened at Virginia Tech last month.
UF has sent 17 messages in the last two years, all of which have been delivered faster than six minutes. The university last changed the emergency alert system in July when the school added InformaCast software, which allows UF to send a message through several platforms, including email, social media and the school's website, at one time.
Previously, an individual message had to be sent to each platform.
Visit us at table 125 during the National School Safety Conference in Las Vegas, July 22–26, 2019.
Contact PJ Smith to set up a meeting.
InformaCast Ecosystem
Topics/Tags
911 Alerting (8) Active shooter (20) Cisco (31) Desktop Notification (13) Enterprise (13) Events (35) Healthcare (18) Higher education (27) InformaCast Advanced (36) InformaCast Fusion (54) InformaCast Mobile (29) IP Phones (22) IP Speakers (14) K-12 (50) Manufacturing (9) Mobile (15) Natural disasters (11) Paging (22) Panic buttons (9) Partnerships (17) Release (53) School bells (10) Severe weather (18) Singlewire Spotlight (34) Testing (10)
Bells and paging are one of the most important things for schools... in my opinion, it's still the most critical, and so choosing the right system and the right partner is very important. The Singlewire system has fit the bill for us.
— David Massaro, Coordinator of Technology Services at Redlands Unified School District —
…It provides a consistent means of communicating and informing regarding an incident to, not just our first responders in those multiple agencies, but also to our staff and parents who are in multiple buildings, and our students in multiple buildings.
— Tom Wohlleber, Assistant Superintendent of Business Services, MCPASD —


Have you seen those lovely black-and-white photos with just one item in colour?
This is a longer and slightly more involved tutorial than normal this week. It is, however, perfectly attainable for a Photoshop beginner. Just choose an image that has a simple, easy-to-select area. The selection is the hardest part. After that, Photoshop makes it easy for you.
Do you ever find stock photos you'd love to use but...if you could just change one colour, well then it would be perfect?
If you're looking to colour coordinate your Insta feed or get a more branded look to your blog photos, today's Photoshop tutorial is fun to try.


text:
package com.cc.test;

/**
 * Created by CwT on 15/7/16.
 */
public class Hello {
    public static void main(String []argv){
        System.out.println("hello world");
    }
}

redpajama_set_name: RedPajamaGithub


text:
The Army Intelligence Center ( abbreviated "Pusintelad") is one of the Central Executive Agencies under the Indonesian Army HQ which reports to the Chief of Staff of the Army. Pusintelad is in charge of conducting Army intelligence activities to support the Army's main operational duties. It is led by an army brigadier general.

History
During the Indonesian War of Independence, intelligence activities were conducted by the Intelligence Staff Bureau within the Indonesian National Armed Forces HQ to provide information for both government and military. Around the 1950s and along with the development of the Army's organization, an intelligence function was introduced within the Army's HQ with the name of the "Army's General Staff I", which consisted of three bureaus (Bureau-1 Operational Intelligence and Security, Bureau-2 Administration, and Bureau-3 Training and Organization). In 1964, the Army's General Staff I officially become the Army's Intelligence Agency and there were name changes from 1964 until 1997 for this unit. Finally after a long process, in 1997 the official name Pusat Intelijen Angkatan Darat (meaning "Army Intelligence Center") was legally used till now.

See also
BAIS TNI
BIN

References

Indonesian Army
1978 establishments in Indonesia
Military units and formations established in 1978
Military intelligence agencies
Military units and formations of Indonesia
Indonesian intelligence agencies

redpajama_set_name: RedPajamaWikipedia


text:
New York Daily News: Fixing the filibuster: There's Biden's way and a better way
Proclaiming himself "tired of being quiet," President Biden on Tuesday proposed retiring the filibuster — the 60-vote threshold for getting almost anything through the Senate — for a narrow category related to the core mechanics of our elections. Under his exception, a bare majority of the 50-50 split Senate could pass the John Lewis Voting Rights Act, which would restore the federal government's authority to review some state voting laws to prevent discrimination, and a broader bill creating national rules for voting by mail, early voting and the like.
Unless democracy itself can be preserved and protected, goes the argument, nothing else matters, so a carveout is warranted.
We agree that state legislatures' partisan gerrymandering and restrictions on the franchise are indeed pernicious, partisan thumbs on the scale. But be careful what you wish for: If Republicans narrowly regain control of the Senate in this November's elections, Democrats' current howl about protecting the will of their majority will immediately be turned on its head, as they'll have fewer votes but represent millions more people. Imagine a Senate with 51 Republicans, Mitch McConnell in charge, and a new principle established that the 49 Dems can be summarily ignored.
In this case, even if Republicans were to show a glimmer of humility and accept Biden's chosen carveout, one can easily imagine grave harm done: New laws requiring all voters present picture ID at the polling place and onerous rules to combat largely imaginary voter fraud.
The better answer for Democrats is to follow the wise advice of congressional scholar Norm Ornstein: Restore the true intent of the filibuster. Require 41 senators to maintain an exhausting, logistically complicated, all-eyes-on-them talk-fest in order to block passage of legislation.
Today, in a rejection of the better part of our history, the mere threat of invoking the filibuster is the same as actually going through the grueling motions. Rescue the will of the majority by making the minority work a hell of a lot harder, under klieg lights.
https://www.limaohio.com/wp-content/uploads/sites/54/2022/01/web1_EDITORIAL-ICON3-C-2.jpg
Hi! A visitor to our site felt the following article might be of interest to you: New York Daily News: Fixing the filibuster: There's Biden's way and a better way. Here is a link to that story: https://www.limaohio.com/opinion/editorials/493083/new-york-daily-news-fixing-the-filibuster-theres-bidens-way-and-a-better-way

redpajama_set_name: RedPajamaCommonCrawl


Sewing is really an exciting, comparatively cheap, entertaining pleasurable hobby.
Regular sewing in fact minimizes the heart and blood circulation rates, lowering tension and also encouraging relaxation.
Sewing lowers the challenges in your life and also loosen up.
Regular sewing also aids the psychological health. As a sewer, you'll experience greater self-confidence as you exercise psychological control. Sewing improves the self-esteem once you demonstrate the creativeness.
Regardless of whether you sew in isolation, with buddies, or perhaps with your entire family, sewing gives you an enjoyable and also productive life-long endeavor. Your own stitching training may coach you on every thing, through making and also fix sweaters to be able to making the cover by having an electrical machine.
Advice in determining the particular extent of one's capacity and also helping you reach the stitching potential.
Support in selecting the proper equipment as well as products.
Fundamental stitches and selection associated with tiny needles for specific jobs.
Kids are able to take sewing lessons and also understand not only the skills concerned, but also boost their concentration, while increasing their self-confidence.
In fact, everyone of nearly every age can learn to sew.
Training from the specialist provide the information and also course needed to make sure sewing starts and remains an enjoyable experience.
Your own specialist teacher offers a minimum of 15 years of sewing experience. Thus, you take advantage of a combination of knowledge and also specialist experience. Your own teacher is certified, providing you with the assurance they have passed a top teaching specifications examination.
Enroll simply by enrolling around the kind provided beneath.
Equally private and also group instruction is available. Class instruction is more affordable and supply a way to gain knowledge from the activities connected with many other school associates. Plus, using classes with others offers a social experience with individuals who discuss an interest along with you – stitching. Individual sessions can provide a new or perhaps seasoned sewer on-on-one training along with speedy, personalised feedback.
can start $47.60 for each session in Varnville, South Carolina.
match your capability degree, regardless if you are a novice or perhaps need to enhance your stitching capability.
priced dependent on the number of lessons you determine to receive.
You are able to come up with a schedule for the lessons anytime, all through the year, 6 days each week. Because the major stitching session service provider within Varnville, SC, the knowledgeable instructors you will need to lengthy lessons at your home or the instructor's location, whatever is actually most convenient for you personally. Once you submit an application, you'll be given a call set of available Varnville instructors in addition to their spots from which to choose based on what's most convenient for you personally.
Learning to sew makes it possible to lessen your stress and also show the ingenuity. That doesn't matter your age or if you're not used to stitching. We've classes for just about all age group and talent amounts. Create the classes right now and give sewing an opportunity. You actually won't regret it!


Today is Candlemas, also known as The Festival of Light.
It celebrates the beginning of the lengthening of the days, and in some traditions is considered the beginning of spring. This day is also halfway between Winter Solstice and Spring Equinox.
This festival began in pre-Christian times as a Celebration of Lights and of the Celtic goddess Brigit (February 1st). Candlemas takes its name from the blessing of the candles on this day for use in the church throughout the coming year. This is also a time where we look to the hibernating animals to come out and see if it is winter and whether or not we will have an early Spring,as well as a traditional time of preparation of the fields for later planting.
Think of goals and things you would like to see happen in this New Year together, in this time of new beginnings, as the earth becomes Spring again and do something to celebrate that.
Candle-making in some form – rolling candles, candle dipping, making earth candles outside in the ground and lighting them. Some families have their candles blessed on this day.
Till a garden plot for March planting.
We normally celebrate this the Saturday before with our dear friend Tiffeni at Kinderhaus. She has a lovely festival where we roll beeswax candles,light one and make a wish and she tells us a story. Unfortunately she had to cancel this year. K was excited to make a candle and celebrate Candlemas on that Saturday so I just went ahead and celebrated it that day instead of Feb. 2nd.
We followed Candlemas traditions all day. We had pancakes for breakfast (pancakes are a traditional Candlemas food. They are a symbol for the sun). I did a tiny bit out in the garden and started our Spring cleaning ritual. I also did some pretty heavy nesting and re-organizing of our kitchen and K's room over the weekend. The thing that symbolizes Candlemas the most for K is the making of candles. We didn't have any sheets of beeswax to roll so we instead melted some blocks of it and poured it into a heart shaped holder (figured I may as well make this for Valentines day as well).
This was our special Candlemas candle for this year. We lit our special candle at dinnertime and made a wish for Springtime. We will continue to use this candle every meal until it is all gone,then we'll go back to using which ever candles we have around (we light candles for every meal in our house).
Candlelight lifting the darkness of winter and creating a new setting for spring!
Hope everyone has a wonderful Candlemas!!
Thank you so much for posting this, Nicole! As I walking this morning, it looked so much like Spring out and making Candles this afternoon with the boys will be a fun and joyful way to mark the season!
oh, and I JUST noticed you have the angel! So pretty.. yay!
I first discovered Candlemas while living in france...and fell in love...a dinner of crepes did it for me! We will be feasting on crepes tonight chez nous! We will also light a special candle...and think spring like thoughts...a ground hog came to visit my daughter's school today! So cute.
Thank you for such a good description of Candlemas w/lots of great inspirations, too!
I too was just writing about today. What you and Shelley and I had to say was very similar!
Marina- tee hee,what?! who wouldn't want to clean? we got the angel candleholder as a gift. i was so excited. i have been coveting it for a long,long time now!
mamanurture- i'm glad it could help! it's a lot to take in at first for sure! but thats what i have been doing slowly learning and adding things in each day.
kimberley- wow candlemas in france sounds lovely!mmm crepes!
pampered mom-thank you :) i'm still learning myself so bits here and there.
2 is when I started with my oldest! Perfect age :) I actually don't have the festival book and have been meaning to check it out, sorry I'm not much help there!
beautiful. we're adopting this today.
we just moved from my (lifetime) hometown of portland, or. ironically we're now in baltimore and dying a slow death, i'm afraid. we desperately miss home and being surrounded by people who are raising their bebes as we are. it's a daily struggle. your blog brings some comfort and transports me back home for a bit. thank you for that.
Oh, *hugs* I am so glad this brings you a bit of comfort. Thank you for sharing that. Will you be able to move back? We only just got here in September but we love it already.
candlemas was BEAUTIFUL! we rolled our own beeswax candles and had at least a dozen covering our table at dinner. it was so fun to talk about the tradition with the girls!
we're hoping to come back next winter. it's all hinging on if my hubby can get a job over there.
i'm so glad you're enjoying portland! i've lived all over the city and have a mad love affair with the place. let me know if you ever need any pointers or ideas of places to adventure!


text:
Q: Invoke-WebRequest not returning tag I'm trying to crawl a website and Invoke-WebRequest is not displaying the a tag. Please see the following code:
$url = "https://groceries.asda.com/search/jack%20daniels"
$url.ParsedHtml.all.tags("a") | forEach-Object -MemberName innertext

The above should return any a tag innertext that's located on their website, however it returns blank. For example it should return this:
Jack Daniel's Old No. 7 Tennessee Whiskey

A: When you navigate to https://groceries.asda.com/search/jack%20daniels in a browser it doesn't just load a single flat html page - that particular site responds with a bare-bones "skeleton" page that contains a bunch of javascript that the browser executes to makes dozens (hundreds?) of additional requests to load the actual page contents and show the products (if you disable javascript you'll just see the bare-bones page).
By comparison, Invoke-WebRequest only makes a single page request that in your case just retrieves the "skeleton" page contents at the exact url you give it - it doesn't emulate the browser and run the javascript that loads the rest of the page. At that point the product tags don't even exist in the document, which is why it's not finding them.
If you want to retrieve the product details you're either going to need to work out what the correct url is that returns the product results for a given search term, or you're going to have to emulate a browser to execute the javascript in the skeleton page and automatically make all of the additional requests (e.g. use Selenium) to build the complete page.
Neither is a trivial task, unfortunately :-(
Chrome network trace for https://groceries.asda.com/search/jack%20daniels

Fiddler trace for Invoke-WebRequest -Uri "https://groceries.asda.com/search/jack%20daniels"

redpajama_set_name: RedPajamaStackExchange


The video game/electronics/comic book retailer GameStop Corp is considering a possible buyout, according to Reuters.
The GameStop store sign is seen at its shop in Westminster, Colorado January 14, 2014.
Founded in 1984 and once a mainstay for gamers, GameStop has struggled to cope with competition from online retailers like Amazon and digital distribution platforms including Steam, even after several attempts to diversify its business model. TechCrunch has also contacted GameStop.
While it is not yet certain if GameStop will follow through with a sale, the company's stocks rose 11% on Monday, after rumors of a buyout started. The news outlet reports that GameStop executives are meeting with various private equity firms regarding selling a controlling interest in the company.
Sycamore Partners said it has no comment. Around that time, CEO Michael Mauler also resigned after only three months in the position, citing personal reasons.
This comes one month after former Microsoft executive/board director Shane Kim was appointed interim CEO of GameStop.
While its used-game niche has helped the company, this model has also been challenged as games developers including Electronic Arts Inc, Sony Corp and Microsoft Corp have each launched plans to offer monthly streaming services for numerous older titles they own. In an earlier report, a letter from major GameStop shareholder Tiger Management LLC indicated that investors have been calling for changes at the company.
The latest news has been viewed positively by investors, who have been vocal in questioning the company's strategic direction.
About 1:30 p.m., a 23-year-old woman was shot in the neck in the 400 block of West 100th Street in the Fernwood neighborhood. A third victim was shot in the leg, a fourth was shot in the arm and a fifth was shot numerous times in the abdomen.
Krychowiak partially made amends with his goal but it was too late for the disappointing Poles. Poland square-off against Senegal at Spartak Stadium, Moscow, Russia.
Before giving birth to True Thompson, Khloe was dealing with handfuls of cheating allegations against her partner, Tristan Thompson .
Any departure that involves tax increases could upset core voters and open it up to criticism from the opposition Labour Party. But she warned that Mrs May's promise to fund the rise through a " Brexit dividend " was "simply not credible".
Though many expect him to leave, there is a belief that James will be inclined to re-sign with the Cavs given the right situation. You can make the case that going after rings, namely with the hope that he'd beat the Warriors to get them, is a bad idea.
At Egypt's recent training camp in Grozny, Salah reportedly required the help of his team-mates to pull on his top. While Russia coasted home with a 5-0 margin against Saudi Arabia, Egypt will provide a much tougher test.
But Kurtzman and Akiva Goldsman are on board to produce the new Stewart-led Star Trek series, if it comes to pass. Early reports indicate that negotiations for a return of Picard are still ongoing and could end at any time.
England are set to issue an update on Morgan's fitness, and that of sidelined all-rounders Ben Stokes and Chris Woakes, on Monday. Stand-in skipper Jos Buttler added a quickfire 91 not out.
Ambassador Nikki Haley are scheduled to talk about the Human Rights Council later Tuesday in remarks at the State Department. UN High Commissioner for Human Rights, Zeid Ra'ad al-Hussein, called on Washington to halt its "unconscionable" policy .
England smash world record ODI score against Australia Bairstow smashed his fourth ODI century in 2018 and Hales took England past their old record with a six, the 21st of the innings. Once again it was spin that did the damage to Australia with England tweaker Adil Rashid taking 4-47 and Moeen Ali 3-28.
Love Island 2018: First Look Shows Trouble Ahead For Adam And Rosie Later chatting to the girls, Rosie becomes emotional as she recounts the intimate moment she and Adam shared two nights ago. Yes? She tells her love rival 'He's been with four girls in two weeks, he did it Kendall, he's done it to me'.
Hundreds of United Methodist Clergy file church charges against Jeff Sessions The group said in a June 18 statement that Sessions violated Paragraph 2702.3 of the Denominations's Book of Discipline. He said forcing Sessions out of the denomination would be a "tragedy" and is not the goal of the charges.
Trump to set up 'Space Force' as sixth military branch Air Force was created through the 1947 National Security Act, passed by Congress and signed into law by President Harry Truman. However, critics have said the treaty has no enforcement mechanism, allowing the US or other countries to militarize space .
Ryan Giggs sends message to Gareth Bale over Manchester United move Giggs, who now manages the Welsh national team, said that he will be happy to see his compatriot join the Theatre of Dreams.
The Fallout 76 beta is coming to Xbox One first The beta, or Break it Early Test Application as Bethesda calls it, is now available only for pre-order customers. Numerous big online games these days offer early beta access (among other exclusives) on certain platforms.
Chris Wood Won't Be Back For Supergirl Season 4 Speaking about the events that took place in the Season 3 finale, Queller expanded on Rovner's comments. Finally, a special thank you to my Supergirl family.
Chelsea set to appoint Sarri after reaching agreement to terminate Conte's contract Chelsea are hopeful of confirming the appointment of Maurizio Sarri as their new manager by the end of this week. Sarri is however still tied to Napoli, who want around £3.5m in compensation.
Army Gives 'Commie Cadet' Other-Than-Honorable Discharge Marco Rubio, a Florida Republican, called on the secretary of the Army to remove Rapone from the officer ranks. Military experts say it's rare for an officer out of West Point to receive an other-than-honorable discharge.
Mohamed Salah in starting line-up for Egypt v Russian Federation : team On the other hand, Egypt's majority of goals were from cross balls, so Russia's weakness plays particularly well in Egypt's favor. Hello and Welcome to the live updates of the first fixture of the second round of the group stages of the FIFA World Cup 2018.
Donald Trump ratchets up China trade dispute with new tariffs But Beijing's mention of "comprehensive measures" suggests that it would go beyond tariffs, said Jake Parker of the U.S. Meanwhile, markets have responded poorly to Trump's tariffs play, dipping repeatedly with each new tariff announcement.


Developer Stickers App Data & Review - Stickers - Apps Rankings!
Be expressive with these coding expressions! Have fun!
The applications Developer Stickers was published in the category Stickers on 2019-02-09 and was developed by mohamed taoufik. The file size is 5.30 MB. The current version is 1.0 and works well on 10.0 and high ios versions.
Do you like Developer Stickers applications? Please share!


text:
Q: How to extract substrings from strings So if I have this string
Offer ends 25 Dec 7:00pm CET -75% 27,99$ 6,99$ You're receiving

How would I capture the various datapoints reliably? So that it would work even if the dates/times/percentages changes.
What I want it to look like is basically:
$Percent: 75
$1: 27.99
$2. 6.99
$Ends: 25 Dec 7.00pm CET (capture everything between "Offer ends" and -**%)

Can anyone help me on the way to achiving this? All the numbers/dates can change, PM can turn to AM and CET can turn to CEST etc. I'm not sure how to reliably save it in all possible cases.

A: You can make an array from your string and than use the array to get the data you need:
<?php

$string  = "Offer ends 25 Dec 7:00pm CET -75% 27,99$ 6,99$ You're receiving";

//make an array
$array = explode(" ", $string);

//to see which element of the array you need you can just print it.
echo "
";
print_r($array);
echo "
";

//output the data
echo "Percentage: " . $array[6]. "
";
echo "1: " . $array[7]. "
";
echo "2: " . $array[8]. "
";
echo "Ends: ". $array[2] . " " . $array[3] . " " . $array[4]. "
";
?>

A: This is a quick example with regular expressions and preg_match:
<?php

// Your data
$subject = "Offer ends 25 Dec 7:00pm CET -75% 27,99$ 6,99$ You're receiving";

// The pattern (note the use of groups in regexp with brackets)
$pattern = '/(\d{1,2} [a-z]{3} \d{1,2}:\d{2}[a-z]{2} [a-z]{3}) (\-?[0-9]{1,2}\%) (\d+,\d{2,}\$) (\d+,\d{2,}\$)/i';
$matches = [];
preg_match ( $pattern, $subject, $matches);

print_r($matches);

$Percent = $matches[2];
$price_one = $matches[3];
$price_two = $matches[4];
$Ends = $matches[1];

?>

You can use this website to test / learn more about regex: https://regex101.com/


Historical daily share price chart and data for Intelligent Systems since 1995 adjusted for splits. The latest closing stock price for Intelligent Systems as of April 24, 2019 is 30.86.
The all-time high Intelligent Systems stock price is 36.43, which is 18% above the current share price.
The Intelligent Systems 52-week high stock price is 36.43, which is 18% above the current share price.
The Intelligent Systems 52-week low stock price is 5.02, which is 83.7% below the current share price.
The average Intelligent Systems stock price for the last 52 weeks is 14.90.
Intelligent Systems Corporation's main focus is to help entrepreneurs build valuable companies by forming flexible partnership arrangements with early stage domestic companies. They bring value to these companies by providing practical business advice, a proven incubator program, early stage equity capital and a network of business and financial contacts.


Adobe Premiere Pro has fast become the number-one editing system for many editors around the world, and in the CS6 version, Adobe has added some new features that challenge expectations. These include a new special effects paradigm, advanced features previously seen only in Adobe After Effects, and a newly enhanced user interface. In this Learn by Video course (produced in partnership with our friends at Peachpit Press), expert editor and trainer Maxim Jago covers everything from the fundamentals of nonlinear editing all the way up to the most advanced new features. You'll learn how to bring multiple media types into Premiere Pro, combine them to produce professional edits, apply effects, add titles, work with audio, and output to multiple formats, including DVD, Blu-ray and files.


text:
Friendly Atheist Podcast · Ep. 323 - Did an Atheist Burn Down a Mississippi Church?
Did an Atheist Burn Down a Mississippi Church?
If you support what we're doing, please contribute to our Patreon page!
Jessica and I sat down to talk about several stories from the past week involving religion and politics.
— Christian writer Eric Metaxas is super-racist… and a hypocrite. (3:00)
— A Mississippi church was burned down. An atheist-associated "A" symbol was included at the scene of the crime. (15:18)
— This is a very bad reason not to wear a mask. (22:03)
— A Pakistani education board banned a kids' math textbook for including pictures of pigs. (29:14)
— Norma McCorvey, a.k.a. the "Roe" of Roe v. Wade, said she only pushed a pro-life position because she was paid. (34:44)
— This list of atheist Republicans is tiny. Very tiny. (47:55)
— Donald Trump wants churches to open up this weekend. Is it weird that he wants to kill off his own base? (55:52)
— A Texas mayor says only men can deliver invocation prayers. (1:05:48)
— Child marriage has been legally banned in Pennsylvania and Minnesota. (1:07:18)
(Image via Marshall County Sheriff's Office)
May 23, 2020	by The Friendly Atheist Podcast
Arizona and the Atheist Invocations
It's Okay for CNN to Say Jesus Wasn't Perfect
The Counterprotest in Tulsa
The Friendly Atheist Podcast
Hemant Mehta is the editor of Friendly Atheist, appears on the Atheist Voice channel on YouTube, and co-hosts the uniquely-named Friendly Atheist Podcast. He is a former National Board Certified high school math teacher in the suburbs of Chicago, where he taught for seven years.
Jessica Bluemke is a contributor to Friendly Atheist and a graduate of Ball State University. She lives on the north side of Chicago and performs stand-up comedy in her free time.
He Rioted Because God Didn't Tell Him Not To
Jesus and the Capitol Coup
Conservative Blasts Dr. Fauci for Being a Humanist
The Secret Disturbing Life of Christian Apologist Ravi Zacharias
Why Does Joel Osteen's Church Need PPP Loans?
Brennan Lauritzen on Jesus and the Wedding Cake of Bigotry
Katherine Robinson on Congratulations, Senator Not Roy Moore!
Yness Boily on Jesus and the Wedding Cake of Bigotry
A_guy_named_Tom on Your Post-Vegas Thoughts and Prayers Aren't Helping
Nathan Paxton on Hemant and Jessica, Your Co-Hosts!
Facebook	Twitter	Instagram	Pinterest	Google Plus	Tumblr	Youtube	RSS
© 2020 The Friendly Atheist Podcast. All Rights Reserved. Back to top


text:
<?php
use dk\nordsign\application\services;
set_include_path(
    get_include_path() . PATH_SEPARATOR . realpath("../src"));
use com\mikebevz\xsd2php;

require_once "com/mikebevz/xsd2php/SoapServer.php";

class SoapServerTest extends PHPUnit_Framework_TestCase
{
    /**
     *
     * @var xsd2php\SoapServer
     */
    private $tclass;

    private $wsdl;

    private $options;

    private $expDir = "data/expected/SoapServer";
    private $genDir = "data/generated/SoapServer";
    private static $actual;

    protected function setUp ()
    {

        $this->options = array(
            'soap_version' => SOAP_1_2,
            'cache_wsdl' => WSDL_CACHE_NONE,
            'features' => SOAP_SINGLE_ELEMENT_ARRAYS
        );

        $this->wsdl = $this->expDir.DIRECTORY_SEPARATOR."NavService.wsdl";
        $this->tclass = new xsd2php\SoapServer($this->wsdl,  $this->options);

    }
    protected function tearDown ()
    {
        $this->tclass = null;
    }

    /**
     * Case is that we've got NavService.php, a webservice class, which we would
     * like to expose as a webservice using SoapServer.
     *
     */
    public function test1() {

        require_once $this->expDir.DIRECTORY_SEPARATOR."services".DIRECTORY_SEPARATOR."NavService.php";

        $service = new services\NavService2();
        $this->tclass->setObject($service);

        $req = '<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body>
        <ns4:updateContactCompany xmlns:ns2="urn:dk:nordsign:schema:ContactCompany"
        xmlns:ns3="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
        xmlns:ns4="urn:dk:nordsign:application:services"
        xmlns:ns5="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
        xmlns:ns6="urn:dk:nordsign:schema:ContactPerson">
        <ns2:ContactCompany>
        <ns2:ExtID>DK234234234234234</ns2:ExtID><ns5:CompanyID>DK234234234234234</ns5:CompanyID><ns5:Name>TON s.r.o.</ns5:Name><ns5:Telephone>24234234222</ns5:Telephone><ns5:Telefax>12341234622</ns5:Telefax><ns3:Party><ns5:WebsiteURI>test.com</ns5:WebsiteURI></ns3:Party><ns2:BillingAddress><ns2:Address><ns5:Line>Nytorv 50</ns5:Line></ns2:Address><ns2:PostalCode>9000</ns2:PostalCode><ns2:City>Aalborg</ns2:City><ns2:State>Nordjylland</ns2:State><ns2:Country>DK</ns2:Country></ns2:BillingAddress>
        </ns2:ContactCompany>
        </ns4:updateContactCompany>
        </soap:Body></soap:Envelope>';

        $req = '<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body>
        <ns4:updateContactPerson xmlns:ns2="urn:dk:nordsign:schema:ContactCompany"
        xmlns:ns3="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
        xmlns:ns4="urn:dk:nordsign:application:services"
        xmlns:ns5="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
        xmlns:ns6="urn:dk:nordsign:schema:ContactPerson">
        <ns6:ContactPerson>
            <ns5:Name>TON s.r.o.</ns5:Name>
        </ns6:ContactPerson>
        </ns4:updateContactPerson>
        </soap:Body></soap:Envelope>';

        $expected = '<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:dk:nordsign:application:services"><SOAP-ENV:Body><ns1:updateContactPersonResponse>TON s.r.o.</ns1:updateContactPersonResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
';

        ob_start('SoapServerTest::callback');
        $resp = $this->tclass->handle($req);
        ob_end_flush();

        //print_r(self::$actual);
        $this->assertEquals($expected, self::$actual);
    }

    public static function callback($buf) {
        self::$actual = $buf;
    }
}


Ananse Productions is back with a new mobile game, and this time, it's all about words. Letter Clever, a multiplayer word game,will soon be released for iOS and later Android, and Jim Denham is hear to give us a demonstration and tell us all about it in this podcast. Blind Bargains audio coverage of CSUN 2013 is generously sponsored by the American Foundation for the Blind.


text:
S4Capital boosts BMW armoury with Staud Studios
Giles Keeble: why so many 'big' global ad ideas just get lost in translation
Posted by: Giles Keeble in Advertisers, Agencies, Creative, News October 23, 2015	2 Comments
"The single biggest problem in communication is the illusion that it has taken place." (George Bernard Shaw.)
I recently came across an agency claim that they create one idea that can work anywhere, in any channel.
This is, of course, the Holy Grail to many a multinational client. But does it really make sense?
Careful, cuidado, attention, achtung, dangxin.
Of course, it isn't new. For example, one global idea was the aim of Coke and many of P&G's brands for years, until there was a shift to 'multi-local.' Arguments against one global idea include that it can lead to lowest common denominator work, or that it loses in translation (or doesn't translate at all). Of course, that isn't always the case; but I would guess that for every ad that works everywhere ('I want to teach the World to Sing' or P&G's 'Proud Sponsor of Mums' perhaps?) there will be lots that don't. Are visual ideas the answer? Perhaps, if they do not feature people or the 'wrong' colour.
There are different reasons for the search for the global Big Idea. One is the economics of multinational clients and their agencies. One office does the work and the others do the distribution. Another may be that the ad business is still rather western-centric – so when we say anywhere, we don't really mean Africa, or India, China or Japan.
(Nick Souter once told me a story about how, when he was a boy, he answered a call from the US on a Saturday morning from a businessman who needed to talk to Nick's father about some big deal they were involved in. When Nick told him his father was playing golf, the response was: "What? In this weather!?")
I think John Hegarty once wrote about a shared world of brands, and to a great extent that is true, certainly within the higher levels of income. It is also true that while cultures differ, human emotions largely don't. Some humour travels (Mr Bean), but a lot doesn't. I used to start off a Judgement course by showing a joke to marketers from around the world: the point was to understand the need for shared criteria, and for a joke it is whether or not it makes you laugh. Not all of them got it, for different reasons – taste, understanding, culture; and cultural differences can have a big effect on communication.
Persil discovered that the idea of children being adventurous free spirits who got dirty did not wear well in Asia. In Brazil, Knorr was slow to recognise that soups have a totally different use in the North than in the South. And I'm not sure if the wonderful Honda campaign earlier this century ran outside the UK, despite the awards ads like 'Grr' won.
When I was in Hong Kong and involved with the launch of HSBC's 'The World's Local Bank,' I became aware that the agency wasn't always acting like the world's local agency. One UK script I remember being sent for checking involved an American agricultural machinery salesman giving a potential Chinese client a green hat as a brand memento. The point being that HSBC could have told him it meant the client's eldest daughter was ready for marriage. In fact, it meant his wife was being shagged by someone else, as I quickly reported back. I was ignored. This and other scripts – no doubt from a cursory look at an online cultural differences site – caused a bit of an uproar when they were presented at a conference.
In the case of Honda, I doubt it was ever intended as a multinational campaign. Local country campaigns do and will continue, if the country or region can sustain the cost of the campaign. Some will be extended to other countries with similar cultures, though doing so (whether by dubbing or reshooting with a different cast) may sometimes be a false economy. Of course they may not communicate very well in any language or culture in the first place, in which case the whole campaign is a waste of money (as so many are).
When I ran courses for brand managers around the world, there was an understandable emphasis on the need for a 'campaignable' idea. The issue for me was not just about global understanding but about the channels. If TV is the main medium, and an idea works brilliantly in that channel yet not in print, should you scrap the idea? This can lead to lowest common denominator work, either something a bit safe and boring or, in the end, not much more than the message as a campaign line.
Channels communicate differently, have different interaction and probably a different role – awareness for TV, information for press and data collection for the website, for example. In some parts of the world, radio is a hugely important channel. Images can be powerful but, again, be careful of meaning. I have already written that I sense there are a lot of 'slice of life' TV ads, with a good representation of ethnicity and age – are these 'global'?
The search for a 'big idea' remains essential. I am just advocating that clients and agencies step back and have a think before they get too excited about one idea's ability to travel (because they are so in love with it or because of imagined economies of scale). First, is it a really great idea? Then, does it work everywhere, in all channels?
Communication is about response: is what you want to say what people think, believe or feel you have said? And do they care?
In any language, or pictures.
Of course, the agency making the claim may just be doing a bit of a PR wheeze: they don't have, or are not expecting, a lot of multinational accounts- but the discipline of providing one idea is attractive. When Jerry Dell Femina had only just started his agency, he got a front page in AdAge with the story that they hadn't won the coveted TWA (or was that PanAm?) account. They didn't even pitch for it. Ah, truth in advertising!
New Honda campaign over-claims instead of overtaking
Honda goes for crazy horses in new CR-V campaign
Apple kick starts global retail ad pitch
Why online ad blockers may be doing marketers a favour
Publicis buys big South Africa agency Creative Counsel
Has FCB cracked age-old Levi's ad problem?
advertising featured Giles Keeble honda hsbc	2015-10-23
Giles Keeble
About Giles Keeble
Giles Keeble started as a rep (account man) at JWT before moving to BMP. There Stanley Pollitt told him that JWT's Stephen King had wanted him to become a planner. John Webster encouraged him to become a writer but after a number of years Giles moved to French Gold Abbott and, for a while, did become a planner of sorts. Returning to writing he went to David Abbott's new agency AMV followed by WCRS and was then ECD of Leo Burnett for six years. He then returned to AMV before moving to Publicis and then Lowe in Hong Kong at the inception of the 'World's Local Bank' campaign for HSBC. He now works as a writer and strategist as well as running advertising courses for senior clients.
Manuel Herranz
It is known that mistakes in translation and advertising (which are often combined) lead to international marketing business failures. Only companies with the right mixture of knowhow, experienced staff and expertise can keep a constant, solid, coherent brand message in different cultures. The best brands achieve that, but only with large budgets. Globalizing a business is a demanding task, and may not be as simple as it sounds. Being neglectful of even the apparently most insignificant areas of one's business affairs can lead to considerable losses.
The author obviously proves his experience when he quotes "whether by dubbing or reshooting with a different cast) may sometimes be a false economy" as adaptations sometimes cost more than the original campaign. But regional campaigns may not be "transportable" as a localized version has then become flavored: "Of course they may not communicate very well in any language or culture in the first place, in which case the whole campaign is a waste of money (as so many are)."
We describe some examples of howmistakes in translation can play a key role in the failure of a promotional campaign within a particular region. Acquiring professional translation services and relying on a human translation crew can ensure that such transcultural and translation mistake are avoided and quality versions and translations help a businesses convey the meaning.
I've observed that central versus local control for MNCs tends to operate as a pendulum swing, over about a five-ten year cycle.
Pressure for central control is justified as offering greater 'consistency', and cost savings. All well and good, but local performance tends to suffer as 'average' executions created for many markets perform 'averagely' in any one.
At this point a reaction in favour of greater local autonomy develops. (Think of it as Newton's Third Law of Advertising).
It seems to be entirely internally-driven, as evidenced by the fact that companies in the same industry (say, for example P&G and Unilever in personal care), often tend to be moving in opposite directions on the pendulum swing.


NJIT provides multiple options for an electronic presence (E-presence) for organizational websites for departments, student organizations, Greeks, and other affiliated organizations.
Student organizations, old or new, should consider becoming sanctioned by the GSA, Student Senate, or Inter Fraternity & Sorority Council (IFSC).
Non-sanctioned organizations must use a longer and less-friendly URL and email address and cannot request AFS web space.
Sanctioned or not, however, ANY NJIT STUDENT can create a Google Group, Google Site or Facebook Group for themselves or a Senate or GSA club, or a Greek organization.
It is important to note that between any of the aforementioned NJIT E-presence solutions (Google Groups, Google Sites, AFS webspace, NJIT on Facebook), no data transfer is possible.
There will be privacy and security measures in place like modifying levels of access and controls, which is ideal for student organizations. For example, you may choose to allow the world to view your Google Group, Google Site, or AFS webspace, limit viewing access to only the NJIT community, or limit access to group members only.
For help with any Google E-presence solution, please review the NJIT Google website or look within each E-presence solutions' web HELP link(s). Contact the IST Service Desk (servicedesk.njit.edu) if you are unable to resolve your issue(s).
2. Get sanctioned by the Student Senate, GSA, or IFSC.
Students that desire to have their new or existing student organization sanctioned must contact Senate, GSA or IFSC for approval.
Senate or GSA representative will contact the IST Service Desk to register your sanctioned student organization.
3. Your "vanity addresses" (e.g., chess@njit.edu, http://clubs.njit.edu/chess, http://greeks.njit.edu/lambdathetaalpha, and http://associations.njit.edu/ieee) will be issued to the student organization administrator.


I need to have a Dr. Seuss party just so I can order this cake. I spotted this whimiscal, topsy turvy, style Dr. Seuss cake on Instagram and asked Susie if I could share it with all of you. She sent over the detailed photos and I am amazed by this masterpiece. I hope it will inspire you if you are looking for ideas to celebrate with a Dr. Seuss cake. If you live in her area (El Paso, Texas) you could ask her to make you your own custom cake. Contact Susie through Facebook.
I have seen quite a few Dr. Seuss cakes online and have a variety pinned on my Dr. Seuss Party and Cake Board, but this one is one of my favorites with all the details.
Thing One Thing Two symbols on the Cat's Hat.
The Lorax with truffula trees. Green Eggs and Ham.
One Fish, Two Fish, Red Fish, Blue Fish. All the classic characters are represented.
If you have made a Dr. Seuss cake (or ordered one for your party) and would like to share it on obSEUSSed, add your link to the Dr. Seuss Link Collection by clicking the box below or leaving a comment with your link.
Follow my Dr. Seuss Cake board for more ideas.
*Disclosure: I recieve a small percentage from the Google Affiliate ads below. They have a variety of fun Dr. Seuss items that would be great for parties.


The 165mm-travel, M5 aluminum Enduro Comp features FSR suspension, a custom FOX Float CTD Ev..
Nimble, playful, capable - however you want to describe the perfect all mountain bike, the E..
Who says that carbon should have all the fun? Not us. Our Enduro Comp 29/6Fattie flies in the f..
Nimble, flick'able, agile - whatever you want to call it, our Enduro Comp 650b embodies it ..
Ever had a ride that felt more like an experience than just a ride? Us, too, and we've been c..
With our new S-Works Enduro 29/6Fattie, some people asked us, "Why mess with a good thing?" But..
We've heard it all before: 'This bike's for going fast, that one's for having fun.' 'This one..
No need to fret - we haven't forgotten about all you alloy fans out there. In fact, the new S..


text:
Attorney Brian Morley Discusses Current Criminal Legal News on Radio Show
This past weekend, six people were killed by gun violence in Kalamazoo. The alleged gunman was an Uber driver who, authorities say, has admitted to the shootings. However, the suspect is pleading not guilty in court. While a guest on Michigan's […]
This past weekend, six people were killed by gun violence in Kalamazoo. The alleged gunman was an Uber driver who, authorities say, has admitted to the shootings. However, the suspect is pleading not guilty in court.
While a guest on Michigan's Big Show with Michael Patrick Shields this week, attorney Brian P. Morley was asked how an alleged criminal can say he was involved with a crime but then plead not guilty.
"The legal question will become, 'is he criminally responsible' for the crime, " said Morley. "That's why you plead not guilty at this stage."
Morley and Shields also discussed the current television series "The People vs O.J. Simpson" and how that trial is captivating audiences now, just as it did 20 years ago.
"DNA was relatively new at the time," Morley said. "It wasn't as commonplace as it is now."
To hear the full interview with Morley, on both topics, CLICK HERE.
For more information on this blog post, or other criminal or family law concerns, contact Lansing attorney Brian P. Morley at 517.377.0873, or bmorley@fraserlawfirm.com. Brian Morley is a skilled attorney specializing in criminal defense and family law, with the added experience of nearly a decade as a certified police officer. He was recently selected by peers for inclusion once again in The Best Lawyers in America© 2015 in the field of DUI/DWI Defense.
New Laws Take Aim at Inherited Guns
Client Alert: CMS Issues Final Rule on Reporting and Return of Overpayments Under 60-Day Rule


Lobster U - I realize that you're trying to find articles on our blog within the headline Lobster U of choices of articles that we got. If you are trying to find Lobster U article and you fails to dwell right here, you can see from several of the articles that may suit your needs right down below. We are going to help you to get articles Lobster U you're looking at some of our content which might be suitable as you are looking for the material. Thank you for coming to our website. We really hope that you will find what you want to find here related to the Lobster U.
Lobster U - Welcome - lobster institute, The lobster institute is a center of scholarship and outreach in the college of natural sciences, forestry, and agriculture at the university of maine. institute staff engage with the lobster industry, scientists, fishery managers, health regulators, and legislators to address industry priorities. Pictou lobster carnival - 1934 > home, A nova scotia signature event, this three day festival celebrates the end of the fishing season in the area, maritime culture and music. the event features musical performances at the main stage, a beer garden, a mardi gras parade, an antique car show, fire works, buskers, bed races, derby races, boat races, modified boat races, street dance, lobster dinners, pancake breakfast, 10k run for the. Buy fresh maine lobster online | maine lobster direct, Welcome to maine lobster direct. maine lobster direct is a family-owned and operated business located on historic union wharf in the heart of portland maine's working waterfront.. Maine lobster festival: 72nd annual celebration , Official web site of the maine lobster festival, held each august in rockland, maine. ticket and cooking contest information, schedule of events, parade and 10k race sign-up.. How trump' trade war .. lobster industry , China slapped a 25 per cent tariff on u.s. lobster in july — effectively closing the fastest-growing market in the world to maine's lobster industry. some experts say maine lobster may be coming. Home - young' lobster pound, We can ship anywhere in the u.s. through fedex overnight to your door. we also have gift certificates available. we do not put our prices on here because prices change very often, so please call for daily market prices or to place take-out orders, or to check hours of operation.. Hot water lobster - instant hot water valve faster hot, Hot water lobster instant hot water valve is an eco friendly circulation system for faster hot water, saving water, saving energy and pipe freeze prevention.. U..-china trade war boosts sales canadian live lobster, The first month china imposed a retaliatory 25 per cent tariff on lobster from the u.s., canadian shipments nearly doubled compared to the year before, according to canadian government statistics.. Red lobster seafood restaurants, Fishing for the future. learn about rock lobster and sustainable fishing efforts to ensure there's lobster to enjoy for generations. this video was produced in partnership with great big story.


Please allow us to answer any questions you may have by clicking on the links below. If you cannot find the information you are looking for, please contact us by email at support@pureandbalanced.com , or by phone at 800-296-6678. For your convenience, you can also communicate with us via our Contact Us page or via	Chat.
We know your time is precious, so we've set up a few ways to find what you need quickly and efficiently!
Please feel free to browse by "Brands" or "Ingredient Index" found at the top of the page. If you have any special dietary needs, please feel free to click on the "Search By Dietary Consideration" images found at the bottom of the homepage to search by such things as "Dairy Free" or "Gluten Free", etc. If you would like to search by several criteria please feel free to take advantage of our Advanced Search feature, which also allows you to search by "Form", such as "Capsules" or "Tablets", etc.
We hope you find these search tools useful in your quest to finding the right product, but if you still need assistance, please feel free to reach out to us via phone (800-296-6678), email (support@pureandbalanced.com), or chat and we will be happy to help you!
By clicking on the My Account link, found at the top of each page in the blue header – you will be brought to your account dashboard where changes to your account can be made. Feel free to update your default shipping and billing addresses, by clicking on Address Book, and delete saved credit cards in the Credit Cards section.
By clicking on My Account link, found at the top of each page in the blue header – you will be brought to your account dashboard where all previous orders can be viewed.
Please feel free to click on the "Track" button found at the top of every page in the blue header. You will be prompted to login with your email and password, which will then bring you to your "My Orders" console. Here you can see each of your orders placed along with immediate visibility of Tracking status and tracking links. If the Tracking states "In Process", this means that your order has been received and is in the process of shipment. Once shipped, you will see a tracking number which is a link to view the location / status of your order.
How do I view or change my AutoShip schedule?
By hovering over the "My Account" button and then clicking on the "My AutoShip" link – you will be brought directly to your AutoShip console where any changes can be made.
By hovering over the "My Account" button and then clicking on the "Return An Item" link – you will be brought directly to the RMA console where you can click on the button "Request New RMA" to begin the return / exchange process. We are always happy to provide prepaid return labels for any errors which may have happened on our end, and these labels can be easily accessed once the return has been approved. Please review our Return Policy page for all eligible items for return.
Online: Convenient way to place orders quickly, 24 hours a day!
Email Order Instructions: Simply email us the item numbers and quantities requested. You will then receive an email from PayPal with an outlined invoice and easy link for payment. You do not need a PayPal account to process your payment and you can use your preferred method of payment. Invoices can be canceled or edited at any time. Once payment is made, we will receive an email notification from PayPal of your payment. Your order will begin processing upon cleared payment, and we will email you with all tracking details once your order has shipped.
How do I apply my Promotion Code or Gift Card number?
You can apply your Promotion Code or Gift Card number either on the "My Cart" page, or on the last page of the checkout. Please note that some Promotion Codes may not be valid on certain items or combined with other offers.
Your order status can be checked within your "My Account" console. Here you will see if your order is "Pending" or in process of shipment, or "Complete" with full tracking details provided with link to carrier delivery status.
We do our best to satisfy our customers with the best prices!
If possible, we are happy to price match! Simply email us the link to the product, and we will let you know if we can honor the same price!
Additional promotions or coupons may not be applicable upon price match.
Can I use an Amazon Gift Card when checking out with Login/Pay with Amazon?
Currently Amazon Gift Cards are unable to be used upon checkout when using Login/Pay with Amazon. However, you can use your Amazon Rewards Visa Card or Amazon.com Store Card, or any other saved credit cards on file within your Amazon.com account.
How are your items stored?
All of our items are stored in a temperature controlled professional physician's office. Items which are heat sensitive are refrigerated at all times, until shipped on ice via expedited mail to their final destination.
What is the difference between Expiration Date and Manufacturer Date?
Some manufacturers use Expiration Dates, or the date designated by the manufacturer to discontinue the use of the product; while others use Manufacturer Dates (MFG), or "born on" dates which is when the product was manufactured or created. Please note that the Manufacturer Date, is not the same as an Expiration Date, and depending upon the product, Manufacturer Dates are typically good 2-3 years from manufacturer.
Can you provide Expiration Date or Manufacturer Date information for the product I might purchase?
Yes, we can provide Expiration Date or Manufacturer Date information for you. We will let you know what lot we are currently shipping out and the associated Expiration or Manufacturer Dates. Since our order volume is high, please note that this is a general reference date, and you may receive a different lot. However, the date will often be dated later than originally quoted.
How do you ship heat sensitive items?
All items which are designated as temperature sensitive by the manufacturer are by default shipped on ice via expedited mail Monday through Thursday only. No need to select expedited shipping upon checkout! Please ignore ETA's on these items, as they are often received much sooner than mentioned on the order.
In many cases, the ice pack in your package may have thawed, melted or sweat during shipment and may even feel warm to the touch. This is expected and the ice included in the package is to ensure that the package stays cool and temperature stable throughout the majority of the shipment. For probiotics, many manufacturers are now including "strain overrages" – actually more strains than listed on the label! – to account for any losses during shipment and to ensure potency of label claims.
We don't want you to have to wait for an order and we try our best to eliminate any possibility of an item going on backorder!
On the rare occasion that a backorder does occur, we will contact you via email immediately to let you know what to expect with your order. We will ship the items that are available for immediate shipment and then send along the backordered items when available. Rest assured, you are not charged anything additional for these separate shipments!
If the item is not fulfilled within 2 weeks, we will contact you via email and credit you accordingly, including any applied coupons.
You will receive an Expected Arrival date range found on the last page of the checkout. Please note that these dates are ranges based upon the method of shipment you selected as well as distance. It is possible items are received sooner than expected.
Will I have to pay customs / duties upon receipt of my items?
There may or may not be fees required upon import of your order. If you have any questions, please contact your local customs office for details prior to ordering. Any fees are the responsibility of the customer upon pickup. Please feel free to refer to our International Shipping page for more details on shipping outside of the United States.
International shipping costs are based upon the weight and distance of the package. To get an estimate of your shipping costs, add any items to your cart and head over to "My Cart" under "Estimate Shipping and Tax" to view different shipping methods and costs. Please note that this estimator does not actually calculate any customs fees or taxes which may be incurred upon delivery.
Shipments are sent within 1-3 business days of cleared payment and then shipped via the method of shipment selected at checkout. Expected delivery dates are displayed on the last page of the checkout. Please note this is a range only and often packages are received much sooner than displayed.
Estimated delivery times vary depending upon service selected at checkout. Date ranges can be viewed on the last page of the checkout. Please feel free to contact us with any questions regarding delivery. We kindly request that customers check with their local post offices / customs offices periodically after shipment to check the status of their orders. Occasionally items are held at customs if additional information is required upon pickup, and customers may not always be notified.
Don't see your country listed? Please contact us directly for inquiries and we will let you know if we are able to service you!
Do you sell customer information?
The privacy and security of our customers is our top priority. We will NEVER sell or share our customer information.
We would love to get your feedback and be able to service you better! Please feel free to head over to our "Contact Us" page, and under "Select A Department", select "Product Request" to enter all the details! We'll get back with you once we start carrying the product!


Food & Nutrition affects the immune system of our body which can regulate the health, metabolism & diseases control of an organism. A balanced diet keeps the body to fight against the diseases. The immune system is observed by the Antibodies & Immunoglobulin whereas nutrients play the key role in the build-up process. For periods, people have instinctively known that the better they eat, the healthier they are. The science of Nutritional Immunology studies distinct foods on a molecular level, and how they affect human health at a cellular level.


Well, the latter half of my league frittered away a bit. I got in a game against Dan and managed to win by a landslide pretty quickly, so we pulled out some Season Four teams and had a follow-on for fun game. My last game was scheduled against Oli, but due to impending babies we had to call it off. That left me a fairly solid third place out of six.
I ended up winning the "Hot Shot" for most four-pointers, and the most violent was Oli with a grand total of two kills. Not a very angry bunch, are we. Merrick managed to come fourth despite missing three of his games (two of which were giveaways to his opponents, rather than the draw we took in the first round).
Stuart took the league with his Void Sirens – five wins, no losses, top for cheers and score difference. Incredible!
Running a league is hard – I was told that the hardest part is getting people to play their games. I did my best, but Division One ended up not playing a single game. Division Two (which I was in) managed most of our games – I think four out of the fifteen failed (two were mine, whoops).
I wouldn't mind giving it a go later in the year. I might relax some of the MVP rules to make it a bit easier to get them, and maybe rejuggle the Division system. It worked great for Liam last season, but it didn't really work out this time around and I feel like being promoted to the division that doesn't play games is hardly a reward for our division's star!
I had fun playing the Z'zor but it would have been nice to get some more games in. I think if we did it again, I might relax the fixtures a little more – two week timeslot to play a game, against anybody, but keep the round-robin style. Maybe even four weeks to play two games to allow for some slippage without holding everyone up. It's something to consider for later in the year anyway, I have enough to get on with without trying to launch another league so soon.
This is going to be the last of my tournaments for the 'Spring of DreadBall' in 2013 – there may be something going on towards the end of the year, but it's time to chill out for the summer and try some other teams out.
I think for Firestorm, I'm going to try something different. I've had acceptable results with the Marauders, but they suffer in that their Jacks are unable to get the full utility that a Striker can – both in losing dice and losing mobility. They have a maximum of one hex movement on a throw, and that one hex loses them a dice. A Striker on any other team can move up to four hexes (bare minimum, most teams are five or more) and that reduces their dice to that of a stationary Jack. The goblin Jack's chances of slamming are significantly lower than of dodging, so I have been using them mostly as surrogate Strikers.
Looking at their disadvantages and considering the meta-game (Judwan and Corporation heavily in attendance in tournaments so far), I think it might be worth trying the Veer-myn. They have the same speed and distance of a Judwan, same bonuses (being Strikers) and both their Guards and Strikers can dodge well while defending the three-point strike zone. They have capable guards able to disrupt a defensive formation and open the opportunities for a 4-point strike.
I can't work out the best combination of advances for them – extra ranks on the Strikers would be a good thing, to try and counteract their Skill of 5 (raise it to 4, get A Safe Pair of Hands, etc.) but they could also benefit heavily from coaching dice. I don't think that cards or coaches are really too necessary, since they are accomplished dodgers (don't need a defensive coach) and really fast (less need for the extra actions of an offensive coach or a card action). Maybe following Oli's pattern of four ranks on Strikers to make a copycat Judwan team, since at least one of them should get a Skill upgrade and one of them get A Safe Pair of Hands. With three players standing behind to guard the three-point strike zone, I think it might even pay to have two Strikers with two advances each – this almost guarantees that they will each get Skill 4+, and combine their upfront offense with a single Guard. Leaving three Strikers to defend the strike zone means there'll be one Guard up front and one in reserve, so combining a Striker's threat hex with a Sucker Punch slam won't be as risky since if it works, I am forcing opposing Guards (the most dangerous on a non-Judwan team against this tactic) to dodge on 2 dice against a 5-dice slam. If the fouling Guard is sent off, the reserve Guard can come on and play it slightly safer for a turn or two.
Having played a couple of practice games with that setup, I think it is a winnable tactic. The three blockers at the back are not going to keep it closed forever – consistent, sustained Misdirect actions will move one of the blockers. In one practice game, it was open for a single turn and let two three-pointers through! On the other side of the board, my Guard was not performing well but I put that down to bad dice rolling. I think I need to react better to my opponent's play style – if they are sitting on the DB1 hex, I need to keep the Guard there to put a threat hex on that spot. If they are blocking the strike zone bonus hexes, I need to get one of them open and try and get the Guard back to the DB1 hex. And if the Guard is trying to smash something that can dodge well, I need to use my forwards to threaten the target.
I was terrified – I'd never played Z'zor before, and Liam is a really strong player. I set up exactly to plan. Liam's dice hate him though, and his players failed to score (despite trying) – I knew that Z'zor Strikers had poor skill, but I didn't realise they had average speed (I thought they were slow). I managed to get a landslide win in about rush 11 or 12.
I hadn't played Tom at the Bristol Blitz. but I knew that he had learned a lot from that game and to be on my guard. My skill increases were very useful, and I managed to (for the second time) get my three-pointer on the first rush. On the second, I got another one and (without realising it) had left a Veer-myn on the second ball launch hex on the off-chance of catching a launched ball on his turn. I did, and thought "oh, my best chances are for a single point, and every little helps". I scored the point, looked up and Tom was offering me his hand. I checked the board and realised that was a landslide win in the fifth rush! I was feeling pretty chuffed with myself as we headed outside for a nice barbecue and long lunch.
Jen and I play each other all the time. On the one hand, I know everything that she will do but on the other, she knows everything I will do. And I explained my strategy in detail to her last week to try and get ideas on how people might beat it.
Once more, I got the first-turn three-pointer but Jen scored two points in her first rush – the first time I had been scored against. By rush eight, however, I got back the landslide win.
Liam had been learning how to use the Z'zor over the course of the tournament – he had beaten Jen in the second game, making great use of the powerful Z'zor Guard to keep the majority of her team on the injury shelf during the game. He took the same aggressive tactic against Tom in the third game, and me in the final game. My two powerful Strikers were put out quickly, and my Guard was killed in the first few turns. Thankfully he wasn't any good at scoring again (the Striker's low skill being a particular pain), and after losing one of my Striker's to total death (and a lot of lucky Evade rolls around a Z'zor Guard with 360 vision) I pulled another landslide win in the last few rushes.
Four landslide victories and only four players – I won!
Tom came second (one landslide win, one win, one loss and one landslide loss), Liam came third (two wins, two landslide losses and Jen unfortunately came last again (two losses, two landslide losses). There's additional report on the tournament from Pathfinder Pete who kept it all running and organised, with pictures of us all and a picture of me holding a picture of the pitch I will receive! All of our teams were photographed for the blogs – and I was ashamed that my Veer-myn weren't finished yet. Some parts are clearly in need of some work. I'm feeling suitably guilt-tripped into getting at least one team finished this year, and I think the Veer-myn have earned the right to be it!
I was trying to work out the scores after the third game and I thought I had almost won, depending on who won Liam and Tom's game. And I won! I get a free ticket to the nationals (as opposed to simply qualifying, it probably only saves £15) and a metal pitch with the event name and my name engraved on it. That's going to be amazing, I was completely over the moon. There was a scaled down picture of the pitch that wasn't terrifically clear, and be assured I will be swamping this blog with pictures as soon as it arrives.
So what's next? Bristol Vanguard have a league starting soon and are planning another event in August, and I've obviously got the Nationals to look forward to November. If I'd only qualified I might have considered whether or not to go, but since I won a free ticket I'm really excited to actually go along and see how I do against more talented players than myself. Jen isn't interested in this one – it's a bit far to go and we'd then have to get babysitters for a whole weekend which makes things more complicated. Once the new pitch arrives, I might set up a private event too to show off and celebrate – I don't know when yet, it'll be nice to scale back and hit the painting/hobby side for a while. I''l have to ramp up my practice before November though, I know that the competition will be tough!


text:
The $1 Million USD Mercedes-Benz G63 AMG
The Mercedes-Benz G63 is one the most powerful vehicles offered by the German automaker, and
By Clarance Leung
Automotive Feb 11, 2015
The Mercedes-Benz G63 is one the most powerful vehicles offered by the German automaker, and arguably on the market as a whole. The luxurious yet rugged G-Wagen exceeds many of the requirements needed for city roads. However, that doesn't stop the developers at Inkas Group from enhancing the vehicle. Targeted at paranoid consumers with ample discretionary income, the Toronto-based armored vehicle specialists will fortify your car, removing any doubt in the car's security — for a small fee of $1 million USD. Fit for any head of state, the specialized car painted in an ominous matte black, and includes a completely protected exterior impenetrable by bullets various calibers, an armored floor designed to withstand explosive detonation, and security cameras around the car to remove any peripherals. For more of the vehicle's specs, visit Inkas Armored.
Mercedes-BenzMercedes-Benz AMGMercedes-Benz G63 AMG
This Tank-Like 2015 Mercedes-Benz G63 AMG 6×6 Is up for Auction
The Weeknd Stars in Mercedes-Benz's EQC Campaign Film
A Closer Look at the Mercedes-Benz Vision EQS
A 1991 Mercedes-Benz 560 SEC AMG 6.0 "Wide Body" Dominates RM Sotheby's Next Auction
Behind the HYPE: How the Mercedes-Benz G-Wagon Became Every Celebrity's Favorite Car
Mercedes-Benz Unveils the VISION AVTR Concept Collaboration with 'Avatar'
"NBA All-Star All-Style": The First-Ever NBA Fashion Show Will Air on All-Star Weekend
"NBA All-Star All-Style" will be the first ever NBA fashion show, and is set to air during All-Star
By Ashleigh Kim/ Feb 10, 2015
A Closer Look at the Nike Dunk Lux High SP "Burnished Leather"
Following the unveiling of the NikeLab Dunk Lux High, we have our first look at a special colorway
By Helena Yeung/ Feb 10, 2015
A First Look at the Marc Jacobs "Casting Call Cap" by Ebbets Field Flannels
In light of the quickly approaching New York Fashion Week, Marc Jacobs has unveiled the "Casting
A Closer Look at the Air Jordan 1 Retro High "Blake Griffin"
Following Jordan Brand's unveiling of the latest Air Jordan 1 Retro High "Blake Griffin," we now
By Steven Suh/ Feb 10, 2015
A Closer Look at the Nike KD VII EXT Floral QS
Another Kevin Durant shoe has been canvassed in a floral arrangement, and this time it is the Nike
adidas Originals Speaks with NIGO About Recent Collaboration
With his Superstar 80s collaboration dropping tomorrow, NIGO speaks about working with adidas


text:
Karen Andrews MP
Federal Member for McPherson
Maiden Speech
Transcripts and Interviews
For McPherson
McPherson Community Awards
About McPherson
Christmas Card Competition
Request a Flag
Invite Karen to your event
Facebook page opens in new windowTwitter page opens in new windowYouTube page opens in new windowInstagram page opens in new windowLinkedin page opens in new window
TRANSCRIPT- Interview – Sky News with Kieran Gilbert
Topics: 2019 Federal election result, resources sector, emissions targets
E&OE:
Kieran Gilbert: Joining me now is Minister for Industry, Science and Technology Karen Andrews. Minister, thanks so much for your time. First of all, congratulations on the win and being sworn in again yesterday.
Karen Andrews: Thank you. Yes, yes, look I was delighted with the win. And it's interesting because so many people have come up to me post-election and said we are so pleased the Coalition was re-elected. I mean it's just been an astounding feedback that we've received from just so many people.
Kieran Gilbert: Well, your part of the world, Gold Coast, is you know Liberal heartland but we saw in Queensland the vote for the Coalition hold up and in fact swings to the Coalition. The LNP in a number of marginal seats where we thought it would be a toss of the coin, it ended up being double digit margins. What do you – was it all about Adani?
Karen Andrews: Look, it was about real people being concerned about having real jobs into the future. The resources sector is so important to Queensland, it's so important to all Australians. The mining sector, the resources sector, played out really well and positively for us in Central and Northern Queensland because there you have people that are concerned about jobs for themselves, jobs for their kids, jobs for their grandkids. So we were able to demonstrate support for the resources sector nationally, but particularly in Queensland and we supported the quiet Australians that Scott Morrison speaks about all the time. So –
Kieran Gilbert: – When you talk about that, you know, before we move on from the resources sector and Queensland more generally- because there is- what's your view in the sense of climate change as a matter that- is it still a matter of importance to Queenslanders generally? Is it- I mean obviously we're generalising here, but in a political sense is it still a potent issue?
Karen Andrews:Look, a couple of things. Firstly, climate change is real. I absolutely accept that. Broadly I think people are very concerned about the environment and doing the right thing for the environment. In Queensland we have the Great Barrier Reef, which is just so important to Queensland. About 64,000 jobs are dependent on the Great Barrier Reef. So there is support for us doing the right things environmentally as well. But people also need jobs. So 64,000 jobs dependent on the reef alone, but the mining and the resources sector also provides significant work opportunities as well. And I think it's getting the balance right.
Kieran Gilbert: Okay, so it's something that you've still got to deal with obviously credibly in this term of government. The Prime Minister says- has interestingly used his authority to put emissions reduction back with energy and that, so I guess a sign of commitment to it. But we've seen this release of an update on our national emissions and they've continued to rise. Are you- what do you say to that, because I know Matt Canavan says it's because the LNG industry's cranking up. That's why we've seen this spike. But that's not the trend we want if we're going to meet those targets.
Karen Andrews: So we use the UN methodology to calculate what our emissions are, so that's widely recognised as the methodology that needs to be used. We have increased in a couple of areas which are very significant for us. One is with the LNG, which under the UN methodology we have to account for that even though it's being exported. So when it's exported it actually contributes to a decline in the emissions because you emit less when you're burning gas for fuel than what you do burning coal for fuel. So we have to account for it here in Australia. So that's why there's been an increase in that. The other one that's made quite a big difference and has pushed emission up is transport, and that's why our policy has got a couple of parts to it. And one of those is an electric vehicle strategy. But our policy and our intention is very different to what Labor announced during the election campaign. So we won't be mandating. What we will be doing is developing an electric vehicle strategy but we'll do that through proper consultation with stakeholders –
Kieran Gilbert: – Okay, but if you want to meet those targets you would want the trajectory to come down soon, wouldn't you?
Karen Andrews: And the Department of Environment has been very clear and has published documents that make it very clear that we are on track to meet the targets that we have set. So that is very positive news for us. But there is still more work to be done. So we need to look at transport, we need to look at what we're doing with the burning of fossil fuels here. But importantly we also need to look at adaptation and mitigation strategies. Now we talked about the reef. We do know that there are bleaching events happening on the reef. What's happening that is causing problems is that the bleaching events are closer together than what they need to be for there to be regeneration on the Great Barrier Reef. So our science agencies such as the Australian Institute of Marine Science are looking at mitigation strategies: so how are they able to lengthen the amount of time between bleaching events which gives the coral the opportunity to regenerate? So we also need to look very, very closely at mitigating the effects of climate change. It's not just a single issue with a single response.
Kieran Gilbert: Sure, no.
Karen Andrews: It's got multiple parts to it.
Kieran Gilbert: And finally, Matt Canavan, your colleague the Resources Minister, has criticised the oil and gas companies over their demand for a carbon price. What's your message to them but also the energy sector as well, because there are a number of these large companies that want some certainty in terms of how they operate within framework of having to reduce their emissions?
Karen Andrews: Well instead of talking about businesses and big businesses and what they might actually want, let's talk about the people of Australia and what they need and what they want. And where energy is concerned, they want lower prices. They want reliability. They want some stability as well too. They want to know what the big energy companies are going to be doing. But first and foremost, the people of Australia deserve the lowest possible electricity prices that we can provide to them. So let's focus on that, rather than going off on a tangent.
Kieran Gilbert: But it's also about having certainty in policy as well, isn't it …because that's- part of – that's contributed to the uncertainty out of Canberra in the last decade or so.
Karen Andrews: Well our policy, particularly in regard to carbon pricing, has been abundantly clear for a very long period of time. It's all well and good for these large businesses, energy providers, resources sector to come out with what their view is but let's actually look at how we start getting prices down because that impacts day-to-day Australians.
Kieran Gilbert: Minister, I appreciate your time. Congrats again on the win.
Karen Andrews: Pleasure.
Kieran Gilbert: See you soon.
Category: Transcripts 30 May 2019
PreviousPrevious post:reappointment as Minister for Industry, Science and TechnologyNextNext post:funding strengthens cyber security capability
TRANSCRIPT Interview – 2GB Drive with Luke Grant
TRANSCRIPT Interview – 3AW Breakfast
TRANSCRIPT Doorstop – Naturo, Coolum
TRANSCRIPT Doorstop – Gold Coast
TRANSCRIPT Interview – FiveAA Breakfast
TRANSCRIPT Interview – Weekend Today
Your say – Community Survey
Local issues in McPherson
Industry, Science and Technology Contact
Department of Industry, Science & Technology Website >
McPherson Contact
Visit my office: 47 Watts Drv, Varsity Lakes
Authorised by Karen Andrews MP, 47 Watts Drive, Varsity Lakes QLD 4227
Privacy | Accessibility | DSIS website


text:
DDoS Mitigation
Dedicated & Cloud Firewall
Fixed Line & SIP Trunking
CCTV and Access Control
Cabling and Electrical
Corporate Enterprise
Network Services 2 Framework (RM3808)
G-Cloud 12
2nd Line Support Technician
Fife Women's Aid secures vital internet access in its refuges so domestic abuse victims and their families stay connected during Covid-19
Fife Women's Aid has secured vital internet access throughout its refuges so women and their families fleeing domestic abuse can stay connected during the Covid-19 lockdown.
The move, part of a ground-breaking partnership with Fife Council and St Andrews University's Lumsden Club, follows a surge in calls for help to Fife Women's Aid during the Coronavirus pandemic.
It means, thanks to the support of Fife Women's Aid, 41 women and 39 children are now able to connect to the internet, thereby enabling them to maintain contact with family, friends and their community, providing vital respite and a sense of normality during such a time of crisis.
It also provides children in refuge much-needed access their schoolwork during lockdown and for Fife Women's Aid to deliver support in a different setting due to the closure of schools in March.
Generous fundraising efforts from The Lumsden Club helped fund the installation of internet throughout the Fife Women's Aid network, while Fife Council responded by providing six new refuges.
The comprehensive roll-out of digital access was completed by Commsworld. The leading UK-wide provider of networking and connectivity solutions completed the job in less than a week.
Women and children who have fled domestic abuse can very often end up feeling alone and isolated from their networks. This has been exacerbated by the ongoing pandemic.
One woman revealed she had not been able to afford the data package on her phone while in refuge and had therefore been unable to have video calls with family during lockdown. However, thanks to the new internet access she is now looking forward to taking part in a family quiz this weekend.
Another woman had been forced to use an expensive 'pay as you go' contract to gain internet access just so she could continue working from home. As well as her employment now being secure thanks to the reliable connectivity, she has also saved a 'small fortune' as a result.
Kate McCormack, manager at Fife Women's Aid, said: "We are eternally grateful to everyone involved in making this substantial project a reality.
"Thanks to Fife Council, who have rapidly responded to the lockdown and the impact of this on families experiencing domestic abuse, more women and children are now in safe accommodation.
"We are also in awe of the work of the Lumsden Club, who continue to support and fundraise for us on an ongoing basis. They have increased their efforts during lockdown to fund the installation of internet in our refuges which is an act that will truly transform the lives of families during these most daunting of times.
"Commsworld have also been fantastic throughout the entire process, creating a bespoke product that ensures each refuge comes kitted out with a 4G router in order to keep families connected. Not only that, their tireless commitment to the project has resulted in full installation of the provision throughout all refuges in less than a week.
"We are also grateful to the Women's Fund for Scotland for awarding us a grant to purchase tablets for each refuge; generous donations from a range of individuals and organisations has added to this funding to ensure we can provide this for all, including the new refuges.
"Without each of these partners, none of this would have been possible."
A spokesperson for the Lumsden Club said: "Since lockdown began, we have scattered all over the world. Our hearts have remained in Fife, as we watched Fife Women's Aid face up to the tremendous challenge of lockdown with creativity and resilience. We are extremely proud to have supported the purchase of broadband for all refuges to allow online communication, education and recreation: once again, Fife Women's Aid covers all bases and empowers women to live independently."
Fife Women's Aid is continuing to provide direct support in essential or crisis situations and to provide alternative methods of support in other situations.
The charity is keen to reassure women that it is still here and encourages them to seek help when it is safe to do so. Freephone support line is available on 0808 802 5555 (9am-5pm and 6pm-8am Monday to Friday and 24 hours on Saturday and Sunday). You can also contact Fife Women's Aid by email at [email protected]or via message on Facebook.
To find more information about the service, or to donate to the charity's Just Giving page, visit www.fifewomensaid.org.uk
To get your business better connected call us on 0330 121 0000 or Send us a message
Your Business Better Connected
Commsworld Ltd.
Commsworld House
37-45 Peffer Place
Edinburgh, EH16 4BB
Fluency Portal
Inbound call stats
Inbound control panel


text:
package com.streamdataio.stocktwits;

import android.app.Activity;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;

import com.koushikdutta.ion.Ion;
import com.squareup.picasso.Picasso;

import java.util.ArrayList;

public class MainViewListAdapter extends BaseAdapter {
    private final LayoutInflater inflater;
    private ArrayList<Tweet> tweets;
    private final Activity activity;

    /**
     * constructor for this mainListViewAdapter
     *
     * @param context
     * @param aTweetList
     */
    public MainViewListAdapter(final Context context, ArrayList<Tweet> aTweetList) {
        tweets = aTweetList;
        inflater = LayoutInflater.from(context);
        activity = (Activity)context;
    }

    public void updateData(ArrayList<Tweet> tweets){
        this.tweets = new ArrayList<Tweet>(tweets);
    }

    @Override
    public int getCount() {
        return tweets != null ? tweets.size() : 0;
    }

    @Override
    public Object getItem(int i) {
        return tweets != null ? tweets.get(i) : null;
    }

    @Override
    public long getItemId(int i) {
        return i;
    }

    @Override
    public View getView(int position, View convertView, ViewGroup parent){
        ViewWrapper viewWrapper;
        Picasso mPicasso = Picasso.with(activity);
        // Next line allows visual tracking of image source in ui (net, disk or mem)
        // mPicasso.setIndicatorsEnabled(true);
        // NOTE: red ribbon= network, green ribbon= memory, purple ribbon= disk
        if(convertView == null) {
            viewWrapper = new ViewWrapper();
            convertView = inflater.inflate(R.layout.stocktweet, null);
            viewWrapper.tweet = (TextView) convertView.findViewById(R.id.tweet);
            viewWrapper.name = (TextView) convertView.findViewById(R.id.name);
            viewWrapper.userName = (TextView) convertView.findViewById(R.id.username);
            viewWrapper.date = (TextView) convertView.findViewById(R.id.dateTime);
            viewWrapper.avatar = (ImageView) convertView.findViewById(R.id.avatar);
            viewWrapper.img = (ImageView) convertView.findViewById(R.id.tweet_img);
            convertView.setTag(viewWrapper);
        } else {
            viewWrapper = (ViewWrapper) convertView.getTag();
        }

        if(tweets != null){
            // Set ui here
            viewWrapper.tweet.setText(tweets.get(position).getBody());
            viewWrapper.name.setText(tweets.get(position).getUser().getName());
            viewWrapper.userName.setText(tweets.get(position).getUser().getUsername());
            viewWrapper.date.setText(tweets.get(position).getDateTime());
            Ion.with(viewWrapper.avatar)
                    .placeholder(R.drawable.defaulticon)
                    .error(R.drawable.defaulticon)
                    .load(tweets.get(position).getUser().getAvatarURL());
            if (tweets.get(position).getImgURL().isEmpty()){
                // Here we avoid loading a default picture from network or disk memory
                // and leave the imageView empty
                viewWrapper.img.setImageDrawable(null);
            } else {
                mPicasso.with(activity)
                        .load(tweets.get(position).getImgURL())
                        .into(viewWrapper.img);
            }
        }
        return convertView;
    }

    /* **************************** Class ViewWrapper **************************** */
    private static class ViewWrapper {
        TextView tweet;
        TextView name;
        TextView userName;
        TextView date;
        ImageView avatar;
        ImageView img;
    }
}