do not override _width and _height if file is not ready yet

Just a not on failing unit tests:
There must be a problem with the setup, one test fails saying:

./filer/admin/imageadmin.py:0:1: I001 isort found deviations to configured sorting rules, run it on the file to fix this.

but I haven't event touched that file, and I don't even see what I could do to avoid it.

/Users/travis/.travis/job_stages: line 57: pip: command not found

this certainly has nothing to do with my pull request.

@jrief would you rebase this on top of develop?
The isort failure could be caused by some different isort version, but I no longer see now that builds run fine again

@yakky rebased on top of develop.
About the changelog: This fix has been documented for version 1.2.8, although it didn't work there. Therefore, we might have to move this statement to the unreleased version 1.3.1.

@jrief Could you handle this in this PR? So we don't miss it

IDK why tests are failing again

@jrief  I cherry-picked commits on a sane develop branch which builds on osx (hopefully)

Merged with #1052
Thanks @jrief


Checksum mismatch even though checksum is correct

Firmware update for the Eve Energy plug fails with the following error
 INFO [matter_server.server.device_controller] <Node:8> New software update found: 3.2.1 on UpdateSource.MAIN_NET_DCL (current 3.2.0).
2024-07-19 14:16:42.398 (MainThread) INFO [matter_server.server.device_controller] <Node:8> Update to software version 6650
2024-07-19 14:16:42.548 (MainThread) INFO [matter_server.server.device_controller] <Node:8> New software update found: 3.2.1 on UpdateSource.MAIN_NET_DCL (current 3.2.0).
2024-07-19 14:16:42.549 (MainThread) INFO [matter_server.server.device_controller] <Node:8> Downloading update from 'https://eve-updates.evehome.com/matter/eve_energy_eu-3.2.1-matter-benc-enc-4E71C921-3218-4E56-9928-527DA7A3BE88.bin'
[New Thread 0x7fffe9efc700 (LWP 256)]
2024-07-19 14:16:42.720 (MainThread) ERROR [matter_server.server.ota.provider] Checksum mismatch for file 'eve_energy_eu-3.2.1-matter-benc-enc-4E71C921-3218-4E56-9928-527DA7A3BE88.bin', expected:  MO+9nc1o5vG74qC85pvd9MVe6QGbFQNbG2mbQvzRIVA=, got: MO+9nc1o5vG74qC85pvd9MVe6QGbFQNbG2mbQvzRIVA=
2024-07-19 14:16:42.721 (MainThread) ERROR [matter_server.server.client_handler] [140737121555088] Error while handling: update_node (node 8): Checksum mismatch!

Hm, I see, the reason is a spurious whitespace in the DCL entry. I'll report and trim before comparing the checksum.

I tested the new beta that was just released, but now when I try to update the Eve Energy this error shows up:
2024-07-22 23:43:04.007 (MainThread) ERROR [matter_server.server] Error doing task: Task exception was never retrieved Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/matter_server/server/client_handler.py", line 214, in _run_handler raise err File "/usr/local/lib/python3.11/site-packages/matter_server/server/client_handler.py", line 197, in _run_handler result = await result ^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/matter_server/server/device_controller.py", line 917, in check_node_update update_source, update = await self._check_node_update(node_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/matter_server/server/device_controller.py", line 1027, in _check_node_update if "otaUrl" not in update or update["otaUrl"].strip().length == 0: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'str' object has no attribute 'length'

Gah right, fixed with: https://github.com/home-assistant-libs/python-matter-server/pull/834


✅Todo: Support Turbo module

This package doesn't support Turbo module of new RN architecture yet.
Any contribution is opened.
Thank you.

It turns out that we should only support interop layer in bridgeless mode at now.


Python 3 support

I've worked on it and many tests are passing in python 3.4 but currently have 7 failures in test_models.SaveTests and 16 similarly related failures in the test_related.py group.
Repo is at https://github.com/smewp/remodel_py3
Current problem causing all failures is in models.py and I'm not having much success fixing it. Issue code is below:
result = (r.table(self._table).get(id_).replace(r.row
                    .without(list(r.row.keys()).difference(list(fields_dict.keys())))
                    .merge(fields_dict), return_changes=True).run())

Pics:

It looks as if it doesn't like something with how the query is being built (specifically, the merge part). From what I've seen, the Python driver for RethinkDB is compatible with Python 3, so I find a bit weird that error.
Still, it's possible that arguments should be fed some other way, or even the query should be constructed in a different manner. I'll take a look the moment I'll have some spare time (very busy at the moment, sorry).
Thanks for helping with Python 3 support, @smewp!

Actually the change required to the query was minimal. Below solution:
result = (r.table(self.table).get(id).replace(r.row
.without(r.row.keys().difference(list(fields_dict.keys())))
.merge(fields_dict), return_changes=True).run())
All current tests now pass on 2.7.8 and 3.4.2.  Thanks for putting this library together.  I know you are still going through revision but I look forward to using it now with my py3 project.

Wow, you actually did it! Congrats and thank you :) Will merge your pull request (#9) after we finish the discussions on it.
GJ ;)

remodel v0.3.0 is now on PyPI and has Python 3 support! Grab it while it's still hot :wink:
Thanks again @smewp!

Thanks everyone who worked on this!


[oauth2-proxy] bump oauth2-proxy to 7.1.3

Signed-off-by: Jan-Otto Kröpke<EMAIL_ADDRESS>
Description of the change
oauth2-proxy to 7.1.3
Benefits
An up2date oauth2-proxy
Possible drawbacks
Unknown incompatibilities in oauth2-proxy
Applicable issues
Checklist

[x] Chart version bumped in Chart.yaml according to semver.
[x] Title of the PR starts with chart name (e.g. [home-assistant])
[x] Variables are documented in the README.md (this can be done with using our helm-docs wrapper ./hack/gen-helm-docs.sh stable <chart>)

@all-contributors please add @jkroepke for code


Determine if person is a mentor/mentee based on whether they provide information on these topics

I'm not keen on the person form asking me "Would you like to be a mentor?" and "mentee?" when it could just check to see if I've put anything into the associated textareas to determine this on its own.
This should be a fairly simple change:

Remove the checkboxes from the person#_form.
Add Person#mentor? and Person#mentee? and use those instead of the current checks in the person#show form.
Rework the Person::mentors and ::mentees scopes to return records whose "mentor_topics" and "mentee_topics" are present.

Thoughts?

I'd prefer to see the mentorship checkboxes show/hide the text fields, in order to save form space for people who aren't interested in mentoring


Homework1

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
added a file for logical model (SQL homework 1)
What did you learn from the changes you have made?
importance of understanding entity relationships before going in to make changes or use the model
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
hand drawing, but used draw.io because of formatting and ease of use.
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
n/a
How were these changes tested?
n/a
A reference to a related issue in your repository (if applicable)
n/a
Checklist

[ x] I can confirm that my changes are working as intended

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
added sql file for homework 2
What did you learn from the changes you have made?
there is more than one way to arrive at the same outcome (query structure wise)
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
see "NOTEs" comments in sql file
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
see "NOTEs" comments in sql file
How were these changes tested?
tested standalone queries in a second SQL file
A reference to a related issue in your repository (if applicable)
n/a
Checklist

[ ] I can confirm that my changes are working as intended

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
changes to HW3 SQL file, new temp table in db
What did you learn from the changes you have made?
it is really important to understand the dataset before you go in and manipulate/use the data
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
n/a
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
challenges in syntax, overcame using class resources and the web
How were these changes tested?
tested by running queries in separate SQL file before pasting back into homework 3 sql
A reference to a related issue in your repository (if applicable)
n/a
Checklist

[ x] I can confirm that my changes are working as intended

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
changes to HW3 SQL file, new temp table in db
What did you learn from the changes you have made?
it is really important to understand the dataset before you go in and manipulate/use the data
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
n/a
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
challenges in syntax, overcame using class resources and the web
How were these changes tested?
tested by running queries in separate SQL file before pasting back into homework 3 sql
A reference to a related issue in your repository (if applicable)
n/a
Checklist

[ x] I can confirm that my changes are working as intended

You have unfortunately made a pull request to the wrong repo. You shouldn't be making a pull request to uoft-dsi/sql, but rather your own forked sql repo. Please read the instructions on your onboarding Assignment Submission Guide more carefully.


Conflict Resolution

We need both an agreed upon conflict resolution mechanism and API.

I know, I will create a delegate for this!


Why and when you should use kubernetes

"This fixes #(Why and when you should use kubernetes#)"
Wrote a short article on Why-and-when-you-should-use-Kubernetes. The Key takeaways being:-

understand the overview of Kubernetes and container orchestration.
know the top reasons why a business should go for Kubernetes and the benefits it offers.
understand the instances when Kubernetes can be used or not used.

Below is the link to the images that I have used in my article
Why-and-when-you-should-use-Kubernetes/image-name/container.jpg
My author's folder is erick-wekesa

Hey @mbaabuones 👋🏾.
Please note that this is a duplicate of #2663.
You can proceed with the review regardless.
Have a good day.

Hey @mbaabuones 👋🏾.
Please note that this is a duplicate of #2663.
You can proceed with the review regardless.
Have a good day.

@BrianaNzivu Thank you for bringing this to my notice. I was not aware. Thanks for allowing me to work on it. Good day.

@erixbiz It is now two weeks since this article was reviewed. Please work on the suggested changes so that we can move to the next stage.

@erixbiz It is now two weeks since this article was reviewed. Please work on the suggested changes so that we can move to the next stage.

I really apologize for the delay. Just a quick one, should I create a new pull request?

@erixbiz It is now two weeks since this article was reviewed. Please work on the suggested changes so that we can move to the next stage.

I really apologize for the delay. Just a quick one, should I create a new pull request or do a Push to this branch?

You should be able to make the changes on this PR via your forked PR - but if that gets to messy - the easiest way would be to create a new PR.
What ever is easiest for you

@erixbiz It is now two weeks since this article was reviewed. Please work on the suggested changes so that we can move to the next stage.

I really apologize for the delay. Just a quick one, should I create a new pull request or do a Push to this branch?

You should be able to make the changes on this PR via your forked PR - but if that gets to messy - the easiest way would be to create a new PR.
What ever is easiest for you

Thank you

@mbaabuones I have done the corrections as requested. Thanks

@mbaabuones I am done with the changes. Thanks

plagiarism check completed - all good
2120420-c3082bc8d4e242e81d2f-1626795793541.pdf

@mbaabuones I am done with the changes. Thanks

@erixbiz Thank you. Please note the changes I have made.

@louisefindlay23 Well noted with thanks.
@mbaabuones  it was great working with you on this article as well. Thanks.


Implement get_static_field and get_static_field_unsafe

I implemented the JavaType::Method(_) => panic!(...).
The alternative is a return Err(ErrorKind::WrongJValueType("Method", "see java field").into());, like the Primitive::Void case.

Probably better to return an error for the Method case rather than panic, since we try to avoid panicking on error cases. Otherwise, looks good!

I substituted the panic!(...) with a return Err(...)

OK, rebased for real this time. Not sure if github's "resolve conflicts" feature doesn't actually work or if I just don't understand how it works. It never seems to do what I want it to 😛


Show nwg-wrapper shortcut help on all monitors

When looking for the shortcut help, I currently have to find the correct screen, which is kinda hard if I don't already know the shortcuts ^^
I see no harm in putting it on all screens.

Any idea how to do this with nwg-wrapper?

From a quick glance at the help, call it once for each monitor with the --output option, which should not be hard from swaymsg -t get_outputs.

[ ] update nwg-wrapper to current version
[ ] use a quit signal so we can stop all instances more intelligently
[ ] start instances for all outputs

I upgraded to newest nwg-wrapper and use the "new" signal api for toggling visibility while iterating through the displays. I am on on a multi-output setup rn, so please give manjaro-sway-settings-git a spin!


Volcano: plot points wiht pvalue=0

in the diff abund app sometimes we get points with a pval=0. Since the y axis is -log(pvalue) this value should get plotted at infinity. Because our screens aren't that large yet, we need another solution.
One option is to plot these at the top of the plot always. So they just live along the top axis.

also note i dont think these inf points are being included in the legend counts


Use gfpgan fork in environment.yml

Real-ESRGAN was updated to use a local fork but not GFPGAN, they now have conflicting requirements for basicsr

Ah, looks like #1369 fixes this


Can I use this for PDF is it possible my requirement is like that,suggest me how to dol

This library currently relies on the  tag to show the image and the zoom component. So without some browser plugin I doubt it would be able to show a pdf. I'm not sure if there is any way to natively show a pdf as part of a webpage. So if you want to use this library you would probably have to convert the pdfs to images in backend unless I'm unaware of some more recent development in browser capabilities.

Closing this as out of scope for the project for now. I'd consider a pull request to add this feature but it seems like a big ask.


fix(schema): Allow GenericOf(Object) usage

Information

Type
Breaking change

Feature/Fix/Doc/Chore
Yes/No

Todos

[ ] Tests
[ ] Coverage
[ ] Example
[ ] Documentation

Pull Request Test Coverage Report for Build 931084576

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.001%) to 96.077%

Totals

Change from base Build 931083255:
0.001%

Covered Lines:
8056

Relevant Lines:
8064

💛  - Coveralls

/rebase

:tada: This PR is included in version 6.55.4 :tada:
The release is available on:

v6.55.4
GitHub release

Your semantic-release bot :package::rocket:


Add .jshintrc that was used for issue #11

Issue #11 improved the code formatting but it is unclear what jshint settings were used.
Can you add the .jshintrc to the root dir of the project so that future pull requests can ensure they are formatting code as you desire?
In a similar vain, it may be helpful to add a simple .editorconfig file. http://editorconfig.org/

@rebornix would you like to help me with this issue :)


Update zstd to 0.10

Gentle nudge on this PR. The current async-compression release on crates.io is using version 0.7 of the zstd crate. (Latest unreleased commit is 0.8.) Most of the crates.io ecosystem is now using 0.9. I've run into issues where I can't depend on a desired dependency because it already upgraded to version 0.9 and cargo refuses to compile multiple X.Y versions of zstd-sys.
Are there any plans to merge this and get a new release of this crate out the door?

@brianc118 I updated the PR, but I think nobody is responding here... I'm wondering what's the current status of this crate, and whether or not it has been abandoned by the author...

bors r+

Codecov Report

Merging #131 (15a0ab8) into prīmum (ca078b4) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           prīmum     #131   +/-   ##
=======================================
  Coverage   78.00%   78.00%
=======================================
  Files          92       92
  Lines        2950     2950
=======================================
  Hits         2301     2301
  Misses        649      649

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 ca078b4...15a0ab8. Read the comment docs.


Not Initialized (109)

Over the past couple of days I have been getting this warning when I try to run my SteamVR project (this never happened before). Unity just won't recognize that steam VR is running. I have no clue how to fix it because every time it goes away it's after I stop and start the game a could of times but this does not always fix the problem. SteamVR itself works just fine I can play games and even open the build of the same project. It's just a problem in the editor. This absolutely kills my productivity because it can go for hours in end (I have also had times where it went away in 5 minutes but like I said, I have no clue why).

I noticed that happening to me recently. I found that there was an update for the XR Plugin Management package. I updated that and it stopped happening. No idea how that works but do you mind giving that a try?

I had the same issue and your suggestion worked for me, thank you!

Also worked for me. Thanks!

I tried this without success, I have an Oculus Rift. A friend with this exact same problem with an Oculus Quest 2 tried it also without success.

I tried with and without Oculus selected. I also tried reimporting the xr
setting in case I missed an update or changed a setting without remembering

but no dice

On Thu, Apr 14, 2022 at 11:44 AM Keith Bradner @.***>
wrote:

Message sent from a system outside of UConn.
I tried this without success, I have an Oculus Rift. A friend with this
exact same problem with an Oculus Quest 2 tried it also without success.
Do you also have Oculus selected in the XR runtimes? It may override
OpenVR in that scenario.
—
Reply to this email directly, view it on GitHub
https://github.com/ValveSoftware/steamvr_unity_plugin/issues/1012#issuecomment-1099316408,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWLHGITXRZSA3VQFIWW6EQLVFA4MNANCNFSM5O7VV6PQ
.

On Thu, Apr 14, 2022 at 12:44 PM Alden Earwood @.***>
wrote:

I tried with and without Oculus selected. I also tried reimporting the xr
setting in case I missed an update or changed a setting without remembering

but no dice

On Thu, Apr 14, 2022 at 11:44 AM Keith Bradner @.***>
wrote:

Message sent from a system outside of UConn.
I tried this without success, I have an Oculus Rift. A friend with this
exact same problem with an Oculus Quest 2 tried it also without success.
Do you also have Oculus selected in the XR runtimes? It may override
OpenVR in that scenario.
—
Reply to this email directly, view it on GitHub
https://github.com/ValveSoftware/steamvr_unity_plugin/issues/1012#issuecomment-1099316408,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWLHGITXRZSA3VQFIWW6EQLVFA4MNANCNFSM5O7VV6PQ
.
You are receiving this because you commented.Message ID:
@.***>


JS error on server-side updates

https://github.com/benvp/live_motion/blob/d9f5616c15e12fbbdca7228c165613218c8142dc/priv/static/live_motion.js#L881
When settings a server-side attribute such as rotate: @rotate, upon update the updated function is called and the js throws an error:
Uncaught TypeError: this.animate is not a function.
animate() does not exist. Changing animate() to maybeAnimate() seems to work.

Thanks for reporting this. Indeed I saw the same behaviour yesterday. I recently renamed the function and didn't rename the other one properly. Thats also one reason why I'm switching to TypeScript in the next release, which happens sometime next week.
Additionally I still need to add tests. 😃


Snapshot TextBox undo text after paste.

What does the pull request do?
#2732 describes a problem where quickly pasting and undoing causes an undo to undo the wrong thing. The issue suggests that this is caused by holding down the ctrl key but I found no evidence of this: it seems that the problem is caused simply when pasting and then undoing quickly.
Problem seems to be that that the undo text is added on a timer, and so the text added by paste doesn't get registered with the undo stack until the timer fires. Manually snapshotting the text after a paste seems to fix the problem.
Fixes #2732

Thanks for fixing this!


[type: refactor] update docker-compose & install.sh

// Describe your PR here; eg. Fixes #issueNo

Make sure that:

[ ] You have read the contribution guidelines.
[ ] You submit test cases (unit or integration tests) that back your changes.
[ ] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #2672 (b20c06f) into master (adefaeb) will decrease coverage by 0.56%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #2672      +/-   ##
============================================
- Coverage     61.21%   60.64%   -0.57%
+ Complexity     4345     4319      -26
============================================
  Files           660      660
  Lines         19043    19043
  Branches       1695     1695
============================================
- Hits          11657    11549     -108
- Misses         6424     6539     +115
+ Partials        962      955       -7

Impacted Files
Coverage Δ

...n/alibaba/dubbo/cache/AlibabaDubboConfigCache.java
43.75% <0.00%> (-31.25%)
:arrow_down:

...gin/apache/dubbo/cache/ApacheDubboConfigCache.java
43.03% <0.00%> (-29.12%)
:arrow_down:

...che/shenyu/sync/data/http/HttpSyncDataService.java
61.38% <0.00%> (-19.81%)
:arrow_down:

...a/org/apache/shenyu/common/utils/VersionUtils.java
67.85% <0.00%> (-10.72%)
:arrow_down:

...apache/shenyu/admin/utils/ShenyuDictH2Trigger.java
63.63% <0.00%> (-9.10%)
:arrow_down:

...ache/shenyu/admin/utils/PluginHandleH2Trigger.java
63.63% <0.00%> (-9.10%)
:arrow_down:

...henyu/plugin/grpc/resolver/ShenyuNameResolver.java
55.31% <0.00%> (-8.52%)
:arrow_down:

.../apache/shenyu/admin/model/dto/BatchCommonDTO.java
50.00% <0.00%> (-7.15%)
:arrow_down:

...apache/shenyu/admin/model/dto/AuthPathWarpDTO.java
57.14% <0.00%> (-7.15%)
:arrow_down:

...org/apache/shenyu/admin/model/dto/AuthPathDTO.java
58.82% <0.00%> (-5.89%)
:arrow_down:

... and 24 more

Continue to review full report at Codecov.

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


PoC of getting model_class from the Hub instead of having to pass a --feature

related to internal discussion: https://huggingface.slack.com/archives/C03AHFPCWHM/p1662407936101009

If we're going to go this route, I'd rather get rid of the feature argument altogether and not have two ways to achieve the same thing. But that's something we should really do together with the ONNX exporter.

+1 on removing the feature argument, and IMO it could be replaced by a model_class flag or similar, in cases where one wants to override the architecture
Re. ONNX, yes possibly we could do it in both at the same time?

One thing I want to do first is implement the with-past logic. Apparently this was one of the reasons for adding feature and it will affect some of the decisions we might make around this issue.

sounds good!
happy to share more info or doc about what's available on the Hub side in terms of transformers models metadata. cc @sgugger who's been working on this and knows how it works


fix by ruff

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[x] Ensure the tests and linter pass
[x] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

Hi @YoshitakaNaraoka, Thanks for opening a PR. Please could you sign the CLA?

View this failed invocation of the CLA check for more information.
If you are not currently covered under a CLA, please visit https://cla.developers.google.com/. Once you've signed, follow the "New Contributors" link at the bottom of that page to update this check.

I already 署名 cla

Regrettably, the CLA status is still not satisfied. Please can you double check the email address used for the CLA?
<EMAIL_ADDRESS>Need CLA

Closing as obsolete, feel free to reopen once CLA issues are resolved


Docker CLI

Package Requested
With the changes to Docker's licensing terms, many teams may be moving away from Docker Desktop itself, and towards downloading only the CLI.  Too, this would be a far smaller install package if the local installation was only ever used to manage remote docker hosts.

[x] I would like someone else to build the manifest.
[ ] I would like help so I can submit the manifest.
[x] I have performed a search and couldn't find this package.
[ ] I think there is a new version available and I have provided the URL.

Please provide the following information if you can:
Publisher: Docker Inc.
Publisher Url: https://www.docker.com
Package Name: Docker CLI
Package Url: https://www.docker.com
Description: The Docker CLI is an application for MacOS and Windows machines to access remote Docker hosts for the building and sharing of containerized applications. Access a remote host via the Docker CLI and follow the guided onboarding to build your first containerized application in minutes.
Package Version: 20.10.8 (as of this writing)
Installer URL:
There's a similar (although not completely up-to-date) package in the chocolatey repository.
Recent docker builds, including the CLI, are available, however this isn't all versions, and it's not completely clear whether the use of these builds would be exempt from the licensing restrictions.  Otherwise, a custom build of the CLI itself from the main repository will be required.

This is distinct from the main DockerDesktop package, in that it would contain only the CLI.

It's going to require portable application support, unfortunately. This is blocked by https://github.com/microsoft/winget-cli/issues/140.

(Also, for anyone looking at this issue in the future, Podman is blocked by .zip installation too and would be nice to have: https://podman.io/getting-started/installation).

@jedieaston - only if the packages from docker.com itself are used.  The actual build scripts likely don't output archives (although separate infrastructure becomes its own issue).

The build scripts don't build installers, do they?

I honestly don't know, and haven't looked into it.  The downloads I listed earlier appear to only be binaries as well, without an install script.

@msftbot .zip  - This is mislabeled as .exe


AttributeError: module 'escriptorium' has no attribute 'celery' on Ubuntu 20.04.6 after installation

Using the documentation I did the Local installation (Windows/Linux) but I have to admit that I didn't look for exactly Ubuntu 20.04.3 and instead installed the latest Ubuntu 20.04.6.
After this line: DJANGO_SETTINGS_MODULE=escriptorium.local_settings celery -A escriptorium worker -l INFO &
There was the message:
Command 'celery' not found, but can be installed with:

sudo apt install python-celery-common

So I did the installation as suggested, run the command again, and then there is this message:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/celery/app/utils.py", line 365, in find_app
    found = sym.app
AttributeError: module 'escriptorium' has no attribute 'app'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/celery", line 26, in <module>
    load_entry_point("celery", "console_scripts", "celery")()
  File "/usr/lib/python3/dist-packages/celery/__main__.py", line 16, in main
    _main()
  File "/usr/lib/python3/dist-packages/celery/bin/celery.py", line 322, in main
    cmd.execute_from_commandline(argv)
  File "/usr/lib/python3/dist-packages/celery/bin/celery.py", line 496, in execute_from_commandline
    super(CeleryCommand, self).execute_from_commandline(argv)))
  File "/usr/lib/python3/dist-packages/celery/bin/base.py", line 273, in execute_from_commandline
    argv = self.setup_app_from_commandline(argv)
  File "/usr/lib/python3/dist-packages/celery/bin/base.py", line 479, in setup_app_from_commandline
    self.app = self.find_app(app)
  File "/usr/lib/python3/dist-packages/celery/bin/base.py", line 501, in find_app
    return find_app(app, symbol_by_name=self.symbol_by_name)
  File "/usr/lib/python3/dist-packages/celery/app/utils.py", line 370, in find_app
    found = sym.celery
AttributeError: module 'escriptorium' has no attribute 'celery'

Maybe I'm still missing something to be installed, but the whole celery is not mentioned in the documentation?

I guess it's because I opened a new terminal :-)
Everything runs without errors after following step 19. Reuse

Yes, you gave the right answer to your own question.
I suggest to uninstall the Ubuntu package python-celery-common again. It is not needed, and maybe it can cause conflicts with the package which was installed with pip.


Add zlog library

Hi, @andyone.
Could you build and publish zlog to EK repository? This is high-performance, thread safe, pure C logging library.
Thank you.

This version released more almost five years ago. Since the author does not release new versions and add fixes to the master branch of the repository. There is a lot of changes are made since 1.2.12 release. I'm not sure that's a good idea to have such type of software in our repository. Sorry.


Add a simple roundtrip fuzz target

This isn't really a complete addition, more of a jumpstart for anyone who wants to finish adding code fuzzing to this repo. It currently panics pretty early, I'm not sure if that's me not using the library correctly or the fuzzer catching legitimately failing cases.
More references can be found from this comment

Thank you! It was a really simple bug (12279fc1acf5078cec443d65bb22a6f2a9eb5229) that I introduced when refactoring the header parsing code and I hadn't tested any roundtripping since (the bug made it impossible to decompress anything at all).

Great! Thanks for finishing off the implementation :)

Running this for 50 million executions didn't reveal any issues. Great!


[refactor] moving grad acc logic to engine

Avoid circle import.

The failed CI case is due to address in use. I tested it locally.

Ok, this occurs as the rerun_if_address_in_use decorator is not added.


uwsm: prefer user env binaries at runtime

We are wrapping uwsm with bash and other packages, else it won't work because it won't find the dependencies at runtime (it's just a python script). However this also leaks the PATH to subprocesses/apps that are launched using UWSM. Leading to issues like https://github.com/NixOS/nixpkgs/issues/358805.
In this PR, we just change the path order of these runtime dependencies, so these are treated like fallbacks. Ideally we should not expect anything from user environment, and the wrapping approach isn't the best. Not like we have any other choice.
CC @Scrumplex @Atemu fellow UWSM users, they might have an idea to fix this.
CC @Vladimir-csp, UWSM dev
Things done

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

If UWSM has runtime executable dependencies, their paths should be passed explicitly at configure time

We already pass python interpreter bin using a meson flag. So wrapping with python at postInstall isn't needed anymore, but the rest still needs to be passed.
I wonder how to make buildInputs here just work.

This is something upstream would need to fix in either case.
I think the fact that PATH (or any other environment variable besides the global env) is passed to the is the worst offender here and fixing that would make our wrapping okay again.
I'd prefer a more explicit API here; something that would let us pass specific binaries or a lookup path at configure time would be better perhaps.

the PATH for systemd services has nothing to do with what the PATH for the user session.

Isn't that one of the major use cases of UWSM? I mainly rely on UWSM to keep my systemd environment in sync with my user environment, as I start many auxiliary desktop services through systemd

What I meant was the environment that UWSM itself runs in, not the env that it then imports.

For context, how uwsm's environment preloader works: sh (as found by uwsm's python process) is launched with environment derived directly from the current systemd environment. This sh sources plugins, shell profile files, and uwsm env files, then prints environment via exec env -0. This output is parsed. Difference between initial systemd environment and env output (plus/minus some (ex/in)clusions) is then exported into systemd environment.
PATH is in always_export set. So it should always result in whatever the final env sees, which should come from systemd -> plugins -> profile files -> uwsm env files. Stock plugins do not modify PATH.


Add FAQ

Pretty sure it has everything on figma, and it is responsive.

Closing this since the develop branch is no longer in use


Improve the heartbeat processing by store ShallowClone.

When the store clone,add a method called ShallowClone,it won't clone the meta
What problem does this PR solve?
Improve the  heartbeat processing
https://github.com/pingcap/pd/issues/2391
What is changed and how it works?
When the store clone,add a method called ShallowClone,it won't clone the meta.
The test conditions are: 1 million region 20store 0.1 region-update-ratio, 10heartbeat-rounds. The average heartbeat is the average of the last 9 times.
the improve percent like this:

no.
improve content
related code
average heartbeat/s
improve percent

1
master branch

101652
0%

2
use ShallowClone when UpdateStoreStatus.
store.go 666: newStore := store.ShallowClone(SetLeaderCount(leaderCount),
124109
22%

Tests

Unit test

/run-all-tests

Codecov Report

Merging #2389 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #2389      +/-   ##
==========================================
+ Coverage   76.30%   76.32%   +0.01%
==========================================
  Files         206      206
  Lines       21923    21940      +17
==========================================
+ Hits        16729    16745      +16
+ Misses       3922     3916       -6
- Partials     1272     1279       +7

Impacted Files
Coverage Δ

server/core/store.go
80.00% <100.00%> (+1.16%)
:arrow_up:

server/heartbeat_streams.go
67.00% <0.00%> (-6.00%)
:arrow_down:

server/member/lease.go
92.18% <0.00%> (-3.13%)
:arrow_down:

server/tso/tso.go
77.37% <0.00%> (-1.46%)
:arrow_down:

server/server.go
77.41% <0.00%> (-0.78%)
:arrow_down:

client/client.go
68.97% <0.00%> (-0.52%)
:arrow_down:

server/member/leader.go
74.31% <0.00%> (-0.39%)
:arrow_down:

server/grpc_service.go
58.25% <0.00%> (ø)

pkg/btree/btree.go
87.65% <0.00%> (+0.80%)
:arrow_up:

client/base_client.go
88.27% <0.00%> (+1.37%)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

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

thanks! please pick up this issue: https://github.com/pingcap/pd/issues/2391

thanks! please pick up this issue: #2391 for this PR.

done.thanks

/merge


Path to dataset in the example is not correct.

The path to the radio small_radio_json dataset in the section titled "Ingest sample data" is not correct.   The one provided returns an html file instead of json.
Current sample command:
%sh wget -P /tmp https://github.com/Azure/usql/blob/master/Examples/Samples/Data/json/radiowebsite/small_radio_json.json
Correct sample command:
%sh wget -P /tmp
https://raw.githubusercontent.com/Azure/usql/master/Examples/Samples/Data/json/radiowebsite/small_radio_json.json

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

ID: 8b081f20-23c5-8cd1-c5c4-db2d3fab74f1
Version Independent ID: 245363af-c3fa-c048-a902-8b281143548c
Content: Quickstart: Run a Spark job on Azure Databricks using Azure portal
Content Source: articles/storage/data-lake-storage/quickstart-create-databricks-account.md
Service: storage
GitHub Login: @jamesbak
Microsoft Alias: jamesbak

@bigdatamoore Thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

Thank you for your feedback! This issue has been addressed.

#please-close


consider switching to TypeScript

It would be great if the code bases switches to TypeScript for a better code base and earlier error detection. Over the last month I added more and more TypeScript like comments which already improves the code completion but switching to TypeScript would work better.
see also https://svelte.dev/blog/svelte-and-typescript

I support the idea of migrating to TypeScript.  Depending on the build environment, it can be done incrementally since TypeScript is pretty much a superset of JavaScript.   Migrating to TypeScript can be a chore, however.  Tools make it easier, but there are many decisions to be made about exactly how to clean up the mess that JavaScript allows, and sometimes difficult refactorings are required, e.g. to break circular dependencies.
It seems clear to me that TypeScript is definitely the future of JavaScript.  I will not be surprised if all browsers support TypeScript in a few years, perhaps via compilation in the browser to WASM.   Or maybe the ES-series enhancements of JS will migrate incrementally toward TypeScript.

FAQ to svelte + TS: https://svelte.dev/faq#what-about-typescript-support
eslint + svelte + TS: https://github.com/sveltejs/eslint-plugin-svelte3/issues/68 ... seems to be a problem

Let's close this for now.  Until this is well-supported, it may give us more headaches in the short-term than benefit.


Can't find stylesheet to import.

Command
serve
Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser-esbuild",
Minimal Reproduction
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser-esbuild",
Exception or Error
[ERROR] Can't find stylesheet to import.
  ╷
1 │ @import '/src/app/scss/base';
  │         ^^^^^^^^^^^^^^^^^^^^
  ╵
  src\app\home\components\card-info\card-info.component.scss 1:9  root stylesheet [plugin angular-sass]

X [ERROR] Can't find stylesheet to import.
  ╷
1 │ @import '/src/app/scss/base';

X [ERROR] Can't find stylesheet to import.
  ╷
3 │ @import '/src/app/scss/animations';
  │         ^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
  src\styles.scss 3:9  root stylesheet [plugin angular-sass]

    angular:styles/global:styles:1:8:
      1 │ @import 'src/styles.scss';
        ╵         ~~~~~~~~~~~~~~~~~

Your Environment
Angular CLI: 16.0.0
Node: 18.16.0
Package Manager: npm 9.5.1
OS: win32 x64

Angular: 16.0.0
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1600.0
@angular-devkit/build-angular   16.0.0
@angular-devkit/core            16.0.0
@angular-devkit/schematics      16.0.0
@schematics/angular             16.0.0
rxjs                            7.8.1
typescript                      4.9.3

Anything else relevant?
No response

Duplicate of https://github.com/angular/angular-cli/issues/23698


Add Support for Smart Tower Fan model H7100

Please Add support for Govee Tower Fan Pro Model H7100.

Hi, please try the new beta version of the plugin
https://github.com/bwp91/homebridge-govee/wiki/Beta-Version

yup, the basic functionality works now in the beta version

great


[3.2] Handle csproj "Remove" globs

Backport of #41790
Fixes #41778 to enable support for multiple csprojs with the auto-include project format.
Note MSBuild Item returns empty strings if an attribute isn't set (which caused an IndexOutOfRangeException in NormalizePath).
We were using Exclude incorrectly, this change replaces Exclude with Remove which provides the intended behaviour in auto-include project format.

Thanks!


feat: enable WITH_RACE when build pd failpoint

Enable WITH_RACE when build pd failpont binary.

better not mixin race and failpoint

/lgtm


add no battery mode for mainboards without battery

if using a mainboard without a battery, like in a mounted case or as a server, ectool will error when fetching temps on the battery sensor which can be seen with this command.
ectool tempsinfo all
0: 1 F75303_Local
1: 0 F75303_CPU
2: 1 F75303_DDR
3: 3 Battery
4: 0 PECI

system journal errors:
Aug 18 10:04:00 hostname python3[346601]: Sensor 3 error
Aug 18 10:04:01 hostname python3[346608]: Sensor 3 error
Aug 18 10:04:02 hostname python3[346611]: Sensor 3 error
Aug 18 10:04:03 hostname python3[346614]: Sensor 3 error
Aug 18 10:04:04 hostname python3[346620]: Sensor 3 error
Aug 18 10:04:05 hostname python3[346631]: Sensor 3 error

this will cause an error message in journalctl once every second when fw-fanctrl calls ectool. this pr adds a config option noBatteryMode which will only call ectool on every sensor except for one marked as battery.

Hi, thanks for pointing this out and for your contribution.
I'll have a good look at everything in a bit, but here is my initial feedback.
At the moment, when we deal with instance configurations, we do send them via the run command (e.g. hardware-controller, socket-controller, silent...).
I am open to imagining a new standard way of configuring this via the configuration file, but to ensure uniformity, I think we should do it this way for now. (feel free to discuss this in a new issue 😉)
I will be available in about 2 hours to give you more feedback.
If you have any questions, feel free to ask them and I will do my best to answer.

That's no problem, I don't think it'll be too much work to rework it to be a run flag like that. I'll work on it later today

i've made changes that pull from the command line args for the no battery mode, and also the changes to the installer to add the flag to the ExecStart in the service file

no i think these are all valid things to point out. i've updated things accordingly, and moved most of the work to the hardware controller. the only thing i can't really speak for is using a different hardware controller other than ectool, because there is not other code here to use such, and i only know the output format of ectool. so these class specific modifications are probably a good way to go in case another controller is added in the future

the only thing i can't really speak for is using a different hardware controller other than ectool, because there is not other code here to use such, and i only know the output format of ectool. so these class specific modifications are probably a good way to go in case another controller is added in the future

Yes, this is just a "what if", but it helps to structure the code and assign responsibilities to each class.
I just have one last bit of feedback to give you and we should be good to merge 👍

oops, one last thing, there is no documentation for "--no-battery-sensors" the readme for the run command

After some more testing, it seems that the way you add the "--no-battery-sensors" to the service will not do :/
If I run the install script once with the "--no-battery-sensors" argument, then uninstall and reinstall again without it, it still stays in the service anyway.
The integration of the argument into the service should be done without persistence in the installation files.
You could use the actual way we do this by using a placeholder and replacing it with the desired value (Line 166 cat "$SERVICES_DIR/$SERVICE$SERVICE_EXTENSION" | sed -e "s/%PREFIX_DIRECTORY%/${PREFIX_DIR//\//\\/}/" ..... | tee "$DEST_DIR$PREFIX_DIR/lib/systemd/system/$SERVICE$SERVICE_EXTENSION").

fixed the installer and renamed a lot of variables/functions for clarity in these commits

nope, it all looks good to me!

🎉 Congratulations 🎉
Thank you again for your time and contribution!
It was a pleasure to work with you.
Have a great day :)


Async Issues

When running this file the overlay function runs only after you press the exit button (and press yes). I realize that this is probably how the while loop works, but I can't think of a workaround at the moment. If anyone has ideas please speak up. Thanks.

I should leave note: if this works out this should resolve/ close Issue #3

Note for myself
Using asyncio may not be the way to go, take a look at multiprocessing. I need to run tasks at the same time, not switch control of tasks.


Bug: When unauthenticated, getToken is not a function, it just has the value undefined.

Prerequisites

[X] I have searched the repository’s issues and Kinde community to ensure my issue isn’t a duplicate
[X] I have checked the latest version of the library to replicate my issue
[X] I have read the contributing guidelines
[X] I agree to the terms within the code of conduct

Describe the issue
When unauthenticated, getToken is not a function, it just has the value undefined.
 useEffect(() => {
      console.log(`isAuthenticated: ${isAuthenticated}`);
      console.log(`getToken: ${getToken}`);
      if (getToken) {
        console.log(`getToken(): ${getToken()}`);
      }
      console.log(`user: ${JSON.stringify(user)}`);
    }, [isAuthenticated, getToken, user]);

console.log returns:
isAuthenticated: false
getToken: undefined
user: null

The issue comes from the AuthProvider file AuthContext initial state, lacks the property getToken:
const AuthContext = createContext({
  ...config.initialState,
  user: handleError,
  isLoading: handleError
});

Library URL
https://github.com/kinde-oss/kinde-auth-nextjs
Library version
1.8.2
Operating system(s)
macOS
Operating system version(s)
macOS Ventura 13.2.1
Further environment details
All browsers
Framework: NextJS v12
Reproducible test case URL
No response
Additional information
No response

Fixed by #30


chromamigdb error

When trying to run I got the error:

Using Model thebloke/llama-2-13b-chat-gptq
Traceback (most recent call last):
File "E:\TEXT-AI\h2ogpt\generate.py", line 16, in
entrypoint_main()
File "E:\TEXT-AI\h2ogpt\generate.py", line 12, in entrypoint_main
H2O_Fire(main)
File "E:\TEXT-AI\h2ogpt\src\utils.py", line 59, in H2O_Fire
fire.Fire(component=component, command=args)
File "e:\TEXT-AI\venv\h2ogpt\lib\site-packages\fire\core.py", line 141, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "e:\TEXT-AI\venv\h2ogpt\lib\site-packages\fire\core.py", line 475, in _Fire
component, remaining_args = _CallAndUpdateTrace(
File "e:\TEXT-AI\venv\h2ogpt\lib\site-packages\fire\core.py", line 691, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "E:\TEXT-AI\h2ogpt\src\gen.py", line 1017, in main
db = prep_langchain(persist_directory1,
File "E:\TEXT-AI\h2ogpt\src\gpt_langchain.py", line 2444, in prep_langchain
get_existing_db(None, persist_directory, load_db_if_exists,
File "E:\TEXT-AI\h2ogpt\src\gpt_langchain.py", line 2589, in get_existing_db
raise ValueError(
ValueError: Detected chromadb<0.4 database, require migration, but did not detect chromamigdb package or did not choose auto_migrate_db=False (see FAQ.md)

I tried updating chromadb and auto_migrate_db=True, but that did nothing. also there is no chromadbmig package installed or available?!

The requirements file was updated.  You should at least run through pip install for langchain req file. The FAQ.md explains as it mentions. Let me know…

thank you! it solved the issue. perhaps, if you dont mind, can you help me with this:

The model weights are not tied. Please use the tie_weights method before using the infer_auto_device function.

I have not specified tie_weights or _infer_auto_device in my starting bat file.

Yes, by default we do not migrate, we just use the correct version of chroma package, else it would take long time to migrate (default chromadb team expectation).
The tie weights warning can be ignored.


[Bug 🐞]: Threefold Connect: Recover Account should validate the data before making the request

What happened?
When u enter the Application and click on the Recover button there will be a from required the username and seed phrase ,
if i entered the leave the two field empty or one of two and click recover button (submit button) give me the error in the seed phrase and I think it must check if the data is empty or not in the first before making the request  and give me error to tell me that there is a empty data .
https://github.com/threefoldtech/test_feedback/assets/101194226/6edaee1c-6a4d-4f81-aa1e-f69c4e071f78
What did you expect?
I expect error to tell me that there is a empty data .
What browsers are you seeing the problem on?
No response
ZOS info
No response
Dashboard info
No response
weblets info
No response
Relevant log output
Threefold Connect Version: 3.7.3 - 173

duplicate #542


Warn on mismatch between global @prisma/cli and local @prisma/cli or @prisma/client

Using a global prisma generate with a different local prisma or @prisma/client might lead to problems. It might be a good idea to warn users if they are doing that and ask for explicit confirmation.

/attempt #1911

I'm on it!

/attempt #1911

I'm on the queue if Akhil's PR doesn't get merged.


Remove Custom Policy from certain Users

How do I remove a custom teams policy from certain users without deleting the policy itself?
[Enter feedback here]

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

ID: fd13cd2b-3dca-1b7c-9970-c0f8c2348712
Version Independent ID: 318c6208-531a-3600-e45b-c43ea845db86
Content: Manage teams policies in Microsoft Teams - Microsoft Teams
Content Source: Teams/teams-policies.md
Service: msteams
GitHub Login: @cichur
Microsoft Alias: v-cichur

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


[fix bug 1140354] Add a command to create a superuser.

Coverage decreased (-0.25%) to 91.67% when pulling b135a9a1759f2c76741a03595d9a028b2c53d995 on akatsoulas:1140354-redirect into 2c7bf3419d79e180695c017a5d4dfd2d2ded335a on mozilla:master.

I suggest instead of writing the whole createsuperuser code from scratch, just extend django's builtin functionality eg:
from django.contrib.auth.management.commands.createsuperuser import Command as foo

class Command(foo):
    def handle(self, *args, **options):
        super(Command, self).handle(*args, **options)
        user = User.objects.get(username=username, email=email)
        user.groups.add(Group.objects.get(name='Admin'))
        user.groups.add(Group.objects.get(name='Rep'))

Also I would prefer to have a more remo specific name such as remo_createsuperuser.


Add an option flag to skip CI

It may useful to be able to append [skip ci] to the commit message. That way, test and/or build processes can be bypassed. ([skip ci] works both on Github and Bitbucket.)
Nice tool ;)

Good idea! I will add it soon.

check https://github.com/pforret/semver/releases/tag/v1.6.0 !

[skip ci] tested!


Disappearing slides when sliding back with coverflow effect

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Swiper Version: 3.4.2

Platform/Target and Browser Versions: all browsers.

What you did
https://codepen.io/93lucasp/pen/VzaOGY
Actual Behavior
When you slide back and the slide with id="8" is in the middle all the slides on the left disappeared

And this bug appear only when use Coverflow + loop: true

same issue as https://github.com/surmon-china/vue-awesome-swiper/issues/358

@aMUSiC Have u solved this bug?


Add Python Resource

Implementing User Authentication in a Python Application

Description

Motivation and Context

How Has This Been Tested?

Types of changes

[ ] Content Update (change which fixes an issue or updates an already existing submission)
[ ] New Article (change which adds functionality)
[ ] Documentation change

Checklist:

[ ] My code follows the code style of this project.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have made checks to ensure URLs and other resources are valid

Project's title should show what technology was used like "Implementing User Authentication in a Python Application with Flask/LoginRadius"

This repository is for project based resources. This article shows only small part of a bigger project.


x86_64 server with 1792 cpu cores - sysctl -a parsing takes >30min

Hi,
we have a huge x86_64 machine which has 1792 logical cpus. This means we have 122903 sysctl entries and 120853 of them are cpu related. It looks like the parsing of "sysctl -a" takes more than 30 minutes to complete.
Currently I have no idea on how to fix that, expect for tuning the parsing somehow.
I will clarify if there is any option to hide specific parameters, but so far I havn't found something.
Best
Marcel

My guess is that this is due to the prefetch portion creating an object for every single entry.
I think that it makes sense to either not prefetch or to selectively create only the object that is under scrutiny.
Alternatively, perhaps an exclude/include list mechanism could be passed to filter out some items and may even default to excluding CPU items since they aren't usually modified.

Hi Trevor, yes probably prefetch is the problem. Sorry Im not so familiar with providers, is there a way to disable prefetching for this provider on node level? An exclude mechanism would be also awesome, somehow changeable on node level via parameters

There's not, unfortunately. That particular subsystem is pretty darn complex so it will take some fiddling to figure out.

And just having a exclude via "sysctl -a | grep -v something..."?

Prefetching is global to the provider so it usually ignores resources parameters. There's therefore no (standard) way to pass parameters to it.

I know it doesn't solve the problem you are having with this module, but how about simple approaching the problem from a different angle and using something like thias/sysctl instead?

@marcelfischer Can you give the linked PR a shot (#52)?

@marcelfischer Can you give the linked PR a shot (#52)?

Hi,
I am a workmate of @marcelfischer .
This PR (4681998) works!
Thank you and best regards

@rutilus-rutilus Awesome, thanks for verifying!
@genebean This is probably a pattern that should be suggested across all prefetch calls.


Disable appending name to push stream

With this PR you can disable automatic name appending to the output URL, for use with different stream services where you already set the name in the URL.
relay: {
    ffmpeg: "path/to/ffmpeg",
    tasks: [{
        app: "live",
        mode: "push",
        edge: "FULL RTMP URL THAT DON'T HAS TO BE MODIFIED",
        appendName: false
    }]
}

Nice solution. Need commit Readme file for new guys

That did the trick for me! Thank you.


Add NIOAsyncWebSocketServerUpgrader

One for discussions, adds a new async version of NIOWebSocketServerUpgrader. Thoughts? This allows the upgrader to be async/await all the way through,  without needing to jump between event loops inside the class, or having optional async upgraders etc and push the boundary down to the channel handlers

@Lukasa so we've hit this issue in Vapor in that we can't make protocols async compliant without breaking changes. The way we've done it is to add async versions of the protocol that conform to the non-async version to work around it, that make sense? I've done that here

@Lukasa any idea what's causing the run loop to not fire?

Honestly, I don't think attempting to jerry-rig EmbeddedChannel to be suitable for testing async functions is going to be likely to work. I think we'll need an alternative to EmbeddedChannel that is an actor, and can safely execute async functions and wait for their completion.

@Lukasa is this something you're planning on adding?

I don't have any current roadmap to do it, no. But we're going to have to.

This sounds like a fun project. Mind if I take a crack at it? Have you had any thoughts about the implementation that you'd be able to share?

Sure thing, go for it.
My current thought right now is that the closes analog to an EmbeddedChannel is a channel that owns a private DispatchQueue, and that dispatches all operations onto that queue. This allows it to have the appropriate scheduling and isolation logic. Otherwise it would be the same as EmbeddedChannel (e.g. doesn't use a real clock, doesn't do things unless told).
In an ideal world it would be an actor but if it's an actor it's not possible to answer the question "am I on the event loop" in a coherent way. That's pretty unfortunate, and ends up totally disqualifying this from being a proper actor.

Is there any utility in looking at an actor-based event loop implementation? It seems like that's the sticking point at the moment.
Aside from that, I feel like it ought to be possible to use unsafe continuations to dispatch work onto an event loop instance in an async-friendly fashion. It's been a while though, and maybe there are some special cases I don't recall where the channel code requires synchronicity from the event loop in respect to other channels on the same loop?

Is there any utility in looking at an actor-based event loop implementation? It seems like that's the sticking point at the moment.

We're unlikely to be really willing to do that until we can use custom executors. The principal issue is that we want to be able to block threads on selectors, and actors cannot do that (they can't block in the cooperative thread pool). A complete actor based event loop that didn't do this would need a complete parallel I/O system that involved a separate I/O thread, and the performance implications of that are fairly alarming.

Aside from that, I feel like it ought to be possible to use unsafe continuations to dispatch work onto an event loop instance in an async-friendly fashion.

Yup, you can do that, and NIO already provides a bunch of helpers. The thing we need here is a replacement for EmbeddedEventLoop and EmbeddedChannel. The issue with these types is that they are embedded directly in the creating thread: they do not have a parallel thread context of their own. As a result, we can't use continuations to re-establish a thread context there.
This specific use-case would be a replacement for EmbeddedEventLoop that still allows control over when and how I/O happens, but that is tied to a specific actor. This is not a fully-fledged actor event loop, but it would be pretty close.

@Lukasa is the NIOAsyncTestingChannel supposed to be a drop-in replacement for EmbeddedChannel?
In the new tests I'm running
try client.writeString(upgradeRequest).wait()

and it's never returning

@0xTim Not a perfect one, because it's impossible to write a perfect one, so it's a next-best one. What does writeString do in that code?

@Lukasa nothing to see here - that pointed me in the right direction!


[Python] Add setup method to PostProcessor DoFn

Please add a meaningful description for your change here

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

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

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

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

R: @damccorm

Run Portable_Python PreCommit

Portable PreCommit Failure is unrelated to this PR


support CSS pseudo-element selectors

Hi!
Apologies if this has been submitted already. It looks like Nokogiri's CSS parser can't handle pseudo-elements (as opposed to pseudo-classes). As far as I can tell it's valid CSS3.
To reproduce:
Nokogiri::CSS::Parser.new.parse('input::placeholder { color: red; }')

Result:
root@dev:~/wg/ruby# ruby test.rb
Traceback (most recent call last):
	4: from test.rb:4:in `<main>'
	3: from /usr/local/lib/ruby/gems/2.5.0/gems/nokogiri-1.10.4/lib/nokogiri/css/parser_extras.rb:62:in `parse'
	2: from /usr/local/lib/ruby/2.5.0/racc/parser.rb:259:in `do_parse'
	1: from /usr/local/lib/ruby/2.5.0/racc/parser.rb:259:in `_racc_do_parse_c'
/usr/local/lib/ruby/gems/2.5.0/gems/nokogiri-1.10.4/lib/nokogiri/css/parser_extras.rb:87:in `on_error': unexpected ':' after ':' (Nokogiri::CSS::SyntaxError)

Thanks!

@mattparlane Thanks for opening a ticket about this.
Can you help me understand a bit more about what you're trying to do? Nokogiri's CSS parser is intended only to transform CSS queries into XPath queries; it's not intended to be a complete implementation of CSS syntax.
Another way to phrase the above question: can you give me a complete code snippet that demonstrates what you're trying to do when you provide a property/value pair like you did above ({ color: red; })?
Further, I'm interested in hearing your thoughts on which of the pseudo-element selectors you think are important for Nokogiri to implement?

Hey @flavorjones, thanks for getting back to me.
I'm actually using Nokogiri indirectly, via an old unmaintained gem called inline_style. I understand now that this is probably not the intended use, but I didn't realise that previously.
The gem takes an HTML file which may include CSS rules inside a <style> block, and then inlines them into the HTML. It's useful for emails, some email clients don't read <style> blocks.
Up to you as to what you want to do about it... Thanks for your time.

@mattparlane Oh, I see - so you have a style sheet that uses input::placeholder { ... }, and are using inline_style to try to inline; but when that gem invokes nokogiri to search for input::placeholder it errors?
If so, I think it's a reasonable feature request for Nokogiri's parser to not error out when it sees pseudo-elements -- I can fix that relatively easily.
But I would like to understand which pseudo-elements you care about, so that I can prioritize which ones we try to implement properly. Can you share more about your usage to help us prioritize?

Sorry about the delay. I guess my naive thinking is that all pseudo-elements should be supported... but I'm not au fait with the reason why each needs to be implemented separately or how much work it would be.
My use case is for custom CSS which is entered by users, so the universe of options is basically all CSS. Before you ask (because I also asked), pseudo-elements are indeed supported in some email clients: https://www.emailonacid.com/blog/article/email-development/using-pseudo-elements-to-progressively-enhance-your-emails/
Sorry if that's too vague... and totally understand if it's not realistic. Thanks!

@mattparlane It's helpful to know your use case is, essentially, "make inline_style not throw up on these selectors".
There are some very real challenges to implementing most of these pseudo-elements correctly, though, which is why I asked the question.
What should be returned on a query for ::spelling-error? There's no user agent flagging spelling errors, so I guess it would be defensible to implement this trivially by returning an empty NodeSet.
But what should be returned on a query for ::first-letter? The XML libraries used by Nokogiri implement a DOM API, and the DOM tree only provides a single Text node; we could split this text, but libxml2 in particular has some quirky behavior around merging sibling text nodes that could get tricky. As far as the inline-style gem goes, it expects to get Nodes returned when it performs CSS queries, which it then modifies to have a style attribute -- but Text nodes don't have attributes! What does it mean, in the DOM, to apply a style to the first letter of a string? What should inline_style's behavior be in this case?
All of which is to say, there are deeper issues around return values for a pseudo-element query that we'd need to figure out before starting to implement anything.
In the meantime, maybe we could make a minor improvement to Nokogiri to raise a new exception type like Nokogiri::CSS::UnimplementedPseudoElementSelector that your code (or inline_style) could rescue so as to skip over unimplemented (or unimplementable) rules. What do you think of that?

Hey @flavorjones, thanks for getting back to me. And thanks for explaining, I now understand the challenges involved.
Yes, I believe that new exception would work, as long as it's raised in a way that's not terminal.
Thanks again, this will help a lot!


Upped megalinter to v7.8.0

Wait for alpine to use python 3.12 by default

Closed in favor of #659


No one uses the ANE anymore?

Please I really need some help. I don't know if its the ANE that is broken or if I am doing something wrong. I got everything to work except when I call on Show Leaderboards the game crashes immediately

I'm trying to use this Ane project, and, for example, after the SignIn activity, it always fail the login ( without showing any alert message, just checking the callbacks from flash and loggin into the android LogCat. Seems that is not able to perform the login. maybe it crashes because you are not logged in

Yeah that might be it. It prompts me to sign in and I do it loads and i guess signs me in. It doesnt crash after that or anything. But right when i call the leaderboards it crashes :/

Do I need Flex SDK for this ANE? I dont use it I hope thats not the reason.

Well, i'm using the Adobe Flash CC 2014, using the Air 16.0 for Android, it automatically keep his own sdk compiler, but i downloaded the the flex sdk 4.6 from the official website, and i'm using that one. Anyway, i just figure out how to perform the login with success. As also the GameHelper says on failure, you have to:

check if the package name match the one used on the Google Developer console (eg. air.com.example.myapp, where the prefix 'air' is added automatically by adobe -.-" ) then be sure that the APP_ID is set properly into the manifest
<meta-data android:name="com.google.android.gms.games.APP_ID" android:value="\ your_app_id" />

(put the '\ ' before the code, this make the app id number interpreted as string)
And now, the magic part ( i didn't know honestly ). Reading on the https://developers.google.com/games/services/android/troubleshooting
I was following the steps to figure out the issue, when i saw that, under the section Linked apps (reachable from the left menu at Google services > Your App > ) i discovered that there was just one Linked app, and his details shown me the WRONG associated OAuth2 Client ID. In order to make it works ( lets say, you have two certificate, debug and release ) you have to create two OAuth2 Client ID with the SHA1 Fingerprint for each certificate in the developer console (at https://console.developers.google.com/), and then add the link to each of them (at https://play.google.com/apps/publish). Seems crazy for me, but now sign in perfectly.
I'm going to test the rest of the app. I'm testing on a Samsung Galaxy Note 3 with Android 5.0

@NathanFitchett a lot of time was gone since I last comitted to my ANE... but now I return and great changes are waiting! Stay tuned...

@alextel69 great to hear that

@alextel69  cant wait!

I wrote this funciton for getting the list of Leaderboards, whitout showing them
public static class getAllLeaderboardInfo implements FREFunction {

    @Override
    public FREArray call(FREContext context, FREObject[] args) {

        final String jsResultFailed = "{\"result\":0}";

        if (SignInActivity.mHelper == null || !SignInActivity.mHelper.isSignedIn()){
            context.dispatchStatusEventAsync("LOG_MSG", "No user is logged in Game Service");
            // notify error
            context.dispatchStatusEventAsync("LEADERBOARD_MSG_RESULT", jsResultFailed);
            return null;
        }

        boolean fullLoad = false;  // set to 'true' to reload all leaderboards (ignoring cache)
        try {
            fullLoad = args[0].getAsBool();
        } catch (Exception e){
        }

        PendingResult<Leaderboards.LeaderboardMetadataResult> p = Games.Leaderboards.loadLeaderboardMetadata(SignInActivity.mHelper.getApiClient(), fullLoad);
        p.setResultCallback(new ResultCallbackct<Leaderboards.LeaderboardMetadataResult>() {

             @Override
             public void onResult(Leaderboards.LeaderboardMetadataResult metaResults) {

                int status = metaResults.getStatus().getStatusCode();
                if ( status != GamesStatusCodes.STATUS_OK )  {

                    metaResults.release();
                    // notify error
                    context.dispatchStatusEventAsync("LEADERBOARD_MSG_RESULT", jsResultFailed);
                    return;
                }

                // process loaded leaderboards
                LeaderboardBuffer buf = metaResults.getLeaderboards();
                int bufSize = buf.getCount();

                JSONArray jsArrayResult = new JSONArray();
                // Composing result flash array with structure [{"leaderboard_id":"<String Value>","leaderboard_name":"<String Value>",...,{..}]
                for ( int i = 0; i < bufSize; i++ )  {
                    Leaderboard leaderboardX = buf.get( i );

                    String lId = leaderboardX.getLeaderboardId();
                    String lName = leaderboardX.getDisplayName();

                    JSONObject jsLeaderboardX = new JSONObject();
                    try{
                        jsLeaderboardX.put("leaderboard_id", lId);
                        jsLeaderboardX.put("leaderboard_name", lName);
                        jsArrayResult.put(jsLeaderboardX);
                    }catch(Exception e){
                    }
                }

                JSONObject jsResultSuccess = new JSONObject();
                try{
                    jsResultSuccess.put("result", 1);
                    jsResultSuccess.put("list", jsArrayResult);
                }catch(Exception e){
                }

                // notify success
                context.dispatchStatusEventAsync("LEADERBOARD_MSG_RESULT", jsResultSuccess.toString());
             }

        });

        return null;
    }
}

The sample dispatched message to catch on Flash side is a json string like the following:
{"result":1,"list":[{"leaderboard_id":"CgaI1zzALOAeEAIQAZ","leaderboard_name":"Leaderboard Display Name"}]}
Could be useful if we have a single leaderboard and want to send a score without knowing the leaderboard id. In this way, we can also "reset" the leaderboard just deleting it from the Google Developer console, and creating a new one, so this function will give us the list of existing leaderboards, and for instance, we can take always the first leaderboard id from the returned list

Hi, I did setup my leader board, all is working.
My issue is that after closing the leader board activity, I am unable to interact with my app.
Its seams that the activity keeps overlapping the app, I need to press the Back btn again to be able to interact with my app.
After that, the leader boar wont show anymore, just the translucent activity overlapping the app.
Can anyone help me with? thanks

@scionGbh I've had something similar not sure if it's the same, any chance you are listening for Event.DEACTIVATE and Event.ACTIVATE in your game ? If so remove them both and check if it will start working fine, if it will make an exception for leaderboard.

@scionGbh in the native java code (file: StubActivity.java) the method 'finish()' is missed, doing like the following should made the trick for me:
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
	if (requestCode == REQUEST_CODE  && resultCode == GamesActivityResultCodes.RESULT_RECONNECT_REQUIRED) {
			SignInActivity.mHelper.onDisconnectedFromGoogleActivity();

	}
	finish();
}

@LucaIaco Thanks for your answer.
can you please point me to the right way to rebuild the ane?
I have import the project in eclipse and its full of errors by missing some classes (all FRE....)
thanks

You have to:

ensure that at least no syntax error occurs in eclipse
ensuring you have Apache 'ant'. If you haven't get here: http://ant.apache.org/srcdownload.cgi
you need java installed on your machine
open the terminal and go the folder which contains the build.xml file and, if all the path parameters are properly set (see the build.bat in this project, used on MS Windows i guess ) just run the 'ant' command (put the full path to the ant executable or add the environment variable for the ant executable file). If the script complete fine, you will get your custom version of the ANE file for this project. You can find plenty of example online ( like https://github.com/alebianco/ANE-Google-Analytics ) and you will see that each one has a different implementation into the file 'build.xml' but the result will be almost the same.

@LucaIaco thanks so much, but I did tried adding the finish to the java class and recompile the ANE, but the issue is still there :(

@scionGbh mmm, pretty strange, i'll check tomorrow if i made something more maybe, normally calling 'finish()' the stub activity which manage the leaderboard / achievement presentation is dismissed ( it's transparent since there is no view attached to this activity at that state )

@LucaIaco Thanks, I am a half way to the solution.
I did added the onPause() method and call the finish from there, that solved the first issue, when you close the leader board, keeping the activity overlapping the app.
But after that the app is unable to show back the leader board and just open the transparent activity overlapping the app.
@Override
protected void onPause() {
super.onPause();
finish();
}

I have been working on other projects since the last comment.
Today I am back and I have managed to solve my issues.
as @LucaIaco suggested  to me I have added the finish() method call to the StubActivity.
but I did it inside the onPause() method, that solved halve of my issue.
now I did read the StubActivity class completely and solve both of my issues by setting
isShown = false;
before call finish().
@Override
protected void onPause() {
super.onPause();
isShown = false;
StubActivity.this.finish();
}
no my StubActivity looks like this:
package com.google.api.games;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import com.google.android.gms.games.Games;
import com.google.android.gms.games.GamesActivityResultCodes;
public class StubActivity extends Activity {
public static final String ACTION_SHOW_LEADERBOARDS_ACTIVITY = "showLeaderboardsActivity";
public static final String ACTION_SHOW_LEADERBOARD_BY_ID_ACTIVITY = "showLeaderboardByIdActivity";
public static final String ACTION_SHOW_ACHIEVEMENTS_ACTIVITY = "showAchievementsActivity";

public static final String EXTRA_LEADERBOARD_ID = "extraLeaderboardId";

private static boolean isShown;

private static final int REQUEST_CODE = 7325;

@Override
protected void onCreate(Bundle savedInstanceState) {
	super.onCreate(savedInstanceState);
	if (isShown) {
		return;
	}

	if (getIntent().getAction().equals(ACTION_SHOW_ACHIEVEMENTS_ACTIVITY)) {
		startActivityForResult(
				Games.Achievements.getAchievementsIntent(SignInActivity.mHelper
						.getApiClient()), REQUEST_CODE);
	}

	else if (getIntent().getAction().equals(
			ACTION_SHOW_LEADERBOARDS_ACTIVITY)) {
		startActivityForResult(
				Games.Leaderboards.getAllLeaderboardsIntent(SignInActivity.mHelper
						.getApiClient()), REQUEST_CODE);
	}

	else if (getIntent().getAction().equals(
			ACTION_SHOW_LEADERBOARD_BY_ID_ACTIVITY)) {
		String leaderboardId = getIntent().getStringExtra(
				EXTRA_LEADERBOARD_ID);
		startActivityForResult(Games.Leaderboards.getLeaderboardIntent(
				SignInActivity.mHelper.getApiClient(), leaderboardId),
				REQUEST_CODE);
	}

	isShown = true;
}

@Override
protected void onPause() {
	super.onPause();
	isShown = false;
	StubActivity.this.finish();
}

@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
	if (requestCode == REQUEST_CODE
			&& resultCode == GamesActivityResultCodes.RESULT_RECONNECT_REQUIRED) {
		SignInActivity.mHelper.onDisconnectedFromGoogleActivity();

	}

}

}
Thanks all of you for your help, I hope my solution can help all of you.
:)


feat(rosetta): support "strict" assemblies

A "strict" assembly carries a special metadata entry
(jsii.rosetta.strict = true) that instructs jsii-rosetta to always
handle that as if --compile and --fail were provided. This allows
opting specific modules from a mono-repository into "enforced compiling"
operation while retaining the ability to run jsii-rosetta only once
from the root of the repository. Concretely this means one can validate
examples from a single package are valid by simply running jsii-rosetta
(strict mode will imply --compile --fail), while a continuous integration
pipeline can continue to use jsii-rosetta on a whole mono-repo in a single
command (which is typically a lot faster).
Also added a --strict option to jsii-rosetta in order to have
consistent semantics here. And added a sub-command of jsii-rosetta
to actually set the metadata entry correctly for the user.

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

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-5lHf64IXfvmr
Commit ID: 8ed40c209b4e0f679e38a47acf54206d73e3d505
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-5lHf64IXfvmr
Commit ID: fec41fd021d8814fe0f9db04abcb8b2da3276213
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-5lHf64IXfvmr
Commit ID: ac89fc66de0e9cfd1ccc0fb5f54d1c1bee71b540
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-5lHf64IXfvmr
Commit ID: a260302bfe87cabf04d92ab357245a6d62cd5a6b
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

This allows opting specific modules from a mono-repository into "enforced compiling"
operation while retaining the ability to run jsii-rosetta only once
from the root of the repository.

Can't seem to follow what you're saying here. Can you re-state simply?

This allows opting specific modules from a mono-repository into "enforced compiling"
operation while retaining the ability to run jsii-rosetta only once
from the root of the repository.

Can't seem to follow what you're saying here. Can you re-state simply?
Do you mean the samples will always be compiled as part of jsii?

I've attempted rephrasing (actually added more text).
We still don't run Rosetta as part of jsii, no...

If the sample uses a package/code that is not declared as a dependency of this package (either because it's a downstream dependency or a utility package that a customer can choose to use), how does the --strict option check this?

Not certain I understand the question well, but here's some answers nevertheless:

The strict enabling metadata is recorded on the jsii Assembly. Whenever jsii-rosetta translates samples from a repository with that metadata, it will be compiled, and jsii-rosetta will fail on compilation errors (as opposed to failing only on attempting to transliterate things it does not support)
Any dependencies required in order for the compilation to succeed must be present and available at the time jsii-rosetta is run... This in particular is why it's not possible to perform the "compile check" at time of package compilation - the code examples may depend on packages that are not yet built... Consider the case of @aws-cdk/core - it's examples heavily use other libraries such as @aws-cdk/aws-lambda, etc... because they are otherwise not really helpful. As a consequence, a "local iteration workflow" would be something along the lines of:

Compile current package & any package needed by code samples... (This could mean compiling a whole monorepo, to simplify)
Edit the documentation you're looking to iterate on
Re-compile (run jsii on the package where edits were made)
Run jsii-rosetta to validate code samples are all compiling
Goto step 2 ad libitum (until you're happy about the result)
Make pull request

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-5lHf64IXfvmr
Commit ID: 6f8174272e0e27f37e4ab9e843aab5c5819e79b9
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-5lHf64IXfvmr
Commit ID: 55633ae1d653b541852433cbd57c0a48863131a2
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-5lHf64IXfvmr
Commit ID: e805655126c4c0941334e5668dff0f0a6548b593
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergifyio refresh


Do daily index movement

Maybe use
:green_circle: +4.1
:red_circle: -4.1

I reckon we should do
Core Logic Daily Index: 171.1 (:green_circle: +2.1)

Or
171.1 (green_circle +2.1) - Core Logic Daily Index


Implement Greedy optimizer

Greedy optimizer implemented in 7dcee5f.
RandomGreedy can be implemented as a custom choose function. Work needs to continue on parallelizing random instances and writing a thermal choose function.


Enakhra's Lament - missing prayer requirement

Enakhra's Lament requires the use of Protect from Melee but the requirement of 43 prayer is not listed. The guide does mention to use protect from melee so nothing further needs to be changed.
Issue was mentioned in the Discord.
Fix:
Add 43 Prayer added as a requirement

Already Fixed


Use --history-max as recommended in helm's docs

https://helm.sh/docs/using_helm/#initialize-helm-and-install-tiller

Setting --history-max on helm init is recommended as configmaps and other objects in helm history can grow large in number if not purged by max limit. Without a max history set the history is kept indefinitely, leaving a large number of records for helm and tiller to maintain.

@gldraphael : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Thank you for the contribution @gldraphael !
I was able to resolve the PR conflict and incorporate your changes in this commit:
https://github.com/MicrosoftDocs/azure-docs/commit/49d0fd941ea25d74f55568a5150d4ecf9d03bcb2
#please-close