Update scalafmt-core to 2.7.4

Updates org.scalameta:scalafmt-core from 2.7.2 to 2.7.4.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

labels: library-update, semver-patch

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@ade8f4f). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #264   +/-   ##
=========================================
  Coverage          ?   91.35%
=========================================
  Files             ?        9
  Lines             ?      162
  Branches          ?        3
=========================================
  Hits              ?      148
  Misses            ?       14
  Partials          ?        0

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 ade8f4f...eb61c49. Read the comment docs.


3164 better docs

Context
Changes proposed in this pull request
Guidance to review
Checklist

[ ] Make sure all information from the Trello card is in here
[ ] Attach to Trello card
[ ] Rebased master
[ ] Cleaned commit history
[ ] Tested by running locally

 Improve API docs


lynis: 2.6.7 -> 2.6.8

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from lynis.
meta.description for lynis is: '"Security auditing tool for Linux, macOS, and UNIX-based systems"'.
Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS
/nix/store/rb427fxqckjca82aphr3xpjvaghyr4hc-lynis-2.6.8/bin/lynis passed the binary check.
/nix/store/rb427fxqckjca82aphr3xpjvaghyr4hc-lynis-2.6.8/bin/.lynis-wrapped passed the binary check.
2 of 2 passed binary check by having a zero exit code.
2 of 2 passed binary check by having the new version present in output.
found 2.6.8 with grep in /nix/store/rb427fxqckjca82aphr3xpjvaghyr4hc-lynis-2.6.8
directory tree listing: https://gist.github.com/6be49187478d48426c39159b97cce4ea
du listing: https://gist.github.com/60421b44d231491b1040956d4a1c437b

Instructions to test this update (click to expand)

One-time optional setup to skip building using Cachix:

Install cachix from https://cachix.org/
Use r-ryantm's cache:cachix use r-ryantm

Test this update by entering a nix shell, seeing what is inside the
result, and if applicable, running some binaries:
nix-shell --pure -I nixpkgs=https://github.com/r-ryantm/nixpkgs/archive/f680064eef72e03990b8cd9e8fd267a8d44350ac.tar.gz -p lynis
ls -la /nix/store/rb427fxqckjca82aphr3xpjvaghyr4hc-lynis-2.6.8

cc @ryneeverett for testing.

Success on x86_64-linux (full log)
Attempted: lynis
Partial log (click to expand)
no Makefile, doing nothing
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/rb427fxqckjca82aphr3xpjvaghyr4hc-lynis-2.6.8
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/rb427fxqckjca82aphr3xpjvaghyr4hc-lynis-2.6.8/bin
patching script interpreter paths in /nix/store/rb427fxqckjca82aphr3xpjvaghyr4hc-lynis-2.6.8
/nix/store/rb427fxqckjca82aphr3xpjvaghyr4hc-lynis-2.6.8/bin/.lynis-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/czx8vkrb9jdgjyz8qfksh10vrnqa723l-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/rb427fxqckjca82aphr3xpjvaghyr4hc-lynis-2.6.8...
/nix/store/rb427fxqckjca82aphr3xpjvaghyr4hc-lynis-2.6.8

Success on x86_64-darwin (full log)
Attempted: lynis
Partial log (click to expand)
no configure script, doing nothing
building
no Makefile, doing nothing
installing
post-installation fixup
strip is /nix/store/df6k4mgdjxciy0f637lryp7c9ln7n1m3-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/r63g53i2c7gg7z9k8vb3ak1m1ngdq7z5-lynis-2.6.8/bin
patching script interpreter paths in /nix/store/r63g53i2c7gg7z9k8vb3ak1m1ngdq7z5-lynis-2.6.8
/nix/store/r63g53i2c7gg7z9k8vb3ak1m1ngdq7z5-lynis-2.6.8/bin/.lynis-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/cblfnvb5rmhd2z231mqasn0brzh1hhv4-bash-4.4-p23/bin/sh"
/nix/store/r63g53i2c7gg7z9k8vb3ak1m1ngdq7z5-lynis-2.6.8

Success on aarch64-linux (full log)
Attempted: lynis
Partial log (click to expand)
no Makefile, doing nothing
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/7gy1bnw26psx00n6l8v2mm5ca4czls9k-lynis-2.6.8
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/7gy1bnw26psx00n6l8v2mm5ca4czls9k-lynis-2.6.8/bin
patching script interpreter paths in /nix/store/7gy1bnw26psx00n6l8v2mm5ca4czls9k-lynis-2.6.8
/nix/store/7gy1bnw26psx00n6l8v2mm5ca4czls9k-lynis-2.6.8/bin/.lynis-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/fqm2x6kiay1q4vg7pqp4wp17bdijlyc3-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/7gy1bnw26psx00n6l8v2mm5ca4czls9k-lynis-2.6.8...
/nix/store/7gy1bnw26psx00n6l8v2mm5ca4czls9k-lynis-2.6.8


Ability to translate SQL expressions between SQL servers

\yii\db\Expression is not SQL agnostic, so you can not write portable code between SQL servers.
If \yii\db\Expression could translate expressions, you could write
'value' => new \yii\db\Expression('NOW()'),

and it would be translated into
   'value' => new \yii\db\Expression('DATETIME(\'NOW\', \'localtime\')'),

when the SQL server is sqlite3
Another option would be to change it when doing the real select, but that would be more complicated.
What steps will reproduce the problem?
Attach the timestamp behavior to a model like this:
	public function behaviors()
	{
		$behaviors = [
		'timestamp' => [
				'class' => TimestampBehavior::className(),
				'createdAtAttribute' => 'created_at',
				'updatedAtAttribute' => 'updated_at',
				'value' => new \yii\db\Expression('NOW()'),
			],
		];
		return $behaviors;

And save a new model.
What is the expected result?
The model is saved regardless of the SQL server.
What do you get instead?
If the SQL server is Sqlite3, an error complaining that the NOW() function does not exist.
Additional info

Q
A

Yii version
2.0.13-dev

PHP version
7.0

Operating system

There are hundreds SQL functions so I doubt we'll be able to support it properly.

Can the AttributeBehavior know the connection of the parent active record? Maybe it is something to add to the timestamp behavior

Yes. Behavior knows everything about AR it's attached to.

Closing since it would require too much effort and is not in line with current goals of the framework.


chore: update API comments after PR #12 changed input to generic arrays

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
37

Relevant Lines:
37

💛  - Coveralls


Fix formaldehyde scale for ble device 735

As is mentioned in https://github.com/AlexxIT/XiaomiGateway3/issues/1177, different devices use different unit for formaldehyde.
Therefore I add an if-else statement to make both devices work.

Thanks!

https://github.com/AlexxIT/XiaomiGateway3/releases/tag/v3.3.4


Fix undefined global/name in ctypesgencore/printer_python/printer.py

Some generated files will fail to build because it hits the print_module method
in ctypesgencore/printer_python/printer.py which looks like this:

    def print_module(self,module):
        print >>self.file, 'from %s import *' % name

"name" isn't defined. I have attached a fix.

Original issue reported on code.google.com by kanzure on 11 Sep 2013 at 2:02
Attachments:

fix-print-module.diff

This now fixed (finally, I guess).


Purpose of line 31 in train.py

In the beginning, I am a bit confused about the purpose of this line, namely,
FLAGS.batch_size
Later I guess this is to make the parameter printing work? Because I removed it and the parameters won't print. Anyway, I found that using FLAGS._parse_flags() would work and is probably more clear. Just thought you would like to know.

Yeah, the parameters are parsed lazily, so I had to access them before I can print them. Thanks for letting me know, I didn't know about FLAGS._parse_flags(). That's much cleaner!


Platform dependency on published BOM does not apply transitive BOM dependencies

When creating a java-platform with javaPlatform.allowDependencies() and depending on a published BOM using api(enforcedPlatform("group:module-bom:version"), if that BOM itself imports BOMs (i.e., using <dependency><type>pom</type><scope>import</scope>...</dependency>, the transitive BOMs are not applied by the platform.
Expected Behavior

A platform should apply the transitive dependencies of any dependency BOMs, similar to what Maven would do.
Current Behavior

The platform does not apply transitive dependencies, and any dependencies defined in those will not resolve.
Context

Trying to use google-cloud-bom - it has worked so far since all dependencies were defined in the BOM but the most recent version switched to importing BOMs transitively, which should be a no-op but is currently not handled correctly by a platform.
Steps to Reproduce

https://github.com/anuraaga/gradle-platform-transitive
This project does not build, but if you downgrade the version in platform/build.gradle.kts to com.google.cloud:google-cloud-bom:0.116.0-alpha, it does build (that version does not use transitive BOMs).
Your Environment

Gradle 6.0-rc-2, Windows, Java 13 (zulu)

/cc @chingor13 in case you're curious as this is related to https://github.com/googleapis/google-cloud-java/pull/6554

That's by design. There is no such thing as "transitive BOMs" if we follow the semantics implemented in Maven. In Maven you have the same problem with that BOM if you move from 0.116.0-alpha to 0.117.0-alpha.
I am not sure what the motivation behind https://github.com/googleapis/google-cloud-java/pull/6554 was, but if google-cloud-bom is meant to be imported as a "super BOM", the change is not going to work in Maven (or Gradle) like this.
I am not saying I like this behavior :), but we are trying to stay as close to the Maven semantics as we can here.
If you want true transitive platform dependencies with Gradle, you can be published Gradle Module Metadata with platform dependencies.

cc @elharo

@saturnism

Thanks for the explanation and sorry for the noise @jjohannes. Actually I don't use maven much so made a really wild assumption. I agree it's better to match Maven semantics so there's nothing wrong here then.

The comment https://github.com/gradle/gradle/issues/11208#issuecomment-549557803 is incorrect. There is such a thing as transitive BOMs and Maven does work with them. I just verified this with google-cloud-bom:0.117.0-alpha.
I don't know anything about gradle java-platforms, but if it's supposed to mirror the Maven behavior , then this is indeed a bug in Gradle.
Here is one pom.xml that uses the transitive BOM to set the version of com.google.api:gax. If you can produce a Maven project, where the transitive BOM fails, I'd be curious to see that. Meanwhile I recommend reopening this bug.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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>
  <packaging>war</packaging>
  <version>0.1.0-SNAPSHOT</version>
  <groupId>com.example</groupId>
  <artifactId>example</artifactId>
  <properties>
    <appengine.maven.plugin.version>2.2.0</appengine.maven.plugin.version>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    <maven.compiler.source>1.8</maven.compiler.source>
    <maven.compiler.target>1.8</maven.compiler.target>
    <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
  </properties>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>com.google.cloud</groupId>
        <artifactId>google-cloud-bom</artifactId>
        <version>0.117.0-alpha</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <dependencies>
    <!-- Compile/runtime dependencies -->
          <dependency>
        <groupId>com.google.api</groupId>
        <artifactId>gax</artifactId>
      </dependency>
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>javax.servlet-api</artifactId>
      <version>3.1.0</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>javax.servlet.jsp</groupId>
      <artifactId>javax.servlet.jsp-api</artifactId>
      <version>2.3.1</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>jstl</groupId>
      <artifactId>jstl</artifactId>
      <version>1.2</version>
    </dependency>
    <dependency>
      <groupId>com.google.appengine</groupId>
      <artifactId>appengine-api-1.0-sdk</artifactId>
      <version>1.9.76</version>
    </dependency>
    <!-- Test Dependencies -->
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.12</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
    <!-- for hot reload of the web application-->
    <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>
    <plugins>
      <plugin>
        <groupId>com.google.cloud.tools</groupId>
        <artifactId>appengine-maven-plugin</artifactId>
        <version>${appengine.maven.plugin.version}</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-enforcer-plugin</artifactId>
        <version>3.0.0-M2</version>
        <executions>
          <execution>
            <id>enforce-maven</id>
            <goals>
              <goal>enforce</goal>
            </goals>
            <configuration>
              <rules>
                <!-- appengine-maven-plugin requires Maven 3.5.0 -->
                <requireMavenVersion>
                  <version>3.5.0</version>
                </requireMavenVersion>
              </rules>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>

@elharo Thanks for clarifying and sorry for my wrong statement. It was late for me yesterday.
So you are right and this is working in Gradle, because we already "flatten" the BOM when reading it - i.e. we get the imported BOM and that makes up one "platform".
Your example com.google.api:gax is also working in Gradle:
dependencies {
    api(platform("com.google.cloud:google-cloud-bom:0.117.0-alpha"))
    implementation("com.google.api:gax")
}

@anuraaga I think your issue stems from the fact that grpc-google-cloud-trace-v2 is not listed anymore in the BOM at all (not in the BOM itself and also not in the imported BOMs). So this is the failing Maven build I had which got me confused:
<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org</groupId>
  <artifactId>test</artifactId>
  <version>1.0-SNAPSHOT</version>
  <name>test</name>

  <dependencies>
    <dependency>
      <groupId>com.google.api.grpc</groupId>
      <artifactId>grpc-google-cloud-trace-v2</artifactId>
    </dependency>
  </dependencies>

  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>com.google.cloud</groupId>
        <artifactId>google-cloud-bom</artifactId>
        <version>0.116.0-alpha</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
    </dependencies>
  </dependencyManagement>
</project>

Not sure if this is desired or an oversight that happened during the google-cloud-bom refactoring.
Sorry again for the confusion.

Thanks for putting time into this - indeed it looks like I landed on a very sharp corner case which I generalized before investigating enough.

@anuraaga The missing "grpc-google-cloud-trace-v2" has been added back to google-cloud-bom in its master. https://github.com/googleapis/java-trace/pull/36 . Thank you for getting attention of us.
@jjohannes Thank you for the precise analysis!


OnTap function Bug

Hi mate , Great package ....

There's a bug in the "OnTap" function is not working on the latest's 2 versions.
I downgraded to "breathing_collection: ^0.1.5" to test and saw that it's working.
2.I saw that you are using InkWell to get the click listener, It would be awesome to have the option to choose the button splash screen color, because when the button is pressed at the moment it shows a squared white splash which extends out of the button radius ,being the button a circular.

Other than that everything else perfect!! great package

I'll look into it as soon as possible

Hi, thanks for reporting the issue,

I've fixed the onTap bug in the latest version.
I removed the splash effect from the InkWell as it wasn't intended to have a splash effect. (It looks ugly when overlapping with the glowing effect)

Feel free to open an feature request issue if you think the splash effect option is necessary.

Working perfectly! great work


test deploy action, disregard

/deploy renku=release-0.52.x

You can access the deployment of this PR at https://renku-ci-nb-1884.dev.renku.ch


[local] error task id 14966, classif.svm

task_id = 14966
learner = "classif.svm"
of = make_omlbenchfunction(learner, task_id, include.extras = TRUE)
par.set = getParamSet(of)
xd = generateRandomDesign(n = 100, par.set)
res = of(xd)

Error in FNN::get.knnx(data = table_subset[, numeric_params_no_na, with = FALSE],  :
  Data non-numeric

The task learner combination lead to many runs that were probably not finished / submitted. Only kernel == "linear" available.


MessageBag method has() always return true when keys is empty

$errors->has() is not working anymore since commit a0cd0ae and a8df2de.

use conditionals bruh.

Thanks guys.

You're welcome. Thanks!


SaveAs function does not exist

Commit hash: 67ac3f1
OS: Arch Linux
Terminal: zsh, guake
When I try to add the SaveAs Command to my ~/.config/micro/bindings.json file Iget the following error:
"function does not exist: Saveas"
% cat ~/.config/micro/bindings.json
{
"Alt-s": "SaveAs"
}

The SaveAs function actually doesn't exist. Internally it does exist, but currently you can bind a key to it.

Thanks for addressing this issue!
So how can I bind a key to it? Is there antother way for doing it?

You should be able to bind it now just as you had been. I must have just forgotten to put the function in the list of bindable actions.


Timeout and maxScatterGatherBytes handling for queries run by Druid SQL

This PR sets timeout and maxScatterGatherBytes parameters (https://github.com/druid-io/druid/pull/4229) in the query context/responseContext for SQL-originated queries.
Without this, SQL queries fail with a NullPointerException at this line in DirectDruidClient.run():
      long timeoutAt = ((Long) context.get(QUERY_FAIL_TIME)).longValue();

@gianm Addressed your comments

@jon-wei, compilation issue:
/home/travis/build/druid-io/druid/sql/src/main/java/io/druid/sql/calcite/schema/DruidSchema.java:317: error: cannot find symbol
                                                            QueryMaker.makeResponseContextForQuery(segmentMetadataQuery)
                                                                      ^

@gianm my bad, fixed

@jon-wei thanks; it looks like there's a different error now, from checkstyle.


Parallel checks

Right now the checks are executed one after another, would be interesting to execute them in parallel.
See: https://github.com/dimiro1/health/blob/master/checker.go#L50

It would be great to see the checks executed in scheduled goroutines, so longer-running checks aren't executed on every GET.

i have implemented @dimiro1 idea in my pull request
i also have implemented @Freakin idea in my feature branch, which adds a new Start(interval) and Stop() function to composite checker:
https://github.com/mschneider82/health/tree/feature-background-checks


[WIP School autocomplete spike

Context
Changes proposed in this pull request
Guidance to review

Closing in favour of https://github.com/DFE-Digital/get-help-with-tech/pull/1014


Do not request "search_pipelines" metrics by default in NodesInfoRequest

Description
This commit introduces a breaking change:
NodesInfoRequest does not request all metrics by default.
There are metrics there are not included in the default set of metrics. Right now "search_pipelines" metric is not included in the default set of metrics.
Related Issues
Related issue: #10296
Originally, this change was part of above mentioned PR but during the review it was decided that it needs to be broken into several commits.
Check List

[x] New functionality includes testing.

[ ] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

[ ] Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
[x] Commits are signed per the DCO using --signoff
[x] Commit changes are listed out in CHANGELOG.md file (See: Changelog)
[ ] Public documentation issue/PR created

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

The missing documentation part of this PR is "blocked" by https://github.com/opensearch-project/documentation-website/issues/6544 (The documentation for search_pipelines parameter in NodesInfo is missing so I can not update the documentation and say this parameter is not requested by default.)


Added Vector Collection Server for publishing information for real-time users in the YARPRobotLoggerDevice

Edited the functionality of the real-time logger to use a vector collection client/server

The Windows failure is:
2024-01-22T15:53:53.5054220Z [2024-01-22 15:53:53.494] [thread: 1440] [blf] [info] [CoMTask::initialize] [CoMTask] Unable to find the mask parameter. The default value is used: true true true.
2024-01-22T15:53:53.5055525Z [2024-01-22 15:53:53.495] [thread: 1440] [blf] [info] [SE3Task::initialize]  [IK-SE3Task - Frame name:  link29] Unable to find the mask parameter. The default value is used: true true true.
2024-01-22T15:53:53.5056998Z [2024-01-22 15:53:53.495] [thread: 1440] [blf] [info] [SE3Task::initialize]  [IK-SE3Task - Frame name:  link29] Unable to find the use_orientation_exogenous_feedback parameter. The default value is used: false.
2024-01-22T15:53:53.5058521Z [2024-01-22 15:53:53.495] [thread: 1440] [blf] [info] [SE3Task::initialize]  [IK-SE3Task - Frame name:  link29] Unable to find the use_position_exogenous_feedback parameter. The default value is used: false.
2024-01-22T15:53:53.5059888Z [2024-01-22 15:53:53.495] [thread: 1440] [blf] [info] [CoMTask::initialize] [CoMTask] Unable to find the mask parameter. The default value is used: true true true.
2024-01-22T15:53:53.5060649Z Randomness seeded to: 577753292
2024-01-22T15:53:53.5060849Z
2024-01-22T15:53:53.5061011Z ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2024-01-22T15:53:53.5061541Z QPInverseKinematicsUnitTests.exe is a Catch2 v3.0.1 host application.
2024-01-22T15:53:53.5062005Z Run with -? for options
2024-01-22T15:53:53.5062170Z
2024-01-22T15:53:53.5062336Z -------------------------------------------------------------------------------
2024-01-22T15:53:53.5062764Z QP-IK [Distance and Gravity tasks Unconstrained]
2024-01-22T15:53:53.5063180Z -------------------------------------------------------------------------------
2024-01-22T15:53:53.5063908Z D:\a\bipedal-locomotion-framework\bipedal-locomotion-framework\src\IK\tests\QPInverseKinematicsTest.cpp(858)
2024-01-22T15:53:53.5064626Z ...............................................................................
2024-01-22T15:53:53.5064920Z
2024-01-22T15:53:53.5065434Z D:\a\bipedal-locomotion-framework\bipedal-locomotion-framework\src\IK\tests\QPInverseKinematicsTest.cpp(979): FAILED:
2024-01-22T15:53:53.5066744Z   REQUIRE( toManifPose(kinDyn->getWorldTransform(desiredSetPoints.targetFrameDistance)) .translation() .norm() == Catch::Approx(desiredSetPoints.targetDistance).epsilon(tolerance) )
2024-01-22T15:53:53.5067631Z with expansion:
2024-01-22T15:53:53.5067981Z   76.8941567337 == Approx( 1.3854129089 )
2024-01-22T15:53:53.5068215Z
2024-01-22T15:53:53.5068347Z ===============================================================================
2024-01-22T15:53:53.5068713Z test cases:   5 |   4 passed | 1 failed
2024-01-22T15:53:53.5069051Z assertions: 661 | 660 passed | 1 failed

it is the same thing tracked in https://github.com/ami-iit/bipedal-locomotion-framework/issues/799, just rebased or merge with master to get the fix that was merged in https://github.com/ami-iit/bipedal-locomotion-framework/pull/800 .

After face-to-face discussions with @S-Dafarra, @GiulioRomualdi, and @gabrielenava. This PR will be broken up into smaller PRs so it is easier to manager


Improve coverage accuracy for TypeScript preprocessor example.

Note: These changes are 100% the result of reading this stackoverflow answer and all credit must really go to @TwitchBronBron
What these changes do is add istanbul ignore statements to the transpiled code so that the reported coverage better reflects reality on coverage reports. (Without this, the generated __extends, __assign, etc statements mess with coverage reports)
Tested a few times and it seems to be working great.

Thanks for your contribution! Unfortunately I don't believe that regex replacements are safe for JavaScript code and I wouldn't want to recommend this as an official solution. If however you process the returned JavaScript's AST, insert comments and then re-print it to JavaScript, I'd be happy to merge that.
The proper fix for this however should be to ask the TypeScript developers to implement this feature into their compiler.
If you'd like to put this preprocessor in its own npm package that people can use, I'm ok with that too but I won't be merging this exact solution into our sample code :) I hope you understand.

No problem. The points you raised are all totally valid.

If however you process the returned JavaScript's AST, insert comments and then re-print it to JavaScript

Hadn't thought of that. Next time I get some free time I'll play around and see if I can whip together something more solid. If so, I'll resubmit. 👍


[Feature] [RayJob] support light-weight submitting job inner controller as a optional mode

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
Reference to this design doc
https://docs.google.com/document/d/1G--fKMCqp-M3T0qDPQy5eOQJQKRmubr7SyZQ_ms6Py4
Kuberay creates a Kubernetes job to run the necessary ray job command in the new design.
After this modification, the Rayjob controller is no longer responsible for submitting jobs, instead, it only needs to get the status from the k8s job.
In the production environment, I think it has some problem

The submission Pod needs additional quota, and it needs more configuration when using gang scheduling.
need to maintain submission images for users and pulling this pod requires additional time in the job life cycle.
unexpected termination of the job's log stream will cause ray job submit to end, I think this is one of the problems that needs to be handled

I hope to retain the old mode(submit by dashboard HTTP client) as a second choice in the job controller.
We are willing to contribute relevant code to solve the problems mentioned in the doc by adding a state machine, setting a unique submission-id and so on.
I think there are still users who want to use this light-weight mode of job submission
Use case
No response
Related issues
https://github.com/ray-project/kuberay/issues/756
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

\cc @kevin85421

Thank you for opening the issue! I will take this into consideration after I finish the v1.0.0 release process.

The submission Pod needs additional quota

This seems to be the main problem. Other points are addressable.

@Basasuya Thanks for putting things together.

I hope to retain the old mode(submit by dashboard HTTP client) as a second choice in the job controller.

This is a major change even if it is an optional feature. For next step, I would recommend draft up a design doc first and share how you approach this problem in this way.
Please feel free to ask any questions and share any thoughts you have in mid way!

OK, I will give some details about how to solve the problem in the old mode mentioned in previous issues

Sorry for being a bit busy these two weeks. I'd like to briefly explain our solution for light-weight job submission. We define the state machine of the ray job to avoid the job being submitted more than one time, having status conflicts, and so on.
A key optimization is that we set the submission_id bound to a ray job(for example use ray job uid) in runtime_env to ensure the uniqueness of job submission. Even if the job is submitted repeatedly, the subsequent submissions will be set as failures by the ray dashboard.
Through the picture below, I introduce the details of state machine transfer.

INIT
INIT -> PENDING: the controller would first create the ray cluster, and wait for the cluster to be ready.
we know a ray job can be submitted before all ray nodes are ready. We have added a config to support querying the number of existing nodes from the ray dashboard to determine whether the job can be submitted. if ray job is submitted, the state would transfer to PENDING.
INIT -> PENDING/RUNNING/SUCCESS/STOPPED/FAILED:
If the job submission fails, there is a situation where the job has been submitted in a previous round of reconciling. After submission fails, controller would just query the job status. If the job info result is a certain status, it will be directly transferred to this status.
INIT -> FAILED
If the cluster is not ready for a certain time, just transfer to FAILED
PENDING
PENDING -> RUNNING/SUCCESS/STOPPED/FAILED:
get the job info from the ray dashboard, then transfer it to the new state
If fail to get the job info, try in next reconcile
PENDING -> FAILED
If the job info query fails for more than a certain number of times, it will be transferred to FAILED
RUNNING
RUNNING -> SUCCESS/STOPPED/FAILED:
get the job info from Ray dashboard, then transfer it to the new state
if fail to get the job info, try in next reconcile
RUNNING -> FAILED
If the job info query fails for more than a certain number of times, it will be transferred to FAILED
SUCCESS/STOPPED/FAILED
In the final state, ray job will clean up the cluster resources, or there are configs to set TTL for cleanup, just try again in the next reconcile

In addition, we found that JobDeploymentStatus also does not have a strict state machine. In fact, this is sometimes very important in our environment. We hope to do some design later.


Enable multi-arch Flutter Gallery on iOS

Build universal armv7+arm64 binary for iOS now that our tooling supports
it.

See #2089


[CI] PR checking

use GitHub Actions

[ ] eslint
[ ] stylelint
[ ] build
[ ] praywright

https://github.com/RinUeyama/ratlis-the-northern-ruin/pull/5
playwright以外
markuplintをCIに入れる？

I'll not run testing on CI because of expensive cost.


Refresh of active plugin on undo/redo

Currently in an open-scd-core plugin, as far as I can tell undo/redo buttons do not request an update on the currently in use plugin. Or -- perhaps the editCount is not being correctly modified.
The undo/redo action is happening correctly but the visual display does not appear to be updated.
I have ensured that my plugin has properties on it which should effect a change, so the plugin begins:
@property({ attribute: false })
doc!: XMLDocument;

@property() docName!: string;

@property() editCount!: number;

It looks as though editCount is undefined:

Even though edits have been made:

Happy to provide additional information.

I suspect this was resolved in d3b745a and may not be an issue with a new core release.

I can confirm that this is not an issue when working off the main branch, so I will close this issue.


Create Module Unit Tests for app-monitoring

This module currently doesn't have any unit tests for the module directly. Unit testing is only done at the template. In order to assist developers and help understand the usage of the module a unit test should be added. Tests in the Network module can be used as an example.
Acceptance Criteria
Tests should be able to run directly from the module.
Tests should be able to run automatically from the existing Mage task runner.
All tests should pass.
Coding standards and style should be maintained.
Documentation should be updated if necessary.

Module not used.  Marked as unnecessary.


How to hide lastUpdated?

Your demo does not have time for the last change: https://ramon.codes/demo/zuck.js/index.html?skin=Snapssenger

I can't figure out how to hide the date & time. I tried to play your demo, and even so I still have dates & time.
https://jsfiddle.net/j80tgcLm/1/

Css:
.time {
      display: none !important;
}


Documentation or Tutorial

Hello,
Thank you for create a wonderful Package, but im wondering is there any documentation or tutorial ?
Thank you.

Hi @somato-tomato! have you reviewed the Read me file -- Is this not enough?

Hi thanks for reply. i try to upload image but the image not uploaded.

okay i need to do
php artisan vendor:publish --provider="Dotlogics\Media\MediaServiceProvider" --tag="migrations"
Thank you.

okay i need to do php artisan vendor:publish --provider="Dotlogics\Media\MediaServiceProvider" --tag="migrations" Thank you.

Added this to Readme file


Initial version of LooCompare and loo_compare

These are the updates I applied on my fork.
I am still trying to figure out what below warning tells me, but this is not directly related to this PR.
┌ Warning: Error requiring `MCMCChains` from `ParetoSmooth`
│   exception =
│    cannot assign a value to variable MCMCChains.MCMCChains from module ParetoSmooth
│    Stacktrace:
│      [1] top-level scope
│        @ none:1
│      [2] eval
│        @ ./boot.jl:360 [inlined]
│      [3] eval
│        @ ~/.julia/dev/ParetoSmooth/src/ParetoSmooth.jl:1 [inlined]
│      [4] (::ParetoSmooth.var"#6#12")()
│        @ ParetoSmooth ~/.julia/packages/Requires/7Ncym/src/require.jl:99
│      [5] err(f::Any, listener::Module, modname::String)
│        @ Requires ~/.julia/packages/Requires/7Ncym/src/require.jl:47
│      [6] (::ParetoSmooth.var"#5#11")()
│        @ ParetoSmooth ~/.julia/packages/Requires/7Ncym/src/require.jl:98

I pushed a slightly cleaner version of the loo_compare() and the test script.
There is an issue on AxisKeys.jl for Julia v1.7 and Julia 1.8.
The above issue (Error requiring MCMCChains from ParetoSmooth) occurs when using ParetoSmooth in another package or project.

That's strange; was MCMCChains loaded before or after ParetoSmooth? @itsdfish might know more since he wrote the part of the code dealing with MCMCChains?

@goedman, can you report a MWE and version info?

This occurs in the project StatisticalRethinkingTuring:
julia> versioninfo()
Julia Version 1.6.2
Commit 1b93d53fc4 (2021-07-14 15:36 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin18.7.0)
  CPU: Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, skylake)
Environment:
  JULIA_NUM_THREADS = 8
  JULIA_EDITOR = subl
  JULIA_CMDSTAN_HOME = /Users/rob/Projects/StanSupport/cmdstan
  JULIA_SVG_BROWSER = Google Chrome.app
  JULIA_SPECIALFUNCTIONS_BUILD_SOURCE = true
  JULIA_MPI_PATH = /usr/local/Cellar/open-mpi/4.0.2
  JULIA_PKG3_PRECOMPILE = true
  JULIA_PKG_SERVER = https://us-east.pkg.julialang.org

(StatisticalRethinkingTuring) pkg> st
      Status `~/.julia/dev/StatisticalRethinkingTuring/Project.toml`
  [336ed68f] CSV v0.8.5
  [a93c6f00] DataFrames v1.2.1
  [31c24e10] Distributions v0.25.11
  [634d3b9d] DrWatson v2.1.2
  [c7f686f2] MCMCChains v4.13.1
  [a68b5a21] ParetoSmooth v0.3.1 `~/.julia/dev/ParetoSmooth`
  [df47a6cb] RData v0.8.3
  [2d09df54] StatisticalRethinking v3.4.3
  [2913bbd2] StatsBase v0.33.9
  [4c63d2b9] StatsFuns v0.9.8
  [854dedd9] StatsModelComparisons v1.0.1
  [fce5fe82] Turing v0.16.6

(StatisticalRethinkingTuring) pkg>

as I pick up ParetoSmooth using:
using Turing, Random, MCMCChains
using CSV, DataFrames, StatsBase
using ParetoSmooth
using StatisticalRethinking

#Random.seed!(129111)

df = CSV.read(sr_datadir("WaffleDivorce.csv"), DataFrame)
df.D = zscore(df.Divorce)
df.M = zscore(df.Marriage)
df.A = zscore(df.MedianAgeMarriage)
data = (D=df.D, A=df.A)

function lin(a, b, c, x...)
    result = @. a + b * c
    for i in 1:2:length(x)
        @. result += x[i] * x[i+1]
    end
    return result
end
<...>

when I include:

julia> include("/Users/rob/.julia/dev/StatisticalRethinkingTuring/research/loo_compare/waffle_divorce_turing.jl");
┌ Warning: Error requiring `MCMCChains` from `ParetoSmooth`
│   exception =
│    cannot assign a value to variable MCMCChains.MCMCChains from module ParetoSmooth
│    Stacktrace:
│      [1] top-level scope
│        @ none:1
│      [2] eval

I will try to create a MWE.

Thanks @goedman. It looks like the following is sufficient to create the error:
using Turing
using ParetoSmooth

Running the code in the opposite order does not produce the error. I'm not aware of any order constraints, but I will look into it.

I did not see any explicit instruction to load packages in a specific order when using Requires.jl. In fact, the following works:
using MCMCChains
using Distributions
using ParetoSmooth

samples = randn(100, 1, 1)
data = randn(50)
chain = Chains(samples)

compute_loglike(μ, data) = logpdf(Normal(μ, 1), data)
compute_loglike(μ, σ, data) = logpdf(Normal(μ, σ), data)

pll1 = pointwise_log_likelihoods(compute_loglike, chain, data)

The main difference is that Turing reexports MCMCChains. I don't know why that should cause a problem.

Yip, but
using Turing, MCMCChains
using Distributions
using ParetoSmooth

samples = randn(100, 1, 1)
data = randn(50)
chain = Chains(samples)

compute_loglike(μ, data) = logpdf(Normal(μ, 1), data)
compute_loglike(μ, σ, data) = logpdf(Normal(μ, σ), data)

pll1 = pointwise_log_likelihoods(compute_loglike, chain, data)
size(pll1) |> display

doesn't.

It is specified somewhere that a package must be loaded before the require is encountered.
@itsdfish What do you see if you remove the , .MCMCChains part in the using clause of TuringHelpers.jl?

@goedman , good call. That seems to have solved the problem. Evidently, reexporting MCMCChains from Turing creates a conflict.  Tests also pass locally. Would you like to remove using .MCMCChains from TuringHelpers.jl in your PR?

Yes, I will push that back to my PR.

@goedman @itsdfish does this look good to merge?

Thanks @itsdfish Will go over all, but at first glance these are all valid comments and improvements!

Rob, no problem. After these minor revisions, it seems good to merge in my opinion.

A few more comments on this PR:

I've used DocStringExtensions.jl for the docs. Thus this has been added to the main project.toml.
In test/Project.toml I've added (but commented out) ParetoSmooth and Underscores. For testing scripts outside Pkg.test("ParetoSmooth") or ] test these 2 need to be added.
I have changed column headers in the LooCompare table to dPSIS and dSE.

I think if Carlos agrees with the dSE computation I think this PR can be merged.

@goedman, sorry to instill doubt. I believe what you have is correct. I was just a bit surprised.  See point 14 here.

One final suggestion from y side. Should we rename the LooCompare table headers to elpd_diff and se_diff as in the Loo package glossary?

@goedman, that is a good suggestion.

Yes, I think so. Anyway, all done, time to merge!

This looks great, thank you so much @itsdfish and @goedman !


Auth - InviteUserStoreRequest - password rules

Hi!
can you please change the password rules in the file InviteUserStoreRequest to ['required', 'confirmed', Password::defaults()] as in RegisterUserRequest?
It would be great to use Password::defaults() for all passwords.
Thanks,

Hi, this issue is resolved in the new release, feel free to update your Craftable PRO: https://docs.craftable.pro/getting-started/upgrade-guide


Change "tho" to "though"

Describe the proposed changes

Unreleased project version

Related issue

Related issue or PR in another project

Please take a look

Deploy preview ready!
Built with commit babd3da5e70fe18ab436b1b857ccec9dfd84c0b7
https://deploy-preview-579--docker-docs.netlify.com

Thanks, @scottlaw1 :)


Cannot read property 'flags' of undefined

Hey @TylorS, thank you for this project.
i've got cli.ts file
import { command, app, flag, alias, withPromise, run, withCallback } from 'reginn'

const logcmd = command(alias('justlog'))

withPromise(logcmd)
  .then(({ args }) => {
    console.log('fff')
  })

run(logcmd)

running ts-node ./cli.ts justlog will result this error
TypeError: Cannot read property 'flags' of undefined
    at Object.run (/Users/hanni05/GIT/mostly-dom/node_modules/reginn/src/run/run.ts:30:55)
    at Object.<anonymous> (/Users/hanni05/GIT/mostly-dom/cli.ts:20:1)
    at Module._compile (module.js:570:32)
    at Module.m._compile (/Users/hanni05/.nvm/versions/node/v6.9.1/lib/node_modules/ts-node/src/index.ts:406:23)
    at Module._extensions..js (module.js:579:10)
    at Object.require.extensions.(anonymous function) [as .ts] (/Users/hanni05/.nvm/versions/node/v6.9.1/lib/node_modules/ts-node/src/index.ts:409:12)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Function.Module.runMain (module.js:604:10)

trying to wrap my head around the reason this won't work i tried to read and reread the documentation without any idea what am i doing wrong.
i tried to install 1.0.4 version and tried the same thing with .asPromise method. and it seemed to work as expected.

Hello @nissoh, thanks for trying out Reginn. Just to see if we can narrow the issue down a bit, does switching the last line to
run(process.argv.slice(2), logcmd)

fix your issue?

run([], logcmd) or run(process.argv.slice(2), logcmd) the command.flags null point exception is gone.
justlog is being executed even if we did not specify the justlog argument
i.e. ts-node ./cli.ts yoho  will run justlog command

logging process.argv.slice(2) will result in empty array O_o

Hey @nissoh, your original code snippet should work with v2.1.5, just released, tried it myself. Let me know if it's working :)

Relevant commit is here

Yay (:

Thanks for the issue, and I hope the library works well for you! :)


Fixing child_index

This fixes #38. I've chosen to increment the index per type, it seems to me more logical - like it's done usually for processes of proc files.

@BenTalagan thanks for your contribution! This https://github.com/vinted/sidekiq-pool/pull/42 should cover your changes as well.


[NEW ICON] Skill Name

Skill Name
NVIDIA CUDA
Why?
CUDA C++
Reference Image

Could you please rename the issue to [NEW ICON] NVIDIA CUDA?


Retrieving saved filters always returns an array

I noticed this error when I was working on something else recently:
stack trace: TypeError: Cannot read properties of undefined (reading 'map')
    at FilterStore.saveFilter (/home/ahtrotta/projects/appmap/vscode-appland/src/webviews/filterStore.ts:36:33)
    at w.value (/home/ahtrotta/projects/appmap/vscode-appland/src/webviews/appmapMessageHandler.ts:85:21)
    at n.y (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:80:1902)
    at n.z (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:80:1972)
    at n.fire (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:80:2188)
    at E.$onMessage (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:142:14051)
    at s.S (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:147:5519)
    at s.Q (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:147:5285)
    at s.M (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:147:4375)
    at s.L (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:147:3593)
    at w.value (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:147:2241)
    at n.y (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:80:1902)
    at n.fire (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:80:2119)
    at r.fire (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:105:14091)
    at w.value (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:173:8050)
    at n.y (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:80:1902)
    at n.fire (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:80:2119)
    at r.fire (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:105:14091)
    at MessagePortMain.<anonymous> (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:173:6330)
    at MessagePortMain.emit (node:events:514:28)
    at Object.emit (node:electron/js2c/utility_init:2:2285)
    at Object.callbackTrampoline (node:internal/async_hooks:130:17)

When saved filters were being retrieved, if the user had never saved filters before, then getSavedFilters would return undefined, but it was supposed to be returning an empty array.

:tada: This PR is included in version 0.117.0 :tada:
The release is available on:

v0.117.0
v0.117.0
GitHub release

Your semantic-release bot :package::rocket:


What it the current status of deb packages support?

As I can see there is a feature branch for that, but it has been stalled for quite a while.
I need that feature and want to help with finishing it. What is currently missing and needs to be implemented? If I remember correctly, deb package is a combination of ar and tar.gz archives with text-based metadata files inside, so it shouldn't be as hard as RPM.
Note: I hereby confirm that I've read https://www.debian.org/doc/manuals/maint-guide/ and have packaged several Mono-based applications. I also was a maintainer of Mono packages for Maemo 5 (Debian-based OS on Nokia N900), so I know what all those fields in control files mean.

@kekekeks Thanks for your contributions & willing to help out.
You are right, work on the deb support has stalled for a while - mainly due to a lack of time.
I'm happy to take contributions. Yes, deb packages are a combination of ar + tar.gz archives and the maintainers guide contains a lot of valueable information on that file format (so in a sense I expect the deb format to be easier than the RPM format, for example).
Pull requests are welcome! Ideally, you send them to the feature branch and we merge the feature branch once we feel it is stable.
For me, the exit criteria is that the dotnet deb command can package the demo project and deploy it on a vanilla Debian/Ubuntu installation as a self-contained application.
That would include declaring dependencies, deploying it as a systemd service, creating a user + group, setting permissions,... .

One more note - for the RPM support,  I took an some existing RPM packages (such as libplist or usbmuxd, basically because they are really straightforward) and added unit tests that re-create these packages from scratch using the code in this repository. I then tried to make the output binary compatible and added that as unit tests.
I know requiring the output to be binary compatible may seem overkill, but that way you are sure you've caught all of the subtleties of the file format.


add Universidad de la Costa CUC

@d1sd41n I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host cuc.edu not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


Update resource size and Enable HA of management ingress and nginx ingress

sync size yaml file

@horis233 Could you please review again?


Move down Wrappers API in README

Just a minor thing, it is hard to find the Usage section in the README because the Wrappers API portion is so long. Perhaps move this below the Usage section, or move the Wrappers API into a wiki page?

I think it could be moved below the Usage section, will check it later. We want to improve the wiki / docs on that and other topics in the future as well, then the current readme/docs are going to be reviewed again. Thanks.

You can use the navigable format of the README too

Fixed. Thanks to reporting


Update swift version from 5.1 to 5.5

Made a change in swift package file to support any lint build with SPM

This PR is obsolete, the Swift tools version has already been upgraded to Swift 5.7. Closing. 🎉


Upgrade azure client.

This doesn't work if the user is not an admin b/c doesn't have check role permission.  One alternative is basically to make CheckAccess a no-op (which I originally did).
@lake-of-dreams - if you want to run with this, attempts to resolve wercker#1740
Additional Changes:

After getting registry details is successful with clientId, clientSecret, subscriptionId and tenantId - delegate to DockerAuth.CheckAccess() to check the token based push access to repository  as is being done for other standard v2 registries
Azure sends "access_token" instead of "token" as the field name for access token to push to the registry - Modified TokenResp struct to be able to accept both

@gilbode - Unable to add you a reviewer since is was originally raised by you. Please review

@gilbode please if you can have a look and let me know if you are ok with this approach - I have implemented this different approach since with clientId and clientSecret we can not make a call to azure to get roles ( for which we require admin user)

Looks fine to me


[PE-D][Tester E] Advfilter incorrect documentation in user gude

From the user guide, it seems that advfilter takes in optional parameters:

However, this is not the case as seen in the application usage message.

Labels: type.DocumentationBug severity.VeryLow
original: vinceg4/ped#8

#276


Add 11ty GMX, an powerful but minimal starter.

GitHub: https://github.com/LIGMATV/11ty-gmx
Demo: https://11ty-gmx.vercel.app/

So many days to change.


Support data- properties related to narration

This PR adds support for the following properties:

data-narrate (boolean | string)
data-narrate-after
data-narrate-before
data-narrate-as

These can be useful for components to give narration indications to the narration tools.

This is tested and ready to review now.


Account is not getting open

While getting login to an account, the session id is required due to which the account is not getting open

this issue is fixed for me now, can you please try again. Closing this


change croppersettings dynamically

i need to change the predefined  cropper settings based on a condition, i tried the following
this.cropper.cropper = new ImageCropper(this.cropperImageSettings);
this.cropperImage.cropper.prepare(this.canvas);

but am getting blank canvas ! any idea ?

i would also like to change the cropperSettings dynamically...

Please try this,
this.cropper.cropper = new ImageCropper(this.cropperImageSettings);
this.cropper.cropper.prepare(this.cropper.cropcanvas.nativeElement);
this.cropper.setImage(image);
its working for me.

@ayya1987 - That fixed it for me, thanks!
It would be nice to be able to toggle some settings without the need to reset the image (causes a flicker and resets the cropper area). But this work around will do for now.
Thanks again!


Having problems trying to use duckdb-async  in Next.js

When running on next.js I recieve the following error

error<EMAIL_ADDRESS>Module parse failed: Unexpected token (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders

<!doctype html>
|
|

Import trace for requested module:
<EMAIL_ADDRESS>./node_modules/@mapbox/node-pre-gyp/lib/ sync ^./.*$
<EMAIL_ADDRESS>./node_modules/duckdb/lib/duckdb-binding.js
./node_modules/duckdb/lib/duckdb.js
./node_modules/duckdb-async/dist/duckdb-async.js
./src/app/api/duckdb/route.ts

I have a simple example project showing the problem
https://drive.google.com/file/d/1dceXEXiaH01-SJKxu2ckgoWCTf8f79Rm/view?usp=sharing
unzip form the above link
to reproduce
yarn install
yarn dev
browse to http://localhost:3001/api/duckdb

I tried following the error messages and installing a webpack loader for the HTML dependency and wiring that up in my next.config.js, but that just led to more errors related to some dependencies on mock-aws-s3, aws-sdk, and finally another webpack error related to a C# file:
error ./node_modules/node-gyp/lib/Find-VisualStudio.cs Module parse failed: Unexpected token (9:6) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders | // This script needs to be compatible with PowerShell v2 to run on Windows 2008R2 and Windows 7. | > using System; | using System.Text; | using System.Runtime.InteropServices; Import trace for requested module: ./node_modules/node-gyp/lib/Find-VisualStudio.cs ./node_modules/node-gyp/lib/ sync ^\.\/.*$ ./node_modules/node-gyp/lib/node-gyp.js<EMAIL_ADDRESS>./node_modules/@mapbox/node-pre-gyp/lib/ sync ^\.\/.*$<EMAIL_ADDRESS>./node_modules/duckdb/lib/duckdb-binding.js ./node_modules/duckdb/lib/duckdb.js ./node_modules/duckdb-async/dist/duckdb-async.js
At this point I gave up because I don't understand why webpack would need to load a C# file.
All the cascading dependency issues seem related to mapbox integration. Is there a way to isolate that functionality?
For the time being I'm just using DuckDB from Python with a private API on the backend...

I have only done small experiments with Next.js, so forgive any lack of understanding, but...what are you trying to do?
duckdb-async is just a thin wrapper around the duckdb node.js bindings (duckdb npm package).  The duckdb npm package contains a build of the DuckDb library (C++ code) wrapped with node.js addins.
So the duckdb npm by module (and, by extension, duckdb-async) can only ever run server-side, in a node.js process.
I'm not entirely sure what Next.js is trying to do here, but the fact that webpack involves typically suggests bundling for the browser.  That's not going to work for duckdb or duckd-async.
There is an adjacent project to duckdb, duckdb-wasm, for running DuckDb in a browser using WebAssembly if that's what you are looking for.
Hope that helps.

You won't be able to get this working 😅—the original DuckDB node package is the issue. I gave up and instead make a post request to a custom lambda layer as explained in this repo. It's not ideal—there's a wasm version too (if it appropriate for your use case).
See the node issues here:

https://github.com/duckdb/duckdb/issues/5686#issuecomment-1348673969
https://github.com/duckdb/duckdb/issues/7088

Thanks for your help
My main aim here was use duckdb for a database access layer at the server side
I endded up writing a separate fastify service to handle my requests works but would have been nice for this to be used in directly in next.js

I maintain https://www.npmjs.com/package/duckdb-lambda-x86 for exactly the reason @mattf96s explained. I uses the correct GLIBC versions for Vercel (which runs on Lambda).

https://github.com/vercel/next.js/discussions/49709
but somehow the poster said it doesn't work for duckdb-async, which is weird if this package only is a thin wrapper around duckdb

Btw, copying my answer from the vercel issue here:
If you are on nextjs 14, try this
  experimental: {
    serverComponentsExternalPackages: ["duckdb", "duckdb-async"],
  },

duckdb-async works with this configuration above on nextjs 14


Revert "build(deps-dev): bump @playwright/test from 1.31.2 to 1.33.0"

Reverts opengovsg/starter-kit#82 after @karrui spotted branch failures

I will revert this revert, this PR doesn't seem to be the root cause


Generate SQL

There is a problem using the SQL generator. every time I want to generate one of the selected fields, it does not work correctly, for example:

If I select for what I want to filter, it does not respect it.
If I want to generate the update of a particular field, it does not, on the contrary, it generates it from all the fields, which I do not want.
In general, it does not work when I'm using the result in text mode.

and?

SQL generator is supposed to work this way. It generates query which selects/updates/deletes current row.
If you don't have unique key columns in your results then it doesn't know how to identify row and you see empty condition.
Include unique key columns in the result and you will see correct SQL.
If you need to generate update script for some row/cell changes then you can make actual changes and then click on the "Script" button on the bottom toolbar.

thanks but:
1- the result if you have a key
2- Why does not it work to generate a SQL only of what I have selected, in this case, an UPDATE to the mnarcados fields?
3- the above works only in grid mode, if I change it to mode, it does not work.

You could write a feature request for that. Currently columns selection doesn't affect generated SQL, only selected rows make sense.
Also it doesn't work in plain text mode because this mode doesn't support cell selection at all.

thanx.


Metadata server host isn't configurable with tf.io.gfile

Click to expand!
Issue Type
Bug
Have you reproduced the bug with TF nightly?
Yes
Source
source
Tensorflow Version
latest
Custom Code
Yes
OS Platform and Distribution
No response
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
setting the env var GCE_METADATA_IP to something other than http://metadata.google.internal has no effect to get the default service account token. This is currently hardcoded here https://github.com/tensorflow/tensorflow/blob/aaa18fec1cba172911259ca7b619fe32e4667fac/tensorflow/tsl/platform/cloud/compute_engine_metadata_client.cc#L28
Expected:
Respect the GCE_METADATA_IP env variable to be able to override http://metadata.google.internal
Note that TPU client already does this correctly: https://github.com/tensorflow/tensorflow/pull/40317
Standalone code to reproduce the issue
export GCE_METADATA_IP=http://<IP_ADDRESS>:8000

import tensorflow as tf

tf.io.gfile.listdir("gs://sam-poc")

Relevant log output
No response

Given the implementation currently using a metadata url and not an ip i wonder if the more correct varaible would be GCE_METADATA_HOST.  I am not sure what the difference would really end up being.

It seems it's inconsistent across different clients. Looking at google-auth-library-python, the GCE_METADATA_HOST should be used to override the endpoint and GCE_METADATA_IP is only used for the ping check: https://github.com/googleapis/google-auth-library-python/blob/34b78973418101fbf2326d9dba6d68e2eeb1b4c8/google/auth/compute_engine/_metadata.py#L36
This makes me think that GCE_METADATA_HOST would be more appropriate. That being said other parts in tensorflow like TPU client use GCE_METADATA_IP. Maybe you could make it such that both work?

That sounds good to me

Fixed in: https://github.com/tensorflow/tensorflow/commit/7c0225a6167fcad0b1836a3948de1e52d2c436f3

@samos123 closing the issue, feel free to reopen if solution does not work.


Unhandled NoMethodError for empty chunk size

The bug
When the chunked body parser attempts encounters an invalid chunk size, it attempts to raise an error using the dump method:
unless length =~ VALID_CHUNK_LENGTH
  raise BadRequest, "Invalid chunk length: #{length.dump}"
end

(from lib/protocol/http1/body/chunked.rb:47-49)
However, if the received chunk size is empty, then length is nil, which doesn't have a dump method. This causes an unhandled NoMethodError.
Steps to reproduce

Start a simple HTTP server that reads incoming request bodies, such as this:

require 'socket'
require 'protocol/http1/connection'
require 'protocol/http/body/buffered'

def handle_connection(connection)
  loop do
    request = connection.read_request
    break unless request

    _authority, _method, _path, version, _headers, body_reader = request
    body = body_reader ? body_reader.join : nil
    if not body
      body = ''
    end
    connection.write_response(version, 200, [])
    connection.write_body(version, Protocol::HTTP::Body::Buffered.wrap([body]))

    break unless connection.persistent
  rescue Protocol::HTTP1::InvalidRequest, Protocol::HTTP1::BadRequest, Protocol::HTTP1::BadHeader
    break
  end
end

Addrinfo.tcp('<IP_ADDRESS>', 80).listen do |server|
  loop do
    client, _address = server.accept
    connection = Protocol::HTTP1::Connection.new(client)
    handle_connection(connection)
  end
end

Send it a request that's missing a chunk size:

printf 'POST / HTTP/1.1\r\nHost: whatever\r\nTransfer-Encoding: chunked\r\n\r\n\r\n\r\n' \
  | nc localhost 80

Watch it crash:

/var/lib/gems/3.1.0/gems/protocol-http1-0.20.0/lib/protocol/http1/body/chunked.rb:48:in `read': undefined method `dump' for nil:NilClass (NoMethodError)

						raise BadRequest, "Invalid chunk length: #{length.dump}"
						                                                 ^^^^^
	from /var/lib/gems/3.1.0/gems/protocol-http-0.29.0/lib/protocol/http/body/readable.rb:80:in `each'
	from /var/lib/gems/3.1.0/gems/protocol-http-0.29.0/lib/protocol/http/body/readable.rb:94:in `join'
	from server.rb:11:in `block in handle_connection'
	from server.rb:6:in `loop'
	from server.rb:6:in `handle_connection'
	from server.rb:28:in `block (2 levels) in <main>'
	from server.rb:25:in `loop'
	from server.rb:25:in `block in <main>'
	from /usr/lib/ruby/3.1.0/socket.rb:209:in `listen'
	from server.rb:24:in `<main>'

Suggested fix
Remove ${length.dump} from the error response. It's bad to put attacker-controlled data in HTTP responses if it can be avoided.

That makes sense, thanks for the detailed report.

For the first pass, I'm going to rewrite .dump to .inspect which will work with nil values.
However, I appreciate your point about not including user-controlled data in logs. However, it makes debugging extremely difficult, so it's a balance.


Fix order and grouping of cask stanzas

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

I found some inconsistencies when I started preparing the documentation update after #8137. This PR makes the following changes:

Put desc stanza after the name stanza (I mistakenly introduced it to the wrong array position in #8137)
Add missing language stanza to its own group, as shown here.

I also adjusted the test that used this stanza, to conform to the stanzas within the same group should have no lines between them rule.

Add missing vst3_plugin stanza to the group containing vst_plugin, as shown here

Should there also be a target stanza here, according to this?

I see from the failing tests that the existing casks that use the language stanza fail the same brew style issue that I had to address in test/support/fixtures/cask/Casks/with-languages.rb. I can think of some ways to address this:

Edit the casks in Homebrew/homebrew-cask to remove the blank line between language blocks
Make an exception for the language stanza in the stanzas within the same group should have no lines between them rule.
Keep the language stanza out of the sorting/grouping validation (as it was before)
Something else

How should I proceed?

Please open a separate PR for the language stanza order so we can merge the fix for desc.

Should there also be a target stanza here

No, that's an attribute for the artifact stanza.

Thanks, @waldyrious!


Set develop -> master branch sync process

Task
Set develop -> master branch sync process

Task Title
Set develop -> master branch sync process

User Story
#102

Epic
link associated Epic, if applicable

T-shirt size default is S(mall)
S

Story Points - Fibonacci (1,2,3,5)
2

Description
There should be a defined process whereby develop branch passes CI/CD testing

and via a manual or automated process involving maintainers, master gets synced with develop.

Business Need (the why):
master will represent stable for secondary CI/CD

Applications or Systems impacted
Github repo and CI/CD

Dependencies
#125, #126, #127, #128, #129

Assumptions
Develop branch complies with evolving sawtooth governance and repo standards.

Old issue.  Replaced by #984


Add section in readme about customizing the submit helper

Hey guys, seems this has been open for more then a year! Should we just close this ?

I'm sorry for taking so long to give an answer.
Most of the code was rewritten to be compatible with Ember 1.13. The most recent version is on the branch 1-0-stable.
Could you create another PR against the branch 1-0-stable?
Thank you!


Adds the web-components keyword

That way this project can be fetched by customelements.io

Thanks @zenorocha!


Request: Assistance/Guidance for setting up XDebug

Hello @jdugan6240,
I am wondering if you think it's possible, to get XDebug working with this plugin. I have read the docs, and checked https://github.com/xdebug/vscode-php-debug, which according to https://microsoft.github.io/debug-adapter-protocol/implementors/adapters/ implements DAP.
I checked out the code, but unlike C++/Rust , there is no binary -- but rather .js files. I have tried kak-dbgp for this as well, but it always hangs on scripts, will later add an issue for that.
I am wondering if you feel the vs plugin will be difficult to work with, and if there might be another alternative. Any guidance would help, currently I use VS just for debugging, which I would prefer to keep within Kakoune.
Thanks in advance!

Sorry for the late reply - I haven't had much time to work on these projects lately, due to life happening.
I haven't really had a look at the adapter in question, but it being a VS plugin shouldn't be an issue, as long as it doesn't call any VS-specific APIs. You would normally run such a plugin by searching in package.json to find what .js file to run, and calling "node whatever_file.js".
I'm at work at the moment, so I can't give more information right now. I'll look into it when I get home.

OK, it seems like this should work. In theory. I don't use PHP, so I can't actually test this, but here's how it would theoretically work:
Where your PHP project is, you need a .kak-dap.json file in the root directory of the project. Try something like this for that file:
{
  // The binary run to start the debug adapter
  "adapter": "node",

  // The arguments to the debug adapter, if any
  "adapter_args": ["/path/to/vscode-php-debug/out/phpDebug.js"],

  // The adapter ID. Needed by some debug adapters.
  "adapterID": "xdebug",

  // The arguments sent to the "launch" request
  // This will depend on the debug adapter being used
  "launch_args": {
      "port": 9000
  }
}

The specific thing to pass to adapter_args will depend on where exactly on your system the vscode-php-debug plugin is installed. You also need to have XDebug installed, obviously.
Keep in mind that kak-dap is still fairly limited, so there may be features you're used to in VSCode that we don't have yet. If this works, though, please let me know and I'll try to add it to the wiki.

Thanks. I fully understand, life happening on this end as well so have not taken a look. Will definitely test it out tonight, and let you know how it goes.

Thanks for the guidance. I'm not looking for many features, just see variables -- I only use OSS for debugging, simple stuff.
I have not had much luck. Initially there was issues due to my terminal and kakoune 'new' alias, fixed that and having the dap-setup-ui is perfect once I can get it running for my own layout.
No matter what I do I cannot get a connection working. I have it working with OSS, and had kak-dbgp connected (but crashed on breakpoints). I mention these as I know the configuration in terms of xdebug/lando works.
I can manually run, and check for the node process:
node /path/to/phpDebug.js
when I run dap-start, I never get a process running. Here is my config .kak-dap.json:
{
  "adapter": "node",
  "adapter_args": ["${HOME}/.local/bin/php-debug/extension/out/phpDebug.js"],
  "adapterID": "xdebug",
  "launch_args": {
    "port": 9003,
    "pathMappings": { "/app/": "${CUR_DIR}/" }
  }
}

Here is the vscode config that works:
        {
            "name": "Listen for Xdebug",
            "type": "php",
            "request": "launch",
            "port": 9003,
            // required for lando
            "pathMappings": { "/app/": "${workspaceRoot}/" }
        },

I do not have luck with debugging this, it never creates /tmp/kak-dap.log (but I do see the directory with file containing the breakpoint I set):
set global dap_cmd "kak-dap -s %val{session} --log /tmp/kak-dap.log -vvvv"
I can confirm with :echo %opt{dap_cmd} that it's properly set

Yeah, the file logging functionality is kind of buggy, and TBH I've been seriously considering removing it entirely, as redirecting stdout to a file effectively does the same thing.
Since you're saying that you still see the breakpoints file, though, that seems to be a problem. kak-dap is supposed to clean that up as soon as it reads it, so that tells me that maybe kak-dap isn't in your PATH. If you look in the debug buffer with :buffer debug, you should be able to see if invoking the kak-dap binary failed.

Nope, not getting any errors in debug buffer. Is there anything else I might be able to do to try and troubleshoot?

Ok. What I'm about to ask you to do is not at all typical kak-dap usage, but it should give us some idea of what's going on. Basically, we're going to manually perform the steps that kak-dap normally does automatically.

In Kakoune, set whatever breakpoints you want, and then run :eval %sh{printf '{ "breakpoints": "%s" }' "$kak_opt_dap_breakpoints_info" > /tmp/kak-dap/${kak_session}_breakpoints }.
Also in Kakoune, run dap-setup-ui. Afterwards, run :echo %val{session} and note the value it returns.
Still in Kakoune, run :set-option global dap_running true.
In a separate terminal, navigate to the directory containing your .kak-dap.json file and run kak-dap -s whatever_your_session_was -vvvv.

The terminal output should give some idea of what's happening.

You were right from the get-go, I did not check the executable properly. I actually didn't even have rust installed, so no binary. After installing, I added it manually to PATH, and now it's working.
I would like to see if I can help with one thing, if it's within my scope. When expanding variables, I would like to see about the cursor not jumping back up to line 1. Could you point me to where I can look into this. If it's not too difficult, I can see about taking care of that and doing a MR.
Thank you!

The cursor thing should be easy enough for you to tackle. Basically, there would be two commands to look at in the kak-dap.kak file:

dap-expand-variable: This command grabs the variable from the current line and sends it to the kak-dap binary for processing. I was thinking setting a new option here indicating the "previous cursor position" would work here.
dap-show-variables - This command takes the variable data passes to it and pastes it into the variables buffer. I would think, after the paste is finished, using the edit command here to set the cursor position back to the saved value should achieve the desired result.

I hope this gives a good direction to go for this. I greatly appreciate you offering to fix that!


[<IP_ADDRESS>1] NEI Spawn Overlay/Mekanism Machine log overload

While playing around using a few mods on a singleplayer world, I noticed that every so often my log would fill up with thousands and thousands of lines of errors, which would not cause the game to crash nor generate a crash report but would consume lots of storage space with excessive file sizes and stop the MultiMC log from displaying past it.
Not knowing how to read these things very well, I'm fairly certain that it's a bad interaction between the NEI mob spawning overlay and a Mekanism machine or pipe or something.
The log fills up with itself up with these 41 lines over and over
Relevant versions:
Forge: <IP_ADDRESS>4
CodeChickenCore: <IP_ADDRESS>
NotEnoughItems: <IP_ADDRESS>
Mekanism: <IP_ADDRESS>1

Yeah, I have a feeling you're right about the issue. 1.7.10 isn't technically supported anymore, and luckily this is not a critical issue.  I've added checks for the 1.10.2 branch to make sure this no longer happens.


python310Packages.dropbox: 11.35.0 -> 11.36.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.dropbox is: "Python library for Dropbox's HTTP-based Core and Datastore APIs"
meta.homepage for python310Packages.dropbox is: "https://github.com/dropbox/dropbox-sdk-python"
meta.changelog for python310Packages.dropbox is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 11.36.0 with grep in /nix/store/31lb1ysk7bw9wy9j8agrga3mds36y0sz-python3.10-dropbox-11.36.0
found 11.36.0 in filename of file in /nix/store/31lb1ysk7bw9wy9j8agrga3mds36y0sz-python3.10-dropbox-11.36.0

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

11 total rebuild path(s)

11 package rebuild(s)

First fifty rebuilds by attrpath
baserow
git-annex-remote-dbx
maestral
maestral-gui
python310Packages.django-storages
python310Packages.dropbox
python310Packages.maestral
python39Packages.django-storages
python39Packages.dropbox
python39Packages.maestral
tandoor-recipes

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/31lb1ysk7bw9wy9j8agrga3mds36y0sz-python3.10-dropbox-11.36.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/31lb1ysk7bw9wy9j8agrga3mds36y0sz-python3.10-dropbox-11.36.0
ls -la /nix/store/31lb1ysk7bw9wy9j8agrga3mds36y0sz-python3.10-dropbox-11.36.0/bin

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

1 package failed to build:

baserow

9 packages built:

git-annex-remote-dbx
maestral (python310Packages.maestral)
maestral-gui
python310Packages.django-storages
python310Packages.dropbox
python39Packages.django-storages
python39Packages.dropbox
python39Packages.maestral
tandoor-recipes

Maintainer pings
cc @SFrijters for testing.

Result of nixpkgs-review pr 200943 run on x86_64-linux 1

10 packages built:

baserow
git-annex-remote-dbx
maestral (python310Packages.maestral)
maestral-gui
python310Packages.django-storages
python310Packages.dropbox
python39Packages.django-storages
python39Packages.dropbox
python39Packages.maestral
tandoor-recipes


[v1.2][ISSUE-306]Update Rag readme to add some examples.

What changes were proposed in this pull request?
Update Rag readme to add some examples.
How was this patch tested?
No need to test

@yao531441 , I re-triggered this UT, but it failed for same reason, I think it may due to incompatible python version. Would you help to fix this?

I'll merge this PR firstly.

After checking the current README, I think the show case is little too much, and you'd also use one demo screenshot of complete LLM-on-Ray UI, otherwise, it is very difficult for audience to understand what you want to show case.

I found one new CI/CD issue is caused my a sentence_transformers new release containing API change. Fix the version to 2.2.2 now


How to reduce CPU memory consumption?

With 32 MultiHouseEnv running in parallel, it consumes ~200G CPU memory. Which part costs most of the memory? Any suggestions of how to reduce the memory consumption? Thanks.

We have a coming version that puts a lot of the processing into C++ to save memory. However I remember that the current memory cost should be about 1G per house.
It may be related to the use of MultiHouseEnv -- it caches all the houses it has loaded so far. Using multiple instances of the single house Environment should save the memory.
Note that to use multiple instances of Environment you'll need to create multiple RenderAPI. See the recently added section in docs: https://github.com/facebookresearch/House3D/blob/master/INSTRUCTION.md#concurrency-issues

In my current implementation, I naively keep an instance of MultiHouseEnv in each agent (process), which costs a lot of memory. Thanks for sharing the trick of using Environment.
Also look forward to the updated version.

Will the updated version be available soon? Thanks.


RuntimeUI always displays the latest definition of a process

Runtime info is correct according to the instance.  However, the layout and other definition data is always taken from the latest.

Await #207 impl since we'll pull archived assets from Git refs instead of Archive.


[Feature] Does mmdet version 2.25 support one-stage detection head (e.g. yolo head) as RPN head in faster R-CNN?

What's the feature?
Is there a reference tutorial for this? I found that version 2.25 does not work properly after changing the configuration by referring to version 3.0.
TypeError: loss() missing 1 required positional argument: 'img_metas'
Any other context?
No response

MMDetection 2.x does not support single-stage as RPN. You need to use the 3.x version. Please refer to https://mmdetection.readthedocs.io/en/3.x/user_guides/single_stage_as_rpn.html

@RangiLyu Okay, thank you!


Create smart contract with events

Description

We want an example of a simple smart contract that emits events once an action is performed.
Feel free to propose the smart contract structure and methods, It doesn't need to be a complex contract, with a couple of events and methods is good.

Steps

Create a new smart contract inside the project's corresponding directory.

References

https://book.cairo-lang.org/ch14-03-contract-events.html?highlight=events#defining-events

@danielcdz
I can handle the above task.
if assigned I would implement and test all emited events work as i have some experience writing smart contract and writing test for smart contracts

May I work on this issue @danielcdz?
My approach: I will create a new contract that emits events once the functions are called, and then write unit tests too to make sure events are being emitted as expected
eta: 1 day

Hi, I am a Cairo developer with experience contributing to lots of Cairo projects. I would love to work on this.

Can I attempt this issue?

I’d love to work on this task.
My name is Gideon Bature, a Software Engineer with experience building Starknet based smart contracts, using Cairo. If given this issue, I should be able to send my first PR within 48 hrs.
Thank you!

I’d love to work on this task.

Can I take this issue?   Am a web 2 frontend developer, a solidity smart contract developer/auditor and a cairo smart contract developer. Am a graduate of Starknet Cairo Bootcamp. I have successfully done tasks assigned to me in OnlyDust. If assigned this i would complete it within 1 day.

Hi, I am proficient Blockchain developer  expert in Cairo , Rust and Solidity  and also in web development.
please /assign  this issue .
Thank You


[Error] - I can sell more than I have in stock

Currently the system is allowing to sell more than the amount I have in stock.
I registered 4 products, but sold 5 and the stock was negative.
Where can I get this function so that inventory is updated whenever there is a sale and does not allow me to sell more than I have in stock?

https://github.com/bitsandbots/inventory


[#46][#48][Android][UI][Integrate] As a user, I can see dropdown answer

Resolves #46
Resolves #48

What happened 👀

Added dropdown answer view

Insight 📝

I used Pager to manually implement the dropdown answer based on the design.

Proof Of Work 📹

@suho pls rebase 👋

@luongvo Rebased! 🙏


why can't i execute my cronjobs ?

hi,
the crontab job i created in the ui can't execute normally , what's may the reason be ?
3q !

Hi,
In command line execute crontab -l and check if the job is setup.
Thanks,
Suresh Alse

nothing to show after exe crontab -l ,

something wrong with the configuration in the UI ?
3q!

You have to click on "save to crontab"
On Tue, Nov 15, 2016, 7:12 PM hallwin<EMAIL_ADDRESS>wrote:

nothing to show after exe crontab -l ,
[image: image]
https://cloud.githubusercontent.com/assets/5562292/20333431/757be714-abed-11e6-9090-a9afc1524f7e.png
something wrong with the configuration in the UI ?
3q!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/alseambusher/crontab-ui/issues/24#issuecomment-260841839,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABL1rpwqwW5fKpwcY2TplKSt9vmel_fyks5q-nSygaJpZM4KyVOF
.

--
Thanks,
Suresh Alse

Thank you very much !!! it's worked !!!


Add checklist item for completion script URL to CONTRIBUTING.md

The tag in the script URL in completion.md now needs to be updated on every release.

LGTM


Support liteServer.* methods?

I've seen a lot of libs support smc.* methods (not sure what SMC stands for).
Like I can use smc.runGetMethod, however I can't specify the block height at which I want to pull state from.
If I have an archive node, I want to be able to do this at a specific block height to build up some history for querying.
I've seen this TL which should support this: https://raw.githubusercontent.com/ton-blockchain/ton/master/tl/generate/scheme/lite_api.tl
If you check this JS lib for ton, it supports querying via this method: https://github.com/ton-core/ton-lite-client/blob/8e7089c35aaac7b7b75833c3b68a777d1d023c84/src/client.ts#L408
Would it be possible to add this functionality to your lib? Can I just pull you repo and add new types, or is there any kind of special pre-post source gen to deal with the horrendous TL serialization behind this ADNL?

Is there any autogenerator used for this, or can I add methods from the above lite_api.tl to add liteServer.* support?
https://github.com/ston-fi/tonlib-rs/blob/main/src/tl/function.rs

All what can I say so far it won't work this way: tonlib-rs implements tonlib api, and it's just not possible to make lite-api using current codebase
But let's wait for my colleagues, I can be wrong

Ah okay I see what you mean, it looks like instead we need bindings for lite-client to achieve this.
https://github.com/ton-blockchain/ton/blob/master/lite-client/lite-client.cpp

Yep
You can find this libraries really helpful:

https://github.com/broxus/ton-labs-types.git
https://github.com/broxus/ton-labs-block.git
https://github.com/tonstack/lite-client

They're not so hight-level, but examples are clear and by my experience work nice


agora rtc: when joinChannel and passing a uid it return random aid

i am trying to add uid to the joinChannel but it returns random id
what is written on the docs is:

[uid] The user ID. This parameter is used to identify the user in the channel for real-time audio and video interaction. You need to set and manage user IDs yourself, and ensure that each user ID in the same channel is unique. This parameter is a 32-bit unsigned integer. The value range is 1 to 2 32 -1. If the user ID is not assigned (or set to 0), the SDK assigns a random user ID and returns it in the onJoinChannelSuccess callback. Your application must record and maintain the returned user ID, because the SDK does not do so.

so i passed the id but not return back as expected any idea?
await agoraEngine.joinChannel(
        token: currentSessionCredential.rtcToken,
        channelId: channelName!,
        options: options,
        uid: myUserId,
      );

I think you can get the myUserId  when onJoinChannelSuccess is received.

nope it returns a random id instead of the actual id i passed to the function!

Can you share more logs, and what uid you get from the onJoinChannelSuccess  callback.

it returns the id but it's random one !

Can you share the logs that run into this issue?


Feat: Add Broken Condition to Item

Add the broken condition to item data.
This includes the following:

[ ] Add configuration in the item template to signify the broken condition.
[ ] Add a user interface in the properties tab to change this information.
[ ] Add a small indicator to Item Wrapper for the actor sheet to easily apply the condition.

This one seems a bit more in-depth compared to my previous PR's and gets into some aspects of the system I haven't explored yet. I'd be down to give it a go!

This was merged in as part of #35. Closing this issue.


Example: Kronecker products

Give an example of combining two independent chains together via a kronecker product

In particular highlight that the perron-frobenius operator can be constructed using a kronecker product and the generator is obtained by imposing a kronecker sum. See https://en.wikipedia.org/wiki/Kronecker_product for details

also see https://www.jstor.org/stable/2099148#metadata_info_tab_contents


SoOffscreenRenderer problems when running on RHEL8 and SLES12

I'm not sure if this is a problem per se, or if there's advice that can be given on something we may be doing incorrectly, but we're currently seeing issues outputting image files to disk on RHEL8 and SLES12. Our software is fully built on RHEL7.9 but deployed on these sister versions. Historically that's worked fine building on version X and running on X+1 from RHEL4 onwards but seemingly no longer for RHEL7->RHEL8.
Rendering to the screen is fine, but when we instantiate and the SoOffscreenRenderer and attempt to render to file we get the following messages before the appliaction segementation faults:
Coin warning in glxglue_context_create_software(): Couldn't create GLX context.
Coin warning in SoOffscreenRenderer::renderFromBase(): Could not set up an offscreen OpenGL context.
The problem seems to manifest at line 959, with the call to this->glcanvas.deactivateGLContext(); where it attempts to deactivate the offscreen GL canvas that it's created. This ultimately ends up in glxglue_context_reinstate_previous where the glXMakeCurrent call fails. On RHEL7 it appears to be able to store a reusable context in the glxglue_contextdata but the same information is null on RHEL8.
Is this a problem or could someone point out what we may be missing to get the offscreen rendering feature to work for us? Our build flags for building Coin, and the source below, are minimal with nothing specific other than optimisation level, ensure it's 64 bit and position independent code. We initially thought it may be a VM related issue with a software video driver, but the problem is manifesting on real hardware with dedicated GPU.
The attached source below exhibits the problem, it renders (badly!) a simple cuboid scene, which it then attempts to write to disk, which works without issue On RHEL7.
Thanks
source.txt

Hi,
We are encountering the same issue, it seems it is due to that on RHEL8 "Indirect GLX" is disabled.
Advisory on Xorg:
https://www.x.org/wiki/Development/Security/Advisory-2014-12-09/
It might be possible to turn it on in your case in /etc/X11/xorg.conf.
I'm very curious if a code change to coin can fix this.

Thanks for the pointer. I've spent a bit of time following your advice and have managed to find a working config. Firstly, we had been using Wayland on RHEL 8, I'm not sure if that's default or choice of our IT department, but was using that none-the-less. I couldn't find a way for that to work nicely, despite it having a +iglx option. The short of it is that the following allowed me to get something working:

create a default /etc/X11/xorg.conf via Xorg -configure
Append the following to /etc/X11/xorg.conf:

Section "ServerFlags"
    Option "AllowIndirectGLX" "on"
    Option "IndirectGLX" "on"
EndSection

Login via a Classic X11 Display Server session

So we at least have a short term workaround thanks to your hint about Indirect GLX

@shanslow My change was merged by @VolkerEnderlein. With the latest code there is now an environment variable that can control the direct rendering option. You might want to try this as well.


[do not merge - running acceptance tests]Throw exception when proprietor name for displayed property is missing

Previously, we would just go ahead and fail on rendering the template.

Closing - will be handled in the feeder.


CIF-1546 - Pass the DOM nodes in which the components render as props

Description

Uses new ConfigContext to provide configuration to all components in the React tree.
Uses new Portal component to render components at different mounting points.

This requires a new release of the CIF components before it can be merged.
How Has This Been Tested?

Manual testing

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[X] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[X] I have signed the Adobe Open Source CLA.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[X] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes and the overall coverage did not decrease.
[X] All unit tests pass on CircleCi.
[X] I ran all tests locally and they pass.

This was merged by mistake and reverted.


提供高级泛型，动态导出类型，给前端接口定义使用，适合前后端代码都在一起的项目

Codecov Report

Merging #19 (3d55a5e) into master (51f86e0) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff            @@
##            master       #19   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            9         9
  Lines          460       460
  Branches       121       121
=========================================
  Hits           460       460

Files Changed
Coverage Δ

chumi/index.ts
100.00% <ø> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Feature Extension HBS: Add a queue for the requested scares

Feature Extension of the Halloween Bot Scare (HBS)
Currently the bot joins the voice channel and plays a sound and leaves the channel. In order to not interrupt the bot while playing a sound we need a queue for the requested scares.
Details
If the bot joins a channel (first in queue), it plays the sound and joins the next queued participant in order to play his scary sounds in that channel. If the queue is completed the bot leaves the voice-communication and idles and waits for new victims.

I can also take a look at this. I’m not sure how to do it yet haha, but I can look into it

Go for it @ALMerrill i assigned you :-)


Login wrong password

When I first login the page tells me wrong password "iCauseFX" however still logs in. I then cannot access settings. With the same message as #3
Thanks

It that wrong password is a small bug I need to fix.

Yeah, nothing too major as it is still checking that the password is correct.

@hjone72 can you try this?
https://github.com/causefx/iDashboard-PHP/archive/0.97-2.zip

No issue is still there. It did resolve the settings thing as mentioned in #3
Good work! thanks

@hjone72
Resolved in: https://github.com/causefx/iDashboard-PHP/archive/0.98.zip