Perl 6 - the future is here, just unevenly distributed

IRC log for #rosettacode, 2016-07-27

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

All times shown according to UTC.

Time Nick Message
00:00 IntelaBite joined #rosettacode
01:46 der-landgraf joined #rosettacode
02:39 danaj joined #rosettacode
05:37 TheDcoder joined #rosettacode
07:36 TheDcoder joined #rosettacode
07:39 danaj joined #rosettacode
08:11 mikemol joined #rosettacode
08:50 der-landgraf joined #rosettacode
08:59 der-landgraf joined #rosettacode
08:59 der-landgraf joined #rosettacode
11:57 Coderjoe joined #rosettacode
18:01 circ-user-95YzG joined #rosettacode
18:03 circ-user-95YzG hi. I vastly improved a piece of Perl code that is on Rosetta. Then I tried to create an account. That failed. THen I somehow created an account and fished the confirm email from my spam, confirming failed again, then I tried to get into this IRC - with the link on Rosettacode that failed also....
18:03 circ-user-95YzG I mean is this project working at all?
18:04 circ-user-95YzG looks like a broken MediaWiki installation with some content. ;-)
18:13 opticron the project is still active, but user creation has been heavily locked down to combat spam, iirc
18:14 opticron if you look, several pages have been updated today
18:14 opticron unfortunately, I'm not in a postion to help you with login issues, but someone else here might be able to
18:14 opticron mikemol, ?
18:14 * opticron isn't sure who handles that
18:15 mikemol Mm?
18:15 mikemol Hm.
18:15 mikemol I'll check on it.
18:16 opticron circ-user-95YzG, a view on current activity: http://rosettacode.org/wiki/Special:RecentChanges
18:16 fedaykin "Recent changes - Rosetta Code"
18:17 mikemol I see three users created today so far, including one where someone has already created their user page.
18:17 mikemol And one obvious spam account.
18:18 mikemol circ-user-95YzG: When you say the link failed, how did it fail? Can you provide a screenshot?
18:27 circ-user-95YzG Well - I get this "you have no cookies enabled" error. THen I see the site get's my IP wrong.
18:28 circ-user-95YzG Ha! It worked now.
18:28 circ-user-95YzG I suppose someone did some magic in the background. :-)
18:29 mikemol circ-user-95YzG: Nope. I didn't change anything. I'm going to guess you're behind a particularly egrigious CGN where your outbound connections are going over multiple public IPs.
18:29 mikemol circ-user-95YzG: If you can, try accessing the site over IPv6.
18:30 circ-user-95YzG I have a fixed IP and Wikimedia does not seem to have problems with it
18:30 circ-user-95YzG 94.142.234.173 and ROsettacode saw: 141.101.96.226
18:31 mikemol circ-user-95YzG: The IP issue is going to be because we don't have Cloudflare integrated well. 141.101.96.226 is going to be one of Cloudflare's IP addresses.
18:31 mikemol Forgot about that.
18:32 mikemol The cookies, though? No idea. If you don't have cookies enabled, logins won't work, but that's obvious.
18:32 mikemol Maybe Cloudflare glitched.
18:34 circ-user-95YzG Sorry! We could not process your edit due to a loss of session data. Please try again. If it still does not work, try logging out and logging back in.
18:35 mikemol circ-user-95YzG: k. Hm. Hang on.
18:35 mikemol circ-user-95YzG: Try again
18:35 circ-user-95YzG same
18:36 circ-user-95YzG preview works nice
18:36 mikemol Try again.
18:37 mikemol Which page are you trying to edit?
18:37 circ-user-95YzG Bitcoin/public point to address (section) - Perl
18:39 mikemol Wow. How many edits have you attempted today? There's a huge number of entries in the logs, but nothing in the recent changes.
18:39 circ-user-95YzG I have cookies enabled
18:39 circ-user-95YzG Just one edit.
18:40 mikemol I'll rephrase. How many times have you attempted that edit?
18:40 circ-user-95YzG You mean clicking "save page"? Like 3-4 times now
18:40 circ-user-95YzG NOW
18:42 mikemol I've got 12 POST entries listed. Perhaps some of those are previews. Hm
18:42 circ-user-95YzG yes, previews were also 2-3
18:42 mikemol That literally doesn't add up to the number of log entries, which is curious. Still digging.
18:43 circ-user-95YzG Well I did bang the server when I was actually trying to create the account
18:43 mikemol I grepped for that particular page.
18:43 mikemol Unless some of that was in the referrer, and I missed that. Possible.
18:44 mikemol OIC, there were some POST attempts to "Bitcoin/Elliptic_curve_arithmetic", too.
18:44 circ-user-95YzG I seem to have achieved what I came for: http://rosettacode.org/mw/index.php?title=​Bitcoin%2Fpublic_point_to_address&type​=revision&diff=231749&oldid=210392
18:44 fedaykin "Difference between revisions of "Bitcoin/public point to address" - Rosetta Code" http://rldn.net/3RT
18:44 circ-user-95YzG oh yes, I looked at that article - just reading
18:45 mikemol OK, I see where it didn't add up. Your time on the acct creation page had a return-to param.
18:48 mikemol I can't explain your symptoms. I see no 50x errors in the logs corresponding to your access attempts, only 200, 302 and 304. Nothing in the error log. No errors in the audit log.
18:49 mikemol But if you got your edit in, that's good. I don't know why you were seeing the errors you were seeing.
18:49 circ-user-95YzG The problems looked like some AJAX acting.
18:49 circ-user-95YzG so quite possible it didn't go back to the server logs
18:49 circ-user-95YzG Yup, I assume next time will be easier as the account is there already. Thanks for your help.
18:49 mikemol I've looked at the selinux audit logs, the apache access logs, and the apache audit logs.
18:50 mikemol np
18:50 mikemol (And I've looked at the error logs, but yeah.)
18:50 mikemol The API access shows up in the access and apache audit logs, but again with HTTP 200 responses.
18:51 circ-user-95YzG Personally I think it could have been due to the IP problem. If there was a cookie for the 141.101.96.226 sent and then somehow the client is another IP...
18:52 mikemol Haha. circ-user-95YzG: The "obvious spam account" is the one you just created. We used to get a ton of spam accounts that were "xxxxNNN" or "xxxxNNNN" in format.
18:52 circ-user-95YzG great :-)
18:53 mikemol More recently, spam accounts have been of the form "[A-Z][a-z]+ [A-Z][a-z]+", which makes them slightly tricker to notice.
18:53 mikemol Oh, looks like I'm behind the curve on that one.
18:54 mikemol Looks like they're now "[A-z][a-z]+".
18:55 mikemol Ah well. I imagine spammers have bought those password databases at this point and are using random entries out of lists of hundreds of millions of human-made usernames.
18:55 circ-user-95YzG DO this "I'm not a robot" clicking doesn't help?
18:56 circ-user-95YzG I even had to identify trees on pictures :-)
18:56 mikemol circ-user-95YzG: Every anti-spam measure we put in helps for a little while. Usually about a week.
18:56 mikemol It works just long enough for spam scripters to notice things aren't where they expect them, at which point they adjust the scripts that feed the challenges back to cheap people farms in Africa and Asia.
18:57 circ-user-95YzG I see the problem. Must be annoying like hell.
18:59 mikemol Yeah. I could do one of two things to improve any further. I could turn RC into an invite system, or I could completely and continually scramble the code and layout of the login page, and the authentication paths, so that scripts using programmatic methods have to continually adjust.
19:00 mikemol But at that point, the people farms would just work the acct creation page directly.
19:00 mikemol For the moment, they're not really successfully getting spam onto the site, just creating accounts. So I'm somewhat content with getting them to waste money...
19:06 circ-user-95YzG Ok gotta go. For now the Perl code is again the shortest. I'll look around and maybe hack some more. Usually I'm at Alioth benchmark game, I also know Larry Wall has contributed lots of Perl6 to this site. It seems much of these are translations from Perl... ;-)
19:06 mikemol circ-user-95YzG: Keep in mind we don't do code golf. Solutions should be clear and idiomatic. That may or may not be the same thing as pragmatic.
19:07 circ-user-95YzG cu and good luck with your spam battling off. Of course - I do not like golf. If you look at my code, ut even has comments. ;-)
19:07 mikemol Been spending too much time on Facebook. Looked for a thumbs-up key.
19:07 mikemol 👍
22:30 Coderjoe joined #rosettacode
23:20 cromachina joined #rosettacode

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