December 1, 2009
Some time ago, I was working as student on a trade at IKS Baumgarten & Baumgarten and had to write an additional piece of software for my company. The task required me to :
- learn Delphi.
- understand the tools we used in the company
- write it.
- Do all this 3 days a week in a time of 6 months.
The application was an anhancenment to a long standing assurance management software the Company was working on. It was called topsales. Internally as it was a Graph drawer and Graf(german word for Count as in Count Chocula) sounds similar we called it count. Later it became part of TopSales and was released with the latest update. My employer was so kind to supply me with a freely redistributable screenshot of what it will look like on the Desktop of our customers.

If you are an insurance company and have people travelling around asking people to get an insurance you might want to try it out we have really good prices.
See TeamTopsales for details.
Thanks for the nice time I had!
4 Comments |
Uncategorized |
Permalink
Posted by xxtjaxx
November 17, 2009
So you are a unix/linux lover and like your system to be secure even against external intruders for examble when you run a small website(like me which is not yet online cuz I dont want to afford the domain) or a personal apt repository. This means Security Security Security.
Like me you might have a small headless machine standing around somewhere doing this job. But how do you secure something that is somewhere else and not your workstation and doesnt have a head(monitor) connected to it. Leaving alone the fact that you might need a keyboard/mouse. Well you connect to it via FTP/SSH/SFTP to transfer files and commands to it.
But the fact that its also avaiable via the web you might have some concerns. All these services working on open ports!
My recommendation is the brilliant and lovely Firewall Shorewall. It might take some time to get into it but I will lead you through. Lets have the thing that you are behind a router. And have a LAN of say 192.168.178.0/24(Means IP range 192.168.178.1- 255). And start configuring your one interface firewall(because your server might only has eth0). So you have something like this in your /etc/shorewall/interfaces :
#ZONE INTERFACE BROADCAST OPTIONS
net eth0 detect dhcp,tcpflags,logmartians,nosmurfs
which means the zone called net is connected to your network interface eth0(see ifconfig as root) and its getting its Broadcast(its IP) via detected dhcp offers it sends out. It also logs people from outside also known as martians (the other ones i didnt really investigated on). Your own workstation is on the same LAN IP Range (see above). To not just get the net which is 0.0.0.0/0(match all ips where 0 numbers match said IP)
so basically all. The best bet now is to add your local LAN as a nested subset of this IPrange.
So you go to your /etc/shorewall/hosts and add:
#ZONE HOST(S) OPTIONS
loc eth0:192.168.178.0/24
Which defines loc as your local IPrange of 192.168.178.0/24 which is a subset of the previously in /etc/shorewall/interfaces defined zone of net. Which is now also through eth0 but only picks up around 192.168.178.0/24 as allowed HOST IPrange to be allowed as loc zone.
Now you can be as specific as you like if you want to graain it even finer just replace 192.168.178.0/24 with say 192.168.178.40 which might happen to be your personal work machine and call this zone sam.
And you can be as secure as you like see here my /etc/shorewall/rules:
#ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL
# PORT PORT(S) DEST
#allow FTP from a ip that comes out of he local IPrange
FTP/ACCEPT loc $FW #$FW means Firewall in this respect
#allow all people to look at your website
HTTP/ACCEPT net $FW tcp
Thats all for now for more information look here.
If your unsure also look at their documentation and their IRC channel on irc.freenode.org channel #shorewall .
Have fun!
3 Comments |
Uncategorized |
Permalink
Posted by xxtjaxx
October 15, 2009
So you have written this sexy app that does all these sexy things and works nice withe KDE. You are usually using Debian and want to make a Debian package for your application, of course.
You usually start out with this line :
dh_make -e user@email.com -c gplv3 -f ../app_1.0.tar.gz -s -p app-1.0
This will usually do the following:
dh_make: make a subdirectory called debian/ in your programs root directory
-e user@email.com: sets the packager email-address to user@email.com
-c gplv3: sets the license to the GNU GENERAL PUBLIC LICENSE
-f ../app_1.0.tar.gz: makes the package ../app_1.0.tar.gz to the base package for the Debian package.
-s: defines it as a single binary
-p app-1.0: defines the package name as app-1.0
So now everything is fine you got your /debian directory Yay! But now you start editing debian/control to set the dependencies the package type and so on and so forth.
But now you get to this debian/rules file. As your KDE application obviously uses cmake you know what to do to usually build a cmake application.
mkdir build
cd build/
cmake ..
make
And if you want to install it of course:
sudo make install
But now you want to apply this to your debian/ile which doesn’t do that. During the hole packaging process
dpkg-buildpackage stays fulltime in your packages root directory and throws ” seems to have no CMakeLists.txt ” at you.
Now you have 2 options. (1) Screw up your root directory with temp and build stuff from cmake or (2) do replace the
debian/rules code with this:
#!/usr/bin/make -f
# -*- makefile -*-
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/pkg-kde-tools/makefiles/1/cdbs/kde.mk
#if you have docs as manpages
DEB_INSTALL_MANPAGES_ = appname.1
build/appname:
#if you have docbook stuff
docbook2x-man debian/appname.1.docbook
install/appname::
rm debian/appname/usr/lib/*.so
clean::
rm -f appname.1
This will do the trick to install the application according to CMakeLists.txt and will do what you want.
If this comes up along the comments: CPack is not applicable for the packaging of debian packages as they are not matching the rules of the debian packaging system.
8 Comments |
Uncategorized |
Permalink
Posted by xxtjaxx
September 11, 2009
Allright you wanted and you get it.
Please let me introduce to you the movie management tool for KDE:
KOMEDY
————
The infrastructure to start digging and working on the code is established.
first code got uploaded to git.
I plan to use the browser and playlist capabillities of amarok and will modify them to the needs of komedy.
It will use the phono backend for playback.
Unless we find out that QtMultimedia is more what we want.
But Ive heard that there would be some complications around QtMusltimedia that would make it hard for us to really do something.
You would have to publish two versions of your program one with OSS and one with ALSA support which i very unlikely and not what I prefer.
Anyway the code as well as some other things are now in my personal git repo. CLONE IT TODAY.
the command to get the sources is
git clone git://github.com/xxtjaxx/xxtjaxxRepository.git
Me and my 2 co-programmers will start off hackig on this and will make it the best we can.
Maybe its ready for pure release by 4.5 or even 4.4 when we get a fast start.
I will also talkl to the kde-usabillity folks so that we get the most out of the UI and workflow for the movie fanatic.
If you want to come to our group and want to add manpower just add a comment or talk to me on #kde-devel.
34 Comments |
Uncategorized |
Permalink
Posted by xxtjaxx
September 10, 2009
I have posted the idea to KDE-Brainstorm.
Here is the link.
Go vote! Discuss it! Write comments!
6 Comments |
Uncategorized |
Permalink
Posted by xxtjaxx