paulproteus | http://wiki.laptop.org/go/Special:Version | 00:09 |
---|---|---|
paulproteus | http://wiki.creativecommons.org/Form:ContentDirectory | 00:12 |
*** femslade has joined #cc | 00:13 | |
paulproteus | http://wiki.creativecommons.org/Form:ContentDirectory | 00:13 |
paulproteus | http://wiki.creativecommons.org/index.php?title=Form:ContentDirectory&action=edit | 00:13 |
paulproteus | http://wiki.creativecommons.org/Special:CreateForm | 00:14 |
*** davidstrauss has quit IRC | 00:14 | |
paulproteus | http://www.ardorado.com/Wiki - femslade, let me talk to you about thi | 00:19 |
paulproteus | s | 00:19 |
paulproteus | http://wiki.creativecommons.org/Special:CreateProperty | 00:24 |
paulproteus | If you want this field to only be allowed to have certain values, enter the list of allowed values, separated by commas (if a value contains a comma, replace it with "\,"): | 00:27 |
paulproteus | asheesh at creativecommons | 00:42 |
paulproteus | (dot orgy) | 00:42 |
paulproteus | HeaderTabs | 00:44 |
*** ereslibre has joined #cc | 00:44 | |
*** jgay has joined #cc | 00:45 | |
jibot | jgay is http://www.gnu.org/people/speakers.html#Gay | 00:45 |
is4 | hey jgay | 00:46 |
jgay | is4: how's it going? | 00:48 |
jgay | nice shortening of the name | 00:48 |
jgay | what are you up to? | 00:48 |
*** Bovinity has quit IRC | 00:48 | |
is4 | Talking with asheesh about semantic mediawiki and magic pixie dust | 00:48 |
jgay | is4: that is fun. I just sent an email to the FLOSSManuals discussion list suggesting that people talk to ccLearn and to discuss RDFa | 00:51 |
jgay | is4: are you talking to asheesh in person, or on here? | 00:52 |
is4 | Phone | 00:52 |
is4 | And was passing links here. | 00:53 |
*** cacimar has joined #cc | 00:53 | |
*** femslade has quit IRC | 00:53 | |
jgay | is4 where are you working from right now? | 00:55 |
is4 | The boardroom at 1cc | 00:56 |
jgay | is4: fun. What is the subject of tonights work? | 00:56 |
is4 | I think that conversation is roughly over. | 00:56 |
* paulproteus read "bedroom" not "boardroom" | 00:56 | |
paulproteus | is4, You and Francesca want Semantic Google Maps and also Header Tabs. | 00:57 |
jgay | is4: ahh, ok. If you want to play with an instance of SMW, feel free to use my instance | 00:57 |
paulproteus | I'd tell you to use Semantic Layers if it were more ready/maintained. | 00:57 |
is4 | I am going to work on writing the content for some Ethiopia stuff, and then start working on the Manuals stuff | 00:57 |
is4 | semantic google maps? | 00:58 |
jgay | I'm going to read a Philip Roth book and feel at one with the earth after nearly dying of dehydration and strain from power yoga. | 00:58 |
paulproteus | is4, Yes - Francesca wanted automatic maps on the wiki. | 00:58 |
jgay | paulproteus: I think we are doing something similar for SMW, but not with Google maps -- with a free software solution. | 00:59 |
jgay | at the FSF | 00:59 |
paulproteus | That's Semantic Layers. | 00:59 |
is4 | Semantic Layers? | 00:59 |
paulproteus | It's unmaintained. | 00:59 |
paulproteus | It uses OpenLayers. | 00:59 |
is4 | jgay how close are you to OSM and OpenAerialMaps? | 01:00 |
is4 | They rock | 01:00 |
paulproteus | OL is nice and Free Software maps and what we use at learn.creativecommons.org. | 01:00 |
is4 | we need more contribution/training for contribution for them | 01:00 |
paulproteus | But you'd need OSM/OAM integration. | 01:00 |
paulproteus | Semantic Layers doesn't have that, and is4 has bigger fish to fry than hooking up Semantic Layers to other data sets imho. | 01:00 |
jgay | is4: Mako has a friend who does lots with OSM, I can't remember his name, but he's around here and would probably be excited any way he can. | 01:00 |
paulproteus | jgay, crschmidt | 01:00 |
is4 | Actually josh, you and I need to hang out and talk about this outreach/discovery/factoring structure SJ and I have been talking about. | 01:01 |
jgay | yeah, that's it | 01:01 |
jgay | is4: is that the same stuff SJ and I have been talking about hte last six months? | 01:01 |
jgay | is4: that might be OK. Philip Roth might be too deep. We could just have a how to change the world discussion so as to bring my night down a notch. | 01:02 |
is4 | I really want OSM/OAM on the XO | 01:02 |
jgay | is4: The main interface is Flash, though, right? Does it work with gnash? | 01:03 |
is4 | Yes, rsayove is working on it | 01:03 |
is4 | I *think* that it does in the latest gnash | 01:03 |
jgay | oh, good. | 01:03 |
is4 | There are two or three small elements left. | 01:03 |
is4 | We don't want to ship until it's totally Free/open compliant, since it's not far off, very much worth doing. | 01:04 |
* jgay hates flash | 01:05 | |
jgay | I guess Adobe hate me, so it evens out. | 01:06 |
paulproteus | I think that the hatred of Flash in the Free World may be overstated given the beginnings of successful swfdec and Flash. | 01:06 |
is4 | jgay: you need to come by and discuss out super awesome idea structure before we propose it as a job description to Kim next week. | 01:07 |
jgay | is4: who is applying for the job? | 01:08 |
jgay | paulproteus: i guess we were using xplanet for maps. Nothing special. | 01:08 |
is4 | We're trying to describe the job first, and then I think I am going to do it. | 01:09 |
is4 | But we need to get it on the budget first. | 01:09 |
is4 | We're going to cbc if you wanna come | 01:10 |
jgay | is4: I mine as well. Do you ever turn your cell phone on, I think I have it. | 01:10 |
is4 | I need to buy some minutes for it. | 01:11 |
is4 | I'm in the conference room | 01:11 |
is4 | 'i mine as well'? | 01:11 |
jgay | I'll see you there in a bit, i just finished my tea, and I guess philip roth can wait -- this better be a worthwhile discussion, 'cause this is a good book | 01:11 |
jgay | come to cbc | 01:11 |
is4 | yay! | 01:11 |
jgay | Want to just wait at Kendall for me so that we can walk over together? | 01:12 |
jgay | I'm going to leave Davis as soon as I sign off, then I can meet you by the benches. | 01:12 |
jgay | paulproteus: are you going to OSCON? | 01:12 |
paulproteus | jgay, Yes, but I'll be away for 30m or so. | 01:12 |
is4 | eta to kendall | 01:13 |
jgay | paulproteus: OK, if I don't talk to you sooner, see you at OSCON | 01:13 |
jgay | is4: 15 minutes | 01:13 |
paulproteus | Okay, great! | 01:13 |
jgay | I'll meet you by the benches in front of marriott | 01:13 |
jgay | is4: wait, I have a car, I forgot that I drove. I'll just drive down and meet you at CBC, OK? | 01:14 |
*** [mharrison] has joined #cc | 01:14 | |
is4 | ? | 01:14 |
jgay | is4: I drove to Davis, I forgot. | 01:15 |
jgay | is4: I'm just going to drive down to CBC, unless you want me to pick you up and then drive over. | 01:15 |
is4 | Francesca is going home real fast and is going to meet us at kendell in 15 | 01:15 |
is4 | so it might be easier for you to do that too? | 01:15 |
is4 | Or you can drive, no biggie. | 01:15 |
jgay | is4: I have my car, so I'd rather drive than just leave it. I can park over by Kendel though and we can wait for Francesca | 01:16 |
is4 | That works | 01:16 |
is4 | ++ | 01:16 |
is4 | Doubleplussgood | 01:16 |
jgay | OK, see you there in a bit. I drive a silver honda civic | 01:16 |
jgay | 4 door | 01:16 |
*** jgay has quit IRC | 01:19 | |
*** ereslibre has quit IRC | 01:34 | |
*** jgay has joined #cc | 02:05 | |
jibot | jgay is http://www.gnu.org/people/speakers.html#Gay | 02:05 |
jgay | is4: are you around? I'm sitting outside, illegally parked, for like 20 minutes now | 02:06 |
jgay | this is totally worse than reading philip roth | 02:07 |
jgay | is4: I'll go to cbc and see if you were just confused by the plans. If you are there I will proceed to be angry at you. Make you purchase me food and or beverage and then leave. | 02:11 |
*** jgay has quit IRC | 02:11 | |
*** davidstrauss has joined #cc | 02:25 | |
jibot | davidstrauss is "P" and not "P" | 02:25 |
*** grahl has quit IRC | 02:37 | |
*** cacimar has quit IRC | 03:14 | |
*** davidstrauss has quit IRC | 03:54 | |
*** pmiller has quit IRC | 04:19 | |
*** is4 has quit IRC | 05:00 | |
*** is4 has joined #cc | 05:05 | |
*** Bovinity has joined #cc | 05:58 | |
jibot | Bovinity is brilliant and aware of Basement Cat, and iz not afraid. | 05:58 |
*** CharelB has quit IRC | 06:01 | |
*** CharelB has joined #cc | 06:02 | |
*** hdworak has joined #cc | 06:21 | |
hdworak | re :) | 06:22 |
*** BobChao has joined #cc | 07:51 | |
*** CharelB has quit IRC | 08:01 | |
*** [mharrison] has quit IRC | 08:07 | |
* hdworak has done minor improvements to the Wiki page | 08:12 | |
*** [mharrison] has joined #cc | 08:12 | |
*** Bovinity has quit IRC | 09:05 | |
*** BobChao has quit IRC | 09:27 | |
*** hdworak has quit IRC | 09:53 | |
*** hdworak has joined #cc | 09:54 | |
*** kristallpirat has joined #cc | 10:14 | |
*** hdworak has quit IRC | 10:19 | |
*** ankitg has joined #cc | 10:25 | |
*** ankitg has quit IRC | 10:34 | |
*** hdworak has joined #cc | 10:42 | |
*** ankitg has joined #cc | 10:42 | |
*** is4 has quit IRC | 10:46 | |
*** ankitg has quit IRC | 11:07 | |
*** is4 has joined #cc | 11:19 | |
*** ankitg has joined #cc | 11:19 | |
*** K`Tetch has quit IRC | 11:23 | |
*** is4 has quit IRC | 11:25 | |
*** kristallpirat has quit IRC | 11:31 | |
ankitg | Howdy hdworak =) | 11:59 |
hdworak | hi, ankitg | 12:09 |
hdworak | what's up? | 12:09 |
hdworak | :) | 12:09 |
hdworak | "Microsoft would buy Yahoo!'s search business and Icahn would take the rest of the company. Yahoo! was given one day to respond." | 12:10 |
hdworak | :D | 12:10 |
ankitg | O_o | 12:10 |
ankitg | deja vu? | 12:11 |
hdworak | "This odd and opportunistic alliance of Microsoft and Carl Icahn has anything but the interests of Yahoo's stockholders in mind," Yahoo Chairman Roy Bostock said in the statement. | 12:11 |
hdworak | ah, source is http://www.bloggingstocks.com/2008/07/13/microsoft-msft-makes-another-offer-for-yahoo-with-icahn/ | 12:13 |
* ankitg goes back to tinkering with the logs ... | 12:13 | |
* ankitg is worried about the efficiency of his code given the size of the logs ... | 12:20 | |
hdworak | :) | 12:25 |
hdworak | use C++ then | 12:25 |
hdworak | http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=python&lang2=gpp | 12:26 |
*** is4 has joined #cc | 12:31 | |
ankitg | hdworak: everything else is in Python / Shell Script ... if I had a choice, I'd probably opt for PERL + Sh ... there are already PERL modules for log analysis of Apache Combined Format logs ... | 12:31 |
hdworak | http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=perl&lang2=gpp | 12:32 |
ankitg | actually PERL alone would also work ... | 12:33 |
hdworak | Perl vs Python seems tied on shootout | 12:33 |
ankitg | it's not the language, it's what my code is doing ... >.< | 12:34 |
hdworak | yes, I imagine there are libraries or software that would make it easier for you to write that in another language | 12:35 |
hdworak | though you have been worried about the efficiency which I have interpreted as the memory and CPU usage of your software given a large data set | 12:36 |
hdworak | in this regard, C++ would show advantage over Perl of Python, which are interpreted languages | 12:37 |
ankitg | it's to scan the dir for gz files ... unpack and read the contents .. then iterate through the contents, line by line ... and pick out stuff like the license info, inferred from the image being accessed ... put this in a new list which is used to generate stats / metrics ... the problems is CPU usage as the files can be HUGE ... a small 18 MB gz file unpacks to a 211 mb text file ... | 12:37 |
ankitg | and there are gzipped files that go as big as a couple hundred megs ... | 12:38 |
hdworak | Perl has existed since 1987 and Python since 1991, nonetheless Quake was written in C :) | 12:38 |
hdworak | I understand | 12:39 |
hdworak | would be cool if that could work pararell | 12:39 |
hdworak | parallel even | 12:39 |
hdworak | multithreading in C++ - that would be cool :) | 12:40 |
ankitg | ... almost everything at CC is python / shell scripted AFAIK ... then again, I know very little ... | 12:40 |
hdworak | yes, indeed - Python has its heyday there | 12:41 |
hdworak | :) | 12:41 |
hdworak | but then again, how many of ccTools applications are performance-critical ? | 12:42 |
hdworak | IMHO they are just using the right language for the right purpose | 12:43 |
ankitg | hmmm ... I guess "import psycho" and some changes to the code logic plus running it on EC2 will make it OK ... | 12:44 |
hdworak | :) | 12:47 |
is4 | Oh wow... network.http.piplining != good idea... | 12:48 |
hdworak | pipelining even | 12:49 |
hdworak | :) | 12:49 |
hdworak | mine is false | 12:49 |
* ankitg will go hunting for the buffered file reader for GZip module once he is done with this occurrence counter thingumajig ... | 12:51 | |
*** kristallpirat has joined #cc | 12:56 | |
*** BobChao has joined #cc | 13:07 | |
*** hdworak has quit IRC | 13:21 | |
*** is4 has quit IRC | 13:22 | |
*** tvol has joined #CC | 13:38 | |
* ankitg is going to try and use directories (hash-maps) for efficiency ... | 14:09 | |
*** K`Tetch has joined #cc | 14:09 | |
*** hdworak has joined #cc | 14:27 | |
*** adjohn has joined #cc | 14:35 | |
*** jgay has joined #cc | 16:15 | |
jibot | jgay is http://www.gnu.org/people/speakers.html#Gay | 16:15 |
* ankitg is finding non-existant urls in the log entries ... these are messing up his script ... )-: | 16:43 | |
paulproteus | ankitg, If you need help with your code let me know! | 17:04 |
paulproteus | Like show me svn commits and I'll give you patches! | 17:04 |
paulproteus | That's, like, a big part of the point of mentoring. | 17:04 |
ankitg | paulproteus: all is well thanks =) ... just noticed for i.creativecommons.org /l/by-nd/2.1/jp/88x31.png == /l/by-nd///2.1//jp///88x31.png ... the number of "/" is insignificant ... | 17:05 |
paulproteus | ankitg, Yes - you can use os.path.join() to avoid such problems. | 17:05 |
paulproteus | In a way. | 17:05 |
ankitg | I am assuming that kills all the "/" which I was using as delimiters hitherto ... anyways that is trivial ... | 17:06 |
paulproteus | ankitg, In all seriousness, is your code in svn? | 17:06 |
ankitg | BTW, Good Morning (-: | 17:06 |
paulproteus | Morning (-: | 17:06 |
paulproteus | (or git) | 17:07 |
paulproteus | and if not, can we move it there? | 17:07 |
ankitg | it is not ... yet. | 17:07 |
paulproteus | I'd *really* appreciate being able to see what you're doing. | 17:07 |
ankitg | I'd really like that too ... | 17:07 |
paulproteus | So I guess you can choose - is git okay? If not, we can do svn. | 17:07 |
paulproteus | Either way I need a public SSH key and we'll give you a repository. | 17:08 |
ankitg | since I am a mac, it should be a simple terminal command ... | 17:08 |
*** BobChao has quit IRC | 17:10 | |
paulproteus | (one sec) | 17:10 |
* ankitg is generating SSH key ... | 17:10 | |
ankitg | okie, I have the DSA keys now ... | 17:14 |
*** jgay has quit IRC | 17:14 | |
paulproteus | (a) can you regenerate using RSA keys actually? | 17:16 |
paulproteus | (b) one sec (-: | 17:16 |
ankitg | (a) Yes, I can. | 17:16 |
ankitg | (b) okie, waiting (-: | 17:17 |
*** Bovinity has joined #cc | 17:18 | |
jibot | Bovinity is brilliant and aware of Basement Cat, and iz not afraid. | 17:18 |
*** BobChao has joined #cc | 17:32 | |
paulproteus | Okay, hi ankitg. | 17:34 |
paulproteus | What would you like your git repository to be called? | 17:34 |
paulproteus | We'll call it ankitstats for now if you have no better ideas. | 17:35 |
paulproteus | hdworak, You need review still I presume. | 17:35 |
ankitg | hmmm ... Loggy or something :P | 17:35 |
paulproteus | "loggy" is a fine name. | 17:35 |
ankitg | :D | 17:36 |
ankitg | it's short for "that log analysis thingamajiggy" =) | 17:37 |
*** K`Tetch_US has joined #cc | 17:39 | |
hdworak | hi paulproteus :) | 17:41 |
ankitg | No review for hdworak ... request timed out. :P | 17:41 |
hdworak | I've lagged with the project until the midterm, so I'm in no position to hurry you up | 17:41 |
paulproteus | hdworak, Well, whatevs, let's see what we can do. | 17:41 |
paulproteus | So I get new errors: | 17:41 |
hdworak | excess flood | 17:42 |
paulproteus | http://cc.pastebin.com/m2e3d126e | 17:42 |
hdworak | smart | 17:42 |
paulproteus | ankitg, Either paste ~/.ssh/id_rsa.pub into a private message, or email it to me (or put it on the web/a pastebin). | 17:42 |
hdworak | paulproteus: sorry, but I'm not able to reproduce | 17:44 |
hdworak | anyway, did the buildout go fine? | 17:44 |
hdworak | has it downloaded all the dependencies? | 17:45 |
paulproteus | hdworak, The buildout did go fine. | 17:45 |
hdworak | as for the pasted errors, I may only think this is a bug dependent on a library version, be it pyRdfa, rdflib or sparql | 17:46 |
paulproteus | hdworak, I think you may have system packages installed which prevent you from having buildout get the dependencies. | 17:46 |
paulproteus | In which case, that's fine - just tell me which system packages to install. | 17:46 |
paulproteus | (Later we can fix your buildout thing too.) | 17:46 |
hdworak | what is there to fix? the required versions of the libraries? | 17:46 |
paulproteus | I... don't know? | 17:47 |
paulproteus | Your code runs on your computer. Tell me what I need on an Ubuntu 8.04 machine or Debian sid machine (or any other Free OS) to make it run on mine. | 17:47 |
paulproteus | ankitg, Okay, do you have a directory with your code in it? | 17:47 |
paulproteus | Let's import it to git and then have you keep committing and pushing. | 17:47 |
hdworak | >>> import pyRdfa, rdflib | 17:48 |
ankitg | erm, that can be arranged ... let me setup a dir [all my code is presently "on the cloud"] ... | 17:48 |
hdworak | >>> print "%s %s"%(pyRdfa.__version__, rdflib.__version__) | 17:48 |
hdworak | 2.0 2.4.0 | 17:48 |
hdworak | what is your output? | 17:48 |
paulproteus | ankitg, Er, what do you mean on the cloud? | 17:48 |
paulproteus | hdworak, http://cc.pastebin.com/m4dc990a7 | 17:49 |
paulproteus | ankitg, Honest question. | 17:49 |
hdworak | paulproteus: you have "This is an ealy alpha version or rdflib." | 17:49 |
hdworak | please do | 17:49 |
hdworak | easy_install -U 'rdflib<3a' | 17:49 |
ankitg | paulproteus: "on the cloud" = having an online copy which is accessible from anywhere ... usually accompanied by a local copy on one machine ... | 17:50 |
paulproteus | (I'm using the ./bin/python from your buildout'ed dir, btw) | 17:50 |
hdworak | ... downgrade to 2.4.0 | 17:50 |
paulproteus | ankitg, Yes - I just don't know the details of your setup. | 17:50 |
paulproteus | I know what on the cloud generally means. | 17:50 |
ankitg | ah, my bad ... thot you wanted the general meaning when you said "honest question" ... | 17:51 |
paulproteus | Oh, no, I just mean I'm not flaming you for using the term. | 17:51 |
ankitg | that's a relief ... | 17:52 |
*** K`Tetch has quit IRC | 17:53 | |
paulproteus | hdworak, Your tests pass; going to read them now. | 17:54 |
paulproteus | I'm going to also figure out what buildout/setup.py changes are necessary. | 17:54 |
hdworak | well, I know there is a very simple way to tell it that we need version >2 and <3 | 17:54 |
hdworak | >=2 that is | 17:54 |
paulproteus | <3a should be fine for you. | 17:54 |
hdworak | I'm just googling for that, but I've seen that before | 17:54 |
paulproteus | Based on my tests you can just modify setup.py and leave buildout.cfg alone. | 17:55 |
paulproteus | - 'rdflib', | 17:55 |
paulproteus | + 'rdflib<3a', | 17:55 |
paulproteus | Doing that to setup.py avoids the failure I had. | 17:55 |
paulproteus | hdworak, Why the self.rdfa = <bunch of string and regex operations> ? | 17:56 |
hdworak | this is how I define class-wide variables (fields) | 17:57 |
hdworak | maybe it can be done easier, say outside the constructor | 17:57 |
paulproteus | hdworak, Right, but why the bunch of string + regex operations? | 17:57 |
hdworak | but I'm new to Python | 17:57 |
paulproteus | No, that part you're doing right. | 17:57 |
paulproteus | BTW, I Approve. | 17:57 |
hdworak | oh, 'cause I do not want whitespace to interfer with the results | 17:57 |
hdworak | that was when I was testing for graph isomorphism | 17:58 |
paulproteus | Oh, I see. | 17:58 |
hdworak | now I'm not doing it, so it's not that critical | 17:58 |
*** K`Tetch_US has quit IRC | 17:58 | |
paulproteus | I may give more detailed feedback on a non-weekend, but I'm satisfied with this. | 17:58 |
hdworak | I've even removed the rdfdiff.py for the time being | 17:58 |
ankitg | paulproteus: okie, I have a folder | 17:58 |
hdworak | paulproteus: so I have passed the GSoC midterm? | 17:58 |
paulproteus | hdworak, As far as the code goes, yes. I haven't filled out the form, but I expect no problems. | 17:58 |
hdworak | okay, thank you very much | 17:59 |
paulproteus | ankitg, Cool, do you have git installed on your Mac? | 17:59 |
paulproteus | Sure - now keep going (-: | 17:59 |
hdworak | tried my best :) | 17:59 |
ankitg | I don't think so ... but that can be arranged ... | 17:59 |
hdworak | now I'm gonna look for a way to tell the required version | 17:59 |
hdworak | and push that to the repo | 17:59 |
paulproteus | Great, how about you do that. | 17:59 |
paulproteus | hdworak, I think you can use =2.4.0 | 17:59 |
hdworak | right | 17:59 |
paulproteus | ==2.4.0 rather | 17:59 |
hdworak | I think is the way it is done | 18:01 |
hdworak | you type "== 2.4.0" next to the egg | 18:01 |
hdworak | sorry, e\gg | 18:01 |
hdworak | I'm gonna give it a try now | 18:01 |
paulproteus | lol! re: e\gg | 18:01 |
hdworak | :D | 18:01 |
hdworak | yeah, first try was == 2.4.3, it complained it could not such version | 18:03 |
hdworak | now it goes smoothly when I changed to == 2.4.0 | 18:03 |
*** rejon has joined #cc | 18:03 | |
jibot | rejon is a killer MC from staten island and is the 10th member of the wutang clan and http://www.rejon.org/ | 18:03 |
hdworak | ok, I've pushed that to the Git repo, setup.py also patched | 18:05 |
* ankitg is downloading git ... 113.94 MB @ 12 Kbps ... | 18:05 | |
* ankitg wonders if email is better option :P | 18:05 | |
paulproteus | That's somewhat hilarious. | 18:05 |
paulproteus | And somewhat tragic. | 18:05 |
hdworak | I'm gonna check the Git dl speed here | 18:06 |
paulproteus | ankitg, Let me know if you want me to sanity-check the way you're getting git so that you don't have to waste time. | 18:06 |
ankitg | paulproteus: http://metastatic.org/text/Concern/2007/08/18/git-package-for-mac-os-x/ | 18:06 |
hdworak | 300 KiB/s - my ISP capped dl limit | 18:07 |
ankitg | oh newer package is 51 MB ... | 18:07 |
hdworak | so it must be your connection, ankitg | 18:07 |
paulproteus | ankitg, Okay, that should be fine. | 18:08 |
hdworak | I'll try to have XHTML 1.1 + RDFa in Genshi | 18:09 |
hdworak | but the main dev is back on Monday | 18:09 |
hdworak | so far I've filled a ticket: http://genshi.edgewall.org/ticket/248 | 18:09 |
ankitg | hmmm ... I started the newer package in a download manager ... it's smaller and "maybe works with leopard" ... O_o | 18:09 |
paulproteus | ankitg, Can you/do you use DarwinPorts? | 18:09 |
hdworak | if it passes, I think of doing the front-end to the validator in XHTML 1.1 + RDFa | 18:09 |
hdworak | instead of XHTML 1.0 Strict | 18:09 |
paulproteus | ankitg, http://code.google.com/p/git-osx-installer/ ? | 18:10 |
ankitg | I could ... | 18:10 |
ankitg | sweet ... awesome .. it's just 3 MB ... | 18:11 |
ankitg | and it's done @ 308 Kbps ... | 18:12 |
hdworak | :] | 18:12 |
ankitg | that server was slow ... | 18:12 |
hdworak | nice | 18:12 |
ankitg | paulproteus: okie, it claims to have been installed ... | 18:14 |
paulproteus | ankitg, Cool, when you run "git help" in the Terminal do you get a list of commands? | 18:15 |
paulproteus | If so, then git is installed and usable. | 18:15 |
ankitg | nope nothing ... )-: | 18:15 |
paulproteus | Well, then can I ask you to figure it out? (-: | 18:16 |
ankitg | will do $something | 18:16 |
Bovinity | git installs from the source on OS X | 18:16 |
Bovinity | also, morning all | 18:16 |
paulproteus | Howdy Bovinity. | 18:16 |
ankitg | paulproteus: okie, I got it running ... | 18:18 |
paulproteus | And in the meantime I got read the Libertarian wankings of some Ruby programmer and git fan. | 18:18 |
paulproteus | Woo-hoo. | 18:18 |
ankitg | I have the list of commands showing up and all .. | 18:18 |
paulproteus | ankitg, Okay, so change directory into the place with your source. | 18:18 |
paulproteus | BTW, do you have experience with other version control tools? | 18:19 |
ankitg | I've used SVN (tortoise in windows) ... nothing yet really on the mac ... | 18:19 |
paulproteus | Okay, cool. | 18:19 |
paulproteus | With git, every checkout (git calls it "clone") contains a full version of the repository. | 18:20 |
ankitg | okie, I am in loggy ... | 18:20 |
paulproteus | Would you go through http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html and create a git repository in your directory, and add your files to it? | 18:22 |
paulproteus | That page is a pretty good git tutorial, actually - you would do well to go through as much of it as you can. | 18:22 |
ankitg | will do ... | 18:22 |
ankitg | I'd just like to find a sort of buffered file reader and update the code with that before committing ... | 18:23 |
paulproteus | Python's default file reader is buffered. | 18:24 |
paulproteus | But no. | 18:24 |
paulproteus | Please: commit early and commit often. | 18:24 |
paulproteus | If you don't know how to do something right, commit a version that does it at all, push it, and then ask me for help. (-: | 18:24 |
ankitg | okie ... will do. | 18:25 |
* ankitg goes back to reading "all about git" | 18:25 | |
paulproteus | Stick to the links I give you and you should hopefully not go too astray. | 18:25 |
paulproteus | You can read other stuff, too, but if it gets confusing ask for help. | 18:26 |
ankitg | I'll be fine ... thanks (-: | 18:26 |
*** sama has joined #cc | 18:32 | |
*** iRobot has joined #cc | 18:38 | |
*** iRobot is now known as CharelB | 18:39 | |
*** CharelB has quit IRC | 18:46 | |
*** sama has quit IRC | 19:14 | |
*** cfchris6 has joined #cc | 19:33 | |
*** cfchris6 has left #cc | 19:33 | |
*** Bovinity has quit IRC | 19:55 | |
*** K`Tetch has joined #cc | 19:58 | |
*** Bovinity has joined #cc | 20:02 | |
hdworak | ankitg: my notes when I learnt Git -> http://cc.pastebin.com/d114665c9 | 20:02 |
hdworak | you also need to generate an RSA key for your account on your machine; this is the only way you can authenticate on cc's Git | 20:03 |
ankitg | hdworak: thanks ... I think I got it working ... Git is much easier to use, VIM was messing me up ... it works fine once you change the GIT_EDITOR ... =) | 20:03 |
hdworak | :) | 20:04 |
ankitg | hdworak: great ... so now if I have issues with GIT, I know who to bug :) | 20:06 |
* ankitg wonders if loggy has been setup ... | 20:27 | |
paulproteus | ankitg, Hi | 20:27 |
ankitg | Hi paulproteus | 20:28 |
paulproteus | Yes - you need to do a push now. | 20:28 |
paulproteus | Do you have local commits? | 20:28 |
paulproteus | That is, have you run "git commit" yet? | 20:29 |
paulproteus | If not, you ought to do that. | 20:29 |
ankitg | yes ... I have a local commit ... vim was messing with me so I changed the GIT_EDITOR to textedit and now we are all good | 20:29 |
paulproteus | Once you have done that, do: | 20:29 |
paulproteus | (okay, awesome) | 20:29 |
paulproteus | git remote add origin git@code.creativecommons.org:loggy.git | 20:30 |
paulproteus | git push master origin | 20:30 |
paulproteus | Then look at code.creativecommons.org/viewgit. | 20:30 |
paulproteus | From now on, if you want to push your local commits to our repository so e.g. I can see them, repeat the git push command. | 20:30 |
ankitg | erm ... okie let me make sure that what I have there, makes sense and I'll make the push (-: | 20:31 |
* paulproteus nods | 20:32 | |
ankitg | paulproteus: BTW: Do you prefer line-by-line comments or only where they are required? I ask because the presently committed files have no comments at all ... | 20:33 |
paulproteus | Only where comments are needed. | 20:33 |
paulproteus | But you're welcome to comment *more* than that if you want. | 20:33 |
ankitg | okie, first I just want to make sure I am on the right track ... | 20:35 |
* ankitg goes back to check on his commits ... | 20:35 | |
ankitg | paulproteus: oh yes, wanted to ask ... what is os.path.join() supposed to do ... seems to do nothing at all ... ? | 20:37 |
paulproteus | ankitg, os.path.join("some_dir/", "some_subdir") => "some_dir/some_subdir" | 20:38 |
paulproteus | also, os.path.join("some_dir", "some_subdir") => "some_dir/some_subdir" | 20:38 |
ankitg | ah ... I see ...] | 20:38 |
paulproteus | There's a urlparse module with urlparse.urljoin() that's similar. | 20:39 |
ankitg | okie, I'll look into it if what I am thinking of doing fails ... | 20:40 |
paulproteus | Okay, well we'll see what I think once I see your code.. | 20:40 |
hdworak | ankitg: yes, we both know who to ask in such case :) | 20:42 |
*** jb2 has joined #cc | 20:44 | |
*** jb2 has left #cc | 20:45 | |
hdworak | ankitg: the purpose of such methods is to translate relative URIs | 20:51 |
hdworak | like mydir1/mydir2 + ../mydir3 = mydir1/mydir3 | 20:51 |
hdworak | I guess | 20:51 |
ankitg | hdworak: what I am looking for is to convert /l/by-nd///2.1//jp///88x31.png to /l/by-nd2.1/jp/88x31.png | 20:54 |
hdworak | regex /+ to / ? | 20:54 |
hdworak | or something more sophisticated? | 20:55 |
ankitg | yep ... that's what I am resorting to ... import re and regex-ing it | 20:55 |
ankitg | just need to look up how python wants me to do it ... | 20:56 |
hdworak | variable = re.sub('/+', '/', variable) | 20:58 |
hdworak | I do not know if this is what you actually want | 20:58 |
ankitg | I'll work with this ... thanks =) | 20:58 |
hdworak | you're welcome | 20:59 |
paulproteus | ankitg, Hey | 21:00 |
paulproteus | ankitg, How do you create " /l/by-nd///2.1//jp///88x31.png"? | 21:00 |
paulproteus | Is it in the log? | 21:00 |
paulproteus | Like it's something people request? | 21:00 |
paulproteus | Or is it calculated by your code? | 21:00 |
paulproteus | Oh, whatever, you figure it out, ping me if you need me. (-: | 21:02 |
ankitg | paulproteus: no ... the log had "l/by-nd/2.1//jp/88x31.png" ... 2 '/' before jp ... so I tried this with all sorts of combination of "/" and it still loads up the image ... so my script should be able to handle all of it ... even if it;s just my testing that shows up in the logs =) | 21:02 |
paulproteus | Agreed, but if you don't know how to do that well, feel free to submit a partially-working thing that doesn't handle that. | 21:03 |
paulproteus | And we can improve it over time. | 21:03 |
paulproteus | AKA, solve the problems you know how to solve first. | 21:04 |
ankitg | yea, I gave up on efficiency for now ... first goal is to get the scripts to do what they are supposed to ... | 21:04 |
ankitg | I am just trying to keep them robust ... | 21:05 |
* paulproteus nods | 21:05 | |
ankitg | I don't want it to stop on the 68th file just because I didn't test it enough ... | 21:05 |
paulproteus | Sure, but you could handle that sort of problem by ignoring things you didn't understand (and logging that so you can fix them later). | 21:06 |
* ankitg nods | 21:06 | |
ankitg | hdworak: thanks ... that helped =) | 21:07 |
hdworak | any time | 21:08 |
hdworak | bye! | 21:09 |
*** hdworak has quit IRC | 21:09 | |
ankitg | paulproteus: okie, almost done ... just want to add a check, not to include the last line of the log files if it is empty ... | 21:12 |
*** Bovinity has quit IRC | 21:38 | |
ankitg | paulproteus: I get the following when trying "git push master origin" | 21:48 |
ankitg | fatal: 'master': unable to chdir or not a git archive | 21:48 |
ankitg | fatal: The remote end hung up unexpectedly | 21:48 |
paulproteus | Oops, I did it backwards. | 21:49 |
paulproteus | git push origin master | 21:49 |
ankitg | okie ... before I upload all the clones, is there an easy way to flush the head and start anew ... don't want you to waste time with revisions / clones from when I was struggling with vim ... ? | 21:51 |
paulproteus | If you *really* want to do that, I'll let you learn the git ways to do it. | 21:51 |
paulproteus | I'm not going to tell you because in truth I do want to see that. | 21:52 |
ankitg | yikes ... that bad huh ... nvm then ... | 21:52 |
ankitg | it says authenticity of host could not be established, I said continue anyways add code.creativecommons.org to known host list ... then it asks me for a password ... | 21:56 |
ankitg | and this is not the passphrase I entered when creating my RSA key either ... | 21:57 |
ankitg | paulproteus: ^ ^ what's the elven word for friend ... a.k.a password? [PM maybe] | 21:59 |
paulproteus | (a) I'll give you a FAQ link in a sec | 22:00 |
paulproteus | (b) Then I must not have properly added your key. | 22:00 |
paulproteus | (But I thought I did...) | 22:00 |
paulproteus | git remote show origin | 22:01 |
ankitg | oh goody more FAQ! | 22:01 |
paulproteus | What output do you get for that? | 22:01 |
paulproteus | (a) http://www.sun.com/service/sharedshell/faq.jsp#q10 | 22:01 |
ankitg | asks for :: git@code.creativecommons.org's password: | 22:02 |
paulproteus | Why did you write "::"? | 22:02 |
paulproteus | Is that what it really says? | 22:02 |
paulproteus | I didn't properly add your key. | 22:03 |
paulproteus | Let me fix that. | 22:03 |
paulproteus | ankitg, retry? | 22:04 |
* ankitg thinks maybe he should mail the key to paulproteus ... copy paste is susceptible to "bad things" ... yes I added the "::" | 22:04 | |
ankitg | git remote show origin still asks for password | 22:05 |
paulproteus | Are you on the same machine as that SSH key? | 22:06 |
paulproteus | ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAkmh7FY3ObF9rPc91gQFxqEfdG9d8EU2PUlUUnoxGpxwWoVr7csWNhHxYsOeKXspsV+nf67aYXOgpk0J5g8+vqrlBc6le3JhyA1ys5K+edqLzjAzHU0rBlaW4fs1FapM7WPdF5NlBBkDkV4yTguWvazVMYc3n2fvHfwpg3u9NYthXzcx5a6O8iz8j4V+yhxt8Beq1/0VnWQz5/lN5+DSvL9kbdyoy7KqvjZ7jxR//YvitkReqjvkRy8LMGPoICB6XMJfYneXPapTQnYhZX8sC5eYQ414yQZG6kXRzb3F0LyhjaEdqUOQ7hZq95B7n1/JHufElQEpq/rpWjQzcQt3vaw== ankitg@Ankit-ka-Mac.local | 22:06 |
paulproteus | Can you pastebin ssh -vvv git@code.creativecommons.org to me? | 22:06 |
paulproteus | (This should not be this hard. I believe one of us is doing something obviously wrong.) | 22:07 |
ankitg | I did that ... I gave me quite a lot of lines beginning with the word debug and eventually asked for the password again | 22:09 |
paulproteus | Yes - can you pastebin it to me? | 22:09 |
ankitg | debug1: Trying private key: /Users/ankitg/.ssh/id_rsa | 22:09 |
ankitg | debug3: no such identity: /Users/ankitg/.ssh/id_rsa | 22:09 |
ankitg | debug1: Trying private key: /Users/ankitg/.ssh/id_dsa | 22:09 |
ankitg | debug3: no such identity: /Users/ankitg/.ssh/id_dsa | 22:09 |
ankitg | debug2: we did not send a packet, disable method | 22:09 |
ankitg | debug3: authmethod_lookup password | 22:09 |
ankitg | debug3: remaining preferred: ,password | 22:09 |
ankitg | debug3: authmethod_is_enabled password | 22:09 |
ankitg | debug1: Next authentication method: password | 22:09 |
ankitg | git@code.creativecommons.org's password: | 22:09 |
*** pmiller has joined #cc | 22:09 | |
ankitg | I think I know ... | 22:09 |
paulproteus | What's that, put the RSA key file in a weird location? | 22:10 |
ankitg | I need to rename the private key to id_rsa and move it to /Users/ankitg/.ssh/ | 22:10 |
* paulproteus nods | 22:12 | |
ankitg | git remote show origin | 22:18 |
ankitg | ERROR:gitosis.serve.main:Repository read access denied | 22:18 |
ankitg | fatal: The remote end hung up unexpectedly | 22:18 |
paulproteus | Does the push work? | 22:19 |
paulproteus | FWIW the remote repo doesn't exist yet. | 22:19 |
paulproteus | But that's normal. | 22:19 |
paulproteus | But... anyway, does the push work? | 22:19 |
ankitg | nope, same error as show origin | 22:19 |
paulproteus | Boy, I suck at this game. | 22:20 |
ankitg | the last one was my bad ... and maybe this one too! | 22:21 |
*** shannonlucas has joined #cc | 22:21 | |
ankitg | does a copy of my public key also need to be in the same folder, with a weird name? | 22:22 |
paulproteus | No, that issue is solved. | 22:22 |
paulproteus | It's clearly my fault. (-: | 22:22 |
paulproteus | What did you enter in "git remote add"? | 22:23 |
paulproteus | Should be "git remote add origin git@code.creativecommons.org:loggy.git". | 22:23 |
ankitg | origin git@code.creativecommons.org:loggy.git | 22:23 |
ankitg | yep | 22:23 |
paulproteus | Hmm, and that works for me. | 22:24 |
paulproteus | Clearly I set your permissions wrong? | 22:24 |
* paulproteus investigates | 22:24 | |
* ankitg makes a few last efforts to stay awake ... | 22:25 | |
paulproteus | Re-do the push, but pastebin the result this time? | 22:25 |
ankitg | git push origin master | 22:26 |
ankitg | DEBUG:gitosis.serve.main:Got command "git-receive-pack 'loggy.git'" | 22:26 |
ankitg | DEBUG:gitosis.access.haveAccess:Access check for 'ankit@Ankit-ka-Mac.local' as 'writable' on 'loggy.git'... | 22:26 |
ankitg | DEBUG:gitosis.access.haveAccess:Stripping .git suffix from 'loggy.git', new value 'loggy' | 22:26 |
ankitg | DEBUG:gitosis.access.haveAccess:Access check for 'ankit@Ankit-ka-Mac.local' as 'readonly' on 'loggy.git'... | 22:26 |
ankitg | DEBUG:gitosis.access.haveAccess:Stripping .git suffix from 'loggy.git', new value 'loggy' | 22:26 |
ankitg | ERROR:gitosis.serve.main:Repository read access denied | 22:26 |
ankitg | fatal: The remote end hung up unexpectedly | 22:26 |
paulproteus | retry? | 22:26 |
ankitg | i think it just got done ... | 22:27 |
ankitg | (-: | 22:27 |
paulproteus | Great. | 22:27 |
ankitg | now you can start taking my code apart and tell me how much it sucks ... | 22:27 |
paulproteus | Typo on my part, I guess. | 22:27 |
paulproteus | Awesome. | 22:27 |
paulproteus | But I plan to wait until Monday or Tuesday to do that. (-: | 22:28 |
ankitg | awww | 22:28 |
ankitg | still pretending to be on "vacation" ? | 22:28 |
paulproteus | Yeah (-: | 22:29 |
ankitg | good luck with that ... | 22:29 |
paulproteus | Gee, thanks! | 22:29 |
paulproteus | ankitg, I intend to do some serious review on your code and give you solid feedback early next week, and I expect more communication and coding from you after that. | 22:30 |
ankitg | that will be good ... if I can help it in a week this code with be outdated ... | 22:31 |
paulproteus | Thank goodness. (-: | 22:31 |
ankitg | I will be on IRC everyday now ... so more comm ++ | 22:33 |
paulproteus | Sweet. | 22:33 |
ankitg | anyways it's 6:30 am now and I should turn in for the day so I log back in tomorrow ... | 22:34 |
ankitg | nitez | 22:34 |
paulproteus | Okay, good night! | 22:35 |
paulproteus | ankitg and hdworak: You both passed your mid-term evaluation. | 22:44 |
ankitg | paulproteus: Do upload those text files when you get time (-: | 22:51 |
*** mecredis has joined #cc | 23:04 | |
*** shannonlucas has left #cc | 23:14 | |
*** ianloic has joined #cc | 23:26 | |
* greg-g returns from dinking country, I mean, wine cuntry | 23:39 | |
rejon | was it nappa or crappa greg-g? | 23:41 |
rejon | napa or crapa | 23:41 |
greg-g | sonoma, which isn't as bad as crapa, apparently | 23:43 |
greg-g | crapa is now more "disneyland-ified" | 23:44 |
greg-g | rejon: ^ | 23:44 |
greg-g | we did a bike ride/4 winery tour on saturday. 24 miles round trip | 23:44 |
greg-g | 'twas good | 23:44 |
paulproteus | +1 | 23:45 |
greg-g | came back with 4 bottles, sister sent back about 10 | 23:46 |
greg-g | and she joined two "clubs" where they send you 2 or 4 bottles 4 times a year (reduced price of course) | 23:46 |
greg-g | paulproteus: email works now, thanks! :) | 23:47 |
paulproteus | gre@gario.us ? | 23:47 |
paulproteus | greg@gario.us ? | 23:47 |
paulproteus | Am I spelling that right? | 23:47 |
greg-g | nice! | 23:47 |
greg-g | gregarious actually | 23:47 |
greg-g | so first one | 23:47 |
paulproteus | No, neither. | 23:47 |
paulproteus | greg@rio.us | 23:47 |
paulproteus | You'd need rio.us, which is practically hopeless. | 23:47 |
* greg-g nods | 23:48 |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!