Saturday, June 24, 2006

Strange bug: a gap under IMG tag inside TD or DIV in Firefox

When I use strict doctype for my page, strange thing happens: A gap appears under the images in my page like this:

IE has no problem with this, but Firefox has. I tried to set padding and margin of the IMG and the DIV block but the gap still not disappeared.

Note: This thing don't happen if you use transitional doctype.

How to solve it?

I found this link on the Internet:

http://www.mozilla.org/docs/web-developer/faq.html#gaps

More information here.

Friday, May 26, 2006

MD5 không còn an toàn

Hic... tin đã cũ, nhưng giờ mới biết. Thực khó tin là có ngày MD5 lại bị phá vỡ.

Slashdot | Practical Exploits of Broken MD5 Algorithm:
jose parinas writes "A practical sample of an MD5 exploit can be found, with source code included,in codeproject, a site for .Net programmers.
The intent of the demos is to demonstrate a very specific type of attack that exploits the inherent trust of an MD5 hash. It's sort of a semi-social engineering attack.
At Microsoft, the MD5 hash functions are banned.

The main problem is that the attack is directed to the distribution of software process, as you can understand reading the paper, Considered Harmful Someday. Some open source programs, like RPM, use MD5, and in many open source distributions MD5 is used as check sum."

Sunday, January 15, 2006

QuizFarm.com :: What is your Perfect Major? (PLEASE RATE ME!!<3)

You scored as Philosophy. You should be a Philosophy major! Like the Philosopher, you are contemplative and you enjoy thinking about the purpose for humanity's existence.

Engineering

100%

Philosophy

100%

Linguistics

92%

Psychology

92%

Anthropology

75%

Mathematics

75%

Theater

67%

English

67%

Sociology

58%

Journalism

50%

Chemistry

33%

Dance

33%

Art

25%

Biology

17%

What is your Perfect Major? (PLEASE RATE ME!!<3)
created with QuizFarm.com