Mika/Notes: Difference between revisions

From WikiDotMako
(160 intermediate revisions by 17 users not shown)
Line 1: Line 1:
==Movies==
'''This is where I keep notes on things that I will probably need to read again.
'''


===Movies I liked===
* I moved Computer Stuff to a [http://wiki.mako.cc/Mika/Notes/Computer_Stuff new page]
* [http://wiki.mako.cc/Mika/Notes/Biking Biking] information on a separate page.
* Moved to [http://wiki.mako.cc/Mika/Notes/Public_Health Public Health].
* Made a [http://wiki.mako.cc/Mika/Notes/Beer Beer] page
=Miscellaneous=


* Trouble the water
* Banach-Tarski paradox.
* minipimer
* Temblor Range
* Khalil Gibran
* Making of 3 'Idiots'
* 野菜寿し ポタジエ Yasai Sushi
* MOCORO モコロ vacuum
* 丸ゆべし
* Fly Geyser
* Bar Yamamoto
* Wall bar
* Rage bar
* Tapas Molecular Bar at Mandarin Oriental, Tokyo
* [http://daikokuyu.com/index.html daikokuyu]
* ディマシオ美術館
* MERIDA X BASE
* 御殿場MTBパークFUTAGO


==Computer Stuff==
=Gardening=


Writing down things I've learned. Some miscellaneous stuff are:
* I can use agar to grow Kaiware seeds etc.


* AJAX example: Checks if the username you entered is taken.
=Bicycle=
* Javascript example: Drag choices up and down.


===MySQL===
* Brakes
** Change brake pads before the grooves are gone: http://www.jimlangley.net/wrench/brake1.htm
** U-brake (Center pulled calliper brake) are what's on my red bike.
* Items that may be useful for touring trips
** Portable Water Heater - SunRocket Solar Thermos and Kettle - Boil Water With Only Sunlight


'''Problem'''
=Hiking=
I restarted my computer because I couldn't start gimp unless I was root. Clint told me that I should sudo /etc/init.d/dbus restart , which basically restarted my whole computer. Since then, I couldn't use mysql because I kept getting this error:


ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
* Potential summer hike ideas
:: [http://www.wta.org/go-hiking/seasonal-hikes/summer-destinations/mount-st.-helens-hikes Mt. St. Helens]


'''Solution'''
=Concert=


I followed [http://forums.mysql.com/read.php?11,42525,46765#msg-46765 this] and restarted mysql by:
* Chopin Piano Concerto #1
* Ravel Piano Concerto in G major
* Gruppen (Stockhausen) (2012 May NY Philharmonic?)
* Symphony No. 3 (Górecki)


/etc/init.d/mysql restart
=Piano=


But it fails. It seems like I touched my.cnf and didn't restart mysql, so when my computer restarted, it incorporated the changes I made in my.cnf and mysql stopped working. I reinstalled mysql-server through apt-get, restarted mysql and now it's fine.
* Balakirev / Glinka "The Lark"
* Liszt "Gnomenreigen"
* Chopin 3rd Sonata
* Beethoven Sonata 31
* ラヴェル/鏡より「道化師の朝の歌」


=Movies=
----
'''Problem'''
I have a bunch of text files from USDA, which contain bits and pieces USDA ASCII databases. I want to put them into mysql.


'''Solution'''
I liked these movies:


1. I found schema.sql that Erik created, so I'm going to borrow it rather than creating my own.
* Trouble the water
 
* Cube
mysql databasename < schema.sql -p
* MST3K Pumaman
 
* Tokyo!
 
* Annabel Chong
'''Problem:'''
* I love me
 
mysql> create database newdatabase;
 
ERROR 1044 (42000): Access denied for user 'user'@'localhost'...
 
'''Solution:'''
 
[http://dev.mysql.com/doc/refman/5.1/en/creating-database.html mysql]
 
1. Check grants for 'user'@'localhost' in mysql:
 
mysql> show grants for 'user'@'localhost';
 
2. Log into mysql as root (has all privileges) and change grants for a specific user:
 
mysql> grant all privileges on *.* to 'user'@'localhost';
 
Query OK, 0 rows affected (0.00 sec)
 
3. Log back into mysql as user (now has all privileges) and try creating a new database again.
 
 
----
 
===Django===
----
 
*Tried setting up Django on my computer by following this [http://itpro.nikkeibp.co.jp/article/COLUMN/20081031/318265/?ST=develop&P=4 tutorial]
 
'''Problem:'''
 
It worked mostly ok but I couldn't go further than the second to the last coding box on page 4. I kept getting long error messages.
 
'''Solution:'''
 
[http://docs.djangoproject.com/en/dev/intro/tutorial02/ Django tutorial about django.contrib.admin]
 
1. Check if I typed in the correct codes.


2. Check if the output are the same everwhere:
I want to watch these movies:


Although the codes were correct, they didn't create all the necessary things, so it couldn't find the index.html.
* Uncle Boonmee Who Can Recall His Past Lives
* Faust by Alexander Sokurov
* ビルマVJ 消された革命
* Sleeping Beauty (2011)
* Amour
* Pee Wee's big adventure
* White Dog, The Naked Kiss, Shock Corridor by Samuel Fuller
* スープ
* Kings of Pastry
* Streetwise (1984)


* I went to setting.py to specify:
=Books=
** the absolute path for Template_Dir. Don't forget the , after '/path/' .
** two additional Installed_Apps: myprj_myapp (where I save my project) and django.contrib.admin . Run python manage.py syncdb afterwards.


This created myapp_post and django_admin_log in mysql database.
* 1Q84
* AIDS and Accusation (Paul Farmer)
* 農協との30年戦争 岡本重明
* Saturday is for Furnerals (Max Essex)
* クォンタム・ファミリーズ
* Penguin and Leviathan (Yochai Benkler)
* The Price of Civilization (Jeffrey Sachs)
* Godel, Escher, Bach
* 百年の孤独
*Ramesh S. Arunachalam, 2011: The Journey of Indian Micro-Finance: Lessons for the Future.
* 石の花 (坂口尚)
* Reassembling the Social
* reread: biology as ideology
* reread: the structure of scientific revolution
* 最貧困女子
* On Food and Cooking: The Science and Lore of the Kitchen (Hardcover)
* Les Animaux tels qu'ils sont


----
=Articles=


===Javascript===
* Happy Land
----
* Ashtrays
* Wasteland


[http://java-script.seesaa.net/category/2493027-1.html JS Tutorial]
=Places=


----
* Xkeken
* Shark Bay
* スコトラ島
* Kayangan Lake
* Perchten festival in the western Austrian village of Heitwerwang
* 坊主バー in Yotsuya: http://vowz-bar.com/
* cycling museum in osaka
* キットカット ショコラトリー
* ベーカリー兎座LEPUS うさぎ型食パン


===HTML===
=Diving=
----


'''Problem:'''
* Jewfish
* Basking shark
* Mola mola
* Turtles


I didn't know what <form name="form1"> meant.
=Wines=


'''Solution:'''
* majo norante "ramitello" rosso biferno molise at Nook. Can't remember the year.
* Denavolo Dinavolo Vino da Tavola 2007 at The Remedy.


"A form is an area that can contain form elements.
=Traveling tips=


Form elements are elements that allow the user to enter information (like text fields, textarea fields, drop-down menus, radio buttons, checkboxes, etc.) in a form."
* How to send things from UK:
[http://www.tohoho-web.com/js/index.htm とほほのjavascript]
: You can get a small, medium, or large box at post office (haven't tried royal mail but they're similar?). You can send a ''small parcel'' = less than 2kg internationally for a reasonable price. From UK to Japan is about 25 quid for 2kg.

Revision as of 01:55, 8 June 2019

This is where I keep notes on things that I will probably need to read again.

Miscellaneous

  • Banach-Tarski paradox.
  • minipimer
  • Temblor Range
  • Khalil Gibran
  • Making of 3 'Idiots'
  • 野菜寿し ポタジエ Yasai Sushi
  • MOCORO モコロ vacuum
  • 丸ゆべし
  • Fly Geyser
  • Bar Yamamoto
  • Wall bar
  • Rage bar
  • Tapas Molecular Bar at Mandarin Oriental, Tokyo
  • daikokuyu
  • ディマシオ美術館
  • MERIDA X BASE
  • 御殿場MTBパークFUTAGO

Gardening

  • I can use agar to grow Kaiware seeds etc.

Bicycle

  • Brakes
  • Items that may be useful for touring trips
    • Portable Water Heater - SunRocket Solar Thermos and Kettle - Boil Water With Only Sunlight

Hiking

  • Potential summer hike ideas
Mt. St. Helens

Concert

  • Chopin Piano Concerto #1
  • Ravel Piano Concerto in G major
  • Gruppen (Stockhausen) (2012 May NY Philharmonic?)
  • Symphony No. 3 (Górecki)

Piano

  • Balakirev / Glinka "The Lark"
  • Liszt "Gnomenreigen"
  • Chopin 3rd Sonata
  • Beethoven Sonata 31
  • ラヴェル/鏡より「道化師の朝の歌」

Movies

I liked these movies:

  • Trouble the water
  • Cube
  • MST3K Pumaman
  • Tokyo!
  • Annabel Chong
  • I love me

I want to watch these movies:

  • Uncle Boonmee Who Can Recall His Past Lives
  • Faust by Alexander Sokurov
  • ビルマVJ 消された革命
  • Sleeping Beauty (2011)
  • Amour
  • Pee Wee's big adventure
  • White Dog, The Naked Kiss, Shock Corridor by Samuel Fuller
  • スープ
  • Kings of Pastry
  • Streetwise (1984)

Books

  • 1Q84
  • AIDS and Accusation (Paul Farmer)
  • 農協との30年戦争 岡本重明
  • Saturday is for Furnerals (Max Essex)
  • クォンタム・ファミリーズ
  • Penguin and Leviathan (Yochai Benkler)
  • The Price of Civilization (Jeffrey Sachs)
  • Godel, Escher, Bach
  • 百年の孤独
  • Ramesh S. Arunachalam, 2011: The Journey of Indian Micro-Finance: Lessons for the Future.
  • 石の花 (坂口尚)
  • Reassembling the Social
  • reread: biology as ideology
  • reread: the structure of scientific revolution
  • 最貧困女子
  • On Food and Cooking: The Science and Lore of the Kitchen (Hardcover)
  • Les Animaux tels qu'ils sont

Articles

  • Happy Land
  • Ashtrays
  • Wasteland

Places

  • Xkeken
  • Shark Bay
  • スコトラ島
  • Kayangan Lake
  • Perchten festival in the western Austrian village of Heitwerwang
  • 坊主バー in Yotsuya: http://vowz-bar.com/
  • cycling museum in osaka
  • キットカット ショコラトリー
  • ベーカリー兎座LEPUS うさぎ型食パン

Diving

  • Jewfish
  • Basking shark
  • Mola mola
  • Turtles

Wines

  • majo norante "ramitello" rosso biferno molise at Nook. Can't remember the year.
  • Denavolo Dinavolo Vino da Tavola 2007 at The Remedy.

Traveling tips

  • How to send things from UK:
You can get a small, medium, or large box at post office (haven't tried royal mail but they're similar?). You can send a small parcel = less than 2kg internationally for a reasonable price. From UK to Japan is about 25 quid for 2kg.