Perl 6 - the future is here, just unevenly distributed

IRC log for #rosettacode, 2011-12-20

| Channels | #rosettacode index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:07 mwn3d_phone joined #rosettacode
05:23 Mahaju[RCo] joined #rosettacode
05:23 Mahaju[RCo] Hello
05:23 Mahaju[RCo] any one here?
05:24 Mahaju[RCo] I am new here and want to contribute some code
05:24 Mahaju[RCo] how do i do it?
05:24 Mahaju[RCo] it is about Montgomery Reduction
05:24 Mahaju[RCo] algorithm
05:24 Mahaju[RCo] which is useful for faster multiplication of large numbers
05:24 Mahaju[RCo] used in Public Key Cryptography
05:29 sorear Hello.
05:29 sorear Rosetta Code is a wiki, so, uh, just edit a page?
05:41 Mahaju[RCo] I am completely nerw to this
05:41 Mahaju[RCo] how do I do it?
05:42 Mahaju[RCo] I don't see any option like create a new page or something
05:43 mwn3d_phone Mahaju[RCo]: [[Rosetta Code:Add a task]]
05:43 fedaykin http://rosettacode.org/wiki/Rosetta_Code:Add_a_task (Doesn't exist.)
05:43 mwn3d_phone Aww
05:43 mwn3d_phone I thought we made that page
05:44 mwn3d_phone Hang on I'll check the title
05:44 Mahaju[RCo] http://rosettacode.org/wiki/Help:Adding_a_new_programming_task
05:44 fedaykin "Rosetta Code:Add a Task - Rosetta Code" http://rldn.net/ZZA2
05:44 Mahaju[RCo] It's this one
05:44 Mahaju[RCo] I can see this line heer
05:45 Mahaju[RCo] For a non-draft task, one would use Template:Task by putting {{task}} at the top of the page.
05:45 Mahaju[RCo] and Template:Task is a link
05:45 Mahaju[RCo] is that the one I need?
05:45 Mahaju[RCo] I get a text field with some code that looks like html tags
05:46 Mahaju[RCo] do I just append my source code to this text box?
05:46 mwn3d_phone You should start the task as a {{draft task}}
05:46 Mahaju[RCo] or should i make it a draf first?
05:46 Mahaju[RCo] because this is my first one
05:46 mwn3d_phone Then after that you add a description of what people should accomplish in the task
05:46 Mahaju[RCo] perhaps it should be left for discussion first
05:47 Mahaju[RCo] ok I will try
05:48 Mahaju[RCo] no wait
05:48 Mahaju[RCo] after I click on {{draft task}} am I supposed to go to edit?
05:49 Mahaju[RCo] because this is where I found the text field I was talking about
05:49 mwn3d_phone Don't click on draft task
05:50 mwn3d_phone You have to edit the page that you want to add
05:50 Mahaju[RCo] how do I do that?
05:50 mwn3d_phone Wow we need to fix those isntructions
05:50 Mahaju[RCo] I don't think I want to make it a page as of yet
05:50 mwn3d_phone Come up with a title for your task
05:51 Mahaju[RCo] I think I should put it up for discussion first as a draft
05:51 mwn3d_phone Then type it in the search box and click "go"
05:51 Mahaju[RCo] Title is Montgomery Reduction Code in C++
05:51 mwn3d_phone Just go with "montgomery reduction"
05:51 mwn3d_phone You want other languages on the same page
05:52 Mahaju[RCo] ok I see a link to create a new page
05:52 mwn3d_phone Yep
05:52 Mahaju[RCo] is that one it?
05:52 Mahaju[RCo] so does it make it a draft or a final page?
05:52 mwn3d_phone Its a real page. Draft tasks and real tasks are the same kind of page...they just look a little different.
05:53 mwn3d_phone You make it a draft by putting {{draft task}} on the top
05:53 Mahaju[RCo] ok I see
05:53 Mahaju[RCo] so I just put {{draft task}} at the top of the page
05:53 Mahaju[RCo] followed by my source code
05:53 mwn3d_phone you need a description before the source
05:54 Mahaju[RCo] so this shows other people that it is a draft task?
05:54 mwn3d_phone People have to know what to do
05:54 Mahaju[RCo] yes i will put up a description
05:54 Mahaju[RCo] as well as the algorithm I am implementing
05:54 mwn3d_phone Then here are instructions on how to format the source code: [[Rosetta Code:Solve a Task]]
05:54 fedaykin http://rosettacode.org/wiki/Rosetta_Code:Solve_a_Task
05:55 Mahaju[RCo] if some other people make suggestions or changes for this page do I get notified or do I have to keep visiting the page continuously to find out?
05:55 mwn3d_phone You can check the "watch this page" checkbox
05:55 mwn3d_phone But its a good idea to keep watching [[Special:RecentChanges]] to see if anyone does stuff to it
05:55 fedaykin http://rosettacode.org/wiki/Special:RecentChanges
05:56 mwn3d_phone And that way you can see other edits that people do on the site
05:56 mwn3d_phone To see how things work
05:57 mwn3d_phone Also when you're making edits you can use the preview button to see how your page will look without saving it
05:57 mwn3d_phone In case you want to try some stuff out
05:57 Mahaju[RCo] ok I am trying to creat a new page
05:59 mwn3d_phone And don't feel bad if things don't work correctly right away. We can probably fix it really easily.
06:04 Mahaju[RCo] how do I put a subscript?
06:06 mwn3d_phone <sub>text</sub>
06:14 Mahaju[RCo] Ok I finished typing (copy/pasting) everything
06:14 Mahaju[RCo] now what abou tthe things on this page?
06:14 Mahaju[RCo] http://rosettacode.org/wiki/Rosetta_Code:Solve_a_Task
06:14 fedaykin "Rosetta Code:Solve a Task - Rosetta Code" http://rldn.net/1708L
06:14 mwn3d_phone That's how you format your source code
06:15 Mahaju[RCo] I mean, do i have to put the source code like this
06:15 mwn3d_phone Adding a language header and syntax highlighting and all
06:15 Mahaju[RCo] <lang C++> src code copy/paste from cpp file</lang>
06:15 Mahaju[RCo] is it done like this?
06:15 mwn3d_phone Actually C++ is a special case...you use cpp instead of C++
06:15 mwn3d_phone But yes
06:15 mwn3d_phone That's pretty much it
06:16 mwn3d_phone You also need the header
06:16 mwn3d_phone =={{header|C++}}==
06:17 Mahaju[RCo] no i mean the solve_a_task page says to add it to the bottom
06:18 Mahaju[RCo] that's what I don't understand
06:18 mwn3d_phone Right...under the description
06:18 Mahaju[RCo] so I add  =={{header|C++}}== to the top of code
06:18 mwn3d_phone Yes
06:18 Mahaju[RCo] then enclose the code between <lang Cpp> ... </lang>
06:18 Mahaju[RCo] is this right?
06:18 mwn3d_phone Oh
06:18 mwn3d_phone Do the header and then the lang tag
06:19 Mahaju[RCo] and code between the lang ?
06:19 mwn3d_phone Right
06:19 mwn3d_phone The lang tag adds syntax highlighting
06:20 Mahaju[RCo] ok I see
06:20 Mahaju[RCo] now what do I do?
06:20 mwn3d_phone The header marks the task as implemented in whatever language you're using and adds a heading to the page
06:20 Mahaju[RCo] preview?
06:20 mwn3d_phone Yeah just make sure it looks right
06:20 mwn3d_phone If it does you can click save
06:21 mwn3d_phone If anything is wrong someone will probably be able to fix it
06:21 Mahaju[RCo] ok I see a problem with the formatting in the description of the algorithm
06:21 Mahaju[RCo] but I can't describe it here
06:21 Mahaju[RCo] i will save the page
06:21 mwn3d_phone Ok
06:21 Mahaju[RCo] please check it out
06:22 Mahaju[RCo] wait
06:22 Mahaju[RCo] first I click watch this page right?
06:24 mwn3d_phone Well I just moved it to the correct title
06:24 mwn3d_phone Its at [[Montgomery Reduction]] now
06:24 fedaykin http://rosettacode.org/wiki/Montgomery_Reduction
06:24 mwn3d_phone Actually someone might move it again
06:24 Mahaju[RCo] move it where?
06:25 Mahaju[RCo] yes tat's it
06:25 Mahaju[RCo] that's the link
06:25 Mahaju[RCo] how do I improve the formatting of the description of the algorithm
06:25 Mahaju[RCo] ?
06:26 mwn3d_phone I can help out here
06:27 Mahaju[RCo] please tell me how to do it
06:27 Mahaju[RCo] so that I can correct it in future posts
06:32 mwn3d_phone Is it better now?
06:33 mwn3d_phone You can check the diff...http://rosettacode.org/mw/index.php?title=Montgomery_Reduction&amp;curid=11084&amp;diff=128747&amp;oldid=128744
06:34 Mahaju[RCo] the one on the left is what I was trying to do
06:34 Mahaju[RCo] how did you do that?
06:35 Mahaju[RCo] and will the yellow highlighting appear in the final version?
06:36 mwn3d_phone No that's just a diff. It shows what changed between edits.
06:36 Mahaju[RCo] oh ok
06:36 Mahaju[RCo] I see now
06:36 mwn3d_phone there is no "final version" of anything in the wiki
06:36 Mahaju[RCo] how to do that?
06:36 mwn3d_phone I got the link to the diff from the recent changes page that I linked to before
06:37 Mahaju[RCo] and it would look better if each line of the algorithm had it's bullet
06:37 Mahaju[RCo] or is it not possible?
06:37 Mahaju[RCo] ok I see
06:37 mwn3d_phone That's possible but I don't think it would look very good since the algorithm is decribed in pseudocode
06:38 Mahaju[RCo] so if anyone else visits this page now they will see the changed version right?
06:38 mwn3d_phone If it were in sentences then the bullets would make more sense
06:38 Mahaju[RCo] no I mean sometimes we may have to tell the user to go back to some particular line
06:38 mwn3d_phone Anyone who visits see the "current version"
06:38 mwn3d_phone Whatever the last edit was
06:38 Mahaju[RCo] ok
06:39 mwn3d_phone Just like wikipedia
06:39 Mahaju[RCo] so if someone else changes my page, I can go into recent changes to see what was changed right?
06:39 mwn3d_phone Yep
06:39 Mahaju[RCo] and undo it if the change is not appropriate?
06:39 mwn3d_phone Right
06:39 Mahaju[RCo] I see
06:39 Mahaju[RCo] please teach me how you reformatted my algorithm
06:39 Mahaju[RCo] did you just remove the line numbering?
06:40 Mahaju[RCo] or did you do something else as well?
06:40 mwn3d_phone I also added spaces to the beginning of each line
06:40 mwn3d_phone That put the text in the dotted line box
06:40 Mahaju[RCo] how to put it in dotted line box?
06:41 Mahaju[RCo] [code] [/code] ?
06:41 mwn3d_phone No
06:41 Mahaju[RCo] how to do it then?
06:41 mwn3d_phone I didn't do that. You can see that in the diff.
06:41 mwn3d_phone I added a space to the start of each line
06:42 Mahaju[RCo] just adding space does that automatically?
06:42 mwn3d_phone yep
06:42 Mahaju[RCo] ok one more question
06:43 Mahaju[RCo] when you edited my page shouldn't I get an email notification?
06:43 mwn3d_phone You might have been watching the old page
06:43 mwn3d_phone I changed the title
06:43 mwn3d_phone Which creates a new page
06:44 mwn3d_phone Also here are some wiki editing tips: http://rosettacode.org/wiki/Help:Formatting
06:44 fedaykin "Help:Formatting - Rosetta Code"
06:44 Mahaju[RCo] I am watching this new page as well
06:44 Mahaju[RCo] where do i get  notified?
06:45 Mahaju[RCo] if it doesn't notify me in email?
06:45 mwn3d_phone Maybe it was because I marked it as a minor edit
06:45 mwn3d_phone I think it sends an email
06:46 mwn3d_phone I don't watch very many pages so I'm not sure about the particulars there
06:46 Mahaju[RCo] anyway, all the pages I created will be grouped in some way right?
06:46 Mahaju[RCo] So that i can find them all at one place?
06:47 mwn3d_phone You should have a "my contributions" link at the top of the page when you log in
06:47 mwn3d_phone That will be every edit you ever make
06:48 eMBee notification email is not sent for every change, but only once after a while, i guess to avoid sending out to many emails.
06:49 Mahaju[RCo] ok I think I understand this a little
06:49 Mahaju[RCo] so after I creat a page, it's no longer "my" page as in a forum post
06:49 Mahaju[RCo] but a part of this website
06:49 eMBee right
06:49 Mahaju[RCo] so anybody can make any changes to it
06:49 Mahaju[RCo] is that right?
06:49 * eMBee nods
06:49 mwn3d_phone Yep
06:49 mwn3d_phone Even people who don't sign up for the site
06:50 Mahaju[RCo] what if someone deletes this post altogether?
06:50 Mahaju[RCo] how will I know?
06:50 eMBee deleting is only done by admins
06:50 mwn3d_phone If you watch it you'll get an email I think
06:50 Mahaju[RCo] ok I see
06:50 eMBee so unlikely to happen unless the content does not fit on the site
06:51 Mahaju[RCo] ok if it's moderated I don't have any problem
06:51 mwn3d_phone Someone else could still come and remove all the content from the page
06:51 Mahaju[RCo] no I mean
06:51 mwn3d_phone But we will see that and undo it if it wasn't supposed to happen
06:51 mwn3d_phone We can even undo deletes
06:51 eMBee yes, but that would show up as a normal change
06:51 Mahaju[RCo] if some makes a drastic but unsuitable change to the page, what can be done to avoid or undo it?
06:51 mwn3d_phone Anyone can undo an edit
06:52 eMBee undo from the history
06:52 Mahaju[RCo] ok i see
06:52 Mahaju[RCo] if some mischievious user does some damage, we have to wait for some other un-mischiveous one's to undo it?
06:52 mwn3d_phone Yep
06:53 mwn3d_phone There are some protections in place to try to make sure editors are human
06:53 Mahaju[RCo] sounds like a lot of work for the admins
06:53 Mahaju[RCo] yeah I have seen that
06:53 Mahaju[RCo] captchas at every edit
06:53 Mahaju[RCo] sometimes a bit annoying
06:53 eMBee anybody can fix a page, so admins only need to handle delete of spammers
06:53 mwn3d_phone That will go away for you after a little while as long as you're logged in
06:54 Mahaju[RCo] ok Thanks a lot
06:54 mwn3d_phone Ok I need to go to bed....almost 2AM here
06:54 Mahaju[RCo] depending on the feedback I get on page I will be putting up more codes here
06:55 eMBee great!
06:55 mwn3d_phone Happy editing. We are always here to help...even if it takes a while to answer.
06:55 Mahaju[RCo] depending on the feedback I get on my page I will be putting up more codes here
06:55 eMBee Mahaju[RCo]: where are you from?
06:55 Mahaju[RCo] if this is an active wiki I definitely post codes of other advanced algorithms as well
06:56 eMBee or how did you find out about rosettacode?
06:56 Mahaju[RCo] I need active constructive criticisms and feedback for my codes
06:56 eMBee it is quite active
06:56 Mahaju[RCo] I found out from Google
06:56 Mahaju[RCo] are you an admin?
06:56 eMBee and yes, you will get constructive criticisms and feedback.
06:56 eMBee no, i am just a user
06:56 eMBee like you
06:56 Mahaju[RCo] ok
06:56 eMBee i also put my tasks up to get feedback
06:57 Mahaju[RCo] I was searching for some C or C++ codes and I found the website
06:57 eMBee ah, nice
06:57 Mahaju[RCo] but i don't know how active the website is
06:58 eMBee look at the recent changes: [[Special:RecentChanges]]
06:58 fedaykin http://rosettacode.org/wiki/Special:RecentChanges
06:58 Mahaju[RCo] I have been looking for some active forums where I can discuss my codes but I haven't much help
06:58 eMBee and just see how many changes have been made just today or yesterday
07:00 Mahaju[RCo] ok I see
07:00 Mahaju[RCo] thank you very much for your help
07:00 Mahaju[RCo] I will definitely be coming back here
07:01 Mahaju[RCo] If I have to edit Wikipedia in the future, I suppose the process is same right?
07:01 eMBee yes, the tools are the same, so the process is similar
07:02 Mahaju[RCo] and what does the + abnd @ before the user name mean on this chat?
07:02 sorear "voice" and "op" modes
07:02 eMBee @ is channel operator
07:02 sorear I have the ability to use the /kick command to remove people from the channel, for instance
07:03 Mahaju[RCo] so @ means something like moderator
07:03 sorear yes
07:03 eMBee yes
07:03 Mahaju[RCo] ok Thank you
07:04 sorear mikemol (the founder) set things up so that everybody who logs in automatically gets "voice"; I'm not sure why
07:04 sorear but it has very little relevance on this network
07:04 Mahaju[RCo] I don't know much about voice or op
07:04 Mahaju[RCo] from what i understand voice seems to be a normal user
07:04 Mahaju[RCo] while op is admin
07:05 eMBee so he can take away voice maybe from spammers maybe, but otherwise i agree
07:05 Mahaju[RCo] no I mean
07:05 eMBee voice is needed in channels where only a few people are allowed to speak and everyone else listens
07:05 Mahaju[RCo] so anyone who just logs in as a normal user should be voive shouldn't he?
07:05 Mahaju[RCo] oh I see
07:05 Mahaju[RCo] so in this case, anyone is allowed to speak by default
07:05 eMBee in this channel, yes
07:06 Mahaju[RCo] but I guess thath's ok isn't it?
07:06 * eMBee nods
07:06 Mahaju[RCo] I mean, how will new user ask questions otherwise?
07:06 sorear voice is actually NOT enforced by default
07:07 eMBee the other cas is only useful when you have some special guests who want to give a talk or a panel discussion
07:07 eMBee see, i can still talk :-)
07:07 sorear If I wanted to shut eMBee up I would have to also do /mode +m
07:07 sorear which tells the server to start enforcing voices
07:08 Mahaju[RCo] oh ok
07:08 Mahaju[RCo] I see
07:08 Mahaju[RCo] it's some sort of user group
07:08 Mahaju[RCo] but it has to be enforced by the admin to become effective
07:08 eMBee in a channel where voice is enforced, there is often a second channel for anyone to ask questions. then the moderator will check the questions and give voice to a specific person
07:08 Mahaju[RCo] ok
07:08 Mahaju[RCo] very interesting
07:09 sorear there are channels on some networks with over 1000 users
07:09 Mahaju[RCo] oh I see
07:10 Mahaju[RCo] this system makes it it easier to manage larger discussion groups
07:10 * eMBee nods
07:11 Mahaju[RCo] and how do you send a nod?
07:11 Mahaju[RCo] http://en.wikipedia.org/wiki/List_of_Internet_Relay_Chat_commands
07:11 fedaykin "List of Internet Relay Chat commands - Wikipedia, the free encyclopedia" http://rldn.net/yiJz
07:11 Mahaju[RCo] do all of these work here?
07:11 eMBee depends on your irc client. generally it is done with /me some action
07:12 eMBee i expect most of them to work here
07:12 * Mahaju[RCo] whois mahaju
07:12 Mahaju[RCo] what happened here?
07:12 Mahaju[RCo] I wrote slash_me followed by whois mahaju
07:12 eMBee /me is a command to display text as an action
07:13 eMBee to run whois, you need to type /whois
07:13 Mahaju[RCo] oh ok
07:13 * Mahaju[RCo] nods
07:13 Mahaju[RCo] I see
07:13 eMBee that's it
07:13 Mahaju[RCo] what happened?
07:13 sorear 23:13 <+Mahaju[RCo]> oh ok
07:13 sorear 23:13  * Mahaju[RCo] nods
07:13 sorear 23:13 <+Mahaju[RCo]> I see
07:13 Mahaju[RCo] it says no such nick for mahaju
07:14 sorear you need Mahaju[RCo]
07:14 Mahaju[RCo] ok
07:14 sorear also, we can't see the result of whois
07:14 eMBee that's only for you
07:14 eMBee as are most other commands
07:14 sorear the only things we can see are "normal" speech, /me, and commands that modify the channel (if you were an admin)
07:14 Mahaju[RCo] ok
07:15 Mahaju[RCo] so you can't see the result of whois command?
07:15 sorear correct
07:15 Mahaju[RCo] not even the admins?
07:15 sorear you probably saw something a bit back when I took away eMBee's voice
07:15 Mahaju[RCo] what if I give a whois command for your user name?
07:15 sorear Mahaju[RCo]: channel-level admins cannot see whois
07:15 Mahaju[RCo] it shows your name to me
07:15 sorear on some networks, server-level admins can
07:15 sorear I'm not a server-level admin though
07:15 Mahaju[RCo] no i mean I did whois sorear
07:16 eMBee the whois command is run by your client, and only talks to the server, but not to the channel
07:16 Mahaju[RCo] and it shows me your name
07:16 sorear I know nothing of your having done that.
07:16 Mahaju[RCo] oh ok
07:16 Mahaju[RCo] so if you do whois mahaju
07:16 Mahaju[RCo] I won't be able to tell
07:16 sorear I just did.
07:16 Mahaju[RCo] what does it show you?
07:17 Mahaju[RCo] does it show the same thing tat it shows me or is it different?
07:17 sorear It tells me that you're connected to rowling.freenode.net through a Web client and that you are connecting from address 117.16.23.71
07:17 eMBee should be hthe same
07:17 fedaykin "freenode Web IRC (qwebirc)"
07:18 Mahaju[RCo] ok Thank you very much for sharing that with me
07:18 sorear http://www.ip2location.com/117.16.23.71 says that your Internet connection is provided by Korean Education Network in Seoul
07:18 fedaykin "Free Product Demo, Tools and Sample Databases | IP2Location.com"
07:19 Mahaju[RCo] how do I disable this?
07:19 Mahaju[RCo] so people can;t see it?
07:19 Mahaju[RCo] or is it tat it can't be hidden in irc?
07:20 sorear You can go to #freenode and request an unaffiliated/ cloak
07:20 sorear a server-level admin can do that
07:20 sorear but I think you have to register your name first
07:21 Mahaju[RCo] so that means I need to contact someone who is running this channel?
07:21 Mahaju[RCo] How about you?
07:21 Mahaju[RCo] can you do that?
07:21 sorear no, only server-level admins
07:21 sorear you can find them in the #freenode channel - /join #freenode
07:21 sorear iirc
07:22 sorear http://freenode.net/faq.shtml#cloaks
07:22 fedaykin "freenode: frequently-asked questions"
07:25 sorear Mahaju[RCo]: note that you can see my name because I've configured my client to display it
07:28 Mahaju[RCo] but I haven't configured anything
07:28 Mahaju[RCo] and it is showing my ip
07:28 Mahaju[RCo] so taht mean's it's configured by default
07:31 Mahaju[RCo] I got a message at #freenode
07:32 Mahaju[RCo] apparently I cannot hide my ip address if I am using a browser irc client
07:36 * sorear goes to bed.
07:40 * Mahaju[RCo] bids sorear goodnight
10:05 mischi joined #rosettacode
12:48 mwn3d_phone1 joined #rosettacode
13:26 Kumul joined #rosettacode
13:57 GlitchMr joined #rosettacode
14:50 mikemol joined #rosettacode
16:40 slavik1 joined #rosettacode
21:58 mwn3d_phone Man...[[99 Bottles of Beer]] is HUGE
21:58 fedaykin http://rosettacode.org/wiki/99_Bottles_of_Beer
21:58 mwn3d_phone I thought the diff would time out
23:08 Anony2 joined #rosettacode
23:08 Anony2 Thank you for existing.
23:08 Anony2 RosettaCode is great.
23:36 opticron huh...
23:37 mwn3d_phone ??
23:49 sorear makes sense to me
23:50 sorear ey just wanted to congratulate us, not talk

| Channels | #rosettacode index | Today | | Search | Google Search | Plain-Text | summary