L for HMC should be integer

Ashley Ford reported this issue on stan-users.

I have been leaving int_time__ at it's default value of 2 pi and and other parameters at their defaults. Calculating L  from the output of get_sampler_params(sg100Hresb,inc_warmup=TRUE) does give fractional values,  the heads of an example set of chains

With example:
  accept_stat__ stepsize__ int_time__        L
1  1.000000e+00  0.1250000   6.283185 50.26548
2  4.587079e-01  0.3599190   6.283185 17.45722
3  1.000000e+00  0.1777388   6.283185 35.35067
4  2.445632e-79  0.4722619   6.283185 13.30445
5  1.000000e+00  0.1439539   6.283185 43.64719
6  6.089640e-05  0.3901480   6.283185 16.10462

[ ] these should print as the integer number of steps actually used (assuming it doesn't take a final partial step, in which case this issue should be moved to doc to explain the output)

[ ] thank Ashley Ford in acknowledgements

From where is L getting printed?  The C++ prints only step size and integration time,
not L.  Is this an RStan issue?
On Oct 12, 2015, at 11:23 AM, Bob Carpenter<EMAIL_ADDRESS>wrote:

Ashley Ford reported this issue on stan-users.
I have been leaving int_time__ at it's default value of 2 pi and and other parameters at their defaults. Calculating L from the output of get_sampler_params(sg100Hresb,inc_warmup=TRUE) does give fractional values, the heads of an example set of chains
With example:
accept_stat__ stepsize__ int_time__        L
1  1.000000e+00  0.1250000   6.283185 50.26548
2  4.587079e-01  0.3599190   6.283185 17.45722
3  1.000000e+00  0.1777388   6.283185 35.35067
4  2.445632e-79  0.4722619   6.283185 13.30445
5  1.000000e+00  0.1439539   6.283185 43.64719
6  6.089640e-05  0.3901480   6.283185 16.10462
these should print as the integer number of steps actually used (assuming it doesn't take a final partial step, in which case this issue should be moved to doc to explain the output)
thank Ashley Ford in acknowledgements
—
Reply to this email directly or view it on GitHub.

I'd think CmdStan should print L as an integer.  So this must be
an R thing.
But it needs to be available from the new interfaces, I'd think.
What is the actual number of steps --- round off or round up?

On Oct 12, 2015, at 2:45 PM, Michael Betancourt<EMAIL_ADDRESS>wrote:
From where is L getting printed? The C++ prints only step size and integration time,
not L. Is this an RStan issue?
On Oct 12, 2015, at 11:23 AM, Bob Carpenter<EMAIL_ADDRESS>wrote:

Ashley Ford reported this issue on stan-users.
I have been leaving int_time__ at it's default value of 2 pi and and other parameters at their defaults. Calculating L from the output of get_sampler_params(sg100Hresb,inc_warmup=TRUE) does give fractional values, the heads of an example set of chains
With example:
accept_stat__ stepsize__ int_time__ L
1 1.000000e+00 0.1250000 6.283185 50.26548
2 4.587079e-01 0.3599190 6.283185 17.45722
3 1.000000e+00 0.1777388 6.283185 35.35067
4 2.445632e-79 0.4722619 6.283185 13.30445
5 1.000000e+00 0.1439539 6.283185 43.64719
6 6.089640e-05 0.3901480 6.283185 16.10462
these should print as the integer number of steps actually used (assuming it doesn't take a final partial step, in which case this issue should be moved to doc to explain the output)
thank Ashley Ford in acknowledgements
—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub.

CmdStan shouldn't print L at all, which is what I was trying to say.
Behind the scenes it’s a static_cast, so follows the C++ rounding
rules.
On Oct 12, 2015, at 11:47 AM, Bob Carpenter<EMAIL_ADDRESS>wrote:

I'd think CmdStan should print L as an integer. So this must be
an R thing.
But it needs to be available from the new interfaces, I'd think.
What is the actual number of steps --- round off or round up?

On Oct 12, 2015, at 2:45 PM, Michael Betancourt<EMAIL_ADDRESS>wrote:
From where is L getting printed? The C++ prints only step size and integration time,
not L. Is this an RStan issue?
On Oct 12, 2015, at 11:23 AM, Bob Carpenter<EMAIL_ADDRESS>wrote:

Ashley Ford reported this issue on stan-users.
I have been leaving int_time__ at it's default value of 2 pi and and other parameters at their defaults. Calculating L from the output of get_sampler_params(sg100Hresb,inc_warmup=TRUE) does give fractional values, the heads of an example set of chains
With example:
accept_stat__ stepsize__ int_time__ L
1 1.000000e+00 0.1250000 6.283185 50.26548
2 4.587079e-01 0.3599190 6.283185 17.45722
3 1.000000e+00 0.1777388 6.283185 35.35067
4 2.445632e-79 0.4722619 6.283185 13.30445
5 1.000000e+00 0.1439539 6.283185 43.64719
6 6.089640e-05 0.3901480 6.283185 16.10462
these should print as the integer number of steps actually used (assuming it doesn't take a final partial step, in which case this issue should be moved to doc to explain the output)
thank Ashley Ford in acknowledgements
—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub.

If CmdStan shouldn't print it, then neither should RStan!
I realize it's derivable from two other things, but that doesn't
necessarily mean we don't want to print it.  Printing it means people
can inspect it easily in the output.
But I'm happy either way on this one.  It's no big deal because
it's just basic (non-NUTS) HMC anyway.

On Oct 12, 2015, at 2:50 PM, Michael Betancourt<EMAIL_ADDRESS>wrote:
CmdStan shouldn't print L at all, which is what I was trying to say.
Behind the scenes it’s a static_cast, so follows the C++ rounding
rules.
On Oct 12, 2015, at 11:47 AM, Bob Carpenter<EMAIL_ADDRESS>wrote:

I'd think CmdStan should print L as an integer. So this must be
an R thing.
But it needs to be available from the new interfaces, I'd think.
What is the actual number of steps --- round off or round up?

On Oct 12, 2015, at 2:45 PM, Michael Betancourt<EMAIL_ADDRESS>wrote:
From where is L getting printed? The C++ prints only step size and integration time,
not L. Is this an RStan issue?
On Oct 12, 2015, at 11:23 AM, Bob Carpenter<EMAIL_ADDRESS>wrote:

Ashley Ford reported this issue on stan-users.
I have been leaving int_time__ at it's default value of 2 pi and and other parameters at their defaults. Calculating L from the output of get_sampler_params(sg100Hresb,inc_warmup=TRUE) does give fractional values, the heads of an example set of chains
With example:
accept_stat__ stepsize__ int_time__ L
1 1.000000e+00 0.1250000 6.283185 50.26548
2 4.587079e-01 0.3599190 6.283185 17.45722
3 1.000000e+00 0.1777388 6.283185 35.35067
4 2.445632e-79 0.4722619 6.283185 13.30445
5 1.000000e+00 0.1439539 6.283185 43.64719
6 6.089640e-05 0.3901480 6.283185 16.10462
these should print as the integer number of steps actually used (assuming it doesn't take a final partial step, in which case this issue should be moved to doc to explain the output)
thank Ashley Ford in acknowledgements
—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub.

I  hope my last post didn't confuse,
I was calculating L myself from stepsize__ and int_time__
My understanding now is that the actual integration time is
stepsize__  *  round(int_time__ / stepsize__)
usually slightly less than  int_time__
I don't think code needs any changes, just an extra sentence in documentation.

Moved to an issue comment in doc:  https://github.com/stan-dev/stan/issues/1617#issuecomment-150450203


Add C++ gradient for Cast

add ops (Ceil, Round and Rint) that return zero gradients
minor formatting fixes from clang-format

Tested for flakes with:
$ bazel test --runs_per_test=100 tensorflow/cc:gradients_math_grad_test
...
//tensorflow/cc:gradients_math_grad_test                                 PASSED in 1.6s
  Stats over 100 runs: max = 1.6s, min = 0.6s, avg = 1.3s, dev = 0.1s

Fixes https://github.com/tensorflow/tensorflow/issues/14081

Nagging Reviewer @drpngx, @benoitsteiner: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 14 days with no activity and the awaiting review label has been applied.

Nagging Assignee @caisq: It has been 30 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @caisq: It has been 45 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @caisq: It has been 60 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @caisq: It has been 75 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @caisq: It has been 90 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @caisq: It has been 120 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @caisq: It has been 135 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

@kbsriram can you please resolve conflicts

I'm going to go ahead and close this PR, because it seems to have stalled. If you're still interested in pursing this (and responding to my comments), please feel free to reopen!


queriedContext not available from getName but getInput is?

Is this intentional? It means you can't do a case switch like you can in collectData.

Nevermind, it was a problem with caching.


Update faucet info to include guild link

/gt docs/build/dapp/fuji-workflow.md i18n/es/docusaurus-plugin-content-docs/current/build/dapp/fuji-workflow.md spanish

/gt docs/build/dapp/launch-dapp.md i18n/es/docusaurus-plugin-content-docs/current/build/dapp/launch-dapp.md spanish

/gt docs/build/dapp/smart-contracts/erc-20.md i18n/es/docusaurus-plugin-content-docs/current/build/dapp/smart-contracts/erc-20.md spanish

/gt docs/build/dapp/smart-contracts/get-funds-faucet.md i18n/es/docusaurus-plugin-content-docs/current/build/dapp/smart-contracts/get-funds-faucet.md spanish

/gt docs/build/dapp/smart-contracts/nfts/deploy-collection.md i18n/es/docusaurus-plugin-content-docs/current/build/dapp/smart-contracts/nfts/deploy-collection.md spanish

/gt docs/build/dapp/smart-contracts/remix-deploy.md i18n/es/docusaurus-plugin-content-docs/current/build/dapp/smart-contracts/remix-deploy.md spanish

/gt docs/build/dapp/smart-contracts/toolchains/foundry.md i18n/es/docusaurus-plugin-content-docs/current/build/dapp/smart-contracts/toolchains/foundry.md spanish

/gt docs/build/subnet/deploy/fuji-testnet-subnet.md i18n/es/docusaurus-plugin-content-docs/current/build/subnet/deploy/fuji-testnet-subnet.md spanish

/gt docs/build/subnet/utility/avalanche-subnet-faucet.md i18n/es/docusaurus-plugin-content-docs/current/build/subnet/utility/avalanche-subnet-faucet.md spanish

/gt docs/build/subnet/utility/cross-chain-evm-bridge.md i18n/es/docusaurus-plugin-content-docs/current/build/subnet/utility/cross-chain-evm-bridge.md spanish

/gt docs/learn/avalanche/fuji.md i18n/es/docusaurus-plugin-content-docs/current/learn/avalanche/fuji.md spanish


Webpack uglify fails

The webpack uglify plugin fails if you run webpack -p
Error message:
ERROR in UglifyEsPlugin - spritemap.svg
{"message":"Unexpected token: operator (<)","filename":"spritemap.svg","line":1,"col":0,"pos":0}

Any idea how to solve this issue?

I can't seem to reproduce this issue. It looks like it's trying to parse the SVG as JS which throws the error you've provided.
Could you provide a minimal test case?

I've just included the plugin in the webpack config file like this and ran the command webpack -p
module.exports.plugins = (module.exports.plugins || []).concat([
    new SVGSpritemapPlugin({
        src: './assets/**/*.svg',
        prefix: 'icon-',
    }),
])

When i do the webpack --watch command it creates the spritemap.svg file.

Could you provide the entire webpack configuration in this issue or (even better) a link to the project so I can test this? I suspect something goes wrong with production-specific loader configuration but I'm not sure as I don't know anything about your setup.

I'm using now a workaroud to build the spritemap file first in the development process and exclude later the plugin in the production build but this feels wrong...
const path = require('path')
const webpack = require('webpack')
const SVGSpritemapPlugin = require('svg-spritemap-webpack-plugin')
const CopyWebpackPlugin = require('copy-webpack-plugin')
const UglifyEsPlugin = require('uglify-es-webpack-plugin')

process.env.BABEL_ENV = 'app'

module.exports = {
    entry: {
        renderer: path.join(__dirname, 'app/main.js')
    },
    output: {
        path: path.resolve(__dirname, './app-dist'),
        libraryTarget: 'commonjs2',
        filename: 'build.js'
    },
    resolve: {
        extensions: ['.js', '.vue', '.scss'],
        alias: {
            vue: 'vue/dist/vue.js'
        }
    },
    target: 'electron-renderer',
    module: {
        rules: [
            {
                test: /\.vue$/,
                loader:  'vue-loader',
                options: {
                    loaders: {
                        'scss': 'vue-style-loader!css-loader!sass-loader',
                        'sass': 'vue-style-loader!css-loader!sass-loader?indentedSyntax',
                        'js': 'babel-loader!eslint-loader'
                    },
                },
                include: [
                    path.resolve(__dirname, "app/"),
                ],
            },
            {
                test: /\.js$/,
                loaders: [
                    'babel-loader',
                    'eslint-loader',
                ],
                include: [
                    path.resolve(__dirname, "app/"),
                ],
            },
        ]
    },
    plugins: [
        new webpack.NoEmitOnErrorsPlugin(),
        new webpack.DefinePlugin({
            'process.env.LATER_COV': false,
        }),
        new CopyWebpackPlugin([
            {from: 'app/index.html'},
            {from: 'node_modules/terminal-notifier/terminal-notifier.app/Contents/MacOS/terminal-notifier'},
        ], {}),
    ],
    node: {
        __filename: true,
        __dirname: true
    }
}

if (process.env.NODE_ENV === 'developemnt') {
    module.exports.plugins = (module.exports.plugins || []).concat([
        new SVGSpritemapPlugin({
            src: './assets/**/*.svg',
            prefix: 'icon-',
        }),
    ])
}
if (process.env.NODE_ENV === 'production') {
    module.exports.devtool = 'source-map'
    module.exports.plugins = (module.exports.plugins || []).concat([
        new UglifyEsPlugin(),
    ])
}

Does excluding the spritemap.svg using the exclude option from uglifyjs-webpack-plugin not work?

Not tried it yet but shouldn't that be a problem because the uglifyjs tries to uglify only js files?

Yeah, I noticed the test option too. I'm willing to look into the issue regarding the fact that it tries to minify a file that doesn't pass the test but I'm short on time for the upcoming weeks so I'm looking for a solution to your problem in the meantime.

Cool thanks. Helps me a lot and thanks also for the great plugin!

You're more than welcome! I'll keep the issue open so I don't forget to look into this when I have the time.

I've been looking into this for the last hour but can't really replicate the issue. When someone runs into this problem and can submit a working test case I'd be happy to look into it once more.


Add text to instructions for zip file upload

Amend the subtext for the zip file upload to add:
Unzipping may take several minutes if your zip file contains a large number of individual files.
So, the full line will read:
Viewers will see the file hierarchy and be able to download individual files. Unzipping may take several minutes if your zip file contains a large number of individual files.

Please let @astridu know if you need a design mockup for this.


RightSideBar issue

Every time i add the right side bar i either gate cannot find properties of 'name' or 'email', whatever name I add after user. If i delete RighSideBar from loading then it works.

I fixed the issue, it was a typo, i had 'appwtrite-session' in my user actions instead of 'appwrite-session'.


Update Portuguese translation

Please make the Pull Request to the master, not to the staging. thank you


[BUG] python file use exec to define a function , use eval to call the function ,it works,but convert to pyd return function is not defined

Describe the bug
in the python file my code :
def testpdyexe():     f_str='''def  testxxx(x,y):         print(x,y)     '''     exec(f_str)     p={'x':1,'y':2}     return eval('testxxx')(**p) testpdyexe()
it works return 1,2.but when I convert the python file to pyd file. it return error：
NameError
Traceback (most recent call last)
 in
NameError: name 'testxxx' is not defined
how can I sovle the problem?

That's because you are modifying locals by adding testxxx to it. Read the documentation for exec including the notes telling you not to do this.
If it seems to work on uncompiled Python it's pure luck.

def testpdyexe():
f_str='''def testxxx(x,y):
print(x,y)
return 1+1,str(111)
'''
p={'x':1,'y':2}
from types import FunctionType

foo_code = compile(f_str, "<string>", "exec")
foo_func = FunctionType(foo_code.co_consts[0], globals(), "foo")
return foo_func(**p)

it works


Javascript example performance issue

Hi,
I'm using javascript example under examples folder, and encountering a weird behaviour.
Parse time is growing exponentially when adding extra brackets.
For instance, the following are the time results of parsing:
2+2  // 30ms
(2 + 2) // 48ms
((2+2)) // 94ms
(((2 +2))) // 431ms
((((2+2)))) // 4184ms
(((((2+2))))) // 45949ms

What is the reason for such growth in calculation time?
What needs to be done in order to improve it?
*** Update ***
Found that cache option is the solution for such exponential growth.
Thanks in advance,
Reuven.

For the record, this looks like a duplicate of #205.


Enable to set timezone Calendar for writing and reading timestamp data

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

Comparison is base (e8999f6) 87.50% compared to head (480bbcf) 87.11%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##             master      #58      +/-   ##
============================================
- Coverage     87.50%   87.11%   -0.39%
- Complexity      261      263       +2
============================================
  Files            22       22
  Lines           848      854       +6
  Branches         85       86       +1
============================================
+ Hits            742      744       +2
- Misses           67       69       +2
- Partials         39       41       +2

Files
Coverage Δ

...in/java/os/failsafe/executor/FailsafeExecutor.java
86.56% <100.00%> (-0.88%)
:arrow_down:

...main/java/os/failsafe/executor/TaskRepository.java
87.70% <100.00%> (-1.12%)
:arrow_down:

...main/java/os/failsafe/executor/utils/Database.java
78.72% <83.33%> (+0.94%)
:arrow_up:

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

Just had a look at the code. Couldn't this be resolved by passing a custom implementation of the SystemClock to the FailsafeExecutor constructor instead of the DefaultSystemClock which uses LocalDateTime provider?
The only timestamp that is not set by the system clock as far as I can see, is the creationTime. But this can also be set via SystemClock. So there wouldn't be a need for the TimeZone parameter.

Just had a look at the code. Couldn't this be resolved by passing a custom implementation of the SystemClock to the FailsafeExecutor constructor instead of the DefaultSystemClock which uses LocalDateTime provider?
The only timestamp that is not set by the system clock as far as I can see, is the creationTime. But this can also be set via SystemClock. So there wouldn't be a need for the TimeZone parameter.

I will try


[Feature Request] Rename current request by pressing F2

Insomnia Version: 5.15.0
Operating System: Ubuntu 16.04

Details

When you duplicate a request with keystroke Ctrl-D, there is no way begin renaming it without using mouse. Making F2 begins renaming would be really helpful.

Good suggestion. I'll try to add this to the next release.
BTW, there is a way to rename a request using only the keyboard, but it's not at all convenient:

Open request settings dialog Cmd+Shift+Ctrl+, (Mac) or Ctrl+Alt+Shift+,
Press TAB twice to focus name field
Rename request
Press ESC to close dialog

any update on this feature?


Cosmos-Spark: Allow overriding json parsing behavior to allow parsing  json objects with duplicate properties

Description
Adds a config option spark.cosmos.read.allowInvalidJsonWithDuplicateJsonProperties to override the default behavior in the Cosmos Java SDK which disallows json with duplicate properties. Json objects with multiple properties of the same name is invalid json - but json parsers have different behavior - some fail (like Jackson in the configuration used with Java SDK) - some accept the first or last property and silently ignore the other properties with the same name. This new config override is supposed to allow customers to deal with json documents containing duplicated properties (for example because json documents were ingested with another library/REST etc.).
The JSON spec - RFC 7159 - calls out in section 4 (Objects)
An object whose names are all unique is interoperable in the sense
   that all software implementations receiving that object will agree on
   the name-value mappings.  When the names within an object are not
   unique, the behavior of software that receives such an object is
   unpredictable.  Many implementations report the last name/value pair
   only.  Other implementations report an error or fail to parse the
   object, and some implementations report all of the name/value pairs,
   including duplicates.

   JSON parsing libraries have been observed to differ as to whether or
   not they make the ordering of object members visible to calling
   software.  Implementations whose behavior does not depend on member
   ordering will be interoperable in the sense that they will not be
   affected by these differences.

So we still strongly recommend customers fixing the invalid json to even be ingested - but with this config override it is at least possible to still consume the documents from Spark while the cleanup is happening.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.


Add x-forwarded-xxx for ext-auth

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 35.96%. Comparing base (ef31e09) to head (d0cf5b0).
Report is 53 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #1244      +/-   ##
==========================================
+ Coverage   35.91%   35.96%   +0.05%
==========================================
  Files          69       69
  Lines       11576     9500    -2076
==========================================
- Hits         4157     3417     -740
+ Misses       7104     5767    -1337
- Partials      315      316       +1

see 67 files with indirect coverage changes

LGTM


Present only standardized Maskwacîs Dictionary content

Present only those entries from the Maskwacîs Dictionary, that have been standardized in terms of their orthography.
This means that the forms in question have been compared to lexical entries in Cree Words, and the relationship of the English glosses has been assessed. As a by-product this has resulted in the normatization of the spelling of the MD entry, the identification of the stem (from CW), and the identification of the inflectional class (i.e. the NAI?-[1-5] or V(II|AI|TI|TA)-[1-5] codes from CW). This means that the lemma exists in the FST, and that inflected forms of the lemma can be recognized as well as generated in the paradigms.
If the standardization hasn't been done, the lexical entry will not have a CW-style inflectional category nor a stem - so this information can be used to exclude such content for now, until these forms have been appropriately processed and added. This is something that Arok has expressly wished for.

Currently, these can be identied as having the following XML field:
md_stem[nr]

More properly on the longer term, this should be fixed by creating a proper lexical database of the Maskwacîs Dictionary content, which includes the following information:

Original MD lexical entry.
Normatized MD lexical entry.
Matching CW entry, if any. May require the creation of a unique ID on CW side, if match is ambiguous.
CW-MD English gloss comparison classification (reflecting how the English glosses are presented if comparable).
Cree stem (when appropriate, not for multiword phrases)
POS and inflectional class (following CW style).
Rapid Words semantic classification numbers
Rapid Words semantic classification labels
POS-parsed version of MD English gloss (useful for Eng-to-Cree search and in creating inflected English paradigm cells, if not already in CW).

Eventually, this will be extended as a result of the validation of the new words and sentences from the Spoken Dictionary of Maskwacîs Cree project.

@aarppe Yep, I've done this. This is actually inherently done in the importing step and those not-standardised  have already been marked with an "as_is" label
I just filtered out those "as_is" results
Please do some checks to confirm.
e.g. right now "nipa" only shows one standardised result, it was showing results like "kill him" from MD.
https://sapir.artsrn.ualberta.ca/cree-dictionary/search/nipa/

@aarppe, could you verify this, and then close this issue?

Seems to be the case - checked with nohtekatew and nohtekatewin that are only in MD but not in CW, and are not shown. However, this appears to be an orthographical variation that we have missed, since  nôhtêhkatêw and nôhtêhkatêwin are in CW. The comparisons were done with a descriptive FST before the implementation of -h- addition/removal in the spellrelax files.
We'll need to come up with some MD example case that is not just orthographically divergent from a CW lexical entry (as those should eventually be aggregated), but an entirely distinct lemma, but wasn't able to find any easily.


composer require

I've been trying to get the newest version of Controller so I can start integrating ACF into my theme setup but when I run
composer require soberwp/controller:2.1.0
I'm given the following error
    - The requested package soberwp/controller 2.1.0 exists as soberwp/controller[v2.0.0, 1.0.2, 1.0.1, 1.0.0, v2.0.1] but these are rejected by your constraint.

Heres my composer.json
"require": {
    "php": ">=7",
    "composer/installers": "~1.0",
    "illuminate/support": "~5.4",
    "roots/sage-lib": "~9.0.0-beta.4",
    "soberwp/controller": "2.1.0",
    "advanced-custom-fields/advanced-custom-fields-pro": "5.7.5"
  },

If your lock file isn't up to date, try running composer update and it should install it for you.

@christianstclair did that resolve it for you?

@darrenjacoby unfortunately not, I just ended up leaving it as "~9.0.0-beta.4" like it is when you install sage 9 fresh.
I still don't know why my composer has been having issues. I was running into the same issue with some other packages. Tried setting my "minimum-stability" : "dev" but still no luck.


Add docs

I noticed this just add the Docusaurus framework with all its boilerplate. No actual Realms documentation.

yep @pindaroso working with @SebastianBor to get documentation in

Ah, brilliant. LMK if you need a hand!


Decide on a way to configure base URL (aka cloud location)

We currently don't have a universal way for declaring which version of Azure a client will talk to. The following ways are currently used:

Cosmos Client formats URL on every request using CloudLocation abstraction and doesn’t attempt to make sure it’s a valid URL
Storage Account Client formats URL during construction, parses it to check correctness, and panics on ParseError
Data Lake Client formats the URL during construction, and returns a result with ParseError
The Data Laka Client in the .Net SDK doesn’t deal with formatting or parsing at all, it just takes a full Uri during construction

This was also discussed here.
We should decide on one approach and stick to it.
The first approach used in Cosmos seems like the best option to me. It doesn't require the user to send the entire URL which is largely the same for every single user, only the part that differs (the account name).

As @JeffreyRichter mentioned, account names are too restrictive when it comes to other cloud environments like USGov or Mooncake. All our official SDKs take a URI (as a string or otherwise), and API versions - if not part of the URI (not recommended for services, but a few do but should be migrating away) should be part of the optional options passed to the client. We had previously talked about a with_options() function to take an options, but if it's more idiomatic to have setters for individual properties of the client that could work as well, though the client options pattern I've already added to the repo is what I suggest we use, which allows "inheriting" default pipeline options like pipeline policies.

It came up in our v-team meeting today about api-versions - specifically shipping support for multiple versions. While most of our official SDKs don't and we probably want to follow suit for the Unofficial Azure SDK for Rust to use only the latest api-version (see #726), we still need to discuss how this will look in Rust. For example,
let options = ClientOptions::new()
  .with_api_version("2022-05-01");

Ideally we have some enum of these values so it's more discoverable.
Because of our strict Breaking Changes policy (internal) it's very unlikely targeting latest will be a problem. It hasn't been in other SDKs, and only recently have we even started to use the specified api-version to bifurcate endpoints and, maybe, de/serialization (still being considered).
We should also follow the same pattern we use for other SDKs:

While a REST API is in preview, our SDKs are beta (we specifically use "beta" to avoid confusion with "preview" of the service, which carries certain responsibilities).
When a REST API GA's (stable directory), we GA the SDK.
At a minimum we require 1 week to generate, updated, and release an SDK from either a preview or stable swagger.
We can still use feature branches (or release branches, whatever you'd like to call them) to stabilize. Our central EngSys support a release/ branch prefix and can do release builds from there. We generally stabilize in a release/ branch and continue with parallel development in main.

Any news on this? Hard coded urls (storage account) make it currently impossible to write tests with mockito by just setting the domain to localhost.


Use 6006 port for Storybook in docker image mapping

It's correct, based on ddev port mapping works: https://ddev.readthedocs.io/en/latest/users/extend/custom-compose-files/#docker-composeyaml-examples
Do you have any issues with that?

Without the same port on mapping I see a WSOD with the message Cannot GET /.
It only works on the local IP domain: e.g. http://<IP_ADDRESS>:6006/ and not inside ddev (https://packt.ddev.site:6006/).
But I also have some issues with the node_modules folder ownership on the storybook service. Not sure if this is related.


Add Wayland WSI support

I've recently added Wayland support, if you're interested. Most of the code is pretty straight forward. There are 2 places you might want to have a closer look.
Key handling in bloom example required a special hack in order to build with Wayland.
Also I didn't want to change existing WSI selection mechainsm so Wayland selection is a bit weird. You have to de-select direct display and select Wayland. I guess a list of WSI-s would be better.

Thx for this great PR! Will try to merge this weekend. As for WSI selection that's something I'd like to address in the future now that there are a number of platforms available to choose from.

You're welcome.
I've just cleaned up remaining debug print statements, that managed to sneak into the commit. The updated version is in now.


Problem with charts in bootstrap tab

Hi,
I have problems with charts in bootstrap tab (angular 1.3.13, bootstrap 3.3.2)
All chart are very small in tab.
If I use the $scope.api functions in tab with a timeout,
$scope.api in undefined in tab.
And it's not possible to use refresh() or update() to resize the chart.
Exemple here:
http://plnkr.co/edit/irJn2k?p=preview

I've been experiencing something similar.  One solution is to assign to $scope.data once the page is rendered.  I made 2 changes to your plunker and it works.  Updated example here:
http://plnkr.co/edit/wf32TpuzZXFPV9PWkH75
I renamed $scope.data to $scope.data_src, then in your $viewContentLoaded handler assigned data_src to data:
            angular.extend($scope, {
              data: $scope.data_src
            });

Something similar could be done with the pie charts.

The solution is to use the dot notation for api.
https://github.com/angular/angular.js/wiki/Understanding-Scopes
This issue with primitives can be easily avoided by following the "best practice" of always have a '.' in your ng-models.
The solution:
        $scope.api = {};
        $scope.select = function (arg) {
            $scope.selectedTab = arg;
            $timeout(function () {
                 if (arg === 1) $scope.api.chart1.update();
                 else if (arg === 2) $scope.api.chart2.update();
                 else if (arg === 3) $scope.api.chart3.update();

            });
        };

<nvd3 options="options" data="data" api="api.chart1"></nvd3>

I have updated the plunker and all is ok.
http://plnkr.co/edit/irJn2k?p=preview

Hi,
development in master (and 1.x) branch relates to the recent nvd3 versions (v1.7.1+) and it's incompatible with the old one (v1.1.15-beta).
I've created 0.x branch to maintain the old nvd3 version (v1.1.15-beta). It will include all zero-based angular-nvd3 versions like (v0.0.x, v0.1.x,..).
So in the plunker example it should be used the latest stable angular-nvd3 version (v0.1.1), not master. I've modified a bit your example:
http://plnkr.co/edit/o6PFs8?p=preview
Thanks for the issue!


Scala Common Enrich: support "pii" annotations in schemas for PII Enrichment

PII = Personally Identifiable Information
The basic idea:

Any JSON Schema (ue or context) can be annotated with "pii": true on a per-property basis
If this PII Scrubber is turned on, then we encrypt any given PII property in any JSON, using AES - so you end up with a unique but non-PII value, e.g. "Fred Blundun" always -> "1de6e53cb23"

This would be of potential interest to users in healthcare or finance, where the ability for analysts to drill down to individual users could be a privacy concern
/cc @yalisassoon @fblundun

I generally like the idea of getting rid of PII, because it might be a legal requirement. However, if it does not happen in the tracker (specifically the JS tracker), users could still see that PII is transferered to the collector. Using the clojure collector ensures the PII ends up in disk in the log files.
 I think a key is not nessecarily needed to encrypt data like names or email addresses. MD5, SHA1, SHA256 are the industry standards and are widely used. Wouldn't it be sufficient if we could apply a scrubber/anonymizer as a callback function to the formTracking?

I agree that PII scrubbing (or hashing or encryption) in the trackers is preferable, as anything we do in the enrichment process is basically "too late" from the raw logs perspective.
But I'll keep this open because it would be nice to have this available, especially for applying retrospective scrubbing in the case that something sensitive slipped through a tracker...

Renamed so that it follows on from https://github.com/snowplow/snowplow/issues/3472

One of the nice things about this idea is that the pii: true hint would be enough for Iglu when generating Redshift etc tables to make sure these columns are wide enough to take the hashed value.
It also just means that the work to identify that e.g. com.acme.email/send_email's email_recipient property is PII is just done in one place (at the time of schema authorship), rather than every user having to configure their own PII Enrichment.

Migrated to https://github.com/snowplow/enrich/issues/212


Add in remote for Augmented Reality input.

There could be a remote for having players hold to interact with the fake environment.
Perhaps it could hook left click/right click and send an event to the computer about which click type and where the player is and looking.

http://starchasers.pl/OpenGlasses/doku.php?id=terminal&#events


INFRA: Initialize EI Core

Closes #1

Please, watch this video, that's what we need.

@ElbekDeveloper you sure? Since this is only solution initialization and this is a library not WebApi.
Other tasks as init of unit/acceptance tests are separate issues.


ShareScreen on Electron Returns  DOMException: Not supported

Describe the bug
ShareScreen on Electron Returns  DOMException: Not supported and does not share screen.
Server
Using cloud livekit
Client

React, electron
"@livekit/components-react": "^1.0.5"
"livekit-client": "^1.10.0"

To Reproduce
Steps to reproduce the behavior:

Client joins with screen set to true. DOMException: Not supported logged and to screen shared

Expected behavior
Screen to be shared
Screenshots
Relevant code
<LiveKitRoom
          room={room}
          token={token}
          serverUrl={wsURL}
          connect={connect}
          onConnected={() => setIsConnected(true)}
          onDisconnected={handleDisconnect}
          audio={true}
          video={{
            resolution: {
              width: 192,
              height: 144
            },
            facingMode: 'user'
          }}
          screen={true}
        >

Additional context
Might have to do with Screen Capture api working differently on electron. Would appreciate any possible workaround to get screen sharing to work on electron.

electron now supports getDisplayMedia, you'll need to work with desktopCapturer to make that work.
Here are the docs: https://www.electronjs.org/docs/latest/api/session#sessetdisplaymediarequesthandlerhandler.
Let me know if that approach still fails for you, then I'll reopen the issue.

@lukasIO Thanks for the reference. I was aware that I need to use electron's desktopCapturer but I am unsure how to incorporate it with livekit. Is there a way to have livekit use desktopCapturer instead of navigator.MediaDevices.GetDisplayMedia API?


Cannot build Melkor on my Mac

Hello Ram,
There's a problem when I want to build the Melkor at the first time.
This fails on my system:
NODE_ENV=test node --harmony `which grunt`

And my Node version is: v4.4.6.
Please help. Thank you.

Melkor was written for Node 0.11 and 0.12. But you could try the above as follows:
$ NODE_ENV=test grunt

This works, but still some other errors:
Warning: Stylus failed to compile. Use --force to continue.

Warning: Cannot read property 'pid' of undefined Used --force, continuing.

And some mocha test errors:
1)  "before each" hook:
     Error: timeout of 2000ms exceeded
2)  "after each" hook:
     TypeError: Cannot read property 'shutdown' of undefined

Hmm, those look like test setup failures. You might be still be able to run Melkor using node index.js.
Also, have you tried using Node 0.11 or 0.12?

It's failed to run Melkor with node index.js...
I haven't tried using Node 0.11 or 0.12, my other apps were written for v4. Sorry and thank you for reply.


portal skip detection not working suddenly.

Ever since I downloaded the latest version it hasn't worked. I've tried using older versions but no matter what I do the portal skip highlight doesn't show up on the map anymore.

I published new version with a fix for this
Download the latest build for your mc version and mod loader here: https://modrinth.com/mod/xaeroplus/versions


[WIP] Envoy.code.check directory fixes

closing in favour of https://github.com/envoyproxy/pytooling/pull/361


Add override modifier to methods

it helps to get a compiler error if a method signature is change.
[error] class Foo {
[error]       ^
[error] method 'foo' overrides nothing
[error]   override def foo() = {
[error]                ^

Please could you rename the commit message into "Add override modifier to methods"

done

Coverage increased (+0.09%) to 97.18% when pulling c98de157e5e89b056bd2c6e68b0118b5f510ccbf on rfranco:override-method into 71e45b4d6711da70eda599fecea33511683cd6aa on mohiva:master.

:thumbsup:


Python API - run razel exec in workspace dir

If the Python script running razel was not executed in the workspace directory, sandbox-related errors were triggered ("input file must be inside of workspace") despite all input files being inside of workspace (as passed to Razel.init()). These changes fix that behavior.
Not sure if the Deno side has the same issue.

The intention of <cwd>/razel-out was to support multiple output directories (like CMake). This already works within the workspace:
./examples/python.py
cd examples/ && ./python.py

However if this results in input files starting with ../, the sandbox breaks (symlinks to input files are created outside the sandbox by multiple sandboxes concurrently).
A solution would be to patch the path of input files (e.g. replace ../ with __/) to keep them inside the sandbox. Let's call this simplified command line. Now we no longer execute the original command line. There might be executables out there which not only read input files, but also behave differently depending on paths from the command line. Therefore we likely need some opt-in/out configuration and/or command specific tag.
Simplifying command lines gets more interesting if we don't stop there:
# original command line
bin/executable ../data.csv processed.csv
# drop ../
bin/executable __/data.csv processed.csv
# drop parent dirs and file names, keep extension
bin/executable in.csv out.csv
# drop executable parent dir
./executable in.csv out.csv

This has massive potential to increase cache hits...


Tensor Size Mismatch when running inference for own images

First of all - great paper!
I'm trying to run the single image similarity script and running into this error (for my own input images of size (224,224,3):
RuntimeError: The size of tensor a (255) must match the size of tensor b (55) at non-singleton dimension 3
Any ideas why this could be happening?
Thanks,

Apologies - you can ignore this - fixed it.


Export repository description, visibility=private to component entities

What does this PR do?

Adds descriptions to component entities
Adds tag private on component with private repository

Descriptions are read from the GitHub repository data.
What is the effect of this change to users?
Many entitites in the catalog will show a description both on the index page and in the details page. Private repos will have the tag private. Public ones won't have a corresponding tag, as public is our default.
How does it look like?
Index:

Details:

Any background context you can provide?
Improvements in the context of https://github.com/giantswarm/giantswarm/issues/27008
Do the docs need to be updated?
No
Should this change be mentioned in the release notes?

[x] CHANGELOG.md has been updated (if it exists)

Added another piece


Extract post_injection_handler function

Hi everyone!
I would like to present inject function refactoring. It doesn't change any logic nor add any new functionality. It just splits the function into two separate parts (however inject reuses the new one).
This is required to provide ability of code reuse. For example some projects may perform their own custom (business specific logic) instrumentation however it needs to make some steps that are already implemented by wasm-instrument. The intention of the refactoring is to export function performing adjustment of indices after gas counter injection.

ping @athei @pepyakin


Ansible operator change log message "Skipping cache lookup" to debug level to avoid so much unnecessary message

Description of the change:
Ansible operator change log message "Skipping cache lookup" to debug level to avoid so much unnecessary message
Motivation for the change:
If the playbooks deploy 20+ resources, this log flushed the screen and log file making it very hard to read
Checklist
If the pull request includes user-facing changes, extra documentation is required:

[ ] Add a new changelog fragment in changelog/fragments (see changelog/fragments/00-template.yaml)
[ ] Add or update relevant sections of the docs website in website/content/en/docs

Seems the logger does not allow the debug level low


Remove editorconfig

@boozook could you please merge this PR?

@eirnym, thanks for awesome contribution 👍
According to #235, where you've told:

Otherwise contributing could be painful
...
EditorConfig would be useful though to make editors format in more or less the same way (at least what's about the tabs and spaces)

So my question is -
Could you describe your reasons to delete it now?

As you mentioned, it's not possible to include all formatting into this file and rustfmt won't support this file any time soon.
Additionally, even this file supports very basic rules common to every editor for Rust code, it doesn't include any rules for other file types and could potentially lead to inconsistency as root=true is present. If it wasn't present, more inconsistency could be introduced.
Thus, it's better to have either all used types included, or file is not included at all.


Error: Cannot find module "../../locales/es/translation"

Hi, i have a problem, since a few hours i can't send messages, console shows: Error: Cannot find module "../../locales/es/translation"
Can you help me please!

I have the same problem, but the console erros is: "/locales/pt-BR/translation" and its impact in another console error : "Uncaught TypeError: Cannot read property 'default' of undefined". the function mentioned is:
window.Store.ChatClass.default.prototype.sendMessage = function (e) {
return window.Store.SendTextMsgToChat(this, ...arguments);
}
The "window.Store.ChatClass" not exist when the error "pt-BR/translation" exist.

Exactly, I am unable to send any messages here for this issue.

I have the same problem, but the console erros is: "/locales/pt-BR/translation" and its impact in another console error : "Uncaught TypeError: Cannot read property 'default' of undefined". the function mentioned is:
window.Store.ChatClass.default.prototype.sendMessage = function (e) {
return window.Store.SendTextMsgToChat(this, ...arguments);
}
The "window.Store.ChatClass" not exist when the error "pt-BR/translation" exist.

I have the same problem, but the console erros is: "/locales/pt-BR/translation" and its impact in another console error : "Uncaught TypeError: Cannot read property 'default' of undefined". the function mentioned is:
window.Store.ChatClass.default.prototype.sendMessage = function (e) {
return window.Store.SendTextMsgToChat(this, ...arguments);
}
The "window.Store.ChatClass" not exist when the error "pt-BR/translation" exist.

When i put my cel in english the issue about translation is over, but the Cannot read property 'default' of undefined in window.Store.ChatClass.default.prototype.sendMessage persist.

It seems a general problem, it does not load the language files, even using the web without this API.
It seems that the ChatClass class doesn't exist anymore.

The mentioned patch worked for me. Thanks.


GH-33920: [C++][CI] Disable Flight SQL in sanitizer job

Rationale for this change
We want to reduce CI time.
What changes are included in this PR?
This disables Flight SQL to use system gRPC and ProtoBuf.
We can reduce build time by avoiding bundled gRPC and ProtoBuf.
Are these changes tested?
Yes.
Are there any user-facing changes?
No.

Closes: #33920

I ran this locally and does prevent building protobuf.  We still might also want to turn off GCS (although that can be a separate PR)

I spent quite some time today trying to debug this with no luck.  It is a very consistent failure in this configuration.  I can reproduce with docker.
From what I can tell it is including and linking the correct versions of protobuf and grpc.
gdb isn't terribly useful (grpc's symbols are stripped and so I can't inspect the rpc.context object).

I can also reproduce this locally. Here's what I can find out with gdb:

The UB happens because rpc.context.initial_metadata_corked_ is not initialized.
The constructor ClientContext::ClientContext() is called, but only a few member variables are initialized, initial_metadata_corked_ is not one of them.
This only happens when UBSAN and ASAN are on. In a regular build rpc.context is properly initialized.

I found the root cause. GRPC's gpr_mu mutex has different structures depending on whether UBSAN is on. So we have to compile GRPC by ourselves if we want to enable UBSAN.
cc @kou @westonpace

Good catch!
I've added -DGRPC_ASAN_SUPPRESSED.

+1
Passed in 34min: https://github.com/apache/arrow/actions/runs/4092011740/jobs/7056458825

@js8544 great catch indeed!  Very impressive investigating.  Thanks for looking at it.


Request: Allow a 5ft step between full attacks

Currently, if you have 3 attacks and the first one kills someone, you cant step to finish your attacks within range of someone.

In my games I noticed occassionally that remaining iterative attacks are dealt to other monsters when they are close by.

Just for clarity regarding this - it is part of the PnP rules.

The only movement you can take during a full attack is a 5-foot step. You may take the step before, after, or between your attacks.


Can't change container's ownership. v1.13.6

Portainer v1.13.6
Can't change container's Access control -> Ownership from Public.
In v1.13.4 works.

Can you please give us information about your Docker version?

17.03.1-ce
2017-07-18 10:28 GMT+02:00 Anthony Lapenna<EMAIL_ADDRESS>
Can you please give us information about your Docker version?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/portainer/portainer/issues/1043#issuecomment-315995008,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHgXU_hbwpCXLiqD3i2KonnGbFKzQswaks5sPGy3gaJpZM4Oa_JS
.

Please fill the following otherwise I'll just close this issue as I won't be able to help.
Description

Steps to reproduce the issue:

Any other info e.g. Why do you consider this to be a bug? What did you expect to happen instead?
Technical details:

Portainer version:
Target Docker version (the host/cluster you manage):
Platform (windows/linux):
Command used to start Portainer (docker run -p 9000:9000 portainer/portainer):
Target Swarm version (if applicable):
Browser:

Ok, I was able to reproduce this. The error occurs when trying to update the ownership of an existing resource from public to something else.

Big thanks!


adding log4j 2.16.0

added log4j 2.16 to mitigate vulnerability for JNDI Completely

Hi @asethia,
Thank you for your contribution! We really value the time you've taken to put this together.
Before we proceed with reviewing this pull request, please sign the Lightbend Contributors License Agreement:
https://www.lightbend.com/contribute/cla

I have read the CLA Document and I hereby sign the CLA


(chore): bump portal-visualization to 0.0.12

Brings in https://github.com/hubmapconsortium/portal-visualization/pull/79

@NickAkhmetov Not sure how to coordinate these but figured you would know because you did it recently

@ilan-gold To my knowledge, we should be good to merge this and the corresponding change in portal UI in any order as long as we deploy them at the same time

Ok @NickAkhmetov (or @yuanzhou), just need a review here then!  Please advise on how to coordinate the release as well!

@ilan-gold @NickAkhmetov let's get this out on DEV to find out.


add archiveopteryx 3.2.0

Am I doing this right?
If this works out OK, is there a reason not to include it in 15.09? I think it might be fine because it can't break anything existing.

The paths $out/usr/local/archiveopteryx/{bin,lib,...} are really ugly. That should get fixed (best before picking to 15.09).

@vcunat why they are ugly?

Oh, yes, they are..

@phunehehe: I don't know how to use this package – would you test e2c260a9b84?

@vcunat sure I'll test. I use it in runix-archiveopteryx.

Pushed to master and 15.09.

:dancers:


Adds new images for capella rebrand for 5/8

@garimame Can you merge this PR on 5/8? That's the date that we are making the brand updates on DGC. Looks like I'm not authorized to merge PR's in this repo anymore.

@garimame Can you merge this PR on 5/8? That's the date that we are making the brand updates on DGC. Looks like I'm not authorized to merge PR's in this repo anymore.

Sure will do.


Argument output-ext is ineffective and music is downloaded as .m4a

What is the purpose of your issue?

[x] Bug
[ ] Feature Request
[ ] Question
[ ] Other

Description

When I enter the argument --output-ext .mp3 to download a music as .mp3, the extension is still .m4a.
This is the complete command :
user@User-PC:~/Desktop$ spotdl -l list.txt --output-ext .mp3
I know the ffmpeg is missing and it's the reason why the conversion failed but if ffmpeg is missing, maybe it's because the setup doesn't correctly install it.
Please, note that after using the command sudo apt-get install ffmpeg, the download as .mp3 works perfectly.
Log

user@User-PC:~/Desktop$ spotdl -l list.txt --output-ext .mp3 --log-level=DEBUG
INFO: Checking and removing any duplicate tracks in reading list.txt
INFO: Overriding list.txt with unique tracks
INFO: Preparing to download 1 songs

DEBUG: Input song is plain text based
DEBUG: Searching for "Adrian Gurvitz - Classic" on Spotify
DEBUG: Fetching lyrics
DEBUG: {'album': {'album_type': 'album',
               'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/1VKSw4zNYbYK2BXbOOXkcd'},
                            'href': 'https://api.spotify.com/v1/artists/1VKSw4zNYbYK2BXbOOXkcd',
                            'id': '1VKSw4zNYbYK2BXbOOXkcd',
                            'name': 'Adrian Gurvitz',
                            'type': 'artist',
                            'uri': 'spotify:artist:1VKSw4zNYbYK2BXbOOXkcd'}],
               'external_urls': {'spotify': 'https://open.spotify.com/album/5o23L0OxeExFAFIl4p4cTY'},
               'href': 'https://api.spotify.com/v1/albums/5o23L0OxeExFAFIl4p4cTY',
               'id': '5o23L0OxeExFAFIl4p4cTY',
               'images': [{'height': 640,
                           'url': 'https://i.scdn.co/image/ab67616d0000b2731933ad97001ad40057db4838',
                           'width': 640},
                          {'height': 300,
                           'url': 'https://i.scdn.co/image/ab67616d00001e021933ad97001ad40057db4838',
                           'width': 300},
                          {'height': 64,
                           'url': 'https://i.scdn.co/image/ab67616d000048511933ad97001ad40057db4838',
                           'width': 64}],
               'name': 'Classic',
               'release_date': '1982',
               'release_date_precision': 'year',
               'total_tracks': 9,
               'type': 'album',
               'uri': 'spotify:album:5o23L0OxeExFAFIl4p4cTY'},
     'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/1VKSw4zNYbYK2BXbOOXkcd'},
                  'href': 'https://api.spotify.com/v1/artists/1VKSw4zNYbYK2BXbOOXkcd',
                  'id': '1VKSw4zNYbYK2BXbOOXkcd',
                  'name': 'Adrian Gurvitz',
                  'type': 'artist',
                  'uri': 'spotify:artist:1VKSw4zNYbYK2BXbOOXkcd'}],
     'copyright': '2011',
     'disc_number': 1,
     'duration': 294.053,
     'explicit': False,
     'external_ids': {'isrc': 'FR6V80445925'},
     'external_urls': {'spotify': 'https://open.spotify.com/track/51fNdmmF7wOzS3BLbt5Zkp'},
     'genre': 'Yacht Rock',
     'href': 'https://api.spotify.com/v1/tracks/51fNdmmF7wOzS3BLbt5Zkp',
     'id': '51fNdmmF7wOzS3BLbt5Zkp',
     'is_local': False,
     'lyrics': 'Got to write a classic\n'
               'Got to write it in an attic\n'
               "Babe, I'm an addict now\n"
               'An addict for your love\n'
               'I was a street boy\n'
               'And you was my best toy\n'
               'Found it easy to annoy you\n'
               'But you were different from the rest\n'
               'And I loved you all the wrong ways\n'
               'Now listen to my say\n'
               'If it changed to another way\n'
               'Would the difference make it\n'
               'Would it be a classic\n'
               'I gotta send it right away\n'
               '\n'
               'Expressing my words\n'
               'One bridge at a time\n'
               'Then tearing them up\n'
               "'Cause they never rhyme\n"
               'Alone in my room\n'
               'So far from your love\n'
               'Whatever I write\n'
               "That's not good enough\n"
               "And it's not what I mean\n"
               "I mean it's not what it seems\n"
               'I just keep living for dreams\n'
               '\n'
               'Got to write a classic\n'
               'Got to write it in an attic\n'
               "Babe, I'm an addict now\n"
               'An addict for your love\n'
               'Gotta write it down and send it right away\n'
               'Got to write a classic\n'
               'Got to write it in an attic\n'
               "Babe, I'm an addict now\n"
               'An addict for your love\n'
               '\n'
               "Now I'm living my life\n"
               'One day at a time\n'
               'Since losing your love\n'
               "I've been losing my mind\n"
               'No more can I see\n'
               'The future so clear\n'
               "And it's not what I mean\n"
               "I mean it's not what it seems\n"
               'I just keep living for dreams\n'
               "And it's not what I mean\n"
               "I mean it's not what it seems\n"
               'I just keep living for dreams\n'
               '\n'
               'Got to write a classic\n'
               'Got to write it in an attic\n'
               "Babe, I'm an addict now\n"
               "I'm an addict for your love\n"
               'Gotta write it down and send it right away',
     'name': 'Classic',
     'popularity': 46,
     'preview_url': 'https://p.scdn.co/mp3-preview/7f40a3627989a3b566634d43333c36799ffd3f23?cid=4fe3fecfe5334023a1472516cc99d805',
     'publisher': 'Rdeg',
     'release_date': '1982',
     'spotify_metadata': True,
     'total_tracks': 9,
     'track_number': 5,
     'type': 'track',
     'uri': 'spotify:track:51fNdmmF7wOzS3BLbt5Zkp',
     'year': '1982'}
DEBUG: Opening URL: https://www.youtube.com/results?sp=EgIQAQ%253D%253D&q=Adrian%20Gurvitz%20-%20Classic%20lyrics
INFO: 1. ADRIAN GURVITZ  CLASSIC The Full Version (http://www.youtube.com/watch?v=0N8xkAZN_5c)
DEBUG: Refining songname from "ADRIAN GURVITZ  CLASSIC The Full Version" to "Adrian Gurvitz - Classic"
DEBUG: Cleaning any temp files and checking if "Adrian Gurvitz - Classic" already exists
DEBUG: Downloading from URL: https://r5---sn-25glen7r.googlevideo.com/videoplayback?expire=1570461746&ei=0gObXbnPHNHCVpq-uvAO&ip=2a01%3Ae35%3A8bb5%3Ac860%3A84a8%3A4c80%3A1ec%3Acee&id=o-ADDpap1-8ElOAJNTp-GkiECRrO7GgEtORpbCAJgfEfmr&itag=140&source=youtube&requiressl=yes&mm=31%2C26&mn=sn-25glen7r%2Csn-h5q7dnlk&ms=au%2Conr&mv=m&mvi=4&pl=40&initcwndbps=746250&mime=audio%2Fmp4&gir=yes&clen=4698182&dur=295.775&lmt=1439706222570544&mt=1570440041&fvip=5&keepalive=yes&fexp=23842630&c=WEB&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=mm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AHylml4wRQIgS-jtW9XlAB7Sfw_2qkz0Q9ip9MRizZazsLwpXW3qo5UCIQCM3o7ZhnwCpC4SIZbdwTDTUzvnabYKoMH7g_yH9XB8ew%3D%3D&sig=ALgxI2wwRgIhAOabFGOR4yiS7DtnifP0lJZ8KGWZUfhy5N7xbfgJnlJ2AiEA-dbGFvJneSNjiwtbvJEwRxuNVU1HzklSN3useMWonb8=&ratebypass=yes
DEBUG: Saving to: /home/user/Desktop/Adrian Gurvitz - Classic.m4a
  4,698,182 Bytes [100.00%] received. Rate: [1330 KB/s].  ETA: [0 secs]
INFO: Converting Adrian Gurvitz - Classic.m4a to mp3
DEBUG: ['ffmpeg', '-y', '-i', '/home/user/Desktop/Adrian Gurvitz - Classic.m4a', '-codec:v', 'copy', '-codec:a', 'libmp3lame', '-ar', '44100', '-b:a', '192k', '-vn', '/home/user/Desktop/Adrian Gurvitz - Classic.mp3']
WARNING: Could not find ffmpeg, skip encoding
INFO: Applying metadata
DEBUG: Removing downloaded song from tracks file
user@User-PC:~/Desktop$

WARNING: Could not find ffmpeg, skip encoding
Do you have ffmpeg installed...?
If you are on windows download ffmpeg.exe and put it in your 'PATH' (if you don't know PATH, Just put it in C:\Windows\system32)?

WARNING: Could not find ffmpeg, skip encoding
Do you have ffmpeg installed...?
If you are on windows download ffmpeg.exe and put it in your 'PATH' (if you don't know PATH, Just put it in C:\Windows\system32)?

As said in the description part, the problem is solved installing the ffmpeg codecs using the command sudo apt-get install ffmpeg

Thanks. I'll close this as ffmpeg is also mentioned in the wiki.


[WIP]fix: cloudaccount and cloudprovider not in same domain

这个 PR 实现什么功能/修复什么问题:
修复cloudaccount和cloudprovider不在同一域底下的问题
是否需要 backport 到之前的 release 分支:

release/2.11
release/2.10.0

/area region
/cc @swordqiu @yousong

Codecov Report

Merging #2079 into master will increase coverage by 0.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #2079      +/-   ##
=========================================
+ Coverage    7.16%   7.17%   +0.01%
=========================================
  Files         445     445
  Lines       69418   69397      -21
=========================================
+ Hits         4971    4982      +11
+ Misses      64033   64002      -31
+ Partials      414     413       -1

Flag
Coverage Δ

#aFlag
7.17% <0%> (+0.01%)
:arrow_up:

Impacted Files
Coverage Δ

pkg/compute/models/cloudproviders.go
1.08% <0%> (ø)
:arrow_up:

pkg/keystone/models/policies.go
9.89% <0%> (ø)
:arrow_up:

pkg/compute/models/skus.go
1.42% <0%> (+0.02%)
:arrow_up:

pkg/compute/models/secgroups.go
2.58% <0%> (+0.05%)
:arrow_up:

pkg/util/rbacutils/rbac.go
73.37% <0%> (+3.4%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 94ba752...1746307. Read the comment docs.

/lgtm

/approve


CSS Issue in Server Side Rendering

There is an issue in SSR mode.
In production mode and after publish, the app css goes crazy 1 second after load.
This doesn't happen in development.
I have followed the instructions on SSR but still facing this issue with the live app on Linux as well as IIS on Windows.
A funny thing is, if I copy my node_modules folder from my own machine to the server, it works fine but if I do a npm install on the server, this issue happens.

Your issue has been closed because it does not conform to our issue requirements.
Please provide a full reproduction test case. This would help a lot 👷 .
A live example would be perfect. This codesandbox.io template may be a good starting point. Thank you!

@ASheikhi82 This topic was covered a million time already. Have a look at our FAQ or the issue history.

Sounds like #12894, @ASheikhi82 have you solved this?


Enhance Monologue Class with Error Handling, Validation, and Metadata

This PR introduces several enhancements to the Monologue class aimed at improving its robustness, usability, and data richness. The modifications include the implementation of input validation, error handling for JSON serialization and thought condensation, and the addition of timestamp metadata to each event. These changes are designed to make the Monologue class more reliable and informative for users, without significantly altering its existing functionality or interface.

@rbren
Took your point about the potential for runaway context windows seriously and tweaked our Monologue class. I dropped the timestamp thing (we really didn’t need it), and I’ve made sure that if the condensing bit doesn’t work out right, it won’t just silently pile up but will throw a fit with a RuntimeError. Basically, it’s our way of making sure things don’t get out of hand and we stay on top of any issues that pop up. Let me know what you think!

@rbren
I also updated the message in #150
could you please review it ?


Add seeker creation form

This PR is depended on #100 !!!
Do not merge this before #100 - Already merged
Adding Seekers creation form, html to show the form,
urls in roo_me.urls and seekers.urls to route to the new view
and view to handle the creation and saving of the new Seeker!
🧙
Fix #118

@simzacks @Omeramsc I've changed the code,
The clean_max_rent is still there because that's (I think) how you compare 2 form fields:
https://stackoverflow.com/questions/58068844/django-how-to-validate-validator-a-greater-then-between-two-formfields


drag & drop only vertical or only horizontal

Is it possible to prevent blocks from being dragged vertically or horizontally so that they cannot even be visually dragged? https://i.gyazo.com/5699cd2ac1f9244e32150abc9a6b17fd.mp4

Hi @VadimCeretean,
You can prevent draggability on certain events if that's what you're looking for.
https://antoniandre.github.io/vue-cal/#ex--edit-and-delete-events
Pease reopen if not solved.


Add super user and profiler to ldap

:+1: but I do think it is smart to make the search scope configurable. I don't know what it defaults to but going subtrees is not always deseriable.
On the super user privilege good call although I would consider it an intermediate solution and Flask Roles are in the end more suitable but that could use this as foundation.

Seems like this change could affect people by requiring new conf settings, is that what we want or should we just assume that everyone has all rights if those conf settings don't exist.
I have no idea how many organizations are using this. Could be just you guys or could be 10...

@mistercrunch I'm not sure if I agree with you. The super_user functionality is exposed within airflow so this change makes that configurable from ldap. My initial implementation for ldap made everyone superuser which in the end is not something you want I guess.
However, on the whole I like a a role based access better (with flask-principal), instead of piggybacking some authorization on top of the authentication (which in general you should not do). This would allow a more flexible approach, eg. authentication in ldap, authorization in db).

However, on the whole I like a a role based access better (with flask-principal), instead of piggybacking some authorization on top of the authentication (which in general you should not do). This would allow a more flexible approach, eg. authentication in ldap, authorization in db).

@bolkedebruin I tend to agree with you, however that's a much larger change. How do you feel about using this PR, and revisiting once a real role-based integration has been done for Airflow?

@mistercrunch re: config

Seems like this change could affect people by requiring new conf settings, is that what we want or should we just assume that everyone has all rights if those conf settings don't exist.

The current change shouldn't require any config settings. If you don't do anything, the code defaults to super user. If, however, you DO configure Airflow to have a superuser_filter/data_profiler_filter filters, then it will enforce them.

Just pinging to see if we can get this merged in. Security is a bit of a show stopper for us right now, and having SOME form of admin/profiler/user ACLs is really helpful.


Migration testing: Test 50% random processes

AWS Goobi has been updated and most data has already been wiped. Afterwards the slightly enhanced synctool (#200 ) will be used for the migration.
The migrated data should then also be used for testing the work in Goobi again etc.

sync was started on Friday (late afternoon) and currently about a quarter of the processes to be transferred have been uploaded

the sync is finished now. But when we try to start the import, we run into a browser timeout because the listing of the process data on s3 takes to long. We will need to change the plugin to run it asynchronous in the background


Fix layer name missalignment in Firefox

This PR fixes a problem with the position of the layer name under Firefox. The problem is due to the size of the element where the name is contained.
Original ticket: #5373
The PR fixes this problem:

Can you review this @alonsogarciapablo, please?

:+1:
It also fixes this issue in Chrome:

Great catch!


New feature

I was wondering if we could add Quality of Stream to set stream priority in a stream   . Labeling streams based on priority and shortest route,AKA Cost path>  . Something broader than the 3 levels of priority in the queue scheme. Thinking about adding cost of a stream to the 3 different levels.

@Fransvanierland not quite follow this requirements, what is the priority mainly used for?  Would you please help provide more details.

prio is used in case of congestion in a stream

Closed as stale.
Feel free to reopen an issue with a concrete proposal. You're welcome to share ideas or early thoughts on the dev@ mailing list or the Discussions forum.


feat: a magical web ui

packages visualised as moonlit ascii-trees that dance in the gloaming.

License: MIT
Signed-off-by: Oli Evans<EMAIL_ADDRESS>

more prosaically, it adds a web ui that scatters your list of packages across the page, each one represented by a ╪ that links to the npm page for that package.
the trees are distributed by their package name. locality is preserved such that packages with similar names will huddle together.
It is an HTML poem.

❤ I LOVE IT
Only problem I can see is that I think @andrew added golang support so not all packages are npm packages anymore.

❤

Only problem I can see is that I think @andrew added golang support so not all packages are npm packages anymore.

go support will make api response look like:
[
  {
    "manager": "npm",
    "name": "es-get-iterator",
    "version": "1.1.2"
  },
  {
    "manager": "npm",
    "name": "get-intrinsic",
    "version": "1.1.0"
  },
  {
    "manager": "npm",
    "name": "is-callable",
    "version": "1.2.3"
  },
  {
    "manager": "npm",
    "name": "uglify-js",
    "version": "3.12.6"
  }
]

Fixed a conflict with master, merge when ready 🚀

Pushed some more fixes, plus enabled go module support

Also pushed a $ forest browse command that opens http://localhost:8005 in a browser

packages visualised as moonlit ascii-trees that dance in the gloaming.

more prosaically, it adds a web ui that scatters your list of IPFS backed, forest hosted packages across the page, each one represented by a ╪ that links to the npm page for that package.
the trees are distributed by their package name. locality is preserved such that packages with similar names will huddle together.
It is an HTML poem.


[BUG] Service Bus Session Processor stop receiving messages, because if the pending attach link is forced to close without any errors, it cannot be recovered.

Describe the bug
Users encounter a issue that their session processor stop receiving messages after some time.
The log shows after 08:12:45, the session processor client can't receive any messages after the connection shutdown:

08:11:47 - 08:12:41 the receive link is waiting for attach response since there is no message in the session queue.
08:12:41 the receive link receive was forced to close due to remote link was closed, but the errorCondition is null.
08:12:45 the connection was shutdown and doesn't recover.

08:11:47 - [reactor-executor-1] - ReceiveLinkHandler - {"az.sdk.message":"onLinkLocalOpen","connectionId":"xxx","entityPath":"xxx","linkName":"xxx","localSource":"xxx"}
...
08:12:41 - [reactor-executor-1] - ReceiveLinkHandler - {"az.sdk.message":"onLinkRemoteOpen","connectionId":"xxx","entityPath":"xxx","linkName":"xxx","action":"waitingForError"}
08:12:41 - [reactor-executor-1] - ReceiveLinkHandler - {"az.sdk.message":"onLinkRemoteClose","connectionId":"xxx","errorCondition":null,"errorDescription":null,"linkName":"session-xxx","entityPath":"xxx"}
…
08:12:45 - [reactor-executor-1] - ReactorConnection - {"az.sdk.message":"onConnectionShutdown. Shutting dow","connectionId":"xxx","isTransient":false,"isInitiatedByClient":false,"shutdownMessage":"xxx.","namespace":"xxx"}

To Reproduce

Hardcode the errror condition in onLinkRemoteClose() to be empty, not to get from event.

private void handleRemoteLinkClosed(final String eventName, final Event event) {
    final Link link = event.getLink();
    final ErrorCondition condition = new ErrorCondition();  // set the error condition alway be empty
    ...
}

Create a session processor

AmqpRetryOptions options = new AmqpRetryOptions();
// use a small value to reduce the timeout, we leverage timeout error to trigger the link not recover issue.
options.setTryTimeout(Duration.ofSeconds(10));

ServiceBusProcessorClient processorClient = new ServiceBusClientBuilder()
        .retryOptions(options)
        .connectionString(Credentials.serviceBusConnectionString)
        .sessionProcessor()
        .queueName(Credentials.serviceBusSessionQueue)
        .processMessage(processMessage)
        .processError(processError)
        .maxConcurrentSessions(1)
        .disableAutoComplete()
        .maxAutoLockRenewDuration(Duration.ofSeconds(0))
        .buildProcessorClient();

create a session queue with no message
start session processor
wait for attach process timeout  -> we will see the link is closed and can't recover
wait for connection inactive -> we will see the connection shutdown and can't recover

Questions

Why link was forced to close without receive any error message?
The service bus role instance, which the link are waiting the attach response from, was restarted due to OS update at around 8:12. In this case, the session receive link was detached with no error condition messages.

Why the link does not recover?
This is what we have to analyze and address in this issue.

Why connection does not recover?
After connection is closed, the ServiceBusConnectionProcessor will request one more connection.
But the new connection is UNINITIALIZED and there is no receiveMessages() action to make that connection to be active.

08:12:41 [reactor-executor-1] - c.a.m.s.i.ServiceBusConnectionProcessor - {"az.sdk.message":"Connection not requested, yet. Requesting one.","entityPath":"N/A"}
08:12:41  [reactor-executor-1] - c.a.m.s.i.ServiceBusConnectionProcessor - {"az.sdk.message":"Setting next AMQP channel.","entityPath":"N/A"}
08:12:41 [reactor-executor-1]  - c.a.c.a.i.ReactorConnection - {"az.sdk.message":"State UNINITIALIZED","connectionId":"xxx"}

Why client does not restart?
The client was not restarted because of our old connection check is wrong, the ServiceBusConnectionProcessor is not disposed and there is an UNINITIALIZED connection. It can be fixed by (https://github.com/Azure/azure-sdk-for-java/issues/33224)

Reason why link cannot be recovered
Log Analysis
When we try to receive message for an empty session queue. The link is on UNINITIALIZED status and waiting for a response from service.
//Repro log when link is open and waiting for attach response
21:01:28.976 [reactor-executor-1] INFO  com.azure.core.amqp.implementation.ReactorSession - {"az.sdk.message":"Creating a new receiver link.","connectionId":"MF_d94f27_1675429285720","sessionName":"sessionqueue","linkName":"session-_dc47bf_1675429285804"}
21:01:28.979 [reactor-executor-1] DEBUG com.azure.core.amqp.implementation.ReactorReceiver - {"az.sdk.message":"State UNINITIALIZED","connectionId":"MF_d94f27_1675429285720","entityPath":"sessionqueue","linkName":"session-_dc47bf_1675429285804"}
21:01:28.980 [reactor-executor-1] DEBUG com.azure.core.amqp.implementation.ReactorReceiver - {"az.sdk.message":"Token refreshed.","connectionId":"MF_d94f27_1675429285720","entityPath":"sessionqueue","linkName":"session-_dc47bf_1675429285804","response":"ACCEPTED"}
21:01:28.986 [reactor-executor-1] DEBUG com.azure.core.amqp.implementation.handler.ReceiveLinkHandler - {"az.sdk.message":"onLinkLocalOpen","connectionId":"MF_d94f27_1675429285720","entityPath":"sessionqueue","linkName":"session-_dc47bf_1675429285804","localSource":"Source{address='sessionqueue', durable=NONE, expiryPolicy=SESSION_END, timeout=0, dynamic=false, dynamicNodeProperties=null, distributionMode=null, filter={com.microsoft:session-filter=null}, defaultOutcome=null, outcomes=null, capabilities=null}"}
[1674059459:0] -> Attach{name='session-_dc47bf_1675429285804', handle=0, role=RECEIVER, sndSettleMode=UNSETTLED, rcvSettleMode=SECOND, source=Source{address='sessionqueue', durable=NONE, expiryPolic...}

As repro, we wait until timeout and service response with the DETACH frame. The link was force to CLOSED due to the timeout error, but we set the error condition to be null in code level. After that, we can see the link can't be recovered.
//Repro log when link is force close by remote
[1674059459:0] <- Attach{name='session-_dc47bf_1675429285804', handle=0, role=SENDER, sndSettleMode=MIXED, rcvSettleMode=FIRST, source=null, target=null, unsettled=null, incompleteUnsettled=false, initialDeliveryCount=null, maxMessageSize=null, offeredCapabilities=null, desiredCapabilities=null, properties=null}
[1674059459:0] <- Detach{handle=0, closed=true, error=Error{condition=com.microsoft:timeout, description='The operation did not complete within the allotted timeout of 00:00:29. The time allotted to this operation may have been a portion of a longer timeout. For more information on exception types and proper exception handling...}
21:01:58.200 [reactor-executor-1] INFO  com.azure.core.amqp.implementation.handler.ReceiveLinkHandler - {"az.sdk.message":"onLinkRemoteOpen","connectionId":"MF_d94f27_1675429285720","entityPath":"sessionqueue","linkName":"session-_dc47bf_1675429285804","action":"waitingForError"}
21:01:58.201 [reactor-executor-1] INFO  com.azure.core.amqp.implementation.handler.ReceiveLinkHandler - {"az.sdk.message":"onLinkRemoteClose","connectionId":"MF_d94f27_1675429285720","errorCondition":null,"errorDescription":null,"linkName":"session-_dc47bf_1675429285804","entityPath":"sessionqueue"}
...
[1674059459:0] -> Detach{handle=0, closed=true, error=null}
21:01:58.207 [reactor-executor-1] INFO  com.azure.core.amqp.implementation.handler.ReceiveLinkHandler - {"az.sdk.message":"onLinkFinal","connectionId":"MF_d94f27_1675429285720","linkName":"session-_dc47bf_1675429285804","entityPath":"sessionqueue"}

That cause the link can't be recovered, and after 5 minutes, the connection was shutdown because of inactive and can't be recover either. (We have explained why connection can't be recovered)
//Repro log when connection shutdown
[1674059459:0] <- Close{error=Error{condition=amqp:connection:forced, description='The connection was inactive for more than the allowed 300000 milliseconds and is closed by container 'LinkTracker'. TrackingId:a5f41ab242264a22930891867ea98edb_G26, SystemTracker:gateway7, Timestamp:2023-02-03T13:06:29', info=null}}
21:06:29.224 [reactor-executor-1] INFO  com.azure.core.amqp.implementation.handler.SessionHandler - {"az.sdk.message":"onSessionRemoteClose","connectionId":"MF_d94f27_1675429285720","errorCondition":null,"errorDescription":null,"sessionName":"sessionqueue"}
...
21:06:33.268 [reactor-executor-1] INFO  com.azure.core.amqp.implementation.ReactorConnection - {"az.sdk.message":"onConnectionShutdown. Shutting down.","connectionId":"MF_d94f27_1675429285720","isTransient":false,"isInitiatedByClient":false,"shutdownMessage":"Finished processing pending tasks.","namespace":"xxx"}
//no more logs after here...

Code Analysis
From code side, when the link is closed by remote (the real scenario is remote is close because of OS upgrade), so the onLinkRemoteClose() was called.
//LinkHandler.class
public void onLinkRemoteClose(Event event) {
    handleRemoteLinkClosed("onLinkRemoteClose", event);
}

Then jump to its private function handleRemoteLinkClosed(), as we mock the response that error condition is null, we hardcode the condition to a empty instance. So the logic goes to super.close() rather than onError(exception).
//LinkHandler.class
private void handleRemoteLinkClosed(final String eventName, final Event event) {
    final Link link = event.getLink();
    //Here we change to use a empty error condition to repro
    final ErrorCondition condition = new ErrorCondition();
    ...
    if (condition != null && condition.getCondition() != null) {
        ...
        onError(exception);
    } else {
        super.close();
    }

The super class is Handler, inside the close() function, the endpointStates will emit CLOSED as next signal and complete signal.
//Handler.class
public void close() {
    ...
    endpointStates.emitNext(EndpointState.CLOSED, (signalType, emitResult) -> {
        ...
    });
    endpointStates.emitComplete((signalType, emitResult) -> {
        ...
    });
}

Once the next signal of CLOSED was emitted, the status of created link changed from UNINTIALIZED to CLOSED. It doesn't have any effect on getActiveLink() operator chain as we .takeUntil(e -> e == AmqpEndpointState.ACTIVE).
But once the complete signal was emitted, it will complete the .takeUntil() + .timeout(), and move to .then(Mono.just(link))), and then pass down that CLOSED link. So the downstream subscriber can't receive any message from that CLOSED link.
//ServiceBusSessionManager.class
Mono<ServiceBusReceiveLink> getActiveLink() {
    ...
    return Mono.defer(() -> createSessionReceiveLink()
        .flatMap(link -> link.getEndpointStates()
            .takeUntil(e -> e == AmqpEndpointState.ACTIVE)
            .timeout(operationTimeout)
            .then(Mono.just(link))))
        .retryWhen(Retry.from(retrySignals -> retrySignals.flatMap(signal -> {
            ...
            if (isDisposed.get()) {
                ...
            } else if (failure instanceof TimeoutException) {
                return Mono.delay(SLEEP_DURATION_ON_ACCEPT_SESSION_EXCEPTION);
            } else if (failure instanceof AmqpException
                && ((AmqpException) failure).getErrorCondition() == AmqpErrorCondition.TIMEOUT_ERROR) {
                return Mono.delay(SLEEP_DURATION_ON_ACCEPT_SESSION_EXCEPTION);
            } else {
                return Mono.<Long>error(failure);
            }
        })));
}

The problem here is that case skip our retryWhen() as there is no error emit. We need to handle this special case when link status was change directly from UNINTIALIZED to CLOSED.
Fixes
Currently the ideal for the fix is to make sure we are not passing a CLOSED link, and that skip the retry policy as no error emit.
Below solutions are checking whether a link is disposed and if so, change it to an error so that it can trigger the retry:
Temp Solution 1：
    ...
    .then(Mono.fromCallable(() -> link.isDisposed() ? null : link))
    .switchIfEmpty(Mono.error(() ->
                new TimeoutException("Mock Timeout exception to trigger Mono.delay() condition in retry")))
    //we receive the link on reactor-executor thread, we need to publish on a non-blocking thread for retry
    .publishOn(Schedulers.boundedElastic())
    ...

Temp Solution 2： Add a filter to filter out dispose link then use switchIfEmpty to change to error
    ...
    .then(Mono.just(link))
    .filter(receiveLink -> !receiveLink.isDisposed())
    .switchIfEmpty(Mono.error(() ->
                new TimeoutException("Mock Timeout exception to trigger Mono.delay() condition in retry")))
    .publishOn(Schedulers.boundedElastic())
    ...

Temp Solution 3：
...
    .then(Mono.just(link))
    .flatMap(receiveLink -> {
        if(receiveLink.isDisposed()) {
            return Mono.error(() ->
                new TimeoutException("Mock Timeout exception to trigger Mono.delay() condition in retry"));
        } else {
            return Mono.just(receiveLink);
        }
    })
    .publishOn(Schedulers.boundedElastic())
    ...

Temp Solution 4：
    ...
    .then(Mono.fromCallable(() -> {
        if(link.isDisposed()) {
            throw new TimeoutException("Mock Timeout exception to trigger Mono.delay() condition in retry");
        } else {
            return link;
        }
    }))
    .publishOn(Schedulers.boundedElastic())
    ...

pending questions
In real case log, the connection is directly shutdown, but for our repro log, we have to wait it inactive. This is a bit different.

Question: Does processor have this problem when link is closed without any error?
No. ServiceBusProcessor are using SerivceBusReceiveLinkProcessor to maintain the receice link.  It can always request a new link when link change from any status to CLOSED:


fixed a bug where items with names containing unsupported characters …

…caused the conversion of bytestream data into output files to fail.

@RuiRomano, here's a quick fix for an issue I've been experiencing. Items containing unsupported file path characters (e.g. square brackets, etc.) were causing the process which converts the incoming bytestream data into output files to fail. I added the -LiteralPath parameter to the Set-Content cmdlet on line 518, and this allows it to handle file paths with otherwise unsupported characters in them.


CB-22019 - Update Ranger sticky session and LB configs

Proposed changes:
Change Ranger UI and API configs, specifically update stickysession and nofallback properties to prevent case where Ranger UI becomes unresponsive in case of HA failover. This is because Ranger UI calls Ranger API which does not fallback when there is an error.
Testing
Testing for these configs was done on a QE cluster.

@doktoric @keyki gentle reminder for code review :)


LICENSE

Hello. What license is the project under? If it's MIT, I'd like to include your implementation as a starter for this project(adding .Net Framework and .Net Standard): https://github.com/tryAGI/Together and add a separate provider for the C# version of LangChain: https://github.com/tryAGI/LangChain

A new Licence was created in 0cdc0d5


Remove drop by death in in another claim

1) If a player dies from a mob in a foreign region, items from his inventory will disappear.
Forge version: 1.12.2-<IP_ADDRESS>55
Sponge version: 1.12.2-2655-7.1.0-BETA-3058
GriefPrevention version: 1.12.2-<IP_ADDRESS>4
Mods (32): Minecraft, Minecraft Coder Pack, Forge Mod Loader, Minecraft Forge, SpongeAPI, SpongeForge, AbyssalCraft, Animania, Antique Atlas, AppleCore, Astral Sorcery, AutoRegLib, Baubles, BiblioCraft, Botania, Botaunomy, CraftStudio API, Earthworks, Example Mod, Hardcore Darkness, Hunger Overhaul, Iron Chest, Magical Psi, Nibbler, Potion Core, Psi, Quality Tools, Quark, Rustic, Tails, Thaumcraft, WorldEdit
Plugins (11): Minecraft, Minecraft Coder Pack, SpongeAPI, SpongeForge, ActiveTime, EconomyLite, GriefPrevention, LuckPerms, Nucleus, Soulbound, TimeWarp
My latest log: https://gist.github.com/pingvikin/7255c571c3858cb2cc713add0b5b2858
2) Add flag please to disable pvp in region

Reproduce on a clean server with ONLY GP/SF/LP.
You can already disable pvp in a region, you need to use the 'entity-damage' flag with player as source/target.


[release/v1.9] Update changelog for v1.9.1 after regression investigation

What this PR does / why we need it:

Change release date for v1.9.1

What type of PR is this?

/kind documentation
Does this PR introduce a user-facing change? Then add your Release Note here:

NONE

Documentation:

NONE

/test pull-kubeone-verify-codegen


problem of not

hello over there
I am working on Gps sdr-simulation..I could fix the position but he signal coming is not stable not stable. Even if the signals coming are strong enough, it took more than ten minutes for first time fix, and after fix it looses the position within a fraction of seconds.  Again took from 5 to 10 minutes to fix again......and so on......what will be the problem?? How could I fix it?? any one who can help...
I am using USRP x310 and VERT900 antenna. and while transmitting the signal over USRP, I used different level of gain from 0db to 30db.

What is the "duration" of your simulated signal file?

hello,
The nearly same problem was found when I used the USRP N200 to simulate the GPS signal. It was not stable at all. Though I used the same file gpssim.bin, the results showing by the app of AndroiTS GPS were different. Sometimes the simulating signal was rightly calibrated and the location was given out nicely. But usually not.
Why? I had examined part of the coded and no problem was found.
And now I think the reason is that the TXCO in the USRP is not stable because the accuracy of the TXCO is 2.5ppm which is bad for the simulating signal with the central frequency of 1575.42MHz.
Unfortunately the above reason may be seemed reasonable, but I have no way to verify.
Maybe someone can help me. It is my great pleasure.

Generally, 2.5ppm is accurate enough for the simulator, and many GPS receivers are able to acquire the signal without any problem. What is your sampling frequency? There is a special requirement for the N200 clock: https://github.com/osqzss/gps-sdr-sim/issues/133

hello,Osqzss.
Thank you very much!
My simulating conditions were as follows: the sampling rate was set to be ' -s 2500000', and the byte of the I/Q data was set to be ' -b 16'. The resulting gpssim.bin was 3.0GB. Sometimes my mobilephone was spoofed to the simulating location. Though the simulating signals were calibrated sometimes, after a few seconds it failed. Usually the simulating signal couldn't be expected.
The second question: if the accuracy of the TXCO is 2.5ppm, the frequency error of the TXCO with GPS L1 frequency equals 3.9KHz (2.5ppm*1575.42GHz=3.9KHz). The Doppler frequency may be 4.9KHz. When the TXCO frequency error was added to the Doppler frequency, could the mobilephone capture or track the simulating GPS signals easily, timely and correctly. I am thinking over this question.
Maybe I am writing too directly for you to enjoy reading the above quetions.
Best wishes! I'm grateful for your patience.

It requires a bit wider search range, but 2.5ppm frequency offset should not be any problem for typical GPS receivers.

Hello, I could fix my position by compiling Gcc and then generating GPS signal on terminal....But now i need to work it advanced way. instead of opening terminal, compile and generate signal, i try to develop user interface that enable user simply by pushing button that leads to compile and generate signal...in general compiling and generating signal like clicking the button let "GENERATE". when the button generate clicked it will generate signal as we have been doing on terminal....anybody who can help or give me a hint......I tried using PyQt environment writing my own code with python (GUI), as C and python can be compile together using cPython extension. i face problem on how to link C program or main code (gpssim.c) and my code (Python code).........

There seem to be several different ways to call a C executable from Python script:
https://www.quora.com/How-do-I-write-a-Python-script-to-run-a-C-program
https://stackoverflow.com/questions/2473655/how-to-make-a-call-to-an-executable-from-python-script

@yangaoning ... did you solve your issue ? can you pls explain how


Add Profile page

[ ] Basic layout
[ ] Upcoming events
[ ] Allow changing profile picture
[ ] Allow updating profile description
[ ] Allow profile deletion
[ ] Show user statistics

Please add an option to change the "Language Settings" (which will have initially English and Hebrew as options). This will be needed for #23 .

Please add an option to change the "Language Settings" (which will have initially English and Hebrew as options). This will be needed for #23 .

The profile page has the "settings" button, which will popup a settings menu or will redirect to a settings page (depending on the number of settings options). I believe the settings page will be the right place for all user settings.

The profile page has the "settings" button, which will popup a settings menu or will redirect to a settings page (depending on the number of settings options). I believe the settings page will be the right place for all user settings.


proper spelling of intimidation

Just a quick spelling fix!

oh yee I never finished the rules section of the system. Good thing D&D Beyond has been announced :P

They're going to nickle and dime it though :(

At launch, players will be able to access SRD content and build and view a small number of characters with a free D&D Beyond account. We don’t have exact pricing nailed down, but you will also be able to buy official digital D&D content for all fifth edition products with flexible purchase options. You can pay only for the D&D content you need. If you only play fighters, for example, you’ll be able to just pick up the stuff you need to track swinging that giant two-handed sword. This is NOT a microtransaction model - we aren't forcing anyone to buy the content in small chunks - it can still be bought all at once. It's all just flexibility.
A small monthly subscription will be needed to manage more than a handful of characters and to enable more advanced features, like homebrew content integration. At this time, we don’t know exactly how much the subscription will cost, but please continue to check dndbeyond.com for the most up-to-date announcements and information!

Projects like this are still super important, and I'm more than happy to help out where I can (which, later I hope to be much more significant than spelling fixes!)

Ah crap, so it's gonna be just like D&D Insider and the tools they had there for 4th edition. Lame. Who knows, maybe I'll feel inspired in a future weekend and bust out some similar tools. But until then...


Image not rendering (the rest of the screenshot is blurry)

I find a similar issue (https://github.com/niklasvh/html2canvas/issues/145) reported but closed.
I'm using the following code.
var options: Html2Canvas.Html2CanvasOptions = {
            logging: true,
            onrendered(canvas) {
                alert(canvas);
                var myImage: string = canvas.toDataURL("image/png");
                     callback(myImage, parentThis);
            }
        };
html2canvas(element, options);

and the logging shows that the image is rendered.. however, the screenshot still doesn't has the image rendered. How can I fix this ?
1763ms html2canvas: Document cloned
html2canvas.js:1493 1783ms html2canvas: Initialized CanvasRenderer with size 360 x 573
html2canvas.js:1493 1794ms html2canvas: Starting NodeParser
html2canvas.js:1493 2141ms html2canvas: Fetched nodes, total: 51
html2canvas.js:1493 2144ms html2canvas: Calculate overflow clips
html2canvas.js:1493 2249ms html2canvas: Start fetching images
html2canvas.js:1493 2254ms html2canvas: DummyImageContainer for https://storage.googleapis.com/www.archishainnovators.com/images/3521bb3d-1fb9-49fd-957b-7b69276580bc.jpeg
html2canvas.js:1493 2256ms html2canvas: Initiating DummyImageContainer
html2canvas.js:1493 2259ms html2canvas: Added image #1 https://storage.googleapis.com/www.archishainnovators.com/images/3521bb3d-1fb9-49fd-957b-7b69276580b
html2canvas.js:1493 2270ms html2canvas: Finished searching images
html2canvas.js:1493 2272ms html2canvas: Succesfully loaded image #1 DummyImageContainer {src: "https://storage.googleapis.com/www.archishainnovat…/images/3521bb3d-1fb9-49fd-957b-7b69276580bc.jpeg"}src: "https://storage.googleapis.com/www.archishainnovators.com/images/3521bb3d-1fb9-49fd-957b-7b69276580bc.jpeg"__proto__: Object
html2canvas.js:1493 2288ms html2canvas: Images loaded, starting parsing
html2canvas.js:1493 2290ms html2canvas: Creating stacking contexts
html2canvas.js:1493 2302ms html2canvas: Sorting stacking contexts
html2canvas.js:1493 2309ms html2canvas: Render queue created with 30 items
html2canvas.js:1493 2684ms html2canvas: Finished rendering
html2canvas.js:1493 2686ms html2canvas: Cropping canvas at: left: 0 top: 47.59375 width: 360 height: 525
html2canvas.js:1493 2688ms html2canvas: Resulting crop with width 360 and height 525 with x 0 and y 47.59375
html2canvas.js:1493 2725ms html2canvas: Cleaned up container
html2canvas.js:1493 2727ms html2canvas: options.onrendered is deprecated, html2canvas returns a Promise containing the canvas

same as mine, +1.
please help somebody :-(

same problem, log shows no error but images are not loaded.


Jh 119 rezervace nalezu

First draft of timedate picker - UI only.
Plus changes from rebase.

Rebasovala som k aktualnemu mastru => takze vo file changes je viac filov.
Moje changes v: PrimaryButton, TextButton, DialogStyled, Form, Time / DateInput, DatumCasLikvidaceNalezu, ZadavaniNalezu

@Sebosek @fidelman
Hi, at the time when this PR was created, it was meant as advice/poc and therefore I left there logs and stuff that should not be there. Maybe I should not do it via PR. Sorry.
I am planning to resolve it and finalize it today after work hours. Thank you.

@Sebosek @fidelman Hi, at the time when this PR was created, it was meant as advice/poc and therefore I left there logs and stuff that should not be there. Maybe I should not do it via PR. Sorry. I am planning to resolve it and finalize it today after work hours. Thank you.

I see, best practice in such a case is mark it as WIP in title. Anyway, if you've already gathered feedback I would suggest close the PR, if isn't needed anymore.

@Sebosek
I would know better next time about WIP.
Ok, after I found out that the task was wrongly specified, this PR is redundant and I am closing it.
Thanks for comments, appreciate.


Always encode space as %20.

In queries this means transcoding '+' to '%2B' also.

https://github.com/square/okhttp/issues/1486