[admin] (Audit) Adding steps to show how to search the audit log for script activity

This is a common question admins have, so we're collecting the steps in our own docs.

Docs Build status updates of commit ad107ef:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/images/audit-log-example.png
:white_check_mark:Succeeded
View

docs/overview/script-storage.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Added Genres and Updated minor Errors in Readme.md

Fixes Issue #427
Describe the changes you've made
Added all the available genres in the About section.
Corrected Movieholics spelling.
Removed colons ':' from a few places like Project Admin to make it even like the other titles.
Minor additions and grammatical changes.
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Checklist

[x] I have mentioned related issue number in PR description.
[x] I have added screenshots and related demo links of my changes..
[x] The title of my pull request is a short description of the requested changes.
[x] I have added my name in the contributors list at the end of README.md file.
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] Open Source Program names (DCP21)

@manasb15 fill this form https://docs.google.com/forms/d/e/1FAIpQLSc0ywMIZIViyARKXsK28NvA67H07v0GzWOi7YA1PhNIjNYsgg/viewform.


Link to channel of japanese

Now, doesn't link to channel of japanese.
If use channel ID, will be linked to channel.
Link text syntax are <#channel_id>.
https://api.slack.com/reference/surfaces/formatting#linking-channels

For example, if #おなかすいた channel is sampled, ruboty return following text:
> ruboty channel_gacha
チャンネル名: <#CMJS1M886>
説明: :onaka_heru_woman: おなかすいたときにどうぞ

Thanks!


Improve support for limited permissions

This PR contains commits from https://github.com/robusta-dev/krr/pull/219
We should cherrypick or wait untill #219 is merged

Closing, as cherry-picked and merged with main in #238


docs: add blink-ripgrep community plugin to the README

Hi! I forked the existing ripgrep plugin after some discussion with its author. So far I have added features like syntax highlighted match previews, unicode support, as well as unit + end to end testing.
https://github.com/mikavilpas/blink-ripgrep.nvim
I wanted to suggest adding it to the readme. Right now it may look a bit confusing in this PR, so let me know if you'd like to have some clarification or something.

Thanks! I'll convert it to a table at some point so we can clarify the differences


Failed to load system plugin [libgz-sim8-python-system-loader-system.so] : Could not find shared library.

Environment

Gazebo Harmonic Binary install on Ubuntu 24.04 using apt
Ubuntu 24.04 is running in docker environment
Running cart pole example as well as test_system example

Error message
[Err] [SystemLoader.cc:92] Failed to load system plugin [libgz-sim8-python-system-loader-system.so] : Could not find shared library.

Environment variables info
# echo $GZ_SIM_SYSTEM_PLUGIN_PATH
/home/docker/HOST/dave_ws/install/dave_ros_gz_plugins/lib/dave_ros_gz_plugins/:/home/docker/HOST/dave_ws/install/dave_gz_sensor_plugins/lib/dave_gz_sensor_plugins/:/home/docker/HOST/harmonic_demo/harmonic_demo/CartPole/plugins
# echo $PYTHONPATH
/home/docker/HOST/dave_ws/build/rocker/src:/home/docker/HOST/dave_ws/install/rocker/lib/python3.12/site-packages:/home/docker/HOST/dave_ws/install/dave_interfaces/lib/python3.12/site-packages:/home/docker/HOST/dave_ws/install/dave_gz_model_plugins/lib/python3.12/site-packages:/opt/ros/jazzy/lib/python3.12/site-packages

Other info

Tried using .so file directly by adding /usr/lib/aarch64-linux-gnu/gz-sim-8/plugins to GZ_SIM_SYSTEM_PLUGIN_PATH

Changed to load plugin with <plugin filename="libgz-sim-python-system-loader-system.so"         name="gz::sim::systems::PythonSystemLoader">
results in segmentation fault error

Stack trace (most recent call last):
 #31   Object "/lib/aarch64-linux-gnu/libruby-3.2.so.3.2", at 0xffffa2ef5237, in rb_vm_exec
 #30   Object "/lib/aarch64-linux-gnu/libruby-3.2.so.3.2", at 0xffffa2ef237f, in
 #29   Object "/lib/aarch64-linux-gnu/libruby-3.2.so.3.2", at 0xffffa2eedd03, in
 #28   Object "/lib/aarch64-linux-gnu/libruby-3.2.so.3.2", at 0xffffa2eeba87, in
 #27   Object "/lib/aarch64-linux-gnu/libruby-3.2.so.3.2", at 0xffffa2e2a6eb, in
 #26   Object "/lib/aarch64-linux-gnu/libruby-3.2.so.3.2", at 0xffffa2d52507, in rb_protect
 #25   Object "/lib/aarch64-linux-gnu/libruby-3.2.so.3.2", at 0xffffa2ef96f7, in rb_yield
 #24   Object "/lib/aarch64-linux-gnu/libruby-3.2.so.3.2", at 0xffffa2ef5237, in rb_vm_exec
 #23   Object "/lib/aarch64-linux-gnu/libruby-3.2.so.3.2", at 0xffffa2ef237f, in
 #22   Object "/lib/aarch64-linux-gnu/libruby-3.2.so.3.2", at 0xffffa2eedd03, in
 #21   Object "/lib/aarch64-linux-gnu/libruby-3.2.so.3.2", at 0xffffa2eeba87, in
 #20   Object "/usr/lib/aarch64-linux-gnu/ruby/3.2.0/fiddle.so", at 0xffff9dc86467, in
 #19   Object "/lib/aarch64-linux-gnu/libruby-3.2.so.3.2", at 0xffffa2eb3c77, in rb_nogvl
 #18   Object "/usr/lib/aarch64-linux-gnu/ruby/3.2.0/fiddle.so", at 0xffff9dc85ec3, in
 #17   Object "/lib/aarch64-linux-gnu/libffi.so.8", at 0xffff9dc3383b, in
 #16   Object "/lib/aarch64-linux-gnu/libffi.so.8", at 0xffff9dc36623, in
 #15   Object "/opt/ros/jazzy/opt/gz_sim_vendor/lib/libgz-sim8-gz.so.8.3.0", at 0xffff9d00facb, in runServer
 #14   Object "/opt/ros/jazzy/opt/gz_sim_vendor/lib/libgz-sim8.so.8", at 0xffff9ccef17b, in gz::sim::v8::Server::Server(gz::sim::v8::ServerConfig const&)
 #13   Object "/opt/ros/jazzy/opt/gz_sim_vendor/lib/libgz-sim8.so.8", at 0xffff9ccfc787, in
 #12   Object "/opt/ros/jazzy/opt/gz_sim_vendor/lib/libgz-sim8.so.8", at 0xffff9ccf9dff, in gz::sim::v8::SimulationRunner::SimulationRunner(sdf::v14::World const*, std::shared_ptr<gz::sim::v8::SystemLoader> const&, gz::sim::v8::ServerConfig const&)
 #11   Object "/opt/ros/jazzy/opt/gz_sim_vendor/lib/libgz-sim8.so.8", at 0xffff9ccb1c13, in gz::sim::v8::LevelManager::UpdateLevelsState()
 #10   Object "/opt/ros/jazzy/opt/gz_sim_vendor/lib/libgz-sim8.so.8", at 0xffff9ccaddf7, in gz::sim::v8::LevelManager::LoadActiveEntities(std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)
 #9    Object "/opt/ros/jazzy/opt/gz_sim_vendor/lib/libgz-sim8.so.8", at 0xffff9ccd9817, in gz::sim::v8::SdfEntityCreator::CreateEntities(sdf::v14::Model const*)
 #8    Object "/opt/ros/jazzy/opt/gz_sim_vendor/lib/libgz-sim8.so.8", at 0xffff9ccad967, in
 #7    Object "/opt/ros/jazzy/opt/gz_sim_vendor/lib/libgz-sim8.so.8", at 0xffff9cd01b9f, in gz::sim::v8::SimulationRunner::LoadPlugins(unsigned long, std::vector<sdf::v14::Plugin, std::allocator<sdf::v14::Plugin> > const&)
 #6    Object "/opt/ros/jazzy/opt/gz_sim_vendor/lib/libgz-sim8.so.8", at 0xffff9cd13abf, in gz::sim::v8::SystemManager::LoadPlugin(unsigned long, sdf::v14::Plugin const&)
 #5    Object "/opt/ros/jazzy/opt/gz_sim_vendor/lib/libgz-sim8.so.8", at 0xffff9cd135a3, in gz::sim::v8::SystemManager::AddSystemImpl(gz::sim::v8::SystemInternal, std::shared_ptr<sdf::v14::Element const>)
 #4    Object "/usr/lib/aarch64-linux-gnu/gz-sim-8/plugins/libgz-sim-python-system-loader-system.so", at 0xffff900675ef, in
 #3    Object "/lib/aarch64-linux-gnu/libpython3.12.so.1.0", at 0xffff72873e43, in PyImport_ImportModule
 #2    Object "/lib/aarch64-linux-gnu/libpython3.12.so.1.0", at 0xffff727e39ef, in
 #1    Object "/lib/aarch64-linux-gnu/libpython3.12.so.1.0", at 0xffff727c576f, in PyUnicode_New
 #0    Object "/lib/aarch64-linux-gnu/libpython3.12.so.1.0", at 0xffff7278de24, in
 Segmentation fault (Address not mapped to object [0x10])
 ^C/opt/ros/jazzy/opt/gz_sim_vendor/lib/ruby/gz/cmdsim8.rb:201:in `kill': No such process (Errno::ESRCH)
     from /opt/ros/jazzy/opt/gz_sim_vendor/lib/ruby/gz/cmdsim8.rb:201:in `killProcess'
     from /opt/ros/jazzy/opt/gz_sim_vendor/lib/ruby/gz/cmdsim8.rb:569:in `block in execute'
     from /opt/ros/jazzy/opt/gz_sim_vendor/lib/ruby/gz/cmdsim8.rb:217:in `sleep'
     from /opt/ros/jazzy/opt/gz_sim_vendor/lib/ruby/gz/cmdsim8.rb:217:in `killProcess'
     from /opt/ros/jazzy/opt/gz_sim_vendor/lib/ruby/gz/cmdsim8.rb:577:in `execute'
     from /opt/ros/jazzy/opt/gz_tools_vendor/bin/gz:309:in `<main>'

FYI, @mabelzhang
I will continue to wrestle with this but Please help! @azeey

Sorry to see you ran into this. Unfortunately python bindings aren't installed with the vendor packages yet (https://github.com/gazebo-tooling/gz_vendor/issues/2). If you don't need to use this with ROS, you can just install gz-harmonic and run your code without sourcing the ROS workspace. If you do need to use ROS, please follow https://gazebosim.org/docs/latest/ros2_gz_vendor_pkgs/#installing-non-default-gazebo-ros-2-pairings-with-vendor-packages

I'll go ahead and close this since it's tracked by the gz_vendor issue.

@azeey Confirmed that running without sourcing ROS didn't cause any problem. I am trying to us ROS2 Jazzy with Gazebo Harmonic (which is the default pair). Binary ROS2 install and Source install of Gazebo Harmonic didn't cause such error. Installing both Jazzy and Harmonic with binary installation method did. Would it be solved later?

I'm facing the exact same issue while trying to replicate the CartPole demo but using ROS2 Jazzy.
I'm struggling to understand what the problem is that leads to the segmentation fault being thrown, since I have all the ros-jazzy-gz-* packages installed. Is it not possible to use a custom plugin with Gazebo Harmonic and ROS2 Jazzy (which is the default pairing btw)?


Fix typo in sm.md

STORAGE_URI
Pull Request Template
Prerequisites

If there is no issue related to your pull request - open one and assign yourself to it. If you're proposing a solution to an already opened issue - simply assign yourself to it.

Motivation
Describe the problem you're trying to solve or the feature you're proposing in addition to a link to the related issue.
Approach
How does this change address the problem?
Pull Request status
Use checklists as a means to represent the status of your Pull Request.
For example:

[x] Initial implementation
[ ] Refactoring
[ ] Unit tests
[ ] Integration tests

Feel free to construct the checklist with whatever items seem most reasonable for your change. You could disassemble the Implementation part to even smaller separate checklist items if you're working on something big for example. But do make the effort to provide a checklist of some sort so that the core team as well as the community can have an idea about the progress of your Pull Request.
Third-party code
If you use third party code with your contribution such as, components, libraries, or snippets make sure to mention that.
Make sure that your contribution complies with our Contribution guidelines.
Work in Progress label
For as long as development of your Pull Request is still ongoing you MUST label it with a wip label as well as prefix the name of the PR with [WIP].
For example: [WIP] Service brokers API

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Pull Request Test Coverage Report for Build 1962

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 90.712%

Totals

Change from base Build 1960:
0.0%

Covered Lines:
4014

Relevant Lines:
4425

💛  - Coveralls

@ablease Thanks for the contribution - could you sign the CLA so we can merge this?

@NickyMateev Signed!

@ablease Great - thanks for the correction! Merging this :)


KML Layer from AWS S3 not added

Hi, thanks for this wonderful package. It is very helpful.
There is one little improvement which could be very useful.
<KmlLayer
         url='https://maps.s3.ap-southeast-2.amazonaws.com/kml_maps/new_kml.kml?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX_request&X-Amz-Date=20200812T052139Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=XXX'
        options={{ preserveViewport : true}}
    />

It is working fine if Object is public on AWS S3 but not working when generating Presigned URL for S3 objects.
If you could check it out then it would be great.
Thanks

@lysaan The repo of this project is unmaintained more than 3 years, and we had build new version https://www.npmjs.com/package/@react-google-maps/api
We had rewrite it to TypeScript, and updating it frequently: https://github.com/JustFly1984/react-google-maps-api/tree/master/packages/react-google-maps-api
You can enjoy autocomplete.
You can see our docs: https://react-google-maps-api-docs.netlify.app
Also a lot of examples: https://react-google-maps-api-gatsby-demo.netlify.app/ https://github.com/JustFly1984/react-google-maps-api/tree/master/packages/react-google-maps-api-gatsby-example/src/examples
The bundle size is much smaller: https://bundlephobia.com/result?p=@react-google-maps/api
Our Spectrum community: https://spectrum.chat/react-google-maps
Our Slack channel: https://join.slack.com/t/react-google-maps-api/shared_invite/enQtODc5ODU1NTY5MzQ4LTBiNTYzZmY1YmVjYzJhZThkMGU0YzUwZjJkNGJmYjk4YjQyYjZhMDk2YThlZGEzNDc0M2RhNjBmMWE4ZTJiMjQ
Enjoy!

Ok thanks,  but I was able to solve this issue.
You just need to replace '&' with '&'.
Thanks 😊


AndroidStudio.js:inAndroidStudioProject root does not exist:  Helpp !

Last Week, i still use cordova-plugin-firebase 1.0.5 and still work, now if i want to build app, i cant,
so i think i must re-add platform and then error appear
Error: uh oh
AndroidStudio.js:inAndroidStudioProject root does not exist:

Nothing we can do without more info.  Please reconfirm issue persists with v1.1.3 and provide full logs to be investigated.

Run into this problem this day. What I did was remove Android platform, uninstall the plugin from other platforms (e.g ios), add android again and install the latest version of the plugin.

If you try to remove the cordova-plugin-firebase to test a new version, the entire android platform is broken, all files except a few remains. Fix is to remove and add platform, but this can be a problem if you do changes in platform

@herrskytte Agreed that the upgrade can be an issue but this is a limitation of Cordova. Based on the Cordova documentation https://cordova.apache.org/docs/en/latest/platform_plugin_versioning_ref/ it's recommended that you do NOT make changes in the platform. I have found if you need to make changes (at least for my use cases so far) that I can create a custom plugin to make the change. This way I can just run cordova prepare and it will be ready to go with minimal checked in files.
The other advantage is that you automatically get platform updates automatically since you don't check in the platform files.
Not saying it's the only way to do it, but if your use cases allow leveraging the best practices, this won't be an issue

closing as fixed.  @wirendy please reopen if you still experience issues after following @Cirivas's comment


Updating coffeescript sample to use current invoke syntax

Upon further examination of older jake.js commits, it appears the coffeescript sample is using the old invoke syntax from the September 2010 timeframe. Changed the same to use the current jake.Task['something'].invoke syntax. This pull request addresses issue #76.

Sorry this languished for so long. Thanks!


[VMWare] Why auto set Processors to 8 core?

I created docker machine use VMWare Fusion.
I was specify set to
--driver vmwarefusion
--vmwarefusion-disk-size "1000000"
--vmwarefusion-memory-size "4098"

There is no set of cpu in it.
I check setting after launch vmware, 8 core is specified.
It gives all of the number of CPU, I think that is go too far.
/cc @ehazlett, @frapposelli
ps, My mac spec
  Model Name:	MacBook Pro
  Model Identifier:	MacBookPro11,3
  Processor Name:	Intel Core i7
  Processor Speed:	2.3 GHz
  Number of Processors:	1
  Total Number of Cores:	4
  L2 Cache (per Core):	256 KB
  L3 Cache:	6 MB
  Memory:	16 GB

Well, I'm not in trouble, I think I trouble to be a low spec.

This was a request from me to match the Vbox driver (default to use all available CPUs).  According to @frapposelli this should be fine on Fusion.
@frapposelli can you confirm this?

It should be fine, maybe we can throttle this down to the number of physical cores which would be more accurate.

Might some people do not want to assign all of the CPU.
So that, I think that is better that the user can specify be something more user friendly.
Vagrant(or etc...) can be specified.
But, If a recommendation of @frapposelli, I will follow it :)

@zchee I will submit a PR for that soon, just realized I didn't embed a config option for CPUs....

@frapposelli Thanks :)

close https://github.com/docker/machine/pull/1110


Hi i m trying to  use to open cv python to place a text input, save the input as a file name, looks like it is not possible, right? Is there other apps can do this mentioned for python? tks!

Expected behaviour
Write here how did you expect the library to function.
Actual behaviour
Write here what went wrong.
Steps to reproduce

example code
operating system
architecture (e.g. x86)
opencv-python version

Issue submission checklist

[ ] This is not a generic OpenCV usage question (looking for help for coding, other usage questions, homework etc.)

[ ] I have read the README of this repository and understand that this repository provides only an automated build toolchain for OpenCV Python packages (there is no actual OpenCV code here)

[ ] The issue is related to the build scripts in this repository, to the pre-built binaries or is a feature request (such as "please enable this additional dependency")

[ ] I'm using the latest version of opencv-python

Please use https://forum.opencv.org for such questions.


Add details on how to successfully build on Apple Silicon

Details on how to successfully build zlib-ng on Apple Silicon

I don't think the repository is the right place for this. I recommend adding it to the Wiki page.

We definitely should keep an eye on github providing CI bits so we can test this build though.

Cool, sounds like I can just move it to the wiki?

I've added it to the wiki, does that look good? I can close this then!

Great thank you!


Tooltip added to each skill

I've added the tooltip to each skill with a hover effect in the skills section of the portfolio
Without update:

After update:

Resolves #16

I removed the "cursor-none" class.

Looks Good 🎉

Yeah, thanks : )


Test suite of focusThrottleInterval fails very often

Issue report
Description
What kind of issues did you encounter with SWR?
swr test case for focusThrottleInterval fails very often
Run yarn test
yarn run v1.22.5
$ jest
PASS test/use-swr-local-mutation.test.tsx
PASS test/use-swr-infinite.test.tsx
PASS test/use-swr-refresh.test.tsx (6.795s)
PASS test/use-swr-integration.test.tsx
PASS test/use-swr-error.test.tsx
PASS test/use-swr-config-callbacks.test.tsx
PASS test/use-swr-suspense.test.tsx
PASS test/use-swr-key.test.tsx
FAIL test/use-swr-focus.test.tsx
  ● useSWR - focus › focusThrottleInterval should work

    expect(received).toMatchInlineSnapshot(snapshot)

    Snapshot name: `useSWR - focus focusThrottleInterval should work 2`

    Snapshot: "data: 1"
    Received: "data: 0"

      142 |     })
      143 |
    > 144 |     expect(container.firstChild.textContent).toMatchInlineSnapshot(`"data: 1"`)
          |                                              ^
      145 |     fireEvent.focus(window)
      146 |     await act(() => {
      147 |       return sleep(1)

      at test/use-swr-focus.test.tsx:144:46
      at step (test/use-swr-focus.test.tsx:33:23)
      at Object.next (test/use-swr-focus.test.tsx:14:53)
      at fulfilled (test/use-swr-focus.test.tsx:5:58)

  ● useSWR - focus › focusThrottleInterval should work

    expect(received).toMatchInlineSnapshot(snapshot)

    Snapshot name: `useSWR - focus focusThrottleInterval should work 3`

    Snapshot: "data: 2"
    Received: "data: 1"

      148 |     })
      149 |
    > 150 |     expect(container.firstChild.textContent).toMatchInlineSnapshot(`"data: 2"`)
          |                                              ^
      151 |   })
      152 |
      153 |   it('focusThrottleInterval should be stateful', async () => {

      at test/use-swr-focus.test.tsx:150:46
      at step (test/use-swr-focus.test.tsx:33:23)
      at Object.next (test/use-swr-focus.test.tsx:14:53)
      at fulfilled (test/use-swr-focus.test.tsx:5:58)

 › 2 snapshots failed.
PASS test/use-swr-revalidate.test.tsx
PASS test/use-swr-configs.test.tsx
PASS test/use-swr-loading.test.tsx
PASS test/use-swr-cache.test.tsx
PASS test/use-swr-context-config.test.tsx

Snapshot Summary
 › 2 snapshots failed from 1 test suite. Inspect your code changes or run `yarn test -u` to update them.

Test Suites: 1 failed, 13 passed, 14 total
Tests:       1 failed, 95 passed, 96 total
Snapshots:   2 failed, 203 passed, 205 total
Time:        30.806s
Ran all test suites.
error Command failed with exit code 1.

Expected Behavior
The test should be passed if code change doesn't break it. currently we need to re-run jobs when it's failed on github actions.
Repro Steps / Code Example
N/A, observed it on github actions
Additional Context
N/A

I've created #944 to fix this.


sqlite db locking

15-12-14 23:04:55.739 [CRITICAL] [acdcli.cache.db] - Error opening database: (sqlite3.OperationalError) database is locked [SQL: 'PRAGMA table_info("metadata")']
Traceback (most recent call last):
File "/usr/lib64/python3.4/site-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context
context)
File "/usr/lib64/python3.4/site-packages/sqlalchemy/engine/default.py", line 450, in do_execute
cursor.execute(statement, parameters)
sqlite3.OperationalError: database is locked
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/bin/acd_cli.py", line 1429, in
main()
File "/usr/bin/acd_cli.py", line 1399, in main

As best I can tell this is related to concurrent backups leveraging acdcli. Going to serialize the multiple backup scripts that are setup in the testbed and commit fix.

00 * * * * flock -n /root/backup-scripts/movies.lock flock /root/backup-scripts/serial.lock -c /root/backup-scripts/movies.sh - adding in a flock that will wait seems to work, and on the current kernel appears to work in order that processes were blocked.

Fixed by https://github.com/funkymrrogers/acd-backups/commit/1c74e99f7d8fe20eff1de233c7f03f4abf514a46


Add krb5 service principal pattern

Support krb5 service principal pattern in okhttp for client-coordinator communication.
Ref: https://github.com/airlift/airlift/pull/716
@electrum

Merged, thanks!


Adding zsh completion

- What I did
Adding the zsh shell auto-completion scripts.
- How I did it

As suggested here I was largely inspired by kubectl. Default zsh completion generated dynamically by cobra is not really appealing (it does not complete the flags), so as kubectl, I use the bash completion scripts with some bootstrap scripts.
Bumped docker/cli to get a fix on long help messages

- How to verify it
$ source <(docker-app completion zsh)
$ docker-app <tab>
... it should display commands and flags...

- Description for the changelog

Adding zsh completion
Bumping docker/cli

- A picture of a cute animal (not mandatory but encouraged)

@silvin-lubecki please rebase this

@silvin-lubecki  upstream PR merged, can you update vendors once again ? :angel:


[QUERY] Confusing/undocumented multiple dependency name/versions/variants

Query/Question
Different sources point to different maven dependencies/libraries. It is unclear which dependency to use. Could you please write a blog which explains and lists all possible variants and describe what/why/where/who(maintainer: microsoft vs. spring)/when(active/deprecated)/...
Ideally, link such overview information to each project docs/homepage and/or make it google indexed...
Thank you.
Unfortunatelly, the very same/similar situation is also with e.g. cosmosdb support, (A)AD support, ...
Microsoft documentation for Spring support to azure storage blobs:
docs mentions:
<dependency>
   <groupId>com.microsoft.azure</groupId>
   <artifactId>spring-starter-azure-storage</artifactId>
   <version>1.2.8</version>
</dependency>

page links to github
<dependency>
    <groupId>com.azure.spring</groupId>
    <artifactId>azure-spring-boot-starter-storage</artifactId>
</dependency>

but it is different that azure storage SDK
 <dependency>
           <groupId>com.microsoft.azure</groupId>
           <artifactId>azure-storage</artifactId>
           <version>8.4.0</version>
       </dependency>

or storage blob SDK
storage SDK
<dependency>
    <groupId>com.azure</groupId>
    <artifactId>azure-storage-blob</artifactId>
    <version>12.11.0</version>
</dependency>

spring blog...
spring blog
com.microsoft.azure: azure-storage-spring-boot-starter

Thanks for filing this @JV-TMCZ.  @alzimmermsft is actively working on this right now.  @alzimmermsft could you share an update?

Actually, I am looking for better documentation...
I am confused that different docs links to different maven depenencies and different code approach and level of abstractions.
As a developer I need a information which dependency/project/approach to use in what situation. So, I need a explanation what each library provides and what is main purposes and pros/cons. When a project wraps another project (SDK) it needs to be explained why it is done and what benefits it brings. And especially how to use it. So developer could choose the best library...
E.g.: when a developer wants to add a azure storage blob functionality to java spring boot project... and there are more dependencies which contains words "spring" and "azure" ... developer does not know which to choose.
E.G.:

com.azure.spring
azure-spring-boot-starter-storage
3.4.0

this project documentation does not said a single word about Spring boot autoconfiguration feature. Neither that storageServiceClientBuilder is autoconfigure and ready to use. Instead a documentation shows how to do the same manually. Which make no sense in spring boot context (at least most of the time).


addopt strict concurrency

Adopt StrictConcurrency=complete to prepare fro Swift 6

5.10 compiles on macOS but not on Linux :-(
I'm investigating why

@adam-fowler here is one more. Let me know what you think.
I'm not sure about the DateFormatter change. There might be a performance impact to not use a shared static formatter.

@adam-fowler I implemented the two suggested changes. Thank you for your feedback.
When you have tine, can you give it a new look and approve the merge when you're OK with these.


Add class storing common display names for JUnit 5 tests

This PR adds storage for the common JUnit 5 test display names to the testlib module.
This class can provide assistance in avoiding string literal duplication when assigning @DisplayName to the common test cases like null tolerance check or utility constructor check.
DisplayNames is represented as a class and not an enumeration because @DisplayName annotation requires constant String expression as its parameter, so we can't retrieve such expression from enum constant in any reasonable way.
Spine version advances to 0.10.40-SNAPSHOT.

@armiol PTAL.


[Bug]: 404 page for static routes using getStatic...

Summary
My next.js site started showing 404's for dynamic routes using getStaticPaths and getStaticProps. Also nested routes like /blog/article throw a 404. This seems to be related to this issue on Netlify forums: https://answers.netlify.com/t/nextjs-routes-404-on-successful-build/89630 But I couldn't find any trackable issue for it.
I was able to resolve some of the 404's by adding fallback: 'blocking' to getStaticPaths but routes only using getStaticProps are still broken. https://github.com/alianza/portfolio-lea/commit/75b6d2dd3a749744bc16cdca1e8997e890b3ddc4
Steps to reproduce

Go to https://643943e04d55480008006036--portfolio-lea.netlify.app/
Click on a blog post, or click on a category or the all categories page
Observe 404

A link to a reproduction repository
https://github.com/alianza/portfolio-lea
Next Runtime version
v4.34.0
Is your issue related to the app directory (beta)?

[ ] Yes, I am using the app directory

More information about your build

[ ] I am building using the CLI
[X] I am building using file-based configuration (netlify.toml)

What OS are you using?
Windows
Your netlify.toml file

`netlify.toml`
[functions]
included_files = ["content/**"] # Include the content directory for Netlify functions (ISR)

Your public/_redirects file

`_redirects`
# Paste content of your `_redirects` file here

Your next.config.js file

`next.config.js`
const prod = process.env.NODE_ENV === 'production';

const withBundleAnalyzer = require('@next/bundle-analyzer')({
  enabled: process.env.ANALYZE === 'true',
});

const withPWA = require('next-pwa')({
  dest: 'public',
  disable: !prod,
  // buildExcludes: [/middleware-manifest\.json$/]
});

const nextConfig = {

};

module.exports = withBundleAnalyzer(
  withPWA({
    ...nextConfig,
  })
);

Builds logs (or link to your logs)

Build logs
2:15:31 PM: build-image version: 442a909cc19725b67a71cc230a935e063dadf683 (focal)
2:15:31 PM: buildbot version:<PHONE_NUMBER>22a0f551ced71ae75eb84b472ba215
2:15:31 PM: Fetching cached dependencies
2:15:31 PM: Starting to download cache of 874.3MB
2:15:37 PM: Finished downloading cache in 5.786s
2:15:37 PM: Starting to extract cache
2:15:41 PM: Finished extracting cache in 3.615s
2:15:41 PM: Finished fetching cache in 9.489s
2:15:41 PM: Starting to prepare the repo for build
2:15:41 PM: Preparing Git Reference refs/heads/main
2:15:41 PM: Parsing package.json dependencies
2:15:43 PM: Starting to install dependencies
2:15:43 PM: Python version set to 3.8
2:15:43 PM: Attempting Ruby version 2.7.2, read from environment
2:15:44 PM: Using Ruby version 2.7.2
2:15:44 PM: Started restoring cached go cache
2:15:44 PM: Finished restoring cached go cache
2:15:44 PM: Installing Go version 1.19.5 (requested 1.19.5)
2:15:49 PM: go version go1.19.5 linux/amd64
2:15:49 PM: Using PHP version 8.0
2:15:50 PM: Started restoring cached Node.js version
2:15:50 PM: Finished restoring cached Node.js version
2:15:50 PM: v16.20.0 is already installed.
2:15:51 PM: Now using node v16.20.0 (npm v8.19.4)
2:15:51 PM: Enabling Node.js Corepack
2:15:51 PM: Started restoring cached build plugins
2:15:51 PM: Finished restoring cached build plugins
2:15:51 PM: Started restoring cached corepack dependencies
2:15:51 PM: Finished restoring cached corepack dependencies
2:15:51 PM: Started restoring cached yarn cache
2:15:52 PM: Finished restoring cached yarn cache
2:15:53 PM: Installing Yarn version 1.22.10
2:15:53 PM: Preparing<EMAIL_ADDRESS>for immediate activation...
2:15:53 PM: No yarn workspaces detected
2:15:53 PM: Started restoring cached node modules
2:15:53 PM: Finished restoring cached node modules
2:15:53 PM: Installing npm packages using Yarn version 1.22.10
2:15:53 PM: yarn install v1.22.10
2:15:53 PM: [1/4] Resolving packages...
2:15:54 PM: success Already up-to-date.
2:15:54 PM: Done in 0.20s.
2:15:54 PM: npm packages installed using Yarn
2:15:54 PM: Install dependencies script success
2:15:54 PM: Starting build script
2:15:55 PM: Detected 1 framework(s)
2:15:55 PM: "next" at version "13.3.0"
2:15:55 PM: Section completed: initializing
2:15:56 PM:
2:15:56 PM:   Netlify Build
2:15:56 PM: ────────────────────────────────────────────────────────────────
2:15:56 PM:
2:15:56 PM: ❯ Version
2:15:56 PM:   @netlify/build 29.9.1
2:15:56 PM:
2:15:56 PM: ❯ Flags
2:15:56 PM:   baseRelDir: true
2:15:56 PM:   buildId: 643943e04d55480008006034
2:15:56 PM:   deployId: 643943e04d55480008006036
2:15:56 PM:
2:15:56 PM: ❯ Current directory
2:15:56 PM:   /opt/build/repo
2:15:56 PM:
2:15:56 PM: ❯ Config file
2:15:56 PM:   /opt/build/repo/netlify.toml
2:15:56 PM:
2:15:56 PM: ❯ Context
2:15:56 PM:   production
2:15:56 PM:
2:15:56 PM: ❯ Using Next.js Runtime - v4.34.0
2:15:58 PM:
2:15:58 PM:   1. @netlify/plugin-nextjs (onPreBuild event)
2:15:58 PM: ────────────────────────────────────────────────────────────────
2:15:58 PM:
2:15:58 PM: Next.js cache restored.
2:15:58 PM: Netlify configuration property "build.environment.NEXT_PRIVATE_TARGET" value changed.
2:15:58 PM:
2:15:58 PM: (@netlify/plugin-nextjs onPreBuild completed in 56ms)
2:15:58 PM:
2:15:58 PM:   2. Build command from Netlify app
2:15:58 PM: ────────────────────────────────────────────────────────────────
2:15:58 PM:
2:15:58 PM: $ yarn build
2:15:58 PM: yarn run v1.22.10
2:15:58 PM: $ run-p build-cms-styles copy-config next:build
2:15:58 PM: $ run-p build-styles:*
2:15:58 PM: $ copy-and-watch content/config.json public/
2:15:58 PM: $ next build
2:15:58 PM: [COPY] content/config.json to public/config.json
2:15:58 PM: $ sass ./styles/_variables.scss ./public/styles/variables.css --no-source-map
2:15:58 PM: $ sass components/mdContent/mdContent.module.scss ./public/styles/content.module.css --no-source-map
2:15:59 PM: info  - Linting and checking validity of types...
2:15:59 PM: info  - Creating an optimized production build...
2:15:59 PM: > [PWA] Compile client (static)
2:15:59 PM: > [PWA] Auto register service worker with: /opt/build/repo/node_modules/next-pwa/register.js
2:15:59 PM: > [PWA] Service worker: /opt/build/repo/public/sw.js
2:15:59 PM: > [PWA]   url: /sw.js
2:15:59 PM: > [PWA]   scope: /
2:15:59 PM: > [PWA] Fallback to precache routes when fetch failed from cache or network:
2:15:59 PM: > [PWA]   document (page): /_offline
2:15:59 PM: > [PWA] Compile server
2:15:59 PM: > [PWA] Compile server
2:16:03 PM: Browserslist: caniuse-lite is outdated.   Functions bundling
2:16:10 PM: ────────────────────────────────────────────────────────────────
2:16:10 PM:
2:16:10 PM: Packaging Functions from .netlify/functions-internal directory:
2:16:10 PM:  - ___netlify-handler/___netlify-handler.js
2:16:10 PM:  - ___netlify-odb-handler/___netlify-odb-handler.js
2:16:10 PM:  - _ipx/_ipx.js
2:16:10 PM:
2:16:37 PM:
2:16:37 PM: (Functions bundling completed in 27s)
2:16:37 PM:
2:16:37 PM:   5. Edge Functions bundling
2:16:37 PM: ────────────────────────────────────────────────────────────────
2:16:37 PM:
2:16:38 PM:
2:16:38 PM: (Edge Functions bundling completed in 308ms)
2:16:38 PM:
2:16:38 PM:   6. @netlify/plugin-nextjs (onPostBuild event)
2:16:38 PM: ────────────────────────────────────────────────────────────────
2:16:38 PM:
2:16:38 PM: Next.js cache saved.
2:16:38 PM:
2:16:38 PM: (@netlify/plugin-nextjs onPostBuild completed in 53ms)
2:16:38 PM:
2:16:38 PM:   7. Deploy site
2:16:38 PM: ────────────────────────────────────────────────────────────────
2:16:38 PM:
2:16:38 PM: Starting to deploy site from '.next'
2:16:38 PM: Calculating files to upload
2:16:38 PM: 49 new files to upload
2:16:38 PM: 2 new functions to upload
2:16:46 PM: Section completed: deploying
2:16:46 PM: Site deploy was successfully initiated
2:16:46 PM:
2:16:46 PM: (Deploy site completed in 7.9s)
2:16:46 PM:
2:16:46 PM: Starting post processing
2:16:46 PM:   Netlify Build Complete
2:16:46 PM: ────────────────────────────────────────────────────────────────
2:16:46 PM:
2:16:46 PM: (Netlify Build completed in 49.6s)
2:16:46 PM: Caching artifacts
2:16:46 PM: Started saving node modules
2:16:46 PM: Post processing - HTML
2:16:46 PM: Finished saving node modules
2:16:46 PM: Started saving build plugins
2:16:46 PM: Finished saving build plugins
2:16:46 PM: Started saving corepack cache
2:16:46 PM: Finished saving corepack cache
2:16:46 PM: Started saving yarn cache
2:16:47 PM: Processing form - contact
2:16:47 PM: Detected form fields: - name - email - message
2:16:47 PM: Finished saving yarn cache
2:16:47 PM: Started saving pip cache
2:16:47 PM: Finished saving pip cache
2:16:47 PM: Started saving emacs cask dependencies
2:16:47 PM: Finished saving emacs cask dependencies
2:16:47 PM: Started saving maven dependencies
2:16:47 PM: Finished saving maven dependencies
2:16:47 PM: Started saving boot dependencies
2:16:47 PM: Finished saving boot dependencies
2:16:47 PM: Started saving rust rustup cache
2:16:47 PM: Finished saving rust rustup cache
2:16:47 PM: Started saving go dependencies
2:16:48 PM: Finished saving go dependencies
2:16:48 PM: Build script success
2:16:48 PM: Section completed: building
2:16:49 PM: Post processing - header rules
2:16:49 PM: Post processing - redirect rules
2:16:50 PM: Post processing done
2:16:50 PM: Section completed: postprocessing
2:16:52 PM: Site is live ✨
2:16:53 PM: Uploading Cache of size 875.2MB
2:16:59 PM: Section completed: cleanup
2:16:59 PM: Finished processing build request in 1m28.104s```

### Function logs

  Function logs

Paste logs here

### .next JSON files

  generated .next JSON files

Paste file contents here. Please check there isn't any private info in them
You can either build locally, or download the deploy from Netlify by clicking the arrow next to the deploy time.

Hi @alianza, prior to version 4.23.0 of our Next.js Runtime there was a bug that caused non-prerendered paths on fallback: false dynamic routes to be rendered as if fallback: blocking was set. We fixed this issue, but it seems your previous production builds may have been relying on this bug. Can you please check that your getStaticPaths functions are generating the correct paths in the correct format? e.g. https://github.com/alianza/portfolio-lea/blob/main/pages/blog/[postId].jsx#L11 Thank you!

Thank you for the reply and instructions!
I'm quite sure the correct data is coming through in my getStaticPaths functions. E.g. the Categories on the blog. getCategories() returns { name: 'Fiction', color: '#ffc857', textColor: 'dark', count: 0 } per category, Then the returned paths are mapped to:
paths [
  { params: { name: 'Poetry' } },
  { params: { name: 'Photography' } },
  { params: { name: 'Reflections' } },
  { params: { name: 'Fiction' } }
]

Then in getStaticProps params is set correctly E.g. params: { name: 'Fiction' } which getPostsByCategory also correctly returns the category from.
Same for other dynamic pre-rendered routes like the blog. Returned postId's look correct. E.g.:
postIds [
  { postId: '2022-10-24_capturing-birds-in-the-wild' },
  { postId: '2023-01-05_a-collection-of-haikus' },
  { postId: '2023-01-05_mind-over-matter' }
]

In getStaticProps params has the following value: { postId: '2023-01-05_a-collection-of-haikus' } which is correct and as expected.
Otherwise this wouldn't run correctly locally either, but locally everything works as expected without any custom fallback values set.
Also in the Netlify build logs I can see it built the pages:
6:56:05 PM: ├   ├ /blog/2022-10-24_capturing-birds-in-the-wild
6:56:05 PM: ├   ├ /blog/2023-01-05_a-collection-of-haikus
6:56:05 PM: ├   └ /blog/2023-01-05_mind-over-matter
6:56:05 PM: ├ ● /blog/categories (305 ms)                                                                         885 B          89.5 kB
6:56:05 PM: ├ ● /blog/categories/[name] (342 ms)                                                                  4.49 kB        90.7 kB
6:56:05 PM: ├   ├ /blog/categories/Poetry
6:56:05 PM: ├   ├ /blog/categories/Photography
6:56:05 PM: ├   ├ /blog/categories/Reflections
6:56:05 PM: ├   └ /blog/categories/Fiction

Also if I built locally and then serve the application using next start everything works as expected. Pre-rendered (dynamic) routes as well.
Is there anything I should do differently to make sure my application behaves the same when deployed on Netlify as it does locally when it comes to these statically generated (dynamic) routes? Previously that was never the case and the local development experience reflected what would be expected when deployed on Netlify.
I hope this information helps!

Thank you for reporting this with a great repro and thanks for your detailed reply! This is a bug in our Runtime due to a change in Next.js v13.3.0. We have a PR ready to go and are hoping to get it merged into the release next week. Will update here when we do.

Thank you for reporting this with a great repro and thanks for your detailed reply! This is a bug in our Runtime due to a change in Next.js v13.3.0. We have a PR ready to go and are hoping to get it merged into the release next week. Will update here when we do.

Great to hear. Thanks for the swift responses! Looking forward to the fix and to hear from it! Good day

Amazing! I redeployed my site without changes and all the (pre-rendered dynamic routes) work properly again! Thank you for the quick resolution!


Change Single Column Header Background Color

Hello, is there any possibilities to change each background color of a columns?
For example,
Column A = Green Color
Column B = Red Color
Column C= Blue Color
Thank you and more power!

No, unfortunately the TaeDataRowBackgroundProvider will always set the same background for the complete row. The only thing you could do is setting the background color to your cell views inside your TableDataAdapter. But I guess the result will not be satisfying.


,. unquoting does not work

Is it implemented?

Please provide a complete example including the expected and the actual behavior.

After reading 2.4.6 (Backquote) again, I see what you mean.


It is not easy to "just write quotes" in CSV-tables

Writing some notes today, I found it hard to embed quotes (even after declaring an escape character). We should investigate this (and fix a typo in the options docstring)
We also should explicitly state what kind of markup is supported - why don't footnotes work?

Perhaps it's the MyST parse context that is separate per cell.

Example (sandbox link)

Hm, yes. I think that footnotes are probably the main thing that wont work? Maybe block content as well, but I haven't tried that.
I think that we should have a separate push to have a specific parser for footnote references that doesn't get downgraded by markdown-it, but can be downgraded at a later point (maybe) if the cross reference is not handled. This would, for example allow for footnotes on other pages, as well as solving the specific issue that @choldgraf pointed out.


Fix issues with file menu commands

This PR fixes  #11240

Coverage remained the same at 36.299% when pulling ac9b9e9b8e653978719fd841df83790828a661d7 on bug/fileMenuCommands into b3a01fcf77912090c82206c05b50d4a452450d35 on main.


ESM1.5 ssp126-ssp370Lu

resolution_complete type_CMIP6 (other)   |    by<EMAIL_ADDRESS>
10 member ensemble of SSP126 with land use change from SSP370
LUMIP (Land use MIP)
exp name: SSP-126-370-05 .. 14
branched from: HI-05 .. 14
cmip6 exp name: ssp126-ssp370Lu

Issue migrated from trac:402 at 2024-01-31 18:38:28 +1100

<EMAIL_ADDRESS>set resolution to complete

<EMAIL_ADDRESS>changed status from new to closed

<EMAIL_ADDRESS>changed milestone from Run complete to Archived


Test ULMFit on CLS (Cross Lingual Sentiment)

Dataset lives at http://www.uni-weimar.de/medien/webis/corpora/corpus-webis-cls-10/cls-acl10-unprocessed.tar.gz
http://www.aclweb.org/anthology/P10-1114

@eisenjulian  if you don't mind let's try to keep the same structure for the  datasets. That is:

data/<dataset_name>/-<size+other info>/

.train.csv
.test.csv
.unsup.csv
.dev.csv

Then adding a new classifier to work with the scripts would be as easy as adding this 3 lines to configure it:
https://github.com/n-waves/ulmfit-multilingual/blob/master/ulmfit/train_clas.py#L117-L119

Will do, thanks for the reference

Quick update on this, performance seems to be quite poor just now, on the 70% for accuracy (it's binary classification) with balanced dataset.
This is the setup I'm using
git checkout cls
python prepare_cls.py
python -m ulmfit cls --dataset-path data/cls/de-dvd  --base-lm-path data/wiki/de-100/models/sp30k/lstm_nl4.m --tokenizer='sp' --lang=de --name 'nl4' - train 20 --bs 40

In the past, with regular tokenization, I was getting closer to 87% so something is definitely odd

Updated script to
python prepare_cls.py https://storage.googleapis.com/ulmfit/cls/
python -m ulmfit cls --dataset-path data/cls/de-dvd  --base-lm-path data/wiki/de-100/models/sp30k/lstm_nl4.m --tokenizer='sp' --lang=de --name 'nl4' - train 20 --bs 40


Remove Widgets from Layout Files

Describe the chore that needs to be addressed.
The various RAMSTK layout files currently include keys to set the treeview cell types for each attribute.  These are no longer needed as this should have never been user-definable.  It is now part of the dic_attribute_widget_map value list.  Remove the widget key from all layout files.
These keys have no impact any longer and will not hurt anything if they are found in the layout file.
type: style
dobranch

[ ] This issue is an epic issue which subsumes the following:

Closed by #814


[hotfix][docs] Fix the inaccessible documentation link.

What is the purpose of the change

The https://hortonworks.com/blog/apache-hadoop-yarn-hdp-2-2-fault-tolerance-features-long-running-services/ link inaccessible.
The correct link should be https://hadoop.apache.org/docs/stable/hadoop-yarn/hadoop-yarn-site/ResourceManagerRest.html#Cluster_Application_Attempts_API.

Brief change log

Update the  inaccessible documentation link.

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@MartijnVisser , Sorry to bother you again, can you help me review this pr?


0 is at y=1 when hardcoding scale

Hi, I just noticed that when hardcoding a scale, the 0 starts at y = 1. When I set the starting position to the first valid value (e.g. 10 for jumps of 10) it fixes the problem visually because now it says 10 instead of 0 at y = 1. However, this moves the data down by on the y axis because of course now 10 is the value at the level of the x-axis and not 0. I think this is a bug.

Closing issue as abandoned. There have been several releases since this version and there is no test case.
If anyone is still seeing this issue with the latest version, please create a test case using JSBIN and reopen this issue.