Strange case of "Maximum reruns exceeded for ExecEngine"

This issue was first seen in Ampersand-v4.6.2. I have reproduced the symptoms in RAP for ease of reproduction. This RAP compiles with Ampersand-v4.3.0, so the behaviour is present in that version too.
What happened?
When making a prototype of a script, I installed the application with the following result:

This is the script:
CONTEXT IssueProtFramework95

   RELATION personalia[Notification*Person]
    = [( "1" , "person1" ), ( "3" , "person3" )]
   RELATION email[Notification*EmailAdress]
    = [( "1"<EMAIL_ADDRESS>), ( "3"<EMAIL_ADDRESS>)]

   RELATION email[Person*EmailAdress] [INJ]

   ROLE ExecEngine MAINTAINS MakePersonEmail
   RULE MakePersonEmail: personalia~;I[Notification];email |- email
   VIOLATION ( TXT "{EX} InsPair;email;Person;",SRC I, TXT ";EmailAdress;", TGT I )

ENDCONTEXT

What I expected
I expected to get an error message about email[Person*EmailAdress], since that relation is injective and the ExecEngine tries to attach two persons to the same EmailAdress (given this particular population).
If I remove the [INJ] directive from the source code and declare injectivity as a rule of its own (RULE InjEmail : email;email~ |- I[Person]), I get the expected behaviour:

Issue AmpersandTarski/Ampersand#1283 may be the same issue as this one, except I articulated that issue much more superficially.

Hi @stefjoosten, I understand you confusion here. But keep in mind, within a single transaction, rules need to be able to be violated. Because, how else could we do updates to say relations that are defined UNI,TOT.
The exec-engine runs just before checking invariant rules. So this is within the boundaries within a transaction.
I think we can make it work like you state in your diagnosis; checking the existing value first. I do see 2 issues here:

Adds additional query (thus database interaction) for every write. Time penalty might be an issue.
Changes the current behavior in a back-wards incompatible way. To be honest, I cannot oversee the implications for current scripts and prototypes in the wild. Many exec-engine rules just do an Inspair, expecting them to succeed even if there is already a value present; just overwrite.

Like yourself, I also expect that existing scripts might not work anymore. @sjcjoosten is also afraid this might happen. Nevertheless, this may not be a reason to let a mistake persist in the code. It is a bug, so we should fix it and face whatever consequence this might have...

So far I'm not convinced it's a bug. Call it a feature.
Ampersand defines the rules that govern the transaction. As I explained that is guaranteed.
The question is what we consider allowed within the boundaries of a transaction. I consider all rules the same; whether they are multiplicity constraints or any other other rule. Only when trying to commit a transaction we look if the new state complies with the rules. I don't see why you shouldn't be able to violate a multiplicity constraint within a transaction.
But there is a trade-off; as we know, for performance reasons, it is way better to put all UNI and INJ relations in a concept table. So we technically don't have the option to violate UNI or INJ constraints in the prototypes.
The problem you describe is the combination of a) design choice to let a Inspair on UNI or INJ relation overwrite a existing value with b) a user specific exec-engine rule that doesn't take into account this behavior. Why change (a) if we can fix/signal better situation (b).

As an old-school &-programmer, I object to the statement "There is a fundamental problem with translating an insert as an update, namely that the Ampersand-programmer didn't ask for a delete, but a delete still occurs."
My first objection is that it is illogical. Not asking for a delete that nevertheless occurs is in my opinion insufficient evidence for having "a fundamental problem with translating an insert as an update." And what to think of the fact that programmers also do not ask for a create, but nevertheless, the (php)code of InsPair has the statements $src = new Atom($a, $srcConcept); (line 61 of file execEngineFunctions.php) and $tgt = new Atom($b, $tgtConcept); (line 63), and they are often executed. And what about this idiotic _NEW atom, that wasn't part of the population when the rule was evaluated? Or the _AND keywords that are allowed, enabling a single instruction to do multiple creates, inserts and deletes? If I were to follow this way of reasoning, this is not only spooky but it seems that the suggested conclusion hardly scratches the surface.
But I don't follow this way of reasoning. I like to build on what we've done up till now. So leg me jog our memories
Long, long ago, in the beginning of this century, @sjcjoosten brilliantly proposed to distinguish between invariants and process rules by adding the ROLE syntax, and we were very excited. As we experimented, we soon got the idea that VIOLATIONS were not to be used as error messages, but as instructions to the actor that played the role. The actor would see what was wrong and how to fix it. I recall a nice demo of this (of the VOG) at Justid.
This idea was expanded to electronic actors. VIOLATION statements became real automatable working instructions for an electronic actor, called the ExecEngine. We coded a set of basic functions to form the language for such working instructions, and extended that as needed. How cool! The ExecEngine could send emails and SMS messages, do  complex computations such as Warshall, collect postcodes from a remote API, etc.
From this perspective, I can raise my second objection, which is that I find it silly (rather than spooky) to assume there is a 1-1 correspondence between a database instruction (or a relational algebra operator for that matter) and existing ExecEngine functions. It's simply not what the ExecEngine is all about.
The solution is straightforward: we could add a set of ExecEngine functions that behave as the theory likes them to be. It seems like the practical thing to do. As a side-effect, it provides a means to illustrate the difference between theory and practice, not only in theory, but in practice as well.

@RieksJ Point taken as to your first suggestion. As to your second, I did not mean to suggest that there should be a 1-1 correspondence between exec-engine instructions and database instructions, it just so happens to turn out that way for the proposed semantics of insert and update.
As to your solution, we seem to be on the same page, right? That is: use different ExecEngine statements to distinguish different behaviors, so that the implemented behavior which the &-programmer gets is less likely to be a surprise. In the case that would solve this issue: separate Insert and Update.

May I try to refocus the discussion?
The current discussion addresses the behavior of the prototype when it works correctly. However, this issue is about the behavior when the prototype produces error messages. The undesirable case is an infinite loop. That is what Ampersand shows today. The desirable case is a message as though UNI was syntactical sugar for RULE InjEmail : email;email~ |- I[Person]. Although this might seem a small issue from an Ampersand-builder/maintainer perspective, an infinite loop is very hard to diagnose for the Ampersand programmer. That is why it took me about 13 working hours and huge frustration to diagnose the bug.
The language specification says that UNI is syntactical sugar for the rule InjEmail, while practice shows otherwise. This behavior would not have occurred if the prototype would run on a triple store. So, the underlying implementation shows its face between the cracks of the system. For this reason alone, the error message should match that of the rule InjEmail where RELATION email is not declared [UNI].
What can we do to improve the error message? (By the way, I'm comfortable with the implicit deletion as is. That is beyond the scope of this issue.)

When an infinite loop ends (yes!), the tool simply dumps some stuff on the screen that works for me, but not for others. Perhaps it is just a matter of polishing it up a bit, saying something like:
After [n] runs, the ExecEngine could still not resolve all violations.
Here is a list of rules that still have violations:
- [rulename1]: (src, tgt), (src, tgt), ...
- [rulename2]: (src, tgt), (src, tgt), ...

I would say that students should be taught how to deal with infinite loops as they will sooner or later run into them (if they keep using &, that is). And by 'dealing with', I mean interpreting the list of violations and wrecking your brain, focusing on how to rewrite your rules so that it no longer occurs (as opposed to rewriting parts of the tool).

I'm a bit lost here, but I'll read the discussion and suggestions above and try to propose a fix for the issue of needing to spent to much time to debug. That shouldn't be the case; not for us as developers nor for students.

I like the suggestion by @RieksJ

The solution is straightforward: we could add a set of ExecEngine functions that behave as the theory likes them to be. It seems like the practical thing to do. As a side-effect, it provides a means to illustrate the difference between theory and practice, not only in theory, but in practice as well.

Backed by @sjcjoosten:

As to your solution, we seem to be on the same page, right? That is: use different ExecEngine statements to distinguish different behaviors, so that the implemented behavior which the &-programmer gets is less likely to be a surprise. In the case that would solve this issue: separate Insert and Update.

But then @stefjoosten mentions that this issue is not about the implicit deletion

What can we do to improve the error message? (By the way, I'm comfortable with the implicit deletion as is. That is beyond the scope of this issue.)

So what can we do about the error message?
@stefjoosten, would the error message that @RieksJ suggested have helped you to diagnose the problem more quickly?
After [n] runs, the ExecEngine could still not resolve all violations.
Here is a list of rules that still have violations:
- [rulename1]: (src, tgt), (src, tgt), ...
- [rulename2]: (src, tgt), (src, tgt), ...
Violation that were fixed in the last run:
- [rulename1]: (src, tgt), (src, tgt), ....


Addressed doc issues

Description
(Brief description on what this PR is about)
This PR fixes Sphinx doc errors for python doc file generation. This addresses issues

Fixes https://github.com/apache/incubator-mxnet/issues/12938
Fixes https://github.com/apache/incubator-mxnet/issues/13030
Fixes https://github.com/apache/incubator-mxnet/issues/13020
Fixes https://github.com/apache/incubator-mxnet/issues/13002

Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

@mxnet-label-bot [pr-awaiting-response]

@mxnet-label-bot [pr-awaiting-merge]

Restarting CI due to flaky test.

@vdantu - Can you please resolve conflicts and we are ready to go here.

@mxnet-label-bot add [pr-awaiting-merge]

@vdantu This PR fixes https://github.com/apache/incubator-mxnet/issues/12937 too (duplicate of https://github.com/apache/incubator-mxnet/issues/13020)

Restarting CI due to flaky test.


[Suggestion/Enhancement] Simpler way to set current route without alter history?

There are scenarios when i need to update current route without change the URL, like this:
this.$router.history.updateRoute(this.$router.match('/some/path'))

Sort of hairy. A better way would be:
this.$router.updateRoute({path: '/some/path'})
this.$router.updateRoute({name: 'SomeName'})

I could submit a PR if that's something useful for anyone else.

Hi @sleewoo,
thanks fopr your suggestion.
So I hope I understand your proposal: Correctly:  You want an API method that allows you to change the current route, but not change the URL?
So when someone goes to /some/path, it will render componentA, then you will change the route, the URL will still be somePath, but now the $route object contains different content?
What is the usecase for this? I don't see one, can you provide an example.
To be honest, I guess this will not happen. The whole philisophy of vue-router is that the URL is the only source of truth, it determines which routes are matched.
If you want to sidestep that, feel free to do so, but I'm pretty sure we won't encourage that by supporting it as a feature.

Hi @LinusBorg
thanks for quick reply.
Let's suppose such a scenario:
4 components:
Index
Pages
Profile
Signup
While each component is served from own url, they should also be rendered from root path, e.g. from Index component.
If no params given, Index should render Signup.
If a single params given and it's not a page, render Profile.
Else render Pages.
Index is a render function that can render each component but there is a issue - components depends on $router.currentRoute to function properly and when rendering from Index the current route is obviously Index.
Suggestions?

thinking about passing a custom router instance to rendered components:
h(Pages, {router: a_router_instance_tailored_for_pages})

please advise how to cleanly build a custom router for each component.
it's a far better way than to update root router.
thank you.

Wow, this sounds complicated for something that shouldn't be.

Why do you want to render all these components under "index"? Why not use redirect() or replace()?

If you do really want to do that, Make the components themselves independent of the router (so you can ender them from Index), and create small wrapper components for each to be used in their respectiove routes (these can depend on the router and simply pass down the router params as props).

I think you are basically trying to work against how the router is designed.
If you want the UI to change without changing the URL, then that change should be driven by your component private state, not the router history. So you can have a index component which renders some children based on its own data.

@LinusBorg, yeah, looks awkward but it's a business requirement coming from a priority customer.
Makes sense @yyx990803
Thank you
Updating components to not depend on router is the sanest solution here.
Wondering why i hesitated doing so from the very beginning :)


fix bug of deleting/collecting VMData from same ResourceGroup,

collect resources that have the same name prefix with their resource group name from Delete-ResourceGroup

05/04/2020 21:43:01 : [INFO ] ==> Run test cleanup script if defined.
05/04/2020 21:43:01 : [INFO ] Start to do cleanup for case NET-SET-STATIC-MAC
05/04/2020 21:43:01 : [INFO ] End of testing: NET-SET-STATIC-MAC , result: PASS
05/04/2020 21:43:01 : [INFO ] PASS    - 3
05/04/2020 21:43:01 : [INFO ] SKIPPED - 0
05/04/2020 21:43:01 : [INFO ] FAIL    - 0
05/04/2020 21:43:01 : [INFO ] ABORTED - 0
05/04/2020 21:43:01 : [INFO ] PENDING - 0
05/04/2020 21:43:01 : [WARN ] ResourceCleanup = 'Keep' is respected, you may need to delete the testing resources * MANUALLY * sometime later.
05/04/2020 21:43:01 : [INFO ] Cleanup test environment if required ...
05/04/2020 21:43:02 : [INFO ] Test MW94 finished
05/04/2020 21:43:02 : [INFO ]
[LISAv2 Test Results Summary]
Test Run On           : 05/04/2020 21:29:40
ARM Image Under Test  : Canonical : UbuntuServer : 18.04-LTS : Latest
Initial Kernel Version: 5.3.0-1020-azure
Final Kernel Version  : 5.3.0-1020-azure
Total Test Cases      : 3 (3 Passed, 0 Failed, 0 Aborted, 0 Skipped)
Total Time (dd:hh:mm) : 0:0:13
ID TestArea             TestCaseName                                                                TestResult TestDuration(in minutes)
1 NETWORK              NET-IFUP-IFDOWN                                                                   PASS                 4.42
2 CORE                 VERIFY-DEPLOYMENT-PROVISION                                                       PASS                 2.36
    FirstBoot : PASS
    FirstBoot : Call Trace Verification : PASS
    Reboot : PASS
    Reboot : Call Trace Verification : PASS
3 NETWORK              NET-SET-STATIC-MAC                                                                PASS                 1.15

Logs can be found at C:\LISAv2\TestResults\2020-04-05-14-29-33-9848


Hide the support DLLs in the solution.

There is no point in having Solution Explorer show these DLLs because they are not editable.   Hide them.

Codecov Report

Merging #364 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #364      +/-   ##
==========================================
+ Coverage   16.01%   16.01%   +<.01%
==========================================
  Files         210      210
  Lines      122742   122742
  Branches    11796    11796
==========================================
+ Hits        19652    19654       +2
+ Misses     102247   102246       -1
+ Partials      843      842       -1

Flag
Coverage Δ

#2017
16.01% <ø> (ø)
:arrow_up:

#Debug
16.01% <ø> (ø)
:arrow_up:

Impacted Files
Coverage Δ

src/PerfView/StackViewer/StackWindow.xaml.cs
23.4% <0%> (+0.07%)
:arrow_up:

Continue to review full report at Codecov.

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


Add dev containers functionality to finch

Issue #, if available:
Description of changes:
Testing done:

[ ] 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.

The commit ahead of this PR is significantly different and requires conflict resolution.
Also, I have identified the logical fallacy that is failing the unit-tests.
I have started a revision/refactor that will reconcile the issues and should surpass this PR.

rebased the branch, branch says mergable so you should be able to test it directly


Metric API Metrics_List top parameter is modeled as number

https://github.com/Azure/azure-rest-api-specs/blob/current/specification/monitor/resource-manager/microsoft.insights/preview/2017-05-01-preview/metrics_API.json#L372
number means double in C# and Java. I hardly can imagine how useful top 1.5 records will sound. This property should be "integer".

Thanks for reporting this.  Top should be an integer.  We are looking at a fix.

Fixed in #6485


8.0.6

What issues does your PR fix?

fixes #113

What does your PR do?

Adds in Values.logs.persistence.existingClaim for reusing an existing volume for logs
Adds in configurable annotations for job related pods. This is in relation to scenarios where istio sidecar injection is enabled by default. This is problematic as explained here: https://medium.com/redbox-techblog/handling-istio-sidecars-in-kubernetes-jobs-c392661c4af7

Checklist

[X] Commits are signed
[X] Commits are squashed (if appropriate)
[X] Chart version bumped
[] Chart documentation updated
[X] Passes linting

@tinhkyaw can you rebase and remove the volume stuff as we already merged https://github.com/airflow-helm/charts/pull/128 to fix the volumes

@tinhkyaw actually, after thinking about it, we should probably just include any airflow.podAnnotations in the job pods.

@thesuperzapper - Thanks for your response. I will rebase it to include #128 to fix volumes. However the re-using airflow.podAnnotations would not necessarily resolve the scenario where we just want the airflow web pods to inject istio sidecar and not have the jobs inject the istio sidecar.  We would require the job pods to have their own set of podannotations under this scenario.

Closed in favour of #140


Create tsp.txt

https://www.tsp.edu.rs/
https://www.instagram.com/ts_pirot/
https://www.youtube.com/@tehnickaskolapirot5676
https://www.facebook.com/pages/Tehnicka-skola-Pirot/114908955188860
4 year long IT course
https://www.tsp.edu.rs/elektrotehnicar-informacionih-tehnologija/
https://imgur.com/a/Y2JPCHD

@NemanjaMitov First stage of verification passed, official domain is tsp.edu.rs as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@NemanjaMitov Thank you for your patience while waiting for a review and processing your request. Pull request merged.


add README for n98-magerun

This adds the README file for n98-magerun plugin as part of #7175.

Thanks!


ACA unit test ovs_l2_test_cases.1_port_CREATE_DELETE failure

The unit test binary in ACA, built and located at:
./build/tests/aca_tests
fails the run.
The test "1_port_CREATE_DELETE failure" is defined at test/gtest/aca_test_ovs_l2.cpp

the fix is to change the below function in aca_vlan_manager.cpp to the below, I have confirmed the test case failed before the change, and then passed after the change:
int ACA_Vlan_Manager::delete_ovs_port(string /vpc_id/, string ovs_port,
uint tunnel_id, ulong &culminative_time)
{
ACA_LOG_DEBUG("%s", "ACA_Vlan_Manager::delete_ovs_port ---> Entering\n");
vpc_table_entry *current_vpc_table_entry;
int overall_rc = EXIT_SUCCESS;
if (!_vpcs_table.find(tunnel_id, current_vpc_table_entry)) {
ACA_LOG_ERROR("tunnel_id %u not found in vpc_table\n", tunnel_id);
overall_rc = ENOENT;
} else {
current_vpc_table_entry->ovs_ports.erase(ovs_port);
// clean up the vpc_table entry if there is no port assoicated
if (current_vpc_table_entry->ovs_ports.empty()) {
  _vpcs_table.erase(tunnel_id);

  // also delete the rule assoicated with the VPC:
  // table 4 = incoming vxlan, allow incoming vxlan traffic matching tunnel_id
  // to stamp with internal vlan and deliver to br-int
  string cmd_string = "del-flows br-tun \"table=4, priority=1,tun_id=" +
                      to_string(tunnel_id) + "\" --strict";

  ACA_OVS_L2_Programmer::get_instance().execute_openflow_command(
          cmd_string, culminative_time, overall_rc);
}

}
ACA_LOG_DEBUG("ACA_Vlan_Manager::delete_ovs_port <--- Exiting, overall_rc = %d\n", overall_rc);
return overall_rc;
}


subreddit.traffic() does not work

Describe the bug
calling traffic() on a subreddit shows this error:
'Redirect to /r//login/'
Have no problems with any other method. I'm an moderator on that subreddit.
To Reproduce
Steps to reproduce the behavior:

Initialize reddit praw.
Call:
stats = reddit.subreddit("windowsmr").traffic()

Expected behavior
The stats for that subreddit.
Code/Logs
reddit = praw.Reddit(client_id='',
client_secret='',
user_agent='')
this works!
print(reddit.subreddit('windowsmr').subscribers)
DOESN'T WORK!
stats = reddit.subreddit("windowsmr").traffic()
Error:
'Redirect to /r/windowsmr/login/
System Info

OS: Windows 10 Pro
Python: 3.0
PRAW Version: Not sure, running in databricks, I just used "pip install praw", doesn't list the version, assuming is the latest one.

Hey, by any chance, have you logged in with a username/password?

I tried replicating without a username/password (read-only)
Python 3.7.7 (default, Mar 10 2020, 15:43:03)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.13.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: from praw import Reddit
In [2]: reddit = Reddit(client_id = '', client_secret = '', user_agent = "Testing")
In [3]: reddit.subreddit("AskReddit").subscribers
Out[3]: 27589961
In [4]: reddit.subreddit("AskReddit").traffic()
Redirect                                  Traceback (most recent call last)
 in
----> 1 reddit.subreddit("AskReddit").traffic()
~/PycharmProjects/praw/praw/models/reddit/subreddit.py in traffic(self)
1119         """
1120         return self._reddit.get(
-> 1121             API_PATH["about_traffic"].format(subreddit=self)
1122         )
1123
~/PycharmProjects/praw/praw/reddit.py in get(self, path, params)
488
489         """
--> 490         return self._objectify_request(method="GET", params=params, path=path)
491
492     def info(
~/PycharmProjects/praw/praw/reddit.py in _objectify_request(self, data, files, method, params, path)
572         return self._objector.objectify(
573             self.request(
--> 574                 data=data, files=files, method=method, params=params, path=path
575             )
576         )
~/PycharmProjects/praw/praw/reddit.py in request(self, method, path, params, data, files)
730                 files=files,
731                 params=params,
--> 732                 timeout=self.config.timeout,
733             )
734         except BadRequest as exception:
~/.virtualenvs/praw/venv/lib/python3.7/site-packages/prawcore/sessions.py in request(self, method, path, data, files, json, params, timeout)
334             params=params,
335             timeout=timeout,
--> 336             url=url,
337         )
338
~/.virtualenvs/praw/venv/lib/python3.7/site-packages/prawcore/sessions.py in _request_with_retries(self, data, files, json, method, params, timeout, url, retry_strategy_state)
263             )
264         elif response.status_code in self.STATUS_EXCEPTIONS:
--> 265             raise self.STATUS_EXCEPTIONSresponse.status_code
266         elif response.status_code == codes["no_content"]:
267             return
Redirect: Redirect to /r/AskReddit/login/ (You may be trying to perform a non-read-only action via a read-only instance.)

Hey, by any chance, have you logged in with a username/password?

Hi, no, I was just using the secret, I'm now using the other method where the username and password are required, and it works now, is returning data! Thanks!

You're welcome.


T58 Don't show the right values

I import 1014 and get 722, maybe this line is the problem:
https://github.com/souliss/soulissapp/blob/master/SoulissApp/src/main/java/it/angelic/soulissclient/model/typicals/SoulissTypical58PressureSensor.java#L61
I import with T51 and works well.
Regards

Also here https://github.com/souliss/souliss/issues/115

If T58 uses half-float that is not the only problem.
Can someone confirm the OUT of this typical is in HF format? Or is it a single slot value?

All T5n and T6n are half-precision floating point. More, on Souliss side it just exist a generic T5n so all T51, T52, ... T58 are exactly the same piece of codes on the board side our of the value passed while requesting the typical list.

ok, should be fixed


docs: add more YAML configuration samples

Hi, when exploring the documentation site, there have a few primary YAML samples. How about picking up more cases from test cases to the site? e.g., https://github.com/apache/apisix-ingress-controller/blob/master/test/e2e/suite-plugins/suite-plugins-security/cors.go#L72-L97
Related Links

https://the-asf.slack.com/archives/CUC5MN17A/p1657715518217149
https://apisix.apache.org/docs/ingress-controller/concepts/apisix_route/#plugins

Agree! We mentioned it in #1071.

We can use #1071 for tracking.
I will close this one.
If you have any other documentation suggestions please add them in #1071
Thanks


Unable to press f to fullscreen

Describe your bug here.
I'm unable to press f to fullscreen on the title screen
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
No

alt + enter should do the trick.

Fullscreen was partially removed, not a bug


Add support of modern versions of VLC

Is it possible to run this on current releases of VLC? I assume there is some major change preventing this.

Also need support for VLC3.x, hoping to see update soon !

I'd strongly encourage you guys to move to VLC 3.x, VLC 2.x has known security issues FYI.

We're halfway through 2024 and since this issue is still open, I'm commenting here so it might get some renewed attention.
H265 has become widely used by now (e.g. even the cheapest camera modules come with it by default). Not to mention security fixes and overal decoding optimisations/improvements.

I would hope we could get support for vlc 3.x and h.265 streams as well. This program seems perfect for my needs.


[Audio] Add AveragePooling1D layer

We are missing some layers to support the export of models from Keras fully. One of them is the AveragePooling1D layer.
Add a layer class, write documentation for it, write a test for it, try, if possible, create a small trainable network with it (in your own GitHub) and attach a link here in the comments.
The layer should be placed here
As a reference implementation, the AvgPool2D layer could be used, but feel free to improve it!
If some refactoring to pooling layers could be applied, please, try to do it!
Also, support for export and import of layer in JSON format should be added (see ModelLoader.kt  and ModelSaver.kt)
A detailed description of the layer can be found here
P.S. There are no-ops for tf.nn.avgPool1d in Java API, so you could try to implement it from scratch via available ops or use tf.nn.avgPool like in TensorFlowJS with reshape in tfjs-core/src/ops/avg_pool.ts

Since this is very similar to MaxPool1D layer, I'll take it and work on it.


feat: add maps from nifti and label information

This is meant to be a preparation for querying features with volumes. The previous iteration (https://github.com/FZJ-INM1-BDA/siibra-python/pull/442) required computation of the relations to the defined maps. With the ability to query with volumes, this computation is unnecessary.
In addition, this PR allows creating a map from multiple volumes and supplying parcellation specifications.
TODO:

[ ] a method for adding custom parcellations.
[ ] a method for adding custom space.
[ ] a method to extracting these custom atlas concepts as json reconfiguration

This will be a part of https://github.com/FZJ-INM1-BDA/siibra-python/pull/480. Decided to merge to relevant branch.


Release v206

https://github.com/heroku/heroku-buildpack-python/compare/v205...ca33288671c42b09a0d5fcf8dfcf0c31e9b1067e
GUS-W-10439012.

Published:
$ make publish
Deploy as version: v206 [y/n]? y

Tagging commit 3a2837c32610fef387538733eefb7b92f93cc77d with v206...
Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
To https://github.com/heroku/heroku-buildpack-python
 * [new tag]         v206 -> v206

Publishing to the buildpack registry...
Two-factor code: ********************************************
Publishing buildpack heroku/python... done
Publishing buildpack was successful

Version  Released At               Status
───────  ────────────────────────  ─────────
206      2022-01-15T00:00:16.610Z  published

https://devcenter.heroku.com/articles/python-support#supported-runtimes
https://devcenter.heroku.com/articles/python-runtimes#selecting-a-runtime
https://devcenter.heroku.com/changelog-items/2346


DUPLO-13194 Support for prepended user data on EKS hosts

Change description

Adds a prepend_user_data attribute to the duplocloud_aws_host and duplocloud_asg_profile resources.
This utilizes the IsCombinedUserData boolean property in the backend APIs of the same meaning.
The data source types for these resources also have the new attribute added to them.
Avoids triggering an unnecessary "force replacement" on hosts and ASGs that prepend Duplo's user data since the actual user data on the instance will always differ from the provided custom user data. This is the same behavior of base64_user_data prior to adding this new attribute.
"Force replacement" still occurs when the custom user data in the base64_user_data attribute is modified in the TF.
The default for prepend_user_data is true only when the agent_platform equals 7 which indicates EKS and defaults to false in all other cases. This mirrors the UI behavior.
Added the customdiff helper used in the implementation which was missing by running go mod vendor.

There is a backend issue I discovered which causes the IsCombinedUserData to come back as false even though true was sent and Duplo's user data did get prepended. This triggers a "force replacement" on successive runs of terraform apply calls if prepend_user_data is explicitly to true. Until that is fixed, a workaround is to rely on the default value of true for EKS instead of explicitly declaring it as true in the TF. That has significant drawbacks, particularly once the backend bug is fixed.
Type of change

[ ] Bug fix (fixes an issue)
[x] New feature (adds functionality)

Related issues
Fix DUPLO-13194

Task linked: DUPLO-13194 TF: Add ability to prepend user data to host/ASG


Bauer feat ziti app barrel processor

It's great that the NDK framework is starting to be used outside of CESNET!
I went through the changes only very briefly, but this looks more like a brand new project with its own repository (for example ndk-app-riscv) derived from ndk-app-minimal. After all, this repository is a kind of sample application built on the NDK framework. The idea is that each NDK application will have its own repository (ndk-app-xxx) and they will share common NDK parts (git submodules): ofm, ndk-core, ndk-cards-open,...
@walliv will definitely help you in this regard, or we can discuss the details here. It's true that we still lack a proper tutorial on how to create your own NDK application...


[Icon] pruning the google 1000

AC:
we have consensus around the icon strategy

Closing for an icon replacement story.


[CLI] add new valid search attribute key cases for context header

What changed?
Allow "." and "-" in search attribute keys.

Why?
This is needed for indexing context header in search attributes

How did you test it?

Potential risks

Release notes

Documentation Changes

Pull Request Test Coverage Report for Build 01904b5e-fa94-443e-950d-c1952ed2ee13
Details

0 of 0   changed or added relevant lines in 0 files are covered.
33 unchanged lines in 9 files lost coverage.
Overall coverage increased (+0.007%) to 71.54%

Files with Coverage Reduction
New Missed Lines
%

common/task/weighted_round_robin_task_scheduler.go
2
88.56%

common/task/fifo_task_scheduler.go
2
82.47%

service/matching/tasklist/matcher.go
2
90.91%

service/matching/tasklist/task_reader.go
2
77.72%

service/history/queue/timer_queue_processor_base.go
3
77.87%

common/persistence/statsComputer.go
3
98.21%

service/history/task/fetcher.go
3
86.6%

service/history/task/transfer_standby_task_executor.go
6
86.94%

service/history/queue/transfer_queue_processor.go
10
56.49%

Totals

Change from base Build 01903cd7-c1ac-49f3-a7a4-fe9da6c16ce7:
0.007%

Covered Lines:
106765

Relevant Lines:
149238

💛  - Coveralls


Homebridge 2.0 Warnings

I recently updated my Homebridge to 2.0-beta.  The UPS plugin works, but is constantly throwing the following errors.  The listeners number continues to grow with each warning iteration.
8/12/2024, 11:20:57 PM] [UPS] Homebridge: warning: recommended version: API v1.2
[8/12/2024, 11:20:57 PM] [UPS] Homebridge: QBFMX7004179: CPS LX1500GU3 120V UPS with 24V PbAcid battery from CPS
[8/12/2024, 11:20:57 PM] [UPS] On Battery: Configured Name: warning: 2827 listeners
[8/12/2024, 11:20:57 PM] [UPS] On Battery: Mute: warning: 2827 listeners
[8/12/2024, 11:20:57 PM] [UPS] On Battery: Log Level: warning: 2827 listeners
[8/12/2024, 11:20:57 PM] [UPS] Homebridge: warning: TypeError: params.Service: not a Service
at new ServiceDelegate (file:///var/lib/homebridge/node_modules/homebridge-ups/node_modules/homebridge-lib/lib/ServiceDelegate.js:64:13)
at new Battery (file:///var/lib/homebridge/node_modules/homebridge-ups/node_modules/homebridge-lib/lib/ServiceDelegate/Battery.js:55:5)
at new Battery (file:///var/lib/homebridge/node_modules/homebridge-ups/lib/UpsService.js:138:5)
at new UpsAccessory (file:///var/lib/homebridge/node_modules/homebridge-ups/lib/UpsAccessory.js:92:27)
at UpsHost.init (file:///var/lib/homebridge/node_modules/homebridge-ups/lib/UpsHost.js:74:37)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at UpsPlatform.init (file:///var/lib/homebridge/node_modules/homebridge-ups/lib/UpsPlatform.js:108:7)
The Homebridge plugin JSPN is:
{
"name": "UPS",
"hosts": [
{
"host": "localhost:3493",
"username": "local_mon",
"password": "==================="
}
],
"platform": "UPS",
"_bridge": {
"username": "0E:C4:7A:EA:7C:54",
"port": 53120
}
}
The relevant section of ups.conf is:
[cyberpower]
driver = usbhid-ups
port = auto
vendorid = 0764
pollfreq = 30

HAP-NodeJS v1 has removed BatteryService in favour of Battery.

Could you please try beta v1.2.12-0?

That fixed the vast majority of the warnings.
Where is the name of the accessory held?  I renamed the machine and the network name to eliminate the "-" but these accessories are picking it up from somewhere, even after removing them from the cached accessories list.

That fixed the vast majority of the warnings.

Do you still have any Homebridge UPS related issues?

Where is the name of the accessory held?

In HomeKit.  On initial pairing, the name is copied from the accessory (i.c. the Homebridge plugin), but afterwards it lives a life of its own.  You can change it in any decent HomeKit app.  Same for service names, except that these are now synced with the Configured Name characteristic, which is accessible to the accessory.

I fixed the issue. For some reason remove just the cached UPS did not clear the cached accessory completely.  Once I deleted all cached accessories to reverted to the proper name.
I would consider this closed.

Will issue a proper release after some more Homebridge v2 / HAP-NodeJS v1 testing.


API improvements

Created non_exhaustinve FlashData and FlashSettings structs to reduce number of input arguments in the following functions:

save_elf_as_image
flash_elf_image
load_elf_to_flash
get_flash_image for all targets

Using FlashData avoids duplicating code of parsing the bootloader and partition table file that was present in several places.

Not completely convinced on the FlashData name.

Thanks for taking care of this! I took a quick look and I think it looks pretty good overall, but I have a couple features I'd like to continue developing to see how they affect this.
Will try to get this taken care of sooner than later and update here when able.

Rebased on top of #516! But now Clippy is back at screaming that a function has too many args (8/7) :(

Rebased on top of https://github.com/esp-rs/espflash/pull/525! Clippy is now screaming louder that a function has too many args (9/7)


New methods: refresh / initialize

Hey there,
Normally I would use SwipeJS for mobile sliders. But I think it's time to move on as the SwipeJS repo seems to not be maintained much... That's why I tried dragend JS and I like it so far! Great job you did.
Unfortunately, I need to be able to initialize / refresh dragen manually on window.resize(). Here is what I'm trying to achieve: a Bootstrap 3 grid on desktop that turns into a touch slider on mobile.
So far, here is what I've done: http://jsfiddle.net/SiamKreative/baz8504y/1/ (notice the setTimeout is here so that dragen has time to initialize).
Cheers

great plugin! any solution for this problem? I am also having the height of container set as sum of all elements height. the problem is that on a responsive site I can't set the fixed height.

same problem, lovely plugin but would need the height to be set to the longest element, or total height divided by amount of draggable elements


Site cda.pl didn't work properly - download only video with default quality (360p)

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2021.06.06
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

PASTE VERBOSE LOG HERE

youtube-dl.exe -F -v https://www.cda.pl/video/272214532
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-F', '-v', 'https://www.cda.pl/video/272214532']
[debug] Encodings: locale cp1250, fs mbcs, out cp852, pref cp1250
[debug] youtube-dl version 2021.06.06
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg N-103197-gbff7d662d7-20210810, ffprobe N-103197-gbff7d662d7-20210810
[debug] Proxy map: {}
[CDA] 272214532: Downloading webpage
[info] Available formats for 272214532:
format code  extension  resolution note
0            mp4        unknown
youtube-dl.exe -f best -v https://www.cda.pl/video/272214532
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-f', 'best', '-v', 'https://www.cda.pl/video/272214532']
[debug] Encodings: locale cp1250, fs mbcs, out cp852, pref cp1250
[debug] youtube-dl version 2021.06.06
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg N-103197-gbff7d662d7-20210810, ffprobe N-103197-gbff7d662d7-20210810
[debug] Proxy map: {}
[CDA] 272214532: Downloading webpage
[debug] Invoking downloader on 'https://vwaw660.cda.pl/6E-sTzlV5Y_nktH2dVLdeg/1629676613/lqeee2f2318635f6e646d200e8bb24d196.mp4'
[download] Albert Einstein -  genialny naukowiec-272214532.mp4 has already been downloaded
[download] 100% of 13.45MiB
Description

WRITE DESCRIPTION HERE
youtube-dl didn't let choose quality - always download video with default quality (360p). Test video: https://www.cda.pl/video/272214532 has quality 1080p, but when I'm use -f best parameter, youtube-dl download 360p quality. youtube-d seems didn't recognize other video streams than default (360p).

The site has three quality levels: lq, sd, hd.
Only lq (360p) is linked in the video page. The site issues a JSON RPC POST to get the URLs for 480p and 1080p. Someone who cared would have to work out how to construct the hash parameter in the JSON and then the extractor could do the same.

My fork of yt-dlp has a fix https://github.com/u-spec-png/yt-dlp/tree/cda


openai.error.RateLimitError

I'm getting this error:
? Creating a vector store will cost ~$0.35806. Do you want to continue? Yes
⠹ Creating vector storeRetrying langchain.embeddings.openai.embed_with_retry.._embed_with_retry in 4.0 seconds as it raised RateLimitError: Rate limit reached for default-text-embedding-ada-002 in organization org-xxxx on tokens per min. Limit: 150000 / min. Current: 1 / min. Contact us through our help center at help.openai.com if you continue to have issues..
⠼ Creating vector storeRetrying langchain.embeddings.openai.embed_with_retry.._embed_with_retry in 4.0 seconds as it raised RateLimitError: Rate limit reached for default-text-embedding-ada-002 in organization org-xxxx on tokens per min. Limit: 150000 / min. Current: 1 / min. Contact us through our help center at help.openai.com if you continue to have issues..
⠧ Creating vector storeRetrying langchain.embeddings.openai.embed_with_retry.._embed_with_retry in 4.0 seconds as it raised RateLimitError: Rate limit reached for default-text-embedding-ada-002 in organization org-xxxx on tokens per min. Limit: 150000 / min. Current: 1 / min. Contact us through our help center at help.openai.com if you continue to have issues..
⠧ Creating vector storeRetrying langchain.embeddings.openai.embed_with_retry.._embed_with_retry in 8.0 seconds as it raised RateLimitError: Rate limit reached for default-text-embedding-ada-002 in organization org-xxxx on tokens per min. Limit: 150000 / min. Current: 0 / min. Contact us through our help center at help.openai.com if you continue to have issues..
⠏ Creating vector storeRetrying langchain.embeddings.openai.embed_with_retry.._embed_with_retry in 10.0 seconds as it raised RateLimitError: Rate limit reached for default-text-embedding-ada-002 in organization org-xxxx on tokens per min. Limit: 150000 / min. Current: 1 / min. Contact us through our help center at help.openai.com if you continue to have issues..
⠦ Creating vector storeTraceback (most recent call last):
File "/home/codespace/.python/current/bin/talk-codebase", line 8, in
sys.exit(main())
File "/opt/python/3.10.8/lib/python3.10/site-packages/talk_codebase/cli.py", line 65, in main
raise e
File "/opt/python/3.10.8/lib/python3.10/site-packages/talk_codebase/cli.py", line 58, in main
fire.Fire({
File "/opt/python/3.10.8/lib/python3.10/site-packages/fire/core.py", line 141, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "/opt/python/3.10.8/lib/python3.10/site-packages/fire/core.py", line 475, in _Fire
component, remaining_args = _CallAndUpdateTrace(
File "/opt/python/3.10.8/lib/python3.10/site-packages/fire/core.py", line 691, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "/opt/python/3.10.8/lib/python3.10/site-packages/talk_codebase/cli.py", line 50, in chat
llm = factory_llm(root_dir, config)
File "/opt/python/3.10.8/lib/python3.10/site-packages/talk_codebase/llm.py", line 117, in factory_llm
return OpenAILLM(root_dir, config)
File "/opt/python/3.10.8/lib/python3.10/site-packages/talk_codebase/llm.py", line 25, in init
self.vector_store = self._create_store(root_dir)
File "/opt/python/3.10.8/lib/python3.10/site-packages/talk_codebase/llm.py", line 104, in _create_store
return self._create_vector_store(embeddings, MODEL_TYPES["OPENAI"], root_dir)
File "/opt/python/3.10.8/lib/python3.10/site-packages/talk_codebase/llm.py", line 63, in _create_vector_store
db = FAISS.from_documents(texts, embeddings)
File "/opt/python/3.10.8/lib/python3.10/site-packages/langchain/vectorstores/base.py", line 402, in from_documents
return cls.from_texts(texts, embedding, metadatas=metadatas, **kwargs)
File "/opt/python/3.10.8/lib/python3.10/site-packages/langchain/vectorstores/faiss.py", line 567, in from_texts
embeddings = embedding.embed_documents(texts)
File "/opt/python/3.10.8/lib/python3.10/site-packages/langchain/embeddings/openai.py", line 508, in embed_documents
return self._get_len_safe_embeddings(texts, engine=self.deployment)
File "/opt/python/3.10.8/lib/python3.10/site-packages/langchain/embeddings/openai.py", line 358, in _get_len_safe_embeddings
response = embed_with_retry(
File "/opt/python/3.10.8/lib/python3.10/site-packages/langchain/embeddings/openai.py", line 108, in embed_with_retry
return _embed_with_retry(**kwargs)
File "/home/codespace/.local/lib/python3.10/site-packages/tenacity/init.py", line 289, in wrapped_f
return self(f, *args, **kw)
File "/home/codespace/.local/lib/python3.10/site-packages/tenacity/init.py", line 379, in call
do = self.iter(retry_state=retry_state)
File "/home/codespace/.local/lib/python3.10/site-packages/tenacity/init.py", line 325, in iter
raise retry_exc.reraise()
File "/home/codespace/.local/lib/python3.10/site-packages/tenacity/init.py", line 158, in reraise
raise self.last_attempt.result()
File "/opt/python/3.10.8/lib/python3.10/concurrent/futures/_base.py", line 451, in result
return self.__get_result()
File "/opt/python/3.10.8/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
raise self._exception
File "/home/codespace/.local/lib/python3.10/site-packages/tenacity/init.py", line 382, in call
result = fn(*args, **kwargs)
File "/opt/python/3.10.8/lib/python3.10/site-packages/langchain/embeddings/openai.py", line 105, in _embed_with_retry
response = embeddings.client.create(**kwargs)
File "/opt/python/3.10.8/lib/python3.10/site-packages/openai/api_resources/embedding.py", line 33, in create
response = super().create(*args, **kwargs)
File "/opt/python/3.10.8/lib/python3.10/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 153, in create
response, _, api_key = requestor.request(
File "/opt/python/3.10.8/lib/python3.10/site-packages/openai/api_requestor.py", line 298, in request
resp, got_stream = self._interpret_response(result, stream)
File "/opt/python/3.10.8/lib/python3.10/site-packages/openai/api_requestor.py", line 700, in _interpret_response
self._interpret_response_line(
File "/opt/python/3.10.8/lib/python3.10/site-packages/openai/api_requestor.py", line 763, in _interpret_response_line
raise self.handle_error_response(
openai.error.RateLimitError: Rate limit reached for default-text-embedding-ada-002 in organization org-xxx on tokens per min. Limit: 150000 / min. Current: 1 / min. Contact us through our help center at help.openai.com if you continue to have issues.

https://github.com/rsaryev/talk-codebase/commit/b978a7640276ec35dc1ec897e97c13ef6c4b62c4


fix: correct environment variable reference in doc

The correct environment variable name is OPSLEVEL_API_TOKEN.

Fixes https://github.com/OpsLevel/terraform-provider-opslevel/issues/40


screen shake cannot be closed

after I choose the option to turn off the snake shake, it doesn't works and still keep shaking,even I restart atom or reinstall this packages,how to debug this and fix it？my atom is 1.8.0 ,and the platform is Fedora 24

even I disabled the package ,the shake still exist,so I have to uninstall it,It's incrediable!

sorry,it is not caused by this packages


Next release of the plugin

Hi there,
do you have any ETA for the next release of the plugin? There seems a lot of functionality that users are waiting for nearly a year now inside the develop branch. Would be great to get that released soon.
Basically I need to decide if I cancel my free trial or become a subscriber as at the current state I cannot use the plugin.

thanks for reaching out @sascha-bleech! we started working with a new WP developer this week hoping to make some progress with our plugin. as you say, there are several unreleased features that we will focus on first. but i cannot make any promise on when the next release will be ready to go live. thanks for your patience!

New WordPress plugin release is now out! See https://wordpress.org/plugins/plausible-analytics/
Highlights:

File downloads included alongside external link click and 404 error page tracking
Custom events can now be setup using CSS class names
Exclude pages and user roles from being tracked
Allow selected user roles to access the stats dashboard
See a link to the post stats in the toolbar while browsing your site


fix(windows): support powershell and cmd

Add support for both powershell and cmd on ✨ Windows ✨

Can you please rebase? We just added support for fish and it's conflicting.

@rauchg done!

Let's merge it! @rauchg

It works on my machine!

does not work on my machine windows 10, cmd

just noticed that this isn't released yet, when do we plan to release this?


New package: IUCNRedList v0.7.4

Registering package: IUCNRedList
Repository: https://github.com/jdiaz97/IUCNRedList.jl
Created by: @jdiaz97
Version: v0.7.4
Commit: 9299479f4764477719a6e8c7d2705d160711a72a
Reviewed by: @jdiaz97
Reference: https://github.com/jdiaz97/IUCNRedList.jl/issues/4
Description: API Wrapper for the IUCN Red List.

Close this one


⚠ Bofrost.de has degraded performance

In 5d821e2, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1658 ms

Resolved: Bofrost.de performance has improved in a65aee0 after 31 minutes.


Animation and rendering speed

Hello,
I am currently working on a project based on this repository, and I noticed that in Table A of your paper, it mentions that the driving and rendering rate can reach 26 fps on a V100. However, when I tested the following code on a GPU 3090, I only achieved 14 fps. I would like to understand whether the issue is related to the specific location or code I am using, or if it might be due to the GPU itself. I would appreciate your insights on this matter.
Thank you for your time and assistance.
        render_time = time.time()
        # forward
        with torch.no_grad():
            human_asset, human_asset_refined, human_offset, mesh_neutral_pose = tester.model.module.human_gaussian(
                smplx_param, cam_param)
            human_render = tester.model.module.gaussian_renderer(human_asset, render_shape, cam_param)
        renders_time = time.time() - render_time
        fps1 = 1 / renders_time
        print(f"Frame {frame_idx}: FPS: {fps1:.2f}")

Hi, we can cache triplane features (https://github.com/mks0601/ExAvatar_RELEASE/blob/43e9fb9d5400c27c411c6e9b19efce95a19f3792/avatar/common/nets/module.py#L521) as they are constant features once the training is finished. I cached the triplane features when computing the running time.

Hi, I have been attempting to use the cached tri_feat in animate.py as shown below.
        tri_feat = tester.model.module.human_gaussian.extract_tri_feature()
        render_time = time.time()
        # forward
        with torch.no_grad():
            human_asset, human_asset_refined, human_offset, mesh_neutral_pose = tester.model.module.human_gaussian(
                smplx_param, cam_param, tri_feat)
            human_render = tester.model.module.gaussian_renderer(human_asset, render_shape, cam_param)
        renders_time = time.time() - render_time
        fps1 = 1 / renders_time
        print(f"Frame {frame_idx}: FPS: {fps1:.2f}")

Accordingly, I modified the forward function in module.py to pass tri_feat as a parameter.
    def forward(self, smplx_param, cam_param, tri_feat=None, is_world_coord=False):
        #other code
        if tri_feat is None:
            # extract triplane feature
            tri_feat = self.extract_tri_feature()
        else:
            tri_feat = tri_feat
            print('tri_feat_extracted')

As a result, the fps rate increased from 13 to 14, but it still doesn't reach 26. Could it be that I am using the caching method incorrectly?

I would appreciate your guidance on this.
Thank you for your help.

tri_feat is always not None as it has not been defined. use self.tri_feat

tri_feat is always not None as it has not been defined. use self.tri_feat

I followed your suggestion and tried using self.tri_feat directly, but I encountered an error. Perhaps there is an issue with how I am using it.
def forward(self, smplx_param, cam_param, is_world_coord=False):
     # other code
     # extract triplane feature
     tri_feat = self.tri_feat

If possible, could you please provide a more specific code example? I would greatly appreciate your help.

I mean you can initialize self.tri_feat=None and if tri_feat == None, you compute tri_feat and replace self.tri_feat with the computed one. For every forward, if self.tri_feat is not None, you can retrive the computed one.

Thank you for your reply, and I apologize for misunderstanding your suggestion.
You meant to add self.tri_feat = None in the class's __init__(self) method and then use the following code in forward, correct?
    def forward(self, smplx_param, cam_param, is_world_coord=False):
        mesh_neutral_pose, mesh_neutral_pose_wo_upsample, _, transform_mat_neutral_pose = self.get_neutral_pose_human(
            jaw_zero_pose=True, use_id_info=True)
        joint_zero_pose = self.get_zero_pose_human()

        if self.tri_feat is None:
            self.tri_feat = self.extract_tri_feature()
            tri_feat = self.tri_feat
            print('tri_feat_compute')
        else:
            tri_feat = self.tri_feat

        # get Gaussian assets
        geo_feat = self.geo_net(tri_feat)
        mean_offset = self.mean_offset_net(geo_feat)  # mean offset of Gaussians
        scale = self.scale_net(geo_feat)  # scale of Gaussians
        rgb = self.rgb_net(tri_feat)  # rgb of Gaussians
        mean_3d = mesh_neutral_pose + mean_offset  # 大 pose

If there are still any issues, I apologize for that, and I appreciate your continued help and patience.
Thank you once again.

Yeap that's correct. I set the rendering resolution to 1024x1024 when measuring the speed. Also, you can turn off the pose conditioning for the faster speed as in the table of the paper.

Hello,
I have used the previous code, but there hasn't been a significant improvement in the overall speed.

Additionally, I made the following modifications in the main code to ensure the rendering resolution is 1024x1024.
#def main
    #render_shape = cv2.imread(osp.join(args.motion_path, 'frames', str(frame_idx_list[0]) + '.png')).shape[:2]
    render_shape = [1024,1024]

    for frame_idx in tqdm(frame_idx_list):
        #other code
        img = cv2.imread(osp.join(args.motion_path, 'frames', str(frame_idx) + '.png'))
        img = cv2.resize(img, (render_shape[1], render_shape[0]))

Unfortunately, there hasn't been any noticeable improvement in the speed, which is quite confusing to me.

Furthermore, I'm not entirely sure where exactly I should disable pose control. Would disabling it have any impact on the driving and rendering results?
If it's convenient for you, it would be great if you could share your test code. I would appreciate any guidance you can provide.
Thank you for your help.

please post url of your forked repo

请发布您 fork 仓库的 URL

https://github.com/zhong2001/ExAvatar_RELEASE.git
I have integrated the code I modified into this link.

Could you print a message at here to ensure your implementation has no bugs? It seems okay for me. I guess the different running speed is from your gpu. Also, to turn off the pose conditioning, remove all 'refined'.

Hello,
Following your suggestion, I added print statements at here, and based on the results, it seems that there are no issues. It could perhaps be a GPU-related problem, so I plan to test it on another GPU in the near future.

Additionally, I removed the "refined" part, but there doesn't seem to be any noticeable improvement in speed, which is another point that is puzzling me. For reference, the code where I removed "refined" can be found in animate_3.py and module2.py.
I would appreciate any further insights you might have.
Thank you again for your help.

simply not returning them does not make any changes. you can remove estimation parts to get refined to get speed boost.

You are right. Regarding the "refined" part, I have only modified the code in module.py so far. Should I also make changes in avatar/main/model.py? For example, something like this:https://github.com/mks0601/ExAvatar_RELEASE/blob/43e9fb9d5400c27c411c6e9b19efce95a19f3792/avatar/main/model.py#L186

I mean you need to remove lines for estimating mean_offset_offset, scale_offset, and rgb_offset

Do you mean like this? https://github.com/zhong2001/ExAvatar_RELEASE/blob/8c158c7a742cfe6c28574815896136d3be285e8f/avatar/common/nets/module2.py#L595
However, the parts in module2.py that I provided earlier seem to already have these sections commented out, and there hasn't been a noticeable improvement in the results.

remove
https://github.com/zhong2001/ExAvatar_RELEASE/blob/8c158c7a742cfe6c28574815896136d3be285e8f/avatar/common/nets/module2.py#L586
https://github.com/zhong2001/ExAvatar_RELEASE/blob/8c158c7a742cfe6c28574815896136d3be285e8f/avatar/common/nets/module2.py#L620

Thank you so much for your reply! It was indeed my oversight. I have now commented it out, and there has been a significant improvement in speed (14fps -> 26fps).


Document programmatic Prisma TypeScript API

A.k.a. SDK

(If this doesn't live in docs, it is probably a specs thing that could be moved there and get an area/sdk label [if this exists])

Dropped to next week to favor generator spec.


Roborock S6 MaxV in Homeassistant

Hi,
I'm kinda lost with the steps in the readme to integrate the cam of the roborock s6 maxv.
I have installed the webrtc camera intergration via HACS because I'm running homeassistant in docker.
However, I kinda don't know what's the next step to get the camera of my 6maxv into HA. Did I miss a step?
What's the architecture, do I need to run the docker for go2rtc as well?

I managed by using the docker container.

added the hacs webrtc camera integration
downloaded and started the docker service
I went to the webui on port 1984, logged in with my roborock account
Copied the URL into the webrtc cam custom card in homeassistant
I have the swipe pattern on my phone, so the app does not ask for pin but for pattern. I changed the pin to match my swipe pattern (here you have to imagine the swipe buttons are numbers as seen on the phone keyboard)
Profit

WebRTC Camera has old go2rtc inside. Without Roborock source. That's why external go2rtc helps


Bring Your Own Models (BYOM)

I would like to recommend that we restructure the API of this library to accept standard objects (i.e. dictionary or perhaps dataclass?) wherever it is expecting a Message object. didcomm-python should then perform any necessary validation for the given operation but otherwise assume the data is well structured as received from the caller.
I make this recommendation for a few of reasons:

People (including me) are opinionated about their models. Letting the caller bring their own models (or not; I think it's perfectly acceptable for people to just wing it with raw dictionary values) averts problems for our library users in the long run. This will enable an ACA-Py developer to continue to use their Marshmallow models, others to use Pydantic, still others to use attrs, and the rest to YOLO it.
Frankly speaking, the current Message model definitions are pretty rough right now. They're defined with a mixture of attrs and dataclasses but are not actually using attrs to perform any validation; instead, the validation is done by hand.
Most operations using Message almost immediately convert it to a dictionary and operate on that anyways.

This raises questions about what the return object of the unpack operation should be. I think there are plenty of examples out there where the caller specifies a class or a callable that can be used to deserialize the object.
I am not suggesting that the Message object should be removed altogether. If the user wants more structure than a dictionary but doesn't want to define it themselves, then Message would be available. Additionally, there's likely value in continuing to use it internally for the Forward message.
Open to thoughts.
cc @TelegramSam @chumbert @burdettadam

@dbluhm More of a curiosity question: have you given any thought about when to use:

a new DIDComm Message model, vs.
a Verifiable Credential attached to an existing DIDComm Message type?

Michael

What about behaviors a message should have? Like automatic message IDs, the ability to generate a reply from a message matching thread ids, etc? Should we not have those in favor of the flexible model? Just teasing out the implications of what you are proposing.

I think message ID insertion could be done as part of validation during pack operations, if we wanted. Generating a reply message with threading I would leave to the caller.

On giving it a bit more thought, I think all message and thread ID convenience tweaks should belong as part of the model implementation and associated helpers. This does not invalidated #64; making the Message class included with the library easier to use is a goal I think we should keep.


⚠ API - Lens has degraded performance

In 02e25c7, API - Lens ($LENS_API_URL) experienced degraded performance:

HTTP code: 502
Response time: 366 ms

Resolved: API - Lens performance has improved in 01bafd7 after 8 minutes.


Using Glance notification to pan the calendar by multiple steps causes multiple refreshes.

It appears that each notification to 'glance' the calendar triggers a new glanceTime timer.
This causes problems when panning the calendar view with multiple steps (for example, looking more than one week/month ahead, one period at a time).
After the glanceTime has elapsed, the calendar jumps back to the (let's call it: ) Today view.  e.g. if I send a glance notification for +1 month, look at the calendar, then another & look, then another & look - the calendar will jump back to the Today view 3 times.  Sometimes when I'm still 'glancing' as the glanceTime elapsed from the first notification has passed.
Best case scenario, this causes lots of flickers, worst case scenario the calendar jumps all over the place as users fight the multiple resets with more glance notifications.
Would it be possible for each subsequent glance notification to check if a timer is still active from a previous glance notification - and if so, reset to the glanceTime value again?
As an additional point - is it possible to revert back to "today" with a notification to Ext3?

I'll check.
I'm not using glancing often, so I haven't known it.


Add ability to ignore field order in query regression tests

Enable trivial.test against Couchbase

Merge after: #1563

Current coverage is 63.45% (diff: 40.71%)

Merging #1584 into master will increase coverage by 0.51%

@@             master      #1584   diff @@
==========================================
  Files           329        343    +14
  Lines         15564      15819   +255
  Methods       15055      15536   +481
  Messages          0          0
  Branches        149        143     -6
==========================================
+ Hits           9796      10038   +242
- Misses         5768       5781    +13
  Partials          0          0

Powered by Codecov. Last update 9343046...5f77428

Looks good – will merge when green.

If you have time to kill (😉) you could switch more select * queries to use this.

Heh, true. I figure Couchbase will motivate that transition as those queries are enabled against it.

This is missing revision.md, otherwise I would be ready to merge it.


Error spam when starting any project (instance_set_transform: Condition ' !instance ' is true.)

Godot version:
3.2 master (1be39232b)
Recent regression, probably from a PR merged today or yesterday.
OS/device including version:
Linux, but should affect any.
Issue description:
Starting an empty project in the editor shows:
ERROR: get: Condition ' !p_rid.is_valid() ' is true. returned: __null
   At: ./core/rid.h:149.
ERROR: instance_set_transform: Condition ' !instance ' is true.
   At: servers/visual/visual_server_scene.cpp:589.
ERROR: get: Condition ' !p_rid.is_valid() ' is true. returned: __null
   At: ./core/rid.h:149.
ERROR: instance_set_transform: Condition ' !instance ' is true.
   At: servers/visual/visual_server_scene.cpp:589.
ERROR: get: Condition ' !p_rid.is_valid() ' is true. returned: __null
   At: ./core/rid.h:149.
ERROR: instance_set_transform: Condition ' !instance ' is true.
   At: servers/visual/visual_server_scene.cpp:589.
ERROR: get: Condition ' !p_rid.is_valid() ' is true. returned: __null
   At: ./core/rid.h:149.
ERROR: instance_set_transform: Condition ' !instance ' is true.
   At: servers/visual/visual_server_scene.cpp:589.
ERROR: bind: Method/Function Failed, returning: ERR_UNAVAILABLE
   At: drivers/unix/net_socket_posix.cpp:386.

That's a recent regression, currently bisecting.
Steps to reproduce:

Edit any project in editor

Regression from #32893, CC @Nehluxhes.

Something like this might fix it:
diff --git a/modules/gridmap/grid_map_editor_plugin.cpp b/modules/gridmap/grid_map_editor_plugin.cpp
index 86a8df652c..0e9a68ce9a 100644
--- a/modules/gridmap/grid_map_editor_plugin.cpp
+++ b/modules/gridmap/grid_map_editor_plugin.cpp
@@ -353,7 +353,9 @@ void GridMapEditor::_set_selection(bool p_active, const Vector3 &p_begin, const
        selection.click = p_begin;
        selection.current = p_end;

-       _update_selection_transform();
+       if (is_inside_tree()) {
+               _update_selection_transform();
+       }

        options->get_popup()->set_item_disabled(options->get_popup()->get_item_index(MENU_OPTION_SELECTION_CLEAR), !selection.active);
        options->get_popup()->set_item_disabled(options->get_popup()->get_item_index(MENU_OPTION_SELECTION_CUT), !selection.active);

Or maybe is_visible_in_tree(). I haven't tested if the gridmap editor selection still behaves as intended though.

Well, just updated my PR on my side but Chaosus was faster. Selections still work fine.
Sorry for the bissecting, having done that just yesterday I know how long it can be with all the recompiling!


Cannot start server if port 8008 is used.

Branch 0.15.x
Target master
Expected Behavior The app must warn the user that the server cannot start because port 8008 is used by another process.
Current Behavior When the "Start KA Lite" menu is clicked, there is no indicator or message that the server cannot start because port 8008 is used.  The user then is left guessing what is going on with the app.
When debugging under Xcode, the console log shows:
Running 'kalite start' as daemon (system service)

Stand by while the server loads its data...

Port 8008 is occupied. Please close the process that is using it.

Screenshots

Xcode output when "Start KA Lite" menu is clicked.

System menu of the "KA-Lite Monitor" app after "Start KA Lite" menu is clicked.

Possible Solution/s

Check if port 8008 is used and inform the user of such.
Show the output of the kalite executable when attempting to start the server.  This will inform the user that an error was encountered by the app.  To be addressed by #129.
Document the process that the user must manually close the process/app that is using port 8008.

Related Issue/s

Kill existing pyrun activity when resetting the kalite-monitor app.
OSX application performance issues.

There's a similar problem in Windows with the task-tray icon.


react-admin 5.x support

Is support for react-admin 5.x planned in the near future?

I didnt know that 5.x was released.  ;)
If some can do a PR with a retrocompatible proposal will be wellcome

@strarsis did you test it against 5.x? any problem?

@josx: I am planning doing this very soon.
With some luck this is just a peer dependency version formality.
Related:

https://github.com/feathersjs/feathers/discussions/2443
https://feathersjs.com/guides/migrating#client


Build with runtime python but pip could not find pip

I'm trying to build an apk with a client tool (pulsar-client), however, I would receive the following error when I run the code with
docker run --privileged --rm -v "${PWD}":/work \
  cgr.dev/chainguard/melange build python-melange.yaml \
  --arch x86,amd64,aarch64,armv7 \
  --signing-key melange.rsa

Exception : importlib.metadata.PackageNotFoundError: No package metadata was found for pip
The file is:
package:
  name: pulsar-python-client
  version: 0.1.0
  description: An custom apk packaing including pulsar python client
  target-architecture:
    - all
  copyright:
    - license: Apache-2.0
      paths:
        - "*"
  dependencies:
    runtime:
      - python3

environment:
  contents:
    repositories:
      - https://dl-cdn.alpinelinux.org/alpine/edge/main
      - https://dl-cdn.alpinelinux.org/alpine/edge/community
    packages:
      - alpine-baselayout-data
      - ca-certificates-bundle
      - busybox
      - gcc
      - musl-dev
      - python3
      - python3-dev
      - py3-pip
      - py3-virtualenv

pipeline:
  - name: install python client
    runs: |
      set -x
      pip install pulsar-client==2.10.2
      pip install pulsar-client[avro]=='2.10.2'
      pip install pulsar-client[functions]=='2.10.2'
      pip install pulsar-client[all]=='2.10.2'

I basically copied the code from https://github.com/chainguard-dev/hello-melange-apko/blob/main/py/melange.yaml, but it's not working.
Can we have an example how to install python?

maybe try python3 -m pip --version. it seems to be working for me.

This was most likely due to python migration in Alpine.  None the less, this is not an issue specific to Melange and should be directed to Alpine.


How to add hyperlink(ods)

Question as title
thanks

Hej, I am sorry, I must have overseen this issue notification somehow in my flood of emails...
If no one answers within a few days, just ping please again with a reminder (still I try to improve my mail handling)...
Aside from this, I would suggest asking in general at a dev mailing list: https://tdf.github.io/odftoolkit/mailing-lists.html
How to find an API in the ODFDOM (of ODF TOOLKIT)
I can not remember any API I am not using frequently, so I do the following
Are there Test using/testing the functionality?
first usually quickly look into the test of the source code, such as via command line:
git clone https://github.com/tdf/odftoolkit.git odftoolkit-latest-0.10.0
cd odftoolkit-latest-0.10.0/odfdom/src/test
find . -name *.java | xargs grep hyper
Here: The results are just within the changes packages, which is the new Event API (similar to SAX) only supporting ODT (not ODS yet).
What XML is being used for the feature? Test it in LibreOffice
What is always working is to use the DOM API. But you need to know what XML is being used for your feature!
Test it!
You may use LibreOffice to add a simple hyperlink in a cell save it, unzip it and take a look into the XML..
(I am using JEdit with the Archive and XML Indent Plugin as I have not found time to write a Visual Studio Code ODF extension)
There I find my test file and you see how a hyperlink works:
<table:table-cell office:value-type="string">text:pmytest<text:a xlink:href="https://www.heise.de/" xlink:type="simple">heiseLink</text:a></text:p>
Check the ODF Specification & ODF Grammar
Now, when you know what is the XML node you might look into the ODF specification for more information:
https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part3-schema/OpenDocument-v1.3-os-part3-schema.html#element-text_a
Or in the grammar:
http://docs.oasis-open.org/office/OpenDocument/v1.3/os/schemas/OpenDocument-v1.3-schema-rng.html#16201
(Michael and I are now ODF TC editors, but I was not yet capable to add JavaScript that adds the line number when you press the line number ahead of the line - as it does in GitHub - PullRequest are welcome:
https://github.com/tdf/odftoolkit/blob/master/xslt-runner/src/test/resources/HowTo.md
but we might want to move it sooner or later to
https://github.com/oasis-tcs/odf-tc)
All ODF XML is reused across the ODF document formats, therefore  Hyperlink XML is the same for ODT and ODS
Find the ODF Element/Attribute in the ODFDOM API
You may find the element in the "typed" DOM element text:a by a certain pattern ->
https://github.com/tdf/odftoolkit/blob/master/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAElement.java
Check in your IDE the ODFDOM node class for usage by High-Level API classes
Now you might check in your favourite Java IDE (I am using Netbeans, IntelliJ and VSCode) what classes are using this class.
By this, you will see that the parent DOM elements (e.g. TextPElement) have a function to add a Hyperlink.
PS: Yes, this can be done better and I received some funding from NGI NL.net Zero to improve this situation but had to postpone the project to March next year (due to other conflicting projects).

@z24500112
Hope that could help you (I assume you had helped yourself in the past 2,5 months) ;-)
Let's keep this issue in as a documentation issue (FAQ: how to find an API), in general, I would suggest asking future questions on the list (see link above), otherwise, it is difficult to decide when to close an issue... :-)


Tabs created from clone team not working

When a new team is provisioned via the clone process we have noticed that the tabs within a channel e.g. website tab or planner tab dont work.  Clicking on the tab doesn't do anything and the only option available on the tab is 'Remove'.  No other messages are displayed.

@SPB21 I will need to investigate this one, I believe this to be bugs in the clone endpoint in the Graph but will take a look.
Thanks

@alexc-MSFT, i raised a support ticket with MS and it looks like there is an issue with the backend API.

@SPB21 any chance you could provide your email address so I can follow up with you on the status of the ticket.
Thanks

.
From: Alex Clark<EMAIL_ADDRESS>Sent: Friday, July 31, 2020 9:43 AM
To: OfficeDev/microsoft-teams-apps-requestateam<EMAIL_ADDRESS>Cc: Bradley, Sean<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [OfficeDev/microsoft-teams-apps-requestateam] Tabs created from clone team not working (#95)
@SPB21https://github.com/SPB21 any chance you could provide your email address so I can follow up with you on the status of the ticket.
Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/OfficeDev/microsoft-teams-apps-requestateam/issues/95#issuecomment-667008959, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQLNFAYL2ERHS5BVE4TMJILR6J723ANCNFSM4PDXITQQ.
Unless otherwise stated, this email has been sent from Fujitsu Services Limited (registered in England No 96056); Fujitsu EMEA PLC (registered in England No 2216100) both with registered offices at: 22 Baker Street, London W1U 3BW; PFU (EMEA) Limited, (registered in England No 1578652) registered offices at: Hayes Park Central, Hayes End Road, Hayes, Middlesex, UB4 8FE and Fujitsu Laboratories of Europe Limited (registered in England No. 4153469) 4th Floor, Building 3, Hyde Park Hayes, 11 Millington Road, Hayes, UB3 4AZ.
This email is only for the use of its intended recipient. Its contents are subject to a duty of confidence and may be privileged. Fujitsu does not guarantee that this email has not been intercepted and amended or that it is virus-free.


Update end to end example to use workspaces and results ✨

Changes
One thing that is confusing about Pipelines being beta and
PipelineResources not being beta is that many of our examples still use
PipelineResources.
In an effort to provide more examples of the alternatives, this commit
takes our very first pipeline example, which builds and pushes multiple
images, then deploys services that use the new images, and updates it to
use workspaces and results (and - copies of - catalog tasks) instead of
PipelineResources.
And as a bonus, now that we have results, the last deploy step will use
the digest of the previously built image to ensure it actually deploys
the right image!
In the future, we should add final tasks to this pipeline that ensure
the deployment is actually running; the pipelinerun can succeed even
when the images specified are bogus.
I removed the build-push kaniko taskrun example since we'd probably want to point folks at the kaniko task in the catalog instead.
BONUS: uses volume claim templates as well!! 🎉
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[n/a] Includes tests (if functionality changed/added)
[n/a] Includes docs (if user facing)
[x] Commit messages follow commit message best practices

See the contribution guide for more details.
Double check this list of stuff that's easy to miss:

If you are adding a new binary/image to the cmd dir, please update
the release Task to build and release this image.

Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.
Release Notes
Describe any user facing changes here, or delete this block.

Examples of user facing changes:
- API changes
- Bug fixes
- Any changes in behavior

I0423 21:23:32.131] found examples/v1beta1/pipelineruns/pipelinerun.yaml
I0423 21:23:32.140] found examples/v1beta1/taskruns/build-push-kaniko.yaml
I0423 21:23:33.279] Traceback (most recent call last):
I0423 21:23:33.280]   File "/usr/local/bin/yamllint", line 11, in <module>
I0423 21:23:33.280]     sys.exit(run())
I0423 21:23:33.281]   File "/usr/local/lib/python3.5/dist-packages/yamllint/cli.py", line 181, in run
I0423 21:23:33.281]     problems = linter.run(f, conf, filepath)
I0423 21:23:33.281]   File "/usr/local/lib/python3.5/dist-packages/yamllint/linter.py", line 237, in run
I0423 21:23:33.281]     content = input.read()
I0423 21:23:33.281]   File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
I0423 21:23:33.282]     return codecs.ascii_decode(input, self.errors)[0]
I0423 21:23:33.282] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1485: ordinal not in range(128)

whoa

found examples/v1beta1/taskruns/build-push-kaniko.yaml

how did you find that which i have deleted 🤔

I0423 21:23:32.131] found examples/v1beta1/pipelineruns/pipelinerun.yaml
I0423 21:23:32.140] found examples/v1beta1/taskruns/build-push-kaniko.yaml
I0423 21:23:33.279] Traceback (most recent call last):
I0423 21:23:33.280]   File "/usr/local/bin/yamllint", line 11, in <module>
I0423 21:23:33.280]     sys.exit(run())
I0423 21:23:33.281]   File "/usr/local/lib/python3.5/dist-packages/yamllint/cli.py", line 181, in run
I0423 21:23:33.281]     problems = linter.run(f, conf, filepath)
I0423 21:23:33.281]   File "/usr/local/lib/python3.5/dist-packages/yamllint/linter.py", line 237, in run
I0423 21:23:33.281]     content = input.read()
I0423 21:23:33.281]   File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
I0423 21:23:33.282]     return codecs.ascii_decode(input, self.errors)[0]
I0423 21:23:33.282] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1485: ordinal not in range(128)

whoa

That's weird, I thought we disabled yamllinting in here ? (or was it on catalog :thinking: )

https://github.com/tektoncd/pipeline/pull/2485

/test pull-tekton-pipeline-build-tests

/test pull-tekton-pipeline-build-tests

This should be ready for another look!

/retest

Such beta, very workspace; amaze!
/lgtm


Add more integration tests for unhappy paths

While having basic test coverage for the major happy paths already, there is a lot to test for unhappy paths.
We should add tests for the following scenarios. This list, of course, is not exhaustive.

[x] While querying repeatedly, disconnecting and connecting the db.
[x] While querying repeatedly, delete the query engine binary.
[x] Delete the query engine binary first, then try to start the client.
[x] Set wrong chmod on the query engine binary and try to start it.
[x] Corrupt the query engine binary, so it's not executable, then try to start it.
[x] Try to query a table that doesn't exist.
[x]  Table exists, but column doesn't.
[x] Try to query a table, where a column has a different type than provided in the schema.prisma file.
[x] Try to query a related field of a required relation, while the related node doesn't exist in the database.
[x] Query 100k items with SQLite to get to the variable limit in queries we generate.

Most important ones for now:
1., 6., 6.5, 7.

Done!


[Spanish] localize 'Service Discovery'

Localize the content/en/service-discovery.md document to Spanish

Can I work on this issue, with some guidance?

Thanks for participating into the CNCF Glossary project. The Spanish translation team would like to facilitate your contribution's journey, so please share your goals and/or skills in order to assist you better. We also encourage new contributors to participate in their native speaking language.

@electrocucaracha im free to work on this issue please. Thanks!


Issues with R Script

Hi all!
I was able to setup the database and R in the server, but there is an issue with the plot generation.
Error in plot.new() :
  could not open file '/plots/information_schemaNArplot.jpg'
Calls: apply ... unlist -> lapply -> FUN -> plot -> plot.default -> plot.new
Execution halted

I created a /plots/ folder that contains all the images previously added to the zip file, as far I can see in the logs... the script was able to add some new pictures but after a while the system stops.
Please... Can you help me with this? Thanks a lot!

This is related to #13 💥

Seems that it is trying to open something that does not exists. To save a jpg first you need to create the plot and then save it, let me take a look at the script.

Closing because generate plots is commented.


chore(main): release 2.2.0

:robot: I have created a release beep boop
2.2.0 (2024-07-22)
Features

Add badges (36ddc11)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v2.2.0
:sunflower:


When reconciling, 404 Not Found error in browser console

While reconciling, I noticed console errors whenever I hover over any suggested QID item in the dropdown list when choosing a "Search for match":
404 (Not Found)
GET > https://wikidata.reconci.link/search?filter=(all%20mid:Q27684975)&output=(notable:/client/summary%20(description%20citation%20provenance)%20type)&key=null

Originally posted by @thadguidry in https://github.com/OpenRefine/OpenRefine/issues/33#issuecomment-2434709503
Versions

Operating System: Windows 11 Pro
Browser Version: Edge latest
JRE or JDK Version: openjdk 21
OpenRefine: master (trunk) 3.8.3

This is the old Freebase suggest script that still tries to call "/search".


Update readme.md as per latest changes

The homepage image has been changed,the screenshots in readme.md need to be updated as per the same. I would like to make the changes
P.S. Can i get a URL for the snapshot to paste in readme? Since im not allowed to add assets to the repo

https://main--momomias.netlify.app/momomia/
@ansharora28  please do the necessary changes

can I work on that issue sir

@pawan8120  you can work on this too


Bootstrap cannot set uid for valheim-server user

I think the bootstrap script is failing to set the uid for the valheim-server user since bootstrap is run as valheim-server itself.
First, I set the following env vars:
PUID=1001
PGID=1001

Then, when I check the logs, I see:
INFO - Setting uid:gid of valheim-server to 1001:1001
usermod: user valheim-server is currently used by process 1

Exec-ing into the container and double checking the uid reveals it is still 0:
$ id -u valheim-server
0

I see that in the dockerfile, useradd is run with PUID and PGID vars, but then since I'm pulling the container from dockerhub, it would have been built with the defaults of 0:0.
Perhaps bootstrap can be run as root? Then usermod can change the uid.

@Richardyang510 thank you for the report. This should be fixed now. It was caused by usermod wrongly assuming that the valheim-server user was in use when really bootstrap is being started as root. But because both had the same UID it couldn't distinguish.


DataGrid OrderIndex does not work

Setting the RadzenDataGridColumn.OrderIndex property in my page's Razor template does not have an effect. Here's my code sample:
<RadzenDataGrid TItem="Employee" Data="@EmployeesList" AllowSorting="true">
    <Columns>
        <RadzenDataGridColumn Title="Last Name" TItem="Employee" Property="LastName" OrderIndex="1" />
        <RadzenDataGridColumn Title="First Name" TItem="Employee" Property="FirstName" />
        <RadzenDataGridColumn Title="Title" TItem="Employee" Property="Title" />
    </Columns>
</RadzenDataGrid>

When the data is set, the LastName column is not ordered. Even the official DataGrid column reorder example page sets this property and it doesn't take effect.
To Reproduce
Heck, visit the official DataGrid column reorder page. It sets OrderIndex to the LastName and FirstName columns, but the columns are not being ordered! Am I missing something?
Desktop (please complete the following information):

OS: MacOS
Browser: Firefox 99.0.1

You need to set OrderIndex to other columns as well otherwise the grid will keep the declared columns order.

Oooh, I see I misinterpreted the meaning of the OrderIndex property. I was under the impression that it affects the ordering of the rows (sort by last name, then by first name, etc.). I now understand that it actually determines the order in which the columns are displayed from left to right.
There doesn't seem to be a way to set the DataGrid to be initially sorted based on one specified column.


[Question]: IndexNode.obj is erased.When i use index.storage_context.persist

Question Validation

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

Question
I create an indexnode as follows:
indexnode = IndexNode.from_text_node(node, index_id=node.id_)
indexnode.id_ = str(uuid.uuid4())
indexnode.obj = node

Then, I use the following code:
from llama_index.core import StorageContext
storage_context = StorageContext.from_defaults()
index = VectorStoreIndex(
    storage_context=storage_context,
    objects=index_nodes,
)
index.set_index_id("index")
index.storage_context.docstore.add_documents(nodes)
index.storage_context.persist()

However, after running the above code, index.storage_context.docstore.docs['xxxx'].obj is erased and cannot be restored by assignment.
This causes my Retriever to be unable to automatically enter into the textNode.

obj is very important to me, so how can I implement Store the obj attribute separately ,and How can I combine the two parts back together?
I tried a simple approach:
for i in list(index.storage_context.docstore.docs.values()):
    i.obj = [n for n in nodes if n.id_ == i.index_id][0]

I wanted to use this to restore obj, but obj is still None and it didn't work.

Let's do a quick test. As shown, I think the method you just suggested might be ineffective, just like my previous attempt.

@nmhjklnm you can just pass it in like any other node, no need to use objects=
VectorStoreIndex(nodes=<list of index nodes>)
objects is generally there for stuff that isn't serializable

@logan-markewich Thank you so much for your suggestion! I tried passing the nodes directly as you mentioned, and it worked perfectly. Really appreciate your help!


'nuxt' is not recognized as an internal or external command

help me . i run "npm start"

This question is available on Nuxt community (#c8201)

$ npm install --save nuxt


Build sign up resolver

Acceptance Criteria

[ ] It should create a new user entry in mongodb
[x] It should create a Person on rock
[x] It should create a User on rock
[ ] It should attach rock id's on the mongodb user
[x] It should send a confirmation email
[x] It should build the email endpoint on Heighliner

Context
Have a look at their previous implementation here

Part of PR created here for #107

Closed here


Code action: add constraint, closes #345

This PR adds code actions to generate suggestions for missing constraints, both for instances declaration and type signatures. I've handled cases where no, one or more other constraints are already declared.
I've also introduced operators like >>>, &, <&> in order to compose from left to right (like the code flows from left to right) and to have code more easier to read and to reason about. I'm mentioning this because I didn't see them used in the code (at least not in the files I changed), so if for some reason they are not welcome, I'll change them.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

This PR needs rebasing on master since it has conflicted with #657. If you run into issues resolving the conflicts, I’m happy to help.


Replace {{foo}} with %{foo} in rspec1-compat

FWIW, you can use your own locale file and tell Remarkable to use it via:
Remarkable.add_locale('path/to/locale.yml')

Here is my Remarkable locale.yml:
https://gist.github.com/1622444
I hope this helps anyone as frustrated as I was that this never got pulled in for those less fortunate and working on legacy projects.

Okay, this is dead.


Create Chart.yaml

Chart.yaml  apiVersion:v2-->v1

LGTM
@guoguodan Please sign your commit.

Codecov Report

Merging #440 (1ef6ee3) into main (837664c) will decrease coverage by 0.15%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #440      +/-   ##
==========================================
- Coverage   36.84%   36.69%   -0.16%
==========================================
  Files          84       84
  Lines        6581     6581
==========================================
- Hits         2425     2415      -10
- Misses       3812     3824      +12
+ Partials      344      342       -2

Flag
Coverage Δ

unittests
36.69% <ø> (-0.16%)
:arrow_down:

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

Impacted Files
Coverage Δ

client/daemon/peer/peertask_stream.go
54.61% <0.00%> (-2.22%)
:arrow_down:

client/daemon/peer/peertask_base.go
33.49% <0.00%> (-0.98%)
:arrow_down:

apiVersion: v2 is valid.
Refer: https://helm.sh/docs/topics/charts/#the-apiversion-field