« first day (895 days earlier)      last day (4046 days later) » 

5:00 PM
anyone?
 
good old IE5 sure was fast!
jk
 
@qbert65536 once you loaded everything, when you're in the core of your algorithms and the IO, yes it's fast. It's just that you waited too long before so that you're fed up. I don't want to lose my time with java anymore but I can't deny that today only c is faster as the core of a long running server.
 
@Connor $(".someParent").on("someEvent", ".targetElement", function(){...
 
i guess dystroy meant java 7 or 8
 
@Jan-StefanJanetzky sure was on my 128mb RAM 333mhz computer
 
5:00 PM
not 3 or 4
 
@Shmiddty yes, im using on but its not working on dynamically added elements
 
Look at the api
!!/google jQuery on
 
@Shmiddty Whats the target element?
 
@Shea iirc, that machine ended up going through a window
 
5:02 PM
@Connor You bind the event to a close parent that you are dynamically adding elements to. The target is the selector of the elements that you want to capture the event for.
 
@Shea because the netscape download took so long?
 
!!/tell Shmiddty help jquery
 
@Shmiddty jquery: Fetches documentation link from jQuery API. /jquery what
 
!!/jquery on
 
5:03 PM
there, click that
 
!!/jquery penis
 
@Loktar regarding vert.x, the bench might be not sufficient. I don't know that technology but it seems single threaded, which is problematic for some complex servers.
 
@Jan-StefanJanetzky api.jquery.com/?s=penis
 
@Jan-StefanJanetzky no, because I got a virus minutes after reinstalling Win98 SE
 
@Shea Did you really have to go to brazzers immediately after installing?
3
 
5:04 PM
I had to
 
!!/mustache ThiefMaster
 
@Shmiddty What a amazingly strange (working) way of doing it, Thanks
 
@Connor It's not strange, it's called event delegation
 
@Connor What? Going to Brazzers after reinstalling Windows?
See? I'm not the only one
 
5:05 PM
xD
 
@Shmiddty but i do on container click when i am actually clicking the a inside the container
 
!!is going to brazzers after installing windows a good idea?
 
!!/google javascript event bubbling
 
I CAN SEE THE TROLL THAR
 
5:06 PM
click those links connor
 
You guys should just assume I'm right, seriously
 
(and also read them)
 
!!/tell Connor google "javascript event bubbling"
 
!!/gosperglider
 
@Connor [\*](http://google.com/search?q=%22javascript%20event%20bubbling%22) [Javascript - Event order](http://www.quirksmode.org/js/events_order.html) ; [Javascript Event Bubbling - Stack Overflow](http://stackoverflow.com/questions/5971601/javascript-event-bubbling) ; [javascript - What is event bubbling and capturing - Stack Overflow](http://stackoverflow.com/questions/4616694/what-is-event-bubbling-and-capturing)
@Shmiddty Command gosperglider does not exist.
 
5:08 PM
I brokededed it
 
@Shea No, it tried to respond on multiple lines, and markdown stops working on multiple lines. So, that
:8554718 It's one message, but it contains two replies
 
smartass jk lol
 
If Zirak did it the other way, it'd end up with a "Try again in x seconds"
 
ya ya ya, you're right
 
@Zirak do you use nodejs? do you use it in arch? have you compiled it from source or installed it from community/nodejs?
 
5:11 PM
@Jan-StefanJanetzky I just pacman'd it, but on testing things I've compiled it manually. Either way works
 
!!/xkcd
 
@Shmiddty Command xkcd does not exist.
 
@Zirak today i noticed that updating nodejs through pacman can fail if you have updated certain modules that are global stored in npm
 
@AmaanCheval bringing viruses to a whole new level
 
@Shmiddty Command gosperglider learned
 
!!/gosperglider
 
d'oh
 
that's kinda cool tho
 
5:13 PM
!!/forget gosperglider
 
@Shmiddty Command gosperglider forgotten.
 
!!/unonebox :8554789
 
Error 0 occured, I will call the maid (@Zirak)
 
woot?
 
5:16 PM
at least someone managed to break it
 
Error 0 just occurs once every several weeks
I don't gets it
 
Debugging is my thing
What's the git again?
 
does anyone know a good resource for matching folder & files icons for a file manager?
 
!!/help
 
5:17 PM
I just need to run it myself...I miss total control.
 
@Connor google is a good resource
 
gosh.. i need 5 minutes to download 1.1 mb
 
!!/unonebox :8554789
 
@Shmiddty Command unonebox does not exist.
 
@Shmiddty Command unonebox does not exist.
 
5:23 PM
lerl, shea is a chat bot
!!/tell Shea "I think you are robotic."
 
@Shmiddty Command i does not exist. Did you mean: hi, a
 
@Shmiddty Command i does not exist.
 
@Shmiddty Command i think you are robotic. does not exist.
 
@Shmiddty Command i think you are robotic. does not exist.
 
@Shmiddty yeah i have looked
 
5:24 PM
!!should "shall" as alias for "should" be implemented into you?
 
@Shea Change bot.invocationPattern
 
@Jan-StefanJanetzky But of course
 
wtf?
it carries over across rooms?
 
afk. food
 
@Shmiddty /tell is for command output delegation. I think there's a user-made /echo command
@Shea Of course
 
5:25 PM
don't do that O_O
 
!!/echo "@Shea I think you are a robot"
 
@Shmiddty "@Shea I think you are a robot"
 
!!/i_am_a_robot
 
Then again, I've never really looked at the source for these rooms
 
@Shmiddty I AM A ROBOT
 
5:30 PM
I'm over here in Sandbox, trying to break the bot, and we have @Jan-StefanJanetzky over here playing with the one running on my browser...
I kept getting "retry in 5 sec..." and was like... wtf?!?!
oh that was Shmiddty, my bad
 
i am making a pong game
 
I have a HTML page that allows user to highlight text , remove the highlighted text or do none of the 2 (neutral state) , can someone suggest the best intuitive way to display these 3 stages on a HTML ?
please
 
Hi all. Can anyone help me with Google apps script?
 
@Darkyen is it gonna be multiplayer?
 
@Darkyen You should golf it
 
5:42 PM
I want to login to openID, but I don't know where to start
 
@user1537158 0-2?
 
@Shea true , but im look for the most intuitive way to show that to a user
@Shea state1 user has selected highlighter , state2 user has selected to remove highlighted text , state3 none of the above
 
Sorry, I just don't understand
oh, you mean for a button?
 
@Shea if here on SO chat you have 3 options , you could highlight someones chat using a tool , remove your previous highlights , or be in none of above ie neither do u remove highlights nor make highlights , how do i make user understand these 3 states
 
can you give me a visual aid in paint?
 
5:48 PM
@Shmiddty its written in asm
(xD)
no joking ... turbooo c , for the heck of rubbing on some senoirs faces
 
ASM > everything
 
@Darkyen why this wheel reinvention?
 
1 min ago, by Shea
ASM > everything
 
@Shea let me make it more lucid ,
say you have 2 buttons , button1 highlight text , so when you select that , and you select some text using your mouse , a yellow background comes over the text (ie text is highlighted) now when you click button 2 you can remove some of the highlights previously done , if you click none of the buttons and you select text nothing will happen (what currently happens) what is the best intuitive UI you can think/ suggest for this setup ?
 
5:50 PM
@Jan-StefanJanetzky its in turbo c not asm
i dont wanna over kill my seniors
 
@user1537158 sounds like a tri-state toggle icon
 
@Shmiddty yes exactly , i was thinking what would be the most intuitive (something that could make user understand what i explained)
 
@Jan-StefanJanetzky If you can dodge a wrench, you can dodge a ball
 
@user1537158 A single button with different icons for each mode.
 
@Darkyen then at least do it as terminal application :D
 
5:53 PM
@Shmiddty but a user can switch to any mode any time , with single button and diff icons for each mode user will be able to go from one mode to another only in a particular sequence
 
@user1537158 You are thinking too hard about this. If you want to be innovative, hire a usability expert.
 
@Shmiddty alright , thank for the help :)
 
da hell.. why do i have such a strong feeling that the next thing i will do is porting nyancat onto my watch oO youtube.com/watch?v=BFq_shwOwDk
lol.. pong would work too :O
 
@Jan-StefanJanetzky itprobably will be written in the worst C++ you have ever seen :3
 
6:00 PM
even with two players
 
but it'd be cool as hell
i am writing down to minimum socket communication
if succeedes :3
i wil make my senior burn in agonizing pain
 
for multiplayer support?
 
yeap
even if it didn't work my single player is kickass ;D [ half dx-ball ]
 
you should write a simple bot :D
@dystroy do it. you will be the only one who will want to use that
 
hello
 
6:05 PM
hello
 
how would I go about making a button unclickable until you've read all of the terms and conditions (kind of like world of warcraft does) I'm having a hard time even googling this
 
@dystroy you dont need a chrome extension
 
2 messages moved to Trash can
 
@FunBeans for a forum?
 
(function(){
   var imgs = document.getElementsByTagName("img");
   Array.prototype.forEach.call( imgs , function( element ){
        if( element.src.indexOf(".gif") != -1 ){
           element.parentNode.removeChild(element);
        }
  });
})();
 
6:09 PM
lol
 
yeap finally works :D
 
Well, this was interesting. A bunch of little girls shouted "impotency" at me.
...less dirty than it sounds
I was at the dog park, and a girl who's in 4th or 5th grade was there with her friend. They wanted to play word association games with me.
 
@Jan-StefanJanetzky That's how I know I drew it almost right.
 
@Zirak im po ten cy -> denglish: in the but ten "cy" -> we need to figure out what "cy" means
 
inthebuttency.
 
6:11 PM
At some point, one of them shouted "impotency", a word she doesn't understand but heard of one day. Then they both started chanting it at me.
 
dies
XD
 
The golden years...
 
@jan-
@Jan-StefanJanetzky, for a terms and conditions page for a web app
 
3 messages moved to Trash can
 
@dystroy rlemon wrote a killit chrome extension for this
Well, rather a bookmarklet
O hai people btw :-)
 
6:15 PM
ohai mr margaine
 
@dystroy I talked with my boss about you, there must be some hr screening first though.
 
oh fucking lord give me broadband..
 
@Zirak do u out of your infinite knowledge stack remember how to get multiple keys in turbo c ?
 
I've never touched turbo C
It told me it was 18 I swear
 
@Darkyen just fyi, the best code is the most readable.
 
6:19 PM
@Darkyen why did you choose turbo c?
 
because his college sucks ass
 
the best code does not care how many lines it has. it just cares about simplicity
 
Following caveman rules, biggest code is best code
 
@FlorianMargaine its pretty readable
 
ie7.com (i still like that idea)
 
6:21 PM
you should see horrible code that we go throguh -_-
people write code like this
void main()
{
int x;
cin>>x;
if( x > 18 )
{
cout<<"You are mature";
}
else
{
cout<<"You are immature";
}
}
 
Hello!
anyone there has any tips for this? stackoverflow.com/questions/15664119/…
 
@FlorianMargaine see that ?
humph
 
@MostafaShahverdy what with?
@FlorianMargaine 97% of times :)
@Darkyen isn't turbo C deprecated?
@Jan-StefanJanetzky I don't know how microsoft didn't sue them yet :P
 
@Lowb I think I spotted your problem.
 
well that's a start
@TheSnooker where is it?
 
6:33 PM
:8556104 in the snippet you posted you have:  jQuery("#formID").validationEngine();

but the html you posted has the form's id set to:
<form action ="enviar.jsp" method="post" name="seguimiento" id="seguimiento">

shouldn't it be:
 jQuery("#seguimiento").validationEngine();
 
@TheSnooker Please format your code! (control+k)
 
What's the best way to submit a form and then close the window?
 
.dialog("close")
 
@TheSnooker let me see but I think I've tried that already
 
@Andrew 'Best Way'? What exactly are you doing?
 
6:36 PM
@Lowb unless you have a form on the page with the and ID attribute of "formID" that .validationEngine() method will not know what element to perform it's actions on.
 
@Andrew There is a window.close() method
 
I have a add customer button, and when it's pressed a popup will appear with a form that needs submitted.
That's what I am doing now, but the form doesn't get submitted.
$('#CustomerAddForm').submit(function() {
window.close();
 
@TheSnooker it's not working still :(
 
$(document).on('submit': function () {
// close the window;
window.close();
},'theForm');
Oops.. on binds to the document not the element :-P
 
wait a second @TheSnooker, im getting this error
Fecha y hora: 29/03/2013 19:38:32
Error: TypeError: jQuery(...).validationEngine is not a function
Archivo de origen: http://localhost:8084/Tecnicos/index.jsp
Línea: 28
 
6:41 PM
@BenjaminGruenbaum yeap.
but our colleges still sue it
 
Thanks, that worked!
 
but I have the script here <script src="js/jquery.validationEngine.js"></script>
 
@Darkyen What's wrong with vim+gcc? That's what they've been doing here since forever
 
@Lowb are you just trying to validate a form?
 
yes
 
6:43 PM
@Lowb what are your trying to validate.. phone numbers, e-mails?.. anything else that isn't normal?
 
nah, just number text fields, simple stuff
I know I could do it with a function of my own
 
@Lowb that was going to be my suggestion :-P
 
Just found a backup disk from 2001 with lots of images and short cellphone videos from me and my friends learning to skateboard. :D
 
just wanted to get this working, will certainly use a function of my own if I don't get this to work
 
@Lowb not familar with validationEngine.. but it looks like it's not linked properly to the document you're trying to use it on.
 
6:45 PM
Man the memories.
 
@Lowb in firebug look at the html tab and see if "js/jquery.validationEngine.js" is loadded.
 
@BenjaminGruenbaum Microsoft Windows XP Professional Service Pack 2
 
or if it's giving you a 404/blank
 
and teachers who cant install / use linux
who think the difference b/w and IDE and a text editor is that the former copies required resources on itself ...
 
MinGW? Doesn't it have gcc?
 
6:47 PM
@TheSnooker you're right, it's giving me a 404, but the file is there and Chrome has access to it
 
@Zirak they dont wanna install Visual Studio 2005
what do you expect ?
 
It's not related to VS
 
@Lowb ctrl+f5 chrome and see if it it still has access
 
i know they are not
 
might be cached,.
 
6:48 PM
but visual studio is 1 click install
for windows , recommended by "Microsoft"
 
I heard good things about MinGW-W64: mingw-w64.sourceforge.net
 
:-)
 
@Darkyen int main (void) {int x; cin >> x; cout << "You are " << (x > 18 ? "" : "im") << "mature";};
 
They don't have to know what compiler you're using as long as it works
 
dunno if that works. i guess it does.
 
6:49 PM
@Darkyen wtf
 
@Jan-StefanJanetzky luckiliy thats not my code but just saying
 
even though i wonder if cin converts char arrays to int. (cpt. obvious told me it should not)
 
@Zirak No... they bitch about it ... "COMPILE HERE IN FRONT OF US .."
it must work in turboc
.. i tried mates.. i tried
 
It must suck learning there
 
@Darkyen i know! i've read what you wrote. but srsly. everytime i see: void main() i'd like to punch some face
 
6:52 PM
@Darkyen That's not horrible, you haven't seen horrible until you've seen 1000 lines of code without a single method with no indentation, and TONS of comments but no good ones yet
 
!!/belch
 
@Shmiddty Command belch does not exist.
 
@BenjaminGruenbaum you mean.. untill you have seen LUA in minecraft
 
@BenjaminGruenbaum i have seen a bank management system
 
@Jan-StefanJanetzky I was talking about Java :(((
 
6:52 PM
with no indentation
and debugged it
over 1200 lines of crap code
the error was
 
= and not == ?
 
cin>> instead of cin.getline about 40 times
 
>= and not > ?
lol
 
they dont understand whats the difference b/w cin >> and cin.getline
 
oh my @TheSnooker it is working, the problem was that the localization rules weren't added <.<
 
6:53 PM
"BUT BUT THEY BOTH GET THE TEXT"
 
@TheSnooker thanks for the help, and sorry for such a dumb question
 
back in time when i used windows, i loved a certain notepad++ plugin that was magically formatting any javascript i put into the window.
 
@Lowb no dumb questions..
 
so i even could read quoted javascript pieces with horrible formatting :D
 
@Jan-StefanJanetzky Most editors do that...
 
6:55 PM
@TheSnooker Why don't farts smell like candy?
 
@BenjaminGruenbaum i mean like.. fixing intendation and spacing
 
@FlorianMargaine Hello. And thanks.
 
@Shmiddty they can.. if you eat enough candy.. I think
 
@Shmiddty because then you'd propably lick some.. what ever
 
@Jan-StefanJanetzky Most editors can do that. In VS that's control k+d. In Sublime text that's control+P + reindent. You can make a shortcut though
 
6:56 PM
@Shmiddty what does "candy" smell like anyway?.. thats some abstract scent I can't really nail down.
 
@Jan-StefanJanetzky WebStorm also does Control+k+d here because that's what I set it to do, but it came with another shortcut iirc
 
@TheSnooker candy smells like candy. Why doesn't candy smell like farts?
 
LOL... I answer a question. OP copy-paste without change the whole code of my answer to replace his question...
-3
Q: Javascript array: How to push within a condition scope?

David 10KI want to push an array within if-scope, like: var a = new Array(); function funcname(i) { a[0] = "first"; a[1] = "second"; if (i == "condition") { a[2]= "third"; a[3]= "fourth"; } } It doesn't work. How can I get this to work? Thanks for help, I tried with switch-scope but d...

 

« first day (895 days earlier)      last day (4046 days later) »