journal
all all entries rss SoML excited dreams runes YRUU ultimate KTRU skate sleepy nihongo
Rob is 20,125 days old today.

Entries this day: Drag-n-drop Meditation_bread_day hanachan list_to_do

Drag n drop

8:46am JST Sunday 16 January 2011 (day 14907)

Though the success response doesn't get displayed, I finally got file uploads to work! I had to install a new version of Python (2.7.1), setuptools 0.6c11, mysql-python 1.2.3, and Django 1.3 (even though it's still in beta), make a couple of tweaks to Alex Kuhl's ajax uploads in django

HI Alex

I ended up installing Python 1.7.1 and Django 1.3 (my project won't go
live before 1.3 becomes stable), and I got your code to work with two (?) 
little fixes from what's in your article.

1) I had to import json at the top of the views.py
2) You have an extra colon near the bottom of your example views code

   # save the file
   success = save_upload( upload, filename, is_raw ):

It must have been copied from the function definition line.

Again, thanks very much for the code; I hope I can put it to good use!

  - Rob
permalink

Meditation bread day

9:49pm JST Sunday 16 January 2011 (day 14907)

Today was meditation in the morning and the bread baking fun at Paola's house with Lin, Sachiko, Leila, Emma, Mayuko, Kamechan, Paola, Jon, May, and Shige. 45 minute meditation became easier when I used my version of Sachiko's technique of clearing the mind instead of trying to focus on something.

Salad, soup, and bread were yummmmy.

permalink

hanachan

9:57pm JST Sunday 16 January 2011 (day 14907)

I've gotten over the idea of romping with Lin and Sachiko. Now I have a new second girlfriend and Lin's 100% approval. I have loved Hanachan for a long time, and today I finally got a chance to smooch her (because she was so cold).

Lin took me to Yokohama station for 3 hours of free hanging out and omg I'm going to miss her so much when I'm gone to Korea for the week starting tomorrow, but we'll do some non-free hanging out on Saturday night when I get back.

permalink

list to do

9:58pm JST Sunday 16 January 2011 (day 14907)

  1. print directions to Chris's house

  2. get cash for trip

  3. pack

    1. clothes
    2. camera + charger
    3. pc + charger
    4. keyboard + mouse
    5. phone + charger
    6. passport
    7. tickets
    8. directions
    9. cash
    10. U-Cow
    11. mp book
    12. Artist's way book
  4. get bike pass ticket from Soness

  5. email Lin

  6. make git repo of current site

  7. show tokyo.vi to Soness

  8. compare photologue to my code

  9. add imagekit to my code or convert photologue to incorporate my code

  10. get upload to talk to my code

  11. install imagekit and photologue from bitbucket.org

  12. install auth and users code

  13. look up virtualenv in emails from Travis (to determine if I should use it)

  14. add alert() for successful upload to find hook into success code

  15. Firebug to figure out how to display Success message

  16. add upload on other edit page, but do not duplicate code {%include upload_div.html%}

permalink