Thứ Tư, 4 tháng 10, 2017

Youtube daily Oct 4 2017

Hi, I'm Carrie Anne, and welcome to CrashCourse Computer Science.

Over the past two episodes, we've delved into the wires, signals, switches, packets,

routers and protocols that make up the internet.

Today we're going to move up yet another level of abstraction and talk about the World

Wide Web.This is not the same thing as the Internet, even though people often use the

two terms interchangeably in everyday language.

The World Wide Web runs on top of the internet, in the same way that Skype, Minecraft or Instagram do.

The Internet is the underlying plumbing that conveys the data for all these different applications.

And The World Wide Web is the biggest of them all – a huge distributed application running

on millions of servers worldwide, accessed using a special program called a web browser.

We're going to learn about that, and much more, in today's episode.

INTRO

The fundamental building block of the World Wide Web – or web for short – is a single

page.

This is a document, containing content, which can include links to other pages.

These are called hyperlinks.

You all know what these look like: text or images that you can click, and they jump you

to another page.

These hyperlinks form a huge web of interconnected information, which is where the whole thing

gets its name.

This seems like such an obvious idea.

But before hyperlinks were implemented, every time you wanted to switch to another piece

of information on a computer, you had to rummage through the file system to find it, or type

it into a search box.

With hyperlinks, you can easily flow from one related topic to another.

The value of hyperlinked information was conceptualized by Vannevar Bush way back in 1945.

He published an article describing a hypothetical machine called a Memex, which we discussed

in Episode 24.

Bush described it as "associative indexing ... whereby any item may be caused at will

to select another immediately and automatically."

He elaborated: "The process of tying two things together is the important thing...thereafter,

at any time, when one of those items is in view, the other [item] can be instantly recalled

merely by tapping a button."

In 1945, computers didn't even have screens, so this idea was way ahead of its time!

Text containing hyperlinks is so powerful, it got an equally awesome name: hypertext!

Web pages are the most common type of hypertext document today.

They're retrieved and rendered by web browsers which we'll get to in a few minutes.

In order for pages to link to one another, each hypertext page needs a unique address.

On the web, this is specified by a Uniform Resource Locator, or URL for short.

An example web page URL is thecrashcourse.com/courses.

Like we discussed last episode, when you request a site, the first thing your computer does

is a DNS lookup.

This takes a domain name as input – like "the crash course dot com" – and replies

back with the corresponding computer's IP address.

Now, armed with the IP address of the computer you want, your web browser opens a TCP connection

to a computer that's running a special piece of software called a web server.

The standard port number for web servers is port 80.

At this point, all your computer has done is connect to the web server at the address

thecrashcourse.com

The next step is to ask that web server for the "courses" hypertext page.

To do this, it uses the aptly named Hypertext Transfer Protocol, or HTTP.

The very first documented version of this spec, HTTP 0.9, created in 1991, only had

one command – "GET".

Fortunately, that's pretty much all you need.

Because we're trying to get the "courses" page, we send the server the following command

– GET /courses.

This command is sent as raw ASCII text to the web server, which then replies back with

the web page hypertext we requested.

This is interpreted by your computer's web browser and rendered to your screen.

If the user follows a link to another page, the computer just issues another GET request.

And this goes on and on as you surf around the website.

In later versions, HTTP added status codes, which prefixed any hypertext that was sent

following a GET request.

For example, status code 200 means OK – I've got the page and here it is!

Status codes in the four hundreds are for client errors.

Like, if a user asks the web server for a page that doesn't exist, that's the dreaded

404 error!

Web page hypertext is stored and sent as plain old text, for example, encoded in ASCII or

UTF-16, which we talked about in Episodes 4 and 20.

Because plain text files don't have a way to specify what's a link and what's not,

it was necessary to develop a way to "mark up" a text file with hypertext elements.

For this, the Hypertext Markup Language was developed.

The very first version of HTML version 0.a, created in 1990, provided 18 HTML commands

to markup pages.

That's it!

Let's build a webpage with these!

First, let's give our web page a big heading.

To do this, we type in the letters "H 1", which indicates the start of a first level

heading, and we surround that in angle brackets.

This is one example of an HTML tag.

Then, we enter whatever heading text we want.

We don't want the whole page to be a heading.

So, we need to "close" the "h1" tag like so, with a little slash in the front.

Now lets add some content.

Visitors may not know what Klingons are, so let's make that word a hyperlink to the

Klingon Language Institute for more information.

We do this with an "A" tag, inside of which we include an attribute that specifies

a hyperlink reference.

That's the page to jump to if the link is clicked.

And finally, we need to close the A tag.

Now lets add a second level heading, which uses an "h2" tag.

HTML also provides tags to create lists.

We start this by adding the tag for an ordered list.

Then we can add as many items as we want, surrounded in "L i" tags, which stands

for list item.

People may not know what a bat'leth is, so let's make that a hyperlink too.

Lastly, for good form, we need to close the ordered list tag.

And we're done – that's a very simple web page!

If you save this text into notepad or textedit, and name it something like "test.html",

you should be able to open it by dragging it into your computer's web browser.

Of course, today's web pages are a tad more sophisticated.

The newest version of HTML, version 5, has over a hundred different tags – for things

like images, tables, forms and buttons.

And there are other technologies we're not going to discuss, like Cascading Style Sheets

or CSS and JavaScript, which can be embedded into HTML pages and do even fancier things.

That brings us back to web browsers.

This is the application on your computer that lets you talk with all these web servers.

Browsers not only request pages and media, but also render the content that's being

returned.

The first web browser, and web server, was written by (now Sir) Tim Berners-Lee over

the course of two months in 1990.

At the time, he was working at CERN in Switzerland.

To pull this feat off, he simultaneously created several of the fundamental web standards we

discussed today: URLs, HTML and HTTP.

Not bad for two months work!

Although to be fair, he'd been researching hypertext systems for over a decade.

After initially circulating his software amongst colleagues at CERN, it was released to the

public in 1991.

The World Wide Web was born.

Importantly, the web was an open standard, making it possible for anyone to develop new

web servers and browsers.

This allowed a team at the University of Illinois at Urbana-Champaign to create the Mosaic web

browser in 1993.

It was the first browser that allowed graphics to be embedded alongside text; previous browsers

displayed graphics in separate windows.

It also introduced new features like bookmarks, and had a friendly GUI interface, which made

it popular.

Even though it looks pretty crusty, it's recognizable as the web we know today!

By the end of the 1990s, there were many web browsers in use, like Netscape Navigator,

Internet Explorer, Opera, OmniWeb and Mozilla.

Many web servers were also developed, like Apache and Microsoft's Internet Information

Services (IIS).

New websites popped up daily, and web mainstays like Amazon and eBay were founded in the mid-1990s.

A golden era!

The web was flourishing and people increasingly needed ways to find things.

If you knew the web address of where you wanted to go – like ebay.com – you could just

type it into the browser.

But what if you didn't know where to go?

Like, you only knew that you wanted pictures of cute cats.

Right now!

Where do you go?

At first, people maintained web pages which served as directories hyperlinking to other

websites.

Most famous among these was "Jerry and David's guide to the World Wide Web", renamed Yahoo

in 1994.

As the web grew, these human-edited directories started to get unwieldy, and so search engines

were developed.

Let's go to the thought bubble!

The earliest web search engine that operated like the ones we use today, was JumpStation,

created by Jonathon Fletcher in 1993 at the University of Stirling.

This consisted of three pieces of software that worked together.

The first was a web crawler, software that followed all the links it could find on the

web; anytime it followed a link to a page that had new links, it would add those to

its list.

The second component was an ever enlarging index, recording what text terms appeared

on what pages the crawler had visited.

The final piece was a search algorithm that consulted the index; for example, if I typed

the word "cat" into JumpStation, every webpage where the word "cat" appeared

would come up in a list.

Early search engines used very simple metrics to rank order their search results, most often

just the number of times a search term appeared on a page.

This worked okay, until people started gaming the system, like by writing "cat" hundreds

of times on their web pages just to steer traffic their way.

Google's rise to fame was in large part due to a clever algorithm that sidestepped

this issue.

Instead of trusting the content on a web page, they looked at how other websites linked to

that page.

If it was a spam page with the word cat over and over again, no site would link to it.

But if the webpage was an authority on cats, then other sites would likely link to it.

So the number of what are called "backlinks", especially from reputable sites, was often

a good sign of quality.

This started as a research project called BackRub at Stanford University in 1996, before

being spun out, two years later, into the Google we know today.

Thanks thought bubble!

Finally, I want to take a second to talk about a term you've probably heard a lot recently,

"Net Neutrality".

Now that you've built an understanding of packets, internet routing, and the World Wide

Web, you know enough to understand the essence – at least the technical essence – of

this big debate.

In short, network neutrality is the principle that all packets on the internet should be

treated equally.

It doesn't matter if the packets are my email or you streaming this video, they should

all chug along at the same speed and priority.

But many companies would prefer that their data arrive to you preferentially.

Take for example, Comcast, a large ISP that also owns many TV channels, like NBC and The

Weather Channel, which are streamed online.

Not to pick on Comcast, but in the absence of Net Neutrality rules, they could for example say that

they want their content to be delivered silky smooth, with high priority…

But other streaming videos are going to get throttled, that is, intentionally given less

bandwidth and lower priority. Again I just want to reiterate here this is just conjecture.

At a high level, Net Neutrality advocates argue that giving internet providers this

ability to essentially set up tolls on the internet – to provide premium packet delivery

– plants the seeds for an exploitative business model.

ISPs could be gatekeepers to content, with strong incentives to not play nice with competitors.

Also, if big companies like Netflix and Google can pay to get special treatment, small companies,

like start-ups, will be at a disadvantage, stifling innovation.

On the other hand, there are good technical reasons why you might want different types

of data to flow at different speeds.

That skype call needs high priority, but it's not a big deal if an email comes in a few

seconds late.

Net-neutrality opponents also argue that market forces and competition would discourage bad

behavior, because customers would leave ISPs that are throttling sites they like.

This debate will rage on for a while yet, and as we always encourage on Crash Course,

you should go out and learn more because the implications of Net Neutrality are complex

and wide-reaching.

I'll see you next week.

For more infomation >> The World Wide Web: Crash Course Computer Science #30 - Duration: 11:37.

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

Get a sneak peek of BLINK Cincinnati - Duration: 1:15.

For more infomation >> Get a sneak peek of BLINK Cincinnati - Duration: 1:15.

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

Forest fire continues to burn in Woodstock - Duration: 1:58.

For more infomation >> Forest fire continues to burn in Woodstock - Duration: 1:58.

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

Police investigate West Birmingham Apartment Fire - Duration: 1:20.

For more infomation >> Police investigate West Birmingham Apartment Fire - Duration: 1:20.

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

10 Strange Times Donald Trump Appeared On Films And Television - Duration: 7:42.

Elite Facts Presents

10 Strange Times Donald Trump Appeared on Films and Television

1.

Fresh Prince of Bel Air In an episode titled "For Sale by Owner,"

Trump, appearing as himself (and trust us, that's pretty much the only role he plays.

It's rare he plays a different character), visited the Banks family and was mistaken

as a potential buyer of their Bel-Air Upon mansion.

Once he's spotted by Carlton Banks (Played by Alfonso Ribero), He does pretty much what

he does best (Besides dancing to Tom Jones' It's not unusual), He screams in excitement,

"It's the Donald!

Oh my god!" while Hilary (Karyn Parsons) tells him, "You look much richer in person."

I bet after hearing that quote, he probably couldn't stop smiling for the rest of the

day.

2.

Home Alone 2 Now i think we can all agree that even though

Home Alone 2 isn't the best out of the first 2 films in the series (Although it is an opinion

as i know a good few people who like the second film the most).

Regardless of opinions though, you have to admit that this is still an incredibly fun

film to watch around the holiday season.

Whether it's Macaulay Culkin taking his pranks to the next level or Joe Pesci being

a creepy as ever (Seriously, i was always worried that he'd go goodfellas in both

films), It was a good bit of fun to be had.

However in recent years, Home Alone 2 has sort of gained a reputation for one singular

reason.

In the sequel to the original 1990 film, the president of the united states appeared in

a short scene in which he tells Macaulay Culkin's character, who is lost inside New York's Plaza

Hotel (then owned by Trump), how to get to the lobby.

3.

WWE WrestleMania 23 Now i don't know if this technically classes

as television as it is a Pay Per View, However it is a form of fictional media so we're

going to allow this one.

So a lot of wrestling fans will remember this one for sure.

Back in 2007, The owner of the World Wrestling Entertainment (Or wwe for short), Vince McMahon

challenged Donald Trump to what he called "The Battle of the Billionaires".

This would involve both Trump and McMahon choosing a wwe performer each to wrestle against

one another.

McMahon would choose Umaga while Trump would choose Bobby Lashley.

The stipulation of the match states that the loser must have their head shaved.

While the match was happening, Donald Trump got involved by tackling Vince McMahon to

the ground and throwing some of the most feeble punches anyone had ever seen.

As expected, Trump won that match and Vince McMahon was shaved bald.

After the match, Donald Trump was then given a Stone Cold Stunner by Stone Cold Steve Austin.

Needless to say, this was one weird idea for a wrestling match.

Trump would later appear on WWE Raw again in 2009.

4.

The Little Rascals Here we have yet another film cameo appearance

made by Trump, However unlike his home alone appearance, this one was a much more substantial

role rather than a throwaway cameo.

Trump made a special appearance as Waldo's (Blake McIver Ewing) dad in the family comedy.

In his cameo, he tells Waldo over the phone, "You're the best son money can buy."....I'm

pretty sure that no matter what appearance he has, he always requests that he mentions

money somewhere in his lines.

5.

Zoolander So here's yet another really, REALLY weird

cameo made by Trump.

So in the film Zoolander (Released in 2001), he's yet again playing himself and joins

a long list of other celebrity cameos that appeared in this Ben Stiller film.

On the red carpet, Trump praises Stiller's fictional character, telling reporters, Saying

"Without Derek Zoolander, male modeling wouldn't be what it is today."

My question here however is this.

Do you think Donald Trump knew what this film was about when he signed on for this cameo?

6.

Ghosts Can't Do It In Trump's cameo, he and Katie Scott (played

by Bo Derek) are in a business meeting where Katie is receiving help from her husband Scott,

who is a ghost only she can see.

Apparently, Trump was so bad in this film that he actually won a Razzie award for worst

supporting actor for playing himself in the fantasy film.

That is kind of hilarious considering all he needed to do was to be himself.

7.

Spin City So who remembers Spin City?

This show if you've never watched it was actually quite an entertaining as it centered

around a fictional local government that runs New York City.

I know that description doesn't do it much justice but trust us, It's from the creator

of Scrubs and the first 4 seasons star Michael J Fox.

It's definitely worth watching if you like your sitcoms.

Anyway before we go any further on track, In a 1998 episode of Spin City, Trump appeared

opposite star Michael J. Fox, who introduces the businessman with mentions of his two best-selling

books, The Art of the Deal and The Art of the Comeback.

8.

The Associate.

Here's yet another film appearance where really, he wasn't really needed.

I mean that's kind of the idea of cameo in films, you know adding in a nice, small

appearance of a random actor who isn't tied to the actual film's story but this one

felt like a bit of a throwaway.

Trump appeared alongside Whoopi Goldberg for a second time in The Associate, the 1996 comedic

film about making it on Wall Street, in which the businessman plays himself.

9.

Comedy Central's Celebrity Roast.

Now, This one doesn't seem too far fetched in terms of praticality, However it's still

crazy to think he went onto a show in which he would get roasted by other celebrities

and comedians.

Let's be honest here, Donald Trump isn't exactly the most thick skinned of people as

whenever someone makes a joke about him on twitter, 9 times out of 10, he will most likely

block you from following and tweeting to his account.

Anyway, he roast consisted of jokes toward Trump's hairstyle, his show The Apprentice,

and his family.

Jokes were also made about Jeselnik's fame (or lack thereof), Matlin's deafness, King's

age, and Jersey Shore.

Several roasters paid respect to Greg Giraldo, a Comedy Central Roast regular, who passed

away on September 29, 2010.

Mike "The Situation" Sorrentino's performance was widely panned by critics and viewers alike;

as a result, Comedy Central pulled several of his jokes from the television airing of

the roast

10.

The Drew Carey Show Trump seems to have a thing about having cameo

appearances in both sitcoms and sketch comedy shows.

So In the season two episode of the Drew Carey Show entitled "New York and Queens", Drew

Carey, Ryan Stiles, Christa Miller and Diedrich Bader's characters run into Trump on the street

while stuck in a bad traffic jam in the middle of New York City.

In the scene, he offers the group of friends free tickets to his box seats at the Yankees

game.

Because i'm sure he would actually do that to a random group of people he's ran into

in a traffic jam.

I mean let's be real here, i'm sure you wouldn't if you were a billionaire.

And that's our list?

Did we miss any out?

Let us know in the comments below!

Please remember to subscribe and tap the bell button to be notified when new videos are

uploaded.

Thanks for Watching!

For more infomation >> 10 Strange Times Donald Trump Appeared On Films And Television - Duration: 7:42.

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

Calibre 50 cuenta su experiencia en el sismo de México | Suelta La Sopa | Entretenimiento - Duration: 2:46.

For more infomation >> Calibre 50 cuenta su experiencia en el sismo de México | Suelta La Sopa | Entretenimiento - Duration: 2:46.

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

'Dope sick' driver flees deadly crash to meet drug dealer, court says - Duration: 2:00.

For more infomation >> 'Dope sick' driver flees deadly crash to meet drug dealer, court says - Duration: 2:00.

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

VA whistleblower enters 2nd District race - Duration: 1:45.

For more infomation >> VA whistleblower enters 2nd District race - Duration: 1:45.

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

Heridos de Las Vegas cuentan desgarradores testimonios | Al Rojo Vivo | Telemundo - Duration: 2:31.

For more infomation >> Heridos de Las Vegas cuentan desgarradores testimonios | Al Rojo Vivo | Telemundo - Duration: 2:31.

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

Cancelan concierto de Julión Álvarez en Guatemala | Suelta La Sopa | Entretenimiento - Duration: 0:35.

For more infomation >> Cancelan concierto de Julión Álvarez en Guatemala | Suelta La Sopa | Entretenimiento - Duration: 0:35.

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

24 Reasons Man of Steel & Power Rangers Are The Same Movie - Duration: 3:44.

The film starts off with a flashback and the villain is destroying an entire planet.

The villain is after this power source, but the good guy won't let it fall into the

wrong hands so he hides the power source.

A battle between good and evil ensues and at the end, the good guy is defeated and the

bad guy disappears after a blast kills everyone else on the planet.

Years later, we meet the hero of the film and he's a teenager with attitude.

One day he gets into a horrible car accident and his life is never the same.

Afterwards, His father gives him some horrible advice about how he should've just let the

other kids in the accident suffer the consequences, but the son understands parents just don't

understand and ignores him.

One of the main teenagers in the movie is a victim of bullying.

Someone defends his honor in a bromantic kind of way and the hero and nerdy kid become close

friends after that.

Later on in the film, the government guards a restricted area.

The heroes trespass and they discover an opening in the mountain.

This pathway leads to a spaceship.

In the spaceship, things get super weird and that's where the consciousness of the good

guy who hid the power source at the beginning is discovered.

The consciousness tells the hero about his true power and the pros and cons to being

a superhero using this grey pixelated power point projection.

Being a young guy with super powers is tougher than beef jerky.

The powers keep causing major outbursts at the school.

At the part where the hero heats up the metal and all the students are watching, he's

fortunate no one knew it was him because it almost gave away his secret identity.

The hero understands with great power comes great responsibility so he focuses on learning

how to use his powers properly.

The hero goes to the mountains and practices jumping like really really high.

He doesn't stick the landing, but practice makes perfect.

The hero is fortunate that no one catches him on camera.

In today's social media age, probably the most fake thing that happens is his actions

don't end up on social media somewhere.

There's a part in the movie where the fisherman is fishing.

He discovers something dangerous in the ocean and an investigator does some investigating

on the situation and the story still doesn't end up on anyone's Facebook timeline.

The opposite happens with the villain and the bad guy is a trending topic and ends up

on every news channel.

The alien has plans to take over the world like Pinky and the Brain.

Aware that it's not a job for a lone ranger, the villain tries to get the good guy to betray

his allies at first.

The partnership seems too good to be true because it is.

The hero has a vision of what would happen to earth and all it's inhabitants if the

bad guy's plan is successful.

The hero does some soul searching and while he searches for his soul, someone searches

for him.

Him and his love interest reunite at the dead man's grave and they make a deal to work

as a team.

The hero suits up in the spaceship and travels as fast as he could to go and save his hometown.

The bad guy and the evil army invade the town square and we get some of the most shameless

product placement in a film since the first Transformers movie.

The good guys shoot up the town while trying to aim at the villain, but they end up missing

and shooting up all the buildings and cars full of innocent bystanders.

It's one thing to hurt innocent people caught in the crossfire, but what really pisses off

the hero is when the bad guy tries to kill his parent (audio).

He gets upset after this and his power level gets over 9000 and he takes it out on the

bad guy.

They fight a big metal robot and everyone sees the battle.

Including easter egg characters from previous films before the reboot.

They destroy some more of the city and the fight gets so out of control it even ends

up in outer space at one point.

The good guys win, and the villain seems dead, but will end up making an appearance in the

next installment in the franchise.

Those are 24 reasons these movies are the same.

You agree?

Yes, no, maybe so?

If not, politely share your thoughts in the comment section below and click the subscribe

button for more 24 reason videos.

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

Đăng nhận xét