Developer account

View: New views
10 Messages — Rating Filter:   Alert me  

Developer account

by Florent Angly :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Could you please register me as an Octave-Forge developer?
I have some code that was written in Matlab, and I've been trying to
make it Octave compatible. Part of it uses the fminbnd function, however
the Octave-Forge function is not as fast as the Matlab one because it
does not use parabolic interpolation. I plan on integrating the
parabolic interpolation in the current fminbnd code and contribute it.

Thanks,

Florent

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev

Re: Developer account

by David Bateman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Florent Angly wrote:
> Hi,
>
> Could you please register me as an Octave-Forge developer?
> I have some code that was written in Matlab, and I've been trying to
> make it Octave compatible. Part of it uses the fminbnd function, however
> the Octave-Forge function is not as fast as the Matlab one because it
> does not use parabolic interpolation. I plan on integrating the
> parabolic interpolation in the current fminbnd code and contribute it.
>  
Florent,

We have no problems giving out write access to octave-forge, but prefer
to see a code sample on the list first. This is not really for code
review but rather to keep the number of inactive accounts on
octave-forge down.. Can you send your changes here first and Soren or I
will immediately give you write access.

Cheers
David

--
David Bateman                                David.Bateman@...
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax)

The information contained in this communication has been classified as:

[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev

Re: Developer account

by Florent Angly :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Sorry for the delay... At the moment, I'm not finished with the inverse
parabolic implementation. However, I can submit a little fix that
prevents the function to break if the upper bound of the search interval
is the same as the upper bound (attached file). This makes the function
behave just like its Matlab counterpart.

Cheers,

Florent


David Bateman wrote:

> Florent Angly wrote:
>  
>> Hi,
>>
>> Could you please register me as an Octave-Forge developer?
>> I have some code that was written in Matlab, and I've been trying to
>> make it Octave compatible. Part of it uses the fminbnd function, however
>> the Octave-Forge function is not as fast as the Matlab one because it
>> does not use parabolic interpolation. I plan on integrating the
>> parabolic interpolation in the current fminbnd code and contribute it.
>>  
>>    
> Florent,
>
> We have no problems giving out write access to octave-forge, but prefer
> to see a code sample on the list first. This is not really for code
> review but rather to keep the number of inactive accounts on
> octave-forge down.. Can you send your changes here first and Soren or I
> will immediately give you write access.
>
> Cheers
> David
>
>  

## Copyright (C) 2000 Ben Sapp.  All rights reserved.
## Modification by Andreas Helms
## This program is free software; you can redistribute it and/or modify it
## under the terms of the GNU General Public License as published by the
## Free Software Foundation; either version 2, or (at your option) any
## later version.
##
## This is distributed in the hope that it will be useful, but WITHOUT
## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
## for more details.

## -*- texinfo -*-
## @deftypefn {Function File} {[@var{x},@var{v}] =} fminbnd(@var{f},@var{lb},@var{ub},@var{[options]},@var{P1},@var{P2}, ...)
##
## Find the minimizer @var{x} of a scalar function and the corresponding
## value @var{v} with the Golden Search method.
##
## @strong{Inputs}
## @table @var
## @item f
## A string contining the name of the function to minimiz
## @item lb
## Value to use as an initial lower bound on @var{x}.
## @item ub
## Value to use as an initial upper bound on @var{x}.
## @item options
## Vector with control parameters (For compatibily with MATLAB, not used
## here)
## @item P1,P2, ...
## Optional parameter for function @var{f}
##
## @end table
## @end deftypefn

## 2001-09-24 Andreas Helms <helms@...>
## * modified for use with functions of more than one parameter
## 2007-08-09 Marco Caliari <mcaliari@...>
## * modified in order to get optionally the value of the function
## 2008-06-16 Florent Angly <florent.angly@...>
## * modified to accept initial lower bound equal to initial upper boundb(like Matlab)
function [min,val] = fminbnd(_func,lb,ub, options, varargin)

  delta = 1e-17;
  gr = (sqrt(5)-1)/2;
  width = (ub-lb);
  #out = [ lb:(width/3):ub ] # breaks if lb == ub
  out = linspace(lb, ub, 4); # doesn't break if lb == ub
  out(2) = out(4)-gr*width;
  out(3) = out(1)+gr*width;
  upper = feval(_func,out(3), varargin{:});
  lower = feval(_func,out(2), varargin{:});
  while((out(3)-out(2)) > delta) #this will not work for symmetric funcs
    if(upper > lower)
      out(4) = out(3);
      out(3) = out(2);
      width = out(4)-out(1);
      out(2) = out(4)-gr*width;
      upper = lower;
      lower = feval(_func,out(2), varargin{:});
    else
      out(1) = out(2);
      out(2) = out(3);
      width = out(4)-out(1);
      out(3) = out(1)+width*gr;
      lower = upper;
      upper = feval(_func,out(3), varargin{:});
    endif
  endwhile
  min = out(2);
  val = feval(_func,out(2), varargin{:});
endfunction

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev

Re: Developer account

by David Bateman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Florent Angly wrote:

> Hi,
>
> Sorry for the delay... At the moment, I'm not finished with the
> inverse parabolic implementation. However, I can submit a little fix
> that prevents the function to break if the upper bound of the search
> interval is the same as the upper bound (attached file). This makes
> the function behave just like its Matlab counterpart.
>
> Cheers,
>
> Florent
Florent,

Could you send your changes as a patch rather than the complete code..
Sending the complete function makes it very difficult to see what in
fact you have altered. Use "svn diff" to create this if you are using
the SVN tree, or just "diff -u" with a local of the original function if
you aren't.

Also I don't think we've added an account for you, so when you send the
code as a patch, please supply your sourceforge username.

Regards
David

--
David Bateman                                David.Bateman@...
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax)

The information contained in this communication has been classified as:

[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev

Re: Developer account

by Florent Angly :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi David,

My Sourceforge account login is "floflooo".
Attached is the diff file for the Octave-Forge function. As I said, this
one is trivial, a one-liner.
May I suggest that someone updates the webpage "Contributing Code to the
Gnu Octave Repository" http://octave.sourceforge.net/developers.html 
with all the information that you gave me. I am sure you would be glad
to avoid repeating the same thing over and over again.
Thanks,

Florent


David Bateman wrote:

> Florent Angly wrote:
>  
>> Hi,
>>
>> Sorry for the delay... At the moment, I'm not finished with the
>> inverse parabolic implementation. However, I can submit a little fix
>> that prevents the function to break if the upper bound of the search
>> interval is the same as the upper bound (attached file). This makes
>> the function behave just like its Matlab counterpart.
>>
>> Cheers,
>>
>> Florent
>>    
> Florent,
>
> Could you send your changes as a patch rather than the complete code..
> Sending the complete function makes it very difficult to see what in
> fact you have altered. Use "svn diff" to create this if you are using
> the SVN tree, or just "diff -u" with a local of the original function if
> you aren't.
>
> Also I don't think we've added an account for you, so when you send the
> code as a patch, please supply your sourceforge username.
>
> Regards
> David
>
>  

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev

Re: Developer account

by David Bateman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Florent Angly wrote:
> Hi David,
>
> My Sourceforge account login is "floflooo".
> Attached is the diff file for the Octave-Forge function. As I said,
> this one is trivial, a one-liner.

Added, so please commit your patch..

> May I suggest that someone updates the webpage "Contributing Code to
> the Gnu Octave Repository"
> http://octave.sourceforge.net/developers.html with all the information
> that you gave me. I am sure you would be glad to avoid repeating the
> same thing over and over again.
> Thanks,

The webpages themselves are also built from the SVN. See the doc/htdocs
directory and the admin/template.ndev file, and propose a patch.

D.

--
David Bateman                                David.Bateman@...
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax)

The information contained in this communication has been classified as:

[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev

Re: Developer account

by Florent Angly :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Excellent! Thanks David
Florent

David Bateman wrote:

> Florent Angly wrote:
>  
>> Hi David,
>>
>> My Sourceforge account login is "floflooo".
>> Attached is the diff file for the Octave-Forge function. As I said,
>> this one is trivial, a one-liner.
>>    
>
> Added, so please commit your patch..
>
>  
>> May I suggest that someone updates the webpage "Contributing Code to
>> the Gnu Octave Repository"
>> http://octave.sourceforge.net/developers.html with all the information
>> that you gave me. I am sure you would be glad to avoid repeating the
>> same thing over and over again.
>> Thanks,
>>    
>
> The webpages themselves are also built from the SVN. See the doc/htdocs
> directory and the admin/template.ndev file, and propose a patch.
>
> D.
>
>  


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev

Problem committing in SVN

by Florent Angly :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I was given access to the SVN repository yesterday but have trouble
using it. In particular, I cannot seem to commit.
I checked out the repository without problem:
> floflooo@localhost:~$ svn co
> https://octave.svn.sourceforge.net/svnroot/octave/trunk/octave-forge
Then changed some code in my working copy of the repository.
Then I try to commit the changes:

> floflooo@localhost:~/octave-forge$ svn commit -m ""
> Authentication realm: <https://octave.svn.sourceforge.net:443>
> SourceForge Subversion area
> Password for 'floflooo':
> Authentication realm: <https://octave.svn.sourceforge.net:443>
> SourceForge Subversion area
> Username: floflooo
> Password for 'floflooo':
> Authentication realm: <https://octave.svn.sourceforge.net:443>
> SourceForge Subversion area
> Username: floflooo
> Password for 'floflooo':
> svn: Commit failed (details follow):
> svn: MKACTIVITY of
> '/svnroot/octave/!svn/act/c3bf0d01-e11b-4ab3-9d26-8d7bbeb2d33c':
> authorization failed (https://octave.svn.sourceforge.net)
When I logged in to Sourceforge yesterday, I had to update my password.
I use my Sourceforge username and updated password and am able to log in
to Sourceforge. Also, I can see that I am affiliated to the Octave
Sourceforge project.

How can I troubleshoot this problem?
Thanks,

Florent




-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev

Re: Problem committing in SVN

by David Bateman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Florent Angly wrote:

> Hi,
>
> I was given access to the SVN repository yesterday but have trouble
> using it. In particular, I cannot seem to commit.
> I checked out the repository without problem:
>> floflooo@localhost:~$ svn co
>> https://octave.svn.sourceforge.net/svnroot/octave/trunk/octave-forge
> Then changed some code in my working copy of the repository.
> Then I try to commit the changes:
>> floflooo@localhost:~/octave-forge$ svn commit -m ""
>> Authentication realm: <https://octave.svn.sourceforge.net:443>
>> SourceForge Subversion area
>> Password for 'floflooo':
>> Authentication realm: <https://octave.svn.sourceforge.net:443>
>> SourceForge Subversion area
>> Username: floflooo
>> Password for 'floflooo':
>> Authentication realm: <https://octave.svn.sourceforge.net:443>
>> SourceForge Subversion area
>> Username: floflooo
>> Password for 'floflooo':
>> svn: Commit failed (details follow):
>> svn: MKACTIVITY of
>> '/svnroot/octave/!svn/act/c3bf0d01-e11b-4ab3-9d26-8d7bbeb2d33c':
>> authorization failed (https://octave.svn.sourceforge.net)
> When I logged in to Sourceforge yesterday, I had to update my
> password. I use my Sourceforge username and updated password and am
> able to log in to Sourceforge. Also, I can see that I am affiliated to
> the Octave Sourceforge project.
>
> How can I troubleshoot this problem?
>

It seems ok from my end, can you try again and see if its just a
question of the password propagating to the SVN server. You probably
also should try and upload your SSH key to

https://sourceforge.net/account/editsshkeys.php

then after a few hours try to ssh to floflooo@... and see if
you can, though I'm not sure this will help with the SVN access though
will confirm that your password is correct.

D.





--
David Bateman                                David.Bateman@...
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax)

The information contained in this communication has been classified as:

[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev

Re: Problem committing in SVN

by Florent Angly :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I uploaded my ssh key. Initially it didn't solve my problem. I retried
several times today, and now finally it worked and I could commit.
Thanks for your assistance David,
Florent


David Bateman wrote:

> Florent Angly wrote:
>  
>> Hi,
>>
>> I was given access to the SVN repository yesterday but have trouble
>> using it. In particular, I cannot seem to commit.
>> I checked out the repository without problem:
>>    
>>> floflooo@localhost:~$ svn co
>>> https://octave.svn.sourceforge.net/svnroot/octave/trunk/octave-forge
>>>      
>> Then changed some code in my working copy of the repository.
>> Then I try to commit the changes:
>>    
>>> floflooo@localhost:~/octave-forge$ svn commit -m ""
>>> Authentication realm: <https://octave.svn.sourceforge.net:443>
>>> SourceForge Subversion area
>>> Password for 'floflooo':
>>> Authentication realm: <https://octave.svn.sourceforge.net:443>
>>> SourceForge Subversion area
>>> Username: floflooo
>>> Password for 'floflooo':
>>> Authentication realm: <https://octave.svn.sourceforge.net:443>
>>> SourceForge Subversion area
>>> Username: floflooo
>>> Password for 'floflooo':
>>> svn: Commit failed (details follow):
>>> svn: MKACTIVITY of
>>> '/svnroot/octave/!svn/act/c3bf0d01-e11b-4ab3-9d26-8d7bbeb2d33c':
>>> authorization failed (https://octave.svn.sourceforge.net)
>>>      
>> When I logged in to Sourceforge yesterday, I had to update my
>> password. I use my Sourceforge username and updated password and am
>> able to log in to Sourceforge. Also, I can see that I am affiliated to
>> the Octave Sourceforge project.
>>
>> How can I troubleshoot this problem?
>>
>>    
>
> It seems ok from my end, can you try again and see if its just a
> question of the password propagating to the SVN server. You probably
> also should try and upload your SSH key to
>
> https://sourceforge.net/account/editsshkeys.php
>
> then after a few hours try to ssh to floflooo@... and see if
> you can, though I'm not sure this will help with the SVN access though
> will confirm that your password is correct.
>
> D.
>
>
>
>
>
>  


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev
LightInTheBox - Buy quality products at wholesale price