Train Error

When I run the train command "python main.py --yaml_path configs/evreds_train.yaml", it break down at the start of second stage with the error "ValueError: dictionary update sequence element #0 has length 1; 2 is required".
I want to know the version of pytorch, whether the version of package is wrong.

Hi, thanks for the question. I have tested the codes again and everything seems ok on my side. The pytorch version is 1.10.0 and the torchvision version is 0.11.0,  you can find more details about the used packages in the requirements.txt. Hope this helps!

Thank you for your reply. I have checked my environment, it meets the requirement, but I still not found the reason of the error. Could you give me some guidances to help me solve the problem.
The error message is as follows:
Traceback (most recent call last):   File "main.py", line 165, in <module>     best_model_path = second_stage_training(args)   File "main.py", line 59, in second_stage_training     trainer.fit(model, data_module)   File "/root/anaconda3/envs/gem/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 772, in fit     self._fit_impl, model, train_dataloaders, val_dataloaders, datamodule, ckpt_path   File "/root/anaconda3/envs/gem/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 724, in _call_and_handle_interrupt     return trainer_fn(*args, **kwargs)   File "/root/anaconda3/envs/gem/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 812, in _fit_impl     results = self._run(model, ckpt_path=self.ckpt_path)   File "/root/anaconda3/envs/gem/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 1225, in _run     self._log_hyperparams()   File "/root/anaconda3/envs/gem/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 1295, in _log_hyperparams     logger.save()   File "/root/anaconda3/envs/gem/lib/python3.7/site-packages/pytorch_lightning/utilities/rank_zero.py", line 32, in wrapped_fn     return fn(*args, **kwargs)   File "/root/anaconda3/envs/gem/lib/python3.7/site-packages/pytorch_lightning/loggers/tensorboard.py", line 264, in save     save_hparams_to_yaml(hparams_file, self.hparams)   File "/root/anaconda3/envs/gem/lib/python3.7/site-packages/pytorch_lightning/core/saving.py", line 402, in save_hparams_to_yaml     yaml.dump(v)   File "/root/anaconda3/envs/gem/lib/python3.7/site-packages/yaml/__init__.py", line 253, in dump     return dump_all([data], stream, Dumper=Dumper, **kwds)   File "/root/anaconda3/envs/gem/lib/python3.7/site-packages/yaml/__init__.py", line 241, in dump_all     dumper.represent(data)   File "/root/anaconda3/envs/gem/lib/python3.7/site-packages/yaml/representer.py", line 27, in represent     node = self.represent_data(data)   File "/root/anaconda3/envs/gem/lib/python3.7/site-packages/yaml/representer.py", line 48, in represent_data     node = self.yaml_representers[data_types[0]](self, data)   File "/root/anaconda3/envs/gem/lib/python3.7/site-packages/yaml/representer.py", line 199, in represent_list     return self.represent_sequence('tag:yaml.org,2002:seq', data)   File "/root/anaconda3/envs/gem/lib/python3.7/site-packages/yaml/representer.py", line 92, in represent_sequence     node_item = self.represent_data(item)   File "/root/anaconda3/envs/gem/lib/python3.7/site-packages/yaml/representer.py", line 52, in represent_data     node = self.yaml_multi_representers[data_type](self, data)   File "/root/anaconda3/envs/gem/lib/python3.7/site-packages/yaml/representer.py", line 343, in represent_object     'tag:yaml.org,2002:python/object:'+function_name, state)   File "/root/anaconda3/envs/gem/lib/python3.7/site-packages/yaml/representer.py", line 118, in represent_mapping     node_value = self.represent_data(item_value)   File "/root/anaconda3/envs/gem/lib/python3.7/site-packages/yaml/representer.py", line 52, in represent_data     node = self.yaml_multi_representers[data_type](self, data)   File "/root/anaconda3/envs/gem/lib/python3.7/site-packages/yaml/representer.py", line 346, in represent_object     return self.represent_sequence(tag+function_name, args)   File "/root/anaconda3/envs/gem/lib/python3.7/site-packages/yaml/representer.py", line 92, in represent_sequence     node_item = self.represent_data(item)   File "/root/anaconda3/envs/gem/lib/python3.7/site-packages/yaml/representer.py", line 52, in represent_data     node = self.yaml_multi_representers[data_type](self, data)   File "/root/anaconda3/envs/gem/lib/python3.7/site-packages/yaml/representer.py", line 343, in represent_object     'tag:yaml.org,2002:python/object:'+function_name, state)   File "/root/anaconda3/envs/gem/lib/python3.7/site-packages/yaml/representer.py", line 118, in represent_mapping     node_value = self.represent_data(item_value)   File "/root/anaconda3/envs/gem/lib/python3.7/site-packages/yaml/representer.py", line 52, in represent_data     node = self.yaml_multi_representers[data_type](self, data)   File "/root/anaconda3/envs/gem/lib/python3.7/site-packages/yaml/representer.py", line 330, in represent_object     dictitems = dict(dictitems) ValueError: dictionary update sequence element #0 has length 1; 2 is required

Thanks for your feedback. Actually it is my first time to see an error like this. From the bug message, it looks like an error occurred when loading the first-stage model for the second-stage training. But the codes work fine on my computer, so I don't have a clear picture how to fix it right now. Would you mind providing more details about your environment so I could try reproducing the error? Thanks.

Thank you for your continued attention. In my environment, the version of python and the result of the command "pip list" are as follows. And I used a 3090 GPU for training.
Python 3.7.16
Package                 Version

absl-py                 2.0.0
aiohttp                 3.8.6
aiosignal               1.3.1
async-timeout           4.0.3
asynctest               0.13.0
attrs                   23.1.0
cachetools              5.3.2
certifi                 2022.12.7
charset-normalizer      3.3.2
cycler                  0.11.0
DCN                     1.0
fonttools               4.38.0
frozenlist              1.3.3
fsspec                  2023.1.0
google-auth             2.23.4
google-auth-oauthlib    0.4.6
grpcio                  1.59.2
h5py                    3.8.0
hdf5storage             0.1.19
idna                    3.4
imageio                 2.31.2
importlib-metadata      6.7.0
kiwisolver              1.4.5
Markdown                3.4.4
MarkupSafe              2.1.3
matplotlib              3.5.0
multidict               6.0.4
networkx                2.6.3
numpy                   1.21.6
oauthlib                3.2.2
opencv-python           <IP_ADDRESS>
packaging               23.2
pathlib2                2.3.7.post1
Pillow                  9.3.0
pip                     23.3.1
protobuf                3.20.3
pyasn1                  0.5.0
pyasn1-modules          0.3.0
pyDeprecate             0.3.2
pyparsing               3.1.1
python-dateutil         2.8.2
pytorch-lightning       1.6.0
PyWavelets              1.3.0
PyYAML                  6.0.1
requests                2.31.0
requests-oauthlib       1.3.1
rsa                     4.9
scikit-image            0.19.3
scipy                   1.7.3
setuptools              59.5.0
setuptools-scm          7.1.0
sewar                   0.4.5
six                     1.16.0
tensorboard             2.11.2
tensorboard-data-server 0.6.1
tensorboard-plugin-wit  1.8.1
tifffile                2021.11.2
tomli                   2.0.1
torch                   1.10.0+cu111
torchaudio              0.10.0+rocm4.1
torchmetrics            0.11.4
torchvision             0.11.0+cu111
tqdm                    4.66.1
typing_extensions       4.7.1
urllib3                 2.0.7
warmup-scheduler        0.3
Werkzeug                2.2.3
wheel                   0.38.4
yarl                    1.9.2
zipp                    3.15.0
When I debugged the code, I tried to print the value of the variable at the position where it broke down. And the result is as follows.

Hi, thanks for sharing your environments. I have tried using exactly the same environment as yours, but everything still works well on my side, so wired. I will try on other computers to see if I can reproduce the error and let you know if I find something.

Thank you for your pay attention this problem continuously. I have used two GPU to tranin the model, the error not occured in the same environment. And I tried to use a GPU for training again, the error reproduce.
When I used two GPUs for training, this is a warning in satge2, whether it has anything to do with the environment?

When I used one GPU for training, I just modified codes/main.py . Do I need to modify other codes.

Hi, thanks for the useful information. I can now reproduce the error in a single GPU setting. It seems to be an error when Pytorch Lighting tries to save some unwanted parameters as pointed here. In our case, the bug occurs when saving "callbacks", so I ignore the "callbacks" by adding self.save_hyperparameters(ignore=["callbacks"]) in the './codes/model/model_interface.py' and now it works for both single-GPU and multi-GPU settings. I have updated the code and you can try it by replacing the 'model_interface.py' file.
For training with different GPU settings, you only need to change the GPU ID on the 'codes/main.py' just like you did there. Then it should be ok to train :)

Thank you very much for your solution. After I modified the model_interface.py, the code is running correctly.

Hi, thanks for the useful information. I can now reproduce the error in a single GPU setting. It seems to be an error when Pytorch Lighting tries to save some unwanted parameters as pointed here. In our case, the bug occurs when saving "callbacks", so I ignore the "callbacks" by adding self.save_hyperparameters(ignore=["callbacks"]) in the './codes/model/model_interface.py' and now it works for both single-GPU and multi-GPU settings. I have updated the code and you can try it by replacing the 'model_interface.py' file.
For training with different GPU settings, you only need to change the GPU ID on the 'codes/main.py' just like you did there. Then it should be ok to train :)

Thank you very much for your solution. After I modified the model_interface.py, the code is running correctly.


Node.js 16 actions are deprecated.

So I'm getting this error:
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: oven-sh/setup-bun@v1.

And I'm wondering if is it to hard to move to nodejs 20 action?

Should be easy, we'll do it.

Any update on this?

Any update on this?

Latest setup-bun action uses nodejs v20.


Operators deployed using the generated k8s resources are forbidden to access the CRD

Operators deployed using the generated k8s resources are forbidden to access the CRD.
Steps to reproduce:

Build the orchestrator
Deploy the CRD using the generated CRD resource
Deploy the orchestrator using the generated kubernetes.yml

Then the operator fail to start with:
2024-04-17 08:55:12,320 ERROR [io.fab.kub.cli.inf.imp.cac.Reflector] (vert.x-eventloop-thread-4) listSyncAndWatch failed for model.kestra.io/v1alpha1/kestraflows, will stop: java.util.concurrent.CompletionException: io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: GET at: https://<IP_ADDRESS>:443/apis/model.kestra.io/v1alpha1/kestraflows?labelSelector=app.kubernetes.io%2Fmanaged-by%3Dkestra-flow-controller&resourceVersion=0. Message: kestraflows.model.kestra.io is forbidden: User "system:serviceaccount:kestra:kestra-orchestrator" cannot list resource "kestraflows" in API group "model.kestra.io" at the cluster scope. Received status: Status(apiVersion=v1, code=403, details=StatusDetails(causes=[], group=model.kestra.io, kind=kestraflows, name=null, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=kestraflows.model.kestra.io is forbidden: User "system:serviceaccount:kestra:kestra-orchestrator" cannot list resource "kestraflows" in API group "model.kestra.io" at the cluster scope, metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=Forbidden, status=Failure, additionalProperties={}).

The issue is caused by a ClusterRole that is bonded using a RoleBinding instead of a ClusterRoleBinding.
What is generated:
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: kestra-flow-cluster-role
  namespace: kestra
rules:
  - apiGroups:
      - model.kestra.io
    resources:
      - kestraflows
      - kestraflows/status
      - kestraflows/finalizers
    verbs:
      - get
      - list
      - watch
      - patch
      - update
      - create
      - delete
 ---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  name: kestra-flow-crd-validating-role-binding
  namespace: kestra
roleRef:
  kind: ClusterRole
  apiGroup: rbac.authorization.k8s.io
  name: josdk-crd-validating-cluster-role
subjects:
  - kind: ServiceAccount
    name: kestra-orchestrator
    namespace: kestra

What should be generated:
```yaml
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: kestra-flow-cluster-role
  namespace: kestra
rules:
  - apiGroups:
      - model.kestra.io
    resources:
      - kestraflows
      - kestraflows/status
      - kestraflows/finalizers
    verbs:
      - get
      - list
      - watch
      - patch
      - update
      - create
      - delete
 ---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: kestra-flow-crd-validating-role-binding
  namespace: kestra
roleRef:
  kind: ClusterRole
  apiGroup: rbac.authorization.k8s.io
  name: josdk-crd-validating-cluster-role
subjects:
  - kind: ServiceAccount
    name: kestra-orchestrator
    namespace: kestra

I am seeing the same error, and have some more details around this that maybe helpful.
The generated Role appears to be corect;
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: customService-cluster-role
  namespace: custom-service-operator
rules:
  - ...

Where things go wrong is still in the role binding. The name of the role being bound to is incorrect;
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: custom-service-cluster-role-binding
  namespace: custom-service-operator
roleRef:
  kind: ClusterRole
  apiGroup: rbac.authorization.k8s.io
  name: custom-service-operator
subjects:
  - kind: ServiceAccount
    name: custom-service-operator
    namespace: custom-service-operator

Note, the roleRef.name value here is incorrect here. It seems to just be using the namespace, instead of the name of the ClusterRole being generated, which appears to be the name of the custom resource. As far as I can tell, the role custom-service-operator doesn't exist anywhere, cluster or otherwise.

Poking in the code, it looks like this line is the likely culprit. The method expects this to be the name of the controller, which aligns with the ClusterRole definition. However, it's getting passed the serviceName instead.

@nstuart-idexx thank you for the details, I've opened PR #959 to address the issue.


Add --raw to allow specifying the raw request body without extra processing

Addressing #534.
In short, the new argument allows to use that synxtax:
$ http --raw '{"name": "John"}' pie.dev/post

Instead of:
$ echo '{"name": "John"}' | http pie.dev/post
$ http pie.dev/post <<<'{"name": "John"}'

The documentation is now less disparate. WDYT @elenalape and @jakubroztocil ?

Thanks for the review @elenalape.
I applied your suggestions, do you have a better phrasing to propose maybe?

@jakubroztocil we are good to go :)
Finally I did not use the short version -r as --raw is small to type; and it could be used for another option in the future.

I'll backport changes to HTTP Prompt when this will get merged.
Also, if you think -r is still revelant here, let me know ;)

Good catch! You are right, POST should be used here to keep consistency with empty stdin. I'll fix it right now.

That's fixed :)

Thanks, @BoboTiG 🎉


robo3t: add libGL

Motivation for this change
Missing shared library libGL.so.1.
Closes #39817
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

cc @emanueleperuffo

Hi!
Thanks for this!
Should I do something or will this be accepted by someone?

I think we have to wait for a contributor with write access :laughing:

cc @xeji

@GrahamcOfBorg build robo3t

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: robo3t
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: robo3t
Partial log (click to expand)
shrinking /nix/store/w705v3p3zch0swsyqg6bw0axi8dxll10-robo3t-1.1.1/lib/robo3t/lib/libicui18n.so.56.1
shrinking /nix/store/w705v3p3zch0swsyqg6bw0axi8dxll10-robo3t-1.1.1/lib/robo3t/lib/libicuuc.so.56.1
shrinking /nix/store/w705v3p3zch0swsyqg6bw0axi8dxll10-robo3t-1.1.1/lib/robo3t/lib/libssl.so.1.0.0
shrinking /nix/store/w705v3p3zch0swsyqg6bw0axi8dxll10-robo3t-1.1.1/lib/robo3t/lib/libstdc++.so.6.0.22
shrinking /nix/store/w705v3p3zch0swsyqg6bw0axi8dxll10-robo3t-1.1.1/lib/robo3t/lib/platforms/libqxcb.so
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/w705v3p3zch0swsyqg6bw0axi8dxll10-robo3t-1.1.1/lib  /nix/store/w705v3p3zch0swsyqg6bw0axi8dxll10-robo3t-1.1.1/bin
patching script interpreter paths in /nix/store/w705v3p3zch0swsyqg6bw0axi8dxll10-robo3t-1.1.1
checking for references to /build in /nix/store/w705v3p3zch0swsyqg6bw0axi8dxll10-robo3t-1.1.1...
/nix/store/w705v3p3zch0swsyqg6bw0axi8dxll10-robo3t-1.1.1


Reduce output size of metrics endpoint

Problem
Currently, when collecting stats for 201 services after running the exporter for 13 days with 12 shards the metrics endpoint output size is as follows:

Shard
Services
Payload (KB)

1
18
30,792

2
25
55,378

3
16
40,243

4
15
29,123

5
21
34,345

6
22
40,100

7
10
19,948

8
19
47,790

9
11
20,234

10
15
40,499

11
19
37,366

12
19
29,092

Total
210
424,910

With a scrape interval of 60 seconds the bandwidth requirement becomes 7,082 KB/s. In terms of storage requirements, this is 424,910 KB * 60 mins * 24 hours = 584 GB of raw data per day.
This can cause considerable impact on Prometheus scraping performance as this is a very large payload.
Proposal
Currently, each datacenter is a label which multiplies the number of each metric. When combined with a metric that has a status_code label this can explode the number of metrics returned.
A possible solution to reduce the output size of the metrics endpoint would be to aggregate the datacenter.
Analysis of how this might impact the output size for the earlier example is as follows:

Shard
Services
Payload (KB)

1
17
645

2
25
934

3
16
607

4
14
531

5
21
796

6
21
786

7
10
394

8
18
686

9
10
398

10
15
582

11
19
718

12
15
569

Total
201
7,646

With a scrape interval of 60 seconds the bandwidth requirement becomes 127 KB/s. In terms of storage requirements, this is 7,646 KB * 60 mins * 24 hours = 11 GB of raw data per day.
A comparison to the results with having individual datacenter metrics shows the following improvements:

Datacenter
Payload (KB)
Rate (KB/s)
Storage (Daily in GB)
Reduction

Individual
424,910
7082
584

Aggregated
7,646
127
11
98%

A side effect of having aggregated datacenter metrics would be the memory consumption should be reduced. It it hard to determine the exact impact but there should certainly be some improvements.
Conclusion
Aggregated data center metrics would provide an option for users that wish to reduce the metrics endpoint output size. By providing this as an option (not the default) this would allow users to decide if the benefits of reducing the output size outweigh the loss of inidivual datacenter metrics.

I have worked with @matthope to create a preliminary implementation of this feature. Before I take the final steps to turn this into an open pull request I wanted to have a discussion if this is a feature that would be beneficial to add the Fastly exporter.
The initial implementation is based on the work done by @matthope in 2020 and required some effort to bring forward to the head of the master branch.
I then took the opportunity to refine the implementation based on his feedback and our discussions.
This means this work will need to be combined into 2 commits each attributed to the developer who added the code. As there are no contributing guidelines there is clarity required about how this work should be submitted.
The current state of the implementation is:

1 commit by @matthope
4 commits by @mikelorant

These are a combination of 2 stacked branches layered upon master.
The final diff report can be viewed here:
https://github.com/fastly/fastly-exporter/compare/main...fairfaxmedia:fastly-exporter:feature/aggregate-datacenter-improve
Any feedback would be greatly appreciated.

Preliminary pull request #153 created.

This pull request is being split into multi pull requests.
The first change is to refactor the way labels are implemented allowing the default labels to be changed easily. See pull request #167.


Must delete existing photo from cloud storage when photo is changed.

Describe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
Additional context

Done in branch newResultsLeaderboard


update to ubuntu utopic

some update supporting Ubuntu utopic
fix aa.allow_incomplete required with ubu >= 14.10 as host
cheers

Sorry but I'm no longer maintaining this repository and  I'm not supporting new boxes.
Apologies for the huge delay and thanks for the patch :beers: Feel free to submit a PR updating the readme with a link to your box in case you made it available on Atlas!


Suggest ideas to improve User Interface of the application.

Contributions are welcomed as a part of hacktoberfest.
Feel free to send PR

What are you trying to improve?

@bbashel1  user-interface

where can I pull the repo?

I'll attempt to fix up a few things with the UI tomorrow. Cheers!

@DonutDeflector  thanks 👍

List of things I'll fix up and add:

Grid system for mobile
Navigation Menu Styling (mostly adding a background-color)
3 Fix Image Scaling on Mobile

I'll make a few tweaks here and there as well.

@DonutDeflector  looking forward to your PR.

Upon selecting the date, rest of the components go out of alignment.

This issue happens on the profile page, upon clicking the Gender tab.
Another issue that I think might be similar, the text is not aligned correctly

@SankalpW thankyou for your suggestions we will look forward to it.

thanks for the PR 👍  @SankalpW


Error: 504 - Installation Guide

https://notiolink.thcl.dev/installation-guide

Hi, this one is expected if notion exceeded the time out threshold.
I have a plan to optimize the request to try to fix this problem.
For now, you can just refresh the page until it redirect to the original link.

@theodorusclarence got it, do you want me to close this or leave it here to just keep track ?

It's alright, thanks for opening an issue!


Allow running unrolled scenarios in different performance test categories

Sometimes we want to run different scenarios of an unrolled performance test (e.g. parallel = true/false) in different performance test coordinator builds. This is currently not possible, since the category works on the (not unrolled) method name or the full class.

This works now with the new annotations.


A 'v2.0' being appended to tenant ID during authentication

Bug Report
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.8.0
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.4.1

go version go1.22.2 windows/amd64

Sample code:
azCred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
	return err
}

serviceURL := utils.Env("AZURE_STORAGE_SERVICE_ADDRESS").(string)
if serviceURL == "" {
	serviceURL = "https://fail.blob.core.windows.net/"
}
azBlobClient, err = azblob.NewClient(serviceURL, azCred, nil)
if err != nil {
	return err
}

_, err = azBlobClient.CreateContainer(context.Background(), "test-container", nil)
if err != nil {
	println(err.Error())
	return err
}

I'm receiving this error with the Blob Storage SDK since the past hour, It was working fine yesterday.
DefaultAzureCredential: failed to acquire a token.
Attempted credentials:
	ClientSecretCredential authentication failed.
		GET https://login.microsoftonline.com/xxxxxxxx-de26-4ebd-be02-cbe43432e9bev2.0/.well-known/openid-configuration
		--------------------------------------------------------------------------------
		RESPONSE 400: 400 Bad Request
		--------------------------------------------------------------------------------
		{
		  "error": "invalid_tenant",
		  "error_description": "AADSTS90002: Tenant 'xxxxxxxx-de26-4ebd-be02-cbe43432e9bev2.0' not found. Check to make sure you have the correct tenant ID and are signing into the correct cloud. Check with your subscription administrator, this may happen if there are no active subscriptions for the tenant. Trace ID: ffa2ec51-1d36-4fd9-897a-871f790a7c00 Correlation ID: f57f4acb-0bca-431d-995e-422f10e6a8ad Timestamp: 2024-11-06 09:04:35Z",
		  "error_codes": [
		    90002
		  ],
		  "timestamp": "2024-11-06 09:04:35Z",
		  "trace_id": "ffa2ec51-1d36-4fd9-897a-871f790a7c00",
		  "correlation_id": "f57f4acb-0bca-431d-995e-422f10e6a8ad",
		  "error_uri": "https://login.microsoftonline.com/error?code=90002"
		}
		--------------------------------------------------------------------------------
		To troubleshoot, visit https://aka.ms/azsdk/go/identity/troubleshoot#client-secret

Though I'm pretty sure AZURE_TENANT_ID is set properly in my environment variables.

The https://login.microsoftonline.com/xxxxxxxx-de26-4ebd-be02-cbe43432e9bev2.0/.well-known/openid-configuration URL doesn't work but if I remove the v2.0 at the end of the tenant ID, it returns what I assume is the expected response.

Does anyone know what could be causing this issue? Thanks a ton!

This appears to be a regression in github.com/AzureAD/microsoft-authentication-library-for-go v1.3.0, released yesterday. Please comment if your application uses a different version. If you're on v1.3.0, please try reverting to v1.2.3

I have been facing this during today as well with workload identity in pod running in aks cluster.
WARN: ChainedTokenCredential: failed to acquire a token. Attempted credentials: AzureCLICredential: fork/exec /bin/sh: no such file or directory ManagedIdentityCredential: failed to authenticate a system assigned identity. The endpoint responded with {"error":"invalid_request","error_description":"Multiple user assigned identities exist, please specify the clientId / resourceId of the identity in the token request"} DefaultAzureCredential: failed to acquire a token. Attempted credentials: EnvironmentCredential: incomplete environment variable configuration. Only AZURE_TENANT_ID and AZURE_CLIENT_ID are set WorkloadIdentityCredential authentication failed. GET https://login.microsoftonline.com/111111-22222-4444-9999-888888888v2.0/.well-known/openid-configuration -------------------------------------------------------------------------------- RESPONSE 400: 400 Bad Request -------------------------------------------------------------------------------- { "error": "invalid_tenant", "error_description": "AADSTS90002: Tenant '111111-22222-4444-9999-888888888v2.0' not found. Check to make sure you have the correct tenant ID and are signing into the correct cloud. Check with your subscription administrator, this may happen if there are no active subscriptions for the tenant.  ....., "error_uri": "https://login.microsoftonline.com/error?code=90002" } -------------------------------------------------------------------------------- To troubleshoot, visit https://aka.ms/azsdk/go/identity/troubleshoot#workload  WARN:  ChainedTokenCredential: failed to acquire a token. Attempted credentials: AzureCLICredential: fork/exec /bin/sh: no such file or directory ManagedIdentityCredential: failed to authenticate a system assigned identity. The endpoint responded with {"error":"invalid_request","error_description":"Multiple user assigned identities exist, please specify the clientId / resourceId of the identity in the token request"} DefaultAzureCredential: failed to acquire a token. Attempted credentials: EnvironmentCredential: incomplete environment variable configuration. Only AZURE_TENANT_ID and AZURE_CLIENT_ID are set WorkloadIdentityCredential authentication failed. GET https://login.microsoftonline.com/111111-22222-4444-9999-888888888v2.0/.well-known/openid-configuration -------------------------------------------------------------------------------- RESPONSE 400: 400 Bad Request -------------------------------------------------------------------------------- { "error": "invalid_tenant", "error_description": "AADSTS90002: Tenant '111111-22222-4444-9999-888888888v2.0' not found. Check to make sure you have the correct tenant ID and are signing into the correct cloud. Check with your subscription administrator, this may happen if there are no active subscriptions for the tenant. ....., "error_uri": "https://login.microsoftonline.com/error?code=90002" } -------------------------------------------------------------------------------- To troubleshoot, visit https://aka.ms/azsdk/go/identity/troubleshoot#workload
I will try to downgrade azidentity...

This was caused by a bug in github.com/AzureAD/microsoft-authentication-library-for-go v1.3.0 which has now been fixed with v1.3.1. So you can solve this issue by upgrading that module.
If you're authenticating via ADFS, wait for v1.3.2 or pin v1.2.3; v.1.3.1 has another bug affecting ADFS clients

I was just about to comment that dowgrading auth lib helps, but now I can just update the package. Thank you @chlowell

Upgrading to v1.3.0 managed to make it work for me. Thanks so much @chlowell !


Add support for pod subnet

Add support for pod_subnet_id

@mr-onion-2 sorry for the late reply, our test infrastructure was broken last week, and we've just fixed it. We've changed the test runner's pool name, would you please rebase this pr with the latest master branch so our new test pipeline can run the test? Apology for your inconveniency and thanks for your understanding.


Improved vault-files interface

Hi, thanks for making this tool.
Can you add a vault-files categorization setting? Maybe we can add icons next to names.
Similar this :

It would be nicer if the tab was not drop-down. It would be nice if it could be like the picture above or something similar.
but it would be nice if we could create the subcategories ourselves.
Example ; Tiger MI, Act1 MI, Act1 Epic etc.
Category example ;

Taken from titan quest wiki.
I store a lot of stuff and if you can do this, it will be a great help to me.
Can you add a feature to extract the item list in the tooltip option as txt or excel format? As Tq-Turkey(TR), we intend to use this when trading.
And I'm looking forward to the forge update, can you give an estimated release time?
and Thanks again.
I used translate, sorry for that.

Can you add a feature to extract the item list in the tooltip option as txt or excel format?

Hi,
Wich one? The "Item Tooltip" the "Search Result Tooltip" or the "Bag Button Tooltip" ?

Can you add a feature to extract the item list in the tooltip option as txt or excel format?

Hi, Wich one? The "Item Tooltip" the "Search Result Tooltip" or the "Bag Button Tooltip" ?

Bag button tooltip

In the interim, the vault and character contents are dumped to a text file in your TQVault data folder.
Look for <vault/character name>PlayerCollection.txt.

In the interim, the vault and character contents are dumped to a text file in your TQVault data folder. Look for <vault/character name>PlayerCollection.txt.

it's not true since #339

In the interim, the vault and character contents are dumped to a text file in your TQVault data folder. Look for <vault/character name>PlayerCollection.txt.

it's not true since #339

That's what happens when you don't keep up to date on the latest versions.  Thanks for the correction.


Update stable version in repo from 1.4.7 to 1.4.9

Think about update stable version to 1.4.9
Version: stable=1.4.7 (260 days old) => latest=1.4.9 (20 days old)
Installs: stable=433 (57.5%), latest=38 (5.05%), total=753
Click to use developer portal
Click to edit
Do not close this issue manually as a new issue will be created if condition for update still exists.
Please drop a comment if any reason exists which blocks updating to version 1.4.9 at this time.
Note: This is an automatically generated message and not personally authored by bluefox!
@mcm1957 for evidence

Is there any reason to delay updating this adapter at stable any longer?
Please drop a commit if you know any reason to refrain from updating.
If there is no response until 22.10.2024 we could decide to update anyway

PR already exists.


Enviroment variable to disable system-deps

I am using gvsbuild to compile a gtk application on windows (I have other dependencys that won't compile under MSYS). Before the gtk-rs release a few weeks ago I could compile with:
${Env:RUSTFLAGS} = "-L C:\gtk-build\gtk\x64\release\lib"; cargo build

Now that gtk-rs uses system-deps I have to disable each dependency individually, which results in:
${Env:SYSTEM_DEPS_glib_2_0_NO_PKG_CONFIG} = 1;
${Env:SYSTEM_DEPS_glib_2_0_LIB} = "glib-2.0";
${Env:SYSTEM_DEPS_cairo_NO_PKG_CONFIG} = 1;
${Env:SYSTEM_DEPS_cairo_LIB} = "cairo";
${Env:SYSTEM_DEPS_cairo_gobject_NO_PKG_CONFIG} = 1;
${Env:SYSTEM_DEPS_cairo_gobject_LIB} = "cairo-gobject";
${Env:SYSTEM_DEPS_gobject_2_0_NO_PKG_CONFIG} = 1;
${Env:SYSTEM_DEPS_gobject_2_0_LIB} = "gobject-2.0";
${Env:SYSTEM_DEPS_atk_NO_PKG_CONFIG} = 1;
${Env:SYSTEM_DEPS_atk_LIB} = "atk-1.0";
${Env:SYSTEM_DEPS_pango_NO_PKG_CONFIG} = 1;
${Env:SYSTEM_DEPS_pango_LIB} = "pango-1.0";
${Env:SYSTEM_DEPS_gio_2_0_NO_PKG_CONFIG} = 1;
${Env:SYSTEM_DEPS_gio_2_0_LIB} = "gio-2.0";
${Env:SYSTEM_DEPS_gdk_pixbuf_2_0_NO_PKG_CONFIG} = 1;
${Env:SYSTEM_DEPS_gdk_pixbuf_2_0_LIB} = "gdk_pixbuf-2.0";
${Env:SYSTEM_DEPS_gdk_3_0_NO_PKG_CONFIG} = 1;
${Env:SYSTEM_DEPS_gdk_3_0_LIB} = "gdk-3.0";
${Env:SYSTEM_DEPS_gtk+_3_0_NO_PKG_CONFIG} = 1;
${Env:SYSTEM_DEPS_gtk+_3_0_LIB} = "gtk-3.0";
${Env:SYSTEM_DEPS_GTK+_3.0_NO_PKG_CONFIG} = 1;
${Env:SYSTEM_DEPS_GTK+_3.0_LIB} = "gtk-3.0";
${Env:SYSTEM_DEPS_gtk_3_0_NO_PKG_CONFIG} = 1;
${Env:SYSTEM_DEPS_gtk_3_0_LIB} = "gtk-3.0";
${Env:SYSTEM_DEPS_GTK_3.0_NO_PKG_CONFIG} = 1;
${Env:SYSTEM_DEPS_GTK_3.0_LIB} = "gtk-3.0";
${Env:RUSTFLAGS} = "-L C:\gtk-build\gtk\x64\release\lib";
cargo build

Would it be possible to add somthing like SYSTEM_DEPS_DISABLE?

@sdroege : how do you think we should handle this?

I don't know, from somewhere all the library names have to come from. That's the main problem here.
The official gtk way of doing that are the PKG-config files, and it seems like a bug to me that gvsbuild does not include them. If you used the meson build system included in gtk you could build with msvc and get those.
Maybe @nirbheek has a suggestion?

I thought gvsbuild shipped pkgconfig files? @nacho if it doesn't, shouldn't it ship pkgconfig files?

We definitely ship pkgconfig files...

Then it should just work.

Does gvsbuild ship with pkg-config? Is it built with --define-prefix enabled by default? If so, it should not need any PKG_CONFIG_PATH tweaking. We do that in gstreamer and it works well.

If I recall correct gvsbuild ships pkgconf, which should deal properly with --define-prefix. Maybe double check that all the pc files are in place and if some is missing let me know and I will add them

Ah, this is prehaps more complicated than I though 😅.
If I add C:\gtk-build\gtk\x64\release\bin to Path I get:
Package gtksourceview-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtksourceview-3.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gtksourceview-3.0', required by 'virtual:world', not found
Package 'gtksourceview-3.0', required by 'virtual:world', not found

It doesn't look like gtksourceview-3.0.pc is anywhere in the gtk-build directory. Seems like this is the only one missing though, because I can build with:
${Env:GTKSOURCEVIEW_3.0_NO_PKG_CONFIG} = 1;
${Env:SYSTEM_DEPS_GTKSOURCEVIEW_3.0_LIB} = "gtksourceview-3.0";
cargo build

Do you need gtksourceview? If yes, note that we have not updated gsv for years. You might need to first update it in gvsbuild.

Latest gtksourceview is 4.6.1 which supports meson, so it shouldn't be too hard to update it.

The gtk-rs bindings are for sourceview 3, although I see there is a crate for sourview 4. I have to admit, this is a bit out of my league. My build command is a bit more sensible now, so feel free to close this.

Closing then, I don't think it makes much sense to disable system-deps completely.


Ruby 3.4 dependency gemspec change

csv.rb was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add csv to your Gemfile or gemspec. Also contact author of postgres-copy-1.7.1 to add csv into its gemspec.

@DRSisco that did the trick. I'm going to release a new minor version


LoopUnroll: handle more variations of the comparison builtin

Handle !=, <, <= in addition to ==, >, >=.
This enables loop unrolling if the loop is written as 'while i < e { }'.
rdar://problem/46606173

@swift-ci test

@swift-ci benchmark

@swift-ci test

@swift-ci test

@swift-ci benchmark

@swift-ci benchmark

Build failed
Swift Test Linux Platform
Git Sha - 5f4e231c0bba8b9721160c9b6e2fe6503a9d6822

Build failed
Swift Test Linux Platform
Git Sha - 5f4e231c0bba8b9721160c9b6e2fe6503a9d6822

Build comment file:
Performance: -O

TEST
OLD
NEW
DELTA
RATIO

Regression

ObjectiveCBridgeFromNSArrayAnyObjectForced
4459
4992
+12.0%
0.89x

How to read the data
The tables contain differences in performance which are larger than 8% and
differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the
regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false
alarms. Unexpected regressions which are marked with '(?)' are probably noise.
If you see regressions which you cannot explain you can try to run the
benchmarks again. If regressions still show up, please consult with the
performance team (@eeckstein).

Hardware Overview
  Model Name: Mac Pro
  Model Identifier: MacPro6,1
  Processor Name: 8-Core Intel Xeon E5
  Processor Speed: 3 GHz
  Number of Processors: 1
  Total Number of Cores: 8
  L2 Cache (per Core): 256 KB
  L3 Cache: 25 MB
  Memory: 64 GB

--------------

Build comment file:


Error on banner install

I'm using this page: https://developers.google.com/web/fundamentals/engage-and-retain/app-install-banners/ to create a web app banner install.
I have the sw.js as service worker in public/admin/
I have registered with success the service worker
and i have the manifest.json in public/admin too like this

{
  "name": "Web App Install",
  "short_name": "Admin",
  "icons": [
    {
      "src": "/admin/mstile-70x70.png",
      "sizes": "36x36",
      "type": "image/png"
    },
    {
      "src": "/admin/mstile-70x70.png",
      "sizes": "48x48",
      "type": "image/png"
    },
    {
      "src": "/admin/mstile-70x70.png",
      "sizes": "72x72",
      "type": "image/png"
    },
    {
      "src": "/admin/mstile-70x70.png",
      "sizes": "96x96",
      "type": "image/png"
    },
    {
      "src": "/admin/mstile-70x70.png",
      "sizes": "144x144",
      "type": "image/png"
    },
    {
      "src": "/admin/mstile-70x70.png",
      "sizes": "192x192",
      "type": "image/png"
    }
  ],
  "start_url": ".",
  "display": "standalone",
  "related_applications": [{
            "platform": "web"
        }],
    "related_applications": [],
    "prefer_related_applications": false
}

but i'm getting an error on trying install the web app
the error is
"Site cannot be installed: no matching service worker detected. You may need to reload the page, or check that the service worker for the current page also controls the start URL from the manifest"
Can someone help me please.
Thanks in advance.
Carlos Vieira

Anyone can help me on this ?


feat: handle SIGBUS / SIGSEGV only when originating from YARA's memory blocks

YARA currently registers its own signal handler unless instructed otherwise with SCAN_FLAGS_NO_TRYCATCH. This is dangerous for several reasons:

The current implementation is racy; when multiple threads scan simultaneously, the original signal handler may never be restored.
If the calling application is multithreaded, and one thread scans with YARA while a signal occurs in another thread, then that signal is ignored by the current signal handler.
If a callback from YARA causes a segmentation fault, YARA assumes this to be due to the data, potentially causing havoc if the caller (which may be unaware of YARA's signal handler) expects its own signal handler to be called.

This PR tries to improve this situation by adding several safety mechanisms when handling signals:

Creating a signal handler in the (racy) POSIX way is now secured with a mutex
Signals are only handled if the fault address lies within the currently inspected memory block
Unhandled signals are forwarded to the signal handler that was installed before YARA (analogous to the Windows implementation, which uses EXCEPTION_CONTINUE_SEARCH)

This is related to https://github.com/hillu/go-yara/pull/137, which tries to deal with these issues with an original signal handler (installed by the Golang runtime) versus YARA's signal handler. Thanks to @plusvic for initially identifying the problems with a process wide signal handler, and to @hillu for discussing possible solutions.

Looks nice! Would have allowed us to catch #2016 much more easily.
Not entirely related to your changes, but I wonder if there is actually a reason to catch SIGSEGV?
From my understanding, this signal handler is to handle issues that can arise when reading from an mmap'ed memory region. But afaik, those issues can only trigger SIGBUS signals (for example, mmap'ing a file, shortening it, then reading past the new end of the file), and are not supposed to trigger SIGSEGV. Are there expected scenarios where reading from a mmap region raises a SIGSEGV signal?

SIGSEGV is caught, I believe, because it's used on FreeBSD / OpenBSD instead of SIGBUS in the scenario you described, see issue #551.
I agree though that catching SIGSEGV on other POSIX systems is unnecessary. Maybe we can add a differentiation by OS so we only catch the signal that is necessary. Similarly, I don't think catching EXCEPTION_ACCESS_VIOLATION (which is the SIGSEGV equivalent) on windows is necessary - EXCEPTION_IN_PAGE_ERROR (the SIGBUS equivalent) should be sufficient.


Added few geeky quotes

Hey @shauniop, nice quotes!
The translation of the first one doesn't include any geeky words, can you modify that? Rest looks good.


Some CL10.clSetKernelArg methods set an incorrect arg_size value

Environment

LWJGL version: 3.1.6
LWJGL build #: 14
Java version: 1.8.0_162
Platform: Windows
Module: opencl

Description
Some of the CL10.clSetKernelArg methods set an incorrect arg_size value.
I have tested this for the following methods, but others might have the same problem:

method
expected
actual

clSetKernelArg3i
(1 << 2) * 4
(1 << 2) * 3

clSetKernelArg3f
(1 << 2) * 4
(1 << 2) * 3

clSetKernelArg3l
(1 << 3) * 4
(1 << 3) * 3

https://www.khronos.org/registry/OpenCL/sdk/1.2/docs/man/xhtml/dataTypes.html
specifies that 3-component vector types are aligned to 4*sizeof(component)

I think I'll just remove the clSetKernelArg3x overloads. Any objections?

I think I'll just remove the clSetKernelArg3x overloads. Any objections?

Using the clSetKernelArg4x overloads with 0 as the last parameter works fine.
Removing methods could potentially be a breaking change though.
Apart from that I don't think this would be a problem.
Maybe add a line to the javadoc telling the user to use the clSetKernelArg4x overloads for 3 component vectors.

My thinking is that removing them is not a breaking change in practice, since there's no kernel argument type for which they could have worked without an error.


ldap

How is ST2 integrated with LDAP

Closed in favor of https://github.com/StackStorm/st2/discussions/5575


Download resolutions

Hello - these screen savers appear as though they are a lower resolution on a MBP than when they are run on Apple tv. Are higher resolutions available as a setting?

Issue is a duplicate of #15


Individual image captions?

[x] This is a question about using the theme.

Two questions about image captions:

Does the theme provide a way to add captions to individual images (using either <figure> or gallery) rather than simply one caption for the entire group/gallery?

Is there a straightforward way to display the caption below the image in the popup/lightbox view? Any way to populate the div.mfp-title? Something like adding a title: or caption: attribute to each gallery image in the front matter, and then somehow setting that as the titleSrc in the Magnific Popup options.

No the theme only supports 1 caption per <figure> element. I couldn't find a consistent way of styling the grid with captions that may or may not be on every image.

the gallery helper could be modified to include a title attribute that I believe Magnific Popup uses to populate the overlay caption. Other option would be to possibly modify the JavaScript to have MP use the alt attribute as the image's titleSrc.

I'm thinking enhancing the gallery helper might be the way to go. Could change L#35 and 44 to something like:
alt="{% if img.alt %}{{ img.alt }}{% endif %}"
title="{% if img.title%}{{ img.title}}{% endif %}">

And then the title could be set in YAML like:
gallery:
  - url: unsplash-gallery-image-1.jpg
    image_path: unsplash-gallery-image-1-th.jpg
    alt: "placeholder image 1"
    title: "Title for image 1"
  - url: unsplash-gallery-image-2.jpg
    image_path: unsplash-gallery-image-2-th.jpg
    alt: "placeholder image 2"
    title: "Title for image 2"

Thank you! I've made a change to the gallery helper that has inserted title attributes. However, Magnific Popup still doesn't seem to be picking it up. Maybe a change to the JavaScript is required?

I did a quick test and was able to get it working. I mistakenly suggest adding the title attribute to the <img> elements. If you add it to the <a> it works.
...
<a href=
  {% if img.url contains "http" %}
    "{{ img.url }}"
  {% else %}
    "{{ img.url | prepend: "/images/" | prepend: base_path }}"
  {% endif %}
  {% if img.title %}title="{{ img.title }}"{% endif %}
>
...

I'll be adding this small enhancement to the theme shortly. But if you add the line with img.title and then set titles in the YAML like in my previous example above you should be good to go.

Yes, it works! Thank you!


[EventHubs] update buffered producer changelog and version

related to #24196

API change check for azure-eventhub
API changes are not detected in this pull request for azure-eventhub


Calendar Attachments

I've been trying to send a calendar invite as an attachment to an email. I can get the calendar invite to attach and come through, but Outlook and other mail clients fail to recognise it as a calendar invite.
I've been trying to follow the steps you mention here, but I can't get the content type and other info to pass through.
attachments.inline['v2.ics'] = { mime_type: 'text/calendar', name: 'v2.ics', content_type: 'text/calendar; charset=utf-8; method=REQUEST', content: File.read(Rails.root + 'spec/fixtures/v2.ics') }

But the actual email has it attached as:
Content-Type: text/calendar; name=v2.ics
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename=v2.ics

when I think what I want is something more like:
Content-Type: text/calendar; method=REQUEST
Content-Transfer-Encoding: Base64
Content-Disposition: inline; filename=v2.ics

The wiki implies the gem is compatible with the ActionMailer API, so what am I missing?
I'm using version 0.22.1 of the gem

Hi @rmaspero,
Looks like you are explicitly attaching the invite inline (attachments.inline bit) in your example:
attachments.inline['v2.ics'] = {
  mime_type: 'text/calendar',
  name: 'v2.ics',
  content_type: 'text/calendar; charset=utf-8; method=REQUEST',
  content: File.read(Rails.root + 'spec/fixtures/v2.ics')
}

To get the Content-Disposition as attachment can you please try this:
attachments['v2.ics'] = {
  mime_type: 'text/calendar',
  name: 'v2.ics',
  content_type: 'text/calendar; charset=utf-8; method=REQUEST',
  content: File.read(Rails.root + 'spec/fixtures/v2.ics')
}

Let us know how it goes!

Hi @pgraham3,
Sorry if I wasn't clear enough; my problem is not with the Content-Disposition but the additional info in the Content-Type. It doesn't seem to be passed through. e.g. the method=REQUEST part.

Got it @rmaspero!
So it looks like this has come up recently on https://github.com/ActiveCampaign/postmark-rails/issues/97 and was solved there. I imagine your use case would be for dynamically generating ICS invites rather than attaching files directly?
Here is a quick example of working ICS attachment showing the expected 'Add to Calendar' prompt in Gmail (requires the icalendar gem)
class CalendarMailer < ApplicationMailer
  def test_ics_mail
    # Create a calendar with an event (standard method)
    cal = Icalendar::Calendar.new

    cal.event do |e| # check icalendar gem docs for more details on the options available
      e.dtstart     = 1.day.from_now + 1.hour
      e.dtend       = 1.day.from_now + 3.hours
      e.summary     = "Some event"
      e.description = "With a description"
    end

    attachments["appointment"] = { mime_type: "text/calendar", content: cal.to_ical }

    mail(to<EMAIL_ADDRESS>subject: "Calendar attachment test")
  end
end

With the icalendar gem you can dynamically generate your invites and won't have to store .ics files.
Tested in Rails console (development environment) via CalendarMailer.test_ics_mail.deliver

I'll also get this use case added to the wiki.

Hi @pgraham3,
Thanks, I had already looked at that issue and its solutions. My implementation already does these bits but many other email clients don't recognise an attached .ics file as an invite like Gmail's web interface.
I already have my .ics file created and am testing using one I know that my email client (MacOS Mail, and Outlook) when attached correctly automatically detect.
My problem is that Outlook and MacOS Mail appear to need the the content type to have the method request bit to show/detect the invites correctly Content-Type: text/calendar; method=REQUEST.
Postmark doesn't seem to be passing these through when set using the ActionMailer attachments API.

Hi @pgraham3,
So despite setting that explicitly the Content-Type doesn't seem to be carried through and postmark sends:
Content-Type: text/calendar; name=v2.ics
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=v2.ics

Not sure where it is getting overwritten, but assume it is either not being passed to postmark correctly by the gem or postmark itself is rewriting the Content-Type.

@rmaspero Good point...if I send directly through the Postmark API the Content-Type method=request bit is preserved, as expected. It is also present if I inspect the attachment using the above example code:

Yet as you are seeing it is missing when I check the email source in Gmail.
Let me spend some time investigating the base postmark gem, which handles the interactions with the Postmark API, to see if attachment headers are being modified there.

Alright I believe I found our root issue and a workaround, @rmaspero!
For background see this closed issue from 2019 in the base postmark gem.
To get the method=request bit of the header to propagate through, please add an initializer to monkey patch it for now:
# config/initializers/mail_attachments_patch.rb

module Mail
  class Message
    protected

    def export_native_attachments
      attachments.map do |attachment|
        basics = {
          "Name" => attachment.filename,
          "Content" => pack_attachment_data(attachment.body.decoded),
          "ContentType" => attachment.content_type
        }
        specials = attachment.inline? ? { "ContentID" => attachment.url } : {}

        basics.update(specials)
      end
    end
  end
end

Sending via this mailer code below resulted in the correct header appearing in Gmail/Postmark after using the above initializer:
def test_file_ics_mail
    attachments["v2.ics"] = {
      content: File.read("spec/fixtures/files/v2.ics"),
      headers: {
        "Content-Type" => "text/calendar; name=v2.ics; method=request",
      }
    }

    mail(to<EMAIL_ADDRESS>subject: "Calendar attachment test")
  end

We will work on getting that monkey patch fix implemented into the base postmark gem. Once that is addressed you will be able to remove the patch.

@pgraham3 hugely appreciate the work in finding the root cause of the issue. I've tested the monkey patch and that is working for me 🙌🏻


Seek misfunctions after inserting specific key sequence

After inserting a specific set of KV pairs in lexicographic key order (sorted with bytes.Compare, as used by the DB), seeking for some key prefixes stops to work (returns io.EOF immediately). Inserting one more KV pair undoes the damage while e.g. closing and reopening the DB does not.
I can reliably produce such state by inserting the first 796 (when sorted by their SHA1 hash) fortunes from the plan9port fortune file, using the SHA1 hash as the key. The value used doesn't seem to matter.
A program demonstrating the issue can be found at:
http://play.golang.org/p/nvBij8buMA
https://gist.github.com/slrz/a80bdbc7af5c0753091f
Actual output:
got: 511 (expected: 511) (for n=795)
got: 0 (expected: 512) (for n=796)
got: 513 (expected: 513) (for n=797)
Expected output:
got: 511 (expected: 511) (for n=795)
got: 512 (expected: 512) (for n=796)
got: 513 (expected: 513) (for n=797)
Enumerating the full DB using SeekFirst still seems to work. Replacing the 0x10 key prefix in the program with 0x09 or 0x11 also shows the expected behaviour.
Neither DB.Verify nor kvaudit report any issues with the DB.
If you don't have plan9port installed, the file referenced in the test program is this one:
https://github.com/9fans/plan9port/raw/ca9ae08876bc9ce2107fac50cf703760ecf10901/lib/fortunes
Go compiler and runtime are today's tip on Linux but trying with go1.4 shows the same behaviour, as does OS X.

Please update your local copy of github.com/cznic/exp and test. Thank you.

Thanks, that resolves the issue.


Use Runtime.version() if available to get the JRE version

This should fix issue #584 by reimplementing the method used to get the JRE version.
It uses Runtime.version() if available, i.e. if running on JRE 9 and above, instead of the old implementation using Package.getImplementationVersion() that no longer works, and falls back to the previous implementation if Runtime.version() is not available.

Codecov Report

Merging #585 into master will decrease coverage by 0.01%.
The diff coverage is 66.66%.

@@             Coverage Diff              @@
##             master     #585      +/-   ##
============================================
- Coverage      74.2%   74.18%   -0.02%
- Complexity      905      906       +1
============================================
  Files           176      176
  Lines          4047     4052       +5
  Branches        316      316
============================================
+ Hits           3003     3006       +3
- Misses          893      895       +2
  Partials        151      151

Impacted Files
Coverage Δ
Complexity Δ

...in/java/com/google/api/gax/core/GaxProperties.java
81.81% <66.66%> (-18.19%)
6 <1> (+1)

Continue to review full report at Codecov.

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

ping @vam-google

@Raibaz something went wrong with merging the upsteam changes. Pleas clean it up leaving only the runtime version changes (I would recommend resetting your branch with everything from upstream and then adding the runtime version changes to it). Currently there are 60 file changes pending in this PR. The changes are not related and even if all that will merge properly it is too risky to push such PR.

Whops, sorry about that, messed up the history by merging instead of rebasing.
Rebased on master, should be ok now.

@Raibaz Thanks for your contribution!


Compatibility with BAE charging backend 8.1.0 [DO NOT MERGE]

Should not be merged before new BAE has been released!

Obsolete with latest changes


Cannot use Rs Align and Rs Point Cloud in RsProcessingPipe at the same time

Required Info

Camera Model
D435

Firmware Version
<IP_ADDRESS>

Operating System & Version
Win 10

Platform
PC

SDK Version
RealSense SDK 2.0

Language
unity

Segment
VR

Issue Description
How can I use Rs Align and Rs Point Cloud of in RsProcessingPipe at same time?
I can use only Rs Align, but I activate Rs Point Cloud,  then Unity Editor stopped.
Please help me.

Hi,
The pointcloud filter align the frames internally.
The PointCloudDepthAndColor sample demonstrates how to do that using PointCloudDepthAndColor
processing pipe.

Thanks matkatz.
but I wanna show PointCloud and calculate position of object in color image.
so I have to use aligned depth image.

I added pointcloud filter on the the AlignmentSample processing pipe and the editor is streaming with no issues. (tested on v2.17.0)
There is an alignment issue that I need to check in case the pointcloud filter comes before the align filter in the pipe.
You can see my configuration below, please update to v2.17.0 in case you are using an older version and let me know if you still see this issue.


BIP100: Dynamic maximum block size by miner vote

These changes are for Bitcoin Core 0.12.  For the XT version, see https://github.com/bitcoinxt/bitcoinxt/pull/188.
Implementation of the BIP100 specification as published.
Full nodes need no configuration to follow the network sizelimit as determined by BIP100.  Miners may set their coinbase /B vote using
-maxblocksizevote=<n> Set vote for maximum block size in megabytes (default: network sizelimit)
Most RPC's return the sizelimit as of the current tip, consistent with the other attributes.  getblocktemplate returns the sizelimit for a block built on the current tip, which may change by a factor of up to 1.05 at the start of a difficulty interval, per the specification.
On first run, block index entries starting at the activation height (449568, which was in January 2017) are updated to track miner size votes and sizelimit history.  Use -debug=reindex (NOT -reindex) to see the progress of this update.
The current network sizelimit is published in the user agent string as EB.
This implementation does not lift the 32MB physical MAX_SIZE limit.  File buffer sizes, sanity checks in bitcoin-tx, verifytxoutproof, outbound bandwidth limiting (core version only), and merkle blocks also continue to reference MAX_BLOCK_SIZE as a general scale indicator.

What's the reason for doing this on top of 0.12(which is a year out of date at this point)? We are currently on version 0.14.

@jameshilliard Two reasons.  We aren't the best people to port these changes to segwit, and most miners currently would rather not run segwit.

@dgenr8 Not sure what segwit has to do with it, most changes between 0.12 and 0.14 don't have anything to do with segwit, 0.12 isn't really suitable for mining anymore since there are known DoS vectors in addition to not supporting compact blocks for connecting to the relay network or CPFP.

@jameshilliard What are the PR numbers of the DoS fixes?

@dgenr8 I probably shouldn't list them in case someone ends up wanting to try and exploit them. Even if the fixes were backported 0.12 would still not be suitable for mining.

@jameshilliard CPFP and CB good additions but are not required for mining. Could you send me an e-mail at<EMAIL_ADDRESS>with your DoS conserns?

@dagurval They are effectively required at this point in order to be competitive, I don't think cherry picking from upstream is a good idea as the fix for at least one DoS would be quite obvious from the commit and could then be used against any 0.12 nodes that haven't updated yet.

Thanks for your conserns @jameshilliard. Too bad that you could not contribute.

Pushed a parser bugfix from @dagurval.  We'll squash these after a while.

Pushed changes to support specification update https://github.com/jgarzik/bip100/pull/20.

Pushed coinbaseaux support from @dagurval.

Pushed vote search edge cases and some squashes.


Bump environment

I thought Id bump repo2docker to JupyterLab 3.1.0.
Decided to bump the rest of the dependencies in environment.yml too.... let's see if it works....

This pull request has been mentioned on Jupyter Community Forum. There might be relevant details there:
https://discourse.jupyter.org/t/what-is-installed-by-default-with-binder/10217/4

I've updated JupyterLab to 3.1.1

@betatim or @yuvipanda, with your deeper experience about repo2docker - do we go for merge on this pending upcoming release that manics is preparing?
I dont know much about the implications of merging this.

Let's do it!

Thanks, @manics and @consideRatio!


How to test custom token in unity editor?

It seem unity editor auth is not accept any token. But I want to test access from custom token. Can we set anything relate to auth in database instance?

You can only authenticate using a service account in the Unity editor at the moment.
See
https://firebase.google.com/docs/database/unity/start#configuring_the_sdk_for_the_unity_editor
Cheers,
Stewart


Upload existing code

Structure and upload code from Finn's 7T project.

@emilljungberg
Can you make it possible for me to push to the repo?

Sorted! I've made you, Theo and Nicola admins of the repo as well. Others will have to do pull requests.

Code is now uploaded.


Problem with the deployment in Digital Ocean

Hi:
We are a group of young developers that have used your project of saleor. In our development environment we didn’t have any problem with our customization of the shop but when we deployed to digital ocean we started having problems with the session cart.
When we add a product the redirect works properly but sometimes the item is added to the cart and sometimes no, apart from that another unusual behaviour is that if we refresh sometimes the cart is correct and other times shows the incorrect amount, and finally in the cart index url we can not erase any of the items properly.
Our installation has the following:
Babel==1.3
BabelDjango==0.2.2
Cheetah==2.4.4
Django==1.8.5
Landscape-Client==14.12
Markdown==2.6.4
PAM==0.4.2
Pillow==3.0.0
PyJWT==1.4.0
PyOpenGL==3.0.2
PyYAML==3.10
Pyrex==<IP_ADDRESS>
South==0.7.5
Twisted-Core==13.2.0
Unidecode==0.04.18
apt-xapian-index==0.45
argparse==1.2.1
boto==2.38.0
braintree==3.21.0
chardet==2.0.1
cloud-init==0.7.5
colorama==0.2.5
configobj==4.7.2
cssselect==0.9.1
cssutils==1.0.1
dj-database-url==0.3.0
django-absolute==0.3
django-emailit==0.2.2
django-materializecss-form==0.1
django-model-utils==2.0.3
django-mptt==0.7.4
django-offsite-storage==0.0.6
django-payments==0.8.1
django-prices==0.4.1
django-selectable==0.8.0
django-storages==1.1.8
django-versatileimagefield==1.0.6
django-wysiwyg-redactor==0.4.9
djangorestframework==3.1.3
e==1.4.5
fake-factory==0.5.3
gevent==1.0
google-measurement-protocol==0.1.4
greenlet==0.4.2
gunicorn==17.5
gyp==0.1
html5lib==0.999
jsonfield==1.0.3
jsonpatch==1.3
jsonpointer==1.0
lxml==3.5.0
oauth==1.0.1
premailer==2.9.6
prettytable==0.7.2
prices==0.5.4
psycopg2==2.4.5
py==1.4.20
pyOpenSSL==0.13
pycryptodome==3.3.1
pyserial==2.6
pytest==2.5.1
python-apt==<IP_ADDRESS>ubuntu1
python-debian==0.1.21-nmu2ubuntu2
pytz==2015.7
requests==2.2.1
saleor==0.1.0a0
satchless==1.1.3
sendgrid==1.5.14
six==1.5.2
smtpapi==0.2.0
ssh-import-id==3.21
stripe==1.27.1
suds-jurko==0.6
urllib3==1.7.1
virtualenv==1.11.4
wheel==0.24.0
whitenoise==2.0.4
wsgiref==0.1.2
xmltodict==0.9.2
zope.interface==4.0.5

Are you using cache for session storage? Are there multiple Django processes or multiple droplets? If so, do you use a shared cache server between them? Django defaults to caching in local process memory which mean each process would have its own idea of what a particular session contains. This is not a problem with ./mange.py runserver as it's always using a single process.

Thanks!!
That's the problem we had! We had gunicorn 3 times so it was going between each of the gunicorn instances.
To point out it could be a good idea to put a place we're grateful people (like us) can donate even if it's a little :)
Best regards

If you want to give back, we'd love to hear the story behind your store. How you built it, what works and what doesn't, what are the areas where we could improve? Cheers!

Hi:
We are developing the store for a friend that sells Gourmet products online (from Spain). We developed it  using you're project like base, then we develop a customized frontend templates using Yoman creating a webapp with grunt and bootstrap.
With this we develop extra modules needed for showing the events that the company organize and recipes with their products, apart form that we develop static section (contact, home...)
Then we modify some things from you're project to fullfil the requirements, for example if a distributor logs in the web we show the stock price, and calculate the total price using the stock price. In the delivery we added a method to calculate the shipment price depending on the weight of the package and the distance between the shop and the delivery destination. Then we made some changes to put a price from which the shipment is free, we added a parameter in the settings that determine that price.
Now that the the server is running we are trying to make work the payments in the server and thinking how to add the possibility to add coupons in the checkout to make discounts in the final price.
For server we used digital ocean because we where used to use it, to make it work we had to modify the gunicorn to use your wsgi because was a custom droplet with a basic django project.
I will start with the things that didn't work that is only one, the fixed product discount launch a error.
Then the things that works, the dashboard is amazing, easy to use and very fluid and quick. In the more technical part, the code is very clear to add things and learn a little bit, we just started with python and Django.
For improve we don't think about anything now, only the things we needed to add so we needed to do anything, but we think that could be a good idea where a price and the type of packaging for them, like quantity of items for box for example.
I think that I didn't forgot anything now we have to ensure that the payments work properly in the server now that we have the cart and checkout working properly.
Again thanks for making this project opensource

Thanks for sharing! I'm going to close this issue now but please open one whenever you have a question or something to share. By the way, we're working hard on making checkout even better!


ThingerTinyGSM.h does not compile with FreeRTOS

Olá, @alvarolb
The ThingerTinyGSM.h file needs to be fixed so that it can compile with FreeRTOS.
The correction proposal below is correct:
Here (link)
class ThingerTinyGSM : public ThingerClient

#ifdef THINGER_FREE_RTOS
,public ThingerESP32FreeRTOS
#endif

{

public:
    ThingerTinyGSM(const char* user, const char* device, const char* device_credential, Stream& serial) :
        ThingerClient(client_, user, device, device_credential),
        #ifdef THINGER_FREE_RTOS
        ThingerESP32FreeRTOS(static_cast<ThingerClient&>(*this)),
        #endif
        modem_(serial),
        client_(modem_)
    {

Hello, @alvarolb
Taking advantage of the library update, could you check this suggested correction?

Hello, @alvarolb
Any news on this fix?
thanks


E2E tests can leave test services in the TRE, instead of cleaning up properly

Describe the bug
After manually deploying the TRE and running the E2E tests, I have a working TRE, but there is a workspace service named 'DO NOT USE' that's in the menu (see screenshot). The E2E tests should clean that up, regardless of success or failure of the test.
Unfortunately, I don't have the output of that run on disk, so I can't give more information than that.
Steps to reproduce

Deploy the TRE
Run the E2E tests
If you're (un)lucky, you'll find this vagrant service available to deploy.

Azure TRE release version (e.g. v0.14.0 or main):
main
Deployed Azure TRE components - click the (i) in the UI:
UI Version:   0.5.21
API Version: 0.18.5

Hi Tony, we run automated end to end tests to validate and environment in the development process. We typically don't log into these environments, but if it does fail, things need to stay as they are so we can troubleshoot what happened. We then destroy the whole environment, using another command (can read here if interested https://github.com/microsoft/AzureTRE/blob/main/maintainers.md#pr-comment-bot-commands )
E2E tests should not be part of production deployment. That's why we have this repo - https://github.com/microsoft/AzureTRE-Deployment

OK, thanks, we can close this one.


List Crowi team as a contributor on GROWI

Hi Crowi team,
We are developing a new feature to list contributors on GROWI. See more details on https://github.com/weseek/growi/issues/1045.
We would like to recognize and give special thanks to Crowi team and list Crowi team under "Special Thanks". If you have a preferred name or prefer not to be listed, we are more than happy to accommodate your request. We would like to hear back from you by 6/17.
Regards,
GROWI team

@mizozobu
Thank you for inform us to note our project on your contributor list.
Crowi has a lot of contributor in past (of course it includes current Growi member :)).
I think it is enough that you already listed as Crowi Team on your special thanks list.
Thank you very much :)

Crowi team will be listed under "Special Thanks" on GROWI contributor list.
Thank you 👍


Debug Console does not flush console.log before exit

Version: 1.45.0
Commit: d69a79b73808559a91206d73d7717ff5f798f23c
Date: 2020-05-07T16:10:24.511Z
Electron: 7.2.4
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.4.0-29-generic
Steps to Reproduce:

Start a debugger with the following program:

for (let i=0; i < 1000; i++) {
    console.log({i});
}

When the program exits, see that the Debug Console has not printed all 1000 objects.

Does this issue occur when all extensions are disabled?: Yes

I can reproduce this also with the js-debug. Thus forwarding to @connor4312 to investigate first on the debug extension side.

Thanks, this is the same as https://github.com/microsoft/vscode-js-debug/issues/161. tl;dr is that in order to print complex things like objects, the debug UI needs to make a followup request to the debugger. If the program/debug session exits too quickly, this cannot be done.
/duplicate


Revamp Feedback page according to existing theme of website

The current feed back page is a little off theme so i would like to revamp it according to the existing theme

@apu52 I would like to contribute to this issue under jwoc 2024

@apu52 I would like to contribute on this issue under jwoc 2024


docs: add acknowledgments section

Earlier this month we received licenses for free use of IDE's from JetBrains, I think it worth mentioning this and add a note that the new members of the organization (active contributors) can get it.

Coverage remained the same at 39.86% when pulling 837a5fb27ebcd21dd8f74d9b562dad850501a480 on docs-acknowledgments-section into 05c386e9c05f11649fc69280a3d2d5be23b2db49 on master.


sap_ha_pacemaker_cluster - AWS instances detection improvement

Current platform detection is checking ansible_system_vendor and ansible_product_name for "amazon" string, but it is not present in every AWS EC2 instance.
Example from my test environment:
m5.large (APP):
"ansible_product_name": "m5.large",
"ansible_system_vendor": "Amazon EC2",

r4.2xlarge (HDB):
"ansible_product_name": "HVM domU",
"ansible_system_vendor": "Xen",

https://github.com/sap-linuxlab/community.sap_install/blob/f41c5fe469568a5db084438dde571c69042ddfd0/roles/sap_ha_pacemaker_cluster/tasks/platform/ascertain_platform_type.yml#L47
Solution:
Add verification for ansible_product_version as it contains amazon string, because it is not present anywhere else. Optional fact ansible_bios_version also contains amazon string.
when:
    - '"amazon" in ansible_system_vendor | lower
      or "amazon" in ansible_product_name | lower
      or "amazon" in ansible_product_version | lower'

Example:
m5.large:
"ansible_product_name": "m5.large",
"ansible_product_version": "NA",
"ansible_system_vendor": "Amazon EC2",

r4.2xlarge:
"ansible_product_name": "HVM domU",
"ansible_product_version": "4.2.amazon",
"ansible_system_vendor": "Xen",

Hostvars filtered out for amazon on r4 instance:
nw750ahahdb1:~ # cat /tmp/hostvars.json | grep -i Amazon
    "ansible_bios_version": "4.2.amazon",
        "bios_version": "4.2.amazon",
                "device": "fs-redacted.efs.eu-central-1.amazonaws.com:/",
        "product_version": "4.2.amazon",
            "device": "fs-redacted.efs.eu-central-1.amazonaws.com:/",
    "ansible_product_version": "4.2.amazon",

Pull request #596 created with proposed change.

@marcelmamula This code design should not attempt to resolve or workaround data quality issues (it is requirement for Cloud IaaS Certification that certain SMBIOS fields are used by a Cloud Vendor, which are absorbed into Ansible Facts and we're reusing).
In addition, r4 series is from 2016 and while still SAP Certified - really should not be used. The latest release is r7.
I don't see much of a reason to provide a workaround in the code for the r4 series, truthfully.

@marcelmamula Willing to compromise given the change is small, but I don't want us to get into bad habits adding workarounds for every platform's legacy stuff such as Azure VMs (Classic/ASM). This will be closed after PR completes.

This issue can be close, since the merge has been completed. can you (@marcelmamula and @sean-freeman) confirm?

https://github.com/sap-linuxlab/community.sap_install/pull/597 was merged and issue is closed.


added a config option to replace Div tags to React Fragments

Hello guys,
I introduced improvements to React snippets (+16.2 ver)
It replaces  tags to <></> React Fragments.
I've also added an option so that it adds a menu in the VSCode (checkbox).
Can you please have a look and verify that it keeps working. It works on my end, please accept the PR.
P.S. Lates version of VSCode did not like a tslint recommendation.

Super useful addition.


oauth2: state parameter is missing when response_type=id_token

Confirmed.
I can verify when it's solved.

upstream https://github.com/ory-am/fosite/issues/96

resolved by https://github.com/ory-am/fosite/commit/4db14222a006bfdc1e7f2b2769e53f2dbd69f128


[WIP] Refactor functions

Summary
Renamed label_XXX()s.

This pull request may conflict with #269 because both of pull requests rename a lot of global functions. I'll discard conflicted renaming because #269's naming may be more appropriate than mine, which created by a Japanese speaker.


Not working with OBS 28 (64-bit) on Windows 11 with Python 3.10

(Thank you VERY much -- I have been using zoom-and-follow reliably for several years--through many upgrades of OBS--but it is not working for me now....)
System: Windows 11 64-bit kept up-to-date with Windows Updates
OBS Studio:  28.0.0 (64 bit)
Python:  3.10.6 (64-bit)
[... ran installer with pip installed to: C:\Program Files\obs-studio\py\python310]
PyWinCtl: 0.0.38
[... executed the following in Python directory (with Admin privs)> .\python.exe -m pip install pywinctl]
Configured OBS Studio: Tools --> Scripts
Python Install Path:  C:\Program Files\obs-studio\py\python310
Script:  C:\Program Files\obs-studio\py\src\zoom_and_follow_mouse.py
When I launch OBS Studio, the Script Log opens with these messages:
[zoom_and_follow_mouse.py]
C:\Program Files/obs-studio/py/src\zoom_and_follow_mouse.py:566: SyntaxWarning: "is" with a literal. Did you mean "=="?
     if source_string is "":
Non-initial update
Source 'Display Capture' not found.
None
Source Name:
NOTE: My Source is: "Display Capture"
When I open Settings --> Hotkeys, I enter my usual keys, and they do NOT work for me:  No zoom.
Here is a part of my Script Log:
[zoom_and_follow_mouse.py] Zoom: True
[zoom_and_follow_mouse.py] Mouse position: [-1573, 236]
[zoom_and_follow_mouse.py] Zoom: True
[zoom_and_follow_mouse.py] Mouse position: [-1589, 351]
[zoom_and_follow_mouse.py] Zoom: True
[zoom_and_follow_mouse.py] Mouse position: [-1589, 351]
[zoom_and_follow_mouse.py] Tracking: True
[zoom_and_follow_mouse.py] Tracking: False
It seems to me that the Zoom Hotkey is being received by the script, but it is not "toggling" from True to False (and it is NOT having the zoom effect either).  However, the mouse tracking seems to be toggling from on to off.
Again: Thank you VERY much.
PS:  At the very top of the script, please consider adding a DOCSTRING like:
"""\
  This script is written to be called from OBS Studio.  It allows users to zoom and follow the mouse.  For more information, please visit the project: https://github.com/tryptech/obs-zoom-and-follow
"""

Should be fixed now. I think I actually solved this issue a while back but forgot to change the initial state of one variable. Please give it a try and let me know how it goes.

Thank you VERY MUCH for the quick response....   Unfortunately, when I zoom-in, what happens is the visible portion shrinks to the upper left but the magnification is still static at 100%, so OBS captures a clipped rectangle with a black vertical strip across the far right and a black horizontal strip across the bottom (a flipped "L").  [When I move the mouse around within the zoomed-in view, the motion is perfect (the frame is set, but when I move the mouse towards an edge, the frame shifts; then when I move the mouse back towards center, the frame is set)].  So, the issue that I have now is that the magnification remains 100%.  Instead of the magnification remaining 100% and the border shrinking-in to the upper left, what should happen is that the magnification should increase to scale so that the image fills the screen and covers over the black strips on the right and bottom.  Thank you VERY much.

I think for that case, the source should be given a bounding box, and set to "scale to inner bounds". I haven't found a way to set that via the addon, so it has to be set manually in that case.

Yes, that was it!  Thank you VERY much!   In case it helps, here are the steps:
Source set to: Display Capture
Right-click "Display Capture"
Select: Transform
Select: Edit Transform
In "Bounding Box Type," select: Scale to inner bounds.
If you're in the US, have a GREAT long Labor Day Weekend!
🥇


Load file doesn't do anything

Sometimes, on a fresh load of the web version, loading a file doesn't do anything. It only loads successfully on the second time. I've reproduced this many times.

Hi
What browser are you running on? Can you provide a way to reproduce this on the browser?
This happens on the desktop version on older versions but was a NWJS realated bug.
Thanks for reporting

I'm running Google Chrome Version 58.0.3029.110 (64-bit) on macOS.
This always happens to me when I sit down to do some work, open nunuStudio and attempt to load a file. The first attempts don't work. The following attempts do.
To reproduce, maybe:

Close the web browser
Launch the web browser
Open https://nunustudio.org/editor/editor.html
Attempt to load a file (nothing should happen)
Attempt to load a file again (should work now)

Hi
I think last commit may fixed this problem.
Im doing some automated tests for this since for me on NWJS is occurs randomly but adding the file chooser to the doc before clicking it seemed to fix it.
Thanks for reporting this.
Cumps


Data other than time on the x-axis?

Is it possible to plot data other than time on the x-axis? I'd like to plot price against P&L (a payoff diagram)..

Basically there is the only 1 requirement for a time of data item - data items must be ordered by time in ask. You can put just numbers there or just an index. In additional, you can implement your own time/tick mark formatter so you can display something else instead of time.


CommandBox: Tab shifts caret to after the next delimiter

Possible enhancement: Pressing Tab while focus is on the CommandBox shifts the caret to after the next delimiter.

Resolved with #182


IntelliJ: cannot resolve symbol Token

With the large overhaul of Tokens, this started popping up in some random places

It's not everywhere, here is another case in the same Term.Match that resolves fine:

I import scala.meta.tokens.Token._ at the top of the file.
IDE support is critical for dummies like me :)
BTW, it works fine if I refactor the former statement into this:
      // Case
      case tok @ FormatToken(_, _: KwMatch, _) =>
        Seq(
            Split(Space, 0)
        )

This seems to happen due to the fact that KwMatch (and other tokens) are generated by a macro annotation: https://github.com/scalameta/scalameta/blob/master/scalameta/tokens/src/main/scala/scala/meta/tokens/Token.scala#L47.
@Alefas @mutcianm How do I make Intellij understand what macro annotations like @ast, @token, etc do? I remember there was an experimental technology to do that. What's its current status? Is there a tutorial that would explain how to use it?

Expansion spoofing feature currently is limited to manual in-place macro expansion - more of a macros developer assistant.
It's rather easy. Simply press Alt+Crtl+Shift+Z with caret placed on the line with macro annotation(or any other statement which expands as a macro) and it will expand in-place.

@mutcianm I was wondering about something a bit different. The problem that we're discussing here stems from the fact that we have a class KwMatch in scope, and the macro annotation puts a companion object next to it. Intellij seems to not see the companion object, so it displays red squiggles. How do we avoid the spurious error?

The nightly Scala Plugin for 2016.3 EAP shows no false warnings for my usage of scala.meta.


Fix for Install-LabModule installing into wrong folder in the AllUsers scope (#290)

A PR to fix #290. Sorry for the weird commits from 2017 with no changes, and the merge commit from today being a part of it - don't know how to get rid of that.

Good catch, thanks 😃.


can't deploy on node with contract in grace period.

Description

The state of deploying on node with contract in grace period wasn't clear.
I tried to deploy once and got deployed.

Changes
Playground:

added fucntion validateRentContract, will be called if user tried to deploy in dedicated node.
checks if the node to deploy on with contract in grace period or not.

Grid Client

same for grid client while checking for resources and creating deployment, I check on node.
List of changes this PR includes

Related Issues
#1390
Screencast from 02-25-2024 04:09:26 PM.webm
Screencast from 02-25-2024 04:54:42 PM.webm
Screencast from 02-26-2024 12:54:41 AM.webm
Checklist

[ ] Tests included
[ ] Build pass
[ ] Documentation
[ ] Code format and docstrings
[ ] Screenshots/Video attached (needed for UI changes)

It'll look better to show the error message in the validation part of the select field and disable the deploy button accordingly, instead of enabling the button and getting the error after the deploy button is pressed

applied

Screencast from 02-26-2024 03:50:59 PM.webm
Screencast from 02-26-2024 04:04:09 PM.webm


Change Gallery Columns functionality

Hi,
I have changed the way the gallery columns setting is shown.

@Ismael034 I see you show a dialog insted if this SwitchPreference.
This can be achieved by using ListPreference. I was unsure what to use but if we do it with a Dialog, we should use ListPreference

SwitchPreference

I implemented a Dialog because it look better and you can easily add options like add the option for the user to introduce a custom value in the dialog. I think that the user cannot introduce a custom value with ListPreference

@Ismael034 I am also not sure, if gallery columns will stay, because in landscape mode (currently disabled, but I want to use it again), there we have to use a other number of columns.
Also, I added 3,4,5 on purpose, I dont wanted the user to go crazy with this number.

@Ismael034 I think, I will close this pr. Once im sure, how to handle columns in landscape mode, it will show if we even need this preference. But Thank you really much!

Ok, No problem.
If you need some help in any part of the  project, please, fell free to contact me


typespec-azure-core - ResourceList should allow scalars/non-models in the value array

Currently, ResourceList expects that the value array only contains models. However, the value array should accept scalars like ints/strings as per a discussion with @catalinaperalta and @johanste.
For example, this ResourceList operation using the resource type Version defined here should allow this:
"body": {
        "value": [
          0,
          1,
          2
        ],
        "nextLink": [link](url)
      }

However, it only allows this:
"body": {
        "value": [
          {"schemaVersion": 0},
          {"schemaVersion": 1},
          {"schemaVersion": 2}
        ],
        "nextLink": [link](url)
      }

As a workaround, I'm defining a non-standard list operation by following this example: https://github.com/Azure/azure-rest-api-specs-pr/pull/15492/files

Dup https://github.com/Azure/typespec-azure-pr/issues/3735

Closing as duplicate of: https://github.com/Azure/typespec-azure/issues/262


Rename pcli keys to pcli custody softkms

This can be done as part of introducing a config file to pcli, and will allow us to encourage testnet users to migrate to BIP44 derivations.

Handled in https://github.com/penumbra-zone/penumbra/pull/3239


[networking_mapper] Fix the way ranges are combined in group templates

As a pull request owner and reviewers, I checked that:

[ ] Appropriate testing is done and actually running

recheck

/approve
I could test with my current iterations - it will also be put to test with #1777 and the reproducer molecule test - that one should switch green.

Molecule test for reproducer is passing in #1777 with this patch - so we can go with it!


Update git.ts

Smaller diffrence texts

Please chime in here: https://github.com/Nutlope/aicommits/issues/81


Set default branch to main

Most developers expect the default branch to be main.
Tagging @rrchai

Done


test model PID checkpoint for FLIR, k1=k2=50

Hi
thanks for your work.
can you clearly explain how to use PID checkpoint( for FLIR) for inference with rgb images??
your test script, yaml files belongs to tevnet, kaist and ... !
does it make any difference?

Thanks for your question. We only release the evaluation script for KAIST dataset. You can evaluate the result of KAIST dataset with our introduction. We will release the complete code as soon as the paper is accepted.

sorry but I don't get it, is evaluation script just for KAIST dataset!? why?
you mean if i use this model for predicting other dataset, it give wrong output. am i correct?

Thanks for your question. We only release the evaluation script for KAIST dataset. You can evaluate the result of KAIST dataset with our introduction. We will release the complete code as soon as the paper is accepted.

1、"release the evaluation script for KAIST dataset"
2、The architecture of PID is the same one. But checkpoint differs among datasets. We will release the complete version after the paper is accepted.


minor changes to accomodate for elm 0.17, updated version number as well

Made minor changes in packages.json and .elm file to work with Elm 0.17.

The library is maintained here now: https://github.com/elm-lang/lazy, though this pr is defunct there anyway.


Timeline popup is moving with scrolling

when I scroll down, popup moves pointing to nowhere

@Ladas we are in the process of replacing the timeline control and will not be putting any effort into fixing the current one.


Redesign the time-bar component

In the current component, there is just one line-timer animation. we need to change it so that like the below screenshot.

Solution prorierties:

Using SVG animation, FYI, clipPath has an animation issue on Android, but works on IOS,
Using Flatlist

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

hi @ghorbani-m did you resolve this by downgrading the lib?

Hi @abdymm ,
No, downgrading did not work for me, I tested all solutions and nothing worked at least for me!
Finally, I implemented my component by react-native-reanimated


Sequelize models update

Q
A

Is bugfix?
No

New feature?
Yes (incoming)

Fixed issues

Added fields to reset password in user model

Review required !


Use of the API

Hi, Is the API you guys use free to use for others? I am busy working on a native iPhone app but its a pain going through the destiny documentations. I hoped you guys have it all sorted better.

Are you using https://destinydevs.github.io/BungieNetPlatform/ ?
Thats the same API we use, what are having issues with?

Ah I didn;t know that one, I was using the info on the bungie.net website. Thanks for sharing I'm going to give it a try. :)
Just one more question I couldn't find the answer to, do I have to do a full call on all endpoints and save the data locally or can I just use the api code I get on bungie.net in my app and make calls directly to the bungie.net endpoints?

@v-fedorov are you guys also getting the ToO specific content like current map and information about what weapons were used from a single bungie endpoint or do you guys collect the data from several different endpoints and use your own api to deliver the data as 1 request? Cause snooping around your website I see you guys also use your own endpoints like http://api.destinytrialsreport.com/currentMap

@reshadf You can do use the api key and use the bungie endpoints directly.
Fir the current map you can just find it in https://www.bungie.net/Platform/Destiny/Advisors/V2/ when Trials is active.
We collect data from various endpoints and store it locally to retrieve information about weapons used and so on.


before/after install hooks support

Why:
Running a code block at specific moments of bundler activities like dependency installation is a feature which allows users to customize the their environment based on bundler and installed gems.
What are the new features:

after_install method added to Bundler dsl
before_install method added to Bundler dsl

related to: https://github.com/bundler/bundler-features/issues/118

I've implemented basically this before and we decided not to merge it

Why? It's small, handy and harmless

https://github.com/bundler/bundler/pull/3471

@segiddins is there a past PR/issue that can be referenced?
@lxsameer I'm adding a few questions regarding use cases and why/if this is a necessary feature to the issue that you opened in bundler-features. Let's discuss them there.

We have somewhat more notes written up here: https://trello.com/c/LJUJNMGN. RubyGems already has before-install hooks, and we already respect them, so the discussion is around implementing a more flexible hook system that has slightly more protection against things like exceptions inside hooks.

@indirect This solution is very simple and easy to use specially for end users. Also exception handling can be added to this solution easily. I think the most important point in this solution is simplicity. there is almost no overhead and implementing new hook can be done in no time.
It's an easier solution rather than rubygems hook and suitable for end users for tooling and managing tasks.

@lxsameer this gem already automatically generates ctags for gems as they are installed by Bundler, using the RubyGems install hooks that Bundler already supports: https://github.com/tpope/gem-ctags. Do you have any other use-cases for this kind of hook?

Ugh, I left this comment on the PR when I meant to leave it on the feature request. Sorry, I'll go over there now...

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

@homu done

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


[viostor] don't return SRB_STATUS_SUCCESS for unsupported control codes

On windows, we can use wmic.exe to retrieve disk serial number, full
command line is "wmic path win32_physicalmedia get serialNumber".
The command will random fail if driver returns SRB_STATUS_SUCCESS for
unsupport control codes. (In this case, the ctlcodes are SMART_GET_VERSION,
SMART_SEND_DRIVE_COMMAND, SMART_RCV_DRIVE_DATA, currently none of them
are supported by viostor)
"wmic path win32_physicalmedia get serialNumber" works as follow:

Call DeviceIOControlFile with SMART related ioctl codes;

If ioctl succeeded, parse ioctl buffer to check smart version and
get serial number. (The driver returns SRB_STATUS_SUCCESS for these
ioctl codes, but doesn't fill the output buffer with correct SAMRT data,
so the output buffer contains random bytes, when caller trying to parse
data in output buffer, the result is unpredictable)

If failed to parsing SMART data, one of the following will happen:
a. print a error message like "invalid content" then exit immediately;
b. turn to IOCTL_STORAGE_QUERY_PROPERTY,  serial number returned by this
ioctl was from SCSIOP_INQUIRY, and it's what we actually expect;

If no error occurred when parsing the random data, it will get a wrong
serial number, maybe empty, or some unrecognized characters;

If SAMRT ioctl failed, it will turn to IOCTL_STORAGE_QUERY_PROPERTY, and
will not try to parse SMART data in output buffer.

In order to make sure wmic/wmiprvse can get correct serial number, this patch
modify default status SRB_STATUS_SUCCESS to SRB_STATUS_INVALID_REQUEST for
unsupported I/O control codes.
In fact, if we only want to fix the disk serial number, we just need to let SMART
related I/O control codes fail, but according to MSDN:

Whether a miniport driver handles SRB_FUNCTION_IO_CONTROL requests depends
on whether the HBA is to provide dedicated support for a user-mode application.

All system-defined, required device I/O control requests sent to NT-based
operating system storage class drivers are mapped to SRBs with the Function
member set to SRB_FUNCTION_EXECUTE_SCSI, not to SRB_FUNCTION_IO_CONTROL.

So it's reasonable to fail all unsupported ioctl codes with SRB_STATUS_INVALID_REQUEST.
Signed-off-by: junjiehua<EMAIL_ADDRESS>Reviewed-by: yongduan<EMAIL_ADDRESS>

Tested on win2008, 2012, 2016, 2019.
This issue was reported by a few customers about two years ago，the patch was applied since last year, and no more technical support ticket about this until now.


Remove PackageAliases from FBE

Closes #2163

Looks like travis found some unused imports in core which PackageAliases was somehow masking previously. I'll clean those up.

@djspiewak ready for merge.


[skip ci] added acs-engine code delivery guidelines document (2)

added acs-engine code delivery guidelines

This change is

@dmitsh FWIW using [skip ci] in a commit message is a pattern lots of devs are familiar with–I think this will help!

@seanknox please review

@acs-bot test this please


Bug: CVSS v4 support requires cvss package 3.0 or later

Expected Behavior
pip install owasp-depscan --upgrade should install latest version of package and dependencies
Actual Behavior
CVSS package not upgraded (existing version 2.6 retained). When running depscan get
ImportError: cannot import name 'CVSS4' from 'cvss' (/data/Documents/depscan/lib/python3.10/site-packages/cvss/init.py)
Steps to Reproduce
Have previously installed version of depscan installed in python virtual environment
Additional Information
Dependencies in pyproject.toml file for cvss needs to be >= 3.0

No idea. The versions are not locked in the pyproject.toml. Does it work if the virual environment is created from scratch?

Yes because it downloads the latest versions.
If you are using functionality which is only available in certain versions,
then you should include that in the dependency specification.
On Tue, 24 Dec 2024, 12:46 prabhu, @.***> wrote:

No idea. The versions are not locked in the pyproject.toml. Does it work
if the virual environment is created from scratch?
—
Reply to this email directly, view it on GitHub
https://github.com/owasp-dep-scan/dep-scan/issues/383#issuecomment-2561092536,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACAID27VDF2FN6NT53JDLLL2HFJUHAVCNFSM6AAAAABUEUQ3V6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRRGA4TENJTGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

We are planning to move to uv for v6. Hopefully, this would get sorted automatically. Thank you for flagging this though!


Feature - Info Popup

Is your feature request related to a problem? Please describe.
The user must have an on-hand guide to know about what the plugin does.
Describe the solution you'd like
We have some unused space on the browser's plugin button, which, now, renders a useless popup. It can be used to show to the user some brief synopsis about what each badge means.
A low-level prototype:

Acceptance Criteria

[x] Logo at the upper left corner
[ ] Activate / deactivate switch at the upper right corner
[x] Three columns of text, one for each badge
[x] "Star Us" button that links this repository
[x] A text that asks the user to go to a GitHub page (if not yet)
[x] Respect to the HubCare's visual Identity.

Does anyone have a look at the PR, please?
to see if everything is all right