Issue on client side

I followed the tutorial, and it looks like their is still an issue once i switch to the client side (counter) i can see my username and 1 second later it disappears.
Once i switch to counter page it calls the OnInitializedAsync method i see the username, then ~1 second later it calls again the OnInitializedAsync method and the username is empty.
When i check the authenticationstate on the second call the user is not authenticated anymore.

Are you getting the same issue by downloading and running this project?
The behavior you describe makes me think of two cases:

The authentication state sync is not correctly implemented, i.e., the authentication state is not correctly deserialized in the client. Please, double check the PersistentAuthenticationStateProvider implementation.
The authentication state is not propagated in the component hierarchy. Make sure you added builder.Services.AddCascadingAuthenticationState(); to the client's Program.cs file.

Otherwise, if you can share some code, I can take a look.

Hello,
I have zipped my project so you can take a look their is nothing extra added only an extra page and i removed the domain & clientId from the appsettings.json
secondbrain.zip
PersistentAuthenticationStateProvider.cs located in client application
`
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Authorization;
using SecondBrain.Blazor.Client.AuthenticationStateSyncer;
using System.Security.Claims;
public class PersistentAuthenticationStateProvider(PersistentComponentState persistentState) : AuthenticationStateProvider
{
private static readonly Task _unauthenticatedTask =
Task.FromResult(new AuthenticationState(new ClaimsPrincipal(new ClaimsIdentity())));
public override Task<AuthenticationState> GetAuthenticationStateAsync()
{
    if (!persistentState.TryTakeFromJson<UserInfo>(nameof(UserInfo), out var userInfo) || userInfo is null)
    {
        return _unauthenticatedTask;
    }

    Claim[] claims = [
        new Claim(ClaimTypes.NameIdentifier, userInfo.UserId),
        new Claim(ClaimTypes.Name, userInfo.Name),
        new Claim(ClaimTypes.Email, userInfo.Email)];

    return Task.FromResult(
        new AuthenticationState(new ClaimsPrincipal(new ClaimsIdentity(claims,
            authenticationType: nameof(PersistentAuthenticationStateProvider)))));
}

}
`
and builder.Services.AddCascadingAuthenticationState(); is added in the program.cs of the client application.
thanks in advance,

@quintendc, @andychiare

...the client side (counter) i can see my username and 1 second later it disappears.

I had the same issue copying the steps in the tutorial, but not when I downloaded the source from github.
I noticed two differences comparing the tutorial code and the source code in github, and made the following changes to get it working:
First, in PersistingRevalidatingAuthenticationStateProvider.OnPersistingAsync() in the server project, persist UserInfo state when the value of the name Claim is not null, rather than email (which in my case is null).
        private async Task OnPersistingAsync()
        {
                // ...code removed for brevity...

                if (userId != null && name != null)  // 👈 null check on name, rather than email
                {
                    _state.PersistAsJson(nameof(UserInfo), new UserInfo
                    {
                        UserId = userId,
                        Name = name,
                        Email = email
                    });
                }

                // ...code removed for brevity...
        }

Second, in PersistentAuthenticationStateProvider.GetAuthenticationStateAsync() in the client project, add null checks when creating a Claim, in particular for userInfo.Email (which in my case was null and threw an exception).
        public override Task<AuthenticationState> GetAuthenticationStateAsync()
        {
                <!-- ...code removed for brevity... -->

                Claim[] claims = [
                    new Claim(ClaimTypes.NameIdentifier, userInfo.UserId),
                    new Claim(ClaimTypes.Name, userInfo.Name ?? string.Empty),
                    new Claim(ClaimTypes.Email, userInfo.Email ?? string.Empty)];  // 👈 null check on Email

                <!-- ...code removed for brevity... -->
        }

Hello @grantcolley,
I changed my code with your code and it is working.
Thank you

Hey @grantcolley, thank you very much for reporting this fix. Actually, I had this typo in my initial code and then fixed it, but forgot to fix the code snippets in the article.


refactor: pop-api fungible integration tests

Break large test cases into smaller test cases.

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

Project coverage is 68.41%. Comparing base (c6ad126) to head (059e346).

@@           Coverage Diff           @@
##             main     #416   +/-   ##
=======================================
  Coverage   68.41%   68.41%
=======================================
  Files          70       70
  Lines       11838    11838
  Branches    11838    11838
=======================================
  Hits         8099     8099
  Misses       3482     3482
  Partials      257      257


CAMERA FAILED TO SETUP

Preliminary Checks

[X] This issue is not a duplicate. Before opening a new issue, please search existing issues.
[X] This issue is not a question, feature request, or anything other than a bug report directly related to this project.

Description
Hi,
the installation was completed successfully.
_Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing 'ZED camera SDK by Stereolabs (Use 'sudo apt install zstd' if zstd is not found)'  100%
Ubuntu version 20.04 detected. OK
To continue you have to accept the EULA. Accept  [Y/n] ?y
Installing...
Installation path: /usr/local/zed
[sudo] password for hnb:
Checking CUDA version...
OK: Found CUDA 11.4
Do you want to also install the static version of the ZED SDK (AI module will still require libsl_ai.so) [Y/n] ?y
Do you want to install the AI module (required for Object detection and Neural Depth, recommended), cuDNN 8.4 and TensorRT 8.4 will be installed [Y/n] ?y
Install samples (recommended) [Y/n] ?y
Installation path: /usr/local/zed/samples/
Dependencies installation complete
Do you want to install the Python API (recommended) [Y/n] ?y
Please specify your python executable: python3
Requirement already satisfied: numpy in /home/hnb/.local/lib/python3.8/site-packages (1.24.1)
-> Downloading to '/tmp/selfgz15379'
Detected platform:
	 linux_x86_64
	 Python 3.8
	 ZED SDK 3.8
-> Checking if https://download.stereolabs.com/zedsdk/3.8/whl/linux_x86_64/pyzed-3.8-cp38-cp38-linux_x86_64.whl exists and is available
-> Found ! Downloading python package into /tmp/selfgz15379/pyzed-3.8-cp38-cp38-linux_x86_64.whl
-> Installing necessary dependencies
Requirement already satisfied: numpy in /home/hnb/.local/lib/python3.8/site-packages (1.24.1)
Processing ./pyzed-3.8-cp38-cp38-linux_x86_64.whl
Collecting numpy>=1.13
  Using cached numpy-1.24.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)
Collecting cython>=0.28
  Using cached Cython-0.29.32-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (1.9 MB)
Installing collected packages: numpy, cython, pyzed
Successfully installed cython-0.29.32 numpy-1.24.1 pyzed-3.8
Done
  To install it later or on a different environment run :
 python -m pip install --ignore-installed /tmp/selfgz15379/pyzed-3.8-cp38-cp38-linux_x86_64.whl
The ZED Python API was installed for 'python3', when using conda environement or virtualenv, the ZED Python API may need to be resetup to be available (using 'python /usr/local/zed/get_python_api.py')
Do you want to run the ZED Diagnostic to download all AI models [Y/n] ?n

ZED SDK installation complete !_

but the error I got when I ran the camera_control python file is as follows:
Running...
Opening ZED Camera...
CAMERA FAILED TO SETUP

OS: Ubuntu 20.04.5 LTS
GPU: NVIDIA Corporation GM108M [GeForce 920MX]
ZED SDK version: ZED SDK 3.8
nvidia-smi:

nvcc -V:
nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2021 NVIDIA Corporation Built on Wed_Jun__2_19:15:15_PDT_2021 Cuda compilation tools, release 11.4, V11.4.48 Build cuda_11.4.r11.4/compiler.30033411_0
i'm just learning about zed. what am I supposed to do?
Steps to Reproduce
1.ı dont know
2.
3.
...
Expected Result
i was waiting for the camera to turn on
Actual Result
error:
Running...
Opening ZED Camera...
CAMERA FAILED TO SETUP
ZED Camera model
ZED2
Environment
OS: Ubuntu 20.04.5 LTS
GPU: NVIDIA Corporation GM108M [GeForce 920MX]
ZED SDK version: ZED SDK 3.8

Anything else?
No response

Hi @havvanurbozomeroglu
this is not a bug report, but a support request.
Please write an email to<EMAIL_ADDRESS>and add the report file generated by the ZED Diagnostic tool.
I close the issue.


Improved content for Tutorial 5 (QAMP fall'22)

Summary
Enhancing the documentation of Tutorial "05_torch_connector" as a mentee for QAMP 2022.
Mentor: @ElePT
Mentee: @SanyaNanda
Details and comments
Restructured the notebook (Objective, Introduction, Tutorial and what was learned)
Imports placed where required
Added Detailed Explanations in all the sections
Inline comments for better understanding of the code and arguments used in function
Hyperlinks to API references wherever required

Thanks for taking care of this. The 05 tutorial was slightly changed. Could you please merge your work with the latest version of the tutorial? I can help if you have issues.

Thank you! I will do this and get in touch in case of queries
Issue with running of cells resolved. Problem in estimating regression accuracy.

Problem in estimating regression accuracy.
What's the problem?

In cells 13,14: I added code for regression accuracy as it was missing, but I think the formula I am using is not correct. I was getting a format error, so I commented those particular lines out

regressor_accuracy_score = sum(y_ == y) / len(y)

This is not a great metric for a regression problem. Perhaps it is close to zero. Take a look at root mean squared error (RMSE) or R2 metric. They are suitable for regression problems. Or explore: https://scikit-learn.org/stable/modules/model_evaluation.html

Yes I was getting the error as zero. I will checkout the link and incorporate changes accordingly. Thankyou!

New PR: https://github.com/Qiskit/qiskit-machine-learning/pull/534


API command test fail on MacOS

from https://dev.azure.com/monacotools/Monaco/_build/results?buildId=181369&view=logs&j=9833cdaa-2e92-5f8d-56a8-239fd18fd628&t=5e43d7ff-5b8d-51b4-ea10-68cb35d0fdb0
  1) vscode API - commands
       api-command: vscode.open:

      AssertionError [ERR_ASSERTION] [ERR_ASSERTION]: Expected values to be strictly equal:

2 !== 1

      + expected - actual

      -2
      +1

      at Context.<anonymous> (/Users/runner/work/1/s/extensions/vscode-api-tests/src/singlefolder-tests/commands.test.ts:122:10)

A possible regression from https://github.com/microsoft/vscode/commit/dced70bbf36d3c53c08e791da1791ac7fc42519b

No, actually was reported before: https://github.com/microsoft/vscode/issues/155519

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

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


Add Snappy package

Testing:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.2128
https://travis-ci.org/ingenue/hunter/builds/262825219?utm_source=github_status&utm_medium=notification

Can you explain the TOOLCHAIN=analyse failures? The log is hard to parse.

analyzer thinks that nullpointer can be used in memcpy:
/home/travis/build/ingenue/hunter/_testing/Hunter/_Base/13efc7d/487d0d9/9e4de4b/Build/Snappy/Source/snappy.cc:1376:5: warning: Null pointer passed as an argument to a 'nonnull' parameter
    memcpy(op_ptr_, ip, avail);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~

I've seen this, but it is a warning. I'll report upstream.

I've seen this, but it is a warning

This is how clang analyzer works - it reports warnings. Polly toolchain analyze use script to turn it into error, otherwise this toolchain is useless :)

I'll report upstream.

Okay, but if you're not planning to fix it fast it make sense to exclude it. We can always enable it back if needed.

I'd like to disable it.
The issue with memcpy() is known problem. Standard says you cannot pass null pointer there, but everyone knows implementations handles nulls anyway.

Can we proceed?

Feel free to send pull request with exclude to pkg.snappy.

Have you tested it?

Have you tested it?

I haven't received notification that you've updated https://github.com/ingenue/hunter/pull/110. Will run tests now.

Testing:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.2141
https://travis-ci.org/ingenue/hunter/builds/263488582?utm_source=github_status&utm_medium=notification

Uploading:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.2145
https://travis-ci.org/ingenue/hunter/builds/263969435?utm_source=github_status&utm_medium=notification

Released: https://github.com/ruslo/hunter/releases/tag/v0.19.68


One PR to rule them all

Coverage increased (+0.1%) to 95.783% when pulling ea36b8055f5296b9ae76eba77c7e7d295d05a9c9 on webstack:fork into c27084114e258863b82753fc574a362cd6c62fcd on mattupstate:master.

Please merge this!

This is a great library, let's keep the progress, please merge!

The project is dead if you really want to use flask-jwt (for existing project), you can use my fork https://github.com/webstack/flask-jwt (and the public release on PyPi https://pypi.org/project/Webstack-Flask-JWT/). I don't use Flask anymore so I don't intend to maintain it.
For newer projects, I recommend https://github.com/vimalloc/flask-jwt-extended


Add backwards compatibility tests for automation

Add backwards compatibility tests for the plugin to automate end-to-end upgrade paths for faster releases.
Developer documentation for implementing bwc tests and hooking them to CI: https://github.com/opensearch-project/opensearch-plugins/blob/main/TESTING.md#backwards-compatibility-testing
This would include the BWC tests on both plugin level and distribution bundle level.

plan to target for 2.15

Can we get some traction on this issue? This BWC tests request would be a future release blocker.

@eirsep @sbcd90 Do we have a plan to onboard to this distribution level BWC test? We are planning to add BWC tests as mandatory exit criteria in future releases.


refactor: move I/O handle ownership out of bitbox pageloader

Moving control of the I/O handle out of the PageLoader enables it to be used for other things, like querying the beatree for leaf preimages.

#618  👈 (View in Graphite)
master

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

Merge activity

Dec 16, 12:48 PM EST: A user started a stack merge that includes this pull request via Graphite.


WebSocketTransport.connect rejects promise with "undefined" error.

https://github.com/aspnet/SignalR/blob/b3a33efeaea9d99a0541be9b98104a2d72f87579/client-ts/signalr/src/Transports.ts#L60-L62
results in

I would look at all usages of reject(). I'm also curious about rejecting with a string vs. rejecting with an Error object. Is it really OK to mix and match in a library?

It depends on what layer is consuming this API.
We should always be rejecting with new Error("message") or new TypeExtendingError("message") (as with .NET and Exception)

Looks like this was mostly fixed in fb6121399c676208b12663e60d12f84b7e8020c1


:test_tube: Feat: callHandler test coverage

Description
Concise description of proposed changes
Testing
Explain the quality checks that have been done on the code changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

#1232  👈
main

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

Join @roninjin10 and the rest of your teammates on  Graphite


Add manual to write packages

This is a tutorial on how to write your first Preflight package.
Signed-off-by: Jose Fuentes<EMAIL_ADDRESS>

Great tutorial, it's really good to have this documented to encourage other people to get involved! My feedback is all pretty much all spelling/grammar/typos. I've rearranged some sentences if I thought they were a bit confusing but it's quite subjective so feel free to disagree.

Great tutorial, it's really good to have this documented to encourage other people to get involved! My feedback is all pretty much all spelling/grammar/typos. I've rearranged some sentences if I thought they were a bit confusing but it's quite subjective so feel free to disagree.

Many thanks for the corrections!
I have applied all of them.

I see some changes coming to the way this works (in #36) but for now this is good to merge from me.
/approve
/lgtm


[CARBONDATA-2834] Remove unnecessary nested looping over loadMetadatadetails.

removed nested for loop which causes query performance degradation if…
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[ ] Any interfaces changed?

[ ] Any backward compatibility impacted?

[ ] Document update required?

[ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/6183/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7804/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/6528/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7810/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/6534/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/6535/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7811/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/6187/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/6188/

@kunal642 Please fix checkstyle

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/6197/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7824/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/6547/


feat: add ns_error_code to FFI. Fixes #332

Updated using enums (safer_ffi does not support #defines or constant exports), and moved implementation to FFI (NsError) to avoid 1) circular dependencies and 2) redundant declarations in both NoosphereError and NsError where we could potentially miss exporting an error type. Not thrilled with the naming constraints on the export, but avoids conflicts with ns_error, ns_error_code etc.

Changes to FFI:

Renaming char* ns_error_string(const ns_error_t*) to char* ns_error_message_get(const ns_error_t*)
New method uint8_t ns_error_code_get(const ns_error_t*)

Swift example:
        let error_code = ns_error_code_get(maybe_error.pointee)
        let error_message_ptr = ns_error_message_get(maybe_error.pointee)
        let error_message = String.init(cString: error_message_ptr!)

        assert(error_code == NS_ERROR_CODE_OTHER.rawValue)

@jsantell after trying out different patterns for tracing to see how ergonomic they were on the Swift side, I aligned on a good one where Swift users don't have to deal in magic numbers and on the Rust side we can convert ints to enums before dealing with them.
Would you be willing to update this change to reflect that pattern?
https://github.com/subconsciousnetwork/noosphere/pull/342/files#diff-209a32115ba134ccb66539da851b87cf7a203ea55536385503d42698151a2785R16-R59

Updated based off of the style in the logging -- slightly different ergonomics here (enums OUT rather than enums IN), but similar. Similarly if the logging enums are u32 for Swift ergo, we can update the enums here as well


This page is not accessible from the left side "Contents" pane

This page is not accessible from the left side pane. You can test this by inputting set into the "Filter by Title" box on the left. It is only accessible from the S Index on Windows Commands page.
Expected Behavior
This page should be shown in the results from a "Filter by title" search on the left side contents pane. This page should be highlighted in the "Contents" pane.
A demonstration of what is meant by "highlighted":

Actual Behavior
This page has a weird title: set_1 rather than set and is not accessible except going through the alphabetical index. This page is not highlighted on the left side "Contents" pane:

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

ID: fa28d438-585b-ba81-ef47-922d2048adb1
Version Independent ID: 5f8af166-49b8-dd96-1630-a38c723bdb6a
Content: set_1
Content Source: WindowsServerDocs/administration/windows-commands/set_1.md
Product: windows-server-threshold
GitHub Login: @coreyp-at-msft
Microsoft Alias: coreyp

Thanks for the feedback - I've updated the article.


Ctrl-o (operate-and-get-next) triggers a Segmentation fault on Termux on Android

Wondering if this could also happen on OS X or any other environments.

Thanks for the report.
I tried solving it with the following patch (which works as equally fine on Linux as the unmodified version, both on python2 an python3, and is more strictly ctype-hinted, hence "theoretically better"):
diff --git a/pythonrc.py b/pythonrc.py
index 397093e..92e0004 100644
--- a/pythonrc.py
+++ b/pythonrc.py
@@ -460,13 +460,14 @@ def init():
         # We'll hook the C functions that we need from the underlying
         # libreadline implementation that aren't exposed by the readline
         # python module.
-        from ctypes import CDLL, CFUNCTYPE, c_int
+        from ctypes import CDLL, CFUNCTYPE, c_int, c_char_p

         librl = CDLL(readline.__file__)
         rl_callback = CFUNCTYPE(c_int, c_int, c_int)
         rl_int_void = CFUNCTYPE(c_int)
+        rl_add_clbk = CFUNCTYPE(c_int, c_char_p, rl_callback, c_int)

-        readline.add_defun = librl.rl_add_defun # didn't bother to define args
+        readline.add_defun = rl_add_clbk(librl.rl_add_defun)
         readline.accept_line = rl_callback(librl.rl_newline)
         readline.previous_history = rl_callback(librl.rl_get_previous_history)
         readline.where_history = rl_int_void(librl.where_history)
@@ -490,7 +491,7 @@ def init():
             return result

         # Hook our function to Ctrl-o, and hold a reference to it to avoid GC
-        readline.add_defun('operate-and-get-next', operate_and_get_next, ord("O") & 0x1f)
+        readline.add_defun(b'operate-and-get-next', operate_and_get_next, ord("O") & 0x1f)
         history._readline_functions = [operate_and_get_next]

     except (ImportError, OSError, AttributeError) as e:

...but now, on termux, it segfaults when registering the function (i.e. when calling readline.add_defun) instead of when invoking operate_and_get_next by pressing Ctrl-o. Anyway, the segfault in the non-patched case happens before any single line of the registered function is executed, so there's something definitely funky on the registration process).

I think this excerpt from the ctypes documentation can be relevant:

Also, note that if the callback function is called in a thread created outside of Python’s control (e.g. by the foreign code that calls the callback), ctypes creates a new dummy Python thread on every invocation. This behavior is correct for most purposes, but it means that values stored with threading.local will not survive across different callbacks, even when those calls are made from the same C thread.

Perhaps this works in Linux just by chance, and breaks on other platforms. I wish someone with an OS X or a Windows at hand tried this repository.

Actually, this is more complicated and waay out of my control. I've put gdb to the task and it seems the access violation occurs when preparing the FFI call. In GNU/Linux, x86_64 arch, the call to  ffi_closure_unix64 looks like this (and works perfectly):
$ gdb --eval-command=run python

(...)
>>> from ctypes import c_int, c_void_p, CFUNCTYPE, c_char_p, cast
>>> hex(cast(history._readline_functions[0], c_void_p).value)
'0x7ffff7fee0f0'
>>> ^Z

Program received signal SIGTSTP, Stopped (user).
(...)
(gdb) x/4i 0x7ffff7fee0f0
   0x7ffff7fee0f0:	movabs $0x7ffff633ef62,%r11
   0x7ffff7fee0fa:	movabs $0x7ffff7fee0f0,%r10
   0x7ffff7fee104:	clc
   0x7ffff7fee105:	rex.WB jmpq *%r11
(gdb) disass 0x7ffff633ef62
Dump of assembler code for function ffi_closure_unix64:
   0x00007ffff633ef62 <+0>:	lea    -0xc8(%rsp),%rsp
(...)

If I do the same in Termux, with this compilation of Python:
Python 3.6.2 (default, Jul 19 2017, 11:01:41)
[GCC 4.2.1 Compatible Android Clang 5.0.300080 ] on linux

the arm code preparing the call to ffi_closure_SYSV looks like this:
(gdb) x/3i 0x556461ae80
   0x556461ae80:        ldr     x16, 0x556461ae8c
*  0x556461ae84:        adr     x17, 0x556461ae94
   0x556461ae88:        br      x16
(gdb) x/g 0x556461ae8c
0x556461ae8c:   0x7fb78255a8 <ffi_closure_SYSV>

which is analogous, but sigsegvs at the second instruction (the one I marked with an asterisk).
Possibly related info can be found here:

https://github.com/libffi/libffi/issues/262
https://bugs.python.org/issue26942
https://bugs.python.org/issue27606

So marking this as "won't fix". Sorry for the inconveniences.


NIP49 is part of package but not exported by index.js / bundle

nip49 is present in current versions, but can not be imported as its not exported.

No need to create issues before pull requests, please create just the issue or just the pull request.


ci: empty commit for triggering a PR

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our guidelines: https://github.com/Badminton-Apps/core/blob/main/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Badminton-Apps application / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

ik heb de Contributor Licentie Overeenkomst gelezen en verklaar mij hiermee akkoord


feat: add support for optional JWT authentication

What type of PR is this?
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #3081

/retest

/retest


blemesh_bridge commissioning failure with kCertificationDeclarationNoCertificateFound

Using the blemesh_bridge example being built out-of-box and using the opensource chip-tool example, I'm consistently getting a commissioning failure with the following error:
[1666019233936] [15251:85465] CHIP: [DMG] Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0001
[1666019233936] [15251:85465] CHIP: [CTL] Received Attestation Information from the device
[1666019233936] [15251:85465] CHIP: [CTL] Successfully finished commissioning step 'SendAttestationRequest'
[1666019233936] [15251:85465] CHIP: [CTL] Commissioning stage next step: 'SendAttestationRequest' -> 'AttestationVerification'
[1666019233936] [15251:85465] CHIP: [CTL] Performing next commissioning step 'AttestationVerification'
[1666019233936] [15251:85465] CHIP: [CTL] Verifying attestation
[1666019233942] [15251:85465] CHIP: [CTL] Failed in verifying 'Attestation Information' command received from the device: err 601. Look at AttestationVerificationResult enum to understand the errors
[1666019233942] [15251:85465] CHIP: [CTL] Error on commissioning step 'AttestationVerification': '../../src/controller/CHIPDeviceController.cpp:1018: CHIP Error 0x000000AC: Internal error'
[1666019233942] [15251:85465] CHIP: [CTL] Failed to perform commissioning step 8
[1666019233942] [15251:85465] CHIP: [CTL] Going from commissioning step 'AttestationVerification' with lastErr = '../../src/controller/CHIPDeviceController.cpp:1018: CHIP Error 0x000000AC: Internal error' -> 'Cleanup'
[1666019233942] [15251:85465] CHIP: [CTL] Performing next commissioning step 'Cleanup' with completion status = '../../src/controller/CHIPDeviceController.cpp:1018: CHIP Error 0x000000AC: Internal error'
[1666019233942] [15251:85465] CHIP: [CTL] Expiring failsafe on proxy 0x7feef7808600

On the ESP32 side, these are the logs which appear to not report any errors as far as not having any valid CDs?
I (44488) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 0) status= 14
I (44488) NimBLE: GATT procedure initiated: indicate;
I (44488) NimBLE: att_handle=14

I (44558) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 0) status= 14
I (44558) NimBLE: GATT procedure initiated: indicate;
I (44558) NimBLE: att_handle=14

I (44598) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 0) status= 14
I (44598) CHIP[DL]: Write request received for CHIPoBLE RX characteristic con 0 12
I (44608) chip[EM]: >>> [E:8430r M:187172288] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:08 (IM:InvokeCommandRequest)
I (44628) esp_matter_command: Received command 0x0000 for enpoint 0x0000's cluster 0x0000003E
I (44628) chip[ZCL]: OpCreds: Received an AttestationRequest command
I (44898) chip[ZCL]: OpCreds: AttestationRequest successful.
I (44908) chip[EM]: <<< [E:8430r M:252579693] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
I (44908) chip[IN]: (S) Sending msg 252579693 on secure session with LSID: 21973
I (44918) NimBLE: GATT procedure initiated: indicate;
I (44918) NimBLE: att_handle=14

E (44928) chip[DL]: Long dispatch time: 321 ms, for event type 7
I (44978) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 0) status= 14
I (44988) NimBLE: GATT procedure initiated: indicate;
I (44988) NimBLE: att_handle=14

I (45048) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 0) status= 14
I (45048) NimBLE: GATT procedure initiated: indicate;
I (45058) NimBLE: att_handle=14

Can you update the chip-tool and try again? I have faced similar AttestationVerification errors and updating the chip-tool fixed it.

Hey @chiragatal  I just updated chip-tool to the latest v1.0-branch commit and rebuilt it. Unfortunately I am still seeing the same errors.
The strange thing is, I do not see these if I use the 'light' example application.

Looks like this may be a similar issue as https://github.com/project-chip/connectedhomeip/issues/23164
Looks like I should probably try to checkout v1.0-branch on the connectedhomeip submodule that esp-matter pulled from. Will test this out

That was it! Checking out v1.0-branch in the connectedhomeip submodule led to successful commissioning of the blemesh_bridge.


Cannot update alternate key entity framework core 1.0 rc-1

I'm using entity framework 7 or core 1.0 for my new project. In the products table, ProductName column is set as an alternate key (unique constraint). The problem is that I'm unable to update this column in the database. Here are the details:
stackoverflow question
More details are in the commnts of the stackoverflow post.

The update query is working fine in SQL server so it really is an Entity Framework issue.

@ar27111994 EF Core currently does not support changing the value of alternate keys. We do have https://github.com/aspnet/EntityFramework/issues/4073 tracking removing this restriction though.
BTW it only needs to be an alternate key if you want it to be used as the target key of a relationship. If you just want a unique index, then use the HasIndex() method, rather than AlternateKey(). Unique index values can be changed.

Thank You so much. @rowanmiller

I have a model where an object has a key that I set manually (SQL Server, not an identity column)
In my code, I fetch one of these objects, then copy it using AutoMapper, and then I set a new value for the key and save it. This gives me an error "The property 'Id' on entity type 'DbProject' is part of a key and so cannot be modified or marked as modified.".
What do I do to basically modify they key value of this new object?


Make the ComposeDashboardPanel builder veneer configurable

Relates to #653
In order to properly support the Dashboard v2 schema in the Foundation SDK, we need to be able to configure how to compose the various "panel plugins" into self-contained panel builders.
This PR takes the builder veneer that we use today and makes it configurable enough to be used for Dashboard v2 as well.

↑ no change means I haven't completely borked panels composition :sweat_smile:


[refs #168] Footer primary links on desktop view and removed logo

Description
NHS logo has been removed from the footer.
Nunjucks macro template, readme and example page have all been updated.
Primary links styling got updated. They no longer stack on desktop.
Checklist

[x] SCSS
[x] Nunjucks macro
[x] A standalone example
[x] README/Documentation with HTML snippet
[x] Tested against our testing policy (Resolution, Browser & Accessibility)
[x] Print stylesheet considered
[ ] CHANGELOG entry

Do we still need the logo-nhs-white.svg file within packages/assets/logos?


CCU sensors sometimes unavailable after HA restart

DONT'T DELETE THIS.
Please answer all questions as good as possible.
Make sure you have read the documentation at https://github.com/danielperna84/custom_homematic#custom_homematic.
Make sure you are running the latest version of hahomematic or it's custom_component (and Home Assistant) before reporting an issue.
custom_component/hahomematic version (if applicable):
1.2.2
Home Assistant version (if applicable):
2022.5.1
CCU version:

Model (CCU2/3, Raspi3/4, NUC, ProxmoxVE, ...): VM
OS (Original, RaspberryMatic, debmatic/...): RaspberryMatic
Version: <IP_ADDRESS>20430

Problem-relevant configuration:
Do you use tls? n
Do you use callback? n
Do you use username and password? y
Which interfaces do you use? BidCoS-RF
Describe the bug
A clear and concise description of what the bug is.
Sometimes after restarting Home Assistant all CCU sensors (number of service messages, number of alarms, duty cycle etc.) are "unavailable". Everything else works - I can control actuators and get values from sensors like door contacts.
The whole thing has occurred several times with different versions, but is not really reproducible. Currently the error exists again after I updated from HA 2022.5.0 to 2022.5.1 yesterday. Is there any information I can collect that can be helpful in debugging before I restart HA?
In the log I do not see any messages from the Homematic component.
To Reproduce
random after restart of HA
Screenshots (if applicable)

CCU firewall
integrations view
device view
enity view

Relevant HA log entries (full log)
There's nothing logged related to HM
Diagnostic Information (available on every device)
{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2022.5.1",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.9.9",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Europe/Berlin",
    "os_name": "Linux",
    "os_version": "5.10.108",
    "supervisor": "2022.05.0",
    "host_os": "Home Assistant OS 7.6",
    "docker_version": "20.10.9",
    "chassis": "vm",
    "run_as_root": true
  },
  "custom_components": {
    "dwd_weather": {
      "version": "1.2.19",
      "requirements": [
        "simple_dwd_weatherforecast==1.1.2",
        "markdownify==0.6.5"
      ]
    },
    "homematicip_local": {
      "version": "1.2.2",
      "requirements": [
        "hahomematic==1.2.2"
      ]
    },
    "xiaomi_cloud_map_extractor": {
      "version": "v2.1.5",
      "requirements": [
        "pillow",
        "pybase64",
        "python-miio",
        "requests",
        "pycryptodome"
      ]
    },
    "scheduler": {
      "version": "v0.0.0",
      "requirements": []
    },
    "hacs": {
      "version": "1.24.5",
      "requirements": [
        "aiogithubapi>=21.11.0"
      ]
    },
    "onkyo": {
      "version": "2021.10.5",
      "requirements": [
        "onkyo-eiscp==1.2.7"
      ]
    },
    "frontier_silicon": {
      "version": "2022.3.3",
      "requirements": [
        "afsapi==0.2.3rc2"
      ]
    },
    "smartthinq_sensors": {
      "version": "0.12.12",
      "requirements": [
        "pycountry>=20.7.3",
        "xmltodict>=0.12.0"
      ]
    },
    "presence_simulation": {
      "version": "1.16",
      "requirements": []
    },
    "browser_mod": {
      "version": "1.5.3",
      "requirements": []
    },
    "fontawesome": {
      "version": "2.1.5",
      "requirements": []
    },
    "emulated_hue": {
      "version": "2022.4.0",
      "requirements": [
        "aiohttp_cors==0.7.0"
      ]
    },
    "simpleicons": {
      "version": "v2.0.0",
      "requirements": [
        "simpleicons==6.16.0"
      ]
    }
  },
  "integration_manifest": {
    "domain": "homematicip_local",
    "name": "Homematic(IP) Local",
    "config_flow": true,
    "documentation": "https://github.com/danielperna84/custom_homematic",
    "issue_tracker": "https://github.com/danielperna84/hahomematic/issues",
    "requirements": [
      "hahomematic==1.2.2"
    ],
    "ssdp": [
      {
        "manufacturer": "EQ3",
        "manufacturerURL": "http://www.homematic.com"
      }
    ],
    "zeroconf": [],
    "homekit": {},
    "dependencies": [],
    "codeowners": [
      "@danielperna84",
      "@SukramJ"
    ],
    "iot_class": "local_push",
    "loggers": [
      "hahomematic"
    ],
    "version": "1.2.2",
    "is_built_in": false
  },
  "data": {
    "config": {
      "entry_id": "35822aacb390d7028935d6c727a3c230",
      "version": 1,
      "domain": "homematicip_local",
      "title": "ccu",
      "data": {
        "instance_name": "ccu",
        "host": "de838cd8-raspberrymatic",
        "username": "**REDACTED**",
        "password": "**REDACTED**",
        "tls": false,
        "verify_tls": false,
        "callback_host": null,
        "callback_port": null,
        "json_port": null,
        "interface": {
          "BidCos-RF": {
            "port": 2001
          },
          "HmIP-RF": {
            "port": 2010
          }
        }
      },
      "options": {},
      "pref_disable_new_entities": false,
      "pref_disable_polling": false,
      "source": "user",
      "unique_id": "<IP_ADDRESS>",
      "disabled_by": null
    },
    "platform_stats": {
      "climate": 6,
      "light": 4,
      "switch": 14,
      "sensor": 27,
      "binary_sensor": 55
    },
    "devices": [
      "HM-CC-TC",
      "HM-CC-VD",
      "HM-LC-Dim1PWM-CV",
      "HM-LC-Dim1T-FM",
      "HM-LC-Sw1-FM",
      "HM-LC-Sw1-Pl",
      "HM-LC-Sw2-FM",
      "HM-PB-4-WM",
      "HM-PB-6-WM55",
      "HM-PBI-4-FM",
      "HM-RC-12",
      "HM-Sec-RHS",
      "HM-Sec-SCo",
      "HM-Sec-SD-2",
      "HM-Sec-SD-2-Team",
      "HM-Sen-MDIR-SM",
      "HM-Sen-MDIR-WM55"
    ]
  }
}

Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.

As long as i could see. This is only related to system variables. Or am i wrong?
This is something that has been reported with  versions < 1.2.2, but should not happen with versions >= 1.2.2.
Please update to 1.3.0. If issue still exists add the following to the configuration.yaml:
logger:
  default: info
  logs:
    hahomematic: debug
    custom_components.homematicip_local: debug

What do you restart? HA only or the whole HAOS (with RaspberryMatic-Addon)?

Yes, you're right, it affects all system variables sensors. I've restarted HA, not HAOS/VM.
I've just updated to 1.3.1 and HA 2022.5.2. Now the error has disappeared again for the time being.
Since I don't know when it will occur again, enabling debugging is difficult. I guess enabling that now and letting it run until further notice is not an option because it floods the logfile?

Yes, permanent debugging is a mess. Maybe INFO is enough.
Please close this issue for now and reopen it if the issue re-occures.

OK. Thanks.

Same again with 1.5.4. I'm still unable to reproduce this issue so I have no debug logs.

Thanks for the update.

I've just updated to HA 2022.6.0 and custom_homematic to 1.7.2. After rebooting, all system var sensors were unavailable again. Everything else is working fine.

Logging configuration was:
logger:
  default: info
  logs:
    hahomematic: debug
    custom_components.homematicip_local: debug

Hope you find something helpful in the log.
home-assistant.log

That was helpful, but i need to add more debug logging to the next version.

Updated to HA 2022.6.1 and custom_homematic 1.7.3. No Sys Var issue this time.

So far i haven't done anything to fix this issue. I just extended debug loggging.
Ich think next HA update will be there soon.

Please update to >= 1.8.4 before updating HA to 2022.6.2

Updated to Homematic(IP) Local 1.8.4 and Home Assistant Core 2022.6.2. Again no issue.

Updated to Homematic(IP) Local 1.8.5 and Home Assistant Core 2022.6.3. Issue is back again. Logs attaches
config_entry-homematicip_local-35822aacb390d7028935d6c727a3c230.json(1).txt
home-assistant.log

Looks like your platform setup (sensor, binary_sensor) is somehow delayed. This might be the root cause why sometimes SVs are available and sometimes not.
1.8.6 should cover a delayed platform start.

Thanks a lot. I'll try and report back.

Updated to Homematic(IP) Local 1.8.6 and Home Assistant Core 2022.6.4. No issue.

Updated to Home Assistant Core 2022.6.5 without any issues.

Thanks for your support.
Please close this issue for now and reopen it if the issue re-occurs.

OK. Thanks for fixing!


docs ruby. minor changes to ruby examples

Thanks a lot for making the changes.

@jruizgit welcome!


Version with Git

Summary:
Instead of having a lot of potential for human error, let
the git tag define the proper version:
Exact tag, e.g. v1.5.0 => 1.5.0
Not at tag, use git.baseVersion => 1.5.0-SNAPSHOT--
Backport of df08a615
Test Plan: tagged a build, checked version, deleted tag, got a new version (1.5.0-SNAPSHOT-356-gdafc58f)
Reviewers: jeschkies, timcharper, aquamatthias, jenkins
Reviewed By: jeschkies, jenkins
Subscribers: marathon-team
JIRA Issues: MARATHON-7120

Retest this please


Renamed variables between small bits and complete code

EhConnectionString -> EventHubConnectionString
EhEntityPath -> EventHubName
Would be good to stick with one naming convention in the entire doc.

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

ID: c4c6d63e-95f5-de2c-972b-4da5fe71a6a6
Version Independent ID: 338bbd1b-d86d-ff48-0b8a-1d48cb9547f2
Content: Send events to Azure Event Hubs using .NET Standard
Content Source: articles/event-hubs/event-hubs-dotnet-standard-getstarted-send.md
Service: event-hubs
GitHub Login: @ShubhaVijayasarathy
Microsoft Alias: shvija

@BrendanGrant Thanks for the feedback! I agree with you. I will look into it but if you are interested in becoming a contributor you are more than welcome to send a PR for review :)

@BrendanGrant - Thank you. Updating the article today.

@BrendanGrant Thanks again for your feedback :) Now we are closing this issue. If you have any comments or questions we can reopen it.


[Plus store] Merchant/Devs have issue with metafields validation

Problem:
This is a query from developers/merchants using the app with metafields.
The issue is that they are trying to include duplicate phone number information imported in via metafields , but this results in an error that the phone number has already been taken. They are asking how to resolve it.
Steps to Reproduce:
List the steps we can take to reproduce the problem:
Screenshot and sample xml from the merchant

Sample Files:
Zendesk ticket 1
Zendesk ticket 2

@Shopify/plus-transporter


Where is the xml documentation file for System.Private.CoreLib ?

Most of the Net Core libraries have their corresponding xml documentation file, but not System.Private.CoreLib and some others.  Is there a reason for it ? Where can I get such xml documentation file ?

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

ID: 3e862820-a044-b4e5-63de-9c84778a3b2c
Version Independent ID: d0b7bf75-d2c3-5960-a4ca-0e560839045b
Content: Documentation comments - C# language specification
Content Source: spec/documentation-comments.md
Product: dotnet-csharp
Technology: csharp-spec
GitHub Login: @dotnet-bot
Microsoft Alias: wiwagn

Just discovered content of System.Private.CoreLib is spread in several other libraries.


Why are /id and /label not supported as Partition Key in Cosmos DB Graph?

I see that /id and /label are not supported as Partition Key in Cosmos DB Graph. What is the reason for this?
Let's say we have an Entity called User in our application where each user has a unique userId generated in the application as a UUID. We are considering using userId as the partition key.
When we save User data in the graph, we would be storing userId value as the Id of our Vertices.
But Azure Cosmos DB Graph does not allow using /id as the partitionKey. Thus we would have to create another property in our Vertices called userId which would hold this same Id and use that as a partitionKey ( /userId). Do you see any issues with this? Why is /id not allowed to be used as partition key in the first place?

Thanks for the feedback @sindhuragade! We are currently investigating and will update you shortly.

@sindhuragade Id and label are both used as a part of 'has' filter to filter properties, vertices, and edge, hence they are kept as reserved to define as partition key. Please refer to below link:
https://docs.microsoft.com/en-us/azure/cosmos-db/gremlin-support
However in your case is it possible to map any other property to 'id' like name of user? If yes, then it is safe to create the userid property and map the id as you mentioned above. That way there is no duplicity of properties too.

Yes, we do have a name property which is not unique. But I guess since we are using the userId as the partition key, and each User will be present in a separate logical partition, Name would be unique within that partition.
But if we do not want to map this name  to 'id', is the concern about just having duplicate data? Or is there any other problem with have the same value in 'id' and 'userId' and using userId as the partition key?

@sindhuragade  The /id and /label field names are used by the system, you can't use these for the partition key field names. Note that the /id is a field name, you can map it to a different property like you said (/userId) and use that as a partition key.

@sindhuragade Please also take a look at Properties of an Item, as it may be helpful to further detail item specific system generated properties.
We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


extension API improvements

That is specifically:

change the *Config types to no longer inherit from the corresponding
*Info types; instead, they provide an info() method
rename AnnotationConfig to DeclarationConfig for symmetry
between *Info and *Config types
change the annotation transformation methods on DeclarationConfig
to return this to allow fluent usage
allow additional parameter types for @Enhancement methods:
DeclarationConfig, DeclarationInfo, ClassInfo, MethodInfo,
and FieldInfo (*Info types are useful when only collecting
information during @Enhancement, not modifying anything)
remove useless type parameters from AnnotationInfo, ClassInfo,
MethodInfo, FieldInfo, ClassConfig, MethodConfig, FieldConfig,
BeanInfo, and ObserverInfo; the SyntheticBeanBuilder type
still has a type parameter, which remains an open question
add a lot of documentation

I just added some javadoc to ClassInfo.constructors(), methods() and fields(), the rest is unchanged.


[FEATURE REQ] Support different checkpointing strategy in EventProcessorClient

Discussed in this API reivew: https://apiview.dev/Assemblies/Review/58995c5facde49aa8898510ae955d5b6/383efae1c77e4f2096e0d30bc9479233#com.azure.spring.eventhubs.checkpoint.EventCheckpoint.
In spring-azure-messaging-eventhubs we support two more checkpointing strategies for a processor client, TIME and PARTITON_COUNT.

When set mode=TIME and interval=5min, it will checkpoint all the events consumed in the last 5 mins.
When set mode=PARTITON_COUNT and count=10, it will checkpoint when the number of events consumed in each partition reaches 10.

Not sure whether there is a plan to support extra checkpointing strategies in the data-plane SDK EventProcessorClient?
(cc @srnagar)

@conniey: Interesting timing.   This is one of the things that I wanted to talk about next week for consideration post-Copper.

WIP: https://gist.github.com/conniey/f7f2beac5e7103d92dd192e918418760


check that comment in workflow is okay

Codecov Report

Merging #3 (2b39fbb) into main (cbbbbeb) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main        #3   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            4         4
  Lines           35        35
=========================================
  Hits            35        35

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 cbbbbeb...2b39fbb. Read the comment docs.


Unable to start Comfy Paperspace notebook

Hi Ben,
I'm getting this running the Comfy notebook on a A6000.
I tried a fresh install and same thing.
Thanks for your help!

Total VRAM 48677 MB, total RAM 45140 MB
pytorch version: 2.1.1+cu121
xformers version: 0.0.23
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA RTX A6000 : cudaMallocAsync
Using xformers cross attention
Traceback (most recent call last):
File "/notebooks/ComfyUI/main.py", line 80, in
import execution
File "/notebooks/ComfyUI/execution.py", line 11, in
import nodes
File "/notebooks/ComfyUI/nodes.py", line 21, in
import comfy.diffusers_load
File "/notebooks/ComfyUI/comfy/diffusers_load.py", line 3, in
import comfy.sd
File "/notebooks/ComfyUI/comfy/sd.py", line 17, in
from . import model_detection
File "/notebooks/ComfyUI/comfy/model_detection.py", line 1, in
import comfy.supported_models
File "/notebooks/ComfyUI/comfy/supported_models.py", line 10, in
import comfy.text_encoders.aura_t5
File "/notebooks/ComfyUI/comfy/text_encoders/aura_t5.py", line 2, in
from transformers import LlamaTokenizerFast
ImportError: cannot import name 'LlamaTokenizerFast' from 'transformers' (/usr/local/lib/python3.11/dist-packages/transformers/init.py

I'll fix it shortly

I'll fix it shortly

same with a1111 as of yesterday. Gradio starts up but timeout immediately unable to generate anything.

Hello, same issue now in paperspacegradient
Thanks for your help!
Traceback (most recent call last):
File "/notebooks/ComfyUI/main.py", line 132, in
import execution
File "/notebooks/ComfyUI/execution.py", line 13, in
import nodes
File "/notebooks/ComfyUI/nodes.py", line 22, in
import comfy.diffusers_load
File "/notebooks/ComfyUI/comfy/diffusers_load.py", line 3, in
import comfy.sd
File "/notebooks/ComfyUI/comfy/sd.py", line 21, in
from . import model_detection
File "/notebooks/ComfyUI/comfy/model_detection.py", line 1, in
import comfy.supported_models
File "/notebooks/ComfyUI/comfy/supported_models.py", line 15, in
import comfy.text_encoders.hunyuan_video
File "/notebooks/ComfyUI/comfy/text_encoders/hunyuan_video.py", line 4, in
from transformers import LlamaTokenizerFast
ImportError: cannot import name 'LlamaTokenizerFast' from 'transformers' (/usr/local/lib/python3.11/dist-packages/transformers/init.py)

the same happens to me

Hello, same issue now in paperspacegradient
Thanks for your help!
Traceback (most recent call last): File "/notebooks/ComfyUI/main.py", line 132, in import execution File "/notebooks/ComfyUI/execution.py", line 13, in import nodes File "/notebooks/ComfyUI/nodes.py", line 22, in import comfy.diffusers_load File "/notebooks/ComfyUI/comfy/diffusers_load.py", line 3, in import comfy.sd File "/notebooks/ComfyUI/comfy/sd.py", line 21, in from . import model_detection File "/notebooks/ComfyUI/comfy/model_detection.py", line 1, in import comfy.supported_models File "/notebooks/ComfyUI/comfy/supported_models.py", line 15, in import comfy.text_encoders.hunyuan_video File "/notebooks/ComfyUI/comfy/text_encoders/hunyuan_video.py", line 4, in from transformers import LlamaTokenizerFast ImportError: cannot import name 'LlamaTokenizerFast' from 'transformers' (/usr/local/lib/python3.11/dist-packages/transformers/init.py)

I solved it with !pip install --upgrade transformers

@Arrozz11 thank you very much, solved!!


Implemented JSF in the core spec

This implements a prerequisite in #89

LGTM
I can't remember, but I think you were creating the JSF schema from scratch? I'm wondering if we should [at]cyberphone to see if he could review it too?

HI @cyberphone. As stated on the prior email thread, we're implementing JSF 0.82 directly into CycloneDX. Would you mind taking a look?
The schema supports the entirety of the JSF spec excluding extensions. The way extensions are currently implemented in JSF requires JSON properties to be dynamic and thus the JSON Schema additionalProperties value must be set to true, which prohibits the schema from being hardened. So we opted not to support JSF extensions so that our schema could remain hardened.
Let us know if we captured everything correctly or if there's something we need to change.
Also, do you see any major compatibility issues with excluding extension support?

I'm impressed!  BTW, I didn't know that JSON schema was that powerful.
If extensions is important or not is very application dependent.  Its main purpose is holding additional signatory meta data if there are multiple signers like in https://cyberphone.github.io/doc/security/jsf.html#p256_es256_r2048_rs256_mult-exts-kid.json
I will most certainly reference this work in other contexts.

@DarthHater can I get approval on this please?


Add LogicColumnsView struct for LogicStark

Addresses #312 for the logic stark. A few questions:

Is there anything special needed for PRs that touch constraints (e.g. a version bump somewhere)?
Would it be beneficial to add some generate-evaluate tests similar to those in arithmetic::addcy?

Hey @gio256! Thank you again for this work. To answer your questions:

constraints change do indeed yield a MINOR increment. We do handle them before proceeding to new releases so you don't need to bother with it here.

tests similar to addcy would indeed be a great add-on if you could!


Fixed href for attributes, relationships, and 'resource relationships'

Just a really minor fix because links were not working on Format page.

Thank you @joananeves!


Fixes for captions

Minor fixes for captions to better support manual rendering of captions.

Thanks for this :+1:


docs: improvements

Seems good in development but stucked with npx nuxi generate:

This should also enable Nuxt studio :)

Amazing, thank you :green_heart:

Amazing, thank you :green_heart:


add new token for SLT(Social Lending Token)

I'm Jason, CTO of Social Lending Network, which is a decentralized social finance platform based on block chain technology. I'm now applying for adding SLT(Social Lending Token), which is the token distributed by SLN. For more information, please refer to the website: https://sociallending.io/.
SLT will be exchanged in ZB.com within a week.

SLT icon is still missing, can you please help to check?
SLT information is uploaded and displayed in details.


items-feed support

Related to issue #20
Motivation
See discussion on issue #20
Large content sets should be loaded using the items feed end-point.
Checklist

[X] Code follows coding conventions held in this repo
[X] Automated tests have been added
[X] Tests are passing
[X] Docs have been updated (if applicable)
[X] Temporary settings (e.g. variables used during development and testing) have been reverted to defaults

@Simply007 @petrsvihlik Did I implement this correctly? I'm not sure what to do with the LinkedItems on IDeliveryItemsFeedResponse<T>

@alanta sorry for the delay...I'll check it and test it today

@alanta sorry for the delay...I'll check it and test it today

yes, this is a correct implementation.
the LinkedItems collection will likely be empty as the items-feed endpoint doesn't return any linked items (there might be just some rich text components but nothing else)...this is a technical debt which we might address in the future either on the SDK or on the API level.

yes, this is a correct implementation.
the LinkedItems collection will likely be empty as the items-feed endpoint doesn't return any linked items (there might be just some rich text components but nothing else)...this is a technical debt which we might address in the future either on the SDK or on the API level.


Improve code quality

Codecov Report

Merging #254 (cd38dc4) into master (27189c1) will decrease coverage by 0.08%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master     #254      +/-   ##
============================================
- Coverage     59.54%   59.46%   -0.09%
  Complexity      827      827
============================================
  Files           132      132
  Lines          2964     2968       +4
  Branches        376      380       +4
============================================
  Hits           1765     1765
- Misses         1063     1067       +4
  Partials        136      136

Impacted Files
Coverage Δ

...mmands/meetingcommands/AddTagToMeetingCommand.java
0.00% <0.00%> (ø)

...ands/meetingcommands/DeleteMeetingsTagCommand.java
0.00% <ø> (ø)

...c/commands/meetingcommands/FindMeetingCommand.java
46.15% <ø> (ø)

...c/commands/meetingcommands/ListMeetingCommand.java
16.66% <ø> (ø)

.../seedu/address/logic/parser/AddressBookParser.java
41.46% <0.00%> (-4.49%)
:arrow_down:

...er/meetingcommands/DeleteMeetingCommandParser.java
38.46% <ø> (ø)

.../meeting/exceptions/DuplicateMeetingException.java
100.00% <ø> (ø)

...l/meeting/exceptions/MeetingNotFoundException.java
100.00% <ø> (ø)

...seedu/address/storage/JsonMeetingsBookStorage.java
19.04% <ø> (ø)

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 27189c1...cd38dc4. Read the comment docs.


Failed to start SSH session: socket disconnect

d:\users\lxd\devel\rust_libs\scm_utils>cargo update --verbose
    Updating registry `https://github.com/rust-lang/crates.io-index`
    Updating git repository `ssh://git@dockersim:10022/lxd/sma_rust.git`
error: failed to load source for a dependency on `sma_utils`

Caused by:
  Unable to update ssh://git@dockersim:10022/lxd/sma_rust.git

Caused by:
  failed to fetch into C:\Users\lxd\.cargo\git\db\sma_rust-ee8fef5f32375505

Caused by:
  [23/-1] Failed to start SSH session: socket disconnect

I've just moved my workspace to a new machine, and I'm having troubles with remote private repos.  I expected to have a few troubles with keys and credentials (since this is a new machine), but I'm getting this error that I don't understand:  socket disconnect
It sounds like a generic networking issue, but I'm not sure what it could be (the hostname resolves, is pingable, and if i jump over to a msys2 shell, i can ssh to it and receive the gitlab welcome banner)
Any ideas?  Debugging variables I can enable?

Running cargo 0.17.0-nightly (71e996e 2017-01-02)
(I tried the stable and beta versions, but cargo.exe crashes!)

I've actually never personally gotten private repos working on Windows. We leverage libssh2 for support here, but I'm not sure if it's using something like an incompatible protocol with ssh-agent or something like that. This could also be a bug in libssh2 I suppose?
Unfortunately I don't have much info of how to debug this further :(

does cargo use libssh2 directly?  or indirectly via libgit2?

Ah yeah we only indirectly use it through libgit2

To use private repos on Windows, use Pageant as your SSH agent. The windows-msvc version of libssh2 doesn't support UNIX sockets (duh), which is normally used on UNIX to talk to an SSH agent. On Windows, Pageant is also supported.

Hi @jethrogb
I can't use Pageant working with the latest cargo install. Is there any special settings? Have you evert test it successfully?

It definitely worked at some point for me. I don't know if it's broken again. It worked with nightly-2016-10-03 . It's possible only certain key types are supported (i.e. RSA)

I test it on nightly-2016-10-03, but with no luck
D:\project\xxx>cargo test --verbose
    Updating git repository<EMAIL_ADDRESS>error: failed to load source for a dependency on `yyy`

Caused by:
  Unable to update<EMAIL_ADDRESS>
Caused by:
  failed to fetch into C:\Users\dmwp37\.cargo\git\db\yyy-5ed341e4be267694

Caused by:
  [23/-1] Failed to start SSH session: Unable to exchange encryption keys

D:\project>cargo --version
cargo 0.13.0-nightly (d8936af 2016-09-30)

D:\project>rustup show
Default host: x86_64-pc-windows-msvc

installed toolchains
--------------------

nightly-2016-10-03-x86_64-pc-windows-msvc (default)
nightly-x86_64-pc-windows-msvc

active toolchain
----------------

nightly-2016-10-03-x86_64-pc-windows-msvc (default)
rustc 1.14.0-nightly (144af3e97 2016-10-02)

and my pageant version is Release 0.69. key is RSA.

@alexcrichton
finally find out the root cause of windows cargo ssh issue. on windows platform the libssh2-sys crate use the WINCNG backend. and this backend only support a limited number of ciphers which cause the KEX failure with most sshd servers.
After change the backend to openssl, cargo work perfect with Pageant and can successfully update  my private ssh repos.  However with the openssl backend you need to install openssl on windows manually, after the installation only set OPENSSL_DIR path is enough for build.
and you need to update libssh2-sys with this patch

@dmwp37 ah thanks for the investigation!

As I understand it, CNG should support most common ciphers and cipher modes. Which ciphers besides X.25519 are not supported using CNG?

It sounds like this issue has been resolved. Please reopen if I'm incorrect! Thanks!


Support of comments in yaml files?

I am currently working on a component that reads an OAS 3 file, enhances it and writes it back. Unfortunately all comments in the original file get lost then, as they are currently ignored. Do you have any ideas how to solve it with this component?
Example:

...
### this comment about the path section gets lost
path:
...

One solution would be to convert comments to extensions on read, and re-write them when we write out in YAML.  This would only work for objects that support extensions.  Not sure if that partial solution would cause more aggravation than not supporting at all.

I'm not sure if comments are actually allowed as OpenAPI limits the use of YAML to only things that comply with the JSON Schema subset. I don't know how that constraint affects YAML comments.

This is a good hint. Thank you very much. In fact YAML does support comments, but JSON does not and therefore OpenAPI probably does not.
So it might be more useful to implement comments in the source files as errors as well.
On the subject of errors: It would be nice if the diagnostic object supported error levels like "Warning", "Error". This comment topic would then be from my point of view of the level "Warning" and could then be ignored during processing.
Furthermore, it would be very helpful if the errors were categorized or numbered. Then they could be processed more easily instead of having to parse the strings.


Add "Tags" to Tasks and Workers that specify the kinds of Tasks that Workers want to take on

Similar to how you can define tags in .gitlab-ci.yml, it would be helpful if Workers had a set of tags that specify the kinds of Tasks they are willing to take on. Similarly, Tasks would have the same tags attached if they require a Worker with a certain capability in order to execute. A Task will only run on a Worker if the set of tags for the Task is a subset of the tags on the Worker.
For example, suppose I have a cloud cluster of Luigi Workers composing of normal VMs and VMs with attached GPUs. I have devised a workflow composed of some Tasks that can utilize a GPU for hardware acceleration and other Tasks that do not utilize a GPU. I want to be able to assign the GPU Tasks and Workers the tag gpu and all other Tasks and Workers will be assigned cpu. When the Workers ask the Central Scheduler for tasks, they will include their set of tags in the request, and the scheduler will only assign Tasks to Workers that have a subset match of tags. This allows me to utilize the hardware most efficiently. Otherwise, I have no influence on how tasks get divided, and my workflow may not execute as efficiently as I desire.
I've looked through the documentation, and I do not see evidence of this kind of feature existing. The closest I can see is resources, but those seem to act more like global semaphores.

This functionality is not present. For those that need it, the closest approximation is as follows:
Split your pipeline into different legs, where each leg has homogeneous environment requirements. Split with luigi.task.externalize. Schedule each leg on the machine that has the right resources, e.g. with a cron job, or use k8s node affinity to steer jobs to the right node. The luigid scheduler will recognise that the external tasks match their original tasks and let downstream workers know when they can run. If you get unwanted pauses due to scheduling delays, use keep_alive and max_keep_alive_idle_duration config options.


[Python] Syntax issue in NamedTransform setEncoding() parameter

Hello,
When using the Python API,
the NameTransform.setEncoding() method have its parameter with a typo. The parameter name is stated as being encodig while it should be encoding
Cheers.
Liam.

Thanks for reporting @MrLixm, I included the fix the linked PR.

Closing as this was merged in main.


fix(auth-ui-svelte): make additionalData prop optional

What kind of change does this PR introduce?
Bug fix
Previous behavior: TypeScript shows an error if the additionalData prop is not explicitly set on the Svelte Auth component.
Since additionalData is defined as optional in shared/src/types.ts it makes sense to also make it optional for the Svelte Auth component.

What is the new behavior?
The additionalData prop for the Svelte Auth component is now optional and doesn't need to be explicitly set. This prevents a scenario like this in TypeScript:
<script lang="ts">
  import { Auth } from '@supabase/auth-ui-svelte'
</script>

<Auth additionalData={undefined} />

Good to see that there is already a PR.
I was following https://supabase.com/docs/guides/getting-started/tutorials/with-sveltekit#set-up-a-login-page and this error war annoying.

Thank you for this PR.


Add some real timeseries  to  demonstrate change point detection.

https://github.com/viveksck/langchangetrack/blob/master/langchangetrack/examples/data/test_pval.csv
python demostrate_cp.py -f ./normalized_timeseries_sample.csv -p test_pval.csv -n test_sample.csv -c '1900' -t 1.75 -b 10000
The above command generates that. The estimated change point is the last column. Note how "tree" has not changed and "gay" or  "sex" have. Note, due to randomness of the bootstrap the pvalues might differ slightly and so estimated change points may be off by a small amount in different runs (like 1980-1985 etc)


About Endeavor

This is a more expansive response to @danbri 's comment on issue #87.
The superclass Endeavor may lead to some confusion. Although WEMI are each subclassed to Endeavor, there are no properties in openwemi that would connect a WEMI-classed instance to and instance of Endeavor. This is best explained in diagrams. Here is the basic WEMI class structure:
    flowchart BT
    E((Endeavor))
    I((Item))-->|subclass|E
    M((Manifestation))-->|subclass|E
    X((Expression))-->|subclass|E
    W((Work))--> |subclass|E

In instance data, you might have:
    flowchart BT
    A[Moby Dick]-->|rdf:type|W
    B[English]-->|expresses|A
    B[English]-->|rdf:type|E
    W((openwemi:Work))
    E((openwemi:Expression))

Both the subject that is a Work and the subject that is an Expression are, by inference, also members of the class Endeavor, but there is no node in the instance data that identifies an Endeavor. Endeavor only exists as an inference:
    flowchart BT
    A[Moby Dick]-->|rdf:type|W-->|subclass|EN1
    B[English]-->|expresses|A
    B[English]-->|rdf:type|E-->|subclass|EN2
    W((openwemi:Work))
    E((openwemi:Expression))
    EN1((Endeavor))
    EN2((Endeavor))

Note that the subjects, which are members of WEMI classes, are each separately subclassed to Endeavor. It would be easy for people to assume that there is a single Endeavor that they are describing, but there is no "thing" that is Endeavor, only a class relationship. In this sense, Endeavor is like owl:Thing - all vocabulary elements are by definition subclassed to owl:Thing but that does not mean that in instance data one is defining a single thing. The concept of class is more ethereal than people generally think of it and I think there is a tendency to view classes as "things" when the only "things" that exist are those encoded in instance data.
First, have I described this correctly? Second, I wonder if we need to make this clear (somehow) in the primer? One idea would be not to introduce Endeavor with the  openwemi classes initially, but bring it in after they have been explained and downplay it as "just" for inference.

We should say in the primer that: " We do not expect implementers to use the Endeavor class. It is used as a convenience for the ontology in order to allow us to talk about all four OpenWEMI classes without enumerating them all.

In https://github.com/dcmi/openwemi/pull/101

Added to primer; approved Apr 2 meeting


Fix AtomicPtr implementing Send and Sync

This is a very small fix that enables Send and Sync autotrait deduction for haphazard::AtomicPtr. The only issue before was using a raw pointer (*mut) would cause autodeduction of !Send and !Sync.
You can also unsafe impl both Send and Sync, but this seems cleaner.
Closes #30

Ah, so, I explicitly want the PhantomData to have *mut P, since that accurately represents what we actually store, which can matter for things like the drop check. So I'd prefer an explicit unsafe impl Send and unsafe impl Sync.

No problem and it's switched over on the newest revision.
For my own understanding, do you have any references as to what changes on the drop check between PhantomData<T> and PhantomData<*mut T>?

Codecov Report

Merging #31 (7300960) into main (55f1078) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #31   +/-   ##
=======================================
  Coverage   84.04%   84.04%
=======================================
  Files           8        8
  Lines         821      821
=======================================
  Hits          690      690
  Misses        131      131

Impacted Files
Coverage Δ

src/lib.rs
33.73% <ø> (ø)

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 55f1078...7300960. Read the comment docs.

This also made me realize that I was missing Send and Sync bounds in a bunch of places! Fixed that in https://github.com/jonhoo/haphazard/commit/b4a4889d73fcbfdef78a1cf3f32ba29a0e46975a. Phew!

Awesome! I read over your follow-up diff to see if I could understand the intricacies with Send and Sync, so thank you for that as well!


Test parallax table

the parallax table should have its own test. all tables should be tested!

@dr-rodriguez this one is also ready!

add documentation for this test describing the validation.


Question about the adjacent matrix

Hi~
In your abstract, you said "In this work, we propose Attention Guided Graph Convolutional Networks (AGGCNs), a novel model which directly takes full dependency trees as inputs", but I don's see how do you make use of the dependency tree.
According to Equation (2), seems you just construct the $\tilde{A}$ by using the input embeddings, so where do you make use of the original adjacency matrix $A$?
In your code, I still cannot confirm how do you make use of $A$, which is adj in your code, right?
https://github.com/Cartus/AGGCN_TACRED/blob/master/model/aggcn.py#L175
Could you please show me the details?
And by the way, that is the matrix $V$ in your Equation (2)? I can not find the definition of $V$ neither.

Yes, I know you made mask by using adj, but isn't this equivalent to src_mask above?

Hi,
For the first question, there is a description in the paper:

In practice, we treat the original adjacency matrix as an initialization so that the dependency information can be captured in the node representations for later attention calculation. The attention guided layer is included starting from the second block.

I close this issue if you have any further questions feel free to reopen it.

But why do you need to double your sub-layers? I mean your sublayer_first  and sublayer_second?

And there is not reopen button in this page

For the sub-layer problem, u can refer to this TACL paper-DCGCN. Basically, the motivation behind this is to imitate convolution filters of different sizes (1x1, 3x3, etc.) in CNN.
The number of sub-layers in each block is different for TACRED. Here the first sub-layer is 2, the second is 4. You can refer to the train.py. These are hyper-parameters.

Thank you~

Hello,  I still have some questions about the number of layers.
In your AGGCN paper, Section 3.2, you mentioned that the best setting for sentence-level relation extraction is M=2, L=5.

Is L the sum of sublayer_first and sublayer_second?
As I understand, M is the number of AGGCN blocks, and should be identical to the argument  --num_layers in train.py. However, the argument is indicated as "Num of RNN layers" in the code. A bit confused. Is it a typo?

For the sub-layer problem, u can refer to this TACL paper-DCGCN. Basically, the motivation behind this is to imitate convolution filters of different sizes (1x1, 3x3, etc.) in CNN.
The number of sub-layers in each block is different for TACRED. Here the first sub-layer is 2, the second is 4. You can refer to the train.py. These are hyper-parameters.

Hi ,

Is L the sum of sublayer_first and sublayer_second?

Yes, you are correct.

As I understand, M is the number of AGGCN blocks, and should be identical to the argument  --num_layers in train.py. However, the argument is indicated as "Num of RNN layers" in the code. A bit confused. Is it a typo?

Yes, it is a typo... Thank you so much for pointing it out! It should be the number of blocks which is M.

Hello @Cartus , you mentioned that the best setting for sentence-level relation extraction is M=2, L=5. L the sum of sublayer_first and sublayer_second, with the first sub-layer is 2, the second is 4. But 2+4 = 5 ?

Hi @speedcell4 , could you explain for me? :)

@TranVanHien Sorry, I can not, I realized I can never figure out these complicated experiment settings and then I decided to give up doing relation extraction task two months ago

Thank you.

Hi @TranVanHien , that is a typo in the paper, I will fix it later. The code in this repo is the default setting for the TACRED dataset.
Thank you for pointing it out!

I see. Thank you for your quick reply.

Hi, Cartus @Cartus
I read your answers about the use of dependency tree above, you takes it as an initialization in your work, so it just works in the first GCN layer, right? If so, thence the second GCN layer, the adj matrix becomes the weight produced by self attention, and structure becomes to a full strongly connected directed graph, is there any difference between the calculation of self attention and the attention GCN in a full strongly connected directed graph?
Thanks for your help!

Hi @liuyijiang1994 ,
Thanks for the question. Actually they are basically the same. I read a paper few weeks ago. The paper discusses about the GNNs and Transformer model, which might be useful. They also have a nice summary of these works including different GNNs and different self-attention methods.
Contextualized Non-local Neural Networks for Sequence Learning
https://arxiv.org/abs/1811.08600#

@Cartus  Thank you for your prompt reply, it is very helpful to me!


Account for user-defined marker in correlation id tracking

Correlation id offsets are broken when user-defined HIP markers are present. Ensure markers are accounted.

LGTM


How can i update existing toaster dialog?

I want to write error handler for my project, due too masive coppling and processes that may happen side by side, they may two many error occure at once, ... so i wish to keep track of showing dialog, and for example update last dialog, say this error occure twise, or thosand time :D
so i need to access existing dialog, and then also update it's timeout...
i currently know that we have toastId and toasterId but i cant find a way to update the old one

I done updating the dialog, but the issue is how to update the timeout?
How should i access actoual timeout object? i only can see the promise, but no reference, or restart method..., how can i replace the promise at least?

The library doesn't really support this type of post-toast manipulation.  However, if you wanted to reset the timer you'd need to call scope.configureTimer living on the directive, while giving a numeric value to the timeout prop.

how can i access scope of that particular Item...? i also needed to add  html, so i set as trustedHtml, and the update of message failed this time, so i figured out, i no longer have access to body reference

You can look at the tests to see instances where the container's scope is retrieved: https://github.com/jirikavi/AngularJS-Toaster/blob/master/test/toasterContainerSpec.js#L115


Themis iOS and BoringSSL: Objective-C Implementation

I have: implemented in viewDidLoad the keyGenerator:
@property (nonatomic, strong) NSData *privateKey;
@property (nonatomic, strong) NSData *publicKey;

 TSKeyGen * keygenRSA = [[TSKeyGen alloc] initWithAlgorithm:TSKeyGenAsymmetricAlgorithmRSA];

    if (!keygenRSA) {
        NSLog(@"%s Error occured while initialising object keygenRSA", sel_getName(_cmd));
        return;
    }
    _privateKey = keygenRSA.privateKey;
    _publicKey = keygenRSA.publicKey;

    NSLog(@"%@", keygenRSA.privateKey);

I see the NSLog with this error ... where I wrong?
/Pods/themis/src/soter/openssl/soter_rsa_key_pair_gen.c:65 - error: 1 <= EVP_PKEY_CTX_ctrl(ctx->pkey_ctx, -1, -1, EVP_PKEY_CTRL_RSA_KEYGEN_PUBEXP, 0, pub_exp)
/Users/fabiofloris/Desktop/Ium/Pods/themis/src/soter/openssl/soter_rsa_key_pair_gen.c:46 - error: soter_rsa_key_pair_gen_init(ctx, key_length)==SOTER_SUCCESS
/Users/fabiofloris/Desktop/Ium/Pods/themis/src/soter/openssl/soter_rsa_key_pair_gen.c:94 - error: ctx
/Users/fabiofloris/Desktop/Ium/Pods/themis/src/soter/openssl/soter_rsa_key_pair_gen.c:94 - error: ctx
/Users/fabiofloris/Desktop/Ium/Pods/themis/src/soter/openssl/soter_rsa_key_pair_gen.c:86 - error: ctx
2018-11-11 21:37:24.305916+0100 Ium[1663:420689] viewDidLoad Error occured while initialising object keygenRSA

Then I wanted to ask another question ... Are these two specific strings
NSString * serverPublicKeyString = @"VUVDMgAAAC2ELbj5Aue5xjiJWW3P2KNrBX+HkaeJAb+Z4MrK0cWZlAfpBUql";
NSString * clientPrivateKeyString = @"UkVDMgAAAC13PCVZAKOczZXUpvkhsC+xvwWnv3CLmlG0Wzy8ZBMnT+2yx/dg";

referring to something in particular? or are the values of keygenRSA.privateKey / keygenRSA.publicKey ???
Environment info
OS: iOS 12
Installation way:
install with pod 'Themis'

@CodeTeamLabs you are doing everything right.
I've prepared small test project with themis 0.10.1 and generating keys in viewDidLoad, and tested it on both simulator and device (iOS11 & iOS12.1)

Could you please download, try and let me know if it works?
https://www.dropbox.com/s/6atin3xw5eiou14/themis-issue-336-example.zip?dl=0

Moreover, there is large example project for ObjC in docs/examples/objc, have you tried it?

Can you share your Podfile.lock with me please? If your app is using OpenSSL pod separately, I'm wondering which OpenSSL version do you use, theoretically it might be something related to exact OpenSSL version.

@vixentael Hi and thx!

i have download your test project from dropbox... With your project I no have an error in NSLog... In my project instead I have an error in NSLog.

2.I have seen the documentation with the examples but I could not understand well when we use
NSString * serverPublicKeyString = @ "VUVDMgAAAC2ELbj5Aue5xjiJWW3P2KNrBX + HkaeJAb + Z4MrK0cWZlAfpBUql";
NSString * clientPrivateKeyString = @ "UkVDMgAAAC13PCVZAKOczZXUpvkhsC + xvwWnv3CLmlG0Wzy8ZBMnT + 2yx / dg";

You can help me to understand ... I currently need to encrypt messages from a chat within my application and decrypt them for the recipient ...
I want to specify that I use Firebase Real Time Database.

Sure... this is the link for download a podFile.lock https://ufile.io/vj6dr

@CodeTeamLabs
Thank you, from Podfile.lock I see that you're using BoringSSL (probably Firebase has BoringSSL as dependency).
Can you try to deintegrate pods and to link to Themis with BoringSSL?
pod 'themis/themis-boringssl'

Let's test if this is an issue of using both OpenSSL and BoringSSL in one project 🤔
If this won't help, could you please send your example project to our email<EMAIL_ADDRESS>I'll try to debug and to check other dependencies.

@vixentael ok but NSString * base64key = @"UkVDMgAAAC13PCVZAKOczZXUpvkhsC+xvwWnv3CLmlG0Wzy8ZBMnT+2yx/dg";
is equal to keygenRSA.privateKey ???

Keys are generated as binary (NSData), to transfer them via network or to show in docs, we encode binary to base64.
From NSData to base64:
NSData * publicKey = keygenEC.publicKey;
NSString *base64PublicKey = [publicKey base64EncodedStringWithOptions:NSDataBase64Encoding64CharacterLineLength];

From base64 to NSData:
NSString * keybase64 = @"UkVDMgAAAC1FsVa6AMGljYqtNWQ+7r4RjXTabLZxZ/14EXmi6ec2e1vrCmyR";
NSData * key = [[NSData alloc] initWithBase64EncodedString:keybase64 options:NSDataBase64DecodingIgnoreUnknownCharacters];

So, yes, technically, when docs says "clientPrivateKeyString" it means that client generated this key using keygenRSA.privateKey.

App show 10 error like this Implicit declaration of function 'EVP_PKEY_CTX_ctrl' is invalid in C99

Deintegrating pod, removing DerivedData and cleaning the project should help.

@vixentael ... well.. so remove pod Themis... and clean project....
DeliveredData?

DerivedData is a temp/cache folder where Xcode stores project cached files. How to delete derived data.
Usually, removing pod, removing DerivedData, adding pod back and cleaning project helps to solve temporary issues.

ok ... now work ... I see the key in NSLog and no have error... now I just need to try playing with themis to learn and manage with firebase: D .. I hope I understand ... I'm sorry for my stupid questions

Yay, great that it helped! 👍
I have a separate example with Themis and Firebase that I used for my workshop.
https://github.com/vixentael/zka-example
It's a simple Notes application that uses Firebase database as storage. First, students were encrypting their notes and storing them in Firebase. We used Themis Secure Cell to encrypt notes.
Then, students were sharing encryption keys with each other to decrypt their friends' notes. Sharing encryption keys in plaintext is always a bad idea, so before sharing they encrypted their keys using Themis Secure Message (using own private key and friend's public key), so only their friend could decrypt their notes.
Although it's not a chat, but you might find this example useful for your case.

I follow the Themis/Firebase tutorial in your documentation and I read this...

This example has many security flaws, especially in storing secret and public keys. Please don't use it as production-ready system. It's just an illustration of ZKA approach.
Of course, Firebase configuration should be changed: use private database, do not publish credentials (API keys).

can I ask what you mean by this message? Should I save the keys in a keyring such as a third-party library like SSKaychain?

Block "Next steps" has numerous suggestions how to improve security, including key management.

Should I save the keys in a keyring such as a third-party library like SSKaychain?

Yes, it's important to store encryption keys in Keychain. You might use native Keychain API or external library for that.

Perfect @vixentael  ...thanks you have been very kind to me ... Thanks again ... if I have 'other problems I will open a new post: D

In short, yes.
In longterm, read about public key infrastructure (PKI) — architecture how to store and manage public keys, so attackers won’t easily change them.

@vixentael in fact I was just reading the part where advice keybase.io ... and it 's here that I'm having a lot of difficulty to understand ... I would ask you 2,000 questions because I'm just exploding ... this part of the cryptography for me is completely new ... I can not make clear all the steps I have to do ... besides keybase.io I've never used it ... it's frustrating: D

but Keybase.io is a chat??

@CodeTeamLabs this is an issue tracker for Themis, but not a public chat about cryptography and secure chats :)
I agree that cryptography is very exciting! I’d be glad to answer to your questions in my spare time, but it’s limited. If project you're working on has a commercial substance, you might want to talk to our sales team on security consulting.

no will not be released by payment but the only monetization of the app will be the publicity within it ... But in case the keys are saved in the DB of Firebase why should I have risks ??? the keys are encrypted and therefore protected .. wrong?

@vixentael hi! I'm trying to figure out how I should use the key to save public keys? can you help me in this? What operations to do to save the public key in keybase as you suggested? Are there any documentations, examples or videos that can help me to understand? I'm looking on the net but I can not find something useful


Chaos recipe helper

🚀 feature request
Using stash API search though stash and highlight items needed to make a chaos recipe
Requested by Efey

How are we with POE TOS on this?
I know auto-sorting feature was removed due to breaking TOS.
This would still kind of intercept with the client since we would need to detect grid and render an overlay highlighting particular cells based on the result from the API.

Would like to see this in PoE Overlay


Link to SETTINGS / DATA EXPORTS from data export completion notification

As reported on CZO, when a data export is completed, Notification Bot sends a DM to the user who requested it with a link to the file. This can be confusing if the user later deletes the file.
Thus, instead of linking directly to the file, we should instead link to the Data exports settings panel:

Your data export is complete. View and download exports.

CZO thread

@zulipbot claim

@zulipbot claim


macOS desktop 4.3.1: editor Help link opens a new browser tab in addition to pop-up

Summary
macOS desktop 4.3.1: editor Help link opens a new browser tab in addition to pop-up
Environment

Operating System: macOS 10.14.6
Mattermost Desktop App version: 4.3.1 (<IP_ADDRESS>79)
Mattermost Server version: 5.16.3

Steps to reproduce
Launch client, click Help link under text input field.
Expected behavior
Open a pop-up with editing help.
Observed behavior
Open a pop-up with editing help; additionally open a new browser tab with the same help.

We have a few related bug tickets open for this:

https://mattermost.atlassian.net/browse/MM-19919
https://mattermost.atlassian.net/browse/MM-19875

@amyblais thanks, didn't think to search JIRA first.
Should I close or will you? Not sure about the correct procedure.

I'm thinking we could keep this open for now as an FYI for other community members.


Allow action to run when PR reopened

This PR fixes #16 by also watching for reopen events

Thanks!


James

Add more images overlay in test, add uploads directory

Current coverage is 31.44%

Merging #80 into master will not affect coverage as of e2ffe15

@@            master     #80   diff @@
======================================
  Files            4       4
  Stmts          159     159
  Branches        33      33
  Methods          0       0
======================================
  Hit             50      50
  Partial          1       1
  Missed         108     108

Review entire Coverage Diff as of e2ffe15

Powered by Codecov. Updated on successful CI builds.


Need a comprehensive explanation of using OSM

I have been searching for quite a while now and cant seem to find a proper solution. Without providing PROVIDER_GOOGLE in  it renders OSM (Open Street Map) by default in iOS but having a hard time doing it in Android. I have read other issues related to this problem but nothing proper is comming up and I don't want to use MapBox. Please help

@hassansw any solution? Thanks!


Multiclass inference fix

Multiclass relies on predict_proba instead of predict_proba2Class, and is adaptatively chosen for prediction.

@iutzeler I resolved conflicts, can you merge this one?


[FIX] Azure DS: Return error when request failed

This fixes the issue that the error is swallowed when the request failed.
Signed-off-by: Jannick Fahlbusch<EMAIL_ADDRESS>

@brian-brazil PTAL


Multiple inputs, multiple outputs passing through a dense layer, training is not as expected

Firstly, I have googled for this answer, and I'm not finding it.  If this is a repeat question, I apologize.
I am using the tensorflow backend.
I have a network with this overall structure:
input1 = Input(...)
input2 = Input(...)

sharedDense = Dense(...)
dense1 = sharedDense(input1)
dense2 = sharedDense(input2)

output1 = Dense(...)(dense1)
output2 = Dense(...)(dense2)

inputs = [input1, input2]
outputs = [output1, output2]
loss = keras.losses.mean_squared_error

model = Model(inputs=inputs, outputs=outputs)
model.compile(
    loss=[loss, loss],
    optimizer=keras.optimizers.Adadelta()
)

I run it with an appropriate generator.
I have two input->output sets which get sent out via the generator.
Let's call them the "where is the BANANA" in/out and "where is the APPLE" in/out
So, if I train this network with
BANANA, APPLE
(meaning the input1->output1 is paired with BANANA and the input2->output2 is paired with the APPLE)
Only the APPLE is trained.  The banana actually gets a bit better, but I think it is happenstance.
If I train the network with
APPLE, BANANA
Only the BANANA is trained

Is there anyway I can verify that keras is attempting to train backpropagating up both input to output paths?
Is there a best way I can debug this?  I have spent time verifying my inputs and outputs of course.  However I am not as of yet comfortable saying this is a keras bug and not my bug.
I'm looking for a way to verify explicitly that backpropagation of both is ocuring and one is not "overwriting" the other.
Thanks for your help!

Hi there, did you ever find a way to verify your structure? I'm attempting to do something vaguely similar.

Not sure if you are still working on this problem, but maybe you could save out the initial of each non-shared dense layer, and after training see write them out again to verify that both sets of weights are are changing.


Add  Sales Invoice Record to the OnAfterCreateCorrSalesInvoice event in "Correct Posted Sales Invoice"

Hi,
Can you please add the Sales Invoice Record to the OnAfterCreateCorrSalesInvoice event in codeunit "Correct Posted Sales Invoice"?
Actual code:
    procedure CancelPostedInvoiceCreateNewInvoice(var SalesInvoiceHeader: Record "Sales Invoice Header"; var SalesHeader: Record "Sales Header")
    begin
        CancellingOnly := false;

        if CreateCreditMemo(SalesInvoiceHeader) then begin
            CreateCopyDocument(SalesInvoiceHeader, SalesHeader, SalesHeader."Document Type"::Invoice, true);
            OnAfterCreateCorrSalesInvoice(SalesHeader);
            Commit();
        end;
    end;

    [IntegrationEvent(false, false)]
    local procedure OnAfterCreateCorrSalesInvoice(var SalesHeader: Record "Sales Header")
    begin
    end;

Suggestion code:
    procedure CancelPostedInvoiceCreateNewInvoice(var SalesInvoiceHeader: Record "Sales Invoice Header"; var SalesHeader: Record "Sales Header")
    begin
        CancellingOnly := false;

        if CreateCreditMemo(SalesInvoiceHeader) then begin
            CreateCopyDocument(SalesInvoiceHeader, SalesHeader, SalesHeader."Document Type"::Invoice, true);
            OnAfterCreateCorrSalesInvoice(SalesHeader, SalesInvoiceHeader);
            Commit();
        end;
    end;

    [IntegrationEvent(false, false)]
    local procedure OnAfterCreateCorrSalesInvoice(var SalesHeader: Record "Sales Header"; var SalesInvoiceHeader: Record "Sales Invoice Header")
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 53020.


flash-in-unity.net

Is it your site http://www.flash-in-unity.net/ ?
Or someone trying to use your work?

According thread on unity's forum - yes.


feat: Added Temperature Converter

Please describe the changes this PR makes and why it should be merged:
Added Temperature Converter
Resolves #766
Status

[x] Code changes have been tested against prettier, or there are no code changes
[x] I know how to update typings and have done so, or typings don't need updating

Semantic versioning classification:

[ ] This PR changes the codebase

[ ] This PR includes breaking changes (methods removed or renamed, parameters moved or removed)
[ ] This PR changes the internal workings with no modifications to the external API (bug fixes, performance improvements)

[ ] This PR only includes non-code changes, like changes to documentation, README, etc.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1257

Relevant Lines:
5082

💛  - Coveralls

Hey @tobySolutions, I have used block function. Could you please check?

I'm sorry @lalitkumawat1m, but, I'll have to close this.


HHH-17943 - Fix for issue

https://hibernate.atlassian.net/browse/HHH-17943

Superseded by https://github.com/hibernate/hibernate-orm/pull/8409


Fix bug that prevents CallOptions to be passed in StreamingRecognize.

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[v] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[v] Ensure the tests and linter pass
[v] Code coverage does not decrease (if any source code was changed)
[v] Appropriate docs were updated (if necessary)

Fixes #723  🦕

Hi @w4-sjcho, thank you for the suggestion. Unfortunately, the files you're changing are auto-generated so these changes will be automatically rolled back. The right place to make this fix is in https://github.com/googleapis/gapic-generator-typescript. I'll take care of that there. Thank you for the report!

Hey @w4-sjcho


Issue with k8s.io/docs/tasks/tls/managing-tls-in-a-cluster/

This is a...

[x] Feature Request
[ ] Bug Report

Problem:
There is no explanation of what CFSSL is!
Proposed Solution:
Add this link https://blog.cloudflare.com/introducing-cfssl/ or a more suitable project homepage if such a thing exists!
Page to Update:
http://kubernetes.io/docs/tasks/tls/managing-tls-in-a-cluster/

Someone please close this issue. It has been fixed and merged

Having done a lot more work on CFSSL since opening this ticket, I'm not sure how much help that page is. At least it serves as an introduction, but perhaps a better link would be https://github.com/cloudflare/cfssl as this is likely to be kept up to date ;)
Thanks!