learn

Learn

Learning is important. By learning I mean filling my mind with interesting things. In 2008, high on my list of things to learn about are Zen/meditation, environment, photography, Python (programing language) and SQL (database technology). If you are interested in any of these send me a message, maybe we could learn together.

Mounting Drives Under Linux

Modify the /etc/fstab file. Probably better make a backup first.

1.) You can identify the file system to be mounted with /dev/xxxxx. But in some cases that designation might chance. For example if you remove a drive, one fails or even some changes in the BIOS could probably do it. So I identified the drive by UUID. You can check the UUID with:

sudo vol_id /dev/sda1

Then you can add a line like this to mount the drive at boot:

UUID=8d947571-b0eb-42ab-b482-d4bb093a17c6 /media/sdb1 ext3 defaults 0 0

mysql

using mysql

login:
mysql -u root -p

list databases:
show databases;

new database:
create database contacts;

give access to database (I need to understand more on this):
GRANT ALL ON employees.* TO david@localhost IDENTIFIED BY "mypass";

use a database:
use contacts;

make a table:
CREATE TABLE name(
field1 VARCHAR(20),
field2 VARCHAR(20));

show table details:
describe name;

adding data:
insert into contacts (field list) values (value list);
if the value list contains all the fields you can skip the fields list.

showing data:
select fields from contacts;

Home Network

Server:
192.168.3.100 is tiny: static IP address
samba: Homenet

Access tiny:
can't access truecrypt drive through nfs, use samba.
ssh 192.168.3.100 to get shell access.

Globalization - George Soros

I should have read the summary of this book a bit more carefully. I was expecting to buy a book, written by a successful financier, about where the global economy is going. The plan was to get rich by moving our assets to where the future is. What I got was a book by philanthropist on how the global economy could be improved to the benefit of the disadvantaged on this planet. On second thoughts I'm glad I didn't carefully read the summary, because I wouldn't have bought the book if I had.

Neuromancer - William Gibson


Neuromancer is supposed to be a science fiction classic. It won all the awards and coined the term cyberspace long before it came into common usage.

For me it was a good, but not great read. Its a page turner and the action keeps up pretty much the whole way.

Understanding Exposure - Bryan Peterson


If you want to go beyond point and shoot photography and automatic mode on your camera then this is a great book. Its the book I've wanted to read ever since we got our SLR. I thought I had a pretty good grip on how exposure worked but I learned quite a bit about the basics in this book.

The Power of Now - Eckhart Tolle

This book is all about thinking in the current moment. Its main point is that if you spend your time thinking about the past and future instead of right now you will be unhappy (in pain, the author says).

The True History of the Kelly Gang, Peter Carey

My most recent read was "The True History of the Kelly Gang". I borrowed it from an Aussie here in Japan.

OK, so I'm a bit of a moron and I was some way into the book before I realized this was truly a piece of fiction and not some amazing historical records that came to light and were published. But its very good writing, probably beyond that of your average bushranger, and eventually I figured it out.

Syndicate content