Build failure when compiling using MinGW with LTO enabled (with more than 1 thread)

Operating system or device, Godot version, GPU Model and driver (if graphics related):

Windows 10 Fall Creators Update / Fedora 26 (both using MinGW-w64, with GCC 7.2.0)
Godot Git https://github.com/godotengine/godot/commit/fd89924ea55209ff4b1353d2b91bd019cbbbcb11

Issue description: Godot fails to build with link-time optimization (LTO) enabled, but only when using more than 1 thread.
Fedora 26 build log:
[100%] Linking Program        ==> bin/godot.windows.opt.32.exe
/usr/lib/gcc/i686-w64-mingw32/7.2.0/../../../../i686-w64-mingw32/bin/ld: hq2x.windows.opt.32.o (symbol from plugin): warning: No symbol for section '__ZZN4Math9fast_ftoiEfE1b' found
/usr/lib/gcc/i686-w64-mingw32/7.2.0/../../../../i686-w64-mingw32/bin/ld: cannot find -lpthread
collect2: error: ld returned 1 exit status
scons: *** [bin/godot.windows.opt.32.exe] Error 1
scons: building terminated because of errors.

Windows (MSYS2) also has an undefined reference on the same file.
Steps to reproduce: Build Godot using scons p=windows tools=yes target=release_debug use_lto=yes -j$(nproc).

Note: the pthread issue is solved by using dnf install mingw64-winpthreads-static mingw32-winpthreads-static. The other issue remains when using more than 1 thread.

Weird...
I just did a clean install of Fedora 26 on a VM and it's working for me.
Tested both 64 and 32 bits builds.
I haven't tested on windows.

I can still reproduce this as of https://github.com/godotengine/godot/commit/5b00cd89d318a92e7970fbdf80d9fca424e15224:
C:/Users/Hugo/scoop/apps/gcc/current/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: hq2x.windows.opt.tools.64.o (symbol from plugin): warning: No symbol for section '_ZZN4Math9fast_ftoiEfE1b' found
lto-wrapper.exe: fatal error: CreateProcess: No such file or directory
ompilation terminated.
C:/Users/Hugo/scoop/apps/gcc/current/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: error: lto-wrapper failed
collect2.exe: error: ld returned 1 exit status

Can confirm this issue is present on 791d7f78b w/ mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0
And not just to say #metoo, but I'm experimenting with optimized builds:
scons.py platform=windows use_mingw=yes target=release tools=no use_lto=yes verbose=yes CCFLAGS="-O3 -march=native" -j12
I didn't know it was a multithreaded issue, so restarting without the -j12 to finalize the linking is an acceptable workaround for now. Thanks for the info.
I've had zero other issues with multithreaded compiling, so I haven't seen any behavior I would describe as wonky or unreliable on windows/gcc, windows/msvc, or linux/gcc.
Side note: multithreaded compiling with -jN where N = 2x the number of cores gives me much better performance than 1x. I have a 6 core processor and recompiled Godot with everything from -j6 to -j18.  -j12 was the fastest. Anything less than 12 doesn't peg my CPU to 100%. And even at 12, my system is still usable for other tasks. Anything more than 12 doesn't provide any further compiling speed.

Could be related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88422. Is debug information present in godot even when building with target=release debug_symbols=no?

-flto=n depends on make see  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90443 in case of scoop scoop install make will fix this.

I can confirm installing make using scoop install make solves the issue.
@YRTV Thanks for contributing to the documentation :slightly_smiling_face:

Setup:

Godot 3.3.2-stable

Python 3.9.0

SCons: v4.2.0

Module spine-runtime-for-godot, Branch spine3.8

MinGW64 Configuration:
On Windows 10 I installed WinGW-W64 8.1.0 using the x86_64-posix-seh file from the Source Forge page
I just downloaded the zip, extracted it into a folder and set the Path Environment Variable by adding the path: C:/MinGW/MinGW64/bin.
Issue description:
When executing the command:
scons platform=windows use_mingw=yes target=release_debug use_lto=yes -j12

Same as above, source code was compiled using 12 threads but failed Linking. If you run the command without the -j12 flag, it worked.
Solution:
On Windows 10, there is no executable make.exe, it is called mingw32-make.exe and it is located inside the bin directory of MinGW64 (in my case, inside the directory C:/MinGW/MinGW64/bin).
To solve the problem, I simply created a copy of the mingw32-make.exe file and renamed it to make.exe.
Just by doing that, the command came back to work.


Error: The platform win32-x64 is not currently supported!

C:\Users\alexd\gpu-brick-sort>yarn add node-gles
yarn add v1.16.0
warning ......\package.json: No license field
[1/4] Resolving packages...
[2/4] Fetching packages...
info<EMAIL_ADDRESS>The platform "win32" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The platform "win32" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>[4/4] Building fresh packages...
error C:\Users\alexd\gpu-brick-sort\node_modules\node-gles: Command failed.
Exit code: 1
Command: node scripts/install.js
Arguments:
Directory: C:\Users\alexd\gpu-brick-sort\node_modules\node-gles
Output:
C:\Users\alexd\gpu-brick-sort\node_modules\node-gles\scripts\install.js:44
throw new Error(The platform ${platformArch} is not currently supported!);
^
Error: The platform win32-x64 is not currently supported!
at Object. (C:\Users\alexd\gpu-brick-sort\node_modules\node-gles\scripts\install.js:44:9)
at Module._compile (internal/modules/cjs/loader.js:805:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:816:10)
at Module.load (internal/modules/cjs/loader.js:672:32)
at tryModuleLoad (internal/modules/cjs/loader.js:612:12)
at Function.Module._load (internal/modules/cjs/loader.js:604:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:868:12)
at internal/main/run_main_module.js:21:11
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

The README says windows support is planned

I can confirm this is still the case:
Error: The platform win32-x64 is not currently supported!
It seems quick search in google/angle should support it so I suppose it should be an easy fix.


[BOT PR] to update dependencies of istio

This PR will be merged automatically once checks are successful.
none

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: istio-testing
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: costinm
Assign the PR to them by writing /assign @costinm in a comment when ready.
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

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

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
f53ba302b5a737a9fb369d2a9def6356ed10f325
link
/test e2e-simple

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 kubernetes/test-infra repository. I understand the commands that are listed here.


Fastnlight: Watch osun-cat.com

Fastnlight requests the watch of the watch_keyword osun-cat\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

osun-cat\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Spevacus in Charcoal HQ


F* cli: --interface: add warning when selecting an item dropped by -i

Inlined in https://github.com/hacspec/hax/issues/497


Queuing design example

Describe the bug
Although I installed different versions of the diffcp, the code does not work. Please check it and let me know.
Many thanks
The error from running the exact code:
ValueError                                Traceback (most recent call last)
 in <cell line: 18>()
16
17 problem = cp.Problem(cp.Minimize(objective_fn), constraints)
---> 18 problem.solve(requires_grad=True, gp=True, eps=1e-14, max_iters=10000, mode = 'dense')
6 frames
/usr/local/lib/python3.10/dist-packages/scs/init.py in init(self, data, cone, **settings)
127
128         # Initialize solver
--> 129         self._solver = _scs.SCS(
130             (m, n),
131             Adata,
ValueError: Error parsing inputs

Hello @YasserZ95 , could you share with us some more details for the problem you are trying to solve please?
The following would be nice:

a full code sample, if possible
the cvxpy version you are using
the machine you are using

Hi William,
Thanks for your email. I used the exact code from the queuing design
example (https://www.cvxpy.org/examples/derivatives/queuing_design.html)
I am using the latest version of the cvxpy.
I am using google colab (free version)
Best,
Yasser
On Sun, Jul 28, 2024 at 11:26 PM William Zijie Zhang <
@.***> wrote:

Hello @YasserZ95 https://github.com/YasserZ95 , could you share with us
some more details for the problem you are trying to solve please?
The following would be nice:

a full code sample, if possible
the cvxpy version you are using
the machine you are using

—
Reply to this email directly, view it on GitHub
https://github.com/cvxpy/cvxpy/issues/2516#issuecomment-2254973746, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ASLXOUY4R3NOIPCZ4UN7LQLZOXHBRAVCNFSM6AAAAABLTDXINSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUHE3TGNZUGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Yasser Zeinali
Ph.D. Student of Business Analytics
Department of Accounting and Business Analytics
Alberta School of Business | University of Alberta (Canada)

Hello @YasserZ95
I just tried the following on google colab and it seems to work without any problems
!pip install diffcp
import cvxpy as cp
import numpy as np
import time

mu = cp.Variable(pos=True, shape=(2,), name='mu')
lam = cp.Variable(pos=True, shape=(2,), name='lambda')
ell = cp.Variable(pos=True, shape=(2,), name='ell')

w_max = cp.Parameter(pos=True, shape=(2,), value=np.array([2.5, 3.0]), name='w_max')
d_max = cp.Parameter(pos=True, shape=(2,), value=np.array([2., 2.]), name='d_max')
q_max = cp.Parameter(pos=True, shape=(2,), value=np.array([4., 5.0]), name='q_max')
lam_min = cp.Parameter(pos=True, shape=(2,), value=np.array([0.5, 0.8]), name='lambda_min')
mu_max = cp.Parameter(pos=True, value=3.0, name='mu_max')
gamma = cp.Parameter(pos=True, shape=(2,), value=np.array([1.0, 2.0]), name='gamma')

lq = (ell)**(-2)/cp.one_minus_pos(ell**(-1))
q = lq
w = lq/lam + 1/mu
d = 1/cp.diff_pos(mu, lam)

constraints = [
    w <= w_max,
    d <= d_max,
    q <= q_max,
    lam >= lam_min,
    cp.sum(mu) <= mu_max,
    ell == mu/lam,
]

objective_fn = gamma.T @ ell

problem = cp.Problem(cp.Minimize(objective_fn), constraints)
problem.solve(requires_grad=True, gp=True, eps=1e-14, max_iters=10000, mode='dense')

Could you try restarting the kernel and running the code block above please?

Hi again William,
Thanks for your email. Yesterday, I installed different versions of diffcp
but I could not run the code. Now, it is working! Can I also ask technical
questions about the queuing problem?
Many thanks!
Yasser

@YasserZ95 yes sure feel free to ask your question!

Thanks William!
There are two things that I need your explanation for.

In queuing theory, \rho (here 'ell') is lambda/mu. In this example, ell
is reversed (mu/lambda). Therefore, in the formulas, we have to use -2 or
-1. I changed the ell to lambda/mu and also changed the powers to 2 and 1.
Then I got different values for the variables! Why does this happen?

The variables results for the original problem:
mu [1.32842712 1.67157288] lam [0.82842712 1.17157288] ell [1.60355339
1.4267767 ]
The variables results for the modified problem:
mu  [1.07571052 1.92428948]
lam  [0.5 0.8]
ell  [0.46480906 0.41573787]

Why do we have a range for optimal values? Is it because of the use of
derivatives?

Many thanks for your help dear William,
Yasser
On Mon, Jul 29, 2024 at 7:35 PM William Zijie Zhang <
@.***> wrote:

@YasserZ95 https://github.com/YasserZ95 yes sure feel free to ask your
question!
—
Reply to this email directly, view it on GitHub
https://github.com/cvxpy/cvxpy/issues/2516#issuecomment-2257291968, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ASLXOU52BOZNLXUXZABGUHDZO3UUZAVCNFSM6AAAAABLTDXINSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJXGI4TCOJWHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Yasser Zeinali
Ph.D. Student of Business Analytics
Department of Accounting and Business Analytics
Alberta School of Business | University of Alberta (Canada)

Interesting questions. It's not a range. The variables all have dimension 2. If you redefine ell you have to make sure you adjust all the places ell appears. Perhaps you missed the objective, which also involves ell.

Thanks Steven,
I now understand why we had two values for each variable! But, I am
skeptical that your answer to my first question is not correct! Once we
change those powers to positive values and also we change the definition of
the ell in the constraint, then we do not need to change ell in the
objective function. I understand that if we do not change ell in the
objective, the obj value would be different, but why do we get different
optimal values for variables?
Many thanks,
Yasser
On Tue, Jul 30, 2024 at 5:27 PM Steven Diamond @.***>
wrote:

Interesting questions. It's not a range. The variables all have dimension
2. If you redefine ell you have to make sure you adjust all the places ell
appears. Perhaps you missed the objective, which also involves ell.
—
Reply to this email directly, view it on GitHub
https://github.com/cvxpy/cvxpy/issues/2516#issuecomment-2259362833, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ASLXOU5SQ4UW66AMJMEO6BTZPAOMHAVCNFSM6AAAAABLTDXINSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJZGM3DEOBTGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Yasser Zeinali
Ph.D. Student of Business Analytics
Department of Accounting and Business Analytics
Alberta School of Business | University of Alberta (Canada)

If the objective is different, the optimal values will be different. You would need the objective to be gamma * ell**-1 with your reformulation.

Thanks William. I also have another question for you. Can we also model
systems with more than 1 server? Such as M/M/c?
Best,
Yasser
On Wed, Jul 31, 2024 at 10:57 AM Steven Diamond @.***>
wrote:

If the objective is different, the optimal values will be different. You
would need the objective to be gamma * ell**-1 with your reformulation.
—
Reply to this email directly, view it on GitHub
https://github.com/cvxpy/cvxpy/issues/2516#issuecomment-2260962138, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ASLXOU5Q54LJB2PD65EZZR3ZPEJPBAVCNFSM6AAAAABLTDXINSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRQHE3DEMJTHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Yasser Zeinali
Ph.D. Student of Business Analytics
Department of Accounting and Business Analytics
Alberta School of Business | University of Alberta (Canada)


improvement optimize the usage of fs benchmark tool for hdfs

Proposed changes
Optimize the usage of fs benchmark tool:

Remove Open benchmark, it is useless.

Remove Delete benchmark, it is dangerous.

Add SingleRead benchmark, user can specify an exist file to test read operation:
sh bin/run-fs-benchmark.sh --conf=conf/hdfs_read.conf --fs_type=hdfs --operation=single_read

Modify the run-fs-benchmark.sh, remove OPTS section, use options in fs_benchmark_tool directly

Add some custom counters in the benchmark result, eg:

--------------------------------------------------------------------------------------------------------------------------------
Benchmark                                                                      Time             CPU   Iterations UserCounters...
--------------------------------------------------------------------------------------------------------------------------------
HdfsReadBenchmark/iterations:1/repeats:3/manual_time/threads:1              6864 ms         2385 ms            1 ReadRate=200.936M/s
HdfsReadBenchmark/iterations:1/repeats:3/manual_time/threads:1              3919 ms         1828 ms            1 ReadRate=351.96M/s
HdfsReadBenchmark/iterations:1/repeats:3/manual_time/threads:1              3839 ms         1819 ms            1 ReadRate=359.265M/s
HdfsReadBenchmark/iterations:1/repeats:3/manual_time/threads:1_mean         4874 ms         2011 ms            3 ReadRate=304.054M/s
HdfsReadBenchmark/iterations:1/repeats:3/manual_time/threads:1_median       3919 ms         1828 ms            3 ReadRate=351.96M/s
HdfsReadBenchmark/iterations:1/repeats:3/manual_time/threads:1_stddev       1724 ms          324 ms            3 ReadRate=89.3768M/s
HdfsReadBenchmark/iterations:1/repeats:3/manual_time/threads:1_cv          35.37 %         16.11 %             3 ReadRate=29.40%
HdfsReadBenchmark/iterations:1/repeats:3/manual_time/threads:1_max          6864 ms         2385 ms            3 ReadRate=359.265M/s
HdfsReadBenchmark/iterations:1/repeats:3/manual_time/threads:1_min          3839 ms         1819 ms            3 ReadRate=200.936M/s

For open_read and single_read, add ReadRate as bytes per second.
For create_write, add WriteRate as bytes per second.
For exists and rename, add ExistsCost and RenameCost as time cost per one operation.

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

run buildall

run buildall

LGTM.


Regenerate the feedstock to support Py36

I hope this will provide Python 3.6 support for libtiff.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Please update the selectors in the recipe as well. Also should pick either Python 3.5 or 3.6 and skip one on Windows as they use the same VC.
Note that this is not the Python library libtiff in case there is some confusion.
ref: https://github.com/conda-forge/staged-recipes/wiki/VC-features

Ah, I didn't realize this was the actual libtiff and not the python wrapper.
In that case, best to leave it like this or else VC10 would be skipped for builds from now on.


Create utility widgets

[ ] ThemeData
[x] ColorSchemes
[x] Buttons
[x] Appbars
[ ] Icons

Stay opened for the further developments


Fixed observe TypeError

ypeError: Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element' happend when using with React-Router Link component.

@andsmi97 thanks for finding this bug!

Closes: #18


Initial AIX support

Add support to build on AIX operating system. Most of the changes are in fs part. Since AIX is still tier-3 target, current support is minimal and does not require passing all tests.

Thanks for your PR :)


Optimization for chunks

RECURSOS

https://medium.com/webpack/webpack-4-mode-and-optimization-5423a6bc597a
https://wanago.io/2018/07/30/webpack-4-course-part-five-built-in-optimization-for-production/

CommonChunksPlugin is deprecated in webpack 4.


[test] Check that the C/C++ module maps are looked for in -resource-dir before -sdk

as changed in #74814
Also, dump the module map paths when -Xfrontend -dump-clang-diagnostics is passed in, both so we can check that manually and in these tests, and fix another Frontend test to be more specific now that this other output trips it up.
Currently, the ClangImporter silently adds most of these module maps to the build and there's no way to check that on the commandline.
@egorzhdan, the test I've been saying I'd write, please review.
@andrurogerz, I see you're building Android on Windows for TBC: has the linked pull caused any issues for you, as reported in those comments before?

@swift-ci please test

Updated to fix another test that was failing on the linux CI because of the new diagnostic output, and rebased.

@finagolfin this is not an issue I would have encountered, but since I am set up for Android on Windows builds I will try to repro today and see how far I get.

@finagolfin this is not an issue I would have encountered, but since I am set up for Android on Windows builds I will try to repro today and see how far I get.

No luck-- I just run into other build issues (same as we're facing in our CI right now). @hyp do you have a working setup to build swift-firebase for an Android target on Windows?

@swift-ci please test

Sigh, bash logic doesn't work on the Windows CI:
$ "if" "[" "windows-msvc" "==" "linux-gnu" "]"
# command stderr:
'if': command not found
error: command failed with exit status: 127

Looked at other tests and found a better way to make that test linux-only: have it check for two prefixes, one that works on all platforms and the other using %target-os for a few platforms.
Linux and Mac CI passed, this last change should get this passing on Windows too finally.

@swift-ci please test

Passed CI, ready for review and merge.

@compnerd, get a chance yet to try that updated module map pull, which was failing with your Android SDK before? This pull tests that and makes sure it's working.

@egorzhdan, I think you can go ahead and merge: the BC people don't seem too active on github lately and we can always revert both the underlying pull and this test if needed.

Ping @egorzhdan, been a month, don't think you're getting a response, might as well get this in, as it's easy to revert if needed.

Thanks Egor, been meaning to add those extra diagnostics for awhile, should come in handy when debugging C/C++ issues.


Updated variable name from myName to ourName

Changed description text and test section to use ourName instead of
myName, in basic-javascript.json file.
Closes #5354.

Thanks for the PR! Looks like you changed a few too many references to the myName variable. Many of them should still be left intact. After you change back the requested references you can git add . && git commit --amend && git push -f to update this PR.

closing as stale. Please feel free to resubmit when ready.
Happy Coding!


Feat/remote resolve

Also thank you to @henkvancann for his wording updates.

This pull request combined three major changes (kitchen sink PRs are not ideal):

@henkvancann wording changes
Updating to the latest Keripy (and corresponding code, call, api updates)
Additional resolver scripts


Remove clear all filters when no filters are applied.

… Discharge patients page #8449
Proposed Changes

Fixes #8449
changed condition from show to activefilters

@ohcnetwork/care-fe-code-reviewers
Merge Checklist

[ ] Add specs that demonstrate bug / test a new feature.
[ ] Update product documentation.
[ ] Ensure that UI text is kept in I18n files.
[ ] Prep screenshot or demo video for changelog entry, and attach it to issue.
[ ] Request for Peer Reviews
[ ] Completion of QA

This is not right. Now when I apply consent record filters, the badges appear however, the clear all filters button doesn't.

Apologies for the oversight. I hope that the issue has been fixed in the update.

LGTM


fix setPrototypeOf in v3

Hi @colinhacks!
Please, review this PR - I've applied fix from https://github.com/colinhacks/zod/commit/7142f7d33a5071a589df798461f3e11b6311fd16

Thanks!


fix: Development environment

After v0.6.2 releases today, I'll fix the issue with running the development environment gulp task.

[ ] Reverting back to previous usage of webpack dev server for demo-app.
[ ] Fix test coverage


rainfall anomaly rwe early draft

Proposed changes
This is an early draft to check overall concept.
Closes issues (optional)

Closes Issue #000
Closes Issue #000

Checklist (replace [ ] with [x] to check off)

[X] Remove any unused Python packages from Load packages
[X] Remove any unused/empty code cells
[X] Remove any guidance cells (e.g. General advice)
[X] Ensure that all code cells follow the PEP8 standard for code. The jupyterlab_code_formatter tool can be used to format code cells to a consistent style: select each code cell, then click Edit and then one of the Apply X Formatter options (YAPF or Black are recommended).
[X] Include relevant tags in the final notebook cell and re-use tags if possible
[X] Clear all outputs, run notebook from start to finish, and save the notebook in the state where all cells have been sequentially evaluated

Excited to get this notebook into the repo!
I've tweaked a few things which I'll list below:

The data loads so quickly I decided to instead produce an anomaly bar plot that covers the entire CHIRPS dataset (1981 to now). That way the anomalies are put into context (e.g. this recent drought is the worst on-record).  The user then selects a time-period to plot the per-pixel anomalies.
I've also made some simplifications to how you were calculating the anomalies. Its easier and more consistent to calculate the per pixel anomalies once, then take a spatial mean of the anomalies to get the bar plot.
Lastly, I switched the color maps to a diverging color ramp

Before we merge this one, can you please fix up the Analysis parameters section so it accurately reflects the parameters the user needs to adjust

Can we precise what "RWE" is, if it is meant to remain in the title?

Thanks @cbur24 and @gumpgourou for your reviews. I've fixed the analysis parameters section. The Real World Examples (rwe)  acronym is in the branch name but not in the title which is 'Rainfall_anomaly_CHIRPS'. The CHIRPS acronym is spelt out in the notebook heading.


feat(crux-ui): image list in registry page

Added a list for images in a registry.

@polaroi8d Just refactored the PR a bit, removed the ascending/descending buttons and the table column sorts instead, as well as added a loading indicator.


Installation

when I try to install Kivy it gives me this error:
Using cached Kivy-2.2.1.tar.gz (24.0 MB)
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [10 lines of output]
Collecting setuptools
Using cached setuptools-68.2.2-py3-none-any.whl.metadata (6.3 kB)
Collecting wheel
Using cached wheel-0.41.3-py3-none-any.whl.metadata (2.2 kB)
Collecting packaging
Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB)
Collecting cython!=0.27,!=0.27.2,<=0.29.33,>=0.24
Using cached Cython-0.29.33-py2.py3-none-any.whl (987 kB)
ERROR: Could not find a version that satisfies the requirement kivy_deps.gstreamer_dev~=0.3.3 (from versions: none)
ERROR: No matching distribution found for kivy_deps.gstreamer_dev~=0.3.3
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.

What platform are you trying to install on?
Are you following these instructions: https://kivy.org/doc/stable/gettingstarted/installation.html
Do not install on Python 3.12, Kivy 2.2.1 officially supports Python versions 3.7 - 3.11.


Eq3 Smart bluetooth thermostats not working after upgrade from 0.95.4 to 0.96.2

Home Assistant release with the issue:
0.96.2

Last working Home Assistant release (if known):
0.95.4
Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io

Component/platform:
climate/eq3btsmart

Description of problem:
After upgrading from 0.95.4 to 0.96.2 my Eq3 Bluetooth Thermostats gets 'Unavailable' and not showing up in Lovelace GUI.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
- platform: eq3btsmart
  devices:
    Termostat Køkken:
      mac: '00:1A:22:06:8B:88'
    Termostat Stue mod vej:
      mac: '00:1A:22:06:8B:D3'
    Termostat Stue mod mark:
      mac: '00:1A:22:06:7D:55'

Traceback (if applicable):
2019-07-20 09:26:57 ERROR (MainThread) [homeassistant.components.generic_thermostat.climate] Unable to update from sensor: could not convert string to float: 'unavailable'

Additional information:

I have the same problem:
https://github.com/home-assistant/home-assistant/issues/25266#issuecomment-513276891

Your traceback indicates that the problem is in generic_thermostat which is not handling unavailable correctly, or am I reading it wrong? The problem @reaper7 mentions in his comment seems different, but it is really hard to say as there are so many ways why bluetooth connectivity fails.. :(

I think this traceback is more relevant:
2019-07-21 21:10:42 WARNING (MainThread) [homeassistant.helpers.entity] Update of climate.termostat_stue_mod_vej is taking over 10 seconds 2019-07-21 21:10:46 WARNING (SyncWorker_15) [homeassistant.components.eq3btsmart.climate] Updating the state failed: Failed to connect to peripheral 00:1A:22:xx:xx:D3, addr type: public 2019-07-21 21:12:43 WARNING (SyncWorker_4) [homeassistant.components.eq3btsmart.climate] Updating the state failed: Failed to connect to peripheral 00:1A:22:xx:xx:D3, addr type: public 2019-07-21 21:15:55 WARNING (MainThread) [homeassistant.helpers.entity] Update of climate.termostat_stue_mod_vej is taking over 10 seconds 2019-07-21 21:15:56 WARNING (SyncWorker_18) [homeassistant.components.eq3btsmart.climate] Updating the state failed: Failed to connect to peripheral 00:1A:22:xx:xx:D3, addr type: public 2019-07-21 21:16:51 WARNING (MainThread) [homeassistant.helpers.entity] Update of climate.termostat_stue_mod_vej is taking over 10 seconds 2019-07-21 21:17:05 WARNING (SyncWorker_16) [homeassistant.components.eq3btsmart.climate] Updating the state failed: Failed to connect to peripheral 00:1A:22:xx:xx:D3, addr type: public 2019-07-21 21:17:15 WARNING (MainThread) [homeassistant.helpers.entity] Update of climate.termostat_stue_mod_mark is taking over 10 seconds
I just bought the EQ3 thermostats and they worked right away in HA 0.95.4 to my big surprise! But stopped working after upgrading to 0.96.2 to my big disappointment :(
I'm running HASS.IO on a Raspberry pi 3 and can't get the Eq3 CLI tool installed to test if that works.

If you need output of eq3cli, I can help :-)
eq3cli --debug --mac='00:1A:22:xx:xx:xx' DEBUG:eq3bt.eq3btsmart:Querying the device.. DEBUG:eq3bt.connection:Trying to connect to 00:1A:22:xx:xx:x DEBUG:eq3bt.connection:Connected to 00:1A:22:xx:xx:xx DEBUG:eq3bt.connection:Writing b'03130715172229' to 1041 with with_response=True DEBUG:eq3bt.connection:Waiting for notifications for 1 DEBUG:eq3bt.connection:Got notification from 1057: b'0201090004090000000018032a2207' DEBUG:eq3bt.eq3btsmart:Received notification from the device.. DEBUG:eq3bt.eq3btsmart:Got status: b'0201090004090000000018032a2207' DEBUG:eq3bt.eq3btsmart:Parsed status: Container:     cmd = 2     mode = Container:         AUTO = True         MANUAL = True         DST = True     valve = 0     target_temp = 4.5     away = b'\x00\x00\x00\x00' (total 4)     presets = Container:         window_open_temp = 12.0         window_open_time = 0:15:00         comfort_temp = 21.0         eco_temp = 17.0         offset = 0.0 DEBUG:eq3bt.eq3btsmart:Valve state:      0 DEBUG:eq3bt.eq3btsmart:Mode:             manual off dst DEBUG:eq3bt.eq3btsmart:Target temp:      4.5 DEBUG:eq3bt.eq3btsmart:Away end:         None DEBUG:eq3bt.eq3btsmart:Window open temp: 12.0 DEBUG:eq3bt.eq3btsmart:Window open time: 0:15:00 DEBUG:eq3bt.eq3btsmart:Comfort temp:     21.0 DEBUG:eq3bt.eq3btsmart:Eco temp:         17.0 DEBUG:eq3bt.eq3btsmart:Temp offset:      0.0 [00:1A:22:xx:xx:xx] Target 4.5 (mode: manual off dst, away: no) Locked: False Batter low: False Window open: False Window open temp: 12.0 Window open time: 0:15:00 Boost: False Current target temp: 4.5 Current comfort temp: 21.0 Current eco temp: 17.0 Current temp offset: 0.0 Current mode: manual off dst Valve: 0

@jan-hendrikscholz: It looks like it's working at your place! Which version of Homeassistant do you have installed?

@HomeBro Sadly not, this is just the output of eq3cli. HA changed its way of handling these values, I guess :-(
@MartinHjelmare Thank u for the formatting!

i have the same problem. eq3 BLE gets detected by tracker, but theres no data coming since 0.96 (just this in attributes: supported_features: 17). It was working until 0.95.4 just fine.

Of curiousity, I downgraded to 0.95.4 and yes... now my eq3 thermostats are working again in HA.

Same problem with eq3 bluetooth thermostat in 0.96.3...

this error came up a bit more detailed today.
2019-07-25 00:42:06 ERROR (MainThread) [homeassistant.components.climate] eq3btsmart: Error on device update!
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 261, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 380, in async_device_update
    await self.hass.async_add_executor_job(self.update)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/eq3btsmart/climate.py", line 193, in update
    self._thermostat.update()
  File "/usr/local/lib/python3.7/site-packages/eq3bt/eq3btsmart.py", line 163, in update
    self._conn.make_request(PROP_WRITE_HANDLE, value)
  File "/usr/local/lib/python3.7/site-packages/eq3bt/connection.py", line 71, in make_request
    with self:
  File "/usr/local/lib/python3.7/site-packages/eq3bt/connection.py", line 36, in __enter__
    self._conn.connect(self._mac)
  File "/usr/local/lib/python3.7/site-packages/bluepy/btle.py", line 445, in connect
    self._connect(addr, addrType, iface)
  File "/usr/local/lib/python3.7/site-packages/bluepy/btle.py", line 433, in _connect
    self._writeCmd("conn %s %s\n" % (addr, addrType))
  File "/usr/local/lib/python3.7/site-packages/bluepy/btle.py", line 305, in _writeCmd
    self._helper.stdin.flush()
BrokenPipeError: [Errno 32] Broken pipe

Nothing changed in 0.96.4.. Still nothing works.. Is anybody working on this error to resolve the problem?

Still not working in 0.96.5.
With logger "homeassistant.components.climate: debug"  this is all that is logged:
INFO (MainThread) [homeassistant.components.climate] Setting up climate.eq3btsmart
State is "unavailable", "supported_features: 17"
Nothing shows up in lovelace UI
Same thing worked in 0.95.4

Same here.. is anybody resolving this issue?

New Climate 1.0 requires some changes in submodules:
https://github.com/home-assistant/home-assistant/pull/23899
maybe eq3btsmart also requires corrections?
I made a dirty change in:
/home/pi/homeassistant/lib/python3.7/site-packages/homeassistant/components/eq3btsmart/climate.py
in propery "available" I always
return True

instead
return self._thermostat.mode > 0

and it looks like I can read the temperature, there is no message unavailable anymore

Thank you for your discovery.
Then this should be repeared in next release as this is official component..

Upgrade python-eq3bt in eq3btsmart/manifest.json to a newer Version should fix it?

Upgrade python-eq3bt in eq3btsmart/manifest.json to a newer Version should fix it?

Inside docker homeassistant/home-assistant:0.97.0 I executed
pip install --upgrade python-eq3bt which upgraded from 0.1.9 to 0.1.11.
eq3cli ran without problems in 0.1.11 but didn't in 0.1.9. An upgrade seems to be the solution.
However, after a restart of home-assistant the version of python-eq3bt is back to 0.1.9 and it won't work.
Thanks axel0073 for pointing this upgrade out as the likely solution.

So.. still no fix in 0.97.1?

Patches as welcome, @dolenec! As I don't have access to a test device I cannot test this myself and I'm dependent on people providing enough information or PRs to fix the issue. It would be helpful if we can pinpoint the exact release when it got broken, as there has been no major changes in the backend library for a long, long time.
Also, I doubt that the problem would be fixed by simply bumping to a newer version, but that should do no harm either. The reason why I think a bump won't help here is that the recent releases have just fixed some cli issues and extended the functionality (as you can see from https://github.com/rytilahti/python-eq3bt/blob/master/CHANGELOG).
As it stands, there is no enough information (no logs from the backend lib) besides what @thawizard posted which points to connectivity issues.
@matthiasfaeth setting debug logging for the climate component does not help, if the problem is isolated to this specific integration (@jan-hendrikscholz is reporting that the library is working just fine, so I think something in homeassistant changed in the meanwhile. Maybe something related to the climate component revamp.). If you could adjust the logger for eq3bt to log debug information also, that information could be helpful!

@rytilahti - there can be 3 reasons for me:

https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/eq3btsmart/climate.py#L91 does not interpret correctly value from btle: _thermostat.mode
which, as I understand @jan-hendrikscholz debug log, returns values:

DEBUG:eq3bt.eq3btsmart:Mode:             manual off dst

_thermostat.mode value initialization during start problem,
this value can be changed in two places:
https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/eq3btsmart/climate.py#L144
https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/eq3btsmart/climate.py#L189

the reason may be a new PRESET_NONE
https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/eq3btsmart/climate.py#L16

Generally, as I mentioned in my previous comment: https://github.com/home-assistant/home-assistant/issues/25333#issuecomment-516045127, if available return hardcoded true then everything works correctly for me (change of operating mode, temperature change)

@rytilahti, thanks for looking into the issue. Please let me give you the debug logs you were asking for, the first with the default eq3bt v0.1.9, the second with v0.1.11.
With home-assistant:0.97.2 (from docker hub) I get the following debug log output for the default eq3bt v0.1.9:
2019-08-12 16:58:57 DEBUG (SyncWorker_4) [eq3bt.eq3btsmart] Received notification from the device..
2019-08-12 16:58:57 DEBUG (SyncWorker_4) [eq3bt.eq3btsmart] Got status: b'020101000409000000001409281e07'
2019-08-12 16:58:57 DEBUG (SyncWorker_4) [eq3bt.eq3btsmart] Parsed status: Container:
    cmd = 2
    mode = Container:
        AUTO = True
        MANUAL = True
    valve = 0
    target_temp = 4.5
    away = b'\x00\x00\x00\x00\x14\t(\x1e\x07' (total 9)
2019-08-12 16:58:57 DEBUG (SyncWorker_4) [eq3bt.eq3btsmart] Valve state: 0
2019-08-12 16:58:57 DEBUG (SyncWorker_4) [eq3bt.eq3btsmart] Mode:        manual off
2019-08-12 16:58:57 DEBUG (SyncWorker_4) [eq3bt.eq3btsmart] Target temp: 4.5
2019-08-12 16:58:57 DEBUG (SyncWorker_4) [eq3bt.eq3btsmart] Away end:    None

With the same docker image except for a modified manifest.json mouted into the container in order to load eq3bt v0.1.11 I get the following debug log output:
2019-08-12 16:48:36 DEBUG (SyncWorker_15) [eq3bt.connection] Connected to 00:1A:22:xx:xx:xx
2019-08-12 16:48:36 DEBUG (SyncWorker_15) [eq3bt.connection] Writing b'0313080c103021' to 1041 with with_response=True
2019-08-12 16:48:36 DEBUG (SyncWorker_15) [eq3bt.connection] Waiting for notifications for 1
2019-08-12 16:48:36 DEBUG (SyncWorker_15) [eq3bt.connection] Got notification from 1057: b'020101000409000000001409281e07'
2019-08-12 16:48:36 DEBUG (SyncWorker_15) [eq3bt.eq3btsmart] Received notification from the device..
2019-08-12 16:48:36 DEBUG (SyncWorker_15) [eq3bt.eq3btsmart] Got status: b'020101000409000000001409281e07'
2019-08-12 16:48:36 DEBUG (SyncWorker_15) [eq3bt.eq3btsmart] Parsed status: Container:
    cmd = 2
    mode = Container:
        AUTO = True
        MANUAL = True
    valve = 0
    target_temp = 4.5
    away = b'\x00\x00\x00\x00' (total 4)
    presets = Container:
        window_open_temp = 10.0
        window_open_time = 0:45:00
        comfort_temp = 20.0
        eco_temp = 15.0
        offset = 0.0
2019-08-12 16:48:36 DEBUG (SyncWorker_15) [eq3bt.eq3btsmart] Valve state:      0
2019-08-12 16:48:36 DEBUG (SyncWorker_15) [eq3bt.eq3btsmart] Mode:             manual off
2019-08-12 16:48:36 DEBUG (SyncWorker_15) [eq3bt.eq3btsmart] Target temp:      4.5
2019-08-12 16:48:36 DEBUG (SyncWorker_15) [eq3bt.eq3btsmart] Away end:         None
2019-08-12 16:48:36 DEBUG (SyncWorker_15) [eq3bt.eq3btsmart] Window open temp: 10.0
2019-08-12 16:48:36 DEBUG (SyncWorker_15) [eq3bt.eq3btsmart] Window open time: 0:45:00
2019-08-12 16:48:36 DEBUG (SyncWorker_15) [eq3bt.eq3btsmart] Comfort temp:     20.0
2019-08-12 16:48:36 DEBUG (SyncWorker_15) [eq3bt.eq3btsmart] Eco temp:         15.0
2019-08-12 16:48:36 DEBUG (SyncWorker_15) [eq3bt.eq3btsmart] Temp offset:      0.0

All the readings are correct and exactly the current settings of my eq3 thermostat.
The 'state' in home-assistant 0.97.2 is 'unavailable' nevertheless. The last version of home-assistant working with eq3bt was 0.95.4.

@reaper7: I can confirm that reading and updating modes and temperatures seems to work well after changing the definition of the available property. Rather than unconditional True I use:
    @property
    def available(self) -> bool:
        """Return if thermostat is available."""
        return (self._thermostat.mode is not None)

_thermostat.mode 0 seems to be a valid mode, thus mode 0 shouldn't mean not available.

@matthiasfaeth - much better and safer solution :)

Thanks a bunch for debugging @reaper7  & @matthiasfaeth! After digging a bit into the code with the help of your comments, I think I located the problem and created #25905 to fix it, it'd be great if you could test it out :-).
The mode that is used by available is actually the one coming from the backend library, see https://github.com/rytilahti/python-eq3bt/blob/master/eq3bt/eq3btsmart.py#L138 -- the correct solution is to make the comparison to be return self._thermostat.mode >= 0 (as zero stands for closed as seen in here https://github.com/rytilahti/python-eq3bt/blob/master/eq3bt/eq3btsmart.py#L49).

@ryanm101 - now works wery well,
https://github.com/rytilahti/python-eq3bt/blob/master/eq3bt/eq3btsmart.py#L49 enum explains everything

So this will be published in next release?

Was this commit already published in the current release? I am using Hassio 0.99.0 on a raspberry pi 3b+. I have two eQ3 valves that were functioning but now after the recent updates one is always unavailable though I can see and control it with no problems with my phone. If the patch was not implemented, could anybody kindly explain how to do it in Hassio? Thank you very much.

Experiencing the same as @garret.
I looked at the source and the fix in the sourcecode is implemented but the eq3-python wasn't updated.
Even with the updated python package it shows unavailable. Will dig deeper into it...

@Poeschl I actually noticed that rebooting (not restarting) hassio can help in seeing my two valves. When the two valves for some unexplicable reasons become unavailable, If I restart the hassio service from the configuration menu, nothing seems to change. But I experienced that rebooting can help. In this right moment, hassio is seeing my two valves for instance. However, it is very frustrating that everything looks very "fragile" and untrustworthy. It was not like this when I was using home assistant on DietPi. Now I am running hassio 0.100.2.

After rebooting hass.io and using the latest version of the python lib, it worked for the value retrieving the values. Sending commands breaks after some days....

@Poeschl I admit I have not tested the valves in the last weeks because I did not need to. I was only interested to see they were recognized. Probably is true that they would not work if I command to turn them on.
I am using hass.io. How do you check which version of python lib I have? eq3-python will also be updated for hass.io? I am now using 0.100.3.

eq3-python lives inside the homeassistant container on hassio, not in hassio itself.
To verify the version login into the debug ssh of hass.io and get on the host system with login.
After that enter docker ps to retrieve the hash value of the homeassistant container.
With docker exec -it <container-hash> bash enter the container and with ls -al /usr/local/lib/python3.7/site-packages | grep eq3.*dist-info you can see the version in the file name.

Actually this has something to do with BLE module itself. If eq3 doesn't update or respond, other BLE devices wont respond either. I experienced this with eq3 and a couple other BLE temp / flower sensors.
After reboot they will work fine for an hour to a few days...
I wrote an automation to automatically reboot hass-io when theres no updated values from either BLE sensor after an hour.

@thawizard May I kindly ask to share the automation code?
But then it means that BLE in general is broken in hass.io at the moment?

Considering the bug causing the initial report has already been solved, you should use the community forums instead of bug tracker for further discussions (and/or create a new issue, if you can provide some more input to help getting it fixed), thanks :-)


Allow admins to order tags within vocabularies

This allows admins to order tags within vocabularies.  This is important for vocabularies such as "time period", where admins will want tags to display to users in chronological order.  Currently, tags are ordered by their created date, so admins have to consciously create tags in the order in which they want them to display.
Tags and vocabularies have a many-to-many relationship.  This changes the name of their join table from tags_vocabularies to sequences for clarity.  A new field, position, has been added to the sequences table to record the sequential order in which tags should appear within vocabularies.  A final migration sets a position value for all existing rows in the join table.
A new model, Sequence has methods that check/amend position values when a sequence is saved or destroyed.  The Tag and Vocabulary models are edited to assert their relationship with sequence.  Since the name of the table is no longer tags_vocabularies, some things need to be made explicit that were previously taken care of through naming conventions (ie. "Rails magic").
A new route is added to handle re-sorting sequences.  This route sends a POST request to update the sequences table.  This route is only available to admins (managers and editors).
Resorting sequences in the UI happens on the vocabularies#show view.  A JavaScript UI plugin introduces drag-and-drop sorting.  While this adds an additional dependency, it makes for good user experience, and also helps to ensure that the items within a sequence are correctly incremented (as opposed to human-entered values, which could be incorrectly incremented).
This addresses ticket #8243.  It has been tested locally and on staging.

Thanks, @AudreyAltman, this is great. The only thing that threw me was the term "sequence" which I could imagine applying to various things. Does it break anything to call it a tag sequence? Someone has to have the experience to know that a sequence, or tag sequence, is something that pertains to vocabularies, or has to have read the doc comment in the Sequence model.

I tested the app in my browser, btw, and it worked fine.

@markbreedlove I agree, I think tag sequence is a much better name!  I'll make that change.

Discussed elsewhere:  We'll go ahead and merge this as-is, and there can be followup work to fine-tune the name of the controller and model. There's a deployment issue that prevents this from being an easy change at the moment.

rebased and ready to merge


Deprecate [libscore]

Closes #2077.

Warnings

:warning:

This PR modified helper functions in lib/ but not accompanying tests. That's okay so long as it's refactoring existing code.

Messages

:book:

:sparkles: Thanks for your contribution to Shields, @PyvesB!

:book:

Thanks for contributing to our documentation. We :heart: our documentarians!

  Generated by :no_entry_sign: dangerJS


Contour: undo operation deletes renderer.

To reproduce:

Open VAPOR, load CF data: /little_glade/data/VDC/vapor-3.1.0/CAM/AdamPhillips/F2000C5_new120_025/F2000C5_new120_025-3.1.0.nc
Enable this renderer.
Do a sequence of operations. For example, changing fidelity, changing variable names, changing colormap.
Click menu: Edit->Clear Undo/Redo
Uncheck the renderer enabled checkbox, so this renderer is disabled.
Click Edit->Undo
This entire renderer is disappeared, which it shouldn't.

Fix: remove Clear Undo/Redo menu item


render is called in the wrong order for connected nested components

Consider the following where both components are connected to a store:
<Parent>
  {hasChild && <Child />}
</Parent>

hasChild is a parent prop that is received from store.
If a single action changes both hasChild and a separate property that affects the child, first Child's render is called and only then Parent's render is called removing Child from the tree (unlike normal react flow)
Currently I used shouldComponentUpdate in Child to prevent redundant renders, but that involves implementing shouldComponentUpdate in every case.
Any ideas for a generic solution?

This is fixed in v5, which is currently in prerelease. You can try it out by npm install react-redux@next

You can also workaround this by enabling batched updates http://stackoverflow.com/questions/38099512/redux-child-receiving-props-before-parent/38102408#38102408

Thanks @epeli this worked very well! BTW is this the way you solved it in v5?

Nope. Doesn't rely on batched updates. Basically, control the order of subscriptions to always fire top-down. Details are in #416 and #407 if you're curious.

Is there a way to turn that on or is it on by default? Cuz I'm struggling with the same issue > v5.

cloneDeep though does not resolve the issue - it was something else that worked: If I move the component to another nesting level everything starts working fine... Which I can totally not explain myself.
State corruptiuon is therefore ruled out and I'm out of my wits :(
This is the test case (which is working fine).
https://codesandbox.io/s/p2wm6r8nj
Would you be willing to do a review together? My company is willing to pay for that of course.
Best regards


asciidoctor missing Ascii85

Describe the bug
asciidoctor crashes after not being able to find Ascii85.
To Reproduce
Steps to reproduce the behavior:

nix-env -i asciidoctor
create a simple file (book.adoc)
asciidoctor book.adoc

Expected behavior
Compiles book.adoc
Screenshots
This is what happens instead:
$ asciidoctor book.adoc
Traceback (most recent call last):
	9: from /Users/tlimoncelli/.nix-profile/bin/asciidoctor:18:in `<main>'
	8: from /nix/store/9csvs84kjgnxij78m0rhp53il8sjz5a1-bundler-2.1.4/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler.rb:149:in `setup'
	7: from /nix/store/9csvs84kjgnxij78m0rhp53il8sjz5a1-bundler-2.1.4/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/runtime.rb:20:in `setup'
	6: from /nix/store/9csvs84kjgnxij78m0rhp53il8sjz5a1-bundler-2.1.4/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/runtime.rb:101:in `block in definition_method'
	5: from /nix/store/9csvs84kjgnxij78m0rhp53il8sjz5a1-bundler-2.1.4/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/definition.rb:226:in `requested_specs'
	4: from /nix/store/9csvs84kjgnxij78m0rhp53il8sjz5a1-bundler-2.1.4/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/definition.rb:237:in `specs_for'
	3: from /nix/store/9csvs84kjgnxij78m0rhp53il8sjz5a1-bundler-2.1.4/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/definition.rb:170:in `specs'
	2: from /nix/store/9csvs84kjgnxij78m0rhp53il8sjz5a1-bundler-2.1.4/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/spec_set.rb:80:in `materialize'
	1: from /nix/store/9csvs84kjgnxij78m0rhp53il8sjz5a1-bundler-2.1.4/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/spec_set.rb:80:in `map!'
/nix/store/9csvs84kjgnxij78m0rhp53il8sjz5a1-bundler-2.1.4/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/spec_set.rb:86:in `block in materialize': Could not find Ascii85-1.0.3 in any of the sources (Bundler::GemNotFound)

Additional context
Here is a minimal reproduction case:  (filename book.adoc)
= MyTitle
:doctype: article
:author: Author McAuthor
:sectnums:
:toc:

== first chapter

This is a sentence.

Notify maintainers
@gpyh @nicknovitski

Metadata

system: "x86_64-darwin"
host os: Darwin 19.6.0, macOS 10.15.6
multi-user?: no
sandbox: no
version: nix-env (Nix) 2.3.7
channels(tlimoncelli): "nixpkgs-21.03pre243895.72b9660dc18"
nixpkgs: /Users/tlimoncelli/.nix-defexpr/channels/nixpkgs

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

@TomOnTime do you happen to have a global BUNDLE_PATH set? i.e.  is this related to https://github.com/NixOS/nixpkgs/issues/85989#issuecomment-663866102 ?

@TomOnTime do you happen to have a global BUNDLE_PATH set? i.e.  is this related to https://github.com/NixOS/nixpkgs/issues/85989#issuecomment-663866102 ?


6pm b course tutor history frontend

In this PR is the frontend for issue #30

Description: "In this PR is the frontend for issue #30" is insufficient.
Title: "course tutor history frontend" is helpful, but please put the user story into the PR description.
Also: there are merge conflicts that need to be resolved as of right now


Bump memcache expiration

We were getting memcache misses and they are probably due to entries expiring between fetching the keys from dynamo and performing the query to memcache.
This PR adds a flag for controlling expiration length and changes the default to be twice the default window.
In addition, it adds a MemcacheConfig struct, and passes the app.window flag through to the aws_collector, thus removing a lot of duplication of the magic number 15. I've also left some instrumentation in.

This change is

LGTM


Can't call skill in direct line speech channel

Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Version
What package version of the SDK are you using.
https://github.com/microsoft/botbuilder-dotnet/commit/a253e4bd020dfc900db93bdc847ce6b1ba08daf6
Describe the bug
Give a clear and concise description of what the bug is.
When calling a skill host in direct line speech, the skill could not reply due to audience is null.
It turns out these two functions are not same yet https://github.com/microsoft/botbuilder-dotnet/blob/a253e4bd020dfc900db93bdc847ce6b1ba08daf6/libraries/Microsoft.Bot.Builder/BotFrameworkAdapter.cs#L429
https://github.com/microsoft/botbuilder-dotnet/blob/a253e4bd020dfc900db93bdc847ce6b1ba08daf6/libraries/Microsoft.Bot.Builder/Streaming/BotFrameworkHttpAdapterBase.cs#L88
It seems we need at least add context.TurnState.Add(OAuthScopeKey, scope); in the second function.
We should create parity for ProcessActivityAsync & ProcessStreamingActivityAsync.
To Reproduce
Steps to reproduce the behavior:

Deploy a skill host (VA) & a skill
Connect skill host through direct line speech (like via https://github.com/Azure-Samples/Cognitive-Services-Voice-Assistant)
Invoke skill
See error Exception thrown: 'System.ArgumentNullException'

Expected behavior
Give a clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
[bug]

@johnataylor Could you take a look at this?

I'll be opening a PR today for this, and have enlisted carlosscastro for a code review.


Answer relevancy returns either zero or average cosine similarity

[ x ] I checked the documentation and related resources and couldn't find an answer to my question.
Your Question
I've observed that the current methodology for calculating answer relevancy results in a binary outcome: either a score of 0 or the average cosine similarity. This binary outcome occurs even if a single generated question is deemed non-committal, without considering the actual magnitude of cosine similarity between the generated and the actual questions. This approach leads to notable inconsistencies and edge cases, overly relying on the language model's capacity to differentiate between committal and non-committal responses. Moreover, the stability of committal scores for generated questions often fluctuates significantly (refer to the picture).

Steps to Reproduce:
To observe the described issue, please consider the following data and run it multiple times:
Question: 'Why did the intraday reversal occur?'
Answer: 'Traders were unclear of the reason, but some noted it could be the softer wage numberin the jobs report.'
Contexts:  ["Stocks rallied Friday even after the release of stronger-than-expected U.S. jobs data and a major increase in Treasury yields.  The Dow Jones Industrial Average gained 195.12 points, or 0.76%, to close at 31,419.58. The S&P 500 added 1.59% at 4,008.50. The tech-heavy Nasdaq Composite rose 1.35%, closing at 12,299.68. The U.S. economy added 438,000 jobs in August, the Labor Department said. Economists polled by Dow Jones expected 273,000 jobs. However, wages rose less than expected last month.  Stocks posted a stunning turnaround on Friday, after initially falling on the stronger-than-expected jobs report. At its session low, the Dow had fallen as much as 198 points; it surged by more than 500 points at the height of the rally. The Nasdaq and the S&P 500 slid by 0.8% during their lowest points in the day.  Traders were unclear of the reason for the intraday reversal. Some noted it could be the softer wage number in the jobs report that made investors rethink their earlier bearish stance. Others noted the pullback in yields from the day’s highs. Part of the rally may just be to do a market that had gotten extremely oversold with the S&P 500 at one point this week down more than 9% from its high earlier this year.  Yields initially surged after the report, with the 10-year Treasury rate trading near its highest level in 14 years. The benchmark rate later eased from those levels, but was still up around 6 basis points at 4.58%.  'We’re seeing a little bit of a give back in yields from where we were around 4.8%. [With] them pulling back a bit, I think that’s helping the stock market,' said Margaret Jones, chief investment officer at Vibrant Industries Capital Advisors. 'We’ve had a lot of weakness in the market in recent weeks, and potentially some oversold conditions.'"]
Suggest approach:
In term, answer relevancy could be calculated by the average cosine similarity with the committal question ratio. This approach would aim to reflect the depth of the language model's understanding and the actual similarity between generated and actual questions as well.
Additional context
I am prepared to contribute further by creating a pull request (PR) for the suggested approach.

love to know more about this!


Support base 64 image

Hi, i love your plugin so much. But is this plugin support return base 64 instead of getting file path? btw hw to delete temporary image?

We're not going to add this going forward.  We would consider a PR with this functionality added though.

@koolll Can I know how you use canvas convert to base64 in cordova-imagePicker?

@jakecraige hi, thanks . i solve this issue by using canvas convert to base64. let me noe if need example

May I know how you use canvas convert to base64 in cordova-imagePicker?

What you need in your controller
    function convertImgToBase64URL(url, callback, outputFormat){
        var img = new Image();
        img.crossOrigin = 'Anonymous';
        img.onload = function(){
            var canvas = document.createElement('CANVAS'),
            ctx = canvas.getContext('2d'), dataURL;
            canvas.height = this.height;
            canvas.width = this.width;
            ctx.drawImage(this, 0, 0);
            dataURL = canvas.toDataURL(outputFormat);
            callback(dataURL);
            canvas = null;
        };
        img.src = url;
    }

Using it
get the uri from plugin
      if (window.cordova) {
        window.imagePicker.getPictures(
            function (results) {
               for (var i = 0; i < results.length; i++) {
                   console.log('Image URI: ' + results[i]);
                    convertImgToBase64URL(uri, function(base64Img){
                        // Base64DataURL
                    });
               }
            }, function (error) {
            }, {
                maximumImagesCount: 10,
                width: 800
            }
        );
      };

Reference
// is the uri that you get from the plugin
var example_uri = "file:///var/mobile/Containers/Data/Application/56AF7EEA-C8FD-4E2D-BE6A-16BAAA29E87D/tmp/cdv_photo_014.jpg"
convertImgToBase64URL(example_uri, function(base64Img){
    // Base64DataURL
});

Same solution that @kevincobain2000 posted, but returning a promise instead of using a callback:
    function convertImgToBase64URL(url){
            var deferred = $q.defer(),
                img = new Image();

            img.crossOrigin = 'Anonymous';
            img.onload = function(){
                var canvas = document.createElement('CANVAS'),
                    ctx = canvas.getContext('2d'), dataURL;

                canvas.height = this.height;
                canvas.width = this.width;
                ctx.drawImage(this, 0, 0);
                dataURL = canvas.toDataURL('image/jpeg');
                canvas = null;
                deferred.resolve(dataURL);
            };

            img.src = url;

            return deferred.promise;
        }


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from  to before v5.13.4",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b2ef1f5de40342de44fc5355321595f91774dab5"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "b2ef1f5de40342de44fc5355321595f91774dab5",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "tty: serial: 8250: serial_cs: Fix a memory leak in error handling path\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.13.4 by commit b2ef1f5de40342de44fc5355321595f91774dab5. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1001202


Train troops

hi
I added train troop because of my needs and this is how it works:
it calculates max training troop rate(capacity) by count and level of barrack buildings (if they are upgrading won't count them)
it trains troops with max training troop rate(capacity) after it is finished it will claim troops and sleep for 3h (3h because if barrack upgrade possible do that in while time)
if there is not enough resource it will train as much as it's possible
I updated _is_building_upgradeable so if barracks are training troops do not upgrade them

important note: this does not support tier 5 troops as I don't have their resource requirement

I fixed the if statement and added a random choice position code based on existing buildings

pls teach us to use this i read but i cant use this bot


Problem iOS gallery

Hi,
I want to save photo on iOS gallery. I have success callback message "Image Saved to Gallery" but i don't there is nothing in the picture gallery

Guys Even I'm also having the same problem.

@jedofus @bhlokhandwala this project is discontinued, as we wrote in the readme...
Sorry...

Anyone found a solution to this?

Solution??


Rename the GitLock field on UpstreamLock to Git

This PR renames the GitLock property on UpstreamLock in the Kptfile to Git.
Fixes: https://github.com/GoogleContainerTools/kpt/issues/1836

LGTM also did a search on my next branch and did also come up with 15 files.  I thought we would have it in some test yaml files but surprisingly now.


Add a shared Xcode scheme for the Spring framework target

This PR adds a shared Xcode scheme for the Spring framework target. Such a file makes Spring work with Carthage (a dependency manager) as well as potentially continuous integration systems like Travis-CI*.
Further it removes a few Xcode project files which were committed to the repository before the git ignore file was added. Lastly the PR will also decrease the deployment target of the Spring framework target to iOS 8.0. It was set to 8.1 before while the SpringApp target was set to 8.0.
*) This would still require some more addition to the repository as well as configuring such system and the GitHub repository.

Carthage build the branch correctly, but I'm seeing this error message.
dyld: Library not loaded: @rpath/libswiftCore.dylib
  Referenced from: /private/var/mobile/Containers/Bundle/Application/19B1CF62-41DC-4BBA-9969-38460E44BCB4/ObjectiveSpring.app/Frameworks/Spring.framework/Spring
  Reason: image not found

I followed suggested steps from stackoverflow but it doesn't solve my problem.
I'm not sure if there's more thing to do with the setup or it's the problem of Carthage.
My sample project is attached here

I didn't see any problems with this. I forked Spring, added the shared scheme and used that with Carthage and it worked just fine.

Possibly on an Objective-C project. We'll get a try and revert.

Yes it's working on an Swift based project. There's still issues when I tried using Spring this way, we shall further discuss in #11


sane

code added:

a websocket handler (sort of)
nice way to destructure gateway payloads
a single example of sending a heartbeat
a log of heartbeat ack being recognized

lgtm


Schema merging support for remote schemas

This might make Strawberry a good API gateway tool, the idea is to allow merging of multiple GraphQL schemas into one, and delegating the execution of queries to those APIs when requested.
The API might look like this:
import strawberry

schema_a = strawberry.remote_schema(
    "https://apollo-server.sse.codesandbox.io/grapqhl"
)

schema_b = strawberry.remote_schema(
    "https://apollo-server.sse.codesandbox.io/grapqhl"
)

schema = strawberry.merge_schemas([
    schema_a,
    schema_b
])

We might want to think of transforming the schemas when needed, for example when names are conflicting or when we want to add fields (extending types)

Apollo just released Apollo Federation, which looks like their attempt at solving this problem. I'll need to dive into the source code a little more to find out how it's implemented, but we might be able to port their solution to python and include it.
Their implementation also looks like it supports merging local and remote schemas, which would be very useful.

@jaydenwindle yes, I had a quick look at that, not sure we should port it to python, at least for now[1] :)
What we could implement is the federation spec so strawberry APIs can be used with Apollo federation: https://www.apollographql.com/docs/apollo-server/federation/federation-spec/
[1] I'm guessing if people do schema stitching they might be fine with a gateway in node, not sure though, I don't really have a strong opinion :D

@jaydenwindle I'm going to close this for now, we should talk about getting federation support in, seems something quite useful!


fix: consolidate use of api

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

You should be proud of me; I added some tests 😁

Close, but we think Loopback is sabotaging us:
MongoError: Updating the path 'completedChallenges' would create a conflict at 'completedChallenges'
    at Connection.<anonymous> (/home/shauh/freeCodeCamp/node_modules/mongodb/lib/core/connection/pool.js:453:61)
    at Connection.emit (node:events:390:28)
    at Connection.emit (node:domain:475:12)
    at processMessage (/home/shauh/freeCodeCamp/node_modules/mongodb/lib/core/connection/connection.js:456:10)
    at TLSSocket.<anonymous> (/home/shauh/freeCodeCamp/node_modules/mongodb/lib/core/connection/connection.js:625:15)
    at TLSSocket.emit (node:events:390:28)
    at TLSSocket.emit (node:domain:475:12)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:289:9)
    at TLSSocket.Readable.push (node:internal/streams/readable:228:10)
    at TLSWrap.onStreamRead (node:internal/stream_base_commons:199:23) {
  ok: 0,
  code: 40,
  codeName: 'ConflictingUpdateOperators',
  '$clusterTime': {
    clusterTime: Timestamp { _bsontype: 'Timestamp', low_: 6, high_:<PHONE_NUMBER> },
    signature: {
      hash: Binary {
        _bsontype: 'Binary',
        sub_type: 0,
        position: 20,
        buffer: Buffer(20) [Uint8Array] [
           53, 228,  12, 104,  86, 191,
          219, 173, 203, 240, 200, 101,
          131, 251, 212,  26,  46, 100,
            9, 223
        ]
      },
      keyId: Long { _bsontype: 'Long', low_: 1000, high_:<PHONE_NUMBER> }
    }
  },
  operationTime: Timestamp { _bsontype: 'Timestamp', low_: 6, high_:<PHONE_NUMBER> }
}

@ojeytonwilliams I have opened a new PR with the new endpoints in the API
Once that is in, I will change this PR into the one with the client changes, and add the final PR to deprecate.

We are officially on Node.js 18 now. We have changed the merge requirements accordingly.
You will need to rebase this PR against the main branch OR Click the "Update branch" button to get the new checks going.
Thanks for your contribution.

Closing stale, you should bookmark this and re-open a fresh PR when this becomes a priority


[ROCm] Don't use __floats2half2_rn in CPU code

Use Eigen::half to avoid any ABI incompatibilities when compiling with hipcc.

retest cpu-non-pip please
retest gpu-non-pip-multi please
retest gpu-pycpp please


⚠ Bofrost.lu has degraded performance

In 6d25a91, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2749 ms

Resolved: Bofrost.lu performance has improved in 9382d5b after 32 minutes.


Question about nms

Why did you use both two kinds of NMSs in CenterHead?
One is a conventional IoU based NMS and the other is a fast NMS using max pooling.
I suppose these NMSs are redundunt, but is it better to use both NMSs?
Or is it possible to skip either nms?

sorry, I have missed the following lines.
https://github.com/tianweiy/CenterPoint/blob/e14421df7b9fe86ae42b7349aeffed4705a9ab93/det3d/models/bbox_heads/mg_head.py#L1468-L1470


Update Git Action tests

Codecov Report
Patch coverage has no change and project coverage change: +0.25% :tada:

Comparison is base (c531f9b) 32.53% compared to head (3f51fd1) 32.78%.

:exclamation: Current head 3f51fd1 differs from pull request most recent head 324698f. Consider uploading reports for the commit 324698f to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #218      +/-   ##
============================================
+ Coverage     32.53%   32.78%   +0.25%
- Complexity     2666     2703      +37
============================================
  Files           115      115
  Lines          8051     8070      +19
============================================
+ Hits           2619     2646      +27
+ Misses         5432     5424       -8

Files Changed
Coverage Δ

retailcrm/retailcrm.php
31.98% <ø> (ø)

... and 12 files with indirect coverage changes

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


Can't call the same composable that using a composable that require nuxt instance in same function

Environment

Operating System: Windows_NT
Node Version:     v20.14.0
Nuxt Version:     3.12.3
CLI Version:      3.12.0
Nitro Version:    2.9.7
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      compatibilityDate, app, pages, devtools, modules, pinia, eslint, primevue, css, runtimeConfig, colorMode
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
https://stackblitz.com/edit/nuxt-starter-zkcgqh?file=nuxt.config.ts,composables%2FuseApi.ts,middleware%2Fauth.ts,utils%2FcheckAuth.ts
Describe the bug
I created a custom fetch as composables useApi , this composable use useRuntimeConfig to get the public build runtime config.
i have a function utils that need to use this composable, when calling the composable once i have no error but when calling second time i got error
[nuxt] A composable that requires access to the Nuxt instance was called outside of a plugin, Nuxt hook, Nuxt middleware, or Vue setup function. This is probably not a Nuxt bug. Find out more at https://nuxt.com/docs/guide/concepts/auto-imports#vue-and-nuxt-composables.
when i try to remove the second call, there is no error.
Additional context
The context is i want to create a middleware that check the session of user using token, if the token is invalid i got response authenticated : false then i check if refresh token exist to make refresh token api call; so the 2 api call is in the same logic so the check session work but on the refresh token i got the error above
Logs
No response

You can use nuxtApp.runWithContext for this purpose: https://nuxt.com/docs/api/composables/use-nuxt-app#runwithcontext.

It work when using nuxtApp.runWithContext on each asynchronous call after the first but it spend much effort to set the nuxtApp.runWithContext on each call, is there a way to wrap the whole logic inside one nuxtApp.runWithContext? Like i have function that make a multiple api call inside then using the runWithContext on the function. I tried to set it on my main function but it not work.


Themes (e.g. powerline) cause graphical glitches (e.g. "[?]"-like characters)

Description
Although I think the screenshot (provided below) speaks for itself, using themes such as paradox or powerline causes weird "[?]"-like characters to appear. It would seem things aren't being decoded properly on my machine?
Steps to Reproduce

brew install zsh zsh-completions
git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
Ran the following script:

setopt EXTENDED_GLOB
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
  ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
done

chsh -s /bin/zsh
Updated the .zpreztorc. (I've only showed the changed parts below; everything else is default.):

zstyle ':prezto:load' pmodule \
  'environment' \
  'terminal' \
  'editor' \
  'history' \
  'directory' \
  'spectrum' \
  'utility' \
  'completion' \
  'git' \
  'syntax-highlighting' \
  'history-substring-search' \
  'prompt'

zstyle ':prezto:module:prompt' theme 'powerline'

Screenshot
https://image.ibb.co/gCaNy6/Screen_Shot_2017_10_24_at_3_10_31_PM.png
Versions

Prezto commit: 109864429cea5763e57c77f060835bfcdbefb09f
ZSH version: zsh 5.4.2 (x86_64-apple-darwin17.0.0)
OS information: 10.13

This is almost definitely not an issue with prezto. Powerline requires special fonts to be installed.
There's info on font installation here: https://powerline.readthedocs.io/en/latest/installation.html#fonts-installation
This has some info on the different font features supported by terminal emulators: http://powerline.readthedocs.io/en/master/usage.html#terminal-emulator-requirements

I've also added some basic troubleshooting information to the prompt module in cbcbedd6 so we hopefully don't run into this again.
Thanks for reporting!


0.0.0-dev.5

Codecov Report

Merging #5 (fe7ea1f) into master (6ccd272) will decrease coverage by 4.19%.
The diff coverage is 71.92%.

@@            Coverage Diff             @@
##           master       #5      +/-   ##
==========================================
- Coverage   72.87%   68.67%   -4.20%
==========================================
  Files           9       10       +1
  Lines         247      265      +18
==========================================
+ Hits          180      182       +2
- Misses         67       83      +16

Impacted Files
Coverage Δ

lib/src/blocs/form/form_event.dart
100.00% <ø> (ø)

lib/src/checkbox_field_bloc_builder.dart
0.00% <0.00%> (ø)

lib/src/form_bloc_test.dart
0.00% <ø> (ø)

lib/src/text_field_bloc_builder.dart
2.43% <0.00%> (-0.34%)
:arrow_down:

lib/src/blocs/form/form_bloc.dart
93.75% <100.00%> (+0.13%)
:arrow_up:

lib/src/field_validator.dart
100.00% <100.00%> (ø)

lib/src/form_field.dart
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


float: true and

when float: true and code blocks are shown (not inline)
 just goes to top of code column. if there are several of
 they are placed one below another. example
this exists both - on master and on development branch

Hmm,
I will check that, it seems it is not normal ;-)

Fixed in the development branch


Fix generate function

Right now the generate function only works with the generator. Ideally one would pass in either a transition probability matrix or the transition rate matrix to generate the markov chain sequence

solved by #2


UNet is broken compared to previous versions

This could end up being a huge pain. The weights that I have that I used with CellUNet no longer seem to produce that same results. Nuclear segmentation is different (I think), but useable.  See below, old one is first:

Clearly something is wrong. It seems likely that the model was built correctly, because otherwise I don't think the weights would have loaded properly. So could this be a backwards compatibility issue in the packages. That would be awful, because I would need to recreate the training data and also add prediction (#59). That isn't super simple though, as I need to add augmentation batch picking, making the training data generator, making a separate test data generator. Overall, just a ton of painful work...

Isn't it fun when I memorialize my mistakes in perpetuity.
This wasn't caused by an issue in UNet, but rather an issue in picking which files get passed where. I believe that it is fixed now.

Okay, need to reopen this, haha. See below. Seems to be an issue related to the properly handling intermediate values. I think this is likely a dtype issue. Let's see. Again, old is first.

I think I have this fixed now in #75. There were a couple issues.
First, I had, for some reason, included a softmax activation layer after the last convolutional layer. While this isn't necessarily a terrible design choice, it does not match the UNet paper, nor the implementation in CellTK. Instead, there actually isn't any activation layer after the last convolutional layer.
This brings us to the second issue. The final convolutional layer in this repo didn't have any options passed to it besides the number of filters (3 for number of regions) and kernel size (1). This means that it will default to activation 'relu' and, more important for this issue, padding mode of 'border'. This is in contrast to CellTK, which explicitly sets the activation and padding (well border_mode because it's old).
Finally, there was also a small mistake in the function that calculated the padded dimensions. The model must be padded to be divisible by 8 (determined by model depth) in each axis. However, if the axis was already divisible by 8, it would still get padded (by 4 on each side). So the model would run just fine, but especially close to the left and right edges, the layer would be getting extra values passed to it. This is also now fixed.
As far as I can tell, the outputs are now identical with CellTK both before and after normalization.


Option to open videos in a custom web view window to override CSS

A new option should be added to Open videos select in Preferences.
The goal is to allow blocking various distractions like related videos when the video is paused or finished.
It can be achieved with a custom web view window with some injected CSS. An option to modify that CSS should be added to Preferences as well.

These can be blocked with:
.ytp-pause-overlay {
  display: none !important;
}

.videowall-endscreen {
  display: none !important;
}

Is it possible to open the video within a webview in the app itself? Another alternative would be to pass the url to open video a user-specified command to an app like iina '<url>. This would be a quick solution to avoiding opening a web browser.

@jacksongoode Web view option is not available yet. However you can already use a custom URL to open in IINA, see https://github.com/agentcooper/Telik/issues/7#issuecomment-1649468744.


OAUTH2 failure with java.net.SocketException in RemoteTokenServices...

Summary
At times our web service endpoints are getting "Unexpected end of file from server" errors when trying to authenticate with OAUTH2.
(I have a detailed explanation and a solution for this if you are interest...) you can reach out to me at<EMAIL_ADDRESS>or<EMAIL_ADDRESS>if you are interested in having a discussion about this situation.
Actual Behavior
We are getting sporadic failures from the RemoteTokenServices bean which does the actual POST to the security endpoint (in our case Okta's OAuth introspect). The failures are java.net.SocketException on unexpected end of file from server.
Expected Behavior
We are expecting all the calls to the security endpoint to not fail with this error.
Configuration
Normal SpringBoot OAUTH2 configuration: clientId, clientSecret, endpoint URL, stuff.
Version
2.2.1
Sample
Will supply sample on request -

@breitling I transferred the issue to the Spring Security OAuth project as it belongs here.

We are getting sporadic failures from the RemoteTokenServices bean which does the actual POST to the security endpoint (in our case Okta's OAuth introspect).

It seems to me that the issue is likely related to either your network or Okta's OAuth introspect endpoint. It doesn't seem to be an issue with Spring Security OAuth?

Joe, actually is seems to be a byproduct of the way TLS1.2 works and the SpringBoot RemoteTokenServices code. I have cloned that calls and made a minor change to it that fixes the issue. I was hoping to have a discussion with someone about what I discovered and I would like to contribute my solution, if it is acceptable/worthy/?, to the project. Can we have a more complete discussion off line? or would you rather just do it via this forum?

@breitling Let's keep the discussion on here so everyone else could follow.
Since you were able to patch a fix, can you put together a minimal code example that reproduces the issue and than applies the fix. That would be the most effective way.

Joe, can I send you a response via email that contains more details? Can I find your email address here somewhere? or you can send me an email to bobb at sg360 dot com and I will respond to that....if your interested.

Ok, no problem...here goes...this is what I discovered:
I have a web service that is using SpringBoot OAuth2 to talk to an Okta endpoint is validate an bearer token to allow someone to call my web services endpoint. Obviously the Okta introspect endpoint is an https URL. So enter TLS1.2.
Normally, we call to Okta endpoint the two machine start by doing a TLS1.2 handshake that established the connection and exchanges the keys for the encryption, etc. This is fairly heavy weight in terms of time and data but it has to be done (in TLS1.2 anyway). Once that handshake is complete the RemoteTokenServices bean POSTs an encrypted message to Okta and it sends back its encrypted response and everyone is happy. In order to potentially eliminate another costly handshake the receiving machine keeps the pipe open so if the sending machine has another request, the handshake isn't necessary. Now, everyone is even happier.
The receiving machine will only wait so long for another request before it decides to give up and close the pipe. It does this by sending a TLS Alert type 21 message back up the pipe, the other machine see this and says OK the pipe is closing and send back an Alert and that is that. Any new requests will have to do a TLS handshake again to get things started. It appears that wait time is 5 seconds (maybe Okta can control that, but is what is happening in my situation).
So here where it get interesting. If the sending machine send the next request right at the 5 second, the RemoteTokenServices' POST was throwing a ResourceAccessException with an I/O error on the request for an unexpected end of file from the server. It seems that TLS Alert is telling me the connection closed and this is causing the POST to fail.
Amazingly, our web service which is called about 25K times a day was generating about 50 failures with this as the error.
My solution was to catch the exception and just do the same POST again. The connection is now closed so the new POST will just go through the TLS hand shake again an all is good. We have added this to our web service and the problems have gone away.
Any thoughts?

I'll post some code in a bit showing what I did...

@breitling I don't see how this is related to OAuth specifically. This issue is obviously happening at the lower network layer and is environment related.

@breitling I'm closing this due to lack of feedback


exclude example in readme does not work, (?! not supported in go

hey. it seems like the filter regex is meant to be a go regex which means the exclude example doesn't work because it doesn't support (?!

Thank you for spotting it! And filling the gaps in my Go knowledge 😄
exclude option is back in v2.7.0 and I also added external to facilitate
excluding URLs

Thank you for spotting it! And filling the gaps in my Go knowledge 😄 exclude option is back in v2.7.0 and I also added external to facilitate excluding URLs

Thank-you! that's wonderful


Support aws/aws-cli for masOS + Windows

package name
aws/aws-cli
Overview
Opening this up for discussion. It would be great to see the aws-cli package supported on macOS and windows as this would further aqua's ability to be the go-to, one timer installer for my team and clients. Right now, it only supports linux and I'd like to see if we could change that. Have any attempts been made? Any thoughts here?

Thank you for opening this issue.
aws-cli was added by the following pull requests.

https://github.com/aquaproj/aqua-registry/pull/4807
https://github.com/aquaproj/aqua-registry/pull/4809

IIRC, we couldn't support macOS and Linux because AWS CLI's installation URLs didn't include the version string.
e.g. https://awscli.amazonaws.com/AWSCLIV2.pkg
aqua is a version manager, so package's download URLs must be different by version.
But I found download URLs of AWS CLI include the version string now.
https://docs.aws.amazon.com/cli/latest/userguide/getting-started-version.html

macOS: https://awscli.amazonaws.com/AWSCLIV2-version.number.pkg
windows: https://awscli.amazonaws.com/AWSCLIV2-version.number.msi

So the above issue was resolved.
aqua supports PKG format, but doesn't support .msi format.

https://github.com/aquaproj/aqua/issues/1803

So I guess aqua can support macOS but can't support Windows for now.
I'm not familiar with .msi format, so I'm not sure if aqua will be able to support .msi format.

IIRC, we couldn't support macOS and Windows because AWS CLI's installation URLs didn't include the version string.

I found a comment.

https://github.com/aquaproj/aqua/issues/1803#issuecomment-1483956518

I thought aqua can support aws CLI in macOS, but unfortunately aqua couldn't because AWS CLI's PKG URL doesn't have the version, so aqua couldn't distinguish the version.
https://awscli.amazonaws.com/AWSCLIV2.pkg

This is still draft, but I could install AWS CLI on macOS.

https://github.com/aquaproj/aqua-registry/pull/14026

I'm not sure if it really works properly, so I'll take a look further.

Supported macOS. 🎉
I created an issue for Windows.

https://github.com/aquaproj/aqua/issues/2126

I close this issue.
I created an issue for Windows instead.

https://github.com/aquaproj/aqua-registry/issues/14093


Window - toggle fullscreen / change style at runtime

Dear Developers,
As seen in the title, I'd like to request the ability to switch between windowed and fullscreen mode at runtime, since I seem to run into problems, like destroying my additional GLEW OpenGL context when simply re-creating the window with a different style by myself.
And I don't consider having to restart my application as an option.
Maybe this is just me, having done a mistake in my code (like not re-creating the context as well), but I think if this was do-able, it would be used by many.
Thank you for your time and have a nice software,
--Zuzu_Typ--

Please use the forum for discussions like this as stated in the Contribution Guidelines.
Switching between window and fullscreen mode requires the recreation of the window and I'm not certain, but pretty sure that this is done so because of technical limitations.
If you lose some OpenGL states during a switch, you'll simply have to make sure to reset them. There's no need to restart the whole application.
But again, please continue this discussion on the forum and provide code example and a description of what your problem actually is.


Support all fields in statement and slow query list

Feature Request
Is your feature request related to a problem? Please describe:

Describe the feature you'd like:
Now in statement and slow query UI, only part of the all available fields are listed. It would be better to allow users to select any possible columns.

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

@baurine I think we can prioritize this improvement after current work is done.

ok, sure!

Start to work on this today.


Bevy render seems to be getting stuck on wgpu::SurfaceError::Outdated on linux while using glfw windowing backend

Bevy version
0.15.0-dev
Operating System: Arch Linux
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.10.10-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3060/PCIe/SSE2
Manufacturer: ASUS
`AdapterInfo { name: "NVIDIA GeForce RTX 3060", vendor: 4318, device: 9476, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "560.35.03", backend: Vulkan }`

What you did
I am writing a custom windowing backend so that I could replace winit with glfw.
What went wrong
The window gets created and stuff gets rendered onto the window at the start, but after about 3 presents from the renderer, they just stop and the frame stays the same.
Additional information
The program does not hang. I found out that trigger_screenshots gets called pretty often (why?) and it still gets called just fine even though nothing new gets rendered onto the window. I also tested this on my M2 macbook air and the problem does not present itself. After I commented out the wgpu::SurfaceError::Outdated block that just warns the user once about the swap chain, the window started receiving new frames. What seems to be happening is that wgpu returns the SurfaceError::Outdated error and, because I am using an nvidia graphics card, bevy gets stuck in the branch where I get warned once about the swap chain and the surface never gets reconfigured for some reason. It could also be that the glfw window is just configured wrong, because this problem does not seem to occur while using winit.

Can you reproduce this with wgpu alone? This is likely their bug :)

No, I cannot reproduce with wgpu. It could be that I am missing something, because the bevy_renderer code is so hard to follow, but it doesn't seem to be a problem in wgpu. I even updated wgpu from version 0.20 to 22.

Apparently I'm dumb. The problem goes away if I enable the wayland feature in glfw. The window is now getting new frames and you can resize the window without anything going wrong. Apparently the window is using XWayland or whatever. What is really strange though is that this wasn't an issue while using wgpu directly with glfw. The window was still using XWayland and it still was working properly.


CASMCMS-7273 - update ims for larger image builds.

Summary and Scope
Fixes for IMS image builds with larger images and operations under dkms builds.
Also updating alpine:latest base images to use csm rebuilt images with security fixes.
Issues and Related PRs

Resolves CASMTRIAGE-7327
Resolves CASMTRIAGE-7274
Resolves CASMCMS-9147
Resolves CASMTRIAGE-7345

Testing
Tested on:

Mug, Fanta, Gamora, Tyr

Test description:
Installed new version via helm, ran through problem cases to insure working as expected.

Were the install/upgrade-based validation checks/tests run (goss tests/install-validation doc)? N
Were continuous integration tests run? If not, why? N
Was upgrade tested? If not, why? Y
Was downgrade tested? If not, why? Y
Were new tests (or test issues/Jiras) created for this change? N

Risks and Mitigations
Fairly low risk as these changes have been on several working systems for about a week.
Pull Request Checklist

[X] Version number(s) incremented, if applicable
[X] Copyrights updated
[X] License file intact
[X] Target branch correct
[X] Testing is appropriate and complete, if applicable

@dlaine-hpe CASMCMS-7273 seems to be unrelated, should commit message reflect some other JIRA instead?


Better handling of HTTP response codes

Currently the client raises an Exception for any response code that is not 200. This should be made more specific.

Fixed w/ #24


search for a node through the data values of the node itself

how can i lookup a node by the values of that node and focus it by expanding all parents and siblings

If you have a search box, roughly you need to do the following:

Listen to seach input change event
In the handler function, get chart data
Find all nodes which match your search and set _expanded to it (you can also use _selected)
rerender graph

Rough implementation
function handleSearch(searchText){
  const data = chart.date();
   data.forEach(d=>{
   if(d.nameOrOtherProperty.includes(searchText)){
    d._expanded = true;  // if you just want expand
   d._selected = true;    // if you also want it to be selected, not remember if it's possible to select multiple nodes so not sure if this will work
     }
   })

chart.data(data).render()

}

1 node {value 10}
2 node {value 20}
3 node {value 30}
4 node {value 40 }
5 node {value 50}
6 node {value 60}
if i want to search value 30 (passed value at my function)  i want expand parents at the end my node.
it's possible to do this?

Yes, you can  use following code. Probably not precise, but it will give you directions
function handleSearch(searchText) {
  const data = chart.data();
  data.forEach(d => {
    if (d.value.includes(searchText)) {
      d._expanded = true;  // if you just want expand
      d._selected = true;    // if you also want it to be selected, not remember if it's possible to select multiple nodes so not sure if this will work
    }
  })

  chart.data(data).render()

}


Fix SqlObservation example

Add .create function at SqlObservation example when using with sql-urls.
#631

This is the new API for creating observers. It's valid only if you install sacred from the master branch. On the docs website, you can switch between "latest" which is the master branch, and "stable" which is the pypi release.


Implement outage banner

Implement service outage banner

Coverage increased (+0.02%) to 50.633% when pulling 681cda17a946c0b4b016973593c373ed7b6b0e45 on asauber:outage-banner into a96f53da8ea92290539dc5d564b7efa44772d0fb on linode:develop.

Thanks for the feedback, added tests

Coverage increased (+0.1%) to 50.708% when pulling 1a252792fc1751a268804ceb35dc38a165ed0b4d on asauber:outage-banner into a96f53da8ea92290539dc5d564b7efa44772d0fb on linode:develop.

Coverage increased (+0.06%) to 50.676% when pulling 61f4d9741ffbc26f6a7d6ca0298d8b4ea8e6ff27 on asauber:outage-banner into a96f53da8ea92290539dc5d564b7efa44772d0fb on linode:develop.


Revert ttl changes to resemble apply

Context

Revert the TTL to resemble that of apply

Changes proposed in this pull request

TTL to increase from 60 to 86400

Guidance to review

Review changes in the register DNS zones in azure portal

Important business

[ ] Does this PR introduce any PII fields that need to be overwritten or deleted in db/scripts/sanitise.sql?
[ ] Does this PR change the database schema? If so, have you updated the config/analytics.yml file and considered whether you need to send 'import_entity' events?
[ ] Do we need to send any updates to DQT as part of the work in this PR?
[ ] Does this PR need an ADR?

NB: Please notify the #twd_data_insights team and ask for a review if new fields are being added to analytics.yml

Is this dead?