Category: Uncategorized

Last week i got back my Macbook Pro 15 2016, after 10 days.  The laptop go to service on an Apple Technical Assistance here in my city.

My first Macbook Pro (Mid 2012) works for 5 years without issues.

The first problem was the speakers. Sound was horrible.  The problem is the same described on this link.

The second problem was the battery. With only 86 cycles a message about to service the battery appears.

The third problem was #staingate. 

Apple replace all parts of my Macbook. The service is ok until now.

Lots of problems with this expensive machine. The quality is not the same anymore.

Uncategorized

 

Node-RED 0.20 brings lots of new enhancements to the editor, some new subflow features and a complete restructure of its internal packaging.  https://nodered.org

Uncategorized

Setup a Node.js development environment is easy but when you need to work in a team, the best option is document all installation steps for everyone.

Every developer must use the same setup or things can be wrong. Bellow are small steps to setup a simple Node.js development environment

1 – Setup Node.js:  https://nodejs.org/en/
2 – Setup VS Code: https://code.visualstudio.com/docs/setup/setup-overview
3 – Open VS Code create a folder and in this folder save an file as app.js
4 – Setup nodemon:
Nodemon is a utility that will monitor for any changes in your source and automatically restart your server. Perfect for development.
To install nodemom open a terminal window and go to the folder you created on step 3 and  type npm install nodemon –save-dev  on the terminal window . This will install nodemon  as development dependency
5 – change package.json to start the application using nodemon
"name": "Node Development",
"version": "1.0.0",
"description": "Just another app",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "nodemon app.js"
},
"author": "Kenio Carvalho",
"license": "ISC",
"devDependencies": {
"nodemon": "^1.18.10"
}
}
5 – Run npm init on the folder and install Express (npm install express –save) //Production dependency

6 Add the code below to app.js and sav, just to test the environment:

const express = require ('express');
const app = express();
app.use('/',(req,res,next)=>{
 
res.send('<h1>Hello from Expres</h1>')
});
app.listen(3000)

7 run npm start on the terminal

open the url localhost:3000 and you will se the page.

Uncategorized

At a high-level, a hybrid cloud is a mixture of private and a public cloud environments that work in tandem to run your workloads and apps. That definition sounds straight-forward, but when you dive in and start to work, you can find hybrid cloud architectures difficult to manage without the right tools.

You can watch a video of a real-world example to clearly understand what works well on a public cloud environment and what is best in a private environment.

 

Uncategorized

Today I gave a presentation about machine learning and IoT focusing on industrial maintenance. The event was the third industrial maintenance workshop in Belo Horizonte. An opportunity to talk about IBM Watson and IIoT to the industry in my region.

 

Data Science Machine Learning Uncategorized

I meet several people when i was in Las Vegas. No one know about my city until i talk about 2014 Soccer World Cup and tell about Germany 7 x 1 Brazil game.

The video bellow,  show another face of the city.

Uncategorized web

IBM Watson Assistant is named as a Leader in conversational computing. It has become increasingly important for businesses to build engaging interactions that deliver value to their customers, and IBM is proud to offer technologies that help developers and enterprises enhance those experiences.

The report evaluated the most significant conversational computing platforms, diving into each vendor’s current offering and strategy and including customer feedback.

I always work with IBM Watson Assistant to create Virtual Assistants, since the name was “dialog”.  This service is my first option to create conversational applications.

More information on this link

Uncategorized

A week ago I participated in the Global Legal Hackathon as a mentor to several startups.

The Global Legal Hackathon engages law schools, law firms and in-house departments, legal technology companies, governments, and service providers to the legal industry – across the globe.

It  bring together the best thinkers, doers and practitioners in law in support of a unified vision: rapid development of solutions to improve the legal industry, world-wide.

My city, Belo Horizonte was one of the hosts in Brazil.  Two startups i mentored, to use IBM Watson, was classified in second an third place.

Next week will be the second round to select ideas to the final event in New York.

 

Uncategorized

I received an e-mail from HCL Support  (IBM) about a problem with the interin fix.

The e-mail and later a call from the support told me to download the fix again and if in case i was installed the fix how to remove and install the good one.

The problem was with the fix files from last week. The files was updated with the ones above.

“I would like to notify you because  we found a problem with this Interim Fix. The problem discovered and that the fix can’t be uninstalled properly, which can cause problems later when a new hotfix or interim fix is applied on him.”

1- Download the new IF1 files
W64        901FP10HF66_W64.exe        http://www.ibm.com/support/fixcentral/quickorder?product=ibm%2FLotus%2FLotus+Domino&fixids=DominoServer_901FP10IF1_W64&source=SAR
W32        901FP10HF68_W32.exe        http://www.ibm.com/support/fixcentral/quickorder?product=ibm%2FLotus%2FLotus+Domino&fixids=DominoServer_901FP10IF1_W32&source=SAR

2- Shutdown the Domino server

3 – Copy nstrings.dll to your domino Server

4 – Install the new interin fix.

Uncategorized

I use many vm’s in my day to day on my Mac. When I’m on clients and I have to use different networks of my other, always have to be changing the ip’s of virtual servers and this is a big problem.

A friend sent me the following tip : Place a secondary ip in your MAC that belongs to the same network of VM’s.

I don’t find a easy way to put a secondary ip on my wifi connection. The only way i found was duplicating the wifi network and set up fixed ip in the same network of virtual machines .

Now i can connect on any wifi network and my Mac access all vm’s without changing the ip address

Uncategorized

I was searching for an article on developerWorks today and found a link pointing to wasdev with the name Watson Application Server

This will be the new name of WebSphere?

 

 

 

Uncategorized

A good DNS service is very important for a mail server.

On Linux servers you need to put your DNS servers on a file called resolv.conf. In general you have two entries like this:

nameserver1   192.168.10.10
nameserver2   10.10.1.1

If one server does not respond then linux will try the second, but there is a timeout for this:

timeout:n
                     Sets the amount of time the resolver will wait for a
                     response from a remote name server before retrying the
                     query via a different name server. This may not be the
                     total time taken by any resolver API call and there is
                     no guarantee that a single resolver API call maps to a
                     single timeout.  Measured in seconds, the default is
                     RES_TIMEOUT (currently 5, see <resolv.h>).  The value
                     for this option is silently capped to 30.

If you want to speed this resolution change resolv.conf to:

options rotate
options timeout:1
nameserver1 192.168.10.10
nameserver2 10.10.1.1

Using the configuration above, both nameserver in rotation and wait max. 1 second for answer before trying the next one.

Uncategorized