UDeploy Widget always empty

Hi,
I am able to build the UCD collector and run it. In the console, I got messages the "New Apps 4 0s....." which means it was able to connect to UCD server.
But when I configure the widget by selecting an application in UCD, the widget does not show up any data.
The application is run 3 times and has 5 components and 1 environment.
Please let me know what wrong I might be doing in the configuration. Thanks in advance.
I am using UCD <IP_ADDRESS> and latest Hygieia downloaded from GITHUB on 16th Dec 2015.
I observed that in MongoDB, I do not see any collection/table for UCD. I can see feature, scope, builds, code_quality, commits respective to the widgets but nothing for UCD,
For your information, I was unable to connect to MongoDB through Robomongo. Hence I changed the schema version to 3 as per instructions in http://stackoverflow.com/questions/29006887/mongodb-cr-authentication-failed . I am not sure if this had any impact. I had setup Hygieia in September 2015 as well but even then UCD widget was empty, although MongoDB was using Schema version 3.
PLease help. Thanks in advance.

Can you confirm that UCD collector is running and logging any errors. If you find errors, can you paste them here (PLEASE take out any sensitive information from the JSON that you don't want to share such as internal ip, app name, server identities etc.)
If no error and assuming everything else is ok, I would like to see the output of these UCD api:

http://mycompany.ucd.com/rest/deploy/application
this should list all 4 apps you have. Note down the ID of the app that you deployed and note
http://mycompay.ucd.com/rest/deploy/application/app_id/environments/false
this should list the environment(s) that your app is deployed. Note down the env id.
http://mycompay.ucd.com/rest/deploy/environment/env_id/resources
This should list all the resources (agents, components etc) that are attached to the environment along with their inventory (version etc)
http://mycompay.ucd.com/rest/deploy/environment/env_id/noncompliantResources
This should list all the resources that are not compliant with the desired state.

Hi ,
Many thanks for quick response.
There is no error in the collector task console.
I am attaching the output for all four REST calls you have asked for.
I also was worrying because of no table related to UDeploy in MongoDB. Would this have any impact?
Thanks and Regards,
KrishnaKanth B N
From: tabladrum<EMAIL_ADDRESS>Sent: Sunday, December 20, 2015 1:15 AM
To: capitalone/Hygieia
Cc: Krishna Kanth B. N.
Subject: Re: [Hygieia] UDeploy Widget always empty (#245)
Can you confirm that UCD collector is running and logging any errors. If you find errors, can you paste them here (PLEASE take out any sensitive information from the JSON that you don't want to share such as internal ip, app name, server identities etc.)
If no error and assuming everything else is ok, I would like to see the output of these UCD api:

http://mycompany.ucd.com/rest/deploy/application

this should list all 4 apps you have. Note down the ID of the app that you deployed and note
2. http://mycompay.ucd.com/rest/deploy/application/app_id/environments/false
this should list the environment(s) that your app is deployed. Note down the env id.
3. http://mycompay.ucd.com/rest/deploy/environment/env_id/resources
This should list all the resources (agents, components etc) that are attached to the environment along with their inventory (version etc)
4. http://mycompay.ucd.com/rest/deploy/environment/env_id/noncompliantResources
This should list all the resources that are not compliant with the desired state.
—
Reply to this email directly or view it on GitHubhttps://github.com/capitalone/Hygieia/issues/245#issuecomment-166019096.
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are not
to copy, disclose, or distribute this e-mail or its contents to any other person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
every reasonable precaution to minimize this risk, but is not liable for any damage
you may sustain as a result of any virus in this e-mail. You should carry out your
own virus checks before opening the e-mail or attachment. Infosys reserves the
right to monitor and review the content of all messages sent to or from this e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
INFOSYS***** End of Disclaimer *****INFOSYS

How many collectors entries do u have in Mongo
Regards,
Keyur
On Dec 19, 2015, at 10:41 PM, krishnakanthbn <notifications<EMAIL_ADDRESS>wrote:
Hi ,
Many thanks for quick response.
There is no error in the collector task console.
I am attaching the output for all four REST calls you have asked for.
I also was worrying because of no table related to UDeploy in MongoDB. Would this have any impact?
Thanks and Regards,
KrishnaKanth B N
From: tabladrum<EMAIL_ADDRESS>Sent: Sunday, December 20, 2015 1:15 AM
To: capitalone/Hygieia
Cc: Krishna Kanth B. N.
Subject: Re: [Hygieia] UDeploy Widget always empty (#245)
Can you confirm that UCD collector is running and logging any errors. If you find errors, can you paste them here (PLEASE take out any sensitive information from the JSON that you don't want to share such as internal ip, app name, server identities etc.)
If no error and assuming everything else is ok, I would like to see the output of these UCD api:

http://mycompany.ucd.com/rest/deploy/application

this should list all 4 apps you have. Note down the ID of the app that you deployed and note
2. http://mycompay.ucd.com/rest/deploy/application/app_id/environments/false
this should list the environment(s) that your app is deployed. Note down the env id.
3. http://mycompay.ucd.com/rest/deploy/environment/env_id/resources
This should list all the resources (agents, components etc) that are attached to the environment along with their inventory (version etc)
4. http://mycompay.ucd.com/rest/deploy/environment/env_id/noncompliantResources
This should list all the resources that are not compliant with the desired state.
—
Reply to this email directly or view it on GitHubhttps://github.com/capitalone/Hygieia/issues/245#issuecomment-166019096.
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are not
to copy, disclose, or distribute this e-mail or its contents to any other person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
every reasonable precaution to minimize this risk, but is not liable for any damage
you may sustain as a result of any virus in this e-mail. You should carry out your
own virus checks before opening the e-mail or attachment. Infosys reserves the
right to monitor and review the content of all messages sent to or from this e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
INFOSYS***** End of Disclaimer *****INFOSYS
—
Reply to this email directly or view it on GitHubhttps://github.com/capitalone/Hygieia/issues/245#issuecomment-166064537.

Hi,
I have four collectors on Mongo. Below are the details.
/* 1 */
{
"_id" : ObjectId("56750e8043e11b177082dc67"),
"_class" : "com.capitalone.dashboard.model.HudsonCollector",
"buildServers" : [
"http://jenkinsserver:8085/"
],
"name" : "Hudson",
"collectorType" : "Build",
"enabled" : true,
"online" : true,
"lastExecuted" : NumberLong(1450586700119)
}
/* 2 */
{
"_id" : ObjectId("5675239843e11b31989c7015"),
"_class" : "com.capitalone.dashboard.model.SonarCollector",
"sonarServers" : [
"http://sonarqubeserver:9001"
],
"name" : "Sonar",
"collectorType" : "CodeQuality",
"enabled" : true,
"online" : true,
"lastExecuted" : NumberLong(1450586700281)
}
/* 3 */
{
"_id" : ObjectId("5675271c43e11b3830fc558b"),
"_class" : "com.capitalone.dashboard.model.Collector",
"name" : "Subversion",
"collectorType" : "SCM",
"enabled" : true,
"online" : true,
"lastExecuted" : NumberLong(1450586700203)
}
/* 4 */
{
"_id" : ObjectId("5675446843e11b2e4cd93bbe"),
"_class" : "com.capitalone.dashboard.model.UDeployCollector",
"udeployServers" : [
"https://ucdserver:8444"
],
"name" : "UDeploy",
"collectorType" : "Deployment",
"enabled" : true,
"online" : true,
"lastExecuted" : NumberLong(1450586700993)
}
Many thanks for quick response.
Thanks and Regards,
KrishnaKanth B N
From: Keyur Shah<EMAIL_ADDRESS>Sent: Sunday, December 20, 2015 10:25 AM
To: capitalone/Hygieia
Cc: Krishna Kanth B. N.
Subject: Re: [Hygieia] UDeploy Widget always empty (#245)
How many collectors entries do u have in Mongo
Regards,
Keyur
On Dec 19, 2015, at 10:41 PM, krishnakanthbn <notifications@github.com<mailto:notifications@github.commailto:notifications<EMAIL_ADDRESS>wrote:
Hi ,
Many thanks for quick response.
There is no error in the collector task console.
I am attaching the output for all four REST calls you have asked for.
I also was worrying because of no table related to UDeploy in MongoDB. Would this have any impact?
Thanks and Regards,
KrishnaKanth B N
From: tabladrum<EMAIL_ADDRESS>Sent: Sunday, December 20, 2015 1:15 AM
To: capitalone/Hygieia
Cc: Krishna Kanth B. N.
Subject: Re: [Hygieia] UDeploy Widget always empty (#245)
Can you confirm that UCD collector is running and logging any errors. If you find errors, can you paste them here (PLEASE take out any sensitive information from the JSON that you don't want to share such as internal ip, app name, server identities etc.)
If no error and assuming everything else is ok, I would like to see the output of these UCD api:

http://mycompany.ucd.com/rest/deploy/application

this should list all 4 apps you have. Note down the ID of the app that you deployed and note
2. http://mycompay.ucd.com/rest/deploy/application/app_id/environments/false
this should list the environment(s) that your app is deployed. Note down the env id.
3. http://mycompay.ucd.com/rest/deploy/environment/env_id/resources
This should list all the resources (agents, components etc) that are attached to the environment along with their inventory (version etc)
4. http://mycompay.ucd.com/rest/deploy/environment/env_id/noncompliantResources
This should list all the resources that are not compliant with the desired state.
—
Reply to this email directly or view it on GitHubhttps://github.com/capitalone/Hygieia/issues/245#issuecomment-166019096.
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are not
to copy, disclose, or distribute this e-mail or its contents to any other person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
every reasonable precaution to minimize this risk, but is not liable for any damage
you may sustain as a result of any virus in this e-mail. You should carry out your
own virus checks before opening the e-mail or attachment. Infosys reserves the
right to monitor and review the content of all messages sent to or from this e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
INFOSYS***** End of Disclaimer *****INFOSYS
—
Reply to this email directly or view it on GitHubhttps://github.com/capitalone/Hygieia/issues/245#issuecomment-166064537.
—
Reply to this email directly or view it on GitHubhttps://github.com/capitalone/Hygieia/issues/245#issuecomment-166066819.

Dear All,
The data just started showing up on the dashboard now!
Earlier, in the application.properties file, I had given http://ucdserver:8080 (I was facing PKIX certificate handshake issue. So, I thought https may not work with the collector. I imported the certificate into my JVM and With http, it was able to pull applications and it also allowed me to select in widget. So, I thought, it would pull the subsequent details as well.) Now I have changed it to https://ucdserver:8444. It started showing up after 5-10 minutes.
I think this can be closed now. Please advise.

Kudos
Regards,
Keyur
On Dec 19, 2015, at 11:09 PM, krishnakanthbn <notifications<EMAIL_ADDRESS>wrote:
Dear All,
The data just started showing up on the dashboard now!
Earlier, in the application.properties file, I had given http://ucdserver:8080 (I was facing PKIX certificate handshake issue. So, I thought https may not work with the collector. I imported the certificate into my JVM and With http, it was able to pull applications and it also allowed me to select in widget. So, I thought, it would pull the subsequent details as well.) Now I have changed it to https://ucdserver:8444. It started showing up after 5-10 minutes.
I think this can be closed now. Please advise.
—
Reply to this email directly or view it on GitHubhttps://github.com/capitalone/Hygieia/issues/245#issuecomment-166067962.

Seems the issue is resolved now.


v1.0.0 - Proposed nodes interface and syntax

Motivations :
The nodes system of the Inoft Vocal Engine has recently been remade. Now everything is structured in nodes, where a node can both have static parameters, and also have child nodes, which in turn can have child nodes and parameters.
The code generated by the nodes and their child's nodes could be separate lines of code with no immediate dependency between them. (see image above)
In order to allow the users of the engine to be able to modify the code of their applications or games by hand, and have it been converted to the nodes data immediately (the nodes in the editor, and in the code are "synchronized", no matter if you change one or the other), we introduced a nodes markup system in order to separate the different nodes, and recognize which nodes is a child of which nodes.
The syntax was structured the following way :
# startNode type=audio-block-node id=d77d8c84-010c-44d3-ab47-ee6ca05f687e
audio_block = AudioBlock()
# startNode type=audio-track id=4244273e-5d13-42b9-9c08-d0d3c9f8b1f6
track1 = audio_block.create_track(primary=True)
# endNode
# endNode

A #startNode comment accompanied by the type of node and its id. Then at the end of the code generated of the node, we have a #endNode balise. If we have a new #startNode inside an open node, the newly opened node is treated as a child node of its parent node.
Even though it works, and it's not totally stupid, the code generated by the engine quickly become way more complex and less readable than using the framework by hand, without requiring the nodes markup system, which was the way the framework was made and intended to be used, since the start of its development in November 2019.
Consider the following syntax for an AudioBlock :
'Natural' framework syntax (not readable by the Engine) :
audio_block = AudioBlock()
track1 = audio_block.create_track(primary=True)
sound = track1.create_sound(
    file_url="fileUrlValue",
    start="staticParentNodeId" + 10
)

Framework syntax generated and readable by the Engine :
# startNode type=audio-block-node id=d77d8c84-010c-44d3-ab47-ee6ca05f687e
audio_block = AudioBlock()
# startNode type=audio-track id=4244273e-5d13-42b9-9c08-d0d3c9f8b1f6
track1 = audio_block.create_track(primary=True)
# startNode type=playAudioFile id=e79fcffb-d006-4f0e-bac6-6b17348a06b6
sound = track1.create_sound(
    file_url="fileUrlValue",
    start="staticParentNodeId" + 10
)
# endNode
# endNode
# endNode

In benefit to the increased complexity and reduced code readability that the nodes markup system brings, it can also brings annoying variable overrides. Since the code of all nodes might exist in parallel and execute in the same block, but the nodes themselves do not keep track of the others nodes when they are generating their code, we could easily end up with two nodes overriding one another. It would be easy to avoid with the root nodes of a scene in the engine, but keeping track of all root nodes, their child nodes, their connections and how they interact with each other, is of course possible, but could become hard to maintain.
With all those issues popping up by both with the nodes markup system, and the "natural" syntax of the framework, we propose a new syntax that is yes, less natural, but is closer to the way the Inoft Vocal Engine works and represent its data.
Proposed new syntax :
audio_block = AudioBlockNode(id="d77d8c84-010c-44d3-ab47-ee6ca05f687e", tracks=[
    AudioTrackNode(id="4244273e-5d13-42b9-9c08-d0d3c9f8b1f6", childs=[
        PlayAudioFileNode(id="e79fcffb-d006-4f0e-bac6-6b17348a06b6", file_url="example.com", start_time={}),
        AudioSpeechNode(id="8052c916-d691-4976-854d-52bc34791210", text="Hello my dear friend", voice=VOICES.Joanna)
    ]
]))
# In order to access the child nodes, the list of childNodes is transformed into a dictionary
audio_block.tracks["4244273e-5d13-42b9-9c08-d0d3c9f8b1f6"].childs.["e79fcffb-d006-4f0e-bac6-6b17348a06b6"].change_volume(0.5)

Open to debate.

Abandoned. The old clearer syntax is being keep. The engine will not allow the parsing of code to nodes. If an user decides to write some custom code, it will be fully extendable, but not editable or convertible to nodes.

Abandoned. The old clearer syntax is being keep. The engine will not allow the parsing of code to nodes. If an user decides to write some custom code, it will be fully extendable, but not editable or convertible to nodes.


I'm trying to give a gobfin level 4 partner skill but I'm unable

There is a set rank option which I choose 4 and tick the preset changes rank button but it does nothing in game

Change the rank options on the actual pal and not the preset. It's the big dropdown below HP IV%


Getting SavedModel format from Checkpoint automatically

Please make sure that this is a feature request. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:feature_template
System information

TensorFlow version (you are using):2.1.0
Are you willing to contribute it (Yes/No):Yes

Describe the feature and the current behavior/state. None
Will this change the current api? How? Add a method to the savedModel API for getting savedModel from checkpoint directly.
Who will benefit with this feature? Everyone who is facing trouble converting to a SavedModel from a checkpoint graph
Any Other info.
I've faced this challenge

What do you mean by "checkpoint graph"? A GraphDef and a training checkpoint?

@allenlavoie Yes, precisely. My feature request stems from this issues I've been facing in getting to a SavedModel given that I have a training checkpoint with all my weights, for eg:
'ssd_inception_v2_coco':
    Model(
        'ssd_inception_v2_coco',
        'http://download.tensorflow.org/models/object_detection/ssd_inception_v2_coco_2018_01_28.tar.gz',
        'ssd_inception_v2_coco_2018_01_28',
    )

The challenge I've been facing is in getting from a training checkpoint and a GraphDef to a saved_model which is a wrapping around a frozen graph with signatures and a variables folder where it maintains the trained weights.
Something of this form: https://gist.github.com/zhanwenchen/d628ef70e9f76525fd47d6213c30730d where I can just specify to the builder API my checkpoint and it can figure out what signatures to use or how to export based on the checkpoint.

So the GraphDef here is already frozen?

Can you explain what the difference would mean? I'm not sure what difference would occur from a frozen graph def or otherwise.

If the GraphDef is frozen, it doesn't refer to a training checkpoint anymore. It just has one set of values for the variables hard-coded. Making a SavedModel from an un-frozen GraphDef that has pointers to variables plus a training checkpoint is easy, but making a SavedModel from a frozen GraphDef and a new training checkpoint isn't really feasible.

No, my concern was more in the first direction. Let's say I have a training checkpoint and a frozen graph.pb file, getting to a Saved_model should be something that we should be able to allow directly. From what I've understood, I have to get the GraphDef from the frozen graph and then load the checkpoint. Once I'm here, I have to apply the right input and output placeholders and the signature and this is something that has to be chosen for this. That is what I want to provide. Can you provide some guidance to some docs for the relationship between a training checkpoint and a Saved_Model?

Frozen GraphDefs don't really fit into SavedModels. Un-frozen GraphDefs reference a training checkpoint, which a SavedModel has.
For non-frozen GraphDefs you can load (into Python) and re-save as a SavedModel along with a training checkpoint. For frozen GraphDefs this won't work, and I don't know of any efforts in that direction.

@allenlavoie Thanks for the clarification. What you're saying basically means that we have no way to get a trained Saved_model from a frozen GraphDef and a training checkpoint because the information about the graph is lost on freezing it. Would the only way around this be to get an untrained saved_model from the graph def and then retrain it to target accuracy?

I'm sure you could extract the values of the constants in the GraphDef with Session.run and then assign them to variables, but that's a manual process. Retraining works too.


No Devices and No Entities listed in MQTT

I don't have any of my car entries listed in MQTT.  I've uninstalled and reinstalled both MQTT and the FiatChamp add-ons.  I don't see any error messages in the logs.  I've "tested" MQTT which appears to work.
My MQTT log shows:
2023-05-18 12:09:11: Received PINGREQ from FiatChamp
2023-05-18 12:09:11: Sending PINGRESP to FiatChamp
2023-05-18 12:09:26: Received PINGREQ from FiatChamp
2023-05-18 12:09:26: Sending PINGRESP to FiatChamp
2023-05-18 12:09:42: Received PINGREQ from FiatChamp
2023-05-18 12:09:42: Sending PINGRESP to FiatChamp
2023-05-18 12:09:57: Received PINGREQ from FiatChamp
2023-05-18 12:09:57: Sending PINGRESP to FiatChamp
My FiatChamp log shows:
[12:12:00 DBG] {
"id_token": "xxxxxx,
"CallId": "xxxxxx",
"ErrorCode": 0,
"ErrorDetails": null,
"ErrorMessage": null,
"ApiVersion": 2,
"StatusCode": 200,
"StatusReason": "OK",
"Time": "2023-05-18T16:11:58.353+00:00"
}
There's nothing that appears as far as I can tell in the HA log.
Home Assistant 2023.5.3
Supervisor 2023.04.1
Operating System 10.1
Frontend 20230503.3 - latest
Am I missing something?

Same for me:
Running FiatChamp within a standalone docker container its debug log says
[06:24:42 INF] Now fetching new data...
[06:24:42 INF] Mqtt connection successful
[06:24:44 DBG] {
  "CallId": "4311f5d2826f4fd5a214b13e13404111",
  "ErrorCode": 0,
  "ErrorDetails": null,
  "ErrorMessage": null,
  "ApiVersion": 2,
  "StatusCode": 200,
  "StatusReason": "OK",
  "Time": "2023-09-14T06:24:43.912+00:00"
}
...

and it shows the cars actual values (SOC, etc.) inside its debug log.
But the (iobroker) MQTT server instance just reports
mqtt.0 2023-09-14 07:47:52.087	info	Client [FiatChamp] connected with secret<PHONE_NUMBER>124_4567
mqtt.0 2023-09-14 07:47:52.088	debug	Client [FiatChamp] with keepalive 15 set timeout to 22.5 seconds
mqtt.0 2023-09-14 07:47:52.092	debug	stateChange mqtt.0.info.connection: {"val":"FiatChamp","ack":true,"ts":1694670472090,"q":0,"from":"system.adapter.mqtt.0","user":"system.user.admin","lc":1694670472090}
mqtt.0 2023-09-14 07:48:07.356	debug	Client [FiatChamp] pingreq
mqtt.0 2023-09-14 07:48:22.556	debug	Client [FiatChamp] pingreq
...

and shows absolutely no topics of FiatChamp
.
Any hint how to get the cars values at MQTT?

Same here. Nothing happens in MQTT while the debug shows all the correct data. Any ideas?


[Improvement]: Integrate mapping semtype into jBallerina type engine

Description
$subject.

There is an inconsistency when resolving the type Cloneable readonly|xml|Cloneable[]|map<Cloneable>|table<map<Cloneable>>; type. Although it is expected Cloneable[] and map<Cloneable>to be similar the current BddNode structure for them is different, hence causing an NPE at BIRTypeWriter. Looking into it.

The problem was here where we only consider the atom index in the visited atoms. Since it is possible for list, mapping and function atoms to have same index, we need to consider the atom type as well in addition to the index.
https://github.com/ballerina-platform/ballerina-lang/blob/1b92937648037da088c34e750e0600a96fc8330d/compiler/ballerina-lang/src/main/java/org/wso2/ballerinalang/compiler/bir/writer/BIRTypeWriter.java#L696

Having semtype for BMapType is completed. However, when added semtype for BRecordType, query lang lib failed due to a wrong type-checking.
The following type being both source and target fails at semtype type checker.
(ballerina/lang.query:0.0.0:Type[]|map<ballerina/lang.query:0.0.0:Type>|
record {| anydata...; |}|string|xml|table<map<ballerina/lang.query:0.0.0:Type>>|
stream<ballerina/lang.query:0.0.0:Type,ballerina/lang.query:0.0.0:CompletionType>|
ballerina/lang.query:0.0.0:_Iterable)

The two semtypes generated for source and target have the following diff.

In the semtype type checker, they are not recognized as the same type.

Problem is particularly with map<ballerina/lang.query:0.0.0:Type>|record {| anydata...; |} union. When semtypes of the individual members are checked, they have the correct subtyping relationship. However, when we take the union and then check the subtyping it fails.

The reason for the above invalid subtyping relation turned out to be a bug in the implementation. #42787
Not causing due to a bug in integration.

After fixing #42787 langlib got compiled. However, there were two failures in jBallerina unit tests.

type M map<never>;

// @type N = M
type N record {| never i?; never...; |};

This was failing because in nBallerina we do not allow non-rest fields to be declared with type never. With a small tweak in semtype resolving this got passed.

type Student record {
    readonly string name;
    int id;
};

type Teacher record {
    string name;
    int id;
};

type StudentTable table<Student> key(name);

type TeacherTable table<Teacher>;

function testTableEquality() {
    table<Student> key(name) tbl1 = table [
            {name: "Amy", id: 1234},
            {name: "John", id: 4567}
        ];
    var ids = checkpanic table key(id) from var {id} in tbl1 select {id};
    table<record {| readonly int id; |}> key(id) tbl6 = ids; // [1]
}

type checking fails at 2 for the same table type. The issue is with the record constraint type checking. Looking into it now.

The issue for 2. is we mutate the flags to include Readonly later at,
https://github.com/ballerina-platform/ballerina-lang/blob/a52b520baa829a70b71d48336cec788fbc2e7b52/compiler/ballerina-lang/src/main/java/org/wso2/ballerinalang/compiler/semantics/analyzer/QueryTypeChecker.java#L520
In the cached semtype readonly information is not present.

After fixing the above two issues, now down to the following single test failure.
public type BddMemo record {|
    readonly Bdd bdd;
    boolean? isEmpty = ();
|};

public type Bdd Node|boolean;

public type Node readonly & record {|
    int atom;
    Bdd left;
    Bdd middle;
    Bdd right;
|};

public function main() {
    Node c = {
        atom: 0,
        left: true,
        middle: true,
        right: false
    };
    BddMemo d = {isEmpty: false, bdd: c}; // Gives incompatible types: expected 'Bdd', found 'Node'
}

The above is becuase at the BunionType creation we call isNullable() and at that time fields are not present. After fields get added, the cached MappingDefinition md does not get recalcuated.

We have this Level 6 failure for module-ballerinai-transaction where it goes out of memory when loading a few modules via bir. bb086a9 seems to have created the issue. Investigating into it.

It turned out that OOM is not related to this PR. A separate issue #42924 has been created.

Closing with #42777


Language field is not populated on user settings page

In the/user/profile page, the language field is not populated. The value is updated correctly I mean I can change the language, it's just the form that is broken. Probably a 1min. fix...

This was already fixed (commit 942127f), but there hasn't been a stable release since.


Fixes

Codecov Report

Merging #1 into master will increase coverage by 0.48%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master      #1      +/-   ##
=========================================
+ Coverage   87.01%   87.5%   +0.48%
=========================================
  Files           3       3
  Lines          77      80       +3
=========================================
+ Hits           67      70       +3
  Misses          6       6
  Partials        4       4

Impacted Files
Coverage Δ

tarfs.go
90.16% <100%> (+0.5%)
:white_check_mark:

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 10c0324...7047a60. Read the comment docs.


support for german language

Terminus is not able to print out letters like 'ä', 'ö' or 'ü'. I am getting this error message:

This is an error in your Python application, not Terminus.


Feature: URL for Empty Panel

What happened?
Hey Diogo. Love the package. In a recent project, I modified it so that I could give me customer the ability to update the image and add an optional URL to the empty panel - helpful for them to add marketing images with links.
How to reproduce the bug
If you think it would be helpful, I'd be happy to submit a PR to make it an optional feature of the package?
Package Version
2
PHP Version
8.2
Laravel Version
11
Which operating systems does with happen with?
No response
Notes
No response

Apologies for selecting bug for this, the url for feature is broken!

Hey @johntrickett86
Thank you so much for your feedback and enhancement proposal! It's (really) greatly appreciated.
All PRs are very welcome 🤘🏻
Regarding your enhancement, I'm having trouble understanding the following:

In a recent project, I modified it so that I could give me customer the ability to update the image and add an optional URL to the empty panel - helpful for them to add marketing images with links.

I don't understand what exactly you mean. Currently you can already update the image for the empty panel - when you say customer, you mean logged in user? If so, when he's logged out, how can he see the image if no auth is established? Or is it one panel per user?
If you could clarify I would greatly appreciate!
Thank you for your kind words John, I'm here if you need anything!

Hi @diogogpinto,
This is around making the image clickable with a URL. So in my project I have this on a settings page:

If a URL is provided, it wraps the empty panel image in a href tag to open the url in a new window. If this is something you think would be useful for others, I would suggest submitted a PR that allows the following methods:
AuthUIEnhancerPlugin::make()
->emptyPanelClickableUrl('https://www.filamentphp.com/') // if empty then no URL applied
->openUrlInNewTab(false) // default which could be change to true
I have it working in my project and it's a nice touch - it's a client portal so it's customer facing. This allows me the ability to let the marketing team control the image and url so they can target customers.

@diogogpinto Yes it makes it much easier having this all in a single method.
I think it is possibly overkill - my logic would be that if the URL was fixed, I would expect the developer to have tests to ensure the URL is valid. If you put the URL in the hands of your users (like in my case), the URL validation happens in the form.
Let me know if you think there is an angle I've missed with that though, happy to include it if you feel it is necessary.


other people dont see

Cosmetx is a legal mod you'll need to have a look for a server sided cosmetics mod. (I wouldn't recommend it as you could get banned.)


Articles

Motivation
Which issue does this fix? Fixes #issue number
If no issue exists, what is the fix or new feature? Were there any reasons to fix/implement things that are not obvious?
Checklist

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

How to test
If manual testing is required, what are the steps?

The failing pipelines have wrong env variables so no need to worry.


[BUG] rancher-webhook does not run with high-availability

Rancher Server Setup

Rancher version: 2.7.5
Installation option (Docker install/Helm Chart):

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc):

Proxy/Cert Details:

Information about the Cluster

Kubernetes version: v1.27.6+rke2r1
Cluster Type (Local/Downstream): RKE2

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider):

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom)

If custom, define the set of permissions:

Describe the bug

The rancher-webhook deployment only runs a single replica. To ensure high-availability of the component it should run with multiple replicas spread with pod-anti affinity & topology spread constraints.
In cases where the pod cannot be scheduled, or the availability zone (aws) where the pod is running is having issues it will impact the overall availability of rancher.
To Reproduce

Result
rancher-webhook currently runs as a single replica.
Expected Result

rancher-webhook deployment should be running with multiple replicas, pod anti-affinity, and topology spread constraints. Preferably all configurable via the primary rancher helm chart.
Screenshots

Additional context

+1 I'm really surprised there hasn't been more of an uproar about this.  Any time the (single) rancher-webhook Pod gets evicted due to a Spot instance being reclaimed or something, the whole cluster goes haywire because the rancher-webhook admission webhook is configured (by Rancher) with failurePolicy: Fail, so any time rancher-webhook is unavailable, the whole API server breaks down.

+1


Brand new install - getting error "invalid character"

Hello, I'm trying this out for the first time.  I've followed the instructions, I have a new cluster just setup today, and I've put together these steps for the whole process on a brand new cluster.
    # Install these

    kubectl create -f https://raw.githubusercontent.com/Azure/kubernetes-keyvault-flexvol/master/deployment/kv-flexvol-installer.yaml
    kubectl create -f https://raw.githubusercontent.com/Azure/aad-pod-identity/master/deploy/infra/deployment-rbac.yaml

    # Add the existing identity with access to the keyvaults
    apiVersion: "aadpodidentity.k8s.io/v1"
    kind: AzureIdentity
    metadata:
     name: 0afbc123-3-eus2-uai
    spec:
     type: 0
     ResourceID: /subscriptions/11111111-1111-1111-1111-111111111111/resourcegroups/ManagedServiceIdentity-Stage-Eus2-Rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/0afbc123-3-eus2-uai
     ClientID: 22222222-2222-2222-2222-222222222222

    # adding 0afbc123 as a binding
    apiVersion: "aadpodidentity.k8s.io/v1"
    kind: AzureIdentityBinding
    metadata:
     name: 0afbc123-3-eus2-uai-binding
    spec:
     AzureIdentity: 0afbc123-3-eus2-uai
     Selector: 0afbc123-3-eus2-uai-selector

    # add a deployment that uses this stuff
    apiVersion: v1
    kind: Pod
    metadata:
      labels:
        app: nginx-flex-kv-podid
        aadpodidbinding: "0afbc123-3-eus2-uai-selector"
      name: nginx-flex-kv-podid
    spec:
      containers:
      - name: nginx-flex-kv-podid
        image: nginx
        volumeMounts:
        - name: test
          mountPath: /kvmnt
          readOnly: true
      volumes:
      - name: test
        flexVolume:
          driver: "azure/kv"
          options:
            usepodidentity: "true"
            keyvaultname: "thetestkeyvault"
            keyvaultobjectnames: "TEST"
            keyvaultobjecttypes: secret
            resourcegroup: "TestKeyVault-Rg"
            subscriptionid: "11111111-1111-1111-1111-111111111111"
            tenantid: "33333333-3333-3333-3333-333333333333"

After I run this, the nginx pod won't start up, doing a describe shows this error:
    MountVolume.SetUp failed for volume "test" : invalid character 'I' looking for beginning of value

My identity 0afbc123-3-eus2-uai does have Reader on the thetestkeyvault, as well as the secrets/certs/keys - get/list permissions
Here's my describe on the pod:
    root@facfdb90317b:/data# kubectl describe pods/nginx-flex-kv-podid
    Name:         nginx-flex-kv-podid
    Namespace:    default
    Node:         aks-default-15419034-0/<IP_ADDRESS>
    Start Time:   Fri, 15 Feb 2019 02:35:09 +0000
    Labels:       aadpodidbinding=0afbc123-3-eus2-uai-selector
                  app=nginx-flex-kv-podid
    Annotations:  <none>
    Status:       Pending
    IP:
    Containers:
      nginx-flex-kv-podid:
        Container ID:
        Image:          nginx
        Image ID:
        Port:           <none>
        Host Port:      <none>
        State:          Waiting
          Reason:       ContainerCreating
        Ready:          False
        Restart Count:  0
        Environment:
          KUBERNETES_PORT_443_TCP_ADDR:  mycontainer.hcp.eastus2.azmk8s.io
          KUBERNETES_PORT:               tcp://mycontainer.hcp.eastus2.azmk8s.io:443
          KUBERNETES_PORT_443_TCP:       tcp://mycontainer.hcp.eastus2.azmk8s.io:443
          KUBERNETES_SERVICE_HOST:       mycontainer.hcp.eastus2.azmk8s.io
        Mounts:
          /kvmnt from test (ro)
          /var/run/secrets/kubernetes.io/serviceaccount from default-token-sxp96 (ro)
    Conditions:
      Type           Status
      Initialized    True
      Ready          False
      PodScheduled   True
    Volumes:
      test:
        Type:       FlexVolume (a generic volume resource that is provisioned/attached using an exec based plugin)
        Driver:     azure/kv
        FSType:
        SecretRef:  nil
        ReadOnly:   false
        Options:    map[keyvaultobjecttypes:secret resourcegroup:TestKeyVault-Rg subscriptionid:11111111-1111-1111-1111-111111111111 tenantid:22222222-2222-2222-2222-222222222222 usepodidentity:true keyvaultname:thetestkeyvault keyvaultobjectnames:TEST]
      default-token-sxp96:
        Type:        Secret (a volume populated by a Secret)
        SecretName:  default-token-sxp96
        Optional:    false
    QoS Class:       BestEffort
    Node-Selectors:  <none>
    Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
                     node.kubernetes.io/unreachable:NoExecute for 300s
    Events:
      Type     Reason                 Age                From                             Message
      ----     ------                 ----               ----                             -------
      Normal   Scheduled              53s                default-scheduler                Successfully assigned nginx-flex-kv-podid to aks-default-15419034-0
      Normal   SuccessfulMountVolume  52s                kubelet, aks-default-15419034-0  MountVolume.SetUp succeeded for volume "default-token-sxp96"
      Warning  FailedMount            20s (x7 over 52s)  kubelet, aks-default-15419034-0  MountVolume.SetUp failed for volume "test" : invalid character 'I' looking for beginning of value

Thanks!

Here's the log from the node:
    $ tail -f /var/log/kv-driver.log

    Fri Feb 15 03:28:12 UTC 2019 mount
    Fri Feb 15 03:28:12 UTC 2019 /etc/kubernetes/volumeplugins/azure~kv/azurekeyvault-flexvolume -logtostderr=1 -vaultName=thetestkeyvault -vaultObjectNames=TEST -resourceGroup=TestKeyVault-Rg -dir=/var/lib/kubelet/pods/5042e81c-30ca-11e9-a56b-3af4beca0834/volumes/azure~kv/test -subscriptionId=11111111-1111-1111-1111-111111111111 -cloudName= -tenantId=22222222-2222-2222-2222-222222222222 -aADClientSecret= -aADClientID= -usePodIdentity=true -podNamespace=default -podName=nginx-flex-kv-podid -vaultObjectVersions= -vaultObjectTypes=secret
    Fri Feb 15 03:28:16 UTC 2019 umount
    Fri Feb 15 03:28:16 UTC 2019 ERROR: {"status": "Failure", "message": "/etc/kubernetes/volumeplugins/azure~kv/azurekeyvault-flexvolume failed, Fri Feb 15 03:28:12 UTC 2019 /etc/kubernetes/volumeplugins/azure~kv/azurekeyvault-flexvolume -logtostderr=1 -vaultName=thetestkeyvault -vaultObjectNames=TEST -resourceGroup=TestKeyVault-Rg -dir=/var/lib/kubelet/pods/5042e81c-30ca-11e9-a56b-3af4beca0834/volumes/azure~kv/test -subscriptionId=11111111-1111-1111-1111-111111111111 -cloudName= -tenantId=22222222-2222-2222-2222-222222222222 -aADClientSecret= -aADClientID= -usePodIdentity=true -podNamespace=default -podName=nginx-flex-kv-podid -vaultObjectVersions= -vaultObjectTypes=secret "}
    Fri Feb 15 03:30:18 UTC 2019 ismounted | not mounted
    Fri Feb 15 03:30:18 UTC 2019 PODNAME: nginx-flex-kv-podid
    Fri Feb 15 03:30:18 UTC 2019 mount
    Fri Feb 15 03:30:18 UTC 2019 /etc/kubernetes/volumeplugins/azure~kv/azurekeyvault-flexvolume -logtostderr=1 -vaultName=thetestkeyvault -vaultObjectNames=TEST -resourceGroup=TestKeyVault-Rg -dir=/var/lib/kubelet/pods/5042e81c-30ca-11e9-a56b-3af4beca0834/volumes/azure~kv/test -subscriptionId=11111111-1111-1111-1111-111111111111 -cloudName= -tenantId=22222222-2222-2222-2222-222222222222 -aADClientSecret= -aADClientID= -usePodIdentity=true -podNamespace=default -podName=nginx-flex-kv-podid -vaultObjectVersions= -vaultObjectTypes=secret
    Fri Feb 15 03:30:38 UTC 2019 umount
    Fri Feb 15 03:30:38 UTC 2019 ERROR: {"status": "Failure", "message": "/etc/kubernetes/volumeplugins/azure~kv/azurekeyvault-flexvolume failed, Fri Feb 15 03:30:18 UTC 2019 /etc/kubernetes/volumeplugins/azure~kv/azurekeyvault-flexvolume -logtostderr=1 -vaultName=thetestkeyvault -vaultObjectNames=TEST -resourceGroup=TestKeyVault-Rg -dir=/var/lib/kubelet/pods/5042e81c-30ca-11e9-a56b-3af4beca0834/volumes/azure~kv/test -subscriptionId=11111111-1111-1111-1111-111111111111 -cloudName= -tenantId=22222222-2222-2222-2222-222222222222 -aADClientSecret= -aADClientID= -usePodIdentity=true -podNamespace=default -podName=nginx-flex-kv-podid -vaultObjectVersions= -vaultObjectTypes=secret "}
    Fri Feb 15 03:32:40 UTC 2019 ismounted | not mounted
    Fri Feb 15 03:32:40 UTC 2019 PODNAME: nginx-flex-kv-podid
    Fri Feb 15 03:32:40 UTC 2019 mount
    Fri Feb 15 03:32:40 UTC 2019 /etc/kubernetes/volumeplugins/azure~kv/azurekeyvault-flexvolume -logtostderr=1 -vaultName=thetestkeyvault -vaultObjectNames=TEST -resourceGroup=TestKeyVault-Rg -dir=/var/lib/kubelet/pods/5042e81c-30ca-11e9-a56b-3af4beca0834/volumes/azure~kv/test -subscriptionId=11111111-1111-1111-1111-111111111111 -cloudName= -tenantId=22222222-2222-2222-2222-222222222222 -aADClientSecret= -aADClientID= -usePodIdentity=true -podNamespace=default -podName=nginx-flex-kv-podid -vaultObjectVersions= -vaultObjectTypes=secret
    Fri Feb 15 03:32:41 UTC 2019 umount
    Fri Feb 15 03:32:41 UTC 2019 ERROR: {"status": "Failure", "message": "/etc/kubernetes/volumeplugins/azure~kv/azurekeyvault-flexvolume failed, Fri Feb 15 03:32:40 UTC 2019 /etc/kubernetes/volumeplugins/azure~kv/azurekeyvault-flexvolume -logtostderr=1 -vaultName=thetestkeyvault -vaultObjectNames=TEST -resourceGroup=TestKeyVault-Rg -dir=/var/lib/kubelet/pods/5042e81c-30ca-11e9-a56b-3af4beca0834/volumes/azure~kv/test -subscriptionId=11111111-1111-1111-1111-111111111111 -cloudName= -tenantId=22222222-2222-2222-2222-222222222222 -aADClientSecret= -aADClientID= -usePodIdentity=true -podNamespace=default -podName=nginx-flex-kv-podid -vaultObjectVersions= -vaultObjectTypes=secret "}
    Fri Feb 15 03:34:43 UTC 2019 ismounted | not mounted
    Fri Feb 15 03:34:43 UTC 2019 PODNAME: nginx-flex-kv-podid
    Fri Feb 15 03:34:43 UTC 2019 mount
    Fri Feb 15 03:34:43 UTC 2019 /etc/kubernetes/volumeplugins/azure~kv/azurekeyvault-flexvolume -logtostderr=1 -vaultName=thetestkeyvault -vaultObjectNames=TEST -resourceGroup=TestKeyVault-Rg -dir=/var/lib/kubelet/pods/5042e81c-30ca-11e9-a56b-3af4beca0834/volumes/azure~kv/test -subscriptionId=11111111-1111-1111-1111-111111111111 -cloudName= -tenantId=22222222-2222-2222-2222-222222222222 -aADClientSecret= -aADClientID= -usePodIdentity=true -podNamespace=default -podName=nginx-flex-kv-podid -vaultObjectVersions= -vaultObjectTypes=secret
    Fri Feb 15 03:34:43 UTC 2019 umount
    Fri Feb 15 03:34:43 UTC 2019 ERROR: {"status": "Failure", "message": "/etc/kubernetes/volumeplugins/azure~kv/azurekeyvault-flexvolume failed, Fri Feb 15 03:34:43 UTC 2019 /etc/kubernetes/volumeplugins/azure~kv/azurekeyvault-flexvolume -logtostderr=1 -vaultName=thetestkeyvault -vaultObjectNames=TEST -resourceGroup=TestKeyVault-Rg -dir=/var/lib/kubelet/pods/5042e81c-30ca-11e9-a56b-3af4beca0834/volumes/azure~kv/test -subscriptionId=11111111-1111-1111-1111-111111111111 -cloudName= -tenantId=22222222-2222-2222-2222-222222222222 -aADClientSecret= -aADClientID= -usePodIdentity=true -podNamespace=default -podName=nginx-flex-kv-podid -vaultObjectVersions= -vaultObjectTypes=secret "}
    Fri Feb 15 03:36:45 UTC 2019 ismounted | not mounted
    Fri Feb 15 03:36:45 UTC 2019 PODNAME: nginx-flex-kv-podid

@dbilleci-lightstream Can you please provide the logs from the mic pod and the nmi pod running on the same host as your pod? aks-default-15419034-0
Another thing to check is if your identity is created in a different resource group as that of the AKS nodes (prefixed with 'MC_' ) then make sure you run the following to ensure your AKS service principal has the managed identity role to assign permissions to your azure identity 0afbc123-3-eus2-uai
az role assignment create --role "Managed Identity Operator" --assignee <sp id> --scope <full id of the managed identity> For more details, refer to: https://github.com/Azure/aad-pod-identity#providing-required-permissions-for-mic

Hi @ritazh thank you for your reply.  Yes, the identity for the K8s cluster is not part of the MC_ group.  I checked the logs on the mic pod and saw the error saying that the SPN did not have authorization to write userAction to the identity as you predicted.
I0215 16:27:42.096947       1 event.go:218] Event(v1.ObjectReference{Kind:"AzureIdentityBinding", Namespace:"default", Name:"0afbc123-3-eus2-uai-binding", UID:"317e14d2-30bc-11e9-a56b-3af4beca0834", APIVersion:"aadpodidentity.k8s.io/v1", ResourceVersion:"1160", FieldPath:""}): type: 'Warning' reason: 'binding apply error' Applying binding 0afbc123-3-eus2-uai-binding node aks-default-15419034-0 for pod nginx-flex-kv-podid-default-0afbc123-3-eus2-uai resulted in error compute.VirtualMachinesClient#CreateOrUpdate: Failure sending request: StatusCode=403 -- Original Error: Code="LinkedAuthorizationFailed" Message="The client 'abcdabcd-aaaa-bbbb-cccc-ddddeeeeffff' with object id 'abcdabcd-aaaa-bbbb-cccc-ddddeeeeffff' has permission to perform action 'Microsoft.Compute/virtualMachines/write' on scope '/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/MC_Backend-X-Stage-Eus2-Rg_Backend-X-Stage-Eus2-Aks_eastus2/providers/Microsoft.Compute/virtualMachines/aks-default-15419034-0'; however, it does not have permission to perform action 'Microsoft.ManagedIdentity/userAssignedIdentities/assign/action' on the linked scope(s) '/subscriptions/11111111-1111-1111-1111-111111111111/resourcegroups/ManagedServiceIdentity-Stage-Eus2-Rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/0afbc123-3-eus2-uai'."

The reason I missed this step is that the README says this about installing aad-pod-identity:
"Deploy pod identity components to your cluster Follow *these steps* to install pod identity."

However not all steps are needed, and it is difficult to decide at what point to stop when you are new to the project.  I would suggest we update the documentation there.  I can help with a PR for this!
Next, I added the "Managed Identity Operator" permission to the K8s SPN, but the error message did not change at all.
$ az role assignment create --role "Managed Identity Operator" --assignee abcdabcd-aaaa-bbbb-cccc-ddddeeeeffff --scope /subscriptions/11111111-1111-1111-1111-111111111111/resourcegroups/ManagedServiceIdentity-Stage-Eus2-Rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/0afbc123-3-eus2-uai
{
  "canDelegate": null,
  "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourcegroups/ManagedServiceIdentity-Stage-Eus2-Rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/0afbc123-3-eus2-uai/providers/Microsoft.Authorization/roleAssignments/7eca8214-bca1-4dea-99e3-f750fc04d21f",
  "name": "7eca8214-bca1-4dea-99e3-f750fc04d21f",
  "principalId": "abcdabcd-aaaa-bbbb-cccc-ddddeeeeffff",
  "resourceGroup": "ManagedServiceIdentity-Stage-Eus2-Rg",
  "roleDefinitionId": "/subscriptions/11111111-1111-1111-1111-111111111111/providers/Microsoft.Authorization/roleDefinitions/f1a07417-d97a-45cb-824c-7a7467783830",
  "scope": "/subscriptions/11111111-1111-1111-1111-111111111111/resourcegroups/ManagedServiceIdentity-Stage-Eus2-Rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/0afbc123-3-eus2-uai",
  "type": "Microsoft.Authorization/roleAssignments"
}

I'm going to try and destroy everything and start from scratch again, I want to make sure this process works from the ground up each time as it will be deployed many times for us.
Do you know the reason why I would still be getting the error message even after adding the permission?  I would think the change would be immediate?  I'll post my results of the next attempt as well.
Thank you!

@dbilleci-lightstream

I would suggest we update the documentation there. I can help with a PR for this!

Yes this step should definitely be mentioned in the README. PRs are definitely welcome! 👍 If you have more issues on pod identity and if you are looking for more detailed steps, you can also checkout the pod identity repo: https://github.com/Azure/aad-pod-identity.

why I would still be getting the error message even after adding the permission

I have seen the permission assignment takes few minutes to kick in. You might also want to redeploy all the pod identity components just to be safe. One way to verify that the pod identity is working is to ensure the identity has been assigned to your node after you deployed the pod. Here is what it looks like from the Azure portal:

It worked on the new cluster I spun up!  I waited about 5+ minutes after applying the permission on the old cluster, but the permission didn't kick in yet, I should have waited 30 minutes to make sure..sorry about that.  But, a new cluster did work.
I see the identity mapped as you have shown in your image there to the VM node in the agentpool.
I might be able to run that same test again in a little to get the answer to those questions for you.
Thank you so much for all of your help, this is going to work great for us!

@dbilleci-lightstream Glad it's working for you. Closing this issue. But feel free to reopen or create new ones if you have other questions.

Ok thank you!  Here's the PR for the docs mini-refresh, I did it from my personal account rather than my work account. https://github.com/Azure/kubernetes-keyvault-flexvol/pull/82
Thanks!


Definition::from_node is a wrong (lossy) abstraction

We have the following function:
impl Definition {
    pub fn from_node(sema: &Semantics<RootDatabase>, node: &SyntaxNode) -> ArrayVec<Definition, 2>;
}

It takes some low-level syntax element, like ast::Name or ast::NameRef, and returns a collection of definitions this node resolves to.
 This API works OK for many cases, as, for many cases, you don't care about the exact nature of definitions. But for cases where it is not enough, you'd have to invent work-arounds or plant latent bugs.
The core problem here is that Definition is a foundational API, and from_name is useful, but approximate and "sandy" API.

The original intention what that NameClass and NameRefClass types exist to capture the relations between source-level tokens and semantic definitions exactly. It's not vec![d1, d2], rather it is NameClass::PatFieldShorthand { local_def, field_def }.
So, the overall flow is:

you start with a token
you classify this token syntactically precisely (is this an ast::Name? an ast::NameRef? an ast::Ident in an input to a derive macro?)
using syntactic classification, you precisely determine what this token means (NameClass/NameRefClass)
using this precise classification, as a last step, you extract definition(s) you are interested in

That is, someone, somewhere should say "ok, I don't actually care that None in a pattern is an intricate thing which looks like a binding but actually is a reference to a constant", but this should happen at the leaves of the system, as this transformation is lossy and one way.

In terms of the diff to the current code, the bit about derives
        // resolve derives if possible
        if let Some(ident) = ast::Ident::cast(token.clone()) {
            let attr = ast::TokenTree::cast(parent.clone())
                .and_then(|tt| tt.parent_meta())
                .and_then(|meta| meta.parent_attr());
            if let Some(attr) = attr {
                return try_resolve_derive_input(&sema, &attr, &ident)
                    .map(Into::into)
                    .into_iter()
                    .collect();
            }
        }

Should belong to NameRefClass::classify_attr or something.
The Definition::from_node / from_token helpers definitely shouldn't exist as methods on very-precise definition. I think what we need is
pub enum IdentClass {
   NameRefClass(NameRefClass),
   NameClass(NameClass),
}

impl IdentClass {
   pub fn classify()
   pub fn related_definitions(self) -> Vec<Definition>
}

cc https://github.com/rust-analyzer/rust-analyzer/pull/10284


Deployment

Deployment isn't working!!

If anyone can help me your must welcome with an PR

@imSanko renaming requirement.txt to requirements.txt worked for me
https://github.com/chandan1995/Image_Caption_Generator_With_Transformers

I'm trying to deploy the project which is giving me the ERROR:
ModuleNotFoundError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you're on Streamlit Cloud, click on 'Manage app' in the lower right of your app).
Traceback:
File "/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script
    exec(code, module.__dict__)
File "/mount/src/image_caption_generator_with_transformers/app.py", line 2, in <module>
    from transformers import VisionEncoderDecoderModel, ViTFeatureExtractor, AutoTokenizer

@chandan1995 Have you forked my REPO ??

Hello @imSanko  , have pushed a pull request, kindly check

WORKING BUT Oh no.
Error running app. If you need help, try the Streamlit docs and forums.
[07:17:38] 📦 Processed dependencies! /home/adminuser/venv/lib/python3.11/site-packages/transformers/models/vit/feature_extraction_vit.py:28: FutureWarning: The class ViTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please use ViTImageProcessor instead.   warnings.warn( /app/scripts/run-streamlit.sh: line 9:   197 Killed                  sudo -E -u appuser /home/adminuser/venv/bin/streamlit "$@"


Pin versions with bower.

Please include a bower.json making it easy to pin versions. I was bitten by img_path being replaced by the new img_sets.

i don't know what this means, but would be happy to merge a PR

I am sorry, I am assuming too much I guess.
Here's how you would create a package with bower http://bower.io/docs/creating-packages/ . It basically comes down to you including a bower.json with metadata on your package. Lots of us manage their js dependencies through bower by specifying the name of the package, js-emoji in your case and the released version. If you later update he package and make changes that would break (such as replacing mg_path by img_sets) the apps depending on the older version would not be affected.
I will be happy to make a PR, it's just one son file, if you think you could keep up with increasing version numbers and maintaining the package.

it's now registered, along with semvar tagging.
you can get the old behavior back with 1.0.0 or follow the new stuff with 2.0.0-alpha1

Awesome, keep up the good work.


Enable dependabot version updates

Dependabot can fix vulnerable dependencies for you by raising pull requests with security updates.
Dependabot version updates are automated pull requests that keep your dependencies updated, even when they don’t have any vulnerabilities.
We should have that enabled for our project checking maven, docker and github-actions versions.
https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/about-dependabot-version-updates

We need to define how often we should search for new versions for each package manager. How often should we check for updates? daily, once a week or default?

Since we are going to do a release every week maybe we should use a very short time while we are working actively on the project? And change it to a longer time later.


add format_files_for_input and compute_minimal_fileids to beautify the shown session context

Before: it's not easy to tell what is in the context (filenames get truncated, and even when they don't it is difficult to read long paths because the most important part is at the end of a variable-length string), read-only files are not identifiable from the context shown.
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
> /add src/backend/base/langflow/base/chains/model.py src/backend/base/langflow/base/document_transformers/model.py src/
backend/base/langflow/base/embeddings/model.py

Added /home/jonathan/Projects/langflow/src/backend/base/langflow/base/document_transformers/model.py to the chat
Added /home/jonathan/Projects/langflow/src/backend/base/langflow/base/chains/model.py to the chat
Added /home/jonathan/Projects/langflow/src/backend/base/langflow/base/embeddings/model.py to the chat
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
src/backend/base/langflow/base/chains/model.py src/backend/base/langflow/base/document_transformers/model.py src/backend
> /read src/backend/base/langflow/base/langchain_utilities/model.py

Added src/backend/base/langflow/base/langchain_utilities/model.py to read-only files.
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
src/backend/base/langflow/base/chains/model.py src/backend/base/langflow/base/document_transformers/model.py src/backend
>

After: only enough of the filename is shown to uniquely identify it in your session.  When the name itself is not enough, the name is still shown first.  Filenames are never truncated and read-only files are easily identified.
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
> /add src/backend/base/langflow/base/chains/model.py src/backend/base/langflow/base/document_transformers/model.py src/backend/ba
se/langflow/base/embeddings/model.py

Added /home/jonathan/Projects/langflow/src/backend/base/langflow/base/document_transformers/model.py to the chat
Added /home/jonathan/Projects/langflow/src/backend/base/langflow/base/embeddings/model.py to the chat
Added /home/jonathan/Projects/langflow/src/backend/base/langflow/base/chains/model.py to the chat
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   model.py (chains)
   model.py (document_transformers)
   model.py (embeddings)
> /read src/backend/base/langflow/base/langchain_utilities/model.py

Added src/backend/base/langflow/base/langchain_utilities/model.py to read-only files.
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 R model.py (langchain_utilities)
   model.py (chains)
   model.py (document_transformers)
   model.py (embeddings)
>

Objection: this uses more vertical space than packing it all into one line.
Response: it is easier for the eye to scan a compact vertical list (lots of research on this), vertical space is cheap via mousewheel.
fixes #1675

I'm not sure why most of the tests in the CI run were cancelled here?

Once a single python version fails, the rest of the tests are cancelled.

thanks, tests are passing now.

 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.

Thanks!


(Bokeh) reset button does not reset datapoints selection

In "Detail View", for instance, the user can select a (sub)sample of points for some specific/detailed analysis; the selection will sync the points shown in both plots. When hitting the "reset" button (bokeh reset-tool) the selection is not reset though, only the axis range. This is counter-intuitive -- to me at least; I was expecting also a refreshing on points selection.
To have the original set of points back I have to zoom-out (enough to contain the original dataset area) and then select the whole area.
Below, a sequence of those steps:

initial plot:

selection of points:

zoom-out + selection all:

finally, reset (the axis range):

currently resets ranges, but not selected objects


Sunstone host tabs unclickable when one of the numa nodes is with 0 RAM

Description
When you open host details tabs are unclickable, because of javascript error
Uncaught ReferenceError: info is not defined
    at numa.js:196
    at Array.map (<anonymous>)
    at Panel._setup [as setup] (numa.js:127)
    at Panel.<anonymous> (sunstone.js:865)
    at Function.each (jquery.js:371)
    at Object._insertPanels [as insertPanels] (sunstone.js:864)
    at callback (common-actions.js:62)
    at Object.success (action.js:317)
    at fire (jquery.js:3187)
    at Object.fireWith [as resolveWith] (jquery.js:3317)

To Reproduce
Add a host with memory sticks only in one numa. Open host details in sunstone
Example host
numactl -H
available: 2 nodes (0-1)
node 0 cpus: 0 1 2 3 4 5 6 7 16 17 18 19 20 21 22 23
node 0 size: 64394 MB
node 0 free: 37929 MB
node 1 cpus: 8 9 10 11 12 13 14 15 24 25 26 27 28 29 30 31
node 1 size: 0 MB
node 1 free: 0 MB
node distances:
node   0   1
  0:  10  20
  1:  20  10

Expected behavior
working tabs
Details

Affected Component: Sunstone
Hypervisor: KVM
Version: 5.10.1

Additional context
Add any other context about the problem here.

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

Can you please send us output for the following command: onehost show -x [host_id]
Where host_id is the id of the host that is presenting the Sunstone issue.

Can't do it right now, because when I found that this is the issue, the servers memory was rearranged properly to both numas. So it's no longer in this hardware config. But I no longer remember which server it was, so probably will have to pick one and break it.

Ok, thanks for your feedback. We are closing this ticket until we get further information on how to reproduce


Minikube volumes error

When gofabric8 deploy -y I got for gogs, nexus and jenkins:
On kube dashboard:
Unable to mount volumes for pod "gogs-1904930881-1lo59_default(639af669-8491-11e6-b21d-6a3119ef085a)": timeout expired waiting for volumes to attach/mount for pod "gogs-1904930881-1lo59"/"default". list of unattached/unmounted volumes=[gogs-data]
Error syncing pod, skipping: timeout expired waiting for volumes to attach/mount for pod "gogs-1904930881-1lo59"/"default". list of unattached/unmounted volumes=[gogs-data]
If I run it with  --pv=false flag is ignored
Minikube logs
-8493-11e6-83d7-763f74ef6eaf" (UID: "12cb12fa-8493-11e6-83d7-763f74ef6eaf"). Volume is already mounted to pod, but remount was requested.
I0927 09:18:43.917330    2781 operation_executor.go:740] MountVolume.SetUp succeeded for volume "kubernetes.io/secret/12cb12fa-8493-11e6-83d7-763f74ef6eaf-gogs-token-gd69w" (spec.Name: "gogs-token-gd69w") pod "12cb12fa-8493-11e6-83d7-763f74ef6eaf" (UID: "12cb12fa-8493-11e6-83d7-763f74ef6eaf").
I0927 09:18:44.015975    2781 reconciler.go:180] VerifyControllerAttachedVolume operation started for volume "kubernetes.io/host-path/12cb12fa-8493-11e6-83d7-763f74ef6eaf-gogs-data" (spec.Name: "gogs-data") pod "12cb12fa-8493-11e6-83d7-763f74ef6eaf" (UID: "12cb12fa-8493-11e6-83d7-763f74ef6eaf")
I0927 09:18:44.116294    2781 reconciler.go:254] MountVolume operation started for volume "kubernetes.io/host-path/12cb12fa-8493-11e6-83d7-763f74ef6eaf-gogs-data" (spec.Name: "gogs-data") to pod "12cb12fa-8493-11e6-83d7-763f74ef6eaf" (UID: "12cb12fa-8493-11e6-83d7-763f74ef6eaf").
I0927 09:18:44.116365    2781 operation_executor.go:740] MountVolume.SetUp succeeded for volume "kubernetes.io/host-path/12cb12fa-8493-11e6-83d7-763f74ef6eaf-gogs-data" (spec.Name: "gogs-data") pod "12cb12fa-8493-11e6-83d7-763f74ef6eaf" (UID: "12cb12fa-8493-11e6-83d7-763f74ef6eaf").
E0927 09:18:53.114569    2781 replica_set.go:454] unable to create pods: pods "fabric8-forge-4052241317-" is forbidden: service account default/fabric8 was not found, retry after the service account is created
I0927 09:18:53.114779    2781 event.go:216] Event(api.ObjectReference{Kind:"ReplicaSet", Namespace:"default", Name:"fabric8-forge-4052241317", UID:"12ab7929-8493-11e6-83d7-763f74ef6eaf", APIVersion:"extensions", ResourceVersion:"201", FieldPath:""}): type: 'Warning' reason: 'FailedCreate' Error creating: pods "fabric8-forge-4052241317-" is forbidden: service account default/fabric8 was not found, retry after the service account is created

And the deploy command is hanging on:
Default GOGS admin username/password = gogsadmin/RedHat$1

Downloading images and waiting to open the fabric8 console...

-------------------------

gofabric8, version 0.4.72 (branch: 'master', revision: '0cb6440')
  build date:       '20160925-03:50:00'
  go version:       '1.7.1'

This is related to https://github.com/fabric8io/gofabric8/issues/202, the fabric8 service account that's reported as missing in the error log above is brought in with the fabric8 console.  As the console had the validation problems the service account wasn't created.
This should be fixed now.


fix: support hoisted jsii dependencies

Removes copy of the project directory and instead only outputs
transliterated assemblies to the working directory. This avoids
potential problems when generating docs for packages that may have some
dependencies that are symlinks, such as those in a monorepo.
Pending https://github.com/aws/jsii/pull/3437
fixes #390

NOTE: Originally this was targeting allowing users to transliterate assemblies for projects that may have hoisted dependencies, IE a dependency is within a parent directory's node_modules somewhere. However, just changing to using the package directory as the working directory and outputting the transliterated assemblies elsewhere isn't good enough, as the assembliesDir defaults to the project directory and wont search parent directories for dependencies/.jsii assemblies.
This however should still fix the resolution of symlinked dependencies that may exist in a packages node_modules such as those within a lerna managed monorepo. This case is slightly harder to setup a succint test for but open to suggestions if reviewers feel strongly about adding one.

This PR also improves performance by ~ 6x :)
One of my builds is down from 6 mins to 1 min with this PR.

yeah tests are fine for me as well but I haven't bothered trying to fix the flakiness in a different PR yet.

@Chriscbr - are we able to merge this?

Couldn't figure out how to contribute to this PR so I opened a fresh one which should fix the unit tests: https://github.com/cdklabs/jsii-docgen/pull/714

@agdimech ty! I didn't realize it was purely a timeout as I tried previously upping it and still seeing failures. I merged in your commit here just to prevent re-review etc. Should auto-merge when successful.

Sorry, I guess that didn’t fix it :(
I’ve seen this combination of errors locally to which I bumped the timeout and it resolved. Guess my hardware might be a bit beefier then the hw used as part of the build.
We can try bumping this to something like 120 although there may be a nasty timing issue contributing to this. What is strange is I would have thought that the test duration would have reduced with this PR, given the lack of fs.copy.

I just had a look at the other open PR: https://github.com/cdklabs/jsii-docgen/runs/6928391566?check_suite_focus=true
the same issue is showing up there related to:
ENOENT: no such file or directory, chdir '/tmp/EtnTZW' -> '/tmp/wryVeX . What is really strange is it is failing when trying to cd back the the previous cwd as per: https://github.com/cdklabs/jsii-docgen/blob/dd39bac639905ff4166855f22fd0f60e6edf8b13/src/docgen/view/documentation.ts#L382

I'm manually applying this patch to a local installation and I hope it moves forward if only because the massive perf boost.

And thoughts on my previous comments?
I don’t think these build failures are related to this PR as per: https://github.com/cdklabs/jsii-docgen/runs/7122708633?check_suite_focus=true

Any idea how to proceed with this?

Plusing this again. Fix both perf issues and support for Yarn/PNP which hoist dependencies.

This can be closed as #981 has been merged and released as of version ^7.2.1 :)

closing in favor of https://github.com/cdklabs/jsii-docgen/pull/981


feat: block visualizer

(Experiment) Visualize last blocks on tx page
closes #758

:tada: This PR is included in version 1.29.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Sub menus by extensions in explorer context menus,item menus

VSCode Version:
OS Version:

Steps to Reproduce:

This extension adds two new context menus to the Explorer Viewlet:
Open New Workbench Here: Opens a new instance of VS Code scoped to the selected folder OR to the folder containing the selected file.
Reopen Workbench Here: Reopens VS Code scoped to the selected folder. This feature only works on folders, it has no effect when a file is selected.
now i want to add two new context menus to the Open New Workbench Here how do i do @

Sub Menus are tracked in #9827


[Migrated] Allow environment variable expansion in settings

Originally from: https://github.com/Miserlou/Zappa/issues/1982 by gdavoian
I'd like to use aws_environment_variables  to set some native Lambda environment variables automatically without logging into the AWS console, but I don't want to hard-code any sensitive values to the zappa_settings.json. Ideally, I'd like to use something like "key": "${value}", and then have Zappa substitute value from the current environment on deploy/update. I'm not sure whether this is already supported or whether it really makes sense to add support for this.

marking as duplicate of:
https://github.com/zappa/Zappa/issues/988


Add EmptyCollectionWriter for MultipartFormContentProcessor

This PR adds an EmptyCollectionWriter to MultipartFormContentProcessor in SpringFormEncoder. This Writer is a no-op.
This is related to https://github.com/spring-cloud/spring-cloud-openfeign/pull/352. Although the problem could have been fixed in spring-cloud-openfeign, it was agreed that doing it upstream here would be better.
In spring-cloud-openfeign, SpringFormEncoder is a "delegate" of SpringEncoder, while in this repository (feign-form-spring's unit tests), (an older version of) SpringEncoder is a delegate of SpringFormEncoder. What this means is that the unit tests in feign-form-spring do not exactly reflect the actual use in spring-cloud-openfeign, so it is not meaningful to add a unit test in this PR as it would pass even without the EmptyCollectionWriter.

Hi @kdavisk6
Could you review and merge this PR ?
I can finalize it if need.


channels: add Distribute pact

This PR adds the Distribute pact that aims to evenly distribute data among all workers by routing each container to a randomly selected worker.
Traditionally this "defensive distribution" could be implemented using an Exchange pact whose key function round-robined the records or randomly distributed them in some other way. While this works it has couple of downsides:

The key function is calculated once per record, instead of once per container
Each record must be copied out of the original container into a per-worker container depending on the key function

The Distribute pact streamlines this pattern by avoiding copying each record to a separate container and immediately pushing each container to a random worker.
Future work
A potential future improvement is to circulate in-band statistics over the channel about how many messages each workers has seen. This would allow each worker to estimate the current skew and only leap into action once things are bad enough.

An alternative could be the implement PushPartitioned for a wrapper type, but then one has to deal with non-vector streams, which can be difficult.

This looks useful in some situations. What about adding a closure that can decide on a target for each container instead of hardcoding a random function?

The idea for this pact came from the office hours where we were discussing the fact that when an operator introduces skew to its output the skew persists along Pipeline edges and it would be nice to have an edge that behaves like Pipeline but can also detect when there is skew and do something about it.
For this reason I think we shouldn't expose any hook for users to plug any logic and instead state that the intent of this pact is to do this "smart routing". The current implementation is not particularly sophisticated, but the idea is that users use it as-is for the stated benefit and then we can improve the implementation independently.
I initially set out to integrate a work stealing queue by adding a new Allocate method but I think I want to explore the statistics based approach first that could potentially work with even Tcp channels.
The ideal case would be if this pact's performance is almost identical to Pipelines under balanced loads in which case we could replace the pact of all the timely/dd operators that don't care about distribution (map, filter, etc) from Pipeline to Distribute which would make them more robust to skewed workloads.


Statusline integration doesn't work for me

I try to implement the status line integration as shown in the help with:
let g:bufferline_echo=0
let &statusline='%{bufferline#refresh_status()}'
let &statusline.=bufferline#get_status_string()
but I always get this error:
E117: Unknown function: bufferline#get_status_string
E15: Invalid expression: bufferline#get_status_string()
I already disabled all other statusline config that I was using ...
PS: This is used together with vim-airline (not sure if that's of any importance).

hello noobs here, want to ask, how to make the list of buffer just shown on command  line? i don't want it to be shown on airline statusline.
The behaviour that i want is, airline statusline just show the full path of current buffer / open file (default behaviour), while buffer list show on command line.


Use Aster for Codegen

Currently, the codegen is mostly just rolled straight from the traits. It would be good to use aster rather than putting together giant ungainly syntax trees by hand.
Take an AstBuilder argument, so an ExtCtxt could be passed in too. A Span would also be a good thing to pass around, even though it will usually be a DUMMY_SP.

For #1

Also related to #28

This will make some work in #49 obsolete, but the reduced allocations in the api ast will still be worthwhile.

Doing this could also mean we won't need a custom Fn struct in the codegen. We should be using libsyntax::ast::MethodSig instead

This could also be a chance to refactor Emitter<'a> to remove the lifetime bound (should just take the context it needs as an argument to the method).
The base trait design isn't really great. The lifetime bound on ExtCtxt is kinda killing it.

We're using syn and quote for the new codegen.


Can't use java logical types defined in Java JDBC IO in XLang JDBC pipeline for Go and Python

Currently, we can't use the logical types defined in java JDBC IO in XLang pipelines for JDBC IO in Go SDK as it throws the following error:

  unmarshalling coder jFYvjSCanTRowCoder_length_prefixed_windowed
        unmarshalling coder jFYvjSCanTRowCoder_length_prefixed
cannot
convert schema field role_name to field
        caused by:
unknown logical type: beam:logical_type:javasdk:v1

This is the structure of table and its corresponding struct:

// roles=> CREATE TABLE roles(
//         role_id serial PRIMARY KEY,
//         role_name VARCHAR
(255) UNIQUE
//  );

type JdbcTestRow struct {
        Role_id   int32  `beam:"role_id"`

  Role_name string `beam:"role_name"`
}

Similar error seems to be appearing on Python SDK pipeline based on this stack overflow question: (https://stackoverflow.com/questions/68758361/error-beamlogical-typejavasdkv1-while-using-apache-beam-io-jdbc-readfromjdbc)
Imported from Jira BEAM-13717. Original Jira may contain additional context.
Reported by: riteshghorse.

Logical types are now support on Python (char/varchar/binary/varbinary/decimal/timestamp), go support is not yet planned


ADM-362 T8 - [frontend] [Metrics] Real done

Summary
Real Done title
DONE and CANCELLED as default selection
With All option in the box (not show in the inputBox)
When Real Done section turns to empty, it will appear error message - Must select which you want to consider as Done

Your PR Summary does not follow our default convention, WHY?


[IOTDB-141]Develop memory estimate tool

Currently, we have a dynamic parameter adapter module, so based on this module, it's better to develop a memory estimation tool for users to use. Users provide the number of storage groups and the number of timeseries according to their workloads, and the tool gives the minimum memory for writing to satisfy the load.
jira link: https://issues.apache.org/jira/browse/IOTDB-141

We need an example or hint when using this tool, you can add it in the documents

I have written a docu about this tool.

Documents in User Guide and file 0-content.md is also changed in PR#247. Maybe the order of new chapters (Chapter 7 and Chapter 8) needs to be discussed first to avoid conflict.

Documents in User Guide and file 0-content.md are also changed in PR#247. Maybe the order of new chapters (Chapter 7 and Chapter 8) needs to be discussed first to avoid conflict.

I think 7 is for all tolls.


Unable to install due to missing dep on aws module

go.mod requires https://github.com/aws/aws-sdk-go-v2/releases, but complains about missing awserr

go get github.com/teralytics/prometheus-ecs-discovery
build github.com/teralytics/prometheus-ecs-discovery: cannot load github.com/aws/aws-sdk-go-v2/aws/awserr: module
github.com/aws/aws-sdk-go-v2@latest found (v1.2.0), but does not contain package github.com/aws/aws-sdk-go-v2/aws/awserr

Seems like the only version with awserr in the aws release is v2.0.0-preview.5 (2018-09-27). So I am confused how to make this work!

I just merged #64, could you try that out?


Is it possible to pair to multiple iGrill Sensors at once?

For example, I'll have an iGrill 2 and an iGrill3 hanging out in close proximity to eachother, do I need two esp32 devices, or could they pair to one esp32?
Thanks!

In its current state you will need two esp32 devices. It might be possible to pair to two devices at once with some code updates, but I don't have a second iGrill device to test with and see if it's possible.


You have an error in the code on the page Part 2 of the tutorial -> Add a data database connection string

You have an error in the code on the page Part 2 of the tutorial -> Add a data database connection string
I am using Visual Studio Code under Windows.
Therefore you can run on an compile error in the scaffold section!
Instead of:
"ConnectionStrings": {
"MovieContext": "Data Source=MvcMovie.db"
}
You should enter:
"ConnectionStrings": {
"RazorPagesMovieContext": "Data Source=MvcMovie.db"
}_

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

ID: 6719f08e-3bd7-dc1a-71df-f2ef9fbca9d8
Version Independent ID: 7096fdb3-612e-9e00-bd0b-8ea4886a09ce
Content: Part 2, add a model
Content Source: aspnetcore/tutorials/razor-pages/model.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

I agree,, this is the right fix. cc @wadepickett

Yep, agree.  Thanks @Realchange for taking the time to let us know.  Greatly appreciated!


Playback Speed Calculator

Added a C project which determines the length of any video on any playback speed. Please review and merge it under Hacktoberfest 2022 tag.
Thank You.

Demo.mp4

add demo.mp4 inside readme, not in the conversations!!?


Delete users/*.profile

remove data/system/user/*.profile

fixed in  https://github.com/apache/incubator-iotdb/pull/555


Allow hyperlinks and formatting in description of shelves, books and chapters

Describe the feature you'd like
It would be a nice feature if it were possible to insert for example functioning link into the description of book.
I have some chapters in which it would be a huge bonus. At the moment I had to make an extra side just to put a link into it.
In this case I'm building an internal documentation to bookstack itself and I want to reference to the homepage directly on the chapter.
Like in this picture but with a clickable link.

Describe the benefits this would bring to existing BookStack users
Links to source pages or referenced pages without having to create a separate page for it.
Can the goal of this request already be achieved via other means?
I didn't find anything
Have you searched for an existing open/closed issue?

[X] I have searched for existing issues and none cover my fundemental request

How long have you been using BookStack?
0 to 6 months
Additional context
No response

I agree this would be nice.  However, it has already been discussed in previous issues (#1666 and #1076) and it’d seem it won’t be implemented. However, an issue to support hyperlinks #2354 is still opened, as well as #2203 to support raw html in book descriptions.

Thanks for the suggest @Man-in-Black, but as pointed out by @matthias4217, #2354 already exists which I'd consider as already covering the fundamental request here. Therefore I'll close this off.
@matthias4217 As part of working on comments recently, it's in my mind to align various text inputs (comments input and content description fields) with a simpler WYSIWYG editor, and bring some added functionality as requested here. Won't promise a timeline for that but thinking within next few feature releases, so maybe by end of year.


pre-trained model availability

Congrats for winning the competition.
By any chance, is it possible for you to provide your pre-trained model with a little bit of documentation on how to use it ?

Sure thing!
I will upload them later today.
Best,
Miha

The pre-trained model is now available. see README for more info.

Thanks, closed


[Code app]: Content of latest selected file is displayed if all files deleted in left column

EPAM AI DIAL chat version
0.20.0
How to reproduce
Steps:

Open Add code app form
click Change in "Select folder with source files" field
select folder with one file
view code editor form ->file is selecte, content of selected file is displayed on right side
delete file -> file was removed from left side , but content still displayed -> bug

Actual result

Expected result
content text box should be empty if no files displayed in the left side
Confidential information

[X] I confirm that do not share any confidential information

verified on staging successfully


Authentication Role and Create Account issues

Just wanted to point out the policy on aws/authrole.json is pointing to a specific account and this is causing errors to query the DDB table. I had to manually edit the policy in IAM to point to the correct table.
I am also getting the following error to create an account:
POST https://cognito-idp.ap-northeast-1.amazonaws.com/ 400 (Bad Request)
XHR finished loading: POST "https://cognito-idp.ap-northeast-1.amazonaws.com/".scheduleTask @ zone.js:1274
result: Username cannot be of email format, since user pool is configured for email alias. @ auth.component.ts:261

I'm trying with:
user: jdoe
email<EMAIL_ADDRESS>Other than that, it works like a charm. Great stuff!

Hi @awsed ,
I'll include a note in the README file.
Thanks,
Vladimir


getnnz operator for csr matrix

Description
Address #12872 @zheng-da
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

Yeah, GitHub ist having an outage and they stopped delivering all web hooks (sorry that I didn't mention that part in my email). This results in our CI not running. They will be resumed after they are stable again.


Swiper not working until I resize browser window

i using wrap-swiper. it incorrect working util i resize brower size. Has anyone else had this problem?. Please help me. thank

@cagcak Life saver.

Spent half an hour counting the number of hairs I pulled out while trying to resolve this issue.
Thanks @cagcak.

When you initialize swiper can be important, before or after CSS has been rendered.
https://github.com/nolimits4web/swiper/issues/2218#issuecomment-509683102


[FLINK-16508][k8s] Name the ports exposed by the main Container in Pod

What is the purpose of the change

Currently, we expose some ports via the main Container of the JobManager and the TaskManager, but we forget to name those ports so that people could be confused because there is no description of the port usage. This PR proposes to explicitly name the ports in the Container to help people understand the usage of those ports.

Since the port name in the Container must be less than 15 characters, meanwhile we prefer to keep the port name consistent between the Container and the Service, so this PR also makes little change to the existing name of the corresponding ports in the Service. This is a minor change that rarely requires modification from user perspective.

Verifying this change
This change is already covered by existing tests.
Does this pull request potentially affect one of the following parts:

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

Documentation

Does this pull request introduce a new feature? (yes / no)

cc @TisonKun. Looking forward to your feedback.

@flinkbot run travis

Thanks for your contribution @zhengcanbin ! It seems we should also include this improvement in 1.10, would you like to open a PR towards 1.10?

Thanks for your contribution @zhengcanbin ! It seems we should also include this improvement in 1.10, would you like to open a PR towards 1.10?

Thanks for the review @TisonKun! I will open a PR towards 1.10.


Enhancing fix()

I am implementing a Python version of the library for my own use-case - https://github.com/anirudhgangwal/ukpostcodes. The library mimics functionalities available here, including lookup in ONS database (but I don't use a DB/api to postcode.io, just have a set of ~1.8M postcodes).
We parse postcodes from OCR output and the "O" and "I" errors account for almost all our errors. The fix implemented here was  helpful in reducing our error significantly. However, I want to understand if there was a reason to not expand this auto-correct further.
Lets take the example of a 3 digit outcode. This can take the following forms:
A9A 9AA
A99 9AA
AA9 9AA
Since the second and third characters can take on both letters or numbers, this library currently only coerces for "L??".
I think there is a possibility to add a new function, or a parameter to function, which returns a list. E.g.
fix(OOO 4SS) => ["O00 4SS", "OO0 4SS", "O0O 4SS"] # try LLN, LNN, and LNL

A quick Python implementation looked like this:
def fix_with_options(s: str) -> List[str]:
    """Attempts to fix a given postcode, covering all options.

    Args:
        s (str): The postcode to fix
    Returns:
        str: The fixed postcode
    """
    if not FIXABLE_REGEX.match(s):
        return s
    s = s.upper().strip().replace(r"\s+", "")
    inward = s[-3:].strip()
    outward = s[:-3].strip()
    outcode_options = coerce_outcode_with_options(outward)
    return [
        f"{coerce_outcode(option)} {coerce_incode(inward)}"
        for option in outcode_options
    ]

def coerce_outcode_with_options(i: str) -> List[str]:
    """Coerce outcode, but cover all possibilities"""
    if len(i) == 2:
        return [coerce("LN", i)]
    elif len(i) == 3:
        outcodes = []
        if is_valid_outcode(outcode := coerce("LNL", i)):
            outcodes.append(outcode)
        if is_valid_outcode(outcode := coerce("LNN", i)):
            outcodes.append(outcode)
        if is_valid_outcode(outcode := coerce("LLN", i)):
            outcodes.append(outcode)
        return list(set(outcodes))
    elif len(i) == 4:
        outcodes = []
        if is_valid_outcode(outcode := coerce("LLNL", i)):
            outcodes.append(outcode)
        if is_valid_outcode(outcode := coerce("LLNN", i)):
            outcodes.append(outcode)
        return list(set(outcodes))
    else:
        return [i]

This reduced our error rate further down (significantly as most errors were with misreading 0). Note for our use case did made sense as after checking with ONS directory there were negligible  false positives.

Thanks we'll take a look. CC'ing @mfilip

Hey @anirudhgangwal it is nice approach but to implement to our lib we will need to break our interface pattern to return array of possible fixes when this is not indent for this simple lib. We see possible use cases for array but this lib is intend to just fix numeric mistake and return generally valid postcode.
A9A 9AA
A99 9AA
AA9 9AA
All of those are valid postcodes in it's construction. So our lib just trying to fix those not matching it so pattern L?? is sufficient to cover all of those. If your intend is to use it after for check in db your version will give you less errors and additional possibilities of fixes which is great!


TypeError ExtractCss

Environment

Operating System: Darwin
Node Version:     v16.15.0
Nuxt Version:     2.16.0-27616340.013f051b
Package Manager<EMAIL_ADDRESS>Builder:          webpack
User Config:      buildDir, srcDir, bridge, ssr, dev, alias, image, generate, head, typescript, publicRuntimeConfig, privateRuntimeConfig, css, loading, loadingIndicator, plugins, components, buildModules, modules, proxy, axios, vuetify, build, serverHandlers, devServerHandlers
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

Reproduction

Describe the bug
TypeError when using an object.
Only boolean or undefined is accepted
Additional context
No response
Logs
No response

This issue was resolved at https://github.com/nuxt/bridge/pull/785


Bump ANTLR version

The current version of ANTLR used in this package is from 2018. Since ANTLR doesn't conform to semver semantics, changes can be incompatible across versions. We use a more recent version in our companies monorepo, which means we are unable to use the DAX client without downgrading the version for all our services to the five year old version used in this package. This is a non-starter for us.
I'm requesting a new release, with a more recent ANTLR version used.

Our team is also encountering this issue. Is there an ETA on when you can bump the version?

This package has been pretty dead for a while, see other issues related to AWS SDK v2, I wouldn't expect version bumps.

This package has been pretty dead for a while, see other issues related to AWS SDK v2, I wouldn't expect version bumps. Also only one commit this year, three commits last year..

Its a pretty painful state to be in where this package is unmaintained (and so unusable by us), and dax for the v2 sdk is currently unsupported 💀


[Bug] Upgrades can be applied to wrong Gear

found that u can add upgrades to gear that doesnt support that module

jdt v 0.11.12

That’s super weird! I could have sworn I was protecting against that. I’ll take a look :)

Good catch - should be fixed in the next version :) thank you!


Editing Metadata while using the arrows to switch between events breaks the metadata

Describe the bug
Editing metadata of several events, while using the arrows to switch between events overwrites the Metadata that was changed with the data of the first edited event
To Reproduce
Steps to reproduce the behavior:

Filter for a group of recordings, like all recordings in a series
Open the metadata editor
Edit the title of a recording
use the arrow right to go to the next event
edit also the title of this event
repeat 4. and 5.
Close the event editor. All edited events have the same metadata like the very first edit.

Environment Information

OS: MacOs 10.15
Browser chrome
Opencast version with minor release 8.3

Would a sensible solution be to drop the arrows? Is anyone actually using them?

This might be something to ask the users, but I somehow doubt it since no one has complained about this yet...

Asking @rrolf is asking an active user ;-P

I am using them and realized this bug only hours later. 🤯

With the new save button, this does not happen accidentally anymore, although the issue remains parially as the save button stays grayed out after switching to a new event, even if you editet the metadata of that event. @rrolf could you update the issue accordingly? Thanks.

This might be something to ask the users, but I somehow doubt it since no one has complained about this yet...

I stumbled over this, too, btw. But there are a lot of issues in Opencast and this wasn't the worst one. It was during pandemic and resources were short, so we focused on the most critical issues.


lorawan: adding NVM support for LoRaWAN and a reference SE implementation

For now, I have removed all the cryptographic calls from the implementation, as it was originally done using Nordic specific modules (mostly HUK and CryptoCell).

[x] Need to abstract the crypto layer to not store the keys unencrytped on the flash
[x] Various crypto must be managed, with great modularity. That will come from the fact that crypto API are very low-level stuff, and vendor dependent. I don't think you will have a Zephyr abstraction layer that will fit all use cases.
[ ] Cryptos may come from west sub-project, and not zephyr tree

A more low-level implementation with key encryption using a daughter key can be found on the NCS repo: https://github.com/nrfconnect/sdk-zephyr/pull/678
Signed-off-by: Giuliano Franchetto<EMAIL_ADDRESS>

I should also note that the proposed API does not expose enough information for the application for it to decide when the Join EUI needs to be rotated (when DevNonce reaches UINT16_MAX)

I agree that this is not exposed by the API. But is this really necessary ?
With the regulatory duty cycle that any LoRa endpoint must respect, I would guess that the DevNonce would reach UINT16_MAX after a very very very long time.

A draft PR with only NVM related changes has been created: #41903

I agree that this is not exposed by the API. But is this really necessary ?
With the regulatory duty cycle that any LoRa endpoint must respect, I would guess that the DevNonce would reach UINT16_MAX after a very very very long time.

That depends, the recommended maximum backoff averages at 30 minutes, which would overflow after 4 years. If the device is rebooting regularly however it could reach that value earlier.


surface: add WLR_SURFACE_STATE_SUBSURFACES

This allows to figure out when the subsurface list has changed:
subsurface added, removed, or re-ordered. In the case where
the subsurface list hasn't changed, some book-keeping operations
can be skipped.
Useful for https://github.com/swaywm/wlroots/pull/3128
cc @vyivel

wlroots has migrated to gitlab.freedesktop.org. This pull request has been moved to:
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3170


how to download your dataset with wget

Unfortunately, that is not possible.

Hi, @gaopeng-eugene, @mcordts.
I found this blog written in Japanese which gives the following way to download the cityscapes dataset using wget. I tried it and it worked.
Step 1
wget --keep-session-cookies --save-cookies=cookies.txt --post-data 'username=USERNAME&password=PASSWORD&submit=Login' https://www.cityscapes-dataset.com/login/

Step 2
wget --load-cookies cookies.txt --content-disposition https://www.cityscapes-dataset.com/file-handling/?packageID=ID

@jianchao-li hi, sorry to bother you, can you tell me how to use this?