libbde: refactor

Description of changes
Fix https://github.com/NixOS/nixpkgs/issues/326909
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@eliasp Oh,no. My fault.


:bug: Don't write beyond passed capacity

Add pen_t::capacity and track on writing every character.

Close #6

Tested, issues mentioned in #6 are no longer present


Implement record cleaner rule checking

The service will have to implement the following validation rules

[x] Date
[x] Spatial reference
[x] Species name
[x] Vice county

The service will have to implement the following verification rules

[x] Period (Checks records are within the introduction and extinction date range)
[x] Period within year (Checks species records are within correct time of year for its life stage)
[x] Ancillary species list (Checks species are within a given list)
[x] Without polygon (Checks the location of the record is within a list of grid squares or vice counties)

The service should implement the following verification rules for compatibility with the existing record cleaner

[ ] Checklist (Checks values from any given field are within a given list)
[ ] Polygon (Checks the location of a record is within a polygon)
[ ] Regular expression (Checks values from any given field conform to a regular expression)

All the verification rules can reversed to perform the inverse function.

To date records have only been flagged when they fail a rule check.
It has not been possible to distinguish between records which have passed tests and records for which no tests exist.
@kitenetter, I recall you expressing a desire for this distinction to be made.
How would you like this to be done?
We can anticipate that only a few species will have period and ancillary rules so an absence of these rules is not remarkable. Period within year (phenology) and Without polygon (ten km distribution) rules are more likely to be created for everything.
As a suggestion, we could change from pass/fail to pass/warn/fail as an overall result where 'warn' indicates either the phenology or tenkm rules are missing.
An accompanying list of messages can detail the reason for a warn or fail.
What do you think?

From our discussion today, here is a proposed way forward:

We work on the basis that for any taxon group, the list of taxa included is defined by the list of taxa that have ID difficulty rules.
When importing data into record cleaner, we run a validation check to find out of the imported data contains taxa for which no ID difficulty rules exist.
If no ID difficulty rule exists, the record is flagged as "No rule checks available" or similar.
If an ID difficulty rule does exist, the record is taken on to the next stage of checking against all rules that are available for that taxon.
Our guidance to rule creators should make it clear that ID difficulty rules need to exist for all taxa of interest.

@kitenetter I've just come back to the above, rediscovering it as I moved ID Difficulty checks in to the verification stage. Can you clarify the following:

In step 3, when no ID Difficulty rule exists, is the record considred as passing or failing verification?
In step 4, do you want any indication of missing rules?

@JimBacon

step 3: definitely should not be counted as "passing", and ideally it's not "failing" either, it is a third category "no rule available". But if we need to stick to just two categories then this has to be considered a fail.
step 4: it would be a nice-to-have to be able to indicate which rules are available or not, but this gets complex doesn't it? As well as ID difficulty, there could potentially be rules for distribution, phenology within year, year range, and 'rarity' (can't remember what this is actually called but it does exist for a few taxa). If you can see a way of communicating that it would be great, but otherwise a simple "no other rules available" if none exist?

In v2.0.0

where no ID Difficulty exists for a taxon, a warning is raised.
where tests pass, the list of tests completed is included in the output.

Closing as initial requirements have been fulfilled.


Bug: in three column layout when device width is 1028px, the sierra column breaks

See video attached. The Sierra column starts jumping around
https://github.com/walnuthq/cairovm.codes/assets/2983746/55024c9f-0d2c-4817-ac29-bc96310e48c4

I am currently doing an issue for ODHack on a other project but If not urgent can take a look after

Can I take this?

Assigned to @melnikga because his comment is more relevant.
Let's figure out why does it behave this way first, and then fix the issue accordingly.

Hello @mazurroman I'll like to work on this


Add Russian translation and Polish

In the futur me cousin he make a Polish translate

Hi! can you add the changes that were made in this commit f3c9ed4dda3d20ce9daa0ceff083b5c7631fa2c3 please? When it's good I'll merge it.

Another review is needed.

Hi, the translation of this commit 42c6e1e57dfe444f1df8448b6c77560e152e8fef is needed too!

Closing for inactivity and the translations of the documentation will be done on Crowdin.


[REQUEST] Support the input() built-in

Haven't seen this as a suggestion
How would you improve Rich?
The rich module brings so much functionality to Command Line Interfaces, however when you use the input() function, it breaks the styling. If you could override the input function like how the print function is, that would be a great improvement! I'd like to see something like this:
input('[bold magenta]Press ENTER to Continue[/bold magenta]')

What problem does it solve for you?
This would solve using the input() function w/ rich to not break the style of your CLI.

The Console.input method works like that.

Ah okay, thanks!


failing after upgrade to 2.0.23

Getting the following error:
flexget execute
2016-05-16 11:58 CRITICAL plugin                        Plugin `flexget.plugins.urlrewrite_koreus` failed to import dependencies
2016-05-16 11:58 ERROR    plugin                        cannot import name urlopener
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 387, in _load_plugins_from_dirs
    __import__(module_name)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/urlrewrite_koreus.py", line 9, in <module>
    from flexget.utils.tools import urlopener
ImportError: cannot import name urlopener
2016-05-16 11:58 CRITICAL plugin                        Plugin `flexget.plugins.urlrewrite_newzleech` failed to import dependencies
2016-05-16 11:58 ERROR    plugin                        cannot import name urlopener
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 387, in _load_plugins_from_dirs
    __import__(module_name)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/urlrewrite_newzleech.py", line 11, in <module>
    from flexget.utils.tools import urlopener
ImportError: cannot import name urlopener
2016-05-16 11:58 CRITICAL plugin                        Plugin `flexget.plugins.urlrewrite_google_cse` failed to import dependencies
2016-05-16 11:58 ERROR    plugin                        cannot import name urlopener
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 387, in _load_plugins_from_dirs
    __import__(module_name)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/urlrewrite_google_cse.py", line 12, in <module>
    from flexget.utils.tools import urlopener
ImportError: cannot import name urlopener
2016-05-16 11:58 CRITICAL plugin                        Plugin `flexget.plugins.urlrewrite_bakabt` failed to import dependencies
2016-05-16 11:58 ERROR    plugin                        cannot import name urlopener
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 387, in _load_plugins_from_dirs
    __import__(module_name)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/urlrewrite_bakabt.py", line 8, in <module>
    from flexget.utils.tools import urlopener
ImportError: cannot import name urlopener
2016-05-16 11:58 CRITICAL plugin                        Plugin `flexget.plugins.urlrewrite_newtorrents` failed to import dependencies
2016-05-16 11:58 ERROR    plugin                        cannot import name urlopener
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 387, in _load_plugins_from_dirs
    __import__(module_name)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/urlrewrite_newtorrents.py", line 13, in <module>
    from flexget.utils.tools import urlopener
ImportError: cannot import name urlopener
2016-05-16 11:58 CRITICAL plugin                        Plugin `flexget.plugins.urlrewrite_frenchtorrentdb` failed to import dependencies
2016-05-16 11:58 ERROR    plugin                        cannot import name urlopener
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 387, in _load_plugins_from_dirs
    __import__(module_name)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/urlrewrite_frenchtorrentdb.py", line 8, in <module>
    from flexget.utils.tools import urlopener
ImportError: cannot import name urlopener
2016-05-16 11:58 CRITICAL plugin                        Plugin `flexget.plugins.urlrewrite_deadfrog` failed to import dependencies
2016-05-16 11:58 ERROR    plugin                        cannot import name urlopener
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 387, in _load_plugins_from_dirs
    __import__(module_name)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/urlrewrite_deadfrog.py", line 9, in <module>
    from flexget.utils.tools import urlopener
ImportError: cannot import name urlopener
2016-05-16 11:58 CRITICAL plugin                        Exception while loading plugin flexget.plugins.urlrewrite_torrent411
2016-05-16 11:58 ERROR    plugin                        Table 't411_accounts' is already defined for this MetaData instance.  Specify 'extend_existing=True' to redefine options and columns on an existing Table object.
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 387, in _load_plugins_from_dirs
    __import__(module_name)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/urlrewrite_torrent411.py", line 214, in <module>
    class torrent411Account(Base):
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/api.py", line 55, in __init__
    _as_declarative(cls, classname, cls.__dict__)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/base.py", line 88, in _as_declarative
    _MapperConfig.setup_mapping(cls, classname, dict_)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/base.py", line 103, in setup_mapping
    cfg_cls(cls_, classname, dict_)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/base.py", line 131, in __init__
    self._setup_table()
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/base.py", line 394, in _setup_table
    **table_kw)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/schema.py", line 398, in __new__
    "existing Table object." % key)
InvalidRequestError: Table 't411_accounts' is already defined for this MetaData instance.  Specify 'extend_existing=True' to redefine options and columns on an existing Table object.
Traceback (most recent call last):
  File "/usr/local/bin/flexget", line 9, in <module>
    load_entry_point('FlexGet==1.2.455', 'console_scripts', 'flexget')()
  File "/usr/local/lib/python2.7/dist-packages/flexget/__init__.py", line 42, in main
    manager.start()
  File "/usr/local/lib/python2.7/dist-packages/flexget/manager.py", line 309, in start
    self.initialize()
  File "/usr/local/lib/python2.7/dist-packages/flexget/manager.py", line 181, in initialize
    plugin.load_plugins(extra_dirs=[os.path.join(self.config_base, 'plugins')])
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 431, in load_plugins
    _load_plugins_from_dirs(extra_dirs)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 387, in _load_plugins_from_dirs
    __import__(module_name)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/urlrewrite_torrent411.py", line 214, in <module>
    class torrent411Account(Base):
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/api.py", line 55, in __init__
    _as_declarative(cls, classname, cls.__dict__)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/base.py", line 88, in _as_declarative
    _MapperConfig.setup_mapping(cls, classname, dict_)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/base.py", line 103, in setup_mapping
    cfg_cls(cls_, classname, dict_)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/base.py", line 131, in __init__
    self._setup_table()
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/base.py", line 394, in _setup_table
    **table_kw)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/schema.py", line 398, in __new__
    "existing Table object." % key)
sqlalchemy.exc.InvalidRequestError: Table 't411_accounts' is already defined for this MetaData instance.  Specify 'extend_existing=True' to redefine options and columns on an existing Table object.

naseemr@naseemr-ubuntu:~/.flexget$   flexget -V
2.0.23
You are on the latest release.
naseemr@naseemr-ubuntu:~/.flexget$

Something is broken. Try a complete reinstall of Flexget.

think this should force upgrade everything.
pip install --upgrade --force-reinstall flexget

Thank you, I had to reinstall pip and flexget to get it to work again.
On May 20, 2016 5:56 PM, "Christopher Thatcher"<EMAIL_ADDRESS>wrote:

think this should force upgrade everything.
pip install --upgrade --force-reinstall flexget
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/Flexget/Flexget/issues/1188#issuecomment-220737488

Closing as resolved by user.


Explore switching back our Run OPA tests action from back from < 0.50 to latest

💡 Summary
Back during the 0.30 release we had to switch the Run OPA tests workflow from latest to < .50  #193.
Over the course of the Emerald release, we've might've solved this issue with our Rego code updates.
This issue is to see if we can switch back from < .50  to latest.

Motivation and context
To revert a change we made because we were out of compliance with OPA standards.
Implementation notes
Change that variable and see if our current rego code still fails.
Acceptance criteria

[ ]  < 0.50 => latest in run_opa_tests.yaml

Changing the OPA version from <0.50 to latest in run_opa_tests.yaml throws the same errors which are fixed in #631. Once this PR is merged then we should be fine switching the test action back to latest. (I pulled my changes from this PR to double check and the test action passes successfully)


SVN removed from GitHub ubuntu-latest causing build_release_candidate workflow failure

What happened?
Found on 2.60.0RC2 build: https://github.com/apache/beam/actions/runs/11320467305/job/31478063174
Comparing
https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md
with
https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md (released 4 days ago)
SVN is removed.
Going to pin to ubuntu-22.04 for now to unblock release. Need to be fixed by the next release.
Issue Priority
Priority: 1 (data loss / total loss of function)
Issue Components

[ ] Component: Python SDK
[ ] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[ ] Component: IO connector
[ ] Component: Beam YAML
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[ ] Component: Website
[ ] Component: Infrastructure
[ ] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

Move to P2 as currently mitigated. Still need to update the workflow to install svn in the future (in 2 year?)


Update the Python API documentation

:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-autogen/overview/azure/WebApps/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/VirtualMachines/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/TrafficManager/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/Storage/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/Storage/Client.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/SQL/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/ServiceFabric/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/ServiceFabric/Client.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/ServiceBus/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/ServiceBus/Client.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/Search/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/Scheduler/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/Relay/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/Redis/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/RecoveryServicesBackup/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/RecoveryServices/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/PowerBI/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/PostgreSQL/MySQL/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/NotificationHubs/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/Network/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/Monitoring/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/MachineLearning/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/LogicApps/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/KeyVault/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/KeyVault/Client.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/IoT/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/HanaonAzure/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/Functions/Client.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/EventHub/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/EventGrid/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/EventGrid/Client.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/DNS/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/DevTestLabs/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/DataLakeStore/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/DataLakeStore/Client.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/DataLakeAnalytics/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/DataFactory/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/CosmosDB/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/CosmosDB/Client.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/ContainerService/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/ContainerRegistry/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/ContainerInstance/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/Consumption/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/Commerce/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/CognitiveServices/WebSearch.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/CognitiveServices/VisualSearch.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/CognitiveServices/VideoSearch.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/CognitiveServices/TextAnalytics.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/CognitiveServices/SpellCheck.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/CognitiveServices/NewsSearch.yml
:warning:Warning

Details

This comment lists only the first 50 files in the pull request.

docs-ref-autogen/overview/azure/WebApps/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/VirtualMachines/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/TrafficManager/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/Storage/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/Storage/Client.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/SQL/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/ServiceFabric/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/ServiceFabric/Client.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/ServiceBus/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/ServiceBus/Client.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/Search/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/Scheduler/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/Relay/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/Redis/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/RecoveryServicesBackup/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/RecoveryServices/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/PowerBI/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/PostgreSQL/MySQL/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/NotificationHubs/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/Network/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/Monitoring/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/MachineLearning/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/LogicApps/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/KeyVault/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/KeyVault/Client.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/IoT/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/HanaonAzure/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/Functions/Client.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/EventHub/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/EventGrid/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/EventGrid/Client.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/DNS/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/DevTestLabs/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/DataLakeStore/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/DataLakeStore/Client.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/DataLakeAnalytics/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/DataFactory/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/CosmosDB/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/CosmosDB/Client.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/ContainerService/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/ContainerRegistry/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/ContainerInstance/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/Consumption/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/Commerce/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/CognitiveServices/WebSearch.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/CognitiveServices/VisualSearch.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/CognitiveServices/VideoSearch.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/CognitiveServices/TextAnalytics.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/CognitiveServices/SpellCheck.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/CognitiveServices/NewsSearch.yml

[Warning] Failed to extract file creator information from git history.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


include self and parents

Came across this issue, at the moment if you are a div with the slick-slide class directly, then it will look for your parents and not find you. I'd make a fiddle but this is just very obvious and that seems like overkill. JQuery closest is IE6+ compatible and resolves this issue in a way comparable to parents: http://api.jquery.com/closest/

Looks like this PR has merge conflict that need to be resolved. In the interest of tidying up I'm going to close this, but can reopen if the merge conflicts are sorted. Thanks!


Version out of date in code

Describe the bug
Updated to latest version (3.6), but the current variable in the code hasn't been updated to match, so the extension detects an update is available and nags me about it in the top right.
On a side note, clicking the link in the button also toggles dark mode, which is probably unexpected behaviour and blinded me a little when I wasn't expecting it.
To Reproduce
Steps to reproduce the behavior:

Open Spotify with latest version of theme installed

Screenshots

I guess this would require a new version 3.6.1 etc, since 3.6 was already released with the wrong version number in the code.


🐛 [firebase_storage] An unknown error occurred, please check the server response. on macos

Bug report
Describe the bug
if i try to use storage method (putString,listAll,getMeta,getDownloadURL,getMetadata)
I get this below error :
Launching lib/main.dart on macOS in debug mode...
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:00008103-001A35010AE2001E }
{ platform:macOS, arch:x86_64, id:00008103-001A35010AE2001E }
warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Runner' from project 'Runner')
warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Flutter Assemble' from project 'Runner')
Connecting to VM Service at ws://<IP_ADDRESS>:62695/3SK749usmn4=/ws
2022-09-09 22:14:06.544 teststorage[36974:224014] FLTFirebaseStorage: An unknown error occurred while calling method Reference#getMetadata
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: [firebase_storage/unknown] An unknown error occurred, please check the server response.
#0      StandardMethodCodec.decodeEnvelope
#1      MethodChannel._invokeMethod
<asynchronous suspension>
#2      MethodChannel.invokeMapMethod
<asynchronous suspension>
#3      MethodChannelReference.getMetadata
<asynchronous suspension>

Steps to reproduce
Steps to reproduce the behavior:

create new flutter project
run flutterfire configure
add firebase_core, firebase_storage
write below code
run the app

Expected behavior
every things work.
Sample project
import 'package:firebase_core/firebase_core.dart';
import 'package:firebase_storage/firebase_storage.dart';
import 'package:flutter/material.dart';

import 'firebase_options.dart';

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await Firebase.initializeApp(
    options: DefaultFirebaseOptions.currentPlatform,
  );

  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        title: 'Flutter Demo',
        theme: ThemeData(
          primarySwatch: Colors.blue,
        ),
        home: Scaffold(
          body: ElevatedButton(
              onPressed: () {
                FirebaseStorage.instance.ref("file.png").getMetadata();
              },
              child: Text("run")),
        ));
  }
}

Additional context
the bugs appears on desktop macos (i test on m1 cpu)
on ios simulator every things work fine

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.3.1, on macOS 12.5.1 21G83 darwin-arm, locale
    en-IQ)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.71.0)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
mac@Macs-MacBook-Air teststorage % flutter pub deps -- --style=compact
Dart SDK 2.18.0
Flutter SDK 3.3.1
teststorage 1.0.0+1

dependencies:
- cupertino_icons 1.0.5
- firebase_core 1.22.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_storage 10.3.8 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter]
- flutter 0.0.0 [characters collection material_color_utilities meta vector_math sky_engine]

dev dependencies:
- flutter_lints 2.0.1 [lints]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters collection matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph]

transitive dependencies:
- async 2.9.0 [collection meta]
- boolean_selector 2.1.0 [source_span string_scanner]
- characters 1.2.1
- clock 1.1.1
- collection 1.16.0
- fake_async 1.3.1 [clock collection]
- firebase_core_platform_interface 4.5.1 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 1.7.2 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_storage_platform_interface 4.1.16 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_storage_web 3.3.6 [async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math]
- http 0.13.5 [async http_parser meta path]
- http_parser 4.0.1 [collection source_span string_scanner typed_data]
- js 0.6.4
- lints 2.0.0
- matcher 0.12.12 [stack_trace]
- material_color_utilities 0.1.5
- meta 1.8.0
- path 1.8.2
- plugin_platform_interface 2.1.2 [meta]
- sky_engine 0.0.99
- source_span 1.9.0 [collection path term_glyph]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- string_scanner 1.1.1 [source_span]
- term_glyph 1.2.1
- test_api 0.4.12 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- typed_data 1.3.1 [collection]
- vector_math 2.1.2
mac@Macs-MacBook-Air teststorage %

@Ali1Ammar
I am unable to replicate the error you reported. Using your code sample, ran it on macOS, wherein I get a different error as below, which is expected considering I tried the code as-is:
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: [firebase_storage/object-not-found] No object exists at the desired reference.
#0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:653:7)
#1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:296:18)
<asynchronous suspension>
#2      MethodChannel.invokeMapMethod (package:flutter/src/services/platform_channel.dart:499:43)
<asynchronous suspension>
#3      MethodChannelReference.getMetadata (package:firebase_storage_platform_interface/src/method_channel/method_channel_reference.dart:67:36)
<asynchronous suspension>

The error that you are getting : [firebase_storage/unknown] An unknown error occurred, please check the server response., probably is similar to https://github.com/firebase/flutterfire/issues/7706, so I suggest you to follow-up in it for further updates.
Closing this as a duplicate.


Rename BucketBatcher argument to avoid name collision

Stack from ghstack:

-> #304
#290

We have a DataPipe using the functional API name in_batch_shuffle. Therefore, this DataPipe should not have a class variable with the same name to avoid confusion.

Thanks for fixing it. I was also thinking to change the name of this DataPipe to Bucketizer with functional name bucketize in favor of this commonly used name (https://www.tensorflow.org/tfx/transform/api_docs/python/tft/bucketize)

I think that seems reasonable. We will have to go through the deprecation process.

@nivekt has imported this pull request.  If you are a Facebook employee, you can view this diff on Phabricator.

@nivekt has imported this pull request.  If you are a Facebook employee, you can view this diff on Phabricator.

@nivekt has imported this pull request.  If you are a Facebook employee, you can view this diff on Phabricator.


FastDDSGen detects IDL file changes

Hi,
Does fastdds generator have a way to detect any IDL file changes and then generates the code accordingly ?
Like, in cmake we have timestamp-based detection to tag a file as changed and then build. I am trying to find out if the generator can automatically skip code generation if the content of IDL has not changed.
Thanks

I am afraid that Fast DDS-Gen does not support the feature you describe. You may use the -replace option to overwrite the already generated files. Without enabling this option, Fast DDS-Gen would not generate the code again, even if the IDL files have changed.
I am moving this ticket to the proper discussion forum.


Pruning of top pool after block confirmation from layer one

Currently tops are removed from pool when invalid or in (sidechain) block. However, valid calls should only removed from pool when finalized in layer one

Closing in favour of https://github.com/integritee-network/worker/issues/689


[docs; tiny] Clarify that Response.ok will only return True/False

This is a tiny documentation fix, just to be super-duper explicit about the return value of response.ok.
(I wanted to check I could use its value in a function that’s meant to return a boolean, but the docs weren’t clear about what a non-Truthy return value would be.)

Codecov Report

Merging #4390 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #4390   +/-   ##
=======================================
  Coverage   88.36%   88.36%
=======================================
  Files          18       18
  Lines        2055     2055
=======================================
  Hits         1816     1816
  Misses        239      239

Impacted Files
Coverage Δ

requests/models.py
93.45% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c3f2553...775cde0. Read the comment docs.

Thanks @alexwlchan


Security: Upgrade FFMPEG for security bug.

FFMPEG security bug: https://mp.weixin.qq.com/s/T3xlUNUlwTzhTWw2Rt7-XA
FFmpeg 3.2.2, 3.2.5, 2.6.8, etc
Need to upgrade to 3.3.2

Please use docker to compile FFMEPG: https://github.com/ossrs/srs-docker/tree/centos#usage


How to get vertices from persistent intervals?

Hi, I want to know the exact vertices which belong to a 1-D cycle.
Using the computeAnnotatedIntervals function, I am able to see all the cycle intervals and the edges. Below is an example:
int_generators = intervals.getIntervalGeneratorPairsAtDimension(1)
A_arr = int_generators.toArray;
temp1 = A_arr(1);

temp1:
[0.05625, 0.0625), [267,282] + [282,290] + [267,271] + [271,290])

Now I want to extract the vertices belonging to this cycle. In this example, it has four vertices. The chain belongs to class IntSparseFormalSum. Can someone please tell me how to parse the vertices from this cycle?

IntSparseFormalSum is in a different package, the source is at: https://github.com/ogdet/primitive-lib/blob/master/src/edu/stanford/math/primitivelib/autogen/formal_sum/IntSparseFormalSum.java
The sum is a set of key-value pairs: keys being the objects added, and value the coefficients.  In this case, the keys are Simplex instances.  To get all the vertices, you need to use the specialised iterator.
(I use neither Matlab nor Java, so this is Java-ish pseudo-code.)
intervals = persistence.computeAnnotatedIntervals stream()
dim-n = intervals.getGeneratorsAtDimension(n) // for generators at dimension n
// dim-n is an ArrayList of IntSparseFormalSum instances.
// You can get an iterator for the instance of IntSparseFormalSum, which works as follows:
it = dim-n.get(0).iterator ()  // to get the iterator for first item in list
while (it.hasNext ()) {
it.advance();
it.key ();  // is the current part of the addition, which is a Simplex (back in JavaPlex library)
it.key().getVertices (); // returns an int[] of the vertices
it.value() // is the coefficient in the sum
}


Type hint interface instead of class

Introduction: I'm using OctoberCMS, which is made on the top of Laravel 5.5 framework.
Problem: OctoberCMS uses own implementation of Event Dispatcher and when using Sentry in OctoberCMS, I'm getting this error:
TypeError: Argument 1 passed to Sentry\SentryLaravel\SentryLaravelEventHandler::subscribe() must be an instance of Illuminate\Events\Dispatcher, instance of October\Rain\Events\Dispatcher given, called in /home/ubuntu/sites.com/vendor/sentry/sentry-laravel/src/Sentry/SentryLaravel/SentryLaravelServiceProvider.php on line 72

Solution: Type-hint interface instead of particular class.

We would need to split our event handler to maintain 4.x support since 4.x does not implement those contracts (since they were introduced in 5.0). This change as is would break 4.x.
Might be better to not typehint at all maybe?

How about creating special 4.x branch for a version compatible with old Laravel version. And cherry picking only bug fixes from master (L5.x) version?

Yeah, that would possibly be the better plan. Let me work that out.

Sorry for the delay. There will have to be some more cleanups before I release the >5.x version (need te remove all 4.x code), but you can use master or a specific commit for now to fix this particular issue.

Thanks! I'm using this:
"require": {
    "sentry/sentry-laravel": "dev-master#4166a9b"
}

and works well.


More about PreemptStrategyNormal

just think about currentFrameTimeStamp

but then this is wrong?

wait, logic just now is wrong

next: change logic to pass tests

p.s. question: what if we have vsync signal from c++?
no problem, just mimic current, but instead of using "fake" vsync := last_janky_vsync + N * 16.66ms, we have a more accurate


Notebook cleanup

Clean up the handling and naming of cell factories in the notebook model and widget.

This is cleaned up and uses the same model handling semantics used in #87.

Looks good. Cheers!


Need to take decision whether to use getRawValues() or not

Discussion: https://github.com/Nasser-Eddin-Nasser/Digitact/pull/55#discussion_r436714326

fixed in https://github.com/Nasser-Eddin-Nasser/Digitact/pull/85


release: prepare 1.0.2-rc.1

Signed-off-by: Stephen J Day<EMAIL_ADDRESS>

Codecov Report

Merging #2104 into release/1.0 will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           release/1.0    #2104   +/-   ##
============================================
  Coverage        50.56%   50.56%
============================================
  Files               81       81
  Lines             7169     7169
============================================
  Hits              3625     3625
  Misses            2849     2849
  Partials           695      695

Flag
Coverage Δ

#linux
50.56% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6ddb0bd...442943b. Read the comment docs.

LGTM

LGTM

Rebasing with #2110.

LGTM

LGTM


Universal Windows (UWP) compatibility

Hello
I have added Refit to my Universal Windows (Windows 10) project with nuget.
It compiles without any warning, nothing strange at the build output.
I get exception at runtime : "IApiInterface doesn't look like a Refit interface. Make sure it has at least one method with a Refit HTTP method attribute and Refit is installed in the project." when i call "var api = RestService.For(API_URL);"
I have added just sample codes, nothing extreme things.
I assume that the "AutoGenerated*" class is not being generated.
PS.: I know the UWP is not supported according to readme yet. It would be nice if Refit would work with UWP.

I have Refit working in a UWP app, although in my case the interface and associated types are in a portable class library targeting UWP.The UWP app itself has Refit installed, plus a reference to the portable class library. The UWP app itself contains the code that calls RestService..For<>(url) and it works fine for me. Not sure if this means your issue isn't UWP, or if it's the portable class library that somehow makes the difference.
If you can't get it working in the UWP app directly (I haven't tried), you might like to try moving your Refit stuff to a portable class library and seeing if that gives you a temporary work around until UWP is fully supported. You do still need to call RestService.For in the app though, won't work from the portable class library.

Any new about refit for UWP, I cannot use on UWP although I have used the @Yortw aproach. Anybody can help me?


Microsoft.PowerToys version 0.58.0

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.1 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

closing.  want to see if i can't get the workflow to actually do this.


Fix #502

Description
Fixes the situation found in #502 - improves error handling on the client slightly
Fixes #502
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Implemented tests for API changes.
Client needs to be tested
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have updated changelog.md with changes made

@pagermon/collaborators someone sanity check for me? 😁


Settings for pedestrians in training and testing environments

I am very interested in your work, I want to know how to set the position of pedestrians and the end point in your code during training and testing, and I noticed that the robot in your code is a holonomic robot, if I want to train a unicycle robot what should I do?

I'd also like to know how to set the robot's start and end points, if possible.

@yuqikong please see this function for how we see the start and end position for humans: https://github.com/vita-epfl/CrowdNav/blob/20d678085c06831e658a65b9e20c8bb6f6ecdc10/crowd_sim/envs/crowd_sim.py#L155-L176. Robots always go upward.
For a unicycle robot, you can change the config here: https://github.com/vita-epfl/CrowdNav/blob/20d678085c06831e658a65b9e20c8bb6f6ecdc10/crowd_nav/configs/policy.config#L14. And here is how they are implemented: https://github.com/vita-epfl/CrowdNav/blob/20d678085c06831e658a65b9e20c8bb6f6ecdc10/crowd_sim/envs/crowd_sim.py#L336-L341.

I got it, thank you!


[FIX] Clarify run indexing information for MRI acquisitions

Adding fix, regarding this NeuroStars issue

I don't have time to review this just yet, but I did want to note that this speaks to the need to delineate which entities define a file collection (as in #688) and which ones differentiate runs (#530).

Closing in favor of #719.


Limited Results

Needs more of a variation of results

thanks! working on it. We'll do a revision of all search engines before our next update.
We're also working on alternate/innovative solutions.


 Following CircleCI
recommendation, we've switched them to base convenience images.
References:
[1] https://discuss.circleci.com/t/legacy-convenience-image-deprecation/41034
[2] https://circleci.com/developer/images/image/cimg/base
gitlint-ignore: all
Proposal

Use cimg images
Add login to Dockerhub step

@jmaupetit @wilbrdt it is ready for review now !


Josean

NOTE
Please verify that the base repository above has the intended destination!
Github by default opens Pull Requests against the parent of a forked repository.
If this is your personal fork and you didn't intend to open a PR for contribution
to the original project then adjust the base repository accordingly.

reverted back to template


[BUG] Error: Attempt to apply insert patch to non-array value

Describe the bug
Followed basic install instructions and adding the first "tag" by hitting enter results in multiple errors Error: Attempt to apply insert patch to non-array value

Hey @ezekielaquino! Were you able to figure it out? I wonder what could've caused this 🤔


i want know the data frame of grpc.

according to grpc over http2.i also has some questions about it.
grpc data fram: compress flag(1 bytes) | message length(4 bytes) | message(binary bytes)|EOS(bytes?)
can i understand in this way.
data frame
00000000                    |00000000 00000000 00000000 00000000|           .......            |EOS
1 byte (compress flag)|                        4 bytes length                   |message content |
EOS:i don't know what it is and how many bytes does it have?
can you give me a example of data frame.(hope it can accurate to bit)
i want to make a http2 to grpc by myself.thanks a lot.

EOS is indicated in the http2 frame header. For example, a http2 data frame has flag 0x1 as END_STREAM bit. See https://http2.github.io/http2-spec/#DATA
gRPC message just has its 5-byte header. So if you have X bytes in your serialized message, X+5 bytes will be sent as HTTP2 payload.

@yang-g
Thanks.i got it.Does grpc have another different areas in header from http2 header?

No it does not. You can get a sense of what gRPC uses . in https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md
You can dump the output of gRPC with gRPC tracers such as TCP tracer as described in https://github.com/grpc/grpc/blob/master/doc/environment_variables.md


[🐛 Bug]: Inconsistent(unexpect) behavior: Only encrypted variables accessible in Next.js on Cloudflare Pages

next-on-pages environment related information
System:
Platform: linux
Arch: x64
Version: #213-Ubuntu SMP Fri Aug 2 19:14:16 UTC 2024
CPU: (4) x64 Intel(R) Core(TM) i5-6500T CPU @ 2.50GHz
Memory: 8 GB
Shell: /bin/bash
Package Manager Used: npm (10.7.0)
Relevant Packages:
@cloudflare/next-on-pages: 1.13.2
vercel: 37.2.1
next: 14.2.5
Description
Description
When deploying a Next.js application on Cloudflare Pages, I've noticed an inconsistency in how environment variables are accessed. Only encrypted variables are accessible at runtime, while plaintext variables set in the Cloudflare Pages dashboard are not available in the runtime environment.
Expected Behavior
All environment variables set in the Cloudflare Pages dashboard (both plaintext and encrypted) should be accessible in server-side code (server actions, API routes) when the application is running on Cloudflare Pages. Or, it should be documented if otherwise.
Actual Behavior
Only encrypted variables are accessible. Plaintext variables do not appear to be available in the runtime environment.
Steps to Reproduce

Set up a Next.js project with @cloudflare/next-on-pages
In the Cloudflare Pages dashboard, set both plaintext and encrypted environment variables
Deploy the application to Cloudflare Pages
Attempt to access these variables in a server action or API route

Reproduction
Code Example 1
import { getRequestContext } from '@cloudflare/next-on-pages';

export async function myServerAction() {
  const ctx = getRequestContext();
  const env = ctx.env;

  console.log(env.ENCRYPTED_VARIABLE); // This works
  console.log(env.PLAINTEXT_VARIABLE); // This is undefined
}

Code Example 2
export async function myServerAction() {
  const env = (globalThis as any).process?.env;

  console.log(env.ENCRYPTED_VARIABLE); // This works
  console.log(env.PLAINTEXT_VARIABLE); // This is undefined
}

### Pages Deployment Method

Pages CI (GitHub/GitLab integration)

### Pages Deployment ID

_No response_

### Additional Information

_No response_

### Would you like to help?

- [ ] Would you like to help fixing this bug?

Okay so this is weird.. I ran into this same issue however re-deploying seemed to fix it. I am currently using plaintext variables from the wrangler.toml.
It's definitely odd though and seems like there's some race condition where on first deploy, it runs the pipeline before plaintext secrets are uploaded

There's something weird going on with variables & secrets for sure. I've also hit this plaintext values not present bug and there seems to be another one with encrypted values depending on if the build happens at CF or in a Github Action.


ol.geom.Geometry::transform is not documented

Users are not able to know that they can use transform on any Geometry reading the API documentation.

I think this should be fixed by #3818


CryptoPro.Chromium-Gost version 108.0.5359.94

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.2 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@stephengillie - PR requires manual merge.


Add mtucker's Boston file

Added a few places to get great food in Boston.

@mtucker01752 do you have any suggestions for places to find awesome local 🍻 ?
Hooray Boston!!! ✨

@githubteacher Tavern in the Square has lots of local micro-brews on tap. Or check out Five Horses Tavern (http://www.fivehorsestavern.com) for something a bit different.

Closes #11


Add support for Radxa RockPi4C

This PR adds support for the Radxa RockPi 4C.
Due to the close relation to the other models, they are probably also easy to add.
Tested:

Booting from NVMe (Crucial P2 CT250P2SSD8)
Boot Menu (over screen)

Untested:

Graphical output (Board has microHDMI and mDP, no output on mDP) Output is on microHDMI

For flashing, I followed the official instructions for flashing over USB in maskmode.

Below is also a test of cycling through erasing and re-flashing using spi.installer.img.

Erasing:
SF: Detected XT25F32B with page size 256 Bytes, erase size 4 KiB, total 4 MiB
Currently erasing...
SF: 4194304 bytes @ 0x0 Erased: OK
Done!

now rebooting with the menu, starting
Tow-Boot 2021.04 (Apr 05 2021 - 15:03:29 +0000)003-pre [variant: noenv]

and now flashing it again (got dropped into that menu directly)
Found U-Boot script /boot.scr
-> Reading new firmware from storage...
1560164 bytes read in 90 ms (16.5 MiB/s)
-> Hardening against failures...
   We are deliberately breaking the initial part of the SPI Flash contents.
SF: 8192 bytes @ 0x0 Erased: OK

   A stray reboot should be safe now.
-> Writing new firmware tail to SPI Flash...
device 0 offset 0x2000, size 0x17ae64
1551972 bytes written, 0 bytes skipped in 25.500s, speed 62314 B/s
-> Writing new firmware head to SPI Flash...
device 0 offset 0x0, size 0x2000
8192 bytes written, 0 bytes skipped in 0.157s, speed 52428 B/s
✅ Flashing seems to have been successful!
Press any key to reboot...

pulling the cable to power it off...
Removing SD-Card
booting
Tow-Boot 2021.04 (Apr 05 2021 - 15:03:29 +0000)003-pre [variant: spi]

with bad CRC (indicating that the config got reset)

Thanks! At a glance this looks good, I'll have to run the build locally just to verify then it looks like it's going to be good to go. Expect to see this either in the next update, or the one following (depending if I do a "soft" release strictly to upgrade U-Boot or not).

Today, the microHDMI to HDMI adapter arrived and I got video output:

So that is confirmed to work now, too :)

Thank you again!


Error: Failed to download metadata for repo 'unitedrpms'

Fedora 33 Error:
nitedrpms 33 - x86_64                                                                                12 kB/s |  59 kB     00:04
Error: Failed to download metadata for repo 'unitedrpms': repomd.xml GPG signature verification error: gpgme_op_verify() error: data doesn't exist
ignoring repository: unitedrpms
I have followed the instructions from here: https://unitedrpms.github.io/#repository
to install uniterpms repository

@masp42 Thanks for the report.. the maintenance has been completed. please make:
su
dnf clean all && dnf -y update

I just installed unitedrpms-35-17.fc35.noarch from https://unitedrpms.github.io/#repository
The entire repo appears to be down. The address mentioned in the repo, https://osdn.net/projects/ is reporting database errors.
It is saying error 500 and error 404 on the links in the unitedrpms.repo. Cheers.
#dnf -y update
unitedrpms rawhide - x86_64                                          14  B/s |  31  B     00:02
Errors during downloading metadata for repository 'unitedrpms':
  - Status code: 404 for https://osdn.net/projects/unitedrpms/storage/rawhide/x86_64/repodata/repomd.xml (IP: <IP_ADDRESS>)
  - Status code: 404 for https://sourceforge.net/projects/unitedrpms/files/rawhide/x86_64/repodata/repomd.xml (IP: <IP_ADDRESS>)
  - Status code: 500 for https://osdn.net/projects/unitedrpms/storage/rawhide/x86_64/repodata/repomd.xml (IP: <IP_ADDRESS>)
Error: Failed to download metadata for repo 'unitedrpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Ignoring repositories: unitedrpms
Last metadata expiration check: 1:30:21 ago on Sat 27 Mar 2021 02:02:35 PM AKDT.
Dependencies resolved.
Nothing to do.
Complete!

@themanyone Don't worry; the update is available now (release 18). Rawhide isn't named 35 yet...


News page/channel are completely blank

Title.

I'm also experiencing that on the 2016 layout as well.


Improving Cartesian Distortion in D3.js ( fisheye plugin )

In this amazing visualization from the NY-Times team, you can see the Cartesian Disortion in action.
In one case, i think that this visualization can be improved.
As you can see in this picture, the last image will be bigger if the cursor is on the left site of the picture, than it would be if it is centered. (crosshair shows the cursor position)

As a user, you would expect to see the biggest image when you are exactly over it. You have this effect in the middle of this visualization.
Edit:
Fiddle: http://jsfiddle.net/t0pbqe3j/3/

With a simple hack, i can stop the redraw and modify evented mouse position.
http://jsfiddle.net/t0pbqe3j/2/

Just for the idea for what i am talking about.

Can this also be trivially converted from D3 v2 to D3 v4?


Fixed Redirection bug of Menu and About Section

Fixes #151
Now on reloading the website the user will not be redirected to home page every time, as he/she will stay on that section only where he/she was previously because now we are storing his/her current section in the session storage.
Created PR with UI-Improvement Branch.
Thank You

Hey @om-chauhan1 Thanks for contributing !! If you liked contributing here , Leave a star to the Repo for us !!


Fix missin comma after ogm in video.py

Signed-off-by: miigotu<EMAIL_ADDRESS>

https://github.com/Diaoul/subliminal/pull/695

Coverage remained the same at 91.821% when pulling 758afadbc8f3133973e7f61264b82e3b9fff3d89 on SickRage:missing_comma into 7eb7a53fe6bcaf3e01a6b44c8366faf7c96f7f1b on Diaoul:develop.


Introduce a flag for the dropVersionFromStoredVersions

Description
There should be an option to configure a value for the dropVersionFromStoredVersions instead of hardcoding it.
The flag and value names should be changed to dropStoredVersion.

Reasons
We want to have a configurable approach for the version migration operation.
Acceptance Criteria

[x] dropVersionFromStoredVersions renamed to dropStoredVersion
[x] Create a flag for the dropStoredVersion value
[x] If the flag is empty the function should not be called
[ ] Provide a flag in the KCP charts

Feature Testing
No response
Testing approach
No response
Attachments
No response

AC Provide a flag in the KCP charts missing


Next steps to conclude the process - Airtable form is reporting some kind of error

Dear @arelia and @ericdrosado, I hope this message finds you well.
I was trying to understand why the campus advisor was not cmopleted and i found two open issues that I thought that was completed. I finished the issues, but when I'm trying to complete the form (https://airtable.com/shr6ZHMoHOb9kBupY), it's not available, just the "Submit" button. When I push it, it shows the following message:

Looks like this form is empty. Try filling it out before submitting.

Please, let me know what can I do to complete the process.
Best regards,
Rommel Carneiro

Hi @rommelcarneiro!
Great to hear about your interest in becoming a Campus Advisor! The application form is currently closed as the current GitHub Campus Advisors Program is not accepting any new applications at this time. However, the GitHub Campus Advisors Program has quite a few new and engaging revamps and kickoffs coming in the near future, so stay tuned to https://twitter.com/GitHubEducation for the latest news and when applications open up again!
Cheers,
@arelia

Thank you for the informations, @arelia.


SIKEp434 --parallel Errors

macOS: 13.0 Public Beta (22A5311f)
Hardware: M1 Max 32GB
SageMath: 9.6 (From 3-manifolds/Sage_macOS)
Repo Version: commit 1e6341296f85004caf80ac2a43cb011c2fd2cfa2
When I run
sage SIKEp434.sage --parallel

The attack completes within seconds but there's lots of python errors (See screenshot and attached text file with full terminal output). There's no way the attack can run this fast I assume?

sage SIKEp434.sage --parallel.txt

Hmmm parallel compute stuff is dark waters. We've had other people get it to work but no one using the SageMath binary you have.
The key is printed out above though and the script isn't saying "something went wrong" so this is a weird bug indeed.
Could you check whether the recovered ternary digits match the prediction outputted at the beginning?

Could you check whether the recovered ternary digits match the prediction outputted at the beginning?

They do not match.
If all goes well then the following digits should be found:
[1, 0, 0, 0, 2, 2, 1, 2, 0, 0, 2, 1, 1, 2, 0, 1, 2, 0, 1, 2, 1, 0, 2, 0, 1, 1, 1, 2, 2, 0, 0, 1, 1, 1, 0, 0, 2, 0, 1, 1, 0, 0, 1, 2, 1, 1, 2, 1, 2, 0, 2, 0, 0, 2, 0, 2, 1, 0, 2, 1, 2, 2, 1, 2, 0, 2, 0, 0, 1, 0, 0, 2, 0, 2, 0, 2, 1, 0, 0, 2, 0, 2, 0, 2, 0, 1, 2, 0, 0, 2, 1, 1, 1, 0, 2, 1, 1, 0, 1, 0, 2, 2, 2, 0, 2, 0, 0, 1, 0, 2, 1, 2, 2, 1, 2, 2, 2, 1, 2, 2, 1, 2, 1, 2, 0, 2, 0, 0, 0, 0, 1, 0, 1, 2, 0, 1]

Bob's secret key revealed as:<PHONE_NUMBER>1550288692688972058651882971893359443354718101688692185
In ternary, this is:

[0, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 2, 1]

haha ok, so it's totally broken then. With all those python errors I doubt I can bug fix without more context. Maybe just paste all the output here and I can attempt to guess what the problem is

Full terminal output linked in the OP, sage SIKEp434.sage --parallel.txt
I updated the OP to add my hardware, M1 Max 32GB.
Don't feel obligated to work on this, I just thought yous would want to know. I'm not expecting a fix etc.
If you need any other info from me or want me to run test code etc let me know. Happy to help.

Same thing on b92c72639d2882892ea44284740e0e09edc01da8.
$ sage SIKEp434.sage --parallel
Running the attack against SIKEp434 parameters, which has a prime: 2^216*3^137 - 1
Generating public data for the attack...
If all goes well then the following digits should be found:
[2, 0, 1, 2, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 2, 1, 2, 0, 2, 2, 0, 0, 0, 1, 0, 2, 0, 0, 2, 0, 2, 1, 2, 2, 0, 0, 2, 1, 0, 2, 0, 2, 2, 2, 1, 2, 2, 0, 0, 1, 0, 1, 1, 0, 2, 1, 1, 2, 1, 1, 1, 0, 0, 1, 2, 2, 0, 1, 0, 0, 1, 1, 2, 0, 1, 2, 1, 2, 0, 2, 1, 1, 2, 2, 1, 2, 2, 1, 2, 1, 0, 1, 0, 2, 2, 0, 1, 1, 2, 1, 2, 1, 0, 0, 2, 0, 1, 1, 2, 2, 1, 1, 2, 1, 0, 1, 1, 1, 1, 2, 0, 0, 2, 0, 2, 0, 2, 1, 1, 0, 2, 2, 2, 0, 1]
Performing the attack in parallel using 10 cores

Bob's secret key revealed as:<PHONE_NUMBER>4326555681266580048438165045149953392498563601170185131
In ternary, this is:
[1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 2, 2]

sage SIKEp434.sage --parallel.txt - b92c726.txt

If I set num_cores = 1 and then run sage SIKEp434.sage --parallel it still solves quickly but incorrectly.
$ sage SIKEp434.sage --parallel                                                                                (main)
Running the attack against SIKEp434 parameters, which has a prime: 2^216*3^137 - 1
Generating public data for the attack...
If all goes well then the following digits should be found: [2, 0, 0, 2, 0, 1, 1, 0, 2, 2, 2, 1, 1, 1, 1, 1, 0, 2, 0, 0, 1, 2, 2, 1, 2, 1, 2, 0, 2, 2, 1, 1, 2, 0, 0, 2, 0, 2, 1, 0, 2, 1, 2, 2, 0, 0, 0, 2, 1, 0, 1, 1, 1, 1, 2, 1, 1, 1, 0, 2, 2, 1, 1, 2, 2, 0, 1, 0, 2, 1, 2, 0, 2, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 0, 0, 1, 1, 0, 2, 0, 0, 2, 0, 2, 1, 0, 0, 1, 1, 2, 1, 1, 1, 1, 0, 2, 2, 2, 0, 2, 0, 0, 2, 1, 2, 2, 1, 2, 1, 2, 0, 2, 2, 2, 1, 2, 2, 2, 1, 2, 1, 0, 0, 2, 2]
Performing the attack in parallel using 1 cores

Bob's secret key revealed as:<PHONE_NUMBER>171427132038716315969726107279416250769088168531684569
In ternary, this is: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]
Altogether this took 2.565402030944824 seconds.

Happy to help keep testing but does this matter now we have 91d7e43c0626dec1dabf6dd1367541070e3f233f?

Your bug should still remain I think?

I now get the following.
$ sage SIKEp434.sage --parallel
Running the attack against SIKEp434 parameters, which has a prime: 2^216*3^137 - 1
Generating public data for the attack...
If all goes well then the following digits should be found: [1, 1, 2, 2, 0, 1, 1, 1, 2, 0, 2, 2, 0, 0, 0, 2, 1, 0, 2, 1, 0, 2, 0, 0, 2, 2, 2, 1, 2, 0, 2, 1, 0, 2, 0, 0, 0, 1, 1, 2, 0, 1, 2, 2, 0, 1, 2, 1, 1, 0, 1, 0, 1, 2, 0, 2, 0, 2, 0, 2, 1, 0, 1, 0, 1, 2, 2, 0, 2, 0, 0, 2, 0, 1, 0, 1, 2, 0, 0, 0, 0, 0, 0, 2, 0, 1, 2, 1, 0, 1, 2, 0, 2, 2, 1, 2, 2, 1, 1, 1, 1, 1, 0, 0, 0, 2, 1, 0, 0, 0, 2, 1, 2, 1, 1, 0, 1, 1, 0, 2, 1, 0, 2, 2, 2, 0, 2, 2, 1, 0, 1, 2, 0, 2, 1, 0, 2]
Performing the attack in parallel using 10 cores
Determination of first 2 ternary digits. We are working with 2^216-torsion.
------------------------------------------------------------------------
Glue-and-split! These are most likely the secret digits.
Traceback (most recent call last):
  File "/Users/mikey/Documents/Projects/Castryck-Decru-SageMath/SIKEp434.sage.py", line 62, in <module>
    recovered_key = RunAttack(num_cores)
  File "/Users/mikey/Documents/Projects/Castryck-Decru-SageMath/SIKEp434.sage.py", line 53, in RunAttack
    return CastryckDecruAttack(E_start, P2, Q2, EB, PB, QB, two_i, num_cores=num_cores)
  File "<string>", line 206, in CastryckDecruAttack
TypeError: can't multiply sequence by non-int of type 'EllipticCurvePoint_finite_field'

I'm on commit bf9fe8a86de7295524f134095d62f26f498f0049.

I'm so confused by your errors... My only thought is it is how you are installing Sage, and that doing something like brew install sage will get you something which links up more nicely on your machine.

sage SIKEp434.sage --parallel works for me on Mac M1 (12.2) and sage 9.6. Its most likely with your sage.

I think im going to close this, feel like something odd is happening with the 3-manifolds install, which we cant fix our side.


Streamline unit tests

We have added units tests with the migration to object-oriented code, but they have become rather cumbersome and slow running.  We should evaluate each of these tests and see how we can make them faster.

Closed by #81


phpbb 3.2

Any update?

Hi @Wardormeur,
could you take a look, please ?

Hey,
I stopped working on this since I stopped working for the community who wanted it. Is anything broken on 3.2 ?
A couple of feedback though : i don't think that's the proper solution. First because it's a 2 part plugin without a proper protocol inbetween : they require libs from one another, creating a circular dep.
A workaround to this would be to use wp_cli from phpbb hooks : it's way cleaner and more maitained than my "injection".
Another workaround would be to forget the 'all time up to date' principle and use 2-legs oauth2), either as an external provider (LDAP-like, see cloudfoundry as an example) or by making phpbb the oauth provider.
Those plugins were kinda PoC, which seemed to work on 3.1 and could probably work on 3.2. For a production usage, it could be usable if it was optimized (ie loading time, batch updates/creation) but like i said, it's not a clean solution.


Dubious language

Issue in ./help/administrating-target/c-user-management/property-channel/property-channel.md
In the Caveats section (1st sub-bullet of the 6th bullet) states:
Activities, audiences, and code offers created within Target Standard/Premium after the customer is enabled for permissions. (Note: customers must be entitled to Target Premium.)
That's not a complete sentence. I'm not certain what is being conveyed here.

Will publish later today. Thanks.


New quickstart UI and menu

This PR changes the Quickstart menu and adds a new Quickstart UI page.
The menu shows the two options to install and use Elemental:

First option is through Rancher Manager with the Elemental plugin
Second option is with the CLI only

To avoid duplicates of common parts between the two UIs, the partial feature from Docusaurus is used.
This allows to write one portion of documentation into one page only, and import the page into both Quickstart pages.
Finally, the Overview has also been updated with the description of what's the Elemental stack. This is best fit there, instead of the Quickstart.

Assuming that this only touches the 'Next' version, I'm in favor of merging it asap and fix stuff iteratively.


New sendgrid nodejs module throws error in AWS Lambda, Sendgrid module v^5.2.3 does not.

Issue Summary
Using the new sendgrid module (as opposed to sendgrid module ^5.2.3) throws an error in AWS. The module itself throws an error, coming from src/mail.js (FYI - no further text given, Cloudwatch just logs out an error occurred originating from this file).
Steps to Reproduce

Make a directory, install @sendgrid/mail
create a file called index.js
add this code (change the dummy emails of course):

'use strict';

console.log('Loading function');
const AWS = require('aws-sdk');
const sgMail = require('@sendgrid/mail');
sgMail.setApiKey('XXX');

exports.handler = (event, context, callback) => {
  const msg = {
    to<EMAIL_ADDRESS><EMAIL_ADDRESS>    from<EMAIL_ADDRESS>    subject: 'Hello world',
    text: 'Hello plain world!',
    html: '
Hello HTML world!
',
  };
  sgMail.send(msg);
  callback(null, 'email sent from aws lambda');
};

compress the index.js file, packag.json files, and the node modules folder
upload the ZIP to AWS Lambda (my lambda script runtime is Node 4.3)
test it and check the cloudwatch logs

Was able to consistently reproduce this with @sendgrid/mail. Sendgrid module  ^5.2.3 works perfectly without error, and that is what I am using for now.
Technical details:

sendgrid-nodejs Version: master (latest commit: [commit number])
AWS Lambda Runtime: Node.js Version: 4.3

Hello @tetreault,
Thanks for taking the time to report this!
Have you tried manually logging the errors?
With Best Regards,
Elmer

thanks for the reply @thinkingserious - when i have the time this weekend i'll try to add that in and report back! the error appears to get thrown before actually doing anything with sendgrid, as if the error is thrown around require/setApiKey.


syscall: use Windows FILE_FLAG_BACKUP_SEMANTICS in remaining places (Open)

Hi,
FILE_FLAG_BACKUP_SEMANTICS is an optional flag to the Windows CreateFile API. It allows accessing files when privilege would be denied by normal Windows ACLs, except for that the user account has the SE_BACKUP_NAME privilege. If the calling user account does not have this privilege, adding this flag has no impact to behaviour nor performance.
Go already uses FILE_FLAG_BACKUP_SEMANTICS in some CreateFile calls (e.g. Readlink, Utimes, UtimesNano, from issues #8090 and #10804) but not in other cases (notably Open). So it's inconsistent.
I would like to request that FILE_FLAG_BACKUP_SEMANTICS is added to the Open call in src/syscall/syscall_windows.go.
As well as fixing the inconsistency, this would allow Go users to open files on disk, in those cases where their permission to do so comes via SE_BACKUP_NAME instead of windows ACLs.
Thanks
mappu
More information:

https://github.com/giuliano108/SeBackupPrivilege
https://msdn.microsoft.com/en-us/library/windows/desktop/bb530716.aspx

What version of Go are you using (go version)?
go version go1.9.2 windows/amd64
Does this issue reproduce with the latest release?
Yes

I made some experiments with patching syscall to add this feature, but actually it breaks a lot of things.

Unconditionally setting FILE_FLAG_BACKUP_SEMANTICS shouldn't be a problem after CL 405275.

Maybe you could provide some reference explaining why it is safe to use FILE_FLAG_BACKUP_SEMANTICS all the time? Without such reference I cannot support your proposal.

FILE_FLAG_BACKUP_SEMANTICS doesn't really skip any ACL check unless the SE_BACKUP_NAME privilege is enabled, which is not by default. From the  CreateFileW docs: Appropriate security checks still apply when this flag is used without SE_BACKUP_NAME and SE_RESTORE_NAME privileges.
I'm interested in setting FILE_FLAG_BACKUP_SEMANTICS unconditionally because I plan to use the Root API (see #67002) in services that perform backup tasks. If syscall.Open doesn't unconditionally set FILE_FLAG_BACKUP_SEMANTICS, then  the case for Root unconditionally setting FILE_OPEN_FOR_BACKUP_INTENT wouldn't hold.

There is another alternative to always setting FILE_FLAG_BACKUP_SEMANTICS: map it to Unix's O_NOATIME flag, which is intended for use by indexing or backup programs (as per open docs).
We could then export this constat in x/sys/windows as O_BACKUP_INTENT so the meaning is clearer.


Random (?) crash on Linux

Godot version
v4.1.3.stable.official [f06b6836a]
System information
Godot v4.1.3.stable - EndeavourOS #1 SMP PREEMPT_DYNAMIC Sun, 15 Oct 2023 18:38:43 +0000 - X11 - Vulkan (Forward+) - integrated Intel(R) HD Graphics 520 (SKL GT2) () - Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz (4 Threads)
Issue description
Godot crashed randomly (?). That's it. I've been experiencing it several times, making some of my unsaved work lost :( ...
I only found this output on the terminal:
[user@EndeavourOS] godot_4-1-3
$ ./Godot_v4.1.3-stable_linux.x86_64
Godot Engine v4.1.3.stable.official.f06b6836a - https://godotengine.org
OpenGL API 4.6 (Core Profile) Mesa 23.2.1-arch1.2 - Compatibility - Using Device: Intel - Mesa Intel(R) HD Graphics 520 (SKL GT2)

Editing project: /home/user/mnt/godot/project
Godot Engine v4.1.3.stable.official.f06b6836a - https://godotengine.org
Vulkan API 1.3.255 - Forward+ - Using Vulkan Device #0: Intel - Intel(R) HD Graphics 520 (SKL GT2)
[user@EndeavourOS] godot_4-1-3
$
WARNING: Blend file import is enabled in the project settings, but no Blender path is configured in the editor settings. Blend files will not be imported.
     at: _editor_init (modules/gltf/register_types.cpp:73)
ERROR: Condition "plugins_list.has(p_plugin)" is true.
   at: add_plugin (editor/editor_node.cpp:8224)
[xcb] Unknown request in queue while dequeuing
[xcb] You called XInitThreads, this is not your fault
[xcb] Aborting, sorry about that.
Godot_v4.1.3-stable_linux.x86_64: xcb_io.c:175: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.

Steps to reproduce
Unknown
Minimal reproduction project
None

See #75308 for more details.

Duplicate of #75308


Auto-generate next version number when publishing NuGet packages (OSOE-400)

In the publish-nuget action, optionally auto-generate the next version number for the following scenarios:

Next major version (i.e. x.0.0).
Next minor version (i.e. 1.x.0).
Next patch version (i.e. 1.0.x).
Next alpha version corresponding to an issue key.

Manually added and USE_GITHUB_REF_NAME-generated version numbers should remain supported.
Perhaps, this could be achieved still with tags: You push the vnext-major tag, the action removes that tag and adds one with the next major version generated. Or, we could use manually triggered workflows. Detecting an issue branch vs dev could also trigger a behavior to publish an alpha version suffixed with the issue key in the branch.
Jira issue

I'd recommend suffixing the marker tag with (at least) the issue code to avoid potential collisions, e.g., vnext-major-osoe-400.

Related: https://github.com/Lombiq/GitHub-Actions/issues/220
Ideally, the version number would be fully auto-generated, but I don't think it's possible to automatically decide between a minor and patch version (since that depends on whether the changes contain new features or only bugfixes), only whether it's a major version since it includes breaking changes.

The best I can think of now is that an issue/PR can be labelled (to manually indicate what kind of changes are in the PR), so the workflow could use that information, but that information should also propagate somehow to default branch builds.

Yeah, that's the original idea, I just added a note with some further thoughts.

This is especially interesting if you're doing a lot of releases at once, like us releasing all of our Orchard Core-related projects during an OC upgrade. So, how about doing something for all projects at once too?
I'm thinking about something like having a release manifest file in the OSOCE root, that defines the following:

Which projects to release.
What should be the version bump for all of them.

Then, an automation would go through all the projects, starting at the bottom of the dependency graph, and take care of all releases:

Release the current project.
Update all of its references in other projects.
Release the next project.
Update references...

Basically, automating https://lombiq.atlassian.net/wiki/spaces/DEV/pages/786857987/Managing+releases+of+open-source+projects#An-example-of-releasing-OSOCE-projects
This might need to be something like a local script though, that utilizes the feature under this issue.

FYI https://github.com/GitTools/GitVersion

I have a hard time understanding what that tool does. It seems it manages the .NET version metadata, and I think it somehow can also determine the next version to use, but even after combing through the docs, I don't see how it does it and what happens once it determines a version number.

Do these scripts do/will do something on steps 1-2 and 4-5?

It does in a way,
It actually does step 2 first, when given the -commitChanges $True flag. But you will have to manually do step 1. which is to actually wait before pushing the changes. (and have a chance to review them)
Once done you repeat the same process for UITT.
So the proces would look like this:

Run .\VNext.ps1 -path .\src\Libraries\Lombiq.HelpfulLibraries\ -type "major" -commitChanges $true
(This created the version tag + pushes it to Github so running this script will start the NuGet build action)
(It will also update all project references to the new version because of the  -commitChanges $true flag)
Review changes made by script in terms of project references an versions. And wait for NuGet build to finish.
Once NuGet finishes, and changes have been manually commited do the same thing for UITT.

UITT

Run  .\VNext.ps1 -path .\test\Lombiq.UITestingToolbox\ -type "major" -commitChanges $true`
Review changes made by script in terms of project references an versions. And wait for NuGet build to finish.
Once NuGet finishes, and changes have been manually commited do the same thing for Helpful Extensions.

Helpful Extension

Run  .\VNext.ps1 -path .\src\Modules\Lombiq.HelpfulExtensions\ -type "major" -commitChanges $true`
Review changes made by script in terms of project references an versions. And wait for NuGet build to finish.
Once NuGet finishes, and changes have been manually commited do the same thing for Helpful Extensions.

Continue if needed.

I see, great! Though with -commitChanges $true I'd expect it to git commit the changes to the submodules, or why did you name it as such (as opposed to e.g. -UpdateReferences)? (BTW switches, since they correspond to parameters, are better CamelCased in PS).
@Psichorex @sarahelsaig you did a lot of recursive releases lately, please check this and see how much it would've helped your workflow.

I see, great! Though with -commitChanges $true I'd expect it to git commit the changes to the submodules, or why did you name it as such (as opposed to e.g. -UpdateReferences)? (BTW switches, since they correspond to parameters, are better CamelCased in PS).

Agreed, initially I was planning to also make it commit the changes but I thought having the option to review it and just make a commit yourself makes more sense and is more flexible. Will change the naming

OK!

I have made some changes to this, what makes most sense in terms of where to write the documentation for how to use these scripts. In a readme within the solution or on confluence or something else entirely?

Most of it in a Readme, but link from and change the wiki page accordingly too.

Added a Releasing.md file that outlines what/how to use the scripts.
Added a link to it in the wiki
Added an extra Interactive flag that defaults to true, this prevents the script from automatically pushing a git tag to remote but rather asks the user first.

This was done for OSOCE in https://github.com/Lombiq/Open-Source-Orchard-Core-Extensions/pull/787.


Remove build-receipt.properties from Wrapper jar

Prior to this commit, the gradle-wrapper.jar was created when
executing the wrapper task by copying the gradle-wrapper.jar
classpath resource and adding a Wrapper-specific
build-receipt.properties to it. The properties file only contained a
versionNumber property that was solely used to build the User-Agent
for downloading the distribution.
Now, the User-Agent no longer includes the version number. Thus, the
Wrapper-specific build-receipt.properties file is no longer needed.
This change will make it easier to publish the Wrapper jar or, as a
first step, its checksum alongside the distributions.
Resolves #6632.

@eriwen Do we have any statistics that depend on this version number?

@eriwen The User-Agent header changed from gradlew/5.0 (...) to gradlew (...).

@eriwen PTAL


ros2_setup.bash

How can I generate the ros_setup.bash mentioned in the documentation and what components are needed?

it's part of ros-workspace package.

The answer seems to resolve the question.


Add support for domain-level redirects

Summary
Add support for configurable domain-level redirects if a Hugo site moves
Background
I have moved some Hugo sites from GitHub to GitLab, and others from GitLab to GitHub. In those cases, there is not an easy solution to redirect Git{x} Pages sub-domain from one site to another. In both cases, I am running a Hugo site. One gets regular updates and the other has a banner saying it is out-of-date and does not have current information. I would like to redirect the same site on a previous domain to another site, also powered by Hugo.
There does not seem to be an alternative option to this. I have control of publishing HTML content, but I have no control over the domain provided to me. Some kind of HTML redirect seems like a possible workaround for this.
Details
Best case scenario, this could be defined in page/post front-matter, or the site .toml config. In my case, I want to redirect an entire site (myproject.git1.io/* -> myproject.git2.io/$1). I'm not sure what kind of implementation would make sense from a Hugo maintainer point-of-view.
Outcome
Better support for redirecting one Hugo site to another when DNS is not controlled

Hugo gives you everything you need already.  Put the HTML meta redirect tags in your old site templates.  What do you want more than that?

Hugo gives you everything you need already.  Put the HTML meta redirect tags in your old site templates.  What do you want more than that?

Hi @moorereason, thanks for clarifying. I was able to do this with a template in layouts/_default/baseof.html. I was hoping I could get a clever way to pull in the full URL (i.e. example.com/p1 goes to new.com/p1, example.com/p2 goes to new.com/p2, etc. However, it isn't critically important.
Also for anyone who comes along later, the below tool was super helpful to handle clean redirects across multiple browsers, and to help out with S.E.O. with canonical redirect.
http://insider.zone/tools/client-side-url-redirect-generator/

Hi @moorereason, thanks for clarifying. I was able to do this with a template in layouts/_default/baseof.html. I was hoping I could get a clever way to pull in the full URL (i.e. example.com/p1 goes to new.com/p1, example.com/p2 goes to new.com/p2, etc. However, it isn't critically important.
Also for anyone who comes along later, the below tool was super helpful to handle clean redirects across multiple browsers, and to help out with S.E.O. with canonical redirect.
http://insider.zone/tools/client-side-url-redirect-generator/


Feature/idva5 1339 adapt check your answer page id docs

Short description outlining key changes/additions
Updating check your answers page to dynamically display details of the Identity documents selected in Group A and B.
This involves the addition of 1 method within the formatService.ts to store and format an array of Group B identity documents.
These methods are implemented within the checkYourAnswers.ts controller to display the relevant Identity Document details on the check-your-answers.njk front end view
Update:
The DocumentDetails.ts model has been updated to include an extra parameter for formattedExpiryDate, this is used to display the expiry date previously entered on the ID Document Details page in a human readable format when they reach the Check your answers page.
Group A:
When a user selects Identity Documents from Group A (either through Option 1 or Option 2 route) and inputs a valid  Document Number / Expiry Date / Country of Issue then this will display these details within an additional govukSummaryList towards the bottom of the front end UI on the check-your-answers.njk front end view.
Each Group A document displayed on the Check Your Answers page includes a 'Change' link, allowing the user to navigate back to the Identity Details input page and update these accordingly. Please note, this will navigate the user directly to the document details they wish update upon clicking the relevant 'Change' link (i.e. If the user selects the 'Change' link beside the Passport 'Country of Issue' field).
Group B:
If the user has previously selected Option 2 and selected Identity documents from 'Group B' then a new row is generated within the check-your-answers.njk front end view (between How the identity documents were checked row and Identity verification declaration row ). This row displays the names of the documents they have selected from Group B.
If no Group B documents were selected, or the user has deselected Group B documents (after clicking the 'Change' link on the relevant row within Check your answers page) then this row is no longer visible to the user)
JIRA Ticket Number
IDVA5-1339
Type of change

[ ] Bug fix
[x] New feature
[ ] Breaking change
[ ] Infrastructure change

Pull request checklist

[x] I have added unit tests for new code that I have added
[x] I have added/updated functional tests where appropriate
[x] The code follows our coding standards

An exhaustive list of peer review checks can be read here

CI: No security warnings found

CI: No security warnings found

CI: No security warnings found

CI: No security warnings found

CI: No security warnings found


Upgrade pygments to 2.7.4

Addresses CVE-2021-27291 and CVE-2021-20270

@guenp and @vxfield  its usually a bad idea to pin to an exact version (with ==) in setup.py/setup.cfg. It makes it much harder to deploy the package together with other packages having a requirement on the same package. I would suggest that you do pygments>=2.7.4
In QCoDeS we are using dependabot to keep the requirements that we perform most of the actual ci testing against (in requirements.txt) up to date and automatically open new pull requests when a new package is released. Meanwhile the requirements in setup.py/setup.cfg are normally the minimum supported versions of the required packages. In qcodes we are using requirements-builder to create an additional ci job that test against these. By being flexible on your enforced requirements you make it easier to deploy your package together with other packages.

Thanks @jenshnielsen, those are great ideas. I've created a new issue for setting up dependabot: https://github.com/microsoft/qdk-python/issues/41. Jens' suggestion should fix the build error as well.

Now the build issue is unrelated to this PR but an issue with building the qsharp-runtime on Mac...

Restarted pipeline after https://github.com/microsoft/qsharp-runtime/pull/623 was merged


RE-2353  Fix releases notes generation for major releases

Issue: RE-2353

Thank you for submitting a pull request to this project!
Once all check jobs have passed and the pull request has received a
sufficient number of reviews, the repository's gate jobs can be triggered by
adding a comment of :shipit: to this pull request.
When the gate jobs have completed successfully, this pull request will get
merged automatically.

recheck_bionic_no_artifacts_swift_deploy (jenkins slave connectivity issue)

recheck_bionic_no_artifacts_swift_deploy (jenkins slave connectivity issue)


Anjagraw/typing indicator

Fixes #

Changelog Entry

Description

Design

Specific Changes

-

[x] I have added tests and executed them locally
[ ] I have updated CHANGELOG.md
[x] I have updated documentation

Review Checklist

This section is for contributors to review your work.

[x] Accessibility reviewed (tab order, content readability, alt text, color contrast)
[x] Browser and platform compatibilities reviewed
[x] CSS styles reviewed (minimal rules, no z-index)
[x] Documents reviewed (docs, samples, live demo)
[x] Internationalization reviewed (strings, unit formatting)
[x] package.json and package-lock.json reviewed
[x] Security reviewed (no data URIs, check for nonce leak)
[x] Tests reviewed (coverage, legitimacy)

Direct Line activity schema does not contain the tag field, https://github.com/microsoft/botframework-sdk/blob/master/specs/botframework-activity/botframework-activity.md#from. So, we can't retrieve tag value from the from property.
You can consider retrieving/saving channelData.
Please fill in the PR form. You can look for other PRs to get an idea of details we want to have.

Direct Line activity schema does not contain from.tag field, https://github.com/microsoft/botframework-sdk/blob/master/specs/botframework-activity/botframework-activity.md#from. So, we can't retrieve tag value from the from property. -> From object comes from botframework-webchat-adapter as per my understanding and then we map in webchat. We have a PR to update tag for from object in adapter side as well. I have tested this and it's working fine. Can updated the read me file: https://github.com/microsoft/botframework-webchat-chat-adapter/pull/49
We can consider retrieving/saving channelData to the structure returned by useActiveTyping.
Please fill in the PR form. You can look for other PRs to get an idea of details we want to have. This is critical for us. If a future regression happens (it do!), the details in the PR form will help us to understand how this feature should work and why we added it in first place.


Bug check 0x139 parameter 1 0x3b

Would it be possible to update the list of parameter 1 for bug check 0x139 to include 0x3b (present on the fast-ring Windows build)?

@coaledwarrior - I checked with the dev team and these additional codes are for Windows internal use, so I will not be able to document them. Thanks for passing on the parameter 1 value that you encountered  and thanks for your interest in improving the stop code documentation.


CSL plugin seems to ignore sort order

Thanks for the library! Solved (almost) the problem of selecting, sorting and formatting a bibliography,
The problem I have is that the formatted output is not sorted but retains the order in the bib file. But, if I select a subset of entries, they are magically correctly ordered (see comment in the code).
The code for the sorting by year reverse function (note traces of typing for Typescript):
const sortingByYear = (first: CitationData, second: CitationData): number => {
	const dateF = first.issued["date-parts"][0];
	const dateS = second.issued["date-parts"][0];

	const deltaYears = Number.parseInt(dateS[0], 10) - Number.parseInt(dateF[0], 10);
	if(deltaYears !== 0) return deltaYears;
	const deltaMonths = Number.parseInt(dateS[1] ?? "1", 10) - Number.parseInt(dateF[1] ?? "1", 10);
	if(deltaMonths !== 0) return deltaMonths;
	return Number.parseInt(dateS[2] ?? "1", 10) - Number.parseInt(dateF[2] ?? "1", 10);
};

Here the code that creates the bibliography (my CSL file will be added later):
	const csl = (plugins as CitationPlugins).config.get("@csl");
	const cite = new Cite(bibFileBody) as CitationClass;

	cite.sort(sortingByYear);
	const sortedData = cite.data;

	const ids: string[] = [];
	for(const entry of sortedData) {
		console.error(entry.issued); // <-- this shows the entries correctly ordered
               // if(entry keyword !== "poster") continue; // <-- if I uncomment this line, the output is sorted
		ids.push(entry.id);
	}

	const citeproc = csl.engine(sortedData, "apa", "en-US", "html");
	citeproc.updateItems(ids);
	const formattedBibliography = citeproc.makeBibliography();

	for(const line of formattedBibliography[1]) {
		console.error(line); // <-- This show lines in original order (unless using a subset of ids)
	}

Thanks for your help!
mario

By default the CSL plugin uses the sorting defined in the style (here "apa"). Right now you're basically using the citeproc dependency directly in which case you can pass true as the second argument to updateItems to keep your sort order.

Oh, I forgot that these functions are from citeproc! Now it works correctly. Thanks!