Perl 6 - the future is here, just unevenly distributed

IRC log for #rosettacode, 2015-12-10

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

All times shown according to UTC.

Time Nick Message
01:55 pmarreck joined #rosettacode
02:47 ilbot3 joined #rosettacode
02:47 Topic for #rosettacode is now Rosetta Code: Coding in  (∞ - 1) languages ; http://irclog.perlgeek.de/rosettacode/today ; Pop  a tab and stick around! ; Account creation issues? Send an email with  your desired username to bureaucrats@rosettacode.org.
06:17 Rainb joined #rosettacode
08:00 kinda joined #rosettacode
09:45 Sinclair6 joined #rosettacode
14:20 Sreekants[RCo] joined #rosettacode
14:20 Sreekants[RCo] hi
14:20 Sreekants[RCo] is anyone here? I am new to this.
14:21 Sreekants[RCo] I think I found a wrong implementation and I don't know how to let someone know on the site.
14:21 Sreekants[RCo] Can someone help me?
14:22 Sreekants[RCo] hi
14:22 dzho have you tried to just edit the wiki?
14:22 Sreekants[RCo] Coderjoe are you there?
14:22 Sreekants[RCo] I don't know what the right solution is though.
14:23 Sreekants[RCo] I am looking at this page http://rosettacode.org/wiki/Matrix_arithmetic
14:23 fedaykin "Matrix arithmetic - Rosetta Code"
14:23 Sreekants[RCo] There are two 'C' implementations for the determinant of a matrix.
14:23 dzho well, if by "new to this" you mean, new to IRC, the only thing I can advise is to wait.
14:23 dzho someone who knows might not be watching now, but might be along later.
14:24 Sreekants[RCo] One is optimized, the other is plain joe.. but simple and accurate (I think)
14:24 opticron I can't remember if there's a tag for marking an entry as possibly incorrect
14:24 Sreekants[RCo] and they give different results so I am pretty sure one of them is worng.
14:24 Sreekants[RCo] What do you suggest I do then?
14:25 dzho I see one of them is already marked "by no means efficient or reliable"
14:26 Sreekants[RCo] dzho.. are you a C programmer?
14:26 dzho if you can further define and document the limitations of whichever one is wrong, edit the entry.
14:26 dzho Sreekants[RCo]: I am but a child in C
14:26 opticron ah, you can mark an example as needing attention with something like: {{incorrect|D|It reports October 19, 2015 as day 0 of The Aftermath, when it should be day 73 of Bureaucracy.}}
14:26 opticron as seen in the D example of the discordian date solution
14:26 dzho I have laboriously hacked out simple programs in C but I'm not good
14:27 Sreekants[RCo] ok..
14:27 dzho ah, there you go, an answer.
14:27 opticron from http://rosettacode.org/wiki/Discordian_date#D
14:27 fedaykin "Discordian date - Rosetta Code"
14:28 Sreekants[RCo] So I just leave a message?
14:28 Sreekants[RCo] edit the wiki and point to my test results?
14:29 opticron sure
14:29 Sreekants[RCo] Alright.. let me try that.
14:33 Sreekants[RCo] I can't seem to edit the page..
14:33 Sreekants[RCo] It says I need to confirm my email.
14:34 Sreekants[RCo] I tried using my profile to send me a confirmation code to my email.
14:34 Sreekants[RCo] The site says that the email was sent, but I don't see it... its not even in my junk.
14:34 Sreekants[RCo] Does it typically take more than a couple of minutes to send a confirmation mail?
14:36 Sreekants[RCo] Perhaps one of you guys can make the post for me.
14:36 Sreekants[RCo] I can give you a descrption of the problem.. and sample test code if you like.
14:51 Sreekants[RCo] ?? is anyone still here?
14:51 lambdabot Plugin `compose' failed with: Unknown command: ""
14:51 Sreekants[RCo] Hello?
14:51 Sreekants[RCo] ???
14:52 Sreekants[RCo] dzho?
14:53 dzho Sreekants[RCo]: sorry, I don't have time today to mess with trying to edit the wiki today
14:53 Sreekants[RCo] ok
14:54 Sreekants[RCo] can you pass my email to someone why might be in a position to get this fixed?
14:54 Sreekants[RCo] I don't want to leave this dangling.
14:55 Sreekants[RCo] I am perfectly willing to help.
14:57 dzho Sreekants[RCo]: I don't know any more about how it works than you do :-)  I admire your intentions to put this right, though.  At the very least, someone who can offer further guidance might see the scrollback here.
14:58 dzho if you have a link to some commentary you've posted elsewhere, perhaps putting that in here would also be useful and easy.
14:58 dzho a gist or a pastebin or some such.
14:58 Sreekants[RCo] Okay...
14:58 Sreekants[RCo] that's a good idea.
14:58 Sreekants[RCo] I will just post the code.
15:01 Sreekants[RCo] The matrix code for C is broken on: http://rosettacode.org/wiki/Matrix_arithmetic#C
15:01 fedaykin "Matrix arithmetic - Rosetta Code"
15:02 Sreekants[RCo] The following test on the two sample C code on VC 6.0 gives results with different signs and sometimes one of the two results is zero.
15:02 Sreekants[RCo] void TestMatrix() { for( int j=3; j<9; ++j ) { double* x= new double[j * j];  srand(0); for (int i = 0; i < j * j; i++) x[i] = rand() % j;  printf("%i det: %19f\n", j, det(x, j)); printf("%i det2: %19f\n", j, det2(x, j,1));  delete [] x; } }
15:03 Sreekants[RCo] My test results were as follows:
15:03 Sreekants[RCo] 3 det:            0.000000 3 det2:            0.000000 4 det:            2.000000 4 det2:            2.000000 5 det:           58.000000 5 det2:          -58.000000 6 det:         -948.000000 6 det2:          948.000000 7 det:         4425.000000 7 det2:         4425.000000 8 det:       349924.000000 8 det2:      -349924.000000
15:03 dzho Sreekants[RCo]: no, please paste in a pastebin somewhere
15:03 Sreekants[RCo] I don't know what a pastebin is..
15:03 dzho pastebin.com or pastie.org or similar
15:03 fedaykin "Pastebin.com - #1 paste tool since 2002!" "New - Pastie"
15:03 Sreekants[RCo] I am new ot IRC.
15:03 Sreekants[RCo] Is that a site?
15:04 dzho paste there, then take the link that is generated and put the link here.  Yes, they are web sites that allow you to paste text and preserve formatting, etc.
15:07 Sreekants[RCo] Here's the matrix determinant bug on pastbin: http://pastebin.com/TXChMCa8
15:07 fedaykin "[C] Rosetta code matrix determinant bug - Pastebin.com"
15:07 Sreekants[RCo] Does that work?
15:08 dzho that's more readable yes.
15:08 Sreekants[RCo] Okay.. so shall i leave it at that now?
15:08 dzho also, on some IRC networks, if you "flood" the channel you will get kicked
15:08 Sreekants[RCo] oh.. thanks for the tip.
15:08 dzho Sreekants[RCo]: it's a fair effort
15:08 Sreekants[RCo] I am a newbie on IRC.
15:08 Sreekants[RCo] thanks guys.
15:08 dzho :)
15:09 Sreekants[RCo] take care.
20:59 Sinclair6 joined #rosettacode
23:26 Lord_of_Life joined #rosettacode
23:30 Rainb joined #rosettacode

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