pdns: rename from powerdns

The proper name for this package should be taken from their package
repository¹.
This will likely reenable updates by @r-ryantm, because repology² also
uses that name.
[1] https://github.com/PowerDNS/pdns
[2] https://repology.org/project/pdns/versions
Description of changes
I was wondering why our package was so severly outdated, when I noticed that r-ryantm stopped updating it a while ago. After talking to ryantm on matrix¹ the conclusion was that nixpkgs-update does not handle derivations with multiple hashes, so removing the patch in the 4.6.1 update already fixed the problem.
[1] https://matrix.to/#/!kjdutkOsheZdjqYmqp:nixos.org/$bnJRaScKapuBqiOscouBOp6uuScUt_bSJVjgsfbM28A?via=nixos.org&via=matrix.org&via=nixos.dev

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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/)
22.05 Release Notes (or backporting 21.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Not expecting r-ryantm to bail out on that simple case, but anyway.

@NickCao Updated the OP. The reason r-ryantm didn't update pdns was that it had two hashes (src + patch). Updating to 4.6.1 and dropping the patch should have fixed that.


Allow no main pipeline?

Opening the std.prql file in VSCode returns an error missing main pipeline. It's possible to replicate with:
func add -> a + b

Should we allow files with no queries? This will become more important when we want to allow importing items from other files.

This would be useful for:

#643
#1773

and if the language were to be extended to also be a Data Manipulation Language (DML), Data Definition Language (DDL), and/or Data Control Language (DCL).

Should we allow files with no queries? This will become more important when we want to allow importing items from other files.

I think it's desirable to permit this. Another manifestation is with the first bullet in #1728. It's thinkable that a "no-query" input should generate an empty output from the PRQL compiler  that indicates "no pipeline"

As discussed in https://github.com/PRQL/prql/issues/1825 — I think we should be able to parse these queries, but not compile them.
parse allows this:
$ echo "let x = 2" | prqlc parse
- VarDef:
    name: x
    value:
      Literal: !Integer 2

...but somewhere the VSCode extension is raising an error. So possibly this is an issue with that? It shouldn't be trying to compile every PRQL file... I'll open an issue there

PRQL vscode extension only uses compile and shows any errors that produces.
Should not compile parse PRQL first and generate errors for invalid PRQL before even trying to compile it?

This looks like AST now. Do you think PRQL extension should display that separately?

As discussed in #1825 — I think we should be able to parse these queries, but not compile them.
parse allows this:
$ echo "let x = 2" | prqlc parse
- VarDef:
    name: x
    value:
      Literal: !Integer 2

...but somewhere the VSCode extension is raising an error. So possibly this is an issue with that? It shouldn't be trying to compile every PRQL file... I'll open an issue there

That looks like some kide of AST of PRQL code.
Do you think PRQL extension should display it in Outline instead as other code editors do?

yeah, it is an issue we need to resolve, even for empty prql documents. I noticed that error too when I was prepping ext. v0.6 release.
I propose we consider adding info and warning messages to the compiler, not just errors. Then display them in the Problems panel in vscode, and we can display them in Preview if there is no other output generated.
That would make it consistent for all the compiler api clients too and use the standard nomenclature of error, warn, info  messages display most compilers and linters use.
We should consider showing parsed PRQL AST in vscode Outline, but that's a much larger effort we can discuss separately.

I propose we consider adding info and warning messages to the compiler, not just errors.

I very much like this idea!

The immediate question is subsumed by https://github.com/PRQL/prql/pull/2129, and I think we have a very viable path forward.
https://github.com/PRQL/prql-vscode/issues/128 remains, but we can continue on that issue


Z-wave User Lock Code Manager

Is your feature request related to a problem? Please describe.
An Official Z-wave user Lock Code manager
Describe the solution you'd like
A clean implementation of a Z-Wave Lock Code Manager, maybe integrate it into a larger Lock Code Manager.
Describe alternatives you've considered
I installed and used Keymaster when I was testing out HA. It was not user friendly.
Additional context
HomeSeer has this feature, and it works pretty well. I experimented to HA while HS was having issues with Google Home because HA worked with it, and User Lock Code management not having and officially supported user friendly option was a show stopper for me, which I hated because there were so many other features I liked and I got it working with the HomeSeer Zwave card!
I have attached a screenshot of the HomeSeer User Lock code management screen to show the ease of use of it.

Hi,
I think this is something that you should request with HA?
Or with Zwave-js-ui that is the most popular interface for Zwave-js.

This 👆


[REQ] Option to only hide the top-bar while playing

Acknowledgement of preliminary instructions

[X] I have read and acknowledged the preliminary instructions.

What idea do you have?
I know there are GUI hiding keybinds/options but it hides all the CoreGUI, cursor included. I prefer not to have the topbar but still have the cursor, this could be useful for people who want to play legacy Roblox revivals without being bothered by the menu/current topbar. Dunno if it is possible though, or am I doing something wrong when hiding the CoreGUI? Sorry for bad English.

They can’t control/add things like that, we can’t create fastflags.


How to "convert" a chroot with the extension ?

Hi,
I want to use my chroots with the new extension, but I don't know how to without loose my data. Is it possible or I need to create a new chroot ?
Thanks a lot

Thanks guys, this worked for me too.


Enum support for ArrayHelper::toArray()

Q
A

Is bugfix?
✔

New feature?
❌

enum MessengerEnum: string
{
    case WhatsApp = 'whatsapp';
    case Viber    = 'viber';
    case Telegram = 'telegram';
}

Current output of ArrayHelper::toArray is:
array(3) { [0]=> array(2) { ["name"]=> string(8) "WhatsApp" ["value"]=> string(8) "whatsapp" } [1]=> array(2) { ["name"]=> string(5) "Viber" ["value"]=> string(5) "viber" } [2]=> array(2) { ["name"]=> string(8) "Telegram" ["value"]=> string(8) "telegram" } }

Proper way:
array(3) { [0]=> string(8) "whatsapp" [1]=> string(5) "viber" [2]=> string(8) "telegram" }

I think that converting an enum to an array of values makes indeed much more sence than the default behavior.
But in case of a backed enum I would expect an associative array:
array(3) {
  ["WhatsApp"]=>
  string(8) "whatsapp"
  ["Viber"]=>
  string(5) "viber"
  ["Telegram"]=>
  string(8) "telegram"
}

Please remember that only BackedEnum has "value", UnitEnum has only "name".


Automatically create users

As I plan to have possibly at least 6 collaborators.
https://gitea.lemnoslife.com/admin/users
https://gitea.lemnoslife.com/api/swagger#/user does not seem to propose to create a user
DuckDuckGo search Gitea automatically create user.
https://docs.gitea.com/usage/authentication does not seem to help.
https://forum.gitea.com/t/sudo-for-git-requests-and-automatic-user-creation/6673 has the same need.

Modifying user_name and email solve the issue.

minimizeCURL curl.sh 'HTTP/2 303'

Output:
Initial command length: 1,143.
Removing headers
Command with length 1,052 is still fine.
Command with length 975 is still fine.
Command with length 938 is still fine.
Command with length 892 is still fine.
Command with length 839 is still fine.
Command with length 821 is still fine.
Command with length 809 is still fine.
Command with length 781 is still fine.
Command with length 747 is still fine.
Command with length 717 is still fine.
Command with length 687 is still fine.
Command with length 654 is still fine.
Command with length 630 is still fine.
Command with length 608 is still fine.
Command with length 590 is still fine.
Removing URL parameters
Removing cookies
Command with length 559 is still fine.
Command with length 463 is still fine.
Command with length 401 is still fine.
Command with length 389 is still fine.
Removing raw data
Command with length 363 is still fine.
Command with length 337 is still fine.
Command with length 324 is still fine.
Command with length 312 is still fine.
curl -s https://gitea.lemnoslife.com/admin/users/new -H 'Cookie: i_like_gitea=XXXXXXXXXXXXXXXX' --data-raw '_csrf=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&login_type=0-0&user_name=Test_INDEX&email=test_INDEX%40lemnoslife.cm&password=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' -D - -o /dev/null

minimizeCURL curl.sh 'user does not exist'

Output:
Initial command length: 943.
Removing headers
Command with length 852 is still fine.
Command with length 775 is still fine.
Command with length 738 is still fine.
Command with length 692 is still fine.
Command with length 639 is still fine.
Command with length 621 is still fine.
Command with length 609 is still fine.
Command with length 581 is still fine.
Command with length 547 is still fine.
Command with length 517 is still fine.
Command with length 487 is still fine.
Command with length 454 is still fine.
Command with length 430 is still fine.
Command with length 408 is still fine.
Command with length 390 is still fine.
Removing URL parameters
Removing cookies
Command with length 359 is still fine.
Command with length 263 is still fine.
Command with length 201 is still fine.
Command with length 189 is still fine.
Removing raw data
Command with length 178 is still fine.
curl https://gitea.lemnoslife.com/admin/users/33/delete -H 'Cookie: i_like_gitea=XXXXXXXXXXXXXXXX' --data-raw _csrf=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

 for userId in `seq 25 48`
do
    echo $userId
    curl -s https://gitea.lemnoslife.com/admin/users/$userId/delete -H 'Cookie: i_like_gitea=XXXXXXXXXXXXXXXX' --data-raw _csrf=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX > /dev/null
done

Commenting 'Content-Type': 'application/x-www-form-urlencoded', or adding 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0' does not make curlconverter result works.

Python script:
import requests

COOKIES = {
    'i_like_gitea': 'XXXXXXXXXXXXXXXX',
}

INDEX = 101

data = {
    '_csrf': 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
    'login_type': '0-0',
    'user_name': f'Test_{INDEX}',
    'email'<EMAIL_ADDRESS>    'password': 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
}

response = requests.post('https://gitea.lemnoslife.com/admin/users/new', data, cookies = COOKIES, allow_redirects = False)
print(response.status_code)

data['must_change_password'] =  'on'

https://gitea.lemnoslife.com/api/swagger#/admin/adminCreateUser :roll_eyes:


Use TestItem testing framework

This migrates the project to the new test framework that is about to ship in the Julia VS Code extension. We should hold off merging until that has shipped.

I shipped the new test stuff in VS Code, so we can use this now.


Show PR actions only to users with push access (fixes #967)

This PR changes visibility rules for PR actions (Merge, Mark as ready for review) which were previously available to all users.

"Merge Pull Request" button, merge method dropdown, and "Close Pull Request" button only available to users with push permission

"Ready for review" button only available for PR author and users with push permission

With canMerge in place it is now possible to change visibility of more controls - edit title/description #1065 and add/remove reviewers and labels (not sure if there is tracking issue).
Should I change visibility rules for these places too or in separate PR?

Really nice!
Yeah, let's handle the other visibility changes in a different PR. (Currently, there is no issue for hiding the add/remove buttons for reviewers/labels UI when there aren't sufficient permissions.)
Would it make more sense to name canMerge as canPush? I suppose in either case there needs to be some explanations in comments about what that permission grants

I had several options for name, however this PR was limited to scope of Merge controls so I proceed with canMerge which is similar to existed canEdit.
However may be hasWriteAccess be more suitable that canPush?
And about comments - it will be enough to add JSDoc comment in cache.ts or what places do you have in mind?

That makes sense. My preference is forhasWriteAccess, I think that is the clearest descriptor of what it is. Adding the JSDoc comment in cache.ts should be enough


Flow question.

So currently commit should be done twice ?
Is flow correct or am I missing something ?

Commit files.
Files got fixed.
Commit fixed files again.

Isn't it suppose to be:

Try to commit files.
Files got fixed.
Commit fixed files.

If you're using the precommit hook, the second flow is correct

I am using hook.
But files committed not fixed. Only then fixed. And I need to commit again.
Is it a bug?

Yeah sounds like you're using a pre-commit hook without --staged. Please re-open if this is not the case.


Windows: Ctrl-C in a program kills the shell

An example in LFortran when I press Ctrl-C:

It also happens with passphrase prompt (https://github.com/prefix-dev/shell/issues/41) or just cat (see below).

One way to reproduce this problem is just with cat and Ctrl-C:

This has several cases:

Command-line Ctrl-C https://github.com/prefix-dev/shell/pull/122
Ctrl-C in another program: https://github.com/prefix-dev/shell/pull/123

Related reading:

https://stackoverflow.com/questions/26280859/how-to-catch-signals-in-rust
https://github.com/Detegr/rust-ctrlc/issues/30
https://docs.rs/tokio/latest/tokio/signal/

I think the most pressing issue of losing the shell when pressing Ctrl-C seems to be fixed:
~/repos/shell(main)$ git push -n ondrej main
Enter passphrase for key '/c/Users/ondrejcertik/.ssh/id_rsa': Received Ctrl+C

~/repos/shell(main)$
CTRL-C
~/repos/shell(main)$
~/repos/shell(main)$

There might be some further corner cases, but if so, we'll fix them as we encounter them.


Switch to lcov

JSON support is having issues and I'm working on getting better support for it. Meanwhile, we can stick with lcov for accurate reporting.
Thanks!

That's looking more accurate: https://codecov.io/github/glenjamin/flux-redux?ref=codecov
That's only showing lines now, is it possible to get branches via the lcov report?
Reference to original tweet: https://twitter.com/glenathan/status/603883608651264000

I'm looking for a way to combine the data in the json (which has branches) and the lcov. It's a complicated process and I still seeking support from the node community to help understand the json output completely. Hopefully soon I can get this worked out to take full advantage of the partial coverage and branch coverage for Nodejs.


同一服务可以实现多个自定义provider filter么

我想在同一个服务实现多个provider filter
不同filter的order不一样
请问这个有办法实现么？
Environment

Dubbo version: 2.7.3
Operating System version: linux
Java version: 1.8
Dubbo-spring-boot version:2.7.3

Steps to reproduce this issue

xxx
xxx
xxx

Pls. provide [GitHub address] to reproduce this issue.
Expected Result
What do you expected from the above steps？
Actual Result
What actually happens?
If there is an exception, please attach the exception trace:
Just put your stack trace here!

I've google it


Rename master branch to main

As per this statement.

This has been completed in PR #110

This has been completed in PR #110


Improve engineering overhead of extensions

Considering we want to keep the core extensions within the VS Code repo for the time being, let's look into improving the engineering overhead of that situation. We want to avoid recompiling extensions unnecessarily, something which happens often in the CI as well as in each dev box.
Here's what I'm thinking:

Each extension should have a few npm scripts: package (which creates a VSIX), watch (which compiles the sources in watch mode).
At any CI run, it should be possible to figure out what was the last commit which affected any given extension (something like git log -1 -- extension/NAME, or similar). We can use that commit ID as a cache key to save the extension's built VSIX in a storage account.
During CI, the build machine should check whether each extension's cache is fresh or stale. If stale, the extension should be packaged with yarn && yarn package and the resulting VSIX should be cached in the storage account. If fresh, the same Marketplace VSIX mechanism should be used to fetch the VSIX from a remote location, but this time from the storage account.
Additionally, we can improve the local yarn watch experience to fetch the VSIXs from the same storage account, which should have public read access. Given that a dev has no changes which affect an extension, the VSIX should just be used. As soon as changes appear locally, yarn watch should do the right thing automatically (yarn && yarn watch on the extension folder, and signal code-oss to use it instead).

This way we can reduce build times, dev times and keep having extensions in the microsoft/vscode repo.

Are we currently using TypeScript project references? Is this something that could help with the dev box build times?

Are we currently using TypeScript project references? Is this something that could help with the dev box build times?

For the CI runs, it would also be great if we could only run the tests, that test the code that has been modified in the commit.

For the CI runs, it would also be great if we could only run the tests, that test the code that has been modified in the commit.

Are we currently using TypeScript project references? Is this something that could help with the dev box build times?

The interface between extensions and core isn't at the TypeScript level: it's at the VSIX level. Project references help with creating definition interfaces between projects, but we already craft ours manually: vscode.d.ts.

Are we currently using TypeScript project references? Is this something that could help with the dev box build times?

The interface between extensions and core isn't at the TypeScript level: it's at the VSIX level. Project references help with creating definition interfaces between projects, but we already craft ours manually: vscode.d.ts.

After 2 full days of investment, I decided to put a pin on this. Work is in joao/extensions. This would need a considerable amount of time invested, most of it spent on endlessly running builds and trying to get them to succeed. My engineering passion is big, but I think it's been way too long to be solely focusing on this. I want to do feature work for now.
The main problems with this are:

Extension builds are intertwined with global dependencies and different build engines (webpack, gulp) and multiple outputs (desktop, web). It is not trivial to break this apart.
Developer experience is unknown, if we decide move to a complete webpack solution. Should we even move to esbuild?
Even if we get extension builds cached at the VSIX level, core integration tests still depend on having some extensions compiled apart from what they ship on their VSIXs.

Talked to @joaomoreno about this and I think we're gonna put a pin in this. The engineering overhead isn't worth the effort at this time.


Feature/update php support

Description
Dropped support for php 7.2 and added support for php 8.0
Fixes # 33324, 33326
How Has This Been Tested?
build is green

Looks good!


method to correct leader[18]/rda mismatch and test

Co-authored-by: Mark Zelesky<EMAIL_ADDRESS>

@pmgreen I am not certain. It is how I was shown to do it and I have been doing it that way without issue.


dummy tfrecord file could not be downloaded.

When I run the following command line,
 wget https://storage.googleapis.com/connors-datasets/bundestag/bundestag_0.tfrecords

I have got the following error. Could you help me? Thanks!
--2021-04-08 17:05:10--  https://storage.googleapis.com/connors-datasets/bundestag/bundestag_0.tfrecords
Resolving storage.googleapis.com (storage.googleapis.com)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to storage.googleapis.com (storage.googleapis.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2021-04-08 17:05:10 ERROR 403: Forbidden.

This indicates that your settings on Google Cloud are not set up correctly. It may be that you haven’t validated your credentials properly, or that your GCloud settings prevent this type of query.

Do you know how to fix it? Thank you very much. And I am not using Google Cloud. I am using my local GPU. I think that would be the case for some of people.

Well that must be at least some of the problem. It's trying to access Google Cloud.


Remove account from localStorage

Hello darkness my old friend,
In this PR we finally remove the handling of the activeAccount and accounts from localstorage, delegating it to the keyring and extension.

 Remove account from Local Storage


[BUG] User led Rust example doesn't compile

Description / Steps to reproduce the issue
To reproduce the issue:

Configure for the nucleo-l452re config: ./tools/configure.sh -E -l nucleo-l452re:nsh
In the make menuconfig enable the USERLED option for LED Driver
In the make menuconfig enable the EXAMPLES_LEDS_RUST option, and leave everything as default
Compile with make -j

And you should have this error message:
arm-none-eabi-ld: /home/ludovic/Code/nuttx_ws/nuttx/staging/libapps.a(leds_rust_main.rs.home.ludovic.Code.nuttx_ws.apps.examples.leds_rust_1.o): in function `leds_rust_main::nuttx::safe_puts':
/home/ludovic/Code/nuttx_ws/apps/examples/leds_rust/nuttx.rs:108: undefined reference to `__aeabi_memclr'
arm-none-eabi-ld: /home/ludovic/Code/nuttx_ws/apps/examples/leds_rust/nuttx.rs:108: undefined reference to `__aeabi_memclr'
arm-none-eabi-ld: /home/ludovic/Code/nuttx_ws/nuttx/staging/libapps.a(leds_rust_main.rs.home.ludovic.Code.nuttx_ws.apps.examples.leds_rust_1.o): in function `leds_rust_main::nuttx::safe_open':
/home/ludovic/Code/nuttx_ws/apps/examples/leds_rust/nuttx.rs:77: undefined reference to `__aeabi_memclr'
arm-none-eabi-ld: /home/ludovic/Code/nuttx_ws/nuttx/staging/libapps.a(leds_rust_main.rs.home.ludovic.Code.nuttx_ws.apps.examples.leds_rust_1.o): in function `leds_rust_main::nuttx::safe_puts':
/home/ludovic/Code/nuttx_ws/apps/examples/leds_rust/nuttx.rs:108: undefined reference to `__aeabi_memclr'
arm-none-eabi-ld: /home/ludovic/Code/nuttx_ws/apps/examples/leds_rust/nuttx.rs:108: undefined reference to `__aeabi_memclr4'
arm-none-eabi-ld: /home/ludovic/Code/nuttx_ws/apps/examples/leds_rust/nuttx.rs:108: undefined reference to `__aeabi_memclr'
make[1]: *** [Makefile:212: nuttx] Error 1
make: *** [tools/Unix.mk:551: nuttx] Error 2

On which OS does this issue occur?
[OS: Linux]
What is the version of your OS?
Ubuntu 22.04 LTS
NuttX Version
master - e2a21337ac5be663a8e6d9a82baa64b93cc19755 and stable 12.7
Issue Architecture
[Arch: arm]
Issue Area
[Area: Examples]
Verification

[X] I have verified before submitting the report.

I've asked on the Discord server and as always @lupyuen was very useful and giving me ideas to test :), here's the transcript of his response:

(1) Isn't __aeabi_memclr defined in glibc? https://codebrowser.dev/glibc/glibc/sysdeps/arm/aeabi_memclr.c.html
(2) Could you run make --trace to see which libraries we're linking with?
(3) Can you reproduce this problem with qemu-armv7a:nsh? https://nuttx.apache.org/docs/latest/platforms/arm/qemu/boards/qemu-armv7a/index.html
(4) no1wudi is doing great work on the upcoming Rust Standard Library for NuttX, which is way more advanced than the Rust Core Library that's called by leds_rust. As discussed here: https://lupyuen.github.io/articles/rust6#all-things-considered
(5) Rust Core Library is a little wonky on NuttX, but it ought to work. Let's track down this bug thanks 🙂

Here's the make -j -trace output:
https://gist.github.com/lvanasse/f62e9fa59f8382dd9881178fc1904211

When trying for the qemu-armv7a:nsh
nuttx_ws/nuttx [master●] » make -j
error[E0463]: can't find crate for `core`
  |
  = note: the `armv7a-none-eabihf` target may not be installed
  = help: consider downloading the target with `rustup target add armv7a-none-eabihf`

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0463`.
make[2]: *** [/home/ludovic/Code/nuttx_ws/apps/Application.mk:330: leds_rust_main.rs.home.ludovic.Code.nuttx_ws.apps.examples.leds_rust.o] Error 1
make[1]: *** [Makefile:52: /home/ludovic/Code/nuttx_ws/apps/examples/leds_rust_all] Error 2
make: *** [tools/LibTargets.mk:248: /home/ludovic/Code/nuttx_ws/apps/libapps.a] Error 2
make: *** Waiting for unfinished jobs....
nuttx_ws/nuttx [master●] »

And when I try to download the target here's the message I get:
nuttx_ws/nuttx [master●] » rustup target add armv7a-none-eabihf
error: toolchain 'stable-x86_64-unknown-linux-gnu' does not support target 'armv7a-none-eabihf'; did you mean 'armv7r-none-eabihf'?
note: you can see a list of supported targets with `rustc --print=target-list`
note: if you are adding support for a new target to rustc itself, see https://rustc-dev-guide.rust-lang.org/building/new-target.html

@lvanasse I was able to reproduce the problem with Docker: https://gist.github.com/nuttxpr/a881eea7923c9471d026ac2bfcbdac82
It seems the problem is caused by the incompatibility between Rust Compiler and GCC Linker used by NuttX:

Rust Compiler emits LLVM Symbols like __aeabi_memclr, expecting them to be in libc (C Standard Library) from the LLVM Linker
But for GCC Linker on Embedded Platforms: These LLVM Symbols don't exist## __aeabi_memclr doesn't exist in libgcc
$ objdump -t  /tools/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/thumb/v7e-m/nofp/libgcc.a  \
  | grep memclr

Some Embedded Folks wrote their own implementation of __aeabi_memclr: Rust for STM32 / Rust for TockOS

So it seems we have to wait for NuttX support to become official in Rust:

https://github.com/apache/nuttx/issues/12960

You're awesome @lupyuen ! I'm a bit ashamed I was not to be able to figure this out on my own, thank you very much for helping and teaching me :).
Is there a way I could be useful in the process of making this possible to use on ARM? Could @no1wudi use some help?
Maybe we could do our own call in the Rust code for the __aeabi_memclr call? Like they do in the Rust for STM32 article?

@lvanasse No worries :-) Yep we could code it ourselves. Actually it could have been simpler if we used Rust Libraries (Crates), but NuttX doesn't support them sigh: https://lupyuen.github.io/articles/rust6#no-crates-in-nuttx
The best we can do right now: Put the code into a Rust Source File (like nuttx.rs) and share it across our Rust Projects. Like this: https://github.com/apache/nuttx-apps/blob/master/examples/leds_rust/nuttx.rs

Awesome! Thank you for the guidance, I'll try to give it a go when I have the energy/time for it :).


ODQA Reader

Key features:

added ODQADataReader class

parallel SQLite DB building from usual text data
get rid of DrQa reference for DB building
updated docs

Made changes.


"Try it!" login is convoluted

Using the "try it!" launched 3 windows, 3 login attempts, and multiple questions which account I was using to login. All that AFTER providing the one time use "code" generated in the CLI window.

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

ID: 8246b90a-efb1-03ce-f642-d3eb2441fc30
Version Independent ID: 2fdd20ef-7bd3-57bc-7957-93f4bb5377ce
Content: Install the Azure CLI for Windows
Content Source: docs-ref-conceptual/install-azure-cli-windows.md
Product: azure
Technology: azure-cli
GitHub Login: @dbradish-microsoft
Microsoft Alias: dbradish

@jenellea  Thanks for the question! We are investigating and will update you shortly.

@jenellea, this did not happen to me. After providing code like in below line:

To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code H4***P to authenticate.

After providing code, I got login screen with my default login method screen and it successfully logged in. I would recommend you to "Try this!" in InPrivate/Incognito mode again. Also, if it still does not work, let me know other specifics with screenshots.

@jenellea Hopefully you are not still running into issues with the "try it" feature of the documentation.  I suspect that there was a delay which caused 3 attempts to connect and that may have been responsible for the behavior you saw.  If you are still running into this issue, please tag @HarshitaSingh-MSFT in your reply and we will reopen this issue for further investigation.


chore: automated PR to update VHDVersion for 202311.22.0 VHD

This is an automated PR to bump VHDVersion for the VHD release with image version 202311.22.0

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2255

Relevant Lines:
2851

💛  - Coveralls


Update AssetManager.php

Add ability to define and override all assetsBundle options without necessarily enumeration of all used vendor bundles.

Could you elaborate what is it doing?

@samdark It allows me to override AssetBundle publish options for all included asset bundle, for example except by wildcard all *_spec.js files from BootstrapAsset.

Should be added to phpdoc / docs.

@samdark can i add pull request for documentation?
And if i do, in which language i shall do this?

Absolutely. Commit to the same patch-1 branch. Commits will end up in this pull requests. Docs should be in English.

@samdark phpdoc updated.

Yes, there we merge bundle specific config with common config. So, if we define some bundle specific parameters, they will be applied as is, but if no - there will be used explicitly defined parameters from * key

Offtopic: can we discuss my pull request in native language, and then translate for our foreign collegues, because my english is not good.

Yep. Catch me at https://gitter.im/yiisoft/yii2/rus

I don't get it: why don't use a DI for this?

@klimov-paul example?

AssetBundle instances are created via Yii::createObject():
https://github.com/yiisoft/yii2/blob/master/framework/web/AssetManager.php#L264
Thus you should be able to configure thier properties via DI just the same way as we do this for widgets.
I can't see any obstacle for doing this at the first glance.

@ntemocentr ?

In order to apply certain options for all Asset Bundles, you should be able to do something like following:
$container->set('yii\web\AssetBundle', [
    'publishOptions' => [/* my options*/],
]);

Imho it is not obvious for junior developers.
So many projects does not use assetic bundles and simpliy puts assets into webroot dir and uses plain links in templates.
DI is cool concept, but there must be simple way to override all default is arameters within any assetBundle, because assetsBundle is point extension.

This does not sound like a convincing argument for me.
Problem of overring certain paramters for the several class of the same hierarchy or same functionality is solved long ago with the 'factory' OOP pattern, while "DI" pattern is an eveoled version of it.
I don't think the framework should introduce extra way to do such a thing, while DI alreay present.

Thanks, using di a can introduce some syntax sugar within my projects)
I reached enlightenment, this pull request can be closed)

@klimov-paul Hello, di doesn't allows me to override properties for inherited bundles, because of https://github.com/yiisoft/yii2/blob/master/framework/BaseYii.php#L341
\yii\BaseYii::createObject, does not look through class parents when applying properties.
So, i can't override BootstrapAsset props using
$container->set('yii\web\AssetBundle', [
'publishOptions' => [/* my options*/],
]);

lets discuss this question in https://gitter.im/yiisoft/yii2/rus

@klimov-paul, your argument in favor of DI pattern is valid. However, right now AssetManager has bundles property that allows to selectively override settings of certain asset bundles. This patch does not really introduce a new mechanism that has functionality similar to DI, it just extends existing functionality. After all, if we already allow to override settings of certain asset bundles in AssetManager config, what sense does it make to prohibit overriding them all?

This PR does not look like the right solution to the problem. Please open an issue to discuss possible solutions.


python3Packages.python-keycloak: 2.6.0 -> 4.0.0

Description of changes
This PR updates the package to version 4.0.0. The build is successful  so perhaps it will help with the ZHF: #309482 campaign.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[x] Fits CONTRIBUTING.md.

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

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

4 packages built:

python311Packages.python-keycloak
python311Packages.python-keycloak.dist
python312Packages.python-keycloak
python312Packages.python-keycloak.dist

Thanks for the feedback and the changes!


Remove the concept of 'early errors' from the compiler.

If the parser can parse a file, we will allow emit to happen.

I don't think we need this change anymore. Can we close this PR?


TensorFlow Lite Error: Regular TensorFlow ops are not supported by this interpreter. Make sure you apply/link the Flex delegate before inference. TensorFlow Lite Error: Node number 0 (FlexConv3D) failed to prepare.  Fatal error: Failed to allocate memory for input tensors.

Hi,
I am trying to use Activity i3D model on mobile devices. Have successfully Converted the i3D model check points to tflite. Now while loading the tflite model into the mobile application using TensorFlowLite Library. Getting the following error.
GitHub link to checkpoints : https://github.com/deepmind/kinetics-i3d
**TensorFlow Lite Error: Regular TensorFlow ops are not supported by this interpreter. Make sure you apply/link the Flex delegate before inference.
TensorFlow Lite Error: Node number 0 (FlexConv3D) failed to prepare.
Fatal error: Failed to allocate memory for input tensors.**
Please help me find anything I am missing.
Thanks :-)

@HemantMehtaM17 Can you please share a simple standalone to reproduce the error? Thanks!

Hi jvishnuvardhan,
Thanks for your reply. Here is the things you have asked for
I have downloaded the frozen graph from I3D git for kinetics
https://download.01.org/opencv/public_models/032020/i3d-rgb/rgb.frozen.pb
with the help of following script have successfully converted frozen graph to tflite file to use in mobile application.
import tensorflow as tf
with tf.compat.v1.Session() as sess:
sess.run(tf.compat.v1.global_variables_initializer())
converter = tf.compat.v1.lite.TFLiteConverter.from_frozen_graph(
'downloaded_frozen_activity.pb', ['Placeholder'], ['Softmax'])
converter.allow_custom_ops=True
converter.target_ops = [tf.compat.v1.lite.OpsSet.SELECT_TF_OPS]

tflite_model = converter.convert()
open("coverted.tflite", "wb").write(tflite_model)

with the help of this tflite file I have created a demo project in iOS. You can see the project file from below link
https://github.com/HemantMehtaM17/i3DDemo
getting this error
**TensorFlow Lite Error: Regular TensorFlow ops are not supported by this interpreter. Make sure you apply/link the Flex delegate before inference.
TensorFlow Lite Error: Node number 0 (FlexConv3D) failed to prepare.
Fatal error: Failed to allocate memory for input tensors.**
Thanks

@HemantMehtaM17 You are using SELECT_TF_OPS during conversion. In this case, you will need to use the Interpreter which supports SELECT mode.
Please check this comment for more info on the root-cause and resource to resolve. Thanks!

@jvishnuvardhan I have used the same. But still getting the same error. You can check the pod file. I am already using the same.

Did you add the linker flag to force linking of TF ?
go to Build Settings -> Other Linker Flags, and add:
-force_load $(SRCROOT)/Pods/TensorFlowLiteSelectTfOps/Frameworks/TensorFlowLiteSelectTfOps.framework/TensorFlowLiteSelectTfOps
See
https://www.tensorflow.org/lite/guide/ops_select#ios

Yeah I did but nothing changes.

@yyoon Can you please check
Thanks

We've recently fixed a similar issue here: https://github.com/tensorflow/tensorflow/issues/44879.
Can you try running pod update to update to the newest version and see if that resolves your issue?

I have updated the pod and try run the project again, getting same issue. I have already uploaded the code to GitHub please go through that.
https://github.com/HemantMehtaM17/i3DDemo

What is the TensorFlowLiteSelectTfOps version actually installed for your project? Can you copy & paste the content of the Podfile.lock file here? It should point to the most recent nightly version.
I cloned your repository and confirmed that it's working fine with the latest release.
I ran the following commands from the terminal:
git clone git@github.com:HemantMehtaM17/i3DDemo.git
pod update --repo-update

Next, I opened the workspace with Xcode by running open i3DDemo.xcworkspace from the terminal, and added the linker flag mentioned above.

After these steps, I was able to see the following output message from the debug console, instead of the error you mentioned originally.
2020-12-03 15:06:59.384628+0900 i3DDemo[50920:12375299] Initialized TensorFlow Lite runtime.
2020-12-03 15:06:59.385169+0900 i3DDemo[50920:12375299] Created TensorFlow Lite delegate for select TF ops.
2020-12-03 15:06:59.385991+0900 i3DDemo[50920:12375299] TfLiteFlexDelegate delegate: 199 nodes delegated out of 199 nodes with 1 partitions.

Please try following these steps exactly, and let me know if this works for you.

Hi @yyoon , Im Facing same issue on iOS 15 device ,
tried mentioned workarounds, using following pods -
 pod 'TensorFlowLiteObjC'   pod 'libextobjc'    pod 'TensorFlowLiteSelectTfOps', '~> 0.0.1-nightly'
added additional linker flag to force load the select TF ops framework into project , Settings -> Other Linker Flags,
-force_load $(SRCROOT)/Pods/TensorFlowLiteSelectTfOps/Frameworks/TensorFlowLiteSelectTfOps.framework/TensorFlowLiteSelectTfOps
-u _TF_AcquireFlexDelegate
Getting following error -
Undefined symbol: _TfLiteTensorCo

py

@yyoon  then I Updated TensorFlowLiteSelectTfOps to latest version 2.7 getting following errors

Could you try to use 2.7 for TensorFlowLiteObjC pod ?
I think it's better to use the same version with TensorFlowLiteSelectTfOps.

@terryheo thank you for quick response, it started working after I updated all pods to 2.6 version,
pod 'TensorFlowLiteObjC' , '2.6.0'
pod 'libextobjc'
pod 'TensorFlowLiteSelectTfOps' ,'2.6.0'

It's good to hear. Thanks for the update.

@terryheo thank you for quick response, it started working after I updated all pods to 2.6 version,
pod 'TensorFlowLiteObjC' , '2.6.0' pod 'libextobjc' pod 'TensorFlowLiteSelectTfOps' ,'2.6.0'

Had the same issue:
  // Didn't work
  pod 'TensorFlowLiteSwift', '2.7.0'
  pod 'TensorFlowLiteSelectTfOps', '2.7.0'

  // Worked
  pod 'TensorFlowLiteSwift', '2.6.0'
  pod 'TensorFlowLiteSelectTfOps', '2.6.0'

Maybe this issue is related with arm64 mac's and 2.7.0 version?

I'm on an x84_64 mac trying to run TF on my iPhone in local development, and cannot get 2.9.1 to work.
// does not work
pod 'TensorFlowLiteC', '2.9.1'
pod 'TensorFlowLiteSwift', '2.9.1'
pod 'TensorFlowLiteSelectTfOps', '2.9.1'

Reverting to 2.6.0 for all the listed pods, as mentioned by @alarm109, worked.
The latest docs do not appear to be in sync with the latest TensorFlowLiteSelectTfOps which uses axcframework, so the path should be $(SRCROOT)/Pods/TensorFlowLiteSelectTfOps/Frameworks/TensorFlowLiteSelectTfOps.xcframework/ios-arm64/TensorFlowLiteSelectTfOps.framework/TensorFlowLiteSelectTfOps although I could not get that to work.
The error I get looks like a linking error:

@yyoon or @terryheo how can I contribute to fix this?

@sseppola Could you kindly create a new issue for this? You can also tag @yishuangP in the new issue.

Hi this seems like a duplicate of https://github.com/tensorflow/tensorflow/issues/56255 and it should be fixed in the latest nightly build (version 0.0.1-nightly.20220831)


Consider moving all APIs not in proc_macro under the procmacro2_semver_exempt cfg option

We have some APIs which are exposed from proc-macro2, but aren't exposed from proc_macro itself. It might be good to move these APIs behind the flag which is being added in #36

This'll be done transitively through https://github.com/alexcrichton/proc-macro2/pull/71 effectively


Indu feature extra maxlengthofstringarray

fixes #71

Beschreibung
 added an fn to get longest string and uning the length to adjust the spaces for firstname ,so that the personstring variablematches the content of the file.
Review Hinweise
 coding standards and optimisation

Auto Comment: Merge Conflict in Pull Request detected by automation.


Missing error when attempting to create collection without names in workspace

I received a DOI mint failure that I overlooked:

<?xml version="1.0" encoding="UTF-8"?>
<doi_batch_diagnostic status="completed" sp="ds3.crossref.org">
   <submission_id>1544170703</submission_id>
   <batch_id>1665272237610</batch_id>
   <record_diagnostic status="Failure">
      <doi />
      <msg>Error: cvc-complex-type.2.4.b: The content of element 'person_name' is not complete. One of '{"http://www.crossref.org/schema/5.3.1":given_name, "http://www.crossref.org/schema/5.3.1":surname}' is expected.
</msg>
   </record_diagnostic>
   <batch_data>
      <record_count>1</record_count>
      <success_count>0</success_count>
      <warning_count>0</warning_count>
      <failure_count>1</failure_count>
   </batch_data>
</doi_batch_diagnostic>

This is because the workspace does not have a name, which I didn't think of during main feature implementation.
Resolution
This has two pathways where this can occur - creating a collection (individual) and when making it public (collaborative and community).
Option 1: Creation/making public of a collection throws an error when the creator(s) do(es) not have their names set
This is my main proposal, and we can add other options if people have proposals :blush:

@chartgerink : Option 1 sounds good to me. (Since it defers restrictions until the moment when we need it).


remind: add remind feature

Reminder messages to be done. Feedback/patches welcome!

Ready for review.


support sts token

In order to support auth with GitHub OIDC Token. A demo for this method:
https://github.com/mozillazg/alibabacloud-oidc-auth-example-acr-scan/actions/runs/3574131196/workflow

Thanks for your contribution


Trait Details have black text boxes

Specifically where do trait details have black text boxes? The actor sheet displays them correctly...

Specifically where do trait details have black text boxes? The actor sheet displays them correctly...

Nevermind, I found the issue and fixed it.


Fix the TODOs

A number of TODO items have been flagged in the code so they can be addressed later. These need to be looked at.

This issue was moved to sakaiproject/sakai#1365


Replaces the /import path name with the path name /templates

Fixes #485

Coverage remained the same at 78.702% when pulling e0a1bd37eb75c21139ba4f2b5017aee9858e1c3f on templates-route into 3b02ae0aa29ec2d716a58129d2b44411a7aa6333 on master.


dependencies upgrade (#130)

fix: dependencies update
@nhost_gql_links

gql_websocket_link@ ^2.0.1

@nhost
sdk@ >=2.14.0 <=3.2.5

<EMAIL_ADDRESS>

Hey Guys,
Not sure what this failed test is about. I'm not in  capacity to resolve this atm, please have a look. I'll leave this to you. Thanks


Is it possible to add business logic dynamically?

Is it possible to add business logic dynamically?
For example get business logic from api call. Like on click on button change the text of text view .

no plan for now.

no plan for now.

But do you suggest any idea How can I do that.

But do you suggest any idea How can I do that.

@Murtaza-arif  It‘s complicated. First you should convert Dart code down to AST and convert AST to DSL(like json), then you should create whole runtime and vm system by yourself, parse the DSL to evaluatable  tree node. and and and and and haha. It‘s a huge project.
If you speak chinese I recommend you read this blog https://tech.meituan.com/2020/06/23/meituan-flutter-flap.html

so hard


0.2-dev ConfidenceBoundPerformanceMetric crashing CfgEvaluator

For now, will use ControlPerformanceMetric until a more permanent fix is found. Error log to follow

More information is needed on the context of this issue and the error trace.


No completions in virtual env REPL

Dev15 Preview 2, Python 2.7, in a virtual env REPL:
text = "hello"
tex <ctrl-space>

Nothing comes up. I haven't changed the default options.
Edit: While it originally seemed to on global and virtual env, now it only reproduce for virtual env.

Seems like we aren't creating the temporary file (evaluator.AnalysisFilename) in the analyzer, and so TryGetAnalysisEntry is failing.

It's probably because we aren't passing the project file info to the analyzer when creating it in PythonInteractiveEvaluator.


SSH tunnel as a proxy server for a SOCKS client (equivalent of ssh -D)

A great addition would be allowing opening the ssh tunnel as a proxy server for a SOCKS client (equivalent of ssh -D).
It would allow users to connect to and route all traffic through their home server when abroad to access local services blocked outside the country. Basically a free VPN!
I can't see this is possible on the current version, but please let me know if I've missed something.
Many thanks,
Paul.
Originally posted by @blendexperts in https://github.com/isontheline/pro.webssh.net/discussions/606

Hi i have same problem thanks for adding this feature

You can now enable the SOCKS server inside WebSSH.
How to do?

Allow WebSSH to accept external connections : iOS Settings > WebSSH > Tunnel > Incoming Connections Strategy > Accept both local and remote connections
(Optional) Enable VPN-Over-SSH (so you will be able to switch between apps on your iDevice)
(Optional) Enable WebSSH Settings > Keep Device Awake (in order to don't sleep your device)
Inside port forwarding use this : *:1985 replace 1985 by the SOCKS port you want to listen to (it will be your SOCKS server port for your other devices)
Launch your tunnel
(Optional) If you know your device IP address skip this step. Launch mashREPL and get your local IP address with this command : ifconfig
On your other devices use a SOCKS configuration like this : <IP_ADDRESS>:1985 where <IP_ADDRESS> is your iDevice and 1985 is your SOCKS server port

I think these settings is for converting my IOS to an ssh server, and then I connect from another device to my IOS using socks. and <IP_ADDRESS> is the local IP of my IOS, and  1985 is the port of SOCK on my ios. am I right?
But I repeat again, I have a Linux server somewhere with an IP and port, so I ssh to my server. now I want to tunnel all traffic of ios over this ssh connection
So I put some port (4545) in port forwarding as you mentioned:

I put this setting in telegram, for example as socks connection but no success and it still in connection:

can you help me with more details if webssh support this feature?

You're right WebSSH will act as a SOCKS proxy between telegram and your SSH server.
Please check that you allow outside connections on your Tunnel :
Allow WebSSH to accept external connections : iOS Settings > WebSSH > Tunnel > Incoming Connections Strategy > Accept both local and remote connections
Outside connections are also from within your device from other apps.
Could you try?

Hi i can find this: Allow WebSSH to accept external connections : iOS Settings > WebSSH > Tunnel > Incoming Connections Strategy > Accept both local and remote connections see here:

You need to use the latest beta release :
https://testflight.apple.com/join/QSrBK59z
The option is on the bottom when done


Full pfm_description text not showing completely for one preference key

Weird issue where I have near exact same description text between three different preferences and for two the description wraps to a second line just fine, but the third does not.
<dict>
	<key>pfm_description</key>
	<string>When set to 'true', also searches the System Keychain for certificates to sign profiles.</string>
	<key>pfm_name</key>
	<string>SigningCertificateSearchSystemKeychain</string>
	<key>pfm_title</key>
	<string>Include Certificates from System Keychain</string>
	<key>pfm_type</key>
	<string>boolean</string>
</dict>
<dict>
	<key>pfm_description</key>
	<string>When set to 'true', also includes available untrusted certificates for signing profiles.</string>
	<key>pfm_name</key>
	<string>SigningCertificateShowUntrusted</string>
	<key>pfm_title</key>
	<string>Show Untrusted Certificates</string>
	<key>pfm_type</key>
	<string>boolean</string>
</dict>
<dict>
	<key>pfm_description</key>
	<string>When set to 'true', also includes available expired certificates for signing profiles.</string>
	<key>pfm_name</key>
	<string>SigningCertificateShowExpired</string>
	<key>pfm_title</key>
	<string>Show Expired Certificates</string>
	<key>pfm_type</key>
	<string>boolean</string>
</dict>

The result in ProfileCreator:

When I add a separate line in the description, only then does the rest of the text appear:
<dict>
	<key>pfm_description</key>
	<string>When set to 'true', also searches the System Keychain for certificates to sign profiles.</string>
	<key>pfm_name</key>
	<string>SigningCertificateSearchSystemKeychain</string>
	<key>pfm_title</key>
	<string>Include Certificates from System Keychain</string>
	<key>pfm_type</key>
	<string>boolean</string>
</dict>
<dict>
	<key>pfm_description</key>
	<string>When set to 'true', also includes available untrusted certificates for signing profiles.</string>
	<key>pfm_name</key>
	<string>SigningCertificateShowUntrusted</string>
	<key>pfm_title</key>
	<string>Show Untrusted Certificates</string>
	<key>pfm_type</key>
	<string>boolean</string>
</dict>
<dict>
	<key>pfm_description</key>
	<string>When set to 'true', also includes available expired certificates for
signing profiles.</string>
	<key>pfm_name</key>
	<string>SigningCertificateShowExpired</string>
	<key>pfm_title</key>
	<string>Show Expired Certificates</string>
	<key>pfm_type</key>
	<string>boolean</string>
</dict>

Ran into another situation of this, albeit the description is much longer

This is resolved in latest 0.2.5 beta build

Fixed in 0.2.5 release


fix contain and containMatchingElement and to accept string values

before, a string was accepted via react-element-to-jsx-string.
As that is no longer being used in favor of a custom function,
a string should still be accepted.

this pr address https://github.com/producthunt/chai-enzyme/issues/204

Looks like this breaks when using enzyme 2


Index optimization on plot queries in the database

Optimize how indexing should be performed in the database based on a plot query.

Not urgent if the api data processing is bottleneck rather than database lookup


[BUG]: Unable to run program after installation

In raising this issue I confirm that

[X] I have fully completed the issue template
[X] I have searched open and closed issues for duplicates
[X] I have read the Contribution Guidelines
[X] I have read the Code of Conduct
[X] I have read the Documentation

Describe the bug
Following the Ubuntu installation guide seems to have not entirely worked for me. I get an error once I attempt to run streamdeck.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: vkkhrdisplay, vnc, linuxfb, minimal, xcb, eglfs, wayland, offscreen, wayland-egl, minimalegl. Aborted (core dumped)
Given that I am running a desktop enviroment, the default for Linux Mint, I'm not sure exactly what the issue is or what to do to fix this issue.
Steps to reproduce the behavior
1: Follow the guide at https://github.com/streamdeck-linux-gui/streamdeck-linux-gui/blob/main/docs/installation/ubuntu.md ,  running commands one at a time
2: Run streamdeck
3: Error strikes
Expected behavior
Program opens
Screenshots
No response
System Information
Linux Mint 21.2 Cinnamon
AMD Ryzen 5 Core
Nvidia RTX Graphics Card
Stream Deck Version
Stream Deck XL

My mistake

Whoops, misclick.
My bad for late response. Im running linux mint 21.2 and will test this next time my pc is in linux mode

I'm unaware of what Linux Mint uses, but apparently Wayland is not it. I am generally unknowledgeable about compositors so some help in finding what that would be is appreciated

Managed to get the program working. Closing issue.


Add -y option to e2fsck

I couldn't find where e2fsck was used in the build but from what I know about the tool, this could be a useful way to automate checking the filesystem during runtime and fixing certain classes of errors automatically. However, from the man page:

-p
Automatically repair ("preen") the file system. This option will cause e2fsck to automatically fix any filesystem problems that can be safely fixed without human intervention. If e2fsck discovers a problem which may require the system administrator to take additional corrective action, e2fsck will print a description of the problem and then exit with the value 4 logically or'ed into the exit code. (See the EXIT CODE section.) This option is normally used by the system's boot scripts. It may not be specified at the same time as the -n or -y options.
-y
Assume an answer of 'yes' to all questions; allows e2fsck to be used non-interactively. This option may not be specified at the same time as the -n or -p options.

So it looks like whatever script calls e2fsck should just specify the -p option. Is the idea to call this as a cron job on some interval?

Thanks for pointing out that they can't be used simultaneously @pdlloyd. I think I answered this live a couple weeks ago, but we'll just use -y since we'd want a usable file system over all else.


provide comment to NIH RFI on Cancer Moonshot

https://www.federalregister.gov/articles/2016/05/13/2016-11283/request-for-information-for-developing-the-national-cancer-moonshot-initiative

due july 1

https://docs.google.com/document/d/1jcRURL6_nZOe-y8P3G-Tgm4H6lt5tpwVDD_EvuG8ccc/edit

updated June 17

submit this before 29 June

done https://wiki.creativecommons.org/images/8/8a/Creative_Commons_response_to_81_FR_29871.pdf


Path does not match the request if contains encoded url

I opened this issue on the aspnet/HttpAbstractions repository as the HttpRequestFeature.Path property was returning an unescaped : which was originally a %3A in my request's URL:
http://localhost:5000/secrets/http%3A%2F%2Fwww.g -> /secrets/http:%252F%252Fwww.g
The double escaping is generated in the Path property, but I have been advised the un-escaping of the %3A is happening in Kestrel/WebListener and I believe it is a bug. I am happy to help fixing it if you could point me in the right direction of the code.

Unescaping %3A is by design. The bug is in PathString, where the % sign is being escaped as %25. PathString needs to be fixed to it looks ahead and sees %2F and leaves that alone.

@cesarbs can you please explain why by design %3A is un-escaped and %2F is not? Or why they are not both left escaped?

The Path property in the feature should give you the unescaped path from the HTTP request. So any percent-encoded character will be unescaped there. %2F is an exception because it is the path separator and could make a request invalid if unescaped. Consider an app that serves requests like /resource/a%2Fb. That request is for resource a/b under /resource. If we unescaped %2F, that request would become /resource/a/b, which is requesting resource b under /resource/a.
Are you trying to access the raw request target exactly as the server saw it? There is a way to do that but we strongly recommend users don't do it.

Thanks for the reply; I'm using a middleware for Hmac authentication and I'm using the full URL as part of the signature hash. Being the original URL on the client: http://localhost:5000/secrets/http%3A%2F%2Fwww.g and obtaining instead http://localhost:5000/secrets/http:%2F%2Fwww.g on the server I have non-matching hashes.
So yes, I "need" the raw URL as the client and the server should be able to have access to the same string for hashing. I could just trim some data from the hash, but I did not appreciate it would have been difficult to have matching URL between client/server.

This is how you get the raw target:
httpContext.Features.Get<IHttpRequestFeature>().RawTarget

FYI @UnoSD, the client does not transmit the original url in the request. ASP.NET has to approximate it by re-assembling the fields that the client does send. E.g. the request line contains path and query, the Host header contains the host and port, and the scheme is implied by the connection protocol. Also, any intermediate (e.g. proxy) may alter these fields. You can't reliably reproduce the full raw url that the client requested, only something that should be semantically equivalent.

Thank you both; @Tratcher the requests will be always coming from the local machine so it should be fine, but since there is no guarantee the server can match the URL I might drop this from the signature.


Integration into upcoming moOde 6.5.0 release

Hi,
Our project would be interested in integrating your Amp into our upcoming moOde 6.5.0 release. I noticed that the drivers were recently committed to the 4.19 kernel branch which we are using for 6.5.0. https://github.com/raspberrypi/linux/commit/6a5bfd789a622ea456844a0b73211dda0018a2b5
Regards,
-Tim

Hi Tim,
That's correct. However, the latest Raspbian version is under Kernel 4.19.97+ and our drivers were submitted in a newer version, post 4.19.108+. We are just waiting for Raspbian to be updated with the new kernel. So, it depends which kernel you use to build your release.
Regards,
Ariel

The 6.5.0 release will ship with 108 or higher and I'll be happy to integrate the device into moOde if someone with one of these units can provide the specifications for the ALSA options and would be willing to test. Theres a user on our forum that apparently has a unit but he seems to want to go the route of having Infineon make a hacked image. I pointed out that this will quickly become stale.

Hi Tim,
Yes, those images will be only temporal. I can make the tests and provide all the neccesary information. It will be great to have it supported natively on your next release. Specificaly, which ALSA options are needed?

Regarding ALSA options, if there are any that u would you like users to be able to manipulate through a configuration panel then for each I would need the option name, allowable values and a description of what the option does. If there are options that depend on one another I would need to know the relationship.
Here's an example of a config panel for the Allo Katana DAC that lets users control certain options on ES9038 chip. Each option corresponds to an amixer sset command.

-Tim

Hi Tim,
for now the only option we would like to include is:
Tittle: Power mode profile (PMF)
Description:  The MA12070P provides different power mode profiles for operating the internal power amplifiers. They give the user freedom to choose optimal settings of the amplifier for the intended application. The power mode profile selection affects various parameters such as switching frequency, modulation scheme and loop-gain, thus providing flexibility in design tradeoffs such as audio performance, power loss and EMI.
this control correspond to "Q.PM prof" control in alsamixer.
Best,
Ariel

Hi Ariel,
I need the list of Profile names that the user can choose from.
Then I can code the config panel and then pass the selected name to the underlying code that performs the actual setting change.
amixer -c0 sset "Q.PM prof" "profile name"

Tim,
These are the values:
"PMF0", "PMF1", "PMF2",
"PMF3", "PMF4"

Ok thanks. What are the descriptions for the values so users know what PMF0 does vs PMF1 etc.

Hi Tim,
PMF0:
idle loss: Very low
Full scale efficiency: Good
THD+N: Good
PMF1:
idle loss: Low
Full scale efficiency: Good
THD+N: Best
(Common-mode content, full-scale audio:
DC + Sidebands around 600kHz, 1.8MHz, 3.0MHz, etc.)
PMF2:
idle loss: Low
Full scale efficiency: Good
THD+N: Best
(Common-mode content, full-scale audio:
Only DC)
PMF3:
idle loss: Very low
Full scale efficiency: Normal
THD+N: Good/Best
PMF4:
idle loss: Very low
Full scale efficiency: Best
THD+N: Good
Can we put somewhere "For detailed information on power modes behaviour go to the MA12070P datasheet." ?

Sure, what's the link?

https://www.infineon.com/cms/en/product/power/class-d-audio-amplifier-solutions/integrated-class-d-audio-amplifier-ics/ma12070p/

After reading data sheet section 8 I have a question about power management modes.
The section mentions that power management can be automatic or manual. Automatic seamlessly transitions between 3 modes as needed. Manual modes are the PMF values you mentioned.
Question: What controls the Automatic vs Manual operating mode?
A user on our Forum posted the amixer output from the device and I see the following option
Simple mixer control 'R.Power Mode',0
 Capabilities: enum
 Items: 'Dynamic power mode' 'Power mode 1' 'Power mode 2' 'Power mode 3'
 Item0: 'Dynamic power mode'

Also, I'd like to assign short friendly names in the selection drop down in the UI  to each of the PMF values so users know what the settings mean.  For example:
PMF0 - Filterfree, optimized efficiency, default applications
PMF1 - Filterfree, optimized audio performance, active speaker applications
PMF2 - Filterfree, optimized audio performance, default applications
PMF3 - LC filter: high efficiency, high audio performance, good EMI, low ripple loss
PMF4 - Filterfree: optimized efficiency, active speaker applications

Hi Tim,
So first of all it is important to calirfy that one thing is the power mode profile and and another thing is the power mode.
We have 4 Power mode profiles PMF(or PMP) 1,  PMF2 ,PMF3, PMF4 and 4 power modes A, B, C, D.
Each power mode profile will make the MA12070P chip to vary the power mode it is working on dpeending on the audio level that is being played. But each profile can handle only 3 power modes.
For example, when using PMF3 at low level the power mode will be D, then when playing at medium level the device will change the power mode to B and when playing at high power it will change the power mode to A. So in this case the power 1 is D, power mode 2 is B and power mode 3 is A. The same is repeated for each profile.
If the alsa mixer if the Dynamic power mode is selected ithe amplifier will keep the same behaviour described above. This is that it will change the power mode automatically according to the profile and according the audio level that is being played. but if manual power mode is selected it will only work in one power mode 1,2 or 3 independantly of the audio level.
Hope this help :).
I agree with your approach on the names.

We always recommend to maintain the dynamic power mode for optimal efficiency , THD+N and EMI perofmance.

Yes, that explains it perfectly :-)
I'll be making r650b4 (beta4) image sometime this week. The beta is not public so I'll need a way to get you the download link so you can test. Feel free to email me, tim at moodeaudio dot org and I'll reply to you with the link.

Hi Ariel,
Just an FYI that our nice r650 release is almost ready to be published and it's based on Linux kernel 4.19.115 which according to the commit history has the codec and 96K rate support for the ma120x0p.
Best
-Tim

Hi Tim,
That's great. Can I give it a try before?
(Take into account that the 96KHz support is for the CODEC and not for the sound card, so fow now the merus amp wont support 96KHz. That update is neccesary for the board update),
Ariel

Ok got it. 96K is for a not yet released board revision.
Below is link to r650b6 (beta6) image.
http://moodeaudio.org/test/moode-r650b6-iso.zip http://moodeaudio.org/test/moode-r650b6-iso.zip
-Tim

On Apr 21, 2020, at 11:57 AM, AMuszkat<EMAIL_ADDRESS>wrote:
Hi Tim,
That's great. Can I give it a try before?
(Take into account that the 96KHz support is for the CODEC and not for the sound card, so fow now the merus amp wont support 96KHz. That update is neccesary for the board update),
Ariel
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Infineon/merus-audio-amp-hat-zw/issues/1#issuecomment-617258569, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADINGT72Y2DQDR4EHQAD573RNW65DANCNFSM4LGWWFOQ.


Update LVGL version?

LVGL is now on 7.3.1 already.
I see that this and other repos are still using 7.0.2 dev.
Is there any reason for this?
Can I safely update my LVGL locally to the latest version?

You can safely update to newer minor releases. There shouldn't be any API breakage - the only things that may have changed are source files being added/removed.
The delay in updating is caused by the fact that the projects need to be updated manually. This generally only happens if someone sends a pull request to update the project, a core maintainer has access to the hardware to test the updated project, or a major release occurs.

For the next minor release, I'm planning to make updating project automatically like this:

A new LVGL version is released by a script
The same script clones the project to update
Each project has an update script that recreates the conf.h files and changes the defines important for itself and leave the others.

I think what we need to do is use lvgl as a esp component, some people had issues when we updated from v6 to v7.
Zephyr and Nuttx people have their own kconfig system, I consider we should not add an Kconfig file directly into lvgl main repo.
@kisvegabor is possible to have a audio meeting or something?

has an update script that recreates the conf.h files and changes the defines important for itself and leave the others.

Since we have lv_conf_internal.h, I think you could just make a stub lv_conf.h for each project that only defines what needs to be overridden from the default options. It might be simpler than replacing lines from the template.

Since we have lv_conf_internal.h, I think you could just make a stub lv_conf.h for each project that only defines what needs to be overridden from the default options. It might be simpler than replacing lines from the template.

It's also possible but might be difficult for people to change the config later.

@kisvegabor is possible to have a audio meeting or something?

Sure, what about Tuesday?
@embeddedt Would you like to join?

Hi,
I've just sent the invitations.

we should prepare an outline to plan the meeting.

The main topic are  "LVGL as ESP component" and Kconfig questions, right?

The main topic are "LVGL as ESP component" and Kconfig questions, right?

Yes, I would like to also talk a bit about the work to be done on lv_drivers.


TIFF/TIF support

Feature request
I currently have a dataset (with tiff and json files) where I have to do this:
wget path_to_data/images.zip && unzip images.zip
wget path_to_data/annotations.zip && unzip annotations.zip
Would it make sense a contribution that supports these type of files?
Motivation
instead of using load_dataset have to use wget as these files are not supported for annotations with JSON and images with TIFF files.
Additionally to this, the PIL formatting from datasets does not read correctly the image channels with TIFF format, besides multichannel adaptation might be necessary as well (as my data e.g has more than 3 channels)
Your contribution

Support TIFF images over multi channel format
Support JSON annotations

The issue with multichannel TIFF images has already been reported in Pillow (https://github.com/python-pillow/Pillow/issues/1888). We can't do much about it on our side.
Still, to avoid the error, you can bypass the default Pillow decoding and define a custom one as follows:
import tifffile # pip install tifffile

dset = dset.cast_column("image", datasets.Image(decode=False))

def decode_mutlichannel_tiff(batch):
    batch["image"] = [tifffile.imread(image["path"]) for image in batch["image"]]
    return batch

dset.set_transform(decode_mutlichannel_tiff)

Regarding the annotations, in which format are they? In the COCO format? I think this is a bit too specific to have a built-in loader for it.

We have a section on custom decoding here (for the audio case though)

Btw, we can close this issue as it should be addressed in Pillow rather than here.

For sure, if image based stuff becomes a priority I think guiding folks to an image decoder section would be really helpful, but im just one dev :) and I know priorities gotta be balanced so no worries. Thanks again for the snippet, agreed we can close


Change the battery icon when charging.

Describe the feature you'd like to improve in Pock
I'd like to see the status of charging in the Pock battery icon similar to the icon in the status bar.

I think this has been added in the current version


missing sapce after type parameter

Missing a space after the generic type  on methods.
https://apiview.azurewebsites.net/Assemblies/Review/bf57bf1f08a3443bb5c66a4f56248178

@pakrym At some point can you build this and update the server to use it? Thanks.

Done


display live data in chart

Hi, with ionic 1 it was easy to bind the chart-data to a variable and the chart always adapted live to the actual values
chart-data="graph.data"
Do you know how to do this now with ionic 2?
With
data: this.graph.data
the chart loads with the right data, but I have to recall the chart-function to update the chart with the new data completely.
Thanks!

Hey @wurstel, I'm no one to say that, but I believe that when you create a chart, therefore create a new instance like new Chart(..), the data is copied into this new instance.
What you can do, which is quite easy though, is reset the specific data you want to change by using this.yourChart.data and call this.yourChart.update() after that.
I just pushed an example for you to check out.

Thanks! Works perfect for my needs ;-)

Great. Glad to know this repo was of help for you!


feat: handle shapeshift fees for jupiter and rate balance check

Description
ShapeShift referral fees require to create the referral account if it doesnt exists
Also, the ATA (Associated Token Account) creations fees were not taken in account in the protocol fees, and the balance check was not working properly on native assets
ATA: Your pubkey can have accounts linked on chain, if you want to own any solana token, you need an associated token account to hold them, users pay to create those account and can get back this rent price when they close the account if it's empty

Issue (if applicable)

closes #8247
Risk
High

High Risk PRs Require 2 approvals

What protocols, transaction types, wallets or contract interactions might be affected by this PR?

Testing
If you want to verify referral account creation, create an account on https://referral.jup.ag/dashboard
And replace SHAPESHIFT_JUPITER_REFERRAL_KEY by your Referral key displayed in the dashboard
You have to monkeypatch calculateFees to return a BPS regardless of the fox discount or test with very big amounts, to trigger the referral account creation
Using a Solana wallet with big sol balance (let's say over 0.01):

Try to swap SOL => Shitcoin, Shitcoin => SOL
-- If your wallet already have an ATA associated for Shitcoin, try with another token you never traded before
-- Always verifies the protocol fees are displaying 0.00204 SOL or 0.00408 depending if we need to create the referral account

Using a Solana wallet with very low sol balance (let's say under 0.003):

Try to swap SOL => Shitcoin, Shitcoin => SOL
-- If your wallet already have an ATA associated for Shitcoin, try with another token you never traded before
-- Always verifies the protocol fees are displaying 0.00204 SOL or 0.00408 depending if we need to create the referral account, and the swapper should block as you don't have enough SOL

Engineering
n/a

Operations
n/a

[ ] :checkered_flag: My feature is behind a flag and doesn't require operations testing (yet)

Screenshots (if applicable)
Not enough balance

Not enough balance with a token I already have (referral account should be created)

Enough balance with a token I already own (referral account should be created)

https://explorer.solana.com/tx/5Lw6Xb1UXXDQhFRV6HtzxQ3TSw2LRe9e7ttWFNUM9N9aRWZY3dBg7qvEMt9iNYMKsWob2eGF5VfkyxpVBxtbLata
Enough balance with a token I don't own (referral account should be created)

https://explorer.solana.com/tx/1XH9heWyCfbP3XmerY5e1p6Xr1p6yUCpTJvGAKX1Hf1aYc1hHKVNDKJh3WLeNZKUgfZFx1c3jXppFu6KzK4Y5c1
Enough balance with a token I don't own (external address)

https://explorer.solana.com/tx/4AM1WSUgdSoJfHyXJkAWxD2Ro4JQQJYQABYY41jkLiQjbftybh6VKWPq3UaQoUcPVg6ceyuYCBypWc4qJ84UT1hX

I dont have an ATA + we don't have a referral account

I have an ATA + we don't have a referral account

Both have ATA and referral account

Having 2 SOL rows
We have 2 SOL rows because one is not as required balances and is a part of the JUP protocol, the other is our own logic as required balances
Having other tokens as protocol fee
Jupiter under the hood can use underlying assets as fees (for protocol or affiliate), each route can have it's one denominated token as fee, I display all of them inside this part

Removed high risk as the high risk bytes have been removed during the review and scoped to jupiter


Update indent size in editor configuration (config.json)

The OCaml official manual and editor support modes use 2 spaces instead of 4.

@iHiD The travis CI hangs. Could you merge? (and disable travis)


make wrapper server work with distroless-based images

Creating this PR sooner to unblock other folks.
I will add an distroless-base KRM function in gcr.io/kpt-fn-demo and then add an e2e test for it.
Alternatively, we can use something like gcr.io/cad-demo-sdk/set-namespace:latest, but I'm not sure if gcr.io/cad-demo-sdk will be deleted later.
We can also consider mirroring an image from gcr.io/cad-demo-sdk to gcr.io/kpt-fn-demo for testing purpose only.

Thanks!
The code for those functions is pretty small (50-100 lines each). We could take one and add it to the demo functions as an example of a distroless function, or we could convert an existing function to distroless.
Example Dockerfile:
# Build the function
FROM golang:1.17 AS build
WORKDIR /go/ui
COPY go.mod .
COPY go.sum .
COPY ./clients/go ./clients/go
RUN CGOENABLED=0 go build -v k8s.io/klog/v2 sigs.k8s.io/kustomize/kyaml/yaml/...

COPY backend/pkg/yoy backend/pkg/yoy
COPY functions/validate-resourcequota/*.go functions/validate-resourcequota/
RUN CGOENABLED=0 go build -o /validate-resourcequota -v ./functions/validate-resourcequota

# The runtime image
FROM gcr.io/distroless/base-debian11:latest
COPY --from=build /validate-resourcequota /validate-resourcequota
ENTRYPOINT [ "/validate-resourcequota" ]

I'm going to merge this PR and will add an e2e test in a follow-up PR.


Links aren't recognized when adding new config files

Testing #55263
When adding new tsconfig files to an empty project, the references don't auto-update after you add the ref and there's no link (though it still recognizes that it's a path). I am forced to re-load in order for the link to be picked up.
I would expect that after I type the path that it becomes clickable without a reload.
After done typing:

After reload:

Weird. The links should always be clickable even if the referenced file doesn't exist
I think the issue that creating a new file called tsconfig.json does not actually activate the typescript extension (we normally rely on a workspace contains activation event here). I'll open a new bug to track that

Actually this is already tracked by #28122


Metro is not detecting newly created folders in development builds

Description
Summary
Metro is not detecting newly created folders. I need to restart the bundler after creating a new folder in order to use the folder --- like first add .ts/.js/.tsx/.jsx files in the folder and import stuff from them.

I am using react-native 0.71.4
This issue lies with metro v0.73.8 that is shipped with React Native v0.71.4
In all my expo & non-expo (vanilla react native) project this issue exists where react native version is 0.71.4
my previous non-expo react native v0.68.1 project does not has these issues.

What is the fix I used?
I am using metro bundler 0.76.0 in my app which fixes this issues. I am opening this issue to notify the problems I faced with the metro bundler 0.73.8 that is being shipped with react native 0.71.4

Explanation: How I found out that metro is not detecting new folder?
Whenever I create a new .ts/.js/.tsx/.jsx file in <expo-proj-root>/src/ the app correctly loads the newly created .ts/.tsx file (I can see the "Refreshing..." toast on my app)

Note that src folder was already there before starting metro server. That's why there was no error

Now the metro server is running.
BUT whenever I created a new folder (let's say some-folder) like <expo-proj-root>/src/some-folder and add a file inside it (say some-folder/abc.ts) ,  that newly created file is not loading in my app (there is no "Refreshing..." toast on my app)
I get this following error:
Unable to resolve "./src/some-folder/abc" from "App.tsx"
But when restart the Metro bundler and reload the app, this error is gone.
Stacktrace (if a crash is involved)
Full error stack trace
Android Bundling complete 55ms
Unable to resolve "./src/some-folder/abc" from "App.tsx"
 ERROR  [Error: undefined Unable to resolve module ./src/some-folder/abc from /home/ashu/Desktop/walkingpal/apps/client/App.tsx:

None of these files exist:
  * src/some-folder/abc(.native|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx|.android.js|.native.js|.js|.android.jsx|.native.jsx|.jsx|.android.json|.native.json|.json)
  * src/some-folder/abc/index(.native|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx|.android.js|.native.js|.js|.android.jsx|.native.jsx|.jsx|.android.json|.native.json|.json)
> 1 | import React from "react";
  2 | import { StyleSheet, Text, View } from "react-native";
  3 | import { Button } from "react-native-paper";
  4 | import "expo-dev-client";]
Error: Unable to resolve module ./src/some-folder/abc from /home/ashu/Desktop/walkingpal/apps/client/App.tsx:

None of these files exist:
  * src/some-folder/abc(.native|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx|.android.js|.native.js|.js|.android.jsx|.native.jsx|.jsx|.android.json|.native.json|.json)
  * src/some-folder/abc/index(.native|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx|.android.js|.native.js|.js|.android.jsx|.native.jsx|.jsx|.android.json|.native.json|.json)
> 1 | import React from "react";
  2 | import { StyleSheet, Text, View } from "react-native";
  3 | import { Button } from "react-native-paper";
  4 | import "expo-dev-client";
    at ModuleResolver.resolveDependency (/home/ashu/Desktop/walkingpal/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:137:15)
    at DependencyGraph.resolveDependency (/home/ashu/Desktop/walkingpal/node_modules/metro/src/node-haste/DependencyGraph.js:260:43)
    at Object.resolve (/home/ashu/Desktop/walkingpal/node_modules/metro/src/lib/transformHelpers.js:177:21)
    at Graph._resolveDependencies (/home/ashu/Desktop/walkingpal/node_modules/metro/src/DeltaBundler/Graph.js:432:35)
    at Graph._processModule (/home/ashu/Desktop/walkingpal/node_modules/metro/src/DeltaBundler/Graph.js:218:38)
    at async Graph._traverseDependenciesForSingleFile (/home/ashu/Desktop/walkingpal/node_modules/metro/src/DeltaBundler/Graph.js:207:5)
    at async Graph.traverseDependencies (/home/ashu/Desktop/walkingpal/node_modules/metro/src/DeltaBundler/Graph.js:147:9)
    at async DeltaCalculator._getChangedDependencies (/home/ashu/Desktop/walkingpal/node_modules/metro/src/DeltaBundler/DeltaCalculator.js:247:42)
    at async DeltaCalculator.getDelta (/home/ashu/Desktop/walkingpal/node_modules/metro/src/DeltaBundler/DeltaCalculator.js:90:16)
    at async DeltaBundler.getDelta (/home/ashu/Desktop/walkingpal/node_modules/metro/src/DeltaBundler.js:67:12)

React Native Version
0.71.4
Output of npx react-native info
System:
    OS: Linux 5.19 Ubuntu 22.04.2 LTS 22.04.2 LTS (Jammy Jellyfish)
    CPU: (8) x64 AMD Ryzen 7 4700U with Radeon Graphics
    Memory: 2.35 GB / 7.19 GB
    Shell: 5.8.1 - /usr/bin/zsh
  Binaries:
    Node: 16.19.1 - /run/user/1000/fnm_multishells/66137_1679052310859/bin/node
    Yarn: 1.22.19 - /run/user/1000/fnm_multishells/66137_1679052310859/bin/yarn
    npm: 8.19.3 - /run/user/1000/fnm_multishells/66137_1679052310859/bin/npm
    Watchman: 2<IP_ADDRESS> - /home/linuxbrew/.linuxbrew/bin/watchman
  SDKs:
    Android SDK: Not Found
  IDEs:
    Android Studio: AI-221.6008.13.2211.9619390
  Languages:
    Java: 11.0.18 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: 10.1.3 => 10.1.3
    react: 18.2.0 => 18.2.0
    react-native: 0.71.4 => 0.71.4
  npmGlobalPackages:
    *react-native*: Not Found

Steps to reproduce + link to a repository
I have pushed the minimal repro demo at https://github.com/ashuvssut/expo-dev-client-bug-repro
Read the README given at that repo to get the reproducible steps

This seems similar to: https://github.com/facebook/react-native/issues/36387
Closing for now but feel free to add more context to the issue above, thanks for your detailed report!

Please install Watchman.
Windows users without Watchman are facing this bug with the RN versions > 0.71.1.
https://facebook.github.io/watchman/docs/install.html

@nithianandan90 kindly see my npx react-native info logs. I have watchman installed

Binaries:
Node: 16.19.1 - /run/user/1000/fnm_multishells/66137_1679052310859/bin/node
Yarn: 1.22.19 - /run/user/1000/fnm_multishells/66137_1679052310859/bin/yarn
npm: 8.19.3 - /run/user/1000/fnm_multishells/66137_1679052310859/bin/npm
Watchman: 2<IP_ADDRESS> - /home/linuxbrew/.linuxbrew/bin/watchman 👈👈👈👈

@ashuvssut - it may be the case that Watchman is installed but not being used. useWatchman: false in your Metro config would be an obvious reason but there could be others. You can try starting Metro with DEBUG=Metro:*, which should show you which watcher is being used. If it's the Node watcher, this sounds very much like the known issue, workarounds at https://github.com/facebook/react-native/issues/36387#issuecomment-1474878174.
If Watchman is installed but not being used, that in itself sounds like an issue worth debugging. Could you paste the output of watchman list-capabilities?

@robhogan as I mentioned in the issue, my issue is already fixed by using metro bundler v0.76.0
Here are the 2 logs.

 watchman list-capabilities
DEBUG='Metro:*' yarn client:metro

1.  watchman list-capabilities
$ watchman list-capabilities
{
    "version": "2<IP_ADDRESS>",
    "capabilities": [
        "watcher-eden",
        "scm-git",
        "saved-state-local",
        "watcher-inotify",
        "cmd-watch",
        "cmd-watch-list",
        "cmd-watch-del",
        "cmd-clock",
        "clock-sync-timeout",
        "cmd-trigger",
        "cmd-unsubscribe",
        "cmd-state-enter",
        "cmd-since",
        "cmd-query",
        "cmd-global-log-level",
        "cmd-get-config",
        "cmd-get-sockname",
        "cmd-list-capabilities",
        "cmd-log-level",
        "cmd-debug-watcher-info-clear",
        "cmd-debug-watcher-info",
        "cmd-debug-symlink-target-cache",
        "cmd-debug-root-status",
        "cmd-debug-status",
        "cmd-debug-set-parallel-crawl",
        "cmd-debug-poison",
        "cmd-debug-ageout",
        "cmd-trigger-del",
        "suffix-set",
        "cmd-debug-contenthash",
        "dedup_results",
        "relative_root",
        "glob_generator",
        "cmd-state-leave",
        "field-type",
        "field-cclock",
        "field-oclock",
        "field-mtime_f",
        "cmd-debug-get-asserted-states",
        "field-nlink",
        "cmd-debug-recrawl",
        "field-ino",
        "field-atime_ns",
        "field-gid",
        "field-ctime_f",
        "field-ctime_ns",
        "field-ctime",
        "field-ctime_us",
        "scm-hg",
        "field-exists",
        "cmd-log",
        "field-ctime_ms",
        "cmd-version",
        "field-size",
        "field-mtime_ms",
        "field-mode",
        "field-mtime",
        "field-atime",
        "field-mtime_ns",
        "field-atime_ms",
        "field-atime_us",
        "field-name",
        "cmd-subscribe",
        "field-symlink_target",
        "cmd-get-log",
        "field-atime_f",
        "cmd-flush-subscriptions",
        "field-content.sha1hex",
        "scm-since",
        "term-type",
        "cmd-debug-set-subscriptions-paused",
        "term-true",
        "term-suffix",
        "cmd-watch-project",
        "cmd-find",
        "term-size",
        "term-pcre",
        "cmd-debug-get-subscriptions",
        "term-not",
        "term-name",
        "term-match",
        "term-ipcre",
        "term-iname",
        "field-dev",
        "term-imatch",
        "term-idirname",
        "term-false",
        "cmd-trigger-list",
        "term-exists",
        "cmd-debug-show-cursors",
        "field-new",
        "term-empty",
        "term-dirname",
        "cmd-watch-del-all",
        "field-uid",
        "term-since",
        "term-anyof",
        "wildmatch-multislash",
        "field-mtime_us",
        "term-allof",
        "wildmatch",
        "bser-v2",
        "cmd-debug-drop-privs",
        "cmd-get-pid",
        "cmd-shutdown-server"
    ]
}

2. DEBUG='Metro:*' yarn client:metro
When starting Metro with DEBUG=Metro:*
  Welcome to Metro v0.73.8
              Fast - Scalable - Integrated

r - reload the app
d - open developer menu
i - run on iOS
a - run on Android

  Metro:Watcher Beginning crawl with "watchman". +0ms
  Metro:Watcher Crawler "watchman" returned 1 added/modified, 0 removed, 1 clock(s). +40ms
  Metro:Watcher Using watcher: watchman +80ms
  Metro:WatchmanWatcher Received watch-project response: apps/client +52ms
  Metro:WatchmanWatcher Received clock response: c:1679402381:7396:2:93 +1ms
  Metro:WatchmanWatcher Received subscribe response: metro-file-map-8436--mylib-_dev-walkingpal-0712-apps-client-32324a5007d67d83197e398df5a21627 +1ms
  Metro:WatchmanWatcher Received watch-project response: node_modules +0ms
  Metro:WatchmanWatcher Received clock response: c:1679402381:7396:2:94 +1ms
  Metro:WatchmanWatcher Received watch-project response: libs +0ms
  Metro:WatchmanWatcher Received subscribe response: metro-file-map-8436--mylib-_dev-walkingpal-0712-node_modules-e07e0fb9ad721976325f837f8a1004b4 +0ms
  Metro:WatchmanWatcher Received clock response: c:1679402381:7396:2:95 +1ms
  Metro:WatchmanWatcher Received subscribe response: metro-file-map-8436--mylib-_dev-walkingpal-0712-libs-9dd62b0d3d7f78df897be0261d132a90 +0ms
  Metro:WatchmanWatcher Received subscription response: metro-file-map-8436--mylib-_dev-walkingpal-0712-node_modules-e07e0fb9ad721976325f837f8a1004b4 (fresh: false, files: 2, enter: undefined, leave: undefined) +27s
  Metro:WatchmanWatcher Handling change to: .cache/nx/d/.watchman-cookie-linu-7396-2 (new: true, exists: false) +0ms
  Metro:WatchmanWatcher Handling change to: .cache/nx/d (new: false, exists: true) +12ms

Thanks for the info!

my issue is solved by using metro bundler v0.76.0

Are the logs you've given using<EMAIL_ADDRESS>I'd be interested to see the logs you'd see in the failing case, with<EMAIL_ADDRESS>

I have the same issue.
It's seems that folder named with client are not working.
I renamed it and it work for me.


Mar-24: How I'm Moving to AWS S3 Pt.2

Add new post for Moving data from GCP to AWS S3 Part 2
Update Part 1 post to include link for Part-2 and Part-3
Minor files from main branch

Merge to main


What's the coordinate axis direction during back projection?

Hello, thanks for your great work! I try to understand the back projection code but the coordinate direction confuses me.
As I understand, the back projection of the depth image is based on the pinhole camera model, which is shown in Fig. 1.
Here the point $P=(x_t, y_t, z_t)$ in the real world is projected to the focal plane as $P\prime = (u_t, v_t)$. For $P=(x_t, y_t, z_t)$, its coordinate system origin is $O_2$, the optical center. For $P\prime = (u_t, v_t)$, its origin is $O_0$, the lower left corner of the image. The center of the image $O_1 = (x_c, y_c)$.
Fig. 1

Code Block 1
def get_point_cloud_from_z_t(Y_t, camera_matrix, device, scale=1):
  """Projects the depth image Y into a 3D point cloud.
  Inputs:
      Y is bsxHxW
      camera_matrix
  Outputs:
      X is positive going right
      Y is positive into the image
      Z is positive up in the image
      XYZ is bsxHxWx3
  """
  # grid_x stands for the x coordinate of each pixel
  # grid_z stands for the z coordinate of each pixel
  grid_x, grid_z = torch.meshgrid(torch.arange(Y_t.shape[-1]),
                                  torch.arange(Y_t.shape[-2] - 1, -1, -1))
  # grid_x:
  # 0 1 2 ... W-1
  # 0 1 2 ... W-1
  # ...
  # 0 1 2 ... W-1
  # grid_z:
  # H-1 H-1 ... H-1
  # H-2 H-2 ... H-2
  # ...
  # 0 0 ... 0
  grid_x = grid_x.transpose(1, 0).to(device)  # H x W
  grid_z = grid_z.transpose(1, 0).to(device)  # H x W
  grid_x = grid_x.unsqueeze(0).expand(Y_t.size())  # bs x H x W
  grid_z = grid_z.unsqueeze(0).expand(Y_t.size())  # bs x H x W

  X_t = (grid_x[:, ::scale, ::scale] - camera_matrix.xc) * \
      Y_t[:, ::scale, ::scale] / camera_matrix.f
  Z_t = (grid_z[:, ::scale, ::scale] - camera_matrix.zc) * \
      Y_t[:, ::scale, ::scale] / camera_matrix.f

  # bs x H x W x 3
  XYZ = torch.stack(
      (X_t, Y_t[:, ::scale, ::scale], Z_t), dim=len(Y_t.size()))

  return XYZ

In Code Block 1 above, considering the part computing X_t and Z_t, assume:
\text{camera\_matrix.xc}=x_c, \text{camera\_matrix.zc}=z_c, \text{camera\_matrix.f}=f,

Let's just ignore the broadcasting and only focus on a single point $P=(x_t, y_t, z_t)$. Then the corresponding code is equivalent to the following mathematical formula:
x_t = (u_t - x_c) \cdot \frac{y_t}{f},

z_t = (v_t - z_c) \cdot \frac{y_t}{f}.

Given $P\prime$ is in the upper right part of the image, such that $u_t - x_c > 0, v_t - z_c > 0$. Since $y_t$ represents the depth info, we also have $y_t > 0$. So $x_t > 0, z_t > 0$. Then the coordinate system of $P=(x_t, y_t, z_t)$ should be what Fig.1 shows.
Here comes the question. Why is the coordinate system exactly the opposite of the code comments? Plus it's even a left-handed coordinate system! Could you please point out what's wrong? Thank u a lot!

I thought the above paradox was caused by the image plane (focal plane). I was inspired by Fig. 2. Although the image is formed in the image plane, the camera will always invert it to make sure the customer won't see an upside-down image. So here the virtual image plane is considered as the actual image plane, where the pixel coordinate system lies in.
Fig. 2

With the assumption above, the coordinate axis direction in the code comments still doesn't make sense. Looking from the optical center to the virtual image plane, the coordinate axes of $P$ are as follows: X is positive going right, Y is positive into the image, Z is positive up in the image.
Given $P\prime$ lies in the top right of $O_3$, now $P$ also lies in the same direction of $O_4$. We still have $u_t - x_c > 0, v_t - z_c > 0$, so $x_t > 0, z_t > 0$ still holds. But Fig. 3 shows that $x_t < 0$. So I guess new paradox appears. Still need help!
Fig. 3

We borrowed the code directly from the Object Goal Nav.  And the habitat coordinate documentation can be found in the link
I’m not entirely sure I fully understand your question. From the comment, Z is defined as positive upwards in the image, and in block 1, the code uses a descending order, so grid_z becomes negative downwards in the image. Therefore, this follows a typical pinhole camera model, which I believe aligns with your equation.”
Please let me know if I have overlooked any of your points.

I'm sorry that maybe I didn't make myself clear. My straight question is: according to the equation, $x_t$ and $z_t$ should be both greater than 0. So the coordinate system for $P$ should be the blue line in Fig. 1. However, it's a left-handed coordinate system. What's more, it's against the code comment. X is positive going left, Y is positive going out of the image, Z is positive going down. Why does this paradox happen?

It's indeed a left-hand coordinate.  The code,
grid_x, grid_z = torch.meshgrid(torch.arange(Y_t.shape[-1]), torch.arange(Y_t.shape[-2] - 1, -1, -1)), generate grid_x and grid_z. Here, the grid_x increases from 0 to W (use W to represent Y_t.shape[-1]), pointing from left to right. And grid_z decreases from H-1 (H indicates Y_t.shape[-1]) to 0 (bottom of the image). This means higher grid_z values correspond to the top of the image. Considering that the x-axis and y-axis of Pixel Coordinate System, start from left to right and up to down, respectively.
Specifically, when grid_z > camera_matrix.zc, the term (grid_z - camera_matrix.zc) is positive, indicating positions above the camera's vertical center.
Conversely, when grid_z < camera_matrix.zc, the term is negative, indicating positions below the camera's vertical center.

Thanks for your patience. I think I get it now. If it's a left-handed coordinate system, then everything makes sense. The comment says: "Y is positive into the image". It actually means "Y is positive into the virtual image plane", shown in Fig.4. This makes a left-handed coordinate system.
Fig. 4

Great! I will close this issue. Feel free to reopen it if you have further questions.


Selenium Python NoSuchElementException Cannot be Caught

VSCode Version: 1.11
OS Version: Windows 10

Steps to Reproduce:
from selenium import webdriver
from selenium.common.exceptions import NoSuchElementException

driver = webdriver.Chrome('chromedriver.exe')
driver.get("https://www.google.com/")
try:
	driver.find_element_by_id('job_send_docs')
except NoSuchElementException:
	pass

Run the code above which tries to get an element that is not there (this is on purpose).
Observe that VSCode does not except the NoSuchElementException

@ConnorSMaynes What are you trying to do?

Another module downgraded the 'requests' module to a lower version. When I upgraded the 'requests' module to the latest version, the problem went away.


⚠ Senior School Website has degraded performance

In 3ee669d, Senior School Website (https://www.cranleigh.org) experienced degraded performance:

HTTP code: 200
Response time: 18637 ms

Resolved: Senior School Website performance has improved in 8e1afb2.