Blog Atom RSS

Linspector pre-alpha

Friday, September 27th, 2013

Linspector got a new website! I made it with the use of Bootstrap and mostly the default theme settings. It was a very fast process to get a result like this. I love that Bootstrap stuff… ;) I will from time to time work on the design to make it unique but for now I am happy like it is.

BTW: I would like to announce that the monitoring software Linspector is in a usable state. Sure it should not be used in productive environments at the moment but you can clearly see the goals and programming interfaces for adding features.

Please test Linspector and report your experience. If you like writing Python code and really want a new kind of monitoring software you are very welcome to participate in the project. Take a look at the Linspector Dev Site to get more information…

Posted in: monitoring, network, news, OpenSource

The tech behind this site

Wednesday, May 22nd, 2013

I was asked some days ago how I am creating this website because it is very fast, seems not to be using WordPress and looks very custom. I will explain what is going on here.

  • This website is static HTML.
  • This website is WordPress.
  • This website is very custom.

In short:

I am running a very hard modified version of a very old version of WordPress locally on my Notebook. I patched a lot of stuff for creating static HTML files from this installation. I afterwards are running a Shell script mostly using the mirror function of GNU wget (wget -m) for mirroring the local site http://hanez/ to a local directory and then sync it via rsync to my server. The local directory is a Git repository so I could always switch back to old versions of hanez.org.

Longer version:

So, this is WordPress but very hardly patched… What did I patched? I don’t know all the modifications actually but most of it was patching all parts of the code to don’t use the domainname in the URL’s like href’s or img sources spread around in the code. Locally my hostname is “hanez” in the web my hostname is “hanez.org” so that makes problems. I think it was mostly the RSS stuff where I needed to fix that. But that was very easy because the static content was created by following all links on the site. I am just using hanez.org as static string in all links in the RSS feed.

I also changed all path information so there is no “wp-admin”, “wp-content” etc. URL part to some content anymore.

The photo gallery is completely written by myself. Many files are not created using WordPress, they are just plain HTML files. WordPress is including a head and a foot file provided by me and mostly don’t uses the template directory. I think I modified and added some functions but I don’t know them exactly anymore. It was mostly customizing the HTML output to be compatible to my CSS file and logical structure. I know there are some bugs but for me that is not important. I think it works very well and I am optimizing all the time. Maybe I will install a current version of WordPress in the future and create a patchset but I have no time for that now.

You think that sounds a little bit crazy because I am recreating all pages on every change on the site…? Yes, it is crazy but it takes nearly no time. This site is being generated and published in about 60 seconds (hasync 0.81s user 0.45s system 2% cpu 56.384 total) without the photo gallery but this is a very special part. The photo gallery is using the Flickr API and this is very slow. Since I am uploading photos very rarely this is not a big problem to me and the gallery is only recreated when there are new files on Flickr.

I am syncing some directories to the server like “/images” or “/files” to make sure that files where I am linking to from other websites are still available in the net even if I am removing links to those files so “wget -m” will not mirror them anymore.

The most benefit for me releasing my website like this is, that my webserver is just a stupid copy of what I have running locally. There is no dynamic data creation on my server, there is no scripting language running and I don’t need to make backups of /var/www. I also don’t have to run a database on this server

Locally it is great to a have a simple interface for publishing information by still being totally free when integrating own stuff like the gallery. Even a mix of PHP and some small parts of Python code are running here… So, I am totally free when coding this site because I never will produce a monster running on a server and wasting CPU time just because everything is created dynamically but without sense…

One thing I shouldn’t forget to mention is that I am running sometimes very crappy code in my WordPress installation but I don’t need to care. I am the one and only person running this code. I know that’s not a good practise but I am running PHP here and this could really make problems on public webservers. So security is in no way important when writing this website’s code…. ;)

Greets from outer space… ;)

Posted in: website

Chris Hadfield’s Space Oddity

Monday, May 13th, 2013

Very nice! Thanks for that!!!

Posted in: music

R.I.P. MySQL

Saturday, April 27th, 2013


I switched from MySQL to MariaDB some time ago and now I read in the news that Wikipedia is switching too. I really recommend to give MariaDB a try. Nothing is changing to you if you are running Webapps like PHPMyAdmin, WordPress etc. You are just switching to a 100% open source software that MySQL is not anymore.

I am using Gentoo and Sabayon Linux and switching was just installing MariaDB, MySQL was automatically removed. Restarting the service “mysql” was the only thing to do afterwards. All databases were up and running whithout any configuration. Make a dump of your databases before so you could import the data when something fails with the raw datafiles. Everything worked out of the box for me and even my backup scripts are working without any changes because of 100% MySQL compatibility.

I like to replace software on my workstation that is not 100% open source. It is great that MariaDB is on its way and we could feel like we felt the good old “MySQL” days… ;)

Dear hosting providers, please switch from MySQL to MariaDB. Everything is compatible and when you are doing the first step, web application developers will follow. MySQL is great but it is not freedem like MariaDB and we all used the freedom of MySQl in the late 90′s to build up our hosting stuff… It was a benefit for the MySQL project but mostly for us. So let us now do the same and give MariaDB the chance for replacement. Then the develepment of the most succesfull open database management system can go on again. Thanks for that to all developers of MariaDB!

MySQL, Rest In Peace!

Posted in: freedom, news, OpenSource

New Techno Track Released

Wednesday, April 10th, 2013

I am producing electronic music / techno since some time again. I am releasing songs at SoundCloud. If you like Techno take look there.

Yesterday I produced a new Techno track. Here it is:

Posted in: music

Pages

<<12 3 4 5 6 7 8 9 10 11 12 13 14 15 16 >>

Tags

Account ACTA Amsterdam Android App Arduino Arm Attiny Automation Avr Beach Board Book Bootstrap Circuit Clouds Code Community Cross Css3 Cyanogen Denhaag Denmark Desaster Deutsch Device Distribution DIY Dotnet Electronics Embedded Extension Extension news Firefox Foo Fosdem Freedom Freifunk Friends internet Fun Games GCC Gentoo German Gnoduino Hadfield Hamburg Header Hello Holiday Host Howto HTML Html5 Httpd Internet Irc Jabber Javascript Keitum Kernel Language Lcd Led Lego Leiden Leo Leo-search Life Linspector Linux Madurodam MariaDB Matrix Mindstorms Minimal Mirror Mobile Monitoring Moon Music Mysql Nagios Nas Netduino Netherlands Network News NXT Oddity Ooc Openmediavault OpenSource Openwrt Patents Pcsc Petition Photo Photos Php Politics Programming Python Question Recovery Robotics Rsync Sabayon Scheduler Scm Sensor Server Service Shell Simulation SmartCards Snow Soap Society Software Space Starwars Static Sun Sweden Sylt Techno Telemichel Toolchain Translation Vpn Website Wget Wine Wiring Wordpress Wsdl Xmpp Zsh Zynk

$Date: 2013-04-10 18:31:07 +0100 (Wed, 10 Apr 2013) $