Thursday, July 09, 2009

ubuntu 9.04 :: how to disable beep sound

After 9.04, sound configuration has no setting tab for beep sound.
I found some other interface for disable the beep sound.

I memo how to disable it.
We need just one line add to /etc/modprobe.d/blacklist.conf.

sudo echo "blacklist pcspkr >> /etc/modprobe.d/blacklist.conf

After doing this command, you needs re-login then your computer will not make noise.

Tuesday, May 12, 2009

Application :: Mozilla Prism

Mozilla released new application named Prism. It can be used as the local application for web application. It can make the icon onto the application folder and desktop.

However, for me, it looks just a web browser..... It can make shortcut to choice some site from bookmarks. However, our application folder or desktop will get jam.....

Maybe, the merit by the Prism is that we can separate between private informations as user name and password and web browsing on our common life.

Prism (Mozilla lab) http://prism.mozilla.com/

If someone can find something to use for this application then let me know about it please.

Monday, May 04, 2009

Adium :: MSN Messenger :: Mac OSX

Adium is one of the messenger client for MSN Messenger, Yahoo Messenger, Jabber.....and some other kind of messenger. It is very useful application for mac osx.

However, it has one problem for data transfer. One of friends told me on messenger. And the friend gave me the photo data. After getting data, the free memory space began to small. And after restarting the adium then more than 800M bite of used memory space was released. I think that the adium keeps the receaveing the data until the application get restart (MAYBE) or.....it has some function for releaseing the receaving data space.

Wednesday, April 01, 2009

Mac Book :: Apple Remote :: pairing

Many of peoples are using Mac Book. And Some time, we see that some of talkers are using remote controller for presentation.
If we don't use pairing function between apple remote and Mac book then many of Mac book/ Mac book pro will receive that signals. So, we should make pairing for our mac and remote controller.

To make pairing is easy.
You just need to push "menu" and "Next" button at same time inside the 10 cm from Mac Book/ Mac book pro.
Then you will see the chain and Apple remote on your monitor.
Then the pairing will be finished.

Wednesday, January 07, 2009

Ubuntu:: root password

I could not understand the policy of password for root user when I start to use Ubuntu linux.
I didn't know root password on Ubuntu Linux. Actually, no one know about it...... because it is null.

The policy of root password is that if root has no password then no one can attack it.
However, some one wont to use root as other distribution of linux. You can make password for root on Ubuntu Linux.
But, it makes risks for attacked by malicious user. Be careful to make your root password. If you want to make password for root then you should check your root password is safty or not by some kind of password checking site.

# sudo passwd root
enter password for current user (if your account has authority for using sudo command)
enter new password for root user
enter same password for root user

Wednesday, December 17, 2008

MEMO:NEKO:Logger

This is memo.


We can see message in log.log, when protocol send/receive NekoMessage  to/from other protocols. However, if some message extends NekoMessage then the send/receive log doesn't print into log. Because, the message is extended class from NekoMessage. The log mechanisms are working as (MAYBE) calling NekoMessage.getSource().

HOW TO PRINT LOG INTO "log.log"
One of the solutions is to call Logger.info().
This meaning is ....

#####BEGIN EXAMPLE###### (This is not completed code...... You need implements more for implementing protocols. )
Logger logger = new NekoLogger.getLogger(YourClassName.class.getName());
SenderInterface sender;

public void send(NekoMessage m)
{
logger.info("ANY MESSAGE  " + m.getSource()); 
sender.send(m);
}

public void setSender(SenderInterface sender)
{
this.sender = sender;
}
###########END EXAMPLE###############

Thursday, November 06, 2008

Ubuntu 8.10 Intellistation

I was using Ubuntu 8.04 on Intellistation Z Pro.
This ubuntu was upgraded from Ubuntu 7.04 -> 7.10 -> 8.04.

Last week, I upgraded it to 8.10.
Then I could install it. But it was not working.
I got error before kernel loading.

The error messages are following.
######################
Starting up.....
Loading, please wait....
Gave up waiting for root device. Common problems:
-Boot args (cat /prcc/cmdline)
-Check rootdelay= (did the system wit long enough?)
- Check root=(did the system wait for he right device?)
- Missing module (cat /proc/modules; ls /dev)
ALERT! /dev/disk/by-uuid/ed...(
16進数の数字列) does not exist. Dropping to a shell!

BusyBox v1.10.2 (Ubuntu 1:1.10.2-1ubuntu6) built-in shell (ash)
Enter `help` for a list of bult-in commands.
######################

I sourch some other same problems.
Then, I could find it on Ubuntu forum.
The problem is kernel version.
On defaults, Ubuntu 8.10 supports Kernel 2.6.27.
However, he/she also said that Kernel 2.6.27 is not work on Intellistation Z Pro.
So, he said we have to change grub setting to boot for Kernel 2.6.24.

Well, I already install other Ubuntu then I don't have 2.6.24 kernel.
It was already removed.....
How do I do.....

Actually, I cannot use Ubuntu 8.04.
Because it cannot install to it, too.
(The problem is different,,,,maybe....)

I check it, now.
.....

Tuesday, October 28, 2008

Virtual Memory

My mac laptop got crash by (null) process. Before crash it, I captured it from active monitor.
The process had virtual memory more than 1600000TB.

Where this mac hid such a big storage?????

Saturday, October 25, 2008

Player/Stage :: Mac OSX Leopard

This is just memo.
I write memo for Player/stage on Mac OSX Leopard.

At first, we have to install Player/Stage by MacPort.
sudo port install playerstage-stage
sudo port install playerstage-player

Maybe, when you execute the player on your OSX then you will see the error for rgb.txt.
If you see this error then you need to make the symbolic link from "/usr/X11/share/X11/rgb.txt".

Well, MacPort provides Player/Stage version 2.0.3.
But, latest version of Player/Stage is version 3.0.1.
I downloaded version 3.0.1.
However, it didn't work because of version.
I try to use on version 2.0.3, then I can use player/stage.

Sunday, October 05, 2008

Mac OSX::Subversion GUI client

Usually, I use cvs for managing version for my works with command line.
Whenever, I use the histry command.

Today, I found the GUI client for subversion.
http://versionsapp.com/
It can use over ssh version.
For my imange, I can use the subversion as the scp clients.

Sunday, March 16, 2008

[player/stage: javaclient2] sample

This 2 days, I could not understand about the player/stage. javaclient2 is one of the client tool for player.

Official site (player/stage)
http://playerstage.sourceforge.net/wiki/Main_Page

Official page(javaclient2 for player/stgage)
http://java-player.sourceforge.net/index.php

The following url is community for javaclient2 for player/stage.
http://www.nabble.com/Javaclient-for-Player-Stage-f3213.html

I try to write sample program same behavior as laserobstacleavoid.cc.

========================================================================
import javaclient2.*;
import javaclient2.structures.PlayerConstants;
import javaclient2.structures.laser.*;

public class TestClassBasic
{
private String hName = "localhost";
private int port = 6664;
private double lLimit = 2;

public TestClassBasic()
{
PlayerClient robot = new PlayerClient(hName, port);
Position2DInterface p2d = robot.requestInterfacePosition2D(1, PlayerConstants.PLAYER_OPEN_MODE);

LaserInterface laser = robot.requestInterfaceLaser(0, PlayerConstants.PLAYER_OPEN_MODE);
PlayerLaserData pld = null;

double speed = 3;
double turn = 0;

int minCounter = 0;

while(true)
{
double newspeed = 0;
double newturnrate = 0;
double minR = 1e9;
double minL = 1e9;

robot.readAll();
pld = laser.getData();

for(int i=0; i pld.getRanges()[i])
{
minR = pld.getRanges()[i];
}
}
for(int i=pld.getIntensity_count()/2; i< minl =" pld.getRanges()[i];" l =" (1e5" r =" (1e5"> 100)
l = 100;
if(r > 100)
r = 100;

newspeed = (r+l)/1e3;

newturnrate = (r-l);
newturnrate = limit(newturnrate);
newturnrate = Math.toRadians(newturnrate);

p2d.setSpeed((float)newspeed, (float)newturnrate);
}// while
}

private double limit(double newturnrate)
{
if(newturnrate < -40) { return(-40); } else if(newturnrate > 40)
{
return(40);
}

return(newturnrate);
}

public static void main(String[] args)
{
TestClassBasic tcb = new TestClassBasic();
}
}

Sunday, March 09, 2008

[memo] player/stage: how to compile my robot code

This is memo for myself.
memo ver. 0.0.1

Player/stage is one of the robot simulater.
I use on Ubuntu Linux 7.10

CPU : Xeon

Official page
http://playerstage.sourceforge.net/

command name
on document------>on ubuntu
player ------>robot-player

compile my code
$
g++-3.4 laserobstacleavoid.cc -I/usr/include/player-2.0/ -L/usr/lib/ -lplayercore -lplayerc++ -o laserobstacleavoid

I thought 64bit proessor has some problems for compile it when I used it at first time.
However it has no problem.
My work was as monkey.

Saturday, February 23, 2008

Installing fink to Leopard

Today, I install the fink to leopard (Mac OSX 10.5 : MacBook(Intel processor)).
I could not install it before days.... Actually, I don't know what was problems.....

1) To download it from fink project http://www.finkproject.org/.
2) Untar the tar package. I use "fink-0.27.7.tar.gz" .
3) To change the directory to the untered directory.
4) To execute the following command.
./bootstrap /sw
"/sw" is the directory what is the ROOT directory for fink.
Maybe, you can select sudo install.

Finally, we should read the readme file.........
Maybe, I didn't read it.....at before trying.....

MS SkyDrive

Last week, I can do nothing. Because I had pain at the eye, head, and all of the skins. So, I wan in my bed.

Well, today, I find the SkyDrive. It is provided by MS Windows Live. It is free as Messenger. We can use 5 GB disk space. I try to use it. However...... the file uploading interface was so bad. When we want to upload the some file then we cannot chose the folders.

Wednesday, February 20, 2008

MS Office 2004 for MacOSX update

Today, I feel tired. I'm in my bed....

Today, MS Office 2004 for Mac OSX got update....
I find a problem about update.
The update system is so smart because we cannot update all version at same time.
Usually, I update just a time when I remind about it.

However, today I try to push update after updating the office.
Then I could see more update packages.
Finally, I update more than 4 times.

It is not convenient to use.....

Thursday, February 14, 2008

USB bootable linux(Knoppix)

Knoppix is one kind of Linux distribution that can boot from CD or DVD.
It is useful when the OS get crash.

Well, following site providing the USB bootable Knoppix.
Recent CD/DVD bootable linux can not overwrite all data to there media (without others data media)
However,we can write the some data if it can be booted from USB memory stick.
http://kosuge.or.tp/kserv/index.html

Actually, I have not used it, yet....
If some one use it then let me know about it, please.

Monday, February 04, 2008

[OS] ReactOS

Today, I got new informations from my younger student.
He told me that we will be able to use the new Free OS.

This OS called as ReactOS.
http://www.reactos.org/ja/index.html

It is looks like between Unix and Windows.
The most special thing is that the OS is compatibility with Windows XP and NT.

They was be able to use Diablo 2, Remote Desktop and etc... on that OS. ^^;;;;

Friday, February 01, 2008

[ Ubuntu ] printer set up

I set up the new printer on my Ubuntu Linux machine.
I had problem about the password.

The printer management system asked my password before finishing to set-up it. However, the system kicked my password. I suspected it. Then I changed password from command prompt. And try it again. However. the system also kicked my new password.
I ask to prof. google then many of person had same problems. The solution is just easy. We try it with as admin users. However, the system need the user that the user have to have lpadmin groups.
So, you can add your account to /etc/group as lpadmin.

#sudo vi /etc/group
and add your account name to the end of lpadmin
lpadmin:x:109:your_user_name, your_username2(if your pc has more than 2 administrators)

Tuesday, December 04, 2007

Rimo

Rimo

It is one of the streaming server as youtube. Maybe, there movies data got from the youtube or others streaming servers.
The special thing about this server is movies playing. We need to click the movies when we want to watch the movies on the youtube or nicovideo.jp. it is not useful for us. In my images, the internet tv sites are also no action for the tv playing.
We don't need to click or other action for the watching next video on the rimo.tv. It makes more detail categories than the youtube or nicovideo.tv. And we can watch all of the videos that are in the same categories.

Sunday, December 02, 2007

Autumn will go.......

Today, I went to Kaga-area.
Last month, I went to Yamanaka-onsen for the workshop. I bought sparkling sake from Sake-plant. My grand mother likes it. She called me and she said that she want to drink more. So, I went to buy it. I also went to Beppu-Onsen to buy onsen-tamago.

There photos are autumn Japanese mountain.
http://picasaweb.google.com/daikihi/20071130

Onsen : Hot spring
Onsen-tamago : The egg that is boiled by the hot spring
Sake : rice wine

Wednesday, November 28, 2007

The map of flu

We can see the map that the warning area for the flu from the following address.

国立感染症研究所 感染症情報センター

Hokkai-do area already begin the flu.
And, Tokyo and Nagano also began but it is just "sound off"....
Maybe you know Nagano by winter olympics. I like to go there for the skiing.

Monday, November 26, 2007

KompoZer

KompoZer is the next version of NVU.
http://kompozer.net/
This is provided by Mozilla Org. as free software.

The development of NVU was stopped. It was separeted from mozilla browser. It is useful software for makeing Web-page. But the behavior was bit strange and difficult to see it when we developping the web-pages.

KompoZer also can use as ftp client. We don't need to download the file when we change the web-pages. We need just useing the ftp client and change it. After that we can back the data to the web server by the ftp-client.

Tuesday, November 06, 2007

new google searvice

The new(?) google searvice.
http://pages.google.com/
We can make the home page on the web browser. The created home pages are on the google server. So we don't need to register the home page on other site.

the example of the created page is following link.
http://daikihi.googlepages.com/home

To make web page was not so difficult. To use it is same as the MS-Word. And it is saved automatically.

Sad mistake

These days, I looked just a source code. The code behavior is heartbeat program with neko. The code could pass the compile however it doesn't work....
Today, i could find the problem point. It was so simple and sad problem. It was from constructor. Neko algorithm class maybe allow just one argument that is NekoProcess. However, I set 2 and 3 arguments. Consider now, it is not work. I have no memory that I made some instance for the algorithm class in my some code. (Actually, I made it at the initializer class. But it was not able to control it. It is not sure I can change that line or not. I will do it later.)

Monday, November 05, 2007

price of gasoline

Today, I installed "Gasoline Kakaku .com" to my iGoogle.

Gasoline Kakaku .com provides the price of Gasoline on the google map. I checked the difference of gasoline price between Osaka and Ishikawa.

We can buy the gasoline near the 136-8 yen/liter at osaka city. However, we meed 145-150 yen/liter at Ishikawa.
* late......1$ <---> 116\

Well......we could buy gasoline 79-80 yen when I bought my car. It began two times...ToT

Thursday, October 25, 2007

Coffee

2 days ago, I bought coffee with my friends from the internet shop. Today, it leached to us. Our members are 4. We bought 400 packs of coffee then we can drink 100 pack. This is 4 or 5 times buying. Last buying was just a month ago. Usually, we drank the 100 pack of coffee just a month....

http://www.brooks.co.jp/index.php

Tuesday, October 23, 2007

Bug???? FireFox

I'm using the Ubuntu Linux.
Today, FireFox is updated.....

This update makes problem for it. The problems are two.
1. FireFox is closed by core dumped when I used some functions that needs pop-up window. EX. set-up or download....
2. FireFox got the down when I access to the site what uses the https.

It is big problem for me....... ^^;;;;;

Thursday, September 20, 2007

Uuuuu.......

My breadbasket had fat ball(follicle mite). Yesterday, it was broken by my pants. Today, the broken point got virus... My breadbasket change color to read. I thought I got one more new bast on my breadbasket..... ToT
So, I cannot sleep....... ToT

I want to sleep!!!!!!!!!!!!!!

^^;;;;;

Tuesday, September 18, 2007

entrance formality

I did do the entrance formality at today.

At the morning, I went out from my room to the bank for paying the entrance fee. 300,000yen was not so thick.
After that, I reached my desk. And I found my photo for the entrance form. The bad thing is my university need so much size of photo. when ever I have to go photo processor for taking my photo.

Tuesday, August 28, 2007

CVS ERROR

Since last April, cvs at my laptop was not working.
I got error message when I run the cvs.
The error message was...

cvs [checkout aborted]: cannot exec /usr/bin/ssh : No such file or directory
cvs [checkout aborted]: received broken pipe signal

Some of site said.... it is one of the cvs bug.
So I thought so.

However, today, I could fined that was wrong for my case.
The problem was environment variables named CVS_RSH.

Actually I don't want to say where was wrong because the problem was......
I feel shy.....

The environment variables had 2bit characters.....

If you got error as above then you should check 2 thing.
1. the ssh path is right?
2. the variables has no strange characters?

No cvs life was sad......

Sunday, August 05, 2007

GCC for Pocket PC

I bought Pocket PC at yesterday.

Some of friends install CoLinux to PocketPC. However, dual boot machines are not useful. Actually, the Pocket PC is PHS. So, If I install CoLinux to my PHS then I cannot use phone when I am booting Linux. Usually, I use cygwin on my windows pc. So, I find cygwin for PocketPC. When that time, I found gcc for Pocket PC.
The name is CeGCC.
http://cegcc.sourceforge.net/

I haven't used it yet.
We can cross compile on my PC. If I have some free time then I will try it.

Monday, July 16, 2007

Big earthquake

2-30 minutes ago, it was strong earthquake at Nigata.
M6.6
Ishikawa has also moving.
In the TV program, it has few problem now.

Shinkansen was stoped, but now it is wortking.
Newclear power plant has been stoped.

This a week, I could not sleep.....
Everyday, I could sleep at most 4 hours.
But, I think I will be able to do after today.....
(Im so sorry for Nigata-city person.....)
But every before a week when somewhere has earthquake in the world, my sleep less week began...... ToT
Actuary, I was so tired.....

2 years ago, Nigata-city had earthquake.
When that time, they got too strong atacked.
This year, Ishikawa-city had earthquake.
And today....

many of there got big darmages.......

Nihon-kai(kai = sea) has too much atomic power generation plants.
Because it has no earthquake at after the 2nd war.
But to see the long priod, it has too much strong it.

Finally, I'm ok,