Re: [Gambas-user] Books about compilers and interpreters
On mercredi 03 septembre 2008, Kari Laine wrote: > Hi, > > Could we collect to this thread list of books which are good about > compiler and interpreter design. > > I have one old book but it is pretty tough read. It is Compilers > Principles, Techniques and Tools by Alfred V.Aho, Ravi Sethi, Jeffrey > D.Ullman. > I am seeking a easier book to make me ready to tackle that one. > > I am also after ANSI C standard document. Is it available gratis from > net as pdf? > > Benoit ? > > Best Regards > Kari Laine > The few I learned about compilers and interpreters mainly comes from: - The learn of assembly language on Z80, then M68000, and a bit of Mips and x86. - The learn of C language. - The Lex & Yacc software learned at School. - The write of a Lisp interpreter. By learning, I mean writing software of course. :-) And all depends on your own skills and technical background. You are the better people to find the better book that suits your need. I suggest you start with C and Lex & Yacc to understand the Gambas compiler first - if understanding Gambas is your goal of course :-) Regards, -- Benoit Minisini - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Books about compilers and interpreters
On Wed, Sep 3, 2008 at 10:08 AM, Benoit Minisini < [EMAIL PROTECTED]> wrote: > > And all depends on your own skills and technical background. You are the > better people to find the better book that suits your need. Thanks for answering. I have programmed on and of - simple things with different versions of Basic. I started programming with RPG back in 1986 :-) . Have been learning C and C++ for now about a year as a hobby. > > > I suggest you start with C and Lex & Yacc to understand the Gambas compiler > first - if understanding Gambas is your goal of course :-) > > Yes it is. I have always wondered how compilers and interpreters work not to forget the debugger. It is a tall order - but I will persist :-) (hopefully...) Could you tell me what you need libffi for? Anyway I also use more time to practice programming in Gambas. I am sure there are other's who do the same and produce those valuable little pieces of code. Those people should be asked to send them to somewhere to be collected. And a rule should be that nobody uses word "stupid" when having a look at them :-) I have a domain kllog.net, which I bought for other purpose but it is now unused - I could start collecting these examples there (or maybe the allbasic.info want's to do that) - then people could suggest which are good enough to be part of the Gambas distribution. Best Regards Kari - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Books about compilers and interpreters
On mercredi 03 septembre 2008, Kari Laine wrote: > > Could you tell me what you need libffi for? > > 'ffi' stand for "foreign function interface". It is a library that allows you to dynamically forge a function call at runtime for any function, any CPU (almost) and whatever how arguments are pushed on the stack or CPU registers. Without this library, it is impossible to cleanly implement EXTERN function calls in Gambas (and any other interpreters). Regards, -- Benoit Minisini - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Creating a library
Hi List! I've written a kind of library, where I droped my standard routines. At the moment, I have to compile this class every time with my projects. Is there someone on this list, who can tell me, what I have to do, to compile the library separately and how I can get access to the methods in the library, when I want to use them in my project? Thanks in advance! Greetz Stevie - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Creating a library
Le Wednesday 03 September 2008 10:56:37 [EMAIL PROTECTED], vous avez écrit : > Hi List! > > I've written a kind of library, where I droped my standard routines. At the > moment, I have to compile this class every time with my projects. > > Is there someone on this list, who can tell me, what I have to do, to > compile the library separately and how I can get access to the methods in > the library, when I want to use them in my project? > > Thanks in advance! > > Greetz > Stevie > > > - > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user I guess you can find some examples about creating shared library under linux under linux (eg: http://www.faqs.org/docs/Linux-HOWTO/Program-Library- HOWTO.html) First create your library, after we can talk about two posibilities; accessing it through EXTERN keywords, or creating a gambas component (best way i guess). It should be better if you move this topic in the devel mailing list. Regards, - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Nice book of Gambas
On Wednesday 03 September 2008, Kari Laine wrote: > Hi, > > as nobody has volunteered I try to write this proposal for publisher. > > -- > Dear Sir, > > You are the publisher for a book from John W. Rittinghouse titled as > Beginner's Guide to Gambas. > It is very fine book but parts of it are pretty dated. Gambas project is > very active and it has users all over the world. > > *Gambas* is a free development environment based on a *Basic* interpreter > with object extensions, a bit like *Visual Basic™* (but it is *NOT* a > clone !) More information at the http://gambas.sourceforge.net . Benoit > Minisini is the starter of the project and main developer. accuracy - has Benoit made almost all of it?> > > Gambas is now at version 2.8.2 and version 3.x.x is under development. Book > was based on version 1.x.x. > > As is typical for open source projects documentation is always little > behind. Developer's do what they like most - code! And producing nice > documentation is quite tuff and dull project. So it is not done. On the > Gambas mailing list an idea was raised that maybe if we get permission from > you we would turn this book as a baseline for wiki. Then Gambas users and > developers all over the world make it current and better. It is hard to > start wiki from zero so that is the reason for this request. > > Only you know how good seller it is at the moment. But it's little old and > possible customers noticing that might not like the situation. Also it is > already available as free download in pdf-format. > > What's your benefit > 1. There would be your add on the wiki mentioning what book and publisher it > is based on. > 2. After the wiki has lived for something around 12 months someone from the > Gambas community might turn contents of the wiki to a book you could > publish. Many people like to buy the real book also independent that same > information is in the net. > > > > Yours Sincerely > Looks not to bad but don't forget to add to write which book. > > > Product Details > > > > - ISBN: 0741429489 > > - ISBN-13: 9780741429483 > > - Format: Paperback, 364pp > > - Publisher: Buy Books on the Web.Com > > - Pub. Date: January 2006 And the who should get the permision is at [EMAIL PROTECTED] You are writing on behalf of the admin nom. The email address is a bit stupid, thats why I did suggested he should do the request. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Nice book of Gambas
On Wed, Sep 3, 2008 at 12:17 PM, Ron Onstenk <[EMAIL PROTECTED]> wrote: > On Wednesday 03 September 2008, Kari Laine wrote: > > Hi, > > > Looks not to bad but don't forget to add to write which book. > > > > > > Product Details > > > > > > - ISBN: 0741429489 > > > - ISBN-13: 9780741429483 > > > - Format: Paperback, 364pp > > > - Publisher: Buy Books on the Web.Com > > > - Pub. Date: January 2006 > > And the who should get the permision is at [EMAIL PROTECTED] > You are writing on behalf of the admin nom. > > The email address is a bit stupid, thats why I did suggested he > should do the request. > > Was it him who originated the wiki-idea? I think it is a good idea but now it is his turn to comment and maybe tell his real name... Best Regards Kari Laine - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Q:how to save a file.png into Postgresql
On Wednesday 03 September 2008, richard terry wrote: > On Tue, 2 Sep 2008 09:48:55 pm you wrote: > Ok, that got me a bit further: This is the resultant (failed) insert query . > First try using $$ as the delimiters as per my code gives this and fails: > > insert into > clin_consult.temp_image(piccie)values($$\\211PNG\\015\\012.. ---8<- > \\251\\370\\003>\\241\\324n\\304~\\303\\331\\000\\000\\000\\000IEND\\256B`\\202') > WARNING: nonstandard use of \\ in a string literal > LINE 1: insert into clin_consult.temp_image(piccie)values('\\211PNG\... > ^ > HINT: Use the escape string syntax for backslashes, e.g., E'\\'. > > > Perhaps someone can understand this and help > > Regards > > Richard > In mysql like syntax the command would be > LINE 1: insert into clin_consult.temp_image(piccie)values('\\211PNG\... > ^ The ^ is at the position where th error is. Is the field temp_image existing? Is the _ also allowed in field names as it looks allowed in table names? What is your field an table name and are they following the syntax rules of posgresql, the database system you use, as I rememeber well? Just reading what I typed I see clin_consult.temp_image(piccie) (values) Do you mean the field -=- clin_consult.temp_image -=- in table -=- piccies -=- or the table -=- clin_consult.temp_image -=- in filed -=- piccies -=- ? Should the fieldname not be surrond with quotes while a dot in the name in most caases is not allowed. As far I know the only safe are just only alphanummeric and underscore and a name as -=- clin_consult.temp_image -=- looks to me as invalid without qoutes surrounding this name constuction. Try to add a field as 'myfiled' in the table and insert into that filed. to find out you current fieldname is a invalid field name.Best regards Ron_1st -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Nice book of Gambas
On Wednesday 03 September 2008, Kari Laine wrote: > > > > > Was it him who originated the wiki-idea? I think it is a good idea but now > it is his turn to comment and maybe tell his real name... > > Best Regards > Kari Laine > Not sure it was his idea but he is as holder/hoster/republisher of the wiki who needs the permission for the Dutch law. When he is a ISP and a customer of that ISP is the owner of the wiki then the customer need the permission and the orginating publisher can ask the ISP to knock off the customers wiki site when no permision exsists. If the ISP get the permission, the ISP is responsible of the wiki content and I do not think any ISP wants that. If you or I get the permision then the publisher can ask the ISP to knock off the wiki/site and the ISP *MUST* do that action becasuse the ISP's customer has no rights to do and you r I are not a customer of the ISP. It is just as simple as that and the reason AllBasic should get the permision himself. It is the risk of having a site with protected content even if it is free (in all ways) to everyone, using logo's and/or registered productnames and even can advertise the product. This is something many home webmaster wanabees are forget when they setup a (private) website to the general public. I hope this also explains something I wrote before. Best regards Ron_1st -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Nice book of Gambas
Am Mittwoch, 3. September 2008 12:25:37 schrieb Ron_1st: > Not sure it was his idea but he is as holder/hoster/republisher > of the wiki who needs the permission for the Dutch law. > > When he is a ISP and a customer of that ISP is the owner of the wiki > then the customer need the permission and the orginating publisher can > ask the ISP to knock off the customers wiki site when no permision exsists. > > If the ISP get the permission, the ISP is responsible of the wiki > content and I do not think any ISP wants that. > > If you or I get the permision then the publisher can ask the ISP to > knock off the wiki/site and the ISP *MUST* do that action becasuse > the ISP's customer has no rights to do and you r I are not a customer > of the ISP. > > It is just as simple as that and the reason AllBasic should get > the permision himself. > It is the risk of having a site with protected content even if > it is free (in all ways) to everyone, using logo's and/or > registered productnames and even can advertise the product. The community works on a Wiki, which rights and permissions lay by one person/institution? Best way would be, when the publisher makes the book GPL. Greetz Stevie - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Nice book of Gambas
On Wed, Sep 3, 2008 at 1:39 PM, <[EMAIL PROTECTED]> wrote: > Am Mittwoch, 3. September 2008 12:25:37 schrieb Ron_1st: > > The community works on a Wiki, which rights and permissions lay by one > person/institution? Best way would be, when the publisher makes the book > GPL. > > I am not very knowledgeable of the different licenses (pity I am not a lawyer). Is GPL good license for the textbook/wiki? If no-one else raises their hands I will work on the draft and make a first contact to the publisher - let's say friday. Maybe their ignore that kind of mail or they might get interested. Problem is I very new to Gambas community and therefore am not good candidate for this. Also I am bad negotiator :-) Who will host this wiki? Should it be part of the existing Gambas-wiki? Btw. I noticed there is mention that Gambas wiki is written in Gambas. Is it's source code available under GPL? If I get the permission and nobody else volunteers to host it I think I can think hosting it. Newer run wiki but it might be time to learn it. I am sure it's big work to set it up originally with the baseline. let me know whether I should proceed or drop the whole thing. Best Regards Kari Laine - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Problem fixed in gb.db.sqlite3
Hi, I fixed an important bug in the Sqlite3 Gambas driver in revision 1536. The driver sometimes truncated the value of fields in query results. This bug appears recently for the following reason: There is a missing feature in the function that run SQL queries (sqlite3_exec) in the sqlite3 library, that prevented me from implementing Blob support. So I took the source code of this function and rewrote it for my needs. And SQLite changed, and so the old code did not work, and so I had to update it. Of course, this situation is far from perfect, but I see no other solution at the moment. Maybe I should write to the SQLite author to ask him to add what I need in the sqlite3_exec function. Regards, -- Benoit Minisini - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Nice book of Gambas
On Wednesday 03 September 2008, [EMAIL PROTECTED] wrote: > Am Mittwoch, 3. September 2008 12:25:37 schrieb Ron_1st: > > Not sure it was his idea but he is as holder/hoster/republisher > > of the wiki who needs the permission for the Dutch law. > > > > When he is a ISP and a customer of that ISP is the owner of the wiki > > then the customer need the permission and the orginating publisher can > > ask the ISP to knock off the customers wiki site when no permision exsists. > > > > If the ISP get the permission, the ISP is responsible of the wiki > > content and I do not think any ISP wants that. > > > > If you or I get the permision then the publisher can ask the ISP to > > knock off the wiki/site and the ISP *MUST* do that action becasuse > > the ISP's customer has no rights to do and you r I are not a customer > > of the ISP. > > > > It is just as simple as that and the reason AllBasic should get > > the permision himself. > > It is the risk of having a site with protected content even if > > it is free (in all ways) to everyone, using logo's and/or > > registered productnames and even can advertise the product. > > The community works on a Wiki, which rights and permissions lay by one > person/institution? Best way would be, when the publisher makes the book GPL. > > Greetz > Stevie > > I do not kow how Wikipedia exact works when someone put protected content in a article but someone shall/must/will react on it. The publisher wil not make it GPL if they can have financial profit of it when they sell the book. Asking the publisher to make it GPL will be need as it is posible they do not know about GPL, it is in general not in there interest anyway for the complete work/book. Because the current book as-is is so outdated they maybe well willing to do but take in account that if so many people want it free as wiki they have also still posible customers for selling. It's a bit contra. Any way it is in best interest for allBasic to prevent illlegal as much as possible and getting permision before is always better as telling 'I did not know' afterwards just in this grey situation. If he do not want ask the permission then he should not use the book as basic start source with copy/paste but type his interpretation in his own words and the gambas community can add/correct this content. Best regards Ron_1st PS GPL is not the right licence (software) see http://en.wikipedia.org/wiki/Open_content for other more correct ones. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Nice book of Gambas
On Wednesday 03 September 2008 07:57, Ron_1st wrote: > The publisher wil not make it GPL if they can have financial profit > of it when they sell the book. Does the publisher even own the copyright in this case? Rittinghouse used a vanity press, by the looks of the book a print-on-demand one, and they often don't. I would check my copy but it's still packed following my most recent move. If he'd used CafePress or Lulu I would feel safe saying they absolutely don't own it, but as I recall he used a different one. At any rate, the biggest obstacle to wikifying the book was the fact that we don't have the original document. Even then it'd take a lot of work. Benoit's original Gambas documentation was much shorter and it still took me weeks to get it into the original Gambas wiki which eventually fell into disrepair and disorganization, just as I think the one based on this book eventually would. MediaWiki is a better wiki than TWiki was, but a book needs a fundamental organization to it. I think that if someone wants to proceed with this, you'll need to get in touch with John -- or, if the worst has happened, with his estate. Rob - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Nice book of Gambas
On Wednesday 03 September 2008, Kari Laine wrote: > On Wed, Sep 3, 2008 at 1:39 PM, <[EMAIL PROTECTED]> wrote: > > > Am Mittwoch, 3. September 2008 12:25:37 schrieb Ron_1st: > > > > The community works on a Wiki, which rights and permissions lay by one > > person/institution? Best way would be, when the publisher makes the book > > GPL. > > > > > I am not very knowledgeable of the different licenses (pity I am not a > lawyer). Is GPL good license for the textbook/wiki? No the GPL involves software, see other post just done be me at the end. > If no-one else raises > their hands I will work on the draft and make a first contact to the > publisher - let's say friday. Maybe their ignore that kind of mail or they > might get interested. Problem is I very new to Gambas community and > therefore am not good candidate for this. Also I am bad negotiator :-) > > Who will host this wiki? Should it be part of the existing Gambas-wiki? Btw. > I noticed there is mention that Gambas wiki is written in Gambas. Is it's > source code available under GPL? The presentation is a la wiki. The gambas engine behind it is I assume total different from it. I'm also interested to see how it works, it's a second master piece from the gambas master :) > > If I get the permission and nobody else volunteers to host it I think I can > think hosting it. Newer run wiki but it might be time to learn it. I am sure > it's big work to set it up originally with the baseline. > Basic its easy to install. The hard thing is get te content in. It is not easy cut/paste into a file but you must use the wiki own page editor as far I know to get correct content. :) > let me know whether I should proceed or drop the whole thing. > > > > Best Regards > Kari Laine Difficult to answer. Everyone will say ys go for it. If you like experimenting, have time and want to learn something as a wiki I would say go for it but try first a private wikisite to get the feeling how it works. And as usual on forums and mailists, everyone wants all kind of stuff but contribute to it is to much work so you will be long time on your own. See the start of allBasic, the idea is good, the frontpage give a nice view what is avalable but as Rob Kudla already mentioned the contribution should be more to make the site a hit to go look for information. Yes it need time to grow up and time will tell. As time passes by every new site should at least half the content of an already existing site to have a value for the visitor or a very special and unique subject to attrackt people for a visit and posible contribution. For realy good sites you need 2 hands (10 fingers) the remaining you need the hands of all china people. Conclusion? It is better to spend time to help other potential good sites in the growup period then starting a new site. Concentrating information has more value then spread it out over different sites that lose the interest of the visitors who did like the site so much. allBasic site is willing to host the wiki as he told and initialized already. Fabian Bodard did make gambasforge.net and got a lot contributions but he has to less time to maintenance the site well. Gareth Bult has made http://gambasrad.org/ and spend a lot of time but the last entry in documentation is around Nov 2007, except 1 in Jan 2008. This one was/is connected with the gambas wiki from Benoit and the maillist. The forum is still alive but topic/post versus views is enorm. There is need of practical examples with documentation other then the syntax of the gambas Basic languageas proven by the many requests. Willing to provide exists but a few do it in practice. Best regards Ron_1st (again such boring long message) :) -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Nice book of Gambas
On Wed, Sep 3, 2008 at 3:43 PM, Rob <[EMAIL PROTECTED]> wrote: > On Wednesday 03 September 2008 07:57, Ron_1st wrote: > > The publisher wil not make it GPL if they can have financial profit > > of it when they sell the book. > > Does the publisher even own the copyright in this case? Rittinghouse used > a > vanity press, by the looks of the book a print-on-demand one, and they > often > don't. I would check my copy but it's still packed following my most > recent > move. If he'd used CafePress or Lulu I would feel safe saying they > absolutely don't own it, but as I recall he used a different one. > > At any rate, the biggest obstacle to wikifying the book was the fact that > we > don't have the original document. Even then it'd take a lot of work. > Benoit's original Gambas documentation was much shorter and it still took > me > weeks to get it into the original Gambas wiki which eventually fell > into > disrepair and disorganization, just as I think the one based on this book > eventually would. MediaWiki is a better wiki than TWiki was, but a book > needs > a fundamental organization to it. > > I think that if someone wants to proceed with this, you'll need to get in > touch with John -- or, if the worst has happened, with his estate. > I will ask the publisher about the status and if they don't have the rights and the original text I forget the whole thing. I am not going to pester John at the situation it is. I don't know him but feel sorry for him. Kari - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Is it possible to command OpenOffic.org
Hi, in the VB times I made use of the possibility to create Excel sheets from VB. Is it possible to make same for OOo from Gambas? Best Regards Kari - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Is it possible to command OpenOffic.org
Hi, at the moment it can't. You have to wirte all the code, time ago I was trying to make it, but I'm working in a mysql related project and do not have time to make it. Saludos -- David - Original Message From: Kari Laine <[EMAIL PROTECTED]> To: gambas-user@lists.sourceforge.net Sent: Wednesday, September 3, 2008 7:51:09 AM Subject: [Gambas-user] Is it possible to command OpenOffic.org Hi, in the VB times I made use of the possibility to create Excel sheets from VB. Is it possible to make same for OOo from Gambas? Best Regards Kari - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Nice book of Gambas
I'm not certain how much the publisher cares. Feel free to let me know if this has already been hashed over. Excerpt from page 2 of the book: "All rights reserved. Personal use of this material is permitted. However, permission to reprint/republish this material for advertising or promotional purposes or for creating new collective works for resale or redistribution to servers or lists, or to reuse any copyrighted component of this work in other works must be obtained from the author, John W. Rittinghouse." Without diving into technicalities, I think that just about covers it. And trying to find a way around it will likely take more effort than just creating a new/original work from the community. I originally offered to assist with getting the dead-tree version of the book up-to-date without knowing Mr. Rittinghouse's personal concern that will likely prevent him from continuing work on the book. It was from that thought that the wiki idea was brought up by John (allbasic). I'm personally not very interested in wiki since wiki doesn't travel well on airplanes (I fly for a living) or to hotels with spotty internet access. I have a strong preference for paper. My offer still stands. I'd be willing to offer my time to help edit a [new] book for Gambas. I do a fair job at spell checking and some general grammar cleanup. This is my feeling: I think what may be best is not to attempt to use/revise/rehash this book out of respect for Mr. Rittinghouse, but perhaps to create a new book altogether (paper, electronic, whatever). I started creating some very basic documentation (based almost exclusively on gambasdoc.org/help) for my personal use, but what I really want--and probably what most everyone learning Gambas wants--is a lot of good examples. Respectfully, Jason - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Nice book of Gambas
Looks like Ron_1st already covered most of my thoughts :-) - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Is it possible to command OpenOffic.org
On mercredi 03 septembre 2008, Kari Laine wrote: > Hi, > > in the VB times I made use of the possibility to create Excel sheets > from VB. Is it possible to make same for OOo from Gambas? > > Best Regards > Kari > You don't really need specific feature in Gambas for that. OpenOffice are text files zipped, so you can create a spreadsheet with OpenOffice, and use it as a template with your Gambas program by unzipping it, modifying the content.xml file, and zip it back. I'm using this method with the web application I develop in Gambas for my job. I generate OpenOffice documents, Word/Excel documents and PDF. Regards, -- Benoit Minisini - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Nice book of Gambas
On mercredi 03 septembre 2008, Ron_1st wrote: > > > > Who will host this wiki? Should it be part of the existing Gambas-wiki? > > Btw. I noticed there is mention that Gambas wiki is written in Gambas. Is > > it's source code available under GPL? > > The presentation is a la wiki. > The gambas engine behind it is I assume total different from it. > I'm also interested to see how it works, it's a second master piece from > the gambas master :) > The Gambas wiki is run by a cgi script named "doc.cgi" whose source code is in the Gambas source code archive. But it is not a master piece, but a quick & dirty made wiki! Regards, -- Benoit Minisini - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Q:how to save a file.png into Postgresql [solved]
On Wed, 3 Sep 2008 07:51:03 pm Ron_1st wrote: Finally solved. I did try and try inserting the E in the hint, but put in inside the qotes and not outside it so this works: insert into Insert into clin_consult.temp_image(piccie) values (E'\\211PNG\\015\\012\\032\\012\\') Thanks to everyone who helped. Syan mailed my via the postgres novice list. I never could intrepret documentation very well. Regards Richard > > On Wednesday 03 September 2008, richard terry wrote: > > On Tue, 2 Sep 2008 09:48:55 pm you wrote: > > Ok, that got me a bit further: This is the resultant (failed) insert > > query . First try using $$ as the delimiters as per my code gives this > > and fails: > > > > insert into > > clin_consult.temp_image(piccie)values($$\\211PNG\\015\\012.. > > ---8<- > > > \\251\\370\\003>\\241\\324n\\304~\\303\\331\\000\\000\\000\\000IEND\\256B > >`\\202') WARNING: nonstandard use of \\ in a string literal > > LINE 1: insert into clin_consult.temp_image(piccie)values('\\211PNG\... > > ^ > > HINT: Use the escape string syntax for backslashes, e.g., E'\\'. > > > > > > Perhaps someone can understand this and help > > > > Regards > > > > Richard > > In mysql like syntax the command would be > > > LINE 1: insert into clin_consult.temp_image(piccie)values('\\211PNG\... > > ^ > > The ^ is at the position where th error is. > Is the field temp_image existing? > Is the _ also allowed in field names as it looks allowed in table names? > > What is your field an table name and are they following the syntax rules > of posgresql, the database system you use, as I rememeber well? > > > > Just reading what I typed I see clin_consult.temp_image(piccie) (values) > > Do you mean the field -=- clin_consult.temp_image -=- in table -=- piccies > -=- or the table -=- clin_consult.temp_image -=- in filed -=- piccies -=- > ? > > > > Should the fieldname not be surrond with quotes while a dot in the > name in most caases is not allowed. > As far I know the only safe are just only alphanummeric and underscore > and a name as -=- clin_consult.temp_image -=- looks to me as invalid > without qoutes surrounding this name constuction. > > Try to add a field as 'myfiled' in the table and insert into that filed. > to find out you current fieldname is a invalid field name.Best regards > > > Ron_1st - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Getting a picture back from postgres
Now that I've finally inserted the picture, are there any tricks for getting it back and re-viewing it - someone I think it wont be just a simple query, I used the code in Picture database I can extract the blob, but now trying to write to a file it complains about 'getting blob' and wanting a string I guess one somehow has to reverse the process. Thanks in advance for any help. richard - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user