DZone
Java Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Java Zone > Oracle Code New York Report

Oracle Code New York Report

Oracle Code New York speaker Tim Spann gives his thoughts on the conference, a keynote speaker, microservices, and drone data ingestion.

Tim Spann user avatar by
Tim Spann
CORE ·
Mar. 27, 17 · Java Zone · News
Like (5)
Save
Tweet
5.70K Views

Join the DZone community and get the full member experience.

Join For Free

I recently attended Oracle Code New York City 2017, and I thought I'd go over my experiences and thoughts on them, from keynote speakers to the latest news. Without further ado, let's dive in!

Keynotes

Chris Richardson did an amazing walkthrough and discussion of the what/why/how/when of microservices. This is incredibly powerful material. Chris explains it very well and removes some of the misinformation around microservices. A full two hours from the keynotes are already on YouTube.

Key Takeaways

Image title

Image title

  1. Design APIs first.

  2. Not everything is a microservice.

  3. Microservices work for bigger problems and larger applications.

  4. You need a lot of requirements to support, develop, manage, and operate microservices.

  5. You better have a PaaS or superb DevOps + CI +CD to even consider doing it.

  6. The 100 lines of code thing is silly.

  7. If CQRS is something you haven't thought of, don't even consider anything like "transactions" over multiple microservices.

Image title

My talk was the last of the day and was well-attended, so let's jump in.

Oracle Code NYC Talk on Ingesting Drone Data into Big Data Platforms

For a pre-talk interview on Oracle TV, click here. (GitHub)

Slides

Ingesting Drone Data into Big Data Platforms from Timothy Spann

A big shout-out to the Oracle team for hosting a great event and having me talk about Open Source.   Convene is a great little venue and had strong WIFI, snacks and drinks.

Highlights

MetaData EXIF Geotagging:

Photographs taken from UAVs, the JPEGs will have extra data stored in EXIF.
Apache NiFi can extract this information, which is very helpful.
The most important information it contains is GPS information for latitude and longitude.

GPS Altitude Ref: Sea level
GPS Altitude: 21 metres
GPS Longitude: -73° 4' 50.41
GPS Latitude: 40° 45' 16.51

Image title

TensorFlow for Inception v3:

python classify_image.py --image_file /opt/demo/dronedata/Bebop2_20160920083655-0400.jpg
solar dish, solar collector, solar furnace (score = 0.98316)
window screen (score = 0.00196)
manhole cover (score = 0.00070)
radiator (score = 0.00041)
doormat, welcome mat (score = 0.00041)

bazel-bin/tensorflow/examples/label_image/label_image --image=/opt/demo/dronedata/Bebop2_20160920083655-0400.jpg
tensorflow/examples/label_image/main.cc:204] solar dish (577): 0.983162I 
tensorflow/examples/label_image/main.cc:204] window screen (912): 0.00196204I 
tensorflow/examples/label_image/main.cc:204] manhole cover (763): 0.000704005I 
tensorflow/examples/label_image/main.cc:204] radiator (571): 0.000408321I 
tensorflow/examples/label_image/main.cc:204] doormat (972): 0.000406186


Sentiment analysis:

/opt/demo/sentiment/run.sh
python /opt/demo/sentiment/sentiment.py "$@”

from nltk.sentiment.vader import SentimentIntensityAnalyzer
import sys
sid = SentimentIntensityAnalyzer()
ss = sid.polarity_scores(sys.argv[1])
print('Compound {0} Negative {1} Neutral {2} Positive {3} '.format(
ss['compound'],ss['neg'],ss['neu'],ss['pos']))

or

if ss['compound'] == 0.00:print('Neutral')
elif ss['compound'] < 0.00:print ('Negative')
else:                    print('Positive')


Zeppelin Data Analytics

Image title

Image title

Installing Sentiment Libraries for Python

https://pip.pypa.io/en/latest/installing/
http://www.nltk.org/install.html

wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py
sudo pip install -U nltk
sudo pip install -U numpy
sudo pip install -U textblob
sudo python -m textblob.download_corpora


Installing Apache NiFi

Download the binary from here:  http://hortonworks.com/downloads/#dataflow

Or here:
https://nifi.apache.org/download.html

Or on Mac:
brew install nifi

https://nifi.apache.org/docs/nifi-docs/html/getting-started.html#starting-nifi

bin/nifi.sh start


Big data

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • How Low Code Demands More Creativity From Developers
  • Version Number Anti-Patterns
  • Introduction to Word Vectors
  • Understanding OAuth 2.0

Comments

Java Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo