Chủ Nhật, 28 tháng 1, 2018

News on Youtube Jan 28 2018

In this video, I show you how Kruskal's algorithm finds a minimum spanning tree in a weighted

undirected graph.

A spanning tree is a connected and acyclic subgraph that contains all vertices.

So for example, the vertices and edges in orange form a spanning tree.

The weight of the spanning tree is the sum of all edge weights, in this case the weight

is 47.

The goal of Kruskal's algorithm is now to find a spanning tree that has the smallest

possible weight.

Let's go through Kruskal's algorithm step-by-step.

The algorithm simple adds an edge with lowest weight in every iteration such that no cycle

is created.

The smallest weight is -4, so we add edge "d-e".

Now, the second-smallest weight is -1 and we add edge "f-g".

So we now just continue in the same way, we add edge "a-c" with weight 2 and edge "b-c"

with weight 3.

The next edge that we would like to add is edge "a-b" with a weight of 6.

But if we add this edge we would create a green cycle on vertices "a", "b" and "c".

So that's why we do not insert this edge, instead we colour it red and ignore this edge

from now on.

Instead we add edge "c-e" which has a weight of 7.

Now among all remaining edges, there are three edges which have the same lowest edge weight

of 8.

We are not allowed to pick this edge "b-e", because if we do so then we would create a

green cycle again.

The other edges with weight 8, namely "d-f" and "e-f", are fine.

For those edges we have free choice, I pick edge "e-f".

Now we can't add any more edges without creating a cycle.

That means that Kruskal's algorithm is now finished and has found this minimum spanning

tree with a weight of 15.

So finally here is some information about Kruskal's algorithm.

Kruskal's algorithm is also a so-called greedy algorithm.

The graph must be a connected, weighted and undirected graph.

Kruskal's algorithm works also if the graph contains some edges with a negative weight.

In general, the minimum spanning tree is not unique, so there can be different minimum

spanning trees for a graph.

But, if you have a graph were all edge weights are different then you can be sure that there

is exactly one minimum spanning tree.

The time complexity depends mainly on two components: there is the component for sorting

the edges and there is also the component for checking if adding an edge would create

a cycle.

Sorting edges is the dominant component so that the total time complexity is number of

edges times the logarithm of the number of edges.

This also means that Kruskal's algorithm is rather slow if the graph has many edges.

But on the positive side, Kruskal's algorithm is quite easy to implement.

That is all the key information about Kruskal's algorithm.

I hope you could take away some bits and pieces from this video!

If you did, please subscribe to this channel and if you want to find out more about algorithms

on minimum spanning trees, Prim's algorithm here is the right thing for you!

Thanks, and bye bye.

For more infomation >> Kruskal's Algorithm: Step-by-Step Explanation - Short & Simple - Duration: 3:53.

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

The Effects Of Being Offline (And What Will Change In My Routine) - Duration: 4:21.

Hey, what's up?

John Sonmez here from simpleprogrammer.com.

I'm on my cruise ship here at the Norwegian Star.

I wanted to do a video—I've been talking about it in a video on being disconnected.

I'm kind of using this cruise as a microcosm for real life because it is such a microcosm.

There's a lot of interesting issues to deal with on a cruise.

It's kind of funny though because I'm not the first one to do this if you think about

it, right?

There's a bunch of television shows like Love Ship, remember that, that had actually used

a cruise ship as a microcosm for real life because it's like a compacted version of it.

It's an interesting concept.

I want to talk about being disconnected because I haven't had—I'm not used to do that.

I'm used to being able to reach and over and grab my phone and see what comments there

are on the YouTube channel, checking my messages, that kind of stuff, check _____ [inaudible

00:00:53] to see what's going on with the business and answer my emails.

I haven't been able to do that.

I'm kind of lying because in the last few days, we've been at port and I do have like—I've

got free Internet in Mexico, but it's real slow.

It's like 2G connection.

Also, I could pay some money and get the ship's Internet access, which would be slow but I

could have that.

You know what I've done?

I've actually just switched it off because I actually decided that I kind of liked this

being disconnected.

I felt like I was being on my phone too much and I wanted to feel what it's like.

I'm going to say that the first couple of days were extremely stressful and I still

have an underlying amount of stress about this, about being disconnected, but it feels

a lot better.

I felt like—it was kind of just awakening to realize that I'm sort of tethered to my

phone and tethered to the internet too much and it's sort of burdensome.

It's kind of nice to not have that feeling of always having to check and see what's going

on.

It's an addition, right?

Honestly, like you get that dopamine rush of checking, click, click, click, did I get

a new message, did I get a new comment on my YouTube channel?

Do I have new emails to deal with?

Whether it's good or bad, it's still a dopamine rush.

I've decided that I'm going to make just to my daily routine after being on this microcosm

of the ship.

It doesn't mean that I'm going to disconnect for weeks at a time and not check my email,

because that would be burdensome.

What I think I'm going to do is try to stay disconnected except for the times that I'm

actually going to answer email, sit down times or maybe I'm looking at YouTube comments that

I specifically planned out rather than just as I'm walking on the street maybe flip through

some comments on my phone, or check some email messages because it creates that sort of tethering,

that kind of pervasive stress.

I didn't realize that I had fallen to that.

There were some times that I had taken all the social media apps off my phone and that's

kind of doing this to some degree.

I almost want to walk places without having my phone.

I have to think about if I can actually do that and not even have my phone at all.

That might even be a better solution so that I can't do those things.

I mean what am I really using the phone for?

A lot of times it's for maps, like for GPS if I'm driving, but I can leave the phone

in the car, lock it up or—and I suppose like what else do you really need the phone

for?

It's not like I'm really calling people, maybe texting people sometimes, but most of the

time I'm not when I'm travelling or walking around.

Yeah, so I might actually try that.

Anyway, this is just a report from me, nothing really groundbreaking here, obviously.

Some of you are like, "Well, duh, John!

This is very true."

I had to discover this for myself and this was a good test to see how things—I'm not

back yet, so I'm going to have a mountain of email and messages and stuff, but it feels

good to not have to deal with that all the time.

I'm getting these videos done, I'm doing my workouts, that's what I need to do to keep

things going, but I don't have to be checking my messages, I don't have to be responding

to emails everyday or checking comments on YouTube and letting that hijack my life.

I didn't even realize, like I said, you just fall into that pattern.

That's all I've got for you today.

If you haven't subscribed already, click that Subscribe button below.

Click the bell so you don't miss any videos.

I'll talk to you next time.

Take care.

For more infomation >> The Effects Of Being Offline (And What Will Change In My Routine) - Duration: 4:21.

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

simple maggam work blouse designs | latest blouse designs, basic embroidery stitches - Duration: 2:25.

blouse designs

For more infomation >> simple maggam work blouse designs | latest blouse designs, basic embroidery stitches - Duration: 2:25.

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

Our Favorite Games Songs | Kids Songs | Super Simple Songs - Duration: 15:55.

Peek-a-boo

Peek-a-boo

Peek-a-boo

I see you

Peek-a-boo

Peek-a-boo

I see you

Peek-a-boo

Peek-a-boo

Peek-a-boo

Peek-a-boo

Peek-a-boo

Peek-a-boo

Peek-a-boo

I see you

Peek-a-boo

Peek-a-boo

I see you

Peek-a-boo

Peek-a-boo

Peek-a-boo

Peek-a-boo

Peek-a-boo

Peek-a-boo

Peek-a-boo

I see you

Peek-a-boo

Peek-a-boo

I see you

For more infomation >> Our Favorite Games Songs | Kids Songs | Super Simple Songs - Duration: 15:55.

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

Special Relativity Made Simple Even Retarded Can Understand - Duration: 7:07.

Before we begin this video is just made to make the topic so simple that everyone has a basic idea of it.

And serves as a complement to your video, lectures, reference books etc or just for fun and remember to turn on subtitles

when Isaac Newton introduced his theory of mechanics to the world

This wonderful formula is used to tell the whole story of motion and forces or not so in 20th century

When Albert Einstein suddenly thought what if bodies move and or near speed of light.

does it still hold?

lets start off with einstein's postulate on special theory of relativity.

and

postulate means

Assume fact as a basis of reasoning like the thing is not yet verified, but still goes along with it to explain something

His first postulate says laws of physics are the same in all inertial frames of reference

This means a person or running man observing an apple falling from tree will see the same physics behind it

Whether it's velocity or time it takes to fall

His second postulate says the speed of light in vacuum is same in all inertial frames

This means whether the UFO astronaut the light moves just as fast as they are measured or perceived

The light must be in vacuum, so it has to be in space

These two postulates serve as a foundation to the concept of special relativity

Alright, let's introduce the idea of simultaneity

The idea is like when you woke up at 7:00 a.m.

2 events happen, which is when you woke up and the clock shows seven. these two events

happened at the same time, which caused simultaneity.

Let's consider simple scenario

someone in the train known as inside man

Moves past a person standing outside on the platform known as outside man

Imagine there's antman standing beside inside man and is about to jump

The inside man measure the time the antman takes to jump up and back down outside man

also Do the same thing as he did but surprisingly they have different result?

The inside man sees antman in totally vertical motion that is just up and down

But the outside man widening his eyes with red aura kinda cool, right?

Anyway, sees antman moving diagonally

Because every time the train moves antman moves by the corresponding amount

So who is right? the answer is both are right it all depends on their point of view

Here's an analogy imagine

There's two people facing each other suddenly another people run past between them

One of them says that the person is going right the other sees left. you get the point now

The key point here is that the outside man measure time slower than the inside man.

the difference in time is expressed in this formula as

Delta t equals delta T. Naught over square root of 1 minus u square over C square

Where delta T

Is time measure in observed frame, delta t is time measure in rest frame and K is called Lorentz factor

Look at the results I had calculated. No matter what speed is as long as its

Relativistic speed that is at least 10 percent of speed of light

It's always bigger than the time taken by the observer at rest.

The simple thing to know is that whatever moving past a body at rest

Nearly, or at speed of light the moving is bus and the stationary is slow. It's that simple.

This phenomena is known as time dilation, which means time is larger for an observer at rest.

Another scenario exists when a body of a certain length is different for different observers.

For example the inside man measures the length of the line to be 1 meter

But outside man sees it as it's shorter than 1 meter

This is known as length contraction

The formula is l equals L naught divided by K

The result for length contraction is displayed. notice that this time, it is not divided by the corresponding

Lorentz factor and

Anything divided by a number bigger than one results in smaller number

Hence the length of observed by the also address is always shorter than the one in moving frame

What if the line is perpendicular to the motion of the Train?

It doesn't change because the line is not parallel to the motion of the Train

As a result of all of this to analyze the motion or time of a body relative to another

We use a different transformation formula than the one in relative velocity

This is known as Lorentz

transformation

This is the list of the formula. usually the only difference is

you [PAUSE please] multiply the relative velocity formula with the lorentz factor. it uses the idea that space and time are no longer separate variables and now dependent on each other and

Union of fusion is needed between the two and is called space-time

how to imagine space-time

Look at this picture not this time the gap between two second

And the second interval increases as the shape and hence space bends

Then it is extended to this picture

And finally this grand scale this shows that different parts of the universe may have

different timescales

tips on solving special relativity problems

Always find a way and use the inside a second example to fit into the problems that you are trying to solve

Whether it's twin paradox

or

Pole in a barn. Here's how you do it?

You remember the example used to explain time dilation?

then you simply just imagine the assignment as the man holding the phone and

Inside man as the observer on the platform. It's actually simple and does the trick

All it takes now is practice

You then extend this idea to other problems and by doing more practice exercises

This comes naturally to you

after all Einstein once said

Imagination is more important than knowledge

All right it ends here. Now. Thank you for watching. Hopefully. There'll be more of this coming soon

For more infomation >> Special Relativity Made Simple Even Retarded Can Understand - Duration: 7:07.

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

One Little Finger | Simple kids Songs TV - Duration: 4:24.

one tittle finger

For more infomation >> One Little Finger | Simple kids Songs TV - Duration: 4:24.

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

Simple Exercises To Fix Posture - Duration: 1:41.

Hi my name is Eric Daw for Omni-Fitt, and today I'm going to answer a question

I get often. All about posture, or how to improve your posture. So follow me as I

go through the three or four exercises of how to do it. Let's go! The first

exercise is the wall angel, where the setup is you put your heels, hips and

shoulders against the wall. After which you put your elbows against

the wall. By the way which is the most important point and you slide your arms

up and down within your comfortable range of motion. A lot of people can't

keep their hands against the wall, and if that's the case that's okay; that's what

we're working on to improve. Next let's move on to some external rotation, like

the wall angel your elbows are the most important part. You see if you let the

elbows leave your body, you no longer working the muscles we're targeting. Doing the

external rotation with your hands is great, but if you can throw in some

resistance. If you have a very light resistance band and I emphasize light,

try doing the same exercise with it. And if you notice regardless of band or no

band the elbows have to stay in your body.

Lastly let's do a chest stretch. The setup for this is your inside foot

against the wall, your inside arm about shoulder height ,and your body turned in

the direction that your feet are facing.

For more infomation >> Simple Exercises To Fix Posture - Duration: 1:41.

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

Pourquoi ne pas faire quelque chose d'aussi simple que sain ? - Duration: 6:54.

For more infomation >> Pourquoi ne pas faire quelque chose d'aussi simple que sain ? - Duration: 6:54.

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

How to Paint simple Landscape with Watercolor Beginners | getting started - Duration: 4:50.

Thanks for watching :)

If you like please hit subscribe button

For more infomation >> How to Paint simple Landscape with Watercolor Beginners | getting started - Duration: 4:50.

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

The real Secret to Getting More Women Hired In Hollywood Is Mind-Numbingly Simple (Part 2) - Duration: 12:00.

The real Secret to Getting More Women Hired In Hollywood Is Mind-Numbingly Simple

In 2018, it's a truth universally acknowledged that women who work behind the scenes in Hollywood have it rough.

Like, really, really, rough. In fact, in 2017, women held just 18 percent of key behind-the-scenes roles in the top 250 grossing films of the year.

It's a sad reality, and no one is more aware of these dismal statistics than Amy Adrion, the director of Half the Picture, a documentary about female directors in Hollywood that debuted at Sundance Film Festival this year.

But luckily, Adrion has the solution to getting more women hired behind the scenes — if only Hollywood would listen.

"Directors are in a gateway position.

When you have a woman director, statistically it's been shown that you'll have more women producers, cinematographers, editors — more women in key positions," she says during the Sundance premiere party for her film.

"If you want to make a change, hiring a woman director can open those doors for other women.".

And she's right.

A 2015 study from Martha Lauzen, the director at the Center for the Study of Women in Television, found that female directors are more likely to hire other women in behind the scenes roles.

The study examined 700 films released in 2014 and found that on film sets where one-third or more of the producers and directors were women, the number of writers, editors, and cinematographers that were women more than doubled.

And while it seems like a simple enough solution to hire female directors, getting women to helm major studio films is no easy task.

They are more than willing, but Hollywood may not be willing to give them a fair shot.

"The numbers for directors are horrible. About four percent of top feature films are directed by women," Adrion says.

Luckily, 2017 boasted slightly higher numbers than Adrion quoted.

According to the 2017 Celluloid Ceiling study, 11 percent of the top 250 grossing films were directed by women.

Even so, 11 percent is nothing to celebrate.

"You talk to people in Hollywood and they'll say, 'Well this is a business. This isn't a charity.

We aren't here to give jobs to people just because.' But statistically, research shows that the films made by women make money, so that argument isn't bolstered by facts," Adrion says.

The statistics are alarming: If you look at the summer of 2017 alone, female directed films utterly crushed it.

Wonder Woman's opening weekend marked the highest ever for a female director, Stella Meghies Everything, Everything brought in 11.7 million its opening weekend, and Rough Night, directed by Lucia Aniello, brought in $8.1 million its premiere weekend.

Clearly, when given the chance and the resources, women can bring in serious bank.

"You have hitmakers like Catherine Hardwicke (Twilight), Kimberly Peirce (Boys Don't Cry, Carrie) and Sam Taylor-Johnson who did Fifty Shades of Grey.

these women who had blockbuster films, and then they don't get that next big film.

It's like, what are the goal posts here? What standards are we working with for women? They are definitely different than men.".

Hardwicke, who broke box office records with Twilight — try $400 million worldwide — famously took a pay cut for subsequent projects.

She told Variety: "I guess I thought after the success of Twilight, I might have had a bigger opportunity instead of a smaller one.".

And this was someone who had proven they could make a wildly successful film.

It's even tougher for female directors who, god forbid, have a flop.

"This is a business where no one bats a thousand," Adrion says.

"All of your favorite directors — Christopher Nolan, Paul Thomas Anderson, whoever — they've all had failures, but then they make that next big film.

Women don't get that chance — if you have one failure you're in director jail forever.".

While the stats are undeniably disheartening, Adrion, who spent two years making this documentary by interviewing some of the most well-known female directors working today, isn't entirely pessimistic about the future for women behind the scenes.

"I'm an optimist.

I don't think we've seen any change in feature films statistically, but there is this movement.

You have directors like Ava Duvernay and Jill Soloway talking about why inclusion is so important.

Natalie Portman is speaking up at the Golden Globes.".

But for the statistics to really change, Hollywood gatekeepers need to take note.

"It's great to have panels about it, mentoring programs, initiatives, but ultimately you have to start hiring women.

People who can hire women need to hire women.

They need to fund women's stories.

We as the audience need to support women and diverse stories.".

The solution is simple, but the path to getting there will be lined with obstacles.

So if the next Star Wars movie wants to give a female director a shot, it would likely employ more than one woman in need of a job.

For more infomation >> The real Secret to Getting More Women Hired In Hollywood Is Mind-Numbingly Simple (Part 2) - Duration: 12:00.

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

FT Simple Cub with Run-Cam Split | Ian's Tutorials - Duration: 2:09.

The drone lost sight of my plane... XD

That is a real plane!!

Không có nhận xét nào:

Đăng nhận xét