« first day (1866 days earlier)      last day (3083 days later) » 

7:00 PM
Right now my bank account is at like...-$350. I'm living off plasma donations week to week, haha.
 
helping out grandparents not feel like death is all right in my book
@Trasiva do you have a job in the industry?
 
Correction...-415 now, yaaay.
 
My bank account is -24,000
._.
 
:/ I dislike my remaining grandparents
I don't care if that makes me a terrible person
 
Mine are okay.
 
7:00 PM
I miss my gramps
 
@ShotgunNinja Which industry? Development?
 
software
 
@Cereal I...what? How?!
 
crl
there's a default html5 color chooser right?, how you trigger it?
 
Yea, I'm a software engineer.
 
7:01 PM
 
<input type="color" />
 
\o/
 
crl
ah ok, thanks rob
 
@Trasiva are you not getting paid from that?
 
@Trasiva tuition
 
7:01 PM
Technically, I should be negative right now
 
@ShotgunNinja I get paid once a month, and this month got expensive due to her having a fall again.
 
oh no
 
@Cereal They took it all out of your bank account like that? Jesus fuck.
 
Banks let you go negative by that much...da fuq kind of bank are you using?
 
my grandma likes to fall a lot, too
 
7:02 PM
Usually you go like -50 and they freeze your shit.
 
ohh god, Amazon! It was a joke! stop recommending laxatives to me!!!! nooooo!!!!
 
Well no, it's a line of credit
 
lol @rlemon
In my primary checking account, I have $30
$300 in savings
 
Yea, I'm surprised my bank's let me get down to -$400 without so much as a phone call.
 
:looks at bank account. says nothing..:
 
7:03 PM
but I can't touch that because my bank is retarded and the minimum balance for a savings account is $300 before they start imposing daily fees
 
rlemon's just like floating 20k
 
That sick SD card adapter profit
 
I started my job on the 9th, and I don't get paid until next Monday
and that was after over a month of unemployment
 
@Cereal I really should sell them.. but the work
 
7:04 PM
(technically, I worked at a haunted house, but they still haven't paid me either)
 
I can't be arsed
 
@Cereal You say that like it's a bad thing.
 
point and case: I gave away $1000 in displays and psu's to a buddy to sell on ebay because I was lazy
 
@rlemon
I tried to play around with the code to access my ajaxloaded div, but couldn't get it to work.
I explained my problem better here I think.
https://jsfiddle.net/Lkgcvv6z/
 
@rlemon *point in case
 
7:05 PM
I thought it was case in point, not point in case
but whatever
 
I get paid Tuesday, but fuck, between my bills coming out, the negative balance. I'll probably be lucky to not hit negative again.
 
@sunto not explained better at all :P
 
@ShotgunNinja fuck, that too
 
hah xD
 
I technically have 1600, but that's jsut because I haven't dumped it on the loc yet
 
7:06 PM
I'm getting almost 3k in my first paycheck
 
damn @rlemon getting idioms so wrong I can't even keep up
 
@KendallFrey do you want to get punched in the jimmy? because that's how you get punched in the jimmy.
 
but most of that is going to unpaid bills right away
I'll be lucky to get out with $600
 
I got christmas bonus today
:D
 
7:07 PM
so I'm ballin
 
5 days til i get paid D:
no moneys left :(
 
My next paycheck should have my raise so I'm pretty excited about that.
 
dude, I've had to get my girlfriend a job at Kohl's and steal her paycheck just to stay fed
 
@ShotgunNinja I have a 1 yr old daughter :/
 
@ShotgunNinja Little more than I get.
 
7:08 PM
@djsmiley2k ouch
yeah, that's gonna suck when I start having kids
 
@ShotgunNinja tbh I'm not in too bad a straights, just wish the wife would stop spending!!!!
 
When I was at my lowest, I was having a pack of doughnuts and can of pop for breakfast/lunch, and then dinner was a can of green beans. Would not recommend.
 
^ right
 
Great if you're trying to lose half your body weight, but that's about it.
 
in my last week of freshman year of college, I could afford nothing to eat. My friends chipped in to get me a 30-pack of Snickers and a 12-pack of Peace Tea
and that's what I ate
as soon as finals were out, I temporarily moved back in with my parents
 
7:10 PM
lmao...all about that poor lyfe.
 
@ShotgunNinja Oh I love it, it's just hard and constantly stressful.
 
Honestly, though, I'm looking forward to having kids
 
I'm so lucky... tears up
 
/me gets angry with $.ajax.success :(
 
@sunto I'm going to assume your problem is still delegation jsfiddle.net/rlemon/Lkgcvv6z/1
if that is true, this should help
 
7:12 PM
In my success I do lots of stuff, then call another ajax call
 
success is deprecated
7
use done/fail/always
 
:o
just done:
 
been the case for a long time
 
instead of success: ?
 
the deprecation notice has been up since like 1.8
 
7:13 PM
yeah well, i think this is 1.6? XD
 
why the fuck are you on 1.6 o_O ??
 
errr
the file is named jquery-1.11.3.min.js
? :D
 
you are on 1.11
 
I was told to use this one by boss.
 
use .done
 
 
!!jQuery ajax
 
hi, someone there already use jquery draggable and can give me a help?
 
@rlemon Didn't know about the deprecation, thanks.
 
2 mins ago, by rlemon
@sunto I'm going to assume your problem is still delegation https://jsfiddle.net/rlemon/Lkgcvv6z/1/
 
7:15 PM
ok ;)
 
> Deprecation Notice: The jqXHR.success(), jqXHR.error(), and jqXHR.complete() callbacks are deprecated as of jQuery 1.8. To prepare your code for their eventual removal, use jqXHR.done(), jqXHR.fail(), and jqXHR.always() instead.
however, they are taking their sweet ass time removing them
"don't break the web" and all that
 
lol ok
so.... my done: containing a $.ajax call is giving me jip
it was working before I changed my object into a formData object..
 
are you hitting the same service with both calls?
 
yes
 
is it possible to amalgamate the calls?
 
7:17 PM
Oh wait sorry, no
 
less traffic is always better
 
and I need data from the first call, for the second one
 
same server?
 
yes same server
 
then why can't you just do it all on the server after the first call?
 
7:17 PM
because 'boss says...'
 
@rlemon not if you survive on ad revenue
 
your boss hired you to do a job, don't let him get in the way of that.
 
ok I have a different question
 
my answer is likely the same :D
 
I have myForm, it's formData.
 
7:19 PM
hey guys can someone tell my what the hell is wrong with this small jquery snipped? what im i missing it keeps throwing me a syntax error jsfiddle.net/yc9Lt1m5
 
you can't new line like that in js
escape the new line or use template strings (es6)
 
I submit it and I get some data back. I then want to add this data to the existing myForm, and submit it elsewhere
 
Angular problem: I am not able to get the states in US in alphabetical order. I did:
`<option ng-repeat="(key ,value) in retailStates | orderBy: 'value'" value="{{key}}">{{value}}</option>`
I also tried `orderBy: value` without quotes, but it didnt help.
Seems like a simple problem but I am not able to fix it.
It is still ordering by key which is like CA, NY, NC, etc.
 
@RajaSharma You got your ) in the wrong spot. Move it from line 7 to line 2 in your selector. Or maybe I'm lying.
 
I have this fiddle: jsfiddle.net/p21z4jy0, where I can drag a div to other div and its working fone, but with the helper: 'clone' its not working. Do you know how to fix this?
 
7:21 PM
@RajaSharma this works but is ugly as fuck, use template strings and a preprocessor
    if (priority == '1') {
        $('ul.collapsible').prepend($('<li>', {
            html: '<div class="collapsible-header">'\
            +'<i class="material-icons">'\
            +'</i>'\
            +'<a class="newsfeed-header">' + title + '</a>'
        }));
    }
 
@Abhishrek may have a potential lead on a contract position for you while you're in the states. Fire me your resume plz
> '1'
:|
 
@rlemon what should i do to make it not ugly lol?
 
@RajaSharma notice the changes, I escaped the new line with `\` and added a + on the preceding lines for string concatenation
 
$.ajax({        // Store the results in the database.
The comment doesn't break things does it?
 
@RajaSharma Template strings allow new lines
@djsmiley2k not unless you minify later and drop other shit on that line
 
7:22 PM
I'mma move it :D
 
@djsmiley2k make it a /* comment */ and you don't have to worry
 
@rlemon yea i saw the change :) let me test it thanks man!
 
@rlemon I just learned something by reading what you suggested to him. Before I was doing var html and then html =+, html =+, when really I could have just been using the +.
 
@AmericanSlime but again, ugly. template strings make it pretty (if you are familiar with PHP, think heredoc)
 
hmmmm isn't it weird when you find you never uplaoded that code and your current error is completely different :(
 
7:24 PM
@rlemon hi i ran it in chrome debug tool and it says Uncaught SyntaxError: Unexpected token ILLEGAL
 
@RajaSharma because you end your object with ;
 
Since it's technically friday... throwback time :O
!!youtube the greatest story ever told ice nine kills
 
So once again i'm asking a weird question that I'm sure is obvious to someone
I submit 'myForm' as data: in the ajax call, how can I access the values in myForm during the success callback?
 
@Rlemon it says its on line 19.. which is this line `html: '<div class="collapsible-header">'`
 
7:25 PM
sorry, in the done: callback
 
@RajaSharma ignore everything I said before
I was being dumb
 
check updated fiddle.. i added my entire snipped... jsfiddle.net/yc9Lt1m5
 
    if (priority == '1') {
        $('ul.collapsible').prepend($('<li>', {
            html: '<div class="collapsible-header">\
            <i class="material-icons">\
            </i>\
            <a class="newsfeed-header">' + title + '</a>'
        }));
    }
I wasn't thinking
escape inside of the string
no concatenation
 
ah....
 
but seriously. look into template strings
 
7:28 PM
oh great, to no one's surprise, a bunch of the client's core systems are failing right before the long weekend
 
@rlemon I know I will be. One more thing for me to learn, thanks.
 
hopefully their e-commerce isn't affected
they make quite a lot of sales on Black Friday
 
@rlemon
hm, I can't seem to get it working inside the ajaxfile, it is still not rendered, and therefore doesn't exist in my opinion. Am I doing something wrong?
I understand eventListeners etc, and the code works, that is - outside of my ajax-div, but not inside, or dynamically loaded.
 
@sunto can you show me your actual code? setup a proper demo
 
Ok sure, give me a moment
 
7:34 PM
wtf
$this is not defined o_O
 
did you mean this ??
 
oh yeah maybe :D
 
it isn't PHP m8
;)
 
oh god D:
 
gah
how do I duplicate the dang formData into the done: call :(
 
7:35 PM
show code
it always amazes me how much we have to ask to see code in here :P
 
					$.ajax({
						url: 'processToJira.php',
						method: 'POST',
						dataType: 'json',
						data: myForm,
						myPassthu: myForm,
						processData: false,  // tell jQuery not to process the data
						contentType: false,   // tell jQuery not to set contentType
						success: function (dataS) {
							$('#submit').fadeIn();
							console.log(dataS);
							var jiraID = dataS.key;
							// Add the 'missing' data to the results from JIRA
							newForm.append('key', jiraID);
			myUpload = newForm.get('inputRequired');
blarugh that's huge :/
 
so what is the problem
??
 
lol, is your indenting really that wonky or is that the chatbox doing it
 
it's that wonky (doesn't look wonky in the IDE).
myUpload = newForm.get('inputRequired');
that fails
is not a function.
 
what do you expect it to do
also, what is newForm ??
show me where you define that
 
7:39 PM
there
 
gah copy paste failure
after success:
newForm = this.myPassthu;
 
what is this
what is myPassthu
:P we're not magicians
 
newForm = this.myPassthu
errr now i can't even copy
lol screw this mac
I'm going home.!
 
Probably Obama's fault.
 
console.dir(newForm)
see what it says
 
7:40 PM
nope it's the palestinians
they're behind everything now
 
shadows are to blame
they are behind everything
 
Can I call that directly in the javascript console?
 
zing!
 
@djsmiley2k no, inside of success log it
 
k
newForm is formData
hmmm so that works! D:
 
7:43 PM
Dear Amazon,
your sales suck.

Sincerely,
rlemon.
 
nice! Thanks Amazon! just the items I was hoping to pick up!
^ this shows up in my "Deal store"
 
so you can use .append to add items to FormData
but how do you get the values back D:
 
.get
 
but it tells me that it's not a function?
 
7:46 PM
it lied, or you screwed up
 
option 2 plz bob.
 
WAT?
this is a thing?
 
I don't trust machines around my eyes. One malfunction and I'm one eye'd J
 
right, now i'm really going home :)
thanks anyway and maybe tomorrow I can get somewhere
 
7:48 PM
oh man, I think I'm in love
 
Oldie for some, but always a goodie: youtube.com/watch?v=4zZbX_9ru9U
 
Postman has got to be my new favorite tool
 
my only idea is calling this.myPassthu isn't replicating the values of myPassThu, just the fact it's a formData object.
 
oh man, @Jhawins just sent me the coolest fucking snap chats
He's playing with like... electrical arcs and shit
 
then he needs to post that shit in chat
pronto
 
7:50 PM
@rlemon
I had to do it on server so you can see for yourself, go to this page, open the menu in the top-left corner, and choose the 'click here'.
Page should then run ajaxFunction, url changes to /test,
and I put to identical divs there, one in the main-html file / static, and the other in my dynamically loaded file.
http://sunto.no/testPage.html
@rlemon
As you can see, the static 'link' works of course, but not the dynamic one, loaded with ajax.
Chose to change color so you can see that it wont even do that :o
 
should I be able to use this.data within the success of the ajax call?
 
no
 

« first day (1866 days earlier)      last day (3083 days later) »