why commercial (proprietary) software sucks

People especially economists compare buying a software with buying a car. But this isn’t true. Actually the purchase is comparable to buy a license to use a special car with many restrictions.

e.g. you can’t

  • install it on as many pcs you want. In contrast everyone you trust and has driver license can drive your car
  • modify it (just a very little).
  • give it away/sell it
  • cannibalize it after it stopped working (a broken car you can strip from useful components)
  • go to a car dealer/repairshop of your choice (there are some movements in the car industry to restrict this either)
  • disable advertisments (in the car world they are optionally for your car)
  • have a choice which car you use. In software world nearly every company tries to lock in the users

One similarity is: you are the product.
Many people live from you by exploiting your nescience (in the car as in the software industry)

Android Autosync

Sorry it was late yesterday. I rewrote this article:

Checklist adding a google account to android:

  • deactivate Autosync by tapping on the email address (in accounts) and deactivating every sync option
  • deactivate in google preferences: check device for malicious apps especially the option beyond that you send them data

This is why I cannot recommend Android. It’s a clear breach of trust (you see the first thing never if you don’t know it and google doesn’t say it anywhere that autosync is active by default)

As I said in my former blog post I wouldn’t recommend deriviates either (same hyper-commercial App community)

I think the same is true for IOS and Windows 8 smartphones.

What exists and looks good is firefox os.  There are even some cheap smartphones. But I have no experience with it.

But I need App: xy
Install android-x86 in a virtual machine. I think it’s straigthforward so I don’t explain.
But be careful, don’t forget the checklist.
Anyway this is also a good way for non-smartphoner to have access to apps.
One difficulty is to install apps which doesn’t want be installed on tablets.
An approach is to install the apk file. Better would be to tricking android in believing a smartphone (sorry I didn’t find out how yet)

android and admins

The Android userbase is an hostile environment for admins and developers. Even android is technically a very good idea (except java).

Firstly every problem is appified. You don’t get any usefull information about internal stuff (e.g. where files lay around) by searching after the problem. The solution for every problem is: install app xy (and boost the download score of someone).

Secondly most android developers come from the windows world. They don’t share for free. Saying: this world doesn’t give anything for free why should I do so? Many apps say: hey I fix this, but lacking information how they do it. Sadly there is no filter to filter them away.

Thirdly transferring knowledge is risky. Some important features/bugs could be “fixed”. Or you could get legal trouble. Even android is under gpl this discourages people from transferring knowledge.

Fourthly you get logged and recorded on every step. I never thought about the normal world implications: Every app you looked, you installed, deinstalled is haunting you. Not the secret services, but the companies. They push advertisment crap. On a small display this is especially annoying.

Fifthly some apps have advertisements. They put you into the risk of beeing hacked by their advertisment crap (happened often enough). Also eating your internet, display space and battery. Imagine this on your PC. Every 10 Minutes something pops up and annoys you. I hadn’t this for years (since I switched to linux).
(I heard from a prof that the internet speed improvements are mostly for advertisments (that the speed penalty by them is noticed less))

tomoyo – tomoyo-loadconfig doesn’t load

You want to load a exception/domain file into tomoyo but you can’t because of some strange errors (exit with 1)?
And you are sure that tomoyo is loaded (has to be in the kernel bootline) and you ran tomoyo-initpolicy as root?

Here is the solution:
You may have not the permission to write into the /sys/…/tomoyo dir. You have to authorize some programs to do so.
Now check /etc/tomoyo/manager.conf. You see multiple paths. Now check if they are all real or went over links.
You can do this with realpath:

realpath <path>
e.g.
realpath /usr/sbin/tomoyo-editpolicy

if the output is not the same as the input, then replace the path in the file with the output.Now reboot the PC (is needed to load the manager.conf) and now it should work

blender multiple smoke domains

sometimes you need more than one object to produce smoke but hups? what’s that? Just one object produces smoke.

The solution and the reason for this problem are simple:both objects are in the same flow group

What’s flow group?
You can create for an object a group via:
pressing on the cube in the right side bar (where can preferences of objects)
then scroll down to groups and press on the + sign to create a new one

And now you have a group. To asign a smoke domain to a group go to the smoke menu and click into the field flow group, then assign the group with the right smoke producing object.

tomoyo howto

First forget the curse tools tomoyo gives to you. They are good but very limited

The begin:
install tomoyo,( configure the kernel for tomoyo if your distribution hasn’t done it, here a guide:
http://tomoyo.sourceforge.jp/2.5/chapter-3.html.en)
run sudo /usr/lib/tomoyo/init-policy to init the config
and append security=tomoyo to the kernel boot line in grub.cfg (better: /etc/default/grub and update bootloader) or whatever
and reboot

Create a rule for a program:
Important rule: name important resources with an speaking name, you can also insert comments with #
Now append:

1. initialize_domain yourprogram from any
2.

use_profile x
use_group 0
to /etc/tomoyo/domain_policy.conf
where x is the number of the ruleset.
an overview gives: http://tomoyo.sourceforge.jp/2.5/chapter-4.html.en
and load it with:
tomoyo-loadpolicy -df </etc/tomoyo/domain_policy.conf

basicly there are now two ways to develope now a ruleset
1. switch to policy 1, run the program, close it, save down the changes
2. use policy 2/3, run tomoyo-auditd and look in /var/log/tomoyo/rejected00 2 or 3.log what permissions the program needs to run.
for using wildmarks have a look in
http://tomoyo.sourceforge.jp/2.5/policy-specification/expression-rules.html.en
add the new rules to domain policy and reload the config via:
tomoyo-loadpolicy -df </etc/tomoyo/domain_policy.conf

some links which will explain some aspects more detailed:
http://stolowski.blogspot.de/2010/12/tomoyo-linux-5-tips-to-streamline-your.html

here you have a sample file:
https://wiki.archlinux.org/index.php/Skype

blender – useful navigation view

With the normal navigation view you will have soon many problems. For example you cannot/can bad zoom into buildings, other objects.
So press shift-f to get an kick-ass view (navigation should be obvious but I explain it in detail: zoom – mouse wheel, left, right,up, down: mouse). Then press the left mouse button and switch back to the normal zoom mode in the new position or ESC to jump back to where you began to use the view.

webcam flickers under linux -powerline frequency false

problem was: my logitech c270 webcam had stripes wandering around, I think you could call it flicker. I tried everything but nothing helped. Just changing the resolution helped a bit.
now the real solution and the real problem: adjust via v4l2-ctl -c powerline_frequency the powerline frequency. The flickering immediately stopped for me. To see which values it can have use v4l2-ctl -L
for me worked:
v4l2-ctl -c powerline_frequency=1
It was simply the power supply!!! It has an other frequency in Germany than in the home country of logitech. The technicians saw this problem coming so include such an option but… they were too silent (should have dropped an entry in the FAQ explaining that).

Ok, I use linux and the tool of logitech would surely have adjusted this but I’m windows free.

networkmanager: /etc/Networkmanager/system-connections: connections doesn’t show up

If you play a bit with the configuration under /etc and you accidentally change the permissions of /etc/Networkmanager you can end up with no connection to the internet.

The problem is not too less permissions but too much:
– root with group root must own /etc/Networkmanager/system-connections and have the octal permissions 755
– and root with group root must own the files beyond this directory. But the octal permissions of the files have to be set on 700