I’m working on GIO bind ings

Hi!

Just wanted to let everyone know that I’m working on GIO bindings. I
got fed up with FileUtils, Pathname, and File for doing my file
management at work (on Windows), so I finally got around to trying to
set this up. It’s been rather straightforward so far. I was
wondering if anyone has any thoughts on the design of the bindings or
any other input that can be useful. Relating to the async stuff, I
think that you can easily get it down to:

G::File.new(“abc”).read_async(20) do |twenty_bytes|
puts twenty_bytes
end

which reads so incredibly much nicer than in C. I must say that
Alexander Larsson has designed an incredibly nice API.

One thought I had was about the namespace. GFile is called just that
and I don’t have a good alternative to G::File. Should it be
GLib::File?

Also, I’m hopefully going to be completing this at work and was
wondering what the status is on ”sponsoring”? I certainly don’t care,
but it would be nice to be able to tell my boss that I can get a link
up on the home page, or something similar, in exchange for some of my
hours at work. If not, then fine, I’ll probably be allowed to
complete this at work anyway, but it might be something we should
consider. It doesn’t have to be anything fancy, perhaps we can add a
link to the left sidebar called Sponsors and there we can list
companies that allowed their developers to work on ruby-gnome2 during
work hours :-).

I work for the following company, if anyone cares:
Amesto | Simplifying Business. (I am in no way responsible for
the homepage.)

which reads so incredibly much nicer than in C.

I hear you. :slight_smile:

About sponsoring, I think it would be nice if we could collect all
useful gnome/gtk apps written in ruby on a page - I feel that this is
the best advertisement one can do, i.e. by specific working examples.

But on the other hand, for example, I personally never care about
companies - I care about good apps and smart people.

About sponsoring, I think it would be nice if we could collect all
useful gnome/gtk apps written in ruby on a page - I feel that this is
the best advertisement one can do, i.e. by specific working examples.

?

http://ruby-gnome2.sourceforge.jp/hiki.cgi?Applications


Guillaume C. - Guillaume Cottenceau

Hi,

In [email protected]
“[ruby-gnome2-devel-en] I’m working on GIO bindings…” on Thu, 19 Mar
2009 15:50:35 +0100,
Nikolai W. [email protected] wrote:

Just wanted to let everyone know that I’m working on GIO bindings.

Great!

One thought I had was about the namespace. GFile is called just that
and I don’t have a good alternative to G::File. Should it be
GLib::File?

GLib::File is better.

Also, I’m hopefully going to be completing this at work and was
wondering what the status is on ”sponsoring”? I certainly don’t care,
but it would be nice to be able to tell my boss that I can get a link
up on the home page, or something similar, in exchange for some of my
hours at work. If not, then fine, I’ll probably be allowed to
complete this at work anyway, but it might be something we should
consider. It doesn’t have to be anything fancy, perhaps we can add a
link to the left sidebar called Sponsors and there we can list
companies that allowed their developers to work on ruby-gnome2 during
work hours :-).

Umm, I looked at gnome.org but gnome.org doesn’t have
sponsors page…

What about create your page on Authors
http://ruby-gnome2.sourceforge.jp/hiki.cgi?Authors
and mention about “your work is sponsored by your company”?

Thanks,

kou