« first day (1420 days earlier)      last day (3529 days later) » 

user2620028
2:00 PM
I am trying to think about whether i should hit the Synchronize button in outlook. I haven't received a work email since Tuesday......
No i better not chance it.
 
@AwalGarg Today
 
@VeeeneX So you started writing code today itself, right?
 
user2620028
@VeeeneX localstorage is an object that is stored on the local users machine and it does not have any events to be triggered (that i am aware of :/)
 
@AwalGarg Oh, I misunderstood you i told you I'm not sure about that if I'm sober or not
 
user2620028
What are you trying to accomplish
 
2:01 PM
@AaronSiciliano he is trying to make a lib.
 
@AaronSiciliano Satisfaction
 
user2620028
@CustomizedName You can't get no
 
AaronSiciliano Hmm, so can i detect objectchange?
 
user2620028
@AwalGarg if you know what he is trying to do would you please interpret or answer him hahahaha
 
@AaronSiciliano Not sure what that lib is about. We can't handle libs in a single language, and he is trying to make one for both PHP and JS! phew!
 
user2620028
2:03 PM
@VeeeneX Can you write a function to get the value of localstorage as a string, save it in your program as the base and then later on profile it again and compare?
 
But supported version
 
user2620028
Or are you worried that it has changed since the last time your user visited the page
 
@AaronSiciliano I get it but only sometimes but never at work
 
@AaronSiciliano I'm worried
:D
 
@VeeeneX You can implement your own version.
 
user2620028
2:04 PM
@CustomizedName Your batting better than i have been lately then
 
Watching an object property would be really inefficient anyways. Why are you trying to do it?
 
@NickDugger I'm need to know if object localstorage was changed
 
I am sure this is the XY problem and the only way we can solve it is asking "why" 5 times... so.
 
user2620028
@VeeeneX are you basically trying to make sure that no one manipulates the localstorage variable on the client side so that you can trust the information that you put in it is still valid?

If this is the case forget about it! You can't trust client side anything.
 
@VeeeneX for (i=0; i<5; i++){ "WHY??"; }
 
2:05 PM
Why not just call a function when you change it? Clearly you're changing it somehow, so just call a function when you do.
 
@AwalGarg returned I'dont know; I'dont know; I'dont know; I'dont know; I'dont know;
 
@AwalGarg you just created a global variable (i). Tisk tisk
 
user2620028
Hahahaha
 
@VeeeneX Deadcode detected.
 
@NickDugger Can you show me how?
 
user2620028
2:07 PM
@VeeneX if you come up with a legitimate reason to do that, it is possible. I am just thinking that any reason you have for doing that, we could probably tell you why you shouldn't or how to do it a better way.
 
@VeeeneX You should not proceed; Error you did not follow my instructions; Fuck; Fuck; Fuck;
 
Make a jsfiddle of an example of what you're trying to do, and I will attempt to help
 
Running through codecademy's JQuery tutorial. When I finish it, I'm going to do its css tutorial. Good stuff.
 
Have fun.
 
@AwalGarg response Internal error reason to do this not found
 
user2620028
2:09 PM
@AwalGarg i think you have found your match.
 
@VeeeneX You know what, you are just wasting time.
 
@AwalGarg Nobody told you to waste your time with this
 
@AaronSiciliano my match?
 
How do I match all '<' but not '<s' with regex?
 
@RyanKinal If I wanted to get the text of a dropdownlist using Javascript would it look something like this?
var selectedValue = document.getElementById("<%=ddlHostingType.ClientID%>").textContent;
 
2:12 PM
{col_1:"Column 1":"col_2":"Column 2","col_3":"Column 3"}
 
user2620028
@AwalGarg yes he is just as cheeky as you and is giving you the same style responses as you are giving him lol
 
_.each(elem[0],function(key,value){
console.log(key);
});
 
@AaronSiciliano :D
 
this each printing col_3 first instead of col_1
 
2:13 PM
does any one know why the ._each printing order is different
 
@pirabdulwakeel Objects have no clear order.
If you want order, use arrays
 
interesting enough, facialnetwork.com is not a porn site
 
yes, but I got this json from backend server
 
but a rather interesting company
 
2:17 PM
Please paste huge code in PasteBin
 
Ou
 
user2620028
hey VeeeneX if i steer you in the right direction will you be able to write it yourself?
 
@ziGi Sorry I din't know about this func
 
@copy (or anybody else) Ever played with Python's ctypes? I'm facing something stupid and feeling stupid. reading some data from a file, and I want to convert it to a struct. In C, that's just crap = (type*) &buffer;, but I can't seem to translate it.
 
@VeeeneX you can't do what you're doing... you're trying to set a property of a string
 
user2620028
2:19 PM
Because to my knowledge you will have to implement your own solution.
 
@KevinDuke <(?!s)
 
Part of the trouble is that the struct has a char array in it, so it's dynamically sized.
 
@VeeeneX car.name = 'Super'; car.name.owner = 'John';
No no
 
@AaronSiciliano I think yes
 
also, you're setting properties of an array
All of it is wrong and weird
 
2:20 PM
@NickDugger Give me some time
 
@Zirak ctypes in Python.. I get the chills thinking about that
 
user2620028
@VeeeneX http://stackoverflow.com/a/9144996/2620028
With this you will be able to dump all data inside of localstorage variable. You can do this on load and get something to compare future dumps to. IF they are not identical then something has changed. You can expand upon that to build more features if you wish
 
@KevinDuke /<.*?[^s]/
 
user2620028
Keep in mind that localstorage variable is client side and any client side data can (And you should assume will be) changed by the user at their will.
 
@AwalGarg That also matches <lololol s, right?
 
2:23 PM
@NickDugger Ignore it AaronSiciliano gave me solution
 
@Neil That makes two of us...
 
@Magikaas I don't think so.
 
@AwalGarg It will match <s, because of the .*?, you don't need the .*?, he does not want to match <s, but does want <
 
@Magikaas Why would it? There is the non-greedy sitting after the <... it is doing the job.
 
@AwalGarg I guess my regex engine is being weird.
Ah, I had global on... derp me
~_~
 
2:25 PM
:P
 
@AaronSiciliano Thank you so much this is what I was searching for
 
user2620028
@VeeeneX no problem man. Good luck!
 
Thx!
 
@Magikaas I actually didn't want to answer because seeing the requirements, I think he was trying to filter <script> tags from user input html and this is not a good practice.
But then it could be anything... so.
 
Yeah... Right :p
@AwalGarg <span>
 
2:28 PM
how can I see all of my messages here
 
@Magikaas yeah that's why... filtering HTML with regex is never a good option.
 
@CustomizedName Top right, search for your username
 
@CustomizedName Long?
 
@Magikaas Thanks alot :)
 
2:29 PM
@AwalGarg Indeed, hehe :P
 
user2620028
A buddy of mine just wrote a program that accepts http calls and interprets using regex lol
 
Python, i r sad.
To your heart I try and write -
Segmentation fault
 
@VeeeneX do you remember the site I sent here
I am not able to find it in history here
do you still have its url
find it dw
 
user2620028
@CustomizedName not this one is it? remy.bach.me.uk/blog/2011/04/…
 
@AaronSiciliano yup, I was searching for "www" typical web developer (facepalm on desk)
 
user2620028
2:36 PM
lol.... i just scrolled up......
 
I did too but couldn't find it :-(
 
user2620028
Man i am trying my heart out to read this textbook and do my homework. My attention span however is like FU
 
reading books on friday, no thank you
oh wait, am reading JS the good parts (deskpalm)
 
user2620028
Sounds like more fun than this book :(
 
user2620028
tradesies?
 
2:45 PM
which book yu reading
 
user2620028
"Computer Systems" by Stanley Warford
 
Guys, is there an elegant way to add rows to a table with display:none and then display them using javascript based on what's in a dropdownlist?
 
Morning gents
 
I've done the functional part, but the rows that get displayed are obviously rendered after dom is loaded so they look fuckin odd
 
user2620028
why do they look odd? Something is not inheriting to them?
 
user2620028
why do we have horse-grooming tagged in the chat lol
 
@AaronSiciliano The row appears in the wrong place :(
 
You got something against horses?
 
@AaronSiciliano :O
 
I'll try and make a fiddle
 
2:51 PM
why this doesn't work when I create a clone
function _invisibleDimensions(_el) {
    $(_el).css({
        'display':'block',
        'visibility':'hidden'
    });
    var _dim = {
        height:$(_el).outerHeight(),
        width:$(_el).outerWidth()
    };
    $(_el).css({
        'display':'none',
        'visibility':'visible'
    });
    return _dim;
}
 
user2620028
@SterlingArcher I have something against horse heads in my bed :/
 
@AwalGarg cba making fiddle, page is full of asp controls and would take a thousand years.
 
@Sippy I think my life is a little less than a thousand years.
 
Yes, mine too.
 
user2620028
2:57 PM
Im counting mine in hundreds of days just to get a more realistic scope :/
 
So I've got a question for anybody here with a bank account lol..
I paid my cell phone bill, and verizon is saying my balance is 0, I have a txt receipt for paying it -- and I even saw the money vanish from my bank. But, somehow my bank removed the transaction and the money is back in my account
Not too sure what's going on -- did I just get a free cell phone bill? lol
 
user2620028
@SterlingArcher No lol. Very unlikely :)
 
double check with verizon
How long ago did this happen?
It could be lag in processing something
 
But I saw the money and the charge on my bank statement immediately
 
user2620028
More than likely you are going to get a disgruntled phone call from verizon saying HEY pay your bill lol
 
3:01 PM
And verizon has confirmed I paid my bill
like I have receipts and shit that make it obvious
 
user2620028
Then you will probably see the money dissapear from your account here in the next week
 
user2620028
And the charge will show up on the bank account like it was never missing
 
user2620028
and if you ever ask about it the bank will say it was there the entire time. ---- My experience atleast.
 
banks are confusing
 
user2620028
Merchants do not make it any better
 
user2620028
3:03 PM
They mess up transactions all the time and f up the bank statement quite a bit too
 
I recommend Mint.com; helped me catch all the bank fees
 
user2620028
I had a mcdonalds near me that actually managed to get a recurring daily transaction for breakfast charged to me daily, even when i stopped going
 
Ugh if I overdraft because of this...
 
@Magikaas Thanks for the regex. After playing with it for a bit I got it working perfectly. Thanks again!
 
-2
A: How to know that dynamically created script tag was executed?

vernonner3voltazimFor testing purposes you can always add a call to the alert() function. However, after looking at your code I'm not sure I see anything in it to actually do the calling of the function.

what a terrible answer
 
3:05 PM
Someone good with Color Theory here?
How can I convince my colleague that the color of the background of a required to be uploaded file should be gray instead of yellow
he agrees that it should be green when uploaded
but he said, we need more color
to be more interactive
 
@AaronSiciliano So I take it you weren't Loving It
 
@ziGi Why should it be gray? Gray mostly represents disabled things, doesn't it? Correct me if I am wrong.
 
yes, you are right but also missing
if something is gray
and then it gets color
hm you are also right
well I don't know
 
Gah cba to figure this out
Will do it next week.
Later o/
 
for (var i = 0; i < 50; i++) {
  console.log("a" + i);

  for (var i = 0; i < 50; i++) {
     console.log("b" + i);
  }
}
why this code doesn't gives me 50 * 50 rows as output
I only get 51
 
3:10 PM
Code, YUNO do dis
 
user1596138
My bosses power trip about who makes coffee when is less annoying than it is creepy.
 
I'm gonna guess that var i is being overwritten
 
@CustomizedName use j for the next loop.
 
@AwalGarg arrr am so stupid
@taco nice catch
 
3:13 PM
@CustomizedName nope, you are just a beginner, like I once was, and everybody was.
 
user1596138
3 hours ago, by ziGi
politicians should suffer for their misery
 
if i have a string with a full sentence in it, what method do i use to extract a specific word out if it?
 
user1596138
This is the last thing it takes for me to believe we'll all see Zigi for real on the news someday.
 
@Grapho 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.
 
user1596138
> A middle aged man is trying to nuke StackOverflow users and politicians from around the world
 
3:15 PM
@AbhishekHingnikar @BenjaminGruenbaum -> img-9gag-lol.9cache.com/photo/aVQeW3n_460s_v1.jpg
 
@Grapho regex.
 
hmm ok ill look that up
 
@Jhawins haha well at least I fight
 
@AwalGarg @CustomizedName how about using forEach instead of for?
 
@KamilTomšík both serve different purpose... and have we talked before?
 
3:18 PM
@ziGi since when is fighting a good thing?
 
user1596138
 
user1596138
jhawins has computer!! Complete with hot wheels poster and 4H ribbons.
 
@Sippy Yes! That's probably the best way to do it.
 
@Grapho "every good boy does fine".indexOf("good"); might be another option. Then get the length of the word, yadda yadda
 
@AwalGarg yes, in this specific case, but if he's going to iterate over collection, I'd prefer _.each, .forEach
@AwalGarg not sure, have we?
 
3:21 PM
@KamilTomšík just a quick tip, don't ping random people then... atleast not room owners (there name is in italics). Just telling, no offense.
 
user2620028
@BenjaminGruenbaum Since when is fighting NOT a good thing :/
 
thanks for the tips @AwalGarg and @taco i will seee which works best for me!
 
@BenjaminGruenbaum for my right, to paaaartey
 
user2620028
@ziGi Beastie Boys...... really.....
 
@KamilTomšík do according to your preference then.
 
3:22 PM
np
 
@ziGi -_-
@AaronSiciliano ?
 
user2620028
@BenjaminGruenbaum is that not beastie boys?
 
@AaronSiciliano yeah, they're the bomb with daft punk and fatboy slim
 
lol
 
!!afk dine
 
3:22 PM
fatboyslim
 
slimboyfat
 
boyfatslim
boyslimfat
slimfatboy
fatslimboy
 
stop it
:D
 
@AwalGarg I'll remember not to ping you however if, for whatever reason I will, feel free to ignore me :)
no offense ;)
 
we did all the permutations, there isn't anything more to do
 
3:23 PM
You clearly don't understand that chains like that are meant to be alternating people.
 
you didnt get in to the anagrams though
 
@Grapho, yes, please, just
 
flimytsoy?
forgot the a..
 
and the b
 
doh!
 
3:25 PM
but reversed it is yosty milf
 
slamfibtoy
 
flimyBATsoy perfect
 
slamfitboy
fitboyslam
haha :D
btw I have a project with a friend of mine called
Daft Punk's Not Dead
 
cool @ziGi whats the project
 
Music band
 
3:27 PM
ha
what style
 
A band that promotes a band?
 
Zigi style
 
that's genius or stupid. Not sure which
 
user2620028
I love it when the tests include information that isn't even in the book o.O
 
well Punk's Not Dead
is quite famous
 
3:28 PM
Don't worry @ziGi I got it
 
user2620028
@Neil what about a music genre that promotes a product?
Beats headphones for example.
 
Beats Da Shit Out of Dr. Dre
 
@AaronSiciliano What, like an entire music genre dedicated to coca-cola brand?
 
or even better
Dr. Dre Beats The Crap out of a Woman Over an Interview With Ice Cube
 
user2620028
@Neil I actually don't know what genre that would be. What are you referencing?
 
3:30 PM
This guy is now a billionaire
 
@AaronSiciliano Trying to wrap my head around what you said actually.
 
@taco isn't that the Nigerian Princ that is sending me letters that he has millions
 
That was "Doctor Dre". I guess he took his rap name literally
 
@Jhawins that chair hurts me
 
Does the name of this room change daily?
 
user2620028
3:35 PM
@Taco that is dr dre? doesn't he look a little too fashionable to be among the rap scene?
 
@JimmyHoffa Sometimes.
 
user1596138
@rlemon Me too. I hadn't carried the good one in from the truck yet
 
Hi I'm back
:DD
 
@KamilTomšík you can ping me anytime :) If I am there and I can, I will try to help... just that some people don't like that and if it turns out to be a room owner, he will mute you which I don't want.
 
user2620028
@VeeeneX oh god what now lol
 
3:39 PM
^
 
@AaronSiciliano It is simple Bootstrap dropdown ...
xD
Sorry
 
@AwalGarg ok, thx then
 
np
 
weird anyway, why muting if people are here to chat? :)
 
user1596138
 
user1596138
@taco
 
user1596138
World class
 
@KamilTomšík you can chat, but people don't want to be randomly pinged. It plays that ridiculous sound and bumps a counter on your gravatar which is fucking annoying.
 
@AwalGarg or @AaronSiciliano Can you help me with
    	$('#cart .dropdown-menu a').click(function(e){
		e.stopPropagation();
	});
That's my problem
@KamilTomšík Nazdar :D
 
user1596138
3:42 PM
I miss when Dre took the doctor thing on more for show haha
 
user1596138
And by I miss I mean it would've been cool if I was alive in the 80s
 
user2620028
@VeeeneX it is not firing? Is your selector correct? What is console saying when you click on it?
 
@VeeeneX hey?
 
@AaronSiciliano What i want to achive is ignore closing modal on a click
@KamilTomšík Hladas tu odpovede, alebo len tak?
 
imgur.com/gallery/MVaVKG8 mongoose knows no fear
 
3:45 PM
Ahahaha a Friend of mine asked me about a Bulgarian guy who's having trouble finding a job and sends me the CV, and what I see is that the guy's family name is Arsov, which explained immediately why he couldn't find a job in an English speaking country.
 
@AaronSiciliano I've already tried stopPropagation() and preventDefault() but without luck
 
@VeeeneX lookin' for inspiration
 
user2620028
@VeeeneX this one i can't help you with. Your example i cant access due to work firewall
 
Oh, ok I'll make a fiddle
 
user1596138
@SterlingArcher lol ferrets are like mini mongoose
 
user2620028
3:49 PM
@Jhawins fight a ferret..... then fight a mongoose.....
 
hahaha and on his CV he has a recommendation of a guy who's family name is Dickinson
 
user1596138
@AaronSiciliano That's like saying fight zigi then fight @JAndy
 
user2620028
Anyone want to do my homework for me :)
 
@AaronSiciliano no
 
user2620028
Dang.... it was worth a shot
 
3:52 PM
@AaronSiciliano it wasn't
 
Who is bored to fix this ?
@AaronSiciliano ^
 
user1596138
 
Does it make sense to use node.js with PHP ?
 
3:56 PM
@Alvaro it doesn't make sense to use PHP with node.js
 
user2620028
@VeeeneX is this what you wanted? jsfiddle.net/34uL5nop/1
 
user1596138
@SterlingArcher That first comment killed me lmfao
 
user1596138
> OP is a liar, this is a Boeing Arrowplane.
 
user2620028
@STerlingArcher https://www.youtube.com/watch?v=3XwHarQVT5g
I like this one a lot :D
 
@SterlingArcher No
 
3:57 PM
@AaronSiciliano When you click on a tag it closes I wondering how to stop it
 
user1596138
@SterlingArcher The plane is fake :O
 
yeah but the concept is true
 
user2620028
@VeeeneX oh i see what you are trying to do now o.O
 
yes :D
 

« first day (1420 days earlier)      last day (3529 days later) »