Add pull-down refreshing functionality on iOS 15 to abtesting [SwiftUI]

Update app config from RemoteConfig using refreshable View modifier for iOS 15. Modularize ContentView with use of new struct BasicList. Add dynamic UI tests for refreshing functionality.
Any suggestions on how/whether to implement async/await functionality for this Quickstart?

For async/await, it might be possible to update the updateFromRemoteConfig function to use the async versions of fetch and activate or even fetchAndActivate instead.

Do you think it would be best to just include such changes in this PR or make a separate one?

Separate. This one is good to go as is.


resolution and mouse move wrong pos

I hope this post is still of interest
Hi, I just downloaded and used, the UI detection, throwing and pulling the fishing rod is quite good, but I have a few problems:

When the pop ups appear, it seems that the system still detects the templates, but the mouse move doesn't seem to be in the right position, so disabling these windows is not done.
I've made a few changes: instead of clicking the mouse, I'll do a button press on the keyboard
keyboard.press_and_release('space') (backspace, and esc)

However it still works pretty bad for cases like warp_time, extend_day so hope you can explain me more about mouse.move commands

Maybe the problem is partly due to the resolution, but I can't find the parameters to adjust for the different resolutions, so the positions may be wrong due to different versions.
Can you point me to resolution-related arguments that I can adjust myself?
(my monitor has a resolution of 1920x1080)

Hi,
there are no resolution related arguments. Only supported resolution is 1920x1080 because that is the resolution the templates were taken in. On other resolutions those templates wouldn't work. Location on the screen where mouse click should occur should be the location where a certain template was detected. I have no idea why that doesn't happen for you. Are you sure those templates are getting detected correctly? Do you have the game in english? (templates are in english so if the game is set to another language, they do not match) You can try printing out rel[0], rel[2][0] and rel[2][1] to see more information about location on the screen where template was detected (and if it was detected). rel[2][0] and rel[2][1] should be the coordinates where the template was matched. mouse.move moves the mouse pointer to that location and mouse.click clicks the mouse at that location. I didn't go with keyboard approach because sometimes, at least in the past, game would bug out and keyboard wouldn't work for closing these windows. Note that warp_time isn't working particularly well at all.
Regards 😄

Hi, there are no resolution related arguments. Only supported resolution is 1920x1080 because that is the resolution the templates were taken in. On other resolutions those templates wouldn't work. Location on the screen where mouse click should occur should be the location where a certain template was detected. I have no idea why that doesn't happen for you. Are you sure those templates are getting detected correctly? Do you have the game in english? (templates are in english so if the game is set to another language, they do not match) You can try printing out rel[0], rel[2][0] and rel[2][1] to see more information about location on the screen where template was detected (and if it was detected). rel[2][0] and rel[2][1] should be the coordinates where the template was matched. mouse.move moves the mouse pointer to that location and mouse.click clicks the mouse at that location. I didn't go with keyboard approach because sometimes, at least in the past, game would bug out and keyboard wouldn't work for closing these windows. Note that warp_time isn't working particularly well at all. Regards 😄

The pattern detection is pretty good, I've also added new patterns to the data folder,
As for the return position of the minMaxLoc() function, I've tried it outside the game and the results are still pretty bad, so I just have to manually calculate it and add and subtract the number of pixels it's different from.
Now with the test run it's pretty good for the whole function
however as you said, warp_time is not working, i am looking for the cause to fix it, the detection of fullkeepnet is still working very well, but it seems that the conditional functions are not activated making the mouse move and click to "next morning" seem not to be performed

I really don't know why these coordinates have such a big offset for you, very strange. To me they are spot on. Probably has something to do with Pillow ImageGrab not screenshotting the whole screen. I don't know what else might be the cause of it. You can try storing np.array(ImageGrab.grab()) in a separate variable and then calling np.shape to see if the dimensions of the loaded image are really 1920x1080. Another possiblity is that the mouse module is placing the mouse pointer incorrectly, that is the offset appears there.
If you do make any improvements in the program, feel free to open pull request. 😄
I can't accept these offsets in a pull request though as these do not appear for others.
Regards

ImageGrab

hanks for the help, i will try to test it again with ImageGrab, however for now most of the functions i calculate by myself and use mousemove manually just for compatibility with my environment so it may not work for others

hey @DarkLord76865 , i seem to have been able to solve almost all the problems i had even though it was a bit manual
However, there are 2 small but sometimes occurring problems that interrupt the automatic process,
1, sometimes before the cast is redundant, a right click of the mouse causes the cast system to be interrupted and it is almost impossible to get out of that interruption,
i tried to put more lines in the Twitching section (because i only use twitching and the error occurs in these cases) but still can't fix it, can you give me some advice that this right click is caused by any line of code?

every time you do "caught_fish" the camera will be reset to the center of the screen, so sometimes the fish hook will get stuck because the character doesn't look down.
I have tried many ways to script mouse.move down but this is not possible for some reason which may be related to the nature of FPS game or game security.
I don't know if you have encountered this problem? (I only tried the system on Emerald lake)

Right click only appears in the part of code that is responsible for different types of retrieves. I don't know why there is a redundant right click that you described. Last time I used my app, everything worked fine, there were no redundant right clicks. Could you maybe film a short video of it happening? It is very difficult to see anything in the screenshot that you shared. As for the camera self centering, I don't think that there is anything that can be done about that. The game self centers the camera. You could try to position a character in a way that would make it impossible for a hook to get stuck on the ground.


Support normal sensors

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Normal text and number sensors without the input fields
Describe alternatives you've considered
None
Additional context
Idk why we can't just have normal sensors like this:

instead of this:

The code just makes an HA-compatible sensor set of mqtt topics. The UI part is all done by HA.
If I've read the doc wrong and there is a way to control the view with a MQTT entry, please let me know.

Seems to be related to https://github.com/unixorn/ha-mqtt-discoverable/issues/84 but when i try to use that (https://github.com/Bluscream/fritzbox-extended-stats-mqtt/blob/main/stats.py#L161-L163) my app sends nothing to mqtt at all


Comments: Hi! Is This You?

 You consider yourself an introvert, and you subscribe to the idea of "engineering time" where you like to work for extended uninterrupted periods because interruptions wreck you. You are used to being misunderstood. Ever since you can remember the people around you have been kind of baffling: they constantly fail to notice stuff that's really obvious and important to you, and then they have the audacity to get frustrated with you for not understanding them.
But whatever, you can deal with this. This is just how life goes, right?

Very interesting. Some of the things described are also common for HSPs (Highly sensitive people). https://hsperson.com/about-high-sensitivity-autism-and-neurodiversity/


Config: Why do we need screenshotFolder?

https://codecept.io/visual says

screenshotFolder : This will always have the same value as output in Codecept configuration

Why do we need it then as config here? Instead the plugin could pull it directly from the CodeceptJS config, what do you think?
Smaller config surface, better plugin I would say :)

this is fixed, will be release as part of the new version. thanks for your suggestion.


Instructions for creating parentdisk for AzureACI seems to be incorrect.

The step for creating the ACI parent disk does not work or is described incorrectly.
Download the Convert-WindowsImage.ps1 function to the C:\Lab\wslab_xxx\ParentDisks folder as CreateParentDisk.ps1. Then run CreateParentDisk.ps1 as administrator. Choose the Azure Stack HCI ISO from C:\Labs\Isos, and accept the default name and size.
When running that script it does not ask for an iso file it just does nothing.

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

ID: 997dd27c-a77c-76ca-fd9a-b411c7155b9e
Version Independent ID: 304722a4-5966-0e19-53db-39555b07c8d2
Content: Tutorial on creating a private forest environment and virtual machines for an Azure Stack HCI cluster - Azure Stack HCI
Content Source: azure-stack/hci/deploy/tutorial-private-forest.md
Service: azure-stack
Sub-service: azure-stack-hci
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

@mhocso
Thanks for the feedback! We are currently investigating and will get back on this.

@JasonGerend
Can you please check and add your comments on this issue as applicable.

Hello @JasonGerend,
Could you please review this thread and add your comments.

@mhocso
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@JasonGerend
Can you please check and add your comments on this doc update request as applicable.

Is there any  update on this. I tried deploying and same issue. the parentdisk creation doesnt do anything.

Unfortunately, we have been unable to review this issue in a timely manner. We sincerely apologize for the delayed response. We are currently closing this issue, however if you feel the problem persists, please re-open the issue no later than May 20, 2024 with additional information.
We appreciate your contribution and encourage you to propose changes using public PRs, or submit feedback through our updated control at the top of the page, as we phase out Git Issues for this repo. For more information on our feedback systems, see https://aka.ms/ContentUserFeedback.

Closing this issue. #please-close


SimpleJIT hot code swapping

This makes it possible to change functions when using SimpleJIT without having to recompile everything or even restart the jitted code. When a changed function is currently on the stack, the old version will be returned to, but all new calls will be redirected to the new version. It is not yet possible to swap data objects.
This is a prerequisite of https://github.com/bjorn3/rustc_codegen_cranelift/issues/1087.
I have tested this PR by implementing lazy compilation in cg_clif as suggested by @flodiebold in https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/cranelift.20backend.20work/near/187645798 in February.
r? @pchickey (By the way, is it deliberate that you are marked as unavailable on zulip? I sent you a PM)
cc https://bytecodealliance.zulipchat.com/#narrow/stream/217117-cranelift/topic/hot.20code.20swapping.20for.20simplejit/near/216403611

It seems that the new x64 backend doesn't have support for position independent code.

@pchickey I have restored support for non-pic code in SimpleJIT to fix x64. Hot code swapping needs to be disabled in that case though. I have tested it with cg_clif in the non-pic, pic and hotswapping configuration.

Excellent, that is even better. Want to make a follow-up PR dropping the Simple from SimpleJIT?

Sure


[Draft] Testing issue with build-nilrt workflow.

What does this Pull Request accomplish?
TODO: Include high-level description of the changes in this pull request.
Why should this Pull Request be merged?
#799 keeps failing on the build-nilrt Action. I'm trying to determine why.
What testing has been done?
TODO: Detail what testing has been done to ensure this submission meets requirements.

Note: Once I had enough diffs in the full history like I did in the other PR it failed to fetch the cached gRPC Host OS Support here: https://github.com/ni/grpc-device/actions/runs/3578898259/jobs/6019550748
I'm addressing that issue with the change and not the failing of the Build Host OS gRPC Support step.
The reason I think it failed to get the cached build is because the history with the fetch-depth set to 0 hit some threshold so the abbreviation of the git commit using git rev-parse --short @:./third_party/grpc was increased. It used to be 7 characters (58602e2) but now is 8 (58602e20). This resulted in the cache miss and caused it to try to rebuild it.
We don't need to have the fetch-depth set to 0 (full history) anymore. It was used when we were using the git tags in the build but we arren't doing that anymore. My hope is that this will get us back to the shorter git commit and we can start using the cached gRPC build again.


Filepath of default config file is printed as 'None' in main_log

When launching ESMValTool with a config file specified as an argument, the line 'Using config file path/to/config-user.yml' is printed correctly in the logs. When launching ESMValTool without specifying a config file (using the default file in ~/.esmvaltool/), the line 'Using config file None' is printed instead.
When debugging during development, it would be useful to see at a glance exactly which config file is being used, even if it is in the default location.
Link to Radiation Budget branch

Radiation Budget Recipe (in development)
main_log_debug.txt from run with default config location
main_log_debug.txt from run using the config argument

This PR should have fixed it https://github.com/ESMValGroup/ESMValCore/pull/1233 - can you please make sure you are using the latest (or a more modern) version of ESMValCore? Please tell me what version you are using by doing a conda list esmval or esmvaltool version - if this still persists, I will move the issue to ESMValCore since that's where it needs to be (re)fixed :beer:

I just checked, ehat Core PR I linked above did not make it in the 2.3.1 bugfix release (it was merged on Jul 21, we made the bugfix release two days later, I don't remember us considering it important enough to include it), see the changelog, so if you test the current Core development branch (main) that'll have it in :+1:


Command to list deployed contracts

Request a mechanism to list deployed contracts in a project when using ZeppelinOS. e.g. zos deployed or zos networks.
Can get the information from individual zos.<network>.json
Truffle has truffle networks: https://www.trufflesuite.com/docs/truffle/reference/truffle-commands#networks
Discussed in Telegram and the forum: https://forum.zeppelin.solutions/t/request-mechanism-to-list-deployed-contracts-using-zeppelinos/1063

Consider outputting info about the owner of each proxy as well

This also came up as a nice-to-have when writing beginner guides for the CLI.


Keep hosted overview-broker up to date.

Hey matt
Is the hosted overview-broker at the-best-broker.cfapps.io always kept up to date with the latest commit?
If not we should fix that ;)

Unfortunately, it's not. It's deployed on PWS and so I'm not sure how I can set up a concourse pipeline to do this given I have to login with SSO.

This is now fixed! 👏


⚠ DesiTorrents has degraded performance

In 0100135, DesiTorrents ($DST) experienced degraded performance:

HTTP code: 200
Response time: 2842 ms

Resolved: DesiTorrents performance has improved in 4cf1768.


Extend Full-Sync API

A riak user is looking to have replication from Riak to DynamoDB, real-time with full-sync.
Real-time replication has been achieved by adding a queue for the replication target and fetching from that queue using some external workers (in this case the volumes from the bucket are relatively light and so no advanced worker pooling is required).
For reconciliation two extensions are required:

Add a new fetch format other than internal, called internal_aaehash that provides the segment ID and VC hash for each object to allow TTAAE to be consistently performed in the external cluster;

extend the Queue API to support POST of a list of Bucket/Key pairs, that will prompt re-queueing of those objects.

https://github.com/basho/riak_kv/pull/1792


Automated cherry pick of #2752

Cherry pick of #2752 on release-5.4.
/cc  @devinbinnie
NONE

The files scripts/generate_release_post.sh, scripts/generate_release_post.sh are in the blocklist for external contributors. Hence, these changes are not tested by the CI pipeline active until the build is re-triggered by a core committer or the PR is merged. Please be careful when reviewing it.
/cc @mattermost/core-security @mattermost/core-build-engineers


Data  abstraction in C#

Proposed title of article
Data  abstraction in C#
Introduction paragraph (2-3 paragraphs):
The property of data abstraction is that just the most important details are displayed to the user. The user is not shown the units that are trivial or non-essential. The practice of identifying only the required attributes of an object while discarding the irrelevant information is known as data abstraction. An object's properties and actions distinguish it from other objects.
In this article, the reader will understand data abstraction with the aid of the abstract classes
Key takeaways:
By the end of this article the reader will understand:

what is data abstraction.
types of abstraction
abstract classes.
use of abstract classes and abstract methods.
encapsulation vs data abstraction.
advantage of abstraction.

References:
N/A

@Dick7603
Sounds like a helpful topic - lets please be sure it add value beyond what is in the official docs and that it does not overlap with any existing EngEd articles (references any past and relevant articles in yours) or incoming topic suggestions (if you haven't already) to avoid any potential article closure. - approved


[Card][Dimmer] Animation/transition issue with new Microsoft Edge Update

On the Semantic UI website when you click the side bar the overlay flickers which is never used to do on the old version of Edge and on the cards where you hover on them for too long it just goes a single colour
https://semantic-ui.com/examples/theming.html

I can’t seem to reproduce the issue with the sidebar on 40.15063.674.0, is that the version you’re using? Cards do have a problem with the dimmer.

the sidebar works fine its just the dimmer lags out and with the cards it fades and then becomes a solid colour and the version im using is

thanks let me know if im using the wrong version

@jackttcoms I meant the version of Edge.

Oh sorry it’s the latest version that came with the creators update

The previous version of Edge worked fine and there was no issues


Resource with same name is overwritten in S3 bucket

Describe the bug
When uploading a resource having the same name as a already existing resource, then it is overwritten in the S3 bucket.
That is because the resource name is used as object name in S3 storage that must be unique. The soulution could be to prefix the resource name in S3 or generate a unique hash instead.
Steps to reproduce

in memo # 1 I attach resource with name "filename.jpg"
in memo # 2 I attache different resource (image), but with same name "filename.jpg"
The later image overwrites the old one and I see same image attached to both memos. I would expect to see different pictures.

Screenshots or additional context
No response

the storage service could modify the file path, eg. {year}/{timestamp}_{filename}

the storage service could modify the file path, eg. {year}/{timestamp}_{filename}

fair enough. Thanks.

Not a bug.


Change ./bin to LOCALBIN

Feature Request
Describe the problem you need a feature to resolve.
Path to some tools binaries is hard coded with ./bin, instead of using LOCALBIN (https://github.com/kubernetes-sigs/kubebuilder/blob/3c9cf656ce4d62a10c8e78a1c0f066de47c983db/pkg/plugins/golang/v3/scaffolds/internal/templates/makefile.go#L185).
Example
https://github.com/operator-framework/operator-sdk/blob/e001847a67f16d7173ae4fee7cff57cd4405edbb/internal/plugins/manifests/v2/init.go#L207
Describe the solution you'd like.
It would be also nice if tools binaries variables (OPERATOR_SDK, OPM, OPERATOR_SDK_VERSION and OPM_VERSION, which does not exist) could be grouped in here https://github.com/kubernetes-sigs/kubebuilder/blob/3c9cf656ce4d62a10c8e78a1c0f066de47c983db/pkg/plugins/golang/v3/scaffolds/internal/templates/makefile.go#L189-L196

/assign
I'd like to help this issue.


Put out some API 🔥

There were a couple of specs failing owing to the collision of ManageIQ#15430
and ManageIQ#15186
The logging specs were failing because of the collision of https://github.com/ManageIQ/manageiq/pull/15058 and https://github.com/ManageIQ/manageiq/pull/15392.

Note that while the second has been fixed with https://github.com/imtayadeway/manageiq/commit/f47a7520ab722024e64f101c790e97cd8e467c17, I'm concerned that this doesn't quite make sense. It seems to reveal that a MulticastLogger doesn't quite behave like a Logger - I don't think there's a sensible way to handle #reopen. Open to suggestion for a better way to fix this.
@miq-bot assign @bdunne
@miq-bot add-label api, bug, test

Wouldn't it be better to expect that the logger will receive whatever message you're expecting?

@bdunne this seemed preferable at the time since this is an integration test and I didn't want to mock an object I didn't own (Logger). I wanted a test that showed that something got written to the log regardless of how it got there.

I see.  Then I'm leaning toward changing:
before do
  @log = StringIO.new
  $api_log.reopen(@log)
end

after { $api_log.reopen(Rails.root.join("log", "api.log")) }

to:
before do
  @log = Logger.new(StringIO.new)
  $api_log.loggers << @log
end

after { $api_log.loggers.delete(@log) }

I'll open a PR to raise NotImplementedError when #reopen is called

@bdunne thanks! Just incorporated and repushed


Unity 2019.1.0f2 crashes with Zenject on "Play" button press

https://github.com/modesttree/Zenject/issues/628

Hi, @svermeulen. Are there any clues on what's causing these crashes? In our particular case, it often crashes after the second play mode enter. It's really frustrating and time consuming. Hope you can help.


Chargify configuration

This PR adds a new option to configure the chargify secret and the chargify configuration database model.
This will be used by the closed source part of trackit to implement the chargify integration

Code for the closed source “pro” (or “premium” or whatever we’ll call them) features must not appear in this repository (or on any public GitHub repository). If code here needs some changes to correctly integrate components from closed source modules, such as configuration flags or database schemas, this is fine as long as those changes are not specific to one module.


Fixed typo in a comment

Enact-DCO-1.0-Signed-off-by: Seungcheon Baek<EMAIL_ADDRESS>Checklist

[x] I have read and understand the contribution guide
[ ] A CHANGELOG entry is included
[ ] At least one test case is included for this feature or bug fix
[x] Documentation was added or is not needed
[ ] This is an API breaking change

Issue Resolved / Feature Added
There is a typo in a comment which could lead to a misunderstanding of the logic.
Resolution
Fixed typo
Additional Considerations
Links
There is no link related to this PR
Comments

I will cover this along with logic update later.


Add new PA health facility data sets

#196

i fixed two things:

one was the md extension issue Bryan mentioned
the other was a colon in a yaml value that needed to be escaped

i'll give a full review when i get another minute!


⚠ ClamAV has degraded performance

In 1ed9eef, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 589 ms

Resolved: ClamAV performance has improved in 10268bd.


[Fix #3415] Allow constant values in user task assignments

Fix https://github.com/apache/incubator-kie-kogito-runtimes/issues/3415
The older regular expression check does not longer makes sense, It prevents variables in user task model generated classes to be assigned to constant values.

PR job #1 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer
build-chain build full_downstream  -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-kogito-runtimes -u https://github.com/apache/incubator-kie-kogito-runtimes/pull/3416 --skipParallelCheckout
NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3416/1/display/redirect
Test results:

PASSED: 2262
FAILED: 2

Those are the test failures:

org.kie.kogito.codegen.process.ProcessGenerationIT.testProcessGeneration(String)[25]
Value <#{person.name}> is not valid for datatype: org.jbpm.process.core.datatype.impl.type.ObjectDataType@4fffe3d1

org.kie.kogito.codegen.tests.UserTaskIT.testUserTaskWithIOexpressionProcess
Value <#{person.name}> is not valid for datatype: org.jbpm.process.core.datatype.impl.type.ObjectDataType@4fffe3d1

PR job #3 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer
build-chain build full_downstream  -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-kogito-runtimes -u https://github.com/apache/incubator-kie-kogito-runtimes/pull/3416 --skipParallelCheckout
NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3416/3/display/redirect
Test results:

PASSED: 2626
FAILED: 2

Those are the test failures:

org.kie.kogito.codegen.process.ProcessGenerationIT.testProcessGeneration(String)[25]
Value <#{person.name}> is not valid for datatype: org.jbpm.process.core.datatype.impl.type.ObjectDataType@4fffe3d1

org.kie.kogito.codegen.tests.UserTaskIT.testUserTaskWithIOexpressionProcess
Value <#{person.name}> is not valid for datatype: org.jbpm.process.core.datatype.impl.type.ObjectDataType@4fffe3d1

@elguardian We are not removing anything, we are allowing setting constants but adding the variable in the case the value is not an expression


fix: undo didchange condition

I spoke with @effervescentia about this fix on https://github.com/logux/redux/pull/46
All that mattered was the wait and delete wait[id].
The boolean return and the didChange was more of an optimization.
However if didChange is false, we might miss an action that we've added and never get back a 'change' event emitted.
It seems like there's nowhere in logux itself that listens for the 'change' event, but we've actually found it necessary to listen for it to enable a "partialSync":
export const createPartialSync =
  (store: Store) =>
  <T extends AnyAction>(action: T) =>
    new Promise<ClientMeta>((resolve) => {
      const meta: Record<string, any> = { sync: true };
      // this will mutate meta and add "id"
      store.log.add(action, meta);

      const unbind = store.on('change', (_state, _prevState, _action, changeMeta) => {
        if (meta.id === changeMeta.id) {
          resolve(meta);
          unbind();
        }
      });
    });

What is the best explanation for ChangeLog of these changes?


BUG: Build failure due to problems with shebang line in cythoner.py

I ran into a problem running dev.py that appears to be caused by the shebang line #!python3  in the file scipy/_build_utils/cythoner.py. If I change it to #!/usr/bin/env python then the build works fine.
Most files in scipy with a shebang line use #!/usr/bin/env python. Only files in the _build_utils use #!python3.
Error message when running python dev.py build:
Meson build setup OK
💻  ninja -C /mnt/c/Users/Jozsef/OSS/scipy-test/build
ninja: Entering directory `/mnt/c/Users/Jozsef/OSS/scipy-test/build'
[3/1562] Generating 'scipy/_lib/_ccallback_c.cpython-310-x86_64-linux-gnu.so.p/_ccallback_c.c'.
FAILED: scipy/_lib/_ccallback_c.cpython-310-x86_64-linux-gnu.so.p/_ccallback_c.c
/mnt/c/Users/Jozsef/OSS/scipy-test/scipy/_build_utils/cythoner.py ../scipy/_lib/_ccallback_c.pyx scipy/_lib/_ccallback_c.cpython-310-x86_64-linux-gnu.so.p/_ccallback_c.c
/bin/sh: 1: /mnt/c/Users/Jozsef/OSS/scipy-test/scipy/_build_utils/cythoner.py: not found
[12/1562] Compiling C++ object scipy/_lib/_uarray/_uarray.cpython-310-x86_64-linux-gnu.so.p/_uarray_dispatch.cxx.o
ninja: build stopped: subcommand failed.
Build failed!

If I try running cythoner.py directly:
-bash: /mnt/c/Users/Jozsef/OSS/scipy-conda/scipy/_build_utils/cythoner.py: python3: bad interpreter: No such file or directory

I'm using conda with WSL (Ubuntu).

Thanks for the report @JozsefKutas. We shouldn't be relying on shebang lines at all, let's fix this to make sure it uses the correct Python interpreter that was already detected by Meson.

This turns out to be slightly annoying. In the below, the find_program version works but the files one does not:
cython_tree = declare_dependency(sources: _cython_tree)

cython_cli = find_program('_build_utils/cythoner.py')
invoke_cython = files('_build_utils/cythoner.py')

cython_gen = generator(py3,
  arguments : [invoke_cython, '@INPUT@', '@OUTPUT@'],
  output : '<EMAIL_ADDRESS>  depends : _cython_tree)

cython_gen_cpp = generator(cython_cli,
  arguments : ['@INPUT@', '@OUTPUT@', '--cplus'],
  output : '<EMAIL_ADDRESS>  depends : [_cython_tree])

The error is:
scipy/meson.build:216:0: ERROR: generator keyword argument 'arguments' was of type array[File | str] but should have been array[str] that cannot be empty

generator takes a single executable, and it seems hard to give it py3 <source_root>/_build_utils/cythoner.py where py3 is the detected Python install from:
py_mod = import('python')
py3 = py_mod.find_installation()

find_program is the wrong thing to use, but it's not clear to me if there's a tweak to make this work - in lieu of changing generator to custom_target everywhere (which would be a lot of churn).

I had a look at it some more. We're not using it wrong, the chapter on generators in The Meson Manual uses as its one example what we are doing:
idl_compiler = find_program('dsc_compiler.py')

g = generator(idl_compiler,
  output: ...

This seems like a design issue in Meson, relying on a shebang is a problem. Here we have a system that has python but not python3, and in gh-16937 we have an example of a system in the opposite situation (has python3 but not python.
@JozsefKutas can you please confirm that you really don't have a python3 executable at all? Or does changing the shebang to #!/usr/bin/env python3 work too?

The relevant Meson issue, with rules for shebang to use per platform, is https://github.com/mesonbuild/meson/issues/3911.

@JozsefKutas can you please confirm that you really don't have a python3 executable at all? Or does changing the shebang to #!/usr/bin/env python3 work too?

@JozsefKutas a ping on this, can you please check?

Hi, thanks for looking into this and I'm sorry for not responding earlier.
I've just tried with #!/usr/bin/env python3 and the build runs without problems.
I can run python3 in console without problems (both in and out of the conda scipy environment, and with completely deactivated), but for some reason it doesn't work with the shebang line (again, regardless of whether conda is activated or not). I've only encountered the problem in WSL.

The problem is that #!foo is an invalid shebang altogether, shebang lines are supposed to contain the full path to an executable (that executable can be the env program) plus optionally a single argument (e.g. a program that the env executable will search for on $PATH).
Attempting to run this program directly in any way results in failure -- no matter what system you use.
...
There's actually a more interesting issue. Meson's find_program implementation has a method called _shebang_to_cmd(), which is used if the command doesn't have the executable bit set (or on Windows, if the extension isn't in windows_exts). This checks the shebang using very rough heuristics to find a script interpreter, but not actually following the same rules that an OS kernel does. Namely, it special cases any shebang that ends with python3, even if it begins with nonsense such as the empty string, and runs via its own sys.executable which it knows satisfies "a python3".
This is why, usually, the cythoner.py script works fine. It is not marked executable in git, and thus isn't either executable in a git clone or an sdist. So Meson special cases it in find_program, and logs this:
Program _build_utils/cythoner.py found: YES (/usr/bin/python3 /tmp/scipy/scipy/_build_utils/cythoner.py)

Apparently, this is broken on WSL as it is somehow executable nonetheless, likely some quirk of WSL permissions. So Meson simply tries to run it directly.

Thanks for the report @JozsefKutas. We shouldn't be relying on shebang lines at all, let's fix this to make sure it uses the correct Python interpreter that was already detected by Meson.

I am not entirely sure what this is trying to say, but I think it's probably wrong. This script uses pure barebones stdlib python, and does not care what python interpreter it is run with, since all it does is execute the shell command cython.

Thanks @JozsefKutas and @eli-schwartz

We shouldn't be relying on shebang lines at all, let's fix this to make sure it uses the correct Python interpreter that was already detected by Meson.

I am not entirely sure what this is trying to say, but I think it's probably wrong. This script uses pure barebones stdlib python, and does not care what python interpreter it is run with, since all it does is execute the shell command cython.

As you pointed out on https://github.com/mesonbuild/meson/issues/3911, python3 is not supported by BSDs, and PEP 394 explains the details. That PEP states that it doesn't cover Windows, and also: "When reinvoking the interpreter from a Python script, querying sys.executable to avoid hardcoded assumptions regarding the interpreter location remains the preferred approach." While a meson.build file is not a Python script, the same principle should apply. So what I mean is that finding the native Python interpreter once and passing that along is preferred, and more robust than relying on a shebang line.
I wanted to do something like:
py_native = find_program('python3', native: true)

cython_gen = generator([py_native, '_build_utils/cythoner.py'], ...)

I just can't find a way to do this, because generator accepts only a single executable.

As you pointed out on mesonbuild/meson#3911, python3 is not supported by BSDs, and PEP 394 explains the details.

No, the person that opened that Meson issue pointed that out... and I objected and pointed out that that is actually incorrect and BSDs do support python3.
PEP 394 requires them to do so, because they are Unix systems. However, the BSDs do this as an optional addon, which violates PEP 394's requirement for Unix systems.

That PEP states that it doesn't cover Windows

Which is in large part the reason Meson reinterprets this.

and also: "When reinvoking the interpreter from a Python script, querying sys.executable to avoid hardcoded assumptions regarding the interpreter location remains the preferred approach." While a meson.build file is not a Python script, the same principle should apply.

TBH, independent of anything else, meson.build is a bad comparison, because Meson is not a python script, and it detects potentially multiple editions of python3, and runs some things (the python module) with one of them, and some things (command scripts) with another.

more robust than relying on a shebang line

But in this case the shebang line is just there as a hint to Meson to tell Meson to reinvoke the script using its interpreter, even if that is different from the python module one. :D

But in this case the shebang line is just there as a hint to Meson to tell Meson to reinvoke the script using its interpreter,

Ah okay, if that's the case then it's equivalent. Except it sounded like it may depend on whether we mark the script as executable or not. Which is fine now that we know, it should work I guess - but it's a little obscure.
Also we get configure output like:
Program _build_utils/cythoner.py found: YES (/Users/rgommers/mambaforge/envs/scipy-dev/bin/python3.9 /Users/rgommers/code/scipy/scipy/_build_utils/cythoner.py)

which is a little weird (I know it's found, it's in my source tree - and it's not a "program").

Ah okay, if that's the case then it's equivalent. Except it sounded like it may depend on whether we mark the script as executable or not. Which is fine now that we know, it should work I guess - but it's a little obscure.

Basically, Meson "knows" it's supposed to be a runnable program because you said it should be usable via find_program(). But it cannot be run directly -- this is often, but not exclusively, the case on Windows. So Meson attempts to figure that out for you, and in the process it does what it does for find_program('python3') as well -- it handles a python3 executable for you, gratis. This is mostly a convenience to Windows users, where python may not be installed, or may not be in PATH, but since Meson knows it has to have one (and ships with one in the .MSI installer) it can be sneakily helpful and just make that magically work as a last resort. If worst comes to worst, that will end up being meson.exe runpython.
If the script is executable, it is in theory supposed to be able to be executed directly -- and this too usually works, if you use #!/usr/bin/env python3 as the PEP suggests.

which is a little weird (I know it's found, it's in my source tree - and it's not a "program").

ISTR it was suggested somewhere, somehow, that find_program shouldn't bother logging when it converts a string into a found program object, if that string is pointing into the source tree.
(OTOH it does tell you what interpreter is used by the shebang detector?)

(OTOH it does tell you what interpreter is used by the shebang detector?)

Ah yes, that is potentially useful.

[...] This is mostly a convenience to Windows users, where python may not be installed, or may not be in PATH, but since Meson knows it has to have one (and ships with one in the .MSI installer) it can be sneakily helpful and just make that magically work as a last resort.

This is a convincing argument. Okay, let's leave it all as is then. Thanks for the context @eli-schwartz

@JozsefKutas commented on the related issue that the fix for him was related to line endings:
I ran into a similar issue when I first tried building scipy using WSL. I think that if you clone in Windows, git may alter line endings depending on the value of the core.autocrlf option in your git config. This changes the python3 in the shebang line of cythoner.py to python3\r, which will break the build process. You should be able to avoid this by cloning in WSL.
There's more explanation in this blog post.
That is consistent with the newer report in gh-17338, where the issue was:
/usr/bin/env: ‘python3\r’: No such file or directory

Cloning outside of WSL and then running in WSL should be possible, so I'd consider this a bug. We do have * text=auto in .gitattributes, which seems like the right thing here. It seems to me like the interpretation of the shebang line must account for this possibility. @eli-schwartz would you agree?

Thank you @rgommers! After changing my config with git config --global core.autocrlf input and re-pulling the repository in WSL, I am no longer seeing this error. I think that until this bug is fixed I may run into issues if I try to mix development with the windows side, but at the moment I'm fully in WSL for dev work so this shouldn't be a problem.

Cloning outside of WSL and then running in WSL should be possible, so I'd consider this a bug. We do have * text=auto in .gitattributes, which seems like the right thing here. It seems to me like the interpretation of the shebang line must account for this possibility. @eli-schwartz would you agree?

I am personally inclined to think that CRLF should be excluded from ever happening anywhere :D using proper line endings works even on Windows unless you're using, what, Notepad to edit them?

What's the status of this issue? It was milestoned for a release long ago, I've removed that now.

The issue seems to be fixed, so I'll close it. I ran a search for a other shebang lines in the scipy repo and all of them have been changed to #!/usr/bin/env python or #!/usr/bin/env python3, which both work fine.


Htmlbug

Goodday .
fixes #33
While trying to contribute to OSCSA website, i found out some tags dont have a close tag or some tags are not meant to be at some point which caused a bug when my prettier extension was trying to format the code.
The list of changes are in

line 162.. has a  thats not in use
line 119.. in line 119 has no close tag
line 202 ,209,215 line 210...  has no close tag
line 226... a  thats not in use
line 489... didnt have a close tag

@alswajiab can you review this PR?

@BatoolMM Goodmorning .
just to be sure , do i need to be borthered about this part of the this pull request that says "this branch has conflicts that must be resolved"


remove automatic assigned to the admin !

Bug description
when i create a issue or bug then it automatic assigned the issue to admin !
Minimal steps to reproduce the bug
Let suppose someone want to solve his issue , but in issue it automatic assigned the issue for solving to the admin . so remove it !
Error traceback
give the access for only review and assignee the issues to the admin on the basis of issue quality !
Screenshot

Hey there!
I understand where this comes from, but the issue needs to get assigned to a collaborator.
Since I'm the only active maintainer here, this responsibility falls on my shoulders for now :)
That doesn't mean people can't help, in which case, there is the "help wanted" label. Is that what you're suggesting?

@frgfm
In my previous organisation, where I work as a gsoc intern ,
As a contributor or maintainer of the project,
first i forked the project in my github profile after that I clone the forked repository from my github account, after cloning i run that project in my local machine, in machine testing if i got any bugs or crashes then i go to the main project repository not forked ,
then i add that bug as a my new issue, after generating issues their is a option in that issue - “are u want working on that project then i write answer “ as a heading , then i ans it “yes i want to solved that issue “,then i create that issue ,
After creating a issue , my mentor checked it  , after checking my issue , if he find that  it is real issue or a critical issue then he assigned to me for solving that issue ,
after assigning to me , I add a pull request with the issue number , and after that they merge my PR if it solving that issue ,
if let suppose it has  not any major effect then then my mentor close that issue !!

That sounds fair, feel free to open a PR to remove the auto assignment if you'd like!

sure

Closing this as issues can easily be reassigned after inspection by the admin :ok_hand:


lock service not available in master instance

I have this integration up and running great for all my switches, lights, motion sensors, etc but I can't get my zwave locks to work. The entities show up in the master fine but when I try to call the lock.lock service it doesn't exist on the master. I asked in discord about how to manually install the service on the master and they thought the service should pull over from the slave. Any ideas?

As stated at the bottom of the readme, you need to manually load components on the client side that are only used on the remote side. So basically add zwave: to your config. I intend to add automatic support for this at some point, haven't come around to do so yet though.

It was pretty simple to implement, so I went ahead and did it. You can try it out in #83 if you want. If you set up via config flow, just head over to Options and pick zwave from the list. Otherwise add it to your YAML config like this:
remote_homeassistant:
  instances:
  - host: <IP_ADDRESS>
    load_components:
    - zwave

Awesome! Thank you! I missed that special note in the instructions and didn't really understand it until you called it out. All I had to do was add a dummy config entry for lock: and it's now working.

The we'll close this!


fix data-* and aria-* attribute name conversion

Stems from this comment.
Checklist
Please update this checklist as you complete each item:

[x] Tests have been included for all bug fixes or added functionality.
[x] The changelog.rst has been updated with any significant changes.
[x] GitHub Issues which may be closed by this Pull Request have been linked.

This PR seems moot, since aria attributes are going to be handled via dashes - after reverting to the old API.


FR: webpack should throw error if no referenced dlls

When using DllPlugin and DllReferencePlugin in combination. The DllReferencePlugin should check if imports in the dll manifest.

It looks like you just deleted our lovely crafted issue template. It was there for good reasons. Please help us solving your issue by answering the questions asked in this template. I'm closing this. Please open a new issue with filled issue template. Also make sure your issue is not a question. Questions should be posted on Stack Overflow.


Utility script CreateServicePrincipal.ps1 broken in timing

https://github.com/LIS/LISAv2/blob/master/Utilities/CreateServicePrincipal.ps1
It shows the run-time error but passed in Admin priv Powershell ISE with debug mode. There must be something related to the timer issue.

hi what's the failure rate when you not use ISE?

So far, 100%

Close old threads.


Network Connectivity Issues after upgrade to 2.0.8

Rancher versions:
rancher/server or rancher/rancher:  rancher/rancher 2.0.8
rancher/agent or rancher/rancher-agent:
Infrastructure Stack versions:
healthcheck:
ipsec:
network-services:
scheduler:
kubernetes (if applicable):
Docker version: (docker version,docker info preferred)
Operating system and kernel: (cat /etc/os-release, uname -r preferred)
RHEL 7.5
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
Vmware
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Single Node
Environment Template: (Cattle/Kubernetes/Swarm/Mesos)
Kubernetes
Steps to Reproduce:

Create multiple projects with multiple namespaces.
Deploy a base centos container into each namespace in each project.
Execute Shell into the containers and ping google.com
Flannel network, but I reproduced it with canal too.

I would expect it to resolve for all the containers in all the namespaces in all the projects, but it does not.
Results:
I have a project Lab-A which has a  default namespace. I deployed two identical centos base images and one can reach externally the other can not.
Here are two base centos containers.

Now watch me ping them. (One works one does not)

We just upgraded today from 2.0.6 to 2.0.8. I did not notice this problem before. Here is what I noticed.

It happens with deploying multiple containers into the same namespace. Some work some don't (see example above)

I tried deploying containers in different namespaces within different projects in the same cluster and the problem persisted.

I deployed a container in two different projects, that were deployed to the same compute host, and the problem still occurred.

It's hit or miss. There doesn't appear to be an exact replication path. It's kind of trial and error, but it is reproducible.
When I say it can't ping google.com, what I also mean is that it can't take advantage of service discovery either.
I have noticed that I left and came back an hour later and 2 of the million containers I had that were failing before, all of a sudden worked. So I am not sure what to make of this.

Most likely this issue: https://github.com/rancher/rancher/issues/15146#issuecomment-414738661
Fixes are posted there as well

There is a fix mentioned here https://github.com/rancher/rancher/issues/15146#issuecomment-424251395
Possibly you are hitting this https://github.com/rancher/rancher/issues/13644
Let us if you have steps to reproduce the issue.

sadly i've got the exact same isssue (with a fresh install) and flushing iptable does not change anything...  i don't understand the fix that you are mentioning.
if Network Project Isolation is activated all DNS request are bloqued... but ping is working fine.
my config is
Rancher | v2.1.4
User Interface | v2.1.18
Helm | v2.10.0-rancher5
Machine | v0.15.0-rancher1-1
Kubernetes | v1.11.5-rancher1-1

Could someone help me, please, to understand what i need to do to have Network Project Isolation activated and kubernetes working correctly with dns resolve (and maybe the other services that cannot communicate that i don't see yet)

If anyone is still facing issues with a 2.2 release, please open a new issue.

As you mention @Angelinsky7, you have a Network connectivity issue on a Rancher v2 fresh install. We face the same problem but this doesn’t seem to be solved with a new Rancher version.
Did you find a workaround for your installation ?

@JeremyBesson
Hi,
my actual configuration changed a lot but this issue seemed to come from the firewall configuration of the OS. If you totally disable it, it should work as expected... then you can find what is blocking what.
But from what i remember, it was an issue with the docker's networks (that docker created) that were not accessible from docker....


[Q] 360 panorama examples

Are there any good examples of 360 panoramas with OpenSeadragon?
I know there is a bug #555 that affects that functionality so I was wondering if anyone is using OSD for 360 panoramas regardless of it, maybe with some workarounds?

As mentionned in #555, there are some here (check the 360 annotated ones) http://alexbartl.de/alex/panorama.html
There is also http://www.in2white.com/
There might be other in http://openseadragon.github.io/examples/in-the-wild/ that I don't remember.
For a workaround, you could try to generate a pyramid which have all tiles of the same size (including the last tile of each row). That would mean your would choose a tile with so that it is a divisor of your whole image width.

thank you


Add StrokeAlign to Border

Fix https://github.com/flutter/flutter/issues/88621.
This is not a breaking change, however, we probably want BorderSide.toString() to include the new StrokeAlign property, which kind of makes it a breaking change. I had to update 20 tests. We could live without this, it works the same without toString(), but I think it was the correct thing to do.
Left, Figma. Right, Flutter:

The change is relatively simple and allows nice things in the future, such as rings which are popular in Tailwind.
Important to know:

Lerp is HARD. There is no 'simple way' to lerp from inside to outside or center to outside. But, all strokeAlign values share a similar state: zero. If the strokeAlign changes, from t = 0 to t = 0.49, a.width becomes 0, then from t = 0.50 to t = 1, 0 becomes b.width. This makes the animation fluid (however kind of weird, as there are two different speeds, so it doesn't feel linear). We could also get the t where they would linearly intersect and apply the same strategy there, so it is REALLY linear, instead of fast until 0.49 and slow until 1.

https://user-images.githubusercontent.com/351125/163881225-5e3be3f3-b926-4448-8e67-1dbaba3e12f6.mov

Border(left: BorderSide(strokeAlign: StrokeAlign.outside)) is not supported because its implementation is different (and we probably don't want this to happen, like BorderRadius is also forbidden).

Border and all OutlinedBorders were updated so it gets half the padding on center and no padding at all at outside.

Code sample to play with my changes:
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData.dark(),
      home: const Scaffold(body: MyHomePage()),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

List<Widget> spaceRow(double gap, Iterable<Widget> children) => children
    .expand((item) sync* {
      yield SizedBox(width: gap);
      yield item;
    })
    .skip(1)
    .toList();

List<Widget> spaceColumn(double gap, Iterable<Widget> children) => children
    .expand((item) sync* {
      yield SizedBox(height: gap);
      yield item;
    })
    .skip(1)
    .toList();

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    const double width = 40;
    final Color borderColor = Colors.green.withOpacity(0.3);
    const debugStrokeAlign = StrokeAlign.outside;

    final circleLerp = CircleBorder(
      side: BorderSide(
        color: Colors.red.withOpacity(0.5),
        width: 15,
        strokeAlign: debugStrokeAlign,
      ),
    );

    final stadiumLerp = StadiumBorder(
      side: BorderSide(
        color: Colors.red.withOpacity(0.5),
        width: 15,
        strokeAlign: debugStrokeAlign,
      ),
    );

    final roundedRectangleLerp = RoundedRectangleBorder(
      side: BorderSide(
        color: Colors.red.withOpacity(0.5),
        width: 15,
        strokeAlign: debugStrokeAlign,
      ),
    );

    ShapeBorder stadiumToCircleLerp(double t) =>
        stadiumLerp.lerpTo(circleLerp, t)!;

    ShapeBorder stadiumToRoundedLerp(double t) =>
        stadiumLerp.lerpTo(roundedRectangleLerp, t)!;

     RoundedRectangleBorder(
                          side: BorderSide(
                            color: Colors.red.withOpacity(0.5),
                            width: 15,
                            strokeAlign: StrokeAlign.center,
                          ),
                          borderRadius: BorderRadius.circular(30),
                        )
                      : CircleBorder(
                          side: BorderSide(
                            color: Colors.red.withOpacity(0.5),
                            width: 15,
                            strokeAlign: StrokeAlign.outside,
                          ),
                        ),
                ),
                const SizedBox(width: 20),
                Material(
                  color: Colors.black,
                  child: SizedBox(
                    width: 100,
                    height: 40,
                    child: Center(
                      child: Container(
                        width: 100,
                        height: 2,
                        color: Colors.red,
                      ),
                    ),
                  ),
                  shape: _controller.value > 0.5
                      ? StadiumBorder(
                          side: BorderSide(
                            color: Colors.red.withOpacity(0.5),
                            width: 15,
                            strokeAlign: StrokeAlign.outside,
                          ),
                        )
                      : CircleBorder(
                          side: BorderSide(
                            color: Colors.red.withOpacity(0.5),
                            width: 15,
                            strokeAlign: StrokeAlign.outside,
                          ),
                        ),
                ),
                const SizedBox(width: 20),
                Material(
                  color: Colors.black,
                  child: SizedBox(
                    width: 100,
                    height: 40,
                    child: Center(
                      child: Container(
                        width: 100,
                        height: 2,
                        color: Colors.red,
                      ),
                    ),
                  ),
                  shape: _controller.value > 0.5
                      ? StadiumBorder(
                          side: BorderSide(
                            color: Colors.red.withOpacity(0.5),
                            width: 15,
                            strokeAlign: StrokeAlign.outside,
                          ),
                        )
                      : RoundedRectangleBorder(
                          side: BorderSide(
                            color: Colors.red.withOpacity(0.5),
                            width: 15,
                            strokeAlign: StrokeAlign.outside,
                          ),
                        ),
                ),
              ],
            ),
          );
        });
  }
}

class Lerpness extends StatefulWidget {
  const Lerpness({Key? key}) : super(key: key);

  @override
  State<Lerpness> createState() => _LerpnessState();
}

class _LerpnessState extends State<Lerpness> {
  bool direction = true;

  @override
  Widget build(BuildContext context) {
    return GestureDetector(
      onTap: () {
        setState(() {
          direction = !direction;
        });
      },
      child: AnimatedContainer(
        width: 100,
        height: 100,
        decoration: BoxDecoration(
          color: Colors.red,
          borderRadius: BorderRadius.circular(20),
          border: Border.all(
            color: Colors.black.withOpacity(0.75),
            width: direction ? 20 : 10,
            strokeAlign: direction ? StrokeAlign.inside : StrokeAlign.outside,
          ),
        ),
        duration: const Duration(seconds: 2),
      ),
    );
  }
}

I just committed big changes refactoring my PR (it was already ready for review, but while making another PR I learned a few tricks and came back here):

Add StrokeAlign to basically all OutlinedBorders. RoundedRectangleBorder, ContinousRectangleBorder, StadiumBorder and BeveledRectangleBorder.
I changed RoundedRectangleBorder to draw using a rrect instead of drrect. Technically this is a "breaking change" because I had to update a test. One parameter is better than two parameters, code with the StrokeAlign gets cleaner and overall all borders work the same now. If this change isn't welcome, I can revert.

// Before
..drrect(
    outer: RRect.fromRectAndRadius(rect, const Radius.circular(100.0)),
    inner: RRect.fromRectAndRadius(rect.deflate(10.0), const Radius.circular(90.0)),
)
// After
rrect(
    rrect: RRect.fromRectAndRadius(rect, const Radius.circular(100.0)).deflate(5.0),
)

I had changed dimensions for center and outside. Now, I also changed innerPath depending on StrokeAlign. The "issue" is, outerPath must not be changed or stranger things happen (like it affects the widget width). So, the innerPath gets smaller when StrokeAlign.center and is the same as outerPath for StrokeAlign.outside. The difference on StrokeAlign.outside should be in the drawing only, the Border shouldn't occupy space. I think this is fine, but I wanted to document this behavior. I didn't forget outerPath implementations :P.
There is a lot of duplicated code between the borders now. Should we keep it that way or maybe we could change OutlinedBorder to include a default dimensions and two helper functions for getInnerPath and paint, that every inherited class could use? What do you think? I tried to be more conservative (the changes are already kind of big and hard to test/see/understand).
I updated the sample code, basically showing how everything becomes now:

In doing so, I also fixed how CircleBorder lerps to RoundedRectangleBorder and so on. You can see on the sample, it is perfect.
There are two outlier behaviors:

BeveledRectangleBorder by default has a few pixels set to border outside, and when you set to StrokeAlign.outside, it has a few pixels to the inside. I think this is fine. I'm not breaking its behavior and it is consistent.
ContinousRectangleBorder by default works as StrokeAlign.center (while everything else in the galaxy works as StrokeAlign.inside). As 'inside' doesn't make a lot of sense there, I made inside = center, only outside is different (you can also see on the sample).

Tests are hard. RoundedRectangleBorder has a few goldens, the other ones don't. I tried to test based on some points I knew would exist/not exist, but testing paint is a pain.

Yay! I just fixed everything you mentioned and updated the sample for lerping between different Borders so we can see they are in a great state.

Hmm. Looks like you got hit by a random CI issue where it didn't launch all the checks. To fix it, push an empty commit (i.e. use git commit --allow-empty -m "Pushing empty commit" and push) to try triggering it again.

It seems tree is broken by something else (all PR are broken). Maybe you should mark as "wait tree to go green".

Yes, the tree is also broken at the moment, but because the "ci.yaml" step failed, you'll need to push an empty commit. That's the step that starts most of the CI checks.

I just pushed, but I think someone still didn't fix the ci.yaml issue. I can push again when they do.

rebasing to the top

Okay, looks like the checks fired off this time. And the tree is green, so once the tests pass, this will go in!

Ahh, sorry, I forgot we'll need a second review.  Let me see who can take a look.


Fix workshop page container width

The current workshop page is wrapped in a Container of size lg right now. Noticed because it causes awkward horizontal overflow on my laptop.
The rest of the website uses md for Container so I just changed it.
Not sure if this fix is in another upcoming PR, but I didn't see any issue made for it, so I made this one just in case. Feel free to reject if another PR was going to fix this.

This doesn't actually fix the bug of page overflow:

I also like having the videos be wider when possible…

@TimothyGu
I actually prefer it smaller because its too big for my laptop screen with the container maxWidth set to large:

With the medium container its much more readable.
There's a way to fix the overflow (I'm pretty sure it has to do with the way Material-UI does padding for their grid items). I most likely won't get to it today since I'm still helping Asha wrap up some last minute HOTH prep, but I can try get a fix up at least sometime tomorrow if it can't be done today.


React Ionic: Support Ionic 7

Thank you all for providing these awesome extensions for NX. Now that Ionic 7 is out  it would be nice if the packages are updated to support it. Also, Vite support addition would be really great if added.

Any plans on this?

Yes, it's planned. I can't raise a timeline, but hopefully, I'm able to work on this soon

@Quraian I released a Ionic 7 version with 16.2

I saw that, thank you Dominik!

Sorry for commenting on a closed issue.
Any plans on allowing the project to be created with vite and vitest? Instead of webpack and jest?


Feature: validating webhook

This branch is based off #704, waiting for this to be merged before this is ready for review.
Summary

certcontroller/RestartOnSecretRefresh removed (wasn't in use anyway)
wait for a period of time for certs on startup (instead of instant restart)
add readyz probes for crd and webhook deployments. This is helpful for helm install --wait as it waits for the pods to be ready
move provider registration from pkg/provider to v1beta1 to avoid package import cycle
add ValidateStore interface for the validation part
v1alpha1 validation is out of scope

Provider implementation:

[x] aws/secretsmanager
[x] aws/parameterstore
[x] hashicorp vault
[x] azure/keyvault
[x] gcp/secretsmanager

Other:

[x] implement controller-runtime readyz (maybe healthz) endpoints #719

Good catch @gusfcarvalho!

/approve

I just manually tested this :) nice one!

@moolen Just discovered this while testing the 0.5.0 release, this change breaks a use case that we have: not specifying the namespace in the secretRef or kubernetesServiceAccountToken sections in the auth spec for certain providers (Vault in our case) in ClusterSecretStores. The namespace of the ExternalSecret referring to the ClusterSecretStore would then be used when authenticating against the provider.
Implementation for secretRef in Vault provider:
https://github.com/external-secrets/external-secrets/blob/787129e3250d49733d1ae8dcd7dc3acd4a557182/pkg/provider/vault/vault.go#L829-L832
Implementation for kubernetesServiceAccountToken in Vault provider:
https://github.com/external-secrets/external-secrets/blob/787129e3250d49733d1ae8dcd7dc3acd4a557182/pkg/provider/vault/vault.go#L853-L861


hapi view engine suggestion?

Has there been any consideration in using Hapi React Views (https://github.com/jedireza/hapi-react-views) as the hapi view engine to render .jsx?
Or would that interfere with React Router?
I think this line
Transmit.renderToString(Handler).
would no longer be necessary with hapi-react-views?

Thanks for the suggestion! I don't want to make the starterkit very Hapi-specific, so this won't fit.
Of course if people want to use hapi-react-views, they can add it themselves.


Update README - add missing 'export' in command

Short description:
More details:
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for reviewer:
Bug:

/verified


Blameable behaviors have wrong default namespace for User

When generating models with blameable behaviors on an advanced Yii2 platform, the blameable behaviors incorrectly default to frontend\models namespace but the user models are in common\models by default.
Some people may move their User models to other namespaces as well other than common\models or frontend\models.  Perhaps an area to specify the namespace for the blameable behaviors would be nice?

Sorry, I don't get it. is Blameable behaviors generating any namespace for user model?

When you create a base model with BlameableBehaviors, the base model is created with both the PHPDoc notation as frontend\models\User (which should be common\models\User) as here:

@property \frontend\models\User $createdBy // <--should be \common\models\User

AND in the method in the base model in (same on getUpdateBy() method too:
public function getCreatedBy()
{
return $this->hasOne(\frontend\models\User::className(), ['id' => 'created_by_id']);
}

It depends on your Model Namespace input.

Yes, but User is located in common by default while most other models are located in frontend by default (assuming you're working on the frontend of course.)

I don't think I will fix it, You should manually change the namespace of User to your User location..


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_b8_1wgaws1/clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_b8_1wgaws1/clone/recipe/meta.yaml:27: missing_pip_check: For pypi packages, pip check should be present in the test commands
ERROR: /tmp/abs_b8_1wgaws1/clone/recipe/meta.yaml:34: missing_documentation: The recipe is missing a doc_url or doc_source_url
WARNING: /tmp/abs_b8_1wgaws1/clone/recipe/meta.yaml:34: missing_description: The recipe is missing a description
ERROR: /tmp/abs_b8_1wgaws1/clone/recipe/meta.yaml:34: missing_dev_url: The recipe is missing a dev_url
Errors were found


Actor lazy initialization bug

If I start invoking methods on actors too soon after my app has started I get the following error:
(The state store is configured correctly)
the state store is not configured to use the actor runtime. Have you set the - name: actorStateStore value: "true" in your state store component file?

but if I wait 20 seconds or so and then try it works fine.

This is because dapr is waiting for applications ready, especially when configured app health check. Dapr returns a mismatch error message for this situation, the actor will be initialized as soon as the application is healthy.

I think this was fixed by recent changes merged into master. Now we wait for the actor runtime to be ready. Closing


broken link to vmware ova in download section

not sure if this is the correct place to open this issue on, but here it goes :)
If I go to: http://manageiq.org/download/ and click the "VMware vSphere" I'll get:  "The resource has moved temporarily. "

@jelkosz , can you check the download again ?
I was able to down the Fine-4 and nightly VMware vSphere .ova files.

@tjyang it works now. It seems it has been fixed in meanwhile. Thanx, closing.


F+S03: Title doesn't make any sense + definition vague

It's possible that the title is just a typo but it doesn't make any sense in its current format. The description is quite vague and the examples focus only on sequencing and variation data, specifically on file formats. This is a common bias in biomedical data standards.
This entire indicator needs to be revised and widened. It mentions biological data types in half a sentence but doesn't define what it means by this and only refers to file types afterwards.

Suggested revision:
Data generated in the early phases of research data workflow is shared.
Old Title:
Share not only derived and publication related data but data generated in early phases of research data workflow such as primary data and analyzed data.

@madhavij I think you're confusing F+S03 and F+S06. We had a good suggestion for F+S03 on the call this morning.

Sorry my bad @daniwelter


[React Native] TextInput duplicates characters on android when 'text-transform:capitalize;' is set

Issue
When inputting text in a <TextInput /> component, where  text-transform: capitlize; is added as style - the input repeats the first character, and in some cases the entire string. This only occurs on android.
Environment
System:

OS: macOS 10.15.7
CPU: (4) x64 Intel(R) Core(TM) i5-6360U CPU @ 2.00GHz
Memory: 17.48 MB / 8.00 GB
Shell: 5.7.1 - /bin/zsh

Binaries:

Node: 12.18.0 - ~/.nvm/versions/node/v12.18.0/bin/node
Yarn: 1.22.5 - ~/.yarn/bin/yarn
npm: 6.14.4 - ~/.nvm/versions/node/v12.18.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman

npmPackages:

styled-components: ^5.2.1 => 5.2.1

Reproduction

import React from 'react';
import { View } from 'react-native';
import styled from 'styled-components/native';

const CustomInputField = () => {
  return (
    <View>
      <StyledTextInput />
    </View>
  );
};

const StyledTextInput = styled.TextInput`
  height: 60px;
  width: 100px;
  text-transform: capitalize;
`;

export default CustomInputField;

Expected Behavior
The first character in the string is not repeated.

I think this seems to me like it may be a react-native issue rather. See: https://github.com/facebook/react-native/issues/3294


Revert "Add path remapping with -coverage-prefix-map to coverage data"

Reverts apple/swift#32175

CC: @keith @vedantk - seems that the CI didn't trigger on the request (CC: @shahmishal)

@swift-ci please smoke test

I assume the issue here is relying on $PWD in the tests, working on a fix

Assuming #32434 works, lets go with that instead of this.


[Breaking change]: Removed the DefaultValueAttribute from properties that need dynamically calculated default values.

Description
We are removing DefaultValueAttribute from control properties that are dependant on the current font height.
Version
.NET 8 Preview 2
Previous behavior
Default values were hardcoded according to an assumed application wide font.
New behavior
Design time default values are calculated at the start up based on the current font metrics.
Type of breaking change

[ ] Binary incompatible: Existing binaries may encounter a breaking change in behavior, such as failure to load or execute, and if so, require recompilation.
[ ] Source incompatible: When recompiled using the new SDK or component or to target the new runtime, existing source code may require source changes to compile successfully.
[X] Behavioral change: Existing binaries may behave differently at run time.

Reason for change
This attribute is designed to define constant default values used by the WinForms designer. In the past this DefaultValueAttribute had been used to specify defaults on certain properties that depend on the current font height. When we set a new default font in .NET Core 3.1, we had not updated the attribute values accordingly. Moreover, we now have an API to modify application font.  Thus, it makes sense to use dynamic default values instead of the constant ones.  Designer provides alternative methods to specify dynamic default values. However, for properties decorated with this attribute, designer would not attempt the alternatives and would use the constant default value instead. The alternative method preserves design time functionality provided by this attribute.
Recommended action
DefaultValueAttribute is intended for internal use in design time scenarios in. It should be avoided in other scenarios.
Feature area
Windows Forms
Affected APIs
ListBox.ItemHeight
DataGridViewRow.Height
and more properties will be added later to this list, this is work in progress.

Associated WorkItem - 63470

This issue is tracked by https://github.com/dotnet/winforms/issues/8599


replaced deprecated ObjectUtils by java.util.Objects

minor changes, that will be need for all examples..

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.

ok to test

Thanks for the PR, but unfortunately I can't merge it: currently we're still supporting Java 6 (libraries != end-user app) and Objects is since Java 7.


Issue with your ydtl-core fork package

[READ MY WHOLE MESSAGE BEFORE ANSWERING PLS]
Using this code with your package
(async function(){
    var ytdl = require("ytdl-core");
    var ended = false;
    ytdl("videoidplaceholder", {
        "quality": "highestvideo"
    })
    .pipe(require("fs").createWriteStream("video.mp4"))
    .on("finish", function () {
        ended = true;
    });
    while (ended === false) {
        await new Promise(resolve => setTimeout(resolve, 100));
    }
})()

First i installed and used ytdl-core base package then one day it stoped working so i read this: https://github.com/fent/node-ytdl-core/issues/1261 which led me to a comment with as solution installing your package with
npm i ytdl-core@npm:@distube/ytdl-core

This was supposed to overwrite the base package so i don't have to change my code and it did but now when i use my code it just downloads a 0 byte empty file.

Listen to progress and info events to make sure your code runs correctly.
I run your code and it works normally. "ytdl-core": "npm<EMAIL_ADDRESS>(async function(){
    var ytdl = require("ytdl-core");
    var ended = false;
    ytdl("videoidplaceholder", {
        "quality": "highestvideo"
    })
    .on("info", console.log) // Or sth
    .on("progress", console.log)
    .pipe(require("fs").createWriteStream("video.mp4"))
    .on("finish", function () {
        ended = true;
        console.log("Finished!")
    });
    while (ended === false) {
        await new Promise(resolve => setTimeout(resolve, 100));
    }
})()

I am also running into this issue. I upgraded to this package from base package recently and I see that even when I am using the same youtube link, it sometimes downloads 0 byte empty file.

I am also running into this issue. I upgraded to this package from base package recently and I see that even when I am using the same youtube link, it sometimes downloads 0 byte empty file.

I don't test the built-in stream too much. But it doesn't happen on my side. I will roll back the stream system and see if it works.

I rolled back the old stream system with https://github.com/distubejs/ytdl-core/commit/304a43a690cfd799f53165baf7e489555af1e164.
miniget has built-in retry system while undici doesn't. This may cause your issue. Try it with<EMAIL_ADDRESS>

If this problem still exists, feel free to re-open this issue.


ARROW-18108: [Go] More scalar binary arithmetic (Multiply and Divide)

Seeing as there have been no comments on this so far, I'll merge this EOD if there aren't any further comments.


[Bug] Flink SQL application name can't have chinese

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened

The name of the flink SQL application circled in the above figure contains Chinese, After submitting the task to yarn, it was found that the TaskNamager in the flink cluster could not be initialized. The following error is found in the JobManager log
2022-12-13 11:51:32,623 INFO  org.apache.flink.runtime.resourcemanager.active.ActiveResourceManager [] - Worker container_e16_1670902385727_0004_01_000002 is terminated. Diagnostics: Container container_e16_1670902385727_0004_01_000002 was invalid. Diagnostics: [2022-12-13 11:51:32.263]File does not exist: hdfs://bigdata/user/hdfs/.flink/application_1670902385727_0004/streampark-flinkjob_??????hive-1.15.jar
java.io.FileNotFoundException: File does not exist: hdfs://bigdata/user/hdfs/.flink/application_1670902385727_0004/streampark-flinkjob_??????hive-1.15.jar
	at org.apache.hadoop.hdfs.DistributedFileSystem$29.doCall(DistributedFileSystem.java:1500)
	at org.apache.hadoop.hdfs.DistributedFileSystem$29.doCall(DistributedFileSystem.java:1493)
	at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
	at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1508)
	at org.apache.hadoop.yarn.util.FSDownload.verifyAndCopy(FSDownload.java:269)
	at org.apache.hadoop.yarn.util.FSDownload.access$000(FSDownload.java:67)
	at org.apache.hadoop.yarn.util.FSDownload$2.run(FSDownload.java:414)
	at org.apache.hadoop.yarn.util.FSDownload$2.run(FSDownload.java:411)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:422)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1875)
	at org.apache.hadoop.yarn.util.FSDownload.call(FSDownload.java:411)
	at org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ContainerLocalizer$FSDownloadWrapper.doDownloadCall(ContainerLocalizer.java:242)
	at org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ContainerLocalizer$FSDownloadWrapper.call(ContainerLocalizer.java:235)
	at org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ContainerLocalizer$FSDownloadWrapper.call(ContainerLocalizer.java:223)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

It can be found that yarn ResourceManager cannot find the jar containing Chinese in HDFS because all Chinese characters are garbled.
Check the workspace of the platform project on the machine, and find the jar package in the corresponding application id directory, which contains the name of the application and also contains Chinese. Then check the HDFS path displayed in the log, and find the corresponding jar package, which also contains Chinese. And the jar package names appear normal in both places.
Suggestions:
The application id is concatenated to the jar package name instead of the application name, because the id is not in Chinese. Therefore, ResourceManager cannot find the jar package in HDFS and cannot initialize TaskManager. Moreover, the jar package contains the application id, which does not increase the difficulty of debugging.
StreamPark Version
2.0.0
Java Version
1.8.0_202
Flink Version
Flink-1.15.3
Scala Version of Flink
Scala_2.12
Error Exception
2022-12-13 11:51:32,623 INFO  org.apache.flink.runtime.resourcemanager.active.ActiveResourceManager [] - Worker container_e16_1670902385727_0004_01_000002 is terminated. Diagnostics: Container container_e16_1670902385727_0004_01_000002 was invalid. Diagnostics: [2022-12-13 11:51:32.263]File does not exist: hdfs://bigdata/user/hdfs/.flink/application_1670902385727_0004/streampark-flinkjob_??????hive-1.15.jar
java.io.FileNotFoundException: File does not exist: hdfs://bigdata/user/hdfs/.flink/application_1670902385727_0004/streampark-flinkjob_??????hive-1.15.jar
	at org.apache.hadoop.hdfs.DistributedFileSystem$29.doCall(DistributedFileSystem.java:1500)
	at org.apache.hadoop.hdfs.DistributedFileSystem$29.doCall(DistributedFileSystem.java:1493)
	at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
	at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1508)
	at org.apache.hadoop.yarn.util.FSDownload.verifyAndCopy(FSDownload.java:269)
	at org.apache.hadoop.yarn.util.FSDownload.access$000(FSDownload.java:67)
	at org.apache.hadoop.yarn.util.FSDownload$2.run(FSDownload.java:414)
	at org.apache.hadoop.yarn.util.FSDownload$2.run(FSDownload.java:411)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:422)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1875)
	at org.apache.hadoop.yarn.util.FSDownload.call(FSDownload.java:411)
	at org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ContainerLocalizer$FSDownloadWrapper.doDownloadCall(ContainerLocalizer.java:242)
	at org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ContainerLocalizer$FSDownloadWrapper.call(ContainerLocalizer.java:235)
	at org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ContainerLocalizer$FSDownloadWrapper.call(ContainerLocalizer.java:223)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

### Screenshots

_No response_

### Are you willing to submit PR?

- [ ] Yes I am willing to submit a PR!

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

What's new:
This problem should be caused by inconsistent coding between the platform and the production environment running.
Fields in the new virtual table sentences in my flink sql are often described in Chinese. After the tasks are scheduled to yarn, Chinese characters corresponding to the log of JobManager on the Flink UI are garbled. The screenshot is as follows:

In addition, all Chinese characters related to sql in the yarn task log are garbled characters. The screenshot is as follows:

At present, I do not know how to solve this problem.

Add flowing configuration to the conf/flink-conf.yaml file：
env.java.opts: -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8


Fix bug in ApplicationController#lookup_valid_locale.

If the first locales specified in HTTP_ACCEPT_LANGUAGE header was not an MO available locale, it would return “EN”, even if another specified language was an MO available locale.
Includes test to catch bug.
Thanks to @pellea for the tight re-write of the method.

Coverage increased (+0.03%) to 86.595% when pulling 36084b3eccb6288d3603dc1188df3f08547efc28 on JoeCohen:fix-multiple-requested-locales into da211074b6508ec565c346f89e4af456f2912e60 on MushroomObserver:master.

 Please thanks the correct person and stop spamming my news feed with irrelevant repositories ...
Thanks in advance.

Ummm... Who are you???  Kinda hard to help you unsubcribe from whatever
feed you're on without giving us a wee bit more information!  Less
passive-aggressiveness would also be appreciated.
 Please thanks the correct person and
stop spamming my news feed with irrelevant repositories ...
Thanks in advance.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/263#issuecomment-272526509,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADE2tUAZov2cMuD-c7YeK4sK0vquUgBBks5rR9EvgaJpZM4Lb6mc
.

"You’re receiving notifications because you were mentioned." It's the third times I clicked on the Unsubscribe button.
I would like JoeCohen to write YOUR name correctly and not mine.
Mine is PELLEA yours is PELLAEA.

This was caused by my typos.  In Github, I typed @pellea instead of
@pellaea. So Github notified him/her.
On Fri, Jan 13, 2017 at 1:39 PM Jason Hollinger<EMAIL_ADDRESS>wrote:

Ummm... Who are you??? Kinda hard to help you unsubcribe from whatever
feed you're on without giving us a wee bit more information! Less
passive-aggressiveness would also be appreciated.
 Please thanks the correct person and
stop spamming my news feed with irrelevant repositories ...
Thanks in advance.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<
https://github.com/MushroomObserver/mushroom-observer/pull/263#issuecomment-272526509
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/ADE2tUAZov2cMuD-c7YeK4sK0vquUgBBks5rR9EvgaJpZM4Lb6mc
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/263#issuecomment-272554862,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACxlBAH8LQA3eOpF77M33FYfUmKtrk8ks5rR-79gaJpZM4Lb6mc
.

--
--Joe


SFAS-SIMS Bridge File - MSFAA Implementation

User Story
As a student, it is possible for me to have two MSFAA numbers (PT and FT). I don't want to have a new one issued by SIMS when I already have a valid one in SFAS/SAIL.
Acceptance Criteria

[x] On application submission during "Associate MSFAA" in the gateway, add another way to validate MSFAA (this can be done the same for PT/FT)
[x] If a student does not have a SIGNED SIMS generated MSFAA number, search Bridge file Individual data records to find matching (SIN/DOB/LastName) student profile

[x] If no match found, Create New MSFAA as normal (or use the unsigned SIMS MSFAA number).
[x] If the most recent match found DOES NOT contain a MSFAA number for the intensity, Create New MSFAA as normal.
[x] If the most recent match found DOES contain a MSFAA number for the intensity, search the bridge file application data and use the most recent (or future) study end date ("300" for FT or "301" for PT) to ensure it is within 730 days of this date.  System cancel/void any other MSFAAs for that intensity. If No application or end date outside of 730 days: related to the student/MSFAA number, do not USE and create new as normal.

[x]  In cases where we find a match in bridge file with a valid study end date: import that MSFAA number and use the most recent application end date from bridge file information as a "signed date"

Business Context

Only VERIFIED MSFAA SAIL data will be reported. (This is a status in SAIL that is displayed based on the validity of the MSFAA number.)
We are receiving the "Effective Date" for PT MSFAAs. As noted in the bridge file layout, this is really the only date data that we have easily accessible from SAIL for the MSFAA.  The signed date is contained within a text file in a BLOB field in another table, which is difficult to get at.  At this time, we are not going to try and get the signed date, but we will be using the effective date on this table, which is actually the date that the MSFAA request was created and should be close enough.
We recognize that the gap between effective date and signed date could result in us declaring a MSFAA number "expired" slightly sooner than it would normally. This amounts to a small risk based on volume of students in PT with the circumstances that could end up in that situation. It results in the least number of students being impacted by having to be re-issued an MSFAA pre-maturely or worse, during an active application in the legacy systems.
NULL date_requested/sent date would indicate that it is an imported MSFAA number

Technical

[x] Create an additional process to be executed if SIMS does not have a VALID AND SIGNED MSFAA.

[x] Look for the individual in the sims.sfas_individuals by its student_id.

[x] For part-time MSFAA use the columns part_time_msfaa_number.
[x] For full-time MSFAA use the columns msfaa_number.
[x] The student should have at least one application for the intensity.
[x] If the student is present in the SFAS table and it has an application for the intensity a new MSFAA record should be created.

[x] Create a new MSFAA entry as below.

[x] msfaa_number: from SFAS individual table;
[x] date_requested: null;
[x] date_signed: date from study_end_date from the most recent application on SFAS table.
[x] service_provider_received_date: null;
[x] reference_application: populate with the SIMS application id.

[x] Reuse(and adapt) the method internalActivateMSFAANumber to ensure the new created MSFAA will be the only active. If not possible to reuse please have a team sync-up to explain the reason and talk about alternatives. This method can potentially be invoked using the  options.existingMSFAA to allow process already in place to consistently keep only one active MSFAA.
[x] Create new E2E tests for the worker associateMSFAA.

[x] Create a scenario for the SFAS import.
[x] Create a scenario for the creation of the SIMS MSFAA.
[x] Include multiple applications to also test the MSFAA reassociation.
[x] Consider checking the E2E tests from the application.aest.controller.reissueMSFAA.e2e-spec.ts for some reference or E2E data setup.

@ninosamson bringing this ticket back as there is a pending minor refactor to be executed.
@guru-aot FTI


Add DrakeRos constructor that accepts externally created Node

Towards Anzu PR 9950

This change is

Is this still necessary for Anzu PR 9950?


Problem with updating to newer version!

Aloha! 🙂

VS Code is the last version.
Windows 10 LTSB

How to delete unwanted themes and theme icons forever? When «VS Code» updates to a newer version, everything is back! What a hack? o_O
1. Icons:
Seti (Visual Studio Code)
Simple icons
2. Theme:
Quiet Light
Solarized Light
Abyss
Monokai
Red
Solarized Dark
Kind regards!

Sorry about all the bot posts. I'm working on that.
But it looks like those are all the default themes, which can be disabled but not uninstalled. Is it correct that this only affects default themese?

@JacksonKearl
Yes, it affects default themes. But thanks anyway! 😊

When «VS Code» updates to a newer version, everything is back!

They should be there always, please let me know if you had state that they were not there before? If so, how did you get into that state?

@sandy081
I deleted all themes which were in this folder:

C:\Users\NIKA\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\

... after that, I updated to a newer version of
«VS Code» and everything was back! WTF?

@rediffusion I do not think you should be doing any operations in that folder. It is still not clear how you get in to this state

How to delete unwanted themes and theme icons forever? When «VS Code» updates to a newer version, everything is back! What a hack? o_O

Did you tried to delete them manually?

Did you tried to delete them manually?

Yes...

I do not think that is expected to do and would have caused this. Please let me know why you want to delete them? And your issue is that they came back after update?

@sandy081
I want to delete it because I use another more coolest Theme Extensions from "VS Code Marketplace".
Right now I disable these extensions... After updating today to never version not shows in "Command Palette". I think it's fine now.  👍 😊


Apply atomic design to the project

https://paulonteri.com/thoughts/atomic-design-react
https://github.com/sudhirmurthy/react-atomicdesignpattern/tree/master/src

I'm going to try working on this issue.


Match document service output in schema

The Cassandra schema should match the new JSON format generated in xa-ubl via the documents-service.

Wrong project.


Support Variant Attributes

Some attributes:

available after version
supported platform
libraries (may check by pkg-config)
description

These attributes can also be converted into completion descriptions.

Why do we close this?

Bad heuristics.

maybe we delayed this item for too long XD

I will open a new issue to track the variant DSL, it's implemented in 2.0 branch but it's not done yet.


Render raster to window

Codecov Report

:exclamation: No coverage uploaded for pull request base (dev@ac0d141). Click here to learn what that means.
The diff coverage is 40.9%.

@@          Coverage Diff           @@
##             dev       #3   +/-   ##
======================================
  Coverage       ?   34.61%
  Complexity     ?       18
======================================
  Files          ?       12
  Lines          ?      104
  Branches       ?        4
======================================
  Hits           ?       36
  Misses         ?       67
  Partials       ?        1

Impacted Files
Coverage Δ
Complexity Δ

...oprogramming/lab5/gui/RasterRendererComponent.java
0% <0%> (ø)
0 <0> (?)

.../java/labs/introtoprogramming/lab5/gui/Window.java
0% <0%> (ø)
0 <0> (?)

.../introtoprogramming/lab5/graphics/ArrayRaster.java
100% <100%> (ø)
10 <10> (?)

...programming/lab5/graphics/BufferedImageRaster.java
75% <75%> (ø)
8 <8> (?)

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 ac0d141...62387d8. Read the comment docs.


Styles (QrCode, BarCode) dont print.

On printer LK-P41

On Printer LK-P21

hello, my styles are not being printed on this printer, I am using a SEWOO LK-P41, on the LK-P21 printer it is printing normally.
The difference between the two printers is that the LK-P41 has a wider paper width than the LK-P21
Flutter version:
Flutter 3.3.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision e3c29ec00c (4 weeks ago) • 2022-09-14 08:46:55 -0500
Engine • revision a4ff2c53d8
Tools • Dart 2.18.1 • DevTools 2.15.0
Future<List<int>> getInvoiceTicket(InvoiceModel invoice) async {
    List<int> bytes = [];
    CapabilityProfile profile = await CapabilityProfile.load();
    final generator = Generator(PaperSize.mm80, profile);

    bytes += generator.text(invoice.invoice.a02,
        styles: const PosStyles(align: PosAlign.center));
    bytes += generator.text(invoice.invoice.a03,
        styles: const PosStyles(align: PosAlign.center));
    bytes += generator.hr(len: 68);
    bytes += generator.text('Qr Code para PIX',
        styles: const PosStyles(align: PosAlign.center));
    bytes += generator.text('(QUALQUER BANCO)',
        styles: const PosStyles(align: PosAlign.center));
    bytes += generator.qrcode(invoice.invoice.e02,
        size: QRSize.Size6, align: PosAlign.center);
    bytes += generator.cut();

    return bytes;
  }

I solved it, my printer was configured for another language, I changed it to ESC/POS and now it prints normally.


Remove unused global variables in audio.py

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

CI failures are unrelated


Relation must have intermediate Value message

When defining a relation and using the protoc-gen-knit-ts plugin to process it, the following relation fails:
message GetQuoteFilmRequest {
    repeated buf.starwars.quote.v1.Quote bases = 1;
}

message GetQuoteFilmResponse {
    repeated buf.starwars.film.v1.Film values = 1;
}

service RelationService {
    rpc GetQuoteFilm(GetQuoteFilmRequest) returns (GetQuoteFilmResponse) {
        option (buf.knit.v1alpha1.relation).name = "film";
        option idempotency_level = NO_SIDE_EFFECTS;
    }
}

The plugin returns the error, where 11 is the number of fields in Film:
protoc-gen-knit-ts: GetQuoteFilm: relation must have exactly one field, found 11

However, this alternate longer definition works because it wraps the Film in an intermediate message.
message GetQuoteFilmRequest {
    repeated buf.starwars.quote.v1.Quote bases = 1;
}

message GetQuoteFilmResponse {
    repeated Value values = 1;
    message Value {
        buf.starwars.film.v1.Film film = 1;
    }
}

service RelationService {
    rpc GetQuoteFilm(GetQuoteFilmRequest) returns (GetQuoteFilmResponse) {
        option (buf.knit.v1alpha1.relation).name = "film";
        option idempotency_level = NO_SIDE_EFFECTS;
    }
}

When the relation is one-to-one like between Quote and Film, the intermediate Value message should not be needed?

We can explore options to simplify for common use cases but this is not allowed today. It is difficult to differentiate an error from an intentional simple form.