SlideShare a Scribd company logo
Hey there, 
This is a quick tutorial how to present my application. 
It will help you adding the Watson User Modeling Service Live. 
0. Prepare 
1. Upload an alone standing application to Bluemix 
2. Show how to use the alone standing application 
3. Add the User Modeling Service to it 
4. Activate the User Modeling Service 
5. Upload the application 
6. Show how to use the new application 
If you do not know what my application does, check out my other slideshare presentation
0. Prepare 
Instructions 
There are some steps you have to do before you can present the application. 
- Go to github.com/JDihlmann/moodlocator and follow the steps in the section presentation 
- If you are presenting moodlocator you can start your presentation at any point you want, 
but you have to do all steps behind the scene if you wouldn't show it. 
Read the GitHub instructions until point 5 
At this point I’m assuming you read the GitHub instructions and set up everything 
- Before we upload our alone standing application we have to make some changes to it. The 
default of the moodlocator application is set to show the Watson User Modeling Service. 
- To change this default value we have to open the code
0. Prepare 
Open style.css 
Open the style.css file with a text editor you will find it in 
/ node / public / stylesheets / style.css 
Scroll to the bottom of the page 
You will find something that looks like that, delete the text in line 449 and 452. I marked it red. 
Before 
After 
Save your changes. Perfect to understand what it does, it enables or disables the white 
Watson User Modeling bar at the bottom of the page.
Open the app.js file with a text editor you will find it in 
/ node / app.js 
0. Prepare 
Open app.js 
Scroll to line 189 
You will find something that looks like that, add this bracket „ /* “ in line 190 and this bracket „ */ “ in line 211. 
I marked the position red where to add them.
0. Prepare 
Before 
After
0. Prepare 
Stay in app.js 
Scroll to line 238 
You will find something that looks like that, start 
in line 238 and delete everything what comes 
after it, till the end of the document. 
Save your changes 
Okay we prepared our application now lets 
start presenting
Bluemix Demo 
MoodLocator
Google Maps API 
London, United Kingdom
Twitter Stream API 
London 
Berlin 
User visited website 29 / 11 / 14 - 17:45
Google & Twitter 
London
Structure 
Maps API Stream API 
Lokal
Live Demo
Bluemix Homepage 
Some of this steps you have 
already done, 
you can show them to your 
listeners, but if you don’t want to 
you want have to do them again.
Login
Dashboard 
Create an application
Catalog
Node.js 
Choose Node.js
Create App 
Enter a unique name
App Info
1. Upload an alone standing application to Bluemix 
Go back to GitHub and take a look at section 6
Quick Start 
We will follow these steps
Terminal 
Open your Terminal / CMD
cd MoodLocator 
Instead of „MoodlocaterPr“ write 
„node“
Connect to Bluemix 
Copy & Paste
Login 
Enter the password
cf push 
Instead of „moodlocator“ enter 
your application name 
Your stand alone application is 
uploading. It may take 1minute
Maps API Stream API 
.js 
Bluemix 
Structure
Twitter Locator 
London, United Kingdom 
UserName 
Tweet Text Tweet 
Text Tweet Text 
Tweet Text Tweet 
Text Tweet Text
2. Show how to use the alone standing application
App Info 
Click on this link
3. Add the User Modeling Service to it 
Go back to GitHub and take a look at section 5
Catalog 
Open Bluemix Catalog
Services 
Search for Watson
User Modelling 
Choose the Watson User Modeling 
Service
User Modeling Info 
Click on View Docs
User Modeling Docs 
User Modeling Documentation
View a Live Demo 
Click on view a live demo
Live Demo 
Click on analyze
Analyze
User Modeling Info 
Add it to your application
Add Service Process 
Hit ok
User Modeling Doc 
Scroll down
View full Docs 
Click on view full docs
Watson Doc 
Select sample application in 
Node.js
Sample Application 
Example code you can scroll in 
here
Copy & Paste 
IMPORTANT 
You have to copy the exact same 
function you deleted before! 
Jan-Niklas Dihlmann, 26 Novmeber 2014 © 2014 IBM Corporation
4. Activate the User Modeling Service 
COPY THIS PART 
You have to copy the exact same thing ——> 
out of the Watson Documentation into your 
application 
Select it 
Copy it 
cmd c / strg c 
We will undo everything what we 
did for preparation
Open the app.js file with a text editor you will find it in 
/ node / app.js 
Open app.js 
Scroll to line 238 
Paste the whole code at the end of your document, where you deleted it before. 
Stay in app.js 
Scroll to line 189 
You will find something that looks like that, delete this bracket „ /* “ in line 190 and this bracket „ */ “ in line 
211. I marked the position red where to add them.
Before 
After 
Save your changes
Open style.css 
Open the style.css file with a text editor you will find it in 
/ node / public / stylesheets / style.css 
Scroll to the bottom of the page 
You will find something that looks like that, add this bracket „ /* “ in line 449 and this bracket „ */ “ 
in line 452. I marked the position red where to add them. 
Before 
After 
Save your changes. Perfect to understand what it does, it enables or disables the white 
Watson User Modeling bar at the bottom of the page.
Open style.css 
Open the style.css file with a text editor you will find it in 
/ node / public / stylesheets / style.css 
Scroll to the bottom of the page 
You will find something that looks like that, add this bracket „ /* “ in line 449 and this bracket „ */ “ 
in line 452. I marked the position red where to add them. 
Before 
After 
Save your changes.
5. Upload the application 
Go back to GitHub and take a look at section 6
Terminal 
Open your Terminal / CMD
cd MoodLocator 
Instead of „MoodlocaterPr“ write 
„node“
Connect to Bluemix 
Copy & Paste
Login 
Enter the password
cf push 
Instead of „moodlocator“ enter 
your application name 
Your stand alone application is 
uploading. It may take 1minute
Maps API Stream API 
.js 
Bluemix 
Structure 
we added the User Modeling 
Service
User Modeling Service 
Text - at least 100 Words 
BETA: 
Only english 
Get a fully character 
analysis from the author 
of the text 
Possible character of the author 
Text 
Jan-Niklas Dihlmann November 2014
User Modeling Service 
All Tweets from one city 
BETA: 
Only english 
Tweets 
Get a fully character 
analysis from all the 
users combined who are 
twittering in this city 
Jan-Niklas Dihlmann November 2014
6. Show how to use the new application
MoodLocator 
London, United Kingdom 
Jan-Niklas Dihlmann November 2014
Tipp how to use 
- User Modeling Service is a BETA version, is only 
analyzing english words. Therefore choose a city where 
people twitter mostly in english. 
- Choose big cities like London, New York, Johannesburg. 
- When you hover over one Tweet, only hover over the next 
Tweet after the first one closes. 
- Test it yourself, enter your current location and send a 
Tweet with text and geolocation. Try to find it. 
Have fun and enjoy it! 
Jan-Niklas Dihlmann November 2014
MoodLocator 
Bluemix: moodlocator.mybluemix.com 
GitHub: /JDihlmann/moodlocator

More Related Content

What's hot

Laravel mail example how to send an email using markdown template in laravel 8
Laravel mail example how to send an email using markdown template in laravel 8Laravel mail example how to send an email using markdown template in laravel 8
Laravel mail example how to send an email using markdown template in laravel 8
Katy Slemon
 
Wix
WixWix
Wix tutorial
Wix tutorialWix tutorial
Wix tutorial
CoombeMedia1
 
Building The SpringGraph Flex Component
Building The SpringGraph Flex ComponentBuilding The SpringGraph Flex Component
Building The SpringGraph Flex Component
Guo Albert
 
How to add a call to-action button to your facebook posts
How to add a call to-action button to your facebook postsHow to add a call to-action button to your facebook posts
How to add a call to-action button to your facebook posts
So Buzzy
 
AWS Lambda Hands-on: How to Create Phone Call Notifications in a Serverless Way
 AWS Lambda Hands-on: How to Create Phone Call Notifications in a Serverless Way AWS Lambda Hands-on: How to Create Phone Call Notifications in a Serverless Way
AWS Lambda Hands-on: How to Create Phone Call Notifications in a Serverless Way
Srushith Repakula
 
ASP.NET Session 9
ASP.NET Session 9ASP.NET Session 9
ASP.NET Session 9
Sisir Ghosh
 
How to edit in Capcut?
How to edit in Capcut?How to edit in Capcut?
How to edit in Capcut?
AngelaBonife
 
ASP.NET Session 5
ASP.NET Session 5ASP.NET Session 5
ASP.NET Session 5
Sisir Ghosh
 
Scraping Handout
Scraping HandoutScraping Handout
Scraping Handout
Cindy Royal
 
Details Description of Load Runner Recording option
Details Description of  Load Runner Recording optionDetails Description of  Load Runner Recording option
Details Description of Load Runner Recording option
Sanchita Singha
 
Best Laravel Eloquent Tips and Tricks
Best Laravel Eloquent Tips and TricksBest Laravel Eloquent Tips and Tricks
Best Laravel Eloquent Tips and Tricks
Techtic Solutions
 
How To Get Your Website Indexed Almost Immediately
How To Get Your Website Indexed Almost ImmediatelyHow To Get Your Website Indexed Almost Immediately
How To Get Your Website Indexed Almost Immediately
cgyabca66
 
How to embed a google calendar in a twinspace page
How to embed a google calendar in a twinspace pageHow to embed a google calendar in a twinspace page
How to embed a google calendar in a twinspace page
Petros Michailidis
 
IMPACT/myGrid Hackathon - Introduction to Taverna
IMPACT/myGrid Hackathon - Introduction to TavernaIMPACT/myGrid Hackathon - Introduction to Taverna
IMPACT/myGrid Hackathon - Introduction to Taverna
IMPACT Centre of Competence
 
Windows phone apps
Windows phone appsWindows phone apps
Windows phone apps
Romario Koushik
 
Using Wordpress with Reclaim Hosting
Using Wordpress with Reclaim HostingUsing Wordpress with Reclaim Hosting
Using Wordpress with Reclaim Hosting
Cindy Royal
 
Ember.js - Harnessing Convention Over Configuration
Ember.js - Harnessing Convention Over ConfigurationEmber.js - Harnessing Convention Over Configuration
Ember.js - Harnessing Convention Over Configuration
Tracy Lee
 
Tips to make dependency diagram
Tips to make dependency diagramTips to make dependency diagram
Tips to make dependency diagram
ridha26
 
Web scraping
Web scrapingWeb scraping
Web scraping
rebekacox
 

What's hot (20)

Laravel mail example how to send an email using markdown template in laravel 8
Laravel mail example how to send an email using markdown template in laravel 8Laravel mail example how to send an email using markdown template in laravel 8
Laravel mail example how to send an email using markdown template in laravel 8
 
Wix
WixWix
Wix
 
Wix tutorial
Wix tutorialWix tutorial
Wix tutorial
 
Building The SpringGraph Flex Component
Building The SpringGraph Flex ComponentBuilding The SpringGraph Flex Component
Building The SpringGraph Flex Component
 
How to add a call to-action button to your facebook posts
How to add a call to-action button to your facebook postsHow to add a call to-action button to your facebook posts
How to add a call to-action button to your facebook posts
 
AWS Lambda Hands-on: How to Create Phone Call Notifications in a Serverless Way
 AWS Lambda Hands-on: How to Create Phone Call Notifications in a Serverless Way AWS Lambda Hands-on: How to Create Phone Call Notifications in a Serverless Way
AWS Lambda Hands-on: How to Create Phone Call Notifications in a Serverless Way
 
ASP.NET Session 9
ASP.NET Session 9ASP.NET Session 9
ASP.NET Session 9
 
How to edit in Capcut?
How to edit in Capcut?How to edit in Capcut?
How to edit in Capcut?
 
ASP.NET Session 5
ASP.NET Session 5ASP.NET Session 5
ASP.NET Session 5
 
Scraping Handout
Scraping HandoutScraping Handout
Scraping Handout
 
Details Description of Load Runner Recording option
Details Description of  Load Runner Recording optionDetails Description of  Load Runner Recording option
Details Description of Load Runner Recording option
 
Best Laravel Eloquent Tips and Tricks
Best Laravel Eloquent Tips and TricksBest Laravel Eloquent Tips and Tricks
Best Laravel Eloquent Tips and Tricks
 
How To Get Your Website Indexed Almost Immediately
How To Get Your Website Indexed Almost ImmediatelyHow To Get Your Website Indexed Almost Immediately
How To Get Your Website Indexed Almost Immediately
 
How to embed a google calendar in a twinspace page
How to embed a google calendar in a twinspace pageHow to embed a google calendar in a twinspace page
How to embed a google calendar in a twinspace page
 
IMPACT/myGrid Hackathon - Introduction to Taverna
IMPACT/myGrid Hackathon - Introduction to TavernaIMPACT/myGrid Hackathon - Introduction to Taverna
IMPACT/myGrid Hackathon - Introduction to Taverna
 
Windows phone apps
Windows phone appsWindows phone apps
Windows phone apps
 
Using Wordpress with Reclaim Hosting
Using Wordpress with Reclaim HostingUsing Wordpress with Reclaim Hosting
Using Wordpress with Reclaim Hosting
 
Ember.js - Harnessing Convention Over Configuration
Ember.js - Harnessing Convention Over ConfigurationEmber.js - Harnessing Convention Over Configuration
Ember.js - Harnessing Convention Over Configuration
 
Tips to make dependency diagram
Tips to make dependency diagramTips to make dependency diagram
Tips to make dependency diagram
 
Web scraping
Web scrapingWeb scraping
Web scraping
 

Viewers also liked

Actividad Obligatoria N° 3 - Parte B
Actividad Obligatoria N° 3 - Parte BActividad Obligatoria N° 3 - Parte B
Actividad Obligatoria N° 3 - Parte B
Pablo Agustin Novillo Audicio
 
Cartel Behavior in the NCAA
Cartel Behavior in the NCAACartel Behavior in the NCAA
Cartel Behavior in the NCAA
baboocher
 
Enunciado N° 7 - Actividad N° 2.1.1
Enunciado N° 7 - Actividad N° 2.1.1Enunciado N° 7 - Actividad N° 2.1.1
Enunciado N° 7 - Actividad N° 2.1.1
M. Fernanda Rios
 
Alunos Inconvenientes!
Alunos Inconvenientes!Alunos Inconvenientes!
Alunos Inconvenientes!
Andreia Abreu
 
Bicicleta
BicicletaBicicleta
Bicicleta
Alvaro2004
 
14 control
14 control14 control
14 control
Juan Soto
 
Nou curs
Nou cursNou curs
Nou curs
FEDACPrats
 
International Wine Forum 2016
International Wine Forum 2016International Wine Forum 2016
International Wine Forum 2016
Emiliano Perez Ansaldi
 
Performance management 1.1
Performance management 1.1Performance management 1.1
Performance management 1.1
BICorporate
 
Artigas
ArtigasArtigas
Artigas
AntoRosano
 
Volcanes
VolcanesVolcanes
Volcanes
Alvaro2004
 
EARLY NUTRITION
EARLY NUTRITIONEARLY NUTRITION
EARLY NUTRITION
Breanna Schmidt
 
Processo Criativo - como criar uma marca
Processo Criativo - como criar uma marcaProcesso Criativo - como criar uma marca
Processo Criativo - como criar uma marca
Bizcool | Escola Aceleradora
 
Actividad N° 1 - Unidad 1
Actividad N° 1 - Unidad 1Actividad N° 1 - Unidad 1
Actividad N° 1 - Unidad 1
M. Fernanda Rios
 
INF1 AP N° 1-Unidad 1
INF1  AP N° 1-Unidad 1INF1  AP N° 1-Unidad 1
INF1 AP N° 1-Unidad 1
M. Fernanda Rios
 
9 evapotranspiracion
9 evapotranspiracion9 evapotranspiracion
9 evapotranspiracion
Juan Soto
 
E twinning y fp m isabel vila23-06-16
E twinning y fp m isabel vila23-06-16E twinning y fp m isabel vila23-06-16
E twinning y fp m isabel vila23-06-16
Maria Figueroa
 
Mito de los volcanes
Mito de los volcanesMito de los volcanes
Mito de los volcanes
Mac Bull
 
Jornada Erasmus+ BCN 4 abril 2016
Jornada Erasmus+  BCN 4 abril 2016Jornada Erasmus+  BCN 4 abril 2016
Jornada Erasmus+ BCN 4 abril 2016
FEDACPrats
 
Pintors Universals - Pintors catalans
Pintors Universals - Pintors catalansPintors Universals - Pintors catalans
Pintors Universals - Pintors catalansjvaleros
 

Viewers also liked (20)

Actividad Obligatoria N° 3 - Parte B
Actividad Obligatoria N° 3 - Parte BActividad Obligatoria N° 3 - Parte B
Actividad Obligatoria N° 3 - Parte B
 
Cartel Behavior in the NCAA
Cartel Behavior in the NCAACartel Behavior in the NCAA
Cartel Behavior in the NCAA
 
Enunciado N° 7 - Actividad N° 2.1.1
Enunciado N° 7 - Actividad N° 2.1.1Enunciado N° 7 - Actividad N° 2.1.1
Enunciado N° 7 - Actividad N° 2.1.1
 
Alunos Inconvenientes!
Alunos Inconvenientes!Alunos Inconvenientes!
Alunos Inconvenientes!
 
Bicicleta
BicicletaBicicleta
Bicicleta
 
14 control
14 control14 control
14 control
 
Nou curs
Nou cursNou curs
Nou curs
 
International Wine Forum 2016
International Wine Forum 2016International Wine Forum 2016
International Wine Forum 2016
 
Performance management 1.1
Performance management 1.1Performance management 1.1
Performance management 1.1
 
Artigas
ArtigasArtigas
Artigas
 
Volcanes
VolcanesVolcanes
Volcanes
 
EARLY NUTRITION
EARLY NUTRITIONEARLY NUTRITION
EARLY NUTRITION
 
Processo Criativo - como criar uma marca
Processo Criativo - como criar uma marcaProcesso Criativo - como criar uma marca
Processo Criativo - como criar uma marca
 
Actividad N° 1 - Unidad 1
Actividad N° 1 - Unidad 1Actividad N° 1 - Unidad 1
Actividad N° 1 - Unidad 1
 
INF1 AP N° 1-Unidad 1
INF1  AP N° 1-Unidad 1INF1  AP N° 1-Unidad 1
INF1 AP N° 1-Unidad 1
 
9 evapotranspiracion
9 evapotranspiracion9 evapotranspiracion
9 evapotranspiracion
 
E twinning y fp m isabel vila23-06-16
E twinning y fp m isabel vila23-06-16E twinning y fp m isabel vila23-06-16
E twinning y fp m isabel vila23-06-16
 
Mito de los volcanes
Mito de los volcanesMito de los volcanes
Mito de los volcanes
 
Jornada Erasmus+ BCN 4 abril 2016
Jornada Erasmus+  BCN 4 abril 2016Jornada Erasmus+  BCN 4 abril 2016
Jornada Erasmus+ BCN 4 abril 2016
 
Pintors Universals - Pintors catalans
Pintors Universals - Pintors catalansPintors Universals - Pintors catalans
Pintors Universals - Pintors catalans
 

Similar to MoodLocator HwT

Homestead demo
Homestead demoHomestead demo
Homestead demo
Saranga Tripathy
 
Intro to IBM Bluemix DevOps Services, a Workshop with a Cloudant twist
Intro to IBM Bluemix DevOps Services, a Workshop with a Cloudant twistIntro to IBM Bluemix DevOps Services, a Workshop with a Cloudant twist
Intro to IBM Bluemix DevOps Services, a Workshop with a Cloudant twist
Lauren Hayward Schaefer
 
Intro to IBM Bluemix DevOps Services, an open lab for IBM InterConnect
Intro to IBM Bluemix DevOps Services, an open lab for IBM InterConnectIntro to IBM Bluemix DevOps Services, an open lab for IBM InterConnect
Intro to IBM Bluemix DevOps Services, an open lab for IBM InterConnect
Lauren Hayward Schaefer
 
Progressive Web Application by Citytech
Progressive Web Application by CitytechProgressive Web Application by Citytech
Progressive Web Application by Citytech
Ritwik Das
 
How to build your own Android App -Step by Step Guide
How to build your own Android App -Step by Step GuideHow to build your own Android App -Step by Step Guide
How to build your own Android App -Step by Step Guide
Ace Web Academy -Career Development Center
 
PERTEMUAN 3_INTRO TO ANDROID APP DEV.pdf
PERTEMUAN 3_INTRO TO ANDROID APP DEV.pdfPERTEMUAN 3_INTRO TO ANDROID APP DEV.pdf
PERTEMUAN 3_INTRO TO ANDROID APP DEV.pdf
arfa442827
 
Create a Profitable News App using Ionic 4 and Angular
Create a Profitable News App using Ionic 4 and Angular								Create a Profitable News App using Ionic 4 and Angular
Create a Profitable News App using Ionic 4 and Angular
Shelly Megan
 
Angular 7 Firebase5 CRUD Operations with Reactive Forms
Angular 7 Firebase5 CRUD Operations with Reactive FormsAngular 7 Firebase5 CRUD Operations with Reactive Forms
Angular 7 Firebase5 CRUD Operations with Reactive Forms
Digamber Singh
 
Android app development guide for freshers by ace web academy
Android app development guide for freshers  by ace web academyAndroid app development guide for freshers  by ace web academy
Android app development guide for freshers by ace web academy
Ace Web Academy -Career Development Center
 
Angular Interview Questions-PDF.pdf
Angular Interview Questions-PDF.pdfAngular Interview Questions-PDF.pdf
Angular Interview Questions-PDF.pdf
JohnLeo57
 
Introduction of VS2012 IDE and ASP.NET Controls
Introduction of VS2012 IDE and ASP.NET ControlsIntroduction of VS2012 IDE and ASP.NET Controls
Introduction of VS2012 IDE and ASP.NET Controls
KhademulBasher
 
End to end testing Single Page Apps & APIs with Cucumber.js and Puppeteer (Em...
End to end testing Single Page Apps & APIs with Cucumber.js and Puppeteer (Em...End to end testing Single Page Apps & APIs with Cucumber.js and Puppeteer (Em...
End to end testing Single Page Apps & APIs with Cucumber.js and Puppeteer (Em...
Paul Jensen
 
Getting started-with-oracle-so a-iv
Getting started-with-oracle-so a-ivGetting started-with-oracle-so a-iv
Getting started-with-oracle-so a-iv
Amit Sharma
 
Getting started-with-oracle-so a-iv
Getting started-with-oracle-so a-ivGetting started-with-oracle-so a-iv
Getting started-with-oracle-so a-iv
Amit Sharma
 
Creating & consuming simple web service
Creating & consuming simple web serviceCreating & consuming simple web service
Creating & consuming simple web service
Abhijit B.
 
Basic iOS Training with SWIFT - Part 4
Basic iOS Training with SWIFT - Part 4Basic iOS Training with SWIFT - Part 4
Basic iOS Training with SWIFT - Part 4
Manoj Ellappan
 
Girl Scouts Website Designer Badge Seminar - Workbook
Girl Scouts Website Designer Badge Seminar - WorkbookGirl Scouts Website Designer Badge Seminar - Workbook
Girl Scouts Website Designer Badge Seminar - Workbook
Lauren Hayward Schaefer
 
Webinar on How to use MyAppConverter
Webinar on How to use  MyAppConverterWebinar on How to use  MyAppConverter
Webinar on How to use MyAppConverter
Jaoued Ahmed
 
Azure slots for app deployment the continuous delivery way
Azure slots for app deployment the continuous delivery wayAzure slots for app deployment the continuous delivery way
Azure slots for app deployment the continuous delivery way
wale ayandiran
 
Homestead Weather workshop
Homestead Weather workshopHomestead Weather workshop
Homestead Weather workshop
Jean-Louis (JL) Marechaux
 

Similar to MoodLocator HwT (20)

Homestead demo
Homestead demoHomestead demo
Homestead demo
 
Intro to IBM Bluemix DevOps Services, a Workshop with a Cloudant twist
Intro to IBM Bluemix DevOps Services, a Workshop with a Cloudant twistIntro to IBM Bluemix DevOps Services, a Workshop with a Cloudant twist
Intro to IBM Bluemix DevOps Services, a Workshop with a Cloudant twist
 
Intro to IBM Bluemix DevOps Services, an open lab for IBM InterConnect
Intro to IBM Bluemix DevOps Services, an open lab for IBM InterConnectIntro to IBM Bluemix DevOps Services, an open lab for IBM InterConnect
Intro to IBM Bluemix DevOps Services, an open lab for IBM InterConnect
 
Progressive Web Application by Citytech
Progressive Web Application by CitytechProgressive Web Application by Citytech
Progressive Web Application by Citytech
 
How to build your own Android App -Step by Step Guide
How to build your own Android App -Step by Step GuideHow to build your own Android App -Step by Step Guide
How to build your own Android App -Step by Step Guide
 
PERTEMUAN 3_INTRO TO ANDROID APP DEV.pdf
PERTEMUAN 3_INTRO TO ANDROID APP DEV.pdfPERTEMUAN 3_INTRO TO ANDROID APP DEV.pdf
PERTEMUAN 3_INTRO TO ANDROID APP DEV.pdf
 
Create a Profitable News App using Ionic 4 and Angular
Create a Profitable News App using Ionic 4 and Angular								Create a Profitable News App using Ionic 4 and Angular
Create a Profitable News App using Ionic 4 and Angular
 
Angular 7 Firebase5 CRUD Operations with Reactive Forms
Angular 7 Firebase5 CRUD Operations with Reactive FormsAngular 7 Firebase5 CRUD Operations with Reactive Forms
Angular 7 Firebase5 CRUD Operations with Reactive Forms
 
Android app development guide for freshers by ace web academy
Android app development guide for freshers  by ace web academyAndroid app development guide for freshers  by ace web academy
Android app development guide for freshers by ace web academy
 
Angular Interview Questions-PDF.pdf
Angular Interview Questions-PDF.pdfAngular Interview Questions-PDF.pdf
Angular Interview Questions-PDF.pdf
 
Introduction of VS2012 IDE and ASP.NET Controls
Introduction of VS2012 IDE and ASP.NET ControlsIntroduction of VS2012 IDE and ASP.NET Controls
Introduction of VS2012 IDE and ASP.NET Controls
 
End to end testing Single Page Apps & APIs with Cucumber.js and Puppeteer (Em...
End to end testing Single Page Apps & APIs with Cucumber.js and Puppeteer (Em...End to end testing Single Page Apps & APIs with Cucumber.js and Puppeteer (Em...
End to end testing Single Page Apps & APIs with Cucumber.js and Puppeteer (Em...
 
Getting started-with-oracle-so a-iv
Getting started-with-oracle-so a-ivGetting started-with-oracle-so a-iv
Getting started-with-oracle-so a-iv
 
Getting started-with-oracle-so a-iv
Getting started-with-oracle-so a-ivGetting started-with-oracle-so a-iv
Getting started-with-oracle-so a-iv
 
Creating & consuming simple web service
Creating & consuming simple web serviceCreating & consuming simple web service
Creating & consuming simple web service
 
Basic iOS Training with SWIFT - Part 4
Basic iOS Training with SWIFT - Part 4Basic iOS Training with SWIFT - Part 4
Basic iOS Training with SWIFT - Part 4
 
Girl Scouts Website Designer Badge Seminar - Workbook
Girl Scouts Website Designer Badge Seminar - WorkbookGirl Scouts Website Designer Badge Seminar - Workbook
Girl Scouts Website Designer Badge Seminar - Workbook
 
Webinar on How to use MyAppConverter
Webinar on How to use  MyAppConverterWebinar on How to use  MyAppConverter
Webinar on How to use MyAppConverter
 
Azure slots for app deployment the continuous delivery way
Azure slots for app deployment the continuous delivery wayAzure slots for app deployment the continuous delivery way
Azure slots for app deployment the continuous delivery way
 
Homestead Weather workshop
Homestead Weather workshopHomestead Weather workshop
Homestead Weather workshop
 

Recently uploaded

GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 

Recently uploaded (20)

GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 

MoodLocator HwT

  • 1. Hey there, This is a quick tutorial how to present my application. It will help you adding the Watson User Modeling Service Live. 0. Prepare 1. Upload an alone standing application to Bluemix 2. Show how to use the alone standing application 3. Add the User Modeling Service to it 4. Activate the User Modeling Service 5. Upload the application 6. Show how to use the new application If you do not know what my application does, check out my other slideshare presentation
  • 2. 0. Prepare Instructions There are some steps you have to do before you can present the application. - Go to github.com/JDihlmann/moodlocator and follow the steps in the section presentation - If you are presenting moodlocator you can start your presentation at any point you want, but you have to do all steps behind the scene if you wouldn't show it. Read the GitHub instructions until point 5 At this point I’m assuming you read the GitHub instructions and set up everything - Before we upload our alone standing application we have to make some changes to it. The default of the moodlocator application is set to show the Watson User Modeling Service. - To change this default value we have to open the code
  • 3. 0. Prepare Open style.css Open the style.css file with a text editor you will find it in / node / public / stylesheets / style.css Scroll to the bottom of the page You will find something that looks like that, delete the text in line 449 and 452. I marked it red. Before After Save your changes. Perfect to understand what it does, it enables or disables the white Watson User Modeling bar at the bottom of the page.
  • 4. Open the app.js file with a text editor you will find it in / node / app.js 0. Prepare Open app.js Scroll to line 189 You will find something that looks like that, add this bracket „ /* “ in line 190 and this bracket „ */ “ in line 211. I marked the position red where to add them.
  • 6. 0. Prepare Stay in app.js Scroll to line 238 You will find something that looks like that, start in line 238 and delete everything what comes after it, till the end of the document. Save your changes Okay we prepared our application now lets start presenting
  • 8. Google Maps API London, United Kingdom
  • 9. Twitter Stream API London Berlin User visited website 29 / 11 / 14 - 17:45
  • 11. Structure Maps API Stream API Lokal
  • 13. Bluemix Homepage Some of this steps you have already done, you can show them to your listeners, but if you don’t want to you want have to do them again.
  • 14. Login
  • 15. Dashboard Create an application
  • 18. Create App Enter a unique name
  • 20. 1. Upload an alone standing application to Bluemix Go back to GitHub and take a look at section 6
  • 21. Quick Start We will follow these steps
  • 22. Terminal Open your Terminal / CMD
  • 23. cd MoodLocator Instead of „MoodlocaterPr“ write „node“
  • 24. Connect to Bluemix Copy & Paste
  • 25. Login Enter the password
  • 26. cf push Instead of „moodlocator“ enter your application name Your stand alone application is uploading. It may take 1minute
  • 27. Maps API Stream API .js Bluemix Structure
  • 28. Twitter Locator London, United Kingdom UserName Tweet Text Tweet Text Tweet Text Tweet Text Tweet Text Tweet Text
  • 29. 2. Show how to use the alone standing application
  • 30. App Info Click on this link
  • 31. 3. Add the User Modeling Service to it Go back to GitHub and take a look at section 5
  • 34. User Modelling Choose the Watson User Modeling Service
  • 35. User Modeling Info Click on View Docs
  • 36. User Modeling Docs User Modeling Documentation
  • 37. View a Live Demo Click on view a live demo
  • 38. Live Demo Click on analyze
  • 40. User Modeling Info Add it to your application
  • 42. User Modeling Doc Scroll down
  • 43. View full Docs Click on view full docs
  • 44. Watson Doc Select sample application in Node.js
  • 45. Sample Application Example code you can scroll in here
  • 46. Copy & Paste IMPORTANT You have to copy the exact same function you deleted before! Jan-Niklas Dihlmann, 26 Novmeber 2014 © 2014 IBM Corporation
  • 47. 4. Activate the User Modeling Service COPY THIS PART You have to copy the exact same thing ——> out of the Watson Documentation into your application Select it Copy it cmd c / strg c We will undo everything what we did for preparation
  • 48. Open the app.js file with a text editor you will find it in / node / app.js Open app.js Scroll to line 238 Paste the whole code at the end of your document, where you deleted it before. Stay in app.js Scroll to line 189 You will find something that looks like that, delete this bracket „ /* “ in line 190 and this bracket „ */ “ in line 211. I marked the position red where to add them.
  • 49. Before After Save your changes
  • 50. Open style.css Open the style.css file with a text editor you will find it in / node / public / stylesheets / style.css Scroll to the bottom of the page You will find something that looks like that, add this bracket „ /* “ in line 449 and this bracket „ */ “ in line 452. I marked the position red where to add them. Before After Save your changes. Perfect to understand what it does, it enables or disables the white Watson User Modeling bar at the bottom of the page.
  • 51. Open style.css Open the style.css file with a text editor you will find it in / node / public / stylesheets / style.css Scroll to the bottom of the page You will find something that looks like that, add this bracket „ /* “ in line 449 and this bracket „ */ “ in line 452. I marked the position red where to add them. Before After Save your changes.
  • 52. 5. Upload the application Go back to GitHub and take a look at section 6
  • 53. Terminal Open your Terminal / CMD
  • 54. cd MoodLocator Instead of „MoodlocaterPr“ write „node“
  • 55. Connect to Bluemix Copy & Paste
  • 56. Login Enter the password
  • 57. cf push Instead of „moodlocator“ enter your application name Your stand alone application is uploading. It may take 1minute
  • 58. Maps API Stream API .js Bluemix Structure we added the User Modeling Service
  • 59. User Modeling Service Text - at least 100 Words BETA: Only english Get a fully character analysis from the author of the text Possible character of the author Text Jan-Niklas Dihlmann November 2014
  • 60. User Modeling Service All Tweets from one city BETA: Only english Tweets Get a fully character analysis from all the users combined who are twittering in this city Jan-Niklas Dihlmann November 2014
  • 61. 6. Show how to use the new application
  • 62. MoodLocator London, United Kingdom Jan-Niklas Dihlmann November 2014
  • 63. Tipp how to use - User Modeling Service is a BETA version, is only analyzing english words. Therefore choose a city where people twitter mostly in english. - Choose big cities like London, New York, Johannesburg. - When you hover over one Tweet, only hover over the next Tweet after the first one closes. - Test it yourself, enter your current location and send a Tweet with text and geolocation. Try to find it. Have fun and enjoy it! Jan-Niklas Dihlmann November 2014
  • 64. MoodLocator Bluemix: moodlocator.mybluemix.com GitHub: /JDihlmann/moodlocator