simple singularities

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!

codeigniter, php mvc framework

Filed under: programming, web2.0 — fri13th March 6, 2008 @ 11:45 pm

i worked for sometime using codeigniter. this mvc framework is lightweight, simple and intuitive.

actually i compared every php framework for my new job. and codeigniter is the best solution. it supports native session, mvc, active record, enough security features.. just good..

at first, i planed to make my own framework, that may be faster than any other framework.. but it was very painful experience to start from nothing.. now i have a good frameworks to reference, i may try again someday ;-) 

netvibes ginger

Filed under: web2.0 — fri13th @ 11:34 pm

netvibes starts a new service(today, maybe), ginger. that’s just what i want for so long time.. you can publicitice your own contents in a very simple way.. this service changes project management drastically. i sure..

you may need to do some activation process.. it may not support like a friend only share feature.. if it supports that, it will be the perfect solution for business. but that’s enough now..

Real Programmers

Filed under: programming — fri13th February 5, 2008 @ 12:47 am

very funny cartoon about emacs ‘-)
enjoy the long korean holidays, my fellows!

http://xkcd.com/378/

about ruby 1.9

Filed under: programming, ruby — fri13th December 27, 2007 @ 8:28 pm

ruby 1.9 is released in this christmas. this release is very meaningful. in 1.9, critical i18n bug is fixed, so you can use mixed character code, not only utf-8. many other trivial, but unobvious syntax is fixed also. the performance is improved much.

ruby developer’s move is very reasonable. it only focuses on its very own usage. it doesn’t target all platform or all purpose, i.e. embedded or gui. and that’s enough in this age..

i think ruby 1.9 or 2.0 will be the turning point like linux’s 2.4, from personal web page to enterprise server. it was very painful to maintain 2.2 or below version’s linux server. so i’ll wait to use rail till 2.0’s released. it will not take so long. see you then~

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.

winrar and alz

Filed under: smalltalk — fri13th December 15, 2007 @ 2:37 pm

i used zipplus only because it supports alzip’s alz format. alz is an awkward derivation of zip, very popular in korea. korean people use alz because alz supports splitted zip and is free and fancy and its menu is korean.

but alzip isn’t my type. it’s default format is alz, not zip. alz will not be supported by linux or mac. and except korean none in the world can extract it.

finally i decided not to use any alz file. it’s the right way. i started to use winrar from when i installed vista64 in my home pc. winrar is so fast, it supports dual core cpu. of course rar’s icon sucks, but i can endure..

NullPointerException in Struts 2

Filed under: java, programming — fri13th December 12, 2007 @ 5:17 pm

i stuck some strange bug today. somewhat wierd error message showed when i tried to login with unauthorized account. it’s only a 403 situation. why i have to see this error messages?

java.lang.NullPointerException
org.apache.struts2.views.jsp.TagUtils.getStack(TagUtils.java:58)
org.apache.struts2.views.jsp.StrutsBodyTagSupport.getStack(StrutsBodyTagSupport .java:54)
org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport .java:49)
org.apache.jsp.WebContent.index_jsp._jspx_meth_s_005fhead_005f0(index_jsp.java: 155)
org.apache.jsp.WebContent.index_jsp._jspService(index_jsp.java:77)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

at first, i thought it’s the problem of authentification. but that wasn’t. it’s because i use struts 2’s <s:if tag in my header.jsp. struts 2’s tags cannot be used in jsp directly. you have to use those with some actions. so my 403.jsp generates an error message for that. i change it to <c: and it works fine now.

struts 2 validation

Filed under: java — fri13th December 11, 2007 @ 6:10 pm

i always wonder why struts 2 doesn’t provide well-made validation documents. and now i find that’s because there are well-made documents already. search opensymphony site not apache site. apache just give a hint about struts 2.

now i can do much better with struts 2. (am i too late?)

http://www.opensymphony.com/xwork/wikidocs/Validation%20Framework.html

P.S. Oh, i found real struts 2 validation page. why i can’t get it till now.. mysterious..
http://struts.apache.org/2.x/docs/validation.html

zoho offline editor

Filed under: web2.0 — fri13th November 28, 2007 @ 5:53 pm

i was searching for some offline editors which can save data to online. only one candidate is zoho writer(do you know any other?) zoho uses google gears offline library. it doesn’t detect the browser’s state. so you have to change the state manually. and if you fail to change(i.e. you chage the state to online when disconnected), the browser goes blank. no menu for just synchronizing data that’s just what i want. UI is very clumsy, no way to hide buttons i may never use. I don’t want to see those unpleasant white borders.

but anyway it’s cool! i decide to move from google docs. now i can write some articles anywhere any time.

Next Page >>>