Fix rpm build

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1493

Relevant Lines:
1895

💛  - Coveralls


Metanorma XML: encode drafting committee identifier as "author"

In the <bibdata> element the drafting committee is not listed as the "author".

The descriptions of the drafting committee under contributor/type[@role  = 'author'] will be: "Technical Committee", "Subcomittee", "Working Group". I'm not putting in "Drafting", because those terms should not be modified, and the approval groups are authorisers if relevant.

Is carrying to all flavours inheriting from ISO.


git.plugin: remove the conflicting gvt alias

My Go vendoring tool https://github.com/FiloSottile/gvt is picking up some popularity, and many users have trouble initially because of the git verify-tag alias.
Now, this is a bit awkward.
I clearly am to blame here for not vetting the name, but the damage is done (I honestly didn't expect gvt to become popular...). Now, I honestly doubt verify-tag is that much used (or at all), so maybe you will consider scrapping the alias for the users convenience? :pray: :relaxed:
See FiloSottile/gvt#19 and FiloSottile/gvt#4 for user reports.

I have no problem doing that, it's clear to me as well that the verify-tag alias is not that widely used. There's a non-zero chance that some power user is using it, but if that's the case they can figure out a command not found error.
Sooo your wish is granted :+1:
Good luck on your OSS project!

:smiley:  Awesome :sparkles: Thank you!


[test] Improve custom controllers' test coverage

Changes

Implemented unimplemented test codes
Improved test coverage for existing test codes

Submitter Checklist

[ ] Docs included if needed
[x] Tests included if needed
[x] Follows the good commit messages standard

/test

/approve


Dynamically add content to make s copy-paste safe

Fixes #516

Replace a simple numeric text  with Unicode superscript characters.
Wrap a  with other text and/or <var> contents with hidden copyable text (a leading ↑ and [iff necessary] parentheses).
Leave other s alone (to not break e.g. 1st).

I don't want to solve this problem this way. It seems like a problem that should be solved by the UA (if at all), not each individual web page that uses .

Maybe so, but  is used for more than just exponentiation. And doing nothing does have consequences that require people to know about this issue: https://github.com/search?q=repo%3Atc39%2Ftest262+%2F[*×]+10([2-9]|[13-9][0-9])\b%2F&type=code

Yeah that still doesn't make it our problem to solve.

How is it categorically different from the "
 numbers are not included in copied text" problem, which ecmarkup does address?

There's an easy, straightforward, generic solution to the step numbering issue (though it does have its issues). Maybe I would be more open to solving the exponentiation issue with something like a leading ^( and a trailing ).

Maybe I would be more open to solving the exponentiation issue with something like a leading ^( and a trailing ).

Like this PR currently does (no ↑/^ before detected non-exponentiation and no parentheses around a simple exponent), or in all cases?

source 1st; "1st" vs. "1^(st)"
source 103; "10³" vs. "10^3" vs. "10^(3)"
source 10-<var>x</var>; "10^(-x)"
source 2<var>a</var> + 1; "2^(a + 1)"

Per editor call:

while the unicode characters are neat, they're more complexity than warranted; just adding the exponentiation symbol and (if necessary) parens in all (relevant) cases works fine

i.e., x2 becomes x**2, xi + 1 becomes x**(i + 1)

Knuth's up arrow is too obscure; either ^ (the usual convention, but conflicts with JS xor) or ** (what JS uses) would work

We didn't talk about the precise heuristic for "things that look like exponentiation" but using some heuristic here (as you currently do) is fine; I'll review the precise heuristic you have later but I expect it's fine.

i.e., x2 becomes x**2, xi + 1 becomes x**(i + 1)

@bakkot Done.


chore: Remove link locale

@nschonni : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@chbain : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Verified update (use of en-us locale), fixed merge conflict.


LEGO: Pull request from lego/hb_04604851-bac4-4681-9f74-73de611d6e48_20210729213307988 to main

LEGO: Pull request from lego/hb_04604851-bac4-4681-9f74-73de611d6e48_20210729213307988 to main with localized lcls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
26784

Relevant Lines:
57118

💛  - Coveralls


Bump source and target compatibility to Java 1.8

Hamcrest still supports Java 1.7 source and target compatibility.
Java 1.7 is out of support for years already, I suggest to bump to Java 1.8.
Once that is done, we can finally leverage some useful Java 1.8 features such as lambda expressions in the Hamcrest sources.
Due to quirks and differences with generic type arguments, the change is not as straightforward as it looks, but I'll take a stab at it nonetheless.
I'll prep a PR, but I'll need someone to remove the Java 1.7 compilation from the matrix job in the Travis build.

duplicates #207
see also #206


Add null check on requestShortener

What kind of change does this PR introduce?
bugfix, compatibility fix for https://github.com/webpack-contrib/extract-text-webpack-plugin/issues/722

Did you add tests for your changes?

Summary
extract-text-webpack-plugin called ConcatenatedModule.source externally without any argument.
This pr added a null check to avoid Fatal error: Cannot read property 'requestShortener' of undefined
Does this PR introduce a breaking change?

No
Other information

Could you please add a test?

@montogeek
Sure, but I didn't find unitest for ConcatenatedModule, can I create a test/ConcatenatedModule.unittest.js and add a case for this pr ?

Yes, of course! According to @sokra comment on https://github.com/webpack/webpack/pull/6441, it should be on test/cases

I think the best way to cover this case is to write a test case for extract-text-webpack-plugin, but I saw that it has been removed from test suite  since https://github.com/webpack/webpack/pull/6341, so does it have any further information?


NameError on table alignment

Hey,
thanks for creating the library, makes it actually fun and easy to create Markdown in Python.
Seems the align parameter on add_table is broken as the example docs both fail:

# Taken from https://www.snakemd.io/en/latest/snake/#snakemd.generator.Document.add_table

import snakemd
doc = snakemd.new_doc("example")

doc.add_table(
    ["Place", "Name"],
    [
        ["1st", "Robert"],
        ["2nd", "Rae"]
    ],
    [Table.Align.CENTER, Table.Align.RIGHT],
    0
)
doc.output_page()

Traceback (most recent call last):
  File "main.py", line 26, in <module>
    [Table.Align.CENTER, Table.Align.RIGHT],
NameError: name 'Table' is not defined

and

# Taken from https://github.com/TheRenegadeCoder/SnakeMD#tables

import snakemd
doc = snakemd.new_doc("example")

doc.add_table(
    ["Height (cm)", "Weight (kg)", "Age (y)"],
    [
        ['150', '70', '21'],
        ['164', '75', '19'],
        ['181', '87', '40']
    ],
    [Table.Align.LEFT, Table.Align.CENTER, Table.Align.RIGHT],
    0
)
doc.output_page()

Cheers.

I figured out that I could use snakemd.Table.Align.LEFT but wasn't sure if [Table.Align.LEFT, Table.Align.CENTER, Table.Align.RIGHT] was supposed to work or if the documentation was wrong. Thanks for clearing that up.
I'll whip up a PR for the docs over the weekend but I have an auxilary question the "new" add_row function that I think might be nice to the documentation as well.
How would I go about adding colum alignment to the following example:
    table = snakemd.Table(['Username', 'Count'])
    for i in range(len(df)):
        table.add_row([df.iloc[i]['User'], df.iloc[i]['Frequency']])
    doc.add_element(table)

Cheers.

I believe you'd have to add the align in the first line as follows:
table = snakemd.Table(['Username', 'Count'], align=[snakemd.Table.Align.LEFT, snakemd.Table.Align.CENTER])


Prop rule in Controller could use a dedicated paragraph

Hi,
Just a small issue following the fact that I struggled to find / understand that we can use a rule prop on controllers to do validation on controlled fields.
Could the different native way of react-hook-form to handle validation be explained in a dedicated paragraph ?

please ask questions here: https://github.com/react-hook-form/react-hook-form/discussions and best to follow with code and example


how to choose the means and stds in data.py

Hello, Samet
I have two questions to consult for your help.

Why choose the following means and stds In data.py:

# for cifar10
transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5))

# for minist
transforms.Normalize((0.1307,), (0.3081,))

For my own dataset, how to choose or calculate the mean and std?

Thank you very much!

Hi GuokaiLiu,
Sorry for my late reply.  Those numbers come with PyTorch data loader. Cifar10 has 3 mean and std values, while MNIST only has one.
If you want to calculate the mean and standard deviation for your own dataset, you could iterate through your entire images, and find the mean values of each channel. Similarwise, follow the same step for standard deviation as well. In practice, however, I've seen many people who simply use ImageNet mean and standard deviation for their custom datasets.

Due to inactivity, I assume that this has been resolved, and am closing the issue. Feel free to re-open it if you still encounter any further problems.


Documentation

I was looking at https://github.com/mono/CppSharp/blob/master/docs/GettingStarted.md#compiling-cppsharp-on-linux

If you're using a pre-14.04 Ubuntu-based distribution you can install an up-to-date version from: https://launchpad.net/~directhex/+archive/monoxide.

Now that we have http://www.mono-project.com/download/#download-lin maybe we should change it to link it to this page? It has far more distributions and ways to install mono!
I am currently trying out the guide whether it is working at all, so I don't know whether monoxide has some packages that are required by CppSharp.

I kinda used the guide this guide and in the end I get
make -C gmake config=release_x64
make: Entering directory `/home/bentkus/Projects/mono/CppSharp/build/gmake'
==== Building CppSharp.AST (release_x64) ====
make[1]: Nothing to be done for `all'.
==== Building CppSharp.Runtime (release_x64) ====
make[1]: Nothing to be done for `all'.
==== Building CppSharp.CppParser (release_x64) ====
==== Building CppSharp.Parser.CSharp (release_x64) ====
make[1]: Nothing to be done for `all'.
==== Building CppSharp (release_x64) ====
make[1]: Nothing to be done for `all'.
==== Building CppSharp.Generator (release_x64) ====
make[1]: Nothing to be done for `all'.
==== Building CppSharp.Generator.Tests (release_x64) ====
make[1]: Nothing to be done for `all'.
==== Building NamespacesBase.Native (release_x64) ====
==== Building NamespacesBase.Gen (release_x64) ====
make[1]: Nothing to be done for `all'.
==== Building NamespacesDerived.Native (release_x64) ====
==== Building NamespacesDerived.Gen (release_x64) ====
make[1]: Nothing to be done for `all'.
==== Building NamespacesBase.CSharp (release_x64) ====
Running prebuild commands
mono --debug "../lib/Release_x64/NamespacesBase.Gen.exe"

Generating bindings for NamespacesBase (CSharp)
Looking for tests in: /home/bentkus/Projects/mono/CppSharp/tests/NamespacesBase
Parsed 'NamespacesBase.h'
Generated 'NamespacesBase.cs'
==== Building NamespacesDerived.CSharp (release_x64) ====
Running prebuild commands
mono --debug "../lib/Release_x64/NamespacesDerived.Gen.exe"

> Generating bindings for NamespacesBase (CSharp)
Looking for tests in: /home/bentkus/Projects/mono/CppSharp/tests/NamespacesBase
Parsed 'NamespacesBase.h'
Generated 'NamespacesBase.cs'

Generating bindings for NamespacesDerived (CSharp)
Looking for tests in: /home/bentkus/Projects/mono/CppSharp/tests/NamespacesDerived
Parsed 'NamespacesDerived.h'
Generated 'NamespacesDerived.cs'
==== Building NamespacesDerived.Tests.CSharp (release_x64) ====
==== Building NamespacesBase.Tests.CSharp (release_x64) ====
==== Building CLITemp.Native (release_x64) ====
==== Building CLITemp.Gen (release_x64) ====
make[1]: Nothing to be done for `all'.
==== Building Basic.Native (release_x64) ====
==== Building Basic.Gen (release_x64) ====
make[1]: Nothing to be done for `all'.
==== Building Basic.CSharp (release_x64) ====
Running prebuild commands
mono --debug "../lib/Release_x64/Basic.Gen.exe"

Generating bindings for Basic (CLI)
Looking for tests in: /home/bentkus/Projects/mono/CppSharp/tests/Basic
Error parsing 'Basic.h'
/home/bentkus/Projects/mono/CppSharp/tests/Basic/Basic.h(6,10): fatal: 'string' file not found

Generating bindings for Basic (CSharp)
Looking for tests in: /home/bentkus/Projects/mono/CppSharp/tests/Basic
Error parsing 'Basic.h'
/home/bentkus/Projects/mono/CppSharp/tests/Basic/Basic.h(6,10): fatal: 'string' file not found
make[1]: *** No rule to make target `../gen/Basic/Basic.cs', needed by `../lib/Release_x64/Basic.CSharp.dll'.  Stop.
make: *** [Basic.CSharp] Error 2
make: Leaving directory `/home/bentkus/Projects/mono/CppSharp/build/gmake'
bentkus@host:~/Projects/mono/CppSharp/build$

It is strange that llvm doesn't find https://github.com/mono/CppSharp/blob/137b5c86927ca4a8da5004b9b69c932d6500680b/tests/Basic/Basic.h#L6
I have used the revisions of llvm and clang that are provided in the doc file. Maybe some newer revisions are working now?

Seems like Clang cannot find the standard C++ library headers.
The related setup code is here: https://github.com/mono/CppSharp/blob/master/src/Generator.Tests/GeneratorTest.cs#L33
You can try to set options.Quiet to false and set options.Verbose to true. That should give you some more diagnostics regarding Clang system header lookup paths. Also make sure options.NoBuiltinIncludes is false else we're telling Clang that we'll setup all header lookup paths ourselves.
On the parser bindings generator driver we seem to be setting up the Linux system include headers path ourselves, though it looks quite hardcoded so likely to not work on all systems, but it should give you an idea: https://github.com/mono/CppSharp/blob/master/src/CppParser/Bindings/ParserGen.cs#L91
Anyway the best thing would be to understand why Clang cannot find the headers on your system and fix that.

I'm not very familiar with this build system, I just didn't get it where what is how compiled.
Now I understand that GeneratorTest is invoking clang probably with wrong include directories. I'll try to investigate, for now I'll post the error message which
mono --debug "../lib/Release_x64/Basic.Gen.exe"

Generating bindings for Basic (CLI)
Looking for tests in: /home/bentkus/Projects/mono/CppSharp/tests/Basic
Parsing libraries...
Indexing library symbols...
Parsing code...
ignoring nonexistent directory "./lib/clang/3.7.0/include"
#include "..." search starts here:
#include <...> search starts here:
 /home/bentkus/Projects/mono/CppSharp/tests/Basic
 /home/bentkus/Projects/mono/CppSharp/deps/llvm/tools/clang/lib/Headers
End of search list.
Error parsing 'Basic.h'
/home/bentkus/Projects/mono/CppSharp/tests/Basic/Basic.h(6,10): fatal: 'string' file not found
ignoring nonexistent directory "./lib/clang/3.7.0/include"
#include "..." search starts here:
#include <...> search starts here:
 /home/bentkus/Projects/mono/CppSharp/tests/Basic
 /home/bentkus/Projects/mono/CppSharp/deps/llvm/tools/clang/lib/Headers
End of search list.
Processing code...

Generating bindings for Basic (CSharp)
Looking for tests in: /home/bentkus/Projects/mono/CppSharp/tests/Basic
Parsing libraries...
Indexing library symbols...
Parsing code...
ignoring nonexistent directory "./lib/clang/3.7.0/include"
#include "..." search starts here:
#include <...> search starts here:
 /home/bentkus/Projects/mono/CppSharp/tests/Basic
 /home/bentkus/Projects/mono/CppSharp/deps/llvm/tools/clang/lib/Headers
End of search list.
Error parsing 'Basic.h'
/home/bentkus/Projects/mono/CppSharp/tests/Basic/Basic.h(6,10): fatal: 'string' file not found
ignoring nonexistent directory "./lib/clang/3.7.0/include"
#include "..." search starts here:
#include <...> search starts here:
 /home/bentkus/Projects/mono/CppSharp/tests/Basic
 /home/bentkus/Projects/mono/CppSharp/deps/llvm/tools/clang/lib/Headers
End of search list.
Processing code...
  Stop.
make: *** [Basic.CSharp] Error 2

I tried to remove the ubuntu debian packages of clang, but it didn't help, investigating the C# code now.

So from the log we can see that Clang did not properly setup your system include directories. Now this can be either because there's a bug in Clang or because maybe we're not passing the correct triple, even though it should be setup as the default.
You can add a print here: https://github.com/mono/CppSharp/blob/master/src/CppParser/Parser.cpp#L164
Related code in Clang:
https://github.com/llvm-mirror/clang/blob/master/lib/Driver/ToolChains.cpp#L3136
https://github.com/llvm-mirror/clang/blob/master/lib/Driver/ToolChains.cpp#L3281
This should not be too hard to figure out, let me know if you need further help.

I fixed it temporarily by adding
    if (!Opts->NoBuiltinIncludes)
    {
        std::vector<std::string> SystemDirs {
            "/usr/include/c++/4.8",
            "/usr/include/x86_64-linux-gnu/c++/4.8",
            "/usr/include/c++/4.8/backward",
            "/usr/lib/gcc/x86_64-linux-gnu/4.8/include",
            "/usr/include/x86_64-linux-gnu",
            "/usr/include"
        };
        for(unsigned i = 0; i < SystemDirs.size(); i++)
            HSOpts.AddPath(SystemDirs[i], frontend::System, /*IsFramework=*/false,
                /*IgnoreSysRoot=*/false);
   }

To Parser.cpp, but i'll investigate why clang doesn't actually initialize it properly, https://github.com/mono/CppSharp/blob/master/src/CppParser/Parser.cpp#L195-L196 this should ensure that it actually does it.

I'm running into this issue on linux.


Run, Test and Deploy Your Java App

Tutorial URL: https://developers.sap.com/tutorials/cp-cf-java-run.html
Please specify the step you are referring to
Step 1: Attempt to run your Java app
I can't run my Java app due to Cloud Foundry setting , pls help

my cloud foundry

Have you opened WEB IDE, navigated to your project and right clicked for project settings?  After that you should see cloud foundry settings.  They should be default and should match your user name and password for the SAP Cloud Platform login.

Hi jarjarbentley, check my screenshot again, if I use default setting, the error is given like 'The Cloud Foundry settings are not configured for your project...', that's why I radio button 'use the following settings for this project'


feat(@angular/cli): add option to parameterize LicenseWebpackPlugin (#7819)

Nice feature 👍

I think you're trying to address https://github.com/angular/angular-cli/issues/7819, but I'm not sure if this is the right approach. The right approach needs to be discussed in the issue before it is implemented.

This isn't the right approach to solving this problem. There is an issue where we should extract more license types and have better defaults, but letting users configure the plugin isn't in our roadmap.
That being said, the Architect effort will allow you to change the webpack config if you want.


[BUG] Diagrams/Mermaids in dark theme are messed up!

Describe the bug 描述你遇到的错误
I don't know but there is something weird about the mermaids in dark theme.
My version :
{{< mermaid >}}
sequenceDiagram
      participant Working Tree
      participant Staging Area
      Working Tree ->>Staging Area: git commit
{{< /mermaid >}}

Expected behavior 期待的行为
The docs version:

Screenshots 屏幕截图
No response
Build Environment 构建环境

OS: Ubuntu 20
Theme: latest

Preview Environment 预览环境

OS: Windows
Browser: Chrome

Additional Information 补充信息
No response

The solution is easy but it doesn't apply,
background: unset
which is already done here:
 pre.mermaid {
      background: unset;
      > svg {
         max-width: 100%;
         display: block;
         margin: auto;
      }
  }

My bad, I wasn't using the extended version of hugo.


Update windows cookbook to latest v3.0.4

As v3.0.4 restores cached_file we can safely upgrade to this version.
Fixes
https://github.com/windowschefcookbooks/seven_zip/issues/10
https://github.com/windowschefcookbooks/seven_zip/issues/9
https://github.com/windowschefcookbooks/seven_zip/issues/2

@sneal we can safely merge this PR as windows cookbook supports cached_file.

Is it possible to get this merged into master?


Error Analysis: Search feature by name in drop down for the heatmap is either slow or doesn't respond

closing based on conversation with @nushib as fixed or not reproduced


support for switch

would be good to have a support for switch versions aswell?

All save files (including saving the MCD character) on Switch are encrypted in a special way and it is not possible to decrypt them for modification without special keys.
If you have a flashed or chip-based console, then you can decrypt the character save files and change them.
Otherwise, the only way to change the save is to transfer the save from Switch to Pc.
Instructions for transferring save from Mojang (you must have a Switch Online subscription to transfer)

i mean you CAN do this via a few programs, needs HB though.
Grab save file from switch via checkpoint or ur save editor choice
then drop the raw file (no .bat ending) onto this program a few times, until you get a .bat https://github.com/HellPie/DungeonTools
put the .bat as your pc save file and save again
then use the editor on pc
drop the .bat a couple times until you get the raw file again
move back to switch
make sure to save so it converts save
done.
worked for me at least

If you guys could provide me some example save files pulled from the switch, I could spend some time getting MCDSaveEdit to work with them.

ok hold on, i should still have my saves as the raw save file (how the switch uses it)

fullsave.zip

also switch saves do work with mcedit, though they do need to be converted to .dat save first, then converted back

also switch saves do work with mcedit, though they do need to be converted to .dat save first, then converted back

How can you convert it back to the Switch raw format?
Every time i drop a .dat file on the program it just convert it back to .json and so on.


Slovakia emergency temporary camp (ETC)

https://gist.github.com/pratikyadav/c404426822cdc2cf23a7d58649604a71
I was searching for shelters/emergency temporary camp (ETC) from Slovakia government, and manually mapped identified cities in their press release and social media.
source

https://www.minv.sk/?tlacove-spravy&sprava=pri-hranicnych-priechodoch-s-ukrajinou-v-nedelu-zacnu-zriadovat-hotspoty-pre-urychlenie-administrativneho-procesu-prichodzich-z-ukrajiny
https://www.facebook.com/ministerstvovnutraSR/

Hello,
have you or someone else added those to OSM yet?
Either way, we should establish unified tagging sheme and then we would definitely like to add those to dopomoha.pl

Also we don't have anyone in the team proficient in Slovak language and geography enough to make something with the rough list of towns you provided. If you or someone from the local community could come up with a list/geojson of exact locations of said points, we'd be able to proceed ASAP

have you or someone else added those to OSM yet?
No, I have not added them as the exact locations of these hotspots was not made public by the Slovakia authorities.

If you or someone from the local community could come up with a list/geojson of exact locations of said points, we'd be able to proceed ASAP

Here is a geojson of these location mapped manually http://geojson.io/#id=gist:pratikyadav/c404426822cdc2cf23a7d58649604a71&map=10/48.7367/22.1629
I'll try to find someone from Slovakia OSM community that can add more.

Social facilities in Slovakia now show up on map


[bug] In "permissions" OP and OPERATOR have the same level of permission.

Describe the bug
The values "OP" and "OPERATOR" in "permissions" refer to the same type of permission.
This issue is machine-translated, please excuse any discrepancies.
To Reproduce
Steps to reproduce the behavior:

Write content in the plugin:
(This is the code)

commands = {
        "backuptrue": {
            "description": "test True",
            "usages": ["/backuptrue"],
            "aliases": ["EasyBackuper"],
            "permissions": ["python_example.command.true"]
        },
        "backupfalse": {
            "description": "test False",
            "usages": ["/backupfalse"],
            "aliases": ["EasyBackuper"],
            "permissions": ["python_example.command.false"]
        },
        "backupop": {
            "description": "test is op",
            "usages": ["/backupop"],
            "aliases": ["EasyBackuper"],
            "permissions": ["python_example.command.op"]
        },
        "backupunop": {
            "description": "test not op",
            "usages": ["/backupunop"],
            "aliases": ["EasyBackuper"],
            "permissions": ["python_example.command.unop"]
        },
        "backupconsole": {
            "description": "test is console",
            "usages": ["/backupconsole"],
            "aliases": ["EasyBackuper"],
            "permissions": ["python_example.command.operator"]
        },
        "backupunconsole": {
            "description": "test not console",
            "usages": ["/backupunconsole"],
            "aliases": ["EasyBackuper"],
            "permissions": ["python_example.command.unoperator"]
        }
    }
    permissions = {
        "python_example.command": {
            "description": "Allow users to use all commands provided by this plugin.",
            "default": True,
            "children": {
                "python_example.command.python": True,
            },
        },
        "python_example.command.true": {
            "description": "Allow users to use the /python command.",
            "default": True,
        },
        "python_example.command.false": {
            "description": "Allow users to use the /python command.",
            "default": False,
        },
        "python_example.command.op": {
            "description": "Allow users to use the /kickme command.",
            "default": "op",
        },
        "python_example.command.unop": {
            "description": "Allow users to use the /kickme command.",
            "default": "not_op",
        },
        "python_example.command.operator": {
            "description": "Allow users to use the /kickme command.",
            "default": "operator",
        },
        "python_example.command.unoperator": {
            "description": "Allow users to use the /kickme command.",
            "default": "not_operator",
        }
    }

Build the plugin and place it in the 'plugins' folder.

Start the server.

Open Minecraft.

Go to the server and join it.

Type /backup to test (without obtaining OP status).

See the result (see screenshot below).

Type /backup again to test (after obtaining OP status).

See the result (see screenshot below).

Observe that it appears OP and OPERATOR have equivalent permissions.

Expected behavior
I think OP and OPERATOR are two different permissions. For example, OP can be executed by OP players as well as by the console, but OPERATOR can only be executed by the console.
Screenshots
See above.
Details (please complete the following information):

OS: Windows 11 x64
Endstone Version: v0.4.10

Additional context
None.

Their real values are the same.
🤣→→😐→→🤐

This is expected behavior. op is an alias of operator. :P

I know it now. hmmm, may you add another enum member for the console? QwQ
This is beneficial for distinguishing whether the command source is OP or Console. AwA
~~Although there is an impact from pdb, I still support your project.~~OwO


Refactor: Refine Dashboard Cards - 764

This PR refactors the dashboard cards to improve performance and maintainability by using a PostgreSQL materialized view, creating a unified API, moving transaction texts to locale files, and passing frontend filters in the navigate state.
@AlexZorkin I have a question about the Director Review card. Currently, there is no Reviewed status for Initiative Agreements. Are we planning to add this status in the future? Also, Please let me know If there are any other refinements.
Closes #764

This looks great ty. The dashboard will load much faster once this is merged. There won't be a Reviewed status for initiative agreements.

Thank you, Alex, for reviewing my PR. I've made the following changes:

Fixed the migration order issue.
Updated the status for initiative agreements from "Reviewed" to "Approved".
Fixed a minor issue with the API routes.


Split choice_to_option

Fixes #101 (but not the TestField choices support, that's coming later)

Quick thought: Would it be better if all the choice callbacks were under
one namespace? Then if you want / need to replace more than one together
derived from a single input a appropriate shortcut could easily be
provided...
On Wed, 9 Dec 2020 at 09:40, Johan Lübcke<EMAIL_ADDRESS>wrote:

Merged #135 https://github.com/TriOptima/iommi/pull/135 into master.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/TriOptima/iommi/pull/135#event-4088731263, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHQUJO2HYR5OWKGIGD2CD3ST4ZZDANCNFSM4UTEONBA
.

I think that doesn't improve things much, but I would like to move all choice* out from Field and into a new class ChoiceField or something. We've gone too far with avoiding subclasses, and this is a case where one subclass would improve things.


Automatic outbound rules aren't created

Hi,
It seems that versions 18.7.6 and 18.7.7 are not creating automatic outbound rules.
I need create Manual Outbound  Rules from LAN to WAN traffic works.
I have a 18.7.3 version that is working very well as expected.
https://forum.opnsense.org/index.php?topic=10183.0

Following our discussion in the forum I've been over code and change logs but could not see something sticking out. What I can say for sure is if it's not listed under auto it will not be created as it uses the same data source function in both places. Are you using something like the os-cache plugin? what is your wan setup like?

Could you give temporary access to the box via SSH, this will be easy to spot from there. I'm out of ideas otherwise. :( let me know via<EMAIL_ADDRESS>

Hi Franco, thank you by your effort. I will deploy other appliance and restore the current appliance backup in this new and I send you the credentials by email.

@ccesario thanks!

Hi @fichtner ,
I sent you the email with data.
Thank you!

Hi Carlos,
Under WAN I set "IPv4 Upstream Gateway" to the actual gateway and it works as expected. The auto-detect doesn't seem to work here. I'll try to investigate why. It may be due to static configuration of WAN.
At least you can use your setups manually with this setting. :)
Cheers,
Franco

Found a better fix. Will not fit into 18.7.8 but should be in time for 18.7.9.

Hi Franco!
Thank you by excellent help!!!
Nice to know that found a fix!!!!
Best regards,
Carlos

should be good on the latest development release shipping with 18.7.8. Workaround possible so we'll try to pull smaller chunks into several 18.7.x until all is in 19.1 eventually. :)


Make Channelable match the definition in https://github.com/knative/eventing/pull/482.

Make Channelable match the definition in https://github.com/knative/eventing/pull/482.

/lgtm
/approve


tiny css change so placeholder text doesn't cut off

Thanks for this awesome plugin @valentine195 !
The placeholder text "Search settings..." was being cut off on my system (I use the standard Dark theme)
I added this custom CSS to fix it:
/* slightly wider settings nav area */
.modal.mod-settings .vertical-tab-header {
  flex: 0 0 220px;
}

Before the change:

After this change:

Even better, thank you


gdb.print() with conditional breakpoints giving inconsistent result.

(gdb) "side-by-side-2.py:19 if param_a == 5
No source file named side-by-side.py.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (side-by-side.py:17 if param_a==5) pending.
(gdb) r side-by-side-2.py --api=numba
(gdb) print param_c

The expected value for param_c is 15, however the print returns param_c = 10

Thank you for reporting it. Could you also include what is the value of param_a to determine either the issue is with value printed or with conditional breakpoint itself?

Also, if issues is reproducible with numba only and with regular gdb - check out if there is such issue in numba and if not - open the issue there.

Yeah, you are right, the issue description was misleading. gdb.print() gives inconsistent result, it works sometimes but fails sometimes as well and this is not related to conditional breakpoints.

Also, if issues is reproducible with numba only and with regular gdb - check out if there is such issue in numba and if not - open the issue there.

For numba with latest gdb, everything works as expected and breakpoints are triggered, the issue is with numba-ndpx-kernel.

After investigating the issue, it appears that the issue was with calling python's pexpect.expect() to catch output from info locals. python function was called multiple times instead of calling once with the array input. After the first call buffer was read fully and second call was hanging up the program because expected output was already passed.


Add Save button to start/stop times edit view

Closes https://github.com/toggl/superday/issues/1007

We are taking care of this in another PR together with some design changes. But thank you anyway.


Is this library deprecated or is it dead?

Hi,
As an Azure customer, I need halfway decent automation options and most of our automation is in Ruby because everybody else, chiefly AWS, provides perfectly useful SDKs there without the build or cognitive overhead of other languages.
It's looking like, because of deficiencies in ADAL for Ruby, Azure can't say the same thing. The client assertion example doesn't work. The issues in this repository suggest that half of it is stale.
What's the status of this? Who owns this? How is Azure authentication going to be handled going forward if this isn't it?
-Ed

I think it's dead.
https://github.com/AzureAD/azure-activedirectory-library-for-ruby/issues/44
There's been a fix for the error preventing the example in the readme from working for over a year now but no update to the gem has been pushed.

Microsoft is ending support and security updates for ADAL. Developers are now supposed to use MSAL instead: https://learn.microsoft.com/en-us/azure/active-directory/develop/msal-migration
So far Microsoft has not provided any Ruby libraries for using MSAL: https://learn.microsoft.com/en-us/answers/questions/753085/do-you-have-a-plan-to-develop-msal-for-ruby?source=docs This is frustrating to read and I hope Microsoft will reconsider.

Hi @brandwe
I kindly ask if you can give us an update on what the migration path from ADAL to MSAL looks like for ruby, and wheter an official  MSAL library is on the way for ruby


[Bug Report] False information drawn from MuJoCo simulator while using the Gymnasium-Robotics API's MuJoCo utility functions for custom FetchPObstaclePickAndPlace environment.

Hello dear members of the Farama Team!
I have already address this as an issue in #183 and creating this new issue as a kind reminder.
I have made a fork of the Gymnasium-Robotics API. I am working on creating a custom environment, based on the 'FetchPickAndPlace-v2' environment.  This new environment will introduce an obstacle in the simulation. I have created the appropriate .xml file that introduces  the obstacle, which is named 'objstacle0'. For this environment I wanted to add to the original observation of the 'FetchPickAnPlace' environment the following:

The position of the obstacle in the 3D space.
The relative position of the robot gripper and the obstacle.
The relative position of the object and the obstacle.

However, after creating the environment and performing some steps in it, the  environment seems to return 0 values for the new three values added to the observation. An example can be seen in the picture bellow:

To further debug this behaviour I imported mujoco and I made the mujoco_utils from hidden to public attribute of the environment, so I can access the low level methods that extract the data from the MuJoCo simulator. I was surprised to see that the obstacle and the object where returning the same positions:

I retrieved this data by using the 'get_site_xpos()' method of the 'mujoco_utils' package. However, that is definitely not the case because from the observation we can see that the achieved goal has different value. Furthermore you can see from the image of the simulation that the object is in different position to the one of the obstacle.

Here is the overwritten version of the 'generate_mujoco_observations()' method that I am using:
def generate_mujoco_observations(self):
# positions
grip_pos = self._utils.get_site_xpos(self.model, self.data, "robot0:grip")
    dt = self.n_substeps * self.model.opt.timestep
    grip_velp = (
        self._utils.get_site_xvelp(self.model, self.data, "robot0:grip") * dt
    )

    robot_qpos, robot_qvel = self._utils.robot_get_obs(
        self.model, self.data, self._model_names.joint_names
    )
    if self.has_object:
        object_pos = self._utils.get_site_xpos(self.model, self.data, "object0")
        # rotations
        object_rot = rotations.mat2euler(
            self._utils.get_site_xmat(self.model, self.data, "object0")
        )
        # velocities
        object_velp = (
            self._utils.get_site_xvelp(self.model, self.data, "object0") * dt
        )
        object_velr = (
            self._utils.get_site_xvelr(self.model, self.data, "object0") * dt
        )
        # gripper state
        object_rel_pos = object_pos - grip_pos
        object_velp -= grip_velp
    else:
        object_pos = (
            object_rot
        ) = object_velp = object_velr = object_rel_pos = np.zeros(0)
    gripper_state = robot_qpos[-2:]

    gripper_vel = (
        robot_qvel[-2:] * dt
    )  # change to a scalar if the gripper is made symmetric

    # Extract the positions of the gripper and the object
    #grip_pos = self._utils.get_site_xpos(self.model, self.data, "robot0:grip")
    #object_pos = self._utils.get_site_xpos(self.model, self.data, "object0")

    # Calculate the obstacle's position (assuming its site name is "obstacle")
    obstacle_pos = self._utils.get_site_xpos(self.model, self.data, "obstacle0")

    # Calculate the relative positions
    gripper_to_obstacle = obstacle_pos - grip_pos
    object_to_obstacle = obstacle_pos - object_pos

    # Extend the original observations with the relative positions
    #extended_observations = observations + (gripper_to_obstacle,) + (object_to_obstacle,)
    return (
        grip_pos,
        object_pos,
        object_rel_pos,
        gripper_state,
        object_rot,
        object_velp,
        object_velr,
        grip_velp,
        gripper_vel,
        obstacle_pos,
        gripper_to_obstacle,
        object_to_obstacle
    )

And here the code of the obstacle_pick_and_place.xml:

<include file="shared.xml" />

<worldbody>
	<geom name="floor0" pos="0.8 0.75 0" size="0.85 0.7 1" type="plane" condim="3" material="floor_mat" />
	<body name="floor0" pos="0.8 0.75 0">
		<site name="target0" pos="0 0 0.5" size="0.02 0.02 0.02" rgba="1 0 0 1" type="sphere" />
	</body>

	<include file="robot.xml" />

	<body pos="1.3 0.75 0.2" name="table0">
		<geom size="0.25 0.35 0.2" type="box" mass="2000" material="table_mat" />
	</body>

	<body pos="1.3 0.75 0.48" name="obstacle0">
		<geom  size="0.025 0.35 0.075" type="box" rgba="0.6 0.3 0 1" />
	</body>

	<body name="object0" pos="0.025 0.025 0.025">
		<joint name="object0:joint" type="free" damping="0.01" />
		<geom size="0.025 0.025 0.025" type="box" condim="3" name="object0" material="block_mat" mass="2" />
		<site name="object0" pos="0 0 0" size="0.02 0.02 0.02" rgba="1 0 0 1" type="sphere" />
	</body>

	<light directional="true" ambient="0.2 0.2 0.2" diffuse="0.8 0.8 0.8" specular="0.3 0.3 0.3" castshadow="false" pos="0 0 4" dir="0 0 -1" name="light0" />
</worldbody>

<actuator>
	<position ctrllimited="true" ctrlrange="0 0.2" joint="robot0:l_gripper_finger_joint" kp="30000" name="robot0:l_gripper_finger_joint" user="1" />
	<position ctrllimited="true" ctrlrange="0 0.2" joint="robot0:r_gripper_finger_joint" kp="30000" name="robot0:r_gripper_finger_joint" user="1" />
</actuator>

Could you please help me debug and fix this behaviour ?
Thank you very much in advance for all the valuable help and support !!!
Kind regards,
Christos Peridis

do not create 2 issues for the same problem (unless you close the first one)
xpos is not the same as qpos


Document for search query was not updated properly (Fix for #2662)

My bad.

@navis can you link the originating PR in the master comment?


Disable rendering code blocks

Markmap is a amazing tool for me, it changes every thing for document writers, we can write the document and print mind map at the same time.
but there's a problem to do this, we use mermaid to draw sequence diagrams, and the Markmap will render them in the mind maps, that's not necessary for mind map viewers.
so is there a way to disable code block rending or provide a special mark to comment out some thing we want it in the document but don't want to show in mind maps? I've noticed some others want to disable table rendering #55

I was just hoping for the exact same thing, Markmap is fantastic but having huge code blocks in the map is really unwieldy.

Closing in favor of #71


dont convert 0 with knx_to_float

since knx_2_float can't handle 0, bypass converting 0 value from knx_to_float

Hi @goofz,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Looks good! :dolphin:

Cherry picked for 0.40.1


Merge main into dev

Preview is available here:http://soroban-docs-pr255.previews.kube001.services.stellar-ops.com/


migration v6 to v9

I am struggling with migration v6 to v9.
There are big changes so I can not follow up on the changes.
I was using
export const { appWithTranslation, withTranslation, i18n, Link, useTranslation, Router } = nextI18NextInstance;
in my i18n.ts.
But in v9 it is used no more.
I have found { appWithTranslation, withTranslation, useTranslation } from 'next-i18next',
but I couldn't find { Link, Router, i18n}.
And, I was using const { nextI18NextRewrites } = require('next-i18next/rewrites'); but it also gone somewhere.
I can find only migration guide v7 to v8.
but it doesn't fit on me perfectly.
If there is a guide v6 to v7, it must be helpful to me.

The changes which you describe are between v7 and v8, and should be handled by the existing migration guide. There is no longer any Link or Router export. There is still an i18n export.
Let me know if you have any other questions.

@isaachinman Thank you for your kind answer. :)
My project is still using Link and Router, what can I replace them to?
and also I want to know about nextI18NextRewrites.

nextI18NextRewrites is no longer necessary. Please read the NextJs documentation for Link and Router replacements.


Bug: autofit too small on datetime columns with custom format

Current behavior

Expected behavior

Sample code to reproduce
    let mut xls = Workbook::new();
    let sheet1 = xls.add_worksheet();
    sheet1.write(0, 0, "date")?;

    let format = Format::new().set_num_format("dd\\.mm\\.yyyy hh:mm:ss");

    let now = SystemTime::now();
    let now: DateTime<Utc> = now.into();
    let now = now.naive_local();

    sheet1.write_with_format(1, 0, &now, &format)?;

    sheet1.set_freeze_panes(1, 0)?;
    sheet1.autofit();
    xls.save(filename)?;

Environment
on latest main

This is a limitation more than a bug. rust_xlsxwriter doesn't currently try to apply number formatting when calculating the autofit width. A future version will try to include it in the calculation but even then it will be approximate.
The docs need to call this out more clearly so that I can at least say it is a "known" limitation.
In the meantime you should apply a fixed width based on the width of the custom format to the date columns using worksheet.set_column_width() or worksheet.set_column_width_pixels(). The autofit() won't override that unless the  calculated width is bigger.

Thanks for looking into this!
This might be a language/region thing, but if I remember correctly the date doesn't get displayed correctly even without a custom formatting in de-de. For now I'm just setting the width to 20 manually, works ok.
Yea, living on the edge :D Love the table feature so far, was just a little bit disappointed that exisiting table header text fields get replaced with 'ColumnX' instead of getting converted to table headers automagically, but I can totally work around that :)

was just a little bit disappointed that exisiting table header text fields get replaced with 'ColumnX' instead of getting converted to table headers automagically

Could you explain that a bit. Did you have headers already written and then expected them to be in the table when you inserted it. Something like that?

Yes! Would love to be able to do
    sheet1.write(0, 0, "header")?;
    sheet1.write(1, 0, "value1")?;
    sheet1.write(2, 0, "value2")?;

    sheet1.write(0, 1, "header2")?;
    sheet1.write(1, 1, "value3")?;
    sheet1.write(2, 1, "value4")?;

    sheet1.add_table(0, 0, 2, 1, &Table::new())?;

instead of
    sheet1.write(1, 0, "value1")?;
    sheet1.write(2, 0, "value2")?;
    sheet1.write(1, 1, "value3")?;
    sheet1.write(2, 1, "value4")?;

    let mut table = Table::new();
    table.set_columns(&vec![
        TableColumn::new().set_header("header1"),
        TableColumn::new().set_header("header2")
    ]);

    sheet1.add_table(0, 0, 2, 0, &table)?;

Would love to be able to do

That is not a bad idea. I'll look into it. Not for the first table release but maybe the subsequent one.

Closing this issue as won't fix (for now). I've improved the documentation around this feature: https://docs.rs/rust_xlsxwriter/latest/rust_xlsxwriter/struct.Worksheet.html#method.autofit

was just a little bit disappointed that exisiting table header text fields get replaced with 'ColumnX' instead of getting converted to table headers automagically

This feature is now available on the rust_xlsxwriter main and should be available in v0.43.0 in the next 1-2 days:
use rust_xlsxwriter::{Table, Workbook, XlsxError};

fn main() -> Result<(), XlsxError> {
    let mut workbook = Workbook::new();
    let sheet1 = workbook.add_worksheet();

    sheet1.write(0, 0, "header")?;
    sheet1.write(1, 0, "value1")?;
    sheet1.write(2, 0, "value2")?;

    sheet1.write(0, 1, "header2")?;
    sheet1.write(1, 1, "value3")?;
    sheet1.write(2, 1, "value4")?;

    sheet1.add_table(0, 0, 2, 1, &Table::new())?;

    sheet1.autofit();

    workbook.save("gh42.xlsx")?;

    Ok(())
}

Output:

Woa, brilliant. Thanks alot!

This secondary feature request for automatic headers is now available in rust_xlsxwriter v0.43.0. Thanks for the prompt.


doc: OCI & appc/spec clarification

The documentation about OCI and appc created uncertainty for users, as
shown by the issues #3777 and #3745.
This is an attempt to clarify that although not much development is
happening in appc, rkt will not drop the ACI support.
Once this PR is merged, I would like to delete the project
https://github.com/rkt/rkt/projects/5 as it does not contain anything
and we have https://github.com/rkt/rkt/projects/4 to track the progress
of OCI native support.
Fixes https://github.com/rkt/rkt/issues/3777
Fixes https://github.com/rkt/rkt/issues/3745

Thanks!


Add options to read_iris_spectrograph which makes it not use much memory

The best solution to this function is to use Dask, because then the image scaling and all the uncertainty and mask calculations can be done in a delayed fashion, which means if you don't need to use them they wont do anything. I am going to be looking at implementing some dask support pretty close to astropy.io.fits but this is a good stop gap.
We need this for https://github.com/glue-viz/glue-solar or else it eats all RAM everywhere.

This PR would also be very helpful in running IRIS demos from Binder, where the RAM is typically limited to 1-2 GB. I am planning on running a Binder-based IRIS python tutorial at the next IRIS workshop (Nov 4), so if this is merged by then I could include IRISpy.

@DanRyanIrish updated it to be false by default.

It would be nice if this could be merged as soon as possible. I'm giving a tutorial using IRIS with python at the next IRIS meeting in about 3 weeks, and I'll be running it from Binder (1 GB RAM limitation). If this is merged, then I can use IRISpy. Otherwise I'll just stick to reading the FITS files by hand.

@tiagopereira I have pulled in master here and will merge if the CI passes.
@DanRyanIrish Would it be worth getting a release out soon?


Update package.json for react & postcss-loader

This fix is in master now

@moroshko sorry I missed your previous comment - need a better way to filter my github emails!


Line chart is chopped off for the max value in y-axis

Look at the last point which is having the value 100 is being chopped off.
http://codepen.io/Rachit2000/pen/LNoEVK?#anon-login

Duplicate of #2278


fixed wrong arg name for session_set_save_handler

I got an error when using named arguments. (PHPStan and Psalm were working correctly)
ref: https://www.php.net/manual/en/function.session-set-save-handler.php

session_set_save_handler(object $sessionhandler, bool $register_shutdown = true): bool

@williamdes
thanks, fixed it!


added my link

Good stuff!

Be sure to sign up at https://hacktoberfest.digitalocean.com and do your four pull requests before the end of October to get your free t-shirt!


Troubleshooting Guide for R1 Plus thermistor

Can we please have a troubleshooting guide for low temp error or no temp on the thermistor on the R1 plus. The guide should show how to check for connections issues on the hotend, thermistor long wire, and at the ramps board on the T0 pin.

@spoogs2003 can you send a picture of the printer spitting out a low temp error?

Hi,
I don't have a picture handing. The only visual that will prompted to say
the error would be on Mater control. A lot of the time we also determine
the issue by listening to the customers description of how the printer is
acting and then we come to that conclusion.
regards,
*Roberto Leal **B.A. History *
TECH SUPPORT
Phone:<PHONE_NUMBER>
5070 Santa Fe St., Suite C
San Diego, CA 92109
www.robo3d.com
New Robo C2 and R2 smart 3D printers available for pre-order!
http://www.robo3d.com/robor2
This email transmission contains information that is intended to
be confidential and privileged. If you receive this email and you are not a
named addressee you are hereby notified that you are not authorized to
read, print, retain, copy, or disseminate this communication without
consent of the sender and that doing so is prohibited and may be unlawful.
Please notify sender immediately by email if you have received this via
email and delete and otherwise erase the email and any copies or
attachments from your computer system. Also, email transmission cannot be
guaranteed to be secure or error free as information could be
intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
contain viruses. The sender therefore does not accept liability for
any errors or omissions in the contents of the message, which arise as a
result of email transmission.
On Thu, Nov 9, 2017 at 2:58 PM, mnacinopa<EMAIL_ADDRESS>wrote:

@spoogs2003 https://github.com/spoogs2003 can you send a picture of the
printer spitting out a low temp error?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Robo3D/support.robo3d.com/issues/118#issuecomment-343319718,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AaDUouWgMFSID08XFFB1Mbbt1QCFiVG8ks5s04OqgaJpZM4QXArH
.


NPE when enabling includeDynamicAccessors

I was curious to see what the includeDynamicAccessors flag outputted. When I added it the task failed with,
Caused by: java.lang.NullPointerException
        at com.sun.codemodel.JInvocation.generate(JInvocation.java:176)
        at com.sun.codemodel.JFormatter.g(JFormatter.java:350)
        at com.sun.codemodel.JInvocation.state(JInvocation.java:198)
        at com.sun.codemodel.JFormatter.s(JFormatter.java:386)
        at com.sun.codemodel.JBlock.generateBody(JBlock.java:448)
        at com.sun.codemodel.JBlock.generate(JBlock.java:436)
        at com.sun.codemodel.JFormatter.g(JFormatter.java:350)
        at com.sun.codemodel.JConditional.state(JConditional.java:115)
        at com.sun.codemodel.JFormatter.s(JFormatter.java:386)
        at com.sun.codemodel.JBlock.generateBody(JBlock.java:448)
        at com.sun.codemodel.JBlock.generate(JBlock.java:436)
        at com.sun.codemodel.JFormatter.g(JFormatter.java:350)
        at com.sun.codemodel.JConditional.state(JConditional.java:115)
        at com.sun.codemodel.JFormatter.s(JFormatter.java:386)
        at com.sun.codemodel.JBlock.generateBody(JBlock.java:448)
        at com.sun.codemodel.JBlock.generate(JBlock.java:436)
        at com.sun.codemodel.JFormatter.g(JFormatter.java:350)
        at com.sun.codemodel.JConditional.state(JConditional.java:117)
        at com.sun.codemodel.JFormatter.s(JFormatter.java:386)
        at com.sun.codemodel.JBlock.generateBody(JBlock.java:448)
        at com.sun.codemodel.JBlock.generate(JBlock.java:436)
        at com.sun.codemodel.JFormatter.g(JFormatter.java:350)
        at com.sun.codemodel.JConditional.state(JConditional.java:117)
        at com.sun.codemodel.JFormatter.s(JFormatter.java:386)
        at com.sun.codemodel.JBlock.generateBody(JBlock.java:448)
        at com.sun.codemodel.JBlock.generate(JBlock.java:436)
        at com.sun.codemodel.JFormatter.g(JFormatter.java:350)
        at com.sun.codemodel.JConditional.state(JConditional.java:117)
        at com.sun.codemodel.JFormatter.s(JFormatter.java:386)
        at com.sun.codemodel.JBlock.generateBody(JBlock.java:448)
        at com.sun.codemodel.JBlock.generate(JBlock.java:436)
        at com.sun.codemodel.JFormatter.g(JFormatter.java:350)
        at com.sun.codemodel.JBlock.state(JBlock.java:464)
        at com.sun.codemodel.JFormatter.s(JFormatter.java:386)
        at com.sun.codemodel.JMethod.declare(JMethod.java:460)
        at com.sun.codemodel.JFormatter.d(JFormatter.java:376)
        at com.sun.codemodel.JDefinedClass.declareBody(JDefinedClass.java:815)
        at com.sun.codemodel.JDefinedClass.declare(JDefinedClass.java:788)
        at com.sun.codemodel.JFormatter.d(JFormatter.java:376)
        at com.sun.codemodel.JFormatter.write(JFormatter.java:406)
        at com.sun.codemodel.JPackage.build(JPackage.java:438)
        at com.sun.codemodel.JCodeModel.build(JCodeModel.java:311)
        at org.jsonschema2pojo.Jsonschema2Pojo.generate(Jsonschema2Pojo.java:82)
        at org.jsonschema2pojo.Jsonschema2Pojo$generate.call(Unknown Source)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
        at org.jsonschema2pojo.gradle.GenerateJsonSchemaJavaTask.generate(GenerateJsonSchemaJavaTask.groovy:65)

@ben-manes do you have a simple schema that produces the problem?

Unfortunately I don't. This ran on a few dozen schemas, which have dependencies on each other. Taking it a few random ones and running it on the web tool doesn't fail. So I'm not sure how to provide a meaningful error.

Okay, no problem. It may be possible to simply understand this one using the code and your stack trace. @ctrimble might have some ideas here.

Thanks @ben-manes for report this.  I will see if I can put together a test case to reproduce it.

I am having a hard time creating a test that makes this fail.  @ben-manes to you have any other configuration options set?

Sorry that I can't be more descriptive. There's nothing confidential about the schemas, so I can probably wrap them into a project for you and email it across.
jsonSchema2Pojo {
  removeOldOutput = false
  useCommonsLang3 = true
  generateBuilders = true
  includeConstructors = true
  includeJsr303Annotations = true
  propertyWordDelimiters = ['_'] as char[]
  targetPackage = '....'
  source = files("${sourceSets.main.output.resourcesDir}/json")
}

The schemas would be very helpful.

Sent to your gmail. Thanks!

So, dumped all of your schemas into a test, with your configuration, and I can get the generated output to compile.  Could this be due to removeOldOutput = false?

Changing that flag doesn't fix it locally. You ran it using the gradle build file? That should be reproducible unless there's a surprising environmental problem.

I dumped it into an IT test in maven to start.  I will see what Gradle is producing.

I can recreate it, so this should be enough info.

I just ran into this again and was about to report it anew. :)
I also noticed that the feature doesn't take effect unless I enable includeDynamicAccessors and either includeDynamicGetters or includeDynamicSetters. The description isn't clear that this has to be enabled as a gate before a subsetting is evaluated, which might be more clearly worded.

@ben-manes I am sorry this issue was never resolved.  I will see if I can dig up any work I did and throw together a PR with the schemas and test procedures to recreate the issue.

Oh it’s not a big deal. I will happily map by hand and that’s probably
better, since I rarely need this. Just amused since I completely forgot I
hit it before.
On Wed, Jun 12, 2019 at 12:02 AM Christian Trimble<EMAIL_ADDRESS>wrote:

@ben-manes https://github.com/ben-manes I am sorry this issue was never
resolved. I will see if I can dig up any work I did and throw together a PR
with the schemas and test procedures to recreate the issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/joelittlejohn/jsonschema2pojo/issues/666?email_source=notifications&email_token=AAC4N5TVCU2K7BL2TJU4QALP2CNOTA5CNFSM4CZ7JF5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXPOLGQ#issuecomment-501147034,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAC4N5XWCPARVUS5GJ7FAHTP2CNOTANCNFSM4CZ7JF5A
.

It looks like I don't have the tests mentioned in this issue.

Resent the original attachment, which was a failing Gradle build. I hope that helps, but you can also ignore this again as it is not blocking me.

@ctrimble @joelittlejohn I am also seeing the same error, able to reproduce it with this schema.  I am using the maven plugin to generate the POJOs
Schema:
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "definitions": {
    "myObj": {
      "type": "object",
      "properties": {
        "foo": {
          "type": "string"
        },
        "bar": {
          "type": "integer"
        },
        "baz": {
          "type": "boolean"
        }
      }
    }
  },
  "properties": {
    "test": {
      "$ref": "#/definitions/myObj"
    }
  }
}

Maven Plugin:
<plugin>
    <groupId>org.jsonschema2pojo</groupId>
    <artifactId>jsonschema2pojo-maven-plugin</artifactId>
    <version>1.0.2</version>
    <executions>
        <execution>
            <configuration>
                <annotationStyle>jackson2</annotationStyle>
                <generateBuilders>true</generateBuilders>
                <includeAdditionalProperties>true</includeAdditionalProperties>
                <includeConstructors>false</includeConstructors>
                <includeDynamicAccessors>true</includeDynamicAccessors>
                <includeDynamicGetters>true</includeDynamicGetters>
                <includeGetters>true</includeGetters>
                <includeHashcodeAndEquals>true</includeHashcodeAndEquals>
                <includeJsr303Annotations>true</includeJsr303Annotations>
                <includeJsr305Annotations>true</includeJsr305Annotations>
                <includeSetters>false</includeSetters>
                <includeToString>true</includeToString>
                <inclusionLevel>NON_NULL</inclusionLevel>
                <initializeCollections>false</initializeCollections>
                <useInnerClassBuilders>true</useInnerClassBuilders>
            </configuration>
            <goals>
                <goal>generate</goal>
            </goals>
            <phase>generate-sources</phase>
        </execution>
    </executions>
</plugin>


test: e2e three layers references many

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows conventional commit format
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: #163
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


acntDelphiXE8_R.dpk(29): E2225 Never-build package 'rtl' must be recompiled

I'm trying to compile the BCComponents.Delphi.XE4.Designtime buyt get the following error:
[dcc32 Fatal Error] acntDelphiXE8_R.dpk(29): E2225 Never-build package 'rtl' must be recompiled
It has a dependency to a Delphi XE8 version in a Delphi XE4 package?

Fixed.


"NameError: name 'init_empty_weights' is not defined " when loading llama_lora_int8

Running through this example in a Google Colab: https://github.com/stochasticai/xturing/blob/main/examples/llama/LLaMA_lora_int8.ipynb
On this line:
model = BaseModel.create("llama_lora_int8")

I get:
NameError                                 Traceback (most recent call last)

[<ipython-input-16-4db9638cd1cb>](https://localhost:8080/#) in <cell line: 3>()
      1 from xturing.models import BaseModel
      2
----> 3 model = BaseModel.create("llama_lora_int8")

7 frames

[/usr/local/lib/python3.9/dist-packages/transformers/modeling_utils.py](https://localhost:8080/#) in from_pretrained(cls, pretrained_model_name_or_path, *model_args, **kwargs)
   2493             init_contexts = [deepspeed.zero.Init(config_dict_or_path=deepspeed_config())] + init_contexts
   2494         elif load_in_8bit or low_cpu_mem_usage:
-> 2495             init_contexts.append(init_empty_weights())
   2496
   2497         with ContextManagers(init_contexts):

NameError: name 'init_empty_weights' is not defined

My blocks are 1:1 with the example .ipynb. Any idea what could be wrong?

Hi @samclane ,
Could you restart the notebook and run it again? There is a problem with Colab environment and it should work after restarting.


Add caddy

https://github.com/aquaproj/aqua-registry/issues/858
https://github.com/salasrod/asdf-caddy
https://caddyserver.com/
https://github.com/caddyserver/caddy

added https://github.com/aquaproj/aqua-registry/pull/5501

Thanks!


How can I make sure that the data that has just loaded into LocalStorage can be used immediately in the code?

I have requests on the site for the API, one of the parameters for the query is town_id.
And the value that we substitute there is taken from LocalStorage
town_id: JSON.parse (localStorage.getItem ('town')). id,
We put it there, automatically determining the user's location and sending the required query to the API. As a result, we get such an object
                        "id": 2379,
                        "name": "Moscow",
                        "region": "Moscow region",
                        "lat": "55.755814",
                        "long": "37.617635",
                        "update_at":<PHONE_NUMBER>
                    };};

which we place in LocalStorage.
However, if you clear the LocalStorage and reload the page, then
console.log ((JSON.parse (localStorage.getItem ('town')))));
returns null. And therefore there is nothing to lay in the town_id.
More details on the video.

@Jussiadev I'm not quite following the problem here. After you've cleared/deleted town from localstorage, refreshing the page would clear it and return null.

@uptownhr but I do check that if it's empty, then I need to make a request to the API, which just fills this repository
created() {
            this.$nextTick(function () {
                if (!localStorage.getItem('town')) {
                    //request to the API and then
                            localStorage.setItem('town', JSON.stringify(this.currentCity));
                        })
                    }.bind(this));
                } else {
                    this.currentCity = JSON.parse(localStorage.getItem('town'));
                }
            })
        }

@Jussiadev I think i need to see how getItem('town') is being used..

@uptownhr , I use it, the code I make a request to the API
axios.get(api, {
        params: {
          town_id: JSON.parse(localStorage.getItem('town')).id
        },
      }).then((res) => {
                    this.brends = res.data.data;
                })


Rename storage interface and impls as APIClient

This re-characterizes the Storage interface used by the controller as an APIClient. Existing implementations of the Storage interface (in-memory and 3PR-based) also get updated accordingly. This clears the way for a third implementation of APIClient that will actually speak to the apiserver once that's ready to go.
While doing these renames, I also cleared up some so-called "stutters." e.g. It's unnecessary for types in the mem package to be further qualified or prefixed with "mem."

LGTM if CI is happy

LGTM pending CI. Please ping when CI is done and I'll merge


Add new Skin with animation

First I would like to thank you for your great contributions.
I want to add a new skin and animation but it didn't work.
I used your doctorfemale model (with rig) in blender and export it to gazebo. Everything works: https://streamable.com/z2utvh
Here is the .dae file which works:
https://drive.google.com/file/d/1K3JZy9nuojmmzbxlJ3XOvKoCPy0GyOxB/view?usp=sharing
However, i can't change the size (pressed [s] to scale the model in blender). After i made the model smaller in blender and export (collada .dae file) it to gazebo again, it didn't work anymore:
https://streamable.com/21cqoi
Here is the .dae file which don't work: https://drive.google.com/file/d/19CNp_Rv2vt0w5vxK4rbohNlHPJIKmlF5/view?usp=sharing
How did you create the doctorfemale model. Do I have to change something in the .dae file? I tried different things but nothing works.
Thank you so much in advance.

@animesh-singhal  is this something you can help answer?


Add aft feature.textproto

Pull Request Functional Test Report for #1832 / c095e889bb2f2ce7c57ce8cbab36a53ccebcb222
No tests identified for validation.
Help


Wrong curl syntax for delete in src/pages/guides/authentication/ServerToServerAuthentication/implementation.md

Expected Behaviour
The given curl command should delete an existing client secret based on the UUID provided.
Actual Behaviour
Returns "403 Forbidden"
Reproduce Scenario (including but not limited to)
Deleting an old client secret while performing client secret rotation on a project.
Suggested Fix:
Update the curl method to DELETE on line 144 of src/pages/guides/authentication/ServerToServerAuthentication/implementation.md as below.
curl -X DELETE 'https://api.adobe.io/console/organizations/{orgId}/credentials/{credentialId}/secrets/{uuid from step 9}' \
     -H 'Authorization: Bearer {ACCESS TOKEN GENERATED IN STEP 5}'
     -H 'x-api-key: {CLIENT ID FROM STEP 6}'

Steps to Reproduce

Follow the steps 1-9 in  src/pages/guides/authentication/ServerToServerAuthentication/implementation.md to create a client secret
On step 10, Run the below curl command provided in documentation to delete an existing client secret.

curl -X POST 'https://api.adobe.io/console/organizations/{orgId}/credentials/{credentialId}/secrets/{uuid from step 9}' \
     -H 'Authorization: Bearer {ACCESS TOKEN GENERATED IN STEP 5}'
     -H 'x-api-key: {CLIENT ID FROM STEP 6}'

Platform and Version
Sample Code that illustrates the problem
Logs taken while reproducing problem

This is fixed now.


Test host process or child processes spawned by test host process (selenium webdrivers, browsers etc) linger on after test run completes

Description
Test host process or child processes spawned by test host process (selenium webdrivers, browsers etc) linger on after test run complete
Attached is a sample app with selenium tests. Wherein on error the selenium webdrivers and chome instances do not close and keep a lock on the test dlls
Steps to reproduce
Add an env variable ChromeWebDriver to point to the folder containing chrome webdriver
Expected behavior
When test fails after chrome is launched all process spawned by the test must be killed
Sample App
Application.zip

@ShreyasRmsft does the testhost process crashes when test fail? Or is it a case of simple test failing.
How does the child processes get killed in case when test pass?

This is expected. This is how Selenium works today. Their RemoteDriver instance does not have a destructor that Quits and closes the chrome sessions. The guideline is that driver instances should be Closed/Quit during TestCleanup.
Test platform should not be smart and should not close process at it's will. testhost is not the guy which launched chrome, it's the test and hence life time of chrome should not be decided by testhost but the test. Below code snippet will fix the issue.
[TestCleanup]
public void TestCleanup()
{
driver?.Quit();
}
Let me know your thoughts on this one.

By the way I didn't get a repro of test dlls getting locked by the process. Ideally it shuld not happen as test dlls are running in testhost.exe and not chromedriver.exe
Can you repro this on your machine?

@acesiddhu i got the repro of test dlls getting locked a few times.

@acesiddhu


VirtualService HTTPRoute match header scheme not working

(This is used to report product bugs, please visit https://discuss.istio.io for questions on using Istio)
Bug description
I defined a virtualservice
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: asm-test-http
spec:
  hosts:
  - asm-test-http
  http:
  - match:
    - scheme:
        prefix: http
    route:
    - destination:
        host: asm-test-http

which match http scheme request to route to the host asm-test-http， but the response status code is 404 not Found
asm-test-http virtualhost route config is
 "routes": [
                    {
                        "match": {
                            "prefix": "/",
                            "headers": [
                                {
                                    "name": ":scheme",
                                    "prefixMatch": "http"
                                }
                            ]
                        },

then I turn on Envoy's debug log
[2019-06-04 17:55:16.987][15333][debug][http] [source/common/http/conn_manager_impl.cc:580] [C4][S15658494270569588834] request headers complete (end_stream=true):
':authority', 'asm-test-http.default'
':path', '/'
':method', 'GET'
'user-agent', 'curl/7.61.0'
'accept', '*/*'

there is not header key named ":scheme" , so the request header cannot match config header
Affected product area (please put an X in all that apply)
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[x] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
Expected behavior
Steps to reproduce the bug
Version (include the output of istioctl version --remote and kubectl version)
istio1.1
kubernetes1.14
How was Istio installed?
Environment where bug was observed (cloud vendor, OS, etc)

Isn't :scheme a pseudo-header field in http 2 only?

@mbanikazemi   oh, thank you for explaining, the match header scheme only work in http2 request.


Options screen

Music/Sfx volume sliders
Predefined(?) screen resolution in dropdown(?) list.

Settings are parsed from a separate file using python configparser module and included in settings.py

I think at this stage we can allow arbitrary screen resolutions.
True, there are too many keybindings to fit on one screen.
We probably can add settings to change
FPS,
TYPING_SPEED and
LIMIT_FOV_FOR_STATIC_SPRITES
constants.


Linted typescript and javascript files

Added test option to index.svelte to create large email threads for testing
threaded messages and scrollTo code.

Looks good 👍


Tests/get config

For #330 issue

@okonet @luftywiranda13 There are some weird failures in CI while running eslint .. Any idea what's going on?

The build is breaking due to this - yannickcr/eslint-plugin-react#1543 and has been fixed in yannickcr/eslint-plugin-react#1544. Should be released soon.

hmmm yeah, we're using that plugin under the hood :sad:

now both of our CI statuses are red after merging #334, though there's no problem with the PR itself

We can just rerun the builds after the new version of eslint-plugin-react is released.

The issue in eslint-plugin-react is fixed. I reran the build but there is an issue with formatting. It might have been introduced when I resolved a conflict. @Andrew1024 Could you please fix it?
Also @okonet, could you rerun the build on appveyor for the main repo? I do not have access to restart it.

merging this. thanks @Andrew1024 for the PR!


RFC: Switch NodeId from NonZeroU128 to u64

This is currently a request for comments; I haven't made a final decision to do this. But I'm opening it as an issue because, if we move forward with it, it will be actionable. And I want to make sure this gets resolved one way or the other.
I'm thinking of switching the underlying type for AccessKit node IDs from NonZeroU128 to u64. The primary reason is that most type systems, for both programming languages and statically typed serialization formats, don't have a native type for an unsigned 128-bit integer. The need to have a struct for a node ID is one thing that makes the C API cumbersome, and the same concern applies to the work-in-progress Java API.
The original reason for switching from NonZeroU64 to NonZeroU128 last year was to allow a node ID to be constructed from an unsigned 64-bit integer that might be zero, such as a Rust hash code, without any risk of either losing data or breaking the "non-zero" requirement. This is an important concern, which is why I didn't hesitate to make the switch. But I've since reconsidered whether we really need to require that the node ID be non-zero. The original reason for that requirement was to optimize the size of Option<NodeId> in Rust. But with the node structure refactor that we introduced earlier this year, we no longer need to store many Option<NodeId> fields. So now I'm OK with using a plain u64.
My only concern at this point is that this change will interfere with the way slint's AccessKit integration currently composes a node ID from a component ID plus an index of an item within the component. The item index is currently a usize, which is 64-bit on modern general-purpose machines, meaning the node ID has to be more than 64-bit. One option would be to specify that the item index must be a u32, as it already is on some machines that slint targets (specifically, microcontrollers). Another solution would be for slint's AccessKit integration to maintain a complete mapping between items and node IDs. A final option I'm considering is some kind of subtree support, where each subtree has a node ID within the parent tree, and each subtree has its own node ID space. The problem that immediately comes to mind with that solution is that, with the current schema, there wouldn't be a way for a node in one subtree to refer to a node in a different subtree, such as when a control and its label are in different subtrees.
What we have right now works, but it's arguably a wart in the current design, particularly when considering FFI and serialization. We need to address all known warts as we move toward stabilization.
cc @raphlinus @wtholliday @tronical

For reference, #99 was about storing UUIDs. I know that GTK4 use these, but I don't know how prevalent it is in the GUI toolkit space.
Also worth noting that we will be forced to use i32 on Android.

I think u64 is fine for Slint. More than 2^32 components and 2^32 items seems unlikely to me. The earlier encoding would have required a u128 but your solution fixed that. Cc @ogoffart

IIRC in #99, I was concerned about being able to easily express IDs using hashes of paths down the view tree. I think @raphlinus advised me to use something more than a u64 to prevent collisions. I suppose I could always maintain a hash table from the bigger IDs to (allocated) AccessKit IDs.
If Android forces i32, maybe it should be i32 as a lowest common denominator?

IMO, an i32 is too restrictive. The Android platform adapter can maintain a mapping between AccessKit node IDs and Android-specific IDs. But we shouldn't require all other platforms to pay for that constraint.

I'm in favor of moving this to u64. My advice to @wtholliday was not to rely on 64-bit hashes to enforce uniqueness, as the birthday paradox gets you a nontrivial probability of collision, especially as the app scales up. That said, speaking bluntly, hashes of paths is a somewhat oddball choice for a UI toolkit (I am unaware of any other than rui that use this), so it seems reasonable to me to require the client to do its own mapping.


Deployment Sizing Guidelines

Based on your experience deploying api-umbrella in production, do you have any guidelines on how much hardware is required to handle what levels of load? How heavily is MongoDB and Elasticsearch being hit? Is each component CPU, I/O, or memory-bound? Thanks!

Sorry for the delay in responding. I don't have super-concrete numbers handy, but for some quick ballparks, we've previously hosted this on a cluster of old EC2 M1.small instances with a decent amount of traffic. So it can be hosted on pretty minimal resources, but I'd probably recommend slightly beefier hardware than M1 smalls. It really depend on how much traffic you're expecting, but in general AWS EC2 terms, I'd probably recommend something more like like an M3.large or C3.large at a starting point and you should be able to handle a decent amount of traffic (the overall footprint is pretty slow, and things are fairly efficient).
The router servers are generally more CPU bound with increasing load. Elasticsearch tends to be more memory bound with larger datasets when performing queries in the analytics admin (it can also be CPU hungry, but more memory seems to help first). But in general day-to-day use, there's not a tremendous load being placed on the databases.
I know I have some old benchmarks of various EC2 sizes, but they're probably somewhat out of date at this point. Generally speaking, though, whenever I've benchmarked things, the system should be pretty resilient under high load even on under-provisioned hardware, things will just become slower to respond (but things shouldn't completely fall over an die). So a lot of it hinges upon what your latency requirements are, what sort of traffic spikes you expect, etc. However, it should scale pretty well with beefier hardware and/or adding additional router servers. If you toss a machine with more CPU cores at it, you'll likely just need to bump the gatekeeper.workers and nginx.workers settings in /etc/api-umbrella/api-umbrella.yml as appropriate (these both default to 4, and you'll probably just want them to match your number of CPU cores).


Is there any configuration to customize the format of release notes?

I want to customize the format of changelog of the pull request after release-please runs and I want include the issue/pr symbol in the notes. It just requires to make the issue number #1 follow a - or * like this for example:
* #1731(#1449 )

which will be rendered as I need:

#1731(#1449)

Actually my question is whether it's possible to change the link format of a issue/pr reference by removing the link value, i.e., changing
[#1731](https://github.com/googleapis/release-please/issues/1731)

to
#1731

I tried changelog-notes-type: github and I got similar results but without type separation, i.e., separating bugs, features to different sections...


Single app with AddJwtBearer support

In examples, client app is separate from identity app. Is there a way to use the library without .UseJwksDiscovery() and setting the URL in client app since they are the same app.
There is sample for same app but it doesn't use .AddJwtBearer() in startup, it just manually decodes JWT
Thanks

Hi @domagojmedo,
It's in my roadmap to do a feature like that. But unfortunately, at this moment you cant. Because there a lot of dependencies which we cant use at Startup to generate a Asymetric key.

Hi,
The new version is available and now it's possible to support and validate jwt at the same api! Check docs for more info


Import mirror error on empty unity project

I literally just created a new unity project on version 2020.3.15f2 and the first thing i did was import mirror.
I've got these 3 errors:
(0,0): error Exception :System.IO.FileNotFoundException: Could not load file or assembly 'UnityEngine.CoreModule, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
(0,0): error File name: 'UnityEngine.CoreModule, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'
(0,0): error   at Mirror.Weaver.Weaver.Weave (Mono.CecilX.AssemblyDefinition assembly, Mono.CecilX.IAssemblyResolver resolver, System.Boolean& modified) [0x0003b] in :0
I tried to change unity's version, but it doesn't work as well. I import this version of Mirror direct from the asset store.
I'm learning game dev and this is my first time trying to make a multiplayer game and i'm stuck in a empty project. Please help me.

Apparently some unity's version don't like mirror. I tried olders versions and i was getting the same errors. But version 2021.1.25 works.


Fixing a bug relating to RetryingReadRowsOperation.

completionFuture is null in RetryingReadRowsOperation, so add some defensive checks in AbstractRetryingOperation onError() for canceled operations.

why is the completion future null for RetryingReadRowsOperation?

GrpcFuture is now always set.  PTAL.


cluster_slots() Error

Hello,
I am seeing this error whenever I try to use cluster_slots().
I have a Redis cluster (3.2) with 3 masters and 3 slaves.
Have you experienced this before?
Thanks
From a Python3 shell:

import rediscluster
client = rediscluster.StrictRedisCluster(startup_nodes=[{"host": "localhost", "port":10000}])
client.cluster_slots()
Traceback (most recent call last):
File "", line 1, in
File "/home/cbuisson/env/local/lib/python3.4/site-packages/rediscluster/client.py", line 545, in cluster_slots
return self.execute_command('CLUSTER SLOTS')
File "/home/cbuisson/env/local/lib/python3.4/site-packages/rediscluster/utils.py", line 101, in inner
return func(*args, **kwargs)
File "/home/cbuisson/env/local/lib/python3.4/site-packages/rediscluster/client.py", line 269, in execute_command
return self._execute_command_on_nodes(node, *args, **kwargs)
File "/home/cbuisson/env/local/lib/python3.4/site-packages/rediscluster/client.py", line 353, in _execute_command_on_nodes
res[node["name"]] = self.parse_response(connection, command, **kwargs)
File "/home/cbuisson/env/local/lib/python3.4/site-packages/redis/client.py", line 587, in parse_response
return self.response_callbacks[command_name](response, **options)
File "/home/cbuisson/env/local/lib/python3.4/site-packages/rediscluster/utils.py", line 136, in parse_cluster_slots
'master': fix_server(*master),
TypeError: fix_server() takes 2 positional arguments but 3 were given

@c-buisson What version of the client are you running? Is this something that hajve appeared in the latest relese 1.3.1??

I noticed this with 1.3.0 and 1.3.1.
Were you able to reproduced this error?

@c-buisson This is not normal behavior from the client or the cluster. There seems to be a problem with the cluster you are running on your end.
What version of redis (exactly) are you running in your cluster? Can you connect to your cluster on the host you try to connect to in startup_nodes (localhost:10000) and run CLUSTER SLOTS and paste the output back to me, it should help me to track down why the parsing i behaving badly. Also what version of redis-py?? Where and how are you running your cluster? Are you using something like docker or running it in some other kind of virtualization or directly on your machine?
If you have the error reproducible please paste what is in the master variable just before the last line in the exception. I can't really reproduce the problem unless i know these details.

My guess is that your cluster is probably setup wrong and that cause these problems.

I am using redis-server 3:3.2.4-1~bpo8+1 and redis-py version is: 2.10.5
Here is the output of CLUSTER SLOTS from redis-cli:
cbuisson@rediscluster01:~ ()$ redis-cli -p 10000
<IP_ADDRESS>:10000> cluster slots
1) 1) (integer) 5461
   2) (integer) 10922
   3) 1) "<IP_ADDRESS>"
      2) (integer) 10000
      3) "3588b4cf9fc72d57bb262a024747797ead0cf7ea"
   4) 1) "<IP_ADDRESS>"
      2) (integer) 10000
      3) "a72c02c7d85f4ec3145ab2c411eefc0812aa96b0"
2) 1) (integer) 10923
   2) (integer) 16383
   3) 1) "<IP_ADDRESS>"
      2) (integer) 10000
      3) "ffd36d8d7cb10d813f81f9662a835f6beea72677"
   4) 1) "<IP_ADDRESS>"
      2) (integer) 10000
      3) "5c15b69186017ddc25ebfac81e74694fc0c1a160"
3) 1) (integer) 0
   2) (integer) 5460
   3) 1) "<IP_ADDRESS>"
      2) (integer) 10000
      3) "069cda388c7c41c62abe892d9e0a2d55fbf5ffd5"
   4) 1) "<IP_ADDRESS>"
      2) (integer) 10000
      3) "dc152a08b4cf1f2a0baf775fb86ad0938cb907dc"

CLUSTER INFO
<IP_ADDRESS>:10000> cluster info
cluster_state:ok
cluster_slots_assigned:16384
cluster_slots_ok:16384
cluster_slots_pfail:0
cluster_slots_fail:0
cluster_known_nodes:6
cluster_size:3
cluster_current_epoch:11
cluster_my_epoch:1
cluster_stats_messages_sent:4667794
cluster_stats_messages_received:4667505

CLUSTER NODES
<IP_ADDRESS>:10000> cluster nodes
3588b4cf9fc72d57bb262a024747797ead0cf7ea <IP_ADDRESS>:10000 master - 0<PHONE_NUMBER>357 2 connected 5461-10922
5c15b69186017ddc25ebfac81e74694fc0c1a160 <IP_ADDRESS>:10000 slave ffd36d8d7cb10d813f81f9662a835f6beea72677 0<PHONE_NUMBER>990 11 connected
a72c02c7d85f4ec3145ab2c411eefc0812aa96b0 <IP_ADDRESS>:10000 slave 3588b4cf9fc72d57bb262a024747797ead0cf7ea 0<PHONE_NUMBER>724 5 connected
dc152a08b4cf1f2a0baf775fb86ad0938cb907dc <IP_ADDRESS>:10000 slave 069cda388c7c41c62abe892d9e0a2d55fbf5ffd5 0<PHONE_NUMBER>822 8 connected
ffd36d8d7cb10d813f81f9662a835f6beea72677 <IP_ADDRESS>:10000 master - 0<PHONE_NUMBER>906 11 connected 10923-16383
069cda388c7c41c62abe892d9e0a2d55fbf5ffd5 <IP_ADDRESS>:10000 myself,master - 0 0 1 connected 0-5460

The cluster is running on really dedicated hardware. No virtualization nor Docker here.
I am able to reproduce this error. I have added a print statement to print out the master variable in utils.py:
>>> r.cluster_slots()
MASTER: ['<IP_ADDRESS>', 10000L, '069cda388c7c41c62abe892d9e0a2d55fbf5ffd5']
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/cbuisson/env-cache-benchmark/local/lib/python2.7/site-packages/rediscluster/client.py", line 549, in cluster_slots
    return self.execute_command('CLUSTER SLOTS')
  File "/home/cbuisson/env-cache-benchmark/local/lib/python2.7/site-packages/rediscluster/utils.py", line 101, in inner
    return func(*args, **kwargs)
  File "/home/cbuisson/env-cache-benchmark/local/lib/python2.7/site-packages/rediscluster/client.py", line 272, in execute_command
    return self._execute_command_on_nodes(node, *args, **kwargs)
  File "/home/cbuisson/env-cache-benchmark/local/lib/python2.7/site-packages/rediscluster/client.py", line 357, in _execute_command_on_nodes
    res[node["name"]] = self.parse_response(connection, command, **kwargs)
  File "/home/cbuisson/env-cache-benchmark/local/lib/python2.7/site-packages/redis/client.py", line 587, in parse_response
    return self.response_callbacks[command_name](response, **options)
  File "/home/cbuisson/env-cache-benchmark/local/lib/python2.7/site-packages/rediscluster/utils.py", line 137, in parse_cluster_slots
    'master': fix_server(*master),
TypeError: fix_server() takes exactly 2 arguments (3 given)

I can fixed the issue by editing the master and slaves variables in the utils.py file:
    slots = {}
    for slot in resp:
        start, end, master = slot[:3]
        slaves = slot[3:]
        print "MASTER: {0}".format(master)
        master = ['<IP_ADDRESS>', 10000]
        print "MASTER edited: {0}".format(master)
        print "SLAVES: {0}".format(slaves)
        slaves = [['<IP_ADDRESS>`, 10000]]
        print "SLAVES edited: {0}".format(slaves)
        slots[start, end] = {
            'master': fix_server(*master),
            'slaves': [fix_server(*slave) for slave in slaves],
        }

    return slots

Now when I run cluster_slots I am getting this:
MASTER: ['<IP_ADDRESS>', 10000L, 'ffd36d8d7cb10d813f81f9662a835f6beea72677']
MASTER edited: ['<IP_ADDRESS>', 10000]
SLAVES: [['<IP_ADDRESS>', 10000L, '5c15b69186017ddc25ebfac81e74694fc0c1a160']]
SLAVES edited: [['<IP_ADDRESS>', 10000]]
MASTER: ['<IP_ADDRESS>', 10000L, '069cda388c7c41c62abe892d9e0a2d55fbf5ffd5']
MASTER edited: ['<IP_ADDRESS>', 10000]
SLAVES: [['<IP_ADDRESS>', 10000L, 'dc152a08b4cf1f2a0baf775fb86ad0938cb907dc']]
SLAVES edited: [['<IP_ADDRESS>', 10000]]
MASTER: ['<IP_ADDRESS>', 10000L, '3588b4cf9fc72d57bb262a024747797ead0cf7ea']
MASTER edited: ['<IP_ADDRESS>', 10000]
SLAVES: [['<IP_ADDRESS>', 10000L, 'a72c02c7d85f4ec3145ab2c411eefc0812aa96b0']]
SLAVES edited: [['<IP_ADDRESS>', 10000]]
// I am printing the content of r.client_slots() below
SLOTS: {(10923L, 16383L): {'master': ('<IP_ADDRESS>', 10000), 'slaves': [('<IP_ADDRESS>', 10000)]}, (5461L, 10922L): {'master': ('<IP_ADDRESS>', 10000), 'slaves': [('<IP_ADDRESS>', 10000)]}, (0L, 5460L): {'master': ('<IP_ADDRESS>', 10000), 'slaves': [('<IP_ADDRESS>', 10000)]}}

As you can see, the master and slaves variables are not only composed of the host and port but also of their own IDs.

@c-buisson I looked this over some and i can kinda confirm what you are seeing and that it is a breaking change that must have been introduced in some later version of redis 3.2.x.
Currently in my docker instance i get the following when i run the CLUSTER SLOTS command
<IP_ADDRESS>:7000> cluster slots
1) 1) (integer) 10923
   2) (integer) 16383
   3) 1) "<IP_ADDRESS>"
      2) (integer) 7002
   4) 1) "<IP_ADDRESS>"
      2) (integer) 7005
2) 1) (integer) 5461
   2) (integer) 10922
   3) 1) "<IP_ADDRESS>"
      2) (integer) 7001
   4) 1) "<IP_ADDRESS>"
      2) (integer) 7004
3) 1) (integer) 0
   2) (integer) 5460
   3) 1) "<IP_ADDRESS>"
      2) (integer) 7000
   4) 1) "<IP_ADDRESS>"
      2) (integer) 7003

and that kinda confirms the thing you said in your last post that it now adds the ID. It should be a rather easy fix to make it compatible again with the version you are running.

@c-buisson Closing this as fixed with this commit 9f9baeced12b7abac53b3680ea3f5a1b16a38038
See the tests that validates that it still works with the old and new response format.

Thanks for fixing this bug @Grokzen!


Had a troubles with searching with escaping '' char

When using this thing for searching I noticed that some search request that contains '' char not working, for example, searching value 'C1.1' caused problems because in GET response its value was converted to ''C1\.1" .
Changing https://github.com/pivotal-energy-solutions/django-datatable-view/blob/master/datatableview/datatables.py#L484 to
return column.search(self.model, terms.replace('\\', '')) solved my problem, probably it may help someone.

Hm, I feel like I need to reproduce this for myself before I make the change.  I'm fairly sure that nothing in datatableview bothers escaping characters, so blindly replacing the backslashes seems risky.  I'll look at this soon.


Limit HTTP Respose

Hello, I noticed that guzzle don't have any function that can limit the http request response body for a specific limit and after that limit terminate the request, even though that can be done with cURL so please add it

I'm not sure this is necessary. This could be achieved using a stream decorator on the response body to fail after a certain amount of data is written, or you could simply send a Range HTTP header with your request.

It's necessary I need it, explain how to do it the stream decorator thing, and I tried the range header with the request I am making but it didn't work so I need the limit thing

What do you mean when you say the Range header didn't work? What header did you send and what was the response? Can you post the debug output? See: http://docs.guzzlephp.org/en/latest/request-options.html#debug

You could create an FnStream and provide it to the sink option of a request. When creating the FnStream, you would provide a function that decorates the write function. You would the throw if the size of data in the stream exceeds your limit.
See https://github.com/guzzle/psr7#fnstream for an example. You might also find the FnStream tests useful for reference https://github.com/guzzle/psr7/blob/master/tests/FnStreamTest.php


Feature: 3 sentence segmenter

Adds sentence segmentation. Fixes #3.

Changes Unknown when pulling 63c93deaa7497b0e6e00dd7a21148beb70edc2c1 on feature/3-sentence-segmenter into ** on master**.


Use @link for jsdoc, and make compatible with lit.dev API documentation

Tracking issue from https://github.com/lit/lit/pull/2161.
We should start using e.g. {@link ReactiveController}, since that will work in VSCode too. We will need to change or update this regexp to extract them for our lit.dev API docs: https://github.com/lit/lit.dev/blob/e2d7fd3625fb021c539348d7ad06121e871a8ebd/packages/lit-dev-tools/src/generate-api-docs-data.ts#L730

Bumping this onto my radar. @link is better for editors. VS code will allow clicking on @link and will jump to definition. Whilst [[ ]] renders directly in the editor without any possible user interaction.

Note, links in @param don't work.

Original issue is resolved.

Note, links in @param don't work.

This may still be an issue, but should have a separate issue.


what's your plan on orderbook?

will you add more algo on the order book to reproduce the ask5,...ask1,bid1,...bid5?

not sure what you mean by this? The orderbook is available at my repo which I haven't managed to update in a while. The intention is to add algos but I probably need to tighten up the implementation for the orderbook as its a bit processor heavy.

orderbook has now been removed as it was not well implemented and causing a headache. It will be looked at again in the near future.


We need Class and Section information

Hard to distinguish so many class 2(s)

@aksanoble will fix it before Dec 30..

Not fixed - moving to Beta 2

Works on staging for now.


Support of "URL" field type

As I understand it is not supported now. At least, "force field type" does not list it.
Can it be supported?

It's just an omission.  Have you tried to use it?

I'm new to it, I've just tried

Ok, I'll take a look, should be easy to add.

Thanks a lot

@dcarroll Should this be closed?

Yup, thanks!
On Wed, Oct 21, 2015 at 3:05 PM, Jean-Philippe Monette <
<EMAIL_ADDRESS>wrote:

@dcarroll https://github.com/dcarroll Should this be closed?
—
Reply to this email directly or view it on GitHub
https://github.com/heroku/force/issues/205#issuecomment-150038139.

--
Thanks,
Dave

Hm... I've installed "go" (on windows), run "go get -u github.com/heroku/force", got the "force.exe" in bin folder in GOPATH folder, and still
force field type Url
force field type url
force field type URL
all resulted in "Sorry, that is not a valid field type"
What am I doing wrong?

I've checked the changes in your commit in metadata.go - they all are on my harddrive, so probably they do not work?

Also, I've noticed that in ValidateFieldOptions function here
case "picklist":
attrs = getAttributes(&PicklistField{})
s = reflect.ValueOf(&PicklistFieldRequired{}).Elem()
case "phone":
attrs = getAttributes(&PhoneField{})
s = reflect.ValueOf(&PhoneFieldRequired{}).Elem()
break
probably should be "break" after picklist.
Sorry I'm new to open source projects, not sure how to fix it by myself

In fact, the problem is in func DisplayFieldDetails(fieldType string) - it does not have "case" for url.

You have changed it as well, but your pull request did not make it (it is #209 and marked with error).

Sorry I'm new to open source projects, not sure how to fix it by myself

I have changed it and created pull request