example stm32f1 usb_serial: unable to enumerate USB device

Hi,
On the current main branch, when I run cargo run --bin usb_serial --release in the embassy/examples/stm32f1 folder, it correctly build and flash my bluepill (stm32f103c8) through a stlink v2:
$ cargo run --bin usb_serial --release
    Finished release [optimized + debuginfo] target(s) in 0.25s
     Running `probe-rs run --chip STM32F103C8 target/thumbv7m-none-eabi/release/usb_serial`
     Erasing sectors ✔ [00:00:02] [########################################################] 37.00 KiB/37.00 KiB @ 13.73 KiB/s (eta 0s )
 Programming pages   ✔ [00:00:55] [#########################################################] 37.00 KiB/37.00 KiB @    680 B/s (eta 0s )    Finished in 58.348s
0.000000 TRACE BDCR configured: 00000200
└─ embassy_stm32::rcc::bd::{impl#2}::init @ …/embassy/embassy-stm32/src/fmt.rs:117
0.000000 DEBUG rcc: Clocks { sys: Hertz(48000000), pclk1: Hertz(24000000), pclk1_tim: Hertz(48000000), pclk2: Hertz(48000000), pclk2_tim: Hertz(48000000), hclk1: Hertz(48000000), adc: Some(Hertz(6000000)), rtc: Some(Hertz(40000)) }
└─ embassy_stm32::rcc::set_freqs @ …/embassy/embassy-stm32/src/fmt.rs:130
0.000000 INFO  Hello World!
└─ usb_serial::____embassy_main_task::{async_fn#0} @ src/bin/usb_serial.rs:30

But the device is not recognized on linux. dmesg show the following:
[82148.285782] usb 1-<IP_ADDRESS>: new full-speed USB device number 43 using xhci_hcd
[82148.382465] usb 1-<IP_ADDRESS>: device descriptor read/64, error -32
[82148.585779] usb 1-<IP_ADDRESS>: device descriptor read/64, error -32
[82148.789064] usb 1-<IP_ADDRESS>: new full-speed USB device number 44 using xhci_hcd
[82148.885799] usb 1-<IP_ADDRESS>: device descriptor read/64, error -32
[82149.089093] usb 1-<IP_ADDRESS>: device descriptor read/64, error -32
[82149.196025] usb 1-6.4.4-port2: attempt power cycle
[82149.835745] usb 1-<IP_ADDRESS>: new full-speed USB device number 45 using xhci_hcd
[82149.836137] usb 1-<IP_ADDRESS>: Device not responding to setup address.
[82150.042773] usb 1-<IP_ADDRESS>: Device not responding to setup address.
[82150.249053] usb 1-<IP_ADDRESS>: device not accepting address 45, error -71
[82150.345714] usb 1-<IP_ADDRESS>: new full-speed USB device number 46 using xhci_hcd
[82150.346162] usb 1-<IP_ADDRESS>: Device not responding to setup address.
[82150.552830] usb 1-<IP_ADDRESS>: Device not responding to setup address.
[82150.759129] usb 1-<IP_ADDRESS>: device not accepting address 46, error -71
[82150.759415] usb 1-6.4.4-port2: unable to enumerate USB device

Am I missing something, or is there a bug here ?
 DEFMT_LOG=trace cargo run --bin usb_serial --release

Yes:
$ DEFMT_LOG=trace cargo run --bin usb_serial --release
    Finished release [optimized + debuginfo] target(s) in 0.13s
     Running `probe-rs run --chip STM32F103C8 target/thumbv7m-none-eabi/release/usb_serial`
     Erasing sectors ✔ [00:00:02] [########################################################] 37.00 KiB/37.00 KiB @ 14.96 KiB/s (eta 0s )
 Programming pages   ✔ [00:00:55] [##################################################################################################################################################################################################] 37.00 KiB/37.00 KiB @    681 B/s (eta 0s )    Finished in 58.092s
0.000000 TRACE BDCR configured: 00000200
└─ embassy_stm32::rcc::bd::{impl#2}::init @ /home/nim/local/tmp/embassy/embassy-stm32/src/fmt.rs:117
0.000000 DEBUG rcc: Clocks { sys: Hertz(48000000), pclk1: Hertz(24000000), pclk1_tim: Hertz(48000000), pclk2: Hertz(48000000), pclk2_tim: Hertz(48000000), hclk1: Hertz(48000000), adc: Some(Hertz(6000000)), rtc: Some(Hertz(40000)) }
└─ embassy_stm32::rcc::set_freqs @ /home/nim/local/tmp/embassy/embassy-stm32/src/fmt.rs:130
0.000000 INFO  Hello World!
└─ usb_serial::____embassy_main_task::{async_fn#0} @ src/bin/usb_serial.rs:30

Adding a bit more info!(), I can see it is blocking on the let driver = Driver ::new(p.USB, Irqs, p.PA12, p.PA11); line

And with more info!() in embassy-stm32/src/usb/usb.rs, it is blocking on cortex_m::asm::delay(unsafe { crate::rcc::get_freqs() }.sys.0 / 10);

I have this bluepill btw. Maybe you have the other version? Both should work though...

Thanks for trying !
My bluepill has micro-usb, and if I disconnect 3.3v from the stlink "VAPP", I get:
Error: Connecting to the chip was unsuccessful.

Caused by:
    0: An error with the usage of the probe occurred
    1: An error specific to a probe type occurred
    2: Command failed with status JtagGetIdcodeError

About this VAPP connection, datasheet says:

The power supply from the application board is connected to the ST-LINK/V2 debugging and programming board to ensure signal compatibility between the boards.

If I disconnect micro-usb, and only power the bluepill from stlink (with a 3-way cable between bluepill 3v3 and stlink VAPP and VDD), I have the same result (blocking on line cortex_m::asm::delay(unsafe { crate::rcc::get_freqs() }.sys.0 / 10);)
This might be my board. I have that one. They say it is based on STM32F103C8T6, but I can read on the chip that it is CH32F103C8T6.

CH32F103C8T6

the CH32F103 is a chip made by a different company aiming to be register-compatible with the stm32f103. It's known to have slight differences though, which might explain why it doesn't work for you.
Unfortunately Embassy only supports the STM32 chips, we don't actively test others. It's still nice to support other chips, if you figure out what the issue is and send a PR I'll merge it.

Ok, I understand. I did try a few workarounds on this cortex_m::asm::delay(unsafe { crate::rcc::get_freqs() }.sys.0 / 10); line, but I don't get anything working. I guess I'll close this, and try again on a real STM32 :)


fix(transformer/react): refresh plugin has incorrect reference flags

As you see the diff

Let's merge and review fix later.


ip4defrag: delete flow from defragmenter on flush.

https://github.com/google/gopacket/issues/475

CLA signed.

Thanks!


Feed to Documentation Search

... or @hmusum
This is a copy of files from documentation with mods in the _plugins-vespafeed/vespa_index_generator.rb + config. A GitHub action will push on each commit

lets give it a go


cargo llvm-cov nexttest-archive does not work with the --cargo-profile flag of nextest

I've run the following commands:
cargo llvm-cov nextest-archive --cargo-profile test-jenkins --archive-file tests.tar.zst
cargo llvm-cov nextest --archive-file tests.tar.zst

while having a custom cargo profile test-jenkins that just disable incremental compilation.
This fails after running the tests with the following output:
warning: not found object files (searched directories: /src/target/llvm-cov-target/target/debug); this may occur if show-env subcommand is used incorrectly (see docs or other warnings), or unsupported commands such as nextest archive are used
No filenames specified!
error: failed to generate report: process didn't exit successfully: `/usr/local/rustup/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/llvm-cov report -instr-profile=/src/target/llvm-cov-target/src.profdata -ignore-filename-regex '/rustc/([0-9a-f]+|[0-9]+\.[0-9]+\.[0-9]+)/|^/src(/.*)?/(tests|examples|benches)/|^/src/target/llvm\-cov\-target($|/)|^/usr/local/cargo/(registry|git)/|^/usr/local/rustup/toolchains($|/)'` (exit status: 1)

Likely that's related to the fact that it search in the wrong path for the mentioned object files. I would expect them in /src/target/llvm-cov-target/target/test-jenkins instead. It works fine as long as I don't specify a profile at all.

This is a similar case of https://github.com/taiki-e/cargo-llvm-cov/issues/334.
The same flags (--cargo-profile) need to be passed to both cargo llvm-cov nextest-archive and cargo llvm-cov nextest --archive-file, but cargo-llvm-cov is not working because it propagates them to --extract-to.
error: the argument '--extract-to <DIR>' cannot be used with:

Ideally I would like to embed information about the flags passed to cargo llvm-cov nextest-archive to the archive created by nextest-archive to eliminate the need to pass the same flags to cargo llvm-cov nextest --archive-file, but I don't know if nextest supports that.


Should CL update how it uses RO:0002292 expresses?

In CL, a protein (not a gene) is often used as Y in X expresses some Y.
No definition, domain or range is currently specified for RO:0002292 expresses. The assumption is this object property is used to describe some gene Y being expressed by some cell X, but without a definition or range, one cannot be sure.
Per @gouttegd, genes are only used with expresses in FBbt. As noted above, CL appears to use proteins (PRO terms) with expresses.
There appears to be some debate on "gene expression" vs "protein expression", so I'm wondering if there is consensus within OBO ontologies.
Do the axioms involving expresses need to be updated in CL so genes are used opposed to proteins? Should RO:0002292 expresses have a text definition, domain and/or range to clarify the intended use for ontology editors?
FYI, @cthoyt, @cmungall.

This is meant to be a grouping relation.
The relevant definition is on the inverse relation 'expressed_in':
x expressed in y if and only if there is a gene expression process (GO:0010467) that occurs in y, and one of the following holds: (i) x is a gene, and x is transcribed into a transcript as part of the gene expression process (ii) x is a transcript, and the transcription of x is part of the gene expression process (iii) x is a mature gene product such as a protein, and x was translated or otherwise processes from a transcript that was transcribed as part of this gene expression process.
We could add a disjunctive domain here (with the same range on the inverse property):
'protein' or 'transcript' or 'gene' - although this would not be accessible to EL reasoner like ELK.  We could also mirror this def on the expresses side (at the risk of definitions getting out of sync).
I think that defining in this way is useful and pragmatic: biologists often switch between referring to genes and gene products when talking about expression and curatable gene expression data/assertions often comes with a different object types (gene, transcript or protein) depending on the source.
Arguably this makes is a parent class to 'has_plasma_membrane_component' which is the predominant relation used to record protein markers for immune cells.  (The edge case is where the protein comes from a different cell - but I'm not aware of any use of has_plasma_membrane_component where this is the case).
While there are counter arguments to this approach that appeal to more abstract ontology engineering principles (suspicions about the use of 'OR' to make heterogeneous classes; simplicity of the OP hierarchy), I think the pragmatic arguments win here.  The alternative is fragmentation of expression assertions, which I don't think is useful for anyone.

Resolved in https://github.com/oborel/obo-relations/pull/687.


Pub packages are not currently supported

Pub packages are not currently supported

Does this mean that we cannot reference pub packages at runtime right? I see that Flutter Gallery uses various pub packages, which is listed on flutter_eval readme.

Yes, you cannot reference pub packages unless you create a bridge plugin for them.
Flutter gallery is listed as an example of how flutter_eval affects the size of the gallery app when flutter_eval is added to it. You are not able to compile/run flutter gallery inside of flutter_eval though yet.


Multi-threaded CPU prediction

Is there a way to use multiple threads for prediction (inference) on CPU to make it faster?

Sorry for the slow response. We will add the multi-thread feature in the future release.


Unable to properly run Discurses

Hello,
Installed according to the Readme on my RasPi B+, but when I try running it it returns the following:
Traceback (most recent call last):
  File "/usr/local/bin/discurses", line 9, in <module>
    load_entry_point('discurses==0.3.0', 'console_scripts', 'discurses')()
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 356, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2476, in load_entry_point
    return ep.load()
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2190, in load
    ['__name__'])
  File "/usr/local/lib/python3.4/dist-packages/discurses/__init__.py", line 1, in <module>
    from . import discord
  File "/usr/local/lib/python3.4/dist-packages/discurses/discord.py", line 32
    async def eh(*args, **kwargs):
            ^
SyntaxError: invalid syntax

Can you help?

You need python 3.5 i think. Make sure to install it with pip3 if thats what the python 3 binary is called on your distro (i suspect it is)


Added a section about AddressPrefixes subnet property

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@Jak-MS
Can you try closing this one and reopening?  The build isn't showing a preview.

Hi @asudbring,
The public repo doesn't support previews. You can move the commits to the private repo for staging.

@Court72
I look at so many of these, didn't realize it was on the public repo.  I'm going to pull Ramandeep's PR down and do a PR against the private repo.
Thanks!
allen

closing


Unsupported left operand type for ClauseElement

Describe the bug

mypy complaining about & and | operators in where clauses.
To Reproduce
test_table = Table(
    "test_table",
    metadata,
    Column("i", UUID(as_uuid=True), nullable=False, primary_key=True),
    Column("x", Integer, index=True),
    Column("y", Integer, index=True),
    Index(
        "ix_xy_unique",
        "x",
        "y",
        unique=True,
    ),
)
select([test_table]).where((test_table.c.x == 2) & (test_table.c.x == 2))

Error
Unsupported left operand type for | ("ClauseElement")
Unsupported left operand type for & ("ClauseElement")

Versions.

OS: Linux Mint 19.3 Cinnamon
Python: 3.7.10
SQLAlchemy: 1.4.15
Database: PostgreSQL
DBAPI: asyncpg

Additional context

Have a nice day!

Thanks for reporting! For future reference: the type hinting issues are tracked in https://github.com/sqlalchemy/sqlalchemy2-stubs, as the type hints are located in that repo.

@MaicoTimmerman, sorry. I've just realized. I'll post next ones here.


Sending segment batch failed with: NoCredentialProviders: no valid provider

I am running daemon locally for my Django project to get traces.
I have configured the credentials in environment variables and ~/.aws/credentials file as well. But still facing that issue. Can anybody please help me in figuring out issue.
The error which I am facing is
Sending segment batch failed with: NoCredentialProviders: no valid provider
PS: I am using AWS-Xrays for Python. My OS is Ubuntu 18.04.
@awssandra

Hi @Hassan1175
The reason is because the Deamon can't properly access the AWS Credentials. This may be due to user permission or some typo in credential file.
Can you try modifying the access permission of ~/.aws folder and make sure there is no typo in ~/.aws/credentials file?

Closing as duplicate of #48. If there are further details or questions relating to this bug please post them their to assist our investigations.

Closing as duplicate of #48. If there are further details or questions relating to this bug please post them their to assist our investigations.

I got this error when my version of the x-ray deamon was old.
Follow this as guidance to update your x-ray deamon if it is running on ECS:
https://docs.aws.amazon.com/xray/latest/devguide/xray-daemon-ecs.html


Links to download documentation need updating

First, the link to the docs on the main page:
http://flask.pocoo.org/docs/

is missing the links on the left for downloading the docs. It should be:
http://flask.readthedocs.org/en/latest/

Second, the download links on the left are dead ends:
http://flask.pocoo.org/docs/flask-docs.[epub,pdf,mobi,zip]

should be:
http://readthedocs.org/projects/flask/downloads/[pdf,epub,htmlzip]/latest/

Same thing for the docs download links on the main page under the heading "Interested?"

The readthedocs version is not an official source of documentation.  The links are indeed broken on the official site, but that belongs under either pocoo/metaflask#7 or pocoo/metaflask#43 or mitsuhiko/flask-website#16.


release: v0.6.1

Description
## v0.6.1

### [0.6.1](https://github.com/openfga/js-sdk/compare/v0.6.0...v0.6.1) (2024-07-11)
- fix(metrics): add missing request model id attribute (#122)

> [!IMPORTANT]
> In this release we have changed our TypeScript compile target to ES2020 to align with our stated supported environments

References

Review Checklist

[ ] I have clicked on "allow edits by maintainers".
[ ] I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
[ ] The correct base branch is being used, if not main
[ ] I have added tests to validate that the change in functionality is working as expected

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.08%. Comparing base (c807c37) to head (092943f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #123   +/-   ##
=======================================
  Coverage   88.08%   88.08%
=======================================
  Files          19       19
  Lines         999      999
  Branches      149      149
=======================================
  Hits          880      880
  Misses         82       82
  Partials       37       37

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Installing tensorflow-serving-api 1.9.1 makes the package of tensorflow unuseable

System information
== cat /etc/issue ===============================================
Darwin mbp-2.local 17.5.0 Darwin Kernel Version 17.5.0: Fri Apr 13 19:32:32 PDT 2018; root:xnu-4570.51.2~1/RELEASE_X86_64 x86_64
Mac OS X 10.13.4
== are we in docker =============================================
No
== compiler =====================================================
Apple LLVM version 9.1.0 (clang-9<IP_ADDRESS>)
Target: x86_64-apple-darwin17.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
== uname -a =====================================================
Darwin mbp-2.local 17.5.0 Darwin Kernel Version 17.5.0: Fri Apr 13 19:32:32 PDT 2018; root:xnu-4570.51.2~1/RELEASE_X86_64 x86_64
== check pips ===================================================
numpy                              1.14.2
protobuf                           3.5.2.post1
tensorflow                         1.8.0
tensorflow-hub                     0.1.0
tensorflow-model-analysis          0.6.0
tensorflow-serving-api             1.8.0
tensorflow-tensorboard             1.5.0
tensorflow-transform               0.6.0
tensorflowjs                       0.1.0
tensorflowonspark                  1.0.0
== check for virtualenv =========================================
False
== tensorflow import ============================================
tf.VERSION = 1.8.0
tf.GIT_VERSION = v1.8.0-0-g93bc2e2072
tf.COMPILER_VERSION = v1.8.0-0-g93bc2e2072
Sanity check: array([1], dtype=int32)
/usr/local/lib/python2.7/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
== env ==========================================================
LD_LIBRARY_PATH is unset
DYLD_LIBRARY_PATH is unset
== nvidia-smi ===================================================
tf_env_collect.sh: line 106: nvidia-smi: command not found
== cuda libs  ===================================================
== cat /etc/issue ===============================================
Darwin mbp-2.local 17.5.0 Darwin Kernel Version 17.5.0: Fri Apr 13 19:32:32 PDT 2018; root:xnu-4570.51.2~1/RELEASE_X86_64 x86_64
Mac OS X 10.13.4
== are we in docker =============================================
No
== compiler =====================================================
Apple LLVM version 9.1.0 (clang-9<IP_ADDRESS>)
Target: x86_64-apple-darwin17.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
== uname -a =====================================================
Darwin mbp-2.local 17.5.0 Darwin Kernel Version 17.5.0: Fri Apr 13 19:32:32 PDT 2018; root:xnu-4570.51.2~1/RELEASE_X86_64 x86_64
== check pips ===================================================
numpy                              1.14.2
protobuf                           3.5.2.post1
tensorflow                         1.8.0
tensorflow-hub                     0.1.0
tensorflow-model-analysis          0.6.0
tensorflow-serving-api             1.8.0
tensorflow-tensorboard             1.5.0
tensorflow-transform               0.6.0
tensorflowjs                       0.1.0
tensorflowonspark                  1.0.0
== check for virtualenv =========================================
False
== tensorflow import ============================================
tf.VERSION = 1.8.0
tf.GIT_VERSION = v1.8.0-0-g93bc2e2072
tf.COMPILER_VERSION = v1.8.0-0-g93bc2e2072
Sanity check: array([1], dtype=int32)
/usr/local/lib/python2.7/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
== env ==========================================================
LD_LIBRARY_PATH is unset
DYLD_LIBRARY_PATH is unset
== nvidia-smi ===================================================
./tf_env_collect.sh: line 106: nvidia-smi: command not found
== cuda libs  ===================================================
Describe the problem
After installing the package tensorflow-serving-api, the package tensorflow works abnormally.
Firstly, we can run the script when TensorFlow installed to print the version.
import tensorflow as tf
print(tf.__version__)

Then we install tensorflow-serving-api with pip and try to run the same script. It throws the exception like this.
AttributeError: module 'tensorflow' has no attribute '__version__'

If we uninstall tensorflow-serving-api and reinstall tensorflow, everything works normally.
Source code / logs

I have tried and it works with pip install tensorflow-serving-api-1.9.0 and doesn't work with pip install tensorflow-serving-api-1.9.1.
It seems that the package breaks from 1.9.1.

Nagging Assignee @rohan100jain: It has been 15 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @rohan100jain: It has been 30 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @rohan100jain: It has been 45 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @rohan100jain: It has been 60 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

hmm looks like tensorflow-serving-api comes with TF 1.6. When i just download tensorflow-serving-api and do import tensorflow, it shows version 1.6. I'm guessing thats maybe causing the confusion.
I think most of the tensorflow-serving-api use cases include cases where you don't really want whole of tensorflow. So the idea is that you just install the serving-api package and then just run models / serve it.

So what is the solution of this issue? Why it was closes? I have met the same issue here
https://github.com/tensorflow/tensorflow/issues/31576


Unable to manually invalidate cached files in CloudFront

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
dmpiihwf1q6nt
Region
eu-central-1
Amplify Console feature
Not applicable
Describe the bug
Hi,
we are running a Next.js SSR build and deployment and want to manually invalidate some parts of the CloudFront Cache on specific (non amplify related) events.
After submitting the invalidation request (either via the CloudFront UI or CLI aws cloudfront create-invalidation --distribution-id <dist-id> --paths "/*"), the cache is still there. We evaluated this by the Artifact-Age not being resetted and no CloudFront Miss being reported back. So we thought at first it isn't working, but then we tried accessing the app via the .cloudfront.net url instead of the .amplifyapp.com url to verify if the cache has been dropped and in fact it had. But via the .amplifyapp.com url the cache still persists.
Are there two CloudFronts in place for one Amplify Next.js SSR App? If so, is it possible to manually invalidate files/folders of both caches?
Expected behavior
When manually triggering a CloudFront cache invalidation of files/folders, their cached state should be invalidated for the .amplifyapp.com domain.
Reproduction steps

Create and Deploy Next.js SSR Amplify App
Add some custom-headers in Amplify, for long-lasting cache public, max-age=0, s-maxage=172800, must-revalidate or switch to Preformance-Mode
Access the same example resource via the .amplifyapp.com and the .cloudfront.net url (with curl -v or other tooling)
Invalidate the CloudFront cache for the accessed resource by executing aws cloudfront create-invalidation --distribution-id <dist-id> --paths "/<path-to-resource>"
Verify the response headers, when once again accessing the resource for the two urls
-> .amplifyapp.com still serving the cached data, whereas cloudfront.net serves a fresh version

Build Settings
No response
Additional information
No response

Hi @bobrossthepainter, that's correct, there are 2 CloudFront distributions fronting an SSR app. On a deployment, we flush (invalidate) the cache on the distribution deployed on your account. However, if you have enabled Performance Mode or added cache-control headers to increase cache time on your Amplify App, there is no way to invalidate the cache of the managed distribution at the moment. You will need to wait until s-max-age expires. Which the maximum you can set is 24 hours precisely so that you are not in a situation of perpetually having something in the cache.
I hope this helps clarify things and feel free to re-open if you have further questions.


Remove additional space in PROJECT file

What this PR does / why we need it:
Remove wrongly added space in PROJECT file, because it affects generating new api with kubebuilder.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

/lgtm
/approve


Move toImage() impl from RepaintRenderBoundary to OffsetLayer

https://github.com/flutter/flutter/issues/16859

Looks like https://build.chromium.org/p/client.flutter/builders/Linux/builds/5734/steps/run test.dart for coverage shard/logs/stdio failure was not a flake after all.

Known flake -- https://github.com/flutter/flutter/issues/16839

Hi! I have filed 2 new issues that might be related to this. If RepaintRenderBoundary is not positioned at [0,0], toImage() does not behave as expected - https://github.com/flutter/flutter/issues/17686.
Also, related to flakiness, Image widgets sometimes don't render - https://github.com/flutter/flutter/issues/17687


Add support for elvis

https://github.com/inaka/elvis

Closing since Elvis does not support autofixing.


Access is denied for some charts in an embedded dashboard

We are building an AI cognitive tool for personalized medicine in cancer, and we would like to have an analytics dashboard in it.
For this reason, we embedded a Superset dashboard in the tool. So far, we are very satisfied with the outcomes and how the dashboard fits in the tool. We are close to make it work, but we require the help from an expert in Superset that can help us with the following problem:
Some charts in the dashboard return an "Access is Denied" error and are not shown. However, the other charts are correctly displayed. We already granted owner access to the "public" account to the dashboard, which is the one used to access an embedded dashboard. Surprisingly, when the dashboard is visualized by an admin account on the superset platform, without being embedded in our tool, all the charts are displayed and there's not such error.
Any ideas on what is happening?
Environment

superset version: apache/superset:1.5.1
any feature flags active:
"EMBEDDED_SUPERSET":True,
"DASHBOARD_CROSS_FILTER":True,
"DASHBOARD_CROSS_FILTERS":True,
"DASHBOARD_NATIVE_FILTERS_SET":True,
"DASHBOARD_RBAC":True,
"DASHBOARD_FILTERS_EXPERIMENTAL" :True,
"ENABLE_TEMPLATE_PROCESSING": True

I just had the same issue today. In my case, only bar charts where the x-axis is a category and not a date/time gave me an Access Denied. While inspecting the network calls in chrome I find out that it was the explore_json endpoint that returned 403 so I added to the role I use for embed the right can explore json on Superset.
I hope it helps :)

i am getting this error when i am trying to drill to detail on the map on embedded dashboard

I just added "can log on Superset" permission to Public role and that solved the problem for me.

Hi i have similar problem with public (no login) access to dashboards
I created role Guest and added in superset_config.py

PUBLIC_ROLE_LIKE = "Guest"

DEFAULT_FEATURE_FLAGS = {
    "DASHBOARD_RBAC": True,
    "ENABLE_TEMPLATE_PROCESSING": True,
    "DASHBOARD_NATIVE_FILTERS": True,
    "DASHBOARD_CROSS_FILTERS": True
}

when i publish and share via link any embedded dashboard or chart i get Access is Denied and its redirect me on Log In Page.
Any suggestions how to evade it ?

Embedded dashboards without URL SLUG will not be opened

I'm hopeful that the solutions above panned out, and that's why this thread has gone quiet. We're no longer supporting Superset 2.x or prior, and since it's been a while since this thread saw any activity, I'll close this as stale. If it is still an issue in Superset 3.x or newer, we can re-open this, or feel free to open a new issue with updated context. Thanks!

This solution worked for me too. I wanted to make a dashboard public, but one chart (Geographical coverage using the map) was giving the error Access Denied. Added can explore json on Superset in the permissions and it worked perfectly.


Warmup all decode buckets

What does this PR do?
Adds additional warmup stage to warmup all decode buckets.

@regisss please review

We tested and it fixes the problem. @regisss , please review at your earliest convenience. thanks


cargo vendor dropping fields when applied to workspace.

Problem
Attempting to cargo vendor the "type_hash" crate fails to preserve some package fields.
Specifically, these disappear from "type_hash_core" after the Cargo.toml manifest rewrite:
documentation = "https://docs.rs/type_hash"
homepage = "https://github.com/peterjoel/type_hash"
repository = "https://github.com/peterjoel/type_hash"

I had a quick look but can't see the problem here.
Vendored Cargo.toml:
..
[dependencies]
type_hash = "0.3"
..

Invoking cargo vendor will succeed, but will leave type_hash_core without the above-mentioned fields.
Note that "type_hash_core" package is version 0.2. The other two are version 0.3.
Actually, the repository is missing from crates.io as well:

https://crates.io/crates/type_hash_core
https://crates.io/crates/type_hash_macros
https://crates.io/crates/type_hash

I'm not sure if its a parsing error (I don't see the problem) or something related to treatment of these fields WRT different version numbering.
Steps
No response
Possible Solution(s)
No response
Notes
No response
Version
cargo 1.59.0 (49d8809dc 2022-02-10)
release: 1.59.0
commit-hash: 49d8809dc2d3e6e0d5ec634fcf26d8e2aab67130
commit-date: 2022-02-10
host: x86_64-unknown-linux-gnu
libgit2: 1.3.0 (sys:0.13.23 vendored)
libcurl: 7.80.0-DEV (sys:0.4.51+curl-7.80.0 vendored ssl:OpenSSL/1.1.1l)
os: Debian rodete (rodete) [64-bit]

type_hash_core 0.2.0 as published on Jan 2, 2021 did not have those fields: https://github.com/peterjoel/type_hash/blob/v0.2.0/core/Cargo.toml
It looks like they have added them afterwards, but have not published a new version.

This was the piece I was missing. The latest (0.3.0) type_hash/Cargo.toml depends on:
type_hash_core = { version = "=0.2.0", path = "../core" }

It looks like some tooling I am working with is ignoring the path and querying crates.io for the older release. The version in the repo should probably be bumped to avoid this sort of thing. I'll send a pull request and close this.
Thanks for the help!


Create login page

Refer to design
You can look at the registration page for using prebuilt components in our project

I am working on this issue.

I am working on this issue.


Increase test coverage above 90%

Description
This pull request increases test coverage above 90%.
Type of change
Please check all relevant options.

[x] Improvement (non-breaking)
[ ] Bug fix (non-breaking)
[ ] New feature (non-breaking)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Codecov Report

Merging #1337 (527a838) into main (49e13ea) will decrease coverage by 56.96%.
The diff coverage is 14.18%.

@@             Coverage Diff             @@
##             main    #1337       +/-   ##
===========================================
- Coverage   80.79%   23.83%   -56.97%
===========================================
  Files         232      232
  Lines       19756    18828      -928
  Branches     3572     3081      -491
===========================================
- Hits        15962     4487    -11475
- Misses       2451    14274    +11823
+ Partials     1343       67     -1276

Impacted Files
Coverage Δ

...cks/evasion/adversarial_patch/adversarial_patch.py
35.93% <ø> (-44.07%)
:arrow_down:

...ion/adversarial_patch/adversarial_patch_pytorch.py
12.33% <ø> (-65.73%)
:arrow_down:

.../adversarial_patch/adversarial_patch_tensorflow.py
13.59% <ø> (-64.29%)
:arrow_down:

art/attacks/evasion/auto_attack.py
22.47% <ø> (-60.87%)
:arrow_down:

...attacks/evasion/auto_projected_gradient_descent.py
7.48% <ø> (-71.91%)
:arrow_down:

art/attacks/evasion/boundary.py
14.54% <ø> (-72.74%)
:arrow_down:

art/attacks/evasion/brendel_bethge.py
10.13% <ø> (-74.86%)
:arrow_down:

art/attacks/evasion/carlini.py
6.71% <ø> (-80.16%)
:arrow_down:

art/attacks/evasion/decision_tree_attack.py
23.28% <ø> (-68.72%)
:arrow_down:

art/attacks/evasion/deepfool.py
19.56% <ø> (-67.54%)
:arrow_down:

... and 275 more


Feature request: Being able to color notes on map views

Hello again,
Today I come with a small feature request; being able to specify a color when creating a note on the map view. Currently they are all white. When having a large number of these notes, it may become difficult to navigate. Having the ability to color these notes would allow users to give each note its own category. This could make navigation on maps with lots of notes considerably easier.
Still rocking GoNorth internally!
Would love to hear back

Implemented with c80d0012afd10cf470c6705613b47e9650f6e9cd


How can I make vim auto prompt just after I typed dot?

how to configure vim?

https://github.com/artur-shaik/vim-javacomplete2/issues/305


"Mouseover" event not detecting feature

Hi,
I'm not sure if I'm doing this wrong, but it looks like the GetMapInfo() isn't detecting features on the mouse-over callback. So as a test, using the WPF example, specifically the MapInfo sample. I modified the MouseMove method to this:
private void MapControlOnMouseMove(object sender, MouseEventArgs e)
{
    var screenPosition = e.GetPosition(MapControl);
    var worldPosition = MapControl.Viewport.ScreenToWorld(screenPosition.X, screenPosition.Y);
    var mapInfo = MapControl.GetMapInfo(worldPosition);
    var isFeature = mapInfo.Feature != null;
    MouseCoordinates.Text = $"{worldPosition.X:F0}, {worldPosition.Y:F0}, isFeature={isFeature}";
}

I'm trying to have it so if you mouse over a certain feature, it will add a feature to another layer showing a popup with some text. IsMapInfoLayer is set to true.

That is because the WPF Point needs to be converted to a Mapsui Point.
var mapInfo = this.MapControl.GetMapInfo(screenPosition.ToMapsui());

Be careful, this may impact performance.

Great, thanks, that worked excellently. Don't seem to be seeing any CPU spikes but I'll keep an eye on that. Thanks!

Summary:

There is no built in support for MouseOver.
You could implement is yourself by requesting the GetMapInfo on the MouseOver of the platform.

Don't forget to set ILayer.IsMapInfoLayer = true;.
You need to realize this impacts performance.


NavigationView pane is not displayed when setting display mode to left while the pane is opened

Describe the bug
I discovered this issue in my application but it can be reproduced using the XAML controls gallery application. If we maximize the window while the left navigation pane is opened. The pane stays in left minimal mode instead of being displayed in left mode.
Steps to reproduce the bug

Open XAML control gallery application in windowed mode

If needed, resize the window so the navigation view is displayed in left minimal mode

Click on the hamburger button to open the left nav panel

Click on the window's maximize button

Actual behavior
The navigation panel is displayed in left minimal mode instead of left mode.

If we look at the content background, we can also notice that there is something incorrect with the image and the content.
Expected behavior
The navigation panel is displayed in left mode. Basically doing the same thing than when the navigation panel is not opened.

Version Info
NuGet package version:
[Microsoft.UI.Xaml 2.6.0]

This is not occuring for me with the XCG version <IP_ADDRESS>  Can you confirm that WinUI 2.6.1 does not solve your issue @vgromfeld ?


math function atan2()

1. SDK version（SDK 版本）
{
SW_V2101_csdk

}

2. In what kind of operation problems appear, and how to reproduce the problem ?（什么样的操作步骤问题会出现，是否是稳定复现，如何复现问题？）
{
uint8_t tog = 0;
int16_t Buffer[3];
double x_Buff;
double y_Buff;
double z_Buff;
float rolldiff = 0.0,pitchdiff =0.0;
double roll = 0.00,preroll=0.0, pitch = 0.00,prepitch = 0.0;
I2C_Config_t config;
config.freq = I2C_FREQ_100K;
I2C_Init(I2C_ACC, config);
tog = LIS3DSH_ReadID();
if(tog == 0x33)
{
  LIS3DSH_Initalize();
  sprintf(temp,"Accelerometer Initalized\r\n");
  UART_Write(UART1,temp,strlen(temp));
}

while(1)
{
Buffer[0] = 0;
Buffer[1] = 0;
Buffer[2] = 0;
LIS3DSH_ReadACC(Buffer);
x_Buff = Buffer[0];
y_Buff = Buffer[1];
z_Buff = Buffer[2];
if(x_Buff == 0 && y_Buff == 0)
{
LIS3DSH_RebootCmd();
LIS3DSH_Initalize();
}
roll = atan2(y_Buff , z_Buff) * 57.3;
pitch = atan2((- x_Buff) , sqrt(y_Buff * y_Buff + z_Buff * z_Buff)) * 57.3;
OS_Sleep(100);
}
}

https://github.com/Ai-Thinker-Open/GPRS_C_SDK/releases

Thankyou for your quick solution.
:)

but same compiler issue with sqrt() function? Actually I am working on GPS tracker with A9G. Are all these events functioning "API_EVENT_ID_NETWORK_REGISTER_SEARCHING,API_EVENT_ID_NETWORK_REGISTER_DENIED,API_EVENT_ID_NETWORK_REGISTER_NO"? Because after 2 hours module closes the connection with server and never starts again.

For 2nd answer you need to check for A9g is connected to inernet or not after some time.
HINT:-
API_EVENT_ID_NETWORK_DETACHED,
API_EVENT_ID_NETWORK_ATTACH_FAILED,
API_EVENT_ID_NETWORK_DEACTIVED,
API_EVENT_ID_NETWORK_ACTIVATE_FAILED

I connected a winbond flash memory with SPI interface but it's not working.Any suggestion. I followed the example but not able to success.

Need detailed info.!
Please create new issue for this.

Now GPS tracker is working perfectly.After few days testing I will update the result.
Thanks

Compiler error with sqrt()
undefined reference to `sqrt' it's the same error that was with atan2() before new release sdk.


Questions on Object Surface Placement and Floor Height Information

Habitat-Sim version
v0.3.1
Docs and Tutorials
Did you read the docs? https://aihabitat.org/docs/habitat-sim/
Yes
Did you check out the tutorials? https://aihabitat.org/tutorial/2020/
Yes
❓ Questions and Help
Hi, thank you for your great work on the Habitat simulation platform! I have a couple of questions regarding object placement:
I currently have access to the bounding box of an object, such as a bed from the MP3D or HM3D datasets. My goal is to place an object on the surface of these objects. Following the bounding box sampling tutorial, I need to identify the plane or surface of the object. Is there an API to obtain the height information of the mesh points within the specified bounding box? If this is possible, I could use a histogram to determine the primary height interval (like to use it in a pointcloud), which should correspond to the object's surface.
Second, what is the best way to retrieve the floor height? Is it possible to query this by level information? I am currently using height = sim.pathfinder.get_bounds()[0][1], and how to get the navigational topdown map of the second floor? because for some scene level information is missing but contain multiple floors.
Thank you for your guidance on these questions!

Hey @Eku127
Glad you are finding the platform useful. I'll tackle these questions one at a time, feel free to ask further questions.

sampling placement locations for an object on the furniture of a scanned mesh.

I currently have access to the bounding box of an object, such as a bed from the MP3D or HM3D datasets. My goal is to place an object on the surface of these objects.

I suggest that you use the snap_down util from habitat-lab for this.
I would:

sample a point from the top of the bounding box
use snap_down to test if that point projects vertically to a valid placement location on the furniture.
repeat until a valid point is found
Note that the "support_id" for scanned scenes is stage_id because there are no objects. If you did have ManagedObjects in the scene, then you would need to know the object_id of the object you are snapping onto. For that, see the Receptacle logic for ReplicaCAD and HSSD.

what is the best way to retrieve the floor height?

Multi-level handling is not  very concrete in the current implementation. The best approaches I've seen involve sampling the navmesh and then clustering the points to get estimates of the floor heights.
We are releasing a semantic region annotation format which includes floor and ceiling height extrusions. That may be useful to make this more concrete.
In any case, clever use of the navmesh points is the best bet currently.

how to get the navigational topdown map of the second floor?

The mapping code takes a vertical slice with some margin as input and uses navmesh sampling to create an occupancy grid. Once you solve the floor identification problem you can pass the desired vertical chunks into the mapping code.
A naive approach to do all the above may be to take many slices of the navmesh using the vertical bounds and check when one(s) have the maximum number of valid snap points. For example, you check is_navigable for each point in the grid and then count the total number.

Hey @Eku127
Glad you are finding the platform useful. I'll tackle these questions one at a time, feel free to ask further questions.

sampling placement locations for an object on the furniture of a scanned mesh.

I currently have access to the bounding box of an object, such as a bed from the MP3D or HM3D datasets. My goal is to place an object on the surface of these objects.

I suggest that you use the snap_down util from habitat-lab for this. I would:

sample a point from the top of the bounding box
use snap_down to test if that point projects vertically to a valid placement location on the furniture.
repeat until a valid point is found
Note that the "support_id" for scanned scenes is stage_id because there are no objects. If you did have ManagedObjects in the scene, then you would need to know the object_id of the object you are snapping onto. For that, see the Receptacle logic for ReplicaCAD and HSSD.

Thank you for the quick response! I’m aiming to place rigid objects on chairs and beds within the scanned scenes. As you pointed out, since all mesh nodes share the same ID (stage_id), the snap_down function currently can’t distinguish between surfaces like the scanned floor and a scanned bed.
However, I think I can try using both the bounding box of the object and the top-down navigation map to define the xz plane for sampling, then use the snap_down function for further positioning. I will give a try :p

It works with the snap_down function and using the topdown map to ensure valid placement!
Another question: In the Replica dataset, is it also limited to only scanned data, or is it possible to obtain detailed semantic information and categories for each object, similar to the HSSD dataset?

Replica dataset does contain semantic meshes. Once loaded these will be used for the SemanticSensor and can be queried from the SemanticScene within Simulator.
See the flat shaded multi-color renderings on the main page to get a feeling for the annotations there: https://github.com/facebookresearch/Replica-Dataset

Replica dataset does contain semantic meshes. Once loaded these will be used for the SemanticSensor and can be queried from the SemanticScene within Simulator.
See the flat shaded multi-color renderings on the main page to get a feeling for the annotations there: https://github.com/facebookresearch/Replica-Dataset

You are right! When I skip the Nonetype objects then I can get the semantic and category info of all the objects in Replica. However, I am encountering several issues when working with the Replica dataset.
When I load the Replica room 0 dataset using the following paths:
scene_path: Replica-Dataset/Replica_original/room_0/habitat/mesh_semantic.ply (for sim_cfg.scene_id)
scene_config_path: Replica_original/replica.scene_dataset_config.json (for sim_cfg.scene_dataset_config_file)
I modified the configuration in replica.scene_dataset_config.json to set up: [0, 1, 0] and front: [0, 0, -1]. With these adjustments, the scene renders perfectly. However, when I attempt to add an object, it penetrates the scene, and the function sutils.snap_down(sim, object, [habitat_sim.stage_id]) returns False. I have confirmed that physics is enabled in the simulation. Is there any specific adaptation required for this Replica dataset?

Further, when I refer to this issue https://github.com/facebookresearch/habitat-sim/issues/2042#issuecomment-1479887692, I changed the scene_id loading path to Replica-Dataset/Replica_original/room_0. I noticed that I am unable to modify the coordinates, even after adjusting the up and front configuration in replica.scene_dataset_config.json. Furthermore, the scene appears metallic in color, as described in https://github.com/facebookresearch/habitat-sim/issues/2335.

All the test code work well in MP3D and HM3D dataset. How should I load the Replica dataset correctly and place the object?
If this follow-up goes beyond the scope of the original issue, I am more than happy to open a new issue for further discussion.


UI: Discovery lookup pannel crash if no result fetched from discovery service

in a rare case UI will crash:  Discovery Discovery lookup pannel crash if no result fetched from discovery service.
Example:
Chrome/Firefox/Safari
Discovery lookup, scope text box:   core.TYO
result:
Error msg:  $scope.searchMetrics/<@https://argus-ui.data.sfdc.net/argus/js/controllers/viewMetrics.js:92:21

@cnardi-dev

@salesforce/argus

This problem has be fixed by recent release.


Fix DebugUtils.IsDebugBuild not working on Android

Closes #5616

As explained in the issue, the current way doesn't work on Android, as it basically tests whether osu.Framework is built in Debug.
So instead store and check the assembly of the inheritor of AndroidGameActivity as the consumer entry-point assembly.
OnCreate is the entry point into an Android app, so there is no fear that something will call IsDebugBuild before AndroidEntryAssembly is set.
The following diff can be used to verify this change:
(The osu-framework.sln changes force osu.Framework and osu.Framework.Android to build in Release even when Debug is selected in the dropdown.)
diff --git a/SampleGame/SampleGameGame.cs b/SampleGame/SampleGameGame.cs
index ae72ffa24..abbc18847 100644
--- a/SampleGame/SampleGameGame.cs
+++ b/SampleGame/SampleGameGame.cs
@@ -7,6 +7,7 @@
 using osuTK.Graphics;
 using osu.Framework.Graphics.Shapes;
 using osu.Framework.Allocation;
+using osu.Framework.Development;

 namespace SampleGame
 {
@@ -22,7 +23,7 @@ private void load()
                 Anchor = Anchor.Centre,
                 Origin = Anchor.Centre,
                 Size = new Vector2(150, 150),
-                Colour = Color4.Tomato
+                Colour = DebugUtils.IsDebugBuild ? Color4.Tomato : Color4.Green
             });
         }

diff --git a/osu-framework.sln b/osu-framework.sln
index 84ab8d9c6..db27cf8db 100644
--- a/osu-framework.sln
+++ b/osu-framework.sln
@@ -81,8 +81,8 @@ Global
 		Release|iPhoneSimulator = Release|iPhoneSimulator
 	EndGlobalSection
 	GlobalSection(ProjectConfigurationPlatforms) = postSolution
-		{C76BF5B3-985E-4D39-95FE-97C9C879B83A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-		{C76BF5B3-985E-4D39-95FE-97C9C879B83A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{C76BF5B3-985E-4D39-95FE-97C9C879B83A}.Debug|Any CPU.ActiveCfg = Release|Any CPU
+		{C76BF5B3-985E-4D39-95FE-97C9C879B83A}.Debug|Any CPU.Build.0 = Release|Any CPU
 		{C76BF5B3-985E-4D39-95FE-97C9C879B83A}.Debug|iPhone.ActiveCfg = Debug|Any CPU
 		{C76BF5B3-985E-4D39-95FE-97C9C879B83A}.Debug|iPhone.Build.0 = Debug|Any CPU
 		{C76BF5B3-985E-4D39-95FE-97C9C879B83A}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
@@ -173,8 +173,8 @@ Global
 		{D972753E-45FC-4B82-B017-34BDE485F1BB}.Release|iPhone.Build.0 = Release|iPhone
 		{D972753E-45FC-4B82-B017-34BDE485F1BB}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
 		{D972753E-45FC-4B82-B017-34BDE485F1BB}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
-		{4D112E30-462B-4264-B44D-53B61ABB185E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-		{4D112E30-462B-4264-B44D-53B61ABB185E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{4D112E30-462B-4264-B44D-53B61ABB185E}.Debug|Any CPU.ActiveCfg = Release|Any CPU
+		{4D112E30-462B-4264-B44D-53B61ABB185E}.Debug|Any CPU.Build.0 = Release|Any CPU
 		{4D112E30-462B-4264-B44D-53B61ABB185E}.Debug|iPhone.ActiveCfg = Debug|Any CPU
 		{4D112E30-462B-4264-B44D-53B61ABB185E}.Debug|iPhone.Build.0 = Debug|Any CPU
 		{4D112E30-462B-4264-B44D-53B61ABB185E}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU

I've added tests to check behaviour. Checked to work as expected on Android and Windows.
For Windows, I checked with regular/non-headless "double clicking osu.Framework.Tests.exe", running unit tests in Rider, and dotnet test (the testhost, Version=<IP_ADDRESS> comment stands true).
Needs double-check on iOS/NativeAOT, but I would expect it to work fine, as iOS uses a normal Main function like desktop.
PS> dotnet test --filter TestSceneDebugUtils
...
[performance] 2023-07-23 19:38:34 [verbose]: TextureAtlas initialised (1024x1024)
[runtime] 2023-07-23 19:38:34 [verbose]: ?? Class: TestSceneDebugUtils
[runtime] 2023-07-23 19:38:34 [verbose]: ?? Test:  TestConstructor
[runtime] 2023-07-23 19:38:34 [verbose]: ? TestSceneDebugUtils completed

[runtime] 2023-07-23 19:38:34 [verbose]: ?? Class: TestSceneDebugUtils
[runtime] 2023-07-23 19:38:34 [verbose]: ?? Test:  LogStatics
[runtime] 2023-07-23 19:38:34 [verbose]: ?? Step #1 log DebugUtils statics
[runtime] 2023-07-23 19:38:34 [verbose]: DebugUtils.IsNUnitRunning: True
[runtime] 2023-07-23 19:38:34 [verbose]: DebugUtils.IsDebugBuild: True
[runtime] 2023-07-23 19:38:34 [verbose]: DebugUtils.GetEntryAssembly(): osu.Framework.Tests, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null
[runtime] 2023-07-23 19:38:34 [verbose]: Assembly.GetEntryAssembly(): testhost, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
[runtime] 2023-07-23 19:38:34 [verbose]: ? TestSceneDebugUtils completed

[runtime] 2023-07-23 19:38:34 [verbose]: ?? Class: TestSceneDebugUtils
[runtime] 2023-07-23 19:38:34 [verbose]: ?? Test:  TestEntryAssembly
[runtime] 2023-07-23 19:38:34 [verbose]: ?? Step #1 check GetEntryAssembly()
[runtime] 2023-07-23 19:38:34 [verbose]: ? TestSceneDebugUtils completed

[runtime] 2023-07-23 19:38:34 [verbose]: ?? Class: TestSceneDebugUtils
[runtime] 2023-07-23 19:38:34 [verbose]: ?? Test:  TestIsDebugBuild
[runtime] 2023-07-23 19:38:34 [verbose]: ?? Step #1 check IsDebugBuild
[runtime] 2023-07-23 19:38:34 [verbose]: ? TestSceneDebugUtils completed

[runtime] 2023-07-23 19:38:34 [verbose]: ?? Class: TestSceneDebugUtils
[runtime] 2023-07-23 19:38:34 [verbose]: ?? Test:  TestIsNUnitRunning
[runtime] 2023-07-23 19:38:34 [verbose]: ?? Step #1 check IsNUnitRunning
[runtime] 2023-07-23 19:38:34 [verbose]: ? TestSceneDebugUtils completed


Add QR code to distribution page for easy installation

Describe the solution you'd like
On the public distribution page add a QR code so that if the page is opened in a desktop browser the user can scan the QR code with their mobile to install the ipa/apk
Describe alternatives you've considered
Alternative is to copy the public url and  use an online qrcode generator. Not a very good alternative.

Thanks for the suggestion! Will take this into account when we look into improving the overall install experience.

Any progress on this? As of now, I am manually generating QR codes on my readme. This feature would be quite useful for public links.

Any progress on this? Also looking for a solution to easily install an app with QR-Code


NuGet Package

Please release this library as a NuGet package.

Feel free to make a proposal. Nearly all supported package manager support were provided by the community via pull requests.


Fail vkCreateInstance When Layer Initialization Fails

When layer initialization fails, the layer will skip the call to the next vkCreateInstance function in its call chain and return VK_ERROR_INITIALIZATION_FAILED.

Moves layer initialization from a custom pre-call command to the layer's dispatch_CreateInstance function.
Adds a CreateInstance post-call command to check the result of the vkCreateInstance call and handle failure.

Force pushed a correction to the commit message.


pushing astroplan-0.7.dev1245 to pipy

Hi everyone,
would it be possible to push the newest version (astroplan-0.7.dev1245) to pipy (as developer release), because it fixes the incompatibility with the newest astropy release? This would be great!

I'm also experiencing errors that I think are related with this issue.
======================================================================
ERROR: goodman_pipeline (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: goodman_pipeline
Traceback (most recent call last):
  File "/user/simon/anaconda3/envs/goodman_pipeline/lib/python3.8/unittest/loader.py", line 470, in _find_test_path
    package = self._get_module_from_name(name)
  File "/user/simon/anaconda3/envs/goodman_pipeline/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "/data/simon/development/soar/goodman_pipeline/goodman_pipeline/__init__.py", line 5, in <module>
    from . import spectroscopy
  File "/data/simon/development/soar/goodman_pipeline/goodman_pipeline/spectroscopy/__init__.py", line 5, in <module>
    from .redspec import MainApp, get_args
  File "/data/simon/development/soar/goodman_pipeline/goodman_pipeline/spectroscopy/redspec.py", line 17, in <module>
    from .wavelength import WavelengthCalibration
  File "/data/simon/development/soar/goodman_pipeline/goodman_pipeline/spectroscopy/wavelength.py", line 28, in <module>
    from ..core import (add_linear_wavelength_solution,
  File "/data/simon/development/soar/goodman_pipeline/goodman_pipeline/core/__init__.py", line 5, in <module>
    from .core import (GenerateDcrParFile,
  File "/data/simon/development/soar/goodman_pipeline/goodman_pipeline/core/core.py", line 23, in <module>
    from astroplan import Observer
  File "/user/simon/anaconda3/envs/goodman_pipeline/lib/python3.8/site-packages/astroplan/__init__.py", line 23, in <module>
    from .utils import *
  File "/user/simon/anaconda3/envs/goodman_pipeline/lib/python3.8/site-packages/astroplan/utils.py", line 15, in <module>
    from astropy.utils.data import _get_download_cache_locs, CacheMissingWarning
ImportError: cannot import name '_get_download_cache_locs' from 'astropy.utils.data' (/user/simon/anaconda3/envs/goodman_pipeline/lib/python3.8/site-packages/astropy/utils/data.py)

----------------------------------------------------------------------
Ran 1 test in 0.000s

Yes this will be resolved when the latest merge is pushed to pypi. I would do that myself, but obviously don‘t have the rights to do so.

On 20. Oct 2020, at 18:40, Simon Torres<EMAIL_ADDRESS>wrote:

I'm also experiencing errors that I think are related with this issue.
======================================================================
ERROR: goodman_pipeline (unittest.loader._FailedTest)
ImportError: Failed to import test module: goodman_pipeline
Traceback (most recent call last):
File "/user/simon/anaconda3/envs/goodman_pipeline/lib/python3.8/unittest/loader.py", line 470, in _find_test_path
package = self._get_module_from_name(name)
File "/user/simon/anaconda3/envs/goodman_pipeline/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
import(name)
File "/data/simon/development/soar/goodman_pipeline/goodman_pipeline/init.py", line 5, in
from . import spectroscopy
File "/data/simon/development/soar/goodman_pipeline/goodman_pipeline/spectroscopy/init.py", line 5, in
from .redspec import MainApp, get_args
File "/data/simon/development/soar/goodman_pipeline/goodman_pipeline/spectroscopy/redspec.py", line 17, in
from .wavelength import WavelengthCalibration
File "/data/simon/development/soar/goodman_pipeline/goodman_pipeline/spectroscopy/wavelength.py", line 28, in
from ..core import (add_linear_wavelength_solution,
File "/data/simon/development/soar/goodman_pipeline/goodman_pipeline/core/init.py", line 5, in
from .core import (GenerateDcrParFile,
File "/data/simon/development/soar/goodman_pipeline/goodman_pipeline/core/core.py", line 23, in
from astroplan import Observer
File "/user/simon/anaconda3/envs/goodman_pipeline/lib/python3.8/site-packages/astroplan/init.py", line 23, in
from .utils import *
File "/user/simon/anaconda3/envs/goodman_pipeline/lib/python3.8/site-packages/astroplan/utils.py", line 15, in
from astropy.utils.data import _get_download_cache_locs, CacheMissingWarning
ImportError: cannot import name '_get_download_cache_locs' from 'astropy.utils.data' (/user/simon/anaconda3/envs/goodman_pipeline/lib/python3.8/site-packages/astropy/utils/data.py)

Ran 1 test in 0.000s
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Thanks, I'm trying to figure out the process to make this happen. @bmorris3?

This process can be automated easily with github actions.
take a look at this.
https://github.com/soar-telescope/goodman_pipeline/blob/master/.github/workflows/python-publish.yml
I'm available to help if needed.

This process can be automated easily with github actions.
take a look at this.
https://github.com/soar-telescope/goodman_pipeline/blob/master/.github/workflows/python-publish.yml
I'm available to help if needed.

Thanks @simontorres. Mostly I'm trying to figure out the astropy chain-of-command process to make this happen, not the technical one. :grin: I'd definitely like to get some of the testing and releasing on some GHA if possible
@eteq any advice on the process of getting a release? I have triage permissions now but am not part of the release loop. Thanks!

@wtgee @simontorres, et al.: I'll try to get the release done tonight! Sorry for the delay.

@bmorris3 Thank you very much and no worries, we understand :)

Good morning, any luck with this? :-)

v0.7 uploaded to pypi 5 minutes ago :tada:.


can't run on Raspbian

I've got a rpi3 b+
Maybe i can try to increase the voltage??

I did it, thanks for your help


Fix bootstrapper resolution error

Prerequisites

[x] I have written a descriptive pull-request title
[x] I have verified that there are no overlapping pull-requests open
[x] I have verified that I am following the Nancy code style guidelines
[x] I have provided MONKEY TESTING

Description
Fixes #2617

@thecodejunkie I think that is gone. There used to be a ScanMode.ExcludeNancy thing but removed now, if you are talking about that.

Yeah I think we removed the overload before we submitted the final version of IAssemblyCatalog
Will review it properly when I'm at a computer

Without that the best we can do is:
        private static IEnumerable<Assembly> GetNancyReferencingAssemblies()
        {
#if CORE
            var assemblyCatalog =
                new DependencyContextAssemblyCatalog();

            return assemblyCatalog.GetAssemblies().Where(x => !x.Equals(typeof(NancyEngine).GetAssembly()));
#else
            return AppDomain.CurrentDomain.GetAssemblies().Where(IsNancyReferencing).Where(assembly => !assembly.ReflectionOnly && !x.Equals(typeof(NancyEngine).GetAssembly()));
#endif
        }

me thinks

Just wrap the assembly catalog in a DefaultTypeCatalog. I think we should implement a StaticAssemblyCatalog which simply takes a list of assemblies. So instead of returning IEnumerable<Assembly>, the method can return a IAssemblyCatalog, then wrap it in a DefaultTypeCatalog and use GetTypesAssignableTo<IBootstrapper>(TypeResolveStrategies.ExcludeNancy).

Actually, why are we even getting the types manually from the AppDomain when we have the AppDomainAssemblyCatalog?

Seems like AppDomainAssemblyCatalog does not work for net core ?

Seems like AppDomainAssemblyCatalog does not work for net core ?

Sure, but this branch is not for core anyway :smile:
private static IEnumerable<Assembly> GetNancyReferencingAssemblies()
{
#if CORE
        return new DependencyContextAssemblyCatalog();
#else
        return new AppDomainAssemblyCatalog();
#endif
}

I think this looks good. Would it be possible to write some tests for this? I'm worried that we'll break someone by introducing regressions.

👀

@cemremengu can you rebase this please?

Merged, @cemremengu would look into adding tests as a separate pull-request when his workload allows it


Retrofit BuildFrom into the new design

Extension of #85, work in progress

BuildFrom is like FromSpecificIterable but with an extra From
argument, like in the final version of #45. FromSpecificIterable
existed conceptually in that version as BuildFrom[Any, …] but didn’t
have a separate type.
This new version has separate abstractions for buildable (strict)
collection types in the form of StrictBuildFrom and
FromSpecificIterableWithBuilder. Since we can get a surrogate builder
(through one of the new Builder.from methods) for any lazy collection
and we can restrict code to work only with strict collections via the
Buildable trait, this is not strictly necessary. The only reason for
separating the Builder abstractions is to avoid exposing them in
FromSpecificIterable. Even though everything can be built in a strict
way, these abstractions sit on top of the lazy ones, not below them.

@odersky @julienrf  I just updated this with the finished version of the design we discussed at ScalaDays.

Hi Stefan, can you push this the strawman repo? Makes it easier for me to check it out locally and play with it.

@odersky Done. I can confirm that this PR is the cause of the problem. Master compiles fine on the current Dotty nightly, this PR fails.

I've added the missing map factory support and ported some of the additional tests from #91 (which use Map and SortedMap types). Next up: Collapsing strict building and lazy building again (like in #45), which should remove a lot of the boilerplate.


1.0 Production Ops

[x] Set up ops dashboards and alerts in GCP
[ ] @AndrewDryga to give GCP ops overview
[x] How to deploy production
[x] How to read logs effectively
[ ] Integrate StatusPage with Google Ops Suite
[ ] Rudimentary on-call rotation schedule
[ ] SMS-based alerts
[ ] Document all this in our company handbook under Ops Handbook

How do I roll back to a particular version?

What kind of docs on infra deployment are we needing?

If the deployment fails, what to do? Is it a one-off or a repeating failure?
Double-checking if there are breaking changes
If someone else had to deploy prod, how can I ensure it won't go down / cause issues
Currently our deployment doesn't handle cases where there's a breaking API change between Portal / Relay

One idea: split Elixir and Rust deploy workflows.

One idea: split Elixir and Rust deploy workflows.

How difficult would it be to create two environments here: https://github.com/firezone/firezone/deployments? Like, having two different terraform deploy steps for relays and all the elixir stuff? These environment make it quite easy to see what commit has been deployed.


Porting Subscription, Azure, Location and Region enhancements from Java SDK

Includes the following:

IAzure.GetCurrentSubscription()
IAzure.Subscriptions
Ilocation.Region
renaming ISubscriptions.GetByName() --> .GetById() and making it work
fixing ISubscription.ListLocations()
ISubscription.GetLocationByRegion()
updated related tests and recordings

(Sorry, I keep forgetting to "git reset" until it's too late, so GitHub keep including commits from previously accepted PRs; this PR is only about commit  https://github.com/Azure/azure-sdk-for-net/commit/50eed19bafbffa0d804660dcebacaf89464adf77)
FYI - corresponding JAVA SDK commits:

https://github.com/Azure/azure-sdk-for-java/commit/5fc0ed06a474fdfbef3767ee8e589deaf59d0a98
https://github.com/Azure/azure-sdk-for-java/commit/91b04b119892bd26743d66af6ac4110dd30f3432
https://github.com/Azure/azure-sdk-for-java/commit/d649ccd246e5cbabeafbe7de654ecfaa00ad3d10
https://github.com/Azure/azure-sdk-for-java/commit/bbd2582e3149dcd6e0bdad8d461f86b96c1abdd2
https://github.com/Azure/azure-sdk-for-java/commit/32b9e11b43e6ea2e2c9f3ae473880c1f17388e05

Hi @martinsawicki, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (marcins). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

@martinsawicki merged. Please reset your branch ;)


Fix misalignment due to browser scrollbar

Fixes #9

@skidding can you take a look please?

Looking good. Is it normal for display: table-cell to work without having a parent with display: table?

The browser should imply display:table for the parent, there is some concern about cross-browser inconsistency but from what I can tell it works fine.

@skidding can you take another look?


feat(issuer-api): automatically run contracts deployment

I also added start:dev command

i need to fix some things still

I pause this PR because there are a lot of problems. I will fix this in feature


Add manila generic driver attributes into qa scenario files

Currently all these scenarios are failing due to missing generic driver config, that was added here: https://github.com/SUSE-Cloud/automation/pull/771
Tested successfully here: https://ci.suse.de/view/Cloud/view/ByTopic/view/QA/job/cloud-mkphyscloud-qa-scenario-2a/104/console

+1, you were faster than me :-)

+1

No need to wait for gating, qa scenarios are not part of gating.

+1


Refresh button move to the first record of the table in "single record view".

Hi Serge, I found a small anomaly in version 4.2.2.
When I press the tab key in a table record, I can view a single record data (very usefull), but if , in this situation, I press the "Refresh result set" button,

the "single record view" move to the first record of the table (without refreshing the opened record).
Thanks.

Yep, it is a bug in one of recent versions.
Thanks for report


Use plugin in another project

Hello, I have 2 questions

Is it possible to use it as a plugin already in a finished project (3d urp)
Is it possible to use many ply objects in one project?

Is it possible to use it as a plugin already in a finished project (3d urp)

Yes. Easiest is probably pointing to the package folder of this repository as a package. Or just copying it into your project. The package is also on openupm if that's your thing https://openupm.com/packages/org.nesnausk.gaussian-splatting/

Is it possible to use many ply objects in one project?

Yes, but if they overlap in 3D space they might not get sorted properly (similar to how when regular semi-transparent 3D objects overlap, there might be sorting issues). See https://github.com/aras-p/UnityGaussianSplatting/blob/main/docs/render-pipeline-integration.md#rendering-order-of-multiple-gaussian-splat-objects


Move total_difficulty to Header

Related to: #6571
The total_difficulty value goes in the Header type in Geth.
To keep compatibility in certain RPC requests (getHeaderByHash, getHeaderByNumber) we need to move the total_difficulty to the header instead of the block.

moved to #220 because I can't push to your main branch


Dashboard

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 4 committers have signed the CLA.:x: VoXuanHuy223:x: namtong626:x: namth-2591:x: namth3061You have signed the CLA already but the status is still pending? Let us recheck it.


isHeadphonesConnected()  isBluetoothHeadphonesConnected() not working as expected

RN version : 0.74.1
Arch: both
Platform: IOS
IOS version : 18.1
These methods always return false, even when airpods connected. I've tried with different headphones but its still return false every time.

I don't have airpods, so you'll have to dig in to the native method, add some logging output, run that altered build on a real device while it is plugged in to your dev machine and watch Console.app to see your logging output. Log all the API calls and parameters and return values and such to the native APIs and see why, post a PR and I'll be happy to merge it

I don't have airpods, so you'll have to dig in to the native method, add some logging output, run that altered build on a real device while it is plugged in to your dev machine and watch Console.app to see your logging output. Log all the API calls and parameters and return values and such to the native APIs and see why, post a PR and I'll be happy to merge it

I tested this on an iPhone 14 and an iPhone X using AirPods and a large Bluetooth headset, and the result is the same. I created a native module with the code from your library, but for some reason, when using AVAudioSession, it always returns "Speaker" as the only available output instead of the connected device:
<AVAudioSessionPortDescription: 0x30135d820, type = Speaker; name = Speaker; UID = Speaker; selectedDataSource = (null)>
Unfortunately, I don't have an adapter to test with a wired headset.

I don't have airpods, so you'll have to dig in to the native method, add some logging output, run that altered build on a real device while it is plugged in to your dev machine and watch Console.app to see your logging output. Log all the API calls and parameters and return values and such to the native APIs and see why, post a PR and I'll be happy to merge it

Looks like found how to fix that.
`- (BOOL)isBluetoothHeadphonesConnected {
NSError *error = nil;
AVAudioSession *audioSession = [AVAudioSession sharedInstance];
// Setup session for supporting Bluetooth devices
[audioSession setCategory:AVAudioSessionCategoryPlayAndRecord
              withOptions:AVAudioSessionCategoryOptionDefaultToSpeaker | AVAudioSessionCategoryOptionMixWithOthers | AVAudioSessionCategoryOptionAllowBluetooth
                    error:&error];
if (error) {
    NSLog(@"Error setting AVAudioSession category: %@", error);
    return NO;
}

// Session activation
BOOL success = [audioSession setActive:YES error:&error];
if (!success) {
    NSLog(@"Failed to activate AVAudioSession: %@", error);
    return NO;
}

// Get current route
AVAudioSessionRouteDescription* route = [audioSession currentRoute];
NSLog(@"Current Route: %@", route);

// check whole outputs
for (AVAudioSessionPortDescription* desc in [route outputs]) {
    NSString *portType = desc.portType;
    NSLog(@"Detected output port: %@, name: %@", portType, desc.portName);

    // Extendent list of ports
    if ([portType isEqualToString:AVAudioSessionPortBluetoothA2DP] ||
        [portType isEqualToString:AVAudioSessionPortBluetoothHFP] ||
        [portType isEqualToString:AVAudioSessionPortBluetoothLE] ||
        [portType isEqualToString:AVAudioSessionPortAirPlay] ||
        [desc.portName containsString:@"AirPods"] ||
        [desc.portName containsString:@"Bluetooth"]) {
        NSLog(@"Bluetooth headphones detected: %@", desc.portName);
        return YES;
    }
}

NSLog(@"No Bluetooth headphones detected");
return NO;

}
With this code, it returnsCurrent Route: <AVAudioSessionRouteDescription: 0x301a403d0,
inputs = (
"<AVAudioSessionPortDescription: 0x301a40370, type = BluetoothHFP; name = AirPods \U043a\U043e\U0440\U0438\U0441\U0442\U0443\U0432\U0430\U0447\U0430 Ilya Kovtonyck; UID = B8:81:FA:DD:EB:F1-tsco; selectedDataSource = (null)>"
);
outputs = (
"<AVAudioSessionPortDescription: 0x301a40130, type = BluetoothHFP; name = AirPods \U043a\U043e\U0440\U0438\U0441\U0442\U0443\U0432\U0430\U0447\U0430 Ilya Kovtonyck; UID = B8:81:FA:DD:EB:F1-tsco; selectedDataSource = (null)>"
)>`
instead of
Current Route: <AVAudioSessionRouteDescription: 0x30135d400,  inputs = (     "<AVAudioSessionPortDescription: 0x30135d890, type = MicrophoneBuiltIn; name = iPhone Microphone; UID = Built-In Microphone; selectedDataSource = Bottom>" );  outputs = (     "<AVAudioSessionPortDescription: 0x30135d820, type = Speaker; name = Speaker; UID = Speaker; selectedDataSource = (null)>" )>
To me this solution is more of a crutch and I don't know if it's worth posting, but maybe it will help you in your fix.

I won't have a fix 😆  - this isn't a use case of mine
if it fixes the problem for you - and it sounds like it does? -  I'm open to a PR as I said
if it feels hacky or crutchy, just remember that most software is just well documented hacks that have proven to work over time...

I won't have a fix 😆 - this isn't a use case of mine if it fixes the problem for you - and it sounds like it does? - I'm open to a PR as I said if it feels hacky or crutchy, just remember that most software is just well documented hacks that have proven to work over time...


KOGITO-7265: [KSW-Guides] Authentication support for OpenAPI services

Hi  @ricardozanini would you mind add the reviewers?
Thanks

@wmedvede can you review @spolti suggestions? Thanks!

@spolti your suggestions were added.
Thanks

Hello @hmanwani-rh, It looks like this PR is ready for your review.
Would you mind take a look when you got some time?
Thanks!

@wmedvede I've made changes to the guide. Please take a look and let me know if the changes look good.
Following is the doc preview: https://deploy-preview-9--tangerine-crostata-04a6bf.netlify.app/serverlessworkflow/main/security/authention-support-for-openapi-services.html

Hi @hmanwani-rh I'll review them tomorrow early, thank you!
In mean time, it looks like your changes has broken something. See the generated document below, would you mind take a look please?

@wmedvede I've made changes to the guide. Please take a look and let me know if the changes look good.
Following is the doc preview: https://deploy-preview-9--tangerine-crostata-04a6bf.netlify.app/serverlessworkflow/main/security/authention-support-for-openapi-services.html

Hi @hmanwani-rh I'll review them tomorrow early, thank you!
In mean time, it looks like your changes has broken something. See the generated document below, would you mind take a look please?

@wmedvede That is a report issue file, which is available in main branch. I've rebased your branch, which resolves the broken file.
The report issue section appears as follows:

Hi @hmanwani-rh , looks very good now, thanks!
I've fixed a couple of things, from my side this is ready.

@jstastny-cz your suggestions where added,
Thanks!

Hi @hmanwani-rh , looks very good now, thanks! I've fixed a couple of things, from my side this is ready.
ah, one question, the "Whats next?" section is not longer part of the guides. I saw you that you removed it. Will this be a standard patter for the guides?

@wmedvede Thanks for sharing the feedback and the fixes.
Regarding the What's next (now renamed as Additional resources) section, but restructured it and added the links, which keeps it straightforward for the users.
I'd suggest following this format in the guides for consistency.

Hi @hmanwani-rh , looks very good now, thanks! I've fixed a couple of things, from my side this is ready.
ah, one question, the "Whats next?" section is not longer part of the guides. I saw you that you removed it. Will this be a standard patter for the guides?

@wmedvede Thanks for sharing the feedback and the fixes. I've added some minor fixes as well.
Regarding the What's next (now renamed as Additional resources) section, I've restructured it and added the links, which keeps it straightforward for the users. I'd suggest following this format in the guides for consistency.

@wmedvede @hmanwani-rh @jstastny-cz let me know if this can be merged.

My last change,  one last "will be passed" to "is passed", thanks @hmanwani-rh!
@ricardozanini This is ready.


Triton to XSMM

Adds lowering pass from triton to XSMM microkernels.
XSMM utility APIs are generalized to work on opaque operations
representing contractions.
A simple pattern mapping tt.dot to XSMM kernel is added.
The runtime lowering to XSMM is now controlled by two separate flags:
- TRITON_CPU_VECTOR_XSMM=1 to lower from vector as before
- TRITON_CPU_TRITON_XSMM=1 to lower from triton ops

NOTE: Depends on #3 - ignore first commit

Lowering from triton follows the same strategy as the vector one modulo adaptations for triton ops.
Also, XSMM utils are relaxed a bit to share infrastructure between both passes.
The lowering still depends on Triton CPU ops to interface between tensors and memrefs, thus, it is incompatible with V2 backend.
It looks like the generated IR is a bit worse due to Triton CPU lowerings that could use some cleanup e.g., triton_cpu.load and triton_cpu.store pairs should be folded to avoid extra copies etc.

Rebased, reorged passes, and added better support for block ptrs.

@rolfmorel merged already to settle in XSMM utils refactor and env variables. If you spot sth in the changes after rebase, let me know.

LGTM.


Links in error messages that aren’t formatted as markown links are not clickable

Does this issue occur when all extensions are disabled?: Yes (I’m using rust-analyzer as an example but this is generally a problem with VSCode. See the https://github.com/rust-lang/rust-clippy/pull/12229)

VS Code Version: 1.87.0-insider

Commit: 019f4d1419fbc8219a181fab7892ebccf7ee29a2

OS Version: macOS 14.3.1 (23D60)

Steps to Reproduce:

install rust-analyzer
go to setttings and change Cargo Check Command to clippy
create a new cargo project by using cargo new bug-report
Add the following code to the main function and hover over the warning:

let mut a = 5;
let b = 3;

a = a + b;

try to click on the link

Thanks you for filing this issue,

Unfortunately I'm unable to replicate this issue in the latest version of VS Code Insiders.
Please can you install the latest VS Code Insiders, disable all extensions except for rust-analyzer test again.
If this issue still persists, please ping here and we'll be happy to reopen this issue, or feel free to create a new one.
If you are able to repro this, please share a screen recording of the issue, you can try gigcap.dev or similar to capture screen recording.

I’m not talking about normal compiler diagnostics. Clippy (a linter for Rust) always includes a link in its error message for more details. (e.g. https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern) But it doesn’t format it as a Markdown link for reasons described in the mentioned issue. Without being able to click on it directly you have to first select it, then copy and paste it into your browser. This could be dramatically simplified.
https://github.com/microsoft/vscode/assets/66938161/bc4fde6c-8ab9-4589-a348-575031a41d94
My settings.json:
{
    "rust-analyzer.check.command": "clippy",
}

main.rs in a clean Cargo project:
fn main() {
    let mut a = 5;
    let b = 3;

    a = a + b;
}

How is it rendered when you press f8?

@sandy081 I‘ll answer you in a few hours, I’m currently not at home

@sandy081 Nothing changes

What do you mean by nothing changes? Does it open a inline peek view on pressing F8? Or you are pressing f8 when hover is open?

@sandy081

/duplicate
https://github.com/microsoft/vscode/issues/54272

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!

oh wow, 2018...
Thanks Microsoft, I’m glad I made the switch to Zed


Lint/AmbiguousBlockAssociation with Rspec syntax

I'm quite lost with this example:
expect do
  make_request
end.to enqueue_job(DeliverEventWebhookJob)
  .with { |event_name, _claim_id| expect(event_name).to eq("claim_renewed") }

The offence is:
W: Lint/AmbiguousBlockAssociation: Parenthesize the param with to make sure that the block will be associated with the to method call.
    expect do ...
    ^^^^^^^^^

I tried few other ways, but either Rubocop is not happy or it's not a valid Ruby syntax.
$ rubocop -V
0.48.0 (using Parser <IP_ADDRESS>, running on ruby 2.4.1 x86_64-linux)

I would probably recommend disabling this cop for specs, since it's a deliberate idiom in RSpec. 🙂
Lint/AmbiguousBlockAssociation:
  Exclude:
    - "spec/**/*"


File Path Map: Path Values

Version: 0.9.14 ALPHA [b99e102]
What paths are supposed to go in File Path Map?
I have my exe and pdb here: c:\build\.
The source code cpp files are here: c:\develop\code\
I assumed the exe path goes in Source Path and the cpp path goes in Destination Path.
Is that correct? Or maybe Source Path is for the source code path... not sure
At the moment my breakpoints are not being hit and I'm guessing this is why. Maybe I'm wrong about that though.
In a previous version I had the breakpoints working and I'm not sure what I did to break it.
Thanks

The File Path Map is used to redirect paths which are referenced from within debug information, to a different local path. So for example, if I am debugging an executable which was built on another machine, and its debug info refers to a file D:/foo/bar/baz.c in its line info, but I have that file in C:/x/baz.c stored locally, the File Path Map allows me to redirect references to the former, to the latter. This will enable stepping/breakpoints in that relocated file.
Can you provide more information about how you're building & debugging? That should let me help with the breakpoints not working.

I'm building from a commandline with current directory c:\develop\code.
I run vcvarsall and then compile with cl using a .bat :
<SetupStuff>
pushd ..\..\build
cl <Args> ..\develop\code\main.cpp <MoreArgs>
popd

I just tried this:

Unzipped 0.9.14 ALPHA to a new folder.
Complied with /Od and ran in the debugger.
Deleted everything from File Path Map.
Launched and then paused (Halt all attached processes). I get a message Could not find "C:\build\main.cpp.
Press Find alternative....
Select C:\develop\code\main.cpp. (It would be nice if this interface could show somewhere a reminder of the file being looked for as it is blurred out behind it).

This opens the code and has the step cursor set. I can now step over, step into, step out fine. I can click next to the line number to set a breakpoint, but if I then Resume all processes, the breakpoint is not hit and it just runs normally.
The only way I can break is with the pause.
Thanks for the development and support

I think I found the problem.
Above I omitted defining the specfic <ARGS> used in the build to minimise the report as I thought they were all fairly standard and irrelevant. I'd missed that I used the cl flag /d1trimfile:%CD%\ to strip that value from the __FILE__ macro.
If I remove that flag the breakpoints work again, but my __FILE__ macro values are absolute.


[REFACTORING] check and fix edge trigger cases in the manager's code

For example: https://github.com/longhorn/longhorn-manager/pull/734

Maybe we need to check the IM state update part. If the IM pod is created but the status update fails at the end of the sync loop, the controller will consider the IM as state error, then kill and recreate the pod again in the next sync loop, which is actually unnecessary.

Also, do we think of using Pod DNS instead of Pod IP to resolve the efforts or potential issues about the Pod IP change?


Theme Hot switch at component level

As a user of the demo app
I want to be able to change theme
So that when I am in a dedicated component page, I can directly see the change from one theme to the other
The latest android demo app was updated with such a mechanisme.
A new icon is added in the trailing navigation bar with a solaris "palette" icon to open the current modal to select the theme to change to.

In the Guideline>Color the theme palette should be on the right and the "usage" button should be changed with an "i" icon button.
in the Component>Bars - Navigation, the action icon count should be updated to:

add the theme palette icon button to the far right
add the 2 other icons on the left one by one


CXF-8163: javax.ws.rs.core.Response#getCookies() fails when cookie has no value

The RFC-6265 has the clarifications regarding empty cookie values, both in grammar  [1] and interpretation [2]. The approach adopted by other Java libraries (RESTEasy, Jersey, JDK11's HttpClient, ...) is to return an empty string as the value of the cookie.
[1] https://tools.ietf.org/html/rfc6265#section-4.1.1
[2] https://tools.ietf.org/html/rfc6265#section-5.2
@rmannibucau

Hi @reta, looks ok to me


[FLINK-6214] WindowAssigners do not allow negative offsets

What is the purpose of the change
The javadoc of TumblingEventTimeWindows and TumblingProcessingTimeWindows suggest that it is possible to use negative offsets but in practice this is not supported. This patch remedies this situation
Brief change log

updated behavior of TumblingEventTimeWindows & TumblingProcessingTimeWindows

Verifying this change
This change added tests and can be verified as follows:

Added testWindowAssignmentWithNegativeOffset method in TumblingEventTimeWindowsTest & TumblingProcessingTimeWindowsTest

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

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

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

If we decide that we want to support negative offsets, this looks like a good implementation.
@aljoscha what is your take, should we support negative offsets?

Ah, one problem: What happens if the offset is larger (by absolute value) than the window length? Then the offset would still be negative with this change.

Or can we directly remove the constraint of offset less than 0 in TumblingEventTimeWindows constructor？

@jelmerk hi jelmerk, could you tell what is the progress of the pr? If you are busy, I am glad to take over this pr.

I will close this PR as there does not seem to be much activity.
In addition, the discussion in the attached JIRA describes an alternative way of implementing the functionality added by this PR without changing the current codebase. Given this, I will also propose to close the related JIRA.


Feedback Milestone 2

Hello, Group 17,
My name is Mohamad Khajezade, and I will be giving you some feedback on your project.
This is a fantastic start, which shows your hard work on this project. However, there are some suggestions I have that will greatly improve the quality of your project."
I have divided up the feedback into several sections, so it is easier for you to implement.
In General

[1] It is highly recommended that you justify your project. It is a long notebook without any clue on why you implement a code or use a chart. It is very hard to understand your notebook.

Task 1

[1] You need to use comments to justify your work.
[2] While I think you fulfill the requirements for this task, it is hard to find the important points without comments. Please note that the  Jupyter notebook supports markdown formatting, and you need to use this feature

Task 2

[1] You need to use comments to justify your work.
[2] While I think you fulfill the requirements for this task, it is hard to find the important points without comments. Please note that the  Jupyter notebook supports markdown formatting, and you need to use this feature

Task 3

[ 1] You need to use comments to justify your work.
[2] While you have created very good charts, it is hard to understand why you have generated them.

Task 4

[1] You need more charts to support your research question.
[2] Apart from charts and figures, you need to conduct some analysis that I couldn't find

Would you be able to clarify what you mean by conducting more analysis other than charts and figures?

Hello,
Sure! Analysis such as calculating sum, average, standard deviation, etc. Using these analyses, you can make your answers to your research questions more clear. As mentioned in task 3, some of your figures don't have any specific meaning, and they don't have any title (Most of your charts have the same title), caption, or legend. Moreover, the Jupiter notebook supports markdown. Thus, it is better to use markdown instead of using a comment on your codes. For task four, the best thing you can do is that you add a new section. Then state your research questions in that section and try to answer each one of them using clear charts and some analysis. That said, I went to grade scope and changed some of my feedback in grade scope. Now that I read your comments on your codes, it seems that your work meets the expectations, as far as I am concern. Please let me know if you have any other questions.
Cheers,
Mohamad