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)
In wp-admin/edit-pages.php line 19:
AND ($wpdb->users.user\_level <= $user_level OR $wpdb->posts.post\_author = $user_ID)
Dear Prof. Dr. Philip Baer,
[…]
Great! A few minutes ago I didn’t even know that I’ve finished my phd already… :)
On thursday I gave my second talk at the third Kryptotag in Darmstadt. It was as interesting as the last time. A really great idea to organize something like this in Germany, particularly because security and cryptology is a bit underrepresented here.
I’ve put the slides and the abstract here.
I’m currently investigating Mono.Cairo for some projects I’m involved to. Since there’s no to easy to use Cairo–based canvas element available at the moment, I’m about to create a simple new one. During the last two days I got stuck at a memory leak: once I moved some element on my pretty, pretty, pretty simple canvas 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 somewhere on the Internet.
Today, just some minutes ago, I decided to search some mailinglists and newsgroup for this problem et voilà, here’s the solution: http://…/gmane.comp.gnome.mono.summer-of-code/163. Michał Dominik K., the developer of DIVA and a participant of the Summer of Code project of the Mono effort, published the solution in the coordination list. Thanks! :)
Starting with 2.8 the GTK library natively supports Cairo. The function gdk\_cairo\_create(GdkDrawable *) creates a surface with no memory leakage :). 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));
}
}
}
The past few days were quite hot — merely relating to the temprature. Up to 33C in the office here in Kassel 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, something beautiful, open and far-reaching. An alternative would be an air condition. There’s a room with an air condition in our department. Maybe I should have settled for this room. Having said that, air conditions often cause colds, so maybe a fan also suffices? Nonetheless, I would prefer the see if it was possible.
Yesterday afternoon we had a quite impressive storm here. A second one started just a few minutes after I left the University. Due to a quite improbable coincidence 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 continued walking home.
Mindhunters is a good film for lonesome, boring evenings. The plot is a bit loose but actually it is a quite entertainung movie. It’s the same with Constantine. It is good entertainment but not much more. Its plot is a bit weaker.
As you can see: depressed moods, lonesome evenings and some bottles of orange, grapefruit, apple, and pineapple juice and grenadine sirup. A great combination but the sea is still too far away ;). A little bit of southern mentality would be nice. It’s a pity.
The other thing is, that I’m not quite sure about how to start my dissertation project. Adapting techniques of related work, combining them, or creating something new? That’s always the problem with computer science and programming. Once the software patents directive passed, these three alternatives instantly reduce to only the latter one, given I can avoid already assigned patents. 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.