[Gambas-user] Fwd: Gambas-user Digest, Vol 96, Issue 48
monika
whenamalone at ...626...
Tue May 20 01:08:54 CEST 2014
---------- Forwarded message ----------
From: pramu mn <whenamalone at ...626...>
Date: Mon, May 19, 2014 at 9:01 PM
Subject: Re: Gambas-user Digest, Vol 96, Issue 48
To: gambas-user at lists.sourceforge.net
sir, we some of the teachers of Kerala State (India) hav prepared an online
examinationsoftware for engineering exam in Gambas2....... plz chkt it and
gv suggestions.......
OS : Ubuntu 10.04
On Mon, May 19, 2014 at 6:00 PM,
<gambas-user-request at lists.sourceforge.net>wrote:
> Send Gambas-user mailing list submissions to
> gambas-user at lists.sourceforge.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> or, via email, send a message with subject or body 'help' to
> gambas-user-request at lists.sourceforge.net
>
> You can reach the person managing the list at
> gambas-user-owner at lists.sourceforge.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Gambas-user digest..."
>
>
> Today's Topics:
>
> 1. -Inf (Kevin Fishburne)
> 2. immediate pane is read-only (Kevin Fishburne)
> 3. Re: gb.db.postgresql ? These Components Are Disabled (gian)
> 4. Re: gb.db.postgresql ? These Components Are Disabled (gian)
> 5. Re: -Inf (Randall Morgan)
> 6. gb.desktop.x11 (taskbar) (herberth guzman)
> 7. Re: gb.db.postgresql ? These Components Are Disabled (Ian Haywood)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 18 May 2014 22:24:41 -0400
> From: Kevin Fishburne <kevinfishburne at ...1887...>
> Subject: [Gambas-user] -Inf
> To: Gambas mailing list <gambas-user at lists.sourceforge.net>
> Message-ID: <53796B69.20109 at ...1887...>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> I have an interpolation algorithm that continually moves the "current"
> value toward its "target" value in increments increased by the
> "distance" between the current and target values. Recently when
> assigning random values to the target values the current values
> eventually become negative infinity (-Inf), which seems to disregard
> further modification. Here's the code:
>
> OrientationDistance = Abs(Client.PlayerData[p].Limb.Torso.Current[Axis]
> - Client.PlayerData[p].Limb.Torso.Target[Axis]) *
> OrientationDistanceCoefficient
> If Client.PlayerData[p].Limb.Torso.Current[Axis] <
> Client.PlayerData[p].Limb.Torso.Target[Axis] Then
> Client.PlayerData[p].Limb.Torso.Velocity[Axis] =
> (Client.PlayerData[p].Limb.Torso.Velocity[Axis] +
> OrientationAcceleration) * OrientationDistance
> If Client.PlayerData[p].Limb.Torso.Velocity[Axis] >
> OrientationVelocityMaximum Then
> Client.PlayerData[p].Limb.Torso.Velocity[Axis] = OrientationVelocityMaximum
> Else
> Client.PlayerData[p].Limb.Torso.Velocity[Axis] =
> (Client.PlayerData[p].Limb.Torso.Velocity[Axis] -
> OrientationAcceleration) * OrientationDistance
> If Client.PlayerData[p].Limb.Torso.Velocity[Axis] < -
> OrientationVelocityMaximum Then
> Client.PlayerData[p].Limb.Torso.Velocity[Axis] = -
> OrientationVelocityMaximum
> Endif
> Client.PlayerData[p].Limb.Torso.Current[Axis] +=
> Client.PlayerData[p].Limb.Torso.Velocity[Axis]
>
> Any ideas what could be causing this? I don't even know what negative
> infinity means, though it's obviously something mathematicians found
> useful to solve a particular problem. In my case it botches my player
> animations by making limbs disappear. Thanks, everyone.
>
> --
> Kevin Fishburne
> Eight Virtues
> www: http://sales.eightvirtues.com
> e-mail: sales at ...1887...
> phone: (770) 853-6271
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 18 May 2014 22:32:53 -0400
> From: Kevin Fishburne <kevinfishburne at ...1887...>
> Subject: [Gambas-user] immediate pane is read-only
> To: Gambas mailing list <gambas-user at lists.sourceforge.net>
> Message-ID: <53796D55.4010204 at ...1887...>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hope I didn't miss this in an earlier post, but it seems with the
> current daily PPA build that the immediate pane doesn't allow character
> entry.
>
> --
> Kevin Fishburne
> Eight Virtues
> www: http://sales.eightvirtues.com
> e-mail: sales at ...1887...
> phone: (770) 853-6271
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 19 May 2014 10:41:27 +0200
> From: gian <bagoneo at ...69...>
> Subject: Re: [Gambas-user] gb.db.postgresql ? These Components Are
> Disabled
> To: willy at ...2734..., mailing list for gambas users
> <gambas-user at lists.sourceforge.net>
> Message-ID: <5379C3B7.2040608 at ...69...>
> Content-Type: text/plain; charset=windows-1252; format=flowed
>
> Many thanks Willy,
>
> for your precise and documented answer.
>
> Today I can say, thanks to you, I know more than yesterday.
>
> If Sebastian read this email and he wants to intervene ?
>
> Kind regards also to you
>
> gianluigi
>
>
>
>
> Il 19/05/2014 00:41, Willy Raets ha scritto:
> > On zo, 2014-05-18 at 20:38 +0200, gian wrote:
> >> Hi all,
> >>
> >> compiling Gambas3 following the instructions Gambas Documentation I
> received this
> >> result:
> >>
> >> || THESE COMPONENTS ARE DISABLED:
> >>
> >> || - gb.db.postgresql
> > libpg-dev
> > http://packages.ubuntu.com/trusty/libpq-dev
> >
> >> || - gb.gmp
> > libgmp-dev
> > http://packages.ubuntu.com/trusty/libgmp-dev
> >
> >> || - gb.gtk3
> > libgtk-3-dev
> > http://packages.ubuntu.com/trusty/libgtk-3-dev
> >
> >> || - gb.jit
> > llvm-3.4
> > http://packages.ubuntu.com/trusty/llvm-3.4
> >
> >> With web suggestions and research on Synaptic I have installed these
> libraries:
> >>
> >> libgmp-dev
> >>
> >> libgtk-3-dev
> >>
> >> llvm 1:3.4-0ubuntu1
> >>
> > You did very well figuring out these dependencies ;)
> >
> >> Now I receive:
> >>
> >> THESE COMPONENTS ARE DISABLED: only on gb.db.postgresql, but I just do
> not understand why.
> >> Because I have already installed the following libraries:
> >>
> >> libpq5
> >>
> >> libpq-dev
> >>
> >> rsyslog
> >>
> >> librdf0
> > libpq-dev (depends on libpq5 on Ubuntu 14.04) should be enough as far as
> > I am aware. At least they where for Gambas 3.5.2
> >
> > I haven't compiled trunk version on Ubuntu for a while (got lazy because
> > of the Daily builds PPA available), so maybe something changed in the
> > trunk dependencies.
> >
> > Maybe Sebastian (of the Daily Builds PPA) might be able to help.
> > He should be on this mailing list as well...
> >
>
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 19 May 2014 10:42:32 +0200
> From: gian <bagoneo at ...69...>
> Subject: Re: [Gambas-user] gb.db.postgresql ? These Components Are
> Disabled
> To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
> Message-ID: <5379C3F8.7040004 at ...69...>
> Content-Type: text/plain; charset=windows-1252; format=flowed
>
> Jussi, thanks for answer,
>
> I'm trying to create a program with GTK +, since I read so many warnings
> in the log file regarding this library, I ask what can I do for this.
>
> Your help very appreciated
>
> gianluigi
>
>
>
>
> Il 19/05/2014 01:02, Jussi Lahtinen ha scritto:
> > You can ignore those if you are not going to use them. They are not
> > mandatory.
> >
> >
> > Jussi
> >
> >
> > On Sun, May 18, 2014 at 9:38 PM, gian <bagoneo at ...69...> wrote:
> >
> >> Hi all,
> >>
> >> compiling Gambas3 following the instructions Gambas Documentation I
> >> received this
> >> result:
> >>
> >> || THESE COMPONENTS ARE DISABLED:
> >>
> >> || - gb.db.postgresql
> >>
> >> || - gb.gmp
> >>
> >> || - gb.gtk3
> >>
> >> || - gb.jit
> >>
> >> With web suggestions and research on Synaptic I have installed these
> >> libraries:
> >>
> >> libgmp-dev
> >>
> >> libgtk-3-dev
> >>
> >> llvm 1:3.4-0ubuntu1
> >>
> >> Now I receive:
> >>
> >> THESE COMPONENTS ARE DISABLED: only on gb.db.postgresql, but I just do
> not
> >> understand why.
> >> Because I have already installed the following libraries:
> >>
> >> libpq5
> >>
> >> libpq-dev
> >>
> >> rsyslog
> >>
> >> librdf0
> >>
> >> These system data:
> >>
> >> [System]
> >> Gambas=3.5.90
> >>
> >> OperatingSystem=Linux
> >>
> >> Kernel=3.13.0-27-generic
> >>
> >> Architecture=x86_64
> >>
> >> Distribution=Ubuntu 14.04 LTS
> >>
> >> Desktop=GNOME
> >>
> >> Theme=QGtk
> >>
> >> Language=it_IT.UTF-8
> >>
> >> Memory=3846M
> >>
> >> [Libraries]
> >>
> >> Cairo=libcairo.so.2.11301.0
> >>
> >> Curl=libcurl.so.4.3.0
> >>
> >> DBus=libdbus-1.so.3.7.6
> >>
> >> GStreamer=libgstreamer-0.10.so.0.30.0
> >>
> >> GStreamer=libgstreamer-1.0.so.0.204.0
> >>
> >> GTK+3=libgtk-3.so.0.1000.8
> >>
> >> GTK+=libgtk-x11-2.0.so.0.2400.23
> >>
> >> OpenGL=libGL.so.1.2.0
> >>
> >> Poppler=libpoppler.so.44.0.0
> >>
> >> Qt4=libQtCore.so.4.8.6
> >>
> >> SDL=libSDL-1.2.so.0.11.4
> >>
> >> Attach file.log
> >> obtained by: ( ./reconf-all && ./configure -C && make
> >> && sudo make install ) > ~/Scrivania/compile.log 2>&1
> >>
> >> Help me please.
> >>
> >> gianluigi
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> >> Instantly run your Selenium tests across 300+ browser/OS combos.
> >> Get unparalleled scalability from the best Selenium testing platform
> >> available
> >> Simple to use. Nothing to install. Get started now for free."
> >> http://p.sf.net/sfu/SauceLabs
> >> _______________________________________________
> >> Gambas-user mailing list
> >> Gambas-user at lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>
> >>
> >
> ------------------------------------------------------------------------------
> > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> > Instantly run your Selenium tests across 300+ browser/OS combos.
> > Get unparalleled scalability from the best Selenium testing platform
> available
> > Simple to use. Nothing to install. Get started now for free."
> > http://p.sf.net/sfu/SauceLabs
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
>
> ------------------------------
>
> Message: 5
> Date: Mon, 19 May 2014 03:11:06 -0700
> From: Randall Morgan <rmorgan62 at ...626...>
> Subject: Re: [Gambas-user] -Inf
> To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
> Message-ID:
> <
> CAGwqEL4QCQH4LXPPDc-4+njd+qhbz05qtE8gn-h6+UJdeJ8mBw at ...627...>
> Content-Type: text/plain; charset=UTF-8
>
> JAT: Id be checking for an over or under flow on one of the math
> functions....
>
>
> On Sun, May 18, 2014 at 7:24 PM, Kevin Fishburne <
> kevinfishburne at ...1887...> wrote:
>
> > I have an interpolation algorithm that continually moves the "current"
> > value toward its "target" value in increments increased by the
> > "distance" between the current and target values. Recently when
> > assigning random values to the target values the current values
> > eventually become negative infinity (-Inf), which seems to disregard
> > further modification. Here's the code:
> >
> > OrientationDistance = Abs(Client.PlayerData[p].Limb.Torso.Current[Axis]
> > - Client.PlayerData[p].Limb.Torso.Target[Axis]) *
> > OrientationDistanceCoefficient
> > If Client.PlayerData[p].Limb.Torso.Current[Axis] <
> > Client.PlayerData[p].Limb.Torso.Target[Axis] Then
> > Client.PlayerData[p].Limb.Torso.Velocity[Axis] =
> > (Client.PlayerData[p].Limb.Torso.Velocity[Axis] +
> > OrientationAcceleration) * OrientationDistance
> > If Client.PlayerData[p].Limb.Torso.Velocity[Axis] >
> > OrientationVelocityMaximum Then
> > Client.PlayerData[p].Limb.Torso.Velocity[Axis] =
> OrientationVelocityMaximum
> > Else
> > Client.PlayerData[p].Limb.Torso.Velocity[Axis] =
> > (Client.PlayerData[p].Limb.Torso.Velocity[Axis] -
> > OrientationAcceleration) * OrientationDistance
> > If Client.PlayerData[p].Limb.Torso.Velocity[Axis] < -
> > OrientationVelocityMaximum Then
> > Client.PlayerData[p].Limb.Torso.Velocity[Axis] = -
> > OrientationVelocityMaximum
> > Endif
> > Client.PlayerData[p].Limb.Torso.Current[Axis] +=
> > Client.PlayerData[p].Limb.Torso.Velocity[Axis]
> >
> > Any ideas what could be causing this? I don't even know what negative
> > infinity means, though it's obviously something mathematicians found
> > useful to solve a particular problem. In my case it botches my player
> > animations by making limbs disappear. Thanks, everyone.
> >
> > --
> > Kevin Fishburne
> > Eight Virtues
> > www: http://sales.eightvirtues.com
> > e-mail: sales at ...1887...
> > phone: (770) 853-6271
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> > Instantly run your Selenium tests across 300+ browser/OS combos.
> > Get unparalleled scalability from the best Selenium testing platform
> > available
> > Simple to use. Nothing to install. Get started now for free."
> > http://p.sf.net/sfu/SauceLabs
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
>
>
> --
> If you ask me if it can be done. The answer is YES, it can always be done.
> The correct questions however are... What will it cost, and how long will
> it take?
>
>
> ------------------------------
>
> Message: 6
> Date: Mon, 19 May 2014 06:22:22 -0600
> From: herberth guzman <herberthguzman at ...626...>
> Subject: [Gambas-user] gb.desktop.x11 (taskbar)
> To: gambas-user <gambas-user at lists.sourceforge.net>
> Message-ID:
> <CAJPJa8iOCwyiKDRxgv=
> dodXZ-6dYk44mQ5GUGbRZ1aexYg5opQ at ...627...>
> Content-Type: text/plain; charset=UTF-8
>
> Hi Beno?t
>
> Thanks for giving us the gb.desktop.x11 component
> The margins of the panel is funsional, the problem had it in CARDINAL
> funsiona perfectly, thank you .
>
> Funsiona The code that follows ( the dependent position of the panel) :
>
> CODE
> X11.SetWindowProperty ( Atom [" _NET_WM_STRUT_PARTIAL "] , Atom [" CARDINAL
> "], [ 0, 0 , 33, 0, 0 , 0, 0, 0 , 0, 0 , 32, desktop.w ] f_taskbar.Id )
>
> Maybe I'm doing a bad procedure and correct me if I am in error. The
> problem I have is as follows:
>
> I have a form and created a Panel:
>
> CODE
> HPanel_app = New Panel ( Me.Panel1 ) As " PanelApp "
>
> Show active windows through ToggleButton when the form loads in the open
> event .
>
> CODE
> Desktop.Windows.Refresh
> For I = 0 To Desktop.Windows.Count - 1
>
> If Desktop.Windows [ i]. Name Then
> hToggle = new ToggleButton ( Me.HPanel_app ) As " toggle "
> Desktop.Windows hToggle.Text = [ i]. Name
> Endif
>
> next
>
> The problem is :
>
> How I can refresh or update inmediantemente MyPanel when a window is closed
> or open.
>
> Example
> Open Application(dolphin, k3b, others) (update MyPanel).
> Close Application (dolphin) (update MyPanel).
>
>
> At the moment I have a refresh removing the panel and reloading the active
> windows (but not what I want)
>
> HPanel_app.Delete
> Desktop_Windows
>
>
> Someone can help me please .
>
>
> ------------------------------
>
> Message: 7
> Date: Mon, 19 May 2014 22:30:33 +1000
> From: Ian Haywood <ihaywood3 at ...626...>
> Subject: Re: [Gambas-user] gb.db.postgresql ? These Components Are
> Disabled
> To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
> Message-ID:
> <
> CAKt6K_fNBNTMAxjSfRo0PupWYxSckt1Hz8x_2GUUxr4h9HirLA at ...627...>
> Content-Type: text/plain; charset="utf-8"
>
> On Mon, May 19, 2014 at 6:42 PM, gian <bagoneo at ...69...> wrote:
> > Jussi, thanks for answer,
> > Il 19/05/2014 01:02, Jussi Lahtinen ha scritto:
> >> You can ignore those if you are not going to use them. They are not
> >> mandatory.
> >> On Sun, May 18, 2014 at 9:38 PM, gian <bagoneo at ...69...> wrote:
> >>
> >>> Hi all,
> >>>
> >>> compiling Gambas3 following the instructions Gambas Documentation I
> >>> received this
> >>> result:
> >>>
> >>> || THESE COMPONENTS ARE DISABLED:
> >>>
> >>> || - gb.db.postgresql
> Some key header files have moved to package postgresql-server-dev-9.3
> You also need to apply a patch so gambas can find them
>
> Ian
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: find_postgresql_headers
> Type: application/octet-stream
> Size: 1115 bytes
> Desc: not available
>
> ------------------------------
>
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform
> available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
>
> ------------------------------
>
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
> End of Gambas-user Digest, Vol 96, Issue 48
> *******************************************
>
--
View this message in context: http://gambas.8142.n7.nabble.com/Fwd-Gambas-user-Digest-Vol-96-Issue-48-tp46616.html
Sent from the gambas-user mailing list archive at Nabble.com.
More information about the User
mailing list