ok, worked around this bug, uploaded a new version.
Changes:
svn/valide-read-only/libvalide/ui/
abstract-project-dialog.ui
abstract-project-dialog.glade
abstract-project-dialog.vala

In all 3 files I removed 1 occurence of:

Code:

<property name="active">0</property>

It is in the combobox to choose one of the languages Vala or Genie.
So none of the 2 is selected by default.
No more crash.

This might be a bug in our outdated libglade, I think I had similar issues in Gtkbasic. Libglade crashes, if a combo has a defaultvalue in the *.glade file.
There also was similar in the WineColorSetter I just had written.
There I then have set it active after the *.glade was loaded.

Code:

get_combobox(get_widget("combobox1")).set_active(0)

Maybe it can be solved in the IDE, by setting it active somewhere in the vala code, but I found not yet out, where I could insert that.

Val(a)IDE is written in Vala - that's good
Nicolas Joseph has done good

Many years ago I helped in the development of an IDE
for the Curl programming language (still largely proprietary)
http://www.curl.com/products/ide/
One of the neat features was an integrated
online central repository and local repository synchronizing of code
that does not seem there at the official site . . .

Even those on dial up could go on line and upload and download and lock/unlock code they were working on at their local machine

Obviously programmers would only have on their local machines code they were interested in.

Might be a useful - might not be a priority/possibility.
However at this early stage, would be a good time . . .

Another great feature was compiling sample code that was in Help
_________________Puppy WIKI

Yes. The main problem has been lack of beginner's documentation. There is documentation out there, but very terse, really written for people who already know how to code in Vala/Genie.

For sometime I have just been blundering along, but yesterday when I wrote a program in Genie to replace a slow Bash script, I suddenly realised that I had crossed a threshold and was happily coding in Genie.

Genie really is inherently easy to code in. It is a matter of adequate introductory documentation. Some of my documentation needs more work, much more work ...and I do intend to keep working on it._________________http://bkhome.org/news/

BarryK
Yes. The main problem has been lack of beginner's documentation. There is documentation out there, but very terse, really written for people who already know how to code in Vala/Genie.

For sometime I have just been blundering along, but yesterday when I wrote a program in Genie to replace a slow Bash script, I suddenly realised that I had crossed a threshold and was happily coding in Genie.

Genie really is inherently easy to code in

Yes, most developers are quick to impress with complex
coding I guess for status so other programmers take them seriously

forgetting that the real power of any language really just takes advantage of some simple commands with real world practical examples

I suggest any "puppy programs" that use vala are very heavily commented so that even if one does not desire to take up the profession as a programmer they would still be able though to make minor modifications and help also to edit code (just on a much smaller scale)

speaking for myself I can figure out code if I know what the program does and something isn't working correctly in one small part
it takes me awhile to jump in and make any changes
this is where comments are more valuable than gold because
of the time needed to figure out what should happen

most man pages really stink
they give options NOT examples
thus hindering the advancement and usability
but that is still better than no documentation at all

I welcome any new small apps for puppy

please be kind and use many comments and some easy examples for the non gurus too (they would like to learn too)

thanks MU for the examples
thanks BarryK for taking a swing at it with vala
we all will learn from it

Hi guys here is the imt sample code
(Shadow did all the work - I made tea)

once run and compiled
run from the command line
like so

imt "in"
where "in" is the text you want your monkeys to try and type
Please be aware that adding a piece of text like 'in the beg"
may mean the IMT program may have to run for days . . .

Code:

// Infinite Monkey Theorem
// Lobster and Shadow, March 2009 LGPL

// use from command line
// imt ["search text"]
// generates random characters and searches for a given pattern eg 'in the beginning was the world'
// warning strings longer than "in the" may take minutes or hours to find

The infinite monkey theorem states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type a given text, such as the complete works of William Shakespeare

ah ha!! now there is a name for what I've been trying to do for the last couple days tying to build a new iso

mmm uh ... maybe I should go about this the old fashioned way
take a break from the computer and ..........
yes ! tomorrow I'll go out and buy a monkey!!

well, on second thought I'm sure the monkey will figure it out before I do but that still won't help me if he can't explain how he did it

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum