« first day (2355 days earlier)      last day (2596 days later) » 

10:01 AM
I guess my behaviour is currently being controlled by a social engineer.
 
@KevinTinnemans I'm a certified professional
and need to go back to class
 
💩
 
I better not tell my secrets.
 
@KevinTinnemans i am a sociopath engineer. do i count?
 
@ndugger o a poo poo i make in my room daily
 
10:02 AM
@towc is it something actually useful? or is it just for fun?
I know what you can do with it, but I mean like in a company
 
you can brag about it
 
Your more likely to find people with social engineering skills working for a private investigation company.
 
so my chrome has crashed 6 times already today, I'm using 0 zero nill nada no plugins, I'm getting sick of your shit chrome
 
@KevinTinnemans Sometimes, when I'm going into YouTube with a very slow internet connection (which cannot be fixed in this country), Chrome will freeze the whole computer.
 
@AnastasiaDunbar It happens on every random website, google, SO, bronycon.org
 
10:07 AM
I use chrome as work browser and it crashes rarely.
 
@KevinTinnemans "bronycon.org" lul
 
Did you have checked the event viewers?
 
I don't think I know what you're talking about Karel
 
Event viewer on Windows.
Run "eventvwr.msc"
I actually did that too.
 
It only has one of the Chrome crashes
 
10:10 AM
I don't know if it crashes due to my graphics card.
 
I'm looking for md-autocomplete for colors, any help?
 
Either a problem with the network connection, the disk the file is saved on, storage drivers or the disk is missing
 
I forgot to restart my computer to fix the device failure.
Thank you for reminding me about that Kevin.
 
You're very welcome
 
You're using Social Engineering are you?
 
10:12 AM
You're welcome
 
Would you know?
 
I know everything
 
time to restart ;( goodbye
 
ah my back is hurting me, could you be so kind to open the door to the save for me because I'm carrying very heavy boxes
forever in my heart <3
 
hi...can we use angular in a web worker to render templates?
 
10:18 AM
im bak
 
I mean angular v1.6+
 
It's telling me to restart again?
hmm it disappeared when i clicked again on it, i hope it won't actually restart sometime
 
Joe
Hi I want your opinion
 
You do know that Windows knows what you hope right
and it does the exact opposite
 
I wrote a batch file to disable automatic forced Windows updates. Because in Windows 10 you cannot disable it in the settings, so you need to use "sc config wuauserv start= disabled" to disable it.
 
Joe
10:24 AM
if some one has a very bad phd student as leader for a project ,, what should he/she do to make the work better?
 
why is a phd student leader of a project?
 
be the worst
 
wurst
 
worst > bad .. so it is better
 
lunch time?
 
Joe
10:27 AM
because I had a very bad luck that i did choose this project to do and work with that guy ,, it is a part of his phd work
 
motivate him
 
Joe
you can not participate with him
 
no but you can
 
Joe
it is very hard and he does not have acknowledge
 
Hi everyone, need help with jquery plugin
http://www.jqueryscript.net/demo/Export-Table-JSON-Data-To-Excel-jQuery-ExportToExcel/
this plugin is working in chrome but IE
error is textArea1 is not defined
line is: txtArea1.document.open("txt/html", "replace");
what should be value of initialization of "txtArea1"
 
10:35 AM
This room is so weird outside of US business hours...
 
you can press F12 to see what the console says. Even in IE.
@ndugger engrish issue ?
 
Sanity issues, more like
 
The US is weird outside of this room's business hours...
Take that!
 
no
 
anyone used â–¸ node --inspect index.js
to debug in chrome?
 
10:38 AM
I tried it once. It's kinda sucky
I prefer iron-node
 
I have to restart it each time
iron-node?
 
With iron-node, just refresh it, and it restarts the server
 
cool
thx
now if only chrome would let you save and export watches
npm install iron-node -g;

seems to hang @

> node install.js
 
Gotta use iron-node command instead of node
 
it finished
roger
 
10:45 AM
@ndugger it was the npm install command that was stuck there
 
Ah
 
sweet, it opens electron..
 
You debug your node app in electron's devtools
 
when I click on the file on the top left it then takes me to chrome
 
@KendallFrey I found this quite interesting: johncarlosbaez.wordpress.com/2017/03/07/pi-and-the-golden-ratio
 
10:48 AM
What file?
 
with no file No DEBUG.md or README.md found.
 
@littlepootis can't argue against that
 
the file Im debugging
 
You dont need to worry about that, just usecthe devtools
 
it doesnt break either
on breakpoint
 
10:49 AM
@KevinTinnemans learning how people think is always helpful in a good amount of contexts. You don't necessarily also have to trick them
 
You're doing something wrong then
It's always worked for me
 
i had to use debugger; in the code ((
 
@towc Yea I know, that's why I'm interested in it
 
do you have a real question now?
 
debugger rocks
it always works
 
10:53 AM
if you've already decided you're going to learn about it, it looks like you're just bragging about it
I use nbuggers
 
@ndugger do you have to use debugger; ?
 
I never have had to, no
 
Are your breakpoints in a callback, like o request of a server? Or are you debugging shit before the server starts?
I've not had to do debugging outside of a server request, so it might be a timing issue
 
i put a breakpoint on ln 1
no pause
looks like a know issue on osx
known
 
10:58 AM
why tf would you have a breakpoint on ln 1?
 
to test iron node
 
11:16 AM
do someone here have experience with using oauth2 tokens in url ?
 
How I am able to get the value of the jquery knob?(want to have a color depending on value) anthonyterrien.com/knob
 
user6820627
@Procode well, jquery knob is buggy
 
jQuery is a bug
 
user6820627
yeah. stop using it.
 
@Procode that page contains the answer you seek
check "hooks" section.
 
user6820627
11:26 AM
            $(".knob").knob({
                change : function (value) {
                    //console.log("change : " + value);
                }

        });
 
I tried that sir.
 
11:43 AM
So many books I still have to read
1984, 22/11/63, basically every other stephen king book
 
Feynman's Lectures on Physics, TAOCP
 
@LearnHowToBeTransparent how come the ord value in function is to be the value?
If i do function (v), it would work also?
 
yup have to read taocp
 
user6820627
@Procode can't you play with the code and see?
 
user6820627
just do function (v) and see. if the browser starts throwing errors, tell me.
 
11:52 AM
@Procode why v and not value ?
 
user6820627
@KarelG because he wants. my CS teachers often tell me variable names need to be short
 
value is short ... I would understand if someone would make knobSelectedValue more shorter ...
 
How can i fix this?
 
1 message moved to Trash can
@zeddex 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, pastie.org or a demo site like jsbin.com
 
$(document).ready(function() {

  var togglevideo = false;
  $('#play-video').on('click', function(ev) {

	togglevideo = !togglevideo;

	if (togglevideo == true) {
		$("#watch-video")[0].src += "&autoplay=1";
	} else {
		$("#watch-video")[0].src += "&autoplay=0";
	}

    ev.preventDefault();
  });

});
problem is it plays after you click the link again
needs to stop
 
11:58 AM
HAMMERTIME!
 
user6820627
@zeddex is that youtube?
 
yeah youtube js
hammertime? you mean a ban? why exactly?
 
!!tell zeddex bot
 
@zeddex I'm actually a bot, so don't reply to me.
 
user6820627
@zeddex that bot loves making jokes.
 
11:59 AM
ok
 
0
Q: Make words clickable in Richtext Editor Jquery

Kavya ShreeHiiii Everyone, I have a Rich text Editor(using nicEditor).I want to make each words in richtextEditor clickable so that onclick of word will change background of particular word and again click removes bg which works like toggle.So that I triedin 1st step to make the words clickable I wanna wra...

 
@CapricaSix don't tell me what to do
 
I think the problem is i need to get the url query of the .src then simply change it to 0
but also check for a first append of the string
rather than += but im not sure how
any ideas?
 
user6820627
@zeddex Fixed
 
user6820627
Ah, and you don't need togglevideo == true. Just use if (togglevideo)
 
12:08 PM
@KarelG Just wondering how it works, if it is only one parameter it have
 
the docs says that it gives you one argument for your function ...
 
works perfectly, you are awsome, thanks
 
the name is ... a matter of choice
 
it is actually common practice to do if( !toggleVideo != Boolean(1) )
it aids in readability
 
keh
 
12:10 PM
i was about to go down the query checking route and edited a function to get them from a src path rather than window etc
function getUrlVars(url, query) {
    var vars = [], hash;
    var hashes = url.slice(url.indexOf('?') + 1).split('&');
    for(var i = 0; i < hashes.length; i++)
    {
        hash = hashes[i].split('=');
        vars.push(hash[0]);
        vars[hash[0]] = hash[1];
    }
    return vars[query];
}
havent even checked if that works yet
 
user6820627
@zeddex I think you should take a break and read the docs then play with the YouTube Player API for 30 minutes. developers.google.com/youtube/iframe_api_reference
 
ok thanks
 
If I would like to change each knob that got the class "dial", How would i do that?

$(".dial").each(function (){

});
where would the .knob? this.knob?
 
noob question since i use regular js more than jquery
how do you do this type of thing
var src1 = $("#watch-video").attr("src");
seems to break the code
 
@zeddex That should work.
 
12:16 PM
hmm odd, in jsfiddle it breaks it
 
link?
 
user6820627
@zeddex because you haven't included jQuery.
 
user6820627
Click External Resources, type https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js in the box, press Enter.
 
was just testing using someone else, dont have a link sorry
 
you're not using js regularly if you even struggle with that
 
user6820627
12:19 PM
@KarelG 1 year ago I struggled with that a lot
 
oh wait it does, seems i used a var that was not there above it
 
please look at my last message
 
sorry my bad
 
my first reflex is: OPEN DEM DEV CONSOLE
 
user6820627
@Procode yeah. this.knob()
 
12:21 PM
this was what i was doing, now working:
function getUrlVars(url, query) {
    var vars = [], hash;
    var hashes = url.slice(url.indexOf('?') + 1).split('&');
    for(var i = 0; i < hashes.length; i++)
    {
        hash = hashes[i].split('=');
        vars.push(hash[0]);
        vars[hash[0]] = hash[1];
    }
    return vars[query];
};

var togglevideo = false;
var originalVideoSrc = $("#watch-video").attr("src").replace(/([^\?])$/, '$1?');

$("#watch-video").attr("src", originalVideoSrc + "&autoplay=123");

var src1 = $("#watch-video").attr("src");
 
user6820627
@zeddex good luck. but read the docs and you'll find a better way.
 
i removed the originalVideoSrc and forgot about it noob style
your code worked great, i just wanted the getUrlVars function regardless
it's regular js also, should come in handy
was just testing on jsfiddle
 
@ssube You got a sec?
Actually nevermind, sorry 😛
 
1 message moved to Trash can
@Procode Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
 
user6820627
@Procode try loggin this
 
12:27 PM
$(this).knob
Assuming knob is a jQuery lib.
 
1 message moved to Trash can
@Procode Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
 
who do you think you are caprica
 
Joe
what does caprica name means?
 
Google it
 
Joe
really
 
12:30 PM
Yes, stop being lazy.
 
Joe
I will do my best
 
what kind of site I can past my code? on Codepen?
i'm on rules but I didn't see the url where I can past my code :P
 
jsfiddle
 
ho. yeah true the first one.. -_-" sorry :P
 
Joe
@Jean-philippeEmond
 
12:33 PM
@Joe, yes. that what I want !! thanks
 
Joe
welcome bro
 
it isn't ...
 
Joe
it is a science fiction serie
 
it's a character in Battlestar Galactica
played by Tricia Helfer
god, it's almost 10 years later
 
Joe
are u talking about caprica?
 
12:36 PM
yes
 
Joe
did you hear about dollar colapse?
many say that
 
did you know how past of code can change color of some word in the textarea?
 
Joe
I dont know sorry
you can put comments to mention things
 
@Jean-philippeEmond if you meant code formatting, then there is an algorithm behind that
coloring keywords by wrapping a span element around it
 
Hello :)
 
12:41 PM
@jacquesy 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.
 
Joe
hello man
 
user6820627
@Joe thank you
 
@KarelG, ok! I'll try to look some js to do that
 
Joe
@LearnHowToBeTransparent u are welcome but thanks for what????
 
user6820627
for telling me what caprica six means
 
Joe
12:45 PM
ok ,, I just knew its meaning like 5 min ago hahahah
 
user6820627
@KarelG why don't you call it syntax highlighting?
 
Joe
there is a clever guy told me to google it hahahaha
 
that's the right term indeed. idk why i said that
 
@LearnHowToBeTransparent you're welcome
 
Guys I need some help with something... how can you make a local file reference? E.g., if I wanted to get a file from the file uploader and get a "URL" for it
 
user6820627
12:50 PM
@corvid blob?
 
With "window.history.pushState()" I add new parameter to url, is it possible to add further values as array like:

window.history.pushState(null, null, '?element_id[]=element_1_code&element_id[]=element_2_code'); ?
 
Who is responsible of @CapricaSix? I d like to chat with him to implement a similar bot on the node.js chat room
 
!!summon 642
 
@KarelG I will appear in that room after 1 more invocation(s)
@KarelG Already registered; still need 1 more
 
!!summon 642
 
12:58 PM
@DrakaSAN That didn't make much sense. Maybe you meant: summon, unsummon
 
!!summon 642
 
@DrakaSAN I will appear in that room after 1 more invocation(s)
 
do that in new comment
got stuck :P
!!summon 642
 
Namely, if SE have a system to host the bot, or what system (s)he use to host the script, and if he made the bot from scratch or if there is something already built in to handle basic "Don't ask if somebody is here, ask our question"
!!summon 642
 
@DrakaSAN I will appear in that room after 1 more invocation(s)
 
user6820627
1:00 PM
!!summon 642
 
But it seems Caprina can do that already :)
 
she should be there already ...
 
user6820627
!!help
 
@LearnHowToBeTransparent Information on interacting with me can be found at this page
 
!!sandbox
 
1:03 PM
@BenFortune Please go and play in the Sandbox
 
Today is JavaScript Day I think, More than 500 Question are already there. Tiered of answering. :-(
 
Omg, I love my professor. He's always so nice to me and writes me every email with smilies.
Plus he's hot.
 
his name better be copy
 
No :(
 
@SagarV But all you do is answer crap questions that should be closed
 
1:16 PM
Well, @CapricaSix is here, but don't want to answer...
 
Caprina is my wife
 
Caprica Sun
 
!!summon 642
 
@KevinTinnemans I will appear in that room after 1 more invocation(s)
 
@rlemon can you check cap's console in node js's room ?
 
1:22 PM
no
 
she's there but doesn't operate
 
I'm not at her pc
 
@BenFortune Some rep is required to show to my college
 
is there anything wrong with this?
  onChangePoster = ({ target: { files: [ file ] } }) => {
    const reader = new FileReader();
    reader.addEventListener('load', () => this.setState({
      poster: reader.result,
    }));
    reader.readAsBinaryString(file);
  };
 
Your college requires that you answer shitty jQuery questions and contribute to poor culture practices on an online community?
That doesn't sound like a good college
 
1:24 PM
wowo
 
user6820627
@ndugger i love answering shitty jQuery questions, especially in chat
 
!!doge help
 
          wow
many help
 
@rlemon: If you need a room owner of node.js, don't hesitate to ping me
 
@corvid You tell us
 
1:25 PM
!!doge wow wow wow
 
the nodejs room is dead
they talk about php in there
 
kevin ... there is a sandbox ya know
 
!!undo
 
@ndugger: We are not hyper active, but we aren't dead yet :)
 
definitely dead
There's like 4 offshoot rooms about JS, and all of them are dead or garbage... Just use this room
 
1:28 PM
Since I answer when I m at work, the activity is good from my POV
 
@BenFortune that's cool, I wasn't here anyway. :p
@DrakaSAN this is the node room
 
Couldn't get datadog to work with the tornado client, just used the curl fallback
 
tornado client? I haven't used that
 
It's built into the agent apparently and used by default
 
oh, is it just the http lib they're using?
 
1:34 PM
Yeah
 
it didn't work?
that's weird, I've never seen it break yet
 
Nope, but like I said I just used the curl fallback
But then realised the APM didn't support PHP :(
 
heh. I don't know what they plan to support, so far it's been mostly modern/incoming cloud related stuff.
 
@KarelG not really, too much makeup for me :P
The true makeup test is if they're sitting in the backseat of the car, and you slam the brakes and her face hits the seat, how much makeup is left on the seat?
Whole face? Too much. Maybe a little lipstick? Das ok.
 
that's what clear coat is for
has anyone tried to create powdercoat makeup yet, where you just ionize your face and it sticks?
 
1:47 PM
 
@ssube pretty sure that's how glitter works
 
@SterlingArcher that looks exactly like a tribal mask
 
I love that the eye is closed
 
 
1:49 PM
@rlemon ugh, yeah. My girlfriend owns so much glitter.
 
@ssube there's glitter in the trunk of my car from 3 years ago because of my brother's damn costume
 
I bet you could find a mask that looks like every headrest-makeup-face
 
@SterlingArcher ya know why I shared that ? She's already 47 and grandmother :P ( but yes, too much make-up)
 
1:52 PM
@SterlingArcher hold my beer
 
that dude reminds me of @tereško
 
You say that like 47 is old and I wouldn't drop-kick Steph out of my life for Jennifer Anniston or Kate Beckinsale faster than Usain Bolt down the 100meter track fam
fuck that's casual
 
47 is old
 
Oh honey
 
Kate Beckinsale, yes
 
1:54 PM
you have to look it in perspective towards your age
 
@KarelG I'm not that agile
 
I only watch Underworld for the skintight lycra
 
lol
that's where I remember Kate Beckinsale
 
She's cute af in Pearl Harbor
 
I have seen a trailer of that latest movie with scarlett johansson. She was in a tight jumpsuit or something
you could see her buttocks
 
1:56 PM
She's overrated
 
I confused Rona Mitra with Kate when I watched Doomsday
 
@KarelG you mean ghost in the shell?
 
@KarelG you say that like I don't have all her leaked nudes on my phone
 
1:57 PM
that you have seen those nudes, ok ... but saving them ? That would say something about ya?
 
ok
 
and teresko, yes. That movie
 
It's historical nudes man
The Fappening was an exciting point in internet history
 
ok
 
@KarelG there are people who delete downloads, and people who look at 1TB left and think "I am running out of drive space"
 
1:59 PM
My 3D printer is alive
 
I know someone who has a setup with fucking 4TB HDD.
 

« first day (2355 days earlier)      last day (2596 days later) »