mint_comparison.py crashes with esmpy==8.4.0

🐛 Bug Report

I have installed the latest
esmf                      8.4.0           mpi_mpich_h54662ac_101    conda-forge
esmf-regrid               0.5.0                    pypi_0    pypi
esmpy                     8.4.0           mpi_mpich_py39h027448b_101    conda-forge
iris                      3.4.0              pyhd8ed1ab_0    conda-forge
and I'm getting
(mint-iris-esmf) NIWA-1008648~/iris-esmf-regrid-edge-regridding/esmf_regrid/demos$ python mint_comparison.py
libc++abi: terminating with uncaught exception of type int
Abort trap: 6
How To Reproduce
Steps to reproduce the behaviour:

forked git@github.com:stephenworsley/iris-esmf-regrid.git branch edge_regridding
conda create -n mint-iris-esmf python=3.9
conda activate mint-iris-esmf
conda install -c conda-forge scitools-iris esmpy
pip install -e .
cd esmf_regrid/demos
python mint_comparison.py

Expected behaviour

I did not expect "python mint_comparison.py" to throw an exception
Screenshots

Environment

OS and version: Darwin NIWA-1008648.niwa.local 21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22 20:17:10 PDT 2022; root:xnu-8020.140.49~2/RELEASE_X86_64 x86_64
esmf_regrid version: [e.g., From the command line run python -c "import esmf_regrid; print(esmf_regrid.__version__)"]

Additional context

Click to expand this section...
Add additional verbose information in a collapsible section.

See here for further details.

Be sure to accept PR #229 or change "import ESMF" to "import esmpy"


Mixing EE reads & writes slows down ingestion

Ingestion can be made faster if we don't mix reading assets with writing assets.
https://github.com/google/weather-tools/blob/main/weather_mv/loader_pipeline/ee.py#L333
Let's explore implementation options for filtering out existing assets s.t. they don't make EE API calls. For example, let's check if COGs exist in a GCS bucket for the filter operation.

Can we get a better explanation of the issue with EE?
Does it mean that we should avoid EE reads entirely in the pipeline OR we should separate EE reads and EE writes.

The internal pipeline which arose the issue had a filter transform which was checking for assets in the EE and if not present, it would ingest asset in the same FilterFiles beam transform (since most of the COG files were already created and not ingested into EE by the previous pipeline which we had to stop).
So this pipeline was doing EE reads and EE writes in the same transform.
I now tried to separate EE reads and EE writes in separate transforms (as we do in the weather-tools. Mixing them was done just in the internal pipeline because it had already created COGs to consider.) separated by reshuffle.
This pipeline ingested around 2.384M COGs in 20hrs compared to the above pipeline's 4.454M in 46hrs under similar conditions - which is ~20% faster.

POC on EE reads & writes issue

When there is only ee writes in the entire pipeline:
The pipeline will just take source files' paths as an input and ingest them into earth engine without any filtering step. It took 1hr17min to finish this pipeline.
When ee reads & ee writes are in separate transforms:
The pipeline does filtering step in a separate transform (as it does in the weather-tools) before converting step. This way all ee reads happen all together and then conversion & ingestion happens where all ee writes happen all together. This pipeline took 1hr26min (8min taken by the filter transform which is not in the above pipeline) to finish.
When ee reads & ee writes happen together:
The pipeline has the logic to check ee asset presence (ee read) and if the asset is not present, it will read the tiff file and ingest (ee write) in the same transform. This way ee reads and ee writes happen together in the same transform. This pipeline took 1hr55min to finish.

Conclusion
From the above experiments, it is observable that mixing EE reads & writes does make the ingestion slow comparatively. Though, weather-mv is doing EE reads and EE writes in separate transforms.
Closing this.

Thanks for following up with this, Deep.


dev-python/pychroot-9999: sandbox violation

When rebuilding above in current gentoo I get:
`
running install_man
copying /var/tmp/portage/dev-python/pychroot-9999/work/pychroot-9999/build/sphinx/man/pychroot.1 -> /usr/share/man/man1

ACCESS DENIED:  open_wr:      /usr/share/man/man1/pychroot.1
error: could not create '/usr/share/man/man1/pychroot.1': Permission denied
ERROR: dev-python/pychroot-9999::gentoo failed (install phase):
(no error message)

Call stack:

ebuild.sh, line  124:  Called src_install

environment, line 3230:  Called distutils-r1_src_install
environment, line 1078:  Called _distutils-r1_run_common_phase 'python_install_all'
environment, line  334:  Called multibuild_foreach_variant 'distutils-r1_run_phase' 'python_install_all'
environment, line 2129:  Called _multibuild_run 'distutils-r1_run_phase' 'python_install_all'
environment, line 2127:  Called distutils-r1_run_phase 'python_install_all'
environment, line 1042:  Called python_install_all
environment, line 2927:  Called distutils-r1_python_install 'install_man'
environment, line  954:  Called esetup.py 'install' '--root=/var/tmp/portage/dev-python/pychroot-9999/image/_python3.6' 'install_man'
environment, line 1310:  Called die
The specific snippet of code:

  "${@}" || die "${die_args[@]}";

If you need support, post the output of emerge --info '=dev-python/pychroot-9999::gentoo',
the complete build log and the output of emerge -pqv '=dev-python/pychroot-9999::gentoo'.
The complete build log is located at '/var/tmp/portage/dev-python/pychroot-9999/temp/build.log'.
The ebuild environment file is located at '/var/tmp/portage/dev-python/pychroot-9999/temp/environment'.
Working directory: '/var/tmp/portage/dev-python/pychroot-9999/work/pychroot-9999'
S: '/var/tmp/portage/dev-python/pychroot-9999/work/pychroot-9999'
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE: "/tmp/sandbox-4.log"

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line
F: open_wr
S: deny
P: /usr/share/man/man1/pychroot.1
A: /usr/share/man/man1/pychroot.1
R: /usr/share/man/man1/pychroot.1
C: python3.6 setup.py install --root=/var/tmp/portage/dev-python/pychroot-9999/image/_python3.6 install_man

Fixed in the gentoo repo.


docs(toh-1/dart): minor edits

Fixed HTML.
Removed unnecessary snippet since it is in the code.
Copyedit: (Hero property) -> (hero property).

@kwalrath : Dart-only changes ready for review.

LGTM. Merging now...


Enhancement - Push/Pull script from URL parameter to allow for sharing

It'd be really neat if there was an easy way to share a script with a co-worker that would open up right in xplore rather than them copy/pasting the code.
Something like https://myinstance.service-now.com/snd_xplore.do&sysparm_script=message%20%3D%20 gs.getMessage('hey%20there%20{0}'%20gs.getUser().firstName)\nreturn%20message
obviously there'd need to be some url-encoding in there and some URLs might get obscenely long but have you seen Slack's block kit builder URLs? 😱
https://app.slack.com/block-kit-builder/T0E2AD6AY#%7B%22blocks%22:%5B%7B%22type%22:%22section%22,%22text%22:%7B%22type%22:%22mrkdwn%22,%22text%22:%22Hello,%20Assistant%20to%20the%20Regional%20Manager%20Dwight!%20*Michael%20Scott*%20wants%20to%20know%20where%20you'd%20like%20to%20take%20the%20Paper%20Company%20investors%20to%20dinner%20tonight.%5Cn%5Cn%20*Please%20select%20a%20restaurant:*%22%7D%7D,%7B%22type%22:%22divider%22%7D,%7B%22type%22:%22section%22,%22text%22:%7B%22type%22:%22mrkdwn%22,%22text%22:%22*Farmhouse%20Thai%20Cuisine*%5Cn:star::star::star::star:%201528%20reviews%5Cn%20They%20do%20have%20some%20vegan%20options,%20like%20the%20roti%20and%20curry,%20plus%20they%20have%20a%20ton%20of%20salad%20stuff%20and%20noodles%20can%20be%20ordered%20without%20meat!!%20They%20have%20something%20for%20everyone%20here%22%7D,%22accessory%22:%7B%22type%22:%22image%22,%22image_url%22:%22https://s3-media3.fl.yelpcdn.com/bphoto/c7ed05m9lC2EmA3Aruue7A/o.jpg%22,%22alt_text%22:%22alt%20text%20for%20image%22%7D%7D,%7B%22type%22:%22section%22,%22text%22:%7B%22type%22:%22mrkdwn%22,%22text%22:%22*Kin%20Khao*%5Cn:star::star::star::star:%201638%20reviews%5Cn%20The%20sticky%20rice%20also%20goes%20wonderfully%20with%20the%20caramelized%20pork%20belly,%20which%20is%20absolutely%20melt-in-your-mouth%20and%20so%20soft.%22%7D,%22accessory%22:%7B%22type%22:%22image%22,%22image_url%22:%22https://s3-media2.fl.yelpcdn.com/bphoto/korel-1YjNtFtJlMTaC26A/o.jpg%22,%22alt_text%22:%22alt%20text%20for%20image%22%7D%7D,%7B%22type%22:%22section%22,%22text%22:%7B%22type%22:%22mrkdwn%22,%22text%22:%22*Ler%20Ros*%5Cn:star::star::star::star:%202082%20reviews%5Cn%20I%20would%20really%20recommend%20the%20%20Yum%20Koh%20Moo%20Yang%20-%20Spicy%20lime%20dressing%20and%20roasted%20quick%20marinated%20pork%20shoulder,%20basil%20leaves,%20chili%20&%20rice%20powder.%22%7D,%22accessory%22:%7B%22type%22:%22image%22,%22image_url%22:%22https://s3-media2.fl.yelpcdn.com/bphoto/DawwNigKJ2ckPeDeDM7jAg/o.jpg%22,%22alt_text%22:%22alt%20text%20for%20image%22%7D%7D,%7B%22type%22:%22divider%22%7D,%7B%22type%22:%22actions%22,%22elements%22:%5B%7B%22type%22:%22button%22,%22text%22:%7B%22type%22:%22plain_text%22,%22text%22:%22Farmhouse%22,%22emoji%22:true%7D,%22value%22:%22click_me_123%22%7D,%7B%22type%22:%22button%22,%22text%22:%7B%22type%22:%22plain_text%22,%22text%22:%22Kin%20Khao%22,%22emoji%22:true%7D,%22value%22:%22click_me_123%22,%22url%22:%22https://google.com%22%7D,%7B%22type%22:%22button%22,%22text%22:%7B%22type%22:%22plain_text%22,%22text%22:%22Ler%20Ros%22,%22emoji%22:true%7D,%22value%22:%22click_me_123%22,%22url%22:%22https://google.com%22%7D%5D%7D,%7B%22type%22:%22actions%22,%22elements%22:%5B%7B%22type%22:%22conversations_select%22,%22placeholder%22:%7B%22type%22:%22plain_text%22,%22text%22:%22Select%20a%20conversation%22,%22emoji%22:true%7D,%22action_id%22:%22actionId-0%22%7D,%7B%22type%22:%22channels_select%22,%22placeholder%22:%7B%22type%22:%22plain_text%22,%22text%22:%22Select%20a%20channel%22,%22emoji%22:true%7D,%22action_id%22:%22actionId-1%22%7D,%7B%22type%22:%22users_select%22,%22placeholder%22:%7B%22type%22:%22plain_text%22,%22text%22:%22Select%20a%20user%22,%22emoji%22:true%7D,%22action_id%22:%22actionId-2%22%7D,%7B%22type%22:%22static_select%22,%22placeholder%22:%7B%22type%22:%22plain_text%22,%22text%22:%22Select%20an%20item%22,%22emoji%22:true%7D,%22options%22:%5B%7B%22text%22:%7B%22type%22:%22plain_text%22,%22text%22:%22*this%20is%20plain_text%20text*%22,%22emoji%22:true%7D,%22value%22:%22value-0%22%7D,%7B%22text%22:%7B%22type%22:%22plain_text%22,%22text%22:%22*this%20is%20plain_text%20text*%22,%22emoji%22:true%7D,%22value%22:%22value-1%22%7D,%7B%22text%22:%7B%22type%22:%22plain_text%22,%22text%22:%22*this%20is%20plain_text%20text*%22,%22emoji%22:true%7D,%22value%22:%22value-2%22%7D%5D,%22action_id%22:%22actionId-3%22%7D%5D%7D,%7B%22type%22:%22section%22,%22text%22:%7B%22type%22:%22mrkdwn%22,%22text%22:%22This%20is%20a%20section%20block%20with%20an%20overflow%20menu.%22%7D,%22accessory%22:%7B%22type%22:%22overflow%22,%22options%22:%5B%7B%22text%22:%7B%22type%22:%22plain_text%22,%22text%22:%22*this%20is%20plain_text%20text*%22,%22emoji%22:true%7D,%22value%22:%22value-0%22%7D,%7B%22text%22:%7B%22type%22:%22plain_text%22,%22text%22:%22*this%20is%20plain_text%20text*%22,%22emoji%22:true%7D,%22value%22:%22value-1%22%7D,%7B%22text%22:%7B%22type%22:%22plain_text%22,%22text%22:%22*this%20is%20plain_text%20text*%22,%22emoji%22:true%7D,%22value%22:%22value-2%22%7D,%7B%22text%22:%7B%22type%22:%22plain_text%22,%22text%22:%22*this%20is%20plain_text%20text*%22,%22emoji%22:true%7D,%22value%22:%22value-3%22%7D,%7B%22text%22:%7B%22type%22:%22plain_text%22,%22text%22:%22*this%20is%20plain_text%20text*%22,%22emoji%22:true%7D,%22value%22:%22value-4%22%7D%5D,%22action_id%22:%22overflow-action%22%7D%7D,%7B%22type%22:%22section%22,%22text%22:%7B%22type%22:%22mrkdwn%22,%22text%22:%22This%20is%20a%20section%20block%20with%20an%20accessory%20image.%22%7D,%22accessory%22:%7B%22type%22:%22image%22,%22image_url%22:%22https://pbs.twimg.com/profile_images/625633822235693056/lNGUneLX_400x400.jpg%22,%22alt_text%22:%22cute%20cat%22%7D%7D,%7B%22type%22:%22section%22,%22text%22:%7B%22type%22:%22mrkdwn%22,%22text%22:%22Test%20block%20with%20multi%20conversations%20select%22%7D,%22accessory%22:%7B%22type%22:%22multi_conversations_select%22,%22placeholder%22:%7B%22type%22:%22plain_text%22,%22text%22:%22Select%20conversations%22,%22emoji%22:true%7D,%22action_id%22:%22multi_conversations_select-action%22%7D%7D,%7B%22type%22:%22section%22,%22fields%22:%5B%7B%22type%22:%22plain_text%22,%22text%22:%22*this%20is%20plain_text%20text*%22,%22emoji%22:true%7D,%7B%22type%22:%22plain_text%22,%22text%22:%22*this%20is%20plain_text%20text*%22,%22emoji%22:true%7D,%7B%22type%22:%22plain_text%22,%22text%22:%22*this%20is%20plain_text%20text*%22,%22emoji%22:true%7D,%7B%22type%22:%22plain_text%22,%22text%22:%22*this%20is%20plain_text%20text*%22,%22emoji%22:true%7D,%7B%22type%22:%22plain_text%22,%22text%22:%22*this%20is%20plain_text%20text*%22,%22emoji%22:true%7D%5D%7D%5D%7D

Xplore already does this to some degree for opening records from context menus, but yeah, happy to add this into the app.

Thank you! me and my co-workers are going to love this 🙌

On the subject of obscenely long URLs: I wonder if the sys_tiny_url feature works with Processor pages? If so, you could intercept a too-long parameter and store it on the sys_tiny_url table instead of attempting (and failing) to encode it in the URL.

I've implemented a couple of new features in 4.9 to make this process much easier and allow easier sharing between instances, too - not just on the same instance.


Example / quickstart fails to compile

rustup 1.24.3 (ce5817a94 2021-05-31)
rustc 1.58.1 (db9d1b20b 2022-01-20)
cargo 1.58.0 (f01b232bc 2022-01-19)

Two issues: first, cargo build --examples doesn't work because the label in Cargo.toml is [[example]] instead of [[examples]] as it should be.  Fixing that manually leads to the following errors:
$ cargo build --examples
warning: unused manifest key: examples
   Compiling neuronika v0.2.0 (/home/john/umbc/git/neuronika)
warning: unused import: `self`
 --> examples/quickstart.rs:4:10
  |
4 |     nn::{self, loss, Learnable, Linear, ModelStatus},
  |          ^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

error[E0277]: the trait bound `NeuralNetwork: serde::de::Deserialize<'_>` is not satisfied
    --> examples/quickstart.rs:56:9
     |
56   |     } = serde_json::from_str(
     |         ^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `NeuralNetwork`
     |
note: required by a bound in `serde_json::from_str`
    --> /home/john/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.78/src/de.rs:2611:8
     |
2611 |     T: de::Deserialize<'a>,
     |        ^^^^^^^^^^^^^^^^^^^ required by this bound in `serde_json::from_str`

For more information about this error, try `rustc --explain E0277`.
warning: `neuronika` (example "quickstart") generated 1 warning
error: could not compile `neuronika` due to previous error; 1 warning emitted

I'm super excited for this library and it's chance to build portable, cross-platform binaries that can train RNNs, CNNs, and feed-forward networks.

Hi, thanks for showing interest in the project. As for the latest commit on main (0717d4b), I can run the example with:
cargo run --package neuronika --example quickstart --features serialize

which gives
Loss for epoch 0 : 2.2159102
Loss for epoch 1 : 2.0667396
Loss for epoch 2 : 1.5102402
Loss for epoch 3 : 1.4285513
Loss for epoch 4 : 1.3589511

On the other hand, cargo build --examples, gives:
warning: Target filter `examples` specified, but no targets matched. This is a no-op
    Finished dev [unoptimized + debuginfo] target(s) in 0.02s

Huh. I can confirm your way works. Must be my rust/cargo inexperience, so I guess there is no bug here. will close as notabug.


pc.redirect not working from on_load=

Describe the bug
When I define a page and I use on_load= to run a function that returns a pc.redirect it doesn't work.
To Reproduce
Define a function that returns a redirect:
    def redirect(self):
        return pc.redirect("/")

Define a page that runs the redirect function on load:
def auth_redirect(on_load=State.redirect):
    return pc.hstack(
        pc.text("Redirecting..."),
    )

Load the page in a browser.
Expected behavior
When the redirect function returns a redirect the page should redirect. It works when the function is triggered by a button click, etc but not when run from on_load=.
Screenshots
If applicable, add screenshots to help explain your problem.
** Specifics (please complete the following information):**

Python Version: 3.10.7
Pynecone Version: 0.1.23
OS: Ubuntu 22.04
Browser (Optional):

Additional context
I'm using Azure AD for authentication, after a user enters their MS credentials Azure redirects me to my redirect page and adds some keys to the query string of the url. I have a function that grabs the info from the query string. That part works. Then the function returns a pc.redirect. That part doesn't work if the function is ran from on=load. The redirect does work if triggered from an event like a button click, etc.

Fixed in 0.1.24 🥇


What is the dataset config format

Hello, When I run your code in my server there is a problem, it need a dataset config file and I can't find this file in the code.
The error in the file minigpt4/datasets/builders/rec_pair_builder.py
The error said:
FileNotFoundError: [Errno 2] No such file or directory: './CoLLM/minigpt4/configs/datasets/movielens/default.yaml'
How I can write this file or get it.
Thanks!

I have added an example.
Please see this file.

Thanks! I can run it now.


decoderResult failure when using iptables with transparent proxy enabled.

I have littleproxy with MITM(Impersonating) working perfectly.
below works nicely.
wget https://facebook.com --ca-cert=/home/jeryl/generated-ca.cer   -e use_proxy=on -e https_proxy=http://<IP_ADDRESS>:8444
I now want to transparently configure my box to use the proxy on all outbound requests over 443.
my proxy is running on a separate unix 'box1' on our network <IP_ADDRESS> on port 8444
so  I updated my iptables rules on the 'box2' where users make calls.
iptables -t nat -A OUTPUT -p tcp -o -lo --dport 443 -DNAT --to <IP_ADDRESS>:8444
performing
wget https://facebook.com --ca-cert=/home/jeryl/generated-ca.cer   should forward requests to the proxy server(8444) on box1.
HOWEVER,
it does not seem httpRequest are being decoded. i get the error:
decoderResults=falure.. because the content is empty.?? shouldn't littleproxy be able to decode this? is this a bug?
it looks like this is not working and provide simular functionality as Suid SSL-Bumping:
https://www.mydlp.com/how-to-configure-squid-3-2-ssl-bumping-dynamic-ssl-certificate-generation/

LittleProxy does not currently support transparent mode, it can only be an explicit proxy.


rpc: add support for wiring.Component

Do not infer the ports from the publicly accessible wires, but instead delegate finding the ports to the rtlil.convert function

Yeah I started using it for my current project, that requires a (system)verilog toplevel and also uses other preexisting non-amaranth modules.


vulnerable package version of custom-webpack being used inside build-angular for v12

Recently GitHub dependbot showing vulnerability for ansi-html in package-lock.json for projects.
On back tracking it was  coming from webpack-dev-server version 3.11.2 but it's removed in 3.11.3 patch update.
Once webpack-dev-server version is updated to v3.11.3 this issue will be resolved.

We have the same issue on our team. This high severity security vulnerability was detected by GitHub way back in September: https://github.com/advisories/GHSA-whgm-jr23-g3j9 and is one of the last open issues we have, but we can't resolve it ourselves.
Will we have to move to v13 to get this fixed or could v12  be updated here: https://github.com/angular/angular-cli/blob/12.2.x/packages/angular_devkit/build_angular/package.json#L75, as well?

@gonadarian as per my analysis just it has  to be updated to version 3.11.3. I can even work on  PR but I need confirmation from any  person from angular team.
@alan-agius4 do you have any input in this ?

@iRealNirmal, agreed - 3.11.3 switched from ansi-html to its fork ansi-html-community.

@alan-agius4 I can help in this, is it possible to assign it to me. If you think other wise then let me know.

@iRealNirmal, sure.
Note that you need to do 2 PRs, one for the v11 and another for v12.

@iRealNirmal, do you think you will be able to create the PRs today? Since today we will be cutting the telease

@alan-agius4 yes I was working yesterday but just was rebuilding yarn.lock as it was having both entry. On creating new yarn.lock it was still having ansi-html:0.0.7. On further divining it, it seemed we have entry at 2 place on root package.json and in  angular_devkit/build_angular.
So I will update at both place, let me know if it sounds good.

I am planning to raise it in max 2 to 4 hours, once I  feel confident.

Yeah, you need to update both package.json files.

Closed via https://github.com/angular/angular-cli/pull/22483


Add support for atomic updates

The ODM doesn't support a single document update for all fields and embedded documents. The current implementation will run different queries for updating a single document and it's embedded documents.
This would certainly help remove queries between the ODM and Mongo and also remove the need to implement rollback functionality if an embedded document fails to insert.
I've created a repository with some scenarios @ https://github.com/jgornick/doctrine-atomic-test.
After speaking with @jwage and @jmikola, it would be nice to be able to specify an atomicUpdate option in the relationship annotation:
/** @ODM\EmbedMany(…, atomicUpdates=true) */

Closing thanks to https://github.com/doctrine/mongodb-odm/pull/1096


[release-0.34] Fix VM restart during eviction when EvictionStrategy=LiveMigrate

This is a manual backport of #5425 to the release-0.36 branch.

The issue here is that when a migration fails, the target pod isn't always immediately terminated. It can stick around for the duration of the virt-launcher timeout period which is 5 minutes.
If during that 5 minutes a new migration occurs, we run into a situation where a VMI might have > 2 pods active for the VMI at once. This invalidates our PDB, which can result in the VMI getting evicted even though we had EvictionStrategy=LiveMigrate
To make this work as reliably as possible, 3 changes are introduced to address this.

The eviction controller will never attempt to migrate a VMI if more than 1 pods are running already for the VMI
The migration controller will wait on creating the target pod until only 1 pod is running for a VMI.
A failed migration now signals the corresponding target pod to exit early if it's still waiting on the qemu process to appear.
The migration controller now finalizes the vmi's migration state if the target pod fails before handler starts the migration.

Items 2 and 3 prevent the PDB from being invalidated
Item 1 is an optimization that ensures the eviction controller will always attempt to act on VMIs which are immediately migratable.
Item 4 ensures the VMI's migration state will move to a finalized state in the event that the target pod fails virt handler ever attempts to migrate the source.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1946441
Fixes VM restart during eviction when EvictionStrategy=LiveMigrate

@davidvossel I think these commits can be useful for fixing the travis job: https://github.com/kubevirt/kubevirt/commit/f683d1de752cf05040cd23624b89b88c19ff443b, https://github.com/kubevirt/kubevirt/commit/c968dfb1647edc7de1d30446a3145e5b84f1e794, https://github.com/kubevirt/kubevirt/commit/e4b788d967ca3ec309b9bf45f2b3f04f6f620c4a, and https://github.com/kubevirt/kubevirt/commit/ba65d02873d97664a70f8e028511b9b768c9db72


Replace type aliases with interfaces in "Handbook -> More On Functions"

This change aligns with the recommendation in "Handbook -> Everyday Types":

For the most part, you can choose based on personal preference, and TypeScript will tell you if it needs something to be the other kind of declaration. If you would like a heuristic, use interface until you need to use features from type.

Based on this guidance, all examples in the documentation should use interfaces where possible.

@microsoft-github-policy-service agree


Docs for adding mixed charts - Line and Bar

I'm unable to find out the docs in version 2 of Charts.js.
Any idea how to go about adding mixed charts ?  ( A line and bar graph in the same chart)

@adityaanandmc you would do the following:
var chartInstance = new Chart(ctx, {
  data: {
    datasets: [{
      // Makes this dataset bars
      type: 'bar',
      data: []
    }, {
      // Makes this dataset a line
      type: 'line'
    }]
  }
});

That didn't seem to work for me!! -  It didn't display the bar graph, just the line graph
This instead did work :
var chartInstance = new Chart(ctx, {
  type: 'bar', // Setting this as the default
  data: {
    datasets: [{
      // Makes this dataset bars by default
      data: []
    }, {
      // Makes this dataset a line
      type: 'line'
    }]
  }
});


Training loss not changing

Hello, i try to re-train on my dataset in the same format like your training dataset, and when i training doesn't have an error but my model training loss not changing it's stay at 1.0303 every step.. What's wrong? and what should i do?

训练数据集是否有模糊标注，即1477,609,1556,604,1558,633,1478,638,####

我也有同样的问题，请求帮助

训练数据集是否有模糊标注，即1477,609,1556,604,1558,633,1478,638,####
ในวันที่ อ. 2 ก.พ. 2021 เวลา 10:02 lipeng1109<EMAIL_ADDRESS>เขียนว่า:

我也有同样的问题，请求帮助
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/liuheng92/tensorflow_PSENet/issues/87#issuecomment-771316645,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJMBWTKSYXWKDIDAQMXYXQ3S45TNFANCNFSM4QJKHQBA
.


CLI docs is not shown

write documentation on how to build/run the docs locally. add the documentation in this issue.
find out why the docs are not shown see screenshot:

Generate documentation as .html files:

cd into root directory of the repository
install dependencies pip install -e ".[all, postgresql, elasticsearch7]"
cd into docs folder cd docs
build html files make html

Generated output files will be in the docs/_build/html folder. Opening index.html in the browser will display the generated documentation


Actual performance counters to be checked/collected in order to establish data churn rates

[Enter feedback here]
In this article the actual performance counters that need to be collected to measure data churn, are not mentioned. This article is too general to be useful in the context of measuring data churn.
Ideally in this article specific performance counters should be mentioned for Windows and Linux, with exact details how to establish data churn.

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

ID: f0535f05-55ea-ad1e-3bc8-42f7b034b1e1
Version Independent ID: 6dca9f57-7a82-c9b1-4e92-b65fed3152db
Content: Monitoring churn patterns on virtual machines - Azure Site Recovery
Content Source: articles/site-recovery/monitoring-high-churn.md
Service: site-recovery
GitHub Login: @ankitaduttaMSFT
Microsoft Alias: ankitadutta

@huberthk
Thanks for your feedback! We will investigate and update as appropriate.

@huberthk - Looks like the issue is already being taken care of and I will go ahead and close this issue.
If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


[Bugs] When epoll_wait returned EINTR, the packet receiving thread exits unexpectedly.

Describe the bug
EpollWait() internally calls the system call epoll_wait.
If epoll_wait receives any signal during execution, it sets errno to EINTR (Interrupted system call) and returns -1.
UpdkPacketReceiverThread exits the loop and terminates the thread if EpollWait() returns a negative value.
When the thread UpdkPacketReceiverThread is terminated, the handler associated with the socket receiving the packet data is not called, so the buffering of the DL packet is not performed even in the buffering mode, the timing of the PFCP Session Report Request is not generated, and Paging cannot be performed.
To Reproduce

Run ./test.sh TestPaging
Execute "sudo strace -f -p $(pgrep -n upfd) -tt -e 'trace=epoll_wait'" at the CM-IDLE timing. Review the following logs:.

2022-02-02T16:12:55+09:00 [INFO][AMF][NGAP][<IP_ADDRESS>:9487][AMF_UE_NGAP_ID:1] Send UE Context Release Command
2022-02-02T16:12:55+09:00 [INFO][AMF][NGAP][<IP_ADDRESS>:9487] Handle UE Context Release Complete
2022-02-02T16:12:55+09:00 [INFO][AMF][NGAP][<IP_ADDRESS>:9487][AMF_UE_NGAP_ID:1] Rel Ue Context in GMM-Registered
2022-02-02T16:12:55+09:00 [INFO][AMF][NGAP][<IP_ADDRESS>:9487] Release UE[imsi-2089300007487] Context : N2 Connection Release
2022-02-02T16:12:58+09:00 [ERRO][UPF][Util] Epoll Wait Error : Interrupted system call
2022-02-02T16:12:58+09:00 [ERRO][UPF][Util] Epoll Wait error : Interrupted system call
2022-02-02T16:12:58+09:00 [ERRO][UPF][Util] Epoll Wait Error : Interrupted system call
2022-02-02T16:12:58+09:00 [ERRO][UPF][Util] Epoll Wait error : Interrupted system call
2022-02-02T16:12:59+09:00 [ERRO][UPF][Util] Epoll Wait Error : Interrupted system call
2022-02-02T16:12:59+09:00 [ERRO][UPF][Util] Epoll Wait error : Interrupted system call
panic: test timed out after 10m0s
  :

If the scenario continues, the Paging does not occur and the scenario does not finish.
Expected behavior
When epoll_wait returns EINTR, the packet receiving thread does not exits unexpectedly.
Environment (please complete the following information):

free5GC Version: v3.0.6
OS: Ubuntu 18.04
Kernel version: 5.0.0-23-generic
go version go1.14.4 linux/amd64

Pull Request
Pull Request for the fix.

Thanks for the PR.


🧪 Use GH_IO library to extract document / component / param data

@thekaushikls since a big part of the parser relies on this, I will close this task and create some manageable chunks subtasks.


Fetch upstream to local

I did 2 things here, but am happy to split them if useful.

I have a view that is a wrapper over django.views.static.serve.  It expects to find files at the default_storage.base_location, but it returns 404 because it is not files.Storage-aware.  (static.serve checks the local filesystem.)
I wanted to be able to force the file local, so I added a hook BaseStorage._fetch_local(name).
This also bumps to 0.5 because I couldn't see how self.url() would work, so added self._url, and renamed _exists internally to _exists_locally and _exists_upstream.

I have a dev MEDIA_URL of '/media/', but my upstream is to cloudfront, which doesn't have /media/, so that localhost:8000/media/foo.jpg would be cfdomain/foo.jpg.  I then have a local directory for serving MEDIA, /foo/bar/media/.
BaseStorage.url('foo') was resulting in '/media/foo', but HttpStorage._path expected that to map to the local file system.
This caused the paths to misalign (._exists(name) would never return True).  It doesn't seem reasonable to me to expect that the remote MEDIA_URL-ish thing should map 1-1 to the local MEDIA_ROOT-ish thing.  This may be a simple issue of documentation - I could be misconfiguring the library.

Hello @piquadrat - it's been a while, would you mind merging this and doing a point release?

@jdunck sorry, this fell through the cracks :( thanks for the ping. I'll make some time free today after work

@jdunck so sorry that I let this linger so long! I finally came around to merge it, I'll put a release on pypi shortly!


json-clone

Closes https://github.com/streamich/json-joy/issues/139

:tada: This PR is included in version 7.4.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Bulk-Insert operation only support SqlServer?

BulkInsert only support  sqlserver ?

@wxlevel - yes. Currently, the bulk-insert only supports SQL Server.

Closing this issue. Please revert for further questions. Thanks!


shiori: 1.5.0 -> 1.5.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/go-shiori/shiori/releases.
meta.description for shiori is: "Simple bookmark manager built with Go"
meta.homepage for shiori is: "https://github.com/go-shiori/shiori"
meta.changelog for shiori is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/ah0zzdpm2c55309scjhb3fbvz34fva97-shiori-1.5.1/bin/shiori had a zero exit code or showed the expected version
0 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 1.5.1 with grep in /nix/store/ah0zzdpm2c55309scjhb3fbvz34fva97-shiori-1.5.1
found 1.5.1 in filename of file in /nix/store/ah0zzdpm2c55309scjhb3fbvz34fva97-shiori-1.5.1

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

2 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
shiori

Instructions to test this update (click to expand)

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

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

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

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

shiori

Maintainer pings
cc @minijackson @kalbasit for testing.

@GrahamcOfBorg eval


Allow window override in dropdown auto-flip

This allows explicitly setting auto-flip container to window via data-target=window.

Reconsider with less condition nesting

Updated with flatter decision tree @futuremint @swilliamset


librealmcore-ios.a(bptree.o), building for Mac Catalyst, but linking in object file built for iOS Simulator

Goals
Use Realm for iOS, iOS Extensions and Mac Catalyst
Expected Results
Build and successfully run our iOS app using Mac Catalyst
Actual Results
Build fails with this error:
Pods/Realm/core/librealmcore-ios.a(bptree.o), building for Mac Catalyst, but linking in object file built for iOS Simulator, for architecture x86_64

Steps to Reproduce
Setup an iOS app that uses cocoapods to share realm between an iOS app and iOS extensions then enable Mac Catalyst support
Code Sample
source 'https://github.com/CocoaPods/Specs.git'

use_frameworks!
inhibit_all_warnings!

def data_framework_pods
  pod 'RealmSwift'
  pod 'RxRelay'
  pod 'RxSwift'
  pod 'RxSwiftExt/Core'
  pod 'SwiftProtobuf'
end

target 'NotificationContent' do
  platform :ios, '13.0'
  data_framework_pods
end

target 'NotificationService' do
  platform :ios, '13.0'
  data_framework_pods
end

target 'MainApp' do
  platform :ios, '13.0'
  data_framework_pods
end

Version of Realm and Tooling
Realm framework version: 4.4.1
Realm Object Server version: 4.4.1
Xcode version: 11.4.1
iOS/OSX version: 13.4.1 / 10.15.4
Dependency manager + version: Cocoapods v1.9.1
Notes
Tried the cocoapods related ideas from comments in #6163 and #6297 but none of them work.

I removed realm from the extensions so it is just in the main iOS app via cocoapods and the issue persists.

We decided to stop using realm

same error , when i build mac app,
/Pods/Realm/core/librealmcore-ios.a(utilities.o), building for Mac Catalyst, but linking in object file built for iOS Simulator, for architecture x86_64

xcode 11.5
realm 5.0.1

Same issue. I understand Cocapods doesn't support Mac Catalyst?


nit: try to simplify e2e main.go

This change is

/ok-to-test

Would be nice to update the PR description with a bit more detail.

/test all

Please sync so that we rerun the tests using Argo. The presubmits should be much easier to debug if needed since logs should be publicly accessible via the Argo UI.

@Jimexist Any chance you could sync? Would be great to get this committed?

@jlewi haven't been following closely recently, any docs on running Argo e2e test and ksonnet?

The tests are triggered automatically and they ran successfully.
All the information about our test infra (including debug info) is here:
https://github.com/kubeflow/testing


Add npm install to instructions

Could hinder a beginner ;)

$ npm run initProject runs this script file, have a look at line 52!
exec('npm install')

Thank you for taking the time to submit this PR, please do tell me what you think about current state of v3!

Hmm weird something is not working as it should:
Thomass-MacBook-Pro:test thomaschaaf$ git clone git@github.com:mxstbr/react-boilerplate
Cloning into 'react-boilerplate'...
remote: Counting objects: 1321, done.
remote: Compressing objects: 100% (93/93), done.
remote: Total 1321 (delta 45), reused 0 (delta 0), pack-reused 1227
Receiving objects: 100% (1321/1321), 372.71 KiB | 688.00 KiB/s, done.
Resolving deltas: 100% (737/737), done.
Checking connectivity... done.
Thomass-MacBook-Pro:test thomaschaaf$ git checkout v3.0.0
fatal: Not a git repository (or any of the parent directories): .git
Thomass-MacBook-Pro:test thomaschaaf$ cd react-boilerplate/
Thomass-MacBook-Pro:react-boilerplate thomaschaaf$ git checkout v3.0.0
Branch v3.0.0 set up to track remote branch v3.0.0 from origin.
Switched to a new branch 'v3.0.0'
Thomass-MacBook-Pro:react-boilerplate thomaschaaf$ npm run initProject

><EMAIL_ADDRESS>initProject /Users/thomaschaaf/develop/test/react-boilerplate
> NODE_ENV=initialisation ./webpack/init

Cleaning old repository...
Installing dependencies...
Initialising new repository...
Thomass-MacBook-Pro:react-boilerplate thomaschaaf$ npm start

><EMAIL_ADDRESS>start /Users/thomaschaaf/develop/test/react-boilerplate
> NODE_ENV=development node webpack/server.dev.js

module.js:340
    throw err;
    ^

Error: Cannot find module 'webpack'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:289:25)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (/Users/thomaschaaf/develop/test/react-boilerplate/webpack/server.dev.js:4:17)
    at Module._compile (module.js:425:26)
    at Object.Module._extensions..js (module.js:432:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Function.Module.runMain (module.js:457:10)

npm ERR! Darwin 15.2.0
npm ERR! argv "/Users/thomaschaaf/.nvm/versions/node/v5.1.1/bin/node" "/Users/thomaschaaf/.nvm/versions/node/v5.1.1/bin/npm" "start"
npm ERR! node v5.1.1
npm ERR! npm  v3.3.12
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>start: `NODE_ENV=development node webpack/server.dev.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script 'NODE_ENV=development node webpack/server.dev.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the reactjs-boilerplate package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     NODE_ENV=development node webpack/server.dev.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls reactjs-boilerplate
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/thomaschaaf/develop/test/react-boilerplate/npm-debug.log
Thomass-MacBook-Pro:react-boilerplate thomaschaaf$

Very interesting, reopened! Will try myself soon!

Love this, happens to me every time:
Thomass-MacBook-Pro:test thomaschaaf$ git checkout v3.0.0
fatal: Not a git repository (or any of the parent directories): .git
Thomass-MacBook-Pro:test thomaschaaf$ cd react-boilerplate/

I'm going to close this PR, because this is a bug in the init script that I need to fix, which this PR (sadly) doesn't do.
Thanks for noticing and telling me there's something wrong, much appreciated!

Should be fixed in 95eae19, would you mind giving it a try?


Trimming off the first and the last 2 characters

Guys, I've tried the 0.2.0 version and something has broken up, at least for me:

  f(x) = \int_{-\infty}^\infty F(x) dx

 f(x) = \int_{-\infty}^\infty F(x) dx

f(x) = \int_{-\infty}^\infty F(x) dx

I'm not sure if this is a "feature" or bug, but it's strange.

That's weird. How are you calling katex.process?

(Does http://khan.github.io/KaTeX/ work okay for you?)

Yup, it's okay, my fault. There was a little issue with javascript. You can close this.


Change color of tag

In my opinion is nice to have feature that allows change of tag color (bg, text) in input bar based on JS Object property for eg. {_uiSelectLabelColorBg: #eee}
I mean "tag" like in example: http://angular-ui.github.io/ui-select/demo-tagging.html
What do you think?

Your tagging function can return an object with some kind of colour indicator, then just your template to match.
See related: https://github.com/angular-ui/ui-select/issues/1491#issuecomment-196843775
If you update the issue with your working example it can be used for reference in future :smiley:

Simple working solution:
function from my controller:
vm.transformTag = function(text) {
  return {
    searchText: text,
    _uiSelectLabelColorBg: '#eee'
  }
}

my template html:
<ui-select multiple tagging="vm.transformTag" ...
edited match-multiple.tpl.html
<span class="ui-select-match-item btn btn-default btn-xs"
           style="background-color: {{$item._uiSelectLabelColorBg}}"
           ...

But how to deal with updates of ui-select component via bower in this situation?
Thanks for reply :)

I would go even further with coloring and styling.
vm.transformTag = function(item) {
  return {
    searchText: text,
    decorate : function() {
      "background-color" : red,
      "color" : white,
      "font-weight": bold
    }
  }
}

and change match-multiple.tpl.html as follows:
   <span class="ui-select-match-item btn btn-default btn-xs"
           ng-style="$item.decorate()"

What do you think about this version?

I think your solution is way more flexible than mine.


New MySQLRecords Receiver

Superseded by https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/20730.


python311Packages.vtjp: init at 0.2.1

Description of changes
A Python wrapper and cli for Västtrafik public API
https://github.com/Miicroo/python-vasttrafik

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 284011 run on x86_64-linux 1

4 packages built:

python311Packages.vtjp
python311Packages.vtjp.dist
python312Packages.vtjp
python312Packages.vtjp.dist


Bug: npm run build duplicates asset/resource

Which package(s) does this bug affect?

[X] Create Plugin
[ ] Sign Plugin
[ ] Plugin E2E

Package versions
4.0.1

What happened?
When building the plugin in dev or build mode, any *.svg (or likely other assets) will be duplicated in the dist/ directory - one set with "regular" or plain-text names, and another set with hashed names.

This behavior is because of webpack.config.ts's CopyWebpackPlugin function. I commented out a few of the // Optional lines. Look at the diff of my webpack.config.ts file to see how I fixed the problem:
https://github.com/nicfv/Psychart/compare/v4.0.6...v4.1.0#diff-735a1fddcd9112f2185fca9468f67db2ddb9a24c07186299c005dacefd18e5f5L152
HOWEVER, whenever you run npx @grafana/create-plugin update it reverts the contents of webpack.config.ts so this is not a great solution in the long run.
FURTHERMORE, commenting out those 2 optional lines isn't enough, because then in npm run build it hashes the names for all svg files, including logo.svg. This is a problem because package.json references the logo in plain text. So, to solve this, I had to add another line in the copy function to cherry-pick the file called img/logo.svg.
What you expected to happen
The dist/ directory should only contain the plain-text file names on npm run dev and hashed file names on npm run build. Neither script should create file duplicates in dist/
This is my build output after making the changes to webpack.config.ts and running npm run build. I manually copy over logo.svg, because I needed that one to be called logo.svg (not the hashed value) because the logo is referenced in package.json

Here is the contents of that same directory after running npm run dev (it nests the files under img/img, and I'm not sure why, but it still works. As you can see, logo.svg exists twice again, because of my cherry-pick):

How to reproduce it (as minimally and precisely as possible)

Create a plugin
Add files to src/img/*.svg
npm install
npm run build
Observe the dist/ directory

Environment
System:
    OS: macOS 14.2.1
    CPU: (8) arm64 Apple M2
    Memory: 991.56 MB / 24.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.12.0 - /usr/local/bin/node
    npm: 8.19.2 - /usr/local/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 105.0.5195.102
    Firefox: 122.0
    Safari: 17.2.1

Additional context
No response

@6nv thanks for reporting this issue and it can be indeed reproduced, we do not see this as something that we want to fix with a high priority right now as those cases are quite rare and even then it does not really breaks anything.


[stackless-vm] re-enable the emit test case and minor clean-up

The emit-event test case is turned off when the global invariant processing is set to v2 by default. But it seems to be passing now. So let's re-enable it.
This PR also has two additional cleanups that

re-stored verbose debug printing when running the stackless bytecode interpreter in the move unit test framework (I accidentally removed the setting in a prior commit)
simplified the APIs for the entrypoint of the stackless bytecode interpreter a bit. The inner runtime does not need to take a whole GlobalState, instead, a &mut is enough.

Motivation
testing and cleaning-up
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
CI

/land

:broken_heart: Test Failed - ci-test

Rebased to most recent main and retry
/land

:broken_heart: Test Failed - ci-test

/land


Question about inference

/home/fzh/.conda/envs/video/lib/python3.8/site-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: /home/fzh/.conda/envs/video/lib/python3.8/site-packages/torchvision/image.so: undefined symbol: _ZN5torch3jit17parseSchemaOrNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE   warn(f"Failed to load image Python extension: {e}") Cannot import deform_conv_ext. You can ignore this message if you are using torchvision >= 0.9.0. Otherwise you may need to check whether the DCN has been successfully installed. Adding attention layer in D at resolution 64 Adding attention layer in E at resolution 64 Adding attention layer in G at resolution 64 Traceback (most recent call last):   File "main.py", line 32, in <module>     main()   File "main.py", line 28, in main     sol.run()   File "/home/fzh/workspace/GCP-Colorization/solvers/base_solver.py", line 29, in run     self.test()   File "/home/fzh/workspace/GCP-Colorization/solvers/refcolor_solver.py", line 67, in test     self.test_dl = data.get_loader(cfg=self.cfg, ds=self.cfg.DATA.NAME)   File "/home/fzh/workspace/GCP-Colorization/data/__init__.py", line 21, in get_loader     dataset = dataset_cls(cfg)   File "/home/fzh/workspace/GCP-Colorization/data/imagenet_inference.py", line 99, in __init__     assert img_name in label_map AssertionError

Hi, if you are testing in-the-wild images, this AssertionError indicates that assets/predicted_label_for_user_image.txt  file doesn't contain the predicted label for your testing images. Please check the instruction here.


Partial album display

I created a new album on Google of 300+ photos. When I view on my phone, all photos are available.  When I view the same album on Photo View, only about half the album's photos show. It's not displaying about half of the photos on the new album.

I've used Photo View for over 2 years, but now it's a f***ing nightmare.  As soon as I add PHOTO NUMBER ONE HUNDRED AND ONE to an album, it repeats rows of photos that were already previously in the album.
So now I have 17 rows of 5 photos per row as they should be displayed, but then, row 18 displays photos in row 2 again, and it continues in order.
Before I open the album, it says there's currently 88 photos in the album, which is correct.
But when the album is opened, it reads "Media Items 1 - 171 of 88" which includes multiples of the same photos. This is ridiculous!
There's also a completely different album that Photo View won't open and I get bounced out of the app.
Until days ago, I loved this app.   Is someone going to help me or does your company just keep your fingers crossed that no one ever has issues?

“Company”, are you serious? I’m a sole developer that gives this app to really pleasant people like you, free of charge.

Sorry, I've twice thought I had the problem fixed and each time it ended up more out of the normal function.  I don't understand why this suddenly became full of bugs and if I did I think I could rectify it.

I am having the same issue.  Are things working ok if the album has less than 100 photos?  @chtaylo2 Happy to try some things to help you debug.


Make ascii_printable non-configurable.

This determines the set of characters used to estimate font width.
I can't see any reason a user would change this.

Resolved conflict and pushed in 153496abe7f1fe5d8da15dcadbc8e5fff7f598c5.


[Suggestion] Add link to _themeresources.xaml for each control

Issue type
enhancement
Which version of the app?
WinUI 3 Gallery
Description
I often want to look at the default _themresources.xaml (the default style) for XAML controls (example):

To see what lightweight styling brushes are available & see what their default values are
To see what visual states there are
To understand how a control is implemented (what parts does XAML use?)

Can we add links to these files for each control? Right now, it is difficult to find those implementations.
Screenshots
No response
Windows version
No response
Additional context
No response

@bpulliam Noting here to investigate in proper linking to winui3 source.


Update data author and contributor information

@myesaya Hi, the current data package include you and our package developer as the authors.
Please provide all other data authors/contributors for this dataset if you are aware of with the format:
First Name:
Family Name:
Email:
ORCiD (if available):

First Name: Hastings
Family Name: Kayira
Email<EMAIL_ADDRESS>

Great, thanks, I updated the author information.


Mouse-over highlighting doesn't work on newly-created windows

Seems the newly-created compilers aren't being sent settings...


feat(brandeskopf): fix algorithm

Paper Erratum: Fast and Simple Horizontal Coordinate Assignment fixes some bugs from the original algorithm
https://arxiv.org/pdf/2008.01252
Brandes published some corrections to their algorithm, and I tried to implement them here. I think it is ok now.
Original layout: some nodes are one over the other

Seems fixed here

I'm currently playing with Raylib (https://github.com/gen2brain/raylib-go) on another project importing this one.
It would be a good idea to have images of resulting layouts somewhere, I like the idea.


Training Time For Multinode is similar to training time for single node

@sgugger  As per our discussion on #37
Here is my method of launch and results
I am using AML Per process launcher shown here (option 1):
https://azure.github.io/azureml-cheatsheets/ja/docs/cheatsheets/python/v1/distributed-training/
To launch a distributed training job with multiple process per nodes.
I am using traditional run_mlm.py (without trainer from transformers repository here )
When I observe the tqdm log from when running for 1 node vs running with 8 nodes:
I observe the following:
8 Node log :
INFO:main:***** Running training *****
INFO:main:  Num examples = 4842767
INFO:main:  Num Epochs = 10
INFO:main:  Instantaneous batch size per device = 64
INFO:main:  Total train batch size (w. parallel, distributed & accumulation) = 2048
INFO:main:  Gradient Accumulation steps = 1
INFO:main:  Total optimization steps = 23650
0%|          | 20/23650 [01:20<26:05:59,  3.98s/it]
0%|          | 21/23650 [01:24<26:04:43,  3.97s/it]
0%|          | 22/23650 [01:28<26:12:45,  3.99s/it]
1Node Log:
INFO:main:***** Running training *****
INFO:main:  Num examples = 4842767
INFO:main:  Num Epochs = 10
INFO:main:  Instantaneous batch size per device = 64
INFO:main:  Total train batch size (w. parallel, distributed & accumulation) = 256
INFO:main:  Gradient Accumulation steps = 1
INFO:main:  Total optimization steps = 189180
0%|          | 7/189180 [00:04<27:49:11,  1.89it/s]
0%|          | 8/189180 [00:04<27:27:56,  1.91it/s]
As you can see the iteration time per step for single node is about 8 times higher than 8 node.
You can see training time estimated for one node is lesser than 8 nodes.

Thanks for opening a new issue. I am not sure how I can help however: Accelerate does not provide any optimization on top of PyTorch, it's just syntax sugar to make it easy to launch your distributed training. Behind the scenes, the model is a regular PyTorch DDP model as recommended by the documentation you linked. It looks more like an issue with the cloud provider (there is some sort of communication bottleneck between the nodes).

@sgugger  Can you confirm is accelerate is running as expected from these logs ?
Also i observed the backend being used is gloo. Do you think this is causing the issue ?

It looks okay to me! Accelerate initializes the backend with nccl if it's not already initialized, not sure if this has an impact in your case.

Figured it out, seems like AML has a communication bottleneck indeed. To get any relevant gain due to node scaling requires RDMA enabled compute cluster and Infiniband enabled cluster.


fix: downgrade typescript

🌵

Artifact can be viewed here: :
https://5986-62313804-gh.circle-artifacts.com/0/sandbox/mdbook/book/index.html

Artifact can be viewed here: :
https://5987-62313804-gh.circle-artifacts.com/0/packages/style/storybook-static/index.html

Artifact can be viewed here: :
https://5987-62313804-gh.circle-artifacts.com/0/sandbox/sapper/__sapper__/export/index.html

Artifact can be viewed here: :
https://5987-62313804-gh.circle-artifacts.com/0/sandbox/vuepress/docs/.vuepress/dist/index.html


Included meminput in generate_url function and updated README.md

Included meminput in generate_url function and updated README.md

will close #1 and #3


Will be a Greenlight for Switch，and connect to XCloud

Do you have any plans? Thank you

a switch version，I am looking forward to it.

There will not be a Nintendo Switch version. The dependencies of this project does not work on the Nintendo Switch (also i do not have a homebrew switch to develop for)


debugging cell for untitled python file behaves poorly

Issue Type: Bug

Create a new file and select python language
create a 'cell' with some code

# %%
print(1)
print(2)

click the debug cell code lens
(save dialog pops up) save the file

Actual result:
Python file is abrubtly closed, IW opens and attempts to run the cell, cell errors with
Illegal value for `line`.
View Jupyter log for further details.

Extension version: 2022.6.1001801035
VS Code version: Code - Insiders 1.69.0-insider (e71b6105ebb4fbcfbf38a1b62bcbafdb048d3468, 2022-06-27T07:59:47.622Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz (8 x 1498)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.59GB (14.12GB free)

Process Argv
--folder-uri file:///c%3A/src/vscode-jupyter --crash-reporter-id 1202dc88-403d-4ebc-8393-af3551a8bd5b

Screen Reader
no

VM
0%

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
pythonvspyl392:30422396
pythontb:30258533
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscod805cf:30301675
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30404738
wslgetstarted:30449409
vscscmwlcmt:30465136
cppdebug:30492333
pylanb8912:30496796
vsclangdf:30492506

Not sure why this is a regression, I can repro the same behaviour in stable & insiders.
Does this work without any issues in VS Code stable & jupyter stable version today?
Basically once you hit save, things go bonkers in stable & insiders & I get the same behaviour.
However I don't get the error message you have mentioned about Illegal value for line...

Yeah, I repro in stable too on Mac. Not marking as "important" since it seems there is very little potential data loss. What I see is that the file is actually saved, containing any source that may have already been entered.

Here I can probably just set the flag to disable saving when debug starts

I see that we save manually because the python debugger doesn't support debugging untitled files. So I removed that check for the new debugger, where debugging untitled files works fine (except for https://github.com/microsoft/vscode/issues/168675).
With the old debugger, breaking in the saved file breaks entirely for some reason


Feature Request : Swimlanes

Many people incorrectly refer to swimlanes as the columns of the board but they are actually horizontal rows that can group cards. They are an easy way to visualize multiple projects, users, or whatever else you want to group by. Would something like this be possible with your current architecture?

With the current setup, no not really.
I don't know that TaskBoard should have swimlanes either, as it's meant to be a simplified kanban board. Multiple projects = multiple boards; users = filtering, etc. For now, I don't think swimlanes will be in TaskBoard.

Hi Kiswa,
Since Kanban is a flexible method it's not necessarily mean that Multiple projects = multiple boards; users = filtering.
Some time users use a board (usually when group of people work together on a project but each person had different responsibility) and horizontal lines help them to create a stream per person.
Eventually it just mean ability to add horizontal line (I.E ---------------------------------) that move up/down based on the location of the tasks. no more than that.
Hope you would reconsider this (I think it suppose to be quite easy to develop - but hey, it's easy to say from the outside).
Again - thanks for a great product.


runtime: CPU-overprovisioned processes might fail to trigger the GC CPU limiter

I've observed that in cases where the live heap exceeds the max heap set by the memory limit, and the application is only using a small fraction of GOMAXPROCS, it might happen that the GC CPU limiter never notices that GC CPU utilization is particularly high, even though GCs are happening continuously. This is due to a combination of the idle mark workers and the existence of GOMAXPROCS. The correct fix is to remove idle mark time from the limiter's count of mutator time.

Just to be clear, subtracting out idle mark time is the right thing to do here because that's where all our idle time is going in thrashing situations. It's not the perfect solution, but it's an easy one that covers all cases that matter. The fix's commit message has more details and a clearer explanation. We may want to consider accounting for all idle time, but I don't think it's necessary (and actually might have some negative consequences).

Turns out that if the system is oversubscribed enough this can still happen, because non-GC idle time counts toward mutator time.
The fix I have is to remove all idle time from the GC CPU limiter. There's a slight danger in doing this in that this will mean the limiter may turn on in oversubscribed scenarios where there really is no thrashing. However, in those cases, the amount of GC CPU time spent just in dedicated workers (which we don't attenuate) so greatly outweighs the mutator's actual time, that it shouldn't be an issue that no assists happen. Scavenge assists are also disabled, but that's probably fine too; the background scavenger basically always has available CPU to execute and again, we don't actually attenuate the background scavenger. An unlucky allocation pattern may cause a transient pass over the memory limit, but it's unlikely and I think well within the spirit of a "soft memory limit."
Fix incoming.


feat(ast): add accessibility field to AccessorProperty

#5291
#5290  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Dunqing and the rest of your teammates on  Graphite


styling item with multiple values in a field

Say I have index item with this structure:
   {
      "name": "alvinsee",
      "ra_list": [
         "Comparative Law",
         "Contract Law",
         "Equity & Trusts",
         "Unjust Enrichment & Restitution",
         "Tort Law",
         "Property Law",
         "Animal Law"
      ]
   }

I realise the output of {{ra_list}} is a comma separated output. How can I style this into <li> or  <div>

Hey @dfcn84, glad that you solved this. Could you explain what the problem was and how you solved it, for future reference?
Thanks!


Redirect lots of old links. Fixes #37.

Sean, feel free to merge without a review. We don't have any process on the website. (if you want there to be, feel free to propose it, but no one else has been following any process.)

Thanks, Daniel and Sean!

This one's all Sean. Thanks, @seantalts!


oncancel listener doesn't work

The oncancel listener doesn't fire an event when the modal is cancelled through either dialog.close or using the escape key. Tested in firefox but assuming this doesn't work in either IE or Safari as well.

I've added this and it will release in the next version.
Technically the ordering of "on..." events is crazy—if you set an oncancel property, it gets inserted in the list of events added by addEventListener. I've not done this, instead just calling it first if it exists.


Confusing migration error thrown due to multiline annotation

EdgeDB Version: 1.0.0-beta.2
OS Version: macOS 11.4 (20F71)

Steps to Reproduce:

run edgedb project init
set default module to 👇

module default {
	abstract type Recording {
		required property version -> int16 {
            annotation description :=
                "Version is incremented anytime a change
                in the data is registered";
        }
	}
}

run edgedb create-migration --non-interactive ; edgedb migrate

This results in the message
edgedb error: could not read migrations in ./dbschema/migrations: could not read migration file ./dbschema/migrations/00001.edgeql: migration name should be `m1ydgjz533k6jnuknvkm3ybiofk2depc4s7a2pggecsf4pzcjsba5a` but `m1axn3wsnysm6hnnpijljgjv6ybyldbfvrajgvgdq7qdve7ky2adfa` is used instead.
Migration names are computed from the hash of the migration contents. To proceed you must fix the statement to read as:
  CREATE MIGRATION m1ydgjz533k6jnuknvkm3ybiofk2depc4s7a2pggecsf4pzcjsba5a ONTO ...
if this migration is not applied to any database. Alternatively, revert the changes to the file.

at this state, the migration 00001.edgeql is
CREATE MIGRATION m1ydgjz533k6jnuknvkm3ybiofk2depc4s7a2pggecsf4pzcjsba5a
    ONTO initial
{
  CREATE ABSTRACT TYPE default::Recording {
      CREATE REQUIRED PROPERTY version -> std::int16 {
          CREATE ANNOTATION std::description := 'Version is incremented anytime a change
                  in the data is registered';
      };
  };
};

When we follow this instruction and swap the hash values, running edgedb migrate again results in
edgedb error: ERROR: SchemaDefinitionError: specified migration name does not match the name derived from the migration contents: 'm1ydgjz533k6jnuknvkm3ybiofk2depc4s7a2pggecsf4pzcjsba5a', expected 'm1axn3wsnysm6hnnpijljgjv6ybyldbfvrajgvgdq7qdve7ky2adfa'

which is the previous hash that we were instructed to change.  This chain of errors can be resolved by setting the default module to
module default {
	abstract type Recording {
		required property version -> int16 {
            annotation description :=
                "Version is incremented anytime a change  in the data is registered";
        }
	}
}

then running edgedb create-migration --non-interactive ; edgedb migrate
will result in
Applied m1gci5naybrifrngsk2537zjerqk2zqxnmbdqslgamqcnm7vzknpmq (00001.edgeql)

I'm not quite sure if its specified anywhere that annotations or strings in general cannot span multiple lines.  As a brand new user (yesterday was my first schema setup attempt) I had a bax UX with this.  The suggestion from the error that was reported did not resolve my issue when followed, nor did it help me diagnose what the root cause was.
I think a better UX would be to either have some parser functionality to remove newlines from annotation strings (during migration creation) if they are not supported in the DDL.  If this can't be the case, then having a more specific error message in regards to this limitation would be very valuable.
Thank you in advance for all the work being put into EdgeDB!  I have had an otherwise great experience learning about this tool.  The documentation on the website is superb.

Thank you for a great bug report!  Multiline annotations ought to be supported, this bug seems to stem from differences in how SDL and DDL are tokenized.

This is somewhat fiddly:
The crux of the issue here is that edgeql multi-line string literals don't do any sort of whitespace squishing (unless you backslash escape the newline, which is probably what you want to do), and so indenting or dedenting them causes their value to change.
Combine that with edgedb-cli indenting and you get this problem


Read request settings from middlewares

Currently, we're setting proxy and follow redirect settings directly, for example:

https://github.com/oltarasenko/crawly/blob/945acbb1f0db1ace8464d4e6f436375002d1482f/lib/crawly.ex#L15
https://github.com/oltarasenko/crawly/blob/6d0f9117aabce1e281240a7e7300cdf934affe09/lib/crawly/worker.ex#L139

Check if it's possible to migrate it to middlewares.

I've got a custom proxy middleware that follows the HTTPoison's format of setting auth (proxy endpoint and auth are separate keywords.
The proxy auth implementation that you had added wasn't sufficient because HTTPoison doesn't recognize proxy auth in the usual http://user:pass@host:port format
When I've got time I'll abstract it out from my codebase and open a PR

Done


Add link from testing doc to resize-text doc

What we've changed
This PR adds a link from our Frontend testing doc to our doc about resizing text in browsers.
Fixes #2296.
Why we've changed it
We recently created the text-resize doc to help users test their contributions. See #2294 for more details. We thought navigation between the 2 docs could help users to quickly find information they need.

Do not merge until #2304 (PR for resize-text doc) has been merged.


Metabase as Source

Comment
https://github.com/metabase/metabase/issues/8359
Would like to be able to capture the results from Metabase Question, on a daily basis, and save to a database, for historical analysis. To achieve this, we may create a source connector using the PDK SaaS API Source capability.
Note the results data usually contains some dimensions and measure(numbers) but doesn't have the name of the question. To be useful when stored in database, we may want to automatically add the Question Name, Question ID and Current Date
Name: Metabase Question Results
插件实现的源功能 Implemented Features - as Source

[x] 全量读 source-feature-full-sync
[ ] 增量读 source-feature-cdc
[ ] 全量总数统计 source-feature-count
[ ] 增量指定时间 source-feature-cdc-time-point
[ ] 高级查询 source-feature-advance-query
[ ] 查询索引 source-feature-load-index
[ ] 加载模型 source-feature-load-schema
[x] 获取表 source-feature-table-names
[ ] DDL读取 source-feature-ddl

插件实现的目标功能 Implemented Features - as Target

[ ] 插入事件 target-feature-insert
[ ] 删除事件 target-feature-delete
[ ] 更新事件 target-feature-update
[ ] 清除数据 target-feature-clear-data
[ ] 创建表 target-feature-create-table
[ ] 删除表 target-feature-drop-table
[ ] 创建索引 target-feature-create-index
[ ] 删除索引 target-feature-drop-index
[ ] DDL写入 target-feature-ddl

hey! is there an update to this functionality ?


Fix for cc 2.5.94+

Q
A

Bug fix?
yes

New feature?
no

API breaks?
no

Deprecations?
yes

License
Apache 2.0

What's in this PR?
After release 2.5.94, cruise control uses a double field for the number of cores used in host load and broker load responses instead of int (PR-1839). The go-cruise-control client still uses an int field (see here).
Checklist

[x] Implementation tested
[x] Tested against Cruise Control version: x.y.z (if applicable)
[x] User guide and development docs updated (if needed)

To Do

[ ] If the PR is not complete but you want to discuss the approach, list what remains to be done here

@pregnor is this a breaking change though? Old cc versions should be supported as well as an int can be parsed as float iiuc

@pregnor is this a breaking change though? Old cc versions should be supported as well as an int can be parsed as float iiuc

What is the advantage to support older CC versions with newer Koperator?


License Update for 2018.

Hello Team,
The Alexa-App library is still pointing to MIT license till 2017.  The license needs to be updated for 2018.
Please update.
Regards,

Please help us by making a PR.


feat: add support for custom authorization token

Following code should produce request with header: Authorization=my-token:
client = InfluxDBClient(username=None,
                        password=None,
                        headers={"Authorization": "my-token"})

version = client.ping()

but current implementation always use HTTP basic auth even if an username and  a password are not specified:
https://github.com/influxdata/influxdb-python/blob/fc0235e2c07abf09eff4de7f6396a17aca1080f1/influxdb/client.py#L334
If the InfluxDB is behind a proxy, the client cannot connect into InfluxDB since both use the Authorization header.

Contributor checklist

[x] Builds are passing
[x] New tests have been added (for feature additions)

Hi @bednar,
any idea why the token must be passed to a header param, instead of creating an optional param token in the constructor ?
Thanks

Hi @Frankkkkk,
There is no specific reason, it just hasn't been implemented yet. This PR only fixes the functioning if username and password are not defined.
Regards


Function Service Bus trigger not firing

Hi
I have a function app with a service bus trigger. During testing the trigger was firing correctly when placing messages on the service bus subscription and checking the function app log stream. Now the application is running in a production environment where messages get placed on the bus once a day. However the function app is not getting triggered by these messages and they remain queued. I see the same behavior on our dev and acceptance environments. When I open the function app on the Azure portal to take a look it suddenly starts processing all of the messages. It's like the function app is sleeping until I wake it up by looking at it...
Some details:
Function app runtime:v4
Operating system: Windows
Hosting plan: Consumption
netcore version: 6
location: eastus

You're using In-Process SDK. This repository is for Isolated Worker SDK.

Ok, I'll move it over to
https://github.com/Azure/Azure-Functions/issues


[Feature] [connectors] Add spark cassandra sink

Purpose of this pull request
This pull request adds spark cassandra sink. #985
Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs

@RickyHuo @CalvinKirs

hi, because I'm dealing with a license issue recently, the reply is relatively late, you need to update your code.

I closed this PR due to long time no response, please ping me if there is an update.

@CalvinKirs please reopen it ,thanks


Rename port to match Istio naming conventions

Istio requires the service port to be named like <protocol>[-<suffix>].
If possible, it would be good to rename it here to match this requirement.

Thanks for the contribution, @nightscape! One small comment on the protocol name to use. Rationale for the proposed change seems perfectly reasonable and sensible, and I don't see where it would risk breaking any existing configurations.

Thanks for the contribution, @nightscape! One small comment on the protocol name to use. Rationale for the proposed change seems perfectly reasonable and sensible, and I don't see where it would risk breaking any existing configurations.

Hi @canterberry, I tested the changes locally both with and without a tlsSecretName and both versions work correctly, i.e. set the port name to http-5000 or https-5000 respectively.
From my side this is good to merge.


feature-wip Support flatten catalog

Proposed changes
Issue Number: close #xxx
Problem summary
Doris is now support 3 level schema:
Catalog -> Database -> Table
However, when using some MySQL-compatible tools to connect to Doris,
these tools only support two-level (Database -> Table) metadata,
so the database information in the external catalog cannot be displayed.
This PR attempts to make compatibility improvements to this issue.
In normal use, when users need to switch to other catalogs, they can use the switch statement to switch, such as:
switch hms_catalog;
and then use the use statement to switch the database:
use db;
At the same time, we can directly use the following commands to directly switch the catalog and database:
use __hms_catalog__db;
Here we use __ as a special identifier so that the system can identify and parse out the catalog name.
At the same time, we prohibit __ in the catalog name, so as to ensure that there are no semantic errors.
This change does not require any additional configuration, and Doris will automatically perform the correct
operation based on the name.
I have tested mysql command line tool and dbeaver, which works fine with this feature.
$ mysql -h <IP_ADDRESS> -P 9030 -uroot -D__hive__tpch100;
mysql> show tables;
+-------------------+
| Tables_in_tpch100 |
+-------------------+
| customer          |
| lineitem          |
| nation            |
| orders            |
| part              |
| partsupp          |
| region            |
| supplier          |
+-------------------+
8 rows in set (0.00 sec)

The document will be added later with full multi-catalog feature.
Checklist(Required)

Does it affect the original behavior:

[x] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[x] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[x] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

Show databases can return all database?

No, it still only return database in current catalog.
I thought about this feature. This feature requires additional config to tell the system whether to return all databasses or not,
So I'm hesitant to add this feature.


Use consistent code formatting in src cpp files

Update .editorconfig with rules for .cpp files in the src directory and fix code formatting issues in those files.
Of the 84 .cpp files within the src directory, about 30 of them were formatted with tabs for the majority of the file. So I added this rule in .editorconfig to make 4 spaces the default indentation style for .cpp files in the src directory:
[src/**.cpp]
indent_style = space
indent_size = 4

For the most part, if a file had a mix of spaces and tabs for indentation, I'd use the indentation style which was used for the majority of lines in that file. For instance, if a file was mostly using spaces for indentation, I'd make sure that .editorconfig states indent_style = space for that file and I'd convert all the tabs to spaces in that file.
To run editorconfig-checker on the files that pertain to this pull request and verify that they now obey all the rules defined for them in .editorconfig:
git remote add tylervz git@github.com:tylervz/GP2040-CE.git
git checkout tylervz/cppCodeCleanup
npm install --save-dev editorconfig-checker
npx editorconfig-checker src/**/*.cpp

We'll fix this on a bigger sweep


v1.26.1

Description
Version bump for fix to add expires_in and remove connections arg to create passwordless session.
Documentation
Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.
[ ] Yes

If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.

Codecov Report

Merging #190 (d703a5c) into main (976a32d) will not change coverage.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main     #190   +/-   ##
=======================================
  Coverage   86.41%   86.41%
=======================================
  Files          28       28
  Lines        1001     1001
=======================================
  Hits          865      865
  Misses        136      136

Files Changed
Coverage Δ

workos/__about__.py
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Seems like this should be a minor version bump to v1.27.0, since we're adding functionality (and also removing functionality, which is technically a breaking change, but I just checked and it seems like there is no usage of the connection parameter from the Python SDK).

Seems like this should be a minor version bump to v1.27.0, since we're adding functionality (and also removing functionality, which is technically a breaking change, but I just checked and it seems like there is no usage of the connection parameter from the Python SDK).

Yeah I can bump it back up to 1.27.0 then. We don't list the use of this connection param so no one should be using it.


Fix several issues related to material roughness

This PR fixes several issues with how the roughness is handled in the fragment shader :

The roughness coefficient is in channel 'g' of the MetalRoughnessMap and the metallic coefficient in channel 'b' and not the opposite.
The roughness in the material and in the MetalRoughnessMap is the perceptual roughness and not the alpha roughness used in the equations, the alpha roughness is the square of the perceptual roughness.
There is no need for a minimum roughness, this prevent purely reflective surfaces. The 0.04 factor is only to be used for F0 for non-metal surfaces
The limit for F90 is usually taken at 2% and not 4%

See glTF reference : https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#metallic-roughness-material

See https://github.com/KhronosGroup/glTF-Sample-Models/tree/master/2.0/NormalTangentMirrorTest
before fix :

After fix :

(The fully metallic columns are black because of the lack of IBL and still a problem with the normals)


Links to Cordova docs need an update

I am one of the Cordova committers and Cordova docs have been refreshed significantly and the links from ionic website need an update:
https://github.com/driftyco/ionic-site/search?p=1&q="cordova.apache.org%2F"&type=Code&utf8=✓
Our GA data shows that Ionic referrals are landing people onto older version of the docs which is often not accurate. Here are my recommendations:

Always reference "latest" version of the docs - For example, https://cordova.apache.org/docs/en/latest/guide/overview/index.html. There is almost no reason to reference only a specific version of the links.
Use anchor references as appropriate. We have changed our anchor scheme recently but do not expect that to change in the future. For example, to reference the build command: https://cordova.apache.org/docs/en/latest/reference/cordova-cli/index.html#cordova-build-command
Plugin docs are now published on the website and should ideally be referenced instead of the github links. For example, here: https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-camera/index.html

Please let me know if you have any questions.

Thanks @nikhilkh , will get these updated!

Should be all taken care of now.


working on Raspberry Pi 3 /4?

Hi,
I have installed pluto-gps-sim in a laptop and works very fine.
Now I tried to run it on a Rasperry Pi 4 (and Pi 3 also) then apparently works but my ublox GPS receiver never fix (never gets a SAT in green), It seems like messages (or RF signal) are not continuous.
Any idea?
Thank you.

image

I checked it with a spectrum analyzer and the RF signal is not continuous, it is "blinking"

Resources in use are only  27%
Any idea about why pluto-gps-sim running fine bat generated RF signal is wrong?
Any idea will be appreciate very much

I also am seeing this same issue but on a full computer with and Intel i7. Investigating

Hi SpontaneousDuck,
pluto-sdr-sim runs fine on my laptop (intel i3).
Furthermore, I can run it on a raspberry pi 4 with 4GB RAM, WITH overclocking.

in my case in the raspberry pi was not working, the pluto-sdr-sim task is running at 100% and the spectrum was interrupting due the cpu is not fast enough.
for the raspberry pi4 it seems the same but didn't tried with overclocking. how much overclock is needed?.

In config.txt file I add:
over_voltage=4
arm_freq=2000

Project closed.


Add common univariate data transforms (Box-Cox etc)

For example: Box-Cox transforms, and related tranforms.
https://www.researchgate.net/publication/284261483_Improving_your_data_transformations_Applying_Box-Cox_transformations_as_a_best_practice
Box-Cox Transformations_An Overview.pdf

Waiting for more information... still using matlab...

https://github.com/deeplearning4j/deeplearning4j/issues/5197


Sphinx-Doxygen documentation proof of concept

This is a POC for using documentation generated using Sphinx and Doxygen. (issue #1022)
Concepts demonstrated:

Generating documentation from .rst files and pulling C++ API docs using Doxygen using a GitHub action and deploying to GihHub pages.
Expanding variables into the document from a single source (conf.py) to fill in the project name, version, and custom variables. (SW_CLASSIFICATON is an example of a custom variable).
Creating links between document sections. For example, I created links between system requirements and software requirements.

You can navigate the generated documentation here: http://heatertech.com/Ventilator/system/system_requirements.html
TODO:
Manually managing the requirement linkages would be a pain. I think we can use a tool (modified RDM?) to handle, or at least verify links.
NOTE: This PR is to demonstrate the plumbing. The content is notional. Some text snippets were pulled from RDM templates, and the example requirements were pulled from Valispace. Please limit comments to the concept, and not the contents at this time.

For improving requirements traceability, I'm thinking of creating a custom Sphinx domain extension that would define more precise requirement relationship roles such as :derives:, :satisfies:, :implements:...


refactor(config): Internal store as pointer

This ensures that you can call config.Init() in tests that
otherwise have already called flag.Parse().
This was discovered as part of #115 where calling config.Init() in a test would not save savedConfig.

:tada: This PR is included in version 1.8.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


microG plugin support?

No content

Issue created by BlueBubbles Bot in the BlueBubbles commnity on behalf of @zach in #server-bugs.

In lieu of Google Firebase?

I'm on a Degoogled ROM (CalyxOS) as well. Just wanted to throw my support in for using BlueBubbles without having to depend on Google Firebase.

I'm on a Degoogled ROM (CalyxOS) as well. Just wanted to throw my support in for using BlueBubbles without having to depend on Google Firebase.

As it currently stands, this would mean you wouldnt get notifications (without firebase) unless connected to the server. So you'd need an always open socket connection, which we dont do in the app. It would require quite a bit of work, and it would hurt battery life more.

On the battery life point: I've got a number of apps which are configured to have an always open connection to the server for notifications and have noticed no significant impact on battery life.
However, your point about requiring significant rework to enable this functionality is understandable.

On the battery life point: I've got a number of apps which are configured to have an always open connection to the server for notifications and have noticed no significant impact on battery life.
However, your point about requiring significant rework to enable this functionality is understandable.

@tneotia is doing basically a full rewrite of the app, so maybe he can take this into consideration when doing that. Maybe not actually implementing it, but just keeping it in mind when refactoring everything. To possibly make that route easier to go down in the future.


[FormRecognizer] Ignoring StartBuildModelFailsWithInvalidPrefix test

Desperately trying to get a green build. This test is consistently failing and the reason still needs to be investigated. Created https://github.com/azure/azure-sdk-for-net/issues/28272 for tracking.

API change check for Azure.AI.FormRecognizer
API changes are not detected in this pull request for Azure.AI.FormRecognizer

/azp run net - formrecognizer - tests


Linux xrandr/xinerama depencencies hidden behind NATIVE_TOOLKIT_SDL_X…

…11_XINERAMA / XRANDR defines

I'm wondering if the explicit 0 being defined was necessary, since they test with #if THING

sorry, missed this comment (I thought I was subscribed to this? weird).
Anyways, what do you want to do here?


How to test transition arguments in onEntry?

In my current implementation, I'm using a transition argument to pass some data to the second state.
In the second state, I'm accessing the data via:
onEntry {
                val myData = it.transition.argument as MyData
}

In my test, I'm using
machine.startFromBlocking(state = second, argument = myData)

Debugging the test, it shows that myData does not end up in it.transition.argument but in it.argument, which leads to a failing test.
I tracked it down to makeStartTranisitionParams is not setting the argument in the Transition but just in the TransitionParams.
Do you have any advise on a proper test setup to test onEntry with a transition argument?

Hello, looks that due to using using of startFrom transition argument is never set by your production code. Yes as you correctly mentioned Event argument and Transition argument, are different types of arguments and they are not related to each other.
In a test you can get your transition reference by findTransition/requireTransition APIs https://github.com/KStateMachine/kstatemachine/blob/master/kstatemachine/src/commonMain/kotlin/ru/nsk/kstatemachine/state/TransitionStateApi.kt#L38
And set it's argument explicitly in test code.
Alternatively you can run the StateMachine from some earlier State, to process necessary Event in the test, to trigger your production code that sets the transition argument.
I cannot suggest something better than that.

Thank you very much for the hint!
In my test, I'm using now
machine.findTransition<StartEvent>()?.argument = myData

which works out fine!

For test code I recommend using "require" version, to end up with exception if the transition will not be found. Using "find" + "?" which is effectively "if" may make the test false positive. 🤓

Thanks for the clarification.
In my specific case I was not problem, because the transition argument would then still be null. But requireTransition is the more solid approach to let the test fail early and in all cases.


how to set ttl for generated probe packets

I was trying to figure out how to set the TTL fields of probe packets, in my particular case ICMP echo packets but I can't see this option for tcp probes either. Should I patch the probe module(s) to achieve this?

Yes, you'll need to patch probe modules to do this. I would recommend that if you do this, you introduce a global CLI flag since it can be used by many modules. We'd happily accept a pull request that introduces this functionality.


republish not requeue

Is this what we need to resubmit (not requeue!) AMQP messages?
of course, we can also track retries, in a variety of ways:
https://stackoverflow.com/questions/23158310/how-do-i-set-a-number-of-retry-attempts-in-rabbitmq

The latest update runs and includes retry tracking.


🐛 [FIREBASE_STORAGE] Different exceptions across platforms (Android and iOS).

I notice different errors/exceptions across the Platform when a Firebase Storage deny access, like the issue #8066 but using Firebase Storage.
The exceptions are different by the platform Android and iOS.
This occurs in two cases:
The first case happen when a User WITH AUTORIZATION (by Firebase Storage Rules)  try to read a file that DOESN'T EXIST a PlatormException is throw.
Using Android emulator/physical device:
PlatformException(
  code: "object-not-found",
  message: "com.google.firebase.storage.StorageException: Object does not exist at location.",
  details: {"message": "No object exists at the desired reference."},
);

Debug image

Using iOS emulator/physical device:
PlatformException(
  code: "firebase_storage",
  message: "No object exists at the desired reference.",
  details: {"message": "No object exists at the desired reference."},
);

Debug image

The second case happen when a User WITHOUT AUTORIZATION (by Firebase Storage Rules) try to read a file that EXIST a PlatormException is throw.
Using Android emulator/physical device:
PlatformException(
  code: "firebase_storage",
  message: "com.google.firebase.storage.StorageException: User does not have permission to access this object.",
  details: {
    "code": "unauthorized",
    "message": "User is not authorized to perform the desired action."
  },
);

Debug image

Using iOS emulator/physical device:
PlatformException(
  code: "unauthorized",
  message: "User is not authorized to perform the desired action.",
  details: {"message": "User is not authorized to perform the desired action."},
);

Debug image

I'm aways use the exception code to know the type of exception. Could be nice normalize these exceptions to record or analyze better using tools like analytics, etc.
Adicional information: I test a lot of cases to validade if the Firebase Rules are working in a real scenario using the emulators and devices, and these are the unique cases that throw PlatformException instead FirebaseException.
firebase_storage: ^10.2.7
flutter version: 2.10.
Regards.

Thanks for the report. I'll treat this more of a documentation and enhancement issue to make the platformexception messages similar across android and iOS. Similar to https://github.com/FirebaseExtended/flutterfire/issues/8066.
/cc @russellwheatley

Closing this out for an issue that already tracks Storage exception message handling: https://github.com/firebase/flutterfire/issues/7474


Precision conceputally flawed

The precision option currently sets the number of digits in the fractional part, as this is an obvious choice - you end up with less characters - yet it’s a rather dumbed down version of what the name suggests. Precision should account for the amount of increments per point/pixel.
An example, 8.68285322 will currently cut off numbers until the preference is matched and will probably round the last fraction to preserve optical integrity. What would make more sense is divide a point and snap the fractional part to it’s nearest neighbor:
-p 1 rounds to 1/1 (.0) points, the example becomes 9
-p 2 rounds to 1/2 (.5) points, the example becomes 8.5
-p 3 rounds to 1/3 a third of (.333) points, the example becomes 8.666
Etcetera:
-p 4 becomes 8.75
-p 5 becomes 8.8
-p 6 becomes 8.666
-p 7 becomes 8.714
-p 8 becomes 8.625
-p 9 becomes 8.666
-p 10 becomes 8.7
This works both in terms of precision and in terms of saving bandwidth, the fraction would never have to rise above 3 fraction digits. The values for this preference remain the same, so no additional effort there.
Feedback is welcome.

Every digit after a point adds a byte, that's why setting of number of digits influences the file size significally. Considering web graphics, 3 digits is enough almost every time, often it can be reduced to 2 or even 1 digit, but that's requires handling (svgo doesn't know how do one uses an image).
But for transformations, 3 digits is not enough due to fact their are being multiplied, so there is separate property which defaults to 5.
I don't see any sense in rounding to 1/3. It makes quality worse and brings nothing about optimizing. The only approach I may think of: multiply SVG units with corresponding ajust of viewBox to get rid of fraction parts. But in such a case one can just scale content and only then perfom rounding.

I see your point, I guess it comes from just about any svg drawing application somehow getting their rounding messed up: whole points get values like 0.01245423. This off course has nothing to do with SVGO yet is annoying the life out of me all the same. Cheers.


DOC: Troubleshooting/FAQ

We probably need a brief guide to errors coming from the server. The best example is the 502 error mentioned in #4; this is indeed the server throwing 502, we should probably document why.
This is as opposed to the 500 error in #2, which does probably warrant a code fix. 500 error fixed with a7e99165.

Created wiki stub.

https://github.com/truthy/botornot-python/wiki/Troubleshooting-&-FAQ


Use  inttypes in stm32{f7|h7}, Kinetis, s32k drivers.

Summary
Use the intypes in syslog macros.
Impact
Allows files to compile.
Testing
CI

@gustavonihei - I applied you changes ans several more in 547e3d7


Allow use of local flow nodes

Renders an input flow port on all nodes
Fetches global and (connected) local flow nodes when config form is opened
Fixes a couple tiny server-side bugs relating to treatment of flow nodes
Uses CSS flex to layout the icons inside the node widget so the gear is centered when shown alone
Alters the link style to match KNIME (but same color for flow control links for now)

Rather than set up a new custom class to represent flow ports (which involves some react-diagrams headaches), I just used the existing VPPortModel and indicate the flow port by name. The CustomNodeWidget finds it and renders/styles it separately from the other input ports. Should be fine since there is exactly one per node.

I did mean to implement the canLinkToPort method but as you said it gets a little complex. The port does know its node (port.getNode()), but all the combos of in/out/flow/data gets messy.
I think I can wrangle the output flow ports to match the input flow (purple circle on the right), but I'm not positive.

The rendering issues are definitely included in my react-diagrams headaches. Even if canLinkToPort returns false, you're left with a dead link somewhere near the port, and I have had no success figuring out how to "cancel" the rendering of the link. I know @cesaragv fixed a lot  of this, e.g. when you click a port, you no longer get a random link up to the corner. However if you look closely, clicking a port does result in the END of a link in the top left corner, so we have a lot of link-rendering bugs that could ideally be cleaned up (but we almost definitely don't have time for).

Render flow out ports similar to flow in ports (purple circles). Flow nodes no longer have any data ports.
Fix canLinkToPort so only flow-in-to-flow-out and data-in-to-data-out are allowed.

I have no idea how to prevent the rendering of invalid links, so we might just want to call this done.