[Gambas-user] Help files for your gambas program - How do you do it

2009-01-17 Thread richard terry
Wondered about any pointers for generating (searchable) help files for your gambas program. Regards richard -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.ne

[Gambas-user] Linking ones own subroutines to a gambas like wiki

2009-01-17 Thread richard terry
I keep separate text files in my project to describe my forms. As I was working today I thought, "wouldn't it be nice if I could hit the F1 key over my routines and bring up a wiki, like you can if you hit F1 or F2 over the gambas keywords. I wondered if this would be possible to set up? eg,

Re: [Gambas-user] Gambas is slower than Python??

2009-01-17 Thread Dominique SIMONART
birchy a écrit : > I'm quite confused. I'm from a VB6 background, so when i moved to Ubuntu as > my main O.S. Gambas was very attractive. Several things (mainly poor > documentation) pushed me to try other languages. Having done a little C, > C++, Java and PHP, i decided to give Python a go as it's

Re: [Gambas-user] Gambas is slower than Python??

2009-01-17 Thread Gareth Bult
>through an optimized compiler, so that explains why it is not about 50x Mmm.. C 50x faster than Python... interesting - not in my experience - certainly not these days where 95% of code is actually library calls that are written in "C". VB 50x faster than Python ... that's a new one on me. I've

Re: [Gambas-user] Gambas is slower than Python??

2009-01-17 Thread birchy
Benoit Minisini wrote: > Can you show us the code in Python? Maybe it will help me to find > something > that could be enhanced in Gambas if Python can do better? :-) Ok, i think the bottleneck is related to the function call overhead: PYTHON: wrote: > > import time > > t = time.time() > for

Re: [Gambas-user] Gambas is slower than Python??

2009-01-17 Thread Benoit Minisini
> On samedi 17 janvier 2009, birchy wrote: > > > > PUBLIC SUB Main() > > DIM i AS Integer, t AS Float, s AS String > > > > t = Timer > > FOR i = 0 TO 99 > > s = GetSubstring("QWERTYUIOP", "WE", "IO") > > NEXT > > PRINT Timer - t > > END > > > > PRIVATE FUNCTION GetSubstring(doc AS

Re: [Gambas-user] Datepicker bug

2009-01-17 Thread Benoit Minisini
On samedi 17 janvier 2009, Diego Fernández wrote: > Hi Benoit, > > have you look/solve the datepicker bug yet? just asking, dont mean to > pressure you.. > > Thanks > Mmm, no. I didn't write the code, so maybe Philippe Sérafin, who made the control, can do something? -- Benoit Minisini ---

Re: [Gambas-user] Gambas is slower than Python??

2009-01-17 Thread Benoit Minisini
On samedi 17 janvier 2009, birchy wrote: > I'm quite confused. I'm from a VB6 background, so when i moved to Ubuntu as > my main O.S. Gambas was very attractive. Several things (mainly poor > documentation) pushed me to try other languages. Having done a little C, > C++, Java and PHP, i decided to

Re: [Gambas-user] Have I been kicked off the list?

2009-01-17 Thread Benoit Minisini
On dimanche 18 janvier 2009, Kris Douglas wrote: > 2009/1/17 Kari Laine : > > Hi Werner, > > > > It's January 17 today - so you seem be subscribed :-) > > > > > > kari > > > > On Sat, Jan 17, 2009 at 5:46 PM, Werner wrote: > >> The last message I received was just before Christmas. > >> > >> Regar

Re: [Gambas-user] high cpu usage with UDP server/client

2009-01-17 Thread Benoit Minisini
On dimanche 18 janvier 2009, Joshua Higgins wrote: > I am using the version packaged in Ubuntu Intrepid (2.7) > The bug was fixed in the 2.10! -- Benoit Minisini -- This SF.net email is sponsored by: SourcForge Communit

Re: [Gambas-user] Gambas is slower than Python??

2009-01-17 Thread birchy
Gareth Bult-3 wrote: > Both Python and Gambas compile to pseudo code and run through an > interpreter .. so essentially they are the same in terms of the > performance one might expect. My mistake, i assumed that Gambas was an optimizing compiler like VB6. I'm actually quite disappointed with the

Re: [Gambas-user] high cpu usage with UDP server/client

2009-01-17 Thread Joshua Higgins
I am using the version packaged in Ubuntu Intrepid (2.7) 2009/1/17 Benoit Minisini > On samedi 17 janvier 2009, Joshua Higgins wrote: > > Hello, > > > > I'm looking at the UDP Server/Client example, and when the server is > > running, the program uses 13% CPU constantly, shown by htop. Firefox o

Re: [Gambas-user] Gambas is slower than Python??

2009-01-17 Thread Gareth Bult
Erm, Both Python and Gambas compile to pseudo code and run through an interpreter .. so essentially they are the same in terms of the performance one might expect. Hence differences in performance will come down to the actual code you use and how good your relative examples are. In this case th

Re: [Gambas-user] Have I been kicked off the list?

2009-01-17 Thread Kris Douglas
2009/1/17 Kari Laine : > Hi Werner, > > It's January 17 today - so you seem be subscribed :-) > > > kari > > > On Sat, Jan 17, 2009 at 5:46 PM, Werner wrote: > >> The last message I received was just before Christmas. >> >> Regards >> Werner >> Hello, could be that the mail isn't coming through t

[Gambas-user] Gambas is slower than Python??

2009-01-17 Thread birchy
I'm quite confused. I'm from a VB6 background, so when i moved to Ubuntu as my main O.S. Gambas was very attractive. Several things (mainly poor documentation) pushed me to try other languages. Having done a little C, C++, Java and PHP, i decided to give Python a go as it's getting very popular. I

Re: [Gambas-user] Datepicker bug

2009-01-17 Thread Diego Fernández
Hi Benoit, have you look/solve the datepicker bug yet? just asking, dont mean to pressure you.. Thanks Diego Fernández escribió: > Turning Off the Desktop effects, shows the datepicker in the center of > the container (form, frame,etc) > > > > Benoit Minisini escribió: >> On mercredi 14 janvie

Re: [Gambas-user] Have I been kicked off the list?

2009-01-17 Thread Kari Laine
Hi Werner, It's January 17 today - so you seem be subscribed :-) kari On Sat, Jan 17, 2009 at 5:46 PM, Werner wrote: > The last message I received was just before Christmas. > > Regards > Werner > > > > -- > This SF.

[Gambas-user] Have I been kicked off the list?

2009-01-17 Thread Werner
The last message I received was just before Christmas. Regards Werner -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword

Re: [Gambas-user] high cpu usage with UDP server/client

2009-01-17 Thread Benoit Minisini
On samedi 17 janvier 2009, Joshua Higgins wrote: > Hello, > > I'm looking at the UDP Server/Client example, and when the server is > running, the program uses 13% CPU constantly, shown by htop. Firefox on my > system uses 4.5% average when browsing. Is this relatively high CPU usage > normal for th

[Gambas-user] high cpu usage with UDP server/client

2009-01-17 Thread Joshua Higgins
Hello, I'm looking at the UDP Server/Client example, and when the server is running, the program uses 13% CPU constantly, shown by htop. Firefox on my system uses 4.5% average when browsing. Is this relatively high CPU usage normal for the UDP server example? -- joshua higgins >>-- -