Module not found on building Webpack

Bug report

What is the current behavior?
Module not found on building Webpack
If the current behavior is a bug, please provide the steps to reproduce.
Following is my config

const path = require("path");

const BUILD_PATH = path.join(__dirname, "./out");

// See https://github.com/Microsoft/vscode/blob/master/extensions/shared.webpack.config.js
module.exports = {
    mode: "production",
    target: "node",
    node: {
        __dirname: false
    },
    entry: {
        extension: ["./src/extension"]
    },
    output: {
        path: BUILD_PATH,
        filename: "[name].js",
        libraryTarget: "commonjs",
    },
    resolve: {
        extensions: [".ts", ".js"]
    },
    externals: {
        "vscode": "commonjs vscode"
    },
    module: {
        rules: [
            {
                test: /\.ts$/,
                use: [
                    {
                        loader: "ts-loader"
                    }
                ],
                exclude: /node_modules/
            },
            {
                test: /\.mjs$/,
                type: "javascript/auto",
                use: []
            }
        ]
    },
    stats: {
        children: false,
        modules: false
    }
};

I am getting the following error:
/Documents/code-settings-sync  v3.2.1 ✗                                                                                15d ⚑ ◒
▶ npm run webpack

><EMAIL_ADDRESS>webpack /home/shan/Documents/code-settings-sync
> webpack --mode development

Hash: 78e33b847327f3965275
Version: webpack 4.25.1
Time: 4502ms
Built at: 11/09/2018 3:35:14 PM
       Asset      Size     Chunks             Chunk Names
extension.js  1.82 MiB  extension  [emitted]  extension
Entrypoint extension = extension.js

WARNING in ./src/localize.ts 89:40-89
Critical dependency: the request of a dependency is an expression
 @ ./src/extension.ts
 @ multi ./src/extension

WARNING in ./src/localize.ts 94:18-43
Critical dependency: the request of a dependency is an expression
 @ ./src/extension.ts
 @ multi ./src/extension

WARNING in ./node_modules/node-fetch/lib/index.mjs
Module not found: Error: Can't resolve 'encoding' in '/home/shan/Documents/code-settings-sync/node_modules/node-fetch/lib'
 @ ./node_modules/node-fetch/lib/index.mjs
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS> @ ./src/service/githubService.ts
 @ ./src/sync.ts
 @ ./src/extension.ts
 @ multi ./src/extension

WARNING in ./node_modules/chokidar/lib/fsevents-handler.js
Module not found: Error: Can't resolve 'fsevents' in '/home/shan/Documents/code-settings-sync/node_modules/chokidar/lib'
 @ ./node_modules/chokidar/lib/fsevents-handler.js
 @ ./node_modules/chokidar/index.js
 @ ./src/commons.ts
 @ ./src/sync.ts
 @ ./src/extension.ts
 @ multi ./src/extension

WARNING in ./node_modules/adm-zip/util/fileSystem.js
Module not found: Error: Can't resolve 'original-fs' in '/home/shan/Documents/code-settings-sync/node_modules/adm-zip/util'
 @ ./node_modules/adm-zip/util/fileSystem.js
 @ ./node_modules/adm-zip/util/index.js
 @ ./node_modules/adm-zip/adm-zip.js
 @ ./src/util.ts
 @ ./src/commons.ts
 @ ./src/sync.ts
 @ ./src/extension.ts
 @ multi ./src/extension

Repository :
https://github.com/shanalikhan/code-settings-sync

What is the expected behavior?
It should build all the packages.

Other relevant information:
webpack version:  4.25.1
Node.js version: 6.11.4
Operating System: Ubuntu 17.10
Additional tools:

I checked out your repository and was unable to start a build because webpack and webpack-cli dependencies are missing. I added them but webpack won't compile:
$ /Users/fc/code/code-settings-sync/node_modules/.bin/webpack --mode development

Insufficient number of arguments or no entry found.
Alternatively, run 'webpack(-cli) --help' for usage info.

Hash: 2b7f09b87ed543dbbcb9
Version: webpack 4.25.1
Time: 56ms
Built at: 11/09/2018 1:50:15 PM

ERROR in Entry module not found: Error: Can't resolve './src' in '/Users/fc/code/code-settings-sync'

Without further information, it is not obvious how to build and test your project.
Moreover, this is a usage question, and we encourage you to ask it on StackOverflow instead. We try to use the issue tracker for bug reports and feature requests but this appears to be a very localized question.

I have tried this config, it built but with warnings.
/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

//@ts-check

"use strict";

const path = require('path');

/**@type {import('webpack').Configuration}*/
const config = {
    target: 'node', // vscode extensions run in a Node.js-context 📖 -> https://webpack.js.org/configuration/node/

    entry: './src/extension.ts', // the entry point of this extension, 📖 -> https://webpack.js.org/configuration/entry-context/
    output: { // the bundle is stored in the 'dist' folder (check package.json), 📖 -> https://webpack.js.org/configuration/output/
        path: path.resolve(__dirname, 'out'),
        filename: 'extension.js',
        libraryTarget: "commonjs2",
        devtoolModuleFilenameTemplate: "../[resource-path]",
    },
    devtool: 'source-map',
    externals: {
        vscode: "commonjs vscode" // the vscode-module is created on-the-fly and must be excluded. Add other modules that cannot be webpack'ed, 📖 -> https://webpack.js.org/configuration/externals/
    },
    resolve: { // support reading TypeScript and JavaScript files, 📖 -> https://github.com/TypeStrong/ts-loader
        extensions: ['.ts', '.js']
    },
    module: {
        rules: [{
            test: /\.ts$/,
            exclude: /node_modules/,
            use: [{
                loader: 'ts-loader',
            }]
        }]
    },
}

module.exports = config;

With the output
npm run webpack

><EMAIL_ADDRESS>webpack /home/shan/Documents/code-settings-sync
> webpack --mode development

Hash: 3342733b8b02410b2d4e
Version: webpack 4.25.1
Time: 4968ms
Built at: 11/13/2018 2:51:45 PM
           Asset      Size  Chunks             Chunk Names
    extension.js  1.64 MiB    main  [emitted]  main
extension.js.map  1.68 MiB    main  [emitted]  main
Entrypoint main = extension.js extension.js.map
[./src sync recursive] ./src sync 160 bytes {main} [built]
[./src/commons.ts] 25.9 KiB {main} [built]
[./src/enums.ts] 702 bytes {main} [built]
[./src/environmentPath.ts] 6.09 KiB {main} [built]
[./src/extension.ts] 1.58 KiB {main} [built]
[./src/localize.ts] 4.13 KiB {main} [built]
[./src/lockfile.ts] 586 bytes {main} [built]
[./src/pragmaUtil.ts] 8.71 KiB {main} [built]
[./src/service/fileService.ts] 7.8 KiB {main} [built]
[./src/service/githubService.ts] 5.14 KiB {main} [built]
[./src/service/pluginService.ts] 17.4 KiB {main} [built]
[./src/setting.ts] 2.1 KiB {main} [built]
[./src/sync.ts] 45.1 KiB {main} [built]
[path] external "path" 42 bytes {main} [built]
[vscode] external "vscode" 42 bytes {main} [built]
    + 527 hidden modules

WARNING in ./src/localize.ts 89:40-89
Critical dependency: the request of a dependency is an expression
 @ ./src/extension.ts

WARNING in ./src/localize.ts 94:18-43
Critical dependency: the request of a dependency is an expression
 @ ./src/extension.ts

WARNING in ./node_modules/chokidar/lib/fsevents-handler.js
Module not found: Error: Can't resolve 'fsevents' in '/home/shan/Documents/code-settings-sync/node_modules/chokidar/lib'
 @ ./node_modules/chokidar/lib/fsevents-handler.js
 @ ./node_modules/chokidar/index.js
 @ ./src/commons.ts
 @ ./src/sync.ts
 @ ./src/extension.ts

WARNING in ./node_modules/adm-zip/util/fileSystem.js
Module not found: Error: Can't resolve 'original-fs' in '/home/shan/Documents/code-settings-sync/node_modules/adm-zip/util'
 @ ./node_modules/adm-zip/util/fileSystem.js
 @ ./node_modules/adm-zip/util/index.js
 @ ./node_modules/adm-zip/adm-zip.js
 @ ./src/util.ts
 @ ./src/commons.ts
 @ ./src/sync.ts
 @ ./src/extension.ts

fsevents is an optional dependency and is only installed on OSX. It makes sense to externalize it.
Dynamic requires like in src/localize are not supported by webpack. Best move them into a separate file and externalize this file.


Added support for querying one or more specified tasks. Ref T53414

Consistency between UI fields and full Query field support (logging, ui display, etc) would be nice, but this looks good to me.

Ah, shoot. This doesn't handle task count validation. Oh well, wasn't critical for an initial version.


Cannot read property debug of undefined in @react-pdf renderer primitives

This issue is happening only in 1.1.13 and 1.1.14 version.
When I try to generate pdf I'm getting following error:
TypeError: Cannot read properties of undefined (reading 'debug')
I think it has something to do with this PR on react-pdf:
There is outstanding issue with regards to https://github.com/diegomura/react-pdf/pull/1864/files.

@brano93 do you have the latest version of react-pdf?


add relation support to spatie media library table column

right now SpatieMediaLibraryImageColumn does not support relationship.
with this PR users can pass the relationship name to the SpatieMediaLibraryImageColumn to load the image from the relationship instead of the current record

Potentially, the syntax should be Column::make('nested.relationship.media') instead of Column::make('nested.relationship'), as column names need to be unique, and this way, you may have multiple media columns for the same related model, each with different collections.
It's the same syntax as we have elsewhere for accessing relationships.

I've just implemented this, also for the Spatie Tags column.


grub_menuentry is broken in EL8 and Fedora 30+

EL8 and Fedora 30+ now use the blscfg module to load OS configurations from /boot/loader/entries. This means that we're going to have to fall back to grubby for systems that include this module in their /etc/grub2.cfg configuration until some method can be found to process this information without requiring grubby.

Perhaps parsing grubenv would help?
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/managing_monitoring_and_updating_the_kernel/configuring-kernel-command-line-parameters_managing-monitoring-and-updating-the-kernel#what-are-boot-entries_configuring-kernel-command-line-parameters

@jcpunk I'm actually working on that now. Luckily, the new rewrite of grubby is in BASH so I've been able to reverse engineer things.
Unfortunately, it's kind of a hot mess under the hood and we're going to have to support both BLS and old entries to make this thing make any kind of sense.
Also, updating the root disk seems to update it for all BLS entries (it just keeps getting more fun).

@jcpunk PR is up if you want to take a look

Excellent :)


Selecting time

Hey, sweet project. Are there plans in adding a time selector to the project?

Thanks!
This component was designed for Evand and it just fulfills its requirements and we have received no PRs yet. It has always been a matter of discussion in Evand whether to put the time picker inside it or not and finally we decided to keep them separated. However, PRs are welcome.
But I'm curious why someone in Ontario may need this? 😂

Haha, I'm trying to help a friend with a booking system for an escape game he's making in Tehran. It's actually a pretty cool puzzle they've made if you want to try.
I was trying to develop the booking system in Meteor for him, and was looking for a date picker. Yours seems to be the most elegantly written one, but I wasn't able to get it to work with Meteor out of the box since obviously it's not designed for that purpose. Maybe once I have more Meteor 1.3 experience I'll try to port it.


TimeDelta support

Possible?

http://docs.sqlalchemy.org/en/rel_1_0/core/type_basics.html#generic-types
SQLAlchemy has the generic SQL type INTERVAL that outputs Python datetime.timedelta. which is what the agate TimeDelta is looking for.  INTERVAL is a native data type for Postgres and ORACLE. On other databases INTERVAL it is stored as  a date relative to the Unix epoch 1/1/1970.   From the above I understand this to mean that the INTERVAL type will only show up in metadata from tables that use the interval type as in  Postgres and Oracle. For other databases a date type will show up.  In either case the type is covered.  The only issue I can see is if a user is using SQLAlchemy as the ORM to create and use their tables outside agate and expect to see an INTERVAL type for a field that they pull against a database that does not support it natively i.e MySQL. They will still get the field it will just be a DATE type. The same goes for pushing data back into a table.  The first solution that comes to mind  is to create some way for the user to map fields they are using as INTERVAL, so agate-sql can use that SQLAlchemy type  instead of DATE.  This would not be needed in the Postgres and Oracle cases.

Hmmm, I think the "version 1" solution for this sounds is documentation. Let's implement it the naive (database-agnostic) way and then add a note to the docs about db-specific support for TimeDelta. If anybody ever complains we can consider a more robust solution.

I agree with the above. I started working on this, but seemed to have hit a snag on the SQLAlchemy side  in regards to naming of Interval(INTERVAL). I filed a issue when them:
https://bitbucket.org/zzzeek/sqlalchemy/issues/3571/interval-vs-interval-and-python_type
One option is to special case this, but I would prefer to wait until the above issue is dealt with one way or another.

Ugh, just read through that issue. Fortunately I think the variability he describes in how the adapters return types is probably moot four purposes: all numeric types collapse to agate.Number() and all text types collapse to agate.Text().
Based on my reading of your back-and-forth it sounds like the best part forward for INTERVAL is just to hold off until now? Or is there a straightforward way to special case now you know the broader shape of the problem?

Longer term I am going to see about getting python_type set for INTERVAL, by submitting a PR to SQLAlchemy. Short term I am thinking a special case. The generic Interval already has python_type set, it is just a matter of intercepting INTERVAL and faking a python_type for it.

Sounds good to me! :+1:


Optimize chinese translation of Concept-Policies and Telemetry

Optimize chinese translation of Concept-Policies and Telemetry
修改了部分中文表述
将部分链接改为链接到中文版

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: gyliu513
If they are not already assigned, you can assign the PR to them by writing /assign @gyliu513 in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content_zh/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Hi @wangkirin. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/approve
/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: fleeto
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content_zh/OWNERS [fleeto]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Bump wg-access-server release to latest

https://github.com/freifunkMUC/wg-access-server/releases/tag/v0.9.0

Looks fine!
I also wanted to add these new DNS config client settings from #17 .
Can/should I add it to this PR?

Yep, just feel free to push to this one :).


Rename to persistence-layer

Before it's too late - let's comply with GitHub's and Kenshoo's repo naming conventions and use hyphen instead of underscore :pray:

@galkoren I think we can close this one :+1:


ctrlf-search-style-is-sticky - persist modified search style in buffer

Never heard of circleci. A quick glance suggests I don't have the time today. I ran the make lint tests ok.

I'm unfamiliar with circleci but will address the check errors in the next couple of days.

You can run the tests locally with make lint, by the way.

If I'm understanding correctly the discussion in #83 (comment), the main issue is that when using C-s C-s to resume a search, the style is reset to the default, rather than being the same as previous.
Given that, might it be more elegant to add a special case to C-s C-s specifically that will restore the previous search style? Rather than changing the overall default for all searches in the buffer?

Possibly. Personally, when I change the search style I like it to stick for that buffer and that why I put in a sticky custom which defaults to false to keep the original behaviour.  I'm a bit of a PR beginner so go gentle.
I did the "make lint" btw - 80 chars per line when quoting elisp vars is quite a challenge ;)

Well, I certainly don't have any objection to adding an option to make the search style persistent per buffer. Just wanted to suggest an alternative if that was a better fit to the problem :)

Well, I certainly don't have any objection to adding an option to make the search style persistent per buffer. Just wanted to suggest an alternative if that was a better fit to the problem :)

;) I like your ctrlf very much. But I really can't imagine a case where I personally would not want to sticky the search style change in the buffer.  Yes, my PR is only for the default forward and backwards and not "alternate" and I think that works.

The alternative search should still be handled because if you start an alternative search, then change the style with M-s s for example, you shouldn't change the default search style I think.

The alternative search should still be handled because if you start an alternative search, then change the style with M-s s for example, you shouldn't change the default search style I think.

Oh I see.  I've never used alternate I must admit, I find that's "too many chunks l" used up 😉 I'll have a peek. Thanks.

First, I suggest the new option be called ctrlf-preserve-search-style instead of ctrlf-search-style-is-sticky.
Also, I think there's an easier way to implement this feature that would also deal with the alternative style and provide a simple way to override the behavior as @raxod502 suggested. Simply change the lines
https://github.com/raxod502/ctrlf/blob/45026a8655fb170004959f83b984589224cc156e/ctrlf.el#L1080-L1081
and
https://github.com/raxod502/ctrlf/blob/45026a8655fb170004959f83b984589224cc156e/ctrlf.el#L1117-L1118
to
(unless (or ctrlf--active-p ctrlf-preserve-search-style)
      (setq preserve nil))

Also, for buffer-local search style, you would need to make the variable ctrlf--style local by calling.
(make-local-variable `ctrlf--style)

after defining ctrlf--style on line 332.
This way, if the new ctrlf-preserve-search-style is non-nil then unless C-u is pressed before C-s, the search style is not reset.

I'll withdraw the pr.  Feel free to submit.  I don't have time for next days. Thanks for the feedback.

Just realised that probably sounded a bit offish - wasn't intended, I was in a rush. I'll try and find some soon.

issues with alternate search - need to think some more on this. revisit another say.

Sounds good! Definitely no rush :)

I'm going to leave this for now as the whole alternative search makes it a bit of churn and my elisp isn't up to it (it simply calls same functions with a different style) . I just know altered search type should stick for repeat search😂  I've never used alternative search and the ease of altering search anyway makes me wonder if it's not over kill anyway. I'll go  back to fuzzy regexp as default and then none of it matters for my use anyway. On 18/04/2021, 22:53 Radon Rosborough @.***> wrote:
Sounds good! Definitely no rush :)
—You are receiving this because you modified the open/close state.Reply to this email directly, view it on GitHub, or unsubscribe.


go-ssb-room functionality without wildcard domain?

While packaging go-ssb-room for yunohost, I found out that yunohost doesn't really support apps with wildcard domains (see this forum thread). They expect each app to have just one subdomain.
Wanted to confirm, will go-ssb-room still work with just one subdomain? Is there something I need to configure to turn off the alias-urls feature? Or should I just use this nginx config but with the wildcard subdomain part removed?

thanks, just what I needed!
Could also consider to document it in deployment.md, perhaps after the line "To get a wildcard TLS certificate you can follow the steps in this article, which uses the certbot utility."
"Alternatively, if needed, you can configure your deployment to run ssb room without a wildcard domain by using server -aliases-as-subdomains=false".


I made an AUR package for shadowfox-updater and added a mention to readme

Package is here: https://aur.archlinux.org/packages/shadowfox-updater/

Very cool 👍.  I'm not very familiar with AUR packages...is there anything that needs to be done in the updater repo, or are we good to merge this now?

Thanks. There's nothing that needs to be done in the repo. This package works already.

Also, just to be sure, does this "just work"? Do I have to set up anything in the repo?

So, do you want to merge this, or what?


error when creating server on AWS

I am receiving the following error when trying to build an AMI via chef-solo
https://gist.github.com/swade1987/febbc258b40c290297a744ee5229b3bf
However, when I do this via Vagrant it works fine.

just as an aside, I can create a go.cd agent without any issue.

it looks like its just the plugin resource which it has issues with.


Python2.7 and Python3.6 bytearray printing object path in cassette body

This came up while maintaining a package that requires python 2 and python 3 support. When submitting a bytearray over a request my tox tests were failing. I was able to debug this down the the following:
interactions:
- request:
    body: !!python/object/apply:builtins.bytearray```
```# python 2
interactions:
- request:
    body: !!python/object/apply:__builtin__.bytearray```

The path to the python objects is different between the python version which was causing tests to fail with `record_mode="none"`.

A lot of changes have happened to VCRpy since this ticket was opened. As this ticket has become stale, would you mind closing it if it is no longer needed / relevant?
If I haven't heard anything in a week I'll mark it as closed as we have a lot of old tickets that need to be groomed to make it easier to see what is still relevant.
However if it is still needed, please feel free to re-open or create a new ticket.
Thanks! 🙏

Considering python 2.7 support is depreciated officially this can just be closed.


Error- IPython is not defined

Hello there,
First of all thank you so much for all the help in Bayes_drt.
I have set up new environment for bayes_drt2 as instructed. sucessfully downloaded.
now when i am executing the code, the error, " Javascript Error: IPython is not defined" comes.
i have install necessary IPython package also by using "pip install --upgrade ipython" in notebook as well as using conda in conda prompt. still experiencing this error.
suggest some solutions.
Thank you.

Can you provide the cell/code that raises this error? A screenshot would be fine.

Thank you for you reply and apologies.
here is a screenshot,

Ok, that's good. This error seems to be related only to interactive plotting in Jupyter Notebook; see this thread: https://stackoverflow.com/questions/51922480/javascript-error-ipython-is-not-defined-in-jupyterlab
In the first cell of the tutorial notebook, please try changing the line %matplotlib notebook to %matplotlib inline. You may need to restart the kernel for the change to take effect. If this fixes the issue, then you can simply use the non-interactive inline plotting (inline) instead of interactive plotting (notebook) as a workaround. This isn't a bayes_drt issue but rather a Jupyer issue; you can probably get the interactive plotting working by checking the StackOverflow answers linked above.

hello,
first of all, Thank you very much for your responses. they are of big help.
I am now able to access some of the codes by using bayes_drt2
But still i am having problems when I run,

Detailed DDT recovery walkthrough tutorials where we need eis_utils file

bayes_drt_20201113 file also this one too.

i really appreciate your efforts.
Please provide solution for this.
I am also actively trying to run bayes_drt by downloading Microsoft visual studio.
thank you.

I've updated the DDT walkthrough to reflect the current module organization, which no longer includes the old eis_utils module.
bayes_drt_20201113 is a static copy of the package at time of the original paper's publication to ensure that the figures can be reproduced. Unfortunately, you will need to install pystan to use this version of the package. However, you should be able to run the code to generate the original figures using bayes_drt2 - you just need to replace any usage of the obsolete eis_utils module with either the currentt plotting or file_load modules, depending on which function is called.

hello there,
Thank you so much all the efforts and apologies If I am asking too much.
I tried the modifications and got some error. I am attaching the pdf file, kindly go through this.
(5). Detailed DDT recovery walkthrough.pdf
And also I want to perform DRT of data with all the methods simultaneously,
and DRT-TpDDT and DRT-BpDDT of my data.
will it be possible using bayes_drt2?
or else I have to go for pystan?
I have tried all the version of MVSC 2022,2019,2017,2015, in order to access bayes_drt, the same error is arising, "MVSC is not supported."
Please help.
Thank you again for all these.


[Feature Request] How to achieve upload? I want to upload img and

Existing Component
否
Component Name
upload
Description
How to achieve  upload? upload image text at the same time

# i want to use elemeUI to achieve the following effects
`

`

# i want to use elemeUI to achieve the following effects
`

`

# i want to use elemeUI to achieve the following effects
**`

`**

# i want to use elemeUI to achieve the following effects
、<、form action="/addPro" method="post" enctype="multipart/form-data"> 			  <input type="text" class="form-control" aria-describedby="basic-addon1" name="mallName" > 			  <input type="file" class="form-control" aria-describedby="basic-addon1" name="productImg">				  			  <input type="file" class="form-control" aria-describedby="basic-addon1" name="productDetailImg">	  <、/、form>

# i want to use elemeUI to achieve the following effects
\<form action="/addPro" method="post" enctype="multipart/form-data"> 			  <input type="text" class="form-control" aria-describedby="basic-addon1" name="mallName" > 			  <input type="file" class="form-control" aria-describedby="basic-addon1" name="productImg">				  			  <input type="file" class="form-control" aria-describedby="basic-addon1" name="productDetailImg">	  <\/form>

Hi,

请不要滥用 Issue，这里只处理 Bug 和 Feature，提交前请参考 Issue 规范，同时按照 Issue 模板填写内容。不符合规范的 Issue 将直接关闭；
有问题请到 Gitter 里问，提问前可以先阅读 FAQ。


Unable to instantiate XrplClient object

I'm just getting started with XRPL4J (libs imported into Android Studio), and have an issue:
HttpUrl rippledUrl = HttpUrl.get("https://s.altnet.rippletest.net:51234/");

XrplClient xrplClient = new XrplClient(rippledUrl);

I get an error:
java.lang.IllegalStateException: java.lang.NoSuchFieldException: No field IMPL_LOOKUP in class Ljava/lang/invoke/MethodHandles$Lookup; (declaration of 'java.lang.invoke.MethodHandles$Lookup' appears in /apex/com.android.runtime/javalib/core-oj.jar)
Any pointers would be useful - I'm using v2.0.0 of the libraries.

The issue wasn't with XRPL4J but with OpenFeign/feign-core
Forked and fixed for Android compatibility at https://github.com/xrpdevs/feign
PR submitted to OpenFeign
HTH some Android developers out there.

@xrpdevs how can solve?


Spec App Requirements from Spacemesh API

https://github.com/spacemeshos/app/blob/master/src/services/smapi/smapi.ts
Need to review with Iddo.

WIP https://github.com/spacemeshos/app/blob/master/src/services/smapi/smapi.ts

@antonlerner - spoke w @zalmen - you should consider these when designing CLI wallet and full node comm.


Dragging, toggling and resizing columns for v6

Hello, for those who are still using the v6 of Mantine and Mantine Datable, I have brought back dragging, toggling, and the new resizing in version v6.

Thanks! Published in v6.0.6.


Node splits on a value that out of feature range?

I have some features that range from 0 to 1.
But when I dump the model, I find some nodes split those features using "feature < 2.00001".
Does xgboost scale the feature or add some value to the feature? Or why 2.00001 is chosen to split?
Thanks~

Is your data in sparse format, or do those features have missing values?
Also see #1112


Tracks end on last key frame in export even though they are shown in CVAT UI

I've experienced a problem with the exported xml, CVAT-for-videos. For some objects it will end the track at the latest keyframe. It happens at every export from this task but it's not consistent that all tracks ends on a keyframe. In CVAT UI the object is still there all the way to the end of the video but in the export it disappears at the last keyframe. I haven't been able to create a new task with the same behaviour but one way to fix the problem, and maybe understand what's causing it, is to export the annotation and then import it and finally exporting it again. When this is done all tracks continue to the end of the video regardless of keyframe or not. One lead could be that this video was annotated in old ui.
My actions before raising this issue

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

Expected Behaviour

Tracks that show up as objects in CVAT should show up in the exported CVAT for videos XML.
Current Behaviour

All annotated objects shown in the UI should be exported, regardless of keyframe or not.
Possible Solution

A work around is to export, import and export it again.
Steps to Reproduce (for bugs)

Not a proper reproduce but it shows that the import will extend the track and the next export will have tracks that continues to the end of the video.

Verify that track 138 in first_export.xml ends on frame 3454
Create a new task with a video in proper length
Import the XML to the new task
Export the new task
Verify that the track that previously ended at frame 3454 now continue to the last frame, 3499. Attached is such an export, the new id of the track is 103.

Context

It's not sure that the objects seen in the annotation will show up in the exported XML file.
exported_xml.zip
Your Environment

Git hash commit (git log -1):  07de7141edbc980031da857579128088f7a4630a (tag: v1.0.0, upstream/master) Release 1.0.0 (#1335)
Docker version docker version (e.g. Docker 17.0.05): 19.03.8
Are you using Docker Swarm or Kubernetes?No
Operating System and version (e.g. Linux, Windows, MacOS): linux Ubuntu 18.04.4 LTS
Code example or link to GitHub repo or gist to reproduce problem:
Other diagnostic information / logs:
Logs from `cvat` container

Next steps
You may join our Gitter channel for community support.

@zhiltsov-max , could you please look at the issue?


[Bug]: The Recycle Bin database list shows mysql type data sources

ODC version
ODC 4.2.2
OB version
mysql 5.7
What happened?

The Recycle Bin database list shows mysql type data sources.
What did you expect to happen?
Remove mysql type data sources from the Recycle Bin database list.
How can we reproduce it (as minimally and precisely as possible)?
Select database from the Recycle Bin page.
Anything else we need to know?
No response
Cloud
No response

Fixed In Commit b58985f27ccc9aceae9088e90aa3c32295d4b7ba
------
晓康
Tue Oct 24 16:06:41 2023 +0800

pass


perf(deps): remove unused packages

Current dependencies on/for this PR:

master

PR #128

PR #129

PR #130

PR #131

PR #132

PR #133   👈

This comment was auto-generated by Graphite.


Roll engine 2a22019a8dd8..77c30caddf96 (8 commits)

https://github.com/flutter/engine/compare/2a22019a8dd8...77c30caddf96
git log 2a22019a8dd8..77c30caddf96 --no-merges --oneline
77c30cadd make sure we dont set live regionin api level < 18 (flutter/engine#6375)
7dc6b3a8e Skip non-existing libflutters for symbol check (flutter/engine#6374)
0cd9ee372 Add more debug loging to symbol verification script (flutter/engine#6372)
fcb3c519b Roll src/third_party/skia b726c89ff8a8..d004e0b55c4a (1 commits) (flutter/engine#6373)
5e3d786d0 Use nm from buildtools (flutter/engine#6371)
9ae1c14c3 Update observatory-port default behavior description. (flutter/engine#6365)
5550fdbc2 Remove cull_rects_ from SceneBuilder (flutter/engine#6352)
75e404f39 Roll src/third_party/skia 656cefe65d62..b726c89ff8a8 (8 commits) (flutter/engine#6370)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.

@rmistry @liyuqian : New roll has been created by https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Trybots failed. These were the failed builds: https://flutter-dashboard.appspot.com/build.html

Commit queue failed; closing this roll.


Implement Delimited_Files and Delimited_Connection

This task is automatically imported from the old Task Issue Board and it was originally created by James Dunkerley.
Original issue is here.

Allow connection to a collection of delimited files:
Delimited_Options.Delimited_Files path:(File|Text) recursive:Boolean=False patterns:(Vector Text)=[”*.csv”, ”*.tsv”]

Ability to connect to a single file or a collection of files.
Users can provide either a file or folder path.
The user can choose to scan subfolders using the recursive option.
By default, it will look at standard extensions but user can set patterns as they wish.

The Connection API would be mapped as follows:

Database ==> Filename.
Schema ==> Not used - Nothing.
Table ==> Not used - Nothing.
The query function will return an Unsupported_Operation error.
The read method will have a slightly different API:

Needs to be thought out.

Blockers:
#183578491 blocked

The new read_many api supersedes this.


[BUG] Not Possible Associate to Vnet Subnet created via terraform

Community Note

Please vote on this issue by adding a :thumbsup: reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version
1.5.6
AzureRM Provider Version
3.65.0
Affected Resource(s)/Data Source(s)
azurerm_app_service_virtual_network_swift_connection and azurerm_app_service_slot_virtual_network_swift_connection
Terraform Configuration Files
module "subnet" {
  source               = "claranet/subnet/azurerm"
  version              = "6.2.0"
  resource_group_name  = var.az_resource_group_name
  virtual_network_name = module.vnet[0].virtual_network_name
  custom_subnet_name   = "${var.name_prefix}-private-subnet"
  subnet_cidr_list     = ["<IP_ADDRESS>/28"]
  network_security_group_name = module.nsg[0].network_security_group_name
  subnet_delegation = {
    app-service = [
      {
        name    = "Microsoft.Web/serverFarms"
        actions = ["Microsoft.Network/virtualNetworks/subnets/action"]
      }
    ]
  }

  use_caf_naming = false
  location_short = ""
  client_name    = ""
  environment    = ""
  stack          = ""
}

And in function app module add:

app_service_vnet_integration_subnet_id = module.subnet.subnet_id

Debug Output/Panic Output
╷
│ Error: Invalid count argument
│
│   on .terraform/modules/app-service/modules/container-web-app/r-appservice.tf line 673, in resource "azurerm_app_service_virtual_network_swift_connection" "app_service_vnet_integration":
│  673:   count          = var.app_service_vnet_integration_subnet_id == null ? 0 : 1
│
│ The "count" value depends on resource attributes that cannot be determined until apply, so Terraform cannot predict how many instances will be created. To work around this, use the -target argument to first apply only
│ the resources that the count depends on.

│ Error: Invalid count argument
│
│   on .terraform/modules/app-service/modules/container-web-app/r-appservice.tf line 679, in resource "azurerm_app_service_slot_virtual_network_swift_connection" "app_service_slot_vnet_integration":
│  679:   count          = var.staging_slot_enabled && var.app_service_vnet_integration_subnet_id != null ? 1 : 0
│
│ The "count" value depends on resource attributes that cannot be determined until apply, so Terraform cannot predict how many instances will be created. To work around this, use the -target argument to first apply only
│ the resources that the count depends on.

Expected Behaviour
It's not possible associate app service to Vnet Subnet if the Subnet is also created in terraform. Because the resources are depending from count keyword, where the count value cannot be determined until apply.
Expected Behaviour: Azure Web App deployed on subnet.
Actual Behaviour
Terraform error
Steps to Reproduce
No response
Important Factoids
No response
References
No response

Hello @fdmsantos
Thank you for opening this issue.
Unfortunately, this is a Terraform limitation. See here and here.
Even if we try to do our best building modules to avoid dealing with this issue, we sometimes encounter it.
I'm afraid that your only solution is to target the creation of your subnet and do a second full apply.

Hi,
Tks for your reply.
Im aware about that limitation. Im unable to test it now, but creation a
new bool variable (something like integration_on_vnet = true) and used it
on count, i think will solve this issue. I think, already found this
solution on another claranet module (Probably function app module). But
right now, i dont have access to my computer to confirm.
Thanks.
On Mon, Sep 4, 2023, 13:52 Spi @.***> wrote:

Hello @fdmsantos https://github.com/fdmsantos
Thank you for opening this issue.
Unfortunately, this is a Terraform limitation. See here
https://github.com/hashicorp/terraform/issues/30937 and here
https://github.com/hashicorp/terraform/issues/26755.
Even if we try to do our best building modules to avoid dealing with this
issue, we sometimes encounter it.
I'm afraid that your only solution is to target the creation of your
subnet and do a second full apply.
—
Reply to this email directly, view it on GitHub
https://github.com/claranet/terraform-azurerm-app-service/issues/8#issuecomment-1705221971,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGGIXOQFQN75HURYC7G7PK3XYXFINANCNFSM6AAAAAA4HZS2IU
.
You are receiving this because you were mentioned.Message ID:
@.***>

You're right, we have it on some modules.
Also, we've removed the swift resource for function-app but not app-service and cannot remember why. Let me check.

hi @BzSpi ,
Any news?
Thanks

Hi @fdmsantos
Sorry for the delay. We have previously experienced issues with the VNet integration in the app service resource, it may have been fixed now.
We've added it in our internal backlog but feel free to suggest an implementation.

Fixed in latest v7.8: https://github.com/claranet/terraform-azurerm-app-service/blob/master/CHANGELOG.md#v780---2023-10-10


Gradle plugin 5.0.0 Build failure

This is the only error message I see in the debug logs
An error occurred while analyzing '/home/jenkins/.gradle/caches/5.4.1/generated-gradle-jars/gradle-api-5.4.1.jar' (Sonatype OSS Index Analyzer).
Is there way to tell the gradle plugin to ignore/exclude certain paths or the geenrated gradle jars?

I saw something similar to this after upgrading to 5.0.0 from 5.0.0-M2:
An error occurred while analyzing '/Users/joshhunziker/.gradle/caches/modules-2/files-2.1/org.projectlombok/lombok/1.18.8/448003bc1b234aac04b58e27d7755c12c3ec4236/lombok-1.18.8.jar' (Sonatype OSS Index Analyzer).
For a workaround, I had to disable the OSS Index Analyzer with
dependencyCheck {
        analyzers {
            ossIndexEnabled = false
        }
}

Could this possibly be a bug with the analyzer?

There is not an issue with the analyzer. Rather, the OSS Index service was unavailable for a period of time.


az login fails on Linux DSVM

I am referencing issue #125. This same error seems to still persist on the latest Linux DSVM.
Extension name (the extension in question)
azure-ml-admin-cli
Description of issue (in as much detail as possible)
$ az login
The behavior of this command has been altered by the following extension: azure-ml-admin-cli
login() got an unexpected keyword argument 'msi'
Traceback (most recent call last):
  File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 197, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 369, in execute
    six.reraise(*sys.exc_info())
  File "/opt/az/lib/python3.6/site-packages/six.py", line 693, in reraise
    raise value
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 343, in execute
    result = cmd(params)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 182, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/__init__.py", line 436, in default_command_handler
    result = op(**command_args)
  File "/opt/az/extensions/azure-ml-admin-cli/azext_admin/custom.py", line 88, in mls_login
    msi_port=msi_port)
TypeError: login() got an unexpected keyword argument 'msi'
$ az extension remove --name azure-ml-admin-cli
$ az login
The behavior of this command has been altered by the following extension: azure-ml-admin-cli
login() got an unexpected keyword argument 'msi'
Traceback (most recent call last):
  File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 197, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 369, in execute
    six.reraise(*sys.exc_info())
  File "/opt/az/lib/python3.6/site-packages/six.py", line 693, in reraise
    raise value
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 343, in execute
    result = cmd(params)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 182, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/__init__.py", line 436, in default_command_handler
    result = op(**command_args)
  File "/opt/az/extensions/azure-ml-admin-cli/azext_admin/custom.py", line 88, in mls_login
    msi_port=msi_port)
TypeError: login() got an unexpected keyword argument 'msi'

Reboot after removal does not seem to make a difference, as the same error is caused.
Are there any suggestions how to deal with this issue on the Linux DSVM?

Curiously, the az remove command does not seem to be able to actually remove the extension:
$ az extension remove --name azure-ml-admin-cli
$ az extension list
[
  {
    "extensionType": "whl",
    "name": "azure-cli-ml",
    "version": "0.1.50"
  },
  {
    "extensionType": "whl",
    "name": "azure-ml-admin-cli",
    "version": "0.0.1"
  }
]

@skurscheid Here's how @gopitk recommended to remove the extension:
sudo -i az extension remove --name azure-ml-admin-cli

@marabout2015 thank you for the suggestion! I just unsuccessfully tried to replicate the error on a DSVM which is very strange as I haven't made any changes and the azure-ml-admin-cli extension is in fact still installed.
I will close the issue for now and report back if it re-occurs.


Bug : Viewing realtime connection causes LuCI to crash with a lot of active connections.

Described on https://forum.openwrt.org/t/luci-crash-on-19-07-2-when-visiting-admin-status-realtime-connections/60674/8
Reposting my post from there
When active connection is high (Above 2-3k) the following command
ubus call luci getRealtimeStats '{ "mode": "conntrack" }'
Works just fine and returns a reply.
And this
ubus call luci getConntrackList
Just hangs an causes Luci to return
/usr/lib/lua/luci/dispatcher.lua:426: /etc/config/luci seems to be corrupt, unable to find section 'main'
Only restarting rpcd gets it back using
service rpcd restart
My device has plenty of ram (RPI) so i think the code for returning the connection list doesnt really work with large numbers, I guess it should only return the top 100 connections or something like that.
Using my mobile app on my router (https://github.com/hagaygo/OpenWRTManager) with "Active Connections" overview causes LuCI to keep crashing while there is a lot of active connections.
It uses same API as real time page.
Using 19.07.6

another producer: https://forum.openwrt.org/t/rpi4-community-build/69998/1446?u=wulfy23

it is likely caused by taking too long while reading /proc/net/nf_conntrack

I don't know how to fix it.

Its quite easy to reproduce , just open a lot of connections using a simple script and then access the page/api.
I don't think its related to the size of the file , cause it seems to crash immediately and not like after few seconds (my guess not enough memory is allocated to load/parse the file).
Hope this helps.

strace on rpcd
munmap(0xb5039000, 16384)               = 0
munmap(0xb5045000, 32768)               = 0
munmap(0xb5041000, 16384)               = 0
munmap(0xb502d000, 16384)               = 0
munmap(0xb5025000, 16384)               = 0
munmap(0xb5019000, 16384)               = 0
munmap(0xb5031000, 32768)               = 0
munmap(0xb5015000, 16384)               = 0
munmap(0xb5029000, 16384)               = 0
munmap(0xb501d000, 32768)               = 0
munmap(0xb5009000, 16384)               = 0
munmap(0xb5001000, 16384)               = 0
munmap(0xb500d000, 32768)               = 0
munmap(0xb5005000, 16384)               = 0
munmap(0xb4ff5000, 16384)               = 0
munmap(0xb4ff9000, 32768)               = 0
munmap(0xb4fe1000, 81920)               = 0
mmap2(NULL, 4849428, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb690a000
munmap(0xb6f66000, 4096)                = 0
sendmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\0\2\0\2\230/\277\216", iov_len=8}, {iov_base="\0I\376\364\3\0\0\0100r\251\222\7I\376\350\201I\376\344\0\6result\0\0\0\0"..., iov_len=4849396}], msg_iovlen=2, msg_controllen=0, msg_flags=0}, 0) = 183040
sendmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="rk\0\000256\0\205\0\0\24\0\7packets\0\0\0\0\0\0\1\203\0\0\22"..., iov_len=4666364}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = -1 EPIPE (Broken pipe)
--- SIGPIPE {si_signo=SIGPIPE, si_code=SI_USER, si_pid=22704, si_uid=0} ---
sendmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\0\1\0\2\230/\277\216", iov_len=8}, {iov_base="\0\0\0\24\1\0\0\10\0\0\0\0\3\0\0\0100r\251\222", iov_len=20}], msg_iovlen=2, msg_controllen=0, msg_flags=0}, 0) = -1 EPIPE (Broken pipe)
--- SIGPIPE {si_signo=SIGPIPE, si_code=SI_USER, si_pid=22704, si_uid=0} ---
munmap(0xb4722000, 4853760)             = 0
close(9)                                = -1 EBADF (Bad file descriptor)
close(11)                               = -1 EBADF (Bad file descriptor)
munmap(0xb6f62000, 16384)               = 0
clock_gettime64(CLOCK_MONOTONIC, {tv_sec=71594, tv_nsec=569873677}) = 0
epoll_pwait(3, [{EPOLLIN|EPOLLERR|EPOLLHUP|EPOLLRDHUP, {u32=3068800108, u64=3068800108}}], 10, -1, NULL, 8) = 1
epoll_ctl(3, EPOLL_CTL_DEL, 6, NULL)    = 0
recvmsg(6, {msg_namelen=0}, 0)          = -1 ECONNRESET (Connection reset by peer)
clock_gettime64(CLOCK_MONOTONIC, {tv_sec=71594, tv_nsec=574938439}) = 0
clock_gettime64(CLOCK_MONOTONIC, {tv_sec=71594, tv_nsec=575814150}) = 0

ubus client wait and just timeout, why no reply?

ping @nbd168

sorry again not working anymore - only one time working :-(

Bug still in OpenWrt v22.03.2

It reproduces perfectly here because I have a Tor relay running on a Rockchip RK3328 Quad-core Cortex-A53 which means loads of connections (> 4000). So if I can help checking anything just let me know.

for me it's working with v22.03.2

With how many connections is that?

A quick test with a script from http://marianlonga.com/simulate-parallel-connections-to-a-website/ allowed me up to 1500 connections against my router from a raspberry pi 4

I can confirm it seems to be fixed on my RPI4 on 22.03.2 (maybe earlier)

No crash and both GUI and my app works fine.

Bug still in OpenWrt v22.03.2
LuCI menu Status / Overview:

but LuCI menu Status / Realtime Graphs / Connections stays empty:

And after that accessing any menu in LuCI:

So rpcd crashes accessing Status / Realtime Graphs / Connections menu in LuCI with > 4000 connections approx.

@jow-
Should the connection list be changed to be manually refreshed?
I am not sure if it is wise to refresh really long lists automatically every 3 seconds if the tab is open.
How about drawing it once and then offering a refresh button?

This will not solve the issue.

I seem to be experiencing this in the same way as @rodajc on OpenWrt 23.05.2 on a Netgear DGN3500. However, I never see the error message /etc/config/luci seems to be corrupt. Instead, LuCI is completely unresponsive until rpcd restarts.
On this device, which has 64MB RAM, by default has max connections of 7168, and in my environment usually/often has active connections in the 3000–5000 range, this issue seems to occur consistently when the connection count exceeds around 1000.
I second @hnyman's desire for a manually refreshed list of connections (I almost always just want to see the graph actively refreshing/updating, not the list of connections) and/or a capped/paginated list of connections (e.g. top 100 connections by sort order, or 100 connections per page).

OpenWrt 23.05-SNAPSHOT r23821-77b7c10884 / LuCI openwrt-23.05 branch git-24.086.45142-09d5a38
Model: Xiaomi redmi AX6000
Active connection: 13515
when entering /cgi-bin/luci/admin/status/realtime/connection, page freezes and then message "session has expired" appears and it happens every time.


added windows 11

after reading this article, i confirmed windows 11 is supported

Learn Build status updates of commit df9e869:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows/security/threat-protection/security-policy-settings/impersonate-a-client-after-authentication.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Add Habitat plan to license_scout

So I'm closing for a couple reasons:

We've moved past v1 (which this was opened against)
It trying to build a hab pkg for v2, I saw that this process has some flaws.

I'll be circling back to getting a hab pkg working in the near future, just need to get some native extension compilation figured out.


Implement IFS in C++

My C++ version is slightly different than the Julia version. I decided to exclude saving to a file from the chaosGame() function; I find it cleaner, and cause less distraction when reading the page.

I think the idea of returning the points from the chaos_game function is good. I will modify the Julia code and ask #700 to do so as well.
As for the C++ code, I typically use a different style, so I refrain from reviewing this for now. If anyone else wants to review it, go ahead!

I like the Point struct and the operators for it, because unlike in Julia, it is not easy to do the same without an extra struct. But I think using the random templates is not necessary, the Julia code uses the standard rand function only, too, and using other random algorithm doesn't help to see the result. This helps to simplify the code and to make it shorter. I gave it a try, see the full code below for IFS.cpp. I also added a typedef to make the code easier to read.
#include <cmath>
#include <fstream>
#include <cstdlib>
#include <vector>

struct Point {
  double x, y;
};

typedef std::vector<Point> PointVector;

Point operator+(Point lhs, Point rhs) { return {lhs.x + rhs.x, lhs.y + rhs.y}; }
Point operator*(double k, Point pt) { return {k * pt.x, k * pt.y}; }
Point operator*(Point pt, double k) { return k * pt; }

// Return a random number x, with 0 <= x < 1
double drand() {
    return double(rand()) / double(RAND_MAX);
}

PointVector chaosGame(int numOutputPoints, const PointVector& inputPoints) {
  // Choose first point randomly
  Point curPoint = { drand(), drand() };

  // For each output point, compute midpoint to random input point
  PointVector outputPoints(numOutputPoints);
  for (auto& outPoint : outputPoints) {
    outPoint = curPoint;
    curPoint = 0.5 * (curPoint + inputPoints[rand() % inputPoints.size()]);
  }

  return outputPoints;
}

int main() {
  // This will generate a Sierpinski triangle with a chaos game of n points for
  // an initial triangle with three points on the vertices of an equilateral
  // triangle.
  PointVector inputPoints = {
      {0.0, 0.0}, {0.5, std::sqrt(0.75)}, {1.0, 0.0}};
  auto outputPoints = chaosGame(10000, inputPoints);

  // It will output the file sierpinski.dat, which can be plotted after
  std::ofstream ofs("sierpinski.dat");
  for (auto pt : outputPoints)
    ofs << pt.x << '\t' << pt.y << '\n';
}

I was torn myself about using a template parameter, because it hinders readability, I agree. The problem is, it is not recommended to use rand() in new code. But using the new  header requires more machinery. Also, doing the modulo trick to get an integer in a range, while idiomatic, is biased, unless the integer is a power of two. For a few number of points, the bias is completely negligible, but still, ideally, I would show the "correct" way if possible.
I could solve it by having a custom rand function like yours, but with a static RNG inside, so that all  stuff is hidden. Would this be better? I'll start working on it in the meantime.

Do you have a reference where it says that the old rand function shouldn't be used anymore? I can't see that it is deprecated, at least not at http://www.cplusplus.com/reference/cstdlib/rand/ . This page also mentions the modulo trick, but I don't understand why it is not uniformly distributed. Assuming rand is purely random, there should be no bias.
But right, might be useful to show the new way how C++ does it anyway, but just with another simple function to hide the complexity of the random number generator from the chaosGame function and just two easy to use functions, which should be part of the standard library anyway, like many other languages have it, like randrange in Python.

rand() is not deprecated, simply it is not recommended anymore. This SO post explains it better than I would: https://stackoverflow.com/questions/52869166/why-is-the-use-of-rand-considered-bad
I think this new version has a very clean and simple chaosGame() function now, no template and rand cruft!

@Frank-Buss I don't know C++, but from ready the SO post, I understand why there is a bias. Imagine your RNG has RAND_MAX=5, so it gives you any number between 0 and 5 uniformly. However you need a number between 0 and 3, so you use the modulo trick. That remaps the original numbers to
0 -> 0
1 -> 1
2 -> 2
3 -> 3
4 -> 0
5 -> 1

You end up getting 0 or 1 twice as much as 2 or 3. Sometimes that doesn't happen if RAND_MAX  is a multiple of the max number you want, but that's not reliable.
Sorry if you already understood it :)

Looks good, I like the new "using" syntax instead of typedef. But maybe would be better to just define a function which returns a random int in a range, instead of chooseRandPoint, because then this function could be potentially outsourced later to a general library for using it in other sample code, or it might help people like me to copy-and-paste it for my projects :-)
After thinking about modulo operator with rand(), I do understand now why it is biased, because the whole range from 0 to RAND_MAX is used for rand, and each number happens equally often, so if it is mapped e.g. to 0..2, and RAND_MAX+1 is a power of 2, then the "last" mapping for 2 is missing, which causes an error in the equal distribution of 1/2^32 (if RAND_MAX+1==2^32). Not that much for most practical cases, but of course gets worse the closer the modulo operator gets to RAND_MAX.

@jiegillet Thanks, your posting overlapped with my posting, I understood it meanwhile :-)

Funny, I actually refrained from generalizing the function this time! My first version was:
template <typename Container>
auto choose(const Container& container) {
  auto index = std::uniform_int_distribution<std::size_t>(
      0, container.size() - 1)(rng());
  return container[index];
}

(sorry for the weird line breaks, but this is what using clang-format with the provided file yields...)
This works with any container supporting size() and operator[], and deduce the return type. I find using it cleaner, because you can't mistakenly access out of the array:
choose(points);
// instead of
points[randrange(points.size())] // you may pass the wrong array size here

But we could also have both: a function to get an int, and use it for a container. This is maybe the cleanest:
std::size_t randrange(std::size_t numElems) {
  return std::uniform_int_distribution<std::size_t>(0, numElems - 1)(rng());
}

template <typename Container>
auto choose(const Container& container) {
  return container[randrange(container.size())];
}

A preference?

Totally unrelated but it made me remember an anecdote. I was TA'ing a computational physics course once and part of an exam question was to code a dice() function that returns a number between 0 and 5, and then do some stats with that. One of the student sent in his code, it was working but sometimes it was really slow. I take a look and his function was something like:
x = rand()
while(x>5) x = rand()

It worked but... lol
Maybe you can use that? Possibly there is no bias :D

I just wanted to pop in and say the code is looking better and please do what you feel like is best!
That said, please do not do what @jiegillet said.

I like the solution with the 2 functions. I'm not sure about the template function. It is not needed in this case with one file, but it makes sense if the function is later moved to a library or common header files. Then it can be used with other container types as well. But I think would be better to remove it for now and use the concrete type, because currently there is no such library and it makes the code easier to read with the concrete type.

@Frank-Buss We have considered possibly providing language utilities (compilation help, maybe some header files for C++). Do you think something like this would help here?
I'm always afraid of using a resource-specific library because then the code becomes "textbook specific," and harder to understand unless you have first read the intro chapters for that language in the book.

@leios  This is my first contribution here, so take my opinion with a grain of salt :) I think it is probably easier to have self-contained examples, and not develop a "dialect" that would be AAA-specific, unless something is really missing in the language.
Here is a new version, with the two functions, but no template.

I think the code looks good now. Maybe last change I would do is write one short line of comment before each function, as the Julia code does, like // This is a function to simulate a "chaos game". In a real application I would even use Doxygen-style comments, but I don't think this is necessary here. So for the choose function it would be like this:
// Return a random point from the non-empty PointVector
Point choose(const PointVector& points) {
  return points[randrange(points.size())];
}

I guess this would be something @leios has to take care of, to make the code look the same for all examples, e.g. if the comments should start with a capital letter (I prefer a lower case letter, but I've seen the other style as well), or if he wants full Doxygen-style comments for each function and class.
BTW, for Python, the function name is choice, but I think choose is fine, too.
And I think @VincentZalzal is right, self-contained examples might be better in this case. If I would develop an application, I would avoid code duplication and use common header files etc., but for the Arcane Algorithm Archive, it might be more important to provide easy to understand examples. A reader might read just one chapter and one source code example, and can understand a fully self-contained example faster, if he doesn't have to lookup all the non-standard functions. This means only one file for each example as well.
If there would be a coding styleguide, unless there is already one and I missed it, it would help code contributions. This would include using tab vs spaces (maybe per language, e.g. in Python it is recommended to use spaces), identifier naming conventions, comment conventions etc. as well. But maybe not important, if every code example is self-contained anyway, and @leios could fix minor differences per contribution to make it look the same for all examples.

Done.
I completely agree, since C++ is so free-for-all, having a style guide would be beneficial for uniformity. For example, I refrained from using the style I'm used to at work, because I know most people hate it :) At least, clang-format is already managing spaces and line breaks. Having at least some variable and function naming conventions (e.g. functions start with a verb and are camel case) would help. Right now, there is a war about whether const is on the left or the right of the type, etc.


added new tests to test_catmath.py; increased coverage

Coverage increased (+2.3%) to 39.08% when pulling b207f6e38224e5bf7fa59c84e8f1e755c4805ffe on martpat:pycon2016 into e76b2cce4e1639135da0f90496652adf030c630a on keeppythonweird:master.

Coverage increased (+7.5%) to 44.318% when pulling 2c74d233361972af938d9d50959c8477bb33f0b4 on martpat:pycon2016 into e76b2cce4e1639135da0f90496652adf030c630a on keeppythonweird:master.

Coverage increased (+7.5%) to 44.318% when pulling e7f08ce3a8486499c2a9d8b34d90f79491573dbc on martpat:pycon2016 into e76b2cce4e1639135da0f90496652adf030c630a on keeppythonweird:master.

Coverage increased (+32.04%) to 68.817% when pulling aa91afd1a4695dde3cfa0ae0562adc273a759c42 on martpat:pycon2016 into e76b2cce4e1639135da0f90496652adf030c630a on keeppythonweird:master.

Coverage increased (+35.3%) to 72.043% when pulling 525afd74b940cf2e472b83b40c7495e333059f4e on martpat:pycon2016 into e76b2cce4e1639135da0f90496652adf030c630a on keeppythonweird:master.

Coverage increased (+47.09%) to 83.871% when pulling b542f50f3d181d3ad19e1b4c0e25e64ade1b7d49 on martpat:pycon2016 into e76b2cce4e1639135da0f90496652adf030c630a on keeppythonweird:master.

Coverage increased (+63.2%) to 100.0% when pulling 8434ca0403bdb8cf843cd389f8869ee05b16de3b on martpat:pycon2016 into e76b2cce4e1639135da0f90496652adf030c630a on keeppythonweird:master.


Event handler for cache invalidation uses deprecated service bus package

This section: Register event handler to reload data from App Configuration uses the old service bus package (Microsoft.Azure.ServiceBus).
It would be great if the code example could be updated to use Azure.Messaging.ServiceBus package.

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

ID: 0d4b0d0f-e57a-55b5-d5fe-39858510d7ce
Version Independent ID: 6189c300-cfa9-03ca-f965-c88cba546523
Content: Tutorial: Use dynamic configuration using push refresh in a .NET Core app - Azure App Configuration
Content Source: articles/azure-app-configuration/enable-dynamic-configuration-dotnet-core-push-refresh.md
Service: azure-app-configuration
GitHub Login: @MBSolomon
Microsoft Alias: msolomon

Thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action.

Thanks Mike. Updated code should look something similar to this (spent some time researching this but hope it helps).
using Azure.Messaging.ServiceBus;
using Azure.Messaging.EventGrid;
...

IConfigurationRefresher refresher = options.GetRefresher();
ServiceBusProcessor serviceBusProcessor = RegisterRefreshEventHandler(refresher);
serviceBusProcessor.StartProcessingAsync();

...

ServiceBusProcessor RegisterRefreshEventHandler(IConfigurationRefresher refresher)
{
    ServiceBusClient serviceBusClient = new(
        AzureConnection.GetServiceBusRootConnectionString()
    );

    ServiceBusProcessor serviceBusProcessor
        = serviceBusClient.CreateProcessor(AzureConnection.GetServiceBusTopic(), AzureConnection.GetServiceBusSubscription());

    serviceBusProcessor.ProcessMessageAsync += (arg) => ServiceBusProcessor_ProcessMessageAsync(arg, refresher);
    serviceBusProcessor.ProcessErrorAsync += ServiceBusProcessor_ProcessErrorAsync;

    return serviceBusProcessor;
}

Task ServiceBusProcessor_ProcessMessageAsync(ProcessMessageEventArgs arg, IConfigurationRefresher refresher)
{
    // Build EventGridEvent from notification message
    EventGridEvent eventGridEvent = EventGridEvent.Parse(BinaryData.FromBytes(arg.Message.Body));

    // Create PushNotification from event grid event
    bool hasSucceededNotification = eventGridEvent.TryCreatePushNotification(out PushNotification pushNotification);

    if (hasSucceededNotification)
    {
       refresher.ProcessPushNotification(pushNotification, maxDelay: TimeSpan.FromSeconds(20));
    }

    return Task.CompletedTask;
}

Task ServiceBusProcessor_ProcessErrorAsync(ProcessErrorEventArgs arg)
{
    Console.WriteLine($"An exception occured while trying to process feature flag update on Azure Service Bus:" +
        $"\n{arg.Exception}\n");

    return Task.CompletedTask;
}

Hi and thank you for opening this issue. This article has been updated with a recent package for Service Bus. #please-close


rollup: allow to force using Babel for TS inputs

Hi and Happy New Year!
I was looking the source codes around again, I thought that it would be good to allow to process TypeScript source/input with Babel. And one more thing: allow disabling the default babel/preset-env (so, it will be only babel() and so will read from a config) cuz I want to use the new preset-modules plus more optimizing plugins.

Great idea! And PR welcome!

Okay, I'll look into it.


Install pyCapsid in UM HPC

Install pyCapsid in the UM HPC (IDSC).
Try Pegasus and Triton.
Identify difficulties during the installation.
Coordinate with the IDSC team to address issues.
Document the process.

Update

[x] Pycasid installed + tested in UM HPC Pegasus
[ ] - it could not be installed in UM HPC Triton

Details

Triton's architecture is a linux-ppc64le" for which some dependencies either generate conflicts (numba, numpy, scipy, scikit-learn, statsmodels) or are missing (biotite). Conflictive dependencies could be solved by specifying the versions within a conda environment, but biotite issue could not be solved. Biotite has no ppc64le version pre-built but it also could not be compiled from source as it needs GCC >= 8.4, not available in Triton. As per suggested in biotite's documentation, a specific conda env can be used to compile, unfortunately this strategy fails as the environment itself is not solvable within Triton's architecture.
The dependencies could be compiled manually, however this generates a very unfavorable tradeoff for the maintenance and compatibility of the installation, since manual compilation at various levels would be required.

WIP

[ ] Writing documentation for the installation steps followed in UM HPC Pegasus


Support for custom filters

Does Kitura-StencilTemplateEngine include support for custom stencil filters?
From the Stencil documentation:

You can build your own custom filters and tags and pass them down while rendering your template. Any custom filters or tags must be registered with a extension which contains all filters and tags available to the template.
let ext = Extension()
// Register your filters and tags with the extension
let environment = Environment(extensions: [ext])
try environment.renderTemplate(name: "example.html")

Registering custom filters:
ext.registerFilter("double") { (value: Any?) in
  if let value = value as? Int {
    return value * 2
  }
  return value
}

Ideally, I'd like to use a custom filter with HTMLEntities since I don't want to store HTML rendering artifacts in my database. I could also extend my model objects to handle the HTML Entities on values that are added to the stencil context, but it feels like a custom filter is matches the spirit of using stencil.

It does, you can see my examples here: https://github.com/kylebshr/mustache.cc/blob/master/Sources/mustache/Application.swift#L42


Use 64-bit atomic variales instead of gpr_atm in channelz.

There is possibility of overflow for both timestamps and counters.
Use Atomic<int64_t> and Atomic<gpr_cycle_counter> to make sure
there is no overflow.
Prior to bdd3fdddb26, we were using grpc_millis.  So the overflow
was hidden due to the fact that the deltas were correct upto 2^32
milliseconds (i.e., 49 days).

Thank you both!

Looks like #19726


How to execute NSAppleScript?

When I  run NSAppleScript in Perfect , the service stop at the point executeAndReturnError with not any error message. I search NSAppleScript on web and found it is not thread-safty however Perfect is not runing on main thread.
The question is: How could I run NSAppleScript in Perfect or get main thread? Is it special way to realize?
PS: It is wired that it is fine when run release exec but in xcode.

If you want to run on main thread you call Swift's DispatchQueue. This issue has nothing to do with Perfect. Please close.


PLT-7771: Add jobs table to Elasticsearch admin UI

Summary
This is a draft version of the ticket to get PM feedback on where the widget is in the UI, and the strings changes. It's not ready for dev review yet.
Ticket Link
https://mattermost.atlassian.net/browse/PLT-7771
Checklist

[ ] Has UI changes
[ ] Includes text changes and localization file updates

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: http://i-018ac3b65942dcf63.spinmint.com:8065/pr164
Test Account 1: Email<EMAIL_ADDRESS>| Password: passwd
Test Account 2: Email<EMAIL_ADDRESS>| Password: passwd
Instance ID: i-018ac3b65942dcf63

Spinmint test server destroyed

@esethna

Done
Done. If there is an existing index it is incrementally updated.
Will look at this as soon as the new spinmint is read.
a. You'll see :)
b. Again, it'll be obvious when it's working. % progress I think will be shown in the "extra" column.
c. "Extra" column.

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

1 & 5 are CSS fixes so might be better to ask AM to take a look at them.

Can happen if you're messing the server about enough. Shouldn't happen normally. It gets stuck in Cancelling state, and won't ever change. Not really anything we can do right now to fix it. There's a plan eventually to add some kind of cleanup functionality for the jobs SQL table to address this.

2 & 3 - will investigate and update the PR.

(the reason for it getting stuck in this case was me messing with the Elasitcsearch setup to try and give you an example of an "error" result, which didn't work out right).

@asaadmahmood can you help out with 1 & 5 above when you get a chance?

Done @jasonblais

@grundleborg Please pull my changes before submitting yours.

@esethna all done.

Spinmint test server destroyed

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: http://i-0930bfc0b270a01e3.spinmint.com
Test Account 1: Email<EMAIL_ADDRESS>| Password: passwd
Test Account 2: Email<EMAIL_ADDRESS>| Password: passwd

@esethna spinmint set up with elasticsearch now, ready for you to verify the changes.

Looks good, thanks @grundleborg @asaadmahmood


Document Page - Folder should not cut paste in self folder

Describe the bug

When we try to cut and past "abc" folder to abc folder itself this shoud be not happened
when we delete inside folder outer folder is also deleted

https://www.berrycast.com/conversations/4ece66b4-695a-546b-99ec-5a1836f9f704

https://www.berrycast.com/conversations/60a4e6d1-0811-5668-a583-9620186e42f2


Do not restart mongo resources

Why was this change made?
This may be something only I'm seeing, or there may be a better approach, but the restart: always configs here mean that the mongo resources are configured to always start when docker-desktop starts. This is not ideal for local resources where we don't want an extraneous service running when we're not working on this project.
In order to remove the restart directive, docker-compose up -d needs to run with this config (including the restart: "no", we can likely eventually just remove the restart directive all together, but if you've already run the current config, you need to force it to get the new no-restart.
If we need the restart directive, perhaps restart: unless-stopped would be more appropriate so we can actually stop the thing.
How was this change tested?
Locally
Which documentation and/or configurations were updated?
N/A

rebasing nightmare from changes since opening this PR... will open a new PR


Setting maxBandwidth to less than lowest bandwidth track plays highest bandwidth track

If you have a track with multiple video variants, set the maxBandwidth property to less than the bandwidth of the lowest variant. (ex: if the lowest quality is 135000, set maxBandwidth to 100000). The player will then start fetching chunks from the highest quality available. Ideally if your restrictions are set below the level of the lowest variant, the player should start fetching the lowest quality videos chunks, not the highest.

Good catch.  Essentially, the restrictions make it so that there are no usable tracks.  This isn't a scenario we had really considered, so we need to decide how we want the Player to behave if this happens.
In the mean time, at an application level, you should definitely not place external limits that result in all tracks being restricted and unusable.

Yeah this is really low priority for us because we have no reason to set restrictions like this. It just seems like counterintuitive behaviour so I figured I'd report it.

Quick update: With the latest change, it seems the behaviour is different now. Instead of playing the highest track it fails with cannot read property 'segmentIndexSource' of null.


Chocolatey GUI icon is a blank image

Details: https://github.com/chocolatey/ChocolateyGUI/issues/589

@superbonaci can you please provide a screenshot of what you are seeing?  As I am not seeing any problems with the latest release currently.

Yes

However ChocolateyGUI.exe Properties do display the icon:

Ok solved it looking for similar issues on Google.
Had to boot into linux livecd and delete all thumbcache_*.db inside Explorer folder. Tried do to it from Windows with Explorer.exe closed but for some files said Access denied even as admin:
DEL /F /S /Q /A %LocalAppData%\Microsoft\Windows\Explorer\thumbcache_*.db
After booting again into Windows displayed an error then rebooted again and worked.
Now it's displayed properly:

@superbonaci ok, glad to hear that you got this working.  I am going to go ahead and close this issue.


[az containerapp compose create] Support to enable Managed Identities for accessing to Azure App Configuration

Describe the bug
Pls kindly consider to add a support for enabling a Managed Identity (System-Assigned or User-Assigned Identity) to access an Azure App Configuration store from Container Apps.
Related command
az containerapp compose create
Errors
N/A
Issue script & Debug output
N/A
Expected behavior
It would be great if that command supports to create a Managed Identity for accessing to an App Configuration store and loading the environment vars (app configuration = app settings + connection strings).
Environment Summary
azure-cli                         2.60.0 *

core                              2.60.0 *
telemetry                          1.1.0

Extensions:
aks-preview                     3.0.0b13
azure-devops                       1.0.0
containerapp                      0.3.50

Dependencies:
msal                              1.28.0
azure-mgmt-resource             23.1.0b2

Additional context
Every time a Container App has been deployed from Azure DevOps with that command, the environment vars are completely lost.

Thank you for opening this issue, we will look into it.


Section 3, Step 2: [XCode 8.1] Banner appears in every layout

You're probably aware that in XCode 8.1 there is no height and width selector in storyboard editor anymore. There are selectors the devise, orientation and adaptation instead.
I started (like you said on the video) by dragging the Banner image to the storyboard while in iPhone 7 portrait (wC hR) mode, and maximised it so that it filled all the width. While switching to iPad view (wR hR) I still see the Banner image (the iPad version with "Body Mass Index Estimate" label).
So when I set up all the constraints and simulate the application, for example, on iPhone 5 (iPhone 4s simulation is no longer available in XCode 8, I believe) the Banner appears on the screen in both portrait and landscape modes.

Alright. Managed to solve this issue by unchecking "Installed" option and adding two variations (wC hR and wR hR) checked for the banner, view and for the every constraint (that's quite a boring thing to do).
I think you might close this one.


118 | Pascal's Triangle | C++

Title - Pascal's Triangle
What will change - C++ code for the problem will be added
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] C++

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

Hi ! Can you assign me this issue ?

Hey! I can work on this issue. Can you assign me this?

Hi ! Can you assign me this issue ?

Thank you for assigning @SSKale1
Will get it done ASAP

@SSKale1 Hi ! Please review PR #865 for issue #690

@SSKale1 Hi ! Please review file with #866 for issue #690
Please commit the code with the "Update" description, that is the right solution.


indexer: merge tx and object in checkpoint handler

Description
It was split before mainnet for better backfill speed on testnet, it's no longer urgent b/c TPS is not super high today, but this split is very error-prune and caused issues and affected reliability in the past, thus
To improve peak TPS handling capability, it's planned to rewrite object commit via replacing upsert with append-only.
Test Plan
running locally agains both testnet and mainnet to make sure

all obj handler related tables are all populated as expected including objects, epochs, packages, input_objects, move_calls and recipients.
compared commit speeds over first 10k checkpoints and the obj is still the bottle-neck and it's not any faster

testnet with change: 650s <> testnet without changes: 1) tx: 510s 2) obj: 670s
mainnet with change: 150s <> mainnet without changes: 1) tx: 110s 2) obj: 145s

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

will rebase when https://github.com/MystenLabs/sui/pull/12181 gets merged


Fix failing test AvroStreamsSnapshotDeserializerTest due to changes in SR

With the introduction of a new protocol id in schema registry project that optimizes the bytes used to identify the schema associated with a payload AvroStreamsSnapshotDeserializerTest is failing

https://github.com/hortonworks/streamline/pull/834


Please add Docker 17.05 support

Rancher versions:
rancher/server:
rancher/agent:
Infrastructure Stack versions:
healthcheck:
ipsec:
network-services:
scheduler:
kubernetes (if applicable):
Docker version: (docker version,docker info preferred)
Operating system and kernel: (cat /etc/os-release, uname -r preferred)
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Environment Template: (Cattle/Kubernetes/Swarm/Mesos)
Steps to Reproduce:
Results:

We do not and will not support Edge releases, as they are only supported by Docker for a month (and for 17.05 that month is already up).
17.06 support will be in the next patch release.


Leaderboard in machine readable format

Thanks for the great work!
Can you provide the leaderboard results in some machine readable format (json, csv, xlsx etc.) in the repo as well?

Thanks for your advice.We have uploaded xlsx format in assets/agentbench_leaderboard.xlsx


cmd/go: Since 1.18.1, go run always uses -buildvcs=false

What version of Go are you using (go version)?

$ go version
go version go1.18.1 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/circleci/.cache/go-build"
GOENV="/home/circleci/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/circleci/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/circleci/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.18.1"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="0"
GOMOD="/home/circleci/project/go.mod"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build2409035375=/tmp/go-build -gno-record-gcc-switches"

What did you do?
Attempting to extract VCS info from debug.ReadBuildInfo() when running under go run.

https://go.dev/play/p/_09ZOz1UlC7
Create a new directory
go mod init example
Save the playground code as main.go
go run .

What did you expect to see?

Run 'go help run' for details.

Even even worse, -buildvcs=true is ignored:
$ go run -buildvcs=true .
-compiler gc
CGO_ENABLED 0
GOARCH amd64
GOOS linux
GOAMD64 v1

Presumably this is (unintentional) fallout from #51723 and/or #51748

The backport for -buildvcs=auto is still open, so that's not expected to work yet #51798
cc @bcmills @matloob

go run intentionally should not stamp VCS metadata. It has a nonzero latency cost and essentially zero benefit; the fact that it happened to stamp the binary in Go 1.18 was a bug missed during pre-release testing.
go run may be used with or without an explicit version.

With an explicit version, there is no applicable VCS containing the package anyway.
Without an explicit version, the VCS metadata can be recovered by running the VCS tool manually, since (by definition) go run does not result in a binary to be stored and shipped separately from the VCS and the go run command must have occurred within the repository.

@bcmills I ask you reconsider for the following context/reasons:

The use case of go run . has VCS data available
At the very least, if go run is never going to stamp VCS data, then it should report an error if you invoke it as go run -buildvcs=true. Currently it accepts this flag but silently ignores it.

I am also having a lot of trouble getting go build -buildvcs=true to embed anything but (devel) as the version string for our internal included package, and the buildinfo.Settings including nothing but this:
-compiler = gcSetting CGO_ENABLED = 1Setting CGO_CFLAGS = Setting CGO_CPPFLAGS = Setting CGO_CXXFLAGS = Setting CGO_LDFLAGS = Setting GOARCH = amd64Setting GOOS = linuxSetting GOAMD64 = v1Dep github.com/PuerkitoBio/purell = v1.1.1

The documentation for BuildInfo is laughably sparse, and there is no indication how to add entries to Settings nor how to modulate the version strings embedded in the executable for the main program.
Maybe all of that info comes from what should be obvious places to those more familiar with go's package system than I am, but I have had no luck getting go build to embed anything useful when building inside a committed git repo.

Let's say we want to use debug.ReadBuildInfo in the GopherJS compiler to determine the version & mod sum for gopherjs from go.mod used when we ran go run.
This is a situation where -buildvcs=true with go run makes sense.


Images: Error: Invalid src prop

My case is a bit unique since I'm hosing my backend WP on Bluehost. All images get a hostname of i0.wp.com instead of my Domain Name

I've checked my next.config.js and reloaded my nextJS server after editing
const path = require('path');
const allowedImageWordPressDomain = new URL( process.env.NEXT_PUBLIC_WP_SITE_URL ).hostname;

module.exports = {
	trailingSlash: false,
	webpackDevMiddleware: config => {
		config.watchOptions = {
			poll: 1000,
			aggregateTimeout: 300
		}

		return config
	},
	sassOptions: {
		includePaths: [path.join(__dirname, 'styles')]
	},
	/**
	 * We specify which domains are allowed to be optimized.
	 * This is needed to ensure that external urls can't be abused.
	 * @see https://nextjs.org/docs/basic-features/image-optimization#domains
	 */
	images: {
		domains: [
      "i0.wp.com",
      allowedImageWordPressDomain,
      "via.placeholder.com"
    ],
	},
}

/** @type {import('next').NextConfig} */
const nextConfig = {
  reactStrictMode: true,
  swcMinify: true,
}

module.exports = nextConfig

yet still it's giving me the error. It's like the custom next.config.js isn't being loaded?

realizing I left the bottom snippet from an earlier edit.
/** @type {import('next').NextConfig} */
const nextConfig = {
  reactStrictMode: true,
  swcMinify: true,
}

module.exports = nextConfig


automation: add coverage report

Add coverage report for performed tests.
Signed-off-by: Sandro Bonazzola<EMAIL_ADDRESS>

Coverage report provided in build summary: https://github.com/redhat-chaos/krkn/actions/runs/3038265514 and full report as artifact: https://github.com/redhat-chaos/krkn/suites/8249050238/artifacts/360543002


Update and correct slf4j version in pom.xml

Please update and correct slf4j version configurations in pom.xml.

Update to the latest slf4j version available: 1.7.13 (Nov, 2015) -> 1.7.25 (Mar, 2017)

<slf4j.version>1.7.13</slf4j.version>

-->
<slf4j.version>1.7.25</slf4j.version>

Correct the dependency

<dependency>
	<groupId>org.slf4j</groupId>
	<artifactId>slf4j</artifactId>
	<version>1.7.21</version>
</dependency>

-->
...
	<version>${slf4j.version}</version>
...

Correct slf4j-ext-1.6.3.jar in distribution

Please check and correct why slf4j-ext in version 1.6.3 is included in membrane-service-proxy-4.6.2.zip and not version 1.7.13 (or now 1.7.25).

Has been fixed by upgrading the io.swagger dependencies: slf4j* is now at 1.7.30 .


Support -F and --form option

This PR allow to convert curl to php with options -F and --form.
Example:
curl -X POST https://api.easypost.com/v2/shipments \
     -u API_KEY: \
     -F 'field[0]=value1' \
     -F<EMAIL_ADDRESS>
is converted as
$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, 'https://api.easypost.com/v2/shipments');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
$post = array(
    'field[0]' => 'value1',
    'field[1]' => '@' .realpath('myFile.png')
);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
curl_setopt($ch, CURLOPT_USERPWD, 'API_KEY' . ':' . '');

$result = curl_exec($ch);
if (curl_errno($ch)) {
    echo 'Error:' . curl_error($ch);
}
curl_close($ch);

If this PR is merged, issue #26 can be closed

Hi @incarnate,  Are you planning to merge this issue anytime soon ?

Sorry for the slow review, looks good, thanks for the contribution @alamirault


encode value in rerun link

encode value in rerun link to handle special characters (i.e., space, &,
&, etc)
Resolves: #1962
Signed-off-by: lanxia<EMAIL_ADDRESS>

Grinder
Comment
Grinder using rerun link

Grinder/3939
space in CUSTOMIZED_SDK_URL and & in LABEL
Grinder/3941

Grinder/3940
+ in CUSTOMIZED_SDK_URL
Grinder/3942

Will merge after the final releases this week go out the door!


[DO NOT REVIEW] No-op change for testing post-commit quota usage.

This is a test review to trigger post-commits and validate quota usage.
 Causes: Error:
Message: Quota 'INSTANCE_TEMPLATES' exceeded. Limit: 100.0 globally.
HTTP Code: 403

and

Workflow failed. Causes: Project apache-beam-testing has insufficient quota(s) to execute this workflow with 1 instances in region us-central1. Quota summary (required/available): 1/7411 instances, 1/411 CPUs, 250/64260 disk GB, 0/4046 SSD disk GB, 1/26 instance groups, 1/26 managed instance groups, 1/0 instance templates, 1/363 in-use IP addresses.
Please see https://cloud.google.com/compute/docs/resource-quotas about requesting more quota.

I've opened [BEAM-4722] for quota issues.

OK, this is encouraging. The most stressed quota was concurrent DF jobs, and we were only at 70% capacity (so far).

All three concurrent builds finished successfully in 2 hrs and change.

🚀🚀🚀


Sample Needs Updating

The form of MongoClient.connect does not work with the current version of MongoDB JS API, due to escaped characters in the password key, instead it needs to be
MongoClient.connect(url, {
auth: {
user: userName,
password: pw
}
}, function (err, db) {
...
Also on running the sample, after making that change, I get the error
TypeError: db.collection is not a function

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

ID: af9cbd0c-dcec-8316-208c-9e92b92107f1
Version Independent ID: f9dd684a-06de-5f14-f81a-4d1003deb477
Content: Use MongoDB APIs to build an Azure Cosmos DB app
Content Source: articles/cosmos-db/mongodb-samples.md
Service: cosmos-db
GitHub Login: @AndrewHoh
Microsoft Alias: anhoh

@squeakyD Thanks for the feedback! We are currently investigating and will update you shortly.

@AndrewHoh It looks like this tutorial needs to be updated to reflect changes in functionality with the service.

#in-process @AnddrewHoh is investigating

Still in process.

@squeakyD - @andrewhoh has published a change to the page: https://docs.microsoft.com/en-gb/azure/cosmos-db/mongodb-samples to address your feedback. Thank you again for providing this feedback. #please-close


Note that China and US Gov Cloud are not supported.

I may not be in full conformance to the contribution guidelines because the page CONTRIBUTING.md contains a broken link to the actual guidelines.
(currently the broken link is https://github.com/docker/docker.github.io/blob/master/opensource/project/who-written-for
Proposed changes
The US Gov cloud region is not supported in this template.  This
seems like useful info to have before trying.  This PR adds a note
in the prerequisites area and in the FAQ.

@kencochrane can you confirm that Docker for AWS doesn't currently support AWS the US Gov region?

As of Today we do not support AWS Gov Cloud, but we are working on adding support. This change is fine, since it is currently correct.
We will need to remember to update once we have rolled out support for AWS Gov Cloud.


Needs validateAuthority flag to work with b2clogin.com redirects

Great package, thanks for putting this together! I even thought this was the official MS package since it was featured on TechNet: https://social.technet.microsoft.com/wiki/contents/articles/52573.azure-ad-b2c-secure-your-reactjs-frontend.aspx
One small issue, the recommended login redirect to <your-domain>.b2clogin.com requires the flag validateAuthority to be set to false when calling Msal.UserAgentApplication(): https://docs.microsoft.com/bs-latn-ba/azure/active-directory-b2c/b2clogin
I have added this change to the initialize function on our fork and verified that it works:
https://github.com/information-experience-sweden-ab/react-azure-adb2c/commit/fdc6855b3f3c84a9704f596d9a907814c9928e09

Hi @anders-lundgren ... probably a silly question ... but where exactly do you set validateAuthority to false?

any plans to merge this to the package ?


Adding Set Debug Back

Adding setDebug() Api for supporting debugging on other SDKs
@aaustin

Looks good 👍 This has all of the other stuff in it as well in case you didn't notice.


restart background worker on crash

@olirice How did you manage to crash it? I thought https://github.com/supabase/pg_net/pull/15 fixed these cases.

Yeah it did. That solved the ones that showed up in the test suite. If you're confident that the background worker is crash-proof we can skip this but it'd be nice to have a second line of defense against the worker failing b/c monitoring for craashes would be difficult.


Starfinder (simple) update 05212020

Changes / Comments
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[ ] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

I see you work from your master branch, and that results github showing all your commits in the PR, making the overview of commits harder. It also means you can't have more than one PR active at any time.
I strongly encourage you to check out the GitHub guide we have and to try out using branches instead of working from your master branch, resulting in a much more clean workflow.

Closing this request to prevent conflict with more recent request which contains these changes and others.


ResourceManagementClient update_by_id() requires sku for Microsoft.Web/serverfarms resources

            generic_resource = GenericResource(location=az_resource.location,
                                               tags=tags,
                                               properties=az_resource.properties,
                                               kind=az_resource.kind,
                                               managed_by=az_resource.managed_by,
                                               identity=az_resource.identity)

                client.resources.update_by_id(resource['id'], api_version, generic_resource)

This code fails with Error: 400 Client Error: Bad Request for url: https://management.azure.com/subscriptions/<subscription>/resourceGroups/<rg>/providers/Microsoft.Web/serverfarms/<appserviceplan>?api-version=2018-11-01 if we don't specify sku parameter. Works fine if we pass anything as a sku for GenericResource
I believe this code was working for AppServicePlans before.. So, looks like some regression.
You can see more details in related issue: https://github.com/cloud-custodian/cloud-custodian/issues/3327

@ravbhatnagar what do you think?

All tracked resources must support PATCH of tags, no? I believe the problem is that there is no way to just add a single tag to the set of pre-existing tags on a given resource, thus the GET/PUT dance.

@lmazuel @johanste do you know if there was some progress with this issue?