« first day (1865 days earlier)      last day (3098 days later) » 

4:00 PM
lol ok srs
!!afk vape, potentially suspended
 
@SterlingArcher not even?
 
@SterlingArcher already invalidated
 
@KendallFrey wew
 
:') goodbye sweet prince
 
hello fresh prince
 
4:01 PM
fuck you @KendallFrey... that song is going to be stuck in my head all day now
 
Stupid Flaggets.
Go back to your Tumblr and Starbucks.
 
Guys, if I want to send SMS's to a provided mobile number, where can I find the list of carriers and what they start with? Like for example, in my country it is number@sms.co.za for +2783 and +2763 numbers and number@voda.co.za for +2773 and +2774 numbers.
 
Uhm, in my country you need to pay for a service in order to send SMSes.
 
4:03 PM
^
we use Twilio
 
Well, Google does it in some sort of way, if you have to confirm your number
 
you can email to SMS if the carrier allows it
 
@JacquesMarais You can be certain that Google has some private service they use :P
 
@JacquesMarais That "some way" is billions of dollars
They can do whatever the hell they want
 
4:04 PM
Oh..
:P
 
use Twilio
it is VERY inexpensive
 
join project fi
 
@rlemon Ok, thanks..
 
works out to something like half a cent per SMS
 
@rlemon They are cheaper than what I pay on my phone >_<
 
4:06 PM
ouch
cheaper than I remember
 
@JacquesMarais That's utterly impossible, since you can move numbers between carriers. Mine has been on Verizon, AT&T, and T-Mobile over the last 10 years.
For US cell numbers, at least.
 
@ssube you can purchase curated lists, but they are all dated, and expensive.
and with the new anti spam laws, possibly illegal to sell now ??
 
meh, that's why we have russia
shirtless presidents and illegal lists
 
guys, I'm being dumb again
calling this.data inside a success: function of an ajax call and getting nothing :(
 
4:15 PM
i.imgur.com/wc9YIXP.gifv holy fuck I would not want this job
 
						data: myData,
						success: function (dataS) {
							$('#submit').fadeIn();
							console.log(dataS);
							$("#results").append("<div class=\"col-md-12\">Jira ID: <a href='https://theSite.atlassian.net/browse/" + dataS.key + "' target='_blank'>"  + dataS.key + " raised</a></div>");
							var jiraID = dataS.key;
							var myData = this.data;
							// Add the 'missing' data to the results from JIRA
							myData.push({name:'key', value:jiraID});
							alert(myData);
 
@djsmiley2k because inside of the new function this is likely a new object (window)
 
errrrr wut :/
 
functions create a scope, this is relative to the new scope
 
@rlemon Can I not call this.data tho ?
 
4:16 PM
you can bind thisArg to the function, or make it a new variable
 
@rlemon the fuck man. They have drawers of snakes?
 
@ssube I imagine it is a research / anti-venom center
 
That looks like an awesome job.
 
Can you not open local files from a browser?
 
@rlemon is there a page explaining how?
 
4:17 PM
107
Q: How to access the correct `this` / context inside a callback?

Felix KlingI have a constructor function which registers an event handler: function MyConstructor(data, transport) { this.data = data; transport.on('data', function () { alert(this.data); }); } // Mock transport object var transport = { on: function(event, callback) { ...

 
I have a link to file://.... and it ain't doing shit.
 
!!urban TMH
 
@AwalGarg [TMH](http://tmh.urbanup.com/5717957) TMH stands for touch my hand.

A form of expressing how much you like another person's idea, joke, style, etc by literally lightly touching hands with one another. It is meant to be used in place of giving someone a high five.
 
@AmericanSlime you cannot do a bunch on the file:// protocol
like, a crapload
just setup a local server to test on
 
Wait what?
I have this table, and people want links in the table to open folders on the network.
 
4:18 PM
ok now my head has just exploded.
 
@KendallFrey ugh. I hate you.
 
@AmericanSlime file assoications, and assoicate the file:// handler with explorer, or whatever they are using
 
@rlemon that'd make sense, but imagine if they had an earth quake
 
So it should be straightforward tho right? <a href="file://C:/test.txt"> ?
 
@rlemon k that's completely lost me :/
 
4:21 PM
@ssube imagine an earth quake and we're in flatland..
Snakes on a Plane
2
 
@rlemon Get out.
 
@djsmiley2k that answer outlines the only two possible (sane) solutions
so get reading :D
 
I simply don't understand what they are talking about
far too high/low level for me :/
ELI5?
 
that post does
1 message moved to JS trash
 
4:23 PM
Let's not talk about countries taking over countries.
 
"I wish <x country> could take over <y country>" is just asking for controversy
 
This image always gets me
 
That's just Putin us in a bad spot.
 
South Canada shall rise again
 
4:24 PM
@Trasiva lol
 
guess who won two free years worth of fraud protection
 
							var that = this;
														// Add the 'missing' data to the results from JIRA
							that.push({name:'key', value:jiraID});
							alert(that);
 
@SterlingArcher is that why you guys legalized weed? wanted to get Higher than us?
@djsmiley2k you need to define the new variable OUTSIDE of the block
 
Was the capital h necessary lol
 
@djsmiley2k learn what a function block and scope are
 
4:25 PM
whua?
 
@Trasiva ded
 
but myData is defined outside of the block ?
 
that isn't what I'm talking about
your problem is this
 
Ok
rewind a few hours, i started usinfg this, because myData variable didn't work
I have a variable, defined before the success: statement
how do I access it within?
 
@nick I can't believe that didn't get a better response.
 
4:26 PM
@Trasiva haha I know right, that was gold
 
haha whoops
posted my comcast account number haha
 
lololol
at least it wasnt something more personal like an SSN
 
haha yes
 
While I am evil, I'm not creative enough to know what to do with that.
 
4:28 PM
it was, he just says it was a phone number
 
too soon?
 
Never too soon.
 
@rlemon D:
 
haha thankfully i have two free eyars of fraud protection thank to china
 
4:28 PM
what does mean files[0] in js ?
 
sir bro
 
oh my gooooooooooooood
 
@nick If you're Syrias about good Turkey, make sure to baste it after it's Putin the oven. ISIS pect some people skip this.
 
the first item in the files array.
 
nickkkkkkkkkkkkkkkkkkk
 
4:29 PM
:)
 
isis is making the same mistakes the nazis did
fighting on multiple fronts
 
@Phoenix files is an array, files[0] is the first entry in said array
 
in Lounge<C++>, 49 mins ago, by Tony The Lion
NIIIIIIIIIIIIICK
 
Ah you can open files in the browser, but you can't link to them if the page was loaded using HTTP because it's a security risk. The more you know~
 
@jgr208 they're also fighting Russia
you saw how well that worked for Hitler
 
4:30 PM
please i tried to find this qeustion on google i did not find out
what does mean files[0] in js ?
 
@Phoenix we've answered you twice now
 
@ShotgunNinja yes i did wait until winter comes
 
@Phoenix seriously?
 
@jgr208 doesn't really matter since there's no front lines
 
russia drops a few bombs on isis on their way to fight the syrian rebels
 
4:30 PM
haha like it did for germany and their tanks got stuck
 
Please google arrays and how they work
 
but if i didnt declear it (files). how can be array
 
@nick but they are making the whole world an enemy
 
?
 
!!s/arrays/magnets/
 
4:30 PM
its like world vs ISIS
 
@rlemon Please google magnets and how they work (source)
 
north korea would probably be on our side as well haha
 
@Phoenix you tell us, you're the one with the source code
 
@Phoenix variables declared without var are hoisted to the global scope.
 
and there is never a reason to do that
 
4:31 PM
files is, I believe, declared as part of window to store uploaded files
 
@jgr208 true but there's no clean solution
 
window.files
> undefined
 
if ( this.files && this.files[0] ) { }
 
like, if the page is hit as the target of a form containing a file upload, then it gets populated
 
files i havnt decleard
 
4:32 PM
@Phoenix that checks that the object has a file property, and that the property has at least one value
 
this.files is defined somewhere
 
hey i want to get the unit of a css value for example
<div id="test" style="height: 100px;">Test</div> output px
<div id="test" style="height: 100em;">Test</div> output em

is there any easy method for this?
 
@nick and then they wanted refugees so they can bring terroriest in with refugees and attacked so the refugees get denied and killed and then they go against those countrys since they cant escape and join isis
 
@FastSnail did you just use non-unique element IDs? >=(
 
4:33 PM
@jgr208 probably what I would have done
 
@nick but lets be real you know our special forced are already there
 
@jgr208 @nick not today boys. That topic only goes south. Leave it
 
@FastSnail other than parsing the style string, no
 
@SterlingArcher why cant it go east or west haha
 
4:34 PM
cuz he's racist
 
because mecca is south of syria
 
this is my simple code
 
@Phoenix this is the element that invokes the function (the one .change runs on)
.files is a property which lives on that Element
 
you do not define it, the browser does.
 
4:35 PM
typically if you see a property attached to this, it's not something you have defined
 
stars are not bookmarks
 
@SterlingArcher ahh that a example .there are only one div at a time
@rlemon ahh thanks you so much
 
files is an global variable of js like how php has $_server ?
 
no
HTMLInputElement interface exposes a .files property
so all HTMLInputElement elements will have a .files
 
ahhhh ok ty
 
4:36 PM
But What Folder Are The Files In
 
this is array of input type ="file"
 
jsfiddle.net/1jxdkhcm - Can someone tell me how i can slideToggle the rest of the elements? I got it to work with hide, but i want slideToggle and it hides the wrong element.
 
ug, maybe not so good I have htmllint working,140 files checked, 1330 errors in 139 files
 
crl
long gif is long
!!s/T.*e/Poop/g
 
4:41 PM
@crl jsfiddle.net/1jxdkhcm - Can someone tell me how i can slidePoopnt. (source)
@crl jsfiddle.net/1jxdkhcm - Can someone tell me how i can slidePoopnt. (source)
 
crl
ah shit
 
@SterlingArcher No, but I have been that drunk
 
huuuurd dat! ^5
!!afk prepping potatoes for potluck
 
hmmm why when i read a file in java is there a random number read at the end of the file
like 9,5 not -1 to say EOF
javascript i meant
 
4:53 PM
what are you reading into? is the variable empty before starting to read or are you overlaying a byte array of some sort?
 
let me look what co worker did
 
you didn't look at the code yet?
 
i did but dont remember off the top of my head since it didnt look odd
they read into a new ArrayBuffer()
 

« first day (1865 days earlier)      last day (3098 days later) »