#Dachi's 10hr/day Javascript Grind

239 messages · Page 1 of 1 (latest)

vocal pasture
#

@supple ridge I made you a thread for you to post your updates :))

supple ridge
#

well im dachi begginer i started js decide to give montly updates or weekly im at filter method rn got lot stuff to learn

#

:))

supple ridge
#

ok i think i got it

supple ridge
#

SHUUSH

#

made it more nice

vocal pasture
#

Why does your code look like that?

supple ridge
#

its in javscript complaier

#

Compiler

vocal pasture
#

I mean, the way you wrote it

#

Ahh yes my favourite car brand BWM

simple ice
vocal pasture
#

Wait person???

#

Some funny names for people

simple ice
vocal pasture
#

People have engines?

simple ice
#

you don't?

supple ridge
#

i was just testing my logic

vocal pasture
supple ridge
#

i drink around 5 litre of petrol

simple ice
supple ridge
#

i think i got how filter work just tryna get what map is

#

how it works

simple ice
#

map just maps

supple ridge
#

in my brain map is a function we use to call all elements in array

vocal pasture
#

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.

simple ice
#

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

vocal pasture
#

Ahhhh

#

Right

supple ridge
#

||in my brain map is a function we use to call all elements in array
||

vocal pasture
#

What does your trusty chatgippity say?

simple ice
#

crashes

supple ridge
vocal pasture
#

Amazing

supple ridge
#

welp

#

sorry wang

#

i think i got filter and map

vocal pasture
#

Why are you sorry?

supple ridge
#

i said R word

#

?warn me

#

g

vocal pasture
#

It's okay. Chat gpt doesn't just look dumb, it is dumb

supple ridge
#

english isnt my first languge so i kinda fail to understand it it good sumtime

simple ice
#

MDN docs 😘

supple ridge
#

i get other part but not this
results of calling a provided function on every element in the calling array.

supple ridge
simple ice
#

it's too basic

#

good for learning if you are beginner, but sometimes to understand the nuances, you need to read more

supple ridge
#

so map groupes the function done in other arrays and gives us a result?

simple ice
supple ridge
#

oh it overriddes it

simple ice
#

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))

supple ridge
#

creates new array stores the new valuves

simple ice
#

yup

supple ridge
#

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

simple ice
#

what's confusing you?

supple ridge
#

why is it boolean

simple ice
#

because ==

supple ridge
#

if i make it ===

#

i still get same result

simple ice
#

The equality (==) operator checks whether its two operands are equal, returning a Boolean result.

supple ridge
#

oh

simple ice
#

The strict equality (===) operator checks whether its two operands are equal, returning a Boolean result.

#

Both return a boolean

supple ridge
#

how do i return number then

simple ice
#

what number?

supple ridge
#

like instead of true and false

#

2 4 6

simple ice
#

so you want to print even numbers from the array?

supple ridge
#

yep

simple ice
#

well, filter would be better for this

supple ridge
#

yeepie

#

chatstupidiy was right

#

tho

#

it aint that stupid ig

vocal pasture
#

What does that say about you? 👀

supple ridge
#

wdym

vocal pasture
#

nothing wolfshrug

supple ridge
#

wang i dont like way you trashtalk

#

i might ask 1000 dumb questions

vocal pasture
#

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

supple ridge
#

well now i do ,thank you

supple ridge
#

got stuck

simple ice
#

What are you learning?

supple ridge
simple ice
#

what's that?

supple ridge
#

i think this

simple ice
#

hmm...what are you having trouble with exactly?

supple ridge
#

idk tbh

#

ima rewatch the seminar

#

and see if i get it

supple ridge
#

well done witn 2nd lecture didnt get high order functions so ima ask chatgigity

supple ridge
#

@vocal pasture not rlly 10h a day

#

but make it 4-5h

#

till 15th jan is max i can dobc after that school

vocal pasture
#

Build ups

distant python
#

Full on grind!

supple ridge
#

@vocal pasture rename it 5h

vocal pasture
#

This guy 😒

#

All talk no substance lol

distant python
#

smh

supple ridge
supple ridge
#

Advanced Functions and Closures - JavaScript 2023F

#

abt study them

#

we uppp

supple ridge
#

cooking high order functions

distant python
#

Valid.

supple ridge
#

ledarnt closures

#

oo

quiet hazel
#

Yo hello

#

Good luck with ur JavaScript path lol

supple ridge
#

Ty

quiet hazel
supple ridge
#

duh

#

todsay no i helped friends im gonna learn dom manipulation

quiet hazel
#

Cool

#

Dom manipulation gud

quiet hazel
#

yo

#

learned it?

supple ridge
#

i did learn how to changed text in html with dom

#

and stuff

quiet hazel
#

oh thats good

#

just creating elements

#

modifyting attbriutes

#

and styles left i believe

quiet hazel
supple ridge
#

lol good

#

i got so much to study in schol

#

i hate it

quiet hazel
#

:D

supple ridge
#

@vocal pasture change namebr to 3h pplgonna thinkim all talk but with school adn shi

#

no way me can do 10h

#

G

vocal pasture
#

You are all talk

quiet hazel
#

LOl

#

thats why i named mine 30 mins

#

if i do 1 hour

#

its very good

supple ridge
#

bro he named it 10h cuz i said i spend 10h once and

#

he ...

vocal pasture
#

#💬general message

supple ridge
#

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

vocal pasture
#

You got this 👍

supple ridge
#

that why he named it 10h

vocal pasture
#

Are you assuming my gender right now??

supple ridge
#

NOOOOOOOOOOO

quiet hazel
#

You're a man

vocal pasture
quiet hazel
#

You're women?

vocal pasture
#

Nah I'm a cisgender male

quiet hazel
#

wtf is cis

vocal pasture
#

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...

quiet hazel
#

ohhh

supple ridge
#

im making progres

#

fuck dom tho

#

got to this

#

learning feth rn

#

cool

#

s

#

shit

simple ice
#

feth?

#

fetch??

quiet hazel
supple ridge
#

done with js the course

#

i know the most stuff wich is needef

#

learning html now

#

man i love programing

maiden urchin
vagrant linden
#

Hii

supple ridge
#

im done with js course

#

i know basic

#

well it was fun journy

vocal pasture
#

You know basic?

supple ridge
#

tell me what i should know

quiet hazel
supple ridge
#

yea long time done

#

now doing cs50

#

at week 5

#

going lnormal

#

what abt you keder

#

@quiet hazel

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

supple ridge
#

oo germany

quiet hazel
#

binary broke my brain

supple ridge
#

its eays

quiet hazel
#

this should be like

#

eax = [value i get]

#

edx = eax + 0x4

#

eax + edx *4 + 0x8

#

Doesnt return me the right memory

supple ridge
#

if i rembmer slot in memeor such as 0x4 is like

#

you should get correct one

#

we can do that in C

quiet hazel
#

i use python pymem for it

#

@supple ridge do you know anything about how i can fix this?

#

been trying for 2 days

supple ridge
#

what lang you doing

quiet hazel
#

python

supple ridge
#

o lem look up sum

quiet hazel
#

i know the base address is right so its not that

supple ridge
#

oh

#

Ngl im to dumb for this 😭

quiet hazel
#

thats what i feel like

supple ridge
#

😭