HPC
How to prevent duplicate entry error in MySQL
Sometimes, errors should be ignored because they are not necessary at all. In MySQL especially for replication, the general architecture is to have a host for write and other hosts for read. As a result, response time of the whole system should be more scalable. If something goes wrong at the master node where all write operations must be performed, the error may propagate to other replications. One of common error oftenly occurs during replication is duplicate entry. It is possible to prevent this error which may lead the replication to stop.
- sugree's blog
- 7 comments
- Read more
- 16785 reads
How to encode DVD to AVI using Mencoder
If you have a DVD image in ISO format or in directory structure (see below) and you would like to encode this image to AVI format for later watching in smaller size, Mencoder may help you automate this task by a single command as well as consuming the computer power of a cluster through batch scheduler. The DVD structure looks like below.
DVD/
|--- AUDIO_TS
`--- VIDEO_TS
|--- VIDEO_TS.BUP
|--- VIDEO_TS.IFO
|--- VIDEO_TS.VOB
|--- VTS_01_0.BUP
|--- VTS_01_0.IFO
|--- VTS_01_0.VOB
|--- VTS_02_0.BUP
|--- VTS_02_0.IFO
|--- VTS_02_0.VOB
|--- VTS_03_0.BUP
|--- VTS_03_0.IFO
|--- VTS_03_0.VOB
|--- VTS_04_0.BUP
|--- VTS_04_0.IFO
`--- VTS_04_0.VOB
- sugree's blog
- 1 comment
- Read more
- 6321 reads
Resize video using Mencoder
Mencoder has many video filter and scale
is one of them.
mencoder input.avi \
-vf scale=64:-2 \
-ovc lavc \
-oac lavc \
-ac mp3 \
-o output.3gp
- sugree's blog
- Add new comment
- 5430 reads
3D Visualizing Quantum Chemistry Molecule in Ubuntu Edgy
First of all, I'm not a chemistry scientist at all. It is not my field. This era, we are on the globalization and multi-disciplinary interaction. I am just a computer engineer and any fields might involve to computer. Actually, computer itself is absolutely useless as long as you don't have applications to run. Recent drugs are officially recovered using virtual screening technology based on computational science where as computer system is used as a key component to simulate the effect of each drug candidate instead of going to try it in real laboratory. This technique is a part of quantum chemistry. Not only simulation is used here but also visualization is another critical part. I can't remember how to explain the structure of a molecule but I'm sure it must be in 3D plane. Human may imagine how it is but it is impossible to communicate to others by just description. The only way to solve this problem is 3D visualization in computer. That's why I'm here. Moreover, my box is Ubuntu Edgy. I have to find my way to visualize input/output in 3D.
- sugree's blog
- Add new comment
- Read more
- 3020 reads
How to apply high performance computing in wedding ceremony
Do you know why a wedding is usually took so long preparation time? Generally, a wedding may take place after 4 months or more of the time you made final decision. Why? The answer is to make the wedding ceremony perfect by impressive presentation. If you can't imagine, I recommend you to check out an example at Ju & Na Wedding. I'm not sure but it seems wedding is not just church and hotel but web too. That is the starting point to introduce guests to the wedding. All details are updated often to make sure guests got the correct information. In the ceremony, the most impressive part is presentation. Actually, the 4 months before the wedding are just to make the perfect presentation just right for the couples.
- sugree's blog
- Add new comment
- Read more
- 2287 reads
Installing Jabber for Access Grid Tool Kit 3 - A long tale
I'm not familiar with Jabber server for so long. Anyway, I used its client all day all night to access . Jabber is one of the most powerful open-source instant messaging software based on XMPP. Actually, installing Jabber should be quite easy as long as you don't need SSL support. I used to setup Jabber long time ago. At that time, it was very easy so I expected to just do it again by recent version as a backend for Access Grid Text Chat.
- sugree's blog
- Add new comment
- Read more
- 1434 reads
Recent comments
3 years 29 weeks ago
3 years 34 weeks ago
3 years 35 weeks ago
3 years 35 weeks ago
3 years 36 weeks ago
3 years 38 weeks ago
3 years 38 weeks ago
3 years 38 weeks ago
3 years 38 weeks ago
3 years 38 weeks ago