panic on nil pointer

If you're not sure whether your problem is specifically related to this repository, or to the ConfigCat service overall, please contact the ConfigCat support. This issue tracker is intended only for feedback on the content of this repository.
Describe the bug
Crash while planning
To reproduce
Not sure how to reproduce but this shouldn't be happening...
Expected behavior
Not crashing
Screenshots
None
Stacktrace
╷
│ Error: Request cancelled
│
│   with provider["registry.terraform.io/configcat/configcat"],
│   on terraform.tf line 52, in provider "configcat":
│   52: provider "configcat" {
│
│ The plugin.(*GRPCProvider).ConfigureProvider request was cancelled.
╵

Stack trace from the terraform-provider-configcat_v2.0.2 plugin:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x97966d]

goroutine 30 [running]:
github.com/configcat/terraform-provider-configcat/configcat.(*Client).GetMe(0xc0002fce40)
        github.com/configcat/terraform-provider-configcat/configcat/client.go:29 +0x12d
github.com/configcat/terraform-provider-configcat/configcat.NewClient({0xd5eb14, 0x19}, {0xc0000461ae, 0x24}, {0xc0000461fe, 0x2c})
        github.com/configcat/terraform-provider-configcat/configcat/client.go:53 +0x251
github.com/configcat/terraform-provider-configcat/configcat.providerConfigure({0xd4e6d1?, 0x6?}, 0xc0003032c0?)
        github.com/configcat/terraform-provider-configcat/configcat/provider.go:107 +0xe9
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Provider).Configure(0xc0000a7020, {0xe93120, 0xc0003032c0}, 0xd?)
        github.com/hashicorp/terraform-plugin-sdk/v2@v2.29.0/helper/schema/provider.go:300 +0x1f5
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ConfigureProvider(0xc00040be60, {0xe93120?, 0xc000302e10?}, 0xc000684c00)
        github.com/hashicorp/terraform-plugin-sdk/v2@v2.29.0/helper/schema/grpc_provider.go:593 +0x345
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).Configure(0xc0001bafa0, {0xe93120?, 0xc0003025d0?}, 0xc00068ee40)
        github.com/hashicorp/terraform-plugin-go@v0.19.0/tfprotov5/tf5server/server.go:597 +0x2d3
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_Configure_Handler({0xd1be40?, 0xc0001bafa0}, {0xe93120, 0xc0003025d0}, 0xc00069d810, 0x0)
        github.com/hashicorp/terraform-plugin-go@v0.19.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:413 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0001c61e0, {0xe96d60, 0xc000282d00}, 0xc0000cc360, 0xc00041b200, 0x13eaa10, 0x0)
        google.golang.org/grpc@v1.58.2/server.go:1376 +0xdf1
google.golang.org/grpc.(*Server).handleStream(0xc0001c61e0, {0xe96d60, 0xc000282d00}, 0xc0000cc360, 0x0)
        google.golang.org/grpc@v1.58.2/server.go:1753 +0xa2f
google.golang.org/grpc.(*Server).serveStreams.func1.1()
        google.golang.org/grpc@v1.58.2/server.go:998 +0x98
created by google.golang.org/grpc.(*Server).serveStreams.func1
        google.golang.org/grpc@v1.58.2/server.go:996 +0x18c

Error: The terraform-provider-configcat_v2.0.2 plugin crashed!

This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.

Hello @txomon ,
Thanks for reporting the issue.
Could you please show us the terraform configuration files related to ConfigCat and some information about the system where Terraform is running you are using (OS type/version, Terraform version, GO version)?
Thanks in advance,
Lali

Hello Lajos,
I'm not sure there is anything worth mentioning... We are using the
following config:
Terraform v1.5.7
on linux_amd64

provider registry.terraform.io/configcat/configcat v2.0.2
provider registry.terraform.io/datadog/datadog v3.32.0
provider registry.terraform.io/hashicorp/google v5.5.0
provider registry.terraform.io/hashicorp/google-beta v5.5.0
provider registry.terraform.io/hashicorp/random v3.5.1
provider registry.terraform.io/integrations/github v5.42.0

And there was nothing really going on, the configcat provider was
instantiated taking advantage of the environment variables, and it failed
early on.
Cheers, Javier
On Thu, Dec 14, 2023 at 9:20 AM Lajos Szoke @.***>
wrote:

Hello @txomon https://github.com/txomon ,
Thanks for reporting the issue.
Could you please show us the terraform configuration files related to
ConfigCat and some information about the system where Terraform is running
you are using (OS type/version, Terraform version, GO version)?
Thanks in advance,
Lali
—
Reply to this email directly, view it on GitHub
https://github.com/configcat/terraform-provider-configcat/issues/28#issuecomment-1855384015,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABXXGUQL2LA5GDXIJ4A5YTYJKZD7AVCNFSM6AAAAABATVJRWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJVGM4DIMBRGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hello Javier,
Thanks for these information. I just tried it locally on windows and ubuntu too with 1.5.7 and it worked for me.
Could you please also share your terraform configuration files?
Is this issue happening all the time or in just some cases?
Do you run it on TF cloud or locally?
Do you have any firewall rules on the machine?
Cheers,

Hello Lajos,
This is the only time I had that issue and I was unable to reproduce. I can
only say that the connectivity I had when running the plan was not optimal,
so maybe some
I can only suppose there is something wrong with the initialization of the
apiClient that caused a panic like this one and may only be hit in some
situations.
Cheers, Javier
On Fri, Dec 15, 2023 at 11:24 AM Lajos Szoke @.***>
wrote:

Hello Javier,
Thanks for these information. I just tried it locally on windows and
ubuntu too with 1.5.7 and it worked for me.
Could you please also share your terraform configuration files?
Is this issue happening all the time or in just some cases?
Do you run it on TF cloud or locally?
Do you have any firewall rules on the machine?
Cheers,
—
Reply to this email directly, view it on GitHub
https://github.com/configcat/terraform-provider-configcat/issues/28#issuecomment-1857629271,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABXXGRJLQOSIK5UB5WQCKDYJQQPBAVCNFSM6AAAAABATVJRWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJXGYZDSMRXGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks, this extra information helped me a lot. I killed my network adapter during integ tests and I could reproduce the issue. I'll release a new version soon with the fix.

I will release v3.0.0 soon with a breaking change, but I prioritized this issue higher and just released v2.2.0 with the fix so you can update to a fixed version without a breaking change.
I hope it will work for you.
If you are happy with our service, please help us grow by leaving a review. https://www.trustradius.com/welcome/configcat
It really makes a difference for us.

Hello @txomon ,
I'm closing this issue. Let us know if you experience any issue in the future. Thanks again for reporting this.
Cheers,


docstrings/sphinx: Support getting annotations/defaults/values from parent for "Yields" section

Is your feature request related to a problem? Please describe.
The goal is to have a common set of features between all parsers.
Describe the solution you'd like
The Sphinx parser should be able to retrieve annotations/defaults/values from the docstring parent for "Yields" sections.

Closing for cleanup, but if you'd like to work on this, just ask and I'll reopen!


its size does not match - Even though the size does match

Trying to match between trackers and getting this error back when I check on verbose. I have compared the two torrents by hand and they are the same size, no additional files etc.
Any reason cross-seed might think they are different sizes?

Are there any extra files, like nfo's or samples? I get this warning lot for some of my trackers that add sample files.

Ah right, there was an nfo I didn't see in the first instance. Will close this.


add first draft of pseudo code for data plane upgrade

The idea behind this approach is to handle all the machines and applications in them through Nova-compute applications. That way, not much code will change, what is benefit.
I prepared a diagram for a more detailed description.

Known issues:

Nova-compute application needs to be responsible for upgrading apps deployed under the same machine.

Steps like config changes must be done as pre-checks in nova-compute for all apps.

After review, we decide to go another direction.


Major Bug: The Xbox Mouse pointer is followed by the Pointer on PC but not a mouse directly connected to Xbox.

This is a new feature for apps like edge. Is there a specific use case which causes this to be a problem?

This is a new feature for apps like edge. Is there a specific use case which causes this to be a problem?

For Example all I use the app is for sharing Audio between my PC and Xbox cause AUX here has a lot of Ground Loop.
When I play Cod for Example with KBM, It wants to follow the Cursor on Linux and even after disconnecting the Mouse it just won't work and the Cursor will still go to where it last was on PC.
There should be a toggleable button for it.

It would be nice for the mouse pointer to disappear shortly after not touching the mouse, too.

I am unable to replicate it in other games but will add an option in the settings to turn off the mouse integration.

ye please, i wanna use Mic

A new options has been added to enable and disbale the mouse keyboard integration. It will be disabled by default. Please let me know if this fixes your problems. Note that the mic integration is still experimental. A known issue is that the voice's pitch is too high, this will be tackled in the next update

ye I tried the experimental build, only issue I found so far is that the Stuff I say for like 3 seconds get repeated on the 4th second mark for example and everything plays as if a tts was speaking at 3x speed. Note my Xbox and PC are connected via Ethernet to each other and PC is sharing the Network to the Xbox so there should be no delay

I don't know if this is related as I don't really understand the issue of OP. But there is a game on XBOX where we see both mouse and controller in use. This is PALADINS. On the home screen you see double pointer, the mouse and where the joystick of the controller goes... cause sometimes to block the controls on screen in the menu.

I assume the issue is fixed with the option to enable / disable the keyboard and mouse integration. The mic chat should also be fixed in the 2.0.0-beta14.


Updated k8s registry from k8s.gcr.io to registry.k8s.io

What this PR does / why we need it:
This PR is part of the Umbrella issue, https://github.com/kubernetes/k8s.io/issues/4780
Special notes for your reviewer:
With the change to defaulting to registry.k8s.io as the image registry and the planned freeze in April,
downstream projects will likely be impacted, so the image registry needs
to be updated from k8s.gcr.io to registry.k8s.io.

@xpivarc mentioned about this issue here, https://github.com/kubevirt/kubevirt/pull/9262#issuecomment-1443710928

/lgtm
@AlonaKaplan

@RishabhKodes Thanks for the PR! The github action should be updated as well - https://github.com/kubevirt/kubesecondarydns/blob/main/.github/workflows/image-push.yaml#L56

@RishabhKodes Thanks for the PR! The github action should be updated as well - https://github.com/kubevirt/kubesecondarydns/blob/main/.github/workflows/image-push.yaml#L56

@AlonaKaplan not quite sure, what should be updated here?

@RishabhKodes Thanks for the PR! The github action should be updated as well - https://github.com/kubevirt/kubesecondarydns/blob/main/.github/workflows/image-push.yaml#L56

@AlonaKaplan not quite sure, what should be updated here?

Sorry, ignore my comment. I confused ghcr.io with k8s.gcr.io.
/approve
/hold
@oshoval please review the PR, feel free to remove the hold.

Thank you for the contribution
/lgtm
/hold cancel

it is weird that it didnt run the gitactions

@AlonaKaplan can you please issue a tag ? (manual bump is needed as well on CNAO afterwards)
we better bump CNAO to be aware of it, so in case the old domain doesn't work, it wont be broken on CNAO / HCO
Thanks


(b5) register as baker on concordium client

confirmed:B5
address:3RjAbm3ihwGwW4k4NdjqLfx5xpaTkvFEWMBDZFneMNTniqxc7R

confirmed:B5
address:3RjAbm3ihwGwW4k4NdjqLfx5xpaTkvFEWMBDZFneMNTniqxc7R


license

This looks like a great start to a simple non-authoritative game server. Any way you could add a license to the code so others might fork?

Sorry. Wasn't using github lately. Added the license ;)


Add cudf.pandas notebook and update to RAPIDS 24.02

I've tested my fork and things work as expected for the GTC booth demo. Merging.


Fix #27994: compat.as_bytes should support bytearray

I made these changes manually in a local venv and was then able to write to a GFile handle from a fastavro Writer, which writes out bytearrays.

@erwa please sign CLA

I'm speaking with my legal team and just need to figure out a few details before signing the CLA. Hope to get back to you later this week.

@googlebot I signed it!

@rthadur , I've signed the CLA. Could you help review the patch?

Thanks for the review, @mihaimaruseac. I took a look at some of the failed CI builds and the failures look unrelated. Can you merge this PR?

There's some infrastructure changes going on at the moment. Will merge when resolved.

Thanks, Mihai.

Can you solve conflict?

Rebased on master and resolved conflicts.


Dialog: add aria-attributes

Feature Request
Also, would it be possible to allow adding aria-labelledby (which needs an ID reference to the header)?
The logic should be:

by default, generate aria-labelledby
if aria-labelledby provided by the user, use that instead
if aria-label provided, do not generate aria-labelledby

For aria-describedby I would leave it fully on the consumer to provide correct referecne as not all dialogs have clear description.
https://github.com/stardust-ui/react/pull/790#discussion_r252560457
Proposed solution
const getAriaLabeledBy = (props) => {
  if (props['aria-labelledby']) return props['aria-labelledby']
  if (typeof props.header === 'string' && props.header.id) return props.header.id

  return _.uniqid('dialog') // PREFIX
}

But, I'm not happy with it, to complex for one prop.

Don't agree with the aria-describedby part. According to ARIA:
Optionally, the aria-describedby property is set on the element with the dialog role to indicate which element or elements in the dialog contain content that describes the primary purpose or message of the dialog
If we put the logic inside of a behavior, we can have two variants of them - one that handles just label and another one that handles both label and description.
I would make the second one default and the first one (with just label) optional alternative.


UI issue when transcribing Seed phrase QR code template

When backing up the seed by creating a SeedQR (Backup Seed, Export as SeedQR), and choosing Standard: 25 x 25, you get to the Transcribe SeedQR screen. In that screen, you go to each square (A1, A2, A3, etc), and mark on your paper template the dots that need to be filled.
In 3 of the corners, the pre-printed alignment marker square sections show as squares. And the squares that you need to fill in are rounded, like you would make with a marker or sharpie pen.
However, in the bottom right pre-printed alignment marker square section, it shows up as dots. So you can't distinguish it from the rounded squares you're trying to fill in.
I would expect the bottom right section to behave as the other 3 sections.

https://t.me/c/1469623205/35339
There's some discussion of the issue here

Example:

The same dotted-but-should-be-squares rendering style appears in the zoomed in transcription UI.


Proposed utidc index clashes with cycleh register

We propose to use 0xC80 for utidc:
https://github.com/riscv/riscv-cheri/blob/f76f4a4f19297b4abc58bfaa62a087ab12542c13/src/tid-ext.adoc?plain=1#L28
However, it's already used by RISC-V priv for cycleh:
https://github.com/riscv/riscv-isa-manual/blob/6ee57d8997021aaa8025e208164763fe12e03c19/src/priv-csrs.adoc?plain=1#L165

ahh that's because I didn't check it against csrs32.csv in riscv-opcodes
I'll move it

also updated in riscv-opcodes: https://github.com/riscv/riscv-opcodes/pull/237

Fixed by https://github.com/riscv/riscv-cheri/pull/275


Same error all the time when trying to [GET] user list

Hey,
i implemented the authentication of this application into my app and signin works fine, but after i get back the JWT token and paste into my other request which is a [GET] {{url}}/api/v1/user for the user list i keep getting the same error. Unfortunately, couldn't figure it out whats goin on.

You can find my repo here
You can check the API documentation in Postman here
If you create a signin you'll get back the token, paste that into the folder user -> [GET]get all user Headers section and you are good to go.
The token contains the username, but something goes wrong after that and keep throws the same error. Btw. is there any documentation for this authentication flow? I'd like to learn it to be able to configure it myself.
Thanks in advance!

The problem was that wrong ReactiveUserDetailsService was injected in the converter.


RFE: Add ability to have dynamic mapping of ADFS' Access Control Policies to RPs

Current <IP_ADDRESS> behaviour is to have one Access Control policy (all can access) for a given RP load. It would be very helpful to:

[ ] have the ability for a default access control policy be applied to all entities ingested via a given ADFSTk configuration
[ ] have the ability to be able to dynamically assign a given access control policy via ADFSTkManualSPSettings.ps1.

it should be possible to assign a policy that may not exist in the ADFSTk file but the policy must exist in ADFS first or ADFSTk must throw an error and skip applying this change and should fail to perform any entity changes as default behaviour
default behaviour should reflect existing behaviour with <IP_ADDRESS> ADFSToolkit so that if this feature is not activated, <IP_ADDRESS> behaviour is adopted.

Rationale:
IdP operators should be free to apply additional criteria for RP access to federation RPs and leverage the existing ADFS Access Control infrastructure and do so at scale with ADFSToolkit and also be back compatible policywise with ADFSToolkit
Submitted on behalf of @favvojohan

Closing and resolved in release v2.0.0 https://github.com/fedtools/adfstoolkit/releases/tag/v2.0.0


Font rendering issue when plugging/inplugging external monitor

VSCode Version: 1.41.0
OS Version: macOS Catalina 10.15.2

Steps to Reproduce:
I think the problem appears when mixing HDPI (Retina) and HD displays.

Plug in an external (non-retina) monitor
Start VSCode, move the window onto the external monitor
Go to fullscreen and change virtual screen so that VSCode is not visible
Unplug the monitor
Change virtual screen so that VSCode is visible

Notice how some fonts are not correctly rendered (sometimes it only happens on a subset of VSCode: the Terminal view, or all views).
More informations on my configuration:

MacBook Pro 13" 2017, resolution: 2560 x 1600
External monitor HDMI through USB-C dongle, resolution: 1920 x 1200 (WUXGA)

Does this issue occur when all extensions are disabled?: Yes

Note: as a workaround, exiting full screen mode appears to be enough to fix the problem.

Is this still an issue with latest insiders https://code.visualstudio.com/insiders ?


Regarding JdbcStore managing two sequences in a single record.

Hello,
I'm curious about the JdbcStore logic to store the incoming_seqnum and outgoing_seqnum in the same record of the session table.
Since both the incoming and outgoing processes are trying to update the same record, this approach seems to induce a potential race condition and low throughput.
In contrast, FireStore keeps these sequences in separate files.
Is there a specific reason why JdbcStore does not follow a similar approach by keeping the two sequences in separate records?
Are there any advantages to the current logic that I am not aware of?
Thanks for your time and consideration.

Hi @ydh6226,
QuickfixJ Spring Boot Starter is just a wrapper around QuickfixJ. It simplifies the configuration required to create and start an Initiator or Acceptor and handles the lifecycle of the Connector.
With regards to the JdbcStore, this is a class from QuickfixJ but if you look at the implementation you will see that both the incoming_seqnum and outgoing_seqnum are inserted, updated, and queried at the same time:
https://github.com/quickfix-j/quickfixj/blob/50d004661424eb3d1d07fe78a90cb91d85946c29/quickfixj-core/src/main/java/quickfix/JdbcStore.java#L93
If you want to know more details of the motivations for such an approach please feel free to raise the question in their repository.

I was mistaken. Thanks


19 add goals page

Added goals page: add goal, add action, archive goal, complete goal
Integrated AuditLog, removed MetaDataMixin

I think you forgot to commit the pyproject.toml and the poetry.lockfiles because the auditlog package is not there (or maybe you installed it with pip? in that case you should install with poetry: poetry add django-auditlog.

[ ] add django-auditlog to dependecies


Wagtail Form Builder with Rest API

Hey, thanks for this amazing library,
I'm using wagtail headless for my project, and I'm going to create a contacts us form just like the wagtail bakery demo,
I wonder how can use the wagtail form builder with API to achieve this?
the important thing for me is to show the submmited messages in wagtail admin panel.
thanks in advance.

Hi @thevahidal - please use the Wagtail tag on Stack Overflow for support queries, or see the Support page in the documentation for other options.


getLocalHostname and getVersion apis

I have added two new api to get the localhost name for the spotilocal host protocol and the host current version of the application/protocol:
$ node
> host=require('./index')
{ SpotifyWebHelper: [Function: SpotifyWebHelper] }
> wh=new host.SpotifyWebHelper()
SpotifyWebHelper {
  isInitialized: false,
  init: [Function],
  getStatus: [Function],
  pause: [Function],
  unpause: [Function],
  play: [Function],
  getVersion: [Function],
  getLocalHostname: [Function] }
> wh.getVersion(function(err,res) { console.log(res) })
> { version: 9, client_version: '<IP_ADDRESS>.g1cba1920' }
> wh.getLocalHostname()
'gmosydwwlx.spotilocal.com'
>

@nadavbar good question. The idea is to use your module in this one https://github.com/loretoparisi/spotify-port-scanner-node
where I'm now using a modified version of your module adding those two functions :)

Makes sense. I'll merge your changes.

@nadavbar awesome!

@nadavbar is the module on npm as well? Thank you man!

@loretoparisi  - Should be now. The version with your fixes is 0.0.5

👍


Add a setting to enable host management features

Recently introduced host management features should be disabled by default and can be enabled by toggling a switch in the settings.
The following features are concerned:

Browse host filesystem (agent)
PCI/Disk panels in host view (agent)
Execute a job
Job scheduler

How far do we want to prevent accessing the features when they are disabled ?
Only hidding the contexts ? (hidding the panels, links to pages) or also redirecting to home page when directly trying to access the URL of feature pages (for example trying to access the job scheduler page) ?

Redirect if they try to access the direct urls
Rgds,
Neil Cresswell
On 9/11/2018, at 3:52 AM, baron_l <notifications<EMAIL_ADDRESS>wrote:
How far do we want to prevent accessing the features when they are disabled ?
Only hidding the contexts ? (hidding the panels, links to pages) or also redirecting to home page when directly trying to access the URL of feature pages (for example trying to access the job scheduler page) ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_portainer_portainer_issues_2439-23issuecomment-2D437020979&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=-Mz_pVUv19LFhZ7pklsHwYwp-YmMsv3WKll7rKipwr4&s=vPciYiXRWYJSIKKcsFNCVuxJMN8CrNEuhF6Wn2nKuz0&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AWGrlQkeWUR-2DaAdE8OpNJomcY3Tca7tKks5utEU9gaJpZM4YRweT&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=-Mz_pVUv19LFhZ7pklsHwYwp-YmMsv3WKll7rKipwr4&s=K6ETefnhbJyw57xa2OJOIHr9SuK1XjkaRM2GI0Vjnx4&e=.

@xAt0mZ actually simply remove the context. We'll also disable this on the API side so it doesn't matter to redirect the user on the home page for this context.

@deviantony can't find any of those features in Portainer ...

Browse host filesystem (agent)
PCI/Disk panels in host view (agent)

Some specific setup to see them ?

Yeap, you need to be connected to an agent (API version >= 2).


Rename master to main

What type of PR is this?
/kind documentation
What this PR does / why we need it:
Needed for https://github.com/kubernetes/k8s.io/issues/1597
Which issue(s) this PR fixes:
Partially addresses https://github.com/kubernetes/k8s.io/issues/1597

/retitle docs: Update references to k/k8s.io default branch
/release-note-none


Couldn't send a token

Couldn't send a token. What the catch here?
const tronWeb = new TronWeb({
    fullHost: 'https://api.trongrid.io',
    solidityNode: 'https://api.trongrid.io',
    eventServer: 'https://api.trongrid.io'
})
tx = tronWeb.trx.sendTransaction("TQ5vcDELdXvzXszWXyM97Bq61aVT6qWwUw", 1, "WIN", "87a909d4ad639a936dc266a60b540d43dc730f6e22a5c726486cbbaf363507ec")
console.log(tx)

Output:
Promise { <pending> }
(node:30057) UnhandledPromiseRejectionWarning: TypeError: i is not a function
    at e.<anonymous> (/node_modules/tronweb/dist/TronWeb.node.js:1:81389)
    at tryCatch (/node_modules/regenerator-runtime/runtime.js:45:40)
    at Generator.invoke [as _invoke] (/node_modules/regenerator-runtime/runtime.js:271:22)
    at Generator.prototype.<computed> [as throw] (/node_modules/regenerator-runtime/runtime.js:97:21)
    at asyncGeneratorStep (/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
    at _throw (/node_modules/@babel/runtime/helpers/asyncToGenerator.js:29:9)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:30057) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:30057) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

P.S: I'm aware about shasta, but amount on the account is small, so I'm not scared to actually lose it.
Account is: https://tronscan.org/#/address/TFEmx2iyqhoKV9BYvyfqhqrJMZDuFwedw1

Looks like doc is incorrect and correct function is sendToken
https://developers.tron.network/docs/tronweb-trx-functions#section-send-token
https://github.com/TRON-US/tronweb/blob/3ab10ff8c604cae580509bec58f9437caef6aca9/src/lib/trx.js#L914
But responce fails with {"Error":"class org.tron.core.exception.ContractValidateException : No asset !"} for me

Judging by function's code, it works only for trc10 tokens, makes sense now. Doc is incorrect through


Enable sharing of fields/methods between model classes

E.g., I want ID, created, etc. available for all my model classes (and with values automatically generated in __init__).  However, simply subclassing the base model class and then subclassing from that doesn't work.

just add AbstractConcreteBase to your base class
`
from sqlalchemy.ext.declarative import declarative_base , AbstractConcreteBase
class BaseModel(AbstractConcreteBase, object):
id = Column(Integer, primary_key=True, index=True)
def say_hello(self):
print("Model {id} says hello".format(id=self.id))
@classmethod
def cls_method(cls):`


Don't include the basePath in manifest keys

We usually want to reference an asset by some key we know (its filename, e.g. foo.js) & get its real public path (e.g. https://some.cdn.url/foo.1234.js) in return.
If the basePath gets added to both the key & value in the manifest, it's impossible to do this.
Since it's a simple change I thought I'd just PR it rather than opening an issue, but curious if you have a use case for including basePath in the keys?
:smile: cheers!

What's supposed to happen if two assets with the same name exist on two different paths?

OK, I did something daft & don't actually need this. Never mind!


Allow different style badges

It would be great if drone could support badge styling. Specifically I'd like to do something like flat-square in shields.io.

there is an open pull request for Shields to support Drone. https://github.com/badges/shields/pull/3240

Oh excellent!


run accumulated proofs through the main merkle tree

wasn't that bad, just have to squirrel away linkMaps when we got them

only need to be up-to-date enough to give us the KID we asked for, which it does give us

but isn't it the same link map used here? https://github.com/keybase/client/pull/7605/files#diff-b7515a197b2123085dab8910ed3535ddR125

you're right, good point

ok, all known points addressed


[Tutorial] Add output validation to sparse tutorial

Change summary:
1:> The tutorial is enabled to be part of CI by default.
2:> Output validation from Sparse & Dense added.
3:> Benchmarking is disabled by default to not overload CI.
cc @tkonolige , @jwfromm !

I'm a little confused as to what is going on here. It seems like you've moved the input data generation from one function to another? Could you provide a little description of what you've changed in this PR?

The inputs were being formed randomly for dense & sparse inference separately which were resulting in different outputs. So i have changed to a single input for both the case. And the final output is being compared for validation.

Hi @ANSHUMAN87 ,
maybe you could change the title of this PR in "Adding verification steps in sparse tutorial"? And maybe add a bit of description in the commit message?

Thanks @tkonolige , @giuseros !
I believe your comments are addressed now. Please have a look. Thanks!

This PR appears to be out of date, please feel free to reopen it if this is not the case.
As part of the new year we are attempting to triage the project's open pull requests to ensure that code which
is ready for review and/or merging receives adequate attention.
Thanks again for your contribution, and feel free to reach out to discuss these changes.


[🐞] Serializing dirty task when tracking a state on the layout if the state is changed in a component

Which component is affected?
Qwik Runtime
Describe the bug
I am tracking a state in a layout component that the state would be changed in a useTask$ in a component that is inside the layout.
Then qwik warns
QWIK WARN Serializing dirty task. Looks like an internal error.

Is this behaviour expected?
Reproduction
https://stackblitz.com/edit/qwik-starter-zntebs?file=src%2Froutes%2Findex.tsx
Steps to reproduce
Please visit the link above.
System Info
System:
    OS: macOS 14.1.1
    CPU: (8) arm64 Apple M2
    Memory: 77.16 MB / 24.00 GB
    Shell: 3.6.1 - /opt/homebrew/bin/fish
  Binaries:
    Node: 20.5.0 - /opt/homebrew/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 9.8.1 - /opt/homebrew/bin/npm
    pnpm: 8.8.0 - /opt/homebrew/bin/pnpm
    bun: 1.0.16 - ~/.bun/bin/bun
  Browsers:
    Chrome: 120.0.6099.71
    Safari: 17.1
  npmPackages:
    @builder.io/qwik: file:../clone/qwik/packages/qwik/dist => 1.3.0-dev20231212
221111
    @builder.io/qwik-city: file:../clone/qwik/packages/qwik-city/lib => 1.3.0-de
v20231212221111
    undici: ^5.28.2 => 5.28.2
    vite: ^5.0.8 => 5.0.8

Additional Information
No response

I found that this issue is also caused if I track the signal at the nested layout that is inside the root layout if the root layout changes the signal value in its useTask$.
Does anyone know this is a spec or a bug?
We shouldn't track the signals by useTask$ in the layouts?

I think this will be fixed by #5741

@wmertens Thanks! I have confirmed it is fixed :)


Remove shortened links from tips

Done
https://github.com/WLAN-Pi/wlanpi-common/commit/9fc277bbcac7915e9d6889d7ef962cf4b213107c


Unable to pull image from local registry with port

Bug description
Unable to pull image localhost:5000/asp-service:latest from the image page since it has two : in the name. Portainer does a POST http://portainer:9000/api/endpoints/1/docker/images/create?fromImage=localhost&tag=5000/asp-service incorrectly. It splits the first colon and sets 5000/asp-service as the tag
Expected behavior
It should POST http://portainer/api/endpoints/1/docker/images/create?fromImage=localhost:5000/asp-service&tag=latest (Notice the arguments)
If I manually do the POST from Postman wit the authorization header, it pull perfectly
Steps to reproduce the issue:
Steps to reproduce the behavior:

Create a local registry with a port like 5000 (In my case it's localhost:5000)
Push any image to that regitry
Deploy an container using the pushed image
Update the image and push the new image
Goto https://portainer/images
Select your image
Open network monitor
Click Pull from registry
Notice the image name is wrongly splitted and the Invalid tag format error

Technical details:

Portainer version: 1.20.1
Docker version (managed by Portainer): 18.09.1
Platform (windows/linux): CentOS 7
Command used to start Portainer (docker run -p 9000:9000 portainer/portainer):
Using the following docker-compose.yml file

version: '3'
services:
    portainer:
        image: portainer/portainer:latest
        container_name: portainer
        ports:
            - "9000:9000"
        volumes:
            - ./data:/data
            - /var/run/docker.sock:/var/run/docker.sock
        restart: always

Browser: macOS Firefox 65

Do you have any estimate for this to be fixed? Not that I want to add pressure, but it prevents us to have a good deploying workflow.

Closed via #3122


Browserify

Use browserify to generate build, create standalone and npm-able package
See if dependencies can be handled through npm dependencies

It's been a while, but I'm going to give this a shot.


Sonarcloud integration

https://www.sonarqube.org/
https://about.sonarcloud.io/sq/branch-analysis-and-pr-decoration.html

Wait for bot account to replace my account in the status message

Codecov Report

Merging #56 into dev will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##                dev      #56   +/-   ##
=========================================
  Coverage     60.65%   60.65%
  Complexity      139      139
=========================================
  Files            36       36
  Lines           615      615
  Branches         65       65
=========================================
  Hits            373      373
  Misses          229      229
  Partials         13       13

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 12d9446...7a570a9. Read the comment docs.


Customize data being sent

We should be able to customize what data is being sent, rather than just "hi".  It should offer some templating for things like timestamps.

Fixed by #50

(not the templating but new issue if needed)


Simplify conversion-gen to only one invocation and remove workarounds

What this PR does / why we need it:
In https://github.com/jetstack/cert-manager/pull/3926, the conversion-gen invocation was split up into multiple calls, with some special workarounds added in to remove go build tags (later in https://github.com/jetstack/cert-manager/pull/4478/commits/0889570722f93960cccd282a744c750c1d6d1b68).
This PR reverts those changes by manually defining a few very basic conversion functions in the acme API group.
This should workaround the issues described in https://github.com/kubernetes/kubernetes/issues/101567 and make it easier/less problematic to run this script (and reduce the time it takes to run 🎉)
Release note:
NONE

/test pull-cert-manager-e2e-v1-22
(groan at the flake)


Ability to define the size of the image that will be cached

It will be fine to be able to define the size of the image that will be cached.
I have a lot of remote images but I just want to have their thumbnails cached.
So, I use SDWebImage to download that image but it will cache the full image, wasting a lot of space on memory and/or disk.

you can use this:

do your transforms inside and the result image will be the one that SDWebImage will cache

wow, great information, thanks!
On Thu, Jul 7, 2016 at 8:12 PM, Konstantinos K<EMAIL_ADDRESS>wrote:

you can use this:
transformDownloadedImage:(UIImage *)image withURL:(NSURL *)imageURL;

do your transforms inside and the result image will be the one that SDWebImage will cache

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/rs/SDWebImage/issues/1615#issuecomment-231178103>, or mute
the thread
<https://github.com/notifications/unsubscribe/AB9IukUWasKqhKwqI3A9SiOe7299PgJyks5qTU-6gaJpZM4JHRQS>
.


Fix hooks stringification

Only go with value.value when value is a hook.
Related to this comment: https://github.com/nthtran/vdom-to-html/pull/10/files#r33026197
Our problem: we're having virtual-dom used in a bunch of libraries using each other. vdom-to-html is used at very very root, which lead us to the case when different versions and therefore hook constructor instances are used for stringifications.
You might see some other cases, when value.value should not be used. If so — please tell & add tests!
/cc @nthtran @bitinn @marlun
* in a relevant issue https://github.com/nthtran/vdom-to-html/issues/13#issuecomment-114431674 also discussed possibility of using Hook.prototype.toString.

I don't know your exact problem without looking at your dependency tree, but my first suggestion is to depend on virtual-dom explicitly on your package.json, then let your other dependencies use that version of virtual-dom.
npm shrinkwrap might also help.
If some other module has an out-of-date dependency on virtual-dom, might worth notifying its owner.

Back to your PR, maybe we are missing a proper test case for ev-*? h() should have setup an EvHook for property like ev-click, which we don't want to render but isHook will return true, as described in #10. I think this PR passes our test because somewhere in createAttribute we happen to ignore EvHook.
https://github.com/Matt-Esch/virtual-dom/blob/master/virtual-hyperscript/index.js#L94-L97
https://github.com/nthtran/vdom-to-html/blob/master/test/test.js#L42-L49

@bitinn not sure if shrinkwrap is a good solution, I'd prefer not to use instanceof at all.
We should not try to handle all the possible hooks (cause user hooks might be completely custom).
Instead it'd make more sense to just rely on presence of .toString and fallback to '' as a default value.

@DeTeam I think .toString is too generic to rely on, I would prefer a custom method like #12, so we know for sure ppl is relying on this extension.
If there is a way to avoid using instanceof  I am all ears, but doing only isHook will require createAttribute to handle edge case (eg, EvHook) and may run into problem with custom hooks, or when virtual-dom itself introduce new hooks.
All in all, I think we need to add more tests if we decide to switch to isHook:

for all built-in hooks
for custom hooks

EvHooks set via ev-* are always ignored because they happen to be non-standard properties. Can EvHooks ever be set via other means?

@nthtran EvHook is only used during hyperscript for ev-* prop.

Now that I think of it, my only concern with using isHook is that it doesn't really tell us anything about what's stored on value.value, eg. whether it's stringify-able or not.
But I don't think this change will cause any problem for me, as I haven't found a need to run custom hook yet.

Yeah I think this change is fine for now as well. At least until virtual-dom figures out hook type checking/rendering Matt-Esch/virtual-dom#247.

@bitinn Why do you think toString is too generic? Isn't that the whole beauty of the idea, that through polymorphism you have an interface that always works so that every custom hook can easily be integrated with vdom-to-html without having to rely on virtual-dom or vdom-to-html to have knowledge about the existence of your hook?
In the end hooks that matter for vdom-to-html are always attributes, and as per HTML spec they can only be strings. So having stringification of hooks be part of the interface seems to be the ideal solution for this library.

@TimBeyer I was referring to virtual-dom spec, there isn't a standard on how to stringify hooks yet, so no guarantee that this.value will be stringify-able, for example EvHook store a handler function on it. Another problem being that custom hooks maybe using toString for different purpose, without realizing it's checked here. So my point was to avoid calling toString by default when there wasn't a standard.
Having said that, as suggested in virtual-dom thread, if spec decides to go with toString, then I have see no problem with it. I don't think this change will break anything.
Maybe we should even support Widget rendering through toString() as well?

+1 for .toString() on all the virtual-dom things.


Hackdayzzz: ingress-nginx plugin system

Plan:

Build CRD to describe a plugin
Change controller to react on CRD and reconfigure Nginx
Lua code to load and run plugins

The plugins are expected to be stored in /etc/nginx/lua/plugins/<plugin name> in the container.
 has to be a valid folder name.
Inside every plugin folder there has to be main.lua file. main.lua is the entry point of the plugin. It should define a public function for every Nginx phase that it needs to run.

How do we feed variables to plugins?
There can be two types of variables (1) module level variable (2) per phase variable
--
I think we can have controller to dynamically create i.e vars.lua file in the plugin directory based on CRD data. Then plugin manager would read that file and feed variables accordingly.

How do we do app specific plugins?
maybe have the directory scheme as following instead of /etc/nginx/lua/plugins:
/etc/nginx/lua/plugins/shared//
/etc/nginx/lua/plugins/<upstream name (something that's Ingress specific)>//
This way in future we can also reimplement core modules as plugins into /etc/nginx/lua/plugins/core/<plugin name>/.
--
How would it look like from CRD perspective?

So since we seem to have settled on having a plugin CRD reference a single archive, here's what I'm currently thinking of for the CRD structure:
apiVersion: nginx.ingress.kubernetes.io/v1alpha1
kind: IngressNginxPlugin
metadata:
  name: test-plugin
spec:
  archive: https://site.com/plugin.tar.gz
  sha256sum: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  vars:
    - name: foo
      value: 123

With a corresponding go struct like this:
type IngressNginxPluginSpec struct {
	Archive   string                 `json:"archive,omitempty"`
	Sha256Sum string                 `json:"sha256sum,omitempty"`
	Vars      map[string]interface{} `json:"vars,"`
}

Everybody good with this?


How do you create an index.html?

How do you create an index.html?

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

ID: 63230b97-2269-3fed-7fca-882bb380c5f6
Version Independent ID: feb2708e-5cea-4ad8-eaaa-f3061e18c11a
Content: Quickstart: Build your first static web app
Content Source: articles/static-web-apps/get-started-portal.md
Service: static-web-apps
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

@rwb196884
Thanks for your feedback! We will investigate and update as appropriate.

Hey @rwb196884, when you click https://github.com/staticwebdev/vanilla-basic.git, it generates a repo under your own GitHub account. This template has a folder structure that not only allows you to create a static html but also the API that the static html can call. The index.html file is located in the src folder, but you can see it https://github.com/staticwebdev/vanilla-basic/blob/main/src/index.html.
If you don't use the template, all you need to do is create an index.html file in any text editor and use VS Code to create and push the static web site using / as the build folder.


Integration showing strange values

Hi Guys,
Did you notice incorrect values reported by integration?

Thanks in advance!

I am also receiving incorrect values. @Reciv3 did yours come right in the end?

Deye 10kw inverter the same problem. ver 1.5.1

I have the same problem, Deye 15kW

@Point-Xero still showing incorrect values...but I did nothing to check what's wrong

@Reciv3 what is your logger serial number? Some of them are not supported including mine - 29xxxxxxx
Any chance for a fix?

Hi @piotrkazmierczak2323, @p0ptab @Tomson-pl @Point-Xero,
I have fixed my integration. Steps:

you need to check your inverter model (in my case SG04LP3-EU)
Open main solarman directory -> inverter_definitions -> and search for definitions that fits your model

this is typically described in first 2 rows of the file

Go to main HA settings -> Devices and Services -> Open Solarman Integration and press configure
In the last section change your file (from step 2) to new one and save.
Restart HA

@Reciv3 It helped, thank you!
SUN-10k inverter needs a config deye_sg04lp3.yaml


ZoomIn/ZoomOut buttons do not reset their colors after a click.

When you press the zoomIn or the zoomOut buttons in the top left corner, it keeps their 'pressed' state instead of resetting to the 'non-pressed' state.
Pressed state: darker blue
non-pressed state: lighter blue
Both buttons should go back to the light blue color.

Passed on local branch

Passed on develop.


Receiver Names

The naming convention for brz should really be in terms of secondary...and then add the zero freq back in.

#13 If we fix the secondary stuff, this will also be fixed.

This issue was moved to simpeg/simpeg#133


Starting server results in error

Whenever I start the application I get this error. I'm using Ubuntu 16.04 completed updated.
"Unhandled exception in thread started by <function wrapper at 0x7f78a05a9ed8>
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/django/utils/autoreload.py", line 228, in wrapper
fn(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/commands/runserver.py", line 125, in inner_run
self.check(display_num_errors=True)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 359, in check
include_deployment_checks=include_deployment_checks,
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 346, in _run_checks
return checks.run_checks(**kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/core/checks/registry.py", line 81, in run_checks
new_errors = check(app_configs=app_configs)
File "/usr/local/lib/python2.7/dist-packages/django/core/checks/urls.py", line 16, in check_url_config
return check_resolver(resolver)
File "/usr/local/lib/python2.7/dist-packages/django/core/checks/urls.py", line 26, in check_resolver
return check_method()
File "/usr/local/lib/python2.7/dist-packages/django/urls/resolvers.py", line 254, in check
for pattern in self.url_patterns:
File "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py", line 35, in get
res = instance.dict[self.name] = self.func(instance)
File "/usr/local/lib/python2.7/dist-packages/django/urls/resolvers.py", line 405, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py", line 35, in get
res = instance.dict[self.name] = self.func(instance)
File "/usr/local/lib/python2.7/dist-packages/django/urls/resolvers.py", line 398, in urlconf_module
return import_module(self.urlconf_name)
File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/home/greg/liquid_dl/liquid_dl/urls.py", line 20, in
from liquid.views import schedule
File "/home/greg/liquid_dl/liquid/views.py", line 13, in
from liquid.auth.usermanagement import update_password, create_new_cloudcmd_password
File "/home/greg/liquid_dl/liquid/auth/usermanagement.py", line 7, in
from passlib.hash import pbkdf2_sha256
ImportError: No module named passlib.hash"

pip install passlib, sorry this was due to my error in not including it the requirements.txt file nor the readme file

I install passlib and I get similar errors.

Let me know if the newest build from the master branch fixes your issue

Bingo! Works just fine! Thanks!


Doc broken link: the squash link in contributing page broken

Description:
https://gateway.envoyproxy.io/latest/contributions/contributing/#fixing-dco

In this contributing page, the squash link: https://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html broken:

Seems the site is down or domain problem.
Shell we replace this link to another one? like: https://www.git-tower.com/learn/git/faq/git-squash
Please provide some suggestions, I can fix it.

The target is unstable, should replace it with another address.


Algolia Updates

Updated readme, .env.example, added content snippet attribute to Article model (instead of having to set it manually), made js use rails env vars to get Algolia keys b/c we have three different registered Algolia apps (dev/qa/prod) - needs to be referencing the right Algolia Index.

Ready for deploy


Can't see camera RTSP (Xiaomi XiaoFang with hack) on Homekit via Homebridge

Hello at all,
I've installed on my Ubuntu PC Homebridge and with Domoticz works well. Some days ago I tried to install Homebridge-Camera-ffmpeg and connect my camera Xiaofang with hack to Homekit but I can't see it. The camera works well with VLC but if I try to add to Home App, iPhone doesn't detect it. This is the configuration of config.json file:
{
"bridge": {
"name": "Homebridge",
"username": "CC:21:3E:E4:DE:33",
"port": 51826,
"pin": "031-45-154"
},
"description": "Configuration file for (e)xtended Domoticz platform.",
"platforms": [{
"platform": "eDomoticz",
"name": "eDomoticz",
"server": "<IP_ADDRESS>",
"port": "8080",
"ssl": 0,
"roomid": 0,
"mqtt": 1
},
{
"platform": "Camera-ffmpeg",
"Cameras": [{
"name": "Cancello",
"videoConfig": {
"source": "-rtsp_transport tcp - i rtsp: //<IP_ADDRESS>/unicast",
"stillImageSource": "-i rtsp: //<IP_ADDRESS>/unicast -vframes 1 -r 1",
"maxStreams": 2,
"maxWidth": 1280,
"maxHeight": 720,
"maxFPS": 30
}
}]
}
],
"accessories": []
}
Someone can help me to solve the problem?
Thank you.

Default Xiaofang username is "root" Password is "ismart12". I've applied fang-hacks to the camera.

@AlbertoZantedeschi using homebridge-camera-ffmpeg or the other plugin your config should be like this:
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:22:E3:22:22",
"port": 51826,
"pin": "222-22-223",
"manufacturer": "@miio",
"model": "Homebridge",
"serialNumber": "0.4.22"
},
"platforms": [{
"platform":"Camera-ffmpeg",
"cameras":[
{
"name":"Camera 1",
"videoConfig":{
"source":"-rtsp_transport tcp -i rtsp://<IP_ADDRESS>/unicast",
"stillImageSource":"-i rtsp://<IP_ADDRESS>/unicast -vframes 1 -r 1",
"maxStreams":2,
"maxWidth":1280,
"maxHeight":720,
"maxFPS":15,
"vcodec":"h264_omx"
}
}
]
}]
}


Globally customize timeline TTS point of activation (set beforeSeconds globally)

Summary
I'd like a feature which allows you to customize the time when TTS triggers happen.
Right now we can already show each mechanic X seconds in advance in the timeline, I'd like the same customization for the TTS triggers aswell.
It could be useful on jobs like SCH where you may want to pre-succor or Seraph a mechanic.
Right now the speech trigger activates once the cast bar on the boss appears (if there is one), which is too late for both of these cases, unless you swiftcast a succor, not even mentioning Seraph taking like 4 seconds from summon to actually casting the shield.
While this could theoretically be achieved by looking at the timeline, using the existing audio triggers would be another great help, by just shifting them X seconds forward. Currently you'd have to modify each seperate timeline file to pick out a specific mechanic and adjust the time manually, an overall setting to shift the triggers by X seconds would be much easier to handle.

Triggers and timelines are different things; you can't warn someone of an event that has yet to be observed. Cactbot knows nothing about healer goals until it sees the logline:
15:.{8}:(?:Garuda|Titan):2B6[BC]:Rock Throw:.{8}:(?<name>[a-zA-Z' ]+)
If you want to pre-empt an event, you need foreknowledge which is what timeline provides. It would be nice if there were a bridge between a timeline file and a trigger, so you could have a timeline event activate a trigger prematurely, but for all intents and purposes, they seem to be separate things.

Triggers and timelines are different things; you can't warn someone of an event that has yet to be observed. Cactbot knows nothing about healer gaols until it sees the logline:
15:.{8}:(?:Garuda|Titan):2B6[BC]:Rock Throw:.{8}:(?<name>[a-zA-Z' ]+)
If you want to pre-empt an event, you need foreknowledge which is what timeline provides. It would be nice if there were a bridge between a timeline file and a trigger, so you could have a timeline event activate a trigger prematurely, but for all intents and purposes, they seem to be separate things.

But isn't this exactly what the timeline is able to do already?
Looking at some files, this one being from TEA for example, it has a property "beforeSeconds" which I'd think tells the trigger how many seconds in advance it should activate:
 zoneRegex: /^The Epic [Oo]f Alexander \(Ultimate\)$/,   timelineFile: 'the_epic_of_alexander.txt',   timelineTriggers: [     {       id: 'TEA Fluid Swing',       regex: /Fluid Swing/,       beforeSeconds: 5,

Timeline files are capable of "predicting" events, triggers aren't.

Timeline files are capable of "predicting" events, triggers aren't.

Maybe I do not quite understand how this works but isn't this exact snippet here the trigger?
  zoneRegex: /^The Epic [Oo]f Alexander \(Ultimate\)$/,
  timelineFile: 'the_epic_of_alexander.txt',
  timelineTriggers: [
    {
      id: 'TEA Fluid Swing',
      regex: /Fluid Swing/,
      beforeSeconds: 5,
      // TODO: this is likely calling out twice sometimes because
      // the timeline resyncs and it becomes 5 seconds before again.
      // This is probably a problem for all timeline triggers (whoops)
      // and needs to be fixed more generally rather than adding a
      // suppression.
      suppressSeconds: 1,
      preRun: function(data) {
        data.swingCount = (data.swingCount || 0) + 1;
      },
      alertText: function(data) {
        let multipleSwings = data.swingCount == 2 || data.swingCount == 3;
        if (data.role == 'healer') {
          if (multipleSwings) {
            return {
              en: 'Tank Busters',
              de: 'Tank buster',
              fr: 'Tank busters',
              ja: 'タンクバスター',
            };
          }

The alertText is what is gonna be shown under the timeline and also the text which is gonna be spoken by the TTS setting, no? I don't mind ACT custom triggers or anything the like but just the default text which is outputted by Cactbot when enabling the cactbot TTS feature.

This is likely the bridge I was mentioning. If you look at the timeline file, the name for the tank buster event is Fluid Swing, and the regex matches exactly that.
With this feature, it's possible to do what you wanted here

an overall setting to shift the triggers by X seconds would be much easier to handle.

by creating a triggers that match desired Timeline events and adding to them the beforeSeconds property.

This is likely the bridge I was mentioning. If you look at the timeline file, the name for the tank buster event is Fluid Swing, and the regex matches exactly that.
With this feature, it's possible to do what you wanted here

an overall setting to shift the triggers by X seconds would be much easier to handle.

by creating custom triggers that match desired Timeline events and adding to them the beforeSeconds property.
Example
{
      id: 'TEA Splashes',
      regex: /Splash x6/,
      beforeSeconds: 5,
      alertText: {
        en: 'splashes in 5',
      };
}

Yup, that is exactly what I'd have to do right now, which can be quite the hassle to do it for every single timeline.
It would be nice to have an overall setting (in the raidboss user settings) which applies the specified beforeSeconds to each timeline event, or adding the specified amount to all already registered beforeSeconds parameters.
That way you can just set it globally if you like to have announcements further into the future instead of having to dig through all the timelines and setting the properties yourself manually.

I don't think this will work, but you can try regexing the trigger name in your config file to catch as many triggers as you want and modify them in one swoop.

I've added "before seconds" to the config ui for anything that is a timeline trigger, but I think in general this is just not something that's possible to do.  I will try to make "big" aoes in the future that really need prep more warning than they currently have in the future.


Properly center labels in the TileMap/Set editors

The labels showing some information of use in those editors weren't properly centered:

Thanks!


HDFS-16811. Support to make dfs.namenode.decommission.backoff.monitor.pending.limit reconfigurable

Description of PR
HDFS-16811. Support to make dfs.namenode.decommission.backoff.monitor.pending.limit reconfigurable
When the Backoff monitor is enabled, the parameter dfs.namenode.decommission.backoff.monitor.pending.limit can be dynamically adjusted to determines the maximum number of blocks related to decommission and maintenance operations that can be loaded into the replication queue.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 40s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  1s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
39m 28s

trunk passed

+1 :green_heart:
compile
1m 36s

trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
compile
1m 29s

trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
1m 15s

trunk passed

+1 :green_heart:
mvnsite
1m 35s

trunk passed

+1 :green_heart:
javadoc
1m 24s

trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
1m 40s

trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m 42s

trunk passed

+1 :green_heart:
shadedclient
23m 15s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 25s

the patch passed

+1 :green_heart:
compile
1m 25s

the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javac
1m 25s

the patch passed

+1 :green_heart:
compile
1m 23s

the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
1m 23s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 55s

the patch passed

+1 :green_heart:
mvnsite
1m 18s

the patch passed

+1 :green_heart:
javadoc
0m 55s

the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
1m 33s

the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m 18s

the patch passed

+1 :green_heart:
shadedclient
22m 55s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
244m 37s

hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
1m  5s

The patch does not generate ASF License warnings.

354m 56s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5068/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5068

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux a43f7ada2d75 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / fab3cd36bf2f947f6bfc4c23ac46ff7400063552

Default Java
Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5068/1/testReport/

Max. process+thread count
3192 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5068/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 42s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  1s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
39m 40s

trunk passed

+1 :green_heart:
compile
1m 33s

trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
compile
1m 30s

trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
1m 18s

trunk passed

+1 :green_heart:
mvnsite
1m 46s

trunk passed

+1 :green_heart:
javadoc
1m 17s

trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
1m 35s

trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m 35s

trunk passed

+1 :green_heart:
shadedclient
23m 11s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 21s

the patch passed

+1 :green_heart:
compile
1m 25s

the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javac
1m 25s

the patch passed

+1 :green_heart:
compile
1m 19s

the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
1m 19s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
1m  0s
/results-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs-project/hadoop-hdfs: The patch generated 1 new + 75 unchanged - 0 fixed = 76 total (was 75)

+1 :green_heart:
mvnsite
1m 25s

the patch passed

+1 :green_heart:
javadoc
0m 53s

the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
1m 30s

the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m 18s

the patch passed

+1 :green_heart:
shadedclient
22m 44s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
237m 52s

hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
1m  6s

The patch does not generate ASF License warnings.

348m  9s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5068/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5068

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux af62785a4c81 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 5eb3fcea335142d2bf0e4c892d78c2c22f2c7126

Default Java
Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5068/2/testReport/

Max. process+thread count
3168 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5068/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

Updata PR.
@tomscut please help review again , Thanks

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 38s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
39m 13s

trunk passed

+1 :green_heart:
compile
1m 35s

trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
compile
1m 31s

trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
1m 17s

trunk passed

+1 :green_heart:
mvnsite
1m 44s

trunk passed

+1 :green_heart:
javadoc
1m 17s

trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
1m 37s

trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m 31s

trunk passed

+1 :green_heart:
shadedclient
23m  5s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 17s

the patch passed

+1 :green_heart:
compile
1m 22s

the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javac
1m 22s

the patch passed

+1 :green_heart:
compile
1m 17s

the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
1m 17s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
0m 57s
/results-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs-project/hadoop-hdfs: The patch generated 1 new + 75 unchanged - 0 fixed = 76 total (was 75)

+1 :green_heart:
mvnsite
1m 24s

the patch passed

+1 :green_heart:
javadoc
0m 58s

the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
1m 25s

the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m 18s

the patch passed

+1 :green_heart:
shadedclient
22m 49s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
240m 57s

hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
1m  5s

The patch does not generate ASF License warnings.

350m 20s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5068/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5068

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux e0988b2a3c20 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 9219530a094dcae9e01ddfbee46a559542c468e3

Default Java
Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5068/3/testReport/

Max. process+thread count
2995 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5068/3/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

Updata PR. @tomscut please help review again , Thanks

Please fix the checkstyles warning. Thanks.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 38s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
39m 46s

trunk passed

+1 :green_heart:
compile
1m 43s

trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
compile
1m 27s

trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
1m 16s

trunk passed

+1 :green_heart:
mvnsite
1m 38s

trunk passed

+1 :green_heart:
javadoc
1m 25s

trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
1m 40s

trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m 39s

trunk passed

+1 :green_heart:
shadedclient
23m  0s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 18s

the patch passed

+1 :green_heart:
compile
1m 24s

the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javac
1m 24s

the patch passed

+1 :green_heart:
compile
1m 16s

the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
1m 16s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 56s

the patch passed

+1 :green_heart:
mvnsite
1m 25s

the patch passed

+1 :green_heart:
javadoc
0m 53s

the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
1m 27s

the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m 21s

the patch passed

+1 :green_heart:
shadedclient
22m 56s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
243m 50s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
1m  4s

The patch does not generate ASF License warnings.

353m 42s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.datanode.fsdataset.impl.TestFsDatasetImpl

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5068/4/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5068

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux d7d67e1785b0 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 6feb398a6aef36b4ecfade645d877a3070835b6f

Default Java
Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5068/4/testReport/

Max. process+thread count
3069 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5068/4/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

The failed unit test seems unrelated to the change.

@tomscut thanks help to review it.

Thanks @haiyang1987 for your contribution.

Hi  @haiyang1987 please cherry-pick this to branch-3.3. There are some conflicts. And please update the typo reconfigurablereconfigurable in commit info. Thanks.

Hi @tomscut sorry for the late reply, I will do it later.


Clarification regarding the inclusion of phonegap.js/cordova.js

Clarified the fact that the files still need to be linked to even if they are not to be included.

Closed as requested by author, change already integrated.


[FEATURE] Make RxResume Applicant Tracking system (ATS) compliant

Most of the applicant screening is done by the Applicant Tracking system (ATS). The Resume generated from RxResume is not read by ATS. This leads to the resume being rejected automatically.
Describe the solution you'd like
I would like the Resume from RxResume to be ATS compliant
Describe alternatives you've considered
Making the resume with a Word template and exporting to PDF

Hello Stephen,
This is just a system that many employers use to filter and organize resumes. The formatting of an ATS compliant resume should include clear headings, simple fonts, and a layout that is easy to read. It should also include keywords that match the job description, as well as relevant experiences and qualifications. It is in PDF format
However, putting the Rx-Resume through the various ATS checker leads to the conclusion that the contents are not being read. And since the exact ATS format being used are company dependent, I don't know how I can provide more information about this. A practical problem I faced using RxResume is that only the companies which were manually screening the applications actually called me up.
Thank you

I can confirm. Information from https://www.topresume.com/ : _Your resume is saved in PDF format. 19% of resumes look like yours. While this may make viewing consistent for recruiters, some older Applicant Tracking Systems (ATS) might not be able to correctly parse this. You might want to consider converting your document to a Microsoft Word file.
Resume Scan Test Results
93% of all Hiring Managers use resume scanning software called applicant tracking systems (ATS) to filter candidates from the application pool. To illustrate how you stand up to the automation, I passed your resume through the very same software that Hiring Managers use to filter the real talent from the hundreds, sometimes thousands, of candidates that apply for a single open position._


Make StripeSubscription.quantity optional

A Subscription that contains multiple Items has its quantity set to null.

Thank you for this. Will get it all merged in 👍


Switch to a unified runtime binary format

Instead of the mess we have in go/runtime/registry/config.go, we can make both our lives and that of our users much simpler by having a single binary, that is self-describing.
My proposal is to migrate to providing binaries as ZIP archives, with a manifest file that describes the relevant configuration parameters including:

Name
ID
Version
ELF executable file
SGX signature file (if relevant)
SGX executable file (if relevant)

To avoid confusion, while we will likely use the easy-to-work-with ZIP format, we should pick a new extension so that users are not tempted to extract the file.
While the manifest file is only going to ever be machine generated, and primarily machine parsed, it should be in a human readable format (manifest.xml, manifest.json, etc) to ease debugging, and the manifest file should be the only thing that has a fixed name in the archive.

To avoid confusion, while we will likely use the easy-to-work-with ZIP format, we should pick a new extension so that users are not tempted to extract the file.

.orc (Oasis Runtime Container) :grin:

Done in #4474


No module named 'azure.storage'

I'm using python 3.8 and have the same issue. I have a Azure http function running well locally, but didn't work when deploy to cloud.
ModuleNotFoundError: No module named 'azure.storage'. Troubleshooting Guide: https://aka.ms/functions-modulenotfound Stack: File "/azure-functions-host/workers/python/3.7/LINUX/X64/azure_functions_worker/dispatcher.py", line 259, in _handle__function_load_request func_request.metadata.entry_point) File "/azure-functions-host/workers/python/3.7/LINUX/X64/azure_functions_worker/utils/wrappers.py", line 31, in call raise extend_exception_message(e, message) File "/azure-functions-host/workers/python/3.7/LINUX/X64/azure_functions_worker/utils/wrappers.py", line 29, in call return func(*args, **kwargs) File "/azure-functions-host/workers/python/3.7/LINUX/X64/azure_functions_worker/loader.py", line 73, in load_function mod = importlib.import_module(fullmodname) File "/usr/local/lib/python3.7/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/home/site/wwwroot/poc1/init.py", line 4, in from azure.storage.blob import BlobServiceClient, BlobClient, ContainerClient

I have the same issue. I am using the deployment script provided by the documentation or created automatically via Azure DevOps. My function depends on the azure storage library. For some reason, the packages are not installed during/post deployment.
I am using the Pipeline task: AzureFunctionApp@1 which zips everything and pushes the file to a the function app's storage account. Then, the task automatically updates WEBSITE_RUN_FROM_PACKAGE to point to the newly created blob.
However, when the function runs, the worker is unable to find function's dependencies.
I have tried using: **SCM_DO_BUILD_DURING_DEPLOYMENT ** and **ENABLE_ORYX_BUILD **.
However, **SCM_DO_BUILD_DURING_DEPLOYMENT ** cannot be used in conjunction with WEBSITE_RUN_FROM_PACKAGE as described here: https://docs.microsoft.com/en-us/azure/azure-functions/run-functions-from-deployment-package
Can this be looked at asap?

Hi @larryfeng2008,
Thanks for reporting this issue, seems like you're deploying a Python 3.8 azure-storage-blob packages onto a Python 3.7 function app. How do you do your deployment? Are you using Azure Functions Core Tools or VSCode?


Supersig: second grant proposal to be included in system level chain (statemine)

Project Abstract
Supersig has completed it's first grant. This follow up grant is required to make the necessary changes in order for it to be included in Statemine, Polkadot JS main repo, and approved by the Fellowship.
Supersig is like Multisig but provides more flexibility when it comes to scaling your organisation. You have features such as:

you can add and remove members;
enumerated threshold (i.e. simpleMajority, instead of fixed threshold);
and you have the option to add either Standard users which is 1 vote for 1 user, or Master users which has 50% voting power,.

If your application is a follow-up to a previous grant, please mention which one in the first line of the abstract and include a link to previous pull requests if applicable.

Grant level

[ ] Level 1:  Up to $10,000, 2 approvals
[x] Level 2:  Up to $30,000, 3 approvals
[ ] Level 3:  Unlimited, 5 approvals (for >$100k: Web3 Foundation Council approval)

Application Checklist

[x] The application template has been copied and aptly renamed (project_name.md).
[x] I have read the application guidelines.
[x] Payment details have been provided (bank details via email or BTC, Ethereum (USDC/DAI) or Polkadot/Kusama (USDT) address in the application).
[x] The software delivered for this grant will be released under an open-source license specified in the application.
[x] The initial PR contains only one commit (squash and force-push if needed).
[x] The grant will only be announced once the first milestone has been accepted (see the announcement guidelines).
[ ] I prefer the discussion of this application to take place in a private Element/Matrix channel. My username is: @_______:matrix.org (change the homeserver if you use a different one)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi @Noc2 David, thanks for your questions.
Re: launching this with the polkadot treasury, i'm not sure this grant is completely suitable for the polkadot treasury, especially as it may take at least 6 weeks to get confirmation of the work. Also there are various downsides in regard to the current treasury proposals from my experience, being the increased stresses that is involved in a gruelling public process, where people can tend to throw rocks. So due to time, suitability and increased stress level we would much prefer W3F. Though for a future project we would consider it. Let me know if that is not ok with you?
Also to add, i have noticed various projects getting multiple grants with W3F, which is why i saw this as a great track. Also I have had pleasurable experience interacting with this process, so that's something i wouldn't want to give up.
And if we can touch up this holistically, Supersig second grant is a continuation of the same project, and we want to make those grant dollars as valuable as possible, so that the tools are used by the most people, we want to be part of the percentage of grants that have made a big impact.
Re: not having a token... Let me clear up. Decentration is independent of any chain, we do not have our own token, and we haven't launched a token. To clarify, we got a small grant to build Kabocha parachain on behalf of Edgeware. The KAB you are referring to is Kabocha parachain token. The KAB is not on any exchanges and didn't go through a token sale. Decentration has 1.5% of KAB and W3F has 7% of that token, and Edgeware community own 90%, but nothing was sold, it is currently still in an experimental playground phase, but even if it was an active token, we are not the object of it, we just earned some for doing the work, but the community were unable to put it on an exchange, which was a shame for us because we are earning tokens that have not much value, so that is actually why we need to find other ways to work and get funded in this ecosystem and earn to work. Personally, I am not interested in launching a token. I prefer to build universal tools and common good parachains. Let me know if that is not sufficient to clear up that issue?
Re: Details of milestone 2 UI, yes my apologies I forgot to add mockup let me add that in.
Let me know if the initial two points are not sufficient for you? and perhaps I can try clarify further.
Cheers

This is because GitHub doesn't allow us to have different PR rules for different PRs. We will merge it after three approvals.

hello @keeganquigley thanks for the feedback:

indeed, my apologies, it will have a suitable testing guide with end to end tests, that will be seamless for the reviewer.

Is your custom UI meant to be easier to use than Polkadot-JS? What other advantages will it have?

Yes, i personally love polkadot-js and the tool suite as an engineer, however the Custom UI, will be simpler and more bespoke to organising, initally around supersig. It will begin with similar features to page-supersig on polkadot-js app, however it will be the foundation for then future building blocks, such as: multisig interface, automated payments, and other statemine/mint primitives, etc. We can prioritise on what those will be based on feedback in future milestone.

Thank you @keeganquigley I appreciate those words.


[To Evaluate] Skipped cases due to lack of XPU implementation of aten::_sparse_coo_tensor_with_dims_and_tensors

🚀 The feature, motivation and pitch
The operator has been implemented in torch-xpu-ops. Need reevaluate the skipped cases (in run_test_with_skip.py).
https://github.com/intel/torch-xpu-ops/pull/371
Alternatives
No response
Additional context
No response

Retested and got a new Runtime error as below
https://github.com/intel/torch-xpu-ops/pull/371#issuecomment-2149389741

https://github.com/intel/torch-xpu-ops/pull/391

@yuchengliu1 please check whether we have duplicated issue

Track the issue in https://github.com/intel/torch-xpu-ops/issues/357


Release Google.Cloud.Firestore version 2.2.0

Changes to Google.Cloud.Firestore since version 2.1.0:

Commit 8698c6e: docs: Improve "where in/not-in" documentation slightly
Commit e35d18b: feat: Add "where not in" Firestore query support
Commit 1f3168e: feat: Add "where not equal" support for Firestore
Commit ef55349: chore: Simplify WriteBatch implementation in line with internal guidance
Commit 310a1cb: chore: Refactor WriteBatch now that every update is just a single Write
Commit 94375e9: chore: Fix conformance tests, by using update transforms
Commit eddc395: fix: Fix WhereIn filters being used in implicit orderings
Commit bb09597: feat: Allow general iterable objects to be serialized (but not deserialized) in Firestore

(Also releases Google.Cloud.Firestore.V1 version 2.1.0, to enable new features.)
Releases:

Release Google.Cloud.Firestore version 2.2.0
Release Google.Cloud.Firstore.V1 version 2.1.0

I'm okay with the versions not being the same - it's reasonable to add features just in Google.Cloud.Firestore sometimes.

Autorelease is having trouble processing this PR:
Processing Release Google.Cloud.Firestore version 2.2.0: https://github.com/googleapis/google-cloud-dotnet/pull/5404
> Creating the release.
Created release for Google.Cloud.Firestore-2.2.0
HTTPError('422 Client Error: Unprocessable Entity for url: https://api.github.com/repos/googleapis/google-cloud-dotnet/releases',)

If this release is complete, can you adjust the label manually to autorelease: published?

@busunkim96: Hmm... it hasn't actually completed. I'll need to look into it tomorrow.

Still not entirely sure what happened - it only created one of the two expected tags. It's possible that my PR confused it into trying to create the same tag twice, which would explain everything else. I've kicked off the release (and added the extra tag) manually.


Add emoji picker

Hi,
It would be better if zulip-android had emoticons, like emojione for example.
http://emojione.com/
...or other like that.

It has emoji support already; you can autocomplete them by starting typing e.g. :octupus:, but it doesn't have an emoji picker.  I think we can rebrand this issue to be "add emoji picker".  Since we're using the Android (Noto) emoji set in Zulip, it seems like there should be existing code we can use to add this to our keyboard.

@timabbott Can i add the emoji picker just like zulip web?

@saketkumar95 It would be great to implement this feature. You could start with using an open source library like this one https://github.com/rockerhieu/emojicon. Good luck :)

@Sam1301 Yeah i too thought of that only. Just waiting for @timabbott or @kunall17 to assignee me this issue. :)

Sure go ahead, how will you stuff the emoji button in the chatBox, it would be really filled up!

Yeah it will. I thought of adding it in message tile, In the left corner.

@saketkumar95 what's the status on this feature?
I think we could reasonably put the option in a custom keyboard, rather than in the short "what you've typed so far" area, since probably if you're adding emoji, most of the time you will already have the keyboard open to type any text in the message anyway.  (might make sense to move the attach-photo stuff to the keyboard as well, add a mention button, etc.).

@timabbott We can have our own custom keyboard instead of sytem keyboard for the app. And we can add anything what we want there. Adding more options in the system keyboard is i guess not possible.
what say?

yeah, seems like probably we should do a custom keyboard.

Cool, then i will add the emoji picker in the keyboard itself. :)

@zulipbot claim-issue


What is the best approach to defined that the manager should looking in few namespaces?

Type of question
Usage
Question
Shows that the manager can receive as option just 1 namespace all it will check all namespaces.
I'd like to be able to tell the manager cache/watch an array of namespaces.
// Create a new Cmd to provide shared dependencies and start components
	mgr, err := manager.New(cfg, manager.Options{
		Namespace:          "",
	})
	if err != nil {
		log.Error(err, "")
		os.Exit(1)
	}

Shows that create a new manager namespace for each required namespace will attend this need. Closing this task.

The great news is that the solution for it is impl already and merged in the master branch see the  https://github.com/kubernetes-sigs/controller-runtime/commit/fc804a411c06919561edbcb0453601c436556613 and the https://github.com/kubernetes-sigs/controller-runtime/blob/68ae79ea094aab567d78d7d8596accac2dc27fd0/pkg/manager/example_test.go#L59with this need attended.
Unfortunately, show that the version released with, https://github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.2.0-alpha.0, has break changes and cannot be used with the current version of OCP 3.11 and the Kube used by it.
We opened an issue in this repo to ask if they can release a new stable version for we are able to get this feature/implementation. See  https://github.com/kubernetes-sigs/controller-runtime/issues/413.


Compiling problems with Lua

I'm having a lot of problems compiling cartographer.  I keep getting errors in lua_parameter_dictionary.cc with variables not being declared.  I've deleted all my old lua installations and just have the 5.2 version as recommended.
The error is as follows:
In constructor ‘cartographer::common::LuaParameterDictionary::LuaParameterDictionary(const string&, cartographer::common::LuaParameterDictionary::ReferenceCount, std::unique_ptrcartographer::common::FileResolver)’:
/home//catkin_ws/src/cartographer/cartographer/common/lua_parameter_dictionary.cc:163:24: error: ‘luaL_newstate’ was not declared in this scope
: L_(luaL_newstate()),
^
/home//catkin_ws/src/cartographer/cartographer/common/lua_parameter_dictionary.cc:170:19: error: ‘luaL_openlibs’ was not declared in this scope
luaL_openlibs(L_);
^
/home//catkin_ws/src/cartographer/cartographer/common/lua_parameter_dictionary.cc:176:57: error: ‘luaL_loadstring’ was not declared in this scope
CheckForLuaErrors(L_, luaL_loadstring(L_, code.c_str()));
^
/home//catkin_ws/src/cartographer/cartographer/common/lua_parameter_dictionary.cc: In constructor ‘cartographer::common::LuaParameterDictionary::LuaParameterDictionary(lua_State*, cartographer::common::LuaParameterDictionary::ReferenceCount, std::shared_ptrcartographer::common::FileResolver)’:
/home//catkin_ws/src/cartographer/cartographer/common/lua_parameter_dictionary.cc:191:62: error: ‘luaL_ref’ was not declared in this scope
index_into_reference_table_ = luaL_ref(L, LUA_REGISTRYINDEX);
^
/home//catkin_ws/src/cartographer/cartographer/common/lua_parameter_dictionary.cc: In destructor ‘cartographer::common::LuaParameterDictionary::~LuaParameterDictionary()’:
/home//catkin_ws/src/cartographer/cartographer/common/lua_parameter_dictionary.cc:203:66: error: ‘luaL_unref’ was not declared in this scope
luaL_unref(L_, LUA_REGISTRYINDEX, index_into_reference_table_);
^
/home//catkin_ws/src/cartographer/cartographer/common/lua_parameter_dictionary.cc: In static member function ‘static int cartographer::common::LuaParameterDictionary::LuaInclude(lua_State*)’:
/home//catkin_ws/src/cartographer/cartographer/common/lua_parameter_dictionary.cc:451:78: error: ‘luaL_loadbuffer’ was not declared in this scope
L, luaL_loadbuffer(L, content.c_str(), content.size(), filename.c_str()));
^
/home//catkin_ws/src/cartographer/cartographer/common/lua_parameter_dictionary.cc: In lambda function:
/home//catkin_ws/src/cartographer/cartographer/common/lua_parameter_dictionary.cc:332:3: error: control reaches end of non-void function [-Werror=return-type]
};
^
cc1plus: some warnings being treated as errors
[2/146] Building CXX object CMakeFiles/cartographer.dir/cartographer/mapping_2d/global_trajectory_builder.cc.o
ninja: build stopped: subcommand failed.
<== Failed to process package 'cartographer':
Command '['/home//catkin_ws/install_isolated/env.sh', 'ninja', '-j2', '-l2']' returned non-zero exit status 1
I've tried moving all of the lua include files to the local directory in case that was the problem, but I'm not seeing any errors about not finding include files.  Please ignore the "home//catkin" directory as a problem - I removed some personal information there (it was /home/myusername/catkin)
Any help would be appreciated

Found the problem - I had a old lua.h find hanging out in the system - uninstalling 5.1 did not remove it