docker-in-docker feature issues on Mac M1 Pro

Hello guys,
Since yesterday, I started encountering issues building devcontainers that include the docker-in-docker feature.
I'm getting the following error when trying to build the container:

[2023-02-08T09:36:30.763Z] error: failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to solve with frontend gateway.v0: rpc error: code = Unknown desc = error getting credentials - err: exit status 255, out: ``
[2023-02-08T09:36:30.765Z] Stop (917 ms): Run: docker buildx build --load --build-context dev_containers_feature_content_source=/tmp/devcontainercli-root/container-features/0.29.0-1675848983162 --build-arg _DEV_CONTAINERS_BASE_IMAGE=mcr.microsoft.com/devcontainers/base:bullseye --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp --target dev_containers_target_stage -t vsc-ssp-external-042dcff4e38ebc295fd11392f0cee097-features -f /tmp/devcontainercli-root/container-features/0.29.0-1675848983162/Dockerfile.extended /tmp/devcontainercli-root/empty-folder
[2023-02-08T09:36:30.735Z] Error: Command failed: docker buildx build --load --build-context dev_containers_feature_content_source=/tmp/devcontainercli-root/container-features/0.29.0-1675848983162 --build-arg _DEV_CONTAINERS_BASE_IMAGE=mcr.microsoft.com/devcontainers/base:bullseye --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp --target dev_containers_target_stage -t vsc-ssp-external-042dcff4e38ebc295fd11392f0cee097-features -f /tmp/devcontainercli-root/container-features/0.29.0-1675848983162/Dockerfile.extended /tmp/devcontainercli-root/empty-folder
[2023-02-08T09:36:30.735Z]     at fie (/root/.vscode-remote-containers/dist/dev-containers-cli-0.275.1/dist/spec-node/devContainersSpecCLI.js:1915:1355)
[2023-02-08T09:36:30.735Z]     at P7 (/root/.vscode-remote-containers/dist/dev-containers-cli-0.275.1/dist/spec-node/devContainersSpecCLI.js:1915:1291)
[2023-02-08T09:36:30.735Z]     at processTicksAndRejections (node:internal/process/task_queues:96:5)
[2023-02-08T09:36:30.735Z]     at async Fie (/root/.vscode-remote-containers/dist/dev-containers-cli-0.275.1/dist/spec-node/devContainersSpecCLI.js:1921:2093)
[2023-02-08T09:36:30.735Z]     at async Vf (/root/.vscode-remote-containers/dist/dev-containers-cli-0.275.1/dist/spec-node/devContainersSpecCLI.js:1921:3241)
[2023-02-08T09:36:30.735Z]     at async eoe (/root/.vscode-remote-containers/dist/dev-containers-cli-0.275.1/dist/spec-node/devContainersSpecCLI.js:2045:17324)
[2023-02-08T09:36:30.735Z]     at async Qse (/root/.vscode-remote-containers/dist/dev-containers-cli-0.275.1/dist/spec-node/devContainersSpecCLI.js:2045:17065)

Hi 👋
I tried to build a dev container with simple configuration on Mac M1 Pro, it worked for me. @bogdanmelinte can you add your dev config here which may help us understand the issue?
devcontainer.json
{
	"name": "Docker in Docker",
	"image": "mcr.microsoft.com/devcontainers/base:bullseye",
	"features": {
		"ghcr.io/devcontainers/features/docker-in-docker:2": {}
	}
}

Also, I'd recommend using the simple config above and see if that works for you. This will help us narrow down whether the issue exists with the Feature or with dev config.

Hi 👋
Solved it after a few hours debugging everything.
Apparently the issue was that I was missing docker-credential-helper on my Mac and this was leading to weird auth issues with the registry.
All good now.
Thank you !


feat(icon): Added Aerogear icon as favicon (AEROGEAR-8884)

Motivation
https://issues.jboss.org/browse/AEROGEAR-8884
What
Replaced default React favicon with the Aerogear icon.
Verification Steps
Add the steps required to check this change. Following an example.

Open the application in your browser.
Clear your browser cache (press Cmd+F5 or Ctrl+F5 a few times).
Does the icon in the browser tab change?

Checklist:

[ ] Code has been tested locally by PR requester
[ ] Changes have been successfully verified by another team member

Progress

[x] Finished task
[ ] TODO

Additional Notes

Coverage remained the same at 93.499% when pulling 69c64e4356cb120a67b8b09475e6169c6cb03bc2 on craicoverflow:AEROGEAR-8884 into c73e0e722ec15acb59ff6674f6fe982e299e9346 on aerogear:master.


Styles for Info components

Some of the default styles have rules like p + h5 which break with the info component because it contains things other than p. Using class-based rules avoid that.

@msecret I suspect this isn't needed anymore?


[BEAM-5148] Implement MongoDB IO for Python SDK

Please add a meaningful description for your change here
[BEAM-5148] Implement MongoDB IO for Python SDK
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Tested the basic functionalities with local docker setup.

retest this please

R: @chamikaramj
Hi cham would you mind take a look on this initial implementation of mongodb io when you have time?

R: @ihji

Run Portable_Python PreCommit

Run Portable_Python PreCommit

@chamikaramj I think I addressed all the comments, would you mind take another look?

Run Python PreCommit

Run RAT PreCommit

LGTM. Thanks.
Please squash commits for merging according to https://beam.apache.org/contribute/

Thanks for reviewing!

Thanks. Merging.

hi there, quick question:
for some reason, after using this code in 2.14.0 we fail to run pipelines due to dependency issue with
   from bson.py3compat import abc, string_type, PY3, text_type ImportError: cannot import name abc
do you have any idea what is the problem (we use python 2.7) ?

@ovaltzer - This seems to be related https://github.com/py-bson/bson/issues/82
Do you have a bson installed in your environment? If I am reading the above issue correctly pymongo has its own copy of bson and not compatible with the one installed from pypi.
/cc: @chamikaramj

Hey yes. Sorry I forgot to update but this was the issue. We needed to change our setup files to use pymongo. For some reason this this became mandatory dependency as part of 2.14

It is a good idea to update the documents.In addition we can try to do bson import optionally here (https://github.com/apache/beam/blob/master/sdks/python/apache_beam/io/mongodbio.py#L58) so at least user of just bson but not mongo db would not be affected of this issue.


Is there any prop to autoclose the swipeout when I open another

When I open a swipeout while having another already opened both stay opened


Make transmit queue limits and timeout configurable

When actors have longer-running work to do while processing a message, messages can get backed up and eventually exceed the limits set by MAX_QUEUED_TRANSMITS, QUEUE_TRANSMIT_UNBLOCK_THRESHOLD, and DROP_TRANSMITS_LEVEL, or exceed the timeout set by DEFAULT_MAX_TRANSMIT_PERIOD.
This update just makes those values configurable by setting environment variables (and defaults to the original values if those variables are not set).
Users can set the following environment variables:

THESPIAN_MAX_QUEUED_TRANSMITS to modify MAX_QUEUED_TRANSMITS
THESPIAN_QUEUED_TRANSMIT_UNBLOCK_THRESHOLD to modify QUEUED_TRANSMIT_UNBLOCK_THRESHOLD
THESPIAN_DROP_TRANSMITS_LEVEL to modify DROP_TRANSMITS_LEVEL
THESPIAN_TRANSMIT_TIMEOUT_MINUTES (maybe badly named) to modify DEFAULT_MAX_TRANSMIT_PERIOD

Closes https://github.com/thespianpy/Thespian/issues/82


Opening the tool in VR

Hi, when I hit CTRL and F2 my computer went to sleep so I now have disabled that sleep function. Now when i hit CTRL and F2 in the sim VR mode, to open the tool, nothing happens. How do I change the mapping to open the tool in VR?

#124


About the instruction, I have a suggestion

Several days ago, I post a issue called "[Android Studio 3.0 alpha7]OnClick doesn't get response", the develop team told me that when enter the another activity from the previous one, the previous activity will be stopped, it donesn't make response because I put unregister function on the old activity's onStop function.
So when I put the register function on the old activity's onCreate function and the unregister function on onDestory function, it can work normally.But the README.md told me put the register function on onStart function and the unregister function on onStop function, just like the picture, I think can you change it to "@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
EventBus.getDefault().register(this);
}
@Override
protected void onDestroy() {
super.onDestroy();
EventBus.getDefault().unregister(this);
}"

No. You should NOT use EventBus to pass data between activities. The only exception is if you use sticky events.
Please read up on the Android activity lifecycle. -ut


Anim must set players in teams and validate forms before starting game

Proposed changes

Ticket: https://ogre-d4g.atlassian.net/browse/D4G-192

Anim cannot start game if players are not in teams
Anim cannot start game if forms are not validated

Types of changes

What types of changes does your code introduce to ogre ?
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)
[ ] Code style update (formatting, renaming)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation Update (if none of the other choices apply)
[ ] Other (please describe):

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.
offseason_ogre/blob/master/CONTRIBUTING.md) doc

[ ] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation and modify the README.md (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules
[ ] If the feature changes current behavior, reasons why your solution is better.

What is the current behavior?

What is the new behavior?

Where has this been tested?

Docker version: …
Operating System: …
node version: …
postgresql version: …

@Baboo7 merci pour tous les retours! les modifs sont faites!


Homebridge not working with camera enabled

When I add a webcam to the file config.json I get this when i start homebridge
`*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister
[Sun Oct 02 2016 14:28:51 GMT+0200 (CEST)] Loaded plugin: homebridge-camera-ffmpeg
[Sun Oct 02 2016 14:28:51 GMT+0200 (CEST)] Registering platform 'homebridge-camera-ffmpeg.Camera-ffmpeg'
[Sun Oct 02 2016 14:28:51 GMT+0200 (CEST)] ---
[Sun Oct 02 2016 14:28:51 GMT+0200 (CEST)] Loaded plugin: homebridge-gpio-wpi
[Sun Oct 02 2016 14:28:51 GMT+0200 (CEST)] Registering accessory 'homebridge-gpio-wpi.GPIO'
[Sun Oct 02 2016 14:28:51 GMT+0200 (CEST)] ---
[Sun Oct 02 2016 14:28:51 GMT+0200 (CEST)] Loaded plugin: homebridge-people
[Sun Oct 02 2016 14:28:51 GMT+0200 (CEST)] Registering accessory 'homebridge-people.people'
[Sun Oct 02 2016 14:28:51 GMT+0200 (CEST)] ---
[Sun Oct 02 2016 14:28:51 GMT+0200 (CEST)] Loaded plugin: homebridge-pi
[Sun Oct 02 2016 14:28:51 GMT+0200 (CEST)] Registering accessory 'homebridge-pi.PiTemperature'
[Sun Oct 02 2016 14:28:51 GMT+0200 (CEST)] ---
[Sun Oct 02 2016 14:28:51 GMT+0200 (CEST)] Loaded config.json with 4 accessories and 0 platforms.
[Sun Oct 02 2016 14:28:51 GMT+0200 (CEST)] ---
[Sun Oct 02 2016 14:28:51 GMT+0200 (CEST)] Loading 4 accessories...
[Sun Oct 02 2016 14:28:51 GMT+0200 (CEST)] [GPIO23] Initializing GPIO accessory...
[Sun Oct 02 2016 14:28:51 GMT+0200 (CEST)] [Temperatura Raspberry Pi] Initializing PiTemperature accessory...
[Sun Oct 02 2016 14:28:51 GMT+0200 (CEST)] [Temperatura Raspberry Pi] Model BCM2709/a02082 Serial 000000003d014e6a
/usr/local/lib/node_modules/homebridge/lib/api.js:46
if (name.indexOf('.') == -1) {
^
TypeError: Cannot read property 'indexOf' of undefined
at API.accessory (/usr/local/lib/node_modules/homebridge/lib/api.js:46:11)
at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:251:42)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:78:38)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)
at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:456:32)
at tryModuleLoad (module.js:415:12)
at Function.Module._load (module.js:407:3)`
My config.json file:
{   "bridge": {        "name": "Homebridge",        "username": "CA:21:3F:E2:DE:24",        "port": 51826,        "pin": "031-45-154"     },   "accessories": [     {       "accessory": "GPIO",       "name": "GPIO23",       "pin": 23     },     {       "accessory": "PiTemperature",       "name": "Raspberry Pi Temperature"     },     {       "platform": "Camera-ffmpeg",       "cameras": [         {           "name": "Camera1",           "videoConfig": {           "source": "-re -i rtsp://<IP_ADDRESS>:555/webcam0.sdp",           "maxStreams": 1,           "maxWidth": 640,           "maxHeight": 480,           "maxFPS": 10           }         }       ]     },     {     "accessory" : "people",     "name" : "People",     "people" : [       { "name" : "My PC", "target" : "<IP_ADDRESS>" },       { "name" : "WiFi Extender", "target" : "<IP_ADDRESS>" }     ],     "threshold" : 15   }   ] }

Having the same comment.
Maybe have something to do with versions of nodejs and npm.
When installing the plug it says "WARN engine<EMAIL_ADDRESS>wanted: {"node":">=5.0.0","homebridge":">=0.4.5"} (current: {"node":"4.2.6","npm":"3.5.2"})"
I tried to upgrade node.js via npm, but after that homebridge itself wouldn't work either.


Update Filipino Translation

Added filipino translations! :>

Hello I hope this helps a little to your app

Awesome, thank you so much for your help @gutchaman! 👍
May you please put the translation on Crowdin too?

Hey, thanks again for your help @gutchaman. 🙏
I ordered some Pimple Popper stickers. Please send me your address via email if you would like to receive a few. ☺


lxc copy remote:c1 c2 ends up with "error: Error transferring container data: FOREIGN KEY constraint failed"

Required information

Distribution: Ubuntu
Distribution version: 16.04
The output of "lxc info"

apicompat: 0
auth: trusted
environment:
  addresses:
  - <IP_ADDRESS>:8443
  - <IP_ADDRESS>:8443
  - <IP_ADDRESS>:8443
  - <IP_ADDRESS>:8443
  architectures:
  - x86_64
  - i686
  certificate: |
    -----BEGIN CERTIFICATE-----
    MIIF4DCCA8igAwIBAgIRAOHuSadwLJV5JOBB+DE81VQwDQYJKoZIhvcNAQELBQAw
    NzEcMBoGA1UEChMTbGludXhjb250YWluZXJzLm9yZzEXMBUGA1UEAwwOcm9vdEBj
    YXJib25wYWQwHhcNMTYwNTIwMDg1NDQwWhcNMjYwNTE4MDg1NDQwWjA3MRwwGgYD
    VQQKExNsaW51eGNvbnRhaW5lcnMub3JnMRcwFQYDVQQDDA5yb290QGNhcmJvbnBh
    ZDCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAN0ts1V+ObaHlM6CxnMQ
    3yTth2tkZ53zYnBSfDdGtLLJQzGPiJU0okzvTwDnfx+lHCY2Y90JI1i+tsTBqIsB
    2nabE7rVmw3UIFyU2fqbWlsugS7lYkZWPba7icBSqmLtc5DnyhtkIyHGQMpOpdvs
    sOJMITpiCkHl9S7MMtVzlHoTjad8GqbYVJT+ryCmtXMmSm2ApLMKmTmYHUdTRPAf
    ETCScbVQHTkQPcIYRsJ0iZhn3x7FR6j2Fh2ewYEHSCjI4ebLm9gy4mGEUDH72s1K
    NQE1zoMb/5YHRhYtV2Y0fl90bJzznuH9uDHj+X0Gk+yELYYF4rAHdeapiJfCSU1i
    p8lC/BpLChlje0FQ0YtWG+t8sKqqioV5ZyL2k++GFUJqQW0r+cmx7NxeFUOwQlnD
    p8+dQY1p3MZ3+sUCIejYrnJkujYjWCROfN8gsXn9pbln1xYkHmboHBAsDp92IeGL
    mT5jfM8zSDkeLyVcG7jc1O75Ze0YemRunKKORjN6o7ZsPiwELWwKafpEfR9hW0TX
    hT4/S3YhVgJyodgC4K3+1Bls+fT7c2o3GgNlioKs3GRvH5ddstxMa2Rj6/YPl0RH
    pYJsCYClaPmSOwv+X5/oQ0b5MoP+x4P9aVj3HT952GcfFqxHF9uipPYFhCCojh6T
    TcsGeQSDDRMVrDzviZvVkcm5AgMBAAGjgeYwgeMwDgYDVR0PAQH/BAQDAgWgMBMG
    A1UdJQQMMAoGCCsGAQUFBwMBMAwGA1UdEwEB/wQCMAAwga0GA1UdEQSBpTCBooIJ
    Y2FyYm9ucGFkghAxOTIuMTY4LjEuMTExLzI0ghxmZTgwOjo4NjNhOjRiZmY6ZmVj
    ZDo0ZGRjLzY0ggsxMC4wLjMuMS8yNIIcZmU4MDo6NzBjNTpiMWZmOmZlYTg6MjE0
    YS82NIIQMTkyLjE2OC4xMjIuMS8yNIIcZmU4MDo6MTA0Njo4NGZmOmZlNjg6OWEy
    Yy82NIIKZmU4MDo6MS82NDANBgkqhkiG9w0BAQsFAAOCAgEAXjQwX0gzhbnsXNLm
    3JRR4IKZvP99GGArxddl8gQs37SY0TNEj6NLMxIwlj4Mb69WTs7zN0OcVtcR/9/g
    IUR0qDPuUyUBk1THkOBWymvEYAa5lOFzvgPfVa0xr9m+zCKsz9gmfghN9YoqF6jp
    ZVrizmJsDVQYVYzgnGbuqZhEBFdMtB9VjG172YLa5urcorkDM3wqcary0Q/TJM55
    CxHyoIGu9/52ur5n0t/jsyCfc/bgytejzurfvB8LTHVochbnjn/G29DU77LxB8nV
    SEHTOyuOQkTA8li+0RGqaTcrQNkYFnxBTmPNxCXPKzdmJYZmr5ePLUs6PAfuiPCt
    5jShxYi53L7E8d3n5zfPTSLLIC/k8yC3NxFmp7rJQit3H+AhsAiHoslBU2zL1D6E
    4Htr1VXDlZJZRNEA0X2XLDTpOZLF6wnMumacvQJVeg2iazJKPXJ1FM+uj+ii94pM
    Wqm3dmbofYUPPTlEERmgsLzu7w4zZ5tGANdRafYy/nQpAszHa0KUtUzJxucfy/oO
    dj0EE3U3IUDC8jOAj4wzKEQaUy4Mjt2hl4XVIjqat3DNR9+Um6cPK3uhQmZHXcR9
    P39dwiaSab4udF9Wj4Mt9V/gCBkdaINhC3NKnVnVENxv5xWDBKbbrbvp9Ui3pGBI
    TdFJGngDf973PkaB+9oyf+NLv9I=
    -----END CERTIFICATE-----
  certificatefingerprint: 5c40398b33778fa4b4b934760df88d2ae0aafd385fa7046859acdf406ee12dff
  driver: lxc
  driverversion: 2.0.3
  kernel: Linux
  kernelarchitecture: x86_64
  kernelversion: 4.4.0-34-generic
  server: lxd
  serverpid: 8814
  serverversion: 2.0.3
  storage: dir
  storageversion: ""
config:
  core.https_address: '[::]:8443'
public: false

Issue description
As per the title
Steps to reproduce
Just copy a container from one remote to another.
Information to attach
LXD log shows:
t=2016-08-18T13:09:48+1000 lvl=eror msg="Error during migration sink" err="FOREIGN KEY constraint failed"
And that is all you see, apart from comms logging with the remote LXD from a few minutes prior.

That is, hmm, special. It sure isn't a generalized problem as that very thing is very actively tested in our testsuite and by our users...
The error suggests some kind of collision in the database of the target server.
sqlite3 /var/lib/lxd/lxd.db .dump

Would probably provide enough information to figure out what the problem is and what to do to make it happy again. Figuring out how it go to that state is a whole different problem though...
We used to have a couple of issues around database cleanup that was leading to that sort of issue, but that far predates LXD 2.0 and we've had a CI check in place to ensure that the database is clean after every test run since.

Ok I think I know how I got into the state because I just did a successful
copy with a new target name.
The key - I hit ctrl-c part way through, and then retried. The retry fails
with the error.
If you lxc list after ctrl-c, you can see the container listed, and it
should not be. This looks like a transactional error.
On 18 August 2016 at 13:33, Stéphane Graber<EMAIL_ADDRESS>wrote:

That is, hmm, special. It sure isn't a generalized problem as that very
thing is very actively tested in our testsuite and by our users...
The error suggests some kind of collision in the database of the target
server.
sqlite3 /var/lib/lxd/lxd.db .dump
Would probably provide enough information to figure out what the problem
is and what to do to make it happy again. Figuring out how it go to that
state is a whole different problem though...
We used to have a couple of issues around database cleanup that was
leading to that sort of issue, but that far predates LXD 2.0 and we've had
a CI check in place to ensure that the database is clean after every test
run since.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lxc/lxd/issues/2293#issuecomment-240615283, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ALHikc0Nqizqr2ivmheP9pRQy8HSLnkWks5qg9KjgaJpZM4JnGRP
.

Ok, so you actually attempted to initiate a second copy while the first was still going, leading to the collision in the DB, I guess that makes sense.
Right now, pressing ctrl-c at any point in LXD will never cancel the server side operation after it started. That's partly because most server side operation aren't cancel-able (go routines can't be killed...) and also because we don't actually catch ctrl-c in the client in the first place...

Fair enough. It's a surprising UI scenario though, and apart from dealing
with ctrl-c, you should be able to cancel this as it's copying hundreds of
megs around, and if you get the wrong one by mistake you can end up eating
up bandwidth until it finishes.
On 18 August 2016 at 13:42, Stéphane Graber<EMAIL_ADDRESS>wrote:

Ok, so you actually attempted to initiate a second copy while the first
was still going, leading to the collision in the DB, I guess that makes
sense.
Right now, pressing ctrl-c at any point in LXD will never cancel the
server side operation after it started. That's partly because most server
side operation aren't cancel-able (go routines can't be killed...) and also
because we don't actually catch ctrl-c in the client in the first place...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lxc/lxd/issues/2293#issuecomment-240616268, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ALHikX07zMvdWejPElxIWIVN3ZPfQxPGks5qg9TDgaJpZM4JnGRP
.

Can you try recycling the name that caused the DB error just to confirm that you didn't actually end up with a corrupted DB in the end?
If it looks like it's fine now, then I guess we can close this bug and track the ctrl-c experience in the bug I just filed.

Yep, I can create new instances with the names that were failing.
Cheers.
On 18 August 2016 at 14:10, Stéphane Graber<EMAIL_ADDRESS>wrote:

Can you try recycling the name that caused the DB error just to confirm
that you didn't actually end up with a corrupted DB in the end?
If it looks like it's fine now, then I guess we can close this bug and
track the ctrl-c experience in the bug I just filed.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lxc/lxd/issues/2293#issuecomment-240619158, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ALHikTeavm8WeJtCBO6RfimA0dub3Oahks5qg9tSgaJpZM4JnGRP
.


docs: Fix a few typos

There are small typos in:

Dockerfiles/manifests/README.md
docs/dev/caveats.md
pkg/network/ebpf/c/http.h
pkg/network/ebpf/c/sockfd.h
pkg/network/ebpf/c/tracer-maps.h
pkg/util/retry/README.md
rtloader/README.md
rtloader/common/builtins/datadog_agent.c
tasks/go.py
tools/dep_tree_resolver/README.md
tools/windows/install-help/cal/customaction.h

Fixes:

Should read accessed rather than acessed.
Should read throttling rather than throtling.
Should read standard rather than standars.
Should read occurrences rather than occurences.
Should read minimum rather than minumum.
Should read inadvertently rather than inadvertedly.
Should read foreign rather than foreing.
Should read enqueuing rather than enqueing.
Should read dependencies rather than depndencies.
Should read definitions rather than defintions.

Semi-automated pull request generated by
https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md

Thanks for finding and fixing those, merging!


Add Simplified Chinese.

@YES-Lee please update your branch from stage and diff against en.json to ensure you have any new translations that were added

@jonator I pulled stage and added some new translations.


feat: review app cleanup script to identify namespaces by label

The type of this PR is: Feat
This PR solves PHIRE-182
Description

Let the script identify review app namespaces by label. Delete the hardcoded protected namespaces list.

Un-related changes:

Move argparse code to top level script, as was done for other scripts in /src. Delete config.py.
Rename script to cleanup_review_apps since that's its focus.

https://github.com/artsy/opstools/pull/75


CPU maxes out on my instances after a day or so

I have kubernetes, and the sockshop running on three digital ocean hosts with the following specs:
Ubuntu 16.04
2 core processor
4 gig memory
60gig
I noticed since you added in Zipkin that the performance has degraded significantly.  After a day or so of running, the hosts get bogged down at 100%CPU and zipkin seems to be taking up most of the resources.

I am reaching out to Adrian Cole about this.

Great.  I was just going to add that I am seeing this issue again on the bare metal server as well. I have this scenario up now for about two days, and one of the nodes is maxed out at 100%.  I can invite you to the instance if that helps.

No that is OK.  It may have something to do with using the in memory storage engine (not meant for production).  Just to see how they respond first.
https://gitter.im/openzipkin/zipkin

Comments from zipkin team on gitter.
@jasonrichardsmith neither of those files uses an external database. I would expect over time for zipkins built in in-memory database to perform worse
@adriancole does the in-memory database expire and delete any data?
Adrian Cole @adriancole 12:14
@devinsba there's nothing in the in-memory database that's sustainable
eventually GC spiral
we could change that
Brian Devins @devinsba 12:15
That's what I thought. It's likely what @jasonrichardsmith is seeing with 100% cpu after a while

closing adding issue #598


lack of security component

I hopefully it will support the spring security component

Maybe it could be picked up after JAX-RS Support Project


[Tests-Only] Bump Phoenix UI test commit id

https://cloud.drone.io/owncloud/ocis/1622/13/7
✖ Then the "people" details panel should be visible # tests/acceptance/stepDefinitions/filesContext.js:766
       'people-panel' should be visible, but is not
       AssertionError [ERR_ASSERTION]: 'people-panel' should be visible, but is not

The test code in Phoenix now has the knowledge about the recent changes in Phoenix - e.g. "Collaborators" are "People". So bumping the Phoenix commit id for the UI tests also needs the built-in Phoenix in owncloud/ocis to be updated to match.

There is no need to be doing this now - the "mono" repo will come soon, and it will happen there.


Wrongly translated strings

Description
There are some strings which contain URLs (they are mainly in the help section). URLs are constructed like this[text to display](url). The problem is that some of these texts are translated with a space between the square and circle bracket which breaks the url. Is it possible to fix it somehow?
Screenshots

Hi, thank you for spotting this issue. The Bulgarian localization has a lot of syntax errors in it. I fixed the following syntax errors in 160 strings:

Spaces within * italic *  syntax
Spaces within ** bold ** syntax
Imbalanced {{variable} braces
Spaces inside URLs
Quotation marks surrounding „{key_names}“

There may be other problems with this localization that require some knowledge of Bulgarian. If you haven’t already, please consider joining the Bulgarian translation team on Transifex.

Thanks for fixing them. I am part of the Bulgarian translation team on Transifex. The problem is that I wasn't able to update these strings. The only thing I could do is save my version as a suggestion.
Can you also remove bg_BG and bg@Cyrl locales? Bulgarian is spoken only in Bulgaria and it is written only in Cyrrilic which makes having these locales redundant.

I removed the bg_BG and bg@Cyrl localizations, which were completely unused. 👍

Thank you. I will close this issue and let you know if there are any other broken strings when the next version is released.

I've noticed that string 761 in the core section has two {{variable}} which are translated into Bulgarian which breaks them. Can you fix it and check if there are any other such cases?


Changed to banner based on banner at Owning a Home

Our old banner looks something like this:

This replaces the banner with Owning a Home's banner to prevent that weird mangling.

Closes https://github.com/cfpb/cfgov-refresh/issues/951

:+1:

I'd appreciate one more attempt at just changing the problem character. That old ASCII logo isn't very close to our actual logo. Using the straight single quote should solve the problem.

Do you mind making that PR? I'll hold off on merging this if someone else is willing to play with it.

Don't mind at all! Stand by.

#1142


nodemon crashing when running for development

I've been trying to run web-code with the steps given for development but nodemon keeps on crashing.

I'm running on Windows 10.
npm version: 5.6.0
node version: 8.11.3

Sorry this definitely hasn't been tested for windows. The start command is a unix command you'll have to rewrite a similar windows shell command.

I fixed this by creating a script in the root directory with
#!/bin/sh rm web-code-3000.lock; npm run build; npm run build-server; npm run start;
and called it watch_script.sh.
Then I changed the watch script to
"watch": "nodemon --ignore static/scripts/bundle.js --ignore lib/web-code-stats.compiled.js --exec \"sh watch_script.sh\"",


Remove symlink of backend data files

Motivation and Context
Why is this change required? What problem does it solve?:
Remove symlink of data files between stage, store, and remote holding directories. This is both a confusing practice, and incompatible with privileges on some platforms (google colab connected to a mounted drive).
If it fixes an open issue, please link to the issue here:

closes #140

Description
Describe your changes in detail:
replace symlink data files with touched files in same staging, remote and store locations.
At time of writing, am not 100% certain this won't break backwards compatibility with 0.4 symlinks. It shouldn't (since general structure and naming conventions are honored) but need tests to prove it.
Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:

[ ] Documentation update
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Is this PR ready for review, or a work in progress?

[ ] Ready for review
[x] Work in progress

How Has This Been Tested?
Put an x in the boxes that apply:

[x] Current tests cover modifications made
[ ] New tests have been added to the test suite
[ ] Modifications were made to existing tests to support these changes
[x] Tests may be needed, but they are not included when the PR was proposed
[ ] I don't know. Help!

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have signed (or will sign when prompted) the tensorwork CLA.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

@hhsecond please review.


Reduce the number of targets to build using bazel

This change need to be made internally.

Closing as obsolete since we decided to move to using GitHub actions.


241

#241 - Add new functionalites to Phone module @cieslarmichal

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (adef940) 98.78% compared to head (ceaa2a9) 98.78%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #327   +/-   ##
=======================================
  Coverage   98.78%   98.78%
=======================================
  Files          47       47
  Lines        2954     2954
=======================================
  Hits         2918     2918
  Misses         36       36

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Hi @cieslarmichal , I've made the suggested changes, can you please review and merge?

hi @cieslarmichal just made the changes

compilation error -  it should be data/, not faker-cxx/data/

Also, you defined this data in separate file - good, but you are not using it anywhere, should be used instead defining those vectors again in implementation an test cases


chore(assembly): add benchmark for sha256 script compilation

This PR address https://github.com/maticnetwork/miden/issues/153.

Benchmark for sha256 assembly script compilation using Criterion.

Thanks @bobbinth for the review. I agree with you that the current benchmark is quite surprising and although @willyrgf had conducted a preliminary analysis, I'm still going through the assembly code base just to ensure that we are not missing out on anything.


Add Selenoid engine

Add Selenoid engine

[x] You've read the Contributor Guide and Code of Conduct.
[x] You've included unit or integration tests for your change, where applicable.
[x] You've included inline docs for your change, where applicable.
[x] There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

Summary of the changes (Less than 80 chars)
Description

Add new Selenoid engine
Update some third party versions

Review sonar comments.

Comments on own code solved, remaining ones are the ones from the Selenium Extras third party code.


[zh-cn] Sync install-kubeadm.md

There are a paragraph deleted in upstream but not synced yet.
Solve IsSet with "invalid" (<nil>) warning (2 of 3)

#35813

Put comment into {{< table >}} shortcode, not sure it will work or not.
The Preview seems looks good:
https://deploy-preview-35831--kubernetes-io-main-staging.netlify.app/zh-cn/docs/setup/production-environment/tools/kubeadm/install-kubeadm/

/approve

/lgtm


[SUGGESTION] Add a example PWN file for better understanding if possible

[SUGGESTION] Add a example PWN file for better understanding if possible

I'll do this when I have the time.

I'll do this when I have the time.

New example snippets are now present in the examples folder as of tireFuncs 1.1

New example snippets are now present in the examples folder as of tireFuncs 1.1


Want to build the Image for a specific Docker version

Description of the issue: Currently the JIB uses the latest version of Docker to Build Images
Expected behavior:  Want to create the Docker images of a specific release version (17.6.0) of Docker
Steps to reproduce: Any default JIB Task with Gradle
Environment: Gradle
jib-maven-plugin Configuration:
PASTE YOUR pom.xml CONFIGURATION HERE

jib-gradle-plugin Configuration:
PASTE YOUR build.gradle CONFIGURATION HERE

Log output:
Additional Information:

Hi all we have requirement in our project where we are using Circle CI to Build Docker  Images and push to registry which is on Docker Daemon version of 17.6.0
Can some one please help me on this how to build the images using JIB Targeting some specified Version (17.6.0)

Hi @kirannarala.  Can you tell us what specific problem you're having?  Jib doesn't build to a specific version of Docker.

Hi @briandealwis i have a situation where i want to push the images to Our private registry which runs on Docker Daemon of version x.0.x any docker images which are pushed should be below or of same version.
With JIB can we achieve this

Can you show us some documentation to this version you are talking about?

Closing due to inactivity, feel free to re-open if this is still an issue.


Multiple Agents: Tasks not responding / stuck after ##[debug]$LASTEXITCODE: 0

Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: Powershell
Environment
2x OnPremise Server with up to 2x4 Agents
Agent.Version 2.195.2
Windows_NT x64 10.0.17763

Server - Azure Pipelines

Issue Description
[Include task name(s), screenshots and any other relevant details]
We observed tasks finishing but not responding when running multiple agents on the same Server. The more agents the more tasks will timeout.
It's completly random which tasks will timeout
There is no difference between the two servers regarding how often or which task will timeout.
System Diagnostics are showing that the tasks are stuck after:
##[debug]$LASTEXITCODE: 0
When running 8/8 agents the chance of a failing stage is 60%
hen running 4/8 agents the chance is around 40%
Task logs

...create docker container
2022-01-24T14:32:43.8886959Z docker logs cmt1546690 to retrieve information about URL's again
2022-01-24T14:32:46.7355638Z ##[debug]$LASTEXITCODE: 0
2022-01-24T14:32:47.2114537Z
2022-01-24T14:32:47.4323553Z
2022-01-24T14:58:27.8873192Z ##[debug]Leaving Invoke-VstsTool.
2022-01-24T14:58:27.8900824Z ##[debug]Leaving C:\BA\CBAB1_work_tasks\PowerShell_e213ff0f-5d5c-4791-802d-52ea3e7be1f1\2.194.0\powershell.ps1.
2022-01-24T14:58:27.9279363Z ##[error]The task has timed out.
... create docker container
2022-01-24T14:33:10.2556526Z docker logs cmt1616690 to retrieve information about URL's again
2022-01-24T14:33:11.2418298Z ##[debug]$LASTEXITCODE: 0
2022-01-24T14:33:11.2626924Z
2022-01-24T14:33:11.2726879Z
2022-01-24T14:58:33.5162855Z ##[debug]Leaving Invoke-VstsTool.
2022-01-24T14:58:33.5202011Z ##[debug]Leaving C:\BA\CBAA1_work_tasks\PowerShell_e213ff0f-5d5c-4791-802d-52ea3e7be1f1\2.194.0\powershell.ps1.
2022-01-24T14:58:33.5689375Z ##[error]The task has timed out.
... sign .app file
2022-01-24T14:42:09.9626612Z Successfully signed: ********************
2022-01-24T14:42:09.9637881Z
2022-01-24T14:42:11.5376726Z ##[debug]$LASTEXITCODE: 0
2022-01-24T14:51:58.6190697Z ##[debug]Leaving Invoke-VstsTool.
2022-01-24T14:51:58.6270369Z ##[debug]Leaving C:\BA\CBAB3_work_tasks\PowerShell_e213ff0f-5d5c-4791-802d-52ea3e7be1f1\2.194.0\powershell.ps1.
2022-01-24T14:51:58.6724428Z ##[error]The task has timed out.
2022-01-24T14:51:58.6756187Z ##[section]Finishing: Sign App *****

The last error in a different stage which did not fail:
... sign .app file
2022-01-24T14:44:16.7730935Z Successfully signed: ********************
2022-01-24T14:44:16.7738138Z
2022-01-24T14:44:18.3972555Z ##[debug]$LASTEXITCODE: 0
2022-01-24T14:44:18.4575104Z ##[debug]Exit code: 0
2022-01-24T14:44:18.4733755Z ##[debug]Leaving Invoke-VstsTool.
2022-01-24T14:44:18.4802317Z ##[debug]Leaving C:\BA\CBAB2_work_tasks\PowerShell_e213ff0f-5d5c-4791-802d-52ea3e7be1f1\2.194.0\powershell.ps1.
2022-01-24T14:44:18.5262703Z ##[section]Finishing: Sign RuntimePackage  *****
[Enable debug logging and please provide the zip file containing all the logs for a speedy resolution]
Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Error logs
[Insert error from the logs here for a quick overview]
logs_6690.zip

It didn't happen any time until now when only running one agent per server

@FWI-95 , I was not able to reproduce this problem on my agents configured on one host.
I think that these timeouts can be caused by your "high load" scripts, your servers just don't have enough resources to be able to complete them on time.
Did you try to increase timeouts your steps?
Have you had this problem previously with the same configuration?

Hi @tatyana-kostromskaya
we actually decreased the timeout because nothing happens for ~60 minutes until the tasks timeout. Now we only have to wait around 10 to 20 minutes until we can rerun failed jobs.
The server specs (for each server) are:
4x 2,19GHz Intel Xeon Silver 4114
16 GB RAM
420GB SSD Storage
Both are virtual Servers in a Hyper-V Cluster
I would rather not expect the resources because a simple copy-job will timeout after 60 minutes. Especially because there is a gap in the logs after each script with the remaining time to the timeout where nothing happens.
For this reason we also added a simple
Write-Host "Task finished"
at the end of some scripts where you can clearly see e.g:
10:00:00 Do some stuff
10:05:00 Task finished
10:35:00 Task timed out
I assembled a few logs with examples of tasks which ran into timeouts:
TaskTimeOut.zip
CreateContainer
Creates a docker container with a specific image that will be created nightly to increase perfomance when creating multiple containers
CopyDotNetPacakges
Copies dlls to the container
RestartContainer
Restarts the container after copying dlls so the server will load them correctly
InstallDependency
This task is repeated several times foreach folder or filepath specified in the yaml parameters as array Each individual run of the task can timeout or pass independent from each other
CompileApp
2022-01-17T18:02:54.4808991Z Task finished
2022-01-17T18:21:37.4285932Z ##[error]The task has timed out.
The script compiles Business Central apps with the help of a docker container and copying the app file to a output folder
Publish app
Takes the compiled app from "CompileApp" and publishes it to a server running in the docker container
SignApp
Signs the compiled app
We have set the timeout specifically for each task so we have plenty of "space" left. The CreateContainer task has 30 minutes and is usually done after 2-3 minutes. if it runs longer than 5 minutes and the output says done, we already know it is going to timeout. It looks like something fails to reply that the script is done and the agent is waiting for the next step.
Starting the agent-services with different user accounts (agent 1 - svcAccount; agent 2 - svcAccount2) seems to not help much.
We had this problem since beginning 2021 where it just happened very few times.
It got a lot worse when we separated buildscripts and app-code to different repositories and splitting to two servers. This was a big rebuild where we also updated everything related to the pipelines. It feels like it gets worse over time but that could also be increased usage of the pipelines.
The major updates in this time frame were:
Host (1x Server 2016 to 2x Server 2019)
Docker engine
Navcontainerhelper -> BCContainerhelper (Powershell module)
Big Agent updates (no updates were made before, regular updates since then)
Splitting buildscripts from app-code to multiple repositories
new buildscripts with extended functionality
The functionality to call the buildscripts from a different repository as template (so multiple repositories can use the same scripts) with parameters and a variable amount of stages (this is a bit tricky to explain, I can provide examples if this is relevant)

We're experiencing exactly the same issue with PowerShell tasks in the last 2-3 weeks.
There is no way to debug this because logs don't show any issue. Basically, tasks randomly hang after $LASTEXITCODE: 0, and never reach Exit code: 0.
I doubt this has anything to do with "high load" because basic copy operation (Copy-Item) of 10kb file randomly hangs.
As a workaround, I tried setting timeout and retry per task, but that didn't help because timeout is not considered as a failure:
retryCountOnTaskFailure: 3
timeoutInMinutes: 3

Failed task example (with retry helper):
##[debug]$LASTEXITCODE: 0

##[debug]PERF: RetryHelper Method:System.Threading.Tasks.Task <RunAsync>b__9() : took<PHONE_NUMBER> ms
##[debug]PERF WARNING: RetryHelper Method:System.Threading.Tasks.Task <RunAsync>b__9() : took<PHONE_NUMBER> ms
##[error]The task has timed out.

Thank you for additional info.
@slaven , @FWI-95 did it happen only with powershell task or maybe you have seen other tasks with the similar problem?

@slaven yes! this is exactly what we tried as well.
@tatyana-kostromskaya not until now, but we only have builtin tasks like checkout and publishartifacts apart from powershell. Those never failed.

@tatyana-kostromskaya In our case, this happens only with PowerShell@2 tasks when using external .ps1 file (targetType: filePath).
Can't find timeout example for targetType: inline PowerShell@2 task.

Newest discoveries of what does not help:
specifying ignoreLASTEXITCODE: true
Adding exit $lastEXITCODE to the end of the scripts
We are currently suspecting two things which are quite complicated to test:

Sometimes the Powershell IDE is not responding (on our clients) when out of focus for a bit of time, though not really happening often maybe this may happen with multiple powershell instances more often. Maybe some kind of this behaviour is happening on the Servers, too.

Isolation problems where multiple powershell instances are rewriting / deleting or changing variables and evironment variables which are then somewhere not correctly interpreted

It doesn't has to be one of those problems, but especially 2) is our main suspect

I just converted more than 10 tasks in our pipeline from external scripts (targetType: filePath) to inline (targetType: inline) and it actually reduced our task failure count, but it did not fix the problem.
I was wrong in my last comment.
(Next: My rant about some "other" issue which would fix this one)
Let's be pragmatic and see this from real perspective:
Why timeoutInMinutes doesn't trigger retryCountOnTaskFailure? We wouldn't be here if those two flags work together....
This is basically the main issue - task can fail with an error, but timeout IS also a failure to complete a task.
It can be due to external service not responding in given time. It can be due to server not having enough resources at the moment.
I don't want to click "rerun failed tasks" when this can be done automatically for me.
Timeout IS a failure to proceed to the next task. Why that's not treated as a failure to execute a task is beyond me.
It makes no sense.
If you don't agree with this, please add another bool flag failTaskOnTimeout to work with two previously mentioned flags, I'd definitelly use that, on all my tasks in pipeline.

Hi,
I've the same error, the pipeline sometimes fails arbitrarily at the end of any phase of the sctipt with timeout error. If I retry the execution it runs fine.
I share a onprem server that runs multiple agents, and usually fails at weekend, when nextminor and nexmajor pipelines are running.
Best resgards,

We are currently working on more prioritized issues, but will get back to this one when be able to.

Update: We just discovered the first occurence of a stuck task with only one agent running on a Host. So this is also possible, but very very rare.

@FWI-95 it would be very helpful to have some minimal repro steps for this one to reproduce it on our side - since we are still unable to reproduce, but continue analyzing.

i just wanted to let you know that we have the same problem. our pipelines are relatively large so an easy to reproduce scenario is not so easy to provide.
we use the bccontainerhelper (https://github.com/microsoft/navcontainerhelper) like @FWI-95 and @ti-jalopez  . and only steps where this is used run into a timeout after last command.
there may be a connection... @freddydk
Pipeline Task:
- task: PowerShell@2
  displayName: 'Deactivate Task Scheduler'
  inputs:
    targetType: inline
    script: |
      Disable-TaskSchedulerInBcContainer
      Write-Host "ALB: Task completed"

Custom Ps Function:
function Disable-TaskSchedulerInBcContainer {
    [CmdletBinding()]
    param (
        [string]
        $ContainerName = 'navserver'
    )
    process {
        $CurrTaskSchedulerState = (Get-BcContainerServerConfiguration -ContainerName $ContainerName).EnableTaskScheduler
        Write-Host "Current Task Scheduler State is '$CurrTaskSchedulerState'"
        if ($CurrTaskSchedulerState -and $CurrTaskSchedulerState -ne 'False') {
            Invoke-ScriptInBCContainer -containerName $ContainerName -scriptblock {
                Write-Host "Deaktivate Task Scheduler."
                set-navserverconfiguration -ServerInstance BC -KeyName EnableTaskScheduler -KeyValue $false -WarningAction SilentlyContinue
                Write-Host "Restarting Service."
                restart-navserverinstance -ServerInstance BC
                Write-Host "Service is running again."
            }
        }
        else {
            Write-Host "Task Scheduler was already deactivated. No need to Service restart"
        }
    }
}

Logs:
2022-03-28T23:06:00.9196725Z ##[section]Starting: Deactivate Task Scheduler
2022-03-28T23:06:00.9494240Z ==============================================================================
2022-03-28T23:06:00.9494642Z Task         : PowerShell
2022-03-28T23:06:00.9494971Z Description  : Run a PowerShell script on Linux, macOS, or Windows
2022-03-28T23:06:00.9495284Z Version      : 2.200.0
2022-03-28T23:06:00.9496051Z Author       : Microsoft Corporation
2022-03-28T23:06:00.9496455Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2022-03-28T23:06:00.9496908Z ==============================================================================
2022-03-28T23:06:02.2861446Z Generating script.
2022-03-28T23:06:02.3381215Z ========================== Starting Command Output ===========================
2022-03-28T23:06:02.3680889Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\***\_work\_temp\fb9341ee-afb9-48dc-8bd9-239e03d69e33.ps1'"
2022-03-28T23:06:04.1651367Z BcContainerHelper version 3.0.3
2022-03-28T23:06:04.1775156Z BcContainerHelper emits usage statistics telemetry to Microsoft
2022-03-28T23:06:09.7981310Z Current Task Scheduler State is 'true'
2022-03-28T23:06:09.9789788Z Deaktivate Task Scheduler.
2022-03-28T23:06:10.8667869Z Restarting Service.
2022-03-28T23:06:26.1033449Z
2022-03-28T23:06:26.1044686Z
2022-03-28T23:06:26.1058051Z PSComputerName : 2b2b28aba594d799e17627027229a587f97bfcec1e3aee3c7f6f557aa850e13a
2022-03-28T23:06:26.1068566Z RunspaceId     : e138cb22-9543-4295-bd9e-0269c75b0531
2022-03-28T23:06:26.1071216Z ServerInstance : MicrosoftDynamicsNavServer$BC
2022-03-28T23:06:26.1073969Z DisplayName    : Dynamics 365 Business Central Server [BC]
2022-03-28T23:06:26.1076565Z State          : Running
2022-03-28T23:06:26.1080220Z ServiceAccount : NT AUTHORITY\SYSTEM
2022-03-28T23:06:26.1086626Z Version        : 20.0.37043.0
2022-03-28T23:06:26.1089390Z Default        : True
2022-03-28T23:06:26.1091765Z
2022-03-28T23:06:26.1102008Z Service is running again.
2022-03-28T23:06:26.1114879Z ALB: Task completed
2022-03-28T23:06:26.1146664Z
2022-03-28T23:06:26.1151774Z
2022-03-28T23:51:55.3058966Z ##[error]The operation was canceled.
2022-03-28T23:51:55.3073059Z ##[section]Finishing: Deactivate Task Scheduler

Task: was canceled due to Job Timeout:
##[error]The job running on agent *** ran longer than the maximum time of 60 minutes. For more information, see https://go.microsoft.com/fwlink/?linkid=2077134
a stupid idea without really knowing: maybe the bccontainerhelper (or docker itself) works with the output streams in a way the powershell azure pipelines task doesn't like because it attaches itself to the streams. maybe. just an idea

@ChrisBlankDe thanks! Could you please set up Agent.Diagnostic variable as 'true', reproduce this issue and share the logs in debug mode (you can check steps for it here - please make sure although that you masked all sensitive info)?
One possible issue would be that worker process has been terminated by OS/some external programs like anti-virus for some reason (I managed to reproduce the same timeout error while trying to manually terminate this process) - these logs should probably help to check it out.

If you want to try it yourself, I have prepared a working pipeline where this is reproducable for us. You'll only need one or more Windows Hosts with Docker Engine 20.10.7 running 2 or more agents. Best would be 4 or more to get consistent timeouts.
If there are multiple hosts, the powershell module bccontainerhelper should also be installed on every machine
If you clone my repo
https://github.com/FWI-95/Test.Pipelines
and create a new pipeline from the "buildscripts/Pipeline.yml" You'll get a pipeline running multiple stages simultaneous. Each stage Creating a container, compiling an test-app and removing the container afterwards.

Thank you very very much Freddy, disabling "UsePSSession" completly solved the issue for us. This is a huge improvement for our developers and testers, because we had waiting times for development packages, not even speaking of releasing.


Fill the introduction slide deck about NGS-Mapping

Hi,
The introduction slide deck on NGS-Mapping needs to be filled
Thanks
Bérénice

Whoever is going to follow up on this topic: feel free to use parts of the course I compiled, particularily chapters 2 and 3 contain lots of details about general NGS topics such as file formats.

I have now slides for that: http://galaxyproject.github.io/training-material/topics/sequence-analysis/tutorials/quality-control/slides.html#1


Remove things that don't match at all from results

This is a bit subjective, but it seems to me like things that don't match at all shouldn't be included in the results.  Combined with the performance change in my other PR this makes it reasonable to run Steam-Search unprefixed.

You bring up a good point. C# plugins are able to tap into a score cut off and I don't believe I've implemented that here.
Until I implement a score cut off your work here should provide similar results. Thanks for bringing it to my attention and the PR!

Closing in favor of: https://github.com/Garulf/Steam-Search/pull/44
This provides similar results and follows how Flow Launcher's built-in plugins behave. Let me know if you feel its still too "noisy" and maybe we can add a settings that has a strict cut off.

Yeah, that seems fine to me from the code, I'll have to try it once I get the update.


Server crashed with "Tag infernalexp:planted_quartz_base_blocks used before it was bound"

Describe the Bug:
During the nerher chunk loading
How to Reproduce:
Idk
Expected Behavior:
No crash
Screenshots:
Version Information:

Operating System: Linux
Mod Version: 2.3.2
Minecraft Version: 1.16.5
Forge Version:36.2.0
Other mods that were running when the crash happened:

Additional Context:
Crash report: https://pastebin.com/31D49Wz1

Does this happen consistently? Try restarting your game.

@SwanX1 it's happen each time when i walk to this location. Currently server crashes when I trying to login under the player in this chunk.

Have you tried restarting the server?

@SwanX1 Yes, it restarts automatically after the crash. I removed the Roadrunner because I thinking it can cause the issue. But it foes not helped. Looks like it crashes only when broken chunk will load. The one more report https://pastebin.com/J3yPWdtS


React UI: Added button to reset color settings

@ActiveChooN
Hmm.. Is scale 100%?

@bsekachev

@ActiveChooN
Hmm.. Is scale 100%?

Yes, if you mean about browser scale

@ActiveChooN
What about system scale in windows?

@bsekachev

@ActiveChooN
What about system scale in windows?

@ActiveChooN
What about the latest patch?

@ActiveChooN
Try the fix above

@bsekachev, will it be ok to merge this PR, and open new issue about layout displaying?

@bsekachev, will it be ok to merge this PR, and open new issue about layout displaying?

Yes


Add documentation for rule-based anomaly detection and imputation

Description
This PR introduces new documentation for rule-based anomaly detection (AD) and imputation options, providing detailed guidance on configuring these features. It also updates the maximum shingle size information and enhances the documentation for window delay settings.
Testing done:

Successfully ran Jekyll build and reviewed the updated documentation to ensure all changes are correctly displayed.

Issues Resolved
closes https://github.com/opensearch-project/documentation-website/issues/8169
Version
2.17+
Frontend features
If you're submitting documentation for an OpenSearch Dashboards feature, add a video that shows how a user will interact with the UI step by step. A voiceover is optional.
Checklist

[X] By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@natebower @kaituo I've addressed the editorial feedback and revised text that had comments. Do you want to give it another read?


Frontend - Part 2

Description
Concise description of proposed changes, We recommend using screenshots and videos for better description
Additional Information

[ ] I have read the contributing docs (if this is your first contribution)
[ ] This is not a duplicate of any existing pull request

Related Issues
Closes #{issue number}
Note: If your changes are small and straightforward, you may skip the creation of an issue beforehand and remove this section. However, for medium-to-large changes, it is recommended to have an open issue for discussion and approval prior to submitting a pull request.
Your ENS/address:

push from "frontend" branch to "main" branch


Move handling of translations (itext) to the client?

Only after client XPath performance has been improved dramatically.
This makes sense for the following reasons:

the current mechanism has bugs because extracting the itext id from a string is not done well (since don't have a regexp functions at our disposal in enketo-transformer)
often option lists are used multiple times and currently copied multiple times which can cause the # of DOM elements to explode in some forms.
the current mechanism is not XForms-spec-compliant, because you cannot use itext in a calculation for example (it's not implemented as an XPath function)
XSLT transformation could be up to 85% quicker, which would have a noticeable impact on loading long forms for the first time and for loading previews (although the latter could be cached too, if it is likely previews are loaded multiple times without form changes in between). However, this impact would depend on whether the client can handle itext faster (I think it can, especially if the native XPath processor can be used).
because of the first point it would become easier and more elegant to add support for external instances (itemsets).

Not a priority.
Client initial loading performance may be an issue, though reducing the # of DOM elements would have a somewhat positive impact.
Language switching will become slower as well, but that's no big deal at all.

Not sure if point 3 is true, because itext cannot really be used in conjunction with external data, or can it?
Using the native XPath evaluator is possible by rewriting the itext() expression to a simple path (just like instance() and current()

Would this allow jr:itext() evaluation in e.g. <bind> elements' calculate attribute?

Yes, it would. It would be just like any other XPath expression.

https://github.com/enketo/enketo-xslt/issues/53

problem is with any translations that include a variable as part of the text string

This work would also be a prerequisite for implementing https://forum.getodk.org/t/proposal-customize-name-and-label-columns-in-selects-from-external-data-in-xlsform/27265/9


Demo and API docs improvements

Connected to #133
The PR is to track overall progress, better to review on the per-commit basis. The docs are to be rebuilt at the very end once we agree on the set of changes.

This change is

Review status: 0 of 19 files reviewed at latest revision, all discussions resolved.

demo/vaadin-router-lazy-loading-demos.html, line 79 at r1 (raw file):

              Polymer.importHref(
                `${window.Vaadin.demoComponentsRoot}/user.bundle.html`, () => {
                  resolve(context.component(context.route.component));

could be simplified to () => resolve()

demo/demo-elements/user.bundle.html, line 22 at r1 (raw file):

    }

    customElements.define(XUSerHtmlBundleView.is, XUSerHtmlBundleView);

XUSerHtmlBundleView looks like a typo, should be XUserHtmlBundleView (User, not USer)

demo/demo-elements/user.bundle.js, line 2 at r1 (raw file):

(() => {
  class XUSerJsBundleView extends Polymer.Element {

User, not USer?

Comments from Reviewable

Review status: 0 of 19 files reviewed at latest revision, 3 unresolved discussions.

demo/vaadin-router-lazy-loading-demos.html, line 79 at r1 (raw file):
Previously, vlukashov (Viktor Lukashov) wrote…
could be simplified to () => resolve()

Done.

demo/demo-elements/user.bundle.html, line 22 at r1 (raw file):
Previously, vlukashov (Viktor Lukashov) wrote…
XUSerHtmlBundleView looks like a typo, should be XUserHtmlBundleView (User, not USer)

Done.

demo/demo-elements/user.bundle.js, line 2 at r1 (raw file):
Previously, vlukashov (Viktor Lukashov) wrote…
User, not USer?

Done.

Comments from Reviewable

src/utils.js, line 20 at r13 (raw file):
Not a blocker: we might rephrase this to explicitly state that 'action' should be a function, since the user may put something different here and wonder why did he get the warning.
For instance:

or "action" function but none found.

Comments from Reviewable

Review status: 0 of 19 files reviewed at latest revision, all discussions resolved.

src/utils.js, line 18 at r3 (raw file):

  const stringKeys = ['component', 'redirect', 'bundle'];
  if (typeof route.action !== 'function' && !Array.isArray(route.children) && !stringKeys.some(key => typeof route[key] === 'string')) {

Is the inactivate property omitted intentionally?

Comments from Reviewable

Review status: 17 of 19 files reviewed at latest revision, 3 unresolved discussions.

src/router.js, line 182 at r5 (raw file):
Previously, vlukashov (Viktor Lukashov) wrote…
a closing back tick is missing: context

Done.

src/router.js, line 183 at r5 (raw file):
Previously, vlukashov (Viktor Lukashov) wrote…
Would be nice to have a link to the 'Route Actions' live demos here.

Done.

src/utils.js, line 18 at r3 (raw file):
Previously, vlukashov (Viktor Lukashov) wrote…
Is the inactivate property omitted intentionally?

Yes, we probably do not expect the "inactivate" to be the only meaningful property. We can reconsider this in further PRs, though.

src/utils.js, line 20 at r13 (raw file):
Previously, SomeoneToIgnore (Kirill Bulatov) wrote…
Not a blocker: we might rephrase this to explicitly state that 'action' should be a function, since the user may put something different here and wonder why did he get the warning.
For instance:

or "action" function but none found.

Done.

Comments from Reviewable

Review status: 16 of 19 files reviewed at latest revision, 1 unresolved discussion.

src/router.js, line 182 at r5 (raw file):

   * If present, this function is always invoked first, disregarding of the other properties' presence.
   * If the action returns a non-empty result, current route resolution is finished and other route config properties are ignored.
   * `context parameter can be used for asynchronously getting the resolved route contents via `context.next()

another closing back tick is missing

Comments from Reviewable

Review status: 16 of 19 files reviewed at latest revision, 1 unresolved discussion.

src/router.js, line 30 at r8 (raw file):

Use the `new Router(outlet)`

Use ~the~ new Router(outlet)

src/router.js, line 41 at r8 (raw file):

Only the `setRoutes` has

Either Only the setRoutes method has ... or Only setRoutes has ...

Comments from Reviewable

Review status: 16 of 19 files reviewed at latest revision, 3 unresolved discussions.

demo/vaadin-router-route-parameters-demos.html, line 151 at r11 (raw file):

Other characters would not meet the check and continue the route resolution

How about Other characters would not meet the check and the route resolution would continue to other routes?

Comments from Reviewable

Review status: 14 of 19 files reviewed at latest revision, 4 unresolved discussions.

demo/vaadin-router-route-parameters-demos.html, line 151 at r11 (raw file):
Previously, vlukashov (Viktor Lukashov) wrote…

Other characters would not meet the check and continue the route resolution

How about Other characters would not meet the check and the route resolution would continue to other routes?

Done.

src/router.js, line 182 at r5 (raw file):
Previously, vlukashov (Viktor Lukashov) wrote…
another closing back tick is missing

Done.

src/router.js, line 30 at r8 (raw file):
Previously, vlukashov (Viktor Lukashov) wrote…

Use the `new Router(outlet)`

Use ~the~ new Router(outlet)

Done.

src/router.js, line 41 at r8 (raw file):
Previously, vlukashov (Viktor Lukashov) wrote…

Only the `setRoutes` has

Either Only the setRoutes method has ... or Only setRoutes has ...

Done.

Comments from Reviewable


Create hitamjahat.is-cool.dev

new

Requirements

[x] You have completed your website.
[x] The website is reachable.
[x] The CNAME record doesn't contain https:// or /.
[x] There is sufficient information at the owner field.

Description
testing my web server for multi site, if success, i am gonna use the hitamjahat.is-cool.dev for my personal site
Link to Website
lazuardinsani.com

I have read the CLA Document and I hereby sign the CLA


Component Does Not Support Pasting Codes on Mobile

Description
The OTP (One-Time Password) input component currently does not allow users to paste codes into the input fields. This limitation can affect the user experience, especially for those who rely on password managers or receive their OTP codes through messaging apps, requiring them to manually type the code each time.
Reprodution

Copy an OTP code from your password manager or messaging app.
Try pasting the OTP code into the OTP input field.
Code does not get pasted  as expected.

Expected behavior
Users should be able to paste the OTP code into the input field.
OS
OS: iOS 17.1
Browser: Safari

That's top 1 feature request. We need to find a way to let the user "longpress" the native input. The hold+paste action should be available on iOS and Android.

Commit 298fe7e works on mobile Chrome & Safari
https://github.com/guilhermerodz/input-otp/assets/10366880/958f6346-f5f6-4a1c-8b60-2468f034a810


travis request

@hankcs  need to open travis
address : https://travis-ci.org/hankcs/gohanlp

.org is depreated and we shall use .com: https://travis-ci.com/github/hankcs/gohanlp

ok


Restore LNDMC_THR_RANGE for faster disarm on land

As of https://github.com/PX4/Firmware/commits/master/src/modules/land_detector the land detector cannot be configured to transition from ground_contact to maybe_landed via the now deprecated parameter LNDMC_THR_RANGE.
It now takes a considerable amount of time to disarm due to throttle down time.
https://review.px4.io/plot_app?log=43987a80-5752-4f55-89a7-eec60e9298c3

If there is a better way to do this lets discuss it, otherwise I think the parameter should be restored.
Note: current implementation sets a hard coded limit
// 10% of throttle range between min and hover once we entered ground contact
float sys_min_throttle = _params.minThrottle + (_params.hoverThrottle - _params.minThrottle) * 0.1f;

You can configure COM_DISARM_LAND to less than a second.
@MaEtUgR anything else?

I do have a question, why does it take so long for the vehicle to throttle down after ground contact?

@dakejahl You found the weak point of the land detection. I also noticed that with the default PX4 tuning parameters it usually takes very long to detect landing. With our specific build we tuned the altitude control and LNDMC_THR_RANGE and COM_DISARM_LAND such that it detects landing very quickly (I would say faster than the DJI Phantom 4 did in my tests). The problem with the defaults is that you usually want to stay on the safe side. I know that our tuning works well with our build but have no idea if that's safe tuning in general.

why does it take so long for the vehicle to throttle down after ground contact

I think that's because when you push down it controls the downwards velocity and not the position, RTL e.g. controls the position and usually lands much quicker. Then it depends on the vertical velocity control tuning which by default is conservative. And the slow aggregation of less and less thrust is then the integrator control of the vertical velocity. So if that theory is true you could make landing detection almost impossible by setting MPC_Z_VEL_I to zero.
If that helps you any further here are the build specific parameters we successfully use for very fast land detection:
param set MPC_Z_VEL_P 0.25 # default 0.2
param set MPC_Z_P 0.85 # default 1.0
param set MPC_Z_VEL_D 0.0 # default 0.0
param set MPC_Z_VEL_I 0.085 # default 0.02

param set COM_DISARM_LAND 0.1 # default -1 (desabled)
# LNDMC_ are all on default

But be careful trying the out, it could result in altitude oscillations and instability on your vehicle. Always have manual mode at hand to save your vehicle.

@bkueng If it doesn't improve landing behaviour yes. We can also revert the fix that restored all landing states as they were designed but apparently now prolongs all landing detections. At least as a hotfix until we have something better to not make people hate landing detection. We did that for H520 now.


Update Xp tracker to use miglayout

You were right @Sethtroll the button background looked horrible. Made small adjustments to the button that will make it look flat and also added back the level over the button. Preview:

Updated PR to remove the dep on miglayout. Can expand panel to display more info


The ultimate final revolutionary solution about session storage /session store possible excessive data consumption and  heavy I/O excessive disk sate writes

EDIT : Hello Mr @Alex313031 and @gz83  , i discover this new feature in chromium based browsers : chrome://settings/content/siteData , so so this option can deactivate session store/storage and minimize the read write and data operations used by the web browsers and Heavy I/O and excessive disk sate writes thus the energy and battery consumption especially when we use the web browser mainly to watch streaming videos ?

AlhamdulilAllah I have finally discovered how to deactivate session store storage in an easy and secure way for chromium and even firefox browsers, because sometimes session store storage/store  can consume a lot of data and it can wear out the hard drive if we just want to watch a video on a dedicated browser....
Mr Alex ,thank you for your help :) and  you can close all my issues about disable sessin store disable, and may be to help beginner users, add easy option to disable session store, here are my revolutionary discoveries:
disable sessionStorage chrome chromium disable session store
use incognito mode
--incognito
edge://flags/
Storage Access API
Web Storage API
For now, the behavior is browser-dependent. Disabling cookies on each of these browsers disable the following:
Chrome: cookies, localStorage, sessionStorage, IndexedDB
Firefox: cookies, localStorage, sessionStorage
IE: cookies only
step 1:
 Select the Chrome menu icon Chrome menu.
 Select Settings.
 Near the bottom of the page, select Show advanced settings.
 In the "Privacy" section, select Content settings.
 Select Block sites from setting any data.
 Select Done.

 Step 2: Open browser console and type localstorage.name="test". This will throw below error

Click the menu button New Fx Menu and choose Options.
Select the Privacy panel.
Set Firefox will: to Use custom settings for history.
Now disable accept cookies from site
Step 2:
Open browser console and try localstorage.name="test" . This will fail as below
SecurityError: The operation is insecure.
So without cookies enabled localstorage will not work on chrome and firefox.
https://stackoverflow.com/questions/26550770/can-session-storage-local-storage-be-disabled-and-cookies-enabled

Yes. HTML5 sessionStorage (and localStorage) can be disabled, and the data can also be cleared.
It is easy to prevent browsers from accepting localStorage and sessionStorage.
In FireFox: Type “about:config” in your address bar and hit enter to view your internal browser settings. Scroll down to „dom.storage.enabled“, right click on it and hit „Toggle“ to disable the DOM Storage.
In Internet Explorer: Select “Extras” ->
“Internet Options” -> “Advanced” Tab -> Go to “Security” ->
uncheck “Enable DOM-Storage”
In Chrome: Open “Options” and select “Under the Hood” Tab.
Click on “Content settings…”, select “Cookies” and set
“Block sites from setting any data”.
dom.storage.enabled
advanced internet explorer option
security
Enable DOM Storage
https://www.techentice.com/enable-disable-dom-storage-cookies-internet-explorerfirefox/
step 1:
Select the Chrome menu icon Chrome menu.
Select Settings.
Near the bottom of the page, select Show advanced settings.
In the "Privacy" section, select Content settings.
Select Block sites from setting any data.
Select Done.
If you disable the cookie, then local storage will not work. I just tried out.
Try the following steps, to check it out
Google Chrome
 step 1:
 Select the Chrome menu icon Chrome menu.
 Select Settings.
 Near the bottom of the page, select Show advanced settings.
 In the "Privacy" section, select Content settings.
 Select Block sites from setting any data.
 Select Done.

 Step 2: Open browser console and type localstorage.name="test". This will throw below error

 Uncaught DOMException: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
     at Error (native)
     at <anonymous>:2:1
     at Object.InjectedScript._evaluateOn (<anonymous>:895:140)
     at Object.InjectedScript._evaluateAndWrap (<anonymous>:828:34)
     at Object.InjectedScript.evaluate (<anonymous>:694:21)

 Step 3: now enable cookie and try it out. Local Storage will work

FireFox:
The same I tested in Firefox and it works the same way.
Try the steps below:
Step 1:
Click the menu button New Fx Menu and choose Options.
Select the Privacy panel.
Set Firefox will: to Use custom settings for history.
Now disable accept cookies from site
Step 2:
Open browser console and try localstorage.name="test" . This will fail as below
SecurityError: The operation is insecure.
Step 3:
Now enable cookie and try it will work.
So without cookies enabled localstorage will not work on chrome and firefox.
Use the --disable-session-storage command-line flag.
This is a more advanced option that allows you to launch
Chromium with session storage disabled. To do this, you need
to edit the shortcut or script that you use to start Chromium and add
--disable-session-storage at the end of the target field.
For example, if your shortcut target is
“C:\Program Files (x86)\Google\Chrome\Application\chrome.exe”,
you need to change it to
“C:\Program Files (x86)\Google\Chrome\Application\chrome.exe” --disable-session-storage.
This will apply to all Chromium windows that you open with that shortcut. Note that this will also disable local storage, which is another type of web storage that persists across sessions.
It appears --app is really what I am looking for. Have tested it, changed exit_type to "Crashed" in Preferences, if I simply display the URL the restore bubble is shown, if I do that via --app it is not
--disable-session-storage command-line
--disable-local-storage
--kiosk --incognito some.web.site
--hide-crash-restore-bubble

@gz83 Task completed ?


Error about 'not implemented'

I've got an error message like this one:
Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.

$ dart --version
Dart VM version: 2.1.0 (Tue Nov 13 18:22:02 2018 +0100) on "macos_x64"

$ flutter --version
Flutter 1.0.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 5391447fae (3 weeks ago) • 2018-11-29 19:41:26 -0800
Engine • revision 7375a0f414
Tools • Dart 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

Souce code:
//import 'dart:async';
import 'dart:io' as io;

import 'package:flutter/material.dart';
import 'package:path/path.dart' as path;
import 'package:path_provider/path_provider.dart' as path;

void main() {
  runApp(MaterialApp(
    title: "IO",
    home: Home(),
  ));
}

class Home extends StatefulWidget {
  @override
  _HomeState createState() => _HomeState();
}

class _HomeState extends State<Home> {
  TextEditingController _enterDataController = TextEditingController();

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("Read/Write"),
        centerTitle: true,
        backgroundColor: Colors.greenAccent,
      ),

      body: Container(
        padding: const EdgeInsets.all(13.4),
        alignment: Alignment.topCenter,

        child: ListTile(
          title: TextField(
            controller: _enterDataController,
            decoration: InputDecoration(
              labelText: "Write Something",
            ),
          ),

          //contentPadding: const EdgeInsets.all(13.4),
          subtitle: FlatButton(
              onPressed: () {
                // Save data
                writeData(_enterDataController.text);
              },
              child: Column(
                children: <Widget>[
                  Text("Save Data"),
                  Padding(padding: EdgeInsets.all(14.5)),
                  Text("Saved data goes here"),
                ],
              ),
          ),
        ),
      ),
    );
  }

  Future<String> get _localPath async {
    final dir = await path.getApplicationDocumentsDirectory();

    return dir.path; // /home/directory/
  }

  Future<io.File> get _localFile async {
    final localPath = await _localPath;

    return io.File(path.join("$_localPath", "data.txt")); // /home/directory/data.txt
    //return io.File("$_localPath/data.txt");
  }

  // Write and read from our file
  Future<io.File> writeData(String msg) async {
    final file = await _localFile;

    return file.writeAsString("$msg");
  }

  Future<String> readData() async {
    try {
      final file = await _localFile;
      String data = await file.readAsString();

      return data;
    } catch (e) {
      return "Nothing saved yet!";
    }
  }
}

Error:
I/flutter ( 7524): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
I/flutter ( 7524): The following assertion was thrown during performLayout():
I/flutter ( 7524): not implemented
I/flutter ( 7524): 'package:flutter/src/material/input_decorator.dart': Failed assertion: line 966 pos 12: 'false'
I/flutter ( 7524):
I/flutter ( 7524): Either the assertion indicates an error in the framework itself, or we should provide substantially
I/flutter ( 7524): more information in this error message to help you determine and fix the underlying cause.
I/flutter ( 7524): In either case, please report this assertion by filing a bug on GitHub:
I/flutter ( 7524):   https://github.com/flutter/flutter/issues/new?template=BUG.md
I/flutter ( 7524):
I/flutter ( 7524): When the exception was thrown, this was the stack:
I/flutter ( 7524): #2      _RenderDecoration.computeDistanceToActualBaseline (package:flutter/src/material/input_decorator.dart:966:12)
I/flutter ( 7524): #3      RenderBox.getDistanceToActualBaseline.<anonymous closure> (package:flutter/src/rendering/box.dart:1672:50)
I/flutter ( 7524): #4      __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:284:23)
I/flutter ( 7524): #5      RenderBox.getDistanceToActualBaseline (package:flutter/src/rendering/box.dart:1672:22)
I/flutter ( 7524): #6      _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.computeDistanceToActualBaseline (package:flutter/src/rendering/proxy_box.dart:97:20)
I/flutter ( 7524): #7      RenderBox.getDistanceToActualBaseline.<anonymous closure> (package:flutter/src/rendering/box.dart:1672:50)
I/flutter ( 7524): #8      __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:284:23)
I/flutter ( 7524): #9      RenderBox.getDistanceToActualBaseline (package:flutter/src/rendering/box.dart:1672:22)
I/flutter ( 7524): #10     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.computeDistanceToActualBaseline (package:flutter/src/rendering/proxy_box.dart:97:20)
I/flutter ( 7524): #11     RenderBox.getDistanceToActualBaseline.<anonymous closure> (package:flutter/src/rendering/box.dart:1672:50)
I/flutter ( 7524): #12     __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:284:23)
I/flutter ( 7524): #13     RenderBox.getDistanceToActualBaseline (package:flutter/src/rendering/box.dart:1672:22)
I/flutter ( 7524): #14     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.computeDistanceToActualBaseline (package:flutter/src/rendering/proxy_box.dart:97:20)
I/flutter ( 7524): #15     RenderBox.getDistanceToActualBaseline.<anonymous closure> (package:flutter/src/rendering/box.dart:1672:50)
I/flutter ( 7524): #16     __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:284:23)
I/flutter ( 7524): #17     RenderBox.getDistanceToActualBaseline (package:flutter/src/rendering/box.dart:1672:22)
I/flutter ( 7524): #18     RenderBox.getDistanceToBaseline (package:flutter/src/rendering/box.dart:1655:27)
I/flutter ( 7524): #19     _RenderListTile._boxBaseline (package:flutter/src/material/list_tile.dart:886:16)
I/flutter ( 7524): #20     _RenderListTile.performLayout (package:flutter/src/material/list_tile.dart:945:32)
I/flutter ( 7524): #21     RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7)
I/flutter ( 7524): #22     RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:199:11)
I/flutter ( 7524): #23     RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7)
I/flutter ( 7524): #24     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13)
I/flutter ( 7524): #25     RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7)
I/flutter ( 7524): #26     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13)
I/flutter ( 7524): #27     RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7)
I/flutter ( 7524): #28     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13)
I/flutter ( 7524): #29     RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7)
I/flutter ( 7524): #30     RenderPositionedBox.performLayout (package:flutter/src/rendering/shifted_box.dart:385:13)
I/flutter ( 7524): #31     RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7)
I/flutter ( 7524): #32     RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:199:11)
I/flutter ( 7524): #33     RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7)
I/flutter ( 7524): #34     MultiChildLayoutDelegate.layoutChild (package:flutter/src/rendering/custom_layout.dart:142:11)
I/flutter ( 7524): #35     _ScaffoldLayout.performLayout (package:flutter/src/material/scaffold.dart:339:7)
I/flutter ( 7524): #36     MultiChildLayoutDelegate._callPerformLayout (package:flutter/src/rendering/custom_layout.dart:212:7)
I/flutter ( 7524): #37     RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:356:14)
I/flutter ( 7524): #38     RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7)
I/flutter ( 7524): #39     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13)
I/flutter ( 7524): #40     RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7)
I/flutter ( 7524): #41     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13)
I/flutter ( 7524): #42     _RenderCustomClip.performLayout (package:flutter/src/rendering/proxy_box.dart:1188:11)
I/flutter ( 7524): #43     RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7)
I/flutter ( 7524): #44     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13)
I/flutter ( 7524): #45     RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7)
I/flutter ( 7524): #46     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13)
I/flutter ( 7524): #47     RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7)
I/flutter ( 7524): #48     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13)
I/flutter ( 7524): #49     RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7)
I/flutter ( 7524): #50     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13)
I/flutter ( 7524): #51     RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7)
I/flutter ( 7524): #52     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13)
I/flutter ( 7524): #53     RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7)
I/flutter ( 7524): #54     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13)
I/flutter ( 7524): #55     RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7)
I/flutter ( 7524): #56     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13)
I/flutter ( 7524): #57     RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7)
I/flutter ( 7524): #58     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13)
I/flutter ( 7524): #59     RenderOffstage.performLayout (package:flutter/src/rendering/proxy_box.dart:2881:13)
I/flutter ( 7524): #60     RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7)
I/flutter ( 7524): #61     RenderStack.performLayout (package:flutter/src/rendering/stack.dart:510:15)
I/flutter ( 7524): #62     RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7)
I/flutter ( 7524): #63     __RenderTheatre&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13)
I/flutter ( 7524): #64     RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7)
I/flutter ( 7524): #65     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13)
I/flutter ( 7524): #66     RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7)
I/flutter ( 7524): #67     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13)
I/flutter ( 7524): #68     RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7)
I/flutter ( 7524): #69     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13)
I/flutter ( 7524): #70     RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7)
I/flutter ( 7524): #71     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13)
I/flutter ( 7524): #72     RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7)
I/flutter ( 7524): #73     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13)
I/flutter ( 7524): #74     RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7)
I/flutter ( 7524): #75     RenderView.performLayout (package:flutter/src/rendering/view.dart:147:13)
I/flutter ( 7524): #76     RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1509:7)
I/flutter ( 7524): #77     PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:768:18)
I/flutter ( 7524): #78     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:281:19)
I/flutter ( 7524): #79     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:677:13)
I/flutter ( 7524): #80     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:219:5)
I/flutter ( 7524): #81     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
I/flutter ( 7524): #82     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
I/flutter ( 7524): #83     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:751:7)
I/flutter ( 7524): #85     _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382:19)
I/flutter ( 7524): #86     _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)
I/flutter ( 7524): #87     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)
I/flutter ( 7524): (elided 3 frames from class _AssertionError and package dart:async)
I/flutter ( 7524):
I/flutter ( 7524): The following RenderObject was being processed when the exception was fired:
I/flutter ( 7524):   _RenderListTile#41ed0 relayoutBoundary=up7 NEEDS-LAYOUT NEEDS-PAINT
I/flutter ( 7524):   creator: _ListTile ← MediaQuery ← Padding ← SafeArea ← Semantics ← Listener ← _GestureSemantics ←
I/flutter ( 7524):   RawGestureDetector ← GestureDetector ← InkWell ← ListTile ← Align ← ⋯
I/flutter ( 7524):   parentData: offset=Offset(0.0, 0.0) (can use size)
I/flutter ( 7524):   constraints: BoxConstraints(0.0<=w<=325.2, 0.0<=h<=485.2)
I/flutter ( 7524):   size: MISSING
I/flutter ( 7524): This RenderObject had the following descendants (showing up to depth 5):
I/flutter ( 7524):   RenderSemanticsAnnotations#5031b relayoutBoundary=up8 NEEDS-PAINT
I/flutter ( 7524):     RenderIgnorePointer#0e963 relayoutBoundary=up9 NEEDS-PAINT
I/flutter ( 7524):       RenderPointerListener#5a9f5 relayoutBoundary=up10 NEEDS-PAINT
I/flutter ( 7524):         _RenderDecoration#95acd relayoutBoundary=up11 NEEDS-PAINT
I/flutter ( 7524):           RenderRepaintBoundary#25ab4 relayoutBoundary=up12 NEEDS-PAINT
I/flutter ( 7524):           RenderTransform#9f5c1 relayoutBoundary=up12 NEEDS-PAINT
I/flutter ( 7524):           RenderConstrainedBox#1ffb9 relayoutBoundary=up12 NEEDS-PAINT
I/flutter ( 7524):           RenderCustomPaint#35be1 NEEDS-PAINT
I/flutter ( 7524):   RenderSemanticsAnnotations#45cfe relayoutBoundary=up8 NEEDS-PAINT
I/flutter ( 7524):     _RenderInputPadding#6bb66 relayoutBoundary=up9 NEEDS-PAINT
I/flutter ( 7524):       RenderConstrainedBox#9ce31 relayoutBoundary=up10 NEEDS-PAINT
I/flutter ( 7524):         RenderCustomPaint#2775c relayoutBoundary=up11 NEEDS-PAINT
I/flutter ( 7524):           _RenderInkFeatures#697a0 relayoutBoundary=up12 NEEDS-PAINT
I/flutter ( 7524): ════════════════════════════════════════════════════════════════════════════════════════════════════
I/flutter ( 7524): Another exception was thrown: RenderBox was not laid out: _RenderListTile#41ed0 relayoutBoundary=up7 NEEDS-PAINT
I/flutter ( 7524): Another exception was thrown: RenderBox was not laid out: RenderPadding#d2ec8 relayoutBoundary=up6 NEEDS-PAINT
I/flutter ( 7524): Another exception was thrown: RenderBox was not laid out: RenderSemanticsAnnotations#fa0e0 relayoutBoundary=up5 NEEDS-PAINT
I/flutter ( 7524): Another exception was thrown: RenderBox was not laid out: RenderPointerListener#2392d relayoutBoundary=up4 NEEDS-PAINT
I/flutter ( 7524): Another exception was thrown: 'package:flutter/src/rendering/shifted_box.dart': Failed assertion: line 314 pos 12: 'child.hasSize': is not true.
D/        ( 7524): HostConnection::get() New Host Connection established 0xdcd878c0, tid 7554
D/EGL_emulation( 7524): eglMakeCurrent: 0xe4bb0200: ver 3 0 (tinfo 0xdcd83330)

I've not such line, at least in code.
Then, respect to the IDE, I'm using IntelliJ IDEA Community 2018.3, but I've not changed a configuration option with such key name.

It looks like the same underlying issue.
https://github.com/flutter/flutter/issues/18778#issuecomment-401629158 has an explanation for your use case.

Duplicate of #24705


How to remove the offline_access scope

I am try using the Keycloak wrapper package in my Flutter project, and I need to modify the scopes being sent. Specifically, I would like to remove the offline_access scope. Could you please advise on how I can remove the offline_access scope
Thank you

Sorry for the late reply.
May I know the reason why would you want to remove it?

I want to remove "offline_access" because our backend specifically requires a type refresh for re-authentication.

@ahmadjie
I've update the package to exclude "offline_access" from the default scope value. You can use the latest version v1.4.3.


How to specify which GPU the model inference on?

Hello, I have 4 GPUs. And when I set tensor_parallel_size as 2, when running the service, it would takes CUDA:0 and CUDA:1.
My question is, if I want start two workers(i.e. two process that deploy two same models), how to specify my second process takes on CUDA:2 and CUDA:3?
Cuz now if I just start service without any config, it will OOM.

NCCL_P2P_DISABLE=1 CUDA_VISIBLE_DEVICES=2,3 python -m vllm.entrypoints.api_server  --tensor-parallel-size 2 --host <IP_ADDRESS>

I have one question on my servers. It seems that when cuda:0 is almost full, it still fail to do so, by passing the parameters "CUDA_VISIBLE_DEVICES"?

Oh, I find that they are still taking the first two GPUs by ray::worker.

NCCL_P2P_DISABLE=1 CUDA_VISIBLE_DEVICES=2,3 python -m vllm.entrypoints.api_server --tensor-parallel-size 2 --host <IP_ADDRESS>

@MasKong Can you bit elaborate this?
This is my simple codebase and I want to use 1 and 3 gpus.
llm = LLM(model_name, max_model_len=50, tensor_parallel_size=2)
output = llm.generate(text)

You can find complete issue here

Closing in preference to #3012


The lego told me to connect to toypad

Help me i follow all the tutorial + emulated toypad Lego dimension...after i emulated the lgo saya "Please Connect Toypad to the console" i don't know what that mean and i already connect LEGO READER in Virtual Box,help me to connect it

I mean the Lego say "Please Connect Toypad to the console" sorry wrong type

So you are able to see LEGO READER in VirtualHere? When the toypad is running are you able to connect to it in a browser on your host computer?

Also make sure you have the Toypad emulator running before starting the game in Cemu.

Yes i connect it

Also make sure you have the Toypad emulator running before starting the game in Cemu.

Ok

I've added new troubleshooting sections, maybe they can help you too: https://github.com/Berny23/LD-ToyPad-Emulator#webpage-not-reachable-oracle-virtualbox


Fails to install with ascii 0.8.x being yanked from crates.io

error: failed to select a version for the requirement `ascii = "^0.8"`
  candidate versions found which didn't match: 1.0.0, 0.9.3, 0.6.0, ...
  location searched: crates.io index
required by package `tiny_http v0.6.0`

It seems that versions 0.7.0-0.9.2 of the ascii package are yanked from crates.io (wtf?), making tiny-http uninstallable at this moment.

Sorry for the breakage, these versions were yanked due to an unsoundness issue https://github.com/tomprogrammer/rust-ascii/issues/64. I've unyanked 0.8.7 until I publish a version 0.8.8 with a backported fix.

FWIW, this was fixed in commit https://github.com/tiny-http/tiny-http/commit/fca82d369a03ef8ce69fbb477a594eba6a7c2765


Create outline for MM architecture documentation

This issue is for creating the outline of what would need to go into the the MetaMask Architecture document.
When creating the outline please see the comment from Mark on Issue 27
As part of this work please get feedback from team to finalize the outline and then create issues for filling in each of the areas of the outline. Please add the tickets to the epic and ensure they are pointed.

Please reference https://github.com/MetaMask/core/issues/872 for additional info/thoughts


Complete rewrite of local file access ("ufs")

The existing code was missing an abstraction layer for my taste. Lots of direct manipulation of unix paths in C strings. I saw no way to extend it for features like supporting both AppleDouble and Mac resource forks at the same time.
For now, this must have made things less stable.

There's more work left to do, but no longer a need to keep it in a separate branch.