[w-button] Fix loading slot

Currently the documentation notes the loading slot here for w-button but it doesn't work, even in the documentation.
Seems somewhere along the line we split the w-button across a couple files and the index.vue file.
This pull request adds a loading slot to the w-button/index.vue component and passes it along to the w-button/button.vue component.
There's one more potential consideration for a future pull request which is that in the w-button/button.vue component we wrap the loading slot with a div.w-button__loader which has very specific CSS in place to not resize the button and to center the spinner. However if you have some alternate text you'd like to display while it's disabled it will not resize the button correctly because of this class.

Thanks for the PR @DerrikMilligan indeed the slot has been lost in some refactoring I made lately :/
I'm glad you fixed it!
I'm open for your next suggestion here, it sounds fair, show me more details if you decide to :)


Numerical experiments

An ongoing issue to capture discussions about numerical experiments that will be run.

Need experiments to investigate:

[ ] Reaching steady state (@drvinceknight suggested a big parameter sweep followed by some form of regression) -- Q: How do we measure whether or not we have reached steady state?
[ ] General behaviour of $\theta$ on KPIs, sojourn time etc...


BTC is going places

BTC is going places

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain rtfs.hu has exceeded the max emails per hour (170/150 (113%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from github-smtp2-ext4.iad.github.net ([<IP_ADDRESS>]:35550 helo=github-smtp2a-ext-cp1-prd.iad.github.net)
by cp5.ezit.hu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.88)
(envelope-from<EMAIL_ADDRESS>id 1csDbY-001vfD-Ei
for<EMAIL_ADDRESS>Sun, 26 Mar 2017 21:13:32 +0200
Date: Sun, 26 Mar 2017 12:11:59 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1490555519;
bh=EvgSY8tauVBbxHT8mx7EN0RB6XTWaPD5/ZGphrW8a+Q=;
h=From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=od9tVggtG9msDX7gfDO1MEibFKLMWR6WcpTWu7CNwlTwK32rakD8f8z6L0xgdrzOR
GsrbvTRsxK3tUD1CuYJL3aiTSEYiwZtw9kAaNiwqyeHjqrRv+ynOS+bssmiVaNzryj
9wxHOVwYUuoWlGP5Bgiw0/6voyTJP3i9zeCogWqw=
From: Martin Holst Swende<EMAIL_ADDRESS>Reply-To: ethereum/remix<EMAIL_ADDRESS>To: ethereum/remix<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [ethereum/remix] BTC is going places (#251)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_58d8127f870e3_42283f8750a5fc3c2136fe";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: holiman
X-GitHub-Recipient: axic
X-GitHub-Reason: subscribed
List-ID: ethereum/remix <remix.ethereum.github.com>
List-Archive: https://github.com/ethereum/remix
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/AABPdHv0GA7Y0CWlfKmrKfYGrkt10GGOks5rprh_gaJpZM4Mphtd
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>----==_mimepart_58d8127f870e3_42283f8750a5fc3c2136fe
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Closed #251.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ethereum/remix/issues/251#event-1015781888
----==_mimepart_58d8127f870e3_42283f8750a5fc3c2136fe
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Closed #251.
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

----==_mimepart_58d8127f870e3_42283f8750a5fc3c2136fe--


create a rust workspace for code snippets and migrate 'build-a-custom-pallet' to it

As of now, all the code snippets present in Polkadot Docs are from .snippets/code from this GitHub repo. However, the code samples present in the repository are not part of any Cargo crate or workspace. This means that this code is not buildable/compilable and there is no way to test that the code works and ensure that it stays up to date with any changes.
The Solution is to have one massive cargo workspace for all rust code. This is the first PR towards that goal. Following are the key changes -

As part of this PR, I am following the Parachain Zero To Hero Tutorials. All the steps till the end of Build a Custom Pallet have been verified. Any rust code has been migrated such that it is part of the crate by the same name. All bash commands are out of scope for this PR.
A new Cargo.toml file at .snippets/code/Cargo.toml: The idea is to use .snippets/code as the "one massive" cargo workspace with all the tutorial projects as its members.
This PR migrates the tutorial Build a Custom Pallet.
There were files like scaffolding.rs and call_structure.rs which weren't really part of the tutorial project but existed so that they could be used in the documentation. These have been deleted. Instead, now we use mkdocs snippets to fetch the relevant part of the code from the actual and buildable crate created for this step of the tutorial.
NOTE - Grabbing snippets of code can lead to indentation issues. Thus indentations have been added where necessary in the .md files.
The linting configuration has been copied from PolkaDot-SDK to ensure consistency with the SDK package.
Testing:
Tests have been added to make sure that the code is valid.
The docs have also been rendered and checked for any issues locally using mkdocs serve
Need to add GitHub workflows to check build but it is out of scope for this PR. However, I believe it is important to have the GitHub workflow setup to ensure that all merges are valid and do not cause the code to break. I will pick this up next unless someone want s to work on it.
Part of #236

I think is is excellent. I would like for @nhussein11 and @0xLucca to review this before we proceed as we had this in our backlog, so at least they have eyes and we move forward in the same direction.


chore: Add status conditions to nodepool and nodeclaim

Fixes #N/A
Description
This PR adds status conditions to nodepool and nodeclaim.
How was this change tested?
Tested on local cluster
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

56 of 88 (63.64%)  changed or added relevant lines in 9 files are covered.
11 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.2%) to 78.552%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/controllers/controllers.go
0
1
0.0%

pkg/apis/v1/zz_generated.deepcopy.go
1
6
16.67%

pkg/controllers/nodeclaim/consistency/controller.go
18
25
72.0%

pkg/apis/v1/nodepool_status.go
0
8
0.0%

pkg/controllers/nodepool/validation/controller.go
20
31
64.52%

Files with Coverage Reduction
New Missed Lines
%

pkg/controllers/provisioning/provisioner.go
4
78.96%

pkg/controllers/provisioning/scheduling/preferences.go
7
86.67%

Totals

Change from base Build<PHONE_NUMBER>:
-0.2%

Covered Lines:
8647

Relevant Lines:
11008

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

58 of 90 (64.44%)  changed or added relevant lines in 9 files are covered.
6 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.1%) to 78.634%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/controllers/controllers.go
0
1
0.0%

pkg/apis/v1/zz_generated.deepcopy.go
1
6
16.67%

pkg/controllers/nodeclaim/consistency/controller.go
18
25
72.0%

pkg/apis/v1/nodepool_status.go
0
8
0.0%

pkg/controllers/nodepool/validation/controller.go
20
31
64.52%

Files with Coverage Reduction
New Missed Lines
%

pkg/test/nodepool.go
2
80.95%

pkg/controllers/provisioning/provisioner.go
4
78.96%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
8656

Relevant Lines:
11008

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

58 of 90 (64.44%)  changed or added relevant lines in 9 files are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.1%) to 78.638%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/controllers/controllers.go
0
1
0.0%

pkg/apis/v1/zz_generated.deepcopy.go
1
6
16.67%

pkg/controllers/nodeclaim/consistency/controller.go
18
25
72.0%

pkg/apis/v1/nodepool_status.go
0
8
0.0%

pkg/controllers/nodepool/validation/controller.go
20
31
64.52%

Files with Coverage Reduction
New Missed Lines
%

pkg/controllers/provisioning/provisioner.go
4
78.96%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
8658

Relevant Lines:
11010

💛  - Coveralls


Make moving Shapes, swapping Textures and swapping VertexBuffers noexcept

As reported at https://sonarcloud.io/project/issues?resolved=false&severities=BLOCKER&id=SFML_SFML certain move operations and swaps weren't noexcept. The C++ core guidelines recommend these types of operations should never fail because they really shouldn't in properly designed code.
This changeset fixes these issues.
Additional points:

In order to make sf::Texture::swap() noexcept, getUniqueId() also has to be noexcept, the new implementation uses an atomic counter
In order to use certain atomic features, GCC requires explicitly linking libatomic when building on certain platforms e.g. armhf
A std::swap test for sf::Texture was not added because it would cause too many tests to fail on Windows due to OpenGL issues (hopefully will be fixed at some point)

Fixed.

Thanks! Now let's see if SonarCloud is happier with these changes.


➕ [Programming languages] - Add "Bash" programming language complete resources

Idea Contribution

[X] I have read all the resource request issues.
[X] I'm interested in working on this issue
[X] I'm part of GSSOC organization

Where do you want to add the resource? Specify the category and section.
I would like to add a dedicated section for Bash resources in the programming languages documentations
Provide the URLs of the resources you are adding
No response
Any alternative approaches/features
To enhance the learning experience, include essential resources such as recommended books, YouTube channels, and websites. Additionally, providing a beginner-friendly roadmap can help new developers navigate through the resources step-by-step.
Additional Context
No response
Code of Conduct

[X] I follow the CONTRIBUTING GUIDELINE of this project.

@jfmartinz Sir, I have added PR, can you check it.

/assign


Support @DefaultValue annotations and mark parameters as required/optional in swagger spec.

All tests passing thus far (except for 1 "test") that fails sporadically when running "All Tests". I'll spend some more time figuring out why.
Include Tests
Implementation for #55

Thanks for contributing!
One comment: The defaultValues doesn't need to be a Map<String, String>. It's sufficient to just store the value not the annotation type. You agree?
The rest though is perfect!

Problem is with the annotation visitors. They all expect the param map to
be Map<String, String>.
I put in the type for now to leave it consistent in behavior with the other
visitors.
Open to discussion!
On Sun, Jun 12, 2016 at 7:30 PM Sebastian Daschner<EMAIL_ADDRESS>wrote:

Thanks for contributing!
One comment: The defaultValues doesn't need to be a Map<String, String>.
It's sufficient to just store the value not the annotation type. You agree?
The rest though is perfect!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sdaschner/jaxrs-analyzer/pull/57#issuecomment-225422729,
or mute the thread
https://github.com/notifications/unsubscribe/ABK4qBvScMgR6S5EW16_WYDIqN8zdTP7ks5qK9HNgaJpZM4IzgoC
.

@sdaschner  went with Map<String, Void> rather than Set.

Hold off on pulling in... not working on my client build for some reason frowns... not sure what I'm missing yet.

 @DefaultValue must be driven by parameter index, not by param name as it never gets it.
This has led to a horrible piece of code in SwaggerBackend to add the query parameters. The tests for it are there though, and it works while preserving the current mapKey sorting order. Will need your refactoring touches to make things look a bit cleaner I guess.
Good news is I've got it working on my build now, so please re-review

Ah, sorry, I overlooked something...
The default value information should in fact be gathered for all type of parameters. Having that said it is needed to add another class MethodParameter (containing the type and potential defaultValue or else null) in the MethodParameters. So that all the Map<String, String>'s will be Map<String, MethodParameter>'s. Do you know what I mean?
Sorry, for the confusion. At least this will make it simpler to access it in the Backends then.

Problem I faced when attempting that approach was that the annotations are visited one at a time.The DefaultValue annotation may come before or after the paired annotation, so it is difficult to know which map to put the annotation in, hence the introduction of the DefaultValues map.
If we change MethodParameters to only contain a List, or Map<Integer, MethodParameter>, then stream+filter that list into the correct maps for backend use, will this work for you? The annotation visitors will need to change away from extractParamMap, and just work based on Map<Integer, String>.
I'm guessing overlooked part is other backends like asciidoc =) I wasn't using them

@sdaschner
Lots of clean up required probably, but was this what you had in mind?
https://github.com/darylteo/jaxrs-analyzer/tree/55-default-value2
Seems to work for the most part. Most of the damage is in the test builders. Haven't decided if having the index in the MethodParameter construct is crucial, and it doesn't particularly add much, but could be worth keeping.

Yes, this is more towards it :-) I like the idea of identifying the types of parameters in one big data structure, though I would change it a litte bit.
Anyway, will merge it tomorrow and get in touch of what I was thinking of.
Thanks already for your efforts!

Okay I've pushed it to 55-default-value branch. =)

Merged. Thanks a lot for your work!
Had to change a few things. The problem since the @DefaultValue is certainly that we must remember the parameter index or the field name, respectively -- that wasn't necessary before. However, I prefer data structures which model the final state and thus without any indexes or fields as they are only needed during analysis time and not after the method parameters have been analyzed.
That's why I moved the "identification" part of the MethodParameter into the *Visitors and then the MethodParameters seemed pretty empty, therefore I deleted that class. The *Visitors still need to be refactored -- a lot of duplicated functionality regarding the annotations, that'll be moved in abstract classes, but that's enough for today...
I liked you idea of identifying types of parameters (and having them in one place), however changed that to enums (= type safer).
Have a look and let me know your thoughts.

Main struggle with being a contributor is working within the culture of the codebase without disrupting too much =) Happy for you to make the calls on these things. Definitely looks cleaner than the rush job I did 👍

At risk of backtracking us on this @sdaschner , what is the justification for making queryparams mandatory by default when @QueryParam is always optional (as null).
Right now, having tried out @DefaultValue in various places, it's now causing me problems with Collections -> given a default value of EMPTY_STRING these collections will have 1 empty element in it always. Semantically speaking, this causes problems as there is no way to differentiate between "1 empty value" and "no value".
Will try to figure out an workaround... :(

Actually, you're right...
So in fact the (Swagger) output for mandatory should always be false -- the value in the JAX-RS method is null then, obviously.

If you really want to pull the trigger on this, we'll have to review all the different param types.
And instead of using @DefaultValue, we'll have to use @NotNull to mark mandatory arguments as per here.
For the moment, my workaround is just filtering out empty values in my list, so it still works at least.

ping @sdaschner let me know if you want to go ahead with this change and I'll look on the weekend likely.

Sorry for the late response. Yep, that would be the correct way.
Actually we wouldn't necessarily need the Bean Validation support at first, so only optional: false values in Swagger at first, but then it would be correct at least. I'm fine with having different behavior compared to previous versions, at least it's correct then. We're not at version 1.x yet :-)
So first I would change the behavior of query parameters -- these should be always optional, at least from a technical perspective.


Disallow negative multipliers for magik

Just... don't ask lol.

Apparently it was fixed already rip.


How to Practice Dynamic Gateway?

How to Practice Dynamic Gateway?

I don't know what that means

There are two ways to configure gateway routing, one is to use YML configuration file, the other is to write code, but they are all started in spring cloud gateway, but it is impossible to load routing configuration and rules in memory. It is impossible to dynamically add, modify and delete the corresponding routing configuration and rules without restarting the gateway. But using actor interface is not safe. So I would like to ask if there is a demonstration to implement dynamic rules.
@spencergibb

Plus: What's the reason?
o.s.c.g.h.p.RoutePredicateFactory        : Pattern "/zk/**" matches against value "/zk"
2019-09-26 20:33:26.542 DEBUG 3991 --- [ctor-http-nio-2] o.s.c.g.h.RoutePredicateHandlerMapping   : Route matched: zk_route
2019-09-26 20:33:26.542 DEBUG 3991 --- [ctor-http-nio-2] o.s.c.g.h.RoutePredicateHandlerMapping   : Mapping [Exchange: GET http://localhost:8091/zk] to Route{id='zk_route', uri=http://vk-zeus.vipkid-qa.com.cn:80, order=0, predicate=org.springframework.cloud.gateway.support.ServerWebExchangeUtils$$Lambda$858/912877601@7cb244, gatewayFilters=[]}
2019-09-26 20:33:26.542 DEBUG 3991 --- [ctor-http-nio-2] o.s.c.g.h.RoutePredicateHandlerMapping   : [5c261ff0] Mapped to org.springframework.cloud.gateway.handler.FilteringWebHandler@70cd3000
2019-09-26 20:33:26.543 DEBUG 3991 --- [ctor-http-nio-2] o.s.c.g.handler.FilteringWebHandler      : Sorted gatewayFilterFactories: [OrderedGatewayFilter{delegate=GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.RemoveCachedBodyFilter@45d389f2}, order=-2147483648}, OrderedGatewayFilter{delegate=GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.AdaptCachedBodyGlobalFilter@7606bd03}, order=-2147482648}, OrderedGatewayFilter{delegate=GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.NettyWriteResponseFilter@322b09da}, order=-1}, OrderedGatewayFilter{delegate=GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.ForwardPathFilter@c262f2f}, order=0}, OrderedGatewayFilter{delegate=GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.GatewayMetricsFilter@11148dc2}, order=0}, OrderedGatewayFilter{delegate=GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.RouteToRequestUrlFilter@308e87a1}, order=10000}, OrderedGatewayFilter{delegate=GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.LoadBalancerClientFilter@211a9647}, order=10100}, OrderedGatewayFilter{delegate=GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.WebsocketRoutingFilter@5563bb40}, order=2147483646}, OrderedGatewayFilter{delegate=GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.NettyRoutingFilter@340c5fb6}, order=2147483647}, OrderedGatewayFilter{delegate=GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.ForwardRoutingFilter@66298fe9}, order=2147483647}]
2019-09-26 20:33:26.543 TRACE 3991 --- [ctor-http-nio-2] o.s.c.g.filter.RouteToRequestUrlFilter   : RouteToRequestUrlFilter start
2019-09-26 20:33:26.553 TRACE 3991 --- [ctor-http-nio-2] o.s.c.gateway.filter.NettyRoutingFilter  : outbound route: 42483888, inbound: [5c261ff0]
2019-09-26 20:33:26.608 TRACE 3991 --- [ctor-http-nio-2] o.s.c.g.filter.NettyWriteResponseFilter  : NettyWriteResponseFilter start inbound: 42483888, outbound: [5c261ff0]
2019-09-26 20:33:26.609 TRACE 3991 --- [ctor-http-nio-2] o.s.c.g.filter.GatewayMetricsFilter      : gateway.requests tags: [tag(httpMethod=GET),tag(httpStatusCode=404),tag(outcome=CLIENT_ERROR),tag(routeId=zk_route),tag(routeUri=http://vk-zeus.vipkid-qa.com.cn:80),tag(status=NOT_FOUND)]

You should implement RouteDefinitionLocator. When something has changed publish a RefreshRoutesEvent().

@tony-clarke-amdocs 感谢,但是现在遇到了一个问题,.....想请教一下.
o.s.c.g.filter.GatewayMetricsFilter : gateway.requests tags: [tag(httpMethod=GET),tag(httpStatusCode=404),tag(outcome=CLIENT_ERROR),tag(routeId=zk_route),tag(routeUri=http://......:80),tag(status=NOT_FOUND)]

@LOVEZeal Sorry, I have no idea what you are saying or asking. It looks like a different topic completely.

Also routes loaded via remote configuration (such as config server or consul) can be refreshed via /actuator/refresh.

@tony-clarke-amdocs Thanks very much
@spencergibb Would it be unsafe to implement it through the / actuator interface?

Closing due to age of the question. If you would like us to look at this issue, please comment and we will look at re-opening the issue.


issue #64: A comprehensive guide to deployment of the OBA docker Imag…

…e to Azure
Issue #64 My assumption is that the IaC  artifact will be provided separately. The file is still open for amendments to be inline with  the choice of tools used in issue #62 and #63

 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.was 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.

we're not ready to document the azure deployment strategy. the work in #62 and #63 needs to be done first.

Is there anyone working on #62 ?

we're not ready to document the azure deployment strategy. the work in #62 and #63 needs to be done first.

@AlexNduta I'm holding onto #62 for the moment, but thank you for checking in.

Ok @aaronbrethorst , thanks for the feedback. I really appreciate.


WebApp - Remove Parallel liquid staking

Describe the task
Remove Parallet liquid staking
Expect:

Allow show earning positions
Do not allow stake new

Version test: https://76081960.subwallet-webapp.pages.dev/home/earning

[ ] Still enable button Stake more of Parallel

@ThaoNguyen998 re-check Parallel earning option on the Staking reward site

Version test: https://7427734f.subwallet-webapp.pages.dev/home/tokens
Validation passed

Hide Parallel on earning options

Show Your earning positions

Disable action Stake more on Your earning positions, Earning position details

Hide earning options on the earning preview screen of the Check Crowdloan Result page, Staking reward

Re-check Unstake for Parallel, re-check all action for staking


adapted some includes to fit IWYU's pattern

Hello, I was having some issues because my project uses IWYU's pattern and the compiler was getting angry because of that includes, then I just used the recommended path pattern in some includes as IWYU's guides and everything works again :). If you'd like to have this improvement, this change doesn't break or change anything and IWYU's projects can compile without any problem ;)

Looks good to me, thanks for sharing the fixes :)


rework sourcemap remapping to use callback function

PR
Use callback function for remapping instead of inputSourceMap, I intentionally didn't wanna call it inputSourceMap to get rid of any confusion.
Not sure if the name is really good but it's a start.

Codecov Report

:exclamation: No coverage uploaded for pull request base (parser-inputSourceMap@6c41e6b). Click here to learn what that means.
The diff coverage is n/a.

@@                   Coverage Diff                    @@
##             parser-inputSourceMap       #1   +/-   ##
========================================================
  Coverage                         ?   91.62%
========================================================
  Files                            ?      441
  Lines                            ?    28297
  Branches                         ?     8493
========================================================
  Hits                             ?    25928
  Misses                           ?     2336
  Partials                         ?       33

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 6c41e6b...7c21c46. Read the comment docs.

Codecov Report

:exclamation: No coverage uploaded for pull request base (parser-inputSourceMap@6c41e6b). Click here to learn what that means.
The diff coverage is n/a.

@@                   Coverage Diff                    @@
##             parser-inputSourceMap       #1   +/-   ##
========================================================
  Coverage                         ?   91.62%
========================================================
  Files                            ?      441
  Lines                            ?    28297
  Branches                         ?     8493
========================================================
  Hits                             ?    25928
  Misses                           ?     2336
  Partials                         ?       33

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 6c41e6b...7c21c46. Read the comment docs.


[RFC] Implement Lean BEEFY

This PR implements Lean BEEFY as described here.
I've only done local testing, and it's missing unit-tests so this PR is draft/RFC to get early feedback on the core logic.

Still missing logic for the Beefy Worker to change the BEEFY validator set when GRANDPA one changes (and add the corresponding header digest).

Still missing logic for the Beefy Worker to change the BEEFY validator set when GRANDPA one changes (and add the corresponding header digest).

Fixed this in pallet-beefy where session needs to change even if authority keys stay the same.

So I've been trying to get a mock test framework to run beefy workers and finalize blocks and have hit some roadblocks. Any help/ideas would be appreciated pray

I moved the tests to a separate development branch here: https://github.com/acatangiu/substrate/pull/1

@andresilva @tomusdrw please re-review

@andresilva @tomusdrw can you please take another look?


Making the Size of the Rectangle Constant..

Hello,
Can anyone please help me to make the rectangle size(Operation) constant irrespective of the text size present inside that...
Thanks in advance...

This is currently not possible.

So, Can't we fix the length and width of the rectangle?

No, but feel free to create a PR.

okay, Thank you


Resolving nested $refs

Hi!
UPDATE: This more a feature idea than a problem with the current  behavior.
Given I have an OpenAPI document that uses components/pathItems like this:
# [...]
paths:
  /stations:
    $ref: '#/components/pathItems/stations'
components:
  pathItems:
    stations:
      get:
        responses:
          '200':
            description: OK
            content:
              application/json:
                schema:
                  type: object

My assumption was that using a pointer to reference the response content schema like this should work, but it does not:
document.ref('#/paths/~1stations/get/responses/200/content/application~1json/schema')
# =>  JSONSchemer::InvalidRefPointer: /paths/~1stations/get/responses/200/content/application~1json/schema

I think I misunderstood what json_schemer does here. It can handle $refs inside the target schema during validation, but it does not resolve "through" refs while looking for that target. Is that a about right?
When I change the OAD to not use $refs the pointer works.
I have added a failing test in this PR.

I think I misunderstood what json_schemer does here. It can handle $refs inside the target schema during validation, but it does not resolve "through" refs while looking for that target. Is that a about right?

Hey @ahx. I think this is expected behavior—Schema#ref acts just like $ref under the hood:
?> schema = {
?>   "$defs": {
?>     "example1": {
?>       "$ref": "#/$defs/example2"
?>     },
?>     "example2": {
?>       "allOf": [
?>         { "type": "string" }
?>       ]
?>     }
?>   },
?>   "$ref": "#/$defs/example1/allOf/0"
>> }
=> {:$defs=>{:example1=>{:$ref=>"#/$defs/example2"}, :example2=>{:allOf=>[{:type=>"string"}]}}, :$ref=>"#/$defs/example1/allOf/0"}
>> JSONSchemer.schema(schema).valid?('x')
/Users/dharsha/repos/json_schemer/lib/json_schemer/schema.rb:205:in `rescue in block in resolve_ref': /$defs/example1/allOf/0 (JSONSchemer::InvalidRefPointer)

Meaning it doesn't resolve "through" refs, because $ref uses lexical scope (I think that's the right terminology?). I believe this is correct, but let me know if you think otherwise.
Here's an example where you'd run into an issue resolving through refs (which allOf to follow):
 {
  "$defs": {
    "example1": {
      "$ref": "#/$defs/example2",
      "allOf": [
        { "type": "integer" }
      ]
    },
    "example2": {
      "allOf": [
        { "type": "string" }
      ]
    }
  },
  "$ref": "#/$defs/example1/allOf/0"
}

Yes. I agree that the current behavior is correct.
For openapi_first I would like to dig through an OpenAPI document to get a Schema out of it with the current context. But Schema#ref is not the place to have that.
Let me think for a while how to get there outside of json_schemer. Thanks for looking into this.

Let me think for a while how to get there outside of json_schemer. Thanks for looking into this.

No problem—let me know what you come up with.


No event are reported except for ERROR

I tried to instrument my code and use this library. I was not able to make it works until I started looking directly into the code of the library and stumble on that line.
It happens that the code I was running was never reporting on ERROR level. I'm wondering why only ERROR events are reported and not the other type of Level. Or maybe I missed something else?

APM normally supports only 4 types of data: transactions. spans, errors and metrics. These map to the corresponding concepts in the tracing ecosystem: span without a parent, span with a parent, error event and nothing. As you can see, APM does not support any other event type than error, hence this check.

Oh, so it's a limitation from APM, I see. Thank you for the precision, I'm still pretty new to APM.


[Rough proposal / breaking change] Add support for underground coordinates

This adds support for negative coordinates by splitting the elevation dimension in half, allowing for 2^24 meters above and under sea level. (If someone can check my math, that would be great.)
This is a breaking change because the f value will change. The primary motivation for this change is to keep f values positive integers while also being able to express coordinates that are underground.
Also specifies that h=0 is sea level. (For high precision applications, I think this will need to be specified more precisely, for example a specific reference ellipsoid or geoid)

Thanks for your proposal.
My impression is that it would be OK for f to be negative. I prefer f to be straightforward.
I would also like to avoid introducing the concept of 基準面. I prefer to say that height is height, at this juncture. 検討会 would be discussing such an issue and I would like to avoid letting zfxy to take any position regarding 基準面.

Thank you for the comments! I agree that ZFXY should be as straightforward as possible.


Improve the Validation Accuracy of the Model

You can try to improve the accuracy of the model by :

Tuning the Hyper Parameters like :
Learning Rate, Epochs, Batch Size, Number of Layers in CNN, Number of filters ,Size of filters, Value in Dropout Layers, Optimizers
Using different Datasets.

Can you please assign this issue to me ?

I am also interested in working on this issue. Is it possible to assign me too?

@Jogesh-Mishra @sejalsksagar I assigned to both of you. You can start working. Good Luck !!

@SanjayMarreddi Thank You ! I will start working now.

@SanjayMarreddi Thank you! Starting to work on it.


Install git in GitHub Actions self-hosted runners

It looks like the self-hosted runners doesn't have git installed, yielding somewhat noisy error logs?
> Configure project :
Git not available: java.io.IOException: '[which, git]' exited with a non-zero exit code: 1:
which: no git in (/home/ec2-user/actions-runner/_work/_tool/Java_Temurin-Hotspot_jdk/19.0.2-7/x64/bin:/home/ec2-user/actions-runner/_work/_tool/Java_Temurin-Hotspot_jdk/11.0.18-10/x64/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/ec2-user/.local/bin:/home/ec2-user/bin)
java.io.IOException: '[which, git]' exited with a non-zero exit code: 1

Git has been installed on self-hosted runners now. 😉

That was real quick, @ikhoon. Thanks!


Foreign Key Support

This is to address issue #46. It adds support for defining one or multiple foreign keys when creating a new table.
@alexfu, please review and contact me for any issue.

Coverage increased (+0.1%) to 96.99% when pulling fd8fdcc66e355664329ea37c6af3960c2a7196b8 on shadeven:feature/foreign-key into b2f09991eab0e52f04bc76e949b466dd41eae35b on alexfu:develop.

Coverage increased (+0.1%) to 96.99% when pulling b2c1aff20c4ba00565921d7f4dba61c7c443ff5c on shadeven:feature/foreign-key into b2f09991eab0e52f04bc76e949b466dd41eae35b on alexfu:develop.

Looks good to me. Thanks!

@alexfu Thanks for your review.
This PR is just an initial version for foreign key support. The other advanced features such as composited FK, deferred FK and on delete/update are not implemented in this version. They will be added in the future when we have the need.


Buyer Platform

Reason
This is the starting point for sell-side platform.
Description
This will be the repository for my thoughts in Mind Map form.
As we progress we will need to apply these success criteria in subsequent issues.
Success Criteria

[ ] Business reasoning agreed
[ ] Business case agreed
[ ] Business requirements agreed
[ ] Technical requirements agreed

Additional Information

Notes for the buyside platform


jsx-wrap-multiline does not enforce end-paren if begin-paren is valid

Given the following code with "jsx-wrap-multiline": true:
        () =>

                test

You get errors as expected.
Same with
        () =>
            (

                test

)

Where it gives an error at both paren.
However
        () => (

                test

),

validates fine.
I would expend the end paren to still be showing an error.

This ought to be fixed with #194


python3Packages.aioswitcher: 1.2.3 -> 1.2.5

Motivation for this change
Update to latest upstream release 1.2.5
Change log: https://github.com/TomerFi/aioswitcher/releases/tag/1.2.5
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Added a release notes entry if the change is major or breaking
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 125577 at 2a7f5370 run on aarch64-linux 1

3 packages built successfully:

home-assistant
python38Packages.aioswitcher
python39Packages.aioswitcher


.github/ISSUE_TEMPLATE/bug-report.md has an invalid yaml

https://raw.githubusercontent.com/kubernetes/website/master/.github/ISSUE_TEMPLATE/bug-report.md
has a
name: Bug Report
about: Report a bug encountered with Kubernetes Website
labels: kind/bug

document, however the labels should be a list of strings, not a string (aka labels: ["kind/bug"])
jsonPayload: {
  base:  "master"
  client:  "repoowners"
  component:  "hook"
  error:  "error unmarshaling JSON: while decoding JSON: json: cannot unmarshal string into Go struct field SimpleConfig.labels of type []string"
  level:  "error"
  msg:  "Error decoding OWNERS config from '*.md' file."
  org:  "kubernetes"
  path:  "/tmp/git817500724/.github/ISSUE_TEMPLATE/bug-report.md"
  repo:  "website"
 }

/assign @zacharysarah @mistyhacks @daminisatya

This is a good first-time issue like @zacharysarah tagged 😄

Please let me know if I can help to fix this issue

@fejta Please let me know how can I replicate this issue?

I think the line just needs to be modified to the following:
label: ["kind/bug"]

In YAML, strings are quoted (as opposed to other types of variables like integers or booleans), and lists of strings are enclosed in square brackets and separated by commas.

@mistyhacks But I could see that ISSUE_TEMPLATE/bug-report.md is using smilar format for other projects

Yeah does seem a bit mysterious... I'm filing this because I keep seeing the following errors:
 insertId:  "p9594yf26wp2t"
 jsonPayload: {
  base:  "master"
  client:  "repoowners"
  component:  "hook"
  error:  "error unmarshaling JSON: while decoding JSON: json: cannot unmarshal string into Go struct field SimpleConfig.labels of type []string"
  level:  "error"
  msg:  "Error decoding OWNERS config from '*.md' file."
  org:  "kubernetes"
  path:  "/tmp/git061330400/.github/ISSUE_TEMPLATE/bug-report.md"
  repo:  "website"
 }
 labels: {…}
 logName:  "projects/k8s-prow/logs/hook"
 receiveTimestamp:  "2019-04-08T20:35:46.411924311Z"
 resource: {…}
 severity:  "ERROR"
 timestamp:  "2019-04-08T20:35:42Z"

Hello. Which program parses this markdown file?
Should the YAML in the markdown file look like:
name: Bug Report
about: Report a bug ...
labels:
- kind/bug

@kbhawkey That's my guess as well--it's where I'd start with a PR.

Looks like this might be fixed(?)
Is more work needed?

I would assume that this issue is fixed.

/close


Contact Us Tab

[x] Talk about who/what email is getting sent contact us
[x] Add UI
[x] Program functionality

TODO in fall: cc whoever sent the contact email and also members of the team


Look into keybase.io integration

From @winhowes on February 26, 2015 0:6
Can grd me integrate into https://keybase.io for hosting public keys?
Copied from original issue: winhowes/grd.me#31

I have submitted a request for an account and mentioned that I am looking to do crypto integration

I have submitted a request for an account and mentioned that I am looking to do crypto integration

From @winhowes on March 3, 2015 18:54
+1

From @winhowes on March 27, 2015 21:35
Looks like this only works with GPG, which as of right now we're undecided on supporting. However, because this requires exclusively gpg, and we're not doing that, I think it would get confusing to use this for some keys but not others. And with the requirement to tweet your key and all that, it just doesn't feel very elegant. Plus stego ( #12 ) will basically take care of this.

From @winhowes on March 27, 2015 21:35
Looks like this only works with GPG, which as of right now we're undecided on supporting. However, because this requires exclusively gpg, and we're not doing that, I think it would get confusing to use this for some keys but not others. And with the requirement to tweet your key and all that, it just doesn't feel very elegant. Plus stego ( #12 ) will basically take care of this.

From @winhowes on April 7, 2015 4:2
yeah, you'd still have to tweet it and all.. not a fan

From @winhowes on April 7, 2015 4:2
yeah, you'd still have to tweet it and all.. not a fan


Support Schema Evolution Validation by Loading Two Versions of a Semantic Convention Registry

It must be possible to load two versions of a semantic convention registry to apply schema evolution validation rules. This type of rule will be applied after the resolution process to remain independent of the renaming or moving of YAML files.

Implemented in #257


Inefficient/incorrect approach to finding the zip64 EOCD locator

The current code first searches for the EOCDR for the zip file and then searches for a zip64 EOCD locator:
https://github.com/Majored/rs-async-zip/blob/7808bcde7a018099a780a0175812d2d483b54992/src/read/mod.rs#L40-L53
As far as I can tell, this repeated search is unnecessary because the zip64 EOCD locator is of a fixed size and immediately precedes the EOCDR:
   4.3.6 Overall .ZIP file format:

      [local file header 1]
      [encryption header 1]
      [file data 1]
      [data descriptor 1]
      .
      .
      .
      [local file header n]
      [encryption header n]
      [file data n]
      [data descriptor n]
      [archive decryption header]
      [archive extra data record]
      [central directory header 1]
      .
      .
      .
      [central directory header n]
      [zip64 end of central directory record]
      [zip64 end of central directory locator]
      [end of central directory record]

I think that a better approach may be to:

Find the EOCDR as normal (using the existing search code)
Look at the 20 bytes immediately before the EOCDR. If the signature matches the zip64 EOCD locator signature, then that's our locator. Otherwise the zip file is not a zip64

The current implementation has a few issues:

If the zip64 EOCD locator signature is in the comment at the end of the EOCDR, that can cause incorrect parsing
If the EOCDR has the largest possible comment, the zip64 EOCD locator will not be found even if it exists (because of the way the searches are implemented)
Both of the searches (EOCDR and zip64 EOCD locator) are implemented on top of locate_record_by_signature which searches up to the last ~64kb of a zip file. This can cause a repeated unnecessary search of the last 64kb which can be a problem if reads to the underlying reader are expensive.

cc @skairunner

This issue should be closed as resolved @Majored


CUDA Simulator IndexError when using @jit instead of @cuda.jit(device=True) functions inside of kernels

Reporting a bug

[x] I have tried using the latest released version of Numba (most recent is
visible in the change log (https://github.com/numba/numba/blob/master/CHANGE_LOG).
[x] I have included a self contained code sample to reproduce the problem.
i.e. it's possible to run as 'python bug.py'.

Here is a MWE:
"""Test IndexError Bug with CUDA Simulator."""
import os
import numpy as np

os.environ["NUMBA_ENABLE_CUDASIM"] = "1"

from numba import cuda, jit  # noqa

# @cuda.jit(device=True)  # works fine
@jit  # causes IndexError
def device(u):
    return u[0]

@cuda.jit("void(float32[:,:])")
def kernel(U):
    d = device(U[0])

def gen_kernel(U):
    stream = cuda.stream()
    cU = cuda.to_device(np.asarray(U, dtype=np.float32), stream=stream)
    kernel[(7, 7), (16, 16)](cU)

arr = np.random.rand(100, 50)
gen_kernel(arr)

Here is the stack trace:

Exception has occurred: IndexError       (note: full exception trace is shown but execution is paused at: kernel)
only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices
  File "C:\Users\sterg\anaconda3\envs\mat_discover_test\Lib\site-packages\numba\cuda\simulator\cudadrv\devicearray.py", line 111, in __getitem__
    ret = self._ary.__getitem__(idx)
  File "C:\Users\sterg\anaconda3\envs\mat_discover_test\Lib\site-packages\numba\cuda\simulator\cudadrv\devicearray.py", line 56, in __getattr__
    return self.__wrap_if_fake(self._item.__getitem__(attrname))
  File "C:\Users\sterg\anaconda3\envs\mat_discover_test\Lib\site-packages\numba\core\typing\typeof.py", line 57, in typeof_impl
    return getattr(val, "_numba_type_", None)
  File "C:\Users\sterg\anaconda3\envs\mat_discover_test\Lib\functools.py", line 877, in wrapper
    return dispatch(args[0].__class__)(*args, **kw)
  File "C:\Users\sterg\anaconda3\envs\mat_discover_test\Lib\site-packages\numba\core\typing\typeof.py", line 31, in typeof
    ty = typeof_impl(val, c)
  File "C:\Users\sterg\anaconda3\envs\mat_discover_test\Lib\site-packages\numba\core\dispatcher.py", line 747, in typeof_pyval
    tp = typeof(val, Purpose.argument)
  File "C:\Users\sterg\anaconda3\envs\mat_discover_test\Lib\site-packages\numba\core\dispatcher.py", line 430, in _compile_for_args
    argtypes.append(self.typeof_pyval(a))
  File "C:\Users\sterg\Documents\GitHub\sparks-baird\numba-cuda-debug-scripts\scripts\IndexError\CUDASIM_IndexError_MWE.py", line 17, in kernel (Current frame)
    d = device(U[0])
  File "C:\Users\sterg\anaconda3\envs\mat_discover_test\Lib\site-packages\numba\cuda\simulator\kernel.py", line 259, in target
    self._f(*args)
  File "C:\Users\sterg\anaconda3\envs\mat_discover_test\Lib\threading.py", line 910, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\sterg\anaconda3\envs\mat_discover_test\Lib\site-packages\numba\cuda\simulator\kernel.py", line 175, in run
    super(BlockThread, self).run()
  File "C:\Users\sterg\anaconda3\envs\mat_discover_test\Lib\threading.py", line 973, in _bootstrap_inner
    self.run()
  File "C:\Users\sterg\anaconda3\envs\mat_discover_test\Lib\threading.py", line 930, in _bootstrap
    self._bootstrap_inner()

In the offending line of code:
ret = self._ary.__getitem__(idx)

self._ary -->

array([0.17953342, 0.73834676, 0.802956  , 0.98596686, 0.0774815 ,
       0.3511663 , 0.20920427, 0.06519137, 0.31637678, 0.1460998 ,
       0.23470978, 0.77812034, 0.858728  , 0.00955263, 0.1732667 ,
       0.45566723, 0.5210016 , 0.48739114, 0.6702702 , 0.27059707,
       0.7008004 , 0.55280524, 0.89537793, 0.6885215 , 0.11849781,
       0.9781991 , 0.7028517 , 0.6557897 , 0.46919635, 0.7266405 ,
       0.538878  , 0.94278204, 0.7235465 , 0.8540385 , 0.20287855,
       0.334921  , 0.01500198, 0.12158039, 0.9749173 , 0.2157117 ,
       0.96577096, 0.37241337, 0.41551125, 0.63361496, 0.6186    ,
       0.20904963, 0.06881329, 0.44958228, 0.307583  , 0.20893794],
      dtype=float32)

type(self._ary) -->

<class 'numpy.ndarray'>

idx -->

'_numba_type_'

So, naturally something like np.array([0,1,2,3])['_numba_type_'] would give the error about indices.
type(val._item) (dispatcher.py: L747)-->
<class 'numba.cuda.simulator.cudadrv.devicearray.FakeCUDAArray'>

Call stack:

I've been interested in having a set of device functions that can be used for either CUDA/Numba or njit/Numba, and in another issue @seibert mentioned that @jit automatically recompiles to @cuda.jit(device=True). I dug around a bit into this error (boiled ~1000 lines of code down to get the MWE above), but I have very little clue on how this would be fixed directly.
For now, I'll probably just have one file with CUDA device functions and another with @jit or @njit functions, but the repeated code starts to get unwieldy, esp. trying to keep multiple files consistent with each other.
Here is a MWE plus a CUDATestCase if of interest:
"""Test IndexError Bug with CUDA Simulator."""
import os
import numpy as np

os.environ["NUMBA_ENABLE_CUDASIM"] = "1"

from numba import cuda, jit  # noqa
from numba.cuda.testing import unittest, CUDATestCase  # noqa

np.random.seed(42)
U = np.random.rand(100, 50)

@cuda.jit(device=True)  # works fine
def cuda_device(u):
    return u[0]

@jit  # causes IndexError
def jit_device(u):
    return u[0]

@cuda.jit("void(float32[:,:], int32)")
def kernel(U, flag):
    if flag == 0:
        d = jit_device(U[0])
    elif flag == 1:
        d = cuda_device(U[0])

def gen_kernel(U, flag):
    stream = cuda.stream()
    cU = cuda.to_device(np.asarray(U, dtype=np.float32), stream=stream)
    kernel[(7, 7), (16, 16)](cU, flag)

class TestCUDASimJitIndexing(CUDATestCase):
    def test_jit_indexing(self):
        gen_kernel(U, 0)

    def test_cuda_indexing(self):
        gen_kernel(U, 1)

if __name__ == "__main__":
    unittest.main()

I think this is related to https://github.com/numba/numba/pull/7107.

Sure thing! I'm glad it came across well. I didn't think about using NUMBA_DISABLE_JIT for that. Good to know! Also, I appreciate your perspective about not mixing jitted CPU and non-jitted CUDA code. I may find the path to be even thornier if I keep going down that route. I'll see if I can scrape some time in for a documentation PR. Thank you Graham!


Bug when parsing without type

https://gist.github.com/kybishop/ecf48136e0a189ebd8dbac4b93303d33
When type info is omitted, a cryptic Syntax(TrailingCharacters, 1, 2) error is returned.
Interestingly, this bug does not occur if the array in the example is empty (instead of containing an empty object).

It looks like the ? defaults the first argument to (). At least giving it a json string containing [] works like a charm and prints (): http://play.integer32.com/?gist=acb0db4233e5162db4ad8f2532ae2714&version=nightly
I could extend the serde-clippy lint to error when calling a function that takes a Deserialize and is given a (). Outside of implementing Deserialize this is never intended as far as I know

I don't think this is a serde_json bug. It is just the confusing way that type inference works. In the code below, the type parameter T also gets inferred as ().
#![feature(core_intrinsics)]

fn main() {
    let _ = decode_json();
}

fn decode_json() -> Result<(), ()> {
    let json = from_str("[{}]")?;

    println!("JSON from string: {:?}", json);

    Ok(())
}

fn from_str<T>(_: &str) -> Result<T, ()> {
    println!("{}", unsafe { ::std::intrinsics::type_name::<T>() });
    unimplemented!()
}

Once we get function type parameter defaults we may be able to do something like:
pub fn from_str<T = serde_json::Value>(s: &str) -> Result<T>

but for now I don't think there is anything we can do to make this better.
(Of course the error message could be better but that is tracked at https://github.com/serde-rs/serde/issues/528.)


Add feature Advertisements

Features

Title
Advertiser
Type
IM / Contract
BO
Ex Deal?
Pricing
Price
Starts
Ends
Frequency/day
Schedule
Materials/Files
Duration of materials
Taglines?
AOB
AOB Sched
TC
TC Sched
SS
SS Sched
Account Executive
Previous versions

done


Docs/psp22 burnable mintable

Created documentation for burnable and mintable extensions for docs website.

@YaremenkoM Let's close this PR and put any files related to documentation to https://github.com/Supercolony-net/openbrush-contracts/pull/43


Make the certificate accessible

I want you to describe the following sites in a little more detail.

https://docs.microsoft.com/en-us/azure/app-service/configure-ssl-certificate-in-code#make-the-certificate-accessible
Please state that you need to do this every time you add a certificate, as this process is for installing certificates on workers. Please consider my opinion.

@ShugoYoko, Thanks for taking time to share your valuable feedback! We are taking a look into this and will get back to you soon.
Your feedback has been shared with the content owner (@cephalin) for further review.

@ShugoYoko,  Yes, for a new certificate to be accessible in the app code, its thumbprint needs to be added in the WEBSITE_LOAD_CERTIFICATES app setting. The configuration is not just specific to one WebApp, it is scoped to the App Service Plan that houses it. In the sense, the certificate will be available by all the apps in the same App Service Plan as the app which configured that setting.  If you wish to make it accessible for apps in a different App Service plan you will need to repeat the App Setting operation in an app in that App Service plan.
However, as mentioned you can have multiple comma-separated thumbprint values or can set this value to “ * “ (without quotes) in which case all your certificates will be loaded to your web applications personal certificate store.
The tutorial aims to provide key concepts and general instructions on how to use public or private certificates in your application code with step-step instructions covering pre-requisites, and guides on how to locate thumbprint, make the certificate accessible and load the certificate from a file and different OS flavors.
We will now proceed to close this thread. If there are further questions regarding this matter, please let us know.


add REROUTE grammar to ALTER TABLE statement

this adds the REROUTE grammar to the ALTER TABLE statement

Codecov Report

:exclamation: No coverage uploaded for pull request base (shard-reroute@275d2bd). Click here to learn what that means.
The diff coverage is 52.47%.

@@               Coverage Diff                @@
##             shard-reroute    #6370   +/-   ##
================================================
  Coverage                 ?   83.19%
  Complexity               ?    12839
================================================
  Files                    ?     1487
  Lines                    ?    48622
  Branches                 ?     5926
================================================
  Hits                     ?    40449
  Misses                   ?     5424
  Partials                 ?     2749

Impacted Files
Coverage Δ
Complexity Δ

...er/src/main/java/io/crate/sql/tree/AstVisitor.java
29.62% <0%> (ø)
40 <0> (?)

.../src/main/java/io/crate/sql/parser/AstBuilder.java
93.62% <100%> (ø)
262 <5> (?)

...src/main/java/io/crate/sql/tree/RerouteOption.java
100% <100%> (ø)
1 <1> (?)

...main/java/io/crate/sql/tree/AlterTableReroute.java
36.84% <36.84%> (ø)
2 <2> (?)

...ain/java/io/crate/sql/tree/RerouteRetryFailed.java
44.44% <44.44%> (ø)
2 <2> (?)

...io/crate/sql/tree/RerouteAllocateReplicaShard.java
46.66% <46.66%> (ø)
2 <2> (?)

.../main/java/io/crate/sql/tree/RerouteMoveShard.java
50% <50%> (ø)
2 <2> (?)

...ain/java/io/crate/sql/tree/RerouteCancelShard.java
50% <50%> (ø)
2 <2> (?)

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 275d2bd...52f6aeb. Read the comment docs.


Ensad Paris

Ensad Paris

@alecvivier ensad.txt I am sorry, I have to close the request without merging, because you made a mistake in a request and did not specify any filepath. Please ensure that you are familiar with this repository rules located at the bottom of this page and make a new correct request. Thank you for your understanding!


[PTRun] Long string unreadable due to erroneous effects in edit box for Registry plugin.

Microsoft PowerToys version
0.59.1
Running as admin

[ ] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce
If long enough string is put to PT Run edit box with : symbol specifying registry search the shadow effect in edit box became misplaced and the path is hard to read.
This doesn't seem specific to Registry plugin, but could also be reproduced for file paths sometimes.

✔ Expected Behavior
Text should be clearly visible
❌ Actual Behavior
The shadow is misplaced.
Other Software
No response

I'm not able to repro this, going to close! Let us know if you see this again :)


chore: upgrade expo to the latest version

Description

to #547
as a requirement, also upgraded to react 18 across the repo
./mobile app is now a blank Expo 48 app.
@dzcode/ui-mobile tests are broken
kept old ./mobile as ./mobile-old, will remove it once we re-write the mobile app again.

Type of change

chore

this is a better approach 🚀


Fix a (very tiny) typo

Can one of the admins verify this patch?

LGTM

Test build #1942 has started for PR 9230 at commit 23ba732.

Test build #1942 has finished for PR 9230 at commit 23ba732.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

I've merged this. Thanks.


Support the  config.vendor-dir setting in composer.json

If you have a different vendor dir defined in your composer.json, this is NOT used when downloading the chosen build of phantomJS.
The phantomJS installer package is installed correctly, but the package it subsequently downloads is always downloaded to a root /vendor folder.
I have
{
  "config": {
     "vendor-dir": "app/vendor"
    }
}

But after install I have the following folder structure...
app
  - vendor
    - jakoch
      - phantonjs-installer
vendor
  -jakoch
    - phantomjs

where as it should be
app
  - vendor
    - jakoch
      - phantonjs-installer
      - phantomjs

Yes, the config.vendor-dir is not taken into account, only config.bin-dir.
The vendor dir is hardcoded  atm, see https://github.com/jakoch/phantomjs-installer/blob/master/src/PhantomInstaller/Installer.php#L25
It just needs the vendor-dir as prefix and .\vendor removed.

Give this a try:
{
    "require": {
        "jakoch/phantomjs-installer": "dev-master"
    },
    "scripts": {
        "post-install-cmd": [
            "PhantomInstaller\\Installer::installPhantomJS"
        ],
        "post-update-cmd": [
            "PhantomInstaller\\Installer::installPhantomJS"
        ]
    },
    "config": {
        "bin-dir": "bin",
        "vendor-dir": "app/vendor"
    }
}

Awesome, thanks for the quick response, ill give it a go.


bug: @waku/sdk throws multiple errors in Node.js

This is a bug report
Problem
After installing the @waku/sdk with npm i @waku/sdk in a Node.js environment, I'm unable to run my code, as the SDK throws.
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/{PATH}/node_modules/@waku/sdk/dist/protocols/base_protocol' imported from<EMAIL_ADDRESS>
This error can be fixed by adding the .js extension to the import within the SDK.
import { BaseProtocolSDK } from "./base_protocol.js";

After that, another error emerges, which also throws:
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/{PATH}/node_modules/uint8arrays/cjs/src/alloc.js' imported from<EMAIL_ADDRESS>
Notes
Add any miscellaneous note that are relevant to issue, including but not limited to:

Tried with SDK version 0.0.25, 0.0.26-682cc66.0, and 0.0.25-3ec2344.0.
Node v20.9.0

Resolved with https://github.com/waku-org/js-waku/pull/2009

@weboko I can confirm that using waku/sdk version 0.0.26-e49e728.0 resolves the initial error regarding the base_protocol import. However, the second error persists:
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/{PATH}/node_modules/uint8arrays/cjs/src/alloc.js' imported from<EMAIL_ADDRESS>
This issue can be resolved by adding uint8arrays as a dependency to the SDK. We tested this with "uint8arrays": "5.1.0" and it works on our end.


Nuxt 6.2.0 brake Nuxt

Version
@nuxtjs/tailwindcss: 6.2.0
nuxt: 2.15.8
Reproduction Link

Steps to reproduce
Update Tailwind from 6.1.3 to 6.2.0 would throw an error in the Nuxt dev server
What is Expected?
What is actually happening?
Nuxt dev server can't start

I have the same setup wit the same error.

for us that we are using yarn seems to work the proposed solution:
"resolutions": {
    "@nuxt/kit": "3.0.0-rc.13"
}


TOMEE-4088 TomEE 9.x + hsqldb 2.7.1 instead of workaround for CVE-2022-41853

removed workaround upon dependency update hsqldb 2.7.1

Thanks @sultan
Current tomee-8.x includes the updates and the removal of the workaround. So closing this draft.


Feature Request: Sections

I'd like to organise the output slightly and hide excessive detail, if possible I'd like it if the output could be put into sections, something like below. Thanks :)
Input
section("Some Section") do
  fail "Example 1"
  fail "Example 2"
end

...

section("Yet Another Section", hidden: true) do
  fail "Example 6"
end

Output

Some Section

2 Errors

🚫
Example 1

🚫
Example 2

Another Section

3 Errors

🚫
Example 3

🚫
Example 4

🚫
Example 5

Yet Another Section

1 Error

🚫
Example 6

This is a 👍 idea IMO, the implementation could get really gnarly with the sticky option I imagine ( Danger has to pre-parse the table to figure out existing issues in order to know whether they used to exist ) but its not impossible.
Might happen in the JS world sooner, as there's already ideas around similar issues and no sticky option.


Error 1 when reinstalling

The app installs, instacrashes, and when I tried to rerun it:
adb install cnfgtest.apk
adb: failed to install cnfgtest.apk: Failure [INSTALL_FAILED_ALREADY_EXISTS: Attempt to re-install org.yourorg.cnfgtest without first uninstalling.]
make: *** [Makefile:167: push] Error 1

make clean and retrying doesn't work.
Phone LG K11 alpha
Android 7.1.2

Yeah you need to uninstall ist first, make uninstall. I think this could be made more user friendly by adding this step to push and/or run. Not sure if there is any reason not to do that. In the meantime I'd recommend make uninstall && make run (or push, whatever you use).

The make run should really be possible without uninstalling first. @cnlohr  how about just removing the push call here?

For the instacrash we'd need the logs: Either use Android studios built in logger or try adb logcat | grep cnfgtest (in another terminal).


upgrade docker-compose image to 1.6.0 or newer

DockerComposeContainer requires dduportal/docker-compose:1.3.1, which doesn't support the new docker-compose YAML format. Users don't see a clear error, just nothing works. It took me some time to figure out what was the problem, specially because I'm new to compose too.
Please consider upgrading DockerComposeContainer to require dduportal/docker-compose:1.6.0 or later.

@rivasdiaz, you're right, it would be worth upgrading to the latest version. Thanks for this.
I'm slightly concerned that you weren't getting any log output to help you diagnose this; I think I can imagine where the gap might be. Please can you confirm that you're running v1.0.3, and I'll try and reproduce.

Have same issue.
Here is compose file that will fail.
version: '2'

services:
  cassandra:
    container_name: 'consumer-cassandra'
    image: 'cassandra:3.3'

The output looks like this:
16/04/15 16:58:18 INFO 🐳 [richnorth/ambassador:latest]: Creating container for image: richnorth/ambassador:latest
16/04/15 16:58:18 ERROR 🐳 [richnorth/ambassador:latest]: Could not start container
org.testcontainers.shaded.com.github.dockerjava.api.InternalServerErrorException: Could not get container for cufghy_cassandra_1

	at org.testcontainers.shaded.com.github.dockerjava.jaxrs.filter.ResponseStatusExceptionFilter.filter(ResponseStatusExceptionFilter.java:53)
	at org.testcontainers.shaded.org.glassfish.jersey.client.ClientFilteringStages$ResponseFilterStage.apply(ClientFilteringStages.java:134)
	at org.testcontainers.shaded.org.glassfish.jersey.client.ClientFilteringStages$ResponseFilterStage.apply(ClientFilteringStages.java:123)
	at org.testcontainers.shaded.org.glassfish.jersey.process.internal.Stages.process(Stages.java:171)
	at org.testcontainers.shaded.org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:251)
	at org.testcontainers.shaded.org.glassfish.jersey.client.JerseyInvocation$2.call(JerseyInvocation.java:683)
	at org.testcontainers.shaded.org.glassfish.jersey.internal.Errors.process(Errors.java:315)
	at org.testcontainers.shaded.org.glassfish.jersey.internal.Errors.process(Errors.java:297)
	at org.testcontainers.shaded.org.glassfish.jersey.internal.Errors.process(Errors.java:228)
	at org.testcontainers.shaded.org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:424)
	at org.testcontainers.shaded.org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:679)
	at org.testcontainers.shaded.org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:435)
	at org.testcontainers.shaded.org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:338)
	at org.testcontainers.shaded.com.github.dockerjava.jaxrs.CreateContainerCmdExec.execute(CreateContainerCmdExec.java:32)
	at org.testcontainers.shaded.com.github.dockerjava.jaxrs.CreateContainerCmdExec.execute(CreateContainerCmdExec.java:14)
	at org.testcontainers.shaded.com.github.dockerjava.jaxrs.AbstrSyncDockerCmdExec.exec(AbstrSyncDockerCmdExec.java:23)
	at org.testcontainers.shaded.com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:33)
	at org.testcontainers.shaded.com.github.dockerjava.core.command.CreateContainerCmdImpl.exec(CreateContainerCmdImpl.java:142)
	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:144)
	at org.testcontainers.containers.GenericContainer.lambda$start$0(GenericContainer.java:122)
	at org.testcontainers.containers.GenericContainer$$Lambda$13/2006835220.call(Unknown Source)
	at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:76)
	at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:119)
	at org.testcontainers.containers.DockerComposeContainer.lambda$start$0(DockerComposeContainer.java:80)
	at org.testcontainers.containers.DockerComposeContainer$$Lambda$29/1831705084.call(Unknown Source)
	at org.rnorth.ducttape.unreliables.Unreliables.lambda$retryUntilSuccess$2(Unreliables.java:41)
	at org.rnorth.ducttape.unreliables.Unreliables$$Lambda$9/1667534569.call(Unknown Source)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

Only after looking at created (but not deleted) compose container I saw:
Unsupported config option for services service: 'cassandra'


Empty Source Control actions after update

VSCode Version: 1.11.1 (1.11.1)
OS Version: MacOSX 10.11.6

Empty Source Control action buttons after update:

More than just buttons... Source control is missing entirely... No changes, no files, nothing...

Anything in the devtools' console? Does 'Switch SCM Provider' show Git as a choice?

Actually tracked as #24114.

After "Disable Preview SCM", it works.


Update CMSSW in the json templates

The following workflows are giving failures when ran on singularity nodes:
TaskChain_LumiMask_multiRun
ReDigi_AllFlag
ReDigi_cmsRun2
StepChain_ReDigi3
StepChain_LumiMask
ReDigi_cmsRun3
ReDigi_LumiMask
at least...
Just in case, the error is:
An exception of category 'PluginLibraryLoadError' occurred while
   [0] Constructing the EventProcessor
Exception Message:
unable to load /cvmfs/cms.cern.ch/slc6_amd64_gcc481/cms/cmssw/CMSSW_7_2_0/lib/slc6_amd64_gcc481/pluginCondToolsHcalPlugin.so because libaio.so.1: cannot open shared object file: No such file or directory

which seems to be coming from an old bug in singularity/CMSSW that hasn't been backported to 7x releases.

This is fixed.
It was due to an unlisted dependency (libaio.so) indirectly brought in via Oracle.  The dependency was reported by the T0 team, confirmed on the core framework mail list, then added to the container image we use for Singularity.
The T0 team confirmed the fix, so I'll preemptively close this one!

Thanks!


Allow installing with npm

npm is increasingly replacing Bower for front-end dependency management. The package.json allows this module to be installed with npm install mattiash/angular-tablesort.

Version 1.0.7 is now available via
npm install angular-tablesort

Thank you!


Provide feedback and align with upcoming explicit subscription related changes in commonalities

Problem description
There are currently active discussions in commonalities on solving some issues regarding explicit subscriptions. This will bring some breaking changes to the APIs which offer explicit subscriptions. The proposal has been documented here https://github.com/camaraproject/Commonalities/issues/185.
Kindly provide your feedback from the perspective of this subproject. We already have feedback from other subprojects which use explicit subscriptions (for e.g. device-status, device-location and sim-swap). It will also help this subproject to plan/prep for upcoming changes.
Possible evolution
Provide feedback to the proposal https://github.com/camaraproject/Commonalities/issues/185 as comments.
Alternative solution

Additional context

Hello ConnectivityInsight team,
New model for subscription is now defined and should be use in all our CAMARA subscription resource.
You have the guideline here and a subscription template here.
Happy to answer any question :)
Thanks for your consideration.
cc: @shilpa-padgaonkar

fixed as part of #40


ng build Error with OfficeJS

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Versions.

@angular/cli: 1.0.2
node: 7.10.0
os: win32 x64
@angular/common: 4.1.3
@angular/compiler: 4.1.3
@angular/core: 4.1.3
@angular/forms: 4.1.3
@angular/http: 4.1.3
@angular/platform-browser: 4.1.3
@angular/platform-browser-dynamic: 4.1.3
@angular/router: 4.1.3
@angular/cli: 1.0.2
@angular/compiler-cli: 4.1.3
TypeScript 2.3.2
Visual Studio Code 1.12.1
npm package versions:
npm list --depth=0

+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>`--<EMAIL_ADDRESS>
npm list --dev --depth=0

+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>`--<EMAIL_ADDRESS>
Repro steps.

npm install @microsoft/office-js-helpers --save
npm install @types/office-js --save-dev

Then, in src/main.ts, add:
import { Utilities } from '@microsoft/office-js-helpers';

The log given by the failure.

ng build

Hash: 150cb5f78f54c3bec235
Time: 7588ms
chunk    {0} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 232 kB {4} [initial] [rendered]
chunk    {1} styles.bundle.js, styles.bundle.js.map (styles) 65.2 kB {4} [initial] [rendered]
chunk    {2} main.bundle.js, main.bundle.js.map (main) 5.01 kB {3} [initial] [rendered]
chunk    {3} vendor.bundle.js, vendor.bundle.js.map (vendor) 2.43 MB [initial] [rendered]
chunk    {4} inline.bundle.js, inline.bundle.js.map (inline) 0 bytes [entry] [rendered]

ERROR in<EMAIL_ADDRESS>(303,41): Cannot find namespace 'Excel'.

ERROR in<EMAIL_ADDRESS>(303,106): Cannot find namespace 'Excel'.

Desired functionality.

I expected the build to succeed. I have installed the typings, and Visual Studio Code / TypeScript are happy, so I expected the Angular CLI to also be happy.
Mention any other details that might be useful.

Although it appears Script Lab isn't using the Angular CLI, they are using Angular 4 and their Webpack build succeeds.
I have already tried matching the versions of @types/office-js and @microsoft/office-js-helpers with those in Script Lab, and ng build still fails.
Related issue: https://github.com/OfficeDev/office-js-helpers/issues/28.

Types are opt-in for the application itself.  You can add office-js to the types array in tsconfig.app.json.

@clydin That works, thanks. :/
tsconfig.app.json

{
  "extends": "../tsconfig.json",
  "compilerOptions": {
    ...
    "types": [
      "@types/office-js"
    ]
  },
  ...
}

Not quite sure why I need to do that though, because:
tsconfig.json

{
  ...
  "compilerOptions": {
     ...
    "typeRoots": [
      "node_modules/@types"
    ],
    ...
  }
}

which I expected the Angular CLI to use to find the office-js types.
So,  there's a workaound, but I still feel like this is a bug that should be fixed.

The @types/ part of @types/office-js shouldn't be needed in the types array.
The behavior is intentional. typeRoots defines where types can be found.  types defines which of the found types will be used.  An empty array means no types will be used.  Unit and E2E tests use types (e.g., node and jasmine) which are not relevant (and may be problematic) to the application itself and therefore the application uses the opt-in approach to ensure that only required types are used.

The @types/ part of @types/office-js shouldn't be needed in the types array.

You're right, of course. Thank you.

The behavior is intentional. typeRoots defines where types can be found. types defines which of the found types will be used.

Is there documentation that explicitly states this as the case? I think it would be quite beneficial for newcomers (like me) who are learning as they go, and who make incorrect assumptions.

Hey TheSamsterZA,
I'm trying to do something very similar, basically trying to bootstrap an Angular CLI project into an Excel Addin project. I'd be interested in hearing how your achieving this and what your experiences have been.

HI @mrsquish,
It took me quite a bit of fiddling to get to the point where I could develop an OfficeJS add-in using Angular 4. Here's a quick-and-dirty list of things I did:
Prerequisites
ng new

Add OfficeJS CDN link to a <script> tag in index.html:
<script src="https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js"></script>

Install OfficeJS-related dependencies:
npm install @microsoft/office-js-helpers --save
npm install office-ui-fabric-core --save
npm install office-ui-fabric-js --save
npm install jquery --save

Install OfficeJS-related dev-dependencies:
npm install @types/office-js --save-dev
npm install @types/jquery --save-dev

Add missing type declarations:
tsconfig.app.ts

{
  ...
  "compilerOptions": {
    ...
    "types": [
      "office-js"
    ]
  },
  ...
}

Bootstrap OfficeJS:
main.ts

Office.initialize = () => {
  const platform = platformBrowserDynamic();
  platform.bootstrapModule(AppModule);
};

Hosting
I use the Angular CLI to host in my dev environment.
Create a self-signed certificate using OpenSSL and save the files in an ssl/ folder. Then:
ng serve --port 44301 --ssl --ssl-key ssl\development-certificate.key --ssl-cert ssl\development-certificate.crt

OfficeJS Manifest File
In my case, I already had a manifest file which I side-load into Office. You can create one using the Yeoman generator for Office.
Remember to update the URLs in there to point to the in-memory server loaded by ng serve.
Miscellaneous Stuff
I am using VSCode as my IDE, but you could use Visual Studio proper with a few changes:
You'll need a solution file containing the manifest project (with the above manifest file) and the web project containing the files in your Angular project.
DO NOT make the SSL port on the web project the same as the one ng serve uses. We will let VS think it's hosting the add-in via IIS Express but in reality our manifest points to the in-memory server hosted by the Angular CLI.
Install the Visual Studio extension NPM Task Runner.
Add VS bindings:
project.json

{
  ...
  "scripts": {
    "setup": "npm install",
    "start": "powershell start-process ng-serve.bat",
    "clean": "rimraf dist"
  },
  "-vs-binding": {
    "BeforeBuild": [
      "start"
    ],
    "Clean": [
      "clean"
    ],
    "ProjectOpened": [
      "setup"
    ]
  }
  ...
}

Create that batch file:
ng-serve.bat

REM Kill any previously-running ng serve
powershell -Command "& Get-WmiObject Win32_Process -Filter \"name = 'cmd.exe'\" | where {$_.CommandLine.Contains(\"ng\") -And $_.CommandLine.Contains(\" serve \")} | ForEach-Object { TASKKILL /PID $_.ProcessId /T /F }"

REM Run ng serve
start ng serve --port 44301 --ssl --ssl-key ssl\development-certificate.key --ssl-cert ssl\development-certificate.crt

Why go through all this trouble for VS? Because debugging with breakpoints is easier and there's that nice "hit F5" experience.
I haven't yet tried to debug with VSCode but my quick dabble didn't work. I can still use F12 Developer Tools in IE to debug though.
This got a little long but hopefully you find it useful. :)

Closing since @clydin's comment fixes my problem.

TheSamsterZA - Thanks heaps for that mate. It would seem that decent info on Office.js is pretty few and far between. I'm currently using VSCode with side loading, but I'll give your VS solution a bash, being a predominantly c# dev, I do like the f5 experience :)


Document VCPKG_ROOT environment variable and make a command to set it

As a newb I was hit by a failure in bootstrapping/building another project: https://github.com/DDoSolitary/yasfw/issues/49
It seems there is a standard (at least de facto standard) VCPKG_ROOT env-var, but it is neither mentioned in vcpkg's Quick Start, nor set by vcpkg tool.
Can it be documented (documentation is required to fix the exact name of the variable and to also fix relative path from the variable to the executable (for some tools it can be subfolder like %ROOT%\bin\name.exe)), and mentioned in the readme.md ?
Also, can the bootstrap .bat or vcpkg executable be made to set it? The latter -  as part of vcpkg integrate install command or as a separate command like vcpkg integrate envvar ?
At least on Windows platform - for what i remember on Windows NT one needs to update HKCU and/or HKLM registry key, then to broadcast some WM_XXX message to make Explorer re-fetch updated env-vars).
Since vcpkg integrate install seems to request UAC elevation anyway, it seems to be a good place to put HKLM env-var adjustment into. If not i'd like to see vcpkg integrate envvar and vcpkg integrate envvar /useronly commands implemented and mentioned in Quick Start documentation.

It is not in the quickstart because it isn't needed in regular use cases. But it is documented:
https://github.com/microsoft/vcpkg/blob/master/docs/users/config-environment.md#vcpkg_root

as the root of the vcpkg instance - is what i was afraid of... Without explicit documenting what is "relative path" between "instance root" and "executable of that instance" it is a guess game. It might be obvious for you that vcpkg.exe is expected to be found at %VCPKG_ROOT%\vcpkg.exe and not in some subfolder. But it is "internal" knowledge among seasoned people already in-the know (IOW among the people who do not need the documentation).
As of "in regular use cases" it is again a YMMV case. Even if a novice somehow figures he needs to integrate vcpkg into some another toolset - he is lost how exactly to do it.
A novice one way or another figures he has to plug vcpkg into a pipeline, he googles around and finds https://github.com/microsoft/vcpkg/blob/master/README.md and is hopefully by a single "fineprint" line into https://github.com/microsoft/vcpkg/blob/master/docs/users/integration.md (this link i believe has to be highlighted at least, maybe even put as a separate chapter to be visible from the top of the readme document), and then... hits a wall. Novice user does not immediately use VS IDE, nor does not immediately use CMake.
I believe there has to be a chapter like "Integrating with other development tools/pipelines" and it has to mention that environment variable as a oficcialyl preferred default way to integrate vcpkg with ANY new 3rd party dev-tools. Make it clear to new users and developers HOW you want them to be finding vcpkg unless any special cases.

General rule - use THIS env-var.
Special rules for VS IDE
Special rules for CMake tool
Special rules for XXXXX tool, etc


Q: How to avoid the flicker issue of a multi-image API ?

Hello, I have a new version of OpenSeadragon Image Flipbook demo.
I need to avoid the flicker effect occurred when button go is clicked.
new version
Reference :  #1238

Hmmm.... I'm actually not sure why your modified version is flickering. Anyway, you don't need a lot of it since you're having the user click manually, so here's a different approach:
https://codepen.io/iangilman/pen/erjyBP
This assumes there's a brief pause between clicking next and clicking it again (so it can preload the following image).


WebApp:Unable to restore webapp

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az webapp deleted restore
Errors:
The command failed with an unexpected error. Here is the traceback:
'WebAppsOperations' object has no attribute 'restore_from_deleted_app'
Traceback (most recent call last):
  File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 657, in execute
    raise ex
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 720, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 691, in _run_job
    result = cmd_copy(params)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 328, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/appservice/custom.py", line 708, in restore_deleted_webapp
    return _generic_site_operation(cmd.cli_ctx, resource_group_name, name, 'restore_from_deleted_app', slot, request)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/appservice/_appservice_utils.py", line 18, in _generic_site_operation
    operation_name if slot is None else operation_name + '_slot')
AttributeError: 'WebAppsOperations' object has no attribute 'restore_from_deleted_app'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az webapp deleted restore -g {} -n {} --deleted-id {}

Expected Behavior
Environment Summary
Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-debian-bullseye-sid
Python 3.6.10
Installer: DEB

azure-cli 2.27.1

Extensions:
azure-iot 0.10.15
resource-graph 2.1.0

Additional Context

route to service team

Looking in to the issue

I am able to repro the issue. Will work on the fix.


Fixing API typo

vocalink_subsitution_version -> vocalink_substitution_version

Codecov Report

Merging #3 (8cabe8e) into main (5632de1) will increase coverage by 0.16%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main       #3      +/-   ##
==========================================
+ Coverage   97.54%   97.70%   +0.16%
==========================================
  Files          18       18
  Lines         611      611
==========================================
+ Hits          596      597       +1
+ Misses         15       14       -1

Impacted Files
Coverage Δ

random_uk_bank_account/__init__.py
100.00% <100.00%> (ø)

random_uk_bank_account/generator/uk_account.py
100.00% <0.00%> (+1.12%)
:arrow_up:

Continue to review full report at Codecov.

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


Thumbnail icons for svg files not working.

Microsoft PowerToys version
0.53.3
Running as admin

[X] Yes

Area(s) with issue?
SVG Thumbnail
Steps to reproduce
I've tried toggling the enable svg thumbnails on and off with or without restarting in between. I've tried changing the advanced settings options for viewing icons or thumbnails
✔ Expected Behavior
expected the thumbnails to be the svg images
❌ Actual Behavior
thumbnails are just internet explorer icon
Other Software
No response

Where are your files located? In OneDrive or somewhere like this?

Hi there!
I had the folder in my Photos library, tried moving it to my desktop, but
both of these locations I have sync with OneDrive. Then, I put it directly
on my C: drive that does not sync with OneDrive and that seemed to fix it,
but I have to leave the folder there in order to see the thumbnails; if I
move the folder back to anything that syncs with OneDrive, the thumbnails
all revert to internet explorer.
On Wed, Jan 12, 2022 at 4:16 PM Franky Chen @.***>
wrote:

Where are your files located? In OneDrive or somewhere like this?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/15492#issuecomment-1011568987,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXI6W54WDKVLE4KCHOHRYB3UVYKUNANCNFSM5L2KOHUQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

Duplicate of #12949

Issue is a duplicate
Thank you for your issue! We've linked your report against another issue to centralize the thread.
Thanks for helping us to make PowerToys a better piece of software.


refactor(i18n): merge weblate/develop into origin/develop

Description
Screenshot (if UI-related)
To-Dos

[ ] Successful build yarn build
[ ] Translation keys yarn i18n:extract
[ ] Database migration (if required)

Issues Fixed or Closed

Fixes #XXXX

Is this still relevant?


[Snyk] Security upgrade github-pages from 225 to 225

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `rubygems` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

docs/Gemfile
docs/Gemfile.lock

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

479/1000  Why? Has a fix available, CVSS 5.3
Regular Expression Denial of Service (ReDoS) SNYK-RUBY-ACTIVESUPPORT-3237242
No
No Known Exploit

591/1000  Why? Recently disclosed, Has a fix available, CVSS 6.1
Cross-site Scripting (XSS) SNYK-RUBY-ACTIVESUPPORT-3360028
No
No Known Exploit

486/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 3.3
Out-of-bounds Read SNYK-RUBY-COMMONMARKER-3318398
No
Proof of Concept

429/1000  Why? Has a fix available, CVSS 4.3
Denial of Service (DoS) SNYK-RUBY-COMMONMARKER-3318399
No
No Known Exploit

646/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 6.5
Denial of Service (DoS) SNYK-RUBY-COMMONMARKER-3318400
No
Proof of Concept

536/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 4.3
Denial of Service (DoS) SNYK-RUBY-COMMONMARKER-3318401
No
Proof of Concept

589/1000  Why? Has a fix available, CVSS 7.5
Regular Expression Denial of Service (ReDoS) SNYK-RUBY-NOKOGIRI-2620374
No
No Known Exploit

589/1000  Why? Has a fix available, CVSS 7.5
Out-of-bounds Write SNYK-RUBY-NOKOGIRI-2630623
No
No Known Exploit

589/1000  Why? Has a fix available, CVSS 7.5
Denial of Service (DoS) SNYK-RUBY-NOKOGIRI-2630898
No
No Known Exploit

624/1000  Why? Has a fix available, CVSS 8.2
Improper Handling of Unexpected Data Type SNYK-RUBY-NOKOGIRI-2840634
No
No Known Exploit

589/1000  Why? Has a fix available, CVSS 7.5
NULL Pointer Dereference SNYK-RUBY-NOKOGIRI-3052880
No
No Known Exploit

589/1000  Why? Has a fix available, CVSS 7.5
Directory Traversal SNYK-RUBY-TZINFO-2958048
No
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Regular Expression Denial of Service (ReDoS)
🦉 Cross-site Scripting (XSS)
🦉 NULL Pointer Dereference
🦉 More lessons are available in Snyk Learn

 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.


Create Google Microservice Demo template

We (work in progress #243) implemented templates in the platform so you can create products from predefined templates eg.: Strapi. We are using the Google Microservice Example project as a demo to show off the power of our platform. You can currently seed the example project via Prisma seeder, but you must add your Id and your team's Id. We would like to add this as a template.
The task is to add a similar file like web/crux/templates/strapi.json but with defined in the web/crux/prisma/seeds/data/demo folder, to create the ability for users to add a Google Microservice Example. You don't have to delete the seeder in this task, just implement these data points in a template way.
Related feature: https://github.com/dyrector-io/dyrectorio/pull/243

Done in #308


Feature/u64

Doing a little housecleaning here. Replacing old typedefs with stl typedefs.

This breaks pre-VS2013 and older GCC compilers :(

I did let these changes sit on my branch for 6 months. :)

Are there any opinions about merging this now that we don't support anything before VS2013?

I'm not clear on what we gain from this? Is there a need to change the typedefs?

Although I like the idea of removing support for very old platforms like codewarrior, I worry that changing typedefs might have some unexpected consequences.  Given our inability right now to thoroughly test things I've decided to pass on this pull request and leave things as they are for now.


add JWT_POLICY env for istio-telemetry and istio-policy

Fix https://github.com/istio/istio/issues/23813

@kebe7jun: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio_release-1.5
b9f23629d779a629b3b365f79d6cb7345ad1853c
link
/test gencheck_istio_release-1.5

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

hi @kebe7jun, please submit your PR to master first and then cherry-pick it to the release branch. Thank you!

@dgn the master branch has no this issue, and the file struct changed, it is not compact for 1.5...

@dgn the master branch has no this issue, and the file struct changed, it is defferent with 1.5...

Ahh I see, thank you. Nevermind then


renew leader election package

We need to renew our leader election package.
First of all, it is causing issue: https://github.com/coreos/etcd-operator/issues/1076#issuecomment-305848511 .
Second, we need to renew our package to catch up with latest code. We should expect the leader election package to be in client-go v4.0+ . But there is no release date yet.

We will prioritize this issue due to https://github.com/coreos/etcd-operator/issues/1076#issuecomment-305880412 .
We don't want to duplicate work: catching events on endpoints and then on configmap. Just configmap.


Implemented lookup_contains method for dictionaries in Kusto

Issue link: https://github.ibm.com/ClickHouse/issue-repo/issues/3276
Changelog category (leave one):

New Feature

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Added lookup_contains('dict_name', value_to_search). This function returns a boolean value, specifically, True when value_to_search is found in the dictionary, and False otherwise.
Test

Example use: A query or command.
`print lookup_contains('test_rocksDB',1);

SELECT dictHas('test_rocksDB', 1) AS print_0
Query id: 3a829b08-3fd5-4ebb-9b44-324e2d3961a2
┌─print_0─┐
│       1 │
└─────┘
1 row in set. Elapsed: 0.034 sec. `
`print lookup_contains('test_rocksDB',200);
SELECT dictHas('test_rocksDB', 200) AS print_0
Query id: b43ad552-20b1-41ca-bdd3-bb4cbb28676a
┌─print_0─┐
│       0 │
└─────┘
1 row in set. Elapsed: 0.030 sec. `

@bkuschel looks like this is merged, when do you think we could have a 23.9 KQL with this feature in it?


pli throttling

Description
Currently, the WebRTCReceiver throttles PLIs every 500ms, however if multiple are requested within 500ms only the first one is sent - this means if one client requests it 490ms after another, the second will get dropped. This update keeps the same throttling period but will send a pli at the end of the period if another was requested.
It also adds the duration as a router config variable.

Changed this to a config var only - after some testing, realized the second one being dropped is what we want in most cases, since the clients spam plis until they get a full frame


Info panel tweaks

Sorry if I missed this or we discussed this, which is likely, but why did we axe the panel header text within Info? Especially important for Help and About, but might as well Contact and Feedback. Maybe I can adjust the Google Form if it feels too redundant.
Also the anchors needing to be clicked twice in Help and About, since first time does nothing. Apologies if I already made an issue for it but I couldn't find it just now. This is almost as painful as the old X closing problem on Help— I kinda feel like scrapping the anchors if we can't fix.

but why did we axe the panel header text within Info?

got lost in the shuffle. will add/restore.

Also the anchors needing to be clicked twice in Help and About, since first time does nothing.

not sure i can reproduce this. when i click "Credits" for example, it takes me to that section.

Can you try a fresh load or a private window? It’s like you need to click once on an anchor, and it does nothing, but the next time it goes to the right place.

On Apr 9, 2021, at 10:08 AM, Jason Lampel @.***> wrote:
but why did we axe the panel header text within Info?
got lost in the shuffle. will add/restore.
Also the anchors needing to be clicked twice in Help and About, since first time does nothing.
not sure i can reproduce this. when i click "Credits" for example, it takes me to that section.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Language-Mapping/language-map/issues/259#issuecomment-816709265, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMNKB5BHWJO5D2LCDM7HILDTH4C6TANCNFSM42U7TJFA.

the "Back to top" btn doesn't show in that scenario, so that's a bug. tried to fix already but guess not.
AH, here's your problem, at least for this one:
your Map Options anchor points to and id with mapoptions: /Info/Help#mapoptions
but the section actually has an id of details:

Good catch, thanks, just fixed. From yesterday’s Help editing! But I think it’s broader issue. Actually what happens precisely is that for a fraction of a second it does go to the right place (the anchor) but then it bounces me back to the top again
Back to Top btn still goes away (and stays away) if I hit the very bottom

On Apr 9, 2021, at 10:14 AM, Jason Lampel @.***> wrote:
the "Back to top" btn doesn't show in that scenario, so that's a bug. tried to fix already but guess not.
AH, here's your problem, at least for this one:
your Map Options anchor points to and id with mapoptions: /Info/Help#mapoptions
but the section actually has an id of details:
https://user-images.githubusercontent.com/4974087/114192968-4ff3cd80-990b-11eb-9d36-86f65b7d0c61.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Language-Mapping/language-map/issues/259#issuecomment-816713065, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMNKB5DPUD3JZ37XKWGKY7DTH4DSVANCNFSM42U7TJFA.

Ah I can reproduce this on mobile.
Did you change your screenshots and use an iPad like I suggested? They are looking crisp!￼

I tried to improve them, but actually Julia is supposed to go through and re-do the screenshots (for this and manual), so hopefully will be even better

On Apr 9, 2021, at 10:23 AM, Jason Lampel @.***> wrote:
Ah I can reproduce this on mobile.
Did you change your screenshots and use an iPad like I suggested? They are looking crisp!￼
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Language-Mapping/language-map/issues/259#issuecomment-816719285, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMNKB5HUVXY4FZLRDMJDF4DTH4EVHANCNFSM42U7TJFA.

Sorry if I missed this or we discussed this, which is likely, but why did we axe the panel header text within Info? Especially important for Help and About, but might as well Contact and Feedback. Maybe I can adjust the Google Form if it feels too redundant.

there are now about a dozen overrides to the otherwise-consistent URL-driven panel titles, so let's try to just be okay with that before requesting additional overrides. it was a little mess to begin with, but now it's a lot of messy. will change this one but i don't think "Feedback" as the panel title would've been bad.

Feedback is fine

On Apr 12, 2021, at 9:32 PM, Jason Lampel @.***> wrote:
Sorry if I missed this or we discussed this, which is likely, but why did we axe the panel header text within Info? Especially important for Help and About, but might as well Contact and Feedback. Maybe I can adjust the Google Form if it feels too redundant.
there are now about a dozen overrides to the otherwise-consistent URL-driven panel titles, so let's try to just be okay with that before requesting additional overrides. it was a little mess to begin with, but now it's a lot of messy. will change this one but i don't think "Feedback" as the panel title would've been bad.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Language-Mapping/language-map/issues/259#issuecomment-818365517, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMNKB5DLJVFW3F3BIY7UGB3TIONKJANCNFSM42U7TJFA.