« first day (1654 days earlier)      last day (3288 days later) » 

6:00 PM
@Jhawins not as much water as MI thats for sure
 
Been dying for the weekend? At Arbys it's always the weekend because time is a meaningless abstraction even as death creeps closer every day
 
@ssube LOL
 
@Loktar We've had more than enough rain in the past year to fix it... seriosuly
 
@NickDugger not according to the drought report, but it looks like its dependent on the area, middle of Texas appears to be in the worst of it
 
6:01 PM
Texas is too big. It should be two states
and the US should be like 4 countries and alaska
 
Texas should be its own country
 
user1596138
@Loktar a lot of MI says it's drier than omaha
 
Hey, can someone help me how I detect when setTimeout is done, and do something after that?
 
What's up this weekend? Pissing away the few precious moments you have left? You'll never be this young again. Piss that youth away at Arbys
 
How can I detect*
 
6:02 PM
@Jhawins yea Im surprised Omaha isn't in a drought anymore
 
@Loktar Lots of people here want it to be
 
gifbin.com/bin/florida.gif If we're going to split up the country..
 
@NickDugger haha yeah but thats the nature of Texas right?
thats why its the "Republic of Texas"
 
user1596138
From everything I hear Florida is a shithole..
 
6:03 PM
oh god
 
I bet Texas would actually do well on its own
 
@user4571629 wut
 
Some parts of Florida are gorgeous, but all I think of is all the gangs and old people
 
s/and/of
 
@user4571629 when the timeout runs, it's done. there's nothing to detect o_0
maybe you're trying to detect when a timeout is cleared?
 
6:05 PM
yes, but let's say i stopped it after 2 sec
 
user1596138
@user4571629 could you paste your timeout code here or in jsfiddle
 
@user4571629 what do you mean by "stopped it"?
clearTimeout?
 
I want after those 2 seconds to do something else
just a second
I have this one: setTimeout(function(){
clearInterval(interval1);
}, 2000);
 
Confirmed. Lost another friend to drugs last night :(
 
@AwalGarg ...
 
6:06 PM
so after 2 seconds you clear an interval. what then?
 
@darkyen00 ?
 
I want after those 2 seconds to do the same but on another div
 
@SterlingArcher sorry to hear that man
 
user1596138
setTimeout(function(){
    clearInterval(interval1);
    doOtherStuff();
    // do even more stuff
}, 2000);
 
@SterlingArcher that sucks :(
 
user1596138
6:07 PM
@user4571629 it's just a function. Put as much as you want inside of it
 
He told me he was clean :/
 
@AwalGarg the hello ladies one .
 
wait
 
ps good and bad news SBI gone
 
I'll put here some jsfiddle code
 
6:08 PM
@darkyen00 lol, was kidding :P
<3
 
even if you're clean, it doesn't mean you'll never use again :/
 
</3 I only like android women
 
@SterlingArcher I feel bad, but that has to be starred
 
I understand lol
 
user1596138
lol good sport
 
6:09 PM
<3 on the internet means "I don't think you are a terrible person"
 
relapse is a thing
not making light of it... seen it happen
 
@AwalGarg no, it's a sign of love.
 
@SterlingArcher Relapse, and addicts will lie. It's shitty to be addicted to anything. Feeling like you have no self control over the impulses. It's like your own brain is betraying you. Very sorry for your loss.
 
Then I take back all the '<3' I have written here.
 
Thanks guys
 
6:11 PM
I've created a little effect when clicking on the button, it does the shuffle
 
And yeah, I know. I'm ok and all, because I know it's his fault (not trying to be an asshat, he's a great guy)
I tried to help him too and was ignored
 
your fiddle gave me a seizure
 
I wanted to create a little function that does the shuffle, and then detect when each one of them is done, and continue to the other one
 
@Luggage your seizure gave me a fiddle
 
6:13 PM
@user4571629 what do you want to achieve ? a shuffling or just a color show ?
 
shuffling
 
What the heck happened to proxies in Chrome?
They stopped working
 
Nobody takes advice outright in general... too many people think they have it figuired out... I'm 38 and feel like I'm still learning to be well-rounded everyday
 
I have images the shuffle when i click, for the example I did it with colors
I have more than 3 teams
 
does nayone know ruby here
 
6:15 PM
@taco yeah I feel you there. I learn new shit everyday still
 
what is wrong with this code
 
user1596138
@user4571629 You need to tell us what you're even trying to do :P
 
def add_more_ruby(string)
result = string.sub('sad','happy')
return result
end

add_more_ruby("i am very sad to be sad")
 
He's going to post ruby code in here isn't he
Yup, he did
 
I have for teams, when clicking on the button I want that the first one to shuffle
when it's done, i want the second to shuffle
when it's done, i want the third to shuffle
 
when it's done, i want the last to shuffle
 
@SterlingArcher he should redirect instead of forcing to close the window frame
 
four teams*
 
people still use yeoman? I thought it was a fad
 
> - ‘Elon Kerman’ added to name pool.
 
6:18 PM
do you want to see the shuffling visually ? or just internally ?
visually = effort required
 
effort is so hard.
do 4 me pls
 
oops
 
i believe that the visually effect already done
 
@SterlingArcher do me pls (source)
 
6:20 PM
my main question is how to give each one of them this function
 
I am trying to figure out how an AngularJS directive example works. I would assume the following example would be called "my-customer", not "myCustomer", how does the directive tag, know to point to the directive in this instance? plnkr.co/edit/jhc3M9LXGHuy2aribFNg?p=info
 
so when it's done, it will continue to the next one
 
Why did we all guess what awal did ?
 
what?
 
in the
 
6:22 PM
Can anyone explain the answer to my question please? (:
 
@user4571629 loop through the four team-divs and invoke the shuffle thing on each team ?
 
user1596138
@user4571629 Uhh ok I make shit scrip fo you you use you like you pay jsfiddle.net/375pj4cu/2
 
user1596138
It will just keep wasting resources forever too
 
@dystroy the quotes and ticks? It is because of ubuntu's second clipboard from middle click (which my trackpad does randomly :/)
 
user1596138
6:24 PM
So don't use it.
 
you can configure your trackpad btw
 
@BenjaminGruenbaum I lol'd
 
Thank you
 
haha
 
+1 monkey
 
6:25 PM
#rekt
 
I think the monkey was screaming at him though
and thats why he gave him the finger
id give that monkey the finger too
 
Oh I was gonna say who flips off a monkey
 
i would never dare finger a monkey
 
yeah if you look the monkey has its mouth open at him
 
#LeaveItToKendall
 
6:26 PM
probably doing some crazy monkey scream shit
 
omg yes
It's that time again
oh my god the black kid falling in his chair doing ghetto dancing xD
 
I'm trying to iterate through an object using jquery's foreach, but for some reason am not successful. I've done this before without an issue, but now it doesn't work in a different project, is there something I'm missing?
 
@BradGermain 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.
 
@BradGermain well, forEach is a JS method not a jQuery method. Do you mean each?
 
6:31 PM
$.each
 
You're missing code, because I see none
 
@BradGermain show the relevant code
 
if (players != null) {
            var result = "<table id=\"players-table\"><th>ID</th><th>Last Name</th><th>First Name</th><th>Edit</th>";
            $.each(players, function (index, player) {
                //alert(player.PlayerId.value);
                result += "<tr><td>" + players[0].PlayerId + "</td><td>" + players[0].LastName + "</td><td> " + players[0].FirstName + "</td><td><button id=" + players[0].PlayerId + ">Edit</button></td></tr>";
            });
            result += "</table>";
 
Do us all a favor, hit the up arrow key, and press control k to format that code
 
6:33 PM
@BradGermain : can you edit your code (press up key) and use Ctrl+K shortcut to improve the syntax
 
^ image dealing with valve/steam/modders
 
ty Brad
 
sure, np. Sorry new to this.
 
valve has released a feature to sell mods in their workshop that modders can ask money for their product. This feature is being tested with Skyrim atm
 
players is a list of Player objects that was retrieved from a controller using AJAX
 
1. Modders always have been able to charge for mods. 2. Modders will still be able to provide mods for free.
 
And what's the error?
 
@rlemon haha nice
love that 50's text book style
 
The code fails on the each. The alert that I have commented out does not get run.
 
6:36 PM
is the var players a collection ?
 
LOL thats awesome
 
since it's from ajax, check if you have parsed it
 
It is a List of Player objects
$.ajax({
            url: 'PlayerProfile/PlayerSearchResults',
            type: 'GET',
            datatype: 'json',
            data: { playerNameOrId: playerSearch.value },
            success: function (data) {
                createPlayerTable(data);
            },
            error: function () {
                alert("Error");
            }
        });
thats the ajax call
 
 
what the fuck ._.
 
6:38 PM
aah, you have gotten a json string, but you didn't have parsed it. add JSON.parse() in the method argument: createPlayerTable(JSON.parse(data));
 
what the fuck ._.
 
babies aren't recyclable. You ever seen a triangle label on one?
 
You gotta recycle
 
WTF!!!
 
6:39 PM
peek-a-poo
 
god it's like dickbutts slightly more normal cousin
 
these comics sometimes come up with fucked up content
 
!!s/normal/formal/
 
@ssube god it's like dickbutts slightly more format cousin (source)
@ssube god it's like dickbutts slightly more formal cousin (source)
 
6:40 PM
 
!!will rum cure sickness?
 
@rlemon Indeed
 
!!afk getting rum
 
lmao @ that last one
 
6:42 PM
Ok, I'm guessing I need to serialize the List object in the C# code?
 
Currently I'm just returning List<Player>
 
@NickDugger OMG LOL
 
@BradGermain uhm, if you have replied with a json encoded string, then you get a string, not an object. just json.parse() solves it because it converts a json string to an object
@NickDugger notice the pants ....
 
6:44 PM
ok, thanks @Kar
@KarelG
 
hey, is there a super easy way to get a value out of a form object? ... for example I can call this ($(myForm).serialize()), then parse it, but is there an easier way?
 
@Chris6657456456 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.
 
@Chris6657456456 get the input element and use .value ?
 
@NickDugger is... is that.. is that a penis?
 
@SterlingArcher that depends, do you love jesus back?
 
6:47 PM
I'm scared to answer that in any form
 
Awesome, it works perfectly now. Thanks everyone for your help!
 
how do I get the element referecing the form objecT?
for example: $(myForm['myField']).value does not work
 
.value is a DOM property
jQuery uses .val()
 
myForm.myField.value should work
 
^--
fuck jQuery
 
6:50 PM
$('form#myForm [name="myField"]').val(); if you really want to use jQuery
 
or use document.querySelector( 'ur css selector').value
 
tnx that works, had tried it but I had wrapped the myForm in jquery
 
or just document.querySelector('form#myForm [name="myField"]').value
 
ndescore: my form has in ID, so that method would not work
has no ID**
 
just search by the name. It's not null proof, actually i should add an if/else but w/e
 
6:51 PM
so what is your situation? you want to get the form but you only know the name of an input field inside of it?
$('#myField').closest('form');
 
I got it working now using myForm.myField.value .... but my sutaiton is that this form can be there many times in the page, all with the same form name, but the form is passed as a parameter into this function
so I am using the form parameter to get what I need
 
Hrmph... I don't know how to do this query.
 
you forgot the j on that query
 
inb4 does anyone know meteor
:P
 
PB&JQUERY
 

« first day (1654 days earlier)      last day (3288 days later) »