Unable to resolve nd4j snapshot dependency in scala sbt

Hi,
With recent fixes, I was trying to get the snapshot versions of dl4j and nd4j. As per the directions in the given link snapshots config . Following is the build.sbt I am using
name := "scala1"

version := "0.1"

scalaVersion := "2.11.12"

ThisBuild / useCoursier := false

classpathTypes += "maven-plugin"

val d4jVersion = "1.0.0-Snapshot"
val sparkVersion = "2.4.4"

libraryDependencies += "org.apache.spark" %% "spark-core" % sparkVersion
libraryDependencies += "org.apache.spark" %% "spark-sql" % sparkVersion
libraryDependencies += "org.deeplearning4j" %% "dl4j-spark" % "1.0.0-beta2_spark_2"
libraryDependencies += "org.bytedeco.javacpp-presets" % "openblas" % "0.2.20-1.4.1" classifier "" classifier "linux-x86_64"
libraryDependencies += "org.deeplearning4j" % "deeplearning4j-core" % d4jVersion
//libraryDependencies += "org.deeplearning4j" % "deeplearning4j-modelimport" % d4jVersion
libraryDependencies += "org.nd4j" % "nd4j-native-platform" % d4jVersion
libraryDependencies += "org.nd4j" % "nd4j-native" % d4jVersion
libraryDependencies += "org.nd4j" % "nd4j-api" % d4jVersion
libraryDependencies += "org.datavec" %% "datavec-spark" % d4jVersion
libraryDependencies += "org.deeplearning4j" % "deeplearning4j-datavec-iterators" % d4jVersion

updateOptions := updateOptions.value.withLatestSnapshots(false)
resolvers += "snapshots-repo" at "https://oss.sonatype.org/content/repositories/snapshots"
resolvers in ThisBuild ++= Seq(Opts.resolver.sonatypeSnapshots)

This throws an error:
Error while importing sbt project:

List([info] Loading global plugins from /home/karunsingla/.sbt/1.0/plugins
[info] Loading project definition from /home/karunsingla/nov2/project
[info] Loading settings for project nov2 from build.sbt ...
[info] Set current project to scala1 (in build file:/home/karunsingla/nov2/)
[info] sbt server started at local:///home/karunsingla/.sbt/1.0/server/cbe013541138e7b8ea55/sock
sbt:scala1>
[info] Defining Global / sbtStructureOptions, Global / sbtStructureOutputFile and 1 others.
[info] The new values will be used by cleanKeepGlobs
[info] 	Run `last` for details.
[info] Reapplying settings...
[info] Set current project to scala1 (in build file:/home/karunsingla/nov2/)
[info] Applying State transformations org.jetbrains.sbt.CreateTasks from /home/karunsingla/.IdeaIC2019.2/config/plugins/Scala/repo/org.jetbrains/sbt-structure-extractor/scala_2.12/sbt_1.0/2018.2.1+4-88400d3f/jars/sbt-structure-extractor.jar
[info] Reapplying settings...
[info] Set current project to scala1 (in build file:/home/karunsingla/nov2/)
[warn] 	module not found: org.nd4j#nd4j-native-platform;1.0.0-Snapshot
[warn] ==== local: tried
[warn]   /home/karunsingla/.ivy2/local/org.nd4j/nd4j-native-platform/1.0.0-Snapshot/ivys/ivy.xml
[warn] ==== public: tried
[warn]   https://repo1.maven.org/maven2/org/nd4j/nd4j-native-platform/1.0.0-Snapshot/nd4j-native-platform-1.0.0-Snapshot.pom
[warn] ==== local-preloaded-ivy: tried
[warn]   /home/karunsingla/.sbt/preloaded/org.nd4j/nd4j-native-platform/1.0.0-Snapshot/ivys/ivy.xml
[warn] ==== local-preloaded: tried
[warn]   file:////home/karunsingla/.sbt/preloaded/org/nd4j/nd4j-native-platform/1.0.0-Snapshot/nd4j-native-platform-1.0.0-Snapshot.pom
[warn] ==== sonatype-snapshots: tried
[warn]   https://oss.sonatype.org/content/repositories/snapshots/org/nd4j/nd4j-native-platform/1.0.0-Snapshot/nd4j-native-platform-1.0.0-Snapshot.pom
[warn] ==== snapshots-repo: tried
[warn]   https://oss.sonatype.org/content/repositories/snapshots/org/nd4j/nd4j-native-platform/1.0.0-Snapshot/nd4j-native-platform-1.0.0-Snapshot.pom
[warn] 	module not found: org.nd4j#nd4j-native;1.0.0-Snapshot
[warn] ==== local: tried
[warn]   /home/karunsingla/.ivy2/local/org.nd4j/nd4j-native/1.0.0-Snapshot/ivys/ivy.xml
[warn] ==== public: tried
[warn]   https://repo1.maven.org/maven2/org/nd4j/nd4j-native/1.0.0-Snapshot/nd4j-native-1.0.0-Snapshot.pom
[warn] ==== local-preloaded-ivy: tried
[warn]   /home/karunsingla/.sbt/preloaded/org.nd4j/nd4j-native/1.0.0-Snapshot/ivys/ivy.xml
[warn] ==== local-preloaded: tried
[warn]   file:////home/karunsingla/.sbt/preloaded/org/nd4j/nd4j-native/1.0.0-Snapshot/nd4j-native-1.0.0-Snapshot.pom
[warn] ==== sonatype-snapshots: tried
[warn]   https://oss.sonatype.org/content/repositories/snapshots/org/nd4j/nd4j-native/1.0.0-Snapshot/nd4j-native-1.0.0-Snapshot.pom
[warn] ==== snapshots-repo: tried
[warn]   https://oss.sonatype.org/content/repositories/snapshots/org/nd4j/nd4j-native/1.0.0-Snapshot/nd4j-native-1.0.0-Snapshot.pom
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	::          UNRESOLVED DEPENDENCIES         ::
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	:: org.nd4j#nd4j-native-platform;1.0.0-Snapshot: not found
[warn] 	:: org.nd4j#nd4j-native;1.0.0-Snapshot: not found
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] 	Note: Unresolved dependencies path:
[warn] 		org.nd4j:nd4j-native-platform:1.0.0-Snapshot (/home/karunsingla/nov2/build.sbt#L23-24)
[warn] 		  +- scala1:scala1_2.11:0.1
[warn] 		org.nd4j:nd4j-native:1.0.0-Snapshot (/home/karunsingla/nov2/build.sbt#L23-24)
[warn] 		  +- scala1:scala1_2.11:0.1

How to get around this? I need the snapshot versions for some fixes pushed recently.

1.0.0-SNAPSHOT
Characters case matters

I changed that as well, but it still gives an error at runtime. The code works fine if the versions are 1.0.0-beta5
Exception in thread "main" java.lang.ExceptionInInitializerError
	at s_version$.main(code_2.scala:243)
	at s_version.main(code_2.scala)
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException:
	at org.nd4j.linalg.factory.Nd4j.initWithBackend(Nd4j.java:5597)
	at org.nd4j.linalg.factory.Nd4j.initContext(Nd4j.java:5447)
	at org.nd4j.linalg.factory.Nd4j.<clinit>(Nd4j.java:213)
	... 2 more
Caused by: java.lang.ClassNotFoundException:
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:264)
	at org.nd4j.linalg.factory.Nd4j.initWithBackend(Nd4j.java:5501)
	... 4 more

@raver119 : The sbt builds, but the error persists. Attaching sample code
object testing_2 {
  def main(args: Array[String]): Unit = {

    val conf = new NeuralNetConfiguration.Builder()
      .seed(1)
      .optimizationAlgo(OptimizationAlgorithm.STOCHASTIC_GRADIENT_DESCENT)
      .updater(new Nadam(0.01))
      .l2(1e-05)
      .graphBuilder()
      .addInputs("input1") //inputs

      .addLayer("dnn_1", new DenseLayer.Builder().nIn(15).nOut(128).weightInit(WeightInit.XAVIER).dropOut(0.8).build(), "input1")
      .addLayer("output", new OutputLayer.Builder(LossFunction.NEGATIVELOGLIKELIHOOD).activation(Activation.SOFTMAX).nIn(128).nOut(2).build(), "dnn_1")
      .setOutputs("output")
      .build()

  }
}

Show FULL stack trace please

@raver119  , I did some debugging, I think the issue is coming from the class SPARSE_NDARRAY_FACTORY_CLASS not being present in the nd4j-native-1.0.0-SNAPSHOT.jar while its present in nd4j-native-1.0.0-beta5.jar (Attaching screenshots)
as the error comes from this line 5501 in Nd4j.java
 sparseNDArrayClazz = (Class<? extends NDArrayFactory>) Class.forName(
                    pp.toString(SPARSE_NDARRAY_FACTORY_CLASS));

Wow.. in wonder why it's not reproducible for us during tests. I'll take care of it ASAP.

@raver119 : Is this resolved? I compiled my build.sbt,The SBT builds successfully but there are new errors when i run the code
Exception in thread "main" java.lang.ExceptionInInitializerError
	at org.nd4j.linalg.cpu.nativecpu.ops.NativeOpExecutioner.<init>(NativeOpExecutioner.java:91)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at java.lang.Class.newInstance(Class.java:442)
	at org.nd4j.linalg.factory.Nd4j.initWithBackend(Nd4j.java:5165)
	at org.nd4j.linalg.factory.Nd4j.initContext(Nd4j.java:5079)
	at org.nd4j.linalg.factory.Nd4j.<clinit>(Nd4j.java:176)
	at org.deeplearning4j.nn.conf.NeuralNetConfiguration$Builder.seed(NeuralNetConfiguration.java:579)
	at graph2$.main(Demo1.scala:45)
	at graph2.main(Demo1.scala)
Caused by: java.lang.RuntimeException: ND4J is probably missing dependencies. For more information, please refer to: http://nd4j.org/getstarted.html
	at org.nd4j.nativeblas.NativeOpsHolder.<init>(NativeOpsHolder.java:112)
	at org.nd4j.nativeblas.NativeOpsHolder.<clinit>(NativeOpsHolder.java:35)
	... 12 more
Caused by: java.lang.UnsatisfiedLinkError: no jnind4jcpu in java.library.path
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
	at java.lang.Runtime.loadLibrary0(Runtime.java:870)
	at java.lang.System.loadLibrary(System.java:1122)
	at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:1543)
	at org.bytedeco.javacpp.Loader.load(Loader.java:1192)
	at org.bytedeco.javacpp.Loader.load(Loader.java:1042)
	at org.nd4j.nativeblas.Nd4jCpu.<clinit>(Nd4jCpu.java:10)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:264)
	at org.nd4j.nativeblas.NativeOpsHolder.<init>(NativeOpsHolder.java:85)
	... 13 more
Caused by: java.lang.UnsatisfiedLinkError: no nd4jcpu in java.library.path
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
	at java.lang.Runtime.loadLibrary0(Runtime.java:870)
	at java.lang.System.loadLibrary(System.java:1122)
	at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:1543)
	at org.bytedeco.javacpp.Loader.load(Loader.java:1143)
	... 18 more

I tried debugging this issue a lot, but I am stuck. I downloaded the following jars directly from the snapshot-repo
-nd4j-native-1.0.0-20191119.032148-15928.jar
-nd4j-native-1.0.0-20191119.082212-15929.jar
-nd4j-native-1.0.0-20191119.082212-15929-javadoc.jar
-nd4j-native-1.0.0-20191119.082212-15929-sources.jar
and pasted them in the lib directory in my project but the error persists. can you please help? Is their any resolver issue?

sbt isn't able to handle snapshots on its own, see instructions here: http://bytedeco.org/builds/

@saudet : Thanks for extending the help.Unfortunately, I've little knowledge in java. Can you explain a little bit more?

I believe you meant to create a pom.xml as such :
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>com.dh.dl_test</groupId>
    <artifactId>testing</artifactId>
    <version>1.0-SNAPSHOT</version>
    <repositories>
        <repository>
            <id>snapshots-repo</id>
            <url>https://oss.sonatype.org/content/repositories/snapshots</url>
            <releases>
                <enabled>false</enabled>
            </releases>
            <snapshots>
                <enabled>true</enabled>
                <updatePolicy>daily</updatePolicy>  <!-- Optional, update daily -->
            </snapshots>
        </repository>
    </repositories>

   <properties>
       <dl4j.version>1.0.0-SNAPSHOT</dl4j.version>
       <nd4j.version>1.0.0-SNAPSHOT</nd4j.version> </properties>
    <dependencies>

    <dependency>
        <groupId>org.deeplearning4j</groupId>
        <artifactId>deeplearning4j-core</artifactId>
        <version>${dl4j.version}</version>
    </dependency>

        <dependency>
        <groupId>org.nd4j</groupId>
        <artifactId>nd4j-native</artifactId>
        <version>${nd4j.version}</version>
    </dependency>
        <dependency>
            <groupId>org.nd4j</groupId>
            <artifactId>nd4j-native-platform</artifactId>
            <version>${nd4j.version}</version>
        </dependency>

    </dependencies>
</project>

and then use the SBT as follows :
name := "nov19"

version := "0.1"

scalaVersion := "2.11.12"

val d4jVersion = "1.0.0-SNAPSHOT"
ThisBuild / useCoursier := false

libraryDependencies += "org.bytedeco.javacpp-presets" % "openblas" % "0.2.20-1.4.1" classifier "" classifier "linux-x86_64"
libraryDependencies += "org.deeplearning4j" % "deeplearning4j-core" % d4jVersion
libraryDependencies += "org.nd4j" % "nd4j-native" % d4jVersion
libraryDependencies += "org.nd4j" % "nd4j-native-platform" % d4jVersion
resolvers+= Resolver.mavenLocal

the build.sbt compiles but at the runtime it still gives issues :
Exception in thread "main" java.lang.ExceptionInInitializerError
	at org.nd4j.linalg.cpu.nativecpu.ops.NativeOpExecutioner.<init>(NativeOpExecutioner.java:91)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
	at java.base/java.lang.Class.newInstance(Class.java:584)
	at org.nd4j.linalg.factory.Nd4j.initWithBackend(Nd4j.java:5165)
	at org.nd4j.linalg.factory.Nd4j.initContext(Nd4j.java:5079)
	at org.nd4j.linalg.factory.Nd4j.<clinit>(Nd4j.java:176)
	at org.deeplearning4j.nn.conf.NeuralNetConfiguration$Builder.seed(NeuralNetConfiguration.java:579)
	at sample_1$.main(sample_1.scala:15)
	at sample_1.main(sample_1.scala)
Caused by: java.lang.RuntimeException: ND4J is probably missing dependencies. For more information, please refer to: http://nd4j.org/getstarted.html
	at org.nd4j.nativeblas.NativeOpsHolder.<init>(NativeOpsHolder.java:112)
	at org.nd4j.nativeblas.NativeOpsHolder.<clinit>(NativeOpsHolder.java:35)
	... 12 more
Caused by: java.lang.UnsatisfiedLinkError: no jnind4jcpu in java.library.path: [/usr/java/packages/lib, /usr/lib64, /lib64, /lib, /usr/lib]
	at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2660)
	at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:829)
	at java.base/java.lang.System.loadLibrary(System.java:1867)
	at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:1543)
	at org.bytedeco.javacpp.Loader.load(Loader.java:1192)
	at org.bytedeco.javacpp.Loader.load(Loader.java:1042)
	at org.nd4j.nativeblas.Nd4jCpu.<clinit>(Nd4jCpu.java:10)
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Class.java:315)
	at org.nd4j.nativeblas.NativeOpsHolder.<init>(NativeOpsHolder.java:85)
	... 13 more
Caused by: java.lang.UnsatisfiedLinkError: /home/karunsingla/.javacpp/cache/nd4j-native-1.0.0-SNAPSHOT-linux-x86_64.jar/org/nd4j/nativeblas/linux-x86_64/libjnind4jcpu.so: libopenblas.so.0: cannot open shared object file: No such file or directory
	at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
	at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2430)
	at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2487)
	at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2684)
	at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2617)
	at java.base/java.lang.Runtime.load0(Runtime.java:767)
	at java.base/java.lang.System.load(System.java:1831)
	at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:1493)
	... 19 more

what did i miss?

Fixed it by installing libopenblas-dev.
Thanks for the directions. The issue could serve as directions for configuring snapshot versions with scala build.sbt

hm, but it should not be needed, since openblas is provided as transitive dependency by javacpp

Oh is that so? Did i miss something in sbt or pom file?


Adding ECR support

Signed-off-by: chris<EMAIL_ADDRESS>
Description of your changes
Adding support for Elastic Container Repository. Fixes https://github.com/crossplane/provider-aws/issues/307
Checklist

I have:

[x] Run make reviewable to ensure this PR is ready for review.
[x] Ensured this PR contains a neat, self documenting set of commits.
[ ] Updated any relevant documentation, examples, or release notes.
[ ] Updated the dependencies in app.yaml to include any new role permissions.

@hasheddan No worries and should be good to go now. Think I got everything.


Update vendor packages

Will be merged because it is just vendor update (no changes in our go code).


save_jpeg: Use TRUE instead of true

In some verisons on jpeg, TRUE is an enum, and so true
fails because it is not of the enum's type. Now, all the
libjpeg calls use TRUE/FALSE.
Fixes https://github.com/davisking/dlib/issues/129

Thanks for the PR :)


upgrade to phpunit 6

Q
A

Bug?
no

New Feature?
no

Version
master (next minor release)

Upgrade to phpunit 6 and drop support for too old versions of PHP. While doing that, also refactor the @expectedException annotations to $this->expectException() calls.

we did this at some point last year, closing this issue


Add images of website to readme

I have created a separate issue for this. You're free to work there!


Stack and Country icon modifications not showing.

Not sure if I'm setting these right, but when I set stack to 2 and country to usa with the following initializer
$("#symbol").html(new ms.Symbol("30001000000000000000", { stack:2, country: 'USA'}).asSVG());
For the flag I have also tried to match the generated json file with country_flag instead of country but get the same thing. All other symbols appear to be working just fine.
I expect to get:

but I get the following instead:

Stack and country flag are milsymbol extensions that aren't part of the milsymbol library.
They are in a way breaking how symbols should be visualized according to MIL-STD-2525, so I kept them outside.
If you are interested in the functionality, please send me an email if you would be interested in paying for that code.


Set focus on the ion-search bar

Need to set focus on the ionic2-autocomplete control.
setFocus() of ion-searchbar is not working.
Please prvide some light on this.

@dd-here this feature will be included on next release.


check postgres scans

Thank you for contributing to Retraced!
Please add a summary of your change
Does your change fix a particular issue?
Fixes #(issue)

Coverage increased (+2.3%) to 19.736% when pulling 0437197b3d9b087e6c84a549ed22358fc149d374 on pa1/sc-45807/v1.3/fix-replicated-cve-scanning-infrastructure into 3c7ef41e9ca38fec7f3e45501f7371b13f072cd2 on v1.3.


Discussion : Github workflow for marking the issue/pr stale which are inactive.

There seems a lot off PR which might be stale (inactive) which hasn't been touched for months. This could be maybe because the original author left. For example #5585 is lying around for around 9 month.
1. Identify Stale PRs

Define a stale PR as one that has had no activity for over 3 months.
Use a GitHub Workflow Action to scan for PRs that meet this criterion.

2. Add the "stale" Label

Automatically mark identified PRs with a "stale" label.
Notify the author or contributors with a comment like:

This PR has been marked as stale due to inactivity for over 3 months. If this PR is still relevant, please update it or leave a comment within 14 days to avoid automatic closure.

3. Allow a Grace Period (14 Days)

Provide a 14-day grace period for contributors to respond or update the PR.
If any activity occurs (e.g., a comment or code change):

Automatically remove the "stale" label and do not close the PR.

4. Close Inactive PRs

If no activity occurs within the grace period:

Automatically close the PR with a message like:

This PR has been closed due to inactivity. Feel free to reopen or create a new PR if this is still relevant.

5. Handle Exceptional PRs

Review PRs that are close to completion or otherwise exceptional. Criteria for this include:

The PR is nearly complete towards solving the issue.

For such PRs, add a "keep-open" label.

PRs with the "keep-open" label are excluded from the stale process and will not be closed automatically.

I believe this will be best for reviewers/maintainers to maintain the PR.
Now the question is do we really need it?

Ref how it looks : https://github.com/ankidroid/Anki-Android/pull/16266#issuecomment-2105009246

Github Stale Bot : https://github.com/marketplace/actions/close-stale-issues
Relevant Code/ Credits : https://github.com/ankidroid/Anki-Android/blob/main/.github/workflows/stale.yml

cc : @nicolas-raoul @misaochan wdyt?

Labels are great to shine a light into the dark corners of the process, but the human factor remains ... and might be also relevant to why we (as a team) allow PRs to hang around.
I'll ask the tough question - are we willing to do what it takes with old PRs?  If the process flags it, will we still leave them hanging around?  We have old PRs right now that arent being addressed.
The agile manifesto says to value "people over process" - how are we doing at a people level with old contributions?  Can we commit to cleaning house and moving things forward with the help of some software tools showing where things are aging badly?

A good PR is stale until someone is interested in the feature and decides to review it. 🙂
Adding a "stale" label might send the contributor a negative signal, when the only problem might be that reviewers are all busy.
I think we already have a way to know the next actions to perform:

CI failing or changes requested or draft: waiting for contributor
Other: waiting for reviewer

"marked as stale due to inactivity for over 3 months"

I personally hate such messages when they come about a PR (or bug report) I sent to another project I just wanted to help for 10 minutes. I am like "I contributed, now do your job!". Posting an empty comment every 2 months to keep it open feels silly and the opposite of efficiency.
Even though I know the developers are volunteers too, I have a very negative reaction to such messages.

"marked as stale due to inactivity for over 3 months"
I don't like this idea either. It simply closes the discussion thread, leaving no room for further fruitful discussion and restarting a completely new thread is the only option left in that case (we lose out on the context to some extent then).

Adding a "stale" label might send the contributor a negative signal, when the only problem might be that reviewers are all busy.

The Wikimedia community has always been friendly, let's not give a message to any contributor that their efforts went unnoticed :)

If we were to do this at all, I might support having the label added in situations where the most recent comment was from a reviewer, AND the PR author hasn't made any new commits or comments for the last 3 months (i.e. it was reviewed but the review was not responded to for 3 months). I'm not sure if filtering for this is possible, though, or even worthwhile.

By the way, I just crafted an URL to easily see what PRs are ready to review (not draft, not breaking CI, no changes requested):
https://github.com/commons-app/apps-android-commons/pulls?q=is%3Apr+is%3Aopen+-is%3Adraft+-status%3Afailure+-review%3Achanges_requested
I am not sure yet whether a "changes requested" PR that the contributor subsequently acts on (pushes commits or explains and marks comments as resolved) reappears in that search or not.


Filter

I was trying to write an example for filter. The following code causes a stackoverflow.
addprocs(3)

using ComputeFramework

numbers = [1, 2, 3 ,4, 5, 6, 7, 8, 9, 10]

parallel_numbers = distribute(numbers)
greaterthan_3 = filter(x -> x > 3, parallel_numbers)

@show compute(Context(), greaterthan_3)

Filter is working fine now.


Link in page is broken

The link in the box is broken., see attached pic

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

ID: 9a262c79-8dd3-29d6-ff87-eddf14193ed2
Version Independent ID: 6ec3c750-15bb-8f63-d59c-f9e4648299fa
Content: Apply mitigations to help prevent attacks through vulnerabilities - Windows security
Content Source: windows/security/threat-protection/microsoft-defender-atp/exploit-protection.md
Product: w10
Technology: windows
GitHub Login: @denisebmsft
Microsoft Alias: deniseb

@denisebmsft . Broken link is conformed , after checking the article .

From https://web.archive.org/web/20170928073955/https://technet.microsoft.com/en-US/security/jj653751:

Enhanced Mitigation Experience Toolkit
Notice
End of Life Statement
We have listened to customers' feedback regarding the January 27, 2017 end of life date for EMET and we are pleased to announce that the end of life date is being extended 18 months. The new end of life date is July 31, 2018. There are no plans to offer support or security patching for EMET after July 31, 2018. For improved security, we recommend that customers migrate to the latest version of Windows 10.

The referenced page needs updating to reflect that EMET is no longer available, or maybe all references to EMET need to be replaced by MD ATP information.

@Daemarys, thank you so much for providing this feedback. And thank you @RAJU2529 and @illfated for your help. I have updated the article and you'll see the changes render live a little later today (should be around 4 p.m. Pacific Time). Thanks again, and I bid you a nice weekend!


sanitycheck: better coverage report generation

When generating coverage report:

Also generate branch coverage
If the report is properly generated tell user where to find it
Handle case in which no ztests are run (it would crash before)

Signed-off-by: Alberto Escolar Piedras<EMAIL_ADDRESS>

Codecov Report

Merging #6126 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #6126   +/-   ##
=======================================
  Coverage   52.88%   52.88%
=======================================
  Files         412      412
  Lines       40274    40274
  Branches     7801     7801
=======================================
  Hits        21297    21297
  Misses      15761    15761
  Partials     3216     3216

Impacted Files
Coverage Δ

include/net/buf.h
61.53% <0%> (ø)
:arrow_up:

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 5361963...fcea52d. Read the comment docs.


Update http probe

Update HTTP probe since https://github.com/harness/developer-hub/pull/4607 PR is not reflecting the changes

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65c3335eeed0264f3653e474--harness-developer.netlify.app


Enhancement of Sign up and Login Page

There is no proper styling in both sign up and Login page like spacing and hover states . I would like to add javascript functionalities to  it like
adding remember me check box
agree to terms and conditions check box
Enabling Sign up and login button after all the input fields are filled
I will work on Overall styling of the page for effective look
I am a gssoc-ext and hacktoberfest contributor
@Tejashri-Taral Assign me so that I can work on it

Proceed!

Hi @hars-21 ,
Could you please assign this issue to me? I would love to work on it. Give this whole website a new styling that will match the theme of the brand .
Two options that I offer :
1-> Translucent look to the login and signup cards and add nice background .
2-> Add some animation when on click will take action .
Thank you!
Himanchal


Fix example React code

Refs should use useRef, not useState.

No, react-popper works with states

No, react-popper works with states

@FezVrasta The current example code isn't accepted by TypeScript. You shouldn't pass a setter method to a ref; you should only pass a ref obtained from useRef.

@FezVrasta The current example code isn't accepted by TypeScript. You shouldn't pass a setter method to a ref; you should only pass a ref obtained from useRef.


Make it https ready

It is not possible to start that application on an https domain, because of mixed content. The modern browsers block this.
Conversely, loading files from a secure server from an http website isn't a problem.

@cla-bot check

@schaebo Himn

I would suggest to rather close this PR because the commit does not solve the problem properly.
Instead of defining a schema in the urls, just remove the write and write href="// ..."

Thank you everybody for the contributions and help.  There is an entirely new websocket client in the works that will be released soon.  This new version supports SSL out of the box.
You can try this new client out now - it's part of HiveMQ Cloud.  Getting the source prepped and onto Github is still in progress.

Considering the above, I'll close this PR out in anticipation for the new updated client.
Thanks again to all for contributing.


Arduino Website Clone

Project title
Arduino Website Clone
Project Description
Add a clone of Arduino website
Stack:

[x] Html
[x] CSS
[x] Bootstrap5

/assign


deepconsensus-0.2.0 uses a lot of system RAM, so maybe best to split jobs into pieces, example provided

Maybe someone finds this useful to break up deepconsensus jobs (pretty much following the the quick start guide) except sorting the BAM file with samtools then indexing with samtools followed by breaking the job input files into 48 parts. If one has access to a cluster, then this is very helpful to submit deepconsensus on one GPU and one CPU core to keep system RAM usage low. I had found that deepconsensus-0.2.0 would quickly uses a lot of system RAM, so for me the steps below were necessary. I also have access to two compute nodes with 8 Nvidia A10 cards each.
# let's say you start with a BAM file called 9.bam that contains the subreads to be converted to ccs/HiFi reads
MIMALLOC_PAGE_RESET=0 MIMALLOC_LARGE_OS_PAGES=1 ccs --all -j 34 9.bam 9.ccs.bam

# use pbindex to index the BAM file if need (https://github.com/PacificBiosciences/align-clr-to-ccs/issues/2)
pbindex 9.bam

# use actc 0.1.0 with 34 cores to align the subreads to the ccs reads
~/bin/actc-0.1.0 -j 34 9.bam 9.ccs.bam 9.subreads_to_ccs.bam

# sort the alignments
samtools sort -@34 9.subreads_to_ccs.bam > 9.subreads_to_ccs_sorted.bam

# index the alignments
samtools index -@34 9.subreads_to_ccs_sorted.bam

# make a FAI index
samtools faidx 9.subreads_to_ccs.fasta

# get the sorted header
samtools view -H 9.subreads_to_ccs_sorted.bam|grep "^@SQ"|cut -f 2-3 |perl -pe "s/SN://g" |perl -pe "s/LN://g" \
> regions

# break into 48 equal parts
fspec=regions
num_files=48

# Work out lines per file.
total_lines=$(wc -l <${fspec})
((lines_per_file = (total_lines + num_files - 1) / num_files))

# Split the actual file, maintaining lines.
split --lines=${lines_per_file} --numeric-suffixes=1 ${fspec}

# get a BED file of the ccs regions to extract from each of the 48 parts
# also get the read names
# use the read names to get just the FASTA for the 48 ccs parts

for i in `ls x??`
do
    awk '{print $1,0,$2}' OFS='\t' ${i} > ${i}.bed
    cut -f 1 ${i} > ${i}-reads
    seqtk seq -l0 9.subreads_to_ccs.fasta |paste - - |grep -f "${i}-reads" |tr '\t' '\n' > ${i}.fasta
    samtools faidx ${i}.fasta
done

# break the subreads aligned to ccs reads into 48 parts

for i in `ls x??`
do
    samtools view -@20 -h 9.subreads_to_ccs_sorted.bam --regions=${i}.bed |samtools view -@20 -b > ${i}.bam
    samtools index -@20 ${i}.bam
done

this is a SLURM script to submit to a cluster that has Nvidia A10 GPUs, same could be done if you have other GPUs
dc.sh
#!/bin/bash
#
#----------------------------------------------------------------
# running a multiple independent jobs
#----------------------------------------------------------------
#

#  Defining options for slurm how to run
#----------------------------------------------------------------
#
#SBATCH --job-name=dc
#
#Number of CPU cores to use within one node
#SBATCH -c 1
#
#Define the number of hours the job should run.
#Maximum runtime is limited to 10 days, ie. 240 hours
#SBATCH --time=0:30:00
#
#Define the amount of RAM used by your job in GigaBytes
#In shared memory applications this is shared among multiple CPUs
#SBATCH --mem=24G
#
#Do not requeue the job in the case it fails.
#SBATCH --no-requeue
#
# Define number of GPUs
#SBATCH --partition gpu
#SBATCH --gres=gpu:1
#SBATCH --constraint=A10
#
#Do not export the local environment to the compute nodes
#SBATCH --export=NONE
unset SLURM_EXPORT_ENV

# load the respective software module(s) you intend to use
#----------------------------------------------------------------
module load python/3.7
module load cuda/11.2.2
module load cudnn/8.1
. "/nfs/scistore16/itgrp/jelbers/miniconda3/etc/profile.d/conda.sh"

# slurm ids are 1,2,3,4,5,6,7,8,9 whilst
# object names are 01,02,03,04,05,06,07,08,09
# so modify with this if statement
if [[ ${SLURM_ARRAY_TASK_ID} -lt 10 ]]
then
    i=`echo "${SLURM_ARRAY_TASK_ID}"|perl -pe "s/(\d+)/0\1/g"`
else
    i=${SLURM_ARRAY_TASK_ID}
fi

export PATH="/nfs/scistore12/itgrp/jelbers/.local/bin:$PATH"

cd /nfs/scistore16/itgrp/jelbers/deepconsensus_quick_start/9.all

hostname
echo "--subreads_to_ccs=x${i}.bam"
echo "--ccs_fasta=x${i}.fasta"
echo "--output=9.deepconsensus.${i}.fastq"
deepconsensus run --cpus 1 --subreads_to_ccs=x${i}.bam \
--ccs_fasta=x${i}.fasta \
--checkpoint=/nfs/scistore16/itgrp/jelbers/deepconsensus_quick_start/model/checkpoint-50 \
--output=9.deepconsensus.${i}.fastq

submit to SLURM scheduler
sbatch --array=1-48 dc.sh

Parallelizing DeepConsensus is actually easier than that. We plan to write a full guide, but here is a short summary:
There is a --chunk option in ccs as mentioned in the quick start, which will produce sharded outputs -- we usually do 500 shards for a full SMRT-cell. There is no need to samtools sort any of the bam files since they are already in sorted order by ZMW. This order MUST be the same between the subreads_to_ccs.bam and ccs.fasta files, which they are coming out of ccs, so it's best not to run anything like samtools sort that might change that order. Beyond that, you can follow the rest of the quick start separately for each shard.

Ok, I will try the --chunk option without samtools sort now.

Update: I just released a major change to the DeepConsensus quick start with detailed guidance for parallelization across multiple machines: https://github.com/google/deepconsensus/blob/r0.2/docs/quick_start.md


links not working

when trying to install from within grav all there is is a blank page titled - about:blank.
could it be the links are not fully working in the package?

I did not really understand you problem. Where did you find this blank page. Maybe you can shot a screenshot or give me a link to find out what is wrong. @JohnMica

@muuvmuuv using admin in Grav, trying to install adsense all you get is a blank page. I have tried many times with localhost installs. I can install with terminal the plugin (still having issues trying to place the ads for now)
also as per the attached photo - it seems that the options within admin for the plugin are not rendering properly ?

Is that still a bug? Could you provide more information about GRAV (Version/Language etc.)

Issue still at large. I'm using Grav v1.2.4 with Admin v1.4.2, and the latest installation of Gantry. Using Firefox. Had the same issue without Gantry, so I don't think it matters sbout that.

@Cordoha I have changed the code and now using shortcode-core to implement adsense to your site. Could you try it and tell me if the error still exits, if so. Paste your system.yaml and other settings/pages in hastebin with a link. So I can reproduce the error.
Thanks

HI @muuvmuuv  all working good now.
Thanks for the update


Right click on composer doesn't work in projects created in composer

Description:
Following Ballerina-quick-tour. As in the RUN THE COMPOSER topic, started the composer and created a project using the composer. Right click on the created project (which created via composer) to create a file. Opens the menu. But no option will work (Any of New File, New Folder, Rename, Delete)
Steps to reproduce:

start the composer by running composer in terminal
Right click on the folder to create a new file.
Click New File .
Nothing happens.

Affected Versions:
Ballerina 0.975.1
OS, DB, other environment details and versions:
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04 LTS
Release:	18.04
Codename:	bionic
Suggested Labels (optional):
Component/Composer

Created 3-4 projects with composer, it didn't work. Now (after sometime) it's working.

Created 3-4 projects with composer, it didn't work. Now (after sometime) it's working.


Incomplete Error message display

Describe the bug
I am using the Colorzilla chrome extension which (sadly) adds an attribute to the body tag:
. The addition causes a hydration error since the attribute is not in the generated html. So, I disabled the extension and voila.
However I noticed that the error did not display fully when I compared it to the console output, and am attaching two screenshots to illustrate.

One simple fix would be to add some text to the error overlay suggesting that the developer view the console message. The benefit of this approach avoids fixing more message parsing related issues in the future.
Reproduction
No response
Steps to reproduce
Install the colorzilla plugin and output any page
https://chromewebstore.google.com/detail/colorzilla/bhlhnicpbhignbdhedgjhgdocnmhomnp
System Info
gitpod /workspace/react-server-play (but-first-a-todos-page) $ npx envinfo --system --npmPackages '{@lazarv/react-server,@lazarv/react-server-*,react,react-dom,react-server-dom-webpack,vite}' --binaries --browsers
Need to install the following packages:
<EMAIL_ADDRESS>Ok to proceed? (y) y

  System:
    OS: Linux 6.1 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish)
    CPU: (16) x64 AMD EPYC 7B13
    Memory: 48.33 GB / 62.79 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 20.17.0 - ~/.nvm/versions/node/v20.17.0/bin/node
    Yarn: 1.22.22 - ~/.nvm/versions/node/v20.17.0/bin/yarn
    npm: 10.8.2 - ~/.nvm/versions/node/v20.17.0/bin/npm
    pnpm: 9.9.0 - ~/.nvm/versions/node/v20.17.0/bin/pnpm
  npmPackages:
    @lazarv/react-server: 0.0.0-experimental-d84eb64-20240929-807e623b => 0.0.0-experimental-d84eb64-20240929-807e623b
    react: 0.0.0-experimental-204a551e-20240926 => 0.0.0-experimental-204a551e-20240926
    vite: 6.0.0-alpha.18 => 6.0.0-alpha.18

Used Package Manager
pnpm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion.
[X] The provided reproduction is a minimal reproducible example of the bug.

Hi @mrose! Thanks for the screenshots and details about the error overlay issue, a fix will arrive very soon!
While the hydration error occurs during development mode, after building and running an app in production mode, such hydration errors do not throw when only additional attributes or elements are added to the document. A bit more about this change in React at https://react.dev/blog/2024/04/25/react-19#compatibility-with-third-party-scripts-and-extensions and @lazarv/react-server uses a very recent experimental version of React 19.

fix confirmed - looks good!


Improve ResourcePreloader description

makes the brief description actually meaningful
mentions that you can setup the node in editor

Thanks!


Merge back master commits to feature customer

Merge back master commits to feature customer to fix travis build error

Current coverage is 58.53%

Merging #52 into feature/customer will increase coverage by +1.17% as of ddf7212

@@            feature/customer     #52   diff @@
================================================
  Files                     40      45     +5
  Stmts                   1832    1951   +119
  Branches                 175     178     +3
  Methods                    0       0
================================================
+ Hit                     1051    1142    +91
- Partial                    5       8     +3
- Missed                   776     801    +25

Review entire Coverage Diff as of ddf7212

Uncovered Suggestions

+0.82% via .../models/receiving.py#92...107
+0.77% via .../models/receiving.py#74...88
+0.77% via ...import_store_data.py#139...153
See 7 more...

Powered by Codecov. Updated on successful CI builds.


LSTM to CPP, who has good method?

Not sure but maybe numpy keras backend?
https://github.com/keras-team/keras/blob/master/keras/backend/numpy_backend.py

I have an LSTM model built with Keras framework. This model is for the next word prediction based on the previous text entered by the user.
So I have written a function in python which is loading this Keras model and a tokenizer file(for word-sequences) into it and using inbuilt functions like predict_classes and pad_sequences to make next word predictions.
I have to convert this function to C++, so can anyone help me out how to use this repo for my use. I tried using Cython but that didn't help as it converts a 52 line code in Python to 4000 line code in C++ which is not convenient. It is inconvenient to debug the 4000 line of code without knowing its relevance.


YandexCaptcha support

Added support for YandexCaptcha.
For more details see: http://api.yandex.ru/cleanweb/doc/dg/concepts/about.xml.

We appreciate the work, but are going to avoid adding more of these types of fields to Flask-WTF. This would be great as a separate package, wtforms-yandex.


Add Arch Linux install instructions for AUR

I went ahead and packaged this project for the Arch User Repository: https://aur.archlinux.org/packages/slashbase
It can now be installed via AUR helpers on Arch Linux.

Nice. How to update it with a new release?

For now, I need to manually change the version number and resubmit the package. Planning on automating it in the future though.

@lagerfeuer can you update the package to latest version?

@paraswaykole done, v0.9.0 is released on AUR 👍🏼


No Travis set up

Travis is not set up for this package.
It should at a bare minimum run the test suite.
It needs to be enabled on this project, then it works for PRs too.
For bonus points, dependecy-guard should run on itself :)

We are currently using Scrutinizer to achieve this. Although there is no CI config stored in the repository, it will indeed run when commits are pushed and pull requests are opened. Scrutinizer is the source of the badges you see in README.md.
The Scrutinizer configuration runs the mediact/testing-suite package, with:

Composer checks
PHPCS
PHPMD
PHPStan
Phpunit
DependencyGuard

So Dependency Guard checks its own code in CI.

OK because it is not configured here in a standardized way it was not clear to me.
Could you add something like:
find src  tests -name '*.php' | xargs -n 1 -P4 /usr/bin/php -l

Or the scrutinizer equivalent.

Syntax errors are already covered by our configuration of GrumPHP. Granted, this will only show the first syntax error, because it breaks the test, but having mediact/testing-suite as dev-requirement should prevent you from committing files with syntax errors. I will add a test using the command you supplied, but only because that gives a more complete image while debugging issues.

I've added the test for syntax checks. Would you consider the issue closed with this change?

I've removed your suggested check again, because it gives false positives for syntax errors when running on PHP 7.1.6:
Fatal error: Syntax only allowed in Hack files (<?hh) or with -v Eval.EnableHipHopSyntax=true in src/Candidate/CandidateExtractor.php on line 56

Fatal error: Parameter $symbols is variadic and has a type constraint (Mediact\DependencyGuard\Php\SymbolInterface); variadic params with type constraints are not supported in non-Hack files in src/Php/SymbolIterator.php on line 19

The first error finds a nullable type declaration to be wrong, which is supported in 7.1. The second error is self-explanatory. Syntax errors will always cause the test to break, so I will leave the specific syntax test out.


Discussion: how to serve real data from the hosted stories

We cannot take the volve data directly into the stories, so we need to find a good way to include it in the hosted stories on radix

one suggestion is that we can create a repo and deploy that repo privately on equinor's npm and fetch the data from there.

another is to connect to a storage to get the data

you could also fetch data directly from a github repo using github's api (v3)

Commenting on the first suggestion (but valid in general), the repo does not need to be private, the license for the volve license allows us to host it publicly, as long as we use the same license (ie, a modified version of creative commons)
I was wondering, the "test data" that you and Håvard are using, how big is it?

one set is 8.8 mb, where the seismic data takes up about 4.5mb, and casing takes about 3.6mb

solution going forward is to have an open repo in github where we serve the volve data from, will need to confirm that authentication is not required for accessing files there


requires bower-asset/jquery

Running the following per the installation instructions:
composer require yiisoft/yii2

produces:
Using version <IP_ADDRESS> for yiisoft/yii2
./composer.json has been created
Running composer update yiisoft/yii2
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires yiisoft/yii2 <IP_ADDRESS> -> satisfiable by yiisoft/yii2[<IP_ADDRESS>].
    - yiisoft/yii2 <IP_ADDRESS> requires bower-asset/jquery 3.7.*@stable | 3.6.*@stable | 3.5.*@stable | 3.4.*@stable | 3.3.*@stable | 3.2.*@stable | 3.1.*@stable | 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable -> could not be found in any version, but the following packages provide it:
      - craftcms/cms Craft CMS
      - yidas/yii2-bower-asset Bower Assets for Yii 2 app provided via Composer repository
      - yidas/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
      - demokn/yii2-composer-asset
      - jamband/yii2-schemadump Generate the schema from an existing database
      - craftcms/yii2-dynamodb Yii2 implementation of a cache, session, and queue driver for DynamoDB
      - kriss/yii2-calendar-schedule Yii2 Calendar Schedule
....
      Consider requiring one of these to satisfy the bower-asset/jquery requirement.

Which package should I select?  Might it be helpful to add this choice to the installation instructions?

https://www.yiiframework.com/doc/guide/2.0/en/start-installation#installing-assets


Issue with file:// redirection on Android

Hi,
I stumbled upon your plugin while trying to implement oAuth flows (tough task on cordova 😰)
I really like the simplicity of your implementation, however, on Android the url is remapped to file:///android_asset/www/ (source) but it seems apps are now served from http://localhost (This is the source I found about that change). It results in a blank page with CORS issues everywhere.
Is this a legit issue or did I miss something in my app's configuration?
Thank you in advance 😄

oooh, that's a good catch! I'll see if I can get a fix for that going based on the hostname preferences used on newer cordova-android versions.
As an aside, there is an OAuth plugin (https://github.com/AyogoHealth/cordova-plugin-oauth) in case that's helpful to your app :)


initializeRegistry() in IdentityTenantUtil is called for every SSO request

How to reproduce

Enable account locking
Restart the server & send several Openid connect requests (authorization code)
This method is hit for every request.

https://github.com/wso2/carbon-identity-framework/commit/f88715f5234cb560c702529a2ebea586dc5f9f8e#diff-65f77487fa7914309562d0e4dff87be5R203. But the fix is not available in latest master code


HOSTEDCP-2181: update latest supported version for 4.19 branching

What this PR does / why we need it: update latest supported version to 4.19 for pre branching testing
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes # HOSTEDCP-2181
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/hold it until branch cut

/retest

/area hypershift-operator
/area ci-tooling

/retest

/retest

/retest-required
The failures seem like flakes

/test e2e-aks

/approve

/retest-required


Missing dex,epinio-ui and aws-cli images on s390x

Found when testing v1.6.2 on s390x.

dex pod ImagePullBackOff ghcr.io/dexidp/dex:v2.35.3
epinio-ui pod ImagePullBackOff ghcr.io/epinio/epinio-ui:v1.5.1-0.0.3
staging pod ImagePullBackOff amazon/aws-cli:2.9.14

Dex and UI can be disabled via helm --set epinio-ui.enabled=false --set dex.enabled=false parameters but aws-cli is needed for minio handling.
Also the packeto-buildpack image is most probably not available but users are still able to deploy apps by using container images. This is working fine epinio app push --name jenkins --container-image-url=jenkins/jenkins.

Not a blocker.
Epinio on s390 is ‘nice to have’ but not a must


The term 'C:\Windows\System32\OpenSSH\ssh.exe' is not recognized as the name of a cmdlet, function, script file, or operable program.

Steps to reproduce
Seems only ssh.exe and wsl.exe will have this weird problem. Even I use a full path like C:\Windows\System32\OpenSSH\ssh.exe wont fix the problem. See following screenshots.
Expected behavior
With Windows PowerShell, everything works as expected.

Actual behavior
With PowerShell Core

Environment data
Installed with PowerShell-7.0.0-rc.2-win-x64.msix

Name                           Value
----                           -----
PSVersion                      7.0.0-rc.2
PSEdition                      Core
GitCommitId                    7.0.0-rc.2
OS                             Microsoft Windows 10.0.19041
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Note, autochk.exe is a executable that I randomly chosen from C:\Windows\System32, to show that:

C:\Windows\System32 is in $env:Path.
C:\Windows\System32 is readable in ps core

A shot in the dark: Are these perhaps 32-bit executables? If so, you must target them via C:\Windows\SysWow64 from 64-bit processes.

Might be related https://github.com/MicrosoftDocs/WSL/issues/499 and https://github.com/microsoft/WSL/issues/4259.
@therealkenc I see you commented in https://github.com/microsoft/WSL/issues/4259, do you have any idea? I thinks this is PSCore's issue.
Here is my path.
> $env:Path -split ';'
C:\Program Files\WindowsApps\Microsoft.PowerShellPreview_<IP_ADDRESS>_x86__8wekyb3d8bbwe
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\libnvvp
C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler
C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\compiler
C:\Program Files\WindowsApps\Microsoft.PowerShell_<IP_ADDRESS>_neutral__8wekyb3d8bbwe
C:\ProgramData\Oracle\Java\javapath
C:\Program Files (x86)\PDFtk\bin
C:\Program Files (x86)\GnuPG\bin
C:\Program Files (x86)\IntelSWTools\OpenCL\runtime\cpu\windows\compiler\lib\ia32_win
C:\Program Files (x86)\IntelSWTools\OpenCL\runtime\cpu\windows\compiler\lib\intel64_win
C:\Program Files (x86)\IntelSWTools\OpenCL\sdk\bin\GTPin
C:\Program Files (x86)\IntelSWTools\OpenCL\sdk\bin\Pin
C:\Program Files (x86)\IntelSWTools\OpenCL\sdk\bin\x64
C:\Program Files (x86)\IntelSWTools\OpenCL\sdk\bin\x86
C:\Program Files (x86)\Wolfram Research\WolframScript
C:\Program Files\dotnet
C:\Program Files\Git LFS
C:\Program Files\Git\cmd
C:\Program Files\Microsoft SQL Server\130\Tools\Binn
C:\Program Files\Microsoft VS Code\bin
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit
C:\Windows
C:\Windows\System32
C:\Windows\System32\OpenSSH
C:\Windows\System32\wbem
C:\Windows\System32\WindowsPowerShell\v1.0
C:\Program Files\NVIDIA Corporation\Nsight Compute 2019.5.0
C:\Program Files\CMake\bin
C:\texlive\2019\bin\win32
C:\tools\vcpkg
C:\tools\vcpkg\installed\x64-windows\bin
C:\Users\cloud\.dotnet\tools
C:\Users\cloud\AppData\Local\Microsoft\WindowsApps
C:\tools\depot_tools
C:\tools

@mklement0 random executables live in $env:Path are not executable is frustrating. I just don't understand how can I unable to launch a process with an absolute path of an executable, where the executable is perfectly runnable with cmd or Windows PowerShell.
And I notice an even stupid thing, if I launch cmds from powershells, the problem still present with PSCore launched cmd, is it contagious, or just something wrong with my env?

Does PowerShell at least find the file? Does the following return what you expect it to?
Get-Item -Force C:\Windows\System32\OpenSSH\ssh.exe

Your $env:PATH variable content is short enough to not be a problem.
Still, given that you say that a cmd instance launched from PowerShell then also displays the problem makes me wonder if there's something about the content of your $env:PATH variable that causes problems (though that contradicts being able to run autochck.exe);
if you trim down $env:PATH to just the standard entries (temporarily, so we can narrow down the problem), does the problem persist.

@mklement0 PSCore failed to Get-Item with
Get-Item: Cannot find path 'C:\Windows\System32\OpenSSH\ssh.exe' because it does not exist.

I see: I'm starting to suspect that it is PowerShell that has been installed as a 32-bit version, which would explain the symptom, given that 32-bit processes have their own C:\Windows\System32 directory.
Try:
# This would only work from a 32-bit PowerShell instance.
Get-Item -Force C:\Windows\SysNative\OpenSSH\ssh.exe

A quick test to determine whether your PowerShell session is 32-bit is to examine $env:ProgramFiles: if it contains C:\Program Files (x86) instead of C:\Program Files, you're running a 32-bit session.

@mklement0 Great thanks for the help, problem resolved after I reinstalled x64 version. Seems I make some mistake and install x86 version, and I can confirm that with my command history. Also thanks for pointing out the interesting SysNative directory.

@mklement0 Thanks Michael, your solution saved my day.


[Meta] Enable windows 11 context menu by default in Stable

Bug tracks the pending tasks to be completed before the feature can be promoted to stable releases.

[ ] :runner: Context menu not appearing on some setups even after successful appx installation (https://github.com/microsoft/vscode/issues/184676, https://github.com/microsoft/vscode/issues/171911)
[ ] :runner: Uninstallation takes longer time when context menu is installed (https://github.com/microsoft/vscode/issues/164689)
[ ] :runner: Context menu not showing up in Windows Arm64 (https://github.com/microsoft/vscode/issues/164464)
[ ] Run as administrator does not trigger UAC elevation prompt when launching application from context menu (https://github.com/microsoft/vscode/issues/180065)

Run as administrator does not trigger UAC elevation prompt when launching application from context menu

I believe that microsoft/vscode-explorer-command#17 will resolve it.

@ArcticLampyrid ... yes it does .... but it pops up a cmd box for a second ... would be fine to have a native implementation

@arambazamba Actually I did not call cmd. And I did not see a cmd box on my machine (Win11).

PowerToys offers this as a setting for several of their tools.  Change is immediate and shows no cmd.

Is this in 2024 roadmap? Are we waiting for some Windows 11 update to improve whole context menu integration?

https://ae3.info/stuff/troy vscode.gif

https://www.reddit.com/media?url=https%3A%2F%2Fpreview.redd.it%2Fydgpgd26depc1.gif%3Fformat%3Dmp4%26s%3Df5acfa257d051e30647bbf111b29d5d73c34ff86

Yes this is on roadmap for 2024, we have movement on couple of the issues linked above and I need follow-up on them next milestone.

Yes this is on roadmap for 2024, and has been since october 2022

fixed it for you

I was unable to reproduce in Build Final, Beta, Dev and Canary and also in Sandbox.

A quarter has passed now, have you made any progress?
Is the API of Win11 really so bad that we spent three months still unable to integrate it correctly?

Will this be available in stable before we reach windows 12?

This issue used to appear on their monthly milestone/iteration plans. Unfortunately, @deepak1556 moved it to their internal backlog in May, which suggests it's no longer on the 2024 roadmap. In my general experience, a backlog is usually a death sentence.
It's disheartening to admit that it has been three years since the community has repeatedly requested the return of this crucial productivity feature, which was lost with the release of Windows 11. I'm disappointed that the VS Code team hasn't been able to resolve the issues surrounding the Windows 11 context menu in all this time.
As a reminder, you can manually implement this context menu by modifying your VS Code installation. Please note that this is not an official Microsoft solution, so proceed at your own risk. However, I’ve used both methods mentioned below for years without any problems.
That said, I want to acknowledge the user @strear, who first identified a workable solution back in December 2021, for which I'm incredibly grateful for their efforts. I had provided a detailed set of instructions, following their method here.
More recently, an alternative method was posted by @Chigusa0w0 in June of 2023. This newer approach is arguably simpler, as it does not require you to build or self-sign an AppX package. I would recommend considering this newer method.

Seems like this feature becomes a meme😂

I’ve developed a robust MSI installer that incorporates the latest custom solution by Chigusa0w0, along with a few improvements. While the solution is not digitally signed, rest assured that everything is transparent and built through a pipeline, including the MSI installer itself.
What’s the best way to share it with the community without stepping on anyone's toes? For example:
Can I post the link to the MSI here?
Do I need to replace "Microsoft" with a made-up company name, and "VSCode" or "Visual Studio Code" with something else?
Or something else entirely?
Is anyone interested?

I’ve developed a robust MSI installer that incorporates the latest custom solution by Chigusa0w0, along with a few improvements. While the solution is not digitally signed, rest assured that everything is transparent and built through a pipeline, including the MSI installer itself.
What’s the best way to share it with the community without stepping on anyone's toes? For example:
Can I post the link to the MSI here? Do I need to replace "Microsoft" with a made-up company name, and "VSCode" or "Visual Studio Code" with something else? Or something else entirely?
Is anyone interested?

Sure, I'd be interested as I'm sure others would -- it sounds great. Though respectfully, I don't know you and I wouldn't be prepared to blindly take your word on what that installer is doing. Put the code on GitHub so that others can than verify for themselves that your solution isn't malicious. Include the MSI installer as a release file.

I’ve developed a robust MSI installer that incorporates the latest custom solution by Chigusa0w0, along with a few improvements. While the solution is not digitally signed, rest assured that everything is transparent and built through a pipeline, including the MSI installer itself.
What’s the best way to share it with the community without stepping on anyone's toes? For example:
Can I post the link to the MSI here? Do I need to replace "Microsoft" with a made-up company name, and "VSCode" or "Visual Studio Code" with something else? Or something else entirely?
Is anyone interested?

Sure, I'd be interested as I'm sure others would -- it sounds great. Though respectfully, I don't know you and I wouldn't be prepared to blindly take your word on what that installer is doing. Put the code on GitHub so that others can than verify for themselves that your solution isn't malicious. Include the MSI installer as a release file.

Sure, I'd be interested as I'm sure others would -- it sounds great. Though respectfully, I don't know you and I wouldn't be prepared to blindly take your word on what that installer is doing. Put the code on GitHub so that others can verify for themselves that your solution isn't malicious. Include the MSI installer as a release file.

Sure, that was the plan from the beginning. I'm still waiting for feedback about the name change, though.

All right, here it is:
https://github.com/BartoszRojek/CodeModernExplorerMenu

works with both system and user installation locations
support the case when VSCode runs as Administrator, thanks to https://github.com/microsoft/vscode-explorer-command/pull/17
works for Devices and drives, thanks to https://github.com/microsoft/vscode-explorer-command/pull/16
future VSCode updates won’t break the menu, thanks to huutaiii

@deepak1556 I hope that you don't mind, let me know otherwise.


chore: error-logging for address setter

Can't write to db after invoking the function, the firebase rules are there.
Logging to see what failed.

I like this style of debugging 😎
On Sat, Sep 17, 2022, 5:57 AM ChuangWei Ma @.***> wrote:

Merged #726 https://github.com/muxable/rtchat/pull/726 into main.
—
Reply to this email directly, view it on GitHub
https://github.com/muxable/rtchat/pull/726#event-7407464164, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAD423Q5AYDCGH4ULWPXURTV6WIYRANCNFSM6AAAAAAQO5QPXM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Remove cns http client which did nothing

Reason for Change:
removing cns httpapi client which did nothing essentially

Hi @feiskyer, can you take a look at this change which touches the multitenant scenario? I believe you had written tests for it, which are now slightly different.
The gist of it is, there used to be a cns/cnsclient/apiclient.go file which was moved to cns/multitenantcontroller/multitenantoperator/cnsclient.go which now I am getting rid of, since the cns/client/httpapi/client.go file did nothing essentially, just passed arguments through.

+@thatmattlong could you confirm this change won't break things?
@pjohnst5  please ensure the unit tests are fixed when making changes

Could I get approval @thatmattlong ?


qa_crowbarsetup.sh: use brace expansion

It's easier to immediately see the common prefix this way, which avoids overly
long lines.  We can also drop the superfluous quotes.

This makes grepping for channel names super hard :-( I'd have loved to not see this merged

I think "super hard" is a big exaggeration :)  You can still grep for HAE.*Pool etc.


axes convention in mudata

TODO before merge:

[ ] fix links (some of them point to other pages, so those need to be merged first)
[ ] Fix TODOs in notebook

@bio-la, any chance you could give this another iteration? I don't think there's missing anything substantial and it would be a waste to never merge this :)

Dammit i completely forgot about this! Sorry, I'm so embarrassed! Will get to it tomorrow :)

implemented the changes @grst  i am not sure why readthedocs fails.

Thanks, Fabiola!


Compiling STANDARD hangs when using 4+ cores

On develop branch:
Compiling with CONNECT_TYPE=STANDARD and multiple cores (tested 4) causes the process to hang at the first batch, and then error out after a very long time.
This is on a Pi3B, but has been reported on a Pi2 by Levo_man as well.
 $ make -j 4 all CONNECT_TYPE=STANDARD
echo "-- Generating protobuf-based source files"
-- Generating protobuf-based source files
protoc --cpp_out=. rascsi_interface.proto
arm-linux-gnueabihf-g++ -O3 -Wall -Werror -DNDEBUG -std=c++17 -Wno-psabi -iquote . -D_FILE_OFFSET_BITS=64 -MD -MP  -DCONNECT_TYPE_STANDARD -c rascsi.cpp -o obj/standard/rascsi.o
arm-linux-gnueabihf-g++ -O3 -Wall -Werror -DNDEBUG -std=c++17 -Wno-psabi -iquote . -D_FILE_OFFSET_BITS=64 -MD -MP  -DCONNECT_TYPE_STANDARD -c rascsi_image.cpp -o obj/standard/rascsi_image.o
arm-linux-gnueabihf-g++ -O3 -Wall -Werror -DNDEBUG -std=c++17 -Wno-psabi -iquote . -D_FILE_OFFSET_BITS=64 -MD -MP  -DCONNECT_TYPE_STANDARD -c rascsi_response.cpp -o obj/standard/rascsi_response.o
mv rascsi_interface.pb.cc rascsi_interface.pb.cpp
arm-linux-gnueabihf-g++ -O3 -Wall -Werror -DNDEBUG -std=c++17 -Wno-psabi -iquote . -D_FILE_OFFSET_BITS=64 -MD -MP  -DCONNECT_TYPE_STANDARD -c rasutil.cpp -o obj/standard/rasutil.o
arm-linux-gnueabihf-g++ -O3 -Wall -Werror -DNDEBUG -std=c++17 -Wno-psabi -iquote . -D_FILE_OFFSET_BITS=64 -MD -MP  -DCONNECT_TYPE_STANDARD -c protobuf_util.cpp -o obj/standard/protobuf_util.o

$ g++ --version
g++ (Raspbian 8.3.0-6+rpi1) 8.3.0

The threshold seems to be 4 cores, at least on my 3B. If I use 2 or 3 cores, compilation works fine.

This may actually happen with FULLSPEC as well, it just happens a little longer into the process. Either that, or my 3B is overheating now! To test further tomorrow...

@rdmark If we cannot resolve this (even though it indicates a problem with the Pi) we can simply revert the related change, because it does not affect the functionality of rascsi as such.

This seems to be a good starting point for troubleshooting: https://unix.stackexchange.com/questions/42837/what-could-be-causing-make-to-hang-when-compiling-on-multiple-cores

@rdmark If we cannot resolve this (even though it indicates a problem with the Pi) we can simply revert the related change, because it does not affect the functionality of rascsi as such. How much RAM do the affected Pis have? Maybe this is a RAM shortage.

I believe both Pi 2 and 3 have 1GB of RAM.

@rdmark 1 GB may not be enough for compiling with 4 cores, at least not with extensive swapping. Running 'top' while compiling provides details on RAM usage.

@uweseimet You may be onto something here. With four cores used, there are four cc1plus processes each using 20%-25% of system memory, topping out and staying at 20MB free system memory while make is running. With three cores used, there are three cc1plus processes each using 28%-30% of system memory, topping out at about 40MB free system memory during peaks. So cc1plus seems to get starved with four processes.

@rdmark In this case I suggest to revert this optimization. This will mean longer compile times with easyinstall again, of course.
In case you don't know yet: You can configure make with the MAKEFLAGS environment variable, e.g. in your .profile:
export MAKEFLAGS="-j4"

This way you can also increase the concurrency, independent of easyinstall. But manual intervention is involved in this case, i.e. setting the environment variable.

Put up a PR where easyinstall.sh takes a newly introduced -j | --cores parameter, and then passes that value to the 'make' command. Default fallback is '1'.
https://github.com/akuker/RASCSI/pull/465


Sample array of points from tin

Stick this function in https://github.com/emerald-geomodelling/EmeraldTriangles/blob/master/emeraldtriangles/points_in_mesh.py

Please update example ipynb with an example usage of this!


bugfix: make doc parser compatible with attr : type and attr: type

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[x] N
[ ] Y

2. What is the scope of this PR (e.g. component or file name):
sema/resolver/doc

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):
make doc parser compatible with attr : type and attr: type

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[x] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[x] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[ ] Other

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2300

Relevant Lines:
2614

💛  - Coveralls


There is no right way to specify hax' runtime dependencies

hax has requirements.txt but it defines the build-time dependencies only. It is said that its runtime deps must be specified in hax/setup.py but in fact they apply if and only if somebody installs hax as a module (e.g. by running python ./setup.py install). But our Makefile doesn't install hax.
We need to refactor hax' build procedure a bit to provide a working way to add hax' dependencies.

The right way to do that is to specify the dependency both in setup.py and in requirements.txt.
Closing this ticket as not relevant.


column width support

Fixes #51

@TrancePaul, I would like to see your solution.  unfortunately JS is not my strongest language and I have a hard time reading minimized code, or I would attempt based just on the config change you posted. looking at the standalone.js file, where did you make the change?

@TrancePaul well, minimized code is for machine, not for human, of course you're gonna have a hard time reading it 😅 . I think what you're looking for is in https://github.com/egeriis/zipcelx/pull/52/commits/e6881bc53930f76713b0c7c3d2d562a263eb9a65
You should check diff of src/formatters/cols/formatCol.js and src/formatters/cols/generatorCols.js

@TrancePaul @konutis any chance on merging this? I'm using the fork and it works great.


Performance & memory allocation changes

Will merge from the more appropriately named branch: https://github.com/conduit-db/conduit-db/pull/42


Clean up for v0.2.4

Minor changes for v.0.2.4

Codecov Report

Merging #53 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #53   +/-   ##
=======================================
  Coverage   62.51%   62.51%
=======================================
  Files          33       33
  Lines        1566     1566
=======================================
  Hits          979      979
  Misses        587      587

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 7933668...9d067df. Read the comment docs.


Failed to parse discovery response

Checklist

[x] I have read the common issues wiki page
[X] I have checked to make sure the plugin is up to date

Describe the bug
When adding a device via config.json, homebridge-tuya fails to parse the reponse
To Reproduce
Add a RGBCCT led controller to tuya using the localKey and the ID
Expected behavior
The connection succeeds and the device is intractable in homekit
Screenshots

Environment (please complete the following information):

OS: homebridge supplied vm
iOS version: 13.2
Homehubs: n/a
Node Version: as supplied in the homebridge official vm
Plugin Version: latest
Accessory Type: rgbcct led controller

Additional context
Please DO NOT RECOMMEND other Tuya plugins unless they also provide LOCAL CONTROL(No tuya cloud).

+1 here, no idea why. I've had to bypass the key checks because my key (found with tinytuya) has characters in it. It discovers my device but gives me the error above (for an ecostrad heater)


Method does not override method from its superclass

Hi,
I'm trying to implement the example you have on this page: http://loopj.com/android-async-http/ (about the static HTTP class)
This is the code that I have:
MyHttpClient.get("&type=login", params, new JsonHttpResponseHandler() {
			@Override
			public void onStart() {
				/** Show the loading dialog */
				bus.post(true);
			}
			@Override
			public void onSuccess(int i, Header[] headers, JSONObject obj) {

			}

			@Override
			public void onFailure(int i, Header[] headers, JSONObject o, Throwable throwable) {
				bus.post(false); //Hide the progress dialog if its visible
				MyHttpClient.failureHandlerMethod(i, headers, o, throwable); //stock handler.
			}
		});

However on the @Override annotation, i'm getting an error: "Method does not override method from its superclass".
Is there no onFailure method for the JsonHttpResponseHandler? Or should I use the AsyncHttpResponseHandler method and attempt to cast the byte array to a JSONObject? (all results from the website come in the form of a JSONObject).
Here is the code from my static class:
public class MyHttpClient {

	private static final String BASE_URL = "http://url.com";

	private static AsyncHttpClient client = new AsyncHttpClient();

	public static void get(String url, RequestParams params, AsyncHttpResponseHandler responseHandler) {
		client.get(getAbsoluteUrl(url), params, responseHandler);
	}

	public static void post(String url, RequestParams params, AsyncHttpResponseHandler responseHandler) {
		client.post(getAbsoluteUrl(url, false), params, responseHandler);
	}

I'm using version 1.4.9-SNAPSHOT and have cz.msebera.android:httpclient:4.3.3 included.

+1 I ran into this myself just now, though I'm using 1.4.8.  Compile SDK 23, Build Tools 23.0.1

I ran into this myself just now, though I'm using 1.4.8. Compile SDK 23, Build Tools 23.0.1

There are in fact three callbacks in JsonHttpResponseHandler, however your implementation missed all three signatures.
For reference, in current version (1.4.9-SNAPSHOT)
@Override
public void onFailure(int statusCode, Header[] headers, Throwable throwable, JSONObject errorResponse) {}
@Override
public void onFailure(int statusCode, Header[] headers, Throwable throwable, JSONArray errorResponse) {}
@Override
public void onFailure(int statusCode, Header[] headers, String responseString, Throwable throwable) {}

In your case, change the signature from int, Header[], JSONObject, Throwable) to int, Header[], Throwable, JSONObject
Also note that JsonHttpResponseHandler will be deprecated with this or next release, and should be replaced by using BaseJsonHttpResponseHandler for correct deserialization using other JSON implementation than default Android one

Hi,
Im trying to implement it using the BaseJsonHttpResponseHandler like you suggested, however i'm running into the same problem.
@Override
public void onSuccess(int statusCode, Header[] headers, String rawJsonResponse, JsonObject response) {

This gives me the same issue as before, where it doesn't override the base class. Looking at the source code, this should be correct (unless i'm messing up with the changing of JSON_TYPE)

is it again Method does not override method from its superclass ? If so, you should learn to code man, there is nothing wrong with the library, since your first problem was too solved by looking into documentation, sources and using the IDE correctly.
Also put here some of your sources and stacktraces if they happen, so it's possible for me to help you.
Last thing, generally, if the issue is not issue of the library (or at least hint, it could be), do ask on StackOverflow.com or elsewhere, you're wasting my time asking for basic programming tips here.

Same error. I asked a second time because the solution you proposed to future proof the application did not work, as your documentation isn't very clear. If you dont wish to help that's fine i shall go elsewhere.

You're missing the point, you should override the methods, there is no way I could solve this for you and this is not issue of library, if you cannot simply override an interface or abstract class, yes, go ask elsewhere. This is not about library documentation, we expect the developers to think at least a bit.
And I wish to help you, but I cannot teach you programming, that's not the purpose of this issue tracking system.

I am surprised by this comment. Try to understand or just don't answer instead of saying that someone doesn't know how to code. Every one started one day.
My guess is that you are using the wrong library. The error message is misleading. It show Header[] only and not the difference between org.apache.http.Header and cz.msebera.android.httpclient.Header.
Try using cz.msebera.android.httpclient.Header.


Dockerize the script for telegraf

Hello, first of all, many thanks for your work and sharing it.
You will find a few things in this PR, everything mostly targeting Docker in order to make things much easier.
I would have preferred a few smaller PRs but the changes kind had to come together.

First of all I moved the variables that were hardcoded to ENV variable with defaults similar to what you had
I introduced 2 .*ignore files to keep the source tidy
The Dockerfile is obviously to create the docker image and you will find the steps of your readme in there
I moved a few files around to keep the repo tidy and make it easier to ignore some files (such as the doc) and keep the docker image small
I created a requirements.txt file so you can skip some explanations in the doc
I added some doc
I added a full telegraf config that can be used as base in the image (telegraf-docker-sample.conf )

The impact on the installation procedure is the following:

Several prerequisites need to be met to successfully install this script and generate the metrics. Some seem to be obvious but will be mentioned here for sake of complete documentation.

This gets much smaller :)

Have an operational TIG stack (Telegraf, InfluxDB Grafana) with all of them installed and operational.

That is still required. No change here.

Activate the TR-064 protocoll in the Fritzbox (Heimnetz -> Netzwerk -> Netzwerkeinstellungen)
Have a dedicated user on the Fritz!Box (the username:Telegraf is assumed, but any will do)

No change

Install python3 and pip (for example: apt install python3-pip)
Locally clone the fritzconnection library (pip3 install fritzconnection)
Clone this project (git clone https://github.com/Schmidsfeld/TelegrafFritzBox/)
Edit the python file and adjust the credentials (nano ./TelegrafFritzBox/telegrafFritzBox.py)
Make it executeamle (chmod +x ./TelegrafFritzBox/telegrafFritzBox.py)
Test the output (python3 ./TelegrafFritzBox/telegrafFritzBox.py)
Copy it to the appropiate locatio (cp ./TelegrafFritzBox/telegrafFritzBox.py /usr/local/bin)
Copy the Telegraf config file to the correct location or append it to your current file (cp ./TelegrafFritzBox/telegrafFritzBox.conf /etc/telegraf/telegraf.d)
Restart your Telegraf service (systemctl restart telegraf)

This whole big chunk is no longer required as it is part of the docker image.
 If you enable that for Github, you should get them :)

Thank you for the kind tip.
I haven't seen them on github yet, but am aware of the concept from the brave browser. I will figure it out after merging the code fully..

If you use Brave, some extra tipping icons show up in GitHub.
On Mon, 10 Aug 2020, 10:59 Schmidsfeld<EMAIL_ADDRESS>wrote:

Thank you for the kind tip.
I haven't seen them on github yet, but am aware of the concept from the
brave browser. I will figure it out after merging the code fully..
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Schmidsfeld/TelegrafFritzBox/pull/3#issuecomment-671240030,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFULJGBV6S5T6UAQ7SMUGDR76ZHFANCNFSM4PYXRHRA
.


(dev) Developer tool should use un-minified library

Following the docs, I've found that in Basic Testing section says: "You need to build highlight.js with only the language you’re working on (without compression, to have readable code in browser error messages)", but in tools/developers.html file the library is included minified. Documentation or file was wrong, I've supposed that the file.
Removed a import in test/browser/worker.js that is not doing nothing.

@mondeja Thanks again.


Mutated paths in config?

Hi,
I keep running into this error when submitting to HTC:
Traceback (most recent call last):
  File "/afs/cern.ch/work/p/phbelang/abp/NLResidual/studies/LHC_2025/trees/DA_2025_octupole_scan/ID_0_generation_1/ID_01_distribution_file_00_qx_62.305_qy_60.31_i_oct_b1_-100.0_i_oct_b2_-100.0/generation_2.py", line 219, in <module>
    collider, fingerprint = configure_collider(full_configuration)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/afs/cern.ch/work/p/phbelang/abp/NLResidual/studies/LHC_2025/trees/DA_2025_octupole_scan/ID_0_generation_1/ID_01_distribution_file_00_qx_62.305_qy_60.31_i_oct_b1_-100.0_i_oct_b2_-100.0/generation_2.py", line 52, in configure_collider
    collider = xc.load_collider()
               ^^^^^^^^^^^^^^^^^^
  File "/usr/local/DA_study/miniforge_docker/lib/python3.12/site-packages/study_da/generate/master_classes/xsuite_collider.py", line 224, in load_collider
    return self._load_collider(self.path_collider_file_for_configuration_as_input)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/DA_study/miniforge_docker/lib/python3.12/site-packages/study_da/generate/master_classes/xsuite_collider.py", line 204, in _load_collider
    return xt.Multiline.from_json(path_collider)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/DA_study/miniforge_docker/lib/python3.12/site-packages/xtrack/multiline/multiline.py", line 161, in from_json
    return cls.from_dict(json_utils.from_json(file), **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/DA_study/miniforge_docker/lib/python3.12/site-packages/xtrack/json_utils.py", line 32, in from_json
    fh, close = open(file, "r"), True
                ^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '../collider_file_for_configuration.json'

I am trying to figure out where to look for to tackle this problem...:

Is the config file supposed to be mutated to convert relative paths into absolute paths? My final config file still contains:

path_collider_file_for_configuration_as_input: ../collider_file_for_configuration.json

Or is the collider_file_for_configuration.json supposed to be copied on the HTCondor node?

@ColasDroin

Hi,
If the collider_file_for_configuration.json file was produced at the end of the first generation, it looks like a path problem indeed.
Are you sure you properly declared the dic_dependencies_per_gen when submitting? E.g.
# Dependencies for the executable of each generation. Only needed if one uses HTC or Slurm.
dic_dependencies_per_gen = {
    1: ["acc-models-lhc"],
    2: ["path_collider_file_for_configuration_as_input", "path_distribution_folder_input"],
}

If yes, the path should be mutated to be absolute (granted that you submit from the root of the study as recommended in the doc, this might not work otherwise), such that your collider file should be accessible from the node.

Ah! Indeed, I think my problem is here:
https://github.com/ColasDroin/study-DA/blob/902b25eedeef14445fd51e884fb1cb1acabdab16/study_da/submit/submit_scan.py#L259C13-L260C81
            # Build l_dependencies and add to the kwargs
            l_dependencies = dic_dependencies_per_gen.get(generation_number, [])

I had already seen that the generation number is wrong when you dont submit from the root...
I'll see what I can do and/or simply submit from the root

Yes indeed! I didn't want to handle the dependencies when submitting from any folder as this might create a cascade of unexpected issues.

@ColasDroin what do you think of a solution like this?
https://github.com/pbelange/study-DA/commit/1ad6d84b0441514028bd912104ce0566577f44a3
It allowed me to submit properly for the first time...
this is because I have a file structure like this:
-rw-rw-r--. 1 120232 phbelang 1610 Nov 27 16:25 01_config_tree.yaml
-rw-rw-r--. 1 120232 phbelang 1563 Nov 27 16:24 02_build_tree.py
-rw-rw-r--. 1 120232 phbelang 2182 Nov 27 16:24 03_submit_tree.py
drwxrwxr-x. 2 120232 phbelang 2048 Nov 12 16:08 configs
drwxrwxr-x. 2 120232 phbelang 2048 Nov 12 10:00 fillingschemes
drwxrwxr-x. 2 120232 phbelang 2048 Nov 27 16:21 scripts
drwxrwxr-x. 5 120232 phbelang 2048 Nov 27 20:27 trees

where the tree.yaml is found under trees/DA_2025_octupole_scan/tree.yaml. The reason for this file structure is that some additional scripts/dependencies are found in my script folder, and I might want to generate several different trees which use the same additionnal script (such that if I need to modify something, I do it only in the main script)...


Initial work on conda-tracker

This PR is for the initial work of conda-tracker. I think there could be some changes/additions, but I think this is a good starting point. cc @msarahan

Thanks.  Please go ahead an also set up TravisCI or CircleCI.  I think this will only ever run on Linux, so Travis or CircleCI should be perfect.

@msarahan I've added the initial work on the README.


Generate .gitignore

project-init.sh should generate .gitignore file so that you don't need to figure it out which files should be pushed to git
Initial .gitignore can be as simple as
aem/home
dispatcher/target

Usually ignore file exist so these line's need to be appended

Yup, that's right - I've updated my PR to reflect this

todo: .env file should be VCS-ignored as well. but aem.env and local.env not

covered in https://github.com/wttech/aemc/blob/main/pkg/project/project.go#L151


Is there some benchmark ?

lock-free is not always the best way to solve the problem.
Is there some benchmark between libcds and intel tbb containers?
I think many users are confused on choosing the different kinds of same containers.

lock-free is not always the best way to solve the problem.

Yes, of course

Is there some benchmark between libcds and intel tbb containers?

I have no recent benchmark with Intel TBB. Usually, a potential user tests his application with different containers and selects most appropriate for his needs.

Thanks a lot for your quickly response.
In fact, I used TBB in my project and I used Michael Hash map for the comparision.
The benchmark result is they are almost same with CPU usage.
I want to know whether the other map containers better than this.
I don't want to test them one by one.

Sorry, I have no clear answer to your question. The answer depends on your hardware, on how you use the map and so on. In typical case - 80-90% find(), 10-20% insert()/erase() - MichaelMap is a good choice but this map is not growable: its hash table size is static and should be specified in MichaelMap constructor. If you exceed  this size (or the key distribution will be not approximately linear) the performance will be  degraded dramatically.

OK. I got your opnion.
I will do more research on others.
I am not familiar with their details at all...


Suggestion - VR 3d view

It would be awesome to be able to view the character 3d view in VR.  Webvr provides the I/O for this if it can be tied into your current 3d viewer.  It could then be used on phones as well as desktop VR.

Sorry, seems like a huge library for a pretty small feature that isn't the primary focus of this tool.


AFNetworkActivityIndicatorManager does not work on iOS 7

Activity indicator does not work on iOS 7, in iOS 8 works properly. This issue can be reproduced in iOS 7 simulator too.

Fixed by #2477.

I tried this fix, but it doesn't work for me.

Apologies, I meant #2459.


Make FramebufferError public

The API returns FramebufferError but that type isn't exported from the Framebuffer crate with pub use. This means you can't actually use the returned errors.

Yes! Sorry for that, I'm actually starting to use the failure crate to handle errors a cleaner way.


Installing Minnowboard max pre built image: Improve page text

Task Description
Page: https://github.com/solettaproject/soletta/wiki/Installing-Minnowboard-max-pre-built-image
Rework the text to match the current formatting used on https://github.com/solettaproject/soletta/wiki/Installing-Intel®-Edison-pre-built-image
Dependencies
None

done


Add back design changes from the refactor/responsiveness branch.

Overview
Add back design changes from the refactor/responsiveness branch.

Note:
Includes enhancements to Header.

Screenshots

LGTM. Just be sure to resolve the current conflicts, please.


(PUP-4688) Update acceptance tests for OSX

OSX 10.10
# bundle exec rake ci:test:aio SUITE_VERSION=<IP_ADDRESS>.gb9e1783 SHA=b9e178350dd52c75ab98ffd05e9bc739d7609155 CONFIG=config/nodes/osx-1010-x86_64.yaml
...
       Total Suite Time: 5297.40 seconds
      Average Test Time: 18.99 seconds
              Attempted: 279
                 Passed: 221
                 Failed: 0
                Errored: 0
                Skipped: 58
                Pending: 0
                  Total: 279

OSX 10.9
# bundle exec rake ci:test:aio SUITE_VERSION=<IP_ADDRESS>.gb9e1783 SHA=b9e178350dd52c75ab98ffd05e9bc739d7609155 CONFIG=config/nodes/osx-109-x86_64.yaml
...
              - Test Case Summary for suite 'tests' -
       Total Suite Time: 5486.13 seconds
      Average Test Time: 19.66 seconds
              Attempted: 279
                 Passed: 221
                 Failed: 0
                Errored: 0
                Skipped: 58
                Pending: 0
                  Total: 279

This updates our beaker dependency to require at least 2.16, which is necessary for beaker's helpers to install dmgs, but has the potential to break non-OSX platforms.
The last CI run used beaker 2.15.1 and puppet#stable per-commit passed:
https://jenkins.puppetlabs.com/view/All in One Agent/view/Stable/view/Puppet/job/platform_aio-puppet_intn-sys_stable/146/SLAVE_LABEL=beaker,TEST_TARGET=redhat-7-x86_64/consoleFull

redhat-7-x86_64
$ bundle exec rake ci:test:aio SUITE_VERSION=<IP_ADDRESS>.gb9e1783 SHA=b9e178350dd52c75ab98ffd05e9bc739d7609155 CONFIG=config/nodes/redhat-7-x86_64.yaml
...
       Total Suite Time: 5688.93 seconds
      Average Test Time: 20.39 seconds
              Attempted: 279
                 Passed: 225
                 Failed: 0
                Errored: 0
                Skipped: 53
                Pending: 1
                  Total: 279

And verified that the install steps can successfully use a tag as the SHA and SUITE_VERSION:
# bundle exec rake ci:test:aio SHA=1.2.1 SUITE_VERSION=1.2.1 CONFIG=config/nodes/osx-109-x86_64.yaml TESTS=tests/ticket_7101_template_compile.rb

or just the SHA:
# bundle exec rake ci:test:aio SHA=1.2.1 CONFIG=config/nodes/osx-109-x86_64.yaml TESTS=tests/ticket_7101_template_compile.rb

CLA signed by all contributors.

:+1:


Improve map screen performance

Overview
A variety of performance improvements to the Project screen:

Moved dynamic CSS properties out of Theme-UI sx property to avoid recalculating styles
Added memoization in a few places
Added a  separate throttle to the map tooltip for its contents to provide smooth motion w/o needing as many recalculations of data
Fixed up some event handlers that were getting disabled/enabled on every render

Checklist

~[ ] Description of PR is in an appropriate section of CHANGELOG.md and grouped with similar changes, if possible~

Demo

Notes
Note that there is still a significant performance hit when the chrome dev tools are open (partially but not fully caused by https://github.com/PublicMapping/districtbuilder/issues/348). This seems to go away when the dev tools are closed so I'm not that worried about it.
I think any further performance enhancements on this page will likely require the use of web workers to offload demographics calculations to a background thread
Testing Instructions

Go to the project screen
Observe the improved performance, particularly with the rectangle selection

Closes #285
Closes #288

@kshepard I rebased this on top of develop, which fixess the Map Tooltip issue (needed the fix in #344).

Also, I added a console.log as is described in #285, and I'm still seeing the calculation run frequently (in the ways that are laid out in that issue).

I'm not sure what you're referring to here though - because of the memoization in place, you shouldn't be seeing multiple calls into getDemographics without relevant data changing (e.g. selected geounits), and my own testing has shown that to be working.
There are almost certainly still some unneeded re-renders going on (I fixed those for ProjectSidebar for the most part, but not other components), but that shouldn't be reflected in duplicate calls to getDemographics.

I edited the file: src/shared/functions.ts, and put a console.log in the first line of the getDemographics function. Here's a GIF showing the many calls to getDemographics when just hovering over the map:

@kshepard those calls are to be expected - they're getting demographics for the tooltip which is why it is happening on hover.
The interactions in https://github.com/PublicMapping/districtbuilder/issues/285 were for things that shouldn't need to call getDemographics

Thanks, that makes sense.


[release-1.20] manifests: add gateways.securityContext option to custom gateway securityContext

Please provide a description of this PR:
Manual cherry of https://github.com/istio/istio/pull/51234
Fixes https://github.com/istio/istio/issues/51362

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

Test name
Commit
Details
Required
Rerun command

integ-ambient_istio_release-1.20
2ede260e2e44f4a16a89e760496ed881ecfa00f9
link
true
/test integ-ambient

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

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

Test name
Commit
Details
Required
Rerun command

integ-ambient_istio_release-1.20
2ede260e2e44f4a16a89e760496ed881ecfa00f9
link
true
/test integ-ambient

unit-tests-arm64_istio_release-1.20
84c00a21ed0c5daee1e795c697561aa70bc39cef
link
true
/test unit-tests-arm64

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

/retest all

@nicole-lihui: The /retest command does not accept any targets.
The following commands are available to trigger required jobs:

/test analyze-tests
/test bookinfo-build
/test gencheck
/test integ-ambient
/test integ-basic-arm64
/test integ-cni
/test integ-distroless
/test integ-ds
/test integ-helm
/test integ-ipv6
/test integ-operator-controller
/test integ-pilot
/test integ-pilot-istiodremote
/test integ-pilot-istiodremote-mc
/test integ-pilot-multicluster
/test integ-security
/test integ-security-istiodremote
/test integ-security-multicluster
/test integ-telemetry
/test integ-telemetry-istiodremote
/test integ-telemetry-mc
/test lint
/test release-notes
/test release-test
/test unit-tests
/test unit-tests-arm64

The following commands are available to trigger optional jobs:

/test benchmark
/test experimental-tracing
/test integ-assertion
/test integ-telemetry-discovery

Use /test all to run the following jobs that were automatically triggered:

analyze-tests_istio_release-1.20
gencheck_istio_release-1.20
integ-ambient_istio_release-1.20
integ-basic-arm64_istio_release-1.20
integ-cni_istio_release-1.20
integ-distroless_istio_release-1.20
integ-ds_istio_release-1.20
integ-helm_istio_release-1.20
integ-ipv6_istio_release-1.20
integ-operator-controller_istio_release-1.20
integ-pilot-istiodremote-mc_istio_release-1.20
integ-pilot-istiodremote_istio_release-1.20
integ-pilot-multicluster_istio_release-1.20
integ-pilot_istio_release-1.20
integ-security-istiodremote_istio_release-1.20
integ-security-multicluster_istio_release-1.20
integ-security_istio_release-1.20
integ-telemetry-discovery_istio_release-1.20
integ-telemetry-istiodremote_istio_release-1.20
integ-telemetry-mc_istio_release-1.20
integ-telemetry_istio_release-1.20
lint_istio_release-1.20
release-notes_istio_release-1.20
release-test_istio_release-1.20
unit-tests-arm64_istio_release-1.20
unit-tests_istio_release-1.20

In response to this:

/retest all

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

/retest

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

Test name
Commit
Details
Required
Rerun command

integ-ambient_istio_release-1.20
2ede260e2e44f4a16a89e760496ed881ecfa00f9
link
true
/test integ-ambient

unit-tests-arm64_istio_release-1.20
1a016b17318f8ff6e9cc327dd8459af3f0386ad9
link
true
/test unit-tests-arm64

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

/retest


Flatfile listener type expects void instead of Promise

This issue is with the EventCallback and EventHandler.use type definitions . The current definitions are as follows:
export type EventCallback = (evt: FlatfileEvent) => void;

use(fn: (handler: this) => void): this;

However, we should be able to accept either a function that returns void or Promise<void>  per this example (and logically since we don’t actually care about the return value).
export type EventCallback = (evt: FlatfileEvent) => void | Promise<void>;

use(fn: (handler: this) => Promise<void>): this;

Additional context here: https://flatfile-developers.slack.com/archives/C05B557MD61/p1701318501796279

Hey @theycallmeswift - can you upgrade @flatfile/listener to ^0.3.18 - we just released a fix for this.

Resolved, thanks!