Stuff Michael Meeks is doing
|
|
This is my (in)activity log. You might like to visit my employer
Novell which is an amazing company, and also
Dell who in days of yore provided me with a
free laptop for Gnome development / conferences.
Also if you have the time to read this sort of stuff you could enlighten
yourself by going to Unraveling Wittgenstein's net or if
you are feeling objectionable perhaps here.
Older items:
2008: (
J
F
M
A
M
J
J
A
),
2007: (
J
F
M
A
M
J
J
A
S
O
N
D
),
2006,
2005,
2004,
2003,
2002,
2001,
2000,
1999,
legacy html
- Discovered that www.gnome.org had not been updating
my log, but canvas.gnome.org had - gack, fixed.
- Up earlyish, went for a run, slogged my guts a little.
- Into the office, for those who live under a rock
Prion or Ximian's Gnome 1.4
release has gone live.
- Inspired with a way to fix the reference counting
issue.
- Dietmar came up with a great resolution to sooth my
worries - wow.
- Banged away at this tedious ref counting bug, got it
conceptualy under control and then Havoc posted this Faq
extremely amusing mis-advice for any budding C programmer.
6.2: I have a function that is supposed to return a string, but when
it returns to its caller, the returned string is garbage.
You probably returned a pointer to a local array. That doesn't
work. Try using a temporary file, instead. For instance:
char *getstr(void) {
FILE *fp = tmpfile();
fputs(gets(NULL), fp);
return (char *) fp;
}
or
6.9: I have a program which mallocs but then frees a lot of memory,
but memory usage (as reported by ps) doesn't seem to go back down.
You're probably not freeing the memory completely. Try replacing
'free(foo);' with
free(foo);
free(foo);
free(foo);
in case the first free() frees the memory only partially. (Unix
wizards may recognize the parallel with syncing three times before
rebooting.)
etc. etc.
- Today some fully paid up Slashdot moron, announced
Ximian Gnome 1.4 there, failing to put a Ximian link and being
somewhat uncharitable - rather depressing, the low standard of
journalism over there now. Still, thankfully there is still The Register which (BOFH)
aside provides interesting stuff.
- Prion release party in the evening, sadly the
sysadmin's had to traipse off to the co-loc., to replace a dead
RAID disk in the server.
In case it's not painfully obvious: the reflections reflected here are my
own; mine, all mine ! and don't reflect the views of Novell, The
Lithuanian Gov't or Arnold Schwarzenegger. It's also important to
realise that I'm not in on the Swedish Conspiracy.
Occasionally people ask for formal photos for conferences,
bio.
or fun.
Michael Meeks (michael.meeks@novell.com)