Run tests in CI

[ ] gtest for integration tests - these are built by enabling -DGC_TEST_ENABLE=on. Currently, there's only one built now, run as cd test/dnnl/ && ./test_dnnl_c_interface. I think it's missing a enable_testing now for ctest. Feel free to add that or a separate target.
[ ] lits for our dialects - @Devjiu TBD.
[ ] llvm tests on llvm build - these can be run with a single command after the llvm build/install (e.g., ninja check-mlir)

To run lit tests just build "gc-check"
cmake --build . --target gc-check

Currently it's just a stub - we don't have passes and correct use-cases to run lits.

Shall we let llvm-lit to drive all of the tests including gtest? I have enabled a MLIR-related unittest at https://github.com/intel/graph-compiler/pull/44

@Devjiu gc-check does not work for me, it reports
/bin/sh: 1: /llvm-lit: not found
FAILED: test/CMakeFiles/gc-check /runner/_work/graph-compiler/graph-compiler/build/test/CMakeFiles/gc-check
cd /runner/_work/graph-compiler/graph-compiler/build/test && /llvm-lit -sv /runner/_work/graph-compiler/graph-compiler/build/test
ninja: build stopped: subcommand failed.```

@Devjiu gc-check does not work for me, it reports
/bin/sh: 1: /llvm-lit: not found
FAILED: test/CMakeFiles/gc-check /runner/_work/graph-compiler/graph-compiler/build/test/CMakeFiles/gc-check
cd /runner/_work/graph-compiler/graph-compiler/build/test && /llvm-lit -sv /runner/_work/graph-compiler/graph-compiler/build/test
ninja: build stopped: subcommand failed.

probably llvm should be rebuilt to add lit, or it should be made available in some other way. What is recommended way to resolve this?

This pr added llvm-lit into build: https://github.com/intel/graph-compiler/pull/39/files
So it should be in a tarball of llvm.
another way is to install lit in pip, but I recommend use the same lit as it was in llvm.

Shall we let llvm-lit to drive all of the tests including gtest? I have enabled a MLIR-related unittest at #44

What benefit does it bring?

Shall we let llvm-lit to drive all of the tests including gtest? I have enabled a MLIR-related unittest at #44

What benefit does it bring?

It provides a unified entry of all tests, as done in LLVM project. Most (all?) FileCheck/Python/Gtest are driven by lit.
Another benefit is that, we can reuse the gtest headers and static libraries exported by LLVM, and we don't need to manage gtest as a 3rdparty on our own. We can use the cmake function add_unittest provided by LLVM for linking gtest.

Shall we let llvm-lit to drive all of the tests including gtest? I have enabled a MLIR-related unittest at #44

What benefit does it bring?

It provides a unified entry of all tests, as done in LLVM project. Most (all?) FileCheck/Python/Gtest are driven by lit.
Another benefit is that, we can reuse the gtest headers and static libraries exported by LLVM, and we don't need to manage gtest as a 3rdparty on our own. We can use the cmake function add_unittest provided by LLVM for linking gtest.

Currently we also need gtests that test the oneDNN API integration.
If in this case everything works fine, we can consider it; if not, then the idea of a common runner for all tests does not work and a different structure needs to be discussed.
We will also need integration tests that run the pipeline starting from the pytorch model, which can also be inconvenient to embed in cmake. It seems to me that we will have several test runners in any case, since there is a need for different types of testing.
In general, such functionality at the current stage is simply a matter of taste.

In general, such functionality at the current stage is simply a matter of taste.

OK, sure! But I would suggest to drive all unittests directly testing MLIR with lit. I mean the C++ tests for the MLIR components. As it matches the MLIR upstream's way and makes it easier to upstream.

@kurapov-peter should I add more tests to CI?

@kurapov-peter should I add more tests to CI?

I think we are missing default tests for mlir. Those are useful to catch broken llvm versions. Can be run with cmake --build build --target check-mlir for example.


Fix race in pod reading

Regression in https://github.com/istio/istio/pull/47893
I am not really sure how to test this since it should be quite hard to simulate in a unit test... We detected this from a real world environment

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio
3461e94fb55e1adf2171938ea9c45df8ad37bd7d
link
unknown
/test unit-tests-arm64

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

/test unit-tests-arm64

In response to a cherrypick label: #47977 failed to apply on top of branch "release-1.18":
Applying: Fix race in pod reading
Using index info to reconstruct a base tree...
M	pilot/pkg/serviceregistry/kube/controller/pod.go
Falling back to patching base and 3-way merge...
Auto-merging pilot/pkg/serviceregistry/kube/controller/pod.go
CONFLICT (content): Merge conflict in pilot/pkg/serviceregistry/kube/controller/pod.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 Fix race in pod reading
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to a cherrypick label: new issue created for failed cherrypick: #47986

In response to a cherrypick label: #47977 failed to apply on top of branch "release-1.19":
Applying: Fix race in pod reading
Using index info to reconstruct a base tree...
M	pilot/pkg/serviceregistry/kube/controller/pod.go
Falling back to patching base and 3-way merge...
Auto-merging pilot/pkg/serviceregistry/kube/controller/pod.go
CONFLICT (content): Merge conflict in pilot/pkg/serviceregistry/kube/controller/pod.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 Fix race in pod reading
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to a cherrypick label: new issue created for failed cherrypick: #47987

In response to a cherrypick label: new pull request created: #47988


Configuration files missing?

In the readme you mention that you can get the parameters folder in a version using CAMS and one not using CAMS and that the one using CAMS is rather big. When you click the link to the one NOT using CAMS: http://tully.ups-tlse.fr/olivier/gipp_maja/tree/master/GIPP_MAJA_3.1.2_TM and reads the readme, you are told that "For data volume reasons, the directory is not complete, and you should add the files contained in this reference". When you follow that link you end up at: https://zenodo.org/record/2553164 which seems to be the LUTs for the version WITH CAMS? It seems to be the same (although an older version) LUTs you get when picking configuration for the version actually using CAMS. When you unpack the data you get from https://zenodo.org/record/2553164 you get the GIPP_MAJA_3.1.2_TM_CAMS folder. It's not clear (1) if I can use that for the version running without CAMS and (2) if this is the complete configuration dir or I have to copy its content into my configuration folder which I got from: http://tully.ups-tlse.fr/olivier/gipp_maja/tree/master/GIPP_MAJA_3.1.2_TM?

Hi,
I will try to improve the documentation, but yes, I have put all the LUT files in one single package. If you do not use the CAMS option, the only drawback is that 90% of the files are not useful. The differences in parameters relies on the files in the git repository.
By the way, we found a bug and do not advise to activate the CAMS option so far.
Best regards,
Olivier

Ok, I have just copied the CAMS folders into my non-CAMS configuration folder that I downloaded from http://tully.ups-tlse.fr/olivier/gipp_maja/tree/master/GIPP_MAJA_3.1.2_TM . They're probably not used then, but it doesn't matter or? Because of you're advise I do not wish to use CAMS at the moment.

Yes, it does not matter (except for disk space)
Olivier


[Wait for #2580] [ Mixed Precision ] Enable Mixed Precision

In this PR
This PR enables Mixed Precision Training. For now only FP16-FP32
is considered. Additional Test cases will be added.
. add getSortedLayerIdx to set the graph order for forwarding.
. change clip_weights to lazy_apply_weights to use both cases.
. add fowarding_op to run forwarding from that layer which has a
gradient with nan.
. add a while loop for re-run backwarding after resetting the loss scale.
. add setLossScale in RunLayerContext
. add check the gradient if mixed precision is enabled.
Self evaluation:

Build test:	 [X]Passed [ ]Failed [ ]Skipped
Run test:	 [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon<EMAIL_ADDRESS>

closed by  #2663


fix(objectschema)!: omit id from schema returned by without + only

the methods without and only return new schema objects with the same id that was found on the original. In terms of schema reuse, this creates two different schemas with the same id which is technically invalid. Additionally, it was not possible to set the id property on an object schema that had properties defined. This problem originates from the setattribute function which will always set the attribute on the schema properties if they are defined. In the case of the object schema, this is almost always the case. This changes the id function on the object schema to always generate a new schema with the id set on the object schema rather than its properties
BREAKING CHANGE: ObjectSchema.id() will always set the id on the root object
BREAKING CHANGE: ObjectSchema.without() will omit id from the return schema
BREAKING CHANGE: ObjectSchema.only() will omit id from the return schema

Checklist

[x] run npm run test and npm run benchmark
[x] tests and/or benchmarks are included
[x] documentation is changed or added
[x] commit message and code follows the Developer's Certification of Origin
and the Code of conduct

anything left to do here? or does anyone else need to look at this?

@aboutlo ?

@aboutlo thoughts?

Hey @esatterwhite thank you for your PR 💪
Could you add the changes in the documentation aka:

add the documentation tags and explain the different behaviours
update the doc by running npm run doc and commit the markdown updated

Then I can merge and make a release with these breaking changes and the drop of the old node versions

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
403

Relevant Lines:
403

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
403

Relevant Lines:
403

💛  - Coveralls


ModuleBase should include the ability for a Module to load Async data

A common requirement is for a module to load some async data before it is ready to go.  ModuleBase currently only supports syncronous functions as it's lifecycle.  There should be an additional function to allow modules to tell the ModuleLoader when it is ready.
Additionally this should be more than just a Promise or an Observable that yields a single item.  A better model would support a loading screen where we see something similar to:
Started loading Foo
Foo finished
Started loading Bar

This lets us power a loading screen where we can inform the user.
For error cases, I think the best cases is that if this Observable errors, the module loaders stops loading the module completed.  Trying to handle error cases where a module has partially loaded it's async data is almost an impossible task.

Sounds sensible.
There is a case here for modules to have separate workflow to load. i.e. module B shouldn't wait for module C it should just load when it's done. However they both might require module A to be done.
First cut is just get something in, then we can add such bells and whistles later (unless this is a case for vNext?).

Fixed in #20 as a first cut.


JSON backwards compatibility has been flushed

https://github.com/quantumlib/Cirq/pull/4099 cleared some deprecated classes. Serialized files have a much longer lifespan than code. It was always the intent to keep much longer-term backwards compatibility for data files, especially experimental results which likely have cirq.TrialResult classes.

the old TrialResult.json should be kept around like the "inward" files
The resolver should re-direct "TrialResult" keys to cirq.Result. In some sense, this should have been done along with the initial rename.

Oops, let's fix this ASAP.


Build failure with v1.5.2:  item not found in TypeParamBound

Hi team, I use borsh-derive as a dependency in my project and got this build error this morning. I'll get some more information and try to get a smaller reproduction case.
    Compiling borsh-derive v1.5.2
error[E0599]: no variant or associated item named `PreciseCapture` found for enum `TypeParamBound` in the current scope
   --> /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/borsh-derive-1.5.2/src/internals/generics.rs:264:31
    |
264 |             | TypeParamBound::PreciseCapture(_) => {}
    |                               ^^^^^^^^^^^^^^ variant or associated item not found in `TypeParamBound`

@nategraf well, a cargo update should help.
it got an update in syn from https://docs.rs/syn/2.0.77/syn/enum.TypeParamBound.html to https://docs.rs/syn/2.0.87/syn/enum.TypeParamBound.html.
it should not fail for --locked builds, as borsh version hasn't changed for those as well
but absolutely precisely and technically , yes, it's a omission/bug on borsh's side, so we'll update the precise minimum
required syn version https://github.com/near/borsh-rs/blob/master/borsh-derive/Cargo.toml#L28 and release that as 1.5.3

Ah thank you. That is helpful. It looks like you Cargo.toml currently specifies syn with version = "2". As far as I can tell, it looks like PreciseCapture was introduced with version 2.0.81. With that, it would be good to specify this as the minimum version in your Cargo.toml. I've opened a PR to do so. No worries if this is not the right solution for you.
https://github.com/near/borsh-rs/pull/320


R03. Receive a notification if my proposal is hidden

Is your feature request related to a problem? Please describe.
Describe the solution you'd like
As a user, I would like to receive a notification if my proposal is hidden.
Mock up
Does this issue could impact on users private data?
Acceptance criteria

[ ]

Technical specifications
https://github.com/openpoke/decidim/issues/22
Implementation

[x] https://github.com/openpoke/decidim/pull/29
[x] https://github.com/openpoke/decidim/pull/30

Testing
Additional context
Metadecidim proposal: https://meta.decidim.org/processes/roadmap/f/122/proposals/17116

looks like that:

steps to reproduce:

create a proposal
moderate proposal
hide proposal
as an author, i received this mail

as you have to moderate you can give an explanation

closed by sprint 3


Helm is not supported with shared application gateway deployment for 2+ clusters

[Enter feedback here]
I didn't have knowledge that this scenario of having 2 AKS clusters or more with application gateway ingress controller using helm deployment because it wasn't expressed as a limitation, I had to talk to Microsoft support team to find out that this scenario is actually not supported because you didn't state that in the limitation are but inside one of the tutorials, it wasn't expressly stated. it should be more highlighted.

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

ID: 4ce7e4ca-0ac4-9d41-9546-b8f5e7ee654e
Version Independent ID: 476b4dc9-46e3-71eb-e08e-67137004b804
Content: What is Azure Application Gateway Ingress Controller?
Content Source: articles/application-gateway/ingress-controller-overview.md
Service: application-gateway
GitHub Login: @Caya
Microsoft Alias: caya

@muhammad-2bcloud Thank you for reporting this. We will engage the content team for review and update the documents as required.

@muhammad-2bcloud Thank you for reporting this. We will engage the content team for review and update the documents as required.

@mscatyao Could you please review the suggestions and see how best we could incorporate the details in the document ?
@muhammad-2bcloud Please share the case number which was used to engage with Microsoft support which will help us internally track more details about this.
Thank you.

@mscatyao Could you please review the suggestions and see how best we could incorporate the details in the document ?
@muhammad-2bcloud Please share the case number which was used to engage with Microsoft support which will help us internally track more details about this.
Thank you.

Hi,
Case<PHONE_NUMBER>00206
BR,
Muhammad Awad
Cloud Solution Architect
M: 972 54 561 4780 E: Muhammad<EMAIL_ADDRESS>[cid:3d3c5355-cf9c-461b-a310-168bb169fbaf]
LinkedInhttp://www.linkedin.com/company/2bcloud  Facebookhttps://www.facebook.com/2Bcloud-102061604703430 2bcloud.iohttp://www.2bcloud.io/

From: ShashiShailaj-MSFT<EMAIL_ADDRESS>Sent: Tuesday, January 19, 2021 8:25 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Muhammad Awad<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Helm is not supported with shared application gateway deployment for 2+ clusters (#69080)
@mscatyaohttps://github.com/mscatyao Could you please review the suggestions and see how best we could incorporate the details in the document ?
@muhammad-2bcloudhttps://github.com/muhammad-2bcloud Please share the case number which was used to engage with Microsoft support which will help us internally track more details about this.
Thank you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/69080#issuecomment-762629614, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQIULRB5HVQHX56YSMHVX4TS2UQVJANCNFSM4WHT4SRQ.

Hi,
Case<PHONE_NUMBER>00206
BR,
Muhammad Awad
Cloud Solution Architect
M: 972 54 561 4780 E: Muhammad<EMAIL_ADDRESS>[cid:3d3c5355-cf9c-461b-a310-168bb169fbaf]
LinkedInhttp://www.linkedin.com/company/2bcloud  Facebookhttps://www.facebook.com/2Bcloud-102061604703430 2bcloud.iohttp://www.2bcloud.io/

From: ShashiShailaj-MSFT<EMAIL_ADDRESS>Sent: Tuesday, January 19, 2021 8:25 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Muhammad Awad<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Helm is not supported with shared application gateway deployment for 2+ clusters (#69080)
@mscatyaohttps://github.com/mscatyao Could you please review the suggestions and see how best we could incorporate the details in the document ?
@muhammad-2bcloudhttps://github.com/muhammad-2bcloud Please share the case number which was used to engage with Microsoft support which will help us internally track more details about this.
Thank you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/69080#issuecomment-762629614, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQIULRB5HVQHX56YSMHVX4TS2UQVJANCNFSM4WHT4SRQ.

I am closing issues that are older than a year in order to research and cross reference them individually. I am recording each issue and compiling a list of articles to review. If you feel there is an urgent need to address something related to this GitHub issue, please open a new issue and I will reply in the new thread. Please also reference this GitHub issue number in the new issue. Thanks. #please-close


🐛 AutoSuggestionBoxItem Height renderer overlay.

how to change height or with of AutoSuggestBoxItem ?

You can provide your own AutoSuggestBox.itemBuilder. There you can build the tiles how you want, as well as customizing padding, height, colors and other stuff. It can be any widget. Please refer to the documentation. Thanks.

You can provide your own AutoSuggestBox.itemBuilder. There you can build the tiles how you want, as well as customizing padding, height, colors and other stuff. It can be any widget. Please refer to the documentation. Thanks.

while using itemBuilder problem is  not showing current selection item while using customizing.


fix(combinators/many): fix an edge case when combined with noneOf

This PR fixes an edge case when many is combined with noneOf:
const INPUT = `one,two,three`

const Parser = sepBy(
  many(noneOf(',')),
  string(',')
)

console.log(run(Parser).with(INPUT))

Expected output:
{
  isOk: true,
  pos: 13,
  value: [ [ 'o', 'n', 'e' ], [ 't', 'w', 'o' ], [ 't', 'h', 'r', 'e', 'e' ] ]
}

Before the fix node/browser would hang until they reach the maximum size for arrays.

Note
Seems more like an issue with noneOf, which may go out of the input bounds, but many and many1 needed a fix as well.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

9 of 9 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
237

Relevant Lines:
237

💛  - Coveralls


Documentation x509v3_config.pod Authority Info Access, more examples,…

Hello,
Today I had to look up how to get Authority Info Access into an openssl CA. I was a dissapointend by the documentation, as there was no multi value example and no list of possible values.
Please tell me if anything is wrong with my suggested changes. This ist my first GIT/GITHUB/OpenSSL/OpenSource contribution at all, and maybe I got something wrong. Sorry, if so.
I consider the change to documentation as CLA: trivial. Which I also put into the commit meassage.
Kind Regards,
Georg

Checklist

[x] documentation is added or updated

Thank you for approval and feedback. Is there anything left for me to do? Should I close the pull request? Or does that work out automatically?

Thank you for approval and feedback. Is there anything left for me to do? Should I close the pull request? Or does that work out automatically?

There is nothing left for you to do at the moment (basically, unless other review comments come in).  All commits need approval from an OTC member and a committer, then a 24-hour grace period to let anyone else comment before it can be merged.  I count for the "committer" approval, so we are waiting for an OTC review and the grace period, still.

Please note that this change is outside of what can be considered a CLA: trivial change. Please drop the CLA: trivial from the commit messages and submit an ICLA. https://www.openssl.org/policies/cla.html

I sent the CLA as suggested.
I'm sorry, I messed up my local git repro and I got a headache with trying to fix the commit message to remove CLA:trivial.
You can still take my suggested change.... or maybe I'll have some time to try again with a fresh clone.


new setting for disabling unique indexes

Hi, I have added a setting to let the developper choose if he want to disable the unique index over the field. This  use case happens when you have another field like version and you to keep several documents with the same number.

Thanks!

I will publish a new version of the npm module later today :)

thanks! looking forward to it.

Any chance of getting the package published? I'd really like this unique field option ;)


Add technology types guidelines in the spreadsheet quick guide

We have the spreadsheet quick guide which we provide to contributors in order to complete the spreadsheet.
There is also some curation guides for specific technologies used here.

[x] Provide a link for those guides in the Spreadsheet Quick Guide's "Additional resources about HCA metadata" to help contributors.

With this commit an extra chapter with the title Additional guidelines on how to curate specific technologies was added as well as links for the sequencing and library_prep parameter for most used technologies.


Crash on "cursor.execute" only when last column on a TVP argument is null

Environment

Python: 3.8.10
pyodbc: 4.0.32 and 4.0.33b6
OS:  Ubuntu 20.04 LTS on WSL2 of Windows 10 Enterprise
DB: Microsoft SQL Server 2016 SP2
driver: Microsoft ODBC Driver <IP_ADDRESS>

Also had issue on an alpine docker container with python 3.10 and pyodbc 4.0.32
Issue
Python crashes with segmentation fault when executing a stored procedure with a TVP argument on a non-default table schema, the TVP has 13 arguments and if the last column is not null python does not crashes
Setup database
Run the follow database commands  to create the table, table type and stored procedure. It assumes the schema "some_schema" exists:
drop procedure some_schema.some_table_insert_many
go
drop table some_schema.some_table
go
drop type some_schema.typ_some_table
go

IF OBJECT_ID(N'some_schema.some_table', N'U') IS NULL
BEGIN
	CREATE TABLE some_schema.some_table
	(
			the_id INT IDENTITY(1, 1) NOT NULL CONSTRAINT some_table_PK PRIMARY KEY NONCLUSTERED,
			field_1 BIGINT NOT NULL ,
			field_2 INT NOT NULL,
			field_3 BIGINT NULL,
			field_4 TINYINT NULL ,
			field_5 BIGINT NULL,
			field_6 INT NOT NULL,
			field_7 SMALLINT NOT NULL,
			field_8 DATETIME2(2) NOT NULL,
			field_9 TINYINT NOT NULL,
			field_10 INT NULL,
			field_11 NVARCHAR(512) NULL,
			field_12 SMALLINT NULL,
			field_13 TINYINT NULL
	)
END;
GO

IF TYPE_ID('some_schema.typ_some_table') IS NULL
BEGIN
	CREATE TYPE some_schema.typ_some_table AS TABLE
	(
		the_id INT NOT NULL,
		field_1 BIGINT NOT NULL ,
		field_2 INT NOT NULL,
		field_3 BIGINT NULL,
		field_4 TINYINT NULL ,
		field_5 BIGINT NULL,
		field_6 INT NOT NULL,
		field_7 SMALLINT NOT NULL,
		field_8 DATETIME2(2) NOT NULL,
		field_9 TINYINT NOT NULL,
		field_10 INT NULL,
		field_11 NVARCHAR(512) NULL,
		field_12 SMALLINT NULL,
		field_13 TINYINT NULL

		INDEX typ_some_table_HX_The_Id NONCLUSTERED (the_id)
	)
END;
GO

CREATE OR ALTER PROCEDURE some_schema.some_table_insert_many
(
	@arg1 some_schema.typ_some_table READONLY
)
AS
BEGIN
	SET NOCOUNT ON

	INSERT INTO some_schema.some_table (field_1, field_2, field_3, field_4, field_5, field_6, field_7, field_8, field_9, field_10, field_11, field_12, field_13)
				select field_1, field_2, field_3, field_4, field_5, field_6, field_7, field_8, field_9, field_10, field_11, field_12, field_13
				FROM @arg1
				where the_id > 0

	--indicate everything is ok
	select 0, ''
	RETURN 0;
END;
GO

Code to reproduce problem
Run the following python script. In order to reproduce problem change the variable "do_you_want_to_crash" to True. In order to see a execution without crahes set variable to False. Also set database connection variables on line 11:
import platform, os, sys

import pyodbc

class Database :

  def __init__(self):

      self.db_cnx = pyodbc.connect( driver = "ODBC Driver 17 for SQL Server",
                              server = "localhost",
                              database = "some_db",
                              uid = "user",
                              pwd = "pw")

      self.db_cnx.autocommit = True

  def exec(self, sql):
      self.db_cnx.execute(sql)

  def execute_func_and_catch_error(self, i):

        sql =  ( "BEGIN\n"
                 "{ call [some_schema].[some_table_insert_many] (?) };\n"
                 "END\n" )

        try:
            cursor = self.db_cnx.cursor()
            tvp_arg = get_data(i)
            print(f"Exec data-set:{i} with {len(tvp_arg[0])-3} lines")
            cursor.execute( sql, tvp_arg)

            res_per_sp = []
            while True:
                res_per_sp.append( cursor.fetchone() )
                if not cursor.nextset():
                    break

            cursor.close()
            return res_per_sp

        except Exception as err:
            print(f"Exception:{err}")
            print(f"sql =>\n {sql}")
            return []

        return []

def get_data(line):

    print(f"Getting line {line}")

    data = [
            'typ_some_table',
            'some_schema',
            [0, 1, 2, 3, 4, 5, 6, 7, '2008-08-08T08:08:08Z', 9, 10, '11',   12, 13 ]
           ]

    do_you_want_to_crash = True
    total_lines = 1

    start = line+1
    for cnt in range (1,total_lines+1):
       if do_you_want_to_crash:
          data.append( [cnt, (start*1000)+cnt, 1, (start*1100)+cnt, None, None, 0, 0, f'2021-{start}-{start}T14:50:11Z',
                         0, None, None, None, None ])
       else:
          data.append( [cnt, (start*1000)+cnt, 1, (start*1100)+cnt, None, None, 0, 0, f'2021-{start}-{start}T14:50:11Z',
                         0, None, None, None, 1 ])

    return [ data  ]

if __name__ == '__main__':

  print("Testing pyodbc on calling procedures with TVP arguments")

  print( f"os:      {platform.system()}\n"
         f"Current directory: {os.getcwd()}\n"
         f"sys path: {sys.path}\n" )

  print(f"python: {sys.version}")
  print(f"pyodbc:  {pyodbc.version} {os.path.abspath(pyodbc.__file__)}" )

  db = Database()

  db.exec("delete from some_schema.some_table")

  print("----START ----\n")
  for i in  range (0,10):
    res = db.execute_func_and_catch_error(i)
    if res:
        print(f"res: {res}")
    print("---------------")

  print("Everything went A-OK and nothing crashed!")

Crash information
I tried debugging the problem and the memory corruption shifts whether I use debug messages or gdb. With gdb the crash is on a SQLAllocHandle called in Cursor_New
#0  malloc_consolidate (av=av@entry=0x7ffff7fb8b80 <main_arena>) at malloc.c:4500
#1  0x00007ffff7e67e03 in _int_malloc (av=av@entry=0x7ffff7fb8b80 <main_arena>, bytes=bytes@entry=1672) at malloc.c:3699
#2  0x00007ffff7e6bd15 in __libc_calloc (n=<optimized out>, elem_size=<optimized out>) at malloc.c:3428
#3  0x00007ffff741a29c in __alloc_stmt () at __handles.c:784
#4  0x00007ffff73e4545 in __SQLAllocHandle (handle_type=handle_type@entry=3, input_handle=0xa6b590,
		output_handle=output_handle@entry=0x7ffff71b4648, requested_version=requested_version@entry=0) at SQLAllocHandle.c:580
#5  0x00007ffff73e53ea in SQLAllocHandle (handle_type=handle_type@entry=3, input_handle=<optimized out>,
		output_handle=output_handle@entry=0x7ffff71b4648) at SQLAllocHandle.c:1304
#6  0x00007ffff7669f5e in Cursor_New (cnxn=0x7ffff6e711f0) at src/cursor.cpp:2556

But adding debug messges to 4.0.33b6  the crash moves to this line :
ret = SQLPutData(cur->hstmt, hasTvpRows ? (SQLPOINTER)1 : 0, hasTvpRows);

on the execute function.
I am just starting to use pyodbc so I am not familiar with the code so any help would be appreciated.
Best Regards

I tried to reproduce it but got a different error, "A TVP's rows must all be the same size.", it seems to think that a row being passed in is 11 columns instead of 14 for some reason.
I'm afraid I won't be able to look deeper into it until the new year, though.

Hello,
Tried running the code I actually posted and was able to reproduce again, this was my output with the flag set to not crash:
	Testing pyodbc on calling procedures with TVP arguments
	os:      Linux
	Current directory: /mnt/c/temp/pyodbc_crash
	sys path: ['/mnt/c/temp/pyodbc_crash', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/pedro/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/local/lib/python3.8/dist-packages/pyodbc-4.0.33b6-py3.8-linux-x86_64.egg', '/usr/lib/python3/dist-packages']

	python: 3.8.10 (default, Sep 28 2021, 16:10:42)
	[GCC 9.3.0]
	pyodbc:  4.0.32 /home/pedro/.local/lib/python3.8/site-packages/pyodbc.cpython-38-x86_64-linux-gnu.so
	----START ----

	Getting line 0
	Exec data-set:0 with 1 lines
	res: [(0, '')]
	---------------
	Getting line 1
	Exec data-set:1 with 1 lines
	res: [(0, '')]
	---------------
	Getting line 2
	Exec data-set:2 with 1 lines
	res: [(0, '')]
	---------------
	Getting line 3
	Exec data-set:3 with 1 lines
	res: [(0, '')]
	---------------
	Getting line 4
	Exec data-set:4 with 1 lines
	res: [(0, '')]
	---------------
	Getting line 5
	Exec data-set:5 with 1 lines
	res: [(0, '')]
	---------------
	Getting line 6
	Exec data-set:6 with 1 lines
	res: [(0, '')]
	---------------
	Getting line 7
	Exec data-set:7 with 1 lines
	res: [(0, '')]
	---------------
	Getting line 8
	Exec data-set:8 with 1 lines
	res: [(0, '')]
	---------------
	Getting line 9
	Exec data-set:9 with 1 lines
	res: [(0, '')]
	---------------
	Everything went A-OK and nothing crashed!

And on the database the data was inserted on all 14 columns
	the_id      field_1              field_2     field_3              field_4 field_5              field_6     field_7 field_8                     field_9 field_10    field_11                                                                                field_12 field_13
	----------- -------------------- ----------- -------------------- ------- -------------------- ----------- ------- --------------------------- ------- ----------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -------- --------
	39          1001                 1           1101                 NULL    NULL                 0           0       2021-01-01 14:50:11.00      0       NULL        NULL                                                                                NULL     1
	40          2001                 1           2201                 NULL    NULL                 0           0       2021-02-02 14:50:11.00      0       NULL        NULL                                                                                NULL     1
	41          3001                 1           3301                 NULL    NULL                 0           0       2021-03-03 14:50:11.00      0       NULL        NULL                                                                                NULL     1
	42          4001                 1           4401                 NULL    NULL                 0           0       2021-04-04 14:50:11.00      0       NULL        NULL                                                                                NULL     1
	43          5001                 1           5501                 NULL    NULL                 0           0       2021-05-05 14:50:11.00      0       NULL        NULL                                                                                NULL     1
	44          6001                 1           6601                 NULL    NULL                 0           0       2021-06-06 14:50:11.00      0       NULL        NULL                                                                                NULL     1
	45          7001                 1           7701                 NULL    NULL                 0           0       2021-07-07 14:50:11.00      0       NULL        NULL                                                                                NULL     1
	46          8001                 1           8801                 NULL    NULL                 0           0       2021-08-08 14:50:11.00      0       NULL        NULL                                                                                NULL     1
	47          9001                 1           9901                 NULL    NULL                 0           0       2021-09-09 14:50:11.00      0       NULL        NULL                                                                                NULL     1
	48          10001                1           11001                NULL    NULL                 0           0       2021-10-10 14:50:11.00      0       NULL        NULL                                                                                NULL     1

	(10 rows affected)

	Completion time: 2021-12-18T00:25:45.4587229+00:00

Settting the flag to crash would also crash python as expected

Hello, I forgot to mention something important this only happens on Linux, running this test on Windows ( in a powershell ) has no issues and does not crashes

Check unixODBC version, older versions (<2.3.5) buggy may cause this.

Hello v-chojas
My unixODBC version is 2.3.7
pedro@PT-PEDMARQU1:/usr/bin$ odbcinst --version
unixODBC 2.3.7

The 2.3.9 was already released but on apt-get 2.3.7 is still listed as the current version.

I'm going to close this for inactivity.  If someone could confirm with 2.3.9 it would be useful.


Write a basic example and run the SVUnit, use Questa simulator

[ ] #25

hello

Thoughts

svUnit is a library so i thing without github clone method we can do it in over server or edaplayground, only we need to import svUnit pkg and include macro file.

same folder has UUT(2 functions) and more than one unit_test files (for the same UUT)
source and unit_test separate folders

Problem-1:
I tried more than one unit_test template for same UUT.
i create one even_odd.sv file and inside this file i declare two function first for is_even and second for is_odd, and i wrote two unit test template for each function.
it's giving error 'even_odd_ut' already declared in this scope.

Problem-1: I tried more than one unit_test template for same UUT. i create one even_odd.sv file and inside this file i declare two function first for is_even and second for is_odd, and i wrote two unit test template for each function. it's giving error 'even_odd_ut' already declared in this scope.

My understanding we can write multiple UUT in a single unit test template but we can't write multiple unit test template for single UUT.

Could you show the code written so that we can understand the error?

Basic class:
Here I created transaction class and inside transaction class I declared two variable with rand keyword for randomization purpose, and I wrote two constraint one for addr and second for data and it will generate value of addr = 3 and data = 10.

Create unit test template:
using create_unit_test.pl file I created transaction_unit_test.sv shown in below,

Create_unit_test.pl will generate unit test template shown in below,

Unit tests:
Inside SVUNIT_TESTS_BEGIN and SVUNIT_TESTS_END macro I wrote four unit test. using SVTEST and SVTEST_END I wrote each individual unit test.

first unit test name is addr_true inside I declared `FAIL_UNLESS macro it will set status PASS when given expression is true, else it will give error and set status as FAILED. Same for other three unit test (addr_false, data_true, data_false) it will set status PASS/FAILED.

Output:

So when transaction class will randomize it will generate addr = 3 and data = 10 because in transaction class I wrote constraint for data and addr.
first test addr_true it will set status PASS because addr == 3 expression is true.
Second test addr_false it will give error and set status FAILED because addr == 6 is not true.
third test data_true it will set status PASS because data == 10 expression is true.
fourth test data_false it will give error and set status FAILED because data == 1 is not true.

Basic class:
Here I created transaction class and inside transaction class I declared two variable with rand keyword for randomization purpose, and I wrote two constraint one for addr and second for data and it will generate value of addr = 3 and data = 10.

Instead of the image, please have the code written


Grammatical error in content/courses/GNAT_Toolchain_Intro/chapters/gnat_tools.rst

The grammatical error can be found by searching:
"For
example, we may have multiple Ada packages contain in a single
file."
and should read:
"For
example, we may have multiple Ada packages contained in a single
file."

@filip-gajowniczek-adacore  Could you please assign this issue to me? I wish to work on it.


Licenses missing in most report format

What happened:
Scanning the same image leads to different results depending on the output format.

Type
Components
cpe
purl
Versions
Licenses
Notes

cyclonedx
154
154
153
154
0
WARN unable to convert relationship from CycloneDX 1.3 JSON, dropping...

cyclonedx-json
154
154
153
154
0
WARN unable to convert relationship from CycloneDX 1.3 JSON, dropping...

json
153
806
153
153
153
with 2 UNKNOWN License for python artifacts

spdx-json
153
806
153
153
0

spdx-tag-value
153
806
153
153
0

text
153
0
0
153
0

table
153
0
0
153
0

Scanning the same image using tern

Type
Components
cpe
purl
Versions
Licenses
Notes

cyclonedxjson
149
0
149
149
149

html
149
0
0
149
149

json
149
0
0
149
149

spdxtagvalue
149
0
0
149
149

spdxjson
149
0
0
149
149

yaml
149
0
0
149
149

Thus the presence or absence of the license is not a format problem as for the common spdx or cyclonedx, tern is able to get this field correctly filled. As in json Syft is able to have all the information, this is probably in the converter that the loss occur (which is reflected I think by the WARN logs).
What you expected to happen:
Expectation is that content is independent of the format (if we except of course table and text) and everything that the format may accept shall be in the output.

Environment:

Output of syft version: 0.42.4
OS (e.g: cat /etc/os-release or similar):

Tagging @cpendery

@WhyJee I'm having trouble replicating your license counts. When trying to recreate your values using the almalinux image tag closest to your post and Syft 0.42.4, I'm only finding 4 licenses. While there is a difference between that and the other formats, its entirely based on the filtering @mj mentioned.
docker run \
            --rm \
            -it \
            -v /var/run/docker.sock:/var/run/docker.sock \
            -v $PWD:/tmp/workdir \
            anchore/syft:v0.42.4 \
            -v \
            packages \
            -s Squashed \
            -o json \
            --file /tmp/workdir/bom.json \
            docker:almalinux:8.5-20220306

I'm able to replicate this filtering out of licenses in 0.52.0, with licenses like (Apache-2.0 OR MPL-1.1), Proprietary, and BSD being filtered out.

Based on your comments @mj / @spiffcs , I have replayed the analysis with latest Syft and latest Almalinux image.
There are 153 license entries in the json output which are identified as :

License
Count

BSD
10

BSD and GPLv2
1

BSD and GPLv2+
3

BSD and LGPLv2+
1

BSD and LGPLv2 and Sleepycat
2

BSD or GPLv2
1

BSD or GPLv2+
1

BSD with advertising
1

GPLv2
4

GPLv2+
14

GPLv2+ and BSD
1

GPLv2 and GPLv2+ and LGPLv2+ and BSD with advertising and Public Domain
1

GPLv2+ and LGPLv2+
2

GPLv2+ and LGPLv2+ with exceptions
2

GPLv2+ and Public Domain
1

(GPLv2+ or AFL) and GPLv2+
5

GPLv2+ or LGPLv3+
4

(GPLv2+ or LGPLv3+) and GPLv3+
1

GPLv3+
12

GPLv3+ and GFDL
1

GPLv3+ and GPLv2+ and LGPLv2+ and BSD
1

GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
2

GPLv3+ and LGPLv2+
2

GPLv3+ or BSD
1

LGPL2.1+ (the library), GPL2+ (tests and examples)
1

LGPLv2
2

LGPLv2+
24

LGPLv2+ and BSD and Public Domain
1

LGPLv2+ and GPLv3+
3

LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ and GPLv2+ with exceptions and BSD and Inner-Net and ISC and Public Domain and GFDL
3

LGPLv2+ and MIT
1

LGPLv2+ and MIT and GPLv2+
2

LGPLv3+ and GPLv3+ and GFDL
1

LGPLv3+ or GPLv2+
2

(LGPLv3+ or GPLv2+) and GPLv3+
1

MIT
18

MIT and Python and ASL 2.0 and BSD and ISC and LGPLv2 and MPLv2.0 and (ASL 2.0 or BSD)
1

OpenLDAP
1

OpenSSL and ASL 2.0
1

pubkey
1

Public Domain
9

Python
2

SISSL and BSD
1

UNKNOWN
2

Vim and MIT
1

zlib and Boost
1

From this we can split the problem in several categories and eventually solve some.
Multiple licenses
This is the tricky case as the scanner would need a robust split algorithm (see above table).
The you will have the issue below on name matching to solve of course.
Single license
Name mismatch
This is the most common issue for single name.
ASL 2.0 not matching one of "apache-2" "apache-2.0" "apache-2.0.0", not leading to license Apache-2.0
GPLv2 not matching one of "gpl-2" "gpl-2.0" "gpl-2.0.0", not leading to license GPL-2.0
GPL2+ or GPLv2+ not matching one of "gpl-2+" "gpl-2.0+" "gpl-2.0.0+", not leading to license GPL-2.0+
GPLv3+ not matching one of "gpl-3+" "gpl-3.0+" "gpl-3.0.0+", not leading to license GPL-3.0+
LGPLv2 not matching one of "lgpl-2" "lgpl-2.0" "lgpl-2.0.0", not leading to license LGPL-2.0
LGPL2.1+ not matching one of "lgpl-2+" "lgpl-2.0+" "lgpl-2.0.0+", not leading to license LGPL-2.0+
LGPLv2+ not matching one of "lgpl-2+" "lgpl-2.0+" "lgpl-2.0.0+", not leading to license LGPL-2.0+
LGPLv3+ not matching one of "lgpl-3+" "lgpl-3.0+" "lgpl-3.0.0+", not leading to license LGPL-3.0+
MPLv2.0 not matching one of "mpl-2" "mpl-2.0" "mpl-2.0.0", not leading to license MPL-2.0
I don't know what the other packager (Debian, ...) are putting as license, but it seems the solution could be to update the license_list.go in order to make the match. I am not sure we can ask to RedHat to rewrite all its rpm to comply to Syft.
Name not recognized
This one occurs only if single license is "MIT" (18 occurrences) or "BSD" (10 occurrences).
It seems but I have not checked that it is an exact match; we may have expected something case insensitive.
Solving these 2 issue would be 1st step.

For purposes of CycloneDX note that the format allows
"license": {"id": "SPDX ref"}
or alternatively if it cannot be matched:
"license": {"name": "any text you want"}
It would be great if at least in CycloneDX case the available information could be returned. A free text License "name" is better than nothing.

Hi @WhyJee,
thanks for bringing the different categories of up!
One could arguie, that in some component that is licenses as "MIT AND LGPL-2.1-only" there actually are "sub components" that are licenses differently. So from the perspective of CycloneDX, this should somehow be two components (that are smooshed together) and not one componente with License "MIT AND LGPL-2.1-only".
I'm pretty sure that this is just a rough estimation.
I've seen people release Software under "GPL AND MIT" to tell you that you can choose one and sometimes people release Software under "GPL OR MIT" to give you this very choice.
On the other hand SPDX and Fedora seem, to agree that only "OR" should be used for this. And "AND" should be used if different parts of the component have diffrent licenese.
Fedora has a guideline for this: https://docs.fedoraproject.org/en-US/legal/license-field/#_license_expressions
SPDX has something similar: https://spdx.github.io/spdx-spec/v2.3/SPDX-license-expressions/

But while we are waiting for the "real" solution would it not be better to report unknown (unmapped) licenses as "whatever" than not reporting them at all?

Hi there,
I did some cross check and found that other CyclonDX-Tools seem to struggle with Licenses Expressions such as "(LGPLv3+ or GPLv2+) and GPLv3+" as well:
https://github.com/CycloneDX/cyclonedx-python/discussions/377
https://github.com/DependencyTrack/dependency-track/issues/170

Hi @dawez -- I think this will be fixed with #1540


Request: support old ES "with" statement

I did not thoroughly search for this!
I'm sorry, it's pretty hard to search for such a common word, there were thousands of issues that use "with," but I tried looking through the first few hundred.
Suggestion
TypeScript support (a restricted subset of) the old JavaScript keyword: "with."
Use Cases
Simplifies code that accesses a large number of different, yet known keys of an object in quick succession.
Examples
const foo = {
    bar: "baz",
    qux: "foobar"
};

with ( foo ) {
    // introduces two new variables into scope
    // bar :: string
    // qux :: string
    console.log(bar, qux);
}
// bar : not in scope
// qux : not in scope

output:
const foo = {
    bar: "baz",
    qux: "foobar"
};

{
    console.log(foo.bar, foo.qux);
}

Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[ ] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[ ] This feature would agree with the rest of TypeScript's Design Goals.

~ This is a runtime feature, but this is already a feature that was implemented in ECMAScript itself (at some point).
Technically, it has not been removed. It is merely disallowed in strict mode.
I do not recommend supporting the actual ECMAScript "with" statement (I hate that the self/window/globalThis object is still global).
Instead, I suggest that a very restricted subset is supported.
It would have to be very restrictive in order to not bring back the problems of the original "with."
Suggested restrictions to ensure code can still be typed and remain safe:

The object may only have known keys (string literals, no symbols, no numbers), it may not be an array.
The object must be contained in a variable, specifically one that is const (function calls can mutate non-const variables).
(The variable restriction may be alleviated if the code is transpiled into a block with a variable assignment.)
(should not be done at global scope?)

It is very possible to transpile with to perfectly safe runtime code that can be guaranteed to be as safe as if one had explicitly accessed the object.
It wouldn't be hard if only supporting a subset, yet there are other implications to consider, such as performance, especially with nested with statements.
(And yes, this could also be used to create the most hellish spaghetti code you have ever seen.)

Despite this having never been supported in TS, I do believe this is actually the first issue requesting support for it. Trailblazing 😅

...I do believe this is actually the first issue requesting support for it...

I actually am still wary of the spaghetti that TS developers will start cooking if it's supported, but these aren't lazy JavaScript developers, so I have some confidence. I think we just need more feedback from the community.

The with statement is an error in "use strict" js (and therefore modules), so the code you are even allowed to use it in is actually pretty small. Older sloppy-mode scripts is pretty much it.

The with statement is an error in "use strict" js (and therefore modules), so the code you are even allowed to use it in is actually pretty small. Older sloppy-mode scripts is pretty much it.

Refer to my note under the Checklist:

~ This is a runtime feature, but this is already a feature that was implemented in ECMAScript itself (at some point).
Technically, it has not been removed. It is merely disallowed in strict mode.

I stay within modularized code because it actually makes sense.
Note that I am not suggesting that TS support the statement and just remove type annotations like normal, but instead transpile the statement entirely.

// output after running TSC
with ( foo ) {
console.log(foo.bar, foo.qux);
}
See how it transpiles variable accesses into object lookups, which should have the same result as if it had not used the `with` statement at all.

Actually supporting the `with` statement is useless, as often times TSC is run in strict mode, meaning `with` is a runtime error, as you had mentioned.

@00ff0000red By design TypeScript cannot alter the runtime behavior of the code so it’s out of the equation to emit something different from the entered JavaScript code except for downleveling.

By design TypeScript cannot alter the runtime behavior of the code so it’s out of the equation to emit something different from the entered JavaScript code except for downleveling.

But this is a syntax level part of ECMAScript, just like async/await is, we could classify it as down leveling due to it not being supported by our output target (ES5+). (More like the opposite of down leveling, but you get the idea.)

Downleveling would be type-directed emit, so if your request is that, it's out of scope

Dang, guess this classifies as "out of scope" :(

Update this can be done without type based code emit.
input:
const foo = {
    bar: "baz",
    qux: "foobar"
};

with ( foo ) {
    console.log(bar, qux);
}

output:
const foo = {
    bar: "baz",
    qux: "foobar"
};

{
    const __with_scope_0 = foo;

    console.log(
        "bar" in __with_scope_0 ? __with_scope_0.bar : bar,
        "qux" in __with_scope_0 ? __with_scope_0.qux : qux
    );
    // (: bar) in the conditional operator accesses the outer scope's "bar"
}

Example of nested withs:
input:
with ( foo ) {
    with ( bar ) {
        console.log(a);
    }
}

output:
{
    const __with_scope_0 = foo;
    {
        const __with_scope_1 = bar;
        console.log(
            'a' in __with_scope_1 ? __with_scope_1.a : ('a' in __with_scope_0 ? __with_scope_0.a : a)
        );
    }
}

It should always be possible to transpile like this, because JS identifiers are always representable as constant strings, and are always static in the scope. Even if the user brings arbitrary identifiers into scope via eval(), it would be found in the last section of the conditional operator.

Furthermore, types can also be resolved as unions of everything that the conditional operations would return!

I am the maintainer of the official Vue IDE plugin. Due to the particularity of the Vue template syntax, we need to use the with statement to make some very important performance improvements. Considering the number of Vue users, the benefits this brings will be huge. If TS can support this, we would be very grateful. 🙏

@johnsoncodehk could you elaborate a little bit on that?

@DanielRosenwasser Thank you for your attention to this issue!
For the below vue SFC code.
<template>
  <h1>{{ msg }}</h1>
  <button @click="count++">count is: {{ count /* type: number */ }}</button>
</template>

<script lang="ts">
import { defineComponent, ref } from 'vue'

export default defineComponent({
  props: {
    msg: {
      type: String,
      required: true,
    },
  },
  setup() {
    const count = ref(0)
    return {
      count, // type: Ref<number>
    };
  },
});
</script>

We currently need at least these steps to generate virtual code to provide IDE support for script blocks and template blocks:

Generate virtual

Would be cool if this could be used with optional chaining.
In Kotlin this is possible:
x?.y?.apply {
    println(z)
}

Something similar in TS would be nice. In this case not quite as nice, but still usable:
with (x?.y) {
   console.log(z);
}

Only problem is that JavaScript with does not support undefined or null as argument.

@eirikb this would be possible with:
with (x?.y ?? {}) {
   console.log(z);
}

@N0tExisting Not quite, in that case the with would still run, and probably throw an error for "z not being defined".
Instead I would prefer something like Kotlin, where the block won't be executed.

Would be cool if this could be used with optional chaining.
In Kotlin this is possible:
x?.y?.apply {
    println(z)
}

Something similar in TS would be nice. In this case not quite as nice, but still usable:
with (x?.y) {
   console.log(z);
}

Only problem is that JavaScript with does not support undefined or null as argument.

Sorry, but yours is an unrelated issue, and I expect should fail to pass the non-goal, "This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)." If anything, how about opening an issue specifically for that request?


Automatically choose Scene when there is only one Scene.

I have a python file called "HelloWorld", with only one scene class "Hello".
But when I run `manim -p HelloWorld.py" without further defining the Scene, it gives me a list, where I can choose my scene from.
This is in he current manim-cm edition. A few weeks ago, it would render the scene Hello automatically. Was that canged on purpose, or do we want to change it back, so that one does not have to make this extra step in the terminal?
This list is:
1: GraphScene
2: Hello
3: LinearTransformationScene
4: MovingCameraScene
5: ReconfigurableScene
6: SampleSpaceScene
7: SpecialThreeDScene
8: ThreeDScene
9: VectorScene
10: ZoomedScene

Choose number corresponding to desired scene/arguments.
(Use comma separated list for multiple entries)
Choice(s):

Just realized: Same issue as #171

Closing as duplicate. Let's discuss on #171


enhancement: add support for selecting multiple values together in checkbox /multiselect

Type: feature

Current checkbox allows only one value to be selected at present.
Current select option allows only one value to be selected at present. It should be configurable to allow multiple values.

Above two behaviours are basic behaviours that must be supported in the controls.

This is now released with version 2. Here

https://mui-forms.vercel.app/fields/multi-select
https://mui-forms.vercel.app/fields/checkbox


"Seeking Assistance with an Issue Related to Gateway Disconnection in Hummingbot"

I am experiencing an issue while using the gateway that I set up with Docker. Specifically, the problem arises when I use 'gateway connect quickswap' in Hummingbot, and after entering 'polygon, mainnet', the connection is lost. Upon investigation, I noticed that the gateway container displayed a 404 error, indicating that the resource could not be found. I'd appreciate any assistance you can provide.

Hi @Baiqu, good day
I am not able to replicate the 404 error perhaps something to do with your connection, i am able to setup quickswap and run for few minutes got no 404 local network


Include zeros for missing queue states in Oban polling metrics

Change description
This changes Oban polling metrics to include zeros for all missing queue + state combinations in the Oban jobs table. Queues are taken from the Oban config, and Oban exposes all possible states in Oban.Job.states/0.
What problem does this solve?
The polling query will only count jobs that exist in the table, so naturally no zeros will be returned. When counts for a particular queue state combination is present and then disappears from one poll to the next, some tools will show the stale last-seen count, when the true count is zero. A spike in available or executing jobs that is quickly processed can lead to a misleading count hanging around.
My team at work had this issue, and we're running a copy of the Oban plugin for now, with these changes.
A possible downside of this change is a larger metrics payload, in cases with a lot of mostly-empty queues. We only have 5 fairly busy queues.
Issue number: #202
Checklist

[ ] I have added unit tests to cover my changes.
[ ] I have added documentation to cover my changes.
[x] My changes have passed unit tests and have been tested E2E in an example project.

Sorry about the absence of tests. It looked like adding tests for this would be fairly invasive in the current test suite.

This fix only works in the classic oban setup. If you use https://hexdocs.pm/oban/2.11.0/dynamic_queues.html
the list of queues is not in under Oban.config().queues.
It is inside the plugins: https://hexdocs.pm/oban/2.11.0/dynamic_queues.html#using-and-configuring

Taking a look at this right now @martinsvalin-kivra & @benonymus. Should be able to get this merged in by EOD and a cut a new release. Thanks!

Thank you!


Example section is now ahead of Remarks section in .NET API Browser

For example https://docs.microsoft.com/en-us/dotnet/api/system.action-1?view=netcore-2.1
I'm not sure whether this is a bug or feature. I suppose it is a bug because I remembered Remarks was ahead of Example and it has some things like In this topic which are designed to be in the front of the article.

@mairaw That could also explain why I thought that the sentence was wrong in https://github.com/dotnet/dotnet-api-docs/commit/2b3c19ab4839f263a489710c840e0ff2a8fa38d3 (related to #8675). If Remarks came first then the removed sentence could refer to the list in the Fields section.

@mikkelbu Now I think this is a feature :joy:, closing then.


AppSync with Amplify

Which Specific Feature is your question related to?
Adding API to Amplify app
Provide additional details e.g. code snippets
Hi, I've been trying to connect an existing appsync api to an amplify app. Everything works locally but when I run "
amplify push" to update it in the cloud, the api doesn't get pushed along with it.

Closing due to age and inactivity. @sufyanghazali if you are still experiencing this issue please file a new issue


fixes: #142

The error occurred because the basic block names in BBnames.txt generated during the preprocessing stage have a ":" at the end, and during distance calculation, due to the presence of it, it's unable to find the corresponding key in bb_distance.

Thanks YukZhao! Closed as per https://github.com/aflgo/aflgo/issues/142#issuecomment-1994898952 and https://github.com/aflgo/aflgo/issues/142#issuecomment-1996280207.


Provide a quiet option

I'm wanting to parse the response and do my own thing with it, but at the moment I cannot, as even when returning JSON there are still calls to console.log and process.stdout.write. :)
(I know I could override those functions, but it gets a bit messy to maintain).

Hi, yup it makes sense. Are interesting in a PR?

Certainly up for it! I was thinking of doing so anyway but it might take me a little bit of time to get to it. So if anyone beats to me to it, feel free. ;)
Kind of related, I'd also consider exporting the messages object too, so it can be utilised in other situations, because that's a handy-dandy list of friendly error messages you've built there.

Kind of related, I'd also consider exporting the messages object too, so it can be utilised in other situations, because that's a handy-dandy list of friendly error messages you've built there.

sgtm 👍


JavaScriptCore support

Allowing access to MIDIKit APIs from JS.

Many types, especially MIDIMessage and types MIDIMessage uses, are enums with associated values.
I don't know a good way to expose those types to JS.
I think it's a nice idea for scripting purposes.
Do you think this can be done in separate Swift Package?

You're right. The library is nicely done as a pure Swift implementation.
The biggest issue is MIDIMessage indeed. It would be necessary to create specific JS types, like MIIDNoteOnMessage, only for the purpose.
TBH last time I used JSC was with ObjC, so I have to get back to it and better understand what can be done with Swift.
Cheers


ng-if not working with controllerAs syntax

``
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Can't get ng-if or ng-show to work using the controller As syntax
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (template: http://plnkr.co/edit/tpl:yBpEi4).
The following H4 never shows up even if vm.foundAddress is defined:

{{ vm.window.model.distance | number:2}} mi from your address

What is the expected behavior?
I would expect ng-if to work with the controllerAs syntax as it's the recommended syntax
Which versions of Angular, and which browser / OS are affected by this issue? Did this work in previous versions of Angular? Please also test with the latest stable and snapshot (https://code.angularjs.org/snapshot/) versions.
1.5.5

Can you please put an runnable example in a plnkr.co or similar?

My bad, it was a scope issue with angular-google-maps. Found a solution here: https://github.com/angular-ui/angular-google-maps/issues/823


[FLINK-27051] fix CompletedCheckpoint.DiscardObject.discard is not idempotent

What is the purpose of the change
fix CompletedCheckpoint.DiscardObject.discard is not idempotent.
Brief change log
(for example:)

fix CompletedCheckpoint.DiscardObject.discard is not idempotent.
The data was properly deleted.
discardObject is called on already (partially) deleted data. -> such a call should NOT throw an exception
An error occurred while deleting the data. -> This should throw an exception

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not documented)

@flinkbot run azure

Thanks for creating the PR, @WencongLiu . Can you elaborate a bit more on what your goal is here? How do you think the proposed change can make Checkpoint cleanup idempotent?

Perhaps my understanding of this method is not quite right. Can you give me some hints?

ah sorry, I missed that the boolean variables are set to true in the if blocks. Forget what I said. :-D Anyway, can't we just call the clear method when the best effort deletion completed successfully instead? That wouldn't require creating multiple fields here. Additionally, it would be good to have some test cases for that behavior.

Yea, the clear method should not be called in 'finally' and should be called when all deletion are completed. My concern is that these functions being called multiple times could throw unnecessary exceptions:
metadataHandle.discardState();
StateUtil.bestEffortDiscardAllStateObjects(operatorStates.values());
storageLocation.disposeStorageLocation();

A test for this behavior is indeed required.

cc @XComp

@flinkbot run azure

cc @XComp

it's on my list of things to do. I will get back to it after the release is finalized.

My concern is that these functions being called multiple times could throw unnecessary exceptions:

That's actually a good point - now I remember the history of this issue: The actual goal is to harden the contract of StateObject#discardState instead of introducing some workaround in the calling objects. That's why I started collecting the subtasks under FLINK-26606. FLINK-27051 is actually blocked by the other subtasks, I guess. WDYT?

@XComp I'm interested in the background of your ticket. Based on the description, I think the key point of this ticket is that "CompletedCheckpoints are being discarded in CheckpointsCleaner". Could you provide the specific codepath for this? Additionally, I would like to learn more about "the contract of StateObject#discardState" . If these are clear, I would be happy to drive the entire issue.


[kn-admin] Add Unit Test and e2e test

For kn-admin plugin, use go test framework to fill up Unit Test and e2e test.

UT merged with #14 by @lanceliuu
Xu, any plan for e2e?

/lanceliuu

Progress for adding unit test & e2e test:
The unit tests part is done in PR https://github.com/knative/client-contrib/pull/31
?       knative.dev/client-contrib/plugins/admin/cmd    [no test files]
ok      knative.dev/client-contrib/plugins/admin/core   4.482s  coverage: 50.0% of statements
?       knative.dev/client-contrib/plugins/admin/pkg    [no test files]
ok      knative.dev/client-contrib/plugins/admin/pkg/command    1.203s  coverage: 100.0% of statements
ok      knative.dev/client-contrib/plugins/admin/pkg/command/domain     2.188s  coverage: 97.7% of statements
ok      knative.dev/client-contrib/plugins/admin/pkg/command/registry   4.872s  coverage: 94.9% of statements
?       knative.dev/client-contrib/plugins/admin/pkg/testutil   [no test files]

I will continue to add e2e tests in another pull request.

e2e which need to fill up
Autoscaling

[ ]  autoscaling update --scale-to-zero @zhanggbj
[ ]  autoscaling update --no-scale-to-zero @zhanggbj

Domain

[ ]  domain set
[ ]  domain set with selector
[ ]  domain unset

Registry

[ ]  registry add @12345lcr
[ ]  registry remove @12345lcr


Disable running twice gcov when only TEXT report enabled

Proposed solution for issue described in #624.
Disable running twice 4.2 gcovr when:

calls of  args_builder_cobertura /- args_builder_sonarqube / args_builder_json / args_builder_html functions does not update args.
when Text Report is not set.

Hi @mvandervoord ,
If you will have a some time, can you look at proposed solution for an issue described in https://github.com/ThrowTheSwitch/Ceedling/issues/624 ?
Kind Regards,
Lucas


Accordion- collapsible panels not working with new ui-bootstrap

This feature used to work with an older code of ui-bootstrap. Now,it is opening and collapsing but the transition is not happening, it is suddenly opening and closing.. I can also see some changes in new code in collapse functions. Can I get to know if anything needs to be changed in my accordion to make it work

This is the working version 0.12.1 - 2015-02-20.. But when 0.13 + is used it does not transition during collapse and expand

@bharos have you added ngAnimate?

Yes, I had added ngAnimate also, but seems like its missing something else.
Is there a minimum required version for angular also for this to work ??

@bharos 0.13.2 is tested on Angular 1.4.  Please provide a plunk so we can look into this further.

Okay. It is now workign fine. Seems like some issue was there for ngAnimate.
Now when everything is included properly,it is working.Thanks for the help


Private addresses in log4j.txt

The log4j.txt list contains private addresses.
These should be removed, right?
$ git rev-parse --short HEAD -- log4j.txt
f600b9b
$ cat log4j.txt | grep -P '^10\.' | wc -l
21
$ cat log4j.txt | grep -P '^172\.(1[6-9]|2[0-9]|3[0-1])\.' | wc -l
8
$ cat log4j.txt | grep -P '^192\.168\.' | wc -l
40

My workaround for now is to use the same grep expressions with the -v switch to exclude the the
private addresses.
Thanks for maintaining this list.

Yes. Unfortunately, one of the source feeds that builds this list loaded false positives. That source has been removed, permanently. Updated commit coming now.

Thank you!
The most recent commit and future ones have excluded the private ranges.

As promised, I've built-in filtering for all no-routable addresses and have removed <IP_ADDRESS> and <IP_ADDRESS>.
Unfortunately, this is an aggregation of community-data and the quality is based on that data.
I'll do my best to keep it solid.

Thanks for your efforts. It's helping to keep us all safe!

Another invalid addresses are in the localhost range (127.0.0.x); in the last version I downloaded appear both <IP_ADDRESS>
and <IP_ADDRESS>
Thank you for your efforts maintaining the list!

@ourra , resolved!
 Thanks you helping me make it better!


Icon color

What happened?
I added the google scholar icon. However, the color is different than the ones you provided:

Any idea how I could fix this?
FYI, the repository of my website is available at : https://github.com/AntoineSoetewey/antoinesoetewey.com
Theme version
last
Hugo version
last
What browsers are you seeing the problem on?
Chrome
Relevant Hugo log output
No response

Hey @AntoineSoetewey, it looks like this is an issue with your SVG file. There's a lot of unnecessary metadata in the icon file, and in particular it's missing the fill="currentColor" from the SVG path attribute. If you add that in, it should inherit the correct styles from the theme. You can compare with the icons that are bundled with the theme as a guide.

Thanks for your prompt reply!
Fixed with https://github.com/AntoineSoetewey/antoinesoetewey.com/commit/66d25c281627c526e95413a12052d18e7c455ac1


cannot read property 'stringValue' of null

cannot read property 'stringValue' of null, while configuring devicename on initial startup.
Input: 'Ruben Laptop'
my log id: 9f79316c8158557205d6591c

Thanks, we'll get this fixed soon.

@Rubenkl Hi, this is fixed now, you should see an update with the fix soon.


Add GSM data functionality to the library

working HTTP requests.
TODO: Generalizing POST request for headers remains.

Hmm, this isn't showing the latest changes in master, can you update it?

@skorokithakis Umm, I would very much like to do it but I am just not clear how to do that!
I mean how do I merge changes from your Master to my branch ?
What I did is:
sync'd my repo with yours.  Now I have all the changes which are in your repo in my local and global repo.  Now How to go further and merge changes from my master to my branch A6httplib?

It's odd, GitHub should do this automatically, but it doesn't. Try switching to your branch and doing git merge master, and then pushing the result. Maybe that will fix it.

@skorokithakis  thanks! it worked.  Github is hard man!! Got to learn a lot. Lol

Tell me about it! That's why I prefer gitlab.

Damn, I forgot about this! Please leave a comment if I haven't reviewed it by Monday!

what d change required for use of hardware serial inplace of software serial in a6lib.h and a6lib.cpp
comes in
a6lib.h---->#include "SoftwareSerial.h" ; and  SoftwareSerial1 *A6conn;
a6lib.cpp --->#include <HWSerial.h>
and
A6lib::A6lib() {
#ifdef ESP8266
A6conn = new SoftwareSerial(receivePin, transmitPin, false, 1024);
#else
A6conn = new SoftwareSerial(receivePin, transmitPin, false);
#endif
A6conn->setTimeout(100);
}

I still do not understand at all, thank you for your prompt response. But I do not know if I'm on the right page, how can I use the A6 module as a WiFi access point using the SIM data, and the connections.
I have been working with Arduino and regularly in codes, comes the connection mode of the pins, if you could help me with that I would appreciate it.

@skorokithakis  is this merged?

What's the current state of this PR? Is it currently working? What's missing?

Good question, it's such a large PR that I'm stalled in reviewing it (and I haven't touched my A6 in ages). If someone would like to refactor it to remove unnecessary elements and test it, please go ahead, it would be very helpful.

Ok, I just ordered a A6. Let's see if I get some time to try this out. Thanks for your work! This is really great to play with and show to kids. 😏

No problem, it really is great!

Hey all, yeah it was working the last time I used it.  I updated it at my repo.  @skorokithakis helped me a lot sorting things out, after that even I cudn't push it much to refactor.

I just came across two other libraries/sample code. I will post the links here, for anyone who's interested:

https://github.com/SensorsIot/A6-GSM-Module
https://gitlab.me-soldesign.com/Tobias/A6HTTPLibrary


intents send to HA unreliably

Hi,
I have a situation where the the intents from Rhasspy are not reliably sent to HA.

Scenario 2: When HA is restarted, Rhasspy was still running, the Rhasspy connects to HA MQTT just fine, I could even see messages in hermes/intent/intentName.  But HA never registers the input.  Only after repeadely adding and removing the certs in Rhasspyt does this work.  I am unable to replicate a consistent scenario
Scneario 3: When HA is running, Rhasspy is restarted.  It works most of the time, but sometimes, it just fails. The MQTT connection is all fine and I would see all the message been sent over.
The above scenarios occur randomly and hence frustrating. The only error I see is below, it temporarily gets resolved when the path to certs are given. and later removed :-)
Sometimes even when I get the below error, the intents are sent to HA properly.  thatswhy I stated in the subject very unreliable
[DEBUG:2020-04-04 13:41:30,906] rhasspyhomeassistant_hermes: https://localhost:8123/api/events/rhasspy_FanControl
[ERROR:2020-04-04 13:41:31,099] asyncio: SSL error in data received
protocol: <asyncio.sslproto.SSLProtocol object at 0xb5266150>
transport: <_SelectorSocketTransport fd=13 read=polling write=<idle, bufsize=0>>
Traceback (most recent call last):
  File "/usr/lib/python3.7/asyncio/sslproto.py", line 526, in data_received
    ssldata, appdata = self._sslpipe.feed_ssldata(data)
  File "/usr/lib/python3.7/asyncio/sslproto.py", line 207, in feed_ssldata
    self._sslobj.unwrap()
  File "/usr/lib/python3.7/ssl.py", line 767, in unwrap
    return self._sslobj.shutdown()
ssl.SSLError: [SSL: KRB5_S_INIT] application data after close notify (_ssl.c:2609)

This works fine now.  However, at HA side, if you are using the conversation component, do ensure that you invoke the intent from HA atleast once so that the intent component is intiialized, otherwise all the rhasspy intents are not recognized.  I created a automation during HA start to invoke a intent using conversation.process


Should GO:0047396 be a child of GO:0046423??

Can somebody more knowledgable than I check if "glycosylphosphatidylinositol diacylglycerol-lyase activity (GO:0047396)" should really be a child of "allene-oxide cyclase activity" (GO:0046423).
On the face of it, and checking info in the xrefs at Rhea/MetaCyc/citations, that relationship doesn't seem to make sense - means that "glycosylphosphatidylinositol diacylglycerol-lyase activity" ends up being a great-grandchild of "isomerase activity".
[Term]
id: GO:0047396
name: glycosylphosphatidylinositol diacylglycerol-lyase activity
namespace: molecular_function
def: "Catalysis of the reaction: 6-(alpha-D-glucosaminyl)-1-phosphatidyl-1D-myo-inositol = 1,2-diacyl-sn-glycerol + 6-(alpha-D-glucosaminyl)-1D-myo-inositol 1,2-cyclic phosphate."  [EC:<IP_ADDRESS>, RHEA:22592]
synonym: "(9Z)-(13S)-12,13-epoxyoctadeca-9,11,15-trienoate isomerase (cyclizing)" EXACT [EC:<IP_ADDRESS>]
xref: EC:<IP_ADDRESS>
xref: KEGG:R03402
xref: MetaCyc:ALLENE-OXIDE-CYCLASE-RXN
xref: RHEA:22592
is_a: GO:0009975 ! cyclase activity
is_a: GO:0016860 ! intramolecular oxidoreductase activity

I think this might be resolved? Close?

@sjm41

removed is_a: GO:0046423 ! allene-oxide cyclase activity Already done; closing

Thanks for checking @ValWood. Thanks for fixing @hdrabkin


HMIP device integration troubleshooting - Thermostats don't show data & Switches cannot be controlled

DONT'T DELETE THIS.
Please answer all questions as good as possible.
Language: english & german - both is fine
Make sure you have read the documentation at https://github.com/danielperna84/custom_homematic#custom_homematic. - done
Make sure you have read the release notes at https://github.com/danielperna84/custom_homematic/releases. - done
Make sure you are running the latest version of the custom_component (and Home Assistant) before reporting an issue. - done
ENSURE that your Backend (CCU/Homegear/...) is working as expected and connected devices are controllable. - done
custom_component version (if applicable):
1.19.5
known last working custom_component version (if applicable):
???
Home Assistant version (if applicable):
2022.10.4
CCU version:

Model (CCU2/3, Raspi3/4, NUC, ProxmoxVE, HA-Addon ...): Raspi 4
OS (Original, RaspberryMatic, debmatic ...): RaspberryMatic
Version: <IP_ADDRESS>21005

Problem-relevant configuration:
Do you use tls? yes
Do you use callback? no
Do you use username and password? yes
Which interfaces do you use (hmip/bidcos/wired)? hmip + bidcos
Describe the bug
A clear and concise description of what the bug is.
Connection to Homematic seems not to work completely.
I was able to connect to my RaspberryMatic and see als bidcos + hmip devices.
For BidCos Thermostats I can also see the temperature (HM-TC-IT-WM-W-EU).
For my HMIP thermostats (HmIP-WTH-2, HMIP-PS) I cannot see any data. I enabled "Actual Temperature" and "Humidity" in the advanced settings, but only see "Nicht verfügbar" / "not available" as value. for all Thermostats after several hours and restarts of the homematic integration in home assistant.
I tested switching on/off "HMIP-PS", that doesn't work either. See attached log.
Raspberrymatic should not be the root cause, as I have a running integration with iobroker, where all of the above is working.
To Reproduce
Steps to reproduce the behavior:

Go to 'Settings > Devices"
Select eq3 HMIP device
Enable "Actual Temperature" and "Humidity"
Value shows as "Not available" even after several minutes
Reload homematic (IP) Local integration
Value still not available

Screenshots (if applicable)

CCU firewall
integrations view
device view
enity view

Relevant HA log entries (full log)
Logger: hahomematic.client
Source: /usr/local/lib/python3.10/site-packages/hahomematic/client.py:399
First occurred: 09:50:03 (6 occurrences)
Last logged: 12:37:52

_set_value failed with ProxyException [(<Fault -1: 'Generic error (TIMEOUT)'>,)]: 000218A98ACC42:3, STATE, False
_set_value failed with ProxyException [(<Fault -1: 'Generic error'>,)]: 000218A995F0FB:3, STATE, False
_set_value failed with ProxyException [(<Fault -1: 'Generic error (TIMEOUT)'>,)]: 000218A98ACC42:3, STATE, True
_set_value failed with ProxyException [(<Fault -1: 'Generic error (TRANSACTION_DISCARDED_FOR_UNREACHABLE_DEVICE)'>,)]: 000218A995F0FB:3, STATE, True

Diagnostic Information (available on every device)
{
  "home_assistant": {
    "installation_type": "Home Assistant Container",
    "version": "2022.10.4",
    "dev": false,
    "hassio": false,
    "virtualenv": false,
    "python_version": "3.10.5",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Europe/Berlin",
    "os_name": "Linux",
    "os_version": "5.10.0-17-amd64",
    "run_as_root": true
  },
  "custom_components": {
    "homematicip_local": {
      "version": "1.19.5",
      "requirements": [
        "hahomematic==2022.10.5"
      ]
    },
    "hacs": {
      "version": "1.28.0",
      "requirements": [
        "aiogithubapi>=22.2.4"
      ]
    }
  },
  "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==2022.10.5"
    ],
    "ssdp": [
      {
        "manufacturer": "EQ3",
        "manufacturerURL": "http://www.homematic.com"
      }
    ],
    "zeroconf": [],
    "homekit": {},
    "dependencies": [],
    "codeowners": [
      "@danielperna84",
      "@SukramJ"
    ],
    "iot_class": "local_push",
    "loggers": [
      "hahomematic"
    ],
    "version": "1.19.5",
    "is_built_in": false
  },
  "data": {
    "config": {
      "entry_id": "3bc361bd9d5fe7fbd82f5615b13665c3",
      "version": 1,
      "domain": "homematicip_local",
      "title": "RaspberryMatic",
      "data": {
        "instance_name": "RaspberryMatic",
        "host": "<IP_ADDRESS>",
        "username": "**REDACTED**",
        "password": "**REDACTED**",
        "tls": true,
        "verify_tls": false,
        "callback_host": null,
        "callback_port": null,
        "json_port": null,
        "interface": {
          "HmIP-RF": {
            "port": 42010
          },
          "BidCos-RF": {
            "port": 42001
          }
        }
      },
      "options": {},
      "pref_disable_new_entities": false,
      "pref_disable_polling": false,
      "source": "ssdp",
      "unique_id": "D70992B5A5",
      "disabled_by": null
    },
    "platform_stats": {
      "binary_sensor": 19,
      "climate": 10,
      "cover": 10,
      "select": 1,
      "sensor": 45,
      "switch": 4
    },
    "devices": [
      "HM-CC-RT-DN",
      "HM-ES-PMSw1-Pl",
      "HM-ES-TX-WM",
      "HM-LC-Bl1PBU-FM",
      "HM-LC-Sw1-Pl-CT-R1",
      "HM-PB-2-WM55",
      "HM-Sec-SCo",
      "HM-TC-IT-WM-W-EU",
      "HMIP-PS",
      "HmIP-FALMOT-C12",
      "HmIP-KRC4",
      "HmIP-WTH-2"
    ]
  }
}

Expected behavior
A clear and concise description of what you expected to happen.
HMIP Thermostats (HMIP-WTH-2) should show actual temperature & humidity
Switches should be controllable (HMIP-PS)
Additional context
Add any other context about the problem here.

Open the firewall.
Check the RM logs.
Is it possible to control your HmIP devices with CCU WebUI?

Raspberrymatic should not be the root cause

I disagree:
These are errors reported back from your Raspberrymatic:

TIMEOUT
TRANSACTION_DISCARDED_FOR_UNREACHABLE_DEVICE

Do you have a high CarrierSense Level on RM?

Thanks for your swift response @SukramJ !
I just checked your comments and it seems like you are right.
Before I installed Homematic (IP) Local in Homeassistant this morning, I saw, that a RaspberryMatic update was available. I just installed that and went ahead with the homeassistant integration.
Right now it seems like my RaspberryMatic isn't fully working since the update..... (Learning: Never do two changes a the same time...)
I'll do further investigation and keep you posted after RaspberryMatic works again.
Thanks a lot!

Closing this for now.
Feel free to open a new issue if have ensured that your Backend (CCU/Homegear/...) is working as expected and connected devices are controllable, and the problem still exists.


gcloud - No Active Account Error

What happened:
Release promotion for 1.21.0-alpha.2 had a failure
ERROR: (gcloud.auth.docker-helper) You do not currently have an active account selected.
Please run:
  $ gcloud auth login
to obtain new credentials, or if you have already logged in with a

https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/post-k8sio-image-promo/1354160823739617280
https://github.com/kubernetes/sig-release/issues/1437
What you expected to happen:
Job runs successfully
How to reproduce it (as minimally and precisely as possible):
Appears to be a flake? A re-run worked successfully
Anything else we need to know?:
Environment:

Cloud provider or hardware configuration:
Prow Run - https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/post-k8sio-image-promo/1354160823739617280
OS (e.g: cat /etc/os-release):
Kernel (e.g. uname -a):
Others:

Transferring to kubernetes/test-infra and will retitle

/retitle post-k8sio-image-promo job flaking with gcloud active account error
/remove-wg k8s-infra

/remove-lifecycle stale
This still appears to be an issue.

ref: https://kubernetes.slack.com/archives/CCK68P2Q2/p1625257913214300?thread_ts=1625175618.211200&cid=CCK68P2Q2
I think we should reduce the sensitivity on these alerts, sending emails for a single non-consecutive flake seems excessive.

This may or may not be related to flaking pull-cip-auditor-e2e pre-submit: #332

I haven't seen this happen recently, so closing out for now. Feel free to reopen, if needed.
/close

ref: https://kubernetes.slack.com/archives/CCK68P2Q2/p1625257913214300?thread_ts=1625175618.211200&cid=CCK68P2Q2
I think we should reduce the sensitivity on these alerts, sending emails for a single non-consecutive flake seems excessive.

Tracking here: https://github.com/kubernetes-sigs/promo-tools/issues/448, with a fix here: https://github.com/kubernetes/test-infra/pull/23940