cant download centos7 plugins

System Information
i cant download this url
wget https://github.com/dmacvicar/terraform-provider-libvirt/releases/download/v0.5.2/terraform-provider-libvirt-0.5.2.CentOS_7.x86_64.tar.gz
Linux distribution
 Centos7
Terraform version
terraform -v

v0.12.8
Provider and libvirt versions
terraform-provider-libvirt -version

If that gives you "was not built correctly", get the Git commit hash from your local provider repository:
git describe --always --abbrev=40 --dirty

Checklist

[ ] Is your issue/contribution related with enabling some setting/option exposed by libvirt that the plugin does not yet support, or requires changing/extending the provider terraform schema?

[ ] Make sure you explain why this option is important to you, why it should be important to everyone. Describe your use-case with detail and provide examples where possible.
[ ] If it is a very special case, consider using the XSLT support in the provider to tweak the definition instead of opening an issue
[ ] Maintainers do not have expertise in every libvirt setting, so please, describe the feature and how it is used. Link to the appropriate documentation

[ ] Is it a bug or something that does not work as expected? Please make sure you fill the version information below:

Description of Issue/Question
Setup
(Please provide the full main.tf file for reproducing the issue (Be sure to remove sensitive information)
Steps to Reproduce Issue
(Include debug logs if possible and relevant).

Additional information:
Do you have SELinux or Apparmor/Firewall enabled? Some special configuration?
Have you tried to reproduce the issue without them enabled?

I've noticed that there are no longer pre-built binaries for Centos 7/8. Is there a known problem with the generation of the Centos binaries or are no no longer generated due to lack of interest?

hi @cavejay  normally we have provided this by https://build.opensuse.org/package/show/systemsmanagement:terraform/terraform-provider-libvirt but there is some work to be done for the centos7

Any thoughts on a centos 7 build?  Thanks.

i acyually find how to sloved:
$ yum install unzip git libvirt-devel
$ mkdir -p $GOPATH/src/github.com/dmacvicar; cd $GOPATH/src/github.com/dmacvicar
$ go get github.com/dmacvicar/terraform-provider-libvirt
$ go install github.com/dmacvicar/terraform-provider-libvirt
$ cp $GOPATH/bin/terraform-provider-libvirt ~/.terraform.d/plugins

Kevin,
I note you seem to be using centos as your dev platform (using yum install).
I use macos to deploy all my instances into AWS, VMWare, Openstack, etc.  I thought I would need a centos7 plugin so I could deploy into centos7.  Can you set me straight on this, please?
Thanks,
Chris.

Hi Chris,
The OS in the plugin name is the OS the plugin is compiled to be run from.
So in your case with macos you would be looking to run a
Terraform-provider-libvirt compiled for macos (Darwin?)
Does this help?
On Sat, 7 Dec. 2019, 5:39 am Chris Jefferies<EMAIL_ADDRESS>wrote:

Kevin,
I note you seem to be using centos as your dev platform (using yum
install).
I use macos to deploy all my instances into AWS, VMWare, Openstack, etc. I
thought I would need a centos7 plugin so I could deploy into centos7.
Can you set me straight on this, please?
Thanks,
Chris.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dmacvicar/terraform-provider-libvirt/issues/641?email_source=notifications&email_token=AAIA7BA33O7IRPOEU7W5IVTQXKL45A5CNFSM4IVB7RB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGE7K5Q#issuecomment-562689398,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIA7BERURNANGZMMJ6LICDQXKL45ANCNFSM4IVB7RBQ
.

Yes.  It helps.  Thank you for your time.


feat: update langchian-core runtime library name

the failed checks is about experimental, and i dont change it.

Sorry to bothe, can this be merged?


Thank you

The world was missing a dynamic wavelet matrix implementation. Despite several publications in the topic, no code ever materialized. Thanks!
Have you described this code in a publication? What are you using it for?

@ekg
Sorry. There is no description of this code.
I use this for competitive programming. For example, this problem can be solved using dynamic wavelet matrix.
(http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_2_A&lang=en)
(http://judge.u-aizu.ac.jp/onlinejudge/review.jsp?rid=4528617#1)

Would you be interested in being part of a paper on a related library? I have started porting this code into that repo. The major change is to use a configurable succinct rank/select bitvector from it. I'll post code when I've debugged it.

https://github.com/xxsds/DYNAMIC is the library I'm referring to

My initial tests show a large performance improvement for rank and select when using DYNAMIC's succinct bitvector class. This comes at almost no loss of performance for dynamic operations:
-> % ./test-wm | head -7
SPEED
access:1405ms
rank:1695ms
select:2343ms
insert:1440ms
erase:2529ms
update:4767ms

Using DYNAMIC's bitvector:
SPEED
access:271ms
rank:343ms
select:1234ms
insert:1559ms
erase:2010ms
update:4219ms

This could be useful for you. I'll mention you in the PR there so you can inspect it.

Thank you! I'll take a look at that library.

ekg's pull requests have been merged.
https://github.com/xxsds/DYNAMIC/pull/21


Parameterizing a test function -- use TEST or just return enum?

If I want to parameterize a test function, I know that I must call it with CHECK_CALL() but am wondering if it is fine for that function, which accepts arguments, to be a TEST or rather just explicitly return the greatest enum, or does this not matter?

I'm not sure I understand your question -- I think you're asking about using CHECK_CALL, but you also mention parameterized tests, and they aren't that related.
First, in case it's helpful: looking at example.c, there's a parametric / parameterized test, that is, a test with arguments:
TEST parametric_example_c99(int arg) {
    ASSERT(arg > 10);
    PASS();
}

This is called with RUN_TESTp(parametric_example_c99, 10);. It's inside a guard for C99, because the RUN_TESTp macro uses __VA_ARGS__, added in C99. If you're running in a pre-C99 standard, there's also RUN_TEST1(test_case, &struct_with_args_for_test);, which just passes in a single void pointer.
Otherwise, it sounds like you might be asking about calling sub-functions with CHECK_CALL, which isn't really related to parameterized tests. For any function called with CHECK_CALL, it should return enum greatest_test_res, but the CHECK_CALL macro doesn't care what arguments are passed to the function -- all it does is check the return value, and if it isn't GREATEST_TEST_RES_PASS, then it returns it as the overall test result.
Does that help? If not, could you clarify your question?

I think of them as related since I would prefer to encapsulate the logic for a parametric test, i.e. by generating the inputs in a loop, inside another function rather than have that logic "global" in the suite itself. Thus I think these must be nested TEST methods, and thus I'd have to use CHECK_CALL.
So I guess the question is if this nested parameterized TEST function that is called with CHECK_CALL can be defined as a TEST or if it must instead explicitly return enum greatest_test_res and not be defined as TEST.

From an implementation standpoint, if you nest test cases and use CHECK_CALL, greatest will only see it as a single test case. I prefer to put the looping in the suite, because then I can use the name-based filtering to only run the tests with certain arguments sometimes (I use the name-based filtering a lot during development), but greatest will work either way. If you want to call multiple TEST functions with arguments from inside a single test case (called directly by RUN_TEST or one of its variants), then CHECK_CALL would be the right approach.
TEST is just an alias for GREATEST_TEST, which expands to static enum greatest_test_res; it's not doing anything sophisticated behind the scenes. TEST mostly exists for convenience, and so if I change the return type of test cases later it won't necessarily be a breaking change for the API.

I'm not actually using RUN_TEST inside the nested call, I'm just doing this:
TEST another_test(sometype foo, sometype bar) {
  ASSERT(something(foo,bar));
  PASS();
}

TEST one(void) {
  sometype foo, bar;
  CHECK_CALL(another_test(foo, bar)); // perhaps inside a loop here
  PASS();
}

Is that adequate?

Yes, and you'd just use RUN_TEST to call the outer function. Nesting calls to RUN_TEST won't work, because it updates what test is currently running in a global struct, and assumes there's no nesting.

I suppose RUN_TEST should explicitly error if called from inside another running test; currently, I think it'll just lead to strange errors.

If this answers your question, then all there's left to do is see if the documentation could explain this better.

Thanks, sounds good.


Related to last PR for bower, this time using npm

Read your comments from the last PR and implemented similarly but only using npm. This decreases amount of committed files and is better for version management. Thanks for the feedback.

Wow thanks!


bug(release-please): crashes with GraphqlError

GraphqlError: Something went wrong while executing your query. Please include `5437:4DE9:517AF7:1824113:60A51EAD` when reporting this issue.
        at /workspace/node_modules/@octokit/graphql/dist-node/index.js:77:13
        at runMicrotasks (<anonymous>)
        at async GitHub.graphqlRequest (/workspace/node_modules/release-please/build/src/github.js:79:24)
        at async GitHub.mergeCommitsGraphQL (/workspace/node_modules/release-please/build/src/github.js:496:26)
        at async GitHub.mergeCommitIterator (/workspace/node_modules/release-please/build/src/github.js:603:30)
        at async JavaYoshi.latestTag (/workspace/node_modules/release-please/build/src/release-pr.js:403:26)
        at async JavaYoshi._run (/workspace/node_modules/release-please/build/src/releasers/java-yoshi.js:68:27)
        at async Function.Runner.runner (/workspace/build/src/runner.js:21:5)
        at async createReleasePR (/workspace/build/src/release-please.js:134:9)

Starting as p2 cos' it's rare.
Other info:
compare: "https://github.com/googleapis/java-pubsublite/compare/f0feabb1cd65...13ff53bfe691"
modified: [
0: ".github/generated-files-bot.yml"
1: "synth.metadata"
]
message: "feat: add `gcf-owl-bot[bot]` to `ignoreAuthors` (#645)

This PR was generated using Autosynth. :rainbow:

Synth log will be available here:
https://source.cloud.google.com/results/invocations/64661f4d-5b51-4352-90ec-aee103f1388c/targets

- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)

Source-Link: https://github.com/googleapis/synthtool/commit/7332178a11ddddc91188dc0f25bca1ccadcaa6c6"

There's not much actionable we can do here. We already attempt 3 times and we haven't seen this very often. If it occurs more often we can revisit.


How to iterate on all

MLConjug version: 3.3.2
Python version:  3.7.1
Operating System: Windows / Anaconda

Description
Hello,
This is more of a question than an issue. I would like to know if there is a general way to print all verb conjugations for a given language.
For example, for the input of: lang=en verb=jump, loop over default_conjugator.conjugate(verb) and print all tenses and conjugations, so users can get a quick idea on how to use a specific verb.
I see that  default_conjugator.conjugate(verb) returns a verb class specific for the language.
I'm kind of new to python, so a bit of guidance for this case would be very helpful to implement this awesome library with our project.
Thank You!

Hi @poolebu.
At the moment there is no simple way to iterate over all conjugation of a verb apart from doing:
for key, val in verb.items()
But this is a nice idea and I will implement a new method of the Verb class called Verb.iterate() that will return a list of all the conjugated forms in a canonical order.
I will implement it during the week and release a new version of mlconjug before the weekend.
Thanks for using mlconjug and for providing great feedback.
Cheers.
SekouD.

Wow @SekouD thank you! I tried to use
verb = conjug_info=default_conjugator.conjugate(verb)
for key, val in verb.items()

But got an error, that verb has not items property.
Then I tried something like this but got stuck at the next level:
for tense in verb.conjug_info:
   print(tense)
   for x in tense.??

In short, I found indicative but not able to get indicative past tense for example
I will wait for your implementation. I have tested the software in a small group of users, and the value of getting the conjugations is huge to learn verbs in a new language. This is very exciting. I'll test as soon as it's ready. Thank you again for writing this.

Thanks for the feedback @poolebu!
I will try to make the changes tonight and push the changes tomorrow.
I will let you know as soon as the new version has been pushed to pypi.
Thanks again!
SekouD

Hi @poolebu , I just released version 3.4.0 of mlconjug.
It fixes a subtle bug when the verb's root never appears in its conjugated forms.
I also implemented your idea of being able to iterate over all conjugated forms.
To use this feature you can do the following:
import mlconjug
default_conjugator = mlconjug.Conjugator(language='en')
test_verb = default_conjugator.conjugate("be")
all_conjugated_forms = test_verb.iterate()
print(all_conjugated_forms)

You can install the new version via pip install mlconjug
Thank you again for your suggestion, as I am sure it will be helpful to many users.
Do not hesitate to propose new features/suggestions or to report bugs when you find some.
Peace, love and have fun :)
SekouD.

Thank you!! It's working perfectly now! I'm figuring out how to present this in a digestible manner to the user. I'll let you know as soon as we launch a test version.


No option to exclude or obfuscate secrets within core-site.xml

core-site.xml can include fs.s3a.secret.key and fs.s3a.access.key values which is a security concern.

@nleaman - thanks for opening this. I propose we fix this by adding an exclude option top the command line
To implement this we would probably test for the file here https://github.com/rsvihladremio/dremio-diagnostic-collector/blob/main/collection/capture.go#L271-L278
Let me know what you think, since this would I believe be the cleanest option rather than directly modifying files, then if you're asked to supply that file then you can after applying your own obfuscation as needed

@nleaman I have pushed a new release v0.1.5 where you can exclude files - if this meets your needs then let us know.

we are going to stop collecting this soon


Fix search regex to find macOS in Apple's changed page #76

This should fix issue #76 (not #72, sorry for the typo).
I'm not really a developer, so have mercy on my incompetence!

@captn3m0 you may want to update https://gist.githubusercontent.com/captn3m0/e7cb1f4fc3c07a5da0296ebda2b33e15/raw/5747e42ad611ec9ffdb7a2d1c0e3946bb87ab6d7/apple.txt.


Last Week in Pony - December 16, 2018

The audio for the December 11, 2018 Pony developer sync is available here:
https://pony.groups.io/g/dev/files/Pony Sync/2018_12_11/pony_sync_december_11_2018.m4a


No init_hidden for mdrnn?

I do not see hidden layer function initialization in trainmdrnn.py or mdrnn.py. Can you explain if this is correct? I think you would need initialize hidden layers of RNN since your training data may come from many different episodes. Thanks in advance if you can clarify.

Since we are using pytorch default LSTM implementation without specifying h_0 and c_0, both the hidden units and cell units are initialized to 0 before processing any subsequence. This is somehow the best we can do, since we are sampling random subsequences from rollouts, and thus do not keep subsequences ordered (if subsequences were ordered, we could init h_0 and c_0 with the final h and c from the previous subsequence). In practice, my experience is that you gain more with input shuffling than with maintaining hidden states between sequences. Hope this helps.

Thanks for clarification.


crystal: fix build in chroot environment, again

Motivation for this change
After last pr (#21428) being merged into master, hydra still failed to build crystal,
then I realized that forgot to patch another script used by Makefile.
(I test last pr with nix.useSandbox = true, it succeed to build locally, strange..)
This time I'm sure it can be build without /usr/bin/env,
but to make sure everything works after this pr,
@mimadrid I would be very appreciated if you can also test this pr to ensure everything works with nix.useSandbox = true, and to avoid I made any silly mistake again, thank you!
Things done

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

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

I've recently tested this patch and now crystal is compiling without any break.
Great job, @sifmelcara.


Crash at startup in 1.20.2 (Forge and Fabric)

With fabric and the mods ("Fabric API", "Legacy4J 1.20.2-1.4.3b" and Architectury API for Fabric") it simply does not start and shows a crash report.
Crash report with Fabric:
crash-2024-03-02_11.57.03-client.txt
And with Forge 1.20.2 it crashes also with the mods ("Legacy4J 1.20.2-1.4.3b" and "Architectury API for Forge").
Crash report with Forge:
crash-2024-03-02_12.01.00-client.txt

Thanks for reporting, it'll be fixed in the next version.


support wagmi 2

Codecov Report

Merging #59 (a6f5cda) into develop (e4cac48) will increase coverage by 32.44%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           develop      #59       +/-   ##
============================================
+ Coverage    48.06%   80.50%   +32.44%
============================================
  Files           98       54       -44
  Lines         3922     1672     -2250
  Branches       753      266      -487
============================================
- Hits          1885     1346      -539
+ Misses        2037      326     -1711

Flag
Coverage Δ

boba-contracts
?

contracts
78.67% <ø> (ø)

core-utils
86.77% <ø> (ø)

data-transport-layer
?

message-relayer
?

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

Impacted Files
Coverage Δ

packages/boba/contracts/contracts/TokenPool.sol

...boba/contracts/contracts/DiscretionaryExitBurn.sol

...kages/data-transport-layer/src/utils/validation.ts

...es/boba/contracts/contracts/LP/L2LiquidityPool.sol

...racts/contracts/oracle/SimplePriceFeedRegistry.sol

...layer/src/services/l1-ingestion/handlers/errors.ts

...contracts/contracts/standards/L2StandardERC721.sol

.../contracts/contracts/DAO/governance-token/BOBA.sol

...boba/contracts/contracts/oracle/FluxAggregator.sol

...ontracts/contracts/standards/L2GovernanceERC20.sol

... and 34 more

Continue to review full report at Codecov.

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


Reference download only in English

When you download the offline reference, it is only in English,
even if you are browsing on the Spanish or Chinese versions.
Is it an issue of having to run a local server so that the JS files do their thing and translate?
Or maybe the JS files are not included? I could not figure it out.
Also, the file names are the same, it would be cool for the Spanish one to be
either p5-reference-es or even p5-referencia.
In the meantime, I told people at the Processing forum to please excuse us and to use the online
reference and even the Spanish book.

The offline reference generating step probably didn't include the translated versions. The html page probably also does not have links to switch between the versions.
Are you thinking more of having seperate versions (ie. Spanish and Chinese versions) of the offline reference or just one version that you can switch between them?

The build step for the offline reference is a good place to start as it shows how the whole package is assembled from different parts (this part as well).
One particular thing to note is the renaming of data.json to data.js while also prepending referenceData =  to the start of the file. This is done to get around the problem of cross origin request while opening from the file:// path. I imagine it will be the case of doing the same with the translated versions as well and loading them all in alongside the original version onto the webpage, as we are not serving over the internet file size is not as much a concern.
Then to include the options to switch languages, you'll probably need to edit files in offline-reference/extra. You may need to go through very long and complicated js file to find the right place to edit though.
Anything else you are not sure about just let me know.

thanks @limzykenneth !
It seems challenging to me, but I will try!

i am assigning myself this issue to tackle it, i will tag @limzykenneth  when i hit a roadblock :)


Prepare for v0.9.10

After #1068 is merged, we'll be releasing v0.9.10. Can you have a look, @sakama @kamatama41 ?

Thanks. Okay, releasing v0.9.10...!


Sugestão da tradução do termo React Native

Por se tratar do nome do framework não vejo a necessidade de traduzi-lo.
Além disso, na minha visão o termo props tem mais haver com propriedades do que adereços.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@marciokuroki Thank you for  creating this PR.  However, since it was created, the underlying document has changed.  Can you please review and resolve the current merge conflicts?  It could be the changes to the underlying document are so significant that your changes are no longer relevant.  If the latter is the case, it might be easier to just close this PR and create a new PR with any changes you still feel are important to make.
If you need any assistance or have questions about resolving the merge conflicts, please reply back or contact someone in the Contributors Room on Gitter.
Thank you.

We are restructuring a lot of the code and learning resources referenced in your pull request, so for now I am going to go ahead and close this pull request. Thanks again for opening this pull request and for contributing to the community.


Add Swedn Clustering

@x-tabdeveloping thought you might enjoy this: Swedn (available on hf here) has 3 section.
I have also experimented with adding the dataset as an STS dataset between the summary and the article.

Added in #96


Methods like isIndexed isKeyed cannot found

Same issue as #1242 - Immutable documentation is based off of the release candidate instead of the latest stable release.

These functions were added in the latest release, and aren't available in older releases

The old version has isKeyed as a static on Iterable. What's the standard way to write code that will work with 3.x and 4.x? Typescript seems to be complaining a bit.


help

Type: Bug
feedback
VS Code version: Code - Insiders 1.70.0-insider (9925e5d4d3d355758cd09d26868f0c12a0006828, 2022-07-11T12:20:21.684Z)
OS version: Windows_NT x64 10.0.22621
Modes:

@carterworkinc06 Since we haven't heard back from you in a while, we assume the issue is resolved. Feel free to create a new ticket if you have any other issues.


POL-151 - Update Policies to use the Credential Service

Updated Policies to use the Credential Service
Description
Updated Policies to use the Credential Service
Issues Resolved

Replaced auth declaration with the credential declaration
Removed long_description field and use new info hash for Version, providers, and service.
Updated tenant to single
Update readme to replace credential instructions with instructions to use credential service.
update CWF definitions as needed.
Add info.
Remove tenant id and subscription id and iterate over all subscriptions for Azure policies.

Contribution Check List

[ ] All tests pass.
[x] New functionality includes testing.
[x] New functionality has been documented in the README if applicable
[x] New functionality has been documented in CHANGELOG.MD

Running template link
AWS Open Buckets:
https://governance.rightscale.com/org/1105/projects/60073/policy-incidents/5dfb6756372f7a0001f6db0d
AWS Unused RDS Instances:
https://governance.rightscale.com/org/1105/projects/60073/policy-incidents/5dfb5f24372f7a0001f6daeb
AWS Rightsize RDS Instances:
https://governance.rightscale.com/org/1105/projects/60073/policy-incidents/5dfb5e551e9a8800018b69f2
Azure Rightsize SQL Databases:
https://governance.rightscale.com/org/1105/projects/60073/applied-policies/5dfabc34bbbcc0000108ecc5
Azure Subscription Access:
https://governance.rightscale.com/org/1105/projects/60073/applied-policies/5dfac35cf47a460001252b26
Azure Long Stopped Instances:
https://governance.rightscale.com/org/1105/projects/60073/applied-policies/5dfa009ff47a4600012529b3

          14 Errors

:no_entry_sign:
The URL is not valid: https://docs.rightscale.com/credentials/ in compliance/azure/azure_long_stopped_instances/README.md Status: 404

:no_entry_sign:
The URL is not valid: https://docs.rightscale.com/credentials/ in compliance/azure/subscription_access/README.md Status: 404

:no_entry_sign:
The URL is not valid: https://docs.rightscale.com/credentials/ in cost/aws/rds_instance_cloudwatch_utilization/README.md Status: 404

:no_entry_sign:
The URL is not valid: https://docs.rightscale.com/credentials/ in cost/aws/unused_rds/README.md Status: 404

:no_entry_sign:
The URL is not valid: https://docs.rightscale.com/credentials/ in cost/azure/rightsize_sql_instances/README.md Status: 404

:no_entry_sign:
The URL is not valid: https://docs.rightscale.com/credentials/ in security/storage/aws/public_buckets/README.md Status: 404

:no_entry_sign:
compliance/azure/azure_long_stopped_instances/README.md:21: MD009 Trailing spaces
A detailed description of the rules is available at https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md

:no_entry_sign:
compliance/azure/subscription_access/README.md:26: MD009 Trailing spaces
A detailed description of the rules is available at https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md

:no_entry_sign:
cost/aws/rds_instance_cloudwatch_utilization/README.md:35: MD009 Trailing spaces
A detailed description of the rules is available at https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md

:no_entry_sign:
cost/aws/unused_rds/CHANGELOG.md:7: MD026 Trailing punctuation in header
A detailed description of the rules is available at https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md

:no_entry_sign:
cost/aws/unused_rds/README.md:1: MD002 First header should be a top level header
cost/aws/unused_rds/README.md:30: MD009 Trailing spaces
A detailed description of the rules is available at https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md

:no_entry_sign:
cost/azure/rightsize_sql_instances/README.md:35: MD009 Trailing spaces
A detailed description of the rules is available at https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md

:no_entry_sign:
security/storage/aws/public_buckets/CHANGELOG.md:1: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:2: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:3: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:4: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:5: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:6: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:7: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:8: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:9: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:10: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:11: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:12: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:13: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:14: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:15: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:16: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:17: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:18: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:19: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:20: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:21: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:22: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:23: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:24: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:25: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:26: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:27: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:28: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:29: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:30: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:31: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:32: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:33: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:34: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:35: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:36: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:37: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:38: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:39: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:40: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:41: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:42: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:43: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:44: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:45: MD009 Trailing spaces
security/storage/aws/public_buckets/CHANGELOG.md:1: MD022 Headers should be surrounded by blank lines
security/storage/aws/public_buckets/CHANGELOG.md:3: MD022 Headers should be surrounded by blank lines
security/storage/aws/public_buckets/CHANGELOG.md:7: MD022 Headers should be surrounded by blank lines
security/storage/aws/public_buckets/CHANGELOG.md:11: MD022 Headers should be surrounded by blank lines
security/storage/aws/public_buckets/CHANGELOG.md:15: MD022 Headers should be surrounded by blank lines
security/storage/aws/public_buckets/CHANGELOG.md:19: MD022 Headers should be surrounded by blank lines
security/storage/aws/public_buckets/CHANGELOG.md:23: MD022 Headers should be surrounded by blank lines
security/storage/aws/public_buckets/CHANGELOG.md:27: MD022 Headers should be surrounded by blank lines
security/storage/aws/public_buckets/CHANGELOG.md:31: MD022 Headers should be surrounded by blank lines
security/storage/aws/public_buckets/CHANGELOG.md:35: MD022 Headers should be surrounded by blank lines
security/storage/aws/public_buckets/CHANGELOG.md:39: MD022 Headers should be surrounded by blank lines
security/storage/aws/public_buckets/CHANGELOG.md:43: MD022 Headers should be surrounded by blank lines
A detailed description of the rules is available at https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md

:no_entry_sign:
security/storage/aws/public_buckets/README.md:26: MD009 Trailing spaces
security/storage/aws/public_buckets/README.md:33: MD032 Lists should be surrounded by blank lines
A detailed description of the rules is available at https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md

  Generated by :no_entry_sign: Danger

@cdwilhelm,
Addressed some Danger ERRORs other than

The URL is not valid: https://docs.rightscale.com/credentials/ in security/storage/aws/public_buckets/README.md Status: 404

ERROR is there for All 6 policies since the "https://docs.rightscale.com/credentials/" is not available we are getting this ERROR

security/storage/aws/public_buckets/CHANGELOG.md:2: MD009 Trailing spaces

Getting this ERROR even though there is no Trailing space.

@nshivappa   you can ignore the errors for https://docs.rightscale.com/credentials/.  The docs are not published yet.  We won't release these PR until the cred service is released.
It looks like there is a bug with the MarkDownLink and the way windows handles new lines.  We will update the gem to resolve the trailing space issue.
Please fix these errors
security/storage/aws/public_buckets/CHANGELOG.md:43: MD022 Headers should be surrounded by blank lines

@nshivappa I updated Danger to fix the trailing space issue.  There are still some bad URLs.  The docs.rightscale.com/credentials can be ignored for now.


Fix an issue for make dist: once the internal/resources directory contains no files, //go:embed will be invalid

Problem
When build as 'make dist', it will report errors like below:
   internal/script/script.go:21:3: invalid go:embed: build system did not supply embed configuration (compile)
   internal/script/script.go:21:12: pattern resources: cannot embed directory resources: contains no embeddable files (compile)
   make: *** [Makefile:90: check_static] Error 1

Proposed Solution
Check if the resources/x64 directory is empty, if yes, just touch a empty file to workaround the go compilation error

Prefer that build fails when binaries are not present. The binaries are required for perfspect to operate properly.


Limit max SP for benchmarking to increase speed of training

Most groups will have a SP <= 52 (constrained by weekly). e.g. majority of

hourly datasets will have SP = 24 or 48
weekly datasets will have SP = 7 or 52 (see here)
monthly datasets will have SP = 12
quarterly datasets will have SP = 4
annual datasets will have SP = 1
other datasets will have SP = 1

Limiting the SP to 52 will be appropriate to speed up training in certain cases.

For data that has a frequency of seconds or minutes, a seasonality of 60 may be reasonably expected. Maybe we should change max sp to consider to 60 (instead of 52) for tackling such datasets in the future (even though they may not be part of the competition datasets yet).


Text from a stacker.news crosspost to Nostr produced some unexpected formatting issues

I was testing the new crossposting feature from SN to Nostr and encountered a display issue on several clients.
Because the stacker.news text entry field kept resizing smaller as I was typing, I found it easier to enter the text in my OS X Notes app.
I didn't realize that this would cause several line breaks to contain Unicode 0x2028 characters. These characters were not displayed on screen either in Notes or on the stacker.news editor, or the final post. However, they were carried over to Nostr when posted there.
This resulted in the post being formatted in an unexpected way.
Original post:
https://stacker.news/items/274794
Content of text that was pasted (I only discovered these character after pasting the text from Notes into Sublime Text):

How the post appeared on multiple Nostr clients:
Damus:

Nostur:

Coracle:

Of these, only Coracle displayed the text properly without the added line breaks.
According to Fabian, developer of Nostur, these "Unusual Line Terminators" should be stripped or replaced when the text is pasted.

Is it possible to solve this on the stacker.news side, or is this purely a Nostr client issue?
Related issue on Damus:
https://github.com/damus-io/damus/issues/1581

I think I prefer that you get what you input and leave it up to frontends to figure out how to handle them?
We can't know ahead of time you didn't intend those characters to be there.

Because the stacker.news text entry field kept resizing smaller as I was typing, I found it easier to enter the text in my OS X Notes app.

This is a bug. We must be rerendering on input following the changes. I'll open another issue.

The issue is that this is invisible to the user, so maybe it's just an edge case that needs a solve on the publisher side. I submitted the issue to Damus and was asked to open it here as well! 😁


Relative path support

This adds relative path support for when using the repo command.
For example: nukeeper repo ../ {token} or nukeeper repo . {token}
In the end it will just get the directory that you are calling it from and concats the arguments to make a new absolute path.

Will this affect other cases, e.g. would nukeeper repo https://github.com/NuKeeperDotNet/NuKeeper <token>  still work?

Yes, that will still work exactly the same as it works now


Server returns nothing when client requests games

I've been trying to get this setup, and when the client gets the game list from the server, the server seems to return nothing, so gamesList is nil, which crashes the client.
I can see on the server, the client connecting when it fails to get the games, so i'm not sure why its not doing anything. The server also displays the game list when it starts so its not empty.

ah! the problem is if you dont put http:// at the beginning of the http url, it will still connect but fail to actually do anything

Yep, I maybe should make a "Unable to connect" message, for now im closing this


updated FAQ section

Issue Number
ISSUE #112
Describe the changes you've made

Changed the FAQ section and made it responsive according to the accordion clicks.

Checklist

[ ] I have added my name in the contributors list at the end of README.md file.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[x] The title of my pull request is a short description of the requested changes.
[x] Open Source Program names- LGMSOC'21

Resolve conflicts.
Update your repo.


Additional example for Naming/PredicateName (to better reveal behavior)

Makes it more obvious that the rule also applies to the methods that don't end with question mark, but to all the one starting with a specific prefix.
Having both "is_" and "?" question mark is undoubtedly redundant, but example don't reveal other aspect of this rule.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[ ] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] Run bundle exec rake default. It executes all tests and RuboCop for itself, and generates the documentation.

Thanks!


Add to golangci-lint

This linter is brilliant!
It would be great to have it included in https://github.com/golangci/golangci-lint with the option to automatically golangci-lint run --fix any issues found. 🙂
I've also created an issue over at https://github.com/golangci/golangci-lint/issues/2070 to see if we can get the ball rolling on this.

Never mind, golangci-lint maintainers rejected the idea. 😔

Hi @zx8, thank you for sharing.
In case it helps, the stylecheck linter in golangci-lint can report duplicate imports. (But it doesn't fix them.)
goplay.go:4:2: ST1019: package "fmt" is being imported more than once (stylecheck)
goplay.go:5:2: ST1019(related information): other import of "fmt" (stylecheck)

In your projects, maybe you could initially run dedupimport to automatically fix any existing duplicates. Then you could use stylecheck to prevent committing files with duplicate imports going forward. 🙂


Fix: Use topology name for message and exception tags

What problem does this solve?
While using BroadwayRabbitMQ.Producerfor  Broadway, we were not able to override the message acknowledger according to the docs as there is a unique :delivery_tag required to ack messages to RMQ.   When we tried, this was empty and our messages were not being acked.
Second, the metrics were not showing up for the RabbitMQ backed pipeline, but they were for a pipeline using a normal GenStage producer and after some digging around, I noticed that the :name tag/label on the /metrics were different:
GenStage Producer Metric
broadway_process_message_duration_milliseconds_count{batcher="local",name="Prom.Pipelines.LocalPipeline"}

RabbitMQ Producer Metric
broadway_process_message_duration_milliseconds_count{batcher="rabbit",name="BroadwayRabbitMQ.Producer"}

Changes
After switching the tag_values function to use :topology_name, the metrics for both Pipelines started to show up accurately in Grafana.
Curious if there was a reason to use the message acknowledger for the name tags?  BroadwayRabbitMQ emits different events for acking/ rejecting.
I'd be happy to add those in a separate PR.  Wanted to keep this one short.
Issue number: N/A
Example usage

I created an app with two pipelines, one with a GenStage Producer and one with a RabbitMQ Producer both with a 10% error rates.
After making these changes, the metrics started to show up accurately in the Grafana dashboard, including exception rates and batch failures.

Additional details and screenshots
GenStage Pipeline

RabbitMQ Pipeline

Checklist

[x] I have added unit tests to cover my changes.
[x] I have added documentation to cover my changes.
[x] My changes have passed unit tests and have been tested E2E in an example project.

Coverage increased (+1.4%) to 80.825% when pulling 2bf9e935aea7ddd6b165baa1b36572c31ef05063 on tmartin8080:feature/rabbitmq-support into ad2c47e013c8b67260b98b59a13594cde67be2ac on akoutmos:master.


Remove Jenna Goldstrich from CAPI approvers

Hi @JenGoldstrich!  Hope you are well.  As per the TOC process you have two weeks to "refute the revocation" of your status as Approver

👀all good feel free to remove me! Best wishes to you, your family, and the rest of my CF friends!


cannot import name 'FlowResultType'

What is the Issue?
When tyring to add the loadshedding integration via the mobile app or web, I am presented with the below screenshot.

Text:
Error
This integration does not support configuration via the UI. If you followed this link from the Home Assistant website, make sure you run the latest version of Home Assistant.

Upon checking the logs, I find the following log:

Text:
Logger: homeassistant.config_entries
Source: config_entries.py:749
First occurred: 12 July 2022 at 21:52:22 (7 occurrences)
Last logged: 18:52:15

Error occurred loading configuration flow for integration load_shedding: cannot import name 'FlowResultType' from 'homeassistant.data_entry_flow' (/usr/src/homeassistant/homeassistant/data_entry_flow.py)

Version:
Home Assistant Core 2022.6.6

Thanks for reporting @WarrenFoxley .
With the v0.4.0 I updated from a deprecated RESULT_TYPE_SHOW_PROGRESS_DONE const to FlowResultType, which was introduced in the latest Home Assistant 2022.7.0.  Unfortunately I forgot to update the minimum version number in HACS.  Upgrading Home Asisstant to 2022.7.0+ should fix this.

Pushed a new v0.4.0 tag.  Hopefully this will prevent anyone with older versions of HA from installing in HACS. 🤞

Thanks, @wernerhp - updating to the latest Home Assistant worked a treat! :D


Add "image.pullSecrets" to helm values to specify imagePullSecrets for deployment and hook jobs

WHAT
This pull request adds "image.pullSecrets" to helm values to specify imagePullSecrets for deployment and hook jobs.
WHY
Since we might use in-house registry for docker images, we need to specify the imagePullSecrets to get those images.

@vbanthia
Thank you for the review.  I've fixed the space in 184bff5.

Thanks!
I'm going to merge it.


Added Map of Code Schools #272

Hello @rickr
I added the map of the codeschools (issue #272).
I also could not add all the coordinates for all the coding bootcamps in the config/code_schools.yml file, but I add some just to test out the feature.
If I am missing anything please do let me know!

-Thank you.

@hpjaj @rickr I have made changes from above please let me know what you think. If anything is wrong I will def. fix it asap.
-Thank you.

@hd719 - I am just a member of the Operation Code community, I don't have reviewer permissions, for merging.  Was just doing a some code reviews to provide feedback.
Ironically, though, I also went to Bloc.io 🙂

@hpjaj It is always a pleasure to meet a fellow Bloc alumni!

It also looks like codeclimate picked up a few new issues. Can you please address those as well?

Hey @rickr I moved some of the logic from the code_school_controller.rb to the code school's class.
Let me know what you think. Also the codeclimate tests how do you fix the trailing whitespace?
-Thank you.

Hey @rickr any update on this?

@rickr I will fix these changes asap.

Thank you.

Hey @hd719 - it looks like you're all done with the latest fixes - is that the case?

@rickr Hey! so yeah I implemented the latest fixes however for some reasonI cannot get the codeclimate tests to pass.

It looks like a lot of them are little space things:
For example this file is missing a new line: https://github.com/OperationCode/operationcode/pull/737/files#diff-5665789a04effed313d97af65082f8feR33

Hey @rickr so for the example did I add the new line correctly?
I think something is wrong with my editor

Hey @rickr! So the codeclimate issues have been fixed, there is this 1 issue about the content tag, but that was already there from the beginning and I don't know how to fix that.

Thank you.

You can definitely add yourself to contributors.md - looks like Codeclimate caught one more thing though.

Hey @hollomancer good to hear from you.
It says Unescaped model attribute in content_tag
<%= content_tag 'div', nil, id: :'veterans-map', class: :'veterans-map', data: { lat_longs: @lat_longs } %>

I do not know how to fix this error. Any help would def. be appreciated.
-Thank you.

I think the finding might be bogus.
I believe content_tag marks input as html_safe which in rails means you are sure the content is not malicious. Since we're reviewing the input in a PR I've gone ahead and approved the change anyway.

@hollomancer and @rickr Thank you! It was fun working on this PR glad I could be of help!

Great job. Thanks for all your hard work!


<EMAIL_ADDRESS>Failed to load native module in Linux-x64 platform (redhat ubi8 minimal)

Software versions

OS Image: redhat ubi8 minimal
Pact Node version: 12.4.0
Node Version: 18.19.1
Other Versions: Running cat /etc/os-release:
NAME="Red Hat Enterprise Linux"
VERSION="8.9 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.9"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.9 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8::baseos"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.9
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.9"

Issue Checklist
Please confirm the following:

[x] I have upgraded to the latest
[x] I have the read the FAQs in the Readme
[x] I have triple checked, that there are no unhandled promises in my code
[x] I have set my log level to debug and attached a log file showing the complete request/response cycle
[x] For bonus points and virtual high fives, I have created a reproduceable git repository (see below) to illustrate the problem

Expected behaviour
Pact tests should run successfully.
Actual behaviour
Pact tests fail with error Failed to load native module. The problem is similar to https://github.com/pact-foundation/pact-js-core/issues/472, but this one is for linux-x64 (redhat ubi8 minimal).
Steps to reproduce
Repo: https://github.com/praveen-em/pact-consumer-js.git (this example is based on the one used in pact js workshop)
This problem occurred initially while trying to run pact tests on Jenkins agents (pods) running on ocp (Openshift Container Platform). Those pods use redhat ubi8 minimal base image. See steps below to recreate the problem locally.

git clone https://github.com/praveen-em/pact-consumer-js.git
docker buildx build --platform linux/amd64 -t pactdemo:amd . --> This will create image pactdemo:amd
docker run --platform linux/amd64 pactdemo:amd --> using the image created in the previous step

Relevant log files
><EMAIL_ADDRESS>test
> cross-env LOG_LEVEL=trace CI=true react-scripts test

PASS src/api.spec.js
[16:15:19.990] DEBUG (101<EMAIL_ADDRESS>We detected your platform as:

 - linux-x64
FAIL src/api.pact.spec.js
  ● Test suite failed to run

    Failed to load native module, try setting LOG_LEVEL=debug for more info

       8 | const { eachLike, like } = MatchersV3;
       9 |
    > 10 | const provider = new PactV3({
         |                  ^
      11 |   consumer: "FrontendWebsite",
      12 |   provider: "ProductService",
      13 |   log: path.resolve(process.cwd(), "logs", "pact.log"),

      at initialiseFfi (node_modules/@pact-foundation/pact-core/src/ffi/index.ts:113:11)
      at getFfiLib (node_modules/@pact-foundation/pact-core/src/ffi/index.ts:125:11)
      at makeConsumerPact (node_modules/@pact-foundation/pact-core/src/consumer/index.ts:67:24)
      at PactV3.Object.<anonymous>.PactV3.setup (node_modules/@pact-foundation/src/v3/pact.ts:250:33)
      at new PactV3 (node_modules/@pact-foundation/src/v3/pact.ts:49:10)
      at Object.<anonymous> (src/api.pact.spec.js:10:18)

[16:15:20.379] TRACE (101<EMAIL_ADDRESS>Initiliasing ffi for the first time
[16:15:20.381] DEBUG (101<EMAIL_ADDRESS>Initalising native core at log level 'warn'
[16:15:20.381] DEBUG (101<EMAIL_ADDRESS>binding path #0: : attempting to load native module from:

 - /app/node_modules/@pact-foundation/pact-core/prebuilds/linux-x64
   source: pact-js-core binding lookup

 - You can override via PACT_PREBUILD_LOCATION

[16:15:20.387] DEBUG (101<EMAIL_ADDRESS>binding path #1: : attempting to load native module from:

 - /app/prebuilds/linux-x64
   source: pact-js-core binding lookup

 - You can override via PACT_PREBUILD_LOCATION

[16:15:20.391] DEBUG (101<EMAIL_ADDRESS>Supported platforms are:
 - darwin-arm64
 - darwin-x64
 - linux-arm64
 - linux-x64
 - win32-x64
[16:15:20.392] ERROR (101<EMAIL_ADDRESS>Failed to find native module for linux-x64: TypeError: Cannot read properties of undefined (reading 'pactffiInitWithLogLevel')
[16:15:20.392] DEBUG (101<EMAIL_ADDRESS>We looked for a supported build in this location /app/node_modules/@pact-foundation/pact-core/prebuilds/linux-x64
[16:15:20.394] DEBUG (101<EMAIL_ADDRESS>We looked for a supported build in this location /app/prebuilds/linux-x64
[16:15:20.394] DEBUG (101<EMAIL_ADDRESS>Tip: check there is a prebuild for linux-x64

          check the path exists

      Wrong Path?: set the load path with PACT_PREBUILD_LOCATION ensuring that $PACT_PREBUILD_LOCATION/prebuilds/linux-x64 exists

      - Note: You dont need to include the prebuilds/linux-x64 part of the path, just the parent directory

      - Let us know: We can add more supported path lookups easily, chat to us on slack or raise an issue on github
Test Suites: 1 failed, 1 passed, 2 total
Tests:       2 passed, 2 total
Snapshots:   0 total
Time:        3.57 s
Ran all test suites.

the ffi is being built against ubuntu 20.04 for x86_64 which will link against glibc 2.31. rhel8 is 2.28
we will need to build with cross 0.2.5 for the x86_64 builds, as we are doing for aarch64
change will need making in the rust_ffi release.sh

Thanks for quick response @YOU54F . Here is the draft PR. Not sure if this covers everything. I tested locally with a bit of hack using libpact_ffi.so generated from the fix and it worked fine. Some observations and questions.

A test was failing (both before and after my change). It appears to be a known issue - related to https://github.com/pact-foundation/pact-js-core/issues/447 and https://github.com/pact-foundation/pact-reference/issues/171 ?

thread 'matching::tests::pactffi_matches_binary_value_test' panicked at /Users/praveen/.cargo/registry/src/index.crates.io-6f17d22bba15001f/expectest-0.12.0/src/core/result.rs:81:13:
assertion failed: `expected to be true`, pact_ffi/src/matching.rs:360:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

failures:
    matching::tests::pactffi_matches_binary_value_test

test result: FAILED. 166 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s

Not sure if cross prebuild config is required for x64 similar to aarch64 ?

Running release-linux script locally couldn't pull cross v0.2.5 which I think is because of this open issue https://github.com/cross-rs/cross/issues/1214. See error below. Have you seen this before? I guess it works fine today for aarch64 when the release script is run through GA because of buildx setup in GA? 0.2.4 worked fine locally.

Unable to find image 'ghcr.io/cross-rs/x86_64-unknown-linux-gnu:0.2.5' locally
0.2.5: Pulling from cross-rs/x86_64-unknown-linux-gnu
docker: no matching manifest for linux/arm64/v8 in the manifest list entries.

0.2.5 of cross only has amd64 images so you’ll need to set docker default platform env var to linux/amd64main has arm64 images but will link to a later glibc versionSent from my iPhoneOn 28 Apr 2024, at 21:56, Praveen Erode Mohanasundaram @.***> wrote:
Thanks for quick response @YOU54F . Here is the draft PR. Not sure if this covers everything. I tested locally with a bit of hack using libpact_ffi.so generated from the fix and it worked fine. Some observations and questions.
A test was failing (both before and after my change). It appears to be a known issue - related to #447 and pact-foundation/pact-reference#171 ?
thread 'matching::tests::pactffi_matches_binary_value_test' panicked at /Users/praveen/.cargo/registry/src/index.crates.io-6f17d22bba15001f/expectest-0.12.0/src/core/result.rs:81:13:
assertion failed: expected to be true, pact_ffi/src/matching.rs:360:5
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
failures:
matching::tests::pactffi_matches_binary_value_test
test result: FAILED. 166 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
Not sure if cross prebuild config is required for x64 similar to aarch64 ?
Running release-linux script locally couldn't pull cross v0.2.5 which I think is because of this open issue cross-rs/cross#1214. See error below. Have you seen this before? I guess it works fine today for aarch64 when the release script is run through GA because of buildx setup in GA? 0.2.4 worked fine locally.
Unable to find image 'ghcr.io/cross-rs/x86_64-unknown-linux-gnu:0.2.5' locally
0.2.5: Pulling from cross-rs/x86_64-unknown-linux-gnu
docker: no matching manifest for linux/arm64/v8 in the manifest list entries.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Looks like using cross 0.2.5 (glibc 2.23) for x86_64 breaks serde which comes with its own precompiled binaries (it uses glibc 2.25).
error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /target/debug/deps/libserde_derive-5f72523c3468f1ff.so)
   --> /cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.198/src/lib.rs:328:1

cross seems to pick up dependencies built for other targets, when building, so the resolution I've found is rather destructive, but to perform a cargo clean prior to executing a run with cross

Excellent! Thanks @YOU54F. Looking forward to a new release.

Leaving this open until we release the FFI changes in ^^.
Thanks for all of your help everyone!

If i may ask when will be the next release?

Latest release is now out 14.3.6
https://github.com/pact-foundation/pact-js-core/releases/tag/v14.3.6
Lets test

move into a project folder with pact

in my example, I've cloned https://github.com/pactflow/example-consumer-js-kafka
updated the project to use the latest<EMAIL_ADDRESS>which in turn brings in<EMAIL_ADDRESS>

Grab a RHEL based docker image and mount your folder in /app
docker run --platform=linux/amd64 -v $PWD:/app --rm -it rockylinux:8
Check glibc version> rpm -q glibc
glibc-2.28-236.el8_9.7.x86_64

Install a modern version of node> dnf module enable -y nodejs:18
> dnf module install -y nodejs
> node -v
v18.19.1

Test our appcd /app
npm install
npm test

Output
[root@7a1632f1316f app]#    npm test

><EMAIL_ADDRESS>test
> jest --testTimeout 30000

PASS  src/product/product.repository.test.js
[12:52:17.557] INFO (165): 0.4.20: pact native library successfully found, and the correct version
[12:52:17.620] INFO (165<EMAIL_ADDRESS>Verifying message
2024-05-09T12:52:17.652716Z  WARN ThreadId(01) pact_models::pact: Note: Existing pact is an older specification version (V3), and will be upgraded
PASS  src/product/product.handler.pact.test.js
 ● Console

   console.log
     received product: {
       event: 'UPDATED',
       id: 'some-uuid-1234-5678',
       name: 'Some Product',
       type: 'Product Range',
       version: 'v1'
     }

     at log (src/product/product.handler.js:5:11)

Test Suites: 2 passed, 2 total
Tests:       2 passed, 2 total
Snapshots:   0 total
Time:        3.249 s
[root@7a1632f1316f app]#    npm test

><EMAIL_ADDRESS>test
> jest --testTimeout 30000

PASS  src/product/product.repository.test.js
[12:52:17.557] INFO (165): 0.4.20: pact native library successfully found, and the correct version
[12:52:17.620] INFO (165<EMAIL_ADDRESS>Verifying message
2024-05-09T12:52:17.652716Z  WARN ThreadId(01) pact_models::pact: Note: Existing pact is an older specification version (V3), and will be upgraded
PASS  src/product/product.handler.pact.test.js
 ● Console

   console.log
     received product: {
       event: 'UPDATED',
       id: 'some-uuid-1234-5678',
       name: 'Some Product',
       type: 'Product Range',
       version: 'v1'
     }

     at log (src/product/product.handler.js:5:11)

Test Suites: 2 passed, 2 total
Tests:       2 passed, 2 total
Snapshots:   0 total
Time:        3.249 s

Thank you, the new version works fine.


undefined symbol: __atomic_exchange_8

What version of gRPC and what language are you using?
1.28.1 and C#
What operating system (Linux, Windows,...) and version?
Raspbian, Linux
What runtime / compiler are you using (e.g. python version or version of gcc)
To build a native library: Raspbian 8.3.0-6+rpi1
What did you do?
Client is being initialized in a different part of the code. Runs okay on AMD.
                var request = new MonitorRequest { Start = true };

                using (var call = client.InitializeMonitoring(request))
                {
                    var responseStream = call.ResponseStream;
                    while (await responseStream.MoveNext())
                    {
                        // some things
                    }
                }

After var request = new MonitorRequest { Start = true }; I get the below error.
What did you expect to see?
A working client.
What did you see instead?
dotnet: symbol lookup error: /app/libgrpc_csharp_ext.x86.so: undefined symbol: __atomic_fetch_add_8
Anything else we should know about your project / environment?
It is running on RPi 3 in a Linux container. libgrpc_csharp_ext.x86.so is built on RPi.

There are several layers of information missing here.
But most importantly: did you download the x86 package hoping it'd work on an ARM architecture?

@nicolasnoble As mentioned above - libgrpc_csharp_ext.x86.so was built on RPi.
I used this script:
https://github.com/erikest/libgrpc_csharp_ext/blob/master/compile_csharp_ext.sh

Oh, the script is renaming it to x86, whatever the platform, I see.
In this case, if you've built on the same platform you're trying to run, this is a problem with your environment. __atomic_fetch_add_8 is a function provided by the compiler, and used by the compiler to generate atomic code. If your compiler generates this code, and your system libraries don't provide it, it means you've got discrepancy between your compiler and your system libraries.

Btw, possibly unrelated, but we have a distribtest that checks that crosscompilation for raspberry pi works, so you might also try that https://github.com/grpc/grpc/blob/master/test/distrib/cpp/run_distrib_test_raspberry_pi.sh.
Please also note that runing gRPC C# on raspberry pi isn't officially supported (so you might run into other issues).


"4 days from sunday" doesn't work

It should change the reference to sunday and then add 4 days as of now the output is:
Sunday, 5 June 2016 :day
Can you please give us a way to change the reference and generate output accordingly. As of now the reference is always "just now".
Output of "4 days from now" is:
Sunday, 5 June 2016 :day
This output is absolutely correct.

Issue is resolved thanks anyway!


Wonky icon placement on buttons in Safari

Authentic theme version | 21.09.5
Webmin version | 2.105
Usermin version | 2.005
Virtualmin version | 7.9.0

The icons used in multiselect interface (e.g. Backups in Virtualmin) are misplaced in Safari

By removing the position: absolute; in the .ui_multi_select_row td:nth-child(2) button:after rule, the icon is correctly placed, an as far as I tested still propperly placed in other browsers

Similar problem but more extreme positioning.
If the tr including the 'Scheduled backup time' does NOT have the data-column-span="all" attribute, the clock-icon is all over the place.

Only if the screensize is changed and the tr receives that attribute the icon is place correctly
body[layout-column="1"] #content .container-fluid [data-column-span="all"][data-column-separator="1"], body[layout-column="1"] #content .container-fluid [data-row-type="ui-table"][data-column-span="all"] {
   column-span: all;
   display: block;
}

Manually adding the attribute to the tr on any screensize which by default would break the icon fixes it too.
As far as I understand the current implementation op column-span this might also be reproducable on Internet Exploer 11  … 😂

Thanks for the heads up! It was all fixed on the latest commits. You're welcome to give it a try.


Adding in child FFD functions

Purpose
Adding a method for using parent + child FFDs in MPHYS. This is one possible implementation that I have been using with MPHYS + DAFoam and works as expected, but I think we should discuss if this is the best approach for how to do this. The tricky part is in the order of operations: child FFDs cannot be added to a parent without a reference axis, so they cannot be immediately set to the MPHYS geometry object. The configure method then goes in the wrong order, so we need an explicit call to nom_add_children() (added in this PR) to actually add the child FFDs after the reference axes are declared but before any dependent constraints are defined. The better solution here might require more careful modifications to pyGeo, but I am not sure what other issues we might run into if we were to do that.
EDIT: PR #146 broke the MPHYS wrapper that was using deprecated calls to add local and global design variables. I fixed that here, though that will require updating the MPHYS examples and tests on the MPHYS repo too.
Expected time until merged
~This PR is open to discussion -- no specific timeframe set.~ 2 weeks.
Type of change

[ ] Bugfix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (non-backwards-compatible fix or feature)
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Documentation update
[ ] Maintenance update
[ ] Other (please describe)

Testing
N / A
Checklist

[ ] I have run flake8 and black to make sure the code adheres to PEP-8 and is consistently formatted
[ ] I have run unit and regression tests which pass locally with my changes
[ ] I have added new tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation

Part of the formatting failure is with one of the regression tests (unrelated to this PR). I do not think there is an actual issue, so I am just going to ignore it with a #noqa: statement.
./tests/reg_tests/test_DVGeometryMulti.py:103:35: B023 Function definition does not bind loop variable 'nRefAxPts'.
                for i in range(1, nRefAxPts)

The code looks good. my only comment is that wouldn't it make more sense to use a dictionary approach for the child FFDs? That way we can index them by name instead of order of addition. We can use an ordered dictionary under the hood, or sort the names alphabetically and keep track of them that way. the users can pass dictionaries with child ffd name as the key and file as the value. Let me know if you think this is useful. I am also fine with merging this PR as is and doing that change separately

The code looks good. my only comment is that wouldn't it make more sense to use a dictionary approach for the child FFDs? That way we can index them by name instead of order of addition. We can use an ordered dictionary under the hood, or sort the names alphabetically and keep track of them that way. the users can pass dictionaries with child ffd name as the key and file as the value. Let me know if you think this is useful. I am also fine with merging this PR as is and doing that change separately

That approach makes sense to me. I went with this approach because it matches how pyGeo handles children, but if the indexing is confusing we could add a dictionary. If @joanibal is on board too I'll convert it to using dictionaries instead.

@joanibal and I found that with a small modification to pyGeo we can actually simplify adding child FFDs in MPHYS. Hold off on merging this PR until we finalize that.

I fixed the package import in BaseDVGeo.py from:
from typing import OrderedDict

to
from collections import OrderedDict

as we discussed offline.
This is now good to go!


Fix make start-gardenlet for a new Seed

How to categorize this PR?

/area dev-productivity
/kind bug
/kind regression
What this PR does / why we need it:
See https://github.com/gardener/gardener/issues/7272
Which issue(s) this PR fixes:
Fixes https://github.com/gardener/gardener/issues/7272
Release note:

NONE

/assign @ary1992 @shafeeqes

Thanks!
/lgtm
/retest

/lgtm
/approve


Vulkan: Fix dangling pointers in _clean_up_swap_chain

In _clean_up_swap_chain, the state was not fully reset to the empty state, leaving the render_pass pointer and the swapchainImageCount with their previous values.
This causes a double free when _clean_up_swap_chain has been called twice without recreating the state in between. With this patch, the second _clean_up_swap_chain effectively behaves as a no-op if there is nothing to free.
swapchainImageCount is reset to 0 in this patch, because while the previous change is enough to fix the crash, the vulkan context fails to be recreated if there are any image resources currently active. However, we just freed all resources, so it makes sense to reset the count.
Fixes #65391
Fixes #73922
Maybe fixes these #64766 #70837 #72080
However, I couldn't reproduce the latter crashes to begin with. @nathanfranke @henriquelalves @michael-nischt please check if this PR fixes your issue

Thanks!


Highlight error on html tag name starting with template

Vue - Official extension or vue-tsc version
2.1.2
VSCode version
1.93.0-insider
Vue version
3.5.0-rc.1
TypeScript version
5.5.4
System Info
No response
package.json dependencies
No response
Steps to reproduce

What is expected?
N/A
What is actually happening?
N/A
Link to minimal reproduction
No response
Any additional comments?
No response

<li
    v-for="(entry, index) in tocItem as TocLink[]"
    :key="index"
>
    <a :href="`#${entry?.id}`">{{ entry.text }}</a>
</li>

This will also cause highlight error. When the quotes of v-for props removed, the syntax highlight behaves normally.

@L33Z22L11 duplicate of #520


bootstrap.js

why importing bootstrap.js?
React-Bootsrap official Docs:
React-Bootstrap is a complete re-implementation of the Bootstrap components using React. It has no dependency on either bootstrap.js or jQuery. If you have React setup and React-Bootstrap installed you have everything you need.
You can consume the library as CommonJS modules, ES6 modules via Babel, AMD, or as a global JS script.

It looks like this has changed/was an oversight. Going to flag this as a refactor.


ExportDb task

Implement the new Start-EpiDatabaseExport and Get-EpiDatabaseExport methods

EportDb task included in the version v1.3.0.


State not showing in the extensionn in NextJS

Any news about this topic? I think its very important. Thanks

Same issue here


Create a guide for analyzing smart contract cost and efficiency

Get awarded: up to $600 worth of XLM
Section: How-To Guides - Conventions: https://github.com/stellar/stellar-docs/tree/main/docs/smart-contracts/guides/conventions
Guide could include:

Identify and explain the factors that affect smart contract performance and cost efficiency
Review various tools and methods available for analyzing smart contract efficiency and cost
Offer strategies and best practices for optimizing smart contract code to reduce cost and improve efficiency
Include code examples showing inefficient versus optimized contract code

Is this still available??

I'm concluding work on it already #711 @CaptainPrinz

@briwylde08 pls assign this too

@Myestery! Thank you for your amazing work on this. We'll get the award of $600 processed. Is the information you entered for previous bounties still correct?

@Myestery! Thank you for your amazing work on this. We'll get the award of $600 processed. Is the information you entered for previous bounties still correct?

Yes everything is the same.
Thank you


Add a preloader

Add any amazing page pre loader. Please attach the screenshot.
Happy coding 😁

Can I give this a shot?

Sure man go for it 💪

thanks!

Hey, can i add some amazing preloader in your website?

@rahulvermafreelancer it will be great if you share the screenshot of the pre loader you are talking about


Support for ruby-head (version 3)

There's an error with em-http-request at version 0.2.11 with ruby 3.0.
make "DESTDIR=" compiling em_buffer.c em_buffer.c:8:10: fatal error: 'rubyio.h' file not found #include "rubyio.h"          ^~~~~~~~~~ 1 error generated. make: *** [em_buffer.o] Error 1
The latest version of em-http-request doesn't have this issue. The fix for ruby 3.0 would be to use em-http-request ~> 1.1.7, but this requires some code change.

@galois17 lease test out latest master.  I've made all the changes for latest em-http-request that I could find!

Ref: Closed by https://github.com/oauth-xx/oauth-ruby/pull/176


Implement a minimum length for passwords

https://pages.nist.gov/800-63-3/sp800-63-3.html recommends a minimum length of 8

Hi @deepakprabhakara  can you assign this issue to me

@Dhoni77 Apologies, we already have a PR created by @rohitmondal03 here - https://github.com/boxyhq/saas-starter-kit/pull/557


pretty config (that properly sorts)

Generate pretty consul config, initially suggested by @teaforthecat.

Can be toggled via pretty_config param, defaults to false.
Indentation length can also be toggled.
Updated config.pp and services.pp to use pretty generate.
Updated checks.pp and watches.pp to use consul_sorted_json().
Updated docs on how to use consul_sorted_json().

:exclamation: view it without whitespace

Wow, nice work, this is great!

I updated the tests for the function as well and the credit goes to @teaforthecat for writing such awesome tests in his original PR :+1:

I added this function to a gist so it can be used for other things as well https://gist.github.com/aj-jester/e0078c38db9eb7c1ef45

Thank you @aj-jester. I still think that json is for machines and that pretty printing is for jq, but I'm willing to concede because of the external demand. Thank you for submitting such a comprehensive PR!

@solarkennedy Thanks dude. I agree you there 100%, I would use an external tool as well. I just took this as a "challenge" for myself to see if it was even possible. I'm glad it turned out the way it did :bowtie:

This is very much appreciated. Thanks guys!


Define XATTR flags, and add XATTR functions for OSX

As found in:
http://elixir.free-electrons.com/linux/latest/source/include/uapi/linux/xattr.h
https://opensource.apple.com/source/xnu/xnu-2050.7.9/bsd/sys/xattr.h

Oh, it looks like we don't have xattr functions for OSX yet. Adding those now.

Done. It should be noted that OSX doesn't have lgetxattr, lsetxattr, etc. but rather uses a flag passed to the base versions of those functions.

It should also be noted that in regards to OSX I'm relying on Travis to test my changes as I don't have an OSX machine. I was hoping this would be a constant only change.

Ok, Travis is passing so it looks like my function signatures are finally correct.

Looks great to me, thanks!
@bors: r+

:pushpin: Commit 1a06678 has been approved by alexcrichton

:hourglass: Testing commit 1a06678 with merge c8c5d64...

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing c8c5d648459b17894b6520b517b793cb0041fcea to master...


adopt cookiecutter template

squidpy should adopt the cookiecutter template for all its benefits. Since there are few PRs open, the disruption should be minimal.

minimal requirement: add the cruft.json
more effort: copy over the code and regenerate the repo completely with cookie-cutter

will add te cruft for new release, also moved to pyproject.toml.


could use updates for react-navigation support. Does not pass navigation prop on tabPress.

What kind of Issue is this?

() Bug Report
() Question / Problem
() Discussion / Feature Request

How are you using the Bottom Navigation?

() I use the Bottom Navigation together with react-navigation; the Issue is not appearing when I'm using react-navigation's TabBar instead.
() I use the standalone version.

Related Libraries: {If you use the standalone version together with other libraries, please list them here. If not, delete this line.}
Expected behavior
{Write down what you expected to happen. Add code snippets later.}
Actual behavior
{Write down what is actually happening. Add code snippets later.}
Additional description and resources
{Write down everything else you want to say.}
{Place a reproducible example here.
The best thing you can do is to provide a minimal example which reproduces your Issue in Expo's Snack: https://snack.expo.io
Otherwise: Add all relevant Code Snippets here. Add screenshots/gifs showing your issue in action.}
What did you do to find a solution?

{List all the things you've done and/or places and search-terms you used to find a solution.}
Environment

React Native versions: {Insert here.}
react-native-material-bottom-navigation version: {Insert here.}
react-navigation version: {Insert here.}
I tested this with: {Please choose one or more: Android | iOS | Web | Windows}

You submitted the blank Issue Template. Please fill out the Issue Template.


Sticky header overwrites top of content.

This might be the designed behavior, but I can't figure out how to get the body content that is below a sticky header to appear below the sticky header.
Here is a fiddle that shows the problem:
https://jsfiddle.net/geverit4/jrkozrem/6/
How can I get the sticky menu bar overlay to push the following content down, or get the main page content to have a margin at the top?

Since we are dealing with CSS only there's no way for it to know what content needs to shift.
This is when it makes more sense to pull out some custom css.
https://jsfiddle.net/n8wsxLmf/

Perfect.  Thanks for indulging my n00b question.


Account lock: The email template does not contain the name of the user for a user in secondary store

Steps

Lock the account of a user in secondary user store in the super tenant domain
(secondary user store: MYSQL 5.7)

The email template is as follows. The username is not properly picked

This is re-producible for users added through add password option

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


Can't lock Mutex from a Thread

Godot version:
9f40a8d27008c3d8973460b07a7dda7713dabeac
OS/device including version:
Debian 9
Issue description:
I have Singleton.my_mutex, if I create a new thread in some scene and from the thread do Singleton.lock_mutex() it will not return from that function:
func lock_mutex():
   while my_mutex.try_lock() == ERR_BUSY:
      pass

   my_mutex.lock()

It will stay forever waiting in there... But this happens ONLY if called from within a thread. If called from the main thread then no problem.
If the try_lock() check is commented out, it will run no problem, but I guess that is not the point.

In the code you provided, you lock the mutex two times:

when try_lock succedes you exit the while loop. At this point the mutex is locked.

at this point, you try to lock it again, "lock" blocks until the the mutex can be locked again. Which never happens because you never call mutex.unlock.

What you are doing is conceptually the same as doing:
mutex.lock()
mutex.lock()

Which correctly produces a deadlock.
For more info about mutex please see: https://en.m.wikipedia.org/wiki/Mutual_exclusion
http://docs.godotengine.org/en/3.0/classes/class_mutex.html

Hello @Faless , it was not clear to me that try_lock would lock the mutex, I thought it would check if it could be locked instead of locking it.
Changed the function to:
func lock_mutex():
   while my_mutex.try_lock() == ERR_BUSY:
      pass

   print("mutex locked")

It will not print when called from within a thread, it will if called from the main thread.

It works perfectly fine for me. See mutex.zip


Added random delay per issue #54

Added random delay config to limitRule that allow user to specify additional parameter to
    randomized the delay on each request.

Testing Methodogy:
Used the rate_limit app in the _example dir and verify that adding RandomDelay will cause
    each request to have different delay time.

Please fix go formatting issues by running go fmt. (https://travis-ci.org/gocolly/colly/builds/318512944)

I don't think the conditional is necessary.  It seems like you could just do
randomDelay := time.Duration(rand.Intn(int(r.RandomDelay)))

right?
Also, I think it would be nice to either expand the rate_limit.go example or add another example in that same folder covering use of RandomDelay.

Codecov Report

Merging #67 into master will decrease coverage by 0.16%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master     #67      +/-   ##
=========================================
- Coverage   41.27%   41.1%   -0.17%
=========================================
  Files           3       3
  Lines         739     742       +3
=========================================
  Hits          305     305
- Misses        398     401       +3
  Partials       36      36

Impacted Files
Coverage Δ

http_backend.go
25.96% <0%> (-0.78%)
:arrow_down:

Continue to review full report at Codecov.

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

@asciimoo  good call on go fmt , the file is now formatted
@jodizzle good call, I added another example. And the reason I need the condition is because
`invalid argument to Intn` will happen if `0` is the input of `rand`


Anyone else get  Invalid name: "@exponent/react-native-navigator" during install?

When I attempt to install react-native-router-flux, I get an error from npm - Invalid name: "@exponent/react-native-navigator"
Before I post thison npm/issues, I thought I'd ask here if anyone else encountered this.

Sorry, i can't reproduce it. Make sure you installed latest iojs and all steps required by React Native install

for me solved by updating to last NPM version from 3.3.12


Request to have my list added as an awesome-software-engineer list

Hi, I am currently making an all-in-one list with all the stuff I find relevant and usable as a student studying software engineering. I would love my list to be an awesome list, but I am not entirely sure it fits. I don't want my list to visit to many other lists, as I find it very user friendly, that everything is in one place, so people don't have to scatter through lists to find what they are looking for. This said, I am open for it, as long as the other lists lives up to expectations.
The list is here, and Is currently a wip, which I plan to maintain for many years to come:
https://github.com/niem94/my-software-engineer-list
If the list can be considered an awesome list, I will of course rename it and add tags/banners to reflect that.
Hope to hear from you 🤞 🤞

Thank you for the submission! 🙏🏼
While being a great resource which you've apparently put a lot  of effort into producing,  I personally feel that this deviates a bit too much from the concept that is an awesome-list.

Reading through it, it is pretty awesome but reads more like an index of lists rather than a list. What I'd like to see is a real list for each of these in his index.

Reading through it, it is pretty awesome but reads more like an index of lists rather than a list. What I'd like to see is a real list for each of these in his index.

I’d like to do that. I propose that I move all main sections to their own lists, and make the software-engineer-list be a list of topics. Is that what you want aswell?

Thank you for the submission! 🙏🏼
While being a great resource which you've apparently put a lot of effort into producing, I personally feel that this deviates a bit too much from the concept that is an awesome-list.

Thanks for your honesty! I would like to move towards it being an awesome list, so i will see what i can do :-)

I made some changes in the develop branch, so the my-software-engineer is just an index of the lists I find relevant as a software engineer. I will iterate further on the actual lists, which I hope can become awesome lists when they are more complete.

@niem94 Don't get discouraged! I read your page as an awesome list of &lists*, rather than as a list of sites, which is what I've always thought the Awesome Lists were shooting for.
Maybe take each of your lists, find the existing Awesome List that list comes closest to matching, and then submit PRs to that list for each link you'd like to add that's not already in the list you're submitting PRs for. If you think any of your lists don't match the topic of any existing Awesome List, then maybe submit a PR  back to awesome-lists seeking to add your new list. I think that's what @benohanlon was suggesting.
Again, great stuff here! From just another ordinary list-follower, thanks!

@niem94 Don't get discouraged! I read your page as an awesome list of &lists*, rather than as a list of sites, which is what I've always thought the Awesome Lists were shooting for.
Maybe take each of your lists, find the existing Awesome List that list comes closest to matching, and then submit PRs to that list for each link you'd like to add that's not already in the list you're submitting PRs for. If you think any of your lists don't match the topic of any existing Awesome List, then maybe submit a PR back to awesome-lists seeking to add your new list. I think that's what @benohanlon was suggesting.
Again, great stuff here! From just another ordinary list-follower, thanks!

No worry, i am/was not discouraged :-) I use the lists as a way to keep notes during my studies, so i’m not interested In doing PRs for other lists, as the format and time spent is important for me.
I agree with your suggestion, and it is also what i am currently aiming for. In short, I will keep my own public lists for now, and might submit those that do not exist as awesome lists, or make PRS for those that do when time allows it :-)


hash data using FNV potential false positive

Summary
The default rule hash data using FNV appears to generate a false positive for a string encoding routine.
Examples
Minimal repro - single function extracted, needs to be turned into a function with p in IDA:
558BEC5153565768001000008BF88BF1E8BBF4FFFF8365FC008BD80FB6470166C1E008590FB60F0FB7C00BC183C7028BCB2BFB8A140F32D088118BD069C0000094BFC1EA1069D26C401B692BC233D22D413B68463811740DFF45FC41817DFCFA0F00007CCE53891689560489560889560CE847FEFFFF53E82BF4FFFF595F8BC65E5BC9C3
Possible improvements
The top level constants for 32 bit and 64 bit FNV primes appear to be ignored. They are not present in this function, and the or branch is empty in capa explorer.
Additional context

Example detection inside capa explorer
Screenshot of the code which is detected

First off, I love how you provided that minimal example. We should use that more moving forward; potentially also for our tests!
Thanks for the find and the detailed FP report.
In #109 I provided a fix. The issue was the optional block under the or which always results in a true for the block looking for the constants.


Feature/missing feature add to router accent color support

If you setup navigation accentColor to you root NavigationView it cannot pass accentColor  to next NavigationView if you try to present screens with parameter embedInNavigationView to true.
This pull request resolves lib problem with passing navigation accentColor if you present new screen with parameter embedInNavigationView.
You can try the solution on my fork

Thanks very much @slawaDnC ! I'd prefer a more generic solution so I've added support for any view modifier to be applied to the NavigationView on this branch.

It's now possible to provide a custom ViewModifier to be applied to all NavigationViews created by the Router- shipped in v 0.4.1.


For my next project I am required to use WPML and it seemed to be working great until I viewed a translated page on my retina screen and saw that all the images were coming up as not found. When I inspected the html I saw that Timber is outputting the retina src incorrectly:
<img srcset="http://examplesite.dev/wp-content/uploads/2015/02/download-480x325.jpeg<EMAIL_ADDRESS>2x" alt="">

The Timber code I am using is:

Am I doing something wrong, how can I fix this?

Pardon the shameless plug, but this is fixed in my #457

Wow, the internet never ceases to amaze me. You are an absolute legend, thanks so much for this, will give it a go tonight :-)
Sent from my iPhone

On 10 Feb 2015, at 17:49, Xavier Priour<EMAIL_ADDRESS>wrote:
Pardon the shameless plug, but this is fixed in my #457
—
Reply to this email directly or view it on GitHub.

The PR related to this was merged so going to close this.


Gintro dependencies

Hello,
Being a newbie in Nim, I'm trying to find a cross platform GUI lib to make simple applications for these platforms.
Trying GINTRO I would ask to clarify which dependencies I'll meet.
What should be installed for the library installation and what will need for programs working after compilation?
(Upon installation on Windows 10 I met that libglib dll needed. How it should be installed?)
BTW, will in work on Raspbian OS?
Thanks!

I do not really recommend GTK and gintro to beginners. GTK3 and GTK4 are large toolkits, for toy apps other toolkits may work. And GTK is mostly for Linux, Windows users do not like it that much. Of course GTK can be used with windows, someone has made a GTK3 app with gintro working for Windows, you may search the Nim Forum. But I do not use Windows.
Dependencies: Well most Linux desktop distros have GTK installed already. But most Windows users do not have it. There are many instructions available how to install GTK on Windows. For Raspbian OS, I assume that it supports GTK, so gintro should work, but I have not tested it. Note that GTK has no Android and IOS support unfortunately.
See this thread for someone using gintro with windows:
https://forum.nim-lang.org/t/5759#35698
As I said at the beginning, consider using another GUI toolkit. Nim has more than a dozen, I listed most of them in
http://ssalewski.de/gtkprogramming.html

Thank you for rush reply,
Actually you have confirmed my thoughts about this labrary.
Regarding other libs: I have tried many of thems and found:

many of thems is out of date or not supported or looks like just prof of concept not real product;
I need many widget tools (radiobuttons, optionsmenu, tabs, canvas operating for graphics plotting, treeviews) so not mush of them has these functionality.
So still looking and dreaming for somefing just working ot of the box like Python libs do :)

Regarding gintro: I'll try to launch it anyway and would be realy grateful for an appropriate support.
Thanks again!


Sorting in Target Dropzone lost after config of ONDrop event

https://user-images.githubusercontent.com/15956643/209138810-15f3537c-0b04-4459-9464-2c77302b8835.mp4
Looks like the onDrop event is messing with the sorting of the items in de target DropZone.

Hi @WouterKessener - thanks for logging this.
The problem is likely to be that you have not updated the column that is being used to sort by. You'll need to use the updated position in the CurrentItems to patch a column that you use to sort the rows using.
When you patch the source records the control will re-render with what ever sort you give it, so it will need to reflect the updated position.
Hope this helps - and thank you again for your support.
Scott

@scottdurow Aha yes yes.. thanks. Got it to work. Cannot really patch the real source record but by using collections it works like a charm. Had to add a little extra to the OnDrop event.  Created a small vid to explain myself and hopefully help others facing the samen 'issue'
https://user-images.githubusercontent.com/15956643/210221359-d75a3adc-bd1f-45ae-be36-37a54a478c26.mp4
Have a great one.

Thank you for the excellent information and all your support!


failed to recompile the instrumented code

Information

Apktool Version (2.3.3) -
Operating System ( Windows) -
APK From? ( Other) -

Stacktrace/Logcat
error infor:

[error_info.txt](https://github.com/iBotPeaches/Apktool/files/2369193/error_info.txt)

System.Exception: Failed to recompile the instrumented code. See details for more information: S: WARNING: Could not write to (D:\My Documents\AppData\Local\apktool\framework), using C:\Users\ADMINI~1\AppData\Local\Temp\ instead...
S: Please be aware this is a volatile directory and frameworks could go missing, please utilize --frame-path if the default storage directory is unavailable
W: C:\Users\Administrator\AppData\Local\RanorexStudio8\RxEnv\Android\temp\decomp\res\layout\a.xml:2: error: Error: No resource found that matches the given name (at 'style' with value '@style/RtlOverlay.Widget.AppCompat.ActionBar.TitleItem').
W:
W: C:\Users\Administrator\AppData\Local\RanorexStudio8\RxEnv\Android\temp\decomp\res\layout\a0.xml:2: error: No resource identifier found for attribute 'paddingBottomNoButtons' in package 'com.tencent.qqlive'
W:
W: C:\Users\Administrator\AppData\Local\RanorexStudio8\RxEnv\Android\temp\decomp\res\layout\a0.xml:2: error: No resource identifier found for attribute 'paddingTopNoTitle' in package 'com.tencent.qqlive'
W:
W: C:\Users\Administrator\AppData\Local\RanorexStudio8\RxEnv\Android\temp\decomp\res\layout\a0.xml:2: error: Error: No resource found that matches the given name (at 'style' with value '@style/Widget.AppCompat.ListView').
W:
W: C:\Users\Administrator\AppData\Local\RanorexStudio8\RxEnv\Android\temp\decomp\res\layout-v17\a0.xml:2: error: No resource identifier found for attribute 'paddingBottomNoButtons' in package 'com.tencent.qqlive'
W:
W: C:\Users\Administrator\AppData\Local\RanorexStudio8\RxEnv\Android\temp\decomp\res\layout-v17\a0.xml:2: error: No resource identifier found for attribute 'paddingTopNoTitle' in package 'com.tencent.qqlive'
W: .......

### Steps to Reproduce
1. `apktool `

### Frameworks
If this APK is from an OEM ROM (Samsung, HTC, LG). Please attach framework files
(`.apks` that live in `/system/framework` or `/system/priv-app`)

### APK
If this APK can be freely shared, please uplo
  the APK is too bigger than 10M,cannot upload.
the name of apk is com.tencent.qqlive_17138.apk

ad/attach a link to it.

### Questions to ask before submission
1. Have you tried `apktool d`, `apktool b` without changing anything?
2. If you are trying to install a modified apk, did you resign it?
3. Are you using the latest apktool version?

@xlpei, did you try Apktool v2.3.4?
Also, the following is just a suggestion that worked for some (not all of course)...
Some individuals do try a bit of the older versions of Apktool like v2.2... just to see if the ability to decompile/recompile was previously there that isn't able to now.
That's more of a "ruling out the possibilities" thing and is only a suggestion.
Good Luck!
~Ibuprophen

Where can I get Apktool v2.3.4 ，v2.2.. ?
<EMAIL_ADDRESS>From: Ibuprophen
Date: 2018-09-12 01:21
To: iBotPeaches/Apktool
CC: 裴晓利; Mention
Subject: Re: [iBotPeaches/Apktool] failed to recompile the instrumented code (#1898)
@xlpei, did you try Apktool v2.3.4?
Also, the following is just a suggestion that worked for some (not all of course)...
Some individuals do try a bit of the older versions of Apktool like v2.2... just to see if the ability to decompile/recompile was previously there that isn't able to now.
That's more of a "ruling out the possibilities" thing and is only a suggestion.
Good Luck!
~Ibuprophen
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@xlpei, you can obtain all the releases via one of the following links:
https://github.com/iBotPeaches/Apktool/releases
https://ibotpeaches.github.io/Apktool
~Ibuprophen

I have tried 7 versions of apktool to insturmented apk，include v2.2.3、v2.2.4、v2.3.0、v2.3.1、v2.3.2、v2.3.3、v2.3.4，all  failed。
<EMAIL_ADDRESS>From: Ibuprophen
Date: 2018-09-12 21:53
To: iBotPeaches/Apktool
CC: 裴晓利; Mention
Subject: Re: [iBotPeaches/Apktool] failed to recompile the instrumented code (#1898)
@xlpei, you can obtain all the releases via one of the following links:
https://github.com/iBotPeaches/Apktool/releases
https://ibotpeaches.github.io/Apktool
~Ibuprophen
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Duplicate of #1423, thanks for the report.


Extended inventory causing crash. (Using the club sandwich edition of BLT)

after 30 minutes of my turning mods on one by one, i found that extended inventory is causing my CTDs on startup. I use the CSE, so it may be that.

Fixed it! just force redownloaded goonmod and it worked!


errors in docker

Dockerfile:
`FROM node:20.9.0
WORKDIR /bots/app
COPY . .
RUN npm i && npm run build
CMD [ "node", "dist/main" ]`
Errors:
npm ERR! code 1
8.553 npm ERR! path /bots/app/node_modules/skia-canvas
8.554 npm ERR! command failed
8.554 npm ERR! command sh -c node-pre-gyp install || npm run build -- --release
8.554 npm ERR! response status 403 Forbidden on https://skia-canvas.s3.us-east-1.amazonaws.com/v1.0.1/linux-arm64-napi-v6-glibc.tar.gz
8.554 npm ERR!
8.554 npm ERR! ><EMAIL_ADDRESS>build
8.554 npm ERR! > cargo-cp-artifact -nc lib/v6/index.node -- cargo build --message-format=json-render-diagnostics --release
8.554 npm ERR! node-pre-gyp info it worked if it ends with ok
8.554 npm ERR! node-pre-gyp info using<EMAIL_ADDRESS>8.554 npm ERR! node-pre-gyp info using<EMAIL_ADDRESS>| linux | arm64
8.555 npm ERR! node-pre-gyp info check checked for "/bots/app/node_modules/skia-canvas/lib/v6/index.node" (not found)
8.555 npm ERR! node-pre-gyp http GET https://skia-canvas.s3.us-east-1.amazonaws.com/v1.0.1/linux-arm64-napi-v6-glibc.tar.gz
8.555 npm ERR! node-pre-gyp ERR! install response status 403 Forbidden on https://skia-canvas.s3.us-east-1.amazonaws.com/v1.0.1/linux-arm64-napi-v6-glibc.tar.gz
8.555 npm ERR! node-pre-gyp ERR! install error
8.555 npm ERR! node-pre-gyp ERR! stack Error: response status 403 Forbidden on https://skia-canvas.s3.us-east-1.amazonaws.com/v1.0.1/linux-arm64-napi-v6-glibc.tar.gz
8.555 npm ERR! node-pre-gyp ERR! stack     at /bots/app/node_modules/@mapbox/node-pre-gyp/lib/install.js:67:15
8.555 npm ERR! node-pre-gyp ERR! stack     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
8.555 npm ERR! node-pre-gyp ERR! System Linux 6.4.16-linuxkit
8.555 npm ERR! node-pre-gyp ERR! command "/usr/local/bin/node" "/bots/app/node_modules/.bin/node-pre-gyp" "install"
8.555 npm ERR! node-pre-gyp ERR! cwd /bots/app/node_modules/skia-canvas
8.555 npm ERR! node-pre-gyp ERR! node -v v20.9.0
8.555 npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.11
8.555 npm ERR! node-pre-gyp ERR! not ok
8.555 npm ERR! Error: could not find the cargo executable.
8.555 npm ERR!
8.555 npm ERR! You can find instructions for installing Rust and Cargo at:
8.555 npm ERR!
8.555 npm ERR!     https://www.rust-lang.org/tools/install
8.555 npm ERR!
8.555 npm ERR!
8.555 npm ERR! Did not copy "cdylib:skia-canvas"
8.556
8.556 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-11-14T18_57_59_368Z-debug-0.log
failed to solve: process "/bin/sh -c npm i && npm run build" did not complete successfully: exit code: 1

Well what can I say skia-canvas is the problem here. I recommend you install v2 of this package as that supports canvas which has better support.
npm i<EMAIL_ADDRESS>
I will try to solve these issues by pushing canvas as the main model.