Wednesday, July 5, 2017

Youtube daily report Jul 5 2017

Hello

In I/O 17 Google made two major announcements

for Android app developers.

First one was of course Kotlin and second one was

Architecture components.

In fact Architecture components didn't get much buzz

because by the time it was announced

most of the developers had left to learn Kotlin :)

Let's first address the elephant in the room.

and the elephant is: Lifecycle.

The unique and challenging feature of the Android framework.

On desktop a user clicks an app, opens it

works on it and closes it. That is the lifecycle

but on Android an Activity

which is a representation of an app

might get created multiple times

during a single user experience.

Let's see what kind of challenges this brings to us.

Memory leak

There is an object which holds a reference of an

Activity and for some reason that

Activity gets recreated

so the older instance get destroyed but it can't be

garbage collected because the reference of that Activity

is being held by another object.

This leads to memory leak.

In fact this is such an issue that beginners

at early stage need to learn how to avoid them.

AsyncTask these days are mostly used

to teach us how memory leak happens :)

Data persistence

Suppose in your Activity in onCreate() method

You are fetching some data and for some reason

Activity gets recreated

Maybe user changed the orientation. The onCreate()

is called again and the data is fetched again which was not required.

User didn't ask for it so this

leads to inefficiency.

What has Google offered?

Google wants to be more opinionated

how apps should be developed

and more guidance to the developers.

It's not providing a solution but a tool

in the form of architecture components

using which we can create better apps.

Architecture components, there are two sections

One is lifecycle related which contains

classes like LifecycleOwner, LifecycleObserver

and then there are components related to data persistence

like LiveData, ViewModel and Room

Let's discuss them briefly one by one

What is LifecycleOwner?

LifecycleOwner is an interface

and any class which implements it becomes a LifecycleOwner

Currently Google provides us two

classes. LifecycleActivity and LifecycleFragment

which are LifecycleOwner

The important thing is LifecycleOwner

contains a LifecycleObject

which sends notification about Lifecycle events

to its Observer

LifecycleObserver

This is an interface and implemented by those classes

which want to receive lifecycle events

and those events are received

thru annotations

Let's discuss lifecycle classes in slightly more detail

Lifecycle is an abstract class.

It has two enum and few methods.

Enum State has values INITIALIZED, CREATED, STARTED etc.

This is something new

We used to get events which was for a moment

but now there are states which we can enquire

and find in which state a lifecycle is.

Event enum has values ON_CREATE, ON_START etc.

which we usually get in our Activity or Fragment

and then there are methods

to manage observers.

LifecycleRegistry class

it extends Lifecycle class. It manages observers

and pass on lifecycle events to those observers.

LifecycleOwner is an interface

it has only one method getLifecycle()

and it returns a Lifecycle object

LifecycleregistryOwner, it extends

LifecycleOwner interface

and it overrides getLifecycle() method

and returns LifecycleRegistry object.

and then finally comes

the LifecycleActivity which we are going to use

as a LifecycleOwner

It implements LifecycleRegistryOwner

It overrides the method getLifecycle()

and return an object mRegistry

of class LifecycleRegistry

Let's see how LifecycleObserver and LifecycleOwner works

MyLifecycleObserver

implements LifecycleObserver interface

LifecycleObserver interface doesn't contain any method

It's just there to mark this class as

as a LifecycleObserver

In its constructor we are passing LifecycleOwner object

and then we are calling getLifecycle() method

which returns a Lifecycle object

and then we call addObserver() method

of Lifecycle object and pass the instance of this

LifecycleObserver class

lifecycle events are received thru annotations

As you saw, no miracles happened.

We already get lifecycle events

in our Activity and Fragment

Now we can get it in LifecycleObserver classes

Not a big deal

but then it provides a better separation.

Our Activity and Fragment's OnStart()

onStop(), these methods wouldn't be cluttered

This separation

from architectural point of view is a good move

and it will lead to a clean code.

Now let's discuss data components

LiveData is a class with generic type

it's a wrapper to a data which can be observed

It's a lifecycle aware which means

it gets lifecycle events.

Here is an example.

We create an Observer object, MyObserver

then we call LiveData's observe() method

and we pass the LifecycleOwner object

as well as myObserver object

Now this LifecycleOwner object which we have passed

LiveData uses it to observe lifecycle events

that's how it knows

when to send us data and when not to.

The best thing about ViewModel class

is it survives configuration change. The way we get

an object of ViewModel class in our Fragment or Activity

is we call ViewModelProviders of() method

and then pass the instance of Fragment or Activity

then we call get() method and pass MyViewModel.class

ViewModel is perfect container

for LiveData as it persists

configuration change, so it solves our issue

of fetching the same data again and again.

Sharing data between fragments of an Activity

is easy.

In Fragment

instead of passing the instance of the

Fragment in of() method we pass the instance of

Activity using getActivity() so it returns the

ViewModel object of the Activity.

Don't put any references of Activity

or Fragment to avoid memory leak.

ViewModel persists configuration change

so it doesn't match the lifecyle of Activity or Fragment.

Room is an object mapping library for SQLite.

Those of us who fetch cursor from SQLite

know that we have to iterate thru the

cursor, extract the data, put them in POJOs

maybe create a List of POJOs.

The good thing is all this is done

by Room automatically

Room has less boilerplate code as

compared to what we use for SQLite.

Room is intelligent also.

so with these two line code

we are getting a list of users

matching a name

with a particular keyword.

Room also checks error at compile time

so this should help us find out bugs.

Observability

Room can also return LiveData

and this is how all these components connect.

So, we have LifecycleActivity / LifecycleFragment

which contains ViewModel

which contains LiveData returned by Room.

and then Room also supports RxJava2

Here is the overview of architecture components

We have Activity / Fragment

which observes LiveData

held inside ViewModel

ViewModel fetches it from repository

and repository fetches it either from

Room or remote data source.

Here repository is an abstraction layer.

We could have directly called Room from ViewModel

but using this abstraction layer, repository

we are being flexible with data sources

Road map

Architecture library is in alpha version right now,

hopefully soon we can get a stable version.

It requires Android Studio version 2.3 or higher.

Currently there are two new classes introduced

LifecycleActivity and LifecycleFragment

which are LifecycleOwner.

Later these classes will be merged respectively with

AppCompatActivity and Fragment

so we can use them normally as we do now.

What next?

Google has picked up popular practices and tried

to implement them in Android framework.

This shall reduce the learning curve and hopefully motivate

more developers to use them.

I would say again these are not solutions to a problem

but tools to improve our apps.

I would suggest to go ahead and read the architecture guide

read the documentation, try out the code labs.

I have put few links in the description box.

You might find them useful.

Thank you.

For more infomation >> Introduction to Android Architecture Components under 10 minutes - Duration: 9:40.

-------------------------------------------

Renault Mégane Estate 1.5 DCI BOSE GT LINE AIRCO TREKHAAK S/K DAK LEDER Enz. - Duration: 1:01.

For more infomation >> Renault Mégane Estate 1.5 DCI BOSE GT LINE AIRCO TREKHAAK S/K DAK LEDER Enz. - Duration: 1:01.

-------------------------------------------

Audi A6 Sedan 2.0 TFSI AUT S EDITION [S-Line] , Xenon led, Navi, H. leer, LMV ,Full - Duration: 1:01.

For more infomation >> Audi A6 Sedan 2.0 TFSI AUT S EDITION [S-Line] , Xenon led, Navi, H. leer, LMV ,Full - Duration: 1:01.

-------------------------------------------

Audi Q5 2.0 TFSI QUATTRO 211pk S-LINE Automaat, Leer, Navi, Xenon, Full - Duration: 0:59.

For more infomation >> Audi Q5 2.0 TFSI QUATTRO 211pk S-LINE Automaat, Leer, Navi, Xenon, Full - Duration: 0:59.

-------------------------------------------

Audi Q5 2.0 TFSI QUATTRO 211-pk S-LINE AUT , B&O Edition, Pano, Leer, Navi, Full - Duration: 0:59.

For more infomation >> Audi Q5 2.0 TFSI QUATTRO 211-pk S-LINE AUT , B&O Edition, Pano, Leer, Navi, Full - Duration: 0:59.

-------------------------------------------

Audi A3 Sportback 1.4 TFSI PRO LINE S [S-Line] S-Tronic, Panorama, Navi, Xenon,Full - Duration: 1:00.

For more infomation >> Audi A3 Sportback 1.4 TFSI PRO LINE S [S-Line] S-Tronic, Panorama, Navi, Xenon,Full - Duration: 1:00.

-------------------------------------------

Audi A3 Sportback 1.6 TDI S-Tronic S EDITION [S-LINE] ,Xenon, H. Leer, Navi, Full - Duration: 0:54.

For more infomation >> Audi A3 Sportback 1.6 TDI S-Tronic S EDITION [S-LINE] ,Xenon, H. Leer, Navi, Full - Duration: 0:54.

-------------------------------------------

Modern akutsjukvård – vem gör vad och hur ska vi skapa en säker och effektiv vård tillsammans - Duration: 1:08.

For more infomation >> Modern akutsjukvård – vem gör vad och hur ska vi skapa en säker och effektiv vård tillsammans - Duration: 1:08.

-------------------------------------------

London Episode #1 - Duration: 5:28.

For more infomation >> London Episode #1 - Duration: 5:28.

-------------------------------------------

Danish airsoft players - Mads & Emil - EP. 23. - Duration: 4:29.

Hello you

today I´m at holbæk hardball forening , HHF.

and there is a couple of players we shall meet

so let´s say hello

hello, what´s your names ? and how long have you played ?

I´m Mads and I have played for 10-12 years

about 10 years ago and now 2-3 years again

My name is Emil and it´s about the same

we have played together a long time ago

where do you usually play ?

primarely here and støberiet, before that on hardballheaven

Ok, how about we take a look on what you play with

would you start

yes, this one is little different, we don´t see that a lot....

it´s an F2000 (G&G) and all standard

and I have thrown an EoTech copy on it

yes

sometimes I play with a real scope

so I can get some distance

can you turn it around, for those that don´t know about the bullpup concept

with the magazine behind the grip

and adjust the hopup here

it´s really nice, because it has a real nice point for holding it

and real lightweight

not very front heavy, good balance

Ok, what else do you carry ?

4 Hi-cap magazines, 450 rds.

a 130 rds mag if it gets hot...

and a M&M´s box, for some ekstra

a M&M´s grenade...

if I run dry, then I can loade some in

and a Dummy knife

and here is my STI duty one

co2 or gas?

Co2, But it´s not very often I use it

When you shoot in the forrest, it´s not really suitable

yes, lets move on

I run with an Ares m014

with a different hopup & spring

it shoot about 1,6 Joule

super super nice, I really like it

and a copy T1 sightr, because the original is a bit too expensive, if it breaks

And a 1000 lumens light, for when we play at støberiet

and 5 mid-caps 140 rds, 4 here and 1 in the rifle

and that´s enough for me

it´s better, than you have to wind it all the time

and a WE 1911 full metal

also with a changed hopup and it shoots ca. 1,1 joule

super nice , on Co2

so that´s what i make it with

when you play, is it then more milsim or day players or what ?

yes, it´s day players, we haven´t really done that milsim thing yet

out here, it´s more tactical, because of the open area

støberiet is more rush

but I like this , where it´s more relaxed

I usually ask I you have any tips or tricks for new players....or people that want to try airsoft

first contact someone that has tried it, and get out and play

start by renting something , allways

then you can see what platforms you like

something all crazy or an M4

then maybe buy something used

start with a rifle, everything else is just gear, for those that like it

do you agree ?

yes, come on out and rent a gun, that´s the way to go

you see a lot on the internet, people buy stuff

and sell it straight away, and maybe they bought for 10000,- dkk

that don´t make sense

ok, if you don´t have anything else.....

just come on out and try it

there is some great guys and good weather

Then, thanks for participating and Ill see you out there !

For more infomation >> Danish airsoft players - Mads & Emil - EP. 23. - Duration: 4:29.

-------------------------------------------

[ENG CC] [RECIPE] how to make Sun dried tomato / EJ recipe - Duration: 4:18.

Take off the stalk of cherry tomatoes first and wash them gently in the water.

Cut cherry tomatoes in half.

Put half cut tomatoes on the oven pan

and put olive oil and pepper on tomatoes.

Bake tomatoes for about 90 to 120 minutes with 100℃/212℉ heat in the oven.

You can dry tomatoes using food dryer if you have. I didn't dry them up 100% but I just dried them half and made it slightly tender.

Put cherry tomatoes neatly in the clean bottle.

If you put some rosemary, the scent is much better.

After you finished putting tomatoes in the bottle, fill in with olive oil

You can keep like this for 2 ~ 3 days at a room temperature and try it.

Tomatoes can last for three month if you keep them very well!

Sundried tomato tastes delicious when you enjoy with baguette and you can also enjoy with pasta

Next time, I would like to tell you about another simple food recipe using dried tomatoes. You can enjoy this sun dried tomatoes whenever you want!

I actually had plenty of cherry tomatoes so I came up with this sun dried tomato recipe ideas which I used to

enjoy a lot. This is also a preserved food so this recipe is a good way to keep it for a long time.

Rosemary and herb scent is very good but I also strongly recommend you to enjoy with bread and pasta :)

For more infomation >> [ENG CC] [RECIPE] how to make Sun dried tomato / EJ recipe - Duration: 4:18.

-------------------------------------------

Villa Villa Iza Belén 2 en San Jose de sa Talaia, Ibiza, España - Duration: 6:35.

Soloibiza.com

presents

Villa Villa Iza Belén 2

An accommodation in Ibiza

Find out more information http://www.soloibiza.com/blogs/villa-villa-iza-belen-2/

Make your reservation at the best price on our website

Take advantage of your visit to discover amazing places

Visit places like Playa Es Pouet Cala Boix, Des Renclí S'Illot or Cala Portinatx,

Let yourself go to a single corner with Soloibiza.com

For more infomation >> Villa Villa Iza Belén 2 en San Jose de sa Talaia, Ibiza, España - Duration: 6:35.

-------------------------------------------

GUESS THE LANGUAGE CHALLENGE! - Duration: 6:01.

Today

Hello my lovely viewers and welcome back to...

Hey everyone

I think that it's Urdu

so here we have Afrikaans

this sounds very much like German

I think, personally

really???

Real native speaker here!

Marathi? Urdu? I don't even know what these languages are?

I don't know what Marathi is

have to honestly say...

But I have strongly assume, I FEEL that it's Urdu

That's what I said Wait a minute...

I play for myself

You play for you

And in the end the person with the most points wins

OH!

Oh..she doesn't even understand the game people

Marathi would have been correct

Messed up!

Well it's definitely Russian

Sounds very similar

Oh shit...

I wanted to say Swahili but....

somehow I think it's Javanese

I think Talugu

WHAAAAT

And what was it?

Talugu

Ah! And what we also need to mention

we only have 3 lives, so we've already lost one

because we were both wrong

Perhaps we're both really bad and will both die

Real busy linguists here

Alright, let's continue

So... I think that it's

How, what is it? Thai?

Mm no, Thai or Bengali

I think

Chinese!

Yep yep, that's right

It's not Chinese

What did I tell you!

Yes, Afrikaans

Do you see!! It was Javanese

That is..

Okay now I will play for... No

Do you know what Now I'm going to press the wrong one for you

You've stuffed it up for me

That's unfair because I just had the same one

No! That's unfair

That's unfair...we're playing again

You're not the winner

That's right

My Russian

No, it's difficult

It's Russian!

They're speaking Russian

Yes!

Let's continue

Now I'm keen to know if I'll die or not guys

Danish or Finnish?

Are you certain?

Not 100%

Man! We lost It was Danish

She sabotaged me! SABOTAGE

I wonder how far she'll get

Okay, I'm going to say Swedish

When it's wrong then...

It was Finnish! It was Finnish!

Is your head working?

Head is working, head is working

Head is missing

Alright Good girl

I'm the good one

Be excited guys, be excited

For more infomation >> GUESS THE LANGUAGE CHALLENGE! - Duration: 6:01.

-------------------------------------------

Hostal Cala Jondal en Sant Josep, Ibiza, España - Duration: 7:06.

For more infomation >> Hostal Cala Jondal en Sant Josep, Ibiza, España - Duration: 7:06.

-------------------------------------------

Villa in San Jose X en San Jose de sa Talaia, Ibiza, España - Duration: 5:52.

Soloibiza.com

presents

Villa in San Jose X

An accommodation in Ibiza

Find out more information http://www.soloibiza.com/blogs/villa-in-san-jose-x/

You can book at the best price on our website

Take advantage of your visit to discover amazing places

Visit places like Cala Jondal, S'Illot Des Renclí, beach or beach Es Cavallet Ca Na Martina,

Let yourself go to a single corner with Soloibiza.com

For more infomation >> Villa in San Jose X en San Jose de sa Talaia, Ibiza, España - Duration: 5:52.

-------------------------------------------

Ilona Smet très, TRES sexy dans son mini bikini - Duration: 1:46.

For more infomation >> Ilona Smet très, TRES sexy dans son mini bikini - Duration: 1:46.

-------------------------------------------

Villa Holiday home Casa Sa Paisa 1 en San Jose de sa Talaia, Ibiza, España - Duration: 5:49.

Soloibiza.com

presents

Holiday home House Sa Paisa 1

An accommodation in Ibiza

Find more information http://www.soloibiza.com/blogs/holiday-home-casa-sa-paisa-1/

Booking at the best price on our website

Take advantage of your visit to discover amazing places

Visit places like Playa Es Cavallet, Playa Niu Blau, Cala Codolar and Cala d'en Serra,

Let yourself go to a single corner with Soloibiza.com

For more infomation >> Villa Holiday home Casa Sa Paisa 1 en San Jose de sa Talaia, Ibiza, España - Duration: 5:49.

-------------------------------------------

Junmi KIDS dessin animé| Dessin animé sur les pompiers| Camion de pompier pour les enfants - Duration: 8:45.

For more infomation >> Junmi KIDS dessin animé| Dessin animé sur les pompiers| Camion de pompier pour les enfants - Duration: 8:45.

-------------------------------------------

Mazda 6 2.2D 150 Skylease GT Rijklaar! - Duration: 1:00.

For more infomation >> Mazda 6 2.2D 150 Skylease GT Rijklaar! - Duration: 1:00.

-------------------------------------------

Volvo C30 1.6D Momentum (Climate/Cruise/16''LMV) - Duration: 0:58.

For more infomation >> Volvo C30 1.6D Momentum (Climate/Cruise/16''LMV) - Duration: 0:58.

-------------------------------------------

Une dépu­tée En Marche accu­sée d'avoir mordu un chauf­feur de taxi pour un problème - Duration: 2:16.

For more infomation >> Une dépu­tée En Marche accu­sée d'avoir mordu un chauf­feur de taxi pour un problème - Duration: 2:16.

-------------------------------------------

Toyota Avensis Wagon 2.2 D-4D Executive Business 177PK - Duration: 1:02.

For more infomation >> Toyota Avensis Wagon 2.2 D-4D Executive Business 177PK - Duration: 1:02.

-------------------------------------------

BET YOU CAN GUESS WHAT THEY'D DO WITH $1000 [MR] - Duration: 4:16.

Morgen, if you had $1000 what would you spend it on right now?

$1000? I'd take us to the finest restaurant in Adelaide and we'd get lots of shots

Isn't she a sweetheart?

I would take my shoes off

and I would throw them

and then I'd be like "look I want $1000 worth of gold!

and I want them to mould on my feet

Strippers and c*****e

There's not enough strippers here

Probably a strip club

Not a male one, a girl strip club

Yeah, girl strip club

CHOCOLATE!

Not sticking to a diet—

—Him! I would also buy him!

You know what? I would spend $1000 on you, Brodie

Ah, I'd buy beers from the Alma

He'll buy beers from the alma

I'd spend it at the alma

Mate I'll be spending it at the alma

100%

F**k yeah

Bills

Did you say bills or pills?

Pill—BILLS

I would spend it on ah—all

I would give all the girls here a free drink

That's what I'd do right here, right now

ABC Shots!

Getting f**ked up?

f**k yeah

Mums' night out

I'd spend it on beers with these lads

Saturdays are for the boys!

Ah, probably alcohol

Typical bar staff wanting some more alcohol for free

Yeah okay okay!

Boats and hoes

Booze

Anything in particular?

Bourbon

I'd get a like surgery for me beard—I wish I could get a beard

I think $1000—

So some test—some testosterone injections?

Yeah

Makeup

I'd go to MAC

I'd go to MAC, makeup

[Offscreen: F**k yeah!]

I'd get my hair done, I'd get my nails nicely done

Oh I'd probably buy a vibrator too, good idea

Vibrate and chill

Okay so like I don't like my hair

So I'd shave it

I would f**king buy a wig, and gold f**king wig

Exactly, before I said shoes, and now I say a f**king wig

Make sure it's a bob tho

Shoes

Yeah or maybe McDonalds, I'm not sure

I mean both are solid choices, really

Yeah it'd be like at least like 3 months worth of mcdonalds

But it'd be like one shoe

I would spend it on 6 chicken McNuggets

43 duck feather pillows

And one... giant

McFlurry

—Meh Safari

What?!

A car—my car—parts for the car

Anything in particular?

Cold air intake probably

Are you the one that's been hooning down Hindley Street?

No, not at all

I'd probably give it to my mum and dad

Oh, beautiful son right there, beautiful son

My mum and dad deserve all the money they can get, they're fantastic I love them

My mum!

My Parents!

Everybody loves to spend money on their parents

Everybody at the alma is just beautiful children

Thanks mum and dad!

For $1000 probably the only place I could afford is Bali

Exactly! I've been there and it's good!

Probably a trip away with my missus

Aw, isn't he a sweetheart?

Mate you gotta do it, you gotta do these—

Ladies you missed out

I'd go on a holiday!

Where to?

Uuuum... Hawaii!

Be amazing! Be amazing

You know what I'd probably go on a holiday

Or I'd go to St Paul's Old Scholar Soccer Club

And I'd sponsor them right now

You know what? That's f**king heart, he's got a heart!

I appreciate your time, thank you paparazzi, I'll see you next week

Thank you very much

Is that cool if we use that on facebook?

I don't give a f**k

F**k yeah, cheers, legend

For more infomation >> BET YOU CAN GUESS WHAT THEY'D DO WITH $1000 [MR] - Duration: 4:16.

-------------------------------------------

A Defense for IPCOT - Duration: 7:45.

D23 is right around the corner and with it we may be getting confirmed details about

the upcoming changes to Epcot.

As with any change that means we'll also be getting some angry Disney fans.

The current rumors are heavily pointing towards Future World getting new rides based on Disney

IPs, and people aren't happy.

They've taken to calling the concept IPCOT.

I'm here to talk about why IPCOT kind of makes sense.

I'm going going to come out swinging here: Epcot is not sacred, nor should it ever be.

Walt Disney had a vision for a functional city of the future called EPCOT that people

would live and work in, enough so that he bought all of the land in Florida for it and

centered Disney World around it.

That city never happened.

What we got instead was a theme park with rides, shopping, and restaurants.

So from day one, Epcot was a massive fundamental compromise on Walt's dream.

The Disney Company, from the day it started building Epcot up until today, tries to spin

this truth in a way that makes it seem like they're still making good on Walt's vision

by using some technology planned for the city and making the rides themed around the future,

but let's be real here: this is not the Epcot Walt wanted.

Personally, I believe that makes the park as qualified for change as anything else in

Disney World.

"But the theme Rob!

Even as a theme park, Future World is about the future.

What does Guardians of the Galaxy or Tron or Inside Out have to do without our real future?"

Well, nothing.

People who argue that these IP-based rides aren't inherently related to the theme of

our future as a society are completely right.

But I contest that argument on two points:

For one, why are we as guests able to accept the concept of changing an attraction and

furthermore changing that attraction's theme as a result, yet we're not as open to the

idea of changing a land's theme or even a whole park's theme?

Why is one OK but not the other?

I suppose that question is a bit unfair because the reality is for many it is OK, as evidenced

by the fact that we've seen it happen and are currently seeing it happen with little protest.

Tomorrowland was originally a land built to excite people and highlight the prospects

of the future.

However Disney quickly realized that with technology evolving at an ever increasing rate,

keeping up with the future was difficult and expensive.

So eventually the land was re-themed to represent our vision of what we thought the future was

going to be like in the past.

Hollywood Studios is in the process of dropping the filmmaking theme and becoming more of

a park about popular film franchises.

So that end, why can't the theme of Future World change?

It's not only the themes of these areas and parks that are changing, but the core

business model that the parks were founded on are changing as well.

Ride sponsorships were a crucial business model that allowed Disneyland and Disney World

to happen.

Disney would get external companies to invest millions of dollars into the design and upkeep

of rides, and in return they'd have creative input on the ride that fundamentally would

be designed to promote a message that the sponsor wanted to promote.

It was a symbiotic relationship.

For Disney it offered the means to build these rides and keep the parks attractive for guests,

and for the sponsors it was a way to get their name seen by millions of people a year and

promote a message that usually lined up with their business philosophy.

However today that business model is on the decline.

While there are still rides with sponsorships, we're seeing less and less of it over time,

and really, is that a surprise?

The sponsorship model grew out of the 50s, 60s, and 70s, before the internet.

It was a time where winning the eyes of millions was valuable.

Today with the internet, a company can spend a fraction of the money they'd spend on

a ride sponsorship on an online campaign that would not only be seen by more people, but

can be targeted to be seen specifically by the people they're hoping to reach.

So with Disney footing the entire bill for new attractions, wouldn't it make sense

that similar to the way sponsors wanted rides that lined up with their business and message,

Disney would do the same?

This is only one aspect of everything, but I believe it's the biggest and most important.

The days in which attractions were born to push the business interests of multiple companies

are on their way out.

Disney only has Disney to look out for now, and that means promoting Disney brands.

You still have exceptions to this with projects like Pandora, but I believe that serves as

an exception to the rule.

Another argument I often hear against the idea of introducing Disney IP to the parks

is that Epcot was never intended to have characters.

This is true.

For a time the only character in the park was Figment, and that was intentional.

But I believe the context of that time is important.

Back when EPCOT opened, it was Disney's first ever second gate.

There was a concern that if EPCOT wasn't distinct enough from the Magic Kingdom, that

there wouldn't be a reason to visit both.

As VP of marketing Jack Lindquist put it at the time

It made sense too.

Disney was a smaller company with less IP to go around.

For the most part the characters Disney did had to offer were the kind of characters you'd

expect in Fantasyland.

Over 30 years later and today we know that you can have characters in multiple parks

without ruining the experience or cancelling each other out.

We know, through the attractions themselves, that the parks are unique.

Furthermore Disney owns so many varied and diverse IPs that while it would have been

hard to think of IPs to put in Future World in the 80s, there are plenty to choose from today.

To that point, Epcot has already shown us that even with IPs worked into attractions,

they can still focus on a specific theme that isn't inherently related to the IP.

What does Guardians of the Galaxy have to do with energy?

Well, nothing.

What does Ellen have to do with energy?

Nothing.

However once you throw her into a situation about energy, you still get a ride about energy.

The same could be said of The Lion King and The Circle of Life in the land.

I could easily see a Guardians of the Galaxy Ride in place of the Energy Pavilion, where

the Guardians are somehow stranded on Earth and need to harness enough energy to get their

ship working again, requiring some crash course in how we collect it as a civilization.

I could even see Rocket making fun of us for still being dependant on fossil fuels.

Will Disney do that?

Who knows.

It's entirely possible they also just slap a roller coaster there and call it a day.

After all, to be fair, Frozen Ever After doesn't revolve around Norway.

It just rests on the loose connection between Frozen and the country.

In any case, you obviously don't have to like any of the changes coming to Epcot, whatever

they may be.

I don't want to argue that we need to like what Disney does, no matter what.

However I do think that rejecting the very idea of something at a base level such as

introducing IP to a theme park goes against the spirit of these theme parks.

Like Disneyland and the Magic Kingdom these parks need to be able to evolve, on both a

small and large scale, not just to compete with the market of other theme parks out there,

but to keep up with changing tastes from guests and changing technology.

Nothing is sacred.

Let me know in the comments what you think about either the rumors about the Epcot changes,

or the confirmed changes, depending on when you watch this.

Like my Carousel of Progress video, I hope we can start a dialog on not only the pros

but also the cons of such a major shift for a theme park.

Thank you all for watching, and I'll see you next time.

For more infomation >> A Defense for IPCOT - Duration: 7:45.

-------------------------------------------

HOW TO BREAK YOUR HAND WITH A SMILE - Duration: 4:56.

See the weather how crapy it is ? 

and when i see Quentin how weird this guy is … 

It's the only guy I know who will go out when it's raining as a pissing cow 

and take his jumping rope 

did you take your shampoo and your shower gel  ?

he really did take it  

Free shower 

alright have fun ! 

today is a gray day … 

Look at this ! 

Rain has a tendency to keep people home

with their computers and tv ...

when in fact it's one oft he best weather to go out !

It's gonna be fun  ! 

I have to say, I really love sunny days, 

because sunny means happy, easy

But the rain ..

it the time snails come out, you can smell the plants, see nature take over again ...

It's way more romantic, we feel the emotions

That's pretty much why I love rain so much 

We can be stupid

but you can't, don't do the supid stuff we do !

good ? 

Did you see that ?

Exactly.

Roméo just fell in the fountain

I'm not sure we got the footage on the GoPro, hopefully we do !

he hurt his hand though

so we'll have to go to the drugstore to get him a bandage or such

that's life… That's life. 

You ok my friend? 

Could be better, you know … 

Poor Roméo ... that's what happens when you oo silly stuff..

I heard you !

You said I was silly ?!

hahaha

He can't even move his hand anymore

Not good news ...

Hello

He just fell from his bike on his hand

he can't move his hand anymore

is that ok ?

Sure, should do !

Alright, thank you !

give me a high five 😉  谢

can you move ? 

yeah a little  but ah … 

Does it hurt ? 

don't touch 

So we're just out of the drugstore and the girl was adorable !

She even helped romeo with the bandage !

and asked him if it hurt ...

so, Roméo how do you feel ? 

It hurts a bit ... but i'm alright, I'm still happy

I have my little coco !

Little coco ... (says Q making fun of his friend)

One day, One box  ! 

Seems like it comes from a company hm ?

They've probably heard that romeo has some sort of ..

smell ?

Thanks BaiMao ! That's cool

Kisses ;)

We just met a fan

wait wait don't record yet !

not very slippery here, let's find a better spot I guess 

For more infomation >> HOW TO BREAK YOUR HAND WITH A SMILE - Duration: 4:56.

-------------------------------------------

Gossip news: Barbara d'Urso: " Io mi batterò per il matrimonio e le adozioni gay" | K.N.B.T - Duration: 2:37.

For more infomation >> Gossip news: Barbara d'Urso: " Io mi batterò per il matrimonio e le adozioni gay" | K.N.B.T - Duration: 2:37.

-------------------------------------------

Spiderman Frozen Elsa Funny Make Up Fail Fun Anna Snow White Ass Prank Funny Superhero In Real Life - Duration: 12:19.

Spiderman Frozen Elsa Funny Make Up Fail Fun Anna Snow White Ass Prank Funny Superhero In Real Life

For more infomation >> Spiderman Frozen Elsa Funny Make Up Fail Fun Anna Snow White Ass Prank Funny Superhero In Real Life - Duration: 12:19.

-------------------------------------------

Barbara d'Urso tra Ibiza e l'appello sui social: "Aiutatemi" - Duration: 3:50.

For more infomation >> Barbara d'Urso tra Ibiza e l'appello sui social: "Aiutatemi" - Duration: 3:50.

-------------------------------------------

Junmi KIDS dessin animé| Dessin animé sur les pompiers| Camion de pompier pour les enfants - Duration: 8:45.

For more infomation >> Junmi KIDS dessin animé| Dessin animé sur les pompiers| Camion de pompier pour les enfants - Duration: 8:45.

-------------------------------------------

How Do Computer Graphics/Video Cards Work? - Duration: 5:10.

Well, If you're a gamer or just someone who has a really nice spec'd out PC you

would have probably already heard the term ''Graphics Card'' and most likely

you know exactly what it is used for.

But how exactly does it work?

What causes the Graphics card to work how it does.

Well, in this video, I'll be talking about just that and I hope you learn something new.

So, why don't we jump into it.

Now before we get into how graphics card work, let's first set up a base as to what a graphics

card is.

Your Computer's graphics card is the component responsible for producing the visual output

from your computer.

Virtually all programs produce visual output; the video card is the piece of hardware that

takes that output and tells the monitor which of the dots on the screen to light up (and

in what colour) to allow you to see it.

Now, The CPU, working in conjunction with software applications, sends information about

the image to the graphics card.

The graphics card decides how to use the pixels on the screen to create the image.

It then sends that information to the monitor through a cable.

Either a classic VGA Cable or a HDMI Cable, but in most cases with newer Cards, People

tend to use HDMI Connectors.

Creating an image out of binary data is a demanding process.

To make a 3-D image, the graphics card first creates a wire frame out of straight lines.

Then, it rasterizes the image (fills in the remaining pixels).

It also adds lighting, texture and color.

For fast-paced games, the computer has to go through this process about sixty times

per second.

Without a graphics card to perform the necessary calculations, the workload would be too much

for the computer to handle.

One of the main things that a graphics card needs is memory.

The memory holds the color of each pixel.

In an extremely simple situation where your display resolution would be 640x480 and you

would have a black and white screen, each pixel may be only black or white, so you need

just 1 bit to store each pixel's color.

Since a byte holds 8 bits, you need (640/8) 80 bytes to store the pixel colors for one

line of pixels on the display.

You need (480 X 80) 38,400 bytes of memory to hold all of the pixels visible on the display.

The second thing a graphics card needs is a way for the computer to change the graphics

card's memory.

This is normally done by connecting the graphics card to the card bus on the motherboard.

The computer can send signals through the bus to alter the memory.

There are situations where your refresh rate is 60 frames per second.

This means that the graphics card scans the entire memory array 1 bit at a time and does

this 60 times per second.

It sends signals to the monitor for each pixel on each line, and then sends a horizontal

sync pulse; it does this repeatedly for all 480 lines, and then sends a vertical sync

pulse.

When a graphics card handles color, it does it in one of two ways.

A true-color card devotes 3 or 4 bytes per pixel (4 bytes allows an extra byte for an

"alpha channel").

On a 1600x1200-pixel display, this adds up to about 8 million bytes of video memory.

The other alternative is to use 1 byte per pixel and then use these bytes to index a

Color Look-Up Table (CLUT).

The CLUT contains 256 entries with 3 or 4 bytes per entry.

A modern card contains its own high-power central processing unit (CPU) that is optimized

for graphics operations.

Depending on the graphics card, this CPU will be either a graphics coprocessor or a graphics

accelerator.

Think of a coprocessor as a co-worker, and an accelerator as an assistant.

The coprocessor and the CPU work simultaneously, while the accelerator receives instructions

from the CPU and carries them out.

In the coprocessor system, the graphics card driver software sends graphics-related tasks

directly to the graphics coprocessor.

The operating system sends everything else to the CPU.

With a graphics accelerator, the driver software sends everything to the computer's CPU.

The CPU then directs the graphics accelerator to perform specific graphics-intensive tasks.

For example, the CPU might say to the accelerator, "Draw a polygon with these three vertices,"

and the accelerator would do the work of painting the pixels of the polygon into video memory.

I could probably go a little bit more in depth but this is meant to be a somewhat simple

video to people who are curious as to how a normal computer graphics card would work.

So, thanks for watching.

If you like the video, learnt anything new or want more feel free to subscribe, comment

what you think down below, and subscribe for new videos every single week.

Also, feel free to check out previous tech tips videos where you can learn some cool

new stuff by clicking the links provided in the description below.

Once again, thanks for watching and I'll be seeing you in the next video.

For more infomation >> How Do Computer Graphics/Video Cards Work? - Duration: 5:10.

-------------------------------------------

【海賊王】10大真相 One piece 海賊王 871話 聯軍逃跑的計劃不成,蛋糕島的結局,五檔前進 中文字幕cc - 草帽海賊團 channel - Duration: 10:22.

For more infomation >> 【海賊王】10大真相 One piece 海賊王 871話 聯軍逃跑的計劃不成,蛋糕島的結局,五檔前進 中文字幕cc - 草帽海賊團 channel - Duration: 10:22.

-------------------------------------------

Hostal Cala Jondal en Sant Josep, Ibiza, España - Duration: 7:06.

For more infomation >> Hostal Cala Jondal en Sant Josep, Ibiza, España - Duration: 7:06.

-------------------------------------------

Villa in San Jose X en San Jose de sa Talaia, Ibiza, España - Duration: 5:52.

Soloibiza.com

presents

Villa in San Jose X

An accommodation in Ibiza

Find out more information http://www.soloibiza.com/blogs/villa-in-san-jose-x/

You can book at the best price on our website

Take advantage of your visit to discover amazing places

Visit places like Cala Jondal, S'Illot Des Renclí, beach or beach Es Cavallet Ca Na Martina,

Let yourself go to a single corner with Soloibiza.com

For more infomation >> Villa in San Jose X en San Jose de sa Talaia, Ibiza, España - Duration: 5:52.

-------------------------------------------

Villa Villa Iza Belén 2 en San Jose de sa Talaia, Ibiza, España - Duration: 6:35.

Soloibiza.com

presents

Villa Villa Iza Belén 2

An accommodation in Ibiza

Find out more information http://www.soloibiza.com/blogs/villa-villa-iza-belen-2/

Make your reservation at the best price on our website

Take advantage of your visit to discover amazing places

Visit places like Playa Es Pouet Cala Boix, Des Renclí S'Illot or Cala Portinatx,

Let yourself go to a single corner with Soloibiza.com

For more infomation >> Villa Villa Iza Belén 2 en San Jose de sa Talaia, Ibiza, España - Duration: 6:35.

-------------------------------------------

Villa Holiday home Casa Sa Paisa 1 en San Jose de sa Talaia, Ibiza, España - Duration: 5:49.

Soloibiza.com

presents

Holiday home House Sa Paisa 1

An accommodation in Ibiza

Find more information http://www.soloibiza.com/blogs/holiday-home-casa-sa-paisa-1/

Booking at the best price on our website

Take advantage of your visit to discover amazing places

Visit places like Playa Es Cavallet, Playa Niu Blau, Cala Codolar and Cala d'en Serra,

Let yourself go to a single corner with Soloibiza.com

For more infomation >> Villa Holiday home Casa Sa Paisa 1 en San Jose de sa Talaia, Ibiza, España - Duration: 5:49.

-------------------------------------------

"L'infirmière" La CinéToile-EPISODE 02 - Duration: 8:35.

For more infomation >> "L'infirmière" La CinéToile-EPISODE 02 - Duration: 8:35.

-------------------------------------------

Clash royale Reto: jugando con cartas elegidas por mi hermano (termina mal) - Duration: 9:55.

For more infomation >> Clash royale Reto: jugando con cartas elegidas por mi hermano (termina mal) - Duration: 9:55.

-------------------------------------------

Pompeii Man Appears To Have Been Wanking As He Died From Mt Vesuvius Eruption - sasha grey - Duration: 3:21.

Pompeii Man Appears To Have Been Wanking As He Died From Mt Vesuvius Eruption

If you were certain that your world was coming to an end, how would you spend your last few moments on earth? Would you go into shock and whimper in a corner until it was all over? Perhaps you'd call loved ones to say one last goodbye? Or would you use the opportunity to get in one last cheeky wank, just for old times sake?.

If you chose option 3, it seems that you're not alone: a photograph of a preserved body from Pompeii, Italy, during the eruption of Mount Vesuvius in 79AD appears to show a male victim in the midst of knocking one out.

After it was posted to the Pompeii Archaeological Park Instagram account, the picture quickly went viral, causing many to speculate as to just what he was doing when the end came.

Unsurprisingly, the leading theory online is that the man was mid-bash when his untimely death occurred. And judging by the way his leg is contorted, it's been proposed that he was nearing his own eruption at the time that Vesuvius blew.

Sadly, the theory that the oldest known wanker in the world had been uncovered appears to be wishful thinking, as volcanologist and full-time wet blanket Pier Paolo Petrone pointed out.

"There is no way to demonstrate any 'masturbating man,' and it is out of place to discuss such an affirmation of some young time waster," Dr Petrone told the Daily Dot.

According to Petrone, the victims of Vesuvius were killed by thermal shock when their organs were cooked by deep, fourth-degree burns.

"The individual in the photo is an adult man, killed by the hot pyroclastic surge – hot gas and ash cloud which killed most of the population living around Mount Vesuvius – with both arms and legs flexed due to the heat.

Petrone went on to state that the man most likely took up his wanky pose after death.

"Most of the human victims found in Pompeii often show 'strange' position of arms and legs, due to the contraction of limbs as a consequence of the heat effect on their bodies after death occurred," he said.

And while it would be foolish to argue with volcanologist who has been studying Vesuvius and its victims for the last 25 years, there's no way he can be 100% sure that the man wasn't pulling his pud when the mighty mountain blew its load.

Not only is this picture hilarious and inspiring in equal measure, it has also given rise to a sh*tload of classic tweets. Here's a few of the best….

For more infomation >> Pompeii Man Appears To Have Been Wanking As He Died From Mt Vesuvius Eruption - sasha grey - Duration: 3:21.

-------------------------------------------

Spiderman Frozen Elsa Funny Make Up Fail Fun Anna Snow White Ass Prank Funny Superhero In Real Life - Duration: 12:19.

Spiderman Frozen Elsa Funny Make Up Fail Fun Anna Snow White Ass Prank Funny Superhero In Real Life

For more infomation >> Spiderman Frozen Elsa Funny Make Up Fail Fun Anna Snow White Ass Prank Funny Superhero In Real Life - Duration: 12:19.

-------------------------------------------

Rewriting MBR To Control Your Own Computer - Duration: 23:35.

What's up guys. I'm Langester. This is my first video of project f. And today we will do some fun stuff.

The first thing we're going to do is check out harddisk sector by using winhex.

Open harddisk(not partition) in which your os was installed .

This is MBR and the last two bytes must be 55 aa.

I use the 9th(0x1000) and 11th(0x1400) sector to store our program.

If you find there are data in 0x1000-0x1200 and 0x1400-0x1600 in your own disk ,Please dont write it into harddisk with my code!

Now let's write boot sector code. The programming language left for us is assembly language.

I will briefly talk about how this code works.

what we do first is initialize ds es segment register

In this stage,we could only use bios interrupt call, and I link the page of bios interrupt call info in the description

reset hard disk using 13h bios interrupt call

Read our second part of boot code(0x1400) into 9000h addr

es:bx points to buffer zone

CF will be set to 1 if int 13 fails, and jb will jmp to error

jmp to 0x9000 to run our second part of boot code.

write end code to make our cpu stop here if any error occurs

Using int 10 to display a string of characters

calculate how many bytes we have before 510 and assign zero to this region

The last two bytes must be 55 aa in our mbr(512bytes) in order for bios to load our code to 0x7c00

save it to .asm file

The next thing we're going to do is write our second part of boot code(0x90000).

define some variables

display some characters in our screen when we fire up our computer.

We will wait for people to press a key using int 16h and compare it to our setup, we will continue this process until it matches our setup

press a to let our os starting, b to halt our system

Read our original mbr to 0x7c00 from 9th sector(0x1000)

What we do next is restore our sectors that we have overwritten(we will overwrite them later).

Write 0 to 0x8000-0x8200

write es:bx buffer(has been zeroed out) to the 11th sector.

After we've done all of these things,we will jmp to 0x7c00 to load our os and we will never enter this program again.

I forget to add jmp end instruction

save it to boot8.asm

We build our boot.bin using nasm

Now it's time to write a driver to write our boot code to mbr.

I will cover all of these code in this driver later in my windows kernel programming tutorial.

We read and rewrite mbr using this device.

Make sure your two boot bin are located in where you specify here.

object attribute is required to open our files

Define file handle variables

Initialize object attribute using this macro

Open our files

If error occurs in any of these functions,we will do nothing and return.

Dont forget to close our file handles if they have been opened.

Read original mbr.

Read two boot bin files.

Set right offset where we write our code in.

Please NOTE that you need to restore your hard disk sector if you have written one or two sectors when error occurs. You need to implement these on your own before you run your code.

Integrate writembr function into fileopen.

We have done everything we need to do.

Let's see our mbr now using winhex.

Alright, it chages a lot and we also need to check out 0x1000-0x1200 and 0x1400-0x1600

So far so good

Let's see what will happen

It's working

press b, it will stop and leave you no choose but to reboot your machine.

press a and our windows will run

We will check our if program erased itself after windows running

Out code is gone completely

That's it, If you enjoyed this video. Please subscribe to my channel

For more infomation >> Rewriting MBR To Control Your Own Computer - Duration: 23:35.

-------------------------------------------

自然光で夜景で綺麗なポートレートの撮り方 & ストロボなしで神戸の夜の街の光で人物撮影 / 設定 &場所選び 【イルコ・スタイル#044】/ Natural Light Night Portraits - Duration: 8:44.

Hello, guys I am Ilko, thanks for watching my channel!

Today I will be talking about shooting portraits at night without using strobes

I will only be using the lights of the city!

Let's go and see what light we will find around here in Kobe!

I hope you stay until the end!

Ok, this will be my first spot, we have really nice and soft light here which looks like as if I am using some softbox!

But actually, it is not any softbox...

I am just using this information board which is very well backlit and creates some really beautiful night light!

When I am shooting this video now my settings are Shutter speed: 1/30, ISO-800 and as usually I am at F/2

Since I am on a tripod now I don't mind the shutter speed, but is i was handheld I would get it as fast as 1/80-1/100

And I would raise my ISO to maybe 1600-2000 to match the exposure!

About the color of this board, it is a but warm, so I have my white balance manual at around 5200K

If I was using a strobe I would be at 5600K or 5700K,but with this beard I am fine at 5200K!

And this gets some really nice white balance on my subject face!

So this will be the first spot for today, here in Kobe Harborland, stay with me for the next couple of spots and more tips!

Here is my second spot, which also has some really nice light ready to be used!

This is also a really nice background here in Kobe!

My settings are similar to the settings on the previous spot, but now I am a bit further away from the light

So now mi ISO is not 800 but I made it 1000

ANd my shutter speed is also 1/30 sec

So if you find a similar spot, you can only go with your camera and lens, no need for strobes, stands, etc.

And you can get some really nice and soft light great for portraits!

And here are couple of shots taken with these "'softboxes''

Now lets change the spot a bit

As you probably noticed I am on the same spot, and I just changed the camera position

Now I am shooting from the opposite direction, and have the Port Island bridge in the background

Same place, same light, same settings!

Time to move to the last spot, where I will talk about some more tips about shooting at night with natural light

This is my last spot for today, and it is also Kobe, Harbourland with the Ferrys wheel'in the background

So let me summarize some of the things I was talking about

And talk about what I am searching when I shoot without strobes at night

I usually want to have some soft light which is big in relation to my sibject

So the beard I am using now, or for example some vending machines are like a big softboxes! You can also use shopping windows!

Of course you can't change the power of the boards, so how can you control the exposure and balance in your photo

Is by changing the distance between your subject and the light

this is how you can control the balance between the exposure of your subject and background

And usually when I am shooting at this kind of conditions I am using long prime lenses like 85mm or 135mm

Of course I use them at wide open aperture which usually lets me shoot at shutter speeds of

Around 1/50- 1/100

Usually every light has it's own white balance, and you need to adjust manually for it

I use 2 different ways to adjust my WB

First it by just adjusting your kelvin settings, and match the light color

but if I want to get a bit more exact color I am using the Custom White Balance function

With the CWB function, I use a white piece of paper or maybe a grey card and shoot it being lit by the light I use for the subject

And then I use that image as a preset for the custom white balance

And after that I am ready to shoot!

to summarize the settings again, shutter speed is between 1/50-1/100, ISO is around 1600 and I am always at wide open aperture!

Thanks for watching this video until the end!

If you find it useful, don't hesitate to click the LIKE button below!

And I would be more than happy if you subscribe for more videos!

Also if you leave me a comment I will do my best to reply all of them!

I hope to see you in my next video! Cheers, and greetings from Japan!

No comments:

Post a Comment