text:
Q: Not able to modify Cordova WebView I'm developing Cordova application with EmberJs. There I require to local ajax calls, i.e, ajax call to file:/// url. Cordova doesn't allow that. So I found that I need to modify Cordova WebView settings. For that, I tried this code:
import android.os.Build;
import android.os.Bundle;
import org.apache.cordova.*;
import org.apache.cordova.engine.SystemWebView;
import android.webkit.WebSettings;

public class MainActivity extends CordovaActivity
{
    SystemWebView webView = null;

    @Override
    public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        // Set by <content src="index.html" /> in config.xml
        webView  = (SystemWebView) appView.getView();
        WebSettings settings = webView.getSettings();
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {
            settings.setAllowFileAccessFromFileURLs(true);
            settings.setAllowUniversalAccessFromFileURLs(true);
        }
        loadUrl(launchUrl);
    }
}

But I'm always getting following error:
Runtime: FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.scb.prototype/com.scb.prototype.MainActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'android.view.View org.apache.cordova.CordovaWebView.getView()' on a null object reference
                                                         at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
                                                         at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
                                                         at android.app.ActivityThread.-wrap11(ActivityThread.java)
                                                         at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
                                                         at android.os.Handler.dispatchMessage(Handler.java:102)
                                                         at android.os.Looper.loop(Looper.java:148)
                                                         at android.app.ActivityThread.main(ActivityThread.java:5417)
                                                         at java.lang.reflect.Method.invoke(Native Method)
                                                         at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
                                                         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
                                                      Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'android.view.View org.apache.cordova.CordovaWebView.getView()' on a null object reference
                                                         at com.scb.prototype.MainActivity.onCreate(MainActivity.java:37)
                                                         at android.app.Activity.performCreate(Activity.java:6237)
                                                         at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
                                                         at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
                                                         at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
                                                         at android.app.ActivityThread.-wrap11(ActivityThread.java)
                                                         at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
                                                         at android.os.Handler.dispatchMessage(Handler.java:102)
                                                         at android.os.Looper.loop(Looper.java:148)
                                                         at android.app.ActivityThread.main(ActivityThread.java:5417)
                                                         at java.lang.reflect.Method.invoke(Native Method)
                                                         at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
                                                         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

appView is returning null. Any solution for this?
If anyone can suggest how to allow ajax from file:/// url in Cordova, that will also resolve my issue.
Thanks in advance.

A: You are getting NullPointerException because super.init() is not called and your appView is not initialized.
SystemWebView webView = null;
@Override
public void onCreate(Bundle savedInstanceState)
{
    super.onCreate(savedInstanceState);
    super.init();
    // Set by <content src="index.html" /> in config.xml
    webView  = (SystemWebView) appView.getEngine().getView();
    WebSettings settings = webView.getSettings();
    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {
        settings.setAllowFileAccessFromFileURLs(true);
        settings.setAllowUniversalAccessFromFileURLs(true);
    }
    loadUrl(launchUrl);
}

redpajama_set_name: RedPajamaStackExchange


text:
'use strcit'
eventsApp.controller('EventListController', function ($scope, eventData,$log) {
    $scope.events=eventData.getAllEvents();
});

redpajama_set_name: RedPajamaGithub


text:
Defense Contractor Stops Drone Testing After Crash, Fire In Pendleton
NWNews | By Tom Banse
Published April 4, 2018 at 2:43 PM PDT
PAE ISR
A Resolute Eagle drone similar to this one crashed at Pendleton's airport around 11:00 a.m. on Saturday.
Drone testing by a defense contractor has stopped after one of the company's prototypes crashed on Saturday and set off a small wildfire near the Pendleton, Oregon, airport.
No one was hurt when the 150-200 pound reconnaissance drone crashed soon after takeoff from Eastern Oregon Regional Airport. The crash set a field of wheat stubble on fire which the Pendleton Fire Department contained fairly easily with no further damage.
The FAA, the Pendleton Unmanned Aerial Systems Test Range and the aircraft maker are now investigating what went wrong. Test range manager Darryl Abling is confident answers will come soon.
"At the time, the aircraft was sending down telemetry data, which is essentially a body of data that covers everything the airplane is doing in flight -- control surface positions, speeds, altitude, health of the aircraft, etcetera," Abling said in an interview Wednesday. "So we have an enormous amount a data that we can look through to determine the root cause of the mishap."
An FAA spokesman in Seattle said the crashed aircraft suffered "substantial damage" from the subsequent fire.
Virginia-based defense contractor PAE ISR has been testing its 18-foot wingspan Resolute Eagle drone in the Eastern Oregon skies since last year.
"Until the investigation is complete, everything stops," PAE Marketing Director Polli Ogilvie said. "That is standard procedure."
Abling said flight testing by other unmanned aircraft operators at the Pendleton airport and test range can continue in the meantime.
The FAA-approved test range extends out from the Pendleton airport over 14,000 square miles including agricultural lands south of the Columbia River and forests of the Blue Mountains to the east.
In a press release late last year, PAE expressed optimism that it could find commercial and civilian customers for the Resolute Eagle drone in addition to military missions.
"It carries multiple intelligence payloads and offers long endurance capability at an affordable price," the company said.
Tom Banse
Tom Banse covers national news, business, science, public policy, Olympic sports and human interest stories from across the Northwest. He reports from well known and out–of–the–way places in the region where important, amusing, touching, or outrageous events are unfolding. Tom's stories can be found online and heard on-air during "Morning Edition" and "All Things Considered" on NPR stations in Washington, Oregon, and Idaho.
See stories by Tom Banse

redpajama_set_name: RedPajamaCommonCrawl


text:
Mark Travers, né le  à Maynooth, est un footballeur international irlandais qui évolue au poste de gardien de but à l'AFC Bournemouth.

Biographie

En club
Après avoir porté les couleurs de  puis des Shamrock Rovers en Irlande, Mark Travers rejoint l'Angleterre et le centre de formation de l'AFC Bournemouth en 2016, alors qu'il est âgé de dix-sept ans.

Le , il dispute son premier match au niveau professionnel à l'occasion de la réception de Tottenham Hotspur en Premier League. Il se fait remarquer en arrêtant plusieurs frappes adverses, ce qui contribue grandement à la victoire de son équipe (1-0). Huit jours plus tard, il est de nouveau titulaire dans les cages de Bournemouth contre Crystal Palace (défaite 5-3).

Le , Mark Travers débute face aux Forest Green Rovers en Coupe de la Ligue anglaise. Il se démarque en stoppant trois penalties lors de la séance de tirs au but, ce qui permet à son équipe de se qualifier pour le tour suivant.

Le , il est prêté jusqu'à la fin de la saison à Swindon Town, qui évolue en troisième division.

En sélection nationale
Mark Travers porte les couleurs de l'Irlande en moins de 17 ans, des moins de 18 ans et des moins de 19 ans entre 2015 et 2018.

Le , il honore sa première sélection avec les A irlandais lors d'un match amical contre la Bulgarie (victoire 3-1). Il dispute son deuxième match avec les Boys in Green le , pour une nouvelle victoire 3-1 en amical contre la Nouvelle-Zélande.

Statistiques

Palmarès

En club
  AFC Bournemouth
 Vice-champion d'Angleterre de D2 en 2022.

Notes et références

Liens externes

Footballeur international irlandais
Gardien de but au football
Joueur de l'AFC Bournemouth
Joueur du Weymouth FC
Joueur du Swindon Town FC
Naissance en mai 1999
Naissance dans le comté de Kildare

redpajama_set_name: RedPajamaWikipedia


By undertaking any guidance, recommendations or services from Life's A Fieldtrip you agree to the terms of this policy.
All prices are quoted in US Dollars. No services will begin until payment is received in full.
Please be aware that additional charges by banks, credit unions, money transfer services, credit card companies, online fund distributors or other third parties used to make your payment may apply. The purchaser is responsible for any such fees.
Money transfers can take up to 14 working days. You will be issued with a receipt as soon as your payment can be verified.
Life's A Fieldtrip is not responsible for misdirected or non-received payments. Please make sure that payments are made to through the appropriate channels.
Credit card payments for Life's A Fieldtrip are processed using third party applications. Any issues in processing such payments or discrepancies in charges must be dealt with through the credit card processing companies and are not the responsibility of Life's A Fieldtrip, however, we will do our best to cooperate with you to resolve any such issues with the credit card processor that are within our capabilities.
The third party applications used in making credit card charges use servers that are completely unaffiliated with Life's A Fieldtrip. As such, absolutely no data or information relating to your credit card passes through the servers used by this website. The card numbers you enter bypass our servers completely and none of your sensitive data will be recorded by our servers.
As added protection to the credit card holder, we have encrypted the purchasing page with a standard SSL (Secure Sockets Layer) page. This will help keep your details safe from attempts to intercept your information used to make purchases on our website.
The SSL page is indicated by the "lock" icon in your browser address bar.
If you feel something is suspicious on the payments page or the payment link you are directed to appears broken, please feel free to contact us first before proceeding with your payment.
Refunds may not be available for cancellations made after payment has been sent.
No refund will be given for excess payments made lower than the amount of $15.
Money spent on bank, currency exchange, international transfer, or any other fees can not be refunded. Equal fees may apply for transferring your refund.
Any additional fees incurred to communicate with or gain access to the services offered are at the expense of the purchaser.
If the services offered can not be provided due to the fault of Life's A Fieldtrip, we will gladly make new arrangements or refund your money.
Life's A Fieldtrip does not offer a guarantee or refund in any form if the services have been arranged through a third party agent, advisor, coordinator, coach, teacher, education service or other such entity.
If your plans for home education are interrupted, cancelled or otherwise made unavailable due to the fault of the homeschool covering, textbook or educational resource provider, education board or other third party, it will be up to the appropriate representative of that institution to explain what options are available to you. Life's A Fieldtrip does not have the authority to issue a refund for another company.
Should services be made unavailable due to extraordinary circumstances, natural disaster, severe weather, act of terror or other such event outside the control of Life's A Fieldtrip, no refund or reimbursement will be offered and indefinite delay should be expected.
Life's A Fieldtrip reserves the right to terminate this agreement at any time without any legal or financial ramifications or penalties, should the student, teacher, parent, educator or any member of the purchasing or receiving party become unresponsive, incapable or unwilling to work in a cooperative manner.
Items included in education or coaching packages offered by Life's A Fieldtrip are non-exchangeable or refundable if a particular option is not required.
Last minute requests for additional curriculum or course structure will be denied if it can not be prepared for properly.
A custom curriculum outline based on the interests of the student(s) and standard educational requirements suitable for their knowledge level, with recommended textbooks, learning materials and resources adequate for one (1) full term of schooling.
A guidance and advisory communication bundle with a value of fifteen 15 units to divide as necessary for the maximum benefit of the purchaser.
Verbal communication includes interaction over telephone or a digital platform, such as Skype, which is allocated into blocks of ten (10) minutes, or less. Two (2) units will be deducted for every one (1) block of verbal communication.
Written communication includes interaction over email, sms message or other digital text-based platform, which is allocated into blocks of two-hundred and fifty (250) words or less. One (1) unit will be deducted for every one (1) block of written communication.
It is recommended that appointments be made and confirmed twenty-four (24) hours in advance for verbal communication sessions in order to ensure adequate time can be given to the call. Verbal communication is available from 10:00 am to 6:00 pm, central standard time, unless otherwise agreed upon via special appointment.
Communication blocks are intended for the discussion of issues pertaining to aspects of home education and related subjects only.
Please be aware that an appropriate answer to your questions may take time to properly research in order to provide you with the best answer. Life's A Fieldtrip reserves the right to take as much time as needed to achieve acceptable results. Likewise, some inquiries may have no acceptable answer, in which case Life's A Fieldtrip reserves the right to deny providing such information, without further explanation required.
Additional communication units may be available for purchase, if needed. Units come in blocks of 10 units per purchase.
A Style guide to assist in the record keeping and progress made by the student(s).
One (1) written annual progress report, recapping the student's year of education.
The content of the progress report is largely dependent on the accuracy of the record keeping provided by the parent or teacher. Yearly progress reports are typically required by most homeschool coverings and Life's A Fieldtrip will endeavor to comply with the standards and format set forth by the covering, however there is no guarantee the report will be accepted by every institution as anything more than a personal record.
Please note some educational coverings or jurisdictions require quarterly progress reports. Additional fees will apply for multiple reports, should you choose to use the services of Life's A Fieldtrip for such purposes.
The parent or teacher is accountable for accurate record keeping, or supervision of record keeping by the student. Reports to the homeschool covering or other educational authority may be rejected if record keeping is inaccurate or misleading.
It is the responsibility of the parent or teacher to keep in compliance with their homeschool covering and the local laws of their region in regards to home education, if required. Life's A Fieldtrip will gladly offer guidance when possible, but is not legally obligated to keep the student or educator in good standing with such educational institutions.
By using any recommendations, guidance or services provided by Life's A Fieldtrip, you agree to indemnify, hold harmless and release Life's A Fieldtrip (its owners, management, staff and agents) from any and all legal responsibilities that may arise, either directly or indirectly, from the information or services provided.
Life's A Fieldtrip acts as an independent advisor and educational resource coordinator, it is not directly affiliated with any national or local education board, private or public school, collage, university or other such institutions of learning, nor does a direct affiliation exist between the company and any textbook publisher, curriculum setter or other such provider of educational materials.
Any complaints or disputes that arise in relation to the quality of education a student receives, their acceptance into other educational institutions, compliance with local, national or international laws or faults in the learning resources or textbooks must be resolved between the purchaser and the other entity in concern.
Life's A Fieldtrip is not responsible for inconveniences, interference, loss of time, money, assets or other such losses due to third party software, applications or resources. Please consult the terms and conditions of the third party in question for further details on their policy.
Negligence by the parent, teacher, tutor, student, pupil, educational governing body, homeschool covering, publisher, wholesaler or retailer of educational resources, test-giving institution, third party activity group organizers or other such party will not reflect on or be seen as negligence on behalf of Life's A Fieldtrip.
Any information that you have given Life's A Fieldtrip regarding the learning abilities of the student, the educational qualifications of the teacher or tutor and the learning environment in which they interact is assumed to be correct. The purchaser will be held solely responsible for any issues that arise from miscommunication or knowingly withholding such information.
Life's A Fieldtrip does not guarantee that the recommended course materials will necessarily produce the results desired, nor that the student will be able to pass standardized testing at any certain level or that the teaching party will be able to fully communicate the curriculum. The outcome of home education is ultimately in the efforts of the teacher and the student.
The materials and services offered are intended for the benefit of educating, teaching and learning experiences, only. Life's A Fieldtrip has no responsibility for organizing matters relating to home, family or personal life.
The legal standing of home education and any documentation that may be required in your state or country of residence or origin is not the responsibility of Life's A Fieldtrip. We recommend seeking legal advice to verify your position at your own discretion.
This policy is enforceable up to the fullest extent of the law of the state of Alabama in the United States Of America. If any part of this agreement is found to be unenforceable or invalid, that part shall be removed, whilst the remainder of the agreement will remain enforceable and legally binding.
Last modified on: March 26, 2017.


Disclaimer: any views expressed on this website are my personal opinion and do not necessarily reflect the views of any of my clients, past employers or former clients.
All work is copyright. If you would like to use one of my illustrations, please feel free to get in contact so we can discuss your request in more detail.


With the Celtics in the midst of their playoff run, today we take a look at Boston Herald Celtics writer Mark Murphy.
Murphy has been with the Herald since 1988. He has spent most of his tenure at the paper on the Celtics beat, though he moved over to the UMass and college basketball beat at the height of the Marcus Camby/John Calipari era. He returned to the Celtics beat in 2002. He has also covered Olympic games, including the 1992 US Basketball Dream Team.
Murphy is another guy you don't see making a whole lot of outside media appearances. I couldn't find a photo online of him, but he is a pretty easily recognizable guy, sporting a full beard.
I'll be the first to say it. Who?
The shot was there. I had to take it.
Approve – if he's not pimping himself out to every electronic outlet in this region that must mean he's focused on his job.
I approve of anyone in sports media who chooses to stick to his or her knitting and not showboat or otherwise 'hobknob' across the sports media landscape either looking for more dough or a soft spot to land if their 'primary' job is a bit insecure.
I approve, mostly because there's no picture of him.
Figured this would be an appropriate place to post this: former WCVB Sports Director Don Gillis passed away last night.
Not totally unexpected I suppose, but the timing with Lobel's imminent departure from WBZ makes this news feel just a little eerie. Both of them were the Boston TV sports icons of their respective generations.
Since I don't know this guy. I'll just promote the New Sports Huddle on 96.9 FM Talk. Sunday Nights.
Good writer… not great. Works a bit at writing though spends time on the editing desk too. Is obviously overshadowed by Bulpett, but few wouldn't be.
Never heard of him…WHAT??? The Boston Herald is still around??? I'll be damned!!
But on another note…has anybody ever seen Steve Buckley with a woman??
I say approve. There are only a few guys out there that pay attention to basketball these days that are like him and Ordway.
Seriously, we've been on the undercard for WEEKS. Get to the big fish, please.


Inspired by the annual migration of monarch butterflies from Canada to Mexico, Carlos Amorales conceived of Black Cloud as a "plague" of moths that swarm through museum spaces. 25,000 black paper moths and butterflies of 30 different species seem to hover in mid-air, a surreal yet sublime gathering of insects delicately poised in sculptural formations. The artist invented this idea while visiting his grandmother. He has described it as his way of saying goodbye to her—an intensely personal origin for an artwork that inspires a universal sense of wonder in each of us. Nevertheless, the title implies an underlying sense of foreboding. These thousands of uncanny insects envelop us in an experience fluctuating between beauty and awe, the fanciful and the macabre, calm and calamity. Black Cloud exemplifies what art critics have called Amorales' "gothic sensibility," while also bringing the raw beauty of untamed nature into the museum.
Carlos Amorales is one of the most celebrated Mexican artists working today. He was chosen to represent Mexico at the 2017 Venice Biennial, one of the highest international honors for an artist. He works in a wide variety of media, including video, painting, drawing, sculpture, and performance.
Carlos Amorales was born in 1970 in Mexico City. From 1992 to 1995, he studied at the Gerrit Rietveld Academie, and in 1996 continued his studies at the Rijksakademie van Beeldende Kunstenin, both in Amsterdam. He currently maintains studios in Mexico City and Amsterdam. His work is featured in the collections of the Museum of Modern Art, New York; Guggenheim Museum, New York; Cisneros Foundation Collection, New York; Tate Modern, London; Museum of Contemporary Art, Chicago; Hirshhorn Museum and Sculpture Garden, Washington, D.C.; Walker Art Center, Minneapolis; Margulies Collection, Miami; Philadelphia Museum of Art, Philadelphia; La Colección Jumex, Mexico City; Museo Tamayo, Mexico City; Museo Universitario de Arte Contemporáneo, Mexico City; the Irish Museum of Modern Art, Dublin; Museum Boijmans van Beuningen, Rotterdam; and the Centre National des Arts Plastiques, Paris, among others.
On loan from the Diane and Bruce Halle Collection, Carlos Amorales: Black Cloud is generously underwritten by Mr. & Mrs. Dennis Lyon and the Friends of Mexican Art.
Free for Museum Members, Military Members, and *youth ages 5 and under.
Carlos Amorales, Black Cloud, 2007. Paper. Installation view at Phoenix Art Museum, 2017. Collection of Diane and Bruce Halle.


text:
National Orphan Train Complex, Concordia
Anna Laura Hill with boys. Photo courtesy National Orphan Train Complex.
Orphan boys in alley. Photo courtesy National Orphan Train Complex.
Boys on a train. Photo courtesy National Orphan Train Complex.
Placement Ad. Photo courtesy National Orphan Train Complex.
Address: 300 Washington St., Concordia, KS 66901
Website: www.orphantraindepot.org
The National Orphan Train Complex is a finalist for the 8 Wonders of Kansas History because it is the only museum in the country that focuses entirely on the Orphan Train Movement.
In 1850 roughly 15,000 children were homeless on the streets of New York City. They lived in alleys, under bridges and slept on sewage grates. Those old enough to work sold newspapers, shined shoes, picked rags or labored in dangerous factories and sweat shops. They were left to fend for themselves, to join gangs for protection, and grow up instantly in an environment of filth and violence. Families simply could not afford to support all the children they had. Written in trembling hand, a note pinned to a baby abandoned at an orphanage read, "Take care of Johnny, for God's sake. I cannot."
Few cared to help, but some chose to offer these children a chance at a new life. In 1854, what would become known as the Orphan Train Movement began with a group of 46 girls and boys on a train from New York City to rural Dowagiac, Michigan. Between 1854 and 1929, over 200,000 children were placed out through this program. Trains from New York carried children to all 48 continental states and into parts of Canada and about 7,000 were placed in Kansas. It is one of the largest social reform relocation efforts in our nation's history and the beginning of documented foster care in America.
The National Orphan Train Complex is a museum and research center dedicated to the Orphan Train Movement, the various institutions that participated, and the children and agents who rode the trains. As the only museum in the country that currently focuses solely on the Orphan Train Movement, the NOTC is unique, not only in Kansas but across the nation. We reach out to riders, descendants and anyone interested in the Orphan Trains to help find relatives and conduct research.
Knowing that one in twenty-five Americans is connected to an orphan train rider, our mission is to collect, preserve, interpret, and disseminate knowledge about this movement and create a general awareness about the Orphan Trains. The project to open a national museum in Concordia began with a small group of people dedicated to preserving this history and making the story more accessible to the public. Three states bid to receive the archival collection, but Concordia was selected because of the local committee's commitment to the project, the availability of a museum building, and because this small midwestern town exemplified the type of community preferred by Orphan Train programs.
The archival collection was moved here in 2003 and the museum and research center opened in September 2007 after renovations to the 1917 Union Pacific Depot and new construction were complete. Located just north of downtown Concordia, the National Orphan Train Complex is easily accessible from U.S. 81 K-9.
Visitors will find life size photographs and information about 19th century New York City and the Orphan Train Movement. They will also see exhibits and displays about riders and their experiences with new families in the West. We strive to provide an honest look at some happy and sad stories; we hope that ultimately, visitors will experience a piece of American history they are unlikely to forget.
Open Tuesday-Saturday 10 a.m.-noon and 1-4 p.m.
Admission charge: Adults $6; Military discount $5; Children 4-12 $3; Children 3 and under free
Group Rate (over 10 people)-Adults $4; Child-$2
Source: National Orphan Train Museum
Photos courtesy National Orphan Train Complex. Exhibit photo KSF


Powerlink Internusa was established in 2008 as a Supplier of computer Equipment, Networking, and Computer Services Centre. Starting 2010, we expanded our services to Networking Product (LAN, WAN & Wireless LAN), Structured Cabling System, Data Center, Security System, Time Attendance, and Access Control Management. After Passing fast growing computer industry, HP and ACER have appointed us as "Authorized Business Partner" since 2011.
Delivering the proper solutions to the customers based on the current and innovative technologies to meet user's requirement.