Use the source, dude

Ubuntu by Pearl

 Just received the new catalog from Pearl, and found this:

Mini-PC with Intel Dual Atom 2x1.6GHz, 400GB HDD

Flexible Operating System: Ubuntu 9.1

(which officially means Ubuntu 9.10, but I think the MAC OSX DTP Tool just lost the zero ;))

Oh well, I normally don't like to say that, but sometimes I like Pearl :)

Ubuntu goes Mainstream :)

Zend Framework 1.10 alpha packages for Ubuntu are out

 I just added a new PPA to our Zend Framework LP team...

On https://edge.launchpad.net/~zend-framework/+archive/zf-unreleased/+packages you can find a test package of Zends Framework 1.10 alpha 1.

To install it follow the instructions on the PPA page, you should know what you are doing...

These packages are available for Lucid right now and only for people who are running Ubuntu Lucid...

 

X-Mas, FAI or The End Of the Year is coming...

So, let's get started with all the stuff:

1. Congratulations to the FAI Project, which celebrates today the 10th Anniversary. Happy Birthday, FAI, well done Mr. Thomas Lange and all other contributors and users of FAI.

2. I wish everybody a merry x-mas, or merry whatever you celebrate around the world...this year, we'll have our little sunshine around and it's fantastic. Last year, around this time, he was still in "Mommys Belly", and now he's already > 7 months old and exploring the whole world. Two weeks ago we already bought an x-mas tree and last weekend I decorated the tree...many of you with small kids or little babies know what happend ;) it's fun.

3. I'm trying to migrate my blog from Drupal6 to Wordpress...the first steps are done, I don't know when the final move will start. You'll be noticed, I already appologies for all planet spamming, hopefully nothing happens.

4. I'm on holiday since the beginning of December, to get my personal issues sorted out. It work...less stress, less alcohol, more time with Son and C., and much snow since yesterday :)

5.  5 Years of Ubuntu are reaching it's end...after the release of Hoary, I was appointed Ubuntu Member and MOTU (hopefully this team will still exists when we release Lucid) and this will be 5 years ago. A long time to stay with a Distribution :) Hopefully this won't change, or actually I hope that the Distributions are moving to a more "we work together" approach. I would wish for an Ubuntu LTS, or Debian, or SLES or RHEL Release, which needs to be certified only one time for Hardware or Third Party Commercial Software, because we should be honest: you don't earn money with selling OS Boxes..(ok, MS is doing that, but that's only because of the consumer) you earn money with support...you don't need buy licenses, you need consumers who are buying support contracts, and no, nobody wants to buy support contracts for desktop stuff, you need server people buying support contracts. Desktop Users are in need of a 0900 or whatever support number you can earn money with.

6. Have a nice December, lot's of nice evenings with your family and/or friends...and Have a good start into the year 2010, the year of the Linux Desktop ,->

7. See you next year :)

My "Second" XMas Present

 Today it's my last day for this year at our office. I'm going on holiday for the last weeks of December, to get my life situation fixed.

This evening, when my colleague and friend Sven W. gave me a ride back home, I asked him, just as a joke, what I should do with my sparetime now, and he gave me my "second" xmas present for this year. (Actually it's the first present, but I do see our Son Sean Ryan as my first XMAS Present)

He presented me the book "The Power Of Less" by Leo Babauta, and I was really surprised. 

I was even more surprised when I opened the book and read Svens hand written dedication, I'm not translating it, but I'm writing this dedication down in German (sorry for that):

"
Wenn ich gute Blogs bzw. RSS Feeds empfehlen sollte, dürfte jedoch nur einen einzigen nennen,
dann wäre das derzeit der Blog bon 'Leo Babauta' auf http://zehhabits.net/ .
Kurz gefolgt von meinem :-) (ahem...)

Dieses Buch ist eine Art Zusammenfassung seiner Blog-Artikel.

Ich dachte, du kannst es vielleicht als Ergänzung für deine Erholungsphase gebrauchen ...

<followed by some korean letters, I can't repeat here>
(translation in western writing): jom-bwa-ju-se-yo
(meaning): Please take a look at it

Sven
"

TBH, this dedication is more worth then anything else, because you can see here, that colleagues and friends, DO CARE.

So, I'm saying this, because I know he reads my blog, 

Sven,

thank you for this. It means a lot to me, and I'll take a look at it...see you on XMAS Day and on New Years Eve.

\sh

 

Re: Ubuntu Target Practice

Now  I really wonder, why we are against sexism, but not against tools for murdering children, women or men.

If you really want to be an extraordinary better human being, don't touch any weapon, not even when you try to socialize.

Think about Columbine Highschool, the shooter was just as old as some of our contributors.  Think about Erfurt or Winnenden, Germany...

Nitpicking a bit

Ubuntu 9.10 and FAI

thanks to Thomas Lange, Waldemar Brodkorb and friends, who were fixing
some major issues in the FAI sources to make FAI working on Ubuntu.

I incorporated the changes and prepared some Karmic packages for it.

I tested it on some vmware machines.
Results:

1. Installation of FAI on Ubuntu Karmic (server flavour): Success
2. make-fai-nfsroot: success (config changes reflecting e.g. ubuntu
                 mirrors are included)
3. Installation of a test client, especially testing grub-pc: Success

Anyone who is interested, to give FAI on Ubuntu Karmic a try, can fetch
the packages from the Launchpad FAI Team Personal Package Archive,
which you can find here:

    https://launchpad.net/~fai/+archive/ppa

When you are running Ubuntu Karmic, just add ppa:fai/ppa to your
systems software sources or add a file to /etc/apt/sources.list.d/ like
this:

fai-ubuntu.list:

deb http://ppa.launchpad.net/fai/ppa/ubuntu karmic main
# deb-src http://ppa.launchpad.net/fai/ppa/ubuntu karmic main

The archive key is: 1024R/4EA8CBF6
The archive key fingerprint: 9129F9C36B552AE35EDE6F3E29B940FC4EA8CBF6

To add the archive key to your local apt-key ring:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4EA8CBF6

sudo apt-get update
sudo apt-get install fai-server fai-quickstart fai-doc

and you should be rock and rolling.

Interested people can also have a look at the source:

fai-ubuntu-trunk:
    http://svn.debian.org/wsvn/fai/people/shermann/fai-ubuntu-trunk/#_people_shermann_fai-ubuntu-trunk_

fai-3.3.2ubuntu1:
    http://svn.debian.org/wsvn/fai/people/shermann/fai-3.3.2ubuntu1/#_people_shermann_fai-3.3.2ubuntu1_

If you find any bugs, regarding this package, don't file it in the
Debian BTS, but here:

    https://bugs.launchpad.net/~fai/

Wishlist bugs you can file always in the debian bts, or regarding
ubuntu only on launchpad (URL mentioned above).
Wishlist bugs which are filed on LP but could be useful for the FAI
main line, I'll forward those towards the debian bts.
 

Sean Ryan using my laptop

 Watch the videos below to see how my son is using my laptop ;)

If you can't watch the video, then click here!

 

 If you can't watch the video here, then click here!

A better way to obfuscate ipaddresses in Python?

I'm too lazy now to ask google...but

>>> import re
>>> ipaddress=re.compile("(\d+\.\d+\.\d+\.\d+)",re.DOTALL)
>>> fp=open("logfile.log","rb")
>>> newfp=open("komserver01.log.temp","wb")
>>> for line in fp:
...     for ip in ipaddress.finditer(line):
...             newip=ip.group(1)
...             bytes=re.search("(\d+)\.(\d+)\.(\d+)",newip)
...             obfus=bytes.group(1)+"."+bytes.group(2)+"."+bytes.group(3)+".xx"
...             line=line.replace(newip,obfus)
...     newfp.write(line)

looks easy and is fast...but is there a simple way to do this?

Hmpf.

Fun with Upstart

 Yesterday I dist-upgraded an Ubuntu 9.04 Server to an Ubuntu 9.10 Server and ran into a serious problem.

No network interfaces after reboot into 9.10 anymore. 

 Ok, what do we have here...I'm using a bonding + vlan (with vlan_raw_device bondinterface) setup, and strangely upstart doesn't want to start that up.

The job which should do that is /etc/init/networking.conf, and the nice Soren Hansen tried to help me to debug this problem. We  came up with some workarounds, but somehow they didn't work. After discussing this issue with Upstart Upstream and Ubuntu Dev Scott James Remnant we were stucked.

Today, I found the time to dig a bit deeper into the Upstart  process, and shame oh shame, it looks like that Upstart starts this "networking.conf" job too early, eventually before the needed /etc/init/network-interface.conf job.

Now, after more debugging I found out that somehow the "/var/run/network" directory is missing, but it's needed for /sbin/ifup .

Ok, we got the bugger, whysoever, now for the fix:

if you have a similar problem, try to add this to your /etc/init/networking.conf:

<after the "task" keyword">
script
     mkdir -p /var/run/network
     exec ifup -a
end script
<delete the last exec ifup -a line in the script>

Please try it out...I pushed the fix to lp: #446031

I wonder if this is really the bugger, and there is a timing problem between /etc/init/networking.conf and /etc/init/network-interface.conf

 

jQuery CIDR Input validation

 Dear Lazyweb,

I'm not the top javascript hacker of the pops, but somehow I need an input validation for CIDR addresses.

Preferences:

  1. JQuery
  2. JQuery Validation
  3. an address like this: 192.168.0.0/24

I came up with this snippet:

jQuery.validator.addMethod("cidraddr",function(value,element){
console.log(value);
return this.optional(element)||/^\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\/\d{1,2}\b$/.test(value);
},jQuery.validator.format("Please enter a valid CIDR Address!"));

But it's not enough. If you have a good CIDR regexp, please add it here via comments, or if I didn't understand the adding of a jquery validator, please add a better one :) 

Use the usual communication channels to get in touch with me.

TIA
 

 

 

Syndicate content