Wally,
I've been looking at the GSL and Gambas C/C++ components. I'm thinking we
can create a gsl component in C.
I'm playing around with that idea now. If I can get some simple examples
working then I know I can get more advanced
things working.
Writing a C based component should make life a lit
ekimtrah wrote:
>
> It runs out of memory in the RemoveBetween function on the web page in the
> code but not on other Web Pages.
>
I found the problem, had to change
WHILE (StartStrPos > 0)
to WHILE (StartStrPos > 0) AND (EndStrPos > StartStrPos)
There is a tag at the end of that page I
I hope he is interested in this function.
Thanks for support.
Peter.
Jussi Lahtinen wrote:
>
> OK, now think I understand what you mean... You want to make LXPanel
> plugin.
> I rechecked the link you send. I'm not sure you can do that with Gambas.
>
> Trayicon shows only small icon, so I don
OK, now think I understand what you mean... You want to make LXPanel plugin.
I rechecked the link you send. I'm not sure you can do that with Gambas.
Trayicon shows only small icon, so I don't think you can reasonably fit
text to it,
but you can put text to tooltip of that icon. Maybe it is the se
Confirmed. The message has gone now.
Am 23.01.2012 20:28, schrieb Benoît Minisini:
> Le 23/01/2012 20:07, Matti a écrit :
>> First, I deleted everything in /trunk, did svn checkout (rev.4415 now)
>> and recompiled.
>> Same result.
>>
>> Then, I deleted everything in /usr/local/bin and
>> /usr/loc
Le 23/01/2012 20:07, Matti a écrit :
> First, I deleted everything in /trunk, did svn checkout (rev.4415 now)
> and recompiled.
> Same result.
>
> Then, I deleted everything in /usr/local/bin and
> /usr/local/share/gambas3, and recompiled again.
> Same result. There is this warning message, but all
First, I deleted everything in /trunk, did svn checkout (rev.4415 now) and
recompiled.
Same result.
Then, I deleted everything in /usr/local/bin and /usr/local/share/gambas3, and
recompiled again.
Same result. There is this warning message, but all the stock icons are usable.
Output is attatc
Rqandall,
let us listen Marcin first. Maybe he has some interesting informations.
In fityk i found that the favourie mehtod is "chi squares method".
Gsl offers this also :
— Function: double gsl_cdf_chisq_P (double x, double nu)
— Function: double gsl_cdf_chisq_Q (double x, double nu)
— Function:
I mean a time-text near that icon.
I need send my text near that icon, like time shows on panel, not pop-up
Jussi Lahtinen wrote:
>
> Do you mean trayicon?
> http://gambasdoc.org/help/comp/gb.qt4/trayicon?v3
>
> Jussi
>
>
>
> On Mon, Jan 23, 2012 at 19:59, abbat wrote:
>
>>
>>
>> I need
Looks to me that as long as any derivative work is lincesed GPL and we
follow it's terms we should be good to go with the fityk library.
On Mon, Jan 23, 2012 at 10:18 AM, Randall Morgan wrote:
> Wally,
>
> I just found this: http://fityk.nieto.pl/intro.html#about
>
> If you scroll down you'll f
Le 23/01/2012 19:07, M. Cs. a écrit :
> I found a way to do, but I didn't understand what Benoit wanted:
> If I have a query, I can always do the following:
> Replace
> "SELECT * FROM CATALOGS WHERE VName=."
> with
> "SELECT * FROM CATALOGS WHERE "& DB.Subst("VName=&1",...)& "..."
>
> That
Do you mean trayicon?
http://gambasdoc.org/help/comp/gb.qt4/trayicon?v3
Jussi
On Mon, Jan 23, 2012 at 19:59, abbat wrote:
>
>
> I need applet on label which would be situated near time-applet on LXPanel.
> Sorry, I'm not professional, I tried to understand this manual:
> http://home.student.u
Wally,
I just found this: http://fityk.nieto.pl/intro.html#about
If you scroll down you'll find that the fityk library is licensed under the
GPL 2 or later. This should allow us to create derivative works.
Take a look at the license and I will too.
Randall
On Mon, Jan 23, 2012 at 10:11 AM, Ra
OK thank you.
On Mon, Jan 23, 2012 at 10:09 AM, Wally wrote:
>
> Marcin Wojdyr , author of fityk told me he will post his opinion
> directlty here to the mailinglist today or tomorrow.
>
> On Monday, January 23, 2012 09:59:16 Randall Morgan wrote:
> > Thanks, Wally.
> >
> > I'll go over both but
Marcin Wojdyr , author of fityk told me he will post his opinion
directlty here to the mailinglist today or tomorrow.
On Monday, January 23, 2012 09:59:16 Randall Morgan wrote:
> Thanks, Wally.
>
> I'll go over both but get back to me once you have an answer from the
> author of fityk. I would
I found a way to do, but I didn't understand what Benoit wanted:
If I have a query, I can always do the following:
Replace
"SELECT * FROM CATALOGS WHERE VName=."
with
"SELECT * FROM CATALOGS WHERE " & DB.Subst("VName=&1",...) & "..."
That can solve the problem.
I'm sorry but something can be
Thanks, Wally.
I'll go over both but get back to me once you have an answer from the
author of fityk. I would still love to see a plot and GSL module for
Gambas. But fityk looks like a lot less work right now. GSL has grown quite
a bit since I last used it.
On Mon, Jan 23, 2012 at 4:29 AM, Wally
I need applet on label which would be situated near time-applet on LXPanel.
Sorry, I'm not professional, I tried to understand this manual:
http://home.student.utwente.nl/j.vanderhoff/LXPanel_HowTo.html
but I could not translate it to Gambas.
I just asked a example of such applet on Gambas to mo
Why not just process one term at a time?
Dim conn As Connection
Dim termStr As String
Dim terms As String[]
Dim enteredTerm, escapedTerm As String
...
conn = DataAccess.getConnection()
...
' Get termStr from the input box
'termStr = txtQueryInput.Text
' Set termStr manua
Hello again:
PRINT DB.Subst("WHERE Name = &1 AND Date = &2", "Benoit", Now)
WHERE Name = 'Benoit' AND Date = '2006-02-15 11:51:33.043'
This is the given example for the DB.Subst. But what if the user has a
textBox input in which he can enter the search phrases divided by gaps
like: "Benoit .jpg Su
I'm sorry Benoit, but I didn't realized that in "You must use
DB.Subst()" the You is me. I was thinking you are answering to Johnny.
I'll give a try.
Csaba
2012/1/23, Benoît Minisini :
> Le 23/01/2012 14:03, M. Cs. a écrit :
>> Well, that was the thing I was fearing: I must handle the characters
Le 23/01/2012 14:03, M. Cs. a écrit :
> Well, that was the thing I was fearing: I must handle the characters
> by my own. The strange thing is , that if I have something like
> DB.Exec("SELECT * FROM CATALOGS WHERE VName=&1","Blackmore's Night'")
> the query won't fail.
> I can even have query
> DB
Reason for why I haven't answer, is, I don't quite understand what you want
to know.
If you can start Gambas IDE, there shouldn't be any problems to create just
an some applet.
Where do you need this text? In form title? To a label?
What is the problem exactly?
Jussi
On Mon, Jan 23, 2012 at 02
Well, that was the thing I was fearing: I must handle the characters
by my own. The strange thing is , that if I have something like
DB.Exec("SELECT * FROM CATALOGS WHERE VName=&1","Blackmore's Night'")
the query won't fail.
I can even have query
DB.Exec("SELECT * FROM CATALOGS WHERE VName LiKE &1"
The spline example is member of Gambas3 examples
"Examples-> Drawing->GSLSpline"
or see attachment
I'll try to contact the author of fityk to get his opinion about what
we want to do. Fityk seems more clear and easier to implement.
On the other hand GSL covers a much wider range of functionality.
Le 23/01/2012 12:32, abbat a écrit :
>
>
> in VB.NET I get it by this way:
>
> Dim yy As Integer = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height
> Dim xx As Integer = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width
>
> How to do it in Gambas 3?
>
> Thanks
Desktop.Width / Desktop.H
I don't think this app is licensed OSS. So I am not sure if you can legally
write a module with it. The GSL or similar library is the way to go.
I have my plate full at the moment but I will try to give you as
much guidance as I can. Be forewarned I too am still learning. Give me a
day or two to g
in VB.NET I get it by this way:
Dim yy As Integer = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height
Dim xx As Integer = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width
How to do it in Gambas 3?
Thanks
--
View this message in context:
http://old.nabble.com/How-to-know-Height-an
Le 23/01/2012 11:59, Wally a écrit :
> On Monday, January 23, 2012 11:47:47 Benoît Minisini wrote:
>> Le 22/01/2012 09:54, Wally a écrit :
>>> Does anyone have experience with curve fitting and/or peakfinding
>>> using gambas ?(e.g. example code)
>>>
>>> Is there a plain C library (Linux) known
You must be familiar with C at some level? I'd be surprised if the GSL
doesn't already have a C wrapper somewhere. I haven't used it in many years
so I can't recall, and I am sure it has changed. It sounds like you've
already got a start. So you just need to invest more time into porting GSL
to Gam
On Monday, January 23, 2012 11:47:47 Benoît Minisini wrote:
> Le 22/01/2012 09:54, Wally a écrit :
> > Does anyone have experience with curve fitting and/or peakfinding
> > using gambas ?(e.g. example code)
> >
> > Is there a plain C library (Linux) known, suitable to this problem
> > and gamb
Yes it is entirely possible. It just take a little time and elbow grease.
To use C++ you simply have to write a C wrapper.
2012/1/23 Benoît Minisini
> Le 22/01/2012 09:54, Wally a écrit :
> >
> > Does anyone have experience with curve fitting and/or peakfinding
> > using gambas ?(e.g. exam
Le 22/01/2012 09:54, Wally a écrit :
>
> Does anyone have experience with curve fitting and/or peakfinding
> using gambas ?(e.g. example code)
>
> Is there a plain C library (Linux) known, suitable to this problem
> and gambas ?
>
> Something like "fityk" (which is written in C++) but written i
Le 23/01/2012 00:15, M. Cs. a écrit :
> I have a dinamically created query text. I don't know the number of
> parameters passed to the DB.Exec, so I cannot use&1,&2,... form. I
> need to use the DB.Quote()
> My problem is: If I have a string
> mystring="Blackmore's Night",
> the DB.Quote(mystring)
Do you think it's possible to create a gambas module, similar to
"gb.db.sqlite3" or "gb.cairo" but , lets say "gb.gsl" or "gb.math" ?
These gb.moduls seems to be able to use C++ Libraries.
Ok, most of the people which are able to to this, usually do not
have time to do it. I have time but no e
op 23-01-12 00:15, M. Cs. schreef:
> I have a dinamically created query text. I don't know the number of
> parameters passed to the DB.Exec, so I cannot use&1,&2,... form. I
> need to use the DB.Quote()
> My problem is: If I have a string
> mystring="Blackmore's Night",
> the DB.Quote(mystring) wo
On Sun, 2012-01-22 at 16:10 -0800, abbat wrote:
> How to create simple applet with text?
>
> Thanks
That's the fourth time you've asked the same question on this list
within a matter of days. The chances of getting an answer do not
increase with the number of times you ask the same question... i
Caveat,
Thanks for your comp_gambas script. I just ran the sudo apt-get
command that you supplied. Everything OK except for 'Couldn't find
package libgdk-pixbuf2.0-dev' I'm using Ubuntu Lucid. Can you point me
tothis package?
---
Hi John,
For compiling Gambas, I use a script which was originally inspired by
Kevin Fishburne of this mailing list. I've hacked it around a bit and
added stuff to it over time.
The script is called comp_gambas and is attached herewith. The script
contains all (?) the commands needed for compil
Wally,
SG and RDP both would do a decent job for you since you need to preserve
your peaks. I don't have code for this but you can find psuedo code for it
on Wikipedia. The sudo code should be easy to convert into Gambas. It would
be nice if one Gambas had tools like GSL, Armadillo, PyLab, and Num
The signal data i want to process comes from a HPLC detctor, which
generates analog voltage outputs. e.g. every second one meqasurement.
The data is typical chromatography data as generated by several
spectroscopic methods.
The time base can be set to different values but mostly i use 1 Hz.
A 16
Most of the stuff I did in signal processing was on the 68000 and Z80's. So
I let most of that go a very long time ago. Besides, unless you know what
you are looking for in a smoothing algorithm, any code would be useless.
For example, the simplest algorithm for smoothing is the moving average
meth
42 matches
Mail list logo