2005-11-24: WP: Allow users to edit posts of other users

In wp-admin/edit-pages.php line 19:


AND ($wpdb->users.user\_level <= $user_level OR $wpdb->posts.post\_author = $user_ID)

2005-09-26: Promotion

Dear Prof. Dr. Philip Baer,

[…]

Great! A few minutes ago I didn’t even know that I’ve fin­ished my phd already… :)

2005-09-17: Kryptotag 3

On thursday I gave my second talk at the third Kryptotag in Darm­stadt. It was as inter­est­ing as the last time. A really great idea to organ­ize some­thing like this in Ger­many, par­tic­u­larly because secur­ity and crypto­logy is a bit under­rep­res­en­ted here.

I’ve put the slides and the abstract here.

2005-09-08: Mono.Cairo

I’m cur­rently invest­ig­at­ing Mono.Cairo for some pro­jects I’m involved to. Since there’s no to easy to use Cairo–based can­vas ele­ment avail­able at the moment, I’m about to cre­ate a simple new one. Dur­ing the last two days I got stuck at a memory leak: once I moved some ele­ment on my pretty, pretty, pretty simple can­vas field, all my memory got eaten up. I’ve checked every piece of code — it’s not that much, only a few lines so far :) — but it seemed to be an issue with the Cairo-Mono-binding I found some­where on the Internet.

Today, just some minutes ago, I decided to search some mailing­lists and news­group for this prob­lem et voilà, here’s the solu­tion: http://…/gmane.comp.gnome.mono.summer-of-code/163. Michał Dominik K., the developer of DIVA and a par­ti­cipant of the Sum­mer of Code pro­ject of the Mono effort, pub­lished the solu­tion in the coordin­a­tion list. Thanks! :)

Start­ing with 2.8 the GTK lib­rary nat­ively sup­ports Cairo. The func­tion gdk\_cairo\_create(GdkDrawable *) cre­ates a sur­face with no memory leak­age :). The full source for Gdk.Graphics is shown below. It’s linux-only for now.

using System;
using System.Runtime.InteropServices;
using Cairo;

namespace Gdk
{
	public class Graphics
	{
		private Graphics() {}

		[DllImport("libgdk-x11-2.0.so.0")]
		internal static extern IntPtr gdk_cairo_create(
                IntPtr handle);

		public static Cairo.Graphics CreateDrawable(
                Gdk.Drawable drawable)
		{
            return new Cairo.Graphics(
                    gdk_cairo_create(drawable.Handle));
		}
	}
}

2005-06-26: Sommer in the City

The past few days were quite hot — merely relat­ing to the tem­prat­ure. Up to 33C in the office here in Kas­sel is really warm enought for me. Mainly because the sea is so far, far, faaar away! “Sea” means Atlantic Ocean or Pacific Ocean to me, some­thing beau­ti­ful, open and far-reaching. An altern­at­ive would be an air con­di­tion. There’s a room with an air con­di­tion in our depart­ment. Maybe I should have settled for this room. Hav­ing said that, air con­di­tions often cause colds, so maybe a fan also suf­fices? Non­ethe­less, I would prefer the see if it was possible.

Yes­ter­day after­noon we had a quite impress­ive storm here. A second one star­ted just a few minutes after I left the Uni­ver­sity. Due to a quite improb­able coin­cid­ence I was in the video store on the other side of the street at this time. About ten minutes later the storm was over. I then con­tin­ued walk­ing home.

Mindhunters is a good film for lone­some, bor­ing even­ings. The plot is a bit loose but actu­ally it is a quite enter­tain­ung movie. It’s the same with Con­stantine. It is good enter­tain­ment but not much more. Its plot is a bit weaker.

As you can see: depressed moods, lone­some even­ings and some bottles of orange, grapefruit, apple, and pine­apple juice and gren­ad­ine sirup. A great com­bin­a­tion but the sea is still too far away ;). A little bit of south­ern men­tal­ity would be nice. It’s a pity.

The other thing is, that I’m not quite sure about how to start my dis­ser­ta­tion pro­ject. Adapt­ing tech­niques of related work, com­bin­ing them, or cre­at­ing some­thing new? That’s always the prob­lem with com­puter sci­ence and pro­gram­ming. Once the soft­ware pat­ents dir­ect­ive passed, these three altern­at­ives instantly reduce to only the lat­ter one, given I can avoid already assigned pat­ents. Shit! STOP SOFTWARE PATENTS!

I’ll stop this depresses post now. Let’s hope that the next week won’t suck like this one. :P

You are currently browsing the archives for the Work category.

Bookmarks

Meta