All times shown according to UTC.
| Time | Nick | Message |
|---|---|---|
| 00:15 | bendk left #miro-hackers | |
| 00:20 | bendk joined #miro-hackers | |
| 00:20 | bendk left #miro-hackers | |
| 01:26 | Stefan_ left #miro-hackers | |
| 01:28 | DGMurdockIII joined #miro-hackers | |
| 02:03 | TSK left #miro-hackers | |
| 02:03 | TSK joined #miro-hackers | |
| 03:56 | Stefan_ joined #miro-hackers | |
| 04:08 | DGMurdockIII left #miro-hackers | |
| 04:42 | Dawnrell joined #miro-hackers | |
| 04:45 | Stefan_ left #miro-hackers | |
| 05:56 | Dawnrell left #miro-hackers | |
| 06:46 | TSK left #miro-hackers | |
| 07:43 | janetPCF joined #miro-hackers | |
| 10:06 | arpu joined #miro-hackers | |
| 14:07 | ajonas joined #miro-hackers | |
| 14:23 | paroneayea left #miro-hackers | |
| 14:39 | Dawnrell joined #miro-hackers | |
| 14:54 | z3p left #miro-hackers | |
| 14:55 | z3p joined #miro-hackers | |
| 14:56 | paulproteus | Morning, all! |
| 14:59 | volkmar joined #miro-hackers | |
| 14:59 | volkmar left #miro-hackers | |
| 14:59 | volkmar joined #miro-hackers | |
| 14:59 | ajonas left #miro-hackers | |
| 15:17 | Dawnrell left #miro-hackers | |
| 15:18 | paroneayea joined #miro-hackers | |
| 15:20 | paulproteus | (yo paroneayea) |
| 15:31 | janetPCF1 joined #miro-hackers | |
| 15:31 | volkmar left #miro-hackers | |
| 15:34 | janetPCF left #miro-hackers | |
| 15:41 | paulproteus | z3p: Just a quick check for you, maybe: Does the way we use flowplayer at http://coffee.mirocommunity.or[…]ichal-mullen-chai pass a basic sanity check in your eyes? |
| 15:41 | uh oh 0 bytes free on /home | |
| 15:42 | z3p | paulproteus: I don't think anything's changed with our rendering in a long time, and it's worked previously |
| 15:42 | paulproteus: but it loads with the <video> tag for me | |
| 15:42 | paulproteus | I'm particularly troubled by how, on my machine, even the thumbnail doesn't load. |
| 15:43 | (in flowplayer) | |
| 15:43 | (there, a few hundred megs free should be okay) | |
| 15:44 | z3p | I wonder if the thumbnail URL with the query string is messing up flowplayer? |
| 15:45 | paulproteus | I'll check on that possibility. |
| 15:46 | z3p | paulproteus: I think that's the issue; when I loaded it in FF I got a StreamNotFound error on the thumbnail |
| 15:50 | those query strings are in there so that clients update the thumbnails when they're changed on our end; they're added as part of the {% get_thumbnail_url %} templatetag | |
| 15:50 | * paulproteus | nods. |
| 15:51 | paulproteus | Indeed removing the question mark fixes the thumbnail. |
| 15:51 | And it works fine when I hit play after that. | |
| 15:51 | z3p | maybe a newer version of flowplayer doesn't have that bug? |
| 15:52 | paulproteus | Good thinking; /me checks |
| 15:53 | z3p | (because I think that's clearly a bug in FP) |
| 15:54 | paulproteus | (yeah, I agree) I'll try upgrading just this one site's FlowPlayer, and if that works, I'll push out an update across the board. |
| 15:55 | z3p | paulproteus: that's not something you can do, at least not easily |
| 15:56 | paulproteus | I intend to discover that! |
| 16:04 | z3p: Would it work to just add files to pcf7:/var/www/localtv/src/miro-community/static/ , since that's the server on which this instance is hosted? | |
| 16:04 | z3p | paulproteus: yeah |
| 16:04 | paulproteus | b |
| 16:07 | z3p: Would you reload Apache on pcf7 for me? | |
| 16:07 | z3p | paulproteus: done |
| 16:07 | paulproteus | (I added the right media, plus edited coffee's settings.py. If this works, I'll roll it out.) |
| 16:07 | b | |
| 16:08 | Bug fixed! | |
| 16:08 | z3p | paulproteus: woo! |
| 16:12 | paroneayea left #miro-hackers | |
| 16:12 | paroneay` joined #miro-hackers | |
| 16:14 | paulproteus | brb. |
| 16:27 | ajonas joined #miro-hackers | |
| 16:31 | paroneay` left #miro-hackers | |
| 16:31 | paroneayea joined #miro-hackers | |
| 16:49 | arpu left #miro-hackers | |
| 16:55 | paroneay` joined #miro-hackers | |
| 16:55 | paroneayea left #miro-hackers | |
| 17:11 | paulproteus | (back) |
| 17:17 | Going to work on deploying the player now. | |
| 17:17 | Dawnrell joined #miro-hackers | |
| 17:18 | paulproteus | Howdy, Dawnrell. |
| 17:23 | ajonas left #miro-hackers | |
| 17:37 | paulproteus | z3p: How did you choose the 14323 number at http://develop.participatorycu[…]hemeUpdates/14323 ? |
| 17:37 | Oh, ticket number. | |
| 17:52 | z3p: I'm going to make flowplayer.swf a symlink within static/ to whatever version of flowplayer we bundle. | |
| 17:52 | And so forth for the various flowplayer* files. And I'll write up a ThemeUpdates note along those lines. | |
| 17:52 | z3p | paulproteus: sounds good |
| 17:54 | paulproteus | z3p: What's "extern" truly for, and should the flowplayer JS be in "extern" (if extern means "not written/maintained by the Miro Community team")? |
| 17:55 | static/js/extern/ # that is | |
| 17:55 | z3p | paulproteus: if you're changing locations already, yeah, I'd move flowplayer to extern |
| 17:56 | paulproteus | b |
| 17:56 | z3p | paulproteus: I don't think you'll need a theme update, however; that location isn't part of the theme, right? |
| 17:56 | paulproteus | I guess it's not part the *theme*; it's part of settings.py truly |
| 17:57 | z3p | paulproteus: since that's not user-editable anyways, it doesn't need anything in the wiki |
| 17:57 | paulproteus | *Oh*, now I understand the target audience of ThemeUpdates. It's for users of the hosted service. |
| 17:57 | z3p | paulproteus: exactly |
| 18:04 | paulproteus | z3p: So, uh, thoughts on how to manage this transition without causing flowplayer 404s? |
| 18:04 | One answer is, "Just do it quickly and hope there aren't very many", which is likely to be adequate? | |
| 18:04 | My planned process is 1) change settings.py 2) cd ../src/localtv ; git pull ; 3) reload Apache | |
| 18:04 | z3p | paulproteus: you can also just manually check out the old versions of the files for a bit during the transition |
| 18:05 | paulproteus | Yeah, I thought about that, but didn't want to say it because it seemed totally lame and ad-hoc :P |
| 18:05 | But sure, I guess I can do that! | |
| 18:15 | janetPCF1 left #miro-hackers | |
| 18:35 | paulproteus | z3p: If a site that works for me on the web isn't listed in the project_list page, then I guess I should just wait for a few minutes? |
| 18:35 | z3p | paulproteus: more like hours; the project listed is updated around midnight ET |
| 18:35 | paulproteus | Oh, okay. |
| 18:36 | z3p | paulproteus: what site? |
| 18:36 | paulproteus | facesofconflict-dot |
| 18:38 | It's not hugely important right now, so you can worry about other things if you'd rather. | |
| 18:39 | z3p | paulproteus: I'm not worried; it's on the new server so it makes sense that it's not there yet |
| 18:40 | paulproteus | Sure, what I mean is, "If you have better things to do with your daytime than chase down MC instances, go do them". |
| 18:41 | z3p | paulproteus: it was about 15 seconds of work; not a big deal :) |
| 18:42 | paulproteus | Yeah, but task switching can be costly. |
| 18:43 | z3p | paulproteus: oh! I didn't see your e-mail |
| 18:43 | paulproteus: if the site isn't on the project list, it's on the newest server | |
| 18:43 | paulproteus: in this case, pcf-mc3 | |
| 18:56 | paulproteus | So in the faces_of_conflict settings.py, and maybe all of them, you have the "from mainsite_project.site_settings import *" line twice -- once as the first, and once as the last line. |
| 18:57 | That seems bonkers to me. Seems like it should only be the first. Agree? | |
| 18:59 | willkg joined #miro-hackers | |
| 18:59 | paulproteus | Yo willkg! |
| 18:59 | willkg | hi! |
| 19:00 | i feel awful. caught a cold from my wife and it's just wiping me out. | |
| 19:00 | paulproteus | Oh, sorry to hear that! |
| 19:00 | arpu joined #miro-hackers | |
| 19:00 | paulproteus | That reminds me, if you want to come to my housewarming party, that'd be cool, but maybe this is an inopportune time to invite you to an event that's tonight. |
| 19:01 | z3p: I wrote http://pcf8.pculture.org/pcf/w[…]s#Recipe:_Enable_.22Premium_Account.22_features_for_a_mirocommunity.org_site -- does that pass a sanity check by you? | |
| 19:01 | willkg | paulproteus: it sounds super fun, but i'm not going anywhere today/tonight. |
| 19:01 | i need to work on a few miro bugs so that they can go with 3.5.1. then i need to get some more sleep. | |
| 19:02 | paulproteus | Maybe tomorrow, then. willkg: http://partsandcrafts.org/?page_id=173 -- look for "forage" |
| 19:03 | (I jest, mostly.) I hope you feel better soon. | |
| 19:05 | willkg | me too. head colds suck. |
| 19:07 | paroneay` left #miro-hackers | |
| 19:07 | paroneayea joined #miro-hackers | |
| 19:24 | willkg | paulproteus: yeah, i'm probably not going anywhere tomorrow, either. but i sent the link to my brother--looks fun. |
| 19:41 | DGMurdockIII joined #miro-hackers | |
| 19:41 | foocraft joined #miro-hackers | |
| 19:41 | foocraft | hey all |
| 19:41 | so for some reason, when someone calls me on skype, miro resumes playing | |
| 19:51 | willkg | foocraft: is this on linux? |
| 19:51 | foocraft | yup |
| 19:52 | willkg | foocraft: skype is a proprietary piece of software and who knows how it works, but it sounds like it's being "helpful" and sending the dbus message equivalent of the play/pause media key. |
| 19:52 | foocraft: does this happen with rhythmbox as well? | |
| 19:52 | foocraft | lemme check |
| 19:52 | hmm that'll be hard he | |
| 19:53 | hehe I'll see if I can get someone to call me and let you guys know | |
| 19:53 | willkg | ok. |
| 19:53 | foocraft | also, even if miro is waiting on the play/pause media key, you guys should resume playing when miro has focus |
| 19:53 | so if ( play/paus media key and miro has focus ) resume; | |
| 19:54 | willkg | no... you can pause/resume regardless of whether miro has focus. |
| 19:54 | foocraft | I *think* it's possible to know where you got the signal from |
| 19:56 | z3p | paulproteus: yeah, looks okay to me |
| 19:56 | paulproteus: fwiw, the 'newest' server is always at the top of the project list | |
| 19:56 | paulproteus: might be a useful note | |
| 19:57 | paulproteus: also fwiw, my usual shell steps are "cd /var/www/localtv/djangoproject/PROJECT_name; echo 'UPLOADTEMPLATE_DISABLE_UPLOAD = False' >> settings.py" | |
| 19:57 | paulproteus: emphasis on the >> | |
| 19:57 | paulproteus | z3p: Duly noted. |
| 19:58 | foocraft | I did a git pull and it's taking AGES :D last time I pulled the miro source was months ago |
| 19:58 | paulproteus | re: double-import: I intend to remove that insanity and just import once at the top. Maybe this will require learning about the template that generate the settings.py files. |
| 20:04 | willkg | foocraft: mmm... i think there's a bug in the mediakeys handling code i wrote. i think the first argument is the application that should handle the signal. |
| 20:04 | foocraft: i'm not sure if my fix will fix your issue, but the code in miro is definitely wrong. | |
| 20:05 | foocraft | awesome, have a go and I'll test your change |
| 20:06 | I don't know if I could let the versions I compile/run not use the DB for the one I have installed on my machine | |
| 20:06 | willkg | foocraft: miro will back up your db before it screws it up. so you can trivially go back. |
| 20:07 | foocraft: the file is in ~/.miro/dbbackups/ or something similar to that. | |
| 20:07 | foocraft | cool |
| 20:08 | willkg | foocraft: i'm going to create a bug for the issue i found. if it fixes your issue, too, then we can tweak it to be more inclusive. |
| 20:08 | foocraft | vim `find . | grep .py` :p |
| 20:09 | z3p | paulproteus: what double import? |
| 20:09 | paulproteus | [14:53:12] <paulproteus> So in the faces_of_conflict settings.py, and maybe all of them, you have the "from mainsite_project.site_settings import *" line twice -- once as the first, and once as the last line. |
| 20:09 | [14:53:26] <paulproteus> That seems bonkers to me. Seems like it should only be the first. Agree? | |
| 20:10 | z3p | paulproteus: one is mainsite_project.settings |
| 20:10 | paulproteus | Oh, duh. |
| 20:10 | z3p | paulproteus: one is mainsite_project.site_settings |
| 20:10 | paulproteus | Thanks for having a careful eye. |
| 20:10 | willkg | foocraft: also, it sucks that when hunting for documentation on mediakeys, i kept finding my blog entry which is also wrong. |
| 20:10 | z3p | paulproteus: although site_settings doesn't actually do anything at the moment |
| 20:11 | paulproteus: the idea was that site_settings would take over for all those hostname- or project name-based settings | |
| 20:11 | paulproteus: but I never got it working | |
| 20:12 | paulproteus | Sounds like it'd be good to ditch that for simplicity's sake, then. |
| 20:12 | z3p | paulproteus: yeah; should be easy to remove with a sed script |
| 20:12 | foocraft | willkg: reading through the code, I like how you guys go about unit tests, but otherwise I'm lost |
| 20:13 | willkg | foocraft: are you looking for the mediakeys code? |
| 20:14 | foocraft | willkg: yeah |
| 20:14 | willkg | ok. so there's a LAYOUT file that walks through how the directory tree is laid out and what's where. |
| 20:14 | this code is in the linux platform code, so it's in tv/linux/ . | |
| 20:14 | that narrows the scope of the codebase significantly. | |
| 20:15 | foocraft | so the code for mac/linux/windows are all mutually exclusive? |
| 20:15 | willkg | since this is in the widgets frontend, the file in question is tv/linux/plat/frontends/widgets/mediakeys.py . |
| 20:15 | foocraft | (hard to believe) |
| 20:15 | willkg | yes. those are all platform-specific directories. |
| 20:15 | foocraft | oh okay, gotcha |
| 20:15 | willkg | then we have a lib directory for all the shared code. we try to share as much as possible, but there's a decent amount of platform specific code. |
| 20:16 | foocraft | sweet, I got a better picture now. Also, is there any reason why the code isn't very well documented? |
| 20:17 | the only chunk of commenting I see is the license | |
| 20:17 | willkg | there's a lot more documentation in the docstrings than that... what files are you looking at specifically? |
| 20:18 | foocraft | the mediakeys.py file |
| 20:18 | willkg | ok. so most of that is standard boilerplate code for dbus handling. it's pretty self-explanatory. |
| 20:19 | foocraft | yeah, now that I continued reading it, there's nothing to comment |
| 20:19 | willkg | i could toss in a docstring, but it'd just repeat what the code structure already says. |
| 20:20 | there are definitely swaths of code in the codebase that are not/poorly documented. we've been fixing that over time. | |
| 20:20 | foocraft | nah, it's alright, I'll spend a while to familiarize myself with how the code is structured |
| 20:20 | willkg | mostly when we refactor things. |
| 20:23 | foocraft | thanks a lot willkg |
| 20:23 | willkg | foocraft: i pushed the fix to the master branch on g.p.o. can you test it out with your skype thingy? |
| 20:23 | foocraft | sure lemme pull |
| 20:24 | I'll write here when I get someone on skype to help me out with this | |
| 20:24 | willkg | ok. sounds good. |
| 20:27 | foocraft | lol it even happens sometimes when some people log on |
| 20:27 | willkg | screwy. |
| 20:27 | foocraft | relax, I meant the current version not the one you fixed |
| 20:28 | willkg | still... that's kind of weird. i wonder why skype does that. |
| 20:28 | foocraft | although, keyworkd: sometimes. |
| 20:28 | s/keyworkd/keyword/ | |
| 20:28 | willkg | also, i'm guessing it's pushing a mediakey down the pipe. if it's not doing that, then i have no idea how it's getting miro to play/pause. |
| 20:33 | DGMurdockIII left #miro-hackers | |
| 21:33 | willkg | foocraft: how's it going? any word on whether my fix fixes your issue or not? |
| 21:38 | arpu left #miro-hackers | |
| 21:47 | willkg | foocraft: the bug is 15119: http://bugzilla.pculture.org/s[…]_bug.cgi?id=15119 |
| 21:47 | foocraft: toss a comment in or email me when you find out if it fixes your issue or not. | |
| 21:47 | i've got to jet. need to get dinner and then take it easy so i can ditch this cold. | |
| 21:48 | bye! | |
| 21:48 | willkg left #miro-hackers | |
| 22:23 | Dawnrell left #miro-hackers | |
| 23:00 | Dawnrell joined #miro-hackers | |
| 23:47 | zkx left #miro-hackers |