« first day (1972 days earlier)      last day (2980 days later) » 

12:26 AM
someone here ?
 
I am
Why am I watching this, rlemon?
 
because you clicked it
 
lol
"It must be witchcraft! Nope, it's a magnet."
I like that line
 
1:12 AM
@KendallFrey have you ever seen LetterKenny ?
looks funny
 
@rlemon I made a post in r/relationship_advice ... I truly am moving on, but I'm really curious about what happened. It has some details that I forgot about when talking to you, like what happened on valentines day. reddit.com/r/relationship_advice/comments/49r3f2/… -- I know, move on, and I am, but I'm still sad for having lost a friend.
 
Ayyy guys
 
@Meredith & @BadgerCat if you have some time and can read through the above reddit post, I'd love some female perspective now that you can see the full story ^^
 
I'm working on a community board web app, and the backend is finished, but I'm having some serious trouble on the UI.
Logically splitting between desktop/mobile.
Should I make the web app strictly mobile
?
 
> yer friend says the sled has so much torque he can hardly keep the front end down... k bud, you wanna blow smoke go have a dart.
holy fuck that is on point
these guys are hilarious
 
1:20 AM
@ndugger When you say her boyfriend was abusive, was that her words or yours?
 
@Meredith hers. SHe told me about how he used to push her to the ground, and give mer bruises, which she said he would claim was her fault for making him angry
but yes, she did use the word abuse at least once
 
Don't take into account what she does when she's drunk
And cuddling doesn't imply that she's into you
If she doesn't want to talk to you, don't talk to her
 
any reason that npm install would just not install a module? it's listed in the "dependencies" section, but it just completely ignores it and finishes the install without touching it. I've never seen this happen before...
 
Cuddling doesnt mean amything? Well, shit. TIL
 
Some girls will cuddle anything
I know girls who would cuddle a cactus
 
1:31 AM
Lol, that's news to me
 
@Sean can you install it manually?
not "can you just do that instead", does it work manually
 
yeah, it'll install manually, but then if I delete my node_modules and npm install again, it skips them again.
no error messages or anything. it seems like it's just pretending they're not listed in the package.json...
 
did you manually add the entry to package.json?
 
nope, I let npm do it with --save when I initially installed them.
 
kk
sounds weird
 
1:34 AM
@ndugger I'd say, give her some time. You do realise she was in an abusive relationship until now, right.
 
yeah, I've never seen this.
 
npm cache clear
try again
 
tried that as well. rm -rf node_modules then npm cache clear then npm install
 
Ignoring her is literally the worst thing you could do now.
 
What do I do instead? If she's not responding, and I send a ton of messages, it gets weird. If she wants to talk, it's her turn. Otherwise, I'm moving on.
 
1:36 AM
Don't talk to her
 
Aye
@Meredith any other possible insight about why she might just stop talking to me after we seemed so close, and she wrote a personal card and all that?
 
@ndugger the more people you ask for advice the more you confuse
stick with Loktars and Lemons
 
At this point, I'm moving on, but I'm just confused as to what went on on her end.
 
or ask someone > your age :P
@ndugger on her end : Depression or she went back to her ex
 
I don't need advice on what to do. I just want to know what happened
 
1:38 AM
You asked her out and she's not into you like that
That's a really uncomfortable situation for her
 
@Sean rm -rf ~/.npm
 
I dunno if I want to nuke the whole thing...
 
She can't be mature enough to be just friends? Geez. Alright.
 
although some days I do.
 
1:39 AM
@ndugger hop on hangouts ?
 
@Sean that is where your cache is
just nuking the cache completely
 
ooooh, gotcha.
 
@Abhishrek computer died. On my phone right now
 
alright, I can give that a shot.
 
npm should be in like /usr/bin
 
1:40 AM
@ndugger masterbaiting on the computer is never a good idea.
 
which npm will tell you where npm is
 
@ndugger your maturity drops down to a potato when you break up, and it takes time to regain.
 
@littlepootis you usually gain more maturity than before
 
@ndugger It's always weird
 
<- experience
 
1:41 AM
right, that makes a lot more sense.
okay, I can check this after running cache clear again and make sure it did actually remove it.
 
@Abhishrek well, not true for everyone
 
@ndugger humans are fucked up by design, thats about it.
 
then manually do it if it hasn't.
thanks for the help @rlemon
 
Is it anything like meatspin?
 
1:51 AM
Yes, but one wouldn't find that nsfw unless they're sexually attracted to tacos
 
@taco
 
No comments on my reddit thread. Some bastard downvoted it, too.
Reddit is useless unless it panders to me.
 
Classic reddit
 
I made an account for that thread. I despise reddit usually.
This isn't helping their case.
Bastards
 
Give it some time
I mean, you're looking for random strangers to give a shit about your personal life
 
2:06 AM
Why "value1" never print?
 $('.classname').html('value1').delay(5000).html('value2');
 
> Added to jQuery in version 1.4, the .delay() method allows us to delay the execution of functions that follow it in the queue. It can be used with the standard effects queue or with a custom queue.
you have no custom queue or effects queue here
 
ah, thank you
 
there is a big notice on the api page about how it isn't a replacement for setTimeout
 
Nice @Abhishrek!
Starred, I'll be looking over it for sure
 
2:16 AM
How much it sucks ? Lol don't star -_-
 
lol you wrote it, so I assume it's great
 
Its like first app I wrote in Redux
@Loktar honestly I suck <: and fall for potholes when trying out a new framework
 
did you use a documentation generator?
Or do you make all those readmes?
 
I did
 
nice
 
2:17 AM
The generator i used wasn't meant to be used with redux-actions and other cool unitilites
 
this fucks with my brain
took me like 4 seconds to read that
 
hah yeah Jhawins does his like that too
I usually keep my > and /> on the same line as the component
 
I'd rather see it on a single line
yea
I wish we had the bind operator already
 
Me too
I hate doing the e => this.foo(e)
 
{}
 
2:21 AM
one thing I notice @Abhishrek you don't have a containers directory
to wrap your components for redux
 
True, I also need to extract the store from index.js
to a seperate index
 
data.map({ code, name } => <option key={ code } value={ code }>{ name }</option>)
 
@Loktar for this I just used one single container
 
I'm 80% sure that's valid
 
ahh ok makes sense
 
2:22 AM
@ndugger data.map(({code, name}) => (<option key={code} value={code}>{name}</option> ));
 
same thing... why did you add another set of parens?
 
Just to be safe :>
 
technically you don't have to add the parens on the return, not sure about the arguments
 
babel used to throw in past on <option>
 
in the {aa,b} syntax that is
 
2:23 AM
aye, that's true. I don't know either.
 
it might look at it as a block
and not parse correctly.
{a,b} = {a:1,b:2} doesn't work iirc
you need ({a,b}) = ..
 
what?
const { a } = someObject // works
what's different from your example?
 
yea that isn't what I wrote
let a,b;
{a,b} = ...
 
i am going to bed i am totally out of it.
 
ah. I've never written like that
 
2:25 AM
I didn't show the first line, sorry
@ndugger well if it does ever come up that you want to destructure into multiple pre-existing variables, I'm pretty sure it chokes on {a,b} = whatever, you need to force it into a statement or whatever
expression
 
@rlemon Not much, but I'm quite familiar with the genre
 
watch those "problems" videos
they're short
funny af
1 hour ago, by rlemon
> yer friend says the sled has so much torque he can hardly keep the front end down... k bud, you wanna blow smoke go have a dart.
 
The other week a bunch of us were reading Listowel Problems tweets and dying of laughter.
 
this one made me almost spit up my drink
 
I bet I've seen that one
yeah I have
 
2:38 AM
the last line man
gets me every time
 
damn timeouts
 
> My left nut dangles better than you
hockey is love, hockey is life
 
T_T
I wanna play amnesia on oculus rift.
 
 
1 hour later…
3:55 AM
Hello @RoelvanUden Good Morning
 
4:12 AM
1
Q: How to stop 2 buttons from opening the same div tag in jquery

ChatboyI have been working on a comment system in php and jquery i am using jqeury to slide a form whenever you press reply but instead 2 buttons work for only one form I am using php to get the data from a mysql database and display the content it displays it in div tags with a button that says reply w...

 
@Chatboy unsure what you're asking
the code is formatted terribly
unsure of the error ect.
@Chatboy actually..
its due to the ID's
you're using #reply for every single one in the loop
/me goes for a run
1 message moved to JS trash
Never mind on the close vote, I suppose it's not totally unclear what you're asking, but definitely take the time to format the question better.
 
4:36 AM
Hello @RoelvanUden Good Morning
 
morning!
 
4:47 AM
if you click off of tacospin.com the counter doesn't start.
 
i just check counter already running @William
i check in chrome
 
@BhavinShah different for me in chrome
it won't start if you click off the time tab before it starts
 
5:08 AM
I think it is funny qz.com is hosted on wordpress.com at least it appears like that to me
 
still funny
 
Why..?
 
Because it isn't that expensive to host a wp.org and you get a lot more options
 
Wordpress.com VIP costs tens of thousands of dollars and isn't for everyone.
 
I used to do a lot of SEO tricks with wp.org that you can't do wit wp.com
 
5:20 AM
That isn't your regular WP.com
 
so it looks like they do allow plugins
 
And it's better than hosting your own. They manage most of the things for you.
 
for $15,000 a year I doubt it is better then hosting your own
host on amazon on google if you need crazy up time if you must
 
What is better is subjective. Apple is more expensive but take care of things for you.
 
Hello gais
Any Angular savy developers here?
Trying to create a service to bind a local object to a cookie object.
 
5:26 AM
@Sheepy Comparing WP.com VIP to Apple is like..
Wait, I thought of something and forgot
 
Its an ok comparison. WP powers like a third of the web I think.
 
5:41 AM
Hey people! :) if you are displaying data from a mysql database and this data is deletable for each user, what is the best way to save these preferences? local storage?
 
@AboutLeros It isn't clear what you're asking. What do you mean by deletable? And what preferences? An example?
 
@littlepootis the concept is that the user chooses what they see so they can drag and drop elements that they are interested in and there is a "x" (delete) on each info element and at the moment i'm removing these elements from the dom via jquery. but what would be the best way to save what has been added and what has been deleted?
 
1 message moved to Trash can
@neet_jn Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com or pastie.org
 
@AboutLeros If there's no user management system on the server side, it would be local storage. If you do have one, update in the database.
 
angular.factory('foo', function(){
  function a()
  {
    console.log('called');
  };
  return {
    b: function() {
      a();
    }
  };
});

angular.controller('fooBar', function(foo){
  foo.b();
});
what would happen?
b would be returned as an instance, but would it be able to
 
5:49 AM
@AboutLeros Do not say "delete". This is an "hide" action. Local storage goes with browser, not user, and is clearable. If your users have accounts, the preference should go to the database like account data.
 
successfully call the function a()?
 
@littlepootis the info is displayed from a database and that's a good idea, but how would you update the user preferences without altering the originally table data?
@Sheepy Noted, thanks :) as Sheepy said, i'm trying to "hide" info elements according to user preferences.
 
@AboutLeros You don't. Local storage are, by definition, local to the client side. You've to process the preference on client side.
 
@Sheepy i'm not talking about local storage. i mean with php and mysql (server side)
 
Let me see. I assume you are already selecting the data. How would you filter rows - say, the row with id in (2,4,6) - out of the result?
 
5:58 AM
@Sheepy yes, but obviously on user input. :) when the "hide" button is clicked
 
@AboutLeros Send an ajax command to the server whenever it is clicked.
 
@Sheepy that's a good idea. I'm just struggling with understanding how to hide the data without altering the original. sorry if i'm being a bit dense :P
 
Then it is back to my previous question. Do you know how to filter specific rows - say, the row with id in (2,4,6) - out of the result?
 
@Sheepy no, i'll look it up
 
I'm sorry I keep reading you name Sheepy as Sleepy. Its 1AM here so yeah I'm sleepy
 
6:11 AM
@AboutLeros Good. This tell us where is the problem. Continue learning SQL. Most tutorials should teach you how to filter results and, eventually, pull result based on data from two or more tables.
@William Don't worry. I'm always sleepy so that's correct too :D
 
@Sheepy and i'm assuming some how these preferences can be saved on the user row?
 
@AboutLeros Since each user may have many many hidden rows, or none at all, this preference is a "one to many" data and you should generally store it in its own table. Read beginner textbooks on database design if you are interested in getting your design right.
In other words, I'll make a user table, a data table (with all the rows), and a preference table that records which user have hide which rows.
Then I can use SQL to pull the filtered result for any specific user.
It's a pretty basic SQL task, but can be overwhelming if this is your first experience with MySQL. Take your time.
 
6:43 AM
mashable.com/2016/03/09/kid-shoots-gun-advocate-mom/… "The bullet went through the seat and entered her back, before exiting her stomach."
 
Authentic Weather tells me
its fucking BBQ time
 
@Sheepy Thanks!! that's really helpful! :)
 
Her last post:
Got to play with my new toy today! Time to clean it! http://t.co/1lkYo8b3sh
smh
 
Hello guys
 
@khajvah hello
 
6:52 AM
quick question: can I return immutable object members?
I am trying to write getter setter methods but getter method returns the actual object
 
@khajvah quick answer WAT ?
can you gimme an example ?
 
@Abhishrek alright, my object has an array member. I don't want other objects to have direct access to it.
So I am writing getter and setter methods for it. But, in getter, when it returns the array, I don't want it to return the actual reference of it.
 
user3119231
7:10 AM
good morning
 
@khajvah Return a copy of it, then.
 
ok that will work
 
@
 
@Joehl Welcome to the JavaScript chat! Please review the room rules. Pleasedon'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.
 
7:27 AM
@Maurice o/
 
user3119231
@Sheepy \o
 
7:41 AM
\o/
 
3 more kicks without timestamps... Who was it that maintained chat? FR
 
user3119231
@littlepootis Does nobody empty the run nowadays?
 
@littlepootis Gun rights advocate that calls those gun "Toys"?
... What
Usually, those fighting for the right to have a gun try to make it very clear guns are not toys... o.O
 
7:59 AM
o/
 
\o
 
o/
 
@Cerbrus If the news is to be believed, she let her 4 years old shot with a .22, and she surely regard them as toys. Apparently her son believes they are really just toys.
 
Imagine if the son had played with it some more. If it was pointing the other way, hor higher...
What a dumb b**ch. Goddamn...
Ah well... MURRICA
 
user3119231
I think it is not bad to know how to handle a weapon. But it is also good to know how to secure this weapon (to prevent kids shooting with it for example)
 
8:07 AM
@khajvah or you can Object.freeze it
 
i'm trying to connect with a chrome extension in inline method with anchor tag. It's saying, link is not valid. any idea why?
error msg : Uncaught no chrome webstore item link found
 
I slept for like 10 hours yesterday.
So much fun
 
user3119231
Had some nice dreams, huh?
 
@littlepootis we use wpengine and they're mostly decent minus the linode ddos
 
8:22 AM
Morning
 
@MadaraUchiha morning, how are you?
 
Great, you?
 
@MadaraUchiha i'm fine. have been quite busy these days. couldn't come online that much. Btw, you have any idea about prompting an user to install chrome extension? Coz, I tried doing that. On clicking the install button, it's showing invalid chrome extension url. But that's not true.
 
8:44 AM
how can I click this excel button without depending too much on title="Excel" as it might change...
<iframe id="myViewerFrame" style="height: inherit; width: 100%" class="ng-scope" src="_layouts/15/Viewer.aspx?Id=3&amp;sId=300">

<a title="Excel" alt="Excel" onclick="$find('TViewerSSS').exportReport('EXCEL');" href="javascript:void(0)"
style="color: rgb(51, 102, 204); font-family: Verdana; font-size: 8pt;
padding: 3px 8px 3px 32px; display: block; white-space: nowrap; text-decoration: none;">Excel</a>

</iframe>
I already tried this
$('#myViewerFrame).contents().find('a')
 
Can you change the HTML?
 
nope :(
it's .Net's report viewer
 
@MadaraUchiha morning.
 
hey guys i have a sortable problem. I have enabled drag and drop on some info elements, however for some reason this has disabled be able to sort the items, if i try and sort them now, the item jumps to the bottom of the div. jsfiddle here jsfiddle.net/3y09hurL/10
 
@MadaraUchiha I don't get it. Do I have to watch that video to understand what is that?
 
here is an example of what it should do jsfiddle.net/3y09hurL/11 (but i have disabled the drag and drop to show you)
Any help is much appreciate
 
9:16 AM
@copy brilliant
 
@AwalGarg I wouldn't go that far, it's just a nice history lesson
 
@BenjaminGruenbaum alright, not intellectually brilliant, but the history he showed is brilliant
also nsfw for a couple minutes at the start in case someone else watches it
 
posted on March 10, 2016

Yesterday I retested the resize event on touchscreen devices. Where the 2013 tests mostly showed a chaotic jumble, right now it’s becoming more clear where the resize event is heading. The resize event fires when the user resizes a viewport. But which viewport? Touchscreen devices have two: the layout and the visual viewport. (See also this page for a visualisation.) Most browsers fir

 
user3119231
9:39 AM
Can someone help me out? I'm stuck in the spinScreen() function. Anyone can give me advice how to realize this? jsfiddle.net/6rhtazx7/1
 
user3119231
OR how to optimize it?
 
any one had problems with <a href="path/yo.jpeg" download>get</a> ?
on Firefox it does not download but opens img in window
 
@MadaraUchiha LOL
 
$('body').on('click', '#exportBtn', function () {
            $('#elementNotExistsYet').contents().find('a[title="Excel"]').click();
        });
do I have any chance here ? as $('#elementNotExistsYet'). doesn't exists yet
 
@Maurice will give it a go :)
 
user3119231
9:47 AM
@AboutLeros this is better, or? jsfiddle.net/6rhtazx7/2
 
@Maurice what are you trying to do?
 
user3119231
slot machine spinning
 
user3119231
We want to play slot machine in office.
 
oh)) kool!
 
any one ?
 
9:49 AM
@Maurice something like this jsfiddle.net/jon23781/uVeru/3 :)
@Mathematics what are you trying to do?
 
user3119231
kinda. But not only with 1 "roll"
 
@Maurice or even better, jsfiddle.net/lyhcode/K9KBn :)
 
@AboutLeros elementNotExistsYet is in doesn't exists yet, but I want to add code as stated above
$('body').on('click', '#exportBtn', function () {
            $('#elementNotExistsYet').contents().find('a[title="Excel"]').click();
        });
ok don't worry, I tried it and it works
 
@Mathematics have a look at this stackoverflow.com/questions/6582680/…
 
@Mathematics whatever the case and logic is, you just bind an click event handler to the closest shared parent of elementNotExistsYet and check within that handler the event.target for #elementNotExistsYet
 
9:54 AM
oh ok :)
 
put your code there instead
 
YOOO I AM BACK :D
 
@lost Sup? :D lol
 
@AboutLeros nothin much, just started another project eventhough i didn't finish the first one >:D
hbu?
 
@lost haha! story of my life! I'm good, just doing da same shit a yesterday, just getting a little closer to the objective.
 
10:00 AM
@AboutLeros but all the second project needs is actually just a really simple login - building a internal managing platform for my firedepartment
 
@lost i've got a really simple login script if you need it
 
i'd actually also want to access it via internet, but therefore i'd need to make it secure
what if you disable js? :D
+ i need different views for different users + different rights ^^ so gotta work with php
 
hey
<a href="path/yo.jpeg" download>get</a>

this code does download image. But not in firefox. Any ideas?
 
@lost use the php login project :)
 
FireFox issue
 
10:03 AM
@AboutLeros huh? where wat who why xD
 
@MadaraUchiha: I think I may have found a sockpuppetting case: stackoverflow.com/review/suggested-edits/10104003
 
@lost it's a prepared login script you can use and it's pretty secure github.com/panique/php-login-advanced
 
@AboutLeros looks nice, thanks
 
@lost no worries, makes it so much easier. :)
 
it's not a issue if it wouldn't be secured, because its just for maintenance and managing shit - so the only issue would be if any other fireman would mess around in the system
since i am the only coder there - i don't mind if there is a really cheap solution of keeping them out lol - but if i want to access that platform from a public network, i should make it secured
and i guess i want to access it via internet, cuz setting up vpn would suck
 
10:10 AM
lol)))
 
and i should think about building the login, cuz afterwards it's going to be pain in the ass
 
Hi, I'm trying to fire a backspace event on hitting spacebar, but character is not being deleted from the textarea. Can anyone help? stackoverflow.com/questions/35910513/…
 
@sidx Welcome to the JavaScript chat! Please review the room rules. Pleasedon'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.
 
Thanks @CapricaSix, will keep the rules in mind.
 
@lost just write a simple php login script then :)
 
10:18 AM
@AboutLeros yeah, i've been looking closer into the php script you sent - it's actually a overkill
 
hi....looking for suggestions here....i´m receiving all the user info after he logins in the ajax success function, then i have a drop-down with buttons, and this drop-down is completly dynamic related with the user info, it has to do with permissions, my problem is, the changes i make with the array that feeds the drop-down are inside the call-back function i created in the ajax succes function, and because of this, nothing "comes out" of it....any suggestions on how to make this?
pls guys, i´m really stuck on this one...
 
can I apply css to element that is yet to exists
found it
 
10:34 AM
@BenjaminGruenbaum okay?
 
anyone know how can i enable jump to next element on scroll? it's not the whole body, it's within a div.
 
@lost what?
 
@AboutLeros work with anchors - while scrolling you could trigger a click on the anchor
@BenjaminGruenbaum what about lave or eval :D ?
 
not on click, on scroll :)
 
@lost I saw it, thought it's cute and posted it here so room people see it. Not sure what that "okay?" is about.
 
10:36 AM
@AboutLeros yeah you could scroll and choose that anchor? :D
where is my last message, kinda disappeared lol
-> i just said *okay?* cause it was just so random
 
0
Q: How can I fire backspace event on keypress of space in a textarea?

sidxI don't want to simulate the effect of pressing backspace. I want the text field to delete the character, without manually manipulating the content of the textarea. This is a sample. Markup <textarea id="tex">sdfedasdgasg</textarea> JS $(document).keydown(function(e) { var eventObj = doc...

 
With XMLHttpRequest you can open a XML document and walk through it. Is there a similar way using the HTML5 FileReader API? So when you select a local XML file, read the nodes and do something in-browser?
 
@lost know any good examples? :)
 
@AboutLeros just some pre-made stuff as library lol :D such as scroll.js
 
@RoelvanUden You can read the file, so I guess there's no problem using a DOMParser
 
10:44 AM
@DenysSéguret Ahh, DOMParser is what I was looking for. Thanks! :-)
 
@lost i got this, but how could i edit it so that it will jump scroll to the next row (bootstrap) ? jsfiddle.net/t6LLybx8/12
 
@AboutLeros well same as you example?
all you need to do is to set a anchor on the element you want
 
@lost yeah, that's what i did, but does it for the whole body, not just the scrollable div
 
hi
 
hi
@AboutLeros fiddle?
anyone know (just as a hint/thought): how would i do a gridlayout where every div container got different heights and widths, look like a good collage ? Which is also not raping the performance?
 
10:58 AM
how can I get height width in jquery validation plugin while uploading any image?
 
@lost jsfiddle.net/t6LLybx8/422 It works as soon a you remove the height of the div
 

« first day (1972 days earlier)      last day (2980 days later) »