Perl 6 - the future is here, just unevenly distributed

IRC log for #rosettacode, 2011-12-11

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

All times shown according to UTC.

Time Nick Message
04:53 mwn3d_phone joined #rosettacode
05:35 mwn3d_phone joined #rosettacode
13:36 mikemol ...and the wiki's read-only while I get this maintenance done.
13:38 mikemol Copying the database to the new server.
13:39 mikemol Wiki will remain read-only until I've gotten some software updates in. No point unlocking the wiki and then rolling back changes after I screw up a db schema upgrade.
13:39 eMBee :-)
13:40 mikemol eMBee: Hey, I hear that RC is being blocked by the Great Firewall of China. You have any way to test?
13:41 eMBee sure, as i am inside, give me a minute
13:42 eMBee i can access it from here, as i could in shanghai, so no, not generally blocked
13:42 mikemol k
13:42 mikemol Good to know
13:42 eMBee i use a proxy usually, though not because of the firewall, but because it is faster
13:43 eMBee rc seems still fast enough however
13:43 mikemol Understood; I've got a caching proxy on my home network.
13:43 mikemol Also have a caching proxy on RC's server, accelerating the site itself.
13:48 mikemol db transfer done. Now to unpack an upgraded copy of the wiki software.
13:51 kpreid_ joined #rosettacode
13:54 eMBee yay
14:13 mikemol opticron: Yo. 'wgMessageCache' has been dropped from MediaWiki, so MultiCategorySearch fails with the error 'Call to a member function addMessages() on a non-object'. MultiCategorySearch.php, line 44.
14:14 mikemol mwn3d_phone: If you've got the time and opportunity, we may be needing to replace the MultiCategorySearch page content with semantic calls.
14:14 mikemol As it is, I need to remove the MCS extension from the server extension load until it can be updated to MW 1.18.
14:21 opticron suck
14:22 eMBee this one? https://wiki.mozilla.org/MCS:MediaWiki
14:23 opticron no, that's different
14:23 * eMBee can't find it on google
14:23 opticron this one: http://www.mediawiki.org/wiki/E​xtension:Multi-Category_Search
14:23 fedaykin "Extension:Multi-Category Search - MediaWiki" http://rldn.net/BVE
14:24 eMBee ah
14:24 opticron I did some custom hacking on it for RC
14:24 eMBee ah, ok
14:25 opticron to make it transcludable and to make it cache queries in memcached
14:26 mikemol Some really awesome and useful hacks at the time. It really filled a need.
14:27 opticron if its capabilities can be easily replaced entirely by semantic calls, I won't worry about it
14:28 opticron if you want me to look into fixing it, let me know
14:28 mikemol I hope they can, but it means building up some quick expertise on SMW code we don't yet have.
14:28 opticron gotcha
14:28 opticron I'll see what I can do
14:29 mikemol opticron: Honestly, I'd prefer to see SMW take over, but I don't know that anyone has figured out how to do it yet.
14:29 opticron yeah
14:29 opticron that extension isn't maintained by the original author either
14:30 opticron well...maybe
14:30 mikemol It looks like something related to a MW caching mechanism. You might be able to get away with stuffing it into memcached.
14:30 opticron says the last update to the page was late october
14:31 * mikemol cheers
14:31 mikemol not about that
14:31 mikemol Just got extension and server code up enough that it's asking me to upgrade the database.
14:33 opticron heh
14:33 mikemol And attempting a database update
14:37 mikemol mwn3d_phone: I'm going to have to drop the LoopFunctions extension, too. It has the same bug as MCS, and it also looks abandoned.
14:41 opticron lol, the last thing I did with this was sending you a tarball just over 2 years ago :)
14:42 mikemol I've got to go poke the SMW folks about db errors while upgrading.
14:45 kpreid joined #rosettacode
14:48 mischi joined #rosettacode
14:54 mikemol k, making progress. Can't show off the site until the three front-page blocks are filled. 60% of the way through a semantic refresh.
15:14 * opticron is setting up a development environment for testing this again :)
15:19 mikemol Oops. Forgot to copy over the images from the old server to the new server. Copied. Re-running the semantic update.
15:21 mikemol Sigh
15:21 mikemol This will probably take about an hour or two.
15:21 mikemol Time to get up and stretch.
15:22 mikemol opticron: I assume your MCS code uses some kind of namespace prepended to the memcached key values?
15:24 Paddy3118[RCo] joined #rosettacode
15:25 mikemol Paddy3118[RCo]: Greetings!
15:25 mikemol I recommend reading the log.
15:25 mikemol I'm about to take a break and go for a walk.
15:27 kpreid joined #rosettacode
15:30 Paddy3118[RCo] left #rosettacode
15:44 Demivec[RCo] joined #rosettacode
15:45 Demivec[RCo] Are there any estimates, rough are otherwise, of when the server migration will be complete?
15:52 Demivec[RCo] Nevermind on the time estimate, I checked the IRC log and got my answer.
15:54 Crazyfirex[RCo] joined #rosettacode
15:54 nimdAHK joined #rosettacode
15:54 nimdAHK joined #rosettacode
15:55 opticron mikemol, let me look
15:55 opticron it's probably mcs:
15:55 nimdAHK RC has an IRC server? :O
15:55 nimdAHK lol
15:56 nimdAHK any bots in the channel?
15:57 nimdAHK lambdabot: hi
15:57 fedaykin "ilbot - Irc log bot in Perl"
15:57 nimdAHK log bot
15:57 nimdAHK what's lambdabot?
15:57 nimdAHK wait wait don't tell me
15:57 nimdAHK lambdabot: help
16:06 mischi joined #rosettacode
16:09 opticron mikemol, yeah, mcs: is the prefix
16:11 nimdAHK How long will the server switch take?
16:16 mikemol nimdAHK: Don't know.
16:16 nimdAHK itching to upload my AHK solution to Roman numerals/Decode
16:16 nimdAHK http://www.autohotkey.net/paste/19fb78y
16:16 fedaykin "Paste #19fb78y"
16:18 mikemol nimdAHK: I can't promise anything other than it'll be done some time before Monday, 2AM, GMT-5, as that's the latest I'll let myself continue getting it better.
16:18 mikemol Trouble is, it can be a long, long time between upgrades, based on time and opportunity. So I'm getting as much in here, now as possible.
16:18 opticron mikemol, looks like that chunk of code can just be removed
16:18 mikemol opticron: cool
16:18 * nimdAHK can never remember if he's in GMT-5 or +5
16:19 opticron in wfSetupMultiCategorySearchExtension, drop the globals declaration and the entire if statement
16:19 opticron that's the modification in the current revision
16:19 mwn3d_phone -5
16:19 nimdAHK mikemol: is GMT-5 ET?
16:19 mikemol eastern, yeah.
16:19 * opticron is central
16:19 nimdAHK hopefully I'll be sleeping at 2AM mon... hopefully
16:19 mikemol 'ET' can be ambiguous on the Internet...
16:19 nimdAHK lol
16:20 opticron EEEETTTTTTT phone hoooooome
16:20 nimdAHK while you upgrade the server I'll do a solving marathon
16:20 mikemol nimdAHK: Do you follow @rosettacode on Twitter?
16:20 nimdAHK no I try to stay away from twitter
16:20 mikemol RSS?
16:20 nimdAHK I do watch the RSS feed though
16:20 mikemol k
16:20 nimdAHK yay Google Reader
16:20 mikemol sec
16:21 opticron you can probably make the same modification to the other broken extension
16:21 * opticron is off for manual labor
16:21 mikemol bah. Twitter doesn't seem to have RSS feeds, or they're not obviously located.
16:21 mikemol opticron: thanks. *waves*
16:21 opticron np
16:21 opticron it does have RSS, but it's hidden in some long link
16:22 opticron and it's not your aggregated link, it's one person's output
16:22 nimdAHK OK that's 2 task solutions...
16:26 Showell[RCo] joined #rosettacode
16:26 Showell[RCo] hello
16:27 opticron mikemol, also, probably uncomment that i18n line just above that function
16:27 mikemol k
16:27 Showell[RCo] how long is the migration expected to take, is it roughly minutes or roughly hours?
16:28 opticron since I think it replaces that other code
16:28 * nimdAHK hugs AHK_L's arrays
16:28 nimdAHK so much better than switch/case
16:33 mikemol Looks like opticron's fixed both MCS and LoopExtensions
16:33 mikemol Showell[RCo]: Ten minutes ago, I would have said hours.
16:34 mikemol Now, I'm thinking minutes.
16:34 mikemol I'm thinking I should just take one more backup of the database, one more backup of the site data files, and then let people start shaking things down.
16:34 nimdAHK http://www.autohotkey.net/paste/12tcw2s wooo
16:34 fedaykin "Paste #12tcw2s"
16:35 mikemol Showell[RCo]: One thing that may take anywhere from minutes to hours, though...I'll be switching DNS over, and that will take up to an hour to propagate, as long as all DNS servers involved are well-behaved.
16:36 mikemol Backing up db
16:37 mikemol Also backing up site files
16:39 nimdAHK left #rosettacode
16:39 nimdAHK joined #rosettacode
16:40 nimdAHK woops
16:41 mikemol Double whoops. Started backing up new server's db, but old server's files. :)
16:43 nimdAHK :P
16:44 Showell[RCo] cool, thx for the update, I have some code to post and I'm happy to be a guinea pig
16:45 nimdAHK I have 3 task solutions to post
16:45 nimdAHK working on #4
16:45 nimdAHK getting kinda backed up here :P
16:49 Bbsingapore[RCo] joined #rosettacode
16:50 Bbsingapore[RCo] hi
16:51 * nimdAHK finished solution #4
16:51 mikemol Switched.
16:51 mikemol Don't hammer 'refresh' too hard.
16:51 mikemol Also, if you're running Chrome, you may need to restart your browser, as Chrome does internal DNS caching as well.
16:52 nimdAHK well I'm running Chrome
16:52 nimdAHK brb
16:53 Crazyfirex[RCo] joined #rosettacode
16:53 nimdAHK joined #rosettacode
16:53 nimdAHK joined #rosettacode
16:54 nimdAHK hmmm... still no 'edit' option
16:54 nimdAHK green bar is still there
16:55 mikemol There will be a green bar on the new server, but the message will be different.
16:57 nimdAHK hmmm... 'predict network actions to improve page load performance'
16:59 nimdAHK actually I'll just log in through IE
16:59 nimdAHK not a big deal
16:59 * nimdAHK realizes that IE hasn't loaded in the past 20 seconds O.O
17:00 nimdAHK no dice
17:00 nimdAHK "Wiki will be read-only until server migration is complete"
17:02 nimdAHK success!
17:16 nimdAHK OK, uploaded 4 solutions and an {{omit}} -- I think I'm done for the day
17:18 nimdAHK left #rosettacode
17:26 mikemol Looks like the site may run a bit slow for a while.
17:26 mikemol Squid needs to populate its on-disk cache, for one, and it looks like I need to do some mysql tuning.
17:27 mikemol Load average is 3-5 on a 1-core VM, and the server is heavily I/O bound right now.
17:53 r4m joined #rosettacode
18:31 vojtarek joined #rosettacode
18:50 Kumul joined #rosettacode
19:21 mikemol Everything working, I take it?
19:21 mikemol There's a surprising lack of complaints.
19:23 mwn3d_phone I haven't tried editing but I clicked around a little bit
19:23 mwn3d_phone Seems fine so far
19:25 mwn3d_phone Sometime later today I'll probably be able to try to translate the not impl pages into SMW
19:25 mwn3d_phone Shouldn't be too tough. I just have to get the syntax right.
19:33 mwn3d_phone mikemol: squid error on the village pump page
19:33 mwn3d_phone And the recent changes page
19:34 mwn3d_phone And the whole site
19:34 mwn3d_phone I think squid accidentally...the entire site
19:37 mwn3d_phone Its back now
19:41 * mikemol nods
19:41 mikemol Software update
19:42 mikemol apt-get update && apt-get upgrade, essentially.
19:45 mikemol Wait, what? It's still down...
19:45 mikemol Not good.
19:46 mwn3d_phone I got through
19:47 mikemol Hm
19:47 mikemol I'm not.
19:54 mikemol Suppose I won't worry about it for the moment; I'm the only one getting 403 errors, from the look of it.
20:16 mwn3d_phone mikemol: the "misc" box doesn't seem to be showing up on category pages
20:17 mikemol mwn3d_phone: Makes sense, but, yeah, it'd be better if it did show up there.
20:17 mikemol I have it limited to the 'Main:' namespace right now.
20:17 mwn3d_phone People will probably want to share the task category page
20:18 mikemol Mostly because I didn't want it showing up in the 'Special' namespace, and pretty much omitting namespace support altogether was the quicker way forward at the time.
20:18 mikemol Can't poke at it right now
20:18 mwn3d_phone It is showing up in the special namespace right now
20:20 mikemol Bleh
21:35 Showell[RCo] joined #rosettacode
22:20 mikemol joined #rosettacode
22:20 mbishop joined #rosettacode
22:20 eMBee joined #rosettacode
22:20 crc joined #rosettacode
22:20 sorear joined #rosettacode
22:20 p6eval joined #rosettacode
22:20 Kumul joined #rosettacode
22:20 TimToady joined #rosettacode
22:20 ayrnieu joined #rosettacode
22:20 kpreid joined #rosettacode
22:20 opticron joined #rosettacode
22:20 mischi joined #rosettacode
22:20 Coderjoe joined #rosettacode
22:20 trn joined #rosettacode
22:20 CodeBlock joined #rosettacode
22:20 slavik1 joined #rosettacode
22:20 lambdabot joined #rosettacode
22:20 FireFly joined #rosettacode
22:20 dom96 joined #rosettacode
22:20 fedaykin joined #rosettacode
22:21 r4m joined #rosettacode
22:25 Util joined #rosettacode
22:46 mwn3d_phone joined #rosettacode

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