NullReferenceException thrown by JsonPatchDocument.ApplyTo for Move operation

1. Description of the problem:
In the following example, JsonPatchDocument.ApplyTo throws a NullReferenceException when the patch to the object wrapper is applied. I would expect it to throw a JsonPatchException in this case.
When a dynamic object is used throughout then a JsonPatchException with a meaningful error message is thrown.
In both cases, the object that the patch is being applied to has the structure:
{
  Object: {
    hello: "world"
  }
}

2. Steps to reproduce (preferrably a link to a GitHub repo with a repro project)
using System;
using System.Dynamic;

using Microsoft.AspNetCore.JsonPatch;

public class Program
{
    static void Main(string[] args)
    {
        var jsonPatchDocument = new JsonPatchDocument();
        jsonPatchDocument.Move("/Object", "/Object/goodbye");

        dynamic @object = new ExpandoObject();
        @object.hello = "world";

        // throws JsonPatchException
        try
        {
            dynamic objectToApplyTo = new ExpandoObject();
            objectToApplyTo.Object = @object;
            jsonPatchDocument.ApplyTo(objectToApplyTo);
        }
        catch (Exception exception)
        {
            Console.WriteLine(exception);
        }

        // throws NullReferenceException
        try
        {
            var objectToApplyTo = new ObjectWrapper();
            objectToApplyTo.Object = @object;
            jsonPatchDocument.ApplyTo(objectToApplyTo);
        }
        catch (Exception exception)
        {
            Console.WriteLine(exception);
        }

        Console.ReadKey();
    }

    private class ObjectWrapper
    {
        public dynamic Object { get; set; }
    }
}

3. The version of Microsoft.AspNetCore.App or Microsoft.AspNetCore.All
Microsoft.AspNetCore.JsonPatch <IP_ADDRESS>
4. The output of dotnet --info
.NET Core SDK (reflecting any global.json):
 Version:   2.1.403
 Commit:    04e15494b6

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.16299
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\2.1.403\

Host (useful for support):
  Version: 2.1.5
  Commit:  290303f510

.NET Core SDKs installed:
  2.1.4 [C:\Program Files\dotnet\sdk]
  2.1.101 [C:\Program Files\dotnet\sdk]
  2.1.102 [C:\Program Files\dotnet\sdk]
  2.1.103 [C:\Program Files\dotnet\sdk]
  2.1.104 [C:\Program Files\dotnet\sdk]
  2.1.200 [C:\Program Files\dotnet\sdk]
  2.1.201 [C:\Program Files\dotnet\sdk]
  2.1.202 [C:\Program Files\dotnet\sdk]
  2.1.400 [C:\Program Files\dotnet\sdk]
  2.1.401 [C:\Program Files\dotnet\sdk]
  2.1.402 [C:\Program Files\dotnet\sdk]
  2.1.403 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.0.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.0.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.3-servicing-26724-03 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

Thanks for contacting us, @amjrsl.
@rynowak, can you please look into this? Thanks!

I have a PR out that turns this into an error message instead of a crash. I'm not sure that what we're doing in this case really complies with the spec - which says:

This operation is functionally identical to a "remove" operation on the "from" location, followed immediately by an "add" operation at the target location with the value that was just removed

The spec doesn't make it clear where the remove operation can invalidate the add operation - anyways that's what happens in our implementation, and that seems OK for now.


SPAR Testing

Describe the task
Assist with SPAR testing
Acceptance Criteria

[ ] first
[ ] second
[ ] third

Additional context

Add any other context about the task here.
Or here

Register an a-class seedlot:

I would remove the subheading "Register a new A-class seedlot" (redundant with heading above)

A-class seedlot created:

Change "Seedlot's main screen" to:
"Seedlots main screen"
(removing apostrophe)

Client search modal:

"To view more information about the client, you can go to client search screen."
change to:
"To view more information about the client, go to the client search screen."

Collection methods:

Would it make sense to list the collection methods in alphabetical order?

Cone and pollen count:

"Enter the estimative of Cone and pollen count for the orchard's seedlot (*required)"
I would change it to:
"Enter the cone and pollen count estimate for the orchard's seedlot"
SMP success on parent:

"Enter the same SMP success on parent or Non-orchard pollent contaminant to all parent trees"
I would change "Non-orchard" to "non-orchard"
Calculation of SMP mix:

"Enter the estimative of SMP success for the orchard's seedlot"
I would change to:
"Enter the SMP success estimate for the orchard's seedlot"

File upload:

"Note: When uploading a file all previously filled data within the table will be replaced."
Please change to:
"Note: When uploading a file, all previously filled data in the table will be replaced."

Breeding value of SMP mix used

The subheading is redundant here in my opinion. I would remove that and update the heading to read:
"Breeding value of SMP mix used on parent"

"SMP Mix geospatial summary"
Please change to:
"SMP mix geospatial summary"

Step 6:

"Enter the extractory agency information and extraction's star and end dates for this seedlot"
change to:
"Enter the extractory agency information and extraction's start and end dates for this seedlot"
(change "star" to "start")

"Enter the seed storage agency information and storage's star and end dates for this seedlot"
change to:
"Enter the seed storage agency information and storage's start and end dates for this seedlot"
(change "star" to "start")

This one's a bit tricky, but in Canada we use the French spelling of center, so it should actually be "Tree Seed Centre" instead of "Tree Seed Center"
When Tree Seed Centre comes up in data queries, it is spelled the French way in the database, so it would be nice to keep consistent.
Hopefully this is more of a find-and-replace kind of function in the front-end

Declaration modal:

Declaration:
"Please, be sure to review the content and check if everything is correct with your seedlot registration.
Go to first step and review the form."
Please change to:
"Please review this form to ensure the information is correct for this seedlot registration.
Click here to go back to the first step."
And then have "Click here" link to the first step in the form

Done on task #1421, closing this one.


bosh-dns 1.28.0 - dns cert errors

This AM we rolled the 1.28.0 release into our dev environment and it broke the latest cf-deployment release.  Rolling back to 1.27.0 solved the issue for now and we have pinned out bosh-deployment pipeline back a release to stay on 1.27.0
The issue was the bosh-dns client was not able to resolve any internal service names as the various bosh-dns clients running on the CF VMs could not talk to each other due to TLS cert errors.  The only change was rolling to 1.28.0 - the DNS health/api certs in credhub have not changed for some time and still had valid date ranges.
Effected clients had this error in their bosh_dns.stdout.log   - <internal ip> to redact internal VM IP scheme:
[HealthChecker] 2021-02-03T15:55:38.564150000Z WARN - network error connecting to <internal ip>: Performing GET request: Get "https://<internal ip>:8853/health": x509: certificate relies on legacy Common Name field, use SANs or temporarily enable Common Name matching with GODEBUG=x509ignoreCN=0

This appears to be related to the 1.28.0 release bumping Go to 1.15.
Checking the current bosh-deployment repo - there are no changes to the runtime-config for Bosh DNS short of the release bump and no credhub variable definition changes for bosh-dns certs.
I will test later creating some new bosh-dns certs with SANs using the same common name field to see if that works or not.

We are seeing the same issue after updating from BOSH DNS 1.27.0 => 1.28.0. As well as the warnings above we see
==> bosh_dns_health.stderr.log <==
2021/02/04 08:38:19 http: TLS handshake error from <IP_ADDRESS>:34388: remote error: tls: bad certificate
2021/02/04 08:38:22 http: TLS handshake error from <IP_ADDRESS>:30496: remote error: tls: bad certificate
2021/02/04 08:38:24 http: TLS handshake error from <IP_ADDRESS>:41362: remote error: tls: bad certificate
2021/02/04 08:38:25 http: TLS handshake error from <IP_ADDRESS>:39920: remote error: tls: bad certificate
2021/02/04 08:38:25 http: TLS handshake error from <IP_ADDRESS>:6492: remote error: tls: bad certificate
2021/02/04 08:38:25 http: TLS handshake error from <IP_ADDRESS>:14834: remote error: tls: bad certificate

Update: I've confirmed our DNS cert config does not include SANs so I will try updating the certs so the SAN matches the common name and report back
Current (broken) cert config:
- type: replace
  path: /variables?/-
  value:
    name: dns_healthcheck_tls_ca
    options:
      common_name: dns-healthcheck-tls-ca
      is_ca: true
      duration: 365
    type: certificate

- type: replace
  path: /variables?/-
  value:
    name: dns_healthcheck_server_tls
    options:
      ca: dns_healthcheck_tls_ca
      common_name: health.bosh-dns
      duration: 365
      extended_key_usage:
      - server_auth
    type: certificate

- type: replace
  path: /variables?/-
  value:
    name: dns_healthcheck_client_tls
    options:
      ca: dns_healthcheck_tls_ca
      common_name: health.bosh-dns
      duration: 365
      extended_key_usage:
      - client_auth
    type: certificate

Update:
Based on testing, adding a SAN to the certs does solve the issue and restore functionally without adding a GODEBUG line like: https://github.com/cloudfoundry/loggregator-agent-release/blob/ae131388bdaff57493967088e3fc9438837a185c/jobs/loggr-forwarder-agent-windows/monit#L31
variables:
- name: "/dns_healthcheck_tls_ca"
  options:
    common_name: dns-healthcheck-tls-ca
    is_ca: true
  type: certificate
- name: "/dns_healthcheck_server_tls"
  options:
    ca: "/dns_healthcheck_tls_ca"
    common_name: health.bosh-dns
    alternative_names:  #NEW LINE
    - health.bosh-dns  #NEW LINE
    extended_key_usage:
    - server_auth
  type: certificate
- name: "/dns_healthcheck_client_tls"
  options:
    ca: "/dns_healthcheck_tls_ca"
    common_name: health.bosh-dns
    alternative_names:  #NEW LINE
    - health.bosh-dns  #NEW LINE
    extended_key_usage:
    - client_auth
  type: certificate
- name: "/dns_api_tls_ca"
  options:
    common_name: dns-api-tls-ca
    is_ca: true
  type: certificate
- name: "/dns_api_server_tls"
  options:
    ca: "/dns_api_tls_ca"
    common_name: api.bosh-dns
    alternative_names:  #NEW LINE
    - api.bosh-dns  #NEW LINE
    extended_key_usage:
    - server_auth
  type: certificate
- name: "/dns_api_client_tls"
  options:
    ca: "/dns_api_tls_ca"
    common_name: api.bosh-dns
    alternative_names: #NEW LINE
    - api.bosh-dns   #NEW LINE
    extended_key_usage:
    - client_auth
  type: certificate

For my testing my/dns_api_tls_ca & /dns_healthcheck_tls_ca certificates are still valid, so I deleted the api and health tls certs then updated the variables: section and then re-deployed.  This caused credhub to create new TLS certs but from the same CAs so as it rolled through the clients still trusted the old and new cert.  After the certs where updated I moved bosh-dns back to 1.28.0 and the errors where gone and clients could resolve bosh-dns based records again.


LUSD Bonding Contract needs Staking Contract set

Auto-Stake & Claim doesn't work without setting the staking contract.
Cheers.

https://etherscan.io/address/0xe1e83825613de12e8f0502da939523558f0b819e#writeContract
LUSD Contract: 0x10C0f93f64e3C8D0a1b0f4B87d6155fd9e89D08D

Ah.  Wonderful as a stop gap for now.  Perhaps this should be integrated with the frontend.

Seems to only support 4 bonds right now, and requires policy to push the bond to the contract anyway?  So I guess must still wait on policy/multisig to push that on the redeemhelper or the actual contract.

yes, you're right. I'm chasing that.


radio on the bot

Proposal:
Proposal written by DerKex#3984
What is the title of your proposal?: radio on the bot
Is it a suggestion for the website or for the bot?: bot
Explain your proposal more accurately (It's best to give as much information as possible, so that we can implement the proposal better): You should be able to hear radio over the bot with the most famous stations.
Why we should add this feature?: then you have in addition to the youtube module even more options.
ReportID: 21

➤ LenoxBot commented:
Approve:
not a bad idea
Dadi#7808

➤ LenoxBot commented:
Approve:
Nice feature
KeinEmxl#3887

➤ LenoxBot commented:
Deny:
It‘s a good Idea but today’s nobody is hearing radio
Denarioyt#3352

➤ LenoxBot commented:
Approve:
good idea
Monkeyyy11#0001


fix(ecma/transform/compat): private properties cannot be initialized twice

Description:

BREAKING CHANGE:

Related issue (if exists):
closes #1743

Does this fixes #1743?

Does this fixes #1743?

Yes

Do I need to manually rebase on main branch?

No, it will be automatically rebased.
I think the auto-rebase order should be reversed, though.
(I thought it will rebase the oldest PR first, but it does it in opposite order)


Permissions issues when running as different user

It looks like the "is_sudo" check doesn't always detect sudo properly. On my setup, I have to administer many different servers as a non-root user, using shared service accounts. Obviously, to do this we sudo as the desired user. That user is then given read access to my login user's .vimrc and .vim directories. I then run vim with vim -u /home/myuser/.vimrc and get the following set of errors:
[neobundle] Error generating helptags:
[neobundle] Vim(return):E482: Can't create file /home/myuser/.vim/bundle/.neobundle/doc/pymatcher.txt
Press ENTER or type command to continue

It looks like the is_sudo function isn't properly detecting sudo in this case. Changing the comparison to simply the following works but I'm concerned it'll break other things:
return $SUDO_USER != '' && $USER !=# $SUDO_USER

I can change the detection.
But it works properly if the user set always_set_home?
Current function detects the home directory is not changed.
  return $SUDO_USER != '' && $USER !=# $SUDO_USER
        \ && $HOME !=# expand('~'.$USER)
        \ && $HOME ==# expand('~'.$SUDO_USER)

I think it is better.
Please test it.
  return $SUDO_USER != '' && $USER !=# $SUDO_USER
      \ && $HOME ==# expand('~'.$USER)
      \ && $HOME !=# expand('~'.$SUDO_USER)

I think current routine should work.
Please check your environment.
My sudo result:
$SUDO_USER = 'root'
$USER = 'shougo'
$HOME = '/root'

$HOME is not ~shougo, so is_sudo is 0. It should be.

Okay, I'm not sure how this was failing before but it seems to be working now. Sorry about the extra work.


【feat】Presto or trino could be integrated？

Presto or trino is popular to use.
We hope it can be integrated.

Execuse me, do you have the plan?

Hi,
As said before, we are working on best effort to help the community. If you want a quick answer to your request feature you can contact a sale and subscribe to a support package on clemlab.com


Can't get function this.props.dispatch

Hi Dave,
This a so excellent start-kit, you help me work through a way to learn redux.
I encountered a problem that might be silly, is I don't get dispatch function from the this.props within a connected components. Thank you in advance.
Example (this.props.dispatch) is undefined:
export class HomeView extends React.Component {
  static propTypes = {
  };

  render () {
    console.log(this.props.dispatch)
    return (
      <div>
      </div>
    )
  }
}
export default connect(mapStateToProps, counterActions)(HomeView)

I also tried this:
const mapDispatchToProps = (dispatch) => bindActionCreators({
  ...authActions,
  ...sidebarActions
}, dispatch)

export default connect(mapStateToProps, mapDispatchToProps)(AuthRequiredWrapper);

If you provide a mapDispatchToProps, dispatch is not automatically included as a prop. You'll need to update your code snippet to:
const mapDispatchToProps = (dispatch) => bindActionCreators({
  dispatch,
  ...authActions,
  ...sidebarActions
}, dispatch)

export default connect(mapStateToProps, mapDispatchToProps)(AuthRequiredWrapper);

That should do the trick. A bit curious why you need this.props.dispatch if you're binding all your action creators already though?

You are awesome! Thank you.
I have the same question as your last one. The following is what I want to achieve.
You could see it uses 3 actions: authActions.isLoggedIn(), sidebarActions.showSidebar(), and route to Login View by "routeActions.push" which need that dispatch. Should I wrap the "routeActions.push" to redux module as others? Thanks, again.
componentWillMount() {
    if (this.props.isLoggedIn()) {
      this.props.showSidebar()
      let redirectAfterLogin = this.props.location.pathname;
      dispatch(routeActions.push(`/login`));
    }
  }

You could wrap them just like the others yes. However, if you're using react-router-redux (formerly redux-simple-router), you can just use the regular history API without having to dispatch any actions at all.
Closing this since the original question has been answered, but we can keep the discussion going despite that if you'd like.


Multiple relays and timestamps

Is it possible to sort the events based on the created_at field when using multiple relays?
Currently notes/events come in unsorted between multiple relays.

The only way is to download the events and sort on the client.

The only way is to download the events and sort on the client.

I think what they suggest is to let SimplePool sort events by created_at. That would only be possible for all async methods and TBH I think its unnecessary bloat for this package.


Deploy cross-chain EVM bridge using Chainsafe

Wonder if this new doc should be put under the subnet section https://0bb4a0f8.avalanche-docs.pages.dev/build/tutorials/platform/subnets/.


Apply CUDA_NVCC_EXECUTABLE envvar patch.

This patch is tracked upstream in
https://gitlab.kitware.com/cmake/cmake/merge_requests/1899
It is needed for ccache support in nvcc.
Signed-off-by: Edward Z. Yang<EMAIL_ADDRESS>

@onnxbot retest this please

pr/conda2-macos10.13-build re-triggered and passed https://ci.pytorch.org/jenkins/job/caffe2-builds/job/conda2-macos10.13-trigger-build/703/

Thank you for your contribution! PyTorch and Caffe2 are now officially merged with the PyTorch 1.0 prerelease. Please submit on https://github.com/pytorch/pytorch if this is still an issue over there.


Remove provider username from the downloaded WSDL file name

Description:
We need to remove the provider username from the downloaded WSDL file name as this might be a security issue.
Related Issues:
https://github.com/wso2/product-apim/issues/4189

Fixed with above PR.


added Timeline

Added Timeline #13

@pixan198 Pls Review
if any changes need let me Know.

@pixan198 Ohh Ok
I will do it
sorry about that

@Priyanshu-official No problem buddy
UI is great BTW 🌟🌟
Change one more thing
You've to make Pull Request from your branch to development branch of our repo, so change your base branch from main to development

ok And thanks
@pixan198

@pixan198 Hello need help
I have converted to React and tested work fine
but just want to ask I have created a file in src/
The question is: is it Right or I have to create a folder??
also, I have linked to index.js
pls If you have time reply so i can make pr

@Priyanshu-official Great !
Usually components are placed inside
src/components/ directory
So, you can place your component there

@pixan198 yes but there are no Components folder
Can I make it??

@Priyanshu-official
Yes!
If there isn't any you can create one

Ok thanks for help

@pixan198 I have made PR in Development  branch check pls
I have change branch for the first time while working Pls check if I did wrong

@Priyanshu-official
Branch is correct 👍🏻
Please give us some time to review your PR
Thank you

@pixan198 No Problem
I was just Worry about the branch Now Happy is it good
Can you tell me How much PR needs to be done with any Specific limit?
also, there is no new issue?
and Thanks for helping me

@Priyanshu-official yeah, branch is fine.
Make as much PRs as you want
We'll be releasing new issues soon
Thank you for being patient


[Event Request]Application “Tests-ERM”, Codeunit 138070 "O365 Alt. Ship Addr. S. Ord."

[Event Request]Application “Tests-ERM”, Codeunit 138070 "O365 Alt. Ship Addr. S. Ord."

Could you please insert the OnTestInitialize Event at the beginning of the Initialize procedure:

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Add a license

The project is ARR right now, meaning no one is allowed to change it.

Id rather the license be MIT, not GNU

Alright, one minute


fix: update to eye v10.28.5

fix: update to eye v10.28.5

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

npm package (@latest dist-tag)
GitHub release
v16.32.5

Your semantic-release bot :package::rocket:


Test GitHub Pull Request Extension

Refs: https://github.com/Microsoft/vscode-pull-request-github/issues/1

[ ] Windows @dbaeumer
[ ] Linux @alexandrudima
[ ] macOS @Tyriar

Complexity: 5
This is to test the GitHub PR extension. Please file any issues you run into in the extension's repository.
Setup

Download the latest visx from our release page
Install the vsix in latest Insider

Testing
This repo can be used to test against if you don't have other PRs to use: https://github.com/auchenberg/pullrequest-demo
Some things to try/verify:
Authentication

When first using the extension, you are prompted by a notification to sign in

Pull Request tree view:

View pull requests in SCM viewlet when a GitHub repository is opened in VSCode, the predefined categories work as expected.
View file changes from the Pull Request tree view and create comments within these.
View the description page for a pull request, the timeline events of a pull request are rendered properly.
Can approve or reject a PR from the description page.
Leave generic issue comments in the description page for a pull request.
If the repository contains many PRs, a load more button appears for the category within the tree and works as expected.

Review mode

Checkout to a pull request from Pull Request description page or content menu of Pull Request tree view works, the comments panel and additional "Changes in Pull Request" tree view shows up in the SCM viewlet.
Navigate through comments in the Command Panel.
View/Create comments in a normal editor.
Comments positions are adjusted when you make changes to local content.
The "Changes in Pull Request" view lists file changes and all commits in the PR.
After modifying/adding/deleting comments for the pull request on GitHub, comments within VSCode are updating to reflect this within a minute.

Please grab the latest version of the extension when testing today: https://github.com/Microsoft/vscode-pull-request-github/releases/tag/0.0.18


Profiling

I'm not a core contributor but this is in the README.md https://github.com/sorbet/sorbet/blob/8473dfe49e0af9266c1e45b7867a57d417dccd8e/README.md#c-conventions
Be great to track this. Thank you

Short version: sorbet has '--web-trace-file=foo.json' argument.
This creates traces that can be viewed in chrome://tracing of Chrome

The task label is for contributors only. We're currently tracking it with that TODO.
Thanks for your interest in Sorbet!


Add independent vanilla field components

Create fields with vanilla libs which have no jQuery and Bootstrap dependencies.

[X] Select field -> vue-multiselect
[x] DateTime field -> Pikaday
[x] Masked input field -> VanillaMasker or cleave.js
[x] Slider field -> noUiSlider

For these developments I created an independent branch. Every PR needs to add to this branch.
https://github.com/icebob/vue-form-generator/tree/independent

noUiSlider is almost ready.
By default, noUiSlider return a float so I need a way to check if validators.integer is activated so I can parseInt the value if necessary.

I will go with cleave.js, the API is much easier to work with and it is way more popular.

Great!

@lionel-bijaoui in the next 7 days I will on holiday, so my response will be longer, but I will check your commits as soon as possible :+1:

That's perfect, I'm going on holiday too :)
I hope to do a PR for cleave and pikaday before the end of the day (just to initiate your feedback on them, I need some help).
Have a nice holiday !

@lionel-bijaoui Thanks! You have a nice holiday too!

@lionel-bijaoui I merged your fields. Fix lint errors and fix issues what I commented in your PR. So please rebase your fork.

Thank you, I was about to start working on this. Hope you had a great
holiday.

@icebob should I destroy my branches ?

Yes, if you want.

I will merge this independent branch to master

So soon ? Don't we need the unit test and all ?

This merge doesn't mean it will be a release :)
And need some tests for other fields too #40

Merged with #42


Add an option to show possible number of steps remaining

I'm super dumb, and can never remember what the possible ranges of steps are for each tier of clue.
Would it be possible to add an option to show the range of steps remaining as well as the number of steps completed?
Perhaps have it appear as like
2/3-5, in a smaller font than it is so it's not so intrusive
heck, even just having an option to just show the step ranges would really help me out.
Thanks!

Good idea, I'll implement it!

The plugin is updated, the step counter now changes color based on how close you are to completion. Does this suffice, or du you still want a toggle to display the step range for each clue?

This looks great! Probably a better solution than including the possible number of steps remaining, it's way less clutter.
Thanks!


Adds tencent cloud as dns challenge provider

Resolves https://github.com/jc21/nginx-proxy-manager/issues/1662

This is an automated message from CI:
Docker Image for build 1 is available on DockerHub as jc21/nginx-proxy-manager:github-pr-1713
Note: ensure you backup your NPM instance before testing this PR image! Especially if this PR contains database changes.

This is an automated message from CI:
Docker Image for build 1 is available on DockerHub as jc21/nginx-proxy-manager:github-pr-1713
Note: ensure you backup your NPM instance before testing this PR image! Especially if this PR contains database changes.


feat(macos): change "start hidden" to minimize to menubar

closes https://github.com/localsend/localsend/issues/1794

Thanks


Incompatible Geth error messages

Problem
We are encountering error codes which are different from what we expect in a Geth implementation. Please provide a mapping of Hedera error codes to those of Ethereum Geth.
Solution
Need your help to resolve the issue.
Alternatives
No response

you could use this in the meanwhile:
https://github.com/hashgraph/hedera-json-rpc-relay/blob/main/packages/relay/src/lib/errors/JsonRpcError.ts

Also, is it possible for you to provide the error docs with its descriptions for GETH to map against?

@AlfredoG87 : We rely on these error messages mapping to react to RPC errors & decide how the transactions should be handled. So if any of these error messages are different & not covered, we will need to add them, its mostly based on Geth error messages. It would be awesome, if you could provide a list of the differences

Thanks @simsonraj
Currently our custom error messages are as defined is the JsonRpcError.ts file AlfredoG87 mentioned above
Let us know if that covers all the possibilities as it provides the codes and error messages.

I'm also curious do you ever support non GEth execution clients?
Hedera uses the Besu EVM client and a custom relay. Even if we didn't have a custom relay the GETH errors would differ from other client errors.

We do support non-Geth clients, I took a look at the error messages, we can include these in our custom support, We may need some help in the future to Map 1:1 with the error categories we have with the error messages Relay returns. But I think it can be done

Hi @simsonraj, what kind of errors would you need to handle coming from Hedera relay? Because we were looking at the errors you are handling and some of them are mempool related which the relay does not throw. These errors are thrown by both Geth and Hedera

NonceTooLow
NonceTooHigh
InsufficientEth which might be INSUFFICIENT_ACCOUNT_BALANCE

Given said that, we agree, as you mention, it would be best to add a Hedera-specific regexes to detect the errors that come from the relay. We can help with further error mapping if needed.

Hi @simsonraj, closing this given there is not action item on the relay. Feel free to reopen if support from the relay side is needed.


Prepare console server routing to support multiple hosts

Version 0.3.1 changed the idea how the new processes and threads are being created behind thier managers, so this kind of routing is no longer be needed for using multiple hosts.


Add getters for Tuple fields

@ggalmazor suggests:
I often find myself having to List<Tuple<T,U>>.map(t->t._2) mapping a tuple list into a list of the second value inside the tuple

If you use Scala's Tuples in Java, _1, _2, _n are methods and we can write List<Tuple<T,U>>.map(Tuple2::_2) which is more concise and readable

We will implement it.

I think it is nice :D
+1


Provide strict prototypes in function definitions

Clang 15 starts to complain about non-strict prototypes in function
definitions:
parse_functions.c:67:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
char *get_current_module_name()
                             ^
                              void

Looks good, thanks!  Will merge once checks complete assuming no issues.


PHP Startup: Unable to load dynamic library on ubuntu 18.10

.+Please check the FAQ (frequently-asked questions) first. If you have other questions or something to report, please address the following:
+## PHP Driver version or file name
+
+## SQL Server version
+
+## Client operating system
+ubuntu 18.10
+## PHP version
+7.2
+## Microsoft ODBC Driver version
+
+## Table schema
+
+## Problem description
PHP Warning:  PHP Startup: Unable to load dynamic library 'sqlsrv.so' (tried: /usr/lib/php/20170718/sqlsrv.so (/usr/lib/php/20170718/sqlsrv.so: cannot open shared object file: No such file or directory), /usr/lib/php/20170718/sqlsrv.so.so (/usr/lib/php/20170718/sqlsrv.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 PHP Warning:  PHP Startup: Unable to load dynamic library 'pdo_sqlsrv.so' (tried: /usr/lib/php/20170718/pdo_sqlsrv.so (/usr/lib/php/20170718/pdo_sqlsrv.so: cannot open shared object file: No such file or directory), /usr/lib/php/20170718/pdo_sqlsrv.so.so (/usr/lib/php/20170718/pdo_sqlsrv.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
+## Expected behavior and actual behavior
+
+## Repro code or steps to reproduce
sudo su add-apt-repository ppa:ondrej/php -y apt-get update apt-get install php7.2 php7.2-dev php7.2-xml php7.2-fpm -y --allow-unauthenticated
systemctl status php7.2-fpm
sudo su curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - curl https://packages.microsoft.com/config/ubuntu/18.04/prod.list > /etc/apt/sources.list.d/mssql-release.list exit sudo apt-get update sudo ACCEPT_EULA=Y apt-get install msodbcsql17 sudo ACCEPT_EULA=Y apt-get install mssql-tools echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bash_profile echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bashrc source ~/.bashrc sudo apt-get install unixodbc-dev

@mehermakloufi please fill in the blanks above. For example, how did you install the sqlsrv driver and which version?

Did you follow the instructions ? FYI we stop supporting Ubuntu 18.10

Did you follow the instructions ? FYI we stop supporting Ubuntu 18.10

I carried out the project on local hosting. My Ubuntu 18.04 computer I installed it works without problems
But the client server is Ubuntu 18.10. How can we run it now?

So did you install ODBC driver in the server? Did you install PHP packages or build php from source, etc.? Did you pecl install sqlsrv/pdo_sqlsrv or which version? Please fill in the blanks, as I mentioned above.

So did you install ODBC driver in the server? Did you install PHP packages or build php from source, etc.? Did you pecl install sqlsrv/pdo_sqlsrv or which version? Please fill in the blanks, as I mentioned above.

sudo su add-apt-repository ppa:ondrej/php -y apt-get update apt-get install php7.2 php7.4-dev php7.2-xml php7.2-fpm -y --allow-unauthenticated
systemctl status php7.2-fpm
and for ODBC driver :
sudo su curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - curl https://packages.microsoft.com/config/ubuntu/18.04/prod.list > /etc/apt/sources.list.d/mssql-release.list exit sudo apt-get update sudo ACCEPT_EULA=Y apt-get install msodbcsql17 sudo ACCEPT_EULA=Y apt-get install mssql-tools echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bash_profile echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bashrc source ~/.bashrc sudo apt-get install unixodbc-dev
Please, I am now looking for a solution to erase all this from the server, because this error message always appears in the server .

@mehermakloufi for your 18.10 server please install ODBC using https://packages.microsoft.com/config/ubuntu/18.10/prod.list instead
In your server, what's the output of

php -v
php --ini
which php

Also, assuming you've installed the latest sqlsrv drivers, did you do something like the following?
update-alternatives --set php /usr/bin/php7.2
printf "; priority=20\nextension=sqlsrv.so\n" > /etc/php/7.2/mods-available/sqlsrv.ini
printf "; priority=30\nextension=pdo_sqlsrv.so\n" > /etc/php/7.2/mods-available/pdo_sqlsrv.ini
phpenmod sqlsrv pdo_sqlsrv

@mehermakloufi for your 18.10 server please install ODBC using https://packages.microsoft.com/config/ubuntu/18.10/prod.list instead
In your server, what's the output of
* `php -v`

* `php --ini`

* `which php`

Also, assuming you've installed the latest sqlsrv drivers, did you do something like the following?
update-alternatives --set php /usr/bin/php7.2
printf "; priority=20\nextension=sqlsrv.so\n" > /etc/php/7.2/mods-available/sqlsrv.ini
printf "; priority=30\nextension=pdo_sqlsrv.so\n" > /etc/php/7.2/mods-available/pdo_sqlsrv.ini
phpenmod sqlsrv pdo_sqlsrv

php -v : PHP 7.2.19-1+ubuntu18.10.1+deb.sury.org+1
which php : /usr/bin/php
php --ini :
Configuration File (php.ini) Path: /etc/php/7.2/cli Loaded Configuration File:         /etc/php/7.2/cli/php.ini Scan for additional .ini files in: /etc/php/7.2/cli/conf.d Additional .ini files parsed:      /etc/php/7.2/cli/conf.d/10-mysqlnd.ini, /etc/php/7.2/cli/conf.d/10-opcache.ini, /etc/php/7.2/cli/conf.d/10-pdo.ini, /etc/php/7.2/cli/conf.d/15-xml.ini, /etc/php/7.2/cli/conf.d/20-bcmath.ini, /etc/php/7.2/cli/conf.d/20-bz2.ini, /etc/php/7.2/cli/conf.d/20-calendar.ini, /etc/php/7.2/cli/conf.d/20-ctype.ini, /etc/php/7.2/cli/conf.d/20-curl.ini, /etc/php/7.2/cli/conf.d/20-dom.ini, /etc/php/7.2/cli/conf.d/20-exif.ini, /etc/php/7.2/cli/conf.d/20-fileinfo.ini, /etc/php/7.2/cli/conf.d/20-ftp.ini, /etc/php/7.2/cli/conf.d/20-gd.ini, /etc/php/7.2/cli/conf.d/20-gettext.ini, /etc/php/7.2/cli/conf.d/20-iconv.ini, /etc/php/7.2/cli/conf.d/20-imagick.ini, /etc/php/7.2/cli/conf.d/20-intl.ini, /etc/php/7.2/cli/conf.d/20-json.ini, /etc/php/7.2/cli/conf.d/20-mbstring.ini, /etc/php/7.2/cli/conf.d/20-mysqli.ini, /etc/php/7.2/cli/conf.d/20-pdo_mysql.ini, /etc/php/7.2/cli/conf.d/20-phar.ini, /etc/php/7.2/cli/conf.d/20-posix.ini, /etc/php/7.2/cli/conf.d/20-readline.ini, /etc/php/7.2/cli/conf.d/20-shmop.ini, /etc/php/7.2/cli/conf.d/20-simplexml.ini, /etc/php/7.2/cli/conf.d/20-soap.ini, /etc/php/7.2/cli/conf.d/20-sockets.ini, /etc/php/7.2/cli/conf.d/20-sqlsrv.ini, /etc/php/7.2/cli/conf.d/20-sysvmsg.ini, /etc/php/7.2/cli/conf.d/20-sysvsem.ini, /etc/php/7.2/cli/conf.d/20-sysvshm.ini, /etc/php/7.2/cli/conf.d/20-tokenizer.ini, /etc/php/7.2/cli/conf.d/20-wddx.ini, /etc/php/7.2/cli/conf.d/20-xmlreader.ini, /etc/php/7.2/cli/conf.d/20-xmlwriter.ini, /etc/php/7.2/cli/conf.d/20-xsl.ini, /etc/php/7.2/cli/conf.d/20-zip.ini, /etc/php/7.2/cli/conf.d/30-pdo_sqlsrv.ini

@mehermakloufi I suppose you want to use php fpm so did you do the first step sudo pecl config-set as shown here
If you did you should find sqlsrv ini files in /etc/php/7.2/fpm/conf.d/

@mehermakloufi I suppose you want to use php fpm so did you do the first step sudo pecl config-set as shown here
If you did you should find sqlsrv ini files in /etc/php/7.2/fpm/conf.d/

#sudo pecl config-set php_ini /etc/php/7.2/fpm/php.ini :
config-set succeeded
#sudo pecl install sqlsrv :
downloading sqlsrv-5.8.0.tgz ... Starting to download sqlsrv-5.8.0.tgz (187,897 bytes) ........................................done: 187,897 bytes 34 source files, building running: phpize sh: 1: phpize: not found ERROR: phpize' failed`

@mehermakloufi please check if /usr/bin/phpize7.2 exists
This FAQ entry might be able to help you.
For your reference, you can see how we run php tests in Ubuntu using update-alternatives:
https://github.com/microsoft/msphpsql/blob/master/azure-pipelines.yml#L77

@yitam please how can I delete what I installed from the server so that I don't see the error message again? .
the message error is :
PHP Warning:  PHP Startup: Unable to load dynamic library 'sqlsrv.so' (tried: /usr/lib/php/20170718/sqlsrv.so (/usr/lib/php/20170718/sqlsrv.so: cannot open shared object file: No such file or directory), /usr/lib/php/20170718/sqlsrv.so.so (/usr/lib/php/20170718/sqlsrv.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 PHP Warning:  PHP Startup: Unable to load dynamic library 'pdo_sqlsrv.so' (tried: /usr/lib/php/20170718/pdo_sqlsrv.so (/usr/lib/php/20170718/pdo_sqlsrv.so: cannot open shared object file: No such file or directory), /usr/lib/php/20170718/pdo_sqlsrv.so.so (/usr/lib/php/20170718/pdo_sqlsrv.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

Just remove the *sqlsrv.ini and *pdo_sqlsrv.ini from /etc/php/7.2/cli/conf.d/ as you're not using php cli

Any update, @mehermakloufi ?

Closing this issue due to inactivity @mehermakloufi


Allow customization of battery module tooltip

This commit allows users to change tooltip format using tooltip-format[-status][-state] parameters. It also adds autoTooltip (I couldn't come up with anything better) format argument containing the "default" tooltip text.
This shouldn't affect existing configs

I agree, timeTo sounds like a reasonable name

I agree, timeTo sounds like a reasonable name

Thanks!

Thanks!

Could you update github wiki? :)

Could you update github wiki? :)

Sure, I'm on it

Sure, I'm on it


Add troubleshooting page to the handbook

Purpose
Add a troubleshooting page to the handbook.

Pull Request Test Coverage Report for Build 1262

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 59.525%

Totals

Change from base Build 1260:
0.0%

Covered Lines:
2034

Relevant Lines:
3258

💛  - Coveralls


Modifing String.toDate not to depend on setting app.

I modified String.toDate method.
Because it returns nil  if Calendar  in Settings app is Japanese.
Please check my pull request.
Thanks,

Thanks for PR, @ysn551
This is a nice improvement.
I commented at a location to be worried a little.
Could you check it ?
And I think add following method for easy coding.
What do you think ?
    /**
    Converting String to NSDate for japanese date format.

    - parameter formatJp: japanese date format string
    */
    func toDate(formatJp formatJp: String) -> NSDate? {
        return toDate(format: formatJp, cal: NSCalendarIdentifierJapanese, loc: "ja_JP")
    }

Thank you for your comment to my pull request.
So I re-modified toDate(format:) method to separate "toDate(formatWST:)" from "toDate(fromJP:)".
But I wonder if toDate(formatWST:) method joins toDate(format:) method.
I want to hear your opinion about above my thoughts.
Thanks,

I'm sorry for not having been reminding you to send my pull request.
I re-fix toDate() method as follows:
1. converting western calendar
let d = "2015/09/21".toDate(format:"yyyy/MM/dd")

2. converting japanese calendar
let d  = "H 27 9/21".toDate(fromat:"GGGGG yy M/dd", calendar:NSCalendarJapanese)

Please see more another example at test-code-file and let me know your thoughts.

Thanks for re-fix!
I merged it.


[FLINK-5066] add more efficient isEvent check to EventSerializer

LocalInputChannel#getNextBuffer de-serialises all incoming events on the lookout for an EndOfPartitionEvent.
Instead, add EventSerializer.isEvent so that LocalInputChannel can peak into event buffers without de-serialising the whole event, we could save some resources. This is a generic isEvent implementation for any event that fromSerializedEvent currently supports. Alternatively, a specialised method could be implemented looking for EndOfPartitionEvent only, if desired.

Very good changes in general. The following should be addressed before merging though:

Add tests to EventSerializerTest with all currently available events (including OTHER_EVENT instances).

As a special case it's important to make sure that the ByteBuffer position indexes are not affected by doing a isEvent check, because a following deserialization will fail otherwise. The following example fails because of this:
ByteBuffer serializedEvent = EventSerializer.toSerializedEvent(EndOfPartitionEvent.INSTANCE);
assertTrue(EventSerializer.isEvent(serializedEvent, EndOfPartitionEvent.class, cl));
EndOfPartitionEvent event = (EndOfPartitionEvent) EventSerializer.fromSerializedEvent(serializedEvent, cl);

For Buffer instances it works, because Buffer#getNioBuffer() always wraps the memory in a new ByteBuffer instance. For the tests, this can be covered by serializing an event, doing the isEvent check on the serialized buffer and then trying to deserialize the same serialized event buffer (like above).

The check is not used in LocalInputChannel any more, but only in PartitionRequestQueue. Let's move it there.

In general the EventSerializer interface could be made a little less overloaded by only exposing one variant (Buffer/ByteBuffer). That's indepedent of this issue though.

done, and yes, the code is now not relevant for LocalInputChannel anymore but for PartitionRequestQueue instead

Thanks for addressing the comments, Nico. Going to merge this with the next batch.


Re-render

Should also fix #3

Hi! This is the friendly conda-forge-admin automated user.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Guide for make dlc

Hi,
There are some guide for make dlcs with rust-dlc? Some example?
Thanks

Hi,
Unfortunately there is no guide or example at the moment. The closest thing are the integration tests: https://github.com/p2pderivatives/rust-dlc/blob/master/dlc/tests/execution_tests.rs (or if you want to see for numerical outcome and multi oracle which is not in master yet: https://github.com/p2pderivatives/rust-dlc/blob/feature/multi-oracle/dlc/tests/execution_tests.rs).
A tutorial + examples will come at some point but tbh it's not a high priority at the moment given that there is still a lot of ground work to do. Happy to answer any question you might have though.

Thanks!
I will try (when i'll have some time) to make my way with the integration tests. I'm very interested in the idea.
By the way there are some "good for beginners" issues in the project? I don't know if I will have time but I'm interested in programming for rust and the "bitcoin universe" so if there are something i will give a try.
Thanks again

I will try (when i'll have some time) to make my way with the integration tests. I'm very interested in the idea.

Cool let me know how it goes, and again feel free to ask questions!

By the way there are some "good for beginners" issues in the project? I don't know if I will have time but I'm interested in programming for rust and the "bitcoin universe" so if there are something i will give a try.

Not really because things are not really settled yet and moving a lot. Maybe one thing that could be nice is make code for a tutorial.  You could try to replicate this one for example: https://p2pderivatives.github.io/cfd-dlc-js/

Not really because things are not really settled yet and moving a lot. Maybe one thing that could be nice is make code for a tutorial. You could try to replicate this one for example: https://p2pderivatives.github.io/cfd-dlc-js/

Sounds interesting, maybe I will try to replicate the tutorial to try to do my first dlc in rust... if I try I will question about the problems that probably I will have.
Thanks

Hi, i've tryed to make something similar to the tutorial basing on integration tests.
But the tests are failing in creating dlc transactions:
---- integration_tests_close stdout ----
thread 'integration_tests_close' panicked at 'Error creating dlc transactions.: InvalidArgument', dlc/tests/execution_tests.rs:187:6
stack backtrace:
0: rust_begin_unwind
at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/std/src/panicking.rs:493:5
1: core::panicking::panic_fmt
at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/core/src/panicking.rs:92:14
2: core::option::expect_none_failed
at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/core/src/option.rs:1300:5
3: core::result::Result<T,E>::expect
at /home/jdrobpar/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/result.rs:997:23
4: execution_tests::integration_tests_common
at ./tests/execution_tests.rs:178:23
5: execution_tests::integration_tests_close
at ./tests/execution_tests.rs:153:5
6: execution_tests::integration_tests_close::{{closure}}
at ./tests/execution_tests.rs:152:1
7: core::ops::function::FnOnce::call_once
at /home/jdrobpar/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:227:5
8: core::ops::function::FnOnce::call_once
at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/core/src/ops/function.rs:227:5
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.

Hi, anyone know how to solve this? Maybe i'm missing something obvious but i'm really interested and i'm stuck

It's difficult to tell exactly what issue you're having, but AFAICT the error you get comes from here: https://github.com/p2pderivatives/rust-dlc/blob/master/dlc/src/lib.rs#L214
Which means that the sum of the outcomes is not always equal to the total collateral.
If you can share the code you run and how to reproduce your issue it would help.


View cycling does not start from beginning after cancelling or completion of timer.

To demonstrate:

Fire up the timer.
Select minutes/multiplier.
SimpleIndicatorView is shown (one orange key lit).
Press hold to cancel.
Select minutes/multiplier
MinutesSelectedView is shown (the selected option is lit) instead of SimpleIndicatorView.

What seems to happen is whatever view was shown when cancel was chosen, the next view in the cycle appears when the timer is restarted.
The same problem arises if you wait for the timer to complete and then start again.

Letting the timer complete:

Fire up
Select 5 minutes
Select 1 multiplier
Let the timer run to completion
Press a key to start again.
Select 5 minutes
Select 1 multiplier

What view is selected from the view cycle each time?

First time is an orange key.
Second time is an orange key.

This indicates that the problem is with cancelling. Perhaps the keypress / keyhold events are interacting.

Refactor first: separate the wait/update loop from the view iteration.
Classes likely involved: PrimaryInteraction, NextViewAction, TimerViewCycle.

It looks like when the timer completes it remains at the same view it finished on. However, when it is cancelled it advances one more. Neither seems to restart the iterator.

This is fixed by a somewhat ugly reset() method on the view cycler.


Migrate API to ASP.NET Core 6

Why
Nest.js doesn't have proper docs for auth nor a sensible way to create my own auth using JWT (maybe, idk)

Generate .d.ts from API for client side usage

merging as it is currently for reorganizing


Repo initiation

Hi @jbeaulie, thanks for setting this up. In order to get us started I went ahead and cloned to our shared drive (climateBenefits_bryan) and organized the repo accordingly.
Because I made some recent minor edits to the Climate-Benefits-of-Nutrient-Management.rmd, I restored your previous folder
(climateBenefits_jb) to the version that pre-dated my edits from today. I included the prior version in this initial push, and then pushed my most recent edits (just adding the simulation uncertainty exercise). Note: I left the version in your original folder  (climateBenefits_jb) as your previous version, so only the repo is current. If you make that your local, then a simple pull will also update that.
We should be all set from here on out. If you've already cloned this repo, just pull before you push. If you haven't you should be all set to clone and we're good to go from there! Feel free to organize anything to your liking, I'll mirror your organization.

@jbeaulie , closing this issue now that we're all set up.


Write a Python program to convert seconds to weeks

Description
Write a Python program to convert seconds to weeks
1 week = 7 days = 168 hours = 10080 minutes = 604800 seconds
Input  : 3024000
Output : 5

How to contribute

Save the solution in program/convert-seconds-to-weeks.py file
Add convert-seconds-to-weeks.py file in convert-seconds-to-weeks folder

!assign


OCPCLOUD-2010: Add CloudControllerManagerStatus to External platform status

Add the CloudControllerManagerStatus to the ExternalPlatformStatus struct.
This setting will be set at installation time.

Enhancement doc update PR (https://github.com/openshift/enhancements/pull/1378)

Revert so not much to review here, but, do we have an implementation PR that can be reviewed alongside this API change?

Revert so not much to review here, but, do we have an implementation PR that can be reviewed alongside this API change?

I'm currently implementing the other part in library-go, I'll link it here once I have a draft.

i do see some the values updated in the installer, i'm guessing we will need to do this when adding support for external platform  there, but i'm not sure if this is definitive.
https://github.com/openshift/installer/blob/master/pkg/asset/manifests/infrastructure.go

/retitle Add CloudControllerManagerStatus to External platform status

/retitle OCPCLOUD-2010: Add CloudControllerManagerStatus to External platform status

Joel, Adrien, and i had a chat today and we have agreed to add the new fields only to the status section as we won't enable an active migration to CCMs, or from, at this time. the installer will update the status block from the install config values.

I'd like to see some CEL validations added (the example API group has some examples) and then some integration tests checking these validations please (example API group again). Let me know if you want any pointers on this

I added CELs to prevent the mutation of CloudControllerManagerState, and to prevent the add/remove of CloudControllerManagerStatus and CloudControllerManagerState . I added few tests as well.

I'm willing to approve this based on the caveats that:

We are not expecting in the first pass anyone to be able to change the state of their cluster CCM post install
If we find this becomes an issue, we reserve the right to relax later to allow to go from no CCM to CCM but not the other direction
No one is actually using external right now since it's new
I would prefer if we can see some QE ack that this is working in payload and not breaking anything existing before we merge though, @adriengentil have you organised a PR that bumps the API in whichever component installs this, that QE could use to test out the API and the validations here?

@adriengentil have you organised a PR that bumps the API in whichever component installs this, that QE could use to test out the API and the validations here?

Opened this one against KCMO: https://github.com/openshift/cluster-kube-controller-manager-operator/pull/736
Let me know if that's enough.
BTW, I noticed we will need the featuregate PRs merged for MCO and CCCMO before I can re-vendor the api and library-go in these repos.

Opened this one against KCMO: https://github.com/openshift/cluster-kube-controller-manager-operator/pull/736
Let me know if that's enough.

I don't think it is, I'm not sure how the infrastructure CRD gets installed into the cluster, but we need to work out how it does, so that we can ensure that the correct repository is updated

@adriengentil I build image using the pr https://github.com/openshift/cluster-kube-controller-manager-operator/pull/736, then install a cluster setting CCM External like this
apiVersion: config.openshift.io/v1
kind: Infrastructure
metadata:
  creationTimestamp: null
  name: cluster
spec:
  cloudConfig:
    name: ""
  platformSpec:
    type: External
status:
  apiServerInternalURI: https://api-int.huliu-vs17c.qe.devcluster.openshift.com:6443
  apiServerURL: https://api.huliu-vs17c.qe.devcluster.openshift.com:6443
  controlPlaneTopology: HighlyAvailable
  cpuPartitioning: None
  etcdDiscoveryDomain: ""
  infrastructureName: huliu-vs17c-ftdbk
  infrastructureTopology: HighlyAvailable
  platform: External
  platformStatus:
    type: External
    external:
      cloudControllerManager:
        state: External

, the cluster install successfull, and seems CCM External doesn't take effect. Because I checked the infrastructure on the cluster, it's
liuhuali@Lius-MacBook-Pro huali-test % oc get infrastructure cluster -oyaml
apiVersion: config.openshift.io/v1
kind: Infrastructure
metadata:
  creationTimestamp: "2023-05-17T03:43:22Z"
  generation: 1
  name: cluster
  resourceVersion: "514"
  uid: 96ec2307-546d-4e3e-98b6-c6b4806e0d92
spec:
  cloudConfig:
    name: ""
  platformSpec:
    type: External
status:
  apiServerInternalURI: https://api-int.huliu-vs17c.qe.devcluster.openshift.com:6443
  apiServerURL: https://api.huliu-vs17c.qe.devcluster.openshift.com:6443
  controlPlaneTopology: HighlyAvailable
  etcdDiscoveryDomain: ""
  infrastructureName: huliu-vs17c-ftdbk
  infrastructureTopology: HighlyAvailable
  platform: External
  platformStatus:
    external: {}
    type: External

Can you please take a look? Thanks!

Thanks @adriengentil I build image using the pr https://github.com/openshift/cluster-config-operator/pull/306, then install a cluster setting CCM External, the configuration takes effect now, but the cluster installed successfully, and there is no such label node.cloudprovider.kubernetes.io/uninitialized=true:NoSchedule on the nodes. Can you please take a look? Thanks!
liuhuali@Lius-MacBook-Pro huali-test % oc get infrastructure cluster -oyaml
apiVersion: config.openshift.io/v1
kind: Infrastructure
metadata:
  creationTimestamp: "2023-05-18T01:38:11Z"
  generation: 1
  name: cluster
  resourceVersion: "517"
  uid: 4a0a7ef0-505d-4fd3-82c5-da9bc000a99d
spec:
  cloudConfig:
    name: ""
  platformSpec:
    type: External
status:
  apiServerInternalURI: https://api-int.huliu-vs18c.qe.devcluster.openshift.com:6443
  apiServerURL: https://api.huliu-vs18c.qe.devcluster.openshift.com:6443
  controlPlaneTopology: HighlyAvailable
  etcdDiscoveryDomain: ""
  infrastructureName: huliu-vs18c-dh8zg
  infrastructureTopology: HighlyAvailable
  platform: External
  platformStatus:
    external:
      cloudControllerManager:
        state: External
    type: External
liuhuali@Lius-MacBook-Pro huali-test % oc get node --show-labels
NAME                                STATUS   ROLES                  AGE   VERSION           LABELS
huliu-vs18c-dh8zg-compute-0         Ready    worker                 82m   v1.27.1+20a4409   beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/arch=amd64,kubernetes.io/hostname=huliu-vs18c-dh8zg-compute-0,kubernetes.io/os=linux,node-role.kubernetes.io/worker=,node.openshift.io/os_id=rhcos
huliu-vs18c-dh8zg-compute-1         Ready    worker                 82m   v1.27.1+20a4409   beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/arch=amd64,kubernetes.io/hostname=huliu-vs18c-dh8zg-compute-1,kubernetes.io/os=linux,node-role.kubernetes.io/worker=,node.openshift.io/os_id=rhcos
huliu-vs18c-dh8zg-control-plane-0   Ready    control-plane,master   92m   v1.27.1+20a4409   beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/arch=amd64,kubernetes.io/hostname=huliu-vs18c-dh8zg-control-plane-0,kubernetes.io/os=linux,node-role.kubernetes.io/control-plane=,node-role.kubernetes.io/master=,node.openshift.io/os_id=rhcos
huliu-vs18c-dh8zg-control-plane-1   Ready    control-plane,master   92m   v1.27.1+20a4409   beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/arch=amd64,kubernetes.io/hostname=huliu-vs18c-dh8zg-control-plane-1,kubernetes.io/os=linux,node-role.kubernetes.io/control-plane=,node-role.kubernetes.io/master=,node.openshift.io/os_id=rhcos
huliu-vs18c-dh8zg-control-plane-2   Ready    control-plane,master   92m   v1.27.1+20a4409   beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/arch=amd64,kubernetes.io/hostname=huliu-vs18c-dh8zg-control-plane-2,kubernetes.io/os=linux,node-role.kubernetes.io/control-plane=,node-role.kubernetes.io/master=,node.openshift.io/os_id=rhcos
liuhuali@Lius-MacBook-Pro huali-test % oc get deploy -n openshift-cloud-controller-manager
No resources found in openshift-cloud-controller-manager namespace.
liuhuali@Lius-MacBook-Pro huali-test % oc get pod -n openshift-cloud-controller-manager
No resources found in openshift-cloud-controller-manager namespace.

Thanks for the test @huali9, the nodes are not labelled because we need my change opend in library-go to be re-vendored in few other components (MCO, KCMO, and CCCMO) to be re-vendored.
Can you at least test that status.platformStatus.external.cloudControllerManager.state is immutable? (e.g: it cannot be updated to None or to an empty string)
@JoelSpeed @elmiko do you see other tests that could be performed?
BTW, the CI passed in https://github.com/openshift/cluster-config-operator/pull/306 so I guess this change does not cause any kind of regressions.

Can you at least test that status.platformStatus.external.cloudControllerManager.state is immutable? (e.g: it cannot be updated to None or to an empty string)

Thanks @adriengentil Yes, I tested that, after change the state from External to None, then check it's still External.

/approve
/hold This feature is currently blocked on openshift/machine-config-operator#3688, once that has merged, we can merge the API and line up other PRs to merge in quick succession.
If merge requirements are relaxed for the 4.14 main branch we can merge the API without the blocker and queue up the other PRs

This feature is currently blocked on https://github.com/openshift/machine-config-operator/pull/3688, once that has merged, we can merge the API and line up other PRs to merge in quick succession.

This feature is also dependent on https://github.com/openshift/cluster-cloud-controller-manager-operator/pull/252

Has this been E2E tested at all?

i'm not sure we have an e2e for it yet, but @rvanderp3 and @mtulio have been investigating, perhaps they have a comment here.

If instead the CEL on CloudControllerManagerStatus checked that if state was new that the value was empty, that would be more future proof
// +kubebuilder:validation:XValidation:rule="(has(self.state) == has(oldSelf.state)) || self.state == \"\""

Coming back to this thought, all we actually care about is that it doesn't go from empty to External, so the transition rule really should either allow it to stay as is, or allow it to transition not to External
// +kubebuilder:validation:XValidation:rule="(has(self.state) == has(oldSelf.state)) || (!has(oldSelf.state) && self.state != \"External\"")

This makes the following IIUC (where - means it's not there):

old
new
allowed

-
-
true

External
External
true

None
None
true

""
""
true

-
""
true

-
None
true

-
External
false

""
-
false

None
-
false

External
-
false

If there's ever a change of transition between values while both are present the immutable validation on the field itself will catch that

Has this been E2E tested at all?

i'm not sure we have an e2e for it yet, but @rvanderp3 and @mtulio have been investigating, perhaps they have a comment here.

I'm not quite sure we have. recovering from the EP I found this Q/A. There is a recommendation to prioritize in-repo validations, I also quickly looked at the origin repo and didn't find anything related, so I would assume the e2e workflows we have currently running in for Platform External in vSphere platform is covering the same e2e of Platform None.
Furthermore, inspecting the results published by OPCT on executions in OCP 4.13.2 for Platform None[1A] VS External[2], (values below), I can see similar counters for skips and failures
[1] - Platform None (A)
> OpenShift Provider Certification Summary <

 Kubernetes API Server version		: v1.26.5+0001a21
 OpenShift Container Platform version	: 4.13.2
 - Cluster Update Progressing		: False
 - Cluster Target Version		: Cluster version is 4.13.2

 OCP Infrastructure:
 - PlatformType				: None
 - Name					: ci-op-7vi5vvjm-56bd3-zqtp6

 Plugins summary by name:		  Status [Total/Passed/Failed/Skipped] (timeout)
 - 10-openshift-kube-conformance	: failed [724/695/29/0] (0)
 - 20-openshift-conformance-validated	: failed [3808/1681/53/2074] (0)

 Health summary:			  [A=True/P=True/D=True]
 - Cluster Operators			: [33/0/0]
 - Node health				: 6/6  (100%)
 - Pods health				: 249/249  (100%)

> Processed Summary <

 Total tests by conformance suites:
 - kubernetes/conformance: 364
 - openshift/conformance: 3443

 Result Summary by conformance plugins:
 - 10-openshift-kube-conformance:
   - Status: failed
   - Total: 724
   - Passed: 695
   - Failed: 29
   - Timeout: 0
   - Skipped: 0
   - Failed (without filters) : 29
   - Failed (Filter SuiteOnly): 0
   - Failed (Filter CI Flakes): 0
   - Status After Filters     : pass
 - 20-openshift-conformance-validated:
   - Status: failed
   - Total: 3808
   - Passed: 1681
   - Failed: 53
   - Timeout: 0
   - Skipped: 2074
   - Failed (without filters) : 53
   - Failed (Filter SuiteOnly): 21
   - Failed (Filter CI Flakes): 4
   - Status After Filters     : failed

Platform External

> OpenShift Provider Certification Summary <

 Kubernetes API Server version		: v1.26.5+0001a21
 OpenShift Container Platform version	: 4.13.2

 OCP Infrastructure:
 - PlatformType				: External (vSphere)
 - Name					: ci-op-3s74i69p-ff62f-tq66h

 Plugins summary by name:		  Status [Total/Passed/Failed/Skipped] (timeout)
 - 10-openshift-kube-conformance	: failed [723/694/29/0] (0)
 - 20-openshift-conformance-validated	: failed [3811/1677/60/2074] (0)

 Health summary:			  [A=True/P=True/D=True]
 - Cluster Operators			: [33/0/0]
 - Node health				: 6/6  (100%)
 - Pods health				: 246/246  (100%)

> Processed Summary <

 Result Summary by conformance plugins:
 - 10-openshift-kube-conformance:
   - Status: failed
   - Total: 723
   - Passed: 694
   - Failed: 29
   - Timeout: 0
   - Skipped: 0
   - Failed (without filters) : 29
   - Failed (Filter SuiteOnly): 0
   - Failed (Filter CI Flakes): 0
   - Status After Filters     : pass
 - 20-openshift-conformance-validated:
   - Status: failed
   - Total: 3811
   - Passed: 1677
   - Failed: 60
   - Timeout: 0
   - Skipped: 2074
   - Failed (without filters) : 60
   - Failed (Filter SuiteOnly): 24
   - Failed (Filter CI Flakes): 3
   - Status After Filters     : failed

I checked another None execution and it's similar[1]
> OpenShift Provider Certification Summary <

 Kubernetes API Server version		: v1.26.5+0001a21
 OpenShift Container Platform version	: 4.13.2

 OCP Infrastructure:
 - PlatformType				: None
 - Name					: ci-op-7s946tcy-1b8d1-2j6dp

 Plugins summary by name:		  Status [Total/Passed/Failed/Skipped] (timeout)
 - 10-openshift-kube-conformance	: failed [726/695/31/0] (0)
 - 20-openshift-conformance-validated: failed [3811/1679/58/2074] (0)

(...)
 - 20-openshift-conformance-validated:
   - Status: failed
   - Total: 3811
   - Passed: 1679
   - Failed: 58
   - Timeout: 0
   - Skipped: 2074
   - Failed (without filters) : 58
   - Failed (Filter SuiteOnly): 23
   - Failed (Filter CI Flakes): 3
   - Status After Filters     : failed

/lgtm
/hold, we have a scheduled meeting to discuss this, lets merge during the meeting assuming other pre-requisites are all in place

/unhold
all tests passed in https://github.com/openshift/cluster-config-operator/pull/306


Edit your own profile

📝 Changed routes:

/contracts/[wallet]

(view full size)

Commit 3fa78167a2bf85c55e35b48b50a7142a357a10be (https://thirdweb-3yenau113-thirdweb.vercel.app).


Contribution

I want to contribute to boost gil how should i proceed ?

Please, stop submitting fake PRs.
RTFM!

Hey
Sorry for the inconvenience,this was my first PR,I was learning to make one.This is not for offending you sorry for the same @mloskot

Create a test GitHub repo on your account and learn how to submit PRs there.


Add editor link to validation result

Add editor link to validation result. when clicked that, focus moves to the corresponding line in the editor.

good~!!


Bump non-Kube deps to latest

Signed-off-by: Monis Khan<EMAIL_ADDRESS>Release note:
NONE

I think we need https://github.com/kubernetes/kubernetes/pull/108644 before we can do this bump 😞

Replaced by https://github.com/vmware-tanzu/pinniped/pull/1131


RTL TextField - last number appears twice

when i entered numbers the last number doubles

Please provide the output of flutter doctor and a small self-contained app that demonstrates the problem and we'll look into it. Note also: https://gist.github.com/ is a useful way to share the code.

my flutter doctor:

here a small code:
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
    primarySwatch: Colors.blue,
  ),
  home: MyHomePage(title: 'Flutter Demo Home Page'),
);

}
}
class MyHomePage extends StatefulWidget {
MyHomePage({Key key, this.title}) : super(key: key);
final String title;
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State {
int _counter = 0;
void _incrementCounter() {
setState(() {
_counter++;
});
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title),
),
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(
'انا بحب وطني 3 مرات',
),
new TextField(
maxLines: null,
keyboardType: TextInputType.text,
textInputAction: TextInputAction.newline,
textAlign: TextAlign.right,
onChanged: (v) {
},
decoration: new InputDecoration.collapsed(
fillColor: Colors.white,
hintText: 'Enter...',
),
),
      ],
    ),
  ),
  floatingActionButton: FloatingActionButton(
    onPressed: _incrementCounter,
    tooltip: 'Increment',
    child: Icon(Icons.add),
  ), // This trailing comma makes auto-formatting nicer for build methods.
);

}
}
here the output:

in the textfied i write the 3 just one time, and it's doubles by it's self;

Hi @ektelat
I wasn't able to reproduce with this using arabic chracters and numbers,  no number appears twice on latest dev channel

flutter doctor -v
[✓] Flutter (Channel dev, v1.18.0-dev.5.0, on Mac OS X 10.15.4 19E287, locale
    en-GB)
    • Flutter version 1.18.0-dev.5.0 at /Users/taha/Code/flutter_dev
    • Framework revision 7f56b53de4 (3 days ago), 2020-04-12 12:00:01 -0400
    • Engine revision beb8a7ec48
    • Dart version 2.8.0 (build 2.8.0-dev.20.0 89b0f67261)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/taha/Code/sdk
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/taha/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4, Build version 11E146
    • CocoaPods version 1.9.1
[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
[✓] VS Code (version 1.44.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.9.1
[✓] Connected device (4 available)
    • Taha’s iPhone • 00008020-001059882212002E • ios            • iOS 13.4.1
    • macOS         • macOS                     • darwin-x64     • Mac OS X
      10.15.4 19E287
    • Chrome        • chrome                    • web-javascript • Google Chrome
      81.0.4044.92
    • Web Server    • web-server                • web-javascript • Flutter Tools
• No issues found!

Are you still experiencing with issue with latest dev?
if yes,  can you please provide your flutter doctor -v and flutter run --verbose?
Also, to better address the issue, would be helpful if you could post a minimal code sample to reproduce the problem
Thank you

Without additional information we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Another issue that might be critical in Ordhook.

A critical issue with Ordhook is its vulnerability to network reorganizations, which can lead to inconsistencies in indexed data and disrupt applications relying on it. To address this, implementing a robust real-time monitoring system that tracks network changes and dynamically updates indexed data can enhance resilience against re-org events.

Thank you for filing this. We are tracking the work here on this ticket.


Add more examples to the Wiki

The wiki currently has only 2 examples: counter and todo app.
We should add as many examples as possible. Not only to showcase the project, but also to find bugs, missing features, or anything that could be improved!
Examples should also be created in the examples folder in the project. This way we can run and test them, and other users can also play with them!
Here is a list of some ideas for examples:

Calculator
Clock (already made in the examples folder, we just need to also add it to the Wiki)
TODO list with API (use a fake api or something like that)
Weather API app - make an app that fetches data from weather app and updates data dinamically

Why not add the examples that you showed on dev.to ?

Good call. I removed them from the readme because they made it way to messy, I've now added the examples to the Wiki.
There's just 2 examples currently, but I want to add as many as I can. Not only to showcase the project, but also to find bugs, problems, missing features,  etc...
I will update the description and title of this message to better explain what it's about.
Here's my discord in case you have any question or want help with anything: nombrekeff. Feel free to reach out

When the bundler is ready (Should I say "When it will be" ?), I use it (For the moment I haven't used it yet, the complexity of the installation was too important for me) and add more example to the wiki or find bug

I will take a look at the PR later. I'm now writing a couple of documents for contributing and settings up the project. I will share them here when I finish, they will explain the contributing process and how to setup the project for development!

Here, you can find a little guide on how to contribute, and how to set up the project for development.

Why you didn’t added the CONTRIBUTING.md file ?

I usually do that and might consider adding one. But I don't like how cluttered the project becomes with so many files. It might be a good idea to have it though, as you can check it when working on the project!


Adds Webpack documentation and custom build

I really like this idea, but I cannot merge it as it's against the wrong branch.

Fix'd in #2331 2331


'@dicebear/api-4.8@*' is not in the npm registry.

I'm getting this error when cloning the repo and running npm install within the app directory:
npm ERR! 404 Not Found - GET<EMAIL_ADDRESS>- Not found
npm ERR! 404
npm ERR! 404  '@dicebear/api-4.8@*' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'app'

Would you like to post all commands and outputs? And which NPM / Node versions do you use?

I'm trying to deploy it through render.com - I can't see the NPM/Node version unfortunately.
Also tried to deploy through vercel.com and it's failing there too.
Here's the whole console output:
==> It looks like we don't have access to your repo, but we'll try to clone it anyway.
==> Cloning from https://github.com/dicebear/api...
==> Checking out commit 48169a6323ebd80112d0a04a8467a77dc7d09644 in branch main
==> Running build command 'npm install'...
npm ERR! code E404
npm ERR! 404 Not Found - GET<EMAIL_ADDRESS>- Not found
npm ERR! 404
npm ERR! 404  '@dicebear/api-5.0@*' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'app'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

With the following configuration I have no problems on render.com

I think you specify a root / app directory. Leave it empty, because it must be the root directory.

That's odd, I'm getting this error with the same config (no root/app directory specified):
> start
> npm start --workspace app

> start
> ts-node --esm --transpile-only src/index.ts

/dicebear-api/node_modules/avvio/plugin.js:123
      const err = new Error(`${CODE_PLUGIN_TIMEOUT}: plugin did not start in time: ${name}. You may have forgotten to call 'done' function or to resolve a Promise`)
                  ^
Error: ERR_AVVIO_PLUGIN_TIMEOUT: plugin did not start in time: plugin. You may have forgotten to call 'done' function or to resolve a Promise
    at Timeout._onTimeout (/dicebear-api/node_modules/avvio/plugin.js:123:19)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7) {
  code: 'ERR_AVVIO_PLUGIN_TIMEOUT',
  fn: [AsyncFunction: plugin]
}
npm ERR! Lifecycle script `start` failed with error:
npm ERR! Error: command failed
npm ERR!   in workspace: @dicebear/api
npm ERR!   at location: /dicebear-api/app

Yes, I completely missed it. I see the ERR_AVVIO_PLUGIN_TIMEOUT  problem at render.com too. But I can't help there, unfortunately. - I suspect that render.com's free plan has very little processing power, and that's why it's timing out here.


chore: don't throw missing name error when lib.fileName exists

Description
related issue #4698
Additional context

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[ ] Documentation update
[x] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

Hey, nice fix! Thanks!
I saw it too late before posting https://github.com/vitejs/vite/pull/4729.
One thing that I noticed is that getPkgName could be computed lazily within the OR condition in resolveLibFilename, such that providing a libOptions.fileNamewouldn't require computing it at all thanks to short circuiting of the OR.
Feel free to draw inspiration from https://github.com/vitejs/vite/pull/4729.

Pls see: https://github.com/vitejs/vite/pull/4729#issuecomment-905419498

Hey, nice fix! Thanks!
I saw it too late before posting #4729.
One thing that I noticed is that getPkgName could be computed lazily within the OR condition in resolveLibFilename, such that providing a libOptions.fileNamewouldn't require computing it at all thanks to short circuiting of the OR.
Feel free to draw inspiration from #4729.
EDIT: Also the error message would be more accurate if it was switched around, since the build.lib.fileName takes precedence now. Maybe something like
A name field in package.json is required if the option "build.lib.fileName" is not provided.'

Thanks for your reply, I like your solution, I close the pr.


[10.x] Add content method to Vite

About
This PR adds a method to retrieve compiled content for the given file available in the Vite manifest. It allows us to pack our Vite assets inline when needed.
Example use case
You want to create an HTML page that needs to be open or sent as a single document (for example, as a mail attachment), and to work offline (without access to the internet) so the asset should be injected into the document for the browser to work on the local file without firing the HTTP requests.
Usage example
<style>{!! Vite::content('resources/scss/file.scss') !!}</style>

This sounds pretty useful, and I've run into similar scenarios myself.
My only concern is that the local dev behaviour might be unexpected or confusing when running the Vite dev server. It will fail if you haven't run a build since adding the asset. Otherwise, it will return the contents from the last build, ignoring any changes you've made to the source file. You'd need to run Vite in "watch" mode instead of HMR mode if you wanted to automatically have the latest changes while developing.

@michael-rubel You could try calling file_get_contents on the dev server URL for the asset, but I'm not sure how well that would work. For something like CSS, it might be okay, but for JavaScript, it might cause more issues and confusion than it solves :sweat_smile:
It's probably fine as-is. Just a caveat to be aware of when using it.


Bootloader address issue

I'm having an issue with my project crashing upon ESP-IDF trying to lock the global mutex that protects malloc. The issue is elaborated here. One of the findings was that said mutex is allocated at 0x3c187fa0, which for my ESP32-S3 device is within the DROM range as defined here. This is clearly wrong since a mutex cannot be read-only, but I'm trying to figure out what's causing that to happen. In trying to look for a cause for this, I discovered the DROM address range used by espflash is incorrect according to ESP-IDF, as it uses 0x3C000000..0x3E000000 (see here) instead of ESP-IDF's definition of 0x3C000000..0x3D000000.
But this wouldn't fully explain my problem since it still puts the mutex in the 0x3Cxxxxxx range of DROM. But if one thing is wrong, there could be others. Is there some other range somewhere in espflash that controls the external RAM range (as defined here)? Perhaps in the bootloader binary itself? My guess is that the bootloader is using the 0x3C000000..0x3E000000 range that is typical for ESP32 devices and this mutex is meant to be allocated in PSRAM, but the PSRAM range in ESP32-S3 devices is actually 0x3D000000..0x3E000000 (see link above).
I realize this only affects projects that use ESP-IDF, but there should at the very least be a CLI flag I can pass to fix these ranges if the default is incompatible.

The underlying issue was apparently caused by memory corruption from stack overflow, but I'm still curious why the DROM ranges appear to be different than ESP-IDF expects.

We just copy whatever values are used in esptool.py, not sure why they're different from ESP-IDF but that's what we've always done. A separate team develops esptool.py so you would need to ask them 😁
Don't think there's anything actionable here so closing this issue, feel free to re-open if you disagree of course.


How to read a DOCX file, the OCR of an image is recognized as text or image description

How to read a DOCX file, the OCR of an image is recognized as text or image description

I also want to ask

我还想问一下
please


Add new provider

Add vidsrc.pro as new provider it has no ads and multiple servers also player is better

Thanks for letting me know, is it your website?
if it is, can i know how to autoplay a video?
On Thursday, February 22, 2024 at 07:30:35 AM GMT+2, onV10 @.***> wrote:
Add vidsrc.pro as new provider it has no ads and multiple servers also player is better
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


[OPTIONAL] Integrate Satellite PulseAudio into HomeAssistant

I am having issues with this. Is pamixer installed when i install pulse audio? Does it have to be installed separately. If yes can you share the link from where it can be installed.

It should be installed when you installed PulseAudio, as it's part of the PulseAudio Utils package.


Term Frequencies in SearchResult

Hi,is there a way to get the frequency of the search term in each document in the search results? From the example in the reference, https://oss.redislabs.com/redisearch/java_client.html, suppose the body was the lorem ipsum lorem ipsum lorem ipsum is there a way to get how many times the word lorem was present in the document indexed - say return 3 in this case?
Let me know if I am failing to see if there is a way already to do this using JRedisearch. I am using the following dependency in the build.gradle implementation("com.redislabs:jredisearch:0.25.0")

@gkorland is there a way to get the term frequencies? or atleast a way to set the scorer functions?

@elizabetht does that help https://oss.redislabs.com/redisearch/Scoring.html (see SCORER)


Added GCD function

C++ program of finding GCD of two numbers
Description
enter here if you have any details
Program Name - GCDfunction
Issue No.- #161

Type issue number after hash(#)

Checklist(self check)

[*] Yes, this task assigned to me.
[*] My code follows the style guidelines(Clean Code) of this project
[*] I have performed a self-review of my own code
[*] My Filename is in camelCase format
[*] I have added Problem statement, Problem link in file.

Pr without assigned is not valid


Feature Request: Add 2022 F2F workshop content

Is your feature request related to a problem? Please describe.
No response
Describe how you would like this problem to be resolved
No response
Describe alternatives you've considered
No response
Additional context.
No response

Hi @hexsecs ,
assign this issue to me

Hi @hexsecs , assign this issue to me

sure @shubhusion go ahead

Can you provide me the Content ?

cc @hexsecs , @jhdalek55

I have both the master slides from 2022 (our slides) plus the featured speaker presentations. I also have the speaker presenetations from 2023 and from the virtual workshop in March of 23. Do we have permission to post the featured speakers talks?

@jhdalek55 provide me the content to be added

I am on my way home from a brief trip. I can send everything tomorrow.
On Wed, May 22, 2024, 1:10 PM SHUBHAM SHARMA @.***>
wrote:

@jhdalek55
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_jhdalek55&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=hgBKIqNYIOwzXeBjPUaKRw&m=3ifWcAnFy1K52lEy6K1YWPA3C5M5aj7kh76QFe-d3zYWSiI0VXUbtgEWA-85TCAf&s=nNh4VnNr1yYGM7rICiKYIaq5nRpFWHz9cLU_HnhMrZk&e=
provide me the content to be added
—
Reply to this email directly, view it on GitHub
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_uptane_uptane.github.io_issues_195-23issuecomment-2D2125353697&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=hgBKIqNYIOwzXeBjPUaKRw&m=3ifWcAnFy1K52lEy6K1YWPA3C5M5aj7kh76QFe-d3zYWSiI0VXUbtgEWA-85TCAf&s=ZxRPLCZmxaNMg99dz7CQ5zgMFWGpzq0CfruYDz0fMEY&e=,
or unsubscribe
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ADPGUX2RI5PCLSHDLWDPKITZDTGQNAVCNFSM6AAAAABFJDQPPSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRVGM2TGNRZG4&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=hgBKIqNYIOwzXeBjPUaKRw&m=3ifWcAnFy1K52lEy6K1YWPA3C5M5aj7kh76QFe-d3zYWSiI0VXUbtgEWA-85TCAf&s=xG7nuP1gr_uMLajiPTHthtP4HQKySIEMjuDkHVa1kYE&e=
.
You are receiving this because you were mentioned.Message ID:
@.***>

Sure, take your time!

I am on my way home from a brief trip. I can send everything tomorrow.
…
On Wed, May 22, 2024, 1:10 PM SHUBHAM SHARMA @.> wrote: @jhdalek55 https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_jhdalek55&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=hgBKIqNYIOwzXeBjPUaKRw&m=3ifWcAnFy1K52lEy6K1YWPA3C5M5aj7kh76QFe-d3zYWSiI0VXUbtgEWA-85TCAf&s=nNh4VnNr1yYGM7rICiKYIaq5nRpFWHz9cLU_HnhMrZk&e= provide me the content to be added — Reply to this email directly, view it on GitHub https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_uptane_uptane.github.io_issues_195-23issuecomment-2D2125353697&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=hgBKIqNYIOwzXeBjPUaKRw&m=3ifWcAnFy1K52lEy6K1YWPA3C5M5aj7kh76QFe-d3zYWSiI0VXUbtgEWA-85TCAf&s=ZxRPLCZmxaNMg99dz7CQ5zgMFWGpzq0CfruYDz0fMEY&e=, or unsubscribe https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ADPGUX2RI5PCLSHDLWDPKITZDTGQNAVCNFSM6AAAAABFJDQPPSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRVGM2TGNRZG4&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=hgBKIqNYIOwzXeBjPUaKRw&m=3ifWcAnFy1K52lEy6K1YWPA3C5M5aj7kh76QFe-d3zYWSiI0VXUbtgEWA-85TCAf&s=xG7nuP1gr_uMLajiPTHthtP4HQKySIEMjuDkHVa1kYE&e= . You are receiving this because you were mentioned.Message ID: @.>

Lightman_ISO_24089.pdf
22uptane_russell_UNECEWP.29.pdf
22uptane_october_22_presentationmain.pdf
Over-the-Air-Updates-PACCAR.pdf
SWRI_uptane_6:23.pdf
airbotics_uptane_6:23.pdf

I've attached presentations from the 2022 workshop and 2023 workshop. Below I've also included the master slide set from our March 2023 workshop
23uptane_331_ms.pdf

Ideas for Adding Workshop Content to the Website
1. Dedicated Workshop Pages

Title: "2022 F2F Workshop Content"
Structure: Create a new page dedicated to the workshop. Organize the content by session or topic.
Links: Embed links to PDF files, videos, and presentations.
Description: Provide brief descriptions or summaries for each session.

2. Resource Library

Title: "Workshop Resource Library"
Structure: Add a section to an existing resource library or create a new one.
Categories: Categorize the content by year, topic, or type of resource.
Search Function: Implement a search function to help users find specific content.

3. Blog Posts or Articles

Title: "Highlights from the 2022 F2F Workshop"
Structure: Write detailed blog posts or articles summarizing each workshop session.
Embedded Content: Embed links to the full PDFs and other materials within each post.

@jhdalek55 let me know how content should be added.

@hexsecs @iramcdonald @tkfu @JustinCappos I'd like to get your input on this. I was thinking option number 1, where each of our workshop sessions had it own page. That page could include presenter bios, and abstracts. However, I could also see this done as Option 2, where we could categorize this content by topic. What does everyone think?

I actually like both options 2 and 3 where we have a page for the all workshop content in one place and then have a recap blog post following each workshop. The blog post is useful for promoting Uptane and giving a recap of the workshop which we can publish to the mailing list, linked in, and discord group.

Since I have a lot of the resource materials, I'm happy to put content together which ever way the group wants to go.

@jhdalek55 So How should I add Workshop Content? Which option do you prefer from the above suggested?

I'm waiting to hear from other team members. It's not my decision alone.

Hi,
I like Phil's suggestions for combined options 2 and 3.
Cheers,

Ira

On Sun, May 26, 2024, 8:35 AM Philip Lapczynski @.***>
wrote:

I actually like both options 2 and 3 where we have a page for the all
workshop content in one place and then have a recap blog post following
each workshop. The blog post is useful for promoting Uptane and giving a
recap of the workshop which we can publish to the mailing list, linked in,
and discord group.
—
Reply to this email directly, view it on GitHub
https://github.com/uptane/uptane.github.io/issues/195#issuecomment-2132205186,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE33UO3BMJW524DOJU4XZ2LZEHJIZAVCNFSM6AAAAABFJDQPPSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZSGIYDKMJYGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Based on the above suggestions, the group prefers a combined approach of Options 2 and 3.
Please advise on how to proceed. @hexsecs @jhdalek55

Coming back to this because I have a question--@hexsecs, why was this initiated when the 2022 workshop materials are already on the website, under audio-visuals. The only thing missing from that page at https://uptane.org/learn-more/audio is the Spring 2023 materials. Perhaps all that is needed is to change the title of this section to "Workshop Presentations" as, with the exception of the original demo and Trishank's original Uptane presentation at escar Europe, all of these are workshop presentations. We could still add a blogpost with a link to this page.

It was a typo in the title, @jhdalek55  is correct, it should be 2023.


bug: Can't correctly display icons "Arrow"

Did you check docs and existing issues?

[X] I have read all the which-key.nvim docs
[X] I have updated the plugin to the latest version before submitting this issue
[X] I have searched the existing issues of which-key.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
v0.10.2
Operating system/version
archlinux
Describe the bug
When I first install lazyvim there's a bug about arrow , here is :

I can't know why only the "arrow" can't display but others work on. I mostly know it happens something wrong about my OS, so if I should install some plugins to support the "arrow" icons. By the way, Tilix terminal I used.
Steps To Reproduce

nvim ./

display incorrectly

Expected Behavior
what I expected to happen is remove this bug in any method.
Health
which-key: require("which-key.health").check()

- OK Most of these checks are for informational purposes only.
  WARNINGS should be treated as a warning, and don't necessarily indicate a problem with your config.
  Please |DON'T| report these warnings as an issue.

Checking your config ~
- OK |mini.icons| is installed
- OK |nvim-web-devicons| is installed

Checking for issues with your mappings ~
- OK No issues reported

checking for overlapping keymaps ~
- WARNING In mode `n`, <<Space>w> overlaps with <<C-W><Space>>, <<C-W><C-D>>, <<Space>wm>, <<Space>wd>:
  - <<Space>w>: windows
  - <<C-W><Space>>: Window Hydra Mode (which-key)
  - <<C-W><C-D>>: Show diagnostics under the cursor
  - <<Space>wm>: Enable Maximize
  - <<Space>wd>: Delete Window
- WARNING In mode `n`, <gc> overlaps with <gco>, <gcc>, <gcO>:
  - <gc>: Toggle comment
  - <gco>: Add Comment Below
  - <gcc>: Toggle comment line
  - <gcO>: Add Comment Above
- WARNING In mode `x`, <i> overlaps with <il>, <in>:
  - <i>: inside
  - <il>: last
  - <in>: next
- WARNING In mode `x`, <a> overlaps with <a%>, <al>, <an>:
  - <a>: around
  - <al>: last
  - <an>: next
- WARNING In mode `o`, <i> overlaps with <il>, <in>:
  - <i>: inside
  - <il>: last
  - <in>: next
- WARNING In mode `o`, <a> overlaps with <al>, <an>:
  - <a>: around
  - <al>: last
  - <an>: next
- WARNING In mode `n`, <o> overlaps with <on>, <og>, <os>, <od>, <ot>, <oc>, <om>:
  - <o>: show_help
  - <on>: order_by_name
  - <og>: order_by_git_status
  - <os>: order_by_size
  - <od>: order_by_diagnostics
  - <ot>: order_by_type
  - <oc>: order_by_created
  - <om>: order_by_modified
- OK Overlapping keymaps are only reported for informational purposes.
  This doesn't necessarily mean there is a problem with your config.

Checking for duplicate mappings ~
- OK No duplicate mappings found

Log
No response
Repro
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
  spec = {
    { "folke/which-key.nvim", opts = {} },
    -- add any other plugins here
  },
})

you need a nerd font v3

thanks about your answer, but I use the font: FiraCode Nerd Font's version is 6.2 but it can't display correctly.

fira code nerd font 6.2 is from december 2021

nerd font v3 was released way later

so I'd be quite sure you don't have the latest nerd font version


[BUG] [BE] sending api request several times in a rapid time, only get 1 response

use postman to send api, such as POM get.
Send the same api three times with in 5 seconds.

From the api activity log, only the third one get 200 response
Please help to check the log for details what happened and what is the current scenario to hand it.

request:
curl --location 'https://kraken-hub-staging-cn.dev.consolecore.cc/mefApi/sonata/quoteManagement/v8/quote/43d1e7e9-a11b-4843-a6da-39086ec5ceb2' \

not a bug as the request is withdrawn by postman in such situation.


[WIP] Preliminary

Objectives of this PR:

Fix folder structures
Create preliminary CLI functionality based on design presented to team
Added proper .gitignore to ignore unnecessary files and directories
Removed pre-existing bloat files and directories (present in .idea)
Implement core logger

PR is ready for review. All of the tests are accurate and the program now runs with a proper configuration based on CLI args, per my design.


Publish on conda-forge

Refs:

https://github.com/fractal-analytics-platform/fractal-client/issues/533
https://github.com/conda-forge/staged-recipes/pull/24119

We now have fractal-server 1.3.9 and fractal-client 1.3.6 available on conda-forge. I made a test PR withing fractal-demos, where I installed them through conda (rather than pip), and example 01 runs correctly.


Allow to convert attribute value in repr

For attributes like UUID, it would be nice to use str instead of repr for them in the generated __repr__.
It looks to be similar to the existing convert, which is used in the __init__ method.
For Django models I am using the following (convert_repr being a new callback):
@attr.attributes(these={
    'id': attr.ib(),
    'uuid': attr.ib(convert_repr=str),
    …
}, init=False, cmp=False)

Maybe repr could be a callback optionally?
repr=True would use repr, but you could use repr=str or any other callback then.
diff --git i/src/attr/_make.py w/src/attr/_make.py
index b22a3f8..3788bb6 100644
--- i/src/attr/_make.py
+++ w/src/attr/_make.py
@@ -537,7 +537,7 @@ def repr_(self):

         return "{0}({1})".format(
             class_name,
-            ", ".join(a.name + "=" + repr(getattr(self, a.name))
+            ", ".join(a.name + "=" + (repr if a.repr is True else a.repr)(getattr(self, a.name))
                       for a in attrs)
         )
     cls.__repr__ = repr_

Looks like a dupe of #212 ?

Indeed.


Add attributes and message attributes to output.

In many cases, having access to the attributes of an SQS message can be
useful.  For example, I use a "destination" message attribute that
allows special handling and routing of a message within a workflow. I
imagine that others users of n8n and this plugin may also have use of
the generic SQS attributes, such as SenderId and
ApproximateReceiveCount.
This commit adds MessageAttributeName=All and AttributeName=All to
receiveMessageParams. This enables the inclusion of all attributes in
the response payload. I feel that these attributes are important enough
that I would expect them to always be included.
An example output follows:
[
    {
        "MessageId": "c4f3a344-d4fd-4135-9b40-b66e058f791d",
        "ReceiptHandle": "...",
        "MD5OfBody": "59713...",
        "MD5OfMessageAttributes": "e65c8...",
        "Body": "some message",
        "Attribute": [
            {
                "Name": "SenderId",
                "Value": "..."
            },
            {
                "Name": "ApproximateFirstReceiveTimestamp",
                "Value": "1662224388373"
            },
            {
                "Name": "ApproximateReceiveCount",
                "Value": "19"
            },
            {
                "Name": "SentTimestamp",
                "Value": "1662224388373"
            }
        ],
        "MessageAttribute": {
            "Name": "destination",
            "Value": {
                "StringValue": "40484c7b-0fe6-42b5-8956-9768f5a9cdd4",
                "DataType": "String"
            }
        }
    }
]

Thanks for contributing! I was going to add functionality for this over the weekend so thank you. Happy for this to be merged in and I’ll release it to NPM tomorrow