Do they belong to you? Claim these comments.
James Henstridge
Is this you? Claim Profile »
8 months ago
in Mono's SIMD Support: Making Mono safe for Gaming - Miguel de Icaza on Miguel de Icaza's blog
I assume the "Vector3f" bits in the second code snippet should be "Vector4f", right?
1 reply
9 months ago
in Securing a Unix Domain Socket: Looking for Help - Miguel de Icaza on Miguel de Icaza's blog
My understanding is that a client can't affect the information returned by SO_PEERCRED on the other end of the socket (assuming they can't setuid() or similar). The default access configuration for PostgreSQL on my machine uses peer credentials to authenticate local connections, so they obviously trust it (http://www.postgresql.org/docs/8.3/static/auth-...).
Of course, this isn't available everywhere, so might not be appropriate for some of your target systems.
Of course, this isn't available everywhere, so might not be appropriate for some of your target systems.
9 months ago
in Securing a Unix Domain Socket: Looking for Help - Miguel de Icaza on Miguel de Icaza's blog
One extra layer of protection you could use is to check the SO_PEERCRED socket option on the application side to make sure the correct user connected.
1 reply
migueldeicaza
Question: using SO_PEERCRED, do clients have to set any special flags before connecting? We would not want to limit the kinds of clients to those that happen to know that they need to set some credentials before connecting.
1 year ago
in oh. hi. - Miguel de Icaza on Miguel de Icaza's blog
It isn't like this is the first time pop culture references have worked their way into API naming.
IIRC, gtk_file_chooser_set_local_only() was a League of Gentlemen reference.
IIRC, gtk_file_chooser_set_local_only() was a League of Gentlemen reference.
1 year ago
in Games Worth Playing - Miguel de Icaza on Miguel de Icaza's blog
One of the best PS2 games I played last year was Okami. It is a decent length, and the story line was interesting (based on various bits of Japanese mythology/history). The brush/calligraphy based attack system was unlike anything I'd used before.
There is also a Wii port now. I haven't tried it, but I can see the attack system fitting that controller pretty well.
There is also a Wii port now. I haven't tried it, but I can see the attack system fitting that controller pretty well.
1 reply
Miguel de Icaza
James! thanks for the recommendation, this looks fun. I will try it out
1 year ago
in Delegating your OpenID so it works with Wordpress Plugin on Jonesieblog
If you are delegating, wouldn't it be easier to go all out and point directly at your myOpenID XRDS document?
Just set X-XRDS-Location to http://robertjones.myopenid.com/xrds and it will expose all the capabilities of the provider, including OpenID 2.0 support.
Just set X-XRDS-Location to http://robertjones.myopenid.com/xrds and it will expose all the capabilities of the provider, including OpenID 2.0 support.
3 years ago
in BazaarNG and Mercurial and Git on Phil Dawes' Stuff
You might want to check out bzr 0.8 when it comes out (should be within a week), as it addresses a number of the issues you bring up.
There is a new branch format that will improve network performance.
There is a new repository concept that allows you to share the version control information for multiple branches in a shared location (a parent directory). If your branches are related, this will save a lot of space. You can also have branches without a working tree (i.e. only version control data).
And while bzr is backed by Canonical, there is a fair number of external contributors (just check the revision history).
There is a new branch format that will improve network performance.
There is a new repository concept that allows you to share the version control information for multiple branches in a shared location (a parent directory). If your branches are related, this will save a lot of space. You can also have branches without a working tree (i.e. only version control data).
And while bzr is backed by Canonical, there is a fair number of external contributors (just check the revision history).
That is what I get for typing it from memory; Will fix as soon as I get back to work where my blog software is.