Skip to main content

Posts

In 2020, a nation is peacefully colonized

In 2020, X Y, a country A made a declaration of bankruptcy after the many years of financial crisis. The country will be auctioned by other countries soon. This is probably the first colonization without any military actions in the human history. The country A cannot postponed to pay their debt to the future anymore. Currently there are many problems in the world. The size of the economy of country A is not small, the suzerain country will also have a risk. Currently most possible suzerain is either country B or C. However, the debt of country A is huge and the risk is too high. So called Terrorism quasi-country D declared to buy the country A. The spokesman of quasi-country D mentioned, they voluntarily help the country A, but international society thinks the country D wants to recognized as a real country. So, they try to buy it. The people of country A and international society against the country D's plan. However, what is the problem anyone the thing which has the price ta...

How to connect to a guest OS from other machines (Oracle Virtual Box)

1. A background story My home machine had Windows 7 and Linux (dual boot). One day I tried to upgrade to Windows 10. But, it destroyed my MBR of the hard drive. After I fixed the MBR, I got an interesting go and back: Upgrading to Windows 10 ... a problem detected and restore to the old state, reboot Booting Windows 7 and detected upgrade Windows 10, upgrading, reboot Go to the state 1 I decided to do a clean install of Windows 7 and use the Linux in a virtual machine. I only need one Windows commercial application, but. it needs a graphics card access. Thus I cannot put the Windows in a virtual machine. I need some server processes on my Linux machine. When I did a clean install of Windows 7, the Windows update didn't work. The Windows update program had an issue. To fix this problem, I should first need to update the updater, but the updater had an issue. I got an interesting problem here: Windows update has a problem and can not update. To fix the problem, you ne...

A conversation between I and my landlord.

I: I want to move out. I think my rent is too expensive. Landlord: OK. I: Can I use a special method? Landlord: ? I: I don't want to pay the rent anymore, but I want to keep my room and have a full access to my room, like the half of the people of a country want. Landlord: I see. We just need to change the contract a bit. I would like to charge you current two month rent for each access per day. But you don't need to pay the monthly rent. You have no obligation for that. I: Wow, thank you! Landlord: You are welcome. I: Now I only pay when I go to my room. I took back the control!
I use Jenkins  for a nightly automated test. In the test I use valgrind  for memory leak detection and has some graph of number of errors. So I would like to use plot plugin . From the example plot image , it is clear we can have a graph with multiple lines. However, how to do it was a bit ambiguous to me from the web page, the example perl script, and the help (in the plot plugin). The key idea is I need to have multiple data files for multiple lines. For example, in the build I made the following property data files. Each file represents one data line. valgrind_trunk_result.definitely.property valgrind_trunk_result.indirectly.property valgrind_trunk_result.possibly.property The contents of each file is only one line. For example,  valgrind_trunk_result.definitely.property is: YVALUE=0 This file is put under the directory of ${WORKSPACE} where the environment variable "WORKSPACE" is given by jenkins. Figure 1 shows my plot plugin setup in th...

Stopping is not enough

Earthquake in Kyusyu, Japan still continues. No one knows when it completely stops yet. I care the people there and I also afraid the nuclear reactors they are still running there. (Japan only has two running reactors now, both are in Kyusyu area where the earthquake continues. The number of earthquakes more than scale 1 is 770 times so far.) There are several petition to stop the reactors now. I also joined. But, technically stopping them are not enough. Most of Japanese facility only have water cooling pools for nuclear fuels. If such pool had a crack by an earthquake and lost the water, it is dangerous. How do they stably supply cooling water, the earthquake can be a cause of trouble. Just loosing the electricity of the pumps causes an accident. All the reactors in Fukushima stopped when the earthquake came, but they could not maintain to cool the fuels. That we saw five years ago. To avoid an accident, we need to think about after stopping the reactors. I agree, let's first...

Birthday Donation

My birthday party of this year was delayed. A birthday present is common here for a birthday party. But I have all tangible things I want, except one. Yet, I want to have several non-tangible things. However, they are either impossible for a birthday presents or meaningless. For example, I would like to have world peace, a world class free education system in many languages, I want to understand some mathematical concepts, I would like to be fluent of German, I would like to have more time for my volunteer activities, and so on. Thus, I asked some donation as a birthday present. I first show a list of organization I would like to donate. Then the people who join the party donate. I match the same amount from my pocket money to double the donation. This year was the second time. I think it went well. When I got a receipt from the organization, I will show it to the party participants. My cynical friends have already joke on them when they saw the paper, "it is just a paper and ...