*** nanotech has joined #cc | 00:04 | |
nanotech | anyone know how i can create an empty stub for my driver? | 00:05 |
---|---|---|
*** Bovinity has quit IRC | 00:11 | |
*** dini has left #cc | 00:13 | |
*** dini has joined #cc | 00:14 | |
mlinksva | nanotech: wrong channel | 00:43 |
*** kreynen has quit IRC | 00:48 | |
*** johndoigiii has quit IRC | 00:49 | |
*** dini has left #cc | 01:18 | |
*** tanjir has joined #cc | 01:24 | |
paulproteus | nanotech, Try ##c | 01:30 |
*** lotia has joined #cc | 01:41 | |
*** mlinksva has quit IRC | 01:50 | |
*** geniice has quit IRC | 02:44 | |
*** lotia has quit IRC | 02:44 | |
*** mlinksva has joined #cc | 03:05 | |
*** nkinkade has left #cc | 03:14 | |
ankitg | haoyu: hey | 03:34 |
*** haoyu has quit IRC | 03:40 | |
*** haoyu_ has joined #cc | 03:40 | |
ankitg | haoyu_: could you point me to the latest copy of the code that updates the stats on the wiki ... let me see if I can extend it to output an XML that DIY maps can read ... | 03:50 |
ankitg | haoyu_: it's somewhere in here IIRC : http://code.creativecommons.org/svnroot/stats/ ... thou pointing me to the exact file would make it much faster / easier ... | 03:51 |
*** haoyu_ has quit IRC | 04:14 | |
*** haoyu_ has joined #cc | 04:14 | |
*** mlinksva has quit IRC | 04:51 | |
haoyu_ | ankitg, code is here: http://code.creativecommons.org/svnroot/stats/wikibot | 05:13 |
haoyu_ | ankitg, but I haven't commit my newest local changes yet, because my network is a bit broken... | 05:13 |
*** johndoigiii has joined #cc | 05:37 | |
*** haoyu__ has joined #cc | 05:42 | |
*** haoyu_ has quit IRC | 05:43 | |
*** netdur1 has joined #cc | 05:48 | |
netdur1 | "Noncommercial" means I can't sell it, right? | 05:48 |
paulproteus | In broad strokes, sure. (I am not a lawyer; this is not legal advice.) | 05:59 |
paulproteus | You should see the text of the license. | 05:59 |
*** johndoigiii has quit IRC | 06:11 | |
*** jgay_ has quit IRC | 06:50 | |
*** UncleCJ2_ has joined #cc | 06:53 | |
*** dini has joined #cc | 07:08 | |
*** kilps has joined #cc | 07:22 | |
*** UncleCJ2_ has quit IRC | 07:26 | |
*** tanjir has quit IRC | 08:18 | |
ankitg | haoyu__: anyway to go access to your latest code? | 08:19 |
haoyu__ | hi ankitg! | 08:35 |
haoyu__ | I commited the latest code | 08:35 |
haoyu__ | you can checkout it | 08:35 |
ankitg | haoyu__: awesome ... | 08:35 |
haoyu__ | I'm working on file uploading for the bot | 08:36 |
ankitg | I'll try and figure out the code and see how to get it to generate an xml we can use for the world map | 08:36 |
haoyu__ | first, there's template/worldmap.xml | 08:37 |
haoyu__ | you can try to tune it, and make sure it confrom to giorgos' requirement | 08:38 |
haoyu__ | em.....oh, ankitg could you install the jinja2 package easily? | 08:38 |
ankitg | I only see # simplelinklist.wiki and # simpletable.wiki in the template folder at the moment ... still need to wait for it to update I guess | 08:38 |
haoyu__ | ankitg, I may include the package into our source tree, so one don't need to install it anymore | 08:39 |
ankitg | haoyu__: might make sense to do that ... | 08:39 |
ankitg | haoyu__: I am checking out the wikibot directory now ... or should I wait for you to affect the changes? I can complete my homework first as well, if you want to include jinja2 to the source tree ... what say? | 08:44 |
haoyu__ | oh, run python views.py | 08:51 |
haoyu__ | it will render the template at template/worldmap.xml to generate the .xml data file | 08:52 |
ankitg | File "views.py", line 37 | 08:52 |
ankitg | return number if len(number)<=3 else \ | 08:52 |
haoyu__ | em and the data file will be put to worldmap/freedom_worldmap.xml (I think it is the name..) for you to test | 08:53 |
ankitg | it throws a SyntaxError: invalid syntax | 08:53 |
haoyu__ | when the bot runs, the generated file will be put to wiki site automatically | 08:53 |
haoyu__ | aslo we should add other map templates and generate other maps | 08:54 |
ankitg | haoyu__: one thing at a time, lets get the world map up and running first ... repeating the process for the other maps should then be easier | 08:55 |
haoyu__ | I'd happy if you can do the things like add jinja2 to source tree, just grab it from jinja2 release package and svn add & commit | 08:55 |
haoyu__ | I guess you are using macos? | 08:56 |
ankitg | haoyu__: yes I am on a mac (leopard) ... | 08:56 |
haoyu__ | ankitg, yes indeed, that's the way we are going on.. | 08:57 |
haoyu__ | ankitg, which version of python you are using? | 08:57 |
ankitg | haoyu__: let me add jinja2 in ... currently running views.py gives me a syntax error on line 37 which is:: return number if len(number)<=3 else \ | 08:57 |
*** dini has quit IRC | 08:58 | |
haoyu__ | hmm... seems the '\' caused the syntax error... strange... | 08:58 |
ankitg | haoyu__: I am using Python 2.4.5 | 08:59 |
haoyu__ | could you remove the '\' and join the two lines together and see what happens | 08:59 |
ankitg | okie, let me try. | 08:59 |
haoyu__ | I don't think it should be different on mac.. the python version? | 09:00 |
ankitg | haoyu__: it works at your end? | 09:01 |
haoyu__ | possibly you are using an older python which doesn't support the 'foo if x else bar' syntax? | 09:02 |
ankitg | haoyu__: maybe I should just move the return inside the if statement's block then? | 09:02 |
haoyu__ | ankitg, em you can try to do so | 09:04 |
haoyu__ | by the way is that hard for you to upgrade to 2.5? | 09:04 |
haoyu__ | oh yes the conditional experssion is a new feature for python 2.5 | 09:06 |
ankitg | haoyu__: let me check ... I am ok with upgrading (if that's an option) but we should make sure this code is compatible with 2.4.5 as well, unless we are sure noone with 2.4.5 is going to need to run it. | 09:07 |
*** JanisB has joined #cc | 09:08 | |
haoyu__ | ankitg, paulproteus told me CC server is running 2.5, so I have take care of 2.5 but not 2.4 very well... sorry :p | 09:09 |
haoyu__ | ankitg, I'm just afraid if other packages we depend on also don't support 2.4... | 09:09 |
haoyu__ | I'm not sure. but you can try it... | 09:09 |
ankitg | haoyu__: well if ultimately we are running it off of CC server, fine, I'll just upgrade | 09:09 |
haoyu__ | there's also use of sqlite3 module, which is shipped with 2.5 | 09:11 |
ankitg | haoyu__: cool, let me affect an upgrade. | 09:12 |
haoyu__ | ankitg, just upgrade it, there's many new features in newer python, you'd be happy with it :) | 09:13 |
ankitg | haoyu__: already downloading =) | 09:13 |
haoyu__ | are you using macport or install it directly? | 09:14 |
ankitg | haoyu__: http://wiki.python.org/moin/MacPython/Leopard | 09:14 |
ankitg | I've had recent bad experiences with both fink and macports while trying to install postgreSQL ... | 09:15 |
haoyu__ | oh i see.. but so how did you do package management? | 09:15 |
ankitg | build from source ... | 09:16 |
haoyu__ | but it will be pain if you want to upgrade something.. | 09:18 |
haoyu__ | does macport provides a package management function? | 09:19 |
haoyu__ | I just never have chance to try mac :) | 09:19 |
ankitg | macport comes with uninstall scripts ... | 09:20 |
haoyu__ | though I'm considering I would buy a macbook when the next time I need to buy a laptop :p | 09:20 |
haoyu__ | is macport a way to build from source? or it provides prebuild packages? | 09:21 |
ankitg | fink is the one that can be troublesome ... but it comes with an option of gui tools ... | 09:21 |
haoyu__ | what's the relation of pink and macport? | 09:22 |
ankitg | macport defines port files which all for installation and uninstallation of packages ... fink also supports package management but in a different way ... | 09:23 |
ankitg | there's usually .pkg files (native mac) that you can use to install mac packages ... | 09:24 |
haoyu__ | so why you get trouble when using them? | 09:25 |
ankitg | haoyu__: heh, probably just fink had some problems trying to create a user account (required during postgreSQL install) ... and then I couldn't revert ... I ended up using the source to build and giving it a different user account, but I still have a ghost account with the name of postgre floating around in my mac ... | 09:27 |
haoyu__ | em... seems it is fink is not functional enough.. | 09:29 |
ankitg | fink is usually ok ... not sure what went wrong ... | 09:29 |
ankitg | haoyu__: installed python 2.5 to realize it's a 2006 build [Python 2.5 (r25:51918, Sep 19 2006, 08:49:13) ] ... I previously had 2.4.5 which was a 2008 version ... O_o | 09:45 |
haoyu__ | ah... it must be 2.5.0.. | 09:46 |
ankitg | oh noes, did I get the wrong thing? | 09:46 |
haoyu__ | there's Mac Installer on the offical download page: http://www.python.org/download/ | 09:47 |
haoyu__ | what's the difference between them? | 09:47 |
ankitg | It doesn't seem to err at the same place though ... I just need to install jinja ... I've downloaded the source (Jinja2.1.1) ... I guess I need to put it in the lib dir rite? | 09:48 |
ankitg | once we're done, i'll just upgrade it to 2.6 ... | 09:49 |
haoyu__ | put it into our source tree dir is ok | 09:51 |
ankitg | okie, I am going to add the jinja 2.1.1 tar.gz to http://code.creativecommons.org/svnroot/stats/wikibot/ ... | 09:54 |
haoyu__ | ankitg, not the tar.gz itself, but the python package inside it.. | 09:59 |
ankitg | haoyu__: opps, I already did ... svn add Jinja2-2.1.1.tar.gz ... let me remove that add the folder ... | 10:00 |
ankitg | haoyu__: okie, I added the folder jinja2 ... (and removed the tar) ... if all is good i'll commit? | 10:03 |
haoyu__ | Are you accessing via http://code.creativecommons.org/svnroot/stats/wikibot/ ? | 10:04 |
haoyu__ | can you commit with that? | 10:04 |
ankitg | haoyu__: let me try =P | 10:05 |
ankitg | haoyu__: apparently not =( | 10:10 |
ankitg | haoyu__: where are you committing the changes to? | 10:21 |
haoyu__ | it should be svn+ssh://svn@code.creativecommons.org/svnroot/stats/wikibot | 10:42 |
haoyu__ | have you set up your ssh key properly? | 10:42 |
haoyu__ | I guess paulproteus has set up ssh account for you | 10:43 |
ankitg | haoyu__: svn: Can't open file 'svn+ssh://svn@code.creativecommons.org/svnroot/stats/.svn/entries': No such file or directory | 10:43 |
haoyu__ | ah? what you did? | 10:49 |
ankitg | svn commit -m "added jinja2" svn+ssh://svn@code.creativecommons.org/svnroot/stats/wikibot | 10:49 |
*** UncleCJ2_ has joined #cc | 10:54 | |
*** UncleCJ2_ has quit IRC | 10:57 | |
haoyu__ | try this: svn switch --relocate svn+ssh://svn@code.creativecommons.org/svnroot/stats/wikibot | 10:59 |
haoyu__ | then do commit | 10:59 |
haoyu__ | ankitg, how you did commit before? | 11:00 |
ankitg | haoyu__: I was using git | 11:00 |
haoyu__ | ah....... great. Is cc's svn and git repo synced? | 11:01 |
ankitg | haoyu__: svn switch --relocate svn+ssh://svn@code.creativecommons.org/svnroot/stats/wikibot | 11:01 |
ankitg | gives me this error :: svn: Not enough arguments provided; try 'svn help' for more info | 11:01 |
haoyu__ | try : svn switch svn+ssh://svn@code.creativecommons.org/svnroot/stats/wikibot | 11:02 |
haoyu__ | by the way, can you see the wikibot from the git repo? | 11:03 |
haoyu__ | if so, just use your git is ok I think.. | 11:03 |
ankitg | macross:bot ankitg$ svn switch svn+ssh://svn@code.creativecommons.org/svnroot/stats/wikibot | 11:03 |
ankitg | svn: 'svn+ssh://svn@code.creativecommons.org/svnroot/stats/wikibot' | 11:03 |
ankitg | is not the same repository as | 11:03 |
ankitg | 'http://code.creativecommons.org/svnroot' | 11:03 |
haoyu__ | can you access it from git? | 11:07 |
haoyu__ | if so, you'd better just use it.. | 11:07 |
haoyu__ | I think git and svn share the same repo | 11:08 |
ankitg | haoyu__: heh ... relax ... I'll figure it out ... focus on the upload | 11:08 |
haoyu__ | well.. there's really some strange problems with upload | 11:10 |
*** JanisB has quit IRC | 11:16 | |
*** JanisB has joined #cc | 11:22 | |
*** Orango has joined #cc | 11:41 | |
*** Orango is now known as Orango|Away | 11:47 | |
*** UncleCJ2_ has joined #cc | 12:06 | |
*** kilps has left #cc | 12:34 | |
*** everton137 has joined #cc | 12:37 | |
*** grahl has joined #cc | 12:53 | |
*** cristi has quit IRC | 13:04 | |
*** tim_hwang has joined #cc | 13:43 | |
*** dini has joined #cc | 13:47 | |
*** haoyu__ has quit IRC | 14:07 | |
*** tanjir has joined #cc | 14:12 | |
*** JonathanD has joined #cc | 14:16 | |
*** oshani has joined #cc | 14:18 | |
*** haoyu__ has joined #cc | 14:18 | |
*** grahl has quit IRC | 14:18 | |
*** everton137_ has joined #cc | 14:23 | |
*** haoyu__ is now known as haoyu | 14:27 | |
*** everton137 has quit IRC | 14:29 | |
haoyu | ankitg, how about git? | 15:26 |
haoyu | ankitg, I almost get the map uploading works, it looks like this: http://monitor.creativecommons.org/World | 15:29 |
haoyu | well.. not very nice.. | 15:29 |
*** kreynen has joined #cc | 15:30 | |
*** kreynen_ has joined #cc | 15:38 | |
*** lotia has joined #cc | 15:47 | |
*** papyromancer has left #cc | 15:50 | |
*** kreynen has quit IRC | 15:53 | |
*** papyromancer has joined #cc | 16:07 | |
*** mlinksva has joined #cc | 16:10 | |
*** freer has joined #cc | 16:17 | |
greg-g | mlinksva: I haven't made any head way on the copyfraud one. | 16:27 |
*** oshani has quit IRC | 16:31 | |
*** ankitg has quit IRC | 16:40 | |
*** everton137_ has quit IRC | 16:41 | |
*** oshani has joined #cc | 16:42 | |
mlinksva | greg-g: thx | 16:47 |
greg-g | mlinksva: will be moving the BY/SA pages over tomorrow and put up basic versions for ND/NC. | 16:49 |
greg-g | the NC one scares me though :) | 16:50 |
*** lotia has quit IRC | 17:03 | |
*** kreynen_ has quit IRC | 17:12 | |
*** Orango|Away is now known as Orango | 17:18 | |
mlinksva | greg-g: heh | 17:21 |
mlinksva | will probably have an iteration on it in the next week or so | 17:22 |
mlinksva | based on some "talking points" DP has developed and somethign early from teh NC study ... we'll see | 17:22 |
*** robmyers has joined #cc | 17:32 | |
*** nanotech has quit IRC | 17:36 | |
*** Ekushey has joined #cc | 17:47 | |
* paulproteus waves | 18:43 | |
* ianweller waves back | 18:43 | |
*** Ekushey has quit IRC | 18:54 | |
*** lotia has joined #cc | 18:55 | |
*** mlinksva has quit IRC | 19:08 | |
*** Orango has quit IRC | 19:33 | |
*** Orango has joined #cc | 19:45 | |
*** Orango has left #cc | 19:47 | |
*** Orango has joined #cc | 20:07 | |
*** tim_hwang has quit IRC | 20:14 | |
*** Orango has quit IRC | 20:15 | |
*** jgay has joined #cc | 20:19 | |
*** _stink_ has quit IRC | 20:30 | |
*** jgay_ has joined #cc | 20:41 | |
*** jgay has quit IRC | 20:45 | |
*** netdur1 has left #cc | 21:06 | |
*** dini has quit IRC | 21:26 | |
*** WishMasterNND has joined #cc | 21:50 | |
WishMasterNND | greg-g: Hello, you might remember me asking about v2/v3 compatibility because I wanted to improve the declaration of CC licensed images on my site. | 21:52 |
WishMasterNND | greg-g: Now I am planning to (at least for new articles/picture) use a little information image below every cc licenced image which then opens via JS more information about CC and the author if you click on it. | 21:53 |
WishMasterNND | Do you think that is use of the CC logo and its icons as well as the idea in general is allright? => http://nn-d.de/fairypic/show.php?id=uploads/1f6c311c6bd64d1756df3fdff372631c658age6003.jpg | 21:54 |
WishMasterNND | (you can see it below the image of Mr. Lessig) | 21:54 |
*** lotia has quit IRC | 21:59 | |
*** robmyers has quit IRC | 22:04 | |
*** JanisB has quit IRC | 22:32 | |
*** prototype has joined #cc | 22:34 | |
prototype | hy | 22:34 |
*** prototype is now known as hellfire | 22:34 | |
hellfire | Mtroy ? | 22:35 |
*** hellfire has quit IRC | 22:35 | |
*** jgay_ has quit IRC | 22:49 | |
greg-g | WishMasterNND: the use of the icons is great for showing which license the work is released under, I like it. | 23:01 |
WishMasterNND | greg-g: Do you think it'd be sensible to create some generic JavaScript to show popups like this so that others, too, could use it? | 23:04 |
greg-g | WishMasterNND: that'd be neat, definitely. | 23:07 |
*** WishMasterNND has quit IRC | 23:55 |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!