Which MP4 specification defines the ES_Descriptor bit layout? - mp4

In ISO 14496-14 section 5.6.1 they define an ESDSBox which contains an ES_Descriptor. Section 3.1.2 references some fields of the ES_Descriptor, but I have yet to figure out where the bit layout of the structure is defined.
Which document and section defines the layout of the ES_Descriptor ?

It is in ISO/IEC 14496-1, section 7.2.6.5.

Related

Defining constraints for sap.ui.model.type.DateTime fields in an XML View

I have recently migrated a SAPUI5 application from version 1.52 to version 1.96 and now I have an issue with defining constraints for a sap.ui.model.type.DateTime field (a sap.m.DateTimePicker to be precise).
In 1.52, I had the following binding definition in an XML View:
Based on this definition, it was possible to force the user to enter a value in this field using something like:
oBinding.getType().validateValue(oInternalValue);
Somewhere between SAPUI5 1.52 and 1.96, there were some changes to how constraints are handled and now defined constraints have to be valid dates.
Considering the above, how could I pass a valid Date, as constraint, in an XML View binding definition?
I've already tried various options like:
"May 18, 2000 00:01"
958597260000 (number of milliseconds since the ECMAScript epoch)
"/Date(958597260000)/"
Thanks and have a good day!
SePo

Display description of a component in Dymola

In Dymola, I can display the name of a component in a TextBox by using the syntax %name. I can also display its class (%class), its path (%path) and any of its parameter (%name_of_parameter).
But I can't find how to display the "Comment" field. %comment does work on Wolfram, but doesn't seem to work in my version of Dymola. Is there any way to do that, or do I need to create a custom "DisplayedName" parameter?
The Modelica Specification defines in chapter 18.6.5.5 which text macros exist, but it does not contain %comment. It also does not mention any other way to access the description.
It looks like Wolfram decided to add it, but there is nothing like this in Dymola.
The Dymola user manual documents in the section Creating graphical objects (user manual 1b in Dymola 2022) under Tokens expanded in text strings what is supported. They added %path for example.

Can exams2moodle export additional metainfo such as idnumber and tags?

When I export the xml file of a multiple choice question, it contains the following lines:
<idnumber>arbitrary_id_set_by_user</idnumber>
<answernumbering>ABCD</answernumbering>
<tag></tag>
Is there a way to add idnumber, answernumbering and tag to the metainformation section of the question so that r-exams can export to moodle XML as <idnumber>idnumber</idnumber>,<answernumbering>ABCD</answernumbering>, <tag>tag1</tag>, and <tag>tag2</tag> etc?
The <answernumbering> tag can be set in exams2moodle() via the answernumbering= argument, see ?exams2moodle. The reason for this is that this is set in the same way for all exercises in a quiz. This is more consistent than setting it individually and potentially inconsistently in the meta-information of the different exercises.
The <idnumber> tag appears to be used by Moodle only for internal purposes. It is also not mentioned in the official Moodle XML documentation at https://docs.moodle.org/311/en/Moodle_XML_format. Hence we did not implement it in exams2moodle().
The <tag> is currently not supported in exams2moodle() because we felt that it would be more important to have tags in the Rmd (or Rnw) exercise itself and not the Moodle version of the exercise. For structuring the content on the Moodle side the exsection meta-information can be used, see boxhist for a worked example.
Finally, you can add arbitrary metainformation by using the exextra tag. This is used, for example, in the essayreg exercise template. However, there is no general way of using this extra metainformation to insert additional XML code in the exams2moodle() output. To do that, the source code underlying exams2moodle() would have to be adapted correspondingly.

Columns Layout export

Sparx Enterprise Architect offers the possibility to define custom layouts for list views in the package browser and to save these definitions. When exporting a Project file (*.eap) via xmi, these definitions are not included in the export-file and thus lost. I wonder whether there exists a way to transfer columns layout definitions between two EA-Projects.
Many thanks in advance for every hint!
As Geert suggested the layout is stored in the registry.
[HKEY_CURRENT_USER\Software\Sparx Systems\EA400\EA\OPTIONS]
holds a key PKG_BRWSE_LAYOUTS with the comma separated list of profile names (so you better don't use comma in your profile name ;-).
The detailed information is stored in
[HKEY_CURRENT_USER\Software\Sparx Systems\EA400\EA\EA1200Workspace\BCGPGrids\EA_ELEMENT_LIST_<name>BCGPGrid-0]
where <name> is the according profile name.
For a sample layout here they looked like
"Columns"=hex:11,00,01,00,00,00,01,00,00,00,01,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,01,00,00,00,01,00,00,00,01,00,00,00,01,00,00,00
"ColumnWidth"=hex:11,00,16,00,00,00,04,01,00,00,50,00,00,00,50,00,00,00,50,00,\
00,00,50,00,00,00,50,00,00,00,50,00,00,00,50,00,00,00,50,00,00,00,50,00,00,\
00,50,00,00,00,50,00,00,00,50,00,00,00,50,00,00,00,50,00,00,00,50,00,00,00
"ColumnOrder"=hex:08,00,00,00,00,00,01,00,00,00,06,00,00,00,02,00,00,00,0d,00,\
00,00,0e,00,00,00,0f,00,00,00,10,00,00,00
"Groupping"=hex:00,00
"LastFieldChooserPos"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"IsFieldChooserVisible"=dword:00000000
"IsFieldChooserThemed"=dword:00000001
"SortColumns"=hex:00,00
I have to leave that to you to decipher the coding used here. But for a pure ex-/import you probably don't need to do that.

How to add trademark symbol to project name in Doxygen?

Is it possible to add a trademark symbol to project name in Doxygen?
PROJECT_NAME = "Company Product Name(tm)"
This appears as the home page title, and it would be very nice to have trademark symbol there.
p.s.
This does not work:
PROJECT_NAME = "Company Product Name&tm;"
You should be able to use ™ instead of &tm;.
Doxygen's support for the trademark appears to be incomplete / inconsistent.
&tm; is documented as a supported character entity by Doxygen, but it isn't specified by HTML 4.0. This character entity is rendered correctly in the body of the document, but is not handled correct in the page header.
™ and ™ are the entity number representations of ™ supported by HTML 4.0, however entity number representations are not supported by Doxygen, they will be rendered correctly in the page header, but will not be handled by doxygen in the body of the document.
™ is the character entity in HTML 4.0 for ™, however it is not listed as a supported character entity in Doxygen. Luckily, this appears to be an error in the documentation as ™ is handled correctly in both the page header and the body of the document.