Device Request - [Smart Led Light Bulb MR16 12V RGBCW Dimmable Spotlight] - [Benexmart] / [TS0505B]

Prerequisites:

Before requesting a device addition, please ensure there is not already a request for the device among the open issues.
Make sure your Homey is upgraded to firmware v5 or higher.
You need a physical example of the device.

Device Information

Device Name: Benexmart Tuya Zigbee Smart Led Light Bulb MR16 12V RGBCW Dimmable Spotlight
Device Model: TS0505B
Device Description: GU10 RGB bulb
Link to device image: https://www.aliexpress.com/item/1005006197841900.html?spm=a2g0n.order_detail.order_detail_item.3.4768f19clULPQQ

Device Interview
{
  "ids": {
    "modelId": "TS0505B",
    "manufacturerName": "_TZ3210_bfwvfyx1"
  },
  "endpoints": {
    "endpointDescriptors": [
      {
        "endpointId": 1,
        "applicationProfileId": 260,
        "applicationDeviceId": 269,
        "applicationDeviceVersion": 0,
        "_reserved1": 1,
        "inputClusters": [
          0,
          3,
          4,
          5,
          6,
          8,
          768,
          4096,
          61184
        ],
        "outputClusters": [
          10,
          25
        ]
      },
      {
        "endpointId": 242,
        "applicationProfileId": 41440,
        "applicationDeviceId": 97,
        "applicationDeviceVersion": 0,
        "_reserved1": 0,
        "inputClusters": [],
        "outputClusters": [
          33
        ]
      }
    ],
    "endpoints": {
      "1": {
        "clusters": {
          "basic": {
            "attributes": [
              {
                "acl": [
                  "readable"
                ],
                "id": 0,
                "name": "zclVersion"
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 1,
                "name": "appVersion"
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 2,
                "name": "stackVersion"
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 3,
                "name": "hwVersion"
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 4,
                "name": "manufacturerName"
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 5,
                "name": "modelId"
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 7,
                "name": "powerSource"
              },
              {
                "acl": [
                  "readable",
                  "writable"
                ],
                "id": 18,
                "name": "deviceEnabled"
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 16384,
                "name": "swBuildId"
              },
              {
                "acl": [
                  "readable",
                  "writable"
                ],
                "id": 65502
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 65533,
                "name": "clusterRevision"
              }
            ],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          },
          "identify": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "writable"
                ],
                "id": 0,
                "name": "identifyTime",
                "value": 0
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 1
              }
            ],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          },
          "groups": {
            "attributes": [
              {
                "acl": [
                  "readable"
                ],
                "id": 0,
                "name": "nameSupport",
                "value": {
                  "type": "Buffer",
                  "data": [
                    0
                  ]
                }
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 1
              }
            ],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          },
          "scenes": {
            "attributes": [
              {
                "acl": [
                  "readable"
                ],
                "id": 0
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 1
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 2
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 3
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 4
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 1
              }
            ],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          },
          "onOff": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "name": "onOff",
                "value": true,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 16384
              },
              {
                "acl": [
                  "readable",
                  "writable"
                ],
                "id": 16385,
                "name": "onTime",
                "value": 0
              },
              {
                "acl": [
                  "readable",
                  "writable"
                ],
                "id": 16386,
                "name": "offWaitTime",
                "value": 0
              },
              {
                "acl": [
                  "readable",
                  "writable"
                ],
                "id": 16387
              },
              {
                "acl": [
                  "readable",
                  "writable"
                ],
                "id": 32770
              },
              {
                "acl": [
                  "readable",
                  "writable"
                ],
                "id": 53296
              },
              {
                "acl": [
                  "readable",
                  "writable"
                ],
                "id": 32769
              },
              {
                "acl": [
                  "readable",
                  "writable"
                ],
                "id": 32768
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 1
              }
            ],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          },
          "levelControl": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "name": "currentLevel",
                "value": 249,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 1,
                "name": "remainingTime",
                "value": 32327
              },
              {
                "acl": [
                  "readable",
                  "writable"
                ],
                "id": 16384
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 1
              }
            ],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          },
          "colorControl": {
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          },
          "touchlink": {
            "attributes": [],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          }
        },
        "bindings": {
          "time": {
            "attributes": [],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          },
          "ota": {
            "attributes": [],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          }
        }
      },
      "242": {
        "clusters": {},
        "bindings": {}
      }
    }
  }
}

Additional Comments:

Note: Provide any other relevant information or requests related to the device. Link to where you bought the device can be of help

How to interview a device

Add the device as a generic Zigbee device in Homey
Navigate to https://developer.athom.com/tools/zigbee.
Interview the device, the button for this is to the right of the device in the list of Zigbee units.
Click the copy button/icon to capture the device information.
Paste the copied information above.

Note: To be able to add more devices to the Tuya Zigbee app, we rely on community members like you to provide interviews of the devices you want to be added. Thank you for your contribution!

I guess this device must be almost identical to the allready supported device RGB Spot GU10 _TZ3000_kdpxju99 / TS0505A (LIVARNO LUX / Lidl). So if someone could point me in the right direction where do the code change, i might be able to copy the TS0505A code and adjust it to this device.


Update instantaneous zenith angle computation

Purpose
Update instantaneous zenith angle computation
Issue: https://github.com/CliMA/ClimaAtmos.jl/issues/2314

[x] I have read and checked the items on the review checklist.

bors r+

bors r+


[Bug] state:modified detection incorrect when config() block generated by macro with dynamic sql_header

Is this a new bug in dbt-core?

[X] I believe this is a new bug in dbt-core
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
IF:

a model's content, including its config() block, is generated via a macro
and that macro produces a model with set_sql_header generating a dynamic header based on config or the model
and dbt is invoked with a different target with the --state flag,

then state:modified detection always returns that the model has changed. See "Steps to Reproduce" for a minimal reproducible example.
Expected Behavior
state:modified should not detect a change when no model sources or macros involved have changed.
Steps To Reproduce
$> cat models/foo.sql
{{ generate_foo() }}

$> cat macros/generate_foo.sql
{%- macro generate_foo() -%}

{{ config(
    materialized='table'
) }}

{% call set_sql_header(config) %}
declare some_var timestamp default (
    select MAX(some_col) from {{ this }}
);
{% endcall %}

select 1 as some_col

{%- endmacro -%}

$> rm -rf target{,_old} && dbt --target dev compile && mv target{,_old} && dbt --target prod ls --select state:modified --state target_old
17:53:01  Running with dbt=1.9.0
17:53:02  Registered adapter: bigquery=1.9.0
...
<project_name>.foo

This occurs even with state_modified_compare_more_unrendered_values set as true:
flags:
  # See https://docs.getdbt.com/reference/node-selection/state-comparison-caveats#false-positives
  state_modified_compare_more_unrendered_values: True

The bug does not occur if set_sql_header in the macro has a constant body (e.g. select TIMESTAMP("1970-01-01")). The bug also does not occur if the model is not generated entirely via macro.
The bug can be avoided if a dummy config() statement is put in the model source:
$> cat models/foo_shim.sql
{{ config(materialized='whatever') }}
{{ generate_foo() }}

and foo_shim does not show as modified when running the same above statement.
Relevant log output
See above.

Environment
- OS: Mac 14.7.1
- Python: 3.12.1
- dbt: 1.9.0

Which database adapter are you using with dbt?
bigquery
Additional Context
No response

Thanks such a nice write-up @pbotros 🏆
I see what you are saying about state:modified in this case.
I saw the same issue as you when I tried this with dbt-duckdb.
The workarounds also worked for me with one lone exception: the config shim trick didn't work for me. But maybe it does specifically for dbt-bigquery -- I didn't try it out since it didn't affect the key thing you are raising here.


webgui or web api

Hi guys, first of all I would like to congratulate for the great open-source project.
Are there any plans to implement a web interface?
Is there some other way to use Frostwire as an headless client?

We're planning on doing so for FrostWire 7.0 for desktop.
We're still not sure if we'd have a headless client though.
It will all depend on how easy it will be to bridge the interactions between the HTML and our Java code, we'll be using a lightweight SWT based browser component to render/execute HTML/CSS/Javascript, most likely, initially it won't be headless but maybe that's the way it'll go. We also need FrostWire on the server for many different things, for now we work our way directly with frostwire-jlibtorrent which is how I'd recommend you use FrostWire's Bittorrent capabilities in a headless way, but you'll need to know Java and soon you'll also be able to use the api with javascript [work in progress].


⚠ Samsung has degraded performance

In 68bfa7f, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2135 ms

Resolved: Samsung performance has improved in a0bf407.


Code actions not given for langlib method invocation without initial quote

Description:
Consider the bellow image

Code actions not given for langlib method invocation without initial quote. It works for langlib methods with initial quote.

Affected Versions:
Swan Lake Alpha2

Create variable code action is suggested based on the variable assignment required diagnostic, and in this particular case we do not get the particular diagnostic.

@lochana-chathura, @MaryamZi Could you please check whether this is allowed in the spec.
int:sum()

IIRC, this is allowed, because int is a built-in prefix.

@lochana-chathura, @MaryamZi Could you please check whether this is allowed in the spec.
int:sum()

IIRC, this is allowed, because int is a built-in prefix.

@hasithaa this is allowed, since we treat int as a predeclared module, and for the API consumers this should be seamlessly visible as yet another module alias

@lochana-chathura, @MaryamZi Could you please check whether this is allowed in the spec.
int:sum()

IIRC, this is allowed, because int is a built-in prefix.

Yeah, for function-call-expr the only requirement is that "The function-reference must refer to a variable with function type.".
function-call-expr := function-reference ( arg-list )
function-reference := variable-reference

In this scenario variable-reference is a qualified-identifier qualified-identifier := module-prefix : identifier and the spec says regarding the module-prefix

A reserved keyword t that is a predeclared-prefix is predeclared as referring to the lang.t lang library module, but this can be overridden by an import-decl that imports a module using that prefix. A predeclared-prefix can be used as a module-prefix without using a QuotedIdentifier.


Add libvips observablity functions

@akash-akya, my apologies for a slow response. My MacBook died so getting work done has been a challenge.
These additions are awesome - they really help illustrate the benefits of libvips. I've set up a livebook dynamic graph that shows memory consumption and it seems to really demonstrate well (its not yet pushed to GitHub).

@kipcole9 thanks!
I'll merge and cut a release soon


Full UI customisation

Hi Fredrik,
Thank you for the awesome package. This is more a suggestion or perhaps a feature request 😂 rather than an issue. Any plans to make the UI fully customisable through customStyles a feature? As a UX&D, coding is not my forte; however, your package allows me to translate my ideas into something tangible. It would be great to have this feature in the future!
Thank you again for the package.
D

Hey! Do you know CSS? You can just grab the elements classnames from the inspector and customize the UI that way. Each element should have a corresponding css class you can use :)

Yes, I know a bit of coding but I am no expert. Oh, I see. I can overwrite the current styles. I was trying to create extra styles directly on node_modules but those were not being applied to the current App.js
Thank you for the heads up!  I will try that now. 👍

Good morning @FredrikOseberg,
I followed your advice and I managed to changes the styles and sizes in the UI; however, When I build it, the style comes back. Why is this happening?
Comparison
Thank you in advance.

Good morning @FredrikOseberg,
I followed your advice and I managed to change the styles and sizes in the UI; however, When I build it, the style comes back. Why is this happening?
Comparison
Thank you in advance.

I suspect it's due to the way webpack injects the styles. I'm going to release a new version in the future where I extract a stylesheet, for now a dirty hack would be to mark your styles with !important.

@FredrikOseberg, that would be super cool. Like I mentioned before, I am not a Front-end, but the skill is something I want to develop. If you need any help with this, I would be willing to help under guidance. 👍

@FredrikOseberg, that would be super cool. Like I mentioned before, I am not a Front-end, but the skill is something I want to develop. If you need any help with this, I would be willing to help under guidance. 👍

Thanks! I wouldn't mind some help if you have the time. I think it would be as easy as implementing this plugin into the webpack.config.js file and making sure it produces an css file output: https://webpack.js.org/plugins/mini-css-extract-plugin/
Is this something you are able to handle?
Fredrik

@FredrikOseberg I will try. Two things can happen, fail or success. 😂 I will give it a go and let you know. Any problem I will come back with a question. 👍

@FredrikOseberg Any update on this new build config? Having trouble overriding styles in production builds. Happy to try updating webpack as well if not in-progress.

@FredrikOseberg Any update on this new build config? Having trouble overriding styles in production builds. Happy to try updating webpack as well if not in-progress.

Yeah. I've been working on replacing the style-loader and actually extract a CSS sheet. I've finished the feature, but I wanted to include more changes before releasing version 2.0.0.
I've built an alpha version for you that you can use. If you install this version 2.0.0-alpha.0:
// package.json
react-chatbot-kit: "2.0.0-alpha.0"

This should allow you to test this new functionality. Now you need to add the following in the component where you are using the chatbot:
import Chatbot from 'react-chatbot-kit'
import 'react-chatbot-kit/build/main.css'

That should allow you to properly override the styles by ordering the imports. This is freshly released, so if you want to try it out and report back if you find any bugs I'd be grateful.

Awesome. I'll give this a try and open issues for anything I find. Much appreciated!

@FredrikOseberg This looks good to me. So far I can't find any issues and solved my build problems. I'd say issue resolved.


Should i start using new release?

i know i will replace url and keyword files but there anymore changes i would need to make?

No other changes


Fix S3DirectoryLoader exception

#9304 introduced a critical bug. The S3DirectoryLoader fails completely because boto3 checks the naming of kw arguments and one of the args is badly named (very sorry for that)
cc @baskaryan

cc @baskaryan @hwchase17


add redhat84 e2e

What type of PR is this?
/kind feature
add redhat84 compatibility case
Special notes for your reviewer:

/approve

/lgtm


[10.x] Add Str::unwrap

This PR adds a reverse option to Str::wrap called Str::unwrap. It seemed unnatural to not have a reverse option for this, as I have found needs for this in various projects.
This is useful where you want to unwrap strings surrounded in quotes, or remove start and end delimiters of things, such as a JSON object:
// Unquote
Str::unwrap('"Unquote"', '"');

// some: "json"
Str::unwrap('{ some: "json" }', '{', '}');

I propose having this with its improvement in Str::between() and make unwrap an alias since Str::between() is technically unwraps given string.

I think make between's 3rd param to accept null and make alias for unwrap to match the behaviour.

I think this is fine - it is a bit different than between, though subtly.


maglev: Add native implementation of murmur3

See commit messages.

retest-net-next

test-me-please

@errordeveloper @tklauser Thanks for the review! Some comments have been addressed, PTAL.

Just a comment at the top of the file maybe?

@pchaigno Do you mean to add a package comment to pkg/murmur3/murmur3.go?

Just a comment at the top of the file maybe?

@pchaigno Do you mean to add a package comment to pkg/murmur3/murmur3.go?

Yeah, but there's already one. Not sure how I missed it. LGTM in any case :-)

test-me-please

CI 4.19 failed due to K8sDatapathConfig_Transparent_encryption_DirectRouting_Check_connectivity_with_transparent_encryption_and_direct_routing:
/home/jenkins/workspace/Cilium-PR-K8s-1.19-kernel-4.9/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:514
cilium pre-flight checks failed
Expected
    <*errors.errorString | 0xc001aa82c0>: {
        s: "Cilium validation failed: 4m0s timeout expired: Last polled error: connectivity health is failing: Cluster connectivity is unhealthy on 'cilium-tz8z6': Exitcode: 255 \nErr: exit status 255\nStdout:\n \t \nStderr:\n \t Error: Cannot get status/probe: Put \"http://%2Fvar%2Frun%2Fcilium%2Fhealth.sock/v1beta/status/probe\": context deadline exceeded\n\t \n\t command terminated with exit code 255\n\t \n",
    }
to be nil
/home/jenkins/workspace/Cilium-PR-K8s-1.19-kernel-4.9/src/github.com/cilium/cilium/test/helpers/manifest.go:316

Re-running.

retest-4.19

retest-4.9


Where do I put my own custom code when deploying SocketCluster via Kubernetes?

Hi there,
I've been trying to figure this out for a bit now but I'm still not fully clear on how this all works. We've identified a number of use cases for our project and SocketCluster seems to check all the boxes where most don't. The thing I am stuck on is the following:
We have set up SocketCluster using the Kubernetes guide linked to on the front page of the website. This seems to be up and working as we get the "random" event coming through perfectly fine. In this method though I am confused as to where we write code that responds to socket requests from clients? Are we supposed to use the socketcluster-server NPM package to create our logical nodes? Though this doesn't seem correct though.
At this point, we seemingly have a working cluster, but I'm not sure how to tie our server code into it after reading about SocketCluster for a number of days. I don't know if that's on my inability to understand the documentation or a shortcoming of the documentation. If the later I hope I can help get clarification for myself and others that end up in our situation.

So the answer(s) that have come up are the following:

The SocketCluster Kubernetes Guide creates a default, example, SocketCluster server/worker that generates the random number and emits it over the "random" event.

To remove the "random" event, remove the worker or stop using the example server and make your own.

SocketCluster is actually 3 parts:

A state manager: this manages state as the socket connections spread across many nodes.
A message broker: this seems to manage ensuring messages are sent only to the correct places.
A server: this is where your application logic goes. This connects to both the broker and state manager so it can be scaled horizontally.

Yes, we did have a working cluster.

Does this seem like a fair breakdown @jondubois?

Yes because the socketcluster image which is currently available on DockerHub is built from that sample. It's possible to attach a volume container to replace the default worker.js file. IMO, we should remove that sample logic from the socketcluster repo in the future because a lot of people just want to run the container as-is without adding any custom logic.

Right now yes, you an build your own image or you can attach a new worker.js file as a volume to the Docker container (but it's a bit tedious to do manually and requires a good understanding of Docker). There is a command line tool which makes this easier: https://www.npmjs.com/package/baasil

Yes everything you said here is essentially true. For horizontal scalability across multiple machines there is scc-state, scc-broker and scc-worker (aka socketcluster Docker image).

We do plan on building it ourselves. Our DevOps guy prefers to understand everything that is going on, and so do I to some degree, so he managed to get it all up and running straight through Rancher and kubectl. Obviously I'll use the example code where I can to speed up the bootstrap a bit, but this clears up a lot of my confusion.
I'll close this issue at this point. Hopefully if anyone has the same mental block of what is going on as I did they can find this and get to a level of clarity.

@firrae If you need any help, we are using SCC in production right now in a Kubernetes cluster on AWS.

@happilymarrieddad I think I have what I need for now. I just need to think through the implementation and where it fits exactly in our stack. Socket.io wouldn't work in our case, but this should if implemented correctly.

@firrae Good to go man. Yea, we actually went away from SCC and are just using dynamic instances of the workers because the clients don't need to communicate with each other anymore. It's a completely different way of handling it but I still have the "old" code, software... things that are months old become "old" lol... it might be useful if you need it... not sure. Good luck!

@happilymarrieddad are you doing this via Baasil and Rancher out of interest? or directly with Kubernetes? Not sure I want them as dependencies in the project, especially as on the face of it they are paid services, especially Baasil being a 30 day trial only. Most information / docs / articles I can find seem to heavily rely on Baasil, and information with vanilla Kubernetes seems light.
Also just noticed, I think I watched one of your videos recently while I was determining if SCC scalability was suitable - https://www.youtube.com/watch?v=A8YrQIsFNdA :)

@poppahorse Yea, sorry I'm not using Baasil. I'm just using Kops and AWS. That being said, I use ingress-nginx for pointing to the internal SCC deployment via the ClusterIP Service. I then have the client apps connect to that endpoint and they are put on one of the broker servers. That broker server listens to changes in the database and sends those changes to the client. Essentially using the database as the sub/pub kind of and then using SC as the message system for publishing those events to the clients. The more clients there are the more brokers that are spun up by kubernetes and it just scales over time. The client's don't really talk with each other but at some point I probably will build out that feature.
As far as that video is concerned, I believe it is really old... I need to make new ones.


⚠ api.piste.gouv.fr healthcheck has degraded performance

In c00bb24, api.piste.gouv.fr healthcheck (https://api.piste.gouv.fr/cassation/judilibre/v1.0/healthcheck) experienced degraded performance:

HTTP code: 200
Response time: 4581 ms

Resolved: api.piste.gouv.fr healthcheck performance has improved in 919cf9b.


Apollo Auto adapter_manager.h not found in Apollo 3.5

I am trying to create IR for each files in Apollo Auto 3.5 using clang++
For files modules/tools/planning/planning_stats.cc, I get an error 'modules/common/adapters/adapter_manager.h' file not found
And I look at the directory, and there is no adapter_manager.h
Can anyone please tell me why this file is missing from apollo auto 3.5?

Yeah, the adapter_manager was retired in v3.5 while the planning_stats tool was missed to be cleaned up until v5.5. Sorry for the trouble.

Is this the same for terminal.cc in the tools module too? Because it’s also
use adapter_manager
On Thu, Jun 18, 2020 at 6:39 PM Xiangquan Xiao<EMAIL_ADDRESS>wrote:

Yeah, the adapter_manager was retired in v3.5 while the planning_stats
tool was missed to be cleaned up until v5.5. Sorry for the trouble.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ApolloAuto/apollo/issues/11349#issuecomment-646357833,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AL6B2VT24K76ZG4XVSXMZILRXKQUDANCNFSM4NMU2GNA
.

Yeah, the adapter_manager was retired in v3.5 while the planning_stats tool was missed to be cleaned up until v5.5. Sorry for the trouble.

Is this the same for terminal.cc in the tools module too? Because it’s also use adapter_manager


MUI (or other UI frameworks) Integration

Is your feature request related to a problem? Please describe.
It looks like Copilotkit uses Radix UI and Tailwind under the hood but our application doesn't use any of them. Considering the effort of implementing our UI framework to CopilotKit vs the effort of building a new component from scratch, it might make sense to provide a Headless version so that we can implement CopilotKit using our UI components easily.
Describe the solution you'd like
I would to see a Headless version that doesn't use any UI component so that I can easily mount my UI framework (MUI now) or direct integration with most common UI frameworks.
Describe alternatives you've considered
I can implement my sidebar plugin but no docs provided.

Sorry I missed your comment @buremba !
That's definitely the plan and on the roadmap.
Would you be interested in working on it perhaps?
I can provide as much support as you'd want.
(I'm not trying to save time on implementation, but rather to get a feel for unnecessary contribution friction).
Please let me know!


Inconsistent Page Size Handling with Large Documents

Apparent Behavior:
Continuation token skipping records when fetching page 2.
When setting a larger page size and dealing with large documents, there is an edge case where Cosmos DB returns fewer items than the desired page size due to size limitations (believed to be 4MB). This results in an issue where the iterator fetches another page of items, causing the total fetched items to exceed the desired amount. The continuation token reflects this higher number, but when iterating through the results, extra records are discarded to match the exact requested count. Consequently, when fetching subsequent pages, records that were discarded are skipped.
Steps to Reproduce / Example Scenario:

Set a large page size (e.g., 50 items).
Fetch documents where the combined size might exceed Cosmos DB's response size limit (4MB).
Observe that Cosmos DB may return fewer items than requested (e.g., 43 instead of 50).
The iterator fetches additional items (e.g., another 50), resulting in a total that exceeds the desired count.
Discard extra items to match the requested count (e.g., discard 34 items to return exactly 50).
The continuation token reflects the total fetched items (e.g., 84), causing subsequent fetches to skip the discarded items.

Expected Behavior / Recommendation:

Drain the entire iterator and potentially return more items than requested.
Dynamically set MaxItemCount based on the remaining number of records needed after continuing.

Reference Code:
DefaultRepository.cs#L50

That's a really interesting edge case, thank you very much for reporting here! Is this something you'd be interested in attempting to fix? I'd be more than happy to review a PR. Just let me know, thanks again @Skylertodd for such a thorough bug report.

When I was initially investigating, I thought it would be easy to dynamically set page size based on remaining records... however it appears that the feedIterator is immutable and it would require a bit of a refactor to separate out the continuation token, query, and paging information.  If I find some time, I might toss something together, for now I decided to work around it by lowering the count of items being returned.


fix(#251): Wait for Kubernetes custom resource condition

Update Kubernetes and Knative client versions
Add steps to verify condition status on a custom resource.

Scenario: Wait for custom resource
    Given create Kubernetes custom resource in foos.foo.dev
"""
apiVersion: foo.dev/v1
kind: Foo
metadata:
  name: test-resource
status:
  conditions:
  - type: Ready
    status: true
"""
    Then wait for condition=Ready on Kubernetes custom resource foo/test-resource in foos.foo.dev/v1

@bouskaJ WDYT? we have to add resource type/version foos.foo.dev/v1 which bloats the step a bit. but it was the only way for me to work with the Java Kubernetes client to identify the custom resource.

Hi @christophd it looks promising. Do we have a build to test?

@bouskaJ let me kick off another pinned snapshot release for you. I will let you know once it is available


Syntax highlighting doesn't work for TOML and YAML

Here are some examples:
Docs for structopt
Rendered

DOM

[dependencies]
structopt = { version = "0.3", features = [ "paw" ] }
paw = "1.0"

Docs for clap
Rendered

DOM

name: myapp
version: "1.0"
author: Kevin K<EMAIL_ADDRESS>about: Does awesome things
args:
    - config:
        short: c
        long: config
        value_name: FILE
        help: Sets a custom config file
        takes_value: true
    - INPUT:
        help: Sets the input file to use
        required: true
        index: 1
    - verbose:
        short: v
        multiple: true
        help: Sets the level of verbosity
subcommands:
    - test:
        about: controls testing features
        version: "1.3"
        author: Someone E<EMAIL_ADDRESS>        args:
            - debug:
                short: d
                help: print debug information

Based on the DOM, it seems like it's being propagated as the correct language (not plaintext or something), but it's not actually being highlighted.

Actually this seems to be a rustdoc bug, it looks like it's occurring locally too.

Filed rust-lang/rust#76685.


iOS ISO7816Tag.sendCommand returns empty string

After tag session started and tag is found, commands are sent down to card, but there are no response codes to see if it actually succeded.
Code snippet:
    NfcManager.instance.startTagSession(onDiscovered: (NfcTag tag) async {
      dynamic c;
      Platform.isAndroid ? c = IsoDep.fromTag(tag) : c = ISO7816.fromTag(tag);
      Uint8List aid = Uint8List.fromList(
          [0xd3, 0x92, 0xf0, 0x00, 0x26, 0x01, 0x00, 0x00, 0x00, 0x01]);
      String recvData;
      try {
        Uint8List recvDataByte;
        Platform.isAndroid
            ? recvDataByte = await c.transceive(commandLine)
            : recvDataByte = await c.sendCommand(
                instructionClass: 0x00, //CLA
                instructionCode: 0xA4, //INS
                p1Parameter: 0x04, //P1
                p2Parameter: 0x0C, //P2
                data: aid,
                expectedResponseLength: 0xFF); //Le

        while (recvDataByte == null) bool wait = true;
        recvData = bytesToString(recvDataByte);

        print("tested comand result: " + recvData);
      } catch (e) {
        print(e.toString());
      }
    });

Tested card in example is a MyNumber card.

This may be due to the fact that it does not return statusWord1 and statusWord2 in ver 1.4.0-dev.
I plan to re-implement these commands in ver 2.0.0-dev.

v2.0.0 has been published. It's not possible to get statusWord1 and statusWord2.


Accessing props/theme in keyframes

It was really hard to work out a way to access props in animation keyframes to make animations themeable. Eventually I came across this comment, which lead me to this approach:
import React from 'react'
import styled, {keyframes} from 'styled-components'

function animation (props) {
  return keyframes`
    to {
      color: ${props.theme.error};
    }
  `
}

// Contrived blinking error message example
export default styled.p`
  animation: ${props => animation} 0.5s infinite;
`

There must be a more elegant way. Whatever it is, lets add it to the keyframes and/or theming docs.

Interesting. I'm not sure it's possible to pass the theme to keyframes, as it's propagated through React context to components. (which keyframes isn't)
Maybe @geelen has an idea how we could achieve this?

If you change a little implementation detail this should work.
// Contrived blinking error message example
export default styled.p`
  animation: ${animation} 0.5s infinite;
`

This doesn't work I don't think @k15a, though we could make that work just like css maybe?

Why not? animation is a reference to a function and functions get called with props as the first argument?

Example: http://www.webpackbin.com/4ydwqilDG

Oh yeah, that's true, but I think we should pass props to functions in keyframes too, just like with css:
const rotate = keyframes`
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(${props => props.rotation || '360deg'});
  }
`

const RotatingBox = styled.div`
  animation: ${rotate} 10s linear infinite;
`

// Usage:

<RotatingBox rotation="180deg" />

Yeah that would be a bit more convenient.

I think we should support this for consistency.

I think I'm running into this as well trying to port one of my CSS loaders to use styled-components.  I tried using @k15a's workaround and making my dash keyframes a function like so:
function dash(props) {
  return keyframes`
    0% {
      stroke-dasharray: ${getCircumference(props.radius)};
      stroke-dashoffset: ${getCircumference(props.radius) * 0.97};
      transform: rotate(-130deg);
    }
    100% {
      stroke-dasharray: ${getCircumference(props.radius)};
      stroke-dashoffset: ${getCircumference(props.radius) * 0.5};
      transform: rotate(-110deg);
    }
  `;
}

but it doesn't seem to have any affect.

Hmm, I kinda like the fact that keyframes just returns a string. It seems weird if props gets magically passed to it, when using it inside a function is so easy: http://www.webpackbin.com/V15uwsQwG
This is more consistent because keyframes, like injectGlobal has one and only one immediate side-effect—to inject some CSS into the page. styled.div returns a component that has a complex life cycle, including rerendering, so I don't really want to blur the lines between component-oriented and global CSS injection methods.

@geelen In my case I tried to use the function workaround for my keyframes but it didn't work - see this example.
This might be because I'm also deriving some of the other animation props (ex. duration) so animation is using a function as well.:
const Spinner = styled.circle`
  stroke: ${props => props.color};
  stroke-width: ${props => props.width};
  stroke-linecap: round;
  fill: none;
  transform-origin: 50%;
  animation: ${props => `
    ${dash} ${props.duration} ease-in-out infinite alternate,
    ${rotate} ${props.duration} linear infinite
  `}
`;

As I wrote this I realized "maybe I need to pass the props explicitly to dash now that it is within a function / template literal" like so...
const Spinner = styled.circle`
  stroke: ${props => props.color};
  stroke-width: ${props => props.width};
  stroke-linecap: round;
  fill: none;
  transform-origin: 50%;
  animation: ${props => `
    ${dash(props)} ${props.duration} ease-in-out infinite alternate,
    ${rotate} ${props.duration} linear infinite
  `}
`;

and it worked.

I guess (at least for me) it was unclear when props are passed to a function and when they not.
Passed "automatically"
function animation (props) {
  return keyframes`
    to {
      color: ${props.error};
    }
  `
}

const Text = styled.p`
  color: #222;
  font-size: 1.5em;
  font-family: Helvetica, Arial, sans-serif;
  text-align: center;
  animation: ${animation} 0.5s infinite;
`;

Must be passed explicitly
function animation (props) {
  return keyframes`
    to {
      color: ${props.error};
    }
  `
}

const Text = styled.p`
  color: #222;
  font-size: 1.5em;
  font-family: Helvetica, Arial, sans-serif;
  text-align: center;
  animation: ${props => `${animation(props)} 0.5s infinite`};
`;

I see arrow functions work as well, which basically means you just need to inject (props) => between your variable name and keyframes
BEFORE
const RADIUS = 50;
const dash = keyframes`
  0% {
    stroke-dasharray: ${getCircumference(RADIUS)};
    stroke-dashoffset: ${getCircumference(RADIUS) * 0.97};
    transform: rotate(-130deg);
  }
  100% {
    stroke-dasharray: ${getCircumference(RADIUS)};
    stroke-dashoffset: ${getCircumference(RADIUS) * 0.5};
    transform: rotate(-110deg);
  }
`;

AFTER
const dash = (props) => keyframes`
  0% {
    stroke-dasharray: ${getCircumference(props.radius)};
    stroke-dashoffset: ${getCircumference(props.radius) * 0.97};
    transform: rotate(-130deg);
  }
  100% {
    stroke-dasharray: ${getCircumference(RADIUS)};
    stroke-dashoffset: ${getCircumference(RADIUS) * 0.5};
    transform: rotate(-110deg);
  }
`;

Yeah exactly. This is one of the confusing things about tagged template literals. In your previous example:
const Spinner = styled.circle`
  ...
  animation: ${props => `
    ${dash} ${props.duration} ease-in-out infinite alternate,
    ${rotate} ${props.duration} linear infinite
  `}
`;

You're actually using a normal (untagged) template literal. If you used css, it'd work.
const Spinner = styled.circle`
  ...
  animation: ${props => css`
    ${dash} ${props.duration} ease-in-out infinite alternate,
    ${rotate} ${props.duration} linear infinite
  `}
`;

If you leave it off it's effectively calling toString on everything you pass in, including dash which will return function dash() { keyframes(" ... ", ...) } or whatever babel compiled it to. Using css stops those functions from being toString-ed, and instead calls them with props at render time. See the docs here: https://github.com/styled-components/styled-components/blob/master/docs/tagged-template-literals.md

Awe, thanks for the clarification. I remember reading about that early on,
but until I encountered it, it didn't really sink in.
On Thu, Jan 26, 2017, 11:54 PM Glen Maddern<EMAIL_ADDRESS>wrote:

Yeah exactly. This is one of the confusing things about tagged template
literals. In your previous example:
const Spinner = styled.circle ...  animation: ${props =>    ${dash} ${props.duration} ease-in-out infinite alternate,    ${rotate} ${props.duration} linear infinite  };
You're actually using a normal (untagged) template literal. If you used
css, it'd work.
const Spinner = styled.circle  ...  animation: ${props => css    ${dash} ${props.duration} ease-in-out infinite alternate,    ${rotate} ${props.duration} linear infinite  };
If you leave it off it's effectively calling toString on everything you
pass in, including dash which will return function dash() { keyframes("
... ", ...) } or whatever babel compiled it to. Using css stops those
functions from being toString-ed, and instead calls them with props at
render time. See the docs here:
https://github.com/styled-components/styled-components/blob/master/docs/tagged-template-literals.md
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/styled-components/styled-components/issues/397#issuecomment-275588876,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAK1RMr8M_pp2ncYkqPIN715lWGIwEw8ks5rWXiFgaJpZM4LqURs
.

`import styled, { keyframes } from 'styled-components';
const move = keyframes  0%   {top: 0px; left: 0px; background: ${(props) => props.color};}   25%  {top: 0px; left: 100px; background: blue;};
const AnimationDiv = styled.div  width: 100px;   height: 100px;   border: 1px solid ${(props) => props.color};   &:hover {     animation: ${move} 5s infinite;     };
export default AnimationDiv;
`
I'm using this, but the coverage can't pass through the line ${(props) => props.color} in keyframes
Anyone can help?

@quanganh1202 first of all, it's always better to turn to spectrum, stackoverflow, or a new issue, instead of commenting on an old and closed one :wink:
keyframes are created separately since they're a global. We generate a hash for their name and return it as a result of calling the tag. This means that they cannot be used like an interpolation, since they just return a static name.
If you write p => keyframes as an interpolation instead and use it as a factory, it will work.
It's even mentioned on a comment before: https://github.com/styled-components/styled-components/issues/397#issuecomment-275581243


optimize adding src only files by batching the p4 add command

This optimization combines multiple p4 add commands of the same file type into a single command by first grouping files to be added by perforce file type, then writing the paths to a temporary file (to avoid command line argument length limits), and reading them from disk using the perforce -x <argfile> global option.
Integrating unreal engine into a fresh depot was resulting in around 200k p4 add commands, and our perforce server connection isn't all that great to start with. I didn't actually test to see how long the operation was before, but based on the logs it was performing about 1-2 adds per second, which would have been many hours.
After batching the adds, the result is I think around ~20 or so p4 add commands (one per perforce file type). If you exclude the initial sync time from epic's perforce (which I had done before using the tool), the total time to run p4harmonize on a new UE5 depot was 17m 36s, most of which is from file copy operations.
A similar optimization could likely be made for Delete.
Please note that I've also added the -I flag to disable p4 ignore files during add, since in this case we want to make sure files get added exactly matching the src depot, regardless of whether they are ignored, e.g. by Epic's p4ignore.txt. I considered making this a separate PR, but wanted to make it easier to merge and the two would have conflicted.

Oh, I am super excited about this PR. I'll try to give it some time later today. Thanks for all your work!


Expose further properites on bookingCustomer object

Hi,
Would be great to have a custom property on the BookingCustomer object.
Thanks

@fpintos

I suggest using https://developer.microsoft.com/en-us/graph/support to submit questions and feature requests. Thanks.


Improve GPU drivers installation instructions

Add note about LTS kernel DKMS source repo
Correct previous demo note update (unlike FPGA demo, GPU demo is not in docker hub)

Note that my earlier doc commit referred to Docker hub because the YML in the example refers to "intel/intel-opencl-icd:devel":  https://github.com/intel/intel-device-plugins-for-kubernetes/blob/main/demo/intelgpu-job.yaml
Mikko, you added that line to the YAML in February, and I assume demo was tested too, i.e. image was in DockerHub back then.  Any idea what caused it to disappear from there?

Mikko, you added that line to the YAML in February, and I assume demo was tested too, i.e. image was in DockerHub back then. Any idea what caused it to disappear from there?

we used intelopencl/intel-opencl:ubuntu-20.10-ppa from DockeHub for a little while but that disappeared. It was not maintained by us. The current image is provided as a Dockerfile only.


PHP 8.1

Hi!
Let me start by thanking you for your work on this GitHub action! @localheinz built the CI pipelines for PHPUnit itself as well as its dependencies using it.
The PHP-8.0 branch has been created for PHP 8.0, meaning that master is now what will become PHP 8.1. It would be great if we were able to use 8.0 to reference nightly builds (until PHP 8.0.0 has been released, of course) of PHP 8.0 and 8.1 to reference nightly builds of PHP 8.1.

@sebastianbergmann
Thanks! Currently when you specify 8.0, it installs a nightly build from PHP-8.0 branch. I will add support for 8.1 in the next release which will install nightly builds from master.

Thank you, @shivammathur!


Failed to upgrade KEDA to 2.9.0 due to the min kubernetes version requirement in chart

Our k8s clusters are still in 1.22, trying to upgrade KEDA to 2.9.0 but failed due to the update of min kubernetes version requirement in this commit.
Does KEDA 2.9.0 use any new API group or API version that is only available in k8s 1.23 or later? If not and if the min ver update was just because of lacking resources to maintain and support too many k8s versions, can we just put a supported list note on readme instead of the enforcement in chart? 1.22 has not been EOL yet in most of cloud providers' managed k8s service
Specifications

KEDA Version: 2.9.0
Kubernetes Version: 1.22

Also interested in this. From first glance investigation there is no requirement to force 1.23 in chart.

This is on purpose because Kubernetes v1.22 is not supported - https://keda.sh/docs/2.9/operate/cluster/#kubernetes-compatibility

@tomkerkhove From the doc I only see the general principle of N-2 supported version, we understand that limiting the supported versions can avoid the maintainer from being overloaded in testing and managing the issues, but do we have to hardcode the limitation in helm chart ? can we let users decide and take their own risk if they want to install it in the k8s version not listed?
Cluster autoscaler also clearly states its supported version in readme, basically they only commit one version but they didn't put the limitation in helm chart.
We have our own schedule on k8s version upgrades which intentionally does not chase the upstream release frequency because upgrading the master is not as easy as upgrading a single application in cluster while the cluster's scale getting bigger. In our case we just want to upgrade KEDA from 2.8.1 to 2.9.0 for the bug fix for some scaler. With this N-2 limitation in helm chart, we only can fork it and modify the limitation every time we upgrade KEDA version.

The problem is that KEDA depends on Kubernetes and there are features/API versions that we need


Fix App icon on iOS

On Android, the app icon is correctly displayed in the home screen shortcut. On iOS, only the screenshot of the page is used currently.

Turned out this was a configuration issue. Because I had protected the endpoint with authentication, iOS wasn't able to fetch the icons. I've updated the server configs to make the icons public.


How I can use PyOD with Image and Text data along with other information present in Tabular data?

Hi,
I have data of products and for each product, I have images, descriptions (text data), and product attributes like color, size, etc. How can I use PyOD to do anomaly detection with such mix data? And also what would be right step to convert the data in right format so that I can use PyOD with such mix data to perform Anomaly detection.
Thanks

I'd imagine youd need to focus on some sort of multimodel feature representation in your pipeline before you then train a model using PyOD.
https://en.wikipedia.org/wiki/Multimodal_learning
This course is a good place to learn more.
I dont really think there is any standard way to deal with mixed data like this yet as far as i know (i may be wrong). Is an interesting area of research though.
It might be more practical to just focus on one type of input data first and start with that. Another idea could be seperate anomaly detection models for each type of data and then just sort of ensemble them in some way. It really can depend on your use case though.

I'd imagine youd need to focus on some sort of multimodel feature representation in your pipeline before you then train a model using PyOD.
https://en.wikipedia.org/wiki/Multimodal_learning
This course is a good place to learn more.
I dont really think there is any standard way to deal with mixed data like this yet as far as i know (i may be wrong). Is an interesting area of research though.
It might be more practical to just focus on one type of input data first and start with that. Another idea could be seperate anomaly detection models for each type of data and then just sort of ensemble them in some way. It really can depend on your use case though.

Thanks for replying @andrewm4894
I have trained multimodal using text and image data also thinking to add other categorical attributes so that I can use embeddings generated by this multimodal for anomaly detection.
But once i have these embedddings, how I should prepare this embeddings to use PyOD framework?
What is the formate PyOD accept the data to be prepared ? Is it always need to be tabular data formate?
also, since I don't have labels for anomalies hence I can't use any supervised method to train the anomaly model. Any suggestion to which type of model I should go for? I was thinking to go for unsupervised models? What would you recommend?
Thanks

Lets say each observation is an image and some text.
You could train some embedding models for each - so lets assume now for the image you have 10 numbers to represent the image in embedding sapce and for the text you also have 10 numbers in the text embedding representation (im just making this up as one example approach).
For each observation you now have 20 numbers that is your combined representation in some sense.
In PyOD you can train an unsupervised anomaly detection model on some training data and it will try and learn what those 20 numbers typically look like in your training data (no labels required).
Then at prediiction time if the tyrained model sees something very different to what it has learned as normal that observation would have a higher anomaly score.
Here is a tutorial i made a while back that goes into detail: https://andrewm4894.com/2020/12/02/anomaly-detection-tutorial/
Although some of the PyOD examples might be even easier to just play around with: https://pyod.readthedocs.io/en/latest/example.html

Thanks again @andrewm4894  for this amazing answer. I was thinking on the same line as you described it.
I just have a few more questions:

Apart from image and text data I also have some more categorical columns. How I can convert these categorical columns to embeddings? I can do some categorical encoding but I think that won't be good. What do you suggest?

How I can utilize the semi-supervised approach?  I read the "ADbench" paper which clearly mentioned few label data can help the sem-supervised model to get more accurate on anomaly detection compared to unsupervised.

Lets say each observation is an image and some text.
You could train some embedding models for each - so lets assume now for the image you have 10 numbers to represent the image in embedding sapce and for the text you also have 10 numbers in the text embedding representation (im just making this up as one example approach).
For each observation you now have 20 numbers that is your combined representation in some sense.
In PyOD you can train an unsupervised anomaly detection model on some training data and it will try and learn what those 20 numbers typically look like in your training data (no labels required).
Then at prediiction time if the tyrained model sees something very different to what it has learned as normal that observation would have a higher anomaly score.
Here is a tutorial i made a while back that goes into detail: https://andrewm4894.com/2020/12/02/anomaly-detection-tutorial/
Although some of the PyOD examples might be even easier to just play around with: https://pyod.readthedocs.io/en/latest/example.html

Thanks again @andrewm4894  for this amazing answer. I was thinking on the same line as you described it.
I just have a few more questions:

Apart from image and text data I also have some more categorical columns. How I can convert these categorical columns to embeddings? I can do some categorical encoding but I think that won't be good. What do you suggest?

How I can utilize the semi-supervised approach?  I read the "ADbench" paper which clearly mentioned few label data can help the sem-supervised model to get more accurate on anomaly detection compared to unsupervised.

Lets say each observation is an image and some text.
You could train some embedding models for each - so lets assume now for the image you have 10 numbers to represent the image in embedding sapce and for the text you also have 10 numbers in the text embedding representation (im just making this up as one example approach).
For each observation you now have 20 numbers that is your combined representation in some sense.
In PyOD you can train an unsupervised anomaly detection model on some training data and it will try and learn what those 20 numbers typically look like in your training data (no labels required).
Then at prediiction time if the tyrained model sees something very different to what it has learned as normal that observation would have a higher anomaly score.
Here is a tutorial i made a while back that goes into detail: https://andrewm4894.com/2020/12/02/anomaly-detection-tutorial/
Although some of the PyOD examples might be even easier to just play around with: https://pyod.readthedocs.io/en/latest/example.html

Thanks again @andrewm4894 for this amazing answer. I was thinking on the same line as you described it. I just have a few more questions:

Apart from image and text data I also have some more categorical columns. How I can convert these categorical columns to embeddings? I can do some categorical encoding but I think that won't be good. What do you suggest?
How I can utilize the semi-supervised approach?  I read the "ADbench" paper which clearly mentioned few label data can help the sem-supervised model to get more accurate on anomaly detection compared to unsupervised.

https://github.com/yzhao062/pyod/tree/master/examples

Thank you @yzhao062 for creating such an awesome framework. I have read a paper on "ADBench" and I have a few questions about it:
In the paper, it was mentioned that the selection of the algorithm depends upon the type of anomaly. How we can understand the type of anomaly present in our data when we have "image", "text" and "other categorical columns"? can you suggest some ways to detect the type of anomaly for such mix type of data?
Thanks


Error with "Battery Replaced" Community Automation

System Health details
System Information

version
core-2024.6.1

installation_type
Home Assistant OS

dev
false

hassio
true

docker
true

user
root

virtualenv
false

python_version
3.12.2

os_name
Linux

os_version
6.6.29-haos

arch
x86_64

timezone
America/New_York

config_dir
/config

Home Assistant Community Store

GitHub API
ok

GitHub Content
ok

GitHub Web
ok

GitHub API Calls Remaining
5000

Installed Version
1.34.0

Stage
running

Available Repositories
1470

Downloaded Repositories
112

HACS Data
ok

AccuWeather

can_reach_server
ok

remaining_requests
19

Home Assistant Cloud

logged_in
true

subscription_expiration
July 6, 2024 at 8:00 PM

relayer_connected
true

relayer_region
us-east-1

remote_enabled
true

remote_connected
true

alexa_enabled
true

google_enabled
false

remote_server
us-east-1-1.ui.nabu.casa

certificate_status
ready

instance_id

can_reach_cert_server
ok

can_reach_cloud_auth
ok

can_reach_cloud
ok

Home Assistant Supervisor

host_os
Home Assistant OS 12.3

update_channel
stable

supervisor_version
supervisor-2024.06.0

agent_version
1.6.0

docker_version
25.0.5

disk_total
30.8 GB

disk_used
11.7 GB

healthy
true

supported
true

host_connectivity
true

supervisor_connectivity
true

ntp_synchronized
true

virtualization
kvm

board
ova

supervisor_api
ok

version_api
ok

installed_addons
Samba share (12.3.1), Mosquitto broker (6.4.1), Let's Encrypt (5.0.18), TasmoAdmin (0.30.3), AppDaemon (0.16.6), chrony (3.0.1), Advanced SSH & Web Terminal (18.0.0), Samba Backup (5.2.0), ESPHome (2024.5.5), Z-Wave JS (0.5.0), Whisper (2.1.0), Piper (1.5.0), openWakeWord (1.10.0), Matter Server (6.1.1), Tesla HTTP Proxy (2.2.7)

Dashboards

dashboards
8

resources
61

views
34

mode
storage

Recorder

oldest_recorder_run
March 13, 2024 at 10:52 PM

current_recorder_run
June 8, 2024 at 12:47 PM

estimated_db_size
15427.38 MiB

database_engine
mysql

database_version
10.11.7

Checklist

[X] I have added battery_notes: to my configuration.yaml and restarted.
[X] I have read the FAQ's.
[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of any previous issues..

Describe the issue
I set up the Community "Battery Replaced" automation. When I replaced a battery today (0% --> 100%) the automation triggered but failed with an error:
Error: string value is None for dictionary value @ data['source_entity_id']
Result:
params:
  domain: battery_notes
  service: set_battery_replaced
  service_data:
    device_id: 137380e2ebf12df13f892a64ba50fc7d
    source_entity_id: null
  target: {}
running_script: false

Full automation YAML:
alias: "Action: Set Battery Replaced"
description: ""
trigger:
  - platform: event
    event_type: battery_notes_battery_increased
    alias: Battery Notes "Battery Increased" Event is Fired
condition: []
action:
  - service: battery_notes.set_battery_replaced
    data:
      device_id: "{{ trigger.event.data.device_id }}"
      source_entity_id: "{{ trigger.event.data.source_entity_id }}"
    alias: Call "Set Battery Replaced" Service
  - service: persistent_notification.create
    data:
      title: |
        {{ trigger.event.data.device_name }} Battery Replaced
      message: |
        Battery level increased past threshold and has been marked as replaced.
    alias: Create Persistent Notification that Battery Replaced
mode: queued

configuration.yaml:
battery_notes:
  default_battery_low_threshold: 10
  battery_increase_threshold: 40
  hide_battery: true

Reproduction steps

Replace low battery with new battery
Check automation traces
Observe error

Debug logs
Not enabled at time of battery replacement.

Diagnostics dump
Cannot download, diagnostics error:
Logger: aiohttp.server
Source: /usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py:421
First occurred: 8:42:21 AM (5 occurrences)
Last logged: 8:57:10 AM

Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request
    resp = await request_handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py", line 543, in _handle
    resp = await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 114, in impl
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 83, in forwarded_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 26, in request_context_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 85, in ban_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 242, in auth_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 32, in headers_middleware
    response = await handler(request)
               ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 73, in handle
    result = await handler(request, **request.match_info)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/diagnostics/__init__.py", line 280, in get
    data = await info.config_entry_diagnostics(hass, config_entry)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: async_get_config_entry_diagnostics() takes 1 positional argument but 2 were given

I've been able to replicate this, rather than try and kludge a change to the automation I'll fix this as a new release on the battery replaced service itself.

This is now fixed in the 2.3.6 release, thanks for reporting it.

Hi,
I realise this issue is closed, but I am experiencing this same issue, the source_entity_id is empty.
I am running Battery Notes v2.3.9
HA: 2024.6.4
I have attached the log from my automation.
I have tested the event data on multiple devices all with the same issue.
If I can provide any more information please let me know.
This is the event data:
event_type: battery_notes_battery_increased
data:
device_id: f86a43d6399a8335de1e51a0d1e0992b
source_entity_id: ""
device_name: Bedroom Window
battery_low: false
battery_type_and_quantity: Rechargeable
battery_type: Rechargeable
battery_quantity: 1
battery_level: 100
previous_battery_level: 10
origin: LOCAL
time_fired: "2024-06-25T09:59:26.093334+00:00"
context:
id: 01J17DC04D44FYRSPCKY6DMPVA
parent_id: null
user_id: null
Home Assistant 2024-06-25 19_59_50.json

source_entity_id is also empty in the event battery_notes_battery_threshold.
event_type: battery_notes_battery_threshold
data:
device_id: f86a43d6399a8335de1e51a0d1e0992b
source_entity_id: ""
device_name: Bedroom Window
battery_low: true
battery_type_and_quantity: Rechargeable
battery_type: Rechargeable
battery_quantity: 1
battery_level: 5
previous_battery_level: 100
reminder: false
origin: LOCAL
time_fired: "2024-06-25T10:25:50.137025+00:00"
context:
id: 01J17EWB1S6S6Q6V5X008KKCXB
parent_id: null
user_id: null

Hi @sambarlick it looks like this is a different issue.
source_entity_id can be "", it was previously NULL and that caused the original issue.
I've just found one area of the documentation where the parameter was wrongly named, assuming you have your own automation the action should look like this
action:
  - service: battery_notes.set_battery_replaced
    data:
      device_id: "{{ trigger.event.data.device_id }}"
      source_entity_id: "{{ trigger.event.data.source_entity_id }}"


Update EVP_PKEY_decapsulate.pod

[x] documentation is added or updated

@PHL4R3 You would need to change the commit message to include the CLA: trivial annotation.
Also it was suggested by @slontis here https://github.com/openssl/openssl/pull/18439#pullrequestreview-991257895 that the manual page should say what is the reason why the failure might not be reported. However if you add that it probably will be a bigger change than what is acceptable with CLA: trivial.

This PR has the label 'hold: cla required' and is stale: it has not been updated in 30 days. Note that this PR may be automatically closed in the future if no CLA is provided.  For CLA help see https://www.openssl.org/policies/cla.html

This PR has the label 'hold: cla required' and is stale: it has not been updated in 61 days. Note that this PR may be automatically closed in the future if no CLA is provided.  For CLA help see https://www.openssl.org/policies/cla.html

This PR has been closed.  It was waiting for a CLA for 90 days.


BlazorAnimate

Added BlazorAnimate. A project that uses the Blazor WASM hosting model and Blazor.Extensions.Canvas to animate text along a path.

Thanks.


pulling from WSUS instead of MS

I searched the repo for 'wsus' and only found reference to the wsusscn2.cab file (which I don't think is really related to using WSUS instead of the MS source for updates...
Is there a way to choose the source for the updates?

You could try this?
Set-WUSettings -WUServer "wsusserver.domain.local" -AcceptTrustedPublisherCerts -DisableWindowsUpdateAccess -TargetGroupEnabled -UseWUServer
or
Set-WUSettings -TargetGroup "TargetGroup" -WUServer "wsusserver.domain.local" -AcceptTrustedPublisherCerts -DisableWindowsUpdateAccess -TargetGroupEnabled -UseWUServer

When I run Get-WUSettings it shows my WUServer information already (set by GPO).
So as long as I don't use the -MicrosoftUpdate switch it should be using my WSUS?


TeamViewer update 15.8.3

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

Microsoft Reviewers: Open in CodeFlow

try again

strange. i am still getting it.


Add JSON DataCite export format

Add a new export format in the record details UI to serialize the record in JSON DataCite format.
There is apparently an issue in the serialization of the record to the DataCite format:
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'person_or_org'

See PR https://github.com/inveniosoftware/invenio-app-rdm/pull/808


Make documentation Scalable (Mkdocs or similar)

I want to create a serious documentation about this proyecto to maintain it easily

Starting with mkdocs
https://rafaelgb.github.io/obsidian-db-folder/

The first steps to a serious documentation done.
When the plugin will be published, i will redo all the gif captures and update the documentation


Refactor of JSchema component; moved Sandbox pages to docs

Checklist before merging

[X] I added an appropriate entry to CHANGELOG.md

I observed something which looks like a small bug.
I am working with a task with the following parallel JSON Schema:
{
  "title": "IlluminationCorrection",
  "type": "object",
  "properties": {
    "zarr_url": {
      "title": "Zarr Url",
      "type": "string",
      "description": "Path or url to the individual OME-Zarr image to be processed. (standard argument for Fractal tasks, managed by Fractal server)."
    },
    "illumination_profiles_folder": {
      "title": "Illumination Profiles Folder",
      "type": "string",
      "description": "Path of folder of illumination profiles."
    },
    "illumination_profiles": {
      "title": "Illumination Profiles",
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Dictionary where keys match the `wavelength_id` attributes of existing channels (e.g. `A01_C01` ) and values are the filenames of the corresponding illumination profiles."
    },
    "background": {
      "title": "Background",
      "default": 0,
      "type": "integer",
      "description": "Background value that is subtracted from the image before the illumination correction is applied. Set it to `0` if you don't want any background subtraction."
    },
    "input_ROI_table": {
      "title": "Input Roi Table",
      "default": "FOV_ROI_table",
      "type": "string",
      "description": "Name of the ROI table that contains the information about the location of the individual field of views (FOVs) to which the illumination correction shall be applied. Defaults to \"FOV_ROI_table\", the default name Fractal converters give the ROI tables that list all FOVs separately. If you generated your OME-Zarr with a different converter and used Import OME-Zarr to generate the ROI tables, `image_ROI_table` is the right choice if you only have 1 FOV per Zarr image and `grid_ROI_table` if you have multiple FOVs per Zarr image and set the right grid options during import."
    },
    "overwrite_input": {
      "title": "Overwrite Input",
      "default": true,
      "type": "boolean",
      "description": "If `True`, the results of this task will overwrite the input image data. If false, a new image is generated and the illumination corrected data is saved there."
    },
    "suffix": {
      "title": "Suffix",
      "default": "_illum_corr",
      "type": "string",
      "description": "What suffix to append to the illumination corrected images. Only relevant if `overwrite_input=False`."
    }
  },
  "required": [
    "zarr_url",
    "illumination_profiles_folder",
    "illumination_profiles"
  ],
  "additionalProperties": false
}

I open the form and remove one entry from the "illumination profiles" property.
I click "save", and I get a weird unrelated error:

I cannot reproduce within the sandbox. I'll try to debug further.

If I export the arguments, I see that overwrite_input is a string rather than a boolean:
{
  "args_parallel": {
    "background": 110,
    "input_ROI_table": "FOV_ROI_table",
    "overwrite_input": "True",
    "suffix": "_illum_corr",
    "illumination_profiles_folder": "/home/fractal_share/fractal-demos-v2/examples/02_cardio_small/../illum_corr_images/",
    "illumination_profiles": {
      "A01_C01": "20220621_UZH_manual_illumcorr_40x_A01_C01.png",
      "A01_C02": "20220621_UZH_manual_illumcorr_40x_A01_C02.png",
      "A02_C03": "20220621_UZH_manual_illumcorr_40x_A02_C03.png"
    }
  },
  "args_non_parallel": null
}

This is possibly due to a different issue (https://github.com/fractal-analytics-platform/fractal-demos/issues/59). I'll review it there.

I confirm it was a fractal-demos issue (see https://github.com/fractal-analytics-platform/fractal-demos/pull/79/files).

@jluethi: there has been yet another update with respect to our latest discussion. We finally moved away from Web Components, since there exist a much simpler way to include static html pages in the docs.
A recap of the new repo/package organization as far as I understand it (see also new docs introduced in 62dddb6126fa7973be1283525a3af7ed2d95785f):

We now have three Svelte projects in the repo: fractal-web, jschema and sandbox.
fractal-web development and releases do not change (apart from some minor caveat for developers e.g. about relative imports from jschema)
All the (refactored) logic of the form-generator is now part of jschema.
jschema is not a released package (that is, we are not introducing two versioned projects: only fractal-web has versions)
sandbox is an independent project, with no connection with fractal-web (apart from the fact that they both import from jschema). Also sandbox has no specified version (it is rather alwasy bound to the fractal-web one).
sandbox can be run locally with usual tools (e.g. npm run dev from the sandbox folder), which is the typical use for developmente
sandbox is built as part of the docs GitHub action and its static files are included in the online docs
sandbox is never exposed within fractal-web in a production instance
Because of this new approach (not using Web Components), the issues with bootstrap JS are not present any more.

I've played with this new version, and found nothing unexpected. I suggest we merge into main (so that we can also review the new online docs).
NOTE that the only expected behavior change is the bugfix for #520 which -as a side effect- removes the smooth animation of opening/closing an accordion. Once again: this is not any more a consequence of issues with bootstrap js, but rather a consequence of the bugfix.
I think this change of behavior is OK, but let's open a separate issue in case we prefer to keep the animation smooth.

This is awesome, thanks both! And thanks for the informative summary!
Re animation change: I looked at it now. Totally fine by :)


druid indexer ignores druid.worker.category

Looks like druid indexer ignores druid.worker.category config, running as middle manager works w/o config change.

I think this  is a trivial typo kind of  problem.

https://github.com/apache/druid/pull/9510 should fix this


Use go doc for godoc-at-point

+1

Issues without description are confusing… See https://github.com/dominikh/go-mode.el/pull/100#issuecomment-139833298 for what my original thought process was, and how it's not as easy as I thought.

After introduction of godoc-command, godoc-at-point doesn't work when godoc-command is "go doc":
go doc /home/user/go/src/testing/ Next
godoc: doc: import "/home/user/go/src/testing/": cannot import absolute path

Probably godoc should always be used in godoc-at-point for now.


Animations, Transitions & Motions: Can RMWC wrap or integrate with them in a project?

** PLEASE READ THIS BEFORE FILING AN ISSUE **
RMWC or MDC?
RMWC is just a React wrapper for Google's official MDC that provides a props based interface for their components. Is the bug being caused by RMWC, or MDC? Please do your best to track down where the bug is originating from and post your issue to the proper repository. MDC bugs should be filed here https://github.com/material-components/material-components-web/issues.
Also, please note that RMWC does not contain any styles of its own, so if you're having any style related issues it is probable that the issue is with MDC.
Bugs that would likely be caused by RMWC:

synchronicity issues: The underlying MDC component or behavior does not match up with your props.
missing MDC features: MDC says you can do "X" but there is no prop or option for it in RMWC.

Bugs
Follow the template below to ensure the quickest and most accurate response to your issue.
What RMWC Version are you using?

Please be specific, e.g. major.minor.patch

What browser(s) and React Version is this bug affecting?

Please include the browser version. A user-agent string is also quite helpful.

What build system are you using?

Webpack, Create React App, Browserify, SystemJS, None, etc.

What are the steps to reproduce the bug?

Please write the steps which need to be taken in order to reproduce the bug. These steps should be
as detailed as possible. If possible please use this sandbox (https://codesandbox.io/s/p7lm5oyn3m) and try
to reproduce the bug. It makes it much easier to resolve issues.

What is the expected behavior?

Please describe what the component/code should be doing that it's not.

What is the actual behavior?

Please describe what the component/code is actually doing that's different from what it should be
doing.

Any other information you believe would be useful?

You’ll have to be more specific. You can use any 3rd Party library or tool to do animations. I prefer react transition group.

I was referring to Google's new motion capabilities, particularly transitions.
Google Material Example: Transitions with animated containers
https://material.io/design/motion/choreography.html#transformation)
React Material-UI Example: React Router & Transition Group
https://marmelab.com/blog/2017/12/04/material-design-animations-react-router.html

MDC doesn’t yet implement any of that for the web. https://material.io/develop/web/components/animation/
But anything react based should play just fine.

@Michael-J-Montgomery does that answer your question?

Closing due to inactivity. Animations are out of scope for RMWC and any standard react animation library will work.


Emission calculation

I noticed differences in the results when one calculates emissions for flights individually versus using a tibble as shown in the package documentation. e.g. airport_footprint("ORY", "AMS", "Business", "co2e") [1] 110.365 ; airport_footprint("CDG", "AMS", "Business", "co2e")[1] 101.563. I had an idea to calculate the emissions from Paris to different cities e.g. Paris-London, Paris-Amsterdam etc.
`travel_data <- tibble(name = c("Paris->London",
"Paris->Amsterdam",
"Paris->Frankfurt"),
from = c("CDG", "CDG", "CDG"),
to = c("LHR", "AMS", "FRA")) %>% #"LYS","BOD","NTE"))
mutate(emissions = airport_footprint(travel_data$from,travel_data$to,"Business","co2e"))
Each row in the resulting table shows 101.563. I am not sure if this is because these are airports within similar distance ranges or not. Using the airport_footprint function on its own results in different results for different itineraries, this is what made me wonder if there could be a problem somewhere.
The following error also comes up when I try to add new destinations in the tibble e.g. Paris-Nantes with along with the respective ICAO airport codes:
<error/dplyr:::mutate_error> Error in mutate(): ! Problem while computing emissions = airport_footprint(...). Caused by error in airport_footprint()`:
! object 'travel_data' not found
Backtrace:
▆

├─... %>% ...
├─dplyr::mutate(...)
├─dplyr:::mutate.data.frame(...)
│ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
│   ├─base::withCallingHandlers(...)
│   └─mask$eval_all_mutate(quo)
├─footprint::airport_footprint(...)
└─base::.handleSimpleError(...)
└─dplyr h(simpleError(msg, call))

└─rlang::abort(...)`

Hi! Since you are calculating across rows (from, to), you will need to add rowwise() to your code. See below:
library(tidyverse)
library(footprint)
travel_data <- tibble(name = c("Paris->London",
                                "Paris->Amsterdam",
                                "Paris->Frankfurt"),
                       from = c("CDG", "CDG", "CDG"),
                       to = c("LHR", "AMS", "FRA"))

travel_data %>%
  rowwise() %>%
  mutate(emissions = airport_footprint(from,to,"Business","co2e"))

name
from
to
emissions

Paris->London
CDG
LHR
88.531

Paris->Amsterdam
CDG
AMS
101.563

Paris->Frankfurt
CDG
FRA
114.500


convert tab to spaces.

Hi @philtrep @Mahmoudz
I just modified some readme format. Please help to review.
Signed-off-by: Bo-Yi Wu<EMAIL_ADDRESS>

@appleboy Looks nicer. I'll merge it.

@appleboy Sorry I'm a bit late to the party. It does look better with your changes 👍


chore(main): release 0.4.1

:robot: I have created a release beep boop
0.4.1 (2024-02-15)
Bug Fixes

publishing and release please workflows (#37) (4b2f76b)
readme typo, publishing workflow (#35) (7cc6e82)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/justinthelaw/repository-template/releases/tag/v0.4.1 :sunflower:


image: Firmware mode improvement

Add nanobsd diskless(8) mode.
firmware use read-only root filesystem, then it needs to use ram disk for /etc (and /usr/local/etc) and /var
nanobsd use a very specific diskless(8) mode for allowing to copy /etc (and /usr/local/etc) into the specific cfg partition
This backup script can be the nanobsd one (/usr/src/tools/tools/nanobsd/Files/root/save_cfg) or others nanobsd based project script
Replace root filesystem gpt label from 3-4 to 1-2 (like nanobsd)
Exclude some big useless directories to be installed on the image like var/db/freebsd-update, var/db/etcupdate and boot/kernel.old
This folder are left after poudriere jail update and useless in a firmware case
Remove the SUJ (then the big .journal file) because as read-only filesystem, it's usage is useless too

There is still one bug to fix, but I don't find the root cause:
On a poudriere-firmware image running, permission of /etc (a ramdisk created by /etc/rc.initdiskless) are wrong.
Replacing usage of tar by cpio didn't fix the problem, I need to check if replacing usage of makefs/mkimg by old mdconfig fix this strange permission problem.

What do you mean by wrong: owners are wrong? on all files, or permissions are wrong?

Ping. What is needed to move forward with this? I want to do a 3.2 release soon which will be the first for poudriere image.

I've wrote up my experience here: https://bsdrp.net/documentation/technical_docs/poudriere
What need to be done in priority:

Image size: It need to ask for the final full image size (a little bit trimmed) and not only one system partition (If I'm generating an image for a 2Gb flash disk, I don't want to obtain a 4.2Gb image like currently)
Fix the /etc/ that is currently not in a ramdisk: /etc need to be, like /var, into a ramdisk too (and automatically populate with the diskless feature like /var)
Once /etc will be a ramdisk, we will need a "save config" script like with nanobsds for copying the diff between the ramdisk /etc and reference /conf/base/etc/ into the /cfg partition. re-using the minimum /usr/src/tools/tools/nanobsd/Files/root/save_cfg script can be enought.

I just fixed 1) in https://github.com/freebsd/poudriere/commit/14f5567bd763701c5bbd50634c5a6b21458eda7c.

I've found the source of the /etc permission problem into firmware mode: It's related to the default permissions that makefs put on the cfg and data partition image. Will try to found a solution about it.


No kernel image is available for execution on the device

1.6 Preprocessing, finish run background inpainting ....
1.7 Preprocessing, saving visualization to ./results\primitives\donald_trump_2\processed\visual.mp4 ...
Error in forward_face_index_map_1: no kernel image is available for execution on the device
Error in forward_face_index_map_2: no kernel image is available for execution on the device
Error in forward_texture_sampling: no kernel image is available for execution on the device
Error in forward_face_index_map_1: no kernel image is available for execution on the device
Error in forward_face_index_map_2: no kernel image is available for execution on the device
iPERCore\tools\utils\visualizers\smpl_visualizer.py:57: UserWarning: Mixed memory format inputs detected while calling the operator. The operator will output channels_last tensor even if some of the inputs are not in channels_last format. (Triggered internally at  ..\aten\src\ATen\native\TensorIterator.cpp:924.)
Windows10+python3.8
CUDA从10.1到11.2都尝试过，同样报错

Are you using the pre-compiled version on Windows? Currently, it has some compatibility issues and can only be used on GeForce 10 series GPU. We are trying to fix this problem.

Are you using the pre-compiled version on Windows? Currently, it has some compatibility issues and can only be used on GeForce 10 series GPU. We are trying to fix this problem.

Are you using the pre-compiled version on Windows? Currently, it has some compatibility issues and can only be used on GeForce 10 series GPU. We are trying to fix this problem.

Yes, but other versions also have other problems

Are you using the pre-compiled version on Windows? Currently, it has some compatibility issues and can only be used on GeForce 10 series GPU. We are trying to fix this problem.

Yes, but other versions also have other problems

We will update this issue in #29

We will update this issue in #29


Broken Project & Product names Using "Apache Arrow" PR link ⋙

on your site page:
https://arrow.apache.org/powered_by/
Your PR suggestion links to: https://github.com/apache/arrow/edit/master/site/powered_by.md
under Projects Powered By Apache Arrow section.
What's Jira?
Thank you!

Thanks for the report. We'll fix.
See http://arrow.apache.org/docs/developers/contributing.html about Jira and other pointers.

ok! you do that! thx for the pointers :)


[Feature Request] Being able to force msaa

Some games,new and old,don't have build in msaa,and the only options for aa I know is post processed,like fxaa ans smaa,but they don't look really good in my opinion,so it would be fantastic to be able to force msaa,because it's the best looking aa option in my opinion,the edges of objects look really realistic and it doesn't need as much power as ssaa.

It won't work with Vulkan because we can't know if a game is actually rendering to the swap chain image or not so the best solution is you either make hacks specific for each game or have the developers support the feature natively ...
The option to force MSAA in driver settings stopped working a long time ago so this idea would only be viable on really old games ...

That doesn't sound good,because game developers often don't do what the players want,and per game hacks are nearly impossible to find for many games,and I'm to dumb to make them.
Btw how does the msaa forcing in the windows amd drivers work?
Because before I switched to Linux I could force msaa in the amd drivers and it worked in any game I tried and I didn't had any problem,so why does it work there?

It's mostly dependent on the gfx API ...
Most of the time forcing MSAA on D3D10/11/12 or on Vulkan doesn't work for AMD or any vendor for that matter because only the developer controls whichever render target the geometry is being rendered to ...
On many older D3D9 or OpenGL applications, most games actually only render to a single swap chain image so it's pretty easy for the driver to just force them to run at a different sampling rate ...

Oh,that's why it worked for me in the past,I only played old games,and they used d3d9.
But is there a way to force msaa to games that are d3d9 in windows,but are translated to dxvk in Linux?

You can force it in DXVK for d3d9 games
https://github.com/doitsujin/dxvk/blob/master/dxvk.conf#L322
but don't expect it to work for every game there as well.

Thanks,but I tried it in Garrys Mod and it didn't work.
I created a config file here: ~/.config/dxvk/dxvk.conf
And I did that in the config file: https://i.imgur.com/CEWUc7b.png
So what did I do wrong?
Because I'm pretty sure that gmod uses d3d9.
Btw I didn't run the native Linux version,I ran it through Proton,so it must be d3d9.

The dxvk.conf file needs to be placed either next to the games .exe or where the environment variable DXVK_CONFIG_FILE points to.

I did the config into next to the exe,but if I start gmod,then I get this Error message:https://i.imgur.com/wnVRnrA.png
And I can't press "OK",because my mouse cursor doesn't work when this window pops up.

I solved the problem,it didn't work because I tried to use msaa x16,but it only works with msaa x8 if I tested it right.
Now the game starts,but I don't know if it works,is there an easy way to check that?
And if I do "DXVK_CONFIG_FILE=1" into the launch option of gmod,and delete the file dxvk.config in the gmod folder,I'm pretty sure that it doesn't work,because it starts like normal with msaa set to 16.

You are supposed to use DXVK_CONFIG_FILE like this: DXVK_CONFIG_FILE=/path/to/dxvk.conf

Thanks,I tested it on some d3d9 games,and it worked for the most.
But is there a way to force ssaa for d3d9 games?
Because I want to see how good my gpu is.

On AMD gpus you can use https://github.com/Plagman/gamescope for super sampling regardless of API used, but it's still WIP and you'll have to compile it yourself. Anyways, i think this issue should be closed.

thanks,I will take a look on that.


Allow using navigation files from locations other than file system

As part of working on the Rust library I would like to be able to have it be possible to use extracted map data from sources other than the filesystem.
Specifically I would like to put the data in an SQLite DB, potentially for speed but also for a cleaner user experience.
I would also like for there to be some way of avoiding the intermediate file system step when creating the map data, but that's easier to work around.
I'm not very well versed in the usage patterns of the navigational data, so I'm not sure what the best way of structuring things would be.

Probably a good first step for this would be to create an abstract interface "provider", and then instantiate that template with the existing code.  This would give a good blueprint for instantiating it again with another data provider.

Edit: Ultimately, you'll have to be careful how you do it. I don't want to introduce any new external dependencies without careful consideration.

I wasn't thinking of introducing any additional dependencies, I was more thinking of allowing namigator to read directly from a char*. So basically just having a way to pass bytes directly to the BinaryStream.

I'm probably going to take a stab at this. Do I understand it correctly that:

A map consists of ADTs (whatever they are).
The ADTs are stored in Nav and are named after their x/y offsets.
A map knows which ADTs it has because it's in the .map file.
After loading all ADTs it is not necessary for namigator to read any other files.

Why is the chosen format multiple different files with a "header" file that describes the others? Couldn't everything just be in a single file?

Edit: Ultimately, you'll have to be careful how you do it. I don't want to introduce any new external dependencies without careful consideration.

I wasn't thinking of introducing any additional dependencies, I was more thinking of allowing namigator to read directly from a char*. So basically just having a way to pass bytes directly to the BinaryStream.

There's already this:
BinaryStream(std::vector<std::uint8_t>& buffer);

Which could be used to initialize a std::vector<>.  Are you wanting something more than that?  I'm a bit confused by this.

I'm probably going to take a stab at this. Do I understand it correctly that:

A map consists of ADTs (whatever they are).
The ADTs are stored in Nav and are named after their x/y offsets.
A map knows which ADTs it has because it's in the .map file.
After loading all ADTs it is not necessary for namigator to read any other files.

This is close to correct.  There are also object files in the BVH directory.  Those represent buildings, trees, fences, etc. that are layered into the underlying terrain (ADTs).

Why is the chosen format multiple different files with a "header" file that describes the others? Couldn't everything just be in a single file?

No particular reason, except I suppose that it would complicate things a bit.  Individual tiles can be regenerated, not loaded, etc..


CVE-2019-5041 could not be found

Describe the bug
I use dependency-check to scan .net solution.  This solution references Aspose.Words(18.11.0), but cannot find the CVE-2019-5041 vulnerability
https://nvd.nist.gov/vuln/detail/CVE-2019-5041
Version of dependency-check used
The problem occurs using version 6.2.2 of the cli(dependency-check) (cli, gradle plugin, maven plugin, etc.)
Log file
[INFO] Checking for updates
[INFO] Skipping NVD check since last check was within 4 hours.
[INFO] Skipping RetireJS update since last update was within 24 hours.
[INFO] Check for updates complete (127 ms)
[INFO]

Dependency-Check is an open source tool performing a best effort analysis of 3rd
 party dependencies; false positives and false negatives may exist in the analys
is performed by the tool. Use of the tool and the reporting provided constitutes
 acceptance for use in an AS IS condition, and there are NO warranties, implied
or otherwise, with regard to the analysis or its use. Any use of the tool and th
e reporting provided is at the user’s risk. In no event shall the copyright hol
der or OWASP be held liable for any damages whatsoever arising out of or in conn
ection with the use of this tool, the analysis performed, or the resulting repor
t.

   About ODC: https://jeremylong.github.io/DependencyCheck/general/internals.htm
l
   False Positives: https://jeremylong.github.io/DependencyCheck/general/suppres
sion.html

? Sponsor: https://github.com/sponsors/jeremylong

[INFO] Analysis Started
[INFO] Finished File Name Analyzer (0 seconds)
[INFO] Finished Nugetconf Analyzer (0 seconds)
[INFO] Finished MSBuild Project Analyzer (0 seconds)
[INFO] Finished Assembly Analyzer (7 seconds)
[INFO] Finished Dependency Merging Analyzer (0 seconds)
[INFO] Finished Version Filter Analyzer (0 seconds)
[INFO] Finished Hint Analyzer (0 seconds)
[INFO] Created CPE Index (1 seconds)
[INFO] Finished CPE Analyzer (1 seconds)
[INFO] Finished False Positive Analyzer (0 seconds)
[INFO] Finished NVD CVE Analyzer (0 seconds)
[INFO] Finished Sonatype OSS Index Analyzer (1 seconds)
[INFO] Finished Vulnerability Suppression Analyzer (0 seconds)
[INFO] Finished Dependency Bundling Analyzer (0 seconds)
[INFO] Analysis Complete (10 seconds)
[INFO] Writing report to: C:\Users\Administrator\source\repos\ConsoleApp16\Conso
leApp16\dependency-check-report.html
[INFO] Writing report to: C:\Users\Administrator\source\repos\ConsoleApp16\Conso
leApp16\dependency-check-report.json

Additional context
The following is the scan report and the .net solution:
dependency-check-report.zip
ConsoleApp16.zip
Thanks!

Could it be because the vulnerability is in NVD version <IP_ADDRESS> and Nuget version 18.11.0?


How can i choose the group title as a value?

It would be awesome if somebody told me is this functionality possible or not.
I want the group parent was be able to be chosen.
So, if we had something like that:

Fruits
--apples
--pineapples
--mangos
Vegetables
--tomatos
--potato

we would choose "Fruits" and "Vegetables" as a finish results.
Thx you

Sorry, groups as selectable values aren't supported. We have no plans to add this feature.