« first day (1852 days earlier)      last day (3099 days later) » 

4:00 PM
But @Nick lol omg.. might wanna delete that comment
 
Nah
 
@Nick problem is now feel like I've used up my daily quota of help and I'm utterly stuck :/
 
I hope you all get banned for taking the internet seriously.
 
@djsmiley2k You can always ask more questions, but sometimes our answers will be, "google it"
 
@ssube all of us ? u no serious
 
4:00 PM
!!afk vape and re-evaluating my take on JS
 
@KarelG All. Of. You.
Even lemon, who is rarely serious
 
crl
@djsmiley2k the best person that can help you is ... yourself :)
 
* with leather's joker voice * Why so serious
 
I like this room.
 
user1596138
@SterlingArcher lol
 
crl
4:01 PM
it's not facebook
 
0
Q: AJAX Submission causing Uncaught TypeError: Illegal invocation

djsmiley2kTrying to only submit a form when it's valid according to validator.min.js I've tried to keep things as simple as possible [EDIT] - This is updated as I've changed a few simple errors I noticed upon posting. $('#submit').on('click', function (e) { $('#datafixForm').validator();...

 
the only thing that Nick's meta post has pointed out is, that there is people whom has grunts towards this room ... maybe because we are not normal (positive connotation)
 
Well this is the question ^^;
 
This room needs less jquery...
 
crl
@Nick Did you see that lady so?
 
4:03 PM
sry :P
 
user1596138
@JacqueGoupil That's homophobic
 
lol
 
@Jhawins I'm bi, so it's ok :P
 
user1596138
That's not how it works lmfao
 
crl
I'm tri
 
user1596138
4:04 PM
I'm omni
 
@djsmiley2k "Uncaught TypeError: Illegal invocation" happens when you try to instantiate an Object illegally.. Not sure how FormData works, but that's probably your issue.
 
user1596138
> A hole's a hole
 
@Ramy Welcome to the JavaScript chat! Please review the room pseudo-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.
 
@crl My date is Friday
 
4:04 PM
@CapricaSix egh ?
 
Heard nothing for 3 weeks, now have 6 interviews lined up in 3 days.
 
crl
@Nick k, gl, hope it's a good person
 
What the fuck, employers?
 
Same, obviously
 
@djsmiley2k data: formData <-- formData isn't a valid object for sending through AJAX (i mean)
 
4:06 PM
@KarelG I think you meant to ping someone else :)
 
o yes. sorry
 
@Luggage still doesn't like it even when I include babel-polyfill :\
 
@KarelG So I need to serialize it?
 
@Nick Friday is the best day
 
meh // gotcha run around
 
4:07 PM
good luck man
 
Thanks
 
358
A: How to send FormData objects with Ajax-requests in jQuery?

pradeekI believe you could do it like this : var fd = new FormData(); fd.append( 'file', input.files[0] ); $.ajax({ url: 'http://example.com/script.php', data: fd, processData: false, contentType: false, type: 'POST', success: function(data){ alert(data); } }); Setting process...

 
crl
var input = document.querySelector('input[type="file"]')

var data = new FormData()
data.append('file', input.files[0])
data.append('user', 'hubot')

fetch('/avatars', {
  method: 'post',
  body: data
})
nvm, I though it was using querySelectorAll
 
man I should have gotten today off of work
Veterans day
I would have in the gov. Bastards.
 
Company I worked for too Veterans day off of our holidays, put added the day before thanksgiving; more family time
 
4:09 PM
@KarelG wow that's a long question/answer o_O
 
@Nick ah thats pretty cool
 
don't know - the problem is how many of those lines do I understand :/
 
crl
hehe
 
I think veterans should get the day off regardless
I'm not even biased :p
 
@Jhawins did you like my hair? lol she was wind blasted
 
4:11 PM
I only have 1 file max,
            contentType: 'multipart/formdata',
            processData: false,
omg that gave me the right response \o/
it may not of worked (waiting for the email now) but i got the correct alerts :D
 
respun my VM and now my coding fonts are gone :(
 
Haha wooo, it called process.php, but the variables from the form didn't make it
 
hey
can we draw rect with top boeder in html5?
 
yes..
 
draw a rectangle, then draw a line
 
4:15 PM
infact, I actually see the form data being passed in the request headers too
woooo
 
with canvas svg or markup
 
without drawing a line?
currently i draw a line
 
Nothing wrong with drawing a line; seems to be the right way to do it
Canvas has no concept of CSS things, like "border-top"
unless you get a library, or something
But even then, the library is just drawing a line
 
yup, fill then stroke.
 
Content-Disposition: form-data; name="environment"
Live
so yeah, it's there \o/
But does that come via a $_POST['environment'] ?
 
4:18 PM
@Luggage well stroke will stroke the entire shape
with canvas you would just make a new line at the very top
 
@Loktar Which can be a real problem. Sometimes I wish stroke would just focus on the good spots.
3
 
+1 I agree
 
Anyone wanna back me up?
@Troyseph What's "offensive" is entirely subjective. — Nick 32 secs ago
 
@Nick I would but the thing is you can't win on here man
 
but I'm right
lol
 
4:19 PM
there is a specific narrative you can't go against, or make jokes about.
You are 100% right.
but some random persons feelings > all the things now.
 
fuck 2015
 
crl
!!define offensive
 
@crl [offensive](http://en.wiktionary.org/wiki?curid=64556) Causing offense; arousing a visceral reaction of disgust, anger, or hatred.
Some feminists find pornography offensive.
 
when posting form-data to a page, how is it 'recieved' ?
is it in the $_POST ?
 
4:21 PM
Is there any node event to know when the process has started? I do not see it on process documentation
 
@djsmiley2k there should be a collection of form fields somewhere
 
Yeah, the new South Park season tells it like it is
It's an unfortunate reality
 
@corvid well, when the code is running, you can tell it's started
 
@ssube yeah, about to make this just email me dump_var($_POST[]);
 
@djsmiley2k have you googled for php form fields?
somebody has done that before
 
crl
4:22 PM
probably
 
I googled some stuff
 
@djsmiley2k ditch the [], you just need to dump the entire object, not an empty index
 
but can't find what I need, maybe I'm gooing the wrong thing
@SterlingArcher ty, just realised that while typing it out, and it's var_dump() :D
 
howdy folks
 
Hey flagger, nice try, idiot.
@ShotgunNinja hola
 
4:24 PM
What did they flag?
 
3 mins ago, by ssube
@djsmiley2k have you googled for php form fields?
That was flagged lol
 
what the fuck
 
errr :/
 
^ that was flagged too
 
flag me
cry more
 
4:26 PM
Multiple flags lol we may lose Nick again today xD
 
@Nick don't be mel gibson
 
Sigh, who's doing that? ;/
I'm making ze progress.
 
Stop flagging shit
 
1 flag = 1 guy fieri
 
4:26 PM
2 flags, 1 guy?
 
one sec guys
 
Jon, what is even happening?
 
@djsmiley2k Btw, have you seen php.net/manual/en/tutorial.forms.php ?
 
@Nick I suspect you have a hater in the midsts
 
One of the first hits on google, looks fairly useful.
 
4:27 PM
@JonClements thanks, and sorry.
 
The hater probably thinks that cyber bullying can indeed melt steel beams
 
@ssube yah
 
Okay - should be sorted for the mo'
 
i originally was actually doing a traditional post, and it was working
 
@JonClements may I ask what was happening..?
Or just troll?
 
4:28 PM
@SterlingArcher not sure - user's got a 1 day timeout though
 
Nick pretending to be Mel Gibson and egging them on by waving his blue-painted junk certainly didn't help.
That's how that movie went, right?
 
For the most part
I enjoy the attention
 
Even var_dump($_REQUEST); is blank :/
 
@djsmiley2k I think I found your problem; php
 
@Nick :D :D :D
You know what the php guys said? ;)
------WebKitFormBoundarya2CpfyBgqKiO4l3e
Content-Disposition: form-data; name="datafixId"

T005
 
4:31 PM
@JonClements well regardless, thank you.
 
@djsmiley2k The php guys are brain damaged
just ask @MadaraUchiha
 
@Nick I'm one of them, I know it's true
I came into this job convinced I couldn't write any working code. Having never done so in my lfie
 
That's ballsy
 
In 9 months I've got to the point where my php works, and now I'm onto javascript
@Nick it's a sysadmin/fixeverything role
inbetween fixing other things.
 
I came into this job assume I was only doing coding -- yet here I am setting up an apache server to host a damn CMS lol
 
4:35 PM
I came
 
Now you've got some idea of how I ended up doing this, you might understand why I'm not always happen to sit and 'learn it all'
:D
 
@SterlingArcher well - shows the bosses you're talented outside one field :p
 
crl
2 days ago, by Benjamin Gruenbaum
@Luggage the php room is full of people who pwn us technologically. Like probably 90% of the PHP room is better coders than 95% of the JS room.
 
well right now you guys being mega helpful :D
 
@JonClements of course lol I'm not hating it, I'm just having a difficult time understanding all these command line commands
 
4:36 PM
NO, I'M RIGHT, YOU'RE WRONG
 
Not my strongsuit. I'm built for ajax, not sudo D:
 
@SterlingArcher feel free to quiz me if ya want
I'll always help out where I can
 
@djsmiley2k much appreciated :) I'm ok for now, but I will ping you if I run into issues
 
Not that I've setup apache in a long time, but am slowly rebuilding my home server after it ate 2 disks.
 
just use jquery
xampp
 
4:37 PM
and apache is what I started on, only to find some config files were now containing the data from kernel driver files ;D
 
xamppquery
 
hmm wut?
 
@AwalGarg did a rocket hit your ass ?
 
i finally got this ajax submitting :P
 
@JonClements random question -- are you enjoying being a moderator?
 
4:38 PM
@SterlingArcher o/
 
@Abhishrek hey buddy, hows it going?
 
@SterlingArcher Probably not if he has to keep coming in here to invalidate flaggers
 
@SterlingArcher Going good buddy \o/.
Although there are obvious tensions :P
but you know :D
 
hi.. anyone ever do that thing, where you save records to a database redis/mongo and then there is a worker process that gets a bunch of new data and then operate on it? and the process goes on whenever there is new data?
 
4:39 PM
Aww shitballs. Banks are closed today so I didn't get paid :(
 
I'd spot you
 
@Abhishrek lol all will be well. Push away the negative thoughts
 
@SterlingArcher erm negative thoughts arrive with push notifications ...
 
@Nick lol not struggling for money don't worry. Since it's Veterans Day I think my deposit will just come tomorrow
@Abhishrek turn off notifications, make soup, and read reddit :D
mmm speaking of soup im hungry
 
@SterlingArcher :D
 
4:41 PM
I'm hurting lots of butts on meta right now
 
@Abhishrek @SomeGuy (fuck) you too!
 
Hahaha
Been getting greetings all day, have you?
 
yes. I get confused who is from my family and who is from the neighbors.
 
Haha. I've been funneling all the images / text I've been getting to my friends to piss them off :D
 
wtf.

So i dump out the value of apache_request_headers() and it only contains '1'
 
4:44 PM
phplease
 
lol
 
@argentum47 how do they celebrate diwali in bengal? I hear from my grandma you guys have the loudest drum rolls.
 
@Nick this is why we can't have nice things
 
@Nick You forgot the lube, didn't you?
 
Bite the meta I'm going in dry
 
4:46 PM
I can't help that I'm always right
It's just who I am
 
You were just now wrong.
 
maybe I was born with it, maybe it's maybeleine
 
God I hate that I love you
 
My mother says that
 
poor god
 
4:47 PM
I wish to be drunk right now. Who's going to make that happen?
 
Yeah well at least your mother has a choice in loving you
@Trasiva I'm on a small booze cleanse :(
No more weekday drinking for a few weeks
 
@SterlingArcher You poor bastard.
 
I know :(
 
@Troyseph I never claimed to be the master of the universe, but I appreciate your confidence in my ability to know everything. I have an opinion that differs from yours; Just because you find it offensive does not mean that I shouldn't share my opinion; This is how we got Hitler. — Nick 8 secs ago
 
And you know what's worse? My brother and his fiance want to move further away
I just got a 10 minute work commute and now they want to make it 30
I'm so butthurt over that I don't want to move further away for a (yes I get it, they're nicer) nicer place for a year
 
4:50 PM
10 minutes. too long
 
@SterlingArcher My commute has been an hour for the past year and a half.
 
anyone here ever use redmine?
 
It's not that bad
@jgr208 Redmine is garbage
Use trello
 
$formContent = json_decode(file_get_contents('php://input'));
 
@Nick you forget I'm fresh off a 2 hour commute for 2 years
 
4:51 PM
Someone tell me i'm right!
 
My commute is a dream
 
@Nick duh but i am not a higher up haha
@SterlingArcher mine is too, only 20-30 mins right outside of philly for work is hard to come by
 
not with that attitude
 
arugh the dreaded '1' is back
 
@jgr208 you keep what you kill. kill your boss.
 
4:52 PM
@Luggage haha
 
@Nick Sucker, my work commute is a five mile drive, probably a ten minute bike ride.
 
@Troyseph I never claimed to be the master of the universe, but I appreciate your confidence in my ability to know everything. I have an opinion that differs from yours; Just because you find it offensive does not mean that I shouldn't share my opinion; This is how we got Hitler. — Nick 3 mins ago
@Nick It's time to stop posting
 
Agree
 
Can't stop, won't stop
 
HAMMERTIME!
 
4:53 PM
But yeah, I agree too
 
I just want to stay in the area :(
 
Comment was deleted :(
 
k guys I'm running outta ideas now :(
 
THose filthy meta bastards
 
still like the car, @SterlingArcher
 
4:54 PM
@Nick send me a snap of your date?
 
@Luggage question or comment?
 
@Nick yeah - I deleted it - can we refrain from such things please?
 
Thank you :) and or yes, I still love it
 
a question.
 
4:54 PM
@BadgerCat I can snapchat my computer screen of a photo of her on match, lol
@JonClements What about that comment was even bad?
 
invoking godwins law is always seen as bad it seems
 
Comparing censorship to Fascism?
 
It was border-line provocative
 
That seems like fair comparison to me
 
This is why I'm not allowed to join in
 
4:55 PM
It wasn't productive and potentially inciteful - hence boom
 
Quiz time: "activity engaged in for diversion or amusement" ?
 
@JonClements Well, far be it from me to argue with a Moderator
actually, that's not true
 
@JonClements that whole thread needs cleaned up/nuked, man
 
I still think it was fine
We could probably just delete the whole thing
I'd be alright with it
 
@ssube I'm looking at it now - don't panic :p
 
4:56 PM
Clearly it's a touchy subject
 
@ssube that's what cough that guy said cough
 
debating whether cyber bullying is real in the comments is... not helpful
 
Well, in case someone cares about my scrolling canvas, here's how far I got. I'm going to use fake scrollbars :) jsfiddle.net/g9vnse4z
 
@Nick occasional flags for comments is something that will happen and each one doesn't deserve a full trial. it's jsut too much.
 
4:57 PM
@ssube no, but I find it entertaining. I don't get mad about comments, but those people sure did, lol
 
Btw guys, I am sorry, I disabled JavaScript :( I am running on 15kbps and JS slows everything :(
 
It reads like you are the one butt-hurt, not the other commenters.
 
this chat works w/o javascript ?
 
It shouldn't
 
4:58 PM
where oh where are my form fields gone D:
 
I just disabled it so I guess it won't work after reload.
 
@SterlingArcher You just proved me wrong on a meta-so answer about the presence of sexism on SO. x)
(I'm not complaining)
 
ohh, lots of sexism here.
 
!!s/ism//
 
4:59 PM
@Trasiva ohh, lots of sex here. (source)
 
we're either mostly male, or the females keep quiet about it
 
Badger is secretly a guy
 

« first day (1852 days earlier)      last day (3099 days later) »