がんばって英語で書くブログ
英語勉強中なので、ブログも英語で書こうかと。
スポンサーサイト
上記の広告は1ヶ月以上更新のないブログに表示されています。
新しい記事を書く事で広告が消せます。

Happy Halloween :-)
recently I've been training every day.

than, my abdominal muscles becoming strong :-)

Linux 2.6.14 package is coming in sid.

I installed that and I haven't problems :-)


スポンサーサイト

テーマ:英語日記 - ジャンル:学問・文化・芸術

lottery
lottery

so, she couldn't do wrong :-)


テーマ:英語日記 - ジャンル:学問・文化・芸術

strength training.
few days ago, I started this.

day before yesterday, I ordered books.

then, I got books today.

this books are kind of SAS's training.

SAS is "Special Air Service", it's kind of British army.

this training is good for me :-)

because, I'm studying Kick Boxing, but recently I can't go to the gym, I should be training by myself.

and I like Special Operations Forces :-)

テーマ:英語日記 - ジャンル:学問・文化・芸術

virus
I received virus twice(not from e-mail) about 30 minutes yesterday, when I used Windows XP.

of course, I already installed anti virus.

if I don't use anti virus, my pc would die :-(

actually my main pc is running Linux.

in that case, I use iptablas, snort and clamAV etc...

テーマ:英語日記 - ジャンル:学問・文化・芸術

MINIX 3 Release
few days ago, MINIX 3 was released.

about 3 month ago I installed MINIX 2.0.2 for old notebook.

this notebook has Intel i486DX2, 22MB memory and 700M hard disk.

MINIX is good for this notebook :-)

I'll install MINIX 3, if I have free time.

テーマ:英語日記 - ジャンル:学問・文化・芸術

net radio
recently, my favorite internet radio station is crowded badly.

this station has 2 streams (96kbps and 32kbps).

but 96kbps stream can't access.

so, we have only 32kbps, I connect to 32kbps stream.

but almost server state is *server full*.

I can't listen music from there :-(

so I'm listening other radio station :-)

テーマ:英語日記 - ジャンル:学問・文化・芸術

Could You Pass 8th Grade Math?
I read Planet Debian

so, I tried that.

but I couldn't pass :-(

I forgot how to find the answer to fractional expression.




You Failed 8th Grade Math



Oh no, you only got 5/10 correct!



テーマ:英語日記 - ジャンル:学問・文化・芸術

Open Office 2.0 is coming in sid
I installed OOo 2.0 from sid.

but this package has RC bug(#335262) :-(

I can't start up on ja_JP.UTF8, LANG=C is OK.



テーマ:英語日記 - ジャンル:学問・文化・芸術

dist-upgrade
today, I did dist-upgrade :-)

I had problem a bit.

so, when I did dist-upgrade, udev package's preinstall scripts got error.

before new udev package install,
/etc/udev/rules.d/z55_hotplug.rules
/etc/udev/rules.d/z20_persistent.rules

so, preinstall scripts couldn't create symbolic link.

than, I removed to these files manually.

after that, I could dist-upgrade :-)

before dist-upgrade, I had hotplug and udev package.

after that, I have udev package only.

テーマ:Linux - ジャンル:コンピュータ

OOo 2.o release
yesterday, OOo 2.0 was released.

It's looks good :-)

I wanna use that.


テーマ:英語日記 - ジャンル:学問・文化・芸術

my debian was broken.
today my debian box was broken :-(

the root cause is file system was broken.

first I used fsck command.

but couldn't fix.

basically /var/lib is directory but that was file.

what happened?

acutally, yesterday I installed udev.

after that, I couldn't do shutdown successfully.

maybe that time file system is breaking.

so I made backup on Knoppix.

thanks a lot Knoppix :-)

next, I get install image for sarge.

I made install floppy disk.

network install is easy for me.

it's need only three floppy disks.

than, I installed sarge.

after that, I setup X, language and change distribution(sarge to sid).

finally, I restored my old data :-)

I think, when I installed udev hotplug was removed.

so, system became unstable.

now, my deiban is running on sid :-)

テーマ:Linux - ジャンル:コンピュータ

hello udev
my linux box switched to udev.

actually I typed this. It's easy :-)

#apt-get install udev

maybe no problem.

I can use XFCE4, listen mp3, using USB mouse and so on.


テーマ:Linux - ジャンル:コンピュータ

packing
I was packing at daytime.

because, I leave apartment next Wed.

so, I must be packing.

today, I packed CDs, DVDs and books.

I packed nine box.

tomorrow I'll pack kitchen's stuff, etc.

テーマ:英語日記 - ジャンル:学問・文化・芸術

raining day
I got TB checkup result.

I don't have TB :-)

but checkup fee was so expensive :-(

I paid \9,200. of course, I used health insurance.

next, I go to New Zealand embassy.

I will apply for a working holiday visa to there.


テーマ:英語日記 - ジャンル:学問・文化・芸術

apartment
do you like dogs?

maybe I can't live there.

because, I love cats like than dogs.


テーマ:英語日記 - ジャンル:学問・文化・芸術

oops
I found my debian box's key map on console was broken .

first, I try to fix that.

# dpkg-reconfigure console-data

than, I made a mistake at select key map :-(

so, I couldn't operate at console.

finally, I did ssh connection from laptop.

and I could fix that :-)

yesterday, I rebuild uclibc*deb package by myself.

because, official package doesn't work.

if you want to cross compile, this package require gcc-3.3.

and this package has FTBFS bug.

so I can cross compile on gcc-4.0 now :-)

テーマ:Linux - ジャンル:コンピュータ

euc to utf8
today, I did language environment change to UTF-8 from EUC.

but, for some time I couldn't realize typo :-(

I used "UFT-8".

of course "UTF-8" is correct.

so I did 's/UFT-8/UTF-8/g'.

and I installed mule-ucs.

so I can use UTF-8 on xemacs.

finally, now I can use UTF-8 :-)


テーマ:Linux - ジャンル:コンピュータ

good phrase
I got good phrase.

"Tomorrow is the first day of the best of your my life."

I like that :-)

svn-buildpackage with pdebuild

svn-buildpackage --svn-builder="pdebuild --buildresult `pwd`/../build-area --auto-debsign"

テーマ:英語日記 - ジャンル:学問・文化・芸術

24
I enjoy watching 24(minute) at mobile phone.

It's not main thread of a story, but it's relevant to season four.

one story is one minute.

every Monday I can download new story :-)


テーマ:英語日記 - ジャンル:学問・文化・芸術

printing
I don't have printer.

however sometimes I need printing for something.

today, I needed to printing to a medical certificate.

because, the New Zealand embassy required medical certificate to getting working holiday VISA.

so, I went to the internet cafe to printing that.

after that, I went to hospital to check for TB.

than, next Tuesday I go to the hospital, I receive medical certificate.


oops
I went to NOVA at afternoon.

after lesson weather was raining.

so, I got wet with rain :-(

recently temperature is cold so I have to be careful to my health.


F1
today I watched F1 on TV.

Takuma couldn't win a prize :-(

and his record was deleted.

cause he had a minor collision.

and major cause for accident is he :-(

tonight, at last the 24 third season is finished.
sqlite3 with C
I think recently sqlite is popular.

so I wrote test program for studying sqlite3.


$ sqlite3 test_db
SQLite version 3.2.7
Enter ".help" for instructions
sqlite> create table sample (
...> id INTEGER,
...> name TEXT
...> );
sqlite> insert into sample values(1, 'foo1');
sqlite> insert into sample values(2, 'foo2');
sqlite> select * from sample;
1|foo1
2|foo2
sqlite> .quit

------------------------------------------------------------------
/*
* this is test program for studying sqlite3.
* gcc sample.c -lsqlite3
*/

#include <sqlite3.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

void usage(char *arg);
int do_select(char *database, char *table);
void show_error(sqlite3 *db, int line);

int main(int argc, char **argv)
{
if (argc != 3)
usage(argv[0]);

return do_select(argv[1], argv[2]);
}

int do_select(char *database, char *table)
{
sqlite3 *db;
sqlite3_stmt *stmt;
char sql[256];
int ret;

if (sqlite3_open(database, &db) != SQLITE_OK) {
fprintf(stderr, "can't open database(%s)\n", database);
return -1;
}

memset(sql, 0, sizeof(sql));
sprintf(sql, "select * from %s\n", table);

if (sqlite3_prepare(db, sql, strlen(sql), &stmt, NULL) != SQLITE_OK)
show_error(db, __LINE__);

while ((ret = sqlite3_step(stmt)) == SQLITE_ROW) {
int cnt, i;

cnt = sqlite3_column_count(stmt);

for (i = 0; i < cnt; i++)
printf("%s ", sqlite3_column_text(stmt, i));

putchar('\n');
}

if (ret != SQLITE_DONE)
show_error(db, __LINE__);

if (sqlite3_finalize(stmt) != SQLITE_OK)
show_error(db, __LINE__);

if (sqlite3_close(db) != SQLITE_OK)
show_error(db, __LINE__);

return 0;
}

void show_error(sqlite3 *db, int line)
{
fprintf(stderr, "[lin %d] %s\n", line, sqlite3_errmsg(db));
exit(-1);
}

void usage(char *arg)
{
fprintf(stderr, "usage %s [database] [table]\n", arg);
exit(-1);
}




aurora
I really want to see aurora :-)

It's so beautiful and mysterious.

I want to go to arctic circle.

ER season 9 begin from tonight at channel 1. Coool :-)




passport
today I went to passport center.

than, I got my *first* passport :-)

after that I went to real estate agency.

because, I move to parents house for the end of month.

I go to the New Zealand until next June.

so, I don't want to pay a rent, when I'm absence :-)


X
I'm listening music now.

title is "Art Of Life". that music from X.

I've liked X since I was junior high school student.

but, I don't have interest X japan.

X is greatest band for me :-)

actually, I love death/black/slash metal now.

X is my starting point for my music life :-)

programming memo
this is my programming memo.

how do I use dlXXXX().

------------------------------------------------------------------
#include <dlfcn.h>

int main(int argc, char **argv)
{
int (*f)(char *);
void *v;

char *p;

v = dlopen("/home/hoge/lib/libhoge.so", RTLD_LAZY);
if (!v) {
perror("dlopen");
return -1;
}

f = (int (*)(char *)) dlsym(v, "hello");
if ((p = dlerror()) != NULL) {
perror("dlsym");
return -1;
}

f("hogehoge");

dlclose(v);

return 0;
}

------------------------------------------------------------------
#include "hoge.h"

int hello(char *name)
{
return printf("hello %s\n", name);
}

------------------------------------------------------------------

#ifndef HOGE_H
#define HOGE_H 1

#include <stdio.h>

int hello(char *name);

#endif /* HOGE_H */
------------------------------------------------------------------


this is not so difficult.

if you need hook other library function, you can use this technics.


search word
I'm getting access log this blog.

sometimes I watch log.

some people came from google.

50% people, they want to a hint of GTK programming.

actually they used same keyword hoge.

it's "button_press_event()".

I don't know they were able to solve a case.

I wish my blog is useful for them :-)

annular eclipse
today I couldn't see(in real time) an annular eclipse :-(

but live-eclipse.org said "we'll uploading movie soon".

ok. I wait.

Takuma Sato, he lost position in B A R HONDA.

but I hope he is active in F1 next season :-)

I look forward to next Sunday. because we have Japan GP.


voice memo
this is my note.

what is your marital status?

this sentence is including these sentences.
are you single?
are you married?
are you divorced?

what is your employment status?

this sentence is including these sentences.
are you unemployed?
are you employed?
are you student?
are you retired?

my kind of foo.

this sentence meaning is "I like foo".

key money: it's "reikin"

deposit caution money: it's "sikikin"





上記広告は1ヶ月以上更新のないブログに表示されています。新しい記事を書くことで広告を消せます。