Recently our installer met a strange bug, it didn't uninstall all legacy bundles after updating to new version. Finally I found it's due to a magic fragment is missing in the profile due to some causes. installBundle(bundle:${artifact}) uninstallBundle(bundle:${artifact}) setStartLevel(startLevel:4); It has …
Read More about Inside P2's profile (2) - the fragment matches all osgi bundlesYou would see some interesting properties at the bottom of eclipse's profile. For example, It attaches a property named 'org.eclipse.equinox.p2.internal.inclusion.rules' with value 'STRICT' on the IU 'org.eclipse.sdk.ide' with version 3.6.1.M20100909-0800. It's a very important property for the p2 engine. It means the …
Read More about Inside P2's profile (1) - inclusion rulesLatest gcc compiler enables the stack overflow protector that is since GLIBC 2.4. So the library or executable is compiled by latest gcc could be loaded or executed in RHEL4 or Solaris 9 that only have GLIBC 2.3. Hence using option '-fno-stack-protector' to compile the library or executable to make sure it could be …
Read More about stack overflow protectorRecently I just know such a useful syntax usage of java. aLoopName: for (;;) { // ... while (someCondition) // ... if (otherCondition) continue aLoopName;
Read More about the loop name for 'for' clause in javaIt's a powerful command to rename files in a batch. Usage: rename 's/(\d+)$/$1.txt/' * rename add '.txt' extension name for all files that ends with number.
Read More about rename commandIf you have http proxy, set it to system environment, export http_proxy=http://127.0.0.1:8000 Then start the application in that same terminal. If the proxy is socks proxy, use 'tsocks' to wrap the application in terminal.
Read More about applying proxy for the softwares without proxy support in linuxHonestly speaking, you have eaten the best delicious food if you're living in China. Though we have more and more concerns on the safety of food, we have to recognize that Chinese food is more delicious than others. The cuisine is simple in Austria. People always use pork, beef, flour, tomato, potato and few green …
Read More about Food and DrinkingJoel posted a blog related to how to hire the great programmers. One of his key points is building comfortable workspaces. I believe every programmer loves the workspace like Google and Fog Creek. The workspace of Google has been very famous due to its French chef, gymnasium and big sofas. Why is Fog Creek? It's the …
Read More about Working WorkspaceSalzburg is a small city and is on the banks of the Salzach River. It's easy to go through the city by bus in 30 minutes. Salzach River outline view Riding the bicycle is a very good way to enjoy the beautiful sight of the city. You could see many kids with parents riding bicycle in the sunny weekend. The train station …
Read More about TransportationThere are 20+ staffs in Salzburg office. Most of them are developers, one is administrator of office. Generally the staffs in Salzburg work more flexible than the staffs working in Beijing. Some of them live in German. Even though it's not so far as Salzburg, they also need come to Salzburg by train. So sometimes they …
Read More about Working style