Permission denied on windows

Ninja 1.8.2 and 1.9.0 reproduced.
In a project creating many static libraries with cmake,
[build] FAILED: Common/05_MCU_abstract_layer/libmal_interrupt.a
[build] cmd.exe /C "cd . && C:\GIT\FW_Toolchain\cmake\bin\cmake.exe -E remove Common\05_MCU_abstract_layer\libmal_interrupt.a && C:\GIT\FW_TOO~1\GNUTOO~1\7-2018~1\bin\ARM-NO~2.EXE qc Common\05_MCU_abstract_layer\libmal_interrupt.a  Common/05_MCU_abstract_layer/CMakeFiles/mal_interrupt.dir/interrupt/mal_interrupt.c.obj && C:\GIT\FW_TOO~1\GNUTOO~1\7-2018~1\bin\AR17F9~1.EXE Common\05_MCU_abstract_layer\libmal_interrupt.a && cd ."
[build] C:\GIT\FW_TOO~1\GNUTOO~1\7-2018~1\bin\AR17F9~1.EXE: Common\05_MCU_abstract_layer\libmal_interrupt.a: Permission denied

The issue is spurious, not always on same file. When running serial instead parallel, the problem disappear. Also just continuing build when it fails seem to permit finishing the build.
I found someone with the same problem (in german) here .
I think this could come from parallel (or too fast) access to same files in windows.

I reproduced on several windows 10 environments. I suspected mcafee on-scann access but this is not the case as one of the computer has no mcafee or other specific virus scan installed.
Please let me know if I must give some more information

Hi Julien,
I think I have experienced the same problem but with precompiled headers on
Window 10. Concurrent access to the same precompiled header resulted in
permission denied error. Problem disappeared when running in serial instead
of parallel.
Cheers,
Nico
On Mon, Sep 9, 2019 at 2:58 PM Julien Staub<EMAIL_ADDRESS>wrote:

I reproduced on several windows 10 environments. I suspected mcafee
on-scann access but this is not the case as one of the computer has no
mcafee or other specific virus scan installed.
Please let me know if I must give some more information
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ninja-build/ninja/issues/1646?email_source=notifications&email_token=AAEWBZ6ACAJR5FN4WPH4HFDQIZB6DA5CNFSM4IUIGKN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6HO6HQ#issuecomment-529461022,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEWBZZFY65L4K32CPGOEEDQIZB6DANCNFSM4IUIGKNQ
.

--
Nicolas Desprès

I used the same workaround but this should be fixed. I cannot share my example but do you have a shareable minimal code to reproduce the issue ? This could help to fix it.

Unfortunately not.
On Thu, Oct 31, 2019 at 9:16 AM Julien Staub<EMAIL_ADDRESS>wrote:

I used the same workaround but this should be fixed. I cannot share my
example but do you have a shareable minimal code to reproduce the issue ?
This could help to fix it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ninja-build/ninja/issues/1646?email_source=notifications&email_token=AAEWBZ5AQEON72HEYOOZBCDQRKH7VA5CNFSM4IUIGKN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECW4RCQ#issuecomment-548259978,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEWBZ52FFFIWJNQTUFDDELQRKH7VANCNFSM4IUIGKNQ
.

--
Nicolas Desprès

A minimal project to reproduce the bug can be found in this repository. The project has mainly empty file but many diamond dependencies between static libraries.
I build on windows 10 with arm-none-eabi-gcc 7-2018-q2 on VScode.
The project may need to build several times to reproduce the issue.
Please let me know if you can reproduce and if you need more information.

Maybe this is relevant, it might not be a ninja issue afterall:
https://bugs.launchpad.net/gcc-arm-embedded/+bug/1848002

I have this same problem, Ninja 1.10.0. Any news on a fix? Working around it by disabling threading is painful...

Hi Vox-Ben,
I'm also facing the same problem. what is the workaround ?

@leoatinnovation If you pass -j 1 to Ninja it runs only on a single thread (I think the default is three, you can set it to whatever you like - ideally probably the same number of (virtual) processor cores that your build machine has). This avoids the bug by not running multiple threads that can conflict, but it reduces the speed. I got about a 50% speed reduction over the three-thread default, if you were otherwise using more threads to start with it'd be worse.

Similar issue here
Error   CMake Error:
  Running

   'C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe' '-C' 'C:/Users/admin/Desktop/REPOS/libuv.git/out/build/x64-Debug' '-t' 'restat' 'build.ninja'

  failed with:

   ninja: error: failed recompaction: Permission denied   C:\Users\admin\Desktop\REPOS\libuv.git\   ninja

Similar issue here, using Ninja 1.10.2:
CMake Error: Running '.../ninja.exe' '-C' '... '-t' 'recompact'

  failed with:

   ninja: error: failed recompaction: Permission denied

No one is going to fix this, who isn't experiencing the problem themselves.
If someone who is having this issue has the skills to create a pull request to do whatever it is Ninja needs to do to work around this bug in Windows's filesystem layer, that would probably be the better strategy.
The maintainers for this project does prefer that people discuss the design of a pull request prior to opening one, and get the OK to open the pull request from them though, so try to discuss what a solution would look like here in this issue prior to making the PR. (See discussion here for the issue/pr plan https://github.com/ninja-build/ninja/pull/2154#issuecomment-1223233807)

Bit late to the party but in my case directory names with spaces caused the issue.
I've created a symlink
mklink /D "c:\Program Files\NVIDIA_GPU_Computing_Toolkit" "c:\Program Files\NVIDIA GPU Computing Toolkit"
and the the environment variables CUDA_HOME and CUDA_PATH to the new directory
set CUDA_HOME=%CUDA_PATH%

help
C:\aseprite\build>C:\users\rgb_m\ninja-win\ninja.exe -f C:\aseprite
ninja: error: loading 'C:\aseprite': Access is denied.
if you're wondering why i kept the username in the path when making this comment, it's because it's not my actual name (obviously)

I had to delete my build folder. No idea why, but fixed my issue.


[xwalk-3287][usecase-wrt] Add test for UpgradeCompatibility

Impacted TCs num(approved): New 1, Update 0, Delete 0
Unit test Platform: Android
Android test result summary: Pass 1, Fail 0, Block 0

LGTM


[Sample] Always use repo version in samples

Problem
The samples use a certain published version of Apollo. When doing a release, it is super easy to forget to update sample versions.
Also, this means that the current changes cannot be tested on samples since it requires publishing them in the first place.
Solution
Move samples into sub-folder names samples. Didn't use apollo prefix here to make a clear distinction between production code vs sample.
Use composite builds to always use the current apollo tooling.
This is also beneficial in the future if we add more samples (e.g non-android kotlin project)

We used to do similar as you are suggesting for nyt libs but ran into issues where a version did not publish and we were not aware since everything pointed to project rather than maven deps. With your change is there any safety to validate that new versions post correctly?

That's pretty much the same as what you described. But since it is easy to forget to update the version, using the samples for this purpose is not 100% safe against a version skipping publish.
IMO, the publish task should only be successful if all artifacts are fully published. That's how I would put safety for that.

Could you pls rebase.

Rebase done :+1:


Several typo and spelling fixes

Several smaller typo and spelling fixes in comments.

Thank you very much Erich! :)
We will release v5.3 in a few weeks so for simplicity I merged you updates there


UI continuously renders the topology(connecting/disconnecting) on Google Cloud platform

I installed latest version of skydive in my cluster ,while launched UI i get continuously renders the topology (connecting/disconnecting).

You can try to tweak these parameters : https://github.com/skydive-project/skydive/blob/master/etc/skydive.yml.default#L28-L32
You can also try to use the futur version of the Web-UI, which should be able to handle bigger topology than the legacy one :
https://github.com/skydive-project/skydive-ui

I am using GKE while connect with web preview i doesnt get this problem, while creating ingress external load balancer ,it is created able to see UI but i get that rendering issues there.


Adopt a Code of Conduct for this project?

Please consider adding a Code of Conduct for this project 🙏

Sounds like a good idea considering the reason for this repo ;)


point to working version of svg lib

Wanna re-enable the android build in .circleci/config.yml and see what happens?


Compiled once and deploy anywhere

We are facing some issues when we deploy compiled files on live sites.
When we deploy compiled files on abc.com it works fine.
The issue is started when we deploy files on subdomain.abc.com
Can you please let us know how we can compile the code once and deploy it on any domain without setting its absolute path?
Looking forward to hearing from you soon.
P.S: If we build just one file then its size is very big, so compiling the code into one file is not a solution.
We are looking forward to hearing from you soon.
Thank You

The issue is started when we deploy files on subdomain.abc.com
What exactly is the problem ？It would be better to provide the error that occurred.

Thank You Ryan for your support.
We have tried and resolved the issue on our end.
We have a new issue that we need your help with and we are going to close this one and open another.
Thank You


Revert env changes

Closes #2172
Introduced changes

Reverts the changes that were needed to extract testing RPC URL from envs

Checklist

[x] Linked relevant issue
[x] Updated relevant documentation
[x] Added relevant tests
[x] Performed self-review of the code
[x] Added changes to CHANGELOG.md

Im not sure if we want to revert all changes made there. Keeping url in one place is good idea. Previously we had it copy pasted all over making troubles when bumping rpc version. We can keep this changes while reverting env related ones only

@Draggu yeah probably that's a good point, was a bit lazy here :P


de.json: following #106 in changing hardcoded URLs into variables, and found t…

…wo older variables from en that were still hardcoded in de.

Thank you for the update!


How to reproduce the submission of training resnet50 at DAWNBench

I am trying to reproduce the submission of training resnet50 in 2 h 57 min at DAWNBench.
https://dawn.cs.stanford.edu/benchmark/
I read the code here:
https://github.com/fastai/imagenet-fast/blob/c4b225555e333a1a2702d2b291b5082bfa6d6a0a/imagenet_nv/main.py
But I have no idea about the arguments to reproduce the result. Anyone helps me ?
How many epochs should I set to train resnet50 in 2 h 57 min ?

I don't think the full training code is publicly available, I am looking for it also

@bearpelican rebuilt the code over here, you should use: https://github.com/diux-dev/imagenet18


swiftDialog crashes with macOS Sequoia Beta 1

When running the same workflow, swiftDialog crashes with macOS Sequoia Beta 1 but not with macOS Sonoma. At the moment the crash happens, 2 reports are available in the Console, one for Dialog and one for sudo. For one workflow, the crash happens always at the exact same step when the interface is updated through the command file. The issue is observed with macOS Sequoia Beta 1 using swiftDialog 2.4.2 and 2.5.0. So far, we are at the stage where we have samples of the Crash Reports and a sample of swiftDialog executed using --debug --verbose 2>/Users/Shared/swiftdialog.log
Today, I have no idea of the difficulty to build an autonomous script that will make possible to reproduce easily the issue. I imagine that it may be possible to rewrite a demo script based on the latest commands sent originally by the main script to swiftDialog. But I bear in mind that we are only with macOS Sequoia Beta 1 so if the logs do not reveal insights, maybe it's not worth to use too much time on this topic right now.
CrashReports.zip
swiftdialog.log

Strange.  I have been running swiftdialog 2.5.0-4768 with Sequoia macOS 15, through setup-your-mac and I havent had a single crash.  I have about 50 mac's in my lab and we have been roating the provisioning  on these systems daily and have not seen any issues.

This is where the variable may not be obvious to find out. In my workflows, many actions sent to swiftDialog are executed perfectly until one of them specifically triggers the crash. By chance, the crash does not appear randomly as far as I observed on one of the workflow, and what I sent is not so creative, so at some point and with time, I will be able to find which action sent to the command file is eventually the root cause. But before digging into it, I prefer to wait for any insight of the developer.

@tempusthales Hi. Is it possible to know on which hardware you are using swiftdialog 2.5.0-4768 with Sequoia Beta 1 ? Are they Apple silicon Mac ? Intel Mac ?

@tempusthales Hi. Also may I know if you are executing swiftDialog from a script executed as root ? I ask because when the swiftDialog process crashes ("User" type on the console > Crash Report), I have in the same second, just before or after, a crash from a "sudo" process ("System" type in the console > Crash Report). I double checked that my crashing scripts do not execute any sudo before the /usr/local/bin/dialog command. I have run several tiny scripts but there are not really representative of the target (too simplistic), they are not executed from the root user by default, and yes, they do not trigger crashes. This WE, I will test with a previous version of swiftDialog to see if it can help the author to know that some changes at some point play a role in the issue.

I have tested with version 2.2.1, with and without prefixing the dialog command with launchctl asuser $LOGGEDINACCOUNTUID sudo -u "$LOGGEDINACCOUNT" which I need for copy/pasting with this version. That does not prevent the crashes to happen after several actions sent to the command file.

Hi. I observe the same crash with macOS Sequoia Beta 2.

Hi. I eventually found a sequence that triggers a crash of swiftDialog with macOS Sequoia Beta 2.
#!/bin/bash

/usr/local/bin/dialog --width 800 --height 690 --moveable --commandfile /var/tmp/dialog_main.log --titlefont size=26 --messagefont size=14 --progress --icon /var/tmp/icon1.png --infobox "A" --infotext "B" --title "C" --message "D" --progresstext ' ' --button1text E --button1disabled & sleep 0.5

# When the following list is displayed, swiftDialog will crash with macOS Sequoia only when the following echo happens

echo "list: 1,2" >> /var/tmp/dialog_main.log

sleep 5

echo "message: New text" >> /var/tmp/dialog_main.log

sleep 5

This might be related, since the error seems similar, but I am seeing:

/usr/local/bin/dialog: line 18: 2101 Illegal instruction: 4 launchctl asuser "$uid" sudo -u "$currentUser" "$@"

On MacOS 12, and it only happens when I include the --message flag.

Following @jarrodCoombes report, I was able to ascertain that the crash triggered by the above sequence cannot be reproduced with swiftDialog 2.0.1-3814 but does occur with swiftDialog 2.1.0-4009 and above.

I'm also seeing this behavior on Sequoia beta 2 (24A5279h) using Dialog v<IP_ADDRESS>66. Whenever trying to update the message, icon, or clear a list of a running Dialog prompt it will result in a crash, however I am able to update individual list items in a running prompt. Same issue occurs if running as root or user.
dialog_logs.zip

I am able to confirm that this issue is still happing in Sequoia beta 6

Version 2.5.1b3 fixes the crashes I was observing with macOS Sequoia.


Grafana readme not uptodate

https://github.com/timescale/tobs/blob/ed90ead31823dbbfaa4d1206bf482fbfbc9d06f3/chart/README.md?plain=1#L231-L232
Just spent way too long looking for this specific job only to realize the two files were removed after the last release.
Although as long as connecting with timescaledb as backend in this helm template is possible, perhaps it might be better to add the job back in.
Ref: https://github.com/timescale/tobs/issues/338

Sorry for the problem, we may have too laconic announcement of this feature. In in release notes and in upgrade guide we mentioned deprecation of the ability to use timescaledb as grafana backend. To do this we opted for a slow deprecation where we disallow this installation method (hence removal of those two files), but upgrades still should work and in next minor release we will be removing it completely.
We are doing this to improve reliability of the stack by separating failure domains. In short grafana shouldn't go down when long-terma data (metrics/traces) store goes down as it impairs troubleshooting using dashboards.

 I see your use case but it would be best to let Tobs cater to both people who want to use Postgres/Timescale or SQlite. Postgres as Grafana database very common in bigger deployments afterall.

In short grafana shouldn't go down when long-terma data (metrics/traces) store goes down as it impairs troubleshooting using dashboards.

This seems like a valid use case but only 1 out 10 usecases Tobs could be used in. DB resiliency could also be achieved with a HA timescale deployment. Forcing SQite removes the ability to run Grafana in HA, and decreases performance. I understand if you don't want to use it as the default backend, but it would be nice of Tobs at least made it optional, and allowed you to disable SQLite related parts of the chart, and provide some documentation on how to setup Postgres/Timescale as backend.
E.g. currently the tobs-grafana-db always gets created. Personally, I use the grafana.envFromSecret to put in my Timescale credentials as they are dynamically provisioned, but there is no way to disable the autogenerated secret.

Continuing on the password gen idea in https://github.com/timescale/tobs/issues/448, I think a good way to accommodate both database styles could be that if the grafana.timescale.database.enabled is true, use Timescale (with password gen), but by default disable it and use SQLite

I understand your concerns and I mostly agree with your points. Migration to sqlite is our soft way to deprecate old configuration which proved to be not resistant to failures when used with single timescaledb instance or with external DB. I also understand that in some scenarios increased resilience can be achieved by having HA deployment for the database but this doesn't solve the issue of external DB and external connectivity failure. In the end this was the easiest way to achieve production-ready installation in the most cases while not eating exorbitant amount of resources. In next tobs release we are going to remove tobs-grafana-db and thus give back a way to configure grafana to user likings.
We are also experimenting with dynamically provisioning datasource password without the use of Job object.

Job is bad because it requires additional passwords to be passed (postgres admin pass) and this should be avoided for security reasons. However timescaledb-single helm chart allows inclusion of init scripts into the database (ex. https://github.com/timescale/tobs/blob/release-0.11/chart/templates/timescaledb-toolkit.yaml) which we can use to provision datasource user. For external databases we'll probably just document the process and require the grafana datasource user to be already provisioned.


Unexpected error when training

[08/07 20:10:46 fastreid.utils.events]: eta: 5:39:19  iter: 14199  total_loss: 37.211  loss_cls: 35.876  loss_triplet: 1.078  time: 0.3492  data_time: 0.0010  lr: 1.00e-02  max_mem: 5691M
[08/07 20:11:58 fastreid.utils.events]: eta: 5:38:05  iter: 14399  total_loss: 30.389  loss_cls: 29.702  loss_triplet: 0.518  time: 0.3494  data_time: 0.0010  lr: 1.00e-02  max_mem: 5691M
[08/07 20:13:10 fastreid.utils.events]: eta: 5:36:53  iter: 14599  total_loss: 27.272  loss_cls: 26.761  loss_triplet: 0.352  time: 0.3495  data_time: 0.0010  lr: 1.00e-02  max_mem: 5691M
ERROR [08/07 20:13:36 fastreid.engine.train_loop]: Exception during training:
Traceback (most recent call last):
File "./fastreid/engine/train_loop.py", line 124, in train
self.run_step()
File "./fastreid/engine/train_loop.py", line 213, in run_step
self._detect_anomaly(losses, loss_dict)
File "./fastreid/engine/train_loop.py", line 236, in _detect_anomaly
self.iter, loss_dict
FloatingPointError: Loss became infinite or NaN at iteration=14671!
loss_dict = {'loss_cls': tensor(nan, device='cuda:0', grad_fn=), 'loss_triplet': tensor(nan, device='cuda:0', grad_fn=)}
[08/07 20:13:36 fastreid.engine.hooks]: Overall training speed: 14669 iterations in 1:25:28 (0.3496 s / it)
[08/07 20:13:36 fastreid.engine.hooks]: Total training time: 1:25:31 (0:00:02 on hooks)
Traceback (most recent call last):
File "./tools/train_net.py", line 67, in
args=(args,),
File "./fastreid/engine/launch.py", line 71, in launch
main_func(*args)
File "./tools/train_net.py", line 55, in main
return trainer.train()
File "./fastreid/engine/defaults.py", line 362, in train
), "No evaluation results obtained during training!"
AssertionError: No evaluation results obtained during training!
 I encountered the following error during training，could you tell me,how to solve the problem?thanks a lot!

seems something wrong with your loss, can you provide the complete config, and the latest 10 epoch loss value?

self.iter, loss_dict
FloatingPointError: Loss became infinite or NaN at iteration=14671!
loss_dict = {'loss_cls': tensor(nan, device='cuda:0', grad_fn=), 'loss_triplet': tensor(nan, device='cuda:0', grad_fn=)}


Cant able to run the project

It is showing this kind of error sir, kindly tell me what should I do so that it will run succesfully.
<EMAIL_ADDRESS>dev /projects/novac-side-projects/novac-builder/backend

nodemon --exec babel-node -r dotenv/config ./src/server.js

[nodemon] 2.0.20
[nodemon] to restart at any time, enter rs
[nodemon] watching path(s): .
[nodemon] watching extensions: js,mjs,json
[nodemon] starting babel-node -r dotenv/config ./src/server.js
internal/modules/cjs/loader.js:800
throw err;
^
Error: Cannot find module '/projects/novac-side-projects/novac-builder/backend/dotenv/config'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:797:15)
at Function.Module._load (internal/modules/cjs/loader.js:690:27)
at Function.Module.runMain (internal/modules/cjs/loader.js:1047:10)
at Object. (/projects/novac-side-projects/novac-builder/backend/node_modules/babel-cli/lib/_babel-node.js:154:22)
at Module._compile (internal/modules/cjs/loader.js:959:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Function.Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module.runMain (internal/modules/cjs/loader.js:1047:10)
at internal/main/run_main_module.js:17:11 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
[nodemon] app crashed - waiting for file changes before starting...

You need to  cd backend/ and install dependencies. Seems like dotenv  is not installed.  Try npm install -y

@abhibagul can you provide the screenshot of the  folder structure of your backend because it is showing this problem
[nodemon] starting babel-node -r dotenv/config ./src/server.js
internal/modules/cjs/loader.js:800
throw err;
^
Error: Cannot find module '/projects/novac-side-projects/Wix-Clone/backend/dotenv/config'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:797:15)
at Function.Module._load (internal/modules/cjs/loader.js:690:27)
at Function.Module.runMain (internal/modules/cjs/loader.js:1047:10)
at Object. (/projects/novac-side-projects/Wix-Clone/backend/node_modules/babel-cli/lib/_babel-node.js:154:22)
at Module._compile (internal/modules/cjs/loader.js:959:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Function.Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module.runMain (internal/modules/cjs/loader.js:1047:10)
at internal/main/run_main_module.js:17:11 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
i did whatever you told me to do but still i am getting this above error

Have you created the .env file?

Yes sir i have created the .env file in the directory and also completed all the procedures listed by you. Also i have tried to start the server using npm run dev.

Please share your .env file

@abhibagul it is showing this error
Error: Cannot find module '/projects/novac-side-projects/Novac-Builder/Wix-Clone/backend/dotenv/config'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at Object. (/projects/novac-side-projects/Novac-Builder/Wix-Clone/backend/node_modules/babel-cli/lib/_babel-node.js:154:22)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []

here is my .env file
JWT_SECRET=""
PORT=8000
API_LOGIN_PERIOD="2d"

@abhibagul  i ahve also replaced the line 6 with,
client = await MongoClient.connect( "mongodb://localhost:27017", {

Make the env file like this. Make sure you have MongoDB installed on your system.
JWT_SECRET="abcdefghijklmnzwqutkjdlndfldf"
PORT=8000
API_DB_NAME="wixclonedb"
API_LOGIN_PERIOD="2d"

Okk sir thanks for your help
On Tue, 6 Dec, 2022, 3:12 pm Abhishek Bagul, @.***>
wrote:

Make the env file like this. Make sure you have MongoDB installed on your
system.
JWT_SECRET="abcdefghijklmnzwqutkjdlndfldf"
PORT=8000
API_DB_NAME="wixclonedb"
API_LOGIN_PERIOD="2d"
—
Reply to this email directly, view it on GitHub
https://github.com/abhibagul/Wix-Clone/issues/1#issuecomment-1339042494,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APBNNOCR4QBBBFKGCTVYBWTWL4C7FANCNFSM6AAAAAASHZJM5E
.
You are receiving this because you authored the thread.Message ID:
@.***>


Visualization

I would like to learn how to reproduce the visualized model evaluation results in this paper. However, it seems that this portion of the code is not present in the repository, which is proving to be challenging for me as I have only recently started learning PyTorch. Can you give me some help. The graduation project in the university has left me exhausted. As an undergraduate, it was truly challenging to work on an image classification algorithm based on small sample learning.

you can refer to matplotlib package document or some online tutorials for anything you need.


fix: rbac rule per release

Signed-off-by: fengxsong<EMAIL_ADDRESS>Rename RBAC rules to avoid conflicts when trying to deploy more than one topolvm instances in single cluster.

Hi @fengxsong,
I confirmed the problem. But we do not support multiple topolvm controllers on a single namespace, I'd like to use a namespace name for object names because the namespace name is unique on a kubernetes cluster.

Hi @fengxsong, I confirmed the problem. But we do not support multiple topolvm controllers on a single namespace, I'd like to use a namespace name for object names because the namespace name is unique on a kubernetes cluster.

even if using different namespaces, clusterrole/clusterrolebinding will still conflicts.

This ClusterRole name contains a namespace name, two ClusterRoles will have different names, IMO.
https://github.com/topolvm/topolvm/blob/fcb270f38c1342a03b5850755935792471220326/charts/topolvm/templates/controller/clusterrolebindings.yaml#L4

This PR is merged into #539


Can't find ZMTP "Decode as" in Wireshark v3.2.1

Hello, I am new user for this.
Now I can't find the ZMTP  in the list of "Decode as"  in my Wireshark.
But  in "Analyze" → "Enabled Protocols"  I can find ZMTP..
So I wonder why I am like this situation.
Any help/support appreciated.

3.2.1 is what is working for me.  But like I said, you gotta checkout the previous commit of this repo.  The current version seems broken.

cc @pulkomandy

3.2.1 is what is working for me. But like I said, you gotta checkout the previous commit of this repo. The current version seems broken.

Dear Aaron, thank you I got misunderstood your previous answer since I am not good at English. okay I would try it.
Thanks,

commit 0702cc445cc80cdec55305c46fc2f97db9c00075
It works for me with Wireshark v3.2.1
thanks!!

I think it needs a DissectorTable.get(tcp.port).add_for_decode_as(zmtp_dissector). I guess this was done implicitly by registering a port range before?

Could you prepare a PR to fix this?

Yes, but not until I get back from vacation in about 2 weeks and can test things on the computer where I have this set up


Simplify log decolorizers to support pickleable trees

Fixes https://github.com/teemtee/tmt/issues/2503
Pull Request Checklist

[x] implement the feature
[x] extend the test coverage

LGTM, however we will need to remove the test in the future:
tests/unit/test_base.py::test_pickleable_tree
  /home/lzachar/gits/revtmt/tests/unit/test_base.py:175: DeprecationWarning: Pickle, copy, and deepcopy support will be removed from itertools in Python 3.14.
    pickle.dumps(tree)

There's self._test_serial_number_generator = itertools.count(start=1, step=1) in tmt/base.py, I think we can re-implement it if needed to avoid itertools.


memes

Added the greenbanditos meme

The memes have been put into folder "Burst_Memes" and the posters are in a separate folder called "Burst_Posters"


Help understanding asyncore-based transport

Hi!
I'm a new user of SNMP. And what I need is a snmp_trap listener. I read the document and find this example. It seems to run well Since I use the pysnmp_app to send an trap information. But when I use the:
p_model.apiTrapPDU.setVarBinds(trapsUDP, var)

to build a PDU and finish sending. the code shows like that:
Var-binds:
name = value

name_ = value
(use SNMPv1) I try to read the source code. but it's difficult to me. also I'd like ask for help about this code:
transportDispatcher.registerTransport(udp.domainName,  udp.UdpSocketTransport().openServerMode(('localhost',1)

I may guess the usage through the name. Any more, I still want get more information from the author.
Appreciate it.

Let's unwrap the call. This creates the object with a UDP socket prepared for network communication:
udp.UdpSocketTransport()

Then this binds the socket to specific interface/port:
udp.UdpSocketTransport().openServerMode(('localhost',1))

By this point I/O object is ready for communication. But we need to tie it up with SNMP core so that it could pass SNMP packets to the I/O object and vice-versa:
registerTransport(udp.domainName,  udp.UdpSocketTransport().openServerMode(('localhost',1)

The domainName constant is an ID for this I/O object (UDP over IPv4) at the SNMP core. When you ask SNMP core to send SNMP message to another SNMP system across the network, you will use that domainName ID to direct SNMP core towards specific network transport to use. It is not directly relevant to the network address which you will also provide.

Sorry for late. After 7 days reading your document and other examples. Here I'm sure How my code work. and also I know why varbind can't get the oid and var. Thank you.

That is the very good question!
There is currently no ready-to-use solution to this, although I am working on an automation for that and you can probably try to use the things we've got so far.
So there is the mibdump tool which can read up all the 10000 MIBs and build a single huge index mapping (among other things) the top-level MIB OID to MIB name.
Given that index you can search it by the OID (e.g. by its prefix because your OID might be longer than the MIB's top-level OID) and come up with the MIB defining the OID.

Yeah, The tool works well. but there is a problem, when I try to load module named "CTRON-DLSW-MIB" it turns out
"Smib Error: No symbol BRIDGE-MIB::MacAddress at xxxx"
I found the problem is that "CTRON-DLSW-MIB" try to import symbol "MacAddress" from "BRIDGE-MIB", but "BRIDGE-MIB" import the same one from "SNMPv2-TC", After I rewrite "CTRON-DLSW-MIB.py" and make it import the Symbol from "SNMPv2-TC", it's no problem.
Also, this error appear in other MIBS like "RADLAN-rlFft"、"ChrComPmSonetSNT-P-Current-MIB" .etc
Is this a non-standard MIB? or something you may have not noticed.


How do I get my BTC private key from my keystore file?

When sending BTC from my mobile wallet to asgardex, I'm assuming it gets sent to the asgardex btc wallet which I control before making any trades on thorchain. How do I get my BTC private key?

One way is to use a tool such as https://iancoleman.io/bip39, where you can enter your phrase (make sure you have Coin BTCselected) to get your private key. Don't use it online, it's recommended to download its originally source code https://github.com/iancoleman/bip39/releases/latest/ to run it offline in your browser.


[VL] Allow replacing installed minio package

What changes were proposed in this pull request?
To fix a failure when building docker image from cache.
How was this patch tested?
Manual test & internal docker build verification.

Looks no required. Closing this pr. Thanks!


Is it possible to remove the extra arrow function here?

Hi!
The tutorial has an example like this:
class Square extends React.Component {
  render() {
    return (
      <button
        className="square"
        onClick={() => this.props.onClick()}
      >
        {this.props.value}
      </button>
    );
  }
}

This component used in the Board component like this:
renderSquare(i) {
    return (
      <Square
        value={this.state.squares[i]}
        onClick={() => this.handleClick(i)}
      />
    );
  }

We have closed the context in a function that we pass to onClick in the Board component.
But why don't we just pass this.props.onClick to onClick in the Square component? Why are we using closures here if we already have the right context inside?
I wrote like this: (link to codepen)
class Square extends React.Component {
  render() {
    return (
      <button
        className="square"
        onClick={this.props.onClick}
      >
        {this.props.value}
      </button>
    );
  }
}

This works successfully
It is clear that the variant from the tutorial will also work. But further it says:

When we modified the Square to be a function component, we also changed onClick={() => this.props.onClick()} to a shorter onClick={props.onClick} (note the lack of parentheses on both sides).

So my variation only works in a functional component? But above it also worked in class components. I think this might confuse some people.

I think so too

This confused me at first. I even thought it was an issue. I was passing down properties from the Board component, and automatically I thought we didn't need a callback because we already made a function to handle this in the board component. I later came to realize it was just ok.


CI: OBS PR workflow keeps failing on images repo building

The operator-image and seedimage-builder packages keep failing on the OBS PR workflow:

Did two things

copied prjconf from the originating project
added Prefer: container:suse-sle15-15.4 to resolve the "have choice" situation

Project is building now.


Update Thrift dependency to HEAD

#59 updated Thrift to 0.11.0, but this was rolled back in #61 because of problems like that seen in #60.
This PR re-applies the commit from #59 and updates the generated bindings using the Thrift compiler and Go library from HEAD (currently apache/thrift@f12cacf56145e2c8f0d4429694fedf5453648089), which includes fixes for the issues encountered.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: zwass:x: tomlanyonYou have signed the CLA already but the status is still pending? Let us recheck it.

Sorry for the slow update; I got busy with other things.  I've rebased and updated the Gopkg.lock with dep.

Thanks @tomlanyon!


#219 streamaline pom and pull in dev mode

Signed-off-by: Emily Jiang<EMAIL_ADDRESS>

@Emily-Jiang Not related to this commit, it has been happening before, but I thought I bring it up here while we are touching Liberty pom.
What is this directory that Liberty kinda audaciously created in my home?
3.0G	/home/karm/wlpExtract
?  I deleted it before. It seems it takes like 2 or 4 Liberty examples tests to generate 3G+ of data and it doesn't stop there, always goes up.
Can't we add something to the Liberty pom to get rid of it?

@Emily-Jiang  Until next merge overwrites it, this PR is live here: https://test-start.microprofile.io/

@Emily-Jiang It seems to me you might have difficulty testing locally. Until automation is ready, you run it as:
 ~/Tools/apache-maven-3.5.2/bin/mvn -o -Dswarm.port.offset=1010 clean thorntail:run -Pthorntail -DskipTests

And then it lives on http://localhost:9090

thanks @Karm

@Emily-Jiang While we are digging into OpenLIberty pom generation, does it make sense to do something about: https://github.com/eclipse/microprofile-starter/issues/136 ?
If not, I would like to have https://github.com/eclipse/microprofile-starter/issues/136 closed. It has been hanging in the air without response for months now...

With my recent changes, I think we are good to go. @Karm can you push the new commits to the test server?

@Karm for your https://github.com/eclipse/microprofile-starter/pull/222#issuecomment-539014081, everything you run java -jar, it will extract iteslef into a wlpExtract dir under your home and then Liberty runs from there. We have plan to clean it up after the server shuts down. For the time being, you have to delete it manually. The other thing is that Liberty encourages .war approach not fat jar approach. You can run the server using mvn liberty:run.

I closed the issue #136 as my PR should fix that issue. We are trying to remove the need to specify minify and the produced jar has been automatically minified.

@Karm @rdebusscher I verified the 2 microservices generated by the test server and they worked nicely. @yeekangc I made the text changes according to your suggestions. Please re-review.

LGTM

LGTM

Late to the party but looks fine to me.  Thanks!


[fixes #3872] 0.12: bump express-session dep

see https://github.com/balderdashy/sails/issues/3872

Thanks @sailsbot, you're the greatest.


update CONTRIBUTING.md; closes #3624

updated project goals re supported versions of stuff
updated tip about npm start
updated stuff about mocha.js
added info about rebasing, more more instructions
added info about npx good-first-issue mocha

etc.

Coverage remained the same at 90.589% when pulling e28ae0a06e94f3a8ff17c681784d7841488663ba on issue/3624 into 89169cdc9d0f33d0ec2cb476bcd5493150dac8c0 on master.

reference to #3624


application.yml not seen on 1.9 stable tree

Hello, I don't see application.yml into 1.9 source tree please check https://github.com/rubykube/peatio/tree/master/config

@saydulk Hello!
There is template for application.yml please see
https://github.com/rubykube/peatio/blob/1-9-stable/config/templates/application.yml.erb
You should run ./bin/init_config to transform templates into config files.
This is, probably, the first step of starting peatio locally

@ec Thanks :)


encoding/base32: decoder output depends on chunking of underlying reader

#31626 is about a problem that affects encoding/base64. A similar problem affects encoding/base32.
A decoder created by NewDecoder is sensitive to how its input is split into pieces, and it should not be. Whether the Decoder interprets the input as valid may depend on whether the underlying Reader yields one big byte slice, or two smaller byte slices, for example.
What version of Go are you using (go version)?

$ go version
go version go1.14.2 linux/amd64

Does this issue reproduce with the latest release?
Yes, with go1.14.2 on play.golang.org.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"

What did you do?
https://play.golang.org/p/KV4XPizhYj9
package main

import (
	"encoding/base32"
	"fmt"
	"io"
	"io/ioutil"
)

func test(chunks [][]byte) {
	pr, pw := io.Pipe()
	go func() {
		for _, chunk := range chunks {
			pw.Write(chunk)
		}
		pw.Close()
	}()
	output, err := ioutil.ReadAll(base32.NewDecoder(base32.StdEncoding, pr))
	fmt.Printf("%+q -> %+q %v\n", chunks, output, err)
}

func main() {
	input := []byte("I4======N4======")
	// input := []byte("I5XQ===============")
	for i := 0; i < len(input)+1; i++ {
		test([][]byte{input[:i], input[i:]})
	}
}

You can also try this input to see inconsistent error offsets (goes from index 4, to 0, back to 4):
	input := []byte("I5XQ===============")

What did you expect to see?
The decoder's output should be consistent, regardless of the chunking of the underlying reader.
["" "I4======N4======"] -> "" illegal base32 data at input byte 2
["I" "4======N4======"] -> "" illegal base32 data at input byte 2
["I4" "======N4======"] -> "" illegal base32 data at input byte 2
["I4=" "=====N4======"] -> "" illegal base32 data at input byte 2
["I4==" "====N4======"] -> "" illegal base32 data at input byte 2
["I4===" "===N4======"] -> "" illegal base32 data at input byte 2
["I4====" "==N4======"] -> "" illegal base32 data at input byte 2
["I4=====" "=N4======"] -> "" illegal base32 data at input byte 2
["I4======" "N4======"] -> "" illegal base32 data at input byte 2
["I4======N" "4======"] -> "" illegal base32 data at input byte 2
["I4======N4" "======"] -> "" illegal base32 data at input byte 2
["I4======N4=" "====="] -> "" illegal base32 data at input byte 2
["I4======N4==" "===="] -> "" illegal base32 data at input byte 2
["I4======N4===" "==="] -> "" illegal base32 data at input byte 2
["I4======N4====" "=="] -> "" illegal base32 data at input byte 2
["I4======N4=====" "="] -> "" illegal base32 data at input byte 2
["I4======N4======" ""] -> "" illegal base32 data at input byte 2

What did you see instead?
["" "I4======N4======"] -> "" illegal base32 data at input byte 2
["I" "4======N4======"] -> "" illegal base32 data at input byte 2
["I4" "======N4======"] -> "" illegal base32 data at input byte 2
["I4=" "=====N4======"] -> "" illegal base32 data at input byte 2
["I4==" "====N4======"] -> "" illegal base32 data at input byte 2
["I4===" "===N4======"] -> "" illegal base32 data at input byte 2
["I4====" "==N4======"] -> "" illegal base32 data at input byte 2
["I4=====" "=N4======"] -> "" illegal base32 data at input byte 2
["I4======" "N4======"] -> "Go" <nil>
["I4======N" "4======"] -> "Go" <nil>
["I4======N4" "======"] -> "Go" <nil>
["I4======N4=" "====="] -> "Go" <nil>
["I4======N4==" "===="] -> "Go" <nil>
["I4======N4===" "==="] -> "Go" <nil>
["I4======N4====" "=="] -> "Go" <nil>
["I4======N4=====" "="] -> "Go" <nil>
["I4======N4======" ""] -> "" illegal base32 data at input byte 2

I encountered the same issue with base64 decoder. I sadly have a use-case where I have a gigantic base64 string split in multiple parts, that I put back together and decode using the decoder (for memory issues), but in some cases, the output decoded is missing some bytes.
Had to go with the "load all the string in memory and decode it one shot", which is way more memory consuming.


Install script breaks Github action in 2.61

Describe the bug
We are running the install script at https://aka.ms/InstallAzureCLIDeb in a github action pipeline like this:
      - name: Install Azure CLI
        run: |
          sudo apt update && sudo apt-get install curl -y
          curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash

this morning this was broken, and it seems like the reason is because the gpg installation breaks the script with
gpg: cannot open '/dev/tty': No such device or address
curl: (23) Failed writing body
Error: Process completed with exit code 2.

I did some digging by enabling a tty and it seems the gpg installation wants to ask for an okay to overwrite the file:
File '/etc/apt/keyrings/microsoft.gpg' exists. Overwrite? (y/N)
which I assume is due to the path changes in:
https://github.com/Azure/azure-cli/commit/655b05b15204ef8a5c76b7a5cd78cb489058530a
Related command
https://aka.ms/InstallAzureCLIDeb
Errors
gpg: cannot open '/dev/tty': No such device or address
curl: (23) Failed writing body
Error: Process completed with exit code 2.
Issue script & Debug output
not possible
Expected behavior
the install script installs az cli without error
Environment Summary
github action standard runner, before installation
Additional context
No response

Thank you for opening this issue, we will look into it.

I was able to work around the issue by completely removing the addition of the key:
- name: Install Azure CLI
        run: |
          sudo apt update && sudo apt-get install curl -y
          curl -sL https://aka.ms/InstallAzureCLIDeb -o installAzureCli.sh
          sed -i '/curl -sLS https:\/\/packages.microsoft.com\/keys\/microsoft.asc |/d' installAzureCli.sh
          sed -i '/gpg --dearmor -o \/etc\/apt\/keyrings\/microsoft.gpg/d' installAzureCli.sh
          sed -i '/chmod go+r \/etc\/apt\/keyrings\/microsoft.gpg/d' installAzureCli.sh
          sudo bash installAzureCli.sh

I was able to work around the issue by completely removing the addition of the key:
- name: Install Azure CLI
        run: |
          sudo apt update && sudo apt-get install curl -y
          curl -sL https://aka.ms/InstallAzureCLIDeb -o installAzureCli.sh
          sed -i '/curl -sLS https:\/\/packages.microsoft.com\/keys\/microsoft.asc |/d' installAzureCli.sh
          sed -i '/gpg --dearmor -o \/etc\/apt\/keyrings\/microsoft.gpg/d' installAzureCli.sh
          sed -i '/chmod go+r \/etc\/apt\/keyrings\/microsoft.gpg/d' installAzureCli.sh
          sudo bash installAzureCli.sh

Thanks for the workaround, I also have had the same issue
Chris

This has also broken for me but i'm using VMSS in azure devops pipelines. Appreciate the workaround.

I'm also running into this same issue using "ubuntu-latest" on Azure DevOps Pipelines. Really appreciate the work around.

We've updated the script at https://aka.ms/InstallAzureCLIDeb to fix this issue.


restart app on crash

Is there a way to have AMPM auto-restart my application when it stops, without having to integrate against AMPM's watchdog endpoint?

No. If you only need restart-on-crash, I've found StayUp to be a simple solution.
https://github.com/BanTheRewind/StayUp


prevent concurrent ci job

test job should not run if open/close are running (cancel if necessary)
close should wait for open to complete and vice/versa

see https://docs.github.com/en/actions/using-jobs/using-concurrency

pr lifecycle concurrency, group by PR#

Close has a higher priority than open -- so if there is an Open job in progress, closing the PR will cancel the open job mid run and start the close job
so we need to make sure that the bucket exists before trying to delete it
and we need to make sure that the stack exists before trying to delete it


Checking for binary that is built as an implicit dependency of an integration test.

When a project containing binary with required-features, the binary will only be built with the given dependency's feature is enabled. But this feature syntax is not checked when the binary is built as an implicit dependency of an integration test. This pr addresses this issue.
More info is in the issue page: this pr fixes #7853.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

Oh wow I'm actually a bit surprised we allowed this in required-features! In any case mind leaving a comment in the code explaining what it's doing? Otherwise looks good to me, thanks for the PR!

Oh, and just a heads up, resolve_all_features may need to change as part of #7950, so we should be careful with coordinating these two changes at the same time.

@alexcrichton @ehuss, thank you for reviewing the pr.

In any case mind leaving a comment in the code explaining what it's doing?

I'll try to add comment as the last step, if I can finish it.

Oh, and just a heads up, resolve_all_features may need to change as part of #7950, so we should be careful with coordinating these two changes at the same time.

What do you mean by coordinating these two changes? Can you elaborate?

What do you mean by coordinating these two changes? Can you elaborate?

I think that the PR which is going to be merged second might have to deal with some conflicts.
Since yours looks almost done, it would have to be me in 7950, so you have nothing to worry about.

Oh, right. Thank you for explaining @aleksator.

:umbrella: The latest upstream changes (presumably #8028) made this pull request unmergeable. Please resolve the merge conflicts.

@xiongmao86 Also, don't forget to squash the history ;)

@xiongmao86  I'd put tests in the same commit as changes they are supposed to test as well.
But I'm not a maintainer here and don't know how the people prefer it in this project, just what I would consider a good practice.

Thanks!
@bors r+

:pushpin: Commit 8b17895ba71c69642eb03c75578a8eb3627273a6 has been approved by ehuss

:hourglass: Testing commit 8b17895ba71c69642eb03c75578a8eb3627273a6 with merge 1e2f8dbf7bf25807d19cf967009e8142d7bd4612...

:sunny: Test successful - checks-azure
Approved by: ehuss
Pushing 1e2f8dbf7bf25807d19cf967009e8142d7bd4612 to master...

Congrats on the first successful PR!

@alexcrichton, @ehuss, @aleksator, thank you very much for helping me with this pr.

I'd put tests in the same commit as changes they are supposed to test as well.
But I'm not a maintainer here and don't know how the people prefer it in this project, just what I would consider a good practice.

Perhaps because of the three phase of writing code in agile development: test, implement, refactor. Here refactor is mix with implement because of squash?

I'd put tests in the same commit as changes they are supposed to test as well.

That does sound like a good ideal, but as a maintainer of this project we do not require a clean history in a PR. If you want to rewrite history so each commit makes sense on its own, in whatever way makes you happy, grate! If you what to record the order you actually made changes, with all of the wrong turns, also grate!

Thank you for your tips, @Eh2406, so I am free to choose squash or not. But some repo does need to squash, what is the possible reason, is it possible in some specific situation that one approach is preferable than the other?

Some people/projects really value clean historys, or the ability to bisect to an individual commit. There going to tend to want edited historys, or if that is to much work squashing. Other project put there priorities on different things.

So it's a delicate tradeoff, and depend on project and people. Thank you @Eh2406.

@xiongmao86 In my opinion, it's always good to have, but forcing it requires some amount of work, which for open source project might not be worth it and can turn off contributors if applied too rigidly. That's why cargo chooses not to (I think).
At my workplace we choose to do so, as it has clear benefits and it's easy to have discipline within a small team, but much harder with potentially all of the internet for open source projects.
For me it's easier to understand a feature that way, when the commit is self contained. You don't have to waste time tracking down what is this test supposed to check, when you can just click on a line annotation in an IDE and be shown connected feature right there. And vise versa, when you make changes you know which tests you will need to fix.

@aleksator, I see your point, in this case the test is good to commit with the feature. but sometimes the change is too big to squash together, as what the test account for is separate into several commits, then it is hard or sometimes impossible(if what I add is a single test) to separate the test, isn't this time a test is stand out as a single commit content?

I have read about the concept of incremental development that is we should take small steps to change code base,  in this prospect, will large changes inherently bad to show up? Would this be the answer to my doubts above?

I have not worked in a "you must squash all PRs" codebase, and it seems a extreme position to me. But to each their own. I have contributed to "commits should be incremental and interpretable" codebase. If a PR comes in that took a lot of commits to do something straightforward, squashing can be an improvement. If a big PR comes in, to big to understand in one sitting, asking that the contributor ( who probably, just having written it, understand it better than anyone ) to split it up into commits/PRs that can be reviewed one at a time, can also be reasonable.
Just like how splitting your code into functions can make it easier to read. Does not mean that more functions is always better. You as a programer need to use functions to communicate what you were trying to do. Git/PRs/commits are the same way. Use the tools you have in moderation and with judgment to make your intent intelligible to others.

@aleksator, @Eh2406, I see your point. Thank you very much for explaining.

@Eh2406 Our views aren't different, actually. I'd do the same in the situation you described.


does this plugin exist for react native?

React Native integration is much better.  It's built into the plugin itself.  You interact with it via "Headless JS"

Does this works even if the user close the app?

If you configure BackgroundGeolocation to stopOnTerminate: false, yes.


Remove template provider

what

Remove deprecated template provider

why

Provider is deprecated

@Gowiem Thanks!

/test all

/test all

@Gowiem Anything I can assist with to get this merged?  Thanks.

@bwmetcalf it's continuing to fail with the same error. I'll surface internally and will see if anyone has seen that one before. Thanks for the follow up -- Be sure to do so again if you don't hear from me 😅

From reading a lot of https://github.com/actions/checkout/issues/760 it appears because of https://github.blog/2022-04-12-git-security-vulnerability-announced/
the fix is being run in one of the earlier steps at https://github.com/cloudposse/actions/actions/runs/3223644469/jobs/5273940946#step:5:25 but for some reason doesn't appear to be being consumed in https://github.com/cloudposse/actions/actions/runs/3223644469/jobs/5273940946#step:9:61 I don't know if the running of git commands in a way that ignores the global config?
Maybe adding the safe.directory fix to the terratest job in https://github.com/cloudposse/actions/blob/master/.github/workflows/test-command.yml ?


e2e testing for provenance-only workflow

Related #76
e2e tests:

[x] Different triggers (push, workflow_dispatch, schedule, new-tag)

[x] push, schedule

https://github.com/slsa-framework/example-package/pull/27
https://github.com/slsa-framework/example-package/pull/24

[x] workflow_dispatch

https://github.com/slsa-framework/example-package/pull/41

[x] tag

https://github.com/slsa-framework/example-package/pull/33

[x] Different branches (for each trigger above)

https://github.com/slsa-framework/example-package/pull/50

[x] Pre-submit e2e tests

#122

[x] Different arguments: vary the env variables, make sure the final provenance contains the right information

https://github.com/slsa-framework/example-package/pull/58

[x] Builder information, such as runner env (except hash)

General Tasks:

[x] Auto-close issues when e2e tests pass
[x] Update documentation as necessary

e2e tests for the generic workflow have good coverage for now. Will add new ones as we add new features.


tolist method is not defined for vec3 class

https://github.com/pylayers/pylayers/blob/26301dcedf0b7415de282a37df27e94d60147972/pylayers/mobility/transit/SteeringBehavior.py#L501
The vec3 instance (returned by localy or localx) has no tolist method.  Was this supposed to be a numpy array that defines tolist?

solve with  add40dd


Using latest Graph API nuget package in tab-request-approval C# sample

Hi Team,
I see the sample C# app, tab-request-approval uses the preview (beta) version of the Microsoft.Graph nuget package.

Is there any specific reason why the app still uses the beta version?
Could you please provide the guidelines on using the latest Graph API nuget package? I have created one PR (https://github.com/OfficeDev/Microsoft-Teams-Samples/pull/1406) for the latest Graph API nuget package version, but not sure if any additional coding or usage guidelines I need to follow.

Thanks and Regards,
Pankaj

Thanks for raising your issue. We will check this at our end and will update you accordingly.

The PR has been merged. We are closing this issue for now. Please feel free to reopen if required. Thanks!


How to calculate the coverage of the target program using afl instrumentation?

Hi @zr950624 , a lot of fuzzing is based on the coverage achieved by afl, but afl does not implement the coverage calculation method. I used afl-cov and clang to calculate the coverage, but the calculation efficiency would be seriously reduced due to too many seeds. How can I dynamically obtain the coverage of the target program?

@1789120321 if you use afl++ the right value of "map density" in the UI will tell you the coverage achieved of all edges in percent

@vanhauser-thc, In Polyglot, the new edge found is used as the criterion for coverage comparison. I think the number of new edges can be calculated by a function called count_bytes in afl-fuzz. Is this calculation method correct?

that calculation method is correct for a specific coverage of an input.
(if you use afl++ with a non-colliding instrumented target that is - if you use afl++ with CLASSIC instrumentation, afl-gcc or afl-gcc-fast - or any other afl variant - then you have colliding coverage and then you have no idea of the real coverage is)

@vanhauser-thc, you're right. After increasing the bitmap and reducing the probability of collisions, I think this method should be reasonable. There should be no problem with this understanding, right? Of course, before using AFL, I think the first task is to reduce collisions.

I am not sure I understand your statement. what specific afl are you using? increasing the bitmap reduces the exec/s a lot, and you will always have the risk of collisions with collision coverage, increasing the map size just reduce the number and chances.

I am using the official afl. I understand what you mean. Using count_bytes to calculate the new edge is not accurate. I haven't read the source code of afl++ yet. Later, I will learn a afl++ code and learn how to accurately calculate the coverage.

I agree with what you discussed. So PolyGlot is based on AFL so we only increase the bitmap size to reduce collision.

How can I dynamically obtain the coverage of the target program?
I guess you want to do it in real time. So AFL++'s colliding-free instrumentation might be the solution if you want the accurate coverage.

Yes it is. The paper PolyGlot and DIE both use graphs to compare the coverage, so I think it is necessary to operate the virgin_bits in afl in real time to obtain the coverage.


[FIX] fix empty result for '--diff' and print style

The option '--diff' is very useful and hope this can help.
Also, Hope could publish one new version to public PyPi ASAP.
Thx.

Coverage remained the same at 71.721% when pulling 24a04eee41a551eb83c49496be9a8f357af04f59 on spenly:master into 5707a39df693ddd243ddd7c47ff35ce66d25a6c6 on bndr:master.


[Mobile] Phase 1 discussion UI

Update headers - spacing and size
Add question image and question text to the card body (see updated figma screenshot below)
Test a question with something in the instructions field to see if they parse out properly
Handle UI for questions with no instructions in that field - maybe remove instructions card entirely if there aren't any?

https://github.com/rightoneducation/righton-app/issues/382

Just going to merge this into the parent for review


Target .NET Standard & update README template

The project is currently targeting net5.0 also known as .NET 5 (not to be confused with the now deprecated .NET Core), however, .NET 5 is a framework, and this project can only be consumed by .NET 5-compatible projects (Framework, Core, Xamarin, UWP, MAUI, Mono, Unity, etc) are not supported.
The underlying libraries and toolings that this library uses all target .NET Standard 2.0, so it is safe to switch to .NET Standard 2.0 for this project.
I've also fixed the mistake of referring to .NET Core as C# core, as .NET can be consumed by VB/F#/C#/and C++ (or CLR).

Should probably update all the docs too. A lot of them rely on Debug.Print which does not output on certain platforms. (of course, Unity's Debug is exclusive to their own framework).
Along with that, most of the docs throw VRChat Guids as literals rather than wrapping them around in strings. e.g. var file = file_00000-00000-00000-000000; instead of var file = "file_00000-0000-00....";
Along with the MainAsync().GetAwaiter() pattern. Main methods can be async with .NET Standard and along with currently up-to-date versions of .NET

Thank you so much for all of this. I'm currently looking into why GetWorldAsync specifically is returning null, most likely the API is returning something that is not according to the specification. Will look at this in just a moment. 👍
Also, are you on the Discord?

I am not in the Discord server, I can join if you'd like me to.


UI bug in azureml.widgets RunDetails UI showing non-existing metric visualization errors

Bug in azureml.widgets RunDetails UI showing non-existing metric visualization errors.
Running a remote AML compute based on HyperDrive with multiple child runs.
The training process runs okay with no issues and after the parent run I'm able to get the primary metric of the best model with no issues.
But the Widget UI is showing errors in red like the following..:

Repro notebook here:
https://github.com/danielsc/azureml-workshop-2019/blob/master/2-training-and-interpretability/2.1-aml-training-and-hyperdrive/2-scikit-learn-remote-training-on-aml-compute-plus-hyperdrive/binayclassification-employee-attrition-aml-compute-notebook.ipynb

wow -- I had filed this in June. Thought it had long been fixed....
https://msdata.visualstudio.com/Vienna/_workitems/edit/454328


Empty demand response row created when no region in YAML

When a load profile for a demand response resource is included in the demand_response_fn file but the region is not included in model_regions or region_aggregations, a generator row with all NaN values is created.
Users should be able to keep a single file with lots of regions that aren't always used in a model run.

Similar bug, if a region is included in the distributed generation profiles but not the model, it throws an error.


Pass through nativeEvent as is to callback

nativeEvent is not passed the same way as it's received. Also it breaks typescript definition.

Thank you @MasterLambaster for identifying this mismatch.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Feature]: IT for o3r create

Context
The goal of this feature is to capture the early issues we could have with the execution of the create command for the o3r framework.
Proposal
Create an integration test which will run the o3r create command, across test matrix contexts (windows npm, windows yarn ...)
Pass command line arguments:

one to the angular generator
another argument to the ng add o3r/core.
The goal is to test that the cmd line arguments are well forwarded

Duplicate of #1228


Implement Run A Node page

Description

Implements /run-a-node and affiliated components

Related Issue
https://www.notion.so/efdn/Migrate-React-pages-8acee0dc80d04e55b109e9852c20ef2f?pvs=4
Preview link
https://deploy-preview-146--ethereum-org-fork.netlify.app/en/run-a-node

Had a separate branch where I pulled in all Hero components... merged these in as a result of 71f0103 failing

bfb54414a All Hero components except PageHero
f42f5d771 PageHero component (a87d8500f small patch)


Remove health check and "bad" node concept from ClusterManager

A concern was raised that our samples should not be demonstrating any form of polling from within an entity workflow loop, even if the poll frequency is low. Instead, we intend to point to long-running activity patterns.

This is now blocked on an sdk-python release.


docs: update the usage of the attachment submodule

Description
Updating the usage based on consumer feedback
Release required?

[ ] No release
[ ] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

@jor2 can you please review?

:tada: This PR is included in version 1.8.28 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Bumped pytorch version

Codecov Report

Merging #4 (92478fd) into master (8b86e93) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 92478fd differs from pull request most recent head 8bcc00f. Consider uploading reports for the commit 8bcc00f to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@           Coverage Diff           @@
##           master       #4   +/-   ##
=======================================
  Coverage   96.00%   96.00%
=======================================
  Files           2        2
  Lines          25       25
=======================================
  Hits           24       24
  Misses          1        1


FR: 🙏 For better cybersecurity for everyone: Github and Defender for DevOps! Be an enabler! (allow 3rd SARIF upload w/o GHAS license)

Hi,

Bringing a topic that I started on Github Community.

I want to bring up this topic because I believe that colleagues and professionals have similar opinions and maybe it can at least poke a good discussion about this.
We're facing the most challenging cybersecurity era, since our always-shortage of professionals, but also the rapid growth of attacks and requirements to reach continuous improvements during digital transformation. One of the biggest challenges is "connect the dots" and "build bridges" with all small or big tools that you already had and need to continue over your endless pipelines/processes/technologies/developers.....(you know, it's an infinite game)
Microsoft in the last years has had an important role in being more agnostic, multi-cloud, and absolutely more open to the community and open standards.
With the recent launch of Defender for DevOps we see how they're progressing in cover fast and broad as we can customers, businesses, and people.
Immediately you want to connect all your tools and you realize that to benefit from this Integration to push results to Github and finally MSDO of your results from 3rd party tools for secrets scanning, code scanning, and all others, you must have a GHAS.1 2
I believe that 99% of Github customers already have a security pipeline with 3rd party tools like SAST, DAST, IaC Scanners, Secrets Scanner, and other OpenSource tools, that support the SARIF format. I hope for good of the cybersecurity ecosystem, Github can allow customers that have more than 3 tools to do a complementary job, to improve better visibility for developers and education of cybersecurity in a broad and simpler way. It's not only for MSDO integration but also for helping security teams better communicate with developers. I don't think this reduces the GHAS product's value or its strong points, in opposite will enforce a healthy competition of tools, and in the last instance: improve customers' security. I can be wrong, but think was fair to bring some light to this topic with community members. 😉
Regards,

Hi, thanks for your feedback. We have added this to our requested features list and will discuss within the team in terms of feasibility and priority. We cannot commit anything more at this point.


Revamped installer

The installer has been converted into two projects, WheelCompatibilityInstaller, (new, contains the burn bundle) and WheelCompatibilitySetup. The usage of burn bundles allows us to achieve the following:

Installer is more interactive and looks much better.
Automatically installs .NET DR 6.0.12.
Allows us to add support for HIDHide much easier.

Resolves #53 and makes resolution of #52 much easier.

All looks good. Tested in a fresh VM. Will increment version to 1.2.1.

Publishing a new release momentarily.


Add Target option for copying frameworks when installing

There's a checkbox in a target's Embed Frameworks step that says "copy only when installing", and it defaults to un-selected. This PR adds the onlyCopyFilesOnInstall flag to Target which will check that box.
I'm happy to add some tests around this feature, but I couldn't find the right spot in the project to add them. I did add documentation for the feature, so if that's enough then 🎉. Otherwise please point me in the right direction.
This resolves https://github.com/yonaskolb/XcodeGen/issues/608.

I'm happy to add some tests around this feature, but I couldn't find the right spot in the project to add them.

A good start is the fixture tests, so we can confirm the actual project output.

@brentleyjones Added a test case to parse the JSON dictionary as well as the flag to a target in our yaml sample. Not sure where to assert that the right changes in the resulting project file occurred though.

Thanks @jsorge! It might be useful to also set a Run script only when installing on the Carthage build phase. Thoughts?
In terms of the fixture test, I can see that it led to a diff and that's enough. That's used a simple integration and snapshot test.
If you'd like to add a unit test that would be great too. Then you can assert the exact values.
Could you also add a changelog entry.

@yonaskolb Thanks for the feedback! Addressed everything except the Carthage build phase, since I'm not sure how that works. My mental model is to have this mirror Xcode's checkbox (which is linked in issue #608). How does Carthage interact with the "Embed Frameworks" build phase?

@jsorge the generated Carthage build step basically extracts and copies the frameworks in, which is similar. I'm happy to leave this PR focused though. Thanks again!

@jsorge thanks!


LLVM InsertPosition is deprecated; replace with BasicBlock::iterators

Here's an example of a deprecation warning:
/tmpfs/src/github/clspv/lib/UndoByvalPass.cpp:90:58: warning: 'InsertPosition' is deprecated: Use BasicBlock::iterators for insertion instead [-Wdeprecated-declarations]
            ArgTy, 0, nullptr, Arg->getName() + ".addr", InsertPoint);
                                                         ^~~~~~~~~~~
                                                         BasicBlock::iterator

There are many of these.

I can take care of it tomorrow


[stable/prometheus-operator] Removed duplicate nodePort in prometheus service

What this PR does / why we need it:
Removed the duplicate nodePort in service.yaml. Purely cosmetic since yaml allows for duplicate entries.
Which issue this PR fixes

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/ok-to-test
/lgtm

/retest

Had to merge upstream and bump version again, please feel free to merge after lgtm.

/assign gianrubio

You need to bump it once more.

@paskal @gianrubio merged master and bumped version, should be good

/ok-to-test
/lgtm


How to config a cluster without multicast?

Pardon my poor English.
I Have about 50 servers, and I want to try Xapiand as a cluster.
But my servers are not in the same network.
Is there any way to config a cluster without multicast?
For example, like Elasticsearch, find a cluster with a list of ip addr, which belong to (part of) nodes in the cluster.
Thank you very much.

Multicast can currently work with UDP only; however, if you have nodes in different networks, you can currently use something like this: https://github.com/Kronuz/Xapiand/blob/master/contrib/python/multicast.py to propagate messages across networks.


Doesn't run in Safari

You likely need a BigInt polyfill, as Safari doesn't support it. Are you sure this works on iOS Safari?
https://github.com/graup/bigint-polyfill

Thanks, very helpful! We haven't tested Safari since we started using BigInt, so it suddenly all makes sense why the /browse page is broken in Safari... Will add the polyfill soon!

I've finished patching the polyfill. Babel's polyfill for bigInt is still in its proposal stages for the past year or so.
https://github.com/GoogleChromeLabs/jsbi


Getting a warning I don't understand

After updating my apps dependencies I get this warning when running the tests.
[warning] The response contained in an RestClient::Exception is now a RestClient::Response instead of a Net::HTTPResponse, please update your code

I'm having trouble finding out which piece of code causes this. Any ideas?
My app is running Rails 4.2.2 and Rest-client 1.8.0.

I'm having the same issue. It looks like the warning is coming when someone calls a method that is missing from RestClient::Exception but is present on Net::HTTPResponse.
https://github.com/rest-client/rest-client/blob/v1.8.0/lib/restclient/exceptions.rb#L71-L74
def method_missing symbol, *args
  if net_http_res.respond_to? symbol
    warn "[warning] The response contained in an RestClient::Exception is now a RestClient::Response instead of a Net::HTTPResponse, please update your code"
    net_http_res.send symbol, *args

I overrode method_missing on RestClient::Exception and it looks like something inside of RestClient is calling to_str on RestClient::ServiceUnavailable
class RestClient::Exception
  def method_missing symbol, *args
    stack = caller.join("\n")
    raise "Someone called #{symbol} on #{self.class.name} #{stack}"

Someone called to_str on RestClient::ServiceUnavailable /Users/josh/.gem/ruby/2.3.0/gems/rest-client-1.8.0/lib/restclient/abstract_response.rb:74:in `raise'
/Users/josh/.gem/ruby/2.3.0/gems/rest-client-1.8.0/lib/restclient/abstract_response.rb:74:in `return!'
/Users/josh/.gem/ruby/2.3.0/gems/rest-client-1.8.0/lib/restclient/request.rb:495:in `process_result'
/Users/josh/.gem/ruby/2.3.0/gems/rest-client-1.8.0/lib/restclient/request.rb:421:in `block in transmit'

https://github.com/rest-client/rest-client/blob/v1.8.0/lib/restclient/abstract_response.rb#L74
raise Exceptions::EXCEPTIONS_MAP[code].new(self, code)

Eh, what a mess. That's a super legacy part of the codebase.
For what it's worth, the method_missing junk is removed in the (currently pre-release) 2.0.0 series. I'm not really sure what to do about it in the meantime; it might be a good idea to remove.
I don't think to_str is called by rest-client itself, that seems to simply be a byproduct of raising the exception.
Some tests:
class Exc1 < StandardError; end
class Exc2 < StandardError
  def method_missing(symbol, *args)
    warn "method_missing: #{symbol}()"
  end
end

$ ruby -r ./test.rb -e 'raise Exc1.new'
-e:1:in `<main>': Exc1 (Exc1)

$ ruby -r ./test.rb -e 'raise Exc2.new'
method_missing: to_str()
-e:1:in `<main>': Exc2 (Exc2)

$ ruby -r ./test.rb -e 'begin; raise Exc2.new; rescue Exc2; puts "rescued safely"; end
method_missing: to_str()
rescued safely

It should be safe to ignore the warning in any case.

We have a zero tolerance policy towards warnings in our build and so this is causing a problem for us. Since v2.0.0 has not yet been released, is there any other way around this warning?

Closing, rest-client 2.0.0 was out in July.


Search Area Design Enhancement

The current design of the search area is not properly visible. Only search icon is visible in whole search section. This creating confusion for the users. The design of search area can be improved by working on its styling, by making its design more prominent and clear.
Sample Work
Current Design

Expected Updated Design

Kindly assign me this issue.

/triage accepted
/kind bug

/kind documentation

Hi!
I am trying to set this repo in the local environment but am getting an error, as even after applying all the steps mentioned in readme, the website is not live. Is there any medium for communication?


[RI-573] Update ELK MNAIO deployment

This updates the ELK MNAIO deployment methodology to use the new
MTC tooling developed by the Tools team.
JIRA: RI-573
(cherry picked from commit 41cf5f10bbe7fc362c6bdec4cebd4dc6db7271dd)
Issue: RI-573

Thank you for submitting a pull request to this project!
Once all check jobs have passed and the pull request has received a
sufficient number of reviews, the repository's gate jobs can be triggered by
adding a comment of :shipit: to this pull request.
When the gate jobs have completed successfully, this pull request will get
merged automatically.

Just wondering if we should move the test fixes to another PR? @cloudnull @odyssey4me

recheck_container_ansible-syntax_tox-test

recheck_container_ansible-lint_tox-test

recheck_container_pep8_tox-test

recheck_deconst-jenkins


Upgrade terraform-provider-scaleway to v2.43.0

This PR was generated via $ upgrade-provider pulumiverse/pulumi-scaleway --kind=provider --target-bridge-version=latest.

Updating Java Gen version from 0.12.0 to 0.14.0.
Upgrading terraform-provider-scaleway from 2.42.1  to 2.43.0.

Superseded by #333


Missing Playbook

The link to the ATA POC playbook does not point to this document
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e6b1c61c-2a10-8862-5c74-3f034386f7ed
Version Independent ID: c79e5e5e-c4ac-a025-9ab8-58bf1437219d
Content: Advanced Threat Analytics resources and readiness roadmap
Content Source: ATADocs/ata-resources.md
Product: advanced-threat-analytics
Technology: ****
GitHub Login: @dcurwin
Microsoft Alias: dacurwin

@DeanGross - Do you mean this link? http://aka.ms/ataplaybook
If not, what link are you referring to?

Yes, that is correct

Updated.


Bump version number in README.md

Update README.md to use the new 0.13 version
Description
Updated the Cargo.toml example in the README.md to use the new 0.13 version
Motivation and Context
Make sure people get the newest version when they copy the example lines from the README.md file
How Has This Been Tested?
Ran the tests and they're all fine, and it's a simple documentation change so did not feel the need to do further testing.
Types of changes

[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)

Checklist:

[ ] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Thanks!


version-requirements: Add MacOSX 10.12

Can be backported to the 5.2 docs.
Note that the docs on develop are for 5.2/5.3; should these be updated for 5.3/5.4(?)

Note I updated the CI status as well; I marked 10.11 and 10.12 as being tested, since we should have a 10.12 node up shortly and the 10.10 node can be dropped to rationalise the infrastructure needed for the 5.3 lifetime.  Can be tweaked further to match reality if that's not appropriate; this is just to document my intentions for desired CI changes.

Fixed the typo!

I understand the rationale but we should announce it since it moves from a deprecated to a dropped w/o prior warning to the community
Maybe we include a section in the "deprecation" blog post

--rebased-to #1544

see https://github.com/openmicroscopy/ome-documentation/pull/1544#pullrequestreview-2333471

@rleigh-codelibre: could you update the PR so it can be merged see comment on dev_5_2 branch

@jburel Done


upgrade a chart

We can upgrade a chart.

There are two steps involved :

[ ] First is to saved the query string ( as we do for a saved config inside vault ) inside a specific values of the helm chart. onyxia.userDefinedValues.
[ ] In a second step we can create a button and linked it to the upgrade/install api calls.

For that we need to save the fixed values somewhere (maybe in a custom values).
Onyxia-web must fill all the automatic values then fixed values are apply ( fixed values overwrite automatic values )

Hi @garronej,
With @alainds we have work on this issue. Can you review our PR?


Aquostv Component - Error thrown

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.35.0 (Docker homeassistant/home-assistant:latest)
Python release (python3 --version):
3.5.2
Component/platform:
media_player/aquostv
Description of problem:
Implemented and configured new component.  Throwing a TypeError:
Expected:
Problem-relevant configuration.yaml entries and steps to reproduce:

Traceback (if applicable):
16-12-18 08:27:00 homeassistant.core: Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "uvloop/future.pyx", line 374, in uvloop.loop.BaseTask._fast_step (uvloop/loop.c:105920)
  File "/usr/src/app/homeassistant/helpers/entity_component.py", line 386, in _update_entity_states
    yield from update_coro
  File "/usr/src/app/homeassistant/helpers/entity.py", line 216, in async_update_ha_state
    yield from self.hass.loop.run_in_executor(None, self.update)
  File "uvloop/future.pyx", line 230, in __iter__ (uvloop/loop.c:103945)
  File "uvloop/future.pyx", line 432, in uvloop.loop.BaseTask._fast_wakeup (uvloop/loop.c:107104)
  File "uvloop/future.pyx", line 101, in uvloop.loop.BaseFuture._result_impl (uvloop/loop.c:102363)
  File "/usr/local/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/app/homeassistant/components/media_player/aquostv.py", line 110, in update
    self._volume = self._remote.volume() /  60
TypeError: unsupported operand type(s) for /: 'str' and 'int'

Additional info:
FYI @titilambert

Might be related to upstream bug regarding return types for volume commands: https://github.com/jmoore987/sharp_aquos_rc/issues/1

Same for me
nothing playing on the tv, after + or - 15 sec the tv disconnect and reconnect or after each time i turn on/ turn off the volume
Traceback (most recent call last):   File "/usr/lib/python3.4/asyncio/tasks.py", line 233, in _step     result = coro.throw(exc)   File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 386, in _update_entity_states     yield from update_coro   File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity.py", line 216, in async_update_ha_state     yield from self.hass.loop.run_in_executor(None, self.update)   File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__     yield self  # This tells Task to wait for completion.
I'm trying right now to fix your issues, I hope send a patch in a few days

Thanks.  That's great.  You might add a config property to allow for a timeout setting.  I also had to put in a couple loops\retries just incase the tv didn't respond quick enough.

Im not so good in python and my primary language is french but if you need help in anyway  (remote access to my pc or tv ?) ask i and i will help you as much as i can !
And i am willing to learn, im pretty bad ass in virtualisation and network if that can help you !
Envoyé à partir d'Outlookhttp://aka.ms/weboutlook

De : Thibault Cohen<EMAIL_ADDRESS>Envoyé : 26 décembre 2016 20:53
À : home-assistant/home-assistant
Cc : Jaune; Comment
Objet : Re: [home-assistant/home-assistant] Aquostv Component - Error thrown (#4973)
Hello!
I'm trying right now to fix your issues, I hope send a patch in a few days

You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/home-assistant/home-assistant/issues/4973#issuecomment-269241173, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKHPJAcoIEDO4NQbWYs9XwqswwO6x6Wxks5rMClZgaJpZM4LQJSQ.

Hello, I made a patch, the component is now more stable.
The only issue appears if you "double-click" on a button (like "volume up"), you will experience some lags...
In fact, It seems the TV can not get several connections in the same time...
Maybe the good solution should be to create a FIFO queue where queries can be stored. Then a thread could get tasks inside the queue.
If any Home Assistant core dev see this message, could you tell me if I can do this ? if yes, how do you have an example ?
Thanks !

Nice job ! even with the small delay everything seems to be perfect. I dont know if it is my tv but i cannot turn it on, everything else is working fine

Nice job ! even with the small delay everything seems to be perfect. I dont know if it is my tv but i cannot turn it on, everything else is working fine

And I just saw I forgot to add it in the documentation...
The parameter is :
power_on_enabled: True

And I just saw I forgot to add it in the documentation...
The parameter is :
power_on_enabled: True

Perfect like that ^^ Thanks a lot !

Hello! @titilambert I've been following this thread quite closely and I think I'm certainly doing something wrong as now when I launch HA, I receive the following error:
"The following component and platforms could not be set up:

media_player.aquostv

When I check HA log -
17-01-12 10:31:48 homeassistant.loader: Error loading homeassistant.components.media_player.aquostv. Make sure all dependencies are installed
Traceback (most recent call last):
File "/srv/hass/lib/python3.4/site-packages/homeassistant/loader.py", line 139, in get_component
module = importlib.import_module(path)
File "/srv/hass/lib/python3.4/importlib/init.py", line 109, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 2254, in _gcd_import
File "", line 2237, in _find_and_load
File "", line 2226, in _find_and_load_unlocked
File "", line 1200, in _load_unlocked
File "", line 1129, in _exec
File "", line 1471, in exec_module
File "", line 321, in _call_with_frames_removed
File "/srv/hass/lib/python3.4/site-packages/homeassistant/components/media_player/aquostv.py", line 10, in
from homeassistant.components.media_player import (
ImportError: cannot import name 'SUPPORT_PLAY'
17-01-12 10:31:48 homeassistant.loader: Unable to find component media_player.aquostv
17-01-12 10:31:48 homeassistant.bootstrap: Unable to find platform media_player.aquostv
Any assistant is much appreciated. My TV model is LC-80LE632U

@npanchal84 which version of HA do you use ?

@npanchal84 do you use the audio return channel from hdmi to output the tv audio over your avr?
I figured out that the audi commands are not working ("VOLMxx__", "MUTEx___" aquos ip commands) in that case.
However, I took a look at the official Aquos Remote Android app, and there they use other (undocumented) IP commands - which are working.

I've gotten it to work - somewhat. Power on/off works, which is all I really need as I can control the rest from HA and the Denonavr component. I had to remove the SUPPORT_PLAY entry in the .py file. I haven't tried volume up/add or input changes. I would like to test if I can change to Netflix input however.


Don't pin test workers

Otherwise, parallel test runs will interfere with another
Contributor Checklist:

[ ] I have added or updated my entry in the creators.json file
[ ] I have added a changelog entry for my contribution
[ ] I have added/updated documentation for all user-facing changes
[ ] I have added/updated test cases

Reviewer Checklist:

[x] /azp run libertem.libertem-live-data passed

/azp run libertem.libertem-live-data

This shaves 2mins off the data tests.


Add Heatmap back in

Does any other open PR do the same thing?

No
What issue is this PR fixing?
The Heatmap component export seems to be missing. This adds it back in.
https://github.com/react-native-community/react-native-maps/issues/3033
How did you test this PR?

Tested on iOS locally.

Hi @christopherdro,
Thanks for merging this PR in. Do you have loose ETA on the next release of react-native-maps to NPM?
Thanks for all the work!


CORS configuration

First off, thanks for creating raspilive, it saved me a lot of time setting similar solution.
I have a bit of a problem with connecting served file with web app I've created because of a CORS error. I guess I need to set Access-Control-Allow-Origin to my website address. Can you point me to the direction where should I change the server configuration to edit its CORS headers?
I have zero GOlang experience but I'm willing to learn anything
Thanks a lot.

Yeah, so it looks like you'd need to add some middleware here to set up your CORs stuff. This should probably be handled by the application out of the box. But in the mean time, I think you need
A new function here:
func corsMiddleware(next http.Handler) http.Handler {
	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
		// TODO see https://github.com/GoogleCloudPlatform/golang-samples/blob/master/functions/http/cors.go#L29-L39
		next.ServeHTTP(w, r)
	})
}

And then add it to the middlware chain here
middlewareChain = middlewareChain.Append(corsMiddleware)

There's also this library which appears to be a little more turn-key but I haven't used it before.
I'll leave this open to remind myself to look more into providing better support for this in the future.

@jaredpetersen When do you think you will implement it in the raspilive?

Eventually 🤷♂
I've been taking a small break from open source to catch up on other hobbies. Is there an urgent need?

Oh sure, no I think it is also solvable with a reverse proxy in front of the stream.
So it is not urgent ;) take your time. Sadly I can not help with it because it is now written in GO,
I do not have enough knowledge about that ^^


Separate test-suite for URLProtocol

Can we reduce the amount of code duplication by having TestNSURLProtocol and TestURLSession inherit from a common superclass, which would itself inherit from XCTestCase?

@ianpartridge Yeah, I have moved the server related code to HTTPServer file and have URLSession and URLProtocol tests inherit from there. Please have a look.
Thanks!

@pushkarnk Renaming is done. Thanks for the review!

@swift-ci test and merge

@swift-ci please test and merge


Package fails when running as an ES module

The FileScanner.getCallerFilePath() method uses Error.prepareStackTrace() to get the file path of its caller.
When running as an ES module CallSite.getFileName() returns a url with the file: scheme as a string instead of a filesystem path. This causes the method to throw an error since it is expecting the value to be a filesystem path.

Hey @jcmosc,
Thanks for opening this issue and bringing this to my attention.
There are two solutions for this:
The first one is to overhaul the FileScanner implementation, which is not perfect as it is, but I couldn't find a better solution that will guarantee me finding the absolute right file, if you have some suggestions, i'd be happy to try and implement them.
The second solution is to handle this specific case in the FileScanner. I don't mind implementing this myself, but seeing as you already did the debugging work and found the root cause of the problem, I wouldn't mind if you want to handle this case and open a PR.
Im good with either, and again, thank you so much for opening this issue!


Collect and pass free functions (Fix T942875)

I think that the freeFunctions is bad naming.
Probably we can name this the independentEvents.

I think that the freeFunctions is bad naming.
Probably we can name this the independentEvents.


CMake: Fix build on ARM platforms

Needs one more review

We don't have any kind of automated tests for ARM, right? If we have a machine available, it's easy to install our own Github Actions runner on it for CI.

We don't have any kind of automated tests for ARM, right? If we have an ARM machine available, it's easy to install our own Github Actions runner on it for CI.

We have Raspberry Pis, but I don't think we want verification to take multiple hours. We might want to look into one of Nvidia's ARM boards.

We don't have any kind of automated tests for ARM, right? If we have an ARM machine available, it's easy to install our own Github Actions runner on it for CI.

We have Raspberry Pis, but I don't think we want verification to take multiple hours. We might want to look into one of Nvidia's ARM boards.

I dunno how slow they are, but could we use them just for building Charm++ (without testing)?

A consortium has a program to provide ARM infrastructure for open source codes here: https://github.com/WorksOnArm/cluster/blob/master/.github/ISSUE_TEMPLATE/custom.md. This might be suitable for what we need.

Separately, we may want to look into getting a Mac Mini or something to be able to test on macOS + ARM.

We don't have any kind of automated tests for ARM, right? If we have an ARM machine available, it's easy to install our own Github Actions runner on it for CI.

We have Raspberry Pis, but I don't think we want verification to take multiple hours. We might want to look into one of Nvidia's ARM boards.

I dunno how slow they are, but could we use them just for building Charm++ (without testing)?

I think what we actually have are BeagleBone Blacks. I don't remember quantitatively how slow they are exactly, but they're no speed demons. They're fairly old, so perhaps more modern SBCs are faster. Regardless, I don't think it's worth making them part of the CI, I think they'll be flaky when it comes to storage space, reliability, ease of use, etc.

We have a cluster of 17 Raspberry Pi 3 Model B+ boards at Charmworks.

We have a cluster of 17 Raspberry Pi 3 Model B+ boards at Charmworks.

Ah, gotcha, then perhaps that's a more reasonable target, I haven't really worked with it.

For the sake of completeness, Drone Cloud and TravisCI both support ARM targets for CI, as well.


Strange Behavior calling setScaleAndCenter in custom onScroll

I created a custom gesture detector to receive the scroll event for the view, which apply a custom translate using setScaleAndCenter.
And I'm having a problem if I start an scroll and I stop it somewhere without releasing my finger. The setScaleAndCenter is called within onScroll, for example:
public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
    imageView.setScaleAndCenter(imageView.getScale(), new PointF(imageView.getCenter().x+10, imageView.getCenter().y));
    return true;
}

The +10 is just an example, because in real scenario i'm processing the values for the new center value, but with the above snippet I can reproduce the problem too, when I scroll fast and I release the image get correctly translated, the problems comes when I stop the scroll without releasing my finger, the images get back to the initial position, i.e.:
Let's say the image is in X=50
On the fast scroll the image get correctly translated to  X=150 (the onscroll was called 10 times)
If I release my finger fast on the end of the scroll the image stop at  X=150, but if I keep my finger down the image get back to X=50 (Note: If I move my finger slowly at this time the translate goes to x=150 but it instantly get back to X=50 again).
Is this a expected behavior?

Disabling the onTouchListener if pan is disabled solves my issue.


[REQUEST] Choose which player to load data from

Choose which player to load data from. Examples where its useful: currently, doing Road with other people only loads the host's weapon icon, among other things.

List of multiplayer bugs, not exhaustive:

[ ] Weapon Icon mismatch
[ ] Damage mismatch
[ ] Monster stats mismatch
[ ] Area mismatch
[ ] Timer (unknown if actually a bug)

Once everything above is fixed and users are able to choose which player to load data from, this issue can be closed.


Update initial points sampling in maximize_likelihood

Used the same implementation as #152

I fixed this in #163


404 not found page

I saw that your theme does not have 404 not found page
so I think it could be better if you add this page

What Hugo version are you using?

v0.63.0

We already have it https://github.com/zzossig/hugo-theme-zzo/blob/master/layouts/404.html
But the recent Hugo version fixed something related 404 template. https://gohugo.io/news/0.63.2-relnotes/
So, update the Hugo version to 0.63.2.
Make sure that the 404 page not showing in the localhost. It only appears when you deploy the site

Hmm ok
got it thanks

Also, refer to this page https://gohugo.io/templates/404/#automatic-loading.
I see that only GitHub Pages automatically load the 404 page

We can talk more about it here. I'm closing this issue now.
If you want to see what 404 page look like, just check this url http://gictor.ir/404.html
And I saw that you used 4 levels deep post title.
You are using #### My title something like this right?
Then you should edit the tableOfContent configuration
config.toml
  [markup.tableOfContents]
    endLevel = 4 # instead of 3
    ordered = false
    startLevel = 2