:bar_chart: adding regions to remittance data

(for owid/owid-issues#1699)
Adding regional averages to remittance costs in the WDI and adding remittances over regions.
Average remittance costs are calculated only including countries where both volume and cost of remittances is available.

indicators (sending costs, receiving costs) on staging
since not everywhere costs and volumes are available, some regional averages are only a few countries. I think it is still useful for the overall trend, but open to feedback on how to deal with this
edit: I've now changed the code to only include averages when more than 75% of the remittance volume in an area is covered by cost data.

@paarriagadap Hey Pablo! Thank you so much for your review and weighing in on the data coverage issue. I totally agree with your assessment of this.
In this case, just taking the number/share of NAs for countries in each area would be a bit misleading, since often very few countries in one area send/ receive the most remittances (e.g USA/ Canada in NA, Australia in Oceania). To combat this I've now changed the code to only include averages when more than 75% of the remittance volume in an area is covered by cost data. (I think this a reasonable large coverage).
Let me know what you think - if you give me a 👍 I'll go ahead and merge!

Sorry for the delay @antea04 — I finally took at this now. The logic makes sense to me.
Looking at http://staging-site-remittance-regions/admin/variables/905929, this 75% threshold actually gives us data points for all years between 2011 and 2020 for the "important" regions (Africa, Asia, and South America). I'm curious: what happens if you pick a more aggressive threshold, say, 90%? How many of these data points are still present?

Hi @edomt - no worries, thanks for taking a look!
Yeah, I thought 75% is a pretty solid threshold while still keeping many interesting data points around. The "important" receiving regions still have solid data for most years with a higher threshold (say 90%), but for regions from which remittances are sent it gets pretty sparse at ~80%.
To satisfy your curiosity, here the full breakdown. I'm open to change the threshold if you think that makes sense!

with threshold 0.75 following regions and years are still included
Sending remittances:
Asia: [2016 2017 2020]
Europe: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
High-income countries: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
North America: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
Oceania: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
Receiving remittances:
Africa: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
Asia: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
Low-income countries: [2012 2013 2014 2015 2016 2017 2018 2019 2020]
Lower-middle-income countries: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
North America: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
South America: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
Upper-middle-income countries: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
with threshold 0.8 following regions and years are still included
Sending remittances:
Asia: [2016]
Europe: [2012 2013 2014 2015 2016]
High-income countries: [2012 2013 2016 2017 2018 2019 2020]
North America: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
Oceania: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
Receiving remittances:
Africa: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
Asia: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
Low-income countries: [2013 2014 2016 2017 2018 2019 2020]
Lower-middle-income countries: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
North America: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
South America: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
Upper-middle-income countries: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
with threshold 0.85 following regions and years are still included
Sending remittances:
High-income countries: [2016 2017 2018 2019 2020]
North America: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
Oceania: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
Receiving remittances:
Africa: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
Asia: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
Low-income countries: [2016 2017 2018 2019 2020]
Lower-middle-income countries: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
North America: [2016 2017 2018 2019 2020]
South America: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
Upper-middle-income countries: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
with threshold 0.9 following regions and years are still included
Sending remittances:
High-income countries: [2016]
North America: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
Oceania: [2012 2013 2014 2015 2016 2017 2018 2019 2020]
Receiving remittances:
Africa: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
Asia: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
Low-income countries: [2016 2017 2018 2019 2020]
Lower-middle-income countries: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
South America: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
Upper-middle-income countries: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
with threshold 0.95 following regions and years are still included
Sending remittances:
North America: [2011 2012 2013]
Oceania: [2018 2019 2020]
Receiving remittances:
Africa: [2012 2013 2014 2015 2016 2017 2018 2019 2020]
Lower-middle-income countries: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]
South America: [2017 2018 2019 2020]
Upper-middle-income countries: [2011 2012 2013 2014 2015 2016 2017 2018 2019 2020]


Allow non-cert public keys

This allows non-cert PEM encoded public keys to be loaded as delegation keys

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "non-cert" git@github.com:ecordell/notary.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "non-cert" git@github.com:ecordell/notary.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

Can one of the admins verify this patch?

Looks like we would not be able to merge this PR because of merge conflicts. Please rebase, fix conflicts, and force push to your branch.

Looks like we would not be able to merge this PR because of merge conflicts. Please rebase, fix conflicts, and force push to your branch.

Addressed review comments.
@endophage held off on public key refactoring because of https://github.com/docker/notary/issues/977
@cyli Didn't end up adding ed25519 support because the x509 library doesn't recognize it as a valid PEM public key type. If it's something that should be supported can always wrap the x509 lib and add ed25519 support.

jenkins, test this please

jenkins, test this please

(Hmm... you can't edit the text of your previous review status comment :P  sorry for the spam!)

jenkins, test this please

thanks @ecordell for updating this, glad to have this feature :)


Can not disable spellcheck for TextField in FireFox

Steps to Reproduce

Execute flutter run on the code sample (open it in FireFox browser)
Tap on TextField

Expected results:

Browser doesn't highlight anything

Actual results:

Browser highlights incorrect words

What is already considered

I checked the issue https://github.com/flutter/flutter/issues/103342 , but keyboardType: TextInputType.visiblePassword makes TextField become single-line. So it doesn't resolve my case.
I tried to set spellCheckConfiguration: const SpellCheckConfiguration.disabled(), but it doesn't disable the spellcheck.
Finding the corresponding <textarea> tag through JS and setting attribute spellcheck="false" works. But it needs to be done from the client side. Considering that I am working on a package, I want to be able to disable it from the package side.

Code sample

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  TextEditingController controller = TextEditingController();

  @override
  void initState() {
    controller.text = 'num ';
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: TextField(
          controller: controller,
          maxLines: null,
          spellCheckConfiguration: const SpellCheckConfiguration.disabled(),
        ),
      ),
    );
  }
}

Logs

Analyzing example...
No issues found! (ran in 5.3s)

[✓] Flutter (Channel stable, 3.7.3, on macOS 12.3 21E230 darwin-x64, locale en-KZ)
    • Flutter version 3.7.3 on channel stable at /Users/yestay/fvm/versions/2.10.2
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision<PHONE_NUMBER> (4 weeks ago), 2023-02-08 15:46:04 -0800
    • Engine revision 248290d6d5
    • Dart version 2.19.2
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/yestay/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13F100
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.76.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.60.0

[✓] VS Code (version 1.71.0)
    • VS Code at /Users/yestay/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.60.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 12.3 21E230 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 110.0.5481.177

[✓] HTTP Host Availability
    • All required HTTP hosts are available

@huycozy A few more points to emphasize the difference and the priority:

But when there is maxLines: null, the spell check doesn't work.

No, it still works. We found no pure-Dart way to disable the spell check in Firefox. This is the screen of @yescorp with maxLines: null:

Here is maxLines: 3:

#40682 is to make the spellcheck work while we currently need to disable the compulsory spellcheck, so it is different.

A huge factor in this issue is inconsistency. From the docs on the spellcheck attribute of textarea: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck

If this attribute is not set, its default value is element-type and browser-defined.

This leads to spellcheck being disabled in Chrome and enabled in Firefox.
I believe the proper way of solving this to be:

Unify the current behavior in different browsers as the fastest thing to do. I believe the least surprising way is to set spellcheck="false" on textareas to match Chrome which is the market leader.
Make spellcheck attribute configurable with TextField.spellCheckConfiguration (which it is not now according to the test above). This is what #40682 was likely supposed to mean.

Also, As I observed the behavior of the browser, the <textarea> tag doesn't appear immediately. It only appears when you click on the TextField.
This may be useful when resolving the issue.

spellCheckConfiguration should not have any effect on the web, since on the web spell checking is implicit. There's no API for it. But it looks like a real bug.

CC @camsim99
Did we ever do anything to enable spell check on web?  I thought that it was disabled (even built-in spell check).
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck

@justinmc We didn't do anything, but we did see that built-in spell check worked when @yjbanov enabled it!

Ah ok, so that has been enabled by default on web now?

Ah ok, so that has been enabled by default on web now?

No no, he just tried it experimentally.

Got it, thanks for jogging my memory!
So then @alexeyinkin diagnosed the problem correctly above in https://github.com/flutter/flutter/issues/122092#issuecomment-1458282146.  Firefox enables spell checking by default.  There is no way to disable it in Flutter right now short of maybe writing a plugin to set the HTML attribute.
Long term, the solution is probably that Flutter should control the spellcheck attribute using SpellCheckConfiguration.


Move the trust password to the database

Closes #422
Signed-off-by: Stéphane Graber<EMAIL_ADDRESS>

updated commit should address the review comments


Is it possible to run spark driver and executor in separate nodes ?

Hello,
Is this possible to run the spark drivers and executors in a separate worker nodes in kubernetes.
I have tried using nodeSelector but both driver and executor is being deployed in the same node.
Please can you suggest if this is possible ? Thank you for your help.

Yes that is possible.
Inspect the yaml of the started  driver/executor pod and ensure that the nodeSelector is actually there.
If its missing check that the spark-operator webhook is operational. There are cases where the certificate  is Cg==
(base64 of '\n')  - typically after redeploy the spark-operator multiple times (search older issues here)


Unable to make tabs animated when added through Pod

I have added using pod. Followed every step but can't animate the tabs. I downloaded the project and found that tab user controller is inherited from Animated Tab Bar. This is the only difference I could find. Can someone tell how to use animations if included using pod

I create quick example, I hope it is help https://github.com/0ber/AnimatedTabBar-Pod-Test

Thank you


sqlmigrations: remove 19.2 -> 20.1 schema change migration

PR: https://github.com/cockroachdb/cockroach/pull/52968
From release notes:

As part of the transition to v20.2, the migration to upgrade schema change jobs started prior to v20.1 is no longer run. [#52968][#52968] {% comment %}doc{% endcomment %}

https://github.com/cockroachdb/cockroach/pull/54902 supersedes this change and is the more relevant one to point out to users, since it actually marks jobs as failed (as opposed to merely not running them).


Document and make stable derive_named_parameters utility function

Actually I can use the explain trick here for that: https://github.com/simonw/datasette/blob/dfd4ad558b74defbe23b01196260b087f9a56813/datasette/utils/init.py#L1130-L1140
That's in a (currently undocumented) utility function async def derive_named_parameters(db, sql):
It was added in 0.59 https://github.com/simonw/datasette/commit/fc4846850fffd54561bc125332dfe97bb41ff42e so it's safe to use. I should document it in Datasette though to make sure it's part of the documented stable API.

Originally posted by @simonw in https://github.com/simonw/datasette-write/issues/7#issuecomment-1967593883

Docs can go here: https://docs.datasette.io/en/latest/internals.html#the-datasette-utils-module

Documentation: https://docs.datasette.io/en/latest/internals.html#derive-named-parameters-db-sql


Backend for network config

Should we even do this ourselves?
Is there a command line tool we can use?

Docs on how configure networks using command line tools
https://help.ubuntu.com/lts/serverguide/network-configuration.html
http://manpages.ubuntu.com/manpages/xenial/man5/interfaces.5.html


Fix for plugin not receiving events for arrow keys and others

The view plugin is currently not receiving keydown events for arrow keys, among others. This results in the following issues:

#15
#21

The reason this is happening now is that CodeMirror 6's default keymap now adds preventDefault: true to the keybinding for each arrow key. It also does this for other keys. See these commits for the default keymap (there are others in other modules):

Arrow keys
Home and End
Ctrl-b and Mod-i

The result is that the keydown handler in the view plugin does not receive keydown events for these key bindings and therefore CodeMirror's default behaviour happens instead.
This PR fixes the above issues. It does so by having the Vim plugin listen for a keydown event in the capturing phase, meaning it receives the event before CodeMirror does, then prevents CodeMirror receiving the event if the plugin has handled it by stopping it propagating. This seems somewhat hacky and brutal but does solve the problem quite neatly, and is the only way I can see to do so without a fairly major rework. It also fixes the following issues, which I think may have existed before the above commits:

#16
#17
#20

Thank you. This pull request fixes most of the tests that were broken after codemirror api change https://github.com/replit/codemirror-vim/runs/6180651039?check_suite_focus=true

I've done a lot of poking around in the CM6 code and I'm having second thoughts about this. It works but I think may be unnecessarily brutal and hard to override, as well as sidestepping the CM6 API. It can be fixed instead by, for example, by wrapping vimPlugin on this line in Prec.highest(), although this too is pretty brutal.
The root problem, I'm pretty sure, is that there is what I think is a bug in CM6 that means that including the autocomplete plugin, with basicSetup does, sets all keymaps to have highest precedence. Therefore in the example set-up for Vim mode in this repo, the Vim extension receives the keydown event after all keymaps, even though the extension is specified first.
I've reported this on the CM forum:
https://discuss.codemirror.net/t/autocomplete-extension-changes-precedence-of-all-keymaps/4662
If this issue is fixed in CM6, this PR can be reverted.

Update: it was a CM6 bug and it's now fixed. Once there's a new release of the CM6 view package, this PR should be reverted.

Thanks for the patch and all of the context. I agree we should be using the CM6 API for dom event handlers for better/more predictable interoperability with other plugins. gonna go ahead and revert for now: https://github.com/replit/codemirror-vim/pull/30
I'll hold off on publishing until that commit is released upstream.

Fix now published: https://www.npmjs.com/package/@codemirror/view

awesome! published 6.0.1. Lmk if you run into any other issues

You might want "@codemirror/view": "^6.0.3" in package.json maybe?


Fresh WMAgent container initialization issues

Impact of the bug
WMAgent (docker based)
Describe the bug
Starting tests with a fresh new agent, meaning no data under /data/dockerMount/srv/wmagent at all, I noticed the following misleading messages and/or problems:

problem dealing with the secrets file and its md5 checksum [1]
avoid dumping non-important information in the logs (e.g., copy of the runtime files) [2]
Separate proxy creation from docker image initialization [3]
lastly, some steps are not actually executed (e.g. set_cronjob, _renew_proxy, etc)

How to reproduce it
Delete everything under /data/dockerMount/srv and run databases + wmagent container.
Expected behavior
The code is yet to be investigated, but apparently the following would be expected for each of the issues reported above:

Perhaps instead of report wrong checksum, it could say checksum not found. In addition, that md5 issue needs to be understood and fixed as well.
silent copy of WMRuntime files over to the shared area
call init.sh _renew_proxy outside of deploy_to_host function, probably next to be executed. With this, the other call to _renew_proxy can probably be removed.
do not prematurely quit the agent initialization in this line: https://github.com/dmwm/CMSKubernetes/blob/2ca92db/docker/pypi/wmagent/init.sh#L598, otherwise the next 4 functions won't get executed automatically (and the person deploying the agent will likely only run the agent startup one). This means that the cronjob to renew the proxy will be missing as well.

Lastly, in that message at the end which says:
          * Kill the currently running container:
            docker kill wmagent

we should change it to docker stop wmagent.
Additional context and error message
[1]
$ ./CMSKubernetes/docker/pypi/wmagent/wmagent-docker-run.sh -t 2.3.4rc4 -p && docker logs -f wmagent
...
md5sum: /data/admin/wmagent/.WMAgent.secrets.md5: no properly formatted MD5 checksum lines found
check_wmasecrets: WARNING: Wrong checksum for WMAgent.secrets file. Restarting agent configuration.

[2]
deploy_to_host: Copy the Runtime scripts
'/usr/local/lib/python3.8/site-packages/WMCore/WMRuntime' -> '/data/srv/wmagent/2.3.4rc4/install/Docker/WMRuntime'
...

[3]
Start: Performing local Docker image initialisation steps
deploy_to_host: Checking Certificates and Proxy
...

[4]
Docker container has been initialised! However you still need to:
  1) Double check agent configuration: less /data/[dockerMount]/srv/wmagent/current/config/config.py
...

After stopping the wmagent container and starting it again, the remaining steps go through successfully, e.g.:
check_wmasecrets: Checking for changes in the WMAgent.secrets file
check_wmasecrets: No change found.
...
WMA_BUILD_ID: 2d340d4b7ab03e60ef003b5c0a025cc4b0aee06a341f83d86c2607e782d4a26a
dockerInitId: 2d340d4b7ab03e60ef003b5c0a025cc4b0aee06a341f83d86c2607e782d4a26a
OK

but this cronjob one caught my attention (apparently overlooked in https://github.com/dmwm/WMCore/pull/11988)
Start: Populating cronjob with utilitarian scripts for user: cmst1
Installing FWJRDump into wmagent_jobdump/fwjrs
...
Installing WorkQueue app into database: http://<IP_ADDRESS>:5984/workqueue_inbox
Done: Populating cronjob with utilitarian scripts for user: cmst1!

and again the user proxy is once again renewed:
_check_oracle: Checking whether the Oracle server is reachable ...
_status_of_oracle:
...
_status_of_couch: CouchDB connection is OK!
MyProxy v6.2 Aug 2019 PAM SASL KRB5 LDAP VOMS OCSP
...
Creating proxy  Done

but this will get resolved with the expected behavior 3. above.
Lastly, given that we are starting a new container, I see no reason to shutdown the components before getting them started (save someone is executing the init.sh from inside the container, but isn't an expected/normal action AFAICT):
Start: Performing start_agent
-------------------------------------------------------
Shutting down WMAgent...
Checking default database connection... ok.
Stopping: WorkQueueManager
Cannot find Daemon.xml for component: WorkQueueManager
Unable to shut it down
...
Starting WMAgent...
....................................................................................................
started with pid 786
...

One more point that is worthy improving, this status of Oracle:
_status_of_oracle:
	 1
_status_of_oracle: Oracle connection is OK!

what is 1 supposed to mean here? I would either get rid of it or add some short/basic content to clarify its meaning.

Alan :
This:

problem dealing with the secrets file and its md5 checksum [1]
[1]
$ ./CMSKubernetes/docker/pypi/wmagent/wmagent-docker-run.sh -t 2.3.4rc4 -p && docker logs -f wmagent
...
md5sum: /data/admin/wmagent/.WMAgent.secrets.md5: no properly formatted MD5 checksum lines found
check_wmasecrets: WARNING: Wrong checksum for WMAgent.secrets file. Restarting agent configuration.

This is not an error message. Only the WARNING message is the one we produce the rest is out of our control. it is the output from the md5sum command here: > https://github.com/dmwm/CMSKubernetes/blob/c6ebe0708555a0919b7863007890fb96d68d953e/docker/pypi/wmagent/init.sh#L210

Perhaps instead of report wrong checksum, it could say checksum not found. In addition, that md5 issue needs to be understood and fixed as well.

There is no issue to be understood here. Why are we messing with a line and piece of code which works for more than a year now (And BTW we have been discussing in the  past as well) ?
This:

call init.sh _renew_proxy outside of deploy_to_host function, probably next to be executed. With this, the other call to _renew_proxy can probably be removed.

It is already called outside the _deplpy_to_host function. Here: https://github.com/dmwm/CMSKubernetes/blob/c6ebe0708555a0919b7863007890fb96d68d953e/docker/pypi/wmagent/init.sh#L602
This:

Lastly, given that we are starting a new container, I see no reason to shutdown the components before getting them started (save someone is executing the init.sh from inside the container, but isn't an expected/normal action AFAICT):

Yes you do need to stop it. Because there are and will be cases (regardless how strong message we make to the people who are about to operate the system, that they should not use docker kill in their every day life) in which a previously running container on the same host, has leftovers of his processes Ids at the host mountpoint. What you will see then is a failure of the agent to start (tripped on that many times). The way to resolve this is to execute mange stop-agent, which should check for the existence of any leftoever process id recorded  and clean them and upon that executing the manage start-agent. The alternative would be to digest the manage stop-agent and to take only the part of this command execution which relates to those steps of cleaning the state files and re-implement it here.... but I am pretty sure what would we all think about code duplication. To my opinion everything here is working just as expected... nothing to be chased or improved at this step.
This:

what is 1 supposed to mean here?
_status_of_oracle:
1
_status_of_oracle: Oracle connection is OK!

is the output of the command:
select one from dual

Just noting things down not to be forgotten...
It makes me uncomfortable to wipe out the oracle database without a prompt of which account/tns I am using (even though one can check the secrets):
clean_oracle: THE CURRENT OPERATIONS WILL WIPE OUT THE wmagent DATABASE.
clean_oracle: Continue? [n]:

So I'd definitely add those 2 information to this line as well.

Now that I proceeded with that, I think we are good, as in the next step, we ask for the confirmation once again and this time we provide the basic info:
clean_oracle: THE CURRENT OPERATIONS WILL WIPE OUT THE wmagent DATABASE.
clean_oracle: Continue? [n]: y
clean_oracle: ...
clean_oracle: You still have 5 sec. to cancel before we proceed.

clean_oracle: Dropping Oracle DB...
execute_command_agent: Executing: clean-oracle  ...
Are you sure you want to wipe out cms_wmbs_preprod1 oracle database (yes/no): yes
Alright, dropping and purging everything

This error:
cmst1@vocms0xxx:pypi $ ./wmagent/wmagent-docker-run.sh -t 2.3.4rc6 -p && docker logs -f wmagent
Using WMAgent version: 2.3.4rc6 under release: 2.3.4

ln: failed to create symbolic link '/data/srv/wmagent/wmagent': File exists

has been getting my attention for a couple of days now, but I did expect it to fail workflow execution.
After testing the DMWM batch twice - and hitting 100% failure rate - I noticed that these are the input files to transfer to a given job:
cmst1@vocms0192:pypi $ condor_history -l 28130.109 | grep 'TransferInput ='
TransferInput = "/data/srv/wmagent/2.3.4/install/WorkQueueManager/cache/amaltaro_SC_EL8_May2024_Val_240529_180814_6504/amaltaro_SC_EL8_May2024_Val_240529_180814_6504-Sandbox.tar.bz2,/data/srv/wmagent/2.3.4/install/WorkQueueManager/cache/amaltaro_SC_EL8_May2024_Val_240529_180814_6504/PackageCollection_0/batch_1102-0/JobPackage.pkl,/data/srv/wmagent/2.3.4/install/Docker/WMRuntime/Unpacker.py"

but we cannot really access that directory /data/srv/wmagent/2.3.4/.... Hence jobs fail badly without any logs.
At first, I didn't see anything wrong with this line:
https://github.com/dmwm/CMSKubernetes/blob/master/docker/pypi/wmagent/wmagent-docker-run.sh#L65
but it looks like we need to omit the wmagent name in the target directory.

@amaltaro, you get this error:
ln: failed to create symbolic link '/data/srv/wmagent/wmagent': File exists

because the ln command cannot overwrite an already existing record in the file system named /data/srv/wmagent. That's why the line above exists: https://github.com/dmwm/CMSKubernetes/blob/169a72709365ad6e9d7acb8ad789880018f03fcc/docker/pypi/wmagent/wmagent-docker-run.sh#L64
[[ -h /data/srv/wmagent ]] && rm -f /data/srv/wmagent

This line  checks and removes a previously existing soft link (eventually pointing to a wrong deployment destination).
This is later needed during the job runtime from condor (that was actually the purpose of having this link properly (re)created every time at container startup). So that's why the line right before crating the  soft link exists - to assure we always point to the proper destination.
Another story is when it comes  to an old agent which already had the /data/srv/wmagent directory (NOT a softlink) created from a previous (rpm package based) deployment. The command cannot create this soft link due to the existence of the direcctory /data/srv/wmagent, while at the same time the line right above it is not checking for a directory it was checking for a host link (notice the -h  in the condition). so nothing is removed and the next line fails. I did not force remove directories also, because we had to run in a hybrid mode for very long time - on old agents  which still required the existence of the structure from the rpm packages. What I had to do from time to time was to move/rename the directory manually before switching a given machine to the container based deployment.
This suggestion:

but it looks like we need to omit the wmagent name in the target directory.

Won't work. Not because it is wrong, but simply because this is not the origin of the problem.


Enter_the_Client_Secret_Here not present in demo

Enter_the_Client_Secret_Here not present in demo

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

ID: a8027df4-5e60-69aa-1c0a-249053cb6e72
Version Independent ID: c4ca0cff-b1b2-3690-00b9-af6c81d838b9
Content: Quickstart: Sign in users in web apps using the auth code flow - Microsoft identity platform
Content Source: articles/active-directory/develop/web-app-quickstart.md
Service: active-directory
Sub-service: develop
GitHub Login: @Dickson-Mwendia
Microsoft Alias: dmwendia

@JoshuaGarrison27  - Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can update the document accordingly.

Thanks @JoshuaGarrison27 opening this issue. We have updated the article with the correct sample app for the demo.

Thank you very much!

This appears to be missing again.


Strawberry Shake: Optional HasValue Should Be False for Null or Have Constructor with HasValue

Is your feature request related to a problem? Please describe.
I was getting the error "EXEC_INVALID_TYPE". It turns out that this is because I was setting one of the generated Optional parameters to null, which resulted in an Optional with Value = null and HasValue = True.
Describe the solution you'd like
I would prefer if setting the property to null did not implicitly result in an Optional with HasValue = True. Instead it should be the same as if the property were not set.
Describe alternatives you've considered
As an alternative I would like a constructor for Optional that accepts HasValue as a constructor, so I can use null coalescing to set null properties to an Optional with HasValue = false.
Additional context
In my case I was initializing the object like:
new ObjectInput() {
  FirstProp = internalModel.FirstProp?.ToInput()
}

I do this because I did not want to use duplicated types per query (IObject, IObject1, etc.) which could change when re-generated depending on the number and order of queries in Queries.graphql. Instead I have an internal model that I then have .ToInput() and .ToModel() calls to convert to and from the generated GraphQL types, and a wrapper client that does the conversion.

I was getting the error "EXEC_INVALID_TYPE". It turns out that this is because I was setting one of the generated Optional parameters to null, which resulted in an Optional with Value = null and HasValue = True.

This is actually the expected behavior... The optional is there to express intend. If you pass on null than you have explicitly set it to the value null .... if you want to have it unset, set it to default.

Thanks Michael. I did not realize that "default" would have the behavior I was desiring, but I can see now that that would work when doing property initialization like my case.


Add a pyproject.toml for PEP-517

This configures pyproject.toml to read from setup.py. One caveat I've noticed, the apparmor profile is getting installed to /usr/lib/python3.11/site-packages/etc instead of /etc, not sure how to fix this.

It seems writing to /etc through data_files is not really supported anymore, since this was already excluded on ubuntu anyway I added another commit to remove it for everybody. The wheel otherwise attempts to write to /usr/lib/python3.11/site-packages/etc.
I'm not sure how to add it back in for bdist_deb and bdist_rpm, but data_files is likely the wrong way.


Wrangler v2

There are a lot of benefits that come with developing on the latest version of Wrangler (Worker CLI). I would be willing to help update the template as well.

Now upgraded to wrangler 3!


add the options 'nearest-right' and 'nearest-left' to interp1d

with these two kinds of interpolation one can choose which neighbor
to use in performing the nearest neighbor interpolation.
e.g.
>>> interp1d(x, y, kind='nearest-left')
>>> interp1d(x, y, kind='nearest-right')
all tests passing, and updated documentation builds correctly.

Tests, we needs them.

ok, will work on it. i though to have the review/descision to accept this enhancement before proceeding with the tests.

For decision to accept or not please send an email to the scipy-dev mailing list. A description of a use case might help. (I myself am neutral on the feature.)

yes, i can do that. I'll think of a better way to represent the nearest left/right interpolations. Moreover, i think i will add a bunch of examples on the other kinds of interpolation (maybe a separate pull request for that). Before that I will write the test cases.

Yup, hacking on interp1d is a bit messy and fraught with backwards compatibility concerns :-). New features need to be tested on multidimensional inputs, also with non-default axes.
I think we should articulate better the recommendation for users to prefer using specific interpolators unless constrained by backwards compat or porting code from matlab. For new features like this PR the guiding principle I think is how easy it is to construct an equivalent in the user code (compare to https://github.com/scipy/scipy/pull/6725#issuecomment-256432197). If it's just np.searchsorted, then I'd say it's not really worth it, but then there are edge cases which might be annoying to deal with in an ad hoc code.

Superseded by gh-8572, so closing. Thanks @mherkazandjian


Add Quorum Permissioning gate to Account and Node permissioning

PR description

If qip714block option isn’t set, yield to controller's providers.
If the option is set, monitor the chain for that height:

Before reaching the block height, allow everything
Upon reaching that block height, yield to controller's providers.

qip714block is inclusive, so if I set qip714block=123, permissioning will be enforced from block 123 onwards (including block 123).

Changelog

[ ] I thought about the changelog and included a changelog update if required.

LGTM.


@Import looks for file in wrong directory.

It seems dotless does not look for the imported file in the same directory as the importing file.
It seems its based on the current shell directory.
Got this error on the following line:
@import "../Common/Buttons.less";
resulting in the following error:
System.IO.FileNotFoundException: You are importing a file ending in .less that cannot be found.
File name: '../Common/Buttons.less'
at dotless.Core.Importers.Importer.Import(Import import)
at dotless.Core.Parser.Tree.Import..ctor(String path, IImporter importer, Value features, Boolean isOnce)
at dotless.Core.Parser.Tree.Import..ctor(Quoted path, IImporter importer, Value features, Boolean isOnce)
at dotless.Core.Parser.Infrastructure.DefaultNodeProvider.Import(Quoted path, IImporter importer, Value features, Boolean isOnce, NodeLocation location)
at dotless.Core.Parser.Parsers.Import(Parser parser)
at dotless.Core.Parser.Parsers.Directive(Parser parser)
at dotless.Core.Parser.Parsers.Primary(Parser parser)
at dotless.Core.Parser.Parser.Parse(String input, String fileName)
at dotless.Core.LessEngine.TransformToCss(String source, String fileName)
at dotless.Core.CacheDecorator.TransformToCss(String source, String fileName)
at dotless.Core.ParameterDecorator.TransformToCss(String source, String fileName)
at dotless.Core.Less.Parse(String less, DotlessConfiguration config)
at dotless.Core.Less.Parse(String less)
at CombineCSS.Program.Main(String[] args)
if i change the shell directory to the location of the less file then it seems to work..

I wasn't able to reproduce the shell directory issue with the current release version of dotless. However, having Importer default to Environment.CurrentDirectory doesn't make much sense to me given that e.g. on IIS Express, that directory is "C:\Program Files (x86)\IIS Express".
In 1d7ac01, I made the current directory configurable on IImporter and propagated the property up to ILessEngine. HandlerImpl now also sets it to Server.MapPath("~").


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v5.6 to before v5.12.10",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=59438b46471ae6cdfb761afc8c9beaf1e428a331",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=acc43fc6cf0d50612193813c5906a1ab9d433e1e"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "59438b46471ae6cdfb761afc8c9beaf1e428a331",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "acc43fc6cf0d50612193813c5906a1ab9d433e1e",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "bpf, lockdown, audit: Fix buggy SELinux lockdown permission checks\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.12.10 by commit acc43fc6cf0d50612193813c5906a1ab9d433e1e, it was introduced in version v5.6 by commit 59438b46471ae6cdfb761afc8c9beaf1e428a331. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1000799


Feature request: manage multipass instances on remote hosts

Hi, I'd like to create a number of multipass VMs, but some on a different host...
is that possible with your provider?
(awesome work, btw, thanx!)

@gernotstarke The provider is based on executing the multipass binary locally.
For a remote host, how do you foresee it working? Maybe ssh command?

I found this in the docs: https://multipass.run/docs/how-to-use-multipass-remotely-a-preview

The multipassd listens on unix socket by default, and the multipass command uses that, so by making multipassd listen on TCP with "--address". The multipass then needs to have the MULTIPASS_SERVER_ADDRESS environment variable set to use it.
The plugin needs to support provider configuration, and then I suppose it can configure several providers on different hosts using provider aliases[1].
So, this should be possible.
[1] https://www.terraform.io/language/providers/configuration#alias-multiple-provider-configurations

+1


Add a link to the Canny board in the main React Native repo's README and on the website

Add a link to the Canny board for feature requests in the main React Native repo's README and on the website

There is no link to Canny.io in the React Native README or repo files:

https://github.com/facebook/react-native/search?q=canny&unscoped_q=canny

As far as I know react-native-community/discussions-and-proposals repository is the official place to request features in React Native.

As far as I know react-native-community/discussions-and-proposals repository is the official place to request features in React Native.

I wasn't aware of that repo - good to know!
We should make an issue about this over in that repo too.
And this issue should also be about linking out to that repo so people can find it.

Discussions and proposals repository is mentioned on the main community/help page (https://reactnative.dev/help) as well as other usefull places.

Issue templates has been imported from the React Native repository. Now the disscussions and proposals repo link is also located in the new issue flow: https://github.com/facebook/react-native-website/issues/new/choose

Discussions and proposals repository is mentioned on the main community/help page (https://reactnative.dev/help) as well as other useful places.
This repository is also linked in React Native README.

This is good to know, thanks!


Transfering ownership of repo with issues in a project board to another org breaks project board columns

Description
Hello everyone, I've noticed that when I move repositories that currently has issues in the project board to another organization, the project board still has the issues from the moved repo which now kinda break the columns they are in. Sometimes other issues can't be moved in or out of the bugged columns. The only solution I currently have is to go to the moved repositories and edit the issues so they don't have the project board referenced there.
I think a solution would be that if you transfer ownership to another organization that all issues in that repo get their project board reference removed and that this would be mentioned in the warning.
I've replicated the issue on the demo instance, you can find my bugged project board here: https://gitea.com/aurora-testorg1/-/projects/3256
If you need any further information of testing from my side, please let me know!
Gitea Version
1.22.0
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots

(When my mouse goes to the top left I'm reloading the website)
Git Version
2.43.5
Operating System
RedHat 8.10
How are you running Gitea?
I've replicated this on my local instance (release downloaded from github) and on demo.gitea.com
Database
PostgreSQL

Fixed by #31770


Fix failing BDD tests

See the failing BDD tests in https://github.com/graknlabs/behaviour/pull/133 and https://github.com/graknlabs/behaviour/pull/132

[Triaged] @haikalpribadi placing in 2.0 production with priority medium, since the test is about verifying whether we properly guard against writing data in a schema session and vice versa. The workaround for the user is to simply be careful not do that.

[Triaged] @haikalpribadi placing in 2.0 production with priority medium, since the test is about verifying whether we properly guard against writing data in a schema session and vice versa. The workaround for the user is to simply be careful not do that.

I think all BDD test are high, no, @lolski ? They're actual features we need to deliver that don't work yet, right?

I think all BDD test are high, no, @lolski ? They're actual features we need to deliver that don't work yet, right?

If a key feature isn't working, then (most of the time) I think you won't have a workaround.

If a key feature isn't working, then (most of the time) I think you won't have a workaround.

Good news, both of these were fixed in https://github.com/graknlabs/client-java/pull/227/files !

Good news, both of these were fixed in https://github.com/graknlabs/client-java/pull/227/files !


make Parquet compile with java 7 instead of java 6

currently Parquet is compatible with java 6. we should remove this constraint.
Reporter: Julien Le Dem / @julienledem
PRs and other links:

Fix
Update pom file

Note: This issue was originally created as PARQUET-146. Please see the migration documentation for further details.

Ashish Singh / @SinghAsDev:
I believe this has been addressed and can be closed now.

Ryan Blue / @rdblue:
We should discuss this on the mailing list. We've had recent contributions fixing support for java 6, so we definitely want to build consensus before deprecating support.

Julien Le Dem / @julienledem:
Issue resolved by pull request 231
https://github.com/apache/parquet-mr/pull/231

Nezih Yigitbasi / @nezihyigitbasi:
@SinghAsDev From the title of this issue it seems like the pom file should also be updated. I just created a PR for that.


Add dtype check to Box.__eq__ and MultiDiscrete.__eq__

Description
Reported an issue with wrappers.vector.DtypeObservation which is caused by checking if two observation spaces however the Box space doesn't check the dtype in its equivalence functions (https://github.com/Farama-Foundation/Gymnasium/issues/705)
This PR updates the Box and MultiDiscrete spaces to check dtype

I'm sure why this wasn't included in the previous PR, I can't see any commit that reverted the change so I'm going to merge it


Cookie banner accessibility tweaks

Cherry picked c0744a1 into #2144.
We decided not to change the focus-shifting approach (f42157b) as it made the confirmation message alert unreliable on iOS, and other users testing with JAWS 2021 are not seeing the same issues that we are.


Null input throws null ref, should go to Else clause

Passing a null in as the match value without a predicate condition matching against null currently throws a NullReferenceException inside Simplicity:
string name = null;

name.Match()
    .With("ben", "it me!")
    .Else("unknown")
    .Do()
    .Dump();

This should return "unknown".
Matching against (string)null also throws a NullReferenceException. This clause should match (string)null but it doesn't:
.With((string)null, "match on null")

Any progress on this?


remove-tab-key-access-to-home-logo

home logo link removed for all the users to eliminate tab key access to hidden home link in prod

This fix cannot be apply to all site. Only to our main site. Community should not be impacted by this.

@Steph4104 As you know. This extension should apply to all sites. Currently, I can see that logo is hidden in community site as well. Are you going to display the logo back to community site?
@doug0102 Do you think any workaround for this?

Yes, I know the wall extension is apply to all site. But the fix you try to do should only apply to our main site. Not the user communities. I don't think the wall extension is the right place to apply this fix.
Currently, if you look at communities in PROD, logo icon is not hide

This fix cannot be apply to all site. Only to our main site. Community should not be impacted by this.

@Steph4104 As you know. This extension should apply to all sites. Currently, I can see that logo is hidden in community site as well. Are you going to display the logo back to community site?
@doug0102 Do you think any workaround for this?

Yes, I know the wall extension is apply to all site. But the fix you try to do should only apply to our main site. Not the user communities. I don't think the wall extension is the right place to apply this fix.
Currently, if you look at communities in PROD, logo icon is not hide

ok. I will think if I can do any workaround for this.

@doug0102 Do you think any workaround for this?

Maybe we could add another property to the extension that lets us specify a site ID and CSS that should only apply to that site. Something like siteIdCSS and we use a format like fe932622-1c74-48d2-8cd6-ee6a4c426ac4|div#spSiteHeader a[class^='logoWrapper'],div#spSiteHeader a[class^='shyLogoWrapper']. The | character could be used to separate each site/css entry and then the css would be parsed like in the other properties based on the , character.
Or we just hardcode it for our site assuming it never changes and we don't think we will need to do targeted CSS for any other sites.

I am trying to prevent the hiding just for teams site. Let see.

@Steph4104
Now the home logo is hided only in communication site so in all of our community site logo displays. When I debug, I found there are multiples of style tags creating by this extension so Shea  @doug0102  recommends to make sure to maintain only one style tag  and he made some changes for that. And he also recommends to use the property instead of hard coding the css selector. So we added a new property to add css selector only for communication site.


Device will not be added in Domoticz after device have been added to zigbee2mqtt

Issue description
While including 3 new light bulbs only 1 would be added to Domoticz (Note: all 3 light bulbs are same model and brand).
Can see all 3 devices in the Zigbee2Mqtt files. But not in domoticz.
Removed the two devices from zigbee2mqtt that would not show up in domoticz, and redid the whole factory reset and included them four times. without them showing up in domoticz.
Restarted domoticz and zigbee2mqtt. No luck
Additional information
Zigbee2MQTT version: 1.16.2-dev
Python version: 2.7.16
Domoticz version:  2020.2
Plugin version: 0.2.1
Logs
Attach any additional logs here which might be useful: mqtt, domoticz, plugin logs

After trying over and over, i got one more to show up in domoticz.
so now I am missing 1 light bulb, its "0x588e81fffeaec637". When i turn on logging for the plugin. i can see that the device shows up in the domoticz log every time I add it. with the text interview complete.

Logs:
2020-12-14 15:11:04.631 (Zigbee2MQTT Connection) Try to try again later or repair the device
2020-12-14 15:11:04.635 (Zigbee2MQTT Connection) Received available devices list from bridge
2020-12-14 15:11:04.637 (Zigbee2MQTT Connection) Device 0x588e81fffeaec637 (0x588e81fffeaec637) doesn't have "model" attribute, skipped
2020-12-14 15:11:04.637 (Zigbee2MQTT Connection) This is not the plugin issue, this is issue with your zigbee network
2020-12-14 15:11:04.637 (Zigbee2MQTT Connection) Try to try again later or repair the device
2020-12-14 15:11:07.082 (Zigbee2MQTT Connection) Received available devices list from bridge
2020-12-14 15:12:10.472 (Zigbee2MQTT Connection) Received available devices list from bridge
...
2020-12-14 15:12:10.474 (Zigbee2MQTT Connection) Device HG06106C 0x588e81fffeaec637 (0x588e81fffeaec637)

2020-12-14 15:11:04.637 (Zigbee2MQTT Connection) Device 0x588e81fffeaec637 (0x588e81fffeaec637) doesn't have "model" attribute, skipped
2020-12-14 15:11:04.637 (Zigbee2MQTT Connection) This is not the plugin issue, this is issue with your zigbee network

I guess this is pretty self-descriptive. Please let me know if you have any other issues.

2020-12-14 15:11:04.637 (Zigbee2MQTT Connection) Device 0x588e81fffeaec637 (0x588e81fffeaec637) doesn't have "model" attribute, skipped
2020-12-14 15:11:04.637 (Zigbee2MQTT Connection) This is not the plugin issue, this is issue with your zigbee network

I guess this is pretty self-descriptive. Please let me know if you have any other issues.


[Tabs] [Angular] [IOS] Selected tab isn't highlighted

Which platform(s) does your issue occur on?
iOS, emulator, 14.4
Please, provide the following version numbers that your issue occurs with:
CLI: 8.0.1
Cross-platform modules: 8.0.0
Runtime(s): 8.0.0
Plugin(s): 5.2.19
Created the simple app with ns create my-tab-ng --template @nativescript/template-tab-navigation-ng
Replaced app.component.html with the following markup:
<MDTabs>
<MDTabStrip>
<MDTabStripItem>

</MDTabStripItem>
<MDTabStripItem>

</MDTabStripItem>
<MDTabStripItem>

</MDTabStripItem>
<MDTabContentItem>

</MDTabContentItem>
<MDTabContentItem>

</MDTabContentItem>
<MDTabContentItem>

</MDTabContentItem>
Selected tab isn't highlighted If on page load selectedIndex=0.

@valera1401 should be fixed in latest

The issue I believe is that the UITabBarItem has two image properties, image for the unselected image and selectedImage for the image to show when the item is selected.
changing Tabs.setIconColor for ios to something like
    private setIconColor(tabStripItem: TabStripItem, forceReload = false): void {
        // if there is no change in the css color and there is no item color set
        // we don't need to reload the icon
        if (!forceReload && !this._selectedItemColor && !this._unSelectedItemColor) {
            return;
        }

        const selectedImage = this.getIcon(tabStripItem, this._selectedItemColor);
        const unselectedImage = this.getIcon(tabStripItem, this._unSelectedItemColor);

        tabStripItem.nativeView.image = unselectedImage;
        tabStripItem.nativeView.selectedImage = selectedImage;

    }

shows the correct behavior.
Of course it would be better to create the bar with the correct values, and only change when the colors change.

rse it would be better to create the bar with the correct values, and only change

Think it has been fixed in the last ver.

Mmm I thought I had the latest code and was still seeing it. I ll have to check it in the morn.

@jcassidyav let me know if i can help

@farfromrefug I think I have it now, I had to do the following:

Change the tsc-win entries to replace all the / with \
Added in a build.angular.win again changing the slashes
That nearly got me there but I could not get it to build without adding @nativescript-community/ui-material-core to the root package dependencies, I won't check this in but it was the only way I could get it to build, might have something to do with symlinks on windows maybe?

Then I

updated the angular demo to ns8
fixed the angular demo so the tabs show up.

so I'll take a look at making the change now.

This is fixed for me no in v5.2.27


Use Laravel Collections instead of the Nukacode Collections

I just recently struggled with the Nukacode Collections that are returned for all Steam API responses because I needed some features that are provided by Laravel Collections but not by the Nukacode ones. Had to work around it by passing the collection to a new Laravel collection instead.
Is there a specific reason to stay with the Nukacode collections? If not I would really like to switch over.

Ah, never mind. The glorious syntax error lead to not working collections.

I prefer them over standard collections. They extend the laravel ones so
anything laravel could do they should be able to do as well.
On Tue, Mar 21, 2017, 1:16 AM Kovah<EMAIL_ADDRESS>wrote:

Ah, never mind. The glorious syntax error lead to not working collections.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/syntaxerrors/Steam/issues/54#issuecomment-287986931,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD_lMlXg150y209-MLEsZvCI0L-pAYG1ks5rn2s1gaJpZM4MjXzd
.


Item Authorizations view very slow

Create an item with a attached file/files
Go to edit screen of this item and go into "Edit item's authorization policies" view
There will be several groups of access rights (item, bundles, bitstreams)
Add in every Policies group multiple User groups (any level of permission, e.g. READ)
Loading/Reloading this screen becomes extremely slow at 10+ groups per policies group

In some cases at 10+ User groups per every Policies group leads to situation where you can see placeholders  for data, but data appears even after 1min wait time

@MarisArins : If I understand this ticket correctly, this may be a misunderstanding of the feature.
Ideally, this "Edit Item's authorization policies" view would specify only 1-2 (or a small handful) of policies per policy group.  So, for example, for a Bitstream, you might specify it's Admin-only, so you remove the "Anonymous" policy and add one for the "Administrator" group.
Alternatively, maybe the Bitstream should only be accessible to a small departmental group, in which case you can create a Group to represent that department & add all EPersons and/or subgroups to that Group.
So, ideally, you should not be listing individual users or a large number of groups in separate policies for each Bitstream or Bundle or Item.  Instead, you'd create groups to manage those access controls & create a policy just for that group.
Nonetheless, I completely agree with you that this Admin screen should not take forever if you choose to add many policies for individual groups or people.  I just wanted to note that you can work around this problem by creating groups to ensure you don't need to manually create many policies.
Since there's a workaround here, I'll schedule this for 7.2.  I agree it could be improved, but if you use more groups it makes permission management easier & makes this page less likely to take a long time to load.


Added director to return files or URLs

In wps_subset.py Director is called which decides whether WPS generated files or the original files URLs are returned.
Currently if the inventory doesn't exist or the file isn't isn't in the inventory the tests show a 200 response is returned but the exception is also returned - is that right? @cehbrecht / acceptable? @agstephens
Sorry for all the changes - most of its formatting because I used black.

@ellesmith88 looks good to me :) I will merge it. Need to enable black on my side.


maya volume structure type should have replica count as a typed property

Is this a BUG REPORT or FEATURE REQUEST?
FEATURE REQUEST
Why is this required ?
The current volume type makes use of key:value pairs to determine all its properties. This feature implementation should move away from using replica count from a generic k:v pair to a typed property in VolumeSpec. This helps in ensuring data validation due to typed schema and also paves the way for representing complex properties in their corresponding struct (this struct would then be nested inside VolumeSpec).

current key:value for replica count property

  volumeprovisioner.mapi.openebs.io/replica-count: 1

after implementation

type Volume struct {
     ...

  // VolumeSpecs contains the desired specifications the volume should have.
  // +optional
  VolumeSpecs []VolumeSpec `json:"volumeSpecs,omitempty" protobuf:"bytes,1,rep,name=volumeSpecs,casttype=VolumeSpec"`

  ...
}

type VolumeSpec struct {

  ...

  // The context of this volume specification.
  // Examples: "controller", "replica". Implicitly inferred to be "replica" if unspecified.
  // +optional
  Context string  `json:"context,omitempty" protobuf:"bytes,2,opt,name=context"`

  // Number of desired replicas. This is a pointer to distinguish between explicit
  // zero and not specified. Defaults to 1.
  // +optional
  Replicas *int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"`

  ...
}

How to implement ?
Code needs to be changed across based on the above structure changes.
provisioner, orchprovider, profile, types, etc packages will require a change.
Relevant Issues

#409

How does this change address the issue ?

Implements Replicas as a typed property in VolumeSpec

How to verify this change ?
Assumptions

K8s 1.7.5 & above setup
Run the openebs-operator yaml

refer to m-apiserver:ci image tag for maya-apiserver deployment

Find the IP address of maya api service
$ kubectl get svc
NAME                     TYPE        CLUSTER-IP   EXTERNAL-IP   PORT(S)             AGE
kubernetes               ClusterIP   <IP_ADDRESS>     <none>        443/TCP             1h
maya-apiserver-service   ClusterIP   <IP_ADDRESS>    <none>        5656/TCP            10m

Create the volume specifications
$ cat vol.yaml

kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: my-jiva-vsm
specs:
  - context: Replica
    replicas: 1

Create the volume by sending a curl request to maya api service
$ curl -k -H "Content-Type: application/yaml" -XPOST -d"$(cat vol.yaml)" \
 http://<IP_ADDRESS>:5656/latest/volumes/

Verify the number of volume pods
$ kubectl get pod

What side effects does this change have ?

Earlier way of providing replica count will not work

i.e. below will not work
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: my-jiva-vsm
  labels:
    volumeprovisioner.mapi.openebs.io/replica-count: 1

https://github.com/openebs/maya/pull/127 implements this issue


Microphone stopped working after the last apt upgrade

The microphone was working, but stopped working after the last 'sudo apt upgrade'
$ pw-record /tmp/test.wav
remote error: id=0 seq:39 res:-32 (Broken pipe): connection error
stream node 105 unconnected

machine:
Ubuntu 23.04
6.5.9-t2-lunar

MacBookPro16.1
Intel Core i9 2.3g

hybrid graphics:
Intel UHD graphics 630
AMD radeon pro 5500M

macOs: Ventura 13.2

Try to follow again the steps to install Debian upstream repo stuff.

Tried, rebooted and got the same error.
I see some errors in the log, for example:
$ journalctl --boot=0 | grep pipewire > /tmp/pipewire-logs.txt

Nov 09 14:16:42 mb pipewire[2946]: mod.filter-chain: control 'Amplitude (dB)' can not be set: No such file or directory
Nov 09 14:16:42 mb pipewire[2946]: mod.filter-chain: control 'Amplitude (dB)' can not be set: No such file or directory
Nov 09 14:16:42 mb pipewire[2946]: mod.jackdbus-detect: Failed to receive jackdbus reply: org.freedesktop.DBus.Error.ServiceUnknown: The name org.jackaudio.service was not provided by any .service files

pipewire-logs.txt

that error look like from this plugin
https://github.com/lemmyg/t2-apple-audio-dsp/blob/mic/config/10-t2_mic.conf#L57

Finally I found that I'm getting same parameters warning. Im fix it.
Any they are just warnings. I don't think is the cause of your issue.
Please mic volumes are at 100%.
Specially apple mic input that would be the source of the mic DSP.

I checked it and yes, all volumes are 100%.
$ pactl list sources > /tmp/list-sources.txt

list-sources.txt
Still the same error:
$ pw-record /tmp/test.wav
remote error: id=0 seq:39 res:-32 (Broken pipe): connection error
stream node 130 unconnected

Try
pw-cli list-nodes
You find out which node is 130.
On Fri, 10 Nov 2023, 6:10 am Rom888, @.***> wrote:

I checked it and yes, all volumes are 100%.
$ pactl list sources > /tmp/list-sources.txt
list-sources.txt
https://github.com/lemmyg/t2-apple-audio-dsp/files/13316150/list-sources.txt
Still the same error:
$ pw-record /tmp/test.wav
remote error: id=0 seq:39 res:-32 (Broken pipe): connection error
stream node 130 unconnected
—
Reply to this email directly, view it on GitHub
https://github.com/lemmyg/t2-apple-audio-dsp/issues/12#issuecomment-1805156578,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEFKRHGMSQLDSEC5XRIPXADYDXANRAVCNFSM6AAAAAA7EBYN7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBVGE2TMNJXHA
.
You are receiving this because you commented.Message ID:
@.***>

I see the max id = 98.
list-objects.txt

it looks like MacBook Pro T2 DSP Mic doesnt for me too.
I didnt do any change recently, so I dont know why.
MacBook Pro T2 DSP HeadSetMic seems working.
I didn't use those mics for a while as usually I use an external webcam for my meetings

Same issue here on a Macbook Pro 16.2 running Linux Mint 21.2 x86_64 (Cinnamon DE) with Kernel 6.6.1-t2-jammy. Along with the microphone input not working, the facetime camera freezes and the bluetooth headset connects and disconnects repeatedly as well. I suspect all of these issues are somehow related. I also got this weird glitch where the input devices duplicate themselves in the Cinnamon sound panel.

For me, the error is:
Nov 11 18:00:03 -MacBookPro kernel: x86/PAT: pipewire:38335 map pfn RAM range req uncached-minus for [mem 0x67680000-0x676b0fff], got write-back
Nov 11 18:00:03 -MacBookPro kernel: pipewire[38343]: segfault at 0 ip 00007fd7db4023c1 sp 00007fd7db3fea00 error 4 in sc4_1882.so[7fd7db400000+5000] likely on CPU 9 (core 3, socket 0)
Nov 11 18:00:04 -MacBookPro systemd[4005]: pipewire.service: Main process exited, code=dumped, status=11/SEGV
Nov 11 18:00:04 -MacBookPro systemd[4005]: pipewire.service: Failed with result 'core-dump'.
Nov 11 18:00:04 -MacBookPro wireplumber[38336]: disconnected from pipewire
Nov 11 18:00:04 -MacBookPro systemd[4005]: pipewire.service: Scheduled restart job, restart counter is at 43.
Nov 11 18:00:04 -MacBookPro systemd[4005]: Stopped pipewire.service - PipeWire Multimedia Service.
Nov 11 18:00:04 -MacBookPro systemd[4005]: Started pipewire.service - PipeWire Multimedia Service.
Nov 11 18:00:04 -MacBookPro pipewire[38362]: mod.filter-chain: control 'meter_in' can not be set: No such file or directory
Nov 11 18:00:04 -MacBookPro pipewire[38362]: mod.filter-chain: control 'meter_out' can not be set: No such file or directory
Nov 11 18:00:04 -MacBookPro pipewire[38362]: mod.filter-chain: control 'clip_in' can not be set: No such file or directory
Nov 11 18:00:04 -MacBookPro pipewire[38362]: mod.filter-chain: control 'clip_out' can not be set: No such file or directory
Nov 11 18:00:04 -MacBookPro pipewire[38362]: mod.filter-chain: control 'bypass' can not be set: No such file or directory
Nov 11 18:00:04 -MacBookPro pipewire[38362]: mod.filter-chain: control 'cbe_0' can not be set: No such file or directory
Nov 11 18:00:04 -MacBookPro pipewire[38362]: mod.filter-chain: control 'Amplitude (dB)' can not be set: No such file or directory
Nov 11 18:00:04 -MacBookPro pipewire[38362]: mod.jackdbus-detect: Failed to receive jackdbus reply: org.freedesktop.DBus.Error.ServiceUnknown: The name org.jackaudio.service was not provided by any .service files

Look at the segfault from pipewire.

Update: seems upgrading kernel to 6.5.9 resolved this problem. I will test this furthur and report here

I made some changes
https://github.com/lemmyg/t2-apple-audio-dsp/commit/9422c57caeb54fde45121b9ea31628080da9d3bd
looks like we can capture mic 3 channels any more.

Seems this resolved the problem.

I made some changes https://github.com/lemmyg/t2-apple-audio-dsp/releases/tag/mic-v0.4.0-1 looks like we cant capture mic 3 channels any more.

Cool. Resolving the issue.

It works now, thank you!


Running multiple parameter settings in parallel for omicsintegrator1 creates race conditions

Observed using omicsintegrator1 with singularity, might be an issue in other settings too.
Giving snakemake multiple cores (--cores parameter) and running multiple parameter settings creates a situation where multiple reconstruct rules are run concurrently. Because omics integrator 1 temporarily uses some fixed file names in the output directory, this creates a race condition where the different runs all try to write/move the same files.
The particular error I got consistently is that the oi1_optimalForest.sif file is not found when trying to rename it. Other files might also be affected.
The workaround is to always call snakemake with --cores 1.

Thanks for the report @sverchkov.    This issue sounds similar to #31 and was hopefully addressed by #49.

Ah, you're right, this was with an older version. All good on the latest main branch.

Sorry, I spoke too soon. Now getting that error with 1 core too. I'll make another issue.


security enhancement: change default password for cassdoor user

default cassdoor user has weak password
I think we should make the default password more secure and add warning info to remind users to change cassdoor user password and csghub user password as soon after the installation

You can login casdoor with port 8000 using admin/123 default user to change users password.


Removed deprecated _get_live_object_id call

Noticed this deprecated call being notified in the output
Deprecated: _get_live_object_id is no longer required - call row.get_id() instead.
Seemed simple enough for me to do. I didn't see a test suite to run, so I apologize, I didn't run any test.

Thanks for the pr - it's deprecated when using accelerated tables.
So while this is the right fix - I don't think I can merge it.
The call to get_id is incredibly slow if not using accelerated tables.

Makes sense! This can just hang here until accelerated tables are not beta i suppose.
Thank you Stu!


Enforce component boundaries

If you are adding a new package:

Add a new connection to the graph TD code block section in the README.md file of the root project, to update the diagram created with Mermaid
Create a README.md file for the new package
Run npm install
Run npx eslint --print-config .eslintrc and check if the config is correct, especially if you are extending an existing package or adding an external config as a dependency (e.g. the external config might override your rules)

[ ] Refactor
[ ] Add README.md

This will no longer be valid


Why is this marked as deprecated without explainion

Why is this marked as deprecated without explainion

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

ID: 0bd49c9b-995f-cc7e-77d7-74f21f1249f7
Version Independent ID: 1c2ce65b-5bd3-ca40-a487-ca5059f2c887
Content: Use the Azure Storage Emulator for development and testing (deprecated)
Content Source: articles/storage/common/storage-use-emulator.md
Service: storage
Sub-service: common
GitHub Login: @twooley
Microsoft Alias: twooley

@ormarketman Thank you for your query . We will have this reviewed with the content team and update the thread.

@twooley Could you please help on this one ?

@ormarketman There is a note at the top of the page.
"The Azure Storage Emulator is now deprecated. Microsoft recommends that you use the Azurite emulator for local development with Azure Storage. Azurite supersedes the Azure Storage Emulator. Azurite will continue to be updated to support the latest versions of Azure Storage APIs. For more information, see Use the Azurite emulator for local Azure Storage development."
I will close this out, but if you have further issues please let us know.


How to add a lsp backends properly?

such as lua lsp-backends? I add the lsp backends as follow:
(after! lsp
  (lsp-register-client
   (make-lsp-client :new-connection (lsp-stdio-connection (list
                                                           ;; "JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home"
                                                           "/usr/bin/java"
                                                           "-cp"
                                                            (expand-file-name (concat doom-private-dir "/.local/bin/EmmyLua-LS-all.jar" ))
                                                           "com.tang.vscode.MainKt"))
                    :major-modes '(lua-mode)
                    :server-id 'emmy-lua
                    :priority 0))

is this right?
and how to add hook to enable lsp mode?
(after! lua-mode
    (add-hook 'lua-mode-hook #'lsp!))

or add
 (add-hook 'lua-mode-hook #'lsp!)

in config file.

I'm not terribly familiar with defining LSP backends, so my insight is limited, but it looks correct to me.
As for enabling lsp, (add-hook 'lua-mode-hook #'lsp!) is good enough. add-hook doesn't require the hook to be defined.

(after! lua-mode
    (add-hook 'lua-mode-hook #'lsp!))

and
 (add-hook 'lua-mode-hook #'lsp!)

which is best? The first one with after!sometimes  not works fine.

The answer to your question was in my last response.

As for enabling lsp, (add-hook 'lua-mode-hook #'lsp!) is good enough. add-hook doesn't require the hook to be defined

There is no need for after!.

thanks a lot！

You probably want to use (after! lsp-clients ...), it may not work with "after! lsp" alone.


Peripheral state same for all peripherals connected to the same network

When the we connect two peripherals of the same type to the same network, their state according to the computer is the same (both display librarian villager, when only one is librarian or all display the same honey level when they are all in fact different, for example.)
We tested this with the trading interface and the beehive_interface. I think this might have been caused by the update to the modem fix in issue #23. But i'm not sure. There does not seem to be a specific direction (North, south etc.) for which peripheral's state is taken, in fact we saw it change in one test.
When placing a computer directly against every beehive interface, all the states correct according to that computer. Which is why we think it's only on the same network.
Our setups:
Beehives:

Villagers:

Hello, this is basically the same problem as issue #22, it is occuring because everytime i "create" a peripheral it actually changes the instance of this, and every peripheral returns the same this, like so in the Grinder Peripheral
@Override
    public LazyOptional<IPeripheral> getPeripheral(Level world, BlockPos pos, Direction side) {
        if(world.getBlockState(pos).getBlock().equals(BlockRegister.grinder.get())){
            this.tileEntity = (GrinderEntity) world.getBlockEntity(pos);
            this.fakePlayer = new FakePlayer((ServerLevel) world,new GameProfile(UUID.randomUUID(),"Grinder"));
            return LazyOptional.of(() -> this);
        }
        return LazyOptional.empty();
    }

if i create a new instance like this :
@Override
    public LazyOptional<IPeripheral> getPeripheral(Level world, BlockPos pos, Direction side) {
        if(world.getBlockState(pos).getBlock().equals(BlockRegister.grinder.get())){
            var peripheral = new GrinderPeripheral();
            peripheral.tileEntity = (GrinderEntity) world.getBlockEntity(pos);
            peripheral.fakePlayer = new FakePlayer((ServerLevel) world,new GameProfile(UUID.randomUUID(),"Grinder"));
            return LazyOptional.of(() -> peripheral);
        }
        return LazyOptional.empty();
    }

the problem is gone

its an oversight in my off my part, i'm gonna redo these right now

Fixed in dev
i'm gonna put another release up with this fix


Add 'setThemeColor' method to footer & header

For customizing the color

@LeoMobileDeveloper Please review if it looks good to you;)


Add Support for Input Constraint Validation

Purpose
Fixes: #4176
Examples
GraphQL service:
import ballerina/constraint;
import ballerina/graphql;

public type MovieDetails record {|
    @constraint:String {
        minLength: 1,
        maxLength: 10
    }
    string name;

    @constraint:Int {
        minValue: 18
    }
    int downloads;

    @constraint:Float {
        minValue: 1.5
    }
    float imdb;
|};

service /constraints on new graphql:Listener(9090) {
    isolated resource function get movie(MovieDetails movie) returns string {
        return movie.name;
    }
}

GraphQL document:
query A {
    movie(
        movie: {name: "Interstellar", downloads: 12, imdb: 1.0}
    )
}

Response:
{
  "errors": [
    {
      "message": "Input validation failed in the field \"movie\": Validation failed for '$.downloads:minValue','$.imdb:minValue','$.name:maxLength' constraint(s).",
      "locations": [
        {
          "line": 2,
          "column": 5
        }
      ],
      "path": [
        "movie"
      ]
    }
  ],
  "data": null
}

Checklist

[x] Linked to an issue
[x] Updated the changelog
[x] Added tests
[x] Updated the spec
[x] Checked native-image compatibility

There are two code smells reported by Sonar as well. Shall we attend to them?


[ REFACTOR ] "get backend information with Qiskit" page with backendV2 info

The current "Get backend information with Qiskit" page uses information that is outdated and we should update it to include more recent backendV2 info.
Details here on how to migrate from backendV1 to backendV2: https://qiskit.org/documentation/apidoc/providers.html#migrating-between-backend-api-versions
I'm not sure what would be the most helpful for users at this stage:

update this page to include both backend v1 and v2 info
completely replace the backend v1 info with v2 info (and add a note about the change, including a link to the migration guide?)

I don't have strong feelings either way, maybe @mtreinish or @blakejohnson could weigh in?

I would vote for completely replacing with backendV2 info.

I reviewed the content and available materials and will definitely need dev support.  Since everyone is heads-down with Summit, we might need to put this off until then.


Project Seldon

We just wanted to stop by to thank everyone who's contributed this repo! We're building a web app called Project Seldon with the goal of being an unopinionated analysis platform for understanding societies and systems of government. We leverage the data here as the baseline for our interactive US seating charts and detail pages (shown in the following video). We've scraped some similar data for other countries though unfortunately few others have sources that are quite as comprehensive.
https://user-images.githubusercontent.com/8988697/149716478-f05ca709-1ed4-4500-9d7e-7a65c21ad275.mp4
In any case, we wanted to offer you all access to the site (currently in private beta as we flesh out bugs and ensure everything is fairly accurate and transparently sourced). It's whitelisted by email so just drop us (@skipjack or @gerard070) a line here or reach out to me at<EMAIL_ADDRESS>if you'd like access. We're still debating whether to go the non-profit or for-profit route (leaning towards the former) but either way...

We'll be publishing all the functionality you see in the video + more for free in the late spring or early summer.
We'll be open-sourcing certain aspects of site (e.g. the data collection / scraper scripts).
We've already linked to this repo anywhere the data here is used.
We're happy to have those links point to wherever you'd like.
We'd consider introducing functionality that lowers the barrier to entry for contributing to repos like this one.

Regarding the last bullet, think something like the user filling out a form, or uploading a spreadsheet with all the data points and sourcing required. We'd hope that something like that might make it easier to create repos like this one for other countries. Thoughts on that and any other feedback/ideas would be much appreciated!
Also, please let me know if this issue is the proper forum... happy to move it over to a GitHub discussion or something else if you'd prefer.

@JoshData based on the contribution activity and the responses I'm seeing on issues, you seem to be the most active maintainer. Would love to get your thoughts on the project if you have some time to check it out.

Hi. Thanks. I'm sorry I don't have time to provide feedback to new projects.

No worries, do you mind if I leave the issue open for a bit? I'm looking to start discussing the project with technical journalists interested in exactly the kind of data offered here.
Also, are you looking for any help maintaining this repo? We'd be happy to help contribute and review issues/prs.


🐛 fix the wrong apiserver endpoint in hosted mode

Summary
Related issue(s)
Fixes #

/hold

/approve
/lgtm

/unhold


Bluetooth: host: Fix packet reording in ATT under high load

Fix packet reordering in ATT when putting the host under high load.
In certain conditions a packet can be transmitted while there is
elements in the TX queue in bt_att_send. This means that the packet will
skip ahead in the TX queue leading to packet re-ordering.
Signed-off-by: Joakim Andersson<EMAIL_ADDRESS>

Besides https://github.com/zephyrproject-rtos/zephyr/pull/33775/files#r603294703 this LGTM.
If I understand the change correctly, it is simply changing the queuing from append to prepend in the att_send_process case?
Does this solve the issue with EATT you mentioned before?

I have only tested this in non-EATT context. I can't yet say for sure that EATT has a problem with reordering or not with this change.
The change is to always go through the queue before sending. So always append it to the queue, and then try to send the head of the queue, if that fails then put it back by prepending it to the queue.

@Vudentz I think that while this fix might fix packet reordering for EATT it could potentially impact the performance, since it is all now going through the queue instead of going over a channel immediately.
To me it seems like it would be wiser to expose this to the application so that we could give services their own dedicated channels for the most important services, audio services for example.
Packet reordering between different services wouldn't be an issue, but within a single service it presents a problem.
For example DFU needs to transmit all of the notifications in order.

@Vudentz I think that while this fix might fix packet reordering for EATT it could potentially impact the performance, since it is all now going through the queue instead of going over a channel immediately.
To me it seems like it would be wiser to expose this to the application so that we could give services their own dedicated channels for the most important services, audio services for example.
Packet reordering between different services wouldn't be an issue, but within a single service it presents a problem.
For example DFU needs to transmit all of the notifications in order.

Well in case of DFU with EATT I would argue that can use a dedicated L2CAP channel directly given that both peer should support it (for EATT), as for exposing bt_att_chan that would need a whole set of new APIs, not sure if it worth the trouble given that all the heavy traffic use cases (aka GATT attribute used as serial port) could be changed to use dedicated L2CAP channel directly instead of reserving EATT channels.


Better cross-linking of docs

Is your feature request related to a problem? Please describe.
We should cross-link to API docs in our documentation where possible using the Sphinx :meth:~daft.DateType.date()` directive

cc @clarkzinzow - is this issue completed or is there additional work to be done?

This is done!


dtype keyerror fix

see issue #17 for info

I copied what was present somewhat blindly; would it make sense to preserve existing size, casting everything to uint?
    if seg[_group].dtype.kind not 'u':
        seg[_group] = seg[_group].astype(f"u{seg[_group].dtype.num}")

Either that, it could just cast everything to u8 (uint64).

seems like the new PR addressed this


How to use esrally test the performance of opensearch[BUG]

How to test the performance of opensearch？
I used the esrally tool to test the performance of opensearch, and found it unavailable. The official website suggested using esrally, but it could not be used. The error screenshot is as follows:
[suwei@tdocker ~]$ esrally race \

--track=geonames
--target-hosts=<IP_ADDRESS>:20001
--pipeline=benchmark-only
--track-params="number_of_shards:3, number_of_replicas:1"
--user-tag="version:ARM_4C16G_1T*3"
--client-options="basic_auth_user:'admin', basic_auth_password:'admin'"

____        ____

/ __ ____ / / /  __
/ // / __ `/ / / / / /
/ , / // / / / // /
// ||_,///_, /
/____/
[INFO] Race id is [dfb73830-92fc-484f-9502-eb37f3d01d13]
[ERROR] Cannot race. Traceback (most recent call last):
File "/usr/local/python3/lib/python3.8/site-packages/esrally/actor.py", line 92, in guard
return f(self, msg, sender)
File "/usr/local/python3/lib/python3.8/site-packages/esrally/racecontrol.py", line 110, in receiveMsg_Setup
self.coordinator.setup(sources=msg.sources)
File "/usr/local/python3/lib/python3.8/site-packages/esrally/racecontrol.py", line 186, in setup
distribution_version = mechanic.cluster_distribution_version(self.cfg)
File "/usr/local/python3/lib/python3.8/site-packages/esrally/mechanic/mechanic.py", line 280, in cluster_distribution_version
client.wait_for_rest_layer(es)
File "/usr/local/python3/lib/python3.8/site-packages/esrally/client.py", line 299, in wait_for_rest_layer
es.cluster.health(wait_for_nodes=">={}".format(expected_node_count))
File "/usr/local/python3/lib/python3.8/site-packages/elasticsearch/client/utils.py", line 168, in _wrapped
return func(*args, params=params, headers=headers, **kwargs)
File "/usr/local/python3/lib/python3.8/site-packages/elasticsearch/client/cluster.py", line 66, in health
return self.transport.perform_request(
File "/usr/local/python3/lib/python3.8/site-packages/elasticsearch/transport.py", line 413, in perform_request
_ProductChecker.raise_error(self._verified_elasticsearch)
File "/usr/local/python3/lib/python3.8/site-packages/elasticsearch/transport.py", line 630, in raise_error
raise UnsupportedProductError(message)
elasticsearch.exceptions.UnsupportedProductError: The client noticed that the server is not Elasticsearch and we do not support this unknown product

@opencmit1  esrally is an Elasticsearch product. For OpenSearch, we use OpenSearch Benchmark. Please see the blog on this: https://opensearch.org/blog/update/2021/12/introducing-opensearch-benchmark/.


Implement matrix_select op

Thanks @seibert for pairing!

Pull Request Test Coverage Report for Build 908312375

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 80.944%

Totals

Change from base Build 907650218:
0.0%

Covered Lines:
1423

Relevant Lines:
1758

💛  - Coveralls

Pull Request Test Coverage Report for Build 910078143
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 80.944%

Totals

Change from base Build 907650218:
0.0%

Covered Lines:
1423

Relevant Lines:
1758

💛  - Coveralls

Pull Request Test Coverage Report for Build 910078143
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 80.944%

Totals

Change from base Build 907650218:
0.0%

Covered Lines:
1423

Relevant Lines:
1758

💛  - Coveralls


python312Packages.rns: 0.8.1 -> 0.8.2, python312Packages.nomadnet: 0.5.3 -> 0.5.4

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 347040 run on x86_64-linux 1

12 packages built:

python311Packages.lxmf
python311Packages.lxmf.dist
python311Packages.nomadnet
python311Packages.nomadnet.dist
python311Packages.rns
python311Packages.rns.dist
python312Packages.lxmf
python312Packages.lxmf.dist
python312Packages.nomadnet
python312Packages.nomadnet.dist
python312Packages.rns
python312Packages.rns.dist


[SEDONA-428] Add RS_ZonalStats & RS_ZonalStatsAll

Did you read the Contributor Guide?

Yes, I have read Contributor Rules and Contributor Development Guide

Is this PR related to a JIRA ticket?

Yes, the URL of the associated JIRA ticket is https://issues.apache.org/jira/browse/SEDONA-428. The PR name follows the format [SEDONA-XXX] my subject.

What changes were proposed in this PR?

Add RS_ZonalStats
Add RS_ZonalStatsAll
Refactor asRaster implementation to have the ability to keep the reference raster's extent.

How was this patch tested?

Passed new and old tests

Did this PR include necessary documentation updates?

Yes, I have updated the documentation update.

@Kontinuation All raster functions that take a raster and a geometry as an input, we must perform implicit CRS transformation. What do you think?


Test Vectors - Presentation Exchange

This issue outlines gaps in testing of Presentation Exchange v2.1.1 in conjunction with the W3C VCDM v1.1. Tasks may have partial test coverage today (linked if true). If sufficient test coverage already exists, please close the task and link the relevant test.
Tasks may need discussion on the best way to approach them. The goal is to create a set of language agnostic test vectors that give us sufficient confidence in maintaining interoperability of features between implementations.
https://tbd54566975.github.io/web5-spec/#presentation-exchange
Presentation Definitions / Presentation Requests

[ ] Create a Presentation Definition today's tests

Validate it against its JSON Schema
Support multiple input descriptors
Support predicates
Support relational constraints (multiple paths, JSON Schema, Regex)
Support credential status
Pull in PD test vectors from web5-kt

[ ] Sign and Verify Presentation Definitions as JWT Presentation Requests today's tests

Valid DID / Invalid DID (unavailable, expected key material not present)
Valid Signature / Invalid signature

Presentation Submissions

[ ] Create a Presentation Submission today's tests

Validate it against its JSON schema
Build from a Presentation Definition and a set of credentials (can fulfill/cannot fulfill) today's tests

[ ] Sign and Verify a Presentation Submission as a VP-JWT today's tests

Valid DID / Invalid DID (unavailable, expected key material not present)
Valid Signature / Invalid signature
Conforms to Presentation Definition today's tests

Valid credentials
Relational constraints
Status
Predicate(s)

Does not conform to Presentation Definition today's test

Missing credential(s), invalid credentials (bad signature, no signature, unable to verify)
Invalid relational constraints
Invalid status
Invalid predicate(s)

you think these vectors should be lifted and cleaned added to web5-spec? Pull in PD test vectors from web5-kt
They were originally made for unit testing small features / chunks

@nitro-neal yes, those look like a great place to start for this work


fix(Dialog): iOS safari scroll lock not working (#1423)

fixes #1423
By adding touch-action: none, Safari seems to stop misbehaving.
There might be some more edgecases hiding elsewhere as you can't ever be to sure with Safari, but this should do.
At least for now 🙂

We don't want to prevent touch action, user might want to perform gesture event (zoom etc). I will have a look at this issue @94726 . Thanks for reporting and attempting the fix ya 😁


Admin api PUT parameters are inconsistent

Summary
I was expecting PUT endpoints to automatically create a record if one did not exist, but instead got:
400 Bad Request
{"created_at":"created_at is required"}

As mentioned before, expected behaviour is PUT requests require all fields to be present:

https://github.com/Kong/kong/issues/2800
https://github.com/Kong/kong/issues/2800
https://github.com/Kong/kong/issues/3168

However, the services API does not follow this behaviour, and inserts a default value for created_at:
https://github.com/Kong/kong/blob/90096fb35eda8da7e86d43b101a44e6827d4d67c/kong/api/routes/services.lua#L95
Please could the development team clarify which behaviour is intended:

PUT should require a full object, and no default parameters will be inserted
PUT will insert sensible default values (such as created_at)

I'm happy to work up a feature/documentation PR as needed, but require some input on what the dev team will accept.
Steps To Reproduce

PUT a Service such as

        curl -is -X PUT --url "http://kong-app:8001/services/1c81025b-a003-488c-98e1-370e0d24b315" \
          -H "Content-Type: application/json" \
          --data '{"name":"spam","url":"http://spam:8080"}'

Response contains autofilled created_at time
PUT a Plugin such as

        curl -is -X PUT --url "http://kong-app:8001/plugins/" \
          -H "Content-Type: application/json" \
          --data '{"id":"cfe247de-00e5-47b5-a3ba-da5713601a23","name":"oidc","service_id":"ef0d03a0-eaf3-4cab-a628-e9085a2f823e","config":{"client_id":"spam","client_secret":"spam"}}'

Response is a 400 Bad Request {"created_at":"created_at is required"}

Additional Details & Logs

Kong version ($ kong version)

0.14.0

Kong debug-level startup logs ($ kong start --vv)
Kong error logs (<KONG_PREFIX>/logs/error.log)
Kong configuration (the output of a GET request to Kong's Admin port - see
https://getkong.org/docs/latest/admin-api/#endpoint)
Operating system

docker container on Ubuntu running kong:0.14.0-alpine

Some entities are still in old DAO and old Admin API that doesn't support proper PUT — such as plugins.

Thanks for clarifying. Is there anything I can contribute? Docs for the current behaviour, or working towards migrating all endpoints to the new format?

@tommilligan, thank you for offering your hand, but I think we are already quite far in moving the rest of the entities to new DAO, so at this point I think we are all set. In meanwhile we welcome you to send us a PR to clarify the current situation in the docs:
https://github.com/Kong/docs.konghq.com
When you do that, do not forget to grab your T-shirt, :-):
https://github.com/Kong/kong/blob/master/CONTRIBUTING.md#contributor-t-shirt

Closing this and considering it answered :)


Update voteagora.yaml

Updated agora info to:

refresh website and social links
add both OP governor implementation and proxy contracts

/validate 1ee85d0afa759093820219cc2c8e37d4fb68c4e2


Internationalization

This pull implements language toggling between English and Spanish using the https://github.com/i18next/react-i18next library -- Fixes #23 .
Text strings are extracted into json files residing in public/locales/
A language toggle drop down menu has been added to the top navigation. Components are not automatically re-rendering to reflect the different translations unless you manually refresh or navigate to a new page, possibly due to an upstream bug but more investigation is required: https://github.com/i18next/react-i18next/issues/481
Google Translate was used to create a starting point for a Spanish translations file but the translations will need to be reviewed and corrected by a native speaker.

I was able to narrow down the issue with languageChange not triggering a re-render to the fact that I was stacking the connect() HOC from react-stateful and the translate() HOC from react-18next in the wrong order. If you stack them with translate on the inside, i.e. connect()(translate()(Component), then things work.


Support for build timeouts

I'm hitting an intermittent hanging issue related to cross-building docker images, obviously I need to dig deeper into the cause of the hangs, but I think there could be value in adding support for timeouts to imagebuilder.
I'd be happy to submit a PR given a bit of guidance.
My initial thought was to add a flag to specify the desired timeout and then use that value in place of the hard coded 86400 sleep that is the default command used for the build image. It wasn't clear to me when the default value is not used, and the resulting error wouldn't be clear that it was related to the timeout expiring. Would it make more sense to handle the timeout separately and then gracefully clean up the build container after the timeout expires?

@smarterclayton @jim-minter thoughts on the above?


Question about pre-trained detr for vcoco

Hello. I want to know if the pre-trained vcoco model you provided was train like this?
https://github.com/hitachi-rd-cv/qpic/issues/4#issuecomment-801738132

no, We initialize the network with the parameters of DETR  trained on MS-COCO database


Fix #46

Summary
Fix #46
Details and comments
set self.qobj to given QuantumCircuit

@mtreinish could you please review the PR? Thanks :)

The other thing which would be good to have here is a test case for a job with a list of quantum circuits to verify the change works. Something like test_job_counts_measurement_mapping but passing [qc] to the fake job instead of using qc.

Good point. I will write one.


⚠ ClamAV has degraded performance

In cc3199f, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 70 ms

Resolved: ClamAV performance has improved in 2700ecd after 5 minutes.


[Product] If Overview data is empty then don't show Overview tab

Example pages in Staging:
https://stage.lifesciences.danaher.com/us/en/products/sku/ab272504-abcam.html
Can we hide the Overview tab if the Overview content is empty

as confirmed by @lakshmithi  this has been implemented in production.


Registrar version bumpup

Is this a new chart?
No
What this PR does / why we need it:
Updating the csi-sidecar versions in PowerStore and PowerFlex driver's sample file.
Which issue(s) is this PR associated with:

https://github.com/dell/csm/issues/1012

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

[ ] Chart Version bumped
[ ] Variables are documented in the chart README.md
[x] Title of the PR starts with the chart name (e.g. [charts_dir/mychartname]) if applicable

https://github.com/kubernetes-csi/node-driver-registrar/issues/359