Render-related errors on editor close (Attempted to free invalid ID, Condition "!shader" is true, Condition "!material" is true)

Godot version
v4.0.rc2.official [d2699dc7a]
System information
Linux Ubuntu 20.04 with Unity desktop + Intel Haswell integrated graphics
Issue description
If I run godot 4 rc2 in the terminal, then close the Godot window, I have the following errors:

ERROR: Attempted to free invalid ID: 0
at: _free_internal (drivers/vulkan/rendering_device_vulkan.cpp:8394)
ERROR: Attempted to free invalid ID: 0
at: _free_internal (drivers/vulkan/rendering_device_vulkan.cpp:8394)
ERROR: Attempted to free invalid ID: 0
at: _free_internal (drivers/vulkan/rendering_device_vulkan.cpp:8394)
ERROR: Attempted to free invalid ID: 0
at: _free_internal (drivers/vulkan/rendering_device_vulkan.cpp:8394)
ERROR: Attempted to free invalid ID: 0
at: _free_internal (drivers/vulkan/rendering_device_vulkan.cpp:8394)
ERROR: Condition "!shader" is true.
at: shader_free (servers/rendering/renderer_rd/storage_rd/material_storage.cpp:2453)
ERROR: Condition "!material" is true.
at: material_free (servers/rendering/renderer_rd/storage_rd/material_storage.cpp:2686)

(I also sometimes have memory leak warnings, but that is another issue I think)
If I run Godot headlessly e.g. using --convert-3to4, it quickly ends the process and shows the same error (good to know to quickly reproduce it without manual intervention).
Note: project is mobile, I have both an integrated Intel Haswell graphics card with only partial support for Vulkan, and a discrete Nvidia GPU that does support Vulkan but doesn't seem to be detected.
Steps to reproduce

Run godot4 (rc2) in terminal
Close window

OR

Run godot4 --convert-3to4

Minimal reproduction project
N/A (create any empty project to reproduce)

I'm getting this output on an exported game in Windows 10 made with Godot 4 stable (calling it from the CMD so I can see the output):
Godot Engine v4.0.stable.official.92bee43ad - https://godotengine.org
Vulkan API 1.3.236 - Forward Mobile - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce GTX 1050 Ti

ERROR: Attempted to free invalid ID: 0
   at: _free_internal (drivers/vulkan/rendering_device_vulkan.cpp:8394)
ERROR: Attempted to free invalid ID: 0
   at: _free_internal (drivers/vulkan/rendering_device_vulkan.cpp:8394)
ERROR: Attempted to free invalid ID: 0
   at: _free_internal (drivers/vulkan/rendering_device_vulkan.cpp:8394)
ERROR: Attempted to free invalid ID: 0
   at: _free_internal (drivers/vulkan/rendering_device_vulkan.cpp:8394)
ERROR: Attempted to free invalid ID: 0
   at: _free_internal (drivers/vulkan/rendering_device_vulkan.cpp:8394)
ERROR: Condition "!shader" is true.
   at: shader_free (servers/rendering/renderer_rd/storage_rd/material_storage.cpp:2453)
ERROR: Condition "!material" is true.
   at: material_free (servers/rendering/renderer_rd/storage_rd/material_storage.cpp:2686)

It only happens with Forward Mobile.

Oh, arguably same issue: https://github.com/godotengine/godot/issues/67406

Duplicate of https://github.com/godotengine/godot/issues/67406.


fetch api does not parse response headers properly

Bug report

What is the current behavior?
The fetch api sometimes (but actually most of the time) are getting empty or weird headers
{ req: "/assets/css/app.css?id=300e29a2f3c29cee824a18f8faad7ec9", headers: { } }
{ req: "/_debugbar/assets/stylesheets?v=1657531602&theme=auto", headers: { } }
{ req: "/_debugbar/assets/javascript?v=1657531602", headers: { } }
{ req: "/assets/js/app.js?id=c8789ab28c9fcdd81120fe41670de297", headers: { "1o00": "1A0 1o00" } }
{ req: "/favicon.ico", headers: { host: "localhost", date: "Sun, 25 Sep 2022 20:35:29 GMT", connection: "close", "content-type": "image/vnd.microsoft.icon", "content-length": "0" } }
{ req: "/api/graphql", headers: { } }

If the current behavior is a bug, please provide the steps to reproduce.
Here is the simple reverse proxy i trying to make with bun
Bun.serve({
    port: 8080,
    async fetch(req: Request){
        let url = new URL(req.url);
        let newReq = req.clone();
        newReq.headers.set('X-Forwarded-Host', req.headers.get("host")); // hostname from req.url is not accurate
        newReq.headers.set('X-Forwarded-Proto', url.protocol.replace(':', ''));
        let res = await fetch("http://<IP_ADDRESS>:8000" + url.pathname + url.search, newReq);
        console.log({req: url.pathname + url.search, headers: res.headers.toJSON()});
        return res;
    }
});

most of the response will became otect-stream when going through this reverse proxy

What is the expected behavior?
the response should be getting correct headers

Other relevant information:
webpack version:
Node.js version:
Operating System: Linux 4.4.0-19041-Microsoft #1237-Microsoft Sat Sep 11 14:32:00 PST 2021 x86_64 x86_64 x86_64 GNU/Linux
Additional tools:

We are not bun, sorry

sorry, i posted it wrongly


[feaLib][test] No need to create temporary file

Loading features from file objects have been supported for a while
already.

As you can see, the STAT tests are failing since @behdad added that extra field to the table header.
It's sill not clear to me whether we should revert the change or adjust the expected test results...
/cc @brawer @moyogo


Recommend to remove Google Analytics record

I would recommend to remove analytics.google.com from the list because it makes impossible to use google analytics. I didn't change your python script or something else, but just removed the record from the host file.

Hi @kraaden,
The hosts file is generative so removing the record has no effect because, upon next regeneration, it will appear again.
Take note that there is a file named whitelist in the repo.
So you can clone the repo,  place this record (and any others) in the whitelist and it won't appear in the generated hosts file when you run python updatehostsfile.py.
One of the roles of this hosts file is to eliminate tracking, by Google and others.
I think the whitelist gives you options to play it as you see fit.
Thanks for the Pull Request, though.  Closing.


Adding send_info action type

This PR ...
Changes

Migrate task_action type to include a send_info value
Use send_info for action history in the case where a receiver has no transports defined.

Checklist
Testing

[ ] Tested locally?
[x] Ran quickTest all?
[x] Ran ./prime test against local Docker ReportStream container?
[ ] Downloaded a file from http://localhost:7071/api/download?
[ ] Added tests?

Fixes
List GitHub issues this PR fixes

#1973

Open review questions:

Any better name suggestions than send_info?
Is the migration kosher?

I'm getting some failures in prime test. The same failures happen against master which makes me think it's unrelated to this change. Confirmation would be much appreciated.

@ronaldheft-usds are you looking for this PR to be split up or is it ok to leave as is in this case?

@jimduff-usds would you mind taking a look to sanity check the changes in the different transport types?


Error: (undefined(473))

Prerequisites

[X] I have searched for existing issues that already report this problem, without success.

Script Version
1.5.5
Platform
Webapp
Current Behavior
When ever I try to use the the Auto buyer it keeps on coming up as buy failure ERR: (undefined(473)).
Expected Behavior
I want the auto buyer to work again
Steps to Reproduce
I do not know it just appered
Additional Information

Have the same issue since today :/
happy new year

Have the same issue since today :/
happy new year


Integration Test - Release - 2022/04/02 08:18:06

Auto create for integration test. IssueCommandFlow

#pri1

Just type '#pri3'

#pri2

#pri3

#assign PRMergerTest1

#assign NonAllowedUser

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

#reassign PRMergerTest2

#reassign NonAllowedUser

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

#please-close

GitHub user PRMergerTest2 has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

#unassign PRMergerTest1

#unassign NonAllowedUser


Installation problems with Ubuntu 16.04

Hi all,
I'm having issues in installing ReACT, similar to the ones that have already been closed, expect no one of the solutions proposed works for me.
The error that I get when executing python3 setup.py install is
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/gabriele/Softwares/ReACT/reactions':
configure: error: C compiler cannot create executables
See `config.log' for more details

while the detail of config.log file reports
configure:3552: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3563: $? = 1
configure:3583: checking whether the C compiler works
configure:3605: gcc -fPIC -I/home/gabriele/Softwares/sundials-4.0.0/instdir/include -I/opt/gsl/2.5/include -L/home/gabriele/Softwares/sundials-4.0.0/instdir/lib -L/opt/gsl/2.5/lib -lstdc++ conftest.c  >&5
/usr/bin/ld: cannot find -lstdc++
collect2: error: ld returned 1 exit status
configure:3609: $? = 1
configure:3647: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Copter"
| #define PACKAGE_TARNAME "copter"
| #define PACKAGE_VERSION "0.8.7"
| #define PACKAGE_STRING "Copter 0.8.7"
| #define PACKAGE_BUGREPORT "jwgcarlson AT berkeley.edu"
| #define PACKAGE_URL ""
| #define PACKAGE "copter"
| #define VERSION "0.8.7"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3652: error: in `/home/gabriele/Softwares/ReACT/reactions':
configure:3654: error: C compiler cannot create executables
See `config.log' for more details

so, tl;dr it seems not to find any stdc++ library
Thank you in advance.
Gabriele

Hi Gabriele,
Sorry for the fairly late reply :) I've included an instruction set on how to install on Linux machines in the README now which has worked on two separate OS.


ui-sref doesn't work with null since v. 0.2.14

ui-sref="contacts.detail({ param: null })"

state.go with params also stopped working in 0.2.14:
$state.go('history', { pendingActive: false});
There's no error, but the page does not change.

duplicate of #1915


debugger target for posix

make -f posix.mak std/XXXXX.test is awesome but sometimes I need to attach a debugger
DEBUGGER=ddd BUILD=debug make -f posix.mak std/XXXXX.debug allows to do that

recursive make for the win

fixed

@MartinNowak @CyberShadow as you are our tzars of the Makefiles. Could you please have a quick look at this addition? Thanks!

@CyberShadow thanks for reviewing

thanks


Create repository dashboard

A handy script which spits out a repository dashboard, summarising things like open PRs and latest release version using shields.io.

Looks good! (Can't see how it breaks anything and if there's anything not-quite-right we can work from there).
Is there a master template for this somewhere that other projects (can) use?


On ios, it looks not working

Hello, I have problems when using this, my iphone can't show watermark on full screen. In MacOS and andriod. it works well!

@spartaheonil , if you are using VHS, you must override the native behavior like this
var player = videojs('playerId', {
  html5: {
    vhs: {
      overrideNative: true
    },
    nativeAudioTracks: false,
    nativeVideoTracks: false
  }
});

Read more at : https://github.com/videojs/http-streaming#overridenative

yes i did it. but it looks not working.
below is my videojs option.
html5: {       vhs: {         overrideNative: true,         cacheEncryptionKeys: true,       },       nativeAudioTracks: false,       nativeVideoTracks: false,     },

It's a platform limitation then.
From the author himself in this thread

Unfortunately, there isn't anything that can be done on iOS beyond disabling the fullscreen button. Chrome on iOS will always use the native player. Safari will use the native player on iPhones but it should take the player fullscreen on iPads with version 12 and newer.

If you badly need this to be implemented, try disabling the full-screen control in the iOS devices and use fullWindow() instead for fullscreen like experience as mentioned in the thread I've mentioned above.


Tidy various clippy lints

Using #[non_exhaustive] breaks pre-1.40 support, that's acceptable at this point

bors r+


Prevent nested comments in kotlin

Added line to escape the sequences /* and */

Sorry about the second pull request, I'm still working on my git foo, and managed to close the last one.

👍


i18n(zh-cn): Update data-fetching.mdx

Description (required)
Update data-fetching.mdx
NOTE: To update the status of the Docs translation, I commit some change.
Related issues & labels (optional)

Suggested label: i18n

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File
Note

zh-cn/guides/data-fetching.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


Item Conduit connects to capacitor bank

Not a huge deal, but it doesn't really make sense either.

Why not? Capacitor banks hold items.

Huh?! How can you tell if there are items in a capacitor bank?

What? Just...open it?

Fair enough.


Force notifications in recursive or planned mode

Depend on this libbash issue: https://github.com/pruje/libbash.sh/issues/34

Fix in commit 98a7d6699595eda3e45f4cc5a0035b0c87f89c91


--all Flag for "pachctl delete pipeline" Doesn't Work When there Are Dependencies

This may not be specific to 2.0, but as I'm testing DAGs provided by a customer against 2.0, I want to be able to delete all of the pipelines from one DAG before I deploy and test the next DAG.  Since the pipelines in a DAG have dependencies on each other, they have to be deleted in the proper order - i.e., the pipeline at the end of the DAG has to be deleted first, since no other pipelines are using its output repo, then once that's deleted you can move up the chain.
Rather than trying to figure out the proper order in which to delete all the pipelines, I thought I could just run pachctl delete pipeline --all and it would do all of this for me. Instead, it just starts trying to delete pipelines, and then fails because it didn't do them in the right order, and there are still dependencies on the pipelines it tried to delete.
AB#41

I just discovered the --force flag to "delete the pipeline regardless of errors", and specifying that in addition to the --all flag does work.  I would consider that a workaround, though, as --all should be able to cleanly delete the pipelines in the proper order.


PAM build results are not reported to Slack

What happened?
Overview
PAM's daily CI build workflow is scheduled to run at 14:23 UTC every weekday and should report results to our #pam-feeds Slack channel. Although the build is running as scheduled, no messages are being sent to Slack to report the results.
Futher Detail
The Actions job responsible for sending messages seems to be failing silently - neither the success nor failure job show as complete in the UI:

One reason looks to be an incorrectly configured Slack channel name (pam-feed should be pam-feeds). Note that the docs.yml workflow has the same problem. It is possible that there are multiple problems with this job, but fixing the channel name is a good place to start.
We should fix the broken Slack channel name and possibly also look into failing the build if the notification job fails.
Which operating systems have you used?

[ ] macOS
[ ] Windows
[X] Linux

Version
N/A
Relevant log output
No response

Reopened because the fix only half worked - notifications are sent to Slack for failed jobs, but not when jobs succeed.


Fix format in configure-azure-cni-static-block-allocation.md

@joeyc-dev - thanks for the formatting fix!


python311Packages.gotailwind: init at 0.2.2

Description of changes
Module to communicate with Tailwind garage door openers
https://github.com/frenck/python-gotailwind

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.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.

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

2 packages built:

python311Packages.gotailwind
python311Packages.gotailwind.dist


[E2E] Add initial draft of end-to-end testing / UI Automation

Summary
Initial draft for UI Automation

add npm package: nightwatchjs and selenium-standalone
add initial test to HTML elements
add login and logout action

[Still work in progress]

Given this is still WIP, I've had a brief look through, and I like the approach generally.
It worries me a little bit how much these tests look like they might break with trivial changes to the UI (thinking about the xpath bits for finding various elements), but I guess that's just the price we have to pay for automated QA, and at least with automated tests, developers will be aware of the tests that have broken and be able to update tests along with the relevant PR rather than making life hell for QA folks.

We should use ids to map the elements when we can use, it helps to create more strong tests.

This is now ready for review as preliminary for end-to-end testing. This is the start of sending PRs related to ui-automation.

I will add some stuffs to this PR, or do you guys think is better add in another one? @saturninoabril @grundleborg

@cpanato This PR aims to introduce initial structure. It's fine with me if you think it's best suited here. Either way works for me 👍


[Windows] Move JavaScript dialog support to app_modal component.

Remove previous code from b19a154 and use the code landed for Linux.
Please note that this commit also fix the ASSERT triggered in debug
build (which is also triggered on Linux). The fix is to make sure
that we initialize the vm state as we're adding transient windows
alongside with the root window.

@pozdnyakov @joone @XiaosongWei PTAL

@pozdnyakov

lgtm


mobx-react make react-css-module doens't work

Warning: Unknown prop styleName on <div> tag. Remove this prop from the element. For details, see

and my code :
@inject('global')
@observer
class InvoiceManage extends React.Component {
}
export default CSSModules(InvoiceManage, styles)

Probably CSS modules needs to be inbetween inject and observer (that is actually one of the reasons they are seperate), so probably you need something like:
class InvoiceManage extends React.Component {
}

export default inject('global')(CSSModules(observer(InvoiceManage), styles))

@mweststrate , this won't work,its will occur Endless Loop of rerender.

@icepoint0 I think you have put it in wrong order, try this
@inject('global')
@observer
@CSSModules(styles)
class InvoiceManage extends React.Component {
}

export default InvoiceManager;

@icepoint0 did the above address the issue?
Otherwise you can always consider to split the component into two; one observer component that just picks of the data you need, and pass it as non-observables to a helper component that does the actual rendering and is wrapped with the CSSModules decorator?

Closing for inactivity

Sorry to resurrect this issue but I did what @diondirza mentioned with putting the decorators in the inject, observe, cssmodules order but I still get endless looping with the following error in the console:
Warning: forceUpdate(...): Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state.
I'll play around with it a bit more but I was wondering if anyone found a fix for the issue. I have a blank project setup with just an App and a Example container and 1 commonStore to reproduce the issue. If anyone needs it, let me know and I'll put it up into a public repo.
Splitting the component into 2 is a bit of extra work since the project i'm trying to integrate MobX into is already using CSS modules and i'd have to split many many components to make it work that way :(

For anyone stumbling across this in the future.... I found the issue!
It's an issue with the react-css-modules package and the way it was designed to work. You can see it conflicting with another package and a better explanation here: https://github.com/jayphelps/core-decorators.js/issues/80
The only (and easiest) solution is to switch to babel-plugin-react-css-modules and it all works fine now since that's a babel plugin, you don't need to have the @CSSModules decorator or wrap the export at all!
I still have to iron out some issues with it compiling my SASS/SCSS but I'll figure that out in time too.
Have a great day!

Ugh, this one is biting me hard. I'm worried about trying to migrate to babel-plugin-react-css-modules since we're still using Less. I wonder if it's possible to try to take the source code for @observer and @cssModules and try to combine them into one decorator.
I wonder why it doesn't bite more people. Does it suggest that the intersection of projects who use Mobx and react-css-modules and who've updated is quite small?

@jjinux I had no problems moving to babel-plugin-react-css-modules (for css and scss). Less should work easily too! Give it a try on your project!

On https://github.com/gajus/react-css-modules/issues/200, it says, "This project is no longer actively maintained. I suggest inspecting https://github.com/gajus/babel-plugin-react-css-modules."
Let's hope it goes smoothly ;)


Specification in the README

Hi DefiJesus! Please add a Specification in the README similar to https://github.com/llama-community/aave-bal-interest-rate-updates/tree/proposal#readme

done, ty for the heads up. I really like the format


Refactor util.go

sort functions
add Min16, Constrain16, AsUint32
omit types of function arguments

sort functions

I'd rather not do this, it makes it hard to see the diff or track the changes (git blame) in a line range.
You see it's hard to see if the moved functions are the same as before or not: https://github.com/junegunn/fzf/pull/3065/files

omit types of function arguments

I'm just being curious. Is this the recommended style these days? Are you following a specific Go style guide? The code we're discussing here dates back to early 2015. I don't recall following any style guides back then. I wonder if the community standard has evolved over time.


Does not work with yarn workspaces

yarn run v1.15.2
$ react-scripts -r @cypress/instrument-cra start
internal/modules/cjs/loader.js:651
    throw err;
    ^

Error: Cannot find module '/monorepo/packages/my-react-app/node_modules/react-scripts/config/webpack.config.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:649:15)
    at Function.Module._load (internal/modules/cjs/loader.js:575:25)
    at Module.require (internal/modules/cjs/loader.js:705:19)
    at require (internal/modules/cjs/helpers.js:14:16)
    at Object.<anonymous> (monorepo/node_modules/@cypress/instrument-cra/index.js:17:24)
    at Module._compile (internal/modules/cjs/loader.js:799:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:810:10)
    at Module.load (internal/modules/cjs/loader.js:666:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:606:12)
    at Function.Module._load (internal/modules/cjs/loader.js:598:3)
error Command failed with exit code 1.

This is looking for node_modules/react-scripts/config/webpack.config.js, but this file would actually exist higher up where yarn workspaces uses a single node_modules for all workspaces that use the same version of react-scripts as a dependency.

I am facing the same problem

I solved this issue. You need to upgrade your react-scripts to 3.3.0 versions.
"dependencies": {
    "react-scripts": "3.3.0"
}

Thanks @YacheLee , I can confirm that this error no longer appears with your solution.

Had the same problem, fixed it by symlinking node_modules/react-scripts/config/webpack.config.js to where it actually is. I also had to mess around with the last line in the index.js file because require.cache didn't work properly.

:tada: This issue has been resolved in version 1.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

Hello! I confirm it works, it points to the react-scripts at the root of the workspace.
But in my case, this is a problem: I had to "nohoist" the react-scripts because of versions issues, so I have a yarn workspace but the react-scripts are not in the root, they are in the current directory (from which I launch react-scripts -r @cypress/instrument-cra start).
Any chance it might become configurable? Or maybe the script could try first the current node_modules and then look for the workspace root as a fallback? What do you think? Thanks.

Hello! I confirm it works, it points to the react-scripts at the root of the workspace.
But in my case, this is a problem: I had to "nohoist" the react-scripts because of versions issues, so I have a yarn workspace but the react-scripts are not in the root, they are in the current directory (from which I launch react-scripts -r @cypress/instrument-cra start).
Any chance it might become configurable? Or maybe the script could try first the current node_modules and then look for the workspace root as a fallback? What do you think? Thanks.


De-Indent code on paste into IW code cell

One thing I find myself doing VERY often is copying a small chunk of code from a python file (which could be eg inside a loop, and indented x times) and pasting it into the IW code entry cell.
It would be super nice if on code paste to IW cell vscode could automatically de-indent to match the current indent scope.
Actual:

Would be nice:

Or to match correct indent level:

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

I wonder whether format on paste would work in that IW editor? "editor.formatOnPaste": true

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

@roblourens I can quickly fix the code by running the format command with a keyboard shortcut, but would be a nice-to-have for it to automatically format on paste

I think you probably just want to enable editor.formatOnPaste

formatOnPaste doesn't seem to apply to the input box, so that's probably on me to implement

Looks like it's controlled by this EditorOption and we would have to read the setting to set the option:
https://github.com/microsoft/vscode/blob/395753c740b3811ab6df7113eaa6c5b33f8aab53/src/vs/editor/contrib/format/browser/formatActions.ts#L182

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


manually edit  .as far as i know  cookie json exported by browser extension is not a fully valid conformant to cookie standard

manually edit  .as far as i know  cookie json exported by browser extension is not a fully valid conformant to cookie standard
Originally posted by @wanghaisheng in https://github.com/wanghaisheng/youtube-auto-upload/issues/12#issuecomment-1120172509
about the question,i want to know what do i need to do?

manually change no_restriction to

   "sameSite": "None",

manually change no_restriction to

   "sameSite": "None",

hi，i found cookie.py have  'no_restriction'  i change no_restriction to None, but it don't work as well.

Strict|Lax

i use Strict|Lax, it don't wort too.

in the eventing,i try it again, it works, thank yout


⚠ Bofrost.be has degraded performance

In 2d65b1e, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1139 ms

Resolved: Bofrost.be performance has improved in 142ddea after 6 minutes.


Next is called multiple times

Hello, I've had a lot of fun with this framework!
One issue I ran into was when I tried to make a dynamic handler, here is an example
import { Hono } from 'hono'
interface Environment {}
const app = new Hono<Environment>();

app.get('/:id', async (c, next) => {
  let id = c.req.param('id');
  if (id == 'hello') {
    return c.text('Hi!');
  } else {
    return await next();
  }
});
app.notFound((c) => {
  console.log(`${c.req.url} not found`)
  return c.text('NOT FOUND', 404)
});
export default app;

There are two issues

Typescript does not like a handler with type Promise<Response | void>
Next is called multiple times

Error: next() called multiple times
    at dispatch (index.js:245:35)
    at index.js:262:21
    at async Hono2.dispatch (index.js:625:21)

I would expect that it continues and runs the not found handler.
When it matches, this handler works

But otherwise it responds with Internal Server Error

Hi @cendyne
Sorry for the lack of clarity. You can write like this:
const app = new Hono()

app.get('/:id', async (c) => {
  const id = c.req.param('id')
  if (id == 'hello') {
    return c.text('Hi!')
  }
  return c.notFound()
})

app.notFound((c) => {
  console.log(`${c.req.url} not found`)
  return c.text('NOT FOUND', 404)
})

export default app

You don't have to use next() in your hander.
In the handler, you have to return the Response object using c.text(), c.json(), or c.notFound() ...

Thank you for creating the issue!

Understood, thank you for the rapid reply!


[BUG] <HTTPError: 403 Client Error>

Is there an existing issue for this?

[X] I have searched the existing issues

Description of the Bug
File ~/.local/lib/python3.10/site-packages/model_center/utils/net_utils.py:63, in check_web_and_convert_path(path, load_type)
62 try:
---> 63     requests.get(f'{url}/config.json', stream=True).raise_for_status() # use config.json to check if identifier is valid
64 except:
File ~/.local/lib/python3.10/site-packages/requests/models.py:1021, in Response.raise_for_status(self)
1020 if http_error_msg:
-> 1021     raise HTTPError(http_error_msg, response=self)
HTTPError: 403 Client Error: Forbidden for url: https://openbmb.oss-cn-hongkong.aliyuncs.com/model_center/bert-base-uncased/config.json
Environment Information
- GCC version:11.4.0
- Torch version:2.4.0+cu121
- Linux system version:Ubuntu 22.04
- CUDA version:12.5
- Torch's CUDA version (as per `torch.cuda.version()`):12.1

To Reproduce
https://github.com/OpenBMB/ModelCenter/blob/main/README-ZH.md#2-准备模型
import torch
from model_center.model import Bert, BertConfig
from model_center.layer import Linear
class BertModel(torch.nn.Module):
def init(self, config):
super().init()
self.bert = Bert.from_pretrained("bert-base-uncased")
self.dense = Linear(config.dim_model, 2)
bmt.init_parameters(self.dense)
def forward(self, input_ids, attention_mask):
    pooler_output = self.bert(input_ids=input_ids, attention_mask=attention_mask).pooler_output
    logits = self.dense(pooler_output)
    return logits

config = BertConfig.from_pretrained("bert-base-uncased")
model = BertModel(config)
Expected Behavior
HTTPError: 403 Client Error
Screenshots
No response
Additional Information
This XML file does not appear to have any style information associated with it. The document tree is shown below.

AccessDenied
You have no right to access this object because of bucket acl.
66D6B27ED14BBC30392F06C5
openbmb.oss-cn-hongkong.aliyuncs.com
0003-00000001
https://api.aliyun.com/troubleshoot?q=0003-00000001

Confirmation

[X] I have reviewed and verified all the information provided in this report.

Our OSS cloud storage traffic has been exhausted, and we are currently making adjustments. We apologize for any inconvenience this may cause.

We have temporarily fix the OSS. Please try downloading it now to see if it works.
In the future, we will gradually migrate to a new storage and update the download links in the code.

download successful


Fix the highlighted gene ID in Gene tree

Description
The highlighted gene ID is not displayed correctly in the Highlighted genes info box. This happens when the orthologue gene ID does not have a display name. The reason behind this was that the code checked if the display name of the orthologue exists and when it fails would display the stable ID of the orthologue instead of the current gene.
The changes in this PR will show the stable ID of the current gene when this check fails. It would be ideal to show the display name instead, but I couldn't figure out how to do it as everything I tried ended up breaking the code.
Sandbox link: http://wp-np2-1e.ebi.ac.uk:8330/Homo_sapiens/Gene/Compara_Tree?anc=46819155;db=core;g=ENSG00000133392;g1=ENSEEUG00000000659;r=16:15703135-15857028
For comparison the staging link is: http://staging.ensembl.org/Homo_sapiens/Gene/Compara_Tree?anc=46819155;db=core;g=ENSG00000133392;g1=ENSEEUG00000000659;r=16:15703135-15857028
Views affected
Gene tree -> Highlighted gene info box
Related JIRA Issues (EBI developers only)
ENSWEB-6591

Judging by other parts of the code, you need to check if there is a display_xref object before calling a method on it. This code will work in human but may throw an error in less well-annotated species.

@ens-ap5 I'm now checking if display_xref exists and assign the value of g param if it doesn't. Is there a better way to do this?


feat: implement a better way to resolve remote and upstream branch

Problem
From #110

When multiple remotes are returned from git remote, this extension defaults to using the first returned remote name. This can be frustrating when the first remote name is not the desired remote to use.

And
when the local branch name doesn't exist in the remote, the link generated by the current implementation leads to a 404 Not Found (See https://github.com/sourcegraph/sourcegraph-vscode/pull/24#issuecomment-634181548).
Changes
Use git rev-parse --abbrev-ref HEAD@{upstream} to resolve the remote name and upstream branch. Use the remote if it exists instead of the first remote in the list. It could potentially solve the issue mentioned in #110. This command could also resolve the upstream branch if it exists. If not, it will use HEAD instead. This should solve the second problem mentioned above.
Tests
Mannually run open file in sourcegraph in the following scenarios:
local branch -> upstream branch -> sourcegraph

local: master -> upstream: origin/master -> sourcegraph: master
local: test ->  upstream: origin/test -> sourcegraph: test
local: test2 -> upstream: test1 (local branch) -> sourcegraph: master
local: test2 -> no upstream -> sourcegraph: master
local: detached HEAD -> N/A -> sourcegraph: master

@guoyiteng Can you fix the merge conflict?
@sourcegraph/web can anyone review this?

@tjkandala can you figure out how to actually do a release (is it automatic?)

@tjkandala can you figure out how to actually do a release (is it automatic?)

@nicksnyder It's supposed to release automatically, but it looks like I need to create a new personal access token (our current token has expired)

@nicksnyder It's supposed to release automatically, but it looks like I need to create a new personal access token (our current token has expired)

@tjkandala did you resolve this (create a new token) or is there still action needed?

@tjkandala did you resolve this (create a new token) or is there still action needed?

I noticed that the latest release in Git tags (1.2.0) was ahead of the latest release  in the marketplace (1.1.0) therefor I deleted the 1.2.0 tag and updated the token (also migrated to GitHub actions #137).

I noticed that the latest release in Git tags (1.2.0) was ahead of the latest release  in the marketplace (1.1.0) therefor I deleted the 1.2.0 tag and updated the token (also migrated to GitHub actions #137).


Doesn't pass promtool check

Use promtool to check the metrics format and gin_request_uv should have _total suffix as it's a counter

Thanks for you PR ~


Clarifying the meaning of "weight"

In the Intro notebook, the backward_pass_output from model.backward has a weight feature.
It seems to me that this is used for performing a weighted averaging in FedAvg, but this is not clear to me how. Perhaps this can be renamed to batch_size?

Valid point. Thanks for letting us know! I just merged https://github.com/google/fedjax/pull/15 which renames weight in both BackwardPassOutput and ClientTrainerState to num_examples instead. We chose not to use batch_size because the definition is a bit too restrictive.

Valid point. Thanks for letting us know! I just merged https://github.com/google/fedjax/pull/15 which renames weight in both BackwardPassOutput and ClientTrainerState to num_examples instead. We chose not to use batch_size because the definition is a bit too restrictive.


Can't Touch Screen When it Gone

when i open it , the pi be no touch,i can use any area on the screen

same issue here.


When trying to drag an picture object which is draggable, the selection is getting started! How can I stop this?

Thanks for creating this wonderful library, I am new to the field of development, please excuse me in case of irrelevant word usage.
I am trying to select picture objects that are created using Konva.js and then I want to know which objects are selected in the code so that I can group individual objects into one but here I am facing two problems. The first one is that the picture objects are draggable so when I am trying to drag the objects the selection is also getting enabled, in my case the selection should only be enabled when clicked on non draggable area and the second one is that when I am selecting the objects and using var selectedItems = selection.getSelection(); to know the objects that are selected, it always returns the array of html element but I need an array of objects references that are selected (Like the variables of objects, like var box, box1, box2 in my code). So, is it possible to know which objects are selected in code?
Below is the fiddle.
JSFiddle.

Environment:
Selection-version: Using CDN
Browser-version:  Chrome version 75.0.3770.100 (Official Build) (64-bit)
Operating-system:  MacOS Mojave 10.14.3

You're welcome :)
First, I'd never use var. It's really deprecated and can cause really, really strange bugs. Stick to const or if you really need to re-assign it use let. If you care about browser-support use babel, but you're using object-deconstruction so I guess you already use it anyway.
The rectangles are drawn to a canvas which makes the situation kinda difficult since if they would be elements you could use the beforestart event to check if event.path contains one of these images / rectangles. In your case you'd need to check whenever the mouse-postition is in a rectangle (using clientX and clientY properties). You would additionally need to take the offset of the canvas into account if it's not positioned at 0|0. So the procedure would be

Add beforestart event hook
Get x/y position of oe (original event) read more...
Check if the cursor is in any of your rectangles
If yes return false in beforestart which would cancel the selection :)

Thank you Simon.
On Sun, Aug 11, 2019 at 9:31 PM Simon<EMAIL_ADDRESS>wrote:

You're welcome :)
First, I'd never use var. It's really deprecated and can cause really,
really strange bugs. Stick to const or if you really need to re-assign
it use let. If you care about browser-support use babel
https://babeljs.io/, but you're using object-deconstruction so I guess
you already use it anyway.
The rectangles are drawn to a canvas which makes the situation kinda
difficult since if they would be elements you could use the beforestart
event to check if event.path contains one of these images / rectangles.
In your case you'd need to check whenever the mouse-postition is in a
rectangle (using clientX and clientY properties). You would additionally
need to take the offset of the canvas into account if it's not positioned
at 0|0. So the procedure would be

Add beforestart event hook
Get x/y position of oe (original event) read more...
https://github.com/Simonwep/selection#events
Check if the cursor is in any of your rectangles
If yes return false in beforestart which would cancel the selection
:)

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Simonwep/selection/issues/49?email_source=notifications&email_token=AKOPG6ZYJ7KLELCFA3BUG7TQEAZWPA5CNFSM4IK4AJE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4BDUDA#issuecomment-520239628,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKOPG6YSQCMUGFAN3TAQO5TQEAZWPANCNFSM4IK4AJEQ
.


 Although its possible to workaround the bug to load Logtalk, this bug will most likely resurface elsewhere. Until the Qu-Prolog fixes this bug, use a previous version (e.g. 9.0 or 9.1) to run Logtalk.

Qu-Prolog 9.7 (and later versions) fix the bug in the built-in atom_concat/3 predicate that prevented loading Logtalk.


[bash] Add aliases 1) git log decorate, 2) emacs -nw commandline

CI failed with seemingly irrelevant error https://travis-ci.org/github/130s/hut_10sqft/jobs/699564317#L3821
E: Failed to fetch https://apt.dockerproject.org/repo/dists/ubuntu-xenial/main/binary-amd64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
++error 188
++local _LINENO=188
++local _ERR_MSG=
++local _ERR_CODE=1
++[[ -n '' ]]
++echo 'Error on or near line 188; Exiting with status code: 1'
Error on or near line 188; Exiting with status code: 1
++'[' 1 -ne -1 ']'
++exit 1
The command "./script/install_ubuntu_common.sh $HOSTNAME true" failed and exited with 1 during .

CI https://github.com/130s/hut_10sqft/pull/433#issuecomment-645765525 is hopefully not blocking error.


Random forest probability output

The current implementation only outputs binary labels:
https://gist.github.com/olinguyen/ade8e2bd0899b2ec9bee00d03fbb5172
It would be nicer if the forest would average the probabilistic predictions of each tree, as e.g. done in sklearn

In contrast to the original publication [B2001], the scikit-learn implementation combines classifiers by averaging their probabilistic prediction, instead of letting each classifier vote for a single class.

@karlnapf for this would you use https://github.com/shogun-toolbox/shogun/blob/develop/src/shogun/ensemble/MeanRule.h
once RF can output probabilities for classification?

Yes in general an average is used. We will have to check the details though.

Done in #3954


chore: set up procedure for preparing release notes

We are switching to a new system for preparing release notes.

Release notes will be compiled when creating a release candidate from all the commits that are part of that release.
PRs can include suggestions for release notes in PR messages. Please use language such as "release notes" and "breaking changes" to call attention to the suggestions. Release notes are user-centric rather than developer-centric.
For more complicated release notes, these can be put into the releases_drafts folder.

This solves an issue where PRs that include release notes can, when merged, have those notes appear under the wrong Lean version, since they might have been created before a release but not merged until after. It also solves merge conflicts due to multiple PRs updating the release notes.

Where have the release notes for 4.8.0-rc2 gone? They aren't in the releasees_drafts/4.8.0.md file as advertised.
I think it is important to have release notes also for release candidates, as this is the first place to look for breaking changes when updating mathlib or a project depending on it.

@digama0 They're in the release branch in RELEASES.md. I deleted them here because something went wrong with how they were merged into master, and I was going to copy them back in a future step.

Oops, conflict to resolve.

@semorrison I guess case-in-point for contention and weird merges! #3940 ended up somehow adding another v4.8.0 heading on master 🙃


[Bug] [dolphinscheduler-master] After deleting the running workflow, the master keeps brushing the error log

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened

What you expected to happen
.
How to reproduce
.
Anything else
No response
Version
2.0.2
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

It is not a running workflow instance and cannot be deleted successfully

@songjianet UI need to disable deletion of running workflow too.


Couchbase Server 4.0.0 released

This PR also adds separate packages for El Capitan.

Thank you for the contribution. However, there is no need to create separate casks for El Capitan. You can simply verify the Mac OS release in cask itself and serve the right download URL. For example for couchbase-server-community.rb you could use:
cask :v1 => 'couchbase-server-community' do
  version '4.0.0'

  if MacOS.release <= :el_capitan
    sha256 '26edea946d845a96e21e887348f853dff0a632b7bf6d42e9d559b647855648f6'
    url "http://packages.couchbase.com/releases/#{version}/couchbase-server-enterprise_#{version}-elcapitan_x86_64.zip"
  else
    sha256 'ff994c89abf2efcc7dafa6753cfc25c821f3cc24935dccb7a979d170ced56162'
    url "http://packages.couchbase.com/releases/#{version}/couchbase-server-community_#{version}-macos_x86_64.zip"
  end
...

This is a good point and thank you. I'll fix it up and recommit.

For some reason, after downloading the packages and manually verifying the SHA checksums, they were different which is why I updated them. I will fix the appcast and try again.

I am just going to try this as a new PR again later.


Vulnerability roundup 68: zziplib-0.13.69: 1 advisory

search, files

[ ] CVE-2018-17828 (nixos-unstable)

Scanned versions: nixos-unstable: 971b731fc18. May contain false positives.

See also #60110


how to list networks

https://manual2.threefold.io/#/code_network
doesn't say

networks are made up of multiple workloads of type Network Resource so listing networks can be done by searching for network resource workloads and checking their name value.
below is an example on how to do that and create zos Network object for each one that can be used to update the network
from jumpscale.clients.explorer.models import WorkloadType
from collections import defaultdict

zos = j.sals.zos.get()
# fetch all deployed workloads
all_workloads = zos.workloads.list(j.core.identity.me.tid, "DEPLOY")

# collect the workloads that makeup each network
network_workloads = defaultdict(list)
for workload in all_workloads:
    if workload.info.workload_type == WorkloadType.Network_resource:
        network_workloads[workload.name].append(workload)

networks = []
for network_name, resources in network_workloads.items():
    # create zos network object with the network information
    network = zos.network.create(resources[0].network_iprange, network_name)
    # add only latest resource deployed on each node the network object
    node_workloads = {}
    for workload in resources:
        node_workloads[workload.info.node_id] = workload
    network.network_resources = list(node_workloads.values())
    networks.append(network)

can also use reservation chatflow with
JS-NG> j.sals.reservation_chatflow.deployer.list_networks()
{'myn1': <jumpscale.sals.reservation_chatflow.deployer.NetworkView object at 0x7fe89297ff40>, 'bz3': <jumpscale.sals.reservation_chatflow.deployer.NetworkView object at 0x7fe88c8bb040>, '17d03c275dda4bc7b0fb7d0afa7d889d': <jumpscale.sals.reservation_chatflow.deployer.NetworkView object at 0x7fe88ebde220>, 'ahmedthabet.3bot_apps': <jumpscale.sals.reservation_chatflow.deployer.NetworkView object at 0x7fe88f04fa30>}

https://github.com/threefoldfoundation/info_gridmanual/commit/640dba7016da30b973d6cfa0dfe69775ab2deaee


picture get stuck in some games

In some games, the picture will be stuck for a period of time. At this time, there is only sound. In addition, when the picture is stuck, the CPU utilization is not high.

Without knowing specific steps in order to reproduce this behavior, I'm afraid it's impossible to fix this floating bug.

howerver, which data shall i provide, it is easy to reproduce in my pc.
I tested three roms (1942.nes/1945kiii.zip/SnowBros.nes), all of them reproduced this problem, and when this problem occurred, all indicators were normal (network/cpu)

It seems like a stream problem, frame drop to zero when got stuck

Personally, I've never had such issues on local or cloud servers. One relatively similar issue that I had was when the video stops playing when you switch tabs in chrome and it just disables video rendering until a next keyframe would be received from the server.

Make a dump attach it here after some time when this happens. The dump button should be in Chrome in chrome://webrtc-internals/ at the very top, then it can be imported into https://fippo.github.io/webrtc-dump-importer/.

webrtc_internals_dump (2).txt
dump file here
@sergystepanov

Yeah, this' definitely something on the Go's side. Those 5 second lags are quite strange. Right now there is no option to gather useful logs on the server side but I had plans for some metrics especially related to blocking and waiting.
Right now you could try to run these games with some  old version (e.g. https://github.com/giongto35/cloud-game/commit/9d17435d7eca09a01bc5d4d7cd54019dfd4a59a7) just to compare lags with old Libretro cores.

even worse when use old version, but i found what the problem is, it would be my network problem, i re-deploy it in the vm of my pc, it works smoothly, but problem occurs when i deploy it in my nuc in the same network of my pc.

I test it with wired network, it work too. it got stuck when in wireless network.
however, latency in wireless network is about 1-3ms and 0-1ms in wired network.

I wonder how it could affect your video stream... without meaningful server logs, it's just a guessing game (;
Maybe, WebRTC congestion control mechanism on the server cuts your video in order to sustain continuous streaming anyhow.
OK, thanks, I'll keep this issue in mind in case if I will test the server via wi-fi.


I have problem with the func cellForItemAt

Hi.
I am using this code to change the background color of the current day.
func calendar(_ calendar: JTAppleCalendarView, cellForItemAt date: Date, cellState: CellState, indexPath: IndexPath) -> JTAppleCell {

        let cell = calendar.dequeueReusableJTAppleCell(withReuseIdentifier: "CustomCell", for: indexPath) as! Calendar_CollectionViewCell

        cell.dateLabel.text = cellState.text
        handleCellTextColor(view: cell, cellState: cellState)

        let today = Calendar.current.isDateInToday(date)
        // Get the cell of current day
        if today {
            cell.backgroundColor = .red
        }

        return cell
    }

for the first month it works, but when I scroll my calendar for other months, I can see other cells with background color equal to red and the application just pass for this line cell.backgroundColor = .red once.
Anyone can help me?

Remember, you are using Apple's UICollectionView.
Cells are reused.
Therefore you have to remember to reset your cells.
        if today { // I see you have this
            cell.backgroundColor = .red
        } else {  // But you did not reset your cell back to normal color
            cell.backgroundColor = yourNormalColor
        }

Therefore if other cells resue that cell, they will all eventually become red.
Closing issue. But let me know if you are still stuck

Perfect. But it doesn't work with a for. For example:
func calendar(_ calendar: JTAppleCalendarView, cellForItemAt date: Date, cellState: CellState, indexPath: IndexPath) -> JTAppleCell {

        let cell = calendar.dequeueReusableJTAppleCell(withReuseIdentifier: "CustomCell", for: indexPath) as! Calendar_CollectionViewCell

        let year = Calendar.current.component(.year, from: date)
        let month = Calendar.current.component(.month, from: date)
        let day = Calendar.current.component(.day, from: date)

        for i in 0...myArray {

            let yearFor = Calendar.current.component(.year, from: array[i])
            let monthFor = Calendar.current.component(.month, from: array[i])
            let dayFor = Calendar.current.component(.day, from: array[i])

            if year == yearFor && month == monthFor && day == dayFor {
                cell.myImage.isHidden = false
            } else {
                cell.myImage.isHidden = true
            }
        }

        return cell
    }

In this code I can see just cells with cell.myImage.isHidden = true but when I debug my code pass at line cell.myImage.isHidden = false twice but I cannot see the image in application.
Can anyone help me?


sudo: yess in ubuntu.yml here are not reflected in book

page 56-57 @makaimc

Yeah, I'm here to report this as well.

thank you @jkokenge, this will be reflected in the next book update I send out to everyone who purchased it. will update this issue ticket when it's released

This is fixed in the December update of the book. Please re-download via Gumroad to grab the updated copy.


Backup points cannot be deleted when in use

Describe the Bug
When backup points are deleted, check that no backup files with backup points are used before they can be deleted; before performing backup operations, check whether the backup points exist, and disallow backups when an error is reported if they do not exist
Versions Used
Kubernetes:
Kubeclipper:
Environment
How many nodes and their hardware configuration:
For example: CentOS 7.5 / 3 masters:  8cpu/8g; 3 nodes: 8cpu/16g
(and other info are welcomed to help us debugging)
How To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.

add "backupNum" field in struct BackupPointStatus, before delete backup point check backupNum field

/milestone v1.1.0


Sidequest No GSettings schemas

Describe the bug
When I go in the "Install APK file from folder" tab on KDE, I get the following critical error and have SideQuest crashed. I tried on another desktop with the same configuration except Gnome installed on it and it works perfectly.
I use the 20.03 channel to install SideQuest
(sidequest:5848): GLib-GIO-ERROR **: 16:43:17.961: No GSettings schemas are installed on the system

To Reproduce
Steps to reproduce the behavior:

Use KDE plasma desktop environment
Start SideQuest
Click on the "Install APK file from folder" tab

Expected behavior
Should display a dialog to pick a file
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
I installed SideQuest using Home Manager from the main nixos configuration.
{ config, lib, pkgs, ... }:
{
	home-manager.users.nover = {
		# Packages
		home.packages = with pkgs; [
			sidequest
			discord
			simplenote
			steam
			minecraft
		];
	};
}

Notify maintainers
@joepie91 @rvolosatovs
Metadata

system: "x86_64-linux"
host os: Linux 5.4.41, NixOS, 20.03.1950.48723f48ab9 (Markhor)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.4
channels(nover): "home-manager-20.03, nixos-20.03.1950.48723f48ab9, nixos-unstable-20.09pre226148.0f5ce2fac0c"
channels(root): "nixos-20.03.1950.48723f48ab9, home-manager-20.03, nixos-unstable-20.09pre226148.0f5ce2fac0c"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

I'm curious, were you able to resolve this? I tried several variations of adding the wrapGAppsHook, but unfortunately I couldn't get it to work.


Path prefix truncated and moved to base path

Using a head build, I exported an API with
basePath: "/"
...

paths:
  /service/{foo-id}
   ...
 /session
   ...

and all the paths were truncated by 3 chars.  Perhaps a coincidence they were the 3 chars which were shared across all paths, i.e  "/se"
The result became:

basePath: "/se"
...
paths:
  rivice/{foo-id}
...
  ssion/

Fixed


What happens to AppConfig?

Will we have to migrate away from using App Configs?  When I migrated my data, I did not see a collection for the AppConfig.

I believe this was actually addressed in #283


Fixes a bug.

Currently the parser only executes a command if the first 4 letters is docs and everything after the 6th message is a match on one of the $docs values. Allowing the 5th character to be anything. This causes docsaurls (might be a soon-to-be-found dinosaur) for example to trigger the bot. My elegant solution fixes this, so the first 5 characters has to be docs .

Thanks!


[CLI] CLI clients:  The request you have made requires authentication.

All service clients gives the following:
[root@localhost ajn(keystone_admin)]# neutron agent-list
The request you have made requires authentication. (HTTP 401) (Request-ID: req-80b3566a-93c2-42a8-9015-97e9cb925eaf)

You need to log in to connect to "admin" tenant account from CLI (using admin rc file)
From HORIZON :

go to  project > access& security > API access > download openstack rc file
copy openstack rc file to a file with the same name in your SSH client
source the file
source demorc.sh

Or Create environment script manually
vi admin-openrc.sh

export OS_TENANT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=$ADMIN_PASS
export OS_AUTH_URL=http://controller:35357/v2.0

vi demo-openrc.sh

export OS_TENANT_NAME=demo
export OS_USERNAME=demo
export OS_PASSWORD=$DEMO_PASS
export OS_AUTH_URL=http://controller:5000/v2.0


Python API client issue

Hello,
I followed the instructions in the notebook to connect to the API in Python, but the command:
client = SwaggerClient.from_url('https://www.genomenexus.org/v2/api-docs',
                                config={"validate_requests":False,"validate_responses":False})

returned ValidationError (see attached screenshot). I was wondering if this is caused by any incompatibility between the Bravado client reader and your API?
Thanks!

@haochenz96 Hello, this issue is fixed, please see the latest notebook: https://github.com/genome-nexus/genome-nexus/blob/master/notebooks/genome_nexus_python_example.ipynb


get elastic backend live on current wallet servers

[x] rebase on top of master
[x] put this on one app wallet server (spv20)
[x] put this on one app wallet server (spv18)
[x] put this on one app wallet server (spv13)
[x] put this on one app wallet server (spv14)
[x] put this on one app wallet server (spv16)
[x] put this on one app wallet server (spv17)
[x] put it on almost all of them
[x] put it on odysee

testing

[x] open tcp/2112 and set prometheus port in wallet-server-env on sdk.lbry.tech
[x] point dns for spv19 to sdk.lbry.tech
[x] wait for a couple hours or a day
[x] unpoint dns, wait a few hours, monitor connection drop-off from grafana

post/during-testing

[x] clean up branch

move writer.py
make it fail to start if you don’t have a ‘search provider’ configured
update udp handshake
Provider:
type: 8 bit
pk: 20 bytes, ecdsa key

[ ] add default ‘search provider’ env settings (for elasticsearch) that are needed to wallet-server.Dockerfile
[x] determine ideal shards/replicas
[x] add a docker-compose for the search provider

merge it

[x] clean up PR
[x] request reviews from jack/lex
[x] merge it into master

at the same time (don't let these block merge into master)

[ ] fix X claims per channel sorting bug
[x] add support for --has-source and --has-no-source filters
[x] time out slow queries
[ ] have elastic search log slow queries
[ ] run trending in child process
[ ] remove swap from hubs in ansible

[X] fix outstanding resolve cases that don't work
[x] update docs on lbry.tech for how to set everything up https://github.com/lbryio/lbry.tech/pull/339

will be up on spv18 today

deploying to a few more today

done


Values get mixed across devices

I use Zwave JS UI in Domoticz via mqqt mosquitto broker. I'm getting strange behaviour that I got new "devices" in Domoticz that doesn't even exists. For example, device for Aeotec Multisensor 6 is created for electric A, V and W values, which is obviously wrong. Similary I get new devices For Fibaro Wall plug for Air temperature which is also obviously wrong.
I guess Zwave JS UI sends out those "devices" as Domoticz probably doesn't simply make them up. It doesn't happen a lot, but from time to time, so it's not quite easy to log.
What is going on?

@bostjane Firstly, do you see those values in UI? I mean go to control panel, click (expand) the node row and check if it reports support for those command classes. Some nodes report support for command classes they should not and that's a possible reason of this issue

I have already checked that in the beginning and forgot to mention it in my first post.
If device sends a specific value, does it stay in GUI forever (with exception to re-interview)? I checked Multisensor 5 and Fibaro Wall Plug and they do not have this invalid values in GUI, but they do appear in Domoticz. Maybe there is a problem when values are pushed to the mqqt broker?

I'll send log as soon as next such event occurs...
In my previous post I wondered if anything can be determined theoretically, without log. In particular documentation says "The sending node supports an older version of the Meter or Multilevel Sensor CC that do not support querying which meters/sensors the device supports." as case when it can't be done anything to prevent wrong data to be accepted. Is "Multilevel Sensor v5" old enough for such statement? Or is it new and device could be queried and wrong values discarded as a result.

without a log it's difficult to say

Here are logs and screenshot of wrong devices in Domoticz. The most probable time when the wrong devices appeared is the "Last seen" time in Domoticz.
zwavejs_2023-08-09.log.gz
zwavejs_2023-08-10.log.gz
zwavejs_2023-08-11.log.gz
zwavejs_2023-08-12.log.gz
zwavejs_2023-08-13.zip

@AlCalzone do you think this is related to: https://zwave-js.github.io/node-zwave-js/#/troubleshooting/nonsensical-values ?

Yeah it is. The W report at the bottom is received 3 times with the same content. So if it is not from node 28, the node ID was likely corrupted somewhere along the route and a repeater repeated the same corrupted command multiple times.
In general, this mesh is not healthy. Tons of repeated messages, much too much reporting going on. Essentially the mesh flooded to its limits just from the meter/sensor reports.
I suggest following these steps:

If you haven't already, https://zwave-js.github.io/node-zwave-js/#/troubleshooting/connectivity-issues?id=general-troubleshooting
https://zwave-js.github.io/node-zwave-js/#/troubleshooting/network-health?id=optimizing-the-reporting-configuration
https://zwave-js.github.io/node-zwave-js/#/troubleshooting/network-health?id=testing-the-connection-strength

Yes, the world tends not to be ideal and neither is my mesh :) I'll follow recommendations above as much as I can, but of course I can not move my washing machine and motion sensor just to have better reception :)
Just for seconds let us leave the fact of flooded mesh, bad transmissions, etc and focus on corrupted message that Zwave JS got - it could be the only message in an day and still be something that needs to be addressed. So, could ZWave JS somehow detect this corrupted message and discard it, that's something that might be done and improve the overall reliability, not just in my case but for all?
My thinking... corrupted message must have originated from nodes where Aeon Labs Smart Switch 6/7 are connected. Only those nodes can send electric V, A and W values in "Meter v3". As Node 28 does not have "Meter v3", shouldn't/couldn't Zwave JS simply ignore such data? If not unconditionally, I suggest new feature that Zwave JS accepts them in first inclusion or Re-Interview (as now), but not later anymore. Or maybe to introduce check option in GUI per-device or globally that would prevent receiving values that device doesn't have.
I think such upgrade would be very useful.

As Node 28 does not have "Meter v3", shouldn't/couldn't Zwave JS simply ignore such data?

Indeed, this is on the todo list: https://github.com/zwave-js/node-zwave-js/issues/5510
That said, improving the mesh health and reducing the traffic goes a long way in preventing such issues altogether.

Indeed, this is on the todo list: zwave-js/node-zwave-js#5510

I have scheduled this for the next release, FYI.

The https://github.com/zwave-js/zwave-js-server/blob/master/src/lib/server.ts#L509 PR has been merged many months ago and this should be fixed now


bugfix: swapped xy in torch.meshgrid

Assuming the input tensor is of shape [B, d, H, W], the order of torch.meshgrid function is (x,y) (W,H respectively).

No worries :-)
Thank you for your huge contribution!


Add copy button

I added a copy button which i think is very convenient to have and I'm always missing.

Hi, @santaclose !
Thank you for your PR!
I tested your code and worked fine in my environment!
One point, I thought it would be easier to understand if the 'Copy' button was labeled 'Copy to Clipboard'.
However, the width of styles.info needs to be adjusted (in my environment, 120px fits in one line) because the number of characters becomes too large and lines are broken.
Hello @BenWeisz , long time no see! How do you think about this?

Thanks for replying! yeah I was initially using "Copy to clipboard" as the label and had the same issue so I cut it down to "Copy". I'm fine with whatever you guys decide for the style.

Hi there 👋
Thanks for adding this! I agree with @nagata-yoshiteru, "Copy to Clipboard" would probably be better wording. If didn't mind, could you also please move the copy div above the save button's div?
I've just re-formatted by computer so I don't have node installed or the project cloned, so it might take me a couple days to test this.

Thanks @santaclose and @BenWeisz !
I also agree with moving the copy button above the save button.
So @santaclose, if you don't mind, please implement what we have discussed so far.
Thanks!

updated the commit

Hi, @BenWeisz !
Have you tested this PR?
If you are busy now, I will merge it as I don't see any problem in this PR.
Then, if you see something that needs to be improved, correct it in another PR.
Thanks!

Hi @nagata-yoshiteru,
I unfortunately haven't had the time yet to set up the project again. Feel free to merge the PR, I should be able to check the code sometime next week.
Thanks!

Hi, @santaclose !
We usually add the contributor's name to README.md.
I would like to add your name and nationality in README.md if you don't mind, so let me know your nationality if you prefer!
Thanks!

Hi I'm Venezuelan

Thanks @santaclose !
I have added your name and nationality in README.md, so please let me know if there is something wrong.
I also have published v1.2.0 that contains your commit.
Thanks!

@nagata-yoshiteru I just got around to testing this, but it looks like its working : )


Provide support for an env_variable for package name

Currently in the deploy package, if we want to provide a different package name, we are parsing the file & renaming the package name node.  Would it be possible to provide support for an optional environment variable as the package name?

@mrutkows @houshengbo @daisy-ycguo
The sample is the following, we want to be able to have a manifest of this form
package:
  name: $MY_AWESOME_PACKAGE
  version: 1.0
  license: Apache-2.0
  namespace: _
  actions:
    helloworld:
      function: actions/helloworld.js

And  use the environment variable MY_AWESOME_PACKAGE  for the package name.
@beemarie what's the current behavior? you get an error in wskdeploy?

@beemarie @csantanapr
We are deprecating the format in the previous comment. Here is the new format looks like:
packages:
  PACKAGE_NAME:
    version: 1.0
    license: Apache-2.0
    namespace: _
    actions:
      helloworld:
        function: actions/helloworld.js

Do we need the package name able to read from env variable supported for the new format?
Besides, is it only for package name? We also have trigger name, dependency name, rule name, etc.
I have to say that if we support env variables to be picked up by the manifest, it can be even more complicated to maintain the yaml files, because there can be multiple env variables to manage.

@houshengbo @csantanapr
It is more important to be able to provide PACKAGE_NAME as an env-variable over trigger name, rule name, etc., as packages can not be renamed once created.

it could be implemented as a new feature easily with exiting code; however, we are moving away from “package” to “packages” and then it becomes more difficult...
Currently, "packages" follows our consistent convention/pattern to use names as "keys" (or IDs) in the YAML document. The YAML parser may not handle having and odd string (it might though would have to try it with the go-yaml parser).  If the parser cannot handle it, then we would have to assure we had the “name” (or similar) field as a valid field for “packages” and make sure we replaced the name on the API call.

@houshengbo also be aware that we allow "partial" replacement as well...
e.g.
packages:
  IBM-{$PACKAGE_NAME}:
    version: 1.0
    license: Apache-2.0
    namespace: _
    actions:
      helloworld:
        function: actions/helloworld.js

@houshengbo as part of this feature I would like to add name validation using the regex. for valid OW names (it is documented and also in the OW Packing Spec.).

Daisy implemented the support for cloudant. I think we can directly port the code to use.

@houshengbo yes, Daisy's work (and work previous) should allow replacement easily enough (that is why I told Carlos it should be easy.  However, we would need to assure go-yaml parser does not have issues.


Add /status page

What would that feature address
Add monitoring facility for external tools as sonde. Calling "/" of an application can have side effects (computation, db connection, etc.).
Description of the ideal solution
Application monitoring uses to call a "/static" page on an application to know if the application is still running. Information like "websocket are up" is a plus.
Caveats
Users can want to provide other information on this page for internal needs. Taipy can not handle this custom behaviour but should allow users to do it.
Ex: Ensure that my application can still communicate with an external tool.
Acceptance Criteria

[ ] This page should be resource-efficient.
[ ] Doc on the page for dev and operator.
[ ] Doc for customization of this page.

After a enlightened comment from @FabienLelaquais
the status.html page is now a status.json
{
  "backend_version": "1.2.0",
  "flask_version": "2.1.0",
  "frontend_version": "1.2.0",
  "host": "<IP_ADDRESS>:5000",
  "python_version": "3.10.1 (tags/v3.10.1:2cd268a, Dec  6 2021, 19:10:37) [MSC v.1929 64 bit (AMD64)]",
  "user_status": "on_status(state: State)"
}

Which is way better !

URL is /taipy.status.json

CVE informations are not shown by default @florian-vuillemot


Poor performance of SDF Element Pointer Destruction

Environment

OS Version: Ubuntu 22.04
Source

Description

Expected behavior: Destroying sdf::Element should be relatively fast.
Actual behavior: sdf::Element takes forever to destroy.

Steps to reproduce
Here is a minimal program:
#include <sdf/Model.hh>
#include <sdf/Root.hh>

void deserialize()
{
    std::string sdf = "<?xml version=\"1.0\" ?><sdf version='1.6'></sdf>";
    sdf::Root root;
    sdf::Errors errors = root.LoadSdfString(sdf);
    if (!root.Model())
    {
        return;
    }
    sdf::Model _model = *root.Model();
    return;
}

int main(int argc, char **argv)
{
    std::chrono::steady_clock::time_point begin = std::chrono::steady_clock::now();
    deserialize();
    std::chrono::steady_clock::time_point end = std::chrono::steady_clock::now();

    std::cout << "Whole function call took: " <<
        std::chrono::duration_cast<std::chrono::microseconds>(end - begin).count()
        << "[µs]" << std::endl;
}

On my 8 core intel i7-11850H @ 2.50GHz with 64GB of ram I get the following slow speed:
Whole function call took: 108759[µs]

I.E: It takes 0.1s to parse, validate and destroy what is effectively an empty xml file. We use this function extensively in Gazebo. For instance, when we serialize and deserialize model components. In fact this exact set of steps runs everytime a model is deserialized, hence when we try to run 3k_worlds.sdf where we load 3k shapes, we end up spending 300s just to deserialize the initial scene to the user. In fact when we run perf on the simulated world during, we see a large amount of time being spent inside the sdf library. Additionally, if we were to exit early (as done in this hack) instead of trying to deserialize we see a massive speedup (22s to load vs 300s, I suspect there is additional overhead caused by this bug inside renderutils as well). There are other places where we create and destroy, sdf elements within gazebo fairly frequently, I think its important we address this issue as it can lead to a much better user experience for end-users.
Output

I wonder, do you have a flame graph for this test as well? It would be nice to figure out which function calls are the bottleneck (your comment implies that it's the destruction?)

Sure. Here it is: https://drive.google.com/file/d/1TS4VsLKVfTsSNSTF0d-q88Ndq2tMXG_t/view?usp=drive_link
I seem to be missing some frame information, not sure exactly why but, the destructor does take a lot of time.

I'm not really an expert on sdformat but it seems that the bulk of the time spent in the destruction of XML Elements is actually spent in... Construction of XML Elements? It would be interesting to setup a breakpoint and step through the code to understand what is the path that leads to construction within the destructor

I've been unable to find a way to reproduce the destructor issues. It is possible that the flamegraph is not 100% accurate. However, based on GDB, I've found that the construction itself is very expensive as we reparse the specification every single time. By cacheing the initial parse of the spec as done in #1749, we can significantly improve performance of repeated construction.

From reading through the SDFormat parsing code, I see that there is a critical loop in the readXml function. The readXml function is an internal function called by the readDoc functions and called by itself recursively. An ElementPtr _sdf argument is passed to readXml, and a for loop iterates over the child elements of _sdf. Each child element with a matching SDF description is then cloned with Element::Clone and then passed recursively to readXml.
So Element::Clone is worth some scrutiny, and as implied by the name, it includes some dynamic memory allocation. There are a few places where we could call std::vector::reserve before calling vector::push_back in a loop (see https://github.com/gazebosim/sdformat/pull/1480), which would help a small amount. Ultimately, I think a bigger issue is that each Element stores a copy of its schema in private member variables like elementDescriptions and attributes rather than holding a reference to a canonical representation of the schema. Changing this would be a bigger endeavor but could reduce the amount of memory allocations needed during Element::Clone.

Hey Steve, as I agree that Element::Clone() also needs some scrutiny. I also noticed that we reparse attributes after cloning. I've got a draft PR up for that.

Hey Steve, as I agree that Element::Clone() also needs some scrutiny. I also noticed that we reparse attributes after cloning. I've got a draft PR up for that.

yeah, thanks I just noticed your PR (https://github.com/gazebosim/sdformat/pull/1479) after posting my comment, and because I didn't look into the calls to Param::SetParentElement in Element::Clone, I didn't notice that Param::SetParentElement calls Param::Reparse, which you are tinkering with in https://github.com/gazebosim/sdformat/pull/1479. Note also that the Param::Reparse method was added in https://github.com/gazebosim/sdformat/pull/589.


ConnectionClosedError (teardown error) is back

Saw this error again here: https://travis-ci.org/Flood1993/osbrain/jobs/261780629
Will try uploading the raw log when I can, because right now Travis seems to be bugged and it won't let me. https://github.com/travis-ci/travis-ci/issues/8213
log_ConnectionClosedError.txt

I'll try to have a look at it and see if we can reproduce it locally and fix it for next release. :sweat_smile:

Hopefully #182 is related to this. Wish those stalls were actual tracebacks... :stuck_out_tongue_winking_eye:


vs code setVariable not supported, I can`t change variable value in debug

OS: windows 10
VSCode version:  1.88.1
CodeLLDB version: 1.10.0
Compiler:
clang++ --version
(built by Brecht Sanders, r7) clang version 18.1.3
Target: x86_64-w64-windows-gnu
Thread model: posix
InstalledDir: D:/gcc/bin
Debuggee: 1.exe (executable)
I can`t set variable value in debug panel, in variables tab.
But in debug console by "p name = value" it successfully changes.
If I use other debug extension like microsoft C++ or native debug, but with GDB, it works.
I suppose the problem is with clang on windows or with something other relative.

Today I found out something interesting and useful.
I decided to make a clean portable setup of vs code, vs codium, mingw with ucrt and msvcrt runtime.
I created a new project and wrote configs from the scrath to make tests on clean environment.
Accidentally, I decided to start tests with variable of type int and I was surprised, a value of a veriable could be changed.
I tested it with all combinations of text editors and compilers I listed above, and it turned out to work as intended.
I was thinking the problem was with json configs, but i was wrong.
I opened previous project and I still was not able to set a new value for variables, but i noticed, that I could do it, but for only for some of all variables.
That some variabled turned out to be of fundamental data type.
If a variable was type of alias or something like that, a value of a veriable could be changed via context menu.
Sorry for bad english, it is not my native language.

LLDB doesn't support settings anything other than scalars via SBValue::SetValueFromCString.  Accordingly, codelldb can't do it either.
It seems that the expr command can modify a much wider range of types, try that.


Install in Ubuntu 14. ImportError: dlopen: cannot load any more object with static TLS

There is a known issue when installing  pip version of scikit-learn with conda version Pytorch (see here for details).
The workaround to use clinicadl is to uninstall conda version of Pytorch and install its pip version (at the same time, reinstall, also with pip, scikit-learn and clinica).

From version 0.0.2 we advise only using pip to install clinicadl and its requirements.


browser console logs miss vital information

Expected behaviour
Entire log object is logged by Karma
Actual behaviour
An unhelpful empty object is logged

Environment Details

Karma version 1.7.1
karma.config.js file

Steps to reproduce the behaviour

Run tests
Observe browser error objects are empty

If you post steps I can use to reproduce this I would look into it. Such steps would start

Install following https://karma-runner.github.io/latest/intro/installation.html
Add test file that fails and its config
Run
I know that creating a test file and config and verifying that your issue still occurs under these simple steps is a lot of work. But for me there is no alternative.


/home/wallets/Downloads/Bitbucket/cloner/cloner.sh: 38: mr: not found

/home/wallets/Downloads/Bitbucket/cloner/cloner.sh: 38: mr: not found
Cloning into 'deploy'...
<EMAIL_ADDRESS>Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
/home/wallets/Downloads/Bitbucket/cloner/cloner.sh: 38: mr: not found

mr is a git packages manager that allows you to update several repositories at once, since I use it for my own projects, I register each one with it.
You can find more info about it here: https://myrepos.branchable.com/


Angular project's version updating is a extra hassel

Like when I try to update my angular version 11 project to angular version 12 , I run ng update then its shows
✔ Package successfully installed.
Using package manager: 'npm'
Collecting installed dependencies...
Found 0 dependencies.
    We analyzed your package.json, there are some packages to update:

      Name                               Version                  Command to update
     --------------------------------------------------------------------------------
      @angular/cdk                       11.0.0 -> 12.2.10        ng update @angular/cdk
      @angular/cli                       11.2.0 -> 12.2.10        ng update @angular/cli
      @angular/core                      11.0.0 -> 12.2.10        ng update @angular/core
      @angular/material                  11.0.0 -> 12.2.10        ng update @angular/material
      @ngrx/store                        8.6.0 -> 12.5.0          ng update @ngrx/store

    There might be additional packages which don't provide 'ng update' capabilities that are outdated.
    You can update the additional packages by running the update command of your package manager.

then I run ng update --allow-dirty --force --verbose & got same output as ng update  all though --all is deprecated. I also runs ng update @angular/cdk @angular/cli @angular/core @angular/material
The installed local Angular CLI version is older than the latest stable version.
Installing a temporary version to perform the update.
✔ Package successfully installed.
Using package manager: 'npm'
Collecting installed dependencies...
Found 0 dependencies.
Package '@angular/cdk' is not a dependency.

Actually what is going on here. What's wrong ? I'm totally fed-up didn't get any useful solution on https://angular.io/cli/update here. Please make it more convenient and explain in more detail manner so that if someone want to update project he could easily update project without this kinda of common hassel.
Thanks

@LAlves91 I install npm again & also try npm update it successed but ng update still now not working.

@sefatanam
After deleting node_modules and getting the same result as you, I've executed npm install and ng update<EMAIL_ADDRESS>It worked as expected!
Did you run ng update specifying the packages @angular/cli and @angular/core?

yes, I tried. I think I tried everything I got from internet.

✔ It worked. Thanks  @LAlves91 for your support & patient.


docs: Hello, am trying to figure out how to use this package currently for voice notes and call streaming

Documentation Request for Recording Controls & Waveform Visualization
Hi, I'm currently implementing voice notes using flutter_recorder and need clarification on some core functionalities.
Current Implementation
I'm using:

recorder.setPauseRecording(pause: boolean) for pause/resume
recorder.getWave() for waveform visualization
Recording to WAV files with custom paths

Documentation Needed For:

Pause & Resume Recording

Is setPauseRecording(pause: boolean) the correct approach?
Are there any cleanup steps needed when resuming?
Does pausing affect the final file output?

Waveform Visualization

What's the recommended polling frequency for getWave()?
What's the format of the wave data (range, number of points)?
Are there any performance considerations?

Recording Management

Best practices for file handling during pause/resume
Recommended approach for recording timer implementation
Memory management considerations for longer recordings

Use Case Context:
Building a voice notes feature that requires:

Real-time waveform visualization
Pause/Resume functionality
Recording duration tracking
File access for playback/deletion

Documentation Request: Audio Configuration & Recording Features

Audio Configuration
_recorder.init(
  sampleRate: 44100,
  channels: RecorderChannels.stereo,
  format: PCMFormat.f32le,
);

What are the recommended configuration settings for voice recording?
How to configure audio context for optimal voice recording quality?
Can we configure similar audio settings as shown below for the recorder?

// Current player configuration - need equivalent for recorder
await setAudioContext(AudioContext(
  android: AudioContextAndroid(
    contentType: AndroidContentType.speech,
    usageType: AndroidUsageType.media,
    audioFocus: AndroidAudioFocus.none,
    audioMode: AndroidAudioMode.normal,
  ),
  iOS: AudioContextIOS(
    category: AVAudioSessionCategory.playAndRecord,
    options: {
      AVAudioSessionOptions.defaultToSpeaker,
      AVAudioSessionOptions.allowBluetooth,
      AVAudioSessionOptions.allowBluetoothA2DP,
      AVAudioSessionOptions.mixWithOthers,
    },
  ),
));

Feature Requirements

How to configure audio quality settings (bitrate, encoding)?
Best practices for handling bluetooth/headphone routing?
How to ensure optimal performance for:

Background recording
Long duration recordings
Pause/resume functionality

Platform-Specific Considerations

Are there different configurations needed for iOS vs Android?
How to handle audio session interruptions?
Best practices for permission handling?

Would greatly appreciate examples or documentation covering these scenarios. Thank you!

Hi @jbarasa,
there is a lot to write, I'll try to do my best to reply.

Pause & Resume Recording
Yes, setPauseRecording(pause: boolean) is the correct way. There are no cleanup steps. The recording to its job writing into a file (on the web it writes into memory), so there is almost no lag when you un-pause the recording. There could be a lag at max of samplerate / (1024 * bytesSample * channels) milliseconds (this is almost correct I think :) ).

Does pausing affect the final file output?
I didn't understand this. The audio data is written when recording starts and it doesn't write when you pause. When you call the stop recording, the WAV header file is updated and the file is closed.

Waveform Visualization
When you call getWave(), as for the getFft(), retrieve the current buffer data. The current data is updated every time new data comes into the buffer, so it's not certain that the data obtained from those functions is coming from the subsequent chunk of microphone audio. Could come from N audio chunks after the last call, or maybe could be the same chunk you got before if you call them really fast. That depends also on the sample rate and audio format you are using.
These methods ('getTexture2D()' and getVolumeDb()' included) are working only when using PCMFormat.f32leformat and return aFloat32List` with data in [-1.0, 1.0] the range.

Recording Management
Since the saved file has a WAV format (the only one supported for now), it could quickly grow in size. Take in mind that 1 second of recording stores sampleRate * byteSample * channels bytes per second. f32le and s32le takes 4 bytes, s16le 2 bytes and s8 one.

For a voice recording a sample rate of 22050, mono, and a format of s16le I think it's enough. This will store 44100 bytes per second (43 KB/s) when recording.
Currently, there is no audio context since flutter_recorder isn't laid around the OS audio APIs and there are no different configurations for iOS, Android or desktop, but I think that there are some other plugins that can intercept the focus for interruptions.

Does pausing affect the final file output?
I tried playing the paused file but got an error i have to record, then stop in order to play the file


Fix uploader issues in colab_demo.ipynb

Hello again Bryan :)
As I was revisiting the PR #16 , I realized that the uploader did not work consistently for some reasons. I replaced the jupyter uploader with the official colab uploader. I'm unable to clear it after each run (can't figure out how) but at least it works consistently across different images.
Sorry for the inconvenience; I fixed it in this PR.

https://user-images.githubusercontent.com/21180505/142099158-1aa26ac5-690f-4342-8ef1-debb47943092.mp4


Default expand button in resource view is useless/annoying (Not exactly a bug)

This small button to expand the resource is way too small and basically unclick-able. And on touch screen it is basically impossible to use.

Even with some extra CSS work it is still useless.

The expand action should be triggered when clicking/tapping the text as well, and the button should be like it was in version 3.

I'll see if I can do some improvements this weekend. Thanks for reporting.


Cannot render points

The same problem reported in https://github.com/keplergl/kepler.gl/issues/827 still exists in kepler.gl-tableau.
Based on my sheet including all the data points with lon and lat, I can display all the types (hexbin, cluster, heatmap, etc.) except point. Actually I can even add labels for points. Then all the labels would be visualized at the correct positions. The time filter also contains a histogram of data.

duplicate to https://github.com/keplergl/kepler.gl-tableau/issues/33


propose static-singleton access for Cmi instance

e.g. Cmi5.get() or Cmi5.instance()
Anywhere that we currently use cmi5 libs in assignable-unit apps, we really just want to access the global cmi5 singleton. Without static-singleton access, it puts extra burden on client code to figure out where to initialize the cmi5 instance and then how to make it accessible in different places in the code.
I can add this as a quick PR if you approve

Good idea, I cannot see why we would need more than 1 instance in an AU, so a singleton would be beneficial.
I look forward to your PR!

Good idea, I cannot see why we would need more than 1 instance in an AU, so a singleton would be beneficial.
I look forward to your PR!

Great! Ready for review here

Thanks for the PR! Released in v0.4.0 🎉


api: remove stale annotations.

[#not-implemented-warn:] was barely used and its purposes are better
served by [#not-implemented-hide:].

[#proto-status:] was there for an earlier style of versioning, where
APIs were "frozen" or "draft", etc. Now we have semantic versioning
and a regular API clock as per #6271.

Part of #8371.
Risk level: Low (docs only).
Testing: Docs rebuild.
Signed-off-by: Harvey Tuch<EMAIL_ADDRESS>

Awesome but needs master merge.
/wait


Dennis dittmann patch 2

added getter and setter for wallettype
if parameter 'clearingtype' equals 'wlt' (e-wallet), the wallettype (PayPal, Paydirekt, ...) must be transfered to PAYONE, too

Couple of questions:

I think the wallet type should be added to the data only for e-wallet clearing types. If it gets added uncondirtionally like this (especially if it is added as a gateway parameter), then how does it affect other clearing types, such as credit card?
I also think the wallettype needs to be added to the hashing fingerprint, but I'm not sure that it is (it's not listed with the fields that are needed). So does it actually work, or is PAYONE returning hashing errors?

I've not tried this myself yet. It would be nice to get it in a release.

For the front end API, the wallet type seems to be ignored - you can add anything you like to it without error. This probably explains why it it not in the hash, because it is not used, at least not when the user is presented with the payment form (e.g. in an iframe).
However, things may be a little different when autosubmit is turned on.

Hello!
Sorry for the late answer!
The wallet type parameter is used / was needed in the following situation:
In our online shop we offer payment via PayPal and Paydirekt, for example.
(Both are e-wallet payment methods.)
The user clicks on "Payment via Paydirekt", for example.
Then a Payone GUI is opened where the user can enter something, among other
things radio buttons to choose between
PayPal and Paydirekt payment method are displayed in this GUI.
But now the PayPal payment method is preselected instead of the Paydirekt
payment method. (!) This led to some trouble when user bought something in
the shop.
Therefore we had to transfer the wallet type to Payone, too.
Unfortunately, I cannot say more. It worked this way and led to no other
errors. And then we did not inspect this topic no more. I think you are the
expert and can understand this topic much better. I just can point to the
Payone api we tried to use:
https://www.payone.com/fileadmin/downloads/sonstiges/PAYONE_Platform_Frontend_EN.pdf
.
And many thanks for your library. It was extremely useful. Have a nice
weekend!
Kind regards,
Dennis Dittmann
2017-05-21 13:40 GMT+02:00 Jason Judge<EMAIL_ADDRESS>
For the front end API, the wallet type seems to be ignored - you can add
anything you like to it without error. This probably explains why it it not
in the hash, because it is not used, at least not when the user is
presented with the payment form (e.g. in an iframe).
However, things may be a little different when autosubmit is turned on.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/academe/OmniPay-Payone/pull/23#issuecomment-302931397,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AbH-2KFVHsoi9z90DxZNfvuxF8GQkBmSks5r8CKkgaJpZM4NZRsm
.

--
KM2 >> netz:innovationen.gmbh
kai unterberg, geschäftsführung
fürstenwall 141, 40215 düsseldorf
fernruf: 0 211 / 175 419 30
fernkopie: 0 211 / 175 419 59
web: www.km2.de
registergericht: ag düsseldorf, hrb 39505
ust.-id: DE 215640514, sitz: düsseldorf
geschäftsführer: kai unterberg


Errors when preview image functions aren't the same from user to user

If a user makes a preview image with a preview image function on their local machine, and then opens on another machine that doesn't have that same named instance of the preview image function, then there is an error.

What are possible solutions?
The problem is that the short name of the preview image function refers to an entity on the user's local computer.
Possible solutions:
Never re-do the calculation once it is done unless the user clicks a "recalculate" button. Would need to add a button that says "re-calculate preview image".  But a button on the panel that indicates if the preview image function parameters that are "current" are different from those of the currently viewed ('*' or not).  Under this model, the preview image function menu would need to change to list all of the current preview functions PLUS any that were already calculated on disk.
When we encounter a preview image function with a short name that is not in our system, import it?  OK except one condition: What if 2 people have preview image functions with short names that are identical but the parameters are not?  Well, then, don't import.
OK, it would seem that

importing any unknown function, plus
only recalculating on command

will solve the problem.
When should we check for imports?  Whenever we switch to view a new directory, yes?


Set uses non-exempt encryption key to false

This is a new thing in iTunesConnect that lets you bypass those
repetitive are you using crypto screens. Since we don't use any
non-exempt crypto, this seemed like an easy thing to do.

PR Cover Letter

[ ] A detailed description of the changes in the body of the PR
[ ] If available, a link to the relevant JIRA ticket in the body of the PR

[PROJ-XXXX](https://openedx.atlassian.net/browse/PROJ-XXXX)

Sandbox

[ ] Build a sandbox for your branch and add a link here

Testing

[ ] i18n
[ ] RTL
[ ] Unit, integration, acceptance tests as appropriate
[ ] Analytics
[ ] Performance
[ ] Database migrations are backwards-compatible

Reviewers
If you've been tagged for review, please check your corresponding box once you've given the :+1:.

[ ] Code review #1
[ ] Code review #2
[ ] Docs review (required for UI strings/error messages)
[ ] UX review
[ ] Accessibility review
[ ] Product review

Documentation considerations

[ ] Are there user visible changes? If so, list who is affected, and include a pointer to the relevant code.
[ ] Should this be mentioned in the release notes? If so, make sure that you included a description.

DevOps assistance
If it's needed, or even if you suspect it might be needed, do any/all these things as early as possible. Don't surprise devops right before merging! For example, touching envs/aws.py or or envs/common.py are dead giveaways that you'll need assistance when pushing your changes out. Things that require devops attention include, but are not limited to:

configuration changes
feature flags
migrations
Ways to get devops attention, pick-and-choose whichever is most appropriate for your specific PR:
[ ] Tag devops on your PR (@edx/devops), either for review (more specific to devops = better) or just a general FYI
[ ] File a support ticket

FYI: Tag anyone who might be interested in this PR here.
Post-review

[ ] Squash commits

:+1:

Current coverage is 48.62%

Merging #695 into master will not affect coverage as of 64c9784

@@            master    #695   diff @@
======================================
  Files          427     427
  Stmts        28243   28243
  Branches         0       0
  Methods          0       0
======================================
  Hit          13733   13733
  Partial          0       0
  Missed       14510   14510

Review entire Coverage Diff as of 64c9784

Powered by Codecov. Updated on successful CI builds.


Interface for the BillsplitterDB api done. (First edition)

look over typo me grammar bad :D

death