« first day (2169 days earlier)      last day (3003 days later) » 

user5020521
16:00
I mean I have everything I need to fix it
if you really want to handle it preventDefault in the click handler
but your code is needlessly complex and doing you no benefit
you don't have access to event within an inline event handler do you?
user5020521
so I don't have to call the function in html
user5020521
I simply attach it an event in javascript
16:01
I suspect FF is submitting the form on the click event before the assignment of the new handler. you can try adding event.preventDefault in the click handler or just removing the entire click business and letting the form submit handler catch it. seems like you're adding in a pointless step. — rlemon 6 secs ago
!!afk lunch
SOLD
@Loktar ^^^^^^
@KevinB ^^^^^^
user5020521
@rlemon I appreciate it real talk
user5020521
thank you buddy
what is it? i don't follow those from this pc
:p
16:02
KSP with lasers
If you play it today, let me know how it is
I may not have much time this weekend
I'm going home to install it now
steam store doesn't like this IP
lol really?
nahh, always gets pissy about my work IP
can log into the community, but the store just keeps refreshing and asking for the code
!!afk lunch
user5020521
16:12
wow I finally have an error message
user5020521
after your precious suggestions (remove the whole onclick business and so forth) I have form is null @rlemon
user5020521
let me edit the question to update it to your suggestions
that one should be easy to fix... it's unrelated to events or form handling.
164meg
shit I'll be playing this in like a minute
lol 8 second dl
user5020521
updated question
user5020521
16:19
-1
Q: password reset fails only on Firefox using Form Data Object

Riccardo990I'm trying to email me the password reset using Form Data Object and Ajax in pure javascript. The below code works on any browser except Firefox and I've read the Form Data Object documentation on MDN and the basic function of this object are supported on every desktop browser and on the basis of...

user5020521
@KevinB what were you talking about?
@rlemon tell me everything about it
I've only got like 10 minutes to play
so
canvas.width = canvas.height = view.viewSize.height = view.viewSize.width = h / 2;

everything ends up the same value besides the last one view.viewSize.width . Is this due to some operators preceding over others in prioriy? IE I need ()'s
@rlemon that's fine, just TELL ME EVERYTHING
16:32
@ChrisOkyen Just right associativity
@KendallFrey it's a bit confusing at first
Not really precedence
you setup the ships (I just used stock) and enter simulated battles in the sandbox mode
Similar concepts though
So what is the solution?
()
16:33
I gathered that there are levels, rather than a persistent universe like KSP
What's the problem?
canvas.width = canvas.height = view.viewSize.height = view.viewSize.width = h / 2;

everything gets the value h / 2 besides the last one view.viewSize.width
@ChrisOkyen check if any of the values have some setters/getters
@KendallFrey dunno, played the sandbox for a quick second
16:35
mmk
@ChrisOkyen That doesnt sound right
You're probably doing something else wrong
the result
doesn't sound right
@Meredith
!!> let a, b, c, d; a = b = c = d = 5; [a, b, c, d];
you're in an orbit around a object and they have ships and rockets and you have ships and rockets. you (afaik) only control the speed? of your orbit, and you chase upto the enemies then go into another view and control your ships and rockets firepower (similar to ftl)
16:36
@Meredith [5,5,5,5]
blow up the enemies, don't die, move on
but seriously doubt it is that linear.
I only played for 5 minutes
but even if it is, I can design space weapons and pin them against eachother in simulated battle.
worth $30
when you say only control your speed, do you mean only prograde/retrograde, or just that you don't control anything except thrusters
you have some weird buttons to tell it the 'jump speed' or something
1m 10m 1h 10h etc
there might be more controls.
buy it and just don't go over two hours
steam returns
I'm not very good at that :P
Also whatever that psychological phenomenon is that makes it hard to return stuff
not me
I double taked it
he's live streaming now
I was WAY wrong
16:40
awesome, will watch
why didn't i think of twitch
!!afk back to work
tfw you FGITW but they downvote faster than you can edit
Wes
Wes
jsdoc help anyone? how do i specify the type for any "iterable" type, eg @param {module:MyModule.FooClass[]} but not just arrays
16:49
@KendallFrey $0 isn't a thing, we think it is because that's how we name the argument in str.replace, but it's not a thing
you're a silly goat
@Wes foo[] is the standard notation for "an array of foo"
and so on for other types, with foo<bar> for a generic foo specialized for bar
@BoltClock that user does nothing but
always closing posts they answered
Wes
Wes
@ssube yup but i won't allow only Array, but any iterable. will traverse using for in
The getter function fixed it
@Wes getIterable(): Iterable<Foo>
16:52
I would think that [foo] is 'array of foo'
@Luggage that's "an array with foo as the only item"
Foo[] == Array<Foo>
Array<foo>
yea, that
@Luggage in Swift, it is
Wes
Wes
wait @ssube is Iterable an actual type in js?
TS considers the two equivalent
@Wes kinda sorta
it's a real symbol that can return a real iterable, but it's not a type in and of itself, but there is a contract
user5020521
user5020521
I have edited the fiddle to emulate the so question
user5020521
id forgotPassword is null
Wes
Wes
* @param {Iterable<Baz>}
* @param {Iterable}
no worky ssube, any idea?
what do you mean it doesn't work?
also, I think the syntax is @param foo Iterable<Baz>
tag, name, type, desc
Wes
Wes
16:58
it doesn't in webstorm, and i'm following usejsdoc.org
sorry, noob here. i have no idea what i'm doing. also there is no mention of generics on that site
well, jsdoc doesn't do anything with the type, it just has it there
and webstorm's tooltips usually don't work
@rlemon @SterlingArcher >Reading your two messages on the starred list
@BoltClock rlemon is afk: back to work
Wes
Wes
maybe you are using the wrong syntax :D it seems to be working here
17:00
@KendallFrey LOL
have you ever heard that recording of hitler's normal voice?
omg honestly who flags hitler sleeping
a flag? I did nazi that coming
that's not reich
@BoltClock haha it's selfie friday don't hate
don't take me out of mein kampfort zone
17:02
LOL
@KendallFrey heard that one before
still funny
@BoltClock really? cause I just made it up
hailarious
*heilarious
17:03
heilarious*
w/e
:(
:dies a little:
Wes
Wes
resolves symbols pretty good
@rlemon just a wee bit of gassing
@Wes huh, maybe it does now. I gave up on IDEA last version.
I prefer to call it vape thankyou
Wes
Wes
17:04
what editor are you using? how's the autocomplete / embedded documentation?
@Wes atom or vscode, they're almost the same, but vscode has great intellisense
@SterlingArcher welcome to the internet where everything is fucked
@SterlingArcher nom nom
I'm pretty sure I have lung cancer just from watching that
deleted because there was bound to be an out of context flag
17:06
Shit, I would love a real cig right now but not anymore
Wes
Wes
what's going on with the good old hateful microsoft? vscode, java support in vs. wat
they are being too nice. i don't like that
:P
they decided money was better than being a monopoly
I'm ok with it, their shit is usually pretty good and now it's free
@Wes makes Apple look like the bad guy these days
"these days"
17:09
@SterlingArcher LOL more like Ubisoft
@Loktar dude what no you're soft. Why you gotta go there man
LOL
@SterlingArcher that is GREAT out of context
aw man, my gf is going to do one of those puzzle rooms with her coworkers
so jelly, those things look awesome
17:11
Star me bro. Go ahad, star me. Star me right here in the best buy, Kendall.
@ssube duuuuuuuuuuude they have one of those in DC im dying to go.
@SterlingArcher they had one here last year and apparently again, with three different puzzles you could pick from.
> In this tightly cropped image, the NASA space shuttle Atlantis is seen in silhouette during solar transit, Tuesday, May 12, 2009, from Florida.
The escape ones look great, the mystery ones ok.
@rlemon fap fa... I'm done
user5020521
17:12
fiddle updated and still does not work jsfiddle.net/U5Tyb/19
@ssube if you can't escape, you don't leave
@SterlingArcher bring it
I'd do one that filled up with water
@KendallFrey the more I read about the space shuttle the more I agree with how much of a failure it really was. but hot damn it looked good
I don't do well in small, closed spaces
oh, I do, especially if they're... moist
17:14
Well, most... lol ayyyeeeelmao
user5020521
it works on every browser except for firefox
user5020521
this is crazy
Not really. JavaScript is very ableist, and browserist.
user5020521
i went back to full circle again
never go full circle
17:15
@SterlingArcher javascript doesn't care about your browser
That's very rude
user5020521
@SterlingArcher actually I am I followed everything @rlemon told me to do and all I have is nothing
javascript doesn't care about being rude
user5020521
I'm desperate
user5020521
I can't make form data object work on firefox only on firefox
user5020521
17:17
chrome safari opera ie ok firefox leads me nowhere
I still suspect it has nothing to do with formdata -- everything to do with handling the event proper
user5020521
@rlemon did you check the updated fiddle? I did everything you told me to do man
user5020521
I really don't know what else to do
user5020521
this is all I have to call the submit event
user5020521
17:18
document.addEventListener('submit', function(ev)
Yeah FormData hasn't been an issue with FireFox since FF4
you are still on this
Why are you using the submit event when you can just use the button click?
forget and move on
17:19
I never understood why people use document on submit when you're not submitting the document
user5020521
@SterlingArcher what should I do
@Riccardo990 works in FF for me
I don't know. Is FF throwing errors?
I can see the formData fine
user5020521
if it works you should have email does not exist
17:20
well if course it won't do that
user5020521
since that is a reset password thing
I can't post to your page
user5020521
wait can I link you the live thing?
user5020521
you can test it run time
sure
user5020521
17:21
thank you for everything
dag nabit, I was testing risky clicker on ff and the thumbnail was NSFW
user5020521
what happened? did I fail again?
well firstly I know why you had no form before
you have that code in the head, and the dom hasn't been parsed yet
move it to the end of the body
user5020521
did it
user5020521
17:23
refresh
user5020521
external script moved to the end of the body tag
user5020521
my test failed again
you send no response
user5020521
what do you mean?
user5020521
it works on any browser
user5020521
17:26
except this one
it submits fine, I get an empty response from the server
user5020521
it is crazy if it was like that I would have failed on the other ones
user5020521
how can I explain myself I succeed on Chrome or Opera if the response is empty?
@Riccardo990 it does work in chrome
17:27
requests are different
check the server
user5020521
@rlemon I know it works on the other browsers I'm just asking how can this be
listen to the monkey
do you have something if($_POST['forgetPassword']) ?
user5020521
in php?
17:28
yes
the problem is in your php, not js
@RoelvanUden doood typescript 2.0, with non-null operator
user5020521
oh shit
it looks so good
user5020521
I have that thing
user5020521
17:29
$_POST
replace it with check of email field
FF doesn't serialize empty buttons it seems
instead of submit field
user5020521
so _POST email for example
user5020521
17:31
@monkeyinsight @rlemon you literally saved my day thank you for everything buddies
user5020521
you are my heros for ever
I'm not your buddy pal
I'm not you pal, friend
user5020521
I was just happy you made it
17:31
;)
user5020521
forgive my confidence
user5020521
just let me tell you thanks
user5020521
for saving my day and my head
Wes
Wes
@ssube found it! @param {Iterable.<module:Foo/Bar/ClassName>} and works even, i get the correct autocompletion and errors on wrong type
17:33
0
Q: How do I implement jQuery and javascript in Ruby on rails 5

DlawI want to know how to write jQuery and javascripts in ruby on rails and where to go in the app and if you have links too or materials on line please do share. Thanks in advance.

destroy this
instructions unclear, need new monitor
@Wes that is a very strange syntax, but cool
@rlemon instructions unclear, JS is significantly improved :3
@KendallFrey JS unclear, instructions now in php.
Wes
Wes
17:36
usejsdoc.org/tags-type.html more examples here. should i be using a different, more popular notation? i thought jsdoc was it...
I'm the only one in my office :( everybody else is in the conference room lol
fart?
I vaped lol
good idea
@Wes bunch of folks use the Typescript or Flow (from Facebook) notation
17:37
I'm so lonely
what screensaver is that
iunno, default osx
Looks somewhere between Windows Ribbons and Electric Sheep
get Electric Sheep btw
@SterlingArcher :O I see my avatar in the users list
Zoom is too blurry I can't see you lol
17:41
@KendallFrey electricsheep master race
Dat low res screensaver though :(
Oh jesus, lol under \o/ looks like a stick figure with a giant testicle
@BoltClock it's an iphone 6 :( it's ancient tech now
@SterlingArcher plot twist, his back is to you
17:43
@SterlingArcher nah I was referring to the screensavers
g..goatse?
@SterlingArcher that's just a massive doody
Wes
Wes
@KendallFrey or a lumbering ballsack
how is that different than... previously discussed
Wes
Wes
17:46
lol
or just another dude
like catdog
\o/
/o\
@Loktar tfw wanna stream tf2 but timezones
Hrm, python server is running, but I can't access the page ._.
let alone actually play in the same game
@BoltClock :(
you play Overwatch at all?
17:47
no
It's just not the same
It's not bad actually. Still love TF2, but was pleasantly surprised
@Loktar I've been working my way to 26 so I can play ranked.
Enjoying my time as D.Va, Mercy, and Farah.
yeah same here.. I'm still a bit far off
I think I'm 23 or so
17:50
!!tell Wes giphy korean music videos are weird.
@Loktar I started playing on the free weekend, so I'm only 13 or 14.
Trying to play Rise of Iron, Ubersquanch, and stay ranked in Titanfall is hard. :(
hah
yeah I havent been playing anything consistently
cause titanfall ranks decay over time, so I have to keep going back and stomping rounds to keep them
Squanching takes so long to level up
I mostly just browse Amazon now looking to build a new PC I don't need :?
17:51
I just can't wait to get home and play some Children of a Dead Earth
Wes
Wes
s/korean music videos/asians/
How do you make toString currency? is it .toString("C");
?
you just add the value using string concatenation
What? What is the format letter for USD
is it toString("C");
??
there is none
17:53
yes there is.
okay then
mdn toString
why do you ask if you know :D
Oh... maybe im thinking C#.
tru tru
17:54
Sorry about that.
goood evening
good afternoon
Hi guys
@towc s/th/t/
yup, sorry
better ^
daaamn

« first day (2169 days earlier)      last day (3003 days later) »