#Dachi's 10hr/day Javascript Grind
239 messages · Page 1 of 1 (latest)
AY thanks wang
well im dachi begginer i started js decide to give montly updates or weekly im at filter method rn got lot stuff to learn
:))
ok i think i got it
Why does your code look like that?
You could have used person in the arrow function in filtered, but nah you chose agee lol
ye ig me still learning
yeah like ```js
let filtered = arr.filter((person) => person.age >= 30);
People have engines?
you don't?
i was just testing my logic
Oh, no wonder I feel like shit all the time
i drink around 5 litre of petrol
I found this pretty funny
*I do not own Family Guy and The Simpsons They belong to their rightful owners FOX
in my brain map is a function we use to call all elements in array
In many branches of mathematics, the term map is used to mean a function, sometimes with a specific property of particular importance to that branch. For instance, a "map" is a "continuous function" in topology, a "linear transformation" in linear algebra, etc.
A map is a symbolic depiction emphasizing relationships between elements of some space, such as objects, regions, or themes.
They are clearly talking about this map
||in my brain map is a function we use to call all elements in array
||
What does your trusty chatgippity say?
crashes
he ded
Amazing
Why are you sorry?
It's okay. Chat gpt doesn't just look dumb, it is dumb
english isnt my first languge so i kinda fail to understand it it good sumtime
MDN docs 😘
i get other part but not this
results of calling a provided function on every element in the calling array.
W3schools goo to
it's too basic
good for learning if you are beginner, but sometimes to understand the nuances, you need to read more
so map groupes the function done in other arrays and gives us a result?
It just means that when you call a function on an element, it takes that element as the input, the function does something with it, and outputs the new value and stores it at the same location in the new array.
oh it overriddes it
Not really. It creates a new array. It doesn't modify the values in the array on which you call map.
you can imagine it as ```js
for each element in array:
new_array.append(func(element))
creates new array stores the new valuves
yup
lets say
array1
i call map on array1 do sum functions and then console log it
it created new array based of array1 and stored new valuvs that was given by function
i think i got it
probly dumb question but
why do i get true and false instead of numbers
do i have to filter it first?
@simple ice sorry for tag but im thinkinh rn but still dont get it
what's confusing you?
why is it boolean
because ==
The equality (==) operator checks whether its two operands are equal, returning a Boolean result.
oh
The strict equality (===) operator checks whether its two operands are equal, returning a Boolean result.
Both return a boolean
how do i return number then
what number?
so you want to print even numbers from the array?
yep
well, filter would be better for this
What does that say about you? 👀
wdym
nothing 
filter filters the array based on some condition. map creates a new array by using each value in the array as the input of the function and saving the output
That's what you need to know lol
well now i do ,thank you
What are you learning?
object prototype extensions
what's that?
i think this
hmm...what are you having trouble with exactly?
well done witn 2nd lecture didnt get high order functions so ima ask chatgigity
@vocal pasture not rlly 10h a day
but make it 4-5h
till 15th jan is max i can dobc after that school
Build ups
Full on grind!
@vocal pasture rename it 5h
smh
I do daily 5h wym
cooking high order functions
Valid.
Ty
Did you made any progress today?
i was asleep
i did learn how to changed text in html with dom
and stuff
oh thats good
just creating elements
modifyting attbriutes
and styles left i believe
i got inspired from your conversation lol
:D
@vocal pasture change namebr to 3h pplgonna thinkim all talk but with school adn shi
no way me can do 10h
G
You are all talk
#💬general message
Lets go got my shit together got little more discipliend abt learn filters. in js and gonna study around 10+ hourse if no games
NEVER SAY I WILL FOR EVERY DAY
that was one day
You got this 👍
GL
thhis is what i said
that why he named it 10h
Are you assuming my gender right now??
NOOOOOOOOOOO

You're women?
wtf is cis
cis is a mathematical notation defined by cis x = cos x + i sin x, where cos is the cosine function, i is the imaginary unit and sin is the sine function. x is the argument of the complex number (angle between line to point and x-axis in polar form). The notation is less commonly used in mathematics than Euler's formula, eix, which offers an eve...
ohhh
im making progres
fuck dom tho
got to this
learning feth rn
cool
s
shit
prob
done with js the course
i know the most stuff wich is needef
learning html now
man i love programing
CONGRATS!
Hii
hello
im done with js course
i know basic
well it was fun journy
You know basic?
congrats
yea long time done
now doing cs50
at week 5
going lnormal
what abt you keder
@quiet hazel
nothing much, studying math for foundation when i move to germany for school
expect that for coding , just a lil bit of assembly
oo germany
binary broke my brain
its eays
this should be like
eax = [value i get]
edx = eax + 0x4
eax + edx *4 + 0x8
Doesnt return me the right memory
if i rembmer slot in memeor such as 0x4 is like
you should get correct one
we can do that in C
i use python pymem for it
@supple ridge do you know anything about how i can fix this?
been trying for 2 days
what lang you doing
python
o lem look up sum
i know the base address is right so its not that
thats what i feel like
😭
