*** tpb has joined #melange | 00:00 | |
*** asmeurer has joined #melange | 00:33 | |
*** asmeurer has quit IRC | 00:47 | |
*** asmeurer has joined #melange | 01:20 | |
*** asmeurer has quit IRC | 01:39 | |
*** asmeurer has joined #melange | 01:41 | |
*** asmeurer has quit IRC | 01:50 | |
*** BlankVerse has joined #melange | 02:58 | |
*** asmeurer has joined #melange | 05:38 | |
*** asmeurer has quit IRC | 06:44 | |
*** BlankVerse has quit IRC | 08:16 | |
*** madrazr has joined #melange | 10:19 | |
*** ChanServ sets mode: +o madrazr | 10:19 | |
*** madrazr has quit IRC | 10:58 | |
*** madrazr has joined #melange | 11:11 | |
*** ChanServ sets mode: +o madrazr | 11:11 | |
*** kodaws has joined #melange | 12:41 | |
*** downey has joined #melange | 13:23 | |
*** kodaws has quit IRC | 16:54 | |
*** madrazr has quit IRC | 18:40 | |
*** dcrodman has joined #melange | 21:36 | |
dcrodman | Hey all, on the interactive dev console what might the credentials (username & password) be to execute a query? Database was populated using seed_db | 21:56 |
---|---|---|
*** downey has quit IRC | 22:02 | |
*** asmeurer has joined #melange | 22:22 | |
Lennie | dcrodman, there are no credentials locally | 22:30 |
Lennie | if any you should just tick the admin box when logging in as a test user :p | 22:30 |
dcrodman | I didn't think so, should I just leave these fields blank? | 22:30 |
Lennie | which fields? | 22:30 |
dcrodman | the username and password the console is prompting me for when I try to execute fetch() on a query | 22:31 |
dcrodman | I can screenshot if you like | 22:32 |
Lennie | Oh | 22:33 |
Lennie | you are trying to reach your instance on appspot.com? | 22:33 |
Lennie | You should fill in your Google Account and Password in that case | 22:34 |
Lennie | (that of the administrator of that application) | 22:34 |
Lennie | https://appengine.google.com/ | 22:34 |
tpb | Title: Welcome to Google App Engine (at appengine.google.com) | 22:34 |
*** asmeurer has quit IRC | 22:48 | |
dcrodman | I'm trying to reach the one locally, but I can try appspot | 22:49 |
dcrodman | sorry had to step away for a bit | 22:49 |
dcrodman | can't get seed_db to work on appspot though, even running the devvin version | 22:50 |
Lennie | locally | 22:53 |
Lennie | hmm | 22:53 |
Lennie | not sure if that even works | 22:53 |
dcrodman | well i suppose that would be the problem | 22:53 |
Lennie | https://developers.google.com/appengine/articles/remote_api | 22:54 |
Lennie | anyway | 22:54 |
tpb | <http://ln-s.net/$If0> (at developers.google.com) | 22:54 |
Lennie | localhost:PORT/_ah/admin | 22:54 |
Lennie | and click interactive console :P? | 22:54 |
Lennie | sounds a lot easier to me | 22:54 |
dcrodman | oh I didn't try that, i went python scripts/interactive.py | 22:54 |
Lennie | which is a good script | 22:54 |
Lennie | If you are calling to something.appspot.com :P | 22:54 |
dcrodman | ….damn | 22:56 |
dcrodman | well at least I found A console | 22:56 |
Lennie | :) | 22:56 |
Lennie | hurray! | 22:56 |
Lennie | I'm done writing code for today | 22:56 |
dcrodman | nice, working on Melange or something else you can't tell me about? | 22:57 |
Lennie | code.google.com | 22:57 |
dcrodman | oh cool, i'd imagine that has a rather large dev team | 22:58 |
Lennie | :) | 22:58 |
Lennie | well you know at least 3 of us :p | 22:58 |
Lennie | if you have been paying attention :D | 22:58 |
dcrodman | you, Sverre, and…Daniel? | 22:59 |
Lennie | Not really :P | 22:59 |
dcrodman | wait not daniel, errr | 22:59 |
Lennie | anyway | 22:59 |
Lennie | no need to name them :D | 22:59 |
dcrodman | works for me | 22:59 |
dcrodman | is there any structure on code.google.com that could be used to power the issue on Melange dealing with student-hosted repos for submissions? | 23:00 |
dcrodman | that looked interesting | 23:00 |
Lennie | Not really | 23:01 |
Lennie | There is no API to create repos : | 23:01 |
dcrodman | could a python script be written to execute git commands via cmd on the hosting cluster? | 23:02 |
dcrodman | giant hack but i wondered if it could work | 23:02 |
Lennie | If you already have a project set up on the cluster yes | 23:02 |
Lennie | you can do whatever you can with git :P | 23:03 |
Lennie | or mercurial or svn if you are oldskool | 23:04 |
dcrodman | i thought so, could that strategy be implemented to allow students to handle their code uploads | 23:04 |
Lennie | Not sure what you mean by that? | 23:05 |
Lennie | They used to upload their work to code.google.com | 23:05 |
dcrodman | just a simple git init and setting up a remote on the server(s) hosting Melange for GSoC | 23:05 |
Lennie | and probably still will this year | 23:05 |
Lennie | hehe | 23:05 |
Lennie | there is no per-folder access control | 23:05 |
Lennie | so every org has it's own project afaik | 23:05 |
Lennie | and that's actually setup using an in-house script | 23:05 |
Lennie | I believe what we want eventually (now that AppEngine can handle it) is to have everything stored in AppEngine | 23:06 |
Lennie | Where we already have information about which projects should upload their work and so on | 23:06 |
dcrodman | yeah that's what I mean, I didn't know it wasn't already configured that way | 23:07 |
dcrodman | on a different note, would you be able to tell me why this usage of the idx parameter isn't correct? | 23:09 |
dcrodman | http://localhost:8081/gsoc/dashboard/google/gsoc2009#requests?fmt=json&idx=7. | 23:09 |
Lennie | define incorrect? | 23:10 |
Lennie | are you sure the list with idx=7 is properly registered? | 23:10 |
dcrodman | right sorry, all that url does is take me to the dashboard rather than show the raw json result | 23:11 |
dcrodman | not at all actually | 23:11 |
Lennie | hmm | 23:11 |
Lennie | try not adding the fragment | 23:11 |
Lennie | (fragment is the #<> part) | 23:12 |
dcrodman | so: http://localhost:8081/gsoc/dashboard/google/gsoc2009?fmt=json&idx=7.? | 23:12 |
Lennie | yeah | 23:12 |
Lennie | without the dot :p | 23:12 |
Lennie | dcrodman, can you link to your github snippet again? | 23:13 |
Lennie | I might have a few minutes to poke around | 23:13 |
dcrodman | oh jeez i didn't see the dot | 23:13 |
Lennie | aha ;P | 23:13 |
Lennie | well that explains too I guess :) | 23:13 |
dcrodman | let me update the code on my Melange branch, would that be more convenient? | 23:13 |
Lennie | well no need if the dot was to blame | 23:14 |
Lennie | (and yes that's somewhat more convenient) | 23:14 |
dcrodman | well the dot worked without the fragment, but it just looks like it's giving me the output for the dash | 23:15 |
Lennie | please do put your code somewhere then :P | 23:16 |
Lennie | Not sure how long I have left :) | 23:16 |
dcrodman | on it! | 23:16 |
Lennie | hmm | 23:17 |
Lennie | have you tried other indexes? | 23:17 |
Lennie | seems to work fine here on google-melange.com for the dashboard | 23:17 |
dcrodman | updated, branch is connection_demo | 23:18 |
dcrodman | I haven't, try a couple more | 23:19 |
Lennie | dcrodman, have you tried 8? | 23:19 |
dcrodman | I just did actually, got an object with an empty string and an empty array for data | 23:20 |
Lennie | :) | 23:20 |
dcrodman | let me try logging in as a mentor with a connection and trying since i know that query works | 23:20 |
Lennie | mentor is also 8 | 23:21 |
Lennie | since is_admin=False | 23:21 |
dcrodman | yeah I never would have known that | 23:22 |
Lennie | you coded it :p | 23:22 |
Lennie | I think | 23:22 |
dcrodman | ok cool so this one returns the expected connection within the data but without those params there's still nothing in the table | 23:22 |
Lennie | components.append(ConnectionComponent(self.request, self.data, False)) | 23:22 |
Lennie | anyway | 23:22 |
Lennie | nothing in the table? | 23:22 |
dcrodman | ah well I MODIFIED it :P | 23:23 |
dcrodman | or _modified_, rather | 23:23 |
dcrodman | that's right | 23:23 |
Lennie | check for JS errors? | 23:23 |
dcrodman | JS is regrettably one thing I have 0 experience with (for now), but I'll look around | 23:25 |
dcrodman | well that's interesting | 23:30 |
dcrodman | this works in Safari, but not in Chrome | 23:30 |
*** durin42 has quit IRC | 23:30 | |
dcrodman | the table renders more cleanly too | 23:31 |
*** durin42 has joined #melange | 23:33 | |
*** durin42 has joined #melange | 23:33 | |
*** ChanServ sets mode: +v durin42 | 23:33 | |
Lennie | dcrodman, you should poke fadinlight/mario for htat | 23:41 |
Lennie | I gotta go now | 23:41 |
Lennie | my friend has arrived :) | 23:41 |
Lennie | ttyl@ | 23:41 |
Lennie | ! | 23:41 |
dcrodman | sounds good, take it easy | 23:42 |
*** dcrodman has quit IRC | 23:55 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!