Restore analysis adaptor's ability to store/update web_data

Description
When the 'evil eval' for making hashes out of strings was removed from the main adaptor code, it was added to the AnalysisAdaptor, to cater for the last remaining usage in the API, analysis.web_data. At this time the inverse operation was also removed, for stringifying a hash to be inserted or updated in the database. I believe this to be incorrect; there is a test for correct storage of web_data, but due to a bug in the test, it was not working properly; storage in the db was never tested, because data would always be retrieved from a cache instead.
Note that this relates to https://github.com/Ensembl/ensembl/pull/351, and effectively reverts the code changes there; it is not intended (or useful) for an update to delete web_data from the object.
Use case
As a general principle, 'store' functions should store all of an object's data, rather than silently omit bits. In particular, EG and Production pipelines extract analysis data from the production db and insert it into core dbs, via the API - without this fix, the web_data is always set to NULL, which causes problems down the road. This is mitigated for some teams by the practice of synchronising production and core dbs, but others (VectorBase, WormBase) do not do this.
I think it is better practice for pipelines to add all of the analysis data when the relevant pipeline is run, rather than relying on a script to be run at a later date to synchronise from the production db; this change supports that practice.
Benefits
'store' and 'update' methods (and consequently EG and Production pipelines) work as expected.
Possible Drawbacks
None I can think of.
Testing
Have you added/modified unit tests to test the changes?
Yes
If so, do the tests pass/fail?
Pass
Have you run the entire test suite and no regression was detected?
Yes

Ah, looks like the perl critic test wasn't run locally when I did the full test suite, because an environment variable wasn't set. Will have a look at this next week...

Coverage increased (+0.007%) to 81.453% when pulling 5cc46c10bc344caa87c11793849825634a409350 on james-monkeyshines:bugfix/analysis_webdata into 6205df31546e410c0c5a0a1170a32c972616e8c1 on Ensembl:master.

@mkszuba would you mind having a look as someone from the infrastructure side?
Cheers


Make StrMatcher generic over the times matcher

Make StrMatcher generic over the TimesMatcher (and use a place holder to mark it as no matcher provided).
This allows to avoid the usage of dyn Matcher which will not be supported after the fix of #353 (which is likely to make Matcher not object safe).

With https://github.com/google/googletest-rust/pull/349, this is now unnecessary.


fs in ./node_modules/lokijs/src/lokijs.js

how to config nuxt.config.js to include node { fs: "empty" }? and work with lokijs?

To have a ssr/client model with indexeddb I use pouchdb it automaticly loads the required node/client libraries needed

I'm also getting the same error when importing mysql on the server either inside asyncData({isServer}), in the fetch({}) method, or as serverMiddleware.
This dependency was not found:
fs in ./~/mysql/lib/protocol/sequences/Query.js

I would like to be able to query a database and preload the data object (or Vuex store) before it hits the client, so no additional Axios requests are needed.

@guillermovs

I would like to be able to query a database and preload the data object (or Vuex store) before it hits the client

Use nuxtServerInit

to add to what @calebanthony is saying, you can also check if the process is server side inside nuxtServerInit
for example
...
actions: {
    nuxtServerInit () {
        if (process.server) {
           // perform some server side only function
        }
    }
}
...


DO NOT MERGE -- waiting on more content from Rosemary: update-prepare-for-install

Edit/update the Prepare for Installation doc as per OWLS-95907 Operator User Guide Feedback and Updates for 4.0

General comment:
In addition to updating "Quick Start" to use the repo option, the operator "installation.md" chapter should also be updated to use this option - plus any other documentation we have that mentions helm install...


Fix ruff config deprecation warning

The warning was
warning: The top-level linter settings are deprecated in favour of their counterparts in the `lint` section. Please update the following options in `pyproject.toml`: - 'select' -> 'lint.select'

I just noticed this warning after updating to the latest ruff, so I thought I would fix it here and just ignore it until I adopt copier.


python3Packages.pycurl: Fix build on aarch64-darwin

Description of changes
Disabled failing test as suggested here: https://github.com/NixOS/nixpkgs/pull/188284#issuecomment-1244041158
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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/)
22.11 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@ofborg build python310Packages.pycurl


Shortest not working on windows

Can you please try npm and see if the issue persist?

I’m still facing the same problem despite trying with all three package managers: Yarn, npm, and pnpm.


improvement: move sealing to init function

Overview
Closes https://github.com/celestiaorg/celestia-app/issues/1331
Checklist

[ ] New and updated code has appropriate documentation
[ ] New and updated code has new and/or updated testing
[ ] Required CI checks are passing
[ ] Visual proof for any user facing features like CLI or documentation updates
[ ] Linked issues closed with keywords

Codecov Report

Merging #1348 (d812c12) into main (580d186) will increase coverage by 0.16%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1348      +/-   ##
==========================================
+ Coverage   48.21%   48.38%   +0.16%
==========================================
  Files          79       80       +1
  Lines        4405     4431      +26
==========================================
+ Hits         2124     2144      +20
- Misses       2103     2107       +4
- Partials      178      180       +2

Impacted Files
Coverage Δ

app/config.go
100.00% <100.00%> (ø)

pkg/shares/namespaced_padding.go
83.87% <0.00%> (-4.37%)
:arrow_down:

pkg/shares/parse_sparse_shares.go
64.40% <0.00%> (-1.64%)
:arrow_down:

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


Can you build version 2.3.3 to docker hub please ?

Hi,
Need use 2.3.3 version (Don't have choice...).
I can't build in enterprise network with firewall.
So I need pull image ready from docker hub.
Can you build image 2.3.3 on docker hub please ?

@cedvan I will give it a try.

Ok thank you :)

Did you have time to try ?

@cedvan preparing the gitlab releases. Will work on this once i am done.

ok, no stress, if you need help, I can maybe help you ?

maybe you can send a PR and I will create a new branch for the 2.3.3 version where I will merge the PR. https://github.com/sameersbn/docker-redmine#contributing

@cedvan didn't realize that version 2.3.3 is already tagged in the repo. Just need to build. Lets hope the build goes through.

@cedvan 2.3.3  tag is now available on docker hub.
Note that a lot has changed since 2.3.3 release, so please make sure you refer to the correct README

Oh great ! Thank you :)


Set up Android tests on CI

Issue #4369
Proposed changes
Configures android tests on unix CI

Hello @bnoordhuis . Some of the tests are causing timeout on android. Let me know if we can continue skipping them for a while or if we should spend more time trying to understand what's going on.
Timeline
Here's the list of tests that we causing timeout
tcp_ping_pong
tcp_ping_pong_vec
tcp6_ping_pong
tcp6_ping_pong_vec
tcp_writealot
watcher_cross_stop

After skipping the tests above the test tcp_connect6_link_local started fail due a timeout (not sure if they are correlate). After skipping it the pipe tests like pipe_ping_pong started to fail.
I wonder if it's due to the image or something. In my machine I got Android in the same API level and the same ABI and all tests pass.

Perhaps it has something to with the emulator running on a VM, making it slower?
Do we have a way to enlarge the timeout with an env variable perhaps?

Perhaps it has something to with the emulator running on a VM, making it slower?
Do we have a way to enlarge the timeout with an env variable perhaps?

It might be the case. I am trying to find a way to increase the timeout.

Is it okay if I switch the docker image?

Perhaps it has something to with the emulator running on a VM, making it slower?

Do we have a way to enlarge the timeout with an env variable perhaps?

It might be the case. I am trying to find a way to increase the timeout.

Should be in runner-unix.c iirc.

Perhaps it has something to with the emulator running on a VM, making it slower?

Do we have a way to enlarge the timeout with an env variable perhaps?

It might be the case. I am trying to find a way to increase the timeout.

Should be in runner-unix.c iirc.

Thank you! I will check it.

It worked! 🚀 Ty @saghul .
https://github.com/libuv/libuv/actions/runs/10621295245/job/29442953925?pr=4517
P.S it failed in the sanitizer or something - does not seem to be related to the changes.

Great work!

Crap, I accidentally clicked 'Update branch' and now there's a merge commit. I guess squash&merge should still work okay.


Twitter proof not working

Hi, my Twitter proof isn't working. Here's the proof: https://twitter.com/adamzmith/status/1144648130685747201
An auto email from Keybase says: "We've been checking it repeatedly, and from our perspective, it's either (a) not there, or (b) not posted precisely."
I am pretty sure I posted the proof exactly as instructed (copy and paste!). On Keybase it says the proof is "unreachable" and yet I can click "View proof" and it links through to the proof I posted.
Can anyone help?
Thanks,
Adam

I have the same issue...

That is my Twitter proof: https://twitter.com/nvd5517/status/1339577999302172673
O had to re-proof TRICE and no result... However, three days ago it worked perfectly but stopped to work suddenly.

The issue is the same on both desktop and mobile clients.

Is this a duplicate of #24397? But seems the opposite, that issue is a duplicate of this, or what :thinking:

@Wohlstand yours is fixed now.
@adames520 how did you end up with a bit.ly link in the proof rather than a t.co link like https://twitter.com/nvd5517/status/1339577999302172673 has? Was that something you did manually?

@mlsteele, thanks a lot! :fox_face:


[AutoPR imds/resource-manager] Instance Metadata Service: Initial Commit

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/4493

(message created by the CI based on PR content)

Codecov Report

Merging #3809 into restapi_auto_imds/resource-manager will decrease coverage by <.01%.
The diff coverage is n/a.

@@                          Coverage Diff                           @@
##           restapi_auto_imds/resource-manager    #3809      +/-   ##
======================================================================
- Coverage                                  56%   55.99%   -0.01%
======================================================================
  Files                                    9412     9408       -4
  Lines                                  188933   188929       -4
======================================================================
- Hits                                   105803   105799       -4
  Misses                                  83130    83130

Impacted Files
Coverage Δ

...-luis/azure/cognitiveservices/language/__init__.py

...suggest/azure/cognitiveservices/search/__init__.py

...-language-luis/azure/cognitiveservices/__init__.py

azure-mgmt-advisor/azure/mgmt/__init__.py

Continue to review full report at Codecov.

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


Try Auth0 for accounts and login

Used it on VIAL last year with the Django accounts system, so can reuse that.

Free for up to 7,000 users!

Can this handle profile photos for us?

For VIAL I used social-auth-app-django as described in this tutorial: https://auth0.com/docs/quickstart/webapp/django/01-login
Code here: https://github.com/CAVaccineInventory/vial/blob/main/vaccinate/auth0login/auth0backend.py
I'd like to avoid that extra dependency if possible though, so looking at other options.
https://github.com/auth0/auth0-python looks relevant but confusing: the README and docs don't seem to talk about hooking up web flows for OAuth at all.

The Auth0 Flask example is simpler: https://github.com/auth0-samples/auth0-python-api-samples/tree/master/00-Starter-Seed

I signed in to Auth0 with my simonw GitHub account and I'm creating a new tenant there:

https://manage.auth0.com/dashboard/us/pillarpointstewards/ is the new dashboard.

Now following https://auth0.com/docs/quickstart/backend/python - I need to "create an API". Doing that here: https://manage.auth0.com/dashboard/us/pillarpointstewards/apis

It got assigned an ID of 623f37c166b598003f5bd5d2

It looks like I'm following the wrong tutorial. It talks about how to accept a JWT sent in a Authorization: Bearer xxx header, but it doesn't talk about setting up a login redirect flow.
https://auth0.com/docs/quickstart/webapp/python looks like the right tutorial.

I'm going to follow that tutorial and use it to get something working, then I may rip out the authlib library and build the simplest possible zero-dependency version to see what that looks like.

I deleted the application I created for the API tutorial, and renamed the automatically created starter application to www.pillarpointstewards.com: https://manage.auth0.com/dashboard/us/pillarpointstewards/applications/DLXBMPbtamC2STUyV7R6OFJFDsSTHqEA/settings

AUTH0_DOMAIN = "pillarpointstewards.us.auth0.com"
AUTH0_CLIENT_ID = "DLXBMPbtamC2STUyV7R6OFJFDsSTHqEA"
AUTH0_CLIENT_SECRET = "..." # Get it from that page

Starting a new project with these in requirements.txt:
flask>=2.0.3
python-dotenv>=0.19.2
authlib>=1.0
requests>=2.27.1

Used openssl rand -hex 32 to generate a APP_SECRET_KEY.

Set these:

To replace authlib I need to understand authorize_redirect() and authorize_access_token().

Also figure out what this does: https://pillarpointstewards.us.auth0.com/.well-known/openid-configuration
It returns this JSON:
{
  "issuer": "https://pillarpointstewards.us.auth0.com/",
  "authorization_endpoint": "https://pillarpointstewards.us.auth0.com/authorize",
  "token_endpoint": "https://pillarpointstewards.us.auth0.com/oauth/token",
  "device_authorization_endpoint": "https://pillarpointstewards.us.auth0.com/oauth/device/code",
  "userinfo_endpoint": "https://pillarpointstewards.us.auth0.com/userinfo",
  "mfa_challenge_endpoint": "https://pillarpointstewards.us.auth0.com/mfa/challenge",
  "jwks_uri": "https://pillarpointstewards.us.auth0.com/.well-known/jwks.json",
  "registration_endpoint": "https://pillarpointstewards.us.auth0.com/oidc/register",
  "revocation_endpoint": "https://pillarpointstewards.us.auth0.com/oauth/revoke",
  "scopes_supported": [
    "openid",
    "profile",
    "offline_access",
    "name",
    "given_name",
    "family_name",
    "nickname",
    "email",
    "email_verified",
    "picture",
    "created_at",
    "identities",
    "phone",
    "address"
  ],
  "response_types_supported": [
    "code",
    "token",
    "id_token",
    "code token",
    "code id_token",
    "token id_token",
    "code token id_token"
  ],
  "code_challenge_methods_supported": [
    "S256",
    "plain"
  ],
  "response_modes_supported": [
    "query",
    "fragment",
    "form_post"
  ],
  "subject_types_supported": [
    "public"
  ],
  "id_token_signing_alg_values_supported": [
    "HS256",
    "RS256"
  ],
  "token_endpoint_auth_methods_supported": [
    "client_secret_basic",
    "client_secret_post"
  ],
  "claims_supported": [
    "aud",
    "auth_time",
    "created_at",
    "email",
    "email_verified",
    "exp",
    "family_name",
    "given_name",
    "iat",
    "identities",
    "iss",
    "name",
    "nickname",
    "phone_number",
    "picture",
    "sub"
  ],
  "request_uri_parameter_supported": false
}

Looks like authlib fetches that once and caches it on self.server_metadata: https://github.com/lepture/authlib/blob/ed96b78b6111baf9fe1e087fb764ddb30163c009/authlib/integrations/base_client/sync_app.py#L291-L300

... and then uses it in this code: https://github.com/lepture/authlib/blob/ed96b78b6111baf9fe1e087fb764ddb30163c009/authlib/integrations/base_client/sync_app.py#L302-L342 to construct the authorization_url and implement fetch_access_token() - which is the other bit of code I needed to understand.

And then fetch_token() is implemented here: https://github.com/lepture/authlib/blob/ed96b78b6111baf9fe1e087fb764ddb30163c009/authlib/oauth2/client.py#L156-L205
I think that's everything I need to know to roll an Auth0 authentication flow from scratch.

I used browser devtools to intercept the login redirect URL:
https://pillarpointstewards.us.auth0.com/authorize?response_type=code&client_id=DLXBMPbtamC2STUyV7R6OFJFDsSTHqEA&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fcallback&scope=openid+profile+email&state=FtYFQBczDZemVurdBan5PjRiePPGhU&nonce=PdoZm8Ymrop5YVo1lYvg

state= is a randomly generated string: https://github.com/lepture/authlib/blob/ed96b78b6111baf9fe1e087fb764ddb30163c009/authlib/oauth2/client.py#L133-L134
I believe nonce is a random string too but I can't see where that is generated.

Auth0 redirects back to:
http://localhost:3000/callback?code=hIlhpglkN8YEZYrYCTbbM81llV-Yc1I64UOFkfFSojjzn&state=FtYFQBczDZemVurdBan5PjRiePPGhU
state= is the state I passed in - can check that against a session variable.
Then code= is the thing that gets exchanged for an access code.

I turned on requests logging by pasting this into the app:
import logging
logging.basicConfig()
logging.getLogger().setLevel(logging.DEBUG)
requests_log = logging.getLogger("requests.packages.urllib3")
requests_log.setLevel(logging.DEBUG)
requests_log.propagate = True

Then when I logged in it caught this:
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): pillarpointstewards.us.auth0.com:443
DEBUG:urllib3.connectionpool:https://pillarpointstewards.us.auth0.com:443 "GET /.well-known/openid-configuration HTTP/1.1" 200 None
INFO:werkzeug:<IP_ADDRESS> - - [26/Mar/2022 09:50:16] "GET /login HTTP/1.1" 302 -
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): pillarpointstewards.us.auth0.com:443
DEBUG:urllib3.connectionpool:https://pillarpointstewards.us.auth0.com:443 "POST /oauth/token HTTP/1.1" 200 None
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): pillarpointstewards.us.auth0.com:443
DEBUG:urllib3.connectionpool:https://pillarpointstewards.us.auth0.com:443 "GET /.well-known/jwks.json HTTP/1.1" 200 None
INFO:werkzeug:<IP_ADDRESS> - - [26/Mar/2022 09:50:18] "GET /callback?code=Bx8OLnd0u-iTb0NMg402lTacgngRummZdh6MTqMNu9ag3&state=zoFgKhTq5OOQK0pknwvh25ecIO0mF0 HTTP/1.1" 302 -
INFO:werkzeug:<IP_ADDRESS> - - [26/Mar/2022 09:50:18] "GET / HTTP/1.1" 200 -

Interesting to see it hit /.well-known/jwks.json - presumably to help decode the token.

I turned on more debugging by adding this:
from http.client import HTTPConnection
HTTPConnection.debuglevel = 2

Then logged in and caught this:
send: b'POST /oauth/token HTTP/1.1\r\nHost: pillarpointstewards.us.auth0.com\r\nUser-Agent: Authlib/1.0.0 (+https://authlib.org/)\r\nAccept-Encoding: gzip, deflate\r\nAccept: application/json\r\nConnection: keep-alive\r\nContent-Type: application/x-www-form-urlencoded;charset=UTF-8\r\nContent-Length: 134\r\nAuthorization: Basic BASE64...==\r\n\r\n' send: b'grant_type=authorization_code&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fcallback&code=804-RPsfJb9zIiLNtgP5LVKUnYor8_lN7vltl7DkRpxF-'
That BASE64...== bit was a Base64 string which, when decoded, looked like this:
DLXBMPbtamC2STUyV7R6OFJFDsSTHqEA:014TdfU3uNgAsrR...
That's my client key, a : and my client secret!
So to exchange the code, make a POST to https://pillarpointstewards.us.auth0.com/oauth/token authenticated using HTTP Basic auth with the client key / secret and send the following:
grant_type=authorization_code
&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fcallback
&code=804-RPsfJb9zIiLNtgP5LVKUnYor8_lN7vltl7DkRpxF-

Doesn't seem to be any JWT stuff going on at all.

That POST returns the following JSON:
{"access_token":"...","scope":"openid profile email","expires_in":86400,"token_type":"Bearer"}

The access_token is very long - maybe it's a JWT?

Sending the access_token in a Authorization: Bearer xxx GET request to https://pillarpointstewards.us.auth0.com/userinfo returns this:
{
    "sub": "google-oauth2|106366615678321494423",
    "given_name": "Simon",
    "family_name": "Willison",
    "nickname": "...",
    "name": "Simon Willison",
    "picture": "https://lh3.googleusercontent.com/a-/AOh14Gg9Loyxove5ocfBp0mg0u2afcTpM1no8QJnwbWnxw=s96-c",
    "locale": "en-GB",
    "updated_at": "2022-03-26T16:23:17.618Z",
    "email"<EMAIL_ADDRESS>    "email_verified": true
}

Found the documentation for the /authorize endpoint too: https://auth0.com/docs/api/authentication#login

Turned this into a Datasette plugin: https://github.com/simonw/datasette-auth0

And a TIL: https://til.simonwillison.net/auth0/oauth-with-auth0

I ran this:
flyctl secrets set AUTH0_CLIENT_SECRET='...' \
  -a pillarpointstewards

Got just enough of this working for a demo in production. Still needs tests.

It works in production! I had to add the http://www.pillarpointstewards.com/auth0-callback/ callback to the allow-list because Django apparently isn't picking up on the https when generating that URL.

I signed in with Auth0 and then granted myself admin access like so:
pillarpointstewards % flyctl ssh console -a pillarpointstewards
Update available 0.0.306 -> v0.0.310.
Run "flyctl version update" to upgrade.
Connecting to top1.nearest.of.pillarpointstewards.internal... complete
# /app/manage.py shell
Python 3.10.4 (main, Mar 30 2022, 23:50:39) [GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from django.contrib.auth.models import User
>>> User.objects.all()
<QuerySet [<User: swillison>]>
>>> User.objects.all().update(is_superuser=True, is_staff=True)
1

Gave Natalie access in the same way.

This still needs tests, especially since we need to be sure that users signing in from Auth0 for the first time, and subsequent times, and with accounts created in Auth0 as opposed to via Google SSO, all work as expected.

Issue #37 is caused by not having proper tests yet.
I can imitate these ones to a certain extent: https://github.com/simonw/datasette-auth0/blob/0.1/tests/test_auth0.py
Need to first figure out the differences i the Auth0 profile JSON for a user that signs in with Google SSO v.s. one that creates an account.

Good thing I tested that... got this error:

null value in column "first_name" violates not-null constraint

Auth0 sent me this email:

Useful documentation: Auth0 Normalized User Profiles

I need a better design for how an Auth0 profile becomes a Django user.
Django user's need a unique username. Auth0 provides a "nickname" but it's not clear if that's guaranteed to be unique - it is described as sometimes being "the local-part of the user's email". I'm going to assume there is no guarantee of uniqueness.
Nickname can also have non-alphanumeric characters in it, for example x+pillarpoint-auth0 shown above.
So... I need to normalize that nickname to a username, and avoid clashing with any existing usernames.
I'm going to strip out non-alphanumeric characters and add a 2/3/4 prefix until it works.

Here's my initial version: https://github.com/natbat/pillarpointstewards/blob/e19618f485d63cad559b14ad03689a1b49b71968/pillarpointstewards/auth0_login/views.py#L72-L104
I'm going to stop worrying about verified email addresses. I'm going to always create or update the record in the Auth0Users table. If no Django user exists for that Auth0User, one will be created with a derived nickname and the other fields left blank.

Here's the default Django user model: https://github.com/django/django/blob/13a9cde133ac82e33dd091ca9bb9c677804afbe1/django/contrib/auth/models.py#L344-L372
    username = models.CharField(
        _("username"),
        max_length=150,
        unique=True,
        help_text=_(
            "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
        ),
        validators=[username_validator],
        error_messages={
            "unique": _("A user with that username already exists."),
        },
    )
    first_name = models.CharField(_("first name"), max_length=150, blank=True)
    last_name = models.CharField(_("last name"), max_length=150, blank=True)
    email = models.EmailField(_("email address"), blank=True)
    is_staff = models.BooleanField(
        _("staff status"),
        default=False,
        help_text=_("Designates whether the user can log into this admin site."),
    )
    is_active = models.BooleanField(
        _("active"),
        default=True,
        help_text=_(
            "Designates whether this user should be treated as active. "
            "Unselect this instead of deleting accounts."
        ),
    )
    date_joined = models.DateTimeField(_("date joined"), default=timezone.now)

Error in production: https://sentry.io/organizations/pillar-point-stewards/issues/3150005103/?project=6304204&query=is%3Aunresolved

duplicate key value violates unique constraint "auth_user_username_key"
DETAIL:  Key (username)=(swillison) already exists.

Caused by: https://github.com/natbat/pillarpointstewards/blob/7abfbf5c2da91b3324799b5fce77097ceb62f94e/pillarpointstewards/auth0_login/views.py#L78-L85

I still need to write and test the logic for picking unique nicknames - once that is done I can call this finished.
Also need a test for when a user comes back and they already have a Django user.

This is working as intended now.


hysr_start_robots: Monitor subprocesses

Description
Keep track of the PIDs of the started sub-processes and monitor them.  If termination is requested via Ctrl+C or any of the sub-processes terminates on their own, all other processes are killed before existing.
This change makes it easier to detect failures in an automated setup. It is still possible to run things in the background if needed by using
hysr_start_robots &

It seems to work for me.  I'm not a bash expert though, so not sure if this is the best way to handle it.
How I Tested
Tested by running it and killing in various ways.
Do not merge before

[x] https://github.com/intelligent-soft-robots/pam_mujoco/pull/23

I fulfilled the following requirements

[x] All new code is formatted according to our style guide (for C++ run clang-format, for Python, run flake8 and fix all warnings).
[x] All new functions/classes are documented and existing documentation is updated according to changes.
[x] No commented code from testing/debugging is kept (unless there is a good reason to keep it).

Btw @vincentberenz: You mentioned that you had some issues terminating things properly when using subprocesses.

Sorry, pressed wrong button ....


Due to database collisions, retry when finding or creating a tag

This PR closes #693
Since the link posted by @adam-e-trepanier is returning 404, I just implemented a retrial strategy described by Mark Quezada in this blog post.
Any suggestions are welcome! :)

@fearenales Ill add a test to this

@rbritom Please add a reference in the Changelog too .

I think this approach causes silent data loss.
If you have two simultaneous processes which call TaggableModel.create!(tag_list: "hashtag"), afterwards you'd expect to have 2 TaggableModels stored in the database.
If one of those hits the rollback logic introduced in this PR, you've rolled back the INSERT INTO taggable_models, and nothing outside of the retry-loop knows anything about it.  You're left with 1 TaggableModel and no indication that anything went wrong.
@fearenales WDYT?

I share @jdelStrother 's concern about data loss.
The ROLLBACK here will roll back whatever transaction you're in, undoing any changes made to the db during that transaction. For example:
transaction do
  u = User.create(...)
  u.tag_list.add("foo") # <= a collision here would undo the User.create
end

Out of curiosity, what is the reason for the ROLLBACK?

Very surprising to me that this ROLLBACK is still in this gem since 2018, with multiple concerns/issues raised over the years. I'm thinking now that I gotta hunt for a way to remove this gem or replace it with another 😩.

@jakswa or open a PR to fix it.

@seuros it is open https://github.com/mbleigh/acts-as-taggable-on/pull/1081

Thank you. Sorry if my original comment came off too negative -- we have been troubleshooting borked transactions that led us to this ROLLBACK throwing away data sometimes (but reliably/persistent). If you have two new records getting tagged the same, new tag, you are risking one of those records being ROLLBACK'd silently :-\


Add barrier reset function, requested by hpxMP for reusing barrier

Add barrier reset function, requested by hpxMP for reusing barrier

@hkaiser
The local_barrier_count_up_reset test is failing if I add
total_ = barrier_flag;

under the reset function.
It seems that the total_has already been set to barrier_flag when it exit the wait function,
I am not sure why this behavior happens when I set total_ to barrier_flag again in reset function.

@hkaiser
            // get entering threads to wake up
            if (total_ == barrier_flag)
            {
                cond_.notify_all(std::move(l));
            }

It seems that this is waking up all the waiting threads if I set total_to barrier_flag in the reset function. Some previous threads might still haven't reached this line when new thread reached cond_.wait on the reseted barrier.
If I understand correctly, the following lines has already gracefully makes the newer coming threads wait untill total_ is equal to barrier_flag
while (total_ > barrier_flag)
        {
            // wait until everyone exits the barrier
            cond_.wait(l, "barrier::wait");
        }

if (total_ == barrier_flag)
            {
                cond_.notify_all(std::move(l));
            }

You might want to add a HPX_ASSERT(total_ == barrier_flag); to reset() (or similar), then. The precondition for reset() should be that there are no pending barrier operations in flight.


Add support for Content-Security-Policy

We should add advanced support for Content-Security-Policy directives:

[ ] Sign inline scripts using a hash.
[ ] Only allow scripts that are included via registerJs, registerJsFile.
[ ] Research what else we should support (CSP has options for framing as well as font loading).
[ ] Support CSP for asset bundles

We have the ForceSecureConnection middleware with CSP policy support

@roxblnfk that doesn't include external file hashes.

@roxblnfk that doesn't include external file hashes.

yes.
more precisely, you can define them there, but you will not be able to do this, because middleware is preconfigurable.

We have the ForceSecureConnection middleware with CSP policy support

To be honest, looking at the code in ForceSecureConnection, to me it seems like it is already taking on too much responsibility.
The class header Redirects insecure requests from HTTP to HTTPS, and adds headers necessary to enhance security policy. already hints at this.
Why not have a trivial RedirectToHTTPS middleware, that does exactly what it says and only that?
Furthermore, an HSTS header is added to normal HTTP requests, but that will always be ignored: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security
For me CSP is a subject totally unrelated to HTTPS redirects and HSTS headers...
Since the CSP support that would best fit the framework is a dynamically generated one, it makes more sense to have a middleware later in the chain that gathers (or receives) parts from application services (like the view).
Since at the end of the request we know which inline and external scripts we have etc we can then decide calculate the final CSP header.

We have the ForceSecureConnection middleware with CSP policy support

This is just notice, not solution.
The  ForceSecureConnection middleware was created without considering this issue and only for general CSP rules like this.
If we will create a detailed solution with CSP, taking into account assets and so on, it will be cool. Then it will be possible to remove unnecessary responsibility from this middleware.


UnicodeDecodeError: 'utf8' codec can't decode byte 0x82 in position 1: invalid start byte

When you run the script with the following parameters
python aws_inventory.py --profile my-profile-name --region my-region --debug -v
It breaks up at the end with the following error without writing json file:
DEBUG:aws_inventory.store:Building the response store.
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/pedroj84/aws-inventory/aws_inventory/invoker.py", line 99, in _probe_services
self.write_results()
File "/home/pedroj84/aws-inventory/aws_inventory/invoker.py", line 124, in write_results
print self.store.get_response_store()
File "/home/pedroj84/aws-inventory/aws_inventory/store.py", line 83, in get_response_store
return json.dumps(self._response_store, cls=ResponseEncoder)
File "/usr/lib/python2.7/json/init.py", line 251, in dumps
sort_keys=sort_keys, **kw).encode(obj)
File "/usr/lib/python2.7/json/encoder.py", line 207, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/usr/lib/python2.7/json/encoder.py", line 270, in iterencode
return _iterencode(o, 0)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x82 in position 1: invalid start byte

Cleaning out issues. I can't figure out, based on the details given, where the issue exactly is. Were you able to pin this down more? If so, could you share what you found?

@ncc-erik-steringer I encountered the same issue. After some investigation, I learned that AWS will send some responses with non-ASCII characters. Both the response and exception stores are pickled into bytes. JSON cannot load the stores after unpickling because the strings contain non-ASCII characters.
To fix, all values in the response and exception stores must be utf-8 encoded before pickling (or encoded after pickling and before JSON loading).

@jjpestacio , do you happen to know which responses from AWS do this? Also, have you seen if the develop branch has the same behavior (Python 3 only): https://github.com/nccgroup/aws-inventory/tree/develop

I'm not sure which exact responses contain non-ASCII characters, but they were mostly related to languages e.g. "Sign-up using Español." I haven't verified if the problem persists in the Python3 version but I think it will - regardless of Python2 or Python3 we're using the same botocore version so the responses will be the same.

Also fwiw, here's the workaround I'm doing:
aws_inventory/store.py
@@ -88,7 +87,8 @@ class ResultStore(object):
         :param file fp: file to write to
         """
         LOGGER.debug('Writing the response store to file "%s".', fp.name)
-        pickle.dump(self._response_store, fp)
+        encoded_store = {k: str(v).encode("utf-8") for k, v in self._response_store.items()}
+        pickle.dump(encoded_store, fp)

@@ -96,13 +96,15 @@ class ResultStore(object):
         :param file fp: file to write to
         """
         LOGGER.debug('Writing the exception store to file "%s".', fp.name)
-        pickle.dump(self._exception_store, fp)
+        encoded_store = {k: str(v).encode("utf-8") for k, v in self._exception_store.items()}
+        pickle.dump(encoded_store, fp)


Unable to Initiate chat with Repository on Publicly Hosted Web Application

I am encountering difficulty utilizing the recently released chat feature on your publicly hosted website. It seems there isn't a clear method to initiate this feature.
Could you kindly assist me or direct me towards the corresponding instructions or guides?

Yes in our public hosted web app it is still in v0.2.0 without chat ability, you can clone our repo and deploy the chat locally

v0.3.0 release, feel free to try our chat feature in VSCode Extension
https://marketplace.visualstudio.com/items?itemName=AICT.solidgpt


Houdini: Fix Validate Workfile Paths failing on parms with expressions or keyframes

Changelog Description
Validate workfile paths skip parms with keyframes
Additional info
Fix #522
Testing notes:

Load something as Alembic Archive into Houdini
Publish something with workfile instance enabled and validate file paths on

we should probably refactor and merge it right after https://github.com/ynput/ayon-core/pull/516 which should be now review priority.

Thanks - I'll work on these once #516 is merged.


[Feature Request] Automatically pin the webview page when started

In VS Code v1.46, tab pages can be pinned and the close button won't be showed. That's a great way to preserve the Netease Music webview page. Hope this feature will be introduced to prevent users from accidentally closing the page.

NeteaseMusic.PIN.auto setting is ready in v0.0.43


Delete/Update my post

AS A developer who writes about tech
I WANT a CMS-style blog site
SO THAT I can publish articles, blog posts, and my thoughts and opinions
GIVEN a CMS-style blog site
WHEN I click on one of my existing posts in the dashboard
THEN I am able to delete or update my post and taken back to an updated dashboard

Not Deleting post.


[AI Agent idea] Plot Twist AI

Description
An AI agent that generates plot twists for the stories that the user provides.
Additional Information
@AruSeito

/assign @viditagrawal56


Webeditor needs a version number

At present the webeditor does not have a version number within it.

The V2.0 relates to the HELM notation version and not the editor which is confusing.
Please update the number, so it is the current version number.

Fixed, and code checked in

Confirmed fixed.


Inconsistent empty lines in function arguments with fn_args_layout = "Tall"

When using the fn_args_layout configuration set to Tall, there seems to be an inconsistency in the number of empty lines added between the function arguments.
For example, consider the following code snippet:
fn print_sum_of<
    T: Add<Output = T> + Display + Copy + From<U>,
    U: Add<Output = U> + Display + Copy,
>(
    left: T,
    right: U,
) {
    let result = left + T::from(right);
    println!("{} + {} = {}", left, right, result);
}

Here, there is an extra empty line before the left parameter, and another empty line after the right parameter. This does not seem consistent with the Tall configuration.
I expected like:
fn print_sum_of<
    T: Add<Output = T> + Display + Copy + From<U>,
    U: Add<Output = U> + Display + Copy,
>(left: T, right: U) {
    let result = left + T::from(right);
    println!("{} + {} = {}", left, right, result);
}

Could we consider adjusting the rustfmt code to ensure consistent empty lines between function arguments with the fn_args_layout configuration set to Tall?
Thank you! 🦀

Thanks for reaching out!
I'm not sure what version of rustfmt you're using, but fn_args_layout has been renamed to fn_params_layout to better reflect that it controls the layout of parameters in function signatures. You can still use fn_args_layout for now, but just wanted to mention that it's been deprecated.
Tall will format everything on a single line when possible and if vertical formating is required, everything will be formatted vertically, so the current behavior is correct and I don't think we'll change that.
In order to mix both vertical and horizontal layouts you probably want to use the Compressed variant. Using Compressed on your input produces:
fn print_sum_of<
    T: Add<Output = T> + Display + Copy + From<U>,
    U: Add<Output = U> + Display + Copy,
>(
    left: T, right: U,
) {
    let result = left + T::from(right);
    println!("{} + {} = {}", left, right, result);
}

We may consider adding another variant for fn_params_layout in the future, but it's unlikely that the rustfmt team would work on this directly.


Update PubMed and ePMC linkouts nightly

We will do this at the end of each load.

I've changed the load script.  I check on Thursday morning to make sure it worked.

I'm having second thoughts about this.  I forgot that PubMed send an email acknowledgement after every upload.

I've changed the load script. I'll check on Thursday morning to make sure it worked.

It's working fine.  I just double checked by looking at a couple of publications that have come into Chado this week (PMID:35974206 and PMID:36509793).  Both of those have links to PomBase from the PubMed page and from the ePMC page.

I'm having second thoughts about this. I forgot that PubMed send an email acknowledgement after every upload.

As a compromise, I've changed the load script so that it only updates PubMed and ePMC weekly instead of daily.


CS8795 Partial method '' must have an implementation part because it has accessibility modifiers

Describe the bug
A clear and concise description of what the bug is.
Declaration code
[Mapper]
public partial class AddProductCommandMapper
{
    public partial AddProductCommand MapAddProduct(AddProduct addProduct);
}

Actual relevant generated code
No generated code
Expected relevant generated code
Any generated code
Environment (please complete the following information):

Mapperly Version: 3.6.0
Nullable reference types: enabled
.NET Version: .Net 8.0.400
Target Framework: .net8.0
Compiler Version: 4.11.0-3.24460.3 (5649376e)
C# Language Version: 12.0
IDE: Visual Studio Professional 17.11.4
OS: Windows 11

Additional context
I have read about this issue having been reported before and I tried the suggested solutions. I have tried downgrading the version to 3.5.1, 3.5.0 and 3.4.0. After changing the version each time, I tried restarting the IDE. I also tried updating the IDE to the latest version.
In the build output I did find this warning:
3>CSC : warning CS8785: Generator 'MapperGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'ArgumentException' with message 'An item with the same key has already been added.'.
I checked to see if there are any classes with the same names, with different namespaces, or anything like that but they're all different so I'm out of guesses as to what the key might be.

Does it work with the latest 4.* version of Mapperly?

Yes, it does appear that using pre-release version 4.0.0-next.4 does resolve this issue. When will that likely be promoted to a stable version?

We plan to release the stable version in the next 2 weeks.


GPU UTIL fluctuates wildly

Hi, thanks for your great work~
I have run the demo successfully, however, I found that the GPU utilization fluctuates between 0% and 90% rapidly. And only 1 GPU  working at the same time... This will significantly increase the total training time. (Now it takes approximately 8 hours on 4*v100)
I'm new to this, but based on my previous experience, this may be caused by the smaller batch size.  So I tried to increase the batch size and micro batch size from 128->256, 4->64 respectively. But it doesn't work...

Is this normal, or what can I do next?

I met the same problem. Have you solved it?


Stripping trailing slash from To and FromBase

The check within RedirectedURLHandler assumes no trailing slash, this changes ensures there are no trailing slashes.
This tripped me up when I first used the plugin, it would be nice to remove this potential stumbling block.

Any idea when this can be merged? Or can I get some feedback as to why it isn't being merged?

thanks, apologies for the delay


Added support for multiple styles

Makes it possible to assign multiple styles to nodes, edges, and subgraphs.
DotNode.Style = DotNodeStyle.Rounded | DotNodeStyle.Filled;
Related issue #25

LGTM, thanks again!


Add Spellcheck

Reason to implement spellcheck
Grafana Plugins are built with a Drone pipeline. A step was added to that pipeline, that datasources should comply with a "spellcheck". In order to not break builds with the OpenSearch datasource, spellchecks need to be added to the main and v1.2.x branch of OpenSearch.
Steps to implement spellcheck
Your pipelines will fail if it can't find cspell.config.json in your plugin repo. So add one as described in https://github.com/grafana/grafana-drone-extension/pull/189 or follow the following steps.

yarn add -D<EMAIL_ADDRESS>to install cspell local to your repo
Add "spellcheck": "cspell -c cspell.config.json \"**/*.{ts,tsx,js,go,md,mdx,yml,yaml,json,scss,css}\"" to package.json scripts section
echo '{ "ignorePaths": ["node_modules/**","dist/**"], "words":["grafana","datasource","datasources"]}' > cspell.config.json to create a cspell.config.json file
Run yarn spellcheck to see if any errors
If errors found, either fix them or add to ignorePaths or words section of the cspell.config.json

Sample PR to add spellcheck to your repo : https://github.com/grafana/athena-datasource/pull/185/files

Added to main and backported to v1.2.x


Demo on webpage does not work

Here is the url:
http://socketo.me/demo

Can you elaborate? I just tested and it's working for me.

Hi,
Sorry, I assumed it was a generalized problem.

I go to the demo page (Google chrome), enter my name
[image: Inline image 1]

As can be seen in the console, I get a "Unexpected response code: 301
[image: Inline image 2]

I hope that helps, I don't think I can give you more information. Keep in
mind that I managed to make the Ratchet package work on my local machine
with the test tutorial.
On a side note, I tried to do the Push integration with the zmq dll and all
and I get this error when I run the "push-server.php" on my local machine:

C:\wamp\www\ratchet>php bin/push-server.php
Warning: stream_select(): cannot represent a stream of type ZMQ_FD as a
select()able descriptor in C:\wamp\www\ratchet\vendor
\react\event-loop\StreamSelectLoop.php on line 255
From what I can tell, I need to have a 32 bit wamp server installed for it
to work.
Thank you,
Phil
On Fri, Sep 4, 2015 at 1:57 PM, Chris Boden<EMAIL_ADDRESS>wrote:

Can you elaborate? I just tested and it's working for me.
—
Reply to this email directly or view it on GitHub
https://github.com/ratchetphp/Ratchet/issues/356#issuecomment-137806182.

Probably that's some proxy messing up your HTTP requests… It depends on your internet connection.
I had the same problem in my own application while serving it without HTTPS.
Actually, HTTPS is imperative when working with WebSockets.

301 looks like you're behind an aggressive proxy that doesn't understand WebSockets is intercepting and caching the header response.


Google SDK unable to read JSON key

I am trying to execute gcloud commands using GCloud sdk plugin. But I am getting an error ERROR: (gcloud.auth.activate-service-account) Could not read json file. Can someone help me out on this? Thanks in advance.

Migrated from: https://issues.jenkins-ci.org/browse/JENKINS-46614

duplicate of #6


LE audio TMAP: want to discuss if we should add any abstraction layers for the different TMAP roles in tmap driver?

Is your enhancement proposal related to a problem? Please describe.
want to discuss if we should add any abstraction layers for the different TMAP roles in tmap driver?
each TMAP role requires some special settings and low layer profile procedures.

but there is no more implementation for these in tmap.c
https://github.com/zephyrproject-rtos/zephyr/blob/main/subsys/bluetooth/audio/tmap.c
we do these in demo apps:
https://github.com/zephyrproject-rtos/zephyr/pull/60288/commits/b926b294610a255eb81079a68764e3a486848e95#diff-cc104b7b2a9cb82bee5f3b6d56b8f3a54b4d2660731f7546c26bbd2eca310f5f
https://github.com/zephyrproject-rtos/zephyr/pull/56686/commits/f4f0f003a4e6cb3d88a7049a0c59625588eced32#diff-48dd3e98c744416052457825e6733baa10cfc8d0bfa0644aee65dddab49317c4
Describe the solution you'd like
add more apis to simplify the TMAP role usages.

Indeed. bt_tmap_register and bt_tmap_set_role should return an error if the supplied role is not supported by the device


Provide way to use select in MDC-based form-field

Hello folks, I hope that all going good! I need your help.
Thanks to @devversion 's suggest I have succeeded with my first test with MDC angular component.
So far, so good...
Nevertheless now I am crossing some problems, I would like use "mdc-form-field" with "mdc-input" and "mdc-select"... but "mdc-select" is not implement yet... so I used the normal material "select"... but angular say me that:
More than one component matched on this element.Make sure that only one component's selector can match a given element.Conflicting components: MatFormField,MatFormField
This because "select" import her "MatFormField"... is there a workaround for this?
Thanks in advance for your help!

The problem here is that the MatSelectModule always provides the MatFormFieldModule. This then conflicts with the form-field module from MDC as they use the same selectors. Ideally select would not provide the form-field module (though that will be breaking; and we do this for common convenience), or we'd temporarily expose an experimental select entry-point with a form-field independent select module (that would seem easiest for now).

MDC-based select exists now, closing this


Table cell alignement?

How do you align table cells?
Usually it works like this:
Left | Left | Center | Right
-----|:-----|:------:|------:
Left | Left | Center | Right
<|<|<>|>
Left | Left | Center | Right

Left
Left
Center
Right

Left
Left
Center
Right

<
<
<>
>

Left
Left
Center
Right

But mark/blackfriday(?) seems to not know about it.

The issue is:
blackfriday generates align="..." while confluence requires style="text-align: ...;".
I tried to create a pull request there.
I also did not yet figure out how to include my fork into my local version :( in order to check proper working.

This is super duper slick.

Hi @mrueg. Some time ago mark used kovetskiy/blackfriday.
This changed now to the underlying rusross/blackfriday.
But it seems the repo is dead.
Nevertheless I opened a new pull request there to fix the cell alignement in tables. If we want this to work correctly, we should think about going back to (a new) kovetskyi/blackfriday fork, or take my fork of it.

Also @mrueg: According to https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td the align-property in cells is deprecated. But that's what blackfriday creates.

I believe this got resolved. Feel free to reopen if this is still an issue.


updated version of visual studio,

added create configuration in solution configuration platform, added Project Dependencies in global section, added extensibilityGlobals, and extensibilityAddIns. Moreover, added end global sections as required.

updated version: VisualStudioVersion = 16.0.28701.123
added create configuration in solution configuration platform: Create |Any CPU = Create |Any CPU
added Project Dependencies in global section: GlobalSection(ProjectDependencies) = postSolution
added extensibilityGlobals: GlobalSection(ExtensibilityGlobals) = postSolution
extensibilityAddIns: GlobalSection(ExtensibilityAddIns) = postSolution
Moreover, added end global sections as required: EndGlobalSection


HLS 2017.1 issue when managing unconnected ports

The case here is the management of an unconnected DDR port defined as
#pragma HLS INTERFACE m_axi port=d_ddrmem bundle=card_mem0 offset=slave depth=512
With exactly the same code, i compiled it with both HLS release
In HLS 2016.4, the synthesis was generating errors + warnings but was implementing some quite complex logic.
Connecting this unconnected port to out logic was done without any issue.
In HLS 2017.4, the synthesis finds that the port is unconnected and assign the port to a 64 bits constant equal to 0.
Our wrapper that connects with the top hls hls_action defines the generic map as
C_M_AXI_CARD_MEM0_ADDR_WIDTH     : integer   := 33;
This means that the default value in hls_action which is defined as 64 will be overwritten by this value 33
and thus writing
m_axi_card_mem0_AWADDR <= ap_const_lv64_0;
drives to an error in HLS 2017.4 (no problem in HLS 2016.4)
Problem sent to Lisa on 05/22. Waiting for acknowledgment of the issue and defect number.
Circumvention is to use HLS 2016.4 or remove the unconnected port and set SDRAM_USED=FALSE

Problem not recreatable.


Setting initial picker value not working properly

setInitialCurrentValue(value: CGFloat) sets the value and the picker loads with that value selected, but then animates to 0 straight away.

And it happens because of this genius code here:
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, Int64(0.5 * CGFloat(NSEC_PER_SEC))), dispatch_get_main_queue()) {
            self.setInitialCurrentValue(0.0)
        }

Actually that was intentionally in our app. Moved current value initialization outside of control.


UI Remake in Flutter/Jetpack Compose

Hello, one of my friends introduced me to the k9 mail client and I'd like to contribute. Wouldn't it be a nice idea to have a remake of the UI in Flutter while keeping the business logic written in Java? Flutter is now stable, but maybe Jetpack Compose, which was inspired the Flutter, would be a better fit, though it's still in alpha. What do you think?

Flutter: no, thanks
Jetpack Compose: probably, at some point in the future
In many parts of K-9 Mail's code base "business logic" is rather tightly coupled to UI code. We'd welcome contributions to untangle this. But chances that an externally contributed UI rewrite will get merged are close to zero.
If you just want to experiment with one of these UI frameworks it's probably much easier to start a project from scratch.

Flutter: no, thanks
Jetpack Compose: probably, at some point in the future
In many parts of K-9 Mail's code base "business logic" is rather tightly coupled to UI code. We'd welcome contributions to untangle this. But chances that an externally contributed UI rewrite will get merged are close to zero.
If you just want to experiment with one of these UI frameworks it's probably much easier to start a project from scratch.

Thanks for your answer! I understand, but I have a question, obviously if you have the time to answer me:
Why no thanks to Flutter?

Why no thanks to Flutter?

Dart would be yet another language. We already have Java + Kotlin.
It's a non-JVM language so there's non-negligible costs associated with bridging the Dart and Java/Kotlin worlds.
Flutter doesn't seem to have much buy-in from Google's Android teams. I'm willing to bet (small amounts of money) that Flutter won't be around in a meaningful way 10 years from now.

Why no thanks to Flutter?

Dart would be yet another language. We already have Java + Kotlin.
It's a non-JVM language so there's non-negligible costs associated with bridging the Dart and Java/Kotlin worlds.
Flutter doesn't seem to have much buy-in from Google's Android teams. I'm willing to bet (small amounts of money) that Flutter won't be around in a meaningful way 10 years from now.

Linking Dart and Java/Kotlin is so easy, but yes, I do agree on the fact that placing such a huge bet on a new framework, that Google's Android team despises so much, is not such a great idea as of now


Trace+2cq perf implementation for Mnist

@vigneshkeerthivasanx , please update here the current status on this task.


Add support for more material design icons

SUMMARY:
These icons are added:

mdi:account-edit : https://icon-sets.iconify.design/mdi/account-edit/

mdi:account-edit-outline : https://icon-sets.iconify.design/mdi/account-edit-outline/

mdi:delete-off : https://icon-sets.iconify.design/mdi/delete-off/

mdi:delete-off-outline : https://icon-sets.iconify.design/mdi/delete-off-outline/

GITHUB ISSUE (Open Source Contributors)
JIRA TASK (Eightfold Employees Only):
CHANGE TYPE:

[ ] Bugfix Pull Request
[x] Feature Pull Request

TEST COVERAGE:

[ ] Tests for this change already exist
[ ] I have added unittests for this change

TEST PLAN:

LGTM


SSL Mode = disabled required for successful connection, still working on other installations with SSL off.

Description
I don't think this is a bug. It is an unexpected behavior that I can't find information on.
I use DBeaver to connect to a PostgreSQL database. I've put in usual connection string info on the Main tab of the Connection configuration dialog. I've never done anything on the SSL tab for the connection to work. It is currently working on a Linux machine and a Windows machine using Community Edition 22.0.0.
I've just been issued a new Windows laptop and installed Community Edition 22.1.4. When I tried to connect to the same database, I kept getting "SSL error: Connection reset". I can connect to the server from the same laptop on the same wireless network using psql. In DBeaver, I had to go to the SSL tab, check Use SSL, and set the SSL mode to "disabled". Then the connection worked.
Is this due to a change in DBeaver between 22.0.0 and 22.1.4, or is it more likely a change in my university's network security? Why would psql work
DBeaver Version
Community Edition 22.1.4
Operating System
Windows 10
Database and driver

Database name and version: PostgreSQL 10.15
JDBC org.postgresql:postgresql:RELEASE [42.2.25]

Steps to reproduce
No response
Additional context
No response

Hello @leehach,
This could have happened due to many different reasons. For example, the version of the Postgre driver has changed, the Postgres server settings have changed, or the DBeaver cryptography libraries have changed.
Could you please send us the log files? You can find instructions here: https://dbeaver.com/docs/wiki/Log-files/.

There have been no updates for a long time. If the issue is still actual for you - feel free to reopen it with additional info.

hi, i have the same issue. here is the logs. @iraidaa
dbeaver-debug.log

It's still happening on Version <IP_ADDRESS>404211624, @leehach workaround worked.


Thanks for your interest

Hi I'm Sang-Hoon Lee. I came across your project page
Thanks for your interest in our paper, HierSpeech
I found out some different points with our implementation.
1. Discriminator

Following VITS, we use the MSD (only the first scale of it) with MPD.
In addition, we recommend replacing the MSD with MS-STFTD of EnCodec. This will improve the audio quality. (MPD + MS-STFTD)

2. External aligner

When using an external aligner (not using MAS), I recommend using the additional frame prior network used in VISinger or Period VITS. Although using guassian upsampler may reduce the mismatch problem between two distributions, the frame-level prior network simply solve it.

3. SSL Model

In our case, the representation of XLS-R is better than that of WavLM, specifically in other languages.

Thanks again
😊

Hi, Sang-hoon.
Thanks for the great paper and the advices. It's been a lot of studying. I will apply what you said soon!
Heejo

@sh-lee-prml Expect your offical code!

Hello, Sang-hoon.
Your advice has been applied to this repository, except for #2. The reason for excluding #2 is that the repository now uses MAS. If you have any further opinions in the future, please let me know. Thank you once again for your advice!
Heejo


WIP: New rustfmt

This is a mechanical change applying cargo fmt --all to the repo with a new rustfmt.toml here: https://github.com/lurk-lang/lurk-rs/commit/a0a946aa0e40d4fd1d174fc457d16aa6d96ca34c
I've documented my reasoning for each setting, and I think it should be mostly uncontroversial, with the exception of:
https://github.com/lurk-lang/lurk-rs/blob/a0a946aa0e40d4fd1d174fc457d16aa6d96ca34c/rustfmt.toml#L16

Converting to draft to make WIP status visible in PR list.

Do we want to move on with this? I've become fond of indentations of length 4 😅

Superseded by #604


PHP7 Compatibility Fix

When trying to save the payment settings in Magento with PHP7, we get a PHP error because identical parameter names are no longer supported.
I've tried this fix locally and saw no problems, and I'm not sure if this was a typo or intentional.

Any Update on this Still on Magento <IP_ADDRESS> and not working on PHP7?
Come on!!  is almost 2018


Support more editors with ace

https://github.com/ajaxorg/ace
Which is what rust-playground uses, using that can probably allow more keybindings like vim or emacs keys.

This is quite a bit of work, since it would require writing an extra operational transformation interface and handling Ace's event listeners + turning them into text operations. It would also increase the size of the JavaScript bundle we need to load significantly, and not all of the same languages would still be supported.
You're welcome to make a fork though, or use something like Firepad. :)


uncommon pytest arguments

When trying to run the tests with py-test-3.0.7 installed, I see
usage: setup.py [options] [file_or_dir] [file_or_dir] [...]
setup.py: error: unrecognized arguments: --cov=todoman --cov-report=term-missing
  inifile: .../todoman-3.0.1/setup.cfg
  rootdir: .../todoman-3.0.1
*** Error code 2

Removing the line from setup.cfg makes the tests work for me.

You need to install coversge. Or rather, you need to have requirements-dev installed for this sort of thing.

Thanks, I installed all the requirements mentioned there and the tests ran through.


Solving issue #7307, 'use strict' context in compatibility.js

Added context to compatibility.js to have 'use strict' directive in our context only.
Solving "'Use strict' in pdfjs context only, compatibility.js #7307"

Thank you for the patch


[potential error report] Minimal example of alpa

head import:
import ray
import numpy as np
from ray import tune
import alpa

ray.init()
alpa.init()

Example 1:
@alpa.parallelize
def func(a):
    return a

func(1.0)

Results
2022-06-14 03:29:57,283 INFO services.py:1477 -- View the Ray dashboard at http://<IP_ADDRESS>:8266
Traceback (most recent call last):
  File "issue.py", line 16, in <module>
    func(1.0)
  File "/home/ubuntu/anaconda3/envs/tensorflow2_p38/lib/python3.8/site-packages/alpa/api.py", line 103, in __call__
    out = executable.launch_on_driver(*args_flat)
  File "/home/ubuntu/anaconda3/envs/tensorflow2_p38/lib/python3.8/site-packages/alpa/mesh_executable.py", line 310, in launch_on_driver
    input_uuids = (get_uuid_np_array(input_bufs).reshape(
  File "/home/ubuntu/anaconda3/envs/tensorflow2_p38/lib/python3.8/site-packages/alpa/mesh_executable.py", line 216, in get_uuid_np_array
    shape = (len(array), len(array[0]))
IndexError: list index out of range
Exception ignored in: <function MeshDriverExecutable.__del__ at 0x7f44fb701040>
Traceback (most recent call last):
  File "/home/ubuntu/anaconda3/envs/tensorflow2_p38/lib/python3.8/site-packages/alpa/mesh_executable.py", line 88, in __del__
  File "/home/ubuntu/anaconda3/envs/tensorflow2_p38/lib/python3.8/site-packages/alpa/device_mesh.py", line 1318, in delete_remote_executable
TypeError: 'NoneType' object is not callable

Example 2:

import jax
from typing import Any, Callable, Sequence, Optional
from jax import lax, random, numpy as jnp
import flax
from flax.core import freeze, unfreeze
from flax import linen as nn

model = nn.Dense(features=5)

key1, key2 = random.split(random.PRNGKey(0))
x = random.normal(key1, (10,))  # Dummy input
params = model.init(key2, x)  # Initialization call

@alpa.parallelize
def jax_func(params, x):
    return model.apply(params, x)

print(jax_func(params, x))

Results:
2022-06-14 03:32:21,397 INFO services.py:1477 -- View the Ray dashboard at http://<IP_ADDRESS>:8266
Traceback (most recent call last):
  File "issue.py", line 16, in <module>
    func(1.0)
  File "/home/ubuntu/anaconda3/envs/tensorflow2_p38/lib/python3.8/site-packages/alpa/api.py", line 103, in __call__
    out = executable.launch_on_driver(*args_flat)
  File "/home/ubuntu/anaconda3/envs/tensorflow2_p38/lib/python3.8/site-packages/alpa/mesh_executable.py", line 310, in launch_on_driver
    input_uuids = (get_uuid_np_array(input_bufs).reshape(
  File "/home/ubuntu/anaconda3/envs/tensorflow2_p38/lib/python3.8/site-packages/alpa/mesh_executable.py", line 216, in get_uuid_np_array
    shape = (len(array), len(array[0]))
IndexError: list index out of range
Exception ignored in: <function MeshDriverExecutable.__del__ at 0x7fb910dde040>
Traceback (most recent call last):
  File "/home/ubuntu/anaconda3/envs/tensorflow2_p38/lib/python3.8/site-packages/alpa/mesh_executable.py", line 88, in __del__
  File "/home/ubuntu/anaconda3/envs/tensorflow2_p38/lib/python3.8/site-packages/alpa/device_mesh.py", line 1318, in delete_remote_executable
TypeError: 'NoneType' object is not callable

Example 3:
import alpa
import numpy as np
import ray
from ray import tune

ray.init()
# alpa.init("ray")
alpa.init()

from typing import Any, Callable, Optional, Sequence

import flax
import jax
from flax import linen as nn
from flax.core import freeze, unfreeze
from jax import lax
from jax import numpy as jnp
from jax import random

model = nn.Dense(features=5)

key1, key2 = random.split(random.PRNGKey(0))
x = random.normal(key1, (10,2))  # Dummy input
params = model.init(key2, x)  # Initialization call

import alpa
import optax
from flax.training import train_state

cluster = alpa.get_global_cluster()
print("cpu", cluster.num_cpus)
print("gpu", cluster.num_devices)

@alpa.parallelize
def train_step(state, x):
    def loss_fn(params):
        loss = model.apply(params, x)
        return jax.numpy.sum(loss)

    grad_fn = jax.value_and_grad(loss_fn)

    loss, grads = grad_fn(state.params)
    state = state.apply_gradients(grads=grads)
    return state, loss

tx = optax.sgd(0.1)
state = train_state.TrainState.create(apply_fn=model.apply, params=params, tx=tx)
new_state, loss = train_step(state, x)

print(loss)

Result
2022-06-14 03:33:24,242 INFO services.py:1477 -- View the Ray dashboard at http://<IP_ADDRESS>:8266
/home/ubuntu/anaconda3/envs/tensorflow2_p38/lib/python3.8/site-packages/jax/_src/numpy/lax_numpy.py:1866: UserWarning: Explicitly requested dtype <class 'numpy.float64'> requested in asarray is not available, and will be truncated to dtype float32. To enable more dtypes, set the jax_enable_x64 configuration option or the JAX_ENABLE_X64 shell environment variable. See https://github.com/google/jax#current-gotchas for more.
  lax_internal._check_user_dtype_supported(dtype, "asarray")
cpu 4
gpu 1
-10.365741
Exception ignored in: <function MeshDriverExecutable.__del__ at 0x7fa6bf6f6040>
Traceback (most recent call last):
  File "/home/ubuntu/anaconda3/envs/tensorflow2_p38/lib/python3.8/site-packages/alpa/mesh_executable.py", line 88, in __del__
  File "/home/ubuntu/anaconda3/envs/tensorflow2_p38/lib/python3.8/site-packages/alpa/device_mesh.py", line 1318, in delete_remote_executable
TypeError: 'NoneType' object is not callable

(able to get the loss, but report the error).

By the way, i am able to run the test example of https://github.com/alpa-projects/alpa/tree/main/examples/mnist without any error, and I wonder if this error is only me. Thanks! Or it seems the states for the NN will eventually deleted and does not support the parallelism of the common python function.

All of them are fixed in https://github.com/alpa-projects/alpa

thanks！
On Wed, Jun 15, 2022, 5:27 AM Lianmin Zheng @.***>
wrote:

Closed #509 https://github.com/alpa-projects/alpa/issues/509 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/alpa-projects/alpa/issues/509#event-6812522920, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AE7QK4IKQQ2BIYKSZHBRCB3VPHDZZANCNFSM5YWGC7PQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Add VensStockPartRevamp-CTTPatch

Before this is merged...
@NathanKell would you like to get in touch with the author about integrating this into VSPR itself?

Alas I don't have any special means of contact, I just post on the repo like anyone else. :]

Oh.. I pinged you because you're listed as the author in our metadata.. but that might be an error in the way we scrape github for authors, it seems to only grab the user who issued the release.

I do have collab rights on the repo, so I can push MM fixes and in extremis make releases.

LGTM, Merging now


Any way to do a mix mode project?

Any way to do a project that is mixed mode MG and Cocos2dx? It may make it easier to work through gaps if users didn't have to download motion game source first. Basically give them a way to prototype new api's quickly in C, clean it up in and then send a pull request.

I don't understand the "download motion game source first" part: if we do a project that can include both MG and pure cocos2d-x (C++), it will need the motion game code around?
In any case, users of motion-game should use the binary version (gem) and not the source code. So, people hacking MG will definitely want to have the source around, I think?

It would be interesting if I could access ad hoc C++ methods defined in c files from Ruby. Not sure how realistic that is.
Here is an example: TODO (working on a scenario)


How to create new sip user?

I am not sure whether this is a good place to ask questions about this repository.
I want to ask that how to create new sip user using RubyAMI. I read the document but it seems it doesn't mention. I know we can modify sip.conf and reload Asterisk to do it in terminal.
A new sip user like that in sip.conf
[1001]
type=friend
host=dynamic
secret=1001secret
context=demo

As far as I know, it's not possible to add a peer to Asterisk via AMI. If you want to dynamically manage peers, look into Asterisk Realtime.

Actually, it is possible to create SIP peers via AMI.  In fact, almost 100% of Asterisk's configuration can be managed using Asterisk's generic UpdateConfig AMI action.  The manager action might look something like this:
Action: UpdateConfig
ActionID: abc123
SrcFilename: sip.conf
DstFilename: sip.conf
Reload: true
Action-000000: NewCat
Cat-000000: 1001
Var-000000: type
Value-000000: friend
Var-000001: host
Value-000001: dynamic
Var-000002: secret
Value-000002: 1001secret
Var-000003: context
Value-000003: demo

Note that I'm not entirely clear whether or not you should increment the 00000* numbers, or if they have to match for a single NewCat.  The Asterisk docs aren't entirely clear.
However, Adhearsion does do something similar to this when we boot, to ensure the transfer context is present. However it uses a different mechanism: https://github.com/adhearsion/punchblock/blob/develop/lib/punchblock/translator/asterisk.rb#L161


Custom Component Nested Object

I've checked your documentation for Custom Templates https://formly.dev/guide/custom-formly-field
However I have no idea how to create more complex structures...
Lets say that you want to render custom component with couple inputs, maybe some map with location etc and you want to render it all together (not split in form declaration)
So how I can pass model information in custom template. Can you demonstrate for example here:
https://stackblitz.com/edit/ngx-formly-custom-template?file=app%2Fformly-field-input.ts
Same example but with two inputs, where you will hardcode keys in model. I've made example from your code:
https://stackblitz.com/edit/ngx-formly-custom-template-atitse
As I said, I know that example I provided can be easily done with 2 fields in schema, but thats not the purpose. I want to know how I can perform 2-way binding between dynamic form and my custom component. So I can feed it with complex object and render it with custom template.
@aitboudad

For example I thought that I can do:
<input type="input" [formControl]="formControl" [(ngModel)]="model[key].value1">
   <input type="input" [formControl]="formControl" [(ngModel)]="model[key].value2">

And Like that specify "nested keys"

We rely on Angular reactive form so the 2-way binding is not supported and the model value inside custom field type should be considered as read-only.
Passing [formControl]="formControl" would take care of model changes and if you want to update the model value manually use formControl.setValue(your_value).
To handle nested keys there are some Formly ways you may check first:

Pass a nested key throughout the field type using dot notation:

{
  key: 'address.city'
}

use fieldGroup: https://formly.dev/examples/other/nested-formly-forms
use fieldArray: https://formly.dev/examples/advanced/repeating-section

@aitboudad thank you for reply, however thats not what I asked. 2 & 3 will basically create two separate input and you will control key with 1.
My question was how to pass complex object (with nested keys) and process them on template level.

It could be probably achieved using custom type...like you use 'object' type in json schema
import { Component } from '@angular/core';
import { FieldType } from '@ngx-formly/core';
@Component({
  selector: 'formly-object-type',
  template: `

      <legend *ngIf="to.label">{{ to.label }}</legend>

{{ to.description }}

        <formly-validation-message [field]="field"></formly-validation-message>

      <formly-field *ngFor="let f of field.fieldGroup" [field]="f"></formly-field>

  `,
})
export class ObjectTypeComponent extends FieldType {
  defaultOptions = {
    defaultValue: {},
  };
}

However when I try to create new type, for example: 'Pricing' which has completely same source code than your object class. It renders empty panel. Which is probably because you've hardcoded types and their behaviour here, instead of specifying what is possible for each type (ie passing properties as field groups)
https://github.com/ngx-formly/ngx-formly/blob/v5/src/core/json-schema/src/formly-json-schema.service.ts

for complex object (with nested keys) I would use the fieldGroup:
{
  key: 'price',
  fieldGroup: [
    { type: 'input', key: 'value' },
    { type: 'select', key: 'currency', ... },
  ]
}

The default type for group is formly-group and to override it pass type prop:
{
  key: 'price',
+ type: 'price',
}

inside group type either use formly-field to render each type or define your inputs manually:

<formly-field *ngFor="let f of field.fieldGroup" [field]="f"></formly-field>

<input type="input" [formControl]="field.fieldGroup[0].formControl">
<input type="input" [formControl]="field.fieldGroup[1].formControl">

Are you sure that this works in json schema? As I said I tried that, but "field.fieldGroup" is not available for custom types. Its populated in "object", but when I create price.type.ts and define it in module, then that property is not being passed.
As I already mentioned, I suspect that because of hardcoding here:
https://github.com/ngx-formly/ngx-formly/blob/v5/src/core/json-schema/src/formly-json-schema.service.ts#L116

you can adjust the generated schema using widget or map option, see https://github.com/ngx-formly/ngx-formly/issues/1993#issuecomment-568180138

Ok let me try ;) THX for help

Great that worked. For anyone wants to do same thing:
Create custom type, register in module and pass it in scheme.
Then call 'map':
this.fields = [this.formlyJsonschema.toFieldConfig(this.schema, { map: this.mapFields })];
In my case, type is called 'pricing', so I temporary call it object -> process it as object and return back with 'pricing' type as field.
mapFields(mappedField: FormlyFieldConfig, mapSource: JSONSchema7): FormlyFieldConfig {
   console.log(mappedField);
   console.log(mapSource);
   if (mapSource.type === 'pricing') {
     mapSource.type = 'object';
     const formlyJsonschema = new FormlyJsonschema();
     mappedField = formlyJsonschema.toFieldConfig(mapSource);
     mappedField.type = 'pricing';
     return mappedField;
   }
   return mappedField;
 }

Now I can have custom components in my type and full access to model and fieldGroup data.


[Hexagon] Add HVX quant conv2d implementation

This patch adds a new HVX intrinsic implementation to perform quantized convolution.
It assumes that the qnn.conv2d relay op is not
canonicalized and all the quantization parameters (scales and zero points) are passed into the intrinsic implementation.
It also uses the fixed point computation function defined in hexagon topi utils to compute a fixed point (combined) scale which is used to perform the final requantization before returning the quantized output.

@csullivan @cconvey Gentle ping for a review. This is an initial quant implementation of conv2d, similar to the fp16 version that I wrote earlier.

@tvm-bot rerun

@driazati @mehrdadh The CI is stuck. Could you please let me know if there's any way to restart the CI. Would pining the tvm-bot work?

@driazati @mehrdadh The CI is stuck. Could you please let me know if there's any way to restart the CI. Would pining the tvm-bot work?

CI is finished now, so it should be good. I've been seeing some similar queueing issues (probably Jenkins wasn't able to spin up a machine to run the jobs for some reason), I opened #13312 and will be looking into this today

@driazati @mehrdadh The CI is stuck. Could you please let me know if there's any way to restart the CI. Would pining the tvm-bot work?

CI is finished now, so it should be good. I've been seeing some similar queueing issues (probably Jenkins wasn't able to spin up a machine to run the jobs for some reason), I opened #13312 and will be looking into this today

@driazati @mehrdadh The CI is stuck. Could you please let me know if there's any way to restart the CI. Would pining the tvm-bot work?

CI is finished now, so it should be good. I've been seeing some similar queueing issues (probably Jenkins wasn't able to spin up a machine to run the jobs for some reason), I opened #13312 and will be looking into this today

Great, thanks a lot for the help.

@csullivan @cconvey When you get a chance, could you review this PR. This is a quantized conv2d similar to the fp16 conv2d that I wrote earlier.

@csullivan @cconvey Could you please help in reviewing this patch when you get a chance, thanks.

@csullivan @cconvey Could you please review this PR or suggest someone who could be the right person to review it. Thanks.


e2e: add testcases for downstream encryption annotations

Why do you need it?
annotations:

nginx.ingress.kubernetes.io/ssl-cipher
nginx.ingress.kubernetes.io/auth-tls-secret

How could it be?
Add testcases for encryption annotations.
Other related information

https://github.com/alibaba/higress/tree/main/test
https://github.com/alibaba/higress/issues/190

please assign it to me :) ❤


Diff tool for translators

in lieu of a translation system set up there needs to be an easier way for translators to find which strings need to be added/removed. some tool to split diffs off from the main translation files and later recombine them after the translator is done editing
also the file context should be included and sorted in the translation files so that translators don't have to deal with the sporadic ordering formatjs outputs

basic thing is working and tracking further improvements in #69
played around with better ordering using file contexts but I think it'd be more effort than it's worth.


Update list domain CLI command to list deprecated domains

What changed?
Update list domain CLI command to list deprecated domains

Why?
Provide a way to list deprecated domains

How did you test it?

Potential risks

Coverage increased (+0.06%) to 66.771% when pulling 04123d50fda26cf0d08575d90690e6d0d0c5efc7 on Shaddoll:list-domain into f2f10d4dbb4cad55b3444ea9dff1bae81008e4bb on uber:master.


Add DaycareIQ.com

Hi there!
DaycareIQ is an Ember application we created to make finding child care super simple for parents, and allowing facility operators to better track data on children under their care.
Check it out here: https://www.daycareiq.com (for parents) or https://admin.daycareiq.com (for child care facility operators).

@brandonparsons good stuff, thanks!


Script tag is getting issue inside Body tag

Description

I have added the example script code using script tag inside the Body tag.

I can't able to edit the content manually, It is rendering from md file. But it is showing the jQuery $ undefined error.

Can you anyone please help me for solve this.

Screenshot
Console Error

Inside the Body Tag

Where is this example code from? and did you install Gridsome via npm? https://gridsome.org/docs/#1-install-gridsome-cli-tool


Ftrack: Task status during publishing

Changelog Description
Added option to change task status during publishing for 3 possible cases: "sending to farm", "local integration" and "on farm integration".
Additional info
First of all was removed hardcoded ftrack status change for celaction which was then applied in Integrate Ftrack Api. That was replaced by using default profile for celaction in IntegrateFtrackFarmStatus and logic of changing task status in Integrate Ftrack Api was removed.
Whole logic of task statuses was separated into 5 plugins which are in one file. First is collector which collects available task statuse for future usage and prepares data where are stored statuses that will be set on certain tasks. This way we make sure that task status change can happen only once during publishing -> First set value for task id will be considered as target status, if is set to None the status change won't happen.
Important are 3 plugins which collect status name in certain situations and in certain order. First is already existing plugin which collects status name for instances which will be sent to farm, next are instances that are integrated locally and finally instances that are integrated on farm. The final plugin will set all collected tasks and statuses and will promote the changes. The final plugin can be processed before, or after Integrate Ftrack Api, that is because of possible clashes with status automations running on event server -> this won't avoid them 100%, but gives a small option to reduce possible issues.
Notes
I'm happy to hear ideas and suggestions about changes. I couldn't figure out how to keep it in single plugin because of filtering, or because of complexity of the settings.
Testing notes:
Celaction changes
Submit celaction to deadline should change status in ftrack. Make sure you're using new default values for project_settings/ftrack/publish/IntegrateFtrackFarmStatus.
Task status changes

To change task status of instances that will be sent to farm add profile to project_settings/ftrack/publish/IntegrateFtrackFarmStatus.
To change task status of instances that are integrated locally add profile to project_settings/ftrack/publish/ftrack_task_status_local_publish
To change task status of instances that are integrated on farm add profile to project_settings/ftrack/publish/ftrack_task_status_on_farm_publish

Each profile can define standard profile filtering and result is status name. Make sure the status name you fill can be actually set on the task. The easiest approach to test, is to set the same profile filters for each on the setting but define different status name for example:

to farm: "Rendering"
locally: "Ready to review"
on farm: "Rendered"
Then publish localy -> validate status change (Ready to review) -> publish through farm -> validate status change (Rendering) -> wait for publish farm job to finish -> validate status change (Rebdered).

As a bonus it is possible to validate behavior when combined with ftrack event server status automations.

Task linked: OP-5481 Statuses in Ftrack


Add opensearch exporter

Description
Adding OpenSearch exporter to the contrib manifest
Related issue:
#390
Additional Reference

https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/24540
https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/24668

Hi @dmitryax - would you be able to review?
Thanks again

Thanks 🙏


Could not connect to DFU interface

Hi, I was trying to upgrade the firmware but continuously face the following error. I tried installing drivers but nothing is working..

getting same issue here, using Jumper T-Pro

Use zadig to install or reinstall winusb for the device.

after further checks, on about page, it shows my edgetx version to be 2.9.0-selfbuild (my first time getting a radio and just tinkering to update it according to guide, probably the seller flashed latest unstable version?), does this mean this issue is related to this latest commit? EdgeTX/edgetx@f3a08b9
I didn't realised for a while that 2.9.0 is bigger than 2.8.4 lol

this worked for me. thanks for giving the link for the driver install 👍 I knew it was a driver problem couldn't find a legit source. Maybe this can be added somewhere in a wiki for future reference?

Same issue here. I'm have a brand new RadioMaster Zorro CC2500. It came with EdgeTX 2.7.0 (2bdd4974) pre-installed. Now I'm not able to upgrade it; following instructions. I'm using Google Chrome 115.0.5790.114 (x86_64) on MacOS 12.6.7


What is the URL?

As per the README distribute website.. but there is no indication of what the URL to distribute is.

http://ninjabunny.github.io/KodeNames/


[pyright updated to 1.1.347] Update Version

Auto-generated by create-pull-request

@RobertCraigie, I don't think I've said this recently... I really appreciate your ongoing maintenance of this project. I hope it's not too much of a burden for you.

Thanks very much @erictraut! I really appreciate it :)
Thankfully there is very little maintenance burden, I spend the majority of my time just clicking merge on auto-generated PRs 😅


It doesn't support Mac

Seems Excel for Mac version doens't support your "pyxll install" command, can you fix it? is it only for Windows or there is the problem in my setting?

PyXLL requires Excel for Windows. To use it on a mac you would need to run a Windows VM, eg VirtualBox or Parallels.
Please see the system requirements here https://support.pyxll.com/hc/en-gb/articles/360036821433-What-are-the-System-Requirements-of-PyXLL-.


RadioButtonGroup - destroyButtons doesn't clear "selectedIndex"

OpenUI5 version: 1.120.11
Browser/version (+device/version): Chrome 126.0.6478.183 (Official Build) (arm64), Mac
Any other tested browsers/devices(OK/FAIL): FAIL
URL (minimal example if possible): https://github.com/SAP/openui5/blob/5d5385f3437f98fb566f9551b9cd05c169ec14f8/src/sap.m/src/sap/m/RadioButtonGroup.js#L553
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:

RadioButtonGroup.setSelectedIndex(0);
RadioButtonGroup.destroyButtons()
RadioButtonGroup.getSelectedIndex() === 0;

You can call RadioButtonGroup.getSelectedButton(), if you add a NEW button, and its "selected" property will be "false", this is because the selected button is taken from the aggregation Buttons, using the selected index.
I would also adjust the documentation:

E.g. when there is no selected button, just return "null" instead of "undefined", because this is clearer. "undefined" means, that we couldn't determine a value (the documentation doesn't say this, actually), and null explicitly tells us that nothing has been selected.
What is the expected result?
-1
What happens instead?
When buttons are destroyed, the selected index is still 0.
Any other information? (attach screenshot if possible)
I have attached the source code (9 years old), I see that the selected index is not cleared.

Hello @Vest,
Thank you for sharing this finding.
I've created an internal incident DINC0218190.
The status of the issue will be updated here in GitHub.
Regards,
Konstantin Gogov
SAPUI5 GItHub Dispatche

Thanks @kgogov,
please try to fix it in 1.120, because we use it. I hope the fix will not be that complicated, because the code that I found is ~9 years old :)

Hi @Vest,
The "selectedIndex" is a "data" property that should only be modified through "user interaction." In your code, when you delete the buttons, you can also update the selected index.
This issue is discussed further here:
https://github.com/SAP/openui5/issues/3102
Best,
Teo

Hello Teo (@TeodorTaushanov),
I think, it was a strange decision, and let me explain, why:

the property selectedIndex has the following description: Determines the index of the selected/checked RadioButton. Default is 0. If no radio button is selected, the selectedIndex property will return -1.
This means that the index HAS a value, when any RadioButton is selected. In my example, after the buttons are destroyed, no buttons exist, and thus returning "0" make this statement invalid. There are no buttons in the group, how can you tell the user that the first button is selected.
Based on this property, the "selectedButton" gives the code a wrong result. You can destroy buttons, create new buttons, visually they will not be selected, but the method getSelectedButton() will give me the previously selected button, when its "selected" property will be false:

The screenshot shows that the button exist, it isn't selected but RBG returns it, and the selected index will be 0.
3. The issue #3102 uses the property selectedIndex in a strange way: the user bound the bi-directional property to the model, changes the UI and then he wonders, why this property was modified. This is because the binding was "two-way". We can have more esoteric situations such as dynamic RBG with "sorting/filtering" functionality, and then be surprised that when we change the button's collection, the selected index stays the same. I'd better ask, why we don't have "selectedKey" field, and use the selectedIndex instead.
4. If you check Mozilla's example from MDN (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio#additional_attributes - just scroll up a bit), you will see that when none of radio buttons are selected, the "POST" event doesn't send anything to the server. But from the issue that you mentioned, the code MUST send 0. Why?!
I know how to repair my situation, it isn't a big deal, but I doubt that your decision based on one user's complain, is valid. You can verify yourself:
const rbg = new sap.m.RadioButtonGroup({
  selectedIndex: 0,
  buttons: [
    new sap.m.RadioButton(),
    new sap.m.RadioButton()
  ]
});
rbg.placeAt("content");
rbg.destroyButtons();
rbg.setSelectedIndex(1);
alert(rbg.getSelectedIndex());

my code selects the first button, destroys them, sets the index and then I see that the "second" (index === 1) button is selected. The second out of zero buttons.
Is it the expected & documented behavior (I am not talking about the UI part, when the button is selected, but visually not).

I'd add that if you don't change this behavior, this is how the API behaves, when buttons are destroyed, new ones are added, and the JS code does this: rbg.getSelectedButton().getSelected() === false. In other words, the selected button doesn't have the "selected" state.
Isn't this funny?!


Replace suite#show preview image on doc site

The TA docs are pretty outdated, this has started to cause some issues recently with customers wondering why their product doesn't look like the docs. https://3.basecamp.com/3453178/buckets/20365997/card_tables/cards/6803183541
I did a quick scan of bits that referenced features that have been completely removed and updated them. However I do think this needs an full check/rewrite at some point

Are you able to merge this now @meghan-kradolfer ?

Are you able to merge this now @meghan-kradolfer ?

Just waiting for a review from @mbelton-buildkite


WIP: Testing seedphrase work with 1password

below code doesn't work

What are you thoughts about how this could work?

This is not working as expected on www2.winkdating.app
I can copy the secret but it does not trigger 1password


Added Drag and Drop support to IFS Browser

Changes
This PR enables drag and drop support in the IFS browser and multiple selection (using ctrl + click or shift + click)
Drag and drop from outside VSCode inside the IFS Browser
Dragging files/folders from an external explorer to the IFS browser will upload these files/folders. If the users drop their selection on a folder, that folder will be the target for the upload. If they drop on a file, the file's parent folder will be the target.

Drag and drop inside the IFS Browser
Dragging one or more items from the IFS browser and dropping them in it will copy or move them depending on a new setting:

ask: a modal dialog will appear to ask the user if they want to move or copy their selection
move: the selection will be moved to the drop target
copy: the selection will be copied to the drop target

Multi-selection actions
Most of the actions from the right-click menu in the IFS browser will be disabled, save for the Delete object action that now allows for deleting multiple items at once.
@chrjorgensen : I'll once again require your expertise for translating a few new sentences (+ one that was slightly changed).
Resolves https://github.com/codefori/vscode-ibmi/issues/1725 by adding a progress when uploading files.
Checklist

[x] have tested my change

@sebjulliand Whoa! Can't wait to test this one!! 😍

@sebjulliand Awesome - I've been wanting this for so long! 😍
I gave it a spin, and it works as expected - of course! 😉
Some thoughts from my side:

I think it should work like the built-in file explorer as much as possible. In the file explorer the default is to move the items, and when pressing Ctrl the operation is a copy. Can this be done?
In the file explorer there's a confirmation dialog before the move/copy operation. Maybe the ask option should be permanent?
The file explorer shows the number of selected items at the cursor. Can we do this?
Now the user (me) can upload files by dragging into the IFS browser view, he/she (I) would expect to be able to do the opposite - downloading by dragging out of the IFS browser view. Can this be done?

As always, don't give me anything, I just want more! 🤣
I translated the new texts into Danish - and added checking for protected directories, including changing and translating the message text. Pardon my French! 😉

Thanks @chrjorgensen, goods questions!

Some thoughts from my side:
* I think it should work like the built-in file explorer as much as possible. In the file explorer the default is to move the items, and when pressing `Ctrl` the operation is a copy. Can this be done?

The drag and drop API doesn't allow this. I tried to find a way to mimic this but didn't find any.

* In the file explorer there's a confirmation dialog before the move/copy operation. Maybe the `ask` option should be permanent and the dialog changed into this?

I don't have that confirmation. Could it be a settings too? If I drag and drop files around in the file explorer, it does it right away.

* The file explorer shows the number of selected items at the cursor. Can we do this?

It already does!

* Now the user (me) can upload files by dragging into the IFS browser view, he/she (I) would expect to be able to do the opposite - downloading by dragging out of the IFS browser view. Can this be done?

I failed to find a way to do this as well, and god knows I tried 😅 If it's possible, I didn't find how yet (maybe with a specific mime type?). I'll try harder...

@sebjulliand

The drag and drop API doesn't allow this. I tried to find a way to mimic this but didn't find any.

Okay, just a wish that may come true later.. 😃

I don't have that confirmation. Could it be a settings too? If I drag and drop files around in the file explorer, it does it right away.

You have probably checked this one to not be disturbed! 😆

It already does!

Ah, sorry - only had one file selected when I checked for this. 👍

I failed to find a way to do this as well, and god knows I tried 😅 If it's possible, I didn't find how yet (maybe with a specific mime type?). I'll try harder...

Well, this is not a show-stopper, just a nice-to-have... 😃

@sebjulliand Did you know you can drag a file into an open editor? Then it copies the link into the text:

Not a problem, though...

Thanks @chrjorgensen for your review!
I completely messed up my rebase and had to clean thing up and force a clean branch but here we are.
Here is what's been done, based on your feedback:

Dragging a folder into itself will now do nothing
After a successful move operation, the target folder gets focused
Dragging files into the editor area will open them

@sebjulliand (Rebase and) merge when you're ready! :1st_place_medal:

You're the best @chrjorgensen, thank you for your review!
I'm quite happy with the result too! Let's merge 😁


Please update the readme file in Notebook Renderers extension

Please update the readme file and put something, anything, that shows how this extension can be used.
Perhaps you can point to a very simply jupiter network file on the web that one can open to show how this works.
Something that will work with "Visual Studio Code on Web" as used in github

Things to update readme with

List mime types
Document what this extension does (selecting outputs types, etc)
Why do users need this extension
Create sample notebook & provide a link to this on readme/wiki or the like so users can open this in vs code web

Done