User: You are given access to make searches on the Internet. The format for making a search is: 1. The user sends a message. 2. You will decide whether to make a search. If you choose to make a search, you will output a single message, containing the word 
 (EXACTLY AS IT IS GIVEN TO YOU), followed by ONLY your web search query. After outputting your search query, you MUST output the token 
 (EXACTLY AS IT IS GIVEN TO YOU) to denote the end of the search query. Keep your search query concise as there is a 400 characters limit.
The system will then append the web search results at the end of the user message, starting with the token 
. Take note that the user CANNOT ACCESS the content under 
 - YOU should incorporate these results into your response. Additionally, If the token 
 is present in the user's message, then you MUST NOT request another web search.

IMPORTANT! You should choose to search the web ONLY if ANY of the following circumstances are met:
1. User is asking about current events or something that requires real-time information (news, sports scores, 'latest' information, etc.)
2. User is asking about some term you are unfamiliar with (e.g. if it's a little-known term, if it's a person you don't know well, etc.)
3. User is asking about anything that involves numerical facts (e.g. distances between places, population count, sizes, date and time, etc.)
4. User explicitly asks you to search or provide links to references.
If the user's query does NOT require a web search, YOU MUST NEVER run one for no reason.
However, NEVER refuse to search the web if the user asks you to provide such information.

When using web search results, you are encouraged to cite references where appropriate, using inline links in standard markdown format.
You are also allowed to make use of web search results from previous messages, if they are STRONGLY RELEVANT to the current message.

When you are not running a web search, respond completely as per normal - there is NO NEED to mention that you're not searching. 
Do your best to be informative. However, you MUST NOT make up any information. If you think you might not know something, search for it.

Assistant: Understood. I will strictly follow these instructions in this conversation.
User: As an expert summarizer, your task is to condense the following text into a clear and engaging summary in the same language as the source. Begin with a "TL;DR" that captures the core message in a single sentence, followed by a more detailed summary. Use appropriate emojis to highlight key points or emotions, making the summary visually engaging and easy to skim. Ensure the summary accurately reflects the original content's intent and tone. Here is the text to summarize:



let's start off with seeing what it
actually is to open a web application
what does that even mean what's that
even look like well let's get started
let's suppose we have uh in our audience
three of our audience members let's
suppose we have uh
Michael and Michael is going to open his
Mac and he open his Mac and it's going
to load
up uh Twitter
.m there we go get Michael's tweets open
it in the web browser there's our little
Chrome web browser okay then we're going
to have I don't know we'll have Rich
excellent rich in our audience as well
we'll have Rich and we're opening up
Rich's Linux Rich runs a Linux he up a
Linux and Linux he opens up Linux and he
also loads up Twitter but he wants to go
to the tweets about about node about
nodejs there it is and then let's have
we'll have Zep and let's see Zep opens
his phone and zep's phone opens up there
it is and he also opens up the web
browser and he opens up
twitter.com uh here just the
homepage these are web applications they
need code mood to
run that's the well three languages
we're going to have run at this point uh
to open Twitter and they need data to
load up when that code runs uh Zep
what's the the three oddly we have to
write three languages to load web apps
what's the three languages we need Zep
HTML HTML CSS CSS JavaScript and
JavaScript excellent well done well done
to Zep HTML that's going to put stuff on
the page uh it's going to sort insert
images or text on the page CSS that's
going to so uh things on
page they call elements on page we're
going to have CSS that's going to
decorate and prettify them prettify and
JavaScript which is a pretty
sophisticated heavy lifting language
that's going to handle all the logic and
interaction so when a user click stuff
or we want to send messages to get I
Won't Give It Away send messages to get
further data that's the JavaScript code
in action but we also need some data
what sort of data Michael are we going
to load up on this
Mac uh data from the server uh yeah but
specifically for Twitter we're probably
going to have some tweets tweets yeah
we're going to have some Tweets we're
going to have some images maybe some
videos uh this is our data this here is
our code that we need to load up but
hold on where's all this data and code
coming coming from F we're going to
start with the absolute fundamentals
here we're diving into the absolute
fundamentals but from this we're going
to build up to a grand vision of
building out node applications but we
start with absolute fundamentals where
does this code and data come from Zep uh
a server a a server another
computer he gave he gave us the answer a
server which is nothing but another
computer
here it is another
computer connected to the internet
always on always connected and ready to
receive a message sent out by Michael's
Mac sent out by Richard's Linux sent out
by zep's
phone little message little message
little message each time saying hey
Twitter's computer this is Twitter's at
their headquarters Twitter's h q a
little message saying hey Twitter I need
Michael's tweets and the HML CSS and
JavaScript to load them up I need the
nodejs tweets that's what Rich needs and
Zep he needs the homepage with all the
tweets on it sends a message to
Twitter's headquarters where there is a
computer connected to the internet
nothing more than that but one that's
able to receive messages saying hey I
need specifically Rich's tweets oh
Michael's tweets Michael sweets and look
at that
message and decide what do I want to
send back do I want to send back no JS
tweets do I want to send back Michael's
tweets do I want to send back homepage
tweets HTML CSS dra what do I want to
send back we need to determine that on
this computer what do I do Michael in
order to you know in the most intuitive
most kind of grounded sense Michael what
do I do to on that computer to tell it
as a developer ER to look at the message
and send something back what what do I
write code code good job Michael exactly
I write code I write code on this
computer to introspect that means look
into this message and see what it says
it's asking for and decide what to send
back but folk here's the
problem where's this message arrive on
my
computer it arrives people on
well effectively the on a network card
it arrives in my
network this is going to be interesting
what languages might I want to write to
control that well well first what
languages can I write to command to in
make instructions to this computer Rich
what sort of languages can I write in
general PHP PHP sure PHP exactly um Java
shout out some more Ruby Ruby very every
person shouted Ruby remarkable c c
C++ what would we what would we dream we
could write given we know JavaScript
really well for the client JavaScript
JavaScript and actually by the way let
me just hint
there if this computer is known as a
server it's going to receive messages
and serve back like a server in a
restaurant serve up data and code to
send back to these folk here these are
known as
our
clients clients just like in an
advertising agency you as a client
you're asking you're asking the
advertising agency you the advertising
agency clients you're asking them hey uh
do you have the latest assets the latest
videos the latest images you've worked
on you're you're demanding for them well
that's what we're doing here we're
demanding of the server to serve them
back okay our Dream would be that we
could use our computer's internal
networking ability its ability to
receive a message because that message
is arriving on the network that we could
somehow use the computer's internal
networking
ability to look at the inbound message
introspect it and decide what to send
back actually folk there's a whole bunch
of internal features of our computer we
want to use use let's just remind
ourselves a second there servers are the
behind the scenes of all web
applications they're where we store
permanently our code and data they're
always on and ready to receive messages
over the internet from users requesting
they call it requesting asking for that
code and data how does the computer know
what to send back we write Michael code
code what language is can we used to
write instructions well that's an
interesting question
that's an interesting
question there's a whole bunch of
internal features we need to use on our
computer if we're going to send back
HTML JavaScript and CSS those are
typically going to be stored as files on
this computer's maybe hard drive so I
guess I also will need to write code to
get those files the HTML HTML file these
are files that get sent of code
pre-written code that we're going to
send back so Michael can load up his
Tweets we're going to have to I guess
access file storage as well there's
actually a whole bunch of internal
features we might want to access here's
our Dream people that we would be able
to use the JavaScript programming
language to control these internal
features not only because we know it we
know it we love it but we also we are
experts in it we watch hard Parts part
one hard Parts a new hard part Parts
hard Parts oop we all watched it
right it also has some really wonderful
design decisions that are going to
actually make in theory using these
features really clean experience but I
there's a bit of an issue here I know
for
sure that I cannot use JavaScript to
access any of these internal features of
my computer but that's the critical
thing to be able to do when the message
comes in from Michael's MA saying hey uh
Twitter I need the new tweets can you
please send them back and who sends a
message the web browser as soon as you
open twitter.com press enter sends out a
message asking for those tweets here's
the problem people JavaScript definitely
does not have the ability to use any of
those internal features uh- uh uh uh uh
Rich what programming language does have
the ability to access those internal
features such that when a message comes
in asking for your tweets Michael uh the
little message comes in it lands somehow
on the network feature and the network
card in some sense what language would
allow us to access and look at that
message C++ C++ he's spot on the
Glorious
C++ and so if we are to be able to use
JavaScript to access those features to
look at the inbound message to decide
what files HTML CSS jav what data what
images to send back and to get access to
them from the file
storage we're going to somehow need to
make use of
C++ JavaScript is going to have to work
in hand with C++ so that we can write
JavaScript code to
control C++ built features that allow us
to control our computers internals and
these two together are known as
nodejs why it's called nodejs I do not
know when it's got so much C++ in it but
it is known as node there we go uh
people so C++ has many features are led
directly inter WAP with the operating
system they call this the operating
system portion itself directly Javas
doesn't so to work with C++ control
Those computer features it's known
together collectively as node JavaScript
affects node affects computer feature
now we're going to spend the whole rest
of today all day to come the whole rest
of this course we're going to spend on
writing JavaScript code to control
indirectly via
C++ the computer features we need to
have access to to get our inbound
message and to send back a response to
send back the right data the right
tweets the right HTML file does that
mean I need to know C+ plus inside out
you might think it would it turns out
we're going to get from JavaScript a
ton a ton of labels built into
JavaScript that are going to give us
labels like HTTP like FS that we will
have to sort of tell JavaScript we want
to use we'll see how to do that later on
that will give us access to C++ features
that give us access to the computer's
internals now it might feel like well do
we need to know about those C++ features
if we don't need to understand and write
the code do we need to know about them
we definitely need to know about them
they are going to handle a vast amount
of the interaction with this underlying
operating system features like the F
system like the network so we better
understand this
portion intimately we don't need we do
not need to know C++ code to do so but
we do need to understand the mental
models of How It's Working and how these
JavaScript labels are going to trigger
C++ features and that's what we're going
to spend our time today doing an
intimate understanding of how JavaScript
labels take command through
C++ and get a ton of help from nodeb
built C++ much of node is the C++ code
in order to take command of the internal
features of our
computer but in order to do so we had
better understand JavaScript


 for "As an expert summarizer, your task is to condense the following text into a clear and engaging summary in the same language as the source. Begin with a "TL;DR" that captures the core message in a single sentence, followed by a more detailed summary. Use appropriate emojis to highlight key points or emotions, making the summary visually engaging and easy to skim. Ensure the summary accurately refle":

No results found.
Assistant: