IoT Edge publisher Issue

support_bundle.zip
Discover module and Twin module are OK (can add application, publish node and read value through twin module)
publisher is running but don't upload telemetry data.

Issue found on industrial iot edge in a DMZ with firewall and proxy using 443 to communicate with Azure (Factory on the schema)
-> first idea was that the proxy was the cause of the problem
-> But we face the same result with iot edge in a VM  outside an industrial network without proxy (Test PC on the schema)
-> Simulated temperature sensor works fine (we can see telemetry in the iot edge Local and Industrial
Version:
azure iot-edge 1.0.10
modules 2.7.182
Steps to reproduce the behavior:

Install IoT Edge
Add application (using postman REST API)
Publish Node (using postman REST API)

We should see telemtry in publisher module.
We already open a case at microsoft support (n°121011125003373 )
There s also a IcM Ticket #223097295
Regards,

Just adding information...
When I want to monitor to the iothub using VSCode, I can see the 2 iotedges, connected and modules are running.
The endpoints application are green meaning they are connected too
But the DataSetWriterV2 endpoints are not connected

In the publisher logs (with log level = debug) I can see messages saying that no job are requested:
[08:19:39 DBG Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker] Try querying available job...
[08:19:39 DBG Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker] Try querying available job...
[08:19:39 DBG Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker] Worker: aleducqiotedge_publisher_4, no job received, wait 00:00:05 ...
[08:19:39 DBG Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker] Worker: aleducqiotedge_publisher_3, no job received, wait 00:00:05 ...
[08:19:40 DBG Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker] Try querying available job...
[08:19:40 DBG Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker] Try querying available job...
[08:19:40 DBG Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker] Worker: aleducqiotedge_publisher_2, no job received, wait 00:00:05 ...
[08:19:40 DBG Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker] Worker: aleducqiotedge_publisher_1, no job received, wait 00:00:05 ...

And yet I have the publish nodes (using postman):
{
"items": [
{
"nodeId": "nsu=KEPServerEX;s=Simulation Examples.Functions.Ramp4",
"publishingInterval": "00:00:01",
"samplingInterval": "00:00:00.5000000"
},
{
"nodeId": "nsu=KEPServerEX;s=Simulation Examples.Functions.Ramp5",
"publishingInterval": "00:00:01",
"samplingInterval": "00:00:00.5000000"
},
{
"nodeId": "nsu=KEPServerEX;s=Simulation Examples.Functions.Ramp6",
"publishingInterval": "00:00:01",
"samplingInterval": "00:00:00.5000000"
},
{
"nodeId": "nsu=KEPServerEX;s=Simulation Examples.Functions.Ramp7",
"publishingInterval": "00:00:01",
"samplingInterval": "00:00:00.5000000"
},
{
"nodeId": "nsu=KEPServerEX;s=Simulation Examples.Functions.Ramp1",
"publishingInterval": "00:00:01",
"samplingInterval": "00:00:00.5000000"
},
{
"nodeId": "nsu=KEPServerEX;s=Simulation Examples.Functions.Ramp2",
"publishingInterval": "00:00:01",
"samplingInterval": "00:00:00.5000000"
},
{
"nodeId": "nsu=KEPServerEX;s=Simulation Examples.Functions.Ramp3",
"publishingInterval": "00:00:01",
"samplingInterval": "00:00:00.5000000"
},
{
"nodeId": "nsu=KEPServerEX;s=Simulation Examples.Functions.Ramp8",
"publishingInterval": "00:00:01",
"samplingInterval": "00:00:00.5000000"
}
]
}

Just adding information...
When I want to monitor to the iothub using VSCode, I can see the 2 iotedges, connected and modules are running.
The endpoints application are green meaning they are connected too
But the DataSetWriterV2 endpoints are not connected

In the publisher logs (with log level = debug) I can see messages saying that no job are requested:
[08:19:39 DBG Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker] Try querying available job...
[08:19:39 DBG Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker] Try querying available job...
[08:19:39 DBG Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker] Worker: aleducqiotedge_publisher_4, no job received, wait 00:00:05 ...
[08:19:39 DBG Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker] Worker: aleducqiotedge_publisher_3, no job received, wait 00:00:05 ...
[08:19:40 DBG Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker] Try querying available job...
[08:19:40 DBG Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker] Try querying available job...
[08:19:40 DBG Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker] Worker: aleducqiotedge_publisher_2, no job received, wait 00:00:05 ...
[08:19:40 DBG Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker] Worker: aleducqiotedge_publisher_1, no job received, wait 00:00:05 ...

And yet I have the publish nodes (using postman):
{
"items": [
{
"nodeId": "nsu=KEPServerEX;s=Simulation Examples.Functions.Ramp4",
"publishingInterval": "00:00:01",
"samplingInterval": "00:00:00.5000000"
},
{
"nodeId": "nsu=KEPServerEX;s=Simulation Examples.Functions.Ramp5",
"publishingInterval": "00:00:01",
"samplingInterval": "00:00:00.5000000"
},
{
"nodeId": "nsu=KEPServerEX;s=Simulation Examples.Functions.Ramp6",
"publishingInterval": "00:00:01",
"samplingInterval": "00:00:00.5000000"
},
{
"nodeId": "nsu=KEPServerEX;s=Simulation Examples.Functions.Ramp7",
"publishingInterval": "00:00:01",
"samplingInterval": "00:00:00.5000000"
},
{
"nodeId": "nsu=KEPServerEX;s=Simulation Examples.Functions.Ramp1",
"publishingInterval": "00:00:01",
"samplingInterval": "00:00:00.5000000"
},
{
"nodeId": "nsu=KEPServerEX;s=Simulation Examples.Functions.Ramp2",
"publishingInterval": "00:00:01",
"samplingInterval": "00:00:00.5000000"
},
{
"nodeId": "nsu=KEPServerEX;s=Simulation Examples.Functions.Ramp3",
"publishingInterval": "00:00:01",
"samplingInterval": "00:00:00.5000000"
},
{
"nodeId": "nsu=KEPServerEX;s=Simulation Examples.Functions.Ramp8",
"publishingInterval": "00:00:01",
"samplingInterval": "00:00:00.5000000"
}
]
}

@aleducq, can you please try the same setup with our latest release, 2.7.206 ?

@aleducq, can you please try the same setup with our latest release, 2.7.206 ?

Hello @karok2m , In fact we couldn't use this version because the only release validated by PTC for OPC UA encapsulation is the 2.7.182...
By curiousity, I've tried the 2.7.199 (which is in the approval process on PTC side) on the test PC environment and it seems OK. The gateway communicate only on 443 port.
Regarding the DataSetWriter connection issue, it was due to the fact that the JobOrchestratorUrl property was empty despite the fact that we've setted it correctly in the aiiot.yaml. Restarting the pod aiiot-sync has correct this and the connection has been made correctly.

Hello @karok2m , In fact we couldn't use this version because the only release validated by PTC for OPC UA encapsulation is the 2.7.182...
By curiousity, I've tried the 2.7.199 (which is in the approval process on PTC side) on the test PC environment and it seems OK. The gateway communicate only on 443 port.
Regarding the DataSetWriter connection issue, it was due to the fact that the JobOrchestratorUrl property was empty despite the fact that we've setted it correctly in the aiiot.yaml. Restarting the pod aiiot-sync has correct this and the connection has been made correctly.


Fix file origin for packfile upload

Fixes #449

@dpuccetti I can't assign you to the review but this should fix the frontend origin bug.

It does really need much of a review so I'll probably merge when CI is green.


[VS Code] Add/rename/remove file operations may not be seen by guests when the host uses a case sensitive filesystem (e.g Linux)

Product: VS Code (1.22, 1.23)
Live Share Version: 0.3.93
OS: Linux, in rare cases macOS
Live Share's new support propagating add, rename, or delete operations to and from guests  works reliably on case insentive filesystems like those found on Windows machines and the majority of macOS machines. However, when used with case sensitive file systems like those typically used with Linux (and occasionally macOS), the feature can fail to propagate changes correctly.
This happens because part of the infrastructure Live Share uses appears to force paths to lower case, so if you have an upper case letter somewhere in the path to a file (e.g. /home/myuser/Repos/myproject/myfile.js), the system does not always recognize that a file or folder was actually created/deleted/renamed.
This does not happen if all folders and files in the path are lower case (/home/myuser/repos/myproject/myfile.js) and or on filesystems without case sensitivity (NTFS and typical use of APFS, HFS+). It is exclusive to those that are case sensitive (typical for ext2/3/4) with a capital letter somewhere in the path.

Note: The default filesystem on used on Macs is case insensitive, but you can verify you are not running a case sensitive filesystem by executing this command in a terminal seeing if the value for "Name (User Visible)" mentions being case sensitive: diskutil info / | grep Name

This seems critical for the user experience. Making a change, but having it silently fail will lead to much frustration.

@brookr Agreed. It was a late discovered issue specific to case sensitive filesystems, so we're definitely looking to resolve it.

This issue has been resolved with the 0.3.198 release that went out this afternoon. If folks could update to that, and let us know if they're still experiencing issues, that would be great!


#29: Restorable Fragments

Issues covered: #29 #4

This PR should also fix the app restoration after death in the background. To emulate this case you need to:

Minimize the app

Run: adb shell am kill space.taran.arknavigator

https://user-images.githubusercontent.com/85668474/143684877-329b1a1c-468f-4cc2-b220-840e33fc59aa.mp4

App gets crashed opening huge file:
ark170.txt
App gets crashed when do faster scrool and click on tag:
ark170(1).txt

Not sure if these bugs are related to these changes.
I have already created an issue for crashing when drawing a large bitmap. #139
Please create an issue for crash with fast scrolling.

Log is huge, because adding in as txt file.
Steps what we have here in video from @mdrlzy , crash app. Build 181
logFor153.txt

This is expected behavior since build 181 is the main branch.
java.lang.RuntimeException: Unable to start activity ComponentInfo{space.taran.arknavigator/space.taran.arknavigator.ui.activity.MainActivity}: androidx.fragment.app.Fragment$InstantiationException: Unable to instantiate fragment space.taran.arknavigator.ui.fragments.ResourcesFragment: could not find Fragment constructor

@vedranqa are you sure this is build 181 (main branch)?
I am not sure that I saw such an exception, but I haven't been testing fragments restoration for a while.

@mdrlzy issue itself look to be fixed, I haven't been looking deeper.
What I noticed randomly is that we leave full-screen mode after screen rotation in Gallery view.

Good job


Clicking on spelling suggestion inside a  doesn't correct the misspelled text

I'm using electron-editor-context-menu to show spelling suggestions inside a webview (using a preload script, see here: https://github.com/electron/electron/pull/942#issuecomment-68074516).  Everything works correctly except that the spelling suggestions do not replace the misspelled text when they are selected in the context menu.  I'm fairly certain this functionality was working prior to a refactor that resulted in me moving my application into a webview.

I've been meaning to test this more and PR it but replacing this line https://github.com/mixmaxhq/electron-editor-context-menu/blob/master/src/index.js#L102
with this:
remote.getCurrentWebContents().webContents.replaceMisspelling(suggestion);

works for me in a webview.

Oh neat find @ccnokes! I'd take a PR for that.


RTCPeerConnection.setLocalDescription() without arguments

The Perfect Negotiation document says that the set local description method shouldn't receive a argument for a perfect negotiation.
Is this feature already on the roadmap?

Not on the roadmap at the moment, but part of what you mentioned is implemented i.e. you can pass an argument to set_local_description with an empty sdp field and it will re-use the last offer but it will not detect the need to generate a new offer.

If anyone wishes to implement support for this the details are available here:
https://w3c.github.io/webrtc-pc/#dom-peerconnection-setlocaldescription

I've managed to achieve a connection using "perfect negotiation" scheme using my implementation: https://github.com/zduny/webrtc/commit/5ceff6ad826c37bd751ba9dc7104fbbc0e5fad33#diff-7df0115dc6a55f713e6ad5ede4c7808165f5f0f12e2447091ca989dbbf11dbeb
But TBH have no idea if it is fully compliant with the specs...

Also, the existing logic in check_next_signaling_state does not permit rollbacks from RTCSignalingState::HaveLocalOffer. The attached patch below fixes this so it's possible to manually set the local description to type Rollback, which is valid according to:
https://w3c.github.io/webrtc-pc/#set-the-session-description
From f5635c18e1122af4499fe32af3b651fc527d30af Mon Sep 17 00:00:00 2001
From: Dimitri<EMAIL_ADDRESS>Date: Thu, 11 Jan 2024 09:36:11 -0800
Subject: pc/signaling-state: support rollbacks for have local offer

---
 webrtc/src/peer_connection/signaling_state.rs | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/webrtc/src/peer_connection/signaling_state.rs b/webrtc/src/peer_connection/signaling_state.rs
index 2edd613b..bca7716d 100644
--- a/webrtc/src/peer_connection/signaling_state.rs
+++ b/webrtc/src/peer_connection/signaling_state.rs
@@ -156,11 +156,20 @@ pub(crate) fn check_next_signaling_state(
                     }
                     _ => {}
                 }
-            } else if op == StateChangeOp::SetLocal
-                && sdp_type == RTCSdpType::Offer
-                && next == RTCSignalingState::HaveLocalOffer
-            {
-                return Ok(next);
+            } else if op == StateChangeOp::SetLocal {
+                match sdp_type {
+                    RTCSdpType::Offer => {
+                        if next == RTCSignalingState::HaveLocalOffer {
+                            return Ok(next);
+                        }
+                    },
+                    RTCSdpType::Rollback => {
+                        if next == RTCSignalingState::Stable {
+                            return Ok(next);
+                        }
+                    }
+                    _ => {}
+                }
             }
         }
         RTCSignalingState::HaveRemotePranswer => {
--
cgit v1.2.3

Now, the call to peer_connection.set_local_description with a SDP of type rollback will be accepted!
This also seems to solve my perfect negotiation problems, but as @zduny said: I'm not sure if this is 100% compliant with the specification (e.g. maybe there needs to be more work destroying listeners, etc. on rollback to the stable state?), but it gets me past my current block.
Also, currently, there is no way to create an SDP of type rollback, so I'm using this hack to get around that (I may make another patch to remove this dummy_sdp string from my code though):
let rollback_sdp = {
  let dummy_sdp = "v=0\r\no=-<PHONE_NUMBER>91585089 442572738 IN IP4 <IP_ADDRESS>\r\ns=-\r\nt=0 0\r\na=fingerprint:sha-256 BC:AC:A4:A4:76:A1:0F:E8:0A:97:BA:37:AD:02:44:72:A3:A4:03:6C:53:37:CA:26:54:AB:E7:BA:4A:D5:3C:9D\r\na=group:BUNDLE 0\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 <IP_ADDRESS>\r\na=setup:actpass\r\na=mid:0\r\na=sendrecv\r\na=sctp-port:5000\r\na=ice-ufrag:fbwPVDMJduBiMCbV\r\na=ice-pwd:HuwKsQYkDRogpMHUmXHkLOCLQzoiSQtY\r\n";
  let mut s = RTCSessionDescription::offer(dummy_sdp.into())?;
  s.sdp_type = RTCSdpType::Rollback;
  s
};

peer_connection.set_local_description(rollback_sdp).await?;

Is there any update on this? Perfect negotiation seems to be the standard pattern for making robust connections, so would be great if it could be supported out of the box.

Update to the patch from this answer for the latest changes (desc.sdp.clone_from function usage).

View patch
diff --git a/webrtc/src/peer_connection/mod.rs b/webrtc/src/peer_connection/mod.rs
index 9f99e18b..fd7e829a 100644
--- a/webrtc/src/peer_connection/mod.rs
+++ b/webrtc/src/peer_connection/mod.rs
@@ -1225,22 +1225,25 @@ impl RTCPeerConnection {
             current_local_description.is_some()
         };

-        // JSEP 5.4
-        if desc.sdp.is_empty() {
-            match desc.sdp_type {
-                RTCSdpType::Answer | RTCSdpType::Pranswer => {
-                    let last_answer = self.internal.last_answer.lock().await;
-                    desc.sdp.clone_from(&last_answer);
-                }
-                RTCSdpType::Offer => {
-                    let last_offer = self.internal.last_offer.lock().await;
-                    desc.sdp.clone_from(&last_offer);
+        if desc.sdp_type != RTCSdpType::Rollback {
+            // JSEP 5.4
+            if desc.sdp.is_empty() {
+                match desc.sdp_type {
+                    RTCSdpType::Answer | RTCSdpType::Pranswer => {
+                        let last_answer = self.internal.last_answer.lock().await;
+                        desc.sdp.clone_from(&last_answer);
+                    }
+                    RTCSdpType::Offer => {
+                        let last_offer = self.internal.last_offer.lock().await;
+                        desc.sdp.clone_from(&last_offer);
+                    }
+                    _ => return Err(Error::ErrPeerConnSDPTypeInvalidValueSetLocalDescription),
                 }
-                _ => return Err(Error::ErrPeerConnSDPTypeInvalidValueSetLocalDescription),
             }
+
+            desc.parsed = Some(desc.unmarshal()?);
         }

-        desc.parsed = Some(desc.unmarshal()?);
         self.set_description(&desc, StateChangeOp::SetLocal).await?;

         let we_answer = desc.sdp_type == RTCSdpType::Answer;
diff --git a/webrtc/src/peer_connection/sdp/session_description.rs b/webrtc/src/peer_connection/sdp/session_description.rs
index 7c8bc15e..38612aeb 100644
--- a/webrtc/src/peer_connection/sdp/session_description.rs
+++ b/webrtc/src/peer_connection/sdp/session_description.rs
@@ -74,6 +74,18 @@ impl RTCSessionDescription {
         Ok(desc)
     }

+    /// Create a rollback RTCSessionDescription that can be given to
+    /// an RTCPeerConnection.
+    pub fn rollback() -> Result<RTCSessionDescription> {
+        let desc = RTCSessionDescription {
+            sdp: "".into(),
+            sdp_type: RTCSdpType::Rollback,
+            parsed: None,
+        };
+
+        Ok(desc)
+    }
+
     /// Unmarshal is a helper to deserialize the sdp
     pub fn unmarshal(&self) -> Result<SessionDescription> {
         let mut reader = Cursor::new(self.sdp.as_bytes());
diff --git a/webrtc/src/peer_connection/signaling_state.rs b/webrtc/src/peer_connection/signaling_state.rs
index 82d39c01..cc6b9cb1 100644
--- a/webrtc/src/peer_connection/signaling_state.rs
+++ b/webrtc/src/peer_connection/signaling_state.rs
@@ -164,11 +164,20 @@ pub(crate) fn check_next_signaling_state(
                     }
                     _ => {}
                 }
-            } else if op == StateChangeOp::SetLocal
-                && sdp_type == RTCSdpType::Offer
-                && next == RTCSignalingState::HaveLocalOffer
-            {
-                return Ok(next);
+            } else if op == StateChangeOp::SetLocal {
+                match sdp_type {
+                    RTCSdpType::Offer => {
+                        if next == RTCSignalingState::HaveLocalOffer {
+                            return Ok(next);
+                        }
+                    },
+                    RTCSdpType::Rollback => {
+                        if next == RTCSignalingState::Stable {
+                            return Ok(next);
+                        }
+                    }
+                    _ => {}
+                }
             }
         }
         RTCSignalingState::HaveRemotePranswer => {


Create documentation, e.g. blog post for "migrating existing WAR module to stack"

A good portion of the https://openliberty.io/guides/ projects use single WAR module repos and could have our devfile added to them to enable k8s execution with little or no effort.
Some of them focus specifically on Docker or deploying to k8s with other techniques, so I don't include them in this, but most of the others could serve as the base for a new article on "migrating" to our stack, showing how easy it is.

Our simple doc: https://draft-openlibertyio.mybluemix.net/blog/2021/04/01/open-liberty-devfile-stack-minikube.html   describes this at a basic level, by pointing to a branch that doesn't have a devfile.
I'll close this for this go-around...and we can reopen if necessary.


Add S3 sink documentation

Fixes #4157
Checklist

[x] By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Thanks @Naarcha-AWS for making the plugin documentation more consistent!


Files changing...

VSCode Version: Code 1.5.3 (5be4091987a98e3870d89d630eb87be6d9bafd27, 2016-09-22T08:40:08.699Z)
OS Version: Linux x64 4.4.0-38-generic

I haven't really found a pattern to it yet but sometimes when I change focus to a different tab, the code in the new tab copies to the tab I just left.  This is a real problem as you can imagine.  All of the sudden my code/servers just crash because vscode replaced chunks of code it wasn't supposed to.  What's worse is it doesn't always change the entire file, sometimes just parts of it are changed which means time wasted on debugging.  Usually Ctrl z can reverse this pretty quickly but the file changes are very disturbing.  I may have to go back to vim...but I'd rather use this tool.
Regards, Jp Gaines

Caused by extensions that have the ability to apply formatting when saving a file.
In VS Code 1.6.0 added new API that corrects this problem. See https://github.com/Microsoft/vscode-docs/blob/vnext/release-notes/v1_6.md#new-apis (onWillSaveTextDocument). The extension author should to use this API instead of currently solution, but after release 1.6.0.

@mrmlnc is likely correct. Try tweaking your extensions, please let us know if you can reproduce when launching vscode via code --disable-extensions

Fyi, if I use the replace all tool built into the side bar and the go to the menu bar file - save all, new code will appear on what ever screen I'm currently on.  Just happened...


Support for attribute grouping to aid in statement completion in editors

In cases where a Tag Helper has multiple attributes that must be used together to correctly configure and thus enable a particular function, it would be useful to be able to indicate this grouping so that editors could suggest that use of one attribute requires another.
We tend not to throw runtime exceptions in Tag Helpers for these cases so as to not add extra "overhead" to the normal flow of using HTML & C# together, aka normal Razor.
Some suggested approaches:
// This approach allows any property to be associated with another (its partners) via an attribute.
// Only one property in any given set needs to be decorated with the attribute, the inverse relationship is implied.
public class MyTagHelper : TagHelper
{
    [PartnerAttributesHint("category")]
    public string Name { get; set; }
    public string Category { get; set; }
    ...
}

// This attribute allows sets of attributes to be declared on the class, with the HTML attribute names passed in.
// Multiple sets would be supported on the class.
[AttributeSetHint("name", "category")]
public class MyTagHelper : TagHelper
{
    public string Name { get; set; }
    public string Category { get; set; }
    ...
}

// This approach allows any property to be added to an arbitrary attribute set by name.
// The name itself isn't important, they just need to be consistent across the properties in that set.
public class MyTagHelper : TagHelper
{
    [AttributeSetHint("set1")]
    public string Name { get; set; }
    [AttributeSetHint("set1")]
    public string Category { get; set; }
    ...
}

Example 2 seems the most clear but the properties are not strongly bind.
So I prefer option 3.
Let assume I create a more advanced version of de linkTagHelper.
MS version would look something like
        AttributeSetHint("MS")
        [HtmlAttributeName("asp-fallback-test-class")]
        public string FallbackTestClass { get; set; }

        AttributeSetHint("MS")
        [HtmlAttributeName("asp-fallback-test-property")]
        public string FallbackTestProperty { get; set; }

        AttributeSetHint("MS")
        [HtmlAttributeName("asp-fallback-test-value")]
        public string FallbackTestValue { get; set; }

        AttributeSetHint("MS")
        [HtmlAttributeName("asp-fallback-href")]
        public string FallbackSrc { get; set; }

My version ensure that there is always a fallback at a predefined location.
        AttributeSetHint("My")
        [HtmlAttributeName("asp-fallback-test-class")]
        public string FallbackTestClass { get; set; }

        AttributeSetHint("My")
        [HtmlAttributeName("asp-fallback-test-property")]
        public string FallbackTestProperty { get; set; }

        AttributeSetHint("My")
        [HtmlAttributeName("asp-fallback-test-value")]
        public string FallbackTestValue { get; set; }

At this moment in beta 6. the href will be removed and give a warning about missing attributes.
This is more a implementation problem.
I think both sets should be possible and be vallid in one application.


job_conf.xml.docker_sample - tools to use more threads/cores

Dear Bjorn,
as I'm not knowledgeable how this particular docker image works. Can you make tutoring on how to modify the job_conf.xml.docker_sample so I can set the tools to use more than 1 core/thread/task , as I have 16 cpu system? (e.g. for example want to run bowtie with 8 cpu)

You just need to edit the job_conf.xml file. Put it under /export/galaxy-dist/config/job_conf.xml.

Unfortunately the  job_conf.xml.docker_sample which is I think currently in use by Galaxy looks very different to me and I do not know which parameter to tweak to accomplish that?
`

--ntasks=1 --share

False
False

$defaults

vanilla

</destinations>
<limits>
</limits>`

Is it --ntasks=1 parameter? If I set it up to --ntasks=8 And defind tools to use destination "slurm_cluster" is that will be sufficient?

You'll need to set both --ntasks=8 and the request_cpus line:
<destination id="slurm_cluster" runner="slurm">
    <param id="request_cpus">8</param>
    <param id="embed_metadata_in_job">False</param>
    <param id="nativeSpecification">-n 8 --share</param>
    <env file="/galaxy_venv/bin/activate"/>
</destination>

That's the gist, though keep in mind that /galaxy_venv/bin/activate needs to be present on the cluster nodes.

This still works and we should be able to integrate also TPV into the container. Something we will work on soon.


usb: device_next: add BT HCI USB transport layer

Add Bluetooth HCI USB transport layer implementation for the new USB device support,
porting of subsys/usb/device/class/bluetooth.c without H4 bloat.

Cherry-picked first commit from #53998 and added interface descriptor for ISO endpoints (still unused).


Attempt to delete a broken container failed with a strange message "no such container"

Attempted to run a container. During download, an error occurred.
An attempt to delete it causes one more error:

no such container
404
no such id: fedora

Is it possible to somehow remove a broken container?

@leo-from-spb Yes, it should be removed by restarting Kitematic.
Regarding the 404 problem - I will merge this with the bug report that we've had.
#1030
Thanks!


feat(vtfpp): EXR support

Trued and tested. However. Because I have no knowledge on how that works. It's missing any required licensing information for TinyExr.


fingerPrintAio issue

I am working on ionic 3 hybrid project in that I am using fingerprintaio plugin for fingerprint authentication. I am facing issue, following are the scenario:
**- At device level, passcode is TURNED ON

No fingerPrint is enrolled/available**

The function isAvailable() present at plugin does not return error message or flag for no fingerPrints are enroll.
please suggest me on this.

This issue does not seem related with ionic angular, but an cordova plugin, the issue might be better reported here: https://github.com/ionic-team/ionic-native
Thanks!


What is possible using bindings files?

Hi,
I didnt find another way to contact you. This is why I ask you this question here.
I am trying to generate Java-stubs from a DTD file. The problem is that i get ugly
List studentOrTeacherOrProfOr... class members.
I didnt find a way using the mojo... plugin so I tried your plugin, because I saw the binding files for DTD.
In your hibernate DTD example you rename the "class" DTD element to a "Clazz" Java class.
Is it only possible to rename things at generation time?
If there is a way to split the above example into 3 member variables it would be great.
Hope you can help me!
best regards

Didnt find a way to mark it as a question.. :(

Check the simplify plugin:
https://github.com/highsource/jaxb2-basics/wiki/JAXB2-Simplify-Plugin
I think it should do exactly what you want.

Thanks for the fast answer. It is exactly what I want to do. But I am completely confused now?
Right now I have a xxxx.xjb with:

        ...

		...

        ....

The simplify plugin needs a *.xjb file with something like:
<jaxb:bindings
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:simplify="http://jaxb2-commons.dev.java.net/basic/simplify"
jaxb:extensionBindingPrefixes="simplify">
...
<jaxb:bindings node="xs:complexType[@name='typeWithElementsProperty']/xs:choice">
simplify:as-element-property/
</jaxb:bindings>
...
</jaxb:bindings>
I only have a DTD file which means no types. How can I tell the binding which element it should take?! Or do I have to just set the '@name'?

Another problem is where do I set the location of the bindings file?
<plugin>
    <groupId>org.jvnet.jaxb2.maven2</groupId>
    <artifactId>maven-jaxb2-plugin</artifactId>
    <version>0.12.3</version>
    <executions>
      <execution>
        <id>v213</id>
        <goals>
          <goal>generate</goal>
        </goals>
        <configuration>
          <generateDirectory>src/main/gen_v213</generateDirectory>
          <schemas>
            <schema>
              <fileset>
                <directory>src/main/resources/dtd/v213</directory>
                <includes>
                  <include>TradeXML.dtd</include>
                </includes>
              </fileset>
            </schema>
          </schemas>
          <schemaLanguage>dtd</schemaLanguage>
          <!-- <bindingIncludes> <include>src/main/resources/xjb/v213.xjb</include> </bindingIncludes> -->
        </configuration>
      </execution>
      <execution>
        <id>v123</id>
        <goals>
          <goal>generate</goal>
        </goals>
        <configuration>
          <generateDirectory>src/main/gen_v123</generateDirectory>
          <schemas>
            <schema>
              <fileset>
                <directory>src/main/resources/dtd/v123</directory>
                <includes>
                  <include>TradeXML.dtd</include>
                </includes>
              </fileset>
            </schema>
          </schemas>
          <schemaLanguage>dtd</schemaLanguage>
          <!-- <bindingIncludes> <include>src/main/resources/xjb/v123.xjb</include> </bindingIncludes> -->
        </configuration>
      </execution>
    </executions>
  </plugin>

At every place I tried to add the bindingIncudes the  tag says: Cannot find getter/setter or field "bindingIncludes" ...

The maven problem is no more...
<plugin>
    <groupId>org.jvnet.jaxb2.maven2</groupId>
    <artifactId>maven-jaxb2-plugin</artifactId>
    <version>0.12.3</version>
    <executions>
      <execution>
        <id>v213</id>
        <goals>
          <goal>generate</goal>
        </goals>
        <configuration>
          <generateDirectory>src/main/gen_v213</generateDirectory>
          <schemas>
            <schema>
              <fileset>
                <directory>src/main/resources/dtd/v213</directory>
                <includes>
                  <include>TradeXML.dtd</include>
                </includes>
              </fileset>
            </schema>
          </schemas>
          <bindings>
            <binding>
              <fileset>
                <directory>src/main/resources/xjb</directory>
                <includes>
                  <include>v213.xjb</include>
                </includes>
              </fileset>
            </binding>
          </bindings>
          <schemaLanguage>dtd</schemaLanguage>
        </configuration>
      </execution>
      <execution>
        <id>v123</id>
        <goals>
          <goal>generate</goal>
        </goals>
        <configuration>
          <bindings>
            <binding>
              <fileset>
                <directory>src/main/resources/xjb</directory>
                <includes>
                  <include>v123.xjb</include>
                </includes>
              </fileset>
            </binding>
          </bindings>
          <generateDirectory>src/main/gen_v123</generateDirectory>
          <schemas>
            <schema>
              <fileset>
                <directory>src/main/resources/dtd/v123</directory>
                <includes>
                  <include>TradeXML.dtd</include>
                </includes>
              </fileset>
            </schema>
          </schemas>
          <schemaLanguage>dtd</schemaLanguage>
          <extension>true</extension>
          <args>
            <arg>-Xsimplify</arg>
          </args>
          <plugins>
            <plugin>
              <groupId>org.jvnet.jaxb2_commons</groupId>
              <artifactId>jaxb2-basics</artifactId>
              <version>0.9.4</version>
            </plugin>
          </plugins>

        </configuration>
      </execution>
    </executions>
  </plugin>

Ah, you've got DTD... I'm afraid JAXB does not process customizations on DTDs. Or at least I don't know the syntax.
Theoretically the simplify plugin could be extended to support other ways of customization - or "simplify everything automatically".
But I would really recommend to consider converting DTD to XSD. You'll get less trouble at the end.

Unfortunately thats no option...
I converted my dtd in xsd with trang. But generating java stubs from this xsd gives me resolution errors because there are several Entities with the same name...


Crash on World Generation with Bonus Chest

Game crashes when creating a world with "Bonus Chest" enabled: Crash Report

Should be fixed in next release, dupe of #221 and #219
Thank you for at describing the conditions under which this occurs though, is very helpful comparatively.

Thank you for the quick reply. I will check the existing issues in the future.

No problem!


non-non breaking space used

$ perl6 xt/perl-nbsp.t 2>/dev/null | grep "not ok"
not ok 23 - doc/Language/io-guide.pod6 (line 232): Perl followed by a version should have a single non-breaking space.

It's from a code snippet that could be using a nbsp (or not using the literal "Perl 6")

Another lack of nbsp added in 6cdbe86624c4f5f974aa9b798b69a86612a080a1

IMO code snippets should be exempt from this rule. Just too much potential for users copying the examples, modifying the code, and getting surprising results due to the hidden nbsp.

Or the example could be rewritten to avoid the use of "Perl 6", which is much easier, although I agree, not ideal.

Code example or not, Perl 6 is Perl 6.


Pulled

Be sure to check the existing issues (both open and closed!), and make sure you are running the latest version of Pipenv.
If you're requesting a new feature, please use the PEEP process:
https://github.com/pypa/pipenv/blob/master/peeps/PEEP-000.md

Check the diagnose documentation for common issues before posting! We may close your issue if it is very similar to one of them. Please be considerate, or be on your way.
Make sure to mention your debugging experience if the documented solution failed.
Issue description
Describe the issue briefly here.
Expected result
Describe what you expected.
Actual result
When possible, provide the verbose output (--verbose), especially for locking and dependencies resolving issues.
Steps to replicate
Provide the steps to replicate (which usually at least includes the commands and the Pipfile).

Please run $ pipenv --support, and paste the results here. Don't put backticks (`) around it! The output already contains Markdown formatting.
If you're on macOS, run the following:
$ pipenv --support | pbcopy

If you're on Windows, run the following:
> pipenv --support | clip

If you're on Linux, run the following:
$ pipenv --support | xclip

Please follow the issue template to describe your problem.


Added a signal connection to update buses editor on "bus_layout_changed"

Hello,
This is my first PR ever so I am nervous and call for patience.
I have an issue #68056 open and discovered that I had even worse problems when deleting a bus while the audio editor tab was running.
Therefore, I changed godot source and added a connection to bus_layout_changed in the bus editor to update each time.
It works like a charm here so I would love to have some peer review about this.
And why not integrate it as my first contribution to the engine? (as soon as any relevant problem has been fixed of course)
Thank you for your work, and help,
atn
Bugsquad edit: Fix #68056

I am so sorry about this :'(
Hopefully this will work now

This is actually the first time I squashed anything ever. I hope this is fine !
Anyway, I had to learn a lot, which is a good thing...

I hope this is fine

Nope, this is not valid PR any more. Fix it or recreate.

Yeah, looks correct now.

Thanks!


Bring back "Update for clang dependency scanning API change"

Round 2 cherry-pick of https://github.com/apple/swift/pull/64909

https://github.com/apple/llvm-project/pull/6614
@swift-ci please test


Enable default value for solr.authority.server

References

Fixes #8177

Description
Simply enables solr.authority.server by default.  Corrects the comments around it to make it clear that this setting is no longer specific to ORCID authority control.
Instructions for Reviewers

Reproduce the error stacktrace noted in #8177 on main
Install this PR, and verify that error no longer is logged.

@abollini : Assigning this to you as it's related to your teams work to index workspace/workflow/tasks into Solr in #2391.  It appears semi-related to an older issue (#7549) you logged.  I could not find an easy way around this bug via code, and it seemed easiest to just ensure this configuration is enabled by default (just like all other Solr index configurations are enabled by default).

https://github.com/DSpace/DSpace/issues/7549 is not related to that. The bug is about the fact that the DSpace authorities are not necessary a SOLRAuthority

@abollini : Good point, I've moved the solr.authority.server setting to solrauthority.cfg where it rightly belongs.  Please give this another look when you have a chance.


Angular CLI generates a wrong package.json with Node 16.4.0

Which @angular/* package(s) are the source of the bug?
Don't known / other
Is this a regression?
Yes
Description
Hello everyone!
I would like to report you an error I'm having every time I generate a project with Angular Cli.
Each time I run ng new angular-project-name --create-application --interactive --package-manager=npm --routing --style=scss I have to add  --skip-install because of invalid dependencies.
Next, when I execude npm i I get an error as below.
When I run ng version I get a warning that says "Warning: The current version of Node (16.4.0) is not supported by Angular.".
Am I getting this error because of my version of Node ?
Should I use a different version of Node?
Thank you a lot!
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/jasmine-core
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/karma-jasmine-html-reporter
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /home/sasha/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/sasha/.npm/_logs/2021-12-16T16_00_51_789Z-debug.log

Please provide the environment you discovered this bug in (run ng version)
Angular CLI: 12.1.0
Node: 16.4.0 (Unsupported)
Package Manager: npm 7.18.1
OS: linux x64

Angular: <error>
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1201.0 (cli-only)
@angular-devkit/build-angular   <error>
@angular-devkit/core            12.1.0 (cli-only)
@angular-devkit/schematics      12.1.0 (cli-only)
@angular/cli                    12.1.0 (cli-only)
@schematics/angular             12.1.0 (cli-only)
rxjs                            6.6.7 (cli-only)
typescript                      <error>

Warning: The current version of Node (16.4.0) is not supported by Angular.

Anything else?
No response

Thanks for reporting this issue. Luckily, it has already been fixed in one of the recent releases. Please update to the most recent version to resolve the problem.
If the problem persists in your application after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior. You can use ng new repro-app to create a new project where you reproduce the problem.

Oh, okay, thank you a lot !


Allow installing Symfony 4

#SymfonyConHackday2017

👍

As the project seems not to be maintained anymore, but I really like it, could e.g. you @alcaeus distribute your fork over composer? to continue the Bundle, quasi as a new product?


Can't set SSH private key through environment variable

The only supported GitHub authentication method is via username/password or personal token, which isn't ideal - I don't want Wiki.js to have full access to every repository in my account, and I don't want my personal credentials available to everyone with access to the Heroku app's settings.
It'd be better to be able to set the SSH private key as an environment variable, so I can give Wiki.js a specific deploy key.

I'd like to second this. I use bitbucket cloud as my git provider and they don't even support PAT's. Furthermore, the wiki.js docs here say that the git.auth.privateKey value should be

(ssh only) The full path to the private key (.pem) to use when authenticating with your Git repository

but yeah ... I don't want to commit my private key to the repo either.

So there is no way to install the SSH key on the Heroku environment ?


Layout/ClassStructure and private constants

I believe the following code should not raise an offense:
class Foo
  def foo
  end

  BAR = 42
  private_constant :BAR

  def bar
    # use BAR
  end
end

This is made worse by autocorrection that only moves the constant and not the private_constant just following it.

@marcandre Note on this issue. Ruby also has public_constant. Those lines of codes are totally valid.
class Hello
  BAR = 10
  private_constant :BAR

  private

  FOO = 10
  public_constant :FOO
end

In this case, I think the behavior would be:

Ignore constants which have private_constant calls somewhere.
Add offeneses when meet normal constants or constants with public_constant.

Similarly, methods have the same methods, including: private, public, private_class_method, public_class_method. However, I think that methods would be their own places, the same as normal private/public method. So, those cases would be caught.
class A
  class << self
    def a_public_class_method; end

    private

    def a_private_class_method; end
  end

  public_class_method :a_private_class_method
  private_class_method :a_public_class_method

  def a_public_method; end

  private :a_public_method

  def another_public_method; end

  private

  def a_private_method; end

  public :a_private_method
end

A.a_private_class_method
A.new.a_private_method

A.new.another_public_method

A.a_public_class_method # Raise exception
A.new.a_public_method # Raise exception

Should we tackle them too? I would love to work on this.

Sorry I didn't reply earlier.

I would not deal with methods and constants in the same cop.
private does not influence the visibility of constants. The only use of public_constant is to change the visibility of a constant that was made private with private_constant.
I don't know the multiple cops we have, there's probably one to add offenses for constants defined after a private that lack a private_constant, but I'm not sure; that could be useful.

If you want to work on this, I would recommend to first address this current issue, where Layout/ClassStructure should ignore constants that are made private with private_constant. Interested?

@marcandre - Is this still an issue? I tried to recreate this, but there were no offense generated for the stated code.

Definitely an issue. I have a big PR that I need to complete, which addresses this: https://github.com/rubocop/rubocop/pull/9575

@marcandre  Just for my clarity. So this is what i am doing and I am unable to recreate the issue :

Forked repo, build rubocop using gem build - master branch
Installed the rubocop i built and ran it for the followed file:

class Foo
  def foo
  end

  BAR = 42
  private_constant :BAR

  def bar
    # use BAR
  end
end

Rubocop output:
layout_class_structure.rb:1:1: C: Style/Documentation: Missing top-level class documentation comment.
class Foo
^^^^^
layout_class_structure.rb:1:1: C: [Correctable] Style/FrozenStringLiteralComment: Missing frozen string literal comment.
class Foo
^
layout_class_structure.rb:2:3: C: [Correctable] Style/EmptyMethod: Put empty method definitions on a single line.
  def foo ...
  ^^^^^^^

System info:
❯ ruby -v
ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-darwin19]                                                                                /0.0s
❯ rubocop -v
1.17.0

@thearjunmdas Thanks for checking. I'm not sure what the default is anymore (and too 😴 to check). Probably my example should be updated, but I still believe ClassStructure cop does not have any idea of what a private constant is. It's actually quite tricky to do. My PR handles it.

@marcandre - Thanks for the response. I guess your PR should do, I am new to the repo, so was wondering if i was going about it the right way. Thanks again :D Also i decided to give Recognize shareable_constant_value magic comment in Style/MutableConstant a shot as my first issue.


Can't build with rustc 1.36.0-nightly (3f5152e20 2019-05-08)

Question
Help me!
Why can't this be built?
I did not know the cause...
Additional context
Cargo.toml
[package]
name = "tide_example"
version = "0.1.0"
authors = ["k-nasa<EMAIL_ADDRESS>edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
tide = { git = "https://github.com/rustasync/tide" }

cargo build
   Compiling tide v0.2.0 (https://github.com/rustasync/tide#bdc9fdf0)
error[E0437]: type `ResponseFuture` is not a member of trait `HttpService`
   --> /Users/nasa/.cargo/git/checkouts/tide-d8df193c9a60972c/bdc9fdf/tide/src/app.rs:281:5
    |
281 |     type ResponseFuture = BoxFuture<'static, Result<http_service::Response, std::io::Error>>;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `HttpService`

error[E0220]: associated type `ResponseFuture` not found for `Self`
   --> /Users/nasa/.cargo/git/checkouts/tide-d8df193c9a60972c/bdc9fdf/tide/src/app.rs:287:70
    |
287 |     fn respond(&self, _conn: &mut (), req: http_service::Request) -> Self::ResponseFuture {
    |                                                                      ^^^^^^^^^^^^^^^^^^^^ associated type `ResponseFuture` not found

error: aborting due to 2 previous errors

Some errors have detailed explanations: E0220, E0437.
For more information about an error, try `rustc --explain E0220`.
error: Could not compile `tide`.

To learn more, run the command again with --verbose.

Add these to your Cargo.toml and they should be fixed.
[patch.crates-io]
http-service = { git = "https://github.com/rustasync/http-service", branch = "master" }
http-service-hyper = { git = "https://github.com/rustasync/http-service", branch = "master" }
http-service-mock = { git = "https://github.com/rustasync/http-service", branch = "master" }

@taiki-e I could build! Thank you


Docstring generation not working if the return type is an Annotated containing a function call

Issue Report Checklist

[x] Searched the issues page for similar reports
[x] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[x] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[ ] Tried basic troubleshooting (if a bug/error)

[x] Restarted Spyder
[ ] Reset preferences with spyder --reset
[ ] Reinstalled the latest version of Anaconda
[ ] Tried the other applicable steps from the Troubleshooting Guide

[x] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
If a function or method return type uses Annotated wit a function call docstring generation fails.
So def test(self) -> Annotated[str, int("2")]: fails while def test(self) -> Annotated[str, "2"]: works.
Fails in this case means does nothing (the shortcut produces only """ and if you type """ The generate docstring 'button' shows up but does nothing).
What steps reproduce the problem?

type in the examples
try to generate a docstring

What is the expected output? What do you see instead?
A docstring
No docstring
Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Versions

Spyder version: 4.2.1
Python version: 3.9.1
Qt version: 5.12.10
PyQt version: 5.12.3
Operating System name/version: Windows 10

Dependencies

PASTE DEPENDENCIES HERE

Hi @Richardk2n,
Can you please provide an example with the expected output?

Hi @Richardk2n,
Can you please provide an example with the expected output?

@steff456 In my opinion it should be:
def test(self) -> Annotated[str, int("2")]:
    """

    Returns
    -------
    Annotated[str, int("2")]
        DESCRIPTION.

    """

@steff456 In my opinion it should be:
def test(self) -> Annotated[str, int("2")]:
    """

    Returns
    -------
    Annotated[str, int("2")]
        DESCRIPTION.

    """

Also apperently what I wrote above is wrong def test(self) -> Annotated[str, "2"]: only "works" in so far as it generates a docstring, however the return type in that docsting is labeled as "None". This is as far as i can tell alwas the case, when there is a string literal in the annotated describing the return type.

Also apperently what I wrote above is wrong def test(self) -> Annotated[str, "2"]: only "works" in so far as it generates a docstring, however the return type in that docsting is labeled as "None". This is as far as i can tell alwas the case, when there is a string literal in the annotated describing the return type.

@ok97465, could you take a look at this one? Thanks!

@ok97465, could you take a look at this one? Thanks!

@ccordoba12  Sorry for the late reply. I'm in a very busy situation right now, so I can't make time. If my problem is solved, I will check this problem.

@ccordoba12  Sorry for the late reply. I'm in a very busy situation right now, so I can't make time. If my problem is solved, I will check this problem.

@ok97465, don't worry, there's no rush. I just wanted to let you know about this issue.

@ok97465, don't worry, there's no rush. I just wanted to let you know about this issue.

I think I'm having an issue that is related:
I'm using Google format for docstring
Here you can see with a normal function, it says Returns: None.
def func_w_dosctring(var, varb, some_list):
"""

  Args:
    var (TYPE): DESCRIPTION.
    varb (TYPE): DESCRIPTION.
    some_list (TYPE): DESCRIPTION.

  Returns:
    None.

  """
#
# a function with a docstring
#
  result = 42
#
  return result

For the repro I posted above, I found the issue:
if the opening triple quotes are not indented, it generates the docstring as shown with Returns; None.
if the opening triple quotes are indented, it works correctly.
Not sure if this is intended or valid behavior.


Please provide better examples for csp

Please provide better examples for CSP in the documentation, if I provide anything other than:
'self' => true I the result is an empty img-src value, this is true if I provide an array as well. for example using the example from paragonie/csp-builder with:
'self' => true,
'data' => true
my resulting policy only has self, data doesn't work at all. If I try to provide a domain, the same is true.

Hi @BePsvPT, how are you man?, i have troubles by adding the data attribute on:
'font-src' => ['data' => true]
img-src' => ['data' => true]
The 'data' attribute not works!
Can you help me?
Thanks!

Hi @dsingleton47 and @JohanMa4,
I have updated the document. If you have any suggestion, I will deeply appreciate your feedback.

Please improve Documents, the CSP part is very bad at understanding.
Could you give better examples of how to use CSP?

Hi @agenciatamandua,
If you can provide your requirements, I can include it in examples.


Made it so that sign up form shows before sign in form.

Created a recipes route. It doesn't work yet, but just getting the pieces in place. Also added home to the navigation bar.

We have made another step forward. Thank you for your work Candra!


free(): invalid pointer when using pyvips with Torch

Solution to issue cannot be found in the documentation.

[X] I checked the documentation.

Issue
The issue was initially reported here but according to the libvips authors and after my own investigation the issue only appears to affect the conda package.
Here is a detailed explanation of the issue:
Description
If I try to load a Torchscript model but I import Pyvips before doing so, I get an invalid pointer exception.

curl -Ls $MICROMAMBA_URL | tar -xvj bin/micromamba

ln -s /usr/bin/micromamba /usr/bin/mamba
ln -s /usr/bin/micromamba /usr/bin/conda
mamba config append channels defaults

export MAMBA_ROOT_PREFIX=/root/micromamba

micromamba shell init --shell=bash --prefix=/root/micromamba
source /root/.bashrc

conda.yml:
name: test
channels:
  - conda-forge
  - pytorch
  - nvidia
dependencies:
 - pytorch=2.0.1
 - cpuonly
 - pyvips=2.2.1
 - libvips=8.14.4

load_model.py:
import pyvips
import torch

model = torch.jit.load("./mymodel.pt")
print("I should be displayed if I didn't crash! Otherwise comment out the pyvips import")

save_model.py:
import torch

class MyDecisionGate(torch.nn.Module):
    def forward(self, x):
        if x.sum() > 0:
            return x
        else:
            return -x

scripted_gate = torch.jit.script(MyDecisionGate())
scripted_gate.save("./mymodel.pt")

When I run the script in the system env it works fine but if I use the conda env I get:
root@1b7fb756efa6:~# micromamba activate test
(test) root@1b7fb756efa6:~# python load_model.py
free(): invalid pointer
Aborted (core dumped)

Using conda or micromamba gives the same result.
Check the original post on the libvips repo, the authors seem to have clues on why this is happening.
Installed packages
channels:
  - conda-forge
  - pytorch
  - nvidia
dependencies:
 - pytorch=2.0.1
 - cpuonly
 - pyvips=2.2.1
 - libvips=8.14.4

Environment info
described in the Dockerfile

I can recreate with:
mamba create --name libvips87_mix --channel conda-forge --channel pytorch --channel nvidia --override-channels pytorch=2.0.1 cpuonly pyvips=2.2.1 libvips=8.14.4
conda activate libvips87_mix

I cannot recreate with
mamba create --name libvips87_cf_only --channel conda-forge  --override-channels pytorch=*=cpu* pyvips libvips
conda activate libvips87_cf_only

You are getting this error because you are mixing channels that are incompatible with conda-forge.
If you need this functionality, please raise an issue with pytorch and nvidia letting them know you want compatibility with conda-forge

I see, thank you, I did not know mixing up channels could result in segfaults/bad pointers like this.

yes, we should provide starker warnings.
we used to be compatible, which is why there is alot of confusion.
Why do you need their channels anyway? if you are on unix, we build pytorch fine.

This is the recommended way to install pytorch on their website. I need Pytorch to work with CUDA which is not something that I can get if I install from conda-forge:
>>> import torch
>>> torch.cuda.is_available()
False

Moreover conda-forge::pytorch packages are often a bit behind in terms of versions.

So I'm in a situation where I need to choose one or the other but I can't get both in the same env because of the bad pointer =/.

This is the recommended way to install pytorch on their website.

The would also recommend you stick to the python standard library.

I need Pytorch to work with CUDA which is not something that I can get if I install from conda-forge

pytorch                   2.0.0           cuda112py39ha9981d0_200    conda-forge

exists from conda forge. it should just get detected automatically.

Remove the pytorch and nvidia channels
Instally pytorch
profit.

Remove the pytorch and nvidia channels
Instally pytorch
profit.

lol, like I said above this is exactly what I did, it does not support CUDA, it's no use to me.
With the following conda.yaml:
name: test
dependencies:
 - conda-forge::pytorch=*=cpu*
 - conda-forge::pyvips=2.2.1
 - conda-forge::libvips=8.14.4
 - conda-forge::xorg-libxau

And the same Dockerfile as above:
$ docker run -it --gpus all vips_test bash
(test) root@97dd41307e94:/# nvidia-smi
Mon Sep 11 02:29:41 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.125.06   Driver Version: 525.125.06   CUDA Version: 12.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:01:00.0  On |                  N/A |
| N/A   45C    P8     8W / 175W |      1MiB / 16376MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+
root@97dd41307e94:/# micromamba activate test
(test) root@97dd41307e94:/# python
Python 3.11.5 | packaged by conda-forge | (main, Aug 27 2023, 03:34:09) [GCC 12.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> torch.cuda.is_available()
False

is there a reason you are adding *=cpu*? to the end of the pytorch package?

oh wait, my bad. Let me try again

$ mamba list pytorch
# packages in environment at /home/mark/mambaforge/envs/dev:
#
# Name                    Version                   Build  Channel
libopenvino-pytorch-frontend 2023.0.1             h59595ed_2    conda-forge
pytorch                   2.0.0           cuda112py39ha9981d0_200    conda-forge
$ nvidia-smi
Sun Sep 10 22:32:07 2023
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.86.05              Driver Version: 535.86.05    CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce RTX 4090        Off | 00000000:42:00.0 Off |                  Off |
|  0%   37C    P8              10W / 450W |    130MiB / 24564MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A      1593      G   /usr/lib/xorg/Xorg                           56MiB |
|    0   N/A  N/A      1988      G   /usr/bin/gnome-shell                         60MiB |
+---------------------------------------------------------------------------------------+
$ python -c "import torch; print( torch.cuda.is_available())"
True

Thanks! Now I need to test if the cuda 11.2 version from conda-forge doesn't conflict with CUDA used by Tensorflow in the same env lol

again, just download tensorflow from us.
you'll want to evetually get rid of both packages, they are quite hard to maintain.
good luck

Do you know how I can force the cuda package to be pulled inside the cuda.yaml file?
Using this:
name: test
dependencies:
 - conda-forge::pytorch
 - conda-forge::pyvips=2.2.1
 - conda-forge::libvips=8.14.4
 - conda-forge::xorg-libxau

Gives me:
(test) root@6dc4e6a82920:/# mamba list pytorch
List of packages in environment: "/root/micromamba/envs/test"

 Name     Version  Build                      Channel
────────────────────────────────────────────────────────────
 pytorch  2.0.0    cpu_mkl_py311had667d7_101  conda-forge

with conda-forge::pytorch=*=cuda* I guess. Thanks!

are you building in docker?
Using conda-forge:: means you didn't setup conda-forge as the main (and only!) channel.
Once you have your conda setup, you shouldn't need to use conda-forge:: everywhere....
https://conda-forge.org/docs/user/tipsandtricks.html#installing-cuda-enabled-packages-like-tensorflow-and-pytorch

Both in and outside docker yes (the most important is within docker). I fixed the conda.yaml and now it's working:
name: test
channels:
 - conda-forge
dependencies:
 - pytorch=*=cuda*
 - pyvips=2.2.1
 - libvips=8.14.4
 - xorg-libxau

I guess it didn't work previously because I was strict on channel selection and no other package outside my conda.yaml file could be pulled.
Thanks a lot for your help!!

we don't have 2.0.1, that might have been the issue

Looks like I still won't be able to use conda-forge only tho :( :
error    libmamba Could not solve for environment specs
    The following packages are incompatible
    ├─ pyg   is installable with the potential options
    │  ├─ pyg [2.1.0|2.2.0|2.3.0|2.3.1] would require
    │  │  └─ pytorch-cuda 11.7.* , which does not exist (perhaps a missing channel);
    │  ├─ pyg [2.0.4|2.1.0|2.2.0|2.3.0|2.3.1] would require
    │  │  └─ python >=3.8,<3.9.0a0 , which can be installed;
    │  ├─ pyg [2.0.0|2.0.1|...|2.3.1] would require
    │  │  └─ cpuonly  , which does not exist (perhaps a missing channel);
    │  ├─ pyg [2.0.0|2.0.1|...|2.3.1] would require
    │  │  └─ python_abi 3.8.* *_cp38, which can be installed;
    │  ├─ pyg [2.0.4|2.1.0|2.2.0|2.3.0|2.3.1] would require
    │  │  └─ python >=3.7,<3.8.0a0 , which can be installed;
    │  ├─ pyg [2.0.4|2.1.0|2.2.0|2.3.0|2.3.1] would require
    │  │  └─ python >=3.9,<3.10.0a0 , which can be installed;
    │  ├─ pyg [2.0.0|2.0.1|...|2.3.1] would require
    │  │  └─ python_abi 3.7.* *_cp37m, which can be installed;
    │  ├─ pyg [2.1.0|2.2.0|2.3.0|2.3.1] would require
    │  │  └─ python >=3.10,<3.11.0a0 , which can be installed;
    │  ├─ pyg [2.0.0|2.0.1|2.0.2|2.0.3] would require
    │  │  └─ python_abi 3.6.* *_cp36m, which can be installed;
    │  ├─ pyg [2.1.0|2.2.0|2.3.0|2.3.1] would require
    │  │  └─ pytorch-cuda 11.6.* , which does not exist (perhaps a missing channel);
    │  ├─ pyg [2.0.0|2.0.1|...|2.3.1] would require
    │  │  └─ python_abi 3.9.* *_cp39, which can be installed;
    │  ├─ pyg [2.1.0|2.2.0|2.3.0|2.3.1] would require
    │  │  └─ python_abi 3.10.* *_cp310, which can be installed;
    │  └─ pyg [2.3.0|2.3.1] would require
    │     └─ pytorch-cuda 11.8.* , which does not exist (perhaps a missing channel);
    └─ python 3.11**  is uninstallable because it requires
       └─ python_abi 3.11.* *_cp311, which conflicts with any installable versions previously reported.
critical libmamba Could not solve for environment specs

I have this:
name: dl
channels:
 # Only use conda-forge to avoid conflicts, packages not from this channel should be specified in
 # dependencies
 - conda-forge
dependencies:
 - python=3.11
 # Important to avoid the white patches bug
 - pixman=0.40.0
 - boto3
 - checksumdir
 - click
 - conda
 - dacite
 - docker-py
 - gitpython
 - h5py
 - imagehash
 - imagemagick
 - jsonschema
 - faiss-gpu
 - keras
 - keras-preprocessing
 - lxml
 - matplotlib
 - numpy
 - opencv
 - openslide
 - openslide-python
 - pandas
 - pillow
 - pip
 - pyrsistent
 - protobuf
 - py-opencv
 - pyarrow
 - pypdf3
 - pytest
 - pytest-metadata
 - pytest-html
 - python-dateutil
 - python-dotenv
 - pyvips
 - pyyaml
 - polars
 - requests
 - scikit-image
 - scikit-learn
 - scipy
 - seaborn
 - sentry-sdk
 - tabulate
 - tqdm
 - tensorflow-gpu=2.12.1
 - wandb
 - xhtml2pdf
 - zstandard
 - pytest-forked
 - pytorch=2.0.0
 - xorg-libxau
# Non conda-forge packages
 - pyg::pyg

$ micromamba search -c conda-forge pyg
Getting repodata from channels...

conda-forge/linux-64                                        Using cache
conda-forge/noarch                                          Using cache

No entries matching "pyg" found
Channels may not be configured. Try giving a channel with '-c,--channel' option, or use `--use-local=1` to search for installed packages.

python 3.11 is "new"
https://conda-forge.org/status/#python311

I don't think that's the issue. This doesn't work either:
name: dl2
channels:
 - conda-forge
dependencies:
 - python=3.10
 # Important to avoid the white patches bug
 - pixman=0.40.0
 - boto3
 - checksumdir
 - click
 - conda
 - dacite
 - docker-py
 - gitpython
 - h5py
 - imagehash
 - imagemagick
 - jsonschema
 - faiss-gpu
 - keras
 - keras-preprocessing
 - lxml
 - matplotlib
 - numpy
 - opencv
 - openslide
 - openslide-python
 - pandas
 - pillow
 - pip
 - pyrsistent
 - protobuf
 - py-opencv
 - pyarrow
 - pypdf3
 - pytest
 - pytest-metadata
 - pytest-html
 - python-dateutil
 - python-dotenv
 - pyvips
 - pyyaml
 - polars
 - requests
 - scikit-image
 - scikit-learn
 - scipy
 - seaborn
 - sentry-sdk
 - tabulate
 - tqdm
 - tensorflow-gpu=2.12.1
 - wandb
 - xhtml2pdf
 - zstandard
 - pytest-forked
 - pytorch=2.0.0
 - xorg-libxau
# Non conda-forge packages
# Even pyg:pyg doesn't work because it relies on pytorch channel
 - pyg

It's just that pyg doesn't seem to exist on conda-forge and the pyg::pyg package relies on the one from the pytorch channel.
So I'm back at square one doing this:
name: dl
channels:
 - conda-forge
dependencies:
 - python=3.11
 # Important to avoid the white patches bug
 - pixman=0.40.0
 - boto3
 - checksumdir
 - click
 - conda
 - dacite
 - docker-py
 - gitpython
 - h5py
 - imagehash
 - imagemagick
 - jsonschema
 - faiss-gpu
 - keras
 - keras-preprocessing
 - lxml
 - matplotlib
 - numpy
 - opencv
 - openslide
 - openslide-python
 - pandas
 - pillow
 - pip
 - pyrsistent
 - protobuf
 - py-opencv
 - pyarrow
 - pypdf3
 - pytest
 - pytest-metadata
 - pytest-html
 - python-dateutil
 - python-dotenv
 - pyvips
 - pyyaml
 - polars
 - requests
 - scikit-image
 - scikit-learn
 - scipy
 - seaborn
 - sentry-sdk
 - tabulate
 - tqdm
 - tensorflow-gpu=2.12.1
 - wandb
 - xhtml2pdf
 - zstandard
 - pytest-forked
# Non conda-forge packages
 - pytorch::pytorch=2.0.1
 - pytorch::pytorch-cuda=11.8
 - nvidia::cuda-cudart
 - pyg::pyg

Which gives me the segfault :(

hmmm, basically,

pytorch channel first called their package pytorch-gpu
then they changed their mind and just removed the suffixes
then now they changed their mind and called it pytorch-cuda

so the pyg::pyg channel requires a package called pytorch-cuda which we don't build. pytorch-cuda is the same as our pytorch-gpu package. just helps get the GPU build

https://github.com/conda-forge/pytorch-cpu-feedstock/issues/187
You have a few choices:

Use a combination of --no-deps and install things manually. This is somewhat ok for docker since you are always rebuilding.
Ask the team at pyg to remove the duplicated effort for cpuonly and -cuda, the package is the same
Build pyg for conda-forge
Use pip
something else

goodluck

Thanks a lot for your help!
Yeah, I'll figure something out... eventually lol.
Is there any reason why pyg wasn't selected as a package to build on conda-forge?
How do you select what packages to build?

https://conda-forge.org/docs/maintainer/adding_pkgs.html


[Front] Using one desktop logo ?

instead of one for home page and another one for the other pages


Must "handleResponse" return XHR?

In my situation I have a React app, with Redux, so I have one file handles the actions, which calls another file which handles the services calls.
Currently I use fetch so the services file returns a promise that the actions file handles and distributes to Redux.  I need to return some custom error Object from the services but I don't know how to do that using your way, since there's not much documentation.
This is my handler as it is now:
import { userService } from './user.service';

/**
 * Pre-proccess each request to make sure the user's token is valid
 */
export default function handleResponse( response ){
    return response.text().then(text => {
        const data = text && JSON.parse(text);

        if( !response.ok ){
            if( response.status === 401 ){
                // auto logout if 401 response returned from api
                userService.logout();
                // window.location.reload(true);
            }

            const error = (data && data.message) || {text:response.statusText, status:response.status};
            return Promise.reject(error);
        }

        return data;
    });
}

And is used like this:
return fetch(query, requestOptions)
     .then(handleResponse)

Since I want to work with fetch-please I've changed things to look like:
const API = new FetchPlease(BASEURL, {
    timeout : 10000, // 3s
    headers : authHeader(),
    handleResponse(xhr) {
        if( xhr.status !== 200 ){
            if( response.status === 401 ){
                userService.logout();
            }

            const error = (data && data.message) || {text:response.statusText, status:response.status};
            ... What should I do with the error.... ?
        }

        return xhr;
    }
});

But I have no idea what function/promise/object will actually use handleResponse in your FetchPlease script, so I don't know what should I do with the error.. should I return it? and where/what will read it?

What should I do with the error.... ?

Just throw it. You know, like:
throw new Error('Error message here')


[controller] Check service data uuid during scan

Problem
Nrfconnect device does not include chip uuid in its uuid list, thus chip-device-controller cannot discover it.

Summary of Changes
Check service data during scan so chip-device-ctrl can discover nrfconnect example apps.

Fixes #4230

@jelderton @BroderickCarlin @saurabhst @hawk248 ?

@jelderton @BroderickCarlin @saurabhst @hawk248 ?


Close the app (clear from Android's app switcher) and reopen; will start in pane you left off in, except the title will be "Notifications"

somehow fucked up pending intents, after the app opened once it still has that p intent and always goes to the helpdesk fragment which is the default behavior of clicking a notificaion that is for helpdesk tickets

not worth fixing, closing issue


error when train with pretrained personalized

Before You Report a Bug
Reporting a bug is essential for us to improve our service, but we need detailed information to address the issue effectively. Since every computer setup is unique, there can be various reasons behind a bug. Before reporting, consider potential causes and provide as much detail as possible to help us understand the problem.
Bug Description
When you trained a model when you want to retrain with a pretrained personalized on load the model gives an error
OSError: [WinError 17] El sistema no puede mover el archivo a otra unidad de disco: 'C:\Users\xaviercris\AppData\Local\Temp\gradio\9d6b73a537a0169a57a5a760c9eea816cf5b0cd2\xavicanta_70e_350s.pth' -> 'rvc\pretraineds\pretraineds_custom\xavicanta_70e_350s.pth'
Steps to Reproduce
look at video
https://github.com/IAHispano/Applio/assets/48472866/74542491-86d1-416d-86fc-68b301959620
Expected Behavior
Describe what you expected to happen.
Assets
I show a video
windows 10
Chrome
Version Applio 3.1.0
Additional Context
Any additional information that might be relevant to the issue.

https://docs.applio.org/get-started/installation/


implement JSON / Elastic Search logger to PM Extensions package

This is a nice-to-have for the next release. The idea is that all observed events can be written directly to an ElasticSearch database, such that the whole document structure can be saved. This is something that can not be done by writing to CSV files and uploading it through logstash.

It is probably not something we will finish before the next release


Update ubuntu.md

The path to the .deb files was incorrect. It was updated. A clarification was added to the following paragraph.

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Deploy preview for docsdocker ready!
Built with commit 492ac29bc0062ff7b3a7e8d3284e309f31c51d10
https://deploy-preview-9286--docsdocker.netlify.com

Closing this PR because the Ruby version is outdated, which causes the CI check to fail. The work will be done via https://github.com/docker/docker.github.io/pull/10116.


fix: correct gene-reaction association

Main improvements in this PR:
This PR is to fix the error reported in #198

the gene assigned for ganglioside GP1c formation reaction HMR_8177 was changed from ST6GALNAC2 (ENSG00000070731) to ST8SIA5 (ENSG00000101638)
a citation was assigned to this reaction based on UniProt annotation to the gene ST8SIA5
a reference was also added tothe biosynthesis reactions for gangliosides GD1c (HMR_8171) , GT1a (HMR_8182) , GQ1b (HMR_8181)  and GT3 (HMR_8180), which are all catalyzed by the enzyme encoded by ST8SIA5. The reaction confidence scores were updated as well.

I hereby confirm that I have:

[X] Tested my code on my own computer for running the model
[X] Selected devel as a target branch

@Hao-Chalmers why was the reaction confidence score set to 2 instead of 4 for the HMR_8177 reaction?

@JonathanRob according to UniProt function annotation to gene ST8SIA5, its association with the synthesis of gangliosides GP1c (reaction HMR_8177) was assigned based on sequence similarity, instead of experimental evidence.

@Hao-Chalmers  Thank you for such a quick action!
Yes the revision is in accordance with what I requested.

@TunahanCakir we are very appreciated for the contributions from you and others in the research community, for which the Human-GEM aims to serve.


Failed in compiling the crate gtk

I tried to use the example code and compile the project, rustc threw an error that gtk codes used some undefined references.
However, the code analysis of the IDE told me that the code is no problem.
The version of Rust toolchain I use is stable-x86_64-pc-windows-gnu. I also tried nightly-x86_64-pc-windows-gnu, but it didnt work as well.
Below is the error message:
= note: J:\rust\gui_test\target\debug\deps\libgtk-872dc5035e98281d.rlib(gtk-872dc5035e98281d.gtk.m24f10wf-cgu.10.rcgu.o): In function `_$LT$gtk..auto..gesture_long_press..GestureLongPress$u20$as$u20$glib..types..StaticType$GT$::static_type::hb2a9296689ef6a81':
          C:\Users\18231\.cargo\registry\src\github.com-1ecc6299db9ec823\gtk-0.8.1\src\auto/gesture_long_press.rs:32: undefined reference to `gtk_gesture_long_press_get_type'
          J:\rust\gui_test\target\debug\deps\libgtk-872dc5035e98281d.rlib(gtk-872dc5035e98281d.gtk.m24f10wf-cgu.11.rcgu.o): In function `gtk::auto::gesture_pan::GesturePan::get_orientation::hb8cefbbf04dc75a7':
          C:\Users\18231\.cargo\registry\src\github.com-1ecc6299db9ec823\gtk-0.8.1\src\auto/gesture_pan.rs:51: undefined reference to `gtk_gesture_pan_get_orientation'
          J:\rust\gui_test\target\debug\deps\libgtk-872dc5035e98281d.rlib(gtk-872dc5035e98281d.gtk.m24f10wf-cgu.11.rcgu.o): In function `gtk::auto::gesture_pan::GesturePan::set_orientation::h317ab29d9e4da5f3':
          C:\Users\18231\.cargo\registry\src\github.com-1ecc6299db9ec823\gtk-0.8.1\src\auto/gesture_pan.rs:59: undefined reference to `gtk_gesture_pan_set_orientation'
          J:\rust\gui_test\target\debug\deps\libgtk-872dc5035e98281d.rlib(gtk-872dc5035e98281d.gtk.m24f10wf-cgu.11.rcgu.o): In function `_$LT$gtk..auto..flags..PlacesOpenFlags$u20$as$u20$glib..types..StaticType$GT$::static_type::ha9e5e217d0f640ff':
          C:\Users\18231\.cargo\registry\src\github.com-1ecc6299db9ec823\gtk-0.8.1\src\auto/flags.rs:622: undefined reference to `gtk_places_open_flags_get_type'
        (some similar messages are omitted here)

error: aborting due to previous error

Is it because I didn't reference some necessary crates?

That means that the GTK version you're using is too old. gtk_places_open_flags_get_type was added with 3.10, which is much older than the minimum supported version 3.14. gtk_gesture_long_press_get_type() was added with 3.14, as were the others.
As it didn't fail compiling earlier with a version error this means also that you're pkg-config is not correctly configured and it goes into some magic fallback path that usually fails.


feat:Allow to opt out from trusted profile creation

Description
Added a variable to allow the users to opt out of trusted profile creation.
Release required?

[ ] No release
[ ] Patch release (x.x.X)
[x] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content
Added a variable to allow the users to opt out of trusted profile creation.
Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

/run pipeline

/run pipeline

cc : @SarikaSinha

/run pipeline

/run pipeline

/run pipeline

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


vision: how to return more than 10 visually similar images

How increase number return result, instead default 10
web, err := client.DetectWeb(ctx, image, nil)
if err != nil {
	log.Fatalf("Failed to detect labels: %v", err)
}
if len(web.VisuallySimilarImages) != 0 {
	for _, page := range web.VisuallySimilarImages {
		log.Println(page.Url)
	}
}

Hi. I looked quickly at the client and didn't see an option for how to do this. I will ask around, but this may be a limitation of the API, so no promises.
You may have better luck asking these types of questions on StackOverflow. Or, if you have an support agreement with Google Cloud, going through the usual channels for support. This repo is for Go samples that are embedded on cloud.google.com.

Hmm. Looks like Python Javascript implementation support "maxResults": 30
https://stackoverflow.com/questions/48548552/google-cloud-vision-web-detection-api-returns-only-10-responses
https://gist.github.com/alexcasalboni/5209c853612132ce72b6

Some of the other methods in this client include a max results argument (example). I'm not sure why DetectWeb doesn't. It might be intentional, but I don't know. Maybe there is something we can do?
If you look at the underlying implementation, DetectWeb calls annotateOne with maxResults or 0, meaning the default number of max results.

Is that something that would have to change in the autogenerated libraries?

Yes, I think the client config would need to change. I'm not 100% sure, though.
cc @codyoss @noahdietz

There is no generator config to specify a default value for a request field so there is nothing the generated client library can do. It seems like the backend returns 10 by default (because the hand-written layer uses a maxResults of 0 as @tbpg indicated).
I'd either change the hand written layer or contact the backend team to determine the behavior of sending 0 for maxResults.
Hope that helps.

Yes, this seems to be a feature request for the hand-written Vision client. @remotejob, would you mind filing an issue at https://github.com/googleapis/google-cloud-go/issues? That's our repo for the Go client libraries; this repo is for Go samples hosted on cloud.google.com.


Match service account on 2 or more spaces

Service account wasn't working for me, adjusted the spaces to be 2+ instead of just 2

This has already been fixed with https://github.com/replicatedhq/oh-my-replicated/pull/1


Master

Major refactoring :

winter_credit is now a module
hydro_api only handle hydro quebec API calls and auth
mqtt now publish the entire objects for both next event and state

Data format is now more versatile:

pre_start is now pre_heat and has configurable offset
reference periods are configurable and are calculated for the current day
all datetime fields have equivalent _ts that correspond to unix epoch (timestamp)

Configuration is now in yaml
Documentation has been updated

FYI The content of the file is still accessible. I am not sure how to fix this, some article mention opening a service request with github. You should probably change your hydro password.


A few tweaks to Windows requirements

I'm stuck with a Windows laptop for the weekend and needed to do a couple additional things to get things going

I just double checked the instructions and didn't get any errors related to bash and linting so I won't be pulling in those changes.
Accepting the changes that removed the quotes around the command for setting Windows execution policies.
Thank you for your contribution.


WIP- feat(shell): hamburger on click event + template addition

closes #509

Sorry about the wait guys. Got preoccupied :( hope this works!

bump @magedhennawy


fix: if logger not present then return

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
7683

Relevant Lines:
9883

💛  - Coveralls


Themeing

This is all the themeing work that addressed 18f/epa-notice#7, 18f/epa-notice#9, 18f/epa-notice#10 ready to be merged back in.

SASS cometh. Failure is due to running out of Sauce Labs credits. Nice work @donjo and @xtine!


Support Submission of a Jar

@truell20: What would be the desired functionality here? Here's one possible way:

Support MyBot.jar as a new language in compiler.py.
Detect that the uploaded file ends with .jar and – instead of unzipping it – move it to the target directory.

Would that be sufficient?
This also makes it possible to embed a MyBot.jar in a zip file and submit that, for better or worse.

I was planning on the first one.

You can already submit a sources.jar file to the submission location.

@robertmassaioli: That's correct, but the effect is that the jar is treated as zip instead of a jar, it's not called via java -jar ....  Adding support for that would be beneficial to support arbitrary JVM languages e.g. Kotlin/Frege/Clojure, although this will also work for Java/Groovy/Scala.

This solves my issue as well because I'm now submitting my code as a JAR. This closes #217


Limit Parsys and Parsys Decorator Breaks on deep /etc/design hierarchy.

If you have a /etc/designs/ hierarchy that is any more complex than the OOTB Geometrixx structure, you will be met with this error in the browser console using the classic UI limit parsys and parsys decorator/configurator features:

and the plugins will not work as they cannot find the acs properties that they need to evaluate.
Example of /etc/designs hierarchy:

PR for each fix:
https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/806
https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/807

Fixed


v0.1.7

Current dependencies on/for this PR:

main

PR #150   👈

This comment was auto-generated by Graphite.


[FEATURE] enable local registry images deletion

is there a way to add the ability to DELETE images from a k3d create local image registry? I see this:
https://docs.docker.com/registry/configuration/#delete
but can't figure it out on how to add this mod to the registry config...
thanks in advance

The docker.io/library/registry:2 REGISTRY_STORAGE_DELETE_ENABLED just would need to be added to the registry container.
I believe that could be done right here.
https://github.com/k3d-io/k3d/blob/fcb3b06a6f9affd827bc9a02c739b89401057550/pkg/client/registry.go#L79-L89
This would be very helpful for me as I am building and testing mages locally (literally hundreds a hour) and being able to clean them up would greatly reduce the frequency at which my docker machine runs out of storage space.


eksctl: 0.131.0 -> 0.132.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/weaveworks/eksctl/releases.
meta.description for eksctl is: A CLI for Amazon EKS
meta.homepage for eksctl is: https://github.com/weaveworks/eksctl
Updates performed

Golang update

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.132.0 with grep in /nix/store/7ghgzga5lznpm6abs723yy17q0nm0d0z-eksctl-0.132.0
found 0.132.0 in filename of file in /nix/store/7ghgzga5lznpm6abs723yy17q0nm0d0z-eksctl-0.132.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
eksctl

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/7ghgzga5lznpm6abs723yy17q0nm0d0z-eksctl-0.132.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A eksctl https://github.com/r-ryantm/nixpkgs/archive/18c160d5f8dbf7117490dd24bc3551ae92bcb4f1.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/7ghgzga5lznpm6abs723yy17q0nm0d0z-eksctl-0.132.0
ls -la /nix/store/7ghgzga5lznpm6abs723yy17q0nm0d0z-eksctl-0.132.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

eksctl

Maintainer pings
cc @xrelkd @Chili-Man for testing.

Result of nixpkgs-review pr 219501 run on aarch64-darwin 1

1 package built:

eksctl


Create a better folder structure to allow more complex mods (feature request)

I'm trying to create a mod where I am using other lua files I have not created myself (and I'd rather not try to combine them into a single lua file in apis as to not break any other potential future mod, or flood the directory with files only my mod is dealing with).
I think a good structure for the mods is to allow the modders to have a folder structure for their mod. I understand the need for apis, resources, localizations, helps simplify the injection, but makes creating and testing a mod difficult. I suggest:
Each mod is its own folder structure under `mods'.

If people choose their own naming convention, and it conflicts with someone else's mod naming, then who wins if both are installed?
It helps if people use different versions of the same lua file.
Standardizes how mods should be written for balamod. So the apis, localizations, resources should be folders under. That means all the user needs to do is provide the buildPaths calls themselves.
Allows the use of JSON for mod info (if that's still desired), that way the injector can find the appropriate files to load.
The injector code could just look for a zip file from the repos in the mod.indexes and download and open it up.

So an example flow of loading the mod:
inject function calls looks in the mods dir, and looks for all directories that contain a json, and if the json has the appropriate info it begins to process all sub directories in order: apis, localizations, resources (assuming appropriate files are there). If the json has a dependency key-list (if it is desired if one mod uses another), it can be used for pre-processing.
This can be even closed with a simple, "No" and I'm fine with that, just want to voice my opinion and help the community.

actually, we've already redone the mod structure for balamod 1.0.0+ (which hasn't been released yet because I don't have much time at the moment).
It looks like this now
%appdata%/Balatro/
└─mods/
  └─your_mod_id/
    ├─main.lua
    └─manifest.json

it's documented here if you want https://balamod.github.io/mod-format.html
And in your main, if you have another lua file next to it, you can call it with require my_other_file if the filename is my_other_file.lua.
you can't have 2 times the same mod because now it's loaded by mod_id/main.lua so you can only have one.
for example, for a sprite API it would be mod_id/sprites/a_sheet.png.
To tell you the truth, we've already thought of everything for 1.0.0+ but not many people have the time, i'd absolutely like to continue but i'm not on vacation yet. if you want, on the discord i've explained what you'd basically have to do to have the beginnings of a stable version with this new system.