Camelia, the Perl 6 bug

IRC log for #november-wiki, 2009-11-11

| Channels | #november-wiki index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
03:52 ihrd joined #november-wiki
03:52 ihrd left #november-wiki
12:55 masak joined #november-wiki
18:17 lichtkind joined #november-wiki
19:22 masak joined #november-wiki
19:47 zarah joined #november-wiki
19:47 spinclad joined #november-wiki
19:47 szabgab joined #november-wiki
19:47 arthur-_ joined #november-wiki
19:47 omega_ joined #november-wiki
19:54 Tene_ joined #november-wiki
20:49 masak ok. someone explain this to me.
20:50 masak we have this &digest routine in November.
20:50 masak it does sha256 and other cool stuff. we use it for passwords.
20:51 masak right now, no-one can log in, because the output from this sub, when run from within November.pm, comes out different than what we've stored in the db file.
20:51 masak when I run the exact same line of code from the terminal, I get the same results as in the db file.
20:54 masak when I hard-code the username and password in the log_in method, it also works.
21:00 masak I can't find any difference between the strings coming from the db file (which cause &digest to return something different) and the hard-coded ones (which work).
21:06 masak I read from STDIN, from file -- everything works when I do it on the terminal.
21:06 masak but not inside November.pm.
21:48 masak lichtkind: now you can log in again! \o/
21:48 lichtkind wow
21:49 masak jnthn++!
21:49 masak lichtkind: the bug preventing logging in is one of the worst I've seen in Rakudo.
21:49 masak I still don't know exactly what it is.
21:51 lichtkind yeah it works
21:52 masak lichtkind++
21:52 masak now the work can finally begin!
21:52 lichtkind thanks a lot
21:53 lichtkind tell me about the bug :)
21:53 masak sure. have you read my investigations above?
21:53 lichtkind i read your blog
21:54 masak it seems the bug is only triggered by something occurring within November.
21:54 masak the strings containing username and password look as they should, but they produce the wrong digest.
21:55 masak this could presumably be because they are in a strange encoding.
21:55 masak I'm not sure of this. it could be some other non-obvious difference.
21:56 masak anyway, re-building the strings with join '', split '', $string did the trick.
22:00 lichtkind cool
22:00 lichtkind i also slowly prepare my next eprl 6 update article
22:01 lichtkind so i will have some question for you anyway
22:02 lichtkind masak: sorry but my last post, is this english ok? http://use.perl.org/journal.pl
22:02 zarah lichtkind's link is also http://tinyurl.com/6av3m6
22:03 masak could you send a URL that points to the post?
22:05 lichtkind masak: shits its gone, use perl has severe bugs
22:07 lichtkind masak: this sucks goat dick, the post is still in my browser cache but not on use.perl
22:07 masak mind your language, this is a family channel.
22:09 lichtkind hello children, the uncle is right, you shouldnt say goats dick
22:09 lichtkind http://use.perl.org/journal.pl?op=display
22:09 zarah lichtkind's link is also http://tinyurl.com/yzmjmbn
22:09 lichtkind now it works
22:09 masak yes, but that's still not a URL to your post.
22:10 masak I could try to find it, but it's easier if you just give me the URL...
22:12 lichtkind sorry i had to try something http://use.perl.org/~sir_lichtkind/journal/39883
22:12 zarah lichtkind's link is also http://tinyurl.com/ygsbvja
22:12 masak 'why they write' -> 'why do they write'
22:12 masak 'Yes' -> 'Yes,'
22:13 masak 'why waiting' -> 'why wait'
22:13 masak 'feature rich' -> 'feature-rich'
22:14 masak "I'm advocating for years" -> "I've been advocating for years"
22:14 masak 'improves especially' -> 'improves, especially'
22:14 masak 'a integratable' -> 'an integrated'
22:14 masak 'treecontrol' -> 'tree control'
22:15 masak 'corner' -> 'corners'
22:15 masak 'things still' -> 'things are still'
22:15 masak 'i will most' -> 'I will post'
22:15 masak done.
22:16 masak I probably won't do that again on this channel, since it's related neither to November nor to Web.pm.
22:17 lichtkind masak: yes but thanks a lot
22:17 masak np
22:17 lichtkind hope can improve my english skills
22:27 lichtkind back to topic
22:27 lichtkind http://november-wiki.org/
22:28 masak \o/
22:28 lichtkind have you something against to remove the other 2 items on above right corner leaving kust the log out?
22:29 masak no, I don't think I have something against that.
22:29 masak I bet there's even a ticket for it.
22:29 lichtkind there is :)
22:29 lichtkind i just ask because uncommented
22:29 masak ah.
22:30 masak I'll make sure to give all open tickets ample attention in the next few days/weeks.
22:30 lichtkind masak: so i can file new :)
22:31 masak of course. :)
22:31 masak wouldn't expect anything less.
22:41 lichtkind masak: it alsmost like bond: i expect you to die :)
22:41 lichtkind crude humor i know
22:41 masak well, first I'd like to hear your plan to take over the world.
22:41 masak (while I escape and regroup)
22:42 lichtkind haha
22:45 lichtkind first take over parrot than let my evil henchman write c# and go and java compiler vor it and then squich microsoft, google and sun huahuahaha
22:47 masak sir, I wish you the best of luck
22:47 * masak vanishes to regroup
23:12 lichtkind you can't escape masak hahah
23:12 * masak is already gone
23:55 lichtkind_ joined #november-wiki

| Channels | #november-wiki index | Today | | Search | Google Search | Plain-Text | summary