From lucy at thoughtandmemory.org Tue Apr 1 22:18:58 2008 From: lucy at thoughtandmemory.org (Lucy Mendel) Date: Tue, 1 Apr 2008 22:18:58 -0400 Subject: [Dev-flock] bayesian weighted rating system Message-ID: (holy bat cave, batman) http://www.thebroth.com/blog/118/bayesian-rating from http://reddit.com/goto?id=6e8xq incidentally, the current trend is on data mining and datasets http://www.datawrangling.com/some-datasets-available-on-the-web.html From clay at thoughtandmemory.org Wed Apr 2 09:32:19 2008 From: clay at thoughtandmemory.org (Clay Ward) Date: Wed, 2 Apr 2008 09:32:19 -0400 Subject: [Dev-flock] Almost 150 reviews now! Message-ID: Several members of our outreach committee have been publishing reviews on our site lately! As such there are now almost 150 reviews. Most of those have no ratings - for legal reasons members of our Board of Directors are only allowed to enter reviews that are quotes from other sources (not ratings). And it's not clear if the ones that I entered from Ethiscore.org will stick around since their terms of use are very restrictive (I'm contacting them.) But we're off to a good start! -clay -- Clay Ward President and Founder Thought And Memory, Inc http://www.ThoughtAndMemory.org "Buy It Like You Mean It" -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.mit.edu/pipermail/dev-flock/attachments/20080402/03c2455d/attachment.htm From cwallardo at gmail.com Wed Apr 2 12:17:39 2008 From: cwallardo at gmail.com (Clay Ward) Date: Wed, 2 Apr 2008 12:17:39 -0400 Subject: [Dev-flock] bayesian weighted rating system In-Reply-To: References: Message-ID: Is that all there is to Bayesian rating? I guess we originally thought that there was a trick with an infinite loop as the equations end up referencing themselves. But I think we've grown comfortable with the idea that things can be calculated based on their current state and not need to refer to themselves. I've attached an adaption of the Bayesian equations that should help us figure out our evaluation order. Please modify as needed. -clay On Tue, Apr 1, 2008 at 10:18 PM, Lucy Mendel wrote: > (holy bat cave, batman) > http://www.thebroth.com/blog/118/bayesian-rating > from > http://reddit.com/goto?id=6e8xq > incidentally, the current trend is on data mining and datasets > http://www.datawrangling.com/some-datasets-available-on-the-web.html > _______________________________________________ > Dev-flock mailing list > Dev-flock at mit.edu > http://mailman.mit.edu/mailman/listinfo/dev-flock > -- Clay Ward President and Founder Thought And Memory, Inc http://www.ThoughtAndMemory.org "Buy It Like You Mean It" -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.mit.edu/pipermail/dev-flock/attachments/20080402/a3fbf01b/attachment.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: EvaluationOrder.rtf Type: application/rtf Size: 1651 bytes Desc: not available Url : http://mailman.mit.edu/pipermail/dev-flock/attachments/20080402/a3fbf01b/attachment.rtf From lucy at thoughtandmemory.org Sat Apr 5 04:15:35 2008 From: lucy at thoughtandmemory.org (Lucy Mendel) Date: Sat, 5 Apr 2008 04:15:35 -0400 Subject: [Dev-flock] sqlite bug fix Message-ID: yo, you probably haven't noticed, but there's been a latent bug in sqlite that Dan discovered. It is now fixed in the source tree, but hasn't made its way into any binaries or likely your computer. this is mostly an issue for mac users who are making use of mac's coming with sqlite3 already installed. check our trac FAQ for more details http://thoughtandmemory.org/trac/wiki/FAQ#Sqlitebug if you have questions or concerns let me know. i believe fixing this is optional...the problem is correctness, so if you're not concerned with queries (eg, you're working on UI layout), you're prolly ok. ultimately, we could package sqlite binaries with our repo..if we could get django to use that particular binary. ideas? Lucy. ps - I just did a clean up of the wiki. it's looking good. everyone who's been keeping it more or less uptodate: good work! keep it up! From lucy at thoughtandmemory.org Mon Apr 7 14:24:26 2008 From: lucy at thoughtandmemory.org (Lucy Mendel) Date: Mon, 7 Apr 2008 14:24:26 -0400 Subject: [Dev-flock] xplanner back online Message-ID: yo, yeah. when my server reboots it doesn't automatically start xplanner. this will get fixed. eit. on the bright side: Chia is going to present the new look of the webpage (intro/main page and navigation bar(s)) at our next meeting--it will either already be live at the point will go live that night. Yeah!! let me know if you're encountering roadblocks to getting things done. if you're having trouble finding tasks on xplanner please let me (or someone) know. pees, l. From lucy at thoughtandmemory.org Sat Apr 12 19:55:10 2008 From: lucy at thoughtandmemory.org (Lucy Mendel) Date: Sat, 12 Apr 2008 19:55:10 -0400 Subject: [Dev-flock] sunday jam session (tomorrow) 6pm Message-ID: yo, tomorrow (sunday) at 6pm, badcoop, food afterwards: chia will present her work on the UI http://64.22.103.24:8080/xplanner/do/view/iteration?oid=1080 the goals are to complete tasks 1. and 2. by the end of the evening (there might be some technical integration to go through together). i'm also going to issue a challenge to each of us to complete one story by the next jam session (two weeks). come prepared or pick that story tomorrow. if we all meet that challenge by the next jam session we'll celebrate!! l. From cwallardo at gmail.com Sun Apr 13 14:43:03 2008 From: cwallardo at gmail.com (Clay Ward) Date: Sun, 13 Apr 2008 14:43:03 -0400 Subject: [Dev-flock] dinner tonight at 7:30pm Message-ID: Yeah, FOOD! 7:30pm tonight at the coop. Be there or be hungry! Most likely to be our main course: Split pea soup. Most likely to stand on the side: corn bread. Most likely to add flavor: garlic garlic soy sauce cumin onion garlic. -clay -- Clay Ward President and Founder Thought And Memory, Inc http://www.ThoughtAndMemory.org "Buy It Like You Mean It" -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.mit.edu/pipermail/dev-flock/attachments/20080413/94fbf51f/attachment.htm From clay at thoughtandmemory.org Wed Apr 23 22:50:44 2008 From: clay at thoughtandmemory.org (Clay Ward) Date: Wed, 23 Apr 2008 22:50:44 -0400 Subject: [Dev-flock] Chocolate at the Cambridge Science Festival next week! Message-ID: That's right, we're hosting a socially responsible chocolate research workshop next Thursday, May 1st 5:00 - 8:00pm at the MIT Museum. Invite your friends... bring a date... this will be fun! We'll have fancy local chocolates to sample, lots of computers to play with, and giant raven puppets to keep things surprising. We'll also be using the event as a stage to release Claudia's "How to research socially responsible products on the internet". We're also meeting at the MIT Student Art Association at 11am on Wednesday the 31st to do some planning for the event. Please let me know if you're available to help out at the event and/or to meet up and plan. We need a couple people to wear raven costumes and a few more to help newbies use our system. Woohoo! 5:00 - 8:00pm Sustainable Chocolate Research Group MIT Museum, 265 Mass. Ave. Join the team at ThoughtAndMemory.org as we learn about and publish reviews of socially responsible aspects of chocolate products! Samples of chocolate will be provided. Cost: Free -clay -- Clay Ward President and Founder Thought And Memory, Inc http://www.ThoughtAndMemory.org "Buy It Like You Mean It" --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google "Hugin and Munin" group. To post to this group, send email to TwoRavens at googlegroups.com To unsubscribe from this group, send email to TwoRavens-unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/TwoRavens?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.mit.edu/pipermail/dev-flock/attachments/20080423/d5c14199/attachment.htm From lucy at thoughtandmemory.org Fri Apr 25 20:45:02 2008 From: lucy at thoughtandmemory.org (Lucy Mendel) Date: Fri, 25 Apr 2008 20:45:02 -0400 Subject: [Dev-flock] sunday jam session, 6pm Message-ID: yo, I look forward to seeing ya'll at the next Sunday jam session THIS SUNDAY, 6pm. You can preview the upcoming UI changes at http://staging.thoughtandmemory.org/Main That Chia has been working on. Once those server files and the production website's files are integrated with svn then updating each will be a piece of cake (svn up). Dan and Mike are eating away at the list of bugs on xplanner http://64.22.103.24:8080/xplanner/do/view/userstory?projectId=1046&returnto=%2Fdo%2Fview%2Fiteration%3Foid%3D843&oid=2592&fkey=843 in pdf form as a test of xplanner's export: http://thoughtandmemory.org/lucy/bugs.pdf Chris is working on the company hierarchy and prodcut barcode/info collection And Shaunalynn is investigating community tools Go team! Lucy. From clay at thoughtandmemory.org Wed Apr 30 19:07:21 2008 From: clay at thoughtandmemory.org (Clay Ward) Date: Wed, 30 Apr 2008 19:07:21 -0400 Subject: [Dev-flock] Cambridge Science Festival tomorrow Message-ID: Thought And Memory will be teaching people how to use our online tools to promote social responsible products at the Cambridge Science Festival at the MIT Museum tomorrow (Thursday) from 5-8pm. We'll be in the "small conference room" on the second floor. We'll also be releasing our new research guide and our new home page at the event! Hugin and Munin, our oversized raven friends will be in attendance. There will be lots of other fun events too! http://www.cambridgesciencefestival.org/2008Festival/2008ScheduleOfEvents.aspx?day=6 See you there! -clay -- Clay Ward President and Founder Thought And Memory, Inc http://www.ThoughtAndMemory.org "Buy It Like You Mean It" --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google "Hugin and Munin" group. To post to this group, send email to TwoRavens at googlegroups.com To unsubscribe from this group, send email to TwoRavens-unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/TwoRavens?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.mit.edu/pipermail/dev-flock/attachments/20080430/0e04d9aa/attachment.htm From lucy at thoughtandmemory.org Wed Apr 30 22:57:37 2008 From: lucy at thoughtandmemory.org (Lucy Mendel) Date: Wed, 30 Apr 2008 22:57:37 -0400 Subject: [Dev-flock] contrib.auth attribute errors Message-ID: ratings, and possibly other things, don't work because of user authentication. anyone know what the dilly is on this one? in the meantime, i'm moving ahead on svn-izing /var/sites/hm_demo (not hm_production, which i think is a dud), or doing whatever is necessary to publish hm_staging to hm_demo. here's the problem: Python 2.4.4 (#2, Apr 5 2007, 20:11:18) [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from django.contrib import auth; >>> dir(auth); ['BACKEND_SESSION_KEY', 'ImproperlyConfigured', 'REDIRECT_FIELD_NAME', 'SESSION_KEY', '__builtins__', '__doc__', '__file__', '__name__', '__path__', 'authenticate', 'datetime', 'get_backends', 'get_user', 'load_backend', 'login', 'logout'] >>> auth.models Traceback (most recent call last): File "", line 1, in ? AttributeError: 'module' object has no attribute 'models' here are the details: user clicks on a star in order to rate a review. the user can be logged in or be anonymous; same error: POST fails (yay firebug, boo viewing html in plain text) Request URL: http://thoughtandmemory.org/Main/add_behavior_rating/ AttributeError': module' object has no attribute 'models' /var/sites/hm_demo/db/utils.py in current_user, line 87 def current_user(): """ @summary: @return: @rtype: @raise UserNotAuthenticated: """ user = threadlocals.get_current_user() if isinstance(user, auth.models.User): <<<<<<<< line 87 return user else: return auth.models.User.objects.all()[0] #raise UserNotAuthenticated() From lucy at thoughtandmemory.org Wed Apr 30 23:08:13 2008 From: lucy at thoughtandmemory.org (Lucy Mendel) Date: Wed, 30 Apr 2008 23:08:13 -0400 Subject: [Dev-flock] contrib.auth attribute errors In-Reply-To: References: Message-ID: this seems to be a path problem, since emulating correct environment settings seems to make things work. >>> import sys, os>>> PROJECT_PATH="/var/sites/hm_demo"; >>> sys.path.insert(0, PROJECT_PATH)>>> os.chdir(PROJECT_PATH) >>> os.environ['DJANGO_SETTINGS_MODULE'] = "settings" >>> from django.contrib.auth.models import User >>> from django.contrib import auth >>> dir(auth); ['BACKEND_SESSION_KEY', 'ImproperlyConfigured', 'REDIRECT_FIELD_NAME', 'SESSION_KEY', '__builtins__', '__doc__', '__file__', '__name__', '__path__', 'authenticate', 'datetime', 'get_backends', 'get_user', 'load_backend', 'login', 'logout', 'models'] >>> auth.models >>> i think i'll be able to figure out where we go wrong settings-wise. woot. On Wed, Apr 30, 2008 at 10:57 PM, Lucy Mendel wrote: > ratings, and possibly other things, don't work because of user > authentication. anyone know what the dilly is on this one? > > in the meantime, i'm moving ahead on svn-izing /var/sites/hm_demo (not > hm_production, which i think is a dud), or doing whatever is necessary > to publish hm_staging to hm_demo. > > here's the problem: > > Python 2.4.4 (#2, Apr 5 2007, 20:11:18) > [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> from django.contrib import auth; > >>> dir(auth); > ['BACKEND_SESSION_KEY', 'ImproperlyConfigured', > 'REDIRECT_FIELD_NAME', 'SESSION_KEY', > '__builtins__', '__doc__', '__file__', '__name__', '__path__', > 'authenticate', 'datetime', 'get_backends', > 'get_user', 'load_backend', 'login', 'logout'] > >>> auth.models > Traceback (most recent call last): > File "", line 1, in ? > AttributeError: 'module' object has no attribute 'models' > > here are the details: > user clicks on a star in order to rate a review. the user can be > logged in or be anonymous; same error: > > POST fails (yay firebug, boo viewing html in plain text) > > Request URL: http://thoughtandmemory.org/Main/add_behavior_rating/ > > AttributeError': module' object has no attribute 'models' > > /var/sites/hm_demo/db/utils.py in current_user, line 87 > def current_user(): > """ > @summary: > > @return: > @rtype: > > @raise UserNotAuthenticated: > """ > user = threadlocals.get_current_user() > if isinstance(user, auth.models.User): <<<<<<<< line 87 > return user > else: > return auth.models.User.objects.all()[0] > #raise UserNotAuthenticated() > From lucy at thoughtandmemory.org Wed Apr 30 23:42:39 2008 From: lucy at thoughtandmemory.org (Lucy Mendel) Date: Wed, 30 Apr 2008 23:42:39 -0400 Subject: [Dev-flock] contrib.auth attribute errors In-Reply-To: References: Message-ID: whoa. guess i'm missing something about how python imports work. all I did was add from django.contrib.auth.models import * to make things work. >>> from django.contrib.auth.models import * >>> dir(django.contrib.auth) <<<<< works fine b/c models shows up in list the from django.contrib import auth simply allows one to reference auth directly dir(auth), but isn't deeply importing. or something eit, l. On Wed, Apr 30, 2008 at 11:08 PM, Lucy Mendel wrote: > this seems to be a path problem, since emulating correct environment > settings seems to make things work. > > >>> import sys, os>>> PROJECT_PATH="/var/sites/hm_demo"; >>> > sys.path.insert(0, PROJECT_PATH)>>> os.chdir(PROJECT_PATH) > >>> os.environ['DJANGO_SETTINGS_MODULE'] = "settings" > >>> from django.contrib.auth.models import User > > >>> from django.contrib import auth > >>> dir(auth); > ['BACKEND_SESSION_KEY', 'ImproperlyConfigured', 'REDIRECT_FIELD_NAME', > 'SESSION_KEY', '__builtins__', '__doc__', '__file__', '__name__', > '__path__', 'authenticate', 'datetime', 'get_backends', 'get_user', > 'load_backend', 'login', 'logout', 'models'] > >>> auth.models > '/usr/lib/python2.4/site-packages/django/contrib/auth/models.pyc'> > >>> > > i think i'll be able to figure out where we go wrong settings-wise. woot. > > > > On Wed, Apr 30, 2008 at 10:57 PM, Lucy Mendel wrote: > > ratings, and possibly other things, don't work because of user > > authentication. anyone know what the dilly is on this one? > > > > in the meantime, i'm moving ahead on svn-izing /var/sites/hm_demo (not > > hm_production, which i think is a dud), or doing whatever is necessary > > to publish hm_staging to hm_demo. > > > > here's the problem: > > > > Python 2.4.4 (#2, Apr 5 2007, 20:11:18) > > [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2 > > Type "help", "copyright", "credits" or "license" for more information. > > >>> from django.contrib import auth; > > >>> dir(auth); > > ['BACKEND_SESSION_KEY', 'ImproperlyConfigured', > > 'REDIRECT_FIELD_NAME', 'SESSION_KEY', > > '__builtins__', '__doc__', '__file__', '__name__', '__path__', > > 'authenticate', 'datetime', 'get_backends', > > 'get_user', 'load_backend', 'login', 'logout'] > > >>> auth.models > > Traceback (most recent call last): > > File "", line 1, in ? > > AttributeError: 'module' object has no attribute 'models' > > > > here are the details: > > user clicks on a star in order to rate a review. the user can be > > logged in or be anonymous; same error: > > > > POST fails (yay firebug, boo viewing html in plain text) > > > > Request URL: http://thoughtandmemory.org/Main/add_behavior_rating/ > > > > AttributeError': module' object has no attribute 'models' > > > > /var/sites/hm_demo/db/utils.py in current_user, line 87 > > def current_user(): > > """ > > @summary: > > > > @return: > > @rtype: > > > > @raise UserNotAuthenticated: > > """ > > user = threadlocals.get_current_user() > > if isinstance(user, auth.models.User): <<<<<<<< line 87 > > return user > > else: > > return auth.models.User.objects.all()[0] > > #raise UserNotAuthenticated() > > >