Add missing dates to the next cycle

Context
So this page raises an error https://www.apply-for-teacher-training.service.gov.uk/provider/service-guidance/dates-and-deadlines
We didn’t add holidays neither the summer recruitment banner for 2024 dates. The code could be better by not calling 2024 dates but this is an easy fix just by adding the dates.

 Sentry error: key not found: :holidays

 Update the cycle_timeline.rb file to reflect accurate cycle dates for ITT2024

@frankieroberto I was waiting for the build to be green to add the 2024 dates. Now that is green I will add the proper dates.

@frankieroberto maybe I think it is even better to add the dates in a separate PR because this PR is already huge.


Lookup does not work anymore

The lookup does not work amymore simce a few days. The following error occurs:

This page can't load Google Maps correctly.

See rendering in screenshot

Seconded, this has been an issue for a couple days. Does anyone know of similarly intuitive replacements?

The problem is that Google now requires a key to use the geocoding api that this app uses.  And you need to supply a credit card and have a google cloud account to get a key.  The card isn't charged if the account tied to the api doesn't have more than some set number of hits per month.  But I seriously doubt the Daniel wishes to tie his credit card to an untold number of people using this app.  The best bet seems to 1) create your own key and build the app for your own personal use, with the api url modified to include your key, or 2) build the app on your own, using another api that doesn't require a credit card, like Mapquest's, maybe.
I tried option 1 on Friday, signing up for a google account and getting a key.  I built the app, using Android Studio, but unfortunately the app still isn't working for me.  Haven't had a chance to dig deeper.

Wanted to post another update here.  I tried again to get option 1, above working today, and succeeded.    Here what I had to do: 1) create the google account required for getting a geocoding api key.  Add this key value to the url string in AddressToGPS-master/app/src/main/assets/AddressToGPS/index.html.  Then you need to build the apk and install it.  I had done all of the above on Friday, and it still didn't work for me.  But today, in addition to having previously allowed my key to use the Geocoding API, I needed to also allow it to use the Places API and the Maps Javascript API.  (this is done through your cloud.google.com dashboard console.)  Now, my own rebuilt copy of the AddresstoGPS app is again working.

One final problem that I should note: you can't restrict key access to your self-built AddressToGPS apk.  The geocoding api doesn't allow that.  Unfortunately, this API only allows restrictions by IP!  This is unfortunate and means that you would have to run your app from a known IP address to reduce the possibility of key theft.  Unfortunately, I'm almost always needing this app when I'm traveling. :-(
Will need to seriously look into the Mapquest api, I'm afraid.  That api key doesn't require it being tied to a credit card.  So, if the key is stolen, it isn't as problematic.

With a brief search, here are the limitations of the free tiers of several APIs (not sure if all have geocoding and which might require a credit card):
Apple - https://developer.apple.com/maps/mapkitjs/
** 25,000 free service calls per day
Bing - https://docs.microsoft.com/en-us/bingmaps/rest-services/
** 50,000 transactions per day https://www.microsoft.com/en-us/maps/product
ESRI - https://developers.arcgis.com/pricing/
** 1 million free transactions per month (~30,000 per day)
HERE - https://developer.here.com/plans
** Free tier limited to 5000 monthly active users
MapQuest - https://developer.mapquest.com/plans
** 15,000 transactions per month
TomTom - https://developer.tomtom.com/store/maps-api
** 2,500 free transactions per day

This is rather unfortunate.  I think a good approach given the simplicity of this app is to require the user to provide their own API key.  Microsoft looks like a good place to start:  https://docs.microsoft.com/en-us/bingmaps/rest-services/locations/find-a-location-by-query

Hi all.
I made a new app based on bingmaps. My first project in Android, but works well. I'm not willing to pay 25$ registration fee on Google play, and for now; it's not opensource(fdroid), so I will distribute it via this link:
https://drive.google.com/file/d/1VUHiuJKgDpQaTSyHTkORZBW-g5sTeAnS/view?usp=sharing

@Jomme5 Thanks for moving on this.  You are a step ahead of me.  I was working on something that uses mapquest.  How does the accuracy/completeness of Bing Maps compare to Google Maps and Mapquest?  I have a web page built that uses the Mapquest API to get longitude/latitude coordinates, but I can't figure out how to get that integrated into an app.  I'm not much of a developer and I've never done any Android development.
Also, wondering if it might be better to build apps without a key but have an interface where a user can supply their own key.  This might be a better route for whatever API we settle upon?  It is probably more likely to get into F-Droid that way, also.

Hi, F-Droid contributor here. We moved this app to the archive as you can see here, just to let you know ;)

as a replacement you can use https://github.com/gjedeer/Acastus which is based on openstreedmap adress data and available on fdroid

I've tried Acastus and wanted it to work.  But unfortunately, it is woefully incomplete.  It only knows about one address in my entire town.

For those who don't trust bare-naked apk downloads, you can get AddressToGPS II on Amazon.com.
cons: you have to have an Amazon-account and download/install their Appstore-app.
pro's: updates will happen automatically like in any other store-app.
Other functionality? Suggestions?

@mddvul22 :

It only knows about one address in my entire town.

Does Openstreet web page find the street?

i.e. https://www.openstreetmap.org/search?query=brandenburger tor

Can you add your example data to https://github.com/gjedeer/Acastus/issues/7 or add a new issue?

@Jomme5

Other functionality? Suggestions?

Just tried out the apk on Google Drive. It is looking fairly solid. In sometimes the results are hard to read when they are in front of the gray portion of the background image. It also might be useful to show the gps coordinates in case someone wants to copy and paste them.

I tried the linked apk but it would not install on my Android 6.0.1. Maybe yours was built requiring higher version? :(
The idea to allow for your own API key would be awesome to implement even in the existing app so we can use our own Google key.

New version(not on Amazon yet):
x More readable results.
x Copy to clipboard when long press on item.
x Set app-compatibility to 21(v5.0 Lollipop) instead of 26. Successful simulation on Lollipop.
https://drive.google.com/file/d/1zXDS5ZeNntlXaMKZwQf1oQr9xIHdscoz/view?usp=sharing

New version(not on Amazon yet):
x More readable results.
x Copy to clipboard when long press on item.
x Set app-compatibility to 21(v5.0 Lollipop) instead of 26. Successful simulation on Lollipop.
If you get an 'app not installed' error-message it may be you have to turn of (temporary)  'play proctect' in  Google Play Store for successful installation. (I'm not verified for Google.)
https://drive.google.com/file/d/1zXDS5ZeNntlXaMKZwQf1oQr9xIHdscoz/view?usp=sharing

You should start an official thread for it somewhere :). It installed for me now, but doesn't find anything specific. Always says network error.


Create module with multimorbidity interaction

Hello
Is it possible to create a module for a disease, e.g. dementia where the likelihood of getting it increases if the patient has another disease e.g heart disease or cancer ?

Yes, this is possible. There are (at least) a few different ways they can be implemented:

Fixed probabilities for the chance of getting the condition based on having and not having the pre-condition. As an example, take a look at the COPD module: https://synthetichealth.github.io/module-builder/#copd   Here we have a fixed yearly chance of getting COPD for a smoker, and a fixed yearly chance for a non-smoker (each broken down further by socioeconomic status). We used an attribute "smoker" here, but we could have used any logical check, like an Active Condition, Age, etc)
A Table Transition. https://github.com/synthetichealth/synthea/wiki/Generic-Module-Framework%3A-Transitions#table   I'm not sure offhand if we have any clean examples I can link to, but it's the same basic idea as 1 above, just with more flexibility to add a lot more combinations
Another approach we've experimented with is maintaining a counter of risk factors, then setting a % chance of an event based on the risk score. Conceptually this is like the Framingham Risk Score approach (https://en.wikipedia.org/wiki/Framingham_Risk_Score#Scoring), or there are probably a lot of similar risk score calculators. For example, if age >65 add 2 points, if the patient has active condition X add 4 points, etc, and then at the end, you turn the overall score into a % chance of acquiring the new condition. The biggest challenges here are -how to know what weighting to give each risk factor, and -how to know what % chance each total score turns into. Like I said, we've experimented with that approach and it can be powerful but it also involves major challenges to get the numbers to turn out right.

Yes, this is possible. There are (at least) a few different ways they can be implemented:

Fixed probabilities for the chance of getting the condition based on having and not having the pre-condition. As an example, take a look at the COPD module: https://synthetichealth.github.io/module-builder/#copd   Here we have a fixed yearly chance of getting COPD for a smoker, and a fixed yearly chance for a non-smoker (each broken down further by socioeconomic status). We used an attribute "smoker" here, but we could have used any logical check, like an Active Condition, Age, etc)
A Table Transition. https://github.com/synthetichealth/synthea/wiki/Generic-Module-Framework%3A-Transitions#table   I'm not sure offhand if we have any clean examples I can link to, but it's the same basic idea as 1 above, just with more flexibility to add a lot more combinations
Another approach we've experimented with is maintaining a counter of risk factors, then setting a % chance of an event based on the risk score. Conceptually this is like the Framingham Risk Score approach (https://en.wikipedia.org/wiki/Framingham_Risk_Score#Scoring), or there are probably a lot of similar risk score calculators. For example, if age >65 add 2 points, if the patient has active condition X add 4 points, etc, and then at the end, you turn the overall score into a % chance of acquiring the new condition. The biggest challenges here are -how to know what weighting to give each risk factor, and -how to know what % chance each total score turns into. Like I said, we've experimented with that approach and it can be powerful but it also involves major challenges to get the numbers to turn out right.


Schema.json

Hi Andreas,
Great work on setting this up. I have a question about the "schema.json" file- how did you generate that file? Did you manually create it?

A schema.json is generated as a result of an introspection query against a server. The query can be found here: https://github.com/graphql/graphql-js/blob/master/src/utilities/introspectionQuery.js

So when I create a new server side schema, does the "schema.json" get automatically generated (which I am not seeing) or I need to do something?

No ... this schema.json it totally out of scope of the responsibility of graphql-java. How and when you generate it is up to you.
Please consider asking those question in the future at the mailing-list (https://groups.google.com/forum/#!forum/graphql-java): This is the better for this general how-to-use problems.
Thanks
Andi

Ok thanks.


Python 3.12 support

Summary
This PR adds support for building the docs with Python 3.12 by adding setuptools as a dependency. The sphinx-tabs extension has an undeclared dependency on the Python setuptools package.
Please run pipenv sync --dev to pick up the changes in this PR.

Hello @neflyte,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

@mrckndt @nickmisasi - Could you give this a try to confirm that it addresses the blocking issue you were experiencing last week trying to set up your local docs build environments? Thanks!


[stable/dokuwiki] Remove apache and/or php volume

Signed-off-by: Carlos Rodriguez Hernandez<EMAIL_ADDRESS>The Apache configuration volume (/bitnami/apache) has been deprecated, and support for this feature will be dropped in the near future. Until then, the container will enable the Apache configuration from that volume if it exists. By default, and if the configuration volume does not exist, the configuration files will be regenerated each time the container is created. Users wanting to apply custom Apache configuration files are advised to mount a volume for the configuration at /opt/bitnami/apache/conf, or mount specific configuration files individually.
You can find more info in the container README: https://github.com/bitnami/bitnami-docker-dokuwiki/blob/master/README.md#notable-changes
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] DCO signed
[X] Chart Version bumped
[X] Variables are documented in the README.md
[X] Title of the PR starts with chart name (e.g. [stable/chart])

/retest


how to add an add-on?

hi, can you tell me how to add an add-on? I run the script "bun package-firefox" but I don't understand how to add the add-on from the archive? Is there any way to compile this into a “pix” extension?
I am collecting the UPD from source code because I am changing the language of the months and days of the week, if this can be done from within the installed add-on, I will be glad to know how to do this
I use fedora linux, firefox

To add the extension on firefox go to about:debugging#/runtime/this-firefox
then click load temporary add-on...
and select the dist folder from the mtab project

oh thank you very much, it helped me
the extension is just great!


Process spawn

Coverage remained the same at 100.0% when pulling 38152f5df63f093c7e82599caf0828a39e2db225 on process_spawn into 91d591fde9cedb72bc660559b5db35d3f8c2a2c4 on master.

Coverage remained the same at 100.0% when pulling d9c4c972a3cc79c2cd2672ed957f316fc7b8781a on process_spawn into 91d591fde9cedb72bc660559b5db35d3f8c2a2c4 on master.


[$250] [P2P Distance] Distance rate - Error when selecting distance rate that no longer has tax rate

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: v9.0.21-3
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause Internal Team
Action Performed:
Precondition:

Track tax is enabled.
Create a Distance rate X that has Tax rate and Tax reclaimable on.

Delete tha tax rate that is assigned to Distance rate X from the precondition.
Go to workspace chat.
Submit a distance expense with another distance rate that is not Distance rate X.
Go to transaction thread.
Click Rate.
Select Distance rate X.

Expected Result:
App will not throw error when selecting a distance rate that no longer has tax rate (tax rate is deleted after it is assigned to distance rate).
Actual Result:
App throws error when selecting a distance rate that no longer has tax rate.
Workaround:
Unknown
Platforms:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x ] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/0d7b785e-09ac-4256-9f22-019b2a42fb9f

https://github.com/Expensify/App/issues/47613#issuecomment-2307640614
On NewDot in the workspace settings, I propose this change to make it clearer that the Tax rate and Tax reclaimable on set on a distance rate are interlinked:
Don’t show the Tax reclaimable on field until a Tax rate is selected.
Note: This would be similar to how we show certain fields in settings after a selection that comes before it, i.e monthly for scheduled submit reveals a Date field etc).
If the Tax rate being used on the distance rate is deleted in Taxes, clear both the Tax rate and Tax reclaimable on values. We would then also hide the Tax reclaimable on field again as Tax rate is empty.
Note: This would prevent an “unexpected error” from occurring, as you can’t get into a situation where there’s a Tax reclaimable on value without a Tax rate selected.

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01def12cd4fe837196
Upwork Job ID:<PHONE_NUMBER>986953227
Last Price Increase: 2024-08-26

Issue OwnerCurrent Issue Owner: @DylanDylann

We think that this bug might be related to #wave-collect - Release 1

@OfstadC  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

I feel like it should show an error, no? Going to discuss in Slack.

Slack discussion ongoing

@trjExpensify Could you confirm expected behavior here? I don't have the tax option on Distance rates in NewDot 🤔

Adding @MonilBhavsar here per the thread.

On NewDot in the workspace settings, I propose this change to make it clearer that the Tax rate and Tax reclaimable on set on a distance rate are interlinked:

Don’t show the Tax reclaimable on field until a Tax rate is selected.

Note: This would be similar to how we show certain fields in settings after a selection that comes before it, i.e monthly for scheduled submit reveals a Date field etc).

If the Tax rate being used on the distance rate is deleted in Taxes, clear both the Tax rate and Tax reclaimable on values. We would then also hide the Tax reclaimable on field again as Tax rate is empty.

Note: This would prevent an “unexpected error” from occurring, as you can’t get into a situation where there’s a Tax reclaimable on value without a Tax rate selected.

@daledah if you want to update your proposal based on this^

@DylanDylann could you please take a look at the proposal based on this expected outcome https://github.com/Expensify/App/issues/47613#issuecomment-2307640614
bas

@dominictb's proposal looks good to me. I see some minor problems in your implementation. However the detailed implementation will be discussed more in the PR phase.
🎀 👀 🎀 C+ reviewed

Waiting for @MonilBhavsar to give the final assignment

@MonilBhavsar Bump on the above comment

Sorry for missing this out.
Yep the proposal partially fixes the issue.
It is missing details to fix following part of the issue -

Don’t show the Tax reclaimable on field until a Tax rate is selected.

and also, if we delete the tax rate, we need to hide the tax reclaimable field. cc @daledah

Not overdue. @MonilBhavsar Please recheck this one

Sounds good 👍 Thanks for clarifying

@trjExpensify a quick question here. If user deletes a tax rate associated with distance rate, should we display an error/confirmation if they really want to delete it and deleting it would also clear tax rate from distance rate, or we should delete it without any notification

Update: Waiting for BE change from @MonilBhavsar

Submitted PR for review. It is expected to be live on staging early next week

App PR is merged!

@DylanDylann Could you please complete the BZ checklist? Thanks! 😃

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
[@DylanDylann] The PR that introduced the bug has been identified. Link to the PR: NA
[@DylanDylann] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: NA
[@DylanDylann] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: NA
[@DylanDylann] Determine if we should create a regression test for this bug. Yes
[@DylanDylann] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
Regression Test Proposal
Precondition:

Track tax is enabled.
Create a Distance rate X that has Tax rate and Tax reclaimable on.

Go to workspace settings > Taxes
Delete the tax rate that is assigned to Distance Rate X from the precondition
Go to the distance rate page
Select Distance rate X
Verify that: the tax rate is empty and Tax reclaimable on is hidden

Do we agree 👍 or 👎

Payment Summary

@DylanDylann paid $250 via Upwork
@daledah offer sent here - please accept so I can issue payment😃

Had to create new job post here

@daledah please accept offer so I can issue payment. Thank you!

Paid - closing issue. Thanks everyone!


Adopt APScheduler for all things scheduled and polling

Per the 11/6 Technical feature discussion: Adopt APScheduler for all cases where a task is scheduled that polls AD/AAD/RethinkDb for changes. Get a generic pattern in place that can be used whenever a daemon is needed.

migrated to new tmobile/sawtooth-next-directory repo


Transaction details

Is there a way to retrieve all information from the response of a transaction?  I see getTransactionReference(), but it only returns a single transaction identifier (string).  I can see the auth code and other values by var_dump()'ing the ResponseInterface object, but they're all protected.
I created my own "omnipay"(ish) implementation once, and each payment gateway instance would return an associative array of all of the response values. Does something like this exist in Omnipay? I saw nothing while perusing the source.

There is the getData() function.
Which gateway are you using? A few of the gateways have some other miscellaneous functions for getting data out of the response.

Ah, thanks... that does return the data - although it's not associative.  For now, just Authorize.net (AIM), but eventually others as well. I'd prefer to store as much response data as I can with a transaction, just for reference.
If some gateways have other miscellaneous functions for getting response data, doesn't that work against the goal of Omnipay (single API, multiple gateways)?
It seems that would lead to gateway specific code in an application.

I submitted a PR for this, but haven't a clue how to resolve the remaining build error :(
https://github.com/thephpleague/omnipay-authorizenet/pull/13

Just the public API methods are the same for each gateway. Not every gateway has the same data available so would be impossible to abstract all of it..


MTConnector failed

Hi,
I've installed MtApi.exe on 3 VPS. I get error "cannot load MTConnector.dll" in last Mt4 platform, while two other VPS were ok.
What can be wrong in last VPS? // have you any suggestion how repair this problem?
The only difference I found is number of installed platforms. First two vps have two platforms, but last one has 19 installed platforms. Is it effective parameter!?

I have similar problem when trying to connect your testing application to MT4 on a VPS (Windows Server 2012 R2). The connection fails by simply stating this in status bar. Thanks to this question I checked and found some skipped updates. I'll post update how it worked.
You could consider adding more verbose message in your test app when connection fails. My use case is I'm new to MtApi and testing it with your test app. After a local success I tried moving the test app to VPS where runs live MT4 terminal. Unlike on my PC, connection fails. I think that newcomers could have similar progression and it could help more of us.

Hello.
Thank you for this information. This is very major to collect all problems with the project on all systems. Unfortunately, I don't have environment with Windows Server 2012 R2 to test it so I appreciate your help.
As for test application, you are right, I will try to improve it to get maximum information and descriptions of the problems.

You're very welcome, I really like your project.
I also struggled with expert setting "Allow live trading", which I thought didn't have any impact on ability to simply connect to the terminal, but it has. In other words, it has to be allowed, or connection fails. So, as a result, I really don't know what was the real problem. Maybe there were more of them at the same time. :)

MtApi5 MQL expert has condition to check "allow live trading". I don't remember why I have added it.
if (MQL5InfoInteger(MQL5_TRADE_ALLOWED) == false)
{
MessageBox("Trade not allowed.", "MtApi", 0);
isCrashed = true;
return (1);
}
I will try to test the expert without this condition and if it will work stable I will make release that will not require live trading enabled.

Yes, that would make sense. The question is, does the API count with being able to connect but at the same time not being able to make trades? Maybe the condition should be checked in the "send order" part...
Btw. I use the MT4, not MT5.

Hi, so I have this working on my local machine but when I try use it on a windows server 19 VM it doesn't work much like the author of this ticket. I have double checked the version but no joy. Installed both mt5 and mt4 from installer and installed wix.

Thanks

Hi, so I have this working on my local machine but when I try use it on a windows server 19 VM it doesn't work much like the author of this ticket. I have double checked the version but no joy. Installed both mt5 and mt4 from installer and installed wix.

Thanks

@BryanStackpole  Do you still have the error?

@vdemydiuk I'm facing this error as well....
My vps is using windows server 2012

Had the same issue on Windows Server 2016. Installed VS2022 with c++ and c# dependencies and that solved the problem.


Apparently issue on mahalanobis distance calculation while using pdist

I wanted to compute mahalanobis distance between two vectors, with a known distribution Variance-Covariance Matrix inverse named VI.
I have compared the results given by:

dist0 = scipy.spatial.distance.mahalanobis(array1, array2, VI)
dist1 = scipy.spatial.distance.pdist(m, metric="mahalanobis", VI=VI)
with m = [[array1], [array2]]
dist2 = scipy.spatial.distance.mahalanobis(m[0], m[1], VI)
dist3 = manual implementation of mahalanobis distance

All the 4 distances should be equal, nevertheless dist1 is the only one different from the others.
Reproducing code example:
import numpy as np
import scipy.spatial.distance as scipy_distance
import pickle

def computeMahalanobisDistance(array1, array2, vi):
    x = np.copy(array1)
    y = np.copy(array2)
    # force vectors to be column
    x.shape = (len(x), 1)
    y.shape = (len(y), 1)
    m = np.concatenate((x, y), axis=1)
    m = np.transpose(m)

    scipyDist = scipy_distance.pdist(m, metric="mahalanobis", VI=vi)
    scipyDist2 = scipy_distance.mahalanobis(array1, array2, vi)
    scipyDist3 = scipy_distance.mahalanobis(m[0], m[1], vi)
    if len(x) != len(y):
        print("error, vector must have the same dimension")
    diffVec = x - y
    temp = np.matmul(np.transpose(diffVec), vi)
    dist = np.sqrt(float(np.matmul(temp, diffVec)))

    print("distance", dist)
    print("scipy distance", scipyDist)
    print("scipy distance 2", scipyDist2)
    print("scipy distance 3", scipyDist3)
    return dist

if __name__ == "__main__":
    array1 = pickle.load(open(r"array1.pickle", "rb"))
    array2 = pickle.load(open(r"array2.pickle", "rb"))
    v = pickle.load(open(r"trainPatientCovarianceMatrix.pickle", "rb"))
    vi = np.linalg.inv(v)
    _ = computeMahalanobisDistance(array1, array2, vi)

Error message:
no error message. Output in my terminal is:
distance 11.703891989728923
scipy distance [11.66951974]
scipy distance 2 11.703891989728923
scipy distance 3 11.703891989728923
Scipy/Numpy/Python version information:
<<Output from 'import sys, scipy, numpy; print(scipy.__version__, numpy.__version__, sys.version_info)'>>

scipy version: 1.0.0
numpy version: 1.14.2
sys.version_info(major=3, minor=6, micro=4, releaselevel='final', serial=0)
array1.log
array2.log
trainPatientCovarianceMatrix.log

By the way, here's another method to compute the Mahalanobis distance that is mathematically equivalent to those in the script but it also gives a different value:
In [85]: delta = array1 - array2

In [86]: y = np.linalg.solve(v, delta)  # Mathematically equiv. to y = inv(v).dot(delta)

In [87]: np.sqrt(delta.dot(y))
Out[87]: 11.710250447675168

Because the problem is in the input (a poorly conditioned covariance matrix), I'm closing this issue.

Thanks for your answer.
I suspected the problem to come from my ill-posed problem, but i could find nowhere in the documentation why to implementation of Mahalanobis distance in Scipy would give a different solution.


Rancher host gets stuck in inactive state

I deleted a stack then for some reason the host went into the reconnecting state. When looking into the storage tab in the UI, I do see a lot of volumes stack in the "purging" state.

Useful
Info

Versions
Rancher v1.0.1 Cattle: v0.159.7 UI: v1.0.5

Access
github

Route
host.storage

Sometimes different states stuck here with a setup based on three hosts.
Stuck creation, hosts stay deactivated instead of be active.
Maybe related, so I'll follow here...

@etaullaj Are you able to consistently reproduce this?
It sounds like you're using storage pools/volumes? Could you share your docker-compose.yml of your stack so I could see how you're using volumes?
@pwFoo Do you have any steps to consistently reproduce so we could try?
Iv'e deleted multiple stacks and have yet to hit this issue. Also, could both of you provide your OS for your hosts and your general Rancher setup?

@etaullaj @pwFoo If you have reliable steps to reproduce, please re-open.


Paket does not create app.config when binging redirect is specified

Description
Paket does not create app.config when binging redirect is specified for a NuGet dependency.
Repro steps

Add nuget Moq redirect: on
Add Moq to paket.references to project without app.config.
Run paket install

Expected behavior
app.config should be created and added to the project
Actual behavior
No files is created
Known workarounds
Create app.config in advance.

We have special parameter to create new binding files

Note to self: RTFM!


Append to Elastirini reproduction log

I succeeded, although it wasn’t much that I did. I only deleted the schema (curl -X DELETE 'http://localhost:9200/msmarco-doc'), restarted Elastic Search, and started from the very beginning.

Codecov Report

Merging #1736 (403a1af) into master (06fb4f9) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #1736   +/-   ##
=========================================
  Coverage     57.58%   57.58%
  Complexity     1032     1032
=========================================
  Files           173      173
  Lines          9781     9781
  Branches       1344     1344
=========================================
  Hits           5632     5632
  Misses         3675     3675
  Partials        474      474

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 06fb4f9...403a1af. Read the comment docs.

Retrieval took over 2 hours for me though, and here's my system and software


Create AndroidStudio.gitignore

Create Android Studio gitignore template

@HIPERCUBE there's also an Android.gitignore at the root of the repository - if you think there are some additions that would help improve that, please submit a PR for that.

I check Android.gitignore, and add some additions.
please check #1860


Smoothness testing in GuessSmoothPointPen

GuessSmoothPointPen looks like passing coordinates to math.atan2(y, x) in wrong order:
https://github.com/fonttools/fonttools/blob/b3acb8b984aaa78732d869c356ebd6fa126b000b/Lib/fontTools/pens/pointPen.py#L369-L370
Also, I'm a bit concerned about the choice of the hard-coded threshold value:
https://github.com/fonttools/fonttools/blob/b3acb8b984aaa78732d869c356ebd6fa126b000b/Lib/fontTools/pens/pointPen.py#L371-L372
0.05 rad roughly equals to 2.865 deg, and I'm afraid it would cause too many false positives when handling kinks.
>>> upm = 1000.0
>>> math.degrees(math.atan2(1.0, upm))
0.05729576041450061

Apart from inflection points, I suppose 0.05 deg should be rather appropriate for my cases. The newer version found in fontPens allows me to configure the threshold, thus keeping the code in sync might just fit my needs though.
I believe the code itself hasn't been changed for almost 20 years, thus that makes me skeptical if my guess is valid.

Well spotted about the y, x atan2 argument order! Luckily it doesn't make a difference for this case.
I agree that a parametrized tolerance would be better, and perhaps we should sync with the fontPens version. PR welcome.

I kept reading "Guess" as "Gauss" and kept being baffled...


Lists - Inline Edit field can no longer be used to edit an undisplayed column

Category

[x]  Question

Environnment

[x] Microsoft Lists

Question
Until now I had formated a column to display a progess bar which contained two spans allowing me to display and edit the values of the fields used to calculate the bar features. Those fields were not displayed on the view, so I used a small workaround to be able to work with their values : I created a calculated field using both values in its expression which made them available to use in the column formating json. This setup allowed me to have something very handy and compact with everything in a single column.

It worked like a charm until a few days ago but not anymore. I can still access the fields values with my workaround, but the inline editing no longer works. Seems like the editing of an undisplayed is not allowed anymore. Is it an intended restriction or a bug ?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: c6867b88-69fc-2b4e-4b37-1912884ab6e0
Version Independent ID: c6867b88-69fc-2b4e-4b37-1912884ab6e0
Content: Advanced formatting concepts
Content Source: docs/declarative-customization/formatting-advanced.md
Service: sharepoint-online
GitHub Login: @VesaJuvonen
Microsoft Alias: vesaj

@jbbru thank you for posting this.  I have also run into this same issue.  Additionally, Issue 8274 is another problem - this is with inline editing on board view.

hi team, exist any command for line edit a colum of Document library?

@Odiseo78, can you provide more insight into your question? On both lists and libraries. I use the same command with great success: "inlineEditField": "[$InternalFieldName]"

hi, thanks for your response. I tried in a library field it has not worked, but in a list field it did work,

It's right. Than you @jphepp3


The Home screen should be extendable with new sections

Currently the home screen that appears when opening GtWord has a predefined list of sections. This screen should be extendable through extension methods.

Yes! I think we should organize it like this:

GtHome has methods annotated with <gtHomeSection> returning GtXYZHomeSection classes
a GtXYZHomeSection class has methods annotated with <gtHomeItem> that returns the tile

Later on, we might want to have different type of sections or items.

Currently the world sections are obtained using pragmas:

We can close it for now.


C++ can not expose properly typed properties that return Script classes

Tested versions
4.3-stable
System information
Windows 11
Issue description
I am currently trying to add some properties to a C++ class that return GDScript classes. While everything is linked correctly in the documentation and autocomplete is working,

trying to access the properties or casting them to the GDScript type results in

Maybe I am doing something wrong but it seems the issue is this part here:
https://github.com/godotengine/godot/blob/ce8a837aab2568f9cdc41b4b410c478b0cd711fc/modules/gdscript/gdscript_analyzer.cpp#L5710
Where p_source is SCRIPT and p_target is CLASS
When I implement the same functionality in GDScript, both p_source and p_target are CLASS
Steps to reproduce

Minimal reproduction project (MRP)
class ManagerMethodBind : public MethodBind
{
protected:
    Variant::Type _gen_argument_type(int p_arg) const override
    {
        return Variant::OBJECT;
    }

    PropertyInfo _gen_argument_type_info(int p_arg) const override
    {
        return PropertyInfo(m_class);
    }

public:
#ifdef DEBUG_METHODS_ENABLED
    GodotTypeInfo::Metadata get_argument_meta(int p_arg) const override
    {
        return GodotTypeInfo::METADATA_NONE;
    }
#endif

    Variant call(Object* p_object, const Variant** p_args, int p_arg_count, Callable::CallError& r_error) const override
    {
        return static_cast<Manager*>(p_object)->get_manager(m_name);
    }

    void validated_call(Object* p_object, const Variant** p_args, Variant* r_ret) const override
    {
        *r_ret = static_cast<Manager*>(p_object)->get_manager(m_name);
    }

    void ptrcall(Object* p_object, const void** p_args, void* r_ret) const override
    {
        *static_cast<Object**>(r_ret) = static_cast<Manager*>(p_object)->get_manager(m_name);
    }

    ManagerMethodBind(StringName name, StringName cls)
        : m_class(cls)
    {
        m_name =Manager::get_manager_name(cls);
        set_name(name);
        _set_returns(true);
        _generate_argument_types(0);
        set_argument_count(0);
    }

private:
    String m_name;
    StringName m_class;
};

void get_script_managers(const String& p_class, List<StringName>& r_inheriters)
{
    Array script_classes = ProjectSettings::get_singleton()->get_global_class_list();
    for (int i = 0; i < script_classes.size(); i++)
    {
        Dictionary c = script_classes[i];
        if (!c.has("class") || !c.has("language") || !c.has("path") || !c.has("base"))
        {
            continue;
        }
        if (String(c["base"]) == p_class)
        {
            r_inheriters.push_back(c["class"]);
        }
    }
}

void Manager::_bind_methods()
{
    auto bind_manager = [](const StringName& mgr)
    {
        const auto method_name = "get_" + get_manager_name(mgr);
        ClassDB::bind_method_custom(get_class_static(), memnew(ManagerMethodBind(method_name, mgr)));
        ADD_PROPERTY(PropertyInfo(Variant::OBJECT, get_manager_name(mgr),
            PROPERTY_HINT_RESOURCE_TYPE, mgr, PROPERTY_USAGE_READ_ONLY), "", method_name.utf8());
    };

    List<StringName> game;
    ClassDB::get_inheriters_from_class("GameManager", &game);
    get_script_managers("GameManager", game);
    ADD_GROUP("Game", "");
    for (const auto& mgr : game)
    {
        bind_manager(mgr);
    }
}

Download
https://www.mediafire.com/file/jc5ws0hujgycrp5/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Your MRP isn't complete (it's not even a complete class, the header for the Manager, along with many methods are certainly missing), making it pretty hard to decipher what's going on there. If you'd provide an entire example, that would make testing a lot easier.

Well effectively I am just retrieving (Script) classes that  inherit from "GameManager" and then generate a getter. The relevant part is that for GDScript classes I use PropertyInfo["class"] as both the name as well as the type. Ie
extends GameManager
class_name CombatManager

Would create a C++ property:
ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "combat",
            PROPERTY_HINT_RESOURCE_TYPE, "CombatManager", PROPERTY_USAGE_READ_ONLY), "",  "get_combat");

Which shows up correctly in the doc. You just cant use it. Changing this to
ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "combat",
            PROPERTY_HINT_RESOURCE_TYPE, "GameManager", PROPERTY_USAGE_READ_ONLY), "",  "get_combat");

works. However then the autocomplete is only considering GameManager properties

Have you been able to make a complete MRP?

Here you go:
namespace
{
class GDScriptMethodBind : public MethodBind
{
protected:
    Variant::Type _gen_argument_type(int p_arg) const override
    {
        return Variant::OBJECT;
    }

    PropertyInfo _gen_argument_type_info(int p_arg) const override
    {
        return PropertyInfo(m_class);
    }

public:
#ifdef DEBUG_METHODS_ENABLED
    GodotTypeInfo::Metadata get_argument_meta(int p_arg) const override
    {
        return GodotTypeInfo::METADATA_NONE;
    }
#endif

    Variant call(Object* p_object, const Variant** p_args, int p_arg_count, Callable::CallError& r_error) const override
    {
        return static_cast<ExposeGDScript*>(p_object)->get_gdscript();
    }

    void validated_call(Object* p_object, const Variant** p_args, Variant* r_ret) const override
    {
        *r_ret = static_cast<ExposeGDScript*>(p_object)->get_gdscript();
    }

    void ptrcall(Object* p_object, const void** p_args, void* r_ret) const override
    {
        *static_cast<Object**>(r_ret) = static_cast<ExposeGDScript*>(p_object)->get_gdscript();
    }

    GDScriptMethodBind(const StringName& name, const StringName& cls)
        : m_class(cls)
    {
        set_name(name);
        _set_returns(true);
        _generate_argument_types(0);
        set_argument_count(0);
    }

private:
    StringName m_class;
};
}

void ExposeGDScript::_bind_methods()
{
    const auto method_name = "get_gdscript";
    ClassDB::bind_method_custom(get_class_static(), memnew(GDScriptMethodBind(method_name, "GDScriptProperty")));
    ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "script_property",
        PROPERTY_HINT_RESOURCE_TYPE, "GDScriptProperty", PROPERTY_USAGE_READ_ONLY), "", method_name);
}

extends Node
class_name GDScriptProperty

## test func
func test() -> void:
	print("test")

extends Node

func _init() -> void:
	var expose := ExposeGDScript.new()
	expose.script_property = GDScriptProperty.new()
	var test : GDScriptProperty = expose.script_property

Please provide a complete project to help testing this

I mean how do you want that? This needs to be part of the engine build

Got it! Wasn't clear this was for a module, as it was tagged with GDExtension
Can't test and build this right now (and it might depend on where you register it, so the example is still incomplete)
But exports in GDScript only work with Resource, Node or built-in types, so can you test what happens if you make this class a Resource type? It isn't possible or supported to export other types because of how export serialization is done


Improve taintedness inference for native functions

Purpose
$subject

Closing and resending as https://github.com/ballerina-platform/ballerina-lang/pull/16841


Common wrapper screen with navigation

The screen should contain all the components that the current admin has: Top summary bar with "Connected to", "Issues", "Servers", "Tables"
Status bar:
Servers
N server connected
N servers missing
Tables
N tables ready
N tables with issues
Indexes
N secondary indexes
N indexes building
Resources
X% cache used
X Bytes disk used

@oferitz Just a quick FYI - i'm working on this along with the dashboard page.
Here is the branch - https://github.com/RebirthDB/rebirthdb-desktop/tree/%239%26%237-dashboard-page-and-info-panel
I estimate to get these both to full completion - data, chart, UI, will take me about 3-4 weeks.

https://user-images.githubusercontent.com/1857466/40423520-843d60a4-5e9b-11e8-8848-4e5a0e5efccc.png
@oferitz any advice on where to find svg icons for these?

@sagivf i will provide you the SVG icons ASAP

@sagivf Icons added as part of #34


libreswan: 4.9 -> 4.10

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/libreswan/versions.
meta.description for libreswan is: A free software implementation of the VPN protocol based on IPSec and the Internet Key Exchange
meta.homepage for libreswan is: https://libreswan.org
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
Warning: a test defined in passthru.tests did not pass
found 4.10 with grep in /nix/store/i5ni14bbvsrhw19rb21xgifnxn8q6y9w-libreswan-4.10
found 4.10 in filename of file in /nix/store/i5ni14bbvsrhw19rb21xgifnxn8q6y9w-libreswan-4.10

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
hash-slinger
libreswan

Instructions to test this update (click to expand)

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

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/i5ni14bbvsrhw19rb21xgifnxn8q6y9w-libreswan-4.10
ls -la /nix/store/i5ni14bbvsrhw19rb21xgifnxn8q6y9w-libreswan-4.10/bin

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

2 packages built:

hash-slinger
libreswan

Maintainer pings
cc @afranchuk @rnhmjoj for testing.

https://libreswan.org/security/CVE-2023-23009/CVE-2023-23009.txt
https://download.libreswan.org/CHANGES

I'd rather patch 22.11 because

they explicitly include a patch in the announcement
the bug was introduced by a +0.1 release ;)

@ofborg test libreswan
this is simply flaky for me (and was before this too), try one more time...

I'll do the backport/patch


mesh: try fetch blocks from consensus output

Motivation

help alleviate impact of #2876

Changes

hare may not have all blocks in the consensus output due to gossip delay, try to fetch all blocks after we receive hare output.
Test Plan

unit tests
DevOps Notes

[x] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources)
[x] This PR does not affect public APIs
[x] This PR does not rely on a new version of external services (PoET, elasticsearch, etc.)
[x] This PR does not make changes to log messages (which monitoring infrastructure may rely on)

i guess this is a good change, as we may learn about new blocks from hare, so it makes sense to download them at that point as well.
but feels bad that fetcher is now a dependency in hare. i would try to keep hare only about consensus and move everything else outside. maybe it is better if mesh will have a dependency on fetcher?

i was torn too btwn hare and mesh. so since you have a preference i'll go with yours.
my original thought is that mesh receive HandleValidatedLayer from syncer and hare, also had assumptions that all the data it needs is in the mesh already. since hare created this output, it's more logical to ensure the blocks are downloaded after the output is generated.
in any case, changed to fetch in mesh.

bors try

bors merge

try
Build failed:

ci-stage2

i canceled this manually


Create pipeline BotBuilder-JS-CI-node12-yaml

...and normalize botbuilder-js-ci.yml.
The pipeline: https://fuselabs.visualstudio.com/SDK_v4/_build?definitionId=1008&_a=summary
This satisfies issue #2331.

Pull Request Test Coverage Report for Build 144026

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

Totals

Change from base Build 143855:
0.0%

Covered Lines:
12988

Relevant Lines:
15377

💛  - Coveralls


Enable the AppC image provider.

The AppC image provider allows Mesos to provision AppC images with its
Mesos containerizer (aka Unified containerizer).

Would need an integration test to land.

No progress in over a month, closing. Please re-open when the tests are here.


Bundle diff check prod pipeline

Signed-off-by: jonahjon<EMAIL_ADDRESS>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.

/approve


ImageDimensions trait could use Size

The ImageDimensions trait contains a width and height getter which could be replaced by a single size getter. This would make it easier to use without having to manually create a Size.
@jamwaffles: Or was there any specific reason we didn't use Size in this case? ImageDimensions was introduced in #247 and just reused the same getters as the old ImageFile trait. So I guess we just didn't consider changing it and not that there is a specific reason to keep the separate getters.

I think it should be pretty easy to remove ImageDimensions entirely. Is there a reason not to? I can take those changes on if you're not already working on it.


Add configuration to determine the timeout of plugin

Default to 30s

@rickmak, thanks for your PR! By analyzing the history of the files in this pull request, we identified @cheungpat to be a potential reviewer.

s/Add configuration to determine the timeout of plugin/Add configuration for timeout of plugin/

cherry-picked as ee4c9fc


StandardScaler: TypeError: 'Series' object does not support item assignment

As in the title , I am getting this error while running the standardscaler.
I also run the same Minmaxscaler on the same dask dataframe to check if there are problems with it.

@TomAugspurger  : I am using version 0.4.1

Could you try with 0.6.0?
On Wed, Jun 20, 2018 at 2:54 AM, dma092<EMAIL_ADDRESS>wrote:

@TomAugspurger https://github.com/TomAugspurger : I am using version
0.4.1
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask-ml/issues/214#issuecomment-398658639, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABQHIrLM8a45FPf5Q0tWPwZ_u0guTksJks5t-f_EgaJpZM4UtTyl
.

problem solved with 0.6.0


Add AudioTrackProvider to allow access to AudioTrack instance

Opening this as a question, but maybe it's a bug.
To implements fades properly with VolumeShaper there's a need to access the AudioTrack.
While it's not an issue to expose it in a fork and use the events onAudioTrackInitialized (Well if we ignore the https://github.com/androidx/media/issues/1728 issue), the order of the events between audio track initialization and the playing state are not consistent.
The onIsPlayingChanged or onPlaybackStateChanged can be called before the AudioTrack is actually initialized (So obviously it's not actually already playing).
This makes things a little more complicated to manage all the cases, specially when audio track can be reused or recreated during media change and with the delayed release there's even cases when potentially the previous audiotrack is not released and the app could try to apply the volumeshaper to the wrong one.
Is there something I'm missing or a better event / way to handle those cases ?

Also pinging @tonihei since he did the rework on the audiotrack async init/release and the recent changes to volume ramp kinda match the needs here.

The onIsPlayingChanged or onPlaybackStateChanged can be called before the AudioTrack is actually initialized (So obviously it's not actually already playing).

Just for reference, we also have an internal bug for this: b/165787154. We haven't changed any logic for this though as it seems likely a relatively risky change, because parts of our code or code in apps using ExoPlayer could accidentally rely on this behavior, and we haven't seen a major problem with the current behavior (besides the potential misleading listener order).
For figuring out when audio started playing exactly, we have onAudioPositionAdvancing. This method will only be called after playback actually started though once we know the exact time audio started advancing. I assume this is not what you are looking for here though?

order of the events between audio track initialization and the playing state are not consistent

This part is actually expected. The audio track initialization is a fairly low-level analytics callback that is sent directly from the component where it happened. The playing state is part of the core Player.Listener class and has more guarantees about ordering and consistency with the rest of the player state.

Is there something I'm missing or a better event / way to handle those cases ?

I haven't actively used VolumeShaper before. What kind of events would be needed to make the integration work nicely from your perspective?

@tonihei  VolumeShaper by itself is pretty easy to use, the only actual issue is getting access to the proper AudioTrack to be sure to apply the correct effect to the correct place. Because we create the shaper from the AudioTrack via audioTrack.createVolumeShaper.
So we can actually ignore that and just think about getting access to the proper AudioTrack  at the proper moment (and know when it changes).
The first necessary step would be to have an access to the AudioTrack to create the shaper (Easy in a fork).
Then depending on the needs (fade in, fade out, fade between) we need to have a signal to properly apply the shaper (or create and apply) on the proper AudioTrack.
From an ForwardingAudioSink I can overwrite play and pause to handle the fade in, fade out.
But there's already the case where the AudioTrack is not always present when play is called so we need to then delay the init when receiving onAudioTrackInitialized (With the https://github.com/androidx/media/issues/1728 issue that makes it a little harder than necessary).
While this is not really hard this works.
Now comes the fade between and the difficulty.
For the fade out, we send a message with the timestamp, then apply the shaper in theory there's always the proper AudioTrack, and if not then nothing is probably playing or a more important issue.
Then fade in and the difficulty:
The AudioTrack can be reused or another one created and the previous one destroyed.
Issue is that we can't know before hand if it will be reused or not, and when there's another one created, the previous one is destroyed asynchronously.
So since the events may not arrive in the correct order, we may think we already are playing on the new AudioTrack but we are not yet and since the previous one is not yet released we can think we access the proper one and can't rely on the fact that it would be null for example.
So TL;DR, the need is to reliably know when we can access the proper AudioTrack in play and during track change with or without new AudioTrack creation.

@tonihei
So looking a little more in DefaultAudioSink and all the different cases, I think the need can be quite simply filled by adding an onAudioTrackConfigured event to AudioSink.Listener.
Then in handleBuffer add a var audioTrackWasConfigured. Set it to true if pendingConfiguration!=null and after the try catch for the !isAudioTrackInitialized().
Then call the event if audioTrackWasConfigured is true.
This ensure that we are always called with a valid audioTrack ready, before any played data for that audioTrack and handle reusing, first audioTrack, and new audiotrack on media change.

So looking a little more in DefaultAudioSink and all the different cases, I think the need can be quite simply filled by adding an onAudioTrackConfigured event to AudioSink.Listener.

We could add that is it's useful, but given your "edit" below I'm not sure if it covers what you need still? Please confirm if it's useful to solve this issue and we can add the callback.

Edit: So no it does not work for audioTrack reuse the event is sent too early and the track is still playing the previous item.

When we reuse the AudioTrack, it will be one continuous playback with the actual transition happening seamlessly some time after sending down the audio samples into the pipeline. The only way to know when the transition point is reached is by listening to the playback position I think. If your goal is to apply something at the transition point, I wonder if it would be better to use the audio processors in ExoPlayer rather than VolumeShaper?

the only actual issue is getting access to the proper AudioTrack

We have a pending internal change for an AudioTrackProvider that lets you access the actual AudioTrack instance if needed at the time of creation (and make additional configurations that wouldn't be possible without this access). Not sure how quickly we get around to submit this, but I assume this removes the need to fork this class? @tianyif (FYI)

The problem of audio processors is that they work in the past most of the time.
So you can't apply a fade out on pressing the pause button since the processor have already processed the data and we can't properly rollback in time or I'm missing something obvious that does not implies delaying the audio output to the duration of the fade out?
Every solution I've searched ended up to VolumeShaper for the fade out on pause or seek. So dealing with half the solution via VolumeShapers and the rest via AudioProcessor would be a lot more work, specially if we want to achieve the same volume curves. (If we could do cross fade via AudioProcessor then it would be different and worth it).

We could add that is it's useful, but given your "edit" below I'm not sure if it covers what you need still? Please confirm if it's useful to solve this issue and we can add the callback.

I'm not sure about it, one benefit I see is that this consolidate the events in the AudioSink.Listener and so remove the need to override the AudioSink configure. But currently we'd still need to override the pause to actually block the sink from playing again before the effect is finished. (Again unless I'm missing something to achieve that differently, needed for fade out/in during seek for example)

But I assume this removes the need to fork this class

In theory, if I figure out all the quirks of the event ordering then yes, currently due to the audioTrack delayed release, I have rare cases where the shaper still exist on the previous AudioTrack for a couple ms and when applying fails and so I catch a recreate a shaper at that moment. I guess with a simple missing synchronisation somewhere I can ensure that I have a var with the up to date AudioTrack at that moment and so there should not be an issue

fade out on pause or seek

Not sure what the exact goal is and if you are aware already: the audio framework also applies some automatic fade out when pausing and resuming audio tracks. And we recently made sure the same logic is definitely used for seeks as well.

I'm not sure about it

Sounds like we leave everything as it is for now then if the same logic can already be achieved by overriding ForwardingAudioSink.configure?  Please let me know if a new callback definitely makes a difference and we can add it still.

Not sure what the exact goal is and if you are aware already: the audio framework also applies some automatic fade out when pausing and resuming audio tracks. And we recently made sure the same logic is definitely used for seeks as well.

Users want something way longer than 20 ms :( Also when seeking and skipping next, they want longer fade out and longer fade in to avoid huge audio differences.
Those fade in/out (And cross fade but that's another story) are by far the most requested feature for my app. And I see frequent references here too.

Sounds like we leave everything as it is for now then if the same logic can already be achieved by overriding ForwardingAudioSink.configure? Please let me know if a new callback definitely makes a difference and we can add it still.

No need for now as there's still a need for a ForwardingAudioSink for the pause anyway, so I'll keep overriding the configure too to know about track reuse.

Can we keep this issue as a reference for AudioTrackProvider implementation?
And thanks for the answers, I'm back to try to mix all the events to cover all cases.

@tonihei sorry to bother but one last question about audiotrack reuse and having a event on media change to react.
From test I see that onPositionDiscontinuity and onMediaItemTransition can be delayed a lot (I have cases where reading exoplayer currentposition in the callbacks is already 350ms in :()
Is there a better event from ExoPlayer or the sink or somewhere else to have something called more closely to the actual switch ?

From test I see that onPositionDiscontinuity and onMediaItemTransition can be delayed a lot (I have cases where reading exoplayer currentposition in the callbacks is already 350ms in :()

If you need to know about these events on the app's main thread, there is probably not much we can do as the delay is caused by other tasks running on the main thread already. ExoPlayer triggers these events on the internal playback thread in the same moment the position moves past the transition point (i.e. ExoPlayer.getCurrentPosition <= 10 at that exact moment). The rest is a simple Android Handler message sent to the main thread that informs all listeners inline. If you need to react at the exact same moment, you probably need to use the ForwardingAudioSink you already have and do something based on the getCurrentPositionUs method call.

I have a dedicated thread for ExoPlayer and not using main but still explains the delay.
Thanks I'll try to understand better how that function works. During my tests the value just kept increasing even on media change.


Fix perPageNumbers config in tableWithPagination

Proposed Changes
When specifying perPageNumbers in the tableWithPagination HOC config (say 3, 5, 10), it was getting ignored and the default perPageNumbers were used instead (10, 20, 30). Now it will use the perPageNumbers defined in the config if specified, else it will fallback to the default perPageNumbers as it should.
Potential Breaking Changes
None.
Acceptance Criteria

[x] The proposed changes are covered by unit tests
[x] The potential breaking changes are clearly identified
[x] README.md is adjusted to reflect the proposed changes (if relevant)

Codecov Report

Merging #1209 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1209      +/-   ##
==========================================
- Coverage   99.66%   99.66%   -0.01%
==========================================
  Files         353      353
  Lines        8901     8900       -1
  Branches     2113     2113
==========================================
- Hits         8871     8870       -1
  Misses         30       30

Impacted Files
Coverage Δ

...r/src/components/table-hoc/TableWithPagination.tsx
100% <100%> (ø)
:arrow_up:

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 dee48ba...bfb1be5. Read the comment docs.

The demo link will be fixed once https://github.com/coveo/react-vapor/pull/1207 is fixed


Where is xindexer?

Hello,
I want to start up XuperScan on my testnet network but cannot locate the binaries or sources for the xindexer.
Where are they located?

https://github.com/xuperchain/xuperscan/releases

Has the problem been solved? If there is no problem, the issue will be closed in a week


Typo on #38 & #201

Found both typos on strings 38 and 201.
There is no code broken.

Thanks for that @kant


[StarOS] result error from left join query

Steps to reproduce the behavior (Required)
DROP TABLE IF EXISTS nt1;
CREATE TABLE `nt1` (
  `k` varchar(20)  NULL COMMENT "",
  `v1` bigint NULL COMMENT ""
)
DUPLICATE KEY(`k`, `v1`)
DISTRIBUTED BY HASH(`k`) BUCKETS 3
PROPERTIES (
"replication_num" = "1",
"in_memory" = "false",
"storage_format" = "DEFAULT"
);

DROP TABLE IF EXISTS nt2;
CREATE TABLE `nt2` (
  `k` varchar(20) NULL COMMENT "",
  `v2` bigint NULL COMMENT ""
)
DUPLICATE KEY(`k`, `v2`)
DISTRIBUTED BY HASH(`k`) BUCKETS 3
PROPERTIES (
"replication_num" = "1",
"in_memory" = "false",
"storage_format" = "DEFAULT"
);

set join_implementation_mode = 'nestloop';
set disable_join_reorder = true;

insert into nt1 values ("one", 1), ("two", 2), ("three", 3);
analyze table nt1;

SELECT * FROM nt1 notempty1 left join nt2 empty2 on v1 < v2 order by v1,v2;
SELECT * FROM nt1 notempty1 left join nt2 empty2 on v1 < v2 order by v1,v2;

Expected behavior (Required)
MySQL [tn_test]> SELECT * FROM nt1 notempty1 left join nt2 empty2 on v1 < v2 order by v1,v2;
+-------+------+------+------+
| k     | v1   | k    | v2   |
+-------+------+------+------+
| one   |    1 | NULL | NULL |
| two   |    2 | NULL | NULL |
| three |    3 | NULL | NULL |
+-------+------+------+------+
3 rows in set (0.01 sec)

Real behavior (Required)
MySQL [tn_test]> SELECT * FROM nt1 notempty1 left join nt2 empty2 on v1 < v2 order by v1,v2;
Empty set (0.01 sec)

StarRocks version (Required)

You can get the StarRocks version by executing SQL select current_version()

MySQL [tn_test]> select current_version();
+-------------------+
| current_version() |
+-------------------+
| UNKNOWN 800b5477f |
+-------------------+
1 row in set (0.00 sec)

Disable the low cardinality optimization can work around this problem temporarily:
set cbo_enable_low_cardinality_optimize=false;

The root cause of the problem has not been found.


Research paper and results documentation on LabelFix and VLMs

As a Data Scientist,
I want to document the application of LabelFix and its comparison with Vision Language Models (VLMs) for error detection in classification tasks,
So that I can validate the effectiveness and potential integration of these methodologies into our workflows.
Acceptance Criteria:

[ ] Test of LabelFix for error detection
[ ] Test of a VLM for error detection
[ ] Comparative analysis

Definition of Done:

[ ] All acceptance criteria are met.
[ ] Documentation is updated.

Notion documentation


Move transport and testing pacakges

No significant changes compared to libbeat.

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2022-03-04T14:31:06.939+0000

Duration: 16 min 14 sec

Test stats :test_tube:

Test
Results

Failed
0

Passed
740

Skipped
6

Total
746

:robot: GitHub comments
To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.


Do you know why the source code is not the latest 1.99.1900.1220?

There were many bugs solved from 1.99.1900.xxxx to 1.99.1900.1220, and even the latest does not work on windows 7 sp1.
Crash dump file:  C:\Windows\Minidump\052724-13650-01.dmp (Minidump)
Uptime: 00:00:37 (hh:mm:ss)
Bugcheck code:  0x1000007E(0xFFFFFFFFC0000005, 0xFFFFFFFF9f42a59d, 0xFFFFFFFF80de1870, 0xFFFFFFFF80de1450)
Bugcheck name: SYSTEM_THREAD_EXCEPTION_NOT_HANDLED_M
Driver or module in which error occurred:  Syser.sys (Syser+0x959D)
File path: C:\Windows\system32\drivers\Syser.sys
Bug check description: This indicates that a system thread generated an exception which the error handler did not catch.
Analysis: This is likely a software problem which means that it was probably caused by a bug in a driver.
There is a possibility that this is caused by memory corruption. Memory corruption can be caused by a faulty driver, faulty RAM, overheating and more. Read this article on memory corruption. Read this article on thermal issues
Google query: syser SYSTEM_THREAD_EXCEPTION_NOT_HANDLED_M
Unfortunately the source code is not for the latest version so is difficult to pinpoint the cause of this BSOD.
examin the bug check parameters:
kd> .bugcheck
Bugcheck code 0000007E
Arguments c0000005 9f42a59d 80de1870 80de1450
examine the exception record:
kd> .exr 0xffffffff80de1870
ExceptionAddress: 9f42a59d (Syser+0x0000959d)
ExceptionCode: c0000005 (Access violation)
ExceptionFlags: 00000000
NumberParameters: 2
Parameter[0]: 00000000
Parameter[1]: 0000001c
Attempt to read from address 0000001c
examine the context record:
kd> .cxr 0xffffffff80de1450
eax=00000000 ebx=00000008 ecx=00000000 edx=00000000 esi=862ec1bc edi=00000000
eip=9f42a59d esp=80de1938 ebp=80de1944 iopl=0         nv up ei pl zr na pe nc
cs=0008  ss=0010  ds=0023  es=0023  fs=0030  gs=0000             efl=00010246
Syser+0x959d:
9f42a59d 8b581c          mov     ebx,dword ptr [eax+1Ch] ds:0023:0000001c=????????
locate the faulting instruction:
kd> u 0xffffffff9f42a59d
Syser+0x959d:
9f42a59d 8b581c          mov     ebx,dword ptr [eax+1Ch]
9f42a5a0 56              push    esi
9f42a5a1 57              push    edi
9f42a5a2 50              push    eax
9f42a5a3 0f20e0          mov     eax,cr4
9f42a5a6 8945f8          mov     dword ptr [ebp-8],eax
9f42a5a9 58              pop     eax
9f42a5aa f645f820        test    byte ptr [ebp-8],20h
the decompiled call is:
char __stdcall sub_19592(unsigned int a1, int *a2)
{
int v2; // ebx
char v3; // al
int *v4; // esi
int v6; // ecx
int *v7; // eax
int v8; // edx
int v9; // edx
unsigned int *v10; // esi
unsigned int v11; // edx
int v12; // ecx
_DWORD *v13; // esi
char v14; // [esp+Ch] [ebp-8h]
char v15[4]; // [esp+10h] [ebp-4h] BYREF
v2 = *(_DWORD *)(dword_160204 + 28);  ====> syser+0x959D
v3 = __readcr4();
v14 = v3;
if ( (v3 & 0x20) == 0 )
{
v10 = (unsigned int *)(4 * (a1 >> 22) -<PHONE_NUMBER>);
if ( (unsigned __int8)sub_4498A(4 * (a1 >> 22), v15) )
{
v11 = *v10;
if ( (*v10 & 0x80u) == 0 )
{
v13 = (_DWORD *)(4 * (a1 >> 12) - 0x40000000);
if ( (unsigned __int8)sub_4498A(4 * (a1 >> 12), v15) && (*v13 & 1) != 0 )
{
v7 = a2;
if ( a2 )
{
v9 = *v13 ^ ((unsigned __int16)a1 ^ (unsigned __int16)*v13) & 0xFFF;
a2[1] = 0;
goto LABEL_26;
}
return 1;
}
}
else if ( (v14 & 0x10) != 0 && (v2 & 8) != 0 )
{
if ( (((unsigned int)&loc_1FFFE + 2) & v2) != 0 )
v12 = (v11 >> 13) & 0xF;
else
v12 = 0;
if ( a2 )
{
*a2 = v11 ^ (a1 ^ v11) & 0x3FFFFF;
a2[1] = v12;
}
return 1;
}
}
return 0;
}
v4 = (int *)(((a1 >> 18) & 0x3FF8) -<PHONE_NUMBER>);
if ( !(unsigned __int8)sub_4498A((a1 >> 18) & 0x3FF8, v15) )
return 0;
v6 = *v4;
if ( (*v4 & 1) == 0 )
return 0;
if ( (v6 & 0x80u) != 0 )
{
v7 = a2;
if ( a2 )
{
v8 = (a1 ^ v6) & 0x1FFFFF;
LABEL_12:
v9 = v6 ^ v8;
v7[1] = v4[1] & 0xF;
LABEL_26:
*v7 = v9;
return 1;
}
return 1;
}
v4 = (int *)(((a1 >> 9) & 0x7FFFF8) - 0x40000000);
if ( !(unsigned __int8)sub_4498A((a1 >> 9) & 0xFFF8, v15) )
return 0;
v6 = *v4;
if ( (*v4 & 1) == 0 )
return 0;
v7 = a2;
if ( a2 )
{
v8 = ((unsigned __int16)a1 ^ (unsigned __int16)v6) & 0xFFF;
goto LABEL_12;
}
return 1;
}

Well, seems that there is no safety check, therefore we know that SYSTEM_THREAD_EXCEPTION_NOT_HANDLED_M (Bugcheck code: 0x1000007E) is commonly triggered by a NULL pointer dereference or other unhandled exceptions in kernel mode. In this specific case, if the line return NULL is reached and there is no subsequent safety check in the calling code, it could result in a crash due to a NULL pointer dereference.
this line causes it:
(highest_function_id == 0 || highest_function_id > 0x10)
because newer cpu have highest_function_id > 0x10.


iron should have specified version of dependencies in Cargo.toml

With the latest release 0.1.13, it built on travis( https://travis-ci.org/iron/iron/builds/55321591). But I can't reproduce the build result with rust nightly 2015-03-23 because conduit-mime-types updated to 0.7.3. but the travis build is with conduit-mime-types 0.7.2
$ rustc --version
rustc 1.0.0-nightly (b0aad7dd4 2015-03-22) (built 2015-03-23)
conduit-mime-types-0.7.3/src/lib.rs:3:1: 3:30 error: can't find crate for `rustc_serialize`
conduit-mime-types-0.7.3/src/lib.rs:3 extern crate rustc_serialize;

The build is fixed on master. I'm closing because I don't want to do this until there is some ecosystem stability because it makes the developer workflow really hard (have to release and do menial updates even more often).


Add basic Falco rules

Towards https://github.com/giantswarm/giantswarm/issues/13754
This PR adds prometheus alerts for Falco events

Checklist

[x] Update changelog in CHANGELOG.md.
[ ] Request review from oncall area, as well as team (e.g: oncall-kaas-cloud GitHub group).

Going with this for now -- please holler if this can be improved


Change upload to use http 100 code

Currently we are having issues with upload of files to our CDN:

Token gets expired due to network latency
Clients fail late (in case of server errors only after a full upload is complete)

To solve these issues we can use the http 100 code  in the following manner:

Client makes initial request to server that contains the following:
Header:
Expect:100-continue
Header/Form parameters:
token kurjun token
md5sum of file to be uploaded
size of file to be uploaded

Server performs check of token and user quota (using the received size)
a) in case checks don't pass, server returns appropriate 4xx code to let client fail early
b) otherwise, server returns http 100 code with a new special one-time upload token which is stored on server side along with md5sum of file to be uploaded. This token has TTL of 24 hours

Client receives the one time upload token and sends the file along with the upload token back to server
or fails early if 4xx code is returned from the server

Server receives the file, checks the md5sum of it along with the upload token (its ttl too), stores the file and removes the token. In case checks don't pass, the file is discarded and 4xx code is returned

Client completes the operation with a proper result interpretation to user

We can try to send the body of request later within the same request as suggested.
We need to check how to support this on nginx and on client side.

Here we also can simplify the signing of uploaded file, we can join upload request with sign request:
Instead of sending just an md5sum , we will send a signed md5sum.
This way we can also get signed upload in one shot

question: is md5 is reliable for this, or it's better to use sha1/256 algorithm?

yeah, we can use sha256

After implementing this method, how clients of gorjun will upload to gorjun? I am wondering about clients of gorjun. How will you implement client side?

To make NGINX  support Expect:100-Continue header we need to add these directives to NGINX conf:
proxy_request_buffering off;
proxy_http_version 1.1;

From client side we need to send header Expect: 100-Continue

Go http client supports Expect: 100-Continue
However Chrome browser prohibits using this header in client requests and fails with error:
Refused to set unsafe header "Expect"
So until we can workaround this problem we can not enable Hub uploads.
For this reason we freeze this issue


Query: More DRYing up of DI

@maumar

Hi @anpete, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

:shipit:


Fixed NavigationPage Reuse

Fixes #148
I've opted to add a special case in the function canReuseChild by checking if at least one page has changed type.
Not sure if the code is great though. (conversion to Seq to avoid exception with Zip when the 2 arrays have a different length)

Not sure if the code is great though. (conversion to Seq to avoid exception with Zip when the 2 arrays have a different length)

Oh just saw this comment - check the lengths are equal then call Array.forall2?  The lengths do need to be equal to allow reuse, right?

The lengths do need to be equal to allow reuse, right?

No. Otherwise we would create a new NavigationPage each time we're pushing/popping pages.
We only want to check the pages that are still here.
Seq.forall2 seems to do the job. Thanks!
I didn't know that one existed. :)

@TimLariviere I think I should make you a package owner as I'll be going on vacation for a couple of weeks.  Would that be ok?  What's your nuget id? thanks

@dsyme Ok, my nuget id is TimotheLariviere.
Maybe I should take you up on your offer to be co-admin as well?
That way, I can merge small bugfixes while you're on vacation.
Thanks

@TimLariviere Notes on building and releasing are here; https://github.com/fsprojects/Elmish.XamarinForms/blob/master/DEVGUIDE.md#dev-notes---releasing
Bumping the version number is a PITA since it occurs in several places.  Just search-and-replace down the whole directory tree using VSCode, be sure not to miss anything.
You should bump the minor version number if there has been any change in API.  If in doubt just bump it.

@dsyme Ok. All packages should be kept in sync?

@TimLariviere Yes, all packages published in sync, including templates.  Note the build process instantiates the template  - if recycling builds using the same version number it's a good idea to do a regular
git clean -xfd .

and also  clean out Elmish.XamarinForms from your .nuget directory, otherwise I think the template build may end up using previous packages with the same version number. So once you get used to it you can be generous in regularly bumping package versions :)

@TimLariviere Feel free to push simplifications to make this, well, simpler...

@dsyme From what I see, I only need to set the version in the RELEASE_NOTES.md, LiveUpdate.fs (help text) and template.json?
The other files are AssemblyInfo.fs that are generated by FAKE.
Is that all the places where we need to change the version?

@TimLariviere Yes - though I always just search down the entire code tree.  Would be great to eventually derive the version only from RELEASE_NOTES.md :)


i18n(es): add configuration reference

What kind of changes does this PR include?

Translated content

Description

Closes add reference/configuration-reference.md
add page to nav.ts

Hey @kevinzunigacuellar, sorry for the delay. I'm personally going to review and merge your PR ASAP. Could you please update it to the most recent changes and fix the merge conflicts? Thanks for your amazing work! ❤ https://github.com/withastro/docs/commits/main/src/pages/en/reference/configuration-reference.md

Hey @kevinzunigacuellar, sorry for the delay. I'm personally going to review and merge your PR ASAP. Could you please update it to the most recent changes and fix the merge conflicts? Thanks for your amazing work! ❤ https://github.com/withastro/docs/commits/main/src/pages/en/reference/configuration-reference.md

I will get to it tonight! ❤

LGTM, thanks for this @kevinzunigacuellar!


.env issue file

The .env file has a var name TWILIO_IPM_SERVICE_SID and has to be  TWILIO_CHAT_SERVICE_SID so the appConfigurator can get it

Thank you! We just updated this.


lev2 gfx : SSBO based draw-primitive

So we can draw primitives directly from the output of compute shaders

https://github.com/tweakoz/orkid/commit/e5eeac26f014b1ab4144c3ccf83e4b78f5728079


Screenshots attached to log.html file

Hello everyone!
I have a question.
I use robotframework and it works fine. Every time, when tests finished, standard log.html and screenshots (in the same folder) of failed tests are generated. The point is, that I want screenshots attached automatically to log.html, I don't want to open new screenshot every time and switch again to log.html file. Is there any mechanism for it?

This is something libraries need to handle themselves. They can log messages showing images so that images are on disk or even embed them to log files themselves. Anyway, this is something the core framework doesn't have any control over.


Cannot overwrite variable kJsonCompilationDbPath because it is read-only or constant.

I get this error sometimes when generating a compilation database, seems to happen after I delete the build artifacts or directory.
Set-Variable : Cannot overwrite variable kJsonCompilationDbPath because it is read-only or constant.
At clang-power-tools\ClangPowerTools\ClangPowerToolsShared\Tooling\v1\psClang\jsondb-export.ps1:5 char:3

Removing -option Constant seems to fix it.

Hi @Mulling,
Thank you for bringing this issue to our attention and for your suggested solution
I'll keep you posted on when the release containing this fix will be made available
Kind regards,
Marina

@mariru27
Still exists in Release  v2024.9.0
https://github.com/Caphyon/clang-power-tools/blob/v2024.9.0/ClangPowerTools/ClangPowerTools/Tooling/v1/psClang/jsondb-export.ps1


Makes message serializable

without this change exceptions where thrown due to the fact that we were using a wrong method to retrieve headers
with this change that's changed
fixes #520

cc @dsyer I had to remove a test that checks for mutability of headers but as far as I understand @artembilan stuff was fixed in Spring Framework and we no longer need to have that mutability? We will not introduce regression with this change (https://github.com/spring-cloud/spring-cloud-sleuth/issues/276) ? The only test that we had for that issue is the one that I'm removing so I'd really prefer to have some new tests (but currently I'd need support how to write one)

Codecov Report

Merging #521 into 1.1.x will not change coverage.
The diff coverage is 100%.

@@            Coverage Diff            @@
##              1.1.x     #521   +/-   ##
=========================================
  Coverage     72.44%   72.44%
  Complexity      890      890
=========================================
  Files           141      141
  Lines          3353     3353
  Branches        313      313
=========================================
  Hits           2429     2429
  Misses          727      727
  Partials        197      197

Impacted Files
Coverage Δ
Complexity Δ

.../instrument/messaging/TraceChannelInterceptor.java
61.29% <100%> (ø)
15 <ø> (ø)
:x:

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 f8e6b00...85ba190. Read the comment docs.

See https://jira.spring.io/browse/SPR-15262. So, you should place a message to your interceptor and perform that serialization hacks.

@dsyer @artembilan this will fail due to this test failing

	@Test
	public void nonExportableSpanCreation() {
		this.tracedChannel.send(MessageBuilder.withPayload("hi")
				.setHeader(TraceMessageHeaders.SAMPLED_NAME, Span.SPAN_NOT_SAMPLED).build());
		assertNotNull("message was null", this.message);

		String spanId = this.message.getHeaders().get(TraceMessageHeaders.SPAN_ID_NAME, String.class);
		then(spanId).isNotNull();
		then(TestSpanContextHolder.getCurrentSpan()).isNull();
		then(this.span.isExportable()).isFalse();
	}

Should remove this test due to the fact it got fixed somewhere? I didn't get the outcome of the discussions on Jira with whether it got fixed or not in Spring Core.

Ah yeah true. Check this commit - https://github.com/spring-cloud/spring-cloud-sleuth/pull/521/commits/85ba1904cadcb5b6f1c1fc985bff7e51e4c509a8 . Over there I made the span serializable and the added test passes but the nonExportableSpanCreation doesn't . With the current changes the messageHeadersStillMutable passes but the nonExportableSpanCreation doesn't. So the only wayis  to do the change from the commit and remove messageHeadersStillMutable. But it means that the headers are not mutable.

@marcingrzejszczak , @dsyer , would you mind taking a look into your release plans on the matter?
Look, SF JIRA https://jira.spring.io/browse/SPR-15262 is for 4.3.7, and its plan is Fabruary 28.
My idea to revert the change you did in the TraceChannelInterceptor and rely on the fact that it is fixed in the SF its own way. That serialization test will pass any way. Plus your messageHeadersStillMutable should work as well.
WDYT?

So you say that I should return to the getHeaders() and it will work OOB? Sounds perfect for me.

Yes,  headers.getMessageHeaders() will work, but with the latest SF 4.3.7. Right now only in BUILD-SNAPSHOT

Hmm but we take the version from Boot so we'd need to have the version updated from Boot and get the new Boot version. Or change the SF version only for Sleuth. WDYT @dsyer ?

Spring Boot 1.5.2 is planned for March 2d.
Now everything depends of your release plans.
I think there is simple workaround like:
public class ImmutableMessageInterceptor extends ChannelInterceptorAdapter {

	@Override
	public Message<?> preSend(Message<?> message, MessageChannel channel) {
		MessageHeaderAccessor headers = MessageHeaderAccessor.getMutableAccessor(message);
		return  new GenericMessage<Object>(message.getPayload(), headers.toMessageHeaders());
	}

}

And we have to place this interceptor just after TraceChannelInterceptor.
So, this your fix (actually just a new serialization test) may really wait until the proper Spring Boot version.

@marcingrzejszczak ,
Here you can find the workaround we have talked about: https://github.com/artembilan/spring-cloud-sleuth/commit/91e9b801b6fb205314f2dcdecf9adb19f571f486
I guess you can pull my commit to your PR.
Or... I can just apply it locally and merge! 😄

Done via 7caf522


WaveFileWriter.Dispose doesn't seem to be working properly

I have two classes and a unit test. It seems that in this particular test scenario after Controller.Stop () has been called, WaveFileWriter stream somehow isn't properly disposed of thus leading to IO exceptions. .NET Framework 4.5.2; NAudio <IP_ADDRESS>. Memory.CreateFile() is definitely not the cause of this.

Moved the disposal from the event to the Controller.Stop() and the issue is no longer there. It seems that the disposal just wasn't done yet when reading a file would commence, and that caused IO exceptions. Does RecordingStopped work concurrently/asynchronously??


OpenAI API Key Shown

Don't know if there is some specific reason for this not being hidden but your OpenAI API Key is Shown in llm_play_textworld.py

Thanks removed!


lesson_008 not working UI controllers

This is an excellent tutorial. Thank you for doing this.
One thing that I do not understand is why the control (+/-; back to center) components are not visible when you open lesson_008?
maybe it is not imported?

Thanks for your encouragement. Did you mean the following UI zoom components invisible?
https://infinitecanvas.cc/guide/lesson-008

Yes, exactly. I might be misunderstand your folder structure and examples, but I imagine the controls should be visible from lesson_007 as you are starting to add them at that time. So when I open lesson_008 I anticipated that the controls will be there as you added them in 007. Does this makes sense?


Can't instantiate attiny_hal::Adc for attiny85 application.

Using the examples in the documentation, I am trying to instantiate the ADC, so I can use it to read sensor values in my attiny85 application:
#[no_mangle]
pub extern "C" fn main() {

    let dp = attiny_hal::Peripherals::take().unwrap();
    let pins = attiny_hal::pins!(dp);

    let mut led = pins.pb3.into_output();
    let mut adc= attiny_hal::Adc::new(dp.ADC, Default::default());

    // initialise more things

    loop {
         // do things.
    }
}

But when building this code, the compiler then complains because it wants me to be explicit about the types I am using. I don't really understand why this is necessary (as it was not necessary in the examples in the docs):
error[E0282]: type annotations needed for `avr_hal_generic::adc::Adc<Attiny, attiny_hal::pac::ADC, CLOCK>`
  --> src/main.rs:16:9
   |
16 |     let mut adc= attiny_hal::Adc::new(dp.ADC, Default::default());
   |         ^^^^^^^
   |
help: consider giving `adc` an explicit type, where the type for type parameter `CLOCK` is specified
   |
16 |     let mut adc: avr_hal_generic::adc::Adc<Attiny, attiny_hal::pac::ADC, CLOCK>= attiny_hal::Adc::new(dp.ADC, Default::default());
   |                ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

I have tried a number of things (none of which worked) but I felt I was not trying anything particularly informed (as I am new to embedded programming), so I was hoping someone more knowledgeable than myself could help me solve this problem. I feel like I am not doing anything differently than as is instructed in the documentation, so I am wondering if there's something I am missing.
Thanks in advance!

#[no_mangle]
pub extern "C" fn main() {

First of all, this doesn't look right.  You should be using the attiny_hal::entry macro like this:
#[attiny_hal::entry]
fn main() -> ! {
    ...
}

That out of the way, the problem is that the ADC needs to know about your clock-rate.  As the rate is not fixed, you have to make it explicit in your code.  The best way to do this is to define the clock-rate globally and then reference that type everywhere else.  Then you can easily change the clock-rate in the future.  It works like this:
pub type CoreClock = attiny_hal::clock::MHz1;

#[attiny_hal::entry]
fn main() -> ! {
    let mut adc = attiny_hal::Adc<CoreClock>::new(...);
}

On that note, we should really add some examples of using the bare HALs like atmega-hal and attiny-hal...

Thanks a lot for your quick, and helpful response!
I ended up with:
let mut adc: attiny_hal::Adc<CoreClock> = attiny_hal::Adc::new(dp.ADC, Default::default());

That compiles now! 😄
Concerning your #[attiny_hal::entry] tip, it does not seem that attiny_hal namespace contains this macro. I also searched the entire attiny_hal crate for it, to see if it might be nested in another object, but I don't see it. I only see a similar one in the arduino_hal and avr_device_macros crates.
When I use the standard rust embedded programming approach (which is what is in my example above) it works perfectly fine; it builds, flashes and runs live on my attiny85 chip without issues. Does this macro do anything specific for AVR that makes it necessary?
About the examples: I would be willing to contribute examples for attiny-hal as my project progresses. I will also be doing similar things with an atmega chip once I get my hands on a few. Perhaps we can discuss a set of examples I could work on for the repo?

For reference, I edited my initial code snippet to include #[no_std] and #[no_main] which are required for standard embedded programming in Rust.

Do you have the rt feature enabled for attiny-hal?  Without it, the macro won't be included.
You are right that you don't technically need it right now but that only works because we rely on the avr-libc runtime for the time being.  As soon as that changes, the macro will be required.  So to make sure your code continues to work, it should use the attiny_hal::entry macro even now.

Thanks! I didn't know about the rt feature. It works now. Good to know the difference between the two, and that it's important to make my code future proof.

About

About the examples: I would be willing to contribute examples for attiny-hal as my project progresses. I will also be doing similar things with an atmega chip once I get my hands on a few. Perhaps we can discuss a set of examples I could work on for the repo?

That's great to hear!  My suggestion would be to create a examples/bare-attiny85/ crate with various examples using the ATtiny85 directly, without e.g. arduino-hal.  Starting simple with things like a blink example, maybe UART, an ADC example, etc.  I think the most important part is documenting how one would get those examples running, so the commands to flash it, maybe how to wire it up, etc.


changed finding admin to by username so he can change his email from the webapp

This commit adds the ability for the admin to change his email and password from the web application. so only the username needs to be the same as the configured one.

The email is really the unique identifier. A user may have many passports, e.g. Google, Facebook, and they all belong to the same user identified by email. The username on all these accounts may be different, or in some cases, nonexistent.

The problem is when you left the app, the default admin's username and
email must match the values stored in the database, makes it impossible to
change either one of them through the webapp. Adding more flexibility means
that lifting the application requires only one predefined value to match,
allowing the admin to change the other value along with his password.
On Sun, Oct 25, 2015, 5:49 AM Travis Webb<EMAIL_ADDRESS>wrote:

The email is really the unique identifier. A user may have many passports,
e.g. Google, Facebook, and they all belong to the same user identified by
email. The username on all these accounts may be different, or in some
cases, nonexistent.
—
Reply to this email directly or view it on GitHub
https://github.com/tjwebb/sails-permissions/pull/167#issuecomment-150889756
.


Hudi execution plan not generated properly [SUPPORT]

I am trying to get column lineage from spark sql query plan Below is my sql for testing and all the tables are hudi table.
insert into test.datahub_3
select a.email, b.phone
from test.datahub_1 a, test.datahub_2 b
where a.phone=b.phone
Below is  the code:
def lineageParser(qe: QueryExecution): Unit = {
val analyzedLogicPlan = qe.analyzed
logInfo("----------- start analyzed plan --------")
analyzedLogicPlan.foreach(plan => {
plan match{
case _ => println(plan.getClass)
}
})
logInfo("----------- end analyzed plan --------")
}
Below is the output for query on hive tables:
class org.apache.spark.sql.hive.execution.InsertIntoHiveTable
class org.apache.spark.sql.catalyst.plans.logical.Project
class org.apache.spark.sql.catalyst.plans.logical.Join
class org.apache.spark.sql.catalyst.plans.logical.Project
class org.apache.spark.sql.catalyst.plans.logical.Filter
class org.apache.spark.sql.execution.datasources.LogicalRelation
class org.apache.spark.sql.catalyst.plans.logical.Project
class org.apache.spark.sql.catalyst.plans.logical.Filter
class org.apache.spark.sql.execution.datasources.LogicalRelation
Below is the output for query on hudi tables:
class org.apache.spark.sql.hudi.command.InsertIntoHoodieTableCommand
They are totally different:
Environment Description

Hudi version : 0.9

Spark version : 3.01

Hive version : 3.2

Hadoop version : 3.2.1

Storage (HDFS/S3/GCS..) : s3

Running on Docker? (yes/no) : no

@XuQianJin-Stars Can you please take a look at this issue when you have the time.

@YannByron @XuQianJin-Stars : can either of you folks please chime in here when you get a chance.

Can anyone take a look at it?

Can anyone take a look at it?

hi @njalan I'll try to track down this issue today.

@XuQianJin-Stars : any updates in here please.

@minihippo : can you take a look at this issue please.

Hi @njalan,  [HUDI-3493] can solve this problem. The fixed hudi version is 0.11.0

@njalan : can you let us know if we are good to close this one out.

@njalan : gentle ping.

@nsivabalan  I am sorry for the delay response. Please close it .


Exam mode: Text in the exam starting page missing information

Describe the bug
Text in the exam starting page contains missing information.
To Reproduce
Prerequisites

Prepared exam
1 student

As student, go to exam start page.
In the text, under working instructions, you should see:
The exam consists of points and is minutes long. Use the amount of points to determine the appropriate working time for one exercise.

Expected behavior
That sentence should include the number of points and how long the exam is. Or should mention that those info could be found on the top of the page.
Screenshots

Which version of Artemis are you seeing the problem on?
7.4.1 (4c5382b)
What browsers are you seeing the problem on?
Microsoft Edge
Additional context
No response
Relevant log output
No response

That text seems to be defined as Exam start text, so this is a misconfiguration and not a problem of the application

Please read the following information carefully!

You must work on the exam on your own. You must not, in any way, get support from someone else (in person, chat, forum, discussion group, artificial intelligence, etc.) Doing so is classified as cheating ("Unterschleif") and leads to consequences as mentioned in the APSO ("Allgemeine Prüfungs- und Studienordnung"). In particular, the corresponding module in TUMonline will be marked as failed (w. cheating), and you will only be allowed to try to pass the module in one final attempt (cf. APSO §24).

All your submissions will be checked for plagiarism. You are not allowed to copy code from any external sources, including books, websites, or other students. Any instance of copying will be classified as plagiarism.

Note that results in programming exercises only indicate whether your submission compiles or not. No actual tests will be run against your submission. All actual tests will be executed after the exam is over. You can only get points for programming exercises if your submission compiles. Compile errors will result in 0 points.

The submission period will close  seconds following the official end of the exam to compensate for potential technical problems. We encourage you to upload your submissions regularly and early. Only your final submission will be graded and late submission will not be accepted.

Working instructions:

Important: Before you start solving an exercise, read the problem statement carefully.

The exam consists of  points and is  minutes long. Use the amount of points to determine the appropriate working time for one exercise.

It is not allowed to use any artificial intelligence to solve exercises of the exam. In particular the use of OpenAI, ChatGPT, GitHub Copilot, or any similar systems is forbidden!


SOFT FAIL

Discussed in https://github.com/postalserver/postal/discussions/1895

Originally posted by AlgoVoyager March  4, 2022

piliz welp!

This is not a bug.

whats the problem i'm facing, why its soft fail


Item title aligment

I'm experiencing some issues with the alignment of item titles that are a bit to long,
they align at the top left, and setting a text appearance with center gravity wont change that.
any idea

nexus 4 on android 4.1.1

Duplicate: https://github.com/roughike/BottomBar/issues/144