Floripa on Rails - Welcome to reality

16
Welcome to Reality @jonatasdp | ideia.me

Transcript of Floripa on Rails - Welcome to reality

Welcome to Reality

@jonatasdp | ideia.me

What’s reality?

Comprehensive data proxy to knowledge

about real world

It’s a rubygem!

https://github.com/molybdenum-99/reality/

What we can do with it?

Brazil = Entity('Brazil')

Who is our current president?

Brazil.head_of_state # => #<Reality::Entity?(Michel Temer)>

Brazil.head_of_state.describe

Brazil.head_of_state.birth_place.describe

Brazil.head_of_state.birth_place.coord.distance_to(Entity('Florianópolis'))

# => #<Reality::Measure(506 km)>

Different Entities

Entity("Ruby (Programming Language)").influenced_by

# => #<Reality::List[Python?, Perl?, Ada?, Dylan?]>

$ reality 'Bill Gates' awards

Presidential Medal of Freedom

Lasker-Bloomberg Public Service Award

Padma Bhushan

National Medal of Technology and Innovation

Cross of Recognition

Knight Commander of the Order of the British Empire

How it works? (powered by infoboxer gem)

Infoboxer.wikipedia('pt').get('Brasil')

tour = Infoboxer.wikipedia.get("2012_Tour_de_France")

What’s the

next? Check the Roadmap!

Thanks :)@jonatasdp

http://ideia.me