chore: update bindings version

Updated waku bindings version and fixed conflicts. This update should fix the memory leak issue in the bindings, it also deprecates filter protocol.

did the rust binding deprecate filter protocol by 0.6.0?

Yes

did the rust binding deprecate filter protocol by 0.6.0?

Yes

any updates on filter v2?

did the rust binding deprecate filter protocol by 0.6.0?

Yes

any updates on filter v2?

Do we need it?

did the rust binding deprecate filter protocol by 0.6.0?

Yes

any updates on filter v2?

Do we need it?

arguably needed when a user wants to participate as a light client with limited load requirements. if v2 exists the filter protocol should have similar api if not the same, so it is better to include as we have the flow already. if v2 doesn't exist then it is fine to remove so we can proceed without memory leak

did the rust binding deprecate filter protocol by 0.6.0?

Yes

any updates on filter v2?

Do we need it?

arguably needed when a user wants to participate as a light client with limited load requirements. if v2 exists the filter protocol should have similar api if not the same, so it is better to include as we have the flow already. if v2 doesn't exist then it is fine to remove so we can proceed without memory leak

Ok I will spend some time looking at whether it's trivial to include it and keep the current filter functionality


Introduce BugPatternLink check

Another branch I had laying around that I decided to polish.
Suggested commit message:
Introduce `BugPatternLink` check (#1026)

This check validates that checks defined by Error Prone Support
reference the public website, unless they explicitly specify that their
diagnostics output must not include a link.

Rebased and added a commit to utilize JDK 17 functionality.


sh not in path

when I run the latest release for windows I get the error
PS C:\Users\legon\Desktop> ./player --test
exec: "sh": executable file not found in %PATH%

I have installed win-bash but what path name do I give it?

Yes, this is known trouble. Actually, this tool doesn't work with Windows :(
I use my linux and mac machine to develop. I will correct it for windows users in future updates.
As a temporary solution you can try to use WSL. But when I tried, I have got trouble with ADB forwarding.
Another way it's to use GIT Bash which adds support for sh and emulates unix-like environment.


User can't logout when database has been changed

When using CMS, I few time changed the DB. Then I've noticed that CMS can't properly handle of logging out user when DB has changed.

I think that the problem hides into the logout method. It did not clear the localStorage data properly.

Probably this issue https://github.com/strongloop/loopback/issues/720 is the main problem of successfully logging out method.


confirmPayment() show hooks.stripe modal and need closed manually

Hi, I have a question.
Currently I integrate the card field element and make a payment, but after call the confirmPayment function it actually open some modal like shown in attachment.
how to auto close or disable this? is this only happening for development environment? I need to manually press close button before Stripe can return the success/error object.
Note: I also implement the webhook on my backend
RN : 0.64.2
@stripe/stripe-react-native : 0.2.0

To automatically dismiss the webview when authentication is finished, configure a custom URL scheme or universal link and set your scheme in the urlScheme parameter: https://stripe.com/docs/payments/3d-secure#when-to-use-3d-secure

@thorsten-stripe How does this work? We configured a custom scheme and the return URL is our-scheme://safepay, but the webview does not close. Presumably, because the app is already focused. Isn't it the SDK that needs to implement a listener to close the sheet/webview when "returning" to the app?

@te-online you need to follow this one https://stripe.com/docs/payments/bancontact/set-up-payment#react-native-handle-deep-linking

@arekkubaczkowski Thanks for your response. I did that and it works great! 🎉
Unfortunately it's not working when using handleCardAction. Any ideas why?
In this method, it looks to me like no return_url is set on the paymentIntent, but I'm not 100% sure I understand the method in context.
Is this just a configuration issue or should I open a new issue around this?


Update api_data.js

What if to add MJPEG over HTTPS support(stream)(How much effort(estimation, cost-benefit conclusion?)

What if to add MJPEG over HTTPS support(stream)(How much effort(estimation, cost-benefit conclusion?)

this is generated from the jsdoc, we don't want to edit this directly


Don't use ARM template parameters anymore

#69 added the ability to pre-process ARM templates as a Go template...
Now that we have that ability, I'm wondering if we can cut down on ARM template length and complexity by preferring to use Go template mechanisms (e.g. "mustaches", sprig functions, etc.) over ARM parameters.
The pros of ARM parameters, as I see them, are that they offer us a convenient way of declaratively validating inputs, however, this is not as useful to our broker as it may sound. Since ARM deployments are done asynchronously, it's better to validate inputs synchronously before accepting a provisioning request.
EDIT: ... which would mean it's better to rely on the broker's own validations mechanisms instead.

I'm removing this from the v0.9.0 milestone. For now, we can selectively apply these changes as needed, and transition more fully when time allows.

I believe @jeremyrickard has made headway on this on an as-needed basic. I'm moving this to v0.11.0 and we will continue to work on this as needed and/or as we are able.

I'm going to clear the milestone on this on-going effort so that we don't have to keep re-assigning it every release.


Cut 0.1 and publish to Sonatype and Gradle Plugin Portal

Closed by https://github.com/nanodeath/TypedConfig/commit/53eb7e5790d204eded5397486f3698c549946e98


cargo-make not respecting toolchain

Describe The Bug
I'll preface this by saying that this issue is not blocking me in any way right now, but I noticed it while debugging some other issues I had so I'm reporting it now.
There's actually two issues I see here:

install-rustfmt task does not take into account what toolchain is being used. If rust-fmt is only installed for stable, and you are running with nightly, install-rustfmt will not try to install the component for the nightly toolchain.
Since nightly rustfmt is not installed, I would expect that when cargo make executes something requiring it, it should fail. Instead, cargo-make defaults to using the stable version instead. I am unsure why when cargo-make executes Execute Command: "rustup" "run" "nightly" "cargo" "fmt", it has different behaviour that invoking the command (rustup run nightly cargo fmt) directly.

To Reproduce
[tasks.fmt-version]
dependencies = ["install-rustfmt"]
toolchain = "nightly"
command = "cargo"
args = ["fmt", "--version"]

> rustup uninstall nightly
> rustup install nightly --profile minimal

> cargo make fmt-version
cargo-make] INFO - cargo make 0.37.11
[cargo-make] INFO - Calling cargo metadata to extract project info
[cargo-make] INFO - Cargo metadata done
[cargo-make] INFO - Project: cargo-make
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: fmt-test
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: legacy-migration
[cargo-make] INFO - Execute Command: "rustup" "run" "nightly" "cargo" "fmt" "--version"
rustfmt 1.7.0-stable (7cf61ebd 2024-03-27)
[cargo-make] INFO - Build Done in 6.10 seconds.

> rustup run nightly cargo fmt --version
error: 'cargo-fmt.exe' is not installed for the toolchain 'nightly-x86_64-pc-windows-msvc'.
To install, run `rustup component add  --toolchain {toolchain}rustfmt`

The above snipping shows both problems. install-rustup did not install the nightly version of rustfmt, and cargo-make is for some reason behaving different from manually running the command (ie. its using stable rustfmt instead of erroring).

@wmmc88 rustfmt tasks are a mess!
it has to do with the history of it which rustfmt changed the way you install rustfmt few years back and started to have a nightly and non nightly ways and all that. it was a huge mess!
i had a workaround for nightly or stables, with rustup or with cargo install or with install from git.
at the end, even that broke due to changes in rustfmt and i left this:

[tasks.install-rustfmt]
description = "Installs cargo rustfmt plugin."
category = "Development"
env.CFG_RELEASE = { value = "${CARGO_MAKE_RUST_VERSION}", condition = { env_not_set = [
  "CFG_RELEASE",
] } }
env.CFG_RELEASE_CHANNEL = { value = "${CARGO_MAKE_RUST_CHANNEL}", condition = { env_not_set = [
  "CFG_RELEASE_CHANNEL",
] } }
install_crate = { crate_name = "rustfmt-nightly", rustup_component_name = "rustfmt", binary = "rustfmt", test_arg = "--help" }

which is not amazing either.
if you want to PR the way rustfmt is installed in a way that it supports the current toolchain correctly, i would love a PR for it. i stopped chasing them.
the main goal is having it work correctly in CI flow when running for example in github actions each time with different rust toolchain (even this repo tests on stable, beta and nightly) without it breaking and working for all (right now i disabled it due to the installation issues and only use it in my dev machine where it works ok since i'm always on nightly)


Fix typos in README.md

This PR fixes some obvious typos in README.md.

Is this project unmaintained?


Small improvements

Just read and go over the commits.

@satazor thank you for this PR!
I checked the preview at https://ipfs.io/ipfs/QmWFVhMDqgAxMKjVQ4TjJQqsqdkJqgFokbPU1q3To6utr9/ and it seems that the relative URLs are still not perfect. See below:

I'm going ahead and merging this PR. #51 is currently a P1

This isn’t the relative urls PR but other things that I encountered along the way. I’m actually finishing the Gatsby plugin and will do the PR in a few minutes!


Feature Request: Multiple Router Metadata Annotations

First, this is such a cool module! Second, I wanted to ask for 2 small features please!

Multiple Router Metadata Annotations
ParsedMetadataRouter Type

The first seems fairly easy to compliment without supporting deep merging of annotations, and a small helper function would really expand the usecases for me. (I'm thinking automating the creation of API endpoint requests)
The second is just a nitpicky request to be able to avoid using const myRouter : any =  Router();
Again, awesome module and i'm happy to put up a PR to get those in you need!

Feel free to open a PR for this if you'd like. I sadly have a lot on my plate in other areas of my life so not sure how much new feature's I'll be able to provide here.


resetForm must be called twice in order to clear values from localstorage

Because the componentDidUpdate method uses prevProps instead of this.props, when resetForm is called, it saves the values that existed in the form before resetting. Because of this, I can reset a form, then when I navigate away from it and then back, all the values that were in the form prior to resetting it reappear.
https://github.com/jaredpalmer/formik-persist/blob/63aeb8f49eb40a1c79b6887675587f9bde7f2bab/src/formik-persist.tsx#L23-L27
My current workaround is to simply call resetForm() twice. The second time, redux-persist will correctly save the empty form

ping @jaredpalmer


Improve fuzzy matching for korean, japanese and chinese

Unfortunately, Korean (along with Chinese and Japanese) performs very poorly with matching because it's pictogram-based rather than alphabet-based.
My idea is to use romanization libraries to convert from pictogram to the roman alphabet to do the fuzzy matching.

Related to #326

Korean library: https://github.com/BenjaminTMilnes/KoreanRomanisation


When there are only one screen zone when creating a screen, when chosen it won't appear on the list when the screen is created.

Fixed in #95


fix(Accessibility): Always handle provided onKeyDown event be propagated in inner zone

onKeyDown provided by the consumer was ignored for inner focus zone. Instead, it should be always called as the handler should not interfere with the focus handling.
Microsoft Reviewers: Open in CodeFlow

Warnings

:warning:
There are no updates provided to CHANGELOG. Ensure there are no publicly visible changes introduced by this PR.

  Generated by :no_entry_sign: dangerJS


Lfn2pfn

Fixes #9873
Status
In development and tested so far with CRAB dev instance.
Description
Add lfn2pfn method to RUCIO wrapper

@amaltaro so, I give it some more tries and looks ok for what I can see. Could we start to review this?

@dciangot Diego, another question I have here is, do you know how many (rough number) LFNs have to be converted in a daily basis? If it's for a few thousand files a day, that's okay. However, if we have to map LFN to PFN for hundreds of thousands of files a day, then it would be much more efficient - in many aspects - to keep the map on the client side and simply apply it on top of our LFNs. Of course map would have to be updated every X hours though.
I'm not trying to give you more work, just trying to see if there could be some major optimizations here :-D

Yeah, I agree... I was just thinking if this was more for this code to cache it in memory or wherever. Like:

getting the pfn for the file path (e.g. /store/user/dciangot/task/files/00001/ ... 0002 etc)
caching in memory a dict like {'path1': pfn, 'path2': pfn} etc
using that dict to build all the pfn for lfns starting with path1...pathN

I know this will not solve the # request to the frontend, but, at least will protect Rucio server I think. More over, it will not require the user of the API to be smart/aware. What do you think?

I think it would make this cache way too large to map LFN (without the final root name) to PFN.
What I had in mind was something like:
{"rse1": {"protocol1": "suffix_value", "protocol2": "suffix_value"},
 "rse2": ...

and on the the client side (ASO? TaskWorker?), we would do something like:
for rse, lfns in lfnsByRSE.iteritems():
  for lfn in lfns:
    pfn = mapPFN[rse][protocol] + lfn
 ...

That structure we could easily keep in the Rucio object cache.

Sorry, my previous comment was incomplete.
That logic could be done in the Rucio lfns2pfns method as well. Like, if we do not have the rse + protocol in the local cache, then we ask Rucio Server for that map; if it's already in the cache, just apply the LFN to PFN logic mentioned in my previous comment and return that list of files.

I looked at this thread and am lost in the discussion about caching. The only place where there's a chance that this is called MANY times is during "ASO" operations, where local caching in the transfer script is the way to go. We do not care to support an RSE lfn2pfn mapping to be transparently changed while there are tasks trying to write to it, if a site does that, failures will occur. I'd rather have robustness by avoiding overloading servers. @dciangot can you go back to this issue in CRAB repository and write a short high level description/plan, instead of a PR with changes in many places all over the board ?

done, but actually other than indicating the need for a pfn cache on transfer scripts, the rest of the plan is quite simple, replace any call we do to Phedex lfn2pfn with the one of RUCIO.
We can iterate further on https://github.com/dmwm/CRABServer/issues/6201 I think

from Alan, unittest for this are here
https://github.com/dmwm/WMCore/blob/master/test/python/WMCore_t/Services_t/Rucio_t/Rucio_t.py#L178

@ericvaandering   about LFN2PFN with Rucio, with reference to
https://twiki.cern.ch/twiki/bin/view/CMSPublic/RucioUserDocsLocation#LFN_to_PFN_conversion
I see that the example suggests to put user scope info from of the LFN, but .. does it really matter, make sense ?
I gave it a try with "cms:" scope and got same result. It would simplify our usage of this if I can stick to the simplest way.
Indeed the example itself works with "user.jdoe:' scope. So it looks to me that the scope is there only in case one wants to reuse that string a rucio rule as well or in a  rucio list-replica, then for actual need.
Getting more creative, even scope 'dummy:' works , seems only a matter of pleasing Rucio DID syntax.
Sorry if I asked, but I like to keep code simple and easy to understand, if I can.

I think that’s right. CMS needs to make sure the scope and LFN agree, but the scope does not determine the PFN

On Oct 27, 2020, at 11:03 AM, Stefano Belforte<EMAIL_ADDRESS>wrote:
@ericvaandering https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ericvaandering&d=DwMCaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=EHaoB-POFWGrYFvPXoj1bQ&m=jJP-N5MlVCnyN83WmwaPzK7l1dzXv-nv-DXVZjltyeI&s=6afHykKB_OYZe-1fFrnoU7Tf1VPOuCqUySxC_iH8Xnk&e= about LFN2PFN with Rucio, with reference to
https://twiki.cern.ch/twiki/bin/view/CMSPublic/RucioUserDocsLocation#LFN_to_PFN_conversion https://twiki.cern.ch/twiki/bin/view/CMSPublic/RucioUserDocsLocation#LFN_to_PFN_conversion
I see that the example suggests to put user scope info from of the LFN, but .. does it really matter, make sense ?
I gave it a try with "cms:" scope and got same result. It would simplify our usage of this if I can stick to the simplest way.
Indeed the example itself works with "user.jdoe:' scope. So it looks to me that the scope is there only in case one wants to reuse that string a rucio rule as well or in a rucio list-replica, then for actual need.
Getting more creative, even scope 'dummy:' works , seems only a matter of pleasing Rucio DID syntax.
Sorry if I asked, but I like to keep code simple and easy to understand, if I can.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_dmwm_WMCore_pull_9977-23issuecomment-2D717347104&d=DwMCaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=EHaoB-POFWGrYFvPXoj1bQ&m=jJP-N5MlVCnyN83WmwaPzK7l1dzXv-nv-DXVZjltyeI&s=6hYbCH5hDXaFhLNwNxhK-4R5iS7ClGZHWrQZUl7afIk&e=, or unsubscribe https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AAMYJLRXIKI4JI26HTE7SB3SM3VMDANCNFSM4SJ5S7IQ&d=DwMCaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=EHaoB-POFWGrYFvPXoj1bQ&m=jJP-N5MlVCnyN83WmwaPzK7l1dzXv-nv-DXVZjltyeI&s=8J2yZiu3nm55LzVcFYCpcKGfEkNk_SK4yd453OLEX4c&e=.

thanksEric  ! @amaltaro  I will confidently simplify the code which Diego proposed here. I guess a new PR is the easier way. OK ?

Sure, go ahead and create a new one please. If you prefer, we can only close this one once the new PR gets merged.

I did more reading. Diego was already puzzled about the scope thing and apparently in https://github.com/dmwm/WMCore/issues/9873#issuecomment-692981596 he was led to believe that a DID of the form cms:/store/user/..  could not be used. I guess that in that comment @nsmith- was indicating that such a DID can't be used to register data in Rucio. So am sticking with @ericvaandering advice and assuming lfn2pfn resolution does not care what the scope is.

Superseeded by https://github.com/dmwm/WMCore/pull/10029
Closing this one.


Does a tree have to be pushed?

When reviewing PRs for an org's repo, I don't have explicit git push permissions, only to my fork.
So I can't add a worktree because the command fails creating it (and then pushing it)

@alexiszamanidis

@alexiszamanidis
How about we make auto pull/push a option in extension setting?

Hi @zcfan,
I truly appreciate your suggestion.
It's an excellent idea that aligns perfectly with enhancing the functionality of our open-source project.
I'm committed to implementing the "auto pull/push" option at the earliest opportunity.
In regard to this feature, I'd like to gather your insight on whether you envision it being enabled by default or requiring users to manually turn it on. From my perspective, having it enabled by default seems logical. This way, when users attempt their initial push, it could potentially preempt the error scenario you mentioned by ensuring their local repository is up to date with the remote repository. Your thoughts on this aspect would be valuable as we move forward with refining this feature.
Thank you once again for your valuable contribution and engagement with the project.
Looking forward to your insights!

@alexiszamanidis I prefer not to auto pull/push by default, since it's the default behavior of git worktree add. Which means no "surprise" to newcomer.
But previous versions of your extension is auto by default, and it has so many users already!🎉 So keep consistent is also acceptable.
Personally I perfer not to auto pull/push, because the repo I'm working on is messy, remote commits might break my local workspace accidentally.

@zcfan
I understand the importance of maintaining consistency with the existing extension's auto-push behavior, especially given its established user base. However, your valid point about the default behavior being off aligns with Git's standard approach. It's crucial to consider both perspectives. In light of this, I'll proceed with the auto push option enabled to assess its impact and gather insights on user experience and workflow.

Hi @zcfan,
I am glad to inform you that the options have been added.
Please take a moment to check them out and provide valuable feedback on the work.
I apologize for any delay in implementing these changes - I was in a bit of a rush.
Looking forward to hearing your thoughts!
Pull Request: #34
Released Version: 2.2.0 0bc1c61

@alexiszamanidis Work like a charm, thank you!

@zcfan
Glad you like it!


graceful shutdown fix

There's few problems with a graceful shutdown that i tried to fix with this PR.

shutdownChan channel that was used to finish PollNetMapStream didn't work if no PollNetMapStream was running at the time of shutdown. Also, it could stop only single PollNetMapStream routine, as single value was passed to channel instead of closing it.
There is a race condition with function that handles termination signals, as it isn't included in an error group.

@kradalby I additionally decomposed OIDCCallback method. Otherwise gocyclo complaint about it's complexity.

@kradalby I additionally decomposed OIDCCallback method. Otherwise gocyclo complaint about it's complexity.

Can you separate this into a different PR?

@kradalby I additionally decomposed OIDCCallback method. Otherwise gocyclo complaint about it's complexity.

Can you separate this into a different PR?

Done

LGTM!


Can there be more highlighting in python code?

There is almost 0 highlighting in Python. It almost seems like I'm writing plain text. It is hard differentiate parts of the code because of the lack of highlighting

I agree. It feels like I opened the file up in regular notepad.

I think the idea was to stay close to the original http://ethanschoonover.com/solarized#python-vim theme.

@simurai is right! As a matter of fact, I come here wondering why there are small differences from Vim color schemes. I believe it is better to have consistency since we can work simultaneously with both.


Use KBps for Throughput chart

Use KBps for Throughput chart in the Performance card inside the ODF
Dashboard.

Earlier

Now

This change was made in order to use the same unit ("KBps") as defined in the SS List page (see below) in the ODF Dashboard for Throughput.

/bugzilla refresh

/cherry-pick release-4.9

/cherry-pick release-4.9-compatibility


Issue #68: share snapshot and restore db instance in other AWS accounts and regions

Description
incremental PR to support sharing rds snapshot and restore db instance in other AWS accounts and regions.
This PR contains the following:

lambda to execute SSM automation (existing one managed by AWS: AWSSupport-ShareRDSSnapshot) which shares rds snapshot to another account
lambda to execute SSM automation (custom created) which executes restoration process for db instance in given account and region from the shared snapshot
updates in template.yaml - cft for iam role for ssm execution, cft for ssm automation document for db restore, cfts for above 2 lambdas functions, updating state machine to include these steps in the pipeline.
install.py updated to have s3 bucket as param since template.yaml size is greater than 51,200 bytes

Thanks for contributing this Pull Request. Make sure that you submit this Pull Request against the master branch of this repository, add a brief description, and tag the relevant issue(s) and PR(s) below.

Relevant Issues : (compulsory)
Relevant PRs : (optional)
Type of change :

[x] New feature
[ ] Bug fix for existing feature
[ ] Code quality improvement
[ ] Addition or Improvement of tests
[ ] Addition or Improvement of documentation

Thank you for doing this , this has been a long wishlist item.
Can you put in some more details in the PR description to the functionality of the PR ? How many lambda functions? how does it facilitate backup and restore etc which will help me understand and better review this

@namitad  are you still working on this ?

Is there anything pending in this PR or we can merge this ?

@stationeros i am facing issues in testing the state machine post merging latest changes. I have raised an issue for the same https://github.com/intuit/Trapheus/issues/198. will update on this thread post the fix and my testing and then this PR can be merged

Thank you namita , will check if these can be prevented by the CI pipeline

@stationeros can we merge this PR? i will add some more incremental changes in follow up PRs


When refreshing page, the token in the local storage is null.

I am using the latest release of the module and building the authentication layer of my project and I am facing an issue about the token that's generated by the back-end, sent to the front-end and stored in the local store of Redux.
In order, it first logs in, which is performed by the login action, in my auth.js file:
[...]
export function login(username, password) {
  return {
    [CALL_API]: {
      endpoint: '/api/obtain-auth-token/',
      method: 'POST',
      body: JSON.stringify({ username, password }),
      headers: {
        'Content-Type': 'application/json',
      },
      types: [LOGIN, LOGIN_SUCCESS, LOGIN_FAILURE]
    }
  }
}
[...]
[REHYDRATE]: (state, action) => ({
  ...state,
  token: action.payload.auth ? action.payload.auth.token : null
}),
[...]
[LOGIN_SUCCESS]: (state, action) => ({
  ...state,
   token: action.payload.token
}),
[...]

After executing it, the local storage created by Redux successfully has reduxPersist:auth, holding the token returned from the back-end.
With this process complete, my attempts to perform a route redirection from login page to the dashboard in case the user is logged in, or from any other route to login in case the user is not logged in has faced some issues. These are the index.js files located within routes/[componentName].
// Login and Dashboard had a similar code, just redirecting to a different route.
[...]
onEnter(nextState, replace) {
  const { auth: { token } } = store.getState()

  console.log(token)
},
[...]

If I log in and move to dashboard, token will have the generated token, but the moment I refresh, it will be NULL, either from login or dashboard pages. Currently I've done a different approach, but I'd like to know if what I was trying to do is possible and/or correct.

I also met this problem, how to resolve it?


Skywrath Q's tooltip shows 160 instead of 160%

Small tooltip mistake, need to add percentages.

Fixed!


chore: add mousemove listener to konva.

Description
When pointerEvents are enabled on the WidgetName canvas, add mousemove event listener to it. This allows the canvas to toggle its own pointerEvents back to none when the mouse is not hovering over a widget name component.
PR fixes following issue(s)
Fixes #28380
Type of change

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

Testing
How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Also list any relevant details for your test configuration.

[x] Manual
[ ] JUnit
[ ] Jest
[ ] Cypress

Checklist:
Dev activity

[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
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[x] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test


clone: simplified testSlice conditional in clone_test.go

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#85  👈
#84
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @jespert and the rest of your teammates on  Graphite


Helm release update windows contains old cached values, results in reverting user-values to old settings

Describe the bug
After clicking on a "helm release" from the releases list, the editor in the side-overlay shows old, cached values. Updating from this window will undo any changes you have made.
To Reproduce
Steps to reproduce the behavior:

Create a release
Wait for release to deploy
Click on the release
Use "upgrade button"
Change some values in editor at bottom of screen.
Wait for deploymnent
Click on the release again but do not click "upgrade"
In the editor displayed at the side, the data is old, and will result in your values reverting.
You can update them by toggling the "user-supplied-values" button.

Expected behavior
Values displayed should be up to date, not old cached data.
Screenshots

This screenshot shows old cached data. It can be updated by toggling the User-supplied values only checkbox.
Environment (please complete the following information):

Lens Version: 2023.5.310801-latest
OS: osx
Installation method (e.g. snap or AppImage in Linux): brew (followed by automatic updates)

Thx @richard-fairthorne for reporting. Fix will be included in our next release


Include all fields in JdbcColumnHandle's equals

Otherwise TestJdbcColumnHandle#testJsonRoundTrip doesn't fully test
JSON round-trip.

cc @kokosing @ebyhr @electrum

I won't finish it. Someone can take this over.


Devcontainer configuration

This PR contains:

Devcontainer configuration so you can have a dev environment ready just by opening vscode in a container (needs docker).
Adds a command to opam to init the submodules and a missing dependency (egzip)
Removed echo server test because of a dependency conflict (websocketaf)

Sorry that you did all the work before I had a chance to review. The GitHub process is a little backwards with regards to that.
I'd prefer the devcontainer configuration to live in userspace, if possible. I'd rather not have to maintain a file for something I don't know how to use.

It's ok, this PR is a proposal anyway since I did this for myself. Maybe we could add the contents to the README as a deploy option


Suggestion: Apply multiple filters in chain

Hello,
I have a suggestion that I think improve quality of the library. Right now we can only apply one filter. How about we chain them by making the output of one frame to input of another filter?

I agree, it would be nice to have a group of alterations on the same instance of composer.


Model name

Thank you for this AWESOME project!
This PR change the default model name from unsloth to the same name as directory name. Reason: When we train many different models - they all have name like "unsloth.Q8_0.gguf" And we can't understand which model it is
But this way it looks great at HF! The model name is the same as directory name.
A little perfectionism if you like

Wrong


need some help with res.view()

I set views folder like this
views
----------common
----------desktop
-----------------user/login
----------mobile
-----------------user/login
in the controller
user.login
return  res.view()
how to do this
if is mobile device auto load  "mobile/user/login" else "desktop/user/login".

You can use a 'user agent' to determine if it is a mobile or a desctop browser. And judging by this render proper view.

@TimofeyBiryukov  yes it is thank you.but i want to auto render.I want to know how to extend res.views() to do this.

最后是这样做的，不知道是否是最佳方案
    controller.js
    return ViewService(req,res,'user/login',{title:'login-page'});
    ViewService
     moudle.exports = function(req,res,path,data){
             if(req.headers['user-agent']=='iPhone'){
                   res.view('mobile/'+path,data);
             }else{
                   res.view('desktop/'+path,data);
             }
     }

hi,
you can use a policie to do that.
just create a policie to parse the request and then add a parameter to request if it come from mobile.
After in your method that return view, just test this params to send the corect view.
Here is an exemple

note that i use this to check for modern browser, but its the same way for mobile*
*seconde note: i use UAParser to parse UserAgent headers Request but you can make it your own with RegExp.

var UAParser = require('ua-parser-js');

module.exports = function(req, res, next) {
  // sails.log('modernd BROWSERS')

    var parser = new UAParser();
    var ua1 = req.headers['user-agent'];
    result = parser.setUA(ua1).getResult()
    if(result.browser.name=="IE" && Number(result.browser.major) <=8)
    {
      // if oldbrowser
         req.oldBrowser = true;
    }
    else{
     req.oldBrowser = false;
    }
   next();
};

Thanks for the discussion, everyone.  @xchl, you might also consider overriding the api/responses/ok.js file in your project and then using res.ok instead of res.view in your controller actions.  Also, just FYI we try to reserve this forum for reporting bugs in the Sails core, so in the future questions like this are better placed in our Google Group, Gitter chat or StackOverflow.


Use built-in csv and json readers.

No need for these extra wrappers now.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @damondouglas

apache_beam.io.gcp.bigquery_test.PipelineBasedStreamingInsertTest.test_batch_size_with_auto_sharding_0 looks irrelevant.

Run Python PreCommit


Add extra label for controllers to install at worker nodes

/cc @enriquebelarte

/lgtm

/cherry-pick release-2.0


Map volume to host?

Is there a flag like docker's -v volume flag to map a host folder inside the container as a volume? (I don't think I saw it in the readme)

Hey @drnic. Does adding a BindMount to the ContainerSpec you pass to client.Create(..) do what you need?

Sorry I meant via the CLI (to be run from bosh monit wrapper)
On Sun, Apr 26, 2015 at 8:24 AM, Julian Friedman<EMAIL_ADDRESS>wrote:

Hey @drnic. Does adding a BindMount to the ContainerSpec you pass to client.Create(..) do what you need?
Reply to this email directly or view it on GitHub:
https://github.com/cloudfoundry-incubator/garden-linux/issues/36#issuecomment-96399437

+1 for this feature. It is very important for stage stateful app in CF

@drnic this is probably a feature request for whatever is providing the CLI you're using. garden/garden-linux provide a golang and REST API (both of which support bind mounts) but no CLI (the garden-linux executable just starts the server, it doesn't provide any way to create or manage containers, things built on top of garden, such as lattice/diego, provide CLIs  for managing containers which is where the BindMount feature would need to be added). Or maybe I'm totally misunderstanding what you're asking!

Sorry this is my first time looking at the various garden projects
On Sun, Apr 26, 2015 at 10:05 AM, Dr Nic Williams<EMAIL_ADDRESS>wrote:

On this project's readme is an example for invoking garden-Linux to run a container; but it doesn't include an example for binding a volume. Is there a flag for this?
On Sun, Apr 26, 2015 at 9:58 AM, Julian Friedman<EMAIL_ADDRESS>wrote:

@drnic this is probably a feature request for whatever is providing the CLI you're using. garden/garden-linux provide a golang and REST API (both of which support bind mounts) but no CLI (the garden-linux executable just starts the server, it doesn't provide any way to create or manage containers, things built on top of garden, such as lattice/diego, provide CLIs  for managing containers which is where the BindMount feature would need to be added). Or maybe I'm totally misunderstanding what you're asking!
Reply to this email directly or view it on GitHub:
https://github.com/cloudfoundry-incubator/garden-linux/issues/36#issuecomment-96408944

Hi, @julz , do you mean it have been implemented  BindMount in Garden, but not be used in Executor? I found exchanger.go which is the called of Garden in Executor project do not use this parameter.

Hi @LaynePeng - that's right, garden implements bindmounts but as far as I know Diego doesn't currently expose that feature to end users (although I think if I remember correctly it might use it under the covers to e.g. efficiently mount buildpacks for CF apps)

Layne,
Scheduling stateful applications is a bigger concern than just modifying
executor/garden.  It requires teaching Diego as a whole about scheduling
and managing the lifecycles of stateful containers.
We've invested some effort building a proof of concept and are pretty happy
with the results.  We hope to bring it to Diego shortly after we retire the
DEAs.
On Sunday, April 26, 2015, Layne Peng<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote:

Hi, @julz https://github.com/julz , do you mean it have been
implemented BindMount in Garden, but not be used in Executor? I found
exchanger.go which is the called of Garden in Executor project do not use
this parameter.
—
Reply to this email directly or view it on GitHub
https://github.com/cloudfoundry-incubator/garden-linux/issues/36#issuecomment-96412507
.

@onsi happy to know that you have been working on stateful app staging part. We are all very looking forward this feature, and also doing some PoC on how to scheduling stateful containers. :)

Going to close the ticket. AFI understand now out/garden-linux is not a client CLI and hence doesn't run containers, bind mounts etc.


v0.6.2

required to make a new release
r? @rust-embedded/cortex-m (anyone)

bors r+

Published: https://crates.io/crates/cortex-m-rt/0.6.2

@japaric In retrospective we probably should have bumped the cortex-m-rt-macros version, too. I'm seeing annoying build problems most likely due to 0.1.0 being cached somewhere.

Oh, I'm dumb. This isn't fixed until we publish cortex-m-rt-macros v0.1.1 since that's were the fix is.


2557: Add Login with Google functionality

Resolves #2557
Description
This adds functionality to log in via Google in addition to username/password.
NOTE: In order for this to work, the following has to happen:

We have to have a Google app account which we will use for staging and production (it can be the same account).
We need to set up an OAuth client using instructions e.g. here.
We need to add authorized redirect URLs in that client that match the following pattern: https://{human-essentials-domain-name}/users/auth/google_oauth2/callback - we should add one for production and one for staging.
We need to set environment variables on our prod and staging environments that match the new client, with the names GOOGLE_OAUTH_CLIENT_ID and GOOGLE_OAUTH_CLIENT_SECRET.

I've tested this locally using my own Google app account and using localhost:3000 as the domain name.
Type of change

New feature (non-breaking change which adds functionality)

How Has This Been Tested?
Local and unit tests.
Screenshots

Awesome. I'm going through the process of getting humanessentials.app added to our non-profit google workspace. Once it is, I'll get the account and developer settings set up!

 The google apps have been set up and it it is ready for testing in staging. We just need to fix the gem file conflict and we can merge and test!

@seanmarcia conflict should be fixed now!

Awesome! Merging and testing now!


Catch CTRL+C interrupt?

Is there a way to intercept the CTRL+C interrupt and run clean shutdown logic?

LibC.signal Signal::INT.value, ->(s : Int32) {
  puts "CTRL-C handler here!"
  exit
}

0.to 100000 { puts 123 }

In most cases, though, you should override finalize in the classes that need cleanup.

There is a bit nicer support without having to go to LibC manually
Signal::INT.trap do
  puts "CTRL-C handler here!"
  exit
end

1000000.times do
  print '.'
  sleep 0.01
end

@kirbyfan64: finalize is broken. See https://play.crystal-lang.org/#/r/oyd

@will Thank you.

I think that's a bug...

Unless it's only supposed to work if and when the GC does a cleanup, like in .NET. In other words, "sometime maybe never", which makes an utter mockery of the very idea of a finaliser.
.NET could have been so much better.

Rust got object lifetimes right. Shame it doesn't support function overloading.  You should only use it to free resources, and never allocate memory there (so raising an exception is not good)

There are times when finalize is never called, though - e.g. on program exit. So why even bother having a finaliser? It's dumb to have a mechanism that only works "some of the time". Know how often I write a finaliser in .NET? Never! Because they're pointless.
Can you give me one case when an unreliable finaliser is actually useful?

Calling a required memory-freeing function in a linked c library.
On Saturday, December 26, 2015, stugol<EMAIL_ADDRESS>wrote:

There are times when finalize is never called, though - e.g. on program
exit. So why even bother having a finaliser? It's dumb to have a mechanism
that only works "some of the time". Know how often I write a finaliser in
.NET? Never! Because they're pointless.
Can you give me one case when an unreliable finaliser is actually useful?
—
Reply to this email directly or view it on GitHub
https://github.com/manastech/crystal/issues/1968#issuecomment-167355575.

You can't rely on it actually being called though. So what's the point?

Granted, if you're only freeing memory, I guess it makes sense. If the GC doesn't run, presumably you have plenty of memory left. But there are loads of things other than memory that might need releasing, and a sometime-maybe-never finaliser is utterly useless for all of them.

On most modern systems, all memory is automatically freed when the program terminates.

Lets keep calm. We almost never need to use the finalize method in regular code. It's only usage is to reclaim memory the GC can't know about, which usually means when creating a binding to an external C library.
For instance in the postgresql driver, the Result class keeps a reference to the libpq result, which is freed with PQclear(result) in the finalize method.
You can't expect finalize to be reliably called for anything that doesn't free memory, since this is only called by the GC, and the GC doesn't run at exit, since the OS will free the memory by itself.
You need something else, like at_exit {} and/or a coroutine that will regularly clear what you need to.

@kirbyfan64 I know. That's why nondeterminate finalisers are so pointless.

Closing this because the answer is answered (please use our Google Groups if you want to discuss these things, but finalizers work like that in Java, C#, D and many other languages and people do some really good programs in them, I don't think finalizers are broken).

I just went looking for how to do this because I forgot, and this Issue came up. It was surprising to see my own answer five and half years later 😂


News Web part not working and giving error "Value does not fall within the expected range."

I'm currently experiencing an issue with the News Search web part in SharePoint Online, and it's throwing a 400 error. The web part utilizes a query instead of search. While inspecting the browser dev tools, I noticed a query being sent to the Site Pages library, structured like this:
https://mytenant.sharepoint.com/sites/team1/_api/sitepages/pages/feed?promotedstate=2&published=true&$expand=CreatedBy,FirstPublishedRelativeTime

Upon closer examination, it seems that the query is expanding the "CreatedBy" field. However, in SharePoint list/library, there isn't an internal field named "CreatedBy." We do have a field named "Author," which serves as the CreatedBy label. Has there been any recent changes causing this discrepancy? Any insights on what might be the root cause of this issue would be greatly appreciated. Thanks!

Anyone have any idea about it?

@coolvijaymca - as this is not a dev issue but a product issue you should submit a Support ticket


Make ball into motion using mouse click and not space bar.

When the game starts we should use mouse click instead of spacebar.This would add intuitive sense and consistency.

@onslowS You can take this issue if you are interested.Just assign yourself if you are.

I will try this one.

I am also trying this
Thanks


In LogCabin (Diego's Raft sample implementation), terms and indices are uint64 (protobuf), which translates to long in Java. Therefore, changing from int to long should be sufficient.

Assuming a transaction rate of 1 million msgs per second, it would take 300'000 years to exhaust the long space!

The change works, but there are 2 issues I'm investigating:

CounterPerf is ~20% slower than master
CounterPerf has a tendency to yield decreasing perf numbers within a single run (60s): starting out at 20'000 updates/sec/node, then decreasing to 14'000. I haven't been able to detect a memory leak so far...
My (half-baked) guess is LevelDB, but we need to port FileBasedLog to use longs, too: if perf does not drop, then we know LevelDB is the culprit...

OK, rebooting my Mac helped a LOT! :-)

Using compressed longs in LongHelper affected perf a bit; changed


chore: make natDegree_sub_C rw_search test more robust

Sometimes it comes up with rw [@natDegree_sub, @sub_eq_neg_add, @natDegree_add_C, @natDegree_neg] instead.

bors merge


Explain a bit more RPCs options

While working on a small multiplayer prototype, I found the documentation a bit unclear about RPCs. So I added the details I thought were missing.

Thanks! That is how it looks right now without the additional lines, I guess it's ok enough? :

Looks good, neither cramped or sprawling IMO

I updated the PR with your comments. I am not sure of the phrasing about the error printing, let me know if it looks good.

Thanks!


Research: invite event-driven

Event-driven might be an alternative way to interact with another system, such as Jenkins.
Currently, the DevOps controller calls Jenkins API. So, we need to maintain the Jenkins client. With event-driver, we might be able to decouple the Jenkins client.
As I mentioned in the title, this still is a research topic. Before we have any actions, there's a lot of research work need to do. Please join us, you're interested in this area.
References

https://github.com/jenkinsci/cloudevents-plugin
https://cloudevents.io/
https://github.com/cloudevents/sdk-go
Event SIG in CDF
https://github.com/argoproj/argo-events

/assign

https://github.com/jenkinsci/cloudevents-plugin requires Jenkins version 2.277.4. I'm trying to find an alternative plugin.
Also, I use webhook as event-source verified the flow of Argo-events. I think Argo-events can be our event bus, It brings us closer to cloud native. Then I'm thinking how can I abstract out this process and provide an implementation other than Reconcile.

Hi @mzmuer , Jenkins has been bumped to 2.319.1, please see https://github.com/kubesphere/ks-jenkins/pull/61. You can use docker image kubespheredev/ks-jenkins:master or ghcr.io/kubesphere/ks-jenkins:master to test it.
One thing you need to pay attention to is that the JVM options of Jenkins need to be adjusted according to this, because the new version of Jenkins use JDK 11.

I'm having some problems。


deps: Bump com_google_cel_cpp -> 0.8.0

Fix #21621
Signed-off-by: Ryan Northey<EMAIL_ADDRESS>Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

fails with:

external/com_google_cel_cpp/extensions/protobuf/memory_manager.cc:29:23: error: 'AllocateAligned' is a private member of 'google::protobuf::Arena'
    pointer = arena_->AllocateAligned(size, align);
                      ^

possibly bumping protobuf will resolve

cc @kyessenov i think i just hit the protobuf issue you flagged

@phlax Yeap. There is also some interface change I think so a manual PR is necessary.

I'll take over after protobuf update merges since I want to fix some fuzzing issues and add tests.


[Forwardport] Not able to edit cluster for AWS CN

Validate this issue on master-head - https://github.com/rancher/rancher/issues/29666

Closing as the PRs are the same between 2.5 and master. - https://github.com/rancher/rancher/pull/32047/files


how to solve Connection was closed cleanly . scrapy flask gevent Process

Description
scrapy code
            url='http://<IP_ADDRESS>:6010/predict?url={}'.format(response.meta['url'])
            data={'html_url':response.meta['url'],'html_cn_text':cn_result}
            meta['status_404']=True
            meta['response']=response
            meta['proxy']=''
            return scrapy.FormRequest(url,formdata=data,callback=self.parse,dont_filter=True,meta=meta)

flask gevent code
monkey.patch_all()
app = Flask(__name__)
ctx=app.app_context()
ctx.push()

# 获取本机ip
myaddr = '<IP_ADDRESS>'
myport = 6010
decide_404=Decide404()
@app.route('/predict',methods=['POST','GET'])
def predict():
    try:
        start_time=time.time()
        if request.method == "GET":
            return 'http method need post'
        elif request.method == "POST":
            form = request.form
            data = form.to_dict() #
            html_url=data['html_url'] if 'html_url' in data else ''
            html_text=data['html_cn_text']
            score=decide_404.decide_model(html_text)
            logging.info('url: {} ;text: {} ;predict: {} ;cost: {} ;'.format(html_url,html_text[:20],score,round(time.time()-start_time,2)))
            return str(score)
        else:
            return 'None'
    except Exception as e:
        logging.info('error {} '.format(e),exc_info=True)
        return 'None'
server = WSGIServer(('', 6010), app)
server.start()
def serve_forever():
    server.start_accepting()
    server._stop_event.wait()

if __name__ == "__main__":
        try:
            for i in range(32):
                p = Process(target=serve_forever)
                p.start()
        except Exception as e:
            logging.info('404 webserver false')
            decide_404.send_email('404 webserver false')

scrapy is responsible for sending post requests to my service, and the service is responsible for processing post requests and returning calculation results
However, scrapy will soon catch in middlwares when making a request.

/Scrapy_spider_9.log:2019-12-20 16:13:50 [root] INFO: get url https://news.10jqka.com.cn/tapp/news/ share / 616126829 / is 404 by error {'url': 'https://news.10jqka.com.cn/tapp/news/share/616126829/', 'retry': 0, 'url_format': 'https: / /news.10jqka.com.cn/tapp/news/share/()/ ',' article_id ': 616126829,' upload_type ':' news', 'download_timeout': 60.0, 'proxy': '', 'download_slot' : 'news.10jqka.com.cn', 'download_latency': 1.4705162048339844, 'status_404': True, 'response': <200 https://news.10jqka.com.cn/tapp/news/share/616126829/> , 'depth': 1, 'status': ResponseNeverReceived ([<twisted.python.failure.Failure twisted.internet.error.ConnectionDone: Connection was closed cleanly.>],)}

[Exception. The server does not have extra anti-crawl processing.
The server has captured the requested address:

:: ffff: <IP_ADDRESS>--[2019-12-20 16:13:58] "POST /predict?url=https://news.10jqka.com.cn/tapp/news/share/616126829/ HTTP / 1.1 "200 115 3.574375

And the calculation will only return '0', '1', 'None'
The request was recorded in the server's log and the result was obtained

./decide_404.log:[2019-12-20 16: 13: 58,449] [decide_404.py:300] [INFO] [url: https://news.10jqka.com.cn/tapp/news/share/616126829 /; text: Jiahua Energy's monthly big order reveals the secret number of mobile straight flush financials; predict: 1; cost: 3.57;)

scrapy setting.py
CONCURRENT_REQUESTS =20
DOWNLOAD_TIMEOUT = 60
CONCURRENT_REQUESTS_PER_IP = 0
CONCURRENT_REQUESTS_PER_DOMAIN = 1000
DOWNLOAD_DELAY = 0
REACTOR_THREADPOOL_MAXSIZE = 1000

Another phenomenon is that scrapy sends a request, and then quickly returns an error that the connection was cleaned up. However, after 8 seconds, gevent showed that the request was received and then processed it.
So who cleans it up, is scrapy automatically cleaned up because of too many requests, or gevent cleans up because of too many concurrents. Both have mechanisms to delay processing.
For scrapy delayed requests, it should be timeout and the time returned is abnormal. I see stackoverflow that gevent can handle any number of requests, and if gevent cleans up the request, why does it continue to calculate the request?
This is the timeline in the log
2019-12-20 16:13:50 scrapy:The request has been sent and returned an exception.
2019-12-20 16:13:58 gevent console :Shows that there is a request coming.
2019-12-20 16:13:58 gevent Calculate the request

I sent a request and soon scrapy told me the connection was cleared
8 seconds after(or other times)
Flask console shows that the request has been received
Flask begins to calculate the request
But my scrapy request never came to fruition

Where is the setting wrong? Scrapy flask gevent?
The server did not perform any additional anti-crawling measures on the request, why does scrapy catch exceptions such as Connection was closed cleanly.
scrapy = 1.8.0 falsk =1.1.1 gevent =1.4.0 Werkzeug =0.16.0 python3 =3.6.5

I want to know  why some of  my scrapy request was closed cleanly.

I find it difficult to provide test cases.
I can only describe my code as best I can.
I know my description is sketchy. Is there anything else you'd like to know.

I'm sorry, this issue tracker is for issues specifically with Flask itself. We can't help debug your project.

对不起,这个问题跟踪器是专门与瓶本身问题。 我们不能帮助调试您的项目。

Don't you have any clue? I think the question it's not scrapy, is flask and gevent
Can you give me some hints and directions for the query?


Implement CLI

[x] Install scripts
[x] Entry point tmd-train --> scripts/train.py
[x] Clean up
[x] Update docs

@stefdoerr could you review?

tmd-train is not so clear. Can you change to something more obvious, either just train or torchmd-train?


make_regular_clustering is not defined.

https://github.com/ajgates42/clusim/blob/4c6251836689be3e15e93fbe8b5da10123a9b5fa/clusim/clugen.py#L98

this function name was changed to 'make_equal_clustering'


⚠ ClamAV has degraded performance

In 64e6b87, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 97 ms

Resolved: ClamAV performance has improved in 5c63429.


CPU Peg

For whatever reason, running the GPU miner consumes 100% of a cpu core. Is that just an opencl thing, or are we doing some sort of busywaiting that's consuming an entire core?

With Nvidia cards it's always 100% of one core.
Same thing with the old cgminer and other OpenCL miners.
Don't know what happens with AMD cards.


Potential Bug: Queue not flushed to DB on Dispose

I think this is probably related to this issue: https://github.com/serilog/serilog-sinks-periodicbatching/issues/4 since the MS SQL Server Sink uses Periodic Batching.  If there are any log entries in the queue when the sink is disposed, it should call CloseAndFlush which should write the remaining entries in the queue to the DB table, but it does not.  I would rather not do this, but as a work around I have a Thread.Sleep(5000) before the application closes just so I now everything gets written.
Not sure if I should have posted this issue for the PeriodicBatching sink or not but I decided just to stick with this since this is where I experiencing the issue.

I'm having this same problem, too. Dispose does not flush out to DB. Did you find another way to make this work?

Right now my working around is just wait an extra 5 seconds before letting the application exit.  Don't really like it, but it was easy and works.

Yeah, I'm doing the same. If I have some time this week, I'll if this I can
get a PR and fix this myself.
On Mon, Jul 11, 2016 at 12:41 PM Michael Tyson<EMAIL_ADDRESS>wrote:

Right now my working around is just wait an extra 5 seconds before letting
the application exit. Don't really like it, but it was easy and works.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/serilog/serilog-sinks-mssqlserver/issues/31#issuecomment-231808354,
or mute the thread
https://github.com/notifications/unsubscribe/ACQ0_sTIZF4RmU9zXe8tqsBPJlGw2p6aks5qUoAzgaJpZM4I92q0
.

I was hoping to do the same, but don't really have the time right now, so if you get that in, kudos to you.

This is fixed by #31 and will be published in #40.


Verification Options for Substrate

Security is hard to get right in blockchains. It's even harder to make sure that code is correct while still actively developing the product: code changes are frequent, requirements are changing, and the codebase is growing.
Explore options for verifying blockchain code, specifically for the Substrate blockchain framework to try to verify the code of the Interlay blockchain.
The tool should be integrated into the Rust toolchain (no DSLs)
Please see:
https://harz.dev/blog/rust-verification/
Timebox:
2 days.

https://www.youtube.com/watch?v=vMGilPbIotw

I tried using Mirai and found no project issues, just issues with the dependencies.  However, I am skeptical of the results and filed an issue with the Mirai project for confirmation.  https://github.com/facebookexperimental/MIRAI/issues/1206

I also tried using the Prusti extension for VSCode but was not able to because it was expecting the x86_64 version of OpenJDK but my system is an Apple Silicon m2 (arm64).  I filed an issue with the Prusti project.  https://github.com/viperproject/prusti-dev/issues/1399. I will try the CLI version now.

The Prusti cli generated only errors of type:  [Prusti internal error] and [Prusti: unsupported feature]

Prusti https://github.com/viperproject/prusti-dev
Kani https://github.com/model-checking/kani
Mirai https://github.com/facebookexperimental/MIRAI

A new one that I found and will try:
Miri https://github.com/rust-lang/miri

For Kani, I ran into the same issue as the blog article author:


i18n: Correct translation for Danish language

I am correcting small errors and updating the clarity of some sentences.

Thanks


.NET 5 and variable "count" is replaced by "matches.Count".

I did comparing it with Python version yesterday and in Python version is not an extra variable for the count also:
"print(str(elapsed_time * 1e3) + ' - ' + str(len(matches)))" and did not looked at other projects.
I put it back but after stopwatch stop, because this should not be part of regex benchmark.

The statement is "Measures how long it takes to find and count non-overlapping occurrences with default settings."
I will update the Python benchmark.

.NET updated


How to disable airport location on openlayer map

openlayer map shows aeroplane icon on airport location is it possible to disable these icon in openlayer.

OpenLayers does not do that. The layer (for tile layers) or style (for vector layers) you are using does that. Choose a different layer for your base map.


German: Fixed wrong labels for "Open files/folders with one click" and several other small corrections

Fixed mixed up labels:
Open files with one click > Dateien mit einem Klick öffnen
Open folders with one click > Ordner mit einem Klick öffnen
Plus several small language-corrections (grammar, punctuation etc.)

@VOOM108 the xlf file is the correct file to update, see https://files.community/docs/contributing/translating-files for more details.


Fix org.domokit.sky.shell.SkyApplication

Steps to Reproduce
flutter create superduper

Look at android/AndroidManifest.xml. Notice the text that says:
    <application android:name="org.domokit.sky.shell.SkyApplication" android:label="superduper" android:icon="@mipmap/ic_launcher">
        <activity android:name="org.domokit.sky.shell.SkyActivity"

Since the flutter repo no longer has any relationship to domokit and the name Sky is no longer used, it's probably time to update the package name.
Flutter Doctor
[✓] Flutter (on Linux, channel master)
• Flutter at /media/jimbe/mojossd/sysui/src/third_party/flutter
• Framework revision 852a00a17b (2 hours ago), 2016-08-25 14:23:13
• Engine revision c4022b61fa
• Tools Dart version 1.19.0-dev.5.0
[✓] Android toolchain - develop for Android devices (Android SDK 23.0.2)
• Android SDK at /usr/local/google/home/jimbe/Android/Sdk
• Platform android-23, build-tools 23.0.2
• OpenJDK Runtime Environment (build 1.8.0-google-v7-128173541-128170350)
[✓] Atom - a lightweight development environment for Flutter
• flutter plugin version 0.2.3
• dartlang plugin version 0.6.31

We're very close to removing these entirely.  We're just waiting on one more internal customer to move off of them.  See https://github.com/flutter/flutter/issues/5489


Roll Engine from 3090e5cef5cc to 5a4335fbacc6 (4 revisions)

https://github.com/flutter/engine/compare/3090e5cef5cc...5a4335fbacc6
2022-04-14<EMAIL_ADDRESS>Roll Skia from 0ef37bc504ad to bef290417b16 (9 revisions) (flutter/engine#32687)
2022-04-14<EMAIL_ADDRESS>Roll libpng to 134cf139cb24d802ee6ad5fc51bccff3221c2b49 (flutter/engine#32688)
2022-04-14<EMAIL_ADDRESS>[web] Migrate Flutter Web to JS static interop - 6. (flutter/engine#32514)
2022-04-14<EMAIL_ADDRESS>Roll Dart SDK from f106c39f4f99 to d1a8ce2767ea (1 revision) (flutter/engine#32686)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Automatic clear up if release is botched

Investigate if it's possible to create a 'clear-up' workflow that runs if release fails.
Would need to revert PR, revert relevant commits on merged branch, bump tag version down.
Could we have an action triggered by revert PR that does latter two steps?

This might be of interest: https://github.com/k1LoW/pr-revert
It has an associated GitHub action: https://github.com/k1LoW/pr-revert-action

This too: https://github.com/marketplace/actions/rollback-release

Another possibility - workflow creates short lived release branch where version number is bumped, release notes generated. If release botched, then cleanup is easier as commits will have only been pushed to release branch.

Check status of preceding steps and run job if any has failed: https://stackoverflow.com/questions/71430668/how-to-run-a-github-actions-job-on-workflow-failure#:~:text=Github partner brightran stated in this post%3A By,conditional (if%3A always ()) in each subsequent step.


sync fails with "unknown version<EMAIL_ADDRESS>

Steps to Reproduce
❯ rye init demo; cd demo; rye sync
Expected Result
It should sync.
Actual Result

Version Info
❯ rye --version
rye 0.34.0
commit: 0.34.0 (d31340178 2024-05-20)
platform: macos (aarch64)
self-python<EMAIL_ADDRESS>symlink support: true
uv enabled: tru
Stacktrace
No response

Does your project request Python 3.7.13 somehow? There aren't builds available for that version.

I dont know how that could happen.
This project needs python3.12 and it is already present in toolchain.

Fixed the same error by changing my local pyenv version to version 3.12.


Add CPU temperature information

It would be nice if CPU temperature can be displayed on the panel. No need to type "sensors" in terminal to check it.

Yes, it would be nice to have that but I have to figure it out how to read the data...
Thanks for the suggestion.

It would be really nice to have it


Improve Overall-Performance

Since TPPDF is now running satisfactorily, I only use the official version. I noticed that in the previous version, the generation of about 100 pages takes about 8 seconds. The current version takes about 12 seconds. The pages consist of a connected table with 5 columns.
Could you work on optimizing the loops etc.?

I do not have a good way to test this, but the new table calculations logic in #181 will affect this issue, therefore I will mark it for now.

[ ] Create perfomance tests
[ ] Improve overall performance
[ ] Validate no functionality is broken


Convert model usage to protos

v1 dashboard uses model classes that have been hand written for moving data around.
Both the backend and frontend will need to be updated to use protos. Currently, the frontend for v2 is using protos where it can with the help of some adapters.

@keyonghan since everything is Dart, should we deprecate the protos and use the models in the frontend?

What is the context we chose protos for frontend models?

@CaseyHillers if this isn't feasible should we close this bug?

The major blocker here is what the future of dart:mirrors is. If package:appengine migrates to generated code instead of reflections for the datastore entities, then we'll get this for free.
I'll close this out as there's no open action items for flutter


Remove version from composer.json

As stated in https://getcomposer.org/doc/04-schema.md#version:

Optional if the package repository can infer the version from somewhere, such as the VCS tag name in the VCS repository. In that case it is also recommended to omit it.

Um, any progress? How long can code review on a one-line change described in the package managers' documentation take?

LGTM. Make it a little easier to push new versions @mickaelpois :)


fails building

If you have any trouble with this script, please submit an issue at https://github.com/ryantrinkle/try-reflex/issues
Entering the reflex sandbox...
these derivations will be built:
  /nix/store/n1pqk160vp1fpxpafx96yad8nrjfyvyp-reflex-dom-0.2.drv
  /nix/store/wp3d1g3259p9vzk3dmhgbg0flpz58n57-reflex-todomvc-0.1.drv
  /nix/store/varl8360siaz8098gz1cpgqk1bric0v1-ghc-7.10.2.drv
building path(s) ‘/nix/store/8pb91dwqb5ic8hgw9rvkxim4w65cd9lp-reflex-dom-0.2’
setupCompilerEnvironmentPhase
Build with /nix/store/7hnlpxpmpka84zrhyq7z11bs0q3vgak1-ghc-7.10.2.
unpacking sources
unpacking source archive /nix/store/6qg9531h3z6kpwhyhafmwrlm9w4681ml-h94xchkw7vrgrrkzli8bzqby6pmh1dkh-reflex-dom-4ce94d0
source root is h94xchkw7vrgrrkzli8bzqby6pmh1dkh-reflex-dom-4ce94d0
patching sources
compileBuildDriverPhase
setupCompileFlags: -package-db=/tmp/nix-build-reflex-dom-0.2.drv-0/package.conf.d -j4 -threaded
[1 of 1] Compiling Main             ( Setup.hs, /tmp/nix-build-reflex-dom-0.2.drv-0/Main.o )
Linking Setup ...
configuring
configureFlags: --verbose --prefix=/nix/store/8pb91dwqb5ic8hgw9rvkxim4w65cd9lp-reflex-dom-0.2 --libdir=$prefix/lib/$compiler --libsubdir=$pkgid --with-gcc=gcc --package-db=/tmp/nix-build-reflex-dom-0.2.drv-0/package.conf.d --ghc-option=-optl=-Wl,-rpath=/nix/store/8pb91dwqb5ic8hgw9rvkxim4w65cd9lp-reflex-dom-0.2/lib/ghc-7.10.2/reflex-dom-0.2 --enable-split-objs --disable-library-profiling --disable-executable-profiling --enable-shared --enable-library-vanilla --enable-executable-dynamic --enable-tests --extra-include-dirs=/nix/store/zy7xi64lsmnx0i0d0h8qgqigs4m85crc-glib-2.44.1/include --extra-lib-dirs=/nix/store/zy7xi64lsmnx0i0d0h8qgqigs4m85crc-glib-2.44.1/lib --extra-include-dirs=/nix/store/rgfqh21a4sv0vq75pckd355chfqxbyrg-pcre-8.37/include --extra-lib-dirs=/nix/store/rgfqh21a4sv0vq75pckd355chfqxbyrg-pcre-8.37/lib --extra-include-dirs=/nix/store/31w31mc8immhpnmxvcl4l0fvc3i5iwh0-zlib-1.2.8/include --extra-lib-dirs=/nix/store/31w31mc8immhpnmxvcl4l0fvc3i5iwh0-zlib-1.2.8/lib --extra-include-dirs=/nix/store/a18aaad3l82nqypk4hgky95y69m2d4dy-libffi-3.2.1/include --extra-lib-dirs=/nix/store/a18aaad3l82nqypk4hgky95y69m2d4dy-libffi-3.2.1/lib --extra-include-dirs=/nix/store/hd6km3hscbgl2yw8nx7lr5z9s8h89p04-glibc-2.21/include --extra-lib-dirs=/nix/store/hd6km3hscbgl2yw8nx7lr5z9s8h89p04-glibc-2.21/lib
Configuring reflex-dom-0.2...
Dependency aeson >=0.8 && <0.10: using aeson-<IP_ADDRESS>
Dependency base >=4.7 && <4.9: using base-<IP_ADDRESS>
Dependency bifunctors >=4.2 && <5.1: using bifunctors-5
Dependency bytestring ==0.10.*: using bytestring-<IP_ADDRESS>
Dependency containers ==0.5.*: using containers-<IP_ADDRESS>
Dependency data-default ==0.5.*: using data-default-0.5.3
Dependency dependent-map ==0.1.*: using dependent-map-<IP_ADDRESS>
Dependency dependent-sum ==0.2.*: using dependent-sum-<IP_ADDRESS>
Dependency dependent-sum-template >=<IP_ADDRESS> && <0.1: using
dependent-sum-template-<IP_ADDRESS>
Dependency directory ==1.2.*: using directory-<IP_ADDRESS>
Dependency exception-transformers ==0.4.*: using
exception-transformers-<IP_ADDRESS>
Dependency ghcjs-dom >=<IP_ADDRESS> && <0.2: using ghcjs-dom-<IP_ADDRESS>
Dependency glib ==0.13.*: using glib-<IP_ADDRESS>
Dependency gtk3 ==0.13.*: using gtk3-0.13.9
Dependency lens >=4.7 && <4.14: using lens-4.12.3
Dependency mtl >=2.1 && <2.3: using mtl-2.2.1
Dependency ref-tf ==0.4.*: using ref-tf-0.4
Dependency reflex ==0.3.*: using reflex-0.3.2
Dependency safe ==0.3.*: using safe-0.3.9
Dependency semigroups ==0.16.*: using semigroups-<IP_ADDRESS>
Dependency text ==1.2.*: using text-<IP_ADDRESS>
Dependency these >=0.4 && <0.7: using these-<IP_ADDRESS>
Dependency time >=1.4 && <1.6: using time-<IP_ADDRESS>
Dependency transformers >=0.3 && <0.5: using transformers-<IP_ADDRESS>
Dependency webkitgtk3 ==0.13.*: using webkitgtk3-<IP_ADDRESS>
Dependency webkitgtk3-javascriptcore ==0.13.*: using
webkitgtk3-javascriptcore-<IP_ADDRESS>
Setup: The following installed packages are broken because other packages they
depend on are missing. These broken packages must be rebuilt before they can
be used.
package adjunctions-4.2.2 is broken due to missing package
containers-<IP_ADDRESS>-7a88df79ef535718d24bcf01924e95ea
package aeson-<IP_ADDRESS> is broken due to missing package
bytestring-<IP_ADDRESS>-18c05887c1aaac7adb3350f6a4c6c8ed,
containers-<IP_ADDRESS>-7a88df79ef535718d24bcf01924e95ea,
text-<IP_ADDRESS>-cebfc698aa176cf71e533b3c4b5444b5,
time-<IP_ADDRESS>-962ac4f6f4ca6114bbde156fc38752bb
package attoparsec-<IP_ADDRESS> is broken due to missing package
bytestring-<IP_ADDRESS>-18c05887c1aaac7adb3350f6a4c6c8ed,
containers-<IP_ADDRESS>-7a88df79ef535718d24bcf01924e95ea,
text-<IP_ADDRESS>-cebfc698aa176cf71e533b3c4b5444b5
package cairo-<IP_ADDRESS> is broken due to missing package
bytestring-<IP_ADDRESS>-18c05887c1aaac7adb3350f6a4c6c8ed,
text-<IP_ADDRESS>-cebfc698aa176cf71e533b3c4b5444b5,
utf8-string-<IP_ADDRESS>-34502b713602e8a4940574a71c55ec33
package comonad-<IP_ADDRESS> is broken due to missing package
containers-<IP_ADDRESS>-7a88df79ef535718d24bcf01924e95ea
package data-default-0.5.3 is broken due to missing package
data-default-instances-containers-0.0.1-27d635f4f3e2890b0c17e2354c500c9b
package dependent-map-<IP_ADDRESS> is broken due to missing package
containers-<IP_ADDRESS>-7a88df79ef535718d24bcf01924e95ea
package ghcjs-dom-<IP_ADDRESS> is broken due to missing package
text-<IP_ADDRESS>-cebfc698aa176cf71e533b3c4b5444b5
package gio-<IP_ADDRESS> is broken due to missing package
bytestring-<IP_ADDRESS>-18c05887c1aaac7adb3350f6a4c6c8ed,
containers-<IP_ADDRESS>-7a88df79ef535718d24bcf01924e95ea
package glib-<IP_ADDRESS> is broken due to missing package
bytestring-<IP_ADDRESS>-18c05887c1aaac7adb3350f6a4c6c8ed,
containers-<IP_ADDRESS>-7a88df79ef535718d24bcf01924e95ea,
text-<IP_ADDRESS>-cebfc698aa176cf71e533b3c4b5444b5,
utf8-string-<IP_ADDRESS>-34502b713602e8a4940574a71c55ec33
package gtk3-0.13.9 is broken due to missing package
bytestring-<IP_ADDRESS>-18c05887c1aaac7adb3350f6a4c6c8ed,
containers-<IP_ADDRESS>-7a88df79ef535718d24bcf01924e95ea,
text-<IP_ADDRESS>-cebfc698aa176cf71e533b3c4b5444b5
package hashable-<IP_ADDRESS> is broken due to missing package
bytestring-<IP_ADDRESS>-18c05887c1aaac7adb3350f6a4c6c8ed,
text-<IP_ADDRESS>-cebfc698aa176cf71e533b3c4b5444b5
package kan-extensions-4.2.3 is broken due to missing package
containers-<IP_ADDRESS>-7a88df79ef535718d24bcf01924e95ea
package lens-4.12.3 is broken due to missing package
bytestring-<IP_ADDRESS>-18c05887c1aaac7adb3350f6a4c6c8ed,
containers-<IP_ADDRESS>-7a88df79ef535718d24bcf01924e95ea,
text-<IP_ADDRESS>-cebfc698aa176cf71e533b3c4b5444b5
package pango-<IP_ADDRESS> is broken due to missing package
containers-<IP_ADDRESS>-7a88df79ef535718d24bcf01924e95ea,
directory-<IP_ADDRESS>-4c0f5888775a31abf64528422f75531d,
process-<IP_ADDRESS>-d24d91bfed41f761f740d8f2deb82317,
text-<IP_ADDRESS>-cebfc698aa176cf71e533b3c4b5444b5
package reflex-0.3.2 is broken due to missing package
containers-<IP_ADDRESS>-7a88df79ef535718d24bcf01924e95ea
package scientific-<IP_ADDRESS> is broken due to missing package
bytestring-<IP_ADDRESS>-18c05887c1aaac7adb3350f6a4c6c8ed,
text-<IP_ADDRESS>-cebfc698aa176cf71e533b3c4b5444b5
package semigroupoids-<IP_ADDRESS> is broken due to missing package
containers-<IP_ADDRESS>-7a88df79ef535718d24bcf01924e95ea
package semigroups-<IP_ADDRESS> is broken due to missing package
bytestring-<IP_ADDRESS>-18c05887c1aaac7adb3350f6a4c6c8ed,
containers-<IP_ADDRESS>-7a88df79ef535718d24bcf01924e95ea,
text-<IP_ADDRESS>-cebfc698aa176cf71e533b3c4b5444b5
package th-expand-syns-<IP_ADDRESS> is broken due to missing package
containers-<IP_ADDRESS>-7a88df79ef535718d24bcf01924e95ea
package th-reify-many-0.1.3 is broken due to missing package
containers-<IP_ADDRESS>-7a88df79ef535718d24bcf01924e95ea
package these-<IP_ADDRESS> is broken due to missing package
containers-<IP_ADDRESS>-7a88df79ef535718d24bcf01924e95ea
package webkitgtk3-<IP_ADDRESS> is broken due to missing package
bytestring-<IP_ADDRESS>-18c05887c1aaac7adb3350f6a4c6c8ed,
text-<IP_ADDRESS>-cebfc698aa176cf71e533b3c4b5444b5
builder for ‘/nix/store/n1pqk160vp1fpxpafx96yad8nrjfyvyp-reflex-dom-0.2.drv’ failed with exit code 1
cannot build derivation ‘/nix/store/varl8360siaz8098gz1cpgqk1bric0v1-ghc-7.10.2.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/varl8360siaz8098gz1cpgqk1bric0v1-ghc-7.10.2.drv’ failed
/home/jchee/.nix-profile/bin/nix-shell: failed to build all dependencies
It looks like a problem occurred.  Please submit an issue at https://github.com/ryantrinkle/try-reflex/issues

This can arise because GHC is not deterministic, and so rebuilt dependencies can still not work, even if they were rebuilt with the same settings. I'd guess that @ryantrinkle built something before hydra.nixos.org did, and now there are different sets of cached binaries floating around.

Another way to go is to use stack thanks to try-stack-reflex. Perfect working solution for me.

@yamafaktory Thanks for the pointer, I was able to build a native binary using that method but not a JS binary: https://github.com/luigy/try-stack-reflex/issues/3

@cheecheeo Are you still having this issue?

@ali-abrar No longer observing this issue :+1:


Pnpm hanging issue

What version of Turborepo are you using?
1.4.3
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Other
Describe the Bug
Tested on Mac, ubuntu and Windows. But only working on windows.
I tried to do a with-docker example for turborepo but with pnpm. Replacing turbo prune with other ways as I see in this issue: https://github.com/vercel/turborepo/issues/534
here's my repo:
https://github.com/yovanoc/turbo-test
When we try to run pnpm turbo run build --filter=web... it's hanging forever even if the build finishes.
This is why I done this in the docker file but very dirty.

I think the problem happening turbo cli side, but launching the same command with --filter=api... works perfectly fine.
Expected Behavior
Not hanging so that the docker-compose can work perfectly.
To Reproduce
Just follow the docker steps in readme.

This looks to be the same issue as https://github.com/vercel/turborepo/issues/1719, as the docker example uses Next.js in standalone mode. I'm going to close this one as a duplicate to consolidate the discussion over there - thanks!


Visibility: Checking if bottom is visible not functional inside of a Modal

Bug Report
Semantic-UI React Visibility does not seem to be functioning properly inside of modals.

Steps
Take any element with visibility and place it inside of a modal, the visibility should stop being functional.
Expected Result
When the bottom of the page is scrolled to, visibility should recognize that and call a function accordingly.
Actual Result
When the bottom of the page is scrolled down to in the modal, Visibility does not recognize this and visibility does not call any functions that it is supposed to at the bottom of the page.

https://codesandbox.io/s/jnzw70v695
Please provide a complete repro steps with minimal repro case on CodeSandbox.


Update chain.json for archway mainnet

Updated the chain.json

Some rpc endpoints had been removed as they were not active

Please see the comments from this PR: https://github.com/cosmos/chain-registry/pull/2456

Please see the comments from this PR: #2456

@JeremyParish69
Hey, we have seen the comments and addressed those ones which we think is valid in this PR.
We don't want to have untested endpoints so we removed the ones that were not working.
We will add more versions and compatibility on the next releases and when there's a need for it.
Thank you.

Please see the comments from this PR: #2456

@JeremyParish69 Hey, we have seen the comments and addressed those ones which we think is valid in this PR. We don't want to have untested endpoints so we removed the ones that were not working. We will add more versions and compatibility on the next releases and when there's a need for it.
Thank you.

Thanks for the response, but there are many other comments which are all valid. I'd have the make the same comments here on this PR


Technical Assistance: SafeYou

An exploratory conversation between SafeYou and UNICEF surface opportunities for UNICEF to assist that team with technical assistance around the creation of an open source community to drive contributions to their product to maximize the reach and impact of their solution.
9/15/21 - Introductory email to discuss the OS archetype they fit into (bathwater), and switching to Rocket Ship to Mars, and suggesting team to move development to GitHub
9/21/21 - Follow-Up to the above, awaiting response.

Closing, we will not pursue this any longer.


copy paste

cmd+c and cmd+v does not seem to work as copy paste on Mac.

Are you using Safari?

Chrome on macOs

And when I tested it today it started working, which was weird.

I'm not surprised. The current copy/paste implementation is buggy because it uses system clipboard, which tends to fail on permissions.


Id change listener (DEPENDANT PR)

Description of Change
depends on https://github.com/mono/SkiaSharp/pull/2150

Bugs Fixed

Fixes #

API Changes
None.

Behavioral Changes
None.

Required skia PR
https://github.com/mono/SkiaSharp/pull/2151
PR Checklist

[ ] Has tests (if omitted, state reason in description)
[ ] Rebased on top of main at time of PR
[ ] Merged related skia PRs
[ ] Changes adhere to coding standard
[ ] Updated documentation

Thanks for this PR and the work. However, I do not think this is used much outside of internal things in skia. To reduce maintenance overhead, I want to keep the API at a minimum. If this is ever needed in SkiaSharp or provides some significant benefit we can reopen.


Part ways with message-pack

lol 0.6.2 uses message pack. The reason is zero-copy decoding. When the backing memory lives long enough, it is obvious that the Bin field of decoded object can be just referencing to it.
MessagePack is nicely designed serialization framework however, my concern is firstly messgepack-rust is not going to be maintained actively (https://github.com/3Hren/msgpack-rust/issues/255) and secondly mixing two frameworks isn't straight forward.
Regarding the zero-copy decoding, prost 0.7 started to support zero-copy decoding:

@rolftimmermans added support for generating Rust bytes::Bytes fields from protobuf bytes fields. When deserializing from a Bytes instance, this enables zero-copy deserialization for bytes fields!

https://github.com/danburkert/prost/releases/tag/v0.7.0
We can use this instead of message-pack and since Bytes is reference-counted this way is more convenient than referencing because we are free from lifetime stuffs.
Related: https://github.com/hyperium/tonic/issues/517

If you can use Serde, I'd recommend switching to Bincode instead of Prost.
Bincode is many times faster on decode and encode tasks than Prost with the same message.  Benchmarks.  All fields can be zero copy, including string fields.

If you can use Serde, I'd recommend switching to Bincode instead of Prost.
Bincode is many times faster on decode and encode tasks than Prost with the same message.  Benchmarks.  All fields can be zero copy, including string fields.

@only-cliches Thank you for the information. The benchmarks actually show that Bincode is faster. I am curious about the mechanism (or difference between protocol buffer) so I will look into it. If there exists some document, it would be a great help.

@only-cliches Thank you for the information. The benchmarks actually show that Bincode is faster. I am curious about the mechanism (or difference between protocol buffer) so I will look into it. If there exists some document, it would be a great help.

done. https://github.com/akiradeveloper/lol/pull/152

done. https://github.com/akiradeveloper/lol/pull/152


GELF logging driver saturates CPU for a loong time

$ docker version
Client:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.5.1
 Git commit:   a34a1d5
 Built:        Sat Nov 21 00:49:19 UTC 2015
 OS/Arch:      darwin/amd64

Server:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.3
 Git commit:   a34a1d5
 Built:        Fri Nov 20 17:56:04 UTC 2015
 OS/Arch:      linux/amd64

My container does fmt.Fprintf(os.Stdout, "howdy ho\n") 10 million times. Gelf driver options look like this:
--log-driver=gelf --log-opt=gelf-address=udp://<IP_ADDRESS>:23010 --log-opt=gelf-tag=wtf

Endpoint does not respond, since nothing is running on port 23010.

Just running my program in container and redirecting stdout to file: 22s — obviously good.
Default log driver: 40s, CPU drops to zero after container exits — good-ish.
Gelf log driver: 26s, CPU drops to zero after 5831s (!!!) — not good.

This makes docker pulls very sad. The more important thing: docker containers are slowing down too. I suspect that fwrite() to stdout blocks in containers, leading to code path blocking in programs.
cc @dqminh

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

So i looked at this. It's somewhat related to #19371
The problem in docker <= 1.9 is that we dont have a bounded buffer for logs, so application can write as fast as they can and then exits while the log driver cant keep up. #19731 makes it worse because it closed the udp connection, so logs were written to a closed connection and then flooded docker's own logging facility with errors.
In 1.10 things are a bit better, it has a bounded buffer for logs ( capped at 1MB, althought i would like it to be customizable as some applications might generate more logs than the daemon can send, and we want to minimize the blocking, while some might send very little and we can have a smaller buffer ). So application that sends too much will block, which i think is a more reasonable outcome.
ping @LK4D4 @aaronlehmann for opinions.

I'll add a benchmark with actually working gelf endpoint, things are pretty messy when it works too.
Good example: https://github.com/mesosphere/marathon/issues/2985 Another good example: I waited 30 minutes and docker pull did not print anything on a busy docker. Not sure if bound buffer alone can fix that.
I'll be happy to test master in docker machine with virtualbox/vmware driver, but can't find how to do it.

TIL about errors on write to UDP socket.
This won't give any errors:
docker run -it --rm --log-driver gelf --log-opt gelf-address=udp://<IP_ADDRESS>:1234 alpine:3.3 /bin/sh -c 'date'

This will give one error:
docker run -it --rm --log-driver gelf --log-opt gelf-address=udp://<IP_ADDRESS>:1234 alpine:3.3 /bin/sh -c 'date && date'

Did some more testing with 1.10 (0b7e9ef910b91a0a8cb334db852ad143c4660155).
10 million messages written by the following script on debian:jessie:
#!/bin/bash -e

STARTED=$(date +%s)

for i in {1..1000000}; do
	echo OK
done

ELAPSED=$(($(date +%s) - $STARTED))

echo Done in $ELAPSED 1>&2

driver
real time
cpu time
max cpu usage

json-file
4s
10s
~200%

gelf
29s
45s
~110%

journald
987s
7527s
~780%

Crazy numbers are still there, so it's not errors that are making things terrible. With work from @dqminh merged I can optimistically expect gelf numbers to drop 40x (https://github.com/Graylog2/go-gelf/pull/2), making it at least comparable to journald.
Notes:

json-file cpu usage is not very accurate, but it's fast enough not to care about it.
journald in my case was also saturated to 100%, it was sending data to syslog on the same box.
gelf endpoint was listening on the same box: nc -v -l -u -p 4343 > /dev/null.

UPDATE: in previous version journald and gelf results were mixed up.

@dqminh I see https://github.com/Graylog2/go-gelf/pull/2 is merged; should we do a vendor-update?

seeing this with 1.10.3 , the change form syslog driver to gelf driver has completely pegged our system. It is somewhat unusable in this state.

Any update on this?  I'm hesitant to turn on the gelf driver in production on busy servers unless this is fixed now.

@jmreicha the issue is not yet fixed, but related things are under discussion: https://github.com/docker/docker/pull/23198

@jmreicha there're options to configure the gelf pipeline optimization (https://docs.docker.com/engine/admin/logging/overview/#gelf-options) i.e. gelf-compression-level and gelf-compression-type.
Disable the compression helps a lot if your collector is local or nearby.

After upgrade from Docker 1.8.3 to 1.10.3 gelf became unusable. A test with two machines (32 cores, 32 GB RAM, 2x10GE Network, SSD) writing 10 million messages on one machine:
seq 10000000 | parallel --jobs 0 -n0 echo '<some JSON message>';

And measuring the throughput on the other machine with:
pv -Wartl > /dev/null

driver
throughput

gelf
700 /s

json-file
28000 /s

To ship json-file logs to remote machine I was using gliderlabs/logspout.

After upgrade from Docker 1.8.3 to 1.10.3 gelf became unusable.

What's the thoughput with gelf 1.8.3 that you get before ? Also can you compare CPU and memory usages going from 1.8.3 to 1.10.3 ?
json-file always perform better than gelf when it comes to benchmark like this.
Also there are many changes in the logging infrastructure of Docker coming from 1.8.3 to 1.10.3, which also includes the fixed buffer for logging which may make log flooding worse for driver that goes through the network compares to one that read/write locally ( from page cache ).

The docker side of the gelf driver is extremely simple, the issue must be in the vendored gelf package (and looking at it I can see at least one thing to fix).
The only tunable from the docker side seems to be disabling compression.

And doing some testing, the compression libs in go are just terribly slow. I would recommend disabling compression (default is enabled).

Closing this as there doesn't really seem to be anything actionable we can do. I couldn't really squeeze anything else out of the gelf package while trying to tune it.
I know we already have a separate issue discussing gzip performance (which is really a golang issue) here: #10181

ping @mariussturm

@dqminh My 1.10.3 test didn't work with 1.8.3 and 1.9.1 due to #19371. I couldn't also disable compression as suggested by @cpuguy83 because the options were added in 1.11.0 (#19831). I'll switch to logspout for now and try again as soon as CoreOS with Docker 1.11 is available.

As an outsider it's a little difficult to keep up to date. This issue was opened a year ago and we are still seeing poor performance on the GELF driver. Does anyone have any insight into when we might expect a resolution?
As an aside - Would it make sense to add a warning to the docker docs?
Thanks

@sorenbs If you can enable debug mode on the docker daemon and collect pprof metrics we could analyze what issues you are seeing.
Docker's implementation is doing very little itself other than converting a []byte to string, so I suspect any issue is likely happening within the gelf library.
Both gzip compression and json marshalling in the gelf library could be contributing to high CPU usage but it would be difficult to tell without profile data.

@sorenbs different compression levels was added in 1.11, should be up to you how many cpu cycles you want to invest into logging. If bandwith is no issue you can disable it.

Thanks @cpuguy83 and @mariussturm We are running docker on aws ECS. I don't really know what it would take to enable debug mode and collect pprof metrics. From this and the linked issues I was under the impression that there is a known issue with ELK driver.
I am running with compression level 1. Changing it to level 9 has a small negative impact as expected.


Which fields are available?

Hello,
I'm testing this gem with GCM, using on the device the GCM QuickStart, in the notification created I use, as data an hash like this:
data: {        message: self.title     }
It correctly sends the notification, which is displayed on the android device, I was looking for a way to set the title and the icon, but can't seem to find one, I tried something like:
data: {       title: "This Title",       message: self.title     }
but it just shows the message? What am I missing?
thank you for the answer,
Gabriele

Hi @gabrieletassoni. Rails push notifications gem uses Ruby Push Notifications to build notifications. In the particular case of GCM the data is appended here: https://github.com/calonso/ruby-push-notifications/blob/master/lib/ruby-push-notifications/gcm/gcm_notification.rb#L26 which means that whichever thing you append there should be delivered.
Let me know if you need any further help or you figured out already.
Cheers!

Many thanks for the answer and the good direction,
I'll dig more into the payload to be sent and how to manage it client side, I'm using the GCM demo provided by Google, which I think it manages just the :message key, I'll experiment with it to show custom payload fields.
Thanks again,
Gabriele

Ok, that's great.
Let me know if you need anything else and I'll be happy to help.
PS: Once you work out how to add them, could you please add an example to this thread should someone else find it useful? Also an update of the gem's docs/examples would he lovely.
Regards

Yes, for sure! ^_^ In a couple of days I’d manage to code again on that project and hopefully report back here.
Bye.

Il giorno 29 gen 2016, alle ore 11:26, Carlos Alonso<EMAIL_ADDRESS>ha scritto:
Ok, that's great.
Let me know if you need anything else and I'll be happy to help.
PS: Once you work out how to add them, could you please add an example to this thread should someone else find it useful? Also an update of the gem's docs/examples would he lovely.
Regards
—
Reply to this email directly or view it on GitHub https://github.com/calonso/rails-push-notifications/issues/7#issuecomment-176683199.

Closing issue as stale. Any update @gabrieletassoni??
Please reopen when you're ready.


Raleigh - https://tinyurl.com/yal8sfsz

^^^ link above is the mailto but i'm not sure if that's what's easiest so I'm copying all the other stuff here:
TO<EMAIL_ADDRESS>CC<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>SUBJECT: Decrease funding for police in the proposed budget
Dear Mayor Baldwin,
My name is [NAME] and I am a resident of Raleigh. I urge you and the rest of the city council to amend or deny the proposed budget for 2021. I would like to redirect money away from RPD and into social service programs that will benefit public health and our own communities, especially communities of color. The proposed budget for 2021 suggests that the largest fraction of the city’s budget should go to policing ($110,650,573), which is over 60% larger than even the second largest allocation of funds, fire ($67,687,901). If this is truly representative of the council’s thoughts on how funds should be allocated in a city in which over 6,000 of my neighbors (Raleigh + Wake County) are currently experiencing homelessness and in which nearly 100,000 of my neighbors (Raleigh + Wake County) are impoverished and at risk of becoming homeless (www.raleighrescue.org), I am ashamed to call Raleigh my home and I am ashamed to call you my elected officials.
Crime is not random. Crime usually happens when someone has been unable to meet their basic needs through other means. So, to really "fight crime," we don't need more police officers - we need more jobs, more educational opportunities, more arts programs, more community centers, more mental health resources, as well as more of a say in how our own communities function. This is a long transition process but change starts with reallocating this funding!
We don't need a militarized police force. We need to create a space in which more mental health service providers, social workers, victim/survivor advocates, religious leaders, neighbors, and friends - all of the people who really make up our community - can look out for one another. Mayor Baldwin, will you look out for me, and will you look out for us?
Thank you,
[NAME]

Add this now, thank you!

Added with 309d965f69dd39572e00e6e9e37a5c821a633dc6, thank you!!

The City Council ccs are not being populated for the Raleigh email.

They come up in the email client for me but are not being displayed on the site - I'll fix this. Do they not come up in the email for you?

This is working fine for me. Verified coming up on site and in mail client. Please reopen if the issue persists.