lower results than expected

Thanks for the great work！
I use 4 gpus to run script/main_segmentation.sh cfgs/s3dis/pointnext-xl.yaml. Only got val_oa 89.21, val_macc 76.35, val_miou 69.08 (Best ckpt @E61) which lower than the results you showed at homepage.
Is it a normal results,  or is there some expriment settings I haven't noticed that effect the results.

how about training using only 1 GPU?

Thanks a lot. It works.
I thought bsize wouldn't have much effect

Hi there~
Thanks for your great open-source work!
Due to the limited memory of my GPU, I use 4 GPUS with batch size 2 under SyncBN to simulate 1 GPU with batch size 8.
Then I get the results ckpts @ 52 epoch( {'best_val': 69.06454467773438} ). I test this model on the test set and obtain test_oa , test_macc, test_miou: 90.37 76.72 70.22, which matches the original results 70.5±0.3 but inferior to your 71.1
Is that performance normal? or do I miss something important?
Note that I get the errors CrossEntropy, unexpected param label_smoothing when first running the code. After I check the original paper and the loss implementation, I think this criterion should change to SmoothCrossEntropy. The above results are obtained after making this change.
By the way, @lcysonya thought the batch size wouldn't have much effect. But in my situation, when I use 4 GPUS with batch size 4 for training (largest size by my GPU), I finally get the val results ckpts @ 93 epoch( {'best_val': 68.37361907958984} ) and testing performance test_oa , test_macc, test_miou: 90.53 75.90 69.78 which is clearly lower than batch size 2.
I might get something unexpected, but I indeed do not change other settings. I would much appreciate it if you (@lcysonya)  can tell me how you solved your problem.

Batch size and multi gpu tranining influence a decent margin (eg. at least 2 miou at S3DIS) in point cloud experiments.  If you are familiar with the literature, you will find point cloud domain never uses larger batch size training.
if you trained with the exact same configuration as us, you will get the results promised (make sure it is testing result not validation).

@haibo-qiu i think it is normal. Just run three times and report the mean. One experiment cannot show much.

71.1 is the best we get. Please refer to the mean results reported in paper

@haibo-qiu I wonder how to conduct multi-GPU segmentation training with the current code since as mentioned by @guochengqian, there exists an issue #8 that is unsolved yet.

@guochengqian Thanks for your kind reply.

@zen-d Actually this comment by Wang solved that issue, i.e., simply adding a comma to change mp.spawn(main, nprocs=cfg.world_size, args=(cfg)) to mp.spawn(main, nprocs=cfg.world_size, args=(cfg,)).


Merge search

closes CRJI/EIC#618

Either lots of refactoring happening here, or my merging your other 2 branches broke git's diff and merge; I can't tell now.
I forgot the say in the issue: in the Meta field on the table, did you expand the objects and lists under the table? initially I wanted them all to be outputted as JSON, but now it makes sense to print every value on one line and show the field name as all the segments concatenated with .

I forgot the say in the issue: in the Meta field on the table, did you expand the objects and lists under the table? initially I wanted them all to be outputted as JSON, but now it makes sense to print every value on one line and show the field name as all the segments concatenated with .

yes, lists are expanded with the links attached to every element (like email to and domains), but it outputs in json style, like [link, etc]

Let's completely flatten out all the objects and lists printed here.
As you said, in the demo data we only have short lists and no objects, but this will quickly change, so let's change the format a bit:
from
to<EMAIL_ADDRESS>email-domains: ["enron.com","naxs.com"]
object: {"key": {"key": "value"}}
to
to.0.0<EMAIL_ADDRESS>email-domains.0: enron.com
email-domains.1: naxs.com
object.key.key: value


argocd: 2.6.1 -> 2.6.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/argoproj/argo-cd/releases.
meta.description for argocd is: Declarative continuous deployment for Kubernetes
meta.homepage for argocd is: https://argo-cd.readthedocs.io/en/stable/
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
found 2.6.2 with grep in /nix/store/xq7mv2j3yasb89kg63f8q5g7y8yqwxwd-argocd-2.6.2
found 2.6.2 in filename of file in /nix/store/xq7mv2j3yasb89kg63f8q5g7y8yqwxwd-argocd-2.6.2

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
argocd

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/xq7mv2j3yasb89kg63f8q5g7y8yqwxwd-argocd-2.6.2 \
  --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 argocd https://github.com/r-ryantm/nixpkgs/archive/bcd127d19f5b31a0dbf3b83126f08308223695b1.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/xq7mv2j3yasb89kg63f8q5g7y8yqwxwd-argocd-2.6.2
ls -la /nix/store/xq7mv2j3yasb89kg63f8q5g7y8yqwxwd-argocd-2.6.2/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:

argocd

Maintainer pings
cc @shahrukh330 @bryanasdev000 for testing.

Flagging as security related. This upgrade contains the fix for CVE-2023-23947. I'm checking what it involves for stable.


Improve instructions

fixes #15

mergin this and creating separate issue for better icons

Nice - looks good :+1:


deCONZ scene exposes rgb pallette when this is not needed

I have a scene in phoscon and i expose it to home assistant. The scene does not have any coloring lights in it. But home assistant thinks it has coloring lights.
Please see screens attached

Please fill out the issue template.

@Kane610 will know it when he sees it :)

@alexvandervegt what you have pasted looks like a group and not a scene. A scene in home assistant should only be a trigger

You are correct this is a group. My bad.
But the group has no rgb capabilities, so it should not be shown right?

Its a known issue with deconz, I brought this up with them a year ago. I might improve this in the future, as part of a bigger refactorization of the library. But not something I will prioritise right now.

Known issue

Known issue and solved issue are the same?

In GitHub you can only close issues. But it is not solved

Ok, but you are looking into it?

Its a known issue with deconz, I brought this up with them a year ago. I might improve this in the future, as part of a bigger refactorization of the library. But not something I will prioritise right now.

This is how groups work with deconz, so nothing special. I have thoughts around better logic with groups and its lights but it is in the future. This will also require extra polling functionality since groups don't signal change in added lights over web socket.


Import error

Operating System: MacOS Monterey 12.4
Python version: 3.9.7
summit version used: 0.8.5

Description
I get an error when importing summit. Installing worked fine, but when I import it I get an sklearn error.
What I Did
import summit

Error

ImportError                               Traceback (most recent call last)
/var/folders/bb/tzggm8cx2f5fyxfhdmmhn7j40000gn/T/ipykernel_3477/2754492982.py in
----> 1 from summit.benchmarks import SnarBenchmark
2 from summit.strategies import NelderMead, MultitoSingleObjective
3 from summit.run import Runner
4 from matplotlib import pyplot as plt
~/opt/anaconda3/lib/python3.9/site-packages/summit/init.py in
17 from summit.domain import *
18 from summit.experiment import *
---> 19 from summit.run import *
20 from summit.strategies import *
21 from summit.benchmarks import *
~/opt/anaconda3/lib/python3.9/site-packages/summit/run.py in
1 from summit.strategies import Strategy, strategy_from_dict
2 from summit.experiment import Experiment
----> 3 from summit.benchmarks import *
4 from summit.utils.multiobjective import pareto_efficient, hypervolume
5 from summit import get_summit_config_path
~/opt/anaconda3/lib/python3.9/site-packages/summit/benchmarks/init.py in
1 from .snar import SnarBenchmark
2 from .test_functions import Himmelblau, Hartmann3D, ThreeHumpCamel, DTLZ2, VLMOP2
----> 3 from .experimental_emulator import *
4 from .MIT import *
~/opt/anaconda3/lib/python3.9/site-packages/summit/benchmarks/experimental_emulator.py in
19     ParameterGrid,
20 )
---> 21 from sklearn.model_selection._search import BaseSearchCV, _check_param_grid
22 from sklearn.base import (
23     BaseEstimator,
ImportError: cannot import name '_check_param_grid' from 'sklearn.model_selection._search' (/Users/thodorisladas/opt/anaconda3/lib/python3.9/site-packages/sklearn/model_selection/_search.py)

Hey Ted! Thanks for raising this issue. I have fix commuted and will push a new version tomorrow.

The new version on pypi (0.8.6) should fix! So do:
pip install -U summit


Enable egress use case for the Gateway API

Kubernetes does not have a standard way of dealing with egress traffic - i.e. traffic originating in a cluster with a destination outside the cluster. We want to create a standard way of handling this traffic using Gateway API.
Details of this use case are specified in the document below:
https://docs.google.com/document/d/13xAF_pqH2bV8x4MfXWde47esCdVwow1-nig6iy_rafA/edit?usp=sharing

Thank you for opening this issue @vinod4linux.

Thanks @vinod4linux! Glad to see the continued interest in the egress topic. I think the next best step would be for someone to take this on and create an initial GEP that covers the high level "what" and "why" topics, so that we can iteratively progress towards the desired implementation. It seems most likely that we can just start that GEP using the content already provided in the google doc and take some small steps to raise awareness and build alignment with the community.
/help

As per the PR it unfortunately seems we've been unable to move forward on this, largely because we don't have multiple aligned implementations coming together that need it, but also because the problem domain has felt a bit out of scope for what Gateway API itself is trying to do.
We're going to close this for now, but we're always open to the suggestions to re-open it just let us know here if you think we should, what your thoughts are, and your plan for how we move this forward.


Getting started site not working

I tried to access your documentation site to find out what color was assigned to what number, only to find out that the site seems to be down. When I attempted to go to the main page (IE remove the /?page_id=63) I was met with what looks to be a hacked version of the original site. The original presentation of the site is here: https://www.dropbox.com/s/rk4dn94aaygy0wh/Screenshot 2015-04-25 09.18.52.png?dl=0
This is what the site looks like after sent through Google Translate: https://www.dropbox.com/s/l3rparyacf713uw/Screenshot 2015-04-25 09.25.09.png?dl=0

Server was offline for a bit but is back up now.


Update hub URLs

Replaced all hub.towhee.io references. Resolves #542.
/cc filip-halt, Chiiizzzy
Signed-off-by: Frank Liu<EMAIL_ADDRESS>

Codecov Report

Merging #567 (328891e) into main (02e1add) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #567   +/-   ##
=======================================
  Coverage   71.10%   71.10%
=======================================
  Files         143      143
  Lines        5381     5381
  Branches      799      799
=======================================
  Hits         3826     3826
  Misses       1314     1314
  Partials      241      241

Impacted Files
Coverage Δ

towhee/hub/file_manager.py
67.51% <ø> (ø)

towhee/hub/pipeline_manager.py
93.10% <100.00%> (ø)

towhee/hub/repo_manager.py
90.99% <100.00%> (ø)

towhee/utils/git_utils.py
68.51% <100.00%> (ø)

towhee/utils/hub_utils.py
74.35% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 02e1add...328891e. Read the comment docs.

/lgtm


Build failure: fpc-3.2.2 - x86_64-darwin, but only in CI?

Steps To Reproduce
Steps to reproduce the behavior:

build fpc on GitHub Actions macos-13 runner, or on hydra.nixos.org

Build log

Relevant lines(?) of Build Log
[…]
/nix/store/w95g6dz0b7byi4w2mgvmwpl692pilqf1-coreutils-9.5/bin/mkdir -p x86_64/units/x86_64-darwin
/nix/store/2avfl53rf1zp3mnxiibldk691bdhgg8c-fpc-binary-3.2.2/bin/fpc -Ur -Xs -O2 -n -Xs -Fux86_64 -Fusystems -Fu/private/tmp/nix-build-fpc-3.2.2.drv-0/fpcbuild-3.2.2/fpcsrc/rtl/units/x86_64-darwin -Fix86_64 -FE. -FUx86_64/units/x86_64-darwin -dRELEASE -dx86_64 -dGDB -dBROWSERLOG -Fux86 pp.pas
[…many, many warnings about "argument unused during compilation"…]
ld: warning: directory not found for option '-F/nix/store/shxqmqga0h2nfyyzjmsi4rjm4pmj7zrz-CoreFoundation-10.12/Library/Frameworks'
ld: library not found for -lc
An error occurred while linking
pp.pas(252,36) Error: Error while linking
pp.pas(252,36) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: /nix/store/2avfl53rf1zp3mnxiibldk691bdhgg8c-fpc-binary-3.2.2/bin/ppcx64 returned an error exitcode
make[6]: *** [Makefile:4283: ppcx64] Error 1
make[6]: Leaving directory '/private/tmp/nix-build-fpc-3.2.2.drv-0/fpcbuild-3.2.2/fpcsrc/compiler'
make[5]: *** [Makefile:4331: next] Error 2
make[5]: Leaving directory '/private/tmp/nix-build-fpc-3.2.2.drv-0/fpcbuild-3.2.2/fpcsrc/compiler'
make[4]: *** [Makefile:4335: ppc1] Error 2
make[4]: Leaving directory '/private/tmp/nix-build-fpc-3.2.2.drv-0/fpcbuild-3.2.2/fpcsrc/compiler'
make[3]: *** [Makefile:4347: cycle] Error 2
make[3]: Leaving directory '/private/tmp/nix-build-fpc-3.2.2.drv-0/fpcbuild-3.2.2/fpcsrc/compiler'
make[2]: *** [Makefile:2800: compiler_cycle] Error 2
make[2]: Leaving directory '/private/tmp/nix-build-fpc-3.2.2.drv-0/fpcbuild-3.2.2/fpcsrc'
make[1]: *** [Makefile:2832: build-stamp.x86_64-darwin] Error 2
make[1]: Leaving directory '/private/tmp/nix-build-fpc-3.2.2.drv-0/fpcbuild-3.2.2/fpcsrc'
make: *** [Makefile:2306: fpcsrc/build-stamp.x86_64-darwin] Error 2

Full log: https://gist.github.com/Rhys-T/a276376c739404e172759b1499aefe2d
Additional context
At first I thought this was the same problem as #352655, because it was getting the same ld: library not found for -lc error that that always seems to cause. But I've tried setting sandbox = true, moving Xcode.app aside, and moving /Library/Developer aside, and it still consistently fails on GitHub Actions. I looked into it further, and it's also started failing on hydra.nixos.org recently. The same exact derivation (/nix/store/z48sn4y3756894b14x0r88b21x7wc973-fpc-3.2.2.drv) builds correctly on my local (x86_64-darwin, macOS 10.15) machine, whether or not I set sandbox = true.
Edit: Just to clarify, when testing locally, I was either setting NIX_PATH to the current tarball, or using the nixpkgs flake, so the difference in behavior has nothing to do with my local system's channels or overlays.
Metadata

GitHub Actions (failing)

system: "x86_64-darwin"
host os: Darwin 22.6.0, macOS 10.16
multi-user?: yes
sandbox: no
version: nix-env (Nix) 2.24.9
nixpkgs: /nix/store/n1g84klfb0h3bpwyvc59lcy5ca58h36w-source

Local (successful)

system: "x86_64-darwin"
host os: Darwin 19.6.0, macOS 10.15.7
multi-user?: yes
sandbox: no
version: nix-env (Nix) 2.24.10
channels(root): "nixpkgs"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixpkgs

Notify maintainers

@7c6f434c

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

I am seeing the same behaviour on aarch64-darwin as well.
      > clang-16: warning: argument unused during compilation: '-isystem /nix/store/14nh7h7pjj1zp1rc8i69b7fv0yrvxswk-libsbuf-14.1.0-dev/include' [-Wunused-command-line-argument]
       > clang-16: warning: argument unused during compilation: '-isystem /nix/store/8pnlfb84k70ydv2nx8zacr4xdsy22ff9-cups-headers-2.4.11/include' [-Wunused-command-line-argument]
       > ld: warning: directory not found for option '-F/nix/store/w130bnpp2y71jiphjnqn2nz5shwm69d7-CoreFoundation-11.0/Library/Frameworks'
       > ld: library not found for -lc
       > An error occurred while linking
       > pp.pas(252,36) Error: Error while linking
       > pp.pas(252,36) Fatal: There were 1 errors compiling module, stopping
       > Fatal: Compilation aborted
       > Error: /nix/store/x3a1awq1g0bfzlm6mdm0ycd0dfwacfnp-fpc-binary-3.2.2/bin/ppca64 returned an error exitcode
       > make[6]: *** [Makefile:4283: ppca64] Error 1
       > make[6]: Leaving directory '/private/tmp/nix-build-fpc-3.2.2.drv-0/fpcbuild-3.2.2/fpcsrc/compiler'
       > make[5]: *** [Makefile:4331: next] Error 2
       > make[5]: Leaving directory '/private/tmp/nix-build-fpc-3.2.2.drv-0/fpcbuild-3.2.2/fpcsrc/compiler'
       > make[4]: *** [Makefile:4335: ppc1] Error 2
       > make[4]: Leaving directory '/private/tmp/nix-build-fpc-3.2.2.drv-0/fpcbuild-3.2.2/fpcsrc/compiler'
       > make[3]: *** [Makefile:4347: cycle] Error 2
       > make[3]: Leaving directory '/private/tmp/nix-build-fpc-3.2.2.drv-0/fpcbuild-3.2.2/fpcsrc/compiler'
       > make[2]: *** [Makefile:2800: compiler_cycle] Error 2
       > make[2]: Leaving directory '/private/tmp/nix-build-fpc-3.2.2.drv-0/fpcbuild-3.2.2/fpcsrc'
       > make[1]: *** [Makefile:2832: build-stamp.aarch64-darwin] Error 2
       > make[1]: Leaving directory '/private/tmp/nix-build-fpc-3.2.2.drv-0/fpcbuild-3.2.2/fpcsrc'
       > make: *** [Makefile:2306: fpcsrc/build-stamp.aarch64-darwin] Error 2
       For full logs, run 'nix log /nix/store/5z15w3qfz53i6isb3xw82nrpapp6022x-fpc-3.2.2.drv'.
nix build "github:nixos/nixpkgs/master#fpc" --print-out-paths  2.37s user 3.33s system 10% cpu 56.623 total

If I add -t to NIX_LDFLAGS, it looks like my local build is picking up //usr/lib//libc.dylib [sic] as -lc. Presumably that fails on newer systems where all the libraries exist only in the dyld cache. Back in a04d33c0c3f1a59a2c1cb0c6e34cd24500e5a1dc (which is what my local nixpkgs channel is on - waiting to fully update until I can figure this out), it instead uses a .tbd file^tbdpath from the store, on both my machine and GitHub Actions. A bunch of other libraries are doing the same thing - loading from /usr/lib/system/lib*.dylib locally (and failing on GitHub) with the current Nixpkgs, using .tbds from the store on the old version. I'm guessing this has something to do with the recent apple_sdk restructuring, but I don't know enough about how any of that works to track it down further at this point.
Here's an example of trying to build against both versions of Nixpkgs. To try building locally, nix build 'github:Rhys-T/nur-packages?ref=6137a75f907f2ee8fc83c336c94aed15926b834d#fpc' - but if I'm right about why it works on my machine and not GitHub, you'll need to be on Catalina or earlier for that to actually build.

I think I've narrowed it down. There are a few lines in […]-cctools-binutils-darwin-wrapper-1010.6/nix-support/add-local-ldflags-before.sh in my local version of Nixpkgs (a04d33c0c3f1a59a2c1cb0c6e34cd24500e5a1dc) that were removed in b75c70282f91276908adf0f286437eadbb638119:
https://github.com/NixOS/nixpkgs/blob/a04d33c0c3f1a59a2c1cb0c6e34cd24500e5a1dc/pkgs/build-support/bintools-wrapper/add-darwin-ldflags-before.sh#L89-L97
Adding those first two flags back into NIX_LDFLAGS manually seems to get fpc building properly on macOS on GitHub Actions (https://github.com/Rhys-T/nur-packages/commit/8745748066aa3f0ce86617a30933ff318f919827, build). (I missed the Swift one at the end, but fpc doesn't seem to need it.)
Technically those lines weren't removed entirely. They're still there in the earlier stages of the bintools wrapper, but not in the final one that everything else uses. Unfortunately I don't understand the wrapper internals to know why it was removed, or whether or not re-adding it would be the right solution.

Looks like this has probably been fixed by #359218, at least once that makes it into the non-master branches.

Correction: #359218 gets fpc itself building, but I still have to add the flags I mentioned above to NIX_LDFLAGS in my own derivation to get fpc to work properly there - otherwise this happens[^lix]. (I tried adding the flag used by #359218 instead, but it somehow got an undefined symbol error for vfork on aarch64-darwin.)
[^lix]: Apologies for the output from other packages in there - I forgot to turn those off for the test build, and expected them to be cached anyway.

One other, unrelated thing on fpc that I happened to notice while trying to track this down. This doesn't seem to actually affect anything, so it may not be worth fixing and causing a bunch of rebuilds, but the fpc derivation currently builds everything in installPhase rather than buildPhase. Apparently its Makefile has the default target set to just print out a list of targets rather than actually build anything. Adding buildFlags = ["build"]; (or ["all"]) should fix that, but again, I don't know if it's worth it.


chore: update docker compose to volume mount for local development

closes #175

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4887

Relevant Lines:
5675

💛  - Coveralls


Where to get latest ADB for ARM processors like Pi?

Does anybody know how to get the latest version of ADB running on the Pi? No matter how hard I try, I can't get the latest version to run, it's not compiled for Arm processors in the apt repo. Does anyone have any ideas on where to get it?
My os is:
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye

I installed snap and then installed android-tools and android-adb. Make sure to point to this adb in the Homebridge settings

Try sudo snap install android-adb --edge
Adv will then be in /snap/bin/android-adb

Try sudo snap install android-adb --edge
Adv will then be in /snap/bin/android-adb

I’m trying to do this inside the official Homebridge docker container, and got this error:
error: cannot communicate with server: Post "http://localhost/v2/snaps/android-adb": dial unix /run/snapd.socket: connect: no such file or directory

You can try to manually install this adb version https://github.com/lzhiyong/android-sdk-tools/releases . Haven't personally tried it.

It's actually easy and safer, you just need to extract it into the home folder and configure the 'path' for the binary in homebridge-adb config.

Can you post the output of:
sudo snap find hello-world


Remove post-install manifest if present to avoid duplicate content

Fixes #1933
Proposed Changes

Remove post-install manifest if present

/cherry-pick release-v1.2

/cherry-pick release-1.2

/assign @matzew


decl_hdf5 dataset and group attributes support

In GitLab by @ksiero on Dec 8, 2020, 09:14
SHEMAT has hdf5 file to read that has group and dataset attributes. We need to add support for it if SHEMAT wants to use PDI.

In GitLab by @ksiero on Jan 27, 2021, 13:59
mentioned in commit acff4849ffa162fe5c12e58e3a859c45c41f01b5

In GitLab by @ksiero on Jan 29, 2021, 11:51
mentioned in commit 69d8dcfe7fa58a79f28cd328072897d91aaf2396

In GitLab by @ksiero on Jan 27, 2021, 14:04
mentioned in commit f78e80de99f543d2a6fa0f13ff2c2d94bbe41e5d

In GitLab by @ksiero on Mar 1, 2021, 11:41
mentioned in commit f2549669c06d8faf298e6684f4f20319094939af

In GitLab by @ksiero on Mar 1, 2021, 10:13
mentioned in commit f164bb324371e565ceef76fcf32bd9f47f4bff06

In GitLab by @ksiero on Jan 27, 2021, 14:01
mentioned in commit ce362292ec12491b227492ce7ce2d39fd8075696


Changed the input and output locations of the finemapping pipeline fr…

Separation of the input and output locations from the files to the config.
The locations of the config file refer to the Python file locations so nothing changed when you run the pipeline with the default settings.
Also includes minor file format changes and removed unused imports.

@edm1 Here a small PR to change the location of the input and output directories to the config file


GOBBLIN-1390: Add an option to run a subset of jobs from job config d…

…ir in Gobblin cluster
Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[x] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-1390

Description

[x] Here are some details about my PR, including screenshots (if applicable):
This PR provides an option to run a subset of jobs from the job config directory. This option is specified via a regular expression.

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:
Added unit test in JobConfigurationManagerTest.

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

@autumnust @ZihanLi58 Please review.

Codecov Report

Merging #3229 (94ed844) into master (ca26354) will decrease coverage by 37.32%.
The diff coverage is 45.45%.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ca26354...7deb02b. Read the comment docs.


Bug: cdkObserveContent callback does not trigger change detection correctly

Bug, feature request, or proposal:
Update a variable of component in the callback function of cdkObserveContent directive. The component template will not be updated. No debounce setting, it should not runoutsideAngular?
For example,
Template snippet:
<h2 (cdkObserveContent)="_onContentChange()">Here are some links to help you start: {{variable}} </h2>
<ul [class.has-bgColor]="_hasBgColor">
......
</ul>
<button (click)="_onToggleButtonClick2()">Touch Label</button>

Component snippet:
_hasBgColor = true;
variable = 1;

_onContentChange() {
  this._hasBgColor = !this._hasBgColor;
  this._changeDetectorRef.markForCheck();
}

_onToggleButtonClick2() {
  this.variable += 1;
}

What is the expected behavior?
CD should be triggered and template should be updated.
What is the current behavior?
What are the steps to reproduce?
I try it with stackblitz, but it has issue.
What is the use-case or motivation for changing an existing behavior?
I want to know what can or can't do in cdkObserveContent callback.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Is there anything else we should know?

Ha, @mmalerba literally just ran into this yesterday and decided not to do anything about it unless someone filed an issue since it causes problems inside Google to make it emit inside the zone.

as a workaround you can inject the NgZone and do:
constructor(private _zone: NgZone, private _changeDetectorRef: ChangeDetectorRef) {}

_onContentChange() {
  this._zone.run(() => {
    this._hasBgColor = !this._hasBgColor;
    this._changeDetectorRef.markForCheck();
  });
}


Update Debugging Guidance in README

Remove confusing non-functional debugging guidance. If the intention is for testing vscode-test-cli itself, then it should be added as a tasks.json or launch.json config to the .vscode directory of this repository.
Closes #12

This actually works now, though it didn't when written 🙂


functionapp:Show Python version in Azure Functions

Is your feature request related to a problem? Please describe.
Currently, Azure Functions support multiple versions of language worker (Python 3.6, 3.7 and 3.8).
We need some visualization in the worker version.
Describe the solution you'd like
In az functionapp show, we should have a panel showing the function app runtime (node, python, dotnet) and runtime version (~8, 3.6, ~3).

Hi @Hazhzeng currently, you can view the Python version by looking at the linuxFxVersion attribute in your function app. Is that what you were looking for?


Add "CMD"

This was rejected previously (#60) on the basis of keeping the layer count to an absolute minimum.  Since Docker 1.10+, instructions like "CMD" simply modify metadata and no longer create an additional layer that needs to be transported at pull time.  I'm hoping that means we can reconsider it?  :innocent:
Closes #193

What's the maintainers' view on this?  It's my last hope for simpler demos now my 'shell' PR is closed.
(tests appear to have failed on a version check, @tianon)

I'm not opposed to it. Though, I'd be curious if there are implications where people use bare ENTRYPOINTs and then suddenly get a CMD added to that.
If users have an ENTRYPOINT and this gets added and they don't explicitly override the CMD, will it be an issue?

We actually ran into that enough early on that Docker resets any inherited CMD when it encounters ENTRYPOINT :+1:
To illustrate:
$ docker build -

FROM alpine:3.4
CMD ["/bin/sh"]

<Ctrl+D>

Sending build context to Docker daemon 2.048 kB
Step 1 : FROM alpine:3.4
 ---> ee4603260daa
Step 2 : CMD /bin/sh
 ---> Running in c90072616302
 ---> 3da1cf08278a
Removing intermediate container c90072616302
Successfully built 3da1cf08278a
$ docker build -

FROM 3da1cf08278a
ENTRYPOINT ["echo", "hi"]

<Ctrl+D>

Sending build context to Docker daemon 2.048 kB
Step 1 : FROM 3da1cf08278a
 ---> 3da1cf08278a
Step 2 : ENTRYPOINT echo hi
 ---> Running in 59902a5804e8
 ---> f4fd19af8fff
Removing intermediate container 59902a5804e8
Successfully built f4fd19af8fff
$ docker run --rm f4fd19af8fff
hi

(simply hi as opposed to hi /bin/sh)

I am all for this :+1:

Let's get this merged. @tianon can you update it for the 3.5 variants?

Updated! :+1:


Cloning MultitaskWrapper with postfix parameters results in incorrect dictionary

🐛 Bug
If you clone a MultitaskWrapper and make usage of the postfix parameter, input dictionary keys seem to expect to have the postfix included at the end. However, documentation indicates that the output dictionary should be modified. I.e., the one resulting after having computed the values
To Reproduce
Steps to reproduce the behavior...

Expand

from torchmetrics import MultitaskWrapper, F1Score
import torch
wrapper = MultitaskWrapper({"F1": F1Score(num_classes=2, average='macro', task="multiclass")})
wrapper2 = wrapper.clone(postfix="train")
preds = {"F1": torch.ones((5, 2))}
tgt = {"F1": torch.tensor([0, 1, 0, 1, 0], dtype=torch.long)}

#wrapper(preds, tgt) # This one works
wrapper2(preds, tgt)

Expected behavior
Resulting dictionary should include {"F1train" : ....}. Nevertheless, it throws a KeyError
Environment

TorchMetrics version 1.4.0.post0

Additional context

This is also the case for the prefix parameter. This means that unfortunately most of the changes from #2330 aren't really usable :frowning_face: . I think that PR assumed that changes to the dictionary keys will affect the output, as in the case of MetricCollection, not the input.

@SkafteNicki what do you think about adding self.prefix and self.postfix member variables to the MultitaskWrapper and modifying MultitaskWrapper.keys() and MultitaskWrapper.items() to prepend/append them to the returned keys? I think that would fix the issue

@MihaiBabiac thank you for your feedback, I have check the sample code and looked to the implementation and so far it seems to me all is as expected, ref to the docs:
Args:
    prefix: a string to append in front of the metric keys
    postfix: a string to append after the keys of the output dict.

Could you pls elaborate on why would you be adding pre/postfix to the "metric's dictionary" which is not present in the key?

Hi @Borda, thanks for the reply.
I think a common scenario is to clone a metric collection or, in this case, the MultiTaskWrapper in order to have separate metric objects for training, test and validation, each of them using different names when logged to tensorboard. This works for the collection, but not for the wrapper.
The similarity to the MetricCollection is also what makes the prefix and postfix arguments confusing, because they have different implications. For the metric collection, they just affect the keys in the output dictionary, meaning that the clones can be applied to the same input data. But for the multitask wrapper they also make the wrapper extract different entries in the input dictionary, so trying to apply the clones to the same data is unlikely to work.
If it's unclear or would like to have an MRE, just let me know.

Hi @MihaiBabiac, thanks for raising this issue.
You are completely right that it is confusing that MetricCollection and MultitaskWrapper behaves in a different way. I have created PR #2722 that should fix this, making the prefix and postfix arguments work similar to how they work in MetricCollection

Sorry for answering back so late. It is, indeed, as @MihaiBabiac  points out
@Borda


Issues with preselected rows

Hi Allen,
Here is my selectRowWrap : selectRowProp = {
mode: "checkbox",
clickToSelect: true,
onSelect: this.onRowSelect,
bgColor: "#f5f5f5",
selected: this.selectedRowIds
};
When I don't use 'selected' flag everything works fine, however, once I have this flag, the checkbox is not getting checked on click. When I click the checkbox, close the modal and reopen it, previously clicked row gets selected. But then I am not able to do any further selection/de-selection.
Could you please help

if you use selectRow.selected props which mean you wanna control the selection by your react state or something, this is an example to show how it work, please make sure you used it correctly, thanks

This worked, thanks for the correction :)


Access Elastic UI via VPN

Hi, great solution!
Set up yesterday, working great.  I have a few sites linked via VPN and would like the elastic dashboards to be accessible from all of them.  Guessing I have to add the subnets to something (elasticsearch.yml?) to make them trusted.
Tried using a volume and the Docker cp command with no joy.  Any suggestions?  I can only access from the same site the install is on and not another, but I can ping the linux machine so it's not a VPN issue.
Thanks!
EDIT: found elasticsearch.yml but it only contains "cluster.name: "docker-cluster"" and "network.host: <IP_ADDRESS>".

Hi @mrrodge2020 . Sorry we missed this in getting back to you.
Can you explain the problem in a little more detail? I understand that accessing the LME Kibana instance is OK on some machines/domains but not others?

Hey @mrrodge2020, were you able to resolve your issue?
If you can only access the docker ports (elasticsearch, kibana, logstash, etc.) from the local subnet but the host is otherwise reachable then it's possible that you may be having an issue with Docker's default ingress network conflicting with a local subnet, which can result in this issue.
You can verify this by running the following command, and checking if the IPAM.Config.Subnet clashes with anything on your local network:
sudo docker network inspect ingress

If that is the case, then you should be to resolve this by modifying this value using the instructions available here. You will need to tailor this to your specific network, but something approaching the below is likely to get you started (making sure you customise it appropriately):
sudo docker stack rm lme
sudo docker network rm ingress
sudo docker network create --driver overlay --ingress --subnet <IP_ADDRESS>/16 --gateway <IP_ADDRESS> ingress
sudo docker stack deploy lme --compose-file /opt/lme/Chapter\ 3\ Files/docker-compose-stack-live.yml

Closing due to lack of activity.


Hyperfoil does not have an aarch64 image, build one...

Fixed:
podman run quay.io/karmkarm/hyperfoil:0.25.2
is multiarch now


Removing devtool option from webpack config is causing webgl errors in production

Hi,
Removing devtool:'eval' from extra-webpack.config.js (webpack configuration) for production release is causing webgl errors when using featureReduction property on FeatureLayer.
Errors in browser console:
WebGL: INVALID_ENUM: texImage2D: invalid type
WebGL: INVALID_ENUM: texSubImage2D: invalid type
Following is my initializeMap() method in esri-map.component.ts:
async initializeMap() {
const DEFAULT_WORKER_URL = "https://js.arcgis.com/4.15/";
const DEFAULT_LOADER_URL = `${DEFAULT_WORKER_URL}dojo/dojo-lite.js`;

esriConfig.workers.loaderUrl = DEFAULT_LOADER_URL;
esriConfig.workers.loaderConfig = {
  baseUrl: `${DEFAULT_WORKER_URL}dojo`,
  packages: [
    { name: "esri", location: `${DEFAULT_WORKER_URL}esri` },
    { name: "dojo", location: `${DEFAULT_WORKER_URL}dojo` },
    { name: "dojox", location: `${DEFAULT_WORKER_URL}dojox` },
    { name: "dstore", location: `${DEFAULT_WORKER_URL}dstore` },
    { name: "moment", location: `${DEFAULT_WORKER_URL}moment` },
    { name: "@dojo", location: `${DEFAULT_WORKER_URL}@dojo` },
    {
      name: "cldrjs",
      location: `${DEFAULT_WORKER_URL}cldrjs`,
      main: "dist/cldr"
    },
    {
      name: "globalize",
      location: `${DEFAULT_WORKER_URL}globalize`,
      main: "dist/globalize"
    },
    {
      name: "maquette",
      location: `${DEFAULT_WORKER_URL}maquette`,
      main: "dist/maquette.umd"
    },
    {
      name: "maquette-css-transitions",
      location: `${DEFAULT_WORKER_URL}maquette-css-transitions`,
      main: "dist/maquette-css-transitions.umd"
    },
    {
      name: "maquette-jsx",
      location: `${DEFAULT_WORKER_URL}maquette-jsx`,
      main: "dist/maquette-jsx.umd"
    },
    { name: "tslib", location: `${DEFAULT_WORKER_URL}tslib`, main: "tslib" }
  ]
};

// Configure the Map
const mapProperties = {
  basemap: this._basemap
};

const map = new Map(mapProperties);

const citiesRenderer = {
  type: "simple", // autocasts as new SimpleRenderer()
  symbol: {
    type: "simple-marker", // autocasts as new SimpleMarkerSymbol()
    size: 5,
    color: [0, 244, 255, 1]
  }
};
const featureReduction: any = {
  type: "cluster",
  clusterRadius: "100px",
  popupTemplate: {
    // cluster_count is an aggregate field indicating the number
    // of features summarized by the cluster
    content: "This cluster represents {cluster_count} earthquakes."
  },
  // You should adjust the clusterMinSize to properly fit labels
  clusterMinSize: "24px",
  clusterMaxSize: "60px",
  labelingInfo: [{
    // turn off deconfliction to ensure all clusters are labeled
    deconflictionStrategy: "none",
    labelExpressionInfo: {
      expression: "check: Text($feature.cluster_count, '#,###')"
    },
    symbol: {
      type: "text",
      color: "#004a5d",
      font: {
        weight: "bold",
        family: "Noto Sans",
        size: "12px"
      }
    },
    labelPlacement: "center-center",
  }]
}
const citiesLayer = new FeatureLayer({
  url: "https://services.arcgis.com/V6ZHFr6zdgNZuVG0/arcgis/rest/services/WorldCities/FeatureServer/0",
  renderer: citiesRenderer as any,
  definitionExpression: "adm = 'United States of America'",
  featureReduction: featureReduction
});
map.add(citiesLayer);

// Initialize the MapView
const mapViewProperties = {
  container: this.mapViewEl.nativeElement,
  center: this._center,
  zoom: this._zoom,
  map: map
};

this._view = new MapView(mapViewProperties);

// wait for the map to load
await this._view.when();
return this._view;

}
Thanks

Try updating to 4.17 or even better is switch over to using our ES modules build => https://github.com/Esri/jsapi-resources/tree/master/esm-samples/jsapi-angular-cli.
Reference: https://developers.arcgis.com/javascript/latest/guide/es-modules/

Try updating to 4.17 or even better is switch over to using our ES modules build => https://github.com/Esri/jsapi-resources/tree/master/esm-samples/jsapi-angular-cli.
 I was able to reproduce this with our ESM build running @arcgis/core 4.19.0-next.20210119. This is a larger issue within the JS API. I'll open a bug report.

 I was able to reproduce this with our ESM build running @arcgis/core 4.19.0-next.20210119. This is a larger issue within the JS API. I'll open a bug report.

Andy,
This seems to be an issue only with jsapi-angular-cli. FeatureLayer FeatureReduction works fine with webpack.
Also, I had to change the following lines in my code:
labelExpressionInfo: {
expression: "check: Text($feature.cluster_count, '#,###')"
}
to:
labelExpressionInfo: {
expression: "Text($feature.cluster_count, '#,###')"
}
--Thanks

Andy,
This seems to be an issue only with jsapi-angular-cli. FeatureLayer FeatureReduction works fine with webpack.
Also, I had to change the following lines in my code:
labelExpressionInfo: {
expression: "check: Text($feature.cluster_count, '#,###')"
}
to:
labelExpressionInfo: {
expression: "Text($feature.cluster_count, '#,###')"
}
--Thanks

Yep, thanks. We think there's a problem when using the JS API with Angular + webpack + terser when creating production builds. There's a compression variable setting in the terser library that's causing some functions to flatten during the uglify step and then the optimizer sets them to null.

Yep, thanks. We think there's a problem when using the JS API with Angular + webpack + terser when creating production builds. There's a compression variable setting in the terser library that's causing some functions to flatten during the uglify step and then the optimizer sets them to null.

@gamreddy to fix the WebGL errors try setting buildOptimizer: false in angular.json. We have it fixed for 4.19 (in April) but that setting will give you a temporary workaround.

@gamreddy to fix the WebGL errors try setting buildOptimizer: false in angular.json. We have it fixed for 4.19 (in April) but that setting will give you a temporary workaround.

Andy, build size has more than tripled with that setting.

Andy, build size has more than tripled with that setting.

An increase in on-disk size is expected. Did it affect the size of the initial API load in the app?

An increase in on-disk size is expected. Did it affect the size of the initial API load in the app?

Andy, size change in the initial API load seems negligible.

Andy, size change in the initial API load seems negligible.


Missing delete button for the Saved Dumps

I can't find anyway to deleted the Saved Dumps.
There is an obvious "bin" icon for clearing the outputs, but it is missing in the Saved Dump Window.

Fixed: https://github.com/laradumps/app/releases/tag/v3.3.5
To delete a record, right-click and click "remove"


issue #1443 solved

Pull Request Type
What kind of change does this PR introduce?
[y ] Solved an issue/task
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:
What is the current behavior?

Issue Number: [Insert Issue Number (if applicable)]
1443
What is the new behavior?

the sql query does the required task
Other information

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out our forkcommitmerge.io website repository. The repository contain real issues that you can help to resolve or create some of your own if you see any bugs or want to add new features to the site, etc. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!


Different printed results of running project

Godot version
4.0.dev.custom_build. 7c432c923
System information
Ubuntu 21.04 - Nvidia GTX 970, Gnome shell 3.38 X11
Issue description
This code
extends Node2D

func _ready() -> void:
	for i in range(200):
		var child: Node = ClassDB.instantiate("AnimatedSprite2D")
		child.set_name("Special Node " + str(i))
		add_child(child)

func _process(delta: float) -> void:
	var choosen_node = find_node("Special Node " + str(randi() % 200), true, false)
	print(choosen_node)

Should always print info about node which exists(tested on 3.x branch and always it worked fine)
When I tried to run this code with normal build of Godot, then I got this results(this is proper output)
[AnimatedSprite2D:30786192644]
[AnimatedSprite2D:30719083776]
[AnimatedSprite2D:29578233020]
[AnimatedSprite2D:29611787454]

but when I run project with Godot compiled with sanitizers support, then I got this output
[Object:null]
[Object:null]
[Object:null]
[Object:null]

Both compilation commands are equal(godot --version prints exactly the same hash for both apps), except of course using use_ubsan=yes and use_asan=yes, so I suspect that this may be problem with all applications which starts/works slower.
Steps to reproduce
Just run test project
Minimal reproduction project
rr.zip

Node::find_node received true for the third parameter p_owned in the sanitizers build. So it won't check unowned nodes, thus returning null.
When debugging, the argument decoded directly from argptrs[2] is correctly false. Maybe something went wrong in the method call process.
https://github.com/godotengine/godot/blob/60add98a4cff0d27c6aa2f52042555eccb86ed70/modules/gdscript/gdscript_vm.cpp#L1800

This may be caused by unitialized variable, log from valgrind:
==54821== Conditional jump or move depends on uninitialised value(s)
==54821==    at 0x5780462: RendererStorageRD::render_target_set_size(RID, int, int, unsigned int) (renderer_storage_rd.cpp:7126)
==54821==    by 0x590F9E5: RendererViewport::viewport_set_size(RID, int, int) (renderer_viewport.cpp:679)
==54821==    by 0x56C35C6: RenderingServerDefault::viewport_set_size(RID, int, int) (rendering_server_default.h:529)
==54821==    by 0x471A452: Viewport::_set_size(Vector2i const&, Vector2i const&, Rect2i const&, Transform2D const&, bool) (viewport.cpp:856)
==54821==    by 0x475C8F7: Window::_update_viewport_size() (window.cpp:653)
==54821==    by 0x475D5C9: Window::set_content_scale_mode(Window::ContentScaleMode) (window.cpp:806)
==54821==    by 0x2125537: Main::start() (main.cpp:2215)
==54821==    by 0x20E3648: main (godot_linuxbsd.cpp:57)
==54821==
==54821== Conditional jump or move depends on uninitialised value(s)
==54821==    at 0x20FC591: DisplayServerX11::process_events() (display_server_x11.cpp:2896)
==54821==    by 0x20E682F: OS_LinuxBSD::run() (os_linuxbsd.cpp:274)
==54821==    by 0x20E365B: main (godot_linuxbsd.cpp:58)
==54821==
==54821== Conditional jump or move depends on uninitialised value(s)
==54821==    at 0x46C61EE: Node::find_node(String const&, bool, bool) const (node.cpp:1288)
==54821==    by 0x46E9851: void call_with_ptr_args_retc_helper<__UnexistingClass, Node*, String const&, bool, bool, 0ul, 1ul, 2ul>(__UnexistingClass*, Node* (__UnexistingClass::*)(String const&, bool, bool) const, void const**, void*, IndexSequence<0ul, 1ul, 2ul>) (binder_common.h:254)
==54821==    by 0x46E6B25: void call_with_ptr_args_retc<__UnexistingClass, Node*, String const&, bool, bool>(__UnexistingClass*, Node* (__UnexistingClass::*)(String const&, bool, bool) const, void const**, void*) (binder_common.h:502)
==54821==    by 0x46E3980: MethodBindTRC<Node*, String const&, bool, bool>::ptrcall(Object*, void const**, void*) (method_bind.h:554)
==54821==    by 0x3191807: GDScriptFunction::call(GDScriptInstance*, Variant const**, int, Callable::CallError&, GDScriptFunction::CallState*) (gdscript_vm.cpp:1800)
==54821==    by 0x309075E: GDScriptInstance::call(StringName const&, Variant const**, int, Callable::CallError&) (gdscript.cpp:1491)
==54821==    by 0x60A49A1: ScriptInstance::call(StringName const&, Variant const&, Variant const&, Variant const&, Variant const&, Variant const&) (script_language.cpp:322)
==54821==    by 0x46BEA38: Node::_notification(int) (node.cpp:59)
==54821==    by 0x22F1AA3: Node::_notificationv(int, bool) (node.h:48)
==54821==    by 0x25C62D6: CanvasItem::_notificationv(int, bool) (canvas_item.h:164)
==54821==    by 0x4C9489A: Node2D::_notificationv(int, bool) (node_2d.h:37)
==54821==    by 0x608A4C4: Object::notification(int, bool) (object.cpp:841)
==54821==    by 0x46F45C4: SceneTree::_notify_group_pause(StringName const&, int) (scene_tree.cpp:839)
==54821==    by 0x46F26A5: SceneTree::process(float) (scene_tree.cpp:446)
==54821==    by 0x2128F17: Main::iteration() (main.cpp:2520)
==54821==    by 0x20E6847: OS_LinuxBSD::run() (os_linuxbsd.cpp:278)
==54821==    by 0x20E365B: main (godot_linuxbsd.cpp:58)
==54821==

This is where you call Node::find_node("name", true, false) from GDScript:
https://github.com/godotengine/godot/blob/60add98a4cff0d27c6aa2f52042555eccb86ed70/modules/gdscript/gdscript_vm.cpp#L1800
The argptrs here is an array of 3 elements, each element is a raw data pointer retrieved from the argument via VariantInternal::get_opaque_pointer:
https://github.com/godotengine/godot/blob/60add98a4cff0d27c6aa2f52042555eccb86ed70/modules/gdscript/gdscript_vm.cpp#L1785-L1788
For a bool variant, it returns a pointer to the underlying C++ bool object:
https://github.com/godotengine/godot/blob/60add98a4cff0d27c6aa2f52042555eccb86ed70/core/variant/variant_internal.h#L303-L304
https://github.com/godotengine/godot/blob/60add98a4cff0d27c6aa2f52042555eccb86ed70/core/variant/variant_internal.h#L116
You can see that ptrcall will use PtrToArg::convert to convert the raw pointer of argument to actual data.
https://github.com/godotengine/godot/blob/60add98a4cff0d27c6aa2f52042555eccb86ed70/core/object/method_bind.h#L550-L556
https://github.com/godotengine/godot/blob/60add98a4cff0d27c6aa2f52042555eccb86ed70/core/variant/binder_common.h#L500-L503
https://github.com/godotengine/godot/blob/60add98a4cff0d27c6aa2f52042555eccb86ed70/core/variant/binder_common.h#L252-L255
However, for a bool argument, PtrToArg will do the convert from or encode to process via a C++ uint32_t:
https://github.com/godotengine/godot/blob/60add98a4cff0d27c6aa2f52042555eccb86ed70/core/variant/method_ptrcall.h#L108
https://github.com/godotengine/godot/blob/60add98a4cff0d27c6aa2f52042555eccb86ed70/core/variant/method_ptrcall.h#L77-L79
basically doing an out of bound memory access:
bool convert(const bool *p_ptr) {
    // converting a pointer to bool to a pointer to uint32_t
    // then dereference the uint32_t pointer and convert it to bool
    return static_cast<bool>(*reinterpret_cast<const uint32_t *>(p_ptr));
}

When using a standard build, memory around the bool is initialized to zeros, so despite the fact that it reads out of bound, the arguments are still true and false:
(lldb) x/xw argptrs[1]
0x1213a3d08: 0x00000001
(lldb) x/xw argptrs[2]
0x1213a3d20: 0x00000000

When using a sanitizer build, unused memories are initialized to 0xBEs, so the result of PtrToArg::convert will both be true:
(lldb) x/xw argptrs[1]
0x60d0008900e8: 0xbebebe01
(lldb) x/xw argptrs[2]
0x60d000890100: 0xbebebe00

I can confirm the issue and the cause @timothyqiu found.
This issue can affects any function call with more than one bool. In some cases it can prevent move_and_collide to function properly, causing random bugs in physics.
https://docs.godotengine.org/en/stable/classes/class_kinematicbody2d.html#class-kinematicbody2d-method-move-and-collide
Changing this line in method_ptrcall.h solves the issue in my scenario:
- MAKE_PTRARGCONV(bool, uint32_t);
+ MAKE_PTRARG(bool);

Although it's probably not the right fix as it would likely cause problems in gdnative.


cmdbsyncer 3.7b2.13 failed to push to netbox 4.0.11 with "Cannot create Host"

unfortunately there is occuring another issue when executing ./cmdbsyncer netbox export_hosts [Netbox-Account]

seems to be connection was established from cmdbsyncer to netbox but getting response from netbox that a related object was not found, which should be normal as there are only 3 manually entered test-devices in netbox currently (should be entered as first dump from cmdbsyncer to netbox)

That's no bug, that is the missing configuration. You need to link the attributes you imported to Attributes the Syncer can either create or use in Netbox. It's described in: https://cmdbsyncer.readthedocs.io/en/latest/netbox/ header: Fields witch need reference. The Last line of the Error shows the Problem returned from Netbox. Netbox complains that there is no Device Type with ID 1 which is the Fallback ID, if no configuration is Missing. It would be the first Device Type you created manually in Netbox if you don't want them created by Syncer.


hoverSound and pressSound won't work

Hi, I'm having issues making the hoverSound and pressSound working..
I tried everything : changing the path in the file, old 1.7.10 tutorial on youtube, mp3, ogg, nothing seems to work, it just removes the basic minecraft sound (the button makes no sound)
here's my config :
"buttons":
{
	"tanya":
    {
        "text" : "",
        "posX" : -100,
        "posY" : 48,
        "width" : 200,
        "height" : 20,
	    "imageWidth" : 606,
        "imageHeight" : 69,
        "hoverSound" : "modpack:sounds/gunload.ogg",
        "pressSound" : "modpack:sounds/gunfire.ogg",
        "texture" : "modpack:textures/tanya.png",
        //"tooltip" : "Paré au combat !",
        "action" :
        {
            "type" : "connectToServer",
            "ip" : "<IP_ADDRESS>"
        }
    },

``

might require a json file to explicitly state the sound action in custom main menu, take mine for example.
File Structure
└───resources
    └───menu
        ├───sounds.json
        └───sounds
            └───click.ogg
            └───hover.ogg

in sounds.json
{
	"click": {"sounds": ["click"]},
	"hover": {"sounds": ["hover"]}
}

then my buttons in the mainmenu configs have it set as shown
https://hasteb.in/pohavecu.json

Alright, still as you can see it's not working :/
https://github.com/lumien231/Custom-Main-Menu/issues/341#issuecomment-565906078

add a pack.mcmeta file to the resources folder with this in the file
{"pack":{"pack_format":3,"description":"B.A.S.E External Resources"}}

put the sounds folder and json from modpack in there own folder in resources as menu just the same as the structure i listed

I appreciate the help, but I'm sorry to tell you that's it's still not working :(
I did everything as you told me :

is ResourceLoader installed by chance?

Of course, my custom main menu is working, custom textures are showing, and my custom background too

It removes the button sound, but it won't play my custom sounds :/

up :(

up

im actually curious about this, i assume you use discord yes?

Yes
Kinji#7352

Was a fix ever found?

I'm curious as well, was a fix ever found? running into the same problem myself, though I'm sure I'm missing something small

Having the same issue any solutions?

Having the same issue any solutions?

https://github.com/lumien231/Custom-Main-Menu/issues/205


Question: When app terminate (Close) the incoming call can't showing  userid and avatar?

Question: When app terminate (Close) the incoming call can't showing  user id and avatar?
https://drive.google.com/file/d/1HiL9xHOggOyRvoAJY-QVAlAarZ-7VtRF/view?usp=sharing
Thanks

Not currently, you would need to customize the android code to do it.

Question: When app terminate (Close) the incoming call can't showing user id and avatar? https://drive.google.com/file/d/1HiL9xHOggOyRvoAJY-QVAlAarZ-7VtRF/view?usp=sharing
Thanks

See https://github.com/diegogarciar/twilio_voice/issues/51#issuecomment-962003085

Feature in development, will be released on next update
See #51 (comment)

Check out #151 merged

See release 0.1.0


Add ability to dump test, train and val sets to .csv files as part of ML model training

We currently use Torch Datasets to iterate through our training data (as we should), but it would be nice to have a convenience method to dump the splits to CSV's that we can then re-use down the track.
Either myself or @kaminow to tackle.

Needed for #1224


Kindle Link is broken

See title. The link takes me to a Bing page introducing "the new Bing".

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

ID: 552cf4bf-553b-d7f4-adc6-7e696029c18b
Version Independent ID: 67f96253-4908-3f85-fd2f-07563d1b4f7b
Content: Creating Mobile Apps with Xamarin.Forms book - Xamarin
Content Source: docs/xamarin-forms/creating-mobile-apps-xamarin-forms/index.md
Product: xamarin
Technology: xamarin-forms
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Microsoft support for Xamarin will end on May 1, 2024 for all Xamarin SDKs including Xamarin.Forms. In preparation for this, all issues and PRs in this repository are being closed.
.NET MAUI is the replacement for Xamarin.Forms, and it's documentation can be found here.


[Bugfix] Work around "Internal Compiler Error" in MSVC

This PR found a workaround that prevents the nigthly windows pypi package of TVM Unity to be released. Basically it splits out a deeply nested method into several smaller ones so that MSVC's internal handling is supposed to be slightly simpler and less error prone.

Cherry-picked from https://github.com/mlc-ai/relax/pull/271


blink: Did not receive valid response from server.

not sure if this is a real error or not, shows up on every login

it seems like the server is complaining after too many authentications, this is an intermittent failure

appears to be a 2fa error:
Did not receive valid response from server.
Traceback (most recent call last):
  File "C:\github\ThermostatSupervisor\..\blinkpy\blinkpy\auth.py", line 243, in send_auth_key
    blink.available = json_resp["valid"]
                      ~~~~~~~~~^^^^^^^^^
KeyError: 'valid'

DEBUG: response=<Response [401]>, type=<class 'requests.models.Response'>

I tried both the key sent via text and one sent in 2021 via email, both as string and int, none worked.  This error does not seem to prevent access to the cameras.

error seems to be legitamite authorization issue, here's verbose traceback:
Did not receive valid response from server.
Traceback (most recent call last):
  File "C:\github\ThermostatSupervisor\..\blinkpy\blinkpy\auth.py", line 219, in send_auth_key
    blink.available = json_resp["valid"]
                      ~~~~~~~~~^^^^^^^^^
KeyError: 'valid'

DEBUG: response=854590, type=<class 'str'>
DEBUG: response=<ClientResponse(https://rest-u043.immedia-semi.com/api/v4/account/241134/client/581123/pin/verify) [401 Unauthorized]>
<CIMultiDictProxy('Content-Type': 'application/json', 'Content-Length': '44', 'Connection': 'keep-alive', 'Date': 'Tue, 07 Nov 2023 12:24:15 GMT', 'Client-Verified': '0', 'Server': 'nginx + Phusion Passenger(R)', 'Status': '401 Unauthorized', 'X-Blink-Served-By': 'i-0ec8cf8179e13aa5a', 'X-Content-Type-Options': 'nosniff', 'X-Powered-By': 'Phusion Passenger(R)', 'X-Cache': 'Error from cloudfront', 'Via': '1.1 02b00a121cd210844e6b946bc2d15b26.cloudfront.net (CloudFront)', 'X-Amz-Cf-Pop': 'MSP50-C2', 'X-Amz-Cf-Id': 'me1WNJiugQgXUGAIiKf9NbXQtov5xnr0OlJB0fwhRlx7WYEiR5xM4w==')>
, type=<class 'aiohttp.client_reqrep.ClientResponse'>
zone: 8, name: 8, temp: None

this issue may be related to https://github.com/fronzbot/blinkpy/issues/418 however that ticket claims that the 2FA validation was fixed by blink at some point, I'm still seeing bad 2FA NOT preventing access to camera data.
I tried multiple 2FA codes and none of them are being accepted by blink.  This is a nuisance error message at this point.


Remove server worker registration from default templates

Service workers and other PWA functionality has moved into its own custom templates: https://github.com/cra-template/pwa
Since the default templates are only used for new applications, leaving the service worker unregister call in place is unnecessary.

Great, thanks @iansu!


Merge-Mailboxfolder Impersonation error

Hi David,
Thanks for creating this script to move mails from mailbox to mailbox.
I have tried using this but encountered the errors below:
Merge-MailboxFolder.ps1 version 1.1.9 starting
VERBOSE: Loading Microsoft.Exchange.WebServices.dll vSystem.Object[] found at: System.Object[]
Using EWS Managed API found at: C:\Program Files\Microsoft\Exchange\Web Services\2.2\Microsoft.Exchange.WebServices.dll
Processing mailbox<EMAIL_ADDRESS>VERBOSE: Using default credentials
VERBOSE: Currently caching 1 ExchangeService objects
VERBOSE: [ThrottledFolderBind]Attempting to bind to folder MsgFolderRoot<EMAIL_ADDRESS>Error (ThrottledFolderBind): Exception calling "Bind" with "3" argument(s): "The request failed. The remote server retur
ned an error: (401) Unauthorized."
VERBOSE: FAILED to bind to folder MsgFolderRoot<EMAIL_ADDRESS>Failed to open source message store<EMAIL_ADDRESS>Please check that you have impersonation permissions
I have confirmed that the user running has ApplicationImpersonation rights.
Is there any other place that I should check?

Is this against Exchange Online?  What parameters are you using when calling the script?  Unauthorized means just that, so it's just a case of working out why.  For Exchange Online, if MFA is enabled on a mailbox then you'd need to use OAuth to log-on (and would get an auth error otherwise).

Hi David,
Thanks for replying.
This is against on prem Exchange 2013.
The parameters that I am using are
.\Merge-MailBoxFolder.ps1 -sourcemailbox<EMAIL_ADDRESS>-targetmailbox<EMAIL_ADDRESS>-mergefolderlist inbox,"sent items" -searchfilter received:$archivedate -processsubfolders -EWSUrl "https://mail.test.com/EWS/Exchange.asmx" -createtargetfolder -LogFile $log -impersonate -verbose
This is run using an archive user who has impersonation rights.
I have checked by trying to login as the archive user to the target mailbox and it works.
No MFA is turned on.


Invalid syntax at line 88 app.py

So far so good, running Ubuntu 16.04 with python 3.5.2 (troubleshooting issues updating to 3.6). When i run app.py from the /moa user directory, i get the following syntax error.  Some googling has not turned up a simple solution yet.
(.moa-venv) who@where:~/moa$ python app.py
  File "app.py", line 88
    app.logger.debug(f"Existing settings found: {enabled} {settings.__dict__}")
                                                                             ^
SyntaxError: invalid syntax

so, if there are multiple versions of python, you need to specivf the version. in this case the fix is to running the command as follows
python3.6 app.py

spoke too soon. Got passanger up and going, moved the moa files to /var/www/moa, and python updated to 3.6.  I enabled the debug pages and have the following information, pointitng to line 88 again.
Error:
Web application could not be started
Error ID:
3b36c8b3
Details:
An error occurred while starting the web application. It exited before signalling successful startup back to Phusion Passenger. Please read this article for more information about this problem.
Raw process output:
Traceback (most recent call last):
  File "/usr/share/passenger/helper-scripts/wsgi-loader.py", line 328, in <module>
    app_module = load_app()
  File "/usr/share/passenger/helper-scripts/wsgi-loader.py", line 62, in load_app
    return imp.load_source('passenger_wsgi', startup_file)
  File "/usr/lib/python3.5/imp.py", line 172, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 693, in _load
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 665, in exec_module
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "/home/retoot/moa/passenger_wsgi.py", line 2, in <module>
    from app import app as application
  File "/home/retoot/moa/app.py", line 88
    app.logger.debug(f"Existing settings found: {enabled} {settings.__dict__}")
                                                                             ^
SyntaxError: invalid syntax

System information:
Application root
/home/retoot/moa
Environment (value of RAILS_ENV, RACK_ENV, WSGI_ENV, NODE_ENV and PASSENGER_APP_ENV)
production
User and groups
uid=1000(retoot) gid=1000(retoot) groups=1000(retoot)
Environment variables
SHELL=/bin/bash
PASSENGER_DEBUG_DIR=/tmp/passenger.spawn-debug.XXXXecEL93
USER=retoot
PASSENGER_USE_FEEDBACK_FD=true
PWD=/home/retoot/moa
SHLVL=0
HOME=/home/retoot
LOGNAME=retoot
SERVER_SOFTWARE=nginx/1.12.2 Phusion_Passenger/5.2.3
IN_PASSENGER=1
PYTHONUNBUFFERED=1
NODE_PATH=/usr/share/passenger/node
RAILS_ENV=production
RACK_ENV=production
WSGI_ENV=production
NODE_ENV=production
PASSENGER_APP_ENV=production
MOA_CONFIG=config.ProductionConfig
Ulimits
Unknown
System metrics
------------- General -------------
Kernel version    : 2.6.32-042stab120.11
Uptime            : 30m 16s
Load averages     : 0.08%, 0.12%, 0.05%
Fork rate         : unknown

------------- CPU -------------
Number of CPUs    :    4
Average CPU usage :   0%  --   0% user,   0% nice,   0% system, 100% idle
  CPU 1           :   0%  --   0% user,   0% nice,   0% system, 100% idle
  CPU 2           :   0%  --   0% user,   0% nice,   0% system, 100% idle
  CPU 3           :   0%  --   0% user,   0% nice,   0% system, 100% idle
  CPU 4           :   0%  --   0% user,   0% nice,   0% system, 100% idle
I/O pressure      :   0%
  CPU 1           :   0%
  CPU 2           :   0%
  CPU 3           :   0%
  CPU 4           :   0%
Interference from other VMs:   0%
  CPU 1                    :   0%
  CPU 2                    :   0%
  CPU 3                    :   0%
  CPU 4                    :   0%

------------- Memory -------------
RAM total         :   2048 MB
RAM used          :    236 MB (12%)
RAM free          :   1811 MB
Swap total        :      0 MB
Swap used         :      0 MB (-nan%)
Swap free         :      0 MB
Swap in           : unknown
Swap out          : unknown

Hi, yes you're correct moa does actually require python 3.6 because of the use of f-strings. In the stack trace above it appears you're still running under 3.5.


Typos on the library setup page

Thanks @dandv, this has been flagged for quick fix!

Hey there, this managed to fall between the cracks, sorry. It's been fixed now, and will go into production soon.


Warning: Unable to create restoration in progress marker file

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

Create a flutter app (flutter create flutter_app)
flutter run (target: iphone 14Pro / iOS 16.6.1)
Check that this warning is logged:

Warning: Unable to create restoration in progress marker file

Note: This happens only if the app is installed from scratch
Expected results
No warning should be displayed
Actual results
This warning is displayed after the flutter app is installed:
Warning: Unable to create restoration in progress marker file

Code sample
Code sample
flutter create flutter_app
flutter run

Screenshots or Video

Screenshots / Video demonstration
https://github.com/flutter/flutter/assets/11681325/6057e7a3-71f1-4a9c-9664-5271fa240a81

Logs
Logs
Warning: Unable to create restoration in progress marker file

Flutter Doctor output
Doctor output
[✓] Flutter (Channel master, 3.14.0-14.0.pre.181, on macOS 13.5 22G74 darwin-arm64, locale en-US)
    • Flutter version 3.14.0-14.0.pre.181 on channel master at /Users/diegogawenda/fvm/versions/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d73e1b69f7 (2 hours ago), 2023-09-08 13:43:20 -0400
    • Engine revision 47a79306ee
    • Dart version 3.2.0 (build 3.2.0-134.0.dev)
    • DevTools version 2.27.0

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/diegogawenda/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/diegogawenda/Library/Android/sdk
    • ANDROID_SDK_ROOT = /Users/diegogawenda/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.80.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.70.0

[✓] Connected device (3 available)
    • Somnio’s iPhone (mobile) • 00008120-001168D83C87C01E • ios            • iOS 16.6.1 20G81
    • macOS (desktop)          • macos                     • darwin-arm64   • macOS 13.5 22G74 darwin-arm64
    • Chrome (web)             • chrome                    • web-javascript • Google Chrome 116.0.5845.179

[✓] Network resources
    • All expected network resources are available.

Same warning is returned for flutter stable branch:
[✓] Flutter (Channel stable, 3.13.3, on macOS 13.5 22G74 darwin-arm64, locale en-US)
    • Flutter version 3.13.3 on channel stable at /Users/diegogawenda/fvm/versions/stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision<PHONE_NUMBER> (2 days ago), 2023-09-06 14:32:31 -0700
    • Engine revision b8d35810e9
    • Dart version 3.1.1
    • DevTools version 2.25.0

+1

+1
IPhoneX 15.3.1

Looks like this has been showing up (at least sometimes) in logs that have been captured for other issues, but never explicitly filed. This may be something we can avoid by adjusting the Runner template.

Any solutions for this issue?

The same happens to me as well. This is the log after building for debug:
Xcode build done.                                           41.5s
(lldb) 2023-10-16 11:24:21.801567+0200 Runner[12626:8828819] Warning: Unable to create restoration in progress marker file
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x0000000000000000
error: memory read failed for 0x0
Target 0: (Runner) stopped.
Error launching application on iPhone de KMP.
Exited

flutter doctor -v

```
[✓] Flutter (Channel stable, 3.7.11, on macOS 14.0 23A344 darwin-arm64, locale en-ES)
    • Flutter version 3.7.11 on channel stable at /Users/ericaig/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f72efea43c (6 months ago), 2023-04-11 11:57:21 -0700
    • Engine revision 1a65d409c7
    • Dart version 2.19.6
    • DevTools version 2.20.1
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
• Android SDK at /Users/ericaig/Library/Android/sdk
• Platform android-33, build-tools 33.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15A240d
• CocoaPods version 1.13.0
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2022.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
[✓] VS Code (version 1.83.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.74.0
[✓] Connected device (3 available)
• iPhone de KMP (mobile) • 00008020-00097D420EB8003A • ios            • iOS 16.6.1 20G81
• macOS (desktop)        • macos                     • darwin-arm64   • macOS 14.0 23A344 darwin-arm64
• Chrome (web)           • chrome                    • web-javascript • Google Chrome 118.0.5993.70
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!
</div>
</details>

The same happens to me as well. This is the log after building for debug:
Xcode build done.                                           41.5s
(lldb) 2023-10-16 11:24:21.801567+0200 Runner[12626:8828819] Warning: Unable to create restoration in progress marker file
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x0000000000000000
error: memory read failed for 0x0
Target 0: (Runner) stopped.
Error launching application on iPhone de KMP.
Exited

flutter doctor -v

[✓] Flutter (Channel stable, 3.7.11, on macOS 14.0 23A344 darwin-arm64, locale en-ES)
    • Flutter version 3.7.11 on channel stable at /Users/ericaig/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f72efea43c (6 months ago), 2023-04-11 11:57:21 -0700
    • Engine revision 1a65d409c7
    • Dart version 2.19.6
    • DevTools version 2.20.1
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
• Android SDK at /Users/ericaig/Library/Android/sdk
• Platform android-33, build-tools 33.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15A240d
• CocoaPods version 1.13.0
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2022.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
[✓] VS Code (version 1.83.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.74.0
[✓] Connected device (3 available)
• iPhone de KMP (mobile) •xxxxxxxx • ios            • iOS 16.6.1 20G81
• macOS (desktop)        • macos                     • darwin-arm64   • macOS 14.0 23A344 darwin-arm64
• Chrome (web)           • chrome                    • web-javascript • Google Chrome 118.0.5993.70
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!

I also get the same problem
Xcode build done.                                           25.3s
(lldb) 2023-10-17 13:02:56.524200+0300 Runner[872:26838] [VERBOSE-2:FlutterDarwinContextMetalImpeller.mm(37)] Using the Impeller rendering backend.
Warning: Unable to create restoration in progress marker file
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x0000000000000000
error: memory read failed for 0x0
Target 0: (Runner) stopped.
Installing and launching...

And the app stops running

Any workaround or solution? This is happening to me on app in the store! Its' been crazy

For me, the issue was due to the connectivity_plus dependency. I had to update to version 5.0.0 and change min iOS version to 12.

For me, the issue was due to the connectivity_plus dependency. I had to update to version 5.0.0 and change min iOS version to 12.

Thanks!, for me it was the same also.

This doesn't work for me. I created a new flutter app from scratch and still the same error. No additional packages installed. And I also set the min version to 12 as suggested

same problem for me

For me, the issue was due to the connectivity_plus dependency, too.
It works after update the version to 5.0.0, but I didn't change the min version to 12 (I'm using 14).
@amucunguzi thank you so much!
You save me time!

For me, the issue was due to the connectivity_plus dependency. I had to update to version 5.0.0 and change min iOS version to 12.

Thanks a lot, it's worked for me.
I only update connectivity_plus without changing the min verison of ios(13.0).


sdp not working in H264 high profile

when use base line(42e01f), it works fine.
but when change profile-level-id to '64001f'(high profile), it does‘t work anymore。
I change sdp format like offer format at my local， it works fine.
could you please help to update sdp format just like the origin offer format?😊

you could try to match the grammar for a=fmtp lines (which i assume you are referring to with profile-level-id).
code for it is here: https://github.com/clux/sdp-transform/blob/024554260bd7a732ae5b2e04dad0fc18cd624ab9/lib/grammar.js#L66-L73

additional, can i adjust the order by configuring options?

this library is not particularly smart about order.
we just write out the order we see get the various a-lines in
https://github.com/clux/sdp-transform/blob/master/lib/writer.js#L52-L59
i don't think it's something anything on a receiving end should care about?

this library is not particularly smart about order. we just write out the order we see get the various a-lines in https://github.com/clux/sdp-transform/blob/master/lib/writer.js#L52-L59
i don't think this is something any receiving side should care about tho?

gotcha～ thanks alot！


Add a custom time picker

Find a time picker component that works well with all supported languages, or can be sufficiently configured to the same effect. This should replace the current browser default time input.

Try this:
https://element-plus.org/en-US/component/time-picker.html

@LoryPelli It's not part of the Mantine component library which the new design is based on, and it also has no support for 12 hour clocks nor any localization from what I can tell.

@DJDavid98 So you are searching only elements of the mantine library?

Ideally yes, either that or implement my own based on what they have, once I have the time.

It would certainly be nice if I could use 24-hour format for my input instead of having to convert to 12-hour format manually.

If you are using the English version of the site, you can use the "English, UK" language option to get a 24 hour clock input with custom inputs enabled. If that option is disabled the input is based on your browser language, so you can switch to the "English (United Kingdom)" language in your browser settings to have a 24-hour format input instead,


Resolve the circular dependency instead of throwing a stackoverflow exception?

For example, currently, when dependency A and dependency B depend on each other, this tool will throw a stackoverflow exception.  As far as I know, the gradle will resolve it automatically by ignore the dependencies of one of A and B. Should this tool resolve the circular dependency like gradle or any other ways? Any suggestions?

I think it should error but nicely. Users should be instructed they can add an exclude to fix it.


previous task can not auto close

When I set the option:
"presentation": {
"panel": "new"
}
"console": "integratedTerminal",
It can create new terminal window. But the previous terminal window can not be auto closed. Then the previous task state changed to running and it's refresh icon running around. That confuse me! It let me think as two tasks are running at the same time. But actually only the new task is running.
VS Code version: Code 1.70.2 (e4503b30fc78200f846c62cf8091b76ff5547662, 2022-08-16T05:35:13.448Z)
OS version: Windows_NT x64 10.0.19041

not sure what you mean, could you pls provide a gif?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


feat(extension.js) Support for deleting game files

With this commit one can now remove a file from the game via context menu and command pallet.
I also hooked up the file watcher so that it also removes deleted files from the game.
On my local manual testing it worked with the context menu,
with the command pallet and it worked with the file watcher automatically.
Feedback and additional testing by others is more than welcome.
Forgive for not providing a semantic version number in the commit message. Was not sure which digit should be incremented.

Further testing revealed a problem with my implementation for deletion. If the file watcher is on then an error message is shown to the user. It says the file could not be deleted. But the file is deleted in the game !
Reason: The SystemFileWachter provided by the vscode API always fires twice on the deletion. Debugging showed that the filewatcher also fires more than once on changing a file.
The problems with deletion is that the API-Server returns an error response with the message "No such file exists" for the 2. deletion of the file in the game.
Possible Solution in my Opinion:

Ignoring the server error message so the user does not see an error message for the 2. deletion.
Using a different file watcher which does not report several times for a file change/deletion. On stack overflow there was mentioned chokidar which supposed to fix this problems.
Others ones i can not think of ...

I found a workaround. The second  delete request, caused by the repeated call of the FileSystemWatcher for the deletion of the same file, can be detected. In this case the API-Server returns a json response with the property msg === "No such file exists ".
If this happens then no error message is shown. All other error cases from the API-Server should still be shown to the user.
This solution feels dirty to me. But it the best which I can come up with. Suggestion for more elegant solutions are welcome.


make metrics from carbon-cache go via relay config

This is necessary for any hashed sharding setup: The cache will write metrics to its local cache, not to the correct cache for the hashing scheme. This means only datapoints synced to disk are available. Worse, in a highly available setup, metrics differ depending on which node you happen to be fetching from.

This obviously isn't an ideal patch, as it requires a valid relay config to exist in the cache. Our solution is to set up the relay to submit to the HA router port, hence the ConstantRouter in the solution. This is obviously optional, but might be useful for other reasons.
Probably this should be a config option, something like CACHE_METRICS_VIA_RELAY = False.

Update just splits out the ConstantRouter.

@bucko909 : tests should be amended for changed behaviour, could you please amend it? Thanks!

I can do, but I think I need agreement on what the changed behaviour should be -- what's here cannot be shipped as it'll break existing configs.
"Proper" approaches are:

Simply to require a default-off config setting to enable this behaviour, though it'll then remain as a trap for anyone who tries to set up a HA setup and doesn't thoroughly read the config file. Perhaps it can emit a warning if there are multiple instances configured but this setting is turned off?
Have the cache read the relay section of the config file and copy the relay's submission behaviour. Obviously this is quite confusing, as the cache won't work without the relay configured, and it'll probably break single-pipeline setups (which don't need this anyway).

I'll submit a patch with the former behaviour and a warning for now; you can decide if that's appropriate. The tests will then work fine if I do this, though you may also want to require a test for the new behaviour. I'll see if I can get one to work.

I've added the setting and some warnings in the config file. I'm not sure it'd be possible to add a warning about configuration easily, because one daemon needs to warn depending on another's config, which isn't really in the design spec of the configuration's loader.
Some caveats:

This is untested in its current configuration, though hopefully clearly won't break any existing installation. I'll be back at work next week and can probably test this more thoroughly on one of our live deployments then, though I've had an extended absence so it's unlikely to be my first priority.
The test for ConstantRouter is a bit of a hack. I think realistically I should probably just remove it -- it's equivalent to any hashing approach with REPLICATION_FACTOR = len(DESTINATIONS) anyway. I think my adding it was simply misguided.

Let me know if you think this is reasonable.


Change frontend instance type to t3.large

This was t2.medium and could not cope with an increase in worker procs
imposed by platform health.

Switched to t3 for testing purposes as well

solo: @schmie

This has been applied to AWS Staging. And now Integration. Merging.


Run istio containers in priviledged mode

Why privileged mode? We just need it for testing, right?

There is no guarantee envoy will no longer crash in the future, and while we are still in development mode, it is important to enable core dumps and get our hands on the core files.

Do we only need privileged mode to set kernel.core_pattern? If so, can we achieve the result via init-container and modified prepare_proxy.sh (and adding equivalent for non-side car proxy deployments?).

I don't think we should be using elevated security in our examples (demo or here). A catastrophic failure of Envoy should be dealt with health checking and whole pod termination. Maybe add a debug variable to the template so it's clear that it's purely for debugging.

Jenkins job manager/presubmit passed

Will change prepare_proxy.


A11y improvements reported by lighthouse

Some further improvements could be made around accessibility according to lighthouse around contrast and navigability.
Extract from report:
Contrast

These are opportunities to improve the legibility of your content.

Background and foreground colors do not have a sufficient contrast ratio.

Low-contrast text is difficult or impossible for many users to read. Learn more.

Failing Elements

I'm Tom Anderson, and this is my personal site. Have a look around!

I'm Tom Anderson, and this is my personal site. Have a look around!

Tom

Tom

Please use the address below.

Please use the address below.

<EMAIL_ADDRESS>
<a class="bg-gray-200 hover:bg-gray-300 font-semibold text-xl text-gray-600 rounded border border-gray-500 inline-block px-4 py-2 my-4 shadow"<EMAIL_ADDRESS>class="fas fa-envelope-open-text mr-2"<EMAIL_ADDRESS>
<EMAIL_ADDRESS>
<a href="mailto:me<EMAIL_ADDRESS>
Please use LinkedIn for any professional queries and for anything else, please …

Please use LinkedIn for any professional queries and for anything else, please use my email.

LinkedIn

LinkedIn

Commits 3216ad493f7fe6360f90de8818b6cb6e9cd607ba and 6fe46e73d5d9cddf12f292b9d3bd086912268d07 should help this. Will retest and review.

Original issues fixed with page consolidation and UI refresh. Issues remain:
"Heading elements are not in a sequentially-descending order" - For the "Me", "The Code" and "The Site" titles.
Changing "Some of my work" to a H2 should resolve, even if we need to override the text size.


initial_prompt support?

Does it have initial_prompt support?
we use this a lot.

like this: https://github.com/openai/whisper/discussions/963
$ whisper --help
optional arguments:
--initial_prompt INITIAL_PROMPT
optional text to provide as a prompt for the first window. (default: None)
$ whisper-ctranslate2 --help
optional arguments:
--initial_prompt INITIAL_PROMPT
optional text to provide as a prompt for the first window. (default: None)

Yes, currently for batch size 1:
from transformers import WhisperProcessor, WhisperForConditionalGeneration
from datasets import load_dataset

dataset = load_dataset("hf-internal-testing/librispeech_asr_dummy", "clean", split="validation")
input_speech = dataset[3]["audio"]["array"]

processor = WhisperProcessor.from_pretrained("distil-whisper/distil-large-v2")
model = WhisperForConditionalGeneration.from_pretrained("distil-whisper/distil-large-v2")
input_features = processor(input_speech, return_tensors="pt").input_features

# --- Without prompt ---
output_without_prompt = model.generate(input_features)
print(processor.decode(output_without_prompt[0]))
# <|startoftranscript|><|en|><|transcribe|><|notimestamps|> He has grave doubts whether Sir Frederick Leighton's work is really Greek after all, and can discover in it but little of Rocky Ithaca.<|endoftext|>

# --- With prompt ---
# Let's change the spelling of "Leighton" -> "Layton" by passing it as a prompt
prompt_ids = processor.get_prompt_ids("Layton")
output_with_prompt = model.generate(input_features, prompt_ids=prompt_ids)
print(processor.decode(output_with_prompt[0]))
# <|startofprev|> Layton<|startoftranscript|><|en|><|transcribe|><|notimestamps|> He has grave doubts whether Sir Frederick Layton's work is really Greek after all, and can discover in it but little of Rocky Ithaca.<|endoftext|>

I'll generalise this for batch size N upstream in Transformers!

THIS IS AWESOME!!!!!!!!!!!!!!!!!!!  YOU ROCK!!!!!!!!!!!!!!!!!!!!
SO PERFECT!!!!!!!!!!!!!!!!!!!

take your time, this is so cool we will start testing with it now.

Question: for larger audio files, do we need to split it up into 30 second chunks?


Suggested addition of a grammar check switch

First of all, thank you so much for giving us such a great experience.
The fly in the ointment, however, was that when I tried to write nodejs, there was a problem with the syntax. Some of the built-in methods and functions have a red slider.
It is precisely because of the software to make recommendations, I hope you can read after adding a grammar detection switch.
This way, no matter what language I write, no matter whether the code I write is supported by the editor, it will be written properly.
Code that writes in an unsupported language will not have a red wavy-style slide. This really affects the user experience.
Of course, if your program already has this feature, please let me know. Thanks again!

Oh, i now.
Its here: Settings - Editor - ErrorHeighlighting