AVI Files

Bug, feature request, or proposal:
Probably a feature request
What is the current behavior?
AVI files don't play. If you try, you get an error:
Cannot play media. No decoders for requested formats: video/x-msvideo
What is the expected behavior?
AVI files would play.
What are the steps to reproduce?
Take a file that the Linux app "Motion" creates (default) and try to play it.
What is the use-case or motivation for changing an existing behavior?
AVI files have been around longer than Linux.  While AVI files certainly have limitations, they are fairly common.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Firefox (current), Angular 7. More or less up to date as of last week.

Interestingly enough, I thought I was doing MPEG:
mp4 - MPEG-4 Part 14 H264 encoding
mkv - Matroska H264 encoding
hevc - H.265 / HEVC (High Efficiency Video Coding)
ffmpeg_video_codec mpeg4
I double checked the code, and found this out:
mpeg4 or msmpeg4 - gives you files with extension .avi
This isn't a "Motion" problem, I could probably change the format as it's a fairly closed system, but it did seem to me that avi was a common format. Thought I'd check.

The HTML5 browser spec only supports MP4 as the container for H264 encoding.  It seems like your stream is correct, but try changing the container to MP4 as AVI is unsupported by HTML5.
The full list of supported formats can be found on MDN and W3Schools
If you intend to play AVI files, you will need a server to transcode them which is very expensive.
Closing this issue.


lc0: init at 0.30.0

Description of changes
add lc0 chess engine
Fixes #303317

Things done

Built on platform(s)

[x] 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

[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 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.

Despite disabling accelerate via meson flags, it still seems to look for it on darwin, per the CI, hence the darwin build failures

In that case the meta.platforms should be left as is, and we'd set meta.broken = stdenv.hostPlatform.isDarwin;
Also why was the pname moved up a line?


Back merge didn't create any conflicts, it's almost like it's good to work in this way @SpudTatterson


Please add tab icons

This is the best icon set, I just miss icons on the tabs.

There are icons on the tabs. Which theme are you using?

Confirmed, no tab icons in One Dark UI theme.

Oh, the problem is with One Dark's "Tab Sizing" config set to "Minimum" (or "Auto" with a small window).
I've fixed the problem adding this to stylesheet:
[theme-one-dark-ui-tabsizing="minimum"] .tab-bar .tab .title::before {
  position: static;
  margin-top: 0;
  margin-left: 0;
  display: inline-block;
  vertical-align: middle;
}

I believe it is also possible to fix this by just adding a padding-left value to the .tab title, but seeing as the icons' width are not always the same, it seems hacky to do so and very hard to find a value that looks properly centered with the various icons (i.e. visually the same padding in the left and right sides of the tab title).

Hi @UltCombo, thanks for digging into this. Would you want to send that over in a PR?

Sure. I've also added support for [theme-one-dark-ui-tabsizing="auto"] with a small window as well as the One Light equivalents: #51

Thanks for the fix, I'll get this in the next release.


Empty Row = Colspan 0

With the last release I noticed 2 new problems with my tables. My tables are created with in a variety of ways, some with html and most with ajax. In some cases tables are initialized while hidden.

Empty row td gets a colspan of 0. Appears to be related to being initialized while hidden. Doesn't affect all tables.

Some tables loose their width. Again seems to be related to being initialized off screen.

Going to try to put together a more specific test case to help identify the issue.

1 should already be resolved in git. For 2, yes please for a test case if not already fixed by the latest code.

I see the commit, will test it later tonight, or within the next couple of days.

Closing this as I believe it has been resolved already. If not, please reopen with a link to a test case.

I had this issue with DataTables 1.10.11 (didn't occur in 1.10.9): child rows would sometimes span only the first column, instead of across the entire table. This happened by a weird pattern, specificially the issue would appear and disappear as I was changing the filtering rules of my table.
I've manually applied the changes from https://github.com/DataTables/DataTables/commit/e350e155d207ba6a02d479e0303bd33731d14a48 into my 1.10.11 sources and that fixed the issue for me. :+1:


refactor(consensus): move the sync check into run_height

The goal is to remove the nested selects to make cancellation logic simpler.

This change is

crates/sequencing/papyrus_consensus/src/manager.rs line 185 at r1 (raw file):

                sync_height = sync_height(height, sync_receiver) => {
                    return Ok(RunHeightRes::Sync(sync_height?));
                }

Should we move the logic into an habdle_ function and have only the next() here?
Code quote:
                sync_height = sync_height(height, sync_receiver) => {
                    return Ok(RunHeightRes::Sync(sync_height?));
                }

Merge activity

Dec 15, 3:44 AM EST: A user started a stack merge that includes this pull request via Graphite.


SMCP install config for 2.3

Adding config to install SMCP version 2.3

LGTM. Prior to merge, please do a test run of this PR against OSSM 2.3.

Local tests passed!
servicemeshcontrolplane.maistra.io/basic condition met --- PASS: A1 (399.92s)     --- PASS: A1/smcp_test_install_2.3 (36.64s)     --- PASS: A1/smcp_test_uninstall_2.3 (42.93s)     --- PASS: A1/smcp_test_install_2.2 (26.39s)     --- PASS: A1/smcp_test_uninstall_2.2 (42.93s)     --- PASS: A1/smcp_test_install_2.1 (68.10s)     --- PASS: A1/smcp_test_uninstall_2.1 (63.10s)     --- PASS: A1/smcp_test_upgrade_2.1_to_2.2 (57.04s)     --- PASS: A1/smcp_test_upgrade_2.2_to_2.3 (38.88s) PASS ok  	github.com/maistra/maistra-test-tool/tests	451.979s


Some commits are missing from the entry history

Example: 88318. The website only shows two entries while there is more

No longer the case after #119


Typo in Bulk Sign In Request Powershell Command

Code Snipper is listed as:
Import-Module MicrosoftTeams
$credential = Get-Credential   // Enter your admin’s email and password
Connect-MicrosoftTeams –Credential $credential
NewCsSdgBulkSignInRequest  -DeviceDetailsFilePath  .\Example.csv  -Region APAC

NewCsSdgBulkSignInRequest is not a valid command.  The correct command is New-CsSdgBulkSignInRequest.
Full code should read like this:
Import-Module MicrosoftTeams
$credential = Get-Credential   // Enter your admin’s email and password
Connect-MicrosoftTeams –Credential $credential
New-CsSdgBulkSignInRequest  -DeviceDetailsFilePath  .\Example.csv  -Region APAC

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 05173ea8-db7c-a20d-3783-178b3d649190
Version Independent ID: 05173ea8-db7c-a20d-3783-178b3d649190
Content: Configure SIP Gateway - Microsoft Teams
Content Source: Teams/sip-gateway-configure.md
Service: msteams
GitHub Login: @tonysmit
Microsoft Alias: tonysmit

Thanks for your feedback!

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


support unified flow for single entity detector

Signed-off-by: Yaliang Wu<EMAIL_ADDRESS>Description
Support unified flow for single entity detector. Ignore some unit tests to make sure build can pass. Will fix ignored UT and add more UTs later. And will address the TODOs in next PR.
This PR will be merged into development branch of unified flow after approved. Will publish separate PR to merge into main branch.

Remove detection date range from detector. That means we will not differentiate realtime and historical detectors any more.
Support start/stop anomaly detection for both realtime and historical.

Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #42 (98dbb10) into single-flow-development (769e513) will decrease coverage by 2.10%.
The diff coverage is 71.96%.

@@                      Coverage Diff                      @@
##             single-flow-development      #42      +/-   ##
=============================================================
- Coverage                      78.92%   76.82%   -2.11%
+ Complexity                      2681     2599      -82
=============================================================
  Files                            242      242
  Lines                          11137    11144       +7
  Branches                        1029     1023       -6
=============================================================
- Hits                            8790     8561     -229
- Misses                          1914     2172     +258
+ Partials                         433      411      -22

Flag
Coverage Δ
Complexity Δ

plugin
76.82% <71.96%> (-2.11%)
2599.00 <17.00> (-82.00)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ
Complexity Δ

...elasticsearch/ad/AnomalyDetectorProfileRunner.java
76.47% <ø> (-0.79%)
61.00 <0.00> (-1.00)

...troforelasticsearch/ad/feature/FeatureManager.java
96.22% <ø> (ø)
104.00 <0.00> (ø)

...icsearch/ad/rest/RestAnomalyDetectorJobAction.java
34.61% <0.00%> (-15.39%)
3.00 <0.00> (ø)

...est/handler/IndexAnomalyDetectorActionHandler.java
43.08% <0.00%> (-6.31%)
23.00 <0.00> (-9.00)

...ransport/DeleteAnomalyDetectorTransportAction.java
41.30% <ø> (-7.61%)
10.00 <0.00> (-1.00)

...transport/StatsAnomalyDetectorTransportAction.java
84.50% <50.00%> (-6.54%)
17.00 <0.00> (ø)

...asticsearch/ad/transport/ForwardADTaskRequest.java
81.57% <66.66%> (-5.09%)
11.00 <2.00> (+1.00)
:arrow_down:

...ndistroforelasticsearch/ad/task/ADTaskManager.java
50.95% <73.80%> (-22.04%)
53.00 <10.00> (-28.00)

...stroforelasticsearch/ad/AnomalyDetectorPlugin.java
95.41% <100.00%> (+0.03%)
10.00 <0.00> (ø)

...stroforelasticsearch/ad/model/AnomalyDetector.java
97.08% <100.00%> (+6.70%)
80.00 <1.00> (-12.00)
:arrow_up:

... and 32 more


🐛 expandDepth is not working in custom directory

🏷 Version

Package
Version

@antv/s2
^2.0.0-next.24

@antv/s2-react
^2.0.0-next.23

@antv/s2-vue

Sheet Type

✅ PivotSheet
[ ] TableSheet
[ ] GridAnalysisSheet
[ ] StrategySheet
[ ] EditableSheet

🖋 Description

透视表树形展示的时候希望能指定展开层级，按照官方文档使用expandDepth配置在自定义目录场景没有生效
⌨ Code Snapshots

🔗 Reproduce Link

🤔 Steps to Reproduce

在官方示例，加上下面这段配置即可复现
style: {
    rowCell: {
      expandDepth: 0,
    }
  }

https://s2.antv.antgroup.com/examples/layout/custom-header-group#custom-tree
😊 Expected Behavior

如代码所示，期望仅展开第0层，下面的层级收起
😅 Current Behavior

并没有按预期展开收起相应层级
💻 System information

Environment
Info

System

Browser

:tada: This issue has been resolved in version @antv/s2-v2.0.0-next.28 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version @antv/s2-react-v2.0.0-next.27 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Package request: spotify-player

Project description
A Spotify TUI with support for streaming direct from the terminal, or using Spotify Connect to control other players. Implements vim like bindings with for navigation, with helpful navigation hints when applicable, as well as some other quality of life features.
Metadata

homepage URL: https://github.com/aome510/spotify-player/
source URL: https://github.com/aome510/spotify-player/
license: mit
platforms: linux

Duplicate of https://github.com/NixOS/nixpkgs/issues/213176
It has already been packaged in https://github.com/NixOS/nixpkgs/pull/213596 and is available on the unstable channel

Closed due to duplicate


Integrate platform tests in GitHub Pipeline

What would you like to be added:
Add platform tests to GitHub pipelines for the following platforms:

aws
azure
gcp
ali
openstack

The platform tests must run after the build step.
Definition of Done

[ ] Dedicated Accounts on all hyper scalers

[ ] aws
[ ] azure
[ ] gcp
[ ] ali
[ ] openstack

[ ] Setup of oidc connection
[x] Glue code to invoke the platform tests

[x] executes after each GitHub build stage successfully

[ ] Documentation

Why is this needed:

Start platform tests early with (potentially) every build, so that bugs and regression can be found early in the release process
Automatically running the platform tests which where previously manually executed. This increase significantly the quality of Garden Linux Development

Please do add OpenStack.

Added openstack to definition of done

make sure to syncronise with the github actions pipeline for the explicit case of e.g. creating an beta realease and make such a "beta" release is triggered ~weekly.
(integration pipeline tests must be triggered somewhat manual but in a way that everybody understands how and we at least once a week test if it could be triggered)

I suggest to run integration tests automatically for pushes to a release branch
on:
  push:
    branches:
      - main
      - 'releases/**'

Additionally, we can add the option to manually run integration tests. Would look like this:
on:
  push:
    branches:
      - 'releases/**'
  workflow_dispatch:

related #246

Hey @Vincinator,
I think we should also add vmware and firecracker (which already got covered by #1318) to the DoD. As a result, we have all ones covered here instead of multiple issues.
Maybe you can provide a short list of todos for a potential vmware integration (hypervisor kit etc.)?


Change docker lock to a fair lock

pg1-372 and pg2-33 running.

Merged as https://github.com/openwhisk/openwhisk/commit/7fe6f242236c31d43dd6bcdd38d926dcb51ced59.


Missing of Implicit Grant Section in Authentication Advanced Settings

According to the screenshot in the documentation, we should be able to specify the tokens to be issued by the authorisation endpoint, as shown below.

However, this "Implicit Grant" section is no longer visible under the Advanced Settings section in the latest Azure Portal, as shown in the following screenshot.

Please review and update the documentation to the latest Azure Portal setup.
Thank you!

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 4c226d80-2f60-0a3e-c66f-edaf3bcd0891
Version Independent ID: cb1869bc-b6a5-1d1c-3792-f0247660c681
Content: Web App Tutorial - Client Application Setup
Content Source: articles/healthcare-apis/tutorial-web-app-public-app-reg.md
Service: healthcare-apis
Sub-service: fhir
GitHub Login: @CaitlinV39
Microsoft Alias: cavoeg

@goh-chunlin Thanks for your feedback! We will investigate and update as appropriate.

@goh-chunlin, Thank you for reaching out. I believe, the implicit grant section in the second screenshot is not visible because platform chosen is "Mobile and Desktop Applications". Since for Mobile or Desktops apps (native app) doesnt support Implicit flow, hence its not listed with the platform choosen as the Mobile and Desktop application. If you select Web as the platform, you should be able to see the implicit grant section.
Hope this helps.
Do let me know if any more queries around this, so that we can help you further.

@goh-chunlin, Just wanted to follow up with you to check if there are any more queries around this. If not do let us know so that we can close this thread.

@goh-chunlin, Just wanted to follow up with you to check if there are any more queries around this. If not do let us know so that we can close this thread.

Understood, @souravmishra-msft
However, if the readers have to follow the tutorial given, they will reach the 2nd screenshot instead of the 1st screenshot and the readers will be confused and not sure where to continue next. Hence, I'd like to suggest to change the 1st screenshot which is currently used in the documentation to the 2nd one.
Please share with me your thoughts on this.
Thanks for your time attending to this.

Dear @souravmishra-msft,
In fact, in the same documentation, the last step of the previous section says the following.

Name your application and set up the redirect URI to https://www.getpostman.com/oauth2/callback

So it is actually talking about allowing us to send request to the client application from the Postman. Hence, we know it's not talking about Web.
But right after the step, the documentation goes on with the following.

Next, set the correct authentication options. Select Authentication from the left-hand side. Check the Access Token and ID token boxes.

This is where the confusion comes in because this "next step" is not needed for the Postman.

I have created a PR to reflect my suggestion on the changes following the new GUI of Azure Portal: #58692

@goh-chunlin, I get it. This clears things and understanding. I will wait for the PR approval and would keep the thread open until then. Please feel free to reachout in case you would need any help with that PR.

+@moiradillon12

@goh-chunlin Your Pull request has been moved to internal repo and is awaiting review from the team . You may not be able to see the same as its only accessible internally . Once it is reviewed we will have it updated here.
Thank you.

@moiradillon12 Could you please review the PR and update once it has been merged? Thank you for your help.
#reassign:moiradillon

moiradillon is not a valid GitHub ID, or is not a collaborator on this repo.

The documentation has been updated in PR #58692.

As a workaround for anyone else who reaches this thread, you can download the JSON manifest, update
"oauth2AllowIdTokenImplicitFlow": true,
"oauth2AllowImplicitFlow": true,

save, and then upload your updated JSON file.


openvdb: 10.0.1 -> 11.0.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/AcademySoftwareFoundation/openvdb/releases.
meta.description for openvdb is: An open framework for voxel
meta.homepage for openvdb is: https://www.openvdb.org
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 10.1.0 with grep in /nix/store/k8zrkwk6d3rli7mzd8fcb9cc0qs33bl0-openvdb-10.1.0
found 10.1.0 in filename of file in /nix/store/k8zrkwk6d3rli7mzd8fcb9cc0qs33bl0-openvdb-10.1.0

Rebuild report (if merged into master) (click to expand)

6 total rebuild path(s)

6 package rebuild(s)

First fifty rebuilds by attrpath
blender
blender-hip
openvdb
prusa-slicer
super-slicer
super-slicer-latest

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/k8zrkwk6d3rli7mzd8fcb9cc0qs33bl0-openvdb-10.1.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A openvdb https://github.com/r-ryantm/nixpkgs/archive/56bfd1355ef9020fd9025783847eb172fd3019a2.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/56bfd1355ef9020fd9025783847eb172fd3019a2#openvdb

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/k8zrkwk6d3rli7mzd8fcb9cc0qs33bl0-openvdb-10.1.0
ls -la /nix/store/k8zrkwk6d3rli7mzd8fcb9cc0qs33bl0-openvdb-10.1.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 45m and timed out

Maintainer pings
cc @guibou for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/AcademySoftwareFoundation/openvdb/releases.
meta.description for openvdb is: An open framework for voxel
meta.homepage for openvdb is: https://www.openvdb.org
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 11.0.0 with grep in /nix/store/mmm07s9a1chm81552k72mwx1qda5rdmr-openvdb-11.0.0
found 11.0.0 in filename of file in /nix/store/mmm07s9a1chm81552k72mwx1qda5rdmr-openvdb-11.0.0

Rebuild report (if merged into master) (click to expand)

7 total rebuild path(s)

7 package rebuild(s)

First fifty rebuilds by attrpath
blender
blender-hip
openvdb
prusa-slicer
super-slicer
super-slicer-beta
super-slicer-latest

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/mmm07s9a1chm81552k72mwx1qda5rdmr-openvdb-11.0.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A openvdb https://github.com/r-ryantm/nixpkgs/archive/b43b2684d659f4e2bc08fc82ef0538a4e4519b93.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/b43b2684d659f4e2bc08fc82ef0538a4e4519b93#openvdb

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/mmm07s9a1chm81552k72mwx1qda5rdmr-openvdb-11.0.0
ls -la /nix/store/mmm07s9a1chm81552k72mwx1qda5rdmr-openvdb-11.0.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 45m and timed out

Maintainer pings
cc @guibou for testing.

@ofborg build openvdb openvdb.passthru.tests

I'll do a rebuild after #279949.

@ofborg build blender blender-hip prusa-slicer super-slicer super-slicer-beta super-slicer-latest

Result of nixpkgs-review pr 260786 run on x86_64-linux 1

12 packages built:

blender
blender-hip
openvdb
openvdb.dev
prusa-slicer
prusa-slicer.debug
super-slicer
super-slicer-beta
super-slicer-beta.debug
super-slicer-latest
super-slicer-latest.debug
super-slicer.debug


[Loc] update to xlfs

This PR fixes #

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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 42.369%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
29428

Relevant Lines:
64623

💛  - Coveralls


docs: Add bs-fetch peer dependency to README

After FormidableLabs#104 was merged, you have to explicitly install bs-fetch which may not be obvious to everyone until you try to compile and it fails:
File "bsconfig.json", line 1
Error: package bs-fetch not found or built
- Did you install it?
- If you did, did you run `bsb -make-world`?
error Command failed with exit code 2.

So to avoid any friction in installing the library I think it's preferable to make this explicit in step 1 such that you are not met with the error when you try to compile.

Hey @cem2ran, thanks for the PR. Interestingly, I don't seem to hit this error when compiling on a new project. Can you try the following steps and let me know if you're still hitting this issue:

Run bsb -init reason-urql-test -theme react-hooks to create a new ReasonReact project.
Add reason-urql as a dependency and add it to your bs-dependencies array.
Paste some minimal code into index.re, something like:

open ReasonUrql;

let client = Client.make(~url="https://localhost:3000", ());

ReactDOMRe.renderToElementWithId(
  <div />,
  "index1",
);

The dependency on bs-fetch is a bit up in the air for me. It's mostly there for type checking information on the client's fetchOptions property, and I would expect to see the error you're reporting. For some reason I'm just not seeing it with a new project. I'll double check as well with the above steps and ensure I can't repro. Thanks again for the PR!

@cem2ran, never mind,  you're totally right – the example project I was using to test on had a symlink hanging around. Thanks for the PR, merging now!

@all-contributors please add @cem2ran for docs.


How to create color point cloud from disparity

Required Info

Camera Model
{D400}

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
Win10

Platform
PC

SDK Version
{ legacy / 2... }

Language
{python/opencv}

Segment
{Robot/VR}

Hi. I'm quite new to using pyrealsense2 library. I having trouble in convert disparity to color point cloud using opencv function (eg. reprojectImageTo3D function).
I've already get my disparity value by using method in #8572 but my disparity value lies between 0 to 65535. So did I need to scale or convert my result so that it can be used for generate color point cloud by using opencv?
Here is the image I get

Hi @Toaster0617  You could convert the RealSense 16-bit uint16_t 'pixel depth value' (which ranges from 0 to 65535) to OpenCV's range of 0-255 by converting the depth value to the OpenCV format CV_16UC1.  The https://github.com/IntelRealSense/librealsense/issues/8572 case that you quoted has an example of such a conversion in one of its scripts, at https://github.com/IntelRealSense/librealsense/issues/8572#issuecomment-805755799
disparity = data.view(np.uint16).reshape((imageH, imageW))
If disparity values are not vital to your project then an alternative approach for obtaining a colorized point cloud with OpenCV code could be the librealsense SDK's opencv_pointcloud_viewer.py pyrealsense2 example program.
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/python/examples/opencv_pointcloud_viewer.py

@MartyG-RealSense Thanks for your help! Does this mean that I only need to convert my data format to 16-bit and scale it to 0-255?

My understanding is that after RealSense data is converted from 16-but uint16_t to an OpenCV format such as CV_16UC1 then its scale is automatically adjusted without you having to rescale the depth values yourself.

@MartyG-RealSense Thanks for your response! I can solve my problem now!

Case closed due to solution achieved and no further comments received.


After Add Notification Service Extension - Duplicate interface definition for class 'MXKAccount'

Hello,
I've added Notification Service extension(NSE) and pod install done, to add pod dependencies to NSE. After successful pod install I run the app and getting the AFNetworking does not contain bitcode error.
To fix this issue, I've changed the NSE Enable Bitcode to No in Build Settings. Again I run the App this time I got more errors
/Users/raju/Documents/ANagaraju/Meta_NEW/MetavoxxBusiness/MetavoxxBusiness-Bridging-Header.h:17:9: note: in file included from /Users/raju/Documents/ANagaraju/Meta_NEW/MetavoxxBusiness/MetavoxxBusiness-Bridging-Header.h:17:
#import "AppDelegate.h"

<unknown>:0: error: failed to emit precompiled header '/Users/raju/Library/Developer/Xcode/DerivedData/MetavoxxBusiness-bgtxkcorjtnzxogmkbgwhqhxeqrl/Build/Intermediates.noindex/PrecompiledHeaders/MetavoxxBusiness-Bridging-Header-swift_3OXDXEB5AKTGK-clang_3QANI74R8Y7X4.pch' for bridging header '/Users/raju/Documents/ANagaraju/Meta_NEW/MetavoxxBusiness/MetavoxxBusiness-Bridging-Header.h

Hi @ismailgulek , can you please do some needful
why I'm getting this error Duplicate interface definition for class 'MXKAccount'
this is my pod file
`# Uncomment this line to define a global platform for your project
platform :ios, '10.0'
Use frameforks to allow usage of pod written in Swift (like PiwikTracker)
use_frameworks!
Different flavours of pods to MatrixKit
The current MatrixKit pod version
$matrixKitVersion = '0.11.4'
The specific branch version (supported: develop, xcode11)
$matrixKitVersion = 'xcode11'
The one used for developing both MatrixSDK and MatrixKit
Note that MatrixSDK must be cloned into a folder called matrix-ios-sdk next to the MatrixKit folder
#$matrixKitVersion = 'local'
Method to import the right MatrixKit flavour
def import_MatrixKit
if $matrixKitVersion == 'local'
pod 'MatrixSDK', :path => '../matrix-ios-sdk/MatrixSDK.podspec'
pod 'MatrixSDK/SwiftSupport', :path => '../matrix-ios-sdk/MatrixSDK.podspec'
#  pod 'MatrixSDK/JingleCallStack', :path => '../matrix-ios-sdk/MatrixSDK.podspec'
pod 'MatrixKit', :path => '../matrix-ios-kit/MatrixKit.podspec'
else
if $matrixKitVersion == 'xcode11' || $matrixKitVersion == 'develop'
pod 'MatrixSDK', :git => 'https://github.com/matrix-org/matrix-ios-sdk.git', :branch => $matrixKitVersion
pod 'MatrixSDK/SwiftSupport', :git => 'https://github.com/matrix-org/matrix-ios-sdk.git', :branch => $matrixKitVersion
# pod 'MatrixSDK/JingleCallStack', :git => 'https://github.com/matrix-org/matrix-ios-sdk.git', :branch => $matrixKitVersion
pod 'MatrixKit', :git => 'https://github.com/matrix-org/matrix-ios-kit.git', :branch => $matrixKitVersion
else
pod 'MatrixKit', $matrixKitVersion
pod 'MatrixSDK/SwiftSupport'
#  pod 'MatrixSDK/JingleCallStack'
end
end
end
Method to import the right MatrixKit/AppExtension flavour
def import_MatrixKitAppExtension
if $matrixKitVersion == 'local'
pod 'MatrixSDK', :path => '../matrix-ios-sdk/MatrixSDK.podspec'
pod 'MatrixSDK/SwiftSupport', :path => '../matrix-ios-sdk/MatrixSDK.podspec'
pod 'MatrixKit/AppExtension', :path => '../matrix-ios-kit/MatrixKit.podspec'
else
if $matrixKitVersion == 'xcode11' || $matrixKitVersion == 'develop'
pod 'MatrixSDK', :git => 'https://github.com/matrix-org/matrix-ios-sdk.git', :branch => $matrixKitVersion
pod 'MatrixSDK/SwiftSupport', :git => 'https://github.com/matrix-org/matrix-ios-sdk.git', :branch => $matrixKitVersion
pod 'MatrixKit/AppExtension', :git => 'https://github.com/matrix-org/matrix-ios-kit.git', :branch => $matrixKitVersion
else
pod 'MatrixKit/AppExtension', $matrixKitVersion
pod 'MatrixSDK/SwiftSupport'
end
end
end
abstract_target 'RiotPods' do
pod 'GBDeviceInfo', '~> 6.3.0'
pod 'Reusable', '~> 4.1'

# Piwik for analytics
pod 'MatomoTracker', '~> 7.2.0'

# Remove warnings from "bad" pods
pod 'OLMKit', :inhibit_warnings => true
pod 'cmark', :inhibit_warnings => true
pod 'zxcvbn-ios'

# Tools
pod 'SwiftGen', '~> 6.1'
pod 'SwiftLint', '~> 0.36.0'

target "MetavoxxBusiness" do
    import_MatrixKit
    pod 'DGCollectionViewLeftAlignFlowLayout', '~> 1.0.4'
    pod 'ZXingObjC', '~> 3.6.5'

    # metavoxx pods
    pod 'TPCircularBuffer'
    pod 'CocoaLumberjack'
    pod 'MBProgressHUD', '~> 1.1.0'
    pod 'SAMKeychain'
    #pod 'NXOAuth2Client', '~> 1.2.8'
    pod 'CWStatusBarNotification', '~> 2.3.5'
    pod 'SDWebImage', '~> 4.3.3'
    pod 'SignalProtocolObjC'
    pod 'SignalProtocolC'
    #pod 'OpenSSL-Universal'
    pod 'OpenSSL-iOS'
    pod 'DZNEmptyDataSet'
    pod 'EAIntroView'
    pod 'mailcore2-ios'
    pod 'IQKeyboardManager', '~> 6.2.0'
    pod 'RKTagsView'
    #pod 'AFNetworking'
    pod 'IDMPhotoBrowser'

   # target 'RiotTests' do
    #    inherit! :search_paths
   # end
end

target "RiotShareExtension" do
import_MatrixKitAppExtension
end
target "AppNSE" do
    import_MatrixKitAppExtension
end

end
post_install do |installer|
installer.pods_project.targets.each do |target|
    # Disable bitcode for each pod framework
    # Plus the app does not enable it
    target.build_configurations.each do |config|
        config.build_settings['ENABLE_BITCODE'] = 'NO'

        # Force SwiftUTI Swift version to 5.0 (as there is no code changes to perform for SwiftUTI fork using Swift 4.2)
        if target.name.include? 'SwiftUTI'
            config.build_settings['SWIFT_VERSION'] = '5.0'
        end
    end
end

end
`

Hi  @ismailgulek  My pod also Same and getting the  above Issue please give any solution

I kindly request you to ensure these:

Deployment target in Podfile and project settings are the same. (btw Riot has upgraded it to 11.0, you should definitely do that)
You're on an Xcode 11.4.x
It's not related to cache/derived data
Bridging header path is correct on project settings

Closing this for now. Feel free to reopen if you confirm all above and the error is still there.

Hi @ismailgulek ,

I've changed the deployment targets to 11.0 (Podfile and project settings)

My Xcode version is 11.5

Bridging header path is correct, I've checked

Still getting same error.

My Xcode version is 11.5

Not tested with 11.5, try to use 11.4.x

but the Riot app downloaded from https://github.com/vector-im/riot-ios/tree/xcode11 is working fine in Xcode 11.5 too... @ismailgulek

Then it's probably about your AppNSE implementation. Also you can try cleaning your Pod caches/derived data.
Seems not related with Riot.


Question: How do I bind to public packages?

How can I use the manifest.yml or deployment.yml to bind to public packages with my custom parameters? Let me know if there is some docs that I am missing.
  wsk package bind /whisk.system/cloudant my-bound-package-name \
    --param username john

That feature is not supported, though we opened an issue related to this -- #41.  The proposal is to add a dependency key to the manifest.yaml file, this will allow you to specify external package entities in the manifest.  There an open question now on how best to declare that the dependency is shared rather than some code in a github repo.

Thank you for the quick response. Closing this issue.


Add option for indented binary operations

We may want indent multi-line binary expressions an extra level:
if some_check() ||
       other_check() ||
       charm() {
}

I believe this style is used in servo and/ or rustc.

I believe servo tends to indent more like
if some_check() ||
   other_check() ||
   charm() {
}

but probably inconsistently.


Scroll box should be aligned with input box

Testing #174637
Looks a little messy right now

completed in https://github.com/microsoft/vscode/pull/177143


bad argument #2 to 'format'

With the latest version of moneymoney 2.4.44 i got following error
1> Starting Web Scraping session for account Coinbase.
          1> Web Banking Engine: Using user-supplied extension Coinbase.lua version 2.00.
          1> Protocol version: Web Scraping
          1> Server address: https://api.coinbase.com
          1> Coinbase.lua: Coinbase.lua:113: bad argument #2 to 'format' (number has no integer representation)

Will be fixed with v3 #19

It's also fixed with the latest moneymoney update 🤷♂

@leoschweizer yes I reported it yesterday as well


Regression in 0.22.1: varying length of array index on case-by-case basis no longer works

The following code:
from numba import jit
import numpy as np

@jit(nopython=True)
def f(a, i):
    if i == 0:
        a[1] = 1
    else:
        a[1,1] = 1

a1 = np.zeros(6)
a2 = np.zeros((6,6))

f(a1, 0)
f(a2, 1)

executes correctly in 0.21.0 but in 0.22.1 produces the following traceback:
$ python mixed_index.py

Traceback (most recent call last):
  File "mixed_index.py", line 15, in <module>
    f(a1, 0)
  File "/home/gmarkall/work/numba/numba/dispatcher.py", line 172, in _compile_for_args
    return self.compile(sig)
  File "/home/gmarkall/work/numba/numba/dispatcher.py", line 350, in compile
    flags=flags, locals=self.locals)
  File "/home/gmarkall/work/numba/numba/compiler.py", line 644, in compile_extra
    return pipeline.compile_extra(func)
  File "/home/gmarkall/work/numba/numba/compiler.py", line 361, in compile_extra
    return self.compile_bytecode(bc, func_attr=self.func_attr)
  File "/home/gmarkall/work/numba/numba/compiler.py", line 370, in compile_bytecode
    return self._compile_bytecode()
  File "/home/gmarkall/work/numba/numba/compiler.py", line 631, in _compile_bytecode
    return pm.run(self.status)
  File "/home/gmarkall/work/numba/numba/compiler.py", line 251, in run
    raise patched_exception
  File "/home/gmarkall/work/numba/numba/compiler.py", line 243, in run
    res = stage()
  File "/home/gmarkall/work/numba/numba/compiler.py", line 458, in stage_nopython_frontend
    self.locals)
  File "/home/gmarkall/work/numba/numba/compiler.py", line 759, in type_inference_stage
    infer.propagate()
  File "/home/gmarkall/work/numba/numba/typeinfer.py", line 510, in propagate
    raise errors[0]
numba.errors.TypingError: Failed at nopython (nopython frontend)
Internal error at <numba.typeinfer.SetItemConstraint object at 0x7f6d0bc47a90>:
--%<-----------------------------------------------------------------
Traceback (most recent call last):
  File "/home/gmarkall/work/numba/numba/typeinfer.py", line 111, in propagate
    constraint(typeinfer)
  File "/home/gmarkall/work/numba/numba/typeinfer.py", line 377, in __call__
    index=it, value=vt):
  File "/home/gmarkall/work/numba/numba/typing/context.py", line 149, in resolve_setitem
    return self.resolve_function_type("setitem", args, kws)
  File "/home/gmarkall/work/numba/numba/typing/context.py", line 97, in resolve_function_type
    res = defn.apply(args, kws)
  File "/home/gmarkall/work/numba/numba/typing/templates.py", line 155, in apply
    sig = generic(args, kws)
  File "/home/gmarkall/work/numba/numba/typing/arraydecl.py", line 159, in generic
    out = get_array_index_type(ary, idx)
  File "/home/gmarkall/work/numba/numba/typing/arraydecl.py", line 76, in get_array_index_type
    % (ary, n_indices, idx))
TypeError: cannot index array(float64, 1d, C) with 2 indices: (int64 x 2)
--%<-----------------------------------------------------------------

File "mixed_index.py", line 9

It looks to me that the only reason that this worked before was because the "erroneous" indexing of a 1D array with a 2D index and vice-versa in each call was sneaking past the typing phase, but this isn't something that was explicitly intended to be supported.
Any thoughts on whether this can be made to work again?

I am a bit surprised that it worked once.  The type error is expected.

I wonder if we can make the typing phase replace the certain erroneous operation with a raise statement instead of failing the typing phase.  This would mean greater flexibility.

I wonder if we can make the typing phase replace certain erroneous operations with raise statements instead of failing the typing phase. This would mean greater flexibility.

For consistency, we would need to do it for all typing errors, which would end up very expensive in terms of added complexity in the code, and arguably for little gain.

Though perhaps a "smart" way (read: not too awful) would be to have some kind of "Poison" type that gets propagated by operations whose typing fails...

@pitrou you read my mind
I was thinking of a Poison type as well

By the way, I agree this issue is not a bug, just a strengthening of our typing. I'm closing.


[TH2-4234] HotFix 1.2.3 get_package_version returns package with padding around it

@xHacka You forgot to update release notes

@ConnectDIY release_notes Updated


Enable using easy-imgui-window without giving it ownership of the window

In #2  @Latias94 suggests making easy-imgui-window usable without giving it the ownership of the main window.

Hey @Latias94, I've pushed a new commit to the WindowRef branch. This has a free function do_event that takes the pieces of the main window separately.
You'll probably need to implement the MainWindowRef for whatever type you have holding the main window, or for a new-type.
What do you think? Will that work for you? If not, maybe you could try sharing a branch of your repository with some attempt?

I'm truly grateful for your prompt response. Perhaps my earlier communication wasn't as clear as it could have been. For my purposes, I prefer having the autonomy to decide when to invoke methods like initialization, prepare_frame, and prepare_render, akin to the flexibility seen in the example at https://github.com/imgui-rs/imgui-rs/blob/main/imgui-glow-renderer/examples/glow_01_basic.rs. Here, I have the freedom to determine the timing of a few crucial method calls needed for the renderer and event_handler (from the imgui-winit-support crate).
Thus, I believe a more suitable approach would be to externalize event handling, similar to what is done here: https://github.com/imgui-rs/imgui-rs/blob/main/imgui-winit-support/src/lib.rs. This way, I wouldn't need to implement additional traits. Instead, I could simply incorporate one or two imgui structures within my App structure and call their methods at the appropriate times, facilitating seamless integration.
Here's how I integrated egui into my code: https://github.com/Latias94/learn_opengl_rs/blob/main/src/window.rs#L307-L394. Although my renderer implementation may not be optimal, it works!

To put it simply, if one is developing an Imgui App, using the MainWindow structure is a good choice. However, for integrating Imgui, I would appreciate having a crate that could help reduce the tediousness of handling Imgui events. If the event handling code were to be abstracted away, then for users to employ this code to write their own MainWindow wouldn't be a cumbersome task.

Perhaps my earlier communication wasn't as clear as it could have been.
I think you explained the situation well enough. But for me, having the code is always easier to understand.

I've looked at your repo, and did some work... pushed another commit to my MainWindowRef branch, to implement the trait directly for a winit::Window.
I had to change your Arc<GlContext> for a Rc<GlContext> that is required by easy-imgui-renderer. But GlContext is not Sync, so Arc here makes little sense (there is a clippy lint for that).
Also, it looks like the game_loop crate separates render events from other events, so I have to call to the render manually.
Then, I took the liberty to created a PR to your repo with the change. I think it is not ideal: there are some issues pending, I think resizing the window does not work properly, closing requests are sometimes ignored, hidpi isn't even considered, but it works!! What do you think?

Thanks for your work and the PR! I used Arc because egui_glow::new needs it (https://docs.rs/egui_glow/latest/egui_glow/winit/struct.EguiGlow.html#method.new), but I'm not sure why it's different. FYI, imgui_glow use Rc as well.
Glad it's running! I'll look into modifying easy_imgui_window to better align with my vision when I have time. About the DPI issue, I didn't have this problem with egui, so it's strange. Do you know how to fix it?

Hey @Latias94!
I have just pushed a commit to the MainWindowRef branch with a very basic game_loop example and a few other improvements. I think the hidpi issue is fixed now (the default ImGui font doesn't seem to scale, though).
I'm using my MainWindow type for initialization only, any winit window should work just the same. Also the game itself, that shown behind the ImGui UI is quite lame (patches welcome  :smile:).
The new public API is just a proposal, but if you find the time, can you test it and tell me what you think? Does it fit with your code?

I'd like to apologize for my delayed response; I've been incredibly busy lately。
I've submitted a merge request https://github.com/rodrigorc/easy-imgui-rs/pull/4 to share my approach towards achieving the functionality of your MainWindow with minimal code and without implementing traits. The reason I'm avoiding traits is due to my project learn_opengl_rs, where I prefer not to require each example to re-implement traits just to handle UI rendering.
Additionally, I must admit that I'm not very familiar with ImGui itself, so my handling of scale factors and cursor positioning in the MR might not be entirely accurate.

Hello!
I have just pushed a few commits to the WindowRef branch, polishing the public API, I think it looks quite nice now. Also I have force-pushed that PR https://github.com/Latias94/learn_opengl_rs/pull/1 for illustration purposes.
And now you can even call easy_imgui_window::do_event() by just having a winit::Window, if the pre/post render and the resizing are handled elsewhere.
About that problem you commented of not being able to build the UI without implemented a the trait UiBuilder I tried doing something but it is not so easy, because my Ui<T> that wraps an ImGui frame is generic, being the T the type that implements UiBuilder... changing that would require a lot of refactoring.
That generic Ui<T> is required to properly implement ImGui callbacks. I admit that it isn't ideal, but at least it is easy to use.

Hello again, @Latias94.
I've merged the WindowRef branch to master, polished it a bit and added documentation. Consider it a 0.3.0 release candidate. I think that it mostly does what you need, even if not exactly with the desired syntax.
I've also force-pushed my PR to your example code, to illustrate how it could work, this time with an optional feature, just like you do with egui. It is not as straight-forward, because of that UiBuilder trait, but I think it is not so bad.

Hello again, @Latias94.
I've merged the WindowRef branch to master, polished it a bit and added documentation. Consider it a 0.3.0 release candidate. I think that it mostly does what you need, even if not exactly with the desired syntax.
I've also force-pushed my PR to your example code, to illustrate how it could work, this time with an optional feature, just like you do with egui. It is not as straight-forward, because of that UiBuilder trait, but I think it is not so bad.

Thank you! I've merged the MR. Although there are some high DPI issues, I think it's already pretty good.

I have just published version 0.3.0 of easy-imgui. I think this mostly fixes what you need, @Latias94. So I think this issue can be closed.
Your issues with HiDPI may happen because you are not resizing the surface on "size" events. That is because you are using the MainWindowRef that doesn't know about the surface, so you are opting out of that behaviour. Also I think you are not recomputing the GL matrix or the viewport or something...

fixed with https://github.com/Latias94/learn_opengl_rs/commit/36f87dc202e9639d0dc85f9afac17245a54466aa


Slow convergence speed

Hello, I have applied your improvement to Fairmot's object detection and found that compared to the original model, your improvement resulted in slow model convergence, with the loss convergence speed of hm, wh, and reg much slower than expected. I used vanb3 for a single rtx3090 experiment.

now，i have try vanb1.

A good attempt, the VAN of the current parameters does converge slowly

VAN can bring improvement on MOT17-val


feat [CX-2659]: Update My Collection route

The type of this PR is: Feature

This PR solves CX-2659
Description
This PR updates the route of my collection from /settings/my-collection to /my-collection

Warnings

:warning:

Routes added to routes.tsx should have a corresponding cypress.js smoke test. See the cypress/integration folder for examples.

  Generated by :no_entry_sign: dangerJS against 818b0a69533ed0ffd317eba6d7e4f8e68ba7bdb4

👋 Heads up! A major change is incoming in Force, where we flatten out the src/v2 directory into src. This will take place next Thursday and be merged in, which could impact PRs with rebase conflicts (since all of our import paths will soon change). If your PR can be merged in please do so by next Weds. (See this thread for more info.)


Support building mod_fcgid Apache HTTP subproject module

The Apache HTTP Server project consists of the httpd server, as well as a number of add-in modules. The mod_fcgid module includes fcgi process pool management beyond the scope of mod_proxy_fcgi, and is worth integrating as an optional target.

@trawick is this still an interest of yours? Is mod_fcgid still popular and useful enough to add it to the catalog of binaries?

@wrowe Hi Bill :)

Not an interest any more
No idea how many people are using it...

TYVM @trawick ... Might even be worth a headcount upstream to see if three maintainers remain. Appreciate the quick reply!


chore(test): remove warnings

Problem:
Today we have a lot of warnings in our Karma output which really clutters it
Fix:
This PR tries to address some of them:

import the default export of package.json instead of import * from
change moduleIds from hashed to deterministic (as Webpack recommends)
import { act } from @testing-library/react instead of react-dom/test-utils

Manual Tests:
I hereby swear that:

[X] I opened a hydrogen project and it loaded
[X] I could navigate to various routes in Preview mode

Temporarily closing as a spike to be picked up later


add methods to allow selection and exclusion of resources by gvk

Related to https://github.com/GoogleContainerTools/kpt/issues/3016
Add methods to the function SDK to allow easily filtering by GVK, name, namespace, labels, annotations, and meta resources.

@yuwenma I see that you've approved this PR but I've made some more changes that I think should be reviewed before merging, do you mind taking a look?

@yuwenma I see that you've approved this PR but I've made some more changes that I think should be reviewed before merging, do you mind taking a look?

Thank you for the change and overall looks great. One last comment about the schema.GroupVersionKind. I'm totally okay to do that in a follow up PR as well :)


updated to pip3

Since some people have multiple versions of Python installed, in an attempt to be version-agnostic, I propose an edit to the commands used to install this client.
pip install -> pip3 install and so on

Hello @Youboontoo
Merged.
Thanks.


engine: don't push to a central registry when using docker-for-mac

Hello @jazzdan, @maiamcc, @yuindustries,
Please review the following commits I made in branch nicks/kube:
35fe94ac73de9915d0768ac13443455500f363a7 (2018-08-21 14:30:38 -0400)
engine: don't push to a central registry when using docker-for-mac

deeply unhappy with the way this pr ended up, which seems to be mostly work-arounds for weird holes in how kubernetes and docker interop sigh
working on a better test for this

(the test will probably be a separate pr)


Typescript definition file missing from published package (v2.3.2)

https://registry.npmjs.org/preact-router/-/preact-router-2.3.2.tgz
There's also a preact-scroll-viewport directory in there, doesn't look like it's used

Fixed in 2.4.0<EMAIL_ADDRESS>


Fix tekton pipelines' step deprecated-image-check

The deprecated image check step doesn't process each single arch manifest when using multiarch builds

/approve

/override ci/prow/ci-index-multiarch-tuning-operator-bundle ci/prow/images

/lgtm


Don't know how to set up a test database

It looks like there's some framework support for populating a test database, but it's not obvious how to use it.

Just set the environment variables detailed at the bottom of the readme, and let make take care of the rest.
If you're interested in the details, there is no framework used for the tests... I've striven to have the entire suite be simple Ruby code with no external dependencies for maximum readability.

Don't even need to set the environment variables if you're happy with the defaults.

WDYT? Perhaps the README could be improved to better communicate this?

Thinking about this some more, I guess one could definitely classify the test suite and make infrastructure to be a framework. After all, it calls the impls, the impls don't call it.

Still not getting it here. I don't seem to automatically get any customer records in the test database, which seems wrong to me?

Oh, I see. You are wanting a mechanism for inserting example data into the db so you can toy with the server outside the context of the test suite. There is nothing like that in the codebase, at present... the primary means of interacting with the server is via the test suite. Also, note that the test suite empties the database on every test case, so the contents of the eboshi_test database at any given time should be considered transient, so if you wanted to play with the server outside the context of the test suite, I'd recommend booting the server with a different db name, i.e. just eboshi.


Move parser to separate module

Codecov Report

Merging #56 (44a5d55) into master (1ef6dbd) will not change coverage.
The diff coverage is 95.68%.

@@           Coverage Diff           @@
##           master      #56   +/-   ##
=======================================
  Coverage   93.70%   93.70%
=======================================
  Files           4        5    +1
  Lines        1017     1017
=======================================
  Hits          953      953
  Misses         64       64

Impacted Files
Coverage Δ

source/argparse/parser.d
95.48% <95.48%> (ø)

source/argparse/internal.d
93.45% <100.00%> (-0.57%)
:arrow_down:

source/argparse/package.d
89.68% <100.00%> (-0.04%)
:arrow_down:

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 1ef6dbd...44a5d55. Read the comment docs.


Annotate columns when alternate interpretations are available

Following single quotes (') serve as "prime" markers. The parse tree should illuminate when variants are available by appending ticks, and variants should carry names describing them.

Done.


Download dependencies error

Hello,
We have tried on 2 different computers, one with 3D slicer version 5.0.3 and one with 5.1.0-2022-08-16.
We install with the extension manager.  VTMK, MtM, SEEE and MONAI are all installed successfully.  When we go to RVX Liver Segmentation and press "Download dependencies and restart", the Processing window hangs.

The error log reports the following:

Traceback (most recent call last):
File "C:/ProgramData/NA-MIC/Slicer 5.1.0-2022-08-16/NA-MIC/Extensions-31110/RVesselX/lib/Slicer-5.1/qt-scripted-modules/RVXLiverSegmentation.py", line 165, in downloadDependenciesAndRestart
meta_data = slicer.app.extensionsManagerModel().retrieveExtensionMetadataByName(slicerExt)
AttributeError: qSlicerExtensionsManagerModel has no attribute named 'retrieveExtensionMetadataByName'

Hi @Pixellett.
Thank you for your bug report and your interest for our extension.
I have just pushed a fix for this issue which will resolve the problem for Slicer 5.0.3 and up.
If you want to test these changes on your end, you can download the extension directly from github and follow the following documentation to manually install the extension : https://github.com/R-Vessel-X/SlicerRVXLiverSegmentation#manually-installing-the-plugin
Please note that as Slicer 5.1.0-2022-08-16 is in prerelease, the extension install can be a little unstable. I would advise to test the extension using Slicer's official release.
Please let me know if you have any further problem with installing or running the extension.
Best,
Thibault


How to check Android notification(sync) using Api ?

Hey @gokulyc 👋
I believe this example has what you're looking for: https://github.com/rbrcsk/pushbullet.py/blob/master/example/mirror_example.py


feat(authorizenet): add authorizenet testing module to test facade usage

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?
[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?
[ ] Yes
[x] No

I think you need to add @daffodil/authorizenet/testing to tsconfig.json.

yea, you right. added


rawQuery occasionally do not match query in panel json

version

Grafana version: Grafana v6.7.4 (8e44bbc5f5)
ClickHouse version: 2.1.0

problem overview
I have multiple panels in a dashboard that all use clickhouse as datasource, I set up several alerts.  And alerting A(from panel A) is firing panel b's query metrics  (but the graph in the panel is all correct), then I checked the panel JSON, then find Panel A's query A is having the wrong raw query which is belongs to Panel B query A.
the following screenshot is a sample dashboard that I reproduce.

summary
I do not have specific steps to 100% reproduce the issue.  what I have done is click around different tabs from different panels. using Alerting tab to jump into panels.  You do not need to actually save the dashboard to reproduce.

full dashboard json:

{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": 65,
"links": [],
"panels": [
{
"collapsed": false,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 6,
"panels": [],
"title": "Row title",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "ClickHouse testdb",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 1
},
"hiddenSeries": false,
"id": 4,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"database": "bili_bvc",
"dateColDataType": "",
"dateLoading": false,
"dateTimeColDataType": "mtime",
"dateTimeType": "DATETIME",
"datetimeLoading": false,
"extrapolate": true,
"format": "time_series",
"formattedQuery": "SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter GROUP BY t ORDER BY t",
"intervalFactor": 1,
"query": "SELECT\n    toUnixTimestamp(concat(substr(log_date, 1, 4), '-', substr(log_date, 5, 2), '-', substr(log_date, 7, 2), ' 00:00:00'))*1000 as log_date,\n    avg(hits) * 0.5 as avg_hits555\nFROM bili_bvc.hits\nWHERE $timeFilter\ngroup by log_date\n",
"rawQuery": "SELECT\n    toUnixTimestamp(concat(substr(log_date, 1, 4), '-', substr(log_date, 5, 2), '-', substr(log_date, 7, 2), ' 00:00:00'))*1000 as log_date,\n    avg(hits) as avg_hits666\nFROM bili_bvc.hits\nWHERE mtime >= toDateTime(1641990115)\ngroup by log_date",
"refId": "A",
"round": "0s",
"skip_comments": true,
"table": "hits",
"tableLoading": false
},
{
"database": "bili_bvc",
"dateColDataType": "",
"dateLoading": false,
"dateTimeColDataType": "mtime",
"dateTimeType": "DATETIME",
"datetimeLoading": false,
"extrapolate": true,
"format": "time_series",
"formattedQuery": "SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter GROUP BY t ORDER BY t",
"intervalFactor": 1,
"query": "SELECT\n    toUnixTimestamp(concat(substr(log_date, 1, 4), '-', substr(log_date, 5, 2), '-', substr(log_date, 7, 2), ' 00:00:00'))*1000 as log_date,\n    avg(hits) * 0.7 as avg_hits777\nFROM bili_bvc.hits\nWHERE $timeFilter\ngroup by log_date\n",
"rawQuery": "SELECT\n    toUnixTimestamp(concat(substr(log_date, 1, 4), '-', substr(log_date, 5, 2), '-', substr(log_date, 7, 2), ' 00:00:00'))*1000 as log_date,\n    avg(hits) * 0.7 as avg_hits777\nFROM bili_bvc.hits\nWHERE mtime >= toDateTime(1641989363)\ngroup by log_date",
"refId": "B",
"round": "0s",
"skip_comments": true,
"table": "hits",
"tableLoading": false
},
{
"database": "bili_bvc",
"dateColDataType": "",
"dateLoading": false,
"dateTimeColDataType": "mtime",
"dateTimeType": "DATETIME",
"datetimeLoading": false,
"extrapolate": true,
"format": "time_series",
"formattedQuery": "SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter GROUP BY t ORDER BY t",
"intervalFactor": 1,
"query": "SELECT\n    toUnixTimestamp(concat(substr(log_date, 1, 4), '-', substr(log_date, 5, 2), '-', substr(log_date, 7, 2), ' 00:00:00'))*1000 as log_date,\n    avg(hits) * 0.8 as avg_hits888\nFROM bili_bvc.hits\nWHERE $timeFilter\ngroup by log_date\n",
"rawQuery": "SELECT\n    toUnixTimestamp(concat(substr(log_date, 1, 4), '-', substr(log_date, 5, 2), '-', substr(log_date, 7, 2), ' 00:00:00'))*1000 as log_date,\n    avg(hits) * 0.8 as avg_hits888\nFROM bili_bvc.hits\nWHERE mtime >= toDateTime(1641989363)\ngroup by log_date",
"refId": "C",
"round": "0s",
"skip_comments": true,
"table": "hits",
"tableLoading": false
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "5555",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"collapsed": false,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 10
},
"id": 8,
"panels": [],
"title": "Row title",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "ClickHouse testdb",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 11
},
"hiddenSeries": false,
"id": 2,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"database": "bili_bvc",
"dateColDataType": "",
"dateLoading": false,
"dateTimeColDataType": "mtime",
"dateTimeType": "DATETIME",
"datetimeLoading": false,
"extrapolate": true,
"format": "time_series",
"formattedQuery": "SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter GROUP BY t ORDER BY t",
"intervalFactor": 1,
"query": "SELECT\n    toUnixTimestamp(concat(substr(log_date, 1, 4), '-', substr(log_date, 5, 2), '-', substr(log_date, 7, 2), ' 00:00:00'))*1000 as log_date,\n    avg(hits) as avg_hits666\nFROM bili_bvc.hits\nWHERE $timeFilter\ngroup by log_date\n",
"rawQuery": "SELECT\n    toUnixTimestamp(concat(substr(log_date, 1, 4), '-', substr(log_date, 5, 2), '-', substr(log_date, 7, 2), ' 00:00:00'))*1000 as log_date,\n    avg(hits) as avg_hits666\nFROM bili_bvc.hits\nWHERE mtime >= toDateTime(1641989225)\ngroup by log_date",
"refId": "A",
"round": "0s",
"skip_comments": true,
"table": "hits",
"tableLoading": false
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "ck 1",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"schemaVersion": 22,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-7d",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "",
"title": "clickhouse rawQuery Debug",
"uid": "HYN4QXJ7k",
"variables": {
"list": []
},
"version": 15
}

After change query in query editor
try to click "Generated SQL" and ensure query is the same
After it, press "Save Dashboard".
Moreover, I would like to recommend try to update to the latest 2.4.1 plugin version.

Thanks for the quick reply.
I don't think the problem occurs when I save panel A and it generates the wrong raw query for me. I think it is more likely that when I work on panel B and make some changes. It changes panel A's rawQuery for me. So it is impossible for me to click every panel in the dashboard and click generate SQL to ensure every rawquery is matched.
But since 2.1.0 is quite an outdated version, I will try the version 2.4.1 plugin as recommended and see if this problem still exist or not

Finally, I found a way to 100% reproduces this issue.

have two rows in the dashboard, and each row should contain one or more panels (for simplicity let's say row A has panel A and row B has panel B).
expand row B and make some modifications on the query, then go back to dashboard.
then by expanding row A,  boom, panel B's rawQuery becomes inconsistent with his original query and becomes Panel A's raw query.

I also make a gif to record the process I reproduce issues. Feel free to check if my description is unclear to you.

Looks like it only happening in the row expanding action (panel rendering process).  Because when two rows are expanding at the very beginning, this issue can not be reproduced.
Even though it has no hurt to the panel graph, the wrong rawQuery will result in wrong alert result.

Could you try to reproduce this behavior on grafana 7.x and 8.x?

Thanks a lot for reproducing anyway!

Could you try to reproduce this behavior on grafana 7.x and 8.x?

emmmm, interesting.
did a few test, but can not reproduce on grafana current main branch ->8.4  (9fc0aee02b0dcc20996432801ab16a8c8ad3436f) and v7.5.6 branch (5fdad5bfe4fc97978a26b741ad8f067db900b673)

@zaizhouh wow, thanks a lot for solution!


Completely silent setup

Not sure I missed something, but I don't find it easy to automate the Influx-Capacitor setup without having sometimes a problem.
I succeded it by creating the "C:\ProgramData\Thargelion\Influx-Capacitor*.xml" directories and files, and then call the msi setup with /q parameter, but if, for example, the influxdb server is temporary unreachable, setup will be stuck on the Influx-Capacitor console with the error message.
Would it be possible to have a command line parameter that always exits silently (no blocking) with just a message and an exit code to be checked ?
Many thanks for this usefull tool !

There needs to be a simple way of entering database connection information. Do you mean that this can be done after the installation? That would actually make things allot less complicated for the installation process. And also perhaps better usage. I will look into that.
Are you a coder, or do you work with operations?

Yes, it could be better to separate silent installation (without config, leaving service stopped) and configuration.
I am not a coder, i work on operation (we are building an automation system for on-demand virtual services, for internal users) and I think Influx-Capacitor is a very good candidate for telemetry of windows VMs (and windows applications like sql server).

I will try to make this happen during next week.
Another idea... If you have any generic xml configuration files that is good for monitoring. It whould be great to add them to the project. I would like some standard template included, that would make it easier to get started for new users.

Yes I can give you sample config files, juste have to make some cleanup on mine.

Thanks for the samples. They are merged into the project.
The installation should be quiet now. However, it might need some more testing.

It seems that the service is still started even if the config is not done in silent setup.
Is it possible to leave it stopped or add a command line parameter to chose if it is started or not after setup ?

That is true. The service starts even though there is no setup. The idea was that it should not crash when there is no setup. But you are right. It is better that it is not started at all.

I am closing this issue, if there is still a demand for it I will reopen it again.


File name problem

When I use Rust to solve problems, the  problem's file name will be a problem. For example, problem one's file name is two-sum.rs, but in rust, we use _ instead of -. So I need to manually modify the file name to two_sum.rs, and if I want to test or submit, I must revise it again...

Now, I changed the code privately. For example, In leetcode.vim L.476 function! leetcode#TestSolution(), I judge  filetype , if it's rust，I will use tr(slug, '_', '-') to avoid manually modifying the file name.
This is my expedient measure. I don't know if it is a good modification.

Hi, I would like to know if using hyphens rather than underscores would cause real problems.
IMO, style checkers and autocompletion should be turned off when doing leetcode, since they're not available in the real interview, in which case, filenames won't be an issue.
But if it's bothering you, please let me know.

Hi, I changed the file name style to snake case. I hope this could solve your problem. Enjoy 🎉
Related commit: 13f6fff014c4981d59d6832d1888e171ee2670c5

Thank you very much. In my case, I want to do some unit test for myself, so I need a correct file name. Now it can work, thank you again.


Add Nuxt 3 example

Adds a Basic Nuxt example. Basically converted the Nextjs demo to Nuxt.

 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.

Hey @wobsoriano thanks for the PR!  Left a few small comments.  Also two small overall comments:

Please add a description of this directory to the main README.  You can follow the examples there.
Please add a command to update.sh at the project root for updating the @bufbuild deps for this project.  You'll see the other examples, should be pretty self-explanatory.

Can we still have a nuxt example?


Handle versions for optimistic concurrency control in editor/REST endpoints

When making changes to a record, it might happen that in the meantime, a concurrent transaction has made a different change to the same record.
The way things are done currently, those modifications will be silently overwritten by the most recent transaction to be committed to the database (nothing catastrophic is happening though due to legacy version checks). The RecordsMetadata model uses versioning for optimistic concurrency control: SQLAlchemy maintains a version counter, which is forced to monotonically increase. In case a transaction tries to lower the version counter (as would happen if the record to be modified was read at an earlier version), an exception is raised.
We should expose this feature to the REST APIs and editor to make sure we don't silently overwrite data.

Also for submissions that does immediate updates (without approvals)

A cataloger did "important" editing and meanwhile a new update came in, so SAVE would fail for the cataloger. They could refresh to get the new version but then they would lose all the work. I think we have to address this issue.
@michamos

At some point we had the idea of using the merger to combine the two update and the edit, but that would be a lot of work to implement. As a first step, we can just fail the save with a clear message of what to do, then improve the UX if it happens often.

How about doing a simple diff on top level fields if different fields modified just accept the change instead of failing? Is there problem with that?

Invenio is "supposed" to implement this anyway via https://github.com/inveniosoftware/invenio-records-rest/blob/896a34e47f3a1eab036c89d6348f59c2679fba86/invenio_records_rest/views.py#L883.
Etag check logic is here: https://github.com/inveniosoftware/invenio-rest/blob/0322ce1d63a6f1736bcc4dc0928c9336b96ae0e1/invenio_rest/views.py#L250-L285
This doesn't work because:

Invenio is returning record.version_id for GET but passing record.revision_id. Maybe this is how it is supposed work, but I have some doubts, because it seems like revision_id = version_id + 1, and they are maintained differently I guess.
Nginx servers compressed json with weak eTag even if it is strong, however invenio is checking eTag with weak=False
Let's assume all these works, we do have a custom eTag https://github.com/inspirehep/inspirehep/blob/8694625b451ce6cfb52d8bf42dc24460e9a731af/backend/inspirehep/records/serializers/response.py#L33. But we can use the default invenio eTag (version_id) and add vary: Content-Type header instead of using content type aware eTag.

Concerns:

Implementing this on REST endpoints, may require some ugly and complicated invenio workarounds.
Do we want to also implement this record.update level, or REST only?
Do we want to make it really secure? Since version is are simply auto-incremented integers it is easy to guess the next version and overwrite it via PUT anyway.

Looks like the easiest way is fork invenio-records-rest just to fix eTag check, by calling check_etag(etag_that_we_return_wiht_get, weak=True)
We should return same eTag from GET /api/editor/<collection>/<id> too.
Optionally we can use also change how set eTag, use revision_id only and leverage vary header.
record.update already works and gives StaleDataError


Add Google Maps support and fix camera preview

@thuongho @3vivekb
This adds Google Maps support, but for a hard-coded latitude and longitude.
We'd need to add geolocation support to make sure the current lat / long gets passed in.

@thuongho Let me know if you can give me a :+1: on this.

go for it!


Cannot make directories or symlinks on Unraid

Check your docker/host path mapping if you have issues with symlinks or directory creation


antora-ui-default: update hash

This patch updates the hash that was forgotten in commit 518ba1789aa2 ("antora-ui-default: 0-unstable-2024-09-20 -> 0-unstable-2024-12-26").
I have successfully tested this patch on my documentation that relies on this package and successfully built the following packages:
nix build .#antora-ui-default &&
  nix build .#antora.tests.run &&
  nix build .#antora-lunr-extension.tests.run

Things done

Built on platform(s)

[X] 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

[X] 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

[X] 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/)
25.05 Release Notes (or backporting 24.11 and 25.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

[X] Fits CONTRIBUTING.md.

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

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 369703

x86_64-linux

:white_check_mark: 1 package built:

antora-ui-default


[iOS] org.jetbrains.compose.resources.MissingResourceException when running tests

Describe the bug
This is related to https://youtrack.jetbrains.com/issue/KT-66790, but a different use case. I'm not trying to build a XCFramework, but simply trying to run Kotlin tests (which use Compose Resources) on an iOS simulator via the iosSimulatorArm64Test Gradle task. For now I've had to disable iOS tests, but this seems like a bug.
Versions

Libraries:

Compose Multiplatform version: 1.6.11

Kotlin version: 2.0.0

@chrisbanes could you provide a small reproducer? I couldn't reproduce:
run ./gradlew :composeApp:iosSimulatorArm64Test
IosTestCheck.zip

@OptIn(ExperimentalTestApi::class)
class ComposeTest {

    @OptIn(ExperimentalResourceApi::class)
    @Test
    fun simpleCheck() = runComposeUiTest {
        var bytes = ByteArray(0)
        setContent {
            val env = rememberResourceEnvironment()
            LaunchedEffect(true) {
                bytes = getDrawableResourceBytes(env, Res.drawable.ic_cyclone)
            }

            val resText = stringResource(Res.string.open_github)
            var txt by remember { mutableStateOf(resText) }
            Column {
                Text(
                    text = txt,
                    modifier = Modifier.testTag("t_text")
                )
                Button(
                    onClick = { txt += "." },
                    modifier = Modifier.testTag("t_button")
                ) {
                    Text("click me")
                }
            }
        }
        waitForIdle()
        assertEquals(943, bytes.size)

        onNodeWithTag("t_button").apply {
            repeat(3) { performClick() }
        }
        onNodeWithTag("t_text").assertTextEquals("Open github...")
    }
}

Hmmm, I can repro this locally but I haven't tried making a reproducer yet. Here's the error:
org.jetbrains.compose.resources.MissingResourceException: Missing resource with path: /foo/bar/shared/core/data/content/build/bin/iosSimulatorArm64/debugTest/compose-resources/composeResources/com.foo.bar/values/generated.commonMain.cvr
	at <global>.Data,(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
	at <global>.Data,(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:23)
	at <global>.Data,(/opt/buildAgent/work/3eb902016bd3838/components/resources/library/src/commonMain/kotlin/org/jetbrains/compose/resources/ResourceReader.kt:5)
	at <global>.Data,(/opt/buildAgent/work/3eb902016bd3838/components/resources/library/src/iosMain/kotlin/org/jetbrains/compose/resources/ResourceReader.ios.kt:32)
	at <global>.Data,(/opt/buildAgent/work/3eb902016bd3838/components/resources/library/src/iosMain/kotlin/org/jetbrains/compose/resources/ResourceReader.ios.kt:17)
	at <global>.Data,(/opt/buildAgent/work/3eb902016bd3838/components/resources/library/src/commonMain/kotlin/org/jetbrains/compose/resources/ResourceReader.kt:27)
	at <global>.Data,(/opt/buildAgent/work/3eb902016bd3838/components/resources/library/src/commonMain/kotlin/org/jetbrains/compose/resources/StringResourcesUtils.kt:30)
	at <global>.Data,(/opt/buildAgent/work/3eb902016bd3838/components/resources/library/src/commonMain/kotlin/org/jetbrains/compose/resources/StringResourcesUtils.kt:29)
	at <global>.Data,(/opt/buildAgent/work/3eb902016bd3838/components/resources/library/src/commonMain/kotlin/org/jetbrains/compose/resources/StringResourcesUtils.kt:27)

If I look in the build/bin/iosSimulatorArm64/debugTest folder, there is no compose-resources. The resources are from a different module which we depend on, so might be related to that. I'll keep digging.

ugh just worked this out. The modules with failing tests did not have the CMP plugin applied on it 🤦.
Weirdly the Android unit tests worked as expected, but I assume the CMP plugin is responsible for the resource merging on iOS?

CMP plugin is responsible for the resource merging on iOS

yes 👍
Android works because the resources are packed into aar libraries and there is no an additional logic

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Fix beam search output

Also update cur_len with token_idx.item() and use that to slice the input_ids when calling beam_scorer.process().
The logic will work when token idx is None too.
What does this PR do?

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

@regisss  - please review this PR. Also "make style" passed so CI should pass now.

Thanks @puneeshkhanna! I'll review it shortly

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

All checks passed.


backgroundColor prop not functioning

maybe its just me but it seems like the default transparent black background does not render with react native v 0.31

its react native https://github.com/facebook/react-native/issues/14178


Is infinite OTA possible with on chip encryption key generation? (IDFGH-10173)

I have a firmware which I want to protect from intruders who can access my binary and make their separate first copy devices.
Thus, I am planning to use flash encryption.
Now to really flash encrypt, I feel eFuse will be used so that no one can software read the key.
Also because there will be many devices, it's better to use separate encryption keys for all devices, meaning the encryption keys will be generated on run time on the chip.
Here is the problem statement:
I also have OTA capabilities. I read somewhere that only 4 times OTA is possible because it will burn the eFuse everytime I OTA.
So because of limited eFuses I will be able to OTA my firmware with encryption just 4 times.
Please give me a clarification on this

you can ota as much as you want.
the firmware will be written to flash, and re-encrypted with the key in the efuse during write.

@Devyami-Apcon
As @chipweinberger mentioned there is no limit on the number of OTA updates on flash encryption enabled device. EFuse configuration happens during the first boot or during manufacturing stage itself, no additional EFuses are burnt during OTA updates. There is exception to secure version field, but that is applicable only if anti-rollback scheme is enabled.
Note: typically SPI flash part supports ~100K program/erase cycles and hence that will only be a limiting factor here.
Hope this helps!


Quadkey Support

This PR adds quadkey support for 2 x 2 quadkeys. See also the discussion here: https://github.com/developmentseed/morecantile/issues/19.
The Tile Matrix Set class has a quadkey_support property now, that checks if the initialized Tile Matrix Set is compatible with a 2 x 2 standard quadkey.
The functionality for quadkey/tile translation was copied from mercantile.

thanks for the changes @adrian-knauer
tests are failing because of change in rasterio (https://github.com/developmentseed/morecantile/pull/57#issuecomment-899316960)
I'll have a look today or tomorrow 🙏

sorry @adrian-knauer I started working on https://github.com/developmentseed/morecantile/pull/58 but I'll fix the test tomorrow and plan for a release including this work 🙏


XBOX ControllerEvents Gets Picked Picked Up By Both Sessions When Using Multiple Sessions

Tested versions

Reproducible in: 4.2.2.stable.official

System information
Godot v4.2.2.stable - Fedora Linux 40 (Workstation Edition) - Wayland - Vulkan (Forward+) - integrated Intel(R) UHD Graphics (ICL GT1) () - Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz (8 Threads)
Issue description
I'm currently creating a multiplayer game and have added controls for both keyboard and controller to the input map. To test I run two instances at once.
When I'm using controller input, the events get picked up by the focused and the unfocused window (i. e. pressing the "A" button causes both players to jump, not just the player of the currently focused window).
I'm not sure if this is intentional behavior, because #41684 mentions that the game window pickup up a joy pad button press when not focused is "as expected". If that is the case, is there any way I can work around this? Because I'm making a multiplayer game, this is annoying because I'm always moving with two characters at the same time.
Steps to reproduce

Run a game with some controller action configured to do an action in two instances (see MRP below).
Press the aforementioned action when not focusing the game window.
The action is still executed.

Minimal reproduction project (MRP)
MRP.zip
This MRP has an action called say_hello that is mapped to Joypad Button 0. The main.gd script just checks for that action and then prints "Hello, World!" in the console.

This is indeed intended, and documented, please see there for details on how to work with this

Oh OK, thank you.


Dopamine doesn't seem to fully disable Wifi and causes a panic (purple screen)

I've found if wifi is left enabled when jailbreaking during the "Disabling Wifi" state, it seems to move on to the next part of the process too quickly before the wifi is fully disabled. This causes a freeze, followed by a purple screen and a reboot.
I'm aware that this crash is just because of the exploit that is used so I understand if it cannot be fixed. Issue does not occur if wifi is already off before jailbreaking.
iPhone 13 Pro Max
iOS 15.1
Dopamine 1.0.2

Currently, according to the source code, Dopamine will sleep for around 1 second after Wi-Fi is disabled by itself. On a local test build, I increase it to 5 seconds, which significantly improve the success ratio of jailbreak. (tested on iPhone XR, iOS 15.1; from 1/13 -> 1/2)

Seems the issue is resolved in the 1.0.3 update with the increased delay. Have not been able to replicate the crash with Wifi enabled


Bing ai not work anymore?

I already try but the API response '' (blank string)

There could be a host of reasons for this. Inspect your logs and review the open/closed issues here:
https://github.com/waylaidwanderer/node-chatgpt-api/issues
It is working for me (on LibreChat)


Project Ownership

@danielruf @clayreimann @AurelioDeRosa @aendrew
I'd like to get a new group of maintainers+contributors for this project. We have quite a few people that are interested, and people still use the project. I'm not an org owner, so I can't set up any CI tools to get the automated tests rolling again. Would one of you be able to make me an org admin? Also, if any of you would like to contribute to this, that would be super appreciated!

I'm not an org owner or member either.

I'm not an org owner or member either.

@DanielRuf Are you still interested in becoming a maintainer?

@DanielRuf Are you still interested in becoming a maintainer?


WebSocket handler to keep connection alive

The issue with Chromium in #2 seems not to originate in insecure connection to localhost. I added an onopen method to the WebSocket object in the client, console.log-ing some text. Also, added a console.log to the onmessage method, and made ws_tracker send a welcome message to the client right at the end, just before return nothing. Both messages are shown also in Chromium. That is, the connection opens and also successfully receives the message, but then instantly closes.
I then added a sleep(10) just before the return nothing at the end of ws_tracker. In Chromium, the websocket now remains open (readyState 1) for 10 seconds, then closes. Can also be nicely observed using verbose=true in HTTP.listen. So, I guess that:

Once the handler function passed to HTTP.listen returns, the HTTP.Stream is closed.
The unintended behavior is probably with Firefox, not with Chromium. Chromium closes the connection as it should, but Firefox somehow keeps it alive, even though the server seems to close it...? (No idea how this is possible at all...!)

So, does this mean that we need to have another async task for each WS connection? I assumed this (keeping the stream open, closing it once the websocket is closed) would be handled internally by HTTP.jl's WebSocket type.

Ok, HTTP.jl already runs the handler function (here: ws_tracker) asynchronously. It's basically here: https://github.com/JuliaWeb/HTTP.jl/blob/95b8bad768047532c8c782932a77ec026305354a/src/Servers.jl#L247-L261
L247 runs the entire try statement async, and L259 in the finally clause closes the IO-stream. I have no idea why it still worked with Firefox. Probably their WebSocket implementation automatically reconnects when the connection is lost without having received an explicit "close" frame.
That is, we should also have something like
while isopen(ws.io) sleep(0.05) end

at the end of ws_tracker, and a try construct over the entire function body. Upon error, the error is printed but everything is continued normally (i.e. the handler returns). Upon an InterruptException we then have to make the server stop, similar to what we do for file watching. Otherwise, the user has to press Ctrl-C as many times as there are open websockets, plus one last time (for the server itself).

Ha, since this is server internal (not interacting with file_watcher), we can use a simple const WS_ERROR = Base.Ref{Bool}(false) and set this to true upon catching an interrupt ex in any ws_tracker. Tested everything, works perfectly, now also with Chrome/Chromium!

Ok I played a bit with this and effectively kept as it was except that the try only really needs to be around the while thing. I also think it's super important to add this in the comments so that future contributors  (or ourselves) know why we're doing this :p. Maybe check what I've added (comments) and adjust as you feel :-)

Looks good.


Not support Orin NX

When run the benchmark for  PeopleNet, got the issue:
~/TAO-PTM-Jetson-Benchmarks$ sudo python3 benchmark.py --model_name peoplenet --csv_file_path benchmark_csv/orin_ptm.csv --model_dir $HOME/TAO-PTM-Jetson-Benchmarks/models/
Please close all other applications and Press Enter to continue...
Setting Jetson orin in max performance mode
Jetson clocks are Set
Jetson clocks with Fan set
------------Executing peoplenet------------
readWriteData: GPU:6.9771214007782065, DLA0:0, DLA1:0
Error in Build, Please check the log in: /home/zack/TAO-PTM-Jetson-Benchmarks/models/
Error in Build, Please check the log in: /home/zack/TAO-PTM-Jetson-Benchmarks/models/
We recommend to run benchmarking in headless mode
Model Name: peoplenet
FPS:0.00

Hi! Could you please attach the log file here?

@AsawareeBhide Thank you, it resolved by changing the DLA engine file name from "peoplenet_dla_0.engine" to "peoplenet_dla_bs4.engine"


How to control the frequency of the wait condition execution

I use the following wait condition:
await().atMost(60, SECONDS).until(() -> messageRepository.findAll().size() == 1);
How frequently this code will execute the  messageRepository.findAll().size() == 1 condition during the wait phase ?
Is there a possibility to control the frequency of the wait condition execution, let's say check for  messageRepository.findAll().size() == 1 once per second ? Thanks!

Yes, it is. Please check the user guide.


Removed old docs, Added v4 postman and swagger collection, Updated index.html

Removed old docs by removing outdated postman collection and environment (Legacy docs still available as release)
Added new postman collection and environment and swagger.json containing the current Kickbase API v4 documentation
Updated the index.html to be a browseable swagger ui web version with the new endpoints
Updated README

@kevinskyba can you initiate the gh page deployment of the repo because commit did not auto trigge it and old page ist still up?

@simonsagstetter Done, some weird change now requires a .nojekyll file in the root folder to be published by gh pages (https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site) if not using gh actions for publishing. I've added it and now it works.

@simonsagstetter Done, some weird change now requires a .nojekyll file in the root folder to be published by gh pages (https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site) if not using gh actions for publishing. I've added it and now it works.

alright, thanks for the quick fix!


feat: enabled sSOL shorting

Description

Related issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

@koredefashokun fixes look good ✅

@JChiaramonte7 The changes look good to me.