Please include instructions on uninstall or remove

Tried this whole ./configure and make thing. Many issues on CentOS when actually installing the GeopIP2. The official nginx suggests we build nginx from source, which is not for the faint of heart. Prefer a yum install route for that. Anyway, once we have tinkered with the make install etc, and installed stuff on our system, there should be an easy way to get rid of it. Please include those instructions. Thanks.

There is a way to build the library with cmake now, and cmake has a manifest of all installed files which you can use to uninstall files.
From here
xargs rm < install_manifest.txt


Application in cell detection

I am working in microscopy research and need to detect fluorescent cells in 3D images. Can the segment anything model be applied to detect fluorescent cells in 3D?
Thank you very much for your feedback!

https://github.com/KidsWithTokens/Medical-SAM-Adapter for 3d image segmentation, you can refer this repo


Bump p256 to 0.11

I've bumped the p256 dependency to version 0.11.1 and fixed some compilation issues. See #166

Please can we land this I want to use the latest version of p256 in dependents and this is blocking me updating as compilation fails with conflicts on ecdsa-core.
Any help much appreciated as always 🙏

Please can we land this I want to use the latest version of p256 in dependents and this is blocking me updating as compilation fails with conflicts on ecdsa-core.
Any help much appreciated as always 🙏
Edit: I am using the workaround in #166 for now - thanks @Be-P 👍

Same issue here! Hey @survived, any chance we can have this PR get merged and a new version get published?

@elichai I've fixed the cargofmt step. The next step that runs cargo clippy -- -D clippy::all, throws errors from various files was are not touched by this PR. Should I go around fixing them?

No need, I'll do that in a separate PR

all, don't you think the crate deserves a version bump to 0.9.1 or something?
The problem addressed by this PR still exists for
curv-kzen = "0.9.0"
dsa = "0.4.0"

but does not for
curv-kzen = { git ="https://github.com/ZenGo-X/curv.git" }
dsa = "0.4.0"


Add raise.error as red-bold type

Feature request
I think would be nice if the parser.error can be of type:
error_message = f"[bold red]Error:[/bold red] {error}"
console.print(box(error_message, style="bold red"), highlight=False)

Context:
def parse_arguments():
    parser = argparse.ArgumentParser(formatter_class=RichHelpFormatter, (...))
    # adding argument
    parser.add_argument('-a','--auto', action='store_true', help='Do something in automatic mode (...)')
    . . .
    args = parser.parse_args()
    # Validation:
    ## check emptyargs
    if len(sys.argv) == 1:
        raise parser.error('This program needs at least one argument to run. Use -h to check for help')
   . . .

Desired state:
That the messages from raise.error would be in some red-color using the default RichHelpFormatter. The traceback exception should be fixed (reason of the request)

Tests done:
import argparse
from rich.console import Console
from rich import print, box

console = Console()

def custom_error_handler(error):
    error_message = f"[bold red]Error:[/bold red] {error}"
    console.print(box(error_message, style="bold red"), highlight=False)

parser = argparse.ArgumentParser()
parser.error = custom_error_handler

parser.add_argument("foo", help="foo help")
parser.add_argument("bar", help="bar help")
args = parser.parse_args()
if len(sys.argv) == 1:
    raise parser.error('This program needs at least one argument to run. Use -h to check for help')

My initial definition with raise parser.error work at the beginning, showing the message in plain text and showing the help. I think is a common practice somewhere documented in internet
I didn't came up with a better implementation, as any workaround would imply import directly the class: ArgumentError or do dirty tricks in the code.
Questions:

Is legit the request? Does it make sense? In my opinion, and within the context of enhancing the output of argparse with Rich, yes
Which should be the appropiate way to achieve this functionality? I can give some extra tries, but they will be dirty as I'm lacking of general python knowledge to make a MR with a feature developed on my own #sorry

That the messages from raise.error would be in some red-color using the default RichHelpFormatter

Unfortunately this is not possible in rich-argparse.RichHelpFormatter does not have access to the parser object that has the .error() method.

Is legit the request? Does it make sense? In my opinion, and within the context of enhancing the output of argparse with Rich, yes

It is a legit request but unfortunately it is out of the scope of this library. This library only provides help formatter implementation, it does not replace everything in argparse. Until/If argparse changes to make the formatter aware of the parser, this will not be feasible.

Which should be the appropiate way to achieve this functionality?

The only way possible way is to handle this after argument parsing.
import argparse
import sys

import rich
from rich_argparse import RichHelpFormatter

parser = argparse.ArgumentParser(formatter_class=RichHelpFormatter)
parser.add_argument("-a", "--auto", action="store_true", help="Do something in automatic mode (...)")
# other arguments here

args = parser.parse_args()

if bad_condition_here:
    parser.print_usage()  # optionally print the short usage (this uses RichHelpFormatter)
    rich.print("Other fancy output")
    sys.exit(1)

Unrelated to your request but I'll point this out because it might be helpful

In your example, it is better to set required=True (in  parser.add_argument('-a','--auto', required=True, action='store_true', help='Do something in automatic mode (...)')) and let argparse handle the case of missing arguments.
parser.error() raises SystemExit internally because it calls parser.exit(). You are not supposed to raise from it but use it as the final call before your program exitsif len(sys.argv) == 1:
    parser.error('This program needs at least one argument to run. Use -h to check for help')
    # this line is unreachable


Adjustable polling rate for Accelerometer and Light Sensor

[X] Accelerometer and Light sensor nodes now feature a polling interval (defaulting at 1000ms) to provide faster/slower inputs.
[X] Copy-paste typo corrected for the Touch Panel (doesn't do anything but it is cleaner)
[X] Updated version to 0.1.4 from 0.1.3
[ ] Surely some work could be done on the validators for Accelerometer and Light Sensor node polling intervals, to prevent 0 and negative values, or floats. A minimum might be settable too, especially for Light Sensor.

Note : faster polling rates mean that on small devices like a RPi, max old elements in memory need to be reduced or things get slower after some time

@martinroger Thank you for your PR first! I will check by a few days :)

@martinroger Thank you for your PR. I merged. Also I learn a approach from your code :)

@martinroger Thank you for your PR. I merged. Also I learn a approach from your code :)

With pleasure !


Implement custom SqlServerConnection

I tried adding custom ISqlServerConnection service in the startup class like so:
// Add framework services.             services.AddScoped<ISqlServerConnection, SqlServerConnectionRLS>()                 .AddEntityFramework()                 .AddDbContext<AuthDbContext>(options =>                     options                     .UseSqlServer(Configuration.GetConnectionString("DefaultConnection")));
The problem is that entity framework isn't using my custom connection.
I also did some copying and overriding other methods.
I did get it working, but had to implement a custom UseSqlServer extension so I can override the SqlServerOptionsExtension and use a custom method to ApplyServices and add all required services without the default SqlServerConnection class.
EF Core version: 1.0.0

@jhermsen This is probably because you're not letting EF know to use the service provider to which you have added the custom service. We're making this easier in 1,1 (see #6306). Until then, I'm going to assume you are using ASP.NET and that its OK for your app to share a service provider with EF. You then need to make your AddDbContext look something like this:
services
    .AddEntityFrameworkSqlServer()
    .AddDbContext<AuthDbContext>(
        (serviceProvider, options) => options
            .UseInternalServiceProvider(serviceProvider)
            .UseSqlServer(Configuration.GetConnectionString("DefaultConnection")));

If this doesn't solve the issue, then please post more complete code to help us reproduce the issue.

@ajcvickers Thanks for the answer managed to achieve it that way.
One more thing if I don't use the shared ServiceProvider.
Can I then still access the app services from a custom service within the EF service provider?

@jhermsen If you use a shared service provider, then all services for EF and your application are registered in the same container. If you use separate service providers, then each provider will not resolve services from the other provider. This usually means that a custom service in the EF provider will not have access to application services.


Basic reporting through toString

This is super not ready, just opening an early draft for visibility. Meant for #188.
I think I realized after this first commit that since Otel4s is a trait, the implementation of toString shouldn't lie here (instead, it should just specify that a String is returned) -- is this correct? (And we leave the implementation to all the things with type Otel4s[F[_]] / all the things that extend Otel4s[F[_]]?)

And we leave the implementation to all the things

You are correct. Currently, we have only one 'real' implementation here https://github.com/typelevel/otel4s/blob/main/java/all/src/main/scala/org/typelevel/otel4s/java/OtelJava.scala#L67.
We can override the toString right in this anonymous class.

So, I sat in a call with @armanbilge and wrote one test case to observe the output of JOpenTelemetry's noop implementation's toString method, and it's...not pretty.
8:   test("toString implementation") {
9:     assertEquals(JOpenTelemetry.noop().toString(), "noop?")
10:  }
values are not the same
=> Obtained
io.opentelemetry.api.DefaultOpenTelemetry@4299b15b
=> Diff (- obtained, + expected)
-io.opentelemetry.api.DefaultOpenTelemetry@4299b15b
+noop?

Wanted to get some opinions on how to proceed.

There are a lot of checks for formatting and licenses and what not.  There's a prePR command added to SBT that runs them all.  I'm not in the habit of running it myself, but it's a way to find them locally instead of one-by-one in GitHub Actions.
scalafmtSbt should fix the most recent build failure.  You'd think scalafmtAll formats all, but it doesn't format SBT. :shrug:

Ah, you got around to commenting first, I pushed and in the midst of writing up a comment here my stomach went "I ache now".
 It looks substantially more informative, though maybe a little visually messy?
One small question out of this is that I don't have a clean way of asserting that the output equals some expected string, because (e.g.) NoopLogRecordProcessor@{insert-hex-here} (that is part of the toString output) will always have some different hex code. Any advice on what assertion I can make in this test case?
One bigger question: sorry, you slightly lost me at Gradle. Would I be building the Java SDK (cloning their repo and so forth) using Gradle (presumably with my tiny local change) and then feeding the version of the thing I built into the build.sbt of Otel4s? (and why gradle publishToMavenLocal and not use Maven? Just a noob question of mine, I only have some experience with Maven and none with Gradle)

Until the upstream 'toString' of noop SDK is addressed, can we detect the noop instance by comparing it with OpenTelemetry.noop()?
For example:
val isNoop = jOtel == JOpenTelemetry.noop()

new Otel4s {
  def toString = if (isNoop) "Noop - and something informative there if we want :)" else jOtel.toString()
}

One small question out of this is that I don't have a clean way of asserting that the output equals some expected string

We can dynamically inject value for the telemetry.sdk.version attribute. We use BuildInfo to collect build details during compilation.
And that's how we configure it https://github.com/typelevel/otel4s/blob/main/build.sbt#L163-L167. Currently, we collect only openTelemetrySdkVersion, and that's exactly what we need.
Then, you can inject BuildInfo.openTelemetrySdkVersion into the template string:
s"""OpenTelemetrySdk{tracerProvider=SdkTracerProvider{clock=SystemClock{}, idGenerator=RandomIdGenerator{}, resource=Resource{schemaUrl=null, attributes={service.name=\"unknown_service:java\", telemetry.sdk.language=\"java\", telemetry.sdk.name=\"opentelemetry\", telemetry.sdk.version=\"${BuildInfo.openTelemetrySdkVersion}\"}}......"""

We do a similar trick in a different test - https://github.com/typelevel/otel4s/blob/main/java/metrics/src/test/scala/org/typelevel/otel4s/java/metrics/CounterSuite.scala#L56

NoopLogRecordProcessor@{insert-hex-here}

This one is more complicated. As Ross suggested, we can contribute a meaningful toString of the NoopLogRecordProcessor upstream.
For example, NoopTextMapPropagator has a custom toString, while NoopLogRecordProcessor does not.

Eventually, we will get a better toString from the upstream: https://github.com/open-telemetry/opentelemetry-java/pull/5493.

Thanks @iRevive for the feedback & for improving the Java toString! :)

Personally I don't think it's worth the fuss (sorry Ross ;) since it's hard to go wrong with a toString, so there's little to gain by further testing it in our own codebase. But in theory it shouldn't be too hard to do.

Yeah, I don't want to overspecify the upstream library's toString in our own tests.  My golden rule comment was wanting to make sure that any improvements we make happen upstream, like the one Maksym linked.  I think we're all good here.


aws redshift not created

@shivnarayanan It looks like redshift cluster is created, but the problem is with Airflow webserver docker container. Can you

Check if Redshift cluster is created in AWS UI?
Check if the webserver and scheduler containers are running using docker ls
Make sure your docker setting has at least 4GB memory.

LMK

Hello! I just realised I receive this error halfway through. Have I done something wrong?

@shivnarayanan Could you please check if your docker setting has at least 4GB memory ?

You need to check airflow-webserve1 of docker container and airflow-webserver1 of setup_infra.sh. setup_infra.sh written beginner_de_project_airflow_webserver_1.

@shivnarayanan
The container name is incorrect in the old script setup_infra.sh
It should be beginner_de_project-airflow-webserver-1, but the one in the script is beginner_de_project_airflow-webserver_1. Difference being that "_" should be "-". I had the same errors and fixed it by doing this.

@shivnarayanan I put up a fix for this, can you pull master branch and try again?


Issue with 'illegal instruction' when using bench with spike

Hello：
I am attempting to execute the bench on spike, and after running 'make all,' I encounter the following problem when attempting to execute the generated executable with spike:
li@h107:~/rvv-bench/bench$ ~/tools/riscv-isa-sim/build/spike --isa=rv64gcv1p0 -l --log-commits --log="memcpy.spike" `which pk` memcpy
bbl loader
z<PHONE_NUMBER>000000 ra<PHONE_NUMBER>000000 sp 0000003ffffffb40 gp<PHONE_NUMBER>000000
tp<PHONE_NUMBER>000000 t0<PHONE_NUMBER>000000 t1<PHONE_NUMBER>000000 t2<PHONE_NUMBER>000000
s0<PHONE_NUMBER>000000 s1<PHONE_NUMBER>000000 a0<PHONE_NUMBER>014048 a1<PHONE_NUMBER>014000
a2<PHONE_NUMBER>000000 a3<PHONE_NUMBER>000000 a4<PHONE_NUMBER>000000 a5<PHONE_NUMBER>000000
a6<PHONE_NUMBER>000000 a7<PHONE_NUMBER>000000 s2<PHONE_NUMBER>000000 s3<PHONE_NUMBER>000000
s4<PHONE_NUMBER>000000 s5<PHONE_NUMBER>000000 s6<PHONE_NUMBER>000000 s7<PHONE_NUMBER>000000
s8<PHONE_NUMBER>000000 s9<PHONE_NUMBER>000000 sA<PHONE_NUMBER>000000 sB<PHONE_NUMBER>000000
t3<PHONE_NUMBER>000000 t4<PHONE_NUMBER>000000 t5<PHONE_NUMBER>000000 t6<PHONE_NUMBER>000000
pc<PHONE_NUMBER>01134c va/inst 00000000c00025f3 sr<PHONE_NUMBER>006620
An illegal instruction was executed!

The relevant portion in the log file is as follows:
   core   0: 0x000000000001134c (0xc00025f3) csrr    a1, cycle
   core   0: exception trap_illegal_instruction, epc 0x000000000001134c
   core   0:           tval 0x00000000c00025f3
   core   0: >>>>  trap_vector

What could be the cause of this issue, and do you have any suggestions for resolving it?
By the way, I'm using the following version of the clang compiler:
li@h107:~/rvv-bench/bench$ clang -v
clang version 15.0.0 (https://repo.hca.bsc.es/gitlab/rferrer/llvm-epi.git 142ea58f56d9622cc03d43e6ecffd9634d801546)
Target: riscv64-unknown-linux-gnu
Thread model: posix

As far as I can tell this is a problem with spike or pk not exposing the cycle csr.
I'm not sure whats going on though, as pk enables it here:
https://github.com/riscv-software-src/riscv-pk/blob/710c23a5bbeecf171ac86d6e39d275af8f176354/machine/minit.c#L54-L58
If you remove the __asm statement in rv_cycle and remove _zfh_zba_zbb_zbs from config.mk or add them to the spike isa string, it works.

Thanks.
Unfortunately, trying these suggestions doesn't seem to have any effect, and the same issue persists.
What should be my next move or consideration in this situation?

Here is a Dockerfile that demonstrates what I was referring to:
FROM ubuntu:23.04

RUN apt-get update \
	&& apt-get install -y build-essential wget git gcc-riscv64-linux-gnu clang device-tree-compiler lld \
	&& apt-get clean \
	&& rm -rf /var/lib/apt/lists/*

RUN git clone --depth=1 https://github.com/riscv-software-src/riscv-isa-sim \
	&& cd riscv-isa-sim \
	&& ./configure \
	&& make -j $(nproc) \
	&& make install \
	&& cd .. \
	&& rm -rf riscv-isa-sim

RUN git clone --depth=1 https://github.com/riscv-software-src/riscv-pk \
	&& mkdir riscv-pk/build \
	&& cd riscv-pk/build \
	&& ../configure --host=riscv64-linux-gnu --with-arch=rv64gcv --with-abi=lp64d \
	&& make -j $(nproc) \
	&& make install \
	&& cd ../.. \
	&& rm -rf riscv-pk

RUN git clone --recursive https://github.com/camel-cdr/rvv-bench \
	&& cd rvv-bench \
	&& sed -i 's/_zfh//g' config.mk \
	&& cd bench \
	&& sed -i 's/.*rdcycle.*//g' bench.h \
	&& make

WORKDIR /rvv-bench/bench
RUN spike --isa=rv64gcv /usr/local/riscv64-linux-gnu/bin/pk ./memcpy

Since it removes the rdcycle code it won't report any reasonable timing results, but spike wouldn't have done that anyway, as simulators don't reflect what happens on actual hardware. IIRC qemu just passes through your host cycle counter, I'm not sure how spike is supposed to implement it.
I personally use qemu for testing, so I'd recommend you try that if you can.
What are you using this for specifically, maybe I can help better that way.

Thanks. I successfully implemented your suggestions.
However, I'm wondering how long these test programs might take to run on Spike. For the memcpy function, we've been running it for over 24 hours now, nd here are some snippets of the output:" :"
[1,4,7,11,15,20,25,31,38,46,55,65,77,91,107,125,145,168,195,225,260,300,345,397,456,524,601,689,790,905,1037,1188,1360,1557,1782,2039,2333,2669,3053,3492,3993,4566,5221,5969,6824,7801,8918,10195,11654,13321,15227,17405,19894,22739,25990,29705,33951,38804,44350,50688,57932,66211,75672,86485,98843,112966,129107,147553,168635,192728,220263,251732,287696,328798,375772,429456,490809,560927,641062,732645,837311,956929,1093636,1249872,1428428,1632492,1865708,2132240,2436848,2784972,3182828,3637520,4157168,4751052,5429776,6205461,7091958,8105097,9262971,10586255,12098580,13826951,15802232,18059696,20639655,23588180,26957923,30809057,],
[18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,],
[18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,18446744073709551615.9551615,.........

The default runtime is tuned for getting good measurements on real hardware, ypu can mosidy the bench/config.h file. Everything depends on MAX_MEM.


push/pop for az configure defaults

It would be nice to have 'az configure defaults push' and 'az configure pop' commands working similar to pushd/popd. This will allow scripts to setup defaults for during their execution and restore users settings on completion.

@jiasli  add to S162.

Thank you for the suggestion. You may use --scope instead so that the configurations are saved for a specific folder under .azure/config, thus preserving the global configurations. For more info, please run az configure -h.


Update Dependencies

Steps I took to update Jeweler to version 2.3.3:

Installed latest version of Jeweler

Generated a sample new gem project for comparison

Compared generated Rakefile with current trash Rakefile

Updated current Rakefile to match api changes/ new bundler requirement (Note: this required moving development dependencies from Rakefile to Gemfile. Apparently, they go there now instead of the Rakefile. Also note: added MIT license to gem spec which corresponds to LICENSE file.)

Moved the existing dependencies into the Gemfile:
rspec ~> 2.14.1
rake ~> 10.1.0
rdoc ~> 4.0.1

Added new version of Jeweler to Gemfile. (It was necessary to require the latest version because older versions were calling an undefined method Bundler::Runtime#bundler_dependencies_for method which appears to be a method only available in older bundler versions)
jeweler ~> 2.3.3

Regenerated gemspec

Thanks for taking the time to make these updates and for describing them so clearly!


convert ensemble bracket to module

issues: https://github.com/EnsembleUI/ensemble/issues/1340, https://github.com/EnsembleUI/ensemble/issues/1442

this was approved 2 weeks ago but is still hanging around. @snehmehta merge and close please

@snehmehta wrap this up please


Release failed with error 'Deprecation'

Info
softprops/action-gh-release@v1 failed with a 'Deprecation' error.
See gist link for the error message:
https://gist.github.com/nialov/e151ed3511bc55de3dae2bacb91b0ddb
Background
My workflow additionally uses:
      # Checkout repository
      - name: Checkout
        uses: actions/checkout@v2

      - name: Set up python
        uses: actions/setup-python@v2
        with:
          python-version: 3.8

      - name: Install Poetry
        uses<EMAIL_ADDRESS>
      - name: Zip
        uses: papeloto/action-zip@v1

Same

This probably came with a release updates you should be able to use @0.5.1 in the mean time
https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md#015
I’ll take a look tonight

@softprops
I tried using 0.5.1 as you said, as
uses<EMAIL_ADDRESS>
And it give me the following error
Error: Unable to resolve action<EMAIL_ADDRESS>unable to find version `0.5.1`

Seems like my issue was of my own making, was forcing a release on top of an already existing release (duplicate tags) or something similarly dumb. The deprecation is seemingly only a warning (appears on successful runs also) but it does make it confusing on what the actual issue is.
The below 'standard' config works for me:
- name: Release
  uses: softprops/action-gh-release@v1

Fixed for me using @v0.1.6.

Same on me https://github.com/tiddly-gittly/TiddlyGit-Desktop/runs/3174941044?check_suite_focus=true
⬆ Uploading RELEASES...
Deprecation: [@octokit/rest] "file" parameter is deprecated for ".repos.uploadReleaseAsset()". Use "data" instead
    at D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:437047
    at Array.forEach (<anonymous>)
    at Object.s [as uploadReleaseAsset] (D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:436958)
    at D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:52043
    at Generator.next (<anonymous>)
    at D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:50565
    at new Promise (<anonymous>)
    at i (D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:50313)
    at Object.t.upload (D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:51907)
    at D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:44485 {
  name: 'Deprecation'
}
⬆ Uploading TiddlyGit-0.4.1-a19-full.nupkg...
Deprecation: [@octokit/rest] "file" parameter is deprecated for ".repos.uploadReleaseAsset()". Use "data" instead
    at D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:437047
    at Array.forEach (<anonymous>)
    at Object.s [as uploadReleaseAsset] (D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:436958)
    at D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:52043
    at Generator.next (<anonymous>)
    at D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:50565
    at new Promise (<anonymous>)
    at i (D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:50313)
    at Object.t.upload (D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:51907)
    at D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:44485 {
  name: 'Deprecation'
}
⬆ Uploading TiddlyGit-0.4.1-a19-Windows-arm64-setup.exe...
Deprecation: [@octokit/rest] "file" parameter is deprecated for ".repos.uploadReleaseAsset()". Use "data" instead
    at D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:437047
⬆ Uploading RELEASES...
    at Array.forEach (<anonymous>)
    at Object.s [as uploadReleaseAsset] (D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:436958)
    at D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:52043
    at Generator.next (<anonymous>)
    at D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:50565
    at new Promise (<anonymous>)
    at i (D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:50313)
    at Object.t.upload (D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:51907)
    at D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:44485 {
  name: 'Deprecation'
}
Deprecation: [@octokit/rest] "file" parameter is deprecated for ".repos.uploadReleaseAsset()". Use "data" instead
    at D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:437047
    at Array.forEach (<anonymous>)
    at Object.s [as uploadReleaseAsset] (D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:436958)
    at D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:52043
    at Generator.next (<anonymous>)
    at D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:50565
    at new Promise (<anonymous>)
    at i (D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:50313)
    at Object.t.upload (D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:51907)
    at D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:44485 {
  name: 'Deprecation'
}
⬆ Uploading TiddlyGit-0.4.1-a19-full.nupkg...
Deprecation: [@octokit/rest] "file" parameter is deprecated for ".repos.uploadReleaseAsset()". Use "data" instead
    at D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:437047
    at Array.forEach (<anonymous>)
    at Object.s [as uploadReleaseAsset] (D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:436958)
    at D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:52043
    at Generator.next (<anonymous>)
    at D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:50565
    at new Promise (<anonymous>)
    at i (D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:50313)
    at Object.t.upload (D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:51907)
    at D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:44485 {
  name: 'Deprecation'
}
⬆ Uploading TiddlyGit-0.4.1-a19-Windows-x64-setup.exe...
Deprecation: [@octokit/rest] "file" parameter is deprecated for ".repos.uploadReleaseAsset()". Use "data" instead
    at D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:437047
    at Array.forEach (<anonymous>)
    at Object.s [as uploadReleaseAsset] (D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:436958)
    at D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:52043
    at Generator.next (<anonymous>)
    at D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:50565
    at new Promise (<anonymous>)
    at i (D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:50313)
    at Object.t.upload (D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:51907)
    at D:\a\_actions\softprops\action-gh-release\v1\dist\index.js:1:44485 {
  name: 'Deprecation'
}
Error: Validation Failed: {"resource":"ReleaseAsset","code":"already_exists","field":"name"}

I think in this time, I am using @v0.1.6.

I can reproduce the warnings but not yet the error. I have a test run here (sample run output below)
Run<EMAIL_ADDRESS>⬆ Uploading a.txt...
Deprecation: [@octokit/rest] "file" parameter is deprecated for ".repos.uploadReleaseAsset()". Use "data" instead
    at /home/runner/work/_actions/softprops/action-gh-release/v0.1.7/dist/index.js:1:437047
⬆ Uploading b.txt...
    at Array.forEach (<anonymous>)
    at Object.s [as uploadReleaseAsset] (/home/runner/work/_actions/softprops/action-gh-release/v0.1.7/dist/index.js:1:436958)
    at /home/runner/work/_actions/softprops/action-gh-release/v0.1.7/dist/index.js:1:52043
    at Generator.next (<anonymous>)
    at /home/runner/work/_actions/softprops/action-gh-release/v0.1.7/dist/index.js:1:50565
    at new Promise (<anonymous>)
    at i (/home/runner/work/_actions/softprops/action-gh-release/v0.1.7/dist/index.js:1:50313)
    at Object.t.upload (/home/runner/work/_actions/softprops/action-gh-release/v0.1.7/dist/index.js:1:51907)
    at /home/runner/work/_actions/softprops/action-gh-release/v0.1.7/dist/index.js:1:44485 {
  name: 'Deprecation'
}
Deprecation: [@octokit/rest] "file" parameter is deprecated for ".repos.uploadReleaseAsset()". Use "data" instead
    at /home/runner/work/_actions/softprops/action-gh-release/v0.1.7/dist/index.js:1:437047
    at Array.forEach (<anonymous>)
    at Object.s [as uploadReleaseAsset] (/home/runner/work/_actions/softprops/action-gh-release/v0.1.7/dist/index.js:1:436958)
    at /home/runner/work/_actions/softprops/action-gh-release/v0.1.7/dist/index.js:1:52043
    at Generator.next (<anonymous>)
    at /home/runner/work/_actions/softprops/action-gh-release/v0.1.7/dist/index.js:1:50565
    at new Promise (<anonymous>)
    at i (/home/runner/work/_actions/softprops/action-gh-release/v0.1.7/dist/index.js:1:50313)
    at Object.t.upload (/home/runner/work/_actions/softprops/action-gh-release/v0.1.7/dist/index.js:1:51907)
    at /home/runner/work/_actions/softprops/action-gh-release/v0.1.7/dist/index.js:1:44485 {
  name: 'Deprecation'
}
🎉 Release ready at https://github.com/softprops/action-gh-releases-test/releases/tag/v0.1.2

a warning is an indicator that I need to upgrade something but should not fail your build. which makes this a bit less urgent for me. something that I can perhaps get to this weekend
@linonetwo it looks like in your case the real error  isn't related to the warnings but the error that followed

Error: Validation Failed: {"resource":"ReleaseAsset","code":"already_exists","field":"name"}

This indicates that you may have already uploaded a release asset of the same name causing a conflict which I believe is failing your build. I'd need to see your workflow setup to get a better sense for how the release asset might have been previously uploaded. That said, upserting (updating or creating) assets is something I'd love to add support for in this gh action

Thank you @softprops , my workflow is https://github.com/tiddly-gittly/TiddlyGit-Desktop/blob/c0c979a1fb01648cdc1df57a033485bbe57d7a20/.github/workflows/release.yml#L151-L175
It is not easy to know which file is in conflict, hope there can be a log about file name.

Would it be possible to add an ls directory listing in the step prior to debug?

Seems two windows build make same TiddlyGit-0.4.1-a21-full.nupkg file, and it causes the error, previously this will just silently overwritten.

Same problem here:
https://github.com/Loyalsoldier/v2ray-rules-dat/runs/3176493282?check_suite_focus=true
https://github.com/Loyalsoldier/v2ray-rules-dat/runs/3186538209?check_suite_focus=true

I limit the uploaded file to only **/*.exe, then it works fine. Just can't upload anything that may have same name. And rerun-all-jobs is not working anymore, because the re-upload will fail.

I see the same problem in our build with regards to duplicate uploads. However, AFAIK duplicate uploads worked for us before, so I assume there is some regression that changed this behavior?

This think this regressed in the fix here https://github.com/softprops/action-gh-release/pull/97

I’m going to open a separate issue to not confuse this with the deprecation warnings

I’m going to update the title of this issue. Releases don’t fail with just the gh api warnings

Seem many people are talking about using this action for uploading duplicated files, and I forgot to say but this is my case, I've configured my workflow to upload a new set of assets with every new commit so users can test it, the assets are disposable so they aren't versioned at all, and are always uploaded to the same tag/release.
From what you said before:
@softprops

This indicates that you may have already uploaded a release asset of the same name causing a conflict which I believe is failing your build.

You should consider allow overwriting the assets.

Use the v0.1.8 and failed again:
👩🏭 Creating new GitHub release for tag<PHONE_NUMBER>10...
⬆ Uploading apple-cn.txt...
⬆ Uploading direct-list.txt...
⬆ Uploading direct-tld-list.txt...
⬆ Uploading geoip.dat...
⬆ Uploading geoip.dat.sha256sum...
⬆ Uploading geosite.dat...
⬆ Uploading geosite.dat.sha256sum...
⬆ Uploading gfw.txt...
⬆ Uploading google-cn.txt...
⬆ Uploading greatfire.txt...
⬆ Uploading proxy-list.txt...
⬆ Uploading proxy-tld-list.txt...
⬆ Uploading reject-list.txt...
⬆ Uploading reject-tld-list.txt...
⬆ Uploading rules.zip...
⬆ Uploading rules.zip.sha256sum...
⬆ Uploading win-extra.txt...
⬆ Uploading win-spy.txt...
⬆ Uploading win-update.txt...
Error: Failed to upload release asset ${name}. recieved status code ${resp.status}
${json.message}
${json.errors}

https://github.com/Loyalsoldier/v2ray-rules-dat/runs/3272404245?check_suite_focus=true

Use v0.1.10 and failed again:
👩🏭 Creating new GitHub release for tag<PHONE_NUMBER>32...
⚠ GitHub release failed with status: 404, retrying... (2 retries remaining)
👩🏭 Creating new GitHub release for tag<PHONE_NUMBER>32...
⚠ GitHub release failed with status: 422, retrying... (1 retries remaining)
👩🏭 Creating new GitHub release for tag<PHONE_NUMBER>32...
⚠ GitHub release failed with status: 422, retrying... (0 retries remaining)
❌ Too many retries. Aborting...
Error: Too many retries.


Error should be indicated when unable to write to HOME

Running in a Docker build environment, HOME is not defined. This causes bower to silently fail:
$ CI=true bower install
$ echo $?
0
$ HOME=/tmp CI=true bower install
# ... snipped installation output ...

It would be better if

Some error text was given to the user
An error exit code was returned to cause build scripts to fail.

Even better, it would be great if HOME wasn't required in this type of environment.
$ bower --version
1.3.3

Despite the warm, runs normally.


LOW Res rtsp Stream not avilable

Hi,
i recently flashed the firmware onto my BFUS 9.x Yi Home Camera and it worked great. Thanks for that.
The only issue I got is that I cant access the low resultion stream.
High Res and Audio Only is working.
The log of VLC says this:
main debug: VLC media player - 3.0.6 Vetinari
main debug: Copyright © 1996-2018 the VideoLAN team
main debug: revision 3.0.6-0-g5803e85f73
main debug: configured with /Users/d-fu/vlc-3.0/extras/package/macosx/../../../configure  '--prefix=/Users/d-fu/vlc-3.0/build/vlc_install_dir' '--enable-macosx' '--enable-merge-ffmpeg' '--enable-osx-notifications' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-shout' '--enable-ncurses' '--enable-twolame' '--enable-realrtsp' '--enable-libass' '--enable-macosx-qtkit' '--enable-macosx-avfoundation' '--disable-skins2' '--disable-xcb' '--disable-caca' '--disable-pulse' '--disable-sdl-image' '--disable-vnc' '--build=x86_64-apple-darwin17' '--host=x86_64-apple-darwin17' '--with-macosx-version-min=10.7' '--with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk' '--with-breakpad=https://mac.crashes.videolan.org' 'build_alias=x86_64-apple-darwin17' 'host_alias=x86_64-apple-darwin17' 'CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' 'CFLAGS=-g' 'LDFLAGS=' 'CXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++' 'CXXFLAGS=-g' 'OBJC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' 'OBJCFLAGS=-g'
main debug: processing request item: rtsp://<IP_ADDRESS>/ch0_1.h264, node: Playlist, skip: 0
main debug: resyncing on rtsp://<IP_ADDRESS>/ch0_1.h264
main debug: rtsp://<IP_ADDRESS>/ch0_1.h264 is at 13
main debug: starting playback of new item
main debug: resyncing on rtsp://<IP_ADDRESS>/ch0_1.h264
main debug: rtsp://<IP_ADDRESS>/ch0_1.h264 is at 13
main debug: creating new input thread
main debug: Creating an input for 'rtsp://<IP_ADDRESS>/ch0_1.h264'
main debug: requesting art for new input thread
main debug: using timeshift granularity of 50 MiB
main debug: using default timeshift path
main debug: `rtsp://<IP_ADDRESS>/ch0_1.h264' gives access `rtsp' demux `any' path `<IP_ADDRESS>/ch0_1.h264'
main debug: creating demux: access='rtsp' demux='any' location='<IP_ADDRESS>/ch0_1.h264' file='(null)'
main debug: looking for access_demux module matching "rtsp": 14 candidates
main debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua scripts in /Users/zander/Library/Application Support/org.videolan.vlc/lua/meta/fetcher
live555 debug: version 2016.11.28
lua debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/lua/meta/fetcher
lua debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/lua/meta/fetcher
main debug: no meta fetcher modules matched
main debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in /Users/zander/Library/Application Support/org.videolan.vlc/lua/meta/art
lua debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/lua/meta/art
lua debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/lua/meta/art
lua debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/00_musicbrainz.luac
lua debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/00_musicbrainz.luac
lua debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/01_googleimage.luac
lua debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/01_googleimage.luac
lua debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/02_frenchtv.luac
lua debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/02_frenchtv.luac
lua debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/03_lastfm.luac
lua debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/03_lastfm.luac
main debug: no art finder modules matched
main debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua scripts in /Users/zander/Library/Application Support/org.videolan.vlc/lua/meta/fetcher
lua debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/lua/meta/fetcher
lua debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/lua/meta/fetcher
main debug: no meta fetcher modules matched
main debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in /Users/zander/Library/Application Support/org.videolan.vlc/lua/meta/art
lua debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/lua/meta/art
lua debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/lua/meta/art
lua debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/00_musicbrainz.luac
lua debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/01_googleimage.luac
lua debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/02_frenchtv.luac
lua debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/03_lastfm.luac
main debug: no art finder modules matched
live555 debug: connection error 404
live555 error: Failed to connect with rtsp://<IP_ADDRESS>:554/ch0_1.h264
main debug: no access_demux modules matched
main debug: creating access: rtsp://<IP_ADDRESS>/ch0_1.h264
main debug: looking for access module matching "rtsp": 23 candidates
satip debug: try to open 'rtsp://<IP_ADDRESS>/ch0_1.h264'
satip debug: connect to host '<IP_ADDRESS>'
main debug: net: connecting to <IP_ADDRESS> port 554
main debug: connection succeeded (socket = 16)
main debug: net: opening <IP_ADDRESS> datagram port 9502
main debug: net: opening <IP_ADDRESS> datagram port 9503
satip error: Failed to setup RTSP session
main debug: net: connecting to <IP_ADDRESS> port 554
main debug: connection succeeded (socket = 16)
access_realrtsp warning: Cseq mismatch, got 1, assumed 0
access_realrtsp debug: rtsp connected
access_realrtsp warning: only real/helix rtsp servers supported for now
main debug: no access modules matched
main debug: dead input
main debug: changing item without a request (current 13/14)
main debug: nothing to play

Does anybody have the same problem connectiong the low res stream?
Thanks, mzander

What model?

What model?

Model is YYS.2016

Model is YYS.2016

after settings a static ip address and several reboots it works now... thanks.

after settings a static ip address and several reboots it works now... thanks.


The return of search API needs more details.

So the api may look like /api/search?q=ubuntu&details=true
More details regarding what information to be in the response, need more discussions.

Duplicate with 1488.


Support symbol image as SVG

I can use link to an image as:
symbol:"image://xxx.png"
But can't use:
symbol:"image://xxx.svg"
Is there any reason for that or another way to use SVG links? As far as I know, canvas should render images in SVG format (different than path://)

where should i put the image file?I set a image symbol,but can not show.?

You can use:
symbol:"image://your-image-url.png"
to show an image, note that this was shortly broken in 3.1.8


Add kernels for Csr sparsity pattern lookup

This PR adds build_lookup kernels together with a device-independent type of lookup structure that builds a mapping column index -> local nonzero index. It requires sorted column indices and uses, in decreasing order of priority:

full storage (contiguous range of column indices)
dense storage (use a bitmap containing a 1 for each nonzero that is present)
sparse storage (using a hashmap for the mapping)

Together with #938 and #965 it would enable their own device-independent assembly kernels with acceptable performance.
I still need to work a bit on the interface and the Volta-specific optimizations, but I would like to put this out there already
TODO:

[x] add interface will do that in a later PR
[x] add to sparse_blas benchmark same

Closes #947

format-rebase!


[WIP] Support ruby 3

Let's upgrade to ruby 3
dependencies:

[x] https://github.com/ManageIQ/foreman_api_client/pull/20
[x] https://github.com/ManageIQ/manageiq-messaging/pull/71
[x] https://github.com/ManageIQ/query_relation/issues/25
[x] https://github.com/ManageIQ/inventory_refresh/pull/109
[ ] https://github.com/ManageIQ/manageiq/pull/21941

@miq-bot cross-repo-tests /all ManageIQ/manageiq#21531 ManageIQ/inventory_refresh#97

@miq-bot cross-repo-tests /all ManageIQ/inventory_refresh#97

@miq-bot cross_repo_tests https://github.com/ManageIQ/manageiq/pull/21531, /all including https://github.com/ManageIQ/manageiq/pull/21531, https://github.com/ManageIQ/inventory_refresh/pull/97

@miq-bot cross_repo_tests #21531,/core including #21531, ManageIQ/inventory_refresh#97

@miq-bot cross_repo_tests #21531,/all including #21531, ManageIQ/inventory_refresh#97

I feel that the kwargs changes can just get merged into master and not be part of this PR (including the spec changes that split out the kwargs. Not sure about the message send with the last arg auto converted into a hash. I agree that we can hold off on that one until we figure out if there is another way)

@miq-bot cross_repo_tests https://github.com/ManageIQ/manageiq/pull/21531,/all including https://github.com/ManageIQ/manageiq/pull/21531, https://github.com/ManageIQ/inventory_refresh/pull/97

Opened https://github.com/ManageIQ/foreman_api_client/issues/19, because foreman_api_client doesn't work on Ruby 3.0

Opened https://github.com/ManageIQ/manageiq-messaging/issues/70 to support 3.0 in manageiq-messaging

Opened https://github.com/ManageIQ/query_relation/issues/24 to support 3.0 in query_relation

update:

rebased to master (to fix merge issues)
rebased to accept the kwargs changes
just pulled out another PR... we'll see how that goes

update:

rebased master (kwargs was merged in separate PR and had a few changes)

@miq-bot cross_repo_tests https://github.com/ManageIQ/manageiq/pull/21531,/all including https://github.com/ManageIQ/manageiq/pull/21531, https://github.com/ManageIQ/inventory_refresh/pull/97

@miq-bot cross_repo_tests https://github.com/ManageIQ/manageiq/pull/21531, /all including https://github.com/ManageIQ/manageiq/pull/21531

@agrare is this is valid test now that we use kwargs on inventory refresh master branch:
https://github.com/ManageIQ/manageiq/blob/e0864dbb4fad6fefae3074a519f1619f49519a7f/spec/models/manageiq/providers/inventory/persister/finders_spec.rb
I can't get this to pass on both ruby 2.7 and ruby 3.
  1) ManageIQ::Providers::Inventory::Persister checks that we recognize first argument vs passed kwargs
     Failure/Error:
       expect do
         persister.vms.lazy_find({:name => "name"}, :ref => :by_name)
       end.to(raise_error(expected_error))

       expected Exception with "Finder has missing keys for index :manager_ref, missing indexes are: [:ems_ref]" but nothing was raised
     # ./spec/models/manageiq/providers/inventory/persister/finders_spec.rb:70:in `block (2 levels) in <top (required)>'

is this is valid test now that we use kwargs on inventory refresh master branch:

@jrafanie correct that is no longer a valid test as this case works now.  I'm not sure why we were testing that something that should probably have worked all along didn't work :shrug:

I'm not sure why we were testing that something that should probably have worked all along didn't work 🤷

Originally it didn't work, which is why Ladas added the workaround code and a spec for it (so that if Ruby fixed it in the future we would know).  Somewhere in the Ruby 3 journey it started to work (probably after we changed inventory_refresh to support both params and kwargs.)

I'm finished suggested changes and restarted the cross repo tests: https://github.com/ManageIQ/manageiq-cross_repo-tests/pull/706
I think we're ready to merge when things are green.

@agrare @bdunne @kbrock @Fryguy Ok, this is green, the 3.0 results are the same as the 2.7 ones (ui-service and api fail in the same way): https://github.com/ManageIQ/manageiq-cross_repo-tests/pull/706
I think we're ready to merge this and start building pods and appliances and ensuring all the repositories are testing with 3.0 going forward.


Support splice in http blind tunnel

Add TS_USE_LINUX_SPLICE as a compilation option.
Make MIOBuffer and MIOBufferReader polymorphic classes making their member function virtual.
Create PipeIOBuffer and PipeIOBufferReader as derived classed, encapsulating Linux pipe.
Use dynamic_cast to enable logic switch in state machines and continuations.

Documentations:
ATS_splice_runbook.md
ATS_splice_performance_benchmark.md
ATS_splice_design_doc.pdf

Passes unit test and manual integration test on Debian 12. Performance benchmark shows that splice could improve maximum blind tunnel throughput from 300 MB/s to 575 MB/s and reduce latency by 40% for MB level payload on C6in.large EC2 instance. Feel free to benchmark this CR.


Remove TreatWarningsAsErrors from common.props

Property is automatically set by Internal.AspNetCore.Sdk

@mikeharder,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

:shipit:  thanks!


AGIC 1.2.0 or 1.2.0-rc3 not working with Kubernetes 1.17.7 or 1.16.9

Describe the bug
I'm currently getting this error in the logs. It is a little frustrating because it doesn't actually let me know what is going on.
ERROR: logging before flag.Parse: I0710 22:52:00.078529       1 utils.go:115] Using verbosity level 5 from environment variable APPGW_VERBOSITY_LEVEL
I0710 22:52:00.110070       1 environment.go:240] KUBERNETES_WATCHNAMESPACE is not set. Watching all available namespaces.
I0710 22:52:00.110145       1 main.go:128] Appication Gateway Details: Subscription="<redacted>" Resource Group="p<redacted>" Name="<redacted>"
I0710 22:52:00.110152       1 auth.go:37] Creating authorizer from file referenced by environment variable: /etc/Azure/Networking-AppGW/auth/armAuth.json
I0710 22:52:00.110177       1 httpserver.go:57] Starting API Server on :8123
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x13e7d73]

goroutine 1 [running]:
main.main()
        /home/vsts/work/1/s/gopath/src/github.com/Azure/application-gateway-kubernetes-ingress/cmd/appgw-ingress/main.go:138 +0x1f93

To Reproduce
USER-SUPPLIED VALUES:
appgw:
  environment: AzureCloud
  name: <redacted>
  resourceGroup: <redacted>
  shared: false
  subscriptionId: <redacted>
  usePrivateIP: false
armAuth:
  secretJSON: <redacted>
  type: servicePrincipal
rbac:
  enabled: true
verbosityLevel: 5

Ingress Controller details
Name:         agic-external-ingress-ingress-azure-5b5b6bcb4d-c8db6
Namespace:    operations
Priority:     0
Node:         aks-standardd2v2-91090874-vmss000001/<IP_ADDRESS>
Start Time:   Fri, 10 Jul 2020 17:40:40 -0500
Labels:       app=ingress-azure
              pod-template-hash=5b5b6bcb4d
              release=agic-external-ingress
Annotations:  checksum/config: 542a6e79079074dfa88caee3d93c0194ba8076666402cc45cf4f78eef1c49bfe
              prometheus.io/port: 8123
              prometheus.io/scrape: true
Status:       Running
IP:           <IP_ADDRESS>
IPs:
  IP:           <IP_ADDRESS>
Controlled By:  ReplicaSet/agic-external-ingress-ingress-azure-5b5b6bcb4d
Containers:
  ingress-azure:
    Container ID:   docker://ab5889530f7566580bc7fcdf7ee9a6da5281eba65a2a3eeee83a4032888f4597
    Image:          mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.2.0-rc3
    Image ID:       docker-pullable://mcr.microsoft.com/azure-application-gateway/kubernetes-ingress@sha256:9331411a7f29cfd49b6d93e045ea6dea44cab07a2b4ce7d6a6448b3eb23d5200
    Port:           <none>
    Host Port:      <none>
    State:          Waiting
      Reason:       CrashLoopBackOff
    Last State:     Terminated
      Reason:       Error
      Exit Code:    2
      Started:      Fri, 10 Jul 2020 17:57:04 -0500
      Finished:     Fri, 10 Jul 2020 17:57:04 -0500
    Ready:          False
    Restart Count:  8
    Liveness:       http-get http://:8123/health/alive delay=15s timeout=1s period=20s #success=1 #failure=3
    Readiness:      http-get http://:8123/health/ready delay=5s timeout=1s period=10s #success=1 #failure=3
    Environment Variables from:
      agic-external-ingress-cm-ingress-azure  ConfigMap  Optional: false
    Environment:
      AZURE_CLOUD_PROVIDER_LOCATION:                       /etc/appgw/azure.json
      AGIC_POD_NAME:                                       agic-external-ingress-ingress-azure-5b5b6bcb4d-c8db6 (v1:metadata.name)
      AGIC_POD_NAMESPACE:                                  operations (v1:metadata.namespace)
      AZURE_AUTH_LOCATION:                                 /etc/Azure/Networking-AppGW/auth/armAuth.json
      NEW_RELIC_METADATA_KUBERNETES_CLUSTER_NAME:          prod-ca-aks
      NEW_RELIC_METADATA_KUBERNETES_NODE_NAME:              (v1:spec.nodeName)
      NEW_RELIC_METADATA_KUBERNETES_NAMESPACE_NAME:        operations (v1:metadata.namespace)
      NEW_RELIC_METADATA_KUBERNETES_POD_NAME:              agic-external-ingress-ingress-azure-5b5b6bcb4d-c8db6 (v1:metadata.name)
      NEW_RELIC_METADATA_KUBERNETES_CONTAINER_NAME:        ingress-azure
      NEW_RELIC_METADATA_KUBERNETES_CONTAINER_IMAGE_NAME:  mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.2.0-rc3
      NEW_RELIC_METADATA_KUBERNETES_DEPLOYMENT_NAME:       agic-external-ingress-ingress-azure
    Mounts:
      /etc/Azure/Networking-AppGW/auth from networking-appgw-k8s-azure-service-principal-mount (ro)
      /etc/appgw/azure.json from azure (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from agic-external-ingress-sa-ingress-azure-token-pgd9c (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             False
  ContainersReady   False
  PodScheduled      True
Volumes:
  azure:
    Type:          HostPath (bare host directory volume)
    Path:          /etc/kubernetes/azure.json
    HostPathType:  File
  networking-appgw-k8s-azure-service-principal-mount:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  networking-appgw-k8s-azure-service-principal
    Optional:    false
  agic-external-ingress-sa-ingress-azure-token-pgd9c:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  agic-external-ingress-sa-ingress-azure-token-pgd9c
    Optional:    false
QoS Class:       BestEffort
Node-Selectors:  <none>
Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
                 node.kubernetes.io/unreachable:NoExecute for 300s
Events:
  Type     Reason     Age                   From                                           Message
  ----     ------     ----                  ----                                           -------
  Normal   Scheduled  17m                   default-scheduler                              Successfully assigned operations/agic-external-ingress-ingress-azure-5b5b6bcb4d-c8db6 to aks-standardd2v2-91090874-vmss000001
  Normal   Pulling    16m (x4 over 17m)     kubelet, aks-standardd2v2-91090874-vmss000001  Pulling image "mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.2.0-rc3"
  Normal   Pulled     16m (x4 over 17m)     kubelet, aks-standardd2v2-91090874-vmss000001  Successfully pulled image "mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.2.0-rc3"
  Normal   Created    16m (x4 over 17m)     kubelet, aks-standardd2v2-91090874-vmss000001  Created container ingress-azure
  Normal   Started    16m (x4 over 17m)     kubelet, aks-standardd2v2-91090874-vmss000001  Started container ingress-azure
  Warning  BackOff    2m24s (x78 over 17m)  kubelet, aks-standardd2v2-91090874-vmss000001  Back-off restarting failed container

Kubernetes version: tried on v1.17.7 and v1.16.9
Azure Location: canadacentral
Chart version: 1.2.0-rc3, also tried 1.2.0 with same result.

Just found the issue. The environment is wrong, it should be AZUREPUBLICCLOUD instead of AzureCloud. I know this is on me for making a configuration mistake, but it would be nice if the application failed with a better message. I lost hours thinking it was an obscure and strange issue and didn't even double check the basic configuration because the error message was so cryptic.


BLE MESH: mesh proxy server fails due to failed ext adv param update for mesh gatt advs

Description
MESH GATT advertisements attempts fails after any  bt_le_ext_adv_update_param(..) call.
https://github.com/zephyrproject-rtos/zephyr/blob/main/subsys/bluetooth/mesh/adv_ext.c#L158
To Reproduce
Failing PTS test cases: with latest AutoPTS
Most of the MESH/SR/PROX tests and MESH/SR/RPR/SCN tests.


xcontainer objects should accept xcontainers in operator()

In numpy you can perform operations that look like this:
arr = np.array([[1,2,3],[4,5,6]])
ind = np.array([[0],[1]])
value = arr[ind]

I think it makes sense to implement an overload of operator() such that when an xcontainer is passed as the argument it returns an xexpression that looks the same as the value object in the example above. I think this would really help for instances where the dimensionality of the problem is dynamic. I have implemented the simple case where you provide have n dimensions and provide a single array that is 1xn resulting in 1 integral value using by calculating the linear index location I want from a stride and accessing through the raw pointer. I was previously using a strided view but it was too slow and seemed like over kill for my use case of access one value (rather than a range of values) in a multidimensional object where I know what index I want.
Thoughts?

Wrong repo


PowerShell denying access to files

I am trying to use a Bazel command on a folder, but for some reason PowerShell is denying me access to my folders. How can I grant access to modify these files?
PS C:\users\snmsa\desktop\github\lm_1b> bazel build -c opt lm_1b/...
..............................
ERROR: no such package 'external': Error encountered while dealing with the WORKSPACE file: C:\users\snmsa\desktop\github\lm_1b\WORKSPACE (Access is denied)
ERROR: no such package 'external': Error encountered while dealing with the WORKSPACE file: C:\users\snmsa\desktop\github\lm_1b\WORKSPACE (Access is denied)
INFO: Elapsed time: 19.916s
FAILED: Build did NOT complete successfully (0 packages loaded)
PS C:\users\snmsa\desktop\github\lm_1b>

@airmak What PowerShell version you use? Do you test with latest PowerShell Core build?


Dockerize Needl

I'm not familiar with Docker but this looks like this would be a good starting point: https://runnable.com/docker/python/dockerize-your-python-application

I am ready to create a PR with simple docker integration but you will need to create an account on dockerhub and push the image built there in order for others to be able to download it and run locally.

@eth0izzle I've added the Docker support in https://github.com/eth0izzle/Needl/pull/7, can you please approve/decline it? It will require extra steps from you (described in PR), if you need any help - I'm ready to provide it, thanks.


Fix misunderstanding of pointer-to-pointer lifetime

Fixes #175

I can attest this build with Xcode 12 and also works in the app that is built with it :)

@kareman Can we have this PR merged? It's essential for building in Xcode 12 / Swift 5.3

I don't have merge access

@BilalReffas can you merge this?

Thanks @kareman 🍻


Adding a roughed in formbuilder

This is the startings of how I see the pieces coming together from a makeshift formbuilder, some things are likely to be refactored some more as things are kind of jammed together for the time being. But this basically gives you full form scaffolding for whatever resources you are working with, and I left everything to be resolved by view factory as templates, since this is easily overridable and customizable with very little effort, and relies on no style whatsoever.
Simple Example

// Controller
	$resources = \Cviebrock\LaravelResources\Models\Resource
			::join('resource_translations', 'resources.resource_id', '=', 'resource_translations.resource_id')
			->where('resource_translations.locale', '=', 'en')
			->lists('value', 'key');

		$form = new \Cviebrock\LaravelResources\FormBuilder(
			$resources,
			[
				'action' => '#',
			]
		);

		return View::make('base')->withForm($form);

// base.twig
{% extends 'layout.twig' %}

{% block content %}

			{{ form|raw }}

{% endblock %}

Given these settings
<?php

return [

	'home' => [
		'title'=> 'Acme\Resources\Home\Title'
	],
	'site' => [
		'name' => 'Acme\Resources\Site\Name'
	],
	'seo' => [
		'meta.description' => 'Acme\Resources\Seo\MetaDescription'
	],
	'app_key' => 'Acme\Resources\AppKey',
];

You get this: http://cl.ly/image/0g1p36471e1j
Reordering the config list:
<?php

return [

	'app_key' => 'Acme\Resources\AppKey',

	'seo' => [
		'meta.description' => 'Acme\Resources\Seo\MetaDescription'
	],
	'site' => [
		'name' => 'Acme\Resources\Site\Name'
	],
	'home' => [
		'title'=> 'Acme\Resources\Home\Title'
	],

];

Now you have that ordering: http://cl.ly/image/0E052W3g0K0g
The bootstrap styling is thanks in part to being able to quickly and easily override the templates referenced by the base descriptors.
Validation just wraps laravel's validator, and extracts the information it needs straight from a resource collection. I have the input names grouped by resources[group[key]], so that it can maintain its structure and not end up jumbled as the dots are replaced with underscores normally. This way you get the ability to Input::get() the collection and reference grouped resources easier if need be. In the below I just collapse it back down and pass it straight into the validator.
 // Example validation, all familiar api's
	public function save() {

		$resources = array_dot(Input::get('resources'));

		$validation = new \Cviebrock\LaravelResources\ResourceValidator($resources);

		if($validation->fails()) {

			dd($validation->errors()->getMessages());
		}

		return Redirect::back();
	}

Love it!
This part I might try tidying up a bit (via a ResourceGroup class or something):
$resources = \Cviebrock\LaravelResources\Models\Resource
        ::join('resource_translations', 'resources.resource_id', '=', 'resource_translations.resource_id')
        ->where('resource_translations.locale', '=', 'en')
        ->lists('value', 'key');


fix sql install on sles references to each version

Learn Build status updates of commit 39eedf5:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/linux/quickstart-install-connect-suse.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@vanmsft
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#reassign:rwestMSFT

Thanks @jamesongithub, we'll be incorporating these changes in an internal PR in the next day or so!


Unable to deserialize Location

I am currently running

SpongeForge version: 1.12.2-2838-7.1.7-RC3901

Java version: 1.8.0_151

Operating System: Windows

Plugins/Mods: None apart from the test plugin

Issue Description
Since 3900, it is not possible to de-serialize Locations anymore
I put this in the GameStartedServerEvent :
https://gist.github.com/TheoKah/d8481beac6a9fc630ab0c51784e930af
And got this exception:
https://gist.github.com/TheoKah/29a4cfa6b9ea06f2b2c1dc7bdff9a8bf
Same code is working on 3899

I have backed out the change that caused this while we work on a better fix.
https://github.com/SpongePowered/SpongeCommon/commit/41519ee5e2ab2771dee1db91ad6febb6e1215565

(Also duplicate of https://github.com/SpongePowered/SpongeCommon/issues/2352)


when pick male or female bug

when  you pick a male. you don't have access to the male peds only female. when you go back to make yourself. its female so somewhere, the code isn't picking up right.

This has nothing to do with the multi character this has been tested multiple times and it’s working fine this will be ur end somewhere

While his may had been something with another script, your gender system is not working. QB-core id system will always pick up man.
To fix this you just gotta change this located at 232 on client/main.lua
if cData.gender == "Male" then
cData.gender = 0
elseif cData.gender == "Female" then
cData.gender = 1
end
to
   if cData.gender == "man" then
    cData.gender = 0
elseif cData.gender == "woman" then
    cData.gender = 1
end

You should update the script with that so others don't run into the qbcore licenses telling everyone they are a man.


Update README.md

trying to make the gifs play when opening readme

green LED link might not work because of its size.
Committing again after resizing and uploading the .gif again


Refactor type dispatch for predicate

What type of PR is this：

[ ] bug
[ ] feature
[ ] enhancement
[x] others

Which issues of this PR fixes ：
Refactor type dispatch for predicate and conjunct.

run starrocks_be_unittest


[Android] Missing App Icon in APK Build

Duplicate Check

[X] I have searched the opened issues and there are no duplicates

Describe the bug
Description
When building an Android APK using flet build apk command, the generated APK is missing the application icon.
Environment

Flet version: 0.25.0.dev3570
Python version: 3.12.3
Flutter version: 3.24.3 (stable channel)
Operating System: [You may want to add your OS here]

Steps to Reproduce

Create a basic Flet application (counter example provided)
Run flet build apk command
Install the generated APK on an Android device
Observe that the app icon is missing in the device's app drawer/home screen

Expected Behavior
The built APK should include a default or specified app icon that appears in the Android device's app drawer and home screen.
Actual Behavior
The built APK lacks an app icon in the Android device's app drawer and home screen.
Code sample

main.py

import flet as ft

def main(page: ft.Page):
    page.title = "Flet counter example"
    page.vertical_alignment = ft.MainAxisAlignment.CENTER

    txt_number = ft.TextField(value="0", text_align=ft.TextAlign.RIGHT, width=100)

    def minus_click(e):
        txt_number.value = str(int(txt_number.value) - 1)
        page.update()

    def plus_click(e):
        txt_number.value = str(int(txt_number.value) + 1)
        page.update()

    page.add(
        ft.Row(
            [
                ft.IconButton(ft.icons.REMOVE, on_click=minus_click),
                txt_number,
                ft.IconButton(ft.icons.ADD, on_click=plus_click),
            ],
            alignment=ft.MainAxisAlignment.CENTER,
        )
    )

ft.app(main)

pyproject.toml

[project]
name = "Test"
version = "1.0.1"
description = "Test"
dependencies = ["flet==0.25.0.dev3570"]

To reproduce

Create a basic Flet application (counter example provided)
Run flet build apk command
Install the generated APK on an Android device
Observe that the app icon is missing in the device's app drawer/home screen

Expected behavior
The built APK should include a default or specified app icon that appears in the Android device's app drawer and home screen.
Screenshots / Videos

Captures

Operating System
Windows
Operating system details
Win 11
Flet version
0.25.0.dev3570
Regression
No, it isn't
Suggestions
No response
Logs
Logs
[15:49:57] No additional Flutter dependencies!
[15:50:01] Created Flutter bootstrap project from gh:flet-dev/flet-build-template with ref 0.25.0 ✅
           Customized app icons and splash images ✅
           Run subprocess: ['C:\\flutter\\bin\\dart.BAT', 'run', 'flutter_launcher_icons']
(    ● ) Generating app icons ⏳...
Built flutter_launcher_icons:flutter_launcher_icons.
(●     ) Generating app icons ⏳...   ════════════════════════════════════════════
     FLUTTER LAUNCHER ICONS (v0.14.1)
  ════════════════════════════════════════════

( ●    ) Generating app icons ⏳... • Creating default icons Android
• Overwriting the default Android launcher icon with a new icon
(  ●   ) Generating app icons ⏳... • Creating mipmap xml file Android
(    ● ) Generating app icons ⏳... • Overwriting default iOS launcher icon with new icon
(  ●   ) Generating app icons ⏳... Creating Icons for Web...
( ●    ) Generating app icons ⏳... Creating Icons for Windows...
(  ●   ) Generating app icons ⏳... Creating Icons for MacOS...
(     ●) Generating app icons ⏳...
✓ Successfully generated launcher icons
[15:50:03] Generated app icons ✅
           Run subprocess: ['C:\\flutter\\bin\\dart.BAT', 'run', 'flutter_native_splash:create']
(    ● ) Generating splash screens ⏳...
Built flutter_native_splash:create.
(  ●   ) Generating splash screens ⏳... [Android] Creating default splash images
( ●    ) Generating splash screens ⏳... [Android] Creating dark mode splash images
(  ●   ) Generating splash screens ⏳... [Android] Creating default android12splash images
(   ●  ) Generating splash screens ⏳... [Android] Creating dark mode android12splash images
(    ● ) Generating splash screens ⏳... [Android] Updating launch background(s) with splash image path...
[Android]  - android/app/src/main/res/drawable/launch_background.xml
(     ●) Generating splash screens ⏳... [Android]  - android/app/src/main/res/drawable-night/launch_background.xml
[Android]  - android/app/src/main/res/drawable-v21/launch_background.xml
[Android]  - android/app/src/main/res/drawable-night-v21/launch_background.xml
[Android] Updating styles...
[Android]  - android/app/src/main/res/values-v31/styles.xml
[Android]  - android/app/src/main/res/values-night-v31/styles.xml
[Android]  - android/app/src/main/res/values/styles.xml
[Android]  - android/app/src/main/res/values-night/styles.xml
(    ● ) Generating splash screens ⏳... [iOS] Creating  images
[iOS] Creating dark mode  images
( ●    ) Generating splash screens ⏳... [iOS] Updating ios/Runner/Info.plist for status bar hidden/visible
[Web] Creating images
(  ●   ) Generating splash screens ⏳... [Web] Creating images
(    ● ) Generating splash screens ⏳... [Web] Creating background images
[Web] Creating CSS
(   ●  ) Generating splash screens ⏳... [Web] Updating index.html

✅ Native splash complete.
Now go finish building something awesome! 💪 You rock! 🤘🤩
Like the package? Please give it a 👍 here: https://pub.dev/packages/flutter_native_splash

[15:50:06] Generated splash screens ✅
           Run subprocess: ['C:\\flutter\\bin\\dart.BAT', 'run', 'serious_python:main', 'package', 'D:\\Flet\\Flet-Apps\\Test', '--platform', 'Android',
           '--requirements', 'flet==0.25.0.dev3570', '--exclude', 'build', '--cleanup']
(    ● ) Packaging Python app ⏳...
Built serious_python:main.
(  ●   ) Packaging Python app ⏳... Running package command
Extra PyPi indexes: [https://pypi.flet.dev]
Created temp directory: C:\Users\MUHAMM~1.FAS\AppData\Local\Temp\serious_python_temp23e313b3
Copying Python app from D:\Flet\Flet-Apps\Test to a temp directory
(●     ) Packaging Python app ⏳... Cleanup app
Configured Android/arm64-v8a platform with sitecustomize.py
( ●    ) Packaging Python app ⏳... Installing [flet==0.25.0.dev3570] with pip command to D:\Flet\Flet-Apps\Test\build\site-packages\arm64-v8a
(    ● ) Packaging Python app ⏳... Cleanup installed packages
(   ●  ) Packaging Python app ⏳... Configured Android/armeabi-v7a platform with sitecustomize.py
Installing [flet==0.25.0.dev3570] with pip command to D:\Flet\Flet-Apps\Test\build\site-packages\armeabi-v7a
(  ●   ) Packaging Python app ⏳... Cleanup installed packages
(    ● ) Packaging Python app ⏳... Configured Android/x86_64 platform with sitecustomize.py
Installing [flet==0.25.0.dev3570] with pip command to D:\Flet\Flet-Apps\Test\build\site-packages\x86_64
(●     ) Packaging Python app ⏳... Cleanup installed packages
(  ●   ) Packaging Python app ⏳... Configured Android/x86 platform with sitecustomize.py
Installing [flet==0.25.0.dev3570] with pip command to D:\Flet\Flet-Apps\Test\build\site-packages\x86
(   ●  ) Packaging Python app ⏳... Cleanup installed packages
(     ●) Packaging Python app ⏳... Creating app archive at D:\Flet\Flet-Apps\Test\build\flutter\app/app.zip from a temp directory
Writing app archive hash to D:\Flet\Flet-Apps\Test\build\flutter\app/app.zip.hash
(    ● ) Packaging Python app ⏳... Deleting temp directory
[15:50:59] Packaged Python app ✅
           Run subprocess: ['C:\\flutter\\bin\\flutter.BAT', 'build', 'apk', '--build-name', '1.0.1']
(    ● ) Building .apk for Android ⏳...
Downloading packages...
(  ●   ) Building .apk for Android ⏳...   characters 1.3.0 (1.3.1 available)
  clock 1.1.1 (1.1.2 available)
  collection 1.18.0 (1.19.1 available)
  fl_chart 0.68.0 (0.69.0 available)
  flutter_lints 2.0.3 (5.0.0 available)
  http_parser 4.0.2 (4.1.1 available)
  js 0.6.7 (0.7.1 available)
  lints 2.1.1 (5.1.0 available)
  material_color_utilities 0.11.1 (0.12.0 available)
  meta 1.15.0 (1.16.0 available)
  path 1.9.0 (1.9.1 available)
  screen_retriever 0.1.9 (0.2.0 available)
  sensors_plus 4.0.2 (6.1.0 available)
  sensors_plus_platform_interface 1.2.0 (2.0.0 available)
  shelf 1.4.1 (1.4.2 available)
  toml 0.15.0 (0.16.0 available)
  url_strategy 0.2.0 (discontinued)
! wakelock_plus 1.2.8 (overridden)
! web 1.1.0 (overridden)
  web_socket_channel 2.4.5 (3.0.1 available)
  window_manager 0.3.9 (0.4.3 available)
Got dependencies!
1 package is discontinued.
19 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
(●     ) Building .apk for Android ⏳...
Font asset "CupertinoIcons.ttf" was tree-shaken, reducing it from 257628 to 209160 bytes (18.8% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.
Font asset "MaterialIcons-Regular.otf" was tree-shaken, reducing it from 1645184 to 1261080 bytes (23.3% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.
(   ●  ) Building .apk for Androi   41.1s
(   ●  ) Building .apk for Android ⏳... ✓ Built build\app\outputs\flutter-apk\app-release.apk (63.5MB)
[15:51:44] Built .apk for Android ✅
           Copying build output from: D:\Flet\Flet-Apps\Test\build\flutter\build\app\outputs\flutter-apk\*
           Copied build to builds/Test/apk directory ✅
           Successfully built your .apk for Android! 🥳 Find it in builds/Test/apk directory. 📁

Additional details
No response

#4244 dup


Code cleanup and fix the bug that the default make goal can not work

fix the bug that the default make goal can not work, make (without goal name) can work well now
refactor the Makefile format and align it with volcano-sh/devices

Interested in this project, how to better participate in it, is there a roadmap?

/assign @archlitchi

thanks for fixing that issue, future roadmap including 'add arm64 support, compatible with nvidia-device-plugin v0.15, implement in dra api`, you can add my wechat 'xuanzong4493' if you are interested

/lgtm


Update sorting

Changes proposed in this pull request

Update Name label to Alphabetical
Unbold label for large screens
Hide sort feature when search results present

Guidance to review
After

Update Name label to Alphabetical
we don't actually do this in the code?


Build parent pom on component test test with solr upgrade

Description

Target

[ ] I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)

Tracking

[ ] If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

[ ] I checked that each commit in the pull request has a meaningful subject line and body.

[ ] I have run mvn clean install -DskipTests locally from root folder and I have committed all auto-generated changes.

/component-test solr

/component-test solr

in fact I cannot test here because it seems not picking the modified scripts to test the PR


TS0601_thermostat_1 ( _TZE200_a4bpgplm ) Thermostatic radiator valve

please add support for :
Feature description
Modèle Zigbee:TS0601
Constructeur Zigbee:_TZE200_a4bpgplm
Description:Thermostatic radiator valve
Supporté:Supporté
Constructeur:TuYa
Modèle:TS0601_thermostat_1
Feature definition
{
"battery": 43,
"boost_heating": "OFF",
"child_lock": "UNLOCK",
"current_heating_setpoint": "18.0",
"friday_schedule": " 6h:0m 20°C,  12h:0m 15°C,  18h:0m 22°C,  22h:0m 15°C ",
"heating": "OFF",
"linkquality": 18,
"local_temperature": "20.6",
"local_temperature_calibration": "-1.0",
"max_temperature": "30.0",
"min_temperature": "5.0",
"monday_schedule": " 6h:0m 20°C,  12h:0m 15°C,  18h:0m 22°C,  22h:0m 15°C ",
"position": "0.0",
"preset": "manual",
"saturday_schedule": " 6h:0m 20°C,  12h:0m 15°C,  18h:0m 22°C,  22h:0m 15°C ",
"sunday_schedule": " 6h:0m 20°C,  12h:0m 15°C,  18h:0m 22°C,  22h:0m 15°C ",
"thursday_schedule": " 6h:0m 20°C,  12h:0m 15°C,  18h:0m 22°C,  22h:0m 15°C ",
"tuesday_schedule": " 6h:0m 20°C,  12h:0m 15°C,  18h:0m 22°C,  22h:0m 15°C ",
"wednesday_schedule": " 6h:0m 20°C,  12h:0m 15°C,  18h:0m 22°C,  22h:0m 15°C ",
"window": "CLOSED",
"window_detection": "OFF"
}
actual err in my log:
caused by position: need to convert to  float as it s 0.0?
2021-12-28 09:36:52.494 Error: Z2M: Exception traceback:
2021-12-28 09:36:52.494 Error: Z2M: ----> Line 298 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py', function onMessage
2021-12-28 09:36:52.494 Error: Z2M: ----> Line 137 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py', function onMessage
2021-12-28 09:36:52.494 Error: Z2M: ----> Line 167 in '/home/pi/domoticz/plugins/zigbee2mqtt/mqtt.py', function onMessage
2021-12-28 09:36:52.494 Error: Z2M: ----> Line 214 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py', function onMQTTPublish
2021-12-28 09:36:52.494 Error: Z2M: ----> Line 61 in '/home/pi/domoticz/plugins/zigbee2mqtt/devices_manager.py', function handle_mqtt_message
2021-12-28 09:36:52.494 Error: Z2M: ----> Line 64 in '/home/pi/domoticz/plugins/zigbee2mqtt/adapters/base_adapter.py', function handle_mqtt_message
2021-12-28 09:36:52.494 Error: Z2M: ----> Line 193 in '/home/pi/domoticz/plugins/zigbee2mqtt/devices/device.py', function handle_message
2021-12-28 09:36:52.494 Error: Z2M: ----> Line 171 in '/home/pi/domoticz/plugins/zigbee2mqtt/devices/device.py', function get_device_args
2021-12-28 09:36:52.494 Error: Z2M: ----> Line 10 in '/home/pi/domoticz/plugins/zigbee2mqtt/devices/switch/level_switch.py', function get_numeric_value
could you add or ignore them?
2021-12-28 09:37:14.105 Error: Z2M: Valve-1: can not process numeric item "max_temperature"
2021-12-28 09:37:14.106 Error: Z2M: Valve-1_A: can not process numeric item "min_temperature"
2021-12-28 09:37:14.106 Error: Z2M: Valve-1_A: can not process binary item "window"
2021-12-28 09:37:14.106 Error: Z2M: Valve-1_A: can not process binary item "heating"
2021-12-28 09:37:14.107 Error: Z2M: Valve-1: can not process binary item "boost_heating"
2021-12-28 09:37:14.107 Error: Z2M: Valve-1: can not process numeric item "boost_heating_countdown"
thx

I doubt if this supposed to be marked as a new feature or as a bug. I experience the same issue but the information in MQTT is correct. It is the processing of the data that fails somewhere. The model type TS0601_thermostat contains the same items that doesn't fail.
I encounter similar issues with climate sensor  "lumi.sensor_motion.aq2", as well.

Finaly found how to correct error in lever_switch.py:
import domoticz
from devices.device import Device
class LevelSwitch(Device):
def create_device(self, unit, device_id, device_name):
return domoticz.create_device(Unit=unit, DeviceID=device_id, Name=device_name, Type=244, Subtype=73, Switchtype=7)
def get_numeric_value(self, value, device):
return 1 if float(value) > 0 else 0
def get_string_value(self, value, device):
return str(value)

Thanx for the trick. Probably, the change need to be taken into account in the GIT, otherwise we'll have to fix it every update.

solved by last update position as %


Minimum Windows Version Should be listed.

The minimum Windows version should be listed in the documentation as this event was introduced in Windows 10 1803

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

ID: f824fb69-0ca4-5238-a081-2e2ea1bd1869
Version Independent ID: 571e2059-feb0-ff13-e797-58b5e4650b9f
Content: NavigationView.BackRequested Event (Windows.UI.Xaml.Controls) - UWP app developer
Content Source: https://cpubwin.visualstudio.com/DefaultCollection/windows-uwp/_git/winrt-api-build?path=%2fwinrt-api-build%2fwindows.ui.xaml.controls.navigationview.yml&version=GBlive&_a=contents
Product: uwp
Git Login: wdg-dev-content
Microsoft Alias: wdg-dev-content

It should be a priority to show the minimum supported version for events as it's very easy to write code which will crash otherwise and it's not that easy to test on older platforms.

This was missing from the docs for a long time but is finally back.

Actually ... it's still not on these events or properties. I don't know why. @IrinVoso

It's at least listed in the version history of the class. But in my opinion this should also be listed here.

All member pages should now have this information in the Applies to section.


Method names being cut in GUI list box

I think this was possibly mentioned in a previous issue or at a lab meeting, but could we find a better solution for the naming convention and/or GUI style of the drop-down list for the methods names? As it is now, it goes /Category/Category/.../MethodName, meaning that every method name is is cut in the GUI:

For example, switching from qMT SPGR to qMT SIRFSE results in the same same visible text in the list box above.
For users, I think the method being used should be immediately apparent (e.g. if someone took a screenshot of their processing session and sent it to someone, the other person should be able to replicate the settings, but they must be able to see the method being used).
Maybe the solution would be to omit things like "Myelin Imaging" altogether in the GUI (and instead indicate it in the Doc?) and simply list the methods? Or, place the method name first in the list box, and then to the right of it the supporting information could be placed for beginner users when they use the drop down button?

55d77aecb2a8026d91ba04036d8d21441bd7f818


Apply native styles and classes for bootstrap theme

http://v4-alpha.getbootstrap.com/components/alerts/

Hi, v3 released and now has a theme named bootstrap-v4 with v4's styles.


Update deep sleep wakeup causes

Description
Updated Wakeup causes to latest list
This completes work started in PR #165
Motivation and Context
Types of changes

[ ] Improvement (non-breaking change that improves a feature, code or algorithm)
[x] Bug fix (non-breaking change which fixes an issue with code or algorithm)
[ ] New feature (non-breaking change which adds functionality to code)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Config and build (change in the configuration and build system, has no impact on code or features)
[ ] Dependencies (update dependencies and changes associated, has no impact on code or features)
[ ] Unit Tests (add new Unit Test(s) or improved existing one(s), has no impact on code or features)
[ ] Documentation (changes or updates in the documentation, has no impact on code or features)

Checklist:

[x] My code follows the code style of this project (only if there are changes in source code).
[ ] My changes require an update to the documentation (there are changes that require the docs website to be updated).
[ ] I have updated the documentation accordingly (the changes require an update on the docs in this repo).
[x] I have read the CONTRIBUTING document.
[ ] I have tested everything locally and all new and existing tests passed (only if there are changes in source code).
[ ] I have added new tests to cover my changes.

Minor change will just merge when checks complete


Training Log

May I ask if you could provide the training log information? Additionally, we have noticed slower training speeds on 8 V100 GPUs. We are unsure of the reason for this.

Sorry, we do not save the training log into files. May I know how long it takes for one training step?

For the V100, each step takes about 2 minutes. We suspect it might be a data precision issue. Initially, we opted for BF16, but V100 doesn't support training with BF16. It's possible that DeepSpeed automatically converted it to float32. Afterward, we switched to half-precision, and each step now takes around half a minute.

We haven't tried training on V100. But we could provide some statistics on 3090. For 13B model, one step takes around 30 seconds on bf16 for 8 * 3090 GPUs.

@Noietch have you solved the problem? i am also meeting the same issue, taking 2 minutes per step.


Create first release

Create first 0.1.0 release which is completed in terms of bom uploading.

 Release BOM Upload


MF Connector can incorrectly show MF WASM module is installed (when it is not)

Describe the bug
If the MF WASM module isn't installed but the sim is running, MF Connector will indicate it the WASM module is installed, but communication with MSFS will be broken.
Steps To Reproduce
Steps to reproduce the behavior:

Remove mobiflight-event-module from the MSFS Community folder
Launch MSFS and confirm the mobiflight-event-module isn't present in the DevMode packages

Launch MobiFlight and observe that it indicates that WASM module is present even though it's not installed

Expected behavior
Sim Status at the bottom of the MF window would indicate the WASM module is missing.
Actual behavior
Sim Status at the bottom of the MF indicate the WASM module is installed.
Details

MobiFlight Version: 9.2.0
FlightSim: <IP_ADDRESS>

I took a quick look at this and it's more complicated than I thought it would be. The "WASM Module (MSFS2020)" text isn't actually an indication of the WASM module being installed. It's simply the text shown to indicate that SimConnect is used to communicate with FS2020:
https://github.com/MobiFlight/MobiFlight-Connector/blob/3792b5630b08aca62e206d80aea2c1731f170113/UI/MainForm.cs#L700-L705
I'm not sure there's any property anywhere that actually indicates whether the WASM module is installed.

That is very weird.  In my mind, I thought that the "MSFS2020 detected" flag was for SimConnect and the "WASM Module (MSFS2020)" flag was to indicate that the wasm module was installed and alive.

Was a misunderstanding on my part as well. I'll keep this in the back of my mind, will investigate possibilities for detection. A few that come to mind:

Check for the presence of the file based on the installation location (not ideal, but would better than nothing)
Try a round trip test when the SimConnect connection is first established (e.g. write the current ticks to L:MF_Connector_Active then attempt to read it via SimConnect to ensure the value can be written and subsequently read)

No, no - the green check mark should be the indication and I find it awkward too if the green check mark indicates that the WASM module is OK when it is not


Problem with tmux-resurrect

tmux-resurrect is an amazing tmux plugin that allows your tmux sessions to be  persistent after reboot. It has an amazing feature that allows you to also load your vim/nvim sessions afterwards as especified here restore-vim-sessions. Now the issue is when I restore my tmux session it attempts to automatically load all nvim sessions but for some reasons it can't. The feature requires that the corresponding session.vim are present in order to be able to load them. Hope anyone can reproduce the issue, thanks in advance. Sorry for opening the other issue :pray:. Amazing nvim plugin btw.

Hi, looking into restore-vim-session code it seems to rely on the -S parameter when starting vim, and on the fact that vim-obsession stores session files in current directory as Session.vim.
So there are 2 problems with implementing this using possession.nvim:

Possession uses JSON files and stores the usual content of session.vim in the vimscript field in the JSON
Possession stores session files in a common directory (defaults to ~/.local/share/nvim/possession), not in the current dir

So this is harder to implement than it is when using the vim-obsession model.
To implement auto-restoring of sessions you would need some way of knowing which session should be restored in which directory. Vim-obsession just checks if Session.vim is in current directory. In possession it is possible to list all the sessions using possession.query.as_list, you would then need to find the ones with session.cwd matching the current directory. Then you could load the matching one (and somehow handle the case when more than 1 session matches).
Then you would need to expose this in some convenient command so that it's possible to just call it from command line. Currently you can nvim -c "PossessionLoad MySession", but ideally we would have nvim -c "PossessionLoadCwd" or something similar (it would auto-determine which session to load, if any).
So integration with tmux-resurrect boils down to auto-loading, which has also been discussed in https://github.com/jedrzejboczar/possession.nvim/issues/3 and https://github.com/jedrzejboczar/possession.nvim/issues/12. I don't know what would be best approach to this, so I don't think I would be implementing this anytime soon. But if someone would like to implement auto-loading I'd be happy to help.

Thanks for the reply @jedrzejboczar, I assumed it would be tedious to do given the way this plugin works. Glad to hear i'm not the only one looking for automatic session load/restore.


Make iced_winit Clipboard public

While it would be simple to re-implement, making this type public would be convenient for having clipboard access without using the Application trait.

I "accidentally" force-pushed the wrong branch to your master branch when trying to fix the compiler errors :sweat_smile:
In any case, this seems acceptable. I reopened the PR in #178, fixed the issues and merged it. Thank you :clinking_glasses:


Use a local TCP server that doesn’t accept connections on macOS for testConnectTimeout()

We have observed some test failures on our CI where <IP_ADDRESS> accepts connection but it shouldn't.
Luckily, this happens only on macOS and we can workaround this by creating a local TCP server with a backlog of 1.
This server will only send a SYN/ACK back to the first connection as it doesn't actually accept the connection. Further connection attempts will not see a SYN/ACK. We can use this behaviour to test a connection timeout on macOS.
The backlog behaviour on Linux can not be used to simulate a non-reachable server. Linux sends a SYN/ACK back even if the backlog queue is full as it has two queues. The second queue is not limit by ChannelOptions.backlog but by /proc/sys/net/ipv4/tcp_max_syn_backlog. We will therefore fallback to <IP_ADDRESS> on Linux.

Swift 5.7 & nightly fails because of Sendable warnings.


Stream copier (used in distcp) accepts a Limiter on the bytes transfe…

…rred.

@pcadabam can you review?

LGTM


Bumps Mockito from 4.7.0 to 5.1.0, ByteBuddy from 1.12.18 to 1.12.22

Signed-off-by: Andriy Redko<EMAIL_ADDRESS>
Description
Bumps Mockito from 4.7.0 to 5.1.0, ByteBuddy from 1.12.18 to 1.12.22
Issues Resolved
N/A
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[X] Commits are signed per the DCO using --signoff
[X] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

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.

Gradle Check (Jenkins) Run Completed with:
* **RESULT:** FAILURE x

* **URL:** https://build.ci.opensearch.org/job/gradle-check/10178/

* **CommitID:** [5cfd99a](https://github.com/opensearch-project/OpenSearch/commit/5cfd99aaf481ee8ff6f5f834941c5346cfe7ad80)
  Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green.
  Is the failure [a flaky test](https://github.com/opensearch-project/OpenSearch/blob/main/DEVELOPER_GUIDE.md#flaky-tests) unrelated to your change?

https://github.com/opensearch-project/OpenSearch/issues/6065 :(

Looks like there is a merge conflict.
@dependabot rebase


windows 7 x64 problem?

hello
im using youtube-dl with sinusbot for teamspeak.
this worked very nice for a long time - until 2-3 months now?
so i updated to the lastest binaries and it gave me this error on windows 7 x64 if i try to run.

if also checked here some older versions..
http://www.videohelp.com/software/youtube-dl/old-versions
some of them dont give me this error on start but they seam to be outdated and does not download anything. the last ~15 binaries give me the same error on start ..
i read all the readme and faq, all win-updates and ddl incl. msvcr100 are up2date.
also ive checked on win10 x64.. the lastest binaries are working without any problem - so is there a win7x64 problem since the last ~15 binaries?
thanks!

Could you also try files on https://github.com/rg3/youtube-dl/releases/? Files on videohelp may be modified

heya,
ive tested your releases and still no luck. also checked on another win7 x64 machine, same error. :(

On my Windows 7 it works. I'm afraid this won't be solved until another developer can reproduce it.
There are alternatives, for example download Python and run python.exe youtube-dl. Here youtube-dl is the Linux/Mac version at http://yt-dl.org/downloads/latest/youtube-dl

Don't double click it , open via cmd , and verify it. It looks as the file you downloaded is partial . Download the latest binaries once more and save it in a different folder . Then open cmd (win+r) and navigate to that path. It will work

@yan to partially reproduce it make a new account with guest or normal privilege , and don't let it to run any executable I.e no write or execute permission . It would be reproduced . So set the YouTube-dl to executable using properties , permission and set as admin or any other a/c which has read, write and  exec permission

@siddht1 Did you mean the problem is also there with a correct binary?

@yan12125 I was able to reproduce it partially where

A given login account has only access to read files , c is disabled.
Cmd has no direct access to system32 , can be done via policy.msc .

For the  binary file to be really incomplete @gehbitte has to message the checksum or sha25 or md5 of it.
It may even be reproduced if all the given conditions are true

Just googled 0xc00007b , it shows either there is error with directx or dot net. As  dot net would be probable for this issue . @gehbitte should really re install or remove it. Source: http://www.gadgetsupersite.com/0xc00007b-error-fix/

Did you install the 32bit version or 64?
I was using 64 copied next to the youtube-dl.exe, that would give me the error reported above, then I did the first thing I should have done, I read the instructions 😆  http://ytdl-org.github.io/youtube-dl/download.html
"
Windows exe requires Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package (x86) and does not require Python that is already embedded into the binary.
"
followed the link and installed the x86, and it works.
Hope that helps someone.