Request for new features

When large assemblies are imported there are a series of jobs that are very repetitive, I have asked Siemens on several occasions to do it directly in SolidEdge as an option but they ignore it.
These would be the two new features?
1º.- Optimize the quality of the model (Part and Sheet Metal):
Inspect tab→Evaluate group→Optimize→→→ Full body →→→Finish
2º.- Hole recognition:
In the part environment, the command resides on the Home tab→Solids group→Hole command list.
In the sheet metal environment, the command resides on the Home tab→Sheet metal group→Hole command list.
In the assembly environment, the command resides on the Features tab→Assembly Features group→Hole command list. **** In assembly mode, it is never really needed when importing a model.
It's always do the same work, over and over again always the same. Please, would it be possible to introduce these new features? I'm trying to program it myself and that's how I came across this project, but I don't really have the programming knowledge to do it.
Thanks in advance.

Thank you for the suggestion.  It's on the list!
No promises on implementation.  It's not a function I really need.  If you do get something working, assuming you need batch processing, I'd be glad to help you get it functioning as a Housekeeper External Program.

Just wondering if you made any headway on this.  There was a related post on the Solid Edge forum a couple of weeks ago.  Here's the link:
https://community.sw.siemens.com/s/question/0D54O000085AlRxSAK/recognize-holes-function

Yes! I'm User16370554015158121216 in SolidEdge Community.
I managed to make a macro with what I wanted, this is already progress for me but I still had to go file by file optimizing.  So I decided to take a look at your source code and I did it successfully too.  Now I just need some time to share it with you.  Maybe later you could debug it a little and put some options as a selectable option.
Thanks.

Oh, that's great news!  You won't be sorry taking the time to learn how to automate SE.
When it's to a point you want me to look it over, just zip it up and attach it here.  I'd be glad to help out!

Ok! Tomorrow I will send you

SolidEdgeHousekeeper-lrmoreno007.zip
Check it out

Got it!  I'll have a look, hopefully later this week.
I saw on your GitHub page you're into Arduino.  Except for dealing with the horrible API documentation, you'll have no trouble automating Solid Edge.

I have created a  Pull Request #115.

Got it! I'll have a look, hopefully later this week.
I saw on your GitHub page you're into Arduino. Except for dealing with the horrible API documentation, you'll have no trouble automating Solid Edge.

The problem is that I am only a programming fan, I have done some more or less serious things in VB6 as my final project at the university (I'm Mechanic Engineer, the project was a program for matrix calculation structures) and correct some problems in a ad-hoc ERP in my work, all surely very poorly done hahaha. Also, as you say, I have done little things in Arduino, Python, Processing, Industrial PLCs, etc.
I thought VB.Net was going to cost me more but I got the hang of it. And there was the problem of the IDE too: I don't have Visual Studio but I found JetBrains Riders EAP, which is free.
Regarding the SolidEdge API, it is very poorly documented but with the help of the SDK, Spy SolidEdge and reviewing as you have done, I got it.
Take a look at the code and I'm sure you'll give it a more elegant and better done touch hahaha.
Thanks!!!
P.D.: By the way, forgive my English, I'm Spanish.

  Thank you for the contribution.  Closing as complete.

I have created a new repository with the macro that I told you and I have set as an option that your project could be used for several files and large projects.
In next days i will make a new pull request to add the capacity of move the body from Ordered to Syncronous before carrying out the optimization process because otherwise the holes will not be recognized. This is already implemented in my macro.
On the other hand, the task has nothing in the help, let's see if you can do it based on what I have put in the Readme of my macro.
Thanks again.

Good deal.  I like the idea to take care of the transition to Sync automatically.  Why bother the user with a chore you can do without too much effort?
I'm working on documentation right now.  I'll see what I can pull from the macro documentation into the task writeup.

@lrmoreno007
Documentation has been updated.  If you get a chance, please look it over and let me know of any errors/omissions.
As I mentioned before, I thought about renaming the task.  It's now called Recognize Holes.  I also did a bit of code refactoring -- mostly to match some style conventions in the other tasks.  I hope you don't mind.
Based on some limited testing, I changed a couple of things...
-- Added a model count check.  I've run into issues when a file has no models present.
-- Changed If CType(SolidEdgePart.ModelingModeConstants.seModelingModeOrdered, Boolean) Then to If tmpSEDoc.ModelingMode = SolidEdgePart.ModelingModeConstants.seModelingModeOrdered Then
-- Enclosed RecognizeAndCreateHoleGroups() in a Try/Catch block.  That command was generating an exception on non-imported parts.  (I realize that type of file has no business in this command, but you never know.)
-- Removed the Hide Constructions/Fit View code.  That's available elsewhere in Housekeeper already.


add an array dynamically to cc

[Error: Invalid email address amitpanchall81<EMAIL_ADDRESS>'amitpanchall81<EMAIL_ADDRESS>my code is below :
function NS_lockLoginpwd() {
//var params =<EMAIL_ADDRESS>'this is testmail'<EMAIL_ADDRESS>'Test Subject'];
mssql.query('EXEC dbo.NS_lockLoginpwd', {
success: function(results) {
//["amitpanchall81<EMAIL_ADDRESS>SendMail(results[0].ToMail, results[0].cc);
},
error: function(err) {
console.log(err);
}
});
}
function SendMail(to, cc) {
var sendgrid = require('sendgrid')('username', 'password');
var email = new sendgrid.Email({
//to: ["amit.panchal<EMAIL_ADDRESS>//cc:["amitpanchall81<EMAIL_ADDRESS>to: to,
cc: cc
from<EMAIL_ADDRESS>subject: 'Subject goes here',
html: 'Hello world'
});
sendgrid.send(email, function(err, json) {
if (err) { return console.error(err); }
console.log(json);
});
}
however i will put the static string to SendMail function which is commented. it will be send mail successfully... i will try it to push into array but not working.

Please help me..
I m using this in azure mobile service scheduler.
Error logs below:

Hello @amitpanchall,
Thank you for reporting this issue to us!
This library will be replaced with this one in a few weeks: https://github.com/sendgrid/sendgrid-nodejs/tree/v3beta. It uses the v3 /mail/send endpoint https://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/index.html which should make this process easier. Please see this example: https://github.com/sendgrid/sendgrid-nodejs/tree/v3beta/examples/helpers/mail
Thanks for your support!
With Best Regards,
Elmer


Fix minor spelling error

Since this is just a small spelling fix, I guess I dont have to add myself to authors etc?
BTW, maybe the error message would be more actionable if it stated that it is the uri parameter which is missing, instead of endpoint? If you want me to, I could change that as well.

@GGAlanSmithee Thanks for the PR. If you could improve the error message, that would be great. And please make sure to sign the CLA!

@GGAlanSmithee ping

@helfer sorry about the delay. Updated the PR. Not sure how you feel regarding the link, i'll format it to your liking.

@GGAlanSmithee Thanks! Can you update the test that's failing now as well? It's just the one that checks this specific error message. 🙂

Hmm, trying to fix this inline in github making it a bit hard.. Should be OK now.. maybe some bad escaping in the string or something? Will fix this as soon as get the time to set up the project and run tests locally.

@GGAlanSmithee would be great if you could fix the test. If not, it might be quicker if I close the PR and we implement this in another PR.


Graph Algorithms in java

I have added the changes in readme as well.

Looks Good but you forgot to create and update READM.md in Ubiquitous Binary Search folder
Thanks for your contribution
I will merge this PR now
Just create README there and update it and create a new PR

For hacktoberfest you can create multiple PR in same repo which can be counted as a valid PR


[Code Style] Trailing whitespace on blank lines

While configuring SwiftLint, I noticed the use of trailing whitespace on blank lines is inconsistent. Some blank lines are indented to match the surrounding code, while other empty lines have no whitespace, even in the midst of indented chunks of code. By my count, across the SwiftGit2 library source and tests there are 313 indented blank lines (^\s+$) and 76 completely empty lines among indented code (^\n\s).
Debates about whitespace often boil down to subjective personal preference – and major reformatting of code for its own sake isn't the best use of time – but I think regardless of the outcome it would be nice to update the code for consistency in whitespace usage.
The GitHub Swift style guide linked from the README argues against blank line whitespace ("Don’t leave trailing whitespace... Not even leading indentation on blank lines."), and my personal preference is also to leave blank lines empty. Any strong opinions for or against trailing whitespace on blank lines?

Personally I think it makes the most sense for blank lines to match the surrounding indentation level. For one thing, it makes it easier to add something at that blank link since you don't have to re-indent.

I'm ambivalent. But I'd happy to have style enforcement either way.

I've opened a PR to remove trailing whitespace on blank lines.

This style conforms to the project's Swift style guide.
SwiftLint has a rule to enforce this style.
Xcode has a preference to auto-apply this style.


Fix for "AttributeError: 'Index' object has no attribute 'iterblobs' #27"

I fixed the version of dulwich on 0.20.20, this will fix the problem with "AttributeError: 'Index' object has no attribute 'iterblobs' #27"
#27 - Issue related with this

This fix worked for me. Thanks @carlosevieira


MAINT: Disable problematic test on Azure

Every PR is red because of Azure. I'm going to try:

Skipping the plot_vector_source_estimates test since it seems to show up in the tracebacks.
Removing mayavi and PySurfer from the Azure builds.

I hope that (1) is enough because (2) is drastic, but we should get Azure green for most PRs and work on fixing this annoying bug separately.

Option (1) did not work so let's go with Option (2). Will merge once Azure comes back happy. I stopped Travis since it shouldn't need to run.


[Error] Unable to resolve all the dependencies.

Hi,
First of all, thanks for coming up with such a great idea of a Maven plugin. Love it!
Running the plugin as described in the Readme.md with versions 1.1.0 and 1.1.2 leads always to the error message
[Error] Unable to resolve all the dependencies.
Running Maven in debug mode with -X did not really help ... any idea what could be wrong? I tried to declare the plugin in the pom but also just ran the plugin directly from the command line with all the params in the CLI.
Btw. we develop the apps in an enterprise setup where we have proxies, self-signed certs and so on.
Best,
Patrick

Hi @patbaumgartner,
I'm glad that you find this plugin useful and I'll enjoy giving you support.
DepClean needs to download all the dependencies of a Maven project in order to analyze the bytecode calls between your project and its dependencies. You're getting [Error] Unable to resolve all the dependencies which means that some dependencies cannot be downloaded successfully.

Btw. we develop the apps in an enterprise setup where we have proxies, self-signed certs and so on.

This may be the cause of the issue. Does your project use dependencies from other repositories than Maven Central?

Hi @patbaumgartner,
I'm glad that you find this plugin useful and I'll enjoy giving you support.
DepClean needs to download all the dependencies of a Maven project in order to analyze the bytecode calls between your project and its dependencies. You're getting [Error] Unable to resolve all the dependencies which means that some dependencies cannot be downloaded successfully.

Btw. we develop the apps in an enterprise setup where we have proxies, self-signed certs and so on.

This may be the cause of the issue. Does your project use dependencies from other repositories than Maven Central?

Hi @cesarsotovalero
i just tried to create a simple spring boot project, just with a web starter and then ran the command on the command line
mvn se.kth.castor:depclean-maven-plugin:1.1.0:depclean -Dcreate.pom.debloated=true -Dcreate.result.json=true
and the output was the following. Not sure what is wrong here. Btw. i also tried to add the plugin to the pom.
`C:\Users\abc\Desktop\demo>mvn se.kth.castor:depclean-maven-plugin:1.1.0:depclean -Dcreate.pom.debloated=true -Dcreate.result.json=true
[INFO] Scanning for projects...
[INFO]
[INFO] --------------------------< com.example:demo >--------------------------
[INFO] Building demo 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- depclean-maven-plugin:1.1.0:depclean (default-cli) @ demo ---
[INFO] Starting DepClean dependency analysis
[ERROR] Unable resolve all the dependencies.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.679 s
[INFO] Finished at: 2021-01-15T13:31:36+01:00
[INFO] ------------------------------------------------------------------------`

Hi @cesarsotovalero
i just tried to create a simple spring boot project, just with a web starter and then ran the command on the command line
mvn se.kth.castor:depclean-maven-plugin:1.1.0:depclean -Dcreate.pom.debloated=true -Dcreate.result.json=true
and the output was the following. Not sure what is wrong here. Btw. i also tried to add the plugin to the pom.
`C:\Users\abc\Desktop\demo>mvn se.kth.castor:depclean-maven-plugin:1.1.0:depclean -Dcreate.pom.debloated=true -Dcreate.result.json=true
[INFO] Scanning for projects...
[INFO]
[INFO] --------------------------< com.example:demo >--------------------------
[INFO] Building demo 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- depclean-maven-plugin:1.1.0:depclean (default-cli) @ demo ---
[INFO] Starting DepClean dependency analysis
[ERROR] Unable resolve all the dependencies.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.679 s
[INFO] Finished at: 2021-01-15T13:31:36+01:00
[INFO] ------------------------------------------------------------------------`

Facing the same error, kindly let me know when the issue will be resolved.

Facing the same error, kindly let me know when the issue will be resolved.

Same issue here. Would be helpful if the plugin would do the analysis at least for the dependencies it could download and it if could show which dependencies could not be downloaded.
I am trying to use the plugin in an enterprise context were we are using Artifactory as Maven central mirror.

Same issue here. Would be helpful if the plugin would do the analysis at least for the dependencies it could download and it if could show which dependencies could not be downloaded.
I am trying to use the plugin in an enterprise context were we are using Artifactory as Maven central mirror.

Hi @patbaumgartner

i just tried to create a simple spring boot project, just with a web starter...

I just executed DepClean on a Spring project with the initial configuration. It contains the following dependencies:
    <dependencies>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>

DepClean worked fine.

Hi @patbaumgartner

i just tried to create a simple spring boot project, just with a web starter...

I just executed DepClean on a Spring project with the initial configuration. It contains the following dependencies:
    <dependencies>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>

DepClean worked fine.

Hi @cesarsotovalero I just downloaded the spring boot app from my PC at home (no nexus, artefactory or so on in between).
You can use the following link to have the same project created - https://start.spring.io/#!type=maven-project&language=java&platformVersion=2.4.2.RELEASE&packaging=jar&jvmVersion=11&groupId=com.example&artifactId=demo&name=demo&description=Demo project for Spring Boot&packageName=com.example.demo&dependencies=web
  <properties>     <java.version>11</java.version>   </properties>   <dependencies>     <dependency>       <groupId>org.springframework.boot</groupId>       <artifactId>spring-boot-starter-web</artifactId>     </dependency>     <dependency>       <groupId>org.springframework.boot</groupId>       <artifactId>spring-boot-starter-test</artifactId>       <scope>test</scope>     </dependency>   </dependencies>
Then I ran: mvn clean verify and mvnw se.kth.castor:depclean-maven-plugin:1.1.0:depclean -Dcreate.pom.debloated=true -Dcreate.result.json=true and it produced the same issue.
My versions of Java and Maven you see here.
C:\Users\myUser\Downloads\demo\demo>mvnw --version Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: C:\Users\patbaumgartner.MYWORKSTATION\.m2\wrapper\dists\apache-maven-3.6.3-bin\1iopthnavndlasol9gbrbg6bf2\apache-maven-3.6.3 Java version: <IP_ADDRESS>, vendor: AdoptOpenJDK, runtime: C:\Program Files\AdoptOpenJDK\jdk-<IP_ADDRESS>-hotspot Default locale: en_US, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

Hi @cesarsotovalero I just downloaded the spring boot app from my PC at home (no nexus, artefactory or so on in between).
You can use the following link to have the same project created - https://start.spring.io/#!type=maven-project&language=java&platformVersion=2.4.2.RELEASE&packaging=jar&jvmVersion=11&groupId=com.example&artifactId=demo&name=demo&description=Demo project for Spring Boot&packageName=com.example.demo&dependencies=web
  <properties>     <java.version>11</java.version>   </properties>   <dependencies>     <dependency>       <groupId>org.springframework.boot</groupId>       <artifactId>spring-boot-starter-web</artifactId>     </dependency>     <dependency>       <groupId>org.springframework.boot</groupId>       <artifactId>spring-boot-starter-test</artifactId>       <scope>test</scope>     </dependency>   </dependencies>
Then I ran: mvn clean verify and mvnw se.kth.castor:depclean-maven-plugin:1.1.0:depclean -Dcreate.pom.debloated=true -Dcreate.result.json=true and it produced the same issue.
My versions of Java and Maven you see here.
C:\Users\myUser\Downloads\demo\demo>mvnw --version Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: C:\Users\patbaumgartner.MYWORKSTATION\.m2\wrapper\dists\apache-maven-3.6.3-bin\1iopthnavndlasol9gbrbg6bf2\apache-maven-3.6.3 Java version: <IP_ADDRESS>, vendor: AdoptOpenJDK, runtime: C:\Program Files\AdoptOpenJDK\jdk-<IP_ADDRESS>-hotspot Default locale: en_US, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

Hi @patbaumgartner
Thanks for the feedback. I think that I found and solved the issue. The problem was related to the execution of the mvn commands on Windows. I've added support for it: https://github.com/castor-software/depclean/blob/aa1f7610bb6e70b1d8f15b935e27eda7583787da/depclean-maven-plugin/src/main/java/se/kth/depclean/util/MavenInvoker.java#L59-L64
Please, clone and install the current version. Then, execute DepClean: mvn se.kth.castor:depclean-maven-plugin:1.1.2-SNAPSHOT:depclean. You can add the additional parameters  -Dcreate.pom.debloated=true -Dcreate.result.json=true if you want more details.
Please let me know if it works for you now.

Hi @patbaumgartner
Thanks for the feedback. I think that I found and solved the issue. The problem was related to the execution of the mvn commands on Windows. I've added support for it: https://github.com/castor-software/depclean/blob/aa1f7610bb6e70b1d8f15b935e27eda7583787da/depclean-maven-plugin/src/main/java/se/kth/depclean/util/MavenInvoker.java#L59-L64
Please, clone and install the current version. Then, execute DepClean: mvn se.kth.castor:depclean-maven-plugin:1.1.2-SNAPSHOT:depclean. You can add the additional parameters  -Dcreate.pom.debloated=true -Dcreate.result.json=true if you want more details.
Please let me know if it works for you now.

Thanks @cesarsotovalero
It works now, but the result is not satisfying. Anyhow, wow! I am impressed! 👍
C:\Users\myUser\Downloads\demo>mvn se.kth.castor:depclean-maven-plugin:1.1.2-SNAPSHOT:depclean
[INFO] Scanning for projects...
[INFO]
[INFO] --------------------------< com.example:demo >--------------------------
[INFO] Building demo 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- depclean-maven-plugin:1.1.2-SNAPSHOT:depclean (default-cli) @ demo ---
-------------------------------------------------------
[INFO] Starting DepClean dependency analysis
-------------------------------------------------------
DIRECT DEPENDENCIES: [org.springframework.boot:spring-boot-starter-web:jar:2.4.2:compile, org.springframework.boot:spring-boot-starter-test:jar:2.4.2:test]
-------------------------------------------------------
TRANSITIVE DEPENDENCIES: [org.springframework.boot:spring-boot-starter:jar:2.4.2:compile, org.springframework.boot:spring-boot:jar:2.4.2:compile, org.springframework.boot:spring-boot-autoconfigure:jar:2.4.2:compile, org.springframework.boot:spring-boot-starter-logging:jar:2.4.2:compile, ch.qos.logback:logback-classic:jar:1.2.3:compile, ch.qos.logback:logback-core:jar:1.2.3:compile, org.apache.logging.log4j:log4j-to-slf4j:jar:2.13.3:compile, org.apache.logging.log4j:log4j-api:jar:2.13.3:compile, org.slf4j:jul-to-slf4j:jar:1.7.30:compile, jakarta.annotation:jakarta.annotation-api:jar:1.3.5:compile, org.yaml:snakeyaml:jar:1.27:compile, org.springframework.boot:spring-boot-starter-json:jar:2.4.2:compile, com.fasterxml.jackson.core:jackson-databind:jar:2.11.4:compile, com.fasterxml.jackson.core:jackson-annotations:jar:2.11.4:compile, com.fasterxml.jackson.core:jackson-core:jar:2.11.4:compile, com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.11.4:compile, com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.11.4:compile, com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.11.4:compile, org.springframework.boot:spring-boot-starter-tomcat:jar:2.4.2:compile, org.apache.tomcat.embed:tomcat-embed-core:jar:9.0.41:compile, org.glassfish:jakarta.el:jar:3.0.3:compile, org.apache.tomcat.embed:tomcat-embed-websocket:jar:9.0.41:compile, org.springframework:spring-web:jar:5.3.3:compile, org.springframework:spring-beans:jar:5.3.3:compile, org.springframework:spring-webmvc:jar:5.3.3:compile, org.springframework:spring-aop:jar:5.3.3:compile, org.springframework:spring-context:jar:5.3.3:compile, org.springframework:spring-expression:jar:5.3.3:compile, org.springframework.boot:spring-boot-test:jar:2.4.2:test, org.springframework.boot:spring-boot-test-autoconfigure:jar:2.4.2:test, com.jayway.jsonpath:json-path:jar:2.4.0:test, net.minidev:json-smart:jar:2.3:test, net.minidev:accessors-smart:jar:1.2:test, org.ow2.asm:asm:jar:5.0.4:test, org.slf4j:slf4j-api:jar:1.7.30:compile, jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.3:test, jakarta.activation:jakarta.activation-api:jar:1.2.2:test, org.assertj:assertj-core:jar:3.18.1:test, org.hamcrest:hamcrest:jar:2.2:test, org.junit.jupiter:junit-jupiter:jar:5.7.0:test, org.junit.jupiter:junit-jupiter-api:jar:5.7.0:test, org.apiguardian:apiguardian-api:jar:1.1.0:test, org.opentest4j:opentest4j:jar:1.2.0:test, org.junit.platform:junit-platform-commons:jar:1.7.0:test, org.junit.jupiter:junit-jupiter-params:jar:5.7.0:test, org.junit.jupiter:junit-jupiter-engine:jar:5.7.0:test, org.junit.platform:junit-platform-engine:jar:1.7.0:test, org.mockito:mockito-core:jar:3.6.28:test, net.bytebuddy:byte-buddy:jar:1.10.19:test, net.bytebuddy:byte-buddy-agent:jar:1.10.19:test, org.objenesis:objenesis:jar:3.1:test, org.mockito:mockito-junit-jupiter:jar:3.6.28:test, org.skyscreamer:jsonassert:jar:1.5.0:test, com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test, org.springframework:spring-core:jar:5.3.3:compile, org.springframework:spring-jcl:jar:5.3.3:compile, org.springframework:spring-test:jar:5.3.3:test, org.xmlunit:xmlunit-core:jar:2.7.0:test]
-------------------------------------------------------
USED DEPENDENCIES: []
-------------------------------------------------------
 D E P C L E A N   A N A L Y S I S   R E S U L T S
-------------------------------------------------------
USED DIRECT DEPENDENCIES [0]:
USED INHERITED DEPENDENCIES [0]:
USED TRANSITIVE DEPENDENCIES [0]:
POTENTIALLY UNUSED DIRECT DEPENDENCIES [2]:
        org.springframework.boot:spring-boot-starter-web:2.4.2:compile (4 KB)
        org.springframework.boot:spring-boot-starter-test:2.4.2:test (4 KB)
POTENTIALLY UNUSED INHERITED DEPENDENCIES [0]:
POTENTIALLY UNUSED TRANSITIVE DEPENDENCIES [58]:
        org.assertj:assertj-core:3.18.1:test (4 MB)
        net.bytebuddy:byte-buddy:1.10.19:test (3 MB)
        org.apache.tomcat.embed:tomcat-embed-core:9.0.41:compile (3 MB)
        org.springframework:spring-web:5.3.3:compile (1 MB)
        org.springframework.boot:spring-boot-autoconfigure:2.4.2:compile (1 MB)
        org.springframework:spring-core:5.3.3:compile (1 MB)
        com.fasterxml.jackson.core:jackson-databind:2.11.4:compile (1 MB)
        org.springframework.boot:spring-boot:2.4.2:compile (1 MB)
        org.springframework:spring-context:5.3.3:compile (1 MB)

Would be great if it could find all jars needed if I start the app. .e.g Tomcat, Spring Context/Beans, etc. should be shown.

Thanks @cesarsotovalero
It works now, but the result is not satisfying. Anyhow, wow! I am impressed! 👍
C:\Users\myUser\Downloads\demo>mvn se.kth.castor:depclean-maven-plugin:1.1.2-SNAPSHOT:depclean
[INFO] Scanning for projects...
[INFO]
[INFO] --------------------------< com.example:demo >--------------------------
[INFO] Building demo 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- depclean-maven-plugin:1.1.2-SNAPSHOT:depclean (default-cli) @ demo ---
-------------------------------------------------------
[INFO] Starting DepClean dependency analysis
-------------------------------------------------------
DIRECT DEPENDENCIES: [org.springframework.boot:spring-boot-starter-web:jar:2.4.2:compile, org.springframework.boot:spring-boot-starter-test:jar:2.4.2:test]
-------------------------------------------------------
TRANSITIVE DEPENDENCIES: [org.springframework.boot:spring-boot-starter:jar:2.4.2:compile, org.springframework.boot:spring-boot:jar:2.4.2:compile, org.springframework.boot:spring-boot-autoconfigure:jar:2.4.2:compile, org.springframework.boot:spring-boot-starter-logging:jar:2.4.2:compile, ch.qos.logback:logback-classic:jar:1.2.3:compile, ch.qos.logback:logback-core:jar:1.2.3:compile, org.apache.logging.log4j:log4j-to-slf4j:jar:2.13.3:compile, org.apache.logging.log4j:log4j-api:jar:2.13.3:compile, org.slf4j:jul-to-slf4j:jar:1.7.30:compile, jakarta.annotation:jakarta.annotation-api:jar:1.3.5:compile, org.yaml:snakeyaml:jar:1.27:compile, org.springframework.boot:spring-boot-starter-json:jar:2.4.2:compile, com.fasterxml.jackson.core:jackson-databind:jar:2.11.4:compile, com.fasterxml.jackson.core:jackson-annotations:jar:2.11.4:compile, com.fasterxml.jackson.core:jackson-core:jar:2.11.4:compile, com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.11.4:compile, com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.11.4:compile, com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.11.4:compile, org.springframework.boot:spring-boot-starter-tomcat:jar:2.4.2:compile, org.apache.tomcat.embed:tomcat-embed-core:jar:9.0.41:compile, org.glassfish:jakarta.el:jar:3.0.3:compile, org.apache.tomcat.embed:tomcat-embed-websocket:jar:9.0.41:compile, org.springframework:spring-web:jar:5.3.3:compile, org.springframework:spring-beans:jar:5.3.3:compile, org.springframework:spring-webmvc:jar:5.3.3:compile, org.springframework:spring-aop:jar:5.3.3:compile, org.springframework:spring-context:jar:5.3.3:compile, org.springframework:spring-expression:jar:5.3.3:compile, org.springframework.boot:spring-boot-test:jar:2.4.2:test, org.springframework.boot:spring-boot-test-autoconfigure:jar:2.4.2:test, com.jayway.jsonpath:json-path:jar:2.4.0:test, net.minidev:json-smart:jar:2.3:test, net.minidev:accessors-smart:jar:1.2:test, org.ow2.asm:asm:jar:5.0.4:test, org.slf4j:slf4j-api:jar:1.7.30:compile, jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.3:test, jakarta.activation:jakarta.activation-api:jar:1.2.2:test, org.assertj:assertj-core:jar:3.18.1:test, org.hamcrest:hamcrest:jar:2.2:test, org.junit.jupiter:junit-jupiter:jar:5.7.0:test, org.junit.jupiter:junit-jupiter-api:jar:5.7.0:test, org.apiguardian:apiguardian-api:jar:1.1.0:test, org.opentest4j:opentest4j:jar:1.2.0:test, org.junit.platform:junit-platform-commons:jar:1.7.0:test, org.junit.jupiter:junit-jupiter-params:jar:5.7.0:test, org.junit.jupiter:junit-jupiter-engine:jar:5.7.0:test, org.junit.platform:junit-platform-engine:jar:1.7.0:test, org.mockito:mockito-core:jar:3.6.28:test, net.bytebuddy:byte-buddy:jar:1.10.19:test, net.bytebuddy:byte-buddy-agent:jar:1.10.19:test, org.objenesis:objenesis:jar:3.1:test, org.mockito:mockito-junit-jupiter:jar:3.6.28:test, org.skyscreamer:jsonassert:jar:1.5.0:test, com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test, org.springframework:spring-core:jar:5.3.3:compile, org.springframework:spring-jcl:jar:5.3.3:compile, org.springframework:spring-test:jar:5.3.3:test, org.xmlunit:xmlunit-core:jar:2.7.0:test]
-------------------------------------------------------
USED DEPENDENCIES: []
-------------------------------------------------------
 D E P C L E A N   A N A L Y S I S   R E S U L T S
-------------------------------------------------------
USED DIRECT DEPENDENCIES [0]:
USED INHERITED DEPENDENCIES [0]:
USED TRANSITIVE DEPENDENCIES [0]:
POTENTIALLY UNUSED DIRECT DEPENDENCIES [2]:
        org.springframework.boot:spring-boot-starter-web:2.4.2:compile (4 KB)
        org.springframework.boot:spring-boot-starter-test:2.4.2:test (4 KB)
POTENTIALLY UNUSED INHERITED DEPENDENCIES [0]:
POTENTIALLY UNUSED TRANSITIVE DEPENDENCIES [58]:
        org.assertj:assertj-core:3.18.1:test (4 MB)
        net.bytebuddy:byte-buddy:1.10.19:test (3 MB)
        org.apache.tomcat.embed:tomcat-embed-core:9.0.41:compile (3 MB)
        org.springframework:spring-web:5.3.3:compile (1 MB)
        org.springframework.boot:spring-boot-autoconfigure:2.4.2:compile (1 MB)
        org.springframework:spring-core:5.3.3:compile (1 MB)
        com.fasterxml.jackson.core:jackson-databind:2.11.4:compile (1 MB)
        org.springframework.boot:spring-boot:2.4.2:compile (1 MB)
        org.springframework:spring-context:5.3.3:compile (1 MB)

Would be great if it could find all jars needed if I start the app. .e.g Tomcat, Spring Context/Beans, etc. should be shown.

It works now, but the result is not satisfying.

Did you run mvn clean verify before executing DepClean?

It works now, but the result is not satisfying.

Did you run mvn clean verify before executing DepClean?

Facing the same error, kindly let me know when the issue will be resolved.

@SagarGupta1 The issue has been resolved.

Facing the same error, kindly let me know when the issue will be resolved.

@SagarGupta1 The issue has been resolved.

Same issue here.

@sebthom The issue has been resolved, see https://github.com/castor-software/depclean/issues/28#issuecomment-767000533

Would be helpful if the plugin would do the analysis at least for the dependencies it could download and it if could show which dependencies could not be downloaded.

I'm currently working on this https://github.com/castor-software/depclean/issues/31. I'll let you know when it is done.

Same issue here.

@sebthom The issue has been resolved, see https://github.com/castor-software/depclean/issues/28#issuecomment-767000533

Would be helpful if the plugin would do the analysis at least for the dependencies it could download and it if could show which dependencies could not be downloaded.

I'm currently working on this https://github.com/castor-software/depclean/issues/31. I'll let you know when it is done.

mvn clean verify helps to reach this. But then still tomcat and maybe other deps are missing. Maybe loaded via reflection?
 But then still tomcat and maybe other deps are missing. Maybe loaded via reflection?
 But then still tomcat and maybe other deps are missing. Maybe loaded via reflection?

DepClean uses static analysis. Therefore, it may not detect some reflection calls between the project and its dependencies. Dealing with reflection, dynamic calls, dynamic proxies, etc., is a hard problem for Java code analysis. So, I recommend refining the dependencies of a Maven project as follows:

Use DepClean to get the big picture about the dependencies used/unused,
Exclude/remove the unused dependencies as per the DepClean report,
Execute the test and build the project, if it pass go to 6., else continue,
Add the missing dependency as per the build report
Go to 3.
Done!

mvn clean verify helps to reach this. But then still tomcat and maybe other deps are missing. Maybe loaded via reflection?

DepClean uses static analysis. Therefore, it may not detect some reflection calls between the project and its dependencies. Dealing with reflection, dynamic calls, dynamic proxies, etc., is a hard problem for Java code analysis. So, I recommend refining the dependencies of a Maven project as follows:

Use DepClean to get the big picture about the dependencies used/unused,
Exclude/remove the unused dependencies as per the DepClean report,
Execute the test and build the project, if it pass go to 6., else continue,
Add the missing dependency as per the build report
Go to 3.
Done!

Thanks so much for answering and your support so far.
Is there a possibility to add hints like for Spring Boot with the
web-starter that we could add the embedded Tomcat as a mandatory dependency
and then we continue the search?
Would it be possible to search for strings which look like a package,
method which is used during reflection and continue the search?
I am just brainstorming and thinking ...
Best,
Patrick
On Mon, Jan 25, 2021 at 10:59 PM César Soto Valero<EMAIL_ADDRESS>wrote:

mvn clean verify helps to reach this. But then still tomcat and maybe
other deps are missing. Maybe loaded via reflection?
DepClean uses static analysis. Therefore, it may not detect some
reflection calls between the project and its dependencies. Dealing with
reflection, dynamic calls, dynamic proxies, etc., is a hard problem
https://homepages.cwi.nl/~jurgenv/papers/icse17.pdf for Java code
analysis. So, I recommend refining the dependencies of a Maven project as
follows:

Use DepClean to get the big picture about the dependencies
used/unused,
Exclude/remove the unused dependencies as per the DepClean report,
Execute the test and build the project, if it pass go to 6., else
continue,
Add the missing dependency as per the build report
Go to 3.
Done!

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/castor-software/depclean/issues/28#issuecomment-767139669,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADDJ7EBCWJ76BNFIS7YO4LS3XSTPANCNFSM4V2D2GHA
.

Thanks so much for answering and your support so far.
Is there a possibility to add hints like for Spring Boot with the
web-starter that we could add the embedded Tomcat as a mandatory dependency
and then we continue the search?
Would it be possible to search for strings which look like a package,
method which is used during reflection and continue the search?
I am just brainstorming and thinking ...
Best,
Patrick
On Mon, Jan 25, 2021 at 10:59 PM César Soto Valero<EMAIL_ADDRESS>wrote:

mvn clean verify helps to reach this. But then still tomcat and maybe
other deps are missing. Maybe loaded via reflection?
DepClean uses static analysis. Therefore, it may not detect some
reflection calls between the project and its dependencies. Dealing with
reflection, dynamic calls, dynamic proxies, etc., is a hard problem
https://homepages.cwi.nl/~jurgenv/papers/icse17.pdf for Java code
analysis. So, I recommend refining the dependencies of a Maven project as
follows:

Use DepClean to get the big picture about the dependencies
used/unused,
Exclude/remove the unused dependencies as per the DepClean report,
Execute the test and build the project, if it pass go to 6., else
continue,
Add the missing dependency as per the build report
Go to 3.
Done!

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/castor-software/depclean/issues/28#issuecomment-767139669,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADDJ7EBCWJ76BNFIS7YO4LS3XSTPANCNFSM4V2D2GHA
.

Hi @patbaumgartner,

Is there a possibility to add hints like for Spring Boot with the web-starter that we could add the embedded Tomcat as a mandatory dependency and then we continue the search?

DepClean has an ignoreDependencies parameter to skip the analysis of custom dependencies (see https://github.com/castor-software/depclean#optional-parameters). Since we cannot cover all the possible reflection-based libraries, we prefer to let this decision to developers 😄

Would it be possible to search for strings which look like a package, method which is used during reflection and continue the search?

DepClean can detect classes or class members that are created or invoked dynamically using basic constructs such as class.forName("someClass") or class.getMethod("someMethod", null). To do so, DepClean parses the constant pool of the class files (see https://github.com/castor-software/depclean/blob/master/depclean-core/src/main/java/se/kth/depclean/core/analysis/asm/ConstantPoolParser.java#L94-L158)
If you know any other trick to deal with reflection: your contribution is more than welcome!

Hi @patbaumgartner,

Is there a possibility to add hints like for Spring Boot with the web-starter that we could add the embedded Tomcat as a mandatory dependency and then we continue the search?

DepClean has an ignoreDependencies parameter to skip the analysis of custom dependencies (see https://github.com/castor-software/depclean#optional-parameters). Since we cannot cover all the possible reflection-based libraries, we prefer to let this decision to developers 😄

Would it be possible to search for strings which look like a package, method which is used during reflection and continue the search?

DepClean can detect classes or class members that are created or invoked dynamically using basic constructs such as class.forName("someClass") or class.getMethod("someMethod", null). To do so, DepClean parses the constant pool of the class files (see https://github.com/castor-software/depclean/blob/master/depclean-core/src/main/java/se/kth/depclean/core/analysis/asm/ConstantPoolParser.java#L94-L158)
If you know any other trick to deal with reflection: your contribution is more than welcome!


WIP:Fixed Voyager issue when running StickySession test

I found the cause why creating Voyager ingress failed with the error
Error: apiVersion "voyager.appscode.com/v1beta1" in ingress-per-domain/templates/voyager-ingress.yaml is not available
it's a timing issue. I found that after I added print-out of logs from Voyager pod to further debug, % of passed tests increased. So I then increased the waiting time between upgradeVoyagerNamespace and createVoyagerIngress from 20 sec to 60 sec. Now the tests passed three times in a row
http://wls-jenkins.us.oracle.com/job/weblogic-kubernetes-operator-javatest/3022/consoleFull
http://wls-jenkins.us.oracle.com/job/weblogic-kubernetes-operator-javatest/3023/consoleFull
http://wls-jenkins.us.oracle.com/job/weblogic-kubernetes-operator-javatest/3025/console
below is msg from passed test:
oracle.kubernetes.operator.utils.LoadBalancer createVoyagerIngress createVoyagerIngress() Running cd /scratch/****/workspace/weblogic-kubernetes-operator-javatest/weblogic-operator/integration-tests/../integration-tests/src/test/resources/charts && helm install ingress-per-domain  --name voyager-ingress-itstickysesn-domain-31 --namespace itstickysesn-domainns-13 --set type=VOYAGER --set ****Domain.domainUID=itstickysesn-domain-31 --set ****Domain.clusterName=cluster-1 --set voyager.webPort=30975
10-26-2019 18:51:01 INFO
oracle.kubernetes.operator.utils.LoadBalancer executeHelmCommand Command returned NAME:   voyager-ingress-itstickysesn-domain-31
I also fixed a typo of Voyager namespace definition in our LoadBalance.java file

I focused on LoadBalancer.java. The change makes sense to me.


Revision on Night mode

Change HR colour to match the texts.
Darkened the boards and tables at the profile page.
Improved contrast for code elements.
Changed colour for map's arrows.
Unified the link colours for links in challenges' instructions.
Added colour variables to improve maintainability and possible future enhancements (theming?).

Thus, closes https://github.com/FreeCodeCamp/FreeCodeCamp/issues/8001 and https://github.com/FreeCodeCamp/FreeCodeCamp/issues/8016

it's extremely nigh to completion ;)

:sparkles: :sparkles: LGTM. :sparkles: :sparkles:
Thanks.

@hallaathrad thanks!


Root Element Error

In the old version everything worked fine but now I have this problem:
XML Document must have root element.

I also had the same problem after updating xcode then i used the latest version of AEXML and it solved the problem.

Always use the latest version.


Track problems when running the project

Description
There are some errors when running the code. In the yaml_example.ipynb archive, there are some lines we should execute. It returns a lot of errors and isn't able to execute anything.

Checklist

[x] Find what is causing the problems in each archive;
[x] Correct the problems identified.

I could fix these issues by creating config/default_config2.yaml. Now it's possible to execute the lines and run the project but new errors were identified as shown below:

3 processes are now working:

Further investigation is needed to properly manage this issue.


View an item in an order

Use API endpoint /orders/<order_id>/item/<item_id> to view an item in an order

Closed in favor of https://github.com/CSCI-GA-2820-SU24-001/orders/pull/22 which avoids conflicts with master branch


Add option to regex ignore certain changes.

I could need an option to exlcude certain things from being regarded as valid change.
For example metadata regarding edit times.

It would be awesome to either to be able to ignore these or always select just the file with the latest edit time?
I am using syncthing as well and this issue is greatly improved by your plugin but maybe with using
https://github.com/beaussan/update-time-on-edit-obsidian
we can even fully automate it?
an option to auto delete sync-conflict files when all accepted would be the icing on the cake too :)
thank you so much for this plugin and your  consideration.
I hope hat even makes sense.

Yes, I would like to have this feature.
It is taking time to accept/reject blank lines and things like that.


Web Viewer : Can't find images for dropped materials when running through localhost

I'm not sure why, but if you drop a material into the Web Viewer running locally (localhost), then you
get errors saying that the images are not found.

For simplicity, let's merge this into #1640, which covers the user-facing case of drag-and-drop of materials with image references in the web viewer.


Add readme by yivies.

Description

[x] I have added a folder(Named it as my GitHub user id)
[x] I have added a Readme.md file inside the folder
[x] I understand the GitHub Forking Concept fully

描述

[x] 我添加了一个文件夹（将其命名为我的 GitHub 用户 ID）
[x] 我在文件夹中添加了一个 Readme.md 文件
[x] 我完全理解 GitHub 分叉概念


allow using canonical transcript instead of highest impact

see: https://groups.google.com/forum/#!topic/gemini-variation/KKCO05-RNYo

Hey ya'll,
What do you think we'd have to do to implement this? I've had some folks we work with asking about it.

I like Brent's idea of '--use-canonical' flag for those who want ranking based on canonical transcripts. The default can still remain the same.

Is the canonical transcript flagged in the snpEFF/VEP output and folded into the INFO field somehow?

Yes there's a '--canonical' flag in VEP and that should be available in INFO. Not sure about snpEff though.

as long as there is a way to know which is the Canonical (is it put first?) This should be implemented by adding a flag to gemini and then passing it to geneimpacts module which does the variant prioritization.

++ particularly on being able to make hgvs use the canonical transcript

Is there any kind of workaround we could implement before this feature gets added? Perhaps some way to get the VEP --pick (https://useast.ensembl.org/info/docs/tools/vep/script/vep_options.html) information added to variant_impact?

Hi @oleraj I'd gladly accept a PR for this.

After doing some more digging, it looks like this was maybe already fixed by @roryk in geneimpacts (at least for VEP-annotated VCFs), though I haven't tested it yet.
https://github.com/brentp/geneimpacts/commit/c1fd841c65a65e83be7fe1d1304785bb6db0642d#diff-ef46603b09e1d94334dfde203c2a72db
This is in at least version 0.3.4 for geneimpacts; can we update this in the requirements file for gemini?  Maybe geneimpacts>=0.3.6?  Currently it's using 0.1.3.


Support postgreSQL service detection

/kind user-story
/kind epic
Which area this user story is related to?
/area alizer
User Story
As a user of alizer I want to be able to detect if a project is using postgresql, so that I can extract important information about its setup or credentials which I might use for deployment etc.
For more information about this topic check the investigation of this EPIC done here.
Every framework/runtime detector should have specific functions and logic to support the detection postgresql database services.
Acceptance Criteria
DotNet

[ ] Add postgresql detection logic to DotNetDetector

Golang

[ ] Add postgresql detection logic to BeegoDetector
[ ] Add postgresql detection logic to EchoDetector
[ ] Add postgresql detection logic to FastHttpDetector
[ ] Add postgresql detection logic to GinDetector
[ ] Add postgresql detection logic to GoDetector
[ ] Add postgresql detection logic to GoFiberDetector
[ ] Add postgresql detection logic to MuxDetector

Java

[ ] Add postgresql detection logic to JBossEAPDetector
[ ] Add postgresql detection logic to MicronautDetector
[ ] Add postgresql detection logic to OpenLibertyDetector
[ ] Add postgresql detection logic to QuarkusDetector
[ ] Add postgresql detection logic to SpringDetector
[ ] Add postgresql detection logic to VertxDetector
[ ] Add postgresql detection logic to WildflyDetector

Javascript

[ ] Add postgresql detection logic to NodejsDetector

PHP

[ ] Add postgresql detection logic to LaravelDetector

Python

[ ] Add postgresql detection logic to DjangoDetector
[ ] Add postgresql detection logic to FlaskDetector

This is still a requirement, re-opening


Skipped TestTimeout test, use the detect_ip file in the default path for Windows and Added Unit failures status for missing units on Windows

This PR contains three separate commits that address the following three issues.

Skipped TestTimeout test
2.Made the dcos-diagnostics to use the detect_ip file in the default path for Windows
Added Unit failures status for missing units on Windows

Can one of the admins verify this patch?

@mesosphere-ci test this please

@mesosphere-ci test this please

@mesosphere-ci retest this please

@mesosphere-ci ok to test


tests not running completely

I have installed all dependencies necessary for the application to run however when I run the tests located in /mia/tests
:~/mia/tests# python conftest.py
I receive
:~/mia/test# python conftest.py
Using TensorFlow backend.

and that is all - nothing else. do you have any idea why this could be happening?

You're not supposed to run conftest.py. The tests are run using the pytest command.
I realized the instruction for running the tests is missing; I added it to https://docs.mia-lib.ml/en/latest/contributing.html


chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 2234

Questions ?
Please refer to the Backport tool documentation


Deploy repo service to azure

Also added some telemetry

Codecov Report

Merging #154 (31ed9a7) into main (8a6e9ec) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #154   +/-   ##
=======================================
  Coverage   74.60%   74.60%
=======================================
  Files          42       42
  Lines        1142     1142
=======================================
  Hits          852      852
  Misses        290      290

Continue to review full report at Codecov.

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


only search for numpy when the numpy-include directory is not passed

In the emscripten / wasm case we cannot call the default find_package(NumPy ${NUMPY_REQUIRED_VERSION} REQUIRED) since this tries to call a non-existing python executable for the emscripten-wasm32 platform (we only have a python library for that platform).
Therefore we pass NUMPY_INCLUDE_DIRS explicitly when building for wasm.

Superseded with #305


Dark mode not applied on newly added section

Description
Hey, @narayan954 Dark mode is not getting applied on the newly added section on the sidebar. Please assign me this issue to resolve this bug. Thank you!
Steps to reproduce
Added dynamic colour to this section using --var() function.
Screenshots

Desktop (please complete the following information)
No response
Smartphone (please complete the following information)
No response
Additional information
No response

Description
Hey, @narayan954 Dark mode is not getting applied on the newly added section on the sidebar. Please assign me this issue to resolve this bug. Thank you!
Steps to reproduce
Added dynamic colour to this section using --var() function.
Screenshots

Desktop (please complete the following information)
No response
Smartphone (please complete the following information)
No response
Additional information
No response

Hi @sumitkr2000 , this issue exists already, please claim that or wait for it to be inactive. I've to close this one as duplicate

Can you please tag the issue number?

Can you please tag the issue number?

actually, even I can't find the issue, I think I saw it and assigned it... Anyways you can work on this


logoutId always null (user marked as not active)

I've posted this as a SO question (https://stackoverflow.com/questions/53780000/identityserver-logoutid-is-null), but I'm also posting it here, in case it is a bug, or the docs need updating to refer to User not marked as active. If there's such info, I'm sorry, I couldn't find it.
Issue / Steps to reproduce the problem
I can't get the PostLogoutRedirectUri from IdentityServer4 because logoutId on my Logout action is always null. I checked and the PostLogoutRedirectUris property has the same exact url I'm sending and it still won't work, logoutId is always null.
After researching a little bit deeper I found out one of the errors being thrown are due to IsActiveContext not being active:

source: https://github.com/IdentityServer/IdentityServer4/blob/master/src/Validation/Default/TokenValidator.cs#L123

I just couldn't find the process to fix it and confirm if this is the only problem.
Code:

Request:

Relevant parts of the log file

@brockallen what update? I'm not following.

I asked if you had any updates. Since I heard nothing I closed this.

So to answer your original question - if the user is not active, then we can't validate a token for them. So at signout that sounds like what's happening, and thus your logoutId is null.

I'm sorry, but I still don't follow. I was asking a question/reporting a bug. I though you might be chiming leastprivilege who added the question tag. The situation hasn't changed and no answer was provided on SO.

Well, that's how our token validator works. It checks to see if the user is "active". So since that is failing, the end session request validation fails, which means you don't get a logoutId in the logout action method.


Add Unknown key role and adjust code needed

this is part of ADP-2379. KeyRole was extended and Unknown data constructor was added. And the needed code adjusted. The change is motivated by the fact that there are situations where for a given wallet we cannot state whether a given key hash is acting as Policy/Payment/Delegation, it is external for this wallet and unknown. The keys can be represented as bytes and only upon constructing value of type KeyHash we are assuming the role. In order to handle the situation where the key hash is unknown we introduced the Unknown role. In that case we will assume hex-encoded representation - in contrast to bech32 where we the role is known.
https://input-output.atlassian.net/browse/ADP-2312

Two things are needed:

Remove cicero
Fix Continuous Integration (Windows)

network                    >                  from cbits\asyncAccept.c:6:0: error:
network                    > C:\Users\runneradmin\AppData\Local\Programs\stack\x86_64-windows\ghc-8.10.7\lib/include/stg/Types.h:26:9: warning: #warning "Mismatch between __USE_MINGW_ANSI_STDIO definitions. If using Rts.h make sure it is the first header included." [-Wcpp]
network                    >    26 | #       warning "Mismatch between __USE_MINGW_ANSI_STDIO definitions. \
network                    >       |         ^~~~~~~
network                    > In file included from C:\Users\runneradmin\AppData\Local\Programs\stack\x86_64-windows\ghc-8.10.7\lib/include/HsFFI.h:20,


feat: add build.ps1

Overview
Currently for building from source on Windows environments we are dependent on build.bat and since .bat files are harder to handle/manage it is preferred to move to .ps1 files instead which are the official Windows way of scripting.
Additional Information
The powershell script has been completely ported from build.bat and aims to replicate it's results and flow.
How to Test
build.ps1 all
build.ps1 install
build.ps1 build

Related issues/PRs:
Resolved #760
Resolved #735
Checklist before requesting a review

[x] My code follows the style guidelines of this project
[x] I have commented on my code, particularly in hard-to-understand areas
[x] I have performed a self-review of my code
[x] If it is a core feature, I have added thorough tests.
[x] New and existing unit tests pass locally with my changes

@pwnb0y @craigbox should I also edit the corresponding docs for this?
Maybe even remove build.bat now that it's no longer needed? Or maybe have it there for the time being allowing users to choose between their desired method?

@HollowMan6 do you have thoughts here?

.ps1 files [..] are the official Windows way of scripting

sobs at the march of progress

@HollowMan6 @craigbox thanks for the suggestions!
Agreed, it is a bit misleading to mark things as successful before ensuring the same, not wanting to make any false promises.
I've made the updates, the only reason I preferred the second method is to ensure a standard output keyword of sorts to be present across the downloads as well as the installations.
Feel free to let me know if any more changes are required!
Also any remarks on this?

@pwnb0y @craigbox should I also edit the corresponding docs for this?
Maybe even remove build.bat now that it's no longer needed? Or maybe have it there for the time being allowing users to choose between their desired method?

Thanks!

If we're confident it works I'd remove the .bat and update any docs that refer to it.


Fixes #8713: Missing sealerate as dependency

https://www.rudder-project.org/redmine/issues/8713

Done in #23


Godoc is broken

The go get command cannot install this package because of the following issues:

    Unrecognized import path "funnel/config" (wrapper.go:5:2)
    Unrecognized import path "funnel/proto/funnel" (sched.go:15:2)
    Unrecognized import path "funnel/logger" (sched.go:14:2)
    Unrecognized import path "funnel/proto/tes" (sched.go:16:2)
    Unrecognized import path "funnel/scheduler" (sched.go:17:2)

https://godoc.org/github.com/ohsu-comp-bio/funnel/src/funnel/scheduler/gce
Possibly this is another reason to make this project go-gettable

Fixed by #94


Bugfix/handle locked settings

Description of Change
Updates DeviceSettings class to handle cases where backup sets are locked.
Adds a .locked (read only) property on backup sets to indicate if they're locked and also prevents modifications to
non-destination settings on that set if True.
Issues Resolved
Fixes bug found in testing.
PR Checklist
Did you remember to do the below?

[x] Add unit tests to verify this change

I have read the CLA Document and I hereby sign the CLA

All feedback addressed.


Service not working

It looks like this service is down. I can sign in but the poster doesn't show.

Hi, thanks for using annum!
Might have been a hickup, it works on my end. Please give it a try again.
If it continues to not work, please let me know. Thanks!


Drop down list for selecting study group is so slow

Also I can't remove current selected group after it was selected.

you can start type new group name


Add sample usage for Nunjucks filters with multiple parameters

Notes

Adds sample usage for Nunjucks filters with multiple parameters. Example is based heavily on a similar example in the Liquid doc page.
Closes https://github.com/11ty/eleventy/issues/1244

Thank you!


TagHelpers doesn't run in script tag?

I think TagHelpers are not working in  tags.
Something like:

Here we need TagHelpers in


Missing ColorBlock (color input)

Is your proposal related to a problem?
Right now, there isn't a ColorBlock as part of the Basic block types. This would add the ability to add a color input
Describe the solution you'd like
Add a ColorBlock that uses a color input.
Another option is to add a type argument to the CharBlock that will be used to define the input type

It’s a good suggestion and is something that I definitely see the need for.
I see two issues:

input=”color” is not supported IE11 (https://caniuse.com/#feat=input-color), but it's not a big thing because we have plans to drop IE11 in the future (https://github.com/wagtail/wagtail/issues/6170).
The native color input implementation varies between browsers, perhaps too much to have a consistent UI in Wagtail?

Implementation wise I think using a separate block (ColorBlock) is the proper way of doing things and a good way forward could be to create a proof-of-concept block for browser testing. Also I think this block could be a good fit as a third party package until the IE11 support is dropped.

A follow up, I just released a external packages that should fill the requirements in this issue. The package can be found there: https://github.com/marteinn/wagtail-color-panel
My plan is to keep the functionality outside of core until our IE11 requirement is dropped, after that have a discussion if this should be merged into core or kept outside as a third party package.

I tried adding a basic color block by wrapping a Django form field like so:
class ColorBlock(blocks.FieldBlock):
    def __init__(self, required=True, help_text=None, **kwargs):
        self.field = forms.CharField(
            required=required,
            help_text=help_text,
            widget=forms.TextInput(attrs={'type': 'color'})
        )
        super().__init__(**kwargs)

but it looks somewhat strange:
Firefox:
Chrome:
I'm sure this can be solved by adding custom CSS, but having a block that works available in Wagtail would be great.

For people interested in this, we no longer support IE11 as of a few releases ago. And as of #8921, we’ve also removed a lot of the styles that would conflict with a <input type="color">. Here is what it would look like right now:

I’m unsure whether this would make a good "core" feature, unless perhaps if Django itself had a ColorField. I suspect people interested in this would be better served by an external package, which could evolve much faster than we make changes to Wagtail itself.

For people interested in making a color block using the package here: https://github.com/marteinn/wagtail-color-panel. This will create a text field with a color picker, with validations.
from wagtail_color_panel.blocks import NativeColorBlock

class YourBlock(StructBlock):
    textColor = NativeColorBlock(help_text="Provide a text color")


Support for Snippet Choices and Custom Keymap in Blink.cmp

Feature Description
Merry Christmas, Saghen :)
I think the completion/completeopt settings should be modified to support blink.cmp as a completion source, because Blink does not currently provide autocompletion for snippet choices.
It would be a good idea to add a custom keymap for snippet choices, something like ["<C-E>"] = { "expandchoice" }.
I understand that someone might suggest using luasnip or mini.snippet, but this doesn't mean it should depend on those. Instead, a new keymap, such as expandchoice, specific for Blink, along with customizable completeopt options, would be a great idea for the future.
It would be really interesting to see this feature added!
https://github.com/user-attachments/assets/a3f5992a-7c7d-4702-b73b-9316a2aa4db7

Merry christmas to you too :)
Duplicate of #743


Expandable data in table component not updating if data gets updated.

Hi, i would like to inform critical but in table component.
If we have expandable data in table and we open expandable data it works fine. But I change data through filter or pagination. Data of table get updated according to filter/page but expandable data stays the same.
You can reproduce this in docs by just adding these two lines to expandable demo.
<template lang="html">
  <div>
    <vs-table
      pagination
      max-items="3"
      :data="users">
      <template slot="header">
....

Here's what it looks like:

This is fixed in This PR


Nested shortcodes

Hi, first of all I know which my problem is not at all related to the sage project but I know that your advanced wordpress knowledge can help me to get through that.
p.s. I've been creating my shortcodes upon sage scaffolding.
I built two shortcodes for nested using:
[outdoor]
  [outdoor_item title="My title 1" color="orange"]The 1st Content[/outdoor]
  [outdoor_item title="My title 2" color="blue"]The 2nd Content[/outdoor]
  [outdoor_item title="My title 3" color="green"]The 3rd Content[/outdoor]
  [outdoor_item title="My title 4" color="red"]The 4th Content[/outdoor]
[/outdoor]

After lots of hours searching something in stackoverflow and google I figured it out that I had to apply do_shortcode() in my RAW outdoor shortcontent content... something like this:
add_shortcode('outdoor', function($atts, $content, $tag) {
   return '
' . do_shortcode($content) . '
';
});

and then my problem comes out... the function do_shortcode() renders ONLY my first outdoor_item and ignores every outdoor_item else. It outputs something like this:

My title 1

      The 1st Content

p.s. I've tried do_shortcode(), apply_filters('the_content', $content) and even wp_reset_postdata() after each outdoor_item call.
WHAT ELSE COULD I DO? :(

Hi, first of all I know which my problem is not at all related to the sage project

https://github.com/roots/guidelines/blob/master/CONTRIBUTING.md#using-the-issue-tracker
Questions like this belong on https://discourse.roots.io

Use [/outdoor_item].
And next time please post on our forum or StackOverflow or something. This issue tracker is for people who are interested in aiding with (or at least monitoring) the development of Sage.
If you have a project you're working on and you want our help, the proper place to ask us is right here: https://roots.io/services/


Error message appearing at a session timeout does not reflect the real behaviour

Environment
IS 2 node cluster setup fronted by Nginx
Mysql 5.6
JDK 1.8
Browser Chrome 58.0.3029.96
When a session timeout happens "The input stream for an incoming message is null" error message will appear, this does not reflect the real behaviour of the system (session timeout issue)

For example: From a new users point of view this error message does not reflect the session timeout issue, hence we need to improve the error message to reflect the real behaviour.
Note - We should specifically be mentioned that the session is timeout

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


chore: Update documentation to remove prior notice and deprecated workflow

Description

Update documentation to remove prior notice and deprecated workflow

Motivation and Context

House keeping

Breaking Changes

No

How Has This Been Tested?

[ ] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[ ] I have tested and validated these changes using one or more of the provided examples/* projects

[ ] I have executed pre-commit run -a on my pull request

@antonbabenko my bad - don't forget to update default branch name see_no_evil

No problems, renamed. :)

This PR is included in version 4.1.1 :tada:


Installing SAP HANA, express edition with Docker

Tutorial URL: https://developers.sap.com/tutorials/hxe-ua-install-using-docker.html
On Step 12
Adding additional containers. Is there a way to specify the "SAP HANA System ID" to change it from the default of HXE?

Hi darrenm898: To take advantage of the Community Support model, could you post this question to the HANA express  Questions & Answers forum? I've sent the question to Engineering in case they respond before the community does.
Closing this issue for now.


Update translations.rs

Adding Bahasa Indonesia

Thank you so much!
Could you also add the translations to the other file before I merge?

@chayankQ could you also update the files translation_2.rs and translation_3.rs?
I'd like to merge this PR, but I need the full translation to be done beforehand.


Fix missing images in map infoboxes in web agency directory

What's changed, or what was fixed?

There were missing logos in the infoboxes in /web/agencies for infoboxes with more than one image.  Now there are logos visible for each of the agencies in the map infoboxes.

Fixes: N/A
Target Live Date: 2018-06-12 (Flexible, but as soon as it's possible)

[ ] This has been reviewed and approved by (NAME)
[X] I have run gulp test locally and all tests pass.
[X] I have added the appropriate type-something label.
[X] I've staged the site and manually verified that my content displays correctly.

CC: @petele

Whoops!
There were 1 warnings that will prevent this PR from being merged. Please take a look, and either fix, or provide a justification for why they can't be fixed.
WARNINGS
src/content/en/agencies/js/directory.js - JavaScript files are generally not allowed.

:tada: This has been pushed live to https://developers.google.com/web/


Roll engine 2d2cfc0884ff..de350c4cbb4a (2 commits)

https://github.com/flutter/engine/compare/2d2cfc0884ff...de350c4cbb4a
git log 2d2cfc0884ff58e3c4379adea1f5356893d475d3..de350c4cbb4aa3d4b3258fb8646f8723d3991096 --no-merges --oneline
de350c4cb Report timings faster (100ms) in profile/debug (flutter/engine#9287)
6dc4d6ca0 Add refresh callback to GLFW shell (flutter/engine#9280)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (liyuqian@google.com), and stop
the roller if necessary.

Auto-roller completed checks. About to merge.


chore: split domain independent index code into a separate module

@ctron Not in the habit of using it, but will do some conversion soon


ActiveRecord::StatementInvalid: [safely] PG::InsufficientPrivilege: ERROR:  permission denied for relation ahoy_events
: INSERT INTO "ahoy_events" ("id", "visit_id", "name", "properties", "time") VALUES ($1, $2, $3, $4, $5) RETURNING "id"

View details in Rollbar: https://rollbar.com/trystant/BOW/items/628/

PG::InsufficientPrivilege: ERROR:  permission denied for relation ahoy_events

  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql_adapter.rb", line 602, in exec_prepared
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql_adapter.rb", line 602, in block in exec_cache
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract_adapter.rb", line 484, in block in log
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/notifications/instrumenter.rb", line 20, in instrument
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract_adapter.rb", line 478, in log
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql_adapter.rb", line 601, in exec_cache
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql_adapter.rb", line 585, in execute_and_clear
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql/database_statements.rb", line 160, in exec_query
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql/database_statements.rb", line 192, in exec_insert
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/database_statements.rb", line 108, in insert
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/query_cache.rb", line 14, in insert
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation.rb", line 64, in insert
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/persistence.rb", line 524, in _create_record
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/counter_cache.rb", line 139, in _create_record
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/locking/optimistic.rb", line 75, in _create_record
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/attribute_methods/dirty.rb", line 133, in _create_record
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/callbacks.rb", line 306, in block in _create_record
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb", line 88, in __run_callbacks__
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb", line 778, in _run_create_callbacks
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/callbacks.rb", line 306, in _create_record
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/timestamp.rb", line 57, in _create_record
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/persistence.rb", line 504, in create_or_update
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/callbacks.rb", line 302, in block in create_or_update
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb", line 117, in call
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb", line 555, in block (2 levels) in compile
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb", line 505, in call
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb", line 92, in __run_callbacks__
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb", line 778, in _run_save_callbacks
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/callbacks.rb", line 302, in create_or_update
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/persistence.rb", line 142, in save!
  File "/app/vendor/bundle/ruby/2.3.0/gems/bullet-5.4.0/lib/bullet/active_record42.rb", line 50, in save_with_bullet!
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/validations.rb", line 43, in save!
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/attribute_methods/dirty.rb", line 29, in save!
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/transactions.rb", line 291, in block in save!
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/transactions.rb", line 351, in block in with_transaction_returning_status
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/database_statements.rb", line 213, in block in transaction
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/transaction.rb", line 184, in within_new_transaction
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/database_statements.rb", line 213, in transaction
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/transactions.rb", line 220, in transaction
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/transactions.rb", line 348, in with_transaction_returning_status
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/transactions.rb", line 291, in save!
  File "/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-<IP_ADDRESS>1/lib/new_relic/agent/instrumentation/active_record_helper.rb", line 34, in block in save!
  File "/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-<IP_ADDRESS>1/lib/new_relic/agent/transaction.rb", line 855, in with_database_metric_name
  File "/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-<IP_ADDRESS>1/lib/new_relic/agent.rb", line 569, in with_database_metric_name
  File "/app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-<IP_ADDRESS>1/lib/new_relic/agent/instrumentation/active_record_helper.rb", line 33, in save!
  File "/app/vendor/bundle/ruby/2.3.0/gems/ahoy_matey-1.5.2/lib/ahoy/stores/active_record_store.rb", line 39, in track_event
  File "/app/vendor/bundle/ruby/2.3.0/gems/ahoy_matey-1.5.2/lib/ahoy/tracker.rb", line 23, in track
  File "/app/vendor/bundle/ruby/2.3.0/gems/ahoy_matey-1.5.2/app/controllers/ahoy/events_controller.rb", line 29, in block in create
  File "/app/vendor/bundle/ruby/2.3.0/gems/ahoy_matey-1.5.2/app/controllers/ahoy/events_controller.rb", line 19, in each
  File "/app/vendor/bundle/ruby/2.3.0/gems/ahoy_matey-1.5.2/app/controllers/ahoy/events_controller.

This is a side effect of staging limitations. This can be closed.


libavcodec.so.59: cannot open shared

looks like ffmpeg where updateded to 6.0 which breaks the start of
ungoogled-chromium on arch.
/usr/lib/chromium/chromium: error while loading shared libraries: libavcodec.so.59: cannot open shared object file: No such file or directory

ldd /usr/lib/chromium/chromium | grep "not found"
	libavcodec.so.59 => not found
	libavformat.so.59 => not found
	libavutil.so.57 => not found

$ libtree /usr/lib/chromium/chromium
/usr/lib/chromium/chromium
├── libavutil.so.57 not found
├── libavformat.so.59 not found
└── libavcodec.so.59 not found
    ┊ Paths considered in this order:
    ┊ 1. rpath:
    ┊ 2. LD_LIBRARY_PATH was not set
    ┊ 3. runpath was not set
    ┊ 4. ld config files:
    ┊    /opt/cuda/lib64
    ┊    /opt/cuda/nvvm/lib64
    ┊    /opt/cuda/extras/CUPTI/lib64
    ┊    /usr/lib/libfakeroot
    ┊    /usr/lib32
    ┊ 5. Standard paths:
    ┊    /lib
    ┊    /lib64
    ┊    /usr/lib
    ┊    /usr/lib64

sudo pacman -Syu
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
warning: base: local (3-2) is newer than core (3-1)
warning: pacman: local (6.0.2-6) is newer than core (6.0.2-5)
 there is nothing to do

I've issued a rebuild in https://github.com/ungoogled-software/ungoogled-chromium-archlinux/commit/5ceb8fe22c3557f4eec9a7f1f42658591d589ff7, OBS should have a new build in a few hours

@networkException Same problem ?
I just updated 10 minutes ago, was working before, now not working :-(
I am actually pretty stuck now without a working Chromium ..
$ sudo pacman -S ungoogled-chromium

warning: ungoogled-chromium-111.0.5563.64-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) ungoogled-chromium-111.0.5563.64-2

Total Installed Size:  283.95 MiB
Net Upgrade Size:        0.00 MiB

:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring                                                                                [####################################################################] 100%
(1/1) checking package integrity                                                                                [####################################################################] 100%
(1/1) loading package files                                                                                [####################################################################] 100%
(1/1) checking for file conflicts                                                                                [####################################################################] 100%
(1/1) checking available disk space                                                                                [####################################################################] 100%
:: Processing package changes...
(1/1) reinstalling ungoogled-chromium                                                                              [####################################################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating icon theme caches...
(3/3) Updating the desktop file MIME type cache...

$ chromium
/usr/lib/chromium/chromium: error while loading shared libraries: libavcodec.so.60: cannot open shared object file: No such file or directory

The -2 release depends on ffmpeg 6.
If you are using vanilla arch then your system is not updated properly; If you are using a derivative that doesn't ship ffmpeg 6 in stable yet you need to revert to -1, there's no functional difference between these releases

Try running pacman -U /var/cache/pacman/pkg/ungoogled-chromium-111.0.5563.64-1-x86_64.pkg.tar.zst manually (if that file exists), otherwise you'll have to wait for https://github.com/ungoogled-software/ungoogled-chromium-archlinux/actions/runs/4375609675 to finish and download the -1 release manually

@networkException As the file wasn't in my cache anymore, I added the repo jk-aur - Maintained by JustKidding and got it from there.
however, I still have the same problem ... :-(
$ sudo pacman -Syyuu
:: Synchronizing package databases...
 core                                                                                163.5 KiB   130 KiB/s 00:01 [####################################################################] 100%
 extra                                                                                1857.0 KiB   631 KiB/s 00:03 [####################################################################] 100%
 community                                                                               7.6 MiB  3.83 MiB/s 00:02 [####################################################################] 100%
 multilib                                                                              170.6 KiB  2.01 MiB/s 00:00 [####################################################################] 100%
 home_justkidding_arch_Arch                                                             39.3 KiB  23.0 KiB/s 00:02 [####################################################################] 100%
:: Starting full system upgrade...
warning: ungoogled-chromium: downgrading from version 111.0.5563.64-2 to version 111.0.5563.64-1
resolving dependencies...
looking for conflicting packages...

Packages (1) ungoogled-chromium-111.0.5563.64-1

Total Download Size:   110.53 MiB
Total Installed Size:  283.83 MiB
Net Upgrade Size:       -0.12 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
 ungoogled-chromium-111.0.5563.64-1-x86_64                                             110.5 MiB  1108 KiB/s 01:42 [####################################################################] 100%
(1/1) checking keys in keyring                                                                                [####################################################################] 100%
(1/1) checking package integrity                                                                                [####################################################################] 100%
(1/1) loading package files                                                                                [####################################################################] 100%
(1/1) checking for file conflicts                                                                                [####################################################################] 100%
(1/1) checking available disk space                                                                                [####################################################################] 100%
:: Processing package changes...
(1/1) downgrading ungoogled-chromium                                                                               [####################################################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating icon theme caches...
(3/3) Updating the desktop file MIME type cache...

[sum@xps15 ~]$ chromium
/usr/lib/chromium/chromium: error while loading shared libraries: libavcodec.so.60: cannot open shared object file: No such file or directory

$ ldd /usr/lib/chromium/chromium | grep "not found"
	libavcodec.so.60 => not found
	libavformat.so.60 => not found
	libavutil.so.58 => not found

@svenmayer That is because you are on Manjaro Stable branch. Stable has not been updated to ffpmpeg 6 yet.
stable2:5.1.2-1  testing2:5.1.2-2   unstable2:6.0-3
Unstable:
extra/ffmpeg 2:6.0-3 [installed]
usr/lib/libavcodec.so
usr/lib/libavcodec.so.60
usr/lib/libavcodec.so.60.3.100
usr/lib/pkgconfig/libavcodec.pc
usr/share/doc/ffmpeg/libavcodec.html
usr/share/man/man3/libavcodec.3.gz


Use MSVC as the windows compiler

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

I think...
CARGO_PROFILE_RELEASE_STRIP
... Will do the strip for "free"

Thanks!


fix(ast): correct visited_node attr for strict mode of arrow fns

#3635  👈
main

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

Join @overlookmotel and the rest of your teammates on  Graphite


create a fio example using the new run-file JSON

the goal behind using crucible run --from-file is not to have any other file and run it directly from cli. IMO we should add the prep script but not as a run.sh.

lgtm, I can address my usability concerns in a separate doc PR


Models release

Hi,
Are you planning on releasing the models rain2clear and night2day ?
Thanks :)

Hi,
Thanks for your interest in this project!
Yeah, we will release the model weights for rainy2clear and night2day as well!

Gaurav

Thanks for your quick response ! Any idea on the date ?

Hopefully in a few days, as soon as I clean up the relevant code!

The pretrained model and the corresponding code for using them for other unpaired tasks (night2day, clear2rainy, rainy2clear) are uploaded.
See the instructions here.
@scarbain

The training code for the paired pix2pix-turbo models is here.
I will upload a similar training code for the unpaired CycleGAN-Turbo model in a few days as well!


Allow interactions with iframes to hide popovers

Current behavior
Originally discussed in https://github.com/WordPress/gutenberg/issues/57206#issuecomment-1863615985

Ariakit popups using the hideOnInteractOutside prop only close when you interact with something else in the same window.
We might be able to do something about iframes though.

@diegohaz , what did you have in mind? Could ariakit allow interactions to/from iframes as triggers to hide popovers?
Steps to reproduce the bug
N/A
Expected behavior
N/A
Workaround
No response
Possible solutions
No response

Let's use https://github.com/ariakit/ariakit/issues/3031


Revert #12795, "PyEnvs: Register proxies with the DI framework to replace @inectable usage."

This reverts commit 3016ad86b34695e22969a744f120e66800bbf618.
(for #12833)
Here we are verifying that the change in 12795 really is the problem.

Codecov Report

Merging #13278 into master will increase coverage by 0.20%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master   #13278      +/-   ##
==========================================
+ Coverage   59.80%   60.01%   +0.20%
==========================================
  Files         670      670
  Lines       37183    37028     -155
  Branches     5265     5265
==========================================
- Hits        22237    22221      -16
+ Misses      13818    13677     -141
- Partials     1128     1130       +2

Impacted Files
Coverage Δ

src/client/interpreter/locators/types.ts
100.00% <ø> (ø)

...rc/client/common/process/pythonExecutionFactory.ts
87.25% <100.00%> (ø)

...entActivationProviders/pipEnvActivationProvider.ts
65.51% <100.00%> (ø)

src/client/interpreter/contracts.ts
100.00% <100.00%> (ø)

src/client/interpreter/helpers.ts
50.68% <100.00%> (ø)

src/client/interpreter/interpreterService.ts
65.62% <100.00%> (ø)

src/client/interpreter/virtualEnvs/index.ts
75.64% <100.00%> (ø)

...t/pythonEnvironments/discovery/locators/helpers.ts
70.58% <100.00%> (ø)

...ent/pythonEnvironments/discovery/locators/index.ts
85.71% <100.00%> (+0.60%)
:arrow_up:

...Environments/discovery/locators/progressService.ts
100.00% <100.00%> (ø)

... and 26 more

Continue to review full report at Codecov.

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


[TA] Patch release for 2022 March

Prepare for the monthly patch release for 2022 March.

API changes have been detected in com.azure:azure-ai-textanalytics. You can review API changes here


Add CLI Wrapper around the bakery CLI

The bakery CLI operations expect different arguments for different steps and require things like collection ids and server names and a path to recipes for some steps.
This wraps the bakery CLI so that the commands are simpler:
poet-cli -fetch physics
poet-cli -assemble -bake physics
poet-cli physics                    # Do all the steps for the physics book
poet-cli --skip-existing physics    # Skip any steps that have already ran

Hello!
I'm running into this error:
/Users/bj20/openstax/output-producer-service/bakery/src/cli/execute.js:86
    ...maybeTag
    ^^^
SyntaxError: Unexpected token ...
    at Object.exports.runInThisContext (vm.js:76:16)
    at Module._compile (module.js:542:28)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.runMain (module.js:604:10)
    at run (bootstrap_node.js:394:7)
    at startup (bootstrap_node.js:149:9)
    at bootstrap_node.js:509:3
./poet-cli: ERROR: could not run [node ./src/cli/execute.js run fetch --data ./temp cnx.org col11995 latest]

After running ./poet-cli american-government.
I'm on the branch cli-wrapper
Current dir /Users/bj20/openstax/output-producer-service/bakery
I've run npm install

It may be that the version of node you are using is old. Have you successfully ran the bakery cli before? If not, you may need to upgrade the version of node to 14 (the Long-term-Support version)

Made it a little further this time! I had to install jq via brew, this may need to be added to the docs?

Closing this in favor of https://github.com/openstax/pipeline


 This was because I am working with Java packages that have build in them, like com.mkobit.build.my.code.
That change causes the buildSrc/build to no longer be ignored.
This change is the proposal to fix that.
Links to documentation supporting these rule changes:
https://docs.gradle.org/current/userguide/organizing_build_logic.html#sec:build_sources
Gradle uses the buildSrc directory as an additional "project" that is compiled and added to the build.gradle's classpath. It also produces  build directory, in the same manner that other Gradle projects do.

Gradle allows users to write build logic in the buildSrc directory.
The change made in #2026 ignores the root project build directory, but leaves all other build directories alone.
This means that the build directory created by Gradle in any Gradle Project that uses the buildSrc will not be ignored.
This change makes it so that the build directory that is in buildSrc is explicitly ignored.

Given this was submitted a while ago and there's not been much fanfare about getting this merged, I'm not sure about the overall benefits of enabling this for everyone:

This was because I am working with Java packages that have build in them, like com.mkobit.build.my.code.

I'll keep an eye out for other PRs related to the underlying problem. @mkobit thanks for submitting this and providing more context!