python310Packages.aioshelly: 3.0.0 -> 4.1.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.aioshelly is: "Python library to control Shelly"
meta.homepage for python310Packages.aioshelly is: "https://github.com/home-assistant-libs/aioshelly"
meta.changelog for python310Packages.aioshelly is: "https://github.com/home-assistant-libs/aioshelly/releases/tag/4.0.0"
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.0.0 with grep in /nix/store/nw7japbvkpy8nly01xqp3py17clakrw3-python3.10-aioshelly-4.0.0
found 4.0.0 in filename of file in /nix/store/nw7japbvkpy8nly01xqp3py17clakrw3-python3.10-aioshelly-4.0.0

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
home-assistant-component-tests.shelly
python310Packages.aioshelly
python39Packages.aioshelly

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/nw7japbvkpy8nly01xqp3py17clakrw3-python3.10-aioshelly-4.0.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.aioshelly https://github.com/r-ryantm/nixpkgs/archive/666d56d92c4a12361e0138715d1e0d656b1f8460.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/nw7japbvkpy8nly01xqp3py17clakrw3-python3.10-aioshelly-4.0.0
ls -la /nix/store/nw7japbvkpy8nly01xqp3py17clakrw3-python3.10-aioshelly-4.0.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package failed to build:

home-assistant-component-tests.shelly

2 packages built:

python310Packages.aioshelly
python39Packages.aioshelly

Maintainer pings
cc @fabaff for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.aioshelly is: "Python library to control Shelly"
meta.homepage for python310Packages.aioshelly is: "https://github.com/home-assistant-libs/aioshelly"
meta.changelog for python310Packages.aioshelly is: "https://github.com/home-assistant-libs/aioshelly/releases/tag/4.1.0"
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.1.0 with grep in /nix/store/lf3cyhkcpq6lbl7h6lp9xsr2xsa32qkf-python3.10-aioshelly-4.1.0
found 4.1.0 in filename of file in /nix/store/lf3cyhkcpq6lbl7h6lp9xsr2xsa32qkf-python3.10-aioshelly-4.1.0

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
home-assistant-component-tests.shelly
python310Packages.aioshelly
python39Packages.aioshelly

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/lf3cyhkcpq6lbl7h6lp9xsr2xsa32qkf-python3.10-aioshelly-4.1.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.aioshelly https://github.com/r-ryantm/nixpkgs/archive/c37dd0805057df6583ab23bdf1687be8b11121cc.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/lf3cyhkcpq6lbl7h6lp9xsr2xsa32qkf-python3.10-aioshelly-4.1.0
ls -la /nix/store/lf3cyhkcpq6lbl7h6lp9xsr2xsa32qkf-python3.10-aioshelly-4.1.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package failed to build:

home-assistant-component-tests.shelly

2 packages built:

python310Packages.aioshelly
python39Packages.aioshelly

Maintainer pings
cc @fabaff for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.aioshelly is: "Python library to control Shelly"
meta.homepage for python310Packages.aioshelly is: "https://github.com/home-assistant-libs/aioshelly"
meta.changelog for python310Packages.aioshelly is: "https://github.com/home-assistant-libs/aioshelly/releases/tag/4.1.1"
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.1.1 with grep in /nix/store/0px2bfxq3ad7pgyia8fijrnzs38m93ks-python3.10-aioshelly-4.1.1
found 4.1.1 in filename of file in /nix/store/0px2bfxq3ad7pgyia8fijrnzs38m93ks-python3.10-aioshelly-4.1.1

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
home-assistant-component-tests.shelly
python310Packages.aioshelly
python39Packages.aioshelly

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/0px2bfxq3ad7pgyia8fijrnzs38m93ks-python3.10-aioshelly-4.1.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.aioshelly https://github.com/r-ryantm/nixpkgs/archive/409bf9bc1b7317354d6a8d83d7574dab1de999f8.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/0px2bfxq3ad7pgyia8fijrnzs38m93ks-python3.10-aioshelly-4.1.1
ls -la /nix/store/0px2bfxq3ad7pgyia8fijrnzs38m93ks-python3.10-aioshelly-4.1.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package failed to build:

home-assistant-component-tests.shelly

2 packages built:

python310Packages.aioshelly
python39Packages.aioshelly

Maintainer pings
cc @fabaff for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.aioshelly is: "Python library to control Shelly"
meta.homepage for python310Packages.aioshelly is: "https://github.com/home-assistant-libs/aioshelly"
meta.changelog for python310Packages.aioshelly is: "https://github.com/home-assistant-libs/aioshelly/releases/tag/4.1.2"
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.1.2 with grep in /nix/store/4r3nyxzvnymvbsqkzign47i9bj8bh2xs-python3.10-aioshelly-4.1.2
found 4.1.2 in filename of file in /nix/store/4r3nyxzvnymvbsqkzign47i9bj8bh2xs-python3.10-aioshelly-4.1.2

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
home-assistant-component-tests.shelly
python310Packages.aioshelly
python39Packages.aioshelly

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/4r3nyxzvnymvbsqkzign47i9bj8bh2xs-python3.10-aioshelly-4.1.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.aioshelly https://github.com/r-ryantm/nixpkgs/archive/fe6b883e12de90f912448df7b968c71f972a77b6.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/4r3nyxzvnymvbsqkzign47i9bj8bh2xs-python3.10-aioshelly-4.1.2
ls -la /nix/store/4r3nyxzvnymvbsqkzign47i9bj8bh2xs-python3.10-aioshelly-4.1.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package failed to build:

home-assistant-component-tests.shelly

2 packages built:

python310Packages.aioshelly
python39Packages.aioshelly

Maintainer pings
cc @fabaff for testing.


Handwriting Recognition?

I want to input training data where each character is represented as an array of vectors (I mean each point's coordinates are given relative to the previous point) with the end property signifying whether it's the last point of a stroke.
For example, the letter "T" might look like this:
[   { x: 15, y: 38, end: false},   { x: 49, y: -8, end: false},   { x: 15, y: 4, end: true},   { x: 47, y: 26, end: false},   { x: -4, y: 37, end: false},   { x: 0, y: 4, end: false},   { x: 12, y: 21, end: true} ]
I believe I should use LSTM.  But the page says training data must be array of values.  Obviously I have an array of hashes.  So what do I do?
EDIT: By the way, I have successfully used regular brain.NeuralNetwork on images (in the form of pixel arrays).  But I want to use vectors not pixels.

Are you trying to model the strokes?

Yes

I see. I am more from ML background a d new to brainjs. If you dont have an
actual stroke data it is hard to learn a consistent model for strokes. The
typical mnist dataset for example doesn't provide any stroke data..
On Wed, Oct 30, 2019, 8:10 AM MelerEcckmanLawler<EMAIL_ADDRESS>wrote:

Yes
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/BrainJS/brain.js/issues/460?email_source=notifications&email_token=AAMOGFK3PTVT6WCEKGNYN7DQRC7GLA5CNFSM4I57OHPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECSMKKI#issuecomment-547669289,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMOGFPEQDDD6NJ7RQSUDXDQRC7GLANCNFSM4I57OHPA
.

I have a graphics tablet to create my own stroke data

Nice!
On Tue, Nov 5, 2019, 2:21 PM MelerEcckmanLawler<EMAIL_ADDRESS>wrote:

I have a graphics tablet to create my own stroke data
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/BrainJS/brain.js/issues/460?email_source=notifications&email_token=AAMOGFI2O3IXLZT4KNHAZ7DQSD7GXA5CNFSM4I57OHPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDBUDQI#issuecomment-549667265,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMOGFOTNNDT3ETQYPN3UXTQSD7GXANCNFSM4I57OHPA
.


Please Provide Option to add  groups dynamically

Many Application Needs Dyanmic Role Creation Using Form and assign the permission using checkbox. There is static set of array written in AuthGroups.php so if we want give option to user to create a new group for their application then how we can do ?

Shield uses our Settings library underneath. This means that you can create an area for your users to change roles/permissions and then use the setting() method to save them to the database. This is then automatically recognized by Shield.
See this related code in my project, Bonfire for an example of how you might do that.


Might be a bug not sure

RegisterServerEvent('esx_ambulancejob:firstSpawn') AddEventHandler('esx_ambulancejob:firstSpawn', function() 	local _source    = source 	local identifier = GetPlayerIdentifiers(_source)[1] 	MySQL.Async.fetchScalar('SELECT isDead FROM users WHERE identifier = @identifier', { 		['@identifier'] = identifier 	}, function(isDead) 		if isDead == 1 then 			print(('esx_ambulancejob: %s attempted combat logging!'):format(identifier)) 			TriggerClientEvent('esx_ambulancejob:requestDeath', _source) 		end 	end) end)
This is from esx_ambulancejob, the issue is isDead now returns a table insted of the being a single result, dont even think they noticed, but testet with 2 different versions of 3.x.x this was not a problem with 2.x.x

ah just did a for loop to fix it currently.

Already fixed in 3.0.8. See the closing reason.


Identify a solution to deploy the dev, staging and prod instances to AWS (architecture only)

References

Build & Deploy Multi-Container Apps to AWS (YouTube)

AWS CodeBuild
AWS Elastic Beanstalk

Deploy Docker container in ECS using docker compose (YouTube)

AWS Fargate in ECS using docker compose

Ideally this task will be assigned to the Platform team.

Done


Cannot remove the admin user from parent org in the sub org level to revoke access

Describe the issue:
$subject
How to reproduce:

In a sub org level try to remove the parent admin user in order to revoke access for this user to the console at sub org level
Note there's some error in background and the operation gets hanged from the UI leve

https://github.com/wso2/product-is/assets/4951983/94b62685-941b-43ce-ab14-0ac2035b5009
Expected behavior:
It should be possible to revoke access by a priviledge user at the sub org level.
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: IS 7 RC7
OS: Linux
Database: MYSQL
Userstore: JDBC

Optional Fields
Related issues:

Suggested labels:

This seems to be happening only for the super admin it seems


add nodemon argument swallowing information

Spent a while struggling with this last night.
Wrote a comment on an issue here.

@sebmck Done. Sorry, didn't catch that.

Great, thanks!


kernel: mem_domain: minor typo fixes

Testing the TRIVIAL PR feature.
Fixing a few minor typo fixes in kernel/mem_domain.c
and the respective documentation section.
Signed-off-by: Ioannis Glaropoulos<EMAIL_ADDRESS>

Codecov Report

Merging #10901 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #10901   +/-   ##
=======================================
  Coverage   53.29%   53.29%
=======================================
  Files         215      215
  Lines       25900    25900
  Branches     5708     5708
=======================================
  Hits        13803    13803
  Misses       9777     9777
  Partials     2320     2320

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 3f71772...1345d35. Read the comment docs.


WIP: Add support for github action workflows

WIP Notes: Adding documentation on the steps for configuration of github pages for reference when deploying

Hello, this will require minor configuration in the repo settings.
Please read the full text, and references below before merging.

Merge the PR
You will need to go to Settings -> Pages -> Source -> Branch: Select gh-pages, Folder: Select /(root)
Hit Save
This will deploy a version to algorithm-archivists.github.io/algorithm-archive
If you do not see it here, wait 3-8 minutes.

Up to here, this is non destructive to the current deployment mechanisms.
The next change will bring down the site if it is incorrect.

Note: if you are hosting anything else on this domain, do not follow these steps. Comment on the PR and let me know and I will help with the config

Read this doc in full
Follow the steps listed here
Configure the custom domains. My DNS records for tindle.dev look like the following

Add the custom domain to GitHub Pages in Settings -> Pages -> Custom Domain -> Fill out the custom domain with algorithm-archive.org
My GitHub Pages settings looks like this:

IMAGE HERE WHEN IT IS FINSIHED UPDATING DNS

Response to #790

It knows to go there based on a few things but basically when you enable it in GH Pages it sets it all up for you

I think this looks good, but I want to play with it a bit. I should have time to do that tomorrow.


Rating fix

This fixes the upload problem mentioned in #55.

Those changes are small and obvious enough that I suppose we could skip the review. Hope that's ok.


LL reset bug: should be fixed

Unfortunately, the issue is still present, investigation required.

@guycaprio could you try to repro again please ?

No crash and no errors in console.
✓ QA-ed

b323641 (HEAD, ledger/master) v1.101.0


Login view fails to open in RemoteDebugView after being closed from DeploymentDialog

The login view opens as expected for most scenarios, but this very particular sequence of clicks causes an error which prevents the login view from being able open at all.
To reproduce:

right click .net project in solution explorer
click "Push to TAS"
click log in button in DeploymentDialog
click 'Cancel' to close login view
click 'Cancel' to close DeploymentDialog
right click .net project in solution explorer
click "Remote Debug"
click log in button in Remote Debug view

For some reason I don't understand, calling Close() on the DeploymentDialogView ALSO closes the LoginView?? (this happens implicitly, seemingly as a decision of WPF; none of our business logic is asking for this to happen)

This explains why this bug only occurs when closing the DeploymentDialog; the RemoteDebugView, by contrast, is "closed" using Hide()


SFML and Windows XP

Hello. I collect information about software that is possible to use in Windows XP. I would to know what about SFML.
If your software is ready-to-use (see enviroment and reproduce) in Windows XP, I just add that in my list.
If your are agree to bring your software to ready-to-use in Windows XP, I will add MSFL in my list.
SFML in my list means that project welcomes assistance (testing, guide editors and code writer).
What is actual case?
Please, do not close, if you requires guides for cases with Windows XP.

Subject of the issue
...
Your environment
I'm interested in next option:

Create apps on Windows XP with IDE (I use Code::Blocks) + SFML set.
Other Windows OS and IDE + SFML to create app for Windows XP.

Steps to reproduce

Install Windows XP.
Install IDE to used SFML,
Code some app.
Build app.

Expected behavior
We can create an app on Windows XP using SFML
Actual behavior
Unknown

SFML 3 will likely not work on XP. Older versions do work on XP but I'm not sure precisely which version is the latest that works on XP. Feel free to join the SFML Discord server or post on the forums if you have any more questions about how to get SFML running XP.

SFML 2.6 should still run on Windows XP, but it's not really a platform we actively test for, but we also didn't intentionally remove code to break compatibility in SFML 2.x.
It's unfortunately rather unclear, what you're trying to communicate. You don't need our permission to add SFML to some list of tools that run on Windows XP, but we also won't be investing (much of) our time into helping anyone setting up SFML on Windows XP.


[test][hexagon] Fix pytest fixture resolution bug

Fix a bug in test_benchmark_maxpool2d.py where pytest was unable to find a fixture defined in a different module.

@tvm-bot rerun


Specify checkout and setup-node versions

Fixes a recent issue where GitHub Actions will pause indefinitely, due to the actions edited herein changing their default branch from 'master' to 'main'. Version specificity ensures nothing else needs to change

This is a great update, thank you.


[WIP, FIX] remove bold_mask generation from t2s

Changes proposed in this pull request
Addresses #1786

Removes bold_mask generation from bold_t2s_wf in the case of multi-echo data.
Documentation that should be reviewed

N/A.

This code is passing locally, and it seems like the errors here are in the cache:
FileNotFoundError: [Errno 2] No such file or directory: 'result_csf_msk.pklz'

or due to build time-out:
Too long with no output (exceeded 2h0m0s)

I'll try to clear the cache and re-run.

@emdupre I'm not sure this is a cache issue. Can you try updating the nipype requirement in setup.cfg to:
nipype @ git+https://github.com/effigies/nipype.git@e206f3d53198c683e959fe1e73426ce5cf362b93

Thanks for the pin, @effigies ! That worked perfectly :+1:
The brain masks here for ds210 don't look great, but they do locally for some data @Shotgunosine shared. Should I run (a non-downsampled) ds210 locally as well to confirm ?

@emdupre Yeah, I would go ahead and check on full-resolution (though you might want to truncate to ~40 TRs to save time).

Yeah, those maps do look problematic, hopefully they'll look better on full resolution. It looks like it's mostly including skull as opposed to excluding brain, which is a less drastic error I think.

@emdupre I merged master, so you'll want to pull before doing anything else. Feel free to rebase, if you'd rather not have the pin and merge in the history,

Superceded by #2109


Add rules diff verbosity flag

@cortex-team status update? make images is failing locally so relying on this repo for production ticket

built docker image locally from my forked repo but still not seeing diff rules. hoping to get this merged here this week if possible? @jtlisi @gotjosh @gouthamve

Thank you very much for your contribution @justinTM, this is on my list for this week.

@gotjosh not to spam but any status update? if we could set up a super quick 15 minute call maybe i can get local docker image built with your help? i wouldn't mind writing short documentation afterwards for contributors to build locally, too.

➜  cortex-tools git:(20210716_add_rules_diff_verbosity_flag) ✗ ./cortextool rules diff --id=10428 --key=$GCOM_TOKEN --address=https://cortex-ops-blocks-us-east4.grafana.net --namespaces=ops-us-east-0.metamonitoring rules.yml
Changes are indicated with the following symbols:
  + updated

The following changes will be made if the provided rule set is synced:
~ Namespace: ops-us-east-0.metamonitoring
  ~ Group: alertmanager.rules

Diff Summary: 0 Groups Created, 1 Groups Updated, 0 Groups Deleted
➜  cortex-tools git:(20210716_add_rules_diff_verbosity_flag) ✗ ./cortextool rules diff --id=10428 --key=$GCOM_TOKEN --address=https://cortex-ops-blocks-us-east4.grafana.net --namespaces=ops-us-east-0.metamonitoring rules.yml --verbose
Changes are indicated with the following symbols:
  + updated

The following changes will be made if the provided rule set is synced:
~ Namespace: ops-us-east-0.metamonitoring
  ~ Group: alertmanager.rules
+ name: alertmanager.rules
+ rules:
+     - alert: CHANGEDDDD
+       expr: max_over_time(alertmanager_config_last_reload_successful{job="global-alertmanager/alertmanager"}[5m]) == 0
+       for: 10m
+       labels:
+         severity: critical
+       annotations:
+         description: Configuration has failed to load for {{$labels.instance}} in {{$labels.cluster}}.
+         summary: Reloading an Alertmanager configuration has failed.
+     - alert: AlertmanagerMembersInconsistent
+       expr: max_over_time(alertmanager_cluster_members{job="global-alertmanager/alertmanager"}[5m]) < on(job, namespace, cluster) group_left() count by(job, namespace, cluster) (max_over_time(alertmanager_cluster_members{job="global-alertmanager/alertmanager"}[5m]))
+       for: 10m
+       labels:
+         severity: critical
+       annotations:
+         description: Alertmanager {{$labels.instance}} in {{$labels.cluster}} has only found {{ $value }} members of the {{$labels.job}} cluster.
+         summary: A member of an Alertmanager cluster has not found all other cluster members.
+     - alert: AlertmanagerFailedToSendAlerts
+       expr: (rate(alertmanager_notifications_failed_total{job="global-alertmanager/alertmanager"}[5m]) / rate(alertmanager_notifications_total{job="global-alertmanager/alertmanager"}[5m])) > 0.01
+       for: 5m
+       labels:
+         severity: warning
+       annotations:
+         description: Alertmanager {{$labels.instance}} in {{$labels.cluster}} failed to send {{ $value | humanizePercentage }} of notifications to {{ $labels.integration }}.
+         summary: An Alertmanager instance failed to send notifications.
+     - alert: AlertmanagerClusterFailedToSendAlerts
+       expr: min by(job, namespace, integration, cluster) (rate(alertmanager_notifications_failed_total{integration=~"pagerduty",job="global-alertmanager/alertmanager"}[5m]) / rate(alertmanager_notifications_total{integration=~"pagerduty",job="global-alertmanager/alertmanager"}[5m])) > 0.01
+       for: 5m
+       labels:
+         severity: critical
+       annotations:
+         description: The minimum notification failure rate to {{ $labels.integration }} sent from any instance in the {{$labels.job}} cluster is {{ $value | humanizePercentage }}.
+         summary: All Alertmanager instances in a cluster failed to send notifications to a critical integration.
+     - alert: AlertmanagerClusterFailedToSendAlerts
+       expr: min by(job, namespace, integration, cluster) (rate(alertmanager_notifications_failed_total{integration!~"pagerduty",job="global-alertmanager/alertmanager"}[5m]) / rate(alertmanager_notifications_total{integration!~"pagerduty",job="global-alertmanager/alertmanager"}[5m])) > 0.01
+       for: 5m
+       labels:
+         severity: warning
+       annotations:
+         description: The minimum notification failure rate to {{ $labels.integration }} sent from any instance in the {{$labels.job}} cluster is {{ $value | humanizePercentage }}.
+         summary: All Alertmanager instances in a cluster failed to send notifications to a non-critical integration.
+     - alert: AlertmanagerConfigInconsistent
+       expr: count by(job, namespace, cluster) (count_values by(job, namespace, cluster) ("config_hash", alertmanager_config_hash{job="global-alertmanager/alertmanager"})) != 1
+       for: 20m
+       labels:
+         severity: critical
+       annotations:
+         description: Alertmanager instances within the {{$labels.job}} cluster have different configurations.
+         summary: Alertmanager instances within the same cluster have different configurations.
+     - alert: AlertmanagerClusterDown
+       expr: (count by(job, namespace, cluster) (avg_over_time(up{job="global-alertmanager/alertmanager"}[5m]) < 0.5) / count by(job, namespace, cluster) (up{job="global-alertmanager/alertmanager"})) >= 0.5
+       for: 5m
+       labels:
+         severity: critical
+       annotations:
+         description: '{{ $value | humanizePercentage }} of Alertmanager instances within the {{$labels.job}} cluster have been up for less than half of the last 5m.'
+         summary: Half or more of the Alertmanager instances within the same cluster are down.
+     - alert: AlertmanagerClusterCrashlooping
+       expr: (count by(job, namespace, cluster) (changes(process_start_time_seconds{job="global-alertmanager/alertmanager"}[10m]) > 4) / count by(job, namespace, cluster) (up{job="global-alertmanager/alertmanager"})) >= 0.5
+       for: 5m
+       labels:
+         severity: critical
+       annotations:
+         description: '{{ $value | humanizePercentage }} of Alertmanager instances within the {{$labels.job}} cluster have restarted at least 5 times in the last 10m.'
+         summary: Half or more of the Alertmanager instances within the same cluster are crashlooping.
+
+ name: alertmanager.rules
+ rules:
+     - alert: AlertmanagerFailedReload
+       expr: max_over_time(alertmanager_config_last_reload_successful{job="global-alertmanager/alertmanager"}[5m]) == 0
+       for: 10m
+       labels:
+         severity: critical
+       annotations:
+         description: Configuration has failed to load for {{$labels.instance}} in {{$labels.cluster}}.
+         summary: Reloading an Alertmanager configuration has failed.
+     - alert: AlertmanagerMembersInconsistent
+       expr: max_over_time(alertmanager_cluster_members{job="global-alertmanager/alertmanager"}[5m]) < on(job, namespace, cluster) group_left() count by(job, namespace, cluster) (max_over_time(alertmanager_cluster_members{job="global-alertmanager/alertmanager"}[5m]))
+       for: 10m
+       labels:
+         severity: critical
+       annotations:
+         description: Alertmanager {{$labels.instance}} in {{$labels.cluster}} has only found {{ $value }} members of the {{$labels.job}} cluster.
+         summary: A member of an Alertmanager cluster has not found all other cluster members.
+     - alert: AlertmanagerFailedToSendAlerts
+       expr: (rate(alertmanager_notifications_failed_total{job="global-alertmanager/alertmanager"}[5m]) / rate(alertmanager_notifications_total{job="global-alertmanager/alertmanager"}[5m])) > 0.01
+       for: 5m
+       labels:
+         severity: warning
+       annotations:
+         description: Alertmanager {{$labels.instance}} in {{$labels.cluster}} failed to send {{ $value | humanizePercentage }} of notifications to {{ $labels.integration }}.
+         summary: An Alertmanager instance failed to send notifications.
+     - alert: AlertmanagerClusterFailedToSendAlerts
+       expr: min by(job, namespace, integration, cluster) (rate(alertmanager_notifications_failed_total{integration=~"pagerduty",job="global-alertmanager/alertmanager"}[5m]) / rate(alertmanager_notifications_total{integration=~"pagerduty",job="global-alertmanager/alertmanager"}[5m])) > 0.01
+       for: 5m
+       labels:
+         severity: critical
+       annotations:
+         description: The minimum notification failure rate to {{ $labels.integration }} sent from any instance in the {{$labels.job}} cluster is {{ $value | humanizePercentage }}.
+         summary: All Alertmanager instances in a cluster failed to send notifications to a critical integration.
+     - alert: AlertmanagerClusterFailedToSendAlerts
+       expr: min by(job, namespace, integration, cluster) (rate(alertmanager_notifications_failed_total{integration!~"pagerduty",job="global-alertmanager/alertmanager"}[5m]) / rate(alertmanager_notifications_total{integration!~"pagerduty",job="global-alertmanager/alertmanager"}[5m])) > 0.01
+       for: 5m
+       labels:
+         severity: warning
+       annotations:
+         description: The minimum notification failure rate to {{ $labels.integration }} sent from any instance in the {{$labels.job}} cluster is {{ $value | humanizePercentage }}.
+         summary: All Alertmanager instances in a cluster failed to send notifications to a non-critical integration.
+     - alert: AlertmanagerConfigInconsistent
+       expr: count by(job, namespace, cluster) (count_values by(job, namespace, cluster) ("config_hash", alertmanager_config_hash{job="global-alertmanager/alertmanager"})) != 1
+       for: 20m
+       labels:
+         severity: critical
+       annotations:
+         description: Alertmanager instances within the {{$labels.job}} cluster have different configurations.
+         summary: Alertmanager instances within the same cluster have different configurations.
+     - alert: AlertmanagerClusterDown
+       expr: (count by(job, namespace, cluster) (avg_over_time(up{job="global-alertmanager/alertmanager"}[5m]) < 0.5) / count by(job, namespace, cluster) (up{job="global-alertmanager/alertmanager"})) >= 0.5
+       for: 5m
+       labels:
+         severity: critical
+       annotations:
+         description: '{{ $value | humanizePercentage }} of Alertmanager instances within the {{$labels.job}} cluster have been up for less than half of the last 5m.'
+         summary: Half or more of the Alertmanager instances within the same cluster are down.
+     - alert: AlertmanagerClusterCrashlooping
+       expr: (count by(job, namespace, cluster) (changes(process_start_time_seconds{job="global-alertmanager/alertmanager"}[10m]) > 4) / count by(job, namespace, cluster) (up{job="global-alertmanager/alertmanager"})) >= 0.5
+       for: 5m
+       labels:
+         severity: critical
+       annotations:
+         description: '{{ $value | humanizePercentage }} of Alertmanager instances within the {{$labels.job}} cluster have restarted at least 5 times in the last 10m.'
+         summary: Half or more of the Alertmanager instances within the same cluster are crashlooping.
+

Diff Summary: 0 Groups Created, 1 Groups Updated, 0 Groups Deleted

The second part even though has + was in red for me. I fixed that output in a commit I pushed to the branch. I think we're good to go!

@justinTM Can you open an issue for the docker images with clear steps and the errors you were seeing? This'll help us debug the issue and if its not obvious, I'll be happy to jump on a call with you!


Let the command handler accept DMs

There's a property in every commands modlue.exporst which shows if the command can be safely executed in a users DMs.

Closed with PR #13


[Feature] metatags for zotero [OSF-8709]

Purpose
Allow Zotero to pick up more metadata about osf projects
Changes
Add meta tags for authors, institutions, date modified, tags, relations, identifiers
using combo of Highwire Press and Dublic Core standards.
Side effects
Might slow rendering down a little bit
Ticket
OSF-8709
Before/After
QA Considerations
Currently, unable to capture tags, relations with Zotero plugin. I submit a ticket to Zotero ppl, see here

Could you add a code block to the PR description with the tags from one of your local proejcts?

@fabmiz Merge conflicts


Add addresses in Hawaii (outside of Honolulu)

Status:

[ ] Research sources and propose best source (and it's data license)
[ ] Review proposed source
[ ] Approve source based on review comments
[ ] Add to OpenAddresses

NOTE: Proposed source notes should include basic column mapping to OpenAddress data model.

**
http://hawaiistatewidegisopendataportal.histategis.opendata.arcgis.com/datasets/579b8dcb7a8e44c1af201e1b3cdf655f_25
http://files.hawaii.gov/dbedt/op/gis/data/alltmk.shp.zip
wrote them to see if they have addresses to link to parcel data or if they have a different address point dataset.

Hello,
I’m afraid that we don’t have address points for the parcels.  The City and County of Honolulu does have a site address table for their parcels, which can be found here:  ftp://gisftp.hicentral.com/Attribute_Tables/. For the other counties, you might try contacting their respective Real Property Tax Division offices.
Thanks,
Joan Delos Santos

Joan Delos Santos
Hawaii Statewide GIS Program
State of Hawaii, Office of Planning
235 S. Beretania St., 6th Floor
Honolulu, HI  96813
Phone<PHONE_NUMBER>

i replied to ask if anyone in her office knew of the data and for specific contacts if I were to have to reach out to individual tax offices.

Emailed the following on 11/3/2016:
Kauai County GIS Coordinator:
Garrett Johnson
Department of Information Technology
(808) 241-4492
<EMAIL_ADDRESS>Maui County GIS Services Manager:
Bill Medeiros
Department of Management
(808) 270-7518
<EMAIL_ADDRESS>The County of Hawaii GIS Coordinator is out on leave.  While she is away, you can contact Sheila Cadaoas:
Sheila Cadaoas
Information Systems Program Manager
Department of Information Technology
County of Hawaii<PHONE_NUMBER>
<EMAIL_ADDRESS>

Sent follow-up emails to all three contacts today.  Not really sure why they aren't responding...

It’s always beach-o’clock in Hawaii ;)
On Thu, Nov 10, 2016 at 8:30 AM, Justin Meyers<EMAIL_ADDRESS>wrote:

Sent follow-up emails to all three contacts today. Not really sure why
they aren't responding...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/openaddresses/openaddresses/issues/2032#issuecomment-259737553,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA0EO8gAMoscHfdzlI9vxu2XmT2t3-oBks5q80bAgaJpZM4J-FW-
.

Maui County Parcels - http://hawaiistatewidegisopendataportal.histategis.opendata.arcgis.com/datasets/c61357edec2e4994ae3c179ba8d3088c_8
Maui County Addresses - http://www.co.maui.hi.us/DocumentCenter/Home/Index/125

Wow, they certainly don't make it easy.  Here's the ESRI server behind the scenes:  http://geodata.hawaii.gov/arcgis/rest/services/ParcelsZoning/MapServer/8
Unfortunately this service doesn't have address info.  The second link @justinelliotmeyers posted contains a TSV file that has all the address info but no lat/lng.  Fortunately there's a TMK field shared between the two data sources that seems to be fairly solid, though the TSV contains some padding in its version.
Another good thing, that ESRI server also has parcels for some additional counties and cities in Hawaii.

yeah - there is a statewide parcel dataset and the TMK is the field we want.  I am trying to do 50 things right now, but I can get it in a shapefile and export it out with the joined table.  That sound okay @trescube  ?

Yep, sounds good!

**i always double check my work, and for some reason that table has duplicate TMK ids...  I'll have to see if there are duplicates with different addresses.  Give me a little bit, sorry

i hand checked a few and they all have same address - I did a join, added a frequency field at the end so you can see how many times the TMK id was in the table (*the table had a TMK length of 12 (+000) so i just kept the left 9 and did the join (probably TMI, but just wanted to share).  Joined table in shapefile is here: https://www.dropbox.com/s/ntajztsezsdgkd4/Parcels__Maui_County.zip?dl=0

Downloaded and checked it out.  Looks good, I'll try to get a source together this evening.

@justinelliotmeyers Thanks for getting the data together!

I still need to follow-up with the other two counties.  Once I hear back from them I think we can close the issue if thats okay @trescube ?  Let me know, Thanks!
Justin

Yep, no problem!

@justinelliotmeyers Can you tickle the other 2 Hawaii counties again, please?

Sent follow-up to Kauai, Hawaii, and Honolulu counties. If I do not hear back by wednesday, I will follow-up

02/22/2017
E-mailed Kauai - http://www.kauai.gov/realproperty -<EMAIL_ADDRESS>E-mailed Hawaii County - http://www.hawaiicounty.gov/real-property-tmk-maps -<EMAIL_ADDRESS>and<EMAIL_ADDRESS>Emailed Honolulu County<EMAIL_ADDRESS>- filled out form: https://www.realpropertyhonolulu.com/help-resources/contact-us

Uploading soon:
Hi Justin,
Yes, we do have a TMK shapefile.  We also have corresponding dbase tables that may further assist you.  I will send over a link shortly.  Regarding an address point shapefile, you may want to further contact Planning Dept., as they maintain this dataset.  I have copied Mary Aken their Tax Maps and Records Supervisor.
Thanks,
Cheryl Chan
County of Hawaii
Real Property Tax Division

hawaii county (*i added join for @trescube ) - https://www.dropbox.com/sh/bl9du5wks42tepc/AAB1EZ0zPOIKFgSWDPsvlf5Ua?dl=0

!!! Great work :)
On Wed, Feb 22, 2017 at 8:47 PM, Justin Meyers<EMAIL_ADDRESS>wrote:

hawaii county (*i added join for @trescube https://github.com/trescube
) - https://www.dropbox.com/sh/bl9du5wks42tepc/
AAB1EZ0zPOIKFgSWDPsvlf5Ua?dl=0
[image: untitled]
https://cloud.githubusercontent.com/assets/5324316/23245200/d20bac86-f958-11e6-8f21-70e16d7a6b92.jpg
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/openaddresses/openaddresses/issues/2032#issuecomment-281893624,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA0EOzajSF3XaQRbzfTy06vaD5D8vuSqks5rfQ9IgaJpZM4J-FW-
.

I also asked Cheryl for a contact at Kauai County. Hopefully we finish the entire state soon!

Nice!  I got the data, the regexes aren't bad for splitting up the number and street, should have a PR together by this afternoon.

Getting a GDAL error:  2017-02-23 16:36:11,445    ERROR: GDAL gave Failure 1: IllegalArgumentException: Invalid number of points in LinearRing found 3 - must be 0 or >= 4

Cheryl just sent me the contact information for the other County. I just emailed them and hopefully hear from them soon.

Kauai Parcels: http://geodata.hawaii.gov/arcgis/rest/services/KOHA/koha/MapServer/1


Javascript - Form data persistance

Form data persistance
We don't want the form data to clear out if the user wants to tweak the form after viewing results so saving form data to session storage could be a way to hang on to the form data while the session is active.

Completed


Measure Carbon Emissions of Web Pages

What is your Scenario?
Our organization Roll The Cloud Inc. is a 501(c)3 with a mission of freeing the web of carbon emissions. To this end we would like to better understand the carbon emissions of the websites that we create.
What are you suggesting?
A recent tool that we discovered GreenFrame.io can be used to measure a websites carbon emissions via running Playwright tests. Green frame could made compatible with Test Cafe providing both green software awareness exposure to new audiences and major value add to TestCafe ecosystem itself.
What alternatives have you considered?
Write our tests using Playwright instead of TestCafe so that we can run them on green frame.
Additional context

https://greensoftware.foundation
https://learn.greensoftware.foundation
https://patterns.greensoftware.foundation

Thank you for letting us know about this tool. We will consider the possibility of using it in TestCafe.

TestCafe injects its own client scripts on a page as well as overrides a lot of native functionalities to handle all browsers' native behavior. So, any measurements will be unfair in this case. Unfortunately, there is no way to use TestCafe for your task.


Install guide is lacking.

When I tried installing this plugin, All I got was
You need to download __Twilio Voice SDK for iOS__ from https://media.twiliocdn.com/sdk/ios/voice/releases/3.1.0/twilio-voice-ios-3.1.0.tar.bz2. Uncompress the download - you will need to follow two steps that plugman can not do yet:

* Add the Twilio Voice framework (TwilioVoice.framework) to your Xcode project
* Add the Twilio Voice framework (TwilioVoice.framework) as an embedded binary to your Xcode project

Most of people use Cordova project because either they don't AND don't want to know  a thing about native languages or even though they know some but don't want to bother with them.
just "ADD" to Xcode project was not so much helpful to me, cause I am the former.
spent hours looking into native developments  to understand the concept of framework and how to add or embed....
closely I read a few threads on how to do it in the Cordova way
https://stackoverflow.com/questions/36650522/custom-cordova-plugin-add-framework-to-embedded-binaries
or documents on the native way of opening up the xcode and doing all the steps.
none worked for me.
The example project seems dead and does not contain any infomation on that either.
I'm out of hints. please kindly point me to the right direction.
Thanks.

Hi,
Unfortunately, those two steps need to be done in Xcode. Cordova is missing
the necessary tooling in the iOS plugin to automatically add these as part
of the installation process.
Try dragging the framework into the Xcode project, and then on the Xcode
project General Settings screen, click the plus button under Embedded
Binaries and choose the TwilioVoice framework.
Thanks,
Jeff
On Fri, Aug 23, 2019 at 2:38 AM Daniel Kim<EMAIL_ADDRESS>wrote:

When I tried installing this plugin, All I got was
You need to download Twilio Voice SDK for iOS from https://media.twiliocdn.com/sdk/ios/voice/releases/3.1.0/twilio-voice-ios-3.1.0.tar.bz2. Uncompress the download - you will need to follow two steps that plugman can not do yet:

Add the Twilio Voice framework (TwilioVoice.framework) to your Xcode project
Add the Twilio Voice framework (TwilioVoice.framework) as an embedded binary to your Xcode project

Most of people who use Cordova project is because either they don't AND
don't want to know a thing about native languages or even though they know
some but don't want to bother with them.
just "ADD" to Xcode project was not so much helpful to me, cause I am the
former.
spent hours looking into native developments to understand the concept of
framework and how to add or embed....
closely I read a few threads on how to do it in the Cordova way
https://stackoverflow.com/questions/36650522/custom-cordova-plugin-add-framework-to-embedded-binaries
or documents on the native way of opening up the xcode and doing all the
steps.
none worked for me.
The example project seems dead and does not contain any infomation on that
either.
I'm out of hints. please kindly point me to the right direction.
Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jefflinwood/cordova-plugin-twiliovoicesdk/issues/64?email_source=notifications&email_token=AAGFXAHK3UEHEQ7CKLQZQFDQF6VYXA5CNFSM4IO5XDX2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HG73XVA,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGFXAAW26KBKHK2VUDJC6DQF6VYXANCNFSM4IO5XDXQ
.

Thanks for quick reply.
This is what I did :

dragged and dropped the framework file into the left column of Xcode project.
Dialog showed up with "Copy items if needed" checked, "create folder references" checked, and target being "GoogleToolboxForMac".
clicked "Finish" button.
went to General settings tab, scrolled down to the Embedded Binaries, and clicked the plus button.
could not find the framework from the list shown so I clicked the Add Other...button and add framework file.
Dialog similar to the former dialog showed up again with "Copy items if needed" checked, "create groups".
7 Clicked the Finish button.
8 clicked the play button in the left side of the top button bar.
9 the build failed with "Module 'TwilioVoice' not found"

help!

Try making sure that the target is whatever your app’s name is -
GoogleToolboxForMac isn’t your app’s main target.
On Fri, Aug 23, 2019 at 5:27 PM Daniel Kim<EMAIL_ADDRESS>wrote:

Thanks for quick reply.
This is what I did :

dragged and dropped the framework file into the left column of
Xcode project.
Dialog showed up with "Copy items if needed" checked, "create
folder references" checked, and target being "GoogleToolboxForMac".
clicked "Finish" button.
went to General settings tab, scrolled down to the Embedded
Binaries, and clicked the plus button.
could not find the framework from the list shown so I clicked the
Add Other...button and add framework file.
Dialog similar to the former dialog showed up again with "Copy
items if needed" checked, "create groups".
7 Clicked the Finish button.
8 clicked the play button in the left side of the top button bar.
9 the build failed with "Module 'TwilioVoice' not found"

help!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jefflinwood/cordova-plugin-twiliovoicesdk/issues/64?email_source=notifications&email_token=AAGFXAAQOYAOXKGSRFGIZTLQGB55HA5CNFSM4IO5XDX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5BTQ4Q#issuecomment-524499058,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGFXACUN3I75IJYMUFVSKTQGB55HANCNFSM4IO5XDXQ
.

Finally got it to work.
this is what i did differently from before

drag and drop the framework into the Frameworks folder of my porject
add the framework from the saved(?) folder at Embedded Binaries in General settings tabs
Happy weekend 👍

I tried the steps described above and got the following error:
Multiple commands produce '~/Library/Developer/Xcode/DerivedData/MyProject-gfdzvobiitcprxhdmxyddxndhwys/Build/Products/Debug-iphonesimulator/MyProject.app/Frameworks/TwilioVoice.framework':
1) Target 'MyProject' has copy command from '~/Documents/Coding/Ajaxy/MyProjectMobile/platforms/ios/TwilioVoice.framework' to '~/Library/Developer/Xcode/DerivedData/MyProject-gfdzvobiitcprxhdmxyddxndhwys/Build/Products/Debug-iphonesimulator/MyProject.app/Frameworks/TwilioVoice.framework'
2) That command depends on command in Target 'MyProject': script phase “[CP] Embed Pods Frameworks”

Still can't solve it. An installation instruction is still required.


Add batch-size flag and metric

Control the maximum number of mutations the Key Transparency sequencer processes per map revision.
Also adds visibility into the number of mutations the sequencer is attempting to process during each map revision.

This change seems to have resolved the errors:

SetLeaves(): CalculateRoot(): Error 1040: Too many connections
SetLeaves(): CalculateRoot(): Error 1062: Duplicate entry '3584314497260755511-@-25483' for key 'PRIMARY'"


mocha.env setting is ignored when running coverage

Description
running tests with coverage enabled ignores environment variables defined in setting 'mocha.env'
Steps to Reproduce
Use my demo project from 'https://github.com/BePo65/MochaSidebarCoverWithEnv'

Open mocha-sidebar in VScode sidebar
use button "run all tests" (see image 'Step 2 from issue.png' in folder documentation of demo project)
test 'Read env variable set by mocha.env.DB_PORT' is green (see image 'ScreenshotWithoutCoverage.png' in folder documentation of demo project)
use button "Click for coverage" (see image 'Step 4 from issue.png' in folder documentation of demo project)
test 'Read env variable set by mocha.env.DB_PORT' is red (see image 'ScreenshotWithCoverage.png' in folder documentation of demo project)

Expected Results
coverage should also be setting environment variables from setting 'mocha.env'
Actual Results
looks like coverage is not setting environment variables from setting 'mocha.env'
Settings file
"mocha.env": {
"DB_PORT": 13300
},
"mocha.files.glob": "src/**/*.spec.js",
"mocha.requires": [ ],
"mocha.coverage": {
"enable": true,
"decoration": true,
"runWithInterval": false,
"autoUpdateInterval": 20000,
"activeOnStart": false,
"runAfterTest": false,
"runCoverageAfterFileSave": false,
"reporters": []
}
Versions

VScode: v1.29.1
Mocha SideBar: v0.20.20
Node Version: v10.13.0

OS version

[ ] Linux
[ ] Mac
[X ] Windows 10

Example for reproducing

https://github.com/BePo65/MochaSidebarCoverWithEnv

Same issue. Probably I will take look on this one.

Same issue. And it doen't read mocha.opts either

Cannot reproduce error by now (2020-06-17) with version 0.22.2 (from visual studio markedplace; strangely enough this repository has no release 0.22.2).
Therefore closing this issue.


Feature Request: specify mac address in device_info.connections

Is your feature request related to a problem? Please describe.
My HASS instance is unable to understand that the Tapo camera device defined by this integration and the Tapo camera defined by my router are the same device.
Describe the solution you'd like
the mac address of the camera should be added to the connections list of the device_info. This will allow HASS to merge the device into other devices with the same mac address.
Describe alternatives you've considered
Creating a MQTT device that has both the mac address and the identifier of this integration. It didn't work.
Additional context
Final result with the mac address added to the device_info:

Hey, this is a great enhancement.
It looks like you already modified the code. Would you consider opening a PR?


issue# 80, modified service/routes.py

not sure if should cls  be the first argument when calling the specialized filtering function

Good to go


feat: add support for catalog.yaml

Somewhat of a proposal, I think having an hidden file .joyrc in the catalog is a great idea, but I think it should be visible (easily) to the user so I am proposing we rename it to catalog.yaml.
Any other name is welcome.

I am OK with these changes, however they need to be matched in the joy CLI before we can merge this otherwise we will break existing commands/functionality.
Therefore:

add support catalog.yaml and .joyrc to the joy-cli
change the minimumVersion in the catalog to the version that supports catalog.yaml
wait a reasonable amount of time for folks to update.
rename the .joyrc file

Suggestion: it seems to me that having a catalog.yaml in a catalog repo is a little repetitive. How about joy.yaml?

add support catalog.yaml and .joyrc to the joy-cli

That's what this PR does.

Suggestion: it seems to me that having a catalog.yaml in a catalog repo is a little repetitive. How about joy.yaml?

I have renamed the file to joy.yaml. I also have tested using a symlink and it was handled gracefully.
So we can just do:
git mv .joyrc joy.yaml
ln -s joy.yaml .joyrc
git add .

And delete the symlink in a few months or so.

This should be a feat or a fix. A chore does not bump the application version.

Yah, I'll have to re-open a new PR.

Closing in favor of https://github.com/nestoca/joy/pull/92


Unknown node type "mstack"

Issue Summary
Hi,
I'm trying to parse a mml formula, but show error: Unknown node type "mstack".
I read in documentation that MathML3 is implemented in version 3 and there isn't needed to import the extension.
Steps to Reproduce:
Here is an example.
Must be shown:

Technical details:

MathJax Version: 3

Thank you!

I read in documentation that MathML3 is implemented in version 3 and there isn't needed to import the extension.

You have misread the documentation.  In the link you provide there is a pointer to configuring the extension, and that page indicates that you must use
<script>
MathJax = {
  loader: {load: ['[mml]/mml3']}
};
</script>

to activate the extension.  There are, however, several issues with the mml3 extension (see #2718).  The first, is that you need to also include forceReparse: true in the configuration, as in
<script>
MathJax = {
  loader: {load: ['[mml]/mml3']},
  mml: {forceReparse: true}
};
</script>

and second, there is an issue with Chrome and Safari that you need to work around.  This configuration should do it for the MathJax component that you are using:
  <script>
  MathJax = {
    loader: {load: ['[mml]/mml3']},
    mml: {forceReparse: true},
    startup: {
      ready() {
        MathJax.startup.defaultReady();
        MathJax.startup.document.inputJax[1].preFilters.add(function (data) {
          data.data = data.data.replace(/[\s\n]+<math/, '<math').replace(/math>[\n\s]+/, 'math>');
        }, 10);
      }
    }
  };
  </script>

The Chrome/Safari issue should be resolved and the documentation updated in the next release.

@svejdani, it depends on the MathJax file that you are loading.  If you used tex-mml-chtml.js, then it would be inputJax[1], but if you used mml-xhtml.js then it would be inputJax[0].  Sorry for the confusion!

@dpvc after adding configuration, that you have mentioned, I am getting following error:
TypeError: Cannot read property 'getElementsByTagName' of null
    at e.tags (mml-svg.js:1)
    at e.transform (mml3.js:1)
    at e.mmlFilter (mml3.js:1)
    at e.execute (mml-svg.js:1)
    at e.t.executeFilters (mml-svg.js:1)
    at e.compile (mml-svg.js:1)
    at e.t.compile (mml-svg.js:1)
    at Object.renderMath (mml-svg.js:1)
    at e.renderConvert (mml-svg.js:1)
    at e.t.convert (mml-svg.js:1)

To reproduce, here you have jsbin: https://jsbin.com/kuwujesure/1/edit?html,console,output


CL2: fix etcd profiles gathering

This PR is to resolve issue #948 as seen with @mm4tt

Thanks, @skurtzemann!
Let's see whether it works
/ok-to-test

Works like a charm! Screenshot from the presubmit artifacts:

Ok, now let's clean this up a bit

If tests succeded I will clean all my commits (rebase from master make my very dirty commits :( )

Looks good!
One more thing before I approve, could you please squash all commits into one?
Thanks!

If I'm not available, you can also ping @wojtek-t for the approval

Looks good!
One more thing before I approve, could you please squash all commits into one?
Thanks!

Commits squashed, tests in progress :)

Nice!
/lgtm
/approve


Edit Gitter FCC Main Room Summary to reflect current number of Official Rooms.

In main room the following summary (or blurb) appears next to room title:
Welcome to our main chat room. We have hundreds of official chat rooms for hanging out and getting help. Here’s the list: https://github.com/FreeCodeCamp/FreeCodeCamp/wiki/Official-Free-Code-Camp-Chat-Rooms
I know (via the link) that a lot of the rooms were paired down to 11 or 12 total official rooms. Are there really hundreds of rooms? (yes, a bit nitpicky but couldn't -hundreds of - be changed to -many-?)
e.g.,
Welcome to our main chat room. We have many official chat rooms for hanging out and getting help. Here’s the list: https://github.com/FreeCodeCamp/FreeCodeCamp/wiki/Official-Free-Code-Camp-Chat-Rooms

It could be modified I guess. @QuincyLarson what do you think?

Done.
Happy Coding!


fix mypy 1.1.1 fails

Run mypy --config-file .github/mypy/mypy.ini --check-untyped-defs capa/ scripts/ tests/
capa/features/freeze/features.py:104: error: Argument "os" to "OSFeature" has incompatible type "Union[str, int, float, bytes]"; expected "str"  [arg-type]
capa/features/freeze/features.py:107: error: Argument "arch" to "ArchFeature" has incompatible type "Union[str, int, float, bytes]"; expected "str"  [arg-type]
capa/features/freeze/features.py:110: error: Argument "format" to "FormatFeature" has incompatible type "Union[str, int, float, bytes]"; expected "str"  [arg-type]
capa/features/freeze/features.py:113: error: Argument "match" to "MatchFeature" has incompatible type "Union[str, int, float, bytes]"; expected "str"  [arg-type]
capa/features/freeze/features.py:116: error: Argument "characteristic" to "CharacteristicFeature" has incompatible type "Union[str, int, float, bytes]"; expected "str"  [arg-type]
capa/features/freeze/features.py:119: error: Argument "export" to "ExportFeature" has incompatible type "Union[str, int, float, bytes]"; expected "str"  [arg-type]
capa/features/freeze/features.py:122: error: Unexpected keyword argument "import_" for "ImportFeature"; did you mean "import"?  [call-arg]
capa/features/freeze/features.py:125: error: Argument "section" to "SectionFeature" has incompatible type "Union[str, int, float, bytes]"; expected "str"  [arg-type]
capa/features/freeze/features.py:128: error: Unexpected keyword argument "function_name" for "FunctionNameFeature"; did you mean "function name"?  [call-arg]
capa/features/freeze/features.py:132: error: Argument "substring" to "SubstringFeature" has incompatible type "Union[str, int, float, bytes]"; expected "str"  [arg-type]
capa/features/freeze/features.py:136: error: Argument "regex" to "RegexFeature" has incompatible type "Union[str, int, float, bytes]"; expected "str"  [arg-type]
capa/features/freeze/features.py:139: error: Argument "string" to "StringFeature" has incompatible type "Union[str, int, float, bytes]"; expected "str"  [arg-type]
capa/features/freeze/features.py:142: error: Unexpected keyword argument "class_" for "ClassFeature"; did you mean "class"?  [call-arg]
capa/features/freeze/features.py:145: error: Argument "namespace" to "NamespaceFeature" has incompatible type "Union[str, int, float, bytes]"; expected "str"  [arg-type]
capa/features/freeze/features.py:151: error: Argument "api" to "APIFeature" has incompatible type "Union[str, int, float, bytes]"; expected "str"  [arg-type]
capa/features/freeze/features.py:154: error: Argument "property" to "PropertyFeature" has incompatible type "Union[str, int, float, bytes]"; expected "str"  [arg-type]
capa/features/freeze/features.py:157: error: Argument "number" to "NumberFeature" has incompatible type "Union[str, int, float, bytes]"; expected "Union[int, float]"  [arg-type]
capa/features/freeze/features.py:165: error: Argument "offset" to "OffsetFeature" has incompatible type "Union[str, int, float, bytes]"; expected "int"  [arg-type]
capa/features/freeze/features.py:168: error: Argument "mnemonic" to "MnemonicFeature" has incompatible type "Union[str, int, float, bytes]"; expected "str"  [arg-type]
capa/features/freeze/features.py:171: error: Unexpected keyword argument "operand_number" for "OperandNumberFeature"; did you mean "operand number"?  [call-arg]
capa/features/freeze/features.py:174: error: Unexpected keyword argument "operand_offset" for "OperandOffsetFeature"; did you mean "operand offset"?  [call-arg]
capa/features/freeze/__init__.py:267: error: Unexpected keyword argument "basic_block" for "BasicBlockFeature"; did you mean "basic block"?  [call-arg]
capa/features/freeze/__init__.py:290: error: Argument "features" to "InstructionFeatures" has incompatible type "List[InstructionFeature]"; expected "Tuple[InstructionFeature, ...]"  [arg-type]
capa/features/freeze/__init__.py:297: error: Argument "features" to "BasicBlockFeatures" has incompatible type "List[BasicBlockFeature]"; expected "Tuple[BasicBlockFeature, ...]"  [arg-type]
capa/features/freeze/__init__.py:298: error: Argument "instructions" to "BasicBlockFeatures" has incompatible type "List[InstructionFeatures]"; expected "Tuple[InstructionFeatures, ...]"  [arg-type]
capa/features/freeze/__init__.py:303: error: Unexpected keyword argument "basic_blocks" for "FunctionFeatures"; did you mean "basic blocks"?  [call-arg]
capa/features/freeze/__init__.py:305: error: Argument "features" to "FunctionFeatures" has incompatible type "List[FunctionFeature]"; expected "Tuple[FunctionFeature, ...]"  [arg-type]
capa/features/freeze/__init__.py:310: error: Unexpected keyword argument "global_" for "Features"; did you mean "global"?  [call-arg]
capa/features/freeze/__init__.py:312: error: Argument "file" to "Features" has incompatible type "List[FileFeature]"; expected "Tuple[FileFeature, ...]"  [arg-type]
capa/features/freeze/__init__.py:313: error: Argument "functions" to "Features" has incompatible type "List[FunctionFeatures]"; expected "Tuple[FunctionFeatures, ...]"  [arg-type]
capa/features/freeze/__init__.py:316: error: Unexpected keyword argument "base_address" for "Freeze"; did you mean "base address"?  [call-arg]
capa/render/result_document.py:356: error: Argument "children" to "Match" has incompatible type "List[Match]"; expected "Tuple[Match, ...]"  [arg-type]
capa/render/result_document.py:357: error: Argument "locations" to "Match" has incompatible type "List[Address]"; expected "Tuple[Address, ...]"  [arg-type]
capa/render/result_document.py:358: error: Argument "captures" to "Match" has incompatible type "Dict[str, List[Address]]"; expected "Dict[str, Tuple[Address, ...]]"  [arg-type]
capa/render/result_document.py:482: error: Unexpected keyword argument "attack" for "RuleMetadata"; did you mean "att&ck"?  [call-arg]
capa/render/result_document.py:482: error: Unexpected keyword argument "capa_subscope" for "RuleMetadata"; did you mean "capa/subscope"?  [call-arg]
capa/render/result_document.py:488: error: Argument "mbc" to "RuleMetadata" has incompatible type "List[MBCSpec]"; expected "Tuple[MBCSpec, ...]"  [arg-type]
capa/render/result_document.py:494: error: Unexpected keyword argument "analysis_conclusion" for "MaecMetadata"; did you mean "analysis-conclusion" or "analysis-conclusion-ov"?  [call-arg]
capa/render/result_document.py:494: error: Unexpected keyword argument "analysis_conclusion_ov" for "MaecMetadata"; did you mean "analysis-conclusion-ov" or "analysis-conclusion"?  [call-arg]
capa/render/result_document.py:494: error: Unexpected keyword argument "malware_family" for "MaecMetadata"; did you mean "malware-family"?  [call-arg]
capa/render/result_document.py:494: error: Unexpected keyword argument "malware_category" for "MaecMetadata"; did you mean "malware-category" or "malware-category-ov"?  [call-arg]
capa/render/result_document.py:494: error: Unexpected keyword argument "malware_category_ov" for "MaecMetadata"; did you mean "malware-category-ov" or "malware-category"?  [call-arg]
Found 42 errors in 3 files (checked 112 source files)

ref: #1381

Hi i would like to work on this issue.

go for it :)

to keep the PRs easier to review and merge, feel free to break the changes in smaller chunks.

capa\features\freeze\__init__.py:290: error: Argument "features" to "InstructionFeatures" has incompatible type "List[InstructionFeature]"; expected "Tuple[InstructionFeature, ...]"  [arg-type] for the  following issue can we initialize the variable ifeatures to a tuple instead of list at capa\features\freeze\__init__.py:279

capa\features\freeze\features.py:284 the variable number is defined as Union[int,float]. Can we just make it the type of float?

That would require a lot of other changes and doesn't seem correct.
What are the issues with the Union?

Well one of the issues is that we cannot convert Union[ int | float | byte | str ] to Union[ int | float ]. So i was thinking to make the variable of the type Union[float]. This would resolve the issue.

Where's that conversion happening? Sounds like something we should fix.

in capa\features\freeze\features.py:157 we have return NumberFeature(number=f.value, description=f.description). Here number is of the type Union[ int | float] while f.value is of the type Union[ int | float| byte | str ]. I was thinking to make number of type Union[float] and then number=float(f.value) which would fix the issue.

We may just have to add an assert to tell mypy the types.
We know numbers will only be int or float, so can you try adding assert isinstance(f.value, (int, float)) or similar before the return?

@mr-tz Can you take a look at this document Mypy docs

this works with mypy 1.1.1:
    elif isinstance(f, capa.features.insn.Number):
        assert isinstance(f.value, (int, float))
        return NumberFeature(number=f.value, description=f.description)

Actually i was talking about a different issue. At line 122 we can see return ImportFeature(import_=f.value, description=f.description) . The class ImportFeature has been defined as follows
class ImportFeature(FeatureModel):
    type: str = "import"
    import_: str = Field(alias="import")
    description: Optional[str]

So the issue is with alias. If you can just take a look once at the docs. I think that mypy is having issue which they will probably fix in the next patch. Mypy is unable to recognize import_ as it has been aliased

if mypy is unable to express something that we know is correct, we can use # type: ignore annotations to override mypy. generally we want to avoid this, but if its a bug with mypy, fine. go ahead and use this technique here, including a comment explaining why you're overriding mypy and when we can remove the override.
sidebar: i wish there was a way to tag fixes like this to be re-reviewed in 6 months or so. maybe we could introduce a convention like # TODO(2023-06): review mypy override and periodically grep the code for things to be re-assessed. thoughts @mr-tz @mike-hunhoff

sidebar: i wish there was a way to tag fixes like this to be re-reviewed in 6 months or so. maybe we could introduce a convention like # TODO(2023-06): review mypy override and periodically grep the code for things to be re-assessed. thoughts @mr-tz @mike-hunhoff

cool, idea! I think we already have a few TODO places that can benefit from such an annotation (and regular check, which would be cool to flag via an Action or similar).

new mypy 1.1.1 issues with newly merged code: https://github.com/mandiant/capa/actions/runs/4510420558/jobs/7941348690?pr=1398

closed via #1423


[WIP] cherry pick ci form #373

safe to merge now  https://github.com/KimBioInfoStudio/fastp/actions

@sfchen , i enable both ci on macos and ubuntu, seems we have privilege issue on macos runner? any good idea?


feature(jni-avro)jni-avro scanner add complex data types

Proposed changes
Support avro's enum, record, union data types

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall


update gleam_stdlib & use gleam_regexp instead

Hi y'all! Tiny little 🦃 day change! (Not sure if any of you are Americans but happy completely normal thursday if not)

updates the stdlib version (and all deps)
replaces the newly deprecated stdlib regex lib with gleam_regexp

Doesn't actually solve the build warnings like I thought it might but still probably worth the change.
Let me know if you want changes or would rather hold off on the change and I'll just close it for now. Thanks!

this doesn't count as a breaking change, right?

@aslilac Nope!

LGTM thank you! I'll get a release out this evening unless Brett or Kayla get to it before me.

I'm away for the holidays until tomorrow so @hayleigh-dot-dev feel free to do the release if it looks good to you!

Thanks so much!

Can someone please release this 🙏


Optional

Which issue does this fix?

Closes #5
Hello! I discovered this package recently, and I'm a big fan! I was hoping that optional arguments were possible, but saw that there was an issue referencing that hadn't been touched in a while.
I'm not sure if this project is in active development anymore so I decided to implement it based on what I saw in the issue and share it with the community if you're still interested!
Describe the solution

mask-parser
This was the bulk of the change. I altered the parse_command_name... function in parser.rs to look for both parenthesis and brackets. It uses similar logic as before (splitting the string) and essentially just does it twice. It now returns the new struct OptionalArg along with the previous return values.
Additional Changes:

Added OptionalArg which is identical to RequiredArg

This could theoretically be an enum instead of two separate structs, but I decided to keep it as is in case their logic diverged anymore (ie optional with default values)

Small change to the parse function to accept new values from aforementioned function
Expanded test in parser.rs to include new field optional_args

mask

Went back to most every function referencing required_args and mirrored an additional loop for optional_args

Most of the loops are identical, but main::get_command_options unwraps to an empty str instead of panicking, making it optional

Added additional tests in tests/arguments_and_flags_test and small changes to other tests that needed optional_args added to the json

Other notes

I had to add a php action to the Github actions. MacOS was failing on php not being in path for some reason?
The order in which required and optional arguments are defined in the maskfile doesn't matter with this implementation which could lead to some weirdness but may be desirable to some? Regardless, with a little additional logic it could be altered

Thanks for the PR! I plan on reviewing it sometime within the next few days/week when I find the time.
Mask is definitely still in development! I just rarely find time to work on it and in its current form it solves 99% of my day to day needs. Optional args I've wanted for a long time and it just never became a high priority, so I'm looking forwards to getting this reviewed and merged 🙂

Hey, I did a very quick review and looked into that CI php error with a suggestion on how to fix it properly.
I also noticed the actions didn't run on this PR so I'm hoping once you commit some updates they'll re-run correctly.


"D Standard Extension for Double-Precision Floating-Point" is rather incomplete

The first chapter specifies ...

The D extension depends on the base single-precision instruction subset F.

... which is insufficient where the F extension is specific to its bit-length (compared to talking about the fcsr), e. g. ...

For single-precision floating-point, this corresponds to the pattern 0x7fc00000.

... where the equivalent information is missing for D.
There are a more places that could benefit like that.
Would a PR be accepted?

I'm not sure I understand. Is your concern that the F-extension says:

The canonical NaN has a positive sign and all significand bits clear except the MSB, a.k.a.
the quiet bit. For single-precision floating-point, this corresponds to the pattern 0x7fc00000.

while the D-extension doesn't spell out the pattern? It's fairly straightforward to derive it:
0<PHONE_NUMBER>1<PHONE_NUMBER>000000000000000000000000000000000000000000 = 7FF8 0000 0000 0000
I'm not convinced this particular omission is a defect. A correct reading of the spec is sequential, meaning that definitions (like "canonical NaN") in earlier chapters remain in force in subsequent chapters.

Ok.


gui using gioui

I prefer gio than react, so i think a gui version should be possible also.
The react app should be there for those that prefer that of course.
WIth GIOUI, it will build the Web, Desktop and Mobile app from a single golang code base.
Technical notes
URLS:
https://ntfy.sh/app
https://staging.ntfy.sh/app

GIOUI Notify package:  https://github.com/gioui/gio-x/tree/main/notify

Has IOS, Android, Windows and MAC
Needs PWA ( JS )

GIOUI Notify example: https://github.com/gioui/gio-example/tree/main/notify

Has Mac and IOS.

Needs PWA, Windows, Android Scaffold.

It already pulls in the GIOUI standard Component: https://github.com/gioui/gio-example/tree/main/component.

The GIOUI JS compiler needs some slight additions for the Service worker aspects: https://github.com/gioui/gio-cmd/blob/main/gogio/jsbuild.go

The Services worker code is here: https://github.com/maxence-charriere/go-app

Its generator for the JS Service worker is here: https://github.com/maxence-charriere/go-app/tree/master/pkg/app/gen

The PWA notifications doc is here: https://github.com/maxence-charriere/go-app/blob/master/docs/web/documents/notifications-push.md

I think we had this conversation in https://github.com/binwiederhier/ntfy/issues/128 a while back. And my views about gio have not changed. Plus, I have a web app now that is really polished, with a modern framework and UI and even a PWA. I don't want to rewrite it all.
If others want to provide a third party client I am all for it. But that's not something that should be tracked here IMHO.

No probs. Will do it elsewhere


feat: Add custom quote for  auto-correct fails

Description:
Add quotes with intentional auto-correct errors or funny typos to mimic common text message mishaps.

Hey
Please assign this to me.
Thanks.

@hariTiwari442: I have assigned this issue to you :D

Hi
What will be the author for such quotes...is it open source?
and can i put these quotes in quotes.json?

Author can be unknown if none..

Hi
What will be the author for such quotes...is it open source?
and can i put these quotes in quotes.json?

Can we bring it in as an category maybe???

Hey I created PR can you please check it?


cleanup preset

Small model cleanup, presets are too big and make model.py a pain to navigate so moved it to preset_models.py with tiny bit of cleanup.

OK

Merged.


Bug report: Can't uninstall Boxcryptor

Description of issue
Unable to uninstall cask boxcryptor:
tyr:/usr/local (master) benc$ brew cask info boxcryptor
boxcryptor: 2.3.405.746
https://www.boxcryptor.com/en
/usr/local/Caskroom/boxcryptor/2.1.467.718 (1.3M)
From: https://github.com/caskroom/homebrew-cask/blob/master/Casks/boxcryptor.rb
==> Name
Boxcryptor
==> Artifacts
Boxcryptor.app (app)

ran:
cd $(brew --repo); git fetch; git reset --hard origin/master && brew untap phinze/cask; brew untap caskroom/cask; brew uninstall --force brew-cask && brew cleanup; brew cask cleanup; brew update
and
brew uninstall --force brew-cask; brew untap phinze/cask; brew untap caskroom/cask; brew update; brew cleanup; brew cask cleanup
phinze/cask was untapped long long ago
Output of `brew cask  --verbose`
tyr:/usr/local (master) benc$ brew cask uninstall --verbose boxcryptor
==> Removing App: '/Applications/Boxcryptor.app'
Error: Permission denied - /Applications/Boxcryptor.app/Contents/Frameworks/BoxcryptorFoundation.framework/Versions/A/Filesystems/bcfs.fs/Contents/Extensions/10.9/bcfs.kext/Contents/_CodeSignature/CodeResourcesMost likely, this means you have an outdated version of Homebrew-Cask. Please run:

    brew uninstall --force brew-cask; brew untap phinze/cask; brew untap caskroom/cask; brew update; brew cleanup; brew cask cleanup

If this doesn’t fix the problem, please report this bug:

    https://github.com/caskroom/homebrew-cask#reporting-bugs

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1433:in `unlink'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1433:in `block in remove_file'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1438:in `platform_support'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1432:in `remove_file'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1421:in `remove'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:770:in `block in remove_entry'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1471:in `block (2 levels) in postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1471:in `block (2 levels) in postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1471:in `block (2 levels) in postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1471:in `block (2 levels) in postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1471:in `block (2 levels) in postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1471:in `block (2 levels) in postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1471:in `block (2 levels) in postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1471:in `block (2 levels) in postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1471:in `block (2 levels) in postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1471:in `block (2 levels) in postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1471:in `block (2 levels) in postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1471:in `block (2 levels) in postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1471:in `block (2 levels) in postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1471:in `block (2 levels) in postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1475:in `postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1470:in `block in postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1469:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1469:in `postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1470:in `block in postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1469:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1469:in `postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1470:in `block in postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1469:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1469:in `postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1470:in `block in postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1469:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1469:in `postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1470:in `block in postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1469:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1469:in `postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1470:in `block in postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1469:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1469:in `postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1470:in `block in postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1469:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1469:in `postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1470:in `block in postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1469:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1469:in `postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1470:in `block in postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1469:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1469:in `postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1470:in `block in postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1469:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1469:in `postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1470:in `block in postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1469:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1469:in `postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1470:in `block in postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1469:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1469:in `postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1470:in `block in postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1469:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1469:in `postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1470:in `block in postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1469:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1469:in `postorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:768:in `remove_entry'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:626:in `block in rm_r'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:622:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:622:in `rm_r'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/pathname.rb:567:in `rmtree'
/usr/local/Library/Homebrew/cask/lib/hbc/artifact/moved.rb:72:in `delete'
/usr/local/Library/Homebrew/cask/lib/hbc/artifact/moved.rb:21:in `block in uninstall_phase'
/usr/local/Library/Homebrew/cask/lib/hbc/artifact/moved.rb:30:in `block in each_artifact'
/usr/local/Library/Homebrew/cask/lib/hbc/artifact/moved.rb:29:in `each'
/usr/local/Library/Homebrew/cask/lib/hbc/artifact/moved.rb:29:in `each_artifact'
/usr/local/Library/Homebrew/cask/lib/hbc/artifact/moved.rb:18:in `uninstall_phase'
/usr/local/Library/Homebrew/cask/lib/hbc/installer.rb:295:in `block in uninstall_artifacts'
/usr/local/Library/Homebrew/cask/lib/hbc/installer.rb:292:in `each'
/usr/local/Library/Homebrew/cask/lib/hbc/installer.rb:292:in `uninstall_artifacts'
/usr/local/Library/Homebrew/cask/lib/hbc/installer.rb:283:in `uninstall'
/usr/local/Library/Homebrew/cask/lib/hbc/cli/uninstall.rb:24:in `block in run'
/usr/local/Library/Homebrew/cask/lib/hbc/cli/uninstall.rb:7:in `each'
/usr/local/Library/Homebrew/cask/lib/hbc/cli/uninstall.rb:7:in `run'
/usr/local/Library/Homebrew/cask/lib/hbc/cli.rb:108:in `run_command'
/usr/local/Library/Homebrew/cask/lib/hbc/cli.rb:147:in `process'
/usr/local/Library/Homebrew/cask/cmd/brew-cask.rb:8:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/local/Library/Homebrew/brew.rb:23:in `require?'
/usr/local/Library/Homebrew/brew.rb:97:in `<main>'
Error: Kernel.exit

Output of `brew doctor`
tyr:/usr/local (master) benc$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: Python is installed at /Library/Frameworks/Python.framework

Homebrew only supports building against the System-provided Python or a
brewed Python. In particular, Pythons installed to /Library can interfere
with other software installs.]

 I dont have too much experience with the app but try https://support.boxcryptor.com/display/BCOSXEN/Uninstall+Boxcryptor

Thanks, interesting, I didn't have any of the checkboxes checked, didn't need a reboot, but dragging to trash then
tyr:~ benc$ brew cask zap boxcryptor
==> Implied "brew cask uninstall boxcryptor"
Warning: No zap stanza present for Cask 'boxcryptor'
==> Removing all staged versions of Cask 'boxcryptor'
tyr:~ benc$ brew cask list | grep -i boxc
tyr:~ benc$

so gone now, thanks


Jira: Fix an issue where null priorities make loading issues fail

Description
Fix an issue where priorities could be unset, causing the loading of issues to fail.
Closes https://github.com/raycast/extensions/issues/5726
Closes https://github.com/raycast/extensions/issues/5907
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

hi! just saw this update was pushed today however for me it broke the "open issues" command.
I'll attach the logs below:
Error: Rendering failed:
Missing required component property "title"
Could this be related to this update or is it something else?

tried reinstalling the jira extension once again and it seemed to fix it even though i was already on the lastest update.
if anyone runs into the same problem that seemed to fix it
thanks for the help! :)

hi again! 😅
i uninstalled the extension and installed it again. it seemed to fix the issue just fine. however after using it like 3 times to search issues it started to throw out the exact same error.
the log is the exact same

Hey @wpmino, have you searched for particular issues the third time? Maybe one of your Jira issues has data that's not expected in the extension. Would you be able to tell me which one failed and which one succeeded?

hey @thomaslombart
i'll attach a video of the behaviour that's currently happening. i actually don't even search for anything i just try to run the command and it bugs out.
if you need any more info from me to debug this issue feel free to let me know!
Uploading Screen Recording 2023-04-14 at 09.03.39.mp4…

Thanks for the additional info! I'll try to debug that during the week.

@wpmino I've shipped a fix that may solve your issue (run Check For Extension Updates to make sure you have the fix). Do you still face the issue?

@thomaslombart I've ran check for extension updates and error still exists ,
Missing required component property "title"

Let's track the issue here: https://github.com/raycast/extensions/issues/6041


how to set the restart point and the goal position?

I want to make sure that every time that I reset the agent, the start point  and the goal point is all the same,
If I use autopilot or manual-drive model.where should I set the parameters?

You can just set client.start_episode(Number).

thanks.I will try it.


Can't zoom out to scale < 1 ?

If I want a tiny map of less than 256px, the current code returns tiles.scale = 256.
Not sure if this is a feature. It makes it more difficult to use in some cases where you want the map to fit a tiny square for some reason (for example in https://observablehq.com/d/8f96daba13b5347a ).

By "scale < 1" I meant, relative to the tiles' size, so the tile would be displayed smaller than it is.
See https://observablehq.com/d/c9059efda12fea8b for a solution around this issue.

Yeah, this is a bug. It should be possible to set the minimum scale in the zoomable map tile notebook to 1 and it should just keep making the world tile smaller and smaller.

This should be fixed in d3-tile 1.0 if you want to update your notebook.
Also, the technique of having multiple layers to fix the flickering on zoom looks great! I’m wondering if you can implement that using tile.zoomDelta? (Namely two layers with delta -1 and -2.) See this demo: https://observablehq.com/@d3/tile-zoomdelta

Same approach but a cleaner code, using zoomDelta:
https://observablehq.com/@fil/seamless-zoomable-map-tiles

I’m surprised by how well that seamless approach works! Looks great!
I think you could also combine them into a single layer and then you wouldn’t need to replace the tiles on zooming. But you’d have to still get the order of tiles by zoom delta correct so that zoom delta zero is on top.

Ordering is not a problem, but tiles.translate does not live in the tile,
so there's a little juggling to do with the data. I wanted to stay close to
the original in that regard, but if there is a better way, let's do it :)

Ah, yes, that makes sense. Thanks for the explanation!


fix: fix git related issues in Custom JS Library feature

Description

Remove published JS libraries from becoming part of the exported application when exporting for Git.

This was causing a problem with git status because git status would consider the published libraries as well when fetching git diff however, when creating commit only unpublished libraries are used.
I am not sure why, but it seems to fix the git merge issue as well - not sure at the moment. Waiting for a verification from QA on this.

Fixes #19764 #19766
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Manual
JUnit TC

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Test plan has been approved by relevant developers
[ ] Test plan has been peer reviewed by QA
[ ] Cypress test cases have been added and approved by either SDET or manual QA
[ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
[ ] Added Test Plan Approved label after reveiwing all Cypress test

This issue https://github.com/appsmithorg/appsmith/issues/19766 is fixed , verified on the PR.

/ok-to-test sha=cb43877

@sumitsum Would you be able to incorporate this in the PR if this is a small fix ?
https://github.com/appsmithorg/appsmith/pull/19929#issuecomment-1397978194

@sumitsum Please look at #19929 (comment). Would you be able to incorporate this in the PR if this is a small fix ?

@arunvjn as Parthvi has mentioned here, this issue has already been taken care of in this PR:
https://github.com/appsmithorg/appsmith/pull/19929#issuecomment-1397986753


CI: Add Auto-Format GitHub Actions for Java files

Use case
This project has a code style available in the config/checkstyle directory. Checking whether the code in the Pull Requests or branches follows the project's code style and applying fixes accordingly is a tedious work.
Possible solution
A GitHub Action can be set up to check for checkstyle violations and automatically format those files according to the checkstyle configuration. The changes will be automatically pushed to the branch and PR's source branch.
I would like to work on this issue.
Possible workarounds
No response
JMeter Version
5.6.1
Java Version
java 20.0.2 2023-07-18
OS Version
Ubuntu 23.10

"Checkstyle" is already configured, and I suggest we do not increase its verifications as Checkstyle produces hard to understand failure messages.
Do you think you could try integrating Openrewrite? See https://github.com/pgjdbc/pgjdbc/pull/2979

We use Autostyle for some of the automatic fixes: https://github.com/autostyle/autostyle

@vlsi Yes, I just learned how to integrate Openrewrite in my Open-Source Java project - Drifty and it is very good at its work. You can see that the last commit to that repo is about the Java files being formatted.

I will do two things -

Add openrewrite to maven pom.xml file
Add a GitHub Action to auto-format and push the changes to the respective branches and PRs.

So, can I work on this issue?

I'm -0.5 for pushing formats from GitHub Actions. I am afraid it would violate the Apache Software Foundation rules.
I would rather start with making PRs fail if there are unformatted changes. WDYT?

@vlsi I am not sure if it would violate Apache Software Foundation Rules. But, automating the formatting of files is just saving time a bit - which I think helps developers to concentrate more on the logic and also helps in faster review.
It also gives a great experience for other contributors - they don't have to check for failure in code style themselves (let's think if there are huge changes made and multiple checkstyle violations have occurred).

I am not sure if it would violate Apache Software Foundation Rules.

@SaptarshiSarkar12 , please show us the relevant issue at https://issues.apache.org/jira/browse/LEGAL or<EMAIL_ADDRESS>that concludes that "robots are fine to commit formatting changes to the main branches".
Otherwise, I am not going to discuss and merge such an Action.

@vlsi Sorry, I couldn't find any relevant issue. Might be because it is a rule.
I am closing this issue then.

@vlsi I have one question. Does Apache v2 license explicitly specify any such rules?

Apache 2 license does not forbid that. However, there are certain rules within the Apache Software Foundation.
You might raise an issue at LEGAL or start a discussion to get clarification. However, I doubt they would allow such bots.

@vlsi Okay. I understood.
No, its fine - Apache can make rules. No problem in that. I just wanted to know if apache license mentions any kind of this statement as it is used by my project :sweat_smile:.


refactor: Add debug flag and skip missing deps from the importmap

This PR allows to skip any missing dependencies from the importmap.
And adds a debug flag which disables the logs by default. Much needed since it’s flossing the CI with lot of logs if enabled by default 😅

The reason for writing a custom parseArgs is, the default one from node:until will throw a error for any flag that is not configured in options. But that’s not the case here. Users can pass flag to the loader and flags to their node tasks. So we can’t define all possible flags so a custom one 👍🏽

@JayaKrishnaNamburu crushing as usual!
Before implementing the cli portion, I'd like to consider it with you a bit.

It might be nice to "wrap" the node command itself so we can account for changes down the road.
Thoughts?