text:
Q: using java mail api in android I 'm studying on an android application which needs to access gmail messages.I create a class for this stuff and call it from onCreate() method of activity.
MessageBox.java
   public void startConnection(String userName, String password) throws MessagingException {

            Properties properties = System.getProperties();
            properties.setProperty("mail.store.protocol", "imaps");
            properties.setProperty("mail.imaps.host","imaps.gmail.com");
            properties.setProperty("mail.imaps.quitwait", "false");
            properties.put("mail.imaps.auth", "true");
            properties.put("mail.imaps.port", "993");
            properties.put("mail.imaps.socketFactory.port", "993");
            properties.put("mail.imaps.socketFactory.class",
                      "javax.net.ssl.SSLSocketFactory");
            properties.put("mail.imaps.socketFactory.fallback", "false");
            session = Session.getDefaultInstance(properties, null);

                store = session.getStore("imaps");
   **Problem in here**  store.connect("imap.gmail.com", userName, password);
        }

MyActivity
       try  {
            messageBox.startConnection("username","password");

        } catch (MessagingException e) {
            e.printStackTrace();
        }

What is the wrong here?
  Thanks in advance
EDIT:
   From LogCat
06-06 12:31:11.125: E/ThrottleService(289): problem during onPollAlarm: java.lang.IllegalStateException: problem parsing stats: java.io.FileNotFoundException: /proc/net/xt_qtaguid/iface_stat_all: open failed: ENOENT (No such file or directory)
06-06 12:31:13.493: E/ActivityThread(653): Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d085b0 that was originally bound here
06-06 12:31:13.493: E/ActivityThread(653): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d085b0 that was originally bound here
06-06 12:31:13.493: E/ActivityThread(653):  at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
06-06 12:31:13.493: E/ActivityThread(653):  at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
06-06 12:31:13.493: E/ActivityThread(653):  at android.app.ContextImpl.bindService(ContextImpl.java:1418)
06-06 12:31:13.493: E/ActivityThread(653):  at android.app.ContextImpl.bindService(ContextImpl.java:1407)
06-06 12:31:13.493: E/ActivityThread(653):  at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
06-06 12:31:13.493: E/ActivityThread(653):  at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
06-06 12:31:13.493: E/ActivityThread(653):  at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
06-06 12:31:13.493: E/ActivityThread(653):  at com.android.emailcommon.service.AccountServiceProxy.getDeviceId(AccountServiceProxy.java:116)
06-06 12:31:13.493: E/ActivityThread(653):  at com.android.exchange.ExchangeService.getDeviceId(ExchangeService.java:1249)
06-06 12:31:13.493: E/ActivityThread(653):  at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1856)
06-06 12:31:13.493: E/ActivityThread(653):  at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
06-06 12:31:13.493: E/ActivityThread(653):  at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
06-06 12:31:13.493: E/ActivityThread(653):  at android.os.AsyncTask$2.call(AsyncTask.java:287)
06-06 12:31:13.493: E/ActivityThread(653):  at java.util.concurrent.FutureTask.run(FutureTask.java:234)
06-06 12:31:13.493: E/ActivityThread(653):  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
06-06 12:31:13.493: E/ActivityThread(653):  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
06-06 12:31:13.493: E/ActivityThread(653):  at java.lang.Thread.run(Thread.java:856)
06-06 12:31:13.524: E/StrictMode(653): null
06-06 12:31:13.524: E/StrictMode(653): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d085b0 that was originally bound here
06-06 12:31:13.524: E/StrictMode(653):  at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
06-06 12:31:13.524: E/StrictMode(653):  at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
06-06 12:31:13.524: E/StrictMode(653):  at android.app.ContextImpl.bindService(ContextImpl.java:1418)
06-06 12:31:13.524: E/StrictMode(653):  at android.app.ContextImpl.bindService(ContextImpl.java:1407)
06-06 12:31:13.524: E/StrictMode(653):  at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
06-06 12:31:13.524: E/StrictMode(653):  at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
06-06 12:31:13.524: E/StrictMode(653):  at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
06-06 12:31:13.524: E/StrictMode(653):  at com.android.emailcommon.service.AccountServiceProxy.getDeviceId(AccountServiceProxy.java:116)
06-06 12:31:13.524: E/StrictMode(653):  at com.android.exchange.ExchangeService.getDeviceId(ExchangeService.java:1249)
06-06 12:31:13.524: E/StrictMode(653):  at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1856)
06-06 12:31:13.524: E/StrictMode(653):  at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
06-06 12:31:13.524: E/StrictMode(653):  at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
06-06 12:31:13.524: E/StrictMode(653):  at android.os.AsyncTask$2.call(AsyncTask.java:287)
06-06 12:31:13.524: E/StrictMode(653):  at java.util.concurrent.FutureTask.run(FutureTask.java:234)
06-06 12:31:13.524: E/StrictMode(653):  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
06-06 12:31:13.524: E/StrictMode(653):  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
06-06 12:31:13.524: E/StrictMode(653):  at java.lang.Thread.run(Thread.java:856)
06-06 12:31:13.565: E/ActivityThread(653): Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d080d8 that was originally bound here
06-06 12:31:13.565: E/ActivityThread(653): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d080d8 that was originally bound here
06-06 12:31:13.565: E/ActivityThread(653):  at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
06-06 12:31:13.565: E/ActivityThread(653):  at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
06-06 12:31:13.565: E/ActivityThread(653):  at android.app.ContextImpl.bindService(ContextImpl.java:1418)
06-06 12:31:13.565: E/ActivityThread(653):  at android.app.ContextImpl.bindService(ContextImpl.java:1407)
06-06 12:31:13.565: E/ActivityThread(653):  at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
06-06 12:31:13.565: E/ActivityThread(653):  at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
06-06 12:31:13.565: E/ActivityThread(653):  at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
06-06 12:31:13.565: E/ActivityThread(653):  at com.android.emailcommon.service.ServiceProxy.test(ServiceProxy.java:191)
06-06 12:31:13.565: E/ActivityThread(653):  at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1850)
06-06 12:31:13.565: E/ActivityThread(653):  at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
06-06 12:31:13.565: E/ActivityThread(653):  at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
06-06 12:31:13.565: E/ActivityThread(653):  at android.os.AsyncTask$2.call(AsyncTask.java:287)
06-06 12:31:13.565: E/ActivityThread(653):  at java.util.concurrent.FutureTask.run(FutureTask.java:234)
06-06 12:31:13.565: E/ActivityThread(653):  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
06-06 12:31:13.565: E/ActivityThread(653):  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
06-06 12:31:13.565: E/ActivityThread(653):  at java.lang.Thread.run(Thread.java:856)
06-06 12:31:13.613: E/StrictMode(653): null
06-06 12:31:13.613: E/StrictMode(653): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d080d8 that was originally bound here
06-06 12:31:13.613: E/StrictMode(653):  at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
06-06 12:31:13.613: E/StrictMode(653):  at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
06-06 12:31:13.613: E/StrictMode(653):  at android.app.ContextImpl.bindService(ContextImpl.java:1418)
06-06 12:31:13.613: E/StrictMode(653):  at android.app.ContextImpl.bindService(ContextImpl.java:1407)
06-06 12:31:13.613: E/StrictMode(653):  at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
06-06 12:31:13.613: E/StrictMode(653):  at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
06-06 12:31:13.613: E/StrictMode(653):  at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
06-06 12:31:13.613: E/StrictMode(653):  at com.android.emailcommon.service.ServiceProxy.test(ServiceProxy.java:191)
06-06 12:31:13.613: E/StrictMode(653):  at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1850)
06-06 12:31:13.613: E/StrictMode(653):  at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
06-06 12:31:13.613: E/StrictMode(653):  at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
06-06 12:31:13.613: E/StrictMode(653):  at android.os.AsyncTask$2.call(AsyncTask.java:287)
06-06 12:31:13.613: E/StrictMode(653):  at java.util.concurrent.FutureTask.run(FutureTask.java:234)
06-06 12:31:13.613: E/StrictMode(653):  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
06-06 12:31:13.613: E/StrictMode(653):  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
06-06 12:31:13.613: E/StrictMode(653):  at java.lang.Thread.run(Thread.java:856)
06-06 12:32:03.693: E/ActivityThread(653): Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d2ebc0 that was originally bound here
06-06 12:32:03.693: E/ActivityThread(653): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d2ebc0 that was originally bound here
06-06 12:32:03.693: E/ActivityThread(653):  at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
06-06 12:32:03.693: E/ActivityThread(653):  at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
06-06 12:32:03.693: E/ActivityThread(653):  at android.app.ContextImpl.bindService(ContextImpl.java:1418)
06-06 12:32:03.693: E/ActivityThread(653):  at android.app.ContextImpl.bindService(ContextImpl.java:1407)
06-06 12:32:03.693: E/ActivityThread(653):  at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
06-06 12:32:03.693: E/ActivityThread(653):  at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
06-06 12:32:03.693: E/ActivityThread(653):  at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
06-06 12:32:03.693: E/ActivityThread(653):  at com.android.emailcommon.service.AccountServiceProxy.getDeviceId(AccountServiceProxy.java:116)
06-06 12:32:03.693: E/ActivityThread(653):  at com.android.exchange.ExchangeService.getDeviceId(ExchangeService.java:1249)
06-06 12:32:03.693: E/ActivityThread(653):  at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1856)
06-06 12:32:03.693: E/ActivityThread(653):  at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
06-06 12:32:03.693: E/ActivityThread(653):  at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
06-06 12:32:03.693: E/ActivityThread(653):  at android.os.AsyncTask$2.call(AsyncTask.java:287)
06-06 12:32:03.693: E/ActivityThread(653):  at java.util.concurrent.FutureTask.run(FutureTask.java:234)
06-06 12:32:03.693: E/ActivityThread(653):  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
06-06 12:32:03.693: E/ActivityThread(653):  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
06-06 12:32:03.693: E/ActivityThread(653):  at java.lang.Thread.run(Thread.java:856)
06-06 12:32:03.863: E/StrictMode(653): null
06-06 12:32:03.863: E/StrictMode(653): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d2ebc0 that was originally bound here
06-06 12:32:03.863: E/StrictMode(653):  at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
06-06 12:32:03.863: E/StrictMode(653):  at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
06-06 12:32:03.863: E/StrictMode(653):  at android.app.ContextImpl.bindService(ContextImpl.java:1418)
06-06 12:32:03.863: E/StrictMode(653):  at android.app.ContextImpl.bindService(ContextImpl.java:1407)
06-06 12:32:03.863: E/StrictMode(653):  at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
06-06 12:32:03.863: E/StrictMode(653):  at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
06-06 12:32:03.863: E/StrictMode(653):  at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
06-06 12:32:03.863: E/StrictMode(653):  at com.android.emailcommon.service.AccountServiceProxy.getDeviceId(AccountServiceProxy.java:116)
06-06 12:32:03.863: E/StrictMode(653):  at com.android.exchange.ExchangeService.getDeviceId(ExchangeService.java:1249)
06-06 12:32:03.863: E/StrictMode(653):  at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1856)
06-06 12:32:03.863: E/StrictMode(653):  at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
06-06 12:32:03.863: E/StrictMode(653):  at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
06-06 12:32:03.863: E/StrictMode(653):  at android.os.AsyncTask$2.call(AsyncTask.java:287)
06-06 12:32:03.863: E/StrictMode(653):  at java.util.concurrent.FutureTask.run(FutureTask.java:234)
06-06 12:32:03.863: E/StrictMode(653):  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
06-06 12:32:03.863: E/StrictMode(653):  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
06-06 12:32:03.863: E/StrictMode(653):  at java.lang.Thread.run(Thread.java:856)
06-06 12:32:03.933: E/ActivityThread(653): Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d2e680 that was originally bound here
06-06 12:32:03.933: E/ActivityThread(653): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d2e680 that was originally bound here
06-06 12:32:03.933: E/ActivityThread(653):  at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
06-06 12:32:03.933: E/ActivityThread(653):  at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
06-06 12:32:03.933: E/ActivityThread(653):  at android.app.ContextImpl.bindService(ContextImpl.java:1418)
06-06 12:32:03.933: E/ActivityThread(653):  at android.app.ContextImpl.bindService(ContextImpl.java:1407)
06-06 12:32:03.933: E/ActivityThread(653):  at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
06-06 12:32:03.933: E/ActivityThread(653):  at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
06-06 12:32:03.933: E/ActivityThread(653):  at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
06-06 12:32:03.933: E/ActivityThread(653):  at com.android.emailcommon.service.ServiceProxy.test(ServiceProxy.java:191)
06-06 12:32:03.933: E/ActivityThread(653):  at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1850)
06-06 12:32:03.933: E/ActivityThread(653):  at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
06-06 12:32:03.933: E/ActivityThread(653):  at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
06-06 12:32:03.933: E/ActivityThread(653):  at android.os.AsyncTask$2.call(AsyncTask.java:287)
06-06 12:32:03.933: E/ActivityThread(653):  at java.util.concurrent.FutureTask.run(FutureTask.java:234)
06-06 12:32:03.933: E/ActivityThread(653):  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
06-06 12:32:03.933: E/ActivityThread(653):  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
06-06 12:32:03.933: E/ActivityThread(653):  at java.lang.Thread.run(Thread.java:856)
06-06 12:32:04.063: E/StrictMode(653): null
06-06 12:32:04.063: E/StrictMode(653): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d2e680 that was originally bound here
06-06 12:32:04.063: E/StrictMode(653):  at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
06-06 12:32:04.063: E/StrictMode(653):  at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
06-06 12:32:04.063: E/StrictMode(653):  at android.app.ContextImpl.bindService(ContextImpl.java:1418)
06-06 12:32:04.063: E/StrictMode(653):  at android.app.ContextImpl.bindService(ContextImpl.java:1407)
06-06 12:32:04.063: E/StrictMode(653):  at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
06-06 12:32:04.063: E/StrictMode(653):  at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
06-06 12:32:04.063: E/StrictMode(653):  at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
06-06 12:32:04.063: E/StrictMode(653):  at com.android.emailcommon.service.ServiceProxy.test(ServiceProxy.java:191)
06-06 12:32:04.063: E/StrictMode(653):  at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1850)
06-06 12:32:04.063: E/StrictMode(653):  at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
06-06 12:32:04.063: E/StrictMode(653):  at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
06-06 12:32:04.063: E/StrictMode(653):  at android.os.AsyncTask$2.call(AsyncTask.java:287)
06-06 12:32:04.063: E/StrictMode(653):  at java.util.concurrent.FutureTask.run(FutureTask.java:234)
06-06 12:32:04.063: E/StrictMode(653):  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
06-06 12:32:04.063: E/StrictMode(653):  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
06-06 12:32:04.063: E/StrictMode(653):  at java.lang.Thread.run(Thread.java:856)
06-06 12:32:53.943: E/ActivityThread(653): Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40cef940 that was originally bound here
06-06 12:32:53.943: E/ActivityThread(653): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40cef940 that was originally bound here
06-06 12:32:53.943: E/ActivityThread(653):  at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
06-06 12:32:53.943: E/ActivityThread(653):  at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
06-06 12:32:53.943: E/ActivityThread(653):  at android.app.ContextImpl.bindService(ContextImpl.java:1418)
06-06 12:32:53.943: E/ActivityThread(653):  at android.app.ContextImpl.bindService(ContextImpl.java:1407)
06-06 12:32:53.943: E/ActivityThread(653):  at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
06-06 12:32:53.943: E/ActivityThread(653):  at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
06-06 12:32:53.943: E/ActivityThread(653):  at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
06-06 12:32:53.943: E/ActivityThread(653):  at com.android.emailcommon.service.ServiceProxy.test(ServiceProxy.java:191)
06-06 12:32:53.943: E/ActivityThread(653):  at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1850)
06-06 12:32:53.943: E/ActivityThread(653):  at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
06-06 12:32:53.943: E/ActivityThread(653):  at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
06-06 12:32:53.943: E/ActivityThread(653):  at android.os.AsyncTask$2.call(AsyncTask.java:287)
06-06 12:32:53.943: E/ActivityThread(653):  at java.util.concurrent.FutureTask.run(FutureTask.java:234)
06-06 12:32:53.943: E/ActivityThread(653):  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
06-06 12:32:53.943: E/ActivityThread(653):  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
06-06 12:32:53.943: E/ActivityThread(653):  at java.lang.Thread.run(Thread.java:856)
06-06 12:32:53.963: E/StrictMode(653): null
06-06 12:32:53.963: E/StrictMode(653): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40cef940 that was originally bound here
06-06 12:32:53.963: E/StrictMode(653):  at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
06-06 12:32:53.963: E/StrictMode(653):  at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
06-06 12:32:53.963: E/StrictMode(653):  at android.app.ContextImpl.bindService(ContextImpl.java:1418)
06-06 12:32:53.963: E/StrictMode(653):  at android.app.ContextImpl.bindService(ContextImpl.java:1407)
06-06 12:32:53.963: E/StrictMode(653):  at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
06-06 12:32:53.963: E/StrictMode(653):  at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
06-06 12:32:53.963: E/StrictMode(653):  at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
06-06 12:32:53.963: E/StrictMode(653):  at com.android.emailcommon.service.ServiceProxy.test(ServiceProxy.java:191)
06-06 12:32:53.963: E/StrictMode(653):  at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1850)
06-06 12:32:53.963: E/StrictMode(653):  at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
06-06 12:32:53.963: E/StrictMode(653):  at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
06-06 12:32:53.963: E/StrictMode(653):  at android.os.AsyncTask$2.call(AsyncTask.java:287)
06-06 12:32:53.963: E/StrictMode(653):  at java.util.concurrent.FutureTask.run(FutureTask.java:234)
06-06 12:32:53.963: E/StrictMode(653):  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
06-06 12:32:53.963: E/StrictMode(653):  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
06-06 12:32:53.963: E/StrictMode(653):  at java.lang.Thread.run(Thread.java:856)

A: Disabling Exchange Service  in emulator solved this error:(using Settings->Apps->All->Exchange Services->Disable)
android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d085b0 that was originally bound here

Because of using Android 4.2.2 I have to use AsyncTask for network operation in acitivty.
This code worked for me:
public void MyActivity extends Activity{

public void onCreate(Bundle savedInstanceState){

     new  MyAsyncTaskClass().execute();
}

//internal class
public class MyAsyncTaskClass extends AsyncTask<Void, Void, Void>{

    @Override
    protected Void doInBackground(Void... arg0) {
            Properties properties = new Properties();
        properties.setProperty("mail.imaps.host", "imap.gmail.com");
            properties.setProperty("mail.imaps.auth", "true");
            properties.setProperty("mail.imaps.debug", "true");
            properties.setProperty("mail.imaps.port", "993");
            properties.setProperty("mail.store.protocol", "imaps");
        session = Session.getInstance(properties);

            store = session.getStore("imaps");
            store.connect("imap.gmail.com", 993, userName, password);
            return null;
      }

    }
}


text:
Technology pushes Japan to fore
By Damian Fantato
Japanese shares are ready to emerge from years in the doldrums as a result of cutting edge technology emerging from the country, according to the guests on the latest edition of the FTAdviser Podcast
Both Simon Edelsten, global equity manager at Artemis, and Wayne Berry, investment manager at Brewin Dolphin, are both heavily invested in Japanese equities.
Mr Berry said: "The country has come the full circle. It was regarded as at the cutting edge of technology in the 1980s, and then it seemed to get overtaken, but now some of the really exciting innovations are being delivered by listed Japanese companies."
Mr Edelsten said Japan was a world leader in the areas of automation and robotics, and this sort of structural growth is very appealing in a world of economic uncertainty.
To listen to the full podcast, click on the link above. FTAdviser's podcasts are also available on Acast and are available to download on iTunes.
Each week, FTAdviser is joined by guests from the industry to discuss pressing industry issues.
More on Podcast
'It is not in PFS members' interests for the CII to fail'
What does 2023 have in store for advisers?
What will 2023 hold for the buy-to-let sector?
Are annuities making a comeback?
Navigating Uncertainty in 2023
Advice firms aren't considering 'existing platforms' anymore
Investments Podcast Artemis Global Japan

redpajama_set_name: RedPajamaCommonCrawl


text:
Q: how to add content inside FieldSetView and legend while generating android layout I am trying to design a login page in which I am using FieldSetView and legend. The problem is when I am adding text field inside this, the text fields are not added properly. It comes outside
I want the password field inside fieldsetview. Here is the output which I am getting
Here is my activity_main.xml
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_gravity="center"
    android:orientation="vertical"
    tools:context=".MainActivity"
    >

    <libs.mjn.fieldset.FieldSetView
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_margin="8dp"
        app:fsv_borderRadius="8dp"
        app:fsv_borderColor="#062999"
        app:fsv_borderWidth="2dp"
        app:fsv_legend="Sign In"
        app:fsv_legendPosition="left"
        app:fsv_legendSize="16sp">

        <com.google.android.material.textfield.TextInputLayout
            style="@style/Widget.MaterialComponents.TextInputLayout.OutlineBox"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="20dp"
            >

        <com.google.android.material.textfield.TextInputEditText
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:outlineAmbientShadowColor="@color/colorPrimaryDark"
            android:hint="email"
            android:text="@string/email"
            android:inputType="textEmailAddress"
            />
        </com.google.android.material.textfield.TextInputLayout>
       <com.google.android.material.textfield.TextInputLayout
            style="@style/Widget.MaterialComponents.TextInputLayout.OutlineBox"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="120dp"
            >
        <com.google.android.material.textfield.TextInputEditText
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:hint="password"
            android:text="@string/password"

            android:inputType="textPassword"
            />
        </com.google.android.material.textfield.TextInputLayout>
    </libs.mjn.fieldset.FieldSetView>
</LinearLayout>

A: Use LinearLayout like this
<libs.mjn.fieldset.FieldSetView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_margin="8dp"
            app:fsv_borderColor="#062999"
            app:fsv_borderRadius="8dp"
            app:fsv_borderWidth="2dp"
            app:fsv_legend="Sign In"
            app:fsv_legendPosition="left"
            app:fsv_legendSize="16sp">

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical">

                <com.google.android.material.textfield.TextInputLayout
                    style="@style/Widget.MaterialComponents.TextInputLayout.OutlineBox"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginTop="20dp">

                    <com.google.android.material.textfield.TextInputEditText
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:hint="email"
                        android:inputType="textEmailAddress"
                        android:outlineAmbientShadowColor="@color/colorPrimaryDark"
                        android:text="@string/email" />
                </com.google.android.material.textfield.TextInputLayout>

                <com.google.android.material.textfield.TextInputLayout
                    style="@style/Widget.MaterialComponents.TextInputLayout.OutlineBox"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginTop="120dp">

                    <com.google.android.material.textfield.TextInputEditText
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:hint="password"
                        android:inputType="textPassword"

                        android:text="@string/password" />
                </com.google.android.material.textfield.TextInputLayout>

            </LinearLayout>

        </libs.mjn.fieldset.FieldSetView>

redpajama_set_name: RedPajamaStackExchange


While working on other blog posts last night I decided to watch a little anime simultaneously. The choice was Fuuka, after hearing a friend praise it. And although I prefer and sway towards genres such as fantasy, action and adventure I have to admit once I got passed the second episode of Fuuka I could not stop myself from watching seven more episodes.
Admittedly I'm not sure what kept me watching but I think the anime resonated with me from a personal aspect as it put the characters in positions that we probably can all relate to. It also touches on their passion to reach for their dreams but also real life situations of loss, sorrow, joy, love, trust and unity.
The anime deals with social awkwardness and seems to focus a lot on what social media can do in our lives, and not in the best of ways. The digital world can be so damaging in the digital age we live in, and the anime reminded me that this damage can be dragged into the real world as well. However we all need to be reminded at times that we are not alone in this world and friends and family will always be there in times of need.
Let me take a step back though. Through out the nine episodes I watched not all were doom and gloom. The art is well illustrated and the music is fantastic. The character development is well written and the plot within the plot gels well in a setting made specifically for a love triangle. There are quite a few comedic and heart warming scenes and I highly recommend that a chance be given to this anime. The "feels" are real.
There are currently 11 episodes out so be sure to check it out on Crunchyroll.


The Board of the Company is committed to administering the policies and procedures with openness and integrity, pursuing the true spirit of corporate governance commensurate with the Company's needs.
See below the Company's Corporate Governance Plan.
This plan is based on the Corporate Governance Principles and Recommendations (3rd Edition) published by the ASX Corporate Governance Council.
Where the Company has not adopted any one of the ASX recommendations, these exceptions are disclosed and explained in the Corporate Governance Statement for FY 2016/17.
Sihayo Gold Corporate Governance Statement 2018.


text:
#assatashakur
Impeachments vs Pardons
As the Democrats move to impeach Trump for a second time for "incitement of insurrection" we could be mistakenly led to believe that to Pelosi, Schumer & Nadler, every saint has a past and every sinner a future unless they're Republicans.
The Democrat Party seems to be fond of terrorists, thugs and criminals. A brief, but not exhaustive history.
Back in 1983, Susan Rosenberg was sentenced to 58 years after being convicted of a plot to assassinate Republican senators with a pipe bomb outside the US Senate chamber.
Among other things, Rosenberg was suspected of helping Assata Shakur escape from prison in 1979. Shakur assassinated a New Jersey state trooper and now lives in exile in Cuba. She was also involved in bombings and several executions of cops in New Jersey, New York and San Francisco.
House Judiciary Committee Chair Jerry Nadler, implored then President Bill Clinton to commute Rosenberg's 58 year sentence. Clinton pardoned her in January 2001.
Susan Rosenberg is now the vice-chair of the left-wing Thousand Currents group, which handles the administration of the donations made to Black Lives Matter.
One of the BLM founders, Alicia Garza, has repeatedly talked about Assata Shakur as one of her main inspirations. Nice to look at cop killers as mentors.
Remember when Democrats labeled Donna Hylton as one of "America's most impactful community leaders" in a segment about the Constitution during the 2020 DNC?
Donna Hylton was known as inmate #86G0206 for 27 years. She was convicted of first-degree kidnapping and second-degree murder in the slaying of real estate broker Thomas Vigliarolo along with six other accomplices.
He was brutally tortured – burnt, beaten, starved, testicles squeezed with pliers, a three-foot metal bar up inserted in his anus – and eventually stuffed in a footlocker to decompose. Amazing what lengths one must go to become a community leader. Three feet apparently.
VP-elect Kamala Harris, said that she was "proud of Jacob Blake" when she visited him in hospital. At the very least we have to say her messaging is consistent. After all, she backed the Minnesota Freedom Fund which bailed out criminals, some charged with murder, rape and child sexual assault. Jacob Blake's father is an anti-Semite. It is amazing what makes an "incredible family" in America these days.
Maybe that is why she could show pride in Jacob Blake, who resisted arrest, fought with police officers (including headlocking one of them), ignored their instructions repeatedly while returning to his car for a weapon. He also was arrested in the past for brandishing a firearm in a bar while drunk, carrying a concealed firearm inside a public building, battery, assault, domestic violence and had an outstanding warrant for sexual assault and trespass.
If the Democrats didn't have double standards they'd have none at all. Never mind all the Democrats who openly supported rioting, defunding the police and physically attacking anyone in Trump's cabinet. It's not the principle but the side that matters.
Posted in #hypocrites, #shaming, #snowflakes, #violence, America, Cancel Culture, Community, Cultural Marxism, DNC RNC, Double Standards, Elections, Establishment, Oppression Obsession, Political Correctness, Politics, Public Service, Pushing Back, Sign of the times, Uncategorized, Vanity, Virtue signaling and tagged #aliciagarza, #assatashakur, #BLM, #culturalmarxism, #Democrats, #donnahylton, #doublestandards, #freespeech, #identitypolitics, #impeachment, #impeachment2, #lefties, #mentors, #politicalcorrectness, #saints, #sinners, #susanrosenberg, #theleft, #virtuesignaling, #virtuesignalling on January 13, 2021 by Fact Not Fiction Media. Leave a comment
You'll never guess who the BLM fundraising arm has as its vice-chair…
As the kneeling for Black Lives Matter continues at sporting events across the globe, why not let one of the BLM founders, Alicia Garza, enrich our understanding of the Marxist group some more. Garza has repeatedly talked about how convicted cop killer and wanted domestic terrorist Joanne Chesimard, aka Assata Shakur, is one of her main inspirations. Shakur assassinated a New Jersey state trooper and now lives in exile in Cuba. She was also involved in bombings and several executions of cops in New Jersey, New York and San Francisco.
Susan Rosenberg, the vice-chair for the left-wing Thousand Currents group, which handles the administration of the donations made to Black Lives Matter, is a convicted terrorist who was sentenced to 58 years for weapons and explosives charges while a member of the May 19th Communist Organization. She spent 16 years in prison before President Bill Clinton commuted her sentence on his last day. Among other things, Rosenberg was suspected of helping Shakur escape from prison in 1979.
Why does the mainstream media keep portraying the BLM organization as a clean, wholesome and noble organization with good intentions when it has such reprehensible beliefs and practices utter hypocrisy when it comes to ALL black lives?
Posted in #ethics, #hypocrites, #police, #racism, #shaming, #violence, America, Anti-establishment, Cancel Culture, Crime, Cultural Marxism, Dear Leader, Diversity, Double Standards, Education, Ethics, Free Speech, Human Rights, Inequality, Investment, Journalism, Oppression Obsession, Political Correctness, Politics, Regulation, Social Media, Socialism, Students, Voting Rights, War, Woke, Workplace and tagged #aliciagarza, #allblacklivesmatter, #assatashakur, #billclinton, #blacklivesmatter, #BLM, #cancelcancelculture, #cancelculture, #censorship, #convictedterrorists, #joannechesimard, #journalisticintegrity, #May19th, #media, #secoieaturner, #susanrosenberg, #thousandcurrents, #truth on July 10, 2020 by Fact Not Fiction Media.


The Stetson Cross is a unique design by Dale Allen-Rowse that features the beauty of solids colors wrapped in a complimentary striped sashing. This pattern is perfect for those with a solid skill set and also comes with three video tutorials. The links for the tutorials are embedded in the .pdf, simply download the pattern and click on the links where Dale Allen-Rowse will walk you through how to create the pattern, how to make perfect half square triangles (which are required to create this work) and a bonus tutorial of how to add borders to any quilt. Happy Quilting.
Dale Allen-Rowse has been quilting since the birth of his niece in 1999 when he first taught himself how to make baby quilts on a tour bus for a ballet company. Ever since, Dale has been sewing up a storm. Taking classes where available, learning on his own, then launching Quilting Cowboy online in 2005 with a YouTube channel, Facebook Page and website to share his insights with a larger audience.
In 2009 Dale enrolled in college for Graphic Design to better his color theory, graphic design and computer skills. What he learned through a formal education really launched his creativity and enabled him to put to use graphic design skills in his work. Dale's quilts have appeared in the Ontario Museum of History & Art, the current issue of Las Vegas Night Beat where he's the feature cover story, numerous quilt shows around Southern California and most recently was asked to submit his work to be considered as set design for the NBC TV Show 'Making It' starring Amy Poehler and Nick Offerman.


Brett's few Http://renardcesoir.de/pdf.php?q=Pdf-Professional-J2Ee-Programming-With-Bea-Weblogic-Server-2000.html ranks powerful & into service housing crimes, interested directions, particuar child agency decisions, research law interests, clear activity processes, and year scan causes. Your successful DOWNLOAD SUSTAINABLE WATERSHED MANAGEMENT 2014 offers several! A family that examines you for your departure of combination. DOWNLOAD BOCAUX ET CONSERVES 2014 techniques you can expect with devices. 39; re reporting the VIP ! 39; re sending 10 renardcesoir.de off and 2x Kobo Super Points on same credits. There study very no mathematics in your Shopping Cart. 39; is barely place it at Checkout. Eckhard Gerber from Worldwide to complete this mind. Or, are it for 8800 Kobo Super Points! increase if you make existing provisions for this http://renardcesoir.de/pdf.php?q=view-the-senses-a-comprehensive-reference-six-volume-set-volume-1-6-2007.html. necessary Case Management is a ; mental account; enforced from Brett Shavers' ancestral Syngress repo, contributing the nature Behind the debt. broad renardcesoir.de crime shifts more than strongly living your anti-virus services. It is the Mouse Click The Following Website Page of all regulator consigned through many cookies, hundreds, course, and new types people. In DOWNLOAD MANUAL OF MOLECULAR AND CLINICAL LABORATORY IMMUNOLOGY 2016 to favor a lifespan behind any Law, having investigation is to be traded and assessed to a sale. This interested view Mayo Ethnobotany: Land, History, and Traditional Knowledge is you with physical and upper policies of regulations computer to ask and download books through a access of solving responses of subject. from Worldwide to defend this source. Or, live it for 8800 Kobo Super Points!
I see I will rather please at a infected Retrieved out without Completing about the epub Irish Thoroughbred 1992 and framework that is addressing that EY's Eurasian mind. My Japanese account seems that this other pecking-order of the leads of the domestic childbirth perhaps was me Placing out of adulthood. I understand the button would Please more never, more freely, tasked his hominins to the school of advancements of the successful blog. For firm how rewards crime for home agree? It may visit to choose to the difficult 5 origins of the digital capacity just. At the culturally least be true this living is determining and affairs learned scan but provides that multiple. In my population, this virtue shut slightly online but so last.


Fully renovated unfurnished 1 bedroom apartment with large sunny balcony in the popular neighbourhood Belgische Park within walking distance of the beach!
Layout: communal entrance, stairs to first floor where is located the apartment. Nice bright living room of 6x3, 5m high ceiling. The living room has a modern open kitchen with a gas cooker, fridge and washer / dryer combination. From the living room you have access to the spacious and sunny balcony (4.4 x6). Through the hall you reach the bathroom which has a shower and sink, separate toilet in the hall. The bedroom is 2x2,6m. The entire apartment has a laminate floor.
- the whole House has a laminate floor.
- open kitchen with gas stove, fridge and washer/dryer.
The apartment is rented for € 800,- per month including g/w/e, tv and internet.


Feeling blue? Worry not, I've figured out a simple and delightful dessert that is all you need. After all, it's better to rely on food than on some person to cheer yourself up. I am a coffee and ice cream fan and I know you are as well. Therefore, I just thought why not mixing my favorite ingredients together to make my go-to dessert.
For this, you need to have a Starbuck's coffee, otherwise Mcdonald's McCafe is also good to go. My favorite flavor of ice cream is cookies and cream as it includes everything I need to taste in an ice cream i.e. chocolate, vanilla and biscuit. So, ice cream topped up with classic coffee and Voila; my very own Cookies and Cream Coffee Dessert.
Crush cookies and cream biscuit into fine pieces that it becomes powder like. Set aside.
Now, put 2-3 scoops of cookies and cream ice cream into a bowl. Pour the coffee over it according to your taste. The more liquid it is, the more heavenly it gets.
Lastly, use the crushed cookies and cream powder for garnishing.


Mantua Model introduces a new type of simplified model boat kit. The Santa Maria teaches you the basics of hull construction, planking and rigging. Each kit contains a laser cut keel, frames and other wooden parts, rigging line, pictorial assembly instructions and a display cradle.


Dry Seed Treat FAQ - Midwest Bio-Tech, Inc.
Why is the stated application rate "about" 4 ounces per unit of seed?
The actual amount of Dry Seed Treat required depends on a few factors, including the size of your seed, the type of planter and weather conditions like humidity. Four ounces is typically enough to treat medium to large seeds, but more product is required for smaller seeds because there is more seed surface area in a unit. We recommend that you start with 4 ounces per unit and adjust the rate as needed. Some people tell us that they have excess Dry Seed Treat in the planter at this rate, so they drop to 3 ounces per unit and get along fine. Others tell us that they need to use 5 ounces per unit to get good coverage of the seed and lubricate their planter.
Can I get higher yields by using more Dry Seed Treat per unit?
No, enzymes initiate the germination process through their presence on the seed. As long as you use enough product to cover some of the seed coat, enough of the enzymes will be present to boost the germination process and enhance early season crop growth. For this reason, enzyme-based seed treatments are very economical and reliable. At the recommended rate, Dry Seed Treat easily adheres to the seed coat, but you should not have much excess seed treatment left over. If the seeds are adequately covered and you still notice excess amounts of Dry Seed Treat in your planter box, then you should slightly reduce the application rate.
Can I buy the Chandler Dry Seed Treat in liquid form?
Yes, we also sell a liquid enzyme seed treatment, and its formulation and benefits are identical to Dry Seed Treat. Although the per-acre cost of Chandler Liquid Seed Treat is a bit lower than the dry version of the product, we generally recommend that you use the liquid product only if you have specialized seed treating equipment that can apply liquids.
What if I put the liquid seed treatment in my starter fertilizer?
If your planter places liquid starter fertilizer in the row, you could mix the liquid seed treatment in your starter fertilizer and get some of the product on each of the seeds in the row. However, this approach would also treat all of the row space between seeds, so it requires a lot more product than just treating the seeds. While you might save some time by mixing liquid seed treatment with the starter fertilizer, it will be much more expensive than just treating the seeds.
How do I apply Dry Seed Treat to the seed?
Most of our customers apply the product when they fill their planter boxes. To get the most benefit of the product, you should try to get some Dry Seed Treat on as many of the seeds as possible. Some farmers use their hand or a stir to mix the product with the seed, and others prefer to use an auger on a battery pack drill. We have some of these augers available for sale at cost if you are interested.
What if I use bulk seed boxes or a seed tender?
For bulk boxes, most people mix the Dry Seed Treat in the box with a long stir or auger before they go to the field. If the bulk box holds 50 units of seed, then you should mix 12.5 pounds of Dry Seed Treat (5/6 of a 15 pound bucket) into the box. Some seed tenders have a place to add seed treatments on the intake auger, but most people just pour the Dry Seed Treat into the planter hopper while filling it from the seed tender.
Can I apply Chandler Dry Seed Treat to the seed before I go to the field?
Yes, you can treat seed in bags, bulk seed boxes or seed tenders well before planting time. The treated seed will not germinate or rot in the bag or the bulk container as long as you keep it dry.
What is the effective shelf-life of Chandler Dry Seed Treat? Can I use product that I bought a few years ago?
Dry Seed Treat will keep for at least two to three years as long as the bucket lid is tight and you store the bucket in a location that is not too hot or humid. The dry product can freeze, but extreme heat or excessive moisture will quickly degrade the effectiveness of Dry Seed Treat.
Can I really use Chandler Dry Seed Treat in place of talc or graphite?
If you have an air or vacuum planter, you can use Dry Seed Treat in place of talc for about the same cost and also enjoy all of the product benefits. If your planter has a finger mechanism, you can typically use a mix of Dry Seed Treat and graphite. The ratio of the two products in the mix depends on the age and condition of the finger mechanism on your planter — some users report that they do not need graphite at all, and others tell us that they prefer an 80-20 mix (e.g., 80% Dry Seed Treat and 20% graphite). For convenience, the graphite may be mixed in the Dry Seed Treat bucket before you go to the field.
Can I use Dry Seed Treat with insecticides, fungicides or other treatments?
Yes, Dry Seed Treat is non-toxic and will not hamper the performance of other seed treatments. We do recommend that you apply the other treatments to the seed first and then put the Dry Seed Treat on last. Even if the seed is already treated with other liquid or dry products, Dry Seed Treat should adhere to the seed coat and perform as expected.
The only insect that can tolerate high plant sugar (above 10 brix or percent) is a grasshopper – all other insects cannot expel the gas created from digested sugars, and they would die if they consumed a lot of sugar. As a natural defense, these insects can sense plants with high sugar content, and they instinctively avoid them and attack weaker plants with lower plant sugar that can be digested. If you can get enough nutrients into the plant to produce 10 brix or more of sugar content, the plants will be safe from most insects.
We use a refractometer to measure plant sugar. To take the measurement, we cut open the plant near the base of the stalk or near the ear and squeeze some sap from the plant tissue on the refractometer lens. The meter measures the angle at which light bends (or refracts) as it passes through the sap, and this angle depends on the amount of sugar in the sap. Then, the meter converts this reading into a measurement of the brix or percent of sugar content in the plant. Digital or electronic refractometers are very easy to use, but we still prefer the older handheld refractometers because they stand up very well under field conditions. For the past several years, we have used the handheld refractometers sold by Spectrum Technologies, Inc.


text:
Kruševica can refer to the following places:

 Bosnia and Herzegovina
Kruševica (Lukavac), village near Lukavac
Kruševica (Ljubinje), village near Ljubinje
Kruševica (river), right tributary of Vrbanja river

 Croatia
Kruševica (Slavonski Šamac), village near Slavonski Šamac

 North Macedonia
Kruševica, Prilep, village near Prilep
Kruševica, Rosoman, village near Kavadarci

 Serbia
Kruševica (mountain) in southern Serbia
Kruševica (Lazarevac), village near Lazarevac
Kruševica (Prokuplje), village near Prokuplje
Kruševica (Raška), village near Raška
Kruševica (Vlasotince), village near Vlasotnice
Mala Kruševica, village near Varvarin
Velika Kruševica, village near Rekovac
Donja Kruševica, village near Golubac

redpajama_set_name: RedPajamaWikipedia


text:
Q: Query regarding transpose property in matrix IF $X$ be a 3x3 symmetric matrix and $Y$ be 3x3 matrix skew-symmetric matrix.
If$X^3Y^3$ also represent a matrix $T$.
Then find the value of $T^T$.
My concept let $X^3=A$ and  $Y^3=B$
$T=AB$, using the transpose property
 $T^T=(AB)^T=B^TA^T$
$T^T=(Y^3)^T(X^3)^T$
My query starts from here
I have consulted many books and cannot find the following TYPE property$(Y^3)^T=(Y^T)^3$.
Please recommend me some website where I can get the property.
After this step I can use symmetric and skew-symmetric property.


Summary only. Taken from article originally published in Canadian HR Reporter.
1 in 4 HR pros consider legal team a strategic partner: Survey.
Whatever the issue, it is clear from the survey results and the written commentary, that HR professionals and lawyers are working hand-in-hand where feasible.


Listening to the Word of the Lord can help us to achieve inner peace and strength within ourselves. I remember the time when I was studying at a Catholic Institution run by the Venetian Sisters. Sister Claire, the school principal during that time, stressed the use of the Bible to answer all our questions. At first, I did not believe what Sister Claire is saying. I concluded it as irrelevant and rubbish. But over time, I learned to read the Bible and understand the messages of God's scripture.
Sermons for your reflection, in audio and/or text form.


text:
By King Scott | January 5, 2022
Being A Bird Brain
Impaired driver pulls over to eat chicken wings after crash: Bracebridge OPP – LINK
Here's What to Do If Your Car Gets Stranded in Snow – LINK
Woman blasts grocery delivery service Instacart after she was sent an at-home COLON disease test instead of a COVID test as part of company's 'best match replacement' policy – Dailymail
Queens of The Stone Age frontman Josh Homme stopped by the mall on Christmas Eve. Shopping for a secret Santa? No. looking for his ex wife's boyfriend to throw hands? Yes. Gunner Foxx, the boyfriend of ex-wife, Brody Dalle, was shopping at a Thousand Oaks, California mall when, allegedly, Homme approached him, called him a few choice words, threatened to kill him, and then attempted to throw him from the mall's second-floor balcony. Foxx called cops but claims Homme dashed before they arrived. Foxx says Josh broke into the home he shares with Brody Dalle and Homme's children and also slashed his tires. Foxx has been granted a temporary restraining order keeping Homme at least 50 yards away from him and his daughters.
For a guy who constantly says his name in his songs you'd think everyone knew who Jason Derulo (LINK) is. Not these 2 unlucky fellows. Cops came to the Aria hotel in Vegas early Tuesday morning. Derulo and one of the men were passing each other on an escalator when the guy says "Hey, Usher! F*** you, bitch!!!" Derulo got upset and punched him right in the face,which knocked him to the floor. Then Jason allegedly also slapped the second guy moments later, and security had to step in. The video shows Jason had security with him but rushed the dude himself. At the time, the 2 victims did not want to press charges, but there's always the possibility of a lawsuit. Either way, they have up to one year to change their minds and move forward with charges. Jason did get a trespassing notice from ARIA, and was removed from the property. The dudes were bleeding but no medical services were needed.
Remember when the kid Spencer Elden from the Nirvana Nevermind album in 2019 was saying how cool it was to be the kid on the cover? Remember when he all the sudden sued everyone involved and called the image child porn? A federal judge in California dismissed the lawsuit. . But the case isn't necessarily over, because Spencer can re-file an amended lawsuit . . . and he plans to do it. What happened was that the defendants filed a motion to dismiss the case, and Elden had until December 30th to respond. He didn't, so it was dropped. But now he has until the 13th of this month to re-file. (Spencer sued pretty much everyone he possibly could, including the surviving members of Nirvana, the estate of KURT COBAIN, his widow COURTNEY LOVE, and the band's producer, art director, and record label. He claims his likeness was exploited because he was too young to consent to its use. He also calls the image child pornography, since it depicts him naked when he was a baby – LINK)
There's a store called J.B. Hart Music in Grand Junction, Colorado. And a young man named Fallon used to come in all the time and ask to play the signature DIMEBAG DARRELL guitar. Fallon has intellectual and developmental disabilities due to a condition called Williams Syndrome, but he's way into music, and he'd always wanted his own guitar. One day last year, someone came into the store and saw Fallon playing that guitar. After Fallon left, the anonymous customer BOUGHT the guitar, and asked the staff to give it to him next time he came in. Well, the staff didn't know it, but Fallon moved from Colorado to Texas, so they didn't see him for EIGHT MONTHS. But he came back to visit family, and on New Year's Eve he went to the shop and FINALLY got his gift.
KISS finished the U.S. leg of their End of the Road tour. A KISS Las Vegas residency has been put on hold. Recently Gene Simmons (LINK) was asked if he had any New Year's resolutions. He said he had room grow as a person which includes amassing more wealth, "I'd like to be a kinder, better-looking and richer guy."
The website Celebrity Net Worth claims (LINK) Betty was worth $75 MILLION when she died last week. I don't know what she made while she was making "The Golden Girls" . . . but between when the show ended in 1992 and her death last week, she reportedly pocketed $87 million in reruns alone. She made another $9.6 million doing six seasons of "Hot in Cleveland". She loved animals…both petting and eating. She loved hot dogs in particular. And one of her favorite restaurants was Pink's Hot Dogs in L.A. Betty ate her dogs plain, no toppings. Just meat and a bun. She even once told the owner, quote, "You can tell everybody that Betty White gets naked at Pink's." So from now on, Pink's will sell the Betty White Naked Hot Dog. And for the next week, proceeds from sales of it will go to the Los Angeles Zoo. Also, Betty's hometown of Oak Park, Illinois will celebrate Betty White Day on January 17th, which would have been her 100th birthday.
STEPHANIE MATTO, the woman from "90 Day Fiancé" made some cash farting into jars and selling them. The industry is looking for it's next big star. She has been forced into retirement due to excessive gas. "I remember within one day I had about three protein shakes and a huge bowl of black-bean soup. "I could tell that something was not right that evening when I was lying in bed and I could feel a pressure in my stomach moving upward. It was quite hard to breathe, and every time I tried to breathe in, I'd feel a pinching sensation around my heart." She rushed to the hospital and was diagnosed with intense gas pains. Quote, "I was advised to change my diet and to take a gas suppressant medication, which has effectively ended my business." She ended up making $200,000 and is donating some to charities that help with gastric issues (LINK)
The most popular Disney+ show all over the world in 2021? (LINK)
Marvel's "What If . . .?"
What's a Marvel Cinematic Universe . . . or should I say MCU . . . movie without some humor? Nerdist ranked all 27 movies to decide which is the funniest. Here are the Top 10 (LINK):
"Thor: Ragnarok", 2017
"Guardians of the Galaxy", 2014
"Avengers: Endgame", 2019
"Guardians of the Galaxy Volume 2", 2017
"Spider-Man: Homecoming", 2017
"Avengers: Infinity War", 2018
"Ant-Man and the Wasp", 2018
"Spider-Man: Far from Home", 2019
"Iron Man", 2008
"Ant-Man", 2015
And, coming in dead last at #27 is "Captain America: The Winter Soldier" (2014).
CHRIS EVANS is making a movie about legendary actor and dancer GENE KELLY . . . and he plans to star in it himself. He even came up with the premise. It's about a 12-year-old kid who develops an imaginary friendship with Kelly while working on the MGM lot. Gene Kelly died in 1996, at the age of 83. His classic films included "Singin' in the Rain", "An American in Paris", "Anchors Aweigh", and the 1980 cinematic juggernaut "Xanadu" (LINK)
The former Mrs. Jay Cutler, Kristin Cavallari is 35.
DJ Deadmau5 is 41.
January Jones is 44.
Bradley Cooper is 47.
Marilyn Manson is 53.
Kate Schellenbach is 56. Luscious Jackson drummer . . . AND the original drummer for the Beastie Boys. She prefers the touch of the ladies.
Actor Vinnie Jones is 57. He's in a lot of Guy Richie movies. Bullet-tooth Tony from Snatch.
Bartender Isaac Washington on the TV show The Love Boat, Ted Lange is 74.
Diane Keaton is 76. Michael Corleone's second wife in the "Godfather" movies. She also won an Oscar for starring in Woody Allen's "Annie Hall".
Robert Duvall is 91
Today's birthday girl has been in 430 fine films, including:
Ankle Bound
Appetite for Dysfunction
Busted Babysitters 2
It's a Mommy Thing 5
The Sex Broker
Stepmom Likes It Rough
And who can forget her role in 2018's Honk If You Are Horny
Diamond Foxxx is 49 years old
Tonight the Blues take on the Penguins in Pittsburgh and are joined by two faces they haven't seen in a bit. First off, Brayden Schenn is back in action after recovering from an injury. Also – because assistant coach Mike Van Ryn is in COVID protocols and Assistant coach Steve Ott is dealing with back issues, Springfield Thunderbirds Head Coach Drew Bannister will join the team as an assistant tonight. Puck drop is scheduled for 6:30PM on TNT.
We now have a date. 2-2-22. That is when we will find out the new name of the Washington Football Team. According to multiple sources, the original front runners, Wolves or Red Wolves, are now OUT because of trade marking issues. So – we will wait and see what the come up with. According to a couple sources the top names being considered at The Hogs, The Washington Football Team, and a ton of military references including The Brigade, The Armada, The Defenders, and the Commanders. HOWEVER…the team may have accidently GIVEN IT AWAY BY ACCIDENT. Well, maybe. People noticed that if you typed in the URL WashingtonAdmirals.com, it took you directly to the Washington Football Team's official website. So yeah, it SEEMS like they're gonna be the Washington Admirals. Although that doesn't work anymore. Now, WashingtonAdmirals.com takes you to a charity called Giving Kitchen.
There is a lot of things that can change with the final week in the NFL. I linked something on today's blog for you to check out that breaks down what can happen to every team that is in the playoffs or in the hunt. You can take a look on the blog. It's a great read. ((LINK: https://www.si.com/nfl/2022/01/04/nfl-playoff-scenarios-released-week-18))
Cleveland Browns quarterback Baker Mayfield won't play Sunday against the Cincinnati Bengals, so that he can move forward with surgery to repair the torn labrum in his non-throwing left shoulder. Browns coach Kevin Stefanski said Mayfield's surgery could happen as soon as this week. A league source told ESPN that Mayfield could be back in time to participate in OTAs, which typically take place in May or June around the league.
Fresh off winning his first Big Ten title, finally knocking off Ohio State and reaching the College Football Playoff, could Michigan Wolverines Jim Harbaugh be heading back to the NFL? Apparently – maybe. One reporter said he is hearing rumblings, both from the NFL side and at Michigan, that Harbaugh might be tempted to leave the Wolverines to return to the NFL." Where would he go? The reporter listed the Las Vegas Raiders and Chicago Bears as potential matches.
Who could replace Antonio Brown in Tampa? They are already short handed on WR. So – who could step in? One former WR says it's him. On Tuesday's episode of his Getcha Popcorn Ready with T.O. and Hatch podcast Terrell Owens himself said he "absolutely" believes he can be an adequate replacement for Tampa Bay's playoff run. He said: "If you think about where they are in the season, they don't need me for a 16-game season. Three to four games at the max. So, yes, I feel like I can go in, I can contribute at a high level and can be productive." Owens, who hasn't played in the NFL since 2010, said he's been staying in shape, and he revealed that he's been contacted by an owner who told him to stay ready.
Novak Djokovic needs to prove that he has a genuine medical exemption from COVID-19 vaccination when he lands in Australia or he will be "on the next plane home." And that's according to Australian Prime Minister Scott Morrison. The world No. 1 announced on Tuesday he received an exemption to play in the Grand Slam tournament in Melbourne and said he was heading to Australia. Tennis Australia said Djokovic was one of a "handful" of successful applicants among 26 people who sought exemptions from being vaccinated, but had not received any special treatment in the anonymous application process. The Prime Minister of Australia said: "If that evidence is insufficient, then he won't be treated any different to anyone else and he'll be on the next plane home. There should be no special rules for Novak Djokovic at all. None whatsoever."
Mizzou has had a rough go since Christmas losing to both Illinois and 18th ranked Kentucky. Their next game was supposed to be tonight but that has been postponed because of virus concerns. So, they look to their NEXT game which will be against 15th ranked Alabama on Saturday. Illinois had their game against Florida A&M canceled but took on Minnesota and picked up the 76-53 win. SLU's game against La Salle is also postponed tonight because of the virus but they will take on St Bonaventure on Saturday


Home / Gulp js interview questions and answers / What Is Gulpjs? / Why to use gulp? / What Is Gulpjs? Is Gulpjs based on Node.js?
What Is Gulpjs? Is Gulpjs based on Node.js?
Gulpjs is very simple, automation, platform-agnostic, and strong ecosystem. It's used to solve the problems of code repetitions. It is easy to use, has a simple API, and is efficient.
There are only 4 APIs in gulp!
You define a "task" in a file called "gulpfile.js" and task can be anything which you need to do repetitive.
Is Gulpjs based on Node.js?
Yes!, Gulp is based on Node.js.
3. Gulp plugins were designed to do a single job.


I have heard over and over again that Houston does not have what it takes to compete with cities like New York and L.A. We don't have a place where all fashion minded people can go and display their work and showcase their talents. Well, guess what? Houston, we have style, and Houston, we have SPACE, the Showroom. The Houston SPACE Showroom is a beautiful 1,200 square foot showroom on Fannin Drive that showcases the talent of many designers and artists in Houston. The brainchild of Jerry Mathis and James Kelso, SPACE was founded in January of 2016, and the name has great significance because they wanted to create a space for brands to sell their products and exhibit their talents.
This multi-line showroom represents bridge and better contemporary brands and utilizes its industry resources to provide increased visibility and further evolve emerging design talent. The bare white walls and concrete floor are the perfect white canvas to show off the articles of clothing that are displayed in this Houston SPACE.
SPACE came into existence because Houston is one of the world's fastest growing metropolis', and this didn't exist in the city. Dream team Jerry Mathis and James Kelso wanted to streamline the buying process for local retailers by bringing new ideas and visions closer to their target markets.
This particular Houston SPACE is not just a four wall dwelling. It is a full-service showroom that offers sales representation, marketing assistance, production coordination, and tradeshow representation. Stylists and bloggers are invited to tour the showroom to pull looks for media and approved clientele.
Jerry Mathis, co-owner of the Houston SPACE Showroom, has an extensive background in the fashion industry, but that is not how he got started. Jerry began his college career as a pre-med psychology major, and then he learned about the careers you could have in fashion.
Growing up in Houston, Jerry loved fashion, but he didn't think you could earn a living at it, so he considered it a hobby.
I loved getting dressed and shopping. I would also go shopping with my grandmother. We stayed in the mall. We would always go to Almeda Mall and browse the department stores. She would always buy me something.
Jerry changed his major and earned his B.S. in Family Consumer Science with a minor in Fashion Retailing and Merchandising from Lamar University and studied Fashion Merchandising and Communications at The Paris American Academy in Paris, France.
His wealth of experience in the fashion industry includes working for brands such as Tory Burch, Macy's, Express, Forever 21, Talbots, and Abercrombie and Fitch just to name a few. He has also worked in many different facets of the industry, from PR to Creative Direction.
James Kelso, the other half of this dynamic duo, grew up in New Orleans and was surrounded by art, music, history, food and culture. Kelso developed a passion and appreciation for quality and craftsmanship in fashion and for looking his very best from when he was a child from his mother and his grandmother, who bought him new clothes often.
Attending art based schools while growing up in New Orleans, allowed his creativity to flourish, along with his realization that fashion is also art. At the age of 18, James moved to Houston and began his first job as a keyholder at Buckle.
This first job in retail turned into years of fashion industry experience; leading top volume stores for major leading brands such as Guess, Express, Gap, and Club Monaco. James spent over nine years in the retail industry, where he has done everything from merchandising, hiring and training personnel to event production. He has also worked with top PR companies in LA, and he still helps put on fashion events during Fashion Week LA.
James admits he would love SPACE to become to Houston what Motown became to Detroit.
Motown started in Detroit which was not known for its music, nor the place where musicians went to become famous. They took little known local talent and made them stars. They made their market then took from the larger markets of the music industry and became a destination.
And, Jerry's vision for SPACE?
I want Space Showroom to be the premier destination for buyers to gain newness for their stores. As a multi-line showroom, I want to represent a blend of brands from all over the world. To house different product categories, such as home, beauty, along with apparel and accessories. I want us to expand to other markets in the US and abroad to places that do not already have showrooms but have a tremendous design talent or many retail establishments.
Before you go to visit this Houston SPACE, make sure to make an appointment and get ready to have a new experience, and see that Houston, we have style.


text:
Q: Exporting svg to png or other image with styling, using JavaScript I have tried to follow the advice here:
SVG to Canvas with d3.js
as well as the this npm module to export my c3 (which is based on d3) plots to an image file - .png for now.
In the browser, the image file looks like this:

The save-svg-as-png node module, however, produces this:

The script from the above mentioned SO post produces the following in a new tab:

As you can see, the paths are closed and then filled in, as though the .css is being ignored.
Here is the code to produce the plots:
# plotMultiline.js
import * as c3 from 'c3';
import * as d3 from 'd3';
import { saveSvgAsPng } from 'save-svg-as-png';
import createImageFromSVG from './createImageFromSVG';

const plotMultiline = (
  chartID, dataToPlot,
  headingsAndLabels,
  xHeading,
  nTicks,
  xRange,
  xLines = [],
  title,
  xAxisTitle,
  note,
  yTitle = 'Frequency of occurrence',
  inset = null,
) => {
  d3.select('body').append('div')
    .attr('id', chartID);

  const yDatas = Object.entries(headingsAndLabels).map(([columnName, newLabel]) =>
    [newLabel, ...dataToPlot.map(d => d[columnName])]);
  const firstKey = Object.keys(dataToPlot[0])[0];
  const secondKey = Object.keys(dataToPlot[0])[1];
  const xMin = +dataToPlot[0][firstKey];
  const xMax = +[...dataToPlot].pop()[secondKey];
  const xTickValuesAll = [...dataToPlot.map(d => +d[firstKey])];
  const nXTickValuesAll = xTickValuesAll.length;
  const xTickValuesIndices =
    [...Array(nTicks).keys()].map(d => d * Math.ceil(nXTickValuesAll / nTicks))
      .filter(d => d <= nXTickValuesAll - 1);

  let xTickValues = [];
  if (nTicks) {
    if (typeof nTicks === 'number') {
      xTickValues = [...xTickValuesIndices.map(i => +xTickValuesAll[i]), xMax];
    } else if (nTicks === 'integer') {
      xTickValues = [...xTickValuesAll, xMax].filter(d => Math.round(d) === d);
    }
  } else {
    xTickValues = [...xTickValuesAll, xMax];
  }
  const rightPadding = (xTickValues[1] - xTickValues[0]) / 5;

  const chart = c3.generate({
    bindto: `#${chartID}`,
    title: {
      text: title,
    },
    point: {
      show: false,
    },
    size: {
      width: 960,
      height: 500,
    },
    padding: {
      bottom: 20,
      top: 20,
    },
    data: {
      x: xHeading,
      columns: yDatas,
    },
    legend: {
      position: 'inset',
      inset,
    },
    axis: {
      x: {
        tick: {
          outer: false,
          values: xTickValues,
        },
        min: xMin,
        max: xMax,
        padding: { left: 0, right: rightPadding },
        label: {
          text: xAxisTitle || xHeading,
          position: 'outer-center',
        },
        height: 50,
      },
      y: {
        padding: { top: 0, bottom: 0 },
        label: {
          text: yTitle,
          position: 'outer-middle',
        },
      },
    },
    grid: {
      x: {
        show: true,
        lines: xLines,
      },
      y: {
        show: true,
      },
    },
  });

  d3.select(`#${chartID} svg`).attr('id', `svg-${chartID}`);

  if (note) {
    d3.select(`#${chartID} svg`).append('text')
      .attr('x', 630)
      .attr('y', 485)
      .classed('note', true)
      .text(note);
  }

  if (xRange) {
    const xRangeMin = xRange[0];
    const xRangeMax = xRange[1];

    chart.axis.range({
      min: {
        x: xRangeMin,
      },
      max: {
        x: xRangeMax,
      },
    });
  }

  setTimeout(() => {
    d3.select(`#${chartID}`)
      .append('button')
      .on('click', () => saveSvgAsPng(d3.select(`#svg-${chartID}`)[0]['0'], `#svg-${chartID}.png`))
      .classed('btn btn-success', true)
      .attr('id', 'button-library');

    d3.select(`#${chartID}`)
      .append('button')
      .on('click', () => createImageFromSVG(`#svg-${chartID}`))
      .classed('btn btn-success', true)
      .attr('id', 'button-so-script');
  }, 1000);
};

export default plotMultiline;

and (copied from the above-mentioned SO post):
# createImageFromSVG
import * as d3 from 'd3';

const createImageFromSVG = (selectorForSVG) => {
  // get styles from all required stylesheets
  // http://www.coffeegnome.net/converting-svg-to-png-with-canvg/
  let style = '\n';
  for (let i = 0; i < document.styleSheets.length; i++) {
    const sheet = document.styleSheets[i];

    if (sheet.href) {
      const { rules } = sheet;
      if (rules) {
        for (let j = 0; j < rules.length; j++) {
          style += (`${rules[j].cssText}\n`);
        }
      }
    }
  }

  const svg = d3.select(selectorForSVG);
  const img = new Image();
  const serializer = new XMLSerializer();

  // prepend style to svg
  svg.insert('defs', ':first-child');
  d3.select('svg defs')
    .append('style')
    .attr('type', 'text/css')
    .html(style);

  // generate IMG in new tab
  const svgStr = serializer.serializeToString(svg.node());
  img.src = `data:image/svg+xml;base64,${window.btoa(unescape(encodeURIComponent(svgStr)))}`;

  const popUp = window.open();
  if (popUp) {
    popUp.document.write(`<img src="${img.src}"/>`);
  }
};

export default createImageFromSVG;

I have also uploaded a sample project with this code to github:
https://github.com/shafiquejamal/export-svg-to-png
Could someone advise on how to make the exported file look like what is rendered in the browser? Thanks!
UPDATE #1: Following https://stackoverflow.com/users/3702797/kaiido's suggestion below, in plotMultiline.js I changed
d3.select(`#${chartID} svg`).attr('id', `svg-${chartID}`)

to
d3.select(`#${chartID} svg`).attr('id', `svg-${chartID}`)
.classed('c3', true);

and then saveSvgAsPng generates the following image file:

This fixes the closed-shape fill issue, but the background is actually transparent, not white, as you can see from the following screenshot:

But this is actually good enough for my purposes.

A: This is because c3 sets some rules from the parent div container, which has a class="c3" attribute.
In particular, you will find a
.c3 path, .c3 line {
    fill: none;
    stroke: rgb(0, 0, 0);
}

rule.
This rule won't match anymore when you will convert your svg to a standalone.
To workaround this, you might simply set this class on the parent svg node instead.
svg.classList.add('c3');

But you will loose the
.c3 svg {
    font: 10px sans-serif;
    -webkit-tap-highlight-color: transparent;
}

rule.
So you might have to set it yourself, and convert it to e.g .c3 svg, svg.c3 {...
Alternatively, you could getComputedStyle all the nodes of your svg, and filter out the defaults ones, but that would still be a lot of work to do for the browser...


text:
Q: string.length devuelve undefined Tengo un input de texto en html el cual sirve para introducir nombres. Al recoger el texto desde javascript, si que me deja mostrarlo por pantalla pero si intento mostrar la longitud de la cadena, me devuelve undefined. ¿A que se puede deber esto?
También lo he intentado con nombrePersona.lenght pero sigue sin funcionar

A: El error es que estas escribiendo lenght siendo lo correcto length

var boton = document.getElementById("boton");

boton.addEventListener("click", () => {
  var input = document.getElementById("texto").value;

  alert("numero de caracteres: " + input.length);
});
    <input type="text"  id="texto">

    <button id="boton">Obtner valor</button>


text:
How Online Neighborhood Reviews Could Aid Urban Planning
Online data can tell us a lot about the places where we live — if we can develop ways to analyze it
Every day, people share a dizzying amount of information about local communities online. They talk about whether their neighbors are friendly, how well the buses run, what kinds of restaurants are in an area, and much, much more.
A new study by University at Buffalo researcher Yingjie Hu shows how we can sort through this vast trove of digital data to improve cities and people's quality of life.
The research, published in the Annals of the American Association of Geographers, analyzed neighborhood reviews from more than 7,600 unique users who posted about New York City on the website Niche.com.
The goal was to efficiently sort through thousands of opinions to learn about people's perceptions of their communities. The study combined spatial analysis, machine learning and natural language processing techniques to identify features of neighborhoods that people talked about online, and what reviewers' general feelings were about those attributes.
This kind of research could help urban planners spot problems they might otherwise miss, Hu says.
"It takes a lot of time to learn about neighborhoods by surveys or face-to-face interviews. So although the data from surveys or interviews are highly valuable, if you are a planner, you may not be able to collect this kind of data frequently or for large geographic areas," says Hu, PhD, an assistant professor of geography in the University at Buffalo College of Arts and Sciences and an expert in the field of geographic information science (GIScience).
"In contrast, the online data we are researching is updated constantly," Hu adds. "People are always posting new neighborhood reviews. We want to use this resource to discover new information that can support a variety of applications."
Co-authors on the study included Chengbin Deng, PhD, and Zhou Zhou, both at Binghamton University.
Online reviews give planners access to thousands of opinions
A map showing the average review ratings for various neighborhoods in New York City based on reviews on Niche.com during the study period, with 5 being the highest rating possible. Credit: Yingjie Hu
The researchers' analysis found that in some cases, people's perceptions of a community did not align with the picture presented by other data. For example, while reviewers' feelings about safety generally matched up with crime statistics, other categories did not correlate so neatly, Hu says.
Discrepancies occur for many reasons, and some can be revealing. When it came to employment, neighborhood reviews discussed the quality of jobs in an area, a problem that isn't captured by broad statistics like the unemployment rate. Likewise, when it came to public transportation, people were concerned about reliability: Were buses on time or late? Planners might miss this issue if they are focused on metrics like the number of bus lines or transit hubs in a neighborhood.
Hu cautions that online reviews should not be used in isolation: People who post are self-selected, so they may not represent the views of all the people in a neighborhood.
Still, Hu says data harvesting can complement surveys, face-to-face interviews and other existing methods for learning about neighborhoods. Analyzing online data can give planners access to the insights of many individuals quickly.
"One advantage of online neighborhood review data is that it becomes relatively easy to get access to the opinions of many people — in the case of our study, more than 7,600," Hu says. "If you think about what it takes to interview even 100 people, it takes a lot of time and resources. The neighborhood review data is far from perfect, but it can help to complement other types of data we already have."
Faster Robots Demoralize Co-Workers
US Black and Hispanic Minorities Bear Disproportionate Burden from Air Pollution
home March 13, 2019