Don't forget to make reply to all and include the mailing list On 14 May 2012 10:52, Michael Creel <michael.cr...@uab.es> wrote: > On Mon, May 14, 2012 at 11:30 AM, Carnë Draug <carandraug+...@gmail.com> > wrote: >> On 13 May 2012 07:38, Michael Creel <michael.cr...@uab.es> wrote: >>> On Sat, May 12, 2012 at 2:35 PM, Carnë Draug <carandraug+...@gmail.com> >>> wrote: >>>> On 11 May 2012 16:28, Michael Creel <michael.cr...@uab.es> wrote: >>>>> On Fri, May 11, 2012 at 1:47 PM, Carnë Draug <carandraug+...@gmail.com> >>>>> wrote: >>>>>> On 11 May 2012 12:32, Levente Torok <torok...@gmail.com> wrote: >>>>>>> On Fri, May 11, 2012 at 1:22 PM, Carnë Draug <carandraug+...@gmail.com> >>>>>>> wrote: >>>>>>>> On 11 May 2012 07:59, Levente Torok <torok...@gmail.com> wrote: >>>>>>>>> I wanted to analyze gmm_exampe.m from econometrics package recently >>>>>>>>> installed but I found that it called a lot of deprecated functions. >>>>>>>>> I tracked them and replaced. Now it seems to be working. >>>>>>>>> I wish I could submit these modifications back to the package sources >>>>>>>>> but as I see I cannot find the way to patch it in the svn tree where I >>>>>>>>> found several versions of the corresponding file so I'd rather not to >>>>>>>>> touch it >>>>>>>>> instead I thought I share these modifications. I hope someone can put >>>>>>>>> it the package >>>>>>>>> >>>>>>>>> gmm_example.m: >>>>>>>>> replace call of poisson_rnd with poissrnd >>>>>>>>> str2mat call str2mat with char >>>>>>>>> >>>>>>>>> poisson_moments.m : >>>>>>>>> replace call of dmult.m with diag(A)*B >>>>>>>>> >>>>>>>>> scale_data.m: >>>>>>>>> replace call of dmult.m with diag(A)*B >>>>>>>>> >>>>>>>>> gmm_results.m >>>>>>>>> replace call of str2mat with char >>>>>>>>> chisquare_cdf with chi2cdf >>>>>>>>> normal_cdf with normcdf >>>>>>>>> >>>>>>>>> poisson_moments.m: >>>>>>>>> replace call of dmult.m with diag(A)*B >>>>>>>>> >>>>>>>>> unscale_parameters.m >>>>>>>>> replace call of nth with {1}{2} >>>>>>>> >>>>>>>> this is the wrong mailing list. Octave packages belong to octave-forge >>>>>>>> so bugs should be reported there. >>>>>>>> >>>>>>>> All the problems you mentioned have already been fixed on the >>>>>>>> development version (that's why you couldn't patch against the SVN >>>>>>>> tree) we just need someone to make a new release of the package. >>>>>>>> >>>>>>> >>>>>>> I see. Thanks. It was kind of a problematic stuff to me. >>>>>>> Wouldn't it be possible to keep forge and octave in sync? >>>>>>> I mean I would let someone install forge package unless it is >>>>>>> absolutely sure that it will function with the installed octave >>>>>>> version. >>>>>> >>>>>> Yes, it's possible and there's more who would like that to happen. >>>>>> Unfortunately, there's no one around with the means to put something >>>>>> like that in place. >>>>>> >>>>> About OF package releases, I haven't kept up >>>>> with how that works. >>>> >>>> It's quite simple and explained in >>>> http://octave.sourceforge.net/developers.html >>>> >>>> Basically, cd into main/econometrics and run >>>> >>>> svn log -v -r HEAD:{yyyy-mm-dd} >>>> >>>> with the date from last release. This will generate a list of commits >>>> since the last release. Write them in a NEWS file. Update the version >>>> number and date on DESCRIPTION. Then >>>> >>>> svn export ../econometrics ~/econometrics >>>> cd ~ >>>> >>>> make sure to remove all .svnignore and othr things not necessary in >>>> econometrics/ >>>> >>>> tar czf econometrics-x.y.z.tar.gz econometrics/ >>>> >>>> install the package you just generated and generate the documentation >>>> pkg install -forge generate_html; >>>> pkg load generate_html; >>>> generate_package_html ('econometrics', 'econometrics-html', >>>> 'octave-forge'); >>>> >>>> Then exit octave prompt and >>>> >>>> tar czf econometrics-html.tar.gz econometrics-html/ >>>> >>>> That's it. Upload both files to the forum and I'll upload them to the >>>> server. >>>> >>>> Carnë >>> >>> Thanks for the reminder, that looks simple enough. For the changes >>> that have been done by other people, I'll leave it to them to decide >>> when to release. When I get around to fixing the MPI stuff, I'll make >>> a release. >>> Thanks, >>> Michael >> >> I think the only changes made from others are the removal of >> deprecated functions as users report them as bugs. Aside that, I >> noticed that you had 2 copies of __kernel_weights (so I removed one) >> and since octave now can use a private directory, I removed the >> __foo__ functions and placed them there). >> >> There was also a MP_Initialized on the src/ directry for 8min back in 2009. >> > How could there be two copies of __kernel_weights.cc, I don't > understand? Were they identical? I can't do a release now, because > before doing a release, I would need to test the code, and I > absolutely don't have time for that. I don't expect any problems, > supposing that the correct __kernel_weights.cc is intact, but it's > been long enough since I made a release that I don't want to risk it. > Sorry, but I don't want to do a rush release. > Best, > Michael
It was not 2 __kernel_weights.cc. There was a .m and a .cc implementation. However, only the .cc was being used, the .m was being ignored. Carnë ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev