*** nyergler has quit IRC | 00:15 | |
*** nkinkade has quit IRC | 00:29 | |
*** nkinkade has joined #cc | 00:34 | |
*** JED3 has quit IRC | 00:35 | |
*** nkinkade has quit IRC | 00:39 | |
*** mralex has quit IRC | 00:41 | |
*** nkinkade has joined #cc | 00:43 | |
*** jgay has joined #cc | 00:52 | |
*** nkinkade has quit IRC | 00:54 | |
*** nkinkade has joined #cc | 01:03 | |
*** nkinkade has left #cc | 01:15 | |
*** everton137 has joined #cc | 01:20 | |
*** jgay has quit IRC | 02:39 | |
*** everton137 has quit IRC | 03:05 | |
*** everton137 has joined #cc | 03:07 | |
*** oshani has quit IRC | 03:18 | |
*** akila87 has joined #cc | 03:38 | |
*** akila87 has left #cc | 03:39 | |
*** balleyne has joined #cc | 03:50 | |
*** pktck has quit IRC | 04:18 | |
*** pktck has joined #cc | 04:38 | |
*** MarkDude has quit IRC | 05:15 | |
*** MarkDude has joined #cc | 05:23 | |
*** balleyne has quit IRC | 06:34 | |
*** Kaetemi has quit IRC | 06:38 | |
*** JoiIto has joined #cc | 09:03 | |
*** JoiIto has joined #cc | 09:03 | |
*** ludde has joined #cc | 09:27 | |
ludde | hello | 09:27 |
---|---|---|
ludde | A specification for a file format is written with the by-nc-sa license. Am I allowed to read this document, and after having read the document, work on a commercial project that involves creating a parser for said file format? | 09:28 |
ludde | parser = software that reads the file format | 09:29 |
*** JoiIto has quit IRC | 11:33 | |
*** wormsxulla has quit IRC | 11:37 | |
*** wormsxulla has joined #cc | 11:55 | |
*** JoiIto has joined #cc | 11:59 | |
erlehmann | ludde, why is the license so restrictive ? | 11:59 |
*** everton137 has quit IRC | 12:35 | |
paulproteus | Morning, y'all. | 13:02 |
*** [JAMA] has joined #cc | 13:06 | |
*** [JAMA] has left #cc | 13:06 | |
*** erlehmann has quit IRC | 13:08 | |
greg-g | ludde: the CC license only applies to copying/performing the said work. Thus, using the knwoledge contained in the work is not restricted by the license. Otherwise, no one would every be able to "learn" anything in academia because the majority of research articles are published All Rights Reserved. | 13:43 |
greg-g | ludde: however, make sure there isn't an implementation clause in that document (ie: "you must pay us to implement this" or "this method is covered by patents" etc) | 13:43 |
paulproteus | yARR | 13:45 |
greg-g | paulproteus++ | 13:49 |
*** oshani has joined #cc | 13:59 | |
*** nkinkade has joined #cc | 14:14 | |
paulproteus | Morning, nkinkade! | 14:17 |
nkinkade | paulproteus: Hi. | 14:18 |
nkinkade | Back in Philly? | 14:18 |
paulproteus | Yup! | 14:19 |
greg-g | paulproteus: do you have a page that lists your resources you used for your scaping the web preso? | 14:22 |
* greg-g used the base word "you" too many times in that sentence | 14:22 | |
paulproteus | Did you? | 14:23 |
paulproteus | scrape-pycon.asheesh.org + the "cheat sheet" PDF | 14:23 |
* greg-g looks for the cheat sheet | 14:25 | |
greg-g | google found it | 14:27 |
paulproteus | That's good of it. | 14:28 |
paulproteus | Nice guys over there. | 14:28 |
greg-g | thanks, paulproteus, I'm sending the stuff/your notes/video to a friend | 14:33 |
*** igorlukanin has joined #cc | 14:33 | |
paulproteus | Super rad! | 14:34 |
rafpaf | greg-g: Want to be our guinea pig? Try this out: http://wiki.creativecommons.org/DiscoverEd_Quickstart | 14:44 |
greg-g | hrmmm | 14:44 |
paulproteus | All it does that's permanent is drop some files in /var/lib/discovered/ plus create a MySQL database called discovered. | 14:45 |
paulproteus | So it's pretty easy to clean-up after. | 14:45 |
greg-g | I assume mysql is a prereq? | 14:45 |
paulproteus | Yeah, and java. | 14:45 |
greg-g | k | 14:45 |
greg-g | (might want to say that on the quick start page ;) ) | 14:45 |
rafpaf | The script will complain if you're missing dependencies, but perhaps you're right that we should say it up front as well | 14:46 |
greg-g | ah, good script | 14:46 |
* greg-g installs dependencies | 14:47 | |
greg-g | running | 14:49 |
paroneayea | nkinkade: so, sanity *is* running on another port than the zope stuff, 9088 | 14:52 |
paroneayea | however it must be firewalled or something | 14:53 |
paroneayea | I can't access it like http://creativecommons.org:9088/choose/ ... doesn't work | 14:53 |
greg-g | rafpaf: I got the "eek, tomcat took too long to start" error, and I can't load it in my browser either (still, over another 2 mintues of waiting) | 14:57 |
paulproteus | greg-g: eek, two minutes? Lame. | 14:57 |
paulproteus | Can you pastebin the command line output you got? | 14:57 |
paulproteus | I'll also try it here on my Debian desktop (so far we've only run it on Raffi's particular Ubuntu machine) | 15:02 |
greg-g | oh, I see why, java wasn't happy | 15:04 |
*** nyergler has joined #cc | 15:05 | |
greg-g | ie: I have openjdk installed, not the sun-jre | 15:06 |
greg-g | re-running with updated JAVA_HOME | 15:06 |
paulproteus | That shouldn't necessarily be a problem. | 15:06 |
paulproteus | But good to know (even if sad to be true) | 15:07 |
greg-g | well, the JAVA_HOME was set incorrectly (to a dir that didn't exist), based on the suggestion of the script because I just blindly used that instead of thinking ;) | 15:07 |
paulproteus | Oh! (-: | 15:07 |
paulproteus | nyergler: We're ready to talk any time starting at 8:20. The conf line is an okay idea, or us ringing your phone and chatting that way. I don't know what our agenda is, exactly. | 15:08 |
paulproteus | I've found http://meetingmix.com/resources/how-to-create-a-meeting-agenda extraordinarily helpful in making agendas. | 15:08 |
greg-g | man, dEd is big, good thing I'm at work doing this. Should this thing cache the downloads? | 15:08 |
paulproteus | Harrumph, on my Debian machine it doesn't quite work for me. | 15:09 |
* paulproteus wonders why and fiddles. | 15:09 | |
paroneayea | nkinkade: ping me when you've got a sec | 15:10 |
greg-g | rafpaf: paulproteus http://paste.mitechie.com/show/43/ | 15:12 |
greg-g | another java issue... I'm looking into it | 15:13 |
nyergler | greg-g, looks like you have a JRE, not a JDK | 15:13 |
paulproteus | /usr/lib/jvm/java-6-openjdk/jre - yup, you need to point the script at a JDK, not a JRE ("development kit" vs "runtime") | 15:14 |
paulproteus | Basically you lack a compiler. | 15:14 |
greg-g | I see | 15:14 |
nyergler | greg-g, er, maybe you just need to set JAVA_HOME to /usr/lib/jvm/java-6-openjdk/ | 15:14 |
nyergler | (since the jdk includes the jre in /jre) | 15:14 |
paulproteus | Ah. | 15:14 |
nkinkade | paroneayea: Here. | 15:16 |
greg-g | here we go again | 15:16 |
paroneayea | nkinkade: hehhhhh. So I was trying to figure out why port 9088 wasn't visible externally | 15:18 |
paroneayea | host = 127.0.0.1 | 15:19 |
* paroneayea facepalms | 15:19 | |
nkinkade | haha | 15:19 |
paroneayea | anyway, http://creativecommons.org:9088/licenses/ | 15:19 |
paroneayea | nyergler: ^^ | 15:19 |
paroneayea | if we want to test paste without the apache & varnish stuff | 15:19 |
paroneayea | we can access it directly from there | 15:20 |
nkinkade | paroneayea: If we want to test it with Apache and Varnish, could we just run it on /chooze, or something like that? | 15:20 |
paroneayea | hm... | 15:21 |
paroneayea | oh | 15:21 |
nyergler | paulproteus, rafpaf, i just emailed you a (lame) agenda for our meeting | 15:22 |
paroneayea | I could mount it under /test_engine/ | 15:22 |
paroneayea | and then it would be like | 15:22 |
paroneayea | /test_engine/choose | 15:22 |
paroneayea | let me try that | 15:22 |
rafpaf | nyergler: i see an email about the meeting time, no problem re that | 15:23 |
nyergler | paroneayea, nkinkade, the other thing i remembered in the shower this morning is that i thought we had talked about using mod_fcgid to run this | 15:23 |
rafpaf | is that what you mean? | 15:23 |
nyergler | so we don't need to worry about process mgmt | 15:23 |
nyergler | rafpaf, i tried to use meeting mix | 15:23 |
nyergler | it claims to have emailed | 15:23 |
paulproteus | Oh, weird! | 15:23 |
paroneayea | nyergler: we could do that | 15:23 |
paulproteus | I've never actually used MeetingMix. | 15:23 |
nyergler | paroneayea, i don't want to throw too many variables in, it just seems like it's a little nicer -- don't need to worry about a watchdog script, init script, etc | 15:24 |
nkinkade | I think what paulproteus refers to as the "Chinese" mod_fcgi is already installed on a5. | 15:24 |
* paulproteus grins wide. | 15:24 | |
nyergler | paulproteus, let's get this call started (see pvt message) | 15:24 |
* greg-g kinda wants you to use open.umich.edu/education resources as test resources to increase our hit count ;) | 15:49 | |
nyergler | greg-g, ideally we'd use something totally bogus, but ND is nice because it's, well, small :) | 15:50 |
greg-g | :) | 15:51 |
greg-g | so, I got the tomcat taking too long to start again error (though, I don't believe it actually waited 20 seconds) but the page is there, broken. | 15:51 |
greg-g | images aren't all loading and it says "hits 1 of 1" but the page is blank under that | 15:52 |
nyergler | greg-g that's actually progress | 15:52 |
greg-g | heh, awesome, glad I could help then :0 | 15:52 |
greg-g | :) | 15:52 |
nyergler | that sounds like our old friend, the ResultHelper | 15:53 |
nyergler | unable to find something on the classpath | 15:53 |
greg-g | well, time to head out for a lunch meeting, back later. | 15:54 |
greg-g | might have to actually work when I get back, though ;) | 15:54 |
nyergler | thanks, greg-g! | 16:06 |
paroneayea | nyergler: nkinkade: you can test ccengine sanity stuff by prepending /test_ccengine/ to the url's path like: http://creativecommons.org/test_ccengine/choose/ | 16:33 |
paroneayea | it's not falling over though | 16:34 |
paroneayea | I'm not sure what was making it fall over | 16:34 |
nkinkade | paroneayea: Are we still facing the 503 issue, or somehow this new URL works and the other doesn't? | 16:34 |
paroneayea | trying to figure out the 503 issue | 16:34 |
paroneayea | I'm routing ccengine sanity through varnish on the /test_ccengine/ url | 16:35 |
paroneayea | nyergler: theory: could it be that if ccengine is busy trying to load an un-cached deed at the same time that you try accessing another URL | 16:37 |
paroneayea | that it gives a 503 from being busy? | 16:38 |
paroneayea | http://vincentfretin.ecreall.com/articles/varnish-guru-meditation-on-timeout | 16:39 |
nyergler | paroneayea, possibly | 16:44 |
nyergler | i wonder if moving it over to FCGI would help with that, let apache manage the pool of worker processes and spin up additional ones if needed | 16:45 |
paroneayea | yeah it probably would | 16:52 |
paroneayea | nyergler: mind if I do one more switchback to sanity running live, but by putting that figure at: | 16:53 |
paroneayea | .first_byte_timeout = 300s; | 16:53 |
paroneayea | just to diagnose things | 16:53 |
paroneayea | see if it falls over | 16:53 |
nyergler | paroneayea, i'm fine with that; i'm actually going to head into the office now | 16:53 |
paroneayea | ok | 16:54 |
nyergler | go ahead and try that, let me know what you find | 16:54 |
paroneayea | well I'm actually about to head to lunch | 16:54 |
nyergler | ok | 16:54 |
paroneayea | so I'll try it when I get back | 16:54 |
nyergler | great | 16:54 |
*** nyergler has quit IRC | 16:54 | |
*** mralex has joined #cc | 16:55 | |
*** jgay has joined #cc | 17:05 | |
*** JED3 has joined #cc | 17:18 | |
*** midoubleko has quit IRC | 17:20 | |
*** midoubleko has joined #cc | 17:20 | |
*** pktck has quit IRC | 17:23 | |
*** pktck has joined #cc | 17:29 | |
*** nyergler has joined #cc | 17:40 | |
nyergler | paroneayea, ping me when you're back from lunch | 17:50 |
*** igorlukanin has quit IRC | 18:01 | |
nyergler | JED3, so is the user registration bug resolved? | 18:03 |
nyergler | (nevermind, just noticed you marked it as such) | 18:03 |
JED3 | nyergler: :) | 18:03 |
nyergler | for some reason I just saw the change note, didn't see the property change in my email... guess i wasn't really paying attention | 18:04 |
greg-g | rafpaf: see my message above about how it went, and just fyi, the whole operation takes 8 minutes on my laptop on 1meg/s wifi | 18:08 |
*** user01 has joined #cc | 18:13 | |
mralex | JED3: is it me or does the Incredible have a non-standard headphone port? | 18:18 |
JED3 | mralex: ?? i used standard headphones yesterday | 18:18 |
mralex | ah, must have been a funny angle or distortion in some pictures | 18:19 |
paulproteus | greg-g: I'm going to be at MSU at a sprint the week of Mon June 14. Will you be free Friday June 18? | 18:23 |
greg-g | lemme see! | 18:23 |
greg-g | paulproteus: yes! | 18:23 |
paulproteus | And is there any chance I could crash near you Thu evening and/or get a ride to DTW Fri? | 18:24 |
greg-g | both, you can crash on my full-size futon and I can give you a ride to DTW on Fri | 18:25 |
paulproteus | ...and can I sit somewhere and work during the day Fri? | 18:26 |
paulproteus | I don't mean to ask for the world; at some point, you're going to start saying "no", but we haven't hit it yet... | 18:26 |
*** pktck has quit IRC | 18:26 | |
greg-g | yep, there is a wifi router in the house (mine) with a convenient SSID of "open" | 18:26 |
greg-g | so, tunnel any sensitive stuff ;) | 18:27 |
greg-g | (like I have to tell you that) | 18:27 |
*** pktck has joined #cc | 18:27 | |
paulproteus | Super rad. Or maybe the mich.edu library (-: | 18:29 |
greg-g | indeed, many many options | 18:29 |
greg-g | (btw, it is umich.edu ;-) ) | 18:30 |
paulproteus | umich.edu, thank you. (-: | 18:31 |
paulproteus | It looked weird to me, but I figured I'd type it and if it was wrong you'd correct it. | 18:32 |
greg-g | :-) | 18:32 |
paroneayea | nyergler: back | 18:33 |
nyergler | paroneayea, ok | 18:33 |
nyergler | i assume you're going to try the first_byte_timeout now? | 18:34 |
paroneayea | yeah | 18:34 |
nyergler | great | 18:34 |
paroneayea | ok, so that stopped varnish from delivering the 503s | 18:38 |
paroneayea | but | 18:39 |
paroneayea | instead pages hang sometimes | 18:39 |
paroneayea | so presumably while rendering a deed or some such thing | 18:39 |
paroneayea | that holds up the rest of the processes | 18:39 |
nyergler | paroneayea, good to know | 18:39 |
nyergler | let's fall back to zope momentarily | 18:39 |
paulproteus | greg-g: Now I will try to plan how I will get from East Lansing to Ann Arbor on Thursday night or Friday morning (pref Thu). | 18:39 |
johnsu01 | paulproteus: ooohh I heart east lansing :) | 18:40 |
nyergler | paroneayea, let's move over to fcgi, see if that gives us more "workers" | 18:40 |
paroneayea | back to zope | 18:40 |
paroneayea | ok | 18:40 |
nyergler | paroneayea, make sense? | 18:40 |
paroneayea | yeah | 18:40 |
paulproteus | Oh johnsu01? (-: What about it? | 18:40 |
johnsu01 | paulproteus: I lived there for ~6 years, good food and bars and blues music | 18:40 |
paulproteus | johnsu01: Neat! I had no idea. | 18:40 |
johnsu01 | paulproteus: well, east lansing + lansing, but they are connected | 18:41 |
paulproteus | Sure (-: | 18:41 |
greg-g | paulproteus: it will just be you, not any other contractors? | 18:41 |
* greg-g should have just used names, like rafpaf :/ | 18:42 | |
paulproteus | (-: | 18:42 |
paulproteus | He'll be with me, too! | 18:42 |
greg-g | cool, he is more than welcome to stay at my place as well | 18:42 |
paulproteus | He's probably flying out Friday daytime (perhaps from DTW, or Flint) to New York. | 18:42 |
paulproteus | We're trying to see if NY and we can carpool in and out, in a story where NY drives south instead of flying out Friday. | 18:43 |
paulproteus | There's also a bus from East Lansing to Ann Arbor! | 18:45 |
paroneayea | nyergler: so what's a good example of the configuration of apache of this "chinese fcgi" | 18:45 |
paroneayea | is it this? | 18:46 |
paroneayea | http://paste.pocoo.org/show/212846/ | 18:46 |
nyergler | paroneayea, yes | 18:51 |
nyergler | and you'll need an fcgi wrapper for the WSGI app | 18:51 |
paroneayea | already figured out how to do that one :) | 18:51 |
nyergler | great | 18:53 |
greg-g | paulproteus: gotcha, well, everyone is free to stay at my place. We actually have a queen, a full, and a full futon in our house, so plenty of sleeping area. Though the full bed and queen bed are in the bedroom so no real privacy (like that matters). (and yes, we have a huge bedroom) | 18:55 |
greg-g | nyergler: ^ | 18:55 |
* paulproteus grins | 18:55 | |
paulproteus | We could just *not* book a hotel at all for three of us (-; | 18:56 |
greg-g | :-) | 18:56 |
paulproteus | Sadly it's 2h RTT (round trip time) to/from an MSU sprint. | 18:57 |
nyergler | lol | 18:57 |
paulproteus | daily, times three days, that is! | 18:58 |
greg-g | right | 18:59 |
greg-g | well, lemme email the other person in the house (her name is Carrie) and see if the open invitation changes if it goes from 1.5 days to 4.5 :) | 18:59 |
paulproteus | greg-g: I really don't think that we're going to do that! | 19:00 |
greg-g | yeah, figured, so I didn't bring that up in the initial email | 19:01 |
greg-g | paulproteus: you know, 2h RTT is normal for many commuters ;) | 19:02 |
paulproteus | My living room is way closer to my bedroom than that. | 19:02 |
rafpaf | hey greg-g, we're thinking about landing in Detroit at 5pm on Monday, June 14 | 19:02 |
greg-g | however, I find those people crazy | 19:02 |
rafpaf | And then moving westward | 19:02 |
greg-g | paulproteus: ;) | 19:03 |
rafpaf | What if we stopped in Ann Arbor and got dinner with you or summat? | 19:03 |
greg-g | rafpaf: sounds fun/good | 19:03 |
*** oshani has quit IRC | 19:10 | |
greg-g | (yay to get togethers!) | 19:11 |
*** oshani has joined #cc | 19:11 | |
paulproteus | That sounds like ticket gathers. | 19:15 |
greg-g | took me a second, and a failed google search, to figure that out, paulproteus | 19:16 |
*** pktck has quit IRC | 19:28 | |
*** pktck has joined #cc | 19:30 | |
nyergler | greg-g, we'll be arriving into DTW Monday, June 14, at 5:30 pm -- maybe we can all stop in A2 for food enroute to LAN | 19:38 |
rafpaf | failed google search. | 19:43 |
greg-g | nyergler: sounds perfect | 19:44 |
greg-g | I'm assuming Piet knows about this event, we should see if he wants in on dinner, but I'm cool with keeping it a CC-insiders only thing ;) | 19:45 |
nyergler | greg-g, that's cool with me; ali and someone else from UM may be joining us in LAN | 19:47 |
greg-g | cool | 19:47 |
*** michi__ has joined #cc | 19:49 | |
*** oshani has quit IRC | 20:01 | |
*** rafpaf has quit IRC | 20:02 | |
*** pyrak has quit IRC | 20:02 | |
*** pyrak has joined #cc | 20:03 | |
*** rafpaf has joined #cc | 20:03 | |
*** oshani has joined #cc | 20:07 | |
*** oshani has joined #cc | 20:09 | |
*** user01 has quit IRC | 20:11 | |
*** erlehmann has joined #cc | 20:17 | |
*** pktck has quit IRC | 20:21 | |
*** balleyne has joined #cc | 20:23 | |
*** pktck has joined #cc | 20:30 | |
*** paulproteus has quit IRC | 20:45 | |
*** michi__ has quit IRC | 20:45 | |
*** paulproteus has joined #cc | 20:56 | |
*** paulproteus has quit IRC | 21:01 | |
*** paulproteus has joined #cc | 21:02 | |
*** paulproteus has quit IRC | 21:07 | |
*** paulproteus has joined #cc | 21:09 | |
*** oshani has quit IRC | 21:10 | |
*** pktck_ has joined #cc | 21:13 | |
*** paulproteus has quit IRC | 21:14 | |
*** pktck has quit IRC | 21:15 | |
*** pktck_ is now known as pktck | 21:15 | |
*** paulproteus has joined #cc | 21:17 | |
*** ludde has quit IRC | 21:25 | |
*** JoiIto has quit IRC | 21:28 | |
*** nyergler has quit IRC | 21:33 | |
*** nyergler has joined #cc | 21:33 | |
nyergler | paroneayea, how are things going? | 21:34 |
paroneayea | nyergler: It turned out to be a bit more tough to make that wrapper than I thought :) | 21:34 |
paroneayea | but I have it made now | 21:34 |
nyergler | :) | 21:34 |
nyergler | awesome | 21:34 |
paroneayea | trying to figure out the apache stuff now. | 21:34 |
nyergler | ok | 21:36 |
*** balleyne has quit IRC | 22:03 | |
*** paulproteus has quit IRC | 22:05 | |
*** paulproteus has joined #cc | 22:10 | |
paroneayea | nyergler: so I added a line to the apache config: | 22:16 |
paroneayea | Alias /new_ccengine /var/www/creativecommons.org/cc.engine_sanity/bin/ccengine.fcgi | 22:16 |
paroneayea | .. but I am getting an error when I try to visit that, and the apache logs say: | 22:16 |
paroneayea | [Tue May 11 17:15:52 2010] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error. | 22:16 |
paroneayea | [Tue May 11 17:15:52 2010] [error] [client 207.229.176.139] Premature end of script headers: ccengine.fcgi | 22:16 |
paroneayea | so presumably I have done something wrong ;p | 22:16 |
* paroneayea 's apache knowledge + fastcgi knowledge both limited | 22:17 | |
nkinkade | paroneayea: Is it possible that what you want is ScriptAlias? | 22:19 |
paroneayea | it could be... I was copying previous code in the file | 22:20 |
paroneayea | no change | 22:20 |
paroneayea | I have to go... I'll continue on this tomorrow | 22:22 |
nyergler | paulproteus, ping | 22:25 |
nyergler | (or rafpaf) | 22:25 |
rafpaf | hey there | 22:25 |
rafpaf | nyergler, what's cookin | 22:26 |
nyergler | hey rafpaf, do you know a way in bash to take a variable (say, a path name) and return it with the slashes escaped? | 22:26 |
nyergler | does that make sense? | 22:26 |
rafpaf | I can only think of sed. | 22:26 |
nyergler | well i want it to be used in sed, | 22:26 |
nyergler | but sed is complaining because there are slashes | 22:27 |
nyergler | ie, i have: | 22:27 |
nyergler | FOO=/home/bar | 22:27 |
nyergler | sed -i "s/blarf/$FOO/g" | 22:27 |
nyergler | and sed complains, presumably because $FOO expands to /home/bar | 22:27 |
rafpaf | nyergler: You can use a different regex escape character | 22:27 |
rafpaf | s,blarf,$FOO will work | 22:27 |
rafpaf | *$FOO, | 22:27 |
nyergler | woah | 22:27 |
rafpaf | (need that trailing comma o' course) | 22:27 |
* nyergler has a head, which may explode | 22:28 | |
nyergler | ok | 22:28 |
nyergler | let me try that | 22:28 |
rafpaf | wisdom courtesy of paulproteus | 22:28 |
rafpaf | splody wisdom | 22:28 |
nyergler | rafpaf, does that mean you don't have to escape the slashes? | 22:28 |
nyergler | (er, obviously?) | 22:28 |
rafpaf | I believe so | 22:28 |
rafpaf | yep | 22:29 |
rafpaf | echo "a" | sed 's,a,b,' | 22:29 |
rafpaf | outputs "b" | 22:29 |
mralex | woah | 22:29 |
nyergler | yeah | 22:29 |
nyergler | i think that actually worked | 22:29 |
nyergler | amazing | 22:29 |
nyergler | thanks, rafpaf | 22:29 |
mralex | is that sed only, or perl-regex compatible? | 22:29 |
rafpaf | mralex: not sure | 22:30 |
*** Yaco has joined #cc | 22:30 | |
Yaco | hi! | 22:30 |
Yaco | how can i contact the people manteining the CC website? | 22:30 |
nyergler | Yaco, we're here :) | 22:30 |
mralex | you just did | 22:30 |
Yaco | hehe | 22:30 |
Yaco | great | 22:30 |
Yaco | great | 22:30 |
paulproteus | Commas are pretty idiomatic in Debian-land. | 22:31 |
paulproteus | echo yourmom | sed s,your,my, | 22:31 |
paulproteus | (-: | 22:31 |
* paulproteus is heavily lag'd | 22:31 | |
rafpaf | That's how Debian developers deal with yourmom jokes | 22:31 |
Yaco | nyergler, mralex | 22:31 |
Yaco | the .ar cc by sa page is not full translated in spanish: http://creativecommons.org/licenses/by-sa/2.5/ar/ | 22:32 |
nyergler | Yaco, translations are handled by our volunteers | 22:32 |
nyergler | if you want to suggest additional, missing strings, you can do so at http://translate.creativecommons.org/ | 22:33 |
Yaco | good | 22:33 |
nyergler | the translations often fall behind | 22:33 |
nyergler | right now your suggestions will need to be approved by the org handling CC AR | 22:33 |
nyergler | we're working on lifting that impediment | 22:33 |
nyergler | (probably move to the new translation system in the next couple months) | 22:33 |
Yaco | that will be nice nyergler | 22:34 |
nyergler | yes, it will :) | 22:34 |
Yaco | CC AR org is pretty bad and closed | 22:34 |
nyergler | :/ | 22:34 |
nyergler | rafpaf, paulproteus, I think I have gimme-discovered updated to build everything in `pwd` | 22:35 |
paulproteus | nyergler: Super rad! | 22:35 |
rafpaf | awesome | 22:35 |
nyergler | your combined bash-foo may be able to handle my other complaint quickly | 22:35 |
paulproteus | I hope to continue to provide you trash code that totally works, and give you the honor of making it something you're willing to let the world see. | 22:35 |
paulproteus | (-: | 22:35 |
nyergler | how to test if the discovered db already exists | 22:35 |
paulproteus | Oh man, that's tougher. | 22:36 |
nyergler | (i REALLY hate DROP DATABASE IF EXISTS) | 22:36 |
paulproteus | (-: | 22:36 |
paulproteus | <trash>if [ -d /var/lib/mysql/$dbname/ ] ; then echo exists; else echo does not ; fi</trash> | 22:36 |
*** erlehmann has quit IRC | 22:36 | |
* nyergler sighs | 22:36 | |
paulproteus | You'd want to query MySQL programmatically and get the results back. | 22:36 |
nyergler | i'm thinking mysql -c SHOW DATABASES; | grep $DED_DB_NAME | <something to see if grep found antyhign> | 22:37 |
paulproteus | Sure | 22:37 |
paulproteus | if mysql -c SHOW DATABASES; | grep -q $DED_DB_NAME; then echo yes ; else echo no; fi | 22:37 |
paulproteus | Your way is slower, though! Way more forking. | 22:38 |
nyergler | oh well | 22:38 |
nyergler | ;) | 22:38 |
nyergler | i think we can afford a few forks | 22:38 |
paulproteus | Also messier IMHO; more vulnerable to accidental shell code injection. | 22:38 |
nyergler | (insert cutlery joke here) | 22:38 |
nyergler | it doesn't need to be $DED_DB_NAME, just don't want it dropping w/o asking | 22:38 |
* paulproteus nods. | 22:39 | |
*** pktck has quit IRC | 22:49 | |
*** pktck has joined #cc | 22:50 | |
Yaco | Hi again | 22:52 |
Yaco | who is the leader of CC Education? | 22:52 |
nyergler | there isn't a dedicated education "leader" -- it's a core focus for CC | 22:53 |
Yaco | i see | 22:53 |
Yaco | any referent of CC in that field? | 22:53 |
nyergler | i'm not sure what you mean | 22:54 |
Yaco | i mean | 22:54 |
Yaco | someone in CC staff working in that field | 22:54 |
nyergler | there are several of us involved with different education/OER projects; myself, Eric Steuer, others | 22:55 |
nyergler | paulproteus, I assume your hardcoded db config reversion is in your with-testing branch? | 22:55 |
paulproteus | Yeah. | 22:55 |
paulproteus | If rafpaf pushes, then every TripleStore.get() now grabs a TripleStore instance from our "QuadStore" class. | 22:56 |
paulproteus | Muahaha, our quadstore class. | 22:56 |
rafpaf | pusht | 22:56 |
nyergler | paulproteus, cool, i'm going to try and finish the db detection | 22:57 |
paulproteus | Hooray! | 22:57 |
nyergler | then push that code, | 22:57 |
nyergler | i think we'll be ready to test, update wiki, merge | 22:57 |
nyergler | the issue with results aborting is at least related to conf file not found, so makes sense to tackle that first, i think | 22:57 |
paulproteus | Yeah, sounds great to me. | 22:57 |
rafpaf | nyergler: I have a small question about Feed.lastImport | 23:06 |
nyergler | rafpaf: shoot | 23:06 |
rafpaf | There's a line of code that goes like this if (... feed.getLastImport().before( calendar.getTime() )) | 23:06 |
nyergler | right | 23:06 |
rafpaf | How could a feed fail this test? (Are there feeds imported in the future?) | 23:07 |
paulproteus | Easy. We're not crawling feeds that were last imported in the future. | 23:07 |
* paulproteus cracks himself up. | 23:07 | |
nyergler | rafpaf, i don't recall what calendar is right there | 23:07 |
nyergler | assuming it's not a Class since it's not capped | 23:07 |
nyergler | is it now + x period? | 23:07 |
nyergler | er, tell me where that is and i'll look myself | 23:08 |
* paulproteus looks for the line | 23:08 | |
nyergler | (just tell me what file it's in and i can look, too) | 23:08 |
paulproteus | Line 87, calendar.add(Calendar.DATE, -1) # org.creativecommons.org.learn.aggregate.Main | 23:09 |
paulproteus | ded/src/java/org/creativecommons/learn/aggregate/Main.java | 23:09 |
nyergler | i don't remember why that's -1 | 23:09 |
nyergler | oh, right | 23:10 |
nyergler | it's a day ago | 23:10 |
paulproteus | *Oh*, right, okay. | 23:10 |
paulproteus | Great. | 23:10 |
nyergler | so that it's making sure it's been at least 24 since import | 23:10 |
* paulproteus nods. | 23:10 | |
nyergler | admittedly, my variable names could be less cunningly chosen | 23:11 |
nyergler | paulproteus, rafpaf: btw, gimme-discovered clearly does not wait 20 second before barfing | 23:16 |
nyergler | ideas about why that might be? | 23:16 |
paulproteus | nyergler: OH! | 23:16 |
paulproteus | That's my netcat snippet. | 23:16 |
paulproteus | But it fails immediately, of course. | 23:16 |
nyergler | yes :) | 23:16 |
paulproteus | -z and -w interact poorly | 23:16 |
paulproteus | Better is to have a loop, where we retry the "nc -z localhost $port" up to N times, running "sleep 1" inside the loop. | 23:17 |
*** midoubleko has quit IRC | 23:17 | |
paulproteus | The N is the number of seconds. | 23:17 |
paulproteus | I/we can do that, if that's not your bag. | 23:17 |
paulproteus | In fact, I can try doing it shortly (within 5 min) and pushing. | 23:18 |
nyergler | paulproteus, why don't you wait until i push my work | 23:18 |
paulproteus | b | 23:18 |
nyergler | i think i'm close to wrapping up my portion | 23:19 |
nyergler | greg-g, you around (and interested in testing something?) | 23:22 |
nyergler | paulproteus, i pushed my changes | 23:24 |
*** pktck has quit IRC | 23:32 | |
*** pktck has joined #cc | 23:34 | |
*** everton137 has joined #cc | 23:36 | |
*** pktck has quit IRC | 23:52 | |
*** JoiIto has joined #cc | 23:58 | |
*** JoiIto has left #cc | 23:58 |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!