add health check to wait for sidecar and test it

Description
Adding a health check to the wait for sidecar logic such that there is better parity with the dotnet sdk. Updated the README. Updated the pom.xml to fix the err: Caused by: java.lang.ClassNotFoundException: org.junit.jupiter.api.extension.ScriptEvaluationException
Issue reference
https://github.com/dapr/java-sdk/issues/897
Checklist

[x] Code compiles correctly
[x] Created/updated tests
[x] Extended the documentation

This looks good to me, great work @cicoyle !

@cicoyle @mukundansundar
If you haven't already, It's worth checking in with @artursouza as this class DaprClientHttp is planned to be deprecated in the next version of the SDK.
If that is still true, these changes also need porting over to DaprClientGrpc - as this issue suggests https://github.com/dapr/java-sdk/issues/898

@cicoyle @mukundansundar
If you haven't already, It's worth checking in with @artursouza as this class DaprClientHttp is planned to be deprecated in the next version of the SDK.
If that is still true, these changes also need porting over to DaprClientGrpc - as this issue suggests #898

Good point @olitomlinson, also the one issue with the gRPC waitForSidecar function is that it only waits for the channel to be ready, not for Dapr outbound to be ready. Either as done in .NET SDK as linked above or as mentioned in the Python SDK issue, we either need gRPC client to also check the HTTP healthz/outbound endpoint or create a IsOutboundReady gRPC method in dapr Runtime.

her need gRPC client to also check t

@cicoyle @mukundansundar
If you haven't already, It's worth checking in with @artursouza as this class DaprClientHttp is planned to be deprecated in the next version of the SDK.
If that is still true, these changes also need porting over to DaprClientGrpc - as this issue suggests #898

Good point @olitomlinson! One issue with the gRPC waitForSidecar function is that it only waits for the channel to be ready, not for Dapr outbound to be ready. Either as done in .NET SDK as linked above or as mentioned in the Python SDK issue, we either need gRPC client to also check the HTTP healthz/outbound endpoint or create a IsOutboundReady gRPC method in dapr Runtime.

Not that I have any say in the matter, but I think being consistent with the dotnet SDK and calling healthz/outbound is the pragmatic thing to do right now :)

Unfortunately, this works locally on my Mac, but not in CI - trying to debug

I reproduced this error locally.
The error is because the test is not passing the interceptor to an OkHTTP client. You need this in GrpcChannelFacadeTest:
    okHttpClient = new OkHttpClient.Builder().addInterceptor(mockInterceptor).build();

And then, use the custom okHttpClient:
DaprHttp daprHttp = new DaprHttp(Properties.SIDECAR_IP.get(), 3500, okHttpClient);

It might be working locally because you might have a running sidecar and makes the test pass.


chore: Remove unneeded webhooks for machines/provisioners

Fixes #
Description

Remove unneeded webhooks for machines/provisioners

How was this change tested?
make presubmit
helm diff upgrade --namespace karpenter karpenter charts/karpenter --reuse-values  --three-way-merge
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>

0 of 0   changed or added relevant lines in 0 files are covered.
15 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-0.2%) to 80.756%

Files with Coverage Reduction
New Missed Lines
%

pkg/operator/controller/typed.go
2
93.55%

pkg/scheduling/requirements.go
2
98.5%

pkg/controllers/node/controller.go
4
70.15%

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

Totals

Change from base Build<PHONE_NUMBER>:
-0.2%

Covered Lines:
6538

Relevant Lines:
8096

💛  - Coveralls

What behavior are we driving with machine webhooks?

What behavior are we driving with machine webhooks?

It's a good point. I was adding it for consistency but opting to just rip out the webhooks that we don't need right now


Responsiveness

I would like to use DateRangePicker for large screens and up and DateRange otherwise.
I tried to use react-socks breakpoints to do that but react will render whatever that comes first regardless of screen size.
Probably this is not the right way to do it. Does anybody have a better way to make that happen? Or, even better, can this responsiveness be natively supported by react-date-range through its options?
Package Version:
React version: 16.8.1
Node version: 10.15.3
React-socks version: 1.0.1
Browser: Firefox and Chrome

Not a perfect solution, but if you add a custom class for the wrapper element, you can set flex-direction: column to make the quick picker render above the calendar with a media query, eg something like:
Similarly, you could also override the theme style to set the quick picker to display: none
.picker {
  // other overrides
  @media (min-width: 320px) and (max-width: 480px) {
    display: flex;
    flex-direction: column;
  }
}

That is a great way to solve it this problem. Thanks so much, @JohnWelle.
Yet in some cases, like mine, the space that the component can verticality occupy is very limited. Then simply removing the picker makes more sense.
Would it be great if this component can add an option that controls the responsiveness mode? Or maybe it's better to let the developers implement it?
The options can be:
shrink=stack
shrink=hide
shrink=none
What do you think?

Guys, anything news? 🙏

Well I don't think there's anyone implementing this. But checkout @JohnWelle 's answer. I went with it and it worked pretty well.

I was able to give the responsibility that I need making these changes:

rdrCalendarWrapper rdrDateRangeWrapper => width: 100%
rdrMonths rdrMonthsVertical => width: 100%
rdrMonth => width: 100%


watchdog: remove Kconfig.defconfig setting of watchdog drivers

Now that watchdog drivers are enabled based on devicetree
we need to remove any cases of them getting enabled by
Kconfig.defconfig* files as this can lead to errors.
Typically the Kconfig.defconfig* will blindly enable a
sensor and not respect the devicetree state of the watchdog.
Additionally we can get problems with prj.conf/defconfig
getting incorrectly overridden.
Signed-off-by: Kumar Gala<EMAIL_ADDRESS>

Small copy/paste error referring to sensors in the commit message

fixed.


Should allow other than email address.

Realm Object Server allow any text for username other than email address.
@TimOliver

Thanks for that Katsumi! I originally set it up as an email to align with the Realm Mobile Platform login, but I hit an issue with Realm Tasks then. This was definitely needed. :)


Reporting a small typescript bug + requesting a feature

Hi,
First of all I would like to thank you for great work you done here :)
I'm reporting a small typescript bug  for the prompt dialog:
await simplePrompt() <--- typescript error returns any instead of string
"
Unsafe assignment of an any value.eslint@typescript-eslint/no-unsafe-assignment
(alias) simplePrompt(props: PromptOptions): Promise
import simplePrompt
"

In addition, requesting a new feature about the "inputLabel" for the prompt dialog:
the label is currently above the textbox input which is not that usefull,
maybe it's better to put the label inside the textbox of the prompt, so we will receive default input for "save file dialog" for example

Hi @alaa-paramount, thanks for your feedback and for report this issue!
I just released a new minor version (1.2.3) in order to fix this issue, can you upgrade your version and test it again?
Let me know if this worked for you!

Hi pedrohenriquepires,
Thank you, the "Unsafe assignment of an 'any'" is resolved!


#1557 pass context to LoadersList constructor

Required for https://github.com/webpack/core/issues/19

This is possible now


React plugin branch

I attempted to create a react plugin for junobuild using junobuild/core functions like initJuno, User and authsubscribe. Theres a JunoProvider with context. Thats all for now, but I promise to include other hooks like useAnalitics  and so forth

We will need to perform cleanup and convert the project into a library before being able to publish any hooks to npm. However, this is a great start. Therefore, I'm merging it so that we can continue to iterate from here. Thank you for your contribution!

I am currently working on several other tasks and may return to those in a bit. Therefore, there might be a slight delay until I contibute to those tasks.


Changing navigationOptions of screen in componentWillReceiveProps

Hello!
I am trying to force the header of the route in StackNavigator to become visible / show up / render only when the component (assigned as a screen to this route) has received props in componentWillReceiveProps (because at that moment the ListView, that the screen is solely comprised of, appears). How could I do that?

Hi! In an effort to get the hundreds of issues on this repo under control I'm closing issues tagged as questions. Please don't take this personally - it's simply something we need to do to get the issues to a manageable point. If you still have a question I encourage you to re-read the docs, ask on StackOverflow, or ask on the #react-navigation Reactiflux channel. Thank you!


Spark SQL hash function using murmur3

@rwlee @sameerz Are we targeting this for 0.3 or 0.4?

DO NOT MERGE

I'm converting this to a Draft PR so it's clear this is not ready to merge.

Ready for review, requires https://github.com/rapidsai/cudf/pull/7024

Marked it as draft again.  Even if it is ready to review we cannot run this or check it in until the dependency is in.

Marked it as draft again. Even if it is ready to review we cannot run this or check it in until the dependency is in.

https://github.com/rapidsai/cudf/pull/7024 merged in this afternoon.

Marked it as draft again. Even if it is ready to review we cannot run this or check it in until the dependency is in.

https://github.com/rapidsai/cudf/pull/7024 merged in this afternoon.

build

build

build

build

build

build

build

build


Update setdex_sm.js

Choice Band Dugtrio, while not the best set, is still relevant enough to be included, since extra damage on Earthquake could be necessary on some teams. Also, it allows you to run Aerial Ace, which is to hit Tapu Bulu and Mega Heracross, as well as Serperior.  Like previously mentioned, not the best set, but is still a niche set for teams weak to the aforementioned Pokemon.

Sorry if you want a set added you need to add it to the Pokemon smogon Analysis where honko rips these sets from


add jump process with delay example

Hi @sdwfrost, this addresses (part of) #13 using callbacks and the DifferentialEquations.jl solver. Dynamics look much more like the DDE solutions than the Gillespie and jump process solutions, as expected.

Thanks @slwu89! This is a nice and clear example of using the integrator interface directly.

I added a fixed delay to my DES example - there should be a check to ensure that the results are comparable.

@sdwfrost could we compare the mean/some quantiles of a large number of simulations from both methods to the DDE solution? They should both be quite close I think.

Yes, something simple like that should be sufficient.

OK I can do a comparison after I fix the problem of initial infectives not being queued for recovery in the jump example. Where should that notebook live?

In some ways, I think the DES should be the gold standard, as it's the most general. In order to keep the notebooks separate, perhaps a distribution of the final size?


parser swallow '-' in value

when i parse sth like {right : -2dp;}. it give me {right:2dp;}

PS. I change some code to make value like '2dp' pass the parser.


updated version csproj

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
121

Relevant Lines:
123

💛  - Coveralls


swift-slim ?

Hi,
Is there any interest in building a docker container with the swift dependencies built into a statically compiled binary?  1.2GB from ubuntu guts and the full gcc buildchain is kind of rough.

I don't think there are plans at the moment for this. Having said that, please feel free to elaborate. Thanks.

My basic idea here is to use one image for building and another for shipping the resulting binaries as a self-contained image, FROM scratch.  It doesn't look like swift is doing me many favors based on some brief research that turned up things like this: https://github.com/ksm/SwiftInFlux#static-libraries
We can surely do better than ibmcom/swift-runtime                                  latest              30412f643874        11 weeks ago        1.26 GB, but at least the layers currently in use are pretty popular.

@ralph-tice
I have been working on a similar idea.  The slimming of a Swift Docker image could be broken into 2 phases.
Phase 1
Currently Apple is not bundling libdispatch into the Swift Ubuntu binaries on swift.org.  Since Kitura and other Swift projects depend on libdispatch, the current ibmcom/swift-ubuntu Docker image brings in all the dependencies in order to build, link and install libdispatch.  This results in a current Docker image of 1.508 GB.
I have a fork of this project here that does the following:

Create an image of swift3-base which adds all Apple built binaires
Create a dependent swift3-libdispatch image which builds libdispatch and tars the binaries
Create an image swift3-slim from swift3-base and copies in the libdispatch binaries

This results in Docker image of 1.296 GB.  A 200K savings.
Note: this is working in progress and has had limited testing.
Phase 2
Where I would like to see this go is the use of Alpine Linux as a base image.  Alpine has a lot of momentum due to it's tiny footprint - 5 MB.
Several official Docker images now have Alpine versions including:

nginx:alpine - 60.65 MB
redis:alpine - 20.42 MB
python:alpine - 71.68 MB

However, this would require an overhaul of the Apple Swift Ubuntu build system.  If anyone has started work on an Alpine port, let us know.

At first glance, it appears that glib, libblocksruntime and libkqueue are not available on Alpine yet.  Workarounds do exist for glib:
https://developer.atlassian.com/blog/2015/08/minimal-java-docker-containers/
So it appears that any swift-slim Docker image would need to be derived from a base image that is libdispatch compatible.

I reported issues back to Alpine previously about the glibc hack causing a crash for JVM processes, it's really pretty scary to have libmusl and glibc in the same environment, so I don't advise using Alpine as a base in this case... https://github.com/gliderlabs/docker-alpine/issues/11#issuecomment-168920687

@dsperling, the proper way to do Phase 1 (and how all of the other slim images work) is to – in one RUN step – install the build deps, compile the binary, and remove the build deps.

@conradev, Apple is now including libdispatch binaries in Ubuntu releases, so the need for Phase 1 has solved itself.  But yes, your idea of a single RUN step is the right way and much simpler than what I was working on prior.

@dsperling Wouldn't it make more sense to use the glib version of BusyBox, rather than focusing on Alpine?

@siilime The original thought was to align a slim Swift image with the direction Docker themselves are headed with Alpine:
https://www.brianchristner.io/docker-is-moving-to-alpine-linux/
Since we have started this thread, Docker has created an official Swift image, although it is still based on Ubuntu 16.04.
https://hub.docker.com/_/swift/

@dsperling And as much as I agree with that, I think some of the changes for this to be possible need to come from the internal development stream.
I've created my own for running Swift programs, rather than building. Building isn't too much of a concern for me as my customers won't be affected by a slow build as much as they would be by a slow recovering production environment.
As far as I'm aware, Alpine is based on BusyBox, which is why I suggested starting there. It's the base for Alpine and has a glibc supported setup, as well as it's musl setup. Meaning the transition to Alpine should be smoother, than trying to go from Ubuntu, to a musl-based Alpine.
I could be entirely wrong; just the thought of trying to get Swift onto Alpine gives me a headache, but it seems logical to me.

All, I am closing this issue for now:

We recently released a second docker image, swift-ubuntu-runtime, (see README) that is much smaller than the swift-ubuntu development image. This second image does not have any of the builds tools; instead it is meant to be used only for running Swift apps. For more details, see the README.

Though it is true that a different linux base image could be used (such as Alpine), that’s not within our scope now. The main purpose of the docker image we maintain here is to provide an environment that uses Ubuntu 14.04 which is the same Linux flavor used by Cloud Foundry-based offerings. We have seen several cases where developers use docker images based on Ubuntu 16.04 or 15.10 or other linux flavors and then run into unexpected problems when running their apps on cloud offerings based on Cloud Foundry.

It would be great to have a link to swift-ubuntu-runtime from this.

it is already in-repo and documented in the README -- https://github.com/IBM-Swift/swift-ubuntu-docker#ibmcomswift-ubuntu-runtime


Added generated files and fixed tests

Description
Explain a little about the changes at a high level.
Reviewer Notes
Is there anything you would like reviewers to give additional scrutiny?
Setup
Add any steps or code to run in this section to help others prepare to run your code:
echo "Code goes here"

Code Review Verification Steps

[ ] If the change is risky, it has been tested in experimental before merging.
[ ] Code follows the guidelines for Logging
[ ] The requirements listed in
Querying the Database Safely
have been satisfied.
Any new migrations/schema changes:

[ ] Follow our guidelines for zero-downtime deploys (see Zero-Downtime Deploys)
[ ] Have been communicated to #g-database
[ ] Secure migrations have been tested following the instructions in our docs

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] User facing changes have been reviewed by design.
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change
this article explains more about the approach used.

Screenshots
If this PR makes visible UI changes, an image of the finished UI can help reviewers and casual
observers understand the context of the changes. A before image is optional and
can be included at the submitter's discretion.
Consider using an animated image to show an entire workflow instead of using multiple images. You may want to use GIPHY CAPTURE for this! 📸
Please frame screenshots to show enough useful context but also highlight the affected regions.

Warnings

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against d4cdd4e3a93066d505674a31890a5a3d62251b53

Warnings

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against d4cdd4e3a93066d505674a31890a5a3d62251b53

@sandy-wright GOOD point about that ConflictError! I think it should really be fixed in this PR - since this PR was really about getting that endpoint in correct working order. So I fixed that. I did not fix the getMTO issue, since that's a different endpoint. Thanks for the recommendation Sandy.

* `updateMTOServiceItemStatus` returns a ConflictError when the user tries to reject without a rejection reason. This would ideally be an InvalidInputError

@sandy-wright GOOD point about that ConflictError! I think it should really be fixed in this PR - since this PR was really about getting that endpoint in correct working order. So I fixed that. I did not fix the getMTO issue, since that's a different endpoint. Thanks for the recommendation Sandy.

* `updateMTOServiceItemStatus` returns a ConflictError when the user tries to reject without a rejection reason. This would ideally be an InvalidInputError


Server should run scheduled task to "fish" inactive users

reads from blockchain all claim events since last call
update database with date of claim for each address
searches database for address not marked as inactive and with last claim date > activeGracePeriod (as defined in smart contract)
call the ubi scheme contract deactivateUsers with batches of 100 addresses and mark users in database as inactive

** this should be tested on goodnext **

@sirpy on the Claim screen has been displayed 1G$ for claim but after clicking the "Claim" button the user has received 503k G$'s
It means the user isn't inactive after two days of inactivity (as it set on qa env)
Checked on QA V0.25.4-3
Desktop: Windows 10 // Google Chrome 84.0.4147.89

this should be fixed on QA

@sirpy  Tested on QA ...The user was active and after two inactive days user claimed only 1 G$ - it means that the user became inactive
Checked on QA  V1.0.0
Desktop: Windows 10 // Google Chrome  84.0.4147.105


Add playwright testing

Very minimal setup to test some redirects and also an SSR page.

closing and reopening to rerun the tests in the right context


transition.easeVarying(factory)

closes #107
(with a nod to #109)

demo notebook https://observablehq.com/d/d68365692b2b4d29


Error message incorrect for DOW when dayOfWeekStartIndexZero is set to true

When setting the dayOfWeekStartIndexZero flag to true, the validator message is "DOW part must be >= 0 and <= 6" when it should be "DOW part must be >= 1 and <= 7".
The fix seems fairly simple from a quick glance, just need to pass dayOfWeekStartIndexZero to the dayOfWeekRange validator and conditionally return the appropriate error message. I can submit a PR if you would like, let me know!

Made a PR for this issue here: https://github.com/bradymholt/cRonstrue/pull/202


Calling self within an anonymous class is recognized as parent module/class

I'm not sure if this is a duplicate of https://github.com/sorbet/sorbet/issues/1010, since it's very similar but that issue refers to inner modules. I figured I'd open this issue anyways and let you folks decide.
Input
→ View on sorbet.run
# typed: true
extend T::Sig

module MyModule
  extend self

  def anonymous_class
    Class.new do
      def my_method
        self.class.name
      end
    end
  end
end

Observed output
editor.rb:10: Method class does not exist on MyModule https://srb.help/7003
    10 |        self.class.name
                     ^^^^^
Errors: 1

Expected behavior

In this case I wouldn't expect there to be an error, since calling self within a Class.new do block returns the anonymous class instance.
This seems to be true when inner classes are defined within classes as well. For example I would expect an error in this case.

Dupe of #1010


[BUG] - cardano.node.DnsSubscription:Error

Internal/Exernal
External
Summary
Unable to synchronize properly
Steps to reproduce
Steps to reproduce the behavior:
docker run latest
cardano-node-mainnet             inputoutput/cardano-node             latest        e8eb3a838c50   778 MB
Expected behavior
Normal synchronization
System info (please complete the following information):

OS: Ubuntu
Version 16.04.10
Node version latest

Screenshots and attachments
cardano-node-mainnet             inputoutput/cardano-node             latest        e8eb3a838c50   778 MB
cardano-node-mainnet        | [4341dab7:cardano.node.ErrorPolicy:Notice:67] [2020-08-18 04:13:26.70 UTC] [String "ErrorPolicySuspendConsumer (Just (ConnectionExceptionTrace (SubscriberError {seType = SubscriberParallelConnectionCancelled, seMessage = "Parallel connection cancelled", seStack = []}))) 1s",String "ErrorPolicyTrace",String "<IP_ADDRESS>:3001"]
cardano-node-mainnet        | [4341dab7:cardano.node.DnsSubscription:Error:3856] [2020-08-18 04:13:27.17 UTC] [String "Application Exception: <IP_ADDRESS>:3001 HeaderError (At (Block {blockPointSlot = SlotNo {unSlotNo = 5789249}, blockPointHash = 68914f093daebff961def6df4830a21b2fffccec69442e8e6b780e51c40d5217})) (HeaderProtocolError (HardForkValidationErrFromEra S (Z (WrapValidationErr {unwrapValidationErr = ChainTransitionError [OverlayFailure (VRFLeaderValueTooBig (OutputVRF {getOutputVRFBytes = "\NUL\NUL\157\185\199\189l\210Y\130\175\220\248\140\242\129\&4!\138\193\175\235\238ch(\\\187\156Y3\239\204lYMF\160\239F.>S\248\193l\CAN\162\181\204\147\241\EOT\183\182P{Rz\\200vM\"}) (0 % 1) (ActiveSlotCoeff {unActiveSlotVal = UnsafeUnitInterval (1 % 20), unActiveSlotLog = -512932943875505334261962382072846}))]})))) (Tip (SlotNo {unSlotNo = 5789244}) 9c925a40b21eb2768f2b07733568f7bd9dbfe74848f0b29755b9e8a230b4f43e (BlockNo {unBlockNo = 4555199})) (Tip (SlotNo {unSlotNo = 6157711}) 9bc99fa3047b1a4476e3bb061bfc04b7b217f83fa403d315cb257a3f146ff93f (BlockNo {unBlockNo = 4573383}))",String "SubscriptionTrace",String "\"relays-new.cardano-mainnet.iohk.io\""] cardano-node-mainnet        | [4341dab7:cardano.node.ErrorPolicy:Warning:67] [2020-08-18 04:13:27.17 UTC] [String "ErrorPolicySuspendPeer (Just (ApplicationExceptionTrace (HeaderError (At (Block {blockPointSlot = SlotNo {unSlotNo = 5789249}, blockPointHash = 68914f093daebff961def6df4830a21b2fffccec69442e8e6b780e51c40d5217})) (HeaderProtocolError (HardForkValidationErrFromEra S (Z (WrapValidationErr {unwrapValidationErr = ChainTransitionError [OverlayFailure (VRFLeaderValueTooBig (OutputVRF {getOutputVRFBytes = \"\\NUL\\NUL\\157\\185\\199\\189l\\210Y\\130\\175\\220\\248\\140\\242\\129\\&4!\\138\\193\\175\\235\\238c*h(\\\\\\187\\156Y3\\239\\204lYMF\\160\\239F.>S\\248\\193l\\CAN\\162\\181\\204\\147\\241\\EOT\\183\\182P{Rz\200vM"}) (0 % 1) (ActiveSlotCoeff {unActiveSlotVal = UnsafeUnitInterval (1 % 20), unActiveSlotLog = -512932943875505334261962382072846}))]})))) (Tip (SlotNo {unSlotNo = 5789244}) 9c925a40b21eb2768f2b07733568f7bd9dbfe74848f0b29755b9e8a230b4f43e (BlockNo {unBlockNo = 4555199})) (Tip (SlotNo {unSlotNo = 6157711}) 9bc99fa3047b1a4476e3bb061bfc04b7b217f83fa403d315cb257a3f146ff93f (BlockNo {unBlockNo = 4573383}))))) 200s 200s",String "ErrorPolicyTrace",String "<IP_ADDRESS>:3001"]
cardano-node-mainnet        | [4341dab7:cardano.node.DnsSubscription:Error:3855] [2020-08-18 04:13:27.36 UTC] [String "Application Exception: <IP_ADDRESS>:3001 HeaderError (At (Block {blockPointSlot = SlotNo {unSlotNo = 5789249}, blockPointHash = 68914f093daebff961def6df4830a21b2fffccec69442e8e6b780e51c40d5217})) (HeaderProtocolError (HardForkValidationErrFromEra S (Z (WrapValidationErr {unwrapValidationErr = ChainTransitionError [OverlayFailure (VRFLeaderValueTooBig (OutputVRF {getOutputVRFBytes = "\NUL\NUL\157\185\199\189l\210Y\130\175\220\248\140\242\129\&4!\138\193\175\235\238ch(\\\187\156Y3\239\204lYMF\160\239F.>S\248\193l\CAN\162\181\204\147\241\EOT\183\182P{Rz\\200vM\"}) (0 % 1) (ActiveSlotCoeff {unActiveSlotVal = UnsafeUnitInterval (1 % 20), unActiveSlotLog = -512932943875505334261962382072846}))]})))) (Tip (SlotNo {unSlotNo = 5789244}) 9c925a40b21eb2768f2b07733568f7bd9dbfe74848f0b29755b9e8a230b4f43e (BlockNo {unBlockNo = 4555199})) (Tip (SlotNo {unSlotNo = 6157711}) 9bc99fa3047b1a4476e3bb061bfc04b7b217f83fa403d315cb257a3f146ff93f (BlockNo {unBlockNo = 4573383}))",String "SubscriptionTrace",String "\"relays-new.cardano-mainnet.iohk.io\""] cardano-node-mainnet        | [4341dab7:cardano.node.ErrorPolicy:Warning:67] [2020-08-18 04:13:27.36 UTC] [String "ErrorPolicySuspendPeer (Just (ApplicationExceptionTrace (HeaderError (At (Block {blockPointSlot = SlotNo {unSlotNo = 5789249}, blockPointHash = 68914f093daebff961def6df4830a21b2fffccec69442e8e6b780e51c40d5217})) (HeaderProtocolError (HardForkValidationErrFromEra S (Z (WrapValidationErr {unwrapValidationErr = ChainTransitionError [OverlayFailure (VRFLeaderValueTooBig (OutputVRF {getOutputVRFBytes = \"\\NUL\\NUL\\157\\185\\199\\189l\\210Y\\130\\175\\220\\248\\140\\242\\129\\&4!\\138\\193\\175\\235\\238c*h(\\\\\\187\\156Y3\\239\\204lYMF\\160\\239F.>S\\248\\193l\\CAN\\162\\181\\204\\147\\241\\EOT\\183\\182P{Rz\200vM"}) (0 % 1) (ActiveSlotCoeff {unActiveSlotVal = UnsafeUnitInterval (1 % 20), unActiveSlotLog = -512932943875505334261962382072846}))]})))) (Tip (SlotNo {unSlotNo = 5789244}) 9c925a40b21eb2768f2b07733568f7bd9dbfe74848f0b29755b9e8a230b4f43e (BlockNo {unBlockNo = 4555199})) (Tip (SlotNo {unSlotNo = 6157711}) 9bc99fa3047b1a4476e3bb061bfc04b7b217f83fa403d315cb257a3f146ff93f (BlockNo {unBlockNo = 4573383}))))) 200s 200s",String "ErrorPolicyTrace",String "<IP_ADDRESS>:3001"]

Same issue at same block.
[cardanor:cardano.node.DnsSubscription:Error:170172] [2020-08-18 15:11:04.91 UTC] [String "Application Exception: <IP_ADDRESS>:3001 HeaderError (At (Block {blockPointSlot = SlotNo {unSlotNo = 5789249}, blockPointHash = 68914f093daebff961def6df4830a21b2fffccec69442e8e6b780e51c40d5217})) (HeaderProtocolError (HardForkValidationErrFromEra S (Z (WrapValidationErr {unwrapValidationErr = ChainTransitionError [OverlayFailure (VRFLeaderValueTooBig (OutputVRF {getOutputVRFBytes = \"\\NUL\\NUL\\157\\185\\199\\189l\\210Y\\130\\175\\220\\248\\140\\242\\129\\&4!\\138\\193\\175\\235\\238c*h(\\\\\\187\\156Y3\\239\\204lYMF\\160\\239F.>S\\248\\193l\\CAN\\162\\181\\204\\147\\241\\EOT\\183\\182P{Rz\200vM"}) (0 % 1) (ActiveSlotCoeff {unActiveSlotVal = UnsafeUnitInterval (1 % 20), unActiveSlotLog = -512932943875505334261962382072846}))]})))) (Tip (SlotNo {unSlotNo = 5789044}) db29e1e0e9080c96bb41e78b119ffae1097192214c21a6f2d257fb98c8e80933 (BlockNo {unBlockNo = 4555190})) (Tip (SlotNo {unSlotNo = 6197155}) 8fa87b94d8c34ac6eaed669173306d74dc2467a4ed7694657157f7de6361aa51 (BlockNo {unBlockNo = 4575327}))",String "SubscriptionTrace",String ""relays-new.cardano-mainnet.iohk.io""]`

Known issue in 1.18.1, downgrade to 1.18.0 or wait for 1.18.2 due for release this week...
https://github.com/input-output-hk/cardano-node/issues/1676

We saw this issue today, probably on the basis of having run 1.18.1 for a while, even though we had downgraded to 1.18.0 a while ago.  I posted it there first without noticing that issue had been closed: https://github.com/input-output-hk/cardano-node/issues/1676#issuecomment-676064337

We saw this issue today, probably on the basis of having run 1.18.1 for a day or so, even though we downgraded to 1.18.0 a while ago. I posted it here first without noticing that this issue has been closed: #1676 (comment)
I haven't found any other way to resolve the problem, so as a last resort fix we are rebuilding the DB on all our nodes.

Saw the same issue. Required 'uncorrupted' DB to be copied from node that had only run 1.18.0.

BTW, I think it's enough if you delete the ledger folder. This will require rebuilding the ledger from genesis, which will take a while (but this will be much faster with 1.19.0 than 1.18.0!). If you delete the entire database, including the immutable folder, you'll have to resync the whole chain, which takes much longer of course.

Closing since this relates to a rolled-back version (1.18.1).

same issue still in the 1.24.2

same issue still in the 1.24.2

Current version is 1.25.1, can you confirm for that?

Yes, I have created a new ubuntu server VM in azure. In which I am getting this error, I first tried with centOS and again did the whole process with the ubuntu server but still, the issue is coming. I have followed the exact steps given in the stake pool school course.
cardano-cli --version
cardano-cli 1.24.2 - linux-x86_64 - ghc-8.10
git rev 400d18092ce604352cf36fe5f105b0d7c78be074

[Beast:cardano.node.DnsSubscription:Notice:139] [2021-02-21 04:13:55.44 UTC] [String "Connection Attempt Start, destination <IP_ADDRESS>:3001",String "SubscriptionTrace",String "\"relays-new.cardano-testnet.iohkdev.io\""] [Beast:cardano.node.DnsSubscription:Notice:140] [2021-02-21 04:13:55.47 UTC] [String "Connection Attempt Start, destination <IP_ADDRESS>:3001",String "SubscriptionTrace",String "\"relays-new.cardano-testnet.iohkdev.io\""] [Beast:cardano.node.DnsSubscription:Notice:135] [2021-02-21 04:13:55.48 UTC] [String "Connection Attempt End, destination <IP_ADDRESS>:3001 outcome: ConnectSuccess",String "SubscriptionTrace",String "\"relays-new.cardano-testnet.iohkdev.io\""] [Beast:cardano.node.DnsSubscription:Notice:136] [2021-02-21 04:13:55.48 UTC] [String "Connection Attempt End, destination <IP_ADDRESS>:3001 outcome: ConnectSuccessLast",String "SubscriptionTrace",String "\"relays-new.cardano-testnet.iohkdev.io\""] [Beast:cardano.node.ErrorPolicy:Notice:55] [2021-02-21 04:13:55.48 UTC] [String "ErrorPolicySuspendConsumer (Just (ConnectionExceptionTrace (SubscriberError {seType = SubscriberParallelConnectionCancelled, seMessage = \"Parallel connection cancelled\", seStack = []}))) 1s",String "ErrorPolicyTrace",String "<IP_ADDRESS>:3001"] [Beast:cardano.node.ErrorPolicy:Notice:55] [2021-02-21 04:13:55.48 UTC] [String "ErrorPolicySuspendConsumer (Just (ConnectionExceptionTrace (SubscriberError {seType = SubscriberParallelConnectionCancelled, seMessage = \"Parallel connection cancelled\", seStack = []}))) 1s",String "ErrorPolicyTrace",String "<IP_ADDRESS>:3001"] [Beast:cardano.node.DnsSubscription:Error:136] [2021-02-21 04:13:55.68 UTC] [String "Application Exception: <IP_ADDRESS>:3001 InvalidBlock (At (Block {blockPointSlot = SlotNo 18023840, blockPointHash = c9881ce23d270f6b00369017015621e5735f029c8006e2077ab37c54dc7ef4d2})) (ValidationError (ExtValidationErrorLedger (HardForkLedgerErrorFromEra S (S (S (Z (WrapLedgerErr {unwrapLedgerErr = BBodyError (BlockTransitionError [LedgersFailure (LedgerFailure (UtxowFailure (UtxoFailure (OutputTooSmallUTxO [(Addr Testnet (KeyHashObj (KeyHash \"53c493ab318b98d4bd5bfebee157f33a2c2dcf2752e818d558f8867d\")) (StakeRefBase (KeyHashObj (KeyHash \"54251fc51d128c9808585c95f66b0c5146dddf8fafe8dbf13de65774\"))),Value 1500000 (fromList [(PolicyID {policyID = ScriptHash \"9cebd568ac4ad908cdd2d45a52327fc4711911054c9951b90a603303\"},fromList [(\"BerryIndigo\",1)])]))]))))])})))))))",String "SubscriptionTrace",String "\"relays-new.cardano-testnet.iohkdev.io\""] [Beast:cardano.node.ErrorPolicy:Warning:55] [2021-02-21 04:13:55.68 UTC] [String "ErrorPolicySuspendPeer (Just (ApplicationExceptionTrace (InvalidBlock (At (Block {blockPointSlot = SlotNo 18023840, blockPointHash = c9881ce23d270f6b00369017015621e5735f029c8006e2077ab37c54dc7ef4d2})) (ValidationError (ExtValidationErrorLedger (HardForkLedgerErrorFromEra S (S (S (Z (WrapLedgerErr {unwrapLedgerErr = BBodyError (BlockTransitionError [LedgersFailure (LedgerFailure (UtxowFailure (UtxoFailure (OutputTooSmallUTxO [(Addr Testnet (KeyHashObj (KeyHash \"53c493ab318b98d4bd5bfebee157f33a2c2dcf2752e818d558f8867d\")) (StakeRefBase (KeyHashObj (KeyHash \"54251fc51d128c9808585c95f66b0c5146dddf8fafe8dbf13de65774\"))),Value 1500000 (fromList [(PolicyID {policyID = ScriptHash \"9cebd568ac4ad908cdd2d45a52327fc4711911054c9951b90a603303\"},fromList [(\"BerryIndigo\",1)])]))]))))])})))))))))) 200s 200s",String "ErrorPolicyTrace",String "<IP_ADDRESS>:3001"] [Beast:cardano.node.DnsSubscription:Error:135] [2021-02-21 04:13:55.75 UTC] [String "Application Exception: <IP_ADDRESS>:3001 InvalidBlock (At (Block {blockPointSlot = SlotNo 18023840, blockPointHash = c9881ce23d270f6b00369017015621e5735f029c8006e2077ab37c54dc7ef4d2})) (ValidationError (ExtValidationErrorLedger (HardForkLedgerErrorFromEra S (S (S (Z (WrapLedgerErr {unwrapLedgerErr = BBodyError (BlockTransitionError [LedgersFailure (LedgerFailure (UtxowFailure (UtxoFailure (OutputTooSmallUTxO [(Addr Testnet (KeyHashObj (KeyHash \"53c493ab318b98d4bd5bfebee157f33a2c2dcf2752e818d558f8867d\")) (StakeRefBase (KeyHashObj (KeyHash \"54251fc51d128c9808585c95f66b0c5146dddf8fafe8dbf13de65774\"))),Value 1500000 (fromList [(PolicyID {policyID = ScriptHash \"9cebd568ac4ad908cdd2d45a52327fc4711911054c9951b90a603303\"},fromList [(\"BerryIndigo\",1)])]))]))))])})))))))",String "SubscriptionTrace",String "\"relays-new.cardano-testnet.iohkdev.io\""] [Beast:cardano.node.ErrorPolicy:Warning:55] [2021-02-21 04:13:55.75 UTC] [String "ErrorPolicySuspendPeer (Just (ApplicationExceptionTrace (InvalidBlock (At (Block {blockPointSlot = SlotNo 18023840, blockPointHash = c9881ce23d270f6b00369017015621e5735f029c8006e2077ab37c54dc7ef4d2})) (ValidationError (ExtValidationErrorLedger (HardForkLedgerErrorFromEra S (S (S (Z (WrapLedgerErr {unwrapLedgerErr = BBodyError (BlockTransitionError [LedgersFailure (LedgerFailure (UtxowFailure (UtxoFailure (OutputTooSmallUTxO [(Addr Testnet (KeyHashObj (KeyHash \"53c493ab318b98d4bd5bfebee157f33a2c2dcf2752e818d558f8867d\")) (StakeRefBase (KeyHashObj (KeyHash \"54251fc51d128c9808585c95f66b0c5146dddf8fafe8dbf13de65774\"))),Value 1500000 (fromList [(PolicyID {policyID = ScriptHash \"9cebd568ac4ad908cdd2d45a52327fc4711911054c9951b90a603303\"},fromList [(\"BerryIndigo\",1)])]))]))))])})))))))))) 200s 200s",String "ErrorPolicyTrace",String "<IP_ADDRESS>:3001"]
And I am running this command with host-addr as <IP_ADDRESS> because when I am using my VM IP some directly gets shut down
cardano-node run \
 --topology testnet-topology.json \
 --database-path db \
 --socket-path db/node.socket \
 --host-addr <IP_ADDRESS> \
 --port 3001 \
 --config testnet-config.json

Same issue here.
I have the same versions and running under the same configurations and still having that issue.
Please update the curse guide, it makes no sense that most of the configurations you give us are either wrong or obsolete.

Please update the curse guide, it makes no sense that most of the configurations you give us are either wrong or obsolete.

This is a little out of the blue, but can agree, the documentation needs to be updated. Facing the same Dnssubscription error when I followed the documentation. I tried upgrading my cardano node to 1.29.0 and used the config files of that version, and the problems dissappeared.

Obtendo um cardano.node.DnsSubscription:Errornó cardano 1.29.0 Linux. A cadeia não está mais sincronizando, travada em "syncProgress": "99,78". Alguma ideia do que está causando isso?
Também há um aviso cardano.node.ErrorPolicy:WarningErrorPolicySuspendPeer etc.

Você precisa atualizar para 1.30.1 para suportar Alonzo hard-fork ...

Good night, could you teach us how to accomplish this?


$language.withoutPackages

It would be interesting to have python.withoutPackages [ ... ], perl.withoutPackages [ ... ]
Similar to .withPackages in some sense, but removing the packages bundled into python and perl by default.
There are really tons of garbage: support for far-east languages (tens of megabytes), ...

the package that are bundled into python itself are expected by many packages to just exist and are almost never checked if they don't exist.


Latest server.js code breaks HDR

Have you experienced this bug with the latest version of the template?
Yes
Steps to Reproduce
npx create-remix@latest --template remix-run/blues-stack
npm run build
npm run dev

In root.tsx, log anything in the loader to trigger HDR
export const loader = async ({ request }: LoaderFunctionArgs) => {
  const data = {
    foo: "bar",
    foo2: "bar2",
  };
  console.log(data);
  return json({ user: await getUser(request) });
};
// Logs nothing on HDR

Nothing is logged. Stop the dev process and restart --> now the data is logged.
Comment out a line of the object and save
const data = {
    foo: "bar",
    // foo2: "bar2",
  };
console.log(data);
// still logs { foo: 'bar', foo2: 'bar2' } from previous file state

The updated object is not logged. The console indicated that hmr + hdr ran. Even declaring the object outside the loader doesn't resolve it.

Using the server.ts from before #221 resolves the issue, but I don't know enough about what's going on to give any more helpful info.
Thanks!
Expected Behavior
Changing code inside loaders or used inside loaders should rerun loaders with new code.
Actual Behavior
Changing code inside loaders or used inside loaders does not rerun loaders with new code, and a full server restart is required to see changes.

I had the same issue, and https://github.com/remix-run/blues-stack/pull/222 fixed it.


ASU-1378 | Hide queue position when lottery hasn't been executed yet

Hide queue position if lottery hasn't been executed yet
Rename ApartmentReservationSerializer to SaleApartmentSerializer ( there were two ApartmentReservationSerializer classes)

Codecov Report

Merging #184 (7d12fbb) into develop (19c0b7c) will decrease coverage by 0.11%.
The diff coverage is 90.81%.

@@             Coverage Diff             @@
##           develop     #184      +/-   ##
===========================================
- Coverage    94.83%   94.71%   -0.12%
===========================================
  Files          100      100
  Lines         3057     3120      +63
  Branches       250      254       +4
===========================================
+ Hits          2899     2955      +56
- Misses         114      117       +3
- Partials        44       48       +4

Impacted Files
Coverage Δ

application_form/services/lottery/utils.py
100.00% <ø> (ø)

application_form/models/reservation.py
92.00% <73.33%> (-3.35%)
:arrow_down:

application_form/services/application.py
94.11% <77.77%> (-3.85%)
:arrow_down:

application_form/api/serializers.py
99.04% <95.45%> (-0.96%)
:arrow_down:

apartment/api/sales/serializers.py
100.00% <100.00%> (ø)

application_form/api/sales/serializers.py
100.00% <100.00%> (ø)

application_form/api/sales/views.py
97.59% <100.00%> (+0.36%)
:arrow_up:

application_form/enums.py
100.00% <100.00%> (ø)

application_form/models/application.py
100.00% <100.00%> (ø)

application_form/services/lottery/hitas.py
100.00% <100.00%> (ø)

... and 1 more

Continue to review full report at Codecov.

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


Add interactive-test-runner

This adds an alternative test runner which prints the currently running tests and how long they are running for. See screenshot:

  File "./contrib/devtools/interactive-test-runner.py", line 237, in <module>
    main()
  File "./contrib/devtools/interactive-test-runner.py", line 232, in main
    tests_order=tests_order
  File "./contrib/devtools/interactive-test-runner.py", line 100, in __init__
    self.repo_root = self.find_git_root()
  File "./contrib/devtools/interactive-test-runner.py", line 115, in find_git_root
    return self.run_command('git', 'rev-parse', '--show-toplevel')
  File "./contrib/devtools/interactive-test-runner.py", line 111, in run_command
    proc = subprocess.run(args, capture_output=True, encoding='utf8', check=True, **kwargs)
  File "/usr/lib/python3.6/subprocess.py", line 403, in run
    with Popen(*popenargs, **kwargs) as process:
TypeError: __init__() got an unexpected keyword argument 'capture_output'

As far as I know this is exactly the same but will work on most of the platforms (also check_output is the idea behind check=True and capture_output=True):
index 866a90e9a..f95d824e3 100755
--- a/contrib/devtools/interactive-test-runner.py
+++ b/contrib/devtools/interactive-test-runner.py
@@ -108,8 +108,8 @@ class InteractiveTestRunner:

     @staticmethod
     def run_command(*args, **kwargs):
-        proc = subprocess.run(args, capture_output=True, encoding='utf8', check=True, **kwargs)
-        return proc.stdout.strip()
+        proc = subprocess.check_output(args, encoding='utf8', **kwargs)
+        return proc.strip()

     def find_git_root(self):
         return self.run_command('git', 'rev-parse', '--show-toplevel')

@Ruteri changed in 2c15619db0ad872883af1c6e68c829621432d759


Python 3 Support

added Python 3 support, without breaking Python 2
PEP 8 style fixes
cleanups
renamed some by mistake renamed functions

only one doctest is failing for the .info method, but this is also a failure in upstream

Merged milestone-2.x into master, preparing a 2.x release due in August.


Always return empty string

I tried this code:
$sapi = new ShutterstockApiClient();

$search_result = $sapi->search('dog');

var_dump( $search_result );

But it always return an empty string and "Error while getting Access Token".
What can I do?
(I put Consumer Key as $auth_username and Consumer Secret as $auth_key, is it OK?)

I'm sorry about the confusion. This example code points to an outdated version of our API. I would recommend instead looking at https://github.com/shutterstock/php-shutterstock-api.
I will mark this repository as deprecated to avoid further confusion.


Add support for ipv6

Could support for ipv6 be added please?
I see it binds to ipv4 only but ipv6 only hosts won't work for obvious reasons :)
root@es101:/home/paladox# netstat -tuln | grep 9206
tcp        0      0 <IP_ADDRESS>:9206            <IP_ADDRESS>:*               LISTEN

there's no way to configure what to listen on as far as I can find.

Hi @paladox,
Someone requested this a couple of years ago (https://github.com/braedon/prometheus-es-exporter/issues/56), but it's a bit hard for me to implement as I don't have a ipv6 network to test on.
I did try and add support, but didn't have a way to test it: https://github.com/braedon/prometheus-es-exporter/pull/59/files
It's quite a few versions behind now, but should be able to access the old alpha build docker image braedon/prometheus-es-exporter:0.8.0a1. Could you give that a test to see if it works? If so, I can bring it up-to-date an release it properly.
Braedon

Seems this may be fixed with https://github.com/prometheus/client_python/pull/657

Hi @paladox,
Someone requested this a couple of years ago (#56), but it's a bit hard for me to implement as I don't have a ipv6 network to test on.
I did try and add support, but didn't have a way to test it: https://github.com/braedon/prometheus-es-exporter/pull/59/files
It's quite a few versions behind now, but should be able to access the old alpha build docker image braedon/prometheus-es-exporter:0.8.0a1. Could you give that a test to see if it works? If so, I can bring it up-to-date an release it properly.
Braedon

I tested that.
https://github.com/braedon/prometheus-es-exporter/pull/59#pullrequestreview-1099933646


@/PesaYetu Fix TreeView Component

Description
This PR fixes two bugs that were introduced in the PesaYetu application after the HURUMap package migration.

Bug 1:
The application fails to render due to the addition of the generateChoropleth function in the @/hurumap-next package. This function returns null when attempting to render regular maps,  leading to a destructuring operation on null that ultimately causes the maps to fail to render.

Bug 2:
The TreeView component fails to render due the use of a deprecated components.  To resolve this issue, we have updated the implementation to use the SimpleTreeView component.

Fixes #839
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

Screenshots

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation

🚀
Are we still using @mui/lab in PesaYetu?

I've just cross checked in all other components, we only needed @mui/lab for the TreeView, I've removed it from PesaYetu


Incorrect estimation of the gas limit, when wanting to execute an external function in a contract

Describe the bug
Apparently in useDapp, when wanting to execute an external function in a smart contract, it incorrectly estimates the gas limit, causing the transaction to be rejected due to insufficient gas.
To Reproduce
It can be easily reproduced with a contract similar to this one that is deployed on BSC Mainnet which is a pancake yield farm strategy.
https://bscscan.com/address/0x45014e81a703dadDe911a91256c7718809fe448D#writeContract
you can generate the action button in the "Earn" function and verify the gas that is proposed in the metamask wallet, then try to generate the same transaction in the "Earn" function on the bscscan website and verify the gas proposed in the metamask wallet, noting in a simple way that the gas proposed by a website that uses UseDapp will be showing a lower gas limit causing the transaction to be rejected
Software versions
useDapp version 1.1.5
Package manager is NPM
Node version 16.11.1
Additional context

The problem continues despite the fact that this bug has been marked as solved, although you can actually use a "gasLimit" by adjusting it manually, the most advisable thing would be for ethers to do it automatically,
*NOTE, the problem started to appear after adding the limit gas buffer

This issue is actually more widespread than you think. See here: https://github.com/TrueFiEng/useDApp/issues/931

@RetroDefi I am trying to repro it. Do you maybe have a similar contract on a testnet that fails, so I can try it out?

@RetroDefi I am trying to repro it. Do you maybe have a similar contract on a testnet that fails, so I can try it out?
I have been unsuccessful in trying to reproduce the issue so far: #931 (comment)

Understood, I will try to create a contract as quickly as possible so that it can be replicated in testnet, I just did a clean installation of dependencies and apparently it did not happen again with the mainnet contract in which I showed that the problem appeared.
Please do not close the thread yet, until we test more on testnet and see that usedapp works in various scenarios  ;)

Not closing until we are absolutely sure everything works properly.

Not closing until we are absolutely sure everything works properly.

Hello , sorry for the delay in updating , until now I could not replicate it apparently UseDapp works perfectly when estimating the gas again


Grammatical Errors in Bengali Version of Virtualization on CNCF Glossary

Please describe why this term needs to be updated

Grammatical Errors in Bengali Translation of Virtualization on CNCF Glossary
Issue Description
The Bengali translation of the terms in Virtualization on the CNCF Glossary appears to have grammatical errors. Accurate and clear translations are crucial for effective understanding, especially in technical contexts.
Link to the Existing Bengali Translation
Bengali Translation of Virtualization
Why this term needs to be updated?
The terms in Virtualization needs to be updated in the CNCF Glossary to ensure accurate and clear communication of its meaning, especially to non-English speakers. Additionally, updating it helps improve accessibility and understanding for a broader audience, making technical content more inclusive.
Additional Information

Language: Bengali

Your contribution to correcting these grammatical errors will enhance the quality of the Bengali translation on the CNCF Glossary and benefit Bengali-speaking users seeking accurate technical information.
Thank you for your attention to this matter and for helping to improve the quality of translations on the CNCF Glossary.

@Debaditya-Som  you close this now


Remove changes before save

Before saving some changes it would be nice to undo/delete a specific change.

Often a specific changes can only be undone with all following changes.

Often a specific changes can only be undone with all following changes.

OK - but it is not even possible to discard ALL changes. You are forced to save it or it will stay on the list forever.

OK - but it is not even possible to discard ALL changes. You are forced to save it or it will stay on the list forever.

You are forced to save it or it will stay on the list forever.

You can reload browser tab and select option to discard changes or simply undo all of them.

You are forced to save it or it will stay on the list forever.

You can reload browser tab and select option to discard changes or simply undo all of them.

Hello and welcome @Wassini. We're tracking this issue at #3445. I agree it would be a useful feature, but a complex one to implement.


Embedded HTML in tree node

I have a case where I need to have some specially formatted values place in the tree node like:
Something special goes here
Currently it is showing the html encoded string and not the actual html elements. Is there a way to get that to work currently?

Unfortunately, there is no supported way to do this at the moment. If you're in a bind you could use the feat.node-templates branch and create a custom node template that renders the html. Options get much more hacky from there... at least for the moment.

Thanks! That template branch looks promising. I'll check it out soon.

Changing the template from:
'',
'{{ctrl.label(node)}}',
''
to:
'',
''
accomplishes what I need to have happen.


#Question #Feature Take screenshot of entire webpage.

Are you requesting a feature or reporting a bug?
Feature / Question
What is the current behavior?
Take Screenshot is not taking screenshot of entire webpage.
What is the expected behavior?
Take Screenshot takes screenshot of entire webpage.

Hi @alltheoptions,
We have such proposal in the #1520 issue. Can you add 👍 to it, please? We usually give higher priority to voted issues.

@AlexanderMoskovkin hello, thank you.
Do you realize we can automate github registration and vote the issue also?::) 📦

I think we will detect it 😁


tensorboard failed  on win 10

I tried to use tensorboard(win10+python3.5.2+tensorflow-gpu 1.1.0), but failed with the error:

(module 'tensorflow' has no attribute 'make_tensor_proto')
but I tried on win 7 with the same events, and succeed.(win7+python3.5.2+tensorflow-gpu 1.0.1)

Is there a bug?

There are a few setting works the best with Windows 10 under specific cuDNN and CUDA library.

@printdhruv , thank you. but I think it has nothing to do with cuDNN and CUDA. there is no any gpu computation in this case.

@micklexqg If I am understanding it correctly then you are mentioning tensorflow-gpu 1.1.x which must have cuda support along with specific .dll.
Also,you are using two different versions of tensorflow-gpu for windows 7 and windows 10!
From screenshot it seems tensor flow is not recognizing the some attributes which might be different in two versions of 1.1.0 and 1.0.1
Please follow template here along with your source code in order to get things clear!

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue? Please update the label and/or status accordingly.


Publish forceUpdate method

I tried to use the forceUpdate method, but it was a private class method, so I couldn't use it.
Therefore, I declared it as a public method of the Signal class.

This is not a public api because of how the library works and schedules updates.
If you check the value signal there is a method you can use to trigger and update on a change if the object reference is the same:
https://github.com/rodydavis/signals.dart/blob/main/packages/signals/lib/src/value/list_signal.dart

When using toValueNotifier to create a Listenable like GoRouter's refreshListenable, I thought of a way to create a Signal and force a refresh with 'forceUpdate'.

OK! The combinaison with a Router should a be good exemple included with the lib.

There is an example already btw:
https://github.com/rodydavis/signals.dart/blob/896f0fb8a1c63c33a1e5200abaa0078baadc4f77/examples/auth_flow/lib/main.dart#L50
You could not have to call the force update to refresh, just use a computed listening for a value

It might be useful in many ways to be able to completely control refresh, rather than having it generated by computed based on complex conditions.
In another example, it may be useful to use a tracking Signal to track button taps. If you cannot forceUpdate, you will need to pass a different value for each tap.
However, I'm not too particular about it, so if it's not needed, I think you can just delete the forceUpdate item from the document.

Or it might be a good idea to just create one where the comparison is always false.

I will remove the public method from the api and docs and just make it a private one.
I think it will cause too much confusion/misuse

forceUpdate is published on 1.5.0 but only for ValueSignal


Getting 403 error for rest endpoint

Hi ,
We are migrating a spring boot application to 3.1.1 version and with xsuaa 3.0.1

		<dependency>
			<groupId>com.sap.cloud.security.xsuaa</groupId>
			<artifactId>xsuaa-spring-boot-starter</artifactId>
			<version>${sap.cloud.security.version}</version>
		</dependency>

And from endpoint i am getting below erro
2023-07-12T13:27:39.204Z DEBUG 7 --- [nio-8080-exec-4] o.s.security.web.FilterChainProxy        : Securing GET /error
2023-07-12T13:27:39.207+0000 [APP/PROC/WEB/0] STDOUT 2023-07-12T13:27:39.207Z DEBUG 7 --- [nio-8080-exec-4] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
2023-07-12T13:27:39.207+0000 [APP/PROC/WEB/0] STDOUT 2023-07-12T13:27:39.207Z DEBUG 7 --- [nio-8080-exec-4] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
2023-07-12T13:27:39.209+0000 [RTR/0] STDOUT espm-jdk11-espm-product-svc.cfapps.eu10-004.hana.ondemand.com - [2023-07-12T13:27:38.741164355Z] "GET /product.svc/api/v1/products/ HTTP/1.1" 403 0 0 "https://espm-jdk11-espm-gateway.cfapps.eu10-004.hana.ondemand.com/webapp/webshop/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36" "<IP_ADDRESS>:44492" "<IP_ADDRESS>:61039" x_forwarded_for:"<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>" x_forwarded_proto:"https" vcap_request_id:"7d6032a6-1529-48ca-5e73-f1710c64cb56" response_time:0.468339 gorouter_time:0.000032 app_id:"1dbb8a49-6438-427c-9cc6-49483937c062" app_index:"0" instance_id:"9ce047fc-e072-4462-4a8f-14cb" x_cf_routererror:"-" x_correlationid:"32208cf3-114e-41d4-7f6d-d9e23f874f82" tenantid:"-" sap_passport:"-" x_scp_request_id:"0714e1df-5439-4f75-a096-e3adac9456d4-64AEAA4A-325B36A" x_cf_app_instance:"-" x_forwarded_host:"espm-jdk11-espm-gateway.cfapps.eu10-004.hana.ondemand.com" x_custom_host:"-" x_ssl_client:"-" x_ssl_client_session_id:"-" x_ssl_client_verify:"-" x_ssl_client_subject_dn:"-" x_ssl_client_subject_cn:"-" x_ssl_client_issuer_dn:"-" x_ssl_client_notbefore:"-" x_ssl_client_notafter:"-" x_cf_forwarded_url:"-" traceparent:"-" x_b3_traceid:"0c12595ea8abc0ec68582429718e9ea4" x_b3_spanid:"68582429718e9ea4" x_b3_parentspanid:"-" b3:"0c12595ea8abc0ec68582429718e9ea4-68582429718e9ea4"
We are new to this ,kinldy help us ,here ?
Thanks and Regards,
Vanita

Hello,
Thank you for reaching out for help. Based on the error message you provided, it seems that you are getting a 403 error when trying to access the endpoint of your Spring Boot application. This error typically indicates that the client does not have the necessary permissions to access the requested resource.
To troubleshoot this issue, you may want to check the configuration of your security module and ensure that the client has the necessary scopes to access the endpoint. You may also want to check the logs of your application to see if there are any additional error messages that could provide more information about the cause of the issue.
If you need further assistance, please let me know and I will be happy to help.
Kind Regards,
Liga

Hi ,
Thank you for the quick response
code : https://github.com/VanitaDhanagar/cloud-native-spring3.1
error files :
espm-product-svc-2023-07-12 13_28_21.900+0000.txt
espm-gateway-2023-07-12 13_27_47.958+0000.txt
Thanks and Regards,
vanita


Remove execute bit from most files in repo

"Repo janitor" task that should be done at some point. Only install.sh and DoSPDX.py should be executable.

Fixed commit ref: https://github.com/socs-dev-env/DoSOCS/commit/bc8a56d5f1d7a0a67a85b86eec92250413e68de3


when input chinese autosuggestion will make chinese to spacing

m3pro
macos 14
first：

second press 1
and it will be a spacing

i don't know i express this clear
and how to disabled the suggestion when i typing Chinese

Uploading 未命名.mp4…

https://github.com/user-attachments/assets/c662368e-4651-448b-8013-7e924312f315


refactor(persistQueryClient): Make persistQueryClient stable

Rename Persistor -> Persister
Remove experimental from persistQueryClient

@TkDodo Should I update the docs as well?

@TkDodo Should I update the docs as well?

yes please. And also, we have a migration to v4 guide, where it would be good to mention that this is now stable

@TkDodo This is GTG from my side now, have renamed all the plugins, updated the docs, and also added this change to the migration guide. I have also created a sandbox that uses the build from this PR, with these renamed plugins if you want to test it out.


Broken link on https://baremaps.apache.org/documentation/

The https://baremaps.apache.org/documentation/ page has a navigation menu on the LHS
The Developer manual/Basemap link does not work; the href attribute is missing

Thanks a lot, this was a left over from a previous commit. The basemap page has been move up (right after the introduction).


Validate input formats

Validate the input data before processing and issue an error that describes the problem with steps to correct it.

Need to validate Google Ads account ID


Popup dialogues (images, settings menus) don't open.

Pop-up dialogues, including the settings icon, the buttons in the chat input box, images, don't work.

For English (US), the only difference is "Active contacts" becomes "Active Contacts". Language support was created in #3, so we can add the strings Messenger call that feature for every locale. I'm also now comparing the strings in lower case. It was blocking the rendering of the settings menu, and inside the active contacts area is the user's avatar, so it fixes #9 as well.
Will publish on the Chrome store now.


Large worlds render slowly

Areas larger than the screen spend CPU time trying to draw tiles that are not even onscreen.
https://github.com/seisatsu/Driftwood/blob/35d8dce45e514e4726b0a9fc8a8c3d8808b90499/src/areamanager.py#L156
Driftwood should only try to draw tiles that will appear onscreen. It can calculate a rectangle of tiles that will appear on the viewport and only loop over those.
https://github.com/pmer/TsunagariC/blob/1f5eeb41a7267478782885f77899753937a6a4f9/src/core/area.cpp#L141

Isn't this a duplicate of #157?

Oh, perhaps I am misunderstanding #157? I thought #157 was for the time it takes an area to initialize as you are first loading it.
I mean for this issue, #159, to be about the time it takes to draw each frame.

This issue applies to all areas with a width or height larger than the viewport, so that the viewport has to scroll the area.
Right now, we run the following code on every tile in the area:
tile = tilemap.layers[l].tiles[t]
Driftwood.frame.copy(tile, ...)

However, we actually know in advance that any tile outside the viewport will not appear onscreen, so we can skip calling copy() in those cases.
One should be able to compute the left-most, right-most, top-most, and bottom-most position of tiles that can appear onscreen and only call copy() on them.

If a viewport is 10x10 tiles, we only need 100 calls to copy() per frame. (A few more than 100 if we are currently scrolling between tiles.) In an area that is 30x30 tiles, that saves 900 - 100 = 800 calls to copy() each frame, or 89% of the calls. The larger the area, the more significant the savings.

Ah, I suppose this could be called graphical occlusion?

Would you like to work on this one?

@seisatsu Can I require that a tilemap and its associated tilesets share the same tile width and height?


No buffer displayed on macOS iTerm2

I was expecting cride to work like nano?

It is likely because of missing bindings in https://github.com/j8r/cride/blob/master/src/libc/ioctls.cr, which are used to get the terminal size.

No idea, cride is mainly a pet project of mine, don't expect much reliability anyway.


Feature/fix regression tests

Testing purposes, not an actual PR yet

Coverage decreased (-0.05%) to 15.512% when pulling f3cac81fedc3bb96ca071106ab019ff09c7d8ca3 on feature/fixRegressionTests into 12b32af2ec0f45f32f9ec598b861fea61f1e3012 on develop.

Coverage decreased (-0.05%) to 15.512% when pulling f3cac81fedc3bb96ca071106ab019ff09c7d8ca3 on feature/fixRegressionTests into 12b32af2ec0f45f32f9ec598b861fea61f1e3012 on develop.


Checkboxes and radio buttons z-value off?

 Possibly other classes are affected too?

Should be fixed in: https://github.com/mubaidr/bulma-fluent/commit/d0746070bc48260cda99abb7759736a512c9210c

Rocking on! 👍

New look (including the messages) looks great! Thanks!


r-mvtnorm: add libiconv to buildInputs

Motivation for this change
Fixes build failure with ld: library not found for -liconv
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] 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/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@peti just wanted to put this on your radar again. I'm getting good use from this fix and it seems to me worth merging.


line history loses the line range after first click

GitLens Version: 9.5.1
VSCode Version: 1.31.1
OS Version: Linux

Steps to Reproduce:

select a range of lines
go to Line History, see the list of commits affecting these lines
click any commit

Expected results: the Line History doesn't change, allowing you to click other commits for the range and see the changes for the selected range of lines (see how CLion does that, Git->Show History for Selection)
Actual results: Line History loses the range and doesn't show all commits anymore, instead it shows only of the lines in the selected commit and (I guess) a list of commits corresponding to that line.

That is basically by design, since automatic tracking is enabled by default. Although you can toggle on/off the automatic tracking at anytime:

And the view won't change until you manually refresh or unpause tracking.
Hope that helps.

@enerjazzer if you think this was helpful, consider adding a reward to this issue using speedoss.com to support the issue solver for their work :)


Remove Google.Chrome 122.0.6261.95 to Google.Chrome.EXE 122.0.6261.95

Microsoft Reviewers: Open in CodeFlow

URL: https://dl.google.com/release2/chrome/lyr5naqwq5mt4b7iivfce2byny_122.0.6261.95/122.0.6261.95_chrome_installer.exe
Status code: 200
(Automated message - build 612)


I cannot open crouton on my chromebook

Please describe your issue:
So my issue is that I cannot open Crouton when I go into developer mode and try to open it with the terminal. When I do any kind of command that would open files via the terminal, it just says
sh: 0: Can't open home/chronos/user/Downloads/crouton
Any and all help would be appreciated, because I would very much like to be able to play steam game son this thing. I have a samsung chromebook model (I can't remember the exact model but it's a more recent model) that has an intel processor, which I have been informed will work with crouton.

I had the same issue. It is probably that you moved crouton into a subfolder. I had done the same thing, though I didn't realize that until I reinstalled it.

Duping to: https://github.com/dnschneid/crouton/issues/360#issuecomment-401499186


[FEA] support latest version of Iceberg such as 1.2

Is your feature request related to a problem? Please describe.
Currently, Spark for Rapids supports Iceberg 0.13.x, it doesn't say anything about later versions of Iceberg. Users(myself included) may assume that later versions of Iceberg are supported.
However after some experiments, running rapids with Spark 3.3.1 + Iceberg 1.2(the latest release) doesn't work.
From the surface, there are two problems of running rapids with new versions of Iceberg:

isMetaScan assumes tasks is always CombinedScanTask, which isn't true any more in later versions.

  public static boolean isMetadataScan(Scan cpuInstance) throws IllegalAccessException {
    List<CombinedScanTask> tasks = (List<CombinedScanTask>) FieldUtils.readField(cpuInstance, "tasks", true);
    if (tasks == null || tasks.isEmpty()) {
      return true;
    }
    Iterator<FileScanTask> taskIter = tasks.get(0).files().iterator();
    return !taskIter.hasNext() || taskIter.next().isDataTask();
  }

This could be easily solved by applying some patches:
  public static boolean isMetadataScan(Scan cpuInstance) throws IllegalAccessException {
    List<FileScanTask> tasks = (List<FileScanTask>) FieldUtils.readField(cpuInstance, "tasks", true);
    if (tasks == null || tasks.isEmpty()) {
      return true;
    }
    Iterator<FileScanTask> taskIter;
    if (tasks.get(0) instanceof CombinedScanTask) {
      taskIter = ((CombinedScanTask) tasks.get(0)).files().iterator();
    } else {
      taskIter = tasks.iterator();
    }
    return !taskIter.hasNext() || taskIter.next().isDataTask();
  }

due to interface changes, Iceberg batch scan cannot be converted GPUBatchQueryScan, therefore it's fallback to cpu version of scan.

        !Input <SparkBatchQueryScan> cannot run on GPU because conversion to GPU scan failed: org.apache.iceberg.BatchScanAdapter cannot be cast to org.apache.iceberg.TableScan
        @Expression <AttributeReference> partition_time#18L could run on GPU
        @Expression <AttributeReference> metric_info#42 could run on GPU

The second one is the bigger one, it requires large code refactor and solve Iceberg support systematically, such as shim different iceberg versions similar with how spark versions are handled.
Describe the solution you'd like

support latest versions of Iceberg if possible and prioritize it.
If rapids team are busy with other features and format support, do you have any estimate time when Iceberg support would be picked?

Describe alternatives you've considered
No
Additional context

Hi @advancedxy, apologies for the late reply.  In the near term we are not working on Iceberg.  If this is something important to your project, please let us know more or set up a meeting with us by contacting<EMAIL_ADDRESS>


Test classes with @Ignore are still run.

Let's say you have this test class:
@Ignore
class TestClass {

    @Test
    fun aTestMethod() { .. }
}

I would expect that aTestMethod() is not executed in flank runs, yet I see it being executed. It seems that the test methods, and not the class, need to be annotated.
Expected behavior
An @Ignore annotation on the test method or class should result in the methods not being ran. If at the class level, then no test in that class should execute.

@inktomi I'd love to accept a pull request for this feature! Currently we @Ignore at the method level. I agree @Ignore at the class level would make sense as well.


Sort target ports when building ServiceInstances

For https://github.com/istio/istio/issues/36434
One port can only talk one protocol. This make selection of protocol stable if user have multiple services port pointing to the same target port with different protocols.

@bianpengyuan: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-k8s-tests_istio
7e9835f29aa9889d0fbfd1baa36c4a2d24cc9676
link
true
/test integ-security-k8s-tests_istio

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.

One thing I do not fully understand there - which one wins? is it just the
first one?
On Tue, Dec 14, 2021 at 10:32 AM Pengyuan Bian @.***>
wrote:

@.**** commented on this pull request.
In pkg/config/protocol/instance.go
https://github.com/istio/istio/pull/36462#discussion_r768939334:

+var ProtocolOrder = map[Instance]int{

UDP: 1, Unsupported: 2, TCP: 3, TLS: 4, HTTPS: 5, MySQL: 6, Redis: 7, Mongo: 8,
Thrift: 9, HTTP: 10, HTTP_PROXY: 11, HTTP2: 12, GRPC: 13, GRPCWeb: 14,

If user have http2 and grpc, which works perfectly fine before, and should
not be downgraded.
I agree this is confusing, and I cannot find a clear way to set protocol
precedences. Probably we should go back to the original commit to just
remove protocol from target port dedup: 7e9835f
https://github.com/istio/istio/commit/7e9835f29aa9889d0fbfd1baa36c4a2d24cc9676.
It's a clean change and makes user service behave consistently, which is
strictly better than before where service could be broken or work in
different ways randomly. @howardjohn https://github.com/howardjohn wdyt?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/36462#discussion_r768939334, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXJGAXBBTH3VNW5C733UQ6ESRANCNFSM5JYPYECA
.
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.

One thing I do not fully understand there - which one wins? is it just the
first one?

Yeah, with https://github.com/istio/istio/commit/7e9835f29aa9889d0fbfd1baa36c4a2d24cc9676 it will be the first one at service spec.

@bianpengyuan: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-k8s-tests_istio
7e9835f29aa9889d0fbfd1baa36c4a2d24cc9676
link
true
/test integ-security-k8s-tests_istio

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.

Also probably worth a release note

Also probably worth a release note

added a release note.

@bianpengyuan: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-k8s-tests_istio
3ac930d554499685a963c52c316bf8fde56f1cde
link
true
/test integ-security-k8s-tests_istio

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.


Throughput decreases when # threads is a multiple of 3

I am evaluating DPUCZDX8G_ISA1_B4096 on ZCU102 Vitis AI 2.5. When I use # threads which is a multiple of 3, the performance decreases. The issue can be replicated using resnet_mt_py example in VART offered here. I also evaluated multiple custom models using different # threads in range [1,9] and obtained the same result. Whenever I use # threads = 3, 6, or 9, the performance sees a drop. I'm assuming it was to do with the fact that this DPU IP uses 3 DPU cores. I noticed on VAI profiler that DPU 3 always performs the worst and DPU 1 always performs the best in terms of throughput.
The following plot shows the performance of several custom models (on primary vertical axis), and resnet50_mt_py in red color (on secondary vertical axis), when evaluated using different number of threads.

Hi afzalxo
Assuming you are using the ZCU102 board with Xilinx provided 3 dpu cores image.  In your statement, you mentioned  "DPU 3 always performs the worst and DPU 1 always performs the best in terms of throughput", which aligns with expected result.  For more details, please refer to this hpc
When HPC0 or HPC1 port is used to connect the DPU, the HPC hardware cache-coherency mechanism may consume DPU bandwidth either on the AXI bus or in memory, resulting in increased DPU latency on the HPC port. To address this issue, it is suggested to follow the provided recommendation to disable HPC hardware cache-coherency.
Btw,  the DDR Quality of Service (QoS) is listed as another known issue that can potentially improve the frames per second (FPS) as well

Closing since no activity for more than 1 month, please reopen if you still have question, thanks


Variable renaming

Rename variables for better code readability. The codebase uses a lot of abbreviations for variable names, which makes reading the code unnecessarily complex. This PR mostly changes g and tr, which correspond to gene and transcript for the most parts, but there are also cases, where tr was used for transcriptomes or exon lists.

[!WARNING]
This can break backwards compatibility for custom filter rules. Rules need to also change their expression from g and tr to gene and transcript

Fix typos
The first commit also added very few type hints to the code. These help when coding, since the IDE has an easier time to show relevant information on hover or suggestions for auto-completes.
Added strictness parameter to splice_identical, which allows to specify a threshold. Two transcripts with a difference larger than strictness for TSS or PAS are no longer considered splice_identical. Parameter defaults to infinity, so default behaviour is unchanged.

Thank you so much for all the patience and efforts to make it easier to understand the code! Hope we don't miss anything that should be changed.🤞

Added more renames based on your feedback. Didn't want to go all in with all ol variables, because there's a lot of them and I think it's better if we get the current changes in first.

Also adding more commits here, means I have to rebase my changes on my TSS feature branch more often. See #1

Thank you for all the efforts. Please go ahead and merge the changes.


error

terminate called after throwing an instance of 'Xbyak::Error'
what():  opmask is already set
Aborted (core dumped)

What OS, CPU, compiler and code do you use?

What OS, CPU, compiler and code do you use?

I am using xbyak to calculate matrix multiplication, but other parts call the MKL library. When the program runs to the MKL library, an error will be reported

The error occurs from a code like vaddps(xmm1|k2|k3,xmm2, xmm3); because it is forbitten.
I think that there is such a code in your source and please verify it.


labelColor and foregroundColor are optional fields for the pass json. But required by this library

Killed couple of days by figuring this out

Please some one answer or solve this issue. It is really driving me crazy.

@SaudElabdullah Hello. This issue resolved in 1.2.1 version. In model this fields are optional

Were we discussing another bug you can reopen this issue or make a pr with fix.


Undo rescheduling task via snackbar action.

Fixes #133.

Coverage increased (+0.6%) to 50.752% when pulling 9848051bf56b97b0cf2e19df656235233d19219d on TOA-133/undo_reschedule_task into 6d72aa49a1403689aef988bdad17f8d9764c7b3d on development.


ModSecurity braking cetain (login) requests in DetectionOnly mode

Hello,
I have found that after installing MS, that several applications will no longer process logins correctly. It appears that certain requests have tokens\hashes (e.g. CSRF tokens) stripped out of them (quite undesirable!) This affected several applications across several implementations (PHP, Java, FCGI, ARR, etc).
This behaviour ceased only with SecRuleEngine set to Off.
I have no other events or unusual configuration* to report. A new installation which was normal and no errors were reported.
IIS 8
Win Server 2012 v6.2 b9200
ModSecurity v3.0.0
*I did upgrade the rules to v3 but considering it is not supposed to be acting on anything this is moot.
(I'd wager this is affecting #1642)

Hi!
I'm using ModSecurity as a module in IIS. While it does act as a proxy for some sites. this behaviour was observed in proxied and unproxied sites.
Considering I haven't customised the rule set. Is it ok to upload here?

Hi there,
I'm observing the same behavior.
I run an ASP.NER MVC website in IIS on Win Server 2012.
Straight vanilla install of 2.9.2 ModSecurity without even adding CRS v3, - only what comes out of box with ModSecurity.
Same as feamsr00, I set:
SecRuleEngine DetectionOnly
Simple get requests render pages fine, but any POST'ing ends up with an error along the lines of:
====================================
Server Error in '/' Application.
A public action method 'BlahBlahAction' was not found on controller 'MyWebApplication.Web.Controllers.CommonController'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: A public action method 'BlahBlahAction' was not found on controller 'MyWebApplication.Web.Controllers.CommonController'.
Source Error:
Line 20: @section top {
Line 21:     @Html.Partial("../Misc/Background")
Line 22:     @Html.Action("BlahBlahAction", "Common")
Line 23: }
Line 24:
Someone suggested setting "SecStreamInBodyInspection On" here: https://serverfault.com/questions/456900/does-modsecurity-2-7-1-work-with-asp-net-mvc-3/482478#482478
I tried and confirm that it fixes the issue, but no idea why. In the same post they mention that they raised this issue and provide a link, but the link is broken. This is why I am here - I was looking for an open issue and stumbled upon this one that seems to be about the same problem.
Regards.
Oleg.

Can confirm. Running default ModSecurity 2.9.2-64b install with IIS 8.5.9600.16384 on Server 2012 R2 with the March updates. ASP sites with forms auth and Wordpress sites were just going back to the login screen - even with it set to detection only mode. Nothing in the event logs. Setting "SecStreamInBodyInspection" as suggested in Oleg's post resolved the issue.

Yes, setting SecStreamInBodyInspection to "On" should solve the issue.
Thanks for your help @okazakov :)

Whoa, slow down there @victorhora. That might be a workaround but that doesn't make any semantical sense as a solution.
SecStreamInBodyInspection (which is only documented to be appropriate up to ver 2.9.x) seems to be designed as a way to widen visibly into incoming data. Which I would assume would allow richer analysis in some way. That said, there remains no meaningful reason why the DO mode (a mode which should have ZERO side effects) would require that flag to function correctly. Moreover, without a reason why DO should require SecStreamInBodyInspection, I'm not grasping why this issue shouldn't be corrected and fixed instead of closed and dismissed.
Perhaps I'm missing something but may I ask you to just elaborate on the rational to close this bug?

In a further effort to be helpful, if you closed this bug report in an effort to triage issues, might I suggest instead using a "Has-Workaround" label?

@feamsr00 Please bear in mind that the for the IIS build, we currently recommend setting SecStreamInBodyInspection to On. This feature will be enabled by default in 2.9.3 (See #1299).
The problem with the slowdown with the uploads is not present anymore since afae690 (issue #1366), so it should be safe to add this for most environments.
The issue is closed due to the workaround being fit for most people as so far we haven't stumbled upon any complaints that SecStreamInBodyInspection not being an usable solution for IIS builds.
Please notice that ModSecurity 2.x (including the IIS version) is in maintenance stage. At this stage the focus for v2 is only for fixing security issues and major bugs. So the focus of development of new features and major improvements is directed for the 3.x branch and not for 2.x.
So the case of requiring SecStreamInBodyInspection for IIS is not considered a major v2.x bug that warrants halting v3.x development for fixing it.
You can expect that this workaround will not be necessary once we have an IIS-Connector for libModSecurity (v3.x).
Thanks for your contribution.

In a further effort to be helpful, if you closed this bug report in an effort to triage issues, might I suggest instead using a "Has-Workaround" label?

I like the idea of a "Has-Workaround" label as we can use it for other issues. Done. Thanks!


Show uploaded image preview in profile edit section

Is your feature request related to a problem? Please describe.
Log in and go to profile edit section. When a new photo is uploaded a preview of the uploaded photo is not shown.
Describe the solution you'd like
Show a preview of the uploaded photo to improve user experience.
Additional context

@Tanish0019 Please review the PR 👍


Custom template causes a bash error, but only when used locally

I asked for help in the forum (https://forum.vuejs.org/t/my-custom-vue-cli-template-causes-a-vue-cli-bash-error-but-only-when-used-locally/9804) but nobody responded so I'm opening this issue.
I forked the vue-cli webpack template a few months ago:
https://github.com/JauntyTech/vue-webpack-template-plus
and I have kept it up-to-date with the official webpack template by merging in updates every month.
The template only adds a few options that, when enabled, add files to the repo like a dummy Vuex store and Element UI styles.
Recently, I tried running the test.sh script, in which the first step is to create a test project from the template like this:
./node_modules/.bin/vue init . test

and vue-cli fails with this error:
   vue-cli · Parse error on line 44:

...se exit [ 1, true ]
----------------------^

Expecting 'OPEN_INVERSE_CHAIN', 'INVERSE', 'OPEN_ENDBLOCK', got 'EOF'

What's weird is that this error occurs whenever I use my local clone of the template repo (2nd example below), but not when used from the GitHub repo (1st example below):
✘-1 ~/projects
05:35 $ vue init JauntyTech/vue-webpack-template-plus thing1

? Project name thing1
? Project description A Vue.js project
? Author Jan Van Bruggen<EMAIL_ADDRESS>? Vue build standalone
? Install vue-router? Yes
? Use ESLint to lint your code? Yes
? Pick an ESLint preset Standard
? Setup unit tests with Karma + Mocha? Yes
? Setup e2e tests with Nightwatch? Yes
? Use the Element library of UI components? Yes
? Enable Pug to pre-process Vue component templates? Yes
? Enable Sass to pre-process Vue component styles? Yes
? Use Vuex to manage application state? Yes

   vue-cli · Generated "thing1".

   To get started:

     cd thing1
     yarn
     npm run dev

   Documentation can be found at https://vuejs-templates.github.io/webpack

✔ ~/projects
05:35 $ vue init ./jaunty/vue-webpack-template-plus/ thing2

? Project name thing2
? Project description A Vue.js project
? Author Jan Van Bruggen<EMAIL_ADDRESS>? Vue build standalone
? Install vue-router? Yes
? Use ESLint to lint your code? Yes
? Pick an ESLint preset Standard
? Setup unit tests with Karma + Mocha? Yes
? Setup e2e tests with Nightwatch? Yes
? Use the Element library of UI components? Yes
? Enable Pug to pre-process Vue component templates? Yes
? Enable Sass to pre-process Vue component styles? Yes
? Use Vuex to manage application state? Yes
   vue-cli · Parse error on line 44:
...se exit [ 1, true ]
----------------------^
Expecting 'OPEN_INVERSE_CHAIN', 'INVERSE', 'OPEN_ENDBLOCK', got 'EOF'

Any help is appreciated! :) Thanks.

What version are you on?

2.8.1

Woohoo! Three point oh. Here we go.


northd: Fix issues for Forwarding_Group

The use of variables from the outer loop in the inner loop causes the outer loop to terminate prematurely.
eg. LVS are three fwgs, fwg1(p1,p2,p3,p4),fwg2(p11,p22),fwg3(p31,p32),only fwg1 in logical_flows

Thanks for the patch.  I'll take  a look.

@ZhangQiang3  Can you please provide your Signed-off-by tag ?
You just need to update the commit message with the below line and update this PR
Signed-off-by: Author Name<EMAIL_ADDRESS>Please see https://docs.ovn.org/en/latest/internals/contributing/submitting-patches.html
Thanks

Thank you for the PR.  I manually pushed this PR.  I  added your name to the AUTHORS list and applied with the below changes :
diff --git a/northd/northd.c b/northd/northd.c
index be1a1e288b..fe7753f824 100644
--- a/northd/northd.c
+++ b/northd/northd.c
@@ -7922,7 +7922,7 @@ build_fwd_group_lflows(struct ovn_datapath *od, struct lflow_table *lflows,
struct ds actions = DS_EMPTY_INITIALIZER;
struct ds group_ports = DS_EMPTY_INITIALIZER;

for (int i = 0; i < od->nbs->n_forwarding_groups; ++i) {

for (size_t i = 0; i < od->nbs->n_forwarding_groups; ++i) {
const struct nbrec_forwarding_group *fwd_group = NULL;
fwd_group = od->nbs->forwarding_groups[i];
if (!fwd_group->n_child_port) {
@@ -7964,7 +7964,7 @@ build_fwd_group_lflows(struct ovn_datapath *od, struct lflow_table *lflows,
ds_put_cstr(&group_ports, "childports=");
for (size_t j = 0; j < (fwd_group->n_child_port - 1); ++j) {
ds_put_format(&group_ports, ""%s",",

                    fwd_group->child_port[j]);

                     fwd_group->child_port[j]);
   }
   ds_put_format(&group_ports, "\"%s\"",
                 fwd_group->child_port[fwd_group->n_child_port - 1]);


fix: fixed package version and build assets

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


computeStickyModel: check token cancellation because it signals that the model is disposed

Fixes https://github.com/microsoft/vscode/issues/180702

This guy could also check its cancellation token because the model it wants to use is disposed but I don't know the contract that RangeProvider's compute has for returning Promise<null>


Add take(first:) operator to Observable

Adds a observable.take(first: n) operator which allows only receiving up to n values from an observable stream.

Love it!


[automated] Update Lotus version in API tests

Changes

Updates Lotus version in the JSON-RPC API tests to the latest release.

It should target main


Add a public API to expose allocation reports

This PR adds a public API that exposes enough information for users to build something like the block visualizer without the egui integration. It also adds an offset field in the allocation report.
I would like to integrate (and expose in some form) this in wgpu to debug memory leaks.
The report could expose more information (for example properties of the memory and stack traces) and I haven't added any documentation yet, but it's a good basis for discussing whether the project is OK with exposing something like this and whether the approach is good.

Tracks towards #203 so very welcome.

I made a few notable changes:

Added some doc comments
reexported AllocatorReport and friends at the crate level so that it's actually public
Moved the debug implementation of the two allocators into the report (allocators debug impl now just call generate_report().fmt(f)).

I added metal and made a few other adjustments from the review comments. I still haven't added information about the memory blocks to the report. To do that I need to spend a bit of time looking at each backend, finding the common denominators and storing the right info in the right places for the report to pick up. It's not much but because I am currently juggling a lot of tasks on different projects I'm having some difficulty finding the time to wrap my head around that bit.
Would you be OK with landing the current feature set?
Should I bump the patch version in this PR?

Should I bump the patch version in this PR?

I'm sure wgpu has special release processes that don't like arbitrary PRs bumping the version either :wink:

We currently have a CI failure related to the whole metal-rs "debacle" that might be blocking the merge of this PR. We'll have to resolve that first before this can be merged.

I don't think there's a specific rule about that but since wgpu's release process is fair bit more involved than most crates, it indeed tends to be done in isolation.

So is ours, and I think for every crate it's a much nicer policy to have an explicit "Release XXX" commit in their history rather than doing it within a feature PR.

@nical would you mind to sign your commits?

@nical JFYI, despite being subscribed to this repo and PR I don't receive any notifications for your pushes, and just happened to see the update at the right moment by accident. Please ping me once I have to approve the CI again, since GitHub delegates their anti-CI-abuse measures to repository owners and maintainers :sweat_smile:

Good to know, @MarijnS95. I just pushed another commit to fix the fmt issue


Tag 1.2.0 and update package.json

Hello,
Can you please add the 1.2.0 tag for npm?
Would be awesome to update the engine part of package.json to the last version of node (0.12.x) no?
Thanks

Tagged 1.2.0


[Request] Add option to disable labels per section

So that one can disable the text label on each section (like flora and deposits) but still mantain the auto pinning. For when the player wants to use (and only use) the custom icons for those.

I was thinking and I think I found an even better solution:
in the custom-map-icon.json one can specify for each target:
},
"label": false
},


Add label 'needs review' to pull request

I am trying to add labels to pull requests through xdev-bot. I would like the label 'needs review' when a pull request is created,  remove that label when the pull request is closed, and add the label 'discarded' when a pull request is closed without merging. Currently only focusing on the 'needs review' label.
I am looking to this site for guidance: https://gidgethub.readthedocs.io/en/latest/
but the method is not identical.
Key lines in the pull_request.py code are:
labels_url = event.data["pull_request"]["base"]["repo"]["labels_url"]
await gh.post(labels_url, data=["test label"])
The error that comes up complains that ['test label'] is not an object.
I manually added a label (had to create it first and then add it) to a pull request to see what it looks like in the webhooks. There are some lines of note:
"labels": [
{
"id":<PHONE_NUMBER>,
"node_id": "MDU6TGFiZWwxMjUxNDIzNDUw",
"url": "https://api.github.com/repos/NCAR/xdev-bot-testing/labels/test label",
"name": "test label",
"color": "b2721e",
"default": false
}
and
"labels_url": "https://api.github.com/repos/NCAR/xdev-bot-testing/labels{/name}",
I did not preserve their nesting because that is hard to see by visual inspection.
Also it might be important that the url of the label can be found at:
https://github.com/NCAR/xdev-bot-testing/labels
In the code, we will want to have the label action check if the label exists and then apply it, and we need to make sure we do not overwrite labels.
I have a few ideas to try, but I need to step away from this for a second.

The webhoook is# da4f71a0-3ab2-11e9-8706-0253086a10ba


InfluxDB does not support TriggerAuthentication while it is documented as such

Report
InfluxDB does not support TriggerAuthentication/ClusterTriggerAuthentication while it is documented as such
Expected Behavior
Allow you to use TriggerAuthentication/ClusterTriggerAuthentication
Actual Behavior
You can only use trigger metadata
Steps to Reproduce the Problem

Configure trigger authentication1
Reference in ScaledObject with InfluxDB trigger

Logs from KEDA operator
N/A
KEDA Version
2.3.0
Kubernetes Version
No response
Platform
No response
Scaler Details
No response
Anything else?
No response

@acobaugh is working on this - Feature is done, only lacking the docs

This is available in v2.4.0, would you mind giving it a go @acobaugh ?


⚠ api.piste.gouv.fr healthcheck has degraded performance

In b87853c, api.piste.gouv.fr healthcheck (https://api.piste.gouv.fr/cassation/judilibre/v1.0/healthcheck) experienced degraded performance:

HTTP code: 200
Response time: 2826 ms

Resolved: api.piste.gouv.fr healthcheck performance has improved in 6251733.


router-link and router-view stub components

Should we include router-view and router-link stub components?
Currently I have to do something like this to test the text rendered in a router-link:
const RouterLink = {
  name: 'router-link',
  render: function (h) {
    return h('div', this.$slots.default)
  },
  props: ['to']
}

const wrapper = shallow(Component, {
  stubs: {
    RouterLink
  },
})

expect(wrapper.find(RouterLink).props().to).toBe('/best/')
expect(wrapper.find(RouterLink).text()).toBe('best')

We could extract that logic into a component exported by vue-test-utils:
import { RouterLink } from 'vue-test-utils'

const wrapper = shallow(Component, {
  stubs: {
    RouterLink
  },
})

expect(wrapper.find(RouterLink).props().to).toBe('/best/')
expect(wrapper.find(RouterLink).text()).toBe('best')

Hi,
Thank you for your post.
I have my navMenu.vue.html as Follows:

 Upload

 Admin

and I would like to test the router-link. As your doesnt mention on how to test specific router at a time. Please could you advise on how to do this.I am using vue-test-utils. I am very new to Jasmine and Karma.Please help.

This seems like a good feature, consider vue has an official router + flux store, the utils should reflect that.
Maybe we can also do something for vuex? I find myself writing a ton of boilerplate for components using a vuex store, might be something we could consider including.


No cell lines for mouse?

I currently have no information whether a cell line is mouse derived. I assumed that the majority of cell lines is human derived. Example searching mouse data for MCF7 would be problematic