[Autocomplete][InputUnstyled] Unable to find the input element error

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
When using the AutoComplete component with an InputUnstyled passed to the renderInput prop, the following error is raised:
MUI: Cannot find input element. Resolved to null while expecting an HTMLInputElement.
However, if I use the TextField as stated in the documentation, it works as expected.
Expected behavior 🤔
Using a IntputUnstyled as renderInput prop on Autocomplete component should behave the same as using a TextField.
Steps to reproduce 🕹
Steps:

Use the Autocomplete component as it is from the documentation.
Change the renderInput props replacing the TextField with an InputUnstyled.
The new input is renderer but an error is raised in the console.

CodeSandbox.
Context 🔦
No response
Your environment 🌎
  System:
    OS: Linux 5.10 Debian GNU/Linux 11 (bullseye) 11 (bullseye)
  Binaries:
    Node: 18.2.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 8.9.0 - /usr/local/bin/npm
  Browsers:
    Chrome: Not Found
    Firefox: Not Found
  npmPackages:
    @mui/base: ^5.0.0-alpha.83 => 5.0.0-alpha.83
    @mui/icons-material: ^5.8.2 => 5.8.2
    @mui/material: ^5.8.2 => 5.8.2
    @mui/private-theming:  5.8.0
    @mui/styled-engine-sc: ^5.6.1 => 5.8.0
    @mui/system: ^5.8.2 => 5.8.2
    @mui/types:  7.1.3
    @mui/utils:  5.8.0
    @types/react: ^18.0.3 => 18.0.9
    react: ^18.0.0 => 18.1.0
    react-dom: ^18.0.0 => 18.1.0
    styled-components: ^5.3.5 => 5.3.5
    typescript: ^4.6.4 => 4.7.2

Thanks for the report, @zzev. I'll take a look at it today.

We haven't tested this scenario yet, as we haven't overhauled the Autocomplete when creating Base components, but you should be able to make this work.
First of all, your StyledInput should forward its ref to the InputUnstyled:
const StyledInput = React.forwardRef(
  (props: InputUnstyledProps, ref: React.Ref<HTMLDivElement>) => {
    return <InputUnstyled {...props} ref={ref} />;
  }
);

then, you have to pass in the props of the input in a format that InputUnstyled expects. In MUI Base we're using componentsProps.* instead of *Props across all components (so you have to use componentsProps.input instead of inputProps). Since Autocomplete doesn't know about this convention yet, you have to change the format of these props:
const { InputProps, inputProps } = params;
return (
  <StyledInput
    value={inputProps.value}
    placeholder="Boom!"
    {...InputProps}
    componentsProps={{ input: inputProps }}
  />
);

See the working example here: https://codesandbox.io/s/laughing-fire-2v8cih?file=/src/Demo.tsx:503-707
One more thing: note that InputUnstyled is not an unstyled replacement of TextField. The TextField is a composite control encapsulating an input, label, and some other helpers. With InputUnstyled, you get just the input, so you'll be responsible for adding a label and displaying validation errors if necessary.

Thank you @michaldudak for the full explanation, it's working now! 😄  And yes, I have to style the InputUnstyled, but that's what I wanted to do from the beginning


 is not a valid SSR component.

Hello, I am not finding a way to overcome this error.
"You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules. Otherwise you may need to fix a ."
Help appreciated,
Thank you!

Hey there!
Proper SvelteKit support is coming soon in version 2.0.0, which should fix this issue.


feat: Migrate to emotion

[x] I have followed (at least) the PR section of the contributing guide.

One of #24405

Duplicate of #24597

Duplicate of #24597

Duplicate of #24597

I did not realize

Duplicate of #24597

I did not realize

We both made changes at the same time :D @vicasas

We both made changes at the same time :D @vicasas


User Presence does not work for community integration

Trying to add support for user presence for Wargaming integration, but for some reason it does not works.

get_friends() output

2019-12-08 01:50:54,047 - root - INFO - get_friends: [
...
UserInfo(
    user_id='6825084',
    user_name='RU_P0LIR0ID',
    avatar_url= None,
    profile_url='https://worldoftanks.ru/ru/community/accounts/6825084'),
...
]

get_user_presence() output

2019-12-08 01:51:23,033 - galaxy.api.jsonrpc - INFO - Sending notification: method=user_presence_import_success, params={
    'user_id': '6825084',
    'presence': UserPresence(
        presence_state=<PresenceState.Online: 'online'>,
        game_id='WOT.RU.PRODUCTION',
        game_title='World of Tanks (RU)',
        in_game_status=None,
        full_status=None)
   }

There is record in GalaxyClient.log

2019-12-08 01:58:53.864 [Information][ (0)] [TID 17076][galaxy_client]: Presence (state: online, game id: wargaming_WOT.RU.PRODUCTION, game title: World of Tanks (RU), in_game_status: <<NULL>>, full_status: <<NULL>>) imported for user u/wargaming_6825084.
2019-12-08 01:58:53.864 [Information][ (0)] [TID 17076][galaxy_client]: Successfully imported presence information for user u/wargaming_8332677

But I still does not see Wargaming subgroup in friends panel

Which version of the API do you use?

0.61

OK - due to big load on the backend service (open beta) this future was turn on only for several platforms. It should be turn on for all next week - I'll let you know when it's ready.

It should be switched on for Wargaming and Rockstar plugins as well currently

@rbierbasz-gog - Thank you so much for the confirmation. I spent hours thinking that the problem was on my side, but I am glad to see that the feature was just temporarily disabled for the Rockstar plugin.

Works for Wargaming


Geiser does not work with Guile 2.1.x

As you may already know, Guile's 2.2 pre-release, version 2.1.1, was released a little while ago.  It features a new VM and compiler, which breaks the current Geiser integration.  Below is an excerpt from the #guile IRC channel that explains the problem and the potential solution:
<rekado> hmm, can't use 2.1.1. When I send expressions to the REPL via Geiser I get "ERROR: no such language objcode"
<rekado> if I paste the expression directly I get a compilation error: ERROR: In procedure load-thunk-from-memory: not an ELF file
<rekado> probably need to recompile all my modules.
<wingo>	yeah geiser doesn't work with master
<wingo>	unhappily
<rekado> back to regular expressions then...
<amz3>	wingo: do you know what the fix for geiser should be?
<wingo>	amz3: mostly. it needs to compile to 'bytecode instead of 'objcode and then use load-thunk-from-memory instead of objcode->program or whatever it's doing now
<wingo>	there might be more things, i don't know.
<wingo>	but that's the big one. more generally it should know whether it's working with guile 2.0 or 2.2 and be able to do different things.

@davexunit do you know if there's a cond-expand feature differentiating 2 from 2.2?

Yes, there is.  From the 2.1.1 release notes:

** New cond-expand' feature: guile-2.2'
Use this feature if you need to check for Guile 2.2 from Scheme code.

@davexunit thanks a lot.  i've just pushed a patch that (tries to) fix this issue via cond-expand.  please let me know how it works for you!


Debugger breaks into PTVSD code if there are syntax errors in pythonfile

Debug using VS Code experimental debugger
Un select Raised Exceptions
Select Uncaught Exceptions
Debug python program with syntax errors

if True

Debugger will break into PTVSD code
Upstream issue https://github.com/Microsoft/ptvsd/issues/194
Expected behaviour:

Debugger should not break into PTVSD instead stop the debugger.

@DonJayamanne - Microsoft/ptvsd#26 is closed. Resolve?

No, will create another issue.

Updated the upstream issue to #194

Updated upstream issue


Added support for ES6 imports

So I haven't messed with Browserify transforms before, but these changes fix the issues I was having with ES6 imports per #11. Tests run fine and I was able to build a moderately sized ES6 mithril project without issue.

This is cool, but I have concerns that it would catch any project that starts with _mithril. I need to dig into this a bit more but this is a great starting point thanks!


Add restrictions for account related actions

Add conditions for actions, which need connected Polkadot.js extension and in-chain account (Trade, Liquidity);
Update Init page;
Add error notifications if extension or account is not connected.

We still don't have error if node cannot be connected to.

We still don't have error if node cannot be connected to.


only assemble the root project

I have a multi-project build file (its ensime) and I tried setting assembleArtifact in assembly := false for everything except the root project, but an sbt ensime/assembly (ensime is the name of our root project) shows that all the submodule fat jars are still being created.

Sorry that a bug #147, which I forgot to fix. Try
aggregate in assembly := false

great! that worked :smile: are you going to scalaworld?

i guess if you haven't fixed it this ticket can be left open... but I'm happy with the soln.

I am, and I have a few unconference talk ideas too - https://scala.world/unconference

I was going to give one about ENSIME but my wife is going to join me for the weekend, so while you're all doing the unconference I'll be getting a massage in the spa :stuck_out_tongue: (or, actually, am I the fool here??)

Sounds like a good idea esp if you're going on hiking.

Hi,
Could you confirm on the resolution to this?  Following the other post suggests that aggregate in assembly didn't work and instead the suggestion for disabling the plugin in that module was the workaround - thanks.


fix function replicas ui scaling

d3 bound data array object refs are immutable - only their values are allowed to change

rebased and merged as https://github.com/markfisher/s1p2017-faas-demo/commit/97466286700c69dde10e8e140e45fece6ecdddf3


Wrong flags definition in Piped development Contribute Guide

What happened:
I was trying to follow this guide to set up pipecd on local machine. And running
bazelisk run --run_under="cd $PWD && " //cmd/piped:piped -- piped \
--use-fake-api-client=true \
--project-id=local-dev-project \
--piped-id=local-dev-piped \
--piped-key-file=.dev/piped.key \
--bin-dir=/tmp/piped-bin \
--config-file=.dev/dev-config.yaml

to start it but it raised unknown flag: for follow flags: project-id, piped-id, piped-key-file
I read the code from this and figure out that maybe the documents is outdated.
What you expected to happen:

Start server successfully.

How to reproduce it:

Run this command after forking the code.

bazelisk run --run_under="cd $PWD && " //cmd/piped:piped -- piped \
--use-fake-api-client=true \
--project-id=local-dev-project \
--piped-id=local-dev-piped \
--piped-key-file=.dev/piped.key \
--bin-dir=/tmp/piped-bin \
--config-file=.dev/dev-config.yaml

to star
Environment:

piped version: v0.8.0
control-plane version:
Others:

@tnqv Thanks for your issue.
Nice catch! You are absolutely right.
Could you make a pull request to remove those flags?
https://github.com/pipe-cd/pipe/blob/master/docs/content/en/docs/contribution-guidelines/piped-development.md

@nghialv Thanks for replying!!
Besides this, there is also 1 problem while setting up I want to discuss:
When come to step:
A piped configuration file piped-config.yaml
And in the command, document is writing as --config-file=.dev/dev-config.yaml
It's a little bit confusing so I think it's better to make it the same. And add the example link to it.
How do you think ?

@tnqv

It's a little bit confusing so I think it's better to make it the same.

Yes, you are right. I am happy to see another PR to fix this.

And add the example link to it.

Nice idea. But that file is just test data so it could be changed in the future.
So I think we can add a simple example of a configuration file like this to the docs.
https://pipecd.dev/docs/operator-manual/piped/installation/#installing-on-a-single-machine
Thank you.

@tnqv Could you send a PR for what we said above?

@nghialv Sorry for replying late :sweat_smile: I've got some busy stuffs.
I'll create PR for the above discussion, also taking some notes while setting up the development.
But sadly, I'm following this guide and got stuck, although the server log is showing successfully, when I come localhost:9082. It's showing some kind like this :crying_cat_face:


Create test coverage reports

Issue Type

[ ] bug report
[ x ] feature request

Current Behavior
It is not possible to measure test coverage.
Suggested Fix
Use e.g. solidity-coverage to create test coverage reports and have an online visualization of the reports e.g. www.coveralls.io.
Motivation for Change
It is crucial to understand test coverage across the smart contracts and the gaps that might exist in them. As part of the audit readiness requirements we would like to get close to 100% test coverage once the audits start.

done in #310


How to include a theme with parameters ?

Some Prezto / ZSH themes like bigfade or elite come in different flavours with parameters (as you can see with the prompt -p command :
fade theme with parameters 'white grey blue'...
I have my own custom theme, but I can't figure out how to set and get theme parameters with Prezto, I tried the following but it doesn't work (I need to define some sets of var colors in the theme depending on the value of param1), and the code from the provided themes and the documentation don't help so much:
zpreztorc :
# Set the prompt theme to load.
# Setting it to 'random' loads a random theme.
# Auto set to 'off' on dumb terminals.
  zstyle ':prezto:module:prompt' theme 'my_custom_theme param1'

prompt_my_custom_theme_setup :
...
local theme_type=${1:server}

if [[ "$theme_type" == 'desktop' ]]; then
    echo 'desk'
else
    echo 'server'
fi

Instead of echoing 'desk' or 'server', I will later set some colors, but currently when reloading the shell (exec $SHELL) it always echoes 'server'. Any thoughts ?

Sorry, it seems that I edited a duplicate file and the right one was unchanged, no issue here, works as expected : zstyle ':prezto:module:prompt' theme my_custom_theme param1


Fixes CTRL + A clears text boxes

Fixes: https://github.com/dotnet/roslyn/issues/7894.
This is a workaround until the WinForms/Shell bug (filed internally) is fixed.

tag @dotnet/roslyn-analysis

:+1: modulo the comment

:+1:


Cleaning up Some Security Issues

Creating this PR to help with removing some of the security issues. I ran ember test before this and the tests passed. Not sure if more is needed

👏
Just wanted to know if this is going to be merged.

@jrock2004 thanks for the PR!


Add Half-QWERTY layout to examples/

This layout has been very useful to me for typing only with the right hand. I
did not test it for left-handed typing.

Apologies for the delay. I have been dealing with a few health issues and there is a lot of issue/PR noise.
Thank you for the example, it has been rebased and merged in 7f89d545.


[TOPI] Add more ops

This PR adds:

tvm::prod
Tensor::numel
topi::{mean, var}

ping @nhynes can you act on the comments?

ping @nhynes can you act on the comments?

For sure, sorry. It's just been an endless fractal of effort getting resnet to train in NNVM. I'll attend to this first thing tomorrow.

The fusion rule is mainly done in topi and the current topi schedule injective is not as smart to handle the case. Two possible solutions exist

break mean into sum(marked as reduction), div(injective)

So fusor will know to fuse at sum

Keep mean, mark it as reduction and manually write the schedule for mean

break mean into sum(marked as reduction), div(injective)

I tried this, but then the CUDA test complains about injective not being a valid schedule.

schedule_injective so far only handles the sequence that is all injective.
Schedule reduce is needed for handling reductions.
By break mean into sum and div, i mean do it in nnvm level, instead of the topi level.

close due to inactive status, please open another PR if we want to bring some of the changes


docs: remove demo-app docs

If your build fails  due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:

[X] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[X] I am not introducing a new dependency (add notes below if you are)
[N/A] I have added unit tests for the new feature or bug fix (if not, why?)
[N/A] I have fully tested (add details below) this the new feature or bug fix (if not, why?)
[N/A] I have opened a PR for the related docs change (if not, why?)

Testing Instructions

New Dependency Instructions (If applicable)

Codecov Report

Merging #273 (58b2c84) into main (dcb5ff7) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main     #273   +/-   ##
=======================================
  Coverage   32.80%   32.80%
=======================================
  Files          18       18
  Lines        1765     1765
=======================================
  Hits          579      579
  Misses       1122     1122
  Partials       64       64

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Petitio is showing error do something instantly

0|main     | SyntaxError: Unexpected token  in JSON at position 0
0|main     |     at JSON.parse (<anonymous>)
0|main     |     at Y.json (/home/ubuntu/bot/node_modules/petitio/dist/index.js:30:574)
0|main     |     at ke.json (/home/ubuntu/bot/node_modules/petitio/dist/index.js:30:2499)
0|main     |     at runMicrotasks (<anonymous>)
0|main     |     at processTicksAndRejections (node:internal/process/task_queues:96:5)```

Same issue over here

I also have the same error

Build branch no longer uses petitio:
npm install menudocs/erela.js#build
or
yarn add menudocs/erela.js#build


Candidate Release Comments (Code of Conduct at Event)

This issue was created to collect comments about the upcoming metrics release.
This thread is for comments about Code of Conduct at Event
GitHub location: https://github.com/chaoss/wg-diversity-inclusion/blob/master/focus-areas/events/event-code-of-conduct.md
See all release candidates of metrics are at:
https://chaoss.community/metrics-202001/

"Resources" should be "References"

This issue is created to collect comments about the rolling release of "Project Demographics"
This metric can be found here: https://github.com/chaoss/wg-dei/blob/main/focus-areas/project-and-community/project-demographics.md
See all release candidates: https://chaoss.community/metrics/
CHAOSS Metric Quality Checklist
This checklist is used for new and updated metrics to ensure we follow CHAOSS quality standards and processes. Below checklist items don’t have to be completed all at once: create the metric release candidate issue first and then start working on the checklist.
Process

[x] Create the “review issue” in the authoring WG’s repo for comments during review period and paste this template in
[x] Create pull request to edit or add metric to WG’s repo (after checking Content Quality and Technical Requirements below)
[x] Add the new metric or metric edit to release notes issue in working group repo
[x] Update the Metrics Spreadsheet
[x] Create issue in CHAOSS/Translations repository to kick-off translation to other languages (please use the the translation issue template)
[x] "Metric Candidate Release" label added to the metric release candidate issue.
[ ] Metric was added to website

When above steps are completed:

[ ] Announce new/updated metric on mailing list, newsletter, community Zoom call, and Twitter. This can be coordinated with the community manager.

Content Quality

[x] Required headings are filled in, including Questions.
[x] Description provides context to metric
[x] Objectives list sample uses for the metric and desired outcomes
[x] If any, DEI uses of the metric are included Objectives
[x] Optional headings that have no content were removed
[x] Contributors section lists those contributors that want to be named
[x] The name of the metric is the same in (1) metric heading, (2) metric file name, (3) focus area, (4) metrics spreadsheet, (5) “review issue”, (6) translation issue, and (7) website

Technical Requirements

[x] Message in the metric markdown file that the metric will be part of the next regular release is at top of page and the links are correct (this is in the metric template)
[x] Metric file name is the full metric name and only contains lower case letters and hyphens (“-”) for spaces

GitHub markdown filename is missing "at-event"

[x] Images are included using markdown and relative links (as described in the metrics template)
[x] Images have at least one empty line above and below them
[x] Ensure images are placed in image folder and followed naming convention
[x] If new focus area is created, ensure focus area is added to wg repo readme and focus area folder readme
[ ] Within the focus area, add the metric in the table and provide the link to the metric and metric question
[x] Ensure tables within metric are converted as image and placed in the image folder (both original MD and screenshotted PNG format) and follow the naming convention
[x] No HTML code in the metrics markdown file


Need to serialize all fields of child when passed a parent reference

Is there a way to serialize all fields from an inherited class when given a parent reference to it. For example this is how Json.NET works.
Ex:

namespace ConsoleApplication
{
    using System;
    using System.IO;
    using System.Text;
    using Bond;
    using Bond.Protocols;
    using Newtonsoft.Json;

    static class Program
    {
        static void Main()
        {
            var b = new B
            {
                Id = Guid.NewGuid().ToString(),
                Additional = "This is other data"
            };

            // Write it as its child handle

            var jsonString = new StringBuilder();
            var jsonWriter = new SimpleJsonWriter(new StringWriter(jsonString));

            Serialize.To(jsonWriter, b);
            jsonWriter.Flush();

            Console.WriteLine(jsonString.ToString());

            // Write it as a parent handle

            var a = (A)b;

            jsonString = new StringBuilder();
            jsonWriter = new SimpleJsonWriter(new StringWriter(jsonString));

            Serialize.To(jsonWriter, a);
            jsonWriter.Flush();

            Console.WriteLine(jsonString.ToString());

            // Using Json.NET
            Console.WriteLine(JsonConvert.SerializeObject(b));
            Console.WriteLine(JsonConvert.SerializeObject(a));
        }
    }

    [global::Bond.Schema]
    [System.CodeDom.Compiler.GeneratedCode("gbc", "<IP_ADDRESS>")]
    public partial class A
    {
        [global::Bond.Id(0), global::Bond.Required]
        public string Id { get; set; }

        public A()
            : this("ConsoleApplication.A", "A")
        {}

        protected A(string fullName, string name)
        {
            Id = "";
        }
    }

    [global::Bond.Schema]
    [System.CodeDom.Compiler.GeneratedCode("gbc", "<IP_ADDRESS>")]
    public partial class B : global::ConsoleApplication.A
    {
        [global::Bond.Id(0)]
        public string Additional { get; set; }

        public B()
            : this("ConsoleApplication.B", "B")
        {}

        protected B(string fullName, string name)
        {
            Additional = "";
        }
    }
}

Output:
// Bond as B - Correct
{"Id":"7ebae97c-f158-46fe-8b89-1e093a24182a","Additional":"This is other data"}
// Bond as A - BUG! Where is Additional???
{"Id":"7ebae97c-f158-46fe-8b89-1e093a24182a"}
// Json.NET as B - Correct
{"Additional":"This is other data","Id":"7ebae97c-f158-46fe-8b89-1e093a24182a"}
// Json.NET as A - Correct
{"Additional":"This is other data","Id":"7ebae97c-f158-46fe-8b89-1e093a24182a"}

Serialize.To API dispatches to appropriate serializer using generic method resolution so it will use declared type. You can explicitly instantiate serializers and dispatch using typeof to achieve what you want.

Ah awesome! This resolves what I needed.

Another option is to take advantage of IBonded. This may be easier--or harder--than using explicit serializers, depending on how your other code is laid out. The overhead may--or may not--be measurable.
IBonded<A> childAsBase = new Bonded<B>(b);

jsonString = new StringBuilder();
jsonWriter = new SimpleJsonWriter(new StringWriter(jsonString));

Serialize.To(jsonWriter, childAsBase);

Note that if you write this, you'll get the same slicing that you observed:
IBonded<A> childAsBase = new Bonded<A>(b);

Using a bit of reflection, you can write a method to create an IBonded<Base> backed by a Bonded<MostDerivedType>.


Resume screening

Overview:
The model leverages the capabilities of Artificial Intelligence and Natural Language Processing to automate the resume screening.
By utilizing machine learning techniques, it efficiently matches job requirements with applicant skills, streamlining the hiring process for recruiters and HR professionals.
I would like this issue to be assigned to me as part of GSSoC'24 with the gssoc label and the appropriate level (1/2/3).
Thank you.

Hello, I'm Dheeraj current working on machine learning models. I would like to solve this issue kindly allot it to me.

The issue has been assigned to you , Please follow project guidelines for PR. issue assigned BAsed on FCFS


"Specifying recommended secrets in the dev container configuration": secrets: {} is not allowed property in devcontainer.json

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/configuring-dev-containers/specifying-recommended-secrets-for-a-repository#specifying-recommended-secrets-in-the-dev-container-configuration
What part(s) of the article would you like to see updated?
Specifically the subhead "Specifying recommended secrets in the dev container configuration" -- it shows adding a
"secrets": {
  "NAME_OF_SECRET_1": {
    "description": "This is the description of the secret.",
    "documentationUrl": "https://example.com/link/to/info"
  },
  "NAME_OF_SECRET_2": { }
}

property to an existing devcontainer.json.  But when you do that with an existing file in a Codespace, it throws a linter(?) error: Property secrets is not allowed.  Without that property, the "Recommended Secrets" extended panel cannot be seen when working with a Codespace for a repo, under the "new with options" item.
Could be just a linter misconfiguration for a bit?  Or has this feature been dropped?
Additional information

@tiffehr Thanks so much for opening an issue! We appreciate the details and screenshot!
I'll triage this for the team to take a look :eyes:

Ah, no, ignore the previous comment.
Editing the devcontainer.json in a codespace in VS Code I get the same thing. I'll raise a engineering issue for this.
This isn't a documentation issue, so I'll close this. Thanks again for bringing this to our attention.


Spelling

Generated by https://github.com/jsoref/spelling f; to maintain your repo, please consider fchurn

@yatli: I've dropped constants, conference, invoke, and all changes to freebase.tsl.

As for Microsoft Service Fabric SDK, can you report it to them?

@jsoref I will try to route this report.

All the checks are happy, is there anything else you need from me?

I'm not seeing the new commit. Did you push?

The tooling (hg) I use doesn't update the datestamps on commits I haven't changed.
GitHub will show your addressed commets as outdated and they will no longer be present in the PR.
What I'm doing in general is simply dropping commits (because each commit is a word and you're thankfully complaining about words).
As of this comment, I believe I've addressed all of your concerns.

coming into master now. thanks again @jsoref.
btw that's an interesting idea -- to maintain spelling with a word-commit mapping.

It makes dealing with reviews much easier. Even if someone only dislikes half of the changes for a given word, I can simply drop it for now and deal with it later. But as a general rule reviewers either like a word change or don't.
The other possibility is they don't like changes to certain files, and I deal with that by having a branch where I maintain commits that delete such files. Then I just rebase my fixes onto the branch to drop fixes for those files, and then rebase back onto master (excluding the ignore commits).
And of course, for long lasting reviews, it makes rebasing onto a moving master easier because any conflicts involve only a single family of misspellings, so fixing the commit is easier.


Example in README not working?

Hi,
I tried setting my API Key with version 2.2.0 (as stated in the example):
const brevo = require('@getbrevo/brevo');
let apiInstance = new brevo.TransactionalEmailsApi();
let apiKey = apiInstance.authentications['apiKey'];
However "authentications" seems to be protected and not usable as stated in the example:
error TS2445: Property 'authentications' is protected and only accessible within class 'TransactionalEmailsApi' and its subclasses.
I tried downgrading to 2.1.1 which is the same version as in the example, but it still fails.
How to set the API Key with this package?
Is it project even still maintained?
I raised an issue over a month ago and no one looked into it yet...

Hi, you can try :
const brevo = require('@getbrevo/brevo');
let apiInstance = new brevo.TransactionalEmailsApi();

apiInstance.setApiKey(
	TransactionalEmailsApiApiKeys.apiKey,
	"YOUR_KEY"
);


Selection in the debug console "leaks" into the code editor

VSCode Version: 1.4
OS Version: OSX El Capitan 10.11.5

Steps to Reproduce:

Open a code file
Do something that will cause output into the debug console
Select some text in the debug console
Use Shift+Up to select multiple lines

Observe: the selection "leaks" into the code editor (see attached)

Also, it seems that it is only possible to copy what is currently visible in the debug console.

Only copying what is currently visible is dup of https://github.com/Microsoft/vscode/issues/2163

Actually the selection leak would also be fixed by the proper implementation of #2163
Thus closing as duplicate


updated CONTRIBUTING.md

In the cla document, we have to use("the Project") for forward referencing and should not change to ("mp-starter-vscode-ect")

Can you start a new paragraph after ("the Project). in the cla pdf document.


W0903 11:19:25.526851 61632 custom_operator.cc:723] Operator (nms_gpu) has been registered.
W0903 11:19:25.526854 61632 custom_operator.cc:723] Operator (boxes_overlap_bev_gpu) has been registered.
W0903 11:19:25.526856 61632 custom_operator.cc:723] Operator (hard_voxelize) has been registered.
W0903 11:19:25.526859 61632 custom_operator.cc:723] Operator (boxes_iou_bev_gpu) has been registered.
W0903 11:19:25.526861 61632 custom_operator.cc:723] Operator (boxes_iou_bev_cpu) has been registered.
2024-09-03 11:19:25,534 -     INFO - pointnet2_ops builded success!
/home/gabriel/miniconda3/envs/paddle_37/lib/python3.7/site-packages/paddle/nn/layer/norm.py:712: UserWarning: When training, we now always track global mean and variance.
  "When training, we now always track global mean and variance."
2024-09-03 11:19:26,769 -  WARNING - No custom op roiaware_pool3d found, try JIT build
Compiling user custom op, it will cost a few seconds.....
W0903 11:19:27.559796 61632 custom_operator.cc:723] Operator (hard_voxelize) has been registered.
W0903 11:19:27.559818 61632 custom_operator.cc:723] Operator (boxes_overlap_bev_gpu) has been registered.
W0903 11:19:27.559819 61632 custom_operator.cc:723] Operator (nms_gpu) has been registered.
W0903 11:19:27.559821 61632 custom_operator.cc:723] Operator (ball_query_stack) has been registered.
W0903 11:19:27.559823 61632 custom_operator.cc:723] Operator (boxes_iou_bev_cpu) has been registered.
W0903 11:19:27.559825 61632 custom_operator.cc:723] Operator (boxes_iou_bev_gpu) has been registered.
W0903 11:19:27.559827 61632 custom_operator.cc:723] Operator (nms_normal_gpu) has been registered.
W0903 11:19:27.559829 61632 custom_operator.cc:723] Operator (gather_operation) has been registered.
W0903 11:19:27.559831 61632 custom_operator.cc:723] Operator (ball_query_batch) has been registered.
W0903 11:19:27.559834 61632 custom_operator.cc:723] Operator (grouping_operation_batch) has been registered.
W0903 11:19:27.559835 61632 custom_operator.cc:723] Operator (voxel_query_wrapper) has been registered.
W0903 11:19:27.559837 61632 custom_operator.cc:723] Operator (grouping_operation_stack) has been registered.
W0903 11:19:27.559839 61632 custom_operator.cc:723] Operator (farthest_point_sample) has been registered.
2024-09-03 11:19:27,565 -     INFO - roiaware_pool3d builded success!

I was then able to export the model with python tools/export.py --config configs/iassd/iassd_kitti.yaml --model outputs/iassd_kitti/epoch_1/model.pdparams --save_dir outputs/iassd_kitti/export, however, there is a UserWarning:
/home/gabriel/miniconda3/envs/paddle_37/lib/python3.7/site-packages/paddle/tensor/creation.py:1806: UserWarning: paddle.assign doesn't support float64 input now due to current platform protobuf data limitation, we convert it to float32
  "paddle.assign doesn't support float64 input now due "
/home/gabriel/miniconda3/envs/paddle_37/lib/python3.7/site-packages/paddle/fluid/layers/tensor.py:668: UserWarning: paddle.assign doesn't support float64 input now due to current platform protobuf data limitation, we convert it to float32
  "paddle.assign doesn't support float64 input now due "
/home/gabriel/miniconda3/envs/paddle_37/lib/python3.7/site-packages/paddle/fluid/layers/control_flow.py:125: UserWarning: the input shapes of select_input should have the same rank, but get (-1, 7), (1,)
  f"the input shapes of select_input should have the same rank, but get {first_shape}, {second_shape}"
2024-09-03 11:21:13,362 -     INFO - Exported model is saved in outputs/iassd_kitti/export/iassd

Next, if I try to run inference, python3.7 deploy/iassd/python/infer.py --model_file outputs/iassd_kitti/export/iassd.pdmodel --params_file outputs/iassd_kitti/export/iassd.pdiparams --lidar_file datasets/KITTI/testing/velodyne/000000.bin --gpu_id 0 --run_mode trt_fp32 i get ImportError:
W0903 11:23:02.417436 64919 custom_operator.cc:723] Operator (nms_normal_gpu) has been registered.
W0903 11:23:02.417456 64919 custom_operator.cc:723] Operator (nms_gpu) has been registered.
W0903 11:23:02.417460 64919 custom_operator.cc:723] Operator (boxes_overlap_bev_gpu) has been registered.
W0903 11:23:02.417511 64919 custom_operator.cc:723] Operator (boxes_iou_bev_gpu) has been registered.
W0903 11:23:02.417515 64919 custom_operator.cc:723] Operator (boxes_iou_bev_cpu) has been registered.
/home/gabriel/Paddle3D/paddle3d/transforms/transform.py:461: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
  interp=Image.BILINEAR):
/home/gabriel/Paddle3D/paddle3d/transforms/transform.py:1502: DeprecationWarning: NEAREST is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.NEAREST or Dither.NONE instead.
  'nearest': Image.NEAREST,
/home/gabriel/Paddle3D/paddle3d/transforms/transform.py:1503: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
  'bilinear': Image.BILINEAR,
/home/gabriel/Paddle3D/paddle3d/transforms/transform.py:1504: DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BICUBIC instead.
  'bicubic': Image.BICUBIC,
/home/gabriel/Paddle3D/paddle3d/transforms/transform.py:1505: DeprecationWarning: BOX is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BOX instead.
  'box': Image.BOX,
/home/gabriel/Paddle3D/paddle3d/transforms/transform.py:1506: DeprecationWarning: LANCZOS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.
  'lanczos': Image.LANCZOS,
/home/gabriel/Paddle3D/paddle3d/transforms/transform.py:1507: DeprecationWarning: HAMMING is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.HAMMING instead.
  'hamming': Image.HAMMING
ortools not installed, install it by "pip install ortools==9.1.9490" if you run BEVLaneDet model
2024-09-03 11:23:02,580 -  WARNING - No custom op pointnet2_ops found, try JIT build
Compiling user custom op, it will cost a few seconds.....
W0903 11:23:03.350497 64919 custom_operator.cc:723] Operator (nms_normal_gpu) has been registered.
W0903 11:23:03.350534 64919 custom_operator.cc:723] Operator (nms_gpu) has been registered.
W0903 11:23:03.350538 64919 custom_operator.cc:723] Operator (boxes_overlap_bev_gpu) has been registered.
W0903 11:23:03.350539 64919 custom_operator.cc:723] Operator (hard_voxelize) has been registered.
W0903 11:23:03.350541 64919 custom_operator.cc:723] Operator (boxes_iou_bev_gpu) has been registered.
W0903 11:23:03.350543 64919 custom_operator.cc:723] Operator (boxes_iou_bev_cpu) has been registered.
2024-09-03 11:23:03,357 -     INFO - pointnet2_ops builded success!
Traceback (most recent call last):
  File "deploy/iassd/python/infer.py", line 23, in <module>
    from paddle3d.ops.pointnet2_ops import (ball_query, farthest_point_sample,
  File "/home/gabriel/Paddle3D/paddle3d/ops/__init__.py", line 189, in __getattr__
    attr, self.modulename, module.__file__))
ImportError: cannot import name 'ball_query' from 'pointnet2_ops' (/home/gabriel/.cache/paddle_extensions/pointnet2_ops/pointnet2_ops_140464807302336.py)

I thought maybe the operation was not built properly, so i then try to build it manually by cd into paddle3d/ops and running python setup.py install. However, it seemed to fail at building centerpoint operations.
/usr/local/cuda-11.6/bin/nvcc -I/home/gabriel/miniconda3/envs/paddle_37/lib/python3.7/site-packages/paddle/include -I/home/gabriel/miniconda3/envs/paddle_37/lib/python3.7/site-packages/paddle/include/third_party -I/usr/local/cuda-11.6/include -I/home/gabriel/miniconda3/envs/paddle_37/include/python3.7m -c /home/gabriel/Paddle3D/paddle3d/ops/centerpoint_postprocess/postprocess.cu -o /home/gabriel/Paddle3D/paddle3d/ops/build/centerpoint_postprocess/lib.linux-x86_64-cpython-37/postprocess.cu.o -DPADDLE_WITH_CUDA -DEIGEN_USE_GPU -ccbin cc -Xcompiler -fPIC --expt-relaxed-constexpr -DNVCC -w -DPADDLE_WITH_CUSTOM_KERNEL -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++14
/home/gabriel/Paddle3D/paddle3d/ops/centerpoint_postprocess/postprocess.cu(147): error: too few arguments in function call

1 error detected in the compilation of "/home/gabriel/Paddle3D/paddle3d/ops/centerpoint_postprocess/postprocess.cu".
error: command '/usr/local/cuda-11.6/bin/nvcc' failed with exit code 1

Since I dont care about centerpoint, I commented out the operations in paddle3d/ops/__init__.py:
    'centerpoint_postprocess': {
        # 'sources': [
        #     'centerpoint_postprocess/iou3d_nms_kernel.cu',
        #     'centerpoint_postprocess/postprocess.cc',
        #     'centerpoint_postprocess/postprocess.cu'
        # ],
        # 'version':
        # '0.1.0'
    },

After I did this, I was able to run setup.py successfully. However, I still cannot run infer.py
(paddle_37) gabriel@gabriel-Z790-AORUS-ELITE-AX:~/Paddle3D$ python3.7 deploy/iassd/python/infer.py --model_file outputs/iassd_kitti/export/iassd.pdmodel --params_file outputs/iassd_kitti/export/iassd.pdiparams --lidar_file datasets/KITTI/testing/velodyne/000000.bin --gpu_id 0 --run_mode trt_fp32
W0903 11:32:00.621784 71289 custom_operator.cc:723] Operator (nms_normal_gpu) has been registered.
W0903 11:32:00.621804 71289 custom_operator.cc:723] Operator (nms_gpu) has been registered.
W0903 11:32:00.621806 71289 custom_operator.cc:723] Operator (boxes_overlap_bev_gpu) has been registered.
W0903 11:32:00.621807 71289 custom_operator.cc:723] Operator (boxes_iou_bev_gpu) has been registered.
W0903 11:32:00.621809 71289 custom_operator.cc:723] Operator (boxes_iou_bev_cpu) has been registered.
W0903 11:32:00.626067 71289 custom_operator.cc:723] Operator (assign_score_withk) has been registered.
W0903 11:32:00.626078 71289 custom_operator.cc:723] Operator (nms_normal_gpu) has been registered.
W0903 11:32:00.626088 71289 custom_operator.cc:723] Operator (nms_gpu) has been registered.
W0903 11:32:00.626089 71289 custom_operator.cc:723] Operator (boxes_overlap_bev_gpu) has been registered.
W0903 11:32:00.626091 71289 custom_operator.cc:723] Operator (boxes_iou_bev_gpu) has been registered.
W0903 11:32:00.626092 71289 custom_operator.cc:723] Operator (boxes_iou_bev_cpu) has been registered.
W0903 11:32:00.631099 71289 custom_operator.cc:723] Operator (boxes_overlap_bev_gpu) has been registered.
W0903 11:32:00.631114 71289 custom_operator.cc:723] Operator (nms_gpu) has been registered.
W0903 11:32:00.631116 71289 custom_operator.cc:723] Operator (ball_query_stack) has been registered.
W0903 11:32:00.631117 71289 custom_operator.cc:723] Operator (boxes_iou_bev_cpu) has been registered.
W0903 11:32:00.631119 71289 custom_operator.cc:723] Operator (boxes_iou_bev_gpu) has been registered.
W0903 11:32:00.631119 71289 custom_operator.cc:723] Operator (nms_normal_gpu) has been registered.
W0903 11:32:00.631120 71289 custom_operator.cc:723] Operator (assign_score_withk) has been registered.
W0903 11:32:00.631122 71289 custom_operator.cc:723] Operator (gather_operation) has been registered.
W0903 11:32:00.631124 71289 custom_operator.cc:723] Operator (ball_query_batch) has been registered.
W0903 11:32:00.631124 71289 custom_operator.cc:723] Operator (grouping_operation_batch) has been registered.
W0903 11:32:00.631125 71289 custom_operator.cc:723] Operator (voxel_query_wrapper) has been registered.
W0903 11:32:00.631126 71289 custom_operator.cc:723] Operator (grouping_operation_stack) has been registered.
W0903 11:32:00.631129 71289 custom_operator.cc:723] Operator (farthest_point_sample) has been registered.
W0903 11:32:00.636233 71289 custom_operator.cc:723] Operator (ms_deform_attn) has been registered.
W0903 11:32:00.636245 71289 custom_operator.cc:723] Operator (boxes_overlap_bev_gpu) has been registered.
W0903 11:32:00.636246 71289 custom_operator.cc:723] Operator (nms_gpu) has been registered.
W0903 11:32:00.636250 71289 custom_operator.cc:723] Operator (ball_query_stack) has been registered.
W0903 11:32:00.636250 71289 custom_operator.cc:723] Operator (boxes_iou_bev_cpu) has been registered.
W0903 11:32:00.636252 71289 custom_operator.cc:723] Operator (boxes_iou_bev_gpu) has been registered.
W0903 11:32:00.636255 71289 custom_operator.cc:723] Operator (nms_normal_gpu) has been registered.
W0903 11:32:00.636255 71289 custom_operator.cc:723] Operator (assign_score_withk) has been registered.
W0903 11:32:00.636257 71289 custom_operator.cc:723] Operator (gather_operation) has been registered.
W0903 11:32:00.636258 71289 custom_operator.cc:723] Operator (ball_query_batch) has been registered.
W0903 11:32:00.636260 71289 custom_operator.cc:723] Operator (grouping_operation_batch) has been registered.
W0903 11:32:00.636261 71289 custom_operator.cc:723] Operator (voxel_query_wrapper) has been registered.
W0903 11:32:00.636263 71289 custom_operator.cc:723] Operator (grouping_operation_stack) has been registered.
W0903 11:32:00.636265 71289 custom_operator.cc:723] Operator (farthest_point_sample) has been registered.
W0903 11:32:00.639941 71289 custom_operator.cc:723] Operator (bev_pool_v2) has been registered.
W0903 11:32:00.639951 71289 custom_operator.cc:723] Operator (ms_deform_attn) has been registered.
W0903 11:32:00.639976 71289 custom_operator.cc:723] Operator (boxes_overlap_bev_gpu) has been registered.
W0903 11:32:00.639977 71289 custom_operator.cc:723] Operator (nms_gpu) has been registered.
W0903 11:32:00.639978 71289 custom_operator.cc:723] Operator (ball_query_stack) has been registered.
W0903 11:32:00.639981 71289 custom_operator.cc:723] Operator (boxes_iou_bev_cpu) has been registered.
W0903 11:32:00.639982 71289 custom_operator.cc:723] Operator (boxes_iou_bev_gpu) has been registered.
W0903 11:32:00.639984 71289 custom_operator.cc:723] Operator (nms_normal_gpu) has been registered.
W0903 11:32:00.639986 71289 custom_operator.cc:723] Operator (assign_score_withk) has been registered.
W0903 11:32:00.639987 71289 custom_operator.cc:723] Operator (gather_operation) has been registered.
W0903 11:32:00.639989 71289 custom_operator.cc:723] Operator (ball_query_batch) has been registered.
W0903 11:32:00.639990 71289 custom_operator.cc:723] Operator (grouping_operation_batch) has been registered.
W0903 11:32:00.639992 71289 custom_operator.cc:723] Operator (voxel_query_wrapper) has been registered.
W0903 11:32:00.639993 71289 custom_operator.cc:723] Operator (grouping_operation_stack) has been registered.
W0903 11:32:00.639995 71289 custom_operator.cc:723] Operator (farthest_point_sample) has been registered.
W0903 11:32:00.645074 71289 custom_operator.cc:723] Operator (bev_pool_v2) has been registered.
W0903 11:32:00.645089 71289 custom_operator.cc:723] Operator (ms_deform_attn) has been registered.
W0903 11:32:00.645092 71289 custom_operator.cc:723] Operator (bev_pool_v2_bkwd) has been registered.
W0903 11:32:00.645093 71289 custom_operator.cc:723] Operator (boxes_overlap_bev_gpu) has been registered.
W0903 11:32:00.645095 71289 custom_operator.cc:723] Operator (nms_gpu) has been registered.
W0903 11:32:00.645097 71289 custom_operator.cc:723] Operator (ball_query_stack) has been registered.
W0903 11:32:00.645098 71289 custom_operator.cc:723] Operator (boxes_iou_bev_cpu) has been registered.
W0903 11:32:00.645100 71289 custom_operator.cc:723] Operator (boxes_iou_bev_gpu) has been registered.
W0903 11:32:00.645102 71289 custom_operator.cc:723] Operator (nms_normal_gpu) has been registered.
W0903 11:32:00.645103 71289 custom_operator.cc:723] Operator (assign_score_withk) has been registered.
W0903 11:32:00.645105 71289 custom_operator.cc:723] Operator (gather_operation) has been registered.
W0903 11:32:00.645107 71289 custom_operator.cc:723] Operator (ball_query_batch) has been registered.
W0903 11:32:00.645108 71289 custom_operator.cc:723] Operator (grouping_operation_batch) has been registered.
W0903 11:32:00.645109 71289 custom_operator.cc:723] Operator (voxel_query_wrapper) has been registered.
W0903 11:32:00.645112 71289 custom_operator.cc:723] Operator (grouping_operation_stack) has been registered.
W0903 11:32:00.645112 71289 custom_operator.cc:723] Operator (farthest_point_sample) has been registered.
W0903 11:32:00.652513 71289 custom_operator.cc:723] Operator (hard_voxelize) has been registered.
W0903 11:32:00.652525 71289 custom_operator.cc:723] Operator (bev_pool_v2) has been registered.
W0903 11:32:00.652527 71289 custom_operator.cc:723] Operator (ms_deform_attn) has been registered.
W0903 11:32:00.652529 71289 custom_operator.cc:723] Operator (bev_pool_v2_bkwd) has been registered.
W0903 11:32:00.652530 71289 custom_operator.cc:723] Operator (boxes_overlap_bev_gpu) has been registered.
W0903 11:32:00.652532 71289 custom_operator.cc:723] Operator (nms_gpu) has been registered.
W0903 11:32:00.652534 71289 custom_operator.cc:723] Operator (ball_query_stack) has been registered.
W0903 11:32:00.652535 71289 custom_operator.cc:723] Operator (boxes_iou_bev_cpu) has been registered.
W0903 11:32:00.652536 71289 custom_operator.cc:723] Operator (boxes_iou_bev_gpu) has been registered.
W0903 11:32:00.652539 71289 custom_operator.cc:723] Operator (nms_normal_gpu) has been registered.
W0903 11:32:00.652540 71289 custom_operator.cc:723] Operator (assign_score_withk) has been registered.
W0903 11:32:00.652541 71289 custom_operator.cc:723] Operator (gather_operation) has been registered.
W0903 11:32:00.652544 71289 custom_operator.cc:723] Operator (ball_query_batch) has been registered.
W0903 11:32:00.652544 71289 custom_operator.cc:723] Operator (grouping_operation_batch) has been registered.
W0903 11:32:00.652546 71289 custom_operator.cc:723] Operator (voxel_query_wrapper) has been registered.
W0903 11:32:00.652547 71289 custom_operator.cc:723] Operator (grouping_operation_stack) has been registered.
W0903 11:32:00.652549 71289 custom_operator.cc:723] Operator (farthest_point_sample) has been registered.
/home/gabriel/Paddle3D/paddle3d/transforms/transform.py:461: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
  interp=Image.BILINEAR):
/home/gabriel/Paddle3D/paddle3d/transforms/transform.py:1502: DeprecationWarning: NEAREST is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.NEAREST or Dither.NONE instead.
  'nearest': Image.NEAREST,
/home/gabriel/Paddle3D/paddle3d/transforms/transform.py:1503: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
  'bilinear': Image.BILINEAR,
/home/gabriel/Paddle3D/paddle3d/transforms/transform.py:1504: DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BICUBIC instead.
  'bicubic': Image.BICUBIC,
/home/gabriel/Paddle3D/paddle3d/transforms/transform.py:1505: DeprecationWarning: BOX is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BOX instead.
  'box': Image.BOX,
/home/gabriel/Paddle3D/paddle3d/transforms/transform.py:1506: DeprecationWarning: LANCZOS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.
  'lanczos': Image.LANCZOS,
/home/gabriel/Paddle3D/paddle3d/transforms/transform.py:1507: DeprecationWarning: HAMMING is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.HAMMING instead.
  'hamming': Image.HAMMING
ortools not installed, install it by "pip install ortools==9.1.9490" if you run BEVLaneDet model
Traceback (most recent call last):
  File "deploy/iassd/python/infer.py", line 23, in <module>
    from paddle3d.ops.pointnet2_ops import (ball_query, farthest_point_sample,
ImportError: cannot import name 'ball_query' from 'pointnet2_ops' (/home/gabriel/miniconda3/envs/paddle_37/lib/python3.7/site-packages/pointnet2_ops-0.0.0-py3.7-linux-x86_64.egg/pointnet2_ops.py)

Even if i omit --run_mode trt_fp32, it still fails with the same error message.  New signature 36348e91a4cc0bf4ae6ca42e5dea053f has been saved into /home/gabriel/.cache/paddle_extensions/pointnet2_ops/version.txt.
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
W0903 11:36:30.812824 74126 custom_operator.cc:723] Operator (nms_normal_gpu) has been registered.
W0903 11:36:30.812853 74126 custom_operator.cc:723] Operator (nms_gpu) has been registered.
W0903 11:36:30.812855 74126 custom_operator.cc:723] Operator (boxes_overlap_bev_gpu) has been registered.
W0903 11:36:30.812857 74126 custom_operator.cc:723] Operator (boxes_iou_bev_gpu) has been registered.
W0903 11:36:30.812858 74126 custom_operator.cc:723] Operator (boxes_iou_bev_cpu) has been registered.
2024-09-03 11:36:30,819 -     INFO - pointnet2_ops builded success!
Traceback (most recent call last):
  File "deploy/iassd/python/infer.py", line 23, in <module>
    from paddle3d.ops.pointnet2_ops import (ball_query, farthest_point_sample,
  File "/home/gabriel/Paddle3D/paddle3d/ops/__init__.py", line 189, in __getattr__
    attr, self.modulename, module.__file__))
ImportError: cannot import name 'ball_query' from 'pointnet2_ops' (/home/gabriel/.cache/paddle_extensions/pointnet2_ops/pointnet2_ops_140388231238848.py)

What can be causing this issue?

I have also encountered the same problem. If you solve it, can you tell me how to solve it please?


Update DataSource: Credentials?

I'm building a CI/CD pipeline to deploy reports to different environments. The data source settings will be different for each environment so the release pipeline will update as it deploys the dataset. I see the action "Update DataSource connection" which will let me change the server and database, but I don't see a way to set credentials to access the data source. How is that supposed to be done?

I think you will then have to work with the parameters. This will give you an option to replace them during the deployment


Use SQLitePCLRaw.bundle_e_sqlite3 instead of SQLitePCLRaw.bundle_winsqlite3

So that the SQLite tests pass also on Linux and macOS
Otherwise it fails with a System.DllNotFoundException:

Unable to load shared library 'winsqlite3' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(libwinsqlite3, 1): image not found

Using bundle_winsqlite3 causes problems on Windows Server 2019 also. I just spent a couple of hours debugging the following exception in my production environment:

Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'near "ON": syntax error'.
at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements(Stopwatch timer)+MoveNext()
at Microsoft.Data.Sqlite.SqliteCommand.Prepare()
at EFCore.BulkExtensions.SQLAdapters.SQLite.SqLiteOperationsAdapter.GetSqliteCommand[T](DbContext context, Type type, IList`1 entities, TableInfo tableInfo, SqliteConnection connection, SqliteTransaction transaction)

It turns out Windows Server 2019 has an older version (3.23) of winsqlite3.dll than Windows 10 (3.29). Not sure if that is the only reason though. Using bundle_e_sqlite3 instead fixed the problem.


bug fix : Index Error, reported at https://github.com/deepmind/pysc2/issues/61

This is buf fix reported at : https://github.com/deepmind/pysc2/issues/61
np.clip is inclusive, therefore argument plane bigger than self.scale can cause IndexError. To avoid this, simply clip (0, self.scale - 2) not (0, self.scale - 1)

already fixed. b594ad7e9437ff2a7d53b2259e46042a90cf1098


Return with a non-zero exit code when a trytls test fails

This pull request modifies showrunner.runner to exit with a non-zero exit code when there is at least one FAIL or ERROR result. This feature is useful e.g. when using the trytls tool as a part of a Continuous Integration setup.
The specific exit code in such situations is 3, to distinguish it from some other common situations: The CPython interpreter exits with 1 when an unhandled exception occurs, and with 2 when there is a problem with a command line parameter (see Py_Main which CPython's main uses in versions 2.7 and [3.5] (https://github.com/python/cpython/blob/3.5/Programs/python.c#L65)). The argparse module also uses the code 2 for the same purpose.

👍 This will make it easier to incorporate TryTLS into release acceptance testing, etc.

Most awesomeness (with docker-compose):
trytls-centos6-fetchurl_1  | PASS badssl(False, 'expired')
trytls-centos6-fetchurl_1  | PASS badssl(False, 'wrong.host')
trytls-centos6-fetchurl_1  | PASS badssl(False, 'self-signed')
trytls-centos6-fetchurl_1  | FAIL badssl(True, 'sha256')
trytls-centos6-fetchurl_1  | FAIL badssl(True, '1000-sans')
trytls-centos6-fetchurl_1  | FAIL badssl(True, '10000-sans')
trytls-centos6-fetchurl_1  | PASS badssl(False, 'incomplete-chain')
trytls-centos6-fetchurl_1  | PASS badssl(False, 'pinning-test')
trytls-centos6-fetchurl_1  | PASS badssl(False, 'superfish')
trytls-centos6-fetchurl_1  | PASS badssl(False, 'edellroot')
trytls-centos6-fetchurl_1  | PASS badssl(False, 'dsdtestprovider')
trytls-centos6-fetchurl_1  | FAIL local(True, 'localhost')
trytls-centos6-fetchurl_1  | PASS local(False, 'nothing')
tests_trytls-centos6-fetchurl_1 exited with code 3
trytls-centos7-fetchurl_1  | PASS badssl(False, 'expired')
trytls-centos7-fetchurl_1  | PASS badssl(False, 'wrong.host')
trytls-centos7-fetchurl_1  | PASS badssl(False, 'self-signed')
trytls-centos7-fetchurl_1  | FAIL badssl(True, 'sha256')
trytls-centos7-fetchurl_1  | FAIL badssl(True, '1000-sans')
trytls-centos7-fetchurl_1  | FAIL badssl(True, '10000-sans')
trytls-centos7-fetchurl_1  | PASS badssl(False, 'incomplete-chain')
trytls-centos7-fetchurl_1  | PASS badssl(False, 'pinning-test')
trytls-centos7-fetchurl_1  | PASS badssl(False, 'superfish')
trytls-centos7-fetchurl_1  | PASS badssl(False, 'edellroot')
trytls-centos7-fetchurl_1  | PASS badssl(False, 'dsdtestprovider')
trytls-centos7-fetchurl_1  | FAIL local(True, 'localhost')
trytls-centos7-fetchurl_1  | PASS local(False, 'nothing')
tests_trytls-centos7-fetchurl_1 exited with code 3


Timer can't count down from 24 or more hours

It seems like the there is an automatic conversion from hours into days so >=24h will result in the hours going back to zero and a day getting incremented (which won't affect the countdown as it only uses hours, minutes, and seconds, not days).
This is probably because I only request hours, minutes, and seconds from the TimeSpan difference between countdown start and the countdown target.

Fixed with 16c52b6.


⚠ Spryr has degraded performance

In 8bb8e3f, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 3689 ms

Resolved: Spryr performance has improved in 2f05230 after 7 minutes.


AutoComplete Will Add Extra Brace At The End Of The Line

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

VS Code Version: 1.86.2
OS Version: Windows_NT x64 10.0.22621

Steps to Reproduce:

This Bug Appears At 1.86.0 For The First Time, Was Fixed In 1.86.1, Appears Again In 1.86.2.

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

https://github.com/microsoft/vscode/issues/204222

https://github.com/microsoft/vscode/issues/204037

版本: 1.86.2 (user setup)
提交: 903b1e9d8990623e3d7da1df3d33db3e42d80eda
日期: 2024-02-13T19:40:56.878Z
Electron: 27.2.3
ElectronBuildId: 26908389
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22621

版本: 1.86.2
提交: 903b1e9d8990623e3d7da1df3d33db3e42d80eda
日期: 2024-02-13T19:42:12.210Z
Electron: 27.2.3
ElectronBuildId: 26908389
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 23.3.0

This issue lacks

mentioning of the programming language and extension you are using
a copy paste friendly sample

This issue lacks

mentioning of the programming language and extension you are using
a copy paste friendly sample

programming language<EMAIL_ADDRESS>extension: have all extension disabled
sample: need some code?

This issue lacks

a copy paste friendly sample

This issue lacks

mentioning of the programming language and extension you are using
a copy paste friendly sample

emm, can you see the gif?
https://github.com/microsoft/vscode/issues/205944#issuecomment-1958915553

The gif doesn't help me

emm, sample means this?

It looks like the issue is caused by one of your installed extensions. All extensions execute together on a single nodejs process, so in order to narrow down the possible problematic extension, please try the following:

run F1 > Help: Start Extension Bisect
(this will restart VS Code with half of your extensions disabled)
try to do the steps which reproduce the problem
if the problem reproduces, click "This is bad" (this narrows down the problematic extension to the half which was enabled)
if the problem does not reproduce, click "Good now" (this narrows down the problematic extension to the half which was disabled)
these steps will repeat until the problematic extension is found

initial
step
final

https://github.com/microsoft/vscode/issues/204222
https://github.com/microsoft/vscode/issues/204037
There are two closed issues, having same problem. Does it work?

There is no this bug in 1.87.0-insider

the same problem

this bug was fixed at two weeks ago, insider-released only.


Move image to a real location

The images are using my personal docker account right now, feels like that should be something more general. @slack any good places we could put the images? I'm happy to create an SMI docker hub account.

Yes please let me know about image location, so that the istio adapter images can also be moved there.

+1, I hit this and had to redirect to my own personal docker account.

Closing this, as we use the deislabs docker hub now.


Youtube Error 400 since a few weeks ago...

Checklist

[x] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2020.11.12
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log

debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-f', u'best', u'https://www.youtube.com/watch?v=LPzKGbYVwZo']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.11.12
[debug] Python version 2.7.16 (CPython) - Linux-5.4.72-v7l+-armv7l-with-debian-10.6
[debug] exe versions: ffmpeg 4.1.6-1, ffprobe 4.1.6-1
[debug] Proxy map: {}
[youtube] LPzKGbYVwZo: Downloading webpage
[debug] Invoking downloader on u'https://r2---sn-bpb-jb3e.googlevideo.com/videoplayback?expire=1605565730&ei=waiyX_n4OpPgvwTCuavwCw&ip=<IP_ADDRESS>&id=o-AChbuIAKkoLsQlSBoXAnBGu8Gigb9UZijNeAslUS1Jwp&itag=22&source=youtube&requiressl=yes&mh=Yx&mm=31%2C29&mn=sn-bpb-jb3e%2Csn-poqvn5u-jb3k&ms=au%2Crdu&mv=m&mvi=2&pl=20&initcwndbps=596250&vprv=1&mime=video%2Fmp4&ns=I7ZbCEruXSdd2eoJrEpHVI0F&ratebypass=yes&dur=6110.005&lmt=1605542243995782&mt=1605544014&fvip=7&beids=9466586&c=WEB&txp=6416222&n=uyo9R5NgXMAfBe0it&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cratebypass%2Cdur%2Clmt&sig=AOq0QJ8wRQIgFJbOHTEefgI5pfPC3NQXtikwYKlhqRMwEFELnLWDGLgCIQCskyWL5S3SWh7iNwprheq8IiYne5mwUNPNAKTuS5QTag%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgQnRGb6FIgwU9LiojY7_ORjuy6fimrTApf-RtUAH42oMCIQDPldDJIBcUyAtCRCt3hjXel1Ere0x0oNQDgM-PgcdpGw%3D%3D'
ERROR: unable to download video data: HTTP Error 400: Bad Request
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1926, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1865, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 366, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 349, in real_download
    establish_connection()
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 114, in establish_connection
    raise err
HTTPError: HTTP Error 400: Bad Request

Description

So its been happening these last few weeks. i cant download any youtube videos. weird. i have tried using Python 3 and same results. tried removing the cache dir, same .. i even tried downloading and using youtube-dl in my Mac which usually works too but it doesnt.
Sometimes, it does download just for a few seconds or so and then it shows the error like above. weird. although i tried using third party app that use youtube-dl too i presume and it works fine. so i think its a bug or something... Twitch vods works fine tho, just youtube.. even youtube livestreams are fine too.. just videos as far as im aware.
If you need any more information let me know . i'll be sure to help!!  Thanks !!

Have the same issue on version 2<IP_ADDRESS>, so it works with --cookies option.


[WIP] Reduce severity of #4714 (extend sliding window for completion items to 2 minutes)

#4714 is quite a bad bug where descriptions in VS completions timeout after 10 seconds. Mea culpa
I'm not quite sure of the right fix for this - @majocha decribes some potential fixes in the bug - I suggest we at least increase the expiration time to 2 minutes as a starting point.

I'm looking at a better fix for this

OK, I changed this to just save the data for at least as long as the completion session is active
@majocha Please take a look and check carefully, and try it if possible too

Thanks @dsyme! Everything looks good. Build, tested - works fine.

OK, then this is ready


[HOTFIX] Only update stat and clear contents when old stat is newer than current stat.

This is the same patch as #12175, but targeted against release branch.
:fire: Potentially fixes #11826 :fire:
There is a long running issue with Brackets where the async stat implementation for fetching the timestamp (stat._mtime) can cause rare :racehorse: race conditions :racehorse:. See this issue: https://github.com/adobe/brackets/issues/295
This is very rare and usually doesn't matter much. But it does matter when FileSystem.js does this:
      // Update stat and clear contents, but only if out of date
      if (!(stat && oldStat && stat.mtime.getTime() === oldStat.mtime.getTime())) {
         entry._clearCachedData();
         entry._stat = stat;
         this._fireChangeEvent(entry);
      }

Due to the race condition stat.mtime is sometimes older than oldStat.mtime, causing a change event to happen and cache get cleared, nullifying the history ->  causing #11826.
Q & A
Q: Brackets has been like that for a long time. Why did this start occurring in 1.5.?
A: I only got speculation, but as it is a race condition, I guess increased code base plays an unfortunate part here: some additional file system operations or anything else made the race condition much more reoccurring.
Q: Does this really fix #11826
A: I... don't know for sure. There's no steps to reproduce #11826 with even 1% success rate
Q: Why do you think it fixes #11826
A: It fixes the issue with my corrupt-brackets-history extension: I tried to save 10000 times in a row and history was kept intact. Without the fix the issue usually occurs before the 50th save.
Q: Does this have other side-effects
A: Not sure. Most likely not, but I am a bit worried that it might have unwanted effects on some external changes. Obviously it should be better to fix the  race condition itself, but this is just a hotfix.
Q: Why is the history getting reseted
A: The change event getting erroneously called eventually leads to this chain:
FileSyncManager#reloadChangedDocs
-> FileSyncManager#reloadDoc
-> Document#refreshText
-> Editor#resetText

Editor#resetText which calls:
 // Make sure we can't undo back to the empty state before setValue(), and mark
// the document clean.
this._codeMirror.clearHistory();
this._codeMirror.markClean();

@petetnt @abose What's the update on this fix? I know we don't have a lot of feedback on benefits and problems of merging it, but all the feedback we do have is positive. Is this going in for 1.7? If so, we should at least assign it a milestone.

@lkcampbell FWIW I have been using it since I figured it out and haven't ran into the undo-issue myself nor into any bugs caused by it. Like you said, the other feedback we have gotten is rather minimal but at least 100% positive.

This looks good to me. @peterflynn Can you think of any problem that this very simple change could cause?
I am curious as to why this PR is targetting the release branch because I don't think it's active. This change should be made in master branch, right?

We were thinking of triggering a minor release by updating the 1.6 release builds with the patch as this is a critical issue. This PR was initially targetted to master. But as it is already time for the next release, maybe this will go to 1.7. Discussions still going on as triggering a release process is a bit expensive even for a minor release.

Closing this as it landed to master on #12175

We will be doing a minor build refresh of 1.6 with this fix soon.
Merging.

@abose Would it be possible to include #12145 in the refreshed release? It has prompted 10+ new issues after the launch of 1.6.

We had a discussion about this; But putting in too many bug fixes in a build refresh will increase the testing overhead as it is a core change.
I am up for taking  #12145 in the refresh.
Tagging @swmitra for opinion.

@abose @petetnt We should include #12145 for the refresh.


[stable/rabbitmq] Changed RabbitMQ TLS secret type to kubernetes.io/tls.

Changed RabbitMQ TLS secret type to kubernetes.io/tls. Can use cert-manager created secrets with this chart now.
Signed-off-by: Charalampos Kaidos<EMAIL_ADDRESS>Is this a new chart
No.
What this PR does / why we need it:
It changes the type of the secret holding the TLS certificates from Opaque to kubernetes.io/tls. This allows to use externally created certificates (e.g. from cert-manager) using the Kubernetes secret type defined for this purpose.
Which issue this PR fixes
None (afaik)
Special notes for your reviewer:
The actual filenames the pod looks for have not been changed. The keys of the TLS secret are mounted to the existing paths.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @sameersbn

@miguelaeh Rebased and fixed chart version. Tests pass now.

/ok-to-test
/lgtm


Define Schutzbot testing matrix

As of today, we're testing osbuild-composer in this way with Schutzbot Jenkins in 3 jobs:

fedora31

dnf-json
image (WIP)
osbuild-tests
rcm
weldr

fedora32

dnf-json
image (WIP)
osbuild-tests
rcm
weldr

rhel82

dnf-json
osbuild-tests
rcm
weldr

The image tests will take a long amount of time to complete since each one takes 3-5 minutes. The AWS boot tests could take 15-20 as we wait for AWS to fully import the image. :sob:
It probably makes sense to cut the jobs in half so we run all non-image tests in one job and all the image tests in the other one. It may make sense to define a matrix like this:

Distributions: Fedora 31, Fedora 32, RHEL 8.3 (nightly compose)
Test jobs:

dnf-json, osbuild-tests, rcm, weldr
image (including AWS/Azure/GCP boot)

Does this make sense? @teg

image (including AWS/Azure/GCP boot)

FYI on the lorax-composer side of things each of these is a separate job.
IMO the separation makes sense. If it's not much overhead I would also prefer to have each of these tests in a separate job which will report its own status on the pull request and we'll immediately know which job failed instead of going through the logs.

The only real limitations we have here are:

Each test runs on a single VM at a time, so this creates additional expense
Each test appears as a GitHub check, so the list could get a bit long in the interface

Should our test matrix look something like:

dnf-json, osbuild-tests, rcm, weldr
image tests
AWS boot
Azure boot
GCP boot

🤔

I think the basic matrix should be one run per distro / architecture combo. We could split it to further too, and then I think what you described makes sense. @ondrejbudai do you think we could reasonabley run the image tests in parallel, or at least run the uploading part in parallel? That way we might get away with not running each boot test in a different VM.

@teg So run three jobs, one per distro, with all of the tests in it? I thought we agreed that it would take much too long for that.

No objections at all to splitting it up further, just wanted to point out that I think distro/arch are the most important, as those I see no way to optimize. The setup you describe makes sense.

Okay, I'll see if I can split the jobs into per-distro first, and then split it further beyond that.

I agree with @teg, one job for one distro sounds good. If we need to split the jobs to lower the running time, I'm completely fine with that. Let's talk about how we can speed up the builds:
Running jobs in parallel
This is somewhat tricky currently because we cannot run more instances of osbuild in parallel because of some issues in the object store. I think @dvdhrm is currently doing some work in that field, so maybe he can look into it?
I tried a workaround ( https://github.com/ondrejbudai/osbuild-composer/commit/78ad614d6eb72d3f757c90e9dc39524dbe911c80 ), that allows the tests to run in parallel while preventing to run multiple osbuild instances by a mutex. This could really help with the AWS uploads that can take from 10 to 20 minutes.
Caching the build pipeline
The build pipelines are the same for all the image types, therefore caching them would surely help. However, it's needed to pass the buildpipeline's tree ID to osbuild to enable the caching and getting the tree ID is currently not particularly easy. @gicmo can help us in this field.
Caching the rpms
This sounds like it can help, but can it really? I think @major said that he gets very high download speeds with his awesome nearest mirror sed-powered selector, so this could have potentially a very little effect.


Planner Tasks Error 403: Insufficient Permissions

Describe the bug
When attempting to get all tasks assigned to a user in Planner, I receive an error "403 Either the signed-in user does not have sufficient privileges, or you need to consent to one of the permissions on the Modify permissions tab"
To Reproduce
Steps to reproduce the behavior:

Sign into Global admin account within Graph
Run query GET v1.0 https://graph.microsoft.com/v1.0/users/{coworker-mail}/planner/tasks

Expected behavior
List all tasks that are assigned to user list in query. Currently only works when querying my own assigned tasks in Planner.
Screenshots

Desktop (please complete the following information):

OS: Windows 11 Business [23H2, v22631.3155]
Browser: Microsoft Edge
Version 122.0.2365.59

Additional context
All permissions have been granted within the Enterprise applications registration in the Azure Portal.

Hi @crknox6,
This is a problem with the Planner API.
Please post this on the Graph Q&A forum where the appropriate team will be able to provide further assistance.


ImageEmbed

When setting imageEmbed to false, the image is not showing at is original notation.
I use a IMG tag in my resources. Maybey you can make a option to convert the img tag or only urls and enable/disable the function complete.

Now you can set an array of extensions ( linkExclude ) to exclude from converting into links.


{CI} Use OIDC to trigger extension release pipeline

If we continue to use ADO PAT, we have to replace the PAT token every seven days.
So I must migrate to OIDC to login to Azure and trigger onebranch pipeline.

This checklist is used to make sure that common guidelines for a pull request are followed.
Related command

General Guidelines

[ ] Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
[ ] Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
[ ] My extension version conforms to the Extension version schema

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

CI

I'm surprised that the official Azure/pipelines does not comply with security policies now.


Looking for contributors (are you interested?)

Interested in helping out here? Have a fork? Just ping me and I can get you collaborator status and maintainer on NPM.

I can help out a little bit. Looking to get this working with Express 4 :)

:+1:


[Bug]: Some console error

On start up I see some console error:
...\stable-diffusion-webui\modules\gradio_extensons.py:25: GradioUnusedKwargWarning: You have unused kwarg parameters in Button, please remove them: {'full_width': True}
  res = original_IOComponent_init(self, *args, **kwargs)

If add-on will turn off error will disappear either.
version: v1.6.0
python: 3.10.11
torch: 2.0.1+cu118
xformers: 0.0.20
gradio: 3.41.2
checkpoint: [171c237b86]

That is a harmless warning, not an error. Thanks for noting it though :)

harmless yes but when we have to trial and error to figure out which extention is causing it...  pretty annoying..
FYI not ranting at you, same problem different errors with other extentions too,,, mkaes it dificult to know whne there is something not harmless going on or going wrong. took 20 minutes to fine the culprits


get/set_all_accounts_rooted_at is misleading

set_all_accounts_rooted_at_exn is the primary way that syncable_ledger mutates the underlying account database. It occurs in a bunch of different places, so search the whole codebase for it. The name and behavior are a little confusing. It doesn't set all of the accounts that are children of that node, just as many as are in the list. Addressing ranges of nodes by lowest common ancestor and a count is a bit roundabout and inflexible - you can't set accounts starting at any odd offset in the account array, for example.
Instead it should be set_accounts_starting_with_exn : t -> addr -> account list -> unit, where the code does something like List.fold accounts addr (fun account addr -> set t addr account; next addr) (you can implement it more efficiently when accounts are stored in an array). Instead of naming the lowest common ancestor, you just name the account you want to start with. This is both more flexible and more obvious.
Likewise, get_all_accounts_rooted_at should become get_accounts_starting_with : t -> addr -> max:int -> account list where it returns up to max accounts (short list if you hit the end of the accounts).

This was done, thanks @wu-s-john


[ONNX] Flatten input test data to support nested inputs

Original codes are from @impactaky -san. Thank you!
See also https://github.com/pfnet/pytorch-pfn-extras/pull/822

/test


@eessex => [Bugfix] Missing sidebar in

Updates https://github.com/artsy/publishing/issues/91 along with some light cleanup.

@eessex / @kanaabe - Q:

Related article sidebar not showing (we should show related articles here but not the panel display units)

What are "panel display units"?

@damassi display units are our new ad units, they come in two layouts -- panel (sidebar) and canvas (full bleed below an article)

Is a very big diff on the lock file, is this all from updating reaction?  If not maybe is safer to copy the existing master and only remove/add reaction.

This looks good to go pending question about related articles canvas.

Sorry it looks like my last PR caused all the conflicts! This looks good to me after we remove that relatedArticlesForCanvas. Thanks for the cleanup 😄

@eessex - Lockfile updates were from reaction.
(Fixed conflicts, rebased and restarted due to weird test failures.)

Hm not sure why it's getting stuck in CI. Tried rebuilding and yarn registry status looks ok.


Improve the Notifications design

This notification from Atom seems old fashioned. How we can improve the design of the notification or it will be improved in future updates?

Thanks for reaching out!
Because we treat our issues list as the Atom team's backlog, we close issues that are questions since they don't represent a task needing to be completed. For most questions about Atom there are a lot of options, check out:

The Atom Flight Manual
The Atom FAQ on Discuss
Discuss, the official Atom and Electron message board
Join the Atom Slack team

On Discuss and in the Atom Slack team, there are a bunch of helpful community members that should be willing to point you in the right direction.


Command line option to always rerun with updated code or parameters

I often run into situations in which rule params or code have been updated, but these updates slip through unnoticed, causing errors downstream. I am aware that I can rerun rules with updated code or parameters, but as that has to be done manually, it does not necessarily help in these situations.
A command line option that always reruns rules with updated code or parameters would solve this problem. For my own work, I don't see a reason why I would ever not use this command line option.
snakemake --rerun-updated-code --rerun-updated-params

This is different from forcing rerun using the existing --list-params-changes/--list-code-changes. Essentially, it would put code and parameter value changes on the same level as other existing rerun triggers, like outdated output files.

Something similar has been implemented in https://github.com/snakemake/snakemake/pull/1663, therefore I am closing this feature request.


Unable to cargo build-bpf with 1.18.7 version

Problem
Hi I've tried to build hello world program but faced issue:
cargo-build-sbf --version

solana-cargo-build-sbf 1.18.7
platform-tools v1.39
rustc 1.72.0

rustc --version
rustc 1.77.0 (aedd173a2 2024-03-17)

and got this error after running cargo build-bpf:
package `bumpalo v3.15.4` cannot be built because it requires rustc 1.73.0 or newer, while the currently active rustc version is 1.72.0-dev
Either upgrade to rustc 1.73.0 or newer, or use
cargo update -p<EMAIL_ADDRESS>--precise ver
where `ver` is the latest version of `bumpalo` supporting rustc 1.72.0-dev

How to resolve this issue?

can u update  rust using rustup update

Yes i did and nothing change. I still get errors.

I had solana-sdk as dependency instead of dev-dependency by accident.


Chooser upload form validation failures return raw JSON

Issue Summary
Found while testing #9018, although this seems to apply to both documents and images.
Steps to Reproduce

Set up a new project with a homepage model containing a StreamField containing a DocumentChooserBlock and ImageChooserBlock:

for example this code
# home/models.py
from django.db import models

from wagtail.admin.panels import FieldPanel
from wagtail.blocks import CharBlock, StreamBlock, StructBlock
from wagtail.documents.blocks import DocumentChooserBlock
from wagtail.images.blocks import ImageChooserBlock
from wagtail.fields import StreamField
from wagtail.models import Page

class ResourceBlock(StructBlock):
    title = CharBlock()
    document = DocumentChooserBlock()
    image = ImageChooserBlock()

class DemoStreamBlock(StreamBlock):
    resource = ResourceBlock()

class HomePage(Page):
    content = StreamField(DemoStreamBlock, use_json_field=True, blank=True)

    content_panels = Page.content_panels + [
        FieldPanel("content", classname="full"),
    ]

Edit the home page, add a Resource block, then click "Choose an image". The image chooser opens.
Switch to the upload tab and upload an image. The (required) title field will be autopopulated.
Delete the title field so it is empty, and click Upload. You'll be looking at a raw JSON response in your browser:

The same thing happens with documents (the bug in #9010 and fix in #9018 seem irrelevant).
Technical details

Python version: 3.10.4
Django version: 4.0.7
Wagtail version: repeatable on current main (cc4675aa5ed41ffde68960fa697b3e3e682d71fc) and 4.0rc1. Bug doesn't exist on 3.0.1.

Looks like this was introduced in eac5e0bc2cda0d78d1ffb13da32b8cc8410f2b0b.

+1, the specific error happens because of an uncaught exception from these lines:
https://github.com/wagtail/wagtail/blob/eac5e0bc2cda0d78d1ffb13da32b8cc8410f2b0b/client/src/includes/chooserModal.js#L16-L17
because the first line querySelector call returns null.


Also get debug output from underlying processes

I was having an issue running a scan. I tried the --debug flag, and although I did get more output on the ORT-side of things, the actual problem happen to be in the scancode command, which didn't change its behavior with the --debug flag. So the run with --debug didn't provide me with any more useful information.
Some idea would be to also expand the output from the underlying processes. So the current scancode command https://github.com/oss-review-toolkit/ort/blob/edbb46cb1dab1529d5ffb81cba18d365b98ef23e/scanner/src/main/kotlin/scanners/scancode/ScanCode.kt#L83-L89 could be appended with --verbose. Unfortunately scancode doesn't seem to have a --debug option.
For now my current workaround is to run ORT with a simple inline config change option:
$ ort --info -P ort.scanner.options.ScanCode.commandLine="--copyright --license --info --strip-root --timeout 300 --verbose" scan ...

I mainly created this issue to discuss this option and keep track of this idea. ORT is configurable enough to increase debugging if you really need to.

Closing this for now. Feel free to reopen if I didn't convince you, @nicorikken.


Add suspending implenetation client

Description
In this pr I am hoping to create a suspending implementation of the httpClient so that, should a user so wish they could avoid using threads.
Huge thank you/love/creative respect/kudos must go to both @iNoles, @lucasvalenteds and @SleeplessByte  who all helped me get this running at points I was completely stuck
Fixes #431
Check all that apply

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Refactoring (change which changes the current internal or external interface)
[x] This change requires a documentation update

How Has This Been Tested?
This pr changes the implementation but the test remain the same as the object was not change the behaviour
Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation, if necessary
[x] My changes generate no new compiler warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

It does look good to me.

@SleeplessByte Not related to this PR. But the content in the current PR template is more like a "placeholder"? Maybe we add ">" to make it looks like so? What do you think?

@kittinunf sure, we can try out whatever we'd like. We can also add <!-- comments --> so if people don't change it stays empty!

@SleeplessByte I would like to add "Did you checked these files by the Kotlin ByteCode Viewer?" too

I did share my concern already with @markGilchrist personally. But I would love to hear from others as well. With this PR, it means that we have push the coroutine down to fuel core which make me wonder whether this is the right apporach. At least for non co-routine user (like me), it means that we force all of our users to use

I think we can keep @markGilchrist his implementation but NOT push this into core by actually extend the fuel manager's client initialisation to use an async client (as implemented here) when use fuel-coroutines.
Yes, this means one extra "setup" method call for the user, but I think it is well worth it to keep this out of core and keep it isolated in coroutines @kittinunf .

When I replaced
fail("When using awaitSafelyObjectResult errors should be folded instead of thrown."

to
fail(exception.localizedMessage)

I get com.fasterxml.jackson.module.kotlin.MissingKotlinParameterException cannot be cast to com.github.kittinunf.fuel.core.FuelError

About testAwaitForObjectResultCatchesDeserializeError, it seems your code is not really catching all errors.

 (state as? CompletedExceptionally)?.let { throw it.cause }

this actually bypass any try/catch code

@markGilchrist When I took some of your code from the scratch, I got it to work.
Do you want me to release it?

@iNoles if you want to raise another or tell me how to fix this one please go for whichever suits you I am 100% easy either way

I think we can target 1.3 by using https://dl.bintray.com/kotlin/kotlin-eap and 1.3.0-rc-57 as version number so that we can see how this can be when used with 1.3.0. @markGilchrist Do you think we should just do it in this PR?

@kittinunf I am biased but I feel we should merge it, however I am happy to wait until we are using 1.3 and it has been widely adopted.
I have removed (locally)
configure<KotlinJvmProjectExtension> {
            experimental.coroutines = Coroutines.ENABLE
        }

it seams to have very little effect other than it adds a compiler warning to the code.
I am aware that there may be issues that are beyond my comprehension and I am happy to do whatever the team feel is best

It does looks good in despite of jacoco errors.
With Kotlin 1.3, that requires to change many things such as imports and method signature.

Linking here for reference: https://www.youtube.com/watch?v=_hfBv0a09Jc, https://github.com/Kotlin/kotlin-coroutines/blob/master/kotlin-coroutines-informal.md#asynchronous-programming-styles
I'll be watching and reading and then re-reviewing.

in root/build.gradle.kts, there is
compile(Dependencies.kotlinStdlib)

@lucasvalenteds I am having trouble setting the language to the latest version of kotlin (1.3.0-rc-116) can you see where I may be going wrong, any help here really appreciated!

@markGilchrist here is the code to migrate from Kotlin 1.2 to 1.3-M2. Running ./gradlew clean test using OpenJDK 1.8 should work and print some deprecation warning.
Send me a message on Slack if you need anything. :+1:

@lucasvalenteds Are you talking about Kotlin's slack channel?

@iNoles Yes, this one.

@lucasvalenteds I usually to be on that channel for some times.
By looking to https://github.com/gradle/kotlin-dsl/blob/master/buildSrc/src/main/kotlin/codegen/GenerateKotlinDependencyExtensions.kt, I have seen WHY IDE picked kotlinModule() over kotlin()

Gotta love those Samples. :|

@markGilchrist https://github.com/kittinunf/Fuel/blob/master/sample/src/main/kotlin/com/example/fuel/MainActivity.kt

I have been sitting in a lot of talks about Coroutine today at Kotlin Conf. (apparently, it is a very hot topic ofc) and I realize that the correct usage for a client to use Fuel should look something like at the client codebase.
Definition
interface RemoteService {
  suspend fun get(): Result<String, FuelError>
}

Usage
val result = withContext(dispatchers.io) {
  service.getFoo()
}

when (result) {
  is Sucess -> { //do something with success }
  is Failure -> { //do something with failure }
}

Then, for Fuel to supply the implementation. It probably should be something along this line
class RemoteServiceImpl : RemoteService {
  override suspend fun get(): Result<String, FuelError> = Fuel.get("...").awaitStringResult()
}

I think we might add this into Readme to instruct user! As long as we are able to do this in this PR, it looks like we are going on the right path 🎉 👍

so it is like Retrofit, right?

@iNoles we don't care about Retrofit here :smi

@markGilchrist one last thing
In this PR we change our core interface into
interface Client {
  fun executeRequest(request: Request): Response
  suspend fun awaitRequest(request: Request): Response
}

What do you think what the concrete class that doesn't care about coroutine is going to be? For example, TestClient in for testing purposes?
@iNoles
Using interface to back the concrete class is a reasonable practice anyway 😏

@kittinunf
Hmm well here is my two cents
The argument for keeping this as it is
I feel that the Client is the thing that delivers the request, and I feel that you should in that case any class that implements this interface should provide both implementations.
I don't feel this adds a problem to the tests, as can be seen in CustomClientTest.kt line 28. perhaps I could add a default implementation that simply calls the non suspending implementation?
override suspend fun awaitRequest(request: Request) = executeRequest(request)

An other route?
Currently all requests have a client, if you were to separate out the Client to lets say SuspendingClient and Client then you have in my opinion a problem as you will then have to add  another property to Request and you would have to add logic to ensure that the Request has at least on client.
as ever your wish is my command

I think the retry feature is killing us on the PR build lol

I would love to hear some other opinions from other, however I think this PR is already good as it is. I will give this a go but I still believe that we need to do "something" so that the interface Client is simple to be used.

Are we going to wait until the main branch is using 1.3?

@SleeplessByte it does work only on test failure but not gradle dependency.  :(

@iNoles  which test is failing?

@iNoles if I have understood this properly https://github.com/Kotlin/kotlinx.serialization/issues/152 there is a bug in the kotlinx version that I am using. I am not sure this can be fixed atm

@markGilchrist you could change the serialization version to 0.8.2-rc13 ONLY for runtime, but not classpath one.

@iNoles  you are right!

I see Two warnings.

'typealias KSerialLoader = DeserializationStrategy' is deprecated. Obsolete name from the preview version of library.'

Incompatible version of kotlin-reflect in fuel-reactors

I think I am good to merge this in. Shall we merge it and release new version?

@kittinunf  I think we can merge it in ?

I see Two warnings.

'typealias KSerialLoader = DeserializationStrategy' is deprecated. Obsolete name from the preview version of library.'
Incompatible version of kotlin-reflect in fuel-reactors

@iNoles this can be fixed in a subsequent PR I suppose, as it doesn't really have anything todo with this?

i will do the PR to fix kotlinx.serialization stuff and deprecations, 0.6.2 -> 0.8.0
there have been a lot of renames and probably better ways to do the things

So erm, I never got around to taking a look at this, but is there a particular reason why the language version was bumped to 1.3? This completely breaks compatibility with 1.2, and I don't think that any of the features used actually require 1.3.


CSVSQL with "--insert" option imports faulty data to Postgres db compared with importing csvclean'ed CSV via "copy table from file.csv"

Abovesaid.
In detail, after cleaning it with csvclean (no errors reported) I imported a file with about 400k lines using the  CSVSQL "--insert" option and it turned out that the data in some some fields (not all) in the resulting database table where shifted to the preceding row.
Importing the same Csv using  "copy table from file.csv" resulted in a database table without the described errors.
I am on Ubuntu server 12.04.3 64bit , did everything locally (so no network issues possible) , with PostgreSQL 9.1

@evz What if you pass the option --snifflimit 0? Seems like another sniffing bug #166

I can't replicate:
csvsql --db 'sqlite:///dummy.db --insert iucr_codes.csv
sqlite3 dummy.db
> select * from iucr_codes

All looks good. Please test on HEAD and send the commands and input that cause any remaining errors.

Still getting the issue with that file. If you run the commands:
csvsql --db 'sqlite:///dummy.db' --insert iucr_codes.csv
sqlite3 dummy.db
> select * from iucr_codes where iucr = 'including public drunkenness'

You'll see that the iucr column (which should be a four character code) is being populated by things that should be in the friendly_description field. It seems to be getting broken on the second " that is within that field (part of the quotes surrounding the phrase "scandalizes the community,").

Ah, I see. This is fixed if you run with --snifflimit 0. Please contribute to #166 if you don't want to have to use that option.


Fix implementation of createClient parameters

Hey @jerryjappinen,
There is a problem with your README here:
const cfClient = createClient({
  space,
  accessToken
})

-> Error: Expected parameter space
Turns out the option parameters are required to be like this:
const cfClient = createClient({
  spaceId,
  accessToken
})

Actually I would prefer to see the change in the implementation to match the official Contentful options.
Thanks for your work on this utility package for Contentful. I had this usecase several times now and was about to start to build something like this myself, before I discovered your package.
Best

Thanks for the PR @tobiastrinks, and feel free to send any issues or more PRs my way if you get ideas or would like to contribute!


Need admin access

This is a...

[X] Feature Request
[ ] Bug Report

Problem:
@chenopis and @lucperkins need admin access to this repo so we can setup the Netlify hosting for preview builds.
Proposed Solution:
Add @chenopis and @lucperkins to kubernetes-docs-ko-admins group.
Page to Update:
https://github.com/orgs/kubernetes/teams/kubernetes-docs-ko-admins/members

/assign @zacharysarah

@lucperkins Have you completed K8s org membership? I’m unable to add you as an admin.


Add hyprmacros to list of useful utilities

Just a "small" python program i wrote for hyprland, allowing creating per-app macros in a simple way.
configuring macros is intended to be similar to hyprland, eg bind = LCTRL LSHIFT, H, send, A:DOWN A:UP DELAY:500 B:DOWN B:UP, while config hyprmacros.conf lies in the same folder as hyprland's default config.

I just saw that there are a few issues in it that might take some time to fix.
I'm going to close this for now, and might re-open someday.