Create ADMozaikLayout in xib or Storyboard

It would be great to have posibility to create ADMozaikLayout from xib or Storyboard.
Now, we have init?(coder aDecoder: NSCoder) but then we are not able to set up correctly rowHeight and columns.

Hi @radekwilczak it would be a good addition. I will try to take a look on it soon. Also I encourage you to submit a PR with this enhancement, this would be awesome 😄

IMHO the simple solution is to make geometryInfo's setter public.

@radekwilczak the new release 3.1.0 is out 🚀


CN-18812 Bring forward Appian patches to 9.0.x branch

Rebases all patches, removing build script, as its not working anymore, and can be replaced with just an ant call
https://issues.appian.com/browse/CN-18812

@fluetm FYI, if you want to look at this rebasing of the patches. we are bringing forward 3/4 commits. dropping out only the docker build as it doesnt work anymore, and ant compile is easy enough now


Improve code quality of installation scripts

Codecov Report

Merging #3 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master       #3      +/-   ##
==========================================
- Coverage   35.83%   35.82%   -0.02%
==========================================
  Files         114      114
  Lines       33246    33246
==========================================
- Hits        11915    11910       -5
- Misses      21331    21336       +5

Impacted Files
Coverage Δ

dynadjust/dynadjust/dnageoid/dnageoid_ext.hpp

...ynadjust/include/measurement_types/dnadistance.cpp

...nadjust/include/measurement_types/dnadirection.cpp

dynadjust/dynadjust/dnareftran/dnareftran.cpp

dynadjust/include/parameters/dnaellipsoid.hpp

dynadjust/include/io/dnaiomap.cpp

dynadjust/include/io/dnaiobst.hpp

...adjust/dynadjust/dnaplotwrapper/dnaplotwrapper.cpp

...djust/include/measurement_types/dnagpsbaseline.cpp

...t/dynadjust/dnaadjustwrapper/dnaadjustprogress.cpp

... and 218 more

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 5f07da1...1853dba. Read the comment docs.


configurable label and description predicate precedence, configurable…

… metadata prefixes
resolves #56, resolves #57, resolves #58

Coverage increased (+0.6%) to 91.071% when pulling 63a7c37735a093fd9f773bab1006dfc91b5f9a19 on configurable-metadata into 0336ffa66c72e870b5b96249d0a9fd857892fca2 on master.


fixed the attention and default model config

Hi @terrykong
I have fixed TE flash attention and default model's quantize_kvcache config. This should work for the upstream version.

Hi @terrykong , the build and tests are now working. Please take a look

Looks like I'm not able to merge, I'll try again later, but if someone beats me to it, please give it a try!

I see the same error when trying to merge.

Thanks @olupton !


New package versions in METADATA are not propagated into the registry

As Chris (and others) have mentioned, the registry is currently broken. New package versions are not installable. I noticed this with MusicManipulations which was tagged days ago but still not installable on Travis or anywhere else. Other authors, e.g. DiffEq, Measurements.jl have the same problem.

P.s.: If this is an easy fix, I would sooooo much appreciate it being done before Wednesday. A DynamicalSystems.jl introductory video is broadcasted in the official JuliaLang youtube channel, and it would be kind of bad for users to not be able to install the latest versions (which have some crucial fixes).

FWIW, you can always install a package directly from git with ]add https://github.com/JuliaMusic/MusicManipulations.jl.git

Ah!!!! Nice! I though this was possible by only using dev. Alright I will say that in the start of the tutorial then!
But wait. What does this do if the package is already installed? Does it override the stable installed version with the current state of the master branch? Because this is what I would need. I know dev does it.

Yes, it uses master by default. You can also do ]add https://github.com/JuliaMusic/MusicManipulations.jl.git#v0.6.0 if you want a specific version.

I have the same problem. Installing via direct link seems to be not that robust.
Users could fetch preview versions unexpectedly.

Fixed by https://github.com/JuliaLang/METADATA.jl/pull/21342.

Hi, i have been having issues with regular attobot style updates not making it through to General registry either.  ApproxManifoldProducts.jl, IncrementalInference.jl.

Yup, already fixed, like I wrote.


Only you can see this

How do I get the bot to stop doing "only you can see this message"? Id like it to be when you do a command anyone can see...

Yeah that's a hardcoded feature. I didn't want people to be pinged every time someone called a command as I know I find that annoying. And if you want someone to see the result of what you called, it's usually for trash talking purposes (scores, standings, etc....). The only commands that aren't ephemeral would be the kick, ban, and unban commands.


cutelyst: 2.4.1 -> 2.5.1

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/cutelyst/versions.
meta.description for cutelyst is: '"C++ Web Framework built on top of Qt"'.
Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS
/nix/store/2x74q8m96ipv9sbzyyrkrk6kvjz0lj82-cutelyst-2.5.1/bin/cutelyst-wsgi2 passed the binary check.
/nix/store/2x74q8m96ipv9sbzyyrkrk6kvjz0lj82-cutelyst-2.5.1/bin/cutelyst2 passed the binary check.
/nix/store/2x74q8m96ipv9sbzyyrkrk6kvjz0lj82-cutelyst-2.5.1/bin/.cutelyst-wsgi2-wrapped passed the binary check.
/nix/store/2x74q8m96ipv9sbzyyrkrk6kvjz0lj82-cutelyst-2.5.1/bin/.cutelyst2-wrapped passed the binary check.
4 of 4 passed binary check by having a zero exit code.
4 of 4 passed binary check by having the new version present in output.
found 2.5.1 with grep in /nix/store/2x74q8m96ipv9sbzyyrkrk6kvjz0lj82-cutelyst-2.5.1
directory tree listing: https://gist.github.com/627dac9c11b7be014e6b7190308036bf
du listing: https://gist.github.com/16daa8c98337c3388cd8ad863a248211

Test this build with Cachix (click to expand)

One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout 8aac959193481ae8c982f8c02d0f7ec357202d8a && nix-shell --pure -I nixpkgs=. -p cutelyst

cc @fpletz for testing.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: cutelyst
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: cutelyst
Partial log (click to expand)
shrinking /nix/store/nip7m0xadl76k2rhgqrgdaria3i6pwqa-cutelyst-2.5.1/lib/libCutelyst2Qt5UtilsValidator.so.2.5.1
shrinking /nix/store/nip7m0xadl76k2rhgqrgdaria3i6pwqa-cutelyst-2.5.1/lib/libCutelyst2Qt5Wsgi.so.2.5.1
shrinking /nix/store/nip7m0xadl76k2rhgqrgdaria3i6pwqa-cutelyst-2.5.1/bin/.cutelyst-wsgi2-wrapped
shrinking /nix/store/nip7m0xadl76k2rhgqrgdaria3i6pwqa-cutelyst-2.5.1/bin/.cutelyst2-wrapped
gzipping man pages under /nix/store/nip7m0xadl76k2rhgqrgdaria3i6pwqa-cutelyst-2.5.1/share/man/
strip is /nix/store/1hi76hr87bd1y1q1qjk0lv8nmcjip1c8-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/nip7m0xadl76k2rhgqrgdaria3i6pwqa-cutelyst-2.5.1/lib  /nix/store/nip7m0xadl76k2rhgqrgdaria3i6pwqa-cutelyst-2.5.1/bin
patching script interpreter paths in /nix/store/nip7m0xadl76k2rhgqrgdaria3i6pwqa-cutelyst-2.5.1
checking for references to /build in /nix/store/nip7m0xadl76k2rhgqrgdaria3i6pwqa-cutelyst-2.5.1...
postPatchMkspecs

Success on aarch64-linux (full log)
Attempted: cutelyst
Partial log (click to expand)
shrinking /nix/store/k77kw66kijnraw31vkxb05i6j7bnwp39-cutelyst-2.5.1/lib/libCutelyst2Qt5ViewGrantlee.so.2.5.1
shrinking /nix/store/k77kw66kijnraw31vkxb05i6j7bnwp39-cutelyst-2.5.1/lib/libCutelyst2Qt5Session.so.2.5.1
shrinking /nix/store/k77kw66kijnraw31vkxb05i6j7bnwp39-cutelyst-2.5.1/lib/libCutelyst2Qt5.so.2.5.1
gzipping man pages under /nix/store/k77kw66kijnraw31vkxb05i6j7bnwp39-cutelyst-2.5.1/share/man/
strip is /nix/store/zrs21zqcchgyabjf4xfimncdq16njizc-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/k77kw66kijnraw31vkxb05i6j7bnwp39-cutelyst-2.5.1/lib  /nix/store/k77kw66kijnraw31vkxb05i6j7bnwp39-cutelyst-2.5.1/bin
patching script interpreter paths in /nix/store/k77kw66kijnraw31vkxb05i6j7bnwp39-cutelyst-2.5.1
checking for references to /build in /nix/store/k77kw66kijnraw31vkxb05i6j7bnwp39-cutelyst-2.5.1...
postPatchMkspecs
/nix/store/k77kw66kijnraw31vkxb05i6j7bnwp39-cutelyst-2.5.1

@GrahamcOfBorg build virtlyst

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: virtlyst
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: virtlyst
Partial log (click to expand)
  libQt5Network.so.5 -> found: /nix/store/3h9xcnlphm5hqszkm2fmlwnhzgigfznj-qtbase-5.11.1/lib/libQt5Network.so.5
  libQt5Sql.so.5 -> found: /nix/store/3h9xcnlphm5hqszkm2fmlwnhzgigfznj-qtbase-5.11.1/lib/libQt5Sql.so.5
  libQt5Xml.so.5 -> found: /nix/store/3h9xcnlphm5hqszkm2fmlwnhzgigfznj-qtbase-5.11.1/lib/libQt5Xml.so.5
  libvirt.so.0 -> found: /nix/store/jxm7vdbf1j62lvac7wdsfj7r8fmaqc2p-libvirt-4.6.0/lib/libvirt.so.0
  libQt5Core.so.5 -> found: /nix/store/3h9xcnlphm5hqszkm2fmlwnhzgigfznj-qtbase-5.11.1/lib/libQt5Core.so.5
  libstdc++.so.6 -> found: /nix/store/zr3n4vx9l22z5fp7b1zv1awp94v6z2lz-gcc-7.3.0-lib/lib/libstdc++.so.6
  libGrantlee_Templates.so.5 -> found: /nix/store/1vg9pg1zaxrn219wjjslkd39wdnhyslx-grantlee-5.1.0/lib/libGrantlee_Templates.so.5
setting RPATH to: /nix/store/nip7m0xadl76k2rhgqrgdaria3i6pwqa-cutelyst-2.5.1/lib:/nix/store/nip7m0xadl76k2rhgqrgdaria3i6pwqa-cutelyst-2.5.1/lib:/nix/store/nip7m0xadl76k2rhgqrgdaria3i6pwqa-cutelyst-2.5.1/lib:/nix/store/nip7m0xadl76k2rhgqrgdaria3i6pwqa-cutelyst-2.5.1/lib:/nix/store/nip7m0xadl76k2rhgqrgdaria3i6pwqa-cutelyst-2.5.1/lib:/nix/store/nip7m0xadl76k2rhgqrgdaria3i6pwqa-cutelyst-2.5.1/lib:/nix/store/3h9xcnlphm5hqszkm2fmlwnhzgigfznj-qtbase-5.11.1/lib:/nix/store/3h9xcnlphm5hqszkm2fmlwnhzgigfznj-qtbase-5.11.1/lib:/nix/store/3h9xcnlphm5hqszkm2fmlwnhzgigfznj-qtbase-5.11.1/lib:/nix/store/jxm7vdbf1j62lvac7wdsfj7r8fmaqc2p-libvirt-4.6.0/lib:/nix/store/3h9xcnlphm5hqszkm2fmlwnhzgigfznj-qtbase-5.11.1/lib:/nix/store/zr3n4vx9l22z5fp7b1zv1awp94v6z2lz-gcc-7.3.0-lib/lib:/nix/store/1vg9pg1zaxrn219wjjslkd39wdnhyslx-grantlee-5.1.0/lib
postPatchMkspecs
/nix/store/a3wdf2aci74klql0579siggsiqg5gvg0-virtlyst-1.1.0

Success on aarch64-linux (full log)
Attempted: virtlyst
Partial log (click to expand)
  libQt5Network.so.5 -> found: /nix/store/6yk9ifydaarnwbplfn5hd5s35h4lqi0j-qtbase-5.11.1/lib/libQt5Network.so.5
  libQt5Sql.so.5 -> found: /nix/store/6yk9ifydaarnwbplfn5hd5s35h4lqi0j-qtbase-5.11.1/lib/libQt5Sql.so.5
  libQt5Xml.so.5 -> found: /nix/store/6yk9ifydaarnwbplfn5hd5s35h4lqi0j-qtbase-5.11.1/lib/libQt5Xml.so.5
  libvirt.so.0 -> found: /nix/store/3hs0vp6giy2rhhkzy0z505v9frwdcqdb-libvirt-4.6.0/lib/libvirt.so.0
  libQt5Core.so.5 -> found: /nix/store/6yk9ifydaarnwbplfn5hd5s35h4lqi0j-qtbase-5.11.1/lib/libQt5Core.so.5
  libstdc++.so.6 -> found: /nix/store/n7nmka8dhv73apskrvm316zjvy2rkiwz-gcc-7.3.0-lib/lib/libstdc++.so.6
  libGrantlee_Templates.so.5 -> found: /nix/store/lr0nm37mr8f6xf1gvy5zm9g60nyrygl0-grantlee-5.1.0/lib/libGrantlee_Templates.so.5
setting RPATH to: /nix/store/k77kw66kijnraw31vkxb05i6j7bnwp39-cutelyst-2.5.1/lib:/nix/store/k77kw66kijnraw31vkxb05i6j7bnwp39-cutelyst-2.5.1/lib:/nix/store/k77kw66kijnraw31vkxb05i6j7bnwp39-cutelyst-2.5.1/lib:/nix/store/k77kw66kijnraw31vkxb05i6j7bnwp39-cutelyst-2.5.1/lib:/nix/store/k77kw66kijnraw31vkxb05i6j7bnwp39-cutelyst-2.5.1/lib:/nix/store/k77kw66kijnraw31vkxb05i6j7bnwp39-cutelyst-2.5.1/lib:/nix/store/6yk9ifydaarnwbplfn5hd5s35h4lqi0j-qtbase-5.11.1/lib:/nix/store/6yk9ifydaarnwbplfn5hd5s35h4lqi0j-qtbase-5.11.1/lib:/nix/store/6yk9ifydaarnwbplfn5hd5s35h4lqi0j-qtbase-5.11.1/lib:/nix/store/3hs0vp6giy2rhhkzy0z505v9frwdcqdb-libvirt-4.6.0/lib:/nix/store/6yk9ifydaarnwbplfn5hd5s35h4lqi0j-qtbase-5.11.1/lib:/nix/store/n7nmka8dhv73apskrvm316zjvy2rkiwz-gcc-7.3.0-lib/lib:/nix/store/lr0nm37mr8f6xf1gvy5zm9g60nyrygl0-grantlee-5.1.0/lib
postPatchMkspecs
/nix/store/grm1izz1nswh1wax28d68asnkcp0mw84-virtlyst-1.1.0


FileSystemError when goto definition

Environment data

VS Code version: 1.39.0
Extension version (available under the Extensions sidebar): 2019.10.41019
OS and version: macOS 10.13.6
Python version (& distribution if applicable, e.g. Anaconda): python 3.7.4
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): virtualenv
Relevant/affected Python packages and their versions: XXX
Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info microsoft/vscode-python#3977):  Language Server

Expected behaviour
goto the correct definition
Actual behaviour
FileSystemError， Unable to read file。
it seems vscode repeat the file path。

Steps to reproduce:

XXX

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
XXX

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)
XXX

@jackywu Can you provide some logs per https://github.com/microsoft/python-language-server/blob/master/TROUBLESHOOTING.md#filing-an-issue ?

@karthiknadig , Yes, I has a .env file
(.venv) ➜  manager more .env
source .venv/bin/activate

@jakebailey
log from python language server
[Info  - 11:23:08 PM] Microsoft Python Language Server version <IP_ADDRESS>
[Info  - 11:23:08 PM] Workspace root: /Users/jacky/codebase/books/生物信息大数据平台建设/demo/manager
[Info  - 11:23:08 PM] Analysis cache path: /Users/jacky/Library/Caches/Microsoft/Python Language Server
[Info  - 11:23:08 PM] GetCurrentSearchPaths /usr/local/bin/python3
[Info  - 11:23:09 PM] Interpreter search paths:
[Info  - 11:23:09 PM]     /usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7
[Info  - 11:23:09 PM]     /usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload
[Info  - 11:23:09 PM]     /usr/local/lib/python3.7/site-packages
[Info  - 11:23:09 PM] User search paths:
[Info  - 11:23:12 PM] Initializing for /usr/local/bin/python3
Watching /usr/local/lib/python3.7/site-packages
Watching /usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7
Watching /usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload
[Info  - 11:23:13 PM] Analysis caching mode: None.
Opening document file://%2FUsers%2Fjacky%2Fcodebase%2Fbooks%2F生物信息大数据平台建设%2Fdemo%2Fmanager%2Fapiserver%2Fmodels%2Fmodels.py/Users/jacky/codebase/books/生物信息大数据平台建设/demo/manager/apiserver/models/models.py
Analysis of apiserver.models.models (User) queued. Dependencies: apiserver.app
Goto Definition in file://%2FUsers%2Fjacky%2Fcodebase%2Fbooks%2F生物信息大数据平台建设%2Fdemo%2Fmanager%2Fapiserver%2Fmodels%2Fmodels.py/Users/jacky/codebase/books/生物信息大数据平台建设/demo/manager/apiserver/models/models.py at (7, 7)
Goto Definition in file://%2FUsers%2Fjacky%2Fcodebase%2Fbooks%2F生物信息大数据平台建设%2Fdemo%2Fmanager%2Fapiserver%2Fmodels%2Fmodels.py/Users/jacky/codebase/books/生物信息大数据平台建设/demo/manager/apiserver/models/models.py at (7, 7)
Import:  apiserver.app /Users/jacky/codebase/books/生物信息大数据平台建设/demo/manager/apiserver/app.py
Analysis of apiserver.app (User) queued. Dependencies:
Analysis version 3 of 2 entries has started.
Analysis of apiserver.app (User) on depth 0 completed in 38.95 ms.
Analysis of apiserver.models.models (User) on depth 0 completed in 28.68 ms.
Analysis complete: 2 modules in 92.57 ms.
Analysis version 3 of 2 entries has been completed in 72.08 ms.
Hover in file://%2FUsers%2Fjacky%2Fcodebase%2Fbooks%2F生物信息大数据平台建设%2Fdemo%2Fmanager%2Fapiserver%2Fmodels%2Fmodels.py/Users/jacky/codebase/books/生物信息大数据平台建设/demo/manager/apiserver/models/models.py at (8, 9)
Hover in file://%2FUsers%2Fjacky%2Fcodebase%2Fbooks%2F生物信息大数据平台建设%2Fdemo%2Fmanager%2Fapiserver%2Fmodels%2Fmodels.py/Users/jacky/codebase/books/生物信息大数据平台建设/demo/manager/apiserver/models/models.py at (8, 12)
Hover in file://%2FUsers%2Fjacky%2Fcodebase%2Fbooks%2F生物信息大数据平台建设%2Fdemo%2Fmanager%2Fapiserver%2Fmodels%2Fmodels.py/Users/jacky/codebase/books/生物信息大数据平台建设/demo/manager/apiserver/models/models.py at (8, 13)
Goto Definition in file://%2FUsers%2Fjacky%2Fcodebase%2Fbooks%2F生物信息大数据平台建设%2Fdemo%2Fmanager%2Fapiserver%2Fmodels%2Fmodels.py/Users/jacky/codebase/books/生物信息大数据平台建设/demo/manager/apiserver/models/models.py at (8, 14)
Goto Definition in file://%2FUsers%2Fjacky%2Fcodebase%2Fbooks%2F生物信息大数据平台建设%2Fdemo%2Fmanager%2Fapiserver%2Fmodels%2Fmodels.py/Users/jacky/codebase/books/生物信息大数据平台建设/demo/manager/apiserver/models/models.py at (8, 14)
Goto Definition in file://%2FUsers%2Fjacky%2Fcodebase%2Fbooks%2F生物信息大数据平台建设%2Fdemo%2Fmanager%2Fapiserver%2Fmodels%2Fmodels.py/Users/jacky/codebase/books/生物信息大数据平台建设/demo/manager/apiserver/models/models.py at (12, 11)
Goto Definition in file://%2FUsers%2Fjacky%2Fcodebase%2Fbooks%2F生物信息大数据平台建设%2Fdemo%2Fmanager%2Fapiserver%2Fmodels%2Fmodels.py/Users/jacky/codebase/books/生物信息大数据平台建设/demo/manager/apiserver/models/models.py at (17, 9)
Goto Definition in file://%2FUsers%2Fjacky%2Fcodebase%2Fbooks%2F生物信息大数据平台建设%2Fdemo%2Fmanager%2Fapiserver%2Fmodels%2Fmodels.py/Users/jacky/codebase/books/生物信息大数据平台建设/demo/manager/apiserver/models/models.py at (8, 15)
Goto Definition in file://%2FUsers%2Fjacky%2Fcodebase%2Fbooks%2F生物信息大数据平台建设%2Fdemo%2Fmanager%2Fapiserver%2Fmodels%2Fmodels.py/Users/jacky/codebase/books/生物信息大数据平台建设/demo/manager/apiserver/models/models.py at (8, 13)
Hover in file://%2FUsers%2Fjacky%2Fcodebase%2Fbooks%2F生物信息大数据平台建设%2Fdemo%2Fmanager%2Fapiserver%2Fmodels%2Fmodels.py/Users/jacky/codebase/books/生物信息大数据平台建设/demo/manager/apiserver/models/models.py at (8, 13)
Hover in file://%2FUsers%2Fjacky%2Fcodebase%2Fbooks%2F生物信息大数据平台建设%2Fdemo%2Fmanager%2Fapiserver%2Fmodels%2Fmodels.py/Users/jacky/codebase/books/生物信息大数据平台建设/demo/manager/apiserver/models/models.py at (17, 44)

log from python
User belongs to experiment group 'ShowPlayIcon - start'
User belongs to experiment group 'ShowExtensionSurveyPrompt - enabled'
> conda --version
> pyenv root
> python3.7 -c "import sys;print(sys.executable)"
> python3.6 -c "import sys;print(sys.executable)"
> python3 -c "import sys;print(sys.executable)"
> python2 -c "import sys;print(sys.executable)"
> python -c "import sys;print(sys.executable)"
> /usr/local/bin/python3 -c "import sys;print(sys.executable)"
> conda info --json
Starting Microsoft Python language server.
> conda info --json
> conda --version

Is these enough for debug？

Opening document file://%2FUsers%2Fjacky%2Fcodebase%2Fbooks%2F生物信息大数据平台建设%2Fdemo%2Fmanager%2Fapiserver%2Fmodels%2Fmodels.py/Users/jacky/codebase/books/生物信息大数据平台建设/demo/manager/apiserver/models/models.py

Seems like VS Code or the LSP client.
Could you set this setting, then copy out your logs again?
"python.trace.server": "verbose"

The output is going to be large, so you may want to use a gist (https://gist.github.com/). After you get the logs, you can disable the option (as it will slow down the editor).

@jakebailey ok, more logs at https://gist.github.com/jackywu/85b5c9b845dff411b594c4b1dadbf159

Thanks. The important bits:
We get the file open request from VS Code:
[Trace - 12:44:37 PM] Sending notification 'textDocument/didOpen'.
Params: {
    "textDocument": {
        "uri": "file:///Users/jacky/codebase/books/%E7%94%9F%E7%89%A9%E4%BF%A1%E6%81%AF%E5%A4%A7%E6%95%B0%E6%8D%AE%E5%B9%B3%E5%8F%B0%E5%BB%BA%E8%AE%BE/demo/manager/apiserver/models/models.py",
        "languageId": "python",
        "version": 1,
        "text": "<snip>"
    }
}

[Trace - 12:44:37 PM] Sending request 'textDocument/documentSymbol - (1)'.
Params: {
    "textDocument": {
        "uri": "file:///Users/jacky/codebase/books/%E7%94%9F%E7%89%A9%E4%BF%A1%E6%81%AF%E5%A4%A7%E6%95%B0%E6%8D%AE%E5%B9%B3%E5%8F%B0%E5%BB%BA%E8%AE%BE/demo/manager/apiserver/models/models.py"
    }
}

Then later, we print:
[Trace - 12:44:43 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "Opening document file://%2FUsers%2Fjacky%2Fcodebase%2Fbooks%2F生物信息大数据平台建设%2Fdemo%2Fmanager%2Fapiserver%2Fmodels%2Fmodels.py/Users/jacky/codebase/books/生物信息大数据平台建设/demo/manager/apiserver/models/models.py"
}

So this looks to be on our end somewhere.

@jakebailey it seems yes

Such as in escaping/unescaping of Unicode characters. This can be added to our JSON URI handler.

is the bug fixed? or what's next will we do? @MikhailArkhipov @jakebailey @brettcannon

No, this hasn't yet been fixed, and still needs to be debugged.

Hello,
I would like to add that the original path of the folder I talked about in https://github.com/microsoft/python-language-server/issues/1920 have an accented character. I had replaced it to an ASCII-only  path in the error message in the issue I opened just to simplify reading. But it seems it is an important thing.
When testing another folder without any accented character, the "Go to Definition" worked fine.

In doing some looking, I believe this is an ongoing issue with over-escaping in VS Code's URI library. We already have a hack to handle the : in the drive letter, but it appears as though VS Code is escaping every part of the URI rather than only the minimal things it needs. Other LSs have workarounds we can try and adopt.


Include test casks in the cask style check.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

RE: https://github.com/Homebrew/brew/pull/6435#discussion_r324257785
Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style".
This change includes these test cask paths in the checked paths, and also includes the auto style fixes made by running brew cask style --fix.

@reitermarkus in regards to https://github.com/Homebrew/brew/pull/6435#discussion_r324257785, what do you think of this change?

Thanks, @alecclarke!


[Question] - Why was Microsoft.VisualStudio.Azure.Fabric.MSBuild 1.7.7 unlisted?

Describe the question
Microsoft.VisualStudio.Azure.Fabric.MSBuild 1.7.7 was released with SF 9.1, but was recently unlisted from nuget.org, why?
To Reproduce
Steps to reproduce the behavior:

Go to 'https://www.nuget.org/packages/Microsoft.VisualStudio.Azure.Fabric.MSBuild/1.7.7)'
See the unlisted message

Expected behavior
A new package, or a clear discription on why this package was unlisten
Situation
We are working with quite a few teams on SF applications, and quite a few have updated to SF 9.1, which also includes Microsoft.VisualStudio.Azure.Fabric.MSBuild 1.7.7. We have the package in our local feeds. But we would like to know if we have to roll back due to some security issue, or if it's safe to continue to use the package and update is a new version is released?

Assignees: /cc @microsoft/service-fabric-triage

@SierraNL sorry for the confusion. When we introduce new versions of the NuGet in VS we publish them unlisted on NuGet.org to support previews and then list them when the preview ships. This version became available in VS 17.5 Preview 2 and unfortunately we just dropped the ball in marking it as listed. This has been fixed.

@NCarlsonMSFT  Is the same happening for 1.7.8 and 1.7.9 on nuget.org? Both are marked as unlisted.


hasOwnProperty instead of hasAttribute

I discovered a bug in the slider.
We had a slider, whose value should be transfered to a input:hidden.
In Firefox it refused to work. Instead of setting
<input ... value="8" />
it set
<input ... >8</input>
Turns out that when you ask Firefox if this.hasOwnProperty("value") (where this == the hidden input field), it says no. So it moves on to setting the innerText instead
      $(settings.display_selector).each(function(){
          if (this.hasOwnProperty('value')) {
              $(this).val(value);
              } else {
          $(this).text(value);
          }
      });

In Chrome it works, though.
So I had to change it to hasAttribute
      $(settings.display_selector).each(function(){
          if (this.hasAttribute('value')) {
              $(this).val(value);
              } else {
          $(this).text(value);
          }
      });

Then it worked like a charm in Firefox aswell

Good catch, would you like to submit a pull request for the fix?


Add a test to be sure scrapers don't return 0s if the source is unavailable

Another test I think we should do is run each scraper with a mocked fetch that returns 404 and then assert that the scraper doesn't return any results. We have scrapers that return zeros when they error. Returning 0 cases/deaths/etc is not the desired behavior if the source in inaccessible.
@samirrayani thinks this could go in here:
https://github.com/lazd/coronadatascraper/blob/master/src/events/crawler/scrapers.test.js

Hi @chunder, some questions:

what are some of the bad scrapers returning 0's?
what should a 404'd scraper return?
Thank you! jz

It's not that the scrapers are bad. It's that the source webpage changes and the scraper no longer works against the new layout/content/format. We had 2-3 last night that exhibited this problem. We scrambled and fixed them before the final data push.
It would be better if they failed by returning no data (ie: an empty array) rather than returning a pile of 0 case counts for all the counties in the state.

I misspoke.  I don't know what a bad case is, can you give me an example of a scraper that no longer works, if for example it 404's?  I see changes in master with git log --oneline upstream/master -- src/events/crawler/scrapers but I'm not sure which correspond to the fixes.

We have a simple html table validator now, PA uses it:
      const rules = {
        headings: {
          0: /county/i,
          1: /number of cases/i,
          2: /deaths/i
        },
        data: [
          { column: 0, row: 'ANY', rule: /Adams/ },
          { column: 1, row: 'ALL', rule: /^[0-9]+$/ },
          { column: 2, row: 'ALL', rule: /(^[0-9]+|)$/ }
        ]
      };
      const opts = { includeErrCount: 5, logToConsole: true };
      htmlTableValidation.throwIfErrors($countyTable, rules, opts);

I think that covers part of this question, the other part is that we should handle things differently if the source is completely unavailable.  At the moment, I'm not completely sure what happens if a source is offline.  I see various errors in the log, it should behave ... a bit better, I think: report source unavailability clearly, and carry on.

This is handled correctly in Li, closing as we won't fix it here.


ciao-controller: datastore: use prepared statements rather than Sprintf

Address issue #81
Go uses prepared statements for you under the covers... unless you
override this by using Sprintf.  Since prepared statements are
more secure, only use Sprintf if you have a very good reason - which
I didn't.
Signed-off-by: Kristen Carlson Accardi<EMAIL_ADDRESS>

👍 looks good!


/issues/20: fix naming of slices/arrays/maps/strings

What(What have you changed/added/removed?)

fix naming of slices/arrays/maps/strings

Why(Why did you change/add/remove it?)

Fixes: https://github.com/komuw/kama/issues/20

Codecov Report

Merging #21 (732173f) into main (8aaa927) will increase coverage by 0.16%.
The diff coverage is 84.61%.

:exclamation: Current head 732173f differs from pull request most recent head 0b7592b. Consider uploading reports for the commit 0b7592b to get more accurate results

@@            Coverage Diff             @@
##             main      #21      +/-   ##
==========================================
+ Coverage   87.58%   87.74%   +0.16%
==========================================
  Files           3        3
  Lines         298      302       +4
==========================================
+ Hits          261      265       +4
  Misses         33       33
  Partials        4        4

Impacted Files
Coverage Δ

vars.go
97.82% <84.61%> (+0.04%)
:arrow_up:

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 8aaa927...0b7592b. Read the comment docs.


fix(build): add setImmediate polyfill for winston, refine tsconfigs and cleanup named exports

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


attempt to speed up build

What is the problem that this PR is trying to fix?
Builds take a long time, currently up to 15 minutes.
What approach did you choose and why?
Try and split out parts into jobs that can run in parallel. Here is the breakdown from build tracing:

How can you test this?
That's what this pull request is for!

Still taking longer than I'd like, but the wall clock time is much improved!

Better:

Getting somewhere!


Client side diagnostics generation; support for .plan files and VAL tool

[2.6.5] - 2018-06-07
Plan and Plan Happenings support
Added support for .plan files in the format of the usual PDDL planner output.
A .plan file can be generated using an option in the Plan Visualization menu (☰), or using a PDDL: Export plan to a file... command.
A context menu option in .plan file PDDL: Convert plan to happenings... supports export to a .happenings file.
Both plan formats are covered by syntax highlighting and .plan files have a context menu option PDDL: Validate plan, which requires the validate executable path to be configured in the pddlPlan.validatorPath setting. See VAL for more details.
Problems in .plan files are displayed in the Problems panel of VS Code as long as a corresponding problem and domain files (located in the same folder) are open in the editor and the validate executable location is configured via the pddlPlan.validatorPath setting.

Improved auto-completion support

Predicates and Functions now display the documentation string
Snippet is available for continuous numeric effects
Clearer description of many auto-completion items: more descriptive text and proper markdown rendering.

Problem generation from templates
When the problem template file and corresponding generated problem file are open side-by side, the edits in the template are reflected in the generated problem file as a live preview as you type.

Language Server pattern was removed. Both auto-completion and PDDL parsing is now happening in the extension main process (i.e. client).
Bug-fixes
Fixed issues arising when using a planning service.

Reviewed.


bug: Request failed: failed to decode event payload: unexpected end of JSON input - body

Version
v1.0.4
Describe the bug
When using ChatGPT 4 Turbo Preview in Cody Pro chat, the response fails midstream and generates this error message:
Request failed: failed to decode event payload: unexpected end of JSON input - body: {"id":"chatcmpl-8aQDj88iyldoeRqpKT41m27RRfMpr","object":"chat.completion.chunk","created":1703691291,"model":"gpt-4-1106-preview","system_fingerprint":"fp_3905aa4f79","choices":[{"index":0,"delta":
The error message appears to be truncated.
Expected behavior
Expected behavior is that the chat should successfully complete.
Additional context
Screenshot below for reference.

I also have encountered this bug when using gpt3.5 turbo and gpt4 turbo in Cody Pro chat.

I am getting the same error, using gpt-4 turbo.

Users confirmed the issue has been resolved in the latest release (v1.0.5).


Missing libR for inline-r

Unpacking to inline-r-<IP_ADDRESS>/
Resolving dependencies...
Configuring inline-r-<IP_ADDRESS>...
cabal: The pkg-config package 'libR' version >=3.0 is required but it could
not be found.

@Fuuzetsu do you know what apt-get package is needed on ubuntu for inline-r?

I believe it's apt-get install r-base-dev.

Adding r-base-dev did not work unfortunately.

@bergmark any word on why r-base-dev didn't work? See https://github.com/tweag/HaskellR/blob/master/etc/Dockerfile for an example of the system dependencies we require for all packages in the HaskellR project, starting from a vanilla ubuntu image. For inline-r the important ones are r-base and r-base-dev.

Could it be because i added only r-base-dev? Perhaps @snoyberg can try again for tomorrows nightly.

Sure, I'll give it a try. I'll also understand that comment as our pass-off
this week :-)
On Sun, Sep 20, 2015, 7:35 PM Adam Bergmark<EMAIL_ADDRESS>wrote:

Could it be because i added only r-base-dev? Perhaps @snoyberg
https://github.com/snoyberg can try again for tomorrows nightly.
—
Reply to this email directly or view it on GitHub
https://github.com/fpco/stackage/issues/842#issuecomment-141807956.

Mind, we use ppa:marutter/rrutter as the source for these packages, to get the latest versions of R. Depending on what distro you're using, it could be pulling in older versions of R if you don't use that PPA. The test suite doesn't pass for those older versions, because the error messages that R spits out are slightly different.

DockerHub build kicked off, will kick off the nightly build once the new image is ready.

inline-r is now building correctly

(FWIW http://packages.ubuntu.com/ has filename search: I'll add it to the CURATORS file.
eg for this case http://packages.ubuntu.com/search?searchon=contents&keywords=libR.pc&mode=&suite=trusty&arch=any => r-base-core)


Added Ping OAuth Provider

Added a new Provider to work with Ping Federated token

Please approve and merge this pull request


How to Curve fitting

您好，请问SCNN拟合曲线，需要像LaneNet那样，去逆透视变换再去拟合吗？

@HejhGitHub 不用去逆透视。

请问，为什么它不需要逆透视变换呢？可以直接拟合吗？


add "Modifying Packets" example

It would be great to add a "Modifying Packets" example after "Logging Packets" and "Dropping Packets" - to show the write access and packet signature regeneration.
If you know of existing opensource programs that do it with Aya (and could be used for reference and as model for the "Modifying Packets" example), please add a comment.

@alessandrod should this PR close this issue?


fix: Remove spurious onClick events for Android TV

Summary:
There has been special code in the Touchable components to ensure that Android TV does not fire duplicate onPress events for the same press of the DPad.
This problem has now been traced to the root cause, which was onPress events fired with empty events from the onClick handler in Pressability.
These have been suppressed for TV, and the Android special handling removed from the Touchable classes.
Changelog:
[Android][Fixed] Remove spurious onClick events for Android TV
Test Plan:
The TVEventHandlerExample in RNTester has been modernized and expanded to show remote control events as well as events from Touchable and Pressable components.

@yusufyildirim I'm going to go ahead and merge this, it is testing well and we can revert or adjust later if needed.


MacOS Sierra - Incompatible OpenCV Version in Kinetic

When installing kinetic on MacOS Sierra, the compilation of opencv3 fails with the error 'QTKit/QTKit.h' file not found (as Apple has removed this in the new macOS). This seems to be known (see e.g. homebrew/homebrew-science#4104, opencv/opencv#6913) and resolved by opencv/opencv#7159 which is merged in opencv master. However, this fix seems to not have made it into ROS yet. What would be the best way to incorporate it?

Please make a request on the packaging repo for opencv3: https://github.com/ros-gbp/opencv3-release/issues to make a new release.

Closing as duplicate of https://github.com/ros-gbp/opencv3-release/issues/6


Release Beta 1

This contains some fixes that we made during the release process

I'm gonna fix 'formatter'


Toggle for tooltip styles (for dot style "tooltip")

Hi, love the small component that you've made! Although this is not a blocker for us, here's a small suggestion/favor:
We need to achieve the following design:

I can currently achieve it via
<slide-bar v-model="rating"
          :lineHeight="4"
          :processStyle="{ backgroundColor: '#475DE5' }"
          :tooltipStyles="{
            position: 'absolute',
            background: 'linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 100%)',
            border: '1px solid #B9C3D4',
            borderRadius: '50%',
            width: '1.5rem',
            height: '1.5rem',
            transform: 'translateY(1rem)'
          }"
          :data="[0, 0.2, 0.4, 0.6, 0.8, 1, 1.2, 1.4, 1.6, 1.8, 2]" />

But the padding-top: 40px !important and the pseudo element (arrow) are a hard one to bite through in a clean way (atm I'm adding a class twice to fight specificity and can't remove them via props). https://github.com/biigpongsatorn/vue-slide-bar/blob/6f13162c176a66a23e119646d2cd82c4af8b91ca/src/components/VueSlideBar.vue#L368
Could you create a prop that removes the top padding?
Maybe that prop could also apply some base styles for a rounded "tooltip"? For example:
:tooltipStyles="{
  position: 'absolute',
  borderRadius: '50%',
  width: '1.5rem',
  height: '1.5rem',
  transform: 'translateY(1rem)'
}"

.vue-slide-bar-component {
  padding-top: 0;
}
.vue-slide-bar-tooltip::before {
  content: none;
}

@andreasvirkus Thank you for your suggestion 🙂.
I added new prop name paddingless to new version 1.1.5,
You can remove padding and min-height of container with set paddingless = true


[wip] feat: add connection

Closes #891.
As a first iteration this is what I've done:

It works, but we don't provide feedback if it worked or not. What do you think?
/cc @lidel @olizilla @fsdiogo

Cool! Quick feedback: we should provide a hint to the user that address should be in multiaddr format, similar to what we already do on Files → Add from Path:

It works, but we don't provide feedback if it worked or not.

We should provide feedback! Why not use the notify bundle as:

A message saying Successfully connected to the swarm or something like that is sufficient IMO!

I think it's ready for review!

The multiaddr validation in the modal input isn't totally safe, as you can pass an incorrect CID and it will still be accepted, although it will fail to connect.
E.g.: /ip4/<IP_ADDRESS>/tcp/4001/ipfs/foobar

@fsdiogo yeah we can improve that later with https://github.com/ipfs/is-ipfs/issues/26 perhaps.

@olizilla can we merge?

I'd like to keep this as a feature for the 2.5 release, while we are still ironing the kinks out of the analytics stuff for 2.4, that's why i've not reviewed it yet.


Don't double-process the site.github namespace.

Should fix https://github.com/jekyll/github-metadata/issues/93#issuecomment-283783238

Is it possible to tests this?

Using :after_init now – don't need that test anymore. Thoughts?

@jekyllbot: merge


Please kindly be noticed that you have to specify the version of numpy

Error
AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.

Fix
numpy<2.0.0

We will make it numpy 2.0.0 compatible soon


stuttering on bloodloss and electricity damage

About the PR
CHANGE WIZARD's CODE. Stuttering on bloodloss for russian localization, made as it was on Corvax.
Though, better to be fixed on wizard's side by moving this regex into .ftl file
Fixes issue https://github.com/crystallpunk-14/crystall-punk-14/issues/291

Why / Balance

Media

Will you try to make PR to the Wizards? I'll take this one anyway.

Yes


"Single column" button text gets ellipsed

The text "Single column" gets ellipsed with ... when a scroll appears in the side-panel (at least on windows). See attached video below.
A workaround could be to style the width of the scrollbar to leave some more space for the content in the side-panel.
1: Open sub-panel
2: open presentation
3: Click grid button
Scroll bar is seen and button is not looking good

You can also see this behavior for all of those buttons by using /language/qps-ploc/ so that the "test language" is used.
See image:

Tried a solution by decreasing the width of the scrollbar. On Chrome it fixes the issue (for English language) if I set the width to 4 px.
However, on Firefox it is not possible to explicitly set the scrollbar width to a number of pixels - the only value to make it narrower is thin, which doesn't make it narrow enough to fix the issue.
Probably a better solution is to leave the scrollbar as it is, and change the padding of the button, as Quan had already suggested.
Chrome (scrollbar width 4px):

Firefox (scrollbar width: thin)


Use acorn instead of esprima

Acorn is faster. Acorn also does not make git requests during build, which Esprima does. This is unpaletable for many companies that don't want out-of-datacenter network calls at build time.
http://esprima.org/test/compare.html
http://marijnhaverbeke.nl/blog/acorn.html

Looks good to me, thanks Asa.

Perhaps you should use babel-core to parse (e.g. https://github.com/babel/babel-eslint/blob/master/index.js#L5) and pass in the app's babel configuration so that all valid ember-cli code is also valid ember-browserify code (e.g. computed decorators and everything else babel supports).
I believe this is why https://github.com/ef4/ember-browserify/issues/35 is happening to me.

Another example: https://github.com/babel/babel/blob/7407b37bd9cbde15c667b2dcf3a7b198ecfd14c8/test/core/generation.js#L29

Thanks @devinus I'll take a shot at a PR tomorrow

Actually @devinus your stack trace references esprima, not acorn, so I don't think this is related

@asakusuma Indeed, it was using Esprima, however the issue remains that it wont be able to parse anything that uses a Babel transform.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Android] Fcm support Default FirebaseApp is not initialized in this process

I got the following error after trying a migration:
Default FirebaseApp is not initialized in this process bundleID.  For some reason the last version wasn't working, but your configuration works!

@yogevbd I got a weird behaviour. After 5 - 10mins push notifications stop working. I am using algo react-native-navigation.

Any chance any of this would end up in the examples?  I'm moving to react 58.4 and I'm getting the same issue.  I've added the changes that @ramonrovirosa showed but I'm not sure what to do with the google.services.json.  Their docs aren't entirely clear: https://developers.google.com/android/guides/google-services-plugin
And an example I found was mind boggling:
https://github.com/firebase/quickstart-android/blob/master/mock-google-services.json

You should reopen this issue, with the version 1.2.52 this bug is already here

I was able to resolve by adding the below line to my dependencies, instead of the 'firebase-core' reference, as that caused some Gradle versioning issues for me:
implementation "com.google.firebase:firebase-messaging:17.3.0"
This is the same version of firebase-messaging that's in the project itself.

Still happens in the last version, any updates?

I succeeded using https://github.com/Benjamin-Dobell/react-native-notifications/tree/android-overhaul, referenced in #300. I had to follow all the steps, including registering the app with FCM.

Thanks for all the advices. I can summarize what I did to fix this error using wix/react-native-notifications v1.5.0 (latest version today).
This project migrated from GCM to Firebase and you need to perform these steps:

Setup Firebase following the 4 steps of Option 1.
You will get a file called google-services.json to add to your android/app folder => android/app/google-services.json.
In step 4, you added implementation 'com.google.firebase:firebase-core:16.0.8', replace it with implementation "com.google.firebase:firebase-messaging:17.3.0" instead.

Your setup should looks now like:
package.json
...
  "dependencies": {
...
    "react-native-notifications": "^1.5.0",
...

build.gradle
...
buildscript {
...
    dependencies {
...
        classpath 'com.google.gms:google-services:4.2.0'
...

app/build.gradle
...
dependencies {
    ...
    implementation "com.google.firebase:firebase-messaging:17.3.0"
    ...
}
...
apply plugin: 'com.google.gms.google-services'

That should definitely be documented but no time for a PR now.

Using google-services version 4.3.3 fixed the problem for me.
build.gradle (project level)
buildscript {
  dependencies {
     classpath("com.google.gms:google-services:4.3.3")
  }
}

react-native version: 0.62.18
react-native-notifications version: 3.2.2

I am using com.google.gms:google-services:4.3.15 and com.google.gms:google-services:4.4.2 was causing this error.
See: https://github.com/firebase/firebase-android-sdk/issues/4693#issuecomment-2269362295


nixos/google-oslogin: bump package, make tests more readable

Motivation for this change
The OSLogin packages have been moved into a separate repositories, and received some more releases in the meantime. Also, the mockserver we use in the tests was refactored to be a bit more extensible.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg test google-oslogin


Extension not working on most recent version of Google Chrome

The screenshare extension is not working on the most recent version of chrome.

+1 that, tried removing plugin, clearing cache, reinstalling plugin, still no luck. It also causes the video chat user to not be able to click any other chat buttons, like mute or video


feat: create Target Group and ALB for documentation

Summary | Résumé
Adding the new target group for the documentation site we are putting up. I've also created some rules for the load balancer based off similar logic within the repo.

Fixes #123

Fixes #123

@RenDavidDimen After merging this PR, could you give out to @jimleroyer the new target group's ARN? He needs it for https://github.com/cds-snc/notification-manifests/pull/111

@RenDavidDimen After merging this PR, could you give out to @jimleroyer the new target group's ARN? He needs it for https://github.com/cds-snc/notification-manifests/pull/111


[cgall] build failure

Host Environment

OS: Windows
Compiler: Visual Studio 2019 with clang-cl

To Reproduce
Steps to reproduce the behavior:
./vcpkg install cgal:x64-windows
Failure logs
Building package yasm-tool[core]:x64-windows...
CMake Error at scripts/cmake/vcpkg_fail_port_install.cmake:97 (message):
  The yasm-tool port is only intended to be built for x86 Windows
  Architecture 'x64' not supported by yasm-tool!
Call Stack (most recent call first):
  ports/yasm-tool/portfile.cmake:1 (vcpkg_fail_port_install)
  scripts/ports.cmake:142 (include)
Error: Building package yasm-tool:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: yasm-tool:x64-windows
  Vcpkg version: 2021-01-13-d67989bce1043b98092ac45996a8230a059a2d7e

Additional context
Some commit after 6537078e8 broke cgal:x64-windows.
Here's a successful build 9 hours ago:
https://ci.appveyor.com/project/acgetchell/cdt-plusplus/builds/38937799
And here's a failed build using commit 6b4754924 4 hours ago:
https://ci.appveyor.com/project/acgetchell/cdt-plusplus#L317
yasm-tool:x86-windows is required in order to build CGAL on Windows. You can see that it builds here:
https://ci.appveyor.com/project/acgetchell/cdt-plusplus/builds/38942915#L302
Via the old cgal build:
https://ci.appveyor.com/project/acgetchell/cdt-plusplus/builds/38937799#L225
But now instead of yasm-tool-helper:x64-windows:
https://ci.appveyor.com/project/acgetchell/cdt-plusplus/builds/38937799#L1046
It tries to build yasm-tool:x64-windows, which fails.
https://ci.appveyor.com/project/acgetchell/cdt-plusplus/builds/38942915#L1140
Perhaps commit https://github.com/microsoft/vcpkg/commit/c6f8dbac62fe769fe754ed59f6101896c4902512 broke it?

Pinning vcpkg to https://github.com/microsoft/vcpkg/commit/56c0313c4b46eb3d25e62d27b3986ed2ac557902 (which is the commit before https://github.com/microsoft/vcpkg/commit/c6f8dbac62fe769fe754ed59f6101896c4902512) fixes the issue:
https://ci.appveyor.com/project/acgetchell/cdt-plusplus/builds/38944944

Confirmed. Pinning vcpkg to https://github.com/microsoft/vcpkg/commit/c6f8dbac62fe769fe754ed59f6101896c4902512  breaks cgal:x64-windows:
https://ci.appveyor.com/project/acgetchell/cdt-plusplus/builds/38945066#L1064

And reverting the commit fixes it again:
https://ci.appveyor.com/project/acgetchell/cdt-plusplus/builds/38945090

cc @xandox

Please track this issue in https://github.com/microsoft/vcpkg/issues/17627.


Correction for raw affiliation C.A. Primeau, PhD, T.B. Birmingham, PhD, Fowler Kennedy Sport Medicine Clinic, Western University, School of Physical Therapy, Faculty of Health Sciences, Western University, and Bone and Joint Institute, Western University

Correction needed for raw affiliation C.A. Primeau, PhD, T.B. Birmingham, PhD, Fowler Kennedy Sport Medicine Clinic, Western University, School of Physical Therapy, Faculty of Health Sciences, Western University, and Bone and Joint Institute, Western University
raw_affiliation_name: C.A. Primeau, PhD, T.B. Birmingham, PhD, Fowler Kennedy Sport Medicine Clinic, Western University, School of Physical Therapy, Faculty of Health Sciences, Western University, and Bone and Joint Institute, Western University
new_rors: 02grkyz14
previous_rors: 05167c961
works_examples: W4320916521
contact: 601c506058ee30399dc0981c38a50e16:65d47ff4f12c1c9e @ uwo.ca

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


Makes the notification close when clicked

This is a followup to my last pull request: https://github.com/xSke/Pxls/pull/57
This should make it so when the notification is clicked, it actually closes the notification too.
I can't actually test this locally, but here's a jsfiddle demonstrating what this code should do. (It's the same code): https://jsfiddle.net/brandonsturgeon/puwpwf36/

So I was asked on discord to test this.
While I cannot verify its functionality because of my custom archlinux setup (all notifications always close when clicking, no matter what) I can still give my thoughts on it:
It seems like using this.close() is the correct way to close it, just like it was done here. The code also doesn't yield any runtime errors so there is no reason that I can see why it shouldn't work. Here are the docs for anyone: https://developer.mozilla.org/en-US/docs/Web/API/Notification/close
So, if it was up to me, i'd say merge it ^.^

I trust sorunome's input, merging.


Fix the plugin setup

Follow the example in https://gitlab.mpcdf.mpg.de/nomad-lab/nomad-FAIR/-/merge_requests/1655/
Before merging, make sure to add the full extraction.

I think this shouldalready work.

I think this shouldalready work.

Me too. Simulation has the proper m_annotations and XMLParser reads in all the tags...
But after convert, Simulation remains empty.

Mostly fixed, but have to close this branch for the upcoming tutorial. Will revisit in the future.


Error

该mod在我的系统上遇到了错误 Minecraft甚至无法启动
log: https://mclo.gs/P0SOCaQ
操作系统版本: windows11 canary 26002.1010
游戏版本: Minecraft forge 1.20.1
mod :
yet-another-config-lib-forge-3.2.1+1.20
mica-1.0.1-forge

Hello, I don't know how to read Chinese :(
and... this is not a bug in Mica, it's a problem in YACL.
https://github.com/isXander/YetAnotherConfigLib/issues/124


Use ProblemConstPtr instead of const Problem& everywhere + additional improvements

This PR suppresses the use of const Problem& as method inputs as well as class member. Class Problem is now handled through shared pointers as other classes.
Also

fix a bug in Reeds and Shepp steering method,
add serialization of steering methods.

This introduces loops of shared_ptr preventing destruction of objects in the loop. The Problem should be stored as a weak pointer.

Can you be more specific ? I have replaced all members of type const Problem& by ProblemConstWkPtr_t, that is
weak_ptr.

My bad. Everything seems good.


Values for CANCEL/OK are flipped

If you upload a CSV and have some OK people, if you check it out via the mobile app, the value is flipped, i.e. all the ok people are cancel and vice versa

There was a discrepancy between front-end and back end in terms of what status code meant what, these are now uniform on both sides and the issue is fixed .
0 = NO SHOW
1 = CANCEL
2 = OK


Setup Reac and linters

Hello!
For this milestone, I make these changes:

Set up a React app.
Set up linters for REACT-REDUX.

Thanks for your review.

Hi @smunoz1988,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request
You have submitted a project, that is invalid because you did not follow the correct Git-flow worlkflow. Thus creating the PR from a feature branch into the development branch
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.

Linsters and setup ready.


Disable caching of the rootURL by setting it to false

Currently it's not possible to disable caching of the rootURL.
To safely preload data in your rootURL you need to be able to disable the cache for this resource.
By allowing the rootURL to be set to false we can disable the cache for the root without breaking compatibility and allow resetting the value to undefined to default to '/' again.

@jkleinsc any comments?

@jessedijkstra sorry about the delay.  I'm fine with the PR.  I'll merge it in.

@jkleinsc Thanks! Mind running a release as well so we can switch back to the NPM package?

@jessedijkstra Done: https://www.npmjs.com/package/broccoli-serviceworker

@jkleinsc thanks a lot!

@jessedijkstra why exactly this is important for your use case? What was the problem you had before this?

@miguelcobain Our index.html contains bootstrapped data in JSON.


[RFC] Test on Python 3

Does this project support Python3?

It looks like no https://github.com/Julian/jsonschema/commit/8ebd5bcb0a6d7a7679b7d0e90d35e6fcc51ae2ff
Closing this then.

Yes, this package does support Py3, as documented in the readme and
documentation, and tests already run against it.
On Feb 6, 2017 21:13, "Luca Favatella"<EMAIL_ADDRESS>wrote:
It looks like no 8ebd5bc
https://github.com/Julian/jsonschema/commit/8ebd5bcb0a6d7a7679b7d0e90d35e6fcc51ae2ff
Closing this then.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Julian/jsonschema/pull/319#issuecomment-277799344, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAUIXjY6LnDzsS2nGCTJyue-zMscdBmlks5rZ37XgaJpZM4L4p3I
.


REST: Method "amBearerAuthenticated" doesn't work, no Authorization header is sent

What are you trying to achieve?
I'm able to replace the code
const response = await I.sendGetRequest("http://localhost:3030/year?default=1", {Authorization: "Bearer xyz"});

by
I.amBearerAuthenticated("xyz");
const response = await I.sendGetRequest("http://localhost:3030/year?default=1");

3.3.0 should support it: https://codecept.io/api/#rest
What do you get instead?
Headers are sent as empty (I should get "headers":{"Authorization":"Bearer xyz"})
Api --
    [1]  Starting recording promises
    Timeouts:
 › [Session] Starting singleton browser session
  test something
    I am bearer authenticated "xyz"
    I send get request "http://localhost:3030/year?default=1"
    › [Request] {"baseURL":"http://localhost:3030/year?default=1","headers":{}}
    › [Response] Response error. Status code: 401
    › [Response] {"name":"NotAuthenticated","message":"Not authenticated","code":401,"className":"not-authenticated","errors":{}}
  ✔ OK in 24ms

Provide test source code if related

Feature('Api');

Scenario('test something', async ({ I }) => {
    I.amBearerAuthenticated("xyz");
    const response = await I.sendGetRequest("http://localhost:3030/year?default=1");
});

Details

CodeceptJS version: 3.3.0
NodeJS Version: v14.18.3
Operating System: Ubuntu 21.10
Configuration file:

exports.config = {
    tests: './*_test.js',
    output: './output',
    helpers: {
        Playwright: {
            url: 'https://playwright.dev',
            timeout: 10000,
            show: false,
            browser: 'chromium'
        },
        REST: {
        }
    },
    include: {
        I: './steps_file.js'
    },
    bootstrap: null,
    mocha: {},
    name: 'playwright'
}

I think it can be solved by inserting of
// request.headers is empty by default, add a custom header this.headers to it
request.headers = {...request.headers, ...this.headers}

at the begin of the method
https://github.com/codeceptjs/CodeceptJS/blob/b9bfce36b5046a8afcd52ec0749561227c5185fe/lib/helper/REST.js#L114


Numbers with value 0, booleans with value false are not cached using wrap

When method inside wrap callbacks with false or 0 as parameter, the cache is not used and the next call to wrap launch the method again
Is it expected behaviour?

That's a good point.  I'll fix that.

Thanks for your quick answer

This is available in the latest develop branch (see https://github.com/BryanDonovan/node-cache-manager/compare/develop).  I want to make a few more updates before the next release, so I won't publish this to npm quite yet.  Can you please give the develop branch a try and see if it fixes the issue for you?
Thanks!

This is available in 1.0.0 release.

Thanks for the fix and sorry for the delay
Unfortunately, redis returns null when data is not present, and this is considered as valid value for cache.
I made a PR there: https://github.com/BryanDonovan/node-cache-manager/issues/29 but this implies a lot of stuff and multi caching may be a pain.
Is it ok for you to consider undefined AND null should not be stored as valid cached value? So we can still store 0 and false.
Cheers


[cleanup][txn] Use MLTransactionMetadataStore in integration tests

Motivation
Transaction's integration tests use the in memory implementation for the txn metadata store.
Since they're very important test to ensure stability of the transactions feature, it's better to use the default store which is actually designed to run in production environments.
Modifications

Do not set InMemTransactionMetadataStoreProvider in the integration tests setup

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

/pulsarbot run-failure-checks

Codecov Report

Merging #19140 (f8e48e1) into master (4b8f447) will decrease coverage by 9.73%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master   #19140      +/-   ##
============================================
- Coverage     47.00%   37.26%   -9.74%
+ Complexity    10639     1990    -8649
============================================
  Files           713      209     -504
  Lines         69672    14452   -55220
  Branches       7482     1577    -5905
============================================
- Hits          32746     5386   -27360
+ Misses        33212     8480   -24732
+ Partials       3714      586    -3128

Flag
Coverage Δ

unittests
37.26% <ø> (-9.74%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...g/apache/pulsar/broker/admin/impl/BrokersBase.java

...g/apache/pulsar/PulsarClusterMetadataTeardown.java

...ad/jcloud/provider/TieredStorageConfiguration.java

...rcegroup/ResourceGroupNamespaceConfigListener.java

...r/offload/jcloud/impl/OffloadIndexBlockV2Impl.java

.../java/org/apache/pulsar/broker/web/WebService.java

...kkeeper/mledger/impl/LedgerOffloaderStatsImpl.java

...ar/broker/service/persistent/ShadowReplicator.java

...r/delayed/bucket/BucketDelayedDeliveryTracker.java

...sistent/PersistentDispatcherMultipleConsumers.java

... and 495 more


Move serialized object members to snake_case

JSON properties should always be in snake case for consistency. Only the Acme scheduler example is affected here.

@mrbrowning: Broken CI build?  @mesosphere-ci: retest this please

@gabrielhartmann builds are passing now.


Refactor code - Strings and Dimens

Change all "xyz" present in code to R.strings.xyz - All strings should be referenced and not written directly.

Done.


fix: reuse secret name for pipeline visualiser

/approve

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jstrachan
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jstrachan]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jstrachan: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
90b9b0295c844c038976a2807109e702551ed277
link
/test vault

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jstrachan: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
90b9b0295c844c038976a2807109e702551ed277
link
/test vault

tls
90b9b0295c844c038976a2807109e702551ed277
link
/test tls

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jstrachan: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
90b9b0295c844c038976a2807109e702551ed277
link
/test vault

tls
90b9b0295c844c038976a2807109e702551ed277
link
/test tls

gsm-kapp
90b9b0295c844c038976a2807109e702551ed277
link
/test gsm-kapp

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jstrachan: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
90b9b0295c844c038976a2807109e702551ed277
link
/test vault

tls
90b9b0295c844c038976a2807109e702551ed277
link
/test tls

gsm-kapp
90b9b0295c844c038976a2807109e702551ed277
link
/test gsm-kapp

gsm
90b9b0295c844c038976a2807109e702551ed277
link
/test gsm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jstrachan: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
90b9b0295c844c038976a2807109e702551ed277
link
/test vault

tls
90b9b0295c844c038976a2807109e702551ed277
link
/test tls

gsm-kapp
90b9b0295c844c038976a2807109e702551ed277
link
/test gsm-kapp

gsm
90b9b0295c844c038976a2807109e702551ed277
link
/test gsm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jstrachan: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
90b9b0295c844c038976a2807109e702551ed277
link
/test vault

tls
90b9b0295c844c038976a2807109e702551ed277
link
/test tls

gsm-kapp
90b9b0295c844c038976a2807109e702551ed277
link
/test gsm-kapp

gsm
90b9b0295c844c038976a2807109e702551ed277
link
/test gsm

kube
90b9b0295c844c038976a2807109e702551ed277
link
/test kube

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.


Added ChaosCenter upgrade docs

Signed-off-by: Amit Kumar Das<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Checklist:

[ ] Fixes #
[ ] Signed the commit for DCO to be passed
[ ] Labelled this PR & related issue with documentation tag

Have made the requested changes @rajdas98 @ksatchit . Thanks for the review!


Is the code broken?

Hi. I have updated to the latest file from last night, but everything has just defaulted to white, including mlat aircraft

Problem fixed in the 28/9 update

I think you probably pulled after I uploaded a broken file and then realising it was borked and fixing it. Glad it is all working now.


Any way to use query_type: text on Repo.insert_all?

Reason for this is if we have dynamic amount of element in the batch insert. It will prepare one query per each amount. Let's suppose we have a feature called contact book syncing, where we don't know how many entries a user has in its contact book. It can be 1- 1000 or even more. So that would mean each connection would have to prepare 1000 prepared statements for the batch inserts. If you have a connection pool of let's say 10, then that would mean over time, it would've prepared 10,000 statements on the server.

For insert_all and friends, MyXQL prepares the statement and then closes it immediately after use. So you would have only 10 statements on the server. If it does any caching, then it would be per schema, so it means you would have at most the number of tables * number of connections.

@josevalim hmm...if it closes it immediately after used as you suggested, then there might be another bug again.
MySQL [performance_schema]> SELECT SQL_TEXT, COUNT(1) FROM prepared_statements_instances GROUP BY SQL_TEXT HAVING count(1) > 20\G
*************************** 1. row ***************************
SQL_TEXT: INSERT INTO `contact_book` (`contact_id`,`contact_name`,`contact_org`,`contact_org_id`,`contact_org_slug`,`contact_picture`,`contact_slug`,`contact_title`,`email`,`phone`,`reversed_search_phone`,`user_id`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?,?),(?,?,?,?,?,?,?,?,?,?,?,?),(?,?,
COUNT(1): 157

But assuming it is prepared, as I mention, then you will have a prepared statement where there is only 1 value, one statment where there are 2 values, and so on and so on, and that's on EVERY connection established to the server @josevalim

i'm pretty sure the prepared statement doesn't get dropped after the call. Take this simple sample
Messenger.RepoWrite.insert_all(Messenger.Thread, [[creator_id: 2, created: now]])
Messenger.RepoWrite.insert_all(Messenger.Thread, [[creator_id: 2, created: now], [creator_id: 3, created: now]])
Messenger.RepoWrite.insert_all(Messenger.Thread, [[creator_id: 2, created: now], [creator_id: 3, created: now], [creator_id: 4, created: now]])

mysql> select SQL_TEXT from prepared_statements_instances\G
*************************** 1. row ***************************
SQL_TEXT: SELECT CAST(s0.`version` AS unsigned) FROM `schema_migrations` AS s0 FOR UPDATE
*************************** 2. row ***************************
SQL_TEXT: INSERT INTO `thread` (`created`,`creator_id`) VALUES (?,?)
*************************** 3. row ***************************
SQL_TEXT: INSERT INTO `thread` (`created`,`creator_id`) VALUES (?,?),(?,?)
*************************** 4. row ***************************
SQL_TEXT: INSERT INTO `thread` (`created`,`creator_id`) VALUES (?,?),(?,?),(?,?)
4 rows in set (0.00 sec)

if you have an insert all with 2 values, 3 values, 4 values. All 3 prepared statements get prepared and it doesn't go away. And that is per connection. Then put it in a scenario wherein like user contactbook syncing wherein the number of entries are variable to the user (it could be 1 - 1000 or even more items) and spread it to let's say a pool of 10 connections. Then that would mean 1000 x 10 = 10,000 prepared statements in total.

This also applies to queries using IN.
SELECT * FROM table WHERE id IN [variable length]
The reason why I'm investigating all these prepared statement issues is because within a week of usage, we're usually reaching the 16k prepared statement limit. Ofcourse lifting the limit is one way to address the issue. But I'm not sure if that will be better rather than just cherry picking batch queries (batch insert and batch select) to force them to be of query_type: text

Just to be clear, you are using MyXQL master? But I actually think I know what is the bug. Once the statement changes, we should close the previous query, but we do not. IN statements should never leak though, as they are never cached.

yes 0.3.4

Master or v0.3.4? There are bug fixes in master that did not make it to v0.3.4 yet. :)

oh i will test tomorrow! will update you

@josevalim just an update.

Regarding the race condition issue with ecto cache i posted last week, it seems to have already been addressed with this build
BATCH INSERT With regards to this issue of variable length for insert_all, while it doesn't store one copy for each variable length, i notice that it stores that LAST insert_all statement you sent. I guess at least we're limited to just one batch insert statement stored on the cache. Although is this your intended purpose? (when i insert 2 entries, that statement gets prepared, when i send a batch of 3 entries afterwards, the 2 entry statement gets unprepared, while the 3 entry statement gets prepared and cached).
BATCH SELECT I notice on for select where in ?, the prepared statement doesn't stay in the cache. So there's just abit of inconsistency between batch insert and batch select

Btw, you were right, isnert_all was leaking statements but that’s now fixed on master.

@josevalim the test i did an hour ago was using your latest master which you commited also an hour ago.
The difference i see here is BATCH SELECT doesn't maintain a prepared statement on cache (probably expected behavior?) while BATCH INSERT does maintain the last prepared statement on cache

Yes, you are correct. We could maintain the last batch select in the cache too but I am not sure if it is necessary.

Hello @josevalim. It looks like the https://github.com/elixir-ecto/myxql/commit/7a5363a19f6e42e85ccb2893d2b0c2026fa7ece5 change may easily lead to performance degradation.
For example It could be inefficient to have two (or more but not infinite of course) queries like:

insert into table (field1, field2) values (value1, value2)
insert into table (field1, field2, field3) values (value1, value2, value3)

as if such queries will be called each one by one - previous prepared statement would be closed and new one created every time. I have looked at postgrex and it looks like it does not do it the such way (maybe I'm wrong didn't look really deep).
Is there any way (or could be considered as a feature request?) to set how many different queries could be cached per one cache statement name or we can change it only for insert_all and other more dynamic things than usual insert queries?

It is the responsibility of whoever is using the cache_statement to control how the cache keys are reused or if not at all.
currently there is no way on the client to get how many are shared but I believe there are queries you can run on the server.

It is the responsibility of whoever is using the cache_statement to control how the cache keys are reused or if not at all.

Yes. But If I understand correctly we just can't control it at all on the myxql side. At least for insert statements - https://github.com/elixir-ecto/ecto_sql/blob/master/lib/ecto/adapters/myxql.ex#L259.

currently there is no way on the client to get how many are shared but I believe there are queries you can run on the server.

I'm not really sure that I've understood about shared and  queries on the server. Could you please clarify what did you mean.
I don't use myxql directly but via ecto/ecto_sql and I'd like to have abilities to execute queries like I have posted in the previous message in a way that they will be prepared only once. I agree that the change provides a safeness for batch insert and cases like that, but maybe we can do it in more effective way.


[CP] Suppress invalid DWDS errors in Flutter tool

issue_link
https://github.com/flutter/flutter/issues/111136 and https://github.com/flutter/flutter/issues/109792 (duplicates)
Commit Hash
3b6e3a693
Target
stable
pr_link
https://github.com/flutter/flutter/pull/112887
Impacted Users
Flutter for web developers
Impact Description
When launching the flutter for web app, repeated log messages of Locations: No module for http://localhost:5555/dart_sdk.js in the browser console.
Workaround
Ignore the log messages. The application still works, however legitimate debug logs may be obscured.
Risk
low
Test Coverage
yes
Validation Steps

Debug example/hello_world in VSCode on Chrome
set a breakpoint at runApp and start debugging
there should be no warnings in the debug console window when the breakpoint is hit

@itsjustkevin & @zanderso WDYT about this? It's an annoyance, but a very low-risk fix.

CP lgtm in a vacuum, but if this is the only fix, I don't think we should cut a release just for it. Are there other CPs lined up?

Xilai just merged cherrypicks to the framework RC branch 2 hours ago, so i suspect there are no others lined up.


[Feature][Connector-V2] Some optimization suggestions for JDBC source support for string types as partitioning keys

Search before asking

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

Description
Some optimization suggestions for JDBC source support for string types as partitioning keys：https://github.com/apache/seatunnel/pull/4947
Although the implementation supports string types as partitioning keys, this design is not very reasonable. Firstly, it affects the table_ The MD5 hash function is applied to each value in the name column, and the obtained hash value is modulo 10, followed by an absolute value. Only rows with a result equal to 1 will be selected.
For example, the specified partition is 10:
The actual SQL executed in the business library is:
partition 1：
SELECT * FROM (
select * from metastore_bdc.collect_dct_table_info
) tt where ABS(MD5(table_name) % 10) = 1;
partition 2：
SELECT * FROM (
select * from metastore_bdc.collect_dct_table_info
) tt where ABS(MD5(table_name) % 10) = 2;
。。。

As shown in the figure, this type of query runs through the entire table in the business library and does not utilize index keys, resulting in no performance improvement.
Suggested reference: Sqoop's method of string segmentation, digitizing existing Unicode characters
Reference link：https://blog.csdn.net/fyhailin/article/details/79069475
I have a suggestion：
Fragmentation rules (indexed, not indexed)

The step size of fixed field values is determined by setting the number of shards using the maximum and minimum values of the fields. Advantage: Fast sharding speed，Disadvantage: Data skew

Fixed number of records, starting with the minimum value, sorted to take the fixed number of records, calculated the corresponding end position, and used the current end position as the starting position for the next sharding prediction, iteratively obtaining the sharding rules.
Advantages: Absolute data balance Disadvantages: Slow sharding prediction

Supplementary explanation:
Using Scheme 1 without Index
Using Scheme 2 with indexes (indexes can improve sharding prediction)
Usage Scenario
Optimize JDBC source support string type as partition key.
Related issues
[Feature][Connector-V2] JDBC source support string type as partition key:
https://github.com/apache/seatunnel/pull/4947
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

Regarding the uneven distribution of md5 data, can we splice uuid?
@2416210017 @Hisoka-X h

Good job.

@ic4y  PTAL


Add required VerifyingObserverIdentificationCodeSequence

In the SR CIODs we are using, the Verifying Observer Identification Code Sequence is a Type 2 attribute of the Verifying Observer Sequence, meaning it must be present, even if empty (reference).
Currently this is completely omitted. The dciodvfy tool is flagging this as an error for any SRs constructed with a verifying obersver.
This PR simply adds an empty sequence to bring the files into compliance with the standard.
Another option would be to give the user the possibility to pass the information necessary to populate this sequence.

Another option would be to give the user the possibility to pass the information necessary to populate this sequence.

I don't know what that attribute is actually indented for. So I think it's fine to just include an empty sequence for now. We can revisit in case need arises in the future.


How are sql queries divided among nodes?

From Gitter:

how are sql queries divided amongst nodes? Let's say I have 30 queries and 30 nodes. How is it decided how work will be split?

@andreimatei's answer:

the queries will be executed by the server to which the client app has opened a connection.

If we're gonna put this in some docs, we should a) figure out what one of
those postgres balancers is and test that it indeed works with CRDB (I
think someone here has tried that before) and b) also mention how we're in
the process of distributing SQL computation throughout the cluster, to
serve as a nuance of what "a client connecting to a server" means - the
server to which the client connects does have a special role and bears some
specific burden, but other servers also do work on behalf of that client.
So perfect balancing of the connections does not ensure perfect balancing
of work in the cluster.
On Tue, Jul 12, 2016 at 4:26 PM, jseldess<EMAIL_ADDRESS>wrote:

From Gitter:
how are sql queries divided amongst nodes? Let's say I have 30 queries and
30 nodes. How is it decided how work will be split?
@andreimatei https://github.com/andreimatei's answer:
the queries will be executed by the server to which the client app has
opened a connection.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cockroachdb/docs/issues/448, or mute the thread
https://github.com/notifications/unsubscribe/AAXBcZph--rsAPOgW_f5W1mZUojtWD1sks5qU_hzgaJpZM4JKylH
.

Anecdotally, pgbouncer appears to be one of the most common postgres load balancers, and I verified that it works with cockroachdb.

We have decent load balancing docs at this point, but connection pooling is still missing. Closing this in favor of https://github.com/cockroachdb/docs/issues/978.


[issue-2178] updated CHANGELOG.md

[ ] Bug fix
[ ] New feature
[ ] BC breaks
[ ] Deprecations
[ ] Tests added
[x] Changelog updated?

Added missing entry about change introduced as a part of fix for the issue #2178.
Sorry, didn't notice that the CHANGELOG.md wasn't staged for commit.

No worries.


Planned support for zigbee?

I'm almost starting a zigbee project in rust. Will this project eventually have zigbee support? I'd like to not reinvent the wheel

The Matter spec differs from the ZigBee one. I wouldn't expect there to be ZB support in this project.

I personally cannot say yes or no. After all, the Matter cluster/library spec is based on Zigbee.

I want to move to thread/matter but keeping my zigbee devices is crucial, so I think lots of people would want that as well. I don't know, I'll start playing with zigbee for now, it's just an experiment, maybe it evolves to something serious in the future.
Thanks!

You could look into the chapter about bridges in the Matter specification, as this would be relevant there. Yes, a Zigbee-Matter bridge stack that's built in Rust would be appealing to some of us.


Do not allocate resources within test constructor

Maven surefire plugin does not report full exception when it happens
during test class constructor call.

@kokosing @electrum it's "WIP" because i applied this to PostgreSQL connector only.
Please review the approach before I roll this out everywhere (perhaps over few PRs).

cc @eskabetxe


Add Usage Example

What you want to add
I have tried to add it in my test repo. It didn't work.
It will be better to add Usage Example
Why this is needed
Help user to use this action

It didn't work. like those.
Test PR
Test issue

The current way of using it is like touching the elephant by the blind, I think it’s not very good

action-add-lable didn't work. link

name: Add Label

on:
  issue_comment:
    types: [created, deleted]
  issues:
    types: opened

jobs:
  add_label:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions-ecosystem/action-add-labels@v1
        if: ${{ startsWith(github.event.comment.body, '/add-labels') }}
        with:
          labels: bug

This is the example for add label when you create a issue .
Github-Action bot will add label "bug" when you add a comment to issue and comment startwith '/add-labels'.

you can use this to get the PR topic
  - uses: actions-ecosystem/action-add-labels@v1
    if: ${{ startsWith(github.event.pull_request.title, 'feat') }}
    with:
      github_token: ${{ secrets.GH_PAT }}
      labels:
         feature


Enable Latest and minimum dependency test

Enable latest and minimum dependency test to verify packages against released required package
Disable pip cache when running tox environment
Fix issue in minimum dependency test for management packages by setting minimum version for azure-common to 1.1.10
Add manual override to run all dependency test.

Can one of the admins verify this patch?


Add option to disable ANSI color codes in diff

As click seems not to support this globaly, you should implement this per project. See https://github.com/pallets/click/issues/2207
Please add an option, e.g. --color=no and/or support https://no-color.org/

I'm OK with this change. It can support both env variable (NO_COLOR) and --no-color flag (and color = false in toml configuration file).

Should be implemented like https://github.com/MarketSquare/robotframework-tidy/blob/bbfcea389ab51e29a51571a3a82b56ac8f809da6/robotidy/cli.py#L220 but with default equal to value from env variable (like here https://click.palletsprojects.com/en/8.0.x/advanced/?highlight=envvar#:~:text=1%2C default%3D8080%2C-,envvar%3D"PORT"),-%40click.pass_context%0Adef ). Decorating with ANSI color is done here https://github.com/MarketSquare/robotframework-tidy/blob/bbfcea389ab51e29a51571a3a82b56ac8f809da6/robotidy/app.py#L126 so it should be easy to wrap it in if statement depending on color variable.
I can implement it but I will label it is as good first issue since it looks good enough for first commiters. If nobody will take upon it I will do it later.

Released in Robotidy 2.2.


Fix SharedStringAsset instantiation / log spam

SharedStringAsset is a ScriptableObject which must be instantiated using ScriptableObject.CreateInstance(). Owlcat's implementation uses new() leading to 10k+ log lines when loading mods using WrathModificationTemplate, e.g. Homebrew Archetypes.
This replaces Owlcat's function for reading SharedStringAsset from JSON with one that properly instantiates them.
Also includes a minor change to Info.json: LoadAfter: [ "MewsiferConsole.Mod" ]. This has no effect if the user does not have Mewsifer Console, but if they do it ensures that all logs for BugFixes are shown in the console.

Thanks for the improvements! Since I was in the middle of other changes (and I didn't want to force you to rebase), I just manually merged it in!


Add close button to manifests panel

When swapping an object in a slot, allow user to close out screen if they don't want to actually add a new object

+1 for close button and esc key


@peduarte/examples

I moved the examples from rainbowkit-examples to this repo, inside an examples folder.
I updated to READMe to explain how users can run examples locally.
I decided to not add examples to CI, because it means building them for each PR and it seemed a bit much. I've also not added a dedicated dev script for each example in the root package.json for simpler maintenance.
Resolves TEAM1-1

Reviewed the monorepo setup (as opposed to each of the examples) and I think it's looking good!


GMM for Autograd

Implements GMM for Autograd

@samestep I think that should be fixed now but the most recent build says Error: Process completed with exit code 137.. Could this have to do with the fact that GMM was still running after about 50 minutes?

I think that is an out-of-memory error from Docker. Some of the GMM datasets are pretty memory-hungry, IIRC.

Marking this as draft for now, can undraft once it's working.


update ics subscription

The provided calendar is only valid for a bit more than a month.
Could you generate a new one that extends longer? I believe many people are dependent on the one put out in the link.

Thanks for the reminder. It covers 2020 - 2022 now.


Ant fails when there is a double quote in the PR name

Hello,
I don't really explain that but when we have a double quote inside the name of the PR, the build fails with error like:
BUILD FAILED
Target "answer bug" does not exist in the project "****".

(with PR named Fixed the "phantom answer" bug)
I don't even know if the problem is from gh-pr but as it's pull-request related i report here.

@Nek- please show screenshot of job configuration, publishers or steps should have help button that has line with description from what plugin it come.

The configuration is quite simple:

Need something else ? The rest of the config is quite standard.

@lanwen did you have such issue?

Could you post build.xml for failed build? (you can cut secret info)

Target "answer bug" does not exist in the project "****".  is ant error. Seems you are using not escaped variable in ant configs and it fails.

Sorry @KostyaSha I didn't saw you answered so fast.
It's a problem of escaping, yes. But I don't write the command that calls ant, it's generated by jenkins. So the problem cannot comes from one of my configurations.

Some jenkins plugins do bad thing and injecting all available variables into command execution (i.e. maven plugin). I don't think that it PR plugin issue as PR title looks valid in job parameters or in any non shell execution step. You may try hook and override (escape) this variable as additional step just before ant step.

The simpliest solution looks to launch ant by hand without using the ant step :') .
Anyway thanks.

@Nek- not really if ant provides light info in build i.e. executed build steps, their times, etc... As experiment try override title variable content with some other that doesn't contain " "


Inconsistency padding properties when using flex

This get weird when I add padding properties
React Native version:
System:
OS: macOS 11.2.1
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 116.91 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 15.3.0 - /usr/local/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 6.14.9 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
Android SDK: Not Found
IDEs:
Android Studio: 4.1 AI-201.87<IP_ADDRESS>42882
Xcode: 12.4/12D4e - /usr/bin/xcodebuild
Languages:
Java: 11.0.8 - /usr/local/opt/openjdk@11/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.1 => 17.0.1
react-native: 0.64.1 => 0.64.1
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps To Reproduce
This is test code here
<Text>Simple flex</Text>
<View style={{ flexDirection: "row", borderColor: "blue", borderWidth: 1, padding: 10, height: 40, }}>
  <View style={{ flex: 1, borderWidth: 1, borderColor: "green" }} />
  <View style={{ flex: 1, borderWidth: 1, borderColor: "red" }} />
</View>
<Text style={{ marginTop: 20 }}>Padding with flex</Text>
<View style={{ flexDirection: "row", borderColor: "blue", borderWidth: 1, padding: 10, height: 40, }}>
  <View style={{ flex: 1, padding: 0, borderWidth: 1, borderColor: "green" }} />
  <View style={{ flex: 1, padding: 20, borderWidth: 1,  borderColor: "red" }} />
</View>

I think it is necessary to use margin

I think it is necessary to use margin

I mean using padding make those flex child (green and red view) doesn't have the same width.

Put this in a snack here

What I want to say is flex has not the same WIDTH when add padding. Let's compare with the Simple Flex in my example, they are the same, and they should still be same when I add padding.
Anyway, sorry for using wrong height that make you misunderstand

I updated my code above to clearly show the problem

I believe this is just expected from flex layout. For example if I translate your markup to HTML like so:
Simple flex

Padding with flex

I get the same result. You can run that in a jsFiddle here.
If it behaves this way with HTML flexbox layout then it seems correct that RN/Yoga flexbox match. This appears to be by design.


FiniteExcited() throws SpaceMismatch() error

I am trying to find the first excited state of the Heisenberg model using DMRG on a finite lattice leveraging SU(2) symmetry:
using MPSKit, TensorKit

# Define Heisenberg MPO
SL = -3 / 4 * TensorMap(ones, ComplexF64, SU₂Space(0 => 1) ⊗ SU₂Space(1 / 2 => 1) ← SU₂Space(1 / 2 => 1) ⊗ SU₂Space(1 => 1))
SR = TensorMap(ones, ComplexF64, SU₂Space(1 => 1) ⊗ SU₂Space(1 / 2 => 1) ← SU₂Space(1 / 2 => 1) ⊗ SU₂Space(0 => 1))

A = Array{Any,3}(missing, 1, 3, 3)
A[1, 1, 1] = 1
A[1, 1, 2] = SL
A[1, 2, 3] = SR
A[1, 3, 3] = 1
# On 6 sites
H = MPOHamiltonian(repeat(A, 6, 1, 1))

alg = DMRG2(; trscheme=truncerr(1e-6))

# Ground state
ψ₀ = FiniteMPS(randn, ComplexF64, convert(Vector, H.pspaces), SU2Space([i => 1 for i = 0:1/2:2]...))
ψ, envs, delta = find_groundstate(ψ₀, H, alg);

# Excited state
(ϵs, ψs) = excitations(H, FiniteExcited(gsalg=alg), ψ; init=ψ₀)

This gives the error ERROR: SpaceMismatch("ProductSpace(Rep[SU₂](1/2=>2, 3/2=>1)) ≠ ProductSpace(Rep[SU₂](1/2=>1, 3/2=>1))"). Is my code wrong or is this a bug in ∂∂AC2 for ProjectionOperators?

Thanks for catching that, it does seem to be a mistake from our end. Also many thanks for the reproducible example, this immensely sped up the process for me to fix it!


Fix disabled args appearing in documentation.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

Closes #12581.

Review period skipped due to critical label.

Great work here, thanks @Bo98!


🐛 Bug Report: React Native - createOAuth2Session throws error

👟 Reproduction steps
Start a new React Native project.
Enable OAuth.
import React from 'react';
import {Button, Text, View} from 'react-native';
import {Client, Account} from 'appwrite';

const client = new Client()
  .setEndpoint('https://endpoint/v1')
  .setProject('12343455667');

const App = () => {
  function handleUserLogin() {
    const account = new Account(client);
    const session = account.createOAuth2Session('google');
    return session;
  }

  return (
    <View>
      <Text>Hello world</Text>
      <Button title="Login" onPress={handleUserLogin} />
    </View>
  );
};

👍 Expected behavior
Should have opened a window for selecting an account from the OAuth client like google
👎 Actual Behavior
Throwed Error
TypeError: Cannot set property href of [object WorkerLocation] which has only a getter

🎲 Appwrite version
Different version (specify in environment)
💻 Operating system
Windows
🧱 Your Environment
I am using Appwrite v:<IP_ADDRESS>0
React Native 0.70.1
React 18.1.0
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

I would like to work on this issue please

This is where the error occurs:
https://github.com/appwrite/sdk-for-web/blob/98d0c5a212e7fd7a11d9f11625e1a4b7347e5cca/src/services/account.ts#L674
Looks like href is read only in react native

I try but don't show login form of google. Please check. Thanks

React-native can't just open a web url. The Appwrite SDK was designed for web browsers, which make redirections, and for that reason certain parts like OAuth authentication won't work out of the box in react-native. There are a few ways around this though:

As far as I know, the recommended way to do OAuth authentication in mobile is by triggering the phone's external browser to do the authentication and go back to your app with the token. There are libraries that do this such as "react-native-app-auth". but bear in mind that, as of today, it will require some configuration on your app, although you can find all the steps in their github page.
You can roll out your own OAuth implementation by adding a WebView into your app and capturing the redirections. This is not recommended anymore though, due to potential security implications, and certain providers like Facebook have started to try to prevent developers from using this method (although at the moment can still be overridden)
If you choose to go with option 2. I created long ago a react-native component that implements the OAuth flow over a WebView and should work with the latest Appwrite version as of December 2022. You can find it here "react-native-appwrite-oauth".

Hope this helps

We're working a new dedicated React Native SDK. Moving this issue to the new repository


Remove non-existing images from docker-compose.yml

Hi there,
Using the latest version of Docker Compose, the docker-compose up command will fail, asking the user to authenticate to Docker Hub in case the houdini image is private. I found the solution to this was to simply remove these and replace them with the build directive where appropriate.
Thanks!

Hello there,
While this would work but this would waste time.
Right now the setup is to create 1 image and then reuse the image,
not sure why this managed to break docker but this isn't the best solution

This is exactly what my PR does too, but alright.

Believe it or not, Docker is smart enough to reuse the built image. But if you're not open to a PR, I'll just modify the file locally.

Well I apologize it seems you are correct, Please reopen the PR


click error on itunes

python 2.7.13 64x on windows 2008 R2
from pywinauto.application import Application
app = Application(backend="uia").connect(path="iTunes.exe")
....
try:
    itunes.Static.Pane0.child_window(title="Continue", found_index=0,visible_only=False).click()
except Exception as e:
    print e

ouput:
{'parent': <uia_element_info.UIAElementInfo - '', iTunesWebViewControl, 31457632>, 'title': 'Continue', 'visible_only': False, 'found_index': 0, 'top_level_only': False, 'backend': u'uia'}
the error happens quite often. 20-50%

Just a small remark: why do you try to click on something that is invisible ? You use visible_only=False in your filters

does that matter? I can also remove it.

I'm not sure yet, just thinking. If your control is visible you may try to use "click_input" that is a more realistic mouse emulation.

Hi @wangtubs please provide more detailed output and where it happens (which page of iTunes?). So that I could reproduce it on my side.
From your report I can assume it fails with ElementNotFound error. Usually such timing issues happen when parent window initialization takes around 5 seconds (default timeout in pywinauto) so you have 50% probability of a failure. To make it stable just use method .wait('ready', timeout=10).
continue = itunes.Static.Pane0.child_window(title="Continue", found_index=0, visible_only=False)
try:
    continue.wait('visible enabled', timeout=10) # wait 10 seconds
    continue.click()
except Exception as e:
    print e

hi, thanks. It seems my problem. I use both lackey and pywinauto. sometimes gets error.