Video freeze when WiFi signal is weak

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

OS: [Windows10]
scrcpy version: [1.16]
installation method: [Windows release]
device model:
Android version: [9]

Describe the bug
I have been using the scrcpy since V1.12.1 and recently update to V1.16.
What I have discovered the newer version behave less stable when WiFi signal is weak. (doing this for my project testing).  The video casting would freeze / pause.
When I enable the  to check the fps info.  The v1.12.1 would drop the frame constantly when it is > 30 fps.
But in V1.16, it will not drop frame even signal is weak.  Is this new logic actually making it less stable ??
This is the only option I use " --bit-rate 8M"
Any option setting I could try out ??

What I have discovered the newer version behave less stable when WiFi signal is weak.

I guess it is not related to the difference between the version. It's just TCP end-of-line blocking on packet loss:
https://github.com/Genymobile/scrcpy/issues/495#issuecomment-482334870

The v1.12.1 would drop the frame constantly when it is > 30 fps.

Dropping frame happens at rendering time (if you receive 3 frame before rendering one, it renders only the most recent, the two first frames are discarded).

This is the only option I use " --bit-rate 8M"

8M is the default. If your wifi is not great, use a lower bitrate (-b1M for example) and also lower the definition (-m 1024), because a low bitrate on a high definition is worse.

I have tried to use the "--max-fps 25" to limit the frame transmitting.  However, my device is Android-9 and I understand this suppose to work only on Android-10.
On PC side, I enabled the  to see the fps and do see it limited ~25 from >30 fps before
My question is :  what could be expected behavior ?  Does device still sending >30 fps and only PC side not showing ?
Thank you

I just wondering, the server code running on Android, will it behave differently when connecting is USB-Cable and WiFi ?

@dilbert168 No, it's not even aware that the connextion is over wifi or not.

Thanks for confirmation.
I would like to gather more debug info.  So I have add "-Vdebug"
In logcat, what filter I should put in to check for "scrcpy-server" possible ERROR or Warning during the issues.

I have tried to use the "--max-fps 25" to limit the frame transmitting. However, my device is Android-9 and I understand this suppose to work only on Android-10.

No it works on previous versions too (tested on Android 6).

My question is : what could be expected behavior ? Does device still sending >30 fps and only PC side not showing ?

--max-fps limits the capture framerate (try --max-fps 5 to see how it behaves).


Windows UWP builds: determine automatically if asm should be disabled

Earlier Windows SKD versions lack the necessary support for our ASM
builds, so we check for the SDK version that has the support.
Information on exactly what registry key to check was found here:
https://stackoverflow.com/questions/2665755/how-can-i-determine-the-version-of-the-windows-sdk-installed-on-my-computer
Ref: #9125

There is a typo in your commit message "Windows SKD"
and what is an "out ASM build" ?

Commit message fixed too, thank you.

Look for "SKD" in the commit message.

Look for "SKD" in the commit message.

Fixed

Merged.
bcc0025d0b5d231ee3662cf7f3c522ba43079858 Windows UWP builds: determine automatically if asm should be disabled

(I thought I'd done this weeks ago...)


Automatically set the release stage and app type

Actually, we already do set the release stage, but not the app type yet.

I'll re-PR this after everything else has gone through.


pull request for e2e test at 01/09/2017 20:45:12

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[WIP]: GitHub Artifact Attestations

Just a draft of adding a config to enable GitHub Artifact Attestations.
Has some todos and probably still missing a few things and tests, but just putting up the draft for early comment / visibility.
One quirk with the (silly) glob I wrote in the yml for the job is that attestations for the checksums are also generated which I suppose is fine.
I've made few changes since I last tested it on my example project, but I did manage to run it and attestations do get generated (https://github.com/dunxen/pors/attestations). I guess it would be good to also link the attestation downloads in the release announcement download table for each artifact too for offline verification.

I've rebased the PR and pushed up proper threading of the desired values, but am not sure what to do about the last TODO.

Thank you 🙏
I'll be able to complete that TODO and take it out of draft tomorrow :)

I've added a simple instruction for verifying against a downloaded bundle which should be all that was left to do. Let me know if I should re-order/squash any commits and/or update commit messages so I can take this out of draft! Thanks :)

I've cut a prerelease on top of this branch, so you can test out the functionality on a project if you'd like:
https://github.com/axodotdev/cargo-dist/releases/tag/v0.16.0-prerelease.2
You can install it with cargo dist selfupdate --prerelease

Attested? https://github.com/Gankra/cargodisttest/releases/tag/v0.20.4

Attested? https://github.com/Gankra/cargodisttest/releases/tag/v0.20.4

❯ gh attestation verify ./cargodisttest-x86_64-unknown-linux-gnu.tar.gz --repo Gankra/cargodisttest
Loaded digest sha256:ec968582122ad58c3cbcb8ea1123438a469ad355dd393d48000c6ee88814f41d for file://cargodisttest-x86_64-unknown-linux-gnu.tar.gz
Loaded 1 attestation from GitHub API
✓ Verification succeeded!

sha256:ec968582122ad58c3cbcb8ea1123438a469ad355dd393d48000c6ee88814f41d was attested by:
REPO                  PREDICATE_TYPE                  WORKFLOW
Gankra/cargodisttest  https://slsa.dev/provenance/v1<EMAIL_ADDRESS>
Nice!

I'll fix the formatting to look like a proper code block in the release announcement. Looks a little wonky at the moment.

Ok, I've applied the feedback and cleaned up.
Note: For now the announcement just links through to the GitHub Attestations page for the project if a user want's to download them manually and use that method of attestation via gh. The individual download links don't seem to have a URL related to a version/hash/something we'd know. It's something like https://github.com/{org}/{repo}/attestations/<SOME INCREMENTING INTEGER>/download. It also doesn't redirect to a more helpful URL. Otherwise it would have been nice to put it in the artifacts table in the announcement.

Awesome stuff, and thanks so much!!

Awesome stuff, and thanks so much!!

 Thanks for the guidance from you and @ashleygwilliams. Very excited to use this feature in our project!


the Cloud Run tutorial should mention how to associate a SA with an existing api proxy endpoint

The tutorial on https://github.com/GoogleCloudPlatform/apigee-samples/blob/main/cloud-run/docs/cloudshell-tutorial-maven.md should include steps on how to 1) grant the Cloud Run invoker role to the SA 2) how to assign the SA within the API Proxy editor (e.g. when repeating these steps for an existing api proxy).
It isn't clear from reading the cloudbuild.yaml file how you'd do this step for an existing endpoint. https://github.com/GoogleCloudPlatform/apigee-samples/blob/main/cloud-run/cloudbuild.yaml#L53-L54

@saraford -
Its all automated as part of the Cloud Build itself.
The service account is created by the Cloud Build itself and it assigns the Cloud Run Invoker role too. You can find that on https://github.com/GoogleCloudPlatform/apigee-samples/blob/c92dedbead278ee23f6e7aa3f7e360eea8904f63/cloud-run/cloudbuild.yaml#L38 and https://github.com/GoogleCloudPlatform/apigee-samples/blob/c92dedbead278ee23f6e7aa3f7e360eea8904f63/cloud-run/cloudbuild.yaml#L40

fwiw, this was my first time using Cloud Run with Apigee. I thought in the future, if I wanted to use CR and Apigee without running this tutorial, I'd have to run that mvn command on line 53 myself somehow. I thought it was doing something else. I'm hoping the tutorial could be updated to mention that a new SA will be created with these permissions; otherwise, reverse-engineering the cloudbuild.yaml (like what I was trying to do) might lead to misinterpretations of what's needed.


Wrong error message on one filetype for FileUpload

Package
filament/filament
Package Version
2.17.24
Laravel Version
10.7.1
Livewire Version
2.12.3
PHP Version
8.2.3
Problem description
If we configure a FileUpload Field with only one allowed mimetype and upload a not allowed file type we get a wrong error message.
Configuration:  ->acceptedFileTypes(['video/mp4]);
Error Message: "Erwartet oder video/mp4"
Expected behavior
The correct message would be "Erwartet video/mp4", without the "oder" (or).
Steps to reproduce

Configure a FileUpload Field in a form
Allow only on FileType
Upload one not allowed file

Reproduction repository
https://github.com/filamentphp/filament
Relevant log output
No response

Thanks for reporting!
This seems like something that should be fixed in the file uploader (Filepond) though: https://github.com/pqina/filepond.

Thank you, i created an issue for filepond


npm test failed

root@ubuntu:~/BlockchainNetwork-CompositeJourney# npm test --unsafe-perm

<EMAIL_ADDRESS>test /root/BlockchainNetwork-CompositeJourney
mocha --recursive

Commodity Trading
1) "before all" hook
0 passing (2s)
1 failing

Commodity Trading
"before all" hook:
AccessException: Participant 'org.hyperledger.composer.system.NetworkAdmin#admin' does not have 'READ' access to resource<EMAIL_ADDRESS>at aclRules.reduce.then (node_modules/composer-runtime/lib/accesscontroller.js:134:23)
at process._tickCallback (internal/process/next_tick.js:109:7)

npm ERR! Test failed.  See above for more details.

@leizh1984 I have updated the permissions file. Please try to run the code with updated permissions file.

"NPM Test" command failing with error

NPM test failed with below error

<EMAIL_ADDRESS>test /home/nodejs/BlockchainNetwork-CompositeJourney
mocha --recursive

Commodity Trading
1) "before all" hook in "Commodity Trading"
0 passing (3s)
1 failing

Commodity Trading
"before all" hook in "Commodity Trading":
Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/nodejs/BlockchainNetwork-CompositeJourney/test/sample.js)

npm ERR! Test failed.  See above for more details.


Reinstate references to citation_conference for Google format

Originally by valkyrie (@valkyriesavage) on 2011-05-17
The 773 tag in MARC currently holds "Presented at", etc., instead of the name of the conference an item was presented at.
Once this is corrected, we should add a reference to it in the Google Scholar meta format for maximum information passing.

@kaplun @kasioumis is there something what needs to be done in Invenio itself to solve this issue?

Export for Google has been reworked since, so this is most probably not applicable anymore, and can be closed.


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/53916

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/101380

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/104007

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/107750


Why it's generated two aar files?

Once is
face-release.aar
face-unspecified.aar
Does these two aar files should be a single file?

yeah  , why??

I don't understand the question, are two AAR generated from different modules?

No frome same modules. name with face


fix up some codacy stuff

Codecov Report

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

@@            Coverage Diff             @@
##           master     #430      +/-   ##
==========================================
- Coverage   97.45%   97.45%   -0.01%
==========================================
  Files          33       33
  Lines        2045     2044       -1
  Branches      147      147
==========================================
- Hits         1993     1992       -1
  Misses         33       33
  Partials       19       19

Impacted Files
Coverage Δ

...hBoundControllerAbstraction/proxy/faucet/parser.py
83.78% <ø> (-0.22%)
:arrow_down:

poseidon/poseidonMonitor/poseidonMonitor.py
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Update to node 10 in .travis.yml

Pull Request Test Coverage Report for Build 263

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 262:
0.0%

Covered Lines:
243

Relevant Lines:
243

💛  - Coveralls


What is the meaning of these terms in MLperf context?

In MLperf Result Summary,

max_async_queries ?
min and max duration ?
min and max query count ?
qsl_rng_seed ?
sample_index_rng_seed?
schedule_rng_seed?

Guys  can you help me understand those term ~?
Thank you,
Dongkwan

https://mlperf.github.io/inference/loadgen/structmlperf_1_1TestSettings.html

Thank you! Brian!

@kdk3776 : Closing this one. Let us know if any other clarifications are needed.


How to determine optimum threshold?

Thank you for the great work. I am new to this and I have got a question to ask on how to determine an optimum threshold?
From the official documents (link: [https://pyscenedetect.readthedocs.io/en/latest/examples/usage-example/] ):
Section: Finding Optimal Threshold/Sensitivity Value
It says, "We can determine the proper threshold in this case by generating a statistics file (with the -s / --stats option) for the video goldeneye.mp4, and looking at the behaviour of the values where we expect the scene break/cut to occur in scene 17."
I am not able to understand how come the optimum value '27' was derived? What do you mean by 'looking at the behaviour of the values'?
Please help me understand how to read the --stats.
Thank you and I am hoping for the positive reply.

Sorry for the delay in a response.  By looking at the values, I plotted them over time to get something like this:
https://github.com/Breakthrough/PySceneDetect/blob/master/docs/img/params.png
If you run that test video and plot the results using a statsfile (e.g. content_val over each frame), then draw a line at y = 27 and you'll see what I mean.  I agree though the documentation could definitely be improved there, so I'll make this as an improvement and keep it open for now.  The next version of PySceneDetect will also include a newer detector which might reduce false positives, so your feedback is welcome when it is released.

@Tetsujinfr can you share the full command/output?  Thanks.

Hi @Breakthrough  - thanks for the very interesting and interdisciplinary work!
Same as @ivrschool i too have problems determining the optimum threshold.
Writing specifically in response to your reply to the original issue, with a general Q as I'm new to this as well.
Reading and plotting stats:

Is your plot done withe the python API? For now I'm using command line interface with my own videos (>2GB) locally. would you recommend python/notebooks for easier plotting and interpreting charts?
Can you give an example code you used for the plot?
Interpreting plot labels
https://github.com/Breakthrough/PySceneDetect/blob/master/docs/img/params.png
Can you explain how plotting mean pixel intensity against frame number helps determining threshold? Also i noticed the orange solid line is at y (content-val?) = 17 rather than 27; and not sure why that matches the threshold value. Shouldn't 17 be the scene number in this case?

General Q related to the official documentation
'''
Section: Quickstart-Usage Example
"Note that this is almost perfect - however, one of the scene cuts/breaks in scene 17 was not detected (yielding a total of 21 scenes) ... "
"... We can determine the proper threshold in this case by generating a statistics file (with the -s / --stats option) for the video goldeneye.mp4, and looking at the behaviour of the values where we expect the scene break/cut to occur in scene 17"
'''
Q:  in command line when i run
scenedetect --input myownvideo.mp4 detect-content list-scenes save-images
the generated .csv file doesn't contain thumbnails of start and end of each scene. I suspect the thumbnails are used for eyeballing where a false negative/positive might occur (given the above first quote of documentation), hence I would appreciate help in solving this problem.
Apologies for my absurd confusion. Any pointers are helpful!

Hey @charlotteguo;
You need to include a statsfile with the -s/--stats argument, e.g.:
scenedetect --input myownvideo.mp4 --stats statsfile.csv detect-content list-scenes save-images

This will generate a set of metrics calculated on every frame in statsfile.csv (specifically the content_val column).  I did not create the plot using Python, I just did it manually, but it should be relatively straight forward to load the resulting CSV and plot the values.  There is no API support for this, but we can consider it for a future release.
When using detect-content, the corresponding metric column to look at is content_val.  The resulting values should increase during a scene transition.

Interpreting plot labels
https://github.com/Breakthrough/PySceneDetect/blob/master/docs/img/params.png
Can you explain how plotting mean pixel intensity against frame number helps determining threshold? Also i noticed the orange solid line is at y (content-val?) = 17 rather than 27; and not sure why that matches the threshold value. Shouldn't 17 be the scene number in this case?

That diagram should definitely be updated - that is specifically for detect-threshold and was run on a completely separate test video (the values are the results of delta_rgb column in a statsfile, not content_val as you probably want).  To your point, we should probably include a diagram of the content_val values for that particular video in that example.
To explain that diagram, for detect-threshold, we want to find areas where delta_rgb falls below some threshold.  For detect-content, we instead want to find areas where content_val rapidly increases.  If you run the command above on that same video but output a statsfile, and plot content_val, you will see where there was one missed scene transition.  Also note that for most use cases, a value of 27 is likely better, and will be the new default in a future release (see #246 for details).
Hope this helps, and your confusion is understandable - the documentation definitely does need some improvement.  I hope to include more comprehensive diagrams for the v1.0 release, but in the meantime, feel free to let me know if you have any other questions or suggestions!

For completeness, here's what the output looks like when you plot content_val for the goldeneye.mp4 test video from that page:

I created this graph by loading the statsfile CSV into Google Sheets and plotting the content_val column.  Where the values spike is where scene transitions are.  You can see that right around frame 1600, there is a spike but it is smaller than the default of 30.  I manually looked at the values at that point and found it was 27.05, so set the threshold to 27 to make sure it was counted as a scene cut.
The default value of 30 was just a guess by me at a reasonable value - it has never been tweaked since the original release many years ago.  As per #246, a recent benchmark on a more comprehensive set of test videos yielded an optimal value of 27 (just a coincidence that it aligns with the 27 particular to goldeneye.mp4).  There are still some videos where the value may have to be tweaked by the process above (plotting content_val and finding the correct threshold value manually), but I hope this will be far less of an issue when the default is changed to 27.

Hey @Breakthrough
Thank you for the careful replies. I've now created my own plot and started to see why threshold =27 is a good default value.
On a side note, the algorithm doesn't necessary detect scene changes (which would involve semantic meaning of the plot), though rather shot changes and cuts. This paper includes a detailed summary https://journals.sagepub.com/doi/10.1177/1550147719845277
Though since the cinemetrics shot length detection software has been down, your work provides an extremely helpful alternative to researchers quantifying film. Thanks!

On a side note, the algorithm doesn't necessary detect scene changes (which would involve semantic meaning of the plot)

Indeed, and unfortunately I have used those two terms interchangeably at times for this project which has caused some confusion.  I chose the name PySceneDetect mainly to not conflict with other existing projects.  Thanks for the link though, I should also probably include a diagram similar to the one there that denotes the difference between frames/shots/scenes/video and emphasize what PySceneDetect's purpose is (which is really a framework/application for performing shot detection).
Cinemetrics definitely was an inspiring factor for this project, so I'm glad you're finding it useful!  Feel free to reach out anytime if you have any suggestions for how the project can be improved :)

Hey all;
I've updated the usage example to include all the information learned from this discussion:
http://scenedetect.com/en/v0.6/examples/usage-example/
These changes won't be live until v0.6 is released, so there's still time to update/change things if anything is unclear.  You can see a preview of the new v0.6 docs at:

Site: https://scenedetect.com/en/v0.6/
Docs: https://manual.scenedetect.com/en/v0.6/

Any feedback on these changes is most welcome 😄


Customized Scrollbar & Updated Card UI Of Contact Us

Issue that this pull request solves #554
Closes: #554
Proposed changes
Added Styles to Scrollbar

Also,
Updated the Goodbye Card of contact us
I had made card header responsive now, which i had forgotted earlier😁
Before

Now

Types of changes
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist
Put an x in the boxes that apply

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] My changes does not break the current system and it passes all the current test cases.

Hey @ShubhamSj07 I am really sorry. We are using single space for styling css instead of tab

@Kajol-Kumari , yeah no worries!
We are using 2 spaces for css & scss. I had referred from other css ,scss files.


Can't resolve 'moment-timezone'

Getting the error
./node_modules/react-live-clock/lib/Component.js
Module not found: Can't resolve 'moment-timezone' in '[...]/node_modules/react-live-clock/lib'

with
"react-live-clock": "^5.0.9",

moment-timezone is a peer dep do you have it installed in your repo?

I wasn't sure as the npm page for react-live-clock shows dependencies: none, but if I install it I then get a different error
TypeError: s.tz is not a function
node_modules/react-moment/dist/index.js:22

I see now the confusion, there are peer dependencies, that's why they aren't showing up on the NPM page.
yarn or npm should be giving you a warning that they aren't installed. The complete list of peer deps are as follows:
moment
moment-timezone
react
react-moment
Please verify all are installed in your project. I will try to get back to you as soon as I can.

Right okay, my bad, that makes sense.
I have
"moment": "^2.24.0",
"moment-timezone": "^0.5.31",
"react": "latest",
"react-moment": "^0.9.6",

For context, I was on "react-live-clock": "^4.0.5", then I updated to 5 and this issue started. I already had moment and react-moment installed so only had to add (as discussed) moment-timezone

could you please send a snipped of code how you are using it or mak a code pen?

Hmm, I created a codesandbox but it works fine so I'm not sure what the difference is that's causing the issue (as I have quite a large project).
I have noticed though that it's the timezone property, i.e. timezone={'America/New_York'}, that gives the error:
TypeError: s.tz is not a function
node_modules/react-moment/dist/index.js:22

I need to do some more digging

Okay, I'm confident at this point that it's a personal setup problem so I am going to drop the react-live-clock version to 4.0.5 as this doesn't depend on moment-timezone and be done.
I wanted to use the ticking={false} but this doesn't work on 4.0.5 so I am going to use CSS to stop displaying the clock instead.

If you would like I can help you resolve this or help you find a better solution.

Hello @anthony0030 . I just started a new project and wanted to use your package, I am getting the same error as OP on a fresh react project.
I took a look and it looks like you changed the dependencies to peerDependencies and that made the project not download them. Even npm shows no dependencies when you look at the npm page. I have put in a pull request to change it but I am not sure why it was changed in the first place or if it's the correct way to do it.
Manually installing those packages works. In the downloaded module, there is no peerDependencies or dependecies in package.json and all of the packages are in devDependencies.
For now I downloaded 4.0.5 and that works but v5 doesn't at all. The dependencies were gone on the first beta version itself, I can also see that the downloads dropped from 18k to 4k after that release.
It should be a simple fix of updating package.json. Thanks

NPM version 4 removed automatic peer dependency installation. NPM version 7 would fix this. You can check the version you are using with npm -v You might need to update the node version.
You can manually install the peer dependencies or update NPM.

@mikecbone do you remember what you did to solve this? We just updated our dependencies and are now running into this with all of the necessary peer dependencies installed.

Could you please provide me with your package.json and a minimum and a minimum example of how you are using it?

This is minimally what we are using: https://codesandbox.io/embed/modern-paper-1b9gdo?fontsize=14&hidenavigation=1&theme=dark
But our repo is huge and there was a dependency of a dependency that was causing the issues. We ended up having to upgrade both react-live-clock and react-moment to get past the issue.

So the issues are resolved now?


improvement: add global? to multitenancy section

Contributor checklist

[ ] Bug fixes include regression tests
[ ] Features include unit/acceptance tests

🚀 Thank you for your contribution! 🚀


Deis no longer produces app logs after an in-place upgrade

Hi, all. I'm a bit new to Deis so apologies if I just missed something while doing an upgrade. I recently did an in-place upgrade from 1.4.x (I think 1.4.1) to 1.5.0 and I'm having a problem with one of my apps. It's just a Twitter markov chain account so it's not a big deal; I was able to produce a new release of one of my apps (the other is unfortunately plagued by #3458) and deis ps shows a process running:
% deis ps
=== dcelis-ebooks Processes

--- worker:
worker.1 up (v9)

However, now deis apps:logs now only shows release-based logging output:
2015-04-11T16:52:36UTC deis[api]: davidcelis scaled containers worker=1
2015-04-11T16:54:31UTC deis[api]: davidcelis scaled containers worker=1
2015-04-11T18:16:17UTC deis[api]: davidcelis deployed ff3399f
2015-04-11T18:23:06UTC deis[api]: davidcelis scaled containers worker=0
2015-04-11T18:23:26UTC deis[api]: davidcelis scaled containers worker=1

The framework I am using usually produces logging info to STDOUT upon boot, and I haven't changed the version of that framework, so I expect to see some log output like this:
2015-04-08T19:55:01UTC deis[api]: davidcelis deployed bfe540e
2015-04-08T19:55:58UTC dcelis-ebooks[worker.1]: @dcelis_ebooks: starting tweet stream
2015-04-08T19:55:58UTC dcelis-ebooks[worker.1]: @dcelis_ebooks: Online!

I followed the documentation to the T, but it seems something is weird with logging. deisctl shows that all services are running and active. Any thoughts as to what I should do or try? Thanks!

Since the controller's still shipping logs, let's start by taking a look at logspout. Could you please SSH into one of the hosts and post the output of docker logs deis-logspout? Since it's a global fleet unit, there's no way to grab individual logs via deisctl or fleetctl.

core@deis-2 ~ $ docker logs deis-logspout
2015/04/11 18:30:11 attach: 386846d4c87b deis-logspout success
2015/04/11 18:30:11 attach: 231e9e1513ca deis-database success
2015/04/11 18:30:11 attach: 5cd2704595c1 deis-router success
2015/04/11 18:30:11 attach: f23972b43bb9 deis-registry success
2015/04/11 18:30:11 attach: b62474b57399 deis-builder success
2015/04/11 18:30:11 attach: c67218d7601b deis-publisher success
2015/04/11 18:30:11 attach: bf3624026d59 deis-store-metadata success
2015/04/11 18:30:11 attach: 0224eb6f2ecb deis-store-daemon success
2015/04/11 18:30:11 attach: c73ff09977f9 deis-store-monitor success
2015/04/11 18:30:11 etcd: http://<IP_ADDRESS>:4001
2015/04/11 18:30:11 routing all to <IP_ADDRESS>:514
2015/04/11 18:30:11 loading and persisting routes in /tmp
2015/04/11 18:30:11 logspout serving http on :8000
core@deis-2 ~ $ docker logs deis-logger
FATA[0000] Error response from daemon: No such container: deis-logger

I'm guessing that's the problem!

Here's the full output of a deisctl list
% deisctl list
UNIT				MACHINE				LOAD	ACTIVE	SUB
deis-builder.service		95ef2ecf.../<IP_ADDRESS>	loaded	active	running
deis-controller.service		df8a013a.../<IP_ADDRESS>	loaded	active	running
deis-database.service		95ef2ecf.../<IP_ADDRESS>	loaded	active	running
deis-logger.service		df8a013a.../<IP_ADDRESS>	loaded	active	running
deis-logspout.service		671116fd.../<IP_ADDRESS>	loaded	active	running
deis-logspout.service		95ef2ecf.../<IP_ADDRESS>	loaded	active	running
deis-logspout.service		df8a013a.../<IP_ADDRESS>	loaded	active	running
deis-publisher.service		671116fd.../<IP_ADDRESS>	loaded	active	running
deis-publisher.service		95ef2ecf.../<IP_ADDRESS>	loaded	active	running
deis-publisher.service		df8a013a.../<IP_ADDRESS>	loaded	active	running
<EMAIL_ADDRESS>95ef2ecf.../<IP_ADDRESS>	loaded	active	running
<EMAIL_ADDRESS>df8a013a.../<IP_ADDRESS>	loaded	active	running
<EMAIL_ADDRESS>95ef2ecf.../<IP_ADDRESS>	loaded	active	running
<EMAIL_ADDRESS>671116fd.../<IP_ADDRESS>	loaded	active	running
deis-store-daemon.service	671116fd.../<IP_ADDRESS>	loaded	active	running
deis-store-daemon.service	95ef2ecf.../<IP_ADDRESS>	loaded	active	running
deis-store-daemon.service	df8a013a.../<IP_ADDRESS>	loaded	active	running
<EMAIL_ADDRESS>df8a013a.../<IP_ADDRESS>	loaded	active	running
deis-store-metadata.service	671116fd.../<IP_ADDRESS>	loaded	active	running
deis-store-metadata.service	95ef2ecf.../<IP_ADDRESS>	loaded	active	running
deis-store-metadata.service	df8a013a.../<IP_ADDRESS>	loaded	active	running
deis-store-monitor.service	671116fd.../<IP_ADDRESS>	loaded	active	running
deis-store-monitor.service	95ef2ecf.../<IP_ADDRESS>	loaded	active	running
deis-store-monitor.service	df8a013a.../<IP_ADDRESS>	loaded	active	running
deis-store-volume.service	671116fd.../<IP_ADDRESS>	loaded	active	running
deis-store-volume.service	95ef2ecf.../<IP_ADDRESS>	loaded	active	running
deis-store-volume.service	df8a013a.../<IP_ADDRESS>	loaded	active	running

It looks like the following services are only running on one host:

deis-builder
deis-controller
deis-database
deis-logger
deis-registry (shown as deis-registry@1)
deis-store-gateway (shown as deis-store-gateway@1)

Should any of those be running on all hosts instead of just one?

I completely reinstalled the platform (deisctl stop platform; deisctl uninstall platform; deisctl install platform; deisctl start platform) and after a re-deploy of my app, I have logs again. It also allowed me to re-deploy the other app that was experiencing the issue in #3458.

I completely reinstalled the platform (deisctl stop platform; deisctl uninstall platform; deisctl install platform; deisctl start platform) and after a re-deploy of my app, I have logs again.

Well, that's good news! I have a feeling the issue was with the store component and that was poked in the restart. Unfortunately, a component showing as "running" doesn't necessarily mean it's functioning properly, and may need to be poked - see #2906.
Investigating component logs is usually the next step. I'm going to close this since it's resolved. Thank you for the detailed troubleshooting!


File Preview is Locking the File Preventing Moving Operation

Microsoft PowerToys version
0.56.1
Running as admin

[X] Yes

Area(s) with issue?
Developer file preview
Steps to reproduce
Open 2 different windows explorer windows (eg c:\project1  & c:\project2)
create a file with .cs extension in project1
drag the file from project1 to project2
you'll get a File in Use dialog asking to Try Again or Cancel

✔ Expected Behavior
the file to not be locked
❌ Actual Behavior
The file is locked and can't move it.
Other Software
No response

Looks like the fix for this was accepted just yesterday: #16748. Should be in the next release.

Duplicate of #16699


[FLINK-24218][doc]Translate "UNLOAD Statements" page of "SQL" into Ch…

Translate "UNLOAD Statements" page of "SQL" into Chinese
https://ci.apache.org/projects/flink/flink-docs-master/docs/dev/table/sql/unload/
docs/content.zh/docs/dev/table/sql/unload.md

cc @RocMarshal , do you have time to help reviewing this?

@wuchong @hapihu OK. I'll check it ASAP.


Work History

cip:
title: Work History
author: Michael Sena (@michaelsena), Joel Thorstensson (@oed)
discussions-to:
status: Idea
category: Standards
type: RFC
created: 2020-06-15
requires: Tile Doctype (CIP-8)
replaces:

🚨 This is a placeholder for an idea, and we will work to draft the CIP at a later time.

Simple Summary
Work History contains the employment history for a DID.
Abstract
Add description.
Work History is usually linked from a Work Profile document.
Motivation
Specification
The Work History specification consists of a doctype, schema, and tags.
Doctype
Work History is a Tile Doctype (CIP-8).
Schema
A Work History document stores an array of objects that represent jobs or employment. Each object consists of the optional properties below.

Work History borrows many attribute names from the schema.org person schema.

worksFor: An employer; a string. (Or should this be a DID?)
jobTitle: A job title (for example, Financial Manager); a string.
jobDescription: A description of the job; a string.
startDate: Start date; ISO (Add ISO number and link)
endDate: End data; ISO (Add ISO number and link)
proofs: An array of proofs that prove this employment claim to be true.
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "array",
  "items": {
    "$ref": "#/definitions/Work"
  },
  "definitions": {
    "Work": {
      "type": "object",
      "properties": {
        "worksFor": {
          "type": "string",
          "title": "worksFor"
        },
        "jobTitle": {
          "type": "string",
          "title": "jobTitle"
        },
        "jobDescription": {
          "type": "string",
          "title": "jobDescription"
        },
        "startDate": {
          "type": "string",
          "format": "date",
          "title": "startDate"
        },
        "endDate": {
          "type": "string",
          "format": "date",
          "title": "endDate"
        },
        "proofs": {
          "type": "array",
          "title": "proofs"
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}

Tags
When creating a Work History document, add WorkHistory to the tags field.
Example

Implementations
Copyright
Copyright and related rights waived via CC0.

@oed @michaelsena updated the schema


Crash Issue when double tap on pdf

Here is my code for load pdf and i have crash issue when i double tap on pdf.can you please give me a suggestion for what should i do for that.
<View style={{ flex: 1, borderRadius: 24, overflow: 'hidden' }}>
          <PdfRendererView
            style={styles.pdf}
            source={source?.uri}
            maxZoom={6}
            singlePage={singlePage}
            distanceBetweenPages={16}
            onPageChange={(current, total) => {
              console.log('onPageChange', { current, total });
            }}
          />
        </View>

Style.tsx
pdf: {
    backgroundColor: COLORS.primaryCheckThird,
  },

Hi @ayanWappnet , please, provide more info about the crash:

What is the platform and version? Android or iOS
What is the version of React Native?
What is the log error message?

Can you reproduce the crash with the code of Sample project?
Just clone this repo and:
cd Sample
./install.sh

Hello @douglasjunior
platform:Android
react-native version : 0.72.6
no any log error
<View style={{ flex: 1, borderRadius: 24, overflow: 'hidden' }}>
          <PdfRendererView
            style={styles.pdf}
            source={source?.uri}
            maxZoom={6}
            singlePage={singlePage}
            distanceBetweenPages={16}
            onPageChange={(current, total) => {
              console.log('onPageChange', { current, total });
            }}
          />
        </View>

Style.tsx
pdf: {
    backgroundColor: COLORS.primaryCheckThird,
  },

If you have a crash, then should have a log error.
Probably there should be a native error on the Java side, so you need to use the Android Studio logcat to see them.
Debugging Native Code: https://reactnative.dev/docs/debugging-native-code


Handle new "arch" property in the driver definition

Hey, with https://github.com/webdriverextensions/webdriverextensions-maven-plugin/pull/124 a new property "arch" was introduced in the repository file to support different architectures like arm64. The new field should be handled in com.github.erdi.gradle.webdriver.repository.DriverUrlsConfiguration
When executing the webdriver-plugin in version 2.7 with the new repository https://raw.githubusercontent.com/webdriverextensions/webdriverextensions-maven-plugin-repository/feature/support-for-cpu-arch/repository-3.0.json following exception is thrown:
Execution failed for task ':configureChromeDriverBinary'.
> com.github.erdi.gradle.webdriver.repository.DriverUrlNotFoundException: Driver url not found for name: "chromedriver", version regexp: ".*", platform: "mac", bit: "arm64"

As you can see from the error message you got I implemented this via the existing bit property (it uses arm64 on an M1) because the support wasn't there in WebDriver Extensions Maven Plugin and I needed it already many months ago. So you can get it to work with a custom package.json file if you want/need to but I agree that this is a valid issue and the supported format should follow whatever WebDriver Extensions Maven Plugin is using so this is a valid issue. I will fix when I have a while, hopefully next week.

Oh, now I see that my hack to use arm64 as an entry for bit for M1 architecture has made a big circle (https://github.com/webdriverextensions/webdriverextensions-maven-plugin-repository/pull/101, https://github.com/webdriverextensions/webdriverextensions-maven-plugin-repository/pull/91) and now it's coming back to me. 🙈


HSEARCH-2651 Calls to numericField in the programmatic API create duplicate fields

https://hibernate.atlassian.net/browse/HSEARCH-2651

merged & backported.. thanks!


Copy & Paste issue

Describe the Bug
While using copy & paste feature and the focus in on an input,
I noticed that when copying a string from that input and pasting in another one,
it creates a new node and push to the Workflow
Your Example Website or App
https://flowsit.ai
Steps to Reproduce the Bug or Issue
Login:

Email<EMAIL_ADDRESS>Password: Faruar05

Steps
1- Click on Start Here
2- Click on First Process
3- Click on the Node
4- Click on the Info Icon from the Toolbar (first one)
5- Click on "Documentation" Tab
6- Open "Requirements" Accordion
7- Write something in any input & copy it
8- Try to paste it in another input
9- Voila, now you end up with a new node!
Expected behavior
It should simply paste my clipboard string correctly
Screenshots or Videos
No response
Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 91.1]

Additional context
No response

You can pass a target to useKeyPress('Meta+c', { target: document.querySelector('.react-flow') }) to bind the event to the React Flow container instead of the window.

It worked, thank you sir
On Wed, Apr 10, 2024 at 12:31 PM Moritz Klack @.***>
wrote:

You can pass a target to useKeyPress('Meta+c', { target:
document.querySelector('.react-flow') }) to bind the event to the React
Flow container instead of the window.
—
Reply to this email directly, view it on GitHub
https://github.com/xyflow/xyflow/issues/4125#issuecomment-2047417936,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP2ROOTBJL7EW7JTVCOGGS3Y4UWJRAVCNFSM6AAAAABF5DWUG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBXGQYTOOJTGY
.
You are receiving this because you authored the thread.Message ID:
@.***>


[WIP] To Change Everything in 한국어 and english

This is a first pass of just quickly slotting in the Korean text.
I still have a lot to do (comparing the korean web to PDF to adjust CSS, line breaks, highlights, etc)
~I also noticed translation difference between the pdf and my source files.~
~e.g.~

~To change anything, start everywhere.~

~Source files: 무엇이 든지 바꾸기 위해, 모든 곳에서 시작하자. ~
~The pdf:              무엇 이든 바꾸려면 모든 곳 에서 시작하자~

~will need to figure out how to resolve those differences~
update: going with the pdf for layout/language guidance

demo
https://crimethinc-staging-pr-582.herokuapp.com/tce/한국어
progress screenshot

 korean desktop

Looking real good. 👍🏻

@veganstraightedge @just1602  any opinions on what to do with the last panel? In english and espanol it links out to "The Secret is to Begin"
I can think of 3 options:
In languages where that article is not translated, I could...

link to the english version?
hide the last panel
show last panel, but it will not be a link (requires getting the phrase "the secret is to begin" translated)

@astronaut-wannabe if we keep in mind that implementation of a translation / multilanguage system is in the roadmap we could only translate the "the secret is to begin" and link it to the good translation when it'll be done?

link to the english version?
hide the last panel
show last panel, but it will not be a link (requires getting the phrase "the secret is to begin" translated)

I like 1 the best. It at least gives the reader the option of reading it in English or Google translating it.
At the same time, I'll put out some feelers to get it translated into Korean.

Is this a copy/paste error / typo or something else?

Do you need these words translated? If so, what words are they?

 Wanna try each and see how they look?

@astronaut-wannabe  First "the secret is to begin" translation. We should corroborate that with a couple few folks still. But it can work as a placeholder for now.
Translation by: @jessabean.
https://twitter.com/jessabean/status/945842524853276673

Is this a copy/paste error / typo or something else?

no, that is the design in the pdf

Do you need these words translated? If so, what words are they?

The first one is introduction I think. That should be safe to pull from a dictionary.
The second one is "order in bulk" and is more like the "The Secret is to Begin" issue. should I just hide that link in languages that do  not have a translated /get page? Or is it possible to make a bulk order of korean TCE prints?

 Wanna try each and see how they look?

👍

First "the secret is to begin" translation. We should corroborate that with a couple few folks still. But it can work as a placeholder for now.

I checked this translation with a Korean friend. They said this wording makes sense

The second one is "order in bulk" and is more like the "The Secret is to Begin" issue. should I just hide that link in languages that do not have a translated /get page? Or is it possible to make a bulk order of korean TCE prints?

I'm pretty sure only en/es are available for bulk orders.
If there isn't a /:lang/get page for that :lang, let's link to /tce/get (EN version) for now.


Week 2 Review Ticket Classy Functions

3/3 Self Grade
Github Page that documents key learnings and code snippets using Github Pages and replit

[ ] Organize files, directories and menus for the first 3 weeks
Link to organized repl.it with directories
[ ] Write Factorial function using classes and implementing call
Link to factorial python file on
[ ] Select your own Math function. Write it in Imperative and OOP form.
Link to greatest common denominator math function file
Link to GCD with Imperative and OOP format
[ ] Extra Credit.  Write Palindrome function using classes, must provide implementation of call.  Must indicate where error occurs on front and back comparison.

3/3 Self Grade
Github Page that documents key learnings and code snippets using Github Pages and replit

[ ] Organize files, directories and menus for the first 3 weeks
Link to organized repl.it with directories
[ ] Write Factorial function using classes and implementing call
Link to factorial python file on
[ ] Select your own Math function. Write it in Imperative and OOP form.
Link to greatest common factor math function file
Link to factors with Imperative and OOP format
[ ] Extra Credit.  Write Palindrome function using classes, must provide implementation of call.  Must indicate where error occurs on front and back comparison.
Link to palindrome python page

[ ] Organized files and directories
[ ] Factorial Function
[ ] Math Function with imperative and oop
[ ] Extra Credit


[SPARK-48229][SQL] Add collation support for inputFile expressions

What changes were proposed in this pull request?
Introduce collation awareness for inputFile expressions: input_file_name.
Why are the changes needed?
Add collation support for inputFile expressions in Spark.
Does this PR introduce any user-facing change?
Yes, users should now be able to use collated strings within arguments for inputFile functions: input_file_name.
How was this patch tested?
E2e sql tests.
Was this patch authored or co-authored using generative AI tooling?
No.

thanks, merging to master!


IPython vs Jupyter notebooks in the documentation

In docs/src/quickstart/build.rst IPython notebooks are mentioned. As of IPython 4.0 the notebooks have moved to the new Jupyter project. Should the documentation be updated accordingly? I could start a PR.

Yes, a PR would be greatly appreciated.
On Tue, Feb 28, 2017 at 12:56 AM, Fabian Rost<EMAIL_ADDRESS>wrote:

In docs/src/quickstart/build.rst IPython notebooks are mentioned. As of
IPython 4.0 the notebooks have moved to the new Jupyter project. Should the
documentation be updated accordingly? I could start a PR.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cython/cython/issues/1615, or mute the thread
https://github.com/notifications/unsubscribe-auth/ATqe4i2r7tF7LUAPY5agd2iRhJk-0aSeks5rg-E6gaJpZM4MOIB6
.
--
You received this message because you are subscribed to the Google Groups
"cython-github-notifications" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to<EMAIL_ADDRESS>To post to this group, send email to cython-github-notifications@
googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/cython-github-notifications/cython/cython/issues/1615%40github.com
https://groups.google.com/d/msgid/cython-github-notifications/cython/cython/issues/1615%40github.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


Simplified rewrite and merge logic for single node SQL

Simplified rewrite and merge logic for single node SQL

Pull Request Test Coverage Report for Build 6147

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

Totals

Change from base Build 6145:
0.002%

Covered Lines:
9388

Relevant Lines:
12909

💛  - Coveralls


Fix auto discovery for Laravel ≥5.5

As reported in #54, the auto discovery of the service provider is not working correctly. At the moment, the Tmdb\Client is instantiated with default (empty) arguments because the custom factory method in LaravelServiceProvider is not called.
In addition, I updated the README to indicate which steps are optional due to auto discovery.

@z38 thanks for the work mate :)


Needs more documentation

Dear @ZeInhumane ,
Hey, I was trying to use this repository, but it seems to be lacking any readme or /docs links and I can't get started on it.
Thanks!

Hi, thanks for your comment @Ducksss. Issue resolved in e15d91c. Marking this as resolved.
Happy contributing!

Thanks!


[$1000] Chat - Message not updated in Edit message box

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Login with same account on two platforms
Platform A: Send any message -> Open Context menu for that message
Platform B : Go to same chat -> Open Context menu for same message-> Edit that message with new Message
Platform A : (You will see message is updated behind context menu) -> Click Edit message (It will show old message there)

Expected Result:
Chat Message should be updated with updated message
Actual Result:
Edited message is not reflected in Edit message box
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.55-7
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/78819774/8a70a334-08a7-4bdc-a044-d46b51cbcd47
https://github.com/Expensify/App/assets/78819774/db45dee3-4134-4475-8b83-bcd8ded2c049
Expensify/Expensify Issue URL:
Issue reported by: @DinalJivani
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1691363116598759
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0155075a8e482e44b6
Upwork Job ID:<PHONE_NUMBER>732049920
Last Price Increase: 2023-08-28

@0xmiroslav bump for review thanks

@laurenreidexpensify is this the same RCA as this issue? Can we combine them both to mine?

yes nice catch @adelekennedy - closing


USB Support for Mobile

Getting screenshots over wifi can significantly impact test performance for apps that require a network connection, so USB support would be great!

Closing Issue - Windows Mobile is not currently on our roadmap.


Bench-api --engine-flags can't accept text leading with '--'

Thanks for filing a bug report! Please fill out the TODOs below.
Note: if you want to report a security issue, please read our security policy!
Test Case
TODO: upload Wasm file here
Steps to Reproduce
1.) Build bench-api.
2.) sightglass-cli benchmark ... --engine-flags '--wasi-modules experimental-wasi-nn'
Expected Results
Benchmark runs to completion
Actual Results
error: Found argument '--wasi-modules experimental-wasi-nn' which wasn't expected, or isn't valid in this context
Versions and Environment
wasmtime commit ff0c45b4a069a84b131c8265d8d14c2f7d0566d7
Operating system: ubuntu 20.04
Architecture: x86
Extra Info
--engine-flags appears to not be able to accept a string that starts with --, so you are unable to set the flag needed to cause wasi-nn to be linked at runtime. This means wasi-nn can't be used by Sightglass currently.

@abrown This is the issue we discussed today.

It works if you do --engine-flags="--foo" with the = in there. This makes sense to me since the CLI parser otherwise can't determine whether this should be parsed as ["--engine-flags", "--foo"] or ["--engine-flags=--foo"].

This appears to be a Sightglass issue, so most likely not a Wasmtime bug.


Booting windows XP

I tried booting off of a windows XP sp3 iso and it said "(setup cannot access this drive)" and pressing enter would give me this

You have to set it up on QEMU then load the .img file into the section wich says hard disk image


slack: adopt new file upload api (due Mar 2025)

excerpt from notification email:
...two important dates related to upcoming changes to support for the files.upload web API method that affect your guineapig app.
May 8, 2024
Any new applications created on or after this date will be prevented from invoking the files.upload API.
March 11, 2025
Support for the files.upload API will be discontinued.
To prepare for this change, we recommend migrating away from files.upload and instead using the combination of files.getUploadURLExternal and files.completeUploadExternal. More information on how to use these two APIs together can be found on our Uploading files documentation. You can also leverage Slack’s SDKs to help you transition to this new way of uploading files by visiting our api.slack page.

nevermind--upload_v2 already uses the new api


Reader should fail in case the file cannot be opened

File: components/reader.js
Use the err parameter passed to the callback:
fs.readFile(path, options, function(err, data) {

Done!

This raises also an important question: how should we handle errors in general? Throw exceptions? Pass them forth to other components?
How did you handle this topic in JavaFBP?


Modify end of test message based on score.

Maybe have a cutoff score as part of config and tell them that they failed screening if they don't cross the score.

Closing as this was created for the Gru command line client.


[BUG]: Update stats to patch 01.000.300

Faulty File Path & Name
items\weapons\primary,secondary.json
Request information
Patch 01.000.300 updated the damage numbers on many weapons as well as changing some types to Energy
What is expected?
Correct information
What is actually happening?
Slightly incorrect information

Any additional comments?
Hope I did this right!
#36 should fix most/all of the issues

@Stonemercy great work, really appreciate it!


Node versions before 10 do not support new WorkOS Root CA

Legacy Node versions, which many apps still run on, bundle a set of root CAs and do not support the new root from Let's Encrypt for WorkOS's https://api.workos.com, which makes the service incompatible with legacy software as of August 10, 2022.
The error message returned from Axios is certificate has expired.
The fix requires allowing the consumer to pass an https.Agent instance into the WorkOS constructor which includes the valid root CA.
At the current time, the WorkOS SSL certificate indicates the chain is ISRG Root X2 > E1 > *.workos.com. The root CA file can be obtained from from Let's Encrypt directly. This is the "Self-Signed" pem file (cross-signed does not work in our testing) and is named isrg-root-x2.pem.
A simple test to see if your Node version supports the new certificate:
const axios = require('axios');

axios.get('https://api.workos.com')
  .then(function (response) {
    console.log(response.data);
  })
  .catch(function (error) {
    console.log(error.message);
  });

If this logs out certificate has expired then your Node version does not support the new SSL certificate.

I have a PR open #653 to allow passing in an https.Adapter that gets passed to the underlying Axios instance.
Until that is merged, if it ever is, you can use my fork and follow the steps below to get WorkOS working with Node versions before 10:
Download the new root CA from Let's Encrypt - be sure to download the "ISRG Root X2" (self-signed pem file) - current as of 2022-08-15
Install the patched version of @workos-inc/node:
package.json
{
  "dependencies": {
    "@workos-inc/node": "jdforsythe/workos-node#https-agent"
  }
}

Load the root CA from disk and pass it to a new https.Agent constructor, then pass the https agent into the WorkOS constructor:
const fs = require('fs');
const path = require('path');
const { Agent } = require('https');

const { WorkOS } = require('@workos-inc/node');

const agent = new Agent({
  ca: fs.readFileSync(path.join(__dirname, './isrg-root-x2.pem')),
});

const workos = new WorkOS(config.sso.apiKey, { httpsAgent: agent });

The Axios instance underlying the HTTP calls made by WorkOS will now recognize the new root CA and will not fail with the certificate has expired error any longer.

Thanks for the detailed write-up and PR, @jdforsythe!
As of v2.12.0 the WorkOS constructor now accepts an axios option that can be used to configure the underlying Axios instance.

For anyone returning to this, WorkOS switched cert vendors to Cloudflare, which works natively on old versions of Node, and the workaround of customizing Axios is not only no longer required, but will have broken in the last couple of days. Revert this workaround and use the WorkOS constructor without the customized CA and it will start working again.


Avoid usage of reload fixes #3959

@rafatower CR this fix for #3959. I've cc'd you in an email thread about this.

Frontend tests were OK :+1: (details)

:+1:


Publish extension to Open VSX

It would be fantastic if this extension was published to Open VSX so that people (including myself) using VSCodium or Code - OSS would be able to easily install and use this extension.

Already tried this in Code-OSS. Pylance source checks to make sure it is run on VS Code specifically. This is due to the license not allowing use of Pylance in anything that is not the official VS Code build.

#746

#746


feat(backend): support user defined attributes

Summary
Support user defined attributes in event ingestion and offer filtering via user defined attributes in various dashboard APIs. Make sure existing dashboard fetch APIs do not get impacted negatively.
Tasks

Figure out a decent schema architecture for user defined attributes
Create ClickHouse migrations to add new columns for user defined attributes
Update PUT /events API to read, validate, process and store user defined attributes
Build a common comparison expression system that will apply to all APIs that filter using user defined attributes
Update GET /apps/:id/crashGroups/:id/crashes API to return user defined attributes (if present)
Update GET /apps/:id/crashGroups/:id/plots/instances to support filtering via user defined attributes
Update GET /apps/:id/crashGroups/:id/plots/journey to support filtering via user defined attributes
Update GET /apps/:id/anrGroups/:id/anrs API to return user defined attributes (if present)
Update GET /apps/:id/anrGroups/:id/plots/instances to support filtering via user defined attributes
Update GET /apps/:id/anrGroups/:id/plots/journey to support filtering via user defined attributes
Update GET /apps/:id/sessions/:id API to return user defined attributes (if present)
Update GET /apps/:id/filters API to return list of unique user defined attribute keys and their types
Inject user defined attributes in session data events using random sampling and make sure event ingestion (via sessionator) works as expected
:books: Update SDK API docs
:books: Update dashboard API docs

See Also

#851

Download
https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file
password: changeme
In the installer menu, select "gcc."

1224


Compatibility with Xcode 6.3

The code doesn't compile under Xcode 6.2 Swift 1.2.
Any plans on implementing support for the new version?

This pull works - https://github.com/piercifani/PKHUD

done.


Allow for adding leading padding to vertex and triangle data

Right now, the format is defined such that vertex and triangle data is expected to start exactly after the containing section's header. This leaves no forwards/backwards compatible way to either added a vertex/triangle header, or add leading padding to ensure that data is aligned to octet boundaries larger than 16 octets.

Actually, let's not do this. If it's really necessary in the future, a new section type can be added that specifies an alignment.


Round Notifier Patch

Round Notifier now pings properly
Round Notifier also notifies on lobby-enter/round restart instead of just round start/end

im impatient


Index db

Coverage decreased (-0.51%) to 92.25% when pulling 82d0ba7d279c746fd4a83fcffc25355357fe1cdb on isocolsky:index_db into 0cbff651100921efc211311ab2555d1d2b169377 on bitpay:master.


[Feature] Scan to send

Implement QR code scan - parse transaction data encoded in json provided by URL - show proposed transaction details - allow to sign and broadcast transaction

Implement QR code generation - encode transaction data to send chosen amount to beneficiary - allow to generate invoices and show QR code than can be scanned by another person (Point of Sale scenario)

Scan QR:
https://pub.dev/packages/qr_mobile_vision
https://pub.dev/packages/qrscan
https://pub.dev/packages/fast_qr_reader_view
https://pub.dev/packages/flutter_qr_reader
Generate QR:
https://pub.dev/packages/qr

Also this .. on hypha DHO - I Think it's a simple sign in.


Modify istio enabled control flow in jobs to properly apply annotation when istio.enabled=false

Currently setting istio.enabled = false has no effect on the jobs.
If istio.enabled => set the annotation to be false.
The logic should be
if istio.enabled => set the annotation to be true.
else => set the annotation to be false.

Closing because I think that this is intended behavior https://github.com/GoogleCloudPlatform/spark-on-k8s-operator/pull/1439#discussion_r780577356


Button and Undefined

My friend used this software
He used a mod loader for the first time.
But there was an error. Here is the short error log.

He opened the mod loader.
After encountering the error, he deleted the software and game files and re-downloaded them.
After re-downloading, without the mod loader, there was a black screen crash.
I currently don't have the log for this time.
My friend couldn't send the long log for some reason, but I have a brief screenshot of the log.

what version of app and game itself do you tried and from where did you download it?
Uncaught SyntaxError: Unexpected token '{'
  from http://game/patches.js:261

from this line in the log i can tell that this might look like packaging issue of my app or corrupted files of the game, but i've never seen such issue before

second one
now I have log

what version of app and game itself do you tried and from where did you download it?
Uncaught SyntaxError: Unexpected token '{'
  from http://game/patches.js:261

from this line in the log i can tell that this might look like packaging issue of my app or corrupted files of the game, but i've never seen such issue before

The application is the latest version
omori 1.0.8  Official Chinese


Update periodic hopper example

Description of the problem

The DEM solver was been improved since the creation of the hopper example, the results and computation time were not accurate anymore.
A bug was fixed for periodic boundaries resulting of minor different behavior of particles' contacts in periodic cells.

Description of the solution

Update mass flow rate and computational time results were updated.

Comments

Figures were not updated since the differences are minor.

Will merge after CI


Custom Fields not displayed to Timeline feeds

##when we add a custom fields it is displayed on mode editor but when you post all the custom fileds are not displayed with the post

Thanks for this update. May I just add that the 'Label' fields does not show up on the post even if we enable it on the 'view' display.


chore: make futures-util optional

Makes futures-util dependency optional.

This seems not work without a breaking change. Taken over by #105.


Move image and social URLs into templates, instead of using tags and settings

In theory, the current implementation allows changing some images and URLs without having to re-upload new SES aws_main*.html templates. In practice, we rarely (never) change those images and URLs.
For the templates stored in git, there is no advantage to keeping the images and URLs outside the templates – other than specifying the URL once in mail.py instead of twice (once in each language's template). That said, putting this data in the template means we can use different images with different names across languages.
closes #359

Pull Request Test Coverage Report for Build<PHONE_NUMBER>0
Details

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 85.742%

Totals

Change from base Build<PHONE_NUMBER>0:
-0.03%

Covered Lines:
1792

Relevant Lines:
2090

💛  - Coveralls

Note: we need to update the templates in AWS when this is merged and deployed

Deployed and updated (including AWS templates and env variables)


For the "Import and set up the notification flow" what is the Azure AD Connection needed for?

We'll need to get permission to use this connector, seems like it gives a lot of access to Azure AD - can you please let us know why it is needed for the notifications? Thanks!

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

ID: 6836ad5a-2de5-6223-0514-62c83ac38d17
Version Independent ID: 8cf9565e-4998-bce4-b319-fedb7e9d835b
Content: Crisis communication app - sample template - PowerApps
Content Source: powerapps-docs/maker/canvas-apps/sample-crisis-communication-app.md
Service: powerapps
GitHub Login: @matthewbolanos
Microsoft Alias: mabolan

Hm. I was able to get around this by:

Click Get Data
Search for Sharepoint
Add the same CI_Employee Status table (shows as EI_Employee Status(2))
Remove all columns except Id, Title, Presence Status, RawLongitude, RawLatitude, Date, Latitude, Longitude
Save and Apply
The graphic then loaded correctly
Then I deleted the Sharepoint list I just added
Graphic stays loaded with original list
Not sure why or how it worked, but it did!

Sorry. This was a comment for the PowerBI issue above.

I have the same question, thanks for letting us know! (and for this amazing initiative!)

Thank you for reaching out. The Azure AD connection is used to convert the Azure AD ID into an email address. You can remove this card and simply hard coding the email address instead.

Great! Thanks! If I might ask an additional question related to this, if I want to do the same for the Teams notification, I run into a little trouble as I can only indicate individuals in the Recipients field, no groups. Could you point me to where I can find information on solving this?
Many thanks in advance,
Merel

Please read updated section for sending notifications to larger set of users that might help.


Disable time or date

Is there a way to turn off the date and only have the time?

You can disable the date by setting the format to an string with only a space.
dateFormat: " "


Agent0 updates

Major changes:

Consolidates rpc url env configurations across all subpackages
Splits out postgres and account env configurations
Adding dataclass and helper functions for all configurations
Agent0 bots entry points now defines all configurations and executes bots via 2 lines (defined in examples)
Passing in all individual configuration files to where it's needed

Minor changes:

Allowing specification of exact agent budget
Adding in base abstract class for HyperdrivePolicy
Adding example custom bot

TODO:

Consolidating all configurations into one variable for passing into various functions
Wrapper stateful object to ease syntax, reduce imports, and set defaults for running custom bots

do you think moving the ABIs into the agent0 package would make sense in this PR?

can you also update the PR title so that it is more descriptive to the few things that are done here? (at least add that it refactors configs)


SubDyn: Lumped mass issues

Bug description
SubDyn behaves in an unexpected way when accounting for lumped masses.
To Reproduce
The unexpected behavior is not fully understood.
We have one model in SubDyn with beams and lumped masses. The model looks as follows:

The information about the mass, center of mass and moments of inertia was used to create an equivalent rigid floater in ElastoDyn.

The results of these 2 models (ElastoDyn rigid and SubDyn defined as rigid by means of SttcSolve = False and Nmodes = 0) was consistent in time domain for still water conditions:

The agreement is very good between models specially considering that the ElastoDyn model includes 1 potential flow body in HydroDyn and the SubDyn model includes 6 potential flow bodies in HydroDyn (discretized system).
The above SubDyn model used lumped masses with eccentricities. However, it is known that the lumped masses should not include eccentricities in SubDyn (see for reference: https://github.com/OpenFAST/openfast/issues/1710#issue-1826821882).
Accordingly, new joints were created in the SubDyn and linked to existing joints through rigid links. The model studied accounts for 22 lumped masses, so 22 rigid links were used. When doing this, the properties (e.g., mass, center of mass and moments of inertia) of the 2 SubDyn models (lumped mass with eccentricity vs lumped mass with rigid link) were consistent:

However, when comparing the results in time domain, there was a large difference in the behavior between models:

In order to try to better understand this behavior, the 22 lumped masses with 22 rigid links were removed from the SubDyn model and only 1 lumped mass with 1 rigid link was included. This unique lumped mass is equivalent to the 22 lumped masses in terms of mass, center of mass and moments of inertia. Since the structural model in SubDyn in this case is rigid, the response should be the same:

This indicates that the issue is not related to the number of rigid links used in SubDyn.
So, for some reason that we don't understand, including a lumped mass with a rigid link has a very different behavior than expected.
OpenFAST Version
Current OpenFAST dev.

@luwang00, is this something you can address?

I have been looking at this problem in detail with @luwang00. Somehow, it seems that these numerical models (i.e., ElastoDyn vs SubDyn models) were tuned in terms of hydrostatics to achieve the same equilibrium condition. However, because lumped masses with eccentricities were used in SubDyn, the changes introduced in hydrostatics were unrealistic. Once the SubDyn with lumped masses attached by rigid links was used, a large difference was observed. This large difference is actually not due to the use of the lumped masses with rigid links (proper approach) but rather tuning the hydrostatics using the SubDyn model with lumped masses that included eccentricities (wrong approach).

Closing this as a model setup issue.


fix: Increase Galleries for You image quality

Description
This PR includes two improvements.

Higher quality partner images on the "Galleries for You" screen
Decrease the image/item size for tablets to match other tablet sizes

PR Checklist

[ ] I have tested my changes on iOS and Android.
[ ] I hid my changes behind a feature flag, or they don't need one.
[ ] I have included screenshots or videos, or I have not changed the UI.
[ ] I have added tests, or my changes don't require any.
[ ] I added an app state migration, or my changes do not require one.
[ ] I have documented any follow-up work that this PR will require, or it does not require any.
[ ] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

Increase Galleries for You image quality - ole

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Cross-platform user-facing changes (Increase Galleries for You image quality - ole)

  Generated by :no_entry_sign: dangerJS against 9ad26f5720921150a8db1dba2051da515476f33a


Fix upload maven pacakge parallelly

Fix #30171
Thanks @tlusser for the test code.
Depends on #31813

Could this be applied to the docker image push too?

Could this be applied to the docker image push too?

The logic can be similar but the endpoint will not be the same. So, I would like to fix them one by one.

Wait for #31908?

Depends on #31813

The tests panic because the default lock hasn't been initialized until #31813.

Hmm, it cannot be backported to v1.22 since it depends on #31813. Or we need to fix it in another way.

Hmm, it cannot be backported to v1.22 since it depends on #31813. Or we need to fix it in another way.

I will use the old lock in backpor PR.


CI doesn't recognise type hints in eth2spec

The eth2spec library was added as a dependency in cancun since the point_evaluation precompile requires some of its functions. However, mypy fails on CI to recognise the type hints from this library even though the py.typed file was recently added to it. See here. We will need to analyse and correct why this is not recognised on CI. As a temporary fix, a type ignore hint has been added. This will have to be removed once a permanent fix is applied.
Note: mypy did not throw any error upon local execution, so it could just be something specific to CI

Fixed by #885


WIP Integrate new contract interface, process batches

Closing as largely superseded by https://github.com/api3dao/airseeker-v2/pull/56/files


Add true programmatic schemas

As per #35, this re-implements the ability for a purely programmatic approach to schema generation, models and enums can be created independent of a parent schema while retaining full prior functionality.
An example has been added in examples/programmatic-usage, in which an API which can generate basic models is created.
The core logic for this endpoint is as follows.
handler(context) {
  const { body } = context.request;
  const model = new PrismaModel(body.modelName);
  model.string("id", { id: true, default: { uuid: true } });

  for (const { type, name } of body.fields) {
    model[type](name);
  }

  return {
    status: 200,
    body: model.toString(),
  };
}

The README for said example is as follows.

This example creates an API at <IP_ADDRESS>:8000 with a route in which you can send GET requests to a /model endpoint.
It accepts the following zod schema.
validation.object({
  modelName: validation.string(),
  fields: validation.array(validation.object({
    type: validation.enum(["string", "int"]),
    name: validation.string(),
  })),
});

When a request is sent with the following body to <IP_ADDRESS>:8000/model, it will respond with the subsequent string.
{
	"modelName": "ExampleModel",
	"fields": [
		{
			"type": "int",
			"name": "number"
		},
		{
			"type": "string",
			"name": "name"
		}
	]
}

model ExampleModel {
  id     String @id @default(uuid())
  number Int
  name   String
}

@efrelia, is this what you had in mind? Let me know before EOD so I can make adjustments and deploy! :)

With this, proper documentation may be needed as the feature usage may require a better knowledge of the constructors and methods.

@efreila Thank you for the valuable feedback!

I will mention you once this is deployed!


DigitalTwin - "Hidden Costs of Data Manipulation" - Replace Horizontal Info Graphic with Vertical Version for Mobile version

AI file sent to @Vilnite

Please update roadmap's css:

as close to this as possible:

[ ] Remove blocks from text
[ ] Background colour #FCFFE3
[ ] remove numbers from circles and gradually change color for each circle

[ ] 1 = #FF7697
[ ] 2 = #FFA3B2
[ ] 3 = #FFC3CD
[ ] 4 = #FFE3E7
[ ] 5 = #FFF4F7

while we use image at road map desktop I use the horizontal one for mobile as image also see if that work with u

works :)


[#1769] Fix hit dice subtracting health with negative con mod, rework rollHitDie to use base Roll rather than DamageRoll

This fixes the issue with rolling hit dice with a negative con modifier potentially subtracting hit points.
It also reworks rollHitDie to use the base Roll rather than DamageRoll, which avoids some formatting weirdness from the formula simplification present in DamageRoll that is not necessary for this purpose. This is a breaking change because it removes the ability to show a roll configuration dialog for hit die rolls (disabled by default, but possible before by passing {dialog: true} to the rollHitDie method). It also alters the config data passes to the dnd5e.preRollHitDie hook, potentially causing issues with people who have implemented that new hook already.
That said, I think it is better for hit die to be rolled as vanilla Roll rather than DamageRoll.

Is it the case then that there was really no way to spawn the hit die configuration dialog via the UI? It was purely available via the API?

Nowhere in the core system are we displaying that dialog, but it is possible that 3rd party sheets or other modules might have been using it.

Given that we expect the impact to be minimal, and that there is recourse for modules to take over the process entirely with preRollHitDie if they want to re-add the dialog, I think we can put this in the next patch. Would you mind raising an issue to add an (optional) intermediate hit die dialog for situational bonuses?


Can't communicate to external TLS services after upgrade to 1.5.x

Bug description
Istio stopped all external TLS communications after upgrade from 1.4 to 1.5, it seems to be related to the new default values.global.mtls.auto=true.
Expected behavior
I simple curl to any external URL to return a 200 response
root@helloworld-v2-85bc988875-6r79g:/opt/microservices# curl https://www.google.com
curl: (35) Unknown SSL protocol error in connection to www.google.com:443

Steps to reproduce the bug
Upgrade cluster from 1.4.6 to 1.5.0 then to 1.5.2 with the following control plane config:
apiVersion: install.istio.io/v1alpha2
kind: IstioControlPlane
spec:
  profile: default
  addonComponents:
    grafana:
      enabled: true
    kiali:
      enabled: true
  components:
    citadel:
      enabled: true
    ingressGateways:
    - enabled: false
  values:
    global:
      logging:
        level: "default:info"
      proxy:
        accessLogFile: /dev/stdout
      # Utilizar caso tivermos um nodepool dedicado ao istio
      defaultNodeSelector:
        group: istio
      mtls:
        enabled: false

Access any sidecar injected pod and send a curl request to any external host that DOES NOT have a ServiceEntry associated.
The problem was fixed after changing:
values:
  mtls:
    auto: false
    enabled: false

Note that I'm not controlling egress traffic:
kubectl get configmap istio -n istio-system -o yaml | grep -o "mode: ALLOW_ANY"
mode: ALLOW_ANY
mode: ALLOW_ANY

Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
$ istioctl version --remote
client version: 1.5.2
control plane version: 1.5.2
data plane version: 1.5.2 (11 proxies)

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.2", GitCommit:"66049e3b21efe110454d67df4fa62b08ea79a19b", GitTreeState:"clean", BuildDate:"2019-05-16T18:56:40Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"15+", GitVersion:"v1.15.10-eks-bac369", GitCommit:"bac3690554985327ae4d13e42169e8b1c2f37226", GitTreeState:"clean", BuildDate:"2020-02-26T01:12:54Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}

How was Istio installed?
Using istioctl
Environment where bug was observed (cloud vendor, OS, etc)
AWS/EKS, Amazon Linux 2.

This seems like it might be related to https://github.com/istio/istio/issues/16458, although I don't think auto mtls would impact that? tl;dr is an http port on port 443 will break this. Its fixed in 1.6 but not 1.5. Can you try checking if you have the http port on 443? If not this may be a different issue

@incfly PTAL if it turns out not to be a port collision on 443.

I'm seeing the same issue with 1.6.1 and the following config:
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
  values:
    global:
      proxy:
        tracer: zipkin # for use with jaeger
      controlPlaneSecurityEnabled: false
      disablePolicyChecks: true
      enableTracing: true
      mtls:
        auto: false
        enabled: false
      defaultNodeSelector:
        node_type: cpu
        spotinst.io/node-lifecycle: od
      outboundTrafficPolicy:
        mode: ALLOW_ANY
    certmanager:
      enabled: false
    gateways:
      enabled: true
      istio-ingressgateway:
        enabled: true
        serviceAnnotations: {} # TODO: add cert, http(s) annotations
      istio-egressgateway:
        enabled: false
    grafana:
      enabled: false # using separately maintained installation
    istio_cni:
      enabled: false
    kiali:
      enabled: true
      dashboard:
        auth:
          strategy: anonymous
        viewOnlyMode: true
        grafanaURL: https://grafana.arturo.ai
        grafanaInClusterURL: http://grafana.monitoring:80
        jaegerURL: '' # TODO: add public-facing URL
        jaegerInClusterURL: http://tracing/jaeger
      prometheusAddr: http://prometheus-operated.monitoring:9090
      security:
        enabled: false
    mixer:
      policy:
        enabled: false # if enabled, global.disablePolicyChecks has affect
      telemetry:
        enabled: true
    prometheus:
      enabled: false # using separately maintained installation
    tracing:
      enabled: true
      provider: jaeger
    pilot:
      traceSampling: 1.0 # 100%, suitable for a "low traffic mesh" https://istio.io/docs/tasks/observability/distributed-tracing/overview/#trace-sampling

@howardjohn @mandarjog what debug info can I give you?

@howardjohn I am running into this same issue. also it appears to be related to destination rules. i have a destination rule setup like:
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
name: www.google.com
spec:
host: www.google.com
trafficPolicy:
portLevelSettings:
- port:
number: 443
tls:
mode: SIMPLE
here is my service entry:
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
name: devtest-service-entries
spec:
hosts:
- www.google.com
ports:

number: 443
name: https-port-for-external-urls
protocol: HTTPS
resolution: DNS
location: MESH_EXTERNAL

things work after i delete the destination rule:
Carls-MacBook-Pro:istio carleastman$ kubectl exec -it workflow-api-5cbf58bfd5-zpqnh bash
Defaulting container name to workflow-api.
Use 'kubectl describe pod/workflow-api-5cbf58bfd5-zpqnh -n devtest' to see all of the containers in this pod.
root@workflow-api-5cbf58bfd5-zpqnh:/home/node/app# curl https://www.google.com
curl: (35) error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
root@workflow-api-5cbf58bfd5-zpqnh:/home/node/app# exit
exit
command terminated with exit code 35
Carls-MacBook-Pro:istio carleastman$ kubectl delete dr www.google.com
destinationrule.networking.istio.io "www.google.com" deleted
Carls-MacBook-Pro:istio carleastman$ kubectl exec -it workflow-api-5cbf58bfd5-zpqnh bash
Defaulting container name to workflow-api.
Use 'kubectl describe pod/workflow-api-5cbf58bfd5-zpqnh -n devtest' to see all of the containers in this pod.
root@workflow-api-5cbf58bfd5-zpqnh:/home/node/app# curl https://www.google.com
<!doctype html><meta content="Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.

This is assumed a duplicate of https://github.com/istio/istio/issues/16458 as not information suggesting otherwise has been provided in ~4 months. If you still see this please reopen. Thanks!
@ceastman-ibm this is an unrelated issue - but the issue with yours is you are doing double TLS - curl is originating TLS, AND envoy is originating TLS


Fix incorrect comment in docs.

It was contradicted by the expected output for the feature.

LGTM, just kicked the build to see if it will go green


Issue with vagrant while executing molecule create command

Issue Type
Question
Molecule and Ansible details
ansible --version
ansible <IP_ADDRESS>

molecule --version
molecule, version 2.1.0

Molecule installation method: One of source, pip
Ansible installation method: One of source, pip, OS package

Desired Behaviour
i was working good with docker driver earlier, Now, i am trying to setup with vagrant driver
Actual Behaviour (Bug report only)
i have create a new role using molecule role --role-name ntp --driver-name vagrant and tried
molecule create which is failing with below error.
An exception occurred during task execution. The full traceback is:
Traceback (most recent call last):
File "/tmp/ansible_JIesUq/ansible_module_molecule_vagrant.py", line 417, in
main()
File "/tmp/ansible_JIesUq/ansible_module_molecule_vagrant.py", line 410, in main
v.up()
File "/tmp/ansible_JIesUq/ansible_module_molecule_vagrant.py", line 297, in up
for line in self._vagrant.up(no_provision, stream_output=True):
TypeError: up() got an unexpected keyword argument 'stream_output'
failed: [localhost] (item={'box': u'ubuntu/xenial64', 'name': u'instance', 'box_url': u'https://atlas.hashicorp.com/ubuntu/xenial64'}) => {
    "failed": true,
    "invocation": {
        "module_name": "molecule_vagrant"
    },
    "item": {
        "box": "ubuntu/xenial64",
        "box_url": "https://atlas.hashicorp.com/ubuntu/xenial64",
        "name": "instance"
    },
    "module_stderr": "Traceback (most recent call last):\n  File \"/tmp/ansible_JIesUq/ansible_module_molecule_vagrant.py\", line 417, in <module>\n    main()\n  File \"/tmp/ansible_JIesUq/ansible_module_molecule_vagrant.py\", line 410, in main\n    v.up()\n  File \"/tmp/ansible_JIesUq/ansible_module_molecule_vagrant.py\", line 297, in up\n    for line in self._vagrant.up(no_provision, stream_output=True):\nTypeError: up() got an unexpected keyword argument 'stream_output'\n",
    "module_stdout": "",
    "msg": "MODULE FAILURE"
}

Please give some details of what is actually happening.
Include a minimum complete verifiable example with
output of running molecule --debug.

Your version of python-vagrant package is too old.  You need to upgrade your version to one that supports stream_output.  A pip install -U python-vagrant` should fix you up.

Thank you @retr0h.


feat(query): Add facetingAfterDistinct

Changes Unknown when pulling d90e64e2910dc03837d9ab15fcea5125fc41ef41 on feat/facetingAfterDistinct into ** on master**.


chore: use clippy with --no-deps on ci

What's changed and what's your intention?

Please explain IN DETAIL what the changes are in this PR and why they are needed. :D

As title.
Checklist

[x] I have written the necessary rustdoc comments
[x] I have added the necessary unit tests and integration tests
[x] I have passed make all (or make fast instead if the old tests are not modified) in my local environment.

Related issues or PRs (optional)

Still panics with macos clippy with sig 6.


fix: add cannonical_id to npm_import

This prevents npm_import from pulling data with the same integrity.

Type of change

Bug fix (change which fixes an issue)

Test plan

Manual testing; please provide instructions so we can reproduce:

TBD
TL;DR: @joeljeske and I discovered a situation where the SHA mismatched on a url pull through and this needed to be added to fix
https://docs.bazel.build/versions/3.0.0/repo/http.html#http_archive-canonical_id

This aligns with http_archive and http_file which set canonical_id = download_url by default.
Any thoughts @gregmagolan?


idea: consider not displaying the "sign up for our newsletter" popup on phones

@jseldess & @sploiselle
Having now tested the docs site on a phone multiple times in the last few days, I've noticed how annoying the newsletter modal is. The x to close out is pretty small, and Safari on iOS does not allow third party cookies, so the "do not show again" setting is moot.
What do you think of setting it to not display on phones?

+1

+1 from me, too. Do you want to punt this to Division Of, or should I?

@jseldess please go for it.

Opened an issue with Division Of: https://app.asana.com/0/96629601608286/324409183002100


Broken links for tools repository in README

Hello, the links regarding the tools repo in the README seem to be broken.

Tools repo
Tools repo README

Or maybe I need to belong to the exercism org to be able to see those repos? 🤷♀

@javiguajardo Thanks. I've pinged @kytrinyx who knows this repo better than me.

Ah, I deleted that repo, as all the scripts were woefully out of date, and I was the only one who used any of them. Sorry about the broken links!

Ah, I deleted that repo a few years back, as all the scripts were woefully out of date, and I was the only one who used any of them. Sorry about the broken links!

Thanks for looking into it! I was just clicking around 🙈


Set editor readonly for files that are readonly on disk

A small gripe, but one which gets me every time.
I use vscode with some auto-generated source files which are marked on disk as read-only. Because the auto-generated files appear similar to the normal source files in my project, I start to edit them and only discover when I try to save that I'm in the wrong file.
As well as #17621, it would be really useful to have a configurable editor option that prevents any editing of read-only files. Any keystrokes, pasting, etc are simply ignored.

Based on the source control I use and the way I use it, this is currently the biggest hurdle for me in migrating to VS Code.
From my experience, both Visual Studio and Notepad++ just respect file status on disk when it comes to editing.  Sublime does not, but it's API supports a set_read_only function on views.  VS Code currently does not seem to have either of these.
Ideally, VS Code would have a similar API support for plugins to be able to control view edit status, as well as a settings configurable ability to just respect on-disk file status.  I'm personally more concerned with the API aspect, but I see them both as being useful.

The editor has an option readOnly that would need to be exercised by the workbench => removing editor label.

I'd love to see this too. I raised #31410 and based on the responsed implemented a text content provider however it caused a bunch of issues (for ex. Code didn't know that my new scheme was actually files, so paths to breakpoints etc. get messed up) and I've had to revert it. Now my users can edit package sources (equiv of node_modules) which is really not ideal.

I'd love to see this as well. We are using source control using locks. Being able to edit read only files causes only confusion.

@alexandrudima Hi - is there any chance the fix you created in #37496 could be easily applied to this issue. Displaying your "Cannot edit" hint when trying to edit read-only source files would be great way to solve this.

@adelphes I think what's needed is for FileSystemProvider to be able to indicate readonly as part of what it returns from its stat method. I created #73122 to request this. Starting at 1.34 even access to the local filesystem is implemented as a FileSystemProvider, so its stat method would be able to check file permissions (and the readonly file attribute on Windows) and return the appropriate readonly value.

Could this feature also allow your workbench configuration to mark entire folders as read only?

Wait, what? The editor should have an option to prevent accidental editing of read-only files. For people who are stuck in older version control systems, the current behavior leads to easy accidents, such as:

Accidentally click a key or paste into an editor window that contains a file that is set as read-only on disk.
Autosave runs, and prompts a dialog in the lower right.
User (me, or maybe you!), in a rush, absent-mindedly (and incorrectly--we are human and prone to mistakes) clicks "overwrite".
perforce is now broken hard, because it tracks state via file read-write attributes, and will now fail to update that file. This is a classic, easily overlooked problem that many people have lost much time over, especially in large projects.

If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.

I disagree and feel that this issue is crucial.

Yes. I think it's time to get this re-opened and into the queue.
At the very least, a real live person from the core team should comment here, please.

This continues in https://github.com/microsoft/vscode/issues/4873 so no need to reopen?

While working on #161715, I made a patch that propagates stat.mode to set FilePermission.Readonly so textEditorModel.isReadonly() can dynamically sync with FileSystem.Readonly)
That patch (and the branch its in) explicitly addresses the issue of "files which are marked on disk as read-only" being non-editable.
(which is technically different from #4783, which is about files that are disk-writeable, but intended to be non-editable)
(although it relies on code from #161716 to set model.isReadOnly() and present the 'lock' icon...)

@bpasero

Duplicate of #4873

I disagree that this is the same as #4873 - simply reading through the comments makes it clear that there are two different scenarios.
4873 refers to a dynamic option which allows a developer to mark files or editors as read-only.
This issue is focused on the read-only state of files in the file system and automatically preventing editing of those files.

Since this is reopened:
Would you like me to make a standalone PR for the patch mentioned above?
It simply applies the 'readonly' bit returned in the file-stat  method to set the Permissions.readOnly flag.
(which is already tested/recognized in [textFileEditorModel.isReadonly()](https://github.com/microsoft/vscode/blob/main/src/vs/workbench/services/textfile/common/textFileEditorModel.ts#:~:text=override isReadonly(,})
this.fileService.hasCapability(this.resource, FileSystemProviderCapabilities.Readonly));
I know you have concerns that other Editor/Models may also be interested in the readonly status;
But in this case, that only means other places should be checking FileSystemProviderCapabilities.Readonly

Fixing it now sounds good, yes. There is no need to wait for other, more exotic features that happen to be related.
And I see a much higher value-to-effort ratio for fixing this one, too. This is something that is obvious and required; most editors do.

There's the PR (one-line + import)

Resolved as follows:
Because throwIfFileIsReadonly() needs to not throw for DiskFileSystemProvider [to allow unlock/sudo]
the legacy/historical solution was to remove 'permissions:' from its reported IStat
As a result, the actual file-stat readonly-ness could never be used to signal non-editibility.
To preserve the 'allow DiskFileSystem to bypass throwIfFileIsReadonly()' feature,
while also including FilePermissions.Readonly, we take the simple approach to mark DiskFileSystemProvider with a special feature/capability/permission: IgnoreReadonly  (as always I'll defer to the authors for better naming)
That is: instead of removing the standard, righteous Readonly permission indicator for the DiskFSP feature,
we instead add a special permission indicator for DiskFSP (& others that may offer the unlock/chmod/sudo feature)
This fix is 4 lines:
1 & 2: define the new bit in FilePermissions (in files.ts & vscode.d.ts)
3: set the bit in DiskFileSystemProvider.stat()
4: check the bit in throwIfFileIsReadonly()
This provably gives that same results as before, since the place that relied on a null FilePermission now detects the IgnoreReadonly bit.

This landed in our insiders behind a new setting files.readonlyFromPermissions. You can give our preview releases a try from: https://code.visualstudio.com/insiders/