[Feature]Sync materialized view support where

Fixes #issue
What type of PR is this:

[ ] BugFix
[x] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

[FE PR Coverage Check]
:heart_eyes: pass : 90 / 100 (90.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/alter/RollupJobV2.java
27
33
81.82%
[368, 369, 371, 372, 378, 385]

:large_blue_circle:
com/starrocks/planner/OlapTableSink.java
35
39
89.74%
[310, 345, 346, 347]

:large_blue_circle:
com/starrocks/catalog/MaterializedIndexMeta.java
8
8
100.00%
[]

:large_blue_circle:
com/starrocks/task/AlterReplicaTask.java
7
7
100.00%
[]

:large_blue_circle:
com/starrocks/sql/ast/CreateMaterializedViewStmt.java
9
9
100.00%
[]

:large_blue_circle:
com/starrocks/alter/MaterializedViewHandler.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/analysis/InPredicate.java
1
1
100.00%
[]

[FE PR Coverage Check]
:heart_eyes: pass : 90 / 100 (90.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/alter/RollupJobV2.java
27
33
81.82%
[368, 369, 371, 372, 378, 385]

:large_blue_circle:
com/starrocks/planner/OlapTableSink.java
35
39
89.74%
[310, 345, 346, 347]

:large_blue_circle:
com/starrocks/catalog/MaterializedIndexMeta.java
8
8
100.00%
[]

:large_blue_circle:
com/starrocks/task/AlterReplicaTask.java
7
7
100.00%
[]

:large_blue_circle:
com/starrocks/sql/ast/CreateMaterializedViewStmt.java
9
9
100.00%
[]

:large_blue_circle:
com/starrocks/alter/MaterializedViewHandler.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/analysis/InPredicate.java
1
1
100.00%
[]

[FE PR Coverage Check]
:heart_eyes: pass : 93 / 103 (90.29%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/alter/RollupJobV2.java
27
33
81.82%
[368, 369, 371, 372, 378, 385]

:large_blue_circle:
com/starrocks/planner/OlapTableSink.java
35
39
89.74%
[310, 345, 346, 347]

:large_blue_circle:
com/starrocks/catalog/MaterializedIndexMeta.java
8
8
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/mv/MVUtils.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/task/AlterReplicaTask.java
7
7
100.00%
[]

:large_blue_circle:
com/starrocks/sql/ast/CreateMaterializedViewStmt.java
9
9
100.00%
[]

:large_blue_circle:
com/starrocks/alter/MaterializedViewHandler.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/analysis/InPredicate.java
1
1
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 49 / 100 (49.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/planner/OlapTableSink.java
1
41
02.44%
[306, 308, 309, 310, 311, 314, 315, 316, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 353, 354, 356, 357]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/mv/MVUtils.java
1
2
50.00%
[97]

:large_blue_circle:
com/starrocks/catalog/MaterializedIndexMeta.java
4
6
66.67%
[241, 262]

:large_blue_circle:
com/starrocks/task/AlterReplicaTask.java
2
3
66.67%
[185]

:large_blue_circle:
com/starrocks/sql/ast/CreateMaterializedViewStmt.java
6
8
75.00%
[219, 332]

:large_blue_circle:
com/starrocks/alter/RollupJobV2.java
29
34
85.29%
[367, 370, 503, 504, 953]

:large_blue_circle:
com/starrocks/alter/MaterializedViewHandler.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/analysis/InPredicate.java
3
3
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 49 / 100 (49.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/planner/OlapTableSink.java
1
41
02.44%
[306, 308, 309, 310, 311, 314, 315, 316, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 353, 354, 356, 357]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/mv/MVUtils.java
1
2
50.00%
[97]

:large_blue_circle:
com/starrocks/catalog/MaterializedIndexMeta.java
4
6
66.67%
[241, 262]

:large_blue_circle:
com/starrocks/task/AlterReplicaTask.java
2
3
66.67%
[185]

:large_blue_circle:
com/starrocks/sql/ast/CreateMaterializedViewStmt.java
6
8
75.00%
[219, 332]

:large_blue_circle:
com/starrocks/alter/RollupJobV2.java
29
34
85.29%
[367, 370, 503, 504, 953]

:large_blue_circle:
com/starrocks/alter/MaterializedViewHandler.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/analysis/InPredicate.java
3
3
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 58 / 109 (53.21%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/planner/OlapTableSink.java
1
41
02.44%
[306, 308, 309, 310, 311, 314, 315, 316, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 353, 354, 356, 357]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/mv/MVUtils.java
1
2
50.00%
[97]

:large_blue_circle:
com/starrocks/catalog/MaterializedIndexMeta.java
4
6
66.67%
[241, 262]

:large_blue_circle:
com/starrocks/task/AlterReplicaTask.java
2
3
66.67%
[185]

:large_blue_circle:
com/starrocks/sql/ast/CreateMaterializedViewStmt.java
6
8
75.00%
[219, 332]

:large_blue_circle:
com/starrocks/alter/RollupJobV2.java
38
43
88.37%
[368, 371, 513, 514, 963]

:large_blue_circle:
com/starrocks/alter/MaterializedViewHandler.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/analysis/InPredicate.java
3
3
100.00%
[]


reminders.add endpoind returns empty reminder list

Description
Describe your issue here.
What type of issue is this? (place an x in one of the [ ])

[x] bug
[x] question
[x] documentation related

Requirements (place an x in each of the [ ])

[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report
I created a separate bug documentation , but looking at other bugs I see that there is no any activity in doc repo for bugs reported by users.
After success call to Web API https://api.slack.com/methods/reminders.add end point instead of
expected by docs response:
{
    "ok": true,
    "reminder": {
        "id": "Rm12345678",
        "creator": "U18888888",
        "user": "U18888888",
        "text": "eat a banana",
        "recurring": false,
        "time":<PHONE_NUMBER>,
        "complete_ts": 0
    }
}

I got only
{"ok":true,"reminder":[]}

Call example:
curl -X POST -H 'Authorization: Bearer xxxx' \
-H 'Content-type: application/json; charset=utf-8' \
--data '{"channel":"CE1234","text":"test", "time":<PHONE_NUMBER>}' \
https://slack.com/api/reminders.add

Are docs outdated?
Reproducible in:
slackclient version: 1.3.0
python version: 3.6
OS version(s):
Steps to reproduce:

make request to reminder.add endpoint
get OK response
response containe only OK related data, but no reminder ID as stated in API docs.

Expected result:
{
    "ok": true,
    "reminder": {
        "id": "Rm12345678",
        "creator": "U18888888",
        "user": "U18888888",
        "text": "eat a banana",
        "recurring": false,
        "time":<PHONE_NUMBER>,
        "complete_ts": 0
    }
}

Actual result:
{"ok":true,"reminder":[]}

Find issue: you should add scope permission - reminders:read to get reminder in response.

@wolendranh glad it worked out! 🎉


Linux installation -- what's an app folder?

As per README.md:
Download the latest version for Linux on the releases page (and drag into your apps folder.)
What's an apps folder?
You can even use your own repo if you add it to your PATH.
Check that article, it may help you. 🙂

Ok I did move the zip file into my /usr/bin folder but still pressing ctrl+shift+space does nothing. I tried also to extract the folder inside the zip to my usr/bin, still no luck.
Is there some more docs for this? Thank you.

So actually need to find out how to execute the program.
Try extracting it into your home folder somewhere (like ~), then go into the extracted directory and run ./name_of_the_bin.
Note that it needs to be executable, check if it has the x permission by checking with ls -l in the extracted directory.
Once you manage to make it work locally, you will be able to move it to some app directory and run it at the startup.l of your distro. 😁


package-lock.json should be committed to git

this ensures that npm installs the same version of packages for everyone.  people should use npm ci when creating a production build instead of npm install.
(i use yarn not npm or i'd submit a PR)

Yeah, this is part of what I meant by #13.

oh i saw that issue but only saw cargo mentioned so i skipped it


How to pass the redis password

How to pass the redis password
Reported an error：“ReplyError: NOAUTH Authentication required.”

your redis should be on the server that you are publishing your project.
set password is a security issue because your password will leaked on client side


[Feature Request] I can delete splats, how can I add splats?

By importing the splats you want to add.

@linghugoogle Can you be more specific about exactly what you want to achieve (and how you see it working) please?

Copy & Paste will be implemented soon. I think it is the next big thing to be started.
However, that you "can delete" splats is technically not true. You are just setting the "deleted" flag. In memory the splat count currently is static fixed to the initial count.


Add custom autosuggest param to overwrite using language from page

This would make the autosuggest (typeahead) component easier to test different languages and also would make the component more customisable for the user

Check with @rmccar - is this still required?

Yes it is. Do you need any more details on this?


NSX Security Groups

Description
Implement opennebula security groups to work with vcenter and NSX.
Use case
Security groups allows perform microsegment environments. Rules will be applied into the Distributed firewall and should be able to work in multitenant environments
Interface Changes
Probably sunstone forms options should be added.
Additional Context
Add any other context or screenshots about the feature request here. Or any other alternative you have considered to addressed this new feature.

Progress Status

[x] Branch created
[x] Code committed to development branch
[x] Testing - QA
[x] Documentation
[x] Release notes - resolved issues, compatibility, known issues
[x] Code committed to upstream release/hotfix branches
[x] Documentation committed to upstream release/hotfix branches

Branch: f-3930

PR Documentation: https://github.com/OpenNebula/docs/pull/1000
PR Development: https://github.com/OpenNebula/development/pull/881
PR Infra: https://github.com/OpenNebula/infra/pull/447


Boss Speed-Running

Has there been any thought into having personal best times from bosses as a webhook?

This is already possible with the Kill Count notifier, make sure to have the Personal Best setting enabled, that way it will send a notification any time you beat your personal best.

There's currently no way to disable the interval notifications, so you'd have to set it to some high number you'll never reach to never get an interval notification.


Removed scheddLog mapping; updated stateMap to string status

While investigating why Held jobs (condor status 5) are not removed from the condor queue. I noticed a couple strange things:
a) bl_status table uses the plugin stateMap keys to populate the schedd status name column (not very readable [1])
b) Held jobs were treated as Running jobs (according to stateMap, thus never killed)
I have also removed another mapping function that was no longer used. Last but not least, I moved the iteration over the schedd jobs to the try block, since the resource is still associated to the iterator while it's yielding values (thus it can timeout).
I need to test it in a fresh new agent, since it will change the values in bl_status.
I'll ask for reviews once I get the first tests running with no issues.
[1]
MariaDB [wmagent]> select * from bl_status;
+----+------+
| id | name |
+----+------+
|  1 | 1    |
|  8 | 100  |
|  3 | 2    |
|  2 | 3    |
|  5 | 4    |
|  4 | 5    |
|  7 | 6    |
|  6 | 7    |
|  9 | New  |
+----+------+
9 rows in set (0.00 sec)

Why did you change the SimpleCondorPlugin stateMap ? It should key off numbers since that is what is returned from the python API. These have nothing to do with agent states. Have you actually tried this change ? I doubt it'll work.

I changed it to have meaningful values in the bossair status table. However, giving it a second thought, it may be better indeed to keep the exact condor job status. We cannot have everything, so we just have to pick one... would you keep the numerical schedd_status or the english meaning?
This PR - as is - doesn't work :). I missed two other places that were locally fixed and it works now.

For internal tracking and this is what this is (we don't expose these states to the outside, just what agent state they map to, right) I would stay with whatever the underlying implementation uses as state. Makes code maintenance easier in the long run IMO.
OTOH, it's not a huge change and there is always that pesky 'New' state that is there anyways for not yet submitted jobs...

And ... this one is also good to go. I couldn't find any BAD side-effects of this change. I kept an eye on the bossair and wmbs tables and all the tracking and status seems to be Ok.
Nonetheless, @ticoann and @hufnagel please review. Feel free to give feedback even after it gets merged, I'll run more tests with the new tag that we'll cut tomorrow or so before pushing it to production.


Serve unix socket requests directly

Instead of forwarding requests from the socket over to the REST server, this allows a Netty container to respond to the requests directly.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@86e2001). Click here to learn what that means.
The diff coverage is 83.33%.

@@            Coverage Diff            @@
##             master     #502   +/-   ##
=========================================
  Coverage          ?   99.36%
  Complexity        ?     1227
=========================================
  Files             ?      207
  Lines             ?     3924
  Branches          ?      211
=========================================
  Hits              ?     3899
  Misses            ?        5
  Partials          ?       20

Impacted Files
Coverage Δ
Complexity Δ

...a/com/quorum/tessera/config/CommunicationType.java
100% <100%> (ø)
1 <0> (?)

...m/quorum/tessera/api/filter/IPWhitelistFilter.java
96.15% <100%> (ø)
10 <0> (?)

...om/quorum/tessera/api/filter/PrivateApiFilter.java
85.71% <66.66%> (ø)
4 <3> (?)

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 86e2001...1f28f39. Read the comment docs.


Gather feedback from users

@dmitrizagidulin (maybe)

Happy to! I'll try wiring it up to rdflib and play around with it.
Couple of quick comments:

maybe the delput() and getdelput() are better named patch()? The SPARQL patch interface is intended exactly for that use case -- a specification of quads to delete and quads to insert.
The RDF/JS interface for Quad uses graph as the 4th property of a term, and it looks like you're using context for the same property. Will you also support graph as an alias for context?

References for the patch() comment:

TurtlePatch Proposal, note the two DELETE WHERE and INSERT DATA sections. (This is equivalent semantics to your getdelput() method.)
SPARQL 1.1 Update recommendation, specifically meant for RDF Graph Stores. The main difference from the Turtle Patch proposal is that instead of DELETE WHERE, this spec uses DELETE DATA -- they don't allow querying for deleted quads, they want them to be listed explicitly. (This is equivalent semantics to your delput() method.)

Proposed API change:
.patch(Array|Object delete, Array insert)
If delete is of type Array, treat it as DELETE DATA (explicit list of quads to delete), and if delete is of type Object, treat it as DELETE WHERE (like getdelput currently does).

Wonderful suggestion. Thank you! I'll open an issue straight away. With regards to point 2), if you are using the QuadStore class the name of the context term can be configured via this option: new QuadStore({ contextKey: 'graph' });

Ah, nice (re contextKey).
Any reason to not just use graph, tho? (Or maybe see if you can get the RDF/JS spec to change to context, if you prefer that one?)

Not really on our part. While researching we realised that a quadstore could also be used outside the RDF world and that some libraries were using different keywords for the fourth term, hence our decision to make that configurable (and to implement support for the RDF/JS interface in a dedicated class).

No prob, makes sense.
(It's probably worth mentioning contextKey in the README / docs, then.)

It looks like RdfStore sets it correctly
https://github.com/beautifulinteractions/node-quadstore/blob/master/lib/rdfstore.js#L20
opts.contextKey = 'graph';

In case anyone is still following this, 7.0.1-alpha.9 brings SPARQL support, including SPARQL/1.1 DELETE/INSERT WHERE. I'll close this issue as it's been open for way too long without much activity. I've also applied for the beta of the upcoming "discussions" feature here on GH for more brainstorm-y feedback.


[WIP] Add random testing of crates.io regex

This PR implements the first half of #468.
I've marked it as a WIP until I get to the bottom of the \b find_iter bug.
The tests this PR adds take a long time to run, so I disabled them by default, but added logic to ci/script.sh to run them during a travis.ci cron job. I think someone with access to the travis console will need to enable that (so probably @BurntSushi or @alexcrichton). I'm also totally happy to rip the ci changes out or just leave the tests always enabled.
Commit Msg:
This patch adds some infastructure to scrape crates.io
for regex, then run each of the regex found in this way though
a random testing gauntlet to make sure that all the different
backends behave in the same way. These random tests are
expensive, so we add a feature gate around them so that
normal CI does not get bogged down. If the CI tests are being
run in a cron job, we trigger the random testing.
To make this better we should add something which can generate
a matching string from a regex. As is this will just focus on
the negative case.

Thanks for the review!
I tried to address the comments in the patch I just pushed.
This PR is still blocked on the word boundary bug, I'll try to get to that soon.
WRT time it takes about 35 seconds in release mode and 9ish minutes in debug mode. Wow that makes a difference! I think I should probably just ditch the ci shenannigans and enable release mode for the random testing every time.

I think I should probably just ditch the ci shenannigans and enable release mode for the random testing every time.

Sounds good!

This PR is still blocked on the word boundary bug, I'll try to get to that soon.

If this turns out to be hard (and it may very well be), would it be possible to comment out those tests for now in the interest of landing the PR? I think this is overall great work, and I don't want to put you in a position where you need to fix existing bugs before landing it.

If this turns out to be hard (and it may very well be), would it be possible to comment out those tests for now in the interest of landing the PR? I think this is overall great work, and I don't want to put you in a position where you need to fix existing bugs before landing it.

Definitly! The last bug turned out the be pretty shallow when I actually looked at it, so I'm hoping this will be the same. If it leads to lazy DFA arcana I won't hesitate to bail out.
Do you happen to know if there is an easy way to enable release mode for just one test binary? If there isn't I can probably break out the build.rs hackery, but that seems gross to me.

Not to my knowledge unfortunately. build.rs hackery sounds like the best bet.

I had trouble with the word boundary bug, so I commented it out. I've removed the WIP status.
I also had trouble figuring out a build.rs hack because it looks like you are not allowed to specify arbitrary rustc flags. Instead I went back to the environment variable and CI script approach. The difference is that I no longer special case cron jobs. The random tests are run in release mode on every CI run.

I rebased this patch on top of master. Github is telling me there are changes requested, but I think the patches those comments were attached to got lost to rebasing. I do remember taking steps to address all of them though. If there is anything else I can do, please let me know!

On my machine it takes 3:36 of wallclock time (though 17:30 of CPU time). Milage may vary on the different CI servers, but I think that the startup time of AppVeyor will probably still dominate.

@ethanpailes Hmm. I'm not getting the answer I'm looking for, so I must be asking the wrong question.
Forget about CI for a moment. Adding a couple minutes to an already 10 minute build is probably something I can live with, and we don't need to make it conditional.
What I care about a lot more is the cycle time during development. There are three different things to test here:

Compile and run all tests.
Compile all tests, run everything except for the crates.io tests.
Do not compile the crates.io tests at all, but compile and run everything else.

This is the kind of thing I do a lot when working on the regex crate, so it's important to keep this cycle time down. I don't know which option to pick though because I don't have the data.
When I have time, I can pull down this PR and figure out the data points if this is still unclear.

That makes sense. I'll try to provides some times that outline of various OODA loops with notes on how I personally use each that may or may not be useful.

Action
Time
Notes

cargo clean && cargo test
1:49
This one probably does not matter that much, but it is still worth knowing. cargo test alone will not actually run the crates.io tests because the RUST_REGEX_RANDOM_TEST environment variable is not set.

After a clean build insert println!("a change") into src/exec.rs:ExecBuilder::new and cargo test
1:14
I run this sort of thing when I'm finalizing a patch. Again, will not run the crates.io tests.

After a clean build insert println!("a change") into src/exec.rs:ExecBuilder::new and cargo test --test default
0:15
This sort of thing is my main driver and probably should not have changed.

After a clean build remove println!("a change") from src/exec.rs:ExecBuilder::new and export RUST_REGEX_RANDOM_TEST=1 && time cargo test --release --test crates-regex
0:48
This will run the crates.io tests, and is faster than compiling in debug mode. Does not run any other tests.

./ci/script.sh
3:36
This one compiles and runs all tests, including the crates.io tests. I usually do this when finalizing a patch. The best way to compile and run all commands is with two commands (one for the crates.io tests in release mode, and one for the rest in debug mode).

I don't have a time for (2) from your list, because I don't know of a negative test filter you can pass to cargo test, so the only way I can think to do it is to enumerate all the other tests, which seems annoying.

I don't have a time for (2) from your list, because I don't know of a negative test filter you can pass to cargo test, so the only way I can think to do it is to enumerate all the other tests, which seems annoying.

I think it's actually the second entry in your table, no? That is, it compiles all tests, but runs everything except for the crates.io tests.
I think the thing you don't have is how long cargo test takes without needing to compile the crates.io tests.
With that said, it's a good point about cargo test --test default. That does tend to be the main thing that I run, but I do just run cargo test a bit as well.

I think it's actually the second entry in your table, no?

You're right. Derp.

I do just run cargo test a bit as well

1:15 is something I'd personally be comfortable with for an outer feedback cycle (I might have been warped by 15 minute C++ outer feedback cycles), but it is definitly starting to become annoying. I think ideally we would configure cargo test with no extra args not to compile the crates.io tests. I ran out the steam on that last time, but I can take another crack at it if you want.

It's fine. Let's just merge this, and if I become annoyed, I'll fix it. :-)

Thanks again!

Thanks!


item-after not aligned correctly?

This is a:

[x] bug
[ ] enhancement
[ ] feature-discussion (RFC)
Framework7 Version: 1.4.2
Platform and Target: Android for now

What you did
I'm using a list-block like this:

                             Name

                            Test

Expected Behavior
I kind of expect, that the content in "item-after" is aligned to the right or at least aligned to the left with a "virtual" vertical line. Just clean below each other.
Actual Behavior
The list-items are not aligned. Some are aligned to the right (if the title is longer), others are somewhere in the middle, but not centered.
This may be the intention, but it looks strange and not correct for me. So is this correct?
Thanks for the Framework btw, it has a lot of nice and easy to use features!

Do you have it online? I also have this problem with 1.5.0 but only with the browsers Firefox and Internet Explorer... here for you to try: http://www.aiei.ch/airports/

Issue is closed because of outdated/irrelevant/not actual/needed more information/inactivity.
If this issue is still actual and reproducible for latest version of Framework7, please create new issue and fill the issue template correctly:

Clearly describe the issue including steps to reproduce when it is a bug.
Make sure you fill in the earliest version that you know has the issue.
Provide live link or JSFiddle/Codepen or website with issue


chore: add release drafter automation

This PR adds the following two workflows:

Release Drafter

Automatically drafts our next GitHub release notes with each push to main
Automatically proposes a new version number as a minor or patch release
Based on the implementation in https://github.com/awslabs/aws-lambda-powertools-python/pull/56

Third-party workflow version pin validator

Automatically validates that all third-party workflows run with a pinned version hash
Based on the implementation in https://github.com/awslabs/aws-lambda-powertools-python/pull/1301

Manual steps still required for each release:

Confirm that each PR title accurately captures the scope of the change. Make sure PRs are labeled as feat: or fix: etc. correctly
Add labels to each PR corresponding to the type of PR that it is. Release drafter functions based on the label.
Re-run the Release Drafter workflow after updating labels to ensure the release draft picks up the changes.
Fill in the "What's New" section of the GitHub release before releasing
Manually update the CHANGELOG file before each release
Verify that the inferred release version that Release Drafter proposes is correct

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Will do, thanks!


mat-datepicker: Screen Reader doesn't announce the week day while navigating through the days in calender

Screen reader doesn't announce the week day while navigating through the days in calendar. Current behavior, it announces "May 21, 2021" but the user doesn't know which weekday is it.
It will be helpful if the screen readers says, "Friday, May 21 - 2021" something like this.

Closing as dup of #21357


TLS handshaking: SSL_accept() failed:

Can not login!!!
RainLoop version, browser, OS:
Rainloop Community edition
v<IP_ADDRESS> (06.11.2016)
Chrome browser
Windows 10
Server
Nginx
PHP7.0
Expected behavior and actual behavior:
login my mailserver
Steps to reproduce the problem:
login
Logs or screenshots:
login with Rainloop
mailserver log
mail    | Feb 22 10:59:41 mx dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=xxx.xxx.xxx.xxx, lip=<IP_ADDRESS>, TLS handshaking: SSL_accept() failed: error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher, session=<WOy5ZBxJpACvfiWQ>

login with thunderbird
mailserver log
mail    | Feb 22 08:14:49 mx dovecot: imap-login: Login<EMAIL_ADDRESS>method=PLAIN, rip=xxx.xxx.xxx.xxx, lip=<IP_ADDRESS>, mpid=1503, TLS, session=<JEoaFxpJnwC3lSNy>

Mailserver config
version: '2'

services:
  mail:
    restart: always
    image: tvial/docker-mailserver:latest
    # build: .
    hostname: mx
    domainname: xxx.com
    container_name: mail
    environment:
      - SSL_TYPE=letsencrypt
      -<EMAIL_ADDRESS>      - ENABLE_SPAMASSASSIN=1
      - ENABLE_CLAMAV=1
      - ENABLE_FAIL2BAN=1
      - ENABLE_POSTGREY=1
      - ONE_DIR=1
      - DMS_DEBUG=0
    cap_add:
    - NET_ADMIN
    ports:
      - "25:25"
      - "143:143"
      - "587:587"
      - "993:993"
    volumes:
      - maildata:/var/mail
      - mailstate:/var/mail-state
      - ./config/:/tmp/docker-mailserver/
      - /etc/letsencrypt:/etc/letsencrypt
volumes:
  maildata:
    driver: local
  mailstate:
    driver: local

Are you using the php mail function in RainLoop? Looks like the client (RainLoop) and the Server can't agree on an SSL/TLS cipher to use. What are your mailserver's SSL/TLS/cipher settings?

Thanks you help
I didnt use php mail function in RainLoop.
root@xxxx:/# docker exec mail cat /etc/dovecot/conf.d/10-ssl.conf

##
## SSL settings
##

# SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>
ssl = required

# PEM encoded X.509 SSL/TLS certificate and private key. They're opened before
# dropping root privileges, so keep the key file unreadable by anyone but
# root. Included doc/mkcert.sh can be used to easily generate self-signed
# certificate, just make sure to update the domains in dovecot-openssl.cnf
ssl_cert = </etc/letsencrypt/live/mx.xxx.com/fullchain.pem
ssl_key = </etc/letsencrypt/live/mx.xxxx.com/privkey.pem

# If key file is password protected, give the password here. Alternatively
# give it when starting dovecot with -p parameter. Since this file is often
# world-readable, you may want to place this setting instead to a different
# root owned 0600 file by using ssl_key_password = <path.
#ssl_key_password =

# PEM encoded trusted certificate authority. Set this only if you intend to use
# ssl_verify_client_cert=yes. The file should contain the CA certificate(s)
# followed by the matching CRL(s). (e.g. ssl_ca = </etc/ssl/certs/ca.pem)
#ssl_ca =

# Require that CRL check succeeds for client certificates.
#ssl_require_crl = yes

# Directory and/or file for trusted SSL CA certificates. These are used only
# when Dovecot needs to act as an SSL client (e.g. imapc backend). The
# directory is usually /etc/ssl/certs in Debian-based systems and the file is
# /etc/pki/tls/cert.pem in RedHat-based systems.
#ssl_client_ca_dir =
#ssl_client_ca_file =

# Request client to send a certificate. If you also want to require it, set
# auth_ssl_require_client_cert=yes in auth section.
#ssl_verify_client_cert = no

# Which field from certificate to use for username. commonName and
# x500UniqueIdentifier are the usual choices. You'll also need to set
# auth_ssl_username_from_cert=yes.
#ssl_cert_username_field = commonName

# DH parameters length to use.
#ssl_dh_parameters_length = 1024

# SSL protocols to use
ssl_protocols = TLSv1 TLSv1.1 TLSv1.2

# SSL ciphers to use
ssl_cipher_list = ECDHE+AESGCM ECDHE+AES DHE+AESGCM DHE+AES DES-CBC3-SHA

# Prefer the server's order of ciphers over client's.
ssl_prefer_server_ciphers = yes

# SSL crypto device to use, for valid values run "openssl engine"
#ssl_crypto_device =

I had some problems using ssl_cipher_list in Dovecot in the past.
What if you set:
ssl_protocols = !SSLv2 !SSLv3
#ssl_cipher_list = ECDHE+AESGCM ECDHE+AES DHE+AESGCM DHE+AES DES-CBC3-SHA

Reload Dovecot and test.

set it,reload and test. It's working.
ssl_protocols = TLSv1 TLSv1.1 TLSv1.2
#ssl_cipher_list = ECDHE+AESGCM ECDHE+AES DHE+AESGCM DHE+AES DES-CBC3-SHA

But is this safe?

I care about security and think it's safe enough as long as you keep your openssl up to date as usual.

ok,Thank you!

I solved my problem by disabling all the setting for IPv6 in NIC.
(my php version 7.1)
vim /etc/sysconfig/network-scripts/ifcfg-ethX ----> comment all IPv6 settings
systemctl restart network
This link was so helpful:
https://webinsider.pl/rainloop-webmail-gmail-timeout-ipv6/

I would suggest against using DES-CBC3 in the cipherlist, and also avoiding TLS prior to v1.3
So
ssl_protocols = TLSv1.3
ssl_cipher_list = ECDHE+AESGCM ECDHE+AES DHE+AESGCM DHE+AES


Fix localization loading and files

Moved localization call and translation file names.

Codecov Report

Merging #603 into master will not change coverage.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master     #603   +/-   ##
=========================================
  Coverage     33.19%   33.19%
  Complexity     1313     1313
=========================================
  Files            54       54
  Lines          4191     4191
=========================================
  Hits           1391     1391
  Misses         2800     2800

Impacted Files
Coverage Δ
Complexity Δ

WP_Auth0.php
22.08% <0%> (ø)
62 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


attempt to fix pink wyvern texture glitch,

Fixes #
Proposed Changes
-the png was in the loot tables by accident

Texture is not broken in the repo: https://github.com/LtxProgrammer/Changed-Minecraft-Mod/blob/master/src/main/resources/assets/changed/textures/latex_pink_wyvern.png


[Feature Request]

Is your feature request related to a problem? Please describe.
In the skeleton diagram generated by dwpose and openpose when I was doing AI animation, the arms would be covered by the upper body at the back. Originally the arms should be displayed in front of the body, but now I can only see the body but not the arms. I think 3d openpose can solve this problem to display the arm in front of the body, but it can only detect skeletons from one picture.
Describe the solution you'd like
Can you add the function of detecting skeletons from videos, or detect skeletons from pictures in batches after cutting frames?
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
https://github.com/nonnonstop/sd-webui-3d-open-pose-editor/assets/33535046/4a5fd215-2b8e-4461-bd38-b4cb44ff7f9e
Additional context
Add any other context or screenshots about the feature request here.

i think the arm is covered by the body in the skeleton diagram


Adding note

Closes https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/6362

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

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

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


Vietnamese localization is missing code of conduct

This is a Bug Report

Problem:
https://kubernetes.io/vi/community/code-of-conduct/ is a missing page. This page is important because it provides the CNCF code of conduct.
Proposed Solution:

Localize CNCF code of conduct if necessary
Add Vietnamese code of conduct page to website

Page to Update:
https://kubernetes.io/vi/community/code-of-conduct/

/priority important-soon
/language vi
/kind bug

/remove-prority important-soon
/remove-kind bug
/priority important-longterm

/remove-priority important-soon

Thank @sftim for reporting this bug. We have already solved it.

Once #19020 merges, this can close.

Thank you @sftim for reporting this bug. The PR #19020 already fixed it,


Factory function returning other di.Provide

Sorry for the multiple questions. I did search through the previous issues, but could not find what I was looking for.
I'm trying to have a function that would return a variable number of dependencies to add to the DI container, but where the function also received some dependencies from previously declared di.Provide. I saw this answer which seems to hint that it's possible for a di.Provide to return di.Option, but I cannot make it work.
Here is an example:

type moduleConfig struct {
	di.Inject
	cfg1 string `di:"cfg=m1.v1"`
	cfg2 string `di:"cfg=m2.v1"`
}

func provideModules(cfg moduleConfig) di.Option {
	//imagine some hypothetical conditions to decide which modules to create. 0-n modules can be created
	//using moduleConfig to decide...
	return di.Options(
		di.Provide(m1.NewModule1, di.As(new(component.Module))),
		di.Provide(m2.NewModule2, di.As(new(component.Module))),
	)
}

func startModules(modules []component.Module) error {
    //... do something with the declared modules
    return nil
}

func main() {
	c, err := di.New(
		di.ProvideValue("aaa", di.Tags{"cfg": "m1.v1"}),
		di.ProvideValue("bbb", di.Tags{"cfg": "m2.v1"}),
		di.Provide(provideModules),
	)
	if err != nil {
		panic(err)
	}

	err = c.Invoke(startModules)
	if err != nil {
		panic(err)
	}
}

I got it working by using Invoke and injecting to container to register new dependencies. Is there an easier way?
func provideModules(c *di.Container, cfg moduleConfig) error {
	//imagine some hypothetical conditions to decide which modules to create. 0-n modules can be created
	//using moduleConfig to decide...

	err := c.Provide(m1.NewModule1, di.As(new(component.Module)))
	if err != nil {
		return err
	}

	err = c.Provide(m2.NewModule2, di.As(new(component.Module)))
	if err != nil {
		return err
	}

	return nil
}

//...

c, err := di.New(
                //...
		di.Invoke(provideModules),
	)

Another issue I found with using di.Invoke inside di.New is if you need a parent container. The problem is that I need to create the container to be able to call AddParent, so if any .Invoke calls passed to di.New need some dependencies from the parent, it will fail. To solve this, I need to revert to creating an empty container, adding the parent, and then calling all the .Provide and .Invoke in sequence. With error management for each call, it gets quite verbose.
One useful addition would be to have an option that allows to pass the parent.
rootDI, err := di.New(...)

c, err := di.New(
	di.Parent(rootDI),
	di.Invoke(provideModules),
)

Happy to create a PR if you think that could work.

Hey @defval, any thoughts on this?
The root issue here is how to have a function that receives some existing dependencies and return new dependencies to be added to a di.Container.
I can probably cook some utility function, but I would like to know how you would solve this first.

I did some thinking and maybe adding a ProvideOptions function would solve this without much impact on the library API. And it could kill 2 birds with one stone as it solves the conditional injection and it avoids the need to inject the di.Container using Invoke, so we skip the issue with the parent/child both providing a di.Container. The parent/child would still need solving, but that would be a edge case now.
type Backup struct{}

type Cfg struct {
	BackupEnabled bool
}

func provideOptionalDependencies(cfg *Cfg) ([]di.Option, error) {
	if cfg.BackupEnabled {
		return []di.Option{di.ProvideValue(Backup{})}, nil
	}
	return nil, nil
}

func main() {
	c, err := di.New(
		di.ProvideValue(Cfg{BackupEnabled: true}),
                // every di.Option returned by this function are applied to the container
		di.ProvideOptions(provideOptionalDependencies),
	)
	if err != nil {
		panic(err)
	}

	//...
}

Thoughts?

Created a PR to propose a solution
https://github.com/defval/di/pull/53

Hello @matdurand,
Sorry for the delayed reply. I've reviewed your suggestion of using a ProvideOptions function for conditional injections and find it aligns well with our library's design.
Additionally, I've been contemplating a When/If ProvideOption for conditional provides, which involves a pre-provide check to decide whether a dependency should join the graph. For example:
type Backup struct{}
type Cfg struct {
    BackupEnabled bool
}

func IsBackupEnabled(cfg *Cfg) (bool, error) {
    return cfg.BackupEnabled, nil
}

func main() {
    c, err := di.New(
        di.ProvideValue(Cfg{BackupEnabled: true}),
        di.ProvideValue(Backup{}, di.When(IsBackupEnabled))
    )
    if err != nil {
        panic(err)
    }
    //...
}

This method could offer a more streamlined approach to managing conditional dependencies. Currently, I'm unable to dedicate time for development and testing of this feature, but I'm open to contributions.
I'm interested in your opinion: how do you see the di.When provide option in comparison with the di.ProvideOptions method you proposed?

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
🎉 Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. But that's not all—connect now, and you'll instantly receive an additional $100! Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. 🌐 Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. 🔄 Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

💰 Don't miss out on your $1500 in BNB! Plus, enjoy an instant $100 upon connection. Act now to secure your tokens. And hey, seize the chance to win up to $20,000—it's your golden opportunity!
Winners: @liuyanghejerry, @evanlabs, @avardaan, @Howard0401, @ZhongliGao, @yasharma02, @afewnotes, @ayushpaharia, @RiekB, @dtmrc, @minhhung2907, @LorisGr, @dhirajkumar0, @KayatoX, @BrianVia, @dbl007, @snowraincloud, @Chrakimnas6, @jordidimass, @adityathakurxd, @andyrobert3, @dpoooooooo, @zemtemezhe, @zhanxdani, @voletro, @lkwr, @Tang-hubert, @gitgobby, @invelsec, @w0125yt, @Nangelov7, @LDJ-21, @JCalmCrasher, @NickReisenauer, @stefanhenseler, @lolwierd, @aaronangxz, @NoelJacob, @idirboutzgzaouine, @horizon67, @fieryzig, @alesurankar, @dmtrshat, @Ferfelipe30, @soloavenger, @jibinmathew69, @freewind, @AbhishekRoyalking, @demiroo, @noxliu

Hey @defval,
At first glance, I like the di.When approach because it's very explicit, but after a bit of thinking, it seems more specialized than the ProvideOptions method. Sure ProvideOptions can be used to create conditional dependencies, but it can also be used to provide a list of any dependencies. However, on the top of my head, I cannot find any real life use cases beside conditional dependencies for which returning a list of Options would be useful.
From an implementation standpoint, it seems obviously a bit more complex to implement di.When since the library would need to interpret the di.When. Would you evaluate the When immediately and just discard the provided constructor if the result is false? or is there any value to keeping track of "false" dependencies, for logging/debugging purposes? But anyway, all of this is more complex than the ProvideOptions alternative.
There are just my initial thoughts.


Add activemq_xml e2e

Add activemq_xml e2e

Can we remove the autouse here while we're at it?
https://github.com/DataDog/integrations-core/blob/master/activemq_xml/tests/conftest.py#L16
That's confusing and bad if someone adds unit tests at some point.
Good otherwise 👍


[3818] Placeholder for confirmed allocations

Context

https://trello.com/c/sAOGBGQF/3818-backend-allocation-for-final-numbers
Updates allocations endpoints to include confirmed allocation numbers

Changes proposed in this pull request

Exposes confirmed_number_of_places as part of the allocation endpoints
This commit must be rolled out before the publish changes

Guidance to review

Test in unison with https://github.com/DFE-Digital/publish-teacher-training/pull/1318
Find a provider with allocations eg B20
Modify one of their allocations in the rails console and set confirmed_number_of_places to 123
View the allocation via publisher web interface. Should see 123
The other unset allocation should be blank i.e. the app does not throw an error

Checklist

[ ] Make sure all information from the Trello card is in here
[ ] Attach to Trello card
[ ] Rebased master
[ ] Cleaned commit history
[ ] Tested by running locally

 Backend allocation for final numbers


objc_storeWeak on a block encounters an access violation

I'm seeing an access violation in the ARC reference counting fast path for blocks.
We end up reading sizeof(uintptr_t) bytes before the beginning of a block instance before the fast_arc flag check on isa here: https://github.com/gnustep/libobjc2/blob/master/arc.m#L528

Thanks for the report.  I also found another bug while chasing this one.  Both are now fixed.


draw directed arrow for graph

hi guys,
i am using pixijs with ngraph but i am facing issue with creating directed arrow, can anyone guide me how i can create directed arrow using graphics or using sprite(we should be able to use sprite object with graphics object), i am able to create line this way :
code:
graphics.lineStyle(5, 0xcccccc, 1);
graphics.moveTo(150, 400);
graphics.lineTo(500, 400);
graphics.lineStyle(0);
but not able to create arrow heads, please help me out as soon as possible, thanks in advance.

As for my project, the amount of  nodes and links are huge. I think, to draw every triangle for every line is too complicated. Can you have any better ideas?

I just did this in a project with many lines and make the arrow tip a Sprite. Worked well for me.


ReaderObservable.chainTaskK type signature

https://github.com/gcanti/fp-ts-rxjs/blob/40a4e4f0ff5ab3c6904f13c16b9e1e55b44378e4/src/ReaderObservable.ts#L131-L133
Is the type signature of this function correct? I would expect the function passed to chainTaskK to return a Task not an Observable.

Totally right, or this should renamed chainObservableK


publicServerURL (PSU) overriding mount in 2.2.5

Had an issue yesterday where the (PSU) was overriding the mount. The issue is the example of (PSU) in the readme.md file uses http://example.com. Of course this is misleading, since after you use a similar thing, all your files will be loaded back as http://example.com/files... instead of http://example.com/parse/files.. This will lead to a 404 not found request.
Could you possibly include this in your readme guide. That is change it to http://example.com/parse. or completely revert the (PSU) overriding the mount.
The update in particular is:
Adds ability to override mount with publicServerURL for production uses #1287 (flovilmart)
Check out this issue for an ideal bug report. The closer your issue report is to that one, the more likely we are to be able to help, and the more likely we will be to fix the issue quickly!
For implementation related questions or technical support, please refer to the Stack Overflow and Server Fault communities.
Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Server!

[x] You've met the prerequisites.

[x] You're running the latest version of Parse Server.

[x] You've searched through existing issues. Chances are that your issue has been reported or resolved before.

Environment Setup
Steps to reproduce
Logs/Trace

@mutex007 I believe this is a documentation problem, the publicServerURL is intended to be the same as serverURL but with a publicly accessible address. Can you confirm that with  publicServerURL set as http://example.com/parse it's all working?

Correct works with http://example.com/parse
Regards.

I'll update the readme


Mission control hotkeys

While creating my own dev-playbook I used yours as a reference and read that you create the mission control hotkeys by hand. I investigated that matter and came up with the following ansible task:
- name: Set space changing hotkeys (Create dict).
  command: >
    /usr/libexec/PlistBuddy ~/Library/Preferences/com.apple.symbolichotkeys.plist
    -c "Add :AppleSymbolicHotKeys:{{ item.1 + 117 }} dict"
    -c "Add :AppleSymbolicHotKeys:{{ item.1 + 117 }}:enabled bool true"
    -c "Add :AppleSymbolicHotKeys:{{ item.1 + 117 }}:value dict"
    -c "Add :AppleSymbolicHotKeys:{{ item.1 + 117 }}:value:parameters array"
    -c "Add :AppleSymbolicHotKeys:{{ item.1 + 117 }}:value:type string \"standard\""
    -c "Add :AppleSymbolicHotKeys:{{ item.1 + 117 }}:value:parameters: integer 65535"
    -c "Add :AppleSymbolicHotKeys:{{ item.1 + 117 }}:value:parameters: integer {{ {1: 18, 2: 19, 3: 20, 4: 21, 5: 23, 6: 22, 7: 26, 8: 28, 9: 25}[item.1] }}"
    -c "Add :AppleSymbolicHotKeys:{{ item.1 + 117 }}:value:parameters: integer 262144"
  with_indexed_items: [1, 2, 3, 4, 5, 6, 7, 8, 9]

I just wanted to let you know since I greatly benifited from you playbook. I also created an ansible role for a lot of macOS settings which also has the mission control hotkeys included.

Awesome! Thanks for the tip. At some point when I have time over again I'll switch over to your role 👍

ping @geerlingguy you might be interested in https://github.com/kinglouie/ansible-role-macos as well

Quite right about that! Looks like a nice role.


Implement Your Balance section

I also have a question, why do you use "tracking-[value]"? Does the printer's style guide not have the right line heights?

I do this that in order to be 100% sure that the typography is the same as seen in the design


R.swift 7 – Major version, Xcode plugin, internal refactor

⚠ This is a test version of a new version major of R.swift.
Global overview:

Refactored internals (therefore: breaking changes)
Merged R.swift and R.swift.Library projects
Smaller generated code
A lot of fixes to open issues
SPM Plugin support

This version still needs testing in real world projects, to see if there are things broken that shouldn't be. Also a proper migration guide needs to be written.

If you want to help testing this version in your project:
CocoaPods:
pod 'R.swift', '~> 7.0.0-alpha.16'
SPM:
.package(url: "https://github.com/mac-cain13/R.swift.git", branch: "refactor")

Fixes:

fixes https://github.com/mac-cain13/R.swift/issues/48
fixes https://github.com/mac-cain13/R.swift/issues/102
fixes https://github.com/mac-cain13/R.swift/issues/136
fixes https://github.com/mac-cain13/R.swift/issues/155
fixes https://github.com/mac-cain13/R.swift/issues/252
fixes https://github.com/mac-cain13/R.swift/issues/454
fixes https://github.com/mac-cain13/R.swift/issues/511
fixes https://github.com/mac-cain13/R.swift/issues/600
fixes https://github.com/mac-cain13/R.swift/issues/608
fixes https://github.com/mac-cain13/R.swift/issues/617
fixes https://github.com/mac-cain13/R.swift/issues/634
fixes https://github.com/mac-cain13/R.swift/issues/695
fixes https://github.com/mac-cain13/R.swift/issues/707
fixes https://github.com/mac-cain13/R.swift/issues/709
fixes https://github.com/mac-cain13/R.swift/issues/710
fixes https://github.com/mac-cain13/R.swift/issues/714
fixes https://github.com/mac-cain13/R.swift/issues/735
fixes https://github.com/mac-cain13/R.swift/issues/738
fixes https://github.com/mac-cain13/R.swift/issues/742
fixes https://github.com/mac-cain13/R.swift/issues/747
fixes https://github.com/mac-cain13/R.swift/issues/754

Hello, I wanted to implement R.swift 7 to my package. So I added it to the package as you described
.package(url: "https://github.com/mac-cain13/R.swift.git", branch: "refactor")

No I was able to see the plugins, but just two of them:

Anyway, I gave it a try and I called the generate plugin which successfully created R.generated.swift for me. But now I received another error as you see below, it says Cannot find type 'ImageResource' in scope

So I have two questions:

Do I do something wrong that I don't see other plugins like the one for generating public resources (RswiftGeneratePublicResources)?
Do I do something wrong that R.generated doesn't know about ImageResource ?

Thank you very much for you help and your work!

@RobertDresler Thanks for testing this version!
There are two types of plugin, Command plugins that you manually need to call (like RswiftGenerateResourcesCommand) and Build plugins that can be run on every build (like RswiftGeneratePublicResources).
You can configure the build plugin in Xcode from the target "Build Phases" tab, in the "Run Build Tool Plug-ins" section:

NOTE: For some reason, sometimes just adding the build tool there doesn't actually run it when building the project (I don't know why). That's why I added the RswiftModifyXcodePackages that can be run ones, it fixes up the Xcode project file, to make the build tool work.
As for the error about the ImageResource not being found. That seems to be an error in the generated code, I'll fix that in the next version.

@tomlokhorst thank you, I was able to generate public resources by adding dependencies: [.product(name: "RswiftLibrary", package: "R.swift")] and plugins: [.plugin(name: "RswiftGeneratePublicResources", package: "R.swift")]  to my target as you suggested!
About ImageResource, I'll wait until you fix it. BTW Thank you for your very fast response, I wasn't expecting it that fast 😄

The latest commit should fix the missing import for ImageResource.

@tomlokhorst ok, thank you. Public image resources as well as strings works for me like a charm! 🎉

Hello, thats me again. I'm now trying to perform my first clean build of the app using new R.swift on Bitrise using Fastlane and I run into this issue
The following build commands failed:
	Validate plug-in “RswiftGeneratePublicResources” in package “r.swift”

Don't you have any idea what could cause this problem?

@tomlokhorst thanks! Adding -skipPackagePluginValidation to xcodebuild fixed that for me!
For future readers who use Fastlane; add it to xcargs to build_app:
build_app(
  ...
  xcargs: "-skipPackagePluginValidation"
  ...
)

One small thought, instead of maintaining the existing code-generating code, maybe we could use SwiftSyntax to generate code.

Demo video: Updating from R.swift 6 to 7:
https://www.youtube.com/watch?v=icihJ_hin3I


[Uperf] Control Ports used by uperf

Currently uperf uses port 20000 for the TCP control port, but picks random port numbers for the dataplane traffic. Depending on the number of threads in the test, we should be able to template out corresponding port numbers on the uperf xml, to have a deterministic assignment of port numbers that we can later use to enable networkpolicy.

@mohit-sheth I thought we had some ideas on this one?

@mohit-sheth I thought we had some ideas on this one?


Brand new Windows installation not allowing me to run any react-native apps on Android. "Task 'installDebug' not found in project ':app'.".

Description
My windows got some files corrupted this weekend and I have to format it in order to get back to work. After reinstalling everything, I went back to start working on my react-native project and there's no way I can run it either on my phone or on an AVD.
Task 'installDebug' not found in project ':app'. - Is the error code I get from it, I tried reinstalling all the tools needed, tried running via console, via Kali Linux terminal for W10, via Webstorm and Android Studio but I always get the same error. I also tried creating a new project from scratch in every way I could and got nothing out of it.
What seemed like the most reasonable solution would be to fix the gradle by the search I did on the internet, but all the possible solutions I tried led me to nothing.
React Native version:
React Native v2.0.1
Node.js v13.12.0
JDK v14
OnePlus 7T Pro AV10
Steps To Reproduce
Not really much to say on this as it was the first thing that happened once I started trying to run any sort of app on Android.
Complete error description:
"C:\Program Files\nodejs\node.exe" C:\Users\Metsamies\AppData\Roaming\npm\node_modules\react-native-cli run-android
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 960 file(s) to forward-jetify. Using 8 workers...
info JS server already running.
info Installing the app...
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.0.1/userguide/command_line_interface.html#sec:command_line_warnings
FAILURE: Build failed with an exception.

What went wrong:
Task 'installDebug' not found in project ':app'.

Try:
Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 3s
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
FAILURE: Build failed with an exception.

What went wrong:
Task 'installDebug' not found in project ':app'.

Try:
Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 3s
at makeError (C:\Users\Metsamies\WebstormProjects\Blergh\node_modules\execa\index.js:174:9)
at C:\Users\Metsamies\WebstormProjects\Blergh\node_modules\execa\index.js:278:16
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async runOnAllDevices (C:\Users\Metsamies\WebstormProjects\Blergh\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:94:5)
at async Command.handleAction (C:\Users\Metsamies\WebstormProjects\Blergh\node_modules\react-native\node_modules\@react-native-community\cli\build\index.js:186:9)

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/getting-started.html#android-development-environment. Run CLI with --verbose flag for more details.

same on macOS
node : 12.16.1
react-native:  0.62.0
react: 16.11.0
react-native-cli :  2.0.1
Brand new project with react-native-cli created

react-natvie run-android

got error below:
Note: Recompile with -Xlint:deprecation for details.
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:installDebug'.

Failed to install on any devices.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 1m 26s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/getting-started.html#android-development-environment. Run CLI with --verbose flag for more details.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081

same issue occur with me.

Closing as we fixed all the Android/Windows issues in React Native 0.71


config: change sentry's transport method to threaded

Closed since uWSGI has some issues with the threaded transport


params on last version using hash and '?'

Hello
I have this:
<Route name="oauth" path="/oauth?token=:token" handler={ LoginOauth } />
it doesn't work on react 0.14.x and last version (1.0.0) of react-router. LoginOauth is never called.
how can I make it works? can I use params after a '?' using a hash history?
TIA

Thanks for your question!
We want to make sure that the GitHub issue tracker remains the best place to track bug reports and feature requests that affect the development of React Router.
Questions like yours deserve a purpose-built Q&A forum. Would you like to post this question to Stack Overflow with the tag #react-router? https://stackoverflow.com/questions/ask?tags=react-router.
We also have an active and helpful React Router community on Reactiflux, which is a great place to get fast help with React Router and with the rest of the React ecosystem. You can join at https://discord.gg/0ZcbPKXt5bYaNQ46.


[Draft] [C#] Enable nullable environment for GodotSharp

This PR showcases a GodotSharp environment where nullability is enabled. While initially conceived as a means to centralize changes which can be branched off into standalone PRs (eg: #82980, #82983), it also showcases the consequences of trying to retrofit the concept without first undergoing significant refactoring
The biggest culprit is GodotObject, and how it's uniquely a reference type that Godot allows for nullability. While this draft explores the idea of returning GodotObject fields as nullable, I'm not convinced that makes for the best approach, because it floods almost every existing method/field with an added nullability check. It might be worth considering an approach similar to Unity Objects, where there's operator overloads & behind-the-scenes null checks to better handle null in the context of that environment. Or it could even be as simple as throwing in a bunch of [AllowNull]/[MaybeNull] annotations in the generation for object files
While the majority of areas have warnings accounted for, there's still a handful that have them. This is mainly those that I'm not entirely sure yet how to handle, or areas that feel particularly sensitive to adjustment. It's also entirely possible that many of these warnings/cases simply wouldn't be a thing with future core additions (particularly, some means of knowing if an object return value can be null). Either way, this is provided as-is for discussion and so potential areas can be cherrypicked for implementation as needed

Enabled nullability in Godot.SourceGenerators.Sample so there's a proper testing environment to work with. Will potentially expand to other projects as well, considering how many lift from GodotSharp/GodotSharpEditor

Reposting from Rocket.Chat for posterity:

Had a brainblast on how to handle GodotObject in a nullable environment with the current ClassDB: throwable sister methods. Because it and its derived types are the only context where a reference can return null, I expanded the binding generator to add an extra method for them exclusively. The normal version is nullable (as the Object type implicitly is with Godot), and the throwing version is non-nullable. Tried to add some extra logic to not need these methods if a function very obviously can return null as an intended value (eg: GetNodeOrNull), though it can be further improved. And it's obviously a workaround for not having explicit data to pull from, but I'm happy with how it turned out! Here's a generated example:
/// <summary>
/// <para>Returns the parent node of the current node, or <c>null</c> if the node lacks a parent.</para>
/// </summary>
public Node? GetParent()
{
    return (Node?)NativeCalls.godot_icall_0_47(MethodBind13, GodotObject.GetPtr(this));
}

/// <inheritdoc cref="GetParent"/>
/// <exception cref="GodotObject.InvalidNullReturnException"/>
public Node GetParentOrThrow()
{
    return GetParent() ?? throw new GodotObject.InvalidNullReturnException();
}

Walked back the above two posts; I won't be adding any new functions nor expanding nullability to Godot.SourceGenerators.Sample. Both are outside the original scope of this PR and id prefer to keep things focused on ensuring a single, nullable environment

As this PR is now functionally-sound entirely in isolation, I'm comfortable removing the "draft" qualifier. While it can still serve as a means of seeing how individual components would be handled, this should be just as viable to merge as-is
There's still no real answer for how best to handle GodotObject being implicitly nullable for the overwhelming majority of cases, but upon further reflection that's not really in the scope of this PR. This was about getting the existing functionality into a nullable environment, and GodotObject just so happens to be the one and only reference type that's truly nullable, and implicitly so

There's still no real answer for how best to handle GodotObject being implicitly nullable for the overwhelming majority of cases

I'm not familiar with the specifics of this PR, but this bit sounds like it might be related to this proposal that we were discussing at the GDExtension team meeting today: https://github.com/godotengine/godot-proposals/issues/2241

That proposal would indeed be the solution! This PR introduces nullability in an environment that lacks those hints, so GodotObject is always treated as a nullable reference type (with very few already-guaranteed exceptions, like engine singletons), but all other reference types are never nullable (strings, StringName, NodePath, etc), just by nature of the current Godot implementations


Fix links in change log.

The changelog crate is a bit tricky!  Gotta make sure we point to the right commits.

Future self should be making the change log from a direct clone, and not from a fork!


Call api and authentication Route

TODO:
will using this open api,
and write a protected route with authentication both server and client side sample.

closing this because currently don't have much time to do it


Deamon crashed when producing block

Preliminary Checks

[X] This issue is not a duplicate. Before opening a new issue, please search existing issues: https://github.com/MinaProtocol/mina/issues
[X] This issue is not a question, feature request, RFC, or anything other than a bug report. Please post those things in GitHub Discussions: https://github.com/MinaProtocol/mina/discussions

Description
Deamon crashed when producing block:
2023-01-07 10:44:37 UTC [Info] Producing a block in "29" slots
2023-01-07 10:44:37 UTC [Info] Deamon has been running for 10448 mins. Stopping now...
2023-01-07 10:44:38 UTC [Error] Internally generated block $state_hash cannot be rebroadcast because it's not a valid time to do so ("1 slots too late")
	state_hash: "3NKmru8yY1ka27LSjf5t75U7kPTXfVUTK4bHs3QuwXFJeMaAr4RB"
2023-01-07 10:44:38 UTC [Info] Saw block with state hash $state_hash
	state_hash: "3NKmru8yY1ka27LSjf5t75U7kPTXfVUTK4bHs3QuwXFJeMaAr4RB"
2023-01-07 10:44:38 UTC [Info] Running async shutdown handler: "Close transition frontier, if exists"
2023-01-07 10:44:38 UTC [Info] Running async shutdown handler: "Remove daemon lockfile"
2023-01-07 10:45:28 UTC [Fatal] Unhandled top-level exception: $exn
Generating crash report
	exn: {
  "commit_id": "25388a0fed9695e8e9d04f75f50c2bae1c9c80db",
  "sexp": [
    "monitor.ml.Error",
    [
      "Merkle_mask.Masking_merkle_tree.Make(Inputs).Attached.Dangling_parent_reference(\"0ccca769-9918-3073-30c4-8976dfb09874\", \"File \\\"src/lib/mina_lib/mina_lib.ml\\\", line 1418, characters 49-56\")"
    ],
    [
      "Raised at Merkle_mask__Masking_merkle_tree.Make.Attached.assert_is_attached in file \"src/lib/merkle_mask/masking_merkle_tree.ml\", line 118, characters 10-57",
      "Called from Merkle_mask__Masking_merkle_tree.Make.Attached.location_of_account_batch in file \"src/lib/merkle_mask/masking_merkle_tree.ml\", line 571, characters 6-26",
      "Called from Network_pool__Snark_pool.Make.Resource_pool.T.handle_new_best_tip_ledger.(fun) in file \"src/lib/network_pool/snark_pool.ml\", line 312, characters 29-136",
      "Called from O1trace.trace_recurring in file \"src/lib/o1trace/o1trace.ml\" (inlined), line 39, characters 2-26",
      "Called from Network_pool__Snark_pool.Make.Resource_pool.T.handle_new_best_tip_ledger.(fun) in file \"src/lib/network_pool/snark_pool.ml\", line 308, characters 23-553",
      "Called from Base__Result.map in file \"src/result.ml\", line 116, characters 19-24",
      "Called from Async_kernel__Deferred1.M.map.(fun) in file \"src/deferred1.ml\", line 17, characters 40-45",
      "Called from Async_kernel__Job_queue.run_job in file \"src/job_queue.ml\" (inlined), line 128, characters 2-5",
      "Called from Async_kernel__Job_queue.run_jobs in file \"src/job_queue.ml\", line 168, characters 6-47"
    ]
  ],
  "backtrace": [
    "Raised by primitive operation at Core__Core_unix.read_assume_fd_is_nonblocking in file \"src/core_unix.ml\", line 125, characters 2-55",
    "Called from Async_unix__Interruptor.clear.(fun).loop in file \"src/interruptor.ml\", line 74, characters 17-193"
  ]
}
Mina process exited with status code 1

Not sure if the exception caused the issue or was just a result of shutdown.
Steps to Reproduce
No steps to reproduce, seems like a random failure.
Expected Result
Deamon not crashing randomly.
Actual Result
Deamon crashing randomly.
How frequently do you see this issue?
Sometimes
What is the impact of this issue on your ability to run a node?
High
Status
Using password from environment variable MINA_PRIVKEY_PASS
Using password from environment variable MINA_PRIVKEY_PASS
Using password from environment variable MINA_PRIVKEY_PASS
Mina daemon status
-----------------------------------

Global number of accounts:                     138572
Block height:                                  214028
Max observed block height:                     214028
Max observed unvalidated block height:         214028
Local uptime:                                  38m51s
Ledger Merkle root:                            jwprw9tf9oHLpscTiULW6MKA4b6XsGgQDgMNvjVVghjd1Snknab
Protocol state hash:                           3NLjtGqmk2KgAD7mGNEqv5aFNoHVyYcBtbsVro2uo9UW7JZPrzuM
Chain id:                                      5f704cc0c82e0ed70e873f0893d7e06f148524e3f0bdae2afb02e7819a0c24d1
Git SHA-1:                                     25388a0fed9695e8e9d04f75f50c2bae1c9c80db
Configuration directory:                       /root/.mina-config
Peers:                                         35
User_commands sent:                            0
SNARK worker:                                  None
SNARK work fee:                                100000000
Sync status:                                   Synced
Catchup status:
	To build breadcrumb:           0
	To initial validate:           0
	Finished:                      11
	To download:                   0
	Waiting for parent to finish:  0
	To verify:                     0

Block producers running:                       1 (B62qmFf6UZn2sg3j8bYLGmMinzS2FHX6hDM71nFxAfMhvh4hnGBtkBD)
Coinbase receiver:                             Block producer
Best tip consensus time:                       epoch=44, slot=3347
Best tip global slot (across all hard-forks):  317507
Next block will be produced in:                in 43.661m for slot: 317523 slot-since-genesis: 317523 (Generated from consensus at slot: 317493 slot-since-genesis: 317493)
Consensus time now:                            epoch=44, slot=3348
Consensus mechanism:                           proof_of_stake
Consensus configuration:
	Delta:                     0
	k:                         290
	Slots per epoch:           7140
	Slot duration:             3m
	Epoch duration:            14d21h
	Chain start timestamp:     2021-03-17 00:00:00.000000Z
	Acceptable network delay:  3m

Addresses and ports:
	External IP:    <IP_ADDRESS>
	Bind IP:        <IP_ADDRESS>
	Libp2p PeerID:  12D3KooWFrRjePtbNPUwEQDqeABJpCLqFW5B4v1fBJu46WLaFrxn
	Libp2p port:    8302
	Client port:    8301

Additional information
No response

Isn't it the duplicate of #12437?


Gradle Build

Builds with gradle. Tests are not running via gradle but looking at build.xml tests were not run at build time.
The gradle build is very basic and needs deployment details added to it via the maven plugin. Will build.gradle evolve over time by the community... hopefully.

Uh ok, I was working on getting BinNavi to build with Maven instead. Let me check out your Gradle build. OTOH, we probably don't want to maintain two build systems. Or maybe we do, if it's not much work :)

So, I'll accept this pull request if we keep the original default in the Travis file. We also should make it clear in the README.md that the Gradle build it not the default and that it might break every now and then (as I have no experience with Gradle and Ant/Maven works well enough for now).

No problem will sort out now.


[Google Map] Marker not shown

The map itself is shown and zooming works but the marker/markers are not shown.
I'm using the latest version of the package with Laravel 8 and PHP 8

Hey mohammed,
Thx for the issue. im going to look into it!

Hey Mohammed,
I found the bug and fixed it. A new release has been published. Give packagist a few minutes to update and you should be able to download it then. Can you let me know if it works for you?

It works now. Thanks, @LarsWiegers


[Performance Problem] The tf.image.crop_and_resize op costs much time during training

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 16.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: None
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 1.15
Python version: 3.6
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: 10.0/7.6.4
GPU model and memory: GTX 1080Ti, 11Gb

Problem Description
Hi Dear experts, my question is about the performance problem on the tf.image.crop_and_resize op. My code is as follows:
def roi_pooling(featuremap, boxes, box_inds, crop_size, data_format='channels_last'):
    if data_format == 'channels_first':
        shp2d = tf.shape(featuremap)[2:]
        featuremap = tf.transpose(featuremap, [0, 2, 3, 1])
    else:
        shp2d = tf.shape(featuremap)[1:3]
    feat_h, feat_w = tf.cast(shp2d[0], tf.float32), tf.cast(shp2d[1], tf.float32)
    xmin, ymin, xmax, ymax = tf.split(boxes, num_or_size_splits=4, axis=1)
    xmin /= feat_w
    ymin /= feat_h
    xmax /= feat_w
    ymax /= feat_h
    normalized_boxes = tf.concat([ymin, xmin, ymax, xmax], axis=1)
    normalized_boxes = tf.stop_gradient(normalized_boxes)

    box_features = tf.image.crop_and_resize(image=featuremap,
                                            boxes=normalized_boxes,
                                            box_ind=box_inds,
                                            crop_size=crop_size)  # nhwc
    box_features = tf.layers.average_pooling2d(inputs=box_features, pool_size=2,
                                               strides=2, padding='valid',
                                               data_format='channels_last')

    if data_format == 'channels_first':
        box_features = tf.transpose(box_features, [0, 3, 1, 2])  # nhwc --> nchw

    return box_features

And I've take the full trace of the training procedure using the tensorflow.python.client.timeline object and got the following tracing graph.

From this graph, we can see that the tf.image.crop_and_resize ops costs much time during one training step. So is this reasonable? Could you please give some advice on how to improve the performance? Thanks.

@Remember2018 ,
Can you provide a standalone code to reproduce the issue reported here as the given code is not sufficient to replicate it?Thanks!

@oanush thanks a lot for your kind reply! I've found the cause. In the project, the number of input boxes of tf.image.crop_and_resize are about 12000, which seems too large and leads to slow performance. When decreasing the number, we can get the reasonable performance.


Update configure-remediation-microsoft-defender-antivirus.md

Made changes to the default or not configured info for quanrentine
Fixes https://github.com/MicrosoftDocs/microsoft-365-docs/issues/12179

@JohanFreelancer9 Please copy review


Option to obey Tiled's renderorder.

Sorts tiles based on the renderorder given by Tiled if the map's obeyRenderorder is set (defaults to false).
Allows for 2.5d maps, or maps with oversized tiles.
Does impact performance if enabled.
As an aside, I happened to notice that the tilelayer always adds children to itself as if it was always going to have tiles covering the screen, which isn't the case with sparse maps, which could make quite a speed difference for a sorted sparse map.
I'd hope to have a more advanced sorting method eventually, this is just to enable the functionality.

Nice, is this a solve for #38?

Well, kind of.   I think #38 is based on an older phaser-tiled version because the current version allows tiles that are larger than the grid.  So, it would solve his ordering issue but he actually says he'll need a non-supported ordering anyway.  So ... kind of :)

haha, thanks for this!


No access to development http sites

Ghost version: X.Y.Z
App version: 1.2.1

The app interface, on the first screen, strictly enforces a https address. This prevents access to a local Ghost instance running in development mode. It would be nice to have a checkbox or some other mechanism to allow that.

Hi @mlawren! :wave:
Even though the login screen says https, it will fall back to http if that doesn't work. Try it 🙂

Hi Vicky,

Even though the login screen says https, it will fall back to
http if that doesn't work. Try it :slightly_smiling:

Thanks for the quick response. Happy to hear that I can in fact connect
to http sites.
I agree that this issue can be closed but I still think there is a
useability issue. The interface makes it clear that http is not even an
option. It would be less confusing if the prompt didn't mention a
protocol at all. Perhaps consider removing it?
Thanks for all your hard work making this app!
--
Mark Lawrence


gurobi time limit might cause cvxpy key error exception

Describe the bug
cvxpy fails with an unexpected KeyError: 'primal' exception when gurobi conic solver finishes without finding a solution
To Reproduce
Unfortunately I can't provide the code right now but here are the steps:

Submit a problem which takes at least T seconds to gurobi to find a solution
Set a time limit lower than T.  prob.solve(solver="gurobi", timeLimit=T-1, verbose=true)
gurobi returns with status TIME_LIMIT
gurobi doesn't set the solution variable X in the model
cvxpy try to access the gurobi solution variable : solution["primal"] = np.array([v.X for v in variables])  at https://github.com/cvxgrp/cvxpy/blob/master/cvxpy/reductions/solvers/conic_solvers/gurobi_conif.py#L229
the error AttributeError : ("Unable to retrieve attribute 'X'",) is raised, and caught silently at https://github.com/cvxgrp/cvxpy/blob/master/cvxpy/reductions/solvers/conic_solvers/gurobi_conif.py#L242
now the key "primal" is not set in the solution
later in invert_data, cvxpy try to access  "primal" https://github.com/cvxgrp/cvxpy/blob/master/cvxpy/reductions/solvers/conic_solvers/gurobi_conif.py#L113
Fails with KeyError: 'primal'

Expected behavior
cvxpy should return with either a solver error or a user limit, whatever you deem more accurate
Output
If applicable, include program output. If reporting a program crash, please include the entire stack trace.
  File "/tmp/lib/python3.8/site-packages/cvxpy/problems/problem.py", line 396, in solve
    return solve_func(self, *args, **kwargs)
  File "/tmp/lib/python3.8/site-packages/cvxpy/problems/problem.py", line 754, in _solve
    self.unpack_results(solution, solving_chain, inverse_data)
  File "/tmp/lib/python3.8/site-packages/cvxpy/problems/problem.py", line 1058, in unpack_results
    solution = chain.invert(solution, inverse_data)
  File "/tmp/lib/python3.8/site-packages/cvxpy/reductions/chain.py", line 79, in invert
    solution = r.invert(solution, inv)
  File "/tmp/lib/python3.8/site-packages/cvxpy/reductions/solvers/conic_solvers/gurobi_conif.py", line 113, in invert
    primal_vars = {inverse_data[GUROBI.VAR_ID]: solution['primal']}
KeyError: 'primal'

Version

OS: ubuntu 20.04
CVXPY Version: 1.1.6

Additional context
gurobi version : 9.0.2

Do you want to try fixing this in a PR? It's easier for you to debug than for us to debug, since you can generate the error. Make it return SolverError.

Hello @SteveDiamond ! I have tried to submit my pull request by pushing my local branch first with git push --set-upstream origin my-branch, but I get the following error:
ERROR: Permission to cvxgrp/cvxpy.git denied to ashamraeva.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Is there something I need to do first? My commits are signed with the GPG, so that should not be the problem... Many thanks and sorry to trouble you with this!

You need to fork the repo and make your PR from the fork.
Sent with GitHawk

@SteveDiamond thank you, that worked!


FI-582: Data Absent Reason tests

This branch adds tests for data absent reasons. It ties into fetch_all_bundle_resources and validate_read_reply to search each retrieved resource for the data absent reason extension and the data absent reason code. The TestingInstance tracks whether each of these have been found, and then the actual data absent reason sequence just checks the values on TestingInstance. As part of this branch I also added a way to include static files with the US Core generation.
Submitter:

[x] This pull request describes why these changes were made
[x] Internal ticket for this PR: https://oncprojectracking.healthit.gov/support/browse/FI-582
[x] Internal ticket links to this PR
[x] Internal ticket is properly labeled (Community/Program)
[x] Internal ticket has a justification for its Community/Program label
[x] Code diff has been reviewed for extraneous/missing code
[x] Tests are included and test edge cases
[x] Tests/code quality metrics have been run locally and pass

Reviewer 1:
Name:

[ ] Code is maintainable and reusable, reuses existing code and infrastructure
where appropriate, and accomplishes the task's purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code

Reviewer 2:
Name:

[ ] Code is maintainable and reusable, reuses existing code and infrastructure
where appropriate, and accomplishes the task's purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code

Is there a reason why you don't do check_for_data_absent_reasons for multiple-or tests?

That's just an oversight, thanks for bringing it up.

@czh-orz The multiple or tests now check for data absent reasons.


Add support for the Osram Smart+ GU10 AC05347

My first attempt of a quirk so i can use the AC05347 lights in ZHA.

Any link to that AC05347 device since Google doesn't provide anything useful?

Any link to that AC05347 device since Google doesn't provide anything useful?

https://www.amazon.de/gp/product/B077X7QS9D/
There you go.

Maybe the ".py" extension should be added to this "smartplusac05347" file?

Yes, it should. My bad for not checking an obvious thing

This PR seems broken in more ways: https://github.com/zigpy/zha-device-handlers/pull/500#issuecomment-697661931


fix: add external perform change-project

这个 PR 实现什么功能/修复什么问题:

不允许直接更新project_id字段
添加perform change-project,支持批量操作

是否需要 backport 到之前的 release 分支:

release/2.10.0

/area region
/cc @swordqiu @yousong

Codecov Report

Merging #2512 into master will decrease coverage by 0.02%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #2512      +/-   ##
=========================================
- Coverage    7.07%   7.05%   -0.03%
=========================================
  Files         456     456
  Lines       71889   71916      +27
=========================================
- Hits         5085    5072      -13
- Misses      66386   66424      +38
- Partials      418     420       +2

Flag
Coverage Δ

#aFlag
7.05% <0%> (-0.03%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/compute/models/external_projects.go
5.52% <0%> (-1.1%)
:arrow_down:

pkg/util/rbacutils/rbac.go
70.89% <0%> (-3.41%)
:arrow_down:

pkg/appsrv/response.go
66.15% <0%> (-3.08%)
:arrow_down:

Continue to review full report at Codecov.

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

/approve
/lgtm


Move drawFunction and updateFunction to methods on Sprite class

Callbacks that give the sprite pointer aren't really usable, it would be better to make them methods on the Sprite class that you can override.  Will need to keep a (weak?) reference to the sprite somewhere globally to call the right update method.
requires making sprite open (#11)

Attribute 'weak' cannot be used in embedded Swift 🙁


Question:  Is it  possible to replace one screen with another?

Hello,
Thanks for article and code sample.
I have a question for such scenario:

When the app is launching I want to display splash screen (similar to launch) . I display it and perform some async request to check is user logged (and token actual) -> I want to navigate to main screen ( but idea is delete splash screen and replace it with main screen)

If user not logged in -> I want to display login form ( same scenario : I want to remove splash screen from View hierarchy and replace it with login screen)

My question is:
How can I do this using described approach?
p.s. I don't want to presentModal or fullScreen LoginScreen above Splash screen.
I want to remove (Splash screen) and display Login screen.
Thank you in advance

Hi! If I understand your question correctly, you would like to ensure that when the user is not logged in, the login form is displayed, and otherwise, the main screen is shown.
I faced a similar issue in my application PlayPop. I integrated a system during startup to determine if the user is already registered and display the appropriate screen.
To achieve this, I created a separate screen called "LaunchScreen":
struct LaunchScreen: View {

    @EnvironmentObject var data: UserData

    var body: some View {
        NavigationStack {
            VStack{

                //Is the user logged in?
                if data.user.pComplete {
                    ScreenQuest4()
                } else {
                    ScreenSignIn()
                }
            }

        } .tint(.primary)
    }
}

In the 'data' file, there is a Boolean that becomes 'true' once the user has signed up. This is where you would perform an asynchronous request to check if the user is logged in
I hope I provided you with a better approach 🙌


Add cucumber 6.X compatibility

Hello,
Cucumber is currently in version 6.X
octane-cucumber-jvm is using cucumber 4.X which is quite old and not compatible with version 6.X
Do you have a plan to update dependencies of the plugin or any solution to work with recent version of cucumber ?
Thx and regards
Aldric

Hi @micheleh ,
Do you have an approximate release date for this feature?
Regards
Arnaud

Hi @ArnaudCharpentier
This is still in the early stages so I cannot commit to a release date. However, I can assure you that it has the top priority.
Regards,
Ehud

Hi Ehud
Is this included in 15.1.90 release today? We need this ASAP....
br jesper

@haldenjesper
Unfortunately, not yet. It has top priority and we're doing our best to provide it to the customers.
Please note that Octane Cucumber JVM is a Cucumber plugin and as such is not bound to a specific Octane release. Practically it means that when released, it can be used with your current Octane version.
Ehud

@micheleh so what can we tell our users?
br jesper

@haldenjesper I suggest asking your contact at Micro Focus for a formal answer

Hi @micheleh
Do you have any new about this topic ?
Thx and regards

Hi @picpicpic
I have good news 😀
R&D is launching a new tool that replaces the cucumber-jvm-plugin that supports more versions of Cucumber (including v 6.x) as well as more BDD frameworks such as cucumber-js, php-behat, python-radish, python-behave, and cucumber-ruby.
The new tool can be called directly from your CI system either as an executable jar or as a maven plugin. This means that your test code will not require the dependency in octane-cucumber-jvm anymore 😁
Note that uploading the maven plugin to the maven repository is still in the works and is expected to be completed in the coming days.
You can find the new tool here: bdd2octane
Ehud

@picpicpic you may now find the new tool on the Maven Repository:
Bdd2octane

@micheleh Thx! I will check the new tool and try to integrate it :+1:
Have a nice day!

Hi 6.7.0 version cucumber and above does not work,

Hello, some update for cucumber 7

@AlexBravo95 we have a new tool to support different BDD frameworks including Cucumber 7. This tool is supported by ALM Octane v16.0.200 and later.
Look at Bdd2octane for details
Also, look at Inject BDD test results to ALM Octane

@AlexBravo95 we have a new tool to support different BDD frameworks including Cucumber 7. This tool is supported by ALM Octane v16.0.200 and later. Look at Bdd2octane for details Also, look at Inject BDD test results to ALM Octane And you can find the GitHub repository here: bdd2octane


Stylus dependency in wrong place

stylus dependency should be in dependencies object in the package.json, but actually is on the devDependencies. Causing several errors when Webpack is making the bundle.

Sorry, I just read the changes on https://github.com/shama/stylus-loader#install


Created a versioned CategoryController

changed to java 8
Added newer guava to allow conversion to java 8 optional

oops, this was an accident


About cue aggregator

Hi ! Thanks for your great work for inspiring us! I have some doubts about the pretrained weight of cue aggregator. Are the parameters of forward order block and backward order block  randomly initialized? And are  the parameters of Q-former randomly initialized or pretrained from BLIP2?

We just randomly initialize the tiny transformer network, and the Q-former needs to load the pre-trained parameters from here.

Our work was inspired by Video-LLaMA, which is similarly loaded with pre-training parameters. For text fusion, our approach is modified based on some previous work, e.g., Learning to Answer Questions in Dynamic Audio-Visual Scenarios.

Thanks a lot~


Update links to community chat

PR Summary
Add the discord link and switch to aka.ms links that forward directly to open invitations.
PR Context
The prior link goes to a login form and is not helpful for users.
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Change is not breaking
x ] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[x] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

@Jaykul Please fix markdown spelling.

What spelling, @iSazonov?

It's probably triggering on the term 'discord'; you might need to add a spelling exception.

@Jaykul Please address last request and we will merge.

The issue is already fixed in another PR.


Display Toast Message Bottom on Mobile

This PR fixes displaying the toast message on the bottom in mobile view and on top in desktop view.
Follow up: https://github.com/boxwise/boxtribute/pull/591

@vahidbazzaz I tested it on a 1366px screen and the toast still shows at the bottom, how did you test it?
Anyways I think we shouldn't spend that much more time since the task is not prioritized.

@pylipp Thanks for checking that. I have checked it again and it seems to be working fine. If the screen size exceeds 1070px, the toast will appear at the top. Would you mind checking it out again when you have time?

@vahidbazzaz @HaGuesto @vahidbazzaz this feature is now live, did it get replaced by a different PR?

@vahidbazzaz @HaGuesto @vahidbazzaz this feature is now live, did it get replaced by a different PR?

@aerinsol This PR adds toast to the top on desktop, and to the bottom when below 1070 pixels. It complements Hans's previous PR that put all toast messages at the bottom. However, since this PR is not urgent, it has not been merged yet. Also needs to be reviewed.

To test, please follow these instructions:
Open the box view on a large screen (wider than 1070px) and click the Scrap or Lost button. The notification should appear on top. If you follow the same steps on a smaller screen or on a mobile device, you should see notification at the bottom of the screen

I can confirm that it works functionally, just an eslint complaint to be resolved after rebasing on master.

@pylipp I fixed the eslint error. Ready to merge.


Spawner Minecarts not functioning

I just started an YouTuber SMP using this mod, and we picked up all the spawners with carts thinking we could use them together.
Turns out they are not working at all to spawn anything. As a mod dev myself, I know how disappointing it can be to get a bug report lol
If this could be fixed that'd be great!
Have a good one!
-Craisin

Hello again, I just tested this in Minecraft Revolutions 1.0.1 (Both Andromeda 0.9.0 and 0.9.2), and they work just fine.
It's worth noting that they abide by the same rules as regular spawners do (Both use the same MobSpawnerLogic class), and need to be in the dark to work.
Oh, also, I recommend updating to 0.9.2 as there was a fix for furnace boats.


fix https://github.com/go-xorm/xorm/issues/1143

fix https://github.com/go-xorm/xorm/issues/1143

Codecov Report

Merging #1146 into master will increase coverage by 0.07%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1146      +/-   ##
==========================================
+ Coverage   54.69%   54.77%   +0.07%
==========================================
  Files          42       42
  Lines        7646     7655       +9
==========================================
+ Hits         4182     4193      +11
+ Misses       2935     2934       -1
+ Partials      529      528       -1

Impacted Files
Coverage Δ

session_insert.go
61.84% <100%> (+1.38%)
: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 b07c406...6b3b187. Read the comment docs.

I think it's  just a temporary solution for this problem, whereas we should dive into the function resetStatement  and generalize to other batch operations.


No buildable Go source files (Windows)

I'm trying to build the package in Windows. The environment is working so far with others libraries without cgo. I installed Mingw-w64 with all the packages and set the paths.
When i do go get github.com/mattn/go-sqlite3 i get
C:\Code\Go\src\sample\main.go:14:2: no buildable Go source files in C:\Go\src\github.com\mattn\go-sqlite3
This are some of my tools versions.
go version
go version go1.4.2 windows/i386

gcc --version
gcc.exe (GCC) 4.8.3
(...)

I don't know exactly how to build this. Any help appreciated. Thanks in advance.

probably, git clone failed. try to do it again like this:
$ go get -u -x github.com/mattn/go-sqlite3

@mattn  Yes, indeed the got clone was failing. Thanks for the quick reply.
Strangely enough (probably my mistake) it doesn't fail with the others packages, i installed negroni and gorilla/mux without troubles.
For context and trying to help others that have the same issue i'm using this Git for windows.

go get github.com/mattn/go-sqlite3 wasn't working for me so i clone manually the repo into the %GOPATH%/src/mattn with git clone https://github.com/mattn/go-sqlite3.
After the successful clone i made go build in my project folder and a system error appears saying  "The procedure entry point libintl_asprintf could not be located in the dynamic link library libint-8.dll".
The issue was due that in my system i have several copies of that dll, so the build wasn't using the Mingw one. The windows Git installation has a copy (\Git\bin) of that library that was producing the conflict, so i renamed that dll and now the build use the Mingw version of libintl-8.dll.
Now after running go build everything works smoothly.