Feature/initial plugin project

This is a clean plugin project. It is going to be a base source code for a new version of the Lib

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Pawel Byszewski seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


defaultValue properties do not use on calling survey.clear(true)

When the survey is started from the beginning, for example on survey complete and the options to clear data is set, then it is expected to re-use the default values again, as on starting a new survey.

New unit test is added and fixed. The fix will be available in the next minor update.


Release tarball is not gzipped (as opposed to file extension)

https://github.com/auth0/nginx-jwt/releases/download/v1.0.1/nginx-jwt.tar.gz
$ tar xzf nginx-jwt.tar.gz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

$ file nginx-jwt.tar.gz
nginx-jwt.tar.gz: POSIX tar archive

This works:
$ tar xf nginx-jwt.tar.gz

Right, I have downloaded it to my system, extracted it and then tried uploading using scp command

+1
I have also noticed the problem.

Also getting this


transitions on charts that start with no values calculate based on NaN and cannot take live updates

Initial calculations on, for example, a Pie or Doughnut chart rely on the chart having an initial 'total' to
calculate circumference et. al.  When this value is initially zero (a chart with no data) then the segments
cannot transition out of this state due to the "ease" calculation.  This patch applies the value directly and
skips easing when the existing segment value is NaN.

This should be fixed in v2.0. Correct @tannerlinsley ?

Pretty sure.
On Thu, Jun 4, 2015 at 7:07 AM Evert Timberg<EMAIL_ADDRESS>wrote:

This should be fixed in v2.0. Correct @tannerlinsley
https://github.com/tannerlinsley ?
—
Reply to this email directly or view it on GitHub
https://github.com/nnnick/Chart.js/pull/1161#issuecomment-108892469.

will this land soon?

We've recently announced a feature complete status for v1.x and will only be accepting bug fixes for v1.x. Be sure to take a look at v2.0-dev and it's new features that are either finished or currently under development.  If you see your feature is still not implemented, feel free to submit another PR to the v2.0-dev (or later) branch for your feature.


cluster or consumer not found message

any detail about this message?
{"level":"info","ts":1579368767.920304,"msg":"cluster or consumer not found","type":"module","coordinator":"evaluator","class":"caching","name":"default","cluster":"nonprod_southfield","consumer":"cdc-group-st-unique-csmip-dmaap","showall":true}

has anyone found a solution for this issue?

Same problem...
Kafka 2.2.0
I've tried compile burrow 1.3.0, 1.3.2 and 1.3.3 (even master branch). All of them respond cluster or consumer not found when I try to query a consumer group status or lag. :-(


Create proper CLI

Probably with yargs since it has reasonable type definitions.

@spion add more detailed info on this one.

yargs bit is already done, now we need to:

[ ] move the yargs parsing out of the main function aind into cli.ts
[ ] extract the rest as a function with the yargs arguments,
[ ] create bin entry in package json pointing to the compiled cli.js

Yargs main in cli.ts would look something like
function main() {
let args = yargs(...).argv;
let output = compileToTypescript(args);
fs.writeFileSync(args.outputFile, output);
}
and everything else in the current main will go into compileToTypescript


Roadmap for version 3.

Wanted to get some feedback on the next version of cssnano, and see if this plan is line with everyone's expectations.
After a lot of feedback from users (https://github.com/ben-eb/cssnano/issues/24, https://github.com/ben-eb/cssnano/issues/27, https://github.com/ben-eb/cssnano/issues/28, https://github.com/ben-eb/cssnano/issues/40) & a proposed pull request https://github.com/ben-eb/cssnano/pull/35, I've decided to give users the ability to disable any part of cssnano that they choose. But I want to do it in a way that is easily documentable and easy to configure. What I am proposing is that each optimisation can either be camelCased, like postcssMergeRules or specified as the module name like postcss-merge-rules. Furthermore, I would like the postcss prefix to be optional, so that a configuration looks more like this:
{
  autoprefixerCore: {browsers: 'last 3 versions'},
  discardComments: {removeAll: true},
  mergeIdents: false,
  mergeRules: false
}

The idea for this will be implemented in 2.x, and current options will print deprecation warnings until 3.x. 3.x will also remove the synchronous API in favour of an asynchronous, promise based one. This is so that we can bundle https://github.com/ben-eb/postcss-svgo as a further optimisation. At the same time I will look into bundling https://github.com/ben-eb/stylehacks, which will likely share a browsers option with autoprefixer.
Another idea that I am considering is to implement a safe option, which will disable all unsafe optimisations like postcss-zindex etc, which rely on a whole site's CSS to be passed in to be safe.
Other than that, the next optimisations are looking at longhand merging https://github.com/ben-eb/cssnano/issues/44 & anything left over in https://github.com/ben-eb/cssnano/issues/7.

I think these are all necessary changes. Good work.

On second thought I'm not going to deprecate the autoprefixer option for autoprefixerCore, as when people think of the module they probably won't think of the 'core' module that is used here. The other changes stand though.

The new options are available, see http://cssnano.co/options/ - additionally https://github.com/ben-eb/cssnano/issues/44 was resolved this week.
Furthermore, now that PostCSS 5.0 is out, I would like to convert all modules to use it when 3.0 is out.

Current progress is on https://github.com/ben-eb/cssnano/tree/3.0. Waiting for @ai to patch autoprefixer so that we can migrate to PostCSS 5.x. :smile:

Added new module
https://github.com/TrySound/postcss-minify-params

More optimizations will be done in minor releases. Didn't have the time to look at stylehacks for 3.0.

[ ] Screenshot testing
[ ] Looking into more-css

@ben-eb “Screenshot testing” is #55

At this stage I think I'd like to move all features that have been considered for v3 to the v4 roadmap, and close this issue to reduce my cognitive load of this project. :smile:
Just a few points on any loose ends here:

CSS hack removal should be considered an advanced optimisation, probably not bundled by default.
Longhand merging needs a big refactor which Andy and I were working on, progress has stalled for the time being; there were still some outstanding bugs, although the early work has been really promising. Hopefully v4 will provide better merging support.
Happy for anyone to offer insight into more-css, I don't have the time to investigate this right now.
Screenshot testing is a really big project which I will not get time to do. I am happy to assist anyone who wants to tackle this, but I don't think it yields many benefits for the work that is involved, which is probably a good month or two minimum. I simply cannot dedicate that much time on top.
Anything left over in #7 is now just performance and merging declarations. Performance is our priority for v4, and then we can look at declaration merging.


Update checklist-for-installing-update-1810.md

Need a blurb to explain the SQL Server Native Client TLS 1.2 warning that blocks install during pre-req check.
Summarize the change in the pull request title
Need to explain the SQL Server Native Client TLS 1.2 warning that stops install during pre-req check.  It's confusing to customers to have to download a new version of an old client and it's not very easy to find the links to the right version.

Thanks @russrimm for the contribution. I already added a similar section to the list of prerequisite checks. It makes sense to include some information in the checklist as well, but I don't like duplicating content in separate articles. Could you reword this to just a simple reference like:
There's now a prerequisite check for SQL Server Native Client. For more information, see the [List of prerequisite checks](/sccm/core/servers/deploy/install/list-of-prerequisite-checks#sql-native-client).

@russrimm : Thanks for your contribution! The author, @aczechowski, has been notified to review your proposed change.

Great, thanks @russrimm
#sign-off
Once merged, this should be live with the next daily publishing process. Right now that should be next week (Wednesday, 2 January) around 11:00 Pacific time. (There's a publishing freeze for the holidays.) No further action needed from you.


Picture in picture mode

When I choose a Picture in Picture mode and a little screen appears above all other tabs, the video in the little screen freezes after some seconds and when I get back to the original sessiob tab, the little screen is live again. It freezes over all the tabs. It works only over the original tab. Is it only the case with my moodle plugin?
I use ready-to-use plugNmeet cloud solution api. free account.

I've opened a pull request here: https://github.com/livekit/client-sdk-js/pull/617

@vitaliybaran is it possible you to test from here?
https://deploy-preview-378--plugnmeet.netlify.app/login

@vitaliybaran is it possible you to test from here?
https://deploy-preview-378--plugnmeet.netlify.app/login

Hi there, I tested PiP on this link with my students. Unfortunately it is as it was. The problem persists. The picture freezes over other tabs. Plus when I ruturn to the "Meeting tab" the picture does not come alive untill I leave the PiP mode. Foremely it was enough to return to the meeting tab for the picture to come alive.

@vitaliybaran please check from: https://demo.plugnmeet.com/login.html . Problem should be solved. We'll publish that for cloud soon.

@vitaliybaran please check from: https://demo.plugnmeet.com/login.html . Problem should be solved. We'll publish that for cloud soon.

@jibon57 Seems to be working smoothly now.


Add CI label where necessary

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


✨ [Feature request]: Randomize play cards

Is your feature request related to a problem? Please describe.

As we can see on this image or in video attached below the cards always come on same sequence
and the cards at bottom seems to get less opportunity
Describe the solution you'd like.
We can randomize the sequence of cards so on every render or view it will show random sequence
making every card to get same opportunity
Describe alternatives you've considered.
.
Screenshot / Screenshare
Heres the attached video
https://github.com/reactplay/react-play/assets/29349136/fc81b0c5-a86e-4620-98fa-c6cd313ac055
Additional context
You can assign this to me i would be very happy to take this issue
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@shobhitexe
Thanks for putting this issue.
Currently, the plays are arranged in the date-time sorted order. The recent play comes in the front. I think randomizing them alone will not be a good idea. I think we should provide some sorting mechanism instead.. like:
Sort by:

Newest
Oldest
Most Liked
Random

Based on user selection, we can store than in local storage(as a preference) and always show the plays in that order. What do you think of this suggestion?
@Sachin-chaurasiya, you can provide your input too.

@shobhitexe
Thanks for putting this issue.
Currently, the plays are arranged in the date-time sorted order. The recent play comes in the front. I think randomizing them alone will not be a good idea. I think we should provide some sorting mechanism instead.. like:
Sort by:

Newest
Oldest
Most Liked
Random

Based on user selection, we can store them in local storage(as a preference) and always show the plays in that order. What do you think of this suggestion?
@Sachin-chaurasiya, you can provide your input too.

Sounds good, for logged-in users we can store this in preference instead of local storage.

I'm glad to hear that! I'll be getting started on it soon.

Hey I'm currently facing difficulties while setting up a project, as shown in the screenshot. I have already installed the dependencies using 'npm install --legacy-peer-deps,' but I am encountering an error. I'm wondering if there are any additional setup steps or if you have any tips to resolve this issue

Hey I'm currently facing difficulties while setting up a project, as shown in the screenshot. I have already installed the dependencies using 'npm install --legacy-peer-deps,' but I am encountering an error. I'm wondering if there are any additional setup steps or if you have any tips to resolve this issue

Can you please try yarn ?

Hey I'm currently facing difficulties while setting up a project, as shown in the screenshot. I have already installed the dependencies using 'npm install --legacy-peer-deps,' but I am encountering an error. I'm wondering if there are any additional setup steps or if you have any tips to resolve this issue

Can you please try yarn ?

Same with yarn

@shobhitexe with yarn it worked?

@shobhitexe with yarn it worked?

Same with yarn not working
i tried re forking repo also any other tips or suggestions from your side

@shobhitexe with yarn it worked?

Same with yarn not working i tried re forking repo also any other tips or suggestions from your side

Manually change your react-icons package to 4.8.0 and install again. Be sure to have this version.

@shobhitexe with yarn it worked?

Same with yarn not working i tried re forking repo also any other tips or suggestions from your side

Manually change your react-icons package to 4.8.0 and install again. Be sure to have this version.

Thanks ill try 🤝

Hi @shobhitexe  Is the problem resolved? It happened to me also. I tried
npm i --force
and it worked for me.  Thank you.

Hi @shobhitexe Is the problem resolved? It happened to me also. I tried
npm i --force
and it worked for me. Thank you.

i tried this that time not working ill try again


ISPN-6207 Cross-Site Replication marshalling issues

https://issues.jboss.org/browse/ISPN-6207

@pruivo Does this help with the hung tests, http://paste.fedoraproject.org/322843/14555444/raw/ ?

@danberindei I haven't managed to reproduce the failures, but I found these issues in the meanwhile :)

Integrated, thanks Pedro!


Actually listen to LSP requests (and tell the server that we can)

Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1599320
We regressed signature help when we moved it to single server in https://github.com/dotnet/razor-tooling/pull/6722

@arkalyanms We should probably take this for M2

Nevermind, still plenty of time before M2. Forgot roslyn snaps early :)


Is there any plans to have our own hosted backend?

I believe you that you cannot see my history, but I would feel better with my own private backend.

Duplicate of #7


left electron left in dependencies section vs pr 1788

Warnings

:warning:

Please include an updated CHANGELOG.md file.This way we can keep track of all the contributions.

  Generated by :no_entry_sign: dangerJS

Isn't electron required anymore?

its in the optionalDependencies section..
  "optionalDependencies": {
    "electron": "^3.0.13"
  },

that way if there is no version for armv6 (or whatever) , install won't fail, and serveronly mode will still work.
right now, install fails. leaving a mess
don't want it in the mandatory dependencies too

and run-start.sh has been changed to support non-electron systems by using chromium-browser
and intentional serveronly mode (config option)  and also on non-gui systems

Ah, missed that. Thanks.


Cuda is not used when multiple backend packages are installed

Reproduction
Install both cpu and cuda backend and run the model, cuda dll is selected but gpu is actually not used.

Close this issue as a duplication of #456


[Doc]: LLM.chat() docstring incorrectly suggests multiple chats can be generated in one call

📚 The doc issue
According to the docstring for the LLM class's chat() method,

messages – A list of messages to generate responses for. Each message is a list of dictionaries with ‘role’ and ‘content’ keys.

This implies messages can be a list containing multiple lists, each of which is one chat conversation with the dictionaries for role and content. However, that's not the case: messages must be a list of dictionaries, not a list of lists of dictionaries, because only one conversation is supported. See this example: https://github.com/vllm-project/vllm/issues/6416#issuecomment-2318413123
Suggest a potential alternative/fix
Two options:

The docstring is edited to say "A list of messages to generate responses for. Each message is a dictionary with ‘role’ and ‘content’ keys."  Under Returns, say something like "A list containing one RequestOutput object with the generated response."
Make the function actually do what the docstring says. If you have multiple conversations you want responses to, doing them in a batch is much more efficient than doing them one at a time by repeatedly calling chat(). In my application, I need 12,000 chat responses, and calling chat() 12,000 times will take something like 12 hours, whereas calling generate() once with the pre-tokenized prompts takes an hour or two.

Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

I have updated the docstring in #8098 to indicate that the messages are only for a single conversation.

Hi, I also want to use LLM.chat to perform batch requests under my code, I verified it with a simple loop and it works.
    def chat(
        self,
        messages: List[ChatCompletionMessageParam], # TODO
        sampling_params: Optional[Union[SamplingParams,
                                        List[SamplingParams]]] = None,
        use_tqdm: bool = True,
        lora_request: Optional[LoRARequest] = None,
        chat_template: Optional[str] = None,
        add_generation_prompt: bool = True,
    ) -> List[RequestOutput]:

        tokenizer = self.get_tokenizer()
        model_config = self.llm_engine.get_model_config()

        # Check the first message to determine is the batch request
        if not isinstance(messages[0], list):
            messages = [messages]

        batch_inputs = []
        for msg in messages:
            conversation, mm_data = parse_chat_messages(msg, model_config,
                                                        tokenizer)

            prompt = apply_chat_template(
                tokenizer,
                conversation,
                chat_template=chat_template,
                add_generation_prompt=add_generation_prompt,
            )

            inputs: PromptInputs
            if is_list_of(prompt, int):
                inputs = TokensPrompt(prompt_token_ids=prompt)
            else:
                inputs = TextPrompt(prompt=prompt)

            if mm_data is not None:
                inputs["multi_modal_data"] = mm_data

            batch_inputs.append(inputs)

        return self.generate(
            batch_inputs,
            sampling_params=sampling_params,
            use_tqdm=use_tqdm,
            lora_request=lora_request,
        )

results = vllm_model.chat(
            [
                [{"role": "user", "content": "Hello"}],
                [{"role": "user", "content": "Goodbye"}],
            ],
        )

Hi, I also want to use LLM.chat to perform batch requests under my code, I verified it with a simple loop and it works.
    def chat(
        self,
        messages: List[ChatCompletionMessageParam], # TODO
        sampling_params: Optional[Union[SamplingParams,
                                        List[SamplingParams]]] = None,
        use_tqdm: bool = True,
        lora_request: Optional[LoRARequest] = None,
        chat_template: Optional[str] = None,
        add_generation_prompt: bool = True,
    ) -> List[RequestOutput]:

        tokenizer = self.get_tokenizer()
        model_config = self.llm_engine.get_model_config()

        # Check the first message to determine is the batch request
        if not isinstance(messages[0], list):
            messages = [messages]

        batch_inputs = []
        for msg in messages:
            conversation, mm_data = parse_chat_messages(msg, model_config,
                                                        tokenizer)

            prompt = apply_chat_template(
                tokenizer,
                conversation,
                chat_template=chat_template,
                add_generation_prompt=add_generation_prompt,
            )

            inputs: PromptInputs
            if is_list_of(prompt, int):
                inputs = TokensPrompt(prompt_token_ids=prompt)
            else:
                inputs = TextPrompt(prompt=prompt)

            if mm_data is not None:
                inputs["multi_modal_data"] = mm_data

            batch_inputs.append(inputs)

        return self.generate(
            batch_inputs,
            sampling_params=sampling_params,
            use_tqdm=use_tqdm,
            lora_request=lora_request,
        )

results = vllm_model.chat(
            [
                [{"role": "user", "content": "Hello"}],
                [{"role": "user", "content": "Goodbye"}],
            ],
        )

Hi, we have opened a new issue #8481 to track this.


Check last point when using best so far minimiser

Fixes #33
There is some unnecessary looking lines
        best_f, best_aux = fn(state.best_y, args)
        best_loss = self._to_loss(state.best_y, best_f)

where I would expect to just use state.best_loss, but the test doesn't pass without it!

Thank you for the fix! Always happy to squash bugs :)


Connection Refused with url /checkreadystatus when using Unity and Sublime

I know that this is similar to a couple of closed issues, but I tried what was suggested in those threads and I'm having no luck.
After opening my project in Unity, and after having created the .sublime-project file that points to the .sln file, I open the project in Sublime and open a .cs file to see if Omnisharp loads correctly. I get the following status message:
Omnisharp : Error talking to http://localhost:54200/checkreadystatus

The sublime console reads as follows:
======== request ========
 Url: http://localhost:54200/checkreadystatus
 Data: {"buffer": "namespace UnityTest.Assets\n{\n    public class newclass\n    {\n\t\n    }\n}", "column": "2", "filename": "/Users/[username]/Dropbox/code/workspace/scratch/UnityTest/Assets/newclass.cs", "line": "5"}
HTTPConnectionPool(host='localhost', port=54200): Max retries exceeded with url: /checkreadystatus (Caused by ProtocolError('Connection aborted.', ConnectionRefusedError(61, 'Connection refused')))
SublimeLinter: annotations activated: <builtin>

I tried quitting the mono process, waiting, and retrying, I tried reinstalling mono, but I still get the same message. I have my config.json file in my Packages/User/Omnisharp folder, with that directory set in my Omnisharp user settings.
Random detail, in case it matters: when I search for mono in Activity Monitor, the process is actually called mono-sgen .

I'm having this problem as well. It was working just a couple days back :-(

I fixed this issue by going into the /lib/omnisharp.py file and changing the timeout maximum from 5000 to 10000.

Tried changing the timeout. Still having this issue :-(

Updating mono throughout home-brew seems to have fixed it.

Uninstalling the mono that I had gotten from mono-project.com and then reinstalling mono via homebrew also fixed this issue for me


Compare validator always return false when comparing different number of digits

Having:
[['end_page'], 'compare', 'compareAttribute' => 'start_page', 'operator' => '>='],

always returns false when number of digits is different in each integer attribute.
For instance, if 'end_page' = 120 and 'start_page' = 90, then the validator will return false though it is true. But if  'end_page' = 120 and 'start_page' = 100, then the validator will return true as expected.
Regards,
Antonio

It works as expected for me:
class TestModel extends \yii\base\Model
{
    public $start_page;

    public $end_page;

    public function rules()
    {
        return [
            [['start_page', 'end_page'], 'integer'],
            [['end_page'], 'compare', 'compareAttribute' => 'start_page', 'operator' => '>='],
        ];
    }
}

test case:
$model = new TestModel([
    'start_page' => 90,
    'end_page' => 120
]);

var_dump($model->validate()); // true

@lichunqiang can you try the following, as this might be the state after loading from request:
$model = new TestModel([
    'start_page' => '90',
    'end_page' => '120'
]);

var_dump($model->validate());

@df2 true as expected.
internally, it will run 120 >= 90 or '120' > '90', so i think it's not yii bug, but the other reason.
In addition, we can set [['end_page'], 'compare', 'compareAttribute' => 'start_page', 'operator' => '>=', 'type' => 'number'],  it will be converted using (float) $value

@lichunqiang @amlopezalonso either way will work then

https://github.com/yiisoft/yii2/blob/master/framework/validators/CompareValidator.php#L66

I'm still having this issue but I'm afraid I was not clear enough: by 'true' or 'false' I meant the ActiveForm was throwing the corresponding validation error so it might be as well the issue is not in the validator code itself but somewhere in ActiveForm, etc.
I entered a set of selected values to help breaking this down:
start_page         end_page          validation in form is:
1                        1 ... 10               ok
2                        1 ... 9                 ok
2                        10 ... 19             wrong
2                        20 ... 99             ok
2                        100 ... 199         wrong
2                        200 ... 999         ok
2                        1000 ... 1999     wrong
2                        2000 ... 9999     ok
25                      1 ... 99              ok
25                      100 ... 249        wrong
25                      250 ... 999        ok
25                      1000 ... 2499    wrong
25                      2500 ... 9999    ok
25                      10000 ... 24999 wrong
25                      25000 ...            ok
So it seems the form is comparing just the leftmost digits in start_page.
Any ideas?
Regards,
Antonio

@amlopezalonso have you configured  'type' => 'number' in your validator?

Ah! I missed that part so sorry for the noise. I thought being both attributes declared as integers it would be not necessary to add 'type'.

@amlopezalonso i'm having the same issue.

@MigueSchpeir please open a new issue for this. Problem looks different.


Lag when restoring wallet and lag displaying funds onchain and on Lightning

Describe the bug
Can lead to confusion of users - did a restore (which was quite slow, compared to previous versions) initially when wallet is restored, initially there is no indication I have funds, now with the recorded version I do have funds onchain, but there is a lag when displaying the funds on LN).
Reproduce

Uninstall Bitkit from device, then reinstall and open it
Choose 'Restore …'
Enter your mnemonic phrase and continue
Observe the unusual waiting time and black screen(s)

Screenshots / Recording
https://github.com/synonymdev/bitkit/assets/119061223/f54a2d67-e158-49d8-b631-6971d0519e56
Operating system
Graphene OS Pixel 6A
Bitkit version
v113
Log output
No response

logs attached
bitkit_ldk_logs_1712928094902.zip

Pav:  The video attached is me restoring for the 2nd time and this time was considerably faster

For me, this is much worse than in @thisispav's recording.
I run on latest master and quite often it doesn't completely succeed, I do get the 'Wallet Restored' confirmation screen, but after I tap on the OK button, the app stays completely black while the logs keep getting spammed with errors related to Electrum connection.
My Wallet Restore Logs
 LOG  Running "bitkit" with {"rootTag":11}
 LOG  Wiping app data...
 LOG  [Error: Folder does not exist]
 LOG  Syncing Wallet...
 LOG  [TypeError: Cannot read property 'refreshWallet' of undefined]
 LOG  Connection to Electrum Server lost, reconnecting...
 LOG  [Error: close connect]
 LOG  [Error: close connect]
 LOG  [Error: close connect]
 LOG  [Error: close connect]
 LOG  [Error: close connect]
 LOG  [Error: close connect]
 LOG  [Error: close connect]
 LOG  [Error: close connect]
 LOG  [Error: close connect]
 LOG  [Error: close connect]
 LOG  [Error: Failed Electrum connection check.]
 LOG  [Error: Failed Electrum connection check.]
 LOG  [Error: Connection to server lost, please retry]
 LOG  [Error: Connection to server lost, please retry]
 LOG  [Error: Connection to server lost, please retry]
 LOG  [Error: Connection to server lost, please retry]
 LOG  [Error: Failed Electrum connection check.]
 LOG  [Error: Failed Electrum connection check.]
 LOG  [Error: Failed Electrum connection check.]
 LOG  [Error: Failed Electrum connection check.]
 LOG  [Error: No LDK account found.]
 LOG  [Error: No LDK account found.]
 DEBUG  Sent hypercores to seeder
 LOG  true
 WARN  Restoring bitcoin from deprecated backup server.
 LOG  [Error: No LDK account found.]
 LOG  Connection to Electrum Server lost, reconnecting...
 WARN  Restoring bitcoinTestnet from deprecated backup server.
 LOG  [Error: No LDK account found.]
 LOG  [Error: com.reactnativeldk.classes.MissingBackup: Retrieve failed. Missing backup.]
 LOG  [Error: com.reactnativeldk.classes.MissingBackup: Retrieve failed. Missing backup.]
 LOG  Error restoring widgets com.reactnativeldk.classes.MissingBackup: Retrieve failed. Missing backup.
 LOG  [Error: com.reactnativeldk.classes.MissingBackup: Retrieve failed. Missing backup.]
 LOG  [Error: com.reactnativeldk.classes.MissingBackup: Retrieve failed. Missing backup.]
 LOG  Error restoring metadata com.reactnativeldk.classes.MissingBackup: Retrieve failed. Missing backup.
 LOG  [Error: com.reactnativeldk.classes.MissingBackup: Retrieve failed. Missing backup.]
 LOG  [Error: com.reactnativeldk.classes.MissingBackup: Retrieve failed. Missing backup.]
 LOG  Error restoring slashtags com.reactnativeldk.classes.MissingBackup: Retrieve failed. Missing backup.
 LOG  [Error: com.reactnativeldk.classes.MissingBackup: Retrieve failed. Missing backup.]
 LOG  [Error: com.reactnativeldk.classes.MissingBackup: Retrieve failed. Missing backup.]
 LOG  Error restoring activity com.reactnativeldk.classes.MissingBackup: Retrieve failed. Missing backup.
 LOG  Connection to Electrum Server lost, reconnecting...
 LOG  [Error: close connect]
 LOG  [Error: Failed Electrum connection check.]
 LOG  [Error: Failed Electrum connection check.]
 LOG  [Error: Failed Electrum connection check.]
 LOG  [Error: Failed Electrum connection check.]
 LOG  [Error: Failed Electrum connection check.]
 LOG  [Error: Failed Electrum connection check.]
 LOG  [Error: Failed Electrum connection check.]
 LOG  [Error: Failed Electrum connection check.]
 LOG  true
 LOG  Connection to Electrum Server lost, reconnecting...
 LOG  Connection to Electrum Server lost, reconnecting...
 LOG  [Error: close connect]
 LOG  [Error: close connect]
 LOG  [Error: Connection to server lost, please retry]
 LOG  [Error: Failed Electrum connection check.]
 LOG  [Error: Failed Electrum connection check.]
 LOG  [Error: Failed Electrum connection check.]
 LOG  [Error: Failed Electrum connection check.]
 LOG  true
 LOG  Connection to Electrum Server lost, reconnecting...
 LOG  Connection to Electrum Server lost, reconnecting...
 LOG  Connection to Electrum Server lost, reconnecting...

I need to restart the app, then I can fix the connection (sometimes) from Settings → Advanced → Electrum Server, tapping Connect to Host.

Same issue also restoring a mainnet wallet.

Closing this in favour of:

#1723

Seem to be more or less the same issue, and that one describes a more critical problem.

Closing this in favour of:

#1723

Seem to be more or less the same issue, and that one describes a more critical problem.

This issue is specifically about the delay of correct spending balance showing after wallet restore, which could still be an issue after the "indefinitely black screen" bug is resolved.
Perhaps the fix here is to not display 0 for any balance when it is still waiting for the data response.

Went over this w/ @JeanlChristophe  and @catch-21 and we propose to never show zero unless the balance is truly zero.
We'll foresee an indication that balance is loading for users.

With the new design, the dollar value is a dash when the bitcoin balance is zero. The dollar value should also be zero in this scenario but the dash could be used to indicate the balance has not yet been determined.

#1773 might fix the issue

#1773 does does indeed appear to have solved this issue. However, it now doesn't load the wallet until all data has been retrieved, which can take a while in some network conditions, see https://github.com/synonymdev/bitkit/issues/1806.


Keep process running in the background console

Hello I'm starting with this php react and I really like it a lot, but I have a question about the production version. I have no idea how to execute an asynchronous task which is what I currently have with an infinite loop in a linux server from ssh. how would this and keep that process open all day without closing the ssh console does not close the process in linux.
In addition to this, can I do this at heroku.com?

I'd recommend something like systemd in linux.
Or even something like screen and something to keep the process running if it fails.
It's possible to detach from a process as well.
The answer to this question varies by environment. For example: I've used https://github.com/kohsuke/winsw/ quite successfully in windows land.

Thank you i think i will use screen :)

I believe this has been answered, so I'm closing this for now. Please come back with more details if this problem persists and we can reopen this :+1:


Update API doc for scale_down and resize_short in python/mxnet/image.py

@mli, @zackchase, @madjam, @nswamy please see if it's OK.

@zackchase Thanks for pointing out the typo and I have fixed it. Please see if there is anything else needed to be revised.

@zackchase I accidentally updated my branch and caused some merge commits in my branch yesterday. I would like to close this PR to make some changes and open another PR contains the latest version.


Cannot use /TestCaseFilter when running NTVS tests under vstest.console.exe

Forgive me if this isn't the right place to raise this issue, but I've recently been trying to run some Mocha tests as part of a build step in TFS 2015 and it would be of great help if it were possible to use the 'Test Filter criteria' field to filter Mocha tests, perhaps using Mocha's --grep option.

Nothing that I enter in the 'Test Filter criteria' field seems to change which mocha tests are run, so I figure this feature is not yet implemented.
Any information is greatly appreciated. Thanks!
Expected Behavior
'Test Filter criteria' field filters which Mocha tests are run as part of a build step in TFS 2015.
Actual Behavior
All Mocha tests in NTVS project are run no matter the Test Filter criteria.

NTVS Version: 1.1
Visual Studio Version: 2013 Professional Update 5
Node.js Version: 4.4.7

Steps to Reproduce

Create NTVS project with Mocha tests
Create build definition with Visual Studio Test step
Enter criteria for Test Filter

Thanks.
I haven't tested on TFS directly, but can you provide a list of example test names and some of the criteria you are using? Have you tried something like Name~MyTestName?
Testing is an area that could really be improved (see #494 for example), so if anyone wants to look into fixing this, please let me know. I'm not sure mocha --grep is the best solution since it would be so mocha specific, but we should be able to better integrate these tests with the visual studio testing frameworks.

Sure.
Test names:
DLLExists Test.API.dll
DLLExists SHOULD_NOT_EXIST.dll
VLE Test1_S1
VLE Test1_S2
VLE Test1_S3
VLE Test1_S4
VLE Test1_S5
VLE Test1_S6
VLE Test1_S7

Test filter criteria I've tried:
Name~DLLExists
Name~VLE
Name~zzxyzzxyzz (presumably no tests should run)
Name=VLE Test1_S1
Name~SHOULD
FullyQualifiedName=VLE Test1_S1
...

Nothing seems to affect which tests are selected to run, they all run regardless of the filter.
I'd like to +1 #494, implementing trait support and having them be filterable I think would be a worthwhile feature addition.
Thanks for all your hard work. I definitely appreciate the help you've provided.

After more testing, the error seems more broad: /TestCaseFilter does not work even when running vstest.console.exe locally:
vstest.console.exe .\MySuperCoolProjectWithLotsOfTests.njsproj /TestCaseFilter:Name=TestThatTestDoesNotExist /TestAdapterPath:".\bin\ntvs"

This always runs all tests in the project. No idea if its a bug on our side or with vstest.console.exe. I've updated the issue title to reflect this finding.

This is unrelated to TFS.   The support for Categories / Traits is needed.   This is also useful using using Test Explorer

Closing as this is indeed a duplicate of #494 and we need changes in the test explorer/runner/discover to make this work.


Auto hide Taskbar

Description of the new feature / enhancement
Adding a shortcut to hide/unhide the taskbar
Scenario when this would be used?
Clicking the shortcut will hide/unhide the taskbar
Supporting information
https://www.softpedia.com/get/Desktop-Enhancements/Other-Desktop-Enhancements/TheFreeWindows-Taskbar-Control.shtml
This software does what I want, but the problem when changing the shortcut then restarting your computer the shortcut will restart to default
also would be cool to all the little features be added to one software

/dup https://github.com/microsoft/PowerToys/issues/11459


Reporting taxonomy value update: ms.service = spring-cloud -> spring-apps

Please see attached spreadsheet for repo azure-docs-sdk-java usage of the ms.service reporting taxonomy value spring-cloud, which should be removed and replaced with the ms.service reporting taxonomy value spring-apps.
spring-cloud_to_spring-apps_ms.service_base_2024_01_08.xlsx
Please Assign to:

Daniel Jurek (@danieljurek)

Label:

Docs

Please Assign to:

Daniel Jurek (@danieljurek)

Label:

Docs


How to use v-dragPreview ?

Hi:
Thanks you for this lib at first.
I have two questions:

How to use v-dragPreview ?
How to get enough doc?

thanks.

Hi,

How to use v-dragPreview ?

Have a look a the CustomDragLayer example. This uses v-dragPreview: https://github.com/jenshaase/vue-react-dnd/blob/master/docs/examples/DragAround/CustomDragLayer/DraggableBox.vue

How to get enough doc?

Sorry, can you rephrase the question. I don't know what you mean?
Best regards,
Jens

Thank you for your reply.
Here is my code.
I want to display text by default, display image when dragging.

<template>

      <text>name</text>

</template>

I haven't tried it myself but I think you should not nest the preview element inside the drag element.
Try this:
<template>

      <text>name</text>

</template>


[snapshots] Upload formal snapshots before db snapshots

Description
Formal snapshots are much smaller than db snapshots, hence they take much less time to upload. Additionally, validators are the greatest beneficiaries of formal snapshots, and are more sensitive to the effects of lagging the network, therefore there is a strong need for formal snapshots of the current epoch to be available as quickly as possible after epoch change (6 hour lag out of a 24 hour epoch is too long).
To address this, for a node that is configured to upload both snapshot types, formal snapshots will be the first to start, and db snapshot upload will block on its completion (note that we cannot do them concurrently as they both need to open the db checkpoint as a perpetual DB - formal snapshots in order to scan the live object set, and db checkpoint uploader to prune and compact.
Test Plan
Ran locally and verified snapshot and db checkpoints are being generated successfully
# db checkpoints and snapshots garbage collected
williamsmith in /opt/sui/db/authorities_db/full_node_db λ du -sh ./*
  0B	./db_checkpoints
 51G	./live
  0B	./snapshot
# local db checkpoints and snapshots created
williamsmith in /opt/sui/db λ du -sh ./local_*
 76G	./local_db_snapshots
 26G	./local_formal_snapshots

If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)

[ ] protocol change
[ ] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes

I didn't see anywhere state_snapshot_enabled being set. It needs to be set too, no?

I didn't see anywhere state_snapshot_enabled being set. It needs to be set too, no?

It was already set when we instantiated the db checkpoint handler. If you follow this down the stack you'll see it: https://github.com/MystenLabs/sui/blob/5568eaeba50ebd174d5d0f6d8db2ac45e2259f39/crates/sui-node/src/lib.rs#L564


IIS Preset

          Thanks for the PR. I think we can also introduce a preset for IIS generating `web.config` file.

Originally posted by @pi0 in https://github.com/unjs/nitro/issues/1035#issuecomment-1458225094

@pi0 I created this one for adding a IIS preset so we can merge the docs in the meantime. What do you think ?

As a best practice it would be best to only officially list deployment presets in nitro when they have a tested preset. This way we can make sure to support it in long term and avoid boilerplate.  (this comes from long history in pre nuxt 3 with outdated deploy docs.)
Adding a simple preset for IIS should be straight forward btw to generate required configs :)

Duplicated #1035


feature request: add data stewardship features

Provide cli utility for
https://docs.ethswarm.org/api/#tag/Stewardship

also see https://github.com/ethersphere/bee/issues/2862

These commands are already available:
swarm-cli pinning list
swarm-cli pinning reupload <root-hash>
swarm-cli pinning reupload-all


Better types compliance

First off, I'm going to list the types that are missing from this PR:
DECIMAL
ENUM
SET
GEOMETRY
GEOMETRYCOLLECTION
LINESTRING
MULTILINESTRING
POINT
MULTIPOINT
POLYGON
MULTIPOLYGON

The first three mentioned are the last ones I'm going to implement for now, as the GEOMETRY types are very, very complex. However, DECIMAL proved to be a bit tougher than expected, and I didn't want to delay getting this PR out since I'll be gone over the entire Thanksgiving holiday (technically I'm on it now but I promised a PR by the 25th). Besides the ones listed above, every other type is in this PR in some capacity (NCHAR and friends are missing, but that type can be replicated as it's just a charset/collation shortcut).
Some notes, because they're important. There are no tests. Changing the types has broken a fair amount, and I haven't bothered to fix those things yet before I can get started writing tests.
I'm making use of higher-level interfaces that are specific to some type or group of types. I played around with the idea of adding a new function to the Type interface that returned an attribute map, but decided against it since I wanted to be able to add more than raw attributes, and a map of functions just seemed too complex for the tradeoff.
Character sets and collations are complete, in that every single supported one in MySQL is here...which is why there are so many. I had many ideas on how to model this, but decided on using string constants as the base so that it's easy to reference them from outside code, and then have multiple maps for each specific attribute of a charset/collation. For example, if an implementer wants to specifically support the hebrew character set, then they can just reference CharacterSet_hebrew, rather than defining their own variable with custom_var, err := ParseCharacterSet("hebrew").
JSON is actually a very complex type, so I didn't really change anything from the logic that was already present before. This does mean that we don't truly support JSON, but implementing it right may take 1-2 full weeks, which I don't feel is worth it right now.
It pains me to say, but in the effort of full compliancy, I am modeling a BOOLEAN as an int8. But that's how MySQL does it, so it's probably for the best.
You'll notice that some types have global variables while others don't, and that's because some types don't make sense to reference without other information. Int8 can be a global type because it is fully self-contained in its information. Varchar, OTOH, requires a length to be meaningful.
On the topic of the string types, if any logic looks weird, then it's to mimic something that MySQL is doing. I did a lot of testing to see what MySQL actually did when the documentation wasn't clear, so some rules seem inconsistent by MySQL is apparently inconsistent. I'm also doing nothing with the character set and collation stuff regarding comparisons, so we just support utf8mb4 as a character set (which mimics Go's string type implementation to the best of my knowledge), and changing it to something else doesn't change any actual behavior. That can come later because that's A LOT to do...
The TIME type is weird, in that the minimum precision is microseconds, so I chose to base the entire type around that. All of the parseable variations are present as well. I was initially going to use time.Duration from Go, but it actually didn't suit the requirements. Working with it turned out to be more difficult than just using microseconds. For example, the only way to make a duration is to parse a string of a specific format, which would be parsing a string, then recreating a different string to parse, which is too much.
YEAR is the most useless type I've ever encountered in anything, but hey it's included and it's fully supported now, hooray...

@zachmu My 2nd commit has all of the changes since your first review.


Add a stateful button

Implement a button that can be passed a promise, and changes its style based on the state of the promise:

States:

promise is undefined - normal
promise is created - in progress
promise is successful - success
promise fails - fail

It should animate between states.

It should also accept a [state] input to override the current state.


Add allowsExternalPlayback Property for ios

Make the video control can disable allowsExternalPlayback for ios

I have updated the README.

Thanks for updating this!


Trello Dotnet Addin Load Error

I am having trouble while loading the dotnet dll. This is for an on premise implementation which is an upgrade from NAV 2013 to BC13. We have an AL codeunit that uses the assembly and executed from job que's(It is working fine in NAV 2013). After the upgrade to BC, job que is getting failed with an error:
Cannot create an instance of the following .NET Framework object: assembly Cristaux.TrelloNet, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=79d8255abbec0fdf, type .Label.
I already have changed the user setting's and declared the assembly type's as it should be done for AL, but no luck.
Any suggestion's?

@fortiuscva is the type you are trying to create a nested type? I think you are hitting a bug that was present in BC13. We suggest that you open a support case or file a bug in Collaborate, to ensure that all Business Central users benefit from your catch as soon as possible.
To open a support case, you can:

Open a support request to CSS through the PartnerSource portal
Contact your Service Account Manager (SAM) in your local subsidiary to understand what is included in your contract as of support incident and PAH (Partner Advisory Hours). Your SAM might also direct you "step by step" how to open a support request or how to get credentials, if this is the first time for you or your company

If you file the bug in Collaborate, remember to include steps to reproduce the issue, and the Business Central build number and country version you're using.

@atoader
Yes, it's a nested type. Thanks for your suggestion and will do.

I am closing this issue because it appears that it has been resolved. Please open a new issue if you can still reproduce it in our latest developer previews and reference the current issue.


Unable to view data collected in mongoDB using hygieia-feature-jira-collector in Hygieia UI

While configuring the Feature widget in Hygieia UI for JIRA, Project Name and Team Name fields doesn't show team/project names in text box suggestions from data collected in mongoDB.
MongoDB has right data in following tables -
collectors
collector_items
feature
scope
team
How to view the JIRA data in UI? Please find application.properties file for hygieia-feature-jira-collector -
# Database Name
dbname=jira_devdb
# dbname=jira_DB

# Database HostName - default is localhost
dbhost=localhost

# Database Port - default is 27017
dbport=27017

# MongoDB replicaset
dbreplicaset=false
# dbhostport=[host1:port1,host2:port2,host3:port3]

# Database Username - default is blank
dbusername=

# Database Password - default is blank
dbpassword=

# Logging File location
logging.file=./logs/jira.log

# PageSize - Expand contract this value depending on Jira implementation's
# default server timeout setting (You will likely receive a SocketTimeoutException)
feature.pageSize=100

# Delta change date that modulates the collector item task
# Occasionally, these values should be modified if database size is a concern
feature.deltaStartDate=2021-07-30T00:00:00.000000
feature.masterStartDate=2021-07-30T00:00:00.000000
feature.deltaCollectorItemStartDate=2021-07-30T00:00:00.000000

# Chron schedule: S M D M Y [Day of the Week]
feature.cron=0 * * * * *

# ST Query File Details - Required, but DO NOT MODIFY
feature.queryFolder=jiraapi-queries
feature.storyQuery=story
feature.epicQuery=epic

# JIRA CONNECTION DETAILS:
# Enterprise Proxy - ONLY INCLUDE IF YOU HAVE A PROXY
feature.jiraProxyUrl=proxy.ins.xxxxx.com
feature.jiraProxyPort=80
feature.jiraBaseUrl=https://xxxxxxxxxxx.aus.amer.xxxxxx.com/
feature.ssl.key-password=xxxxxxx
feature.jiraQueryEndpoint=rest/api/2/
# For basic authentication, requires username:password as string in base64
# This command will make this for you:  echo -n username:password | base64

feature.jiraCredentials=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

# OAuth is not fully implemented; please blank-out the OAuth values:

# feature.jiraOauthAuthtoken=
# feature.jiraOauthRefreshtoken=
# feature.jiraOauthRedirecturi=
# feature.jiraOauthExpiretime=

#############################################################################
# In Jira, general IssueType IDs are associated to various 'issue'
# attributes. However, there is one attribute which this collector's
# queries rely on that change between different instantiations of Jira.
# Please provide a string name reference to your instance's IssueType for
# the lowest level of Issues (for example, 'user story') specific to your Jira
# instance.  Note:  You can retrieve your instance's IssueType Name
# listings via the following URI:  https://[your-jira-domain-name]/rest/api/2/issuetype/
# Multiple comma-separated values can be specified.
#############################################################################
feature.jiraIssueTypeNames=Story

#############################################################################
# In Jira, your instance will have its own custom field created for 'sprint' or 'timebox' details,
# which includes a list of information.  This field allows you to specify that data field for your
# instance of Jira. Note: You can retrieve your instance's sprint data field name
# via the following URI, and look for a package name com.atlassian.greenhopper.service.sprint.Sprint;
# your custom field name describes the values in this field:
# https://[your-jira-domain-name]/rest/api/2/issue/[some-issue-name]
#############################################################################
feature.jiraSprintDataFieldName=customfield_12404-val

#############################################################################
# In Jira, your instance will have its own custom field created for 'super story' or 'epic' back-end ID,
# which includes a list of information.  This field allows you to specify that data field for your instance
# of Jira.  Note:  You can retrieve your instance's epic ID field name via the following URI where your
# queried user story issue has a super issue (for example, epic) tied to it; your custom field name describes the
# epic value you expect to see, and is the only field that does this for a given issue:
# https://[your-jira-domain-name]/rest/api/2/issue/[some-issue-name]
#############################################################################
feature.jiraEpicIdFieldName=customfield_12406-val

#############################################################################
# In Jira, your instance will have its own custom field created for 'story points'
# This field allows you to specify that data field for your instance
# of Jira.  Note:  You can retrieve your instance's storypoints ID field name via the following URI where your
# queried user story issue has story points set on it; your custom field name describes the
# story points value you expect to see:
# https://[your-jira-domain-name]/rest/api/2/issue/[some-issue-name]
#############################################################################
feature.jiraStoryPointsFieldName=customfield_12402-val

#############################################################################
# In Jira, your instance will have its own custom field created for 'team'
# This field allows you to specify that data field for your instance
# of Jira.  Note:  You can retrieve your instance's team ID field name via the following URI where your
# queried user story issue has team set on it; your custom field name describes the
# team value you expect to see:
# https://[your-jira-domain-name]/rest/api/2/issue/[some-issue-name]
#############################################################################
feature.jiraTeamFieldName=customfield_14700

# Defines how to update features per board. If true then only update based on enabled collectorItems otherwise full update
feature.collectorItemOnlyUpdate=false

#Defines the maximum number of features allow per board. If limit is reach collection will not happen for given board
feature.maxNumberOfFeaturesPerBoard=1000

# Set this to true if you use boards as team
feature.jiraBoardAsTeam=true

#Defines the number of hours between each board/team and project data refresh
feature.refreshTeamAndProjectHours=3

My api.properties file looks like -
# api.properties
dbname=jira_devdb
dbusername=
dbpassword=
dbhost=localhost
dbport=27017
dbreplicaset=false
# dbhostport=[host1:port1,host2:port2,host3:port3]
server.contextPath=/api
server.port=8000
logRequest=false
logSplunkRequest=false
# corsEnabled=false
# corsWhitelist=http://domain1.com:port,http://domain2.com:port
<EMAIL_ADDRESS>
# auth.expirationTime=[JWT expiration time in milliseconds]
# auth.secret=[Secret Key used to validate the JWT tokens]
# auth.authenticationProviders=[Authentication types you would like to enable, defaults to STANDARD, ex: STANDARD,LDAP]
# auth.ldapServerUrl=[LDAP Server URL, including port of your LDAP server]
# auth.ldapUserDnPattern=[LDAP User Dn Pattern, where the username is replaced with '{0}']

# LDAP Server URL, including port of your LDAP server
# auth.ldapServerUrl=[ldap://company.com:389]

# If using standard LDAP
# LDAP User Dn Pattern, where the username is replaced with '{0}'
# auth.ldapUserDnPattern=[uid={0},OU=Users,dc=your,dc=company,dc=com]

# If using ActiveDirectory
# This will be the domain part of your userPrincipalName
# auth.adDomain=[company.com]
# This will be your root dn
# auth.adRootDn=[dc=your,dc=company,dc=com]
# This will be your active directory URL (required for AD)

@Courtneyp123 @rvema @aochsner Kindly help me with this issue. Am i missing out anything?


custom onBlur not triggered when removing AutoComplete chip.

I'm trying to trigger a custom onBlur when removing a multiselect option (i.e. autocomplete chip). However, only the default formik onBlur is called.
E.g.:
import { useField, Field } from 'formik';
import { Autocomplete } from 'formik-material-ui-lab';
import { TextField } from '@material-ui/core';

export default AutoCompleteField = ( props ) => {
	const [ field, meta, helpers ] = useField( props.name );

	return (
		<Field
			name={ name }
			component={ Autocomplete }
			autoComplete={ true }
			autoSelect={ true }
			multiple={true}
			options={ options }
			onBlur={ ( event ) => {
				field.onBlur( event );
				if ( ! meta.error ) {
					// IRL perform GraphQL mutation
					console.warn( field.value );
				}
			} }
			renderInput={ ( params ) => (
				<TextField
					{ ...params }
					error={ !! meta.touched && !! meta.error }
					helperText={ !! meta.error ? meta.error : description }
					label={ label }
					variant="outlined"
					size={ size }
					fullWidth
					required={ required }
				/>
			) }
		/>
	);
}

In the above example, field.value will only get logged after an option is added (and the field is deselected). However, if a selected option is deleted (and the field is then deselected), nothing is logged to the console.

Hi @justlevine ,
I don't see any formik-material-ui code being used here? This should probably be asked on stackoverflow or the material-ui library

@cliedeman the <Field component={Autocomplete} /> is from formik-material-ui-lab. My assumption is that the Autocomplete component isn't accepting the custom onBlur() and is instead using the default - which would make it a bug, no?

Hi @justlevine my mistake I missed that
I created a codesandbox - https://codesandbox.io/s/inspiring-glade-rv9g7
For me the blur alert gets fired


[Avatar] Handling image src with broken link

Problem description
Is there any way to handle broken img src link inside avatar? Some sort of "onError" tag.
Steps to reproduce
Just put a broken img link inside
Versions

Material-UI:
React:
Browser:

We don't provide any way to handle broken image source for the Avatar component.
That sounds like a broader issue. That would make sense to create a side project to handle this problem. I'm closing this issue as I don't think that we should provide it here.
If you find something relevant. We could add it to the documentation.

Doing with a simple  I use like that:
<img src={record.picture} onError={(e)=>{e.target.src="http://mydomain.com/img/user_null.png"}}/>
If material-ui would provide a error callback loading the src parameter, would be great.

@TiagoGouvea is your example actually working or is it a proposal?
If it's the first one, we should definitly make it work.

@oliviertassinari my exemple work fine to img objects. I think can be easy to put it on avatar, where, some times, we don't have the person picture anymore, or the image are stored on a third party server.

I have created a reproduction test case to illustrate https://jsfiddle.net/69z2wepo/65368/.
On the next branch, you should be able to provide a onError callback property.

Is this still an active/open issue?

I feel like it would be valuable to have an example that show how to provide that onError callback, something simple.

A new iteration on this problem can found at #16161.


Lazy not supported

Describe the bug
A clear and concise description of what the bug is.
It throw an error when the schema contains a Lazy input:
[2021-08-07T13:41:09.587Z] error TypeError: Cannot read property 'filter' of undefined
    at /srv/app/node_modules/yup-by-example/src/yup-by-example.js:41:8
    at Array.forEach (<anonymous>)
    at describe (/srv/app/node_modules/yup-by-example/src/yup-by-example.js:36:36)
    at ObjectSchema.yupByExample (/srv/app/node_modules/yup-by-example/src/yup-by-example.js:21:15)
    at /srv/app/node_modules/yup/lib/schema.js:197:94
    at Array.reduce (<anonymous>)
    at ObjectSchema._cast (/srv/app/node_modules/yup/lib/schema.js:197:69)
    at ObjectSchema._cast (/srv/app/node_modules/yup/lib/object.js:82:23)
    at ObjectSchema.cast (/srv/app/node_modules/yup/lib/schema.js:185:33)
    at ObjectSchema._cast (/srv/app/node_modules/yup/lib/object.js:125:15)
    at ObjectSchema.cast (/srv/app/node_modules/yup/lib/schema.js:185:33)
    at /srv/app/node_modules/yup/lib/array.js:66:42
    at Array.map (<anonymous>)
    at ArraySchema._cast (/srv/app/node_modules/yup/lib/array.js:65:29)
    at ArraySchema.cast (/srv/app/node_modules/yup/lib/schema.js:185:33)
    at ObjectSchema._cast (/srv/app/node_modules/yup/lib/object.js:125:15)

To Reproduce
Minimal steps to reproduce the behavior, ideally including a well formatted code snippet or link to a gist.
const yup = require('yup');
const yupByExample = require('yup-by-example');
const { mapValues } = require("lodash");

const customFieldsSchema = yup.lazy(map => yup.object(
  mapValues(map, (_, key) => {
    return yup.object({
      key: yup.string().oneOf([key]).min(1).max(30).required(mixedYup.required).example(),
      placeholder: yup.string().min(0).max(30).example(),
      show: yup.boolean(mixedYup.notType).required(mixedYup.required).example(),
      value: yup.string().min(0).max(30).example(),
    }).example();
  })
).example());

const formSchema = yup.object({
  customFields: customFieldsSchema,
  message: yup.string().min(1).max(100).example(),
}).example();

const schemaExample = await yupByExample.TestDataFactory.init().generateValid(formSchema);

Expected behavior
A clear and concise description of what you expected to happen.
Generate a valid example.
Desktop (please complete the following information):

OS: Linux 5.10.25-linuxkit (Docker)
Node / Browser version: node 12.20.1
Library Version: 3.1.2

Additional context
I think this case is just missing. However, since lazy is… lazy, it could be difficult to support it. Maybe add a way to generate some "Lazy" fields during generation

Hi @Heziode,
Thanks for the bug report. At the very least we should either report a better error, or potentially suppress it so a partially valid document could be generated. I'll have to dig into the internals of yup's lazy implementation to see if we can properly support though.

 I can't see a way to generate values though. Will release to npm shortly


Error: npm install exited with code 1

Tried several times and got the same error, even with other templates. I am a Termux user.

when I try to install manually npm i

Unless we’re actually using gifsicle somehow (I doubt we are), figuring out how to remove it from the dependencies or marking it under optionalDependencies would probably be the cleanest solution.


Insert secret based on secret value key

Is your feature request related to a problem? Please describe.
Let's say you have a JSON block of key/values in a single AWS Secret Manager secret.
{
    "account_id":"123456",
    "account_name": "test-account"
}

Can/could the plugin allow you to retrieve this secret and then insert based on a selected key?
apiVersion: v1
kind: Secret
metadata:
  name: aws-example
  annotations:
    avp.kubernetes.io/path: "some-path/secret"
    avp.kubernetes.io/secret-version: "AWSCURRENT"
    avp.kubernetes.io/secret-key: "account_name"

Alternatives
I thought we might be able to do this within a helm chart (dump secret into a helm value, then have a helper that'll break it up), but may make it a lot more complicated to understand.
Additional context
Secrets within AWS Secret Manager are not exactly cheap at scale, so I was hoping to stuff much more data into 1 or 2 secrets.

Hi @sidewinder12s! If I understand the problem, you should be able to accomplish what you want using inline paths and the jsonParse modifier https://argocd-vault-plugin.readthedocs.io/en/stable/howitworks/#jsonparse

Yes, from reading that looks like jsonParse + jsonPath may do what I'm looking for; let me give that a try after the holidays.

I find the approach taken by BanzaiCloud vault-secrets-webhook much more intuitive (i.e. it detects vault:... everywhere, even in-line, and makes the correct replacements) and flexible (different values can come from different Vault paths):

https://banzaicloud.com/docs/bank-vaults/mutating-webhook/configuration/#define-multiple-inline-secrets-in-resources

@gw0 I appreciate your comment. And BanzaiClouds vault-secrets-webhook is a great alternative. However, we do support different values can come from different Vault paths and can detects vault:... everywhere, even in-line, and makes the correct replacements our just having a different syntax.
We support inline paths https://argocd-vault-plugin.readthedocs.io/en/stable/howitworks/#inline-path-placeholders very similarly and also have modifiers https://argocd-vault-plugin.readthedocs.io/en/stable/howitworks/#jsonpath to be able to parse out json that may be living as the value to a specific key.
Hopefully that helps clear up some confusion.


Make binary self-contained

Instead of generating openapi-spec.go, make it possible for users to download a single binary and not need a Go build environment.
So instead of using code generation, build in the cli dependencies and abstract the openapi spec environment.

I've spent some time thinking about this idea. I like the flexibility of pointing the executable to an OpenAPI file and having it Just Work:tm: but I haven't come up with good solutions for:

How do you deliver a single zero-dependency executable for users to download? I don't want them to download this app plus my OpenAPI file, I just want one thing that works for my users.

Right now you can hook into various parts of the CLI, request/response, etc to build customization and high level commands. How would this work without a compilation step?

to get the ball rolling, I have some questions, starting with:

what would it look like to switch the current codebase from a hardcoded cli interface to one that reads from a config file instead?
what translation is necessary to generate an in-memory representation of an api's semantics that could make it read an openapi file directly, instead of from a config file?  (which you're basically doing already in order to generate the compileable environment)

Would creating a containerized version of openapi-cli-generator be feasible?
That way the user technically has everything they need but packaged up in a nice container that they can ask to generate CLIs and completely purge the container from their machine once they've done everything they want.

@danielgtaylor
Its a weird issue but i can see its usefulness.
there is a openapiv3 parser that can do runtime parsing.
https://github.com/getkin/kin-openapi
so then the developer woudl just have to implement handlers
Not sure if this hits the core of the use case ?


Is it possible to generate a unique address

Is it possible to generate a classic address with a unique set of characters without brute force?
by brute force I mean
while True:
    wallet = Wallet.create()
    if "earl" in wallet.classic_address:
        print("found")
        print(wallet.classic_address, wallet.seed)
    else:
        print("not found")

if there is any other way please share

https://github.com/WietseWind/xrp-vanity-generator


Helm install does not install - no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1" ensure CRDs are installed first

Hi,
Doing a fresh installation first time into a kubernetes 1.26.10 cluster and this fails to install from Helm Charts
no matter what helm command I use this fails to install, it looks like your helm charts are not static (https://github.com/redhat-cop/vault-config-operator/tree/main/config/helmchart)  and don't include the CRDs (maybe?)
$ helm repo add vault-config-operator https://redhat-cop.github.io/vault-config-operator
$ helm repo update
$ helm search repo vault-config-operator
NAME                                            CHART VERSION   APP VERSION     DESCRIPTION
vault-config-operator/vault-config-operator     v0.8.25         v0.8.25         Helm chart that deploys vault-config-operator

$ helm install --namespace vault-config-operator --create-namespace vault-config-operator vault-config-operator/vault-config-operator
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: resource mapping not found for name: "vault-config-operator-controller-manager-metrics-monitor" namespace: "vault-config-operator" from "": no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1"
ensure CRDs are installed first

$ helm install vault-config-operator/vault-config-operator --generate-name
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: resource mapping not found for name: "vault-config-operator-controller-manager-metrics-monitor" namespace: "default" from "": no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1"
ensure CRDs are installed first

Current workaround is to set enableMonitoring=false
$ helm install --namespace vault-config-operator --create-namespace vault-config-operator vault-config-operator/vault-config-operator --set enableMonitoring=false


Helper HTML opening guides disappeared

Prerequisites

[X ] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
the first few times I used atom I was able to get the starter code for html projects as a selecter. And then it stopped doing that.
Steps to Reproduce

type html
if Atom doesn’t offer to give you the starter code ( ...) then this is the problem

Expected behavior: [What you expect to happen]
atom offers to give the starter code (which starts with “ ...)
Actual behavior: [What actually happens]
atom doesn’t offer to give anything
Reproduces how often: [What percentage of the time does it reproduce?]
90%
Versions
1.24
I’m using macOS High Sierra version 10.13.3

.

.

yé

Thanks for the report - just to clarify, are you working in a .html file or a new file?  If you're in a new file, is the grammar selector (ctrl-shift-l) set to HTML?

Apparently grammar selecter is not set to html; thanks!
On Tue, Mar 6, 2018 at 10:18 AM Robert Sese<EMAIL_ADDRESS>wrote:

Thanks for the report - just to clarify, are you working in a .html file
or a new file? If you're in a new file, is the grammar selector (
ctrl-shift-l) set to HTML?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/atom/atom/issues/16890#issuecomment-370876698, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AhxJI9kMSIICT0dkqumDnbmMBXqIWWtGks5tbtLzgaJpZM4SeQvY
.

No problem, glad that helped 👍


Describe the concept and propose an appropriate name for the work within the repository

Problem description

Within TSC meeting at 2024-09-05 the creation of the API Repository within the Sub Project of Connectivity Insights was approved with the following request to the project team. The background is that the term "QualityByDesign" and the concept behind it is much broader then a single API and might include APIs like connectivity-insights and quality-on-demand and how they are used in combination. It is open if the concept of QualityByDesign actually will need the definition of new APIs or will be more an overarching service achieved by already defined APIs with some modifications.
Expected action

The TSC proposed the following steps:

@benhepworth provides user story/ies,
(Project team) Discuss the concept & propose rename
(TSC) Adjust the name

Additional context

Please cf. with the TSC minutes (https://lf-camaraproject.atlassian.net/wiki/x/5jDe), also regarding the further comments on the proposal.

Herbert,
I’ve been out of town this week at a conference. Will circle back to the QbD stuff next week.
-Ben

From: Herbert Damker @.>
Sent: Thursday, September 26, 2024 7:25:00 AM
To: camaraproject/QualityByDesign @.>
Cc: Ben Hepworth @.>; Assign @.>
Subject: Re: [camaraproject/QualityByDesign] Describe the concept and propose an appropriate name for the work within the repository (Issue #3)
Assigned #3https://protection.greathorn.com/services/v2/lookupUrl/963d88a7-7967-4621-b61b-368bf42c3a9c/327/0901987c47dac8e8d2ac8d162f9834f38d5b1b93?domain=github.com&path=/camaraproject/QualityByDesign/issues/3 to @benhepworthhttps://protection.greathorn.com/services/v2/lookupUrl/afe6b23a-5ff5-437b-aa80-87aaa09d3328/327/0901987c47dac8e8d2ac8d162f9834f38d5b1b93?domain=github.com&path=/benhepworth.
—
Reply to this email directly, view it on GitHubhttps://protection.greathorn.com/services/v2/lookupUrl/85965baa-4b82-4a7f-a95c-3435c67b9291/327/0901987c47dac8e8d2ac8d162f9834f38d5b1b93?domain=github.com&path=/camaraproject/QualityByDesign/issues/3, or unsubscribehttps://protection.greathorn.com/services/v2/lookupUrl/15de0a01-6521-48b2-bef3-a1debbe7bc97/327/0901987c47dac8e8d2ac8d162f9834f38d5b1b93?domain=github.com&path=/notifications/unsubscribe-auth/A54HEE6A6ZZXHIZKILLQSY3ZYPVIZAVCNFSM6AAAAABO4ZHUT6VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGQYTINRZGU4DMNA.
You are receiving this because you were assigned.Message ID: @.***>

Discussion started for name: https://github.com/camaraproject/QualityByDesign/discussions/8

hi @hdamker - see discussion https://github.com/camaraproject/QualityByDesign/discussions/8 - the name chosen is "Session Insights"

Link to meeting notes from last Connectivity Insights meeting where the new name was decided upon: https://lf-camaraproject.atlassian.net/wiki/x/mIDoAQ


Postgresql error messages are swallowed

Not sure if this problem is in db-operator or in lib/pq.
I tried to add another extension to a postgresql flexible server on azure, e.g. like this:
apiVersion: kinda.rocks/v1beta1
kind: Database
metadata:
  name: bar
  namespace: foo
spec:
  postgres:
    extensions:
    - timescaledb
 [...]

Before that I made sure that the extension was added to the server parameters on azure.
Error message in the CR:
Events:
  Type     Reason          Age                  From                 Message
  ----     ------          ----                 ----                 -------
  Warning  FailedCreating  57m (x4 over 60m)    database-controller  can not add extension - driver: bad connection
  Warning  FailedCreating  101s (x56 over 56m)  database-controller  can not add extension - driver: bad connection

Error log for the db-operator pod:

time="2024-01-24T18:00:35Z" level=info msg="DB: namespace=foo, name=bar start Creating"
time="2024-01-24T18:00:35Z" level=error msg="DB: namespace=foo, name=bar failed Creating - can not add extension - driver: bad connection"
2024-01-24T18:00:35Z    DEBUG    events    can not add extension - driver: bad connection    {"type": "Warning", "object": {"kind":"Database","namespace":"foo","name":"bar","uid":"dcf10af1-a66b-4996-9e94-bd1e0f399854","apiVersion":"kinda.rocks/v1beta1","resourceVersion":"238358903"}, "reason": "FailedCreating"}

When I try to create the extension manually (I used IntelliJ for this), I receive the actual error message:

foo-bar> CREATE EXTENSION IF NOT EXISTS "timescaledb"
[2024-01-24 18:40:39] [XX000] FATAL: extension "timescaledb" must be preloaded
[2024-01-24 18:40:39] Hint: Please preload the timescaledb library via shared_preload_libraries.
[2024-01-24 18:40:39] This can be done by going to the portal and adding
[2024-01-24 18:40:39] 'timescaledb' to the "shared_preload_libraries" server parameter.
[2024-01-24 18:40:39] An I/O error occurred while sending to the backend.

So ok, I messed up the timescale setup on the server but I think the driver: bad connection error is misleading here.
IMHO this should be somehow propagated to the status of the Database CR. Or maybe to the FailedCreating event? no idea whats more appropriate.

It shouldn't be swallowed. I don't have Azure anymore, so I'll try to reproduce it on my generic instance.
I remember that while creating extensions without allowing them on the Azure side, I had correct error messages, and I think that it might be a bigger problem that errors being swallowed.
My bet atm would be that db-operator is not freeing up connections as it should.
It should've been fixed in the current version, but if it's not, I'll take care of it. Which version are you using?
Also, though I'll try to reproduce it, may I ask you to do the same on your current version, and if it's reproducible, send the full log and also list all the connection that are made by db-operator on the server?
Also, depending on your version, if it's not the latest one, could you upgrade and check if this error is still there?
Thanks

My bet atm would be that db-operator is not freeing up connections as it should.

Forgot to mention: That was my first bet too, after the error occured I restarted the operator pod to make sure there is no weird state hanging around but the error then instantly appeared again after a few seconds.
@robert-bublik-gcx also mentioned we should update to the latest version first because a lot has changed, right now we are still running on v1.16.2 so we'll switch to the latest version first and then see if it persists.

The thing is that restart wouldn't help, because it would get into the same situation again.
It was fixed by this commit: https://github.com/db-operator/db-operator/commit/1a3d2cc8a5ccce1eb4fb22e1d745de2ffbb22570
And released in v2.0.0

@mario-steinhoff-gcx I'll close this issue, if after upgrading db-operator you have the same problelm, feel free to re-open

But after all the extensions was installed after you got the real error? Or it can't be installed by the db-operator at all?

I've just tried with a generic instance, where I don't have timescale extensions, and this is the event I got:
9s          Warning   FailedCreatingOrUpdating   database/postgres-db-3      can not add extension - pq: extension "timescaledb" is not available

And the bad connection is still not something that is coming from the db-operator, but from the pq driver. Since I don't have an Azure account, I'll have to guess.

What is the limit of connection on your instance and how many connections do you have?
Don't you have any logs from the postgres server?

@bobertrublik Are you aware of this problem? If so, maybe you could give some context or check what can be the reason?

The main issue was that Azure doesn't really support the Timescale community edition that was supposed to be installed in Azure which caused the above problems. This issue can be closed.


Ignore errors when saving hash history state if  window.sessionStorage is undefined in release 1.17.X

I am using history release 1.17.0 and we must support some users which have disabled the storage in IE11. This issue was fixed in the history release 3.0.0.
https://github.com/ReactTraining/history/issues/295
https://github.com/ReactTraining/history/commit/3492e6c5350b4a1977aeabe9a11c2660bb0923d9#diff-405f4be94b4461d2c6e3f7726ae4698f
I can not update the library version right now because I have a lot of dependencies. I am planning to start the library update asap but for now I want to insert the same fix present in the version 3.0.0 has part of the 1.17.X.

1.17 is a 2.5 year old release and is no longer maintained. Your best bet would be to fork and make the changes yourself.

you are right. I was analyzing that option because 1.17 is no longer maintained.
But I prefer to spent some times updating all the libraries.
Thanks anyway, I will close the issue.


remove any option validation support for bool

It clearly does not make sense for a bool option to be validated as it can only be true or false.

BindValidatedBool
BindValidatedBoolSlice

Also, some some types are missing Slice definition because they are missing the GenerateSlice flag, so correct them too.

tidied up slice member names on WidgetParameterSet, to make more consistent and set the GenerateSlice on he types from which it was accidentally missing.


Double entry in method list

When trying to create a class extension on the class Class, I got this:

The expression (Class selectors select: [ :k | k beginsWith: 'isGenerated' ]) size returns 1.

We reverted the change for now as it was causing a slowdown

Limited the change to only affect the inherited methods stream.


Auto apply dataclass decorator to subclasses

Addressing #25

I tried but failed. Giving up for now.


Feature request: allow helm template to fetch

helm template doesn't appear to support a --version flag for specifying a discreet release of a chart in the manner that helm install does.
Would this be a reasonable thing to add?

If I recall, the --version flag in helm install specifies the version of the chart to fetch from the chart repository. Because helm template only interacts with on-disk charts, there is no need for the --version field. That is, unless someone contributes support for fetching charts on-the-fly to helm template... wink wink ;)
I hope that makes sense! Let me know if there's something else that the --version flag would address that I'm missing. Thanks!

Use helm fetch then helm template

fixed in Helm 3. helm install and helm template now share the same codebase and are identical in behaviour, so helm template will now fetch remote charts before templating. For example:
><> ./bin/helm template wordpress stable/wordpress | head -n 10
---
# Source: wordpress/charts/mariadb/templates/secrets.yaml
apiVersion: v1
kind: Secret
metadata:
  name: wordpress-mariadb
  labels:
    app: "mariadb"
    chart: mariadb-5.2.5
    release: "wordpress"


dev: Remove MANIFEST.in

The only file we list, LICENSE, is included in the sdist regardless of
MANIFEST.in, thanks to setuptools_scm. Furthermore, bdist_wheel ignores
MANIFEST.in:
https://packaging.python.org/tutorials/distributing-packages/#manifest-in
Fixes #90.

:+1:


upgrade jss module

Hi,
current version of jss has node engine version stucks to 6.
could you please update jss module to 5.5.5?
thanks

This would be really great. I think this is causing some issues in my setup now.

Updated to 6.3.0 in 1.5.3


TC236: Farms statistic

Farms statistic shows 0, even though there are 131 farms on testnet.
https://app.testlodge.com/a/26076/projects/40893/suites/193853?expand_section=305792#case_3354999

explorer is back


dataset windows don't work in batches

Please make sure that this is a bug. As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):yes (see below)
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):Windows 10 64 bit
TensorFlow installed from (source or binary): pip install tensorflow, pip install tensorflow-nightly
TensorFlow version (use command below):Currently on nightly - v1.12.1-43485-g0af213f96c 2.4.0-dev20201012 , but also happens on 2.3 release.
Python version: Python 3.8.5 (default, Sep  3 2020, 21:29:08) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc.
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: Tried 10.1 and 11.0
GPU model and memory:  GeForce RTX 2080 with Max-Q Design computeCapability: 7.5
coreClock: 1.23GHz coreCount: 46 deviceMemorySize: 8.00GiB deviceMemoryBandwidth: 357.69GiB/s

Describe the current behavior
If I create a dataset of windowed data, then batch it up using tf.data.Dataset.window(5,1,1,True).batch(10,True) the output of iterating the resulting dataset doesn't evaluate as a tensor and I can't run model.fit() on it. It throws an exception:
TypeError: Inputs to a layer should be tensors. Got: <tensorflow.python.data.ops.dataset_ops._NestedVariant object at 0x000001BC82925250>
Describe the expected behavior
This not working basically breaks the tf.data loading mechanism for windowed data for me. I want to be able to create a preprocessing pipeline that does the following:

load some data
apply a sliding window to the data
batch the data
prefetch the data
run model.fit

Standalone code to reproduce the issue
import tensorflow as tf

# make a source dataset
source_data=tf.data.Dataset.range(100)
# take two windows of different size onto the source dataset as
# our inputs and outputs
# and batch them up into 20 data points
inputs=source_data.window(10,1,1,True).batch(20,True)
targets=source_data.window(5,1,1,True).batch(20,True)
# zip this into a single training data set
training_set=tf.data.Dataset.zip((inputs,targets))
# a very simple network that takes input of [batch_size,10] and outputs [batch_size,5]
inLayer=tf.keras.layers.Input(shape=(10,),batch_size=20)
outLayer=tf.keras.layers.Dense(5)(inLayer)
model=tf.keras.Model(inputs=inLayer,outputs=outLayer)
model.compile(optimizer='adam',loss='mse')
# this fit call fails
model.fit(training_set)

Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.
Traceback (most recent call last):
  File "d:/machinelearning/predictiveaudio/hellogoodbye/testtf.py", line 20, in <module>
    model.fit(training_set)
  File "C:\Users\micro\miniconda3\envs\tf23\lib\site-packages\tensorflow\python\keras\engine\training.py", line 1081, in fit
    tmp_logs = self.train_function(iterator)
  File "C:\Users\micro\miniconda3\envs\tf23\lib\site-packages\tensorflow\python\eager\def_function.py", line 828, in __call__
    result = self._call(*args, **kwds)
  File "C:\Users\micro\miniconda3\envs\tf23\lib\site-packages\tensorflow\python\eager\def_function.py", line 871, in _call
    self._initialize(args, kwds, add_initializers_to=initializers)
  File "C:\Users\micro\miniconda3\envs\tf23\lib\site-packages\tensorflow\python\eager\def_function.py", line 725, in _initialize
    self._stateful_fn._get_concrete_function_internal_garbage_collected(  # pylint: disable=protected-access
  File "C:\Users\micro\miniconda3\envs\tf23\lib\site-packages\tensorflow\python\eager\function.py", line 2976, in _get_concrete_function_internal_garbage_collected
    graph_function, _ = self._maybe_define_function(args, kwargs)
  File "C:\Users\micro\miniconda3\envs\tf23\lib\site-packages\tensorflow\python\eager\function.py", line 3371, in _maybe_define_function
    graph_function = self._create_graph_function(args, kwargs)
  File "C:\Users\micro\miniconda3\envs\tf23\lib\site-packages\tensorflow\python\eager\function.py", line 3206, in _create_graph_function
    func_graph_module.func_graph_from_py_func(
  File "C:\Users\micro\miniconda3\envs\tf23\lib\site-packages\tensorflow\python\framework\func_graph.py", line 990, in func_graph_from_py_func
    func_outputs = python_func(*func_args, **func_kwargs)
  File "C:\Users\micro\miniconda3\envs\tf23\lib\site-packages\tensorflow\python\eager\def_function.py", line 634, in wrapped_fn
    out = weak_wrapped_fn().__wrapped__(*args, **kwds)
  File "C:\Users\micro\miniconda3\envs\tf23\lib\site-packages\tensorflow\python\framework\func_graph.py", line 977, in wrapper
    raise e.ag_error_metadata.to_exception(e)
TypeError: in user code:

    C:\Users\micro\miniconda3\envs\tf23\lib\site-packages\tensorflow\python\keras\engine\training.py:790 train_function  *
        return step_function(self, iterator)
    C:\Users\micro\miniconda3\envs\tf23\lib\site-packages\tensorflow\python\keras\engine\training.py:780 step_function  **
        outputs = model.distribute_strategy.run(run_step, args=(data,))
    C:\Users\micro\miniconda3\envs\tf23\lib\site-packages\tensorflow\python\distribute\distribute_lib.py:1268 run
        return self._extended.call_for_each_replica(fn, args=args, kwargs=kwargs)
    C:\Users\micro\miniconda3\envs\tf23\lib\site-packages\tensorflow\python\distribute\distribute_lib.py:2734 call_for_each_replica
        return self._call_for_each_replica(fn, args, kwargs)
    C:\Users\micro\miniconda3\envs\tf23\lib\site-packages\tensorflow\python\distribute\distribute_lib.py:3355 _call_for_each_replica
        return fn(*args, **kwargs)
    C:\Users\micro\miniconda3\envs\tf23\lib\site-packages\tensorflow\python\keras\engine\training.py:773 run_step  **
        outputs = model.train_step(data)
    C:\Users\micro\miniconda3\envs\tf23\lib\site-packages\tensorflow\python\keras\engine\training.py:739 train_step
        y_pred = self(x, training=True)
    C:\Users\micro\miniconda3\envs\tf23\lib\site-packages\tensorflow\python\keras\engine\base_layer.py:989 __call__
        input_spec.assert_input_compatibility(self.input_spec, inputs, self.name)
    C:\Users\micro\miniconda3\envs\tf23\lib\site-packages\tensorflow\python\keras\engine\input_spec.py:201 assert_input_compatibility
        raise TypeError('Inputs to a layer should be tensors. Got: %s' % (x,))

    TypeError: Inputs to a layer should be tensors. Got: <tensorflow.python.data.ops.dataset_ops._NestedVariant object at 0x000001BC82925250>

I have tried in colab with TF nightly version(2.4.0-dev20201016) and was able to reproduce the issue.Please, find the gist here.Thanks!

I think you need something like: source_data.window(10,1,1,True).map(lambda ds: ds.batch(20))))).
window maps to datasets, not to tensors, so you can't immediatly batch after window.
(I'm not with the tensorflow team)

@amitport that would batch each window rather than batching the windowed data points. Batch is a dataset operation, so it should work on all datasets including those returned by window.
There is a nasty hack workaround using flat_map, but it copies all the data and on my machine it made the preprocessing way slower than with the old keras.sequence thing.

so your batches are groups of datasets (each window is a dataset), I'm not sure what you're trying to do, but model fit needs to get something that produces actual batches

The batches should contain a series of values which are a sliding window over the underlying dataset. i.e. if I have a dataset [1,2,3,4,5,6,7,8,9,10], window size 3, batch size 2, I want tensors to come out like:
[ [ 1,2,3],[2,3,4] ]
[ [3,4,5],[4,5,6] ]
This is surely what window is for? It is to transform a dataset into another dataset, just like batch is?
I can't see what window is useful for if it doesn't work to window time series data.
Essentially, it seems like when you are producing datasets using dataset transformations, a basic minimum expectation is that when you transform a dataset, the resulting transformed dataset should itself be able to generate input to model.fit?
Maybe it needs a different window method, but realistically, there's no reason why it shouldn't be possible to have a transformation which is used by model.fit which goes from a collection of N datasets of size AxB to tensors in the form NxAxB, without having to do flat_map on the structure.
The horrible workaround is to do a flat_map then batch twice. Which at least on my dataset seems slow.
d=tf.data.Dataset.range(10)
w=d.window(3,1,1)
w = w.flat_map(lambda x:x).batch(3).batch(2) #flat map but do nothing to values, then batch twice to get what model.fit expects from windowed datasets

same problem faced as @joemarshall , isn't there any provision to directly make batches of windows?

Was able to reproduce your issue in Tensorflow 2.5, please find the gist here. Thanks!

Facing this exact issue, are there any updates on this?

@ymodak any updates on this? Unfortunately, flat_map hack does not work with dict.

Same here. At least what is the temporary solution?

Same here. At least what is the temporary solution?

My workaround solution:
keys=('a', 'b', 'c')
window_size = 2
ds = tf.data.Dataset.from_tensor_slices(
    {'a': [1, 2, 3],
     'b': [4, 5, 6],
     'c': [7, 8, 9]})

# map dict to Dataset
ds = ds.flat_map(lambda features_dict: tf.data.Dataset.zip(tuple([tf.data.Dataset.from_tensors(v) for v in features_dict.values()])))
# get properly windowed Dataset
ds = ds.window(window_size, shift=1, drop_remainder=True)
ds = ds.flat_map(lambda *features_ds: tf.data.Dataset.zip(tuple([f.batch(window_size) for f in features_ds])))
# map back to dict
ds = ds.map(lambda *features_ds_tuple: {key: f for key, f in zip(keys, features_ds_tuple)})

for v in ds:
    print(f"iteration: ",  v)

Have you tried using tf.keras.utils.timeseries_dataset_from_array? If you're starting off from a numpy array it will give you a tf.data.Dataset which you can then batch, zip, etc...

Hi,
Could you please try to use tf.keras.utils.timeseries_dataset_from_array and let us know if it  working.
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow space.


[PB-701] feat/display folder size on shared landing page

Add get shared folder size

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

Comparison is base (9448e6d) 65.65% compared to head (b69e4ee) 65.62%.

Files
Patch %
Lines

src/drive/share/index.ts
50.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #188      +/-   ##
==========================================
- Coverage   65.65%   65.62%   -0.03%
==========================================
  Files          39       39
  Lines        1083     1085       +2
  Branches      150      150
==========================================
+ Hits          711      712       +1
- Misses        330      331       +1
  Partials       42       42

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


Code Quality: Updated dependencies

Resolved / Related Issues

[ ] Were these changes approved in an issue or discussion with the project maintainers? In order to prevent extra work, feature requests and changes to the codebase must be approved before the pull request will be reviewed. This prevents extra work for the contributors and maintainers.
Closes #issue...

Validation
How did you test these changes?

[X] Did you build the app and test your changes?
[ ] Did you check for accessibility? You can use Accessibility Insights for this.
[ ] Did you remove any strings from the en-us resource file?

[ ] Did you search the solution to see if the string is still being used?

[ ] Did you implement any design changes to an existing feature?

[ ] Was this change approved?

[ ] Are there any other steps that were used to validate these changes?

Thank you


Verify

Abhishek,
I verified a few bugs and automated the testcases. Can you do a review?

Rahul

Forgot to mention that I had a clean functional run

Looks good. +1

Thanks Abhishek!


Platform designer ipa

Adding a New Sample(s)
Description
This code sample demonstrates how to use an IP Authoring kernel with Platform designer to target an Arria 10 SoC board.
Checklist
Administrative

[ ] Review sample design with the appropriate Domain Expert:
[x] If you have any new dependencies/binaries, inform the oneAPI Code Samples Project Manager

Code Development

[ ] Implement coding guidelines and ensure code quality. see wiki for details
[ ] Adhere to readme template
[ ] Enforce format via clang-format config file
[ ] Adhere to sample.json specification. https://github.com/oneapi-src/oneAPI-samples/wiki/sample-json-specification
[ ] Ensure/create CI test configurations for sample (ciTests field) https://github.com/oneapi-src/oneAPI-samples/wiki/sample-json-ci-test-object
[ ] Run jsonlint on sample.json to verify json syntax. www.jsonlint.com

Security and Legal

[ ] OSPDT Approval (see Project Manager for assistance)
[ ] Compile using the following compiler flags and fix any warnings, the falgs are: "/Wall -Wformat-security -Werror=format-security"
[x] Bandit Scans (Python only)
[ ] Virus scan

Review

[ ] Review DPC++ code with Paul Peterseon. (GitHub User: pmpeter1)
[ ] Review readme with Tom Lenth(@tomlenth) and/or Project Manager
[ ] Tested using Dev Cloud when applicable

You need to update you branch with master's content to be able to have a clean diff in this PR
Otherwise I can't really tell what is from your change (you can look at the "files changed" tab

Do you need the files from /output_files?  All of those are generated during compilation so I normally don't see it checked in as sources.  If you need the .sof as a known working .sof file then I normally move that to a /bin directory after compilation and check it in.


kml overlay should show the selected color close to the filename

It is difficult with multiple kml files in a list to find the right one. A double click opens the navigation to updates,

We want right off the filename a box with the color used and optional that it can be changed by a click
Same for the line style.
 I would like to give try it.

@SagarBapodara @risehr is working on this.


update content/zh/docs/concepts/sservices-networking/dual-stack.md

Update zh docs for release-1.18

/assign @tengqm

/lgtm

@tengqm @tanjunchen @markthink
Incorrect reviewers assigned before, please take a look , thanks!

FYI - I also have these changes up for review on 1.18 in the English docs. https://github.com/kubernetes/website/pull/20656

@lachie83 Thank you, I'd push an additional commit to follow your changes as soon as your PR get merged.

/hold
Waiting for #20656

/unhold

/lgtm

/LGTM

/approve