text:
Article April 23rd, 2018 |
12 Top Tips: How governments can find their legitimacy
Article highlights
Citizen engagement requires acknowledging citizens as individuals, says @tommilaitio #FindingLegitimacy
Government should be a partnership between those in power and the people, says @thatginamiller #FindingLegitimacy
Citizens juries should become a core component of our constitution in a deliberative, detoxified democracy, says @ngruen1 #FindingLegitimacy
We put our vision for government into practice through learning partner projects that align with our values and help reimagine government so that it works for everyone.
Governments are under increasing pressure to understand and respond quickly to people's needs and to their rapidly changing lives and expectations. Digital has offered a great way to respond to this at a service level but is only part of the answer when it comes to mending and building relationships with people.
Our Finding Legitimacy listening project found that despite great advances in IT and digital and now AI, people want to understand and get to know their governments better, how they work, who runs them and how they can collaborate with them to make things work better. Without this, further advances, however good, may stall.
We have explored what can be done today to build better relationships from increasing diversity at all levels of government so that it better represents the people it serves to building empathy into all training and leadership programmes. Our key behaviours for strengthened legitimacy help governments think of actions they can take at all levels of government. Many talk about trust in government being low but I would argue trust in people from governments is as low.
To solve problems and understand the role and limitations of government, too, will require a new way of thinking and working and a new level of trust and understanding of people
We have been privileged to speak to people from around the world, young and old, from both inside and outside of government, during the course of our research. Have you heard what they are saying yet?
Here, we present 12 Top Tips from experts about how governments can find their legitimacy.
1. Citizen engagement starts with understanding people's needs
Tommi Laitio, executive director, culture and leisure, City of Helsinki
"Engagement means more than thinking in averages; it requires acknowledging citizens as individuals with different interests, skills, needs and ambitions. There are three founding principles for engagement. Firstly, use the experience and expertise of the community; secondly, increase people's ability to live a free life and make choices; and thirdly, make participation more equal across the city in terms of access as well as empowering vulnerable groups."
2. Governments should care - but it's a two way street with the public
Gina Miller, activist, campaigner and business leader
"This is absolutely their job. If you put yourself up as a politician, you are almost saying 'I'm a parent of the nation'. You will be hated some days, you'll be loved other days, but that's what you have opted to do - you decided to be a parent of the nation. But the public also have to do their part - it's a partnership between those in power and the people; it's a two-way relationship. Too often it is people in power doing things to the people."
3. Politicians need to start by being honest
Ira Campbell, managing director of a youth centre in Brixton, London
"Young people hear a lot of politicians talking and talking but then nothing ever seems to happen. But they just need to start being honest - if something can't happen then sit down with them and explain why that is the case. But we don't even get those connections. This means that for the young people I work with, 'legitimacy' isn't even a real word. It has no meaning or relevance. They just see other people getting money or looking after their own."
4. Involve the citizen's voice in decision-making
Claudia Chwalisz, policy analyst, OECD
"Beyond the obvious democratic benefit, involving citizens in big policy decisions and giving them the time to become informed before they give their recommendations leads to more legitimate and effective policies. When given the opportunity to play an important role in shaping policies that affect their lives, people take it seriously and have proved time and again to be competent."
5. Competence, fairness, and caring are all critical to legitimacy
Amanda Greene, lecturer in political philosophy, University College London
"There must be positive perceptions of government along three distinct dimensions. Firstly, the dimension of competence: government must be seen as capable and effective in carrying out its activities. Secondly, the dimension of fairness: government must be seen as treating all people equally and impartially, without favoritism or discrimination. And thirdly, the dimension of human concern and personal connectedness: government must be seen to be sincerely caring about each person's welfare."
6. Re-enfranchise the public
Constanza Gomez Mont, co-founder, and director, and Claudia Del Pozo project co-ordinator, PIDES
"Citizens want to participate, but in the current environment they feel that it is 'a search without knowing what to look for'. Without knowing how decisions are taken or who the decision-makers are, and without knowing how decisions are implemented or to what end, citizens feel undervalued and disenfranchised. They do not believe that government is listening to their concerns."
7. Introduce citizens' juries
Nicholas Gruen, CEO of Lateral Economics, chairman of the Open Knowledge Foundation Australia
"These should ultimately become a core component of our constitution in a deliberative, detoxified democracy. Until then, they'd be an incredibly effective way of putting pressure on the existing system from the outside. If we could find some philanthropists to get them going, I think they'd be a fantastically cheap investment in another, better future."
8. Government has to learn from citizens
Magdalena Kuemkel, programme manager, Centre for Public Impact
"Our research shows that the relationship between governments and citizens is at breaking point. Change is needed now and governments should not be waiting for the next crisis to take action. We, at CPI, believe that it is possible to build legitimacy, and we found examples of this all over the world, often in places that we didn't expect. There is a lot that governments can learn from citizens - and from one another - about how to build better relationships, and who within the machinery of government should take a leading role in this initiative."
9. Ensure a focus on both processes and outcomes
Aparajita Bharti, co-founder, Young Leaders for Active Citizenship, India
"Trust is not just built by the actions of political leaders at the highest levels of government but also by frontline service providers by giving clarity of direction to people in their day-to-day lives."
10. In Canada, reconciliation and legitimacy will only happen with a 'total restart'
Rhonda Moore, policy lead, Public Policy Forum
"True reconciliation for Indigenous people will not happen within the parameters of a Westminster system where the Crown continues to hold all the power and First Nations people have none. True reconciliation will require a total restart; recognising the very different governance systems of all First Nations, not just the one imposed upon them."
11. Embrace empathy
Leonardo Quattruci, policy assistant to the director-general, European Political Strategy Centre
"Governments need to develop empathy. Perhaps policymakers should take short internships with employers when they draft employment regulation to understand what constraints and everyday hassles they face. Alternatively, citizens could spend a day with decision-makers to understand their difficulties in balancing the principles of legitimacy."
12. Three priorities in Lebanon: transparency, citizen-centricity, and digitalisation
Sarah-Jane Noujeim, junior associate, The Boston Consulting Group
"Policymakers have a lot to prove in order to re-establish trust and bridge the gap between themselves and the Lebanese people. First, they need to increase government transparency. Second, they need to commit to finding solutions that address citizens' concerns and improve the local economy. And finally they need to show that they are capable of leading a nation in the age of digital revolution by demonstrating an understanding of the impact of digitisation and open data on the role of government."
What is legitimacy to you? Where do you see legitimacy working well? How governments work with citizens to build legitimacy is a big question for CPI.
Find out how to get involved in our Finding Legitimacy project
Nadine Smith Founder & CEO, Nadine Smith Consulting
Reimagining Government episode 4: A more equitable government
By CPI
CPI in the news
Detroit, Long Beach, Macon-Bibb, and Miami-Dade showcase solutions designed with community and local data
By Elysa Neumann
31st October, 2022
Redefining rigour: using stories to evaluate systems change?
By Keira Lowther
How can local governments earn community trust?
By Leslie Grueber
Legitimacy Changemakers: Government workers who inspire hope for a better relationship with community
By Naja Nelson
3rd May, 2022
Doing change differently: unlocking the potential of children's social care
By Katie Rose
28th April, 2022


text:
Episode 1446 December 9, 2017
Browse episode timeline
Bitcoin Values Become Highly Speculative
Scott Wilkinson on Home Theater
How can I move my Outlook data to a new computer?
Can I use my laptop with my monitor and keyboard?
Why does my laptop display have problems after waking up?
Johnny Jet on Travel
How can I reconnect my printer?
What's a good phone for traveling to Mexico?
Can I splice a cable to make it longer?
Is there an autodialer for Android?
What 2-in-1 laptop should I get?
Should I buy a refurbished MacBook Pro?
How can I reset my Bitcoin password?
Do you know where your Bitcoin wallet is? Soundbars make a great gift for the holidays, moving Microsoft Office data to a new computer, using one monitor with two computers, troubleshooting hibernation issues with Windows 10, auto dialing on Android, what to look for when buying a refurbished Mac, and more of your calls!
Bandwidth for The Tech Guy podcast is provided by CacheFly.
Internet and Web, Hardware, Gaming, Home Theater, Mobile Phones,
Etherium, DogeCoin, blockchain, tulips, bitcoin, crypto currency, home theater, Samsung, polk audio, Vizio
Scott Wilkinson on Home Theater, Johnny Jet on Travel
Audience QuestionsHour 1
Hour 1 Hour 2 Hour 3
Watch Lance from San Diego, CA Comments
Lance bought a new Dell XPS 15 with a 4K screen for Christmas and he wants to know how to move his data and apps over to it from his old one. Leo says he isn't a fan of the transfer wizards because they usually bring over stuff that causes problems. So Leo recommends installing all of his apps separately. Backing up Outlook is fairly easy. Outlook stores everything in a file called Outlook.PST. So he can save that and then move it over once he's reinstalled Outlook on his new laptops. Or he can archive and install.
Watch Paul from San Diego, CA Comments
Paul has an IOGear KVM switch to plug in his laptop to connect it to his desktop monitor and keyboard. Leo says he'll want to be sure he uses HDMI for the video connection. But he can certainly use it with his laptop and his desktop at the same time. He'll also need additional cables.
Watch Andrew from California Comments
Andrew's laptop goes to sleep and when he wakes it up, it shows a broken up video screen until he reboots. Leo says it wakes up confused, and he's not surprised since it's Windows. But he's never seen what Andrew describes. It usually causes problems like this with Hibernation, but not sleep. That's why he recommends disabling hibernate. But sleep shouldn't do that since the RAM gets refreshed regularly. If his BIOS is out of date, that could cause it. But it's never happened to Leo. Andrew should also make sure his display drivers are up to date. He can also try erasing the ESCD and resetting the BIOS settings to default.
Watch Doug from Ohio Comments
Doug has a Toshiba Laptop running Windows 8. After a recent update, it broke connectivity to his HP printer. Leo says Doug should go to HP's driver site to get the latest drivers for his printer. It may be that HP doesn't have a recent driver anymore for Doug's old printer. But that's the first place to start.
Watch Ernesto from Pismo Beach, CA Comments
Ernesto needs a new cell phone for his father. He doesn't do any smart things like apps or texting. He just talks. He wants one that will work between the US and Mexico. Leo says that a "feature phone" is an easy and inexpensive purchase. Alcatel is one brand that works in both places. He should go to T-Mobile and he can probably get one for free on a pay as you go plan. They also offer free international data and cheap international calls. It'll also work in 190 other countries as well. The chatroom says that AT&T is best in Mexico.
Watch Greg from Pasadena, CA Comments
Greg has a Logitech video conference system and he wants to know if he can make an extension cable based on the PS2 cable. He made one, but it says "USB device not recognized." Logitech's extension is too short and expensive. Leo says there's probably some circuitry bonded into the cable that it's looking for. He may want to try splicing in additional cable in the original. He'll be destroying it, but it may work. He may also need to deal with DRM Copy Protection. But if the circuitry is on either end and he's splicing in more cable in the middle, he may be good to go.
Watch Rich from Tejunga, CA Comments
Rich has an Android phone and he wants to know if there's an auto dialer app when calling with a lot of busy signals. Leo says that the FCC has a delay requirement to prevent harassment. And there's a legal limit for the number of times you can autodial. SmartLife Digital has AutoDialer. It has a 20-second delay and it's intentional to prevent harassment. AppCrawlr has a dozen different apps to try.
Rich also wants a two in one tablet/laptop for meetings. Leo says the Eve laptop/tablet is great. The Windows Surface Pro is also the best option. Another good option is the ThinkPad X1 YOGA.
Watch Eric from Long Beach, CA Comments
Eric is looking to get a Best Buy refurbished 2011 MacBook Pro for $600. Is that a good deal? Leo says he usually recommends getting a refurb model from the manufacturer. He'll get a warranty that way. Best Buy probably wiped the hard drive and checked a few things, but it's not strictly refurbished. 4GB RAM is also a little light, but it will support High Sierra MacOS. Warranty wise, a good refurb should include a 1-year warranty. 3 months won't really help him. Leo would also recommend spending a little more money and getting a 2015 model.
Watch Dale from Rancho Palos Verdes, CA Comments
Dale has invested in BitCoin, but he forgot his password. He requested it from CoinBase, but now Google Authenticator won't work. Coinbase's support is overwhelmed so he can't get in. So what can he do? Leo says that Bitcoin is rampant with fraud and that's why the Google Authenticator is used. But it may be that his account has been hacked. He may just have to be patient in contacting Coinbase to get them to reset it. But he shouldn't have an authenticator to reset a password.
Blondie - One Way or Another
Dropkick Murphys - I'm Shipping Up to Boston
311 - Amber
Red Hot Chili Peppers - Hump de Bump
Audioslave - Show Me How to Live
Billy Squier - The Stroke
Johnny Cash - I've Been Everywhere
B.B. King - Lucille
Pink Floyd - Money
Scott Wilkinson
Scott says that digital signal processing is at the heart of a soundbar, and they are great for small living rooms.
Johnny's dad was having trouble charging his cellphone, and Sprint said to buy a new phone. He took it to the Apple Store and with a burst of canned air, it was back to normal.
This Week in Tech News
HellaByte is Being Lobbied as Term for Largest Quantities in Computing
Hellabyte is the latest term for the largest quantity in computing, but it's getting challenged by the terms BrontoByte and RotoByte. Leo says that the mass of the sun could be viewed as 2.2 HellaTons in weight, and releases .3 HellaWatts. Leo says at some point, you just go 1.2.3. Many.
Biden to Make Office Science and Technology Policy a Cabinet-Level Position
In one of his first acts as President, Joe Biden will be elevating the head of the White House Office of Science and Technology Policy into a cabinet-level position, and he's chosen a geneticist to be the first Secretary.
Happy 13th Anniversary to the iPhone
Thirteen years ago, Apple introduced an Internet communicator, iPod, and a Mobile Phone, known as the iPhone. Three devices in one. Leo says that smartphones were a struggling category at the time, attempting to go up against the juggernaut known as Blackberry. With the iPhone's launch, the smartphone's place in technological history was secured, and Blackberry is just a footnote.
Today is also the 20th anniversary of Wikipedia, the online Encyclopedia. Leo says it's the one thing on the internet that is truly good. There's no advertising, and it's incredibly valuable as a crowdsourced resource of information. It's also replaced the Encyclopedia as the first place people go for information.
Elon Musk is now the Richest Man in the World
With Tesla's stock skyrocketing, Elon Musk has surpassed Jeff Bezos to become the richest man in the world. Leo thinks that Tesla's success may be what's pushing Apple to develop their own electric car.
Meanwhile, Elon is going to Mars.
US Creates New CyberSecurity Department
Reacting to the recent SolarWinds hack by Russia, the US has created a new Cybersecurity for Emerging Technologies agency. Leo says that it will largely focus on security and diplomacy.
Backup and Recovery 756
Hardware 4,943
Home Theater 1,704
Internet and Web 4,085
Media 838
Mobile Phones 2,933
Peripherals 191
This work is released under a Creative Commons License. Bandwidth provided by Cachefly.

redpajama_set_name: RedPajamaCommonCrawl


Cradle your little one in a blanket of stars. Caring for the environment and your baby is easy with this organic cotton dream blanket.
Made of four layers of GOTS Certified Organic cotton muslin and manufactured in an environmentally responsible way, this blanket ensures playtime, cuddle time or bedtime is nothing less than dreamy.


Find all ideas can be found in Basement Remodeling Designs. When you read this post, we always strive to provide the best for you. If you liked the post of Basement Remodeling Designs You can share this post to a friend or your family. We are very happy if you can share with anyone. We hope you get the information from this post Basement Remodeling Designs we have given to you.
You should know that this post Basement Remodeling Designs also still related with basement remodeling, You can find other interesting things Basement Remodeling Designs we have provided on the gallery page. Thank you for visiting this page Basement Remodeling Designs. I really hope you happy.
Basement Remodeling Designs Rated 84/100 From 595 user and has 4463 Subscriptions.


The ultimate schoolbag in a classic shape! Perfect for the first day of school, and also for toting books, art supplies - you name it! Features include a metal clip for closing and opening, inside pocket for secret notes, adjustable straps, and a handle to tote to use for toting around.


Task Parallel Library is a powerful feature introduced by Microsoft as part of the .NET Framework. This acts as a wrapper to existing ThreadPool which is now managed by CLR optimally. This saves us from the lengthy boilerplate code of maintaining and disposing the threads. There are many articles that cover the advantages of TPL and its advantages over traditional thread pool.
Here is a very good article that gives a detailed overview of TPL.
This is a short tip that will cover a common use case while using TPL: Limiting the number of tasks that execute in parallel.
We use Task Parallel Library when processing multiple requests. A service or a worker process can load a set of requests and process all of them parallelly using TPL. This is a very common application of TPL, where a windows service application polls for any new requests and processes them in parallel. In some cases, we might want to control the number of concurrent processes.
Attached is a .NET 4.5 Console application with structural methods that make use of the extension method.
He have a method fun() that takes the processId as parameter and sleeps for some random time. This will simulate over async task.
items denote the list of input arguments for our parallel process. In other words, we are iterating over the pending requests in the queue and throttling will be handled by the logic inside the executeParallel method.
The main method will take an input of number of processes. We can see the throttle in work.
We can see the next process being picked up automatically and at any time, there will be at most 3 processes running.
A Full-Stack Web Developer and UI/UX enthusiast.
Sorry to tell that, thanks for sharing though.
Without deep diving into details, I can assure that given approach is very inefficient and has potentially undesired behavior due to absence of error handling.
Let me recommend the https://github.com/Dasync/AsyncEnumerable project which has the ParallelForEachAsync extension method. I'm the author, and we've been using it in a large scale distributed application with great success for 3 years.
Have a look at System.Collections.Concurrent Namespace[^] and in particular BlockingCollection<T>[^] which does essentially the same thing.
Thanks for the interesting piece,Arun. I'm not sure that a Console application is the best way to test asynchronous code. There is no single user-interface thread so it's not possible to test that the asynchronous processes are not blocking it. Have you had a look at the SemaphoreSlim class? It's fast, effective and is an easy way of throttling asynchronous code. One other thing, I notice from your output image that the number of processses requested is 12 but you are actually processing 13 as the numbers range from 0 to 12 inclusive. Regards, George.
I'm not sure that a Console application is the best way to test asynchronous code.
Console apps can be multithreaded using async...await. In fact, C# 7 officially supports async in console apps. You can read more here: C# 7 Series, Part 2: Async Main – Mark Zhou's Tech Blog[^].
Thanks for the information, Graeme. The sample app is using C# version 7.0 and async Main is not implemented. The feature is available from version 7.1 and is a most welcome addition.


Essays compose a lot of the assignments that are offered in the majority of institutions. Quality term papers do not just help you receive great grades, but in addition they enable you to make a superior reputation. It is one of the most significant writing tasks.
Once you have placed your paper, don't forget that trustworthy businesses enable clients to monitor the practice of writing. It does buy assignment not need anything other than your contact information, order details, and payment information. A trusted company should hire writers with the expertise to compose several types of technology papers for all educational levels.
You might be wondering about our prices. There are different businesses that offer to purchase term papers online, but the majority of them will hardly satisfy your expectations. There are lots of companies online that are offering term papers at relatively inexpensive price.
For some students, customized essay writing has become the most boring activity they consider doing. As quick as assignment according to the.
Therefore, unless your climate change essay is supposed to be about the range of opinions on the matter, blogs shouldn't be your https://payforessay.net/argumentative-essay source. The urge to order it arises for various reasons. It is more likely to play the role to persuade the readers about the effectiveness of the new ways or style of teachings.
If you wish to find high excellent research and thesis papers punctually and for a fair price, you should probably attempt using EssaySupply.com. If you must compose a term paper, but don't understand what things to do with it, we've prepared the necessary information for you. For data search make it's possible to return across many distinct matters.
Professors expect to observe students' theory application skills in real-life conditions. They should contact us as we are here to offer any academic help with regard to technology paper writing. They become stressed http://www.aaart.edu/admissions/ because they can hold a lot of weight in the grading process.
It's normal for a site offering free term papers to produce available a database of dozens of special reports in an assortment of subjects. To have the ability to search for the superlative accessible data it's crucial to decide on a resource. You will soon locate the official data about us.
After the glue dries you'll have iced branches prepared to place into a vase for those centerpieces of each table. You are able to even get an original copy of instructions in the event that you'd love to have the actual thing. If not sure, go for a larger band dimensions and a more compact cup.
Writing an essay, or some other paper for this matter, isn't just writing. You've got to understand you will discover always a number of the fundamental items to purchase customized Essay Papers. Research papers also incorporate writing a proposal.
When you get term paper crafted by our excellent writers you will not be sorry. Ultimately, you have your term paper written by a skilled writer. Experienced term paper writers are affordable and they are able to help you acquire the information which you will need for your topic.
When you purchase papers from us, our customers just need to be sure of one thing they provide us all the required guideline. It does not need anything other than your contact information, order details, and payment information. It offers your attention all kinds of assignments which fulfill your personal needs and guarantee your success.
At that our sire you're likely in order to find expert and fast term papers at economical rates. Buying out customer feedback on completed term term the ordinary rating of each writer to be able to make certain that you assign a genuine professional! There are lots of companies online that are offering term papers at relatively inexpensive price.


text:
package org.apache.directory.api.dsmlv2.reponse;

import org.apache.directory.api.ldap.codec.api.LdapApiService;
import org.apache.directory.api.ldap.model.message.MessageTypeEnum;
import org.apache.directory.api.ldap.model.message.ModifyDnResponse;
import org.apache.directory.api.ldap.model.message.ModifyDnResponseImpl;
import org.dom4j.Element;
import org.dom4j.tree.DefaultElement;

/**
 * DSML Decorator for ModDNResponse
 *
 * @author Apache Directory Project
 */
public class ModDNResponseDsml extends AbstractResultResponseDsml<ModifyDnResponse>
    implements ModifyDnResponse
{
    private static final String MOD_DN_RESPONSE_TAG = "modDNResponse";

    /**
     * Creates a new getDecoratedMessage() of ModDNResponseDsml.
     */
    public ModDNResponseDsml( LdapApiService codec )
    {
        super( codec, new ModifyDnResponseImpl() );
    }

    /**
     * Creates a new getDecoratedMessage() of ModDNResponseDsml.
     *
     * @param ldapMessage
     *      the message to decorate
     */
    public ModDNResponseDsml( LdapApiService codec, ModifyDnResponse ldapMessage )
    {
        super( codec, ldapMessage );
    }

    /**
     * {@inheritDoc}
     */
    public MessageTypeEnum getType()
    {
        return getDecorated().getType();
    }

    /**
     * {@inheritDoc}
     */
    public Element toDsml( Element root )
    {
        Element element = null;

        if ( root != null )
        {
            element = root.addElement( MOD_DN_RESPONSE_TAG );
        }
        else
        {
            element = new DefaultElement( MOD_DN_RESPONSE_TAG );
        }

        LdapResultDsml ldapResultDsml = new LdapResultDsml( getCodecService(),
            getDecorated().getLdapResult(), getDecorated() );
        ldapResultDsml.toDsml( element );
        return element;
    }
}

redpajama_set_name: RedPajamaGithub


In spring 2018, LUMINE relaunched their office to establish "a creative office to envision LUMINE's next 30 years".
The project aimed to develop a highly flexible work environment to emphasize creative work and a creative work style for the further growth of LUMINE.
The new headquarter office employs "Activity Based Working" - a strategy that encourages creative productivity by allowing employees to freely select workspaces according to the activities required by each individual job - and was designed with spaces of various atmospheres and functions. A flexible space called "Campfire", for all employees to freely use, is especially symbolic. The space is used for work and breaks, as well as in-house events and seminars. Employees naturally gather in the space where art installations, a library and a news stand is also made available to offer inspiration and knowledge.
The new office focused on a design that allows visitors and employees to feel the LUMINE brand. Structured under the three keywords "POP", "CULTURE" and "INTELLIGENCE", the new office was designed to the detail with an organic, refined feel, to represent LUMINE and its culture to support women living in the now.
Moving forward, LUMINE will continue to not only improve the work environment but also consider the lifestyle and work style of each employee to support creative work that adds value and enriches lives.


text:
Lateline interview with Emma Alberici
Industry Innovation and Science Media (old - archived), Media Releases, Transcripts 31 October 2016
E&OE… Topics: Meeting with major automotive companies in US and Japan EMMA ALBERICI: Greg Hunt, thanks for joining us. What is the point of your meetings with Toyota, General Motors and Ford this week? GREG HUNT: It is to make the case for Australian jobs, to fight for Australian jobs in the automotive in the…
US-Australia agreement strengthens particle physics research
Industry Innovation and Science Media (old - archived), Media Releases 29 October 2016
Australia's centre for particle physics has entered into a ten-year collaborative agreement with the USA's Fermi National Accelerator Laboratory (Fermilab) – America's premier particle physics laboratory. The agreement will enable Australia's Centre of Excellence for Particle Physics on the Terascale (CoEPP) to carry out collaborative fundamental scientific particle physics experiments at the frontiers of discovery.…
891 Adelaide interview with Ian Henschke
E&OE… Topics: Australian automotive industry IAN HENSCHKE: But first, we are going to talk to Federal Industry Minister Greg Hunt. He's in Chicago at the moment. He's just come from Detroit where he's had talks with Ford and General Motors about keeping a lot of expertise in the current industry still here in Australia. I…
2GB interview with Ross Greenwood
E&OE… Topics: Australian automotive industry ROSS GREENWOOD: Greg Hunt joins me from Chicago this evening, and Greg, I really appreciate your time. This is important stuff you're doing, but what sort of a hearing do you get from some of the biggest carmakers in the world? GREG HUNT: Look, we had a tremendous response. I've…
Koo Wee Rup Community Hall benefits from the Federal Government's $150,000 Stronger Communities Program
Local Media, Media Releases 27 October 2016
Federal Member for Flinders Greg Hunt said he was thrilled to announce that Koo Wee Rup Hall and community centre will receive funding under Round Two of the Federal Government's Stronger Communities Program. "A total of eleven local groups in the electorate received funding under Round Two, which is a great result for the community,"…
Advance Community College in Hastings benefits from the Federal Government's Stronger Communities Program
Federal Member for Flinders Greg Hunt was thrilled to visit Advance Community College in Hastings recently to view the solar panels the College was able to install thanks to the Federal Government's Stronger Communities Program. Advance Community College was able to install the solar panels with the assistance of $9,000 received under Round One of…
Grants assist young science and maths students to test their skills
Budding science and maths students have more opportunities to compete against the best in Australia and around the world through new government funding for a range of science, technology, engineering and maths activities. As part of the Turnbull Government's National Science and Innovation Agenda, grants of up to $5000 per student and $20,000 per application…
National Broadband Network now rolling out in Blairgowrie, Lang Lang and Safety Beach
I am pleased that 10,300 premises in Blairgowrie, Lang Lang and Safety Beach are a step closer to getting access to the National Broadband Network, with construction of the fixed line network now underway. The nbn will open up a range of new opportunities for businesses, students and residents, allowing people to carry out their…
FiveAA interview with Leon Byner
E&OE… Topics: Arrium; automotive industry LEON BYNER: Greg Hunt, thanks for your time. You're about to go overseas hunting for a buyer for Arrium. Tell me what the prospects are. GREG HUNT: Look, I am quietly confident. It's obviously in the hands of the administrators, so it's a sale by a private enterprise to a…
Coolart Wetlands and Homestead works towards National Heritage listing
I am pledging my full support for Coolart Wetlands and Homestead to be added to the National Heritage List. During a recent visit to the homestead, Friends of Coolart committee members emphasized the importance of gaining National Heritage listing in ensuring the ongoing protection of this local treasure. Coolart is a beautiful, historic homestead in…
99100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176


text:
The Stirling shortlist: it's a matter of taste
22 July, 2010By Simon Hogg
Interpret the Stirling shortlist any way you like, but it's all down to whose style you prefer, says Rory Olcayto
A few weeks ago we published every UK RIBA Award-winning building typologically rather than by region, to better understand British architectural practice. We learned that public building was the strongest category in 2010, with many excellent galleries, while BSF schemes were among the weakest – just one, Cube Design's Rednock, was a winner.
So it's no surprise that three galleries made this year's Stirling Prize shortlist. Zaha Hadid Architects' MAXXI in Rome, the Neues Museum in Berlin by David Chipperfield with Julian Harrap, and Rick Mather's Ashmolean in Oxford, all exemplars.
The whole shortlist could have been a parade of galleries. Caruso St John's Nottingham Contemporary, MUMA's Medieval and Renaissance Galleries at the V&A and Terry Pawson's Visual in County Wicklow, Ireland, were strong contenders. So was the Whitechapel Gallery by Robbrecht en Daem with Witherford Watson Mann.
So the inclusion of two schools – dRMM's Clapham Manor Primary School in London and Christ's College School, Guildford, by DSDHA – alongside Bateman's Row, a mixed-use live-work scheme by Theis + Khan, is a pleasant surprise, and one that grants two clear readings of the shortlist. On one hand are the profession's older guard, at the peak of their powers; on the other, young guns, working between the cracks. Or maybe it's split this way: iconic, big budget buildings from a passing era on one side; well-crafted low-key structures that, portentously, make creative use of tight budgets on the other. It's intriguing.
But the most interesting split on the list is not a generational one, nor one of typology – it's simply style and practice, whether you prefer Zaha or Chippo. The Neues Museum and Maxxi are easily the best buildings here.
When deciding, don't dismiss MAXXI if you want to rail against the credit crunch or the worst excesses of iconic design – read our building study again for a serious appreciation. And don't forget Julian Harrap's role in making Neues so magical.
WilkinsonEyre wins £60m Wembley college contest
8 April 2019Merlin Fulcher
WilkinsonEyre has been selected from an impressive shortlist of firms to win the competition for a new £60 million block for the College of North West London (CNWL) in Wembley
Architects Declare – but are they prepared to deliver?
19 June 2019Will Hurst
Architecture firms are rallying to the climate change cause with an 11-point action plan. But have they understood the transformation in practice this will commit them to? Will Hurst reports
Rogers Stirk Harbour + Partners reveals South Kensington Tube scheme
22 May 2019Greg Pitcher
Rogers Stirk Harbour + Partners has revealed images of its proposed overhaul of South Kensington Tube station in south-west London
RIBA reveals East region awards shortlist
18 March 2019Fran Williams
Twenty-three buildings and an entire urban district for Cambridge make up the shortlist for this year's RIBA East regional awards
Exceptional Model Maker for Stirling Prize shortlisted studio
Strategic role - Director of Arts and Cultural for Stirling Prize shortlisted Studio
£90,000 - £110,000 p.a.
Strategic Appointment - Technical Designer/Lead for Stirling Prize Shortlisted Design Studio, London
Project Supervisor/Architect for Stirling prize shortlisted Studio
£45,000 - £60,000 p.a. + Bens.
Experienced Project Manager/Architect for Stirling prize shortlisted team
Project Manager for World Class, Stirling Prize Shortlisted Design Studio, London


Amar Khan is a Pakistani new and a young director, writer and television serial actress. She started her writing debut in 2017 short film Chashm-e-Num. She has worked in various drama serials includes Belapur Ki Dayan in which she played a role of a Neelofur a Witch. In 2016 she started her acting carer and appeared in drama serial Bad Gumaan. She is a daughter of famous Pakistani actress Fareeha Jabeen.
If you are looking for Amar Khan profile, date of birth, family, salary, and photos then you can find this information here. You can also find the public opinions and reviews about Amar Khan here.


Smart, ingenious, innovative, ambitious - all of these are hallmarks of our current students, professionals with business experience who desire a career change or who are currently working in a technology-oriented field and want to enhance their I.T. knowledge and skills as well as their ability to solve business problems and facilitate solutions. They come from various professions including accounting, business management, education, engineering, hospitality, information technology and law. Many are senior executives with at least a master degree or MBA, some have multiple master degrees and a few hold doctorates in their own disciplines.
Whether our students work for HSBC, Huawei Technologies, Yahoo or the HKSAR government or in the PRC, they are passionate, experienced, and driven to succeed as technology specialists, business executives, and leaders in their organizations.
You will quickly discover that among the Programme's greatest assets are your fellow students and you will soon establish a network of friends and professional contacts before and after graduation. Students represent a wide cross-section of industries including accounting, business management, education, engineering, hospitality, information technology and law. After class, students become resources for one another, benefiting through interaction and shared experience.
Because students come from a diverse and broad group of industries, participation in the Programme can expose you to a wide variety of management styles, procedures, and solutions for both business and technical problems. Through group work and class discussions, students learn the best practices in different industries for handling the same or similar problems. Not only can students apply what they learn about other industries to their own companies, they can apply the same knowledge to better understand their clients' companies. Beyond class, students become resources for one another, benefiting through interaction and shared experiences.


text:
What to Expect from a Trump Tax Reform Plan
Posted 07.31.17 by Carolyn B.R. Decker, CFP®, CPA, PFS
How Tax Reform Under President Trump Could Affect You
At the end of July, the Trump Administration announced the key principles and goals for tax reform, based on an outline Trump made public in April that touted his tax reform plan as "the biggest individual and business tax cut in American history." If passed, it would be the first significant tax reform legislation since 1986, when President Reagan implemented two major tax cuts.
Among the tax changes proposed for families are:
Reducing the current seven tax brackets to three, which would be taxed at rates of 10%, 25% and 35% (income ranges have not been specified).
Doubling the standard deduction (there is no specification for head of household filing status)
Providing tax relief for families with child and dependent care expenses
Among the tax changes proposed to simplify the tax code are:
Eliminating targeted tax breaks that mainly benefit the wealthiest taxpayers
Protecting the home ownership and charitable gift tax deductions
Repealing the Alternative Minimum Tax
Repealing the Estate Tax
Among the tax changes proposed for businesses are:
Implementing a 15% business tax rate
Implementing a "territorial" tax system
Levying a one-time tax on monies held overseas
Eliminating tax breaks for special interests
Breaking Down President Trump's Tax Reform Proposal
While Trump's plan has only been released as a largely broad outline, these and other changes could have significant effects on annual tax returns, retirement plans and other investments. It is wise for investors to begin considering the impact of the reforms if they are passed.
The Estate Tax: One significant change the plan proposes is elimination of the estate tax, which currently only applies to the top 1% of the population. As it stands now, a married couple is exempt from taxes on the first $10.9 million of their estate, and would be taxed at a rate of 40% for any amount above that.
Under Trump's plan, there would be no step-up in basis at death, meaning that capital gains tax on sales of inherited property would still impact wealth transfer tax planning.
The Standard Deduction: Under Trump's proposal, the standard deduction would double to $24,000 for couples. This would shift many taxpayers from taking itemized deductions to taking the standard deduction. While this move seems favorable for taxpayers, charities fear the lack of tax incentive could reduce charitable gifts.
The Changing Tax Brackets: If you were to move into a lower tax bracket under the proposed new structure, it would be important to assess the impact on your retirement plan. However, as no income ranges have yet been specified, the best plan is to monitor how tax reform efforts unfold and make investment decisions accordingly.
The Alternative Minimum Tax: Eliminating the Alternative Minimum Tax, a tax that has traditionally been viewed unfavorably, would likely benefit high-income earners most as it would eliminate the non-graduated alternative minimum income taxes and allow for deductions that have otherwise been disallowed under the AMT.
The Cap on Itemized Deductions: Trump's tax reform plan proposes a $200,000 cap on itemized deductions for couples, and would bar single filers from deducting more than $100,000. These proposed changes would most impact high-income earners–couples and singles who make $1 million or more.
Conversely, most itemized deductions would be nixed under Trump's plan, and the ones that are not on the chopping block may lose their appeal in the face of other changes to the tax code, such as the doubling standard deduction. The tax breaks expected to remain include the mortgage interest deduction and charitable donation deduction.
Changes for Businesses Under Trump's Proposed Tax Reform Plan
Taxes remain a top concern of business owners, who feel the pinch not just on the profit side, but on the growth side. However, business owners are reporting they feel largely optimistic that Trump's tax reform proposals will provide more breathing room.
Tax Rate Cut. The plan proposes cutting the small business and corporate tax rate by more than half, from 38% to 15%.
That 15% rate would also apply to partnerships, real estate companies, hedge funds and private equity funds, which are all currently taxed at the income tax rate of 39.6%.
One-Time Repatriation Tax. Corporations holding money overseas will be allowed to bring it back into the U.S. for a one-time repatriation tax that has yet to be specified. This aspect of the plan is followed by a proposal for a "territorial" tax system, which also has yet to be laid out in any detail, but would exclude income earned by businesses overseas.
Closing Loopholes. For corporations or wealthy individuals, Trump's proposed tax reform plan closes loopholes that include avoiding taxes by setting up offshore businesses.
For business owners concerned with succession, Trump's proposal to eliminate the estate tax and lower capital gains rates for the highest two tax brackets in his plan could make a significant difference in sales decisions.
The Administration's July statement calls for Congress to begin moving this tax reform legislation through the House and Senate in the fall. President Trump has made it clear he aims to get something passed this year. While it's difficult at this juncture to make predictions about the implications to your personal or business finances, we suggest you meet with a financial advisor who can take a knowledgeable view of your portfolio and business to make recommendations based on what these proposed changes would mean for you.
The "Who, What, Where, Why, and How" of Private Placement Life Insurance
Who Should Consider A PPLI?
Families with an allergy to income taxes and an appetite for tax-inefficient investments or investment strategies are prime candidates for Private Placement Life Insurance (PPLI). Owners of PPLI, whether an individual, irrevocable trust, or limited liability company, must meet the accredited investor and qualified purchaser requirements.
Because of the life insurance component, medical insurability is a requirement, otherwise the insurance costs can eat into the tax savings benefits, making the strategy less appealing. However, in situations where medical issues do make buying life insurance impractical, you can consider PPLI's close cousin, the Private Placement Variable Annuity (PPVA).
What is a PPLI?
PPLI is a special type of life insurance structured to have a high cash value compared to a relatively low death benefit. To minimize fee drag, the life insurance component is kept as low as possible, allowing the cash value of the policy to ultimately drive death benefit.
The goal of PPLI is to quickly build up significant cash value within a life insurance policy in order to take advantage of the tax-free treatment of income and gains from the underlying investments within the policy. While PPLI is built on a life insurance chassis, PPLI is first and foremost an income tax strategy for investing, not an estate planning one.
Essentially, it is a variable life insurance policy that allows you to allocate to alternative investments which wouldn't be available within the more traditional variable universal life policies.
Where to Own a PPLI?
Because the primary goal of PPLI is not estate tax minimization, many investors will own these policies directly, inside of their taxable estate. To the extent sufficient assets are available that are not subject to federal and state estate taxes, certainly owning PPLI in an Irrevocable Trust is possible and preferred.
For clients who are leaving a significant portion of their assets to their private foundation at death, but aren't ready to irrevocably give up personal access to those assets, investing through PPLI or PPVA can accelerate the process of making those assets effectively income tax-free. The PPLI or PPVA policy would be owned directly, inside the taxable estate. At death, the death benefit is paid out in cash. The value of the death benefit going to charity, which has grown income tax-free, will also pass estate tax-free.
Another application is in conjunction with a Grantor Charitable Lead Trust (CLT). When you fund a CLT, you are able to take an immediate tax deduction, in exchange for including future years' income generated by the CLT on your personal tax return. A PPLI or PPVA policy can minimize that flow-through income back to you, allowing you to have the benefit of the upfront deduction, but not the continued phantom income.
Why (not) Consider a PPLI?
One of the key requirements to meet IRS guidelines on PPLI involves the policyholder giving up investment control over the underlying assets.
There are many investment options available, in the form of commingled funds, already approved on each carrier's platform from which a policyholder can choose. In addition, some insurance carriers allow for managed accounts. In these instances, you do have the ability to choose among strategies, and investment objectives, but not individual holdings.
If the IRS deems that you, the investor, have too much control, the PPLI will be treated as if it had never existed in the first place and all income tax benefits will be erased.
A hands-on investor who is not comfortable handing over control of a portion of their investment portfolio may have a hard time getting comfortable with this strategy.
How (much) to Invest in a PPLI?
Sizing of assets dedicated to this strategy is important. Too little, and the benefits are outweighed by the costs. Too much, and liquidity issues can present problems.
No more than 20-30% of a portfolio should be allocated to PPLI, though other illiquid assets in the portfolio need to be taken into consideration in this calculation as well.
We advise clients to fund PPLI with at least $10m to make the investment and complexity worthwhile. This number is largely driven by underlying investments, since many of them tend to be hedge funds with their own minimum funding requirements.
While you can access these funds once invested, that shouldn't be the plan going into a PPLI policy. There are a few ways to get at the funds invested within a PPLI policy:
Cash withdrawal: Like any life insurance policy, withdrawals of cash are deemed to be a return of premium and are not taxable up to the total premiums paid. Withdrawals beyond premiums paid are taxable as ordinary income. Note the death benefit decreases based on the amount withdrawn.
Borrow from the policy: For short-term liquidity needs, rather than withdraw cash, you can borrow funds from the policy at a reasonable cost of approximately 35 basis points per year.
Borrow against the policy: The PPLI policy can be used as collateral, like other alternative investments, by some lending institutions. This method is generally limited to 50% of the policy.


text:
Q: Android: How to take a camera-shot and view it in Webview/ Imageview afterword? In my app, I am taking a shot and saving it using the built-in Camera app. Then, after taking the picture, my app return back to a blank Activity. All that works.
Now instead of saving and going back to an empty Activity, I want to view the taken shot on a Webview or an Imageview how to do that ?
I start CameraAdapter class from the MainActivity class as follow:
public void takePicture(View view) {
        Intent cameraIntent = new Intent(this, CameraAdapter.class);
        startActivity(cameraIntent);
    }

.. and here is the CameraAdapter class:
public class CameraAdapter extends Activity {
    static Uri imageUri;
    static File imageFolderPath;
    int TAKE_PHOTO_CODE = 0;
    String imageFileName;
    ImageView image;

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.imgs);
    setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);

    Intent intent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
    intent.putExtra(MediaStore.EXTRA_OUTPUT, getUri());
    startActivityForResult(intent, TAKE_PHOTO_CODE);

    ImageView imageV = (ImageView) findViewById(imageView);
    String filename = getImageFileName();
    Bitmap image = getImage(filename);
    imageV.setImageBitmap(image);
}

@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    super.onActivityResult(requestCode, resultCode, data);
    if (resultCode == RESULT_OK) {
        Toast.makeText(getApplicationContext(),
                    "Capture is saved to:\n" + imageFolderPath.toString(),
                    Toast.LENGTH_LONG).show();
    } else if (resultCode == RESULT_CANCELED) {
        Toast.makeText(getApplicationContext(),
                    "You cancelled the capture",
                    Toast.LENGTH_SHORT).show();
    } else {
        Toast.makeText(getApplicationContext(),
                    "Capture failed",
                    Toast.LENGTH_SHORT).show();
    }
}

public Uri getUri(){
    imageFolderPath = new File(Environment.getExternalStorageDirectory() + "/mst_imgs");
    if(!imageFolderPath.exists())
        imageFolderPath.mkdir();

    String imageFullName = imageFolderPath + "/" + getImageFileName();
    File newPic = new File(imageFullName);

    imageUri = Uri.fromFile(newPic);

    return imageUri;
}

private Bitmap getImage(String  imageFileName) {
    File root = Environment.getExternalStorageDirectory();
    //return BitmapFactory.decodeFile(root + "/mst_imgs/" + imageFileName);
    return BitmapFactory.decodeFile(root + "/mst_imgs/CS_TEST.jpg");
}

private String getImageFileName(){
    SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMdd'_'HHmmss");
    String timeStamp = dateFormat.format(new Date());
    //imageFileName = "CS_" +timeStamp + ".jpg";
    imageFileName = "CS_TEST.jpg";
    return imageFileName;
}

UPDATE
I changed the code a little :
Also, here is the imgs xml layout:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/imgs_webview"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <ImageView
        android:id="@+id/imageView"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent" />

    <Button
        android:id="@+id/btnShareImage"
        android:text="Share ->"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_alignParentEnd="true" />

</RelativeLayout>

Thank you

A: You now have the file saved to the device, great, what you want to do now is just set it to an image view.
If you're using bitmaps you'll need to use the BitmapFactory and do some other things to take the file and turn it into something that can be set on an imageview, then worry about loading the correct size and so on.
There are plenty of libraries you can use to handle this for you. But I'd say your best option is to just use Picasso - you can hand it a File and it will load and display it. I use this and it makes life way easier.
Picasso.with(context).load(new File(fileName)).into(imageView);

You can also use the file path if it doesn't just load your file straight away.
Hope this helps, and do some more googling! :)

A: You need to return the filename to previews activity, using your intent extra, with your timestamp and decode the file to Bitmap, like that:
private Bitmap getImage(String  imageFileName) {
    File root = Environment.getExternalStorageDirectory();
    return BitmapFactory.decodeFile(root + "/mst_imgs/" + imageFileName);
}

Create a ImageView into the layout.xml. Insert in your onCreate():
ImageView imageView = (ImageView) findViewById(R.id.image_view);
imageView.setImageBitmap(getImage());

Don't forget to add access for read files into the Manifest.xml:
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

---------- Update Code -----------
I don't know what's happening, I'm passing below my test:
MainActivity
public class MainActivity extends AppCompatActivity {

private File imageFolderPath;
private int TAKE_PHOTO_CODE = 0;

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);

    Intent intent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
    intent.putExtra(MediaStore.EXTRA_OUTPUT, getUri());
    startActivityForResult(intent, TAKE_PHOTO_CODE);

    ImageView imageV = (ImageView) findViewById(imageView);
    String filename = getImageFileName();
    Bitmap image = getImage(filename);
    imageV.setImageBitmap(image);
}

@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    super.onActivityResult(requestCode, resultCode, data);
    if (resultCode == RESULT_OK) {
        Toast.makeText(getApplicationContext(),
                "Capture is saved to:\n" + imageFolderPath.toString(),
                Toast.LENGTH_LONG).show();
    } else if (resultCode == RESULT_CANCELED) {
        Toast.makeText(getApplicationContext(),
                "You cancelled the capture",
                Toast.LENGTH_SHORT).show();
    } else {
        Toast.makeText(getApplicationContext(),
                "Capture failed",
                Toast.LENGTH_SHORT).show();
    }
}

public Uri getUri(){
    imageFolderPath = new File(Environment.getExternalStorageDirectory() + "/mst_imgs");
    if(!imageFolderPath.exists())
        imageFolderPath.mkdir();

    String imageFullName = imageFolderPath + "/" + getImageFileName();
    File newPic = new File(imageFullName);

    Uri imageUri = Uri.fromFile(newPic);

    return imageUri;
}

private Bitmap getImage(String  imageFileName) {
    File root = Environment.getExternalStorageDirectory();
    //return BitmapFactory.decodeFile(root + "/mst_imgs/" + imageFileName);
    return BitmapFactory.decodeFile(root + "/mst_imgs/CS_TEST.jpg");
}

private String getImageFileName(){
    String imageFileName;
    SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMdd'_'HHmmss");
    String timeStamp = dateFormat.format(new Date());
    //imageFileName = "CS_" +timeStamp + ".jpg";
    imageFileName = "CS_TEST.jpg";
    return imageFileName;
}
}

activity_main.xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/imgs_webview"
android:layout_width="match_parent"
android:layout_height="match_parent">

<ImageView
    android:id="@+id/imageView"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent" />

<Button
    android:id="@+id/btnShareImage"
    android:text="Share ->"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignParentBottom="true"
    android:layout_alignParentEnd="true" />

</RelativeLayout>

Manifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.rodrigo.teste">
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

<application
    android:allowBackup="true"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:supportsRtl="true"
    android:theme="@style/AppTheme">
    <activity android:name=".MainActivity">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
</application>
</manifest>

A: @Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    super.onActivityResult(requestCode, resultCode, data);

    Uri picUri = data.getData();
    Bitmap bitmap = getThumbnail(imageUri);
    imageView.setImageBitmap(bitmap);
}

public static Bitmap getThumbnail(Uri uri) throws FileNotFoundException, IOException{
    InputStream input = this.getContentResolver().openInputStream(uri);

    BitmapFactory.Options onlyBoundsOptions = new BitmapFactory.Options();
    onlyBoundsOptions.inJustDecodeBounds = true;
    onlyBoundsOptions.inDither=true;//optional
    onlyBoundsOptions.inPreferredConfig=Bitmap.Config.ARGB_8888;//optional
    BitmapFactory.decodeStream(input, null, onlyBoundsOptions);
    input.close();
    if ((onlyBoundsOptions.outWidth == -1) || (onlyBoundsOptions.outHeight == -1))
        return null;

    int originalSize = (onlyBoundsOptions.outHeight > onlyBoundsOptions.outWidth) ? onlyBoundsOptions.outHeight : onlyBoundsOptions.outWidth;

    double ratio = (originalSize > THUMBNAIL_SIZE) ? (originalSize / THUMBNAIL_SIZE) : 1.0;

    BitmapFactory.Options bitmapOptions = new BitmapFactory.Options();
    bitmapOptions.inSampleSize = getPowerOfTwoForSampleRatio(ratio);
    bitmapOptions.inDither=true;//optional
    bitmapOptions.inPreferredConfig=Bitmap.Config.ARGB_8888;//optional
    input = this.getContentResolver().openInputStream(uri);
    Bitmap bitmap = BitmapFactory.decodeStream(input, null, bitmapOptions);
    input.close();
    return bitmap;
}

private static int getPowerOfTwoForSampleRatio(double ratio){
    int k = Integer.highestOneBit((int)Math.floor(ratio));
    if(k==0) return 1;
    else return k;
}

redpajama_set_name: RedPajamaStackExchange


text:
import { Component } from './component';
import { View } from './view';
import { Image } from './image';
import { Text } from './text';
import { RasterManager } from './rastermanager';
import { Utils } from './utils';

let callbacks = {};

/**
 * Animated
 */
const animationComplete = function animationComplete(event) {
  let eventAnimation = event.animation;

  // android sends these over stringified on the bridge
  if (typeof eventAnimation == 'string') {
    eventAnimation = JSON.parse(event.animation).animation;
  }

  let callback = callbacks[eventAnimation.guid];
  if (callback) callback(event);
};

class AnimatedView extends View {
  animationComplete(event) {
    animationComplete.call(this, event);
  }
}

class AnimatedImage extends Image {
  animationComplete(event) {
    animationComplete.call(this, event);
  }
}

class AnimatedText extends Text {
  animationComplete(event) {
    animationComplete.call(this, event);
  }
}

/**
 * Animated Class. Sets up and prepares animations to be transported over the bridge
 */
class animated extends Component {
  constructor() {
    super();
    this.View = AnimatedView;
    this.Image = AnimatedImage;
    this.text = AnimatedText;
    this.AnimationTargets = {};
  }

  /**
   * Transform type of XY Value. Sets up an animation on the raster.
   * @param {object} opts
   */
  ValueXY(opts) {
    this.x = opts.x;
    this.y = opts.y;
    this.setValue = newopts => {
      this.x = newopts.x;
      this.y = newopts.y;
    };
    this.guid = Utils.guid();
  }
  /**
   * Sets up a interpolation animation from one value to another over a duration
   * @param {int} value
   */
  Value(value) {
    this.value = value;
    this.setValue = newValue => {
      this.value = newValue;
    };
    this.guid = Utils.guid();
  }
  /**
   * Setups an Animation from the that is ready to send to the bridge.
   * @param {object} animation
   * @param {object} opts
   */
  timing(animation, opts) {
    // convention so that these are not set
    // before componentDidMount
    if (animation instanceof Animated.ValueXY) {
      animation.x2 = opts.toValue.x;
      animation.y2 = opts.toValue.y;
    } else if (animation instanceof Animated.Value) {
      animation.toValue = opts.toValue;
    }

    animation.duration = opts.duration; // ms
    this.animation = animation;

    return this;
  }
  /**
   * Chained to Animated.timing().start() , sends an `animation` event to the Native Layer
   */
  start(callback) {
    let animation = this.animation;
    callbacks[animation.guid] = callback;

    let cached = RasterManager.render.getInstance(
      this.AnimationTargets[animation.guid]
    );

    if (typeof animation.x2 == 'number' || typeof animation.y2 == 'number') {
      cached.state = cached.state || {};
      cached.state.y = animation.y2;
      cached.state.x = animation.x2;
    }

    RasterManager.getRaster().sendMessage('animation', {
      guid: this.AnimationTargets[animation.guid],
      animation: animation,
    });
  }
}

const Animated = new animated();

export { Animated };


Appalachian Dream, Inc.: Exciting Things are Happening!
Appalachian Dream is a 501(C-3) non-profit that provides many cultural programs for the community and benefits children who need special care after traumatic experiences like earthquakes, tsunamis and war.
Send A Note & Help The Children In Need!
Pack of Note cards specially designed by Tomoko Gillespie | $20.00 pk.
All proceeds go to the Kids Earth Fund® to assist children suffering from natural and man made disasters like earthquakes, tsunamis and wars around the world.
Artist: Tomoko Gillespie's love of painting started when she took a three month class for basic brush painting in 1999. Since the teacher left the community, she was mostly self-taught. Her best teachers are Museum Visits and Art Book studies. She likes to paint people, their pets, animals and flowers from around her daily life. Tomoko's heartwarming paintings capture people's hearts worldwide. She uses her art for fundraising to help children who have suffered from natural and man made disasters: earthquakes, tsunamis and wars.


text:
(function ($, _) {
  'use strict';

  angular
    .module('RetailPartners.utils.services')
    .factory('Snackbar', Snackbar);

  /**
  * @namespace Snackbar
  */
  function Snackbar() {
    /**
    * @name Snackbar
    * @desc The factory to be returned
    */
    var Snackbar = {
      error: error,
      show: show
    };

    return Snackbar;

    /**
    * @name _snackbar
    * @desc Display a snackbar
    * @param {string} content The content of the snackbar
    * @param {Object} options Options for displaying the snackbar
    */
    function _snackbar(content, options) {
      options = _.extend({ timeout: 3000 }, options);
      options.content = content;

      $.snackbar(options);
    }

    /**
    * @name error
    * @desc Display an error snackbar
    * @param {string} content The content of the snackbar
    * @param {Object} options Options for displaying the snackbar
    * @memberOf RetailPartners.utils.services.Snackbar
    */
    function error(content, options) {
      _snackbar('Error: ' + content, options);
    }

    /**
    * @name show
    * @desc Display a standard snackbar
    * @param {string} content The content of the snackbar
    * @param {Object} options Options for displaying the snackbar
    * @memberOf RetailPartners.utils.services.Snackbar
    */
    function show(content, options) {
      _snackbar(content, options);
    }
  }
})($, _);


text:
1967 Mercury Comet 427
©2007 Publications International, Ltd. If the quintessential muscle car consists of the most powerful big-inch V-8 in the lightest midsize body, then the Mercury Comet defines the breed. See more muscle car pictures.
If Ford had trouble winning respect on the streets in the mid '60s, Mercury had it worse. It was ignored. All the better, then, when the 1967 Mercury Comet 427 showed up. Talk about a sleeper of a muscle car.
It took until '66 for the Comet to graduate from the Ford Falcon-based compact platform to the Fairlane's midsize chassis. Cyclone versions were available with Ford's corporate 335-bhp 390-cid V-8, but being even heavier than the Fairlane GT, they were stones.
©2007 Publications International, Ltd. A four-speed gearshift in the spartan cabin was one of the few things that tipped the Comet's muscle car hand.
A few dozen '66 Fairlanes had been fitted with the no-excuses 427, but it wasn't until '67 that the engine became a regular-production option and was extended to the Comet line. Mercury made it available in any two-door Comet -- the Cyclone, Caliente, and Capri hardtops, and the bottom-of-the-line Comet 202 pillared coupe. The last was an interesting subject. It was a half-foot shorter than the hardtops and 100 pounds lighter. It was dumpier looking, too, with its Falcon-like roofline. Picture one with vanilla paint. Bench seats. Dog-dish hubcaps. No scoops. No stripes. Just a discreet "427" fender emblem. The perfect Q-ship.
As in the '67 Fairlane (where it was called the "Cobra 427"), the 427-cid V-8 was offered in two flavors. With a 780-cfm Holley four-barrel and 410 bhp, Mercury called it the "Cyclone 427." With dual 652-cfm Holley quads and 425 bhp, it was the "Super Cyclone 427." Both had 11.1:1 compression, solid lifters, and came only with a four-speed.
©2007 Publications International, Ltd. The dual-quad 427-cid was a production option in Fairlanes and Comets for '67. Fewer than 300 were installed, and only five went into the entry-level 202 model, which was shorter and lighter than regular Comets.
Just 200 or so '67 Fairlanes were ordered with the 427, and even fewer Comets. With the Super Cyclone powertrain, plus well-considered extras such as a tach ($47), wide-oval whitewall nylon tires ($83), and power front disc brakes ($84), a Comet 202 would have retailed for around $3,200. Hottest big-block, lightest body, no frills -- not even a radio: This was the muscle car distilled to its essence.
The phrase Mercury muscle cars was no contradiction in terms; even this staid marquee had a quick-car lineup. See profiles, photos, and specifications of Mercury muscle cars.
Cougar pulled out of Mustang's shadow with the striped and spoilered 1969 Mercury Cougar Eliminator.
Beep, beep! Make way for one of the baddest muscle cars of all time, the 1970 Plymouth Road Runner Hemi.
The 1970 Pontiac Firebird Trans Am combined sports-car handling and muscle car power.
An all-aluminum, race-proven V-8 defined the rare and wicked 1969 Chevrolet Camaro ZL1.
The 1967 Mercury Comet 427
Number built: 5
Standard Engine
the Auto Editors of Consumer Guide "1967 Mercury Comet 427" 5 January 2007.
HowStuffWorks.com. <https://musclecars.howstuffworks.com/classic-muscle-cars/1967-mercury-comet-427.htm> 29 January 2023


text:
Q: Error: can only iterate over an array or an instance of java.lang.Iterable please help me with my error can't seem to make it work because of that can only iterate over an array or an instance of java.lang.Iterable. i want to create a barcode and read it  and add it to the word document
Update Post the nodeCollection is from the com.aspose.words.
import com.aspose.barcode.*;
import com.aspose.barcoderecognition.BarCodeReadType;
import com.aspose.barcoderecognition.BarCodeReader;
import com.aspose.words.Document;
import com.aspose.words.DocumentBuilder;
import com.aspose.words.ImageType;
import com.aspose.words.NodeCollection;
import com.aspose.words.NodeType;
import com.aspose.words.Shape;

              try
        {
            // Generate barcode image
            BarCodeBuilder builder = new BarCodeBuilder();
            builder.setSymbologyType(Symbology.Code39Standard);
            builder.setCodeText("test-123");
            String strBarCodeImageSave = "img.jpg";
            builder.save(strBarCodeImageSave);

            // Add the image to a Word doc
            Document doc = new Document();
            DocumentBuilder docBuilder = new DocumentBuilder(doc);
            docBuilder.insertImage(strBarCodeImageSave);
            String strWordFile = "docout.doc";
            doc.save(strWordFile);

            // Recognition part
            // Extract image from the Word document
            NodeCollection<Shape> shapes = doc.getChildNodes(NodeType.SHAPE, true, false);
            int imageIndex = 0;

            for(Shape shape: shapes)
            {
                if (shape.hasImage())
                {
                    // If this shape is an image, extract image to file
                    String extension = ImageTypeToExtension(shape.getImageData().getImageType());
                    String imageFileName = MessageFormat.format("Image.ExportImages.{0} Out.{1}", imageIndex, extension);
                    String strBarCodeImageExtracted = "" + imageFileName;
                    shape.getImageData().save(strBarCodeImageExtracted);

                    // Recognize barcode from this image
                    BarCodeReader reader = new BarCodeReader((BufferedImage) Toolkit.getDefaultToolkit().getImage(strBarCodeImageExtracted),BarCodeReadType.Code39Standard);
                    while (reader.read())
                    {
                        System.out.println("codetext: " + reader.getCodeText());
                    }
                    imageIndex++;
                }
            }
        }
        catch(Exception ex)
        {
            System.out.println(ex.getMessage());
        }
    }

    private static String ImageTypeToExtension(int imageType) throws Exception
    {
        switch (imageType)
        {
            case ImageType.BMP:
                return "bmp";
            case ImageType.EMF:
                return "emf";
            case ImageType.JPEG:
                return "jpeg";
            case ImageType.PICT:
                return "pict";
            case ImageType.PNG:
                return "png";
            case ImageType.WMF:
                return "wmf";
            default:
                throw new Exception("Unknown image type.");
        }
    }}

A:
Error: can only iterate over an array or an instance of java.lang.Iterable

It clearly says that you should iterate only on objects which are iterable.
In your code you are using
NodeCollection<Shape> shapes = doc.getChildNodes(NodeType.SHAPE, true, false);
...
for(Shape shape: shapes)

The for loop fails unless the shapes base class is an instance of a java.util.Collection or java.lang.Iterable.
Check if NodeCollection is a collection type class that implemented java.lang.Iterable.

Edit:

the nodeCollection is from the com.aspose.words.

NodeCollection implements generic Iterable directly, without specifying the type of objects it would be handling. Hence you should explicitly generate the Iterator from the NodeCollection instance and on that you can iterate.
NodeCollection<Shape> shapes = doc.getChildNodes(NodeType.SHAPE, true, false);
Iterator<Shape> shapesIterator = shapes.iterator();
...
// now use the above iterator in for loop, as below
for( Shape shape: shapesIterator )

Refer to a similar answer on so

A: I assume Nodecollection is a com.aspose.words.NodeCollection.
If you want to use the foreach syntax you better do:
Node[] shapesArray = shapes.toArray();
for (Node node : shapesArray ){ ...


It's not unusual to find company owners who have placed their renovation and new building projects on the back burner due to the slow and unstable economy. But if you're one of the ones that can't wait any longer, then it's time to review the best strategy for moving forward with the construction project.
Knowing and understanding the types of construction contracts is critical and can make a huge difference in the outcome of the project and your company's bottom line.
Design-build, design-bid-build and construction management are the three project delivery systems most commonly employed in North America. Over the past 15 years, use of design-build has greatly accelerated in the United States, making this delivery method one of the most significant trends in design and construction today.
Construction Management (CM) uses multiple layers of project management staff and project costs are generally determined after the project is completed.
This methodology is usually associated with excessive fees, a lack of accountability for cost and schedule, as well as adversarial relationships and litigation. According to a national study conducted in 2010, it is estimated that less than 6.5% of projects are completed using this methodology.
Design-Bid-Build is a project delivery method where the owner contracts with separate entities, which means separate contracts and separate work. As with CM, final project costs are determined after the project is complete.
When compared to design-build, there are a disproportionate number of lawsuits and mechanics' liens filed on design-bid-build projects where contractor selection decisions were made solely on price. This delivery methodology has been declining since 1985 and is anticipated to slip an additional 15% over the next five years.
Design-Build is a project delivery method where the owner contracts with a single entity with one contract for both design and construction services - one entity, one contract, one unified flow of work. It is the most practical approach to building because there is accountability from a single source from the beginning, with the design phase, through to completion of the project.
The design-builder keeps the owner informed through all the phases while protecting the customer's investment. This approach benefits the owner in time, money and peace of mind.
Design-build is not new. Its roots are found in medieval master builders. It is the most noteworthy and heavily discussed method and many predict that design-build will be the majority project delivery method before the end of the decade.


text:
HomeDairySlashing antibiotic usage on Piper Hill dairy farm
Catherina Cunnanehttps://thatsfarming.com/
Slashing antibiotic usage on Piper Hill dairy farm
Co. Kerry dairy farmer, John Dillon, has been successfully using AHV products in a move to get away from using antibiotics for infections in his dairy cows, writes Richard Halleron.
He owns the Piper Hill Holstein herd and is chairman of the Kerry Friesian Breeders' Club. His cows are split into autumn and spring calving groups; milk is supplied to Kerry Co-op.
"We are very tight for grass at the present time. Despite this, the herd is still averaging 30L per head per day." John confirmed.
"The entire milking group was removed in the wake of a TB test seven years ago. I have been building up numbers again ever since."
"There are currently 90 milking cows in the herd. I have scope to bring this number up to 100."
Last year, John – who farms close to the village of Duagh, near Listowel – took a leap of faith in trying this new approach after he had contacted AHV.
The main health challenge on the farm was mastitis. John started by selecting cows that had shown up with high somatic cell count (SCC) due to sub-clinical mastitis, which were detected from previous milk recordings.
These cows received an AHV Extra Tablet. They responded immediately, with the subsequent milk recording confirming a significant drop in cell count, according to John.
"What's more, this trend was maintained over the months that followed. Best results were seen from animals with recent infections within their lactation.
"I also used the Extra Tablet on clinical mastitis along with the anti-inflammatory called Aspi. This takes a bit of getting used to, as the Extra Tablet works very differently to antibiotics."
"Some of the treated cows looked as if they were getting worse with more clots coming out, but I was told this would happen as the tablet is helping the cow to get rid of the infection herself. Once the clots cleared, the cows were perfect again."
Using antibiotics on dairy farms
John's decision to use AHV products reflects his very pragmatic perspective on the utilisation of antibiotics within a dairy farming scenario.
He explained: "If antibiotic-contaminated milk gets into a bulk tank, then the farmer responsible has to pay for the entire tanker load that reaches the dairy. This is real money. And this can so easily happen."
John had recently treated a cow with mastitis shortly after she had been dried off.
"No matter how good the management systems on a farm are, it is always possible for a freshly dried-off cow to get mixed with the milking group."
"If that animal had been treated with antibiotics, then the risk of contaminated milk getting into the bulk tank is a very real one."
Results 'speak for themselves'
The Kerry native first heard about AHV UK & Ireland on a visit made by members of the Kerry Friesian Breeders' Club to Cappoquin Estate in Co. Waterford.
"The Cappoquin herd manager explained to us that they had achieved extremely significant reductions in cell count levels on the back of using the AHV products."
"His perspective on AHV products resonated with me so much that I decided to contact AHV and put the Extra Tablets to the test. The results achieved speak for themselves."
No milk excluded from bulk tank during treatment period
AHV use a new and innovative science to deactivate pathogens. This technique allows the cow's own immune system to deal with the infection and to cleanse the infection out of the udder, which restores a healthy balance of bacteria in the udder issue.
The most obvious benefit of taking this approach is that no milk is excluded from the bulk tank during the treatment period and there is no tainting or abnormal smell off the milk.
John has also been using AHV's Calf Start powder to help him get to grips with a Cryptosporidium problem that has been an issue on the farm for the past couple of years.
"We had been losing too many calves," he stressed.
"On the advice of the AHV team, I have been mixing Calf Start in all the feeds given to the calves for the first 14 days of their lives. This includes the first feed of colostrum.
"I also took the decision to separate all new-born calves for the first four days after birth, even to the extent of keeping them in separate sheds. I suppose you could call this a form of social distancing.
"The good news is that the combined approach I am now taking is helping to boost calf health on the farm, which is also beneficial during the whole lifespan of these animals."
"Any step that I can take to reduce antibiotic usage is good news for my own farm business and the Irish dairy industry as a whole," John concluded.
AHV provides a bespoke advisory and back-up support service to all its customers.
Farmers need to be educated on how these new solutions work and what farmers can expect to see after administering AHV products.
It takes time to understand and build up confidence in using the products as they are totally different to traditional methods.
For further information, contact AHV UK and Ireland on 0044 (0) 28 8554 9600 or: 087-3147351 or to request a callback, click here.
[Main image: L-R: Tommy Maunsell, AHV sales consultant (Kerry), with dairy farmer, John Dillion]
Article by Richard Halleron
autumn calving
British Friesian
Holstein Friesian
UK dairy farm
QUIZ: The sheep industry
QUIZ: Are you an agricultural contractor?


Hi, my name is Milo, I just moved to Dunedin for 6 months. I am looking for a good bike to shred for a while. I ride just about everyday and am looking for something used but still in good condition. Let me know if anyone has anything. Thanks so much!
Hi Milo. Some more information would be useful. What type of bike? HT? 4" travel? 6"? How big does the bike need to be?