fix: add finch attach command

The finch attach command cannot be executed at the top level. Therefore, when the finch attach -h command is executed, the following error occurs.
> finch attach -h
FATA[0000] unknown command "attach" for "finch"

Also, this bug has been reported in issue/747 below, and it is hoped that finch attach will be executed.

https://github.com/runfinch/finch/issues/747

Meanwhile, with the nerdctl command, it is possible to execute the nerdctl attach command.
Therefore, in this commit, we will make corrections so that the finch attach command can be executed.
Issue #, if available: #747
Description of changes: Details are described in commit message.
Testing done: No

[x] I've reviewed the guidance in CONTRIBUTING.md

License Acceptance
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Thank you for the commit.
Can we add an e2e test for this. There is a separate package called common-test, where we can add this test. We have some examples in the package
https://github.com/runfinch/common-tests
For more info:
https://github.com/runfinch/finch/blob/main/CONTRIBUTING.md

@Shubhranshu153
Thanks for comments.

I have investigated the following, but am having trouble implementing the test for the finch attach command because we cannot use the -it option within ginkgo.
Could you please advise on how to implement the test?
What I have investigated

First, when testing locally, we can check the operation as follows
haytok finch [add-attach-command]
> _output/bin/finch run --rm --name test -it alpine sh
/ #
/ #
/ # lbin    dev    etc    home   lib    media  mnt    opt    proc   root   run    sbin   srv    sys    tmp    usr    var
/ #

Other session
haytok finch [add-attach-command]
> _output/bin/finch attach test

/ #
/ # s

However, as you can see in the following content, it is difficult to implement a test that executes finch attach against a container launched interactively in the test.

https://github.com/runfinch/common-tests/blob/main/tests/exec.go#L29

// TODO: specifying -t flag will have error in test -> panic: provided file is not a console

So, for example, suppose that the container is launched as follows. (ref)
			ginkgo.BeforeEach(func() {
				command.Run(o, "run", "-d", "--name", testContainerName, defaultImage, "sleep", "infinity")
			})

Since the shell process is not running in the container launched with sleep infinity, the test for finch attach cannot be executed.
haytok finch [add-attach-command]
> _output/bin/finch run -d --name test alpine sleep infinity
0b4d9dc034ddb95335fe9685c48b7bdfaeec8d2cdfc5fe7be46fc369ddac682d
haytok finch [add-attach-command]
> _output/bin/finch ps
CONTAINER ID    IMAGE                              COMMAND             CREATED          STATUS    PORTS    NAMES
0b4d9dc034dd    docker.io/library/alpine:latest    "sleep infinity"    4 seconds ago    Up                 test
haytok finch [add-attach-command]
> _output/bin/finch attach test
FATA[0000] failed to attach to the container: failed to open stdout fifo: error creating fifo binary:///usr/local/bin/nerdctl?_NERDCTL_INTERNAL_LOGGING=%2Fvar%2Flib%2Fnerdctl%2F1935db59: no such file or directory
FATA[0000] exit status 1

for your test you might be able to use
finch run -d ubuntu bash -c "while true; do echo /'Hello, world/'; sleep 1; done"

to lunch a container that is prininting hellow world per second. Then you can able to attach the container and test if it is in stdout. there are some examples for that in Events.go
https://github.com/runfinch/common-tests/blob/146e16fe020f6ef94139d473b78103e374180647/tests/events.go#L4

@Shubhranshu153
The verification was carried out by starting the container you advised on.
However, due to a bug on the nerdctl side, it was not possible to attach it to the container with finch attach.
More details were described in the nerdctl discussion below I asked.

https://github.com/containerd/nerdctl/discussions/2876

Therefore, it seems difficult to implement tests for finch attach at the moment.
So, should we put this PR pending for now?

thanks for the investigation. wondering if its issue with rootless only containers as your issue suggest in nerdctl?

The issue occurs in a rootless container created with nerdctl and containerd.
The error message indicates that the nerdctl attach process cannot access the directory /var/lib/nerdctl/, which is why this error occurs.
[haytok@lima-finch nerdctl]$ ls /var/lib/nerdctl/1935db59/
containers etchosts names volumes

However, I have not been able to verify that the error does not occur when operating from a non-rootless container.

it occurs in sudo mode also, left comments on nerdctl channel.


Add Redpanda Console to helm chart

Acceptance criteria
Helm chart definition need to be moved from https://github.com/redpanda-data/console/tree/master/helm
to this repo.
The automated process to release console helm chart to Redpanda Data helm index.yaml should be created.
More context
Add as a new section in values.yaml':
listeners:
  console:
    enabled: true
    kafkaEndpoint: default
    port: 8080
    external:
      enabled: true
    tls:
      cert: console
      requireClientAuth: false

verify requireClientAuth makes sense in the context of Console
look into configuring the redpanda service so that kafka/admin/rpc/etc ports point to redpanda-0 (and other brokers), and have port 8080 of same service point to the console pod
verify console only supports running on a single port

Details on running console: https://github.com/redpanda-data/console

Would we want this to be just a listener or something that gets installed on a single node?

fixed in #328


yamlscript.load returns str

I wanted to try https://yamlscript.org/posts/advent-2023/dec-21/

But it kept printing ...
Any ideas what's going on?

yamlscript.load returns str

Hi @1Mark
Thanks for reading our blog and trying out YAMLScript with Python.
Looking over your screenshots I'm not sure what was causing your issue.
I made a reproduction script and it works for me here on Linux x64.
I'll try it on macos aarch64 in a minute.
Here's the script and results: https://gist.github.com/ingydotnet/34f8b3b279e81497bf4a97074aadbd75
I added this script to the repo here: https://github.com/yaml/yamlscript/blob/main/sample/issue-12.sh
Let me know if it works for you.

The script also ran fine on my M1 macbook.

@1Mark I can't reproduce. Closing issue. re-open if you have more up to date info to reproduce.


Removing the check completely

I removed the check completely there by letting requests not cause the error.

Looks good


Update data-box-order-portal.md

Added a line in the archive upload section to indicate that this is done as a two-step process, since this came as feedback from a customer.

Learn Build status updates of commit e2da81d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

includes/data-box-order-portal.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@alkohli
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

#sign-off

#sign-off

Thanks, @alkohli
Can you open a PR in the private repo to update this article's author metadata as well?
Merging now.

Learn Build status updates of commit f343d50:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

includes/data-box-order-portal.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Extend the interview-preparation-kit to Interviewbit

Just wanted to understand the possibility of extending this project to interviewbit?

that would be great.


API Gateway Proxy Headers as http.Header

Hello! Any chance we could make the events.APIGatewayProxyRequest.Headers type to match http.Header? It would be nice to take advantage of the http.Header helper functions. Basically have to convert map[string]string to map[string][]string.

To maintain backwards compatibility. I don't think that events.APIGatewayProxyRequest.Headers's type can be changed
This might instead be achieved by adding a func (r *APIGatewayProxyRequest) Header() http.Header {}

To maintain backwards compatibility, I don't think that the type of events.APIGatewayProxyRequest.Headers can be changed.
However, adding func (req *APIGatewayProxyRequest) Header() http.Header {} would work as an alternative.

I also don't think events.APIGatewayProxyRequest.Headers should be given in http.Header format. Of course here goes compatibility reasons and having concise API, but also transformation from map[string]string to http.Header(exactly:map[string][]string`) on first glance look simple but on second there is a lot computation involved, and not usually it is needed for everyone.
If you are transforming a event into a http.Request you may like https://github.com/apex/gateway or http://github.com/piotrkubisa/apigo. Also if you need only http.Header map you definitely find tj's code or in my fork. Please note: transformations between events.APIGatewayProxyRequest to http.Request is not cheap .

One note related to my previous comment: If #136 will be merged then it will easy to cast new into http.Header:
headers := make(http.Header)
for key, values := range event.MultiValueHeaders {
    for _, value := range values {
        headers.Add(key, value)
    }
}

@bmoffatt Could you tell me if it is superfluous to check multiValueHeaders (also multiValueQueryStringParameters) are populated (i.e. via len(event.MultiValueHeaders) > 0) and fallback to event.Headers when they aren't?


fix typing failures with 0.68.2

I noticed we had a couple of changes to this recently, this fixes the following issues:
../semantic-ui-react/dist/commonjs/views/Statistic/StatisticGroup.d.ts
(4,35): error TS2307: Cannot find module './Statictic'.

../semantic-ui-react/dist/commonjs/collections/Form/FormRadio.d.ts
(6,18): error TS2320: Interface 'FormRadioProps' cannot simultaneously extend types 'FormFieldProps' and 'RadioProps'.
  Named property 'type' of types 'FormFieldProps' and 'RadioProps' are not identical.

../semantic-ui-react/dist/commonjs/collections/Form/FormCheckbox.d.ts
(6,18): error TS2320: Interface 'FormCheckboxProps' cannot simultaneously extend types 'FormFieldProps' and 'CheckboxProps'.
  Named property 'type' of types 'FormFieldProps' and 'CheckboxProps' are not identical.

I've been catching all of these by just bundling with webpack, think it'd be worth adding that to the testsuite? I might add some extra time but it's been pretty reliable (and fast) at identifying these issues.
Or should we add cases for the collections (Form and friends) like #1611 did for Modal?

I completely agree on the tests, let's get that into this PR if we can.  I'd rather get tests proving it works before shipping more fixes that may or may not fix everything.

Codecov Report

Merging #1622 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1622   +/-   ##
=======================================
  Coverage   99.74%   99.74%
=======================================
  Files         141      141
  Lines        2398     2398
=======================================
  Hits         2392     2392
  Misses          6        6

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 c6f80cf...7cc12ea. Read the comment docs.

Alright, so after looking into it more we actually have reasonable tests, but it means we need to be careful about how we do extensions.
So in this example, we extend from two pre-defined and relatively constrained constructs.
Since the current validator just checks a 1:1 mapping of typescript interfaces to proptypes, we basically have to match the same structure that we have in javascript.
So; unfortunately for compile-time type validation, we can't be lazy with the definitions, we'd have to have a third type which would break that test pattern we've put together.
We have to choose here whether we want to (as we currently do for everything else) match mostly 1:1 and relax the typescript compile-time enforcement, or, we have to revisit how that test is done entirely to allow this extra set of cases.
For now, I suggest we just relax these constraints; I can follow-up in a bit with another commit adding a type-script compiler to test that the thing compiles -- this should catch the errors that we have above like the Statictic mispellings.

I relaxed the constraints on checkbox and radio to match formfield constraints so that when we extend from a combo of either:

checkbox + formfield

or

radio + formfield

we can merge the types since they are the same (weaker) constraints.

Closing in preference of #1624 and #1625

@seryl I don't have time to leave a feedback there. Thanks for PR and suggestions :+1:
I'll be glad to see new PRs that adds more tests and makes typings more structured and actual.


Attempt to improve docs (yet again)

Attempt to make the passthrough docs clearer.
Add some more faq entries
Signed-off-by: Andrew Thornton<EMAIL_ADDRESS>

Please if there are changes - either push directly or make ```suggestions


Add Java11 Support

Upgrades to Grade to 6.7
Adds a new script to restrict toolchain to Java 11 or greater
note: source/target compatibility is no configured to the runtime toolchain unless otherwise overridden in javaCompile task.

Since this also includes Gradle 6.7 update, we may want to hold off merging this until we can confirm that Gradle 6.7 is the root cause RE goomph build failures.

Just FYI, the gradle version in this repository has no effect.  The only point of this repository is to be a central repository of blah.gradle scripts.  With the devLocal thing, you can pretend that blowdryer doesn't exist.  With devLocal, apply from: 干.file('someScript.gradle') is exactly the same apply from: '../../blowdryer-diffplug/src/main/resources/someScript.gradle'.  Happy to look at PRs, but I don't think it makes sense to merge one unless there is a complete working set.  You are also welcome to remove 干.file('someScript.gradle') and just copy those contents inline if it is helpful.  I can refactor at the end if necessary.

It was really the addition of base/java11.gradle I was after. I'm going to back out the changes to Gradle. It was mostly a side effect of me getting everything on the same version for testing. I had actually forgotten about it until I saw there were 5 file changes instead of 1 on this PR.

With your submodule setup, it should be the case that you don't need to upstream these changes until the end. Even without submodules, you can remove calls to blowdryer and copy-paste the scripts inline.
I am definitely happy to upstream anything that is necessary, but that should be a final cleanup step. It's too cumbersome a workflow if you have to submit PRs for each experiment.

Roger that!


HADOOP-18657. Tune ABFS create() retry logic

Description of PR
Tunes how abfs handles a failure during create which may be due to concurrency or load-related retries happening in the store.

better logging
happy with the confict being resolved by the file being deleted
more diagnostics in failure raised

How was this patch tested?
lease test run already; doing full hadoop-azure test run
For code changes:

[X] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[X] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

fyi @saxenapranav @mehakmeet
as well as improving diagnostics, this patch also changes the recovery code by handling a deletion of the target file between the first failure and the retry.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 53s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
50m 19s

trunk passed

+1 :green_heart:
compile
0m 41s

trunk passed with JDK Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
compile
0m 38s

trunk passed with JDK Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

+1 :green_heart:
checkstyle
0m 35s

trunk passed

+1 :green_heart:
mvnsite
0m 44s

trunk passed

+1 :green_heart:
javadoc
0m 40s

trunk passed with JDK Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
0m 34s

trunk passed with JDK Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

+1 :green_heart:
spotbugs
1m 16s

trunk passed

+1 :green_heart:
shadedclient
20m 16s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 31s

the patch passed

+1 :green_heart:
compile
0m 33s

the patch passed with JDK Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javac
0m 33s

the patch passed

+1 :green_heart:
compile
0m 29s

the patch passed with JDK Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

+1 :green_heart:
javac
0m 29s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 19s

the patch passed

+1 :green_heart:
mvnsite
0m 32s

the patch passed

+1 :green_heart:
javadoc
0m 25s

the patch passed with JDK Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
0m 23s

the patch passed with JDK Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

+1 :green_heart:
spotbugs
1m  4s

the patch passed

+1 :green_heart:
shadedclient
20m 21s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
2m 11s

hadoop-azure in the patch passed.

+1 :green_heart:
asflicense
0m 37s

The patch does not generate ASF License warnings.

105m 15s

Subsystem
Report/Notes

Docker
ClientAPI=1.42 ServerAPI=1.42 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5462/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5462

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 24e1da3b49dc 4.15.0-206-generic #217-Ubuntu SMP Fri Feb 3 19:10:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 1853a46ecbb41baf82035664e30cf03584b77a64

Default Java
Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5462/2/testReport/

Max. process+thread count
554 (vs. ulimit of 5500)

modules
C: hadoop-tools/hadoop-azure U: hadoop-tools/hadoop-azure

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5462/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

any updates on this? big issue is whether to retry on 409 or not?

reviewing this; too many other things have got in my way.
I agree, with create overwrite=false, we must fail with a concurrency error
what we don't want to do is overreact if we are doing overwrite=true and something does happen partway.
I'll look at this in more detail, maybe focus purely on being meaningful on errors, in particular making sure that if the file is deleted before the error is raised, keep raising that concurrency error.


[Question]: Can I use the same gpt-4o-mini model for the whole evaluation process?

Question Validation

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

Question
Hello, I am doing my thesis on RAG system for mental health care. I evaluate my RAG system with the following steps:

Step 1: I use RagDatasetGenerator with llm as GPT 4o-mini to generate questions from nodes
Step 2: Use llama_index.core.evaluation with llm also as GPT 40-min i to evaluate the system based on 3 metrics CorrectnessEvaluator, FaithfulnessEvaluator, RelevancyEvaluator.

However, in most of the documents I read https://docs.llamaindex.ai/en/stable/examples/evaluation/batch_eval/, they use another llm model like GPT 4 to calculate CorrectnessEvaluator, FaithfulnessEvaluator, RelevancyEvaluator. I also did it this way but the cost of GPT4, or GPT4o is too expensive for me.
My question is: Can I use the same gpt-4o-mini model for the whole evaluation process? Is the result reliable?

@Dosu
Thank you, Do you think it is acceptable if I use this result for my scientific research? Although I know that using another model like GPT4 for evaluation will give more reliable results. However, the cost is a big problem for me.
Can you suggest me some studies on evaluating RAG system?

Thanks @Dosu, you are so smart. I decided I will just use gpt-4o-mini and will cover this in my research. Love you!

@Dosu Giúp tôi giải thích dễ hiểu cơ chế hoạt động của Property Graph Index

@Dosu Cảm ơn bạn, giúp tôi so sánh 'vector_index', 'tree_index', 'key_index', 'proper_graph_index'. Trong trường hợp dữ liệu của tôi là cuốn sách ICD11, định dạng txt.

@Dosu Đây là kết quả thử nghiệm của tôi, bạn giúp tôi đưa ra nhận xét được không? Tại sao Proper Graph index lại không cho kết quả tốt?
Vector index:
Correctness scores: 4.787425149700598
Faithfulness scores: 0.6826347305389222
Relevancy scores: 0.9401197604790419
Key index:
Correctness scores: 4.763473053892215
Faithfulness scores: 0.2215568862275449
Relevancy scores: 0.7425149700598802
Tree index:
Correctness scores: 4.449101796407185
Faithfulness scores: 0.6676646706586826
Relevancy scores: 0.8233532934131736
ProperGraph index:
Correctness scores: 4.721556886227545
Faithfulness scores: 0.10778443113772455
Relevancy scores: 0.6676646706586826

@Dosu Tôi chỉ sử dụng thư viện mặc định PropertyGraphIndex, việc lưu trữ tôi không sử dụng cơ sở dữ liệu graph nào mà lưu trực tiếp trong store context cục bộ trên máy tính.

@dosu Đây là phần mã nguồn tạo index của tôi:
def build_multi_indexes(nodes):
try:
storage_context = StorageContext.from_defaults(
persist_dir=INDEX_STORAGE
)
    vector_index = load_index_from_storage(
        storage_context, index_id="vector"
    )

    # summary_index = load_index_from_storage(
    #     storage_context, index_id="summary"
    # )

    tree_index = load_index_from_storage(
        storage_context, index_id="tree"
    )

    key_index = load_index_from_storage(
        storage_context, index_id="key"
    )

    proper_graph_index = load_index_from_storage(
        storage_context, index_id="propergraph"
    )

    # knowledge_graph_index = load_index_from_storage(
    #     storage_context, index_id="knowledgegraph"
    # )

    print("All indices loaded from storage.")
except Exception as e:
    print(f"Error occurred while loading indices: {e}")
    storage_context = StorageContext.from_defaults()

    vector_index = VectorStoreIndex(
        nodes, storage_context=storage_context, show_progress=True
    )
    vector_index.set_index_id("vector")

    # summary_index = SummaryIndex(
    #     nodes, storage_context=storage_context, show_progress=True

    # )
    # summary_index.set_index_id("summary")

    tree_index = TreeIndex(
        nodes, storage_context=storage_context, show_progress=True
    )
    tree_index.set_index_id("tree")

    key_index = KeywordTableIndex(
        nodes, storage_context=storage_context, show_progress=True
    )
    key_index.set_index_id("key")

    proper_graph_index = PropertyGraphIndex(
        nodes, storage_context=storage_context, show_progress=True
    )
    proper_graph_index.set_index_id("propergraph")

    # knowledge_graph_index = KnowledgeGraphIndex(
    #     nodes, storage_context=storage_context, show_progress=True
    # )
    # knowledge_graph_index.set_index_id("knowledgegraph")

    storage_context.persist(
        persist_dir=INDEX_STORAGE
    )
return vector_index, tree_index, key_index, proper_graph_index

@dosu
Thank you very much, I finally finished my RAG system evaluation with your advice. My team members all agreed to use GPT 4o mini to save costs.
I was quite stressed about this problem before, but after talking to you and doing what I could, the work went smoothly. I love you so much Dosu, when you come to Vietnam, I will take you to eat Trang Tien ice cream and see Hoan Kiem Lake. See you again ^^


How to resolve webview build failed?

I tried flutter webview watching on youtube ( https://www.youtube.com/watch?v=5u3pZZ6uvDo&t=303s )
However, I don't know. Why are occur build failed.
I try entered some command .. flutter clean .. flutter pub get..
yangsanghun@Yangui-MacBookAir webviewexample % flutter run
Launching lib/main.dart on iPhone 12 Pro in debug mode...
Running pod install...                                              3.5s
Running Xcode build...
Xcode build done.                                            8.5s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    duplicate symbol '_OBJC_CLASS_$_FLTWebViewFlutterPlugin' in:
        /Users/yangsanghun/Library/Developer/Xcode/DerivedData/Runner-alabyyhhwxgaxxbjccvtytwljtgy/Build/Intermediates.noindex/Pods.build/Debug
        -iphonesimulator/webview_flutter.build/Objects-normal/x86_64/FLTWebViewFlutterPlugin.o
        /Users/yangsanghun/Library/Developer/Xcode/DerivedData/Runner-alabyyhhwxgaxxbjccvtytwljtgy/Build/Intermediates.noindex/Pods.build/Debug
        -iphonesimulator/webview_flutter.build/Objects-normal/x86_64/FLTWebViewFlutterPlugin 2.o
    duplicate symbol '_OBJC_METACLASS_$_FLTWebViewFlutterPlugin' in:
        /Users/yangsanghun/Library/Developer/Xcode/DerivedData/Runner-alabyyhhwxgaxxbjccvtytwljtgy/Build/Intermediates.noindex/Pods.build/Debug
        -iphonesimulator/webview_flutter.build/Objects-normal/x86_64/FLTWebViewFlutterPlugin.o
        /Users/yangsanghun/Library/Developer/Xcode/DerivedData/Runner-alabyyhhwxgaxxbjccvtytwljtgy/Build/Intermediates.noindex/Pods.build/Debug
        -iphonesimulator/webview_flutter.build/Objects-normal/x86_64/FLTWebViewFlutterPlugin 2.o
    duplicate symbol '_OBJC_IVAR_$_FLTWKProgressionDelegate._methodChannel' in:
        /Users/yangsanghun/Library/Developer/Xcode/DerivedData/Runner-alabyyhhwxgaxxbjccvtytwljtgy/Build/Intermediates.noindex/Pods.build/Debug
        -iphonesimulator/webview_flutter.build/Objects-normal/x86_64/FLTWKProgressionDelegate.o
        /Users/yangsanghun/Library/Developer/Xcode/DerivedData/Runner-alabyyhhwxgaxxbjccvtytwljtgy/Build/Intermediates.noindex/Pods.build/Debug
        -iphonesimulator/webview_flutter.build/Objects-normal/x86_64/FLTWKProgressionDelegate 2.o
    duplicate symbol '_FLTWKEstimatedProgressKeyPath' in:
        /Users/yangsanghun/Library/Developer/Xcode/DerivedData/Runner-alabyyhhwxgaxxbjccvtytwljtgy/Build/Intermediates.noindex/Pods.build/Debug
        -iphonesimulator/webview_flutter.build/Objects-normal/x86_64/FLTWKProgressionDelegate.o
        /Users/yangsanghun/Library/Developer/Xcode/DerivedData/Runner-alabyyhhwxgaxxbjccvtytwljtgy/Build/Intermediates.noindex/Pods.build/Debug
        -iphonesimulator/webview_flutter.build/Objects-normal/x86_64/FLTWKProgressionDelegate 2.o
    duplicate symbol '_OBJC_CLASS_$_FLTWKProgressionDelegate' in:
        /Users/yangsanghun/Library/Developer/Xcode/DerivedData/Runner-alabyyhhwxgaxxbjccvtytwljtgy/Build/Intermediates.noindex/Pods.build/Debug
        -iphonesimulator/webview_flutter.build/Objects-normal/x86_64/FLTWKProgressionDelegate.o
        /Users/yangsanghun/Library/Developer/Xcode/DerivedData/Runner-alabyyhhwxgaxxbjccvtytwljtgy/Build/Intermediates.noindex/Pods.build/Debug
        -iphonesimulator/webview_flutter.build/Objects-normal/x86_64/FLTWKProgressionDelegate 2.o
    duplicate symbol '_OBJC_METACLASS_$_FLTWKProgressionDelegate' in:
        /Users/yangsanghun/Library/Developer/Xcode/DerivedData/Runner-alabyyhhwxgaxxbjccvtytwljtgy/Build/Intermediates.noindex/Pods.build/Debug
        -iphonesimulator/webview_flutter.build/Objects-normal/x86_64/FLTWKProgressionDelegate.o
        /Users/yangsanghun/Library/Developer/Xcode/DerivedData/Runner-alabyyhhwxgaxxbjccvtytwljtgy/Build/Intermediates.noindex/Pods.build/Debug
        -iphonesimulator/webview_flutter.build/Objects-normal/x86_64/FLTWKProgressionDelegate 2.o
    duplicate symbol '_OBJC_CLASS_$_FLTJavaScriptChannel' in:
        /Users/yangsanghun/Library/Developer/Xcode/DerivedData/Runner-alabyyhhwxgaxxbjccvtytwljtgy/Build/Intermediates.noindex/Pods.build/Debug
        -iphonesimulator/webview_flutter.build/Objects-normal/x86_64/JavaScriptChannelHandler.o
        /Users/yangsanghun/Library/Developer/Xcode/DerivedData/Runner-alabyyhhwxgaxxbjccvtytwljtgy/Build/Intermediates.noindex/Pods.build/Debug
        -iphonesimulator/webview_flutter.build/Objects-normal/x86_64/JavaScriptChannelHandler 2.o
    duplicate symbol '_OBJC_METACLASS_$_FLTJavaScriptChannel' in:
        /Users/yangsanghun/Library/Developer/Xcode/DerivedData/Runner-alabyyhhwxgaxxbjccvtytwljtgy/Build/Intermediates.noindex/Pods.build/Debug
        -iphonesimulator/webview_flutter.build/Objects-normal/x86_64/JavaScriptChannelHandler.o
        /Users/yangsanghun/Library/Developer/Xcode/DerivedData/Runner-alabyyhhwxgaxxbjccvtytwljtgy/Build/Intermediates.noindex/Pods.build/Debug
        -iphonesimulator/webview_flutter.build/Objects-normal/x86_64/JavaScriptChannelHandler 2.o
    duplicate symbol '_OBJC_IVAR_$_FLTJavaScriptChannel._methodChannel' in:
        /Users/yangsanghun/Library/Developer/Xcode/DerivedData/Runner-alabyyhhwxgaxxbjccvtytwljtgy/Build/Intermediates.noindex/Pods.build/Debug
        -iphonesimulator/webview_flutter.build/Objects-normal/x86_64/JavaScriptChannelHandler.o
        /Users/yangsanghun/Library/Developer/Xcode/DerivedData/Runner-alabyyhhwxgaxxbjccvtytwljtgy/Build/Intermediates.noindex/Pods.build/Debug
        -iphonesimulator/webview_flutter.build/Objects-normal/x86_64/JavaScriptChannelHandler 2.o
    duplicate symbol '_OBJC_IVAR_$_FLTJavaScriptChannel._javaScriptChannelName' in:
        /Users/yangsanghun/Library/Developer/Xcode/DerivedData/Runner-alabyyhhwxgaxxbjccvtytwljtgy/Build/Intermediates.noindex/Pods.build/Debug
        -iphonesimulator/webview_flutter.build/Objects-normal/x86_64/JavaScriptChannelHandler.o
        /Users/yangsanghun/Library/Developer/Xcode/DerivedData/Runner-alabyyhhwxgaxxbjccvtytwljtgy/Build/Intermediates.noindex/Pods.build/Debug
        -iphonesimulator/webview_flutter.build/Objects-normal/x86_64/JavaScriptChannelHandler 2.o
    ld: 10 duplicate symbols for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Analyzing workspace
    note: Constructing build description
    note: Build preparation complete
    warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve
    this, select a development team in the Runner editor. (in target 'Runner' from project 'Runner')

Could not build the application for the simulator.
Error launching application on iPhone 12 Pro.

@yangsh91
It's failing due to duplicate symbol '_OBJC_CLASS_$_FLTWebViewFlutterPlugin.
Do you somehow have iCloud running in the back ? that maybe causing the generating files to duplicate.

@yangsh91
It's failing due to duplicate symbol '_OBJC_CLASS_$_FLTWebViewFlutterPlugin.
Do you somehow have iCloud running in the back ? that maybe causing the generating files to duplicate.

I don't know, How to check iCloud running in the back?

@yangsh91
Can you provide flutter doctor -v, pubspec.yaml ?

@yangsh91
Can you provide flutter doctor -v, pubspec.yaml ?

flutter doctor -v
flutter doctor -v
[✓] Flutter (Channel master, 2.5.0-7.0.pre.130, on macOS 11.2.3 20D91 darwin-x64, locale ko)
• Flutter version 2.5.0-7.0.pre.130 at /Users/yangsanghun/Documents/developer/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision d83fba1a22 (5시간 전), 2021-08-18 03:02:04 -0400
• Engine revision a27da3eeb6
• Dart version 2.15.0 (build 2.15.0-24.0.dev)
[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at /Users/yangsanghun/Library/Android/sdk
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 12.5.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.10.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2020.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
[✓] IntelliJ IDEA Community Edition (version 2021.1.2)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
[✓] VS Code (version 1.59.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.25.0
[✓] Connected device (2 available)
• iPhone 12 Pro (mobile) • 22F845FC-3442-4FBA-B4D8-56877768E2D0 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
• Chrome (web)           • chrome                               • web-javascript • Google Chrome 92.0.4515.159
pubspec.yaml is
name: webviewexample
description: A new Flutter project.
The following line prevents the package from being accidentally published to
pub.dev using flutter pub publish. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
The following defines the version and build number for your application.
A version number is three numbers separated by dots, like 1.2.43
followed by an optional build number separated by a +.
Both the version and the builder number may be overridden in flutter
build by specifying --build-name and --build-number, respectively.
In Android, build-name is used as versionName while build-number used as versionCode.
Read more about Android versioning at https://developer.android.com/studio/publish/versioning
In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
Read more about iOS versioning at
https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0+1
environment:
sdk: ">=2.12.0 <3.0.0"
Dependencies specify other packages that your package needs in order to work.
To automatically upgrade your package dependencies to the latest versions
consider running flutter pub upgrade --major-versions. Alternatively,
dependencies can be manually updated by changing the version numbers below to
the latest version available on pub.dev. To see which dependencies have newer
versions available, run flutter pub outdated.
dependencies:
flutter:
sdk: flutter
The following adds the Cupertino Icons font to your application.
Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.2
dev_dependencies:
flutter_test:
sdk: flutter
The "flutter_lints" package below contains a set of recommended lints to
encourage good coding practices. The lint set provided by the package is
activated in the analysis_options.yaml file located at the root of your
package. See that file for information about deactivating specific lint
rules and activating additional ones.
flutter_lints: ^1.0.0
webview_flutter: ^2.0.12
For information on the generic Dart part of this file, see the
following page: https://dart.dev/tools/pub/pubspec
The following section is specific to Flutter.
flutter:
The following line ensures that the Material Icons font is
included with your application, so that you can use the icons in
the material Icons class.
uses-material-design: true
To add assets to your application, add an assets section, like this:
assets:
- images/a_dot_burr.jpeg
- images/a_dot_ham.jpeg
An image asset can refer to one or more resolution-specific "variants", see
https://flutter.dev/assets-and-images/#resolution-aware.
For details regarding adding assets from package dependencies, see
https://flutter.dev/assets-and-images/#from-packages
To add custom fonts to your application, add a fonts section here,
in this "flutter" section. Each entry in this list should have a
"family" key with the font family name, and a "fonts" key with a
list giving the asset and other descriptors for the font. For
example:
fonts:
- family: Schyler
fonts:
- asset: fonts/Schyler-Regular.ttf
- asset: fonts/Schyler-Italic.ttf
style: italic
- family: Trajan Pro
fonts:
- asset: fonts/TrajanPro.ttf
- asset: fonts/TrajanPro_Bold.ttf
weight: 700

For details regarding fonts from package dependencies,
see https://flutter.dev/custom-fonts/#from-packages

@yangsh91
Also provide below files:
pubspec.lock
ios/Podfile
ios/Podfile.lock

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Email Body Not Displaying Properly

Describe the bug
When opening an email the body is displayed in HTML text instead of the appropriate format.
To Reproduce
Steps to reproduce the behavior:

Go to any email in the app.
Click on an email to open it
See HTML text.

Expected behavior
The email should open with properly formatted text, background, and images viewable as they are on the web version of Ctemplar.
Screenshots

Smartphone (please complete the following information):

Device: [Google Pixel 3XL]
OS: [Graphene OS/Android]
Version [11]

Additional context
Emails that are sent in plain text are viewable on the app.  The app version 1.4.0 was downloaded and installed via the F-droid app.

@D4RKPHOENIX Thank you for the reporting. We are already working on a fix and will release it soon!

The bug has been fixed in v1.4.1. Please update the app when an update becomes available to you

Thank you for the quick fix!  Any idea how long it takes for the update to get pushed to F-droid?


Support LittleFS and Settings subsystem on LPC55s69

Is your enhancement proposal related to a problem? Please describe.
The LPC55s69 flash driver does not support using LittleFS with the default configuration or the Zephyr settings subsystem. This is due to the requirement enforced by the LPC flash driver that all writes be in multiples of 512 bytes.
Describe the solution you'd like
The LPC flash driver should support bytes of less than 512 bytes.
Describe alternatives you've considered
Subsystems could be updated to support 512 byte writes, but this will just result in reimplementations of "unaligned write" algorithms in most subsystems.

@danieldegrasse, I have looked at the issue and the proposed solution (#45526 ). The solution uses a read/modify/erase/write method that will increase the wear and might leave zephyr users breaking their system early. Next to this it also might result in a broken littlefs system or lost data (nvs) whenever a write is interrupted.
For nvs let's consider a flash area (page) that contains ate's, these will be 8 byte long and for the page to be completely written it will be erased 64 times. Every write of an ate will erase a page, and every write can result in loosing all other ate's in that area. Nvs does not play nice with these kind of flashes, and nvs shouldn't be used on them.
For littlefs the same holds, and it is not required/advantageous. Littlefs should be defined with a block size of 512 bytes and everything will be taken into account, the fs will try to limit flash writes. And as a bonus the fs will not be broken when a write is interrupted.


Tracing: ServiceBus processor throws when message contains invalid trace context

When an invalid trace context is supplied in the message ServiceBus (and probably EventHubs) processor throws.
In this PR, I

use ActivityContext.TryParse instead of Parse
enable ActivitySource-related tests to run on .NET 4.6.2

they didn't run there before for historical reasons when we depended on earlier version of DiagnosticSource, but now we can run them
there were some unexpected failures which are fixed now

API change check
API changes are not detected in this pull request.


how to add event

Hi, how to add event and set different color for each event on Swift.
thanks

Hi there. The example shows how to put event. Download example and see "Storyboard Example" and "Delegate Appearance Example"

How to set events on particular date and if there are 3 event and how to change event dot color ??

Change your colors in data array and call reloadData.

when i reload FSCalendar then dates invisible why? plz tell me
i mean to say when i set number of events and reload then hide dates

wen i relad only current mounth is only avilable all dates of other month is 0
(https://cloud.githubusercontent.com/assets/25659987/22778196/18f03464-eedc-11e6-8b2b-65dfbeee4f40.png)

Hello, How are you?
I am going to put the event date on your calendar. Can I make to other dates are disabled and event data is enabled? Thanks

None of the examples show how to add an event to date and display it in a tableview.  They only print the date that was selected.


I have no idea why it's broken...

So, I was planning to use this mod for a group session on the game but ended up with that message getting spammed in the logs. I have no idea what it means but I assume it's either not supported by the latest version of the game or just fighting with another mod?

Eyoo!
It seems like the PlayerController was not available. Its possible that another mod interfered. Did you get this every match or did this happen only one time? If it happened during a session I am assuming that the VRMs also did not get applied.


CI: Enable builds for msys2, msvc, arm-08, arm-10, arm-13 for Complex PRs

Summary
This PR enables the CI Builds for msys2, msvc, arm-08, arm-10, arm-13 for Complex PRs. We disable the CI Builds for arm-01, arm-09, arm-11.
This will help to fix the recent breakage of builds: https://github.com/apache/nuttx/issues/14598
Impact
When we create or update a Complex PR: CI Workflow will now build msys2, msvc, arm-08, arm-10, arm-13 (instead of arm-01, arm-09, arm-11)
No changes to Simple PRs.
Testing
Creating a Complex PR will now build msys2, msvc, arm-08, arm-10, arm-13 (instead of arm-01, arm-09, arm-11):
https://github.com/lupyuen5/label-nuttx/actions/runs/11638217458
Creating a Simple Arm32 PR will build arm-01 to arm-14, like before:
https://github.com/lupyuen5/label-nuttx/actions/runs/11638211712

[Experimental Bot, please feedback here]
Yes, this PR appears to meet the NuttX requirements, though some clarifications might be helpful.
Here's a breakdown based on the requirements:

Summary: Clear explanation of the change (enabling specific CI builds for Complex PRs and disabling others) and the reason (fixing broken builds, linked to the relevant issue).  The functional part changed is the CI workflow.  How it works is also explained (different builds triggered based on PR type).

Impact:

New Feature: Arguably no, this is a modification of existing CI.
Existing Feature Changed: YES, CI build targets for Complex PRs.
Impact on User: NO.  Users won't interact directly with CI.
Impact on Build: YES,  CI builds for Complex PRs use different targets. This is well described.
Impact on Hardware: NO.  Changes are only to the CI process, not the hardware configurations themselves.
Impact on Documentation: Possibly YES. If there's documentation on the CI process, it might need updating to reflect these changes. This needs explicit confirmation.
Impact on Security: NO (assuming the change itself doesn't introduce vulnerabilities in the CI). Explicitly stating "NO" with a brief justification would be better.
Impact on Compatibility:  NO (assuming the builds themselves remain compatible).  This also needs explicit confirmation with a brief justification.
Anything else:  Consider adding a justification for the specific targets chosen for Complex PRs vs. those disabled.

Testing: Provides links to CI runs demonstrating the change. This is good, but including snippets of the relevant log output within the PR description itself (showing which builds are running) would improve clarity.  Also, the "before change" logs should demonstrate the previous behavior (builds failing or the old set of targets running).  Specifying the Build Host used for triggering the PRs would also be beneficial.

Suggestion for Improvement:
Add a sentence or two explaining the rationale for choosing msys2, msvc, arm-08, arm-10, and arm-13 for Complex PRs.  Why were these deemed sufficient?  Why were arm-01, arm-09, and arm-11 disabled?  This will add valuable context to the PR.  Also clarify impact on documentation, security, and compatibility as mentioned above.


⚠ Bofrost.at has degraded performance

In 6544f60, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1251 ms

Resolved: Bofrost.at performance has improved in c669cba after 7 minutes.


Error in data augmentation (horizontal and vertical flips)

Hi @yhenon,
I assume that there is a problem while performing horizontal and vertical flips in data_augment.py. In following part:
if config.use_horizontal_flips and np.random.randint(0, 2) == 0:
	img = cv2.flip(img, 1)
	for bbox in img_data_aug['bboxes']:
		x1 = bbox['x1']
		x2 = bbox['x2']
		bbox['x2'] = cols - x1
		bbox['x1'] = cols - x2

if config.use_vertical_flips and np.random.randint(0, 2) == 0:
	img = cv2.flip(img, 0)
	for bbox in img_data_aug['bboxes']:
		y1 = bbox['y1']
		y2 = bbox['y2']
		bbox['y2'] = rows - y1
		bbox['y1'] = rows - y2

bbox['x2'] is assigned as x1 and bbox['x1'] as x2, same for y values. Shouldn't it be vice versa?
I tested and observed that it is false.
GT image and bbox:

After horizontal_flip as in your code:

Corrected bbox:
bbox['x1'] = cols - x1
bbox['x2'] = cols - x2

I cannot verify! I reviewed it on paper and in matlab and the definements are right. There must be something wrong with your data saved in bbox['x1'] / bbox['x2']. It looks like your x2 is zero somehow (x1' stays x1, but x2' is correct).
Attached a matlab example for verfication
image = imread('example.png');
image_m = fliplr(image);

[ih, iw, ~] = size(image);
x1 = 220
x2 = 360
y1 = 200
y2 = 390
w = x2-x1
h = y2-y1

figure;
image = insertObjectAnnotation(image, 'rectangle', [x1, y1, w, h] , 'Label', 'Color', [255, 0, 0]);
imshow(image)

x1_m = iw - x2;
x2_m = iw - x1;
w_m = x2_m - x1_m
h_m = h

figure;
image_m = insertObjectAnnotation(image_m, 'rectangle', [x1_m, y1, w_m, h] , 'Label', 'Color', [255, 0, 0]);
imshow(image_m);


[5.10][Runtime] Add layout string handling in swift_arrayAssignWithCopyFron…

5.10 cherry-pick of: https://github.com/apple/swift/pull/68673

Explanation: Improves performance for array copies of object using layout strings
Scope: Layout strings only
Issue: rdar://118606734
Risk: Low, only affects layout strings, which is still experimental
Testing: Added tests to the test suite
Reviewer: @mikeash

@swift-ci test

@swift-ci test

@swift-ci test


allowUnfree doesn't work in home-manager

Had to use allowUnfreePredicate temporarily in fa36919dee7218af4b29608e9a6709144ef3e4b0, also see HM2942.

nixpkgs.config.allowUnfree is being overwritten by the provided pkgs's config, so we set allowUnfree when providing pkgs to home-manager.lib.homeManagerConfiguration instead.


Bogus "custom column without description" warning

Context: https://neurostars.org/t/tabular-file-contains-custom-columns-not-described-in-a-data-dictionary/2513

I'm not able to recreate this.  I was able to resolve the custom column warnings on a test dataset by adding a data dictionary in the same format this user posted.

should be fixed with #631


ci: scan reports for failed scans

When scans for bandit and safety fail, no report is uploaded and no usable output shown in the pipeline. This complicates fixing.
DO NOT MERGE!!! THIS IS TO EXAMPLIFY THE PROBLEM FOR NOW

Codecov Report

Merging #17 into master will decrease coverage by 0.30%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #17      +/-   ##
==========================================
- Coverage   90.08%   89.78%   -0.31%
==========================================
  Files          14       15       +1
  Lines         595      597       +2
==========================================
  Hits          536      536
- Misses         59       61       +2

Impacted Files
Coverage Δ

connaisseur/insecure.py
0.00% <0.00%> (ø)

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 e64546e...8bc9977. Read the comment docs.


Followup - Error Message

I figured out what is the problem. I tried to log on some other acc and it was (almost) successful. So I assume that I enabled some sort of protection in gmail setting that prevent me from logging on with GNP?
Now the almost part: When i logged in, error massage popped out:
[Window Title]
Gmail Notifier Plus Error
[Main Instruction]
An unhandled exception occurred:
[Content]
Error ID: c9eacf1a-1033-4440-a6e6-f4ed619720c9
The given key was not present in the dictionary.
[Expanded Information]
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at GmailNotifierPlus.Forms.Main._Notifier_FormClosed(Object sender, FormClosedEventArgs e)
at System.Windows.Forms.Form.OnFormClosed(FormClosedEventArgs e)
at System.Windows.Forms.Form.WmClose(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
[^] Hide details  [OK]
AND
Date: 17.1.2012 7:34:52
CPU: Microsoft Windows 7 Ultimate  6.1.7601.65536 Win32NT
Processor: AuthenticAMD x86 Family 15 Model 39 Stepping 1 AMD Athlon(tm) 64 Processor 4000+ 2411 ~Mhz
Memory:<PHONE_NUMBER>
Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at GmailNotifierPlus.Forms.Main._Notifier_FormClosed(Object sender, FormClosedEventArgs e)
at System.Windows.Forms.Form.OnFormClosed(FormClosedEventArgs e)
at System.Windows.Forms.Form.WmClose(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Message: The given key was not present in the dictionary.
Stack Trace:
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at GmailNotifierPlus.Forms.Main._Notifier_FormClosed(Object sender, FormClosedEventArgs e)
at System.Windows.Forms.Form.OnFormClosed(FormClosedEventArgs e)
at System.Windows.Forms.Form.WmClose(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Inner Exception:
Help?

Close the app, Delete the GNP config file in your Roaming/Gmail Notifier Plus directory. Start the app again and enter your login information.


find PkgConfig earlier

I found that some combinations of setting will error on pkg-config checks.  This will find pkgconfig earlier to prevent that from happening.  (i.e. set ENABLE_MAGICK=false)

This does not require PkgConfig to be present (and shouldn't) but many plugins do. Will ENABLE_MAGICK=true work if PkgConfnig is not found?

Cherry-picked to v10.0.x


Add support for running examples via cargo

Fixes #10

I wonder -- should we make bin, example, and test be subcommands instead of just flags? That way they could also have their own flags.

Hm, I thought the arguments were meant to be similar to cargo-run -- but that doesn't deal with tests or bechs so I'm not sure.

Am 12.03.2019 um 21:56 schrieb Jon Gjengset<EMAIL_ADDRESS>I wonder -- should we make bin, example, and test be subcommands instead of just flags? That way they could also have their own flags.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

That's what I mean though. Maybe it should be:
$ cargo flamegraph run --bin foobar
$ cargo flamegraph run --example foobar
$ cargo flamegraph test
$ cargo flamegraph bench

I was just looking if there was an open issue for running flamegraph for tests, being able to do cargo flamegraph test or cargo flamegraph test mytestcase would be nice!

Thanks @killercup :D

I probably won't have time to change this PR for a while -- feel free to submit code based on it or merge as-is :)

@jonhoo hmmm that does seem reasonable and consistent. I would like to default to the run behavior if no other command is entered, so that you can just type cargo flamegraph and have it generate what you need, but I think that's an approach that scales to others

@killercup NP I fixed the conflict!


catch all oauth service exceptions

And throw AuthenticationExceptions, to make sure that the symfony/silex
failure handlers are triggered properly in all cases.
Previously, the Oauth(2) service could, for example, throw a OAuth\Common\Http\Exception\TokenResponseException and that would bubble up without the onAuthenticationFailure handler ever being called.

Looks good. Thanks!


Documentation is 1.4.2

Documentation has been 2 years without updating. Please update this to 1.5.0
https://github.com/tmijs/docs/tree/gh-pages/_posts/v1.4.2
https://github.com/tmijs/docs/tree/gh-pages/_posts/

@AlcaDesign it would be great to see updated documentation 🙏

Documentation still needs to be updated, we are on 1.8 and documentation is still on 1.4.2, unacceptable if a maintainer cannot keep documentation fresh
If the maintainer cannot actively keep the docs updated he should find another maintainer more passionate to do the work, while I am aware that it is not a paid job to maintain tmi.js and many other open-source projects, This project is the discord.js of twitch and even if you try searching for other options the only one that comes up is tmi.js

This. I'm looking for up-to-date docs on the events, and its very frustrating seeing them out of date. By three damn years, at that.

Documentation still needs to be updated, we are on 1.8 and documentation is still on 1.4.2, unacceptable if a maintainer cannot keep documentation fresh If the maintainer cannot actively keep the docs updated he should find another maintainer more passionate to do the work, while I am aware that it is not a paid job to maintain tmi.js and many other open-source projects, This project is the discord.js of twitch and even if you try searching for other options the only one that comes up is tmi.js

you are welcome to make docs up-to-date

Yeah sure i will work for free in a multibillion company. Sure.

you are welcome to make docs up-to-date

My brother in Christ. If it was that easy, this wouldn't even be a thread...

Yeah sure i will work for free in a multibillion company. Sure.
Lets fork it.

why do you think tmijs is affiliated to twitch?

why do you think tmijs is affiliated to twitch?

If you're referring to what EmanSza said,

This project is the discord.js of twitch

They were just making a comparison.
If you're unfamiliar with Discord.js you can check it out here

Memories of reading something like "twitch paid to someone to create a js library" that could be the reason is now a dead project... If they done willing to earn money and the money never appeared so they let the project dead...
And things like this... https://discuss.dev.twitch.tv/t/timeout-with-tmi-js/37417
There is another library, for those who are curious:
https://d-fischer.github.io/twitch/

This library was not a commissioned by Twitch. It is not associated or affiliated with Twitch. It's an open source project.

Okay. So is there a reason the docs aren't being updated? Because I feel like you just glossed over that.

Probably because people are busy! I'm thankful this is maintained and here for everyone to use and enjoy. I'll take a great tool and non-updated docs over no-tool any day!
On Sunday, August 7, 2022 at 09:45:37 AM CDT, Yūrei.dll @.***> wrote:
Okay. So is there a reason the docs aren't being updated? Because I feel like you just glossed over that.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

A lot of documentation has been added to the types.d.ts file. This file is very incomplete and broken but it's at least a place to coherently put the docs which can be used to generate new documentation. Events still need to be added.


Added translations and some more settings (fullScreen.js)

Hi, I added support for translations (eng and ita) and localization of the dates and added some options to personalize the behaviour of the fullScreen plugin (fullscreen button positioning, independent trim title and artists for the upnext tab). It now also supports global options, that are valid for both tv and fullscreen mode.

Thanks @beltra


Enhancement: Send User Name of who controls alarm panel.

I don't know if this is possible.
Wondering if you could pass the user information to Home Assistant for the User that Arm/Disarms the Alarm Panel?
Example. User 1 disarms the alarm. Home Assistant will see User 1 Disarmed Alarm device. Then you could create notifications and automations based off the User.
Thanks for your work so far, its a great add on to Home Assistant!

Not without making an additional call to the Vivint API and forcing the state to either wait to update or update but then request the user information asynchronously and having the changed by added later. Neither of which seem desirable.


Update multi-tenant-management-partner.md

replacing managed service admin with Teams Rooms Pro Manager

@altsou
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

@altsou
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


API of packages could be improved

Currently, we have very generic imperfect interfaces that are not good enough for wide production usage. This needs to be discussed and improved.
Example: HolidayService should no more have a "year" param in its constructor

Already implemented
Now usage looks like
var countryHoliday = _worldDbContext.Holidays.Get(2023, "UA")!;


Pinned apps issues

I pinned a lot apps myself in the start menu and find out it's all gone maybe because of the first y/n option after all set up.Is there a way to get my pinned apps back?

Heya,
Sorry you ran into this issue. Unfortunately currently there's no backup of the overwritten startmenu layout.
I will try to add a backup mechanism as soon as possible to prevent this issue in the future.

OK,thanks for ur work.

Thank you!
Starting with 6ec319b the start menu file will now be backed up to prevent this issue in the future.


Fix issue #518 - Properly Save Chat IDs

Fixing #518 issue, happening because of PDO not able to save large ints.

Oops, wrong


Create pattern to save boneless preferences at file or local storage

When you start a project, the boneless uses predefined settings, like fiber, sqlc and migrate.
I suggest use more options in the future, saving this preference on local config file.

@guipassos Awesome dude, I liked that so can you show an example of using it?


Hello I have a question.

Hello I have a question.
After recognizing the QR code, it sends data as result while exiting the scan screen.
I am wondering how to prevent the scanning screen from being closed.
Thanks for reading.

Yes - look at this sample:
https://github.com/journeyapps/zxing-android-embedded/blob/master/sample/src/main/java/example/zxing/ContinuousCaptureActivity.java

For your help
Thank you very much.
2020년 12월 2일 (수) 오후 9:17, Ralf Kistner<EMAIL_ADDRESS>작성:

Closed #582
https://github.com/journeyapps/zxing-android-embedded/issues/582.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/journeyapps/zxing-android-embedded/issues/582#event-4062039349,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARUN7TNND6TJYEIVME6DBYLSSYV5DANCNFSM4UJZ6CLQ
.


The blunder SQL problem add

Hackerrank problem link
Provide your hackerrank problem link here.
https://www.hackerrank.com/challenges/the-blunder/problem?utm_campaign=challenge-recommendation&utm_medium=email&utm_source=24-hour-campaign
Issue Checklist

[ ] If you have previously contributed to this repo, you declare that you have not made a pull request for more than one issue in this repo till now.
[X] Your forked repo is up-to-date with the the origin remote.
[ X] Have you checked that the hackerrank problem you are raising is not already present in the repo?
[X ] Have you checked that the hackerrank problem you are raising is not raised by or assigned to another contributor?

Hacktoberfest Contributor

[X ] Are you a Hacktoberfest Contributor?

Any other Changes?
If you are raising an issue with some more changes, please provide the details here.

@ashavijit
Hey, Thanks for raising an issue!
Unfortunately, the hackerrank problem which you have raised is already present in the repo here. Please bring an another problem for contribution. Thanks😃!


Implement precise waking on no_std targets

https://github.com/yoshuawuyts/futures-concurrency/pull/163 has introduced support for #[no_std] environments, but in order to achieve that it has implemented a less efficient version of WakerArray and WakerVec, which wake all of their child futures every time they're woken. We should implement a more efficient version of this which works on #[no_std] environments.
This is not needed for correctness; merely for efficiency. But especially on embedded environments, efficiency matters - so it really would be great if we could tackle this. Thanks!

I think that precise waking is going to require some sort of allocator. The waker context needs to be able to outlive the associated future. In no_std you could do something like a static arena of wakers you can allocate from. You would probably also want some way to define the size of that arena at compile time.
For alloc it's significantly simpler. I think the goal here should be to make ReadinessVec/ReadinessArray lock-free which would enable their use in both std and alloc contexts (and maybe improve performance at the same time).

In no_std you could do something like a static arena of wakers you can allocate from. You would probably also want some way to define the size of that arena at compile time.

I've experimented with this approach but haven't found a way to make it ergonomic. With TAIT it becomes possible to define type-inferred statics with a macro, which might help


Expose more options, avoid descriptor exhaustion crashes, improve documentation

I've exposed more options to the user via compile time consts that can be defined by the user, and I've also improved documentation in various areas that were bare.
I've also wrapped acceptClient in a try...except that ignores descriptor exhaustion errors, which fixes the ability for anyone to overload the server with connections and crash it.
Additionally, serverInfo has been renamed to httpxServerName (but the old constant still works), and defining it as empty will omit it from the HTTP response. Some users may not want to expose which HTTP server they're using to serve requests, and I think this would be a good thing to have as an option.

The bit that handles descriptor exhaustion is related to issue #21, which I had replied to via email but apparently never appeared on GitHub. Sorry about that.
If you have any thoughts, I'd love to hear them. Otherwise, my changes are pretty minimal.

Thanks! Happy to help


Summarise Chain in io.jl

Added Base.show(io::IO, ch1::Chain) to resolve #13. The prints the weight of the chain and the weighted means of its symbols.

I've messed up the commits here! I've put a clean pull request in #17


Fix morecustombaseurigroup by adding missing params and fixing URL

Need to make sure subscriptionID is added to the generated code and that subscriptionID and keyName are added to the URL path, along with setting the keyVersion query param.

For the parameters defined in the morecustombaseurigroup, depending on if they are defined as client then we'll do the following: For the internal package we'll need to add them in the regular list of params. And for the convenience layer we'll likely need to add them as constructor params.

Resolved.


Add a method to immediately send the response to the client.

Describe the feature
For example:
        app.after("/", ctx -> {
            if(ctx.status()==200){
                ctx.stop();
            }
        });
        app.after("/", ctx -> {
           log(ctx.ip());
        });

Let's say you want to log the ip of every user who's request was not OK.
You could use two after-handlers; one that checks if the status code is 200 and another one that would log the ip.
if the status code is 200 then the server would immediately send a response back to client by calling ctx.stop(), else the other handler would run and the client's ip would be logged.
ctx.stop()(or ctx.send() etc..) would immediately send the current response body and status codes to the client.

I know yours is just a simple example and not an exact usecase, but couldn't you just accomplish the same thing in a single after block
        app.after("/", ctx -> {
            if(ctx.status()!=200){
                log(ctx.ip());
            }
        });

I feel like every case where this might be useful could also be solved currently with some refactoring.  Plus it really ruins the flow.  If you were debugging it would be extremely difficult to remember that sometimes stop is used and the after blocks are skipped, while other times the after is not skipped.

@SmithKevin I feel like every case where this might be useful could also be solved currently with some refactoring.

This was my thinking too. I've never been in a situation where I needed this, but it's good to get some other perspective.
@rahimklaber Are there performance reasons for why you want to do this, or something else?

@tipsy I was thinking that if you have a chain of middle-ware and something goes wrong in one of them, then you would immediately return a response to the client and not execute the rest of the middleware.
So yeah for performance.
I now realize you could use Exception mapping for that.


WebTorrent works in Firefox with disabled WebRTC

Could you explain please, how can WebTorrent work in Firefox with media.peerconnection.enabled=false?

Browser name/version (if using WebTorrent in the browser): Firefox 43.0.1

Are you testing on https://webtorrent.io? The torrent on the homepage has a web seed (i.e. an http server that's used as fallback when/if there are no peers available).


[.h,.hpp,.cpp,.proto] clang-format

clang-format 13.0.0 at 9ebfeab
$ fd -eh -ec -ehpp -ecpp -eproto -x clang-format -i --style=Google {} \;

Related:

https://github.com/tensorflow/addons does a bunch of auto format and auto linting
My recently merged PR: #53329
My #53360
My #53374

Disadvantages:

Impact just about every file in the codebase
Require open PRs to be modified and forks to be updated

Mitigation of disadvantages:

To avoid stepping on toes, one can write a pull request scanner to avoid touching any file that has a current pull request lodged against it. I'm happy to write this script, but will also need someone to run this internally so it knows what files are being affected by non public PRs

Advantages:

Easier for automated tooling to make automated fixes (whitespace / prettyprinting issues don't get in the way)
More consistent codebase (which is somewhat of a quality metric)

Closed as per @MarkDaoust's comments


transducer test coverage

Shall we keep this open, @buzzdecafe? My guess is that in two years' time no one will have touched this issue. Writing tests after the fact is not usually an exciting prospect.


remove duplicate logic around ids/tags

easy to introduce bugs since they always needed to stay in sync ... now they no longer need to :)
@pat

@pat green now too

@pat good to go ?

I prefer local complexity to spread out duplication (that needs to be kept
in sync)+ the same complexity spread out over more methods
if assignment: either way is fine ... I like how it looks / that it's
obviously only used in the if ... reduces the scope of the variable
On Thu, May 25, 2017 at 8:04 PM, Pat Allan<EMAIL_ADDRESS>wrote:

@pat commented on this pull request.
In lib/gutentag/tagged_with_query.rb
https://github.com/pat/gutentag/pull/38#discussion_r118626578:

@@ -35,11 +31,13 @@ def name_query
end

def query

ids? ? id_query : name_query
end

def tag_ids
options[:ids] || Array(options[:tags]).collect(&:id)

if ids = options[:ids].presence

There are two things making me pause about this PR, and they're both
visible in this line.
I don't like assigning to variables within the if clause - unnecessary
too, given they're only being used in the following lines, so better to
just consistently refer to the particular option directly from options.
The second issue is that the three branches of logic here (if/elsif/else)
feels a little complex… though I'm far less sure what a better approach is.
I'm going to mull this over a little more.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pat/gutentag/pull/38#pullrequestreview-40437246, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAAsZxufiLB_06S0OS26ip6LbJio2KB8ks5r9kE9gaJpZM4NkmA9
.

I looked at the code prior to your patch, pondered how I would refactor it, and realised I'd end up with something similar (maybe a case statement instead of if/elsif/else), so I've merged it in, removed the variable assignment. Thanks :)


Release 3 15

@maddygriz can you name this branch something different? The process of updating the release branch is a bit finnicky. And the branch with this name will need to originate from Bioconductor.


I want different sorts and layout modes in every page.

I want different sorts and layout modes in every page.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here. Ex: What device type/UI layout and app version?

Duplicate of #530


[Help wanted] Refactor OnlineStream

We should move the following two methods
https://github.com/k2-fsa/sherpa/blob/b1634288e34f97bc5985eca87126d07f3294bda8/sherpa/cpp_api/online_stream.h#L112
https://github.com/k2-fsa/sherpa/blob/b1634288e34f97bc5985eca87126d07f3294bda8/sherpa/cpp_api/online_stream.h#L120
to
https://github.com/k2-fsa/sherpa/blob/b1634288e34f97bc5985eca87126d07f3294bda8/sherpa/csrc/rnnt_model.h#L34
and make them virtual.
Note that we should give it a default implementation since it is used only by streaming models.
assert("Not implemented yet" && false);

We should also move
https://github.com/k2-fsa/sherpa/blob/b1634288e34f97bc5985eca87126d07f3294bda8/sherpa/csrc/online_stream.cc#L87
https://github.com/k2-fsa/sherpa/blob/b1634288e34f97bc5985eca87126d07f3294bda8/sherpa/csrc/online_stream.cc#L163
to
https://github.com/k2-fsa/sherpa/blob/b1634288e34f97bc5985eca87126d07f3294bda8/sherpa/csrc/rnnt_lstm_model.h#L35
and change
https://github.com/k2-fsa/sherpa/blob/b1634288e34f97bc5985eca87126d07f3294bda8/sherpa/csrc/online_asr.cc#L230
https://github.com/k2-fsa/sherpa/blob/b1634288e34f97bc5985eca87126d07f3294bda8/sherpa/csrc/online_asr.cc#L242-L243
to
torch::IValue stacked_states = model_->StackStates(all_states);

  std::vector<torch::IValue> unstacked_states =
      model_->UnStackStates(next_states);

Please leave a message in case you want to pick it up so that others can implement other TODOs.


Incorrect  definition of a comment in 'AndroidEnvironment' text files.

Documentation states that a comment 'Comments are lines which start with '#' but my testing shows that two (##) characters are required for a comment.
ex: add the following line to file with 'AndroidEnvironment' build action.
#BOOM=anyContent
and '#BOOM' will be added as a environment var.
Also, might be nice to make note reminding devs that changing the contents of a text file will not cause a rebuild.

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

ID: 91dec1d0-c03e-8ebb-f51d-d590d3d54284
Version Independent ID: 9ff70642-1330-0808-d603-f77e33b9f6b2
Content: Xamarin.Android Environment - Xamarin
Content Source: docs/android/deploy-test/environment.md
Product: xamarin
GitHub Login: @conceptdev
Microsoft Alias: crdun

Thanks for submitting an issue and we apologize for the delayed response. The requested updates haven't been made since the creation of the issue, and the timeline for resolution may vary based on resourcing, so the issue is being moved to an internal repo to better track it.


[Feat] Add pod scheduling to timeout, or cancel stuck jobs after new timeout

Summary
When trying to schedule jobs/templates in a workflow I'd like to schedule them on specific nodes, but these jobs are not critical and if I can't schedule them then I'd like to just skip them. The issue though is the current timeouts available don't count pending/unschedulable pods so if they can't be scheduled they hang up the entire workflow.
Use Cases
When you have a workflow with steps that might not schedule in Kubernetes, I'd like a way to time them out or stop them after sitting for so long in a pending state.

Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.

I think this request would fix a similar problem I've encountered a few times. We have CLI scripts that submit workflows and one of the user-controlled inputs is the container image. So if the input is wrong, it might cause invalid reference format on the pod, which is then effectively unschedulable. Of course, we can (and did) add checks on the client side to prevent this, but it would additionally be nice if argo was able to detect these cases and recover from it (i.e. fail automatically).

I have a similar problem with pods in an infinit pending state because e.g. a referenced PVC cant be found. Non of the timeouts (activeDeadlineSeconds, timeout) work. I can see a message in argo with the problem but i cant define a timeout for such use case.
Unschedulable: 0/1 nodes are available: persistentvolumeclaim "non-existent" not found. preemption: 0/1 nodes are available: 1 Preemption is not helpful for scheduling..

i have a similar issue where new nodes go from:
1.kubelet ready
2. kubelet network notready
3. back to kubelet ready
where pods scheduled at point 1 become stuck in pending. would be great if argo had a pending timeout that when met would allow retrying to run new pod


Add time limit for grpc calls

We should add deadline for grpc calls (to avoid endless grpc call)

HI, I am pleased to work on this feature. Can you make this more specific? In my opinion, chaos-operator communicate between each other via GRPC synchronously. A GRPC has to finish with a deadline argument. If not, it should be aborted. Am I right about this? @YangKeao @zhouqiang-cl

@AngleNet Yes! Now NetworkChaos and ChaosFS use grpc to communicate.
NetworkChaos (both netem and partition chaos) use grpc to connect to chaos-daemon. And IoChaos use grpc to connect to chaosfs. You can find them in /controllers/iochaos and controllers/networkchaos

OK. I will work on this. Can you assign this to me in case of duplicate work ?


No means of getting invite codes?

https://dename.mit.edu appears to be down. :(

Fixed. My apologies for the outage.


[Airbrake] [Staging] undefined method `attributes' for nil:NilClass

Airbrake error: #0794
Airbrake project: ETMoses
Error type: NoMethodError
Error message: undefined method `attributes' for nil:NilClass
Where: gas_asset_lists#calculate_cumulative_investment
Occurred at: Apr 19, 2016 17:05:20 UTC
First seen at: Apr 19, 2016 17:05:20 UTC
Occurrences: 1 (0 since last deploy on Apr 19, 2016 16:57:54 UTC)
URL: https://beta-moses.energytransitionmodel.com/testing_grounds/494/gas_asset_lists/3/calculate_cumulative_investment
File: [PROJECT_ROOT]/app/models/gas_asset_list_decorator.rb
Backtrace:
[PROJECT_ROOT]/app/models/gas_asset_list_decorator.rb:10:in block in decorate
[PROJECT_ROOT]/app/models/gas_asset_list_decorator.rb:7:in map
[PROJECT_ROOT]/app/models/gas_asset_list_decorator.rb:7:in decorate
[PROJECT_ROOT]/app/services/gas_asset_lists/calculator.rb:4:in initialize

I fixed this by resetting the gas asset lists on beta.


chore: use Record<any, any> instead of object type

We should use Record<string, any> to represent object types, otherwise it will lose the index type of the object.

const obj1: object = {
  name: 'foo'
}

const obj2: Record<any, any> = {
  name: 'foo'
}

const key: string = 'name'

const name1 = obj[key]  // error

const name2 = obj[key]  // success

Shouldn't it be Record<string | number | symbol, unknown> instead?

I don't think this PR makes meaningful improvements as the case discussed does not apply to any of the use sites affected in the PR.


Allow position comment initially

It is handy to have the option to have a comment on the initial position, especially if that comment defines arrows and circles. This should be even allowed for pgnBoard, without any moves, and would therefore allow to have the graphical support to show some playing situations.
An example call could be:
PGN.pgnBoard('board', { theme: 'zeit', pgn: "{ [%csl Gd5,Gf5,Ye5,Yc5][%cal Ge2e4,Rf2f4] }" })

I think there is some misunderstanding about position of comments.
{before move number} 1. {before first half move} e5 {after first half move} e6 {after move} 2. {before move} Nc3
As you can see there few positions of comments:

before move number
before first half move
after first half move
after move

But in really there is only 3 types:

before first half move
after first half move
after move

Why? Because before move number it only present BEFORE game. In the middle of game after move is before move number. They are indistinguishable.
Do you know what I mean?

You are right. But in my opinion, this is different to what I stated above. I want to have at least one comment for to allow arrows and circles before the game starts. And yes, you are right.
So in a different ticket, I would like to address the following:

Change the existing 3 comments per half move to only one.
Add the game comment (comments before the game starts) to compensate for having no before move comment.

I don't need to differentiate between black and white, that is the same. But as I said, this is something for a different issue, and it will be a breaking change. I would like to first have a game comment, and when that works well, there is no need any more for a before move comment.

Changed grammar, so gameComment will  consume the comment before the first moves.


Upgrade our issue templates to use GitHub issue forms ✍

Introduction
GitHub has recently rolled out a public beta for their issue forms feature. This would allow you to create interactive issue templates and validate them 🤯.
Appwrite currently uses the older issue template format. Your task is to create GitHub issue forms for this repository. Please use Appwrite's issue templates as a reference for this PR.
Tasks summary:

[ ] Fork & clone this repository
[ ] Prepare bug report issue form in .github/ISSUE_TEMPLATE/bug.yaml
[ ] Prepare documentation issue form in .github/ISSUE_TEMPLATE/documentation.yaml
[ ] Prepare feature request issue form in .github/ISSUE_TEMPLATE/feature.yaml
[ ] Push changes to master and test issue forms on your fork
[ ] Submit pull request

If you need any help, reach out to us on our Discord server.
Are you ready to work on this issue? 🤔 Let us know, and we will assign it to you 😊
Happy Appwriting!

Hi @TorstenDittmann / @Meldiron
I would like to work on this. Kindly assign it to me.
Thank you

@visheshjindal Looks like you have some issues assigned to you already. We request you to complete those before requesting assignments on new ones. Also, please consider picking a different type of issue so other contributors can try this one.

@Meldiron Can I work on this?

@Sin-Sumit Assigned it to you! All the best 🚀

THank You, I request for other as well Please ignore them.

@Meldiron I created a PR, and thanks for your help


Patch-1

Could you explain what this PR is supposed to change? From what i can tell you have just added some weird spacing and random numbers amon some of the comments. Does the script even run in OFS with these changes?

Dismissing this as no explanation was provided for changes.


Hack need an update

The hack is in the game, you can enter hack menu etc, but its stops working about 5 minutes ago.
There is the error extension is show
	var request = new XMLHttpRequest();
	request.open('GET', chrome.extension.getURL(fileName), false);

and
		var gameInitBase = mainModule.prototype[obfuscate.init];

new variables
"mainModule": "Lt", 		"init": "o", 		"free": "n", 		"update": "c", 		"render": "_t", 		"sendMessage": "Ot", 		"processGameUpdate": "zt", 		"EmoteManager": "ot", 		"camera": "Y", 		"targetZoom": "k", 		"activePlayer": "ut", 		"input": "_e", 		"keyPressed": "re", 		"mousePressed": "oe", 		"mouseDown": "se", 		"smokeBarn": "Ze", 		"smokePool": "e", 		"map": "Oe", 		"obstaclePool": "ie", 		"buildingPool": "st", 		"pool": "xe", 		"playerBarn": "Re", 		"playerPool": "de", 		"playerInfo": "jt", 		"activeId": "ht", 		"objectCreator": "dt",	 		"netData": "J",' 		"pieTimer": "We", 		"lootBarn": "Je", 		"closestLoot": "Lt", 		"lootPool": "nt", 		"localData": "$",  		"activeTimer": "$t", 	    "cheatVersion": "0.30.0"
but also some other changes. I removed some features in "gameUpdate.js" like Grenade timer and detectEnimies. invWeapon1Name and invWeapon2Name also commend out.

ok I will do that later, I am busy rn, but thx for fixing

yeah please fix

If you want to play right now try this fix https://github.com/yarkoval/survivio-plus
before @iBLiSSINYT  confirm my pull request.
Give all credit to @typico

ok I will do that later, I am busy rn, but thx for fixing

please let us know when it's fixed

https://github.com/typico/survivio-plus
-> + wallhack + autoloot


[Question] What is a maximum number of entities

In Entities::alloc we are trying to convert the total number of entities to u32, so the maximum number of entities is u32::MAX. In Entities::alloc_many we are directly comparing number to u32::MAX.  But in Entities::reserve_entities,  Entities::alloc_at,  Entities::reserve and many other places in code iszie is used, so on a 32-bit system these functions expect the maximum number to be i32::MAX , which is half of u32::MAX. Entities::free_cursor is also AtomicIsize.
Is my observation correct? Is this intentional behaviour? Should iszie be replaced by i64?

Unfortunately AtomicI64 sacrifices portability; see https://github.com/Ralith/hecs/issues/204. It's possible that different interfaces will behave differently when dealing with numbers of entities above i32::MAX. I'd be happy to accept PRs to mitigate this or otherwise improve consistency, but I'm not convinced that supporting more than 2 billion entities is important.

Ok. Then the maximum number of entities should be limited by i32::MAX.


Update Nautobot for dev environment

Did poetry.lock get out of sync with pyproject.toml in some recent PR?

it looks like it has not been updated for a while, and I just focused on updating nautobot to get the latest one ("*" in pyproject.toml)


fix(ui): fix h1 text alignment

Closes: #184
The root cause of this issue is that the default style of h1 contains text-align: center;. This PR overwrites this behavior

Checkout out to main

Checkout to this PR


Fix missing annotation parent in using the one from the Fields entry

Fixes #15096.

/botio test

/botio makeref


AspnetCore handler doesn't match the 2.0 spec

The code that determines the HTTP status code seems to only follow the 1.2 spec:

3.6.2   Errors

HTTP Status
code
message

500
-32700
Parse error.

400
-32600
Invalid Request.

404
-32601
Method not found.

500
-32602
Invalid params.

500
-32603
Internal error.

500
-32099..-32000
Server error.

https://github.com/CXuesong/JsonRpc.Standard/blob/2e8cf27fb6b249e6b1f40b8378fc3b26aba44fd6/JsonRpc.AspNetCore/AspNetCoreRpcServerHandler.cs#L97-L111
2.0 spec states that

The status code SHOULD be:

200 OK
for responses (both for Response and Error objects)
204 No Response / 202 Accepted
for empty responses, i.e. as response to a Notification
307 Temporary Redirect / 308 Permanent Redirect
for HTTP-redirections (note that the request may not be automatically retransmitted)
405 Method Not Allowed
if HTTP GET is not supported: for all HTTP GET requests
if HTTP GET is supported: if the client tries to call a non-safe/non-indempotent method via HTTP GET
415 Unsupported Media Type
if the Content-Type is not application/json
others
for HTTP-errors or HTTP-features outside of the scope of JSON-RPC

And then gives particular examples where both responses containing "result" and "error" return with HTTP status of 200.
Content-Type header value is not up to the spec either, being set to application/json-rpc (per 1.2 spec) and not application/json. This one could be worked around by adjusting the AspNetCoreRpcServerHandler.ResponseContentType property.

I think adding a flag in AspNetCoreRpcServerHandler to switch the behavior should solve the problem.

Sounds good to me, as this would also preserve current behavior for users that don't care that much.

After thinking this over, I've decided to go with virtual method instead of using flags, so any user can do whatever customizations on the status code 😂

Released fix in v0.5.4.

Thanks for a swift fix!


Can the importer import new notes while keeping old notes untouched?

I intend to use this JSON/CSV Importer to import the JSON file in the "Better CSL JSON" format that is exported from a Zotero library with the "Better BibTex" plugin. My Zotero library will expend gradually. This means the JSON file will contain both old and new references. I have experimented this JSON/CSV Importer and found it will overwrite the old note with the same name. Is there a way to use this Importer to import only the new contents in a growing JSON file with new reference feeds? Or, is there a way to bypass the over-writing of the existing notes? Thanks for considering this request or enhancement!

There was a thought this morning about whether the module should have an option to NOT overwrite already existing notes.
If this was implemented, it would completely ignore elements in the JSON/CSV file which have already been imported, regardless of any changes that might have occurred in those particular entries. (Tracking changes to existing entries would be far more complicated.)

An option to disable overwriting existing notes has been added to 0.21.0


Archery game

Project title
Archery game
Project Description
The archery game is a simple game where the player shoots arrows at a moving target. The target moves horizontally across the screen, and the player's goal is to hit the target as many times as possible .
Doc Domain

[X] Solidity , Html, Css , JavaScript , Web3.js / Ether.js
[] Solidity , ReactJs /NextJs , Web3.js /Ether.js
[] Solidity , Python3 , Web3.py
[] Other , feel free to mention below

Are you contributing under any open-source program ?
Yes , under [SSOC 2.0]

@Vyshnavi21504 assigned to you. Start working on it and do follow the guidelines of creating a pull request.

I have completed the issue. pls check it and merge it @shubhisingh184


[Alarms & Timers] Fix repeat when user unchecks ALL the days

New PR because #1853 was merged too early 😄

Thanks! :)


Java 9 and shading cglib

Summary
The JUnit 5 team is test-driving on Java 9 the coming days (and weeks).
Our current build fails because of a "NoClassDefFoundError" pointing to the shaded cglib in AssertJ 3.6.2.
We had a similar problem with the Gradle Shadow Plugin using an out-dated ASM version to move/shade entities. It was related to https://bugs.openjdk.java.net/browse/JDK-8174868
Log
  JUnit Jupiter:ExceptionHandlingTests:checkedExceptionInTestMethodIsRegistered()
    MethodSource [className = 'org.junit.jupiter.engine.ExceptionHandlingTests', methodName = 'checkedExceptionInTestMethodIsRegistered', methodParameterTypes = '']
    => java.lang.NoClassDefFoundError: Could not initialize class org.assertj.core.internal.cglib.proxy.Enhancer

https://travis-ci.org/junit-team/junit5/builds/219055181#L952
Solution?
Update Shade plugin you use to shade cglib and asm?
I'll try to generate a better stacktrace to pin-point the underlying error causing initialization of class org.assertj.core.internal.cglib.proxy.Enhancer to fail.

@sormuras thanks for reporting this, @PascalSchumacher has spiked using Java 9 in AssertJ, he might have more feedback than me on the subject.

@PascalSchumacher  can  you help @sormuras ?

BTW, we are planning to release the next version of AssertJ 3.7.0 at the end of the month.

Used jitpack.io to build your core "master-SNAPSHOT" artifact. Let's see what happens: https://travis-ci.org/junit-team/junit5/builds/219085282
3.7.0 soon sounds great!

I think it has the same cause (https://github.com/cglib/cglib/issues/94) as https://github.com/joel-costigliola/assertj-core/issues/927 which was fixed by updating to cglib 3.2.5.

I guess we can close this one then, @sormuras ?

Sure. Looking forward to switch the dependency to AssertJ 3.7.0, soon.


Repeatedly updating explicit Width property causes frame drops

Describe the bug
I have a situation where there's an element which contains a fairly complex layout, and the width of this component is user-adjustable. When the user grabs the resize handle and begins dragging, events are generated which update the Width property on the element.
Even when throttling the frequency of the Width updates to ~30/sec, it's possible to get into a state where it seems the layout 'falls behind' and stops rendering new frames at all for this component until it is given a chance to catch up (i.e., user stops moving the mouse generating width updates).
I attempted to wait to set the Width property again until a SizeChanged update comes in with the proper width, but it seems like this is still to soon. If the user grabs the handle and drags it around quickly, it's not difficult to fall into the state where the width stops changing. Even though SizeChanged events continue to come in (quite quickly!) the changed size doesn't actually end up rendering to the screen.
Is there a strategy I'm missing here, or something I might be doing obviously wrong?
Steps to reproduce the bug

Create complex layout with user-adjustable width (e.g. ItemsRepeater with many elements)
Adjust Width property rapidly and repeatedly
Observe that updated width on-screen stops changing

Expected behavior
No response
Screenshots
No response
NuGet package version
None
Windows version
No response
Additional context
No response

Can you share a video of what you're seeing? If layout is complex and takes a long time, then running layout at a high frame rate will be problematic. It might be necessary to do a visual-only update to represent how the layout sizes will change and limit the layout update until the end or at a much lower frequency, for example. Layout is not intended to run at 30 fps in general.

@codendone Yeah I'll see if I can reduce this and post a video. I don't necessarily expect layout to run at 30fps (it's gonna take as long as it takes), but the behavior I'm observing is that if I'm issuing size updates at ~30 fps then I can get into a state where frames stop getting drawn to screen entirely, for multiple seconds, until I stop issuing the size updates. So what I'm looking for is either:

Changes to the layout system that would ensure intermediate layouts are getting drawn to screen even if the size gets updated and triggers another layout pass quickly, or
A reliable signal for 'the layout pass completed and has drawn a frame to screen' so that I can implement the necessary throttling myself rather than relying on timing-based heuristics. It appears that SizeChanged fires too early to be usable for these purposes; that is, even if I ensure that I only issue size updates as quickly as SizeChanged events are coming in, it's still possible for the layout system to 'fall behind' and stop drawing to screen.

The CompositionTarget.Rendered event fires after a layout+render pass has completed. That might help your scenario.
I don't know why rendering would stop for a while. That suggests that a bunch of input events or something starved rendering. Input should coalesce if there are too many, unless that isn't working for some reason.

Thanks, I'll see if coordinating with the Rendered event achieves the results I want. It's definitely plausible that the input events and rapid size updates are starving rendering somehow, but the input events come in at a rate outside of my control, so my goal is to throttle the size updates to "exactly as fast as the layout/render pass occurs" so that I'm not clogging things up or overly pessimizing things.

Closing based on previous comments.