Online Developer Meeting (2022-01-25)
Jump to navigation
Jump to search
- Date: Tuesday, January 25, 2022 @ 18:00 UTC
- Location: https://meet.jit.si/octave-dev
Todays topics[edit]
- Meet and greet 5 minutes before meeting (audio testing).
Release process of Octave 7.1[edit]
- Blocking issues: 9 bugs targeting 7.0.90 (see Savannah overview on octave.space)
- Most important ones (in no particular order):
- bug #61788: arrays of type int16 contain wrong numbers
- The
:
-operator will probably be changed to return an array (instead of a range object) before Octave 7.
- The
- bug #61813: memory management bug when calling MEX that returns an output
- Probably caused by changes for more efficient data interface for .mex files. @jwe will check this.
- Possible issues if Octave is compiled with C++17 (
--enable-pmr-polymorphic-allocator
), while .oct files are not.- Maybe change the API string if Octave is configured with polymorphic allocators?
- Leave that option in. But disable it by default. (That is already the current state.)
malloc
-delete[]
combination in the .mex interface- No decision made. Maybe leave as is?
- bug #61821: segfault using tree_parameter_list in oct file
- Check if we are doing something wrong for 32bit. Probably not a blocker.
- bug #61898: subsref: Error when field syntax is used on non-scalar @class object
- Try finding a minimal reproducer (without interval package). Similar bug #61843 reported.
- bug #61788: arrays of type int16 contain wrong numbers
- A few package releases with fixes for Octave 7 were pushed to the default branch of MXE Octave, e.g. https://hg.octave.org/mxe-octave/rev/d601436d29f2 (ga, control, communications)
- Should those changes be grafted to the "release" branch? -YES.
- Revisit load path caching: https://octave.discourse.group/t/rfc-remove-faulty-load-path-caching/2136
- Improving the caching strategy is the way to go (see e.g. bug #54636).
- Long-term: A complete overhaul of the load path caching implementation is probably necessary.
C++17 features in Octave API?[edit]
- Timeframe?
- When qt6 is distributed? - Probably bad strategy (Debian/Ubuntu and even Arch have trouble with qt6).
- Regarding stable=stale Linux distributions.
- Should we announce that possible requirement for some time in the future with the release of Octave 7?
- See also: Should Octave switch to C++17? If so, when? on Discourse.
- We'll start an experiment by enabling polymorphic allocators for default Octave on the default branch of MXE Octave. We'll evaluate if the necessary changes to dependent packages are trivial.
GSOC 2022 opening soon[edit]
- In this wiki GSoC (landing page) and Summer of Code (past projects).
- GSOC 2022 Timeline (Feb 7-21 is Org application window, acceptances announced Mar 7.)
- 2022 changes - after shifting to shorter projects in 2021, GSOC now allows flexible project/time commitments from 10-22 wks (12 standard, org/mentor flexibility on milestone dates).
- GSOC FAQ (took note that the organization does get a small stipend for participating... helping a bit to offset yearly infrastructure costs)
- Past projects at other orgs ranged quite widely in scope, especially with change to smaller projects in 2021:
- some were often a part of big tasks. Are there bigger octave goals that could be parted out for a GSOC task? parts of classdef, or graphics handles, or a new command window, or dare we suggest JIT?
- Some amounted to "tackle all the bugs related to X". Are there bug categories or unimplemented function categories (that might require particular coding or mathematical knowledge) worth directing particular focus on? 'the unimplemented interpolant classes/functions' or 'unimplemented image package functions related to feature recognition' or ...
- "complete this unfinished thing" tasks (prior gsoc? pkg related? the 'did you mean' feature?)
- Thinking ahead, 'Google Season of Docs' has typically announced/opened their program in Feb-March. Are there small/large doc projects worth getting into GSOD so a paid freelance technical writer/coder can take it on for 6-9 months? Successful examples ranging from document creation to doc infrastructure - 2021 2020 2019
- Please find small / partial contributions (also m-files) that help you with your current projects on Octave.
- HDF5 project?
- Time to specify the task lacks...
Previous topics[edit]
- The following items were not discussed. Just some links to progress on those items are displayed.
Release process of Octave 7.1[edit]
- No blocking issues at the moment.
- Visibility flags are disabled (on the stable branch).
- Polymorphic allocators are disabled by default, but can be enabled with a configure switch.
- Translations are still ongoing.
- Update year in copyright notes.
- Do a first release candidate during the next few days (independent on current status of translations).
Projects for Octave 8[edit]
- Array<T> template class:
- Allow implicit instantiations
- Less explicit instantiations (where possible)
- Background: Current design of requiring explicit instantiations was probably "just" for optimization of compile time.
- Make sorting a part of the Array<T> template (instead of a separate template).
- Background: At the time, this was first implemented, there was (probably?) no good sorting method in the STL.
- Maybe move to C++ sorting methods now if possible.
- provide STL compatible iterators (might be a requirement for STL sorting)
- generally try to take better advantage of templating and specializations.
- Make it explicit in the docstring if functions have a return argument.
- Allow
@seealso
links to point to old class functions - like@ftp/open
. (Doesn't work currently in doc cache.) - Lookup classdef methods for help and debugger.
- Check reason for "disappearing" classdef constructor for MException class: bug #40828
- Is it possible to simplify the implementation of classdef in Octave core?
- General note on changes: Don't over-complicate code for micro-optimizations. Use STL where possible and where it makes sense.
Update strategy for MXE Octave[edit]
default
branch was merged torelease
a couple of weeks ago. That was meant to get the CI working after the merge fromdefault
tostable
in the main Octave repository. It was not meant to freeze the branch...- When should the "actual" merge happen? For the (first?) release candidate? For the final release?
- Merge some time during the next few days. Before the first release candidate.
- After that, fix bugs as necessary.
Status of plotting in Octave[edit]
- https://octave.discourse.group/t/plotting-backend-for-web-ui/2008
- The "gnuplot" graphics interface will eventually be removed.
- It's probably difficult (or impossible) to make it a package.
- The "qt" graphics interface is the default now.
See also[edit]
- Next meeting: Online Developer Meeting (2022-02-22)
- Last meeting: Online Developer Meeting (2021-12-28)