Wheels do not specify Requires-Python metadata

PEP 345 defines Requires-Python for specifying the Python version, but it's not specified here.
That's not going to come up often for projects where conda-press is likely to be used, since the ABI tag is almost always more specific than the Python version. But in cases where there's an unbound pin (e.g. cp3 or py3), Requires-Python may be needed to enforce necessary lower limits.

Hi @minrk ,
Indeed we should think about it, that might be a problem.
cc: @scopatz

Thanks for bringing this up @minrk!
I think the could be easily shoved in the metadata.  For noarch packages with no python version constraint, we can always shove in py>=2.7.  A PR here would be awesome!


Daily forecast icon matches the FMI icon for the time 00:00.

The daily forecast shows the icon from the corresponding day's midnight, not the one that represents the day. For example at the moment saturday is shown as cloudy in helsinki although the FMI forecast says saturday will be sunny.

I noticed the same issue and I was debugging this a bit. Looks like the fmi's opendata returns a bit different symbol values for a weird reason. So, there is nothing we can do for this.


Add PNASNet-5-Large

PNASNet-5-Large model from Progressive Neural Architecture Search. Weights are ported from Tensorflow Slim repo
PyTorch weights: https://drive.google.com/open?id=1iM3T85bwNlYkv2dCsnfQuSa8TcsFGkfz
For the original Tensorflow model I got 82.858 and 96.182 accuracy values (acc@1 and acc@5 respectively). For the ported version I got 82.736 and 95.992. However, I am not completely sure that I got those values right. When I tried to run an evaluation for the NASNet-A-Large model to compare accuracy, I got 82.706 / 96.168 accuracy values for the original Tensorflow model, and they slightly differ from 82.693 / 96.163 values that are reported in README. Also when I ran python examples/imagenet_eval.py --data /path/to/val/images -a nasnetalarge -b 20 -e command I got Acc@1 82.506 Acc@5 96.018 and not Acc@1 82.566 Acc@5 96.086. Not sure whether that difference could be attributed to the fact that I am using newer versions of libraries that might have some internal changes which affect accuracy (I have Cuda 9 / cuDNN 7 / Tensorflow 1.8 / PyTorch 0.4) or am I doing something wrong.
If you want I can also make a pull request to https://github.com/Cadene/tensorflow-model-zoo.torch with code that converts model weights from a Tensorflow checkpoint to PyTorch.

pnasnet5large, pytorch 0.4, CUDA8

Acc@1 82.736 Acc@5 95.992

nansnetalarge, pytorch 0.4, CUDA8

Acc@1 82.506 Acc@5 96.018

@creafz It seems that pnasnet5large is not compatible with pytorch 0.3. Now that everybody made the switch, I think we don't care.
python examples/imagenet_eval.py --data /local/common-data/imagenet_2012/images --arch pnasnet5large -e -b 50
=> creating model 'pnasnet5large'
=> using pre-trained parameters 'imagenet'
Downloading: "http://data.lip6.fr/cadene/pretrainedmodels/pnasnet5large-c2941956.pth" to /home/cadene/.torch/models/pnasnet5large-c2941956.pth
100%|████████████████████████████████████████████████| 345156287/345156287 [00:07<00:00, 48792557.19it/s]
Traceback (most recent call last):
  File "examples/imagenet_eval.py", line 296, in <module>
    main()
  File "examples/imagenet_eval.py", line 68, in main
    pretrained=args.pretrained)
  File "./pretrainedmodels/models/pnasnet.py", line 384, in pnasnet5large
    model.load_state_dict(model_zoo.load_url(settings['url']))
  File "/home/cadene/anaconda3/envs/pytorch03/lib/python3.6/site-packages/torch/utils/model_zoo.py", line 65, in load_url
    return torch.load(cached_file, map_location=map_location)
  File "/home/cadene/anaconda3/envs/pytorch03/lib/python3.6/site-packages/torch/serialization.py", line 261, in load
    return _load(f, map_location, pickle_module)
  File "/home/cadene/anaconda3/envs/pytorch03/lib/python3.6/site-packages/torch/serialization.py", line 409, in _load
    result = unpickler.load()
AttributeError: Can't get attribute '_rebuild_tensor_v2' on <module 'torch._utils' from '/home/cadene/anaconda3/envs/pytorch03/lib/python3.6/site-packages/torch/_utils.py'>

@Cadene I have rerun the conversion script under PyTorch 0.3.1, the evaluation procedure now successfully finishes under both PyTorch 0.3.1 and PyTorch 0.4.
Here are updated model weights, could you try them?
https://drive.google.com/file/d/1ii0UmNkH5tErlLW2dpKTKcExAJOi5lG2/view?usp=sharing

@creafz Done! https://github.com/Cadene/pretrained-models.pytorch/commit/3acaa88d8145db265b5e1dec03e91eb751b82c74


No-argument form of barrier unsupported in semantic analysis

A program such as
qubit[2] q;
barrier;

is defined by the OQ3 spec to be equivalent to a barrier over all in-scope qubits.  At the moment it fails to convert in semantic analysis:
thread '<unnamed>' panicked at /Users/jake/.cargo/git/checkouts/openqasm3_parser-f3c8808ea3c5b583/45556a9/crates/oq3_semantics/src/syntax_to_semantics.rs:491:18:
called `Option::unwrap()` on a `None` value

which is line 491 here: https://github.com/Qiskit/openqasm3_parser/blob/45556a9d2cfb0dd7a805006af3821e8454480a75/crates/oq3_semantics/src/syntax_to_semantics.rs#L488-L496

I thought about this while implementing and forgot before I was finished. I could make

qubit list an Option
empty qubit list
Separate node

Option sounds most rust-like. But based on experience, I think using an empty list is less cumbersome in the end.


Configuring AC accessory: AC remote sends different HEX code each time

Hi,
I'm trying to configure simple AC accessory, only "on/off" in a certain state (Cool mode, 24 deg, low fan)
I tried to use 'learn' to get the HEX code for that certain state, but it keeps getting different HEX codes although I just click on the "on/off" toggle button in the remote.
Any idea how to workaround the issue?
The remote is RC-3.
Thanks

Same issue here. Any solution?

There's a few different reasons that the RF code may change each time e.g. due to a timestamp being included.
There's no actual issue that's been raised here so I'm closing. Please re-open the issue with more details if you'd like a hand.


ansible needs SSH key

This example works when run from the CLI:
https://github.com/fultonj/mistral/blob/master/101/mistral-env-w-ssh.yaml
I incorporated the same into the workbook submission:
https://review.openstack.org/#/c/469644/2..7/workbooks/ceph-ansible.yaml
But when it's triggered by Heat I see the following:
(undercloud) [stack@undercloud tripleo-ceph-ansible]$ ./see-last-task.sh
c47a6114-ea70-4989-a197-adf2ba06f87e
+---------------+---------------------------------------------------------------------------+
| Field         | Value                                                                     |
+---------------+---------------------------------------------------------------------------+
| ID            | c47a6114-ea70-4989-a197-adf2ba06f87e                                      |
| Name          | get_private_key                                                           |
| Workflow name | tripleo.storage.v1.ceph-install                                           |
| Execution ID  | f80064ba-b032-4da4-a35d-28c67e36e86c                                      |
| State         | ERROR                                                                     |
| State info    | Failed to run action [action_ex_id=1bbcec0a-4ff8-497d-8b30-b882a97f4e81,  |
|               | action_cls='<class 'mistral.actions.action_factory.MistralAction'>',      |
|               | attributes='{u'client_method_name': u'environments.get'}',                |
|               | params='{u'name': u'ssh_keys'}']                                          |
|               |  MistralAction.environments.get failed: <class                            |
|               | 'keystoneauth1.exceptions.auth.AuthorizationFailure'>: Authorization      |
|               | failed: You are not authorized to perform the requested action: Using     |
|               | trust-scoped token to create another token. Create a new trust-scoped     |
|               | token instead. (HTTP 403) (Request-ID: req-4aa720dd-                      |
|               | 74c7-4f78-8fd9-230a3e2e0b00)                                              |
| Created at    | 2017-06-07 21:38:24                                                       |
| Updated at    | 2017-06-07 21:38:25                                                       |
+---------------+---------------------------------------------------------------------------+
"Failed to run action [action_ex_id=1bbcec0a-4ff8-497d-8b30-b882a97f4e81, action_cls='<class 'mistral.actions.action_factory.MistralAction'>', attributes='{u'client_method_name': u'environments.get'}', params='{u'name': u'ssh_keys'}']
MistralAction.environments.get failed: <class 'keystoneauth1.exceptions.auth.AuthorizationFailure'>: Authorization failed: You are not authorized to perform the requested action: Using trust-scoped token to create another token. Create a new trust-scoped token instead. (HTTP 403) (Request-ID: req-4aa720dd-74c7-4f78-8fd9-230a3e2e0b00)"
35b91083-8b6e-4c7a-9f0b-1678e9c15fbc

Similar error: https://bugs.launchpad.net/mistral/+bug/1690787

Heat uses Trusts [1] by default
therve's testing indicates that without the trusts this problem doesn't occur
Hopefully this can be fixed in mistral/mistral and it's documented in LP bug 1690787 [2]
As per an IRC conversation, a custom action and bug seems like the sensible way to go (see [2])
My plan is to keep https://review.openstack.org/#/c/469644/ with the custom action to get the private key and keep an eye on bug 1690787 as a todo.

[1] https://hardysteven.blogspot.com/2014/04/heat-auth-model-updates-part-1-trusts.html
[2] https://bugs.launchpad.net/mistral/+bug/1690787
[3] https://review.openstack.org/#/c/469644/8/tripleo_common/actions/validations.py

The patch in review is working well for getting the private key. The landed ansible actions work with the key.
https://review.openstack.org/#/c/469644/8/tripleo_common/actions/validations.py

Actually this merged in another patch. Closing.


Fix deselect delete

Fixes issue: deselecting nodes (shift + click or ctrl + click) only deselects them visually.  The nodes are still selected.  Example:

Select 3 nodes
Deselect two nodes using ctrl + click
Press Delete
Three nodes are deleted

https://github.com/user-attachments/assets/a589ba35-facf-4120-a36f-8b8d8d1334ac

Bug confirmed.


Query doesnt't appear in 8.3.0

Describe the bug
When upgrading to 8.3.0, existing queries are no longer displayed. Not working the arrow
Screenshots

Software versions

Grafana
Zabbix
Grafana-Zabbix Plugin

8.3.0
5.4.8
4.2.4

I have similar problem, this i got from tcpdump:
{"id":2,"jsonrpc":"2.0","method":"apiinfo.version","params":{}} {"jsonrpc":"2.0","result":"5.4.7","id":2}{"auth":"977c7da05bbb828601cccd362e07fcdc","id":2,"jsonrpc":"2.0","method":"application.get","params":{"hostids":null,"output":"extend"}} {"jsonrpc":"2.0","error":{"code":-32601,"message":"Method not found.","data":"Incorrect API \"application\"."},"id":2}

Good day!
I solved this problem by deleting the plugin folder (/var/lib/grafana/plugins/alexanderzobnin-zabbix-app) and re-installing the datasource Zabbix. Make sure to save your data source settings !

edit /var/lib/grafana/plugins/alexanderzobnin-zabbix-app/datasource-zabbix/module.js, change datasource-zabbix/partials/query.editor.html to partials/query.editor.html, depending on the location of query.editor.html.

edit /var/lib/grafana/plugins/alexanderzobnin-zabbix-app/datasource-zabbix/module.js, change datasource-zabbix/partials/query.editor.html to partials/query.editor.html solved my problem.

Breaks Signature of Plugin after Reboot.... just reinstall Plugin helps....

Hi, reinstalling the plugin helped only for some days, the issue came back. Can be fixed by reinstalling again

Good day! I solved this problem by deleting the plugin folder (/var/lib/grafana/plugins/alexanderzobnin-zabbix-app) and re-installing the datasource Zabbix. Make sure to save your data source settings !

After updating zabbix, grafana exhibited the same bug, after performing this procedure, it returned. Here in my environment only this solution worked.


Add release automation

See RELEASING.md for directions

Largely fixes https://github.com/graphql-rust/juniper/issues/248

This looks great.

[cargo-make] INFO - Task: release-dry-run
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: init
[cargo-make] INFO - Running Task: release-dry-run
[cargo-make] INFO - Execute Command: "cargo" "make" "release-dry-run-INTERNAL"
[cargo-make] INFO - cargo make 0.18.0
[cargo-make] INFO - Using Build File: Makefile.toml
[cargo-make] INFO - Task: release-dry-run-INTERNAL
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: init
[cargo-make] INFO - Running Task: workspace
[cargo-make] INFO - cargo make 0.18.0
[cargo-make] INFO - Using Build File: Makefile.toml
[cargo-make] INFO - Task: release-dry-run-INTERNAL
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: init
[cargo-make] INFO - Running Task: release-dry-run-INTERNAL
[cargo-make] INFO - Execute Command: "cargo-release" "release" "--config" "../_build/release.toml" "--dry-run" "patch"
Update to version 0.11.2 and commit
Fatal: IO Error: No such file or directory (os error 2)
[cargo-make] ERROR - Error while executing command, exit code: 128
[cargo-make] WARN - Build Failed.
[cargo-make] ERROR - Error while executing command, exit code: 1
[cargo-make] WARN - Build Failed.
[cargo-make] ERROR - Error while executing command, exit code: 1
[cargo-make] WARN - Build Failed.

Where are you running it from? It needs to be run from the workspace root currently

Running from the root.

Ok, will take a look. Also I'll add the dry run to CI

Codecov Report

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

@@           Coverage Diff           @@
##           master     #346   +/-   ##
=======================================
  Coverage   88.32%   88.32%
=======================================
  Files         103      103
  Lines       14922    14922
=======================================
  Hits        13180    13180
  Misses       1742     1742

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 dbfcc76...1e98e12. Read the comment docs.

Sweet, everything looks like it is working!


removing timelapse tickbox

Since we are telling users to convert 2d timelapse data anyway and this is how it is handled in the plotter it only makes sense to remove this tickbox for the measurement widget.

Codecov Report

Merging #89 (b828558) into main (e22bcbd) will not change coverage.
The diff coverage is 50.00%.

:exclamation: Current head b828558 differs from pull request most recent head f4a2721. Consider uploading reports for the commit f4a2721 to get more accurate results

@@           Coverage Diff           @@
##             main      #89   +/-   ##
=======================================
  Coverage   66.66%   66.66%
=======================================
  Files          15       15
  Lines        1407     1401    -6
=======================================
- Hits          938      934    -4
+ Misses        469      467    -2

Impacted Files
Coverage Δ

napari_clusters_plotter/_measure.py
47.51% <50.00%> (-0.62%)
:arrow_down:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Consider reordered embedded children as change

Problem
Reordering embedded children (with no other changes) does not get persisted. For example,
order = Repo.get!(Order, 42)
order.items
# => [%Item{id: 1, title: "Soap"}, %Item{id: 2, title: "Shampoo"}]

new_order =
  order
  |> Ecto.Changeset.change()
  |> Ecto.Changeset.put_embed(:items, Enum.reverse(order.items))
  |> Repo.update!()

new_order.items
# => [%Item{id: 1, title: "Soap"}, %Item{id: 2, title: "Shampoo"}]

This behaviour is understandable for relational associations, but can be surprising when you know your children are stored in a JSON column.
The simplest workaround is to add a :position field to every child, which feels rather extra when JSON arrays are implicitly ordered.
Solution
This pull request prevents strictly ordinal changes of embeds from getting flagged as :ignore.
It has the added benefit of recognising the implicit order of input to cast_embed. So one can sort children merely by rearranging the order of DOM elements, which should make a killer Phoenix LiveView demo.
For example, casting
order_params = %{
  "items" => [
    %{"id" => 2},
    %{"id" => 1}
  ]
}

will reorder existing items accordingly.

Quick question, do you know upfront they have been reordered or is this mostly happening due to external factors?

My intention is without knowing upfront. My endgame is, imagine a form with inputs_for tags like
<input id="order_items_0_id" name="order[items][0][id]" type="hidden" value="1">
<input id="order_items_0_title" name="order[items][0][title]" type="text" value="Soap">

<input id="order_items_1_id" name="order[items][1][id]" type="hidden" value="2">
<input id="order_items_1_title" name="order[items][1][title]" type="text" value="Shampoo">

I want to reorder them in the database merely by changing that to
<input id="order_items_0_id" name="order[items][0][id]" type="hidden" value="2">
<input id="order_items_0_title" name="order[items][0][title]" type="text" value="Shampoo">

<input id="order_items_1_id" name="order[items][1][id]" type="hidden" value="1">
<input id="order_items_1_title" name="order[items][1][title]" type="text" value="Soap">

Similarly, the RESTful equivalent
PUT /orders/:id
{
  "items": [
    {"id": 2, "title": "Shampoo"},
    {"id": 1, "title": "Soap"}
  ]
}

without adding a :position field. Currently, Ecto does not consider the changes above as a change.
Granted this only works for embeds, but as mentioned, I love the simplicity that comes from leveraging implicit orders.

I agree, asking for curiosity. Thanks @jayjun!


Can you support gomod

Can you support gomod

+1

Please see https://github.com/patrickmn/go-cache/pull/89. Would love to know if you have a good suggestion on how to avoid reverting people to v1.

Unfortunately you cannot add go modules to a current stable version. You need a major version bump and /v3 suffix in the module path.


feat: deployment-types

[x] deployment-types

The ice-cream story.

I noticed that the package-lock had been modified. The first thing I want to make sure is lock should be uploaded?

I noticed that the package-lock had been modified. The first thing I want to make sure is lock should be uploaded?

I take a look the lock file, you should not update it.
Because it roll back to version 1 again, it cause by the npm version as I did last time.

Maybe have a look at https://github.com/nvm-sh/nvm. It's the only way I know that makes handing different versions of Node and npm feasible. It gets super simple to select the right version of npm such that this doesn't happen.

Maybe have a look at https://github.com/nvm-sh/nvm. It's the only way I know that makes handing different versions of Node and npm feasible. It gets super simple to select the right version of npm such that this doesn't happen.

Thank you! Switching versions helped me solve the problem.


support installing all plugins with rtx plugin add

rtx plugin add (with no arguments) should default to installing all of the active plugins

I just noticed your comment on HN and came to say that this is a fantastic change! Thank you!

technically I didn't implement this as described in the ticket, it's rtx plugin add --all but since you can also do rtx install --all I feel like that's probably going to be the more common command


Add HotKeys

Put standard hot keys, like CTRL+S  for safe and similar

CTRL+S
CTRL+Shift+S
CTRL+0
HotKeys from config section [Keys]


Quickpick debug consoles doesn't show paused state

Testing #153344

@andreamah I just realized that getStateLabel is not localized and is not meant for display. That means that "Label" was not a good name for that function, but we can either just remove the state or find the code that drives the state label in the callstack.

Actually, it seems that getStateLabel only displays initializing, stopped, or running, which is probably not super useful to the user anyways. It seems like the info like paused is only available on each thread, and a debug session can have multiple threads. Perhaps we should just remove the state for now.


LSP method show_native_symbol_in_editor does not work

Tested versions

Reproducible in 4.3.dev[b7feeb], and 4.2[stable]

System information
Godot v4.3.beta (b7feebefa) - Ubuntu 22.04.4 LTS 22.04 - Wayland - Vulkan (Mobile) - integrated Intel(R) Graphics (ADL GT2) () - 12th Gen Intel(R) Core(TM) i7-1260P (16 Threads)
Issue description
The LSP method textDocument/show_native_symbol_in_editor does not work. This is the corresponding function:
void GDScriptTextDocument::show_native_symbol_in_editor(const String &p_symbol_id) {
	ScriptEditor::get_singleton()->call_deferred(SNAME("_help_class_goto"), p_symbol_id);
	DisplayServer::get_singleton()->window_move_to_foreground();
}

When I call this LSP method via my LSP client, it in fact moves the window to foreground, but never opens the help page. When I ran this through gdb, it never hit _help_class_goto function either.
I replaced the call to _help_class_goto with the public version of the same method, goto_help, and then it works fine. However, when I made _help_class_goto itself a public method, it still does not work.
Steps to reproduce
I use this method through neovim's builtin LSP client using the following code:
vim.lsp.buf.show_native_symbol_in_editor = function()
	local params = { "class_name:MeshInstance3D" }
	request("textDocument/show_native_symbol_in_editor", params, vim.print)
end
vim.api.nvim_create_user_command(
	"GdShowNativeSymbolInEditor",
	vim.lsp.buf.show_native_symbol_in_editor,
	{ desc = "Godot Show Native Symbol in Editor" }
)

Then, after neovim connects to the godot LSP server, I run the command GdShowNativeSymbolInEditor.
I know this is not very helpful for people who are not using neovim, but I am not sure how to reproduce this elsewhere. (The official vscode plugin does not use this method.)
Minimal reproduction project (MRP)
N/A

This is due to an outdated method being used, will write a fix


Is this project being maintained or is it DEAD?

@vsiakka Are you still maintaining this repo? Please respond to this ping if you are.
I noticed numerous issues and PR reviews that don't have a response. I feel this code is valuable and worth maintaining but contributions are blocked without your approvals. Considering forking this and pulling people in to get it going, BUT ONLY IF you are no longer maintaining or watching this repository.

Role-call for any possible contributors. Should we fork this repo and update this code for 2023? Of course we will wait on @vsiakka response.
@andrewnicols
@justinvos
@raspe88
@jimmyko

I'm happy to fork it and I also don't mind being the volunteer to be the maintainer.

Hello, i am the owner of the repo. I haven't made any changes in the past 3 years and I don't think I'll be able to make any in the foreseeable future, so I am happy to add other maintainers and take any actions to make creating new releases possible.
I'll be available in the middle of October to do a hand off, so let's setup a date meet and walk me through the buttons I have to click :)

Hi folks,
I contacted Vasiliki recently to see if we could get things moving.
What I would suggest is:

grant myself admin access to this repo
I'll create a new gherkin-lint organisation
I'll move this repository to that organisation
I'll then add others (@jimmyko, and any other interested people)
Update the npmjs repository to add new maintainers
Update the npmjs repository to point to the new repo location
Update coveralls configuration to point to the new repo
set coveralls config in github secrets

Once we've done that administration:

merge #292 to ditch Travis and add support for GHA
update all dependabot changes and merge all those that are correct
roll a new minor release
merge new features issues like #244 and #248, and any others
roll a new major (semver release)

How does that sound?

Closing as being tracked in #294


Better reporting of errors in dates

This should simplify finding which date entries are missing or otherwise broken.
The PR includes commits from the previous PR that I mistakenly merged into the main branch. Only the commits from Oct 21 actually change anything.

ok rebased, the repeated commits are marked


Routing not working correctly

If you create two files in the pages folder, Pagination and PaginationNav, navigating to either one will show an empty page, and not render the appropriate route. Removing one of the files causes the remaining page to render properly. You can easily repro by using npm init solid@next and adding two pages with a simple function to each.
I just did the above, but using solid-js 1.2.5 (as I am on windows, as per https://github.com/solidjs/solid-start/issues/29), and solid-start 0.1.0-alpha.44 due to solid-js dependency resolution.

Should be fixed now.


Install script now ensures library versions match what's in the MRAN URL

Coverage remained the same at 99.04% when pulling 9f4747f6dc0dca137632c29e6dc1b380853e77ed on thongsav-usgs:master into 36b874501744aa5cf9dc24093341efed3183e36b on USGS-R:master.


generate scratch org passwords when expired

Critical Changes
Changes
when reading a scratch org config from SFDX, if the password is not set or expired, cci will now generate a new password before continuing.
Issues Closed
#351: generate password for scratch org info

you can fake a null/expired password by deleting the "password" key from the SFDX json file for the org.
(cci-env-2.7) ➜  Cumulus git:(dev) ✗ cci org info ccarterdev
2017-06-22 15:27:52: Getting scratch org info from Salesforce DX
2017-06-22 15:27:54: Generating scratch org user password with command sfdx force:user:password:generate -u<EMAIL_ADDRESS>2017-06-22 15:27:57: Getting scratch org info from Salesforce DX
{
    "access_token": "REDACTED",
    "config_file": "orgs/dev.json",
    "created": true,
    "instance_url": "https://saas-java-491-dev-ed.cs11.my.salesforce.com",
    "org_id": "00DZ000000NDmMH",
    "password": "REDACTED",
    "scratch": true,
    "scratch_org_type": "workspace",
    "username"<EMAIL_ADDRESS>}


Fix error message text in equality info example

Fixes #1867.
This PR updates the error message's text in the 'What is your date of birth?' example on our equality information page.
We're replacing the previous text, "Enter a real date of birth, or leave it blank," because:

a user pointed out that any valid date would be accepted, even if it was not the user's actual date of birth
referring to the entry boxes as "it" is vague

Thanks, @calvin-lau-sig7!


Adding .json suffix to JSON files

Adding .json suffix to JSON files, to make these files display/function better in IDEs and other tools.

Also, are there no files that need to be renamed?
Actually, no I guess there wouldn't be.  We can't really check them in.


Add support for sonarjs

https://github.com/SonarSource/eslint-plugin-sonarjs

Generated rules
Added extensions/configurations
Removed useless documentation

Related to #131

@Julien-R44 There is also another related eslint plugin https://github.com/un-ts/eslint-plugin-sonar

Thanks for sharing, I didn't know. Would also be cool to have


Don't show matplotlib figure without plt.show()

Environment data

VS Code version: 1.65.2
Jupyter Extension version (available under the Extensions sidebar): v2022.2.1030672458
Python Extension version (available under the Extensions sidebar): v2022.2.1924087327
OS (Windows | Mac | Linux distro) and version: MacOS 12.3
Python and/or Anaconda version: 33.8
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
Jupyter server running: remote

Expected behaviour
When I plot a figure and save it via fig.savefig(), it should not be shown in the cell output unless I explicitly call plt.show().
Actual behaviour
All saved figures are rendered in the cell output.
Steps to reproduce:
import matplotlib.pyplot as plt
import numpy as np
import os

x = np.arange(10)

fig = plt.figure()
plt.plot(x)
fig.savefig('/tmp/test_fig.png')

# cleanup
os.unlink('/tmp/test_fig.png')

Logs

Output for Jupyter in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Jupyter)

Info 08:43:19: Execute Cells request 0
Info 08:43:19: Execute Cell 0 ~/code/test_vscode_matplotlib.ipynb
Info 08:43:20: Cell 0 executed with state Success

Thanks for the issue.
This is not a problem with the juptyer extension, but rather up to matplotlib itself. I believe if you call 'close' first, it won't display:
https://www.delftstack.com/howto/matplotlib/how-to-save-plots-as-an-image-file-without-displaying-in-matplotlib/#save-plot-without-displaying-in-non-interactive-mode
The same thing repros in 'jupyter notebook'

I feel like this is only because your computer opens and closes the figure so quickly you don't see it -- a 'workaround' I guess - but obviously not really what we're looking for. (It displays the empty figure this instant plt.figure() is called for me)


failed to start because akka-dns not in maven central

This project references akka-dns which hasn't made it to maven central yet, hence
mvn lagom:runAll
...
[ERROR] Failed to execute goal com.lightbend.lagom:lagom-maven-plugin:1.4.2:runAll (default-cli) on project lagom-java-chirper: Execution lagom-internal-request of goal com.lightbend.lagom:lagom-maven-plugin:1.4.2:start failed: Failed to start service friend-impl: Could not find artifact ru.smslv.akka:akka-dns_2.12:jar:2.4.2

See https://github.com/ilya-epifanov/akka-dns/issues/10

@jorgheymans I think the issue is that today https://bintray.statuspage.io/ is having intermitent outages:
https://github.com/lagom/lagom-java-chirper-example/blob/ca8528235728ab50b4fa0ab76eb5ae5024df3969/pom.xml#L168-L175

Oh I see, thanks!
We're behind a corporate proxy and Nexus mirror, pom specified repositories
are always problematic. Hopefully it gets published to maven central soon.
On Tue, Mar 27, 2018 at 12:44 PM Ignasi Marimon-Clos <
<EMAIL_ADDRESS>wrote:

@jorgheymans https://github.com/jorgheymans I think the issue is that
today https://bintray.statuspage.io/ is having intermitent outages:
https://github.com/lagom/lagom-java-chirper-example/blob/ca8528235728ab50b4fa0ab76eb5ae5024df3969/pom.xml#L168-L175
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lagom/lagom-java-chirper-example/issues/121#issuecomment-376480074,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAL1APTXcFXPwF6LJQk9ENYuw7dzRHNHks5tihgigaJpZM4S8mBy
.

@jorgheymans: try using https://github.com/lagom/lagom-java-sbt-chirper-example or https://github.com/lagom/lagom-java-maven-chirper-example as these no longer require this dependency.


refactor DefaultHubDispatcher control flow

Old flow effectively has 2*3=6 cases, one for each combination of (has streaming parameters / no streaming parameters) and (send async / invoke async / invoke streaming async).
New flow will contain two splits, one split on (streaming params / no streaming params), and then the flows will rejoin, and then split again on invocation kind.

Sounds good! I'm not so sure it's XS though (cost needs to include time it takes to test the change, and managing the PR/code review), and I'd rather be conservative with our cost estimate :)

done and pushed


You need to include some adapter that implements karma.start method!

Karma should work with browserstack
Karma showing Error : You need to include some adapter that implements karma.start method!
Although it works fine with local browsers
Environment Details
 "chai": "^3.5.0",
    "karma": "^1.3.0",
    "karma-browserstack-launcher": "^1.1.1",
    "karma-chai": "^0.1.0",
    "karma-chrome-launcher": "^2.0.0",
    "karma-firefox-launcher": "^1.0.0",
    "karma-mocha": "0.1.10",
    "karma-mocha-reporter": "1.1.3",
    "karma-safari-launcher": "^1.0.0",
    "mocha": "2.3.4"

Steps to reproduce the behaviour
Using conf file
/\* eslint camelcase: ["error", {properties: "never"}] */
var browsers = require('../../../src/desktop-non-ie-browsers');

module.exports = function (config) {
  // Set base config
  config.set(require('./base.conf'));

  // Set custom config for this environment
  config.set({

browserStack: {
  username: process.env.BS_USERNAME,
  accessKey: process.env.BS_KEY
},

  browsers: ['test_ff'],
  customLaunchers: { test_chrome : {
      base: 'BrowserStack',
      os: 'Windows',
      os_version: '10',
      browser: 'Chrome',
      browser_version: '54'
  },
test_ff : {
      base: 'BrowserStack',
      os: 'Windows',
      os_version: '10',
      browser: 'Firefox',
      browser_version: '48'
  }},

logLevel: config.LOG_INFO,

autoWatch: false,

singleRun: true

  });
};

Can you please specify the command through which you are trying to run the karma tests?  This error might be displayed when you, by mistake, run karma command from a wrong directory.
More information can be found here: http://stackoverflow.com/questions/24220888/error-you-need-to-include-some-adapter-that-implements-karma-start-method

@Shilpi3 you should define property framework in your config
module.exports = (config) => {

    config.set({
       framework: ['jasmine']
    })
}

Look at documentation - http://karma-runner.github.io/1.0/config/configuration-file.html
Thanks!


[pylint] async client list methods should return AsyncItemPaged

Holding off on this check for this version of the checker


Fix IE9 204 status bug

Fixes failing .noContent test on IE9.
Just setting .noContent to use the possible falsy 1223 status code is not enough with the new error checking introduced, since 1223 is interpreted as an error (since it doesn't fit the proper status code range).
I think we should just completely set any 1223 status to 204 (implemented in this PR). Alternatively we could specifically check for 1223 when determining if the status code is an error or not, but I feel like this is a better solution.
Thoughts @defunctzombie?

IE. rofl.


Apify SDK and puppeteer problem

I am trying to include Apify with puppeteer and it is failing on build.  I am not using docker and everything is done with this command:
npm install apify puppeteer
Do I need to install playwright as well, because a lot of errors are related to missing playwright modules:

Cannot find module 'playwright/types/types' or its corresponding type declarations.
Module '"puppeteer"' has no exported member 'DirectNavigationOptions'
Module '"puppeteer"' has no exported member 'Response'.
Module '"puppeteer"' has no exported member 'Cookie'.
Module '"puppeteer"' has no exported member 'Response'.
Also, type '{ headless: true; args: string[]; }' is not assignable to type 'LaunchOptions'. Object literal may only specify known properties, and 'headless' does not exist in type 'LaunchOptions'.

Is puppeteer supported at this point?
Thanks

install puppeteer 5.5.0 and @types/puppeteer. newer Puppeteer versions have their own types shipped together

I have tried that before and I tried it again just now:
"puppeteer": "5.5.0",
"@types/puppeteer": "^5.4.3",
"apify": "^1.1.2",
Result is:
node_modules/apify/types/browser_launchers/playwright_launcher.d.ts:108:31 - error TS2307: Cannot find module 'playwright/types/types' or its corresponding type declarations.
node_modules/apify/types/crawlers/playwright_crawler.d.ts:463:22 - error TS2307: Cannot find module 'playwright/types/types' or its corresponding type declarations.
node_modules/apify/types/enqueue_links/enqueue_links.d.ts:111:40 - error TS2307: Cannot find module 'playwright/types/types' or its corresponding type declarations.
node_modules/apify/types/main.d.ts:99:37 - error TS2307: Cannot find module 'playwright' or its corresponding type declarations.
node_modules/apify/types/main.d.ts:99:173 - error TS2307: Cannot find module 'playwright' or its corresponding type declarations.
node_modules/apify/types/playwright_utils.d.ts:25:22 - error TS2307: Cannot find module 'playwright/types/types' or its corresponding type declarations.
node_modules/apify/types/playwright_utils.d.ts:27:26 - error TS2307: Cannot find module 'playwright/types/types' or its corresponding type declarations.
Any advice on this?

Everything works in JS. In TS, there might be issues because we don't officially support TS yet. We just provide "best effort" types. Maybe @B4nan can help? Or you can try installing apify@beta. I think we have some TS upgrades there.

I believe this is the problem I was talking about in the very beginning, SDK do not depend on puppetteer/playwright, but we do use the types, so in fact both puppeteer and playwright are still (an underclared) dependencies. I haven't find a way to make the TS build just work, so used ts-node instead 🤷

Would https://github.com/apify/apify-js/issues/1005 help?

Ok, closing this, since a workaround exists and we will fix it later when we fully migrate to TypeScript, but for now, there's no quick way of making it work.


Gauss Newton solver to have option for Gradient and Jacobian

Appreciate advise on how to handle Jacobian matrix that has a single entry; this entry is the derivative of the function f. I tried to use Gauss Newton solver which requires Operator and Jacobian. However, Jacobian relies on ArgminInv which has implementation of 2 dims, but not 1 dim.
I tried to use 2 dims (ndarray), and assigned 1 to 2nd array - but is this correct? Is there alternative approach? Thanks.

Not valid question??

Perhaps the question is can Gauss Newton solver have option to use (1) Gradient for one variable and (2) Jacobian for mutivariate cost function?

Or alternatively, implement a 1 dimension for ArgminInv? Does this even make sense?

Is this maybe related to #345 ?

Indeed, #345 looks very similar to my issue. It was fixed in 346 in May, 2023, which is after the latest version (0.8.1) which was released in Feb, 2023. Will wait for latest release and test it out. Thanks.

argmin 0.9.0 should support this.


The 'fn' key doesn't bring up function keys on touch bar when 'esc' button is remapped.

I remapped 'esc' to 'vk_none' on the touch bar (Target Device: "No product name (No manufacturer name)"). Doing this means pressing the 'fn' key doesn't change the touch bar to show function keys.
Disabling the Apple Internal Keyboard under 'Devices' does restore this functionality but it means I can't map any normal keyboard keys.

Sleep and wake your MacBook and it should work again.

That works. Thanks.


docs: fix typos

Fixes #N/A
Description
This PR fixes some typos in the docs.
How was this change tested?
NA
Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

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

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 79.341%

Totals

Change from base Build<PHONE_NUMBER>1:
0.01%

Covered Lines:
5922

Relevant Lines:
7464

💛  - Coveralls


possibility to parallelize panfeed-get-kmers.py

Hi. I read your paper, and used it for 100 genomes to get metadata associated gene information.
I installed  panfeed v.1.5.1 using conda and it worked well.
I tested panfeed with 100 genomes, and filtered p-lrt 0.05 .
In the second to last  command in your github **Quick start guide **, it seems to take much time to proceed.
Quick start guide  regarding my question
panfeed-get-kmers -a pyseer.tsv -p kmers_to_hashes.tsv.gz -k kmers.tsv.gz | gzip > annotated_kmers.tsv.gz
command line I used
panfeed-get-kmers  -a pyseer_test  -p panfeed2/kmers_to_hashes.tsv -k panfeed2/kmers.tsv -t 0.05  | gzip > annotated_kmers.tsv.gz
12:25:26 - panfeed - 14343 patterns pass the p-value threshold 0.05
12:25:34 - panfeed - Found 2718 gene clusters
12:25:34 - panfeed - Found 318325 k-mers
I did filtered -t 0.1  at first panfeed step (panfeed-get-clusters -a pyseer.tsv -p panfeed1/kmers_to_hashes.stv.gz -t 1E-7 > gene_clusters.txt),
and -t 0.05 at second panfeed step.
Do I have to tightly filter get gene_clusters.txt ?
Also, to get the result fast is it possible to parallalize panfeed-get-kmers???
Thank you very much for your work.

Hi! I think your p-value threshold is too lenient and not realistic for a GWAS, resulting in many hits.
I do take your point about speeding up panfeed-get-kmers though. That's something we can definitely try.


Added exceptions to review do

What is the problem / what does the code in this PR do
Adding additional exceptions to review dog.

DAR101 does not seem to work, see e.g. https://github.com/XENONnT/straxen/pull/465/files#r625016503
S101 and WPS218  are annoying in tests.
E501 can be discussed. If we say, that this is our limit I adjust my pycharm.

Thanks Daniel!


A custom ConnectionNameStrategy is ignored if there is a custom binder configuration

A custom ConnectionNameStrategy is ignored if there is a custom binder configuration.
Configuration without a custom binder works ok.
Configuration and code to reproduce this case
Spring Boot: 2.0.6.RELEASE
Spring Cloud: Finchley.RELEASE
spring.cloud.stream:
  binders:
    demoinout:
      type: rabbit
      defaultCandidate: false
      inheritEnvironment: false
      environment.spring.rabbitmq:
        host: localhost
        port: 5672
        virtual-host: demo
        username: demo
        password: demo
  bindings:
    input:
      binder: demoinout
      destination: in-demo-a-dest
      group: in-demo-a-group
    output:
      binder: demoinout
      destination: out-demo-b-dest
      group: out-demo-b-group

@Configuration
public class MessagingConfiguration {

	@Bean
	public ConnectionNameStrategy defineConnectionNameStrategy() {
		return connectionFactory -> "demo#"+UUID.randomUUID().toString().substring(0, 8);
	}

}

@Service
@EnableBinding(Processor.class)
public class MessagingProcessorService {

	@Transformer(inputChannel = Processor.INPUT, outputChannel = Processor.OUTPUT)
	public Message<byte[]> demoProcessor(@Payload final byte[] body, @Headers Map<String, Object> headers) {
		return MessageBuilder.withPayload(body).copyHeaders(headers).build();
	}
}

In this case Spring creates two CachingConnectionFactory (publisher: false, true) and set them connection strategy to one defined as a bean ConnectionNameStrategy.
After that DefaultBinderFactory creates another two CachingConnectionFactory but doesn't set defined ConnectionNameStrategy:
at   org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:137)
--
at   org.springframework.cloud.stream.binder.DefaultBinderFactory.getBinderInstance(DefaultBinderFactory.java:206)
at   org.springframework.cloud.stream.binder.DefaultBinderFactory.getBinder(DefaultBinderFactory.java:139)
at   org.springframework.cloud.stream.binding.BindingService.getBinder(BindingService.java:308)
at   org.springframework.cloud.stream.binding.BindingService.bindProducer(BindingService.java:208)
at   org.springframework.cloud.stream.binding.BindableProxyFactory.bindOutputs(BindableProxyFactory.java:252)
at   org.springframework.cloud.stream.binding.OutputBindingLifecycle.doStartWithBindable(OutputBindingLifecycle.java:46)
at   java.util.Iterator.forEachRemaining(Iterator.java:116)
at   java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
at   java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
at   org.springframework.cloud.stream.binding.AbstractBindingLifecycle.start(AbstractBindingLifecycle.java:47)
at   org.springframework.cloud.stream.binding.OutputBindingLifecycle.start(OutputBindingLifecycle.java:29)
at   org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:182)
at   org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:53)
at   org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:360)
at   org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:158)
at   org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:122)
at   org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:883)
at   org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:551)
at   org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)

This appears to be due to parent/child application context relationship.
I am not ready to classify this as a bug since in a multi-binder scenario there should be some kind of additional qualifier to then specify which binder this strategy should be applied to especially considering there may be several (one per binder).

In my case I want to apply the same custom ConnectionNameStrategy to all binders.

I understand, but as a framework we need to think of all cases

I understand, just consider applying to all binders too :)

This issue is related to: https://github.com/spring-projects/spring-boot/issues/12367
In case like below the custom ConnectionNameStrategy:

was applied to the binder demoin (inherited from the default)
wasn't applied to the binder demoout

custom.rabbitmq.connection-name-prefix: rmq-demo-single-named

spring.rabbitmq:
  host: localhost
  port: 5672
  virtual-host: demo
  username: demo
  password: demo

spring.cloud.stream:
  binders:
    demoin:
      type: rabbit
      ## inherited from the default:
      # environment.spring.rabbitmq:
      #   virtual-host: demo
    demoout:
      type: rabbit
      environment.spring.rabbitmq:
        virtual-host: demo
  bindings:
    input:
      binder: demoin
      destination: in-demo-a-dest
      group: in-demo-a-group
    output:
      binder: demoout
      destination: out-demo-b-dest
      group: out-demo-b-group

It is not directly related since from the boot perspective everything happens as expected and strategy gets wired appropriately.
In this specific case where we have multi-binder configuration the environment.spring.rabbitmq: forces us to create a whole new "child" application context which does not take into account any application configured beans, hence it is missing the strategy you have configured.
And as I mentioned before, this gets even more complicated given that our approach presumes unlimited amount of "child" contexts, so there should be some scoping strategy as well to allow "a bean" to be applied to a specific context if we were to go that route.

The binder context has a bean outerContext; this binder configuration should lookup all of these "customization" beans in the outer context when injecting them into the binder. Examples are this ConnectionNameStrategy - but there are several others - container customizers, producer listeners, etc, etc.
Recent Gitter discussion here.

	@SuppressWarnings("unchecked")
	@Bean
	KafkaMessageChannelBinder kafkaMessageChannelBinder(
			KafkaBinderConfigurationProperties configurationProperties,
			KafkaTopicProvisioner provisioningProvider,
			@Nullable ListenerContainerCustomizer<AbstractMessageListenerContainer<?, ?>> listenerContainerCustomizer,
			@Nullable MessageSourceCustomizer<KafkaMessageSource<?, ?>> sourceCustomizer,
			@Nullable ProducerMessageHandlerCustomizer<KafkaProducerMessageHandler<?, ?>> messageHandlerCustomizer,
			@Nullable ConsumerEndpointCustomizer<KafkaMessageDrivenChannelAdapter<?, ?>> consumerCustomizer,
			ObjectProvider<KafkaBindingRebalanceListener> rebalanceListener,
			ObjectProvider<DlqPartitionFunction> dlqPartitionFunction,
			ObjectProvider<ClientFactoryCustomizer> clientFactoryCustomizer) {

		KafkaMessageChannelBinder kafkaMessageChannelBinder = new KafkaMessageChannelBinder(
				configurationProperties, provisioningProvider,
				listenerContainerCustomizer, sourceCustomizer, rebalanceListener.getIfUnique(),
				dlqPartitionFunction.getIfUnique());
                if (this.producerListener != null) {
		    kafkaMessageChannelBinder.setProducerListener(this.producerListener);
                }
                else {
                      // if there's an `outerContext` lookup there
                }
		kafkaMessageChannelBinder
				.setExtendedBindingProperties(this.kafkaExtendedBindingProperties);
		kafkaMessageChannelBinder.setProducerMessageHandlerCustomizer(messageHandlerCustomizer);
		kafkaMessageChannelBinder.setConsumerEndpointCustomizer(consumerCustomizer);
		kafkaMessageChannelBinder.setClientFactoryCustomizer(clientFactoryCustomizer.getIfUnique());
		return kafkaMessageChannelBinder;
	}

I found a work around for problems like this - override the binder factory bean, but it's a bit of a hack because it requires copying a private method from BindingServiceConfiguration.
See https://stackoverflow.com/questions/64826496/injected-dependency-in-customized-kafkaconsumerinterceptor-is-null-with-spring-c/64827040#64827040

Another instance of this problem: https://stackoverflow.com/questions/64866493/kafkabindingrebalancelistener-bean-not-autowired-with-multi-binder/64866787#64866787
Work around won't work there because the field is final.


Not Working

Monitoring plugin isn't working on my android pie.

In my device not work too...

Maybe I mast install any add software in my server?

Right, doesn't work anymore on mate 20 with android 9

Same here, seems like someone broke it and forgot about it

Same here, it used to work great few time ago. Any suggestion to solve this and get back to work ?

Same here. It's broken.

Not working on aws ec2

Not working on aws ec2

agree


1,21,1

Seems like MCEF doesn't support 1.21.1 just yet, I could make a PR within MCEF as there isn't really much that changed going from 1.21 to 1.21.1.

Thanks

https://modrinth.com/mod/mcef/version/Ch5GGmc9

thanks so much


Metrics port in Quay Service object

Since Prometheus Pushgateway is used for metrics in Quay and it can be accessed via port 9091, would be useful to have it by default when provisioning Quay.
P.S.
Exists in OCP templates as well:
https://github.com/quay/quay/blob/e919361a9aad73df015c692e31a1fe1d015cafa4/deploy/openshift/quay-app.yaml#L62
Maybe like this?:
#193

as per #197


support another 5 category sensors into soletta iio node

This PR supports Magnet , Pressure, Color , Huminity and Accelerate Category into iio node. And all the sensor category have been tested to work well in minnowmax using different sensors supported by their iio drivers.

@edersondisouza This PR is focus on extending sensor category support list  in soletta for QA test. Next step we will optimize the source code such as factoring out common code as your suggestion

@bdilly Anyone can have a review this PR? Any comment is welcome.

sorry, both @bdilly and @edersondisouza are on vacation :-(
the patches looks good, keep going with other patches and they will review as soon as they are back.

I'm OK with factoring out common code on a future patch, but wouldn't do it before simplify the others patches?

@edersondisouza yes, our plan is to extending sensor category to support 30 sensors before M3. In case to avoid introducing bugs in this process , so we factoring out common in next patch. That would make easy to maintain the code step by step.


Update scene shape handlers

Update to latest UGF.EditorTools to use drawers.

Create branch: issue-7-update-scene-shape-handlers from main.


Soft delete doubles calls for service.get

If you have a users service covered with softDelete hook, then there will be 2 users.get calls for every request to it and to eny other service, that requires a populated user, e.g. services that are covered with restrictToRoles.
Since users.get most likely is fetching data from the database it is expensive, because database ops usually are the most expensive operations in request handling code.
It have a significant impact on performance in high load projects.
Second call appears when softDelete hook is calling service.get while already processing service.get request, to check whether the resource is deleted or not. But after this check we have a complete result already, this result was processed by all succeeding hooks, so we do not need to call service.get second time.
The code points:
case 'get':
  return throwIfItemDeleted(hook.id)
    .then((data) => {

...

function throwIfItemDeleted (id) {
  return service.get(id, { query: { $disableSoftDelete: true } })
    .then(data => {

Here is the PR for that: https://github.com/feathersjs/feathers-hooks-common/pull/160.

Discussion moved to that PR.


Shared resources

 I want to share resources across multiple invocations of the Sass compiler's JS API.

Upstream PR opened- https://github.com/sass/sass/pull/3719


⚠ Bofrost.lu has degraded performance

In 094b01a, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1046 ms

Resolved: Bofrost.lu performance has improved in d149cec after 9 minutes.


Goroutine issue when fetch the query from external.api

Hello everyone,
I have implemented and registered external api to the k8s environment  but I have some issues when fetch the metrics .
That is rule for external api metrics :
  - seriesQuery: 'http_requests_total{namespace!="",pod!=""}'
    resources:
      overrides:
        kubernetes_namespace: {resource: "namespace"}
        kubernetes_pod_name: {resource: "pod"}
    name:
      matches: "^(.*)_total"
      as: "${1}"

When check the kubernetes external api metrics , resources values is not null that looks fine but ,
{
  "kind": "APIResourceList",
  "apiVersion": "v1",
  "groupVersion": "external.metrics.k8s.io/v1beta1",
  "resources": [
    {
      "name": "http_requests",
      "singularName": "",
      "namespaced": true,
      "kind": "ExternalMetricValueList",
      "verbs": [
        "get"
      ]
    }
  ]
}

After all those things, when I want check the value of http_requests metric kubernetes returning this error ;
Error from server (InternalError): Internal error occurred: unable to fetch metrics
I have checked this issue from prometheus-adapter pod these are error logs related with this query ;
E1005 01:21:26.387384       1 provider.go:47] unable to generate a query for the metric: empty query produced by metrics query template
I1005 01:21:26.387594       1 wrap.go:42] GET /apis/external.metrics.k8s.io/v1beta1/namespaces/default/http_requests: (504.956µs) 500
goroutine 1909 [running]:
github.com/directxman12/k8s-prometheus-adapter/vendor/k8s.io/apiserver/pkg/server/httplog.(*respLogger).recordStatus(0xc420374930, 0x1f4)
   /go/src/github.com/directxman12/k8s-prometheus-adapter/vendor/k8s.io/apiserver/pkg/server/httplog/httplog.go:207 +0xd2
github.com/directxman12/k8s-prometheus-adapter/vendor/k8s.io/apiserver/pkg/server/httplog.(*respLogger).WriteHeader(0xc420374930, 0x1f4)
   /go/src/github.com/directxman12/k8s-prometheus-adapter/vendor/k8s.io/apiserver/pkg/server/httplog/httplog.go:186 +0x35
github.com/directxman12/k8s-prometheus-adapter/vendor/k8s.io/apiserver/pkg/server/filters.(*baseTimeoutWriter).WriteHeader(0xc42105b2a0, 0x1f4)
   /go/src/github.com/directxman12/k8s-prometheus-adapter/vendor/k8s.io/apiserver/pkg/server/filters/timeout.go:192 +0xac
github.com/directxman12/k8s-prometheus-adapter/vendor/k8s.io/apiserver/pkg/endpoints/metrics.(*ResponseWriterDelegator).WriteHeader(0xc42107f920, 0x1f4)
   /go/src/github.com/directxman12/k8s-prometheus-adapter/vendor/k8s.io/apiserver/pkg/endpoints/metrics/metrics.go:307 +0x45
github.com/directxman12/k8s-prometheus-adapter/vendor/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters.SerializeObject(0x1791e20, 0x10, 0x7f340078e6c8, 0xc4204ec580, 0x190fd20, 0xc420e8db88, 0xc421081600, 0x1f4, 0x18f9920, 0xc420039320)
   /go/src/github.com/directxman12/k8s-prometheus-adapter/vendor/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/writers.go:95 +0x8d

....
....
....

But I have parsed this error message : unable to generate a query for the metric: empty query produced by metrics query template
Kubernetes Version : v1.13.11
What is the reason of this issue ?
Help please

Hey @WoodProgrammer  It looks like a config issue with my morning eyes.
  - seriesQuery: 'http_requests_total{namespace!="",pod!=""}'
    resources:
      overrides:
        kubernetes_namespace: {resource: "namespace"}
        kubernetes_pod_name: {resource: "pod"}
    name:
      matches: "^(.*)_total"
      as: "${1}"

So here you have namespace and pod hardcoded into your config. Then you're mapping the kubernetes value for namespace to kubernetes_namespace in your prom query as well has kubernetes_pod_name and pod value. I might suggest something like this.
  - seriesQuery: 'http_requests_total{pod_name!="POD", namespace!=""}'
    resources:
      overrides:
        namespace: {resource: "namespace"}
        pod_name: {resource: "pod"}
    name:
      matches: "^(.*)_total"
      as: "${1}"

Now this makes the assumption you're using pod_name which is what's most common and not pod. If you are then switch those values out to pod in place of pod_name.


The currently playing info in the queue embed is one index ahead

When adding a playlist, the player starts playing normal but when the queue command is invoked it shows the next song as the song currently playing.
This bug is triggered the song when the second song isn't playable.
For example if we add a playlist with 10 songs where the 2 isn't playable due to youtube then the player will start at song 0. If we now skip, the player will play song 3 but it will show us that song 2 is playing. This ends when song 3 is over and or when the 3 song is skipped to the next song.

The logs show nothing, I'm working on a fix right because I'm using your code for my bot.

Ohh I never added a Playlist, if you got a fix, please show it. BTW is it just doing play then a YouTube Playlist link?

@JohnnyJTH  If you mean that it can play playlist sure just do play {playlist link}

@JohnnyJTH If you mean that it can play playlist sure just do play {playlist link}

Nice never knew nor wanted to do that. But now I'm probably gonna try it 👍


Hi Hans

Although I'm not SignalK, I'm deeply involved in B&G N2K networks.
As I have a complete workbench with several devices, I'm interested in collaboration in decoding data and commands.

That's nice! Which devices and can you make candump logs?


[Timer] Multiple microseconds timer support

Resolves #1945.

Remove TimerSchedulerLocator, Timer inherit from Ip6Locator instead to get TimerScheduler

Add separate UsecTimer and UsecTimerScheduler for multiple microseconds timer support

Thanks for this latest update - this is what I had in mind when I commented in #1945.
I know it will result in a bigger change, but I think it will be cleaner if the names make the resolution explicit.  For example:

TimerMilli: the millisecond timer object representation
TimerMicro: the microsecond timer object representation
TimerMilliScheduler: the millisecond timer scheduler
TimerMicroScheduler: the microsecond timer scheduler

Also, I think it will be cleaner if we rename the header files to:

include/openthread/platform/alarm-milli.h
include/openthread/platform/alarm-micro.h

Thoughts?

@jwhui, I have updated the names according to your suggestion, thanks.
@hubertmis, I also don't like the duplication codes:) So I tried with some other approach (as mentioned in #1945), but finally I find that the implementation in this PR seems to be most efficient (320 bytes flash and 32bytes RAM addition).
About the duplication codes, these functions take different Timer parameters and call into different alarm APIs, so a simple Base class could not work, we may need to introduce some other methods like Template, but it is not commonly used by OT. So if the flash and RAM addition is acceptable, I'd prefer to keep it as is (clean and readable).

@chshu I would prefer templates like in #1267 to avoid duplicated code. But it introduces maintenance cost (I'm not sure if cost of templates is greater than cost of code copy). Because of that I'm OK with current proposal as well.

@chshu first let me thank you for working on this, having flexible TimerMilli and TimerMicro will be super helpful.
I have an idea for how to reuse the code for both types of timers. The key point as you mentioned is that the two types use different Alarm related APIs. What if we provide a pointer to the Alarm functions as an input parameter for methods in a common base class (virtual function trick without being virtual).
For example, we can define an AlarmApi struct like this:
struct AlarmApi
{
    void (*AlarmStartAt)(otInstance *aInstance, uint32_t aT0, uint32_t aDt);
    void (*AlarmStop)(otInstance *aInstance);
    uint32_t (*AlarmGetNow)(void);
};

Then defining a base Timer class like this (I removed all comments)
class TimerBase: public Ip6Locator, public Context
{
public:

    typedef void (*Handler)(Timer &aTimer);

    Timer(TimerScheduler &aScheduler, Handler aHandler, void *aContext):
        TimerSchedulerLocator(aScheduler),
        Context(aContext),
        mHandler(aHandler),
        mFireTime(0),
        mNext(this) {
    }

    uint32_t GetFireTime(void) const { return mFireTime; }

    bool IsRunning(void) const { return (mNext != this); }

    // `Start()`, `StartAt()`, `Stop()`, and `GetNow()` will be defined by sub-classes.

private:
    // The code for this can be shared, only change we may need is
    // to pass the aNow as an input parameter (to avoid the need
    // for having `GetNow()` method)
    bool DoesFireBefore(const Timer &aTimer, uint32_t aNow);

    void Fired(void) { mHandler(*this); }

    Handler         mHandler;
    uint32_t        mFireTime;
    Timer          *mNext;
};

class TimerMilli : public TimerBase
{
public:
    enum
    {
        kMaxDt = (1UL << 31) - 1,  //< Maximum permitted value for parameter `aDt` in `Start` and `StartAt` method.
    };

    // Here we define `Start` and `StartAt` and `Stop`
    // and `GetNow` for the timer type using its
    // corresponding scheduler.
}

// And same way for `TimerMicor` class.

We then have a TimerSchedulerBase which contains all the common code.
class TimerSchedulerBase: public Ip6Locator
{
    TimerSchedulerBase(void);

    void Add(TimerBase &aTimer, const AlarmApi &aAlarmApi);
    void Remove(TimerBase &aTimer, const AlarmApi &aAlarmApi);
    void ProcessTimer(const AlarmApi  &aAlarmApi);
private:
    void SetAlarm(const AlarmApi &aAlarmApi);
    static bool IsStrictlyBefore(uint32_t aTimeA, uint32_t aTimeB);

    TimerBase *mHead;
};

The common code use the input parameter aAlarmApi function pointers.
Then the two sub-classes for milli and micor scheduler will contain inline calls into base class providing the alarm API:
class TimerSchedulerMilli : public TimerSchedulerBase
{
public:
    TimerShceduelr(...)

    void Add(TimerMilli &aTimer)     { TimerSchedulerBase::Add(aTimer, sMilliAlarmApi); }
    void Remove(TimerMilli &aTimer)  { TimerSchedulerBase::Remove(aTimer, sMilliAlarmApi); }
    void ProcessTimer(void)  { TimerSchedulerBase::Process(aTimer, sMilliAlarmApi); }
    // ...

private:
    static const AlarmApi sMilliAlarmApi;
};

// In cpp file we define the `MilliAlarmApi` struct as a constant:

static const TimerSchedulerMilli::sMilliAlarmApi = { &otPlatAlarmStartAt, &otAlarmStop, &otAlarmgetNow };

And same way for the Micro one.
One thing I realized that we may need to make the TimerScheduelrBase be a Ip6Locator itself. For single-instance case this should not add any new variable and make the code simpler.
Thoughts?
(sorry for rather long comment... :)...)

@abtink , Thanks a lot for the detailed and great suggestion. I have submitted a new commit which implements the new Timer code structure. Please have a review again.
The new commit helps to reduce 72 bytes flash:
Base (Master):
$ arm-none-eabi-size output/nrf52840/bin/ot-cli-ftd
   text	   data	    bss	    dec	    hex	filename
 158072	    524	  33374	 191970	  2ede2	output/nrf52840/bin/ot-cli-ftd

Before the new commit (304 bytes flash and 32 bytes RAM addition):
$ arm-none-eabi-size output/nrf52840/bin/ot-cli-ftd
   text	   data	    bss	    dec	    hex	filename
 158376	    524	  33406	 192306	  2ef32	output/nrf52840/bin/ot-cli-ftd

After the new commit (232 bytes flash and 32 bytes RAM addition):
$ arm-none-eabi-size output/nrf52840/bin/ot-cli-ftd
   text	   data	    bss	    dec	    hex	filename
 158304	    524	  33406	 192234	  2eeea	output/nrf52840/bin/ot-cli-ftd

@abtink, Thanks for the suggestions, I have updated the implementation accordingly.

@jwhui , I have updated it according to your comments, thanks.


Add pointer related codes

Codecov Report

Merging #94 (02c5e79) into master (73d78fc) will decrease coverage by 0.14%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##           master      #94      +/-   ##
==========================================
- Coverage   84.29%   84.15%   -0.15%
==========================================
  Files          20       20
  Lines        1566     1571       +5
==========================================
+ Hits         1320     1322       +2
- Misses        210      213       +3
  Partials       36       36

Impacted Files
Coverage Δ

middleware/context/context.go
93.04% <33.33%> (-2.42%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


updates to include_original_region support in map_insert and add tests

Requirements

Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion;
Review the contributing guidelines for this repository; remember in particular:

do not modify code without testing for regression
provide simple unit tests to test the changes
if you change the schema you must patch the test databases as well, see Updating the schema
the PR must not fail unit testing

Description
Same changes as #482, based to release/101
Testing
Have you added/modified unit tests to test the changes?
Yes
If so, do the tests pass/fail?
Pass. Also passes test Parser.t in ensembl-vep
Have you run the entire test suite and no regression was detected?
Passes for master

Coverage increased (+0.005%) to 82.338% when pulling 0659e0b4604867a7d4bb7f1aa3a9eac10c675e22 on bugfix/mapInsertFix101 into 34e5e84bf8708712dca1471055ea41a460487898 on release/101.


Json serialization stores double quote for value

For Json serialization, it seems to be storing the value in double quote.
For example, if the object is any native types, it stores the value in double quote. Rather, I want to store without the quote.
Is it possible to configure so that it doesn't do this?

can you give an example ?


Language Structure Rule Set

Crafting and maintaining this open issue to sum up the set of rules used to gather the language database.
The rules are :

LDM words have to be as unified as possible
LDM words have to be as simple as possible
LDM words have to be as usable as possible

Update :

LDM words have to be as unified as possible
LDM words have to be as simple as possible
LDM words have to be as usable as possible
LDM words allowed are just the ones including 3, 7, 9, the most used ones
LDM words including 7, 9 must be duplcated with h, q

Update :

Update :

LDM words have to be as unified as possible
LDM words have to be as simple as possible
LDM words have to be as usable as possible
LDM words allowed are just the ones including 3, 7, 9, the most used ones
LDM words including 7, 9 must be duplcated with h, q
LDM words have to have one possible writing

Update:

LDM words have to be as unified as possible
LDM words have to be as simple as possible
LDM words have to be as usable as possible
LDM words must have a unique value
LDM words must be in lower case
LMD words added have to be without ta3rif


Move All Genie Specific Properties Under Genie Namespace

This PR moves all the properties we've created thus far in Genie 3.0 development under genie. namespace for clarity and consistency.
Will help when it comes to documenting Genie 3 as all transitive dependencies (e.g. Spring) properties can have their own documentation leveraged.

Current coverage is 81.72%

Merging #192 into develop will increase coverage by +0.03% as of 879e4e9

@@            develop    #192   diff @@
=======================================
  Files            99      99
  Stmts          2933    2938     +5
  Branches        293     293
  Methods           0       0
=======================================
+ Hit            2396    2401     +5
  Partial          67      67
  Missed          470     470

Review entire Coverage Diff as of 879e4e9

Powered by Codecov. Updated on successful CI builds.


[Team B] [Test Report] - Test Summary

Test Summary included creating Functional Test Cases with screenshots


== override parameters are non-nullable

Make operator == override parameters no-nullable.
Fixes https://github.com/flutter/flutter/issues/117838
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
[x] I signed the CLA.
[ ] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I listed at least one issue that this PR fixes in the description above.
[ ] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.
[ ] I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is test-exempt.
[ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@stuartmorgan I can't make heads or tails of that CI failure. Any idea?

We've been having OOM flake building that target recently; I'm re-running it.

Is there a way to force it?


Remove non-inclusive language

rdar://problem/69396992

@swift-ci please test

We need a corresponding PR on SwiftPM before merging.

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test

@neonichu this is breaking the Windows builds of swift-package-manager since apple/swift-package-manager#2954 isn't merged :-(

Sorry, I had to wait for the final smoke test run to complete. Unfortunately we don't have a good way to merge two PRs together because of how the self-hosted job works. Hopefully we can resolve this type of issue as part of getting rid of the vendored TSC.

Actually, it seems like the real issue is that the self-hosted jobs have been set to "Required". The original intent was apparently to have them for faster CI iteration, but only smoke tests should be required for merging.

OK, this is fixed now. Only the "smoke tests" jobs are required, so in the future we can merge TSC and SwiftPM PRs together.


Feature/run in docker

Added a case for finding the world ellipsoid in the wkt of the geotiff.

I pulled your changes into another branch so i can do all the updates at once.


Add nurseries empty state

Replace Inventory path name with inventory, and add new nurseries path
TODO: Replace navBar nuseries icon and empty state blobby icon

Add the route guard and merge. I will create a ticket to move empty state content into individual components.

I still have to change the icons

Add the route guard and merge. I will create a ticket to move empty state content into individual components.

I still have to change the icons

and we have to wait for vercel to start working maybe


Run integration unit tests

Description
Run integration unit tests in GHA.
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
CI

Current dependencies on/for this PR:

master

PR #4777   👈

This comment was auto-generated by Graphite.


Rust: Enforce rustfmt?

Should rustfmt be enforced in the rust projects? Personally I am a fan, and it is well integrated in cargo and IDEs, and it's widely used.
Validating it in CI is simple.
Benefits are:

It removes (almost) all style conflicts
Look and feel of code becomes consistent, regardless of who writes the code.

Downsides:

The default style may not be attractive to everyone. IMO a worthwhile tradeoff, and in the worst case it can be configured,

@jdraaijer-microsoft I think this is a good idea. We'll have more people working on this codebase, so ensuring format consistency is important. I'll update the pipelines to ensure rustfmt runs.


feat(schema 5.1.0): validate obs[cell_type_ontology_term_id]

Reason for Change

#830

Changes

Added validation of cell ontology term ID: must be "unknown" if Visium, is_single is True and in_tissue is 0.

Testing

Added unit tests.

Hi @brian-mott, this is ready for review!

Hi @brian-mott, this is ready for re-review!


Navbar (and other components) stopped working in Svelte 5

Describe the bug
https://github.com/sveltejs/svelte/issues/10359
Using Navbar (and some other components) causes Svelte 5 (5.0.0-next.81+) to throw hydration errors making the site unusable.
Reproduction
Components that do this:
$$restProps.color = $$restProps.color ?? 'navbar';
Flowbite version and System Info
System:
    OS: macOS 13.6.6
    CPU: (8) x64 Intel(R) Core(TM) i7-7920HQ CPU @ 3.10GHz
    Memory: 148.33 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.11.1 - ~/Library/pnpm/node
    npm: 10.5.2 - ~/Library/pnpm/npm
    pnpm: 8.15.6 - ~/Library/pnpm/pnpm
  Browsers:
    Chrome: 124.0.6367.92
    Safari: 16.6
  npmPackages:
    @sveltejs/kit: ^2.5.7 => 2.5.7
    flowbite-svelte: ^0.44.24 => 0.44.24
    svelte: 5.0.0-next.82 => 5.0.0-next.82
    vite: ^5.0.3 => 5.1.6

Svelte5 now is not stable

For Svelte 5/Runes, please try https://svelte-5-ui-lib.codewithshin.com/

Is this eventually going to be part of the flowbite family - or is it it's own thing?

It is uncertain at the moment.


Add Variational Autoencoders

Paper: https://arxiv.org/abs/1312.6114
Example implementations (non-official): https://github.com/clementchadebec/benchmark_VAE

Looking into samplers


Fix #1478 - Razor.Design not getting replaced in templates

I missed defining the symbol in template.json

Thanks @rynowak for handling this so quickly!
I think one of the symbols needs to be in the "hosted" template instead of the "standalone" one, so I'm moving it across. I'll verify the result works in case I've got the wrong idea about that.


Update virtual-machines-windows-attach-disk-ps.md

Variable $virtualMachineName never set. Change to use vmName

Hi @jonjander, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

@jonjander : Thanks for your contribution to the Azure documentation! The author, @cynthn, has been notified to review your proposed change.

#sign-off @jonjander Thank you for catching that issue!


fix validation toast notification for workflow

- Summary

Toast notification logic was missing for editorial workflow entry persist.
Fixes #1202.
- Description for the changelog

Fix editor validation notifications for editorial workflow

Deploy preview for netlify-cms-www ready!
Built with commit 0beb765b83e693117ae4bd3928642aec5114f211
https://deploy-preview-1204--netlify-cms-www.netlify.com

Deploy preview for netlify-cms-www ready!
Built with commit 8dd1c3878ee1c64894f4378f18e04962c38d9113
https://deploy-preview-1204--netlify-cms-www.netlify.com

Deploy preview for cms-demo ready!
Built with commit 8dd1c3878ee1c64894f4378f18e04962c38d9113
https://deploy-preview-1204--cms-demo.netlify.com

Deploy preview for cms-demo ready!
Built with commit 0beb765b83e693117ae4bd3928642aec5114f211
https://deploy-preview-1204--cms-demo.netlify.com


Set a timeout period

Script will hang if a website takes forever to respond.

https://github.com/eric116/oshdata-tools/commit/28290aee5c434081b0431188cbcee6a92a3b9430


iconExists() always return false if loadIcons() is not called

I'm trying to check if the icon exists like the document in Reactjs:
https://docs.iconify.design/icon-components/react/icon-exists.html
My code:
import { iconExists, loadIcons, Icon } from "@iconify/react";

const icon = "emojione:locked-with-pen";
const Test = () => {
  loadIcons([icon]);
  return <Page title="TEST">{iconExists(icon) && <Icon icon={icon} />}</Page>;
};

If I don't call loadIcons() then iconExists() always returns false.
Does it require loadIcons() to call first to cache the icon ?

I think you misunderstood function's purpose. It doesn't check if icon exists on API, it checks if icon exists in component's data storage.
So if icon is not loaded, iconExists() will return false.
Also your usage of loadIcons() in your code is incorrect. It is not a synchronous function, icon will not be loaded immediately and next iconExists() will likely return false too.

@cyberalien  thank you, sir
I got it


Reduce Google Guava usage

Guava is a commonly used library that can cause dependency conflicts. Reduce the usage of Google Guava in lettuce 4.2 so lettuce can hopefully get rid of it one day:

Lists and Maps and immutable collections/maps
Cache and Cache Builder
AbstractInvocationHandler
Preconditions

Why do you want avoid  immutable collections/maps ?

I'm not avoiding immutable collections/maps but I version conflicts because of Guava. Guava is used nearly everywhere and here and there in a driver or common framework (Cassandra Driver, Vaadin, Jackson, and 11526 other public artifacts according to VersionEye). Some API's are changing/removed within Guava so upgrading to a higher version carries always the risk of breaking things. I'm also not fan of relocating (shading) 2MB of Guava for "just" a bunch of helpers.

Ok I understand.
You will implement your own immutables collections ?
Thank you for your answer :)

No need for own immutable collections since Java provides Collections.unmodifiableList et. al.

Implemented. The remaining parts use LoadingCache and HostAndPort on the public API.


HA docs

New cluster.rst - in product help text links to this page.
Tombstone the old HA doc (ha.rst - content moved into new doc)
edit index.rst to reflect the above^
config settings

Thanks to Corey for initial draft, and a review after reformatting and reorganization.

+1 other than minor comments above

+1 other than above comments

Thanks for the review @lfbrock and @jasonblais, tweaks made.
@coreyhulen is taking a final review, then I will merge and verify the links.

Thanks for the reviews! Merging.


⚠ Bofrost.de has degraded performance

In 0cc1806, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1742 ms

Resolved: Bofrost.de performance has improved in e88819c.


MolGen with column_name raises a KeyError

Describe the bug
from tdc.generation import MolGen
data = MolGen(name='ZINC', print_stats=False)

works as advertised.
However, adding a column_name to the function call raises a KeyError:
from tdc.generation import MolGen
data = MolGen(name='ZINC', column_name='abc', print_stats=False)

To Reproduce
See above
Expected behavior
Setting the column_name should not raise an error (and name the column accordingly).
More of a question: if I have downloaded the data set earlier and load it again later, TDC finds the local copy. That's nice and as intended. But what if I load it again but with a different column_name? I think it should re-download it (or change the column name). I was unable to test it because of this bug.
Screenshots
I guess not necessary.
Environment:

OS: macOS 12.3.1
Python version: 3.10.4
TDC version: 0.3.6
Any other relevant information: pandas version = 1.4.2

Additional context
n.a.

zinc only has one columns, 'smiles', so why do you want to specify another column?

you do not need to re-download the dataset. see the example below please.

from tdc.utils import retrieve_label_name_list
label_list = retrieve_label_name_list('QM9')
label_list
['A', 'B', 'C', 'mu', 'alpha', 'homo', 'lumo', 'gap', 'r2', 'zpve', 'U0', 'U', 'H', 'G', 'Cv']
from tdc.single_pred import QM
data = QM(name = 'QM9', label_name = label_list[0])
dataset_path https://dataverse.harvard.edu/api/access/datafile/6179310
Downloading...
100%|███████████████████████████████| 85.8M/85.8M [00:15<00:00, 5.44MiB/s]
Loading...
qm9 ./data
Done!
data = QM(name = 'QM9', label_name = label_list[1])
dataset_path https://dataverse.harvard.edu/api/access/datafile/6179310
Found local copy...
Loading...
qm9 ./data
Done!

zinc only has one columns, 'smiles', so why do you want to specify another column?

I understand that this seems not necessary for one dataset only. But I want to do experiments with different datasets and want to have a “standardized” way to represent the data. A first step would be to name the (SMILES-) column the same across datasets.
Of course, it's simple to change the column name after downloading the dataset. However, I felt that using an API in a documented, syntactically correct way (at least I think I did) should not throw an exception.

you do not need to re-download the dataset. see the example below please.
...

Thank you! I was not aware that I can use retrieve_label_name_list this way.

hi @hogru currently we do not have support for changing column name. but for your use case, you can do it this way
from tdc.generation import MolGen
data = MolGen(name='ZINC', print_stats=False)
df = data.get_data().rename(columns={'smiles': 'abc'})

Thank you @kexinhuang12345, that saves me a trip to my pandas cheat sheet (which I am not very familiar with or seem to start from scratch every time I use it, much like matplotlib ;-) )


VS Code: some files within project cannot be loaded, all of the same type and are accessible on local machine

Describe what happened:
We have a collection .sql files stored in a project folder.
When attempting to open these through the Files interface (virtual workspace), some of them open fine, others fail to open and a blue opening streak continually moves across the screen on the tab.
All files are present on the local machine and have no 'odd' formatting to indicate why some do or do not open? All permissions are the same on every file.
This happens on the VS Code (Linux) and also on the web browser interfaces
What was your system configuration?
Product and Version [VS/VSCode]: 1.74.1
OS Version[macOS/Windows]: Linux Ubuntu 22.04
Live Share Extension Version: 1.0.5788
Target Platform or Language [e.g. Node.js]: sql (we have not noticed if other files do the same yet)
Steps to Reproduce / Scenario:

Go to '...' Files
Click on '....' a xx.sql file
Scroll down to '....' file does not open or it does.

Please attach logs to this issue:
You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue
Screenshots
If applicable, add screenshots to help explain your problem.

errorlog.zip

Just noticed that on a clean load with a new live share link, if I do not attempt to load any of the non-loading files, but instead follow my colleague - when he double clicks the 'offending' .sql files they suddenly appear for me and are then accessible afterwards. However, as soon as I attempt to open one of these files before the above is performed then this 'hack' fails and a restart and new live share is required to do it again.


refactor(transformer): shorten code

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#3912  👈
#3911
#3908
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @overlookmotel and the rest of your teammates on  Graphite


has_content and has_no_content do not behave as expected with regard to content within hidden elements

has_content should only find content that is visible to the end user, respecting hidden elements. currently it finds content regardless of the display state of its containing element(s).
i wrote some tests illustrating this behavior:
http://github.com/kevinolsen/capybara/commit/c5d689e8bd4006e3b788bbcf425528b8c75ae056
i can forsee an issue with needing to find content within hidden elements, but i don't think the primary use case should assume hidden content to be viable

Should be fixed by 6f420d024608510cc7b17bb005a0cc202dd49b87


Issue/2379 facts overview (#2554)

Pull request opened by the merge tool on behalf of #2554

Merged in c6c0f3f0b5ec4e863d12b43d9c97da0b7c01cb97


Pl3xmap "Dynmap configuration object missing"

I have followed the installation guide, however LiveAtlas still gives me the following error:

My liveAtlasConfig:
    <script>
        window.liveAtlasConfig = {
            servers: {
                pl3xmap: {
                    pl3xmap: window.location.pathname
                }
            },

            messages: {
            	chatNoMessages: 'No chat messages yet...',
                chatTitle: 'Chat',
                chatLogin: 'Please {{link}} to send chat messages',
                chatLoginLink: 'login',
                chatSend: 'Send',
                chatPlaceholder: 'Type your chat message here...',
                chatErrorUnknown: 'Unexpected error while sending chat message',
                chatErrorDisabled: 'Chat is not enabled',
            	serversHeading: 'Servers',
                worldsSkeleton: 'No maps have been configured',
                playersSkeleton: 'No players are currently online',
                playersTitle: 'Click to center on player\nDouble-click to follow player',
                playersTitleHidden: 'This player is currently hidden from the map\nDouble-click to follow player when they become visible',
                playersTitleOtherWorld: 'This player is in another world.\nClick to center on player\nDouble-click to follow player',
                playersSearchPlaceholder: 'Search players...',
                playersSearchSkeleton: 'No matching players found',
                followingHeading: 'Following',
                followingUnfollow: 'Unfollow',
                followingTitleUnfollow: 'Stop following this player',
                followingHidden: 'Currently hidden',
                linkTitle: 'Copy link to current location',
                loadingTitle: 'Loading...',
                locationRegion: 'Region',
                locationChunk: 'Chunk',
                contextMenuCopyLink: 'Copy link to here',
                contextMenuCenterHere: 'Center here',
                toggleTitle: 'Click to toggle this section',
                mapTitle: 'Map - Use the arrow keys to pan the map',
                layersTitle: 'Layers',
                copyToClipboardSuccess: 'Copied to clipboard',
                copyToClipboardError: 'Unable to copy to clipboard',
            },

            ui: {
            	playersAboveMarkers: true,
                playersSearch: true
            }
        };
    </script>

Was facing the same. For anyone strumbling on this Issue: Support for pl3xmap was only introduced in the 2.0 beta that is available on spigotmc or in github as a prerelease: https://github.com/JLyne/LiveAtlas/releases/tag/v2.0.0-beta.4. The default release that github points to is NOT compatible with pl3xmap as of time of writing.

Yeah the above comment is correct. Will try and get a 2.0 release out soon to avoid the confusion.


replace node-sass with dart-sass

use of node-sass is deprecated since 2020, replacement with dart-sass is recommended.
Also node-sass requires python 2.7, which end-of-life was in 2020.
I tried to implement this myself and create a pull-request but I'm unfortunately not proficient enough.
Would be amazing if someone could look into this.
This issue is also valid for the other starters that have node-sass in the dependencies.

Hi @datadu-de
i have updated the template and fixed all fixable issues
There are some audits which I can't fix from our side.
There are also some issues with some packages like twbs/rfs.
I'm currently using a local file which fixs the deprecated warnings for now.
There are also some changes in the gridsome.config.js and the SearchModal.vue to fix some issues after upgrading to the latest flexsearch version.
I will try to fix the other templates as soon as I can ✌
I have tested it only locally but everything worked as expected.

@noxify wow that was quick :-)
thanks a lot! 👍


fix for use of interface in css 2.0.0

Version 2 of CSS is required to have the interface needed to filter AST on media types.

Published 1.4.0 version.


update release action to include chart release

Also update release documentation to reflect latest release workflow

Latest release guide: https://github.com/openservicemesh/osm/blob/main/docs/release_guide.md
Helm charts are published using gh-pages to the gh-pages branch: https://github.com/openservicemesh/osm/tree/gh-pages


msa: fetch keys by msa id issue #38

Problem
Defined in https://github.com/LibertyDSNP/mrc/issues/38
User should be able to fetch keys related to a MSA id
What

Added new storage for reverse mapping
Added new rpc endpoint for MSA pallet to fetch keys using msa_id

Notes/Questions

Should we supply msa_id on all requests in a way that we don't need to get it via accountId? In this case we might just need to have a DoubleMap of (MsaId, Accountd) -> keyInfo. The assumption for this is that the user should always know their MsaId

Remaining Tasks

[x] show key detail (is revoked in rpc)

RPC verification

After having a conversation with the team it turned out that due to requirement that an account-id can be connected to only one MSa account at a time, we will need to keep the mapping between account-id -> Msa on-chain.

Look Fabulous! ⛹♂


Add 'extract' function to PostgresModule

Add support for function extract described in the PostgreSQL docs.

Add function to PostgresFunctionDef in PostgresModule
Add test in FunctionDefSpec

I'll try this one.

This is still an open issue.

This function needs extra handling as it's input is not a simple list of parameters. The signature is
extract ( field from timestamp )


Networking setup between hetzner-online and hetzner-cloud should be the same

Is your feature request related to a problem? Please describe.
Hi,
why isn't /nixos/hardware/hetzner-online/default.nix exposed in nixosModules or imported by /nixos/hardware/hetzner-cloud/default.nix?
In particular - I have no idea how baremetal works on Hetzner, but the way of setting up IPv6 should be exactly the same between cloud and online. Perhaps these two should have some shared networking module?

They are very different actually and do not really share common functionality. With hetzner-cloud ipv6 addresses are set automatically by using cloud-init while for in hetzner online, one has to manually set those.

Just checked again and it indeed works! Looks like I fricked something up last time I tried this 😕


Add support for downloading collections

Preliminary support for hca dss download-collection.
Features:

Takes advantage of parallelization in DSSClient.download_manifest
Supports downloading nested collections and bundles
Will not download collections that contain themselves
Will not download collections that contain bundles/collections that are nested too deeply

Limitations:

Files specified in a collection independent of a bundle cannot be downloaded. This is a limitation of DSSClient.download_manifest.
Empty files cannot be downloaded (though empty file download with hca dss get-file also fails, so I think this may be the proper behavior...)

Closes #339

Codecov Report

Merging #351 into master will decrease coverage by 1.34%.
The diff coverage is 12.12%.

@@            Coverage Diff             @@
##           master     #351      +/-   ##
==========================================
- Coverage   84.73%   83.38%   -1.35%
==========================================
  Files          37       37
  Lines        1756     1788      +32
==========================================
+ Hits         1488     1491       +3
- Misses        268      297      +29

Impacted Files
Coverage Δ

hca/dss/__init__.py
82.26% <12.12%> (-7.91%)
:arrow_down:

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 6200a98...6b95f8d. Read the comment docs.


MudAutocomplete in a MudCard doesn't work in V7.1.1

Bug type
Component
Component name
MudAutocomplete
What happened?
I am using .Net 8.0. When I upgraded from V6.21.0 to V7.1.1, MudAutocomplete fields within MudCard/MudCardContent stopped displaying the selection list as I type. I had to hi enter and then it would select the first one it found. I built a sample page and ran it on V6.21.0 and it works. When running it on V7.1.1 it stops working correctly.
@page "/NewPage"
@using System.Threading
@using System.Threading.Tasks
@using System.Collections.Generic
@using System.Linq
<MudText Typo="Typo.h6">MudBlazor is @Text</MudText>
<MudButton Variant="Variant.Filled" Color="Color.Primary" OnClick="ButtonOnClick">@ButtonText</MudButton>

<MudCard>
    <MudCardMedia Image="_content/MudBlazor.Docs/images/content-template-door.png" Height="200" />
    <MudCardContent>
        <MudAutocomplete T="string" @bind-Value="x" SearchFunc="@Searchx" Label="x" Immediate="true" ResetValueOnEmptyText="true" Required="true"
                         Margin="Margin.None"></MudAutocomplete>
        <MudText Typo="Typo.h5">Old Paint</MudText>
        <MudText Typo="Typo.body2">Old paint found on a stone house door.</MudText>
        <MudText Typo="Typo.body2">This photo was taken in a small village in Istra Croatia.</MudText>
    </MudCardContent>
</MudCard>

@code {
    public string Text { get; set; } = "????";
    public string ButtonText { get; set; } = "Click Me";
    public int ButtonClicked { get; set; }
    public string x { get; set; } = "";
    public List<string> _x = new List<string>()
    {
        "hi", "help", "a", "gggg"
    };
    void ButtonOnClick()
    {
        ButtonClicked += 1;
        Text = $"Awesome x {ButtonClicked}";
        ButtonText = "Click Me Again";
    }

    Task<IEnumerable<string>> Searchx(string value, CancellationToken token)
    {
        return Task.FromResult(_x.Where(x => x.Contains(value, StringComparison.InvariantCultureIgnoreCase)));
    }
}

Expected behavior
As I type in the autocomplete field, I should see the section list.
Reproduction link
I cannot use this due to restrictions by my company
Reproduction steps

Need to use .Net 8.0
Create an app that uses the sample page above.
Install MudBlazor 7.1.1

Relevant log output
No response
Version (bug)
7.0.0 - 7.1.1
Version (working)
6.21.0
What browsers are you seeing the problem on?
Chrome, Edge
On which operating systems are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I have the same issue.  It seems it has the search results but the popup list doesn't show.

Can you send a GIF? I tried exactly your code, and I understand your problem as the dropdown doesn't appear while typing. I tried it on v7, and it seems fine for me:

Let me know if I'm missing something.
Also did you read the migration guide and added the MudPopoverProvider to the MainLayout.razor?

I didn't see that in the Guide. I did the following:
Program.cs Added:
builder.Services.AddMudServices(options =>
{
options.PopoverOptions.ThrowOnDuplicateProvider = false;
});
MainLayout.razor Added:

Once I did that, the code works on V7.1.1.
Thank you for the help.


fix: use helper to deserialize mainnet TTD

Followup to #5290, using behavior from https://github.com/gakonst/ethers-rs/pull/2617/ instead of find/replace to deserialize the mainnet TTD.

hmm, this is now baked into the jsonu256 helper type, but we only need this for genesis, right?
I think we should instead use an annotation there

ah right, yeah, an annotation would be better so we can just do this hack for TTD rather than for everything

@Rjected test fails in CI for some reason, couldn't reproduce locally in reth-rpc-types

hmm, I'm only able to repro with nextest run on the entire repo, but at least I can repro

hmm, apparently it's possible for is_f64, is_u64, is_i64 to all return false:
running 1 test
val: Number(58750000000000000000000), u64: false, f64: false, i64: false
test serde_helpers::json_u256::test::deserialize_ttd ... FAILED

Should be able to fix though

@mattsse we can actually use as_str from Number, and pass that into U256::from_str_radix

nevermind, that's only for arbitrary precision


TravelTimeToEndLocation is not listed

We're missing a description of TravelTimeToEndLocation in the Travel row for the Time slots entity.

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

ID: 1172fb10-64c9-30b2-2b4b-922ef6807e17
Version Independent ID: 9690c995-4a64-0217-562a-70456b02e78a
Content: Search resource availability API in Dynamics 365 Field Service - Dynamics 365 Field Service
Content Source: ce/field-service/search-resource-availability-api.md
Service: dynamics-365-field-service
GitHub Login: @ryanchen8
Microsoft Alias: chenryan

Thanks for your comment, @fmarcellino. This issue has been assigned to the doc author for review.


Updates to demos on slide 12 based on @Damo's feedback

Please update the slides and demos as explained in the feedback emails from @Damovisa.
Please follow up with me if you have any questions, and close this issue as soon as it's completed.
*Note, please prioritize the other 2 issues, which are blockers for this presentation to be presented. Please move on to this issue ONLY once those are completed and closed.

Demos and slides updates with the feedback from @Damovisa
Best!