« first day (2680 days earlier)      last day (2493 days later) » 

@Richard You're printing the string "user_input"
Hi guys I'm tryig to get the value of a HTML input type 'text' but for some reason i can't. Can someone tell what am I doing wrong.
code is here: https://jsfiddle.net/Ltu9r69b/
not the variable
but i save the value in the variable
user_value !== 'user_value'
14:02
You're not printing the variable
You're printing a string
er, input
same shit
have you guys ever had to use makeMapStateToProps to create customized selectors per container?
@Cereal how to print the value ?
Don't print the string
@KendallFrey woah
14:04
@Cereal what do u mean
Do you know what a string is?
of course
there are two problems.
Okay. If you wanted to print the word user_input to the console, what would you write?
I make a variable and then save the value of the elemnt i need in it
14:05
a) you console.log('this_is_a_string') and b) you do that outside of the function it is scoped to (if you got the variable right and not the string)
yeah ok it's the same
ok how can i save the vlaue of the html elemtn(the user input) to a JS variable and then print it out ?
log the variable and not a string that looks like it, and do it inside of the function and not global
@Richard You really need to go learn JS, dude
why did he put the car in space tho
!!afk getting birdseed
14:07
@Mosho he wants to reenact the fast and furious movies on mars
I see
hes sending vin diesel next
isn't there like a problem with debris up there
@Mosho best commercial ever
@Mosho it sounds a lot worse than it is
Yeah tbh he did it to generate interest.
It was a prank no one wants to reenact fast and furious those movies are dumb
14:08
first ones were good
first ones
can you say that
the very first one was okay because it was fresh
@KendallFrey Sinner!
after that it was lame
All I remember is Black Dodge Charger
tokyo drift had that song
I couldn't get it out of my head for months
14:09
and that Tokyo Drift made the R34 Skyline super kewl to have.
@Mosho not where he sent it
that song sounds stupid af now
well, not that bad
shit
That Teryaki Boyz song?
yeah
killer band name
@KendallFrey thats a cool approach
nice
14:11
jerky boys
now I wanna watch that
I did like 2 days ago
while driving around
@Mosho SterlingArcher is afk: not murdering lemon's hamster
I remember exactly 100% of these
@SterlingArcher i.imgur.com/HGtWD6K.gifv haha holy shit
14:15
staged af
but lol
This video here was basically my music as a younger ugly kid
@Mosho i forgot how terrible the music was
hi everybody
@DmytroMarchuk Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
@GNi33 feels tho
and it's not better today
14:19
no, didn't say that it got any better
Boom Boom Pow is a really painful one tbh
around 2000 I was super into SOAD, Korn, Slipknot and that stuff
I sadly wasn't
well, still am I guess
I was into MTV
which I regret
but oh well
14:20
You'd occasionally see SOAD, Korn and Slipknot on MTV.
Not frequently, but here and there.
yeah
Well I don't know the first 2 songs so there's that
I'm at 10 minutes
I think I knew every single one
@KendallFrey @Cereal I fixed my mistake I didn't see that the variable was surrounded by quotes if you 2 were at least 1 % nice guys, you would've pointed it out.
Don't know the fourth either
I had a sheltered childhood idk
14:21
some of these are great
@Richard I did
tbh
I literally said "Use the variable name, not a string"
@Richard Nice guys don't exist
I don't know how much more explicit I can get
14:21
@Richard we did, multiple times.
but if you just wanna bitch, you're free to find help elsewhere
I need to speak to your manager, SIR.
yeah but i was kind of not paying attention to the ' '
@Richard It was pointed out to you multiple times
Not in a nice way
lol
14:23
Anyways its just like they said if you want something done do i yourself
...wat
I will say thank you tho
literally like 3 people said outright what your problem was
My mistake you are some kind of nice guys
sorry
(Too much?)
finally, a song I don't know
@Cerbrus needs a comma
I was being nice and you go and do this ... who hurt you
B,itch please
14:24
you
@BenFortune much better
the one who got away :(
she hurt me so bad, her name was Papa Johns
Papa John's is the best pizza chain
do you guys have ginos pizza?
Yeah but she forgot my olives!
oh noes, not the olives!
14:26
black olives matter
bleh, olives are overrated
I'm having too much fun fucking around with gimp
\o/
Gimps are known for their love of fucking around with fun
14:27
Nice Danny DeVito water mark.
Dominos has 50% off for students and they don't check student IDs though
Girlfriend and I used to get like 4 pizzas for 20 bucks every monday from dominos
@hilli_micha I think devitoing was before your time :/
Does that mean I cannot love him?
Pretty much
14:29
lol never noticed the shirt
Get off mah lawn.
Frank: Look, I didn't go to Vietnam just to have pansies like you take my freedom away from me.
Dee: You went to Vietnam in 1993 to open up a sweatshop!
Frank: ...and a lot of good men died in that sweatshop!
Datamapper's model generation library is called dm-sweatshop
I feel like they could have picked a better name
dm-laborcamp
That answer apalling.
Shouldn't have been answered, in the first place.
14:35
It seems like you routinely bump into that Nina person.
This question was caused by a problem that can no longer be reproduced or a simple typographical error
the fuck?
@Cerbrus lol nice
answered, but also deleted it
@hilli_micha there are only like 100 people who answer JS questions on main
ugh, one of my highest voted questions is something that can't be reliably reproduced
keep in a tag for a while and you start to notice them
it has like 17 different answers and they're all different
14:36
@Cereal those are the interesting ones
8 answers
It was an IDE problem, and I never solved it
I ported the project to c#
@hilli_micha She's noticeable by the answers she writes.
And that's not positive... at all.
@BenFortune you took that photo?
@Cerbrus I find a lot of the answers are over complicated .. seemingly for the sake of being complicated.
Tell me about it.
I've literally told her the same, multiple times.
Imagine having to work with her. "WTF does this code do?" > "Oh, that gets entry X from array Y"
14:41
entries are from objects
what?
!!mdn object entries
*Sigh*
lol
I was going to link you that
and fix cap
you were going to link Array.prototype.entries?
no, you were linking Object.entries
or were you trying to link Object.entries
no, object.entries
that's what I wrote
14:42
arrays do have entries
then no you were not going to link the same thing
orly?
read what I linked you
I'm ranting here. Don't derail my rant with JavaScript spec semantics! :D
oh
I saw the link, it says array :P
14:43
@Neoares ye
nealing hard today
now everything makes sense
thanks lemon
I don't understand what just happened.
intervention?
today I'm suffering the lack of sleeping of all this week
like, today I slept well, but I'm still destroyed
@rlemon nvm xDDDDDDDDD
14:44
In addition to Getty Images working with Google “to improve attribution of our contributors’ work,” the deal included removal of the “view image” button next to results in Google Images — which would take users directly to the photo’s web URL. As of today, the button is gone.
: reading mdn article :
WHAT THE FUCK GOOGLE
that was the most useful part of google images
lol really?
it returns key value, wihch are value and index LOL
time to write a userscript to re-add it
what a useless method
14:45
it returns an interator
@rlemon I bet that exists already
not useless at all
what about .map(value, index)
@rlemon true
fuck me today I'm dead
that's a great reason not to
@Neoares but
!!> new Map([1,2,3].entries())
14:46
@rlemon {}
ohh fuck off cap
@rlemon please do
new Map([1,2,3].entries())
Map(3) {0 => 1, 1 => 2, 2 => 3}
entries ftw
@rlemon github.com/d3vr/viewimage bookmarklet
Close
14:48
no cigar
easy as abc, 012
- 1 is 9 quick maths
Userscript to restore "view image" in google image search
Not complete yet, it seems
how do you load userscripts?
with greasemonkey?
robogist
14:50
@Neoares yes
or tampermonkey
nuuu, don't judge my code
const ide = document.createElement('script');
ide.textContent = `
	const runtimeid = "${chrome.runtime.id}";
	if( typeof runtimeLoaded !== 'undefined' ) runtimeLoaded();
`;
document.body.appendChild(ide);
solid code right there
Rob o' Gist
2
I miss Richard

« first day (2680 days earlier)      last day (2493 days later) »