Wednesday, May 14, 2008

nsIApplicationUpdateService

new

New page

<breadcrumbs></breadcrumbs>
The <code>nsIApplicationUpdateService</code> interface describes a global application service that handles performing background update checks. It also provides utilities for selecting and downloading update patches.

__TOC__
{{InterfaceStatus|nsIApplicationUpdateService|toolkit/mozapps/update/public/nsIUpdateService.idl|unfrozen|Mozilla 1.9|yes}}

Inherits from: {{interface|nsISupports}}

=Method overview=

{| class="standard-table"
|-
| <code>void [[#addDownloadListener()|addDownloadListener]](in [[nsIRequestObserver]] listener);</code>
|-
| <code>[[AString]] [[#downloadUpdate()|downloadUpdate]](in [[nsIUpdate]] update, in boolean background]] listener);</code>
|-
| <code>void [[#pauseDownload()|pauseDownload]]();</code>
|-
| <code>void [[#removeDownloadListener()|removeDownloadListener]](in [[nsIRequestObserver]] listener);</code>
|-
| <code>[[nsIUpdate]] [[#selectUpdate()|selectUpdate]]([array, size_is(updateCount)] in nsIUpdate updates, in unsigned long updateCount);</code>
|-
|}

=Attributes=

{| class="standard-table"
|-
| class="header"|Attribute
| class="header"|Type
| class="header"|Description
|-
|-
|<code>backgroundChecker</code>
|<code>[[nsIUpdateChecker]]</code>
|The update checker being used for background update checking; '''read only'''.
|-
|<code>isDownloading</code>
|<code>boolean</code>
|<code>true</code> if a download is in progress, otherwise <code>false</code>. '''Read only'''.
|-
|<code>canUpdate</code>
|<code>boolean</code>
|<code>true</code> if the update service is able to download and install updates. This depends on whether or not the current user has the necessary access privileges for the install directory.
|-
|}

=Methods=

==addDownloadListener()==
Adds a listener that receives progress and state information about the update that is currently being downloaded. This information is most commonly used to update a user interface that informs the user as to the status of an update.

void addDownloadListener(
in nsIRequestObserver listener
);

<h5>Parameters</h5>

;<tt>listener</tt>
:An object implementing {{interface|nsIRequestObserver}} and optionally {{interface|nsIProgressEventSink}} that will be notified of state and progress information as the update is downloaded.

==downloadUpdate()==
Starts downloading a software update.

AString downloadUpdate(
in nsIUpdate update,
in boolean background
);

<h5>Parameters</h5>

;<tt>update</tt>
:An {{interface|nsIUpdate}} object indicating the update to download.
;<tt>background</tt>
:<code>true</code> to download the update in the background or <code>false</code> to download it in the foreground.

<h5>Return value</h5>

A string indicating the status of the update upon return:

;"downloading"
:The update is being downloaded.
;"pending"
:The update is ready to be applied.
;"applying"
:The update is in the process of being applied.
;"succeeded"
:The update has been installed successfully.
;"download-failed"
:The update failed to be downloaded.
;"failed"
:Installing the update failed.

==pauseDownload()==
Pauses the currently active update download.

void pauseDownload();

<h5>Parameters</h5>

None.

==selectUpdate()==
Selects the best update to install from a provided list of available updates.

nsIUpdate selectUpdate(
[array, size_is(updateCount)] in nsIUpdate updates,
in unsigned long updateCount
);

<h5>Parameters</h5>

;<tt>updates</tt>
:An array of updates that are available to install.
;<tt>updateCount</tt>
:The number of updates in the <tt>updates</tt> array.

<h5>Return value</h5>

An {{interface|nsIUpdate}} object indicating the most appropriate update to install.

=See also=

* {{interface|nsIUpdate}}
* {{interface|nsIUpdateCheckListener}}
* {{interface|nsIUpdateChecker}}
* {{interface|nsIUpdatePatch}}
* {{interface|nsIUpdateManager}}
* {{interface|nsIUpdatePrompt}}
* {{interface|nsIUpdateTimerManager}}

[[Category:Interfaces]]

nsIUpdateCheckListener

←Older revision Revision as of 18:34, 19 March 2008 Line 1: Line 1: <breadcrumbs></breadcrumbs> <breadcrumbs></breadcrumbs> -{{fx_minversion_header|3}}  The <code>nsIUpdateCheckListener</code> interface describes an object that listens to the progress of an update check operation. The object is notified as the check continues, finishes, or in case of an error. The <code>nsIUpdateCheckListener</code> interface describes an object that listens to the progress of an update check operation. The object is notified as the check continues, finishes, or in case of an error.

nsIUpdate

←Older revision Revision as of 18:34, 19 March 2008 Line 1: Line 1: <breadcrumbs></breadcrumbs> <breadcrumbs></breadcrumbs> -{{fx_minversion_header|3}}  The <code>nsIUpdate</code> interface describes an object representing an available update to the current application. This update may have several available patchyes from which one must be selected to download and install. The <code>nsIUpdate</code> interface describes an object representing an available update to the current application. This update may have several available patchyes from which one must be selected to download and install.

nsIUpdatePatch

←Older revision Revision as of 18:34, 19 March 2008 Line 1: Line 1: <breadcrumbs></breadcrumbs> <breadcrumbs></breadcrumbs> -{{fx_minversion_header|3}}  The <code>nsIUpdatePatch</code> interface describes an object representing a patch file that can be downloaded and applied to a version of the application for the purpose of updating it. The <code>nsIUpdatePatch</code> interface describes an object representing a patch file that can be downloaded and applied to a version of the application for the purpose of updating it.

AJAX:Other Resources

←Older revision Revision as of 18:33, 19 March 2008 Line 3: Line 3: == All Other Resources == == All Other Resources == -* '''[http://www.ajaxlines.com/ AJAX Lines]'''  * [http://www.ajaxreview.com/ AJAX Review] * [http://www.ajaxreview.com/ AJAX Review] * [http://www.maxkiesler.com/index.php/mhub/ mHub : Ajax and rails examples & how-to's] * [http://www.maxkiesler.com/index.php/mhub/ mHub : Ajax and rails examples & how-to's] Line 13: Line 12: * [http://www.ajaxpatterns.org/Main_Page AJAX Patterns] * [http://www.ajaxpatterns.org/Main_Page AJAX Patterns] * [http://www.ajaxtoday.com AJAX Today Your ajax tutorials, articles, patterns, blogs] * [http://www.ajaxtoday.com AJAX Today Your ajax tutorials, articles, patterns, blogs]  +* [http://www.ajaxlines.com/ AJAX Lines] * [http://ajaxial.com/ AJAXIAL - a Web 2.0 and Ajax directory] * [http://ajaxial.com/ AJAXIAL - a Web 2.0 and Ajax directory]

Comment on My Mahalo Released: Crowd Sourcing Gets a Little More Social by Facey Spacey Development

What Mahalo needs to do is make a friggin Mashup with Facebook. Facebook can easily come outside of Facebook itself now and exist on your own site. You just need to redirect your users to the Facebook login and back to see content pulled from the Facebook API.

I don’t know why nobody hasn’t made a Google Ajax Search API and Facebook API mashup yet either!!!

Anyone, interested? I have some fantastic ideas to accomplish a Mahalo-killer quick with the too.

James
from
FaceySpacey.com - “The Startup Incubator”

Click to play this video.

The Parasocial Phenomena

Parasocial: something beyond social norm. From Latin where para can have the meaning ‘beyond normal’. One example of this phenomenon is that someone who watches a soap opera over a period of time creates an illusion that s/he has a relationship to the television persona. These relationships can significantly influence and change people’s lives. This is generally perceived as an unconscious event, as the subject does not realize what is happening.*

It’s kind of fun being a micro nano B-List celebrity, especially if you don’t take it seriously. Social TNT Author Chris Lynn and I had fun with this at the Love 2.0 Engage web 2.0 party on Monday (see this 20 second video).

Yet, attendance at Web 2.0 parties this week in Silicon Valley and SNCR’s NewComm Forum reminded me of how strange this cultural phenomena is becoming in social worlds. Watching other relatively to extremely well known bloggers and executives get worshipped, hit on, and in some cases mocked and/or stalked, gives one reason to pause.

Social media lowers the bar for stardom, at lease within microcommunities. And as a result, people that may naturally be inclined towards becoming groupies, stalkers and trolls find themselves empowered. Identities are stolen, attacks occur, and mayhem ensues.

Perhaps the most hilarious of these was this week’s hijacking of Shel Israel’s Owl named Hoot on Twitter. This comes after the whole (and pathetically continuing) puppet thing from Loren Feldman. The plastic bird’s fowl representation really shows the hilarious and absolutely silly nature of social media “stardom.”

There is no worse example of the absolute pathetic nature of parasocial than Valleywag a shameless virtual tabloid that chronicles the rise and fall of Silicon Valley rock stars. Having spent some significant time in Silicon Valley since the book was published, it’s easy to see how this rag serves a certain part of the population, both locally and from afar.

Living in a town where the Washingtonienne (a.ka. Jessica Cutler) and the Monica Lewinsky-inspired impeachment happened, where scandal rocks national and global governance, this seems so… Little League. At the same time, it’s very real and needs to be taken seriously.

In a fractured media environment, a certain percentage of the population in any micro-community will become parasocially attached to A, B and C-list stars in an unhealthy manner. It’s best to accept it, and start talking about what to do, if anything.

Some may say, “That’s the price you pay for fame and success.” This made sense to me when millions of dollars were being doled out to athletes and Hollywood stars. But most bloggers and social media successes don’t make more money.

So should we really tolerate parasocial behavior just because someone has a achieved a little nano success? Conversely, is it simply a part of the human condition? Or do we just love a success, and some take it way too far?

Sidenote: I actually saw Feldman at a party this past weekend, and at the behest of several friends, decided to put aside my original feelings expressed here and other places and say hello and a possible handshake. This was promptly dismissed with a snarl.

I’m not sure if this Tweet was a response, but it really doesn’t matter. Principles must supersede personalities. While I still strongly and openly disagree with Feldman’s continuing and unnecessary attacking of Shel Israel, civility matters more in the big picture.

* American Psychological Association (APA): Parasocial. (n.d.). Wikipedia, the free encyclopedia. Retrieved April 24, 2008, from Reference.com website: http://www.reference.com/browse/wiki/Parasocial

Secretary's Remarks: Remarks at the Higher Education Summit for Global Development

Remarks at the Higher Education Summit for Global Development

Secretary Condoleezza Rice
Loy Henderson Auditorium
Washington, DC
April 30, 2008

SECRETARY RICE: Thank you very much. First of all, I apologize for being just a little bit late, but since I’m in a room of fellow educators, I think you’ll understand. I went down to the Marshall Wing to talk to a group of young people from the Middle East who are here on fellowships and internships. They are young democracy advocates and activists from Egypt and Iraq and Jordan and Lebanon and Yemen. And we got into a rather intensive dialogue about change and how to bring it about and I’m afraid I lost track of time.

So, thank you very much for allowing me to come and thank you, Henrietta, for pinch-hitting until I could get here. I’d like to thank Henrietta for the introduction that she’s just given me, which I’m sure was a perfectly nice introduction even though I didn’t really hear it. (Laughter.) Was it a good one? Good, thank you.

And I’d like to thank the staffs of USAID and the Education Department for this great event. And I want to acknowledge, especially, my good friend and my cabinet colleague, Margaret Spellings. We started this process together and she has been stalwart in making certain that we pushed it ahead. She’s a terrific Education Secretary. She is a terrific spokesperson for the importance of education. I have always valued her insight and her wise counsel. But most especially, I value her friendship.

Thanks to all of you who have come. You’re an impressive group of people and I’m especially grateful that you took the time out to come and visit. As you know, I was formerly Provost of Stanford and I know that this is a time of year that can be pretty busy as you’re starting to move toward the end of a semester or the end of a quarter. So, I am especially grateful that you took the time to be with us. I want to thank you for your commitment and for the support of our efforts to expand the role of higher education institutions in worldwide economic and social development.

This conference really highlights the potential that we hold when we join forces together: the public sector, the private sector, and, in our case, higher education leaders from around the globe. I see a lot of participants from foreign institutions and I want to thank you for being here. As you know, education is essential to developing human and institutional capacity, that capacity that is so essential to effectively address the most pressing development challenges facing countries around the world. And I want to assure you that America is fully committed to working with you in the months ahead to come to meet the needs of your citizens.

I’d also like to applaud the U.S. corporations, foundations, and higher education institutions that have been active in this effort. Your commitment to working with partners around the globe will bear results of improved education and health care, reduced poverty, better governance practices, and economic growth. The work that you do together has the potential to affect millions for years to come.

Each of your institutions has an important role to play in the future of the world’s youth, particularly in countries where young people are searching for alternatives to the lure of violent extremism. Together, we can unleash a combined power to counter the purveyors of hate, to give young people hope, and to lift up impoverished communities around the globe.

I want to assure each of you that the United States Government, and I in particular, and Margaret, will be your partners in advancing education. Education is the key that gives people around the globe access to unprecedented opportunities of the global economy. Indeed, for this reason, and for many others, I believe that education is not just an issue of education. It is, in fact, a national security issue for all countries in today’s world. And the American Government and the American people will help you to meet them.

Consider this. Globally, United States funding for basic education programs has risen from $100 million in 2000 to $694 million across the globe this fiscal year. This investment is enabling boys and girls in most developing countries to get an education, especially those who are on the margins of society: the poor, the disadvantaged, minorities, and indigenous peoples with historics -- histories of discrimination. In Africa, President Bush has launched two initiatives: The Africa Education Initiative and the Initiative to Expand Education. Funding for these is being used to promote the delivery of and access to quality education for millions more children, youth, and adults. The programs reflect this Administration’s belief that a quality education is vital to so many other hopes that we hold for children around the world, whether it is good health or civic participation or economic opportunity.

One country that particularly highlights the enormous potential of education is Afghanistan, and I know that we have a number of presidents of Afghan universities here today. In 2001, girls were prohibited from attending school. Today, there are more than 1.5 million girls enrolled in school. Literacy is improving. Health care rates are getting better. And at the same time, today, Afghanistan is now the fastest growing economy in South Asia. In fact, Afghanistan’s per capita annual income has nearly doubled in recent years.

We all know that the better educated you are, the better you are likely to do in terms of economic progression and in terms of economic well-being. We know, too, that education is the foundation for better things in life. But I’d like to suggest to you that we spend just a moment setting aside this rather instrumental view of education and why it's important. Of course, we want our kids to be able to get a good job and to have families and to provide for them, but don't we want more for them? Don't we want them to be able to take advantage of the truly transformative nature of education?

You see, I’ve never believed that education was just a way to get a job. Education is really a way to remake yourself. Education is a way to have no limits on your horizons. Education is a way, in a sense, to be born anew. Education is a way to completely and totally become who you should be, who you want to be, who you ought to be, not who you currently are. It opens the mind. It opens the heart. It opens the horizons. A quality education, then, is at the core of what it is to become fully and completely a human being reaching his or her full potential.

I have learned this in my own life many times. I was fortunate to be the child of educators. My parents were teachers. But my grandfather was a man who was a sharecropper’s son. And somehow, he decided he wanted to get book learning. And he went off to little Stillman College to get book learning from his home in Ewtah, Alabama – E-w-t-a-h, Alabama. (Laughter.) And Granddaddy Rice kept asking, in what was the parlance of the day, how a colored man could go to college.

And so they told him about Stillman and he went off and he sold cotton that he himself had raised to be able to go to college. And after his first year, they said, all right, how are you going to pay for your second year? And he said, well, I don’t have any more cotton. And they said, then you’ll have to leave. And he said, well, how are those boys going to college? And they said, well, they have what’s called a scholarship and if you wanted to be a Presbyterian minister, then you could have a scholarship too. (Laughter.) And Granddaddy Rice said, “That’s exactly what I had in mind.” (Laughter.) And my family has been Presbyterian and college-educated ever since. (Laughter.)

I never knew my grandfather, but the stories about him were incredible. He died two months before I was born, but his legacy was one that I dearly appreciate. His daughter would go on to be a Ph.D. in Victorian Literature -- (Applause.) -- his son, my father, the Associate Vice Chancellor of the University of Denver. And one story that was told to me has special meaning. Apparently, during the Great Depression, Granddaddy Rice came home one day and he had with him nine brand new leather-bound books. And my grandmother said to him, where did you get those? And he said, I bought them. And she said, how much did you pay for them? He said $90. Imagine $90 in the Great Depression. And they were the works of Dumas and the works of Shakespeare and the works of Victor Hugo.

And my grandmother was furious knowing that there was much more that could have been done with $90. My grandfather said, well, we can pay for them month to month. That didn’t help. But those books said something about my grandfather’s horizons: this sharecropper’s son who wanted to remake himself through learning. And one of the proudest days of my life was when I got my own Ph.D. and my father gave me the surviving seven leather-bound books.

Those stories I tell you because they perhaps speak to why a black girl from Birmingham, Alabama eventually ended up as Secretary of State. And it speaks to why what you are doing across the world, in partnership with us and in partnership with your people, speaks not just to what job you will hold, not just to what benefits you will gain, but truly who you will become. And that is the greatest gift that anyone could possibly give the children of the world. Thank you very much. (Applause.)

2008/342



Released on April 30, 2008

  

Press Releases: United States Imposes Import Restrictions to Protect the Cultural Heritage of Iraq

Media Note
Office of the Spokesman
Washington, DC
April 30, 2008


United States Imposes Import Restrictions to Protect the Cultural Heritage of Iraq

The Department of State is pleased to announce that pursuant to statutory and Presidential delegated authorities, an import restriction has been imposed by the Department of Homeland Security on cultural heritage material from the Republic of Iraq. The restriction becomes effective today, April 30, 2008, upon publication in the Federal Register of the Designated List of restricted categories of material.

The import restriction is imposed under the Emergency Protection for Iraqi Cultural Antiquities Act of 2004, which confers upon the President the authority to make emergency determinations under the Convention on Cultural Property Implementation Act with respect to any archaeological and ethnological material of Iraq. Acting under Presidential delegated authority, the Department made the necessary statutory determinations including that the subject material is a part of the remains of a particular culture or civilization, the record of which is in jeopardy from pillage, dismantling, dispersal, or fragmentation that is, or threatens to be, of crisis proportions. The depredation to the national patrimony of Iraq due to pillage and the unauthorized export of that country’s cultural property has been extensively documented.

The import restriction applies to any cultural property of Iraq, including objects of ceramic, stone, metal, glass, ivory, bone, shell, stucco, painting, textile, paper, parchment, leather, wood, and other items of archaeological, historical, cultural, rare scientific, or religious importance illegally removed from Iraq since the adoption of United Nations Security Council Resolution 661 on August 6, 1990. Such material may not be imported unless accompanied by documentation that it was exported from Iraq prior to that date. The Designated List can be found at http://exchanges.state.gov/culprop.

Agriculture, cities, writing, temples, trade, warfare, the state, empire, libraries, art, and science all developed and flourished throughout Iraq’s rich succession of ancient and Islamic cultures. Iraq’s archaeological and heritage sites are the archive of this unique history, the study of which, despite generations of scholarship, has only begun. The U.S. import restriction is intended to reduce the incentive for pillage in order to better preserve Iraq’s cultural heritage for present and future generations.

2008/340


Released on April 30, 2008