simple singularities

new LCD monitor!

Filed under: want — fri13th July 31, 2006 @ 12:11 pm

i buy new 20" LCD monitor, today. it supports 1600×1200. and just 40,000 Yen. therefore, i can work in my room from now. i want to make  new  applicaions. i have to add bit-torrent support pages and japanese mobile pages, and perl and ruby and php and java and db and more.. of course, i can watch the movie some what larger size. i usually watch some movies, at least more than one everyday.

rose

Filed under: flickr — fri13th July 30, 2006 @ 3:44 pm

rose, originally uploaded by lazy fri13th.

made by me just for fun. it was a sort of strawberry icecream, not a good taste. i was not pleased, so i pleased myself.

french wine vintage chart

Filed under: foods — fri13th July 29, 2006 @ 3:42 pm

very good guide for buying expensive french wines.

i.e) ch. latour of ‘90 is over 100,000yen, $1000, but ’91’s price is only a quarter, and ‘92 is more cheaper than ‘91. i think ‘93 may be the best choice in this time.

http://www.bbr.com/US/shopping/vintage-french.lml?ID=null

i can always make you smile

Filed under: smalltalk — fri13th July 28, 2006 @ 4:01 pm

smile

i sure..

P.S. i liked to see your face

Cyworld US launched

Filed under: smalltalk, web2.0 — fri13th @ 11:05 am

they do the crazy thing again. everybody in japan don’t show any interest in Cyworld Japan. they just have got NO idea about the localization. they do the same thing they did in korea. hey, how could you do that? i even think it’s for the koreans in japan. of course, koreans in japan use Cyworld Korea.

but it’s too soon to judge, they even don’t start ad. (i really don’t understand why they don’t start ad. user no is most important in community market, not service itself.)

anyway, SK Communications is a rich company.  it’s a very strong point. they maybe the winner of community site, because they can wait 10 or more years till the market wants its model. but, you know it’s not a clever idea at all. it’s passive and pessimistic and almost pathentic. there were full of copy sites in korea, but all dead. not because cyworld’s system is cool, but cyworld has dominant no of users (almost every young people in korea.)

good luck~

http://www.techcrunch.com/2006/07/27/this-is-nuts-cyworld-us-opens-for-use/

lorem ipsum…

Filed under: smalltalk — fri13th July 27, 2006 @ 9:28 pm

i found some trivia and funny phrase today.

it starts like "lorem ipsum", and has no meaning.

http://www.lipsum.com/

very fun, isn’t it? :-)

prototype

Filed under: programming — fri13th @ 6:05 pm

everybody says prototype is an innovative tool in javascript. but sometimes using dom & css instead document id is more fast and clean. i.e. when manipulating multiple check values from input tag, and change their class, in prototype, usually like this..

<input id="x1">, <input id="x2">…
i =1;
while () {
 if ($("x" + i) == null) break;
 if ($("x" + i).checked == true) 
  $("x" + i).className="another";
 i++;
}

but this case is more efficient, because the code is more compact and intuitive and you don’t have to care about id, and its length.
<input> <input>
tags = document.getElementsByTagName(’input’) ;
for (int i; i < tags.length; i++)
 if (tags[i].checked == true)
  tags[i].className="another";

how do you think about that? (maybe there are better ways than me. i’m not good at prototype technics.)

night scene of matsue

Filed under: flickr — fri13th @ 12:55 am


night scene of matsue, originally uploaded by lazy fri13th.

this is where i live

hibernate kills me! (with DWR, Spring)

Filed under: programming — fri13th July 26, 2006 @ 10:11 pm

though it’s not only a hibernate problem. i faced somewhat strange problem today. it was an error like that.  "Write operations are not allowed in read-only mode (FlushMode.NEVER) - turn your Session into FlushMode.AUTO respectively remove ‘readOnly’ marker from transaction definition", Eh? what the problem is? the method, "setGroup" is called by dwr and its all codes are qualified by other methods. (i only copy & pasted) i searched here and there, and 4 hours later, finally i found some solutions. it was caused by dwr and spring’s mismatch. spring framework confines writable method by its configure xml file, applicationContext-service.xml. it’s like this.

    <bean id="txProxyTemplate" abstract="true"
        class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
        <property name="transactionManager" ref="transactionManager"/>
        <property name="transactionAttributes">
            <props>
                <prop key="save*">PROPAGATION_REQUIRED</prop>
                <prop key="remove*">PROPAGATION_REQUIRED</prop>
                <prop key="set*">PROPAGATION_REQUIRED</prop>
                <prop key="*">PROPAGATION_REQUIRED,readOnly</prop>
            </props>
        </property>
    </bean>

you must add your method’s name manually here. default setting is enough, if you don’t use DWR, but the methods used by dwr is out of spring’s control.

there are so few guidances in google results, especially new and difficult issues. is there anybody who uses appfuse? java isn’t so fun, there is only a few dedicated open-source guy in java world. does java have a bright future? somebody tell me!

THUS ATE ZARATHUSTRA

Filed under: smalltalk — fri13th July 25, 2006 @ 7:59 pm

very del.icio.us humor ^_^

http://www.newyorker.com/shouts/content/articles/060703sh_shouts

Next Page >>>