2024-02-04T05:10:10.420Z
nova-2
2-general-nova
2024-01-09.29447
30089e05-99d1-4376-b32e-c263170674af
1be7f2bd-dc5c-4be3-bdd1-fdb571a9ff19
d830217fd5b5f2e3599b8a789a1fa0f0d946f0a5471aa2cbc1fb32e611604afd
67875a7f-c9c4-48a0-aa55-5bdb8a91c34a
deprecated
Today, I'm going to put this weird thing on my head and communicate with GPT 4 using nothing but my thoughts.
Growing up, my dad would always tell me, damn it, son.
You need to use your brain more.
But I never fully understood what he meant until now.
The human brain is the most complex machine in nature, and how it really works is still a mystery.
What we do know is that it's always emitting measurable trickle impulses called brainwaves.
Scientists have been measuring these waves for decades using electroencephalograms or EEGs that neck tons of electrodes to your dome.
You've likely seen them in movies like Clockwork Orange, but I was able to get my hands on this futuristic device called the Crown, a compact and stylish electroencephalogram that you could totally wear on a Tinder date without looking weird.
It's the same basic idea as Elon's Neuralink, except you won't need to drill a hole into your skull.
And best of all, it's got a JavaScript SDK that we can use to hack into our own brainwaves.
Naturally, my first thought was to connect my brain to GPT 4, to give myself superhuman intelligence, and that's what I did, which makes me the smartest man in the world.
You're about to get a glimpse into the future, a transhuman cyborg future where every human, well, every rich human anyway, will have all the knowledge in the world, not just at their fingertips, put out their brain tips.
The poors will have these as well, but they'll be used by the CIA to make you dumber.
Like, the moment you get thirsty, you'll be served an advertisement for overpriced sugar water that will slowly kill you.
The Crown device has a price tag of about $1,000.
It sits on the back of your head and has a bunch of tiny electrodes that measure your brainwaves.
It hooks up to a mobile app via Bluetooth or Wi then streams your brain's data into the ether.
The app also provides helpful utilities like how to improve focus, but I don't care about that.
I want access to the raw data, which we can easily get in JSON format via its JavaScript SDK.
But first, you need to know a little bit more about brainwaves.
When you're asleep, your brain emits low frequency delta waves around 2 hertz.
These waves increase their frequency when you're awake and relaxed as they become alpha waves around 10 hertz.
And then finally, when you become highly focused, like when solving a coding problem or playing chess, they increase to 35 hertz.
And these are gamma waves, and that's what we care most about measuring because they're useful for actually controlling things.
Brainwave patterns are highly dynamic and can rapidly change depending on a person's cognitive state, mental processes, and external stimuli.
However, Neurocity, the company that makes the crown, provides a dashboard where you can train algorithms to recognize your own custom thought patterns.
Like currently, I'm training it to understand when I'm thinking about biting into a lemon.
I just imagine biting into a sour ass lemon and then relax when it tells me to.
After doing this about 30 times, it will learn how to recognize that thought pattern.
So currently, I am not thinking about biting into a lemon, and the chart's not moving.
But now, as I start thinking about biting into a lemon, the chart goes wild.
That's pretty crazy, and it's accurate to the point of being somewhat frightening.
It is somewhat time consuming, but you can train all kinds of different communicate with GPT 4.
Here I have a basic Node.
Js project created with npm init.
From there, I can install the Neurosity SDK.
Then in code, I'll go ahead and import it, and the first step is to initialize it with your device ID.
The device ID can be found in the mobile app.
Next, we log in with our email and password because a crowned can have multiple users, and now I can start reading my brain with JavaScript by simply calling neurocitybrainwavesraw, then subscribe to a stream of that data.
Well, technically, it's an observable because it uses RxJS under the hood.
If we console log it, it spits out an overwhelming feed have data.
It has a sampling rate of 256 hertz, which means we'll get 256 samples per second.
They're batched into 16 that emit approximately every 62.5 milliseconds.
In addition, the brainwaves are broken down into 8 different channels, so you get these objects with tons of numbers that look like this.
If you went to brain college, you might be able to take this data and analyze it yourself, but luckily, neuropathy provides a better way.
Have.
It provides observables for specific states like calm and focus.
That means we can subscribe to those mental states and then run code as side effect.
But the coolest thing is that we can also recognize those thought patterns that we trained earlier.
Like if we want to listen to left hand pinch, we can call neurosodykinesis followed by the name of event, and it's this feature that allows me to turn myself into a cyborg.
What I'm able to do now is install the OpenAI SDK, where I can authenticate and access GPT 4.
The API is dead simple to use.
All we need to do is call create chat completion, specify the model as EPT 4, and then send it an array of messages.
The result is no different than what you would get from chat gpt in the browser.
Once I have that message, I can do whatever I want with it.
Like, what I can do next use a text to voice model to convert the text into voice as an audio file.
This is your president speaking.
Subscribe to Fire Ship on YouTube before I drone strike your ass.
And then transmit it directly to a Bluetooth earpiece.
The implications of this are huge, because now when I show up late to my daily stand up meeting, all I have to do is think right hand pinched to ask chat gpt to come up with an excuse for why I was late for work.
Or if I'm taking a test, like the bar exam, and there's a question I don't know answer to, all I have to do is think about biting a lemon, which will transmit a signal to my camera enabled glasses, which will then upload that image to GPT and provide an answer that's guaranteed to get me in the top 80%.
Or maybe I could become a super soldier, then stick out my tongue to blow up a village of innocent civilians.
The possibilities are endless when you start thinking like a JavaScript program cyborg.
Thanks for watching, and I will see you in the next one.

Speaker 0: Today, I'm going to put this weird thing on my head and communicate with GPT 4 using nothing but my thoughts. Growing up, my dad would always tell me, damn it, son. You need to use your brain more. But I never fully understood what he meant until now. The human brain is the most complex machine in nature, and how it really works is still a mystery.

What we do know is that it's always emitting measurable trickle impulses called brainwaves. Scientists have been measuring these waves for decades using electroencephalograms or EEGs that neck tons of electrodes to your dome. You've likely seen them in movies like Clockwork Orange, but I was able to get my hands on this futuristic device called the Crown, a compact and stylish electroencephalogram that you could totally wear on a Tinder date without looking weird. It's the same basic idea as Elon's Neuralink, except you won't need to drill a hole into your skull. And best of all, it's got a JavaScript SDK that we can use to hack into our own brainwaves.

Naturally, my first thought was to connect my brain to GPT 4, to give myself superhuman intelligence, and that's what I did, which makes me the smartest man in the world. You're about to get a glimpse into the future, a transhuman cyborg future where every human, well, every rich human anyway, will have all the knowledge in the world, not just at their fingertips, put out their brain tips. The poors will have these as well, but they'll be used by the CIA to make you dumber. Like, the moment you get thirsty, you'll be served an advertisement for overpriced sugar water that will slowly kill you. The Crown device has a price tag of about $1,000.

It sits on the back of your head and has a bunch of tiny electrodes that measure your brainwaves. It hooks up to a mobile app via Bluetooth or Wi then streams your brain's data into the ether. The app also provides helpful utilities like how to improve focus, but I don't care about that. I want access to the raw data, which we can easily get in JSON format via its JavaScript SDK. But first, you need to know a little bit more about brainwaves.

When you're asleep, your brain emits low frequency delta waves around 2 hertz. These waves increase their frequency when you're awake and relaxed as they become alpha waves around 10 hertz. And then finally, when you become highly focused, like when solving a coding problem or playing chess, they increase to 35 hertz. And these are gamma waves, and that's what we care most about measuring because they're useful for actually controlling things. Brainwave patterns are highly dynamic and can rapidly change depending on a person's cognitive state, mental processes, and external stimuli.

However, Neurocity, the company that makes the crown, provides a dashboard where you can train algorithms to recognize your own custom thought patterns. Like currently, I'm training it to understand when I'm thinking about biting into a lemon. I just imagine biting into a sour ass lemon and then relax when it tells me to. After doing this about 30 times, it will learn how to recognize that thought pattern. So currently, I am not thinking about biting into a lemon, and the chart's not moving.

But now, as I start thinking about biting into a lemon, the chart goes wild. That's pretty crazy, and it's accurate to the point of being somewhat frightening. It is somewhat time consuming, but you can train all kinds of different communicate with GPT 4. Here I have a basic Node. Js project created with npm init.

From there, I can install the Neurosity SDK. Then in code, I'll go ahead and import it, and the first step is to initialize it with your device ID. The device ID can be found in the mobile app. Next, we log in with our email and password because a crowned can have multiple users, and now I can start reading my brain with JavaScript by simply calling neurocitybrainwavesraw, then subscribe to a stream of that data. Well, technically, it's an observable because it uses RxJS under the hood.

If we console log it, it spits out an overwhelming feed have data. It has a sampling rate of 256 hertz, which means we'll get 256 samples per second. They're batched into 16 that emit approximately every 62.5 milliseconds. In addition, the brainwaves are broken down into 8 different channels, so you get these objects with tons of numbers that look like this. If you went to brain college, you might be able to take this data and analyze it yourself, but luckily, neuropathy provides a better way.

Have. It provides observables for specific states like calm and focus. That means we can subscribe to those mental states and then run code as side effect. But the coolest thing is that we can also recognize those thought patterns that we trained earlier. Like if we want to listen to left hand pinch, we can call neurosodykinesis followed by the name of event, and it's this feature that allows me to turn myself into a cyborg.

What I'm able to do now is install the OpenAI SDK, where I can authenticate and access GPT 4. The API is dead simple to use. All we need to do is call create chat completion, specify the model as EPT 4, and then send it an array of messages. The result is no different than what you would get from chat gpt in the browser. Once I have that message, I can do whatever I want with it.

Like, what I can do next use a text to voice model to convert the text into voice as an audio file. This is your president speaking. Subscribe to Fire Ship on YouTube before I drone strike your ass. And then transmit it directly to a Bluetooth earpiece. The implications of this are huge, because now when I show up late to my daily stand up meeting, all I have to do is think right hand pinched to ask chat gpt to come up with an excuse for why I was late for work.

Or if I'm taking a test, like the bar exam, and there's a question I don't know answer to, all I have to do is think about biting a lemon, which will transmit a signal to my camera enabled glasses, which will then upload that image to GPT and provide an answer that's guaranteed to get me in the top 80%. Or maybe I could become a super soldier, then stick out my tongue to blow up a village of innocent civilians. The possibilities are endless when you start thinking like a JavaScript program cyborg. Thanks for watching, and I will see you in the next one.
Today, I'm going to put this weird thing on my head and communicate with GPT 4 using nothing but my thoughts. Growing up, my dad would always tell me, damn it, son. You need to use your brain more. But I never fully understood what he meant until now. The human brain is the most complex machine in nature, and how it really works is still a mystery. What we do know is that it's always emitting measurable trickle impulses called brainwaves. Scientists have been measuring these waves for decades using electroencephalograms or EEGs that neck tons of electrodes to your dome. You've likely seen them in movies like Clockwork Orange, but I was able to get my hands on this futuristic device called the Crown, a compact and stylish electroencephalogram that you could totally wear on a Tinder date without looking weird.
It's the same basic idea as Elon's Neuralink, except you won't need to drill a hole into your skull. And best of all, it's got a JavaScript SDK that we can use to hack into our own brainwaves. Naturally, my first thought was to connect my brain to GPT 4, to give myself superhuman intelligence, and that's what I did, which makes me the smartest man in the world. You're about to get a glimpse into the future, a transhuman cyborg future where every human, well, every rich human anyway, will have all the knowledge in the world, not just at their fingertips, put out their brain tips. The poors will have these as well, but they'll be used by the CIA to make you dumber.
neural networks
artificial intelligence
Like, the moment you get thirsty, you'll be served an advertisement for overpriced sugar water that will slowly kill you. The Crown device has a price tag of about $1,000. It sits on the back of your head and has a bunch of tiny electrodes that measure your brainwaves. It hooks up to a mobile app via Bluetooth or Wi then streams your brain's data into the ether. The app also provides helpful utilities like how to improve focus, but I don't care about that. I want access to the raw data, which we can easily get in JSON format via its JavaScript SDK. But first, you need to know a little bit more about brainwaves. When you're asleep, your brain emits low frequency delta waves around 2 hertz. These waves increase their frequency when you're awake and relaxed as they become alpha waves around 10 hertz. And then finally, when you become highly focused, like when solving a coding problem or playing chess, they increase to 35 hertz. And these are gamma waves, and that's what we care most about measuring because they're useful for actually controlling things.
Brainwave patterns are highly dynamic and can rapidly change depending on a person's cognitive state, mental processes, and external stimuli. However, Neurocity, the company that makes the crown, provides a dashboard where you can train algorithms to recognize your own custom thought patterns. Like currently, I'm training it to understand when I'm thinking about biting into a lemon. I just imagine biting into a sour ass lemon and then relax when it tells me to. After doing this about 30 times, it will learn how to recognize that thought pattern. So currently, I am not thinking about biting into a lemon, and the chart's not moving.
fruits
psychology
senses
But now, as I start thinking about biting into a lemon, the chart goes wild. That's pretty crazy, and it's accurate to the point of being somewhat frightening. It is somewhat time consuming, but you can train all kinds of different communicate with GPT 4. Here I have a basic Node. Js project created with npm init. From there, I can install the Neurosity SDK. Then in code, I'll go ahead and import it, and the first step is to initialize it with your device ID. The device ID can be found in the mobile app. Next, we log in with our email and password because a crowned can have multiple users, and now I can start reading my brain with JavaScript by simply calling neurocitybrainwavesraw, then subscribe to a stream of that data.
Well, technically, it's an observable because it uses RxJS under the hood. If we console log it, it spits out an overwhelming feed have data. It has a sampling rate of 256 hertz, which means we'll get 256 samples per second. They're batched into 16 that emit approximately every 62.5 milliseconds. In addition, the brainwaves are broken down into 8 different channels, so you get these objects with tons of numbers that look like this.
probability
data
If you went to brain college, you might be able to take this data and analyze it yourself, but luckily, neuropathy provides a better way.
Have. It provides observables for specific states like calm and focus. That means we can subscribe to those mental states and then run code as side effect. But the coolest thing is that we can also recognize those thought patterns that we trained earlier. Like if we want to listen to left hand pinch, we can call neurosodykinesis followed by the name of event, and it's this feature that allows me to turn myself into a cyborg. What I'm able to do now is install the OpenAI SDK, where I can authenticate and access GPT 4. The API is dead simple to use. All we need to do is call create chat completion, specify the model as EPT 4, and then send it an array of messages. The result is no different than what you would get from chat gpt in the browser. Once I have that message, I can do whatever I want with it. Like, what I can do next use a text to voice model to convert the text into voice as an audio file. This is your president speaking. Subscribe to Fire Ship on YouTube before I drone strike your ass. And then transmit it directly to a Bluetooth earpiece. The implications of this are huge, because now when I show up late to my daily stand up meeting, all I have to do is think right hand pinched to ask chat gpt to come up with an excuse for why I was late for work.
audio
robotics
speech
programming
software development
senses
radio
psychology
Or if I'm taking a test, like the bar exam, and there's a question I don't know answer to, all I have to do is think about biting a lemon, which will transmit a signal to my camera enabled glasses, which will then upload that image to GPT and provide an answer that's guaranteed to get me in the top 80%.
Or maybe I could become a super soldier, then stick out my tongue to blow up a village of innocent civilians. The possibilities are endless when you start thinking like a JavaScript program cyborg. Thanks for watching, and I will see you in the next one.
military
Today, I'm going to put this weird thing on my head and communicate with GPT 4 using nothing but my thoughts. Growing up, my dad would always tell me, damn it, son. You need to use your brain more. But I never fully understood what he meant until now. The human brain is the most complex machine in nature, and how it really works is still a mystery. What we do know is that it's always emitting measurable trickle impulses called brainwaves. Scientists have been measuring these waves for decades using electroencephalograms or EEGs that neck tons of electrodes to your dome. You've likely seen them in movies like Clockwork Orange, but I was able to get my hands on this futuristic device called the Crown, a compact and stylish electroencephalogram that you could totally wear on a Tinder date without looking weird. It's the same basic idea as Elon's Neuralink, except you won't need to drill a hole into your skull. And best of all, it's got a JavaScript SDK that we can use to hack into our own brainwaves. Naturally, my first thought was to connect my brain to GPT 4, to give myself superhuman intelligence, and that's what I did, which makes me the smartest man in the world. You're about to get a glimpse into the future, a transhuman cyborg future where every human, well, every rich human anyway, will have all the knowledge in the world, not just at their fingertips, put out their brain tips. The poors will have these as well, but they'll be used by the CIA to make you dumber. Like, the moment you get thirsty, you'll be served an advertisement for overpriced sugar water that will slowly kill you. The Crown device has a price tag of about $1,000. It sits on the back of your head and has a bunch of tiny electrodes that measure your brainwaves. It hooks up to a mobile app via Bluetooth or Wi then streams your brain's data into the ether. The app also provides helpful utilities like how to improve focus, but I don't care about that. I want access to the raw data, which we can easily get in JSON format via its JavaScript SDK. But first, you need to know a little bit more about brainwaves. When you're asleep, your brain emits low frequency delta waves around 2 hertz. These waves increase their frequency when you're awake and relaxed as they become alpha waves around 10 hertz. And then finally, when you become highly focused, like when solving a coding problem or playing chess, they increase to 35 hertz. And these are gamma waves, and that's what we care most about measuring because they're useful for actually controlling things. Brainwave patterns are highly dynamic and can rapidly change depending on a person's cognitive state, mental processes, and external stimuli. However, Neurocity, the company that makes the crown, provides a dashboard where you can train algorithms to recognize your own custom thought patterns. Like currently, I'm training it to understand when I'm thinking about biting into a lemon. I just imagine biting into a sour ass lemon and then relax when it tells me to. After doing this about 30 times, it will learn how to recognize that thought pattern. So currently, I am not thinking about biting into a lemon, and the chart's not moving. But now, as I start thinking about biting into a lemon, the chart goes wild. That's pretty crazy, and it's accurate to the point of being somewhat frightening. It is somewhat time consuming, but you can train all kinds of different communicate with GPT 4. Here I have a basic Node. Js project created with npm init. From there, I can install the Neurosity SDK. Then in code, I'll go ahead and import it, and the first step is to initialize it with your device ID. The device ID can be found in the mobile app. Next, we log in with our email and password because a crowned can have multiple users, and now I can start reading my brain with JavaScript by simply calling neurocitybrainwavesraw, then subscribe to a stream of that data. Well, technically, it's an observable because it uses RxJS under the hood. If we console log it, it spits out an overwhelming feed have data. It has a sampling rate of 256 hertz, which means we'll get 256 samples per second. They're batched into 16 that emit approximately every 62.5 milliseconds. In addition, the brainwaves are broken down into 8 different channels, so you get these objects with tons of numbers that look like this. If you went to brain college, you might be able to take this data and analyze it yourself, but luckily, neuropathy provides a better way. Have. It provides observables for specific states like calm and focus. That means we can subscribe to those mental states and then run code as side effect. But the coolest thing is that we can also recognize those thought patterns that we trained earlier. Like if we want to listen to left hand pinch, we can call neurosodykinesis followed by the name of event, and it's this feature that allows me to turn myself into a cyborg. What I'm able to do now is install the OpenAI SDK, where I can authenticate and access GPT 4. The API is dead simple to use. All we need to do is call create chat completion, specify the model as EPT 4, and then send it an array of messages. The result is no different than what you would get from chat gpt in the browser. Once I have that message, I can do whatever I want with it. Like, what I can do next use a text to voice model to convert the text into voice as an audio file. This is your president speaking. Subscribe to Fire Ship on YouTube before I drone strike your ass. And then transmit it directly to a Bluetooth earpiece. The implications of this are huge, because now when I show up late to my daily stand up meeting, all I have to do is think right hand pinched to ask chat gpt to come up with an excuse for why I was late for work. Or if I'm taking a test, like the bar exam, and there's a question I don't know answer to, all I have to do is think about biting a lemon, which will transmit a signal to my camera enabled glasses, which will then upload that image to GPT and provide an answer that's guaranteed to get me in the top 80%. Or maybe I could become a super soldier, then stick out my tongue to blow up a village of innocent civilians. The possibilities are endless when you start thinking like a JavaScript program cyborg. Thanks for watching, and I will see you in the next one.
Today,
today
I'm
i'm
going
going
to
to
put
put
this
this
weird
weird
thing
thing
on
on
my
my
head
head
and
and
communicate
communicate
with
with
GPT
gpt
4
4
using
using
nothing
nothing
but
but
my
my
thoughts.
thoughts
Growing
growing
up,
up
my
my
dad
dad
would
would
always
always
tell
tell
me,
me
damn
damn
it,
it
son.
son
You
you
need
need
to
to
use
use
your
your
brain
brain
more.
more
But
but
I
i
never
never
fully
fully
understood
understood
what
what
he
he
meant
meant
until
until
now.
now
The
the
human
human
brain
brain
is
is
the
the
most
most
complex
complex
machine
machine
in
in
nature,
nature
and
and
how
how
it
it
really
really
works
works
is
is
still
still
a
a
mystery.
mystery
What
what
we
we
do
do
know
know
is
is
that
that
it's
it's
always
always
emitting
emitting
measurable
measurable
trickle
trickle
impulses
impulses
called
called
brainwaves.
brainwaves
Scientists
scientists
have
have
been
been
measuring
measuring
these
these
waves
waves
for
for
decades
decades
using
using
electroencephalograms
electroencephalograms
or
or
EEGs
eegs
that
that
neck
neck
tons
tons
of
of
electrodes
electrodes
to
to
your
your
dome.
dome
You've
you've
likely
likely
seen
seen
them
them
in
in
movies
movies
like
like
Clockwork
clockwork
Orange,
orange
but
but
I
i
was
was
able
able
to
to
get
get
my
my
hands
hands
on
on
this
this
futuristic
futuristic
device
device
called
called
the
the
Crown,
crown
a
a
compact
compact
and
and
stylish
stylish
electroencephalogram
electroencephalogram
that
that
you
you
could
could
totally
totally
wear
wear
on
on
a
a
Tinder
tinder
date
date
without
without
looking
looking
weird.
weird
It's
it's
the
the
same
same
basic
basic
idea
idea
as
as
Elon's
elon's
Neuralink,
neuralink
except
except
you
you
won't
won't
need
need
to
to
drill
drill
a
a
hole
hole
into
into
your
your
skull.
skull
And
and
best
best
of
of
all,
all
it's
it's
got
got
a
a
JavaScript
javascript
SDK
sdk
that
that
we
we
can
can
use
use
to
to
hack
hack
into
into
our
our
own
own
brainwaves.
brainwaves
Naturally,
naturally
my
my
first
first
thought
thought
was
was
to
to
connect
connect
my
my
brain
brain
to
to
GPT
gpt
4,
4
to
to
give
give
myself
myself
superhuman
superhuman
intelligence,
intelligence
and
and
that's
that's
what
what
I
i
did,
did
which
which
makes
makes
me
me
the
the
smartest
smartest
man
man
in
in
the
the
world.
world
You're
you're
about
about
to
to
get
get
a
a
glimpse
glimpse
into
into
the
the
future,
future
a
a
transhuman
transhuman
cyborg
cyborg
future
future
where
where
every
every
human,
human
well,
well
every
every
rich
rich
human
human
anyway,
anyway
will
will
have
have
all
all
the
the
knowledge
knowledge
in
in
the
the
world,
world
not
not
just
just
at
at
their
their
fingertips,
fingertips
put
put
out
out
their
their
brain
brain
tips.
tips
The
the
poors
poors
will
will
have
have
these
these
as
as
well,
well
but
but
they'll
they'll
be
be
used
used
by
by
the
the
CIA
cia
to
to
make
make
you
you
dumber.
dumber
Like,
like
the
the
moment
moment
you
you
get
get
thirsty,
thirsty
you'll
you'll
be
be
served
served
an
an
advertisement
advertisement
for
for
overpriced
overpriced
sugar
sugar
water
water
that
that
will
will
slowly
slowly
kill
kill
you.
you
The
the
Crown
crown
device
device
has
has
a
a
price
price
tag
tag
of
of
about
about
$1,000.
$1,000
It
it
sits
sits
on
on
the
the
back
back
of
of
your
your
head
head
and
and
has
has
a
a
bunch
bunch
of
of
tiny
tiny
electrodes
electrodes
that
that
measure
measure
your
your
brainwaves.
brainwaves
It
it
hooks
hooks
up
up
to
to
a
a
mobile
mobile
app
app
via
via
Bluetooth
bluetooth
or
or
Wi
wi
then
then
streams
streams
your
your
brain's
brain's
data
data
into
into
the
the
ether.
ether
The
the
app
app
also
also
provides
provides
helpful
helpful
utilities
utilities
like
like
how
how
to
to
improve
improve
focus,
focus
but
but
I
i
don't
don't
care
care
about
about
that.
that
I
i
want
want
access
access
to
to
the
the
raw
raw
data,
data
which
which
we
we
can
can
easily
easily
get
get
in
in
JSON
json
format
format
via
via
its
its
JavaScript
javascript
SDK.
sdk
But
but
first,
first
you
you
need
need
to
to
know
know
a
a
little
little
bit
bit
more
more
about
about
brainwaves.
brainwaves
When
when
you're
you're
asleep,
asleep
your
your
brain
brain
emits
emits
low
low
frequency
frequency
delta
delta
waves
waves
around
around
2
2
hertz.
hertz
These
these
waves
waves
increase
increase
their
their
frequency
frequency
when
when
you're
you're
awake
awake
and
and
relaxed
relaxed
as
as
they
they
become
become
alpha
alpha
waves
waves
around
around
10
10
hertz.
hertz
And
and
then
then
finally,
finally
when
when
you
you
become
become
highly
highly
focused,
focused
like
like
when
when
solving
solving
a
a
coding
coding
problem
problem
or
or
playing
playing
chess,
chess
they
they
increase
increase
to
to
35
35
hertz.
hertz
And
and
these
these
are
are
gamma
gamma
waves,
waves
and
and
that's
that's
what
what
we
we
care
care
most
most
about
about
measuring
measuring
because
because
they're
they're
useful
useful
for
for
actually
actually
controlling
controlling
things.
things
Brainwave
brainwave
patterns
patterns
are
are
highly
highly
dynamic
dynamic
and
and
can
can
rapidly
rapidly
change
change
depending
depending
on
on
a
a
person's
person's
cognitive
cognitive
state,
state
mental
mental
processes,
processes
and
and
external
external
stimuli.
stimuli
However,
however
Neurocity,
neurocity
the
the
company
company
that
that
makes
makes
the
the
crown,
crown
provides
provides
a
a
dashboard
dashboard
where
where
you
you
can
can
train
train
algorithms
algorithms
to
to
recognize
recognize
your
your
own
own
custom
custom
thought
thought
patterns.
patterns
Like
like
currently,
currently
I'm
i'm
training
training
it
it
to
to
understand
understand
when
when
I'm
i'm
thinking
thinking
about
about
biting
biting
into
into
a
a
lemon.
lemon
I
i
just
just
imagine
imagine
biting
biting
into
into
a
a
sour
sour
ass
ass
lemon
lemon
and
and
then
then
relax
relax
when
when
it
it
tells
tells
me
me
to.
to
After
after
doing
doing
this
this
about
about
30
30
times,
times
it
it
will
will
learn
learn
how
how
to
to
recognize
recognize
that
that
thought
thought
pattern.
pattern
So
so
currently,
currently
I
i
am
am
not
not
thinking
thinking
about
about
biting
biting
into
into
a
a
lemon,
lemon
and
and
the
the
chart's
chart's
not
not
moving.
moving
But
but
now,
now
as
as
I
i
start
start
thinking
thinking
about
about
biting
biting
into
into
a
a
lemon,
lemon
the
the
chart
chart
goes
goes
wild.
wild
That's
that's
pretty
pretty
crazy,
crazy
and
and
it's
it's
accurate
accurate
to
to
the
the
point
point
of
of
being
being
somewhat
somewhat
frightening.
frightening
It
it
is
is
somewhat
somewhat
time
time
consuming,
consuming
but
but
you
you
can
can
train
train
all
all
kinds
kinds
of
of
different
different
communicate
communicate
with
with
GPT
gpt
4.
4
Here
here
I
i
have
have
a
a
basic
basic
Node.
node
Js
js
project
project
created
created
with
with
npm
npm
init.
init
From
from
there,
there
I
i
can
can
install
install
the
the
Neurosity
neurosity
SDK.
sdk
Then
then
in
in
code,
code
I'll
i'll
go
go
ahead
ahead
and
and
import
import
it,
it
and
and
the
the
first
first
step
step
is
is
to
to
initialize
initialize
it
it
with
with
your
your
device
device
ID.
id
The
the
device
device
ID
id
can
can
be
be
found
found
in
in
the
the
mobile
mobile
app.
app
Next,
next
we
we
log
log
in
in
with
with
our
our
email
email
and
and
password
password
because
because
a
a
crowned
crowned
can
can
have
have
multiple
multiple
users,
users
and
and
now
now
I
i
can
can
start
start
reading
reading
my
my
brain
brain
with
with
JavaScript
javascript
by
by
simply
simply
calling
calling
neurocitybrainwavesraw,
neurocitybrainwavesraw
then
then
subscribe
subscribe
to
to
a
a
stream
stream
of
of
that
that
data.
data
Well,
well
technically,
technically
it's
it's
an
an
observable
observable
because
because
it
it
uses
uses
RxJS
rxjs
under
under
the
the
hood.
hood
If
if
we
we
console
console
log
log
it,
it
it
it
spits
spits
out
out
an
an
overwhelming
overwhelming
feed
feed
have
have
data.
data
It
it
has
has
a
a
sampling
sampling
rate
rate
of
of
256
256
hertz,
hertz
which
which
means
means
we'll
we'll
get
get
256
256
samples
samples
per
per
second.
second
They're
they're
batched
batched
into
into
16
16
that
that
emit
emit
approximately
approximately
every
every
62.5
62.5
milliseconds.
milliseconds
In
in
addition,
addition
the
the
brainwaves
brainwaves
are
are
broken
broken
down
down
into
into
8
8
different
different
channels,
channels
so
so
you
you
get
get
these
these
objects
objects
with
with
tons
tons
of
of
numbers
numbers
that
that
look
look
like
like
this.
this
If
if
you
you
went
went
to
to
brain
brain
college,
college
you
you
might
might
be
be
able
able
to
to
take
take
this
this
data
data
and
and
analyze
analyze
it
it
yourself,
yourself
but
but
luckily,
luckily
neuropathy
neuropathy
provides
provides
a
a
better
better
way.
way
Have.
have
It
it
provides
provides
observables
observables
for
for
specific
specific
states
states
like
like
calm
calm
and
and
focus.
focus
That
that
means
means
we
we
can
can
subscribe
subscribe
to
to
those
those
mental
mental
states
states
and
and
then
then
run
run
code
code
as
as
side
side
effect.
effect
But
but
the
the
coolest
coolest
thing
thing
is
is
that
that
we
we
can
can
also
also
recognize
recognize
those
those
thought
thought
patterns
patterns
that
that
we
we
trained
trained
earlier.
earlier
Like
like
if
if
we
we
want
want
to
to
listen
listen
to
to
left
left
hand
hand
pinch,
pinch
we
we
can
can
call
call
neurosodykinesis
neurosodykinesis
followed
followed
by
by
the
the
name
name
of
of
event,
event
and
and
it's
it's
this
this
feature
feature
that
that
allows
allows
me
me
to
to
turn
turn
myself
myself
into
into
a
a
cyborg.
cyborg
What
what
I'm
i'm
able
able
to
to
do
do
now
now
is
is
install
install
the
the
OpenAI
openai
SDK,
sdk
where
where
I
i
can
can
authenticate
authenticate
and
and
access
access
GPT
gpt
4.
4
The
the
API
api
is
is
dead
dead
simple
simple
to
to
use.
use
All
all
we
we
need
need
to
to
do
do
is
is
call
call
create
create
chat
chat
completion,
completion
specify
specify
the
the
model
model
as
as
EPT
ept
4,
4
and
and
then
then
send
send
it
it
an
an
array
array
of
of
messages.
messages
The
the
result
result
is
is
no
no
different
different
than
than
what
what
you
you
would
would
get
get
from
from
chat
chat
gpt
gpt
in
in
the
the
browser.
browser
Once
once
I
i
have
have
that
that
message,
message
I
i
can
can
do
do
whatever
whatever
I
i
want
want
with
with
it.
it
Like,
like
what
what
I
i
can
can
do
do
next
next
use
use
a
a
text
text
to
to
voice
voice
model
model
to
to
convert
convert
the
the
text
text
into
into
voice
voice
as
as
an
an
audio
audio
file.
file
This
this
is
is
your
your
president
president
speaking.
speaking
Subscribe
subscribe
to
to
Fire
fire
Ship
ship
on
on
YouTube
youtube
before
before
I
i
drone
drone
strike
strike
your
your
ass.
ass
And
and
then
then
transmit
transmit
it
it
directly
directly
to
to
a
a
Bluetooth
bluetooth
earpiece.
earpiece
The
the
implications
implications
of
of
this
this
are
are
huge,
huge
because
because
now
now
when
when
I
i
show
show
up
up
late
late
to
to
my
my
daily
daily
stand
stand
up
up
meeting,
meeting
all
all
I
i
have
have
to
to
do
do
is
is
think
think
right
right
hand
hand
pinched
pinched
to
to
ask
ask
chat
chat
gpt
gpt
to
to
come
come
up
up
with
with
an
an
excuse
excuse
for
for
why
why
I
i
was
was
late
late
for
for
work.
work
Or
or
if
if
I'm
i'm
taking
taking
a
a
test,
test
like
like
the
the
bar
bar
exam,
exam
and
and
there's
there's
a
a
question
question
I
i
don't
don't
know
know
answer
answer
to,
to
all
all
I
i
have
have
to
to
do
do
is
is
think
think
about
about
biting
biting
a
a
lemon,
lemon
which
which
will
will
transmit
transmit
a
a
signal
signal
to
to
my
my
camera
camera
enabled
enabled
glasses,
glasses
which
which
will
will
then
then
upload
upload
that
that
image
image
to
to
GPT
gpt
and
and
provide
provide
an
an
answer
answer
that's
that's
guaranteed
guaranteed
to
to
get
get
me
me
in
in
the
the
top
top
80%.
80%
Or
or
maybe
maybe
I
i
could
could
become
become
a
a
super
super
soldier,
soldier
then
then
stick
stick
out
out
my
my
tongue
tongue
to
to
blow
blow
up
up
a
a
village
village
of
of
innocent
innocent
civilians.
civilians
The
the
possibilities
possibilities
are
are
endless
endless
when
when
you
you
start
start
thinking
thinking
like
like
a
a
JavaScript
javascript
program
program
cyborg.
cyborg
Thanks
thanks
for
for
watching,
watching
and
and
I
i
will
will
see
see
you
you
in
in
the
the
next
next
one.
one
success
The speaker discusses a device called the Crown, which uses a electroencephalogram to measure brainwaves and provide access to raw data. The device costs $1,000 and requires training algorithms to recognize patterns. The speaker explains how the device can be used for various tasks, including learning to recognize mental states and using it for a command prompt.
I literally connected my brain to GPT-4 with JavaScript
I hacked my brain with a compact electroencephalogram (EEG) and connected it to GPT-4 with the OpenAI API. In this crazy tutorial, you'll learn how to use JavaScript to read your brainwaves. 

#tech #javascript #science 

💬 Chat with Me on Discord

https://discord.gg/fireship

🔗 Resources

Neurosity Crown https://neurosity.co
Brainwaves https://www.scientificamerican.com/article/what-is-the-function-of-t-1997-12-22
Learn JavaScript Basics https://youtu.be/lkIFF4maKMU
GPT-4 overview https://youtu.be/EunbKbPV2C0

🔥 Get More Content - Upgrade to PRO

Upgrade at https://fireship.io/pro
Use code YT25 for 25% off PRO access 

🎨 My Editor Settings

- Atom One Dark 
- vscode-icons
- Fira Code Font

🔖 Topics Covered

- How do you read brainwaves?
- Reading your brain with code
- Mindreading with an EEG
- How to use the OpenAI api
- How do brainwaves work?