API for adding team to org and repo isn't working

Gitea version (or commit ref): 1.9.3
Git version: 2.17.1
Operating system: Ubuntu 18.04
Database (use [x]):

[x] PostgreSQL
[ ] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist:

Description
Per the Swagger docs I am running the following command to try and add an existing team to an organization and repo since it doesn't appear to be possible to do this in the frontend UI and I don't want to have to create a different team with the same users for every repo (over 70).
curl -X PUT "https://git.domain.com/api/v1/teams/{{team_id}}/repos/{{organization_name}}/{{repo_name}} -H accept: application/json" -H "authorization: Basic ZGFseWlkfsjaflkjdsflksfFSJLFlfkJLFKjFLKdjRA=="

But when I run the above command I get this error. All other API commands I am running with curl work perfectly fine.
{"documentation_url":"https://git.domain.com/api/swagger","errors":null,"message":"Not Found"}%

Teams are not added to an organization. Teams are created inside an organization. For example each organization has its own Owners team which is different for each one. Organizations can have teams with the same name as other oranizations', but the teams will be different and unique.

Thank you for the prompt reply @guillep2k!
So if I am understanding correctly, teams are unique to organizations so if I want to have a development and quality-assurance team for each organization I need to create that team for each organization, of which I have over 50. Then when I hire someone on the development team to support our customers I need to add them manually to every organization development team?

Perhaps organizations were not created for this? I don't possibly know your reasons, but maybe you can use only one organization and split access into several teams; then you can add repos to teams accordingly. Especially if you have some overlapping between teams (e.g. the same person is present in more than one project). In my company we do it that way; we have to main branches in different countries, thus two organizations. But each country have several teams, and for instance the same coder could be assigned to "devs-project1" and "devs-project34"; same for QA, etc. Only people assigned to "*-project34" can see its repos. In our case it makes more sense from the management point of view.

Huh, thank you for that explanation. I have already done a migration of our 78 repos with each customer repo grouped under the corresponding customer organization. I did this because our customers have multiple repos and I couldn't think of a better way to group them, especially for naming purposes and also give some of our customers access to their repos. Thank you again for your help on this.

You can do that with teams. But I understand that having /yourclient in the URL has a better ring to it. 😄

It is more about not having to put the client name in every repo name than having it in the URL. Thank you again for your assistance.


clientv3: add more health balancer debugging logs

lgtm

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@3a566fd). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master    #8637   +/-   ##
=========================================
  Coverage          ?   75.74%
=========================================
  Files             ?      358
  Lines             ?    29453
  Branches          ?        0
=========================================
  Hits              ?    22310
  Misses            ?     5580
  Partials          ?     1563

Impacted Files
Coverage Δ

clientv3/balancer.go
92.45% <0%> (ø)

clientv3/health_balancer.go
86.48% <0%> (ø)

Continue to review full report at Codecov.

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


Force walk destination Problem

I tried to move to specific place when I click there and move, My character is not following the Force walk it keeps walk to the closest pokestop. Im using Necrobot Private version <IP_ADDRESS>. Please fix it thanks.

hi @kje999
in Necrobot console you see log "User Destination" ?
when I tried last night, takes a few seconds before the log appears.. IMHO its under queue progress or something.. for sure i'll check later bro


Higher resolution circles logo image

The circles.png file in Google Drive is 420 pixels wide. Could you re-cut one at higher resolution say 500 px wide?
I've started improving the resolution of images for high DPI screens (e.g. iPhone, iPad), but need a bigger version of this one.

I've done that and uploaded it to the google drive. Let me know if I've not done it correctly.

Fab thanks, I've added that in.


Unlimited Allowances

On eth wallet, unlimited allowance associated with an erc20 token, wipes out every eth deposit sent to wallet address making it difficult to move out tokens. Tried revoke.cash , tac.dappstar  and approved.zoke but they require sending out of 0.0eth with a network fee of $10 eth to complete txn. The impossibility of doing that is coz any eth deposit sent to that wallet address will automatically wipe out instantly deposit is confirmed, hence the eth wallet will be emptied before revoking. How can this be fixed or who can fix it

On eth wallet, unlimited allowance associated with an erc20 token, wipes out every eth deposit sent to wallet address making it difficult to move out tokens. Tried revoke.cash , tac.dappstar and approved.zoke but they require sending out of 0.0eth with a network fee of $10 eth to complete txn. The impossibility of doing that is coz any eth deposit sent to that wallet address will automatically wipe out instantly deposit is confirmed, hence the eth wallet will be emptied before revoking. How can this be fixed or who can fix it

Hi @Teatop1 I am not sure what you are trying to say? Are you saying that the gas fees to revoke are too high? That is out of our control but lately gas fees have plummeted

I know exactly what you mean as I have the same issues. Your wallet has been compromised as with me soon as I send BNB from a miner to metamask it gets auto removed to some other address. The token itself is not good. Im just looking to see what I can do as I cannot change the address of the miner.

Hello i have same problem.I ask for help. my wallet bsc/metamask stolen. every time I transfer funds to my wallet, they are automatically transferred to an address I don't know, emptying my bnb wallet.
I cannot cancel the contracts because as soon as I deposit the BNB funds disappear immediately
Can you help me please

I know exactly what you mean as I have the same issues. Your wallet has been compromised as with me soon as I send BNB from a miner to metamask it gets auto removed to some other address. The token itself is not good. Im just looking to see what I can do as I cannot change the address of the miner because if I were to reinstall a new wallet it wouldn't connect to my miner. I know it a real pain.

the same thing happen to me, but i try to find a way around it, i create a bot to revoke the hacker address but hte hacker sometime keep is wallet approve again, and we keep fighting all over again

I am having the same issue and this is my main wallet


Update node packages

Add gulp-sass-lint to enforce stying rules
Add sassdoc to generate SCSS docs from file comments
Update Readme
Update gitignore to exclude package-lock, npm-shrinkwrap and .ds_store files

Darn, I only meant to push the one commit. Let me try that again.


Add base orientation observer

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

112 of 132 (84.85%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-3.0%) to 92.391%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

upkie/utils/get_log_path.h
7
9
77.78%

upkie/observers/BaseOrientation.cpp
15
19
78.95%

upkie/observers/tests/BaseOrientationTest.cpp
56
60
93.33%

upkie/observers/BaseOrientation.h
25
35
71.43%

Totals

Change from base Build<PHONE_NUMBER>:
-3.0%

Covered Lines:
425

Relevant Lines:
460

💛  - Coveralls


Pie charts does not display all series data Chrome, Edge

Pie chart has 1 series with 10 floats and displays all 10 items in the legend, but only shows 4 items in the pie in one scenario and 8 of 10 in another.
Browsers tested:

Chrome on macOS (Big Sur/Monterey) - Not working
Chrome on Windows 10 - Not working
Edge on Windows 10 - Not working
Firefox on macOS (Big Sur/Monterey) - Working as expected
Safari on macOS (Big Sur/Monterey) - Working as expected

Environment:

Apex Charts 3.32.1
Vue 2.6.11
Vue-ApexCharts 1.6.2
Vuetify - 2.3.13

You did not provide the required reproduction app.


External ID support for Relationship Viewer

[pr-server]
View this change on PR Server

Else than that, it’s gooood!

I think this PR is decently concise :P there's just one styling fix but overall it should be okay :S

Yeah I agree it's not so bad. I was thinking the version bump of the graph and some other style changes. How would you go if you want to find the PR where you changed a width/color, right? If that's not at all reflected in the PR name it's not easy. I just want us to try to split things up so it is possible from the PR name to see what this PR is about.
But I agree this isn't so bad :)


Check the console.

Some errors preventing the chat from working.

Yeah I just grabbed the CSS from our main site - for some quick styling and one of the icon fonts isn't going cross-domain. Not something we are using for the chat room thoughl


Updated a typo in the spelling of Caribbean

What
Fixed typo in the spelling of Caribbean on the Equality Information page
Why
Because it is a typo.

Great spot @adamjamesturner93 – thanks for raising a PR to fix it. I've noticed that the same typo exists in the example further down under 'Validation and error messages'. Would you mind if I amend your commit to fix that instance as well?

Hi @36degrees,  not at all - please do :) Thanks for picking it up so quickly.
Have a good day,
Adam


extended queries added but not visible in /metrics

Hi. I have the following simple query:
    pg_oban_jobs:
      query: select count(*) from oban_jobs where state = 'discarded';
      master: true
      metrics:
        - count:
            usage: "GUAGE"
            description: "Number of discarded oban jobs"

With debug logs on, when I start up the exporter I see the following:
time="2020-09-24T17:37:51Z" level=debug msg="New user metric namespace from YAML: pg_oban_jobs Will cache results for: 0" source="postgres_exporter.go:502"
time="2020-09-24T17:37:51Z" level=debug msg="Adding new metric pg_oban_jobs from user YAML file." source="postgres_exporter.go:556"
time="2020-09-24T17:37:51Z" level=debug msg="Adding new query override pg_oban_jobs from user YAML file." source="postgres_exporter.go:567"

And when I hit /metrics I see the following:
time="2020-09-24T17:38:40Z" level=debug msg="Querying namespace:  pg_oban_jobs" source="postgres_exporter.go:1323"

However I do not see my metric anywhere in the metrics output. Am I misunderstanding something?

try adding "as count" in the query
select count(*) as count from oban_jobs where state = 'discarded';

@cjchang1688 Thanks I forgot to mention I tried that, it still doesn't work.
I am using the latest docker image, version is:
postgres_exporter v0.8.0-9-gb12c8ab (built with go1.11)

Are you accounting for fact, the exporter should connect to database postgres?

Is the table oban_jobs in that database?
Do your user for exporter have access to the schema?

I would start connecting exactly as your mon user and try run this query.

You have a typo  in your definition:
- count:
            usage: "GUAGE"

The correct word is GAUGE.

@kadaffy 🤦
works now, thank you.


DOCS-#5656: Improve documentation for 'SQL on Modin Dataframes'

What do these changes do?

[x] first commit message and PR title follow format outlined here

NOTE:  If you edit the PR title to match this format, you need to add another commit (even if it's empty) or amend your last commit for the CI job that checks the PR title to pick up the new PR title.

[x] tests added and passing
[ ] module layout described at docs/development/architecture.rst is up-to-date

@modin-project/modin-contributors @modin-project/modin-core can folks review this PR?

@mvashishtha can you take a look at this?

@kevin0929 I asked a follow-up question on https://github.com/modin-project/modin/issues/5656#issuecomment-1449075333

@kevin0929 feel free to reopen if needed


RFC - Securing Actor-to-Actor Communications

Current State
Actor to actor calls have been supported for quite some time, even though it wasn't really all that well advertised. Today, if you want an actor to be able to call another actor, then you need to add the callee actor's public key to the list of capabilities for which the calling actor is granted access. This means ensuring that your actor signing process knows ahead of time the public key of the actor that needs to be invoked.
What Needs to Change and Why
As more developers start using waSCC in lattice mode, there's a much higher chance that developers will want to take advantage of actor-to-actor calling. The current security system around actor-to-actor calling is somewhat of a hack in that you have to pretend that the public key of an actor is a capability ID when signing the actor.
This can be a source of friction. For example:

What if your development environment uses different signing keys than your production environment? This means that the signing script for the actor will be different in development than it is in production because when you change a signing key, you also change the public key.
What if you have a very large number of actors? Managing the allow-list of actors that can be invoked might be a huge source of friction and worse, boilerplate.
What if you have a group of actors you want to be able to communicate amongst themselves, but all other actors you want to be unable to invoke other actors

Solution
This is where I'd like feedback. There are a number of possibilities here. We could further extend the wascap claims to include an actor-specific allow list (thereby removing the "hacky" smell from treating an actor's public key like a capid). We could perform some kind of OAuth access token flow where an actor must ask "the lattice" for an auth token in order to be able to call another actor, which would then allow the token dispenser to be some kind of pluggable code.
We could also defer the authorization decision of "can actor A call actor B" to Open Policy Agent. Further, we could combine the OAuth access token dispenser with an OPA  decision to determine if the communication is allowed, etc.
The main solution requirement is that it must not introduce further friction, boilerplate, or annoying process steps into the developer workflow, and that it must be suitable for enterprise-grade security to prevent unauthorized communication.

A couple of comments on the current text:

Today, if you want an actor to be able to call another actor, then you need to add the actor's public key to the list of capabilities for which the actor is granted access.

Need to clarify which actor's public key should be added. e.g. "then you need to add the callee actor's public key to the list of capabilities for which the calling actor is granted access".

What if your development environment uses different signing keys than your production environment? This means that the signing script for the actor will be different in QA than it is in production

QA -> development to keep environments consistent.

Edited per your comments - thanks.

When I think about the potential security issues, actor A calling actor B does not bother me on its face. What worries me is when B  has more capabilities than A, and when A invokes some function of B's, it can easily be a means of privilege escalation.
Put in terms of requirements, if actor A invokes actor B, then nothing that B performs can ever utilize more capabilities than those granted to A, even if B in isolation has been granted those capabilities. This must hold true no matter how many additional calls B makes. It could make 7 more calls through to actor X, which in turn invokes capabilities that were not granted.
My thinking on how to accomplish this is to stamp an invocation with the capabilities of the entity producing that invocation. This would then propagate through all subsequent invocations until the end of the chain. This feels very in line with the nanoprocess concept introduced by Lin Clark and the Bytecode Alliance.
By doing this, we basically create an ideal scenario:

An invocation cannot be forged, because it must be signed with the capabilities of the entity producing it, this prevents an intruder that gained access to the lattice from creating fake invocations
Privilege escalation is blocked because once an invocation has been stamped with capabilities, no capability outside that list can be utilized by any subsequent call.

One possible counterpoint to this is when you're treating an actor like a gateway or a proxy. Actor A accepts some input from a message broker and then invokes actor B to process it, and actor B then goes to store that post-processed data in a key-value store. In the scenario described above (capabilities-signed invocations), this would require that actor A be signed with the wascc:keyvalue and wascc:messaging capabilities. I'm fine with this limitation because it actually discourages the "privilege proxy" pattern... but it also forces people to think differently about their designs and it also may discourage using the actor-to-actor call pattern entirely.

After mulling this over some more, I've come to at least one conclusion: we don't have enough evidence on how actor-to-actor communications will be used in large enough quantities where the existing "fake capability" mechanism becomes a burden. I also don't want to get us designed into a corner where we pick a particular model that can't be extended and prevents someone from using wascc.
Proposal
Today the set_auth_hook function allows for a single function to determine if a given actor can be loaded. I propose that we change this to set_authorizer which would then take an impl Authorizer, where the Authorizer trait looks something like this:
pub trait Authorizer {
    fn can_load(claims: Claims<Actor>) -> bool;
    fn can_invoke(caller_claims: Claims<Actor>, target: InvocationTarget) -> bool;
}

Like all of the other claims-based enforcement checks, these would take place at the call site (as opposed to the recipient, which in lattice is out-of-process). The can_load function would serve the same purpose as the existing "auth hook" functionality, and can_invoke would become the ultimate arbiter of whether an actor is allowed to call either a capability or a capability provider.
Whatever logic is provided by the developer-supplied authorizer would be applied after wascc host verifies that an actor can call a capability. If wascc host determines it cannot, the authorizer will not be invoked.
The default logic (provided by a new DefaultAuthorizer) struct would allow all actors to load and allow them all to invoke other actors and capabilities (because the waSCC host would already be enforcing the core actor capability calling rule)
It would be easier to just let the authorizer supplant all existing authorization logic, but I feel pretty strongly about making it physically impossible to accidentally remove one of the single most important security features of waSCC through a misread of documentation, etc. This is why I'm proposing that waSCC continue to always enforce the basic "can this actor invoke this capability" rule, and the developer-supplied authorizer would then have the option to refute that.


Fix/#493

:tada: This PR is included in version 1.6.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[Bug] When submitting with custom code, an error is reported due to the lack of dependent classes

Please answer these questions before submitting your issue. Thanks!
Environment Description

StreamX Version: 1.1.0
JVM version (java -version): 1.8
OS version (uname -a if on a Unix-like system):

Bug Description
Create a Flink project. There are two jar packages packaged under the project, one with dependent jar and one without dependent native jar package. When you select a jar package, you can only see the native jar package without dependency, resulting in an error for lack of dependency.

I don't understand what you mean. You can give a specific example to illustrate.


Added new feature - configuring custom error message

Added new feature - configuring custom error message

This change is

Running some tests I saw some problems.
Seems that you remove the function IsHost by mistake.
Also in validator_test.go at the line 2265 there's the error "too few values in struct initializer". To fix it, the fields could by named, or the third field need to be passed.

Yes, there are some problems, I'm not able to merge it until these'll not resolved

Erm, this is weird. Why did you merge this when a) the Wercker build failed and b) the IsHost function was removed (as noted above by @waltton)?

@annismckenzie I resolved problems in my commit before the merge (https://github.com/asaskevich/govalidator/commit/6e6a915217c1762995302368a4e880b84e3daf2a) :)

Oh, now I see. Should've taken a look at the merge commit. Still, it might be better in the future to fix these mistakes in a commit and push it to the merge request. :)

Is there any example on how to add a custom message? Thanks

Custom message example
`valid:"required~My custom message for require,length(2|60)~My custom message for lenght"`

Tried to validate a record with a custom message like explained, but it does not work. I see
empty records appearing in the database.
package main

import (
  "fmt"
  "time"
  "github.com/asaskevich/govalidator"
)

type Ticket struct {
  Id        int64     `json:"id"`
  FirstName string    `json:"firstname" valid:"required-First name is blank"`
  LastName  string    `json:"lastname"  valid:"required-Last name is required"`
  Email     string    `json:"email"     valid:"required-Email is required"`
  Licence   string    `json:"licence"   valid:"required-Licence plate is required"`
  Complaint string    `json:"complaint" valid:"required-Complaint is required"`
  Date      string    `json:"datum"`
  CreatedAt time.Time `json:"createdAt"`
  UpdatedAt time.Time `json:"updatedAt"`
  DeletedAt time.Time `json:"-"`
}

func main() {
  lv_ticket := Ticket{}
  _, lv_err := govalidator.ValidateStruct(lv_ticket)
  fmt.Printf("error should be set, but is not '%v'\n",lv_err)
}

@gummybears did you attempted to use ~ symbol instead of -?
type Ticket struct {
  Id        int64     `json:"id"`
  FirstName string    `json:"firstname" valid:"required~First name is blank"`
...

Hmm, no, but to be honest I found the go-ozzo/ozzo-validation package easier to use.
Thanks for your help.


missing CREATE2 deployer

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.0.2 (76073b6 2024-09-11T00:22:22.118583532Z)
What command(s) is the bug in?
No response
Operating System
Linux
Describe the bug
I tried to use CREATE2 in the Counter example repo:
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;

import {Script, console} from "forge-std/Script.sol";
import {Counter} from "../src/Counter.sol";

contract CounterScript is Script {
    Counter public counter;

    function setUp() public {}

    function run() public {
        vm.startBroadcast();

        counter = new Counter{salt: ""}();

        vm.stopBroadcast();
    }
}

I get the same error on zkSync Sepolia and Sophon (respectively):
source .env && forge script ./script/Counter.s.sol --rpc-url https://sepolia.era.zksync.dev --private-key $PRIVATE_KEY --zksync --broadcast
[⠊] Compiling...
No files changed, compilation skipped
[⠃] Using zksolc-1.5.3
[⠊] Compiling (zksync)
No files changed, compilation skipped
2024-09-12T09:17:05.714298Z ERROR foundry_zksync_core::vm::tracer: call may fail or behave unexpectedly due to empty code target=0x4e59b44847b379578588920ca78fbf26c0b4956c calldata="0000000000000000000000000000000000000000000000000000000000000000608060405234801561000f575f80fd5b5060ec8061001c5f395ff3fe6080604052348015600e575f80fd5b5060043610603a575f3560e01c80633fb5c1cb14603e5780638381f58a14604f578063d09de08a146068575b5f80fd5b604d6049366004607d565b5f55565b005b60565f5481565b60405190815260200160405180910390f35b604d5f805490806076836093565b9190505550565b5f60208284031215608c575f80fd5b5035919050565b5f6001820160af57634e487b7160e01b5f52601160045260245ffd5b506001019056fea2646970667358221220e08b5f2ae4a0c9f4cffc2dd04a3f1f9789790baa7af33b2d4ff9176a75a71c3464736f6c63430008180033"
Traces:
  [185530] → new CounterScript@0x5b73C5498c1E3b4dbA84de0F1833c4a029d90519
    └─ ← [Return] 816 bytes of code

  [97] CounterScript::setUp()
    └─ ← [Stop]

  [35262] CounterScript::run()
    ├─ [0] VM::startBroadcast()
    │   └─ ← [Return]
    ├─ [0] Create2Deployer::create2()
    │   └─ ← [Revert] missing CREATE2 deployer
    └─ ← [Revert] missing CREATE2 deployer

Error:
script failed: missing CREATE2 deployer

source .env && forge script ./script/Counter.s.sol --rpc-url https://rpc.testnet.sophon.xyz --private-key $PRIVATE_KEY --zksync --broadcast
[⠊] Compiling...
[⠒] Compiling 1 files with Solc 0.8.24
[⠢] Solc 0.8.24 finished in 992.79ms
Compiler run successful!
[⠃] Using zksolc-1.5.3
[⠊] Compiling (zksync)
[⠒] Compiling 1 files with zksolc and solc 0.8.24
[⠢] zksolc and solc 0.8.24 finished in 4.94s
Compiler run successful!
2024-09-12T09:14:12.962302Z ERROR foundry_zksync_core::vm::tracer: call may fail or behave unexpectedly due to empty code target=0x4e59b44847b379578588920ca78fbf26c0b4956c calldata="0000000000000000000000000000000000000000000000000000000000000000608060405234801561000f575f80fd5b5060ec8061001c5f395ff3fe6080604052348015600e575f80fd5b5060043610603a575f3560e01c80633fb5c1cb14603e5780638381f58a14604f578063d09de08a146068575b5f80fd5b604d6049366004607d565b5f55565b005b60565f5481565b60405190815260200160405180910390f35b604d5f805490806076836093565b9190505550565b5f60208284031215608c575f80fd5b5035919050565b5f6001820160af57634e487b7160e01b5f52601160045260245ffd5b506001019056fea2646970667358221220e08b5f2ae4a0c9f4cffc2dd04a3f1f9789790baa7af33b2d4ff9176a75a71c3464736f6c63430008180033"
Traces:
  [185530] → new CounterScript@0x5b73C5498c1E3b4dbA84de0F1833c4a029d90519
    └─ ← [Return] 816 bytes of code

  [97] CounterScript::setUp()
    └─ ← [Stop]

  [35262] CounterScript::run()
    ├─ [0] VM::startBroadcast()
    │   └─ ← [Return]
    ├─ [0] Create2Deployer::create2()
    │   └─ ← [Revert] missing CREATE2 deployer
    └─ ← [Revert] missing CREATE2 deployer

Error:
script failed: missing CREATE2 deployer

Hello @lutr0 thanks for the example, it was really helpful. We just merged some new changes to be able to use the create2Factory deployed on zksync. It should be working from now on

Confirmed, working on my side!
Congrats!


Unescape private_key loaded from ENV

Alternative to https://github.com/google/google-auth-library-ruby/pull/88 that doesn't fail earlier tests. Unescapes only the specific \n sequence, and doesn't convert existing newlines to plain space characters. Also removes enclosing quotes if present.

need this fix asap, when will it be available in a new release? @dazuma


Bug Report: Incorrect identification of interlaced clips

About me
The bug report is posted on behalf of the BBC
Observed Behavior
Package manager appears to be incorrectly identifying interlaced files as progressive.
Sofie GUI shows that file is 1440x1080p2500
Output from: ffprobe -show_entries stream=codec_type,width,height,display_aspect_ratio,r_frame_rate,field_order -print_format json D:\Media\testFile.mxf
{
Input #0, mxf, from 'D:\Media\testFile.mxf':
  Metadata:
    operational_pattern_ul: 060e2b34.04010101.0d010201.01010900
    uid             : 47f306c4-6bb5-a045-83b9-9c4befe64fdc
    generation_uid  : c69f331a-95fb-3b49-a1d7-8494e1742e47
    company_name    : QUANTEL
    product_name    : GenerationQ
    product_version : V5.4 rev 9_P13
    product_uid     : b4d908cf-53d5-4b41-91a4-82e018e69daa
    modification_date: 2024-01-31T12:10:00.696000Z
    material_package_umid: 0x060A2B340101010501010D2013000000DD426394B27679459BB1F9007B874ED2
    timecode        : 00:00:00:00
  Duration: 00:00:04.64, start: 0.000000, bitrate: 118701 kb/s
  Stream #0:0: Video: dvvideo, yuv422p(tv, unknown/unknown/bt709, top first), 1440x1080 [SAR 4:3 DAR 16:9], 115200 kb/s, 25 fps, 25 tbr, 25 tbn
    Metadata:
      file_package_umid: 0x060A2B340101010501010D20130000001B5EA9637487A64FA644F07911AA99AB
      track_name      : Picture Track
  Stream #0:1: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D20130000001B5EA9637487A64FA644F07911AA99AB
      track_name      : Sound Track
  Stream #0:2: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D20130000001B5EA9637487A64FA644F07911AA99AB
      track_name      : Sound Track
  Stream #0:3: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D20130000001B5EA9637487A64FA644F07911AA99AB
      track_name      : Sound Track
  Stream #0:4: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D20130000001B5EA9637487A64FA644F07911AA99AB
      track_name      : Sound Track
    "programs": [

    ],
    "streams": [
        {
            "codec_type": "video",
            "width": 1440,
            "height": 1080,
            "display_aspect_ratio": "16:9",
            "field_order": "tt",
            "r_frame_rate": "25/1"
        },
        {
            "codec_type": "audio",
            "r_frame_rate": "0/0"
        },
        {
            "codec_type": "audio",
            "r_frame_rate": "0/0"
        },
        {
            "codec_type": "audio",
            "r_frame_rate": "0/0"
        },
        {
            "codec_type": "audio",
            "r_frame_rate": "0/0"
        }
    ]
}

Expected Behavior
Package manager should identify the file as interlaced
Version
v1.50.0-alpha.9
Severity / Impact
No response

fyi, the field order detection is done here:
https://github.com/nrkno/sofie-package-manager/blob/a13b4f6eac488f880ab0c87de4ccca75963266e3/shared/packages/worker/src/worker/workers/windowsWorker/expectationHandlers/lib/scan.ts#L209
@PeterC89 If you run the ffmpeg command from that function:
ffmpeg.exe
    -hide_banner
    -filter:v idet
    -frames:v 200
    -an
    -f
    rawvideo
    -y
    NUL
    -i D:\Media\testFile.mxf

, that could give a clue as to what went wrong in that line.

[aist#0:1/pcm_s16le @<PHONE_NUMBER>2b2dc0] Guessed Channel Layout: mono
[aist#0:2/pcm_s16le @<PHONE_NUMBER>223e00] Guessed Channel Layout: mono
[aist#0:3/pcm_s16le @<PHONE_NUMBER>223f80] Guessed Channel Layout: mono
[aist#0:4/pcm_s16le @<PHONE_NUMBER>480300] Guessed Channel Layout: mono
Input #0, mxf, from 'D:\Media\testFile.mxf':
  Metadata:
    operational_pattern_ul: 060e2b34.04010101.0d010201.01010900
    uid             : 47f306c4-6bb5-a045-83b9-9c4befe64fdc
    generation_uid  : c69f331a-95fb-3b49-a1d7-8494e1742e47
    company_name    : QUANTEL
    product_name    : GenerationQ
    product_version : V5.4 rev 9_P13
    product_uid     : b4d908cf-53d5-4b41-91a4-82e018e69daa
    modification_date: 2024-01-31T12:10:00.696000Z
    material_package_umid: 0x060A2B340101010501010D2013000000DD426394B27679459BB1F9007B874ED2
    timecode        : 00:00:00:00
  Duration: 00:00:04.64, start: 0.000000, bitrate: 118701 kb/s
  Stream #0:0: Video: dvvideo, yuv422p(tv, unknown/unknown/bt709, top first), 1440x1080 [SAR 4:3 DAR 16:9], 115200 kb/s, 25 fps, 25 tbr, 25 tbn
    Metadata:
      file_package_umid: 0x060A2B340101010501010D20130000001B5EA9637487A64FA644F07911AA99AB
      track_name      : Picture Track
  Stream #0:1: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D20130000001B5EA9637487A64FA644F07911AA99AB
      track_name      : Sound Track
  Stream #0:2: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D20130000001B5EA9637487A64FA644F07911AA99AB
      track_name      : Sound Track
  Stream #0:3: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D20130000001B5EA9637487A64FA644F07911AA99AB
      track_name      : Sound Track
  Stream #0:4: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D20130000001B5EA9637487A64FA644F07911AA99AB
      track_name      : Sound Track
[Parsed_idet_0 @<PHONE_NUMBER>a5c140] Repeated Fields: Neither:     0 Top:     0 Bottom:     0
[Parsed_idet_0 @<PHONE_NUMBER>a5c140] Single frame detection: TFF:     0 BFF:     0 Progressive:     0 Undetermined:     0
[Parsed_idet_0 @<PHONE_NUMBER>a5c140] Multi frame detection: TFF:     0 BFF:     0 Progressive:     0 Undetermined:     0
Stream mapping:
  Stream #0:0 -> #0:0 (dvvideo (native) -> rawvideo (native))
Press [q] to stop, [?] for help
Output #0, rawvideo, to 'NUL':
  Metadata:
    operational_pattern_ul: 060e2b34.04010101.0d010201.01010900
    uid             : 47f306c4-6bb5-a045-83b9-9c4befe64fdc
    generation_uid  : c69f331a-95fb-3b49-a1d7-8494e1742e47
    timecode        : 00:00:00:00
    material_package_umid: 0x060A2B340101010501010D2013000000DD426394B27679459BB1F9007B874ED2
    modification_date: 2024-01-31T12:10:00.696000Z
    product_uid     : b4d908cf-53d5-4b41-91a4-82e018e69daa
    encoder         : Lavf60.16.100
  Stream #0:0: Video: rawvideo (Y42B / 0x42323459), yuv422p(tv, unknown/unknown/bt709, top coded first (swapped)), 1440x1080 [SAR 4:3 DAR 16:9], q=2-31, 622080 kb/s, 25 fps, 25 tbn
    Metadata:
      file_package_umid: 0x060A2B340101010501010D20130000001B5EA9637487A64FA644F07911AA99AB
      track_name      : Picture Track
      encoder         : Lavc60.31.102 rawvideo
[out#0/rawvideo @<PHONE_NUMBER>2224c0] video:352350kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
frame=  116 fps=0.0 q=-0.0 Lsize=  352350kB time=00:00:04.60 bitrate=627489.4kbits/s speed=37.8x
[Parsed_idet_0 @<PHONE_NUMBER>a5c040] Repeated Fields: Neither:   116 Top:     0 Bottom:     0
[Parsed_idet_0 @<PHONE_NUMBER>a5c040] Single frame detection: TFF:     0 BFF:     0 Progressive:    78 Undetermined:    38
[Parsed_idet_0 @<PHONE_NUMBER>a5c040] Multi frame detection: TFF:     0 BFF:     0 Progressive:   113 Undetermined:     3

fyi, the field order detection is done here:
https://github.com/nrkno/sofie-package-manager/blob/a13b4f6eac488f880ab0c87de4ccca75963266e3/shared/packages/worker/src/worker/workers/windowsWorker/expectationHandlers/lib/scan.ts#L209
[...]
, that could give a clue as to what went wrong in that line.

From Peter's output, it seems that since the contents of the video are static in the first 200 frames, idet can't figure out that this is in fact interlaced video. Maybe we should switch to just relying on ffprobe and the file header as source of information for interlaced status?

Maybe we should switch to just relying on ffprobe and the file header as source of information for interlaced status?

Perhaps use the value in the header if it says interlaced, then try the idet to make sure it that interlaced isnt incorrectly marked as progressive.
From memory, in casparcg it had (has?) problems with interlaced media not being marked as such, but I dont remember anyone saying that media incorrectly marked as being interlaced when it shouldnt have been.

IMHO - as the person Peter C asked and a SME on the MAM system the media is coming from...

check if the file says the essence is interlaced, and assume the essence is interlaced if the file says so
otherwise check the first 'n' frames of the file to see if the essence is interlaced and the file container lied

We had a wee chat in the NRK Sofie team about this, and we concluded that what @himslm01 suggests would work for us as well.
So, the logic should be:
if (
  ffProbeScanResult.stream.field_order === "tt" ||
  ffProbeScanResult.stream.field_order === "bb"
) {
  // The FFProbe scan shows that it is interlaced
  // use that
  return 'interlaced'
} else {
  // The FFProbe scan says that it is progressive, but we don't trust that

  // use the deep scan results instead:
  return deepScanResult.field_order
}

The logic for using the Package Manager scan results are downstream in Sofie Core (here) itself and not in Package Manager, so I'll close this issue.


ChainTokenExtractor::getIterator() should either be compatible with IteratorAggregate::getIterator()

I'm trying to use php 8.1 but I'm getting this error
  During inheritance of IteratorAggregate: Uncaught Whoops\Exception\ErrorException: Return type of Lexik\Bundle\JWTAuthenticationBundle\TokenExtractor\ChainTokenExtractor::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /app/vendor/lexik/jwt-authentication-bundle/TokenExtractor/ChainTokenExtractor.php:91
Stack trace:

@chalasr I see this landed in mainline: is a release possible? :thinking:

@Ocramius Here you go https://github.com/lexik/LexikJWTAuthenticationBundle/releases/tag/v2.14.3
(minor because it adds some features, but no deprecation)

Oh, that was fast, thank you! :muscle:


get rid of imap4d

We may someday have a MTA but it's not likely to be this old piece of cruft.
Signed-off-by: Ronald G. Minnich<EMAIL_ADDRESS>

LGTM

@rminnich needs to be updated

This CR is probably corrupting #87 since I also removed imap4d.

Yes, please remove all of imap4d from 87 and apply Ron's suggestions. Then we could merge 87 too.

I have applied Ron's suggestions (unless I have missed something). I don't have access to git right now but consider it done in a couple of hours.

Great! thanks

so do I remove this CL or merge it or ...

They are now detached so it can be merged.


support .NET 6

Summary

Changes the runtimeconfig.json parser to accomodate new frameworks array. Adds some .NET 6 test fixtures, not all of which may be required.
Use Cases

Checklist

[ ] I have viewed, signed, and submitted the Contributor License Agreement.
[ ] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[ ] I have added an integration test, if necessary.
[ ] I have reviewed the styleguide for guidance on my code quality.
[ ] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

Blocked on
https://github.com/paketo-buildpacks/dotnet-core-runtime/pull/277
https://github.com/paketo-buildpacks/dotnet-core-sdk/pull/296
https://github.com/paketo-buildpacks/dotnet-core-aspnet/pull/282


Using vscode.workspace.findTextInFiles with an empty non-regex pattern times out

I was trying to hijack findTextInFiles as a general file matcher since vscode.workspace.findFiles doesn't support all the exclusion options yet (https://github.com/microsoft/vscode/issues/101889)
this.vscode.workspace.findTextInFiles({ pattern: '', isRegExp: true }, ...

Works ✔
this.vscode.workspace.findTextInFiles({ pattern: '', isRegExp: false }...

Never calls the callback or resolves ❌

Actually, this approach does not work since it matches every character in every file, which is...not efficient. I'll fall back to the glob-stream based approach for this scenario.

You can probably construct a clever search that produces one multiline match per file. Like if you set the multiline flag and search for .*. Should the first and second error? Or complete with no matches? I think matching every character is wrong.


Include filter not working for Java Objects due to mixed case ... upper() required

Java objects are stored in the data dictionary in mixed case. Thus, we need to compare upper(object_name) to the filter given.

example of new generated syntax:
select owner, object_name, object_type
    from (select owner, object_name, object_type, generated
            from all_objects
          union all
          select owner, constraint_name as object_name, 'REF_CONSTRAINT' as object_type, 'N' as generated
            from all_constraints
           where constraint_type = 'R')
 where owner in /* schemas */ ('SYS') and /* include_filter */ (upper(object_name) like 'OEHR\_%' escape('\')  or upper(object_name) like '%OPTIONLISTER%' escape('\') )
   and /* exclude generated objects */ generated='N'
   and /* exclude nested tables */ (owner,object_name,object_type) not in (select owner, table_name, 'TABLE' from all_nested_tables )
 order by 1,2,3


Could iter_chunks() use inner chunk structs instead of KnownChunk wrapper?

Since it's already manually parsing the ChunkID and size... what if we just parsed the chunk data directly using the inner structs instead of seeking back and using the KnownChunk wrapper?
Could we eliminate the need for KnownChunk entirely? (at the cost of needing chunk parsing/writing code... but I think we're already going to need code to convert back and forth between inner and KnownChunk wrapped variants... maybe it's cleaner to just manually handle the ID and size? (especially since there isn't a good way to know the size of the inner data when creating or modifying a new chunk before it's written.

Maybe add a WAV method which returns id, size, offset for each chunk? Use that as base for parsing and writing chunks later?


Release 2.3.7

upgrading cfllinux stack, loose pinning runtime.txt, and bumping version

Codecov Report
Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (8653452) 36.52% compared to head (7225621) 36.52%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #275   +/-   ##
=======================================
  Coverage   36.52%   36.52%
=======================================
  Files         104      104
  Lines        4290     4290
  Branches      737      737
=======================================
  Hits         1567     1567
  Misses       2723     2723

Files
Coverage Δ

trade_remedies_caseworker/config/version.py
0.00% <0.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[scripts] Add symlinks option to checkout_submodules script

If --allow-symlinks is passed to the checkout_submodules command, the core.symlinks global config will be set to true before initializing the submodules. After the initialization is done, core.symlinks global config is set to false only if it was previously false.
This is needed on Windows in case the submodule contains a symbolic link and core.symlinks is not globally set to true.

Seems there's an issue with my baseline. Fixing it.


Autogenerated web documentation should include a minimal table of all terms on it's own page

This would be highly appreciated and it does not have to be overly complex or extensive.
A simple table with ID, label and description might be sufficient.
Most people use for example only the generic package but they might have additional metadata that has been used in other well defined packages. To have such a general overview in which they can apply basic CTRL+F methods could be very useful.

@jjkoehorst can you elaborate on the "generic package"? That isn't anything that is defined in this schema.

I agree that this will be useful and can easily be implemented, but only as a new, extremely large section on the schema's landing page
The challenge will be building it on another page and providing a link on either the right (section-oriented) menu or the left (open-ended) menu

I am mostly familiar with the ENA submission procedures https://www.ebi.ac.uk/ena/browser/view/ERC000011 for which only date and location is obligatory and used in a lot of cases

Move types section to separate page
also rename some of the sections

sort elements in tables alphabetically
packages -> externsions

@spatil96

emphasize usability to a wide audience over comprehensiveness

Where/how will all of the documentation from this repo be integrated with the GSC website?


/plugin_db_updater/load_db: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found

Describe the bug
When I execute the following command kustomize build k8s/cloud/public/ | kubectl apply - f
the job component gives an error：
/plugin_db_updater/load_db: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /plugin_db_updater/load_db)
/plugin_db_updater/load_db: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /plugin_db_updater/load_db)

To Reproduce
https://docs.px.dev/installing-pixie/install-guides/self-hosted-pixie/
Follow the step-by-step instructions at the document address above.
Expected behavior
Normal installation

FYI, same here. I worked around by changing the container image used by the job back to an older version:
image: gcr.io/pixie-prod/cloud/plugin/load_db:0.0.1

and that did the trick.
but NOTE that I don't know if that has unintended side-effects. Just posting in case it's helpful


Series.fillna

Implementation of Series.fillna() #308
Docstring with examples

Codecov Report

Merging #317 into master will increase coverage by 0.22%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #317      +/-   ##
==========================================
+ Coverage   93.81%   94.04%   +0.22%
==========================================
  Files          34       35       +1
  Lines        3315     3457     +142
==========================================
+ Hits         3110     3251     +141
- Misses        205      206       +1

Impacted Files
Coverage Δ

databricks/koalas/missing/series.py
100% <ø> (ø)
:arrow_up:

databricks/koalas/series.py
92.92% <100%> (+0.61%)
:arrow_up:

databricks/koalas/tests/test_series.py
100% <100%> (ø)
:arrow_up:

databricks/koalas/__init__.py
88.88% <0%> (-3.71%)
:arrow_down:

databricks/koalas/exceptions.py
78.12% <0%> (-1.29%)
:arrow_down:

databricks/koalas/missing/frame.py
100% <0%> (ø)
:arrow_up:

databricks/koalas/tests/test_series_conversion.py
100% <0%> (ø)
:arrow_up:

...tabricks/koalas/tests/test_dataframe_conversion.py
100% <0%> (ø)
:arrow_up:

databricks/koalas/tests/test_dataframe.py
100% <0%> (ø)
:arrow_up:

... and 4 more

Continue to review full report at Codecov.

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

@rxin I left only scalar as values.

Thanks. I've merged this. This will be available as part of release 0.4.


Auras will affect other tokens even when the creature providing the aura has a toggled visibility state

Not sure if this is working as intendet since this behaviour differs strongly from the usall design of these tokens not interacting with the game in any way. Refering lightsources on the token for example.

This is a little tricky since people are currently also using the hidden toggle in lieu of sneaking mechanics.

Oh ok, was not aware. I.thought everyone was just using the hidden/unnoticed/etc. conditions.


fix typos in README.md

There's another typo in https://passwordless.id/protocols/webauthn/overview.svg, that Device regsitered -> Device registered.

Thanks👍


Filtering issue when replacing colon/comma/ampersand with asterisk

Hi, thank you for building this great tool! I'd like to raise a query about running an export command on a Tableau dashboard view. I am using the same export command for a number of country x role name filter combinations, and it works great for role names without commas, e.g.
tabcmd export "[workbook]?Country=USA" --pdf -f [filename] --filter "Role name=Cashiers"

However, when I try to follow the instruction from within the export documentation (see below):

Note:In both formats, the filter clause cannot contain a colon (:), a comma (,) or an ampersand (&). You must replace each of these characters with an asterisk ()

...this does not appear to be interpreted correctly and the output seems not to have matched to any role name (no visualisation is displayed):
tabcmd export "[workbook]?Country=USA" --pdf -f [filename] --filter "Role name=Appraisers* Real Estate"

Whereas this is what I can see in Tableau, for context:

Thank you for any help you can provide. I tried escaping the * with , just using the comma, and switching the filter into the URL, but just can't quite figure it out.

Is this in Tableau Online? If not, can you tell me what version of Tableau Server you are using?


CVAT crashes when viewing Keypoint annotations

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

I upload COCO keypoint annotations, and when viewed and hovered over the browser crashes.
Expected Behaviour

To be able to view COCO keypoint annotations without it crashing.
Current Behaviour

When on the image I can see the Keypoints. Other error boxes pop up, but only when I hover over the points that the window crash and provides an error report.
The pop-ups show the following error:
TypeError: Cannot read properties of null (reading 'svg')
The crash shows the following error:
TypeError
Cannot read properties of undefined (reading 'addClass')
TypeError: Cannot read properties of undefined (reading 'addClass')
at yw.activateShape (http://localhost:8080/assets/cvat-ui.33dd02fc10388e3784d9.min.js:2:5618087)
at yw.activate (http://localhost:8080/assets/cvat-ui.33dd02fc10388e3784d9.min.js:2:5621272)
at yw.notify (http://localhost:8080/assets/cvat-ui.33dd02fc10388e3784d9.min.js:2:5605174)
at iy.notify (http://localhost:8080/assets/cvat-ui.33dd02fc10388e3784d9.min.js:2:5458777)
at iy.activate (http://localhost:8080/assets/cvat-ui.33dd02fc10388e3784d9.min.js:2:5462895)
at xw.activate (http://localhost:8080/assets/cvat-ui.33dd02fc10388e3784d9.min.js:2:5636342)
at IB.activateOnCanvas (http://localhost:8080/assets/cvat-ui.33dd02fc10388e3784d9.min.js:2:6198499)
at IB.componentDidUpdate (http://localhost:8080/assets/cvat-ui.33dd02fc10388e3784d9.min.js:2:6196352)
at ss (http://localhost:8080/assets/cvat-ui.33dd02fc10388e3784d9.min.js:2:4412421)
at vl (http://localhost:8080/assets/cvat-ui.33dd02fc10388e3784d9.min.js:2:4429948)
Possible Solution

Steps to Reproduce (for bugs)

Uploaded COCO keypoint annotations
View annotations (Pop-up errors are shown)
Hover over keypoints to make the window crash.

Context

This stops my ability to check my COCO annotations.
Your Environment

OS:
Linux 20.04 Ubuntu
CVAT version:
Server: 2.3
Core: 7.2.0
Canvas: 2.16.1
UI: 1.43.2

Git hash commit (git log -1):
6acab035f2ad2cb9501d814c9c5c38e49bf8e628
Docker version:
20.10.12

@jitaxis
Please, provide the task specification and annotations to reproduce the issue.

cvat_kp_error_dataset.zip
Make sure to upload as "COCO keypoint". I'm not sure what specification you would like.

This is either fixed or I had a mistake as it is fine now.
I am on commit bc079c3129544d8dd91aae36289123958902483b on the develop branch


ScrollView: Always fire onScroll event for the resting scroll position

When throttling scroll events with scrollEventThrottle, onScroll
is not guaranteed to be fired for the final scroll position
of the ScrollView. This can cause a component to render UI that
is consistent with the resting scroll position of the ScrollView.
This commit guarantees that an onScroll event will be fired for
the resting scroll position of the ScrollView.
Test plan (required)
Verified commit fixes a reduced repro. Also tested fix in a larger app.
Adam Comella
Microsoft Corp.

By analyzing the blame information on this pull request, we identified @nicklockwood and @janicduplessis to be potential reviewers.

@facebook-github-bot shipit

Thanks for importing. If you are an FB employee go to Phabricator to review.


driver: usart: Added support for interrupt driver USART on SAM E70.

Signed-off-by: Justin Watson<EMAIL_ADDRESS>

Codecov Report

Merging #6507 into arm will decrease coverage by <.01%.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             arm   #6507      +/-   ##
========================================
- Coverage   53.2%   53.2%   -0.01%
========================================
  Files        436     436
  Lines      41353   41353
  Branches    7937    7937
========================================
- Hits       22003   22001       -2
- Misses     16126   16128       +2
  Partials    3224    3224

Impacted Files
Coverage Δ

samples/philosophers/src/main.c
96.87% <0%> (-1.57%)
:arrow_down:

kernel/posix/pthread.c
62.5% <0%> (-0.5%)
:arrow_down:

Continue to review full report at Codecov.

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


Two forward passes in finetune_unet

Hey, thanks for open-sourcing this code!
I had a quick question about the finetune_unet function in train.py: why are there two forward passes and loss computations through the unet?
Is it to implement some sort of self-conditioning which I've read about in some text-to-image diffusion papers (or could you point to the part of the paper that corresponds to)?
Thanks!

Hi, and thanks! Just to clarify, I'm not the original author of the code.
The two forward passes are for to the text to image training part if the user chooses to do so. In my tests, training the text encoder alongside video data (temporal information) does not bode well, whereas sampling a single frame works much, much better.
An alternative is to concatenate the frames along the frames on the batch dimension into the text encoder, but that would require a significant memory footprint.
Hope that clears it up!


Fixes from clang static analyzer

This patchset fixes some minor findings from clang's scan-build.

LGTM


Can I get a similar code for sendgrid?

I have no need for that feature myself at the moment, so I won't be adding it any time soon. If you are willing to fund development of that effort, then I would certainly be open to doing so.

Cool, can we continue this conversation on email?

Sure, you can reach me at (damien at tougas dot net).


Add support for react 19

react 19 is not supported

react 19 is not supported

Yes, I have got problems with migration too.
Its type 'typeof ReactSlider' is not a valid JSX element type.
Type 'typeof ReactSlider' is not assignable to type 'new (props: any) => Component<any, any, any>'.
Construct signature return types 'ReactSlider' and 'Component<any, any, any>' are incompatible.
The types returned by 'render()' are incompatible between these types.
Type 'ReactElement<any, string | JSXElementConstructor>' is not assignable to type 'ReactNode'.
Property 'children' is missing in type 'ReactElement<any, string | JSXElementConstructor>' but required in type 'ReactPortal'.
Please fix its :)

react 19 is not supported

Yes, I have got problems with migration too.
Its type 'typeof ReactSlider' is not a valid JSX element type. Type 'typeof ReactSlider' is not assignable to type 'new (props: any) => Component<any, any, any>'. Construct signature return types 'ReactSlider' and 'Component<any, any, any>' are incompatible. The types returned by 'render()' are incompatible between these types. Type 'ReactElement<any, string | JSXElementConstructor>' is not assignable to type 'ReactNode'. Property 'children' is missing in type 'ReactElement<any, string | JSXElementConstructor>' but required in type 'ReactPortal'.
Please fix its :)

I guess it's related:

react-jsx-runtime.development.js?bb19:87 Warning: A props object containing a "key" prop is being spread into JSX
... /node_modules/react-slider/dist/es/dev/components/ReactSlider/ReactSlider.mjs:123:30

I get this on React v18.3, which is to make migration to v19 easier. It shows all the deprecated stuff, but still works
Basically it says, instead of:
const props = {
  key: id,
  className: "my-class",
}

return <Component {...props} />

Needs to be:
const props = {
  className: "my-class",
}

return <Component key={id} {...props} />


Portus image not updating.

https://hub.docker.com/r/opensuse/portus/builds/
Looks like docker hub is not happy.

@mssola can you take a look into that?

@flavio yes, it appears that the gpg trick that we used to do is not working anymore for an unknown reason... I tried to fetch the key from other providers, and all this works locally, but on Docker hub it either times out, or refuses to connect.
I guess I'll take a further look into the gpg command, to see if there's something I can use. Otherwise, I'm afraid that the only option is to blindly accept the gpg key from V:c:Portus and be done with it :thinking:

I guess I'll take a further look into the gpg command, to see if there's something I can use. Otherwise, I'm afraid that the only option left is to blindly accept the gpg key from V:c:Portus and be done with it thinking

I hope that's not going to be the case!

I already fixed the issue for the 2.4 and latest images. Now only head is missing, which looks like a regression of something me and @jordimassaguerpla already fixed some weeks ago...


Add Keras layer_test function to testing_utils

Goals :soccer:

Improve testing of layers in our library
Implementation Details :construction:

The  layer_test function in keras is helpful for ensuring our layers implement the required methods in a variety of supported uses.
We are copying it into the repo here because as far as we can tell it wasn't publicly exposed in the library prior to 2.9.0
Testing Details :mag:

Replace usage of layer_test with the one we have copied in.

I'm stumped.  I can't rep the docs build failure.  I'm using Oliver's commit, 7d264494, and I followed the same pip install commands that are in the tensorflow.yml file.  I'm baffled.


How to use the invokeMethod method from InjectorService?

im following this: https://romakita.github.io/ts-express-decorators/#/docs/testing?id=mock-dependencies , it shows how to inject the dependencies on the constructor, how about injecting the dependency to the method? i have tried a bunch of combinations but none works, and seems the documentation is wrong: { this } is invalid and it has been switched from ControllerService to InjectorService accordingly with the deprecated warning on the ControllerService class
  /**
   * Invoke a class method and inject service.
   *
   * #### IInjectableMethod options
   *
   * * **target**: Optional. The class instance.
   * * **methodName**: `string` Optional. The method name.
   * * **designParamTypes**: `any[]` Optional. List of injectable types.
   * * **locals**: `Map<Function, any>` Optional. If preset then any argument Class are read from this object first, before the `InjectorService` is consulted.
   *
   * #### Example
   *
   * ```typescript
   * import {InjectorService} from "@tsed/common";
   *
   * class MyService {
   *      constructor(injectorService: InjectorService) {
   *          injectorService.invokeMethod(this.method, {
   *              this,
   *              methodName: 'method'
   *          });
   *      }
   *
   *   method(otherService: OtherService) {}
   * }
   * ```
   *
   * @returns {any}
   * @param handler The injectable method to invoke. Method parameters are injected according method signature.
   * @param options Object to configure the invocation.
   */
  public invokeMethod(handler: any, options: IInjectableMethod<any> | any[]): any {
    return InjectorService.invokeMethod(handler, options);
  }

i

Hi @milewski,
But my example doesn't show how to use invokeMethod() (it doesn't exists on ControllerService). The documentation isn't updated too, because it show the ControllerService.invoke() which is an alias to InjectorService.invoke() (this is why the method is deprecated now).
InjectorService.invokeMethod() is used only by the @Inject decorator in this case:
class ServerLoader () {

    @Inject()
    $onMountingMiddlewares(service: Service) {

    }
}

But this way is little dirty and in future in think I'll remove this because it prevents me from setting up the containers / modules.
Have you a method/code which use injection on method ?
Romain

im looking to the invokeMethod() on the InjectorService this is my full example:
@Seeder()
export class UserTableSeeder implements SeederInterface {

    public handle(userService: UserService) {
        return Promise.resolve()
    }

}

bootstrap(Server)(async () => {

    const mongodb = InjectorService.get<MongooseService>(MongooseService)
    await mongodb.get().connection.dropDatabase()

    const seeders =  [
        UserTableSeeder,
    ]

    await InjectorService.load()

    const series = seeders.map(constructor => {
        const seeder =  InjectorService.invoke<SeederInterface>(constructor)
        return seeder.handle() // <-- needs user service
        /// InjectorService.invokeMethod(......) would like to use invokeMethod instead so all dependencies get resolved
    })

    Promise.all(series).then(() => {
        console.log('Seeder Completed.')
        process.exit()
    })

})

Why you don't use the injector on constructor in UserTableSeeder ?
And your code is a unit test ?
The right test:
describe('test', () => {
     let results;

     before(bootstrap(Server));
     before(inject([InjectorService, Done], (injector: InjectorService, done: Done) => {
        const mongodb = injector.get<MongooseService>(MongooseService);
        await mongodb.get().connection.dropDatabase();

        const seeders =  [
            UserTableSeeder,
        ];

        const series = seeders.map(constructor => {
              const seeder =  injector.invoke<SeederInterface>(constructor) // Injection work here, so UserService can be provided here.
              return injector.invokeMethod(seeder.handle.bind(seeder)); // not necessary but why not.
        });

        Promise.all(series).then((_results_) => {
             results = _results_;
             console.log('Seeder Completed.', results);
             done();
        });
     });

     it('should do somethings', () => {
           expect(!!results).to.be.true;
     });
});

Haa yes, I forgot options.
describe('test', () => {
let results;
 before(bootstrap(Server));
 before(inject([InjectorService, Done], (injector: InjectorService, done: Done) => {
    const mongodb = injector.get<MongooseService>(MongooseService);
    await mongodb.get().connection.dropDatabase();

    const seeders =  [
        UserTableSeeder,
    ];

    const series = seeders.map(constructor => {
          const seeder =  injector.invoke<SeederInterface>(constructor) // Injection work here, so UserService can be provided here.
          return injector.invokeMethod(seeder.handle.bind(seeder), {
               target: constructor,
               methodName: "handle" // I know is redundant but I haven't the choice
          }); // not necessary but why not.
    });

    Promise.all(series).then((_results_) => {
         results = _results_;
         console.log('Seeder Completed.', results);
         done();
    });
 });

 it('should do somethings', () => {
       expect(!!results).to.be.true;
 });

});

thanks @Inject() works 👍


isBrowser

For Angular Universal, when you look the content is wrapped up in *ngIf="isBrowser"  is not outputted in "open source" -> view-source:http://localhost:8000 , but to my understanding, it should be as it is Angular Universal.

@ChrisTarasovs there was an implementation of ngx-perfect-scrollbar which was non-universal-compliant at the moment those pages were committed. Wrapping it up with *ngIf="isBrowser" was the only way to prevent it being processed by the server bundle.
Actually, you found out a great point - we have to keep an eye open on the status of ngx-perfect-scrollbar, and remove those wrappers at the moment it becomes universal-compliant.


Context compatibility with dataLabels

Closes: #6703

We should add this one to the migration guide, right?

Added a line to migration guide. It might not be the best English ever, please suggest better wording 🤣


Add download link for OS X on Readme.md

It would be really helpfull to have a download link in the Readme.md to download Franz for Mac, as some users may not know how to install via brew:
https://meetfranz.com/#download

Wait, what? Why do users have to install Franz via brew?

Per the readme.md.....My point exactly:

Well you are right about adding a download link to the readme. This section you are pointing to however just applies to "Development".


Summary screen UI layout

Fullscreen background heat map of complaints.
Right side panel for stats.

@ashwathgovind isn't this complete?


Fix dangling else in LOG and LOGF macros

Closes #224

Looks good.
I'm out hunting in the Rockies but will be back in a week and then will go through this again.
Nice change!

:+1:  after adding unit test.


Failed to distribute rewards when billing contract

On devnet, I see contract 21367 bill failing with error: Transfer/payment would kill account
contract object:
{
  version: 4
  state: {
    GracePeriod: 5,248,854
  }
  contractId: 21,367
  twinId: 1,610
  contractType: {
    NodeContract: {
      nodeId: 15
      deploymentHash: 32813e5a5021e7ac5130ed98d98002b7
      deploymentData: {type:Fullvm,name:VM0ef3fd2c,projectName:Fullvm}
      publicIps: 0
      publicIpsList: []
    }
  }
  solutionProviderId: 1
}

contract lock:
{
  amountLocked: 5,528,534,262
  lockUpdated: 1,681,981,680
  cycles: 1,987
}

Fix deployed to devnet, will check in a few hours if the issues resides or not.


Edits after Stephen and Scott read-through

Some issues not addressed yet:

Second paragraph of the introduction
Fig 7. color bar looks too fat

Codecov Report

Merging #185 (7a54ed7) into master (dd343d0) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master     #185   +/-   ##
=======================================
  Coverage   57.62%   57.62%
=======================================
  Files           6        6
  Lines         328      328
=======================================
  Hits          189      189
  Misses        139      139

Flag
Coverage Δ

unittests
57.62% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

selecv/csizmar.py
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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

@aarmey pandoc seems to have an issue with version (pandoc-citeproc: Error in $: Incompatible API versions: encoded with [1,22] but attempted to decode with [1,20].). I think the issue may be somewhere in the common repo? Do you know how to fix this?

Yes, this has been a problem on all our repos. I’ll fix it.


Synthesize to AVX instead of AVX512 in x86 mode

Hi Akash Kothari,
I really enjoyed your paper Hydride in ASPLOS'24, and I am working on running a benchmark in benchmarks/x86/halide/add. I set up x86 mode with source setup.sh x86, but I find that the synthesized assembly (add.a) has vpbroadcastw instruction which is in AVX512 but not in AVX. Unfortunately, my machine is Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz and it only supports AVX.
Is there any configuration to change the target architecture to AVX instead of AVX512 in x86 mode?
Thanks.

Let me discuss this internally and get back to you.

Can you please try using this: https://github.com/akothen/Hydride/blob/main/code-synthesizer/dsl-ir/utils/GetLegalInstructions.py to get legal instructions for your machine?

Closing this issue for now. Please open another if you continue to face issues.


Allow spec'ing backends from pool config or call site

Use case:
I have very asymmetric workloads, and I want to save costs by right-sizing the FLAME instances running the workloads.
As far as I understand, I can only spec resources in the Backend config right now, like:
  config :flame, FLAME.FlyBackend,
    token: System.fetch_env!("FLY_API_TOKEN"),
    cpus: 8,
    memory_mb: 8 * 1024

I'd like to be able to do it on the pool level like this:
      {FLAME.Pool,
       name: MyApp.FFMpegRunner,
       cpus: 8,
       memory_mb: 8 * 1024
      }

or maybe like this?
      {FLAME.Pool,
       name: MyApp.FFMpegRunner,
       backend_opts: [
           cpus: 2,
           memory_mb: 8 * 1024
         ]
      }

or alternatively add some option in the call, cast, place_child.

Hi @Doerge,
I think it is already possible using FLAME.Pool configuration. I have in application.ex something like this to start 16GB Fly machine:
 children = [
  {DNSCluster, query: Application.get_env(:grid_importer, :dns_cluster_query) || :ignore},
  {
    FLAME.Pool,
    name: SomePoolName,
    min: 0,
    max: 1,
    max_concurrency: 1,
    single_use: true,
    log: :debug,
    idle_shutdown_after: 5_000,
    backend: {
      FLAME.FlyBackend,
      token: System.fetch_env!("FLY_API_TOKEN"),
      cpu_kind: "shared",
      cpus: 8,
      memory_mb: 16384,
      env: %{
        "DNS_CLUSTER_QUERY" => System.fetch_env!("DNS_CLUSTER_QUERY"),
        "MIX_ENV" => System.fetch_env!("MIX_ENV")
      }
    }
  }
]

And it seems to work. I'm using version 0.1.12...

yes you can pass the backend module/opts directly to the pool exactly as @vhyza showed. Would love a doc PR with examples. Thanks!

Thank you @vhyza and Chris. Exactly what I was searching for!


use gh cli instead of create pr action for initialize

Summary
Use gh cli instead of an action to create pull requests
Release Note
N/A
Documentation
N/A

Oh I just saw the other thread on the action upgrade, LGTM on the context


Plugin fixes

I just went through the plugin tutorial and I have a few fixes and updates.

+! lgtm.

Decided to close that one for now and redo with the current state of the repo.


chore: release main

:robot: I have created a release beep boop
@libp2p/multidim-interop: 2.0.12
Dependencies

The following workspace dependencies were updated

dependencies

@libp2p/webrtc bumped from ^4.0.11 to ^4.0.12
@libp2p/webtransport bumped from ^4.0.11 to ^4.0.12
libp2p bumped from ^1.0.11 to ^1.0.12

@libp2p/webrtc: 4.0.12
Dependencies

The following workspace dependencies were updated

devDependencies

libp2p bumped from ^1.0.11 to ^1.0.12

@libp2p/webtransport: 4.0.12
Dependencies

The following workspace dependencies were updated

devDependencies

libp2p bumped from ^1.0.11 to ^1.0.12

libp2p: 1.0.12
1.0.12 (2023-12-20)
Bug Fixes

reset dial queue shut down controller on node restart (#2329) (cd8cafc), closes #2188

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/libp2p/js-libp2p/releases/tag/libp2p-v1.0.12 :sunflower:

:robot: Release is at https://github.com/libp2p/js-libp2p/releases/tag/webrtc-v4.0.12 :sunflower:

:robot: Release is at https://github.com/libp2p/js-libp2p/releases/tag/webtransport-v4.0.12 :sunflower:


Display user's first name instead of username

Provide an option to display first name instead of username in the comments section.
If a user profile does not have first name set, then fallback to displaying the username.

I do not plan to add this unless a lot more people want this feature.


Add danish translation

Goal
This PR adds a danish translation

Hello! current version is stop to updating, now in progress v9. Please, make PR to branch v9.


input html element's value is not set when an empty String is used

Hi,
I found that when I pass an empty String as an attribute to an input element, the text is not cleared. The value of the element is not overridden. However, if the value is a non empty String, the input element's value does change. At the moment, I am saving the dart:html's InputElement reference to clear and update the value, like a Flutter TextEditingController.
Since dart:html cannot be used in the backend, the value is dynamic, could this be resolved in some way? maybe by providing a wrapper for common use cases (a typed event perhaps) or a TextEditingController like API? Or should users use universal_html and cast everything like (event as html.Event).target as html.InputElement?
For the wip/v0.2 branch, I was also wondering whether a void Function(String value) onValueChange argument in the input component could be used as API, or maybe instead of String as argument it could be a specific type (for number or date inputs) or a typed event (with the new value, the InputElement and the raw event).
I tried it in the current main and wip/v0.2 branch.
This is related to a discussion in the rad framework https://github.com/erlage/rad/issues/13.
Thanks!

Added in ba0b9f0. The onValueChange callback will be added later with actual input components coming soon.


Move [Live QA] to the same row as the session time

Number of Volunteers: 1
It is a little bit confusing now. Because [Live QA] will be a Zoom link, and all other four are calendar links.

Maybe do this?
{{ session.time_string }} [Join Zoom Meeting]
Add To My Calendar: [Google] [Office365] ...

Other suggestions are welcome.

@GuyAglionby Will you push your changes about the small calendar icon?
https://github.com/acl-org/acl-2020-virtual-conference/pull/271#issuecomment-650622747


implemented search in the dashboard

Hi kostich,
could you provide me an update?
Thanks
Thomas

Hi Thomas,
No progress so far, some other RL tasks consuming more time than predicted. I also won't be able to start working on this for at least a week.
If you wish, you can also hack on it, I wouldn't mind.


WSL2 distros do not start and generate an error: "the parameter is incorrect" process terminated with code<PHONE_NUMBER>

Environment
Windows build number: Microsoft Windows [Versione 10.0.19041.572] (Windows on ARM on Surface Pro X)
Your Distribution version: Ubuntu 20.04, Ubuntu 18.04, Kali 2020.3
Whether the issue is on WSL 2 and/or WSL 1: WSL 2

Steps to reproduce

Launch Windows Terminal and open a new tab with a linux distro (e.g., Ubuntu 20.04) or, alternatively, from Windows Command Prompt (CMD) run wsl.exe.

WSL logs:  https://aka.ms/AA9yx5u
Expected behavior
The selected linux distro starts and the bash prompt appears.

Actual behavior
The following error is reported:
The parameter is incorrect.
[Process terminated with code<PHONE_NUMBER>]

The issue appeared after Windows Update installed KB4579311. Uninstalling KB4579311 makes wsl2 working properly again.

From the log, you have problem to create the virtual machine. the error is coming from Hyper-V

Combined with #6085, look like issues are related to KB4579311 + Surface Pro X

Also hitting this after applying windows updates today on Surface Pro X. Unsure if KB4579311 specifically caused it.
Do you mention KB4579311 specifically because the issue is known / there is a workaround?

Just want to note that I had what I thought the same issue (#6091) where WSL 2 doesn't seem to start/work, but I'm not using a Surface device.

I have tried numerous times today to uninstall that update but fails with the message couldn't uninstall successfully. I'm on a surface pro x sq2

/dupe #6085

From Ben: We've identified the bug that introduced this regression and will work on servicing this ASAP. In the meantime I'd suggest reverting this update (and pausing future updates until this is fixed).

If you are not ARM based, that should be another issue.

How would I go about uninstalling this update? Is there another workaround? I've already upgraded to the insider beta to try to mitigate this bug to no avail. Do I need to refresh my windows install to correct it?

@joshkerr Use Settings -> Update & Security -> Recovery -> Rollback to get your previous build. If you are lucky you will be able to uninstall the update KB or even use System Restore.

@licanhua - the title specifies this is ARM, so this is a duplicate.

I reset my Surface Pro X SQ2 to Windows version 2004 Pro. With no updates installed, I enabled the Linux subsystem, the virtual machine, and installed the ARM version of the Linux kernel update. I installed Ubuntu 20.04 LTS from the Microsoft store. Then tried to set the version to 2.
wsl --set-version Ubuntu.20.04 2
I got the same parameter incorrect error.

@benhillis Is there another way except rolling back? Is there a patch update coming soon to fix this?

@benhillis  It is a duplicate of which issue? I can't find anything ARM-specific in regard of this. Can you please re-open this issue?

I confirm that rolling back KB4579311 makes WSL2 work again.

@benhillis As I have my SPX joined to corp, I can't really pause updates at all. Please provide information on whether a fix is coming soon as this really blocks my dev scenario on SPX.

@joaomoreno - fix is coming soon, today I think.

Same UX on Samsung Galaxy Book S (ARM), rollback to KB4579311 heals the pain, I really need WSL2 to work. Thanks!

@benhillis
Hello, is there any information about the fix? For example, the name of the corresponding windows update patch that fix this problem? I usually cannot receive the latest update automatically so I want to manually download the update and install it if it has been published already.
@joaomoreno
By the way, thanks to the windows arm64 version of VSCode. I'm a little surprised to see your comment here. I hope your work can go back on track soon.

@benhillis @nhobson99 Why is this issue closed? It's not resolved and we have no idea when and if it will be resolved!

Seems the new insider Build fixed this problem - https://mspoweruser.com/windows-10-insider-preview-build-19042-608/
Microsoft fixed an issue with starting Windows Subsystem for Linux 2 (WSL2) on ARM64 devices that occur after installing KB4579311.
Hopefully it will also be released soon for all.

@mirogl Thanks for the info. Unfortunately, this update appears to break Outlook for some users: https://answers.microsoft.com/en-us/msoffice/forum/all/this-morning-10232020-windows-10-installed-an/30f8455c-f7ea-4487-8fcf-be14cbaafeee
They just can't get it right ¯_(ツ)_/¯

Hi @Alovchin91 - on my Surface Pro X and Galaxy Book S Outlook 2019 works without any problem.
So at least it seems not to be a general problem, like the problem with WSL2. I'm glad, WSL2 works again.

Fix worked for me on Galaxy Book S, very glad to have WSL 2 back, but pretty scary that it was broken for a week.

@mirogl, @jasonrandrews: did you install KB4580364 on version 20H1 or 20H2? On my Surface Pro X 20H2 is not yet available in Windows update. Thanks.

@mirogl, @jasonrandrews: did you install KB4580364 on version 20H1 or 20H2? On my Surface Pro X 20H2 is not yet available in Windows update. Thanks.

Hi @AlfrFerr - I installed KB4580364  on 20H2 manually, like described in https://github.com/microsoft/WSL/issues/6090#issuecomment-715459214 , since I didn't get it offered via Windows Update.

@joaomoreno @puzzone @wangfys @Alovchin91 - the patch KB4580364 was released now
Microsoft fixed an issue with starting Windows Subsystem for Linux 2 (WSL2) on ARM64 devices that occur after installing KB4579311.
here the download Link for arm64 http://download.windowsupdate.com/c/msdownload/update/software/updt/2020/10/windows10.0-kb4580364-arm64_cbf23c33fda7abeed9a20e5bb0af5f0419e543fc.cab

Download cab and save it under a directory, with only the cab in it - for e.g. c:\temp\cab\
open cmd as adminstrator and execute "DISM.exe /Online /Add-Package /PackagePath:c:\temp\cab"

I tested it on my Microsoft Surface Pro X (SQ1) & Samsung Galaxy S (8cx) - WSL2 works now again.

Like rolling back.

I also can confirm that manually installing the new patch resolved this issue on Windows 10 20H2 running on a Samsung Galaxy Book2 (Snapdragon 850).

@joaomoreno @puzzone @wangfys @Alovchin91 - the patch KB4580364 was released now
Microsoft fixed an issue with starting Windows Subsystem for Linux 2 (WSL2) on ARM64 devices that occur after installing KB4579311.
here the download Link for arm64 http://download.windowsupdate.com/c/msdownload/update/software/updt/2020/10/windows10.0-kb4580364-arm64_cbf23c33fda7abeed9a20e5bb0af5f0419e543fc.cab

Download cab and save it under a directory, with only the cab in it - for e.g. c:\temp\cab\
open cmd as adminstrator and execute "DISM.exe /Online /Add-Package /PackagePath:c:\temp\cab"

I tested it on my Microsoft Surface Pro X (SQ1) & Samsung Galaxy S (8cx) - WSL2 works now again.

After update kb4580364, WSL 2.0 Ubuntu 20.04 break again.

Hi @ac1982 - since for me and others KB4580364 fixes the problem - do you have an arm based pc  or intel/amd ? My comment is only for arm based PCs. If your PC is arm based - that should be another problem - not the problem caused by KB4579311. I'm also Using Ubuntu 20.04  - end evertything works.  If you have arm64 - did you try to reinstall Linux kernel upgrade from: https://docs.microsoft.com/en-us/windows/wsl/install-win10 - Step 4 - Download the Linux kernel update package : https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi

An even easier way to install the fix is to download KB4580364 from the update catalog: https://www.catalog.update.microsoft.com/Search.aspx?q=KB4580364 - the .msu file that you get allows for a one-click install of the update.
Happy to have a working WSL2 again 🚀

m

Hi @ac1982 - since for me and others KB4580364 fixes the problem - do you have an arm based pc or intel/amd ? My comment is only for arm based PCs. If your PC is arm based - that should be another problem - not the problem caused by KB4579311. I'm also Using Ubuntu 20.04 - end evertything works. If you have arm64 - did you try to reinstall Linux kernel upgrade from: https://docs.microsoft.com/en-us/windows/wsl/install-win10 - Step 4 - Download the Linux kernel update package : https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi

@mirogl thanks for your reply. Yes, I am using the Surface X one of ARM based PC. After reboot my PC twice manualy, wsl works fine now.


Update composer.json and README.md

http://www.workerman.net/img/workerman-status.png and http://www.workerman.net/img/workerman-start.png is 404.
i don't know the correct image url.

Thanks.

老大，图片地址到底是啥哇

没关系，图片不加了，我去掉了


Matrix to Discord bridge fails to send MP3 files.

Describe the bug
Matterbridge is failing to send mp3 files to Discord from Matrix. There are no logs that indicate a connection failure or any kind of error, and the file name that Matterbridge sends before the actual file in a successful upload is posted. For example, it will send "my_audio_file.mp3", but not the actual mp3. The bot has webhook permissions on the Discord servers it is active in, and all images and mp4 files are sent without issue.
Environment (please complete the following information):
Ubuntu Server 20.04.5 LTS
Matterbridge v1.26.0

It seems every file extension but images have problems.


Recovery - Annotations in a hard drive that does not boot

My actions before raising this issue

[ X] Read/searched the docs
[ X] Searched past issues

Can I manually recover images and image annotations from a hard drive that does not boot anymore? If so, how?
Can't find anything in the manual about it.

https://opencv.github.io/cvat/docs/faq/#where-are-uploaded-imagesvideos-stored
https://opencv.github.io/cvat/docs/faq/#how-to-transfer-cvat-to-another-machine
https://docs.docker.com/storage/volumes/

Thank you!


Suggest a new feature

Prerequisites

[X] I have searched for duplicate or closed feature requests
[X] I have read the contributing guidelines

Proposal
I need the bottom sheet for mobile responsive. when I use material UI, I used the bottom sheet, but currently, I can't find it in bootstrap.
Thank you.
Motivation and context
In mobile responsive, the bottom sheet is used well, so It's needed when we build web applications with bootstrap.
thank you.

Have you looked at offcanvas yet?
https://getbootstrap.com/docs/5.1/components/offcanvas/#examples


Update list of signing algorithms.

I checked jwt.io and it seems to be outdated for me (based on the implementation). I've updated the README.md to reflect the supported algorithms. Please review my PR. I'll send a PR to jsonwebtoken/jsonwebtoken.github.io too, if this one gets merged.

@Aigeruth It looks like @dgrijalva already submitted a pull request for the jwt.io site.  However, it looks to have some merge conflicts since they just updated their site.
jsonwebtoken/jsonwebtoken.github.io/pull/79

@patbaker82 Oh, sorry, I didn't check the PRs of jwt.io. I'm going to close this issue, because it is taken care of. Thanks!


Remove Rack::HttpStreamingResponse monkey-patch by upgrading rack-proxy

In v0.5.14of rack-proxy Rack::HttpStreamingResponse#read_timeout= was added, see https://github.com/ncr/rack-proxy/commit/42e32e37bbbb9117cbd08e5a7ad8e41af8858973
Easier to upgrade dependency (IMHO) than to maintain patching of external dependency

@janraasch I added this small patch and what it effectively does is just fixes the problem with jruby test suite.
I couldn't figure out what exactly happening there, so I have gone for workaround.
We can either figure out, why rspec-mocks work incorrectly in this case, probably even report issue to rspec/rspec-mocks.
Or we can just create a small class that does this thing:
# define an utility class
module TimeoutFeature
  def self.set_read_timeout_on(obj, timeout)
    obj.read_timeout = timeout
  end
end

# unit test this class with stub object
RSpec.describe TimeoutFeature do
  # ...
end

# unit test timeout feature
TimeoutFeature.should_receive(:set_read_timeout_on).with(is_a(Rack::HttpStreamingResponse), 99)

Not sure what is happening with jruby here either. You be the judge :)

Doesn't work with older versions of RSpec (tried 3.2, 3.1 and 3.0). So the problem is probably somewhere else. BTW can't reproduce this on smaller example :(

Was able to fix it here: https://github.com/waterlink/rack-reverse-proxy/commit/c8083a275b53c1fe3fdfe28e1151171748d12c85
Can you cherry-pick this commit on top of your branch if you are ok with that?

/cc @janraasch

Sure.

Thanks @janraasch !


Compatibility with dev dbplyr

We are updating dbplyr::partial_eval(). It now requires .data as second argument in order to correctly evaluate calls like across(). We noticed in revdeps that the tests of this package now fail. This PR makes the package compatible with the CRAN and the dev version of dbplyr.
By the way: When testing your package I noticed that the lines 43 to 45 in cql-translate.R are never run in your tests:
x <- rlang::call_modify(
  x, !!call_arg := rlang::call2("local", rlang::call_args(x)[[call_arg]])
)

If they are actually required you might want to add a test for this.

FYI we're planning to release dbplyr to CRAN on June 3.


Publish website

Missing code and charts examples.

There are some put on the website, I close this issue, if there are some to be added later, this is really easy and should not need any issue now :)


ai.djl:api:0.8.0 the lower version of JNA caused mxnet error report to not find the engine

Description
A known problem is reported. When djl version 0.8.0 is used, if the mxnet of the local environment or the cached mxnet is loaded correctly, if the JNA version is too low, the mxnet engine cannot be loaded, and an error prompts that the mxnet engine does not exist.
Will this change the current api? How?
I personally feel that JNA in djl 0.8.0 should be upgraded from 4.5.2 to 5.3.0
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
<version>5.3.0</version>
</dependency>
Who will benefit from this enhancement?
All windows users using djl0.8.0
References
https://github.com/awslabs/djl/blob/master/gradle.properties#L25

If I don't upgrade, I need to import Maven JNA-5.3.0.jar myself ，I think this is a bad experience. It is reasonable to say that the API package should load the supported JNA instead of the wrong low version of JNA

ai.djl:api:0.8.0 dependens on jna-5.3.0, see: https://search.maven.org/artifact/ai.djl/api/0.8.0/jar
Lookes like you configuration somehow included a different version of JNA.

@frankfliu  I have seen the API jar of 0.8.0, which may be related to my configuration. Thank you for your timely reply


enhance readme

you can enhance readme by detailing , or adding contributors

Can i do this

All the best,waiting for another pr on ur side ,happy coding @rudransh61

@pinak22dhir @pinak-dhir pls review the code

@pinak-dhir
Pls review the new pr


Support for OSv

http://osv.io/

Hi @sirinath,
I don't think any of the projects we depend on have plans for OSv. I think, overall, we're focusing this kind of brain power on solving slightly different problems: https://www.cloudfoundry.org/garden-and-runc/
I'm going to close this issue, since it's not something we can reasonably deliver. As always, you are welcome to re-open or create a new issue should you feel that we've missed something important!
--
Marco Nicosia
Product Manager
Pivotal Software, Inc.


Update docs to EPUB 3.2

Closes #59

No need to review this one, changes in docs only:

clarify ReadiumCSS is meant for reflowable text;
update EPUB 3.1 refs to EPUB 3.2.


Some problems in the process of playing the game

The playerbot does not seem to know to turn around, even if it is being attacked.

The playerbot seems to rarely attack actively, mostly standing and making different expressions.

An error is displayed when talking to the playerbot.

Thank you for the helpful report and screenshots. I am investigate how strategy strings are getting loaded as formations, which should help with resolve this.
As a temporary help, the bots may be more responsive if you decrease AiPlayerbot.ReactDelay in the config.

Thank you for the helpful report and screenshots. I am investigate how strategy strings are getting loaded as formations, which should help with resolve this.
As a temporary help, the bots may be more responsive if you decrease AiPlayerbot.ReactDelay in the config.

Thanks a lot for your reply, I will try to decrease AiPlayerbot.ReactDelay in the config.
By the way, can you read Chinese? Because my screenshot environment is all in Chinese, if you don't understand, I can try to change it to English.
I got a lot of errors when compiling just now, the prompts are "undeclared identifier" and "modules.lib does not exist", is there something wrong with my operation during the compilation process?

Thanks a lot for your reply, I will try to decrease AiPlayerbot.ReactDelay in the config.
By the way, can you read Chinese? Because my screenshot environment is all in Chinese, if you don't understand, I can try to change it to English.
I got a lot of errors when compiling just now, the prompts are "undeclared identifier" and "modules.lib does not exist", is there something wrong with my operation during the compilation process?

On linux there are also a lot of warning messages, I think it's because the base is under development and there's a lot to fix and stabilize before the warnings are removed. Zheng has been doing everything himself, which can delay the entire fix. But in my opinion this is the best mod developed so far. And Zheng does a great job.

On linux there are also a lot of warning messages, I think it's because the base is under development and there's a lot to fix and stabilize before the warnings are removed. Zheng has been doing everything himself, which can delay the entire fix. But in my opinion this is the best mod developed so far. And Zheng does a great job.

Yes, of course, I think so too, please don't get me wrong, I'm not posting these questions to urge or accuse people like @ZhengPeiRu21, @UltraNix and all the developers who make playerbot better, on the contrary, my thanks to you all With great respect. As a pharmaceutical R&D worker, I don't know C++, so I figured what I can do is to disclose the problem I have and wait patiently to fix it.
Thanks to all the partners who make playerbot better, thank you!

On linux there are also a lot of warning messages, I think it's because the base is under development and there's a lot to fix and stabilize before the warnings are removed. Zheng has been doing everything himself, which can delay the entire fix. But in my opinion this is the best mod developed so far. And Zheng does a great job.

Yes, of course, I think so too, please don't get me wrong, I'm not posting these questions to urge or accuse people like @ZhengPeiRu21, @UltraNix and all the developers who make playerbot better, on the contrary, my thanks to you all With great respect. As a pharmaceutical R&D worker, I don't know C++, so I figured what I can do is to disclose the problem I have and wait patiently to fix it. Thanks to all the partners who make playerbot better, thank you!

Yes, and we have to share all the bugs found, so that the mod becomes even better.

Thanks a lot for your reply, I will try to decrease AiPlayerbot.ReactDelay in the config. By the way, can you read Chinese? Because my screenshot environment is all in Chinese, if you don't understand, I can try to change it to English.

Yes, I myself am a Chinese, so Chinese screenshots is fine. ^_^ Thank you for post the compilation warnings. I will test more compiling on Linux to resolve some of these. Are you still can compile successfully despite the warnings?

Yes, I myself am a Chinese, so Chinese screenshots is fine. ^_^ Thank you for post the compilation warnings. I will test more compiling on Linux to resolve some of these. Are you still can compile successfully despite the warnings?

Hi, thanks for the reply.
Unfortunately, the compilation failed.

I compiled it under windows11, and the compilation environment is as follows:

@biancong1208 Are you still seeing trouble of the compiling?  Do you still see this error with a clean build?


Ask about computer environment

I have a problem when i run your demo,the shell showed that FileNotFoundError:[Error 2].So,I want to ask you about the computer environment.I use Linux system,python 3.5,cuda 9.0
I want to know your system,python version,cuda version,and the package(like pillow) version.
Thank you very much

@JunWangYi Our code is not sensitive to system environment. Could you provide the entire error message with stack trace?

When i run the train_birds.sh,the problem above happened.

@JunWangYi Can you check if the path really exists? After running ‘preprocess_caption.sh’, there must be a folder named ‘_vec’.

Thank you，this problem was solved,but I may ask you some more questions.Please forgive me for the inconvenience.

@JunWangYi No problem. What’re your questions?

How can I resolve this questions? thank you.

@JunWangYi It's an out of memory error. Please reduce the batch size, which can be found in train.py.

Do you know how can i resolve this question?Thank you.

@JunWangYi It may be due to out of memory. I would suggest reducing batch size until you see some available memory space (e.g. hundreds of MBs).


added loader to sign in page

issue number #346

please merge this pr @Yashgabani845

please merge this pr @Yashgabani845 asap as today is the last day of gssoc-ext


Select(x=>**) translation question

I have a quick question about the execution of EntityFramework Select() method.
I found that the translated sql queries are different for  _dbContext.MyEntity.Select(x => new DTO(x)) and _dbContext.MyEntity.Select(x => new DTO{ object property assignments}).
The first one pulls all columns of the entity, while the second one only selects the fields I want.
Is there any particular reason?
Thank you,
Steps to reproduce
public class Author
    {
        public int Id { get; protected set; }
        public string FirstName { get; protected set; }
        public string LastName { get; protected set; }
        public AuthorMembership AuthorMembership { get; protected set; }
        protected Author()
        {
            AuthorMembership = AuthorMembership.Bronze;
        }

        public Author(CreateAuthorCommand cmd) : this()
        {
            FirstName = cmd.FirstName;
            LastName = cmd.LastName;
        }
    }
public class AuthorViewModel
    {
        public int Id { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }

        public AuthorViewModel()
        {
        }
        public AuthorViewModel(Author author)
        {
            Id = author.Id;
            FirstName = author.FirstName;
            LastName = author.LastName;
        }
    }

// The below two queries translate into different SQL queries.
return await _dbContext.Authors.Select(x => new AuthorViewModel(x)).ToListAsync();
return await _dbContext.Authors.Select(x => new AuthorViewModel
{
                Id = x.Id,
                FirstName = x.FirstName,
                LastName = x.LastName
}).ToListAsync();

Translated SQL queries:
--  _dbContext.Authors.Select(x => new AuthorViewModel(x))
Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT [x].[Id], [x].[AuthorMembership], [x].[FirstName], [x].[LastName]
FROM [Authors] AS [x]

--  _dbContext.Authors.Select(x => new AuthorViewModel { Id = x.Id, ...})
Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT [x].[Id], [x].[FirstName], [x].[LastName]
FROM [Authors] AS [x]

Further technical details
EF Core version: Entity Framework Core 2.2.6-servicing-10079
Database Provider: (Microsoft.EntityFrameworkCore.SqlServer)
Operating system: Win10

AuthorViewModel constructor is opaque in expression tree. We do not know what exactly that constructor do.
In first one you are asking us for Author so we get all the values from database and create Author object and pass it the ctor you indicated and let it do it's magic.
In second case you doing member initialization syntax, which will call parameter-less ctor and assign properties. In this case we can see what are the member assignments are in the expression tree. Hence we only fetch the columns which we need to do the assignments and generate final object.

Make sense. Thank you.


Spacy UI shows nothing in initialization

UI should show rules if it has.
UI overwrites rules to empty.

@RqS

will be added in release