SlideShare a Scribd company logo
1 of 64
Download to read offline
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 8Katy Slemon
 
Building The SpringGraph Flex Component
Building The SpringGraph Flex ComponentBuilding The SpringGraph Flex Component
Building The SpringGraph Flex ComponentGuo 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 postsSo 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 WaySrushith Repakula
 
ASP.NET Session 9
ASP.NET Session 9ASP.NET Session 9
ASP.NET Session 9Sisir 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 5Sisir Ghosh
 
Scraping Handout
Scraping HandoutScraping Handout
Scraping HandoutCindy 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 optionSanchita Singha
 
Best Laravel Eloquent Tips and Tricks
Best Laravel Eloquent Tips and TricksBest Laravel Eloquent Tips and Tricks
Best Laravel Eloquent Tips and TricksTechtic 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 Immediatelycgyabca66
 
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 pagePetros Michailidis
 
IMPACT/myGrid Hackathon - Introduction to Taverna
IMPACT/myGrid Hackathon - Introduction to TavernaIMPACT/myGrid Hackathon - Introduction to Taverna
IMPACT/myGrid Hackathon - Introduction to TavernaIMPACT Centre of Competence
 
Using Wordpress with Reclaim Hosting
Using Wordpress with Reclaim HostingUsing Wordpress with Reclaim Hosting
Using Wordpress with Reclaim HostingCindy Royal
 
Ember.js - Harnessing Convention Over Configuration
Ember.js - Harnessing Convention Over ConfigurationEmber.js - Harnessing Convention Over Configuration
Ember.js - Harnessing Convention Over ConfigurationTracy Lee
 
Tips to make dependency diagram
Tips to make dependency diagramTips to make dependency diagram
Tips to make dependency diagramridha26
 
Web scraping
Web scrapingWeb scraping
Web scrapingrebekacox
 

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

Cartel Behavior in the NCAA
Cartel Behavior in the NCAACartel Behavior in the NCAA
Cartel Behavior in the NCAAbaboocher
 
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.1M. Fernanda Rios
 
Alunos Inconvenientes!
Alunos Inconvenientes!Alunos Inconvenientes!
Alunos Inconvenientes!Andreia Abreu
 
Performance management 1.1
Performance management 1.1Performance management 1.1
Performance management 1.1BICorporate
 
Actividad N° 1 - Unidad 1
Actividad N° 1 - Unidad 1Actividad N° 1 - Unidad 1
Actividad N° 1 - Unidad 1M. Fernanda Rios
 
9 evapotranspiracion
9 evapotranspiracion9 evapotranspiracion
9 evapotranspiracionJuan 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-16Maria Figueroa
 
Mito de los volcanes
Mito de los volcanesMito de los volcanes
Mito de los volcanesMac Bull
 
Jornada Erasmus+ BCN 4 abril 2016
Jornada Erasmus+  BCN 4 abril 2016Jornada Erasmus+  BCN 4 abril 2016
Jornada Erasmus+ BCN 4 abril 2016FEDACPrats
 
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

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 twistLauren 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 InterConnectLauren Hayward Schaefer
 
Progressive Web Application by Citytech
Progressive Web Application by CitytechProgressive Web Application by Citytech
Progressive Web Application by CitytechRitwik Das
 
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.pdfarfa442827
 
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 FormsDigamber Singh
 
Angular Interview Questions-PDF.pdf
Angular Interview Questions-PDF.pdfAngular Interview Questions-PDF.pdf
Angular Interview Questions-PDF.pdfJohnLeo57
 
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 ControlsKhademulBasher
 
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-ivAmit 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-ivAmit Sharma
 
Creating & consuming simple web service
Creating & consuming simple web serviceCreating & consuming simple web service
Creating & consuming simple web serviceAbhijit 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 4Manoj 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 - WorkbookLauren Hayward Schaefer
 
Webinar on How to use MyAppConverter
Webinar on How to use  MyAppConverterWebinar on How to use  MyAppConverter
Webinar on How to use MyAppConverterJaoued 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 waywale ayandiran
 

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

SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 

Recently uploaded (20)

SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 

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