Further speed up computing Christoffel symbol for Kerr metric.

Fixes # 119

Hi @raphaelreyna,
I couldn't see any discrepancies in your approach, but still they are not passing the tests.
I don't know why. So I have implemented the desired changes on your line of thought, and made a few improvements myself, like not reassigning chl[i][k][l] = chl[i][l][k] = val when k==l. So I've made a little more rearrangements.
nonzero_christoffels_list = [
    (0, 0, 1),
    (0, 0, 2),
    (0, 1, 3),
    (0, 2, 3),
    (0, 1, 0),
    (0, 2, 0),
    (0, 3, 1),
    (0, 3, 2),
    (1, 0, 0),
    (1, 1, 1),
    (1, 2, 2),
    (1, 3, 3),
    (2, 0, 0),
    (2, 1, 1),
    (2, 2, 2),
    (2, 3, 3),
    (1, 0, 3),
    (1, 1, 2),
    (2, 0, 3),
    (2, 1, 2),
    (1, 2, 1),
    (1, 3, 0),
    (2, 2, 1),
    (2, 3, 0),
    (3, 0, 1),
    (3, 0, 2),
    (3, 1, 0),
    (3, 1, 3),
    (3, 2, 0),
    (3, 2, 3),
    (3, 3, 1),
    (3, 3, 2),
]  #: Precomputed list of tuples consisting of indices of christoffel symbols which are non-zero in Kerr Metric

def christoffels(c, r, theta, Rs, a):
    """
    Returns the 3rd rank Tensor containing Christoffel Symbols for Kerr Metric

    Parameters
    ----------
    c : float
        Speed of light
    r : float
        Distance from the centre
    theta : float
        Angle from z-axis
    Rs : float
        Schwarzschild Radius
    a : float
        Black Hole spin factor

    Returns
    -------
    ~numpy.array
        Numpy array of shape (4,4,4)

    """
    invg = metric_inv(c, r, theta, Rs, a)
    dmdx = dmetric_dx(c, r, theta, Rs, a)
    chl = np.zeros(shape=(4, 4, 4), dtype=float)
    for _, k, l in nonzero_christoffels_list[0:4]:
        val1 = dmdx[l][0][k] + dmdx[k][0][l] - dmdx[0][k][l]
        val2 = dmdx[l][3][k] + dmdx[k][3][l] - dmdx[3][k][l]
        chl[0][k][l] = chl[0][l][k] = 0.5 * (invg[0][0] * (val1) + invg[0][3] * (val2))
        chl[3][k][l] = chl[3][l][k] = 0.5 * (invg[3][0] * (val1) + invg[3][3] * (val2))
    for i, k, l in nonzero_christoffels_list[8:16]:
        chl[i][k][l] = 0.5 * (
            invg[i][i] * (dmdx[l][i][k] + dmdx[k][i][l] - dmdx[i][k][l])
        )
    for i, k, l in nonzero_christoffels_list[16:20]:
        chl[i][k][l] = chl[i][l][k] = 0.5 * (
            invg[i][i] * (dmdx[l][i][k] + dmdx[k][i][l] - dmdx[i][k][l])
        )
    return chl

I've taken the indices of type (i, k, k) and grouped them alongside each other for i=1 & 2, so that I do not need 2 assignments like chl[i][k][l]=chl[i][l][k]=some value.
If you agree with it, kindly implement the changes in a subsequent commit
Thanks again for your interest @raphaelreyna

@raphaelreyna
Another little optimization:
In the first for loop, omit the dmdx[0][k][l] and dmdx[3][k][l], beacuse they are always zero.
So,
val1 = dmdx[l][0][k] + dmdx[k][0][l]
val2 = dmdx[l][3][k] + dmdx[k][3][l]

Some tests are failing @raphaelreyna !

Also, some merge conflicts!

Hi @raphaelreyna ,
I don't think cutting down further loops is going to help in computations, as more computation is taking place inside the loops, the overall complexity remain approximately the same.
On the other hand, it increases the complexity for anyone reading the code. Suggestions?
BTW, thanks again @raphaelreyna

@raphaelreyna , your PR has a lot of redundant commits as well, and your master branch has become quite a mess. It would be difficult to fix and you may have to squash the commits.
So I was proposing I implement your changes with PR #117 , and make you the author of the commit.
Again, suggestions?

@ritzvik Sorry for the mess with the commits, I am still trying to figure out git. Also how can I test before pushing to avoid all of the redundancy.
Also, yeah I think you're right about it not really being worth it to to cut down on the for loops, I'll be changing that back.
I also see the point you make in #116, and while I do not know how to directly implement that style of indexing, I try to address the issue of needlessly creating and destroying arrays by caching them.

@ritzvik, and yeah I'm okay with your suggestion of implementing the changes with PR #117.

@ritzvik Sorry for the mess with the commits, I am still trying to figure out git. Also how can I test before pushing to avoid all of the redundancy.
Also, yeah I think you're right about it not really being worth it to to cut down on the for loops, I'll be changing that back.
I also see the point you make in #116, and while I do not know how to directly implement that style of indexing, I try to address the issue of needlessly creating and destroying arrays by caching them.

Changing indexing style on all the code-base is a huge work, and that's not going to affect much. Another PR can take care of #116 .
Should I take your changes and implement them in #117 , along with making you the author of the commit?
We may have to fix your master branch. Ping me on on riot personally, I'll walk you through it.

@ritzvik, and yeah I'm okay with your suggestion of implementing the changes with PR #117.

okay

@raphaelreyna See this.


join efforts with dwm-win32 port by prabirshrestha ?

hi! greetings of the day.

i saw that this is also a dwm port for windows,

and thought to bring it in your notice that another port of dwm for windows exist
here: https://github.com/prabirshrestha/dwm-win32

both of these seem to have same licence:

so, maybe you would like to join efforts with them?

https://github.com/ZaneA/HashTWM/blob/66fa38c50e021f75a687a6c7ee68ee5560bf0e05/README.md?plain=1#L84

i opened an issue there: https://github.com/prabirshrestha/dwm-win32/issues/76


[Brew] Brave Browser or any cask install attempt

Extension
https://raycast.com/nhojb/brew
Raycast Version
1.82.3
macOS Version
14.6.1
Description
Error:
Error: Command failed: /opt/homebrew/bin/brew info --json=v2 --installed
/bin/sh: /opt/homebrew/bin/brew: No such file or directory

    at genericNodeError (node:internal/errors:984:15)
    at wrappedFn (node:internal/errors:538:14)
    at ChildProcess.exithandler (node:child_process:422:12)
    at ChildProcess.emit (node:events:519:28)
    at ChildProcess.emit (node:domain:488:12)
    at maybeClose (node:internal/child_process:1105:16)
    at Socket.<anonymous> (node:internal/child_process:457:11)
    at Socket.emit (node:events:519:28)
    at Socket.emit (node:domain:488:12)
    at Pipe.<anonymous> (node:net:338:12)

Steps To Reproduce

Type Brew / Search / Brave browser. 2) click install.

Current Behaviour
stops at prompt
Expected Behaviour
Install Brave Browser or any other app.

/opt/homebrew/bin/brew: No such file or directory
@FlippityFloppityFloopy
It looks like Homebrew is either not installed on your system or it has been installed in a custom location.

If Homebrew is not installed, you can install it by following the instructions here.
If Homebrew is installed in a custom location, follow these steps:

Open the Raycast extension window.

Set the custom Homebrew executable path.

Node: You can find the correct path by running the following command in your terminal:
which brew

@raycastbot close this issue


Display bug when force submission to the leaderboard

Hi,
When I force participants' submission to the leaderboard, though the submission is successfully evaluated, the results in the leaderboard show n/a as below.

The competition leaderboard is https://www.codabench.org/competitions/1772/#/results-tab
Thanks!

I think the rule is applied to the new submissions and not the old ones. I see that the two n/a scores are coming from cancelled and failed submissions. Please add manually the submissions for these users to fix the problem
Note: Submission with a tick sign is on the leaderboard

Thanks for your reply.
Since the number of submissions is large (about 1365 submissions currently), adding the best result for each user manually seems pretty hard.
Can I filter out the canceled or failed results?
Thanks

Thanks for your reply.
Since the number of submissions is large (about 1365 submissions currently), adding the best result for each user manually seems pretty hard. Can I filter out the canceled or failed results automantically?
Thanks

Yes, you can filter using the status dropdown

Thanks! In fact, I can't delete all the cancelled files with one click, as the top-right button is grey.
Besides, I'm quite confused why the 'force best' will choose the 'n/a' results. Could we just filter this automantically without delete all the 'n/a' submissions?

I think you cannot delete someone else's submission even if you are the organizer.
What you can do is to identify users on your leaderboard for which you see n/a then go to submissions panel, find the user using the search and add their good submission to leaderboard manually.
After this if the n/a problem reappears, please report it so that we can check the problem

Thanks! But the user and submission are quite large...(185 participants and 1579 submissions), means it is hard to find the best result of each user.
Can we just change the 'force best' strategy and make it do not to select the 'n/a' result?

You can try force last multiple or force last rule
force last multiple: adds multiple submissions to leaderboard per user (all new submitted)
force last: adds the latest (only one) submission per user to the leaderboard

I see the problem now. I am labelling this as a bug and we will check and resolve it soon.

That's nice. Thank you very much!

Related issue:

#1055

@starsholic can you reproduce this bug in a new competition?

@ihsaan-ullah  Ok, I will try it today.

Seems still have bug. https://www.codabench.org/competitions/1772/#/results-tab

Yes the bug is there, I am unable to reproduce it on my side. Can you reproduce it in another challenge where we don't have these many submissions and participants?

I copied a same competition here (https://www.codabench.org/competitions/1969/#/participate-tab), seems there are two steps to reproduce the bug.

submit a correct submission
submit a failed submission

Hi @ihsaan-ullah ,
Now 'force last' meets the same issue as 'force best', the leaderboard is here: https://www.codabench.org/competitions/1772/#/results-tab

Thank you for the additional investigation. I hope we'll be able to resolve this bug soon.

I close this issue to merge and keep track of it here: #1540.


$state.go reload=true does not work second time.

When we trigger $state.go($state.current, $stateParams, {reload:true}) for once, it's working fine;
but again triggering the same with changed stateParams don't reloads the view.
Can't understand what is wrong.

It should reload.  Post a plunker that reproduces the issue and we can see if there's a bug.  Re-open after you've done so.
http://bit.ly/UIR-Plunk


!HERE’S WAY TO WATCH! Portugal vs France Live Broadcast FREe ON TV Channel 5 July 2024

Portugal vs France live stream: How to watch Euro 2024 online and for free
GO LIVE==>>> CLICK HERE TO WATCH LIVE
STREAMING==>>> CLICK HERE TO WATCH LIVE
Portugal topped Group F with little trouble winning all three games, but their progression to this quarter-final match was anything but smooth. Captain and talismanic forward Cristiano Ronaldo was left in literal tears when he failed to convert a penalty in extra time against Slovenia, but goalkeeper Diogo Costa was on hand to play the hero by making three consecutive saves in the ensuing shootout, setting up this exciting quarter-final clash.
Meanwhile, France’s journey at Euro 2024 has also been surprisingly dramatic. Les Bleus were considered by many the pre-tournament favorites but only managed a second-placed finish in Group D thanks to draws with the Netherlands and Poland. Their win over Belgium in the Round of 16 wasn’t especially convincing either. France won 1-0 thanks to a Jan Vertonghen own-goal with just five minutes remaining, but the side need to find another gear quickly, or they could face an exit at this stage.
There’s a spot in the final four at stake in the France vs Portugal live stream, and we’ve got all the details you need to watch it from anywhere down below. Plus, make sure you don’t miss a single moment of the tournament by checking out our guide on how to watch Euro 2024.
In the U.K. football fans can enjoy every moment of Euro 2024 across BBC and ITV.
Portugal vs France is on BBC – watch for free on BBC iPlayer. Just note that you will need a valid U.K. TV license in order to watch.
Other free-to-air coverage of Euro 2024: Germany (via ZDF and ARD), France (via TF1), Spain (via RTVE) and Italy (via RAI). Soccer fans in New Zealand can also watch Euro 2024 for free via TVNZ.
If you’re normally in one of these countries but happen to be abroad right now, you won’t miss out if you watch using one of the best VPNs.  Our favorite is NordVPN.
Soccer fans in the U.S. can watch Euro 2024 across the Fox network, with select games on Fubo. The Portugal vs France live stream is on FOX and the Fox Sports website with a valid login. FS1 may be included in your cable package.
If you've cut the cord and don't have cable, you have plenty of options. Our top pick is Sling TV: the Sling Blue package costs just $45 per month with a discounted first month. It comes with more than 30 channels including FOX (if you have a local Fox Network on Sling) and FS1.
Fubo is another option. The Pro Plan costs $79 per month but gives you 121 channels, including FOX and FS1, plus lots more for sports fans to enjoy.

spam


Text passed to receiver is not UTF-8 encoded

Maybe I misunderstood README saying:

Regardless of the internal encoding used in the PDF all text will be converted to UTF-8 before it is passed back from PDF::Reader.

While parsing some infoices, I am receiving ASCII-8BIT (or US-ASCII) encoded string in my receiver:
def show_text(arg)
  puts arg.encoding
end

Should this be possible, or did I misunderstood the API and docs?
Btw, when I don't use receiver and check page.text, it is UTF-8 encoded, es expected.

Apologies for the confusion.
page.text should always return utf-8 encoded text that's marked as such. The show_text callback is lower level, and it'll return the raw character codes from the PDF content stream and they are very rarely any recognisable encoding. They usually have to be converted into utf-8 via a mapping process.

Thanks!


How to modify PicoScan range in the launch file？

Dear Teams,
How to modify PicoScan range in the launch file？ I didn't find it

Thanks for your feedback. Min. range values can be set  for each PointCloud by the rangeFilter in the launchfile sick_picoscan.launch:
        <!-- Configuration of customized pointclouds:
        ...
        Optional parameter "rangeFilter" configures how invalid measurements are filtered in the customized pointcloud.
            rangeFilter=<range_min>,<range_max>,<filter_flag>
        The range (distance) of invalid scan points is 0 and can be filtered, i.e. removed from the pointcloud or set to 0, FLT_MAX or NAN.
        If the range (distance) of a scan point is less than <range_min> or greater than <range_max>, this point is filtered depending on <filter_flag>:
            <filter_flag> = 0: RANGE_FILTER_DEACTIVATED,  do not apply range filter (default)
            <filter_flag> = 1: RANGE_FILTER_DROP,         drop point, if range is not within [range_min, range_max]
            <filter_flag> = 2: RANGE_FILTER_TO_ZERO,      set range to 0, if range is not within [range_min, range_max]
            <filter_flag> = 3: RANGE_FILTER_TO_RANGE_MAX, set range to range_max, if range is not within [range_min, range_max]
            <filter_flag> = 4: RANGE_FILTER_TO_FLT_MAX,   set range to FLT_MAX, if range is not within [range_min, range_max]
            <filter_flag> = 5: RANGE_FILTER_TO_NAN        set range to NAN, if range is not within [range_min, range_max]
        Note: Using range_filter_handling 4 or 5 requires handling of FLT_MAX and NAN values in an application.
        The working range of a picoScan is specified by 0.05 m up to 120 m. Example to drop invalid measurements:
            rangeFilter=0.05,120,1
        -->
        <!-- example for cloud_unstructured_fullframe with range_min = 0.05 m, range_max = 999 m, filter_flag = 1 (RANGE_FILTER_DROP) -->
        <param name="cloud_unstructured_fullframe" rangeFilter=0.05,999,1 />

Note that the range filter is applied on PointCloud messages, not on LaserScan messages. Due to their definition, LaserScan messages must have the all range values of a scan. If required, you may drop scan points by their range when handling LaserScan messages in your application. Due to the definition of LaserScan messages, it is not possible to drop scan points with a range below a given threshold. Parameter "rangeFilter" is therefor only applied to PointCloud messages.
Value "range_min" of a LaserScan message should not be negative (like -0.001). Please update to the latest sick_scan_xd release, if not yet done.


Design a Countdown Timer

Hello @Jayesh-JainX , I'm interested in contributing to this project.
Can you please brief me on what features you want in this project?

Sure @saffi-786
You can create a website where users can set timers, and you can include features like sound notifications and support for multiple timers.

Hello @Jayesh-JainX I noticed that this wasn't assigned yet.
Is it still open? and if so can you please assign it to me?

hey @mikemtdev,
can you create a website where users can set timers, and you can include features like sound notifications and support for multiple timers?

@Jayesh-JainX Yes I can do that no problem.

Before we proceed, we kindly request you to:

Star this Repository: ⭐ Starring the repository helps us reach a wider audience and encourages more contributions. You can star the repo by clicking the "Star" button at the top of this page.

Follow the Code of Conduct: 📜 We maintain a Code a Code of Conduct to ensure a positive and respectful environment for all contributors. Please review and abide by it throughout your involvement in this project.

Add Your Profile Details: 📋 You can find instructions on how to add your profile details to the repository in our YouTube Video. Please follow the steps outlined in the video to complete this task before contributing.

If you have any questions or need further assistance, feel free to ask. Happy coding! 🚀

hey @mikemtdev, can you create a website where users can set timers, and can include features like sound notifications and support for multiple timers?

Hey just a quick question, what do you mean or how do you visualise multiple timers working or what would be the use case for them ?

Important Announcement:
Dear Contributors,
I regret to inform you that our repository has been excluded from Hacktoberfest participation due to certain reasons. As a result, any contributions made to this repository during Hacktoberfest will not count towards the event.
We understand that many of you were eager to contribute to our project, and we sincerely apologize for any inconvenience this may cause. We value and appreciate your interest in our work.
If you're still interested in contributing to open source projects for Hacktoberfest, we encourage you to explore other repositories and communities that are participating in the event. There are many exciting projects out there that would greatly benefit from your contributions.
Once again, we apologize for any inconvenience and thank you for your understanding. We hope to welcome contributions to our repository in the future when it becomes eligible for such events.
Best regards,
Jayesh Jain


WIP: Cache textX grammar parsers in a thread local storage

This should make metamodel_from_* calls thread-safe
refs #295
Code review checklist

[ ] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
[ ] Title summarizes what is changing
[ ] Commit messages are meaningful (see this for details)
[ ] Tests have been included and/or updated
[ ] Docstrings have been included and/or updated, as appropriate
[ ] Standalone docs have been updated accordingly
[ ] Changelog(s) has/have been updated, as needed (see CHANGELOG.md, no need
to update for typo fixes and such).

Closing in favor of #297


Verify Readable Locations property

The example to find the readable locations using REST API is the below URL.
https://{databaseaccount}.documents.azure.com/
However, this URL does not seem to work . In the page the results can be seen for the url which provides the readable locations set based on preferred locations policy. How can we find if the client indeed tried the locations in the order of the preference given?
When I tried the above url using a postman collection , I got the following error
Unauthorized - The input authorization token can't serve the request.
We tried setting the locations using ConnectionPolicy preferred locations in .Net V2 SDK and using the ClientOptions Application Region in .Net V3 SDK.
Both give the response for the readendpoint and writeendpoint as https://{databaseaccount}.documents.azure.com/
Is there a way to get the region-specific read and write endpoints used by client (DocumentClient/CosmosClient) in Cosmos (like _https://contoso-westus.documents.azure.com:443/_
provided in the Cosmos V3 Tests folder). How can we verify multi region read and writes using the SDK?

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

ID: fa29ee58-9c39-631d-47fa-212d43d2849a
Version Independent ID: d6d0c9f3-60a1-5b18-f773-5b4bf042257d
Content: Azure Cosmos DB global distribution tutorial for the SQL API
Content Source: articles/cosmos-db/tutorial-global-distribution-sql-api.md
Service: cosmos-db
GitHub Login: @rimman
Microsoft Alias: rimman

@karthiksubramanians Did you see the detail in the .NET SDK section? It appears something is not resolving correctly for you. Does your client code look something like the following:

//Setting read region selection preference
connectionPolicy.PreferredLocations.Add(LocationNames.WestUS); // first preference
connectionPolicy.PreferredLocations.Add(LocationNames.EastUS); // second preference
connectionPolicy.PreferredLocations.Add(LocationNames.NorthEurope); // third preference

Can you provide an example of the code being used by the client?

@Mike-Ubezzi-MSFT Thanks for the response. I did not have a problem with creating preferred locations property in .NET. My issues are:

The REST API url that was provided in the page to check the locations is not working.
The read and write endpoint property after creating the client gives the generic URI like _https://contoso.documents.azure.com:443/_ instead of region specific URI like _https://contoso-westus.documents.azure.com:443/_
How to verify which region the request went to and the list of all regions associated with the database account.

Thanks for all the help.

From the error for the REST call, it looks like the auth token was incorrect. Using SDK, you can call GetDatabaseAccountAsync  to list all the read and write endpoints.
ReadEndpoint and WriteEndpoint will point to the regional DNS addresses if the PreferredLocations is setup. Like Mike mentioned, if you send sample code, we can check.

This is the code I am using to set preferred locations:
ConnectionPolicy connectionPolicyNA = new ConnectionPolicy();
 connectionPolicyNA.EnableEndpointDiscovery = true;
 connectionPolicyNA.PreferredLocations.Add(LocationNames.CentralUS); // first preference
 connectionPolicyNA.PreferredLocations.Add(LocationNames.SouthIndia); // second preference
 DocumentClient clientNA = new DocumentClient(new Uri(endpoint), authKey, connectionPolicyNA);

   log.LogInformation(clientNA.ReadEndpoint.ToString());
   log.LogInformation(clientNA.WriteEndpoint.ToString());

The logs show that the read and write endpoint are still pointing to the portal endpoints and not the regional specific endpoints.
Regarding REST API, i created the postman collection for azure services and all other rest calls like databases, collections, querying documents is working fine. Is the authorization for the regions only different from all other requests. I have attached my postman collection for azure in which all other requests are working fine. Thanks for all the help.
AzureRestCollection.zip

I would recommend a few things here:
First, can you please call OpenAsync before checking for the endpoints. This will ensure that the client is initialized and it has fetched the data from the server. Additionally, since you were looking to find out the regions where the requests were being sent, can you please make the calls to perform the operations and check the endpoints? Please let me know. Thanks!

@karthiksubramanians Do you have any additional questions, and did this information help you? Additionally, the REST reference needs to have the {databaseaccount} portion updated with your specific account name. If you are replacing {databaseaccount} and still receiving an error, can you please be more specific with the error message.
https://{databaseaccount}.documents.azure.com/
The recommendations above should allow your client to have specific account information for the responses to be valid but did want to be sure this is the case.

Apologies for the late reply..
I was able to find the locations in v2 of SDK with the following code.
DatabaseAccount DbAccount = await client.GetDatabaseAccountAsync();
 IEnumerable<DatabaseAccountLocation> writeLocations = DbAccount.WritableLocations;
 IEnumerable<DatabaseAccountLocation> readLocations = DbAccount.ReadableLocations;

While this answers my primary question, the REST API part from the documentation is still not working.
For  https://{{DocumentDBHost}}/dbs with appropriate value filled in, I am getting the proper response with the databases metadata.

{
"_rid": "",
"Databases": [
{
"id": "",
"_rid": "==",
"_self": "dbs/==/",
"_etag": "",
"_colls": "colls/",
"_users": "users/",
"_ts":<PHONE_NUMBER>
}
],
"_count": 1
}

But for https://{{DocumentDBHost}} ,  it is giving this error:

"code": "Unauthorized",
"message": "The input authorization token can't serve the request. Please check that the expected payload is built as per the protocol, and check the key being used. Server used the following payload to sign: 'get\n\n\nthu, 05 sep 2019 21:01:04 gmt\n\n'\r\nActivityId: 4cfa94e1-871e-4cb2-8808-79af45040576, Microsoft.Azure.Documents.Common/2.5.1"

@karthiksubramanians Thank you for this additional detail! I will verify this and make a doc update accordingly.

It looks like auth token generated for the root endpoint is not correct. Can you please try with empty string for resource type and resource id? If you still run into issue, I will pull in more folks who can help with this.

Is this comment for @Mike-Ubezzi-MSFT ? If it is for me, could you clarify the question?

@karthiksubramanians Please follow instruction from @sharma-pankaj and let us know the results or questions. We are closing this thread as this moment no doc enhancement is required. But we can definitely continue the dialogue depending on your question.

I was able to get it to work based on the instructions. Thanks to everyone for your help!


Remove deprecated query::claim module.

This module is left over from the old schedule system. With the rework that occurred in #142, this is no longer needed. It wasn't immediately obvious that it should be removed because the trait was marked pub due to its use in the Sealed views trait.

Codecov Report

Merging #148 (5928728) into dev (c5291f3) will decrease coverage by 0.06%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              dev     #148      +/-   ##
==========================================
- Coverage   94.81%   94.74%   -0.07%
==========================================
  Files          73       72       -1
  Lines       10222    10091     -131
==========================================
- Hits         9692     9561     -131
  Misses        530      530

Impacted Files
Coverage Δ

src/query/mod.rs
50.00% <ø> (ø)

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


Wifi and IP adress problem

OS: Ubuntu 22.04
ROS Distro: Humble
Installed)
Hello ClearPath.
My customer has some problem with the Wifi set up of his TB4 and his actual behavior is as follows :
"
When the RPi is configured and you set the desired network, it connects correctly and has a stable connection. Same for the create 3.
It remains OK for 3 or 4 power-offs of the robot. Suddenly, when you turn on the robot again it does not get an IP anymore. Curiously, both the RPi and the Create lose the IP, none of both connects again. The problem persists until a new configuration is loaded using turtlebot4-setup.
"
Do you know where does it come from ?
Best regards.

Hello Valentin,
Thank you for reaching out on the Turtlebot 4 Github. How much time pasess between the initial setup and the TB4 losing it's IP address. When the TB4 network is setup again, is the address the same as before it was lost or is a new address given? Is this a standard Wi-Fi network or an institutional network? From the description it seems the lease on the original expires, and the address is no longer available when the TB4 reconnects to the network. Let me know if this is not the case. Looking forward to hearing from you soon.

Hello,
Thank you for your response. There are the answers of the customer:

There is not a specific time amount between those events, in fact when the IP is set, until there are like 2 or 3 restarts of the robot the problem does not appear again.
Is the same as before, being configured with DHCP
It is an standard wifi, set-up with a 2.4Ghz Access Point.

Regarding your last sentence ("t seems the lease on the original expires, and the address is no longer available when the TB4 reconnects to the network"), Can you tell me more about how the customer can verify this?
Regards.

Hello ClearPath
Is it possible to have an answer for this request please ?
Thank you. Best regards.

Hello Valentin,
Apologies for the late reply our offices were closed for the holidays.
Would it be possible to share the Create3 log files found when connecting to the Create3's webserver: https://iroboteducation.github.io/create3_docs/webserver/logs/
How many Turtlebot's are being used on this network? If it is only one, would it be possible to have the client switch to a discovery server setup: https://turtlebot.github.io/turtlebot4-user-manual/setup/discovery_server.html After doing so, restart the TB4 a few times and see if it exhibits this same behaviour.
If there are multiple TB4 units using this network, is this behaviour common across all the units or it is restricted to a single unit?
Looking forward to hearing from you soon.

Hello ClearPath,
Attached, you can see the logs.
messages.txt
They have a network that is composed by the access point (provided by an Ubuntu machine) and 3 Turtlebots connected to it using the simple discovery setup. The other 2 work properly as expected, and it is always the same unit the one that has the problem.
Regards

Hello Valentin,
Has the client tried reimaging the Raspberry Pi on the issue unit? Since it is isolated to the single unit perhaps a reset will clear any initial configuration issues present on the unit.
Let me know how this recommendation works for your client. Looking forward to hearing from you soon.

Hello smatar,
Yes he tried multiple times weeks ago and the problem persists. Do we have to repatriate the unit ?
Best regards.

Hello Valentin,
Would it be possible to have the client boot the Turtlebot4 unit a few times (until it gets removed from the network again). Once this occurs have the SSH into the Turtlebot4 using an ethernet connection, the ethernet IP address for the Turtlebot4 should be <IP_ADDRESS>. After doing so have them provide the output of the following two commands: journalctl -u NetworkManager.service and sudo dmesg The updated Create3 logs may also prove to be useful. The server should be accessible using the ethernet address of the Turtlebot4.
Lastly, they may also want to check the logs of their network to see if they can find any information as to way the Turtlebot4 is being removed.
Looking forward to hearing from you soon.

Hello Valentin,
Thank you for sending the logs. Reviewing the contents we found the following excerpt:
Dec 15 15:14:27 ubuntu NetworkManager[2939]: <info>  [1702653267.8858] Config: added 'ssid' value 'charm_pc_wifi'
Dec 15 15:14:27 ubuntu NetworkManager[2939]: <info>  [1702653267.8862] Config: added 'scan_ssid' value '1'
Dec 15 15:14:27 ubuntu NetworkManager[2939]: <info>  [1702653267.8866] Config: added 'freq_list' value '2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472 2484'
Dec 15 15:14:27 ubuntu NetworkManager[2939]: <info>  [1702653267.8867] Config: added 'bgscan' value 'simple:30:-70:86400'
Dec 15 15:14:27 ubuntu NetworkManager[2939]: <info>  [1702653267.8869] Config: added 'key_mgmt' value 'WPA-PSK WPA-PSK-SHA256 FT-PSK'
Dec 15 15:14:27 ubuntu NetworkManager[2939]: <info>  [1702653267.8870] Config: added 'psk' value '<hidden>'
Dec 15 15:14:27 ubuntu NetworkManager[2939]: <info>  [1702653267.8893] device (wlan0): supplicant interface state: disconnected -> scanning
Dec 15 15:14:27 ubuntu NetworkManager[2939]: <info>  [1702653267.8894] device (p2p-dev-wlan0): supplicant management interface state: disconnected -> scanning
Dec 15 15:14:27 ubuntu NetworkManager[2939]: <info>  [1702653267.9460] device (wlan0): supplicant interface state: scanning -> associating
Dec 15 15:14:27 ubuntu NetworkManager[2939]: <info>  [1702653267.9462] device (p2p-dev-wlan0): supplicant management interface state: scanning -> associating
Dec 15 15:14:30 ubuntu NetworkManager[2939]: <info>  [1702653270.6977] device (wlan0): supplicant interface state: associating -> disconnected
Dec 15 15:14:30 ubuntu NetworkManager[2939]: <info>  [1702653270.6979] device (p2p-dev-wlan0): supplicant management interface state: associating -> disconnected
Dec 15 15:14:30 ubuntu NetworkManager[2939]: <info>  [1702653270.7964] device (wlan0): supplicant interface state: disconnected -> scanning
Dec 15 15:14:30 ubuntu NetworkManager[2939]: <info>  [1702653270.7966] device (p2p-dev-wlan0): supplicant management interface state: disconnected -> scanning
Dec 15 15:14:33 ubuntu NetworkManager[2939]: <info>  [1702653273.2365] device (wlan0): supplicant interface state: scanning -> associating
Dec 15 15:14:33 ubuntu NetworkManager[2939]: <info>  [1702653273.2366] device (p2p-dev-wlan0): supplicant management interface state: scanning -> associating
Dec 15 15:14:36 ubuntu NetworkManager[2939]: <info>  [1702653276.0204] device (wlan0): supplicant interface state: associating -> disconnected
Dec 15 15:14:36 ubuntu NetworkManager[2939]: <info>  [1702653276.0206] device (p2p-dev-wlan0): supplicant management interface state: associating -> disconnected
Dec 15 15:14:36 ubuntu NetworkManager[2939]: <info>  [1702653276.5383] device (wlan0): supplicant interface state: disconnected -> scanning
Dec 15 15:14:36 ubuntu NetworkManager[2939]: <info>  [1702653276.5385] device (p2p-dev-wlan0): supplicant management interface state: disconnected -> scanning
Dec 15 15:14:38 ubuntu NetworkManager[2939]: <info>  [1702653278.9765] device (wlan0): supplicant interface state: scanning -> associating
Dec 15 15:14:38 ubuntu NetworkManager[2939]: <info>  [1702653278.9767] device (p2p-dev-wlan0): supplicant management interface state: scanning -> associating
Dec 15 15:14:41 ubuntu NetworkManager[2939]: <info>  [1702653281.4235] device (wlan0): supplicant interface state: associating -> disconnected
Dec 15 15:14:41 ubuntu NetworkManager[2939]: <info>  [1702653281.4237] device (p2p-dev-wlan0): supplicant management interface state: associating -> disconnected
Dec 15 15:14:42 ubuntu NetworkManager[2939]: <info>  [1702653282.4418] device (wlan0): supplicant interface state: disconnected -> scanning
Dec 15 15:14:42 ubuntu NetworkManager[2939]: <info>  [1702653282.4420] device (p2p-dev-wlan0): supplicant management interface state: disconnected -> scanning
Dec 15 15:14:44 ubuntu NetworkManager[2939]: <info>  [1702653284.8100] device (wlan0): supplicant interface state: scanning -> associating
Dec 15 15:14:44 ubuntu NetworkManager[2939]: <info>  [1702653284.8101] device (p2p-dev-wlan0): supplicant management interface state: scanning -> associating
Dec 15 15:14:47 ubuntu NetworkManager[2939]: <info>  [1702653287.4907] device (wlan0): supplicant interface state: associating -> disconnected
Dec 15 15:14:47 ubuntu NetworkManager[2939]: <info>  [1702653287.4908] device (p2p-dev-wlan0): supplicant management interface state: associating -> disconnected
Dec 15 15:14:52 ubuntu NetworkManager[2939]: <info>  [1702653292.5141] device (wlan0): supplicant interface state: disconnected -> scanning
Dec 15 15:14:52 ubuntu NetworkManager[2939]: <info>  [1702653292.5144] device (p2p-dev-wlan0): supplicant management interface state: disconnected -> scanning
Dec 15 15:14:53 ubuntu NetworkManager[2939]: <warn>  [1702653293.5624] device (wlan0): Activation: (wifi) association took too long
Dec 15 15:14:53 ubuntu NetworkManager[2939]: <info>  [1702653293.5625] device (wlan0): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
Dec 15 15:14:53 ubuntu NetworkManager[2939]: <info>  [1702653293.5632] sup-iface[0a2a91855948806a,2,wlan0]: wps: type pbc start...
Dec 15 15:14:53 ubuntu NetworkManager[2939]: <warn>  [1702653293.5637] device (wlan0): Activation: (wifi) asking for new secrets
Dec 15 15:14:53 ubuntu NetworkManager[2939]: <warn>  [1702653293.5645] device (wlan0): no secrets: No agents were available for this request.
Dec 15 15:14:53 ubuntu NetworkManager[2939]: <info>  [1702653293.5646] device (wlan0): state change: need-auth -> failed (reason 'no-secrets', sys-iface-state: 'managed')
Dec 15 15:14:53 ubuntu NetworkManager[2939]: <info>  [1702653293.5653] manager: NetworkManager state is now DISCONNECTED
Dec 15 15:14:53 ubuntu NetworkManager[2939]: <warn>  [1702653293.5660] device (wlan0): Activation: failed for connection 'netplan-wlan0-charm_pc_wifi'
Dec 15 15:14:53 ubuntu NetworkManager[2939]: <info>  [1702653293.5678] device (wlan0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Dec 15 15:14:53 ubuntu NetworkManager[2939]: <info>  [1702653293.5753] manager: startup complete
Dec 15 15:14:54 ubuntu NetworkManager[2939]: <info>  [1702653294.9469] device (wlan0): supplicant interface state: scanning -> disconnected
Dec 15 15:14:54 ubuntu NetworkManager[2939]: <info>  [1702653294.9471] device (p2p-dev-wlan0): supplicant management interface state: scanning -> disconnected

From these logs it appears that Turtlebot4 unit is attempting to connect to the network multiple but fails. Unfortunately it is not reporting the reason for this failed connection.
This may be a case of too many devices being connected to the network at the same time. Has the client set a limit on the number of devices that can be connect to this network? Does the issue persist if all other TB4 units (and any other devices connected to the network) are turned off/have their Wi-Fi disabled?
Looking forward to hearing from you soon.
Best Regards,
Saif

According the customer, he problem persists even with only the unit attempting to connect, and is independent of the number of devices connected.

Hello,
Please can I have a response for this ?
Thanks.
Regards.

Hello,
Apologies for the late reply on this I am consulting with senior TB4 engineers with regards to this matter. I should have an update for you very soon.
Best Regards,
Saif

Hello,
Apologies for the late reply. Would it be check one last item? Should this check fail we'll begin making arrangements to ship the unit to our head offices and repair/replace the unit.
The item to check is the ribbon cable connecting the Raspberry Pi with the User Interface PCBA. Ensure that this cable is not covering the Raspbery PI or its wireless adapter:

To gain access the Pi and the Ribbon cable:
Remove Top Integration Plate:
The plate is attached to the robot by four Round head M4x0.7 screws. Remove the screws by using a 2.5mm hex key.

Remove the PCBA:
After removing the top plate, you can remove the PCBA by removing the four standoffs:

After this you can carefully lift the PCBA, such that none of the cables are pulled taught, and you should be able to access the Raspberry Pi.
Let me know how this recommendation works for you. Looking forward to hearing from you .
Best Regards,
Saif

Hello,
Thank you for this information.
We really hope that will be helpful. Indeed, if not, we will replace the robot.
Best regards, Valentin.

Hello @ValentinLeglise ,
Any updates regarding this? Looking forward to hearing from you soon.
Best Regards,
Saif

Hello,
We are waiting for a response from our client. We will let you know.
Best regards.

Hello @ValentinLeglise ,
This issue is being closed due to inactivity. If you are still experiencing the issue, feel free to reopen this ticket when you are ready to continue the troubleshooting process.
Best Regards,
Saif


Issue#5

Alastair, This change highlights a few prerequisites to sort out before this change.

We need a consistent DockerHub or equivalent Docker image repo with Team access to allow deployment of images until a fully automated build process has been finalised.
Pre-release tags. Is the 1.8 image production, if not a -rc1 or -dev needs to be appended to the image to ensure consistency for potential image pulls.
Will look at the Packer build script to see if local environment settings can be imported to allow for individual development preferences such as repository.
On the whole happy with the changes proposed.


fixed problem with grid on new pregnancies partial

Fixed grid for now so that it will all stay on the same line. HOWEVER I had to change "First and Last Name" back to "Name" to save space, and "Phone Number" to "number". Will need to return back to this to potentially move some form elements to another row.

Looking good, @rekhers ! Really appreciate your making this fix! I had a few minor suggestions, let me know what you think.
I think this form is at a point where we'll need some clarity from Team UX about how to revise further, so once this is merged I'll create an issue asking them whether we should break this into two rows.
Thanks a ton!

@rekhers oh, one other thing -- the integration tests are failing because of the new patient labels changing, so you'll want to dig in and fix those. The test in particular you'll want to look at is test/integration/new_patient_creation_test.rb --
ERROR["test_0002_should make them viewable from the pregnancy edit page", #<Class:0x00000005d09918>, 26.773591188000864]
 test_0002_should make them viewable from the pregnancy edit page#NewPatientCreationTest::creating and recalling a new patient (26.77s)
Capybara::ElementNotFound:         Capybara::ElementNotFound: Unable to find field "Phone Number"
            test/integration/new_patient_creation_test.rb:18:in `block (2 levels) in <class:NewPatientCreationTest>'

ERROR["test_0001_should make that patient retrievable via search", #<Class:0x00000005d09918>, 29.341725803998997]
 test_0001_should make that patient retrievable via search#NewPatientCreationTest::creating and recalling a new patient (29.34s)
Capybara::ElementNotFound:         Capybara::ElementNotFound: Unable to find field "Phone Number"
            test/integration/new_patient_creation_test.rb:18:in `block (2 levels) in <class:NewPatientCreationTest>'

Let me know if you have any questions about this -- it should mostly be changing a 'Phone Number' to 'Phone' in a few places.

I apparently merged this by accident so I'm just going to make these changes by hand. Sorry about that @rekhers !


Bugfix/wyq/fix glance notify

这个 PR 实现什么功能/修复什么问题:

fix glance notify
fix image status on upload fail
add init nbd
是否需要 backport 到之前的 release 分支:
release/2.10.0

/cc @swordqiu

/cherrypick release/2.10.0

/hold

/hold cancel

Codecov Report

Merging #977 into master will decrease coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #977      +/-   ##
=========================================
- Coverage    7.68%   7.61%   -0.08%
=========================================
  Files         348     357       +9
  Lines       55528   55629     +101
=========================================
- Hits         4270    4236      -34
- Misses      50860   50995     +135
  Partials      398     398

Flag
Coverage Δ

#aFlag
7.61% <ø> (-0.08%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/compute/models/guestdrivers.go
18.18% <0%> (ø)
:arrow_up:

pkg/compute/guestdrivers/base.go
0% <0%> (ø)
:arrow_up:

pkg/compute/guestdrivers/managedvirtual.go
0% <0%> (ø)
:arrow_up:

pkg/compute/models/guests.go
0.66% <0%> (ø)
:arrow_up:

pkg/scheduler/models/pending_usage.go

...eduler/algorithm/predicates/guest/cpu_predicate.go
0% <0%> (ø)

...algorithm/predicates/guest/hypervisor_predicate.go
33.33% <0%> (ø)

...ler/algorithm/predicates/guest/status_predicate.go
0% <0%> (ø)

...er/algorithm/predicates/guest/migrate_predicate.go
0% <0%> (ø)

...ithm/predicates/guest/isolated_device_predicate.go
0% <0%> (ø)

... and 12 more

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 4c0f6ce...75fc17d. Read the comment docs.

/lgtm
/approve


chore: update wgpu to 0.19

Also updates winit due to raw-window-handle changes

I was just about to make a similar PR, and before doing it forgot to look if there were any outstanding.
The only major difference was making the utils::create_surface use the safe create_surface API, and the ramifications for that to with_winit::RenderState having to move the window variable out to just being in the run loop.
https://github.com/ratmice/vello/tree/update_wgpu
If that kind of change is wanted I could perhaps make a separate PR for it once this one goes in?

Unfortunately, this no longer compiles for Android. I needed to make two changes for that to work:
Adding the suggested expect - I have not yet dug into why this is now fallible in winit. I can do so if you want

I had a bit of trouble figuring out which expect this is referring to, perhaps at the end of run?

The expect which is in the compilation failure message? This is at:
    let event_loop = EventLoopBuilder::with_user_event()
        .with_android_app(app)
        .build();

I haven't investigated why this is fallible yet

Ahh, I see.  The fallibility here is in the platform-independent part of winit:
0.28 EventLoopBuilder::build vs 0.29 EventLoopBuilder::build, where with_android_app returns a normal EventLoopBuilder.
It looks like it only errors in the case that you call build() multiple times, which in 0.28 was a panic.
So adding an expect there would just be continuing that panic tradition.

Closing, as this PR was merged as #444
Thanks for kicking this off!


Added more service provider types

When creating a certain package i realized there are some provider types that we could have been missing. Here is what i could compile:

When registering policies in the Laravel default app you place your gates in the App\Providers\AuthServiceProvider which imports a certain type of provider to achieve that
=> solved packr make:auth-provider {ProviderName}

When making Laravel events and listeners you will have to register them in the App\Providers\EventServiceProvider which also imports another ServiceProvider with event handling abilities
=> solved packr make:event-provider {ProviderName}

Perhaps you would want to do customized route model binding, apart from using the bindings middleware to your routes, you will need to override it in App\Providers\RouteServiceProvider in default Laravel so we have to make that possible within our packages
=> solved packr make:route-provider {ProviderName}

Lastly if we need to activate broadcasts in our package will have to do it in our App\Providers\BroadcastServiceProvider which is a Laravel default but we should be able to create our own in our package and modify it
=> solved packr make:broadcast-provider {ProviderName}

This is basically it, the current defauit ServiceProvider can do all other jobs but misses the above mentioned
Cheers

Hey, looks like these are going to add great functionality to packer.
I will check and if everything works fine, I will merge it soon.
Thanks for your contribution.

Hey, looks like these are going to add great functionality to packer.
I will check and if everything works fine, I will merge it soon.
Thanks for your contribution.

All good, but i wasn`t sure about the command names so you might wanna change them to fit your naming conventions


⚠ Fortnite has degraded performance

In fe4bb7a, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1659 ms

Resolved: Fortnite performance has improved in ad7c33b.


upgrade the pyln bolts to the new spec version

This required some more love
Preparing for https://github.com/ElementsProject/lightning/pull/5562

included in https://github.com/rustyrussell/lnprototest/pull/59 by @niftynei


Splitting issues

Enable the code in this repository to create github issues.
We need to introduce a function "create_issue" in _github_utilities.py
We need to introduce a function "split_issue_in_sub_issues" in _ai_github_utilities.py
This introduces new task-type "split-issues" in "_terminal.py".
This is the scenario: Assume the current task consists of a list of sub-tasks. For each of these sub-tasks, there should be a new github issue created. These new issues should contain a short description as title and a more detailed description as body, with all relevant information known.
After all these issues were created, we should respond to the original issue with a list of created issues and corresponding issue numbers (with a # prefix) to have a clickable list of issues.
git-bob think about this

That's already good! For determining the sub_tasks, we can use the same strategy as in _ai_github_utlities.py in function comment_on_issue. We can extract a list of issues like we extracte a list of filenames.
Furthermore, please add documentation for the "split-issue" mode in readme.md
git-bob think about this.

Ok, the function extract_sub_tasks should approximately contain something like this:

A prompt that contains the entire issue discussion (like in comment_on_issue) with the task to return a JSON structured list of tasks only.
The resulting JSON-string is parsed into a list.
The list is returned

git-bob think about this

Instead of json.loads(sub_tasks_json) we can use this:
from ._utilities import text_to_json
text_to_json(sub_tasks_json)
git-bob solve


extend load balancer context interface to provide override host

Signed-off-by: wbpcode<EMAIL_ADDRESS>Commit Message: extend load balancer context interface to provide override host
Additional Description:
Continuation of #17290. Part of #16698. In the #17290, we implement a cross priority host map for fast host searching and add it to all types of Cluster. This PR extends load balancer context interface to provider override host. Then the load balancer can select host based on this override host directly and bypass algorithm selection.
Get more detailed design of stateful session sticky by ref https://docs.google.com/document/d/1IU4b76AgOXijNa4sew1gfBfSiOMbZNiEt5Dhis8QpYg/edit?usp=sharing
Risk Level: Mid.
Testing: Add.
Docs Changes: N/A.
Release Notes: N/A.
Platform Specific Features: N/A.

/retest

/retest


Change from GPA 4.0 to GPA 4.3

NCU is now using GPA4.3. Just update the formula from GPA4.0 to GPA4.3 in app/gpa-calculator.js. Also, update some npm dependencies.

Thank you for the commits. I've noticed NCU's GPA policy update(4.0 to 4.3). I am considering to keep 4.0 as an option instead of retiring it entirely. What do you think?

I'm not sure if the score querying system would be still available for those graduates. If it is available for them, I think keeping GPA 4.0 is needed. However, if the system is only available for students now in NCU, keeping GPA 4.0 might make users getting confused.


[FEAT.] Automate the syntax check on PR with GitHub Action

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
If your repo contains JSON files, you can automate the syntax check on PR with GitHub Actions. This will help save lots of time and reduce human errors, especially with long JSON files.
Describe alternatives you've considered
N/A
Additional context
N/A

It is resolved with commit #b3b2bcd


fix crucial crash bug

also fixes lag

this fixed my entire server network bungee yatopia.

Excuse me but this fix has caused my server to run way too fast and this is messing with the timings on my 67000 hopper farm. Please revert thanks.

OMG Mojang has push your PR, you are great

This made my server so fast that it went into the fifth dimension.

This allowed me to run 10000 players on one 1GB server!!!!!

My tps just whent over 9000 Lol Best fix ever

My tps just whent over 9000 Lol Best fix ever

you just ruined the joke 😔


Add a "FAQ" page

As discussed in #264:

the nice thing about an "FAQ" or "common questions" page is that there are questions we get all the time via email, twitter, or sometimes random bug reports/Launchpad questions. We can put those there if we think they're common enough to warrant it.

@danrabbit mentioned using the elementary meta-project's FAQ page from launchpad. That works for actually-frequent questions on Launchpad, so I think that works. :)

Using the Launchpad API or redirecting the user to Launchpad?

Just linking to the Launchpad page.
Regards,
Cassidy James
--
Sent from elementary OS http://elementaryos.org/.
On Wed, Feb 4, 2015 at 2:44 PM, emersion<EMAIL_ADDRESS>wrote:

Using the Launchpad API or redirecting the user to Launchpad?
—
Reply to this email directly or view it on GitHub
https://github.com/elementary/mvp/issues/348#issuecomment-72945991.

Gonna assign to @cassidyjames since he has that support branch


Mqcnn rts

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Todo

[ ] add support for categorial features

[ ]  option to ignore dynamical-features (like ignore in SageMaker DeepAR)

[ ] fix instance splitter (see #704)

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Todo

[ ]  add support for categorial features
[ ]   option to ignore dynamical-features (like ignore in SageMaker DeepAR)
[ ]  fix instance splitter (see #704)

How is #704 related to instance splitter?

Codecov Report

Merging #668 into master will decrease coverage by 0.26%.
The diff coverage is 72.00%.

@@            Coverage Diff             @@
##           master     #668      +/-   ##
==========================================
- Coverage   84.54%   84.27%   -0.27%
==========================================
  Files         172      172
  Lines       10900    11020     +120
==========================================
+ Hits         9215     9287      +72
- Misses       1685     1733      +48

Impacted Files
Coverage Δ

src/gluonts/block/decoder.py
68.29% <ø> (ø)

src/gluonts/model/seq2seq/_seq2seq_estimator.py
54.68% <ø> (ø)

src/gluonts/model/seq2seq/_mq_dnn_estimator.py
67.85% <50.00%> (-32.15%)
:arrow_down:

src/gluonts/model/deepar/_estimator.py
96.77% <60.00%> (-3.23%)
:arrow_down:

src/gluonts/block/encoder.py
78.48% <62.50%> (+5.98%)
:arrow_up:

src/gluonts/model/seq2seq/_forking_network.py
72.72% <65.21%> (-27.28%)
:arrow_down:

src/gluonts/model/estimator.py
86.48% <66.66%> (-3.07%)
:arrow_down:

src/gluonts/model/seq2seq/_forking_estimator.py
88.13% <73.07%> (-11.87%)
:arrow_down:

src/gluonts/model/predictor.py
82.26% <100.00%> (+0.32%)
:arrow_up:

src/gluonts/model/seq2seq/_transform.py
98.46% <100.00%> (+0.24%)
:arrow_up:

... and 3 more

The option to ignore dynamical-features will need some refactoring in the _forking_network.py.

I have manually merged https://github.com/awslabs/gluon-ts/pull/704 into this pull request, since the differences between the versions are so stark that no auto merge could have worked.

So from master there was a change that removed shuffling all-together except on a single batch basis.


Pandoc 3.1.6 The table crossreference works fine, but  image reports an error

pandoc.exe 3.1.6
Scripting engine: Lua 5.4
| a   | b   |
|:--- |:--- |
| e   | f   |
| c   | d   |

: table caption {#tab:tabid}

see [@tab:tabid]

[img caption](https://obsidian-weber.oss-cn-hangzhou.aliyuncs.com/picgo/202310202150932.png){#fig:img}

see [@fig:img]

If I delete the picture, it works fine

You're missing the ! at the beginning of the line. Without it, it's not interpreted as a figure:
![img caption](https://obsidian-weber.oss-cn-hangzhou.aliyuncs.com/picgo/202310202150932.png){#fig:img}

see [@fig:img]

You're missing the ! at the beginning of the line. Without it, it's not interpreted as a figure:
![img caption](https://obsidian-weber.oss-cn-hangzhou.aliyuncs.com/picgo/202310202150932.png){#fig:img}

see [@fig:img]

Sorry, I didn't write ! in my example, but the error still exists.

I have been following the implementation method of native numbering in Ms Word, and your solution is currently the only one. I hope to get your help.

That's something new in Pandoc 3. I pushed a fix and tested it locally:

Thanks for taking the time to report the issue.

Yes, it works perfectly. Thank you for your quick response!


cursor refocused on notification

Hyprland Version
3caaa483d4bf8f18f62f8a8f03a0922ea8a4cb7e
Bug or Regression?
Regression
Description
When a notification is created the mouse gets refocused.
Regression introduced in https://github.com/hyprwm/Hyprland/commit/75e579931088671fb333efd2a3923ff96b868fe9.
How to reproduce

Open two windows
Leave cursor on a window that is currently not focused
notify-send -t 1000 test
The cursor will get refocused after the notification disappears

Crash reports, logs, images, videos
No response

Fixed with https://github.com/hyprwm/Hyprland/commit/ba2af6f86d26fbf4b51aa37bf901e0118f46bbe3.


Added Hyper-V Options

Added Compression Level and Retention Points to Hyper-V job options
(Also tidied the XML up a bit!)

Thank you very much for your contribution @mikeconjoice 👍


testData generation - generate relationalCSVTables from mapping

What type of PR is this?

Improvement
What does this PR do / why is it needed ?

Which issue(s) this PR fixes:

Other notes for reviewers:
Does this PR introduce a user-facing change?

closing for the revamp mapping


fix(c/driver/postgresql): properly handle NULLs

The driver didn't handle NULL values at all! Fix this, and also instead of a homegrown array appender, just use NanoArrow. Simpler and less error prone!
Fixes #557.

I'd like to get a release out soon, ideally next week, to keep up the release cadence. Is there any hope of that refactor being done soon? Otherwise I'd like to get this in to fix the obvious bugs.

Hmm, why is endian swapping relevant for R on ubuntu?

Yeah, the actual issue is that buf isn't being advanced anymore so multiple fields fail.

Ok, fixed.

I'll merge this for now to fix the known issues - since you've already got the improvements (assertions, errors) in PR I'll leave that out of here. Let me know if you want me to pick up some of that work. Thanks for the review!


vc6 package 2021-05-18 - 6.0.2900.2180

Description
Hash for vc6 runtimes have been updated at the provides links, cookbook will fail to download the files because the checksum no longer matches.
Issues Resolved
#42
Check List

[X] All tests pass. See TESTING.md for details.

          1 Warning

:warning:
This Pull Request is probably missing tests.

  Generated by :no_entry_sign: Danger

Released as: 2.2.2


How to fix datatables jquery not responsive?

I already use div table-responsive before declare datatables, but when i add like 10 and i scroll the table to right, the search and pagination button become like that (in picture)?
Can anyone help me? Sorry for my bad english. Thankyou👌

Yes, the pagination buttons will be centered in the mobile and tablet screen. This is the default style of jQuery Datatables for Bootstrap 5. You can check more examples for jQuery Datatables for reference.

Yes, the pagination buttons will be centered in the mobile and tablet screen. This is the default style of jQuery Datatables for Bootstrap 5. You can check more examples for jQuery Datatables for reference.

But, im designing my web for computer. Can the pagination button placed in the right screen?

Yes you can.
I have made a minimal example for a datatables that place the pagination button on the right of the screen.
Check table-datatable-jquery.html

Yes you can. I have made a minimal example for a datatables that place the pagination button on the right of the screen.
Check table-datatable-jquery.html (4e06a68)

Thank youu


[BULK] - DocuTune - Rebranding of Azure Active Directory to Microsoft Entra terminology (part 17)

Applying Azure AD rebranding changes as announced on July 11, 2023 and outlined in https://aka.ms/AzureADNewName. Changes are part of the Microsoft-wide rebranding effort.
CorrelationId: 2520d58e-25ff-469e-af14-2834d2a1505e
PointOfContact: @CelesteDG
#docutune

#docutune-draft


Switched to GitHub Actions

This create a GitHub Actions file that' runs build.sh file. vendor/bin/security-checker doesn't work anymore so I deleted it
I couldn't squash the original PR so I created a new one.  Next time I'll give you a cleaner commit.
Closes #912

Thanks for this!


Contextualize cache

There is a cache collision when two files have the same name

Can we discuss implentation here, i have think about it as well, usuin md5-filename or with md5 linking to cachedir/path/to/destination


Importing: Support syncing Watch History and Ratings from Plex Login

If a user is signed in with a Plex account, they should have the option to sync their watch history and/or their media ratings. This mildly overlaps with https://github.com/sbondCo/Watcharr/issues/82.

Hey @stephaje, once #358 and #82 are completed I will definitely come back to this.
Hopefully the code will be mostly reusable for syncing so after #82 this should be much simpler.

@IRHM I can start taking a look at this, unless you'd prefer to.

@IRHM I can start taking a look at this, unless you'd prefer to.

Hey, feel free, I'll assign you. Thanks!
Should be able to use jellyfin_sync.go as a rough guide for getting it working for plex. Sorry in advance for the ungodly size of the main function in there, I didn't think it was worth (the time) separating out something like that.


Check source for application module in Igniter.Application.add_new_child/2

At the moment, we check the existing application, but this could be out of date due to some existing patch.
Here is where we check it:
    to_perform =
      case project.application()[:mod] do
        nil -> {:create_an_app, Igniter.Code.Module.module_name("Application")}
        {mod, _} -> {:modify, mod}
        mod -> {:modify, mod}
      end

This should pull from the source.

Yes, exactly.

The source code must always be the source of truth, whereas this is using the compiled code which will cause bugs down the line.

I've assigned it to you. Take a look at some of the other functions in igniter to see how to traverse source code, and LMK if you hit any roadblocks.


When the operation has been completed, I should be how to end job?

#coding=utf-8
__author__ = 'shellus'

from twisted.internet.defer import returnValue
from autobahn.twisted.wamp import Application
import sys

app = Application(u'com.example')

@app.register()
def add2(a, b):
    print("add2() called")
    return a + b

@app.register(u'com.example.hello')
def hello():
    print("hello() called")
    res = yield app.session.call(u'com.example.add2', 2, 3)
    returnValue("Hello {}".format(res))

@app.signal('onjoined')
def onjoined():
    app.session.publish(u'com.example.notice', sys.argv[1])
    # the stop code!

if __name__ == "__main__":
    app.run(u"ws://<IP_ADDRESS>:8080/ws", u"realm1")

ctrl + c is not elegant

#coding=utf-8
__author__ = 'shellus'

from twisted.internet.defer import returnValue
from autobahn.twisted.wamp import Application
import sys
from twisted.internet import reactor

app = Application(u'com.example')

@app.register()
def add2(a, b):
    print("add2() called")
    return a + b

@app.register(u'com.example.hello')
def hello():
    print("hello() called")
    res = yield app.session.call(u'com.example.add2', 2, 3)
    returnValue("Hello {}".format(res))

@app.signal('onjoined')
def onjoined():
    app.session.publish(u'com.example.notice', sys.argv[1])
    # the stop code!
    reactor.stop()

if __name__ == "__main__":
    app.run(u"ws://<IP_ADDRESS>:8080/ws", u"realm1")

I now use reactor.stop () to achieve。
This is the recommended approach it?

We are working on an improved API for running things (which will include arranging for the event-loop to terminate).
Using Twisted, you do have to arrange for reactor.stop() to get called precisely once. So, the short answer above is: yes, you need to call .stop() when you're done. You probably want to call .leave() first though.
There is twisted.internet.task.react for "client-type" things (this calls .run and .stop for you). In Autobahn, there is one of the ApplicationRunner classes (autobahn.twisted.wamp.ApplicationRunner, e.g.) which can "run" an ApplicationSession subclass. This will call .stop on (fatal) errors, but otherwise you still need to arrange for .stop to get called if you're finished.
p.s. this is a bug-tracker; pure questions are best asked on IRC (freenode) in #autobahn or on the mailing-list


DM-43223: Add Summit rubintv deployment

A good chunk of the workers configuration is for the USDF and won't work on the summit.

Worker pods configurations will be set on a different PR. See DM-44243.


Test case fail, error: No module named 'veritas.utility'

In your readme/documentation, there is no mention of the requirement to install a module "veritas". I follow the process you describe and pip install veritastool. I then try to run the next cell:
from veritastool.util.utility import test_function_cs
test_function_cs()
I get this error:
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[9], line 1
----> 1 from veritastool.util.utility import test_function_cs
2 test_function_cs()
File /usr/local/lib/python3.10/dist-packages/veritastool/init.py:1
----> 1 from .model_container import ModelContainer
3 # from os.path import dirname, basename, isfile, join
4 # import glob
5 # modules = glob.glob(join(dirname("file"), "*.py"))
6 # all = [basename(f)[:-3] for f in modules if isfile(f) and not f.endswith('init.py')]
File /usr/local/lib/python3.10/dist-packages/veritastool/model_container.py:3
1 #import ModelWrapper
2 from .custom.modelwrapper import ModelWrapper
----> 3 from veritas.utility import check_datatype, check_value, check_label
4 import numpy as np
5 import pandas as pd
ModuleNotFoundError: No module named 'veritas.utility'
Using pip install veritas does not solve this issue. I get the same error when I run this:
from veritastool.model.modelwrapper import ModelWrapper
from veritastool.model.model_container import ModelContainer
from veritastool.usecases.credit_scoring import CreditScoring

i just installed the library and ran the line "test_function_cs()". the output is as expected.

could you try to create a new Python environment and re-try?

in addtion, "veritas" is not library dependency and the line "from veritas.utility import check_datatype" cannot be found in the source codes.

Hi there, I did everything as the page states, etc. I am still getting this error, I am attaching the screenshot. I have a separate environment, all requirements installed. I am installing veritastool using pip. Is it perhaps a pip problem? This line is somewhere in some code that installs when I use pip install veritastool.

The version which is installed is 0.2.

OK, I solved it by:

Trying pip install veritastool==2.0.2, latest version
It said I had wrong python version
Changed python version to 3.10
Installing by pip install veritastool==2.0.2

I still don't understand why it installed version 0.2 after I executed simple pip install veritastool? Maybe on the main page of your GH/in readme it should say to use pip install veritastool==latest version and what python to use at the top of the page to avoid these problems I had.

that's strange. it's verified that "pip install veritastool" installs the latest version. anyway, glad that your problem has been resolved.


Preventing NPE / app crash

tested, with our AeroGear hello world:
https://github.com/jboss-mobile/unified-push-helloworld/tree/master/cordova
👍

noticed the app does crash, w/o this fix
merging....


Added functionality to allow for callables as wrapper elements

Hi all!
I was working with column wrappers when I realized that I needed to be able to define different wrapper elements under different circumstances, and I noticed that that functionality was not available.
This PR adds that functionality. Just like wrapper attributes you can define a callable in which you can add your own functionality that determines which element should be returned under which conditions.
As always: let me know what you think, if you feel like I should change something or if you think this PR is not a good addition to your project!

A new inspection was created.

The inspection completed: No new issues

It looks good to me, you may use it to evaluate if there is a value or not, and show an <a> or a <span> for instance.
I think @pxpm was behind this feature so let's hear his opinion.

A new inspection was created.

A new inspection was created.

The inspection completed: No new issues

A new inspection was created.

The inspection completed: No new issues

Thank you for your contribution @dnwjn 🙌
@pxpm let us know what you think about this feature.

Thank you for your contribution @dnwjn 🙌
@pxpm let us know what you think about this feature.

More than welcome! 💪

👏👏👏
Excellent addition @dnwjn ! Totally agree this would be useful, we should have this. Will totally merge this in 4.1 if it works as advertised.
@pxpm could you please review too?
@promatik could you please create a PR to the 4.1 docs to mention this too?

A new inspection was created.

The inspection completed: No new issues


New Error Handling and a demo implementation

New internal function "Stop-Function" used to gracefully stop other functions while still allowing for terminating errors where needed.
Implemented it in Set-DbaMaxMemory as a proof of concept.
Fixes #

Some bugs in Set-DbaMaxMemory were quietly retired.
Fixed the help test: June didn't quite catch all common parameters

Changes proposed in this pull request:

How to handle errors, combining user friendliness with error handling when used by other functions

Has been tested on minimum requirements:

[ ]  Powershell 3
[ ]  Windows 7
[ ]  SQL Server 2000

Has been tested on maximum requirements:

[ ]  SQL Server vNext
[ ]  Windows 10
[ ]  Azure Database

Tests for tester:

[ ] Working/useful help content, including link to command on dbatools web site
[ ] All examples work as advertised
[ ] Does not contain template content
[ ] Does not contain excessive/unnecessary amounts of comments
[ ] Works remotely
[ ] Works locally
[ ] Works on lower versions or throws error specifying version not supported
[ ] Works with named instances
[ ] Works with clustered instances
[ ] Handles offline/read only databases
[ ] Supports multiple servers (at the command line or piped from Get-SqlRegisteredServerName)
[ ] No un-handled errors which stop the command working with multiple servers

Closed for resubmission


quickstarts/email-users/ --> Username and Password not accepted (3 times and rechecked)

We have been implementing the quickstarts/email-users/
With a bit of trouble and some tricky kind of error in every step always but we've managed to get to the final steps.
Nevertheless, on the last part (the test to trigger the Functions) as we got no email we checked the Registry tab in the Functions section of the Firebase Console and we found the error mentioned. So the Functions were correctly saved, the trigger is being fired correctly in both cases (new and deleted accounts) but when the Function tries to send the email it returns the error mentioned Error: Invalid login: 535-5.7.8 Username and Password not accepted.
We have already followed the process mentioned in the "Learn more link" included in the error (Verified password, Allowed less secure apps, and DisplayUnlockCaptcha button) with two different email accounts in GSuite (obviously redefining the node vars and redeploying the functions in both cases as Node asks) but it keeps saying the same, even after the third change of account, redeploy and less secure apps allowance.
Any idea on what could be the matter? Or should we try with an account outside Google's domains?

Do you have 2-step auth enabled on these accounts by any chance? If so you should use an app  specific password use this link to generate one: https://security.google.com/settings/security/apppasswords
Let me know if that worked for you and I'll add a note in the README :)

Hmm, nop... Both are GSuites accounts without 2-step auth, and trying to access the link you gave we get an error "configuration not available in your account", (my version is in spanish, so the exact message states: "La configuración que buscas no está disponible para tu cuenta.").
I'll edit this answer upon this following tests:
Trying with a gmail account:
Trying with a Zoho account:
Trying with a cPanel webmail:

I think you may have to enable this setting on your Gsuite domain:
"Allow access for less secure apps" via the URL https://admin.google.com/AdminHome#ServiceSettings/notab=1&service=securitysetting&subtab=lesssecureappsaccess
Then this should allow you to generate app specific passwords which you may or may not need after this setting has been enabled. Things are definitely working for me using my Gmail account and using my google.com account (which is Gsuite more or less and has that setting enabled)

Thanks Nicolas, but at stated in the first comment of this thread, we "Allowed less secure apps, and DisplayUnlockCaptcha button" since the first error, in both Gsuites accounts.
We have just tried with zoho and we get the mentioned error in the comment just above that I've been updating with the tests, It's only missing the last one (cPanel email).

For the Error: getaddrinfo ENOTFOUND smtp.zoho.com smtp.zoho.com:465 error you need to enable billing o your account. Currently external requests are disabled by default for non-billing enabled account (eventually we'll throw a better error message at some poin)

but as stated in the first comment of this thread, we "Allowed less secure apps"...

Oops sorry for missing that. By the way it seems that from this thread this feature might take 24h to activate (in case you just turned that on).

So, the test on cPanel mail has no case...
Then, where's the error? The procedure each time is:

https://www.google.com/settings/security/lesssecureapps - OK
https://accounts.google.com/DisplayUnlockCaptcha - OK
https://security.google.com/settings/security/apppasswords - ERR "The setting you are looking for is not available for your account."
firebase functions:config:set<EMAIL_ADDRESS>gmail.password='secretpassword'
firebase deploy --only functions - OK
Test of new or deleted account - OK
Response in Functions Registries - ERR:

Error: Invalid login: 535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8  https://support.google.com/mail/?p=BadCredentials r197sm152489itb.15 - gsmtpat SMTPConnection._formatError (/user_code/node_modules/nodemailer/node_modules/smtp-connection/lib/smtp-connection.js:528:15)
at SMTPConnection._actionAUTHComplete (/user_code/node_modules/nodemailer/node_modules/smtp-connection/lib/smtp-connection.js:1231:30)
at SMTPConnection. (/user_code/node_modules/nodemailer/node_modules/smtp-connection/lib/smtp-connection.js:319:22)
at SMTPConnection._processResponse (/user_code/node_modules/nodemailer/node_modules/smtp-connection/lib/smtp-connection.js:669:16)
at SMTPConnection._onData (/user_code/node_modules/nodemailer/node_modules/smtp-connection/lib/smtp-connection.js:493:10)
at emitOne (events.js:96:13)
at TLSSocket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at TLSSocket.Readable.push (_stream_readable.js:134:10)
at TLSWrap.onread (net.js:548:20)

I'm not a Gsuite specialist but my intuition is that the "less secure app" option (1.) is taking a while to activate, otherwise you should have already access to the app password page (3.).
For any real apps I'd recommend you create an account with Sendgrid, Mailjet or Mailgun. Use these links as they come with a large free tier as well. they have noce Node SDKs too. We have some samples in the AppEngine Node docs: SendGrid, MailJet.

LOL, ok... this nightmare seems to be continuing all through the end of this amazing week already (we have been on this struggle since last Friday).
Correct me if I'm wrong in the statements at the end of each point:
-Our app is being developed in Firebase, so the triggers should come from Firebase, so the examples and solutions you mention that use Third Partiy emailers can only be used on GCP Billing-enabled accounts.
-This functionality will be a bit complicated to be implemented directly in our almost finished app (which does has a billing-enabled account in GCP), so we are first trying this email-users example directly on a test project (which obviously will not be a billing-enabled account ever) and the test should be working with the nodemailer directly.
-But the connection nodemailer is trying to the gmail smtp, so we should better wait until being able to use an App (specific) password for the outgoing gmail account (nothing to do for the rest of the day, other than wait until tomorrow).
Correct?

Yes, external requests will work on Functions if you have enabled Billing on GCP or if you are on the Flame or Blaze Firebase plan.
Yes that particular sample does not need to have billing enabled because requests to the Gmail SMTP work with free projects.
Maybe I hope this will work after 24h. IMO you should just test with a GMail account for now to make sure everything else work and that the issue with just with GSuite.

Side note: my advice is that you should enable billing even on test/dev projects. There are other features and APIs of Google Cloud that only works with billing enable projects (the Cloud Vision API for instance). It does not mean that you will be billed anything though since usually many products come with a free tier that should be enough for development. Enabling billing is mostly here to prevent abuse. However it's good to note that The Realtime Database is one of the notable exceptions where there is no free tier for Billing enabled projects which means you may be charged right away when you enable billing and use the RTDB.

ok, I'll wait for tests with gMail tomorrow and let you know here how it went.
About Billing-Enabled accounts, you got me a bit mixed with the last phrase in your Side Note... Because it contradicts what we understand from the Pricing site in Firebase:

There is a limit of 100,000 simulateneous connections per database on the Flame and Blaze plans. See Pricing FAQ for more information.

Well what I meant is: there is no free tier for The realtime database once you enable billing. SO you will start paying as soon as you ouse the realtime DB on a Billing-enabled account.
On the other hand, for instance, Cloud Functions says:

On the Blaze plan, Cloud Functions provides a perpetual free tier. The first 2,000,000 invocations, 400,000 GB-sec, 200,000 CPU-sec, and 5GB of Internet egress traffic is provided for free each month. You are only charged on usage past this free allotment

What you quoted only means there is a "hard" limit (that can be removed manually by support) of 100,000 simultaneous connections. This doesn't mention anything is free though.

Just to illustrate: If you have 1 GB stored on the Realtime Database this is free on the Spark plan. But if you switch to the Blaze plan you will be billed 5 USD/month. The Blaze plan does not include a free tier of 1 GB of storage which may be counter-intuitive.

Ok, your last comment helped a lot to understand what you mean, so there's no free tier for DATA STORED in the RealTimeDatabase for Blaze package... and indeed, it seems there's no free tier in anything under Blaze package, meaning that at least we are paying almost 7 bucks every month if I understand it correctly.
Now I get your point, we never analyzed Blaze plan deeply, since we are under development we never thought we would be charged something since the metrics of the Spark plan sounded just enough.
WELL, going back to the matter in here. One day later we have already the billing activated and the Blaze package is visible in the console of this test app, but the https://security.google.com/settings/security/apppasswords is still not working (neither in gmail, nor in Gsuite payed account after 24 hours from both ¿!? does it need a manual procedure that would be done until monday or what?) and the tests for this Firebase Function that tries to send an email through SMTP throws the following registries (the billing not configured flag is obviously not there any more):
Trying with a gmail account: STILL the same Username and Password error ¿!? (I'll include it entirely at the end of the post again, maybe you can find something helpful)
Trying with a gSuite account: STILL the same Username and Password error
Trying with a Zoho account (changed also smtp address in functions file): Error: Invalid login: 535 Authentication Failed (very different from last one... but credentials are correct)
Trying with cPanel account (changed also smtp address in functions file): Error: Invalid login: 535 Incorrect authentication data (very different from the ones above)
Trying with SendGrid: in process... will update here later
Trying with Mailjet in process... will update here later
Based on your comment ("eventually we'll throw a better error message at some poin") I feel the Node.js platform of the Firebase Functions servers isn't still allowed to establish SMTP connections, or maybe we need to do something else somewhere to activate it.

Error: Invalid login: 535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8  https://support.google.com/mail/?p=BadCredentials b129sm1867886itc.3 - gsmtp
at SMTPConnection._formatError (/user_code/node_modules/nodemailer/node_modules/smtp-connection/lib/smtp-connection.js:528:15)
at SMTPConnection._actionAUTHComplete (/user_code/node_modules/nodemailer/node_modules/smtp-connection/lib/smtp-connection.js:1231:30)
at SMTPConnection. (/user_code/node_modules/nodemailer/node_modules/smtp-connection/lib/smtp-connection.js:319:22)
at SMTPConnection._processResponse (/user_code/node_modules/nodemailer/node_modules/smtp-connection/lib/smtp-connection.js:669:16)
at SMTPConnection._onData (/user_code/node_modules/nodemailer/node_modules/smtp-connection/lib/smtp-connection.js:493:10)
at emitOne (events.js:96:13)
at TLSSocket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at TLSSocket.Readable.push (_stream_readable.js:134:10)
at TLSWrap.onread (net.js:548:20)

Mhh it looks like the credentials are not passed correctly Have you add logs to make sure the values of the password/email are correct:
const gmailEmail = encodeURIComponent(functions.config().gmail.email);
const gmailPassword = encodeURIComponent(functions.config().gmail.password);

add this below:
console.log(gmailEmail);
console.log(gmailPassword);

Just in case. And also check by running the following commands:
firebase functions:config:get

And make sure you have updated to the latest version of the firebase CLI (to v3.5.0) check it using firebase version. If you were part of the Alpha trusted tester and are still using 3.4.0 there was a bug when setting the two config variables at once...

LOL!
The firebase functions:config:get helped a lot:

"gmail": {
"password": "'secretpassword'",
"email"<EMAIL_ADDRESS>}

As I see, there's a second quote inside the variable....
Let's make a complete test removing quotes from the setter string:
firebase functions:config:set<EMAIL_ADDRESS>gmail.password=secretpassword
AMAZING! MARVELOUS!! Thanks!
gMail: Works! (First try asked for less secure apps auth by loging Error: Invalid login: 534-5.7.14)
gSuite: Works!
Zoho: Works! (First gave error because index.js from email isn't the same one as logged by smtp and it doesn't forces the change as gMail does, once changed it worked fine, but returns no email success log in the Registries, only the start and end)
cPanel: Works! (and it did returned email success log)
So, the problem comes from the setter code you included in the instructions (https://github.com/firebase/functions-samples/tree/master/quickstarts/email-users), so I would recommend you to remmove the quotes, and just give the advice for the user who get error to include quotes.
Note: https://security.google.com/settings/security/apppasswords STILL NOT WORKING (gsuite, nor gmail)
THANKS! JUST ONE TINY FAST QUESTION: Where would you recommend us to register or announce our App as a 100% Firebase Progressive WebApp once it is finished (contests, news, blogs, etc)??

@davidtaubmann can you open an issue on firebase/firebase-tools RE the extraneous quotes? Also you should contact G Suite support RE your app password.
Feel free to share what you've built on the Firebase Google Group :smile:

For some mystery reason the encodeURIComponent(functions.config().gmail.email); returns to me the @ symbol with html representation ("prueba%40gmail.com"), so this was my reason to get the error

I am still having a problem with this Quickstart even though I have fixed both of the issues above.
In regards to the above issue, encodeURI(functions.config().gmail.email); fixes the problem with the faulty html conversion for '@' because encodeURIComponent doesn't correctly translate '@'. I also used encodeURI for the password field. I logged both of these fields and they are correct.
Additionally, I have used firebase functions:config:get and both my gmail and password were correct and not mistranslated with extra quotations like they were for @davidtaubmann.
However like others, my app passwords fail. Today was the first day I enabled "allow access for less secure app" so would that be a possible reason for it failing, as that may take time to process?

Fixed it by replacing the original nodemailer.createTransport code with this:
const mailTransport = nodemailer.createTransport({
service: 'Gmail',
auth: {
user: gmailEmail,
pass: gmailPassword
}
});

Hi there, just to add on here... I spent a good few hours also puzzled about why my email and password was being rejected. It turns out the encodingtoURI is not needed. If you do use the encodingtoURI, your login will fail.
Example: encodingtoURI gives email the result ---> example%40gmail.com
Whereas excluding that will give you what is expected by the cloud function<EMAIL_ADDRESS>This is the current code:
const gmailEmail = encodeURIComponent(functions.config().gmail.email); const gmailPassword = encodeURIComponent(functions.config().gmail.password);
Change it to the following:
const gmailEmail = functions.config().gmail.email; const gmailPassword = functions.config().gmail.password;
All you have to change is two lines of code. Hope this helps someone who hit the same block as I did. I strongly encourage admin to update the example doc immediately please. This was my first experience with Cloud Functions and email client so I was terribly confused! Well I guess i should of been console logging so I could of found out sooner lol -_-

i also faced problem to sending email using account
Error: Invalid login: 534-5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbs-
534-5.7.14 3WKMnnjTmWnx3Op7hSdf2BXGhSo2hCX1CeTDDqc1q5Pn2E3FC_V8gg-UJn1s0zPF4AD-Wj
534-5.7.14 mpySp7sYQqAfCUNwJrwJEJJvelo-jtHPFnjdBPb9ADv1JqMbFPih_uF3Gil3se> Please
534-5.7.14 log in via your web browser and then try again.
534-5.7.14  Learn more at
534 5.7.14  https://support.google.com/mail/answer/78754 q66sm1392200ili.69 - gsmtp
at SMTPConnection._formatError (/srv/node_modules/nodemailer/lib/smtp-connection/index.js:771:19)
at SMTPConnection._actionAUTHComplete (/srv/node_modules/nodemailer/lib/smtp-connection/index.js:1505:34)
at SMTPConnection._responseActions.push.str (/srv/node_modules/nodemailer/lib/smtp-connection/index.js:544:26)
at SMTPConnection._processResponse (/srv/node_modules/nodemailer/lib/smtp-connection/index.js:929:20)
at SMTPConnection._onData (/srv/node_modules/nodemailer/lib/smtp-connection/index.js:736:14)
at TLSSocket.SMTPConnection._onSocketData.chunk (/srv/node_modules/nodemailer/lib/smtp-connection/index.js:189:44)
at emitOne (events.js:116:13)
at TLSSocket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
code: 'EAUTH',
response: '534-5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbs-\n534-5.7.14 3WKMnnjTmWnx3Op7hSdf2BXGhSo2hCX1CeTDDqc1q5Pn2E3FC_V8gg-UJn1s0zPF4AD-Wj\n534-5.7.14 mpySp7sYQqAfCUNwJrwJEJJvelo-jtHPFnjdBPb9ADv1JqMbFPih_uF3Gil3se> Please\n534-5.7.14 log in via your web browser and then try again.\n534-5.7.14  Learn more at\n534 5.7.14  https://support.google.com/mail/answer/78754 q66sm1392200ili.69 - gsmtp',
responseCode: 534,
command: 'AUTH PLAIN'

I had a $ in my password, which I didn't realize was stripping my string until I checked my config:
firebase functions:config:get


Mesh not-chemicals

There are some MeSH phenotype terms that don't correspond to anything in mondo or hp, so they get dropped.
"fibrosis" (MeSH:D005355) is an example.  HP/MONDO have many specific things like renal fibrosis etc, but not the concept of fibrosis itself.
UMLS does have this concept, and maps it to this mesh term, so we should be using that I think.

   The ROBOKOP version of MRCONSO only included UMLS and MEDDRA.  This led to terms missing from multiple places.  Now, I am pulling UMLS, MEDDRA, HP, LOINC, and NCIT.  There are some others I could get, linking UMLS terms to chemicals, processes, etc.