« first day (1395 days earlier)      last day (3553 days later) » 

12:00 AM
@Meredith why don't you just

innerHTML += "JavaScript Preprocessor

(08:59) Output: 5 | Within preprocessed function
(08:59) Output: heyo | Within preprocessed function
(08:59) Output: 5 | Outside preprocessed function
(08:59) Output: heyo | Outside preprocessed function"
That's the most pre-processed process you can ever create.
 
I don't even know what to say to that
 
No because I just raped your mind.
 
@copy I'm there
 
12:15 AM
I wish poop and pee are solely formed with carbohydrate instead of protein so protein can remain in my body for muscles growth.
 
12:45 AM
Guys, which book would you read to impress a girl at a college Cafe and your major is Computer Science?
 
Something conceptual.
 
Impress her with your code
 
I meant a conceptual programming book, but ok.
 
oh
@Meredith What do you mean by impress them with your code? Does your code have to be long and sturdy?
 
12:50 AM
Everything should be long and sturdy. Especially certain things.
 
No, short code is good code
 
Code isn't a thing. It's a she or he.
 
1:12 AM
Nice, I successfully resisted temptation to masturbate in bathroom while in shower. Guy monitoring bathroom security camera is probably impressed (sobering) by seeing my improvement.
 
...
 
Is being speechless ("....") a reaction to my achievement?
 
Are you in a psychiatry?
 
Can we get this kid out of here?
 
!!mute 1065129 1000
 
1:16 AM
@phenomnomnominal Muted user 1065129 for 1000m
 
Already on it...
 
Why'd you mute him? He was fine.
 
I think mute should be for emergencies
 
mutees end up going to mods, so yeah, it should be justifiable :P
 
1:44 AM
i just heard a funny joke
 
?
 
A wife tells her husband who is a programmer to go to the store and get 2 gallons of milk....
She then adds,"If they have eggs get 6"
The husband returns home with 6 gallons of milk and tells her, "they had eggs"
hahaha
 
ye what funny
-)
but I know that -)
 
2:07 AM
@bjb568, @copy he was being a douche, as he is everytime he comes in here.
 
Right, and when you see a douche on the street, you 1) punch him in the face 2) call the police 3) ignore him
 
Depends if he is a douche once, twice, or repeatedly over an extended period of time
I'd be surprised if even 1% of what he has to say in here adds anything to the general discourse.
 
We're not usually very serious about talking about JavaScript anyway
 
I don't know about you guys, but I don't want to hear about anyone's masturbation habits
 
@copy no we're not, but there's a level of not being a complete dickbag.
 
2:16 AM
@phenomnomnominal Meh, I guess that's a point
 
And it's not like he goes away if you ignore him, he just sits in here spouting shit. It's annoying.
 
2:29 AM
@IGRACH Is that an alien?
 
?
@bjb568 ?
 
3:06 AM
@IGRACH The face with one eye?
 
@bjb568 what face with one eye
 
3:30 AM
2 hours ago, by IGRACH
-)
 
Im not getting it
?!?!!?
 
4:07 AM
Comes with a 50-lb sack of gender changers, and also an add-on device with a voltage selector and a zillion circular center pin DC adapter tips so you can power any of those devices from the 90s.
2
 
4:37 AM
@copy I'm at the airport
 
4:52 AM
@Feeds so I can now convert my audio files to video files?
 
5:09 AM
@Feeds Randall Munroe is a genius!
 
 
1 hour later…
6:35 AM
arcane legends is darn good
 
@Mosho Hi there. I have a question on D3.
 
6:59 AM
@m59 hey, I just saw you hop in, you remember the shortcut thing you taught me? Now, how to cancel those event listeners on the uncheck of a checkbox?
 
m59
give me more context, and link me the jsbin :)
ah/
 
kk... wait.
 
m59
@AwalGarg hmm, I don't have much time anyway
don't worry about it
 
ok
 
m59
Do you know about removeEventListener?
I'm not sure what problem you're having.
 
7:00 AM
here, there are those three event listeners you taught me.
now, I will add a checkbox, and when someone checks it, those event listeners should not work.
 
m59
there's an obvious easy way
 
how?
 
m59
Nah, that's not what I would do.
here's the pseudo code
on checkbox change(function() {
  checked = true or false
})

myEventFunction() {
  if (checked) {
    // stuff
  }
}
that might not be the best way
but it's the first I thought of :)
 
oh great! so, basically, the event listeners are still there, but they won't do anything, right?
 
m59
yeah
 
7:04 AM
awesome, thanks :)
 
m59
A slightly better way would probably be to attach a different function and wrap your existing ones
myNewFun() {
  if (checked) {
    myOldFn();
  }
}
addEventListener(myNewFn)
 
yea, I have them wrapped like addEventListener('keydown', function(){ myfunc(); someother;};
 
m59
that way you can still directly use the function if needed
 
addEventListener('keydown', function(){ if(checked) {whatIhaveToDo();}; <--this?
 
m59
mmm, not sure if you understand my point, though
Let's say you have a function that does "X"
and you decide that the way you're using "X" should be enabled / disabled
but then, while "X" is disabled in that context, you want to use it anyway (triggered by something else)
if the disabling logic is inside of "X", you can't use it anymore
see what I mean?
 
7:08 AM
yep.
 
m59
cool
 
thnx so much :)
 
m59
No problem
What's this "Zigi requested access" business?
 
zigi is fellow user who haunts this place often.
 
he's muted again, don't know why this time
 
7:17 AM
https://www.dropbox.com/s/wq4fud28w9iao00/censor%20Zigi.user.js
^you can use this script free of cost to get rid of the zigi business.
 
@GNi33 @Zirak has noticed his "nazis are nice" message
 
got a link for me?
 
:O
 
m59
dang, why is that message flagged?
 
which message?
 
m59
7:20 AM
yours - 6 times
 
I can understand that, but why did four people validate it?
 
is he flagging from the transcript again. oh my god, grow up
 
dear @ziGi, if you want to come back, stop flagging eeeverything
 
so am I gonna be suspended for half an hour now?
 
Hello everybody
 
7:25 AM
hello
 
ello
 
o/
 
I invalidated the flag, after reading the javascript :P
 
xD
 
@AwalGarg the problem ofc was that I just read: "you can use this script free of charge"
so I was like "what's this spam anw" :D
 
7:28 AM
@AwalGarg Seriously?
 
@SecondRikudo ofcourse my lord!
 
hey guys
 
I'm now contemplating whether to validate the flag or not
Although I doubt my call would make much of a difference seeing it already has 8 flags.
 
is there a good Firefox validation addon, which validates the source and not the link?
 
!!unmute zigi
 
7:31 AM
@JanDvorak Unmuted user 965090
 
:(
 
@zirak didn't read the context of Zigi's message
!!mute
 
Thank you JanDvorak
 
@ziGi don't waste your chance again
also, welcome
 
7:33 AM
thank you, please be objective if you can because there are apparently a lot of people hating me, making fake profiles and taking my words out of context to make me look bad
I have been trying to help people, on Saturday evening I helped a few
 
@ziGi don't make claims of hatred
 
well it looks that way
 
@ziGi please don't take that script seriously... I was just practicing JS. :D
 
ok
 
@AwalGarg You didn't have to publish it
 
7:35 AM
@JanDvorak scnr :P
I will take care of it next time though :) sorry again, @ziGi
 
it's fine, I don't hate you or the script but I see sometimes you talk against me when I am muted and start posting such things and that really irritates me, and yes it's not childish cause that is a personal targeting, I see my nick there and it's not nice as you can imagine
 
Aug 6 at 18:03, by rlemon
we make fun of you because we like you
!!s/we/I/
 
@AwalGarg Aug 6 at 18:03, by rlemon I make fun of you because we like you (source)
 
Seriously though, we should all let this go and really give him his chance, so no nagging because of his past actions and so on. We'll see how it turns out
2
 
^agreed :)
 
7:38 AM
thank you GNi33
 
@ziGi You did post a message regarding how much you like nazis...
 
how can i get tag using its id or class in JS ?
 
@ErumHannan node name
 
eg. my tag is <div id="divone"></div>
yes
 
@SecondRikudo not really. He's just confusing "Nazis" with the german army and population in World War 2, which is a completely different thing
 
7:39 AM
@AwalGarg node name ?
 
@SecondRikudo he said "nazis weren't bad people, their leader was"
 
That's not how I saw the starred message
The "their leader was" wasn't a part of it.
 
@AwalGarg Yep, that's pretty much how it works around here.
 
But whatever, let it go.
 
you guys know that taking words out of context is related to the term manipulation, right?
 
7:40 AM
@SecondRikudo that's the "context" part
 
stop it
 
@ErumHannan var a = document.getElementById("yourId").nodeName;
 
right there. just let it go and we'll all be fine
 
7:41 AM
c'mon lets go back to js, see I helped somebody!!! xD
 
@AwalGarg wd ;-)
 
is wd === well done?
 
zigi is banned
praise the lemon
 
and pass the ammunition
 
@AwalGarg yes
@AbhishekHingnikar no
 
7:43 AM
@AbhishekHingnikar seriously, stop that shit now
 
ah darn no praisin lemon -_-
 
:D
 
@GNi33 o_O good luck :P
 
@monners i saw that!
 
hes gonna have to work hard to get me and (idk about) Jhawins going neutral or ally :-/
 
7:43 AM
@GNi33 IT NEEDS TO BE SEEN!
 
haha, self starring trick caught XD
 
starring your own messages.... BOOOOOOOooooOOOO :P
 
how is that possible
 
magic
 
7:44 AM
@monners you could have told me! I would have starred it for you :P why go hackish?
 
With great power comes great power
 
!!magic
 
@GNi33 lol. you asshole.
 
with a pin and unpin, comes a self star!
 
7:45 AM
with great penis comes tons of hoes
 
@AbhishekHingnikar Or so you've heard
 
with Abhishek Hingnikar, come lots of PJs.
 
@monners experienced you may say
 
@AbhishekHingnikar Vicariously
 
what's a PJ
 
7:46 AM
@AwalGarg and some burns.
poor joke
 
hehe
 
@AwalGarg #define NOT_INDIA
probably
 
lo all :)
 
#include <Murica.h>
 
nah! this one wasn't even hindustani :P
 
7:47 AM
pj probably is hindustani
!!urban pj
 
God damnit! Someone star that Stallone clip!
 
@AwalGarg lmao
 
Punjabi MC's
 
Ummmm.
 
uggh!
 
7:48 AM
@monners done, even though I didn't watch it
 
who the heck starred that ?
 
@CapricaSix I know PJ as Pajamas, thanks for hitting me in the childhood.
!!undo
 
i died laughing
 
@Kippie You oughta. It's cinematic history
 
Are there still people interested in programming here ?
 
7:48 AM
may your soul rest in peace
 
!!urban peace
 
@AbhishekHingnikar Peace A parting phrase, in good manner
 
@monners Yeah, but I'm at work, can't use sound! Gifs are fine, though
 
@dystroy yes sire.
 
thank goodness!
 
7:49 AM
@dystroy A saw one a few weeks back.
 
@dystroy take it or leave it :P
 
@Kippie what about headset
 
@dystroy i made a game finally
 
What free service would you guys use if you wanted to integrate file hosting in an application (e.g. miaou) ?
@AbhishekHingnikar Didn't you have a startup project ?
 
@dystroy use p2p for gods sake
@dystroy yeah in a sunday dude :-> simple console game :D
 
7:50 AM
@AbhishekHingnikar depends on the goal
 
but am proudz of it
 
@AbhishekHingnikar link ?
 
@dystroy err no i mean use rtc's data channels
 
@dystroy I'd roll my own
 
@dystroy I made something which looks good to me... but it looks good only to me. so yes, people here are interested in programming.
 
7:50 AM
I've been neck deep in spaghetti JavaScript all day. Just got home. This is the only place I know of where I'll be safe from any discussion of actual code.
 
@JanDvorak Problem is it takes disk space
 
@dystroy thats why data channels
goes peer to peer
 
@dystroy just make something p2p
like irc's ctcp
 
@AbhishekHingnikar P2P is good when you want to implement file sending, not file sharing for all the users in a room
 
@dystroy you could host torrent files locally :-)
 
7:51 AM
torrents, torrents, torrents
 
I want to revive the torrent technology
 
all hail tor
 
But I'll probably use P2P for sending a file to a user
!!send @someguy
 
@dystroy That didn't make much sense. Use the !!/help command to learn more.
 
btappjs.com <- oh there exists this
 
7:52 AM
any one wants more space for the star queue?
 
@AwalGarg yeah, the stupid layout on the right is one of the problems of the SO chat. Or maybe it's designed to be used on big screens only
 
@AwalGarg I make the "other rooms you're in" text absolute and remove another row of users
What do you do?
 
@AbhishekHingnikar This might be a dumb question, but how would you get a local file to send through WebRTC? I thought javascript never had access to the file system, so wouldn't it need to be stored somewhere first?
 
@SecondRikudo see the bottom input bar stripping in that pic?
 
7:55 AM
@Kippie you have filesystem api
you can actually store files in indexed db or chrome's file system
 
@AwalGarg Oooh, nice, I haven't thought of that
 
which is a sandboxed space
 
But you should move the links out of the way
 
whats more awesome is it has native hooks to chunk and stuff
 
@SecondRikudo but you are god!
 
7:55 AM
Sometimes you do want to link to the help or faq.
 
so all the user has to do is
 
@SecondRikudo which links?
 
Ah, nice. Do you have any working examples of this?
 
click and select the file
 
@Kippie you can access the files the user points you to
 
7:55 AM
And is it cross-browser compatible?
 
@Kippie mostly
ie ... idk
i know this works on ffox and chrome
 
@SecondRikudo I never even had the time to see them, so I considered stripping them is ok...
 
@SecondRikudo ఠ_ఠ
 
7:57 AM
@Kippie
ps the future of js is amazing
 
Thanks, I'll look into it
 
i just hope jQuery doesn't rise once again
 
@SecondRikudo what do you use those links for?
 
i really don't wanna see people doing $.peers.sendFile( "ohMyGodFIle" );
 
@AbhishekHingnikar once again? when did jquery even rise?
 
7:58 AM
@AwalGarg rewind the internet 2-3 years back
 
OK, not the first time I ask : what would you guys need to consider using Miaou more (not in replacement of this room, in complement for your other chat uses) ?
 
@dystroy i don't use facebook anymore :->
 
@dystroy make the sidebar resizable.
 
i kinda think miaou is a sane chatsite like xat.com (except for xat is insane)
u just need some more goodies <3 and people will share the love
 
@dystroy It's janky. Miaou needs a smoother experience.
 
7:59 AM
ps: Have you seen tlk.io ?
 

« first day (1395 days earlier)      last day (3553 days later) »