Difference between revisions of "Oop344 20102 May 27 - Online IRC course"

From CDOT Wiki
Jump to: navigation, search
(Preview)
(Preview)
Line 4: Line 4:
 
Today we go through 2 topic
 
Today we go through 2 topic
  
1, IRC chat rules
+
1, IRC chat rules <br />
 
2, lazy evaluation
 
2, lazy evaluation
  

Revision as of 19:49, 27 May 2010

Preview

Today we go through 2 topic

1, IRC chat rules
2, lazy evaluation

Whole Version

http://tinyurl.com/oop344may27

Main Part 13:40 to 15:15


531 : [13:41] <@fardad> hello
532 : [13:41] <JQuan> hi
533 : [13:41] <cgm87> hi
534 : [13:41] <Ray_> yo
535 : [13:41] <TonyKim> Hello
536 : [13:41] <Han3> hi
537 : [13:41] <adgezaza> hai
538 : [13:41] <lwang168> hi
539 : [13:41] <Ray_> o hai
540 : [13:41] <Bhavnesh> hey
541 : [13:41] <_YJ_> hi
542 : [13:41] <slaw12> hi
543 : [13:41] <xzhang148> i have log all
544 : [13:41] <iIra> Hi everyone
545 : [13:41] <Vovko> ohai
546 : [13:41] <oleg_pliats> hi everybody
547 : [13:41] <ling_wu> hi
548 : [13:41] <caangus> hello
549 : [13:41] <Ray_> HALLO
550 : [13:42] <OzZy_M> hai2Uall
551 : [13:42] <crgosselin> HAI
552 : [13:42] <@fardad> Ray_: one hello is good :)
553 : [13:42] <sinker> hi
554 : [13:42] <Ray_> okii =)
555 : [13:42] <CloudScorpion> oh geez
556 : [13:42] <CloudScorpion> the kids are gonna lose their minds here
557 : [13:42] <crgosselin> nah we live on msn its all good
558 : [13:42] <OzZy_M> speak for yourself :P
559 : [13:43] <@fardad> Before we begin I want to use this opportunity to go through few point about IRC and the culture of chatting in IRC channels
560 : [13:43] <@fardad> just for everyone to know, the class is now in session
561 : �03[13:43] * mjschranz (~chatzilla@CPE001aa091ce4c-CM00223a6aaa31.cpe.net.cable.rogers.com) has joined #seneca-oop344
562 : [13:43] <xlu44> in time
563 : [13:43] <@fardad> irc chat:
564 : [13:43] <xzhang148> please add the svn
565 : [13:44] <CloudScorpion> fardad: perhaps you could mute everyone, then unmute them when you want questions
566 : [13:44] <@fardad> CloudScorpion: mute
567 : [13:44] <@fardad> irc chat rules
568 : [13:44] <@fardad> 1- casual chatting on IRC:
569 : [13:45] <@fardad> when you talk in an IRC channel that is not in a meeting mode, which means no active meetings is happening there
570 : [13:45] <@fardad> you see lots of cross talk between poeple on different subjects
571 : [13:45] <@fardad> to prevent conflict, usually users label their messages
572 : [13:45] <@fardad> CloudScorpion: thanks for being here
573 : [13:46] <@fardad> this means I am talking to CloudScorpion and no one else
574 : [13:47] <@fardad> but when you get into a channel and you see a meeting is happening, then always label your messages and try to limit them to minimum to prevent noise
575 : �03[13:47] * dperit (~dperit@69-196-134-177.dsl.teksavvy.com) has joined #seneca-oop344
576 : [13:47] <@fardad> 2- attending a meeting on IRC:
577 : [13:47] <@fardad> I - try to not do cross talking to everyone understands what is going on
578 : [13:48] <@fardad> but if you have to (have a question or want to say something to someone) then label your massege;
579 : [13:48] <@fardad> OzZy_M: are you ok with this?
580 : [13:48] <OzZy_M> fardad: I'm assuming you do not want to use Queries
581 : [13:49] <@fardad> all: that is the next point
582 : [13:49] <@fardad> if you only want to send one or two messages then labeling is fine
583 : �03[13:49] * _OZ (~omirza@net1.senecac.on.ca) has joined #seneca-oop344
584 : [13:49] <@fardad> but if you want to have a non-related chat (like when you talk in class when teacher is teaching :) then use /query
585 : [13:50] <@fardad> as you know all commands start with a "/"
586 : [13:50] <@fardad> if you want to open a private chat with someone you type "/query nickname"
587 : [13:51] <sinker> fardad: how do you know when a meeting is taking place in a channel?
588 : [13:51] <@fardad> sinker: good question
589 : [13:51] <xzhang148> fardad:how many persons should in a private chat?
590 : [13:51] <@fardad> sinker: good question
591 : [13:52] <@fardad> the answer is you just know .....
592 : �03[13:52] * priya_gill (~chatzilla@net1.senecac.on.ca) has joined #seneca-oop344
593 : [13:52] <@fardad> its like when you get in a room and yousee someone is talking an everyone else is listening....
594 : [13:52] <@fardad> then that is a meeting or a lecture
595 : [13:53] <@fardad> xzhang148: to answer your question...
596 : [13:53] <CloudScorpion> he is gonna lose control of it so quick
597 : [13:53] <CloudScorpion> err
598 : �02[13:53] * OzZy_M (~omirza@net1.senecac.on.ca) Quit (Ping timeout: 258 seconds�)
599 : �03[13:53] * jaburton1 (~chatzilla@net1.senecac.on.ca) has joined #seneca-oop344
600 : [13:53] <CloudScorpion> ignore that
601 : �03[13:53] * _OZ is now known as OzZy_M
602 : [13:53] <@fardad> CloudScorpion: sure
603 : [13:53] <@fardad> xzhang148: when a privte chat using a /query is only between two
604 : [13:54] <priya_gill> hi sir when is quiz then
605 : [13:54] <@fardad> priya_gill: hi and welcome, we are in a lecture now....
606 : [13:54] <xzhang148> fardad:ok
607 : [13:54] <adgezaza> Vovko: label command test
608 : [13:55] <priya_gill> ok what r we discussing
609 : [13:55] <crgosselin> priya_gill: be quiet like in class, this isn't msn
610 : [13:55] <tdot> fardad id use +m until question time
611 : [13:56] <@fardad> tdot: Thanks tdot, I know, but that is kind of.... dictatorship....
612 : [13:56] <@fardad> I want students to be able to ask questions if they want :)
613 : [13:56] <OzZy_M> and totally open source...
614 : [13:56] <@fardad> ok...
615 : [13:56] <crgosselin> fardad: Please continue with the lecture
616 : �06[13:57] * @fardad is creating a short url
617 : [13:57] <xlu44> sinker
618 : [13:58] <@fardad> ok everyone, if you just joined, today logs are here:
619 : [13:58] <@fardad> http://tinyurl.com/oop344may27
620 : �03[13:58] * rhui4 (~rhui4@142.204.247.88) has joined #seneca-oop344
621 : [13:58] <@fardad> read after 13:40 LABEL
622 : [13:58] <@fardad> http://tinyurl.com/oop344may27
623 : [13:58] <@fardad> OK
624 : [13:59] <@fardad> lets continue
625 : [13:59] <@fardad> IRC meetings II:
626 : [13:59] <@fardad> rule II:
627 : [13:59] <@fardad> if you need to pass a url to others in a meeting, don't use a long url like:
628 : [13:59] <@fardad> http://fardad.com/irclogs/Default.aspx?co=0&log=%23seneca-oop344.freenode.20100527&u1=All+Users&u2=No+One+Else&u3=No+One+Else&u4=No+One+Else
629 : [14:00] <@fardad> but instead use servicesl like tinyurl.com to shorten it to something like:
630 : [14:00] <@fardad> http://tinyurl.com/oop344may27
631 : [14:00] <@fardad> IRC meeting rule III:
632 : [14:00] <oleg_pliats> or bit.ly - it is free one
633 : [14:01] <@fardad> oleg_pliats: thanks
634 : [14:01] <@fardad> rule III:
635 : �06[14:01] * @fardad is preparing some code
636 : [14:03] <@fardad> do not copy and paste code in a chat room
637 : [14:03] <@fardad> doing this is bad:
638 : [14:03] <@fardad> #ifndef __FS_IOF_H__
639 : [14:03] <@fardad> #define __FS_IOF_H__
640 : [14:03] <@fardad> #define PLT_VCC 11
641 : [14:03] <@fardad> #define PLT_BCC 22222
642 : [14:03] <@fardad> #define PLT_LNX 31
643 : [14:03] <@fardad> #define PLT_MAC 434
644 : [14:03] <@fardad> #ifdef PLATFORM
645 : [14:03] <@fardad> # undef PLATFORM
646 : [14:03] <@fardad> #endif
647 : [14:03] <@fardad> #define PLATFORM PLT_VCC
648 : [14:03] <@fardad> void iof_init();
649 : [14:03] <@fardad> void iof_end();
650 : [14:03] <@fardad> void iof_flush();
651 : [14:03] <@fardad> void iof_movcur(int row, int col);
652 : [14:03] <@fardad> int iof_getch();
653 : [14:03] <@fardad> #endif
654 : [14:03] <crgosselin> fardad: god thats annoying
655 : [14:03] <@fardad> instead use sevices like:
656 : [14:04] <Ray_> pastebin?
657 : [14:04] <@fardad> pastebin.com
658 : �03[14:04] * Junseok (~jpark68@142.204.247.87) has joined #seneca-oop344
659 : [14:04] <@fardad> and pass something like this: http://pastebin.com/ZpdGRWaW
660 : �03[14:05] * imadorki3 (~chatzilla@142.204.142.231) has joined #seneca-oop344
661 : �03[14:05] * danapao (~chatzilla@142.204.142.233) has joined #seneca-oop344
662 : [14:05] <@fardad> for those who just came in:
663 : [14:05] <@fardad> read http://tinyurl.com/oop344may27
664 : [14:06] <@fardad> to see what we talked about in past 30 mins
665 : [14:06] <@fardad> finaly
666 : [14:06] <@fardad> two improtant ones....
667 : [14:06] <CloudScorpion> important*
668 : [14:07] <Ray_> lol
669 : [14:07] <@fardad> when working on an IRC chat, specially in a opensource project where so many languages are used
670 : [14:07] <@fardad> Never correct another one for spelling, grammer and stuff like that
671 : [14:07] <xlu44> lol
672 : [14:07] <@fardad> since english ir probably there 9th language....
673 : [14:07] <OzZy_M> lol
674 : [14:08] <OzZy_M> Ya i know Javascrip, C, TURING...
675 : [14:08] <@fardad> and if someone try to type correct english, they have to think about spelling more than the topic they are talking about
676 : [14:08] <@fardad> but obviously, if the word is toooooo wrong and you can understant it, then please ask :)
677 : [14:08] <@fardad> the second thing is:
678 : [14:09] <@fardad> every know and then, drop an "OK" , "got it" or something like that, so the lecturer know he is not taling to himself
679 : [14:09] <@fardad> ok?
680 : �02[14:09] * Bhavnesh (~chatzilla@bas9-toronto63-1088799695.dsl.bell.ca) Quit (Ping timeout: 265 seconds�)
681 : [14:09] <@fardad> OK???????????
682 : [14:09] <caangus> ok
683 : [14:09] <Vovko> Ok
684 : [14:09] <crgosselin> "OK"
685 : [14:09] <adgezaza> OK
686 : [14:09] <jaburton1> Okay!
687 : [14:09] <Junseok> ok
688 : [14:09] <Ray_> yessir
689 : [14:09] <cgm87> fardad: ok
690 : [14:09] <slaw12> got it!
691 : [14:10] <TonyKim> ok
692 : [14:10] <_YJ_> ok
693 : [14:10] <acchung1> ok
694 : [14:10] <goldenration> fardad: ok
695 : [14:10] <Han3> Ok
696 : [14:10] <OzZy_M> kk
697 : [14:10] <rhui4> kk
698 : [14:10] <oleg_pliats> got it
699 : [14:10] <iIra> ok
700 : [14:10] <sinker> ko
701 : [14:10] <xzhang148> ok
702 : �06[14:10] * @fardad just wanted to see how many are sleeping in class
703 : [14:10] <Ray_> lol
704 : �06[14:10] * crgosselin sleeps types
705 : �06[14:10] * OzZy_M thinks fardad is a sneaky one
706 : [14:10] <goldenration> ZZZ
707 : [14:11] <@fardad> if you want to state what you are thinking use /me in third person:
708 : [14:11] <xlu44> oki
709 : [14:11] <cgm87> ah
710 : �06[14:11] * @fardad is letting students know what is /me
711 : [14:11] <xlu44> im not sleeping yet
712 : �06[14:11] * adgezaza wants to test
713 : [14:11] <@fardad> and /me will be replaced with your nick name
714 : �03[14:11] * Xwu (~chatzilla@142.204.142.156) has joined #seneca-oop344
715 : �06[14:11] * rhui4 testing
716 : �06[14:12] * Junseok is Junseok. (testing)
717 : �06[14:12] * cgm87 thinking
718 : �06[14:12] * tdot likes colorful text
719 : [14:12] <xzhang148> fardad:how to make a meeting room just allow our team members get in?
720 : �06[14:12] * goldenration testing
721 : �06[14:12] * xlu44 is thinking how to tags
722 : �06[14:12] * @fardad is thinking what to say next...
723 : [14:12] <Xwu> test
724 : �06[14:12] * OzZy_M thinks we should move on to the lecture for today
725 : �06[14:12] * Vovko configuring OpenVPN, IRC is annoyng
726 : [14:12] <Xwu> me is testing
727 : �06[14:12] * crgosselin agrees with OzZy_M
728 : [14:12] <adgezaza> Vovko: lol Vlad
729 : �06[14:12] * sinker was wondering how you italicized the text
730 : [14:12] <tdot> xzhang148: just /join #channelname
731 : �06[14:12] * Xwu is testing
732 : �06[14:12] * @fardad thinks OzZy_M thinks too much
733 : �06[14:12] * _YJ_ testing
734 : �06[14:12] * JQuan thinking
735 : �06[14:12] * Han3 Han3 Han3
736 : �06[14:13] * Ray_ lol
737 : [14:13] <@fardad> ok
738 : [14:13] <@fardad> ok everyone any questions?
739 : [14:13] <cgm87> fardad: I have a question. Will we be getting our SVN accounts today?
740 : �06[14:13] * TonyKim LOL
741 : [14:13] <@fardad> tdot: CloudScorpion: did I miss anything about IRC chats?
742 : [14:13] <goldenration> fardad: nope
743 : [14:13] <tdot> i doubt it
744 : [14:13] <danapao> when is the quiz?
745 : [14:13] <xlu44> hi fardad
746 : [14:13] <@fardad> cgm87: I already sent the request to ACS, I will forward it to you as soon as I get it
747 : [14:14] <xlu44> i have two question
748 : [14:14] <cgm87> fardad: thanks
749 : [14:14] <@fardad> xlu44: hold for a second
750 : [14:14] <xlu44> 1 how to tags person's name
751 : [14:14] <xlu44> ok
752 : [14:14] <CloudScorpion> fardad: you could mention what a kick, ban etc are
753 : [14:14] <tdot> what for
754 : [14:14] <tdot> alsone isnt in their sem
755 : [14:15] <xzhang148> tdot: you mean I need create a new channel?
756 : [14:15] <CloudScorpion> XD
757 : [14:15] <@fardad> CloudScorpion: good point
758 : [14:15] <OzZy_M> xzhang148: Yes
759 : [14:15] <tdot> xzhang148: yes, just type /join #your_channel_name
760 : [14:15] <tdot> and it will create new channel
761 : [14:15] <tdot> (if its not already in use)
762 : [14:15] <@fardad> ok
763 : �03[14:15] * Bhavnesh (~chatzilla@bas9-toronto63-1088799695.dsl.bell.ca) has joined #seneca-oop344
764 : [14:15] <@fardad> wait a minute
765 : [14:15] <@fardad> everyone...
766 : [14:15] <@fardad> I see that two points were missed
767 : [14:15] <@fardad> first
768 : [14:16] <xzhang148> tdot:ok,thx
769 : [14:16] <@fardad> to create a group channel, as tdot said you just type /join #new-channel-name
770 : [14:16] <@fardad> if does not exist, one (temporary one) will get created and you can invite your team to join to chat
771 : �06[14:16] * OzZy_M checks to see how many people are in #new-channel-name
772 : [14:17] <@fardad> BUT
773 : [14:17] <@fardad> BUT
774 : [14:17] <@fardad> BUT
775 : [14:17] <@fardad> BUT
776 : [14:17] <Ray_> one but is enough fardad
777 : [14:17] <jaburton1> But what?
778 : [14:17] <@fardad> it is higly recommanded not to do so unless your public channel already hass a meeting going on it
779 : [14:17] <@fardad> this is agains the nature of open-ness :)
780 : [14:18] <xzhang148> oh
781 : [14:18] <@fardad> ok
782 : �02[14:18] * xlu44 (~xlu44@CPEf81edff8430b-CM001e6b1a6d0e.cpe.net.cable.rogers.com) Quit
783 : [14:18] <@fardad> the second thing is :
784 : [14:19] <@fardad> if you look at my name: it is differnt with other names
785 : �03[14:19] * xlu44 (~xlu44@CPEf81edff8430b-CM001e6b1a6d0e.cpe.net.cable.rogers.com) has joined #seneca-oop344
786 : [14:19] <@fardad> it either starts with an "@" or it is in different color
787 : [14:19] <adgezaza> no
788 : [14:20] <@fardad> that means I am an operator and I can kick poeple out
789 : [14:20] <tdot> it should start with an @ in the nicklist, on channel in mIRC it doesnt append the @ by default unless its enabled
790 : [14:20] <@fardad> or even ban them to ever enter a channel
791 : [14:21] <@fardad> because IRC is an OPEN chat system, sometimes poeple talk a little too much or go against the policy of the community, that is when an operator can kick them out, or ban them for ever
792 : [14:21] <@fardad> so
793 : [14:22] <@fardad> that is it
794 : [14:22] <@fardad> about IRC chats
795 : [14:22] <@fardad> xlu44: you hade questions
796 : [14:22] <xlu44> ty
797 : [14:22] <xlu44> will you give us the svn account?
798 : [14:23] <crgosselin> xlu44: he sent the request to ACS already, he'll email us when it comes
799 : [14:23] <Ray_> i have question, if u dont mind, how did u became an operator of a channel?
800 : [14:23] <xlu44> oh
801 : [14:23] <xlu44> ty
802 : [14:23] <tdot> Ray_: you create it, or youre given operator status by the creator :)
803 : �06[14:23] * crgosselin thinks xlu44 sdould listen more
804 : [14:23] <@fardad> well, when you /join #new-channel, then the first person getting in is the operator
805 : [14:23] <Ray_> yeh i see that
806 : [14:23] <@fardad> and then you can give others operator status
807 : [14:24] <Ray_> nice ty
808 : [14:24] <@fardad> or you go to freenode admin and register your channel and then anytime you join it, you will be an operator
809 : �06[14:24] * cgm87 thinks we should move on
810 : [14:24] <@fardad> tdot: thanks
811 : [14:24] <Ray_> i see
812 : [14:24] <@fardad> cgm87: one last thing before we move on
813 : [14:25] <tdot> yeah, if you ever want to know the channel or nick commands, you can always do /nickserv help or /chanserv help
814 : [14:25] <@fardad> IRC meeting are very slow, because of all typing....
815 : [14:25] <sinker> fardad: is there a command/shortcut to label your chat with another user's nick?
816 : [14:25] <tdot> for the curious
817 : [14:25] <@fardad> and because of that you must be patient
818 : [14:25] <@fardad> any questions about IRC before we start the lecture?
819 : [14:25] <sinker> fardad: is there a command/shortcut to label your chat with another user's nick?
820 : [14:25] <tdot> sinker: in mirc, you can type a portion of their nickname and hit Tab
821 : �06[14:26] * @fardad does not understand sinker's question
822 : [14:26] <tdot> youre on chatzilla so i dont know...
823 : [14:26] <@fardad> ohhhhhh
824 : [14:26] <@fardad> yeah , it is like that in all IRC clients
825 : [14:26] <@fardad> type the first few and hit tab
826 : �03[14:26] * Trul (~vovko@vladimir.ee) has joined #seneca-oop344
827 : [14:26] <OzZy_M> Like Linux/UNIX
828 : [14:27] <@fardad> or DOS :)
829 : [14:27] <@fardad> he he
830 : [14:27] <@fardad> ok
831 : [14:27] <@fardad> any questions? final call
832 : [14:27] <danapao> no
833 : [14:27] <JQuan> nope
834 : [14:27] <xzhang148> no
835 : [14:27] <goldenration> fardad: no
836 : [14:28] <CloudScorpion> ATTENTION: if you want a channel that isn't uptight and formal, join #seneca-jac444
837 : [14:28] <OzZy_M> lol
838 : [14:28] <OzZy_M> no questions
839 : [14:28] <CloudScorpion> fardad: sorry, had to stick that out there
840 : [14:28] <@fardad> ooooooooh
841 : [14:28] <@fardad> yeah, the social channel for seneca students:
842 : [14:28] <@fardad> #seneca-social
843 : �02[14:28] * mjschranz (~chatzilla@CPE001aa091ce4c-CM00223a6aaa31.cpe.net.cable.rogers.com) Quit (Read error: Connection reset by peer�)
844 : [14:29] <@fardad> you can get there and enjoy CloudScorpion and tdot cursing....
845 : [14:29] <OzZy_M> fardad: so what is #seneca for? school talk?
846 : [14:29] <@fardad> oooooooooooh
847 : [14:29] <@fardad> my bad
848 : �06[14:29] * @fardad is losing his mind
849 : [14:29] <@fardad> #seneca
850 : [14:29] <@fardad> is the main seneca open source channel
851 : [14:29] <tdot> lol, read the huge notice when you join the channel :)
852 : [14:29] <@fardad> feel free to get there
853 : [14:30] <@fardad> ask questions
854 : [14:30] <OzZy_M> tdot: I used to use mIRC a lot previously and got mentally conditioned to ignoring those big green blocks of text
855 : [14:30] <@fardad> but when in #seneca, please don't talk about how your girlfriend dumpped you...
856 : [14:30] <@fardad> thats for #seneca-social
857 : [14:31] <rhui4> do you have to pay for mirc
858 : �06[14:31] * @fardad lets everyone know that the class continues at 14:40
859 : [14:31] <cgm87> rhui4: no
860 : [14:31] <xzhang148> ok
861 : �03[14:31] * mjschranz (~chatzilla@CPE001aa091ce4c-CM00223a6aaa31.cpe.net.cable.rogers.com) has joined #seneca-oop344
862 : [14:31] <xzhang148> pls go on
863 : [14:31] <rhui4> cgm87: thanks
864 : [14:31] <danapao> just continue
865 : [14:31] <tdot> rhui4: it will bother you to register, but you can ignore it
866 : [14:32] <rhui4> sweet
867 : [14:32] <tdot> right now mine says its been unregistered for 300 and something days :D
868 : [14:32] <xlu44> d
869 : [14:32] <rhui4> lol
870 : [14:33] <CloudScorpion> be good little open sores kiddies and get chatzilla
871 : [14:33] <OzZy_M> pfft
872 : [14:33] <OzZy_M> forget chatzilla
873 : [14:33] <OzZy_M> IE ALL THE WAY MAN!!!
874 : [14:33] <rhui4> netscape that
875 : [14:34] <Ray_> i like how u troll ozzy lol
876 : �03[14:34] * ling_wu is now known as lwu11
877 : [14:34] <OzZy_M> meh
878 : [14:34] <OzZy_M> we're on break!
879 : [14:35] <tdot> lol
880 : [14:35] <tdot> chatzilla blows
881 : [14:35] <tdot> its a horrible unsecure client and its already been exploited
882 : [14:35] <cgm87> lol
883 : [14:35] <JQuan> lol
884 : [14:35] <CloudScorpion> your mother has been exploited
885 : [14:35] <tdot> mIRC is the only decent IRC client for windows
886 : [14:35] <Trul> True
887 : �06[14:36] * OzZy_M agrees
888 : [14:36] <cgm87> or if your a Linux/Unix fan, irssi
889 : [14:36] <adgezaza> recommended for mac users: http://colloquy.info/downloads.html
890 : [14:36] <Trul> nah, BitchX is the best
891 : [14:37] <OzZy_M> isn't x_CHat a good one for linux as well
892 : [14:37] <tdot> iv only tried irssi but its annoying as hell
893 : [14:37] <tdot> xchat is ugly as hell but most linux programs are ugly as hell
894 : [14:38] <adgezaza> i irssi and thought the same
895 : [14:38] <adgezaza> i used
896 : �02[14:38] * Aryal (~chatzilla@CPE00222d3a5fd2-CM00222d3a5fce.cpe.net.cable.rogers.com) Quit (Quit: ChatZilla 0.9.86 [Firefox 3.6.3/20100401080539]�)
897 : [14:38] <tdot> you need to memorize like 40 commands to make it do anything ;p
898 : [14:38] <OzZy_M> i only used xchat once, but it didn't really feel alien. And i'm an mIRC guy at heart
899 : [14:38] <cgm87> im right now using the built-in IRC client in Opera, thought I try something different
900 : [14:38] <tdot> iv been using mirc for like 10 years so im a little biased
901 : [14:39] <OzZy_M> same
902 : [14:39] <adgezaza> colloquy is pretty much command free
903 : [14:39] <adgezaza> you can do most things by clicking and right clicking...pretty ez
904 : [14:39] <tdot> mircscript is one of the first programming languages i learned :D
905 : [14:39] <OzZy_M> I got Turing in highschool :(
906 : [14:39] <OzZy_M> sooooo boring
907 : [14:39] <crgosselin> J++ in grade 10 lmao
908 : [14:39] <tdot> i actually never took it
909 : [14:40] <caangus> I had turing, made a side scroller for my final
910 : [14:40] <Ray_> turing's an educaitonal lang
911 : [14:40] <cgm87> most high schools have turing
912 : [14:40] <Ray_> i studied it too in highschool
913 : [14:40] <tdot> i guess iv known mircscript and php and vb6 for like 10 years
914 : [14:40] <tdot> around highschool i learned java and C# and C++
915 : [14:40] <OzZy_M> how long has C# been out?
916 : [14:40] <crgosselin> lucky.. I didnt learn c# till I was 17, 1st semester at waterloo
917 : [14:41] <tdot> C#? since about 2002 i think
918 : [14:41] <cgm87> it depends, my high school did have C++ and java, but the only teacher who taugh it we didn't see eye to eye
919 : �02[14:41] * Trul (~vovko@vladimir.ee) Quit
920 : [14:41] <OzZy_M> My school was pretty old
921 : [14:41] <OzZy_M> they god "new" P4 when I left
922 : �06[14:41] * rhui4 likes air conditioning
923 : [14:41] <OzZy_M> mind you it was in the middle of no where
924 : [14:41] <OzZy_M> oh ya
925 : [14:41] <OzZy_M> no AC in my school lol
926 : [14:42] <@fardad> ok
927 : [14:42] <@fardad> lets continue
928 : [14:42] <JQuan> ok
929 : [14:42] <_YJ_> ok
930 : [14:42] <xzhang148> ok
931 : �06[14:42] * goldenration it is cool at home
932 : [14:42] <xlu44> ok
933 : [14:42] <OzZy_M> yub yub commander
934 : [14:42] <cgm87> fardad: ok
935 : [14:42] <Junseok> ok
936 : [14:42] <rhui4> ok
937 : [14:43] <@fardad> I need to know everyone is here, if you are here say aye!
938 : [14:43] <caangus> aye
939 : [14:43] <acchung1> aye!
940 : [14:43] <OzZy_M> aye!
941 : [14:43] <JQuan> aye!
942 : [14:43] <crgosselin> aye!
943 : [14:43] <goldenration> aye!
944 : [14:43] <_YJ_> aye!
945 : [14:43] <mjschranz> aye
946 : [14:43] <kumail> aye
947 : [14:43] <imadorki3> aye
948 : [14:43] <danapao> aye
949 : [14:43] <rhui4> aye
950 : [14:43] <dperit> aye
951 : [14:43] <slaw12> aye
952 : [14:43] <CloudScorpion> Nay
953 : [14:43] <TonyKim> ok
954 : [14:43] <Junseok> aye!
955 : [14:43] <xlu44> aye
956 : [14:43] <ysliu2> aye
957 : [14:43] <Han3> aye
958 : [14:43] <TonyKim> aye!
959 : [14:43] <jaburton1> aye?
960 : [14:43] <Vovko> Ayee!
961 : [14:44] <priya_gill> aye!
962 : [14:44] <adgezaza> hai
963 : [14:44] <xlu44> can i copy paste in mirc?
964 : [14:44] <Vovko> no
965 : [14:44] <xlu44> ok
966 : [14:44] <rhui4> pastebin
967 : [14:44] <adgezaza> patebin
968 : [14:44] <Ray_> aye
969 : [14:44] <sinker> here
970 : [14:44] <xlu44> i wanna copy not paste
971 : [14:44] <rhui4> copybin?
972 : [14:44] <Vovko> xlux44: im kidding, u can paste anything u want
973 : [14:44] <OzZy_M> xlu44: just highlight the text, it auto copies
974 : [14:44] <Bhavnesh> aye!!!!!!!!!!
975 : �06[14:45] * @fardad is creating a project on svn for today
976 : [14:45] <OzZy_M> Ihave a wiki up that shows you how to log a conversation if that is what you want
977 : [14:45] <lwu11> aye
978 : [14:45] <xlu44> i wanna copy from mirc channel screen
979 : [14:45] <cgm87> brb
980 : [14:45] <CloudScorpion> hey, who wants a completed version of Assignment 1 for this class?
981 : [14:45] <xzhang148> aye
982 : �02[14:45] * cgm87 (~cgervasi-@74-115-197-34.eng.wind.ca) Quit (Quit: cgm87�)
983 : �06[14:45] * caangus raises hand
984 : [14:45] <caangus> lol
985 : [14:46] <xlu44> me
986 : [14:46] <CloudScorpion> I'll pastebin it for ya, quite open sores of me if I do say so myself
987 : [14:46] <JQuan> xlu44: just right click and hit copy
988 : [14:46] <OzZy_M> xlu44: just use your mouse and drag across the text you want to copy, then paste it wherever you want it. mIRC auto copies when you highlight text
989 : �06[14:46] * @fardad takes note
990 : [14:46] <OzZy_M> isn't all that up on the repo already?
991 : [14:46] <OzZy_M> besides isn't fardad changing the assignment a bit?
992 : [14:46] <CloudScorpion> a bit
993 : [14:46] <CloudScorpion> not much, that would require effort
994 : [14:46] <CloudScorpion> and fardad is anti effort :D
995 : [14:47] <goldenration> isn't programmers all anti effort?
996 : [14:47] <tdot> CloudScorpion: stfu
997 : [14:47] <OzZy_M> I see you said "anti effort" and not "pro efficientcy"
998 : �06[14:47] * crgosselin thinks CloudScorpion is anti fardad
999 : �06[14:47] * @fardad takes note
1000 : [14:47] <xlu44> it's the point "mIRC auto copies" thank you
1001 : �06[14:47] * CloudScorpion loves fardad
1002 : �06[14:47] * @fardad takes note
1003 : [14:47] <crgosselin> lol
1004 : [14:47] <OzZy_M> xlu44: yw
1005 : �02[14:49] * rhui4 (~rhui4@142.204.247.88) Quit (Read error: Connection reset by peer�)
1006 : �03[14:49] * rhui4 (~rhui4@142.204.247.88) has joined #seneca-oop344
1007 : �06[14:49] * @fardad : class is in session
1008 : [14:50] <@fardad> question:
1009 : [14:50] <@fardad> if int a = 1; and int b = 2;
1010 : [14:50] <@fardad> and if(b<2 && (a=a+1)) printf("X\n");
1011 : [14:51] <@fardad> and printf("%d\n", a);
1012 : [14:51] <@fardad> what is the output of second printf?
1013 : [14:51] <dperit> 1
1014 : [14:51] <crgosselin> 1
1015 : [14:51] <OzZy_M> 1
1016 : [14:51] <goldenration> 1
1017 : [14:51] <imadorki3> 1
1018 : [14:51] <jaburton1> 1
1019 : [14:51] <priya_gill> 1
1020 : [14:51] <rhui4> 1
1021 : [14:51] <danapao> 1
1022 : [14:51] <@fardad> question:
1023 : [14:51] <Vovko> 2?
1024 : [14:51] <JQuan> 1
1025 : [14:51] <_YJ_> 1
1026 : [14:51] <iIra> 1
1027 : [14:51] <@fardad> why 1?
1028 : [14:51] <CloudScorpion> syntax error
1029 : [14:51] <Bhavnesh> 1
1030 : [14:51] <adgezaza> 1
1031 : [14:51] <xlu44> 1
1032 : [14:51] <crgosselin> because b is not less than 2
1033 : [14:52] <dperit> Because evaluating the truth condition takes precedence over the brackets
1034 : [14:52] <xlu44> a=a+1 always be true
1035 : [14:52] <Vovko> so? a=a+1 is in a conditin of 1st if statenent
1036 : [14:52] <oleg_pliats> 1
1037 : [14:52] <@fardad> xlu44: but if that is the case, doesn't that make a 2?
1038 : [14:52] <xlu44> no
1039 : [14:52] <@fardad> xlu44: why?
1040 : [14:52] <adgezaza> still b<2 is still false
1041 : [14:52] <priya_gill> becaz bis not <2so it will not go to check second cond
1042 : [14:52] <xlu44> because b<2 is false
1043 : [14:52] <dperit> The program sees that b is not less than 2, and never even touches the second part of the statement
1044 : �06[14:53] * @fardad says thanks
1045 : [14:53] <tdot> because C++ uses short circuit evaluation, unlike VB :/
1046 : [14:53] <@fardad> as priya_gill said, since the first condition is false
1047 : [14:53] <OzZy_M> tdot: i was going to say that
1048 : [14:53] <rhui4> tdot: what does that mean
1049 : [14:53] <@fardad> the whole condtion's result is known
1050 : [14:53] <@fardad> and because of that C does not waste time check the rest
1051 : [14:53] <tdot> what fardad said
1052 : [14:54] <rhui4> thanks
1053 : [14:54] <@fardad> and because of that a = a+1 never happens
1054 : [14:54] <@fardad> this is called lazy evaluation
1055 : [14:54] <Vovko> fardad: k
1056 : [14:55] <@fardad> remember the qustion I asked in class?
1057 : [14:55] <xlu44> most of them
1058 : [14:55] <OzZy_M> which one? :P
1059 : �06[14:55] * @fardad is pastebining
1060 : [14:55] <priya_gill> ya the array one for printing <3
1061 : [14:56] <crgosselin> for greater than 3
1062 : [14:56] <OzZy_M> OHH the McDonalds combo #2?
1063 : [14:57] <@fardad> put one line in the for loop
1064 : [14:57] <@fardad> yada yada yada;
1065 : [14:57] <Han3> a[i]>3 && printf("%d\n", a[i]);
1066 : [14:57] <@fardad> with no ?: operator
1067 : [14:57] <@fardad> http://pastebin.com/Uzc1D9W8
1068 : [14:57] <priya_gill> ya
1069 : [14:57] <@fardad> Han3: :)
1070 : �03[14:57] * cgm87 (~cgervasi-@net1.senecac.on.ca) has joined #seneca-oop344
1071 : [14:58] <@fardad> didn't let me finish :)
1072 : [14:58] <OzZy_M> oh ya
1073 : [14:58] <xlu44> i sneaked ur last semaster answer;D
1074 : [14:58] <@fardad> perfect
1075 : [14:58] <crgosselin> fardad: you can use && without an if?
1076 : [14:59] <@fardad> crgosselin: it goes back to what I said before
1077 : [14:59] <@fardad> in C
1078 : [14:59] <@fardad> operator are operators
1079 : [14:59] <@fardad> if you can use + without an if
1080 : [14:59] <@fardad> you can use && without an if
1081 : [14:59] <crgosselin> oh ok
1082 : [14:59] <@fardad> + && > / - are all the same
1083 : [14:59] <crgosselin> thanks
1084 : [14:59] <@fardad> they are all operaotrs working on their operands and returning a value
1085 : [15:00] <adgezaza> fardad: a[i]>3 && printf("%d\n", a[i]); is the answer?
1086 : [15:00] <@fardad> is everyone ok with that or Han3 ruined it for all :)
1087 : [15:00] <iIra> yes
1088 : [15:00] <@fardad> adgezaza, yeah
1089 : [15:00] <Han3> sorry
1090 : [15:00] <rhui4> ok
1091 : [15:00] <xlu44> y
1092 : [15:00] <adgezaza> fardad: thanks
1093 : [15:00] <jaburton1> Nice to know.
1094 : [15:00] <_YJ_> thanks Han
1095 : [15:00] <xzhang148> ok
1096 : [15:00] <Han3> YW
1097 : [15:00] <OzZy_M> score one for the HOTYS
1098 : [15:01] <@fardad> adgezaza: yes because C tests a[i] > 3 :)
1099 : [15:01] <Han3> lol
1100 : [15:01] <@fardad> if it is true then it needs to evaluate printf, and that is when it is printing
1101 : [15:01] <@fardad> but when a[i] > 3 is false, then it will not evaluate printf
1102 : [15:01] <@fardad> and it will not print
1103 : [15:01] <crgosselin> fardad: will you get fired for doing this in the workplace?
1104 : [15:02] <@fardad> so Han3 gave us the wrong answer
1105 : [15:02] <xlu44> do you like we code in that way or use "if"
1106 : [15:02] <@fardad> :)
1107 : [15:02] <adgezaza> i like that
1108 : �06[15:02] * @fardad reminds everyone about corsstalking in a lacutre
1109 : [15:02] <jaburton1> So the default is if it's true it continues, else it stops.
1110 : [15:02] <tdot> xlu44: you almost would always want to use an if for clarity
1111 : [15:03] <OzZy_M> xlu44: you program for quality and let compiler do most optimizations
1112 : [15:03] <@fardad> with && the nutral operand is true
1113 : [15:03] <@fardad> which means if the first one is true the second one is tested
1114 : [15:03] <@fardad> with || false is nutral
1115 : [15:03] <adgezaza> fardad: is it faster for the compiler to make the condition without the if statement?
1116 : [15:03] <@fardad> adgezaza: it is much much faster
1117 : [15:04] <@fardad> so it depends on what you are programming
1118 : [15:04] <@fardad> ad tdot said, if is usualy prefered for clarity but
1119 : [15:04] <adgezaza> just use comments to clarify if its faster?
1120 : [15:05] <@fardad> if you are writing a driver for a graphic card, then you need speed and then cond && action is prefered
1121 : [15:05] <@fardad> well, "comments" is always recommanded and even enforced but
1122 : [15:05] <@fardad> in my experience , it is not there, when you need it most
1123 : [15:05] <@fardad> so
1124 : [15:06] <@fardad> ok everyone is ok with lazy evaluation?
1125 : [15:06] <adgezaza> fardad: understood
1126 : [15:06] <jaburton1> yep
1127 : [15:06] <rhui4> yes
1128 : [15:06] <crgosselin> yes
1129 : [15:06] <xlu44> k
1130 : [15:06] <priya_gill> yes
1131 : [15:06] <JQuan> yes
1132 : [15:06] <Junseok> yes
1133 : [15:06] <goldenration> fardad: yes
1134 : [15:06] <Han3> yes
1135 : [15:06] <caangus> yeah
1136 : [15:06] <OzZy_M> yub yub commander
1137 : [15:06] <oleg_pliats> yes
1138 : [15:06] <xzhang148> ok
1139 : [15:06] <cgm87> fardad: ya
1140 : �06[15:06] * sinker too lazy to respond
1141 : [15:06] <imadorki3> yes
1142 : [15:07] <_YJ_> yes
1143 : [15:07] <@fardad> OzZy_M: not to correct you but it is "Aye Aye Commander" :)
1144 : [15:07] <@fardad> alright
1145 : [15:07] <iIra> yes
1146 : [15:07] <Bhavnesh> yes
1147 : [15:07] <rhui4> aye aye commander
1148 : [15:07] <OzZy_M> fardad: yub yub is the sound ewoks make :P inside star wars joke :P
1149 : [15:07] <@fardad> acutally that is what I needed to cover for this week....
1150 : [15:08] <Vovko> star wars?
1151 : [15:08] <rhui4> star balls is a good movie
1152 : [15:08] <acchung1> nice
1153 : �06[15:08] * @fardad reminds again
1154 : [15:08] <@fardad> this is OOP344 to comicon...
1155 : [15:08] <@fardad> s/to/not
1156 : [15:08] <@fardad> ok
1157 : [15:09] <@fardad> are everyone ok with what we talked about?
1158 : [15:09] <sinker> yes
1159 : [15:09] <crgosselin> yes
1160 : [15:09] <_YJ_> yes.
1161 : [15:09] <rhui4> aye aye commander
1162 : [15:09] <acchung1> ye
1163 : [15:09] <OzZy_M> fardad: are we not to use lazy notation for anything in this class?
1164 : [15:09] <xzhang148> ok
1165 : [15:09] <JQuan> yes
1166 : [15:09] <imadorki3> oui
1167 : [15:09] <goldenration> fardad: yes
1168 : [15:09] <Bhavnesh> ya
1169 : [15:09] <caangus> yeah
1170 : [15:09] <Han3> ok
1171 : [15:09] <Junseok> ok
1172 : [15:09] <cgm87> yep
1173 : [15:09] <slaw12> yes
1174 : �06[15:09] * @fardad makes something important clear
1175 : [15:09] <@fardad> in my class use whatever you want as complicated as you want BUT
1176 : [15:10] <@fardad> make sure that is not shooting yourself in the foot
1177 : [15:10] <@fardad> if you do something complex and in the process do something wrong, you will still get marks deducted
1178 : �02[15:10] * kumail (~kumail@CPE0019e3440a04-CM001ceab3eb5c.cpe.net.cable.rogers.com) Quit (Remote host closed the connection�)
1179 : [15:11] <OzZy_M> and if it is something hard and right? bonus?
1180 : [15:11] <tdot> basically use what makes sense for that part of the code :)
1181 : [15:11] <OzZy_M> i see
1182 : [15:11] <@fardad> ok everyone,
1183 : [15:11] <cgm87> yep
1184 : [15:11] <@fardad> if there is not question
1185 : �06[15:11] * @fardad is waiting to see if there is
1186 : [15:12] <@fardad> s/not/no
1187 : [15:12] <cgm87> fardad: what would something complex be?
1188 : [15:12] <rhui4> what does that mean
1189 : [15:12] <oleg_pliats> no
1190 : [15:12] <@fardad> if there is no question, then this is it
1191 : [15:12] <crgosselin> fardad: go drink some steamy hot green tea with honey and maybe you'll get your voice back
1192 : [15:12] <oleg_pliats> NO!
1193 : [15:12] <rhui4> ok thx
1194 : [15:12] <@fardad> thanks for coming and will go through your meeting schedule to see if I can attend
1195 : [15:12] <xlu44> ok
1196 : [15:12] <OzZy_M> when will A1 be up?
1197 : [15:12] <_YJ_> is it still June 6th ?
1198 : [15:12] <rhui4> prob when we get svn
1199 : �06[15:13] * cgm87 agrees
1200 : [15:13] <CloudScorpion> OzZy_M: the solution can might be up before the question is up.... :D
1201 : [15:13] <xzhang148> we need step by step intro for svn
1202 : [15:13] <@fardad> _YJ_: is alreay up for few days
1203 : [15:13] <OzZy_M> CloudScorpion: lol interesting....
1204 : [15:14] <CloudScorpion> xzhang148: I wrote a tutorial for tortoiseSVN a few semesters back
1205 : [15:14] <sinker> fardad: will you have time for team irc meetings tonight?
1206 : �06[15:14] * rhui4 wondering if class is over
1207 : [15:14] <crgosselin> rhui4: class IS over
1208 : [15:14] <dperit> Has ankhSVN been suggested as an integrated client for Visual Studio?
1209 : [15:14] <mjschranz> rhui4: It is, fardad is only taking questions people have.
1210 : �06[15:14] * crgosselin waves goodbye
1211 : [15:14] <adgezaza> kthxbye everyone
1212 : �06[15:14] * rhui4 waves goodbye
1213 : [15:14] <xzhang148> CloudSco:where is it?
1214 : �03[15:14] * rhui4 (~rhui4@142.204.247.88) has left #seneca-oop344
1215 : �02[15:15] * adgezaza (~adrianmau@net1.senecac.on.ca) Quit (Quit: adgezaza�)
1216 : �03[15:15] * crgosselin (~crgosseli@CPE00222d3a5a0e-CM00222d3a5a0a.cpe.net.cable.rogers.com) has left #seneca-oop344
1217 : �03[15:15] * iIra (~chatzilla@142.204.142.227) has left #seneca-oop344
1218 : [15:15] <cgm87> dperit: no, but i was going to metion it on my blog
1219 : [15:15] <xzhang148> I mean the svn stuff
1220 : �02[15:15] * lwang168 (~chatzilla@net1.senecac.on.ca) Quit (Quit: ChatZilla 0.9.86 [Firefox 3.5.8/20100202165920]�)
1221 : [15:15] <@fardad> [Amnoaman10]
1222 : �02[15:15] * oleg_pliats (~chatzilla@net1.senecac.on.ca) Quit (Quit: ChatZilla 0.9.86 [Firefox 3.6/20100115144158]�)
1223 : �02[15:15] * Junseok (~jpark68@142.204.247.87) Quit
1224 : [15:15] <@fardad> bye bye