groom is currently certified at Journeyer level.

Name: BenoƮt Rouits
Member since: 2002-05-26 02:42:50
Last Login: 2008-03-07 18:48:11

FOAF RDF Share This

Homepage: http://brouits.free.fr/

Notes:

Playing with C, making tiny libraries for various purpose.

  • Addiction: playing music.
  • Favourite quote:
    If a composer could say what he had to say in words,
    he would not bother trying to say it in music
    (Gustav Mahler)

irc://ben{}@eu.freenode.net

Projects

Articles Posted by groom

Recent blog entries by groom

Syndication: RSS 2.0

7 Mar 2008 »

python is cool: chapter 0

I finally rewrote a program (previously wrote in C) in the python language. I like it, mainly for it's well documented API and the way we can have both the functionnal and object language style. I took to me less than 12 hours to complete the program i made in 3 days of C, having not any knowledge of Python but a book. I'ts really cool.

15 Feb 2008 (updated 15 Feb 2008 at 02:39 UTC) »

vala tutorial: chapter 0

after about 8 years of C and bourne, i finally decided to learn a descent language. and by learn, i mean learn from the beginning, as a baby. making things clean, trying to forget crappy things i made in the past. So, i decided to choose vala for testing my fresh baby brain. This first post on vala is be the beginning of a step by step introduction to this language for people who know C or C++.

first, read This Hello World in Vala

Here is a variant, which goal is to demonstrate how to use program's arguments, and how to get an array's length:

using GLib;
public class Tutorial.CommandLineArgs : GLib.Object {
 public static void main(string[] args) {
  for (uint i=1; i< args.length; i++)
   stdout.printf("Hello, %s. ",args[i]);
  stdout.printf("My name is %s\n", args[0]);
 }
}

Here you see the declaration of an array of strings which i called args, another declaration: an unsigned integer variable named i. Then you see the length member of the array type. Finally you see how to acces to an array's cell.

Question from the baby: how to get the real basename of args[0], having knowledge of basename() from <libgen.h> or g_path_get_basename() from GLib ? Reply: to acces g_path_get_basename() from GLib, Vala has this naming convetion: GLib.Path.get_basename(). Now it's up to you to make a better hello people program.

3 Oct 2007 (updated 3 Oct 2007 at 04:18 UTC) »

vps experience

After the succcessful vserver experience for virtualizing asterisks and freepbx, i am now switching to the VPS technology provided by Positive software. The advantage is mainly that they provide a web interface to generete guest OSes. The cons is that it is not free for commercial purposes. see you later for more infos.

29 Sep 2007 (updated 29 Sep 2007 at 17:11 UTC) »

why just not extending HTML ?

After playing whith GLADE for Gtk+ apps i still think xhtml is the easyest way to set up a quick form based graphial interface. So i am looking for a HTML to Glade converter or somthing like that. years ago I heard the XFroms would appear in several years since it is an W3C proposal. But anyway... we are still waiting. So, why just not simply extend xhtml for form based apps ? you know, many new widgets would be useful, like:

<date>01/01/1970</date>
<knob start="0" end="100"></>
<slider pos="vertical" start="0", end="100"></>
<menu class="main">
<item action="edit.php" target="new" >Edit</entry>
<item action="prefs.php"
target="new">Preferences</entry>
</menu>

9 Sep 2007 »

virtualizing asterisk

i'm on making asterisk boxes inside linux virtual servers. Frank told about the linux vserver patch and.. wow this is really nice and simple to use. I installed a fresh etch into my old p500 and installed the vserver kernel from etch.. simple. now here are the commands to create a full-featured vserver guest having a debian etch:

# uname -a
linux-image-vserver-686 blah...
# apt-get install util-vserver
[...]
# vserver server1 build -m debootstrap -- -d etch
[coffe men...]
# vserver server1 start
[see init process]
# vserver server1 enter
#_
and voilà!

46 older entries...

 

groom certified others as follows:

  • groom certified jul as Journeyer
  • groom certified Ruffy as Journeyer
  • groom certified groom as Apprentice
  • groom certified negative as Journeyer
  • groom certified johnnyb as Journeyer
  • groom certified salmoni as Journeyer
  • groom certified remle as Journeyer
  • groom certified Barbicane as Journeyer
  • groom certified fxn as Journeyer
  • groom certified r4f as Journeyer
  • groom certified chipx86 as Journeyer
  • groom certified lmjohns3 as Journeyer
  • groom certified jschurger as Journeyer
  • groom certified mathieu as Journeyer
  • groom certified exa as Journeyer
  • groom certified Guillaume as Journeyer
  • groom certified zhaoway as Journeyer
  • groom certified gilbou as Journeyer

Others have certified groom as follows:

  • badvogato certified groom as Apprentice
  • bytesplit certified groom as Apprentice
  • negative certified groom as Apprentice
  • groom certified groom as Apprentice
  • johnnyb certified groom as Apprentice
  • lev certified groom as Apprentice
  • remle certified groom as Journeyer
  • jul certified groom as Apprentice
  • r4f certified groom as Journeyer
  • Barbicane certified groom as Journeyer
  • fxn certified groom as Apprentice
  • helcio certified groom as Apprentice
  • Guillaume certified groom as Apprentice
  • gilbou certified groom as Journeyer
  • Stevey certified groom as Apprentice

[ Certification disabled because you're not logged in. ]

New Advogato Features

FOAF updates: Trust rankings are now exported, making the data available to other users and websites. An external FOAF URI has been added, allowing users to link to an additional FOAF file.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!

X
Share this page