Wrong. All F*cking wrong. The reality is relations with the Russian Federation deteriorate to the point of open conflict, whilst the United States remains embroiled in the First Iranian War, leaving the European Union alone to fend off the Bear. Of course, the Eurof*gs are helpless: the Russians have had decades to rearm and with the assistance of regimes like Belarus and the client state of Ukraine, quickly advance into the Baltic States and Rumania.

A holding action by the Bulgarians stops the Russian advance north of the Danube, resulting in the first release of chemical and tactical nuclear weapons. The pace quickens as the Russians advance into Poland, however the Europeans can no longer mount effective resistance to the Russian onslaught. The decision to utilize strategic nuclear weapons is made, leaving Minsk, Kiev, Moscow and most major urban centers as radioactive slag.

However, it is a pyrrhic victory: the Russian retaliation reduces the whole swath of western Europe to irritated glass. Harry arrives once more in Britain to find the whole of the Isle bathed in radioactive particles, where he is quickly contaminated and begins to show classic signs of radiation poisoning. His skin, already suffering from horrendous burn like damage, begins to fall off whilst his internal organs break down. He begins to vomit blood excessively.

If you didn't want it to be spoiled then why the f*ck would you click on a site titled "Harry potter 7 revealed", and then proceed to read the page on the website even though you could see that it was out of a harrry potter book?

And I'm the most boring sons-a-bitch you've ever seen, I dress in blue - yes navy blue - from head to toe I'm rather drab except my patent shoes. I make 'em shine, well most the time, 'cept today my feet are troddin' on by this friend of mine. Six foot two and rude as hell, I got to get him in the ground before he starts to smell. My name is mud.

what's crazy is that this spoiler totally contridicts the other most plausible sounding spoiler. i think in our eagerness to spoil the sh*t out of this book, we may have shot ourselves in the foot here and made so many different spoilers that nobody knows what to believe

I love how everyones calling you a f*cker when the title of this YTMND made it painfully obvious what was gonna happen. Also, the ending SUCKED. Way too f*cking happy. "All was well" being the last sentence? Cmon.

Wrong. All f*cking wrong. The reality is relations with the Russian Federation deteriorate to the point of open conflict, whilst the United States remains embroiled in the First Iranian War, leaving the European Union alone to fend off the Bear. Of course, the Eurof*gs are helpless: the Russians have had decades to rearm and with the assistance of regimes like Belarus and the client state of Ukraine, quickly advance into the Baltic States and Rumania.

A holding action by the Bulgarians stops the Russian advance north of the Danube, resulting in the first release of chemical and tactical nuclear weapons. The pace quickens as the Russians advance into Poland, however the Europeans can no longer mount effective resistance to the Russian onslaught. The decision to utilize strategic nuclear weapons is made, leaving Minsk, Kiev, Moscow and most major urban centers as radioactive slag.

However, it is a pyrrhic victory: the Russian retaliation reduces the whole swath of western Europe to irritated glass. Harry arrives once more in Britain to find the whole of the Isle bathed in radioactive particles, where he is quickly contaminated and begins to show classic signs of radiation poisoning. His skin, already suffering from horrendous burn like damage, begins to fall off whilst his internal organs break down. He begins to vomit blood excessively.

Don't you guys know Dumbledor comes back to life because Harry makes a wish on the dragon balls, he comes back kills Harry for disturbing him, rapes Hermione in the butt, and gives Snape a flying elbow drop to the throat. He does all this while screaming LOL INTERNET with an ice-cream spoon lodged in his but.

The funny thing is is that there are so many spoilers for this book that you can't tell what's fake or not. This seems quite tacky of her to name the kids so...bluntly, and the chapter name seems far more blunt than she'd be known for. But if it's real...meehhh.

This spoiler is fo' real. there's already a full scan of the book floating around teh intarwebs, if you care to look for it. And the last word isn't scar, but it's in the last two sentences: "The scar had not pained Harry for nineteen years. All was well."

LLLLLLLLLLLLLOOOOOOOOOOOOOOOOOOOOOOOOOOOOLLLLLLLLLLLLLLLLLLLLLLLL!!!!!!!!!!!!!!!!!!!111111111111111111111111 SOOOOOOOOOOOOOOOOOOOO MANY PEOPLE WILL COMMIT SUICIDE OVER THIS!!!!!!!!!!!11111111111111111111111

RAWFUL!!! i exec my ep1c h4x and didnt read it, for two reasons, 1. it looks like it might take too long to read 2. i enjoy harry potter books so i also used my POWER OF CHOOSING WHETHER OR NOT TO READ THIS PAGE to avoid any potential dissapointment. 5'd for obtaining this image

"Sid's accusation was right. Stinky has always been a vampire, though has hidden it with help from his father. But lately something strange has been happening, making his secret difficult to hide. And it isn't long before the whole city has been clued in."


Outcomes of Project Wall Talk: an HIV/AIDS peer education program implemented within the Texas State Prison system.
We report select outcomes from an evaluation of Project Wall Talk, a community-based, peer-led HIV prevention education program implemented in 36 Texas State prison units. Peer educators completed questionnaires prior to receipt of a 40-hour intensive training (N = 590) and at 9-month follow-up (N = 257). Students (N = 2506) completed questionnaires pre- and post-receipt of peer educator-led HIV education sessions. Peer educators and their students showed significant increases in HIV-related knowledge. Peer educators showed significant increases in assessment of their skills as educators. For both peer educators and students, significant differences in HIV-related knowledge were indicated across categories of prior educational level attained and race/ethnicity; no such differences were indicated at follow-up. Compared with baseline, a significantly greater proportion of peer educators reported ever having had an HIV test. After receiving peer-led education, a significantly smaller proportion of students reported they knew their HIV status and more indicated plans to take an HIV test. Additionally, in months 12 and 18 following program implementation, the numbers of HIV tests at the five units that implemented the peer education program were roughly twice that of five, matched comparison units without the peer education program. Based on peer educator reports, we projected that peer educators (N = 257) may have as many as 84,000 or more annual opportunities to share HIV-related knowledge with other prisoners outside the classroom.


Individuals often use network-based systems such as social networks, dating websites, and applications to search for, identify, express interest in, and communicate with other individuals for the purpose of forming relationships. For example, many dating systems afford users the opportunity to develop relationships with other users prior to meeting with each other in person. Such dating systems often provide an online meeting place for like-minded users to register their personal profiles, search and view the profiles of other users, and initiate contact with other users through various communication channels such as text or voice messages, video chats, voice chats, and instant messaging. Users then decide whether to advance the relationship and meet in person or otherwise communicate outside of the dating system (e.g., via personal email, phone calls, text messages, and other electronic communication not routed through or otherwise involving the social network or dating system). Once the relationship progresses to such in-person meetings and other interactions, social networks and dating systems typically have little or no control over the interactions and do not record information about the interactions. Therefore, such social networks and dating systems are unable to facilitate or record consent and/or agreement as to the nature of in-person meetings, including consent and/or agreement regarding sexual interactions.
Some individuals use security systems, such as video and/or audio recording equipment, to record the consent and/or agreement of others related to physical relations and sexual interactions. Thus, the individuals may be protected from false accusations regarding the consensual nature of the interactions. However, such methods are often used without full disclosure to the other parties, thereby raising privacy concerns regarding the video and/or audio recordings. To ease or eliminate such concerns, some individuals use written consent documents to obtain consent from others prior to engaging in physical relation and sexual interactions. Thus, the individuals may be protected from false accusations regarding the consensual nature of the physical relationships without many of the privacy concerns associated with video and/or audio recordings.


File "./typechecking/invalid/inherit_params_5.sk", line 2, characters 12-14:
To add fields to an inherited constructor, it cannot be declared as final
1 | base class Foo final {f: Int}
2 | base class Bar{f2: Int} extends Foo
  |            ^^^

File "./typechecking/invalid/inherit_params_5.sk", line 1, characters 16-20:
Constructor for 'Foo' was declared as final here
1 | base class Foo final {f: Int}
  |                ^^^^^
2 | base class Bar{f2: Int} extends Foo


What is poison to one man is a rare delicacy for another. Living in acid or caustic, extreme heat, and toxins does not sound appealing. However, in hot springs in Yellowstone National Park, Galdieria uses energy from the sun to produce sugars through photosynthesis. In the darkness of old mine shafts in drainage as caustic as battery acid, it feeds on bacteria and survives high concentrations of arsenic and heavy metals. How has a one-celled alga acquired such flexibility and resilience?

ADVERTISEMENT

The unicellular red micro-alga Galdieria sulphuraria (Cyanidiales) is a eukaryote that can represent up to 90% of the biomass in extreme habitats such as hot sulfur springs with pH values of 0 to 4 and temperatures of up to 56°C. This red alga thrives autotropically as well as heterotropically on more that 50 different carbon sources, including a number of rare sugars and sugar alcohols.

To answer this question, an international research team led by Gerald Schoenknecht of oklahoma State University and Andreas Weber and Martin Lercher of Heinrich-Heine-Universitat (Heinrich-Heine University) in Dusseldorf, Germany, decoded genetic information in Galdieria.

They are three of 18 co-authors of a paper on the findings published in this week's issue of the journal Science.

The scientists made an unexpected discovery: Galdieria's genome shows clear signs of borrowing genes from its neighbors.

Many genes that contribute to Galdieria's adaptations were not inherited from its ancestor red algae, but were acquired from bacteria or archaebacteria.

This horizontal gene transfer is typical for the evolution of bacteria, researchers say. Horizontal gene transfer refers to the transfer of genes between organisms in a manner other than traditional reproduction. Also termed lateral gene transfer, it contrasts with vertical transfer, the transmission of genes from the parental generation to offspring via sexual or asexual reproduction. This transfer has been shown to be an important factor in the evolution of many organisms, including bacteria, plants and humans.

However, Galdieria is the first known organism with a nucleus (called a eukaryote) that has adapted to extreme environments based on horizontal gene transfer.

"The age of comparative genome sequencing began only slightly more than a decade ago, and revealed a new mechanism of evolution--horizontal gene transfer--that would not have been discovered any other way," says Matt Kane, program director in the National Science Foundation's (NSF) Division of Environmental Biology, which funded the research.

Galdieria's heat tolerance seems to come from genes that exist in hundreds of copies in its genome, all descending from a single gene the alga copied millions of years ago from an archaebacterium.

"The results give us new insights into evolution," Schoenknecht says. "Before this, there was not much indication that eukaryotes acquire genes from bacteria."

The alga owes its ability to survive the toxic effects of such elements as mercury and arsenic to transport proteins and enzymes that originated in genes it swiped from bacteria.

It also copied genes offering tolerance to high salt concentrations, and an ability to make use of a wide variety of food sources. The genes were copied from bacteria that live in the same extreme environment as Galdieria.

"Why reinvent the wheel if you can copy it from your neighbor?" asks Lercher.

"It's usually assumed that organisms with a nucleus cannot copy genes from different species--that's why eukaryotes depend on sex to recombine their genomes.

"How has Galdieria managed to overcome this limitation? It's an exciting question."

What Galdieria did is "a dream come true for biotechnology," says Weber.

In the future, genetic engineering may allow other algae to make use of the proteins that offer stress tolerance to Galdieria.

Such a development would be relevant to biofuel production, says Schoenknecht, as oil-producing algae don't yet have the ability to withstand the same extreme conditions as Galdieria.


ApplicationsThiophene-2-carbonitrile is used as an intermediate in synthetic chemistry and in the pharmaceutical industry. It is also used in the preparation of thiaplatinacycles and 2,2′-thienylpyrroles.


Q:

JavaScript Split Total into 10 separate fields in Adobe PDF

I am working on a fillable PDF. I have various calculated fields that all sum into one called Total. I then need to split total up into 10 individual boxes (8 before decimal, 2 after) with one number in each field when applicable.
So for example if the Total (which can vary in amount) is 201.50
I need nothing to show up in Amt1, Amt2, Amt3, Amt4, Amt5,
2 to show up in Amt6,
0 to show up in Amt7,
1 to show up in Amt8,
5 to show up in Amt9,
0 to show up in Amt10
So for Amt10 under Run custom validation script for the last decimal place I put : getField("Total").value = event.value.slice(-1); which did not work.

A:

Those böxlis can be a real pain in the butt, and should be avoided.
Instead use the comb property of the field, and use the other properties (right align and number format) to properly display the values.
With this, your fields will retain useable values, and display properly.


Item # WX2-581320

Walker's® GWP-WREPMBN Alpha Power Muffs amplifies the sounds you want, cancels out the loud blasts you don't.

Hear a pin needle drop, then cancel out the blasts and booms! The Walker's® GWP-WREPMBN Alpha Power Muffs let you pick up the softest sounds while observing game then block out the blast to preserve your hearing. It's like having hearing super powers!


Does White Supremacism Motivate Trump Against China?

On January 30th, the South China Morning Post bannered “How Donald Trump could change the course of Meng Wanzhou’s ‘years-long’ battle against extradition:Canada usually complies with extradition requests but the China-US trade war – and the US president’s apparent willingness to intervene in the case – could make the difference this time.” That “‘years-long’ battle” referred to an expected future “years-long” legal wrangling over Wanzhou, not to anything in the past, because the extradition request was made by U.S. President Donald Trump only on December 1st of last year.

On January 29th, Toronto’s Globe and Mail headlined “U.S. formally requests extradition of Meng Wanzhou to face financial fraud charges”, and reported that “Canada has received a formal request from the United States for the extradition of Huawei executive Meng Wanzhou, officially starting the clock on a complex process that could ultimately see her sent stateside to face multiple charges of financial fraud. … Ms. Meng, who is living in her Vancouver home, appeared briefly in B.C. Supreme Court on Tuesday for a bail adjustment hearing.”

On January 9th, China’s Ambassador to Canada reacted to the 1 December 2018 arrest of the the mega-corporate Chinese executive Wanzhou by saying:

Without violating any Canadian law, Meng was arrested last month and put in handcuffs just as she was changing planes at the VancouverInternationalAirport. … Some people in Canada, without any evidence, have been hyping the idea that Huawei is controlled by the Chinese government and poses security threats to Canada and other Western countries, and that Chinese law requires China’s enterprises to collaborate with the government in espionage activities. However, these same people have conveniently ignored the PRISM Program, Equation Group, and Echelon — global spying networks operated by some countries that have been engaging in large-scale and organized cyber stealing, and spying and surveillance activities on foreign governments, enterprises, and individuals. … Something is considered as “safeguarding national security” when it is done by Western countries. But it is termed “conducting espionage” when done by China. What’s the logic? … The reason why some people are used to arrogantly adopting double standards is due to Western egoism and white supremacy. In such a context, the rule of law is nothing but a tool for their political ends and a fig leaf for their practising hegemony in the international arena.

The context of the arrest matters enormously. The US requested that Canada arrest Meng in the Vancouver airport en route to Mexico from Hong Kong, and then extradite her to the US. Such a move is almost a US declaration of war on China’s business community. …

The US rarely arrests senior businesspeople, US or foreign, for alleged crimes committed by their companies. Corporate managers are usually arrested for their alleged personal crimes (such as embezzlement, bribery or violence) rather than their company’s alleged malfeasance.

Yes, corporate managers should be held to account for their company’s malfeasance, up to and including criminal charges; but to start this practice with a leading Chinese businessperson, rather than the dozens of culpable US CEOs and CFOs, is a stunning provocation to the Chinese government, business community, and public.

Meng is charged with violating US sanctions on Iran. Yet consider her arrest in the context of the large number of companies, US and non-US, that have violated US sanctions against Iran and other countries. In 2011, for example, JPMorgan Chase paid US$88.3 million in fines for violating US sanctions against Cuba, Iran and Sudan. Yet chief executive officer Jamie Dimon wasn’t grabbed off a plane and whisked into custody.

None of the CEOs or CFOs of these sanction-busting banks was arrested and taken into custody for these violations. …

Quite transparently, the US action against Meng is really part of the Trump administration’s broader attempt to undermine China’s economy by imposing tariffs, closing Western markets to Chinese high-technology exports, and blocking Chinese purchases of US and European technology companies. One can say, without exaggeration, that this is part of an economic war on China. … They certainly have nothing to do with upholding the international rule of law.

The US is targeting Huawei especially because of the company’s success in marketing cutting-edge fifth-generation (5G) wireless technologies globally. …

Sanctions regarding non-national parties (such as US sanctions on a Chinese business) should not be enforced by one country alone, but according to agreements reached within the United Nations Security Council. In that regard, UN Security Council Resolution 2231 calls on all countries to drop sanctions on Iran as part of the 2015 Iran nuclear agreement. Yet the US – and only the US – now rejects the Security Council’s role in such matters.

Michael Moore’s latest documentary film, Fahrenheit 11/9 (not to be confused with his 2004 Fahrenheit 9/11) documents that throughout the career of Donald Trump, he has been racist in his actions, even where he wasn’t also racist in his explanations of his actions. Moore also documented there the full participation of Trump’s predecessor, President Obama, in the Republican Michigan Governor Richard Snyder’s having caused and then covered up the lead-poisoning of Flint Michigan’s children, who are overwhelmingly Blacks. However, with Obama, the contempt appears to have been against the poor, whereas with Trump, there is, in addition to that classism, clearly a hatred of racial and ethnic minorities. That’s perhaps the major difference between the two men.

Could it then be that Trump’s now-indubitable racism is part of his sense of “Make America Great Again” (the alleged basis of his trade-policies)? The Republican Party says that it’s not, but they also deny that Trump is a racist, which now clearly is a false allegation about him — he certainly is a racist.

How much more about America’s foreign policies might Trump’s deep-seated white-supremacist racism be affecting those policies — especially trade-policies (and this includes, of course, economic sanctions)?

Given the evidence that’s presented in Moore’s documentary, his racism has been expressed — in his actions — against Blacks, and it has also been widely expressed, even also verbally, against Hispanics, and, perhaps even more blatantly, against Muslims (except not against U.S.-allied aristocracies, such as the Saud family, who own Saudi Arabia).

In keeping with the majority of America’s Christians, Trump is not racist against Jews. He even is largely financed by Jewish billionaires, such as the Israeli Sheldon Adelson. But whether he is racist against Chinese is, as of yet, an open question. But now, China’s Government has raised the issue.

The Chinese Government is certainly not going beyond the bounds of the evidence and of logic, to raise this question.

Furthermore, Sachs’s own statement against Trump on this matter is actually a damnation against not only Trump but also against all recent U.S. Presidents and their Administrations, when Sachs said, “Yes, corporate managers should be held to account for their company’s malfeasance, up to and including criminal charges; but to start this practice with a leading Chinese businessperson, rather than the dozens of culpable US CEOs and CFOs, is a stunning provocation to the Chinese government, business community, and public.” Sachs was saying there that, up till the present time, it has never been the case that “corporate managers” are “held to account for their company’s malfeasance, up to and including criminal charges.” He is there alleging that the only, or virtually only, people who are in prison in the United States, are people who are not “corporate managers” who themselves carried out, or rewarded or incentivized their employees to carry out, “their company’s malfeasance.” Only lower-level people are subjected to any significant imprisonment in the United States, no matter how corrupt the mega-corporations are. He is saying that America, which has the world’s highest percentage of people in prison, allows “corporate managers” to perpetrate, and to reward their employees for perpetrating, “criminal” acts. So, although America is an incredible police-state regarding its poor (and the Moore film also copiously displays that fact) Sachs, there, is saying that “corporate managers” in the United States are actually above the Law. That’s a remarkable admission from him — and it’s true. For the aristocracy, America is no police-state at all, except one that protects them and their privileges — privileges both legal and otherwise, both in prison and on the outside.

Another meticulously researched nonfiction movie, this a top-quality “docu-drama,” is the 2014 Kill the Messenger, about how the CIA was caught organizing and protecting narcotics kingpins and using kickbacks from this multibillion-dollar-per-year illegal business to finance off-the-books foreign regime-change operations, which are too costly to be funded merely in the official ways. The same U.S. Presidents who were famously waging “The War Against Drugs” were secretly having their CIA use the illegal narcotics trade in order to pump up up their regime-changes abroad, to serve America’s billionaires’ interests. And then the mainly Blacks who became victimized by, and who participated in, this trade got slammed into prison for it, while their CIA-cooperating bosses did not. This movie is a cult classic amongst investigative journalists, because it shows how the CIA destroyed and perhaps murdered the great investigative reporter, Gary Webb, who revealed the scandal. America’s major ‘news’-media fired him and never allowed him ever again to work for them. Then, once Webb’s career was destroyed by that blacklisting of him on the part of the ‘news’-organizations, and he was in obscurity, he died mysteriously with two bullets in his head, and few among the public even heard about the murder, at the time. It seems that Webb never got to know that the CIA’s narcotics trafficking kickbacks had begun with the CIA’s first-ever coup, which was in 1948 Thailand and installed there a general who was the lynchpin for the southeast Asian narcotics network and who helped establish, with Nugan Hand, the CIA’s future dependence upon drug-trafficking. So, both regime-change and narcotics-trafficking were joined together right at the CIA’s very start. But Gary Webb reported only about the Reagan-era part of this longstanding (if not permanent) CIA system. And this was the first time that any part of this seedy history became publicly known (to the extent it did, at all).

It’s not merely Trump, and Moore’s documentary made clear that Obama was just as psychopathic against the poor as Trump is, though slick enough to hide it, even from the people who despise Trump for his racism.


Q:

Using TOP clause parametrically in joined tables

I have joined some tables to gather some information from and I am trying to use TOP clause parametrically in SQL Server 2008 R2. Here is my code:
    DECLARE @num INT
    SELECT
        TOP (@num) installTicketItem.[id] AS ItemID, it.[id], it.[usr], it.[openDate],it.[closeDate],it.[saleId],it.[ticketType],it.[ticketDesc],it.[agent],
        CASE WHEN(resultId = 3 AND usr= it.usr) THEN 1 ELSE 0 END AS fault,
        CASE WHEN EXISTS(SELECT * FROM installTicket WHERE ticketType= 'modem' AND usr= it.usr AND closeDate IS Null) AND ticketType <> 'modem' THEN 1 ELSE 0 END AS hasModem,
        CASE WHEN ((payment IS NULL) AND (installer IS NOT NULL)) THEN 1 ELSE 0 END AS notPaid
    FROM installTicket it
        JOIN (SELECT ticketId, MAX(id) AS maxID,

        SET @num = COUNT(DISTINCT ticketId) FROM installTicketItem GROUP BY ticketId) AS iti ON iti.ticketId = it.id

        JOIN operator ON agent = username
        JOIN installPolicy ON installPolicy.agent = parentagent
        JOIN installManage ON installPolicy.panelUsr = installManage.panelUsr
        JOIN installTicketItem ON it.id = installTicketItem.ticketId
        JOIN installResult ON installResult.id = installTicketItem.resultId

    WHERE
        it.closeDate IS NULL AND ticketType = 'install' AND managerUsr = 'adminPanel2' AND done = 1

    ORDER BY
        ItemID DESC, id DESC

I want to set @num parameter in a nested select as you see.
Is there any way to do that? I appreciate that if anybody could help me.

A:

Hi based on your question, you should use this query as
DECLARE @num INT

        Set @num =
        (
            SELECT
                COUNT(DISTINCT iti.ticketId)
            FROM
                installTicketItem  iti join  installTicket it ON iti.ticketId = it.id
            WHERE
                it.closeDate IS NULL AND ticketType = 'install' AND managerUsr = 'adminPanel2' AND done = 1
            GROUP BY
                ticketId
        )

        SELECT
            TOP (@num) installTicketItem.[id] AS ItemID, it.[id], it.[usr], it.[openDate],it.[closeDate],it.[saleId],it.[ticketType],it.[ticketDesc],it.[agent],
            CASE WHEN(resultId = 3 AND usr= it.usr) THEN 1 ELSE 0 END AS fault,
            CASE WHEN EXISTS(SELECT * FROM installTicket WHERE ticketType= 'modem' AND usr= it.usr AND closeDate IS Null) AND ticketType <> 'modem' THEN 1 ELSE 0 END AS hasModem,
            CASE WHEN ((payment IS NULL) AND (installer IS NOT NULL)) THEN 1 ELSE 0 END AS notPaid
        FROM installTicket it
            JOIN (SELECT ticketId, MAX(id) AS maxID

            --, SET @num = COUNT(DISTINCT ticketId)
            FROM installTicketItem GROUP BY ticketId) AS iti ON iti.ticketId = it.id

            JOIN operator ON agent = username
            JOIN installPolicy ON installPolicy.agent = parentagent
            JOIN installManage ON installPolicy.panelUsr = installManage.panelUsr
            JOIN installTicketItem ON it.id = installTicketItem.ticketId
            JOIN installResult ON installResult.id = installTicketItem.resultId

        WHERE
            it.closeDate IS NULL AND ticketType = 'install' AND managerUsr = 'adminPanel2' AND done = 1

        ORDER BY
            ItemID DESC, id DESC


Q:

What is the preferred way for a thread to communicate with the object that created it?

I have an object that creates 10 threads.
That object has a collection of Users.
Each of those threads can either check to see if a specific user exists, or can add/remove users from the collection.
I'm wondering as to how I should implement that communication.
Should I pass the collection of users into each thread via constructor or a method inside the threads?
Should I pass the main object into each thread so they can access the object's properties? Or maybe have specific methods inside the main object for handling the user collection that the threads will call?
I'm not sure what is the best practice in that situation.

A:

You're going to want to keep your User objects in a thread safe data structure, this will ensure that your threads don't encounter any race conditions during addition/removal of user objects.
You should take a look at the Concurrent Collections offered by java. You could also use a synchronized version of a standard java collection obtained via Collection.synchronizedCollection see here
It's fine to pass that data structure into the constructor of each thread so that you have access to the collection within each thread.


Q:

I am getting max depth exceeded while building the docker image for Microsoft SQL stored procedure

Step 115/172 :
RUN Invoke-Sqlcmd -ServerInstance localhost -Database MY_DB -InputFile 'c:\tmp\sql_scripts\dbo.usp_InsertUpdateSSearchDateTimeFilter.sql'
---> Running in 977b55fecdfc

Error:

Max depth exceeded

A:

This happens because your Dockerfile has exceeded the 125 layers limit for docker images.
If you add the Dockerfile to the question I can help you to simplify it. As a first suggestion, try to group commands in only one RUN


Friday, June 12, 2015

The American Giant Google has recently launched a new tool to help you buy/decide a phone for yourself or any one based on your preferneces. Its a Great intiative for people who are always confused to decide which phone to buy and which phone to not.

Monday, December 9, 2013

Hello friends,
We all know that in this era of smartphones there are highly powerful machines coming up with many capabilities. But still what they lack is power backup.
Every Smartphone (Android/IPhone/Windows) Phone lacks Battery back up.

Wednesday, November 6, 2013

In the following post I will explain how to use cpu tuner, a completely free and open source app for android. All you need is root and some time. It's a follow up on and summary of my various related posts you can mostly see below ("related posts") on working with governors to increase power efficiency in Linux. This is of course something that a) Linux and b) Android and c) your phone manufacturer should already have done. But as they didn't...

0. Notice
CPU Tuner (CT) also includes setting "Min" and "Max" Frequencies. This is meant for devices with special firmware, which allows for overclocking and is not part of this post. All of these steps (tune governors, disable inactive interfaces) apply to any Linux device.
The following goes out especially to our dear US users (but also to every country with punitive damages):
CAREFUL, this tool may cause your phone to explode and other annoying things. You should especially never put your phone into a washing machine, or dryer or microwave or into a fire or do other completely and utterly stupid things with it! Use of this tool does not protect against lack of brain or thought!

1. What is...?
Now let me begin by explaining all the terms used in the program.

1.1. up_threshold: The CPU usage % at which the CPU frequency is scaled up. In the case of conservative this is X % higher than the current frequency. X is determined by the freq_step setting and defaults to 5 % in Linux and 20 % in my android and is not supported by CT atm. In the case of ondemand, (AFAIK!) it skips directly to the maximum frequency. That's why there's no freq_step in the case of ondemand.

1.2. down_threshold: As you may have thought already now, this is the CPU usage percentage where the frequency is reduced. This does not exist for the ondemand governor.

1.3. Triggers: Here you can tell CT that you want to use certian profiles in certain conditions. The most simple condition is battery usage. If battery usage is set to 100, then CT will set a certain profile whenever the battery is below 100%. Another important profile is Screen Off. This allows you to activate a certain profile once your screen is off.1.4. Profiles: A profile is a combination of settings, e.g. Disable Wifi, Use Conservative Governor, etc. (see 2.1).

1.5. governor: This picks your CPU frequency according to an algorithm (a set of rules). There are different algorithms available:

1.5.1. performance: This stays at the maximum frequency all the time. Not power efficient at all. But great for testing if the problems you are experiencing are really caused by frequency scaling.

1.5.2. powersave: stays at the minimum frequency no matter what. I think this never makes sense. It will take a lot of time to get back out of this as any phone becomes very unresponsive once you set to this, so be careful and just avoid it! Oh, and then some devices just hang without return when you set this. It might possibly make sense when the screen is off. But most probably it'll just cause problems and annoy you. ;-)

1.5.3. userspace: This is if you want to set the frequency manually. Unless you have your brain directly connected with wires to the phone or your are trying something out you should avoid this one as well.

1.5.4. conservative and ondemand: You are probably just skipping through this, huh? ;-) See 1.1. above for the description of conservative and ondemand.

2. How to increase your energy efficiency
Note that I write increase the energy efficiency and not decrease the power usage. You could decrease the power usage easily: Just set up_threashold to 99 and down_threshold to 98. But that would most likely cause your phone to act very weird. And this is not what we're aiming for. We want a phone that works perfectly and just uses less energy. Of course this kind of general tuning is something your phone vendor should have done already. But trust me, I haven't seen a single phone where they actually did. And android mostly comes with Linux defaults, which are tweaked for 100 % performance and don't care much about high energy efficiency.

2.1. Quick&Easy: Interface Tuning
The easiest and first thing you can do is to set the general device settings. Easy power savers are to adjust active interfaces when the display is off:

2.1.1. Mobiledata: 2G only. This could cause problems if you use VoIP software via 3G with the display off. This saves power twice: Firstly 2G takes less power than 3G in standby. Secondly, switching between 2G and 3G can take a lot of power. (The device will constantly try to find and "upgrade" to 3G networks.) Side-effects: It mostly means that incoming phone calls will be more likely to be in slightly lower quality, as 2G uses more lossy audio compression codecs. This could decrease your battery time if you're constantly downloading big files via 3G while the display is off. (Honestly, how would that work?). (recommendation: 2G only).

2.1.2. Background Sync: disable. This can have various consequences, e.g. Gmail claims to rely on this. But I still get new email and Gtalk noticiations with this off somehow. It's a general setting that other programs might rely on as well. So just see if this works for you. (recommendation: disable)

2.1.3. Wifi: Disable. I don't use this. Because if you use Voip software with your phone it usually detects if your ear is close to the headset and then turns off the display, which makes sense to save energy. Also sooner or later your display may turn off during a call anyway. Then a Voip connection or even streaming radio and other services via Wifi would be disconnected. That's why I prefer to use this setting with other programs. It would be cool if Wifi was disabled automatically after x minutes without usage or when out of range. But that's really something for other tools than CPU tuner. (At least then, the tool should be renamed to something like power tuner). (recommendation: leave unchanged)

2.1.4. Bluetooth: Disable. Side effects: If you use bluetooth headsets etc. they will be disconnected. Hence it only makes sense if you don't really use bluetooth. But then you will probably never have it switched on anyway, so there would be little point in switching it from off to off automatically... Useful if you sometimes use it or play with it and then forget to turn it off again. (recommendation: leave unchanged)

2.1.5. GPS: Disable. This usually saves quite a lot of power. Side effects: When switching back on, it will often take some time to find your location again. (Samsung Galaxy 3, you're annoying me here even with gpsopt...). Also, if you use a navigation software and switch off when the display turns off, this means you will at least lose your precise GPS location and your navigation software will either stop working entirely or start giving very imprecise (and thus often useless) advice: "Go sort of left, but also a bit right, one of the next or previous streets...". Sounds like me giving directions. This only works when the app is installed as a system app (no method does not work universally, also try root explorer and copy the apk to /system/apps).

2.2. Governor Tuning -- Step by Step
This is the most tricky part, but it's worth it: These settings can save you power even if your phone is not in use. If can also increase your phones responsiveness and interactivity while you use it. And it can do both. And it could even decrease power use in both situations. Always start with your vendors default settings. (Assumption: The current/default settings don't cause any mp3 playback gaps, etc. for you; otherwise: Start with 70 up, 40 down; otherwise: start with 40 up; 20 down.)

2.2.1. Make one change at a time: e.g. increase the up threshold by 10 or 20 %. Then listen to music for about 10 minutes with that setting. Check if you run into any problems (see "Signs of Trouble" below). If you notice problems, go back to the setting before, then add a smaller percentage, e.g. 5 %.

2.2.2. Rinse and repeat until you get a fluffy paste. (Once one change works, try another, e.g. first try increasing the up threshold, then try increasing the down threshold.)

2.2.3. Signs of Trouble
The most notable and annoying problem for me is that music playback stutters. (Attention, if you like , noise is probably part of the audio track and not an issue.) This also means that you the other person will hear glitches in skype and other voip softwares. The second, less annoying, likely effect is that the user interfaces will become less responsive, animations will stutter and won't look as pretty etc. These are all things you should watch out for during the governor tuning explained below.

2.3. Putting it all together
Once you find your preferred settings, I recommend creating two profiles for the start: one for screen off and one of screen on. While screen off is a trigger, to use a profile whenever the screen is on just select battery below 100 %. I'd prefer the ondemand scheduler when the screen is on as it's the most responsive in my experience. But as it stands I use only the conservative governor.

3. Causes
In my experience so far, the down threshold is much more likely to cause problems than the up threshold. It seems Linux makes its calculations of when to send new data to the sound card based on the current frequency and doesn't adjust them (soon enough) when the frequency is reduced. (Note to self: File a bug about this to the overflowing android bugzilla, which mostly seems disregarded by developers.) This causes problems especially for the ondemand governor, which is much more prone to create noise during playback in my experience than the conservative one, as it switches back down to the lowest frequency almost immediately.

3.1. Don't rely on Skype as a measure, as skype can often cause problems even if you use the governor to "performance", which effectively disables frequency scaling. I hope they will improve skype, which reportedly works quite well on iPhone, but not on MyPhone. Generally you should check if problems disappear with the performance governor. Because if they don't they're not related to the CPU frequency scaling at all. Hence they are highly unlikely to be related to CPU tuner. In my experience CSipSimple works pretty well, try calling an echo service or answering machine to check how flaky the connection is -- of course you need a stable network (wifi with all stripes!) connection to ensure that it doesn't cause the glitches. You would also notice that they don't disappear with the performance governor then, of course.

4. If all fails
If everything starts to be buggy all out of a sudden, just disable CT and check if it disappears. If you've got no idea what you changed, reset CPU tuner to defaults and repeat more carefully.

5. Feedback
If you've managed to find the perfect settings for your device, please report them in the comments here. Make sure to include your phone device and which firmware you use (as exact as possible please). This may save other people from listening to hours of music to find the perfect settings for their phone. I officially invite to flamewars about what exactly the perfect and absolutely ideal settings for all and any situations, people and devices are. ;-) Once we've found them we can adjust CT to come with them preinstalled and then get them into android as default.

Tuesday, November 5, 2013

1.Reduce your Screen Brightness
Display uses about 5-80% of battery usually. Reducing the brightness helps to increase the battery life a lot. To do so goto Settings->Display->Brightness
- Automatic brightness is good but lead to higher consumption of battery. Close brightness automatic and set brightness low.

2.Disable Wi-Fi, Bluetooth, GPS, NFC
Even though Wi-Fi, GPS and Bluetooth are designed for low-power consumption, they drain the battery. Most of the 2012 android devices have a unique feature known as NFC (Near Field Communion) such as i9070p. This feature enables a sensor field around the handset and is used for sharing. This also drains the battery unnecessarily. So it’s better to turn off the Wi-Fi, Bluetooth and NFCs when it’s not in use.
- Deactivate Wi-Fi when not needed
- If you do not use the Bluetooth function, disable it.
- If you do not use the NFC function, disable it.
- If you do not surf the internet stop any data connection
- As long as you do not use GPS and/or location services, close them.

3. Prefer Wi-Fi rather than GPRS
It may be weird that the GPRS consumes more power when compared to Wi-Fi. For example, Wi-Fi consumes 5% charge; the GPRS connection consumes 15% charge. This may not be seen while viewing websites but in case of watching a video in YouTube or making a call in a VoIP service, it drains the battery at a rapid rate. So it’s better to use Wi-Fi to watch videos or making calls.
.- Wi-Fi network consumes less than 3G connection, it is recommended to use Wi-Fi

4. Avoid Live Wallpaper
The live wallpaper drains the battery to a considerable rate. So it’s better to use static wallpapers rather than the live wallpaper.Also use images which contain black color because the LED screens use less power to display black than displaying white. Doing this helps to increase the battery life up to 10%.
-Use a dark background, save battery. Light backgrounds need more battery.

5.Disable Data traffic
Many applications use data traffic in the background letting this phone to sleep. Some of the apps which use the background data traffic are GMail, Whatsapp, Facebook, Viber, Twitter, LinkedIn, Google Play, etc. These apps checks for the updates and for incoming messages all time. So it’s better to disable the background data traffic.
- Network 2G network consumes less than , it is recommended to use 2G connection
- If you do not surf the internet stop any data connection.

6. Disable Auto-Sync
This option comes under the background data traffic. This feature checks for the mail all the time. Which means you will be able to get the mail in your handset as soon as the mail arrives. But this service uses a considerable amount of battery
- Upload and sync only on Wi-Fi. Or stop sync on all accounts.

7.Do not use more widgets
- The more the widgets, more the RAM, more the battery will be drained.
- Dump the widgets

8.Disable Adobe Flash
Adobe Flash enables to watch videos in websites but it drains the battery a lot. The main reason why adobe discontinued its service from android 4.1 is this battery problem.

9.Turn OFF vibrations
The smartphones makes use of some energy to make a vibration, but when “Vibration on Key press” is enabled, while typing a word the phone produces more number of vibrations. It consumes more battery. So it’s better to disable this feature in the keyboard settings.
- Vibration consume energy. A low intensity vibration or even disable as reduce battery consumption.
- Disable Haptic feedback.

10. Power saving mode
If you use your device constantly throughout the day, you may want to consider using your device’s power saving mode. In fact, many of the tips suggested in this post are implemented in most devices’ power saving mode. For instance, power saving mode usually limits CPU use, reduces screen brightness, deactivates haptic feedback, disables data network when the screen is asleep, and lowers the brightness level of the browser’s background color.

The generally recommended advice is to disable power saving mode when you intend to use your phone’s smartphone features; otherwise, turning power saving off can help you stretch your battery life further. So, for instance, you might want to disable power saving mode if you plan to play games on your phone, or else you could experience lag or jitter.

11. Do not try to overcharge
Normally the smartphone charges up in 1-2 hours. But if you charge it throughout the day, it lowers the life-time of the battery. Check the condition of the battery often to have a good battery life.

12.Reduce screen timeout
- Screen timeout should be as low as when not using this device to enter sleep mode. (15s)
- Sensitive buttons should be as little heated. (1,5s)

13. Uninstall unnecessary apps
You can never be too sure what's running itself in the background, what with all the multi-tasking, self-uploading, auto-replicating features in today's modern Android apps, so at least minimise the chances of something randomly hoovering up all your battery by constantly trying to connect to some non-existent server, by deleting any unused or old apps. Some apps are resource-intensive — either by nature (as in the case of games) or by developer incompetence or negligence (as in the case of poorly written apps).

14.Never leave applications open
- Never leave applications open in the background for long time. Set the limit to 1 or 2

15.To root or not
Rooting may have drawbacks but the benefits far outweigh them. One attractive advantage of rooting is that of possibly improving your device’s battery life.

17.CPU underclocking
With root access on your device, you can also install apps that can improve your system’s performance. A CPU controller app, for instance. Three names instantly spring to mind: SetCPU for Root Users, No-frills CPU Control, and CPU Tuner.

Apps like these essentially allow you to tweak the CPU settings on your device. You can set the CPU frequency to stay at the lowest (and, as a result, use up the least power but sacrifice device performance) or to stretch the CPU to its maximum limits (resulting in better and faster performance, but at the price of heat, quick battery drain, and potential system instability).

Be careful when using such apps. There are risks involved; for example, your device could behave erratically when its CPU clock is set higher than usual.

18. Custom kernels and ROMS
As we have an unlocked bootloader and custom recovery in the process of rooting. Many custom kernels and custom ROMs. Feel free to look around XDA for guides on how to flash custom kernels or custom ROMs to your particular device.

Battery life is one of the biggest issues in the Samsung Galaxy S GT-i9070 Advance. Take your SIM card out, turn off Wi-Fi and never touch it and it'll sit there happily, lasting for a whole week on one charge. But try to use it for anything "smart" and, well, that's where the problems start.

...and keep it cool
Batteries work best in cooler temperatures, with prolonged warm periods gradually lowering their efficiency over time. Putting your phone in a looser pocket might help, or perhaps just gently fanning it while it charges. That might not be the best use of your working day, but at least you'll still be able to get on Twitter on the train home.

Updated :[Use following to get rid of battery issues]1) Don't use any Memory cleaning apps/Task Killers or battery saving apps.2) Go to Settings -> Location Services -> Uncheck All (Specially Permission to Google to collect data)3) Facebook Synch settings to Never (Go Manually and check)

Bingo You are All set !!! Enjoy your Extended Battery Life

*** If the article helps you. Please like/Share it or leave a comment !

MX Player - Video Player

For best video experience, Powerful media player with background playback and new HW decoder.

Payback Calculator-Finance

Have you ever been in a situation when you go out with friends and when different people pay for different things at different occasions and later you struggle hard to find out who gave how much? There is a simple solution for that download Payback calculator.

Google Play Download URL

My Pregnancy Today- Health / Pregnancy / Maternity

This is a great award winning app for all expecting mothers and fathers to determine hows the baby developing inside her mom day by day and what instructions one should follow when she is pregnant.With Weekly Notifications about baby's health and development its one of the most downloaded apps in Google Play Store

Google Play Download URL

My Baby Today - Health / Pregnancy / Maternity / Baby Development

This is a great award winning app for all Parents who have the new born with them. Diffrent questions answered and a great information storeWith Weekly Notifications about baby's health and development its one of the most downloaded apps in Google Play Store

Google Play Download URL

FuelLog - Car Management -Personal

Track fuel consumption, maintenances and costs!

Track and log your mileage, fuel consumption, maintenances, services and costs of your car or motorbike and know exactly how much your car costs. FuelLog calculates a lot of useful statistics like fuel consumption and economy (e.g. mpg or l/100km) of your car or other vehicle, total cost and mileage, average cost per distance or gas amount, average cost per month, year and driven distances, expenses and a lot more. Everything is managed in a nice-looking and very easy to use interface.

Truecaller also shows you who the caller is instantly, blocks unwanted calls and so much more.

+25 million users can´t be wrong, jump on the bandwagon!

Google Play Download URL

Battery Bot- Battery Usage Information -Personal

BatteryBot monitors and shows your battery charge level (percent) as an icon in your status bar, with temperature, health, voltage, and time since plugged / unplugged in the notification area. It now also has a 1x1 app widget. The Pro version also has user-configurable alarms, logs, and a large (4x1) widget.

Google Play Download URL

Lists all contacts with birthdays so you do not have to search anymore.

Easily import friends from Facebook, choose the most important ones and post messages to their wall using templates. There is no automatic posting of messages, but the app makes sending birthday messages much much easier.

You get several widgets in various sizes to always be up to date whose birthday is next.

Be notified in the status bar to never forget about birthdays again. In case you do not have time right now, easily add a reminder to to contact your friends later in the day.

-Rail Ticket fare

-Rail Map of all routes and proposed Nerul-Uran route

2.Bus Routes

-BEST, NMMT, TMT,VVMT

-Get route by bus number

-Get buses arriving at particular bus stop

-Search buses between source and destination

-AC bus timetable updated on March April 2013

3.Auto and taxi fare

-Day and Night fare

-Complaint numbers of RTO

-Luggage charges information

4.Classifieds section

-Get advertisements of jobs ,real estate, education..

5. Jobs

- Now directly apply to the employer through JOBS INDICATOR. Specialized for jobs in Mumbai, Navi Mumbai & Thane. Also find Government jobs in Mumbai and rest of the Maharashtra along with last date of application.

10. Sodexo Outlet Locator

- Search Sodexo outlet nearby your area

Google Play Download URL

Software Data Cable- File Transfer App -Personal

Connect and share everything among phones, tablets, PC, MAC, Laptop, Google TV, Cloud storage, Xbox etc. A must-have app that will save you time and eliminate the need of USB data cable for file transfer. Once you've tried it, you'll wonder how you ever got along without it!

Google Play Download URL

Google Keep- Google's Note Taking App - Personal

Quickly capture what’s on your mind and recall it easily wherever you are. Create a checklist, enter a voice note or take a photo and annotate it. Everything you add is available instantly on all your devices – desktop and mobile.

With Google Keep, you can:

• Keep track of your thoughts via notes, lists and photos

• Have voice notes transcribed automatically

• Use homescreen widgets to capture thoughts quickly

• Colour-code your notes to help find them later

• Swipe to archive things you no longer need

• Turn a note into a checklist by adding checkboxes

• Use your notes from anywhere - they are safely stored in the cloud and available on the web at http://drive.google.com/keep

Friday, August 16, 2013

Android Device Manager
The feature, announced earlier this month, lets you easily find, ring, and even remotely reset your Android device from any phone, tablet, or computer.

Up till now, you'd have had to go out of your way to install (and sometimes pay for) a third-party utility in order to get such functionality. Now it's built right into Android, whether you realize it or not -- and it's always ready and available, with no added apps or running services required.

It took a little while for Android Device Manager to roll out to everyone, but so long as you're running the now-ancient Android 2.2 or higher, it's patiently waiting for you this very minute. In order to unlock its full potential, though, there's something you need to do.

It's easy: Just grab your phone or tablet, open up the app called Google Settings (look in your app drawer -- it's there), and select the option called Android Device Manager. Then make sure the boxes for both "Remotely locate this device" and "Allow factory reset" are checked. The first one should be activated by default, but the second -- the one that could really save your hide in a bind -- has to be enabled by hand.

Once you've got both those settings confirmed, you're all set. Just go to google.com/android/devicemanager from any mobile device or computer, and you'll see your phone pinpointed on a Google Map. You can ring it -- at full volume for a full five minutes -- or, in a worst-case scenario, perform a factory reset and wipe all your info right then and there.

If you have multiple Android devices connected to your account, clicking the small down arrow next to the first device's name will show you a list of every phone and tablet you've got. Just be sure to follow the steps we just discussed on each device -- right now -- so they're all fully activated and operational.

*** If the article helps you. Please like/Share it or leave a comment !

Saturday, July 20, 2013

Root - Acquiring ”root” is the process of gaining total control over your device. When you purchase your device, there are certain files and systems that you cannot access because they are blocked by the manufacturer. By aquiring root you gain access to these files, allowing you to modify, replace and even delete them. This allows you to take total control over how the software of your device looks and works.

Bootloader - Before you can root your device, you must unlock your bootloader. The bootloader is a line of code that is executed even before your Android operating system boots up. The bootloader’s code is specific for each make and model of the many Android devices. Bootloaders come “locked” because the device manufacturer doesn’t want you tinkering with the software that they worked so hard to optimize for that particular piece of hardware. Unlocking the bootloader allows you to tinker with the phone’s firmware, or even replace it with a custom firmware (aka: ROM). It is important to note that unlocking your bootloader will erase all data stored on your phone, essentially putting it back to a “factory reset” state, so you’ll want to save any pictures, music, or any other important files that are on your device.

Recovery - Once your bootloader is unlocked and you have rooted your device, you will need a custom recovery. A recovery is a piece of software that is called up separate from the actual Android operating system. Its purpose is to make changes to the Android OS at a core level, such as delete user data, apply updates and more. The stock recovery is limited in function, so if you are planning on modifying/hacking/rooting your phone, you will need to install a “Custom Recovery” such as Clockwork Mod Recovery. A custom recovery will allow you to make backups, restore them, wipe partitions, install custom software and more.

Backup / Nandroid - Once your custom recovery is installed, you will want to make a backup (also known as a Nandroid). A Nandroid is simply a complete and total backup of your phone. It will store all of your data, apps, settings, SMS messages, and more, basically allowing you to restore your phone to the exact state that it was in when you made the backup.

Wipe - Now that your backup is made, you don’t have to be afraid of making changes to your phone or losing data, since you can always restore it (just be sure to not delete the backup!). Now you can “wipe” your phone without worry. Wiping is deleting all the user data from your phone, essentially reseting it to its factory state. You can also wipe (ie: delete) other partitions of your phone like the cache partition. It is always recommended to wipe your phone before installing a custom ROM (we’ll get to that in a second). You can wipe your phone via the custom recovery you installed.

Flashing - Flashing is the process of installing some sort of software or code via your custom recovery.

Flashable ZIP - A flashable ZIP is the actual file that you install or “flash” via the custom recovery to make changes to your phone’s software. It is a normal .zip file that contains the lines of code to modify your software. These Flashable ZIPs can be used to flash a ROM, Kernel, Radio, mod, and more, which we will define below.

ROM - A ROM is the main firmware or operating system that your phone runs. Just like Windows 7 runs on your PC, or Mac OSX runs on your Macbook, a ROM is the main software you interact with to use your phone. It includes all the system apps (messaging, email, phone), the launcher, the notification bar…everything really. Google’s Nexus line runs a “stock” Android ROM (meaning it’s unmodified) while manufacturers make significant changes to the look and feel of their ROMS before they ship them with your phone (for example: note the difference between the Samsung Galaxy S III’s software and the software on LG’s Nexus 4) . Code-savvy developers have taken the manufacturers’ code and created their own “Custom ROMs”. These ROMs can dramitically enhance the look and feel of your phone, and often add tons of useful features. Two very popular custom ROMs are CyanogenMod and MIUI. A ROM is made for a specific model phone and comes in a Flashable ZIP file that is installed (“flashed”) via your custom recovery.

Kernel - Unlike a ROM the Kernel does not alter the look and feel of your phone, but is a “deeper” line of code that rests beneath the surface, so to speak. It tells the software how to interact with the hardware. A custom kernel is a kernel that developers have added code to, in order to create all sorts of new options and abilities. They might add code to make the phone’s processor run at a higher speed, or make the battery draw less power when the phone is in “idle” mode. Kernels are like the soul of the software. They can be flashed in the custom recovery and the files are usually called Tar Images or Zimages.

Radio / Basebands / Modems - The radio / baseband / modem is a firmware that allows your phone to connect to the wireless network. This firmware controls basic low-level functions of your phone like cell-network connectivity, Wi-Fi, and GPS. Oftentimes an updated radio / modem will help with signal strength issues, battery drain and more. The radio / modem firmware is specific to each device and carrier and is flashed via custom recovery.

Mod - A “mod” is simply a modification made to the phone’s software. This can include adding functionality or changing the visual layout of your phone, like moving the location of the clock to the center of the notification bar, or inverting the colors in the SMS app. Mods are usually Flashable Zip files that are flashed in the custom recovery.

Brick – A brick is when your phone won’t recover from a bad rooting/flashing process. Your device becomes unresponsive and unable to be restored…essentially making it a “brick” or a very expensive paperweight. Bricking your phone usually happens when you do not follow instructions carefully or if a device does not allow for root. Bricking your phone is a real possibility and risk in rooting and modding your phone, but it is very rare to occur, and most unlikely to occur if you simply follow the instructions.

Superuser (SU) – If you follow the instructions and root correctly, you will become a Superuser (SU), which means you become a complete and total admin of your device, allowing for most, if not all root permissions to be accessible.

Kang - A Kang is a ROM or mod that uses a significant portion of code created by another developer.

Overclock / Underclock - This means that you have installed a custom Kernel that has allowed you to speed up or slow down your phone’s processor speed. Most phones are clocked at a certain processor speed (ie: 2.4 MHz), but if you overclock it, you are allowing your process to push the limits by working at a higher speed. Overclocking will make your phone perform faster, but often comes at the expense of battery life. Underclocking does the exact opposite of overclocking. It makes your processor perform at a lower speed, slowing down perceived performance, but helps increase battery life.

Under Volt (UV) - Undervolting is a feature that is enabled in certain custom kernels. Undervolting lowers the amount of power your processor needs to perform at its normal level which, in theory, saves you battery life. The feature is known to cause issues in many phones.

APK - An APK is the file name for an Android application that can be installed on your phone. All apps downloaded from the Google Play store come as APK files. APKs can also be “sideloaded” by downloading them from outside of the Google Play store and placing on the phones internal or external memory. To install a sideloaded APK you need to enable that option in settings, then find the APK file on your phone and tap it to begin the installation process.

Odex / DeOdex - DeOdexing APKs is a way that developers optimize APKs (apps) to be compatible with different themes that themers have created. Please see this very good explanation on Odex / DeOdex that we wrote about previously.

Android SDK - Android SDK is a software development kit written by Google that enables developers to create applications for the Android platform. The Android SDK includes sample projects with source code, development tools, an emulator, and required libraries to build Android applications. In many cases, if you want to hack your phone, you will need to have the Android SDK installed on your computer.

ADB - ADB stands for Advance Debug Bridge which is a tool that comes in the Android SDK. ADB lets you modify your device (or device’s software) via a PC command line. ADB is mainly for developers to create and test their apps, but it can also be used by curious hackers (like you!) to access your phone from your computer and run some commands via your computer’s command prompt.

*** If the article helps you. Please like/Share it or leave a comment !

***Note: This guide assumes that you have already downloaded the proper theme or kernel files that correspond to your phone and/or ROM***

INSTALLING A THEME:

Step 1: Boot into clockwork recovery, the easiest way is to hold the power button down for the reboot menu and select boot into recovery (most ROM's have this option built into it) otherwise you'll need to google how to boot into recovery manually for your phone.

Step 2: Perform a backup of your current rom. To do this navigate to backup and restore and then select where you want it to backup to whether it be internal card or external card.

Step 3: After the backup is complete return to the main recovery screen and wipe cache then navigate to advanced and hit wipe dalvik cache.

Step 4: Its time to install the theme for this go to install from zip then pick where its located be it on the internal or external sd card and locate the theme zip file. Click on it, then select yes and let it install.

Step 5: Reboot your phone.

***Disclaimer: The use of this guide is of your own free will, any damage to your phone resulting from it is nobody's fault but your own***

INSTALLING A KERNEL:

Step 1: Boot into clockwork recovery, the easiest way is to hold the power button down for the reboot menu and select boot into recovery (most ROM's have this option built into it) otherwise you'll need to google how to boot into recovery manually for your phone.

Step 2: Perform a backup of your current rom. To do this navigate to backup and restore and then select where you want it to backup to whether it be internal card or external card.

Step 3: After the backup is complete return to the main recovery screen and wipe cache then navigate to advanced and hit wipe dalvik cache.

Step 4: Its time to install the kernel for this go to install from zip then pick where its located be it on the internal or external sd card and locate the kernel zip file. Click on it, then select yes and let it install.

Disclaimer: If you install a kernel that is not mean't for your phone or rom, bad things can and probably will happen. Always make sure that the kernel is for your phone, carrier, and rom.

Step 5: Repeat step number 3 *VERY IMPORTANT*

Step 6: Reboot your phone.

***Disclaimer: The use of this guide is of your own free will, any damage to your phone resulting from it is nobody's fault but your own***

*** If the article helps you. Please like/Share it or leave a comment !

Wednesday, July 17, 2013

Details:Official Update for India Galaxy S2 GT19100 BUILD NUMBER - I9100XWLSTAndroid Jelly Bean 4.1.2 Release Date 22.04.2013***The Auther of the Post does not take any responsibility if your phone gets bricked, damaged or any kind of data loss. Please take proper backup of your phone before following the process.

Extract the tar.md5 from the above zip file if you download from the mirror.

Turn off your phone.

Make sure Samsung Kies program is not running on your computer at that time.

If it is, just close Kies.

Put your phone in download mode(Now press volume down key+ home key + power button together simultaneously for few seconds until you get haptic feedback from your phone i.e. until your phone vibrates to enter downloadmode. Now press volume up key to confirm that you want to proceed ahead when asked to do so on the screen.)

In ODIN program, you’ll see a box colored with com number indicated. In the log section of ODIN program, it’ll display Added message. This indicates that your phone is successfully detected by ODIN program.

Click on PDA button and browse to the firmware extracted folder and select thefirmware file.

Choose the tar.md5 in the pda section. Leave rest untouched.

Flash.

Once it completes,

After completing everything, you’ll find that all your previous apps, messages, contacts are intact. Well, don’t be hopeful because you might face several problems like no network connectivity after flashing jelly bean firmware on Galaxy S Advance, or the UI screen very laggy, or excessive RAM usage, etc. To solve such issues and to experience speed Jellybean butter effect, you have to factory reset your phone.

So, Switch Off your phone.

Press Volume up key + Home button + power key together simultaneously to enter recovery mode.Use volume up/down key to navigate through the options and power key to select/execute a particular option.Select Wipe Cache here.Now select Factory Reset.Now Select Reboot.

Yippie you should be all set to go.

*** If the article helps you. Please like/Share it or leave a comment !

Sunday, June 30, 2013

A new official update, Android 4.1.2 Jelly Bean with build version XXLQG, recently rolled out for the international version of Samsung Galaxy S Advance bearing model number GT-I9070.

The latest official build is a completely unbranded version of firmware and originally for the users from Italy. Users can grab the update through the Samsung KIES server. Those belonging to supported regions can also install the update manually using Odin flashing tool.

Before installing the firmware, users are advised to ensure that their devices meet the following requirements.

Pre-requisites

1) Install USB Driver for Samsung Galaxy S Advance to transfer files between the Android device and the computer.

2) Enable USB Debugging Mode on the phone to connect the Android device with the computer and use the Android SDK with it. [Press Menu>> Settings>> Applications. From there navigate and click on Development option and then check the USB Debugging Mode.]

3) As the tutorial is likely to wipe out all data of the phone, create a backup. If the device is having any custom recoveries such as CWM/TWRP already installed, then back up data using the recovery only.

4) The Galaxy S Advance should have above 80% battery charge.

5) The device should be factory unlocked and not locked to a particular carrier.

6) The phone will lose custom firmware with the installation of official firmware. Additionally, it will lose custom recovery which will be replaced by the stock recovery.

7) The phone will no longer belong to a rooted version once official firmware is installed.

8) The Android 4.1.2 XXLQG Jelly Bean official build is compatible only with Samsung Galaxy S Advance GT-I9070. As applying this to any incorrect variant might brick the device, verify the model number of the Galaxy device by navigating to Settings>> About Phone>> Model number. Steps to install Android 4.1.2 XXLQG Jelly Bean on Samsung Galaxy S Advance GT-I9070 Step-1: Download Android 4.1.2 XXLQG Jelly Bean official firmware for Samsung Galaxy S Advance to the computer

Step-2: Extract the downloaded zip file using Winzip, Winrzr, 7zip or any other extracting tool to get a file with .tar.md5 extension with some other files

Step-3: Download Odin3 v3.07 which will help to install the Jelly Bean firmware. Extract the Odin zip to get Odin3 v3.07.exe and some other files

Step-4: Switch off the Galaxy S Advance and wait for five to six seconds for the vibration to confirm the power off

Step-5: Boot the phone into Download Mode by pressing and holding Volume Down, Home and Power buttons together. A warning screen will appear, now press the Volume Up button to continue to enter into Download Mode

Step-6: Run Odin3 v3.07.exe as an Administrator

Step-7: Connect the Galaxy S Advance to the computer using USB cable while the device is in Download Mode. Wait for some time until Odin detects the device. When the device is connected successfully, an Added message will appear under Odin. Also, the ID: COM box in Odin will turn blue indicating all the drivers are installed successfully

Note: If the Added message does not appear, then try the USB port at the back of the computer. In case Odin still fails to recognsie the device, then re-install USB driver.

Step-8: Select these files extracted from I9070PXXLQG folder to install on the phone

a) Click the PDA button and select the .tar.md5 file

b) Click the Phone button and select file with Modem in its name

c) Click the CSC button and select the file with CSC in its name

d) Click the PIT button and select the .pit file

Note: Ignore the last three steps (b, c and d) if such files are not found.

Step-9: Verify that Auto Reboot and F.Reset Time checkboxes are selected in Odin window. Also, ensure that the Re-Partition option is unchecked; select it only when a .pit file is being used

Step-10: When everything is set, hit the Start button in Odin. The installation process should begin now and would take few minutes to complete

Step-11: Once the installation process is completed, the phone will reboot automatically. And soon a PASS message with green background will appear in the extreme left box at the very top of Odin indicating successful installation. Now safely unplug the USB cable from the phone to disconnect it from the computer

Samsung Galaxy S Advance should now be updated with Android 4.1.2 XXLQG Jelly Bean official build. Head over to Settings>> About Phone>> Firmware info to verify the new software version running on the device. Additionally, re-configure the APN Settings to avoid data networks connection issues. Also change the default language to your desired language by selecting Setting>> Language and Text input.

How to Fix Bootloop Issues

1) While installing the firmware if the PASS message does not display (step-11) or the device gets stuck for a long time, then disconnect the phone from the computer. Remove the battery and re-insert it, check the USB connection, re-install the USB driver and disable KIES. Enter Download Mode and repeat the whole procedure.

2) If bootloop occurs or the device is stuck in welcome screen logo, then boot the phone into recovery mode. To do so, press and hold the Volume Up, Home and Power buttons together. In recovery mode, perform data wiping task by selecting Wipe data/factory reset then select Wipe Cache Partition. Reboot the phone in normal mode by selecting reboot system now. When the phone boots up, it should be running on the official build. In recovery mode, use Volume keys to scroll between the options and use the Power button to select the particular option. Performing wiping task will erase the internal memory of the device.

*** If the article helps you. Please like/Share it or leave a comment !

Sunday, June 23, 2013

Don't use Sense UI. That's HTC's home app. Again, it's pretty, but not friendly to battery.

Prefer the back button over the home button. The back button lets apps decide if they want to run in the background. The home screen often leaves apps running when they don't need to.

Don't use app killers! There's no need for them if you use the back button, and you'll end up crippling other apps because of non-obvious dependencies between apps.

Use WiFi whenever you have access to a network because it uses less battery than 3G. (Shorter distance, lower power.) Turn WiFi off when you don't have access to a network, otherwise it will keep looking for a WiFi network it can use (which drains battery).

Reduce the frequency at which apps refresh their content. Common offenders are social media clients (Twitter, Facebook, etc.) and news or weather apps.

Finally, watch your battery usage under Settings -> About Phone -> Battery -> Battery Use. This will show you what has been using the battery since it was last charged. (So it shows nothing while charging!) If anything unexpected is using the battery, consider replacing it with another app or service.

Some other tips:

Lower the screen brightness

Turn off 3G (if you have a phone that you can switch between 3G and 2G).

Disable automatic Data Sync or:

Set your apps to sync at longer intervals or don't use apps/widgets that do synchronize often

Turn off any unnecessary vibrations or haptic feedbacks

Disable the keyboards backlight

Avoid using the speakers, opt in for using headphones

Underclock the CPU (rooted users)

Turn off data completely (using an app like APNDroid)

Don't use task killers to automatically kill off processes. They simply will respawn. Uninstall undesired apps.

Use applications like Locale or Tasker to control your phone's Wifi/GPS/Bluetooth/Sreen brightness/etc. settings automatically with profiles that activate under certain conditions

Set your screen timeout to a short time interval. Then use Screebl to keep your phone screen on when the phone is only held at certain angles.

*** If the article helps you. Please like/Share it or leave a comment !

Like it is with the iPhone, sometimes a simple restarting of your Android handset can take care of the operating glitch in your device.

In case restarting the phone doesn't solve your problem, or if the device has become unresponsive, simply remove the back cover and take out the battery. Wait for a few minutes before putting it back and restarting the phone.

If this still doesn't solve the problem, you can reset your phone to default settings. To do this, go to Settings > Backup & reset > Factory data reset > Reset phone.

Unfortunately, given the fact that different companies use different user interfaces on their phones, on some Android devices you may find this option under Settings > Privacy > Factory data reset.

Doing a factory reset will delete your data and apps from the phone, so it's always a good idea to have it all backed up before erasing everything.

If your phone has become unresponsive and restarting it or a software reset doesn't help, you can try a hard reset by simultaneously pressing a combination of buttons on your handset Volume Up + Power + Home button,
or Hold the Volume Down + Power button for several seconds.

If you are not sure about the key combination for your device, look it up on the web, or call your service centre.

Once your phone is in recovery mode, use Volume Up and Volume Down to navigate on the screen.

Select Factory Reset and click ok through the home button (Samsung phones) or the power button (stock Android). All your personal data will be deleted.

GOOGLE ACCOUNT: Go to Settings > Accounts > Google. There, click on the account name. Select what you want to sync, and you're done. In fact, once you have saved your contacts to your Google account, you can access them on Android, Windows Phone, BB10 and iOS devices. If you've installed the Google+ app, you can turn on auto upload in it to backup any picture you click with the phone in real time.

G CLOUD BACKUP: This is a third-party utility that backs up the data from your Android phone to web servers. After installing the app, you will have to create an account with G Cloud before you can start backing up your contacts, messages, photos and music. Every user gets 8GB of free cloud storage.

Download: play.google.com/store/apps/details?id=com. genie9. gcloudbackup&hl=en Samsung and HTC have programs like Kies and Sync Manager respectively—downloadable from their web sites—that will let you back up your phone data to your PC.

HOW TO RESTORE YOUR PHONE

Restoring an Android phone depends on where you have backed up your data. If you had saved your contacts to your Google account, all you have to do is add your account while setting up the device, and select Auto sync. If you had used some app to back up the data, you can use the same app to restore it back onto your existing or new phone.

*** If the article helps you. Please like/Share it or leave a comment !

Thursday, June 20, 2013

Problem: Wi-Fi dropping or not connecting

We’ve seen this problem reported widely on a number of Android devices. The common thread for some people seems to be the update to Jelly Bean, but different version updates have impacted on different devices. There are a lot of potential reasons that Wi-Fi issues can occur and it might be due to your specific router or the settings on it. If you find that your device is unable to connect to a Wi-Fi network, or keeps dropping the Wi-Fi connection, there are things you can try.

Possible solutions

Try turning the router and the Wi-Fi on your device off. Tell your device to forget the details of your Wi-Fi network. Hold down the power button and restart it, or shut it down completely and then turn it back on again. Turn the router back on again. Turn Wi-Fi on your device on again and enter the details afresh.
Try going to Settings > Wi-Fi > Menu > Advanced on your device and make sure that “Keep Wi-Fi on during sleep” says Always. You can also try unchecking the box next to Avoid poor connections.

Problem: Random rebooting or freezing

If you find your phone keeps freezing or crashing and rebooting itself after a Jelly Bean update then it could be caused by an incompatible app. The problem is that your software has been updated, but the app hasn’t. It could also have been caused by a bug in Jelly Bean – Google released 4.2.2 and it was supposed to fix a number of bugs including the random reboot issue. If you’re still having problems there are a few things worth trying.

Possible solutions

Your first port of call is always just to hold down the power button and turn your device off completely and then wait a moment and turn it on again.
Check which apps are running in Settings > Application manager on the Running tab. Remove them one at a time and wait to see if the rebooting or freezing problem occurs until you find the app responsible. This solution can be annoyingly time-consuming.
Do a factory reset by going to Settings > Backup & reset > Factory reset. Enter your pattern, password, or PIN when prompted, then choose Erase everything. Keep in mind, this will actually erase all content on your phone and re-install a fresh version of Android. Backup anything important.

Problem: Poor battery life

Complaints about poor battery life are common for smartphones generally, but some people have complained that their device’s battery life has been noticeably worse after upgrading to Jelly Bean. This could be down to specific apps or services. If you find that your battery is draining faster than it was before, then try and reboot first. If that doesn’t help, try the steps below.

Possible solutions

Go into Settings > Battery and take a look at what is draining the power most. Some people reported an increase in battery life after switching off Google Now, or Google Wallet and NFC functionality. Perhaps you have another app running in the background that’s eating more power than it should. If so, you’ll find it here, and you can deal with it.
It could be because your device is connecting to LTE or trying to. You can change this in Settings > More settings > Mobile networks and select your Network mode.
It could be a reading fault with your microSD card. Try removing it and see if the problem persists. If it works then backup the contents to your computer and reformat the card.

Problem: Bluetooth not working

Google confirmed that version 4.2 of Android contained a Bluetooth bug that can disrupt audio streaming. If you’ve experienced issues with your Bluetooth functionality after upgrading to 4.2, then that’s the reason.

Solution: Google released a fix in version 4.2.1. You need to upgrade to get your Bluetooth working again. This is, assuming it’s possible

Problem: Missing December

A high profile gaffe saw December missed out of the People app calendar on Nexus devices in the 4.2 update.Solution: It was restored in version 4.2.1.

If you find alternative fixes for any Jelly Bean issues then please do share them. Check back again, as we’ll update this roundup over time.

*** If the article helps you. Please like/Share it or leave a comment !


Induction of a viable but non-culturable state in Salmonella Typhimurium is correlated with free radicals generated by thermosonication.
The viable but non-culturable (VBNC) state in bacteria is gaining more and more attention around the world, mainly due to it is not only an important strategy for adaption to a stressful environment but also may possibly pose a threat to food safety and public health. It was found that a small subpopulation of Salmonella Typhimurium in pure culture was induced into a VBNC state during thermosonication (TS) processing in our previous study, though few known about the situation in real food and how bacteria were induced into that special state. Base on the speculation that free radicals generated during TS affected induction of VBNC, the relationship between them was investigated preliminarily. It was observed that higher intensity of TS treatment, such as higher power, elevated temperature and prolonged duration resulted in more viable S. Typhimurium cells in carrot juice been inducted into VBNC state. The observed results showed that VBNC incidence indexes were 1000 as TS treatments at 57-62 °C and 380 W for 6 min, and 53 °C and 380 W for 8-10 min were applied, indicating a 100% VBNC state of viable cells in those cases. The ESR spectra revealed three kinds of free radicals, including carbon centered (ethanol) radicals, hydroxyl radical and hydrogen protons were generated in carrot juice during TS processing. The intensity of free radicals was tied to the TS processing parameters and also influenced the occurrence of VBNC. A nonlinear sigmoidal curve of the intensity of free radicals VS the VBNC incidence index in three stages, including a slow phase (with free radicals intensity of 0-0.10), a rapid growth phase (with free radicals intensity ranged 0.10-0.14) and a final equilibrium phase (with free radicals intensity greater than 0.14), was observed and well fitted with the Boltzmann model. Moreover, the significance of free radicals generated during TS processing for induction of VBNC state was verified and confirmed with 0-200 mM sodium pyruvate. The obtained results may contribute to understand the complicated phenomenon and guide the application of TS as a decontamination technique.


Effects of operational parameters and common ions on the reduction of 2,4-dinitrotoluene by scrap copper-modified cast iron.
Scrap Cu-modified cast iron (CMCI) is a potent material for the reduction of 2,4-dinitrotoluene (2,4-DNT) by a surface-mediated reaction. However, the effects of operational parameters and common ions on its reduction and final rate are unknown. Results show that the 2,4-DNT reduction was significantly affected by Cu:Fe mass ratio and the optimum m(Cu:Fe) was 0.25%. The slight pH-dependent trend of 2,4-DNT reduction by CMCI was observed at pH 3 to 11, and the maximum end product, 2,4-diaminotoluene (2,4-DAT), was generated at pH 7. Dissolved oxygen (DO) in the water reduced the 2,4-DNT degradation and the formation of 2,4-DAT. CMCI effectively treated high concentrations of 2,4-DNT (60 to 150 mg L(-1)). In addition, varying the concentration of (NH4)2SO4 from 0.001 to 0.1 mol L(-1) improved the efficiency of the reduction process. The green rust-like corrosion products (GR-SO4 (2-)) were also effective for 2,4-DNT reduction, in which Na2CO3 (0.01 to 0.2 mol L(-1)) significantly inhibited this reduction. The repeated-use efficiency of CMCI was also inhibited. Moreover, 2,4-DNT and its products, such as 4A2NT, 2A4NT, and 2,4-DAT, produced mass imbalance (<35%). Hydrolysis of Fe(3+) and CO3 (2-) leading to the generation of Fe(OH)3 and conversion to FeOOH that precipitated on the surface and strongly adsorbed the products of reduction caused the inhibition of CO3 (2-). The 2,4-DNT reduction by CMCI could be described by pseudo-first-order kinetics. The operational conditions and common ions affected the 2,4-DNT reduction and its products by enhancing the corrosion of iron or accumulating a passive oxide film on the reactivity sites.


# AWS::SES::ReceiptRule LambdaAction

When included in a receipt rule, this action calls an AWS Lambda function and, optionally, publishes a notification to Amazon Simple Notification Service \(Amazon SNS\)\.

To enable Amazon SES to call your AWS Lambda function or to publish to an Amazon SNS topic of another account, Amazon SES must have permission to access those resources\. For information about giving permissions, see the [Amazon SES Developer Guide](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html)\.

For information about using AWS Lambda actions in receipt rules, see the [Amazon SES Developer Guide](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-lambda.html)\.

## Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

### JSON

```
{
  "[FunctionArn](#cfn-ses-receiptrule-lambdaaction-functionarn)" : String,
  "[InvocationType](#cfn-ses-receiptrule-lambdaaction-invocationtype)" : String,
  "[TopicArn](#cfn-ses-receiptrule-lambdaaction-topicarn)" : String
}
```

### YAML

```
  [FunctionArn](#cfn-ses-receiptrule-lambdaaction-functionarn): String
  [InvocationType](#cfn-ses-receiptrule-lambdaaction-invocationtype): String
  [TopicArn](#cfn-ses-receiptrule-lambdaaction-topicarn): String
```

## Properties

`FunctionArn`
The Amazon Resource Name \(ARN\) of the AWS Lambda function\. An example of an AWS Lambda function ARN is `arn:aws:lambda:us-west-2:account-id:function:MyFunction`\. For more information about AWS Lambda, see the [AWS Lambda Developer Guide](https://docs.aws.amazon.com/lambda/latest/dg/welcome.html)\.
*Required*: Yes
*Type*: String
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`InvocationType`
The invocation type of the AWS Lambda function\. An invocation type of `RequestResponse` means that the execution of the function immediately results in a response, and a value of `Event` means that the function is invoked asynchronously\. The default value is `Event`\. For information about AWS Lambda invocation types, see the [AWS Lambda Developer Guide](https://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html)\.
There is a 30\-second timeout on `RequestResponse` invocations\. You should use `Event` invocation in most cases\. Use `RequestResponse` only when you want to make a mail flow decision, such as whether to stop the receipt rule or the receipt rule set\.
*Required*: No
*Type*: String
*Allowed values*: `Event | RequestResponse`
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`TopicArn`
The Amazon Resource Name \(ARN\) of the Amazon SNS topic to notify when the Lambda action is executed\. You can find the ARN of a topic by using the [ListTopics](https://docs.aws.amazon.com/sns/latest/api/API_ListTopics.html) operation in the Amazon SNS API\.
For more information about Amazon SNS topics, see the [Amazon SNS Developer Guide](https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html)\.
*Required*: No
*Type*: String
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)


PASCO Co., Fla. — We’re learning about the nearly 40 gang members cuffed and jailed in a big investigation unfolding in the Tampa Bay area.

It was a three-year investigation ending with more than 110 illegal firearms seized. The Pasco County Sheriff’s Office teaming up with ATF and the State Attorney’s Office to cuff 39 alleged gang members.

“You know these are one of those very proud moments we have," said Sheriff Chris Nocco of Pasco County Sheriff's Office.

They say the suspects are part of the Unforgiven and United Aryan Brotherhood prison gangs working mostly out of Pasco County. But most stunning of all is the amount of guns authorities confiscated including a rocket launcher and pipe bombs.

“It’s scary when you look over that table and you see those guns and they are in the hands of felons," said Nocco.

Now they are off the streets as are several pounds of mostly meth and fentanyl. The ones behind these alleged crimes are well known to authorities.

“I want to send a message to these defendants that you can’t keep coming in and out of prison and come back and affect the community with violence and drug trafficking," said Maria Chapa Lopez, U.S State Attorney for Middle District of Florida.

These suspects are facing anywhere from two years to life in prison. Even more alarming is 31-year-old Richard Mormon, who was caught with at least two fully operational pipe bombs. Authorities say they aren’t aware of any plans Mormon had with them. Operation Blackjack doesn’t end there. Authorities are expecting to arrest more people but, of course, are keeping quiet on the details.


10 places you can buy your dream property for under $130k

For more real estate inspiration, check out our $150k and $250k editions.

YOU CAN ONLY LIVE in a place where list prices are expressed in the millions of dollars for so long (in my case, Toronto, Canada) before you start believing it takes mad coin to live anywhere “decent.” Here are 10 places that can be all yours for under $130k.

(Note: All prices are in USD and are approximations.)


Recurrent fallopian tube carcinoma: TP53 mutation and clinical course.
Primary fallopian tube carcinoma is a rare, aggressive gynecological cancer; little is known about its cause. Previous studies have indicated that p53 immunopositivity is correlated with short-term survival in primary fallopian tube carcinoma. We examined p53 and p21/WAF1 immunostaining and TP53 mutation in exons 5 to 8 by single-stranded conformation polymorphism and constant denaturant gel electrophoresis in nine cases of primary fallopian tube carcinoma and their metastases/recurrences from patients who survived for between a few months and more than 20 years after diagnosis. We found that 1.) p53 immunopositivity without detectable p21/WAF1 immunostaining did not correlate with TP53 mutations in the conserved domains; 2.) mutations in TP53 occurred in two metastases/recurrences but not in their corresponding primary tumors; 3.) in two cancers, a TP53 mutation was observed in the primary tumor but not in the metastases/recurrences; 4.) constant denaturant gel electrophoresis seems to be more sensitive than single-stranded conformation polymorphism in detecting TP53 mutations; and 5.) in the nine cases studied, p53 immunoreactivity and/or TP53 mutation analysis did not correlate with tumor progression, survival, or response to treatment.


/*
 * Copyright 2016 Google Inc. All Rights Reserved.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.blockly.android.clipboard;

import android.content.ClipData;
import android.content.ClipDescription;
import android.view.DragEvent;

import com.google.blockly.android.ui.BlockGroup;
import com.google.blockly.android.ui.PendingDrag;
import com.google.blockly.model.Block;

import java.io.IOException;

/**
 * {@code ClipDataTransformer} is an interface to help transform {@link Block} data and view objects
 * into ClipData, and back. This is used for drag-and-drop operations and copy/paste actions.
 * <p/>
 * Every application needs one implementation. Most applications will be content with
 * {@link SingleMimeTypeClipDataHelper}.
 */
public interface BlockClipDataHelper {
    /**
     * Constructs a new populated {@link ClipData} using the information from a {@link PendingDrag}.
     *
     * @param pendingDrag The source of clip
     * @return A new {@link ClipData} representing the dragged or copied {@link BlockGroup}.
     */
    ClipData buildDragClipData(PendingDrag pendingDrag) throws IOException;

    /**
     * This determines whether an incoming {@link ClipData} is a representation of Blockly
     * {@link Block}s that can be handled by this {@link BlockClipDataHelper}.
     *
     * @param clipDescrip A description of the incoming clipboard data.
     * @return True if the MIME type is found.
     */
    boolean isBlockData(ClipDescription clipDescrip);

    /**
     * Extracts a PendingDrag from a {@link DragEvent}. Assumes that {@link #isBlockData} has been
     * called and returned {@link true}.
     *
     * @param event A block drag event.
     * @return The PendingDrag for {@code event}
     */
    PendingDrag getPendingDrag(DragEvent event);
}