Open economy documentation question

@jdebacker. I have some questions about our open economy setup, and they might just be notation questions. Define total capital demand by domestic firms as K_t and define the amount of capital supplied by foreigners as K^f_t and define the amount of capital supplied by domestic households as K^d_t. Define total government debt as D_t and define the amount of government debt held by foreigners as D^f_t and define the amount of government debt held by domestic households as D^d_t.  And let B_t be total household savings. Then the following are true.
K_t = K^d_t + K^f_t

D_t = D^d_t + D^f_t

B_t = K^d_t + D^d_t

Question 1
In the small open economy setting, shouldn't the identity be the following?
K^f_t = K_t - B_t + D^d_t

I can't get anything like the first equation in the Small Open Economy section of the Open Economy Options chapter of the documentation.
Question 2
Shouldn't the capital market clearing condition be the following?
B_t = K^d_t + D^d_t

Question 3
Is the flag for the small open economy case in the code where zeta_D = 1? And is the solution in that case to keep r_guessatworld_interest_rate` in the outer loop in order to use the same solution method machinery?
Question 4
In my issue #677, I raised the question about the household interest rate being a function of K^d_t and D^d_t rather than K_t and D_t. One of the reasons for this is the assumption that households are indifferent between K^d_t and D^d_t and that they hold K^d_t and D^d_t in the same proportions as K_t and D_t are in proportion to each other. The former point is true by assumption, but the latter point is not true. K^d_t and D^d_t in general are not in the same proportion to K_t and D_t because zeta_D is not equal to zeta_K in general. Despite this, shouldn't the solution method for the model remain the same, even if we let r_{hh,t} be a function of K^d_t and D^d_t?

@rickecon asks a few questions:

Question 1
In the small open economy setting, shouldn't the identity be the following?
K^f_t = K_t - B_t + D^d_t

Yes.  That is in the first non-inline equation in the small open economy section you linked to.  It is true in the code as well if zeta_K=1.

Question 2
Shouldn't the capital market clearing condition be the following?
B_t = K^d_t + D^d_t

This equality is true, but it represents the household portfolio budget constraint (total savings from domestic households, B, equals total holdings of capital by domestic households, K_d, plus total holdings of public debt by domestic households, D_d).
The capital market clearing condition is: K_t = K^d_t + K^f_t (i.e., total capital demanded by firms equals total capital supplied by domestic and foreign investors).  For the debt market, the market clearing condition is D_t = D^d_t + D^f_t.

Question 3
Is the flag for the small open economy case in the code where zeta_D = 1?

Yes.

And is the solution in that case to keep r_guessatworld_interest_rate` in the outer loop in order to use the same solution method machinery?

Yes.

Question 4
In my issue #677, I raised the question about the household interest rate being a function of K^d_t and D^d_t rather than K_t and D_t. One of the reasons for this is the assumption that households are indifferent between K^d_t and D^d_t and that they hold K^d_t and D^d_t in the same proportions as K_t and D_t are in proportion to each other. The former point is true by assumption, but the latter point is not true. K^d_t and D^d_t in general are not in the same proportion to K_t and D_t because zeta_D is not equal to zeta_K in general. Despite this, shouldn't the solution method for the model remain the same, even if we let r_{hh,t} be a function of K^d_t and D^d_t?

No.  The solution algorithm would need to change with this alternative assumption.  This is because when going into the household problem, you need r_hh.  If you do not know K_d before solving the household problem, you wouldn't  be able to solve for r_hh at this point.  With the current outer loop variables, we cannot infer K_d before solving the household problem.  Thus, under this alternative assumption, one would need to add K_d (or r_hh) to the outer loop variables.

Question 1
In the small open economy setting, shouldn't the identity be the following?
K^f_t = K_t - B_t + D^d_t

@jdebacker responded:

Yes. That is in the first non-inline equation in the small open economy section you linked to. It is true in the code as well if zeta_K=1.

The documentation in the first equation in the Small Open Economy section of the Open Economy Options chapter of the documentation has a negative in front of the last term D_t. I can't derive that with my different definitions above.
And the equation  K^f_t = K_t - B_t + D^d_t should be true for all cases in which zeta_D and zeta_K are less than 1. When zeta_D=1 then D^d_t=D_t and when zeta_K=1 then K^f_t=0.

@rickecon comments:

The documentation in the first equation in the Small Open Economy section of the Open Economy Options chapter of the documentation has a negative in front of the last term D_t.

Ah- typo there.  Just opened a PR to fix this.

And the equation K^f_t = K_t - B_t + D^d_t should be true for all cases in which zeta_D and zeta_K are less than 1. When zeta_D=1 then D^d_t=D_t and when zeta_K=1 then K^f_t=0.

If zeta_K = 1 were are  in the small open economy case, where foreign investors satisfy all excess demand for capital.  In this case, K_f = K_demand_open - K_d, where K_demand_open is equal to the capital demanded by the firm at the world interest rate.
If zeta_D=1, then foreign investors buy 100% of the new government debt issues.  In that case, D_d=0 in the SS, but may not equal zero along the transition path (depends on the initial debt holdings of domestic and foreign investors as set in the initial_foreign_debt_ratio parameter).

Question 1 is resolved in PR #680.


MAINT: don't skip CIs when merging to main?

as I write this, the most recent merged PR was #9185 which had all-green CIs.  The commit message for the squashed commit (70709f5069ddb413c2719f4d2b41fd6bfea2349a) does not say "ci skip" or use any other of our skip codes, and yet, all the GitHub CIs are showing as "cancelled" (click the red X at the top of the repo homepage where it shows "most recent commit").  Questions:

why?
is this what is causing CodeCov badge to show 15% coverage?
is it possible to change the skip behavior so that skips can occur in open PRs, but never occur on commits to main?

I'm guessing it's due to the new Cancel job being configured incorrectly. Some digging through the logs in https://github.com/mne-tools/mne-python/actions might shed some light on it


Parameter for domain/renew

It would be nice with a months parameter for the domain/renew command. Some TLDs support this by allowing the renewal period to be 12-120 months, but this is not visible in the Glesys API.

Is my understanding correct that the reason for this is to be able to renew a domain for let's say 20 months instead of even 12 month intervals?

Yes! That way we can synchronize our domain names to reduce the number of
invoices. I think this parameter might also be allowed on domain creation
in the EPP protocol.
//Emil
2016-12-28 9:32 GMT+01:00 Christoffer Persson<EMAIL_ADDRESS>
Is my understanding correct that the reason for this is to be able to
renew a domain for let's say 20 months instead of even 12 month intervals?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/GleSYS/API/issues/24#issuecomment-269444222, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABm1sgVEZLOjroEQ33B1Idfwt44omMNuks5rMh6rgaJpZM4LWwbL
.

Renewing per month is currently not possible with the domain provider we are currently using. I like the idea though and will forward your request.

If our domain provider makes this a reality we'll look into support renewing domains with a custom number of months.


Add delete job functionality on the manager end

Added a button next to Edit on the manager's side. please validate the feature @tahreemm @amaygada

validating :)


Fix import for nested add-on.

This PR fix import when add used in nested add-on. For example I have an add-on which requires ember-cli-gravatar. Without that fix it won't work when my add-on is included in the main app.

Thanks!

Working on bumping the ember-cli version right now to see if this fixes the build failure. Will publish to npm as soon as I get it passing.

@johnotander I'm using in the app managed by ember-cli 2.4.2

Published to npm as<EMAIL_ADDRESS>Thanks again!


Added :meth:~.CoordinateSystem.get_line_graph for plotting a line graph

Changelog / Overview

Added :meth:~.CoordinateSystem.get_line_graph that returns a line graph from lists of points along x, y and z (optional) axes.

Motivation

Allows plotting line graphs easily from lists of values along axes.
Example

code

class LineGraphScene(Scene):
    def construct(self):
        axes = NumberPlane(y_min=-8, y_max=8, y_axis_config={"width":7})
        axes.set_opacity(0.25)

        x_values = np.linspace(-6, 6, 20)
        y_values = [np.random.random()*8*(-1)**i for i in range(20)]
        lg = axes.get_line_graph(
            x_values,
            y_values,
            line_color=GOLD_D,
            vertex_dot_style=dict(fill_opacity=0, stroke_width=4),
            stroke_width=2
        )

        self.add(axes)
        self.wait()
        self.play(Create(lg["vertex_dots"], lag_ratio=1, run_time=2))
        self.wait(0.5)
        self.play(Create(lg["line_graph"], run_time=4, rate_func=linear))
        self.wait(0.5)

result

https://user-images.githubusercontent.com/73361366/115595485-9a565080-a2f4-11eb-8085-d50fddd05c52.mp4
Testing Status

pytest - local pass (Windows 10)
pytest --doctest-modules manim - doc tests fail (on master as well), the first fail happens here:

================================================== FAILURES ==================================================
________________________ [doctest] manim.mobject.svg.opengl_tex_mobject.OpenGLMathTex ________________________
366         class Formula(Scene):
367             def construct(self):
368                 t = MathTex(r"\int_a^b f'(x) dx = f(b)- f(a)")
369                 self.add(t)
370
371     Tests
372     -----
373     Check that creating a :class:`~.MathTex` works::
374
375         >>> MathTex('a^2 + b^2 = c^2')
UNEXPECTED EXCEPTION: NameError("name 'MathTex' is not defined")

Further Comments

In future, I'd like to see a LineGraph (a VDict preferably) with more options such as dashed lines, legends,  and so on, but for now this is good enough for CoordinateSystems imo.
Checklist

[x] I have read the Contributing Guidelines
[x] I have written a descriptive PR title (see top of PR template for examples)
[x] I have written a changelog entry for the PR or deem it unnecessary
[ ] My new functions/classes either have a docstring or are private
[ ] My new functions/classes have tests added and (optional) examples in the docs
[ ] My new documentation builds, looks correctly formatted, and adds no additional build warnings

Reviewer Checklist

[x] The PR title is descriptive enough
[x] The PR is labeled correctly
[x] The changelog entry is completed if necessary
[x] Newly added functions/classes either have a docstring or are private
[ ] Newly added functions/classes have tests added and (optional) examples in the docs
[x] Newly added documentation builds, looks correctly formatted, and adds no additional build warnings

Hope the typings are correct and the docstrings make sense. I've also moved this method into Axes because CoordinateSystem sounds more general and it doesn't really make sense to have this method for say a PolarCoordinateSystem

Thanks for fixing the issues!


Broken in 1.15.1?

I can't get the theme to show in the selector since upgrading to 1.15.1.
I've installed a fresh copy of the theme with no luck.

I got the theme working by renaming nightly.css to nightly.css.old and then renaming feedly.css to nightly.css...
Then I saw I was running 1.15.1. Upgraded to 1.15.3 and all my problems went away. feedly.css is working properly again.


clean up client

Current dependencies on/for this PR:

main

PR #41   👈

This stack of pull requests is managed by Graphite.


policies problem

I have got the error message "There was a problem applying your organization policies to your device.(0x82AA0001)". Which step might be wrong?

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

ID: 2d01bd8e-2800-21f2-0042-35d2de7f402b
Version Independent ID: c63d6d9b-5f71-03ed-c0c7-e2d778aed3d1
Content: On-premises authentication device enrollment
Content Source: windows/client-management/mdm/on-premise-authentication-device-enrollment.md
Product: w10
Technology: windows
GitHub Login: @ManikaDhiman
Microsoft Alias: dansimp

@officedocsbot assign @e0i

@fubolong
The issues section of this repository is intended for documentation and content related issues.
Please open a support ticket via the link below so that that your question gets answered quickly.
Windows 10 Support
Thank you.

A simple web search should give you an idea.

https://www.bing.com/search?q=0x82AA0001

https://social.msdn.microsoft.com/Forums/azure/en-US/580afdbf-6b05-4f0d-a21c-b85be995e851/windows-phone-81-enrollment-rstr-contents?forum=developingmdmsolutions
error 0x82AA0001 indicates an XML parsing error, check to make sure you are sending well formed XML using UTF-8 encoding. (Tip: Use a binary editor to view the payload to make sure there are no hidden or unprintable characters.)

Eric Fleck, Windows Store and Windows Phone Developer Support. If you would like to provide feedback or suggestions for future improvements to the Windows Phone SDK please go to http://wpdev.uservoice.com/ where you can post your suggestions and/or cast your votes for existing suggestions.

Hello, @fubolong
It seems that your question has already been answered by the community and thus we are marking this issue as resolved.
Feel free to re-open the issue if you feel it hasn't been resolved.
Thank you for providing feedback.


Add the option to define the "scroll container" - not only document body

Firstly, great script, thank you! Hopefully you can find a few mins to review this. Any additional info you need, please let me know.
I believe this has been addressed in other issues, but from what I can see, none offered an actual use case, so I wanted to open a fresh issue with my example.
It would be nice to include an option that would allow us to define a "scroll container". The current setup only works on the document "body".
Here is a standard (working) example with body scrolling:
https://jsfiddle.net/29c1j6eq
Now here is the same example, except the scroll should not happen on the body, but on a container:
https://jsfiddle.net/bzprs0ua
Look forward to hearing from you!

Also, this be be of some use: https://gist.github.com/twxia/bb20843c495a49644be6ea3804c0d775

Duplicate: https://github.com/cferdinandi/smooth-scroll/issues?utf8=✓&q=is%3Aissue+is%3Aclosed+container

As mentioned .... "I believe this has been addressed in other issues".
Anyway... so there is really no chance of anything like this ever being implemented?

No, sorry. As mentioned in the other issues, doing this within parent containers requires a different approach that adds a lot more complexity and code to the script.
You might instead use the scroll-behavior: smooth CSS property: https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior


[AKS] Get versions + get upgrades + add "preview" suffix after preview k8s version

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

For new extensions:

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

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/zqingqing1/azure-cli-extensions.git@get-version#subdirectory=src/$EXT&egg=$EXT"

@zqingqing1 please get the CI passing.


controller: API versioning

Require requests to specify the API version they expect (header and URL param, header taking precedence)
Report current API version in response header (there should probably be an endpoint such as GET /version for this as well)
Return an error if the requested API version is not compatible

We need a schema for each API version to determine compatibility (which would allow only returning an error if the requested endpoint is not compatible).

Flynn is unmaintained and our infrastructure will shut down on June 1, 2021. See the README for details.


fix($resource): remove (broken) support for promise as timeout

7170f9d which added support for using a promise as timeout in $resource, introduced a bug (where you had to re-create the resource class after every cancelled request and failing to do so would abort all subsequent calls). See https://github.com/angular/angular.js/pull/12657#issuecomment-152108887 for more context.
This has been fixed in v1.5.x with #13210, but we need to also fix it on v1.4.x (#13210 is not suitable for backporting to v1.4.x since it adds a new feature and changes the behaviour of $resource to some extent).
As discussed in https://github.com/angular/angular.js/pull/13210#issuecomment-159621088, for v1.4.x we need to:

[x] Revert 7170f9d.
[x] Update the docs to explain that promise as timeout is not supported.
[x] Log a warning when someone does it.

Closed by #13462.


add the possibility to use a proxy to download the archive

Hi,
thank you for the contribution but would be nice if you could also add a test that we do not break this function during upcoming refactorings.
This module is pdk compatible so you can run the test suite simply by pdk test unit.

I've integrated PDK test and so fixed them.


feat: sns deploy network flag

Description
Currently dfx sns deploy works only on localhost.  This PR enables the standard --network flag and passes it through.
How Has This Been Tested?

The dfx sns deploy test is currently disabled in CI to to version alignment issues between the IC and SDk repos, however I have added a comment to exercise the --network flag when that test is re-enabled.
I have tested dfx sns deploy --network local using this code in the snsdemo5.  At least 3 other people have gone through snsdemo5 successfully.
I could not test the same against testnets at the time due to boundary node issues.  Once all the relevant parts are working and merged, probably in one week, the snsdemo can be exercised against testnets.

Checklist:

[x] The title of this PR complies with Conventional Commits.
[x] I have edited the CHANGELOG accordingly.
[x] I have made corresponding changes to the documentation.

Closing as new work on this is planned to be in another repository.


[versioning] Version enums sometimes become "disconnected" from namespace after projection

While investigating the blocking issue around https://github.com/Azure/cadl-azure/pull/1754, I discovered that enums that are used with the versioned decorator on Cadl namespaces sometimes lose their connection to the namespace they are assigned to.
In other words, the checkIsVersion function in the versioning library no longer identifies a specific enum member as a version for a particular namespace.  I think versioning projections have something to do with this but I couldn't track down why it was happening.
This seems to happen only under a very specific set of circumstances.  I put together the following minimal repro which requires the branch of that PR.  I've included a couple of tweaks below the repro which will cause the issue to no longer reproduce in case that helps with investigation.
import "@cadl-lang/versioning";
import "@azure-tools/cadl-azure-core";
import "@azure-tools/cadl-azure-resource-manager";

@armNamespace
@Cadl.Versioning.versioned(Contoso.Service.Versions)
@Cadl.Versioning.versionedDependency([
  [Contoso.Service.Versions.v2021_06_13_preview, Azure.Core.Versions.v1_0_Preview_1],
  [Contoso.Service.Versions.v2022_04_30_preview, Azure.Core.Versions.v1_0_Preview_1]
])
namespace Contoso.Service {
  using Azure.Core;
  using Azure.ResourceManager;

  enum Versions {
    v2021_06_13_preview: "2021-06-13-preview",
    v2022_04_30_preview: "2022-04-30-preview",
  }
}

This repro returns the following errors:
/home/daviwil/Projects/Code/adl/packages/cadl-azure-resource-manager/lib/arm.cadl:8:22 - error @cadl-lang/versioning/version-not-found: The provided version 'v1_0_Preview_1' from 'Versions' is not declared as a version enum. Use '@versioned(Versions)' on the containing namespace.
> 8 | @versionedDependency(Azure.Core.Versions.v1_0_Preview_1)
    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/daviwil/Projects/Code/adl/packages/cadl-azure-resource-manager/lib/arm.cadl:8:22 - error @cadl-lang/versioning/version-not-found: The provided version 'v1_0_Preview_1' from 'Versions' is not declared as a version enum. Use '@versioned(Versions)' on the containing namespace.
> 8 | @versionedDependency(Azure.Core.Versions.v1_0_Preview_1)
    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Found 2 errors.

Repro Tweaks
You can make this repro succeed by making one of the following tweaks:

Remove the armNamespace decorator from the Contoso.Service namespace
Rename Contoso.Service namespace to Service

Somehow this issue requires both of these factors to be in place for the issue to reproduce.

Smaller repro without the extra libs https://cadlplayground.z22.web.core.windows.net/?c=aW1wb3J0ICJAY2FkbC1sYW5nL3ZlcnNpb25pbmciOwoKQHNlcnZpY2VUaXRsZSgiZm9vIikKQENhZGwuVskpLsc0ZWQoQ29udG9zby5TxjfIJXPcNURlcGVuZGVuY3koCiAgWwogICAgW9hJLnYxLCBBenVyZS5Db3LLGGMxXSzfO3Yy2TsKICBdCikKbmFtZXNwYWNlIM9FIHsKICBlbnVtIMg2xRIgIHYxOiAiMjAyMS0wNi0xMy1wcmV2aWV3IuYAjHYyxh4yLTA0LTMwzR59Cn0K%2FAFLyGnsAJbqAL75AJFj5ACRdjFfMF9Qxm1fMd9v8AGF9gEj8gCHUmVzb3VyY2VNYW5hZ2VyIHsKCn0K


Please invite me to the GitHub Community Organization

Name
Kashyap Shah
Discord Username (if applicable)
KS
Additional Context
I meet Eddie on Github. I like to do open-source program awareness and contributing to it so trying to connect with different organizations for the same. Doing open-source since 2019.

I am not able to see my name in the people section.


Add missing desired range to counterfactual chart

Description
Seems like desired_range is missing from the counterfactual range.
Areas changed

npm packages changed:

[ ] responsibleai/causality
[ ] responsibleai/core-ui
[x] responsibleai/counterfactuals
[ ] responsibleai/dataset-explorer
[ ] responsibleai/fairness
[ ] responsibleai/interpret
[ ] responsibleai/localization
[ ] responsibleai/mlchartlib
[ ] responsibleai/model-assessment

Python packages changed:

[ ] erroranalysis
[ ] raiutils
[ ] raiwidgets
[ ] rai_core_flask
[ ] responsibleai

Tests

[ ] No new tests required.
[x] New tests for the added feature are part of this PR.
[ ] I validated the changes manually.

Screenshots (if appropriate):
Before:-

After:-

Documentation:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Codecov Report

Merging #1366 (0495f4c) into main (859204a) will increase coverage by 3.64%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1366      +/-   ##
==========================================
+ Coverage   86.30%   89.94%   +3.64%
==========================================
  Files         100       80      -20
  Lines        4702     3461    -1241
==========================================
- Hits         4058     3113     -945
+ Misses        644      348     -296

Flag
Coverage Δ

unittests
89.94% <ø> (+3.64%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

raiwidgets/raiwidgets/error_analysis_constants.py

raiwidgets/raiwidgets/error_handling.py

raiwidgets/raiwidgets/cohort.py

raiwidgets/raiwidgets/explanation_constants.py

raiwidgets/raiwidgets/model_analysis_dashboard.py

raiwidgets/raiwidgets/__init__.py

...idgets/raiwidgets/responsibleai_dashboard_input.py

raiwidgets/raiwidgets/dashboard.py

...iwidgets/raiwidgets/model_performance_dashboard.py

...iwidgets/raiwidgets/explanation_dashboard_input.py

... and 10 more

Continue to review full report at Codecov.

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


Style elements

eLife supports italics, bold, superscript, subscript, smallcaps, and monospace text. Following internal discussions, we have decided to stop supporting colour text due to accessibility concerns.
User Stories
Author

As an author, I want to be able to apply style formatting to my text so that I can add emphasis.
As an author, I want to be able to remove style formatting to my text so that I can correct errors.

PKP, Érudit

As production staff, I want to be able to define additional formatting options so that I can use non-standard styling  on publication.

But what if . . . ?

Considerations

We may want to consider how the display of the different formatting options in Texture matches how they will show up on publication. This might not be a major issue, but it's probably worth keeping in mind.
Formatting options should be configurable per publisher to account for differences in allowed styles.

XML requirements
eLife currently allows the following formatting elements:

bold
italic
underline
sup
sub
sc
monospace
strike
named-content (for gene sequences)

Érudit allows the following (in addition to the above):

overline
strike
roman

styled-content
The element styled-content should be used in order to add configurable styles.
Taken from: https://github.com/elifesciences/TextureRequirements/issues/29

Missing required style options are

named-content (for gene sequences)
Roman


not working

hi.
it's not working.
can you send an example?

hi. it's not working. can you send an example?

Hello, do you work in localhost or environments like cpanel?
If you work in cpanel or directadmin, you must open the port you chose for xui in the firewall.
Also, if you have filled in the path, you must also write it.
Sample :
$xui = new \alirezax5\XuiApi\Panel\Vaxilu('<IP_ADDRESS>:2020/path ', 'YOU_PANEL_USERNAME', 'YOU_PANEL_PASSWORD');

tnx dude. can you help me for get connected ip address to proxy for niduka and asadi panel?
or worked way for ip limit?

Read the following address:
https://github.com/HexaSoftwareTech/x-ui#enable-ip-restrictions-per-inbound
The panel below also supports device limitations
https://github.com/FranzKafkaYu/x-ui/
Note: This method does not work in the forwarding method with iptabel and cloudflare proxy

tnx dude. can you help me for get connected ip address to proxy for niduka and asadi panel?
or worked way for ip limit?

Read the following address: https://github.com/HexaSoftwareTech/x-ui#enable-ip-restrictions-per-inbound
The panel below also supports device limitations https://github.com/FranzKafkaYu/x-ui/
Note: This method does not work in the forwarding with iptabel and cloudflare proxy

tnx but i need ip limitation by client

Then use niduka or asadi (HexaSoftwareTech) panel and add the json code to xray config:
"log": {
   "loglevel": "warning",
   "access": "./access.log"
 },

and Restart xray

tnx dude. can you help me for get connected ip address to proxy for niduka and asadi panel?
or worked way for ip limit?

Read the following address: https://github.com/HexaSoftwareTech/x-ui#enable-ip-restrictions-per-inbound
The panel below also supports device limitations https://github.com/FranzKafkaYu/x-ui/
Note: This method does not work in the forwarding with iptabel and cloudflare proxy

tnx but i need ip limitation by client

Then use niduka or asadi (HexaSoftwareTech) panel and add the json code to xray config:
"log": {
   "loglevel": "warning",
   "access": "./access.log"
 },

and Restart xray

this is my config but still iplimit not working
`{
"log": {
"loglevel": "warning",
"access": "./access.log"
},
"api": {
"services": [
"HandlerService",
"LoggerService",
"StatsService"
],
"tag": "api"
},
"inbounds": [
{
"listen": "<IP_ADDRESS>",
"port": 62789,
"protocol": "dokodemo-door",
"settings": {
"address": "<IP_ADDRESS>"
},
"tag": "api"
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {}
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}
],
"policy": {
"levels": {
"0": {
"statsUserUplink": true,
"statsUserDownlink": true
}
},
"system": {
"statsInboundDownlink": true,
"statsInboundUplink": true
}
},
"routing": {
"rules": [
{
"inboundTag": [
"api"
],
"outboundTag": "api",
"type": "field"
},
{
"ip": [
"geoip:private"
],
"outboundTag": "blocked",
"type": "field"
},
{
"outboundTag": "blocked",
"protocol": [
"bittorrent"
],
"type": "field"
}
]
},
"stats": {}
}
`

When I tried it before, it worked correctly, don't you enter each client's email repeatedly?

No emails and ClientIDs are unique

No emails and ClientIDs are unique

You must choose a unique email for each client


example in C#

do you have example for the same functionality in C#?

That would be absolutely fabulous.

There is a similar one just presented at MS Build https://github.com/Azure-Samples/azure-search-openai-demo-csharp/


Better map fit for routes with labels

Description
A proposition to improve how the map view is changed to fit routes, by taking overlay labels into accounts, so they are not (or at least less) cut by the screen borders.
It seemed like an easy problem at first, solvable by always enforcing big paddings, but this had drawbacks:

paddings on all sides reduced a lot the amount of map space usable, which is critical on mobile devices.
we could use the direction of the labels to add paddings only on some sides, but nothing ensured the labels exceeded the route bbox in the first place. Moreover, our padding code is already horrible with a lot of intertwined functions, and this would have made it even more complex.

As an alternative, I proposed to enlarge the real routes bbox by shifting the label anchor points (real lng/lat) by some amount in the direction they are displayed.
That way, we only expand the bbox in the useful directions, and "inner" labels have less chance to uselessly expand the bbox. The amount by which the points are shifted is expressed in lng/lat degrees as an arbitrary ratio of the route bbox, so it's not dependant on the route length.
I made a small drawing to try to explain it better :smile:

The black rectangle is the route bbox. A,B,C are the anchor points of the labels, which are shifted in there respective directions, contributing to enlarge the original bbox to the green one. The B point will have no effect as it is internal enough.
Screenshots

Before
After

Great improvement and implementation !
I'm just asking if we could compute this shifts directly in displayRoutes ?

Great improvement and implementation !
I'm just asking if we could compute this shifts directly in displayRoutes ?


Alacritty scrolling doesn't work

Which operating system does the issue occur on?
Arch Linux
If on linux, are you using X11 or Wayland?
X11
--
When trying to scroll with alacritty using shift+pageup/pagedown I get 2~2~2~2~ instead, I am not sure if the problem is these keybindings, I am using the default configuration.
alacritty 0.2.7-2 from community Arch Linux repository.

Duplicate of https://github.com/jwilm/alacritty/issues/1989.

@chrisduerr it does not look like this is a dup
I am on 0.2.9 OSX and my config already contains this:
key_bindings:
  - { key: PageUp,     mods: Shift,   action: ScrollPageUp   }
  - { key: PageDown,   mods: Shift,   action: ScrollPageDown }
  - { key: End,        mods: Shift,   action: ScrollToBottom }
  - { key: Home,       mods: Shift,   action: ScrollToTop    }

but I still can't scroll up and I get 2~ when I press Shift+PageUp


[Question]: chat-engi had no respond

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
memory = ChatMemoryBuffer.from_defaults(token_limit=10000)
chat_engine = base_index.as_chat_engine(
service_context=service_context,
memory=memory,
chat_mode="best",
verbose=True,
system_prompt=new_response,
）
chat_engine.reset()
response = chat_engine.stream_chat("描述南京地铁在小行—安德门上行区间的故障")
for token in response.response_gen:
print(token, end="")
here is the output：
Keyword arguments {'add_special_tokens': False} not recognized.
Thought: I need to use a tool to help me answer the question.
Action: query_engine_tool
Action Input: {"input": "描述南京地铁在小行—安德门上行区间的故障"}

no respond

I noticed that the default query_engine is created in chat, but there are no parameters to pass in the query_engine I have instantiated, is there any way to pass in my own query_engine?
here is my query_engine:
query_engine_base = base_index.as_query_engine(response_mode="tree_summarize",node_postprocessors=[reranker],similarity_top_k=10)

You can create the chat engine from scratch using an agent
https://docs.llamaindex.ai/en/stable/module_guides/deploying/agents/modules.html


Unable to save variable using built-in option in variable-explorer

From<EMAIL_ADDRESS>on 2011-11-09T04:35:53Z
What steps will reproduce the problem?
1.Try to save the variable using "save data as..." from the variable explorer window What is the expected output? What do you see instead? A dialogue windows open, asking to choose where to save the data. In the console from which i ran spyder the following error shows:
"KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work"
After choosing where to save the data no file is created. A second attempt to save the data result with the following error message:
"kfilemodule(6840): couldn't create slave: "Unable to create io-slave:
klauncher said: Unknown protocol ''.: What version of the product are you using? On what operating system? I am using the 2.1 branch on kubuntu 11.10 with KDE 4.7 at home, and Fedora 15 with KDE 4.7 at work. Both systems are up to date and show the same problem.
Please provide any additional information below
.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=831

From ccordoba12 on 2011-11-21T05:12:13Z
Summary: Unable to save variable using built-in option in variable-explorer
Labels: Cat-VariableExplorer


ClientType causes Null Reference Exception

Describe the bug
Using the ClientType for making client-specific modification causes a null reference exception
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
To Reproduce
Steps and to reproduce the behavior:
case ClientType of
ClientType::Phone:
IsPhoneClient := true;
else
IsPhoneClient := false;
end;
Expected behavior
Using ClientType is not causing a NullReference Exception
5. Versions:

AL Language: 3.0.150570
Business Central: 14.0.42627.0

You need to use CurrentClientType. ClientType is just the option type, not an instance witha  value.
Sure, it should say this instead of crashing the compiler, but it's still invalid code either way.

You need to check case CurrentClientType. The symbol ClientType is just the option type, containing available values, not an instance with a current value that can be checked.
Sure, it should say this instead of crashing the compiler, but it's still invalid code either way.

Then can you give advice how to use the client Type option?

I just said how.
case CurrentClientType of
  ClientType::Phone:
    IsPhoneClient := true;

  else
    IsPhoneClient := false;
end;

simplified:
IsPhoneClient := CurrentClientType = ClientType::Phone;

As Phone client is just showing the first nonsense fields of a list I want to make fields invisible the customer has no use of in his use case (like the status

I just said how.
case CurrentClientType of
  ClientType::Phone:
    IsPhoneClient := true;

  else
    IsPhoneClient := false;
end;

simplified:
IsPhoneClient := CurrentClientType = ClientType::Phone;

Ooooooh! Just tooo simple! :-)
Thanks very much!

The Phoneclient is just ignoring it. It's not interested in "Visible = false", it's always showing the first five columns of the page, no matter if they are visible or not. But that's something different.

Ugh, that sounds unfortunate. I'm glad to help with the easy bit but know nothing about that ;-)


Implement type-safe, tagged unions for graphql Unions.

There's one last really important decision, and that's whether to make the union handlers themselves monadic. They are not at the moment.
My intuition says yes, people will sometimes need to run e.g IO actions before deciding which branch of a union to return, but I'm also slightly unhappy about the proliferation of pure or return.
If this all becomes a bit much we always have the option of introducing a PureField that cannot run any actions, and just takes a value?

After writing a bit more test code: Yea, we need the extra monadic layer. For usability I folded the pure return into the unionValue function instead of requiring an extra pure before each unionValue call. I'd be open to expose a unionValue' that's not monadic


can i work with Pyresttest in windows platform?

Yes, works fine for me with some caveats, see https://github.com/svanoort/pyresttest/issues/235


v.optional output type is broken

I believe this bug was introduced in v1.0.0-beta.3. When wrapping a transform schema in v.optional with a default value, the inferred output type is now a union including the type of the default value. However, at runtime the default value is still parsed through the transform schema.
Tricky to explain, so here is a playground example.
The schema will always return a number, but now TypeScript says it will return number | "10"

Thank you for reaching out!  I am very sorry. I will fix this and add tests to make sure this cannot happen again.
optional allows you to define a default input to be used when the input is undefined. The behaviour you describe with the output as the "default" is similar to our fallback method.

Fixed 😎

What information do you miss in the docs? I am happy to improve it. Here is our guide and API reference:

https://valibot.dev/guides/optionals/#default-values
https://valibot.dev/api/optional/

Thank you. I will have another look at the docs at the end of the year to see if we can improve the explanation.


login with personal access token fails

BUG REPORT INFORMATION
Description
For me trying to hub-tool login with a Personal Access Token (PAT) fails. Login works for the same Docker account with username/password. The same PAT works with docker login.
Steps to reproduce the issue:
$ hub-tool --version
Docker Hub Tool v0.4.4, build c9cb0ac
$ hub-tool login --verbose
Username: mydockerusername
Password: ****************************** (a PAT with highest permissions)
Error: error storing credentials - err: exit status 1, out: `error storing credentials - err: exit status 1, out: `The stub received bad data.``

Describe the results you received:
login with PAT did not work
Describe the results you expected:
login with PAT works
Output of hub-tool --version:
v0.4.4, build c9cb0ac
Additional environment details (AWS, VirtualBox, physical, etc.):
tried on Windows x64

Some problems but with a regular password. Tested on WSL1
Username: myusername
Password:
Error: error storing credentials - err: exit status 1, out: `error storing credentials - err: exit status 1, out: `The stub received bad data.``
hub-tool --version
Docker Hub Tool v0.4.6, build 74bc560


Better error handling during uninstallation.

If one uninstalls more than one application and have an error, she will receive pretty random behaviour - scoop will either stops (skipping other applications) or continue to uninstall the current. This is so because continue doesn't works with pipes and some continue were supposed to exit current iteration of nested loop. When one calls continue from For-Each, PowerShell simply exits For-Each (the same effect as if it was break:
PS C:\Users\Chebotarev_V\scoop\apps\scoop\current> @(1,2,3,4) | % { echo $_; continue }
1
PS C:\Users\Chebotarev_V\scoop\apps\scoop\current> foreach($_ in @(1,2,3,4)) { echo $_; continue; }
1
2
3
4

Done.


Remove pyXX prefix for lint, docs, and coverage

Also, incorporate coverage into tests that are already executed.

Codecov Report

Merging #1092 (9863676) into master (728c69b) will not change coverage.
Report is 1 commits behind head on master.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff            @@
##            master     #1092   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           36        36
  Lines         2452      2452
=========================================
  Hits          2452      2452

I suggest moving the docs job to py39 to make the CI faster


OneCMS 7.2.22

fix spacing issue in twitter saga post
fix broken links and update blonger to blog
serve images from CDN
OneCMS 7.2.22

Updating 5afc9785..a16409bc
Fast-forward
 frontend/javascript/index.js                                   | 2 +-
 src/_components/head.liquid                                    | 4 ++--
 src/_components/navbar.liquid                                  | 2 +-
 src/_data/site_metadata.yml                                    | 4 ++--
 .../2022-12-27-rss-is-great-now-stop-truncating-your-feeds.md  | 2 +-
 ...2023-01-13-the-twitter-saga-episode-uh-i-have-lost-count.md | 2 +-
 ...2023-03-28-statement-regarding-twitter-blue-subscription.md | 2 +-
 7 files changed, 9 insertions(+), 9 deletions(-)


Link to schema docs incorrect for PR object

https://github.com/telia-oss/github-pr-resource/blob/627340b1eeb5e3f3f3f56e8bd9cdfd0cb993d3d2/models.go#L77
I think it should be https://developer.github.com/v4/object/pullrequest/ ?

Right you are! Thanks for the issue, I'll try to get this sorted ASAP👍


utils/ruby.sh: simplify and fix Ruby-related logic

General:

Rename unusable_ruby to need_vendored_ruby (due to code changes).

setup-ruby-path function:

Move -z "$HOMEBREW_RUBY_PATH" and -n "$HOMEBREW_FORCE_VENDOR_RUBY" checks to need_vendored_ruby.

need_vendored_ruby function:

Check HOMEBREW_FORCE_VENDOR_RUBY first so that it's respected even on Macs that are "new enough" (HOMEBREW_MACOS_SYSTEM_RUBY_NEW_ENOUGH is set).
Don't check -n $HOMEBREW_RUBY_PATH because it is implicitly tested by test_ruby (and because this case is specific to Linux).
Remove (now-) redundant -z $HOMEBREW_FORCE_VENDOR_RUBY check as it is tested earlier in the conditional.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[ ] Have you successfully run brew tests with your changes locally?
[ ] Have you successfully run brew man locally and committed any changes?

Review period will end on 2020-12-10 at 00:31:22 UTC.

Review period ended.


Allow filtered aggregations

Hi @Fokko, now we have a single commit.
JFYI, Github provides an option to Squash and Merge a Pull Request automatically.

Thanks


SB: Metrics

Consider and create metrics for usage etc. for Kyma Service Bindings.
AC

[ ] alerts
[x] view

Metrics:

Time of Bind request processing: dedicated histogram
Time of Unbind request processing: dedicated histogram
Errors -> number of 5xx responses: use istio metrics
Maximum time to wait for expiration deletion. If the value is big then we see that something is wrong with the Job. x3 time of job schedule -> alert
Number of created binding in given time (for example per day)

Metrics proposal:
All metrics labeled by plan

Number of All Bindings
Number of not expired Bindings
Average number of not expired bindings per SI with bindings
Average expiration time

Plutono view:

Currently, every plan has its own row with values like: Total Provision, success rate etc. Let's add: Total Bind, Total Unbind, Bind/Unbind duration,  - question, should we add new rows?
At the top left we have Total number of instances, total number of GA. Let's add: Total number of Bindings (separate field for expired?)

istio error rate: https://github.tools.sap/kyma/management-plane-charts/pull/2351
https://github.tools.sap/kyma/management-plane-charts/pull/2287


Making a FileDialog node visible in the editor causes errors

Godot version:
e3be5bb
Issue description:
When toggling a FileDialog's visibility on and running the game, it will output this error twice:
0:00:00:0450 - Condition ' !is_inside_tree() ' is true.
----------
Type:Error
Description:
Time: 0:00:00:0450
C Error: Condition ' !is_inside_tree() ' is true.
C Source: scene/gui/control.cpp:2069
C Function: grab_focus

And it doesn't matter if the node's visibility is toggled off again, or even it the project is reopened, this errors will show up until the node is removed from the tree.

I can't reproduce this with the given steps.

@Noshyaar Are you sure you're doing everything correctly?

I did exactly as shown and still couldn't reproduce it.

It doesn't appear to happen anymore. Closing it.


Fixed typo in applyForceToCenter

The method updates the parameter value instead of the field.

No answer on this? 10 months ago.

I'm really sorry for this embarrassing delay on our part. I'm going to be maintaining this repo from now on. This goes in immediately.


Config file changes not working.

Changed the min and max spawn in the config to be 5 and 70, but the text file to be used as csv file keeps generating with the default 10 and 80 values
spawnbalanceutility-common - .toml.txt
BiomeMobWeight.txt

I'm having a similar issue with changes made to "BiomeMobWeight.txt"; all the changes I make seem to reset.
After spending hours working on my server's config (because I use like 400+ mods) I boot up the game and play with my friends. The spawn changes seem to work at first but after a while (maybe after a reset) spawns seem to go back to their default and ruin the modpack's balance. This makes have to go back into my server's config and edit the values for nearly 50k entries
A fix or some insight would be much appreciated whenever you have time dev(s)
As always thank you for your contributions to the community.


Allow to set protocol for Syslog Output in fluentd

Allow to define TCP or UDP for the syslog protocol within the Fluent image. Syslog is capable of running on TCP or UDP, so seems prudent to allow changing the protocol type.

Thx!


Feat: patch helm release definition custom status

Description of your changes

When installing helm failed，the application can only get rough information from the custom status of the helm component, like this:
  services:
  - healthy: false
    message: |-
      Fetch repository successfully, Create helm release fail, message: install retries exhausted
    name: msp-msp

expect:
  services:
  - healthy: false
    message: |-
      Fetch repository successfully, Create helm release fail, message: install retries exhausted, Helm install failed: timed out waiting for the condition

      Last Helm logs:

      creating 5 resource(s)
      beginning wait for 5 resources with timeout of 5m0s
      Deployment is not ready: default/msp-portal. 0 out of 3 expected pods are ready
    name: msp-msp
    workloadDefinition:
      apiVersion: ""
      kind: ""

How has this code been tested?

Checklist

I have:

[ ] Title of the PR starts with OAM type (e.g. [Workload] or [Trait] or [Scope]).
[ ] Updated/Added any relevant [documentation] and [examples].
[ ] Unit/E2E Tests added.

cc @wonderflow


rpmostree support

It should be possible to use an rpmostree stage in place of the dnf/rpm stages we currently use in all our pipelines.
This is a place-holder issue so people can keep track of this for when/if we start working on it.

One requirement for disk partitions we discussed: the /boot volume needs to have a filesystem label of boot, and the / volume needs to have a filesystem label of root for Ignition.
So partition labels need to be able to be applied.

@puiterwijk thanks! This ability already exists (https://github.com/osbuild/osbuild/blob/master/assemblers/org.osbuild.qemu), but good to have it documented that we actually need to apply these things.

Support for OStree landed (#282) and the labels part is tracked via ignition support in #286. I think this is done.


[SPARK-45226][PYTHON][DOCS] Refine docstring of rand/randn

What changes were proposed in this pull request?
The pr aims to refine docstring of rand/randn.
Why are the changes needed?

We need to add a call without seed in the example, and then skip it in the doctest.
To improve PySpark documentation.

Does this PR introduce any user-facing change?
No.
How was this patch tested?

Manually test.
Pass GA.

Was this patch authored or co-authored using generative AI tooling?
No.

Before:

After:

cc @zhengruifeng @HyukjinKwon

thanks, merged to master


_format parameter does not respect "application/xml+fhir"

The _format parameter seems to understand "xml", "text/xml" and "application/xml", but not "application/xml+fhir", as per http://www.hl7.org/fhir/2016May/http.html#mime-type.

Relevant spec wording:

However in order to support various implementation limitations, servers SHOULD support the optional _format parameter to specify alternative response formats by their MIME-types. This parameter allows a client to override the accept header value when it is unable to set it correctly due to internal limitations (e.g. XSLT usage). For the _format parameter, the values xml, text/xml, application/xml, and application/xml+fhir SHALL be interpreted to mean the normative XML format defined by FHIR and json, application/json and application/json+fhir SHALL be interpreted to mean the informative JSON format. In addition, the values html and text/html are allowed.

I'm betting we don't support text/html either

Ok, after some digging, it turns out we do in fact support _format=application/xml+fhir except that... the plus needs to be escaped as %2B since xml+fhir is interpreted as xml fhir by the server.

Fixed by https://github.com/jamesagnew/hapi-fhir/commit/3eb805fb0a696268015140108a7eb1d9519e3b96


Corrected build badge url and sourcing of shell grammars

Trivial fixes, link to build badge and shell grammars tested locally.
Signed-off-by: Ian Henry<EMAIL_ADDRESS>

Thanks for the pull request! Here is what will happen next:

Your PR will be reviewed by the maintainers
If everything looks good, one of them will approve it, and your PR will be merged.

Thank you for contributing!

As this build runs against osx we're likely going to wait a significant amount of time for travis to run. As such I'm going to merge. Perhaps we will have a different answer for how long travis OSX builds are taking in the future.


Can you conditionally render a YAML based on flag in schema?

Hello! First time YTT-er here.
I was trying to work with a situation where I would like to try the following
"If a flag is set to false, then ignore the YAML file tied to it via a conditional"
Context
I'm writing several files to template out Backstage/Techdocs files that scaffold a Developer Portal. These files are a bit unwieldy and by templating them the idea is to abstract that logic from our end-users
This is the Schema
#! value-schema.yaml
#! Used by YTT to set values to use for the scaffold
#@data/values-schema
---

owner:
  name: MY-NAME
  namespace: MY-NAMESPACE

techdocs:
  #! The default directory root for your documents
  #! If you change it from ".", the name MUST match
  #! what you set for catalog.mkdocs.docdir
  docdir: "."

domain:
  name: MY-DOMAIN
  title: MY-DOMAIN-TITLE

system:
  name: MY-SYSTEM
  title: MY-SYSTEM-TITLE

component:
  name: MY-COMPONENT
  title: MY-COMPONENT-TITLE

  #@schema/validation one_of=["documentation", "library", "service", "website"]
  type: documentation

  #@schema/validation one_of=["deprecated", "experimental", "production"]
  lifecycle: experimental

  hasApis: false <===== HERE
  providesApis:
    - MY-API

api:
  name: MY-API
  title: MY-API-TITLE

  #@schema/validation one_of=["openapi"]
  type: openapi

  #@schema/validation one_of=["deprecated", "experimental", "production"]
  lifecycle: experimental

  filePath: /api/my-api.yaml

hasApis is the flag I would like to use to say that if its set to false, we want to not template out a specific skeleton, shown here:
#@ load("@ytt:data", "data")
#@ load("/lib/format.star", "fmtName", "fmtOwner")
#@ load("/lib/labels.lib.yaml", "apiref", "docref")

#! #nonk8s
#@ if/end data.values.component.hasApis:   <===== HERE
apiVersion: backstage.io/v1alpha1
kind: API
metadata:
  name: #@ fmtName(data.values.api.name, "api")
  #@ if/end hasattr(data.values.owner, "namespace"):
  namespace: #@ data.values.owner.namespace
  title: #@ data.values.api.title
  description: This document is auto-scaffolded, feel free to change this description
  annotations: #@ docref(data.values.techdocs.docdir)
spec:
  type: #@ data.values.api.type
  owner: #@ fmtOwner(data.values.owner.name)
  system: #@ data.values.system.name
  lifecycle: #@ data.values.api.lifecycle
  definition: #@ apiref(data.values.api.filePath)

Questions

Is this even feasible? And if so...
Is schema or overlays the recommended way to do this? I am (still) reading the documents but its not very clear so far what is the course of action recommended by YTT (if there is one)

Thanks!

Update: so I figured out a workaround, but not sure if this is the intended way to handle this use-case
#@ load("@ytt:data", "data")
#@ load("/lib/format.star", "fmtName", "fmtOwner")
#@ load("/lib/labels.lib.yaml", "apiref", "docref")

#! #nonk8s
#@ if data.values.component.hasApis:
apiVersion: backstage.io/v1alpha1
kind: API
metadata:
  name: #@ fmtName(data.values.api.name, "api")
  #@ if/end hasattr(data.values.owner, "namespace"):
  namespace: #@ data.values.owner.namespace
  title: #@ data.values.api.title
  description: This document is auto-scaffolded, feel free to change this description
  annotations: #@ docref(data.values.techdocs.docdir)
spec:
  type: #@ data.values.api.type
  owner: #@ fmtOwner(data.values.owner.name)
  system: #@ data.values.system.name
  lifecycle: #@ data.values.api.lifecycle
  definition: #@ apiref(data.values.api.filePath)
#@ else:
#@ end

Where if the flag is false the resulting YAML is empty and thus, no file is produced

Hi Mercanuis, thank you for reaching out. The earlier solution did not work because the annotation was applied to only first map item. The second solution/workaround looks good and is working.
Just as a better approach, we can suggest to add a document literal --- and use if/end instead of using if, else and end.
#! #nonk8s
#@ if/end data.values.component.hasApis:
---
apiVersion: backstage.io/v1alpha1

That way the entire document would be annotated and the condition becomes well defined.
Also, is it possible to check if providesApis:  is empty? In that case, no need to even check ` if/end hasApis: true/false'.
Please feel free to reach out for any questions.

@vmunishwar thanks for this, I can give it a shot and see if that will be cleaner, but your suggestion looks good to me. I'll give it a shot and report back.


SCSB Records with 008 errors

From the incremental updates, some records had 008s that didn't have the expected fixed length, causing errors in Traject while indexing.

SCSB-3958246 (CUL-NYPL_20170908_210000.xml)
SCSB-3642541 (CUL-NYPL_20170909_210000.xml)

There is unfortunately little that can be done programmatically to address this. However, I will add 008 length to the list of errors I will report to the partners.


MS Edge fails to open an url with NetBIOS hostname

Maybe it is just issue with our network only, but Edge just shows "Hmm, we can't reach this page" when starting from command line(through microsoft-edge:// protocol) if the page url has NetBIOS name as the hostname. I've tried to discuss the issue with M$ a year ago: https://social.technet.microsoft.com/Forums/en-US/06ae1597-6c28-4fd2-95ac-f52df6c72d34/microsoft-edge-doesnt-open-pages-via-microsoftedge-protocol-and-netbios-name-as-a-hostname?forum=WinPreview2014General, but they have said: "It works for us", and that's all. BTW I'm still encountering the issue on my Windows 10 RTM machine, and I know a guy inside our company that has experienced the issue on the Windows 10 with 1511 update (service-pack). Also note that we are using NetBIOS name for the hostname by default, so you must explicitly specify the hostname, if you want to work with MS Edge and testcafe.

if you want to work with MS Edge and testcafe.

Bad, can we ping them once again about this issue?

I will try it again. The second bad news is that you cannot access a machine via NetBIOS name through Saucelabs tunnel.


General modal improvements

list of issues/featues for modals

Modals

[ ] https://github.com/kodadot/nft-gallery/issues/9067
[x] https://github.com/kodadot/nft-gallery/issues/8819
[x] https://github.com/kodadot/nft-gallery/issues/9242
[x] https://github.com/kodadot/nft-gallery/issues/9137
[x] https://github.com/kodadot/nft-gallery/issues/9147
[x] https://github.com/kodadot/nft-gallery/issues/9150
[x] https://github.com/kodadot/nft-gallery/issues/9151
[x] https://github.com/kodadot/nft-gallery/issues/9165
[x] https://github.com/kodadot/nft-gallery/issues/9371
[x] https://github.com/kodadot/nft-gallery/issues/9374

best before this:

https://github.com/kodadot/nft-gallery/issues/8979

👋


Gujarati Translation Progress

For New Translators
To translate a page:

Check that no one else has claimed your page in the checklist and comments below.
Comment below with the name of the page you would like to translate. Please take only one page at a time.
Clone this repo, translate your page, and submit a pull request!

Before contributing, read the glossary and style guide (once they exist) to understand how to translate various technical and React-specific terms.
Please be prompt with your translations! If you find that you can't commit anymore, let the maintainers know so they can assign the page to someone else.
For Maintainers
When someone volunteers, edit this issue with the username of the volunteer, and with the PR. Ex:
- [ ] Some Page (@exampleusername) #12345

When PRs are merged, make sure to mark that page as completed like this:
- [x] Some Page (@exampleusername) #12345

This ensures your translation's progress is tracked correctly at https://translations.react.dev/.
Main Content
To do before releasing as an "official" translation. Please translate these pages first.
Note that each section has an index page, which needs to be translated too.
Learn React

[ ] Quick Start

[ ] Tutorial: Tic Tac Toe
[ ] Thinking in React

[ ] Installation

[ ] Start a New React Project
[ ] Add React to an Existing Project
[ ] Editor Setup
[ ] React Developer Tools

[ ] Describing the UI

[ ] Your First Component
[ ] Importing and Exporting Components
[ ] Writing Markup with JSX
[ ] JavaScript in JSX with Curly Braces
[ ] Passing Props to a Component
[ ] Conditional Rendering
[ ] Rendering Lists
[ ] Keeping Components Pure

[ ] Adding Interactivity

[ ] Responding to Events
[ ] State: A Component's Memory
[ ] Render and Commit
[ ] State as a Snapshot
[ ] Queueing a Series of State Updates
[ ] Updating Objects in State
[ ] Updating Arrays in State

[ ] Managing State

[ ] Reacting to Input with State
[ ] Choosing the State Structure
[ ] Sharing State Between Components
[ ] Preserving and Resetting State
[ ] Extracting State Logic into a Reducer
[ ] Passing Data Deeply with Context
[ ] Scaling Up with Reducer and Context

[ ] Escape Hatches

[ ] Referencing Values with Refs
[ ] Manipulating the DOM with Refs
[ ] Synchronizing with Effects
[ ] You Might Not Need an Effect
[ ] Lifecycle of Reactive Effects
[ ] Separating Events from Effects
[ ] Removing Effect Dependencies
[ ] Reusing Logic with Custom Hooks

API Reference

[ ] react: Hooks

[ ] useCallback
[ ] useContext
[ ] useDebugValue
[ ] useDeferredValue
[ ] useEffect
[ ] useId
[ ] useImperativeHandle
[ ] useInsertionEffect
[ ] useLayoutEffect
[ ] useMemo
[ ] useReducer
[ ] useRef
[ ] useState
[ ] useSyncExternalStore
[ ] useTransition

[ ] react: Components

[ ] <Fragment> (<>)
[ ] <Profiler>
[ ] <StrictMode>
[ ] <Suspense>

[ ] react: APIs

[ ] createContext
[ ] forwardRef
[ ] lazy
[ ] memo
[ ] startTransition

[ ] react-dom: Components

[ ] Common (e.g. <div>)
[ ] <input>
[ ] <option>
[ ] <progress>
[ ] <select>
[ ] <textarea>

[ ] react-dom: APIs

[ ] createPortal
[ ] flushSync
[ ] findDOMNode
[ ] hydrate
[ ] render
[ ] unmountComponentAtNode

[ ] react-dom/client: Client APIs

[ ] createRoot
[ ] hydrateRoot

[ ] react-dom/server: Server APIs

[ ] renderToNodeStream
[ ] renderToPipeableStream
[ ] renderToReadableStream
[ ] renderToStaticMarkup
[ ] renderToStaticNodeStream
[ ] renderToString

Navigation and UI
We suggest to leave most of the UI translation until the end. We plan to do some invasive changes to the website folder layout and components, so postponing this until your translation is almost complete would make it easier to merge the changes from our side later. It might make sense to translate the homepage above the fold early, but leave the rest for later. As individual pages get translated, you can change the page titles in the corresponding sidebar files. Finally, when you're translating the navigation, make sure to test both desktop and mobile layouts.

[ ] Homepage (currently in HomeContent.js)
[ ] Sidebars (currently in src/sidebar*.json)
[ ] Top-level navigation (currently in TopNav.tsx)

When You're Ready...
After everything above is translated, add your language to deployedLanguages in Seo.tsx of the original reactjs/react.dev repository.
Secondary Content
These API pages should ideally be translated too, but they're less urgent and can be done after the others:

[ ] Legacy React APIs

[ ] Children
[ ] cloneElement
[ ] Component
[ ] createElement
[ ] createFactory
[ ] createRef
[ ] isValidElement
[ ] PureComponent

Optional Content
These aren't the main translation targets, but if you'd like to do them, feel free to expand the list to include their subpages:

[ ] Community
[ ] Blog
[ ] Warnings

Maintainer List
This translation is maintained by:

@harshilparmar
@idarshan181

If you want to become a maintainer, ask them to add you. If the original maintainers are no longer responsive, raise an issue in the main translations repository.

Hey! I am Gujarati-speaking Indian. Willing to contribute.
Page: Thinking in React

@gaearon I would like to support Malayalam translation for React. Please guide me what I should I do.

Hi @harshilparmar , @idarshan181  and @gaearon
I am Gujarati Speaking Indian and I am very much willing to contribute.
Is there any possibility that I can do that ?

Hey! I am Gujarati-speaking Indian. Willing to contribute. Page: Thinking in React

@TheRakeshPurohit I have assigned you a page: Thinking in React.

Hi @harshilparmar , @idarshan181 and @gaearon I am Gujarati Speaking Indian and I am very much willing to contribute. Is there any possibility that I can do that ?

Please select one topic from above so I can assign you.

Hi @harshilparmar
I can do Start a New React Project Page now. Can I proceed with that ?

@bhavikg-dev You good to go. I will add Grocery in Wiki section so you can take a look before commit.

ChatGPT has left the chat😅

Hi @harshilparmar, I want to contribute on this page "React Developer Tools"
Please assign it to me
Thanks

@getumangon I have assigned you "React Developer tools". Thanks!!

Hii @harshilparmar @gaearon
I am a native Gujarati speaker and I would like to contribute to the Editor setup page. Could you please assign it to me?

I have assigned the 'Your First Component' page to myself to work on.

Hi @harshilparmar , @idarshan181 and @gaearon
I am Native Gujarati speaking Indian and very much willing to contribute.
Can I do that?

@shatishdesai202 just let me know what you want to work on. So I can assign it to you.

@harshilparmar Could you please assign it to me?

i think, by mistake you assigned hooks > useTransition instead of APIs > startTransition
can you please check and fix it.
@harshilparmar

@harshilparmar, I cannot push my changes can you please help?

@harshilparmar, I cannot push my changes can you please help?

Hey are you pushing to main branch? Have you followed readme guidelines?

@harshilparmar , i have pushed my code. please review and if all is good, please mark as a complete (startTransition )

@shatishdesai202 Hey thanks for the PR. I would like to have other PRs got merged before yours.And that might also create some merge conflicts in your PR. So that might take some time but I will try me best to finish asap. I hope you can understand. Thanks!!

Hello @harshilparmar I'm a native Gujarati Speaker.
I would like to contribute to the Tic Tac Toe Page

Sure @Jay2219 I am assigning Tic Tac Toe to you.

Hello @harshilparmar I would like to contribute to this translation project.

@pateljay1397 sure!! What you would like to contribute on?

@pateljay1397 sure!! What you would like to contribute on?

Hi @harshilparmar I can start working on the following content:  Importing and Exporting Components.
Just to clarify, do we have any channel to ask about queries instead of filling this GitHub discussion?

I would prefer to ask it here so other can learn from it for similar queries. But you can email me if you are not comfortable.

@harshilparmar Sounds good. Please assign the task for working on the following content: Importing and Exporting Components.

Hello @harshilparmar I'm a native Gujarati Speaker.
I would like to contribute to the Conditional Rendering Page.


App-State Key Guidance

Updated HttpContext.Items key guidance.
Upgraded project to VS2017 format
Fixes #3040

@ardalis,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot


Refactor allowlist handling on verifier to prevent premature DB writes

This PR refactors how allowlists are handled on the verifier, with the goal of catching a few edge cases where database writes could have happened before the verifier realized that an incoming request was incorrect.
Concrete example: user attempts to add an agent and allowlist, but provides an agent UUID that is already in use. Prior to this PR, adding the agent would fail with an error, while adding the allowlist would silently succeed. This would cause additional problems later on. This is fixed by making sure that the verifier won't attempt any database writes of any kind until all sanity checks have succeeded.
This PR also fixes a broken test that used incorrect dummy data (specifically, test_040_agent_quotes_integrity_get in test_restful.py).
Most of this PR is just moving existing code around; hopefully the end result also makes more logical sense to read than before. I've included a few comments where I thought they might be helpful.
Resolves https://github.com/keylime/keylime/issues/1073. Thanks to @maugustosilva for the report, which caused me to look further into this and write the fix.
Signed-off-by: Mark Bestavros<EMAIL_ADDRESS>

CC @maugustosilva @THS-on

This PR seems to fix the problem, and all the end-to-end internal tests are properly passing.


test: refine test_rwx_delete_share_manager_pod for share manager HA

Which issue(s) this PR fixes:

Issue https://github.com/longhorn/longhorn/issues/6205
What this PR does / why we need it:
refine test_rwx_delete_share_manager_pod for share manager HA
Special notes for your reviewer:
Additional documentation or context

It appears that after the share manager HA improvement, the workload won't restart even if the share manager pod is deleted. Need @james-munson to confirm this.

@Mergify backport v1.7.x


statsd underflow

hi,
sort of related to underflow reported in #272, I've experienced the same problem when sending to C-based statsd daemons (https://github.com/armon/statsite in this case) where it'd fail to strtod the input.  Is limiting to C's MIN_DOUBLE for statsd metrics something you'd consider as well? thanks!

Sure, that sounds like a good idea. Maybe add a flag to enable it. But I think the loss of precision is negligible (or at least, I don't see a use case where that kind of precision would be required).

:+1: thanks @gehel for the quick fix!

@filippog don't thank me too much... latest release has a few more time consuming problems to fix. This was an easy one. But I'm not ready to push a new release...


Added Strongname Keys so can be installed into GAC

I would be very grateful if NuGet could be updated with these changes so we can move this library to be drawn from NuGet from our solution.

+1


decimation not working as expected.

I am sorry if this is not the place but I can not create a new account at the support forum:

New registrations are not allowed from your IP address (maximum limit reached). Contact a staff member.

I need to ask something about the surface smoothing and increasing number of faces in the surface. My objective is to smooth the surface at the plot without open3d.
I cant get the surface smooth and decimator_method to work.  whatever values I use for thee options the results are allways the same.
at some point I got a warning for 'decimation need open3d' but after installing this requirement I get planar surfaces as shown in the figure 'with open3d',  instead of expected result. I would appreciate a clue about to where to start debugging.
whithout open3d:

with open3d:

Hi @mdforti, can I just check what version of IFermi you're using? I fixed some bugs with decimation in versions 0.2.4 and 0.2.5 released earlier this year.

pip says it installed 0.3.0. there is a big chance I am making the mistakes also. also note that to be able to install open3d I had to use python 3.8 which can also be causing issues.

For example, in the example the code is:
interpolator = FourierInterpolator(bs)
dense_bs, velocities = interpolator.interpolate_bands()

This could be changed to:
interpolator = FourierInterpolator(bs)
dense_bs, velocities = interpolator.interpolate_bands(interpolation_factor=50)

You can try increasing the interpolation factor even more than that.

Aaah ok I was getting decimation completely wrong then. I was interpreting the help, which says 'if decimation factor is a float then it si the factor to reduce the number of faces', then tested decimation factors < 1.  now I see it.
thank you very much for the clarification !

Great! Do you have smooth surfaces now?

to tell you the truth, interpolation factor beyound 10 really puts strain on my laptop which is an i7. what might I be doing wrong ?

Hmm if your band structure has a lot of bands then it may be doing a lot of unnecessary interpolation (only bands near the valence/conduction/Fermi level need to be included). In that case you can use the trim_bandstructure function which will remove excess bands: https://fermisurfaces.github.io/IFermi/ifermi.html#ifermi.interpolate.trim_bandstructure
E.g.,
from ifermi.interpolate import trim_bandstructure

bs_trim = trim_bandstructure(1.5, bs)
interpolator = FourierInterpolator(bs_trim)
dense_bs = interpolator.interpolate_bands(interpolation_factor=15)

That should make the interpolation easier.
Is interpolation_factor=10 still very blocky?

you are partly correct, I have many bands above the cbm and considerable amount below vbm so I guess I can remove them.

I'm closing this issue but feel free to re-open if you have more questions.


Add nummerplade extension

Description
A simple Raycast extension that fetches information about Danish vehicles using either a license plate or a VIN number.
Screencast

Checklist

[X] I read the extension guidelines
[X] I read the documentation about publishing
[X] I ran npm run build and tested this distribution build in Raycast
[X] I checked that files in the assets folder are used by the extension itself
[X] I checked that assets used by the README are placed outside of the metadata folder

Maybe we could make the erorrs prettier and add action to open preferences?


Add versioning to Pipeline config format

We have some default pipelines defined in the code. The API also allows passing in a custom pipeline. That means the format of the pipeline definition is part of the API. We should add a versioning concept in case this format needs changes in the future that are not backward compatible. The current format would be something like v1. If we need to make breaking changes at some point in the future, we can have a new version so the code can handle both.

Will be fixed by #86


Leveraging theme values inside global theme V5

https://stackoverflow.com/questions/57630926/material-ui-theme-overrides-leveraging-theme-palette-colors
This describes my question, except how does this work with v5? My code is as follows:
const theme = createTheme({
  palette: {
    primary: {
      main: "#5029ef",
    },
  components: {
    MuiCssBaseline: {
      styleOverrides: {
        html: {
          fontSize: "62.5%",
        },
      },
    },
    MuiAvatar: {
      styleOverrides: {
        root: {
          backgroundColor: (theme) => theme.palette.primary.main,
          fontSize: 14,
        },
      },
    },
  },
});

Why would the background color not get applied?

Thanks for the feedback.
Please provide a reproduction via CodeSandbox (https://material-ui.com/r/issue-template-next). It will help us resolve the issue faster.

The answer on StackOverflow is great.

Duplicate of #21757


CAD-517 chain-sync bm with structured logging

after PR #517 the nightly chain-sync bm is based on structured logging.
adaptations to 'analyse.sh' script was necessary.

I think that this is more complicated than it could be -- https://github.com/input-output-hk/cardano-node/pull/550 does look simpler to me.

verified in a short run:
commit;64890519b31106292404a6d982cf2bf3e17f8a9e
slotfirst;"2020-02-10 20:41:59.40","TraceCopyToImmDBEvent.CopiedBlockToImmDB",0
slotlast;"2020-02-10 20:51:54.94","TraceCopyToImmDBEvent.CopiedBlockToImmDB",672927
memorylast;"2020-02-10 20:51:25.36","Mem.resident",957513728
netinlast;"2020-02-10 20:51:25.36","Net.IpExt:InOctets",3940691231
netoutlast;"2020-02-10 20:51:25.36","Net.IpExt:OutOctets",211661657
diskinlast;"2020-02-10 20:51:25.36","IO.rbytes",591906365
diskoutlast;"2020-02-10 20:51:25.36","IO.wbytes",1724644624

bors r+

https://buildkite.com/input-output-hk/cardano-node-nightly-sync/builds/33#5233931b-2320-48af-bb92-8830bfd8316f also ended up well.


Adding spec to CSS line-clamp

Not sure what to do with this strange property.  :-)
But deleting the old note seems to be best.
Feel free to edit to a better solution.

Looks good, thanks!

Looks good, thanks!


CI: Azure: Don't run tests on merge commits, except for coverage

What does this implement/fix?
Following the merge of #13138, I noticed I forgot to skip running tests on master which the travis script does here:
https://github.com/scipy/scipy/blob/75df04600672bbf62e310f8931cc3957b9a120a2/.travis.yml#L189-L192
As a reminder, we can't skip the CI job entirely or the ccache files won't be cached for PR builds to use. See gh-12302.
Also, a slight deviation from the travis script, It is useful to do the coverage build on master so codecov.io can create accurate coverage diffs. This was discussed before (https://github.com/scipy/scipy/pull/12253#issuecomment-638974289) but nothing was done.

I see Codecov found yet another way to annoy us - commenting on lines in files that weren't touched at all:(

I think this should fix that, since it will now have the coverage data from the merge base to diff against.


Low power management : Automatic light and deep sleep implementation (IDFGH-1528)

The aim of this "pull request" is to contribute to the development of the low power management on esp. Automatic light sleep has already been implemented (pm_esp32.c) so these changes focus on the implementation of automatic deep sleep.
You can find an example illustrating the working of the automatic light and deep sleep under 'esp-idf/examples/system/low_power_management`

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

That is interesting, but coming out of deep sleep you have lost all your application and hardware context so there is no way to automatically continue

will ".light_sleep_enable = true", work with wifi?

@negativekelvin : I agree with you : coming out of deep sleep you have lost all your application and hardware context. However the goal of this patch, as I said, was to easily switch between different power consumption modes using the locks. So when deep sleep is enabled and all the locks have been released, the chip goes automatically into deep sleep until a configured wakeup_call is called.

@hchaudhary1 : Normally automatic light sleep works with WiFi. You just have to make sure that before entering any sleep mode you have properly stopped the WiFi. This is why I implemented the enter_hook and exit_hook functions. However, I'm having some trouble with the TCP/IP stack. Calling the  tcpip_adapter_init() function activates timers that force the system to quit light sleep mode even tough there are no tasks waiting to be executed. I have already posted an issue on the esp-idf forum.

@hchaudhary1 : Normally automatic light sleep works with WiFi. You just have to make sure that before entering any sleep mode you have properly stopped the WiFi. This is why I implemented the enter_hook and exit_hook functions. However, I'm having some trouble with the TCP/IP stack. Calling the tcpip_adapter_init() function activates timers that force the system to quit light sleep mode even tough there are no tasks waiting to be executed. I have already posted an issue on the esp-idf forum.

Do you have a link to the issue? I think I might be hitting that same issue -- I tear down esp32_wifi  but still does not go into light sleep mode.

@NegatuMichael Thanks for the contribution and sorry for the (extremely) delayed response.
This MR is actually very well done: comments and an example, everything we want to see in a MR!
But from a use-case perspective I'm not sure how you would use it. I think it breaks a bit with the current expected behavior for esp-pm, i.e. calculate the time until something happens in our system, briefly sleep, and then continue handling the event we were waiting for. As mentioned above, with deep sleep everything is just gone, and there is no way of continuing execution.
So I think for now we are not going to merge this one and i'll mark it as closed.
As always, if anyone else feels like there is a good use-case for this feature then feel free to keep leaving comments in this thread and we will consider re-opening it.


[WIP] ST examples and related code edit

PR types
New feature
PR changes
Others
Describe
ST examples and related code edit

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


kubelet.service: disable read-only port

The read-only port doesn't have any authorization, even when kubelet
authorization is enabled. Disable it to avoid unauthorized access to
private information.
In k8s 1.10 this will be the default:
https://github.com/kubernetes/kubernetes/pull/59666/commits/c1e34bc725010cfab2157545d4c0f8bc851db966

Noticed after reading https://medium.com/handy-tech/analysis-of-a-kubernetes-hack-backdooring-through-kubelet-823be5c3d67c

Firewall rules prevent access to these portd by default on each cluster. However, read-only port is used for reliable Kublet health checking. If you try out your PR, I think you'll find it breaks all clusters.

However, read-only port is used for reliable Kublet health checking.

Ah, I didn't see it's used by Prometheus and indeed haven't checked the addon.

I meant the Kubelet port is used by the apiserver load balancers as a rough
estimate of whether to include a controller as a backend. It's not ideal,
but various distros have used this in lieu of an appropriate apiserver
endpoint for a while.
I'm afk, but can investigate the new situation in 1.10 to see if we can
make any improvements.
And yeah it's also used for in-cluster metrics.
On Fri, Mar 23, 2018, 8:25 AM Michael Schubert<EMAIL_ADDRESS>wrote:

However, read-only port is used for reliable Kublet health checking.
Ah, I didn't see it's used by Prometheus and indeed haven't checked the
addon.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/poseidon/typhoon/pull/166#issuecomment-375701995, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACJidN82AJytpc8vhkbgrhWPdPhf1pPhks5thRPdgaJpZM4S4Zq3
.


change list size and fix perf issue

Bump device list default size to 100
Before every single onChange on device id search box is calling setQuery on DeviceList component causing perf issue if device list size is increased. Now the logic has been changed to only setQuery when search icon is hit or user hit 'enter' key during device id search, so device list can be increased with no side effect.
A slight change is that, when user click 'Add query parameter' id search inbox would be disabled instead of cleared up, so the logic is easier, and user can also perserve the typing history when they removed all the queries.

I wonder what the motivation is to switching page size to a new non-configurable value? Would it be better as a configurable option?

I wonder what the motivation is to switching page size to a new non-configurable value? Would it be better as a configurable option?

This is sort of step 1 towards our future goal to make the size configurable. But the main content of this pr is to fix the perf issue of the query to enable us to make the size configurable in the future.

I'm seeing an issue where if I click "Add query parameter", it disables the "Query by device ID..." field and only re-enables if I remove (possibly many) clauses.

I'm seeing an issue where if I click "Add query parameter", it disables the "Query by device ID..." field and only re-enables if I remove (possibly many) clauses.
This seems more cumbersome to use in this manner.

That is intended as in the description, so the user can still switch back to id search while it is perserving the history, instead of removing users' input (in a more predictive manner).


win32AppId in product.json has too many parenthesis

https://github.com/Microsoft/vscode/blob/master/product.json#L12
win32AppId": "{{E34003BB-9E10-4501-8C11-BE3FAA83F23F}"

I assume we need to delete one but it's been like that for 7 months.

Nope, the bracket is escaped.


Please consider using the new API

Hi,
Version 0.9 of Galene will include an HTTP-based management API.  It is described here:
https://galene.org/README.API.html
It's almost complete, the one missing bit is token management, which I'm hoping to implement soon.  However, I'm still open to making incompatible changes (as long as 0.9 is not released).
Please review the API, and please consider using it in the plugin.

Galene 0.9 includes the full API.  All management can now be done over HTTP.
Docs: https://galene.org/README.API.html
Client library: https://github.com/jech/galene/blob/master/static/management.js


Implement expr / prog generator given the grammar

Given the grammar, write a random string generator that is a valid string in the language. Can be used for testing the correctness of the parser. [^1]
Grammar (BNF) -> String -> Parser (Accept)

Potential name: synx
[^1]: Neat idea from @rexim on a twitch stream

https://github.com/alexandru-dinu/synx


While using on Default Controller in MVC application working fine. But on other controllers it is crashing

When i use other controllers except Home AdminLTE is not working. Files copied to root of application.

This is just a template, which framework are you using?

Hi,
I am using Dot Net Framework 4.5  MVC 4 Application.
On Wed, Jan 20, 2016 at 12:05 PM, Andrea Bergamasco <
<EMAIL_ADDRESS>wrote:

This is just a template, which framework are you using?
—
Reply to this email directly or view it on GitHub
https://github.com/almasaeed2010/AdminLTE/issues/883#issuecomment-173109153
.

AdminLTE is an HTML template. It is not framework-ready. You need to convert it for use with your framework or find a 3rd-party package for that.

Hello @rajivakshaya0024,
We are sorry we can't help you here in this issue. You might want to use Stack Overflow or a similar platform to ask.
Thanks!


Review temporary marshalling

Review temporary marshalling to have marshalling status as one of the function parameters. This status type should be of ::nil::marshalling::status_type type and be equal to ::nil::marshalling::status_type::success in case of correct data processing, -//-::not_enough_data in case of to short buffer and -//-::invalid_msg_data in case of corrupted data, which cannot be processed correctly.

We also need to add temporary marshalling of the proving key for the NilFoundation-FreeTON Groth16 usecases contest.


How can I use other comment systems?

I live in mainland China and Disqus is currently blocked here. So how can I change the comment system used in the theme, for example, to Gitment?

I have no experience with gitment so you will have to implement it yourself. You can have a loot at
https://github.com/klugjo/hexo-theme-anodyne/blob/master/layout/_partial/comments.ejs
Modify that file to fit the gitment requirements

Thanks!


Complete transaction fixtures, update all transaction serialization dependencies and fixe related tests

Fixes #499

This PR should be merged after #502


Static content handling in native image does not use welcome file

Environment Details

Helidon Version: 2 RC1
Helidon MP
JDK version: native image 11
OS: Mac and Linux

Problem Description
Routing on root uses both Jersey and Static content
There is a file index.html in the root of static content directory on classpath.
When run from hotspot, the http://localhost:8080 returns the index.html
When run in native-image, the URL returns "no handler found for /"
It seems the classloader.getResource() for a directory returns null in native, while it returns a valid URL in hotspot.
We should be able to fix this by moving code from lines 106-108 to line 127 in io.helidon.webserver.ClassPathContentHandler, to make sure that the welcome file is not present (as the url for directory is not really useful).

Seems like duplicate of #1954


Fail update-helm.sh on first error.

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
Fail update-helm.sh on first error.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

/cc @mimowo

/cc @mimowo

/approve


add CHANGES and CONTRIBUTORS for 4.0

Hear, hear!

Can we do the PCRE improvements towards RE2/HyperScan as an imporant change?

Actually early blocking is also an important change.
As is the renaming of the anomaly scoring variables and the overhauling of the reporting rules in 9801xx.

Yes! Can you move it up! And feel free to edit.

I see I made a typo in that line anyway.


Why is the integral not just over autocorr[i]?

Why do we integrate over autocorr[i] * autocorr[i+1]?
            τ += dt * (autocorr[i] + autocorr[i + 1]) / 2   # TODO: Why is the integral not just over autocorr[i]?

https://github.com/markusritschel/my-code-base/blob/4e779beca5640f4f3bbf720b8170e4258a214858/src/my_code_base/stats/timeseries.py#L268

This is using the trapezoid rule to compute the integral


Fix JSON pages not building on Windows

Same as https://github.com/zeit/next.js/pull/601
But removed some unrelated changes.

✓


Switch inputs with tab

Tab can be used to switch between some of the input fields now. Still not working for all fields.

(fixed the merge conflict, feel free to merge)


GH-1961: Polishing

rename field to something more meaningful
just compare the contexts in the event listener

cherry-pick to 2.7.x

... and cherry-picked to 2.7.x


Implemented an option of attaching a source tracking header to HTTP requests

Motivation
Fixes https://github.com/alanta/Kontent.Statiq/issues/12
Implemented via a new DeliverySourceTrackingHeaderAttribute which exposes two constructors:

Default constructor ensuring the source information will be extracted from the calling assembly.
Constructor allowing to customize the source tracking header.

Follows the conventions defined in https://github.com/Kentico/Home/wiki/Guidelines-for-Kontent-related-tools#analytics
Checklist

[x] Code follows coding conventions held in this repo
[x] Automated tests have been added
[x] Tests are passing
[x] Docs have been updated (if applicable)
[x] Temporary settings (e.g. variables used during development and testing) have been reverted to defaults

How to test
Attach this to AssemblyInfo.cs
[assembly: DeliverySourceTrackingHeader()]

Or this to your csproj:
  <ItemGroup>
    <AssemblyAttribute Include="Kentico.Kontent.Delivery.DeliverySourceTrackingHeader" />
  </ItemGroup>

Looks nice and easy to use. Will this pick up any pre-release tag included in the assembly informational version?

We are extracting the version from FileVersionInfo.ProductVersion which as far as I know maps to AssemblyInformationalVersion. It works fine for us for the other tracking header (X-KC-SDKID) and contains the pre-release labels if they're defined.

I added support for the pre-release tag to the attribute + added an extra constructor.

docs https://github.com/Kentico/kontent-delivery-sdk-net/wiki/Developing-plugins


adding support for dns wildcard

@etsauer Please review.
Changes:

Updated the DNS configuration to add wildcard (both for public and private DNS).
Make use of library files (i.e.: constants)
Added support for '-h' and '--help' command line parameters

Steps to test:

Execute 'osc-dns-config' to set new DNS configuration, e.g.:
./osc-dns-config -m="<IP_ADDRESS>|<IP_ADDRESS>" -n="<IP_ADDRESS>|<IP_ADDRESS>" -b="test.example.com"
Check that pre-defined DNS records still resolve, e.g.: node1.test.example.com, master.test.example.com, etc.
Check any non-predefined DNS record ending with test.example.com resolves to the master IP, e.g.:
dig random.test.example.com
Check that the "-h|--help" presents the usage to the user:
./osc-dns-config -h
./osc-dns-config --help

@oybed Tested, and works as expected. However, should the wildcard perhaps be a CName rather than an A record?

@etsauer The implementation was done and modelled after the beta3 training: https://github.com/openshift/training/blob/master/beta-3-setup.md#dns, which uses A-records for their wildcard entries. However, we can look into using CNAME if you see a need for that? I.e.: are you expecting that these tools will be used to set-up / configure environments that will point outside of the current domain for a router/load balancer?

@oybed I think it's good as it is. It works for our purposes, and while I could see a situation where a cname would be useful, thats far in the future.

@etsauer Please see latest commit - had to update the order of setting the /etc/resolv.conf entries to allow for the yum commands. Also, this now has the quoted hostnames.

looks good. merging


Omnia/feature/#87 create city model migration

closes #18

added City Model & Migration
added Pivot table City_Zip_Code, with field primary for city is the primary city for a zip_code
added many to many relationships in Models City and Zip Code

Unsure of how you want to handle secondary options for Zip Code + City
(quoted in #18)

ZIP Codes #17 will have primary and multiple secondary options for Cities.

Incomplete
quoted from #18
Need to pull this list of unique US City names and store them in the https://github.com/tipoff/address database and API.
unable to locate list of cities


Error building freeze_graph

I am trying to build freeze_graph with bazel like this :
bazel build tensorflow/python/tools:freeze_graph
and I am getting this error :
ERROR: /home/konmon01/tensorflow/tensorflow/BUILD:187:1: //tensorflow:all_files: invalid label ']' in element 2 of attribute 'srcs' in 'filegroup' rule: invalid target name ']': target names may not contain ']'
ERROR: /home/konmon01/tensorflow/tensorflow/python/BUILD:3736:12: Target '//tensorflow:internal' contains an error and its package is in error (this is usually caused by a missing package group in the package-level visibility declaration)
ERROR: /home/konmon01/tensorflow/tensorflow/python/BUILD:97:1: Target '//tensorflow:internal' contains an error and its package is in error and referenced by '//tensorflow/python:platform'
ERROR: /home/konmon01/tensorflow/tensorflow/python/BUILD:97:1: Target '//tensorflow:internal' contains an error and its package is in error and referenced by '//tensorflow/python:platform'
ERROR: Analysis of target '//tensorflow/python/tools:freeze_graph' failed; build aborted
INFO: Elapsed time: 0.281s
FAILED: Build did NOT complete successfully (0 packages loaded)

I installed bazel from scratch but did not give a solution. Any suggestions on that ??

bazel version

Build label: 0.5.4
Build target: bazel-out/local-fastbuild/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Fri Aug 25 10:00:00 2017<PHONE_NUMBER>)
Build timestamp:<PHONE_NUMBER>
Build timestamp as int:<PHONE_NUMBER>

As it turns out I cannot build any script with bazel (????)

Corrupted version of TF. Closing ..


Bug: Vue or React routers are broken on direct entry pathing

Version: 1.0.7
Create a react or vue spa with a router.  If you navigate to the router it will return a 404 with your new change of "prevent path traversal outside content directory"
Context our setup on our dev server is Apache reverse proxy to Spa-to-http to React Spa.
The second setup is Traefik to Spa-to-HTTP to Vue Spa.
It returns a 404 .

Yep, on 1.0.6 version it is working, just tested.

@Satont yes, I forgot to mention version 1.0.6 it works. I had to revert to that version on our production servers.

@Satont yes, I forgot to mention version 1.0.6 it works. I had to revert to that version on our production servers.

I think this might be due to fixing this issue #14 .

It is 100% because it tries to reroute and does not work.


Rename project to Sustainable-Earth

Rename project to Sustainable-Earth
Link URL
Previous URL: https://github.com/bizz84/Sustainable-List
Description

Replace all instances of Sustainable-List to Sustainable-Earth
Rename and update Sketch file and logo

          2 Warnings

:warning:
Too many changes (when adding, please keep it to one project per Pull Request)

:warning:
Found 2 link issues, a project collaborator will take care of these, thanks :)

Link issues by awesome_bot

Line
Status
Link

1
404
https://raw.githubusercontent.com/bizz84/Sustainable-Earth/master/Sustainable-Earth.png

36
301
http://www.flaticon.com/authors/flat-icons redirects tohttps://www.flaticon.com/authors/flat-icons

  Generated by :no_entry_sign: Danger


When editing a card, recipriocal links should update live

Didn't this used to work? Itmakes it harder to figure out what links are missing

This now works, it's not clear why it was ever broken


Introduce supervised connections

I've created a GenServer used to manage a Redis connection. This allows the connection to be supervised and restarted in case of a crash. It also lets you register multiple connections in the supervision tree.

Exredis uses eredis to handle everything except API, and eredis already has gen_server that can be suprevised: eredis_client.erl.

Ahh cool, I wasn't aware of that. I've looked at the said code and it looks like you still need to register and track the processes manually in the application bootstrap (unless I'm missing something). Do you see any value in adding some "sugar" on top of eredis_client to make it slightly easier to register and retrieve connections?

No, sorry, it's rare case when you need to retrieve processes by atom and you can put it in your project or create a new hex package and use it as addon.
Anyway, thanks for your PR! 👍


Fix to show metrics for incomplete partitions

There was a PR open for some time with outstanding comments. Have addressed the comments from the original PR for the issue #637
We have been using a forked version of burrow for some time on our projects as we have issues in test environments where there are topics with no activity.

@bai is there any timeline for next release? Any reasons there were no releases since Feb?

im just cloning master and building in my pipeline at this point...

👋🏼 I'd like to do a release once I get https://github.com/linkedin/Burrow/pull/715 merged. If you can take a look and review it I'd appreciate it very much.
Apologies for not maintaining this repo regularly, I've moved on to other endeavors a while ago and need explicit highlights to get notifications from GitHub and take action.


fix jar naming when building with gradle

Hello,
When building the project with gradle, the generated jar is:
build/libs/initial.jar

instead of
build/libs/gs-serving-web-content-0.1.0.jar

Fixing the goal name (jar -> bootJar) fixes the problem.
Should we fix the test, too? It is not easy to do for initial/ , but we could try to build complete/ and check the name of the jar file.
Kind regards,
Bernard

Thanks for catching this @bernardpaulus!
Based on this issue, I've spotted that MANY guides have this bug, so I'm running a script to fix them all.

Resolved via https://github.com/spring-guides/gs-serving-web-content/commit/1187e29f9ecbb2fe090f7033d06e56bf08644e04


Fixing html closing tag

Learners, PR Template
Self checklist

[ ] I have committed my files one by one, on purpose, and for a reason
[ ] I have titled my PR with COHORT_NAME | FIRST_NAME LAST_NAME | REPO_NAME | WEEK
[ ] I have tested my changes
[ ] My changes follow the style guide
[ ] My changes meet the requirements of this task

Changelist
Briefly explain your PR.
Questions
Ask any questions you have for your reviewer.

Hi @sabafarjamfard! You've successfully raised a pull request 😄 But there's more to do for this backlog issue. Take a look at the README.md file here.