Category: <span>Uncategorized</span>

Last month i was nominated as IBM Champion for ICS 2017  and now  IBM Champion for Cloud 2017 for the first time.

Thank you to everyone and IBM  who nominated me. It’s an honor.

What is an IBM Champion?

“IBM Champions demonstrate both expertise in, and extraordinary support and advocacy for, IBM communities and solutions.”

Screenshot2014-12-0221.53.15

Uncategorized

Bots is a high topic these days and i revisited this kind of application last week.

I created a Translation Bot based on this article from IBM.

This Sametime Bot get the text, send to IBM Watson Translation Service and return the translated text to the user.

public void textReceived(ImEvent e) {           
        String q = e.getText();       
        //here we connect to watson and get the translation
        LanguageTranslation service = new LanguageTranslation();
        service.setUsernameAndPassword("<username>","<password>");
        service.setEndPoint("https://gateway.watsonplatform.net/language-translator/api");
        List<IdentifiedLanguage> identifiedLanguages = service.identify(e.getText()).execute();
        String lang = identifiedLanguages.get(0).getLanguage();
        String idiomaPt = "pt";
        String idiomaEn = "en";
        String idiomait = "it";
        if (lang.equals(idiomaPt) | lang.equals(idiomait)) {
            TranslationResult result = service.translate(e.getText(),Language.PORTUGUESE,Language.ENGLISH).execute();
             e.getIm().sendText(true, result.getFirstTranslation()+".");
            
        } else if (lang.equals(idiomaEn)) {
            TranslationResult result = service.translate(e.getText(),Language.ENGLISH,Language.PORTUGUESE).execute();
             e.getIm().sendText(true, result.getFirstTranslation()+".");
            
        } else {
            e.getIm().sendText(true,"Não consigo traduzir.");
        }
    
        System.err.println("Message received from " + e.getIm().getPartner().getName());

    }

 

To run the bot i export the project as an executable JAR and run it on my linux server using the script bellow:

#!/bin/sh
SERVICE_NAME=STBot
PATH_TO_JAR=/etc/init.d/STBotV02.jar
PID_PATH_NAME=/etc/init.d/Stbot-pid
case $1 in
    start)
        echo "Starting $SERVICE_NAME ..."
        if [ ! -f $PID_PATH_NAME ]; then
            nohup java -jar $PATH_TO_JAR /tmp 2>> /dev/null >> /dev/null &
                        echo $! > $PID_PATH_NAME
            echo "$SERVICE_NAME started ..."
        else
            echo "$SERVICE_NAME is already running ..."
        fi
    ;;
    stop)
        if [ -f $PID_PATH_NAME ]; then
            PID=$(cat $PID_PATH_NAME);
            echo "$SERVICE_NAME stoping ..."
            kill $PID;
            echo "$SERVICE_NAME stopped ..."
            rm $PID_PATH_NAME
        else
            echo "$SERVICE_NAME is not running ..."
        fi
    ;;
    restart)
        if [ -f $PID_PATH_NAME ]; then
            PID=$(cat $PID_PATH_NAME);
            echo "$SERVICE_NAME stopping ...";
            kill $PID;
            echo "$SERVICE_NAME stopped ...";
            rm $PID_PATH_NAME
            echo "$SERVICE_NAME starting ..."
            nohup java -jar $PATH_TO_JAR /tmp 2>> /dev/null >> /dev/null &
                        echo $! > $PID_PATH_NAME
            echo "$SERVICE_NAME started ..."
        else
            echo "$SERVICE_NAME is not running ..."
        fi
    ;;
esac

Uncategorized

Since i update my mac to macOS sierra,  my TimeMachine backups was not running well.
On El Capitain i don’t exprience any issues using WD My BookLive or a disk attached to my ASUS Router.

After the upgrade the WD disk is not recognized by TimeMachine, the “ASUS” disk had the same problem.

I google a lot and found a final solution to my problem with TimeMachine

Problem number 1 – WD My BookLive not found by TimeMachine

Steps to solve:

Create a sparse image – a virtual drive that Time Machine will see as a valid backup disk.

Copy the sparsebundle to your network drive, then mount it.

Tell Time Machine to use the mounted sparsebundle for backups.

Tell your Mac to mount the virtual drive at boot.

Detailed steps here: http://www.makeuseof.com/tag/turn-nas-windows-share-time-machine-backup/

Problem number 2 – TimeMachine backups very very slow:

Steps do solve:

Part of the issue is that low priority input/output-operations (I/O) now seems to get throttled heavily.
You can check it via Terminal then entering at the bash prompt:

fs_usage backupd

and look for the THROTTLED entries. If you see them, the backup is throttled.

So if you have a ton of files, just the time it takes to do the I/O takes forever, even if the files are small (because it performs a bunch more I/O operations around xattrs etc. than it used to).

Go to a Terminal and enter:

sudo sysctl debug.lowpri_throttle_enabled=0

My backup time before this command was 29 hours and drop to 4 hours (using an ethernet cable).

Obs: I upgrade the bios of ASUS Router and WD My BookLive to latest versions.

Uncategorized

Call for speakers is now open

Submission topics

Digital workplace

Enterprise email

Unified communications

Enterprise content management

Enterprise and team collaboration

Compliance

Individual productivity

More information on the event  site

 

Uncategorized

I made this guide to install WEX Foundation 11.0.0.1 on a single machine using CentOS 6.7.

SetupWEXFoundation1101

Uncategorized

This toolkit includes two main areas of functionality:

A “Web Developer Dashboard” that provides a user interface for working with Script Portlets, Portal themes, and WCM design elements.

The theme support uses the Digital Experience File Sync tool under the covers.

The Script Portlet support uses the Script Portlet command line support which must be installed separately on your workstation.

A command line tool “dxwcmdesigns” for moving WCM design elements – Presentation Templates and Components – between your local file system and your Portal server.

This functionality is also available from the Dashboard.

An overview of this toolkit you can see here

Uncategorized

Five years ago IBM announced the first class of Champions. I was on that list.

This year I am on the IBM Champions for Middleware list for the first time.

Congratulations to all IBM Champions.

The first fifty list :

Adam Brown
Bill Malchisky

Bruce Elgort

Carlos Casas

CC Liew

Chris Miller

Chris Toohey

Daniel Recio

David Leedy

David Stephens
Declan Lynch
Eileen Fitzgerald

Eric Mack

Femke Goedhart

Francie Tanner

Gabriella Davis

Giuseppe Grasso

Handly Cameron

John Head

Julian Robichaux
Kenio Carvalho
Lidia Vikulova

Lisa Duke

Marie Scott

Mark Leusink

Mathew Newman

Matt White

Mikkel Heisterberg

Mitch Cohen

Mitsuru Kato
Nathan T Freeman
Paul Mooney

Paul Withers

Rob Bontekoe

Rob Novak

Sanjaya Kumar Saxena

Serdar Basegmez

Sharon Bellamy

Simon Vaughn

Sjaak Ursinus
Steve Pitcher
Stuart McIntyre

Theo Heselmans

Thomas Duff

Tim Tripcony

Ulrich Krause

Warren Elsmore

Yancy Lent

Yoshihiro Matsuo

Yoshio Maruyama

The announcement from Ed Brill’s  blog 

Uncategorized

Tutorial from Developerworks

“WebSphere Liberty is the next generation application server. Liberty and Eclipse make a great local development environment for developing Java EE applications. To develop Java EE applications to deploy to Liberty, you’re going to need a Liberty development environment. You’ll also need an integrated development environment (IDE) for editing your code. While any Java EE IDE will work, the Eclipse IDE is one of the best, if for no other reason than because IBM has developed plugins for Eclipse for developing Liberty applications and for working with Bluemix.”

Uncategorized

Since 1997 i work with Notes/Domino.  In that time i receive every quarter a set of CD’s with the Lotus KB on it.

 

Things have changed for the better, LNN was launched and i was able to replicate the LotusKB on daily basis, no more CD’s, no more delays.

I start to work with WebSphere, Portal  and other IBM products in 2005 and the support is only from “google” and the software manuals were called Infocenters.

IBM changed again, in my opinion, not for the best, several manuals are only on wikis.

A few years ago IBM changed again to the Knowledge Center. I think it is a better version of the old Infocenter.

Today i was reading some iformation about Watson and a alert show a message “On May 29 the Knowledge Center will change for a new version….”

More information here -> https://www-304.ibm.com/connections/blogs/techcontent/date/201605?lang=en_us

Go to the new version (beta) -> https://www.ibm.com/support/knowledgecenter/beta

Uncategorized

This specification describes a method for surfacing customer experience digital data on a web or other digital resource as a JavaScript Object which can be used for communicating this data to digital analytics and reporting servers.
https://www.w3.org/2013/12/ceddl-201312.pdf

Uncategorized wcm web WebSphere Portal