It’s freaking difficult to migrate WP blogs

You would think it is easy, export, import, then bang, all works!

Not that easy.

Unless it’s a toy web site with a few pages, your import process will time out. The share host environment for example will terminate your import process in a few mins.

I looked online. I may try “WordPress WXR File Splitter (RSS XML) — Updated v1.52!”

I have to split my WXR file into smaller chunks, then import a few times.

Shame on WordPress, for a software being there for years, still the import/export features will not actually work for most users.

samsung s7 release date

samsung s7 release date

For folks who are interested in knowing when s7 was released, here is the sort answer: March 11, 2016.

Samsung s7 was officially unveiled on February  21, 2016 during a Samsung press conference at Mobile World Congress, with a European and North American release on March 11 2016. As with the S6, S7 is manufactured in a standard model with a display size of 5.1 inches, as well as an Edge variant whose 5.5-inch display is curved along the wide sides of the screen.

PWA appstore, anyone?

There are lots of hypes about Progressive web apps (PWA). However, it may not fly for a few reasons:

1. There are no centralized app stores so users cannot find the apps, reviews, ratings, no. of  downloads etc. to guide them what apps to use

2. No centralized app stores to handle the security check so users are not willing to take the risks as PWAs do have access to users’ cameras etc. On the other hand, developers do not have the incentive to develop such apps as no one is promoting them in an appstore, developers do not want to handle the payments for a few dollars per app if no appstore can do that for them.

3. As a result, so far, no great PWA apps to use, and most of the PWAs are toy apps, free.

My question is, if Google is really serious about PWA, why not they also list PWAs in there play store the same way they treat native apps?

Great concept, but no one is really serious about it or executing it.

On the other isde of the world, WECHAT Xiaochengxu (small programs) is doing the similar things but it can only run on WeCHAT app, which itself is really cross-platform. You do not need to install/uninstall Xiaochengxu but developers and users take advanatge of wechat’s platform, the community, payment, users and groups etc.. It excited the Chinese IT community since it was relased on 1/9/2017 and will be more successful then  PWA I think. It is more like a Tencent’s OS running on top of JS scripts.

Having said that, I do see a PWA appstore at:

http://atlantaonlinegaragesale.ichinesenews.com/22-pwa-apps?orderby=reference&orderway=asc

PagePlus Refill: KittyWireless vs PinCheap

I read a lot great information about PagePlus from kittywireless. The web site is not professional looking but it does have the most information about PagePlus prepaid program available in the internet. To show my appreciation, I chose to buy my next refill from kittywireless to at least give a try.

To be honest, the process is rediculously and unnecessarily complicated.

To me, I just wanted to get my PagePlus pin, pay by credit card and get the pin immediately and add it to my PagePlus account.

However, when in kittywireless, I had to do the following:

  • Verify my cell phone number
  • fill out a form with all my contact information along with my credit card info
  • you have to create a user account there
  • I have to provide a landline number so they can verify my address? (never have I done that with other e-commerce web site)
  • e-sign a form to do business with kittywireless (never have I done that with other e-commerce web site)
  • if you are a new customer, they cannot email you the pin
  • after i went through all this, the next day, I got the email saying that my transaction was cancelled because they could not verify my account/address. By the way, I used this credit card for years with any problem with other web sites
  • I wasted all my time creating this account and now I got nothing. That means, I WASTED all my time
Heck, I just wanted to pay my money, get my pin and add it to my account so I can make calls. Kittywireless does not understand e-commerce. When users wants to buy things online, they wanted it as soon as possible.
So here we had pincheap. It allows to do just that, no PagePlus phone number verification, no landline phone requirements(who has landline numbers those days anyway, are you NUTS?), no e-sign with a third-party web site, no…. just pay your bills, pin was shown in web site almost instantly. I then went to pagepluscircular.com and applied my pin and voila, I have my PagePlus account refilled.
Just one small issue with pincheap, they list credit cards as one of the payment methods, howver, the web site could only work with paypal, from my experience with CHrome web browser. By the way, you have to disable pop-up blocking, otherwise payment would not work. (After you log into paypal, you still have the option to pay with a credit card though)
Lastly but most importantly, if you buy PagePlus $80 365-day 2000 minutes pin, kittywireless sells at $80 face value, while pincheap offers it at a discounted $74, which is really NICE!

    Weird Jenkins Error: java.lang.NoClassDefFoundError: hudson/model/ComputerSet

    I finally got passed that Jenkins NoClassDefFound error when managing nodes… Now no such errors and the system was back. The slave machines are back to work and projects are building now!

    The Jenkins error message (the log jenkins.log is under /var/log/jenkins/ in a standard standalone Linux installation) does not make sense and was misleading:

    May 29, 2012 3:03:32 PM hudson.triggers.SafeTimerTask run

    SEVERE: Timer task hudson.model.LoadStatistics$LoadStatisticsUpdater@12c8855 failed

    java.lang.NoClassDefFoundError: hudson/model/ComputerSet

    at hudson.model.LoadStatistics$LoadStatisticsUpdater.doRun(LoadStatistics.java:215)

    at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)

    at java.util.TimerThread.mainLoop(Timer.java:512)

    The class was there. We just need to remove nodeMonitor.xml when migrating Jenkins instance.

    nodeMonitors.xml: when migrating to another instance of Jenkins, remove the old nodeMonitors.xml to solve that NoClassDefFound erroe/issue as follows:

    sudo  mv /var/lib/jenkins/nodeMonitors.xml /var/lib/jenkins/nodeMonitors.xml.old

    nodeMonitors.xml will be automatically generated.

    During the time I tried to resolve the issue, I also tweaked the JDK setting in Jenkins config. I added a jdk named jdk1.6-/usr/java/default/bin/java with JAVA_HOME: /usr/java/default

    Be sure to take this out in Jenkins config if you are using slaves; it depends on slave machines env varianle JAVA_HOME. Adding this only confuses the salve machine as this overrides its local JAVA_HOME setting. If your master machine is Linux and your slave machine is Windows(like for building .net applications we we also are doing, in addition to Java jobs), this will definitely cause an error: incorrect JDK home.

    Cannot upload photos from WordPress app?

    It failed me from both n900 and touchpad.

    Will try this out per WordPress suggestions:

    I can’t upload photos/videos, I get a “Failed” error message. What do I need to do?

    If you’re running WordPress 2.9.2 or later please be sure to add the following lines to your root .htaccess file:
    php_value memory_limit 128M
    php_value upload_max_filesize 128M
    php_value post_max_size 128M
    php_value max_execution_time 120

    Finally, got osgi hot deployed in Glassfish V3!

    The tricky part is, no matter what the online tutorials say (/opt/SUNWappserver/domains/domain1/autodeploy/bundles), the default hot deploy folder out of box for Glassfish V 3.0.1 for osgi auto deployment is:

    /opt/SUNWappserver/domains/domain1/config/load

    as indicated below:

    [#|2010-11-11T16:53:20.863-0500|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=17;_ThreadName=Thread-1;|{felix.fileinstall.poll (ms) = 2000, felix.fileinstall.dir = /opt/SUNWappserver/domains/domain1/config/./load, felix.fileinstall.debug = -1, felix.fileinstall.bundles.new.start = true, felix.fileinstall.tmpdir = /tmp/fileinstall--5626012334122035867, felix.fileinstall.filter = null}|#]

    After I did the following,

    cp  /opt/SUNWappserver/domains/domain1/autodeploy/bundles/plugins/HelloOSGi_1.0.0.jar  /opt/SUNWappserver/domains/domain1/config/load/

    all works as expected:

    [#|2010-11-11T16:53:20.857-0500|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=11;_ThreadName=Thread-1;|Hello World!!|#]

    [#|2010-11-11T16:53:20.863-0500|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=17;_ThreadName=Thread-1;|{felix.fileinstall.poll (ms) = 2000, felix.fileinstall.dir = /opt/SUNWappserver/domains/domain1/config/./load, felix.fileinstall.debug = -1, felix.fileinstall.bundles.new.start = true, felix.fileinstall.tmpdir = /tmp/fileinstall--5626012334122035867, felix.fileinstall.filter = null}|#]

    [#|2010-11-11T16:53:20.868-0500|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=17;_ThreadName=Thread-1;|Goodbye World!!|#]

    [#|2010-11-11T16:53:20.876-0500|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=17;_ThreadName=Thread-1;|Hello World!!|#]

    [#|2010-11-11T16:53:20.876-0500|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=17;_ThreadName=Thread-1;|Updated /opt/SUNWappserver/domains/domain1/config/load/HelloOSGi_1.0.0.jar|#]

    [#|2010-11-11T16:53:22.882-0500|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=17;_ThreadName=Thread-1;|A bundle with the same symbolic name (HelloOSGi) and version (1.0.0) is already installed.  Updating this bundle instead.|#]

    [#|2010-11-11T16:53:22.883-0500|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=17;_ThreadName=Thread-1;|Goodbye World!!|#]

    [#|2010-11-11T16:53:22.893-0500|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=17;_ThreadName=Thread-1;|Hello World!!|#]

    [#|2010-11-11T16:53:22.893-0500|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=17;_ThreadName=Thread-1;|Installed ./load/HelloOSGi_1.0.0.jar|#]

    [#|2010-11-11T16:53:22.894-0500|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=17;_ThreadName=Thread-1;|Started bundle: file:/opt/SUNWappserver/domains/domain1/config/./load/HelloOSGi_1.0.0.jar|#]

    Open-source solutions commonly used in Java UI development

    Format is:

    For each third party library:

    1) Name of all the third party software used in your components.

    2) Version

    3) Website where I can get that tool.

    4) One line summary.

    Here is the list:

    Simple Logging Facade for Java (SLF4J)

    rev=”1.5.8″;

    www.slf4j.org/

    The Simple Logging Facade for Java or (SLF4J) serves as a simple facade or abstraction for various logging frameworks, e.g. java.util.logging, log4j and logback, allowing the end user to plug in the desired logging framework at deployment time.

    PrimeFaces

    rev=”0.8.3″

    http://www.primefaces.org/

    PrimeFaces is a lightweight open source component suite for Java Server Faces 2.0 featuring 100+ rich set of JSF components. Additional TouchFaces module features a UI kit for developing mobile web applications.

    hibernate

    rev=”3.2.3.ga”

    www.hibernate.org/

    Hibernate an open source Java persistence framework project. Perform powerful object relational mapping and query databases using HQL and SQL.

    click framework

    rev=”2.1.0-RC1-incubating”

    click.apache.org/

    Click Framework is a modern JEE web application framework, providing a natural rich client style programming model.

    Apache Tomcat

    rev=”6.0.14″

    tomcat.apache.org/

    Apache Tomcat (or Jakarta Tomcat or simply Tomcat) is an open source servlet container developed by the Apache Software Foundation (ASF).

    JSP/JSF Expression Language Implementation

    rev=”1.0″

    download.java.net/maven/glassfish/org/glassfish/web/elimpl/

    A JSP/JSF Expression Language Implementation