simple singularities

kyoto kotoin

Filed under: flickr — fri13th January 10, 2009 @ 10:22 am


kyoto kotoin, originally uploaded by lazy fri13th.

beatiful moment in kyoto
i always visit kyoto 2times an year, spring and autumn..
splendid experience!

empty post problem in struts2

Filed under: flickr — fri13th January 6, 2009 @ 9:22 pm

struts2 has annotation validation features, which makes validation javascript automatically. i didn’t know this feature also does server side validation. so if you turn off client side script for some custom validation, the server side validation prevents from submitting invalid input data.

that’s why i spend couple of time, today. i checked by using firebug and see there is no post data. it was very wierd experiences ever in this year..

so i fixed it by just delete annotation validate code.. and add more custom validation code. so as to say, if we know the cause, the solution isn’t difficult to find at all.

how can you eject blank cd in leopard machine?

Filed under: flickr — fri13th December 27, 2008 @ 12:14 pm

i inserted blank cd into my new uni-body macbook pro, because i think that cd contains some music. but it’s just a blank cd.. too sadly.. and i just couldn’t find the icon of blank cd in my desktop.

so how can i eject this cd if there’s no cd icon and eject button also doesn’t work? i googled it and found some fxxking lusers’s response to reboot the system. that’s too ridiculous, don’t you think so?

the solution i found is using vmware. connect physical cdrom to vm and eject it. i think there may exist another solutions. but google didn’t teach me the way..

i feel so sorry, there have been so many bugs in mac. i admit it’s a perfect machine for development, but i need more..

ubuntu & nagios2

Filed under: flickr — fri13th November 21, 2008 @ 9:50 am

nagios is an open source server management system.. though the design isn’t cool like its competitors, it has many useful features you have to check. i installed it to ubuntu and test it.. actually it was very simple.. just apt-get install nagios2 and add new auth info and that’s all.. you can get further information from ubuntu howto site.

there are something missing parts in that howto. you have to setup apache2.conf manually
open /etc/apache2/apache2.conf and add
Include /etc/nagios2/apache2.conf

and you have to *start* nagios. strangely, restart doesn’t work..
sudo /etc/init.d/nagios2 start

and you can see nagios is working on your server.
good luck, server guys~

samba leopard ubuntu problem..

Filed under: flickr — fri13th November 15, 2008 @ 3:17 pm

i said ubuntu 8.10 has some samba problem, and i changed it to 8.04 and the problem wasn’t disappeared. actually it was some kind of permission problem. mac uses id:staff but ubuntu uses id:id. because the group is different the access is limited also.. i don’t know how to setup correctly to solve this problem. i just set the samba dir in ubuntu. and use avahi to connect to leopard.

this is the sample code

smb.conf

1
2
3
4
5
6
7
8
9
10
[shared]
comment = Shared
path = /home/yourid/shared
read only = no
browseable = yes
writable = yes
valid users = yourid
valid group = staff
write list = yourid
create mask = 0777

and

1
sudo apt-get -y install avahi-daemon

wish you luck!

flickr manager plugin test

Filed under: flickr — fri13th September 14, 2008 @ 6:42 am

more cospre girl more cospre girl more cospre girl more cospre girl 

pictures of costume play girls in odaiba comic market, few years ago..
i’m testing wordpress’s flickr manager plugin.. it’s very convenient!
now i need pro account, or some one can buy me ;-)
ok, it’s a joke, actually not so funny..

ropponki clock

Filed under: flickr — fri13th September 12, 2008 @ 1:29 pm


ropponki clock, originally uploaded by lazy fri13th.

i love roppongi!

if you can’t post from flickr.
add these lines to your .htaccess

1
2
3
<Files xmlrpc.php>
SecFilterInheritance Off
</Files>

firefox session bug

Filed under: flickr — fri13th March 7, 2008 @ 12:32 pm

i tested my javascript code today and faced some curious bug in firebug’s console window like this.

[Exception... "Component is not available" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStore.js :: sss_saveState :: line 1749" data: no]
[Break on this error] oState.session = { state: ((this._loadState == STATE_RUNNING) ? STATE_RUNNIN…
nsSessionStore.js (line 1749)

what the heck is this? i reviewed my code and found no suspicious part. then i googled it and found the answer.
this is definitely firefox’s internal bug. and it will be fixed someday, somehow. but i don’t want to see the error message any more.

https://addons.mozilla.org/ja/firefox/addon/2324

you can fix this problem by installing this, very simple ;-) isn’t it?
(firefox officially announced that this bug is fixed in 2.0.12 but i use that version now..)

i installed firecookie and it was very cool, you have to try it!
so i got all stuffs i want and what only leaves to me is just focusing on my development!
thanx falks!

ms office 2008 for mac

Filed under: flickr — fri13th December 17, 2007 @ 6:03 pm

it’s really cool, i can see exactly same pages. that’s just what i want. perfect compatibility. neo office is great but not perfect. now i have all the stuffs i want for the mac in my office. :-)

for business purpose, mac is the perfect solution now. stable, fast and fully-equipped. but in home use, windows has much useful utils. that’s why i have to use vista. but i hope to change my pc to mac someday.

LogMeIn – Free Windows Remote Desktop Software

Filed under: flickr — fri13th November 8, 2007 @ 12:57 pm

when using my ubuntu gutsy gibbon 64bit server, firefox is stopped in every five minutes. although ubuntu and compiz have great features, it was very inconvenient and intolerable to me(i can’t wait a sec for loading). so i installed vista x64, and it works just fine as i think.

i planed to make a complete development network with my FTTH line and one PC and one laptop. at first i installed vmware workstation, and install gutsy gibbon, and set linux server, both PC and laptop. i installed svn server to my pc’s ubuntu, and make a mirror site to my laptop’s ubuntu. music is essential in development so i set to share folders and mp3s in itunes. and almost done, but some remains yet.

sometimes i really want to connect my pc, because my laptop is not so fast and lack of HDD space. but in FTTH environment, it’s not an easy thing.. so i googled and found LogMeIn.com it’s very easy to install and use, doesn’t consume much resources. works well with vista (though it doesn’t work perfectly in my vista x64)  and it’s free till 2020! too cool!

maybe i have to buy an access point to complete my development network.. but i will wait till i get some from others ^_^;

Next Page >>>